:root {
  --page-bg: #111214;
  --page-bg-soft: #17181b;
  --surface: rgba(18, 20, 24, 0.92);
  --surface-strong: rgba(11, 12, 15, 0.9);
  --text-main: #f1eadf;
  --text-secondary: #c1b8ad;
  --text-soft: #9c958d;
  --accent: #c97a3d;
  --accent-dark: #a85f2a;
  --accent-soft: #e7c2a3;
  --border-strong: rgba(231, 222, 212, 0.18);
  --border-soft: rgba(231, 222, 212, 0.1);
  --radius-sm: 0.8rem;
  --radius-md: 1rem;
  --radius-lg: 1.25rem;
  --container: 80rem;
  --transition: 180ms ease;
  --font-body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html {
  scroll-behavior: smooth;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--text-main);
  background:
    radial-gradient(circle at top left, rgba(201, 122, 61, 0.12), transparent 28%),
    radial-gradient(circle at 85% 10%, rgba(255, 255, 255, 0.05), transparent 24%),
    linear-gradient(180deg, #1a1b1f 0%, #131419 45%, #101114 100%);
  line-height: 1.6;
}

main {
  padding-bottom: 3rem;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

h1,
h2,
h3,
p,
dl,
dd {
  margin: 0;
}

/* Layout */

.container {
  width: min(calc(100% - 2.5rem), var(--container));
  margin: 0 auto;
}

.section {
  padding: 1.9rem 0;
}

.surface {
  background: linear-gradient(180deg, rgba(21, 22, 26, 0.94), rgba(12, 13, 16, 0.97));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.section-header {
  margin-bottom: 1.5rem;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 2.85rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
}

[id] {
  scroll-margin-top: 7rem;
}

/* Accessibility */

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 200;
  padding: 0.7rem 1rem;
  color: var(--text-main);
  background: var(--surface-strong);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  transition: top var(--transition);
}

.skip-link:focus {
  top: 1rem;
}

:focus-visible {
  outline: 3px solid rgba(201, 122, 61, 0.45);
  outline-offset: 3px;
}

/* Buttons */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.2rem;
  border: 1px solid transparent;
  border-radius: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
  transition:
    border-color var(--transition),
    background-color var(--transition),
    color var(--transition),
    transform var(--transition);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-with-icon {
  gap: 0.6rem;
}

.button-accent {
  color: #fff7f1;
  background: linear-gradient(180deg, var(--accent), var(--accent-dark));
  border-color: rgba(201, 122, 61, 0.7);
}

.button-accent:hover,
.button-accent:focus-visible {
  background: linear-gradient(180deg, #d2864a, #b16834);
}

.button-secondary {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(201, 122, 61, 0.38);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  color: #fff7f1;
  background: rgba(201, 122, 61, 0.12);
  border-color: rgba(201, 122, 61, 0.65);
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 1.4rem 0 1rem;
  background: linear-gradient(180deg, rgba(10, 11, 13, 0.86), rgba(10, 11, 13, 0));
}

.header-shell {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.85rem 1rem;
  background: rgba(10, 11, 13, 0.7);
  border: 1px solid var(--border-strong);
  border-radius: 1rem;
  backdrop-filter: blur(12px);
}

.brand {
  color: var(--text-main);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list a {
  position: relative;
  color: var(--text-secondary);
  font-size: 0.96rem;
  transition: color var(--transition);
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.85rem;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--transition);
}

.nav-list a:hover,
.nav-list a:focus-visible {
  color: var(--text-main);
}

.nav-list a:hover::after,
.nav-list a:focus-visible::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.3rem;
  width: 3rem;
  height: 3rem;
  padding: 0;
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-strong);
  border-radius: 0.8rem;
  cursor: pointer;
}

.nav-toggle span {
  width: 1.15rem;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  transition:
    transform var(--transition),
    opacity var(--transition);
}

.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Hero */

.hero {
  padding-top: 0.35rem;
}

.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(17.5rem, 0.84fr);
  align-items: center;
  gap: clamp(2rem, 4vw, 3rem);
  padding: clamp(2rem, 4vw, 3.25rem);
  min-height: clamp(30rem, 62vh, 36rem);
}

.hero-copy {
  max-width: 40rem;
}

.hero-copy h1 {
  max-width: 10.5ch;
  font-size: clamp(3rem, 7vw, 5.2rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.hero-text {
  max-width: 35rem;
  margin-top: 1.35rem;
  color: var(--text-secondary);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.trust-line {
  margin-top: 1rem;
  color: var(--text-main);
  font-size: 1.02rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.hero-visual {
  display: grid;
  justify-items: end;
  min-height: 17rem;
}

.hero-visual-frame {
  width: min(100%, 22rem);
  padding: clamp(1rem, 2vw, 1.2rem);
  background: linear-gradient(180deg, rgba(8, 9, 12, 0.95), rgba(15, 16, 19, 0.75));
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.hero-summary-card {
  display: grid;
  gap: 1rem;
}

.hero-summary-kicker {
  margin: 0;
  color: var(--accent-soft);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-summary-title {
  margin: 0;
  max-width: 14ch;
  font-size: 1.5rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.hero-summary-text {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.5;
}

.hero-summary-list {
  display: grid;
  gap: 0.8rem;
  margin: 0;
}

.hero-summary-list div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: baseline;
}

.hero-summary-list dt {
  color: var(--text-main);
  font-weight: 700;
}

.hero-summary-list dd,
.hero-summary-list a {
  color: var(--text-secondary);
}

.hero-summary-list a:hover,
.hero-summary-list a:focus-visible {
  color: var(--accent-soft);
}

.contact-icon {
  width: 1.05rem;
  height: 1.05rem;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-summary-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.hero-summary-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 2.1rem;
  padding: 0.4rem 0.8rem;
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  font-size: 0.9rem;
}

/* Services */

.services-shell {
  padding: clamp(1.5rem, 3vw, 2rem);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.service-card {
  min-height: 14rem;
  padding: 1.35rem;
  background: rgba(11, 12, 15, 0.72);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  transition:
    border-color var(--transition),
    background-color var(--transition);
}

.service-card:hover,
.service-card:focus-within {
  border-color: rgba(201, 122, 61, 0.48);
  background: rgba(13, 14, 17, 0.86);
}

.card-icon {
  width: 4.5rem;
  height: 4.5rem;
  margin-bottom: 1.6rem;
  color: var(--accent);
}

.card-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  font-size: 1.45rem;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.service-card p {
  margin-top: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* Trust */

.trust-shell {
  padding: clamp(1.75rem, 3vw, 2.5rem);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.trust-item {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 1.15rem;
  padding: 0.8rem 0.5rem;
  text-align: center;
}

.trust-icon {
  width: 4.5rem;
  height: 4.5rem;
  color: var(--accent);
}

.trust-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trust-item p {
  max-width: 12ch;
  color: var(--text-main);
  font-weight: 600;
  line-height: 1.35;
}

/* About / Contact */

.lower-shell {
  padding: clamp(2rem, 4vw, 2.75rem);
}

.lower-header {
  margin-bottom: 1rem;
}

.support-block {
  display: grid;
  gap: 1.5rem;
}

.support-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(18rem, 0.88fr);
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: start;
}

.support-copy {
  max-width: 34rem;
  color: var(--text-secondary);
  font-size: 1.08rem;
}

.support-contact {
  padding: 1.15rem 1.2rem;
  background: rgba(11, 12, 15, 0.62);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
}

.support-label {
  margin-bottom: 0.9rem;
  color: var(--accent-soft);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-list {
  display: grid;
  gap: 0.9rem;
  margin-top: 0.2rem;
}

.contact-list div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: baseline;
}

.contact-list dt {
  color: var(--text-main);
  font-weight: 700;
}

.contact-list dd,
.contact-list a {
  color: var(--text-secondary);
}

.contact-list a:hover,
.contact-list a:focus-visible {
  color: var(--accent-soft);
}

/* Footer */

.site-footer {
  padding: 0 0 2rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.5rem;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-soft);
  color: var(--text-soft);
  font-size: 0.95rem;
}

.footer-name {
  margin-right: auto;
  color: var(--text-main);
  font-weight: 700;
}

.footer-inner a:hover,
.footer-inner a:focus-visible {
  color: var(--accent-soft);
}

.footer-copy {
  width: 100%;
  color: var(--text-soft);
}

/* Responsive */

@media (max-width: 72rem) {
  .services-grid,
  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 60rem) {
  .hero-shell,
  .support-layout {
    grid-template-columns: 1fr;
  }

  .hero-shell {
    min-height: auto;
    gap: 1.5rem;
  }

  .hero-copy h1 {
    max-width: 12ch;
  }

  .hero-visual {
    justify-items: start;
    min-height: 0;
  }

  .hero-visual-frame {
    width: min(100%, 22rem);
  }
}

@media (max-width: 54rem) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.65rem);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    background: rgba(12, 13, 16, 0.98);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
  }

  .site-header.nav-open .site-nav {
    display: flex;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-list a {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--border-soft);
  }

  .nav-list a::after {
    display: none;
  }
}

@media (max-width: 42rem) {
  .container {
    width: min(calc(100% - 1rem), var(--container));
  }

  .section {
    padding: 1.35rem 0;
  }

  .header-shell,
  .hero-shell,
  .trust-shell,
  .lower-shell {
    border-radius: 1rem;
  }

  .brand {
    max-width: 15ch;
    white-space: normal;
    font-size: 1.15rem;
  }

  .hero-shell {
    padding: 1.35rem;
  }

  .hero-copy h1 {
    max-width: none;
    font-size: clamp(2.35rem, 11vw, 3.4rem);
    line-height: 0.98;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-visual-frame {
    width: 100%;
    padding: 0.85rem;
  }

  .hero-actions .button,
  .support-contact {
    width: 100%;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
    padding: 1.15rem;
  }

  .service-card h3 {
    font-size: 1.3rem;
  }

  .card-icon {
    width: 4rem;
    height: 4rem;
  }

  .trust-shell .section-header h2 {
    font-size: clamp(1.85rem, 8vw, 2.2rem);
  }

  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem 0.8rem;
  }

  .hero-summary-title {
    max-width: none;
    font-size: 1.35rem;
  }

  .hero-summary-tags {
    gap: 0.45rem;
  }

  .hero-summary-tags span {
    font-size: 0.85rem;
  }

  .trust-icon {
    width: 4rem;
    height: 4rem;
  }

  .lower-shell {
    padding: 1.6rem;
  }

  .support-copy,
  .contact-list {
    font-size: 1rem;
  }

  .footer-inner {
    align-items: flex-start;
    gap: 0.7rem 1rem;
    font-size: 1rem;
  }

  .footer-name {
    margin-right: 0;
    width: 100%;
  }
}

@media (max-width: 26rem) {
  .trust-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
