:root {
  --bg: #f4f0e8;
  --bg-soft: #faf7f0;
  --ink: #111319;
  --muted: #5d6472;
  --dark: #0b0d12;
  --dark-soft: #151923;
  --line: rgba(17, 19, 25, 0.12);
  --line-dark: rgba(255, 255, 255, 0.14);
  --white: #ffffff;
  --accent: #d8b66a;
  --accent-dark: #b99241;
  --radius-lg: 28px;
  --radius-md: 18px;
  --shadow: 0 24px 80px rgba(17, 19, 25, 0.12);
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

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

p,
h1,
h2,
h3 {
  margin-top: 0;
}

p {
  color: var(--muted);
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(11, 13, 18, 0.86);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--white);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-mark {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(216, 182, 106, 0.45);
  border-radius: 14px;
  background: rgba(216, 182, 106, 0.08);
  overflow: hidden;
}

.brand-mark img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-links a,
.site-footer a {
  transition: color 180ms ease;
}

.nav-links a:hover,
.site-footer a:hover {
  color: var(--accent);
}

.nav-cta {
  padding: 11px 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: var(--white);
  font-weight: 700;
}

.section-dark {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 18% 12%, rgba(216, 182, 106, 0.22), transparent 28%),
    radial-gradient(circle at 90% 20%, rgba(255, 255, 255, 0.09), transparent 24%),
    linear-gradient(135deg, #090b10 0%, #111520 48%, #08090d 100%);
}

.section-light {
  background: var(--bg);
}

.section-white {
  background: var(--bg-soft);
}

.hero {
  padding: 112px 0 96px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.72fr);
  gap: 64px;
  align-items: center;
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow-dark {
  color: var(--accent-dark);
}

h1,
h2 {
  line-height: 0.98;
  letter-spacing: -0.065em;
}

h1 {
  max-width: 870px;
  margin-bottom: 26px;
  font-size: clamp(3.2rem, 8vw, 6.8rem);
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(2.2rem, 5vw, 4.5rem);
}

h3 {
  margin-bottom: 12px;
  font-size: 1.18rem;
  letter-spacing: -0.025em;
}

.hero-subheadline {
  max-width: 690px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(1.04rem, 2vw, 1.25rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #14120c;
  background: var(--accent);
  box-shadow: 0 16px 38px rgba(216, 182, 106, 0.24);
}

.button-primary:hover {
  background: #e6c77e;
}

.button-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
}

.button-secondary:hover {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.1);
}

.hero-card {
  position: relative;
  padding: 28px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.04);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.28);
}

.hero-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.hero-logo {
  flex: 0 0 auto;
  width: 72px;
  height: 72px;
  object-fit: contain;
  opacity: 0.92;
  filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.28));
}

.hero-card h2 {
  margin: 38px 0;
  font-size: clamp(1.7rem, 3vw, 2.8rem);
  line-height: 1.05;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.84rem;
  font-weight: 700;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #72d58a;
  box-shadow: 0 0 0 6px rgba(114, 213, 138, 0.12);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.metric-grid div {
  min-height: 112px;
  padding: 18px;
  border: 1px solid var(--line-dark);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.055);
}

.metric-grid strong,
.metric-grid span {
  display: block;
}

.metric-grid strong {
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 0.88rem;
}

.metric-grid span {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}

.trust-band {
  padding: 24px 0;
  background: var(--accent);
}

.trust-band p {
  margin: 0;
  color: #171308;
  font-weight: 800;
  text-align: center;
}

.problem,
.services,
.process,
.about,
.contact {
  padding: 104px 0;
}

.split-grid,
.contact-grid,
.about-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 68px;
  align-items: start;
}

.copy-stack p {
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.copy-stack p:last-child {
  margin-bottom: 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 48px;
}

.section-heading p:not(.eyebrow) {
  font-size: 1.06rem;
}

.section-heading-dark p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.68);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  min-height: 285px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 18px 50px rgba(17, 19, 25, 0.06);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.service-icon {
  display: inline-flex;
  margin-bottom: 46px;
  color: var(--accent-dark);
  font-weight: 900;
  letter-spacing: 0.1em;
}

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

.process-step {
  padding: 28px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.055);
}

.process-step span {
  display: inline-flex;
  margin-bottom: 72px;
  color: var(--accent);
  font-weight: 900;
}

.process-step h3 {
  color: var(--white);
}

.process-step p {
  color: rgba(255, 255, 255, 0.68);
}

.about-card {
  padding: 54px;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: var(--bg-soft);
  box-shadow: var(--shadow);
}

.contact-content p {
  max-width: 630px;
  font-size: 1.06rem;
}

.contact-details {
  display: grid;
  gap: 14px;
  margin-top: 34px;
}

.contact-details div {
  display: grid;
  gap: 3px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
}

.contact-details span {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-details strong,
.contact-details a {
  color: var(--ink);
  font-size: 1.04rem;
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(17, 19, 25, 0.14);
  border-radius: 15px;
  padding: 14px 15px;
  color: var(--ink);
  background: #fbfaf7;
  font: inherit;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(216, 182, 106, 0.28);
  border-color: rgba(185, 146, 65, 0.7);
}

textarea {
  resize: vertical;
}

.form-button {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.form-button:disabled {
  cursor: not-allowed;
  opacity: 0.72;
  transform: none;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.form-success {
  color: #236b3d;
  font-weight: 800;
}

.form-error {
  color: #a63232;
  font-weight: 800;
}

.hidden-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.site-footer {
  padding: 30px 0;
  color: rgba(255, 255, 255, 0.66);
  background: var(--dark);
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-grid div {
  display: flex;
  gap: 20px;
}

@media (max-width: 960px) {
  .nav-links {
    display: none;
  }

  .hero-grid,
  .split-grid,
  .contact-grid,
  .about-card {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .service-grid,
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero {
    padding-top: 86px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .nav {
    min-height: 68px;
  }

  .brand span:last-child {
    display: none;
  }

  .nav-cta {
    padding: 9px 14px;
    font-size: 0.9rem;
  }

  .hero,
  .problem,
  .services,
  .process,
  .about,
  .contact {
    padding: 72px 0;
  }

  h1 {
    font-size: clamp(2.85rem, 16vw, 4.25rem);
  }

  h2 {
    font-size: clamp(2rem, 11vw, 3rem);
  }

  .hero-card,
  .about-card,
  .contact-form,
  .service-card,
  .process-step {
    border-radius: 22px;
  }

  .metric-grid,
  .service-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .footer-grid {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .about-card,
  .contact-form {
    padding: 24px;
  }
}
