/* =====================================================
   DESIGN TOKENS — Palette C: Teal + Terracotta
===================================================== */
:root {
  --cream:      #F4F7F5;
  --sand:       #C8DDD5;
  --ink:        #1A2E26;
  --ink-soft:   #2A5C4A;
  --stone:      #6B8C7A;
  --teal:       #5A9A84;
  --teal-lt:    #C8DDD5;
  --accent:     #C4734A;
  --accent-lt:  #EDD5C5;
  --white:      #FFFFFF;

  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  --radius-sm:   6px;
  --radius-md:   16px;
  --radius-lg:   32px;
  --radius-pill: 100px;

  --ease:      0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --ease-slow: 0.7s  cubic-bezier(0.4, 0, 0.2, 1);
}

/* =====================================================
   RESET
===================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
}
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a   { color: inherit; text-decoration: none; }

/* =====================================================
   ACCESSIBILITY
===================================================== */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; top: -100%; left: 1rem;
  background: var(--accent); color: var(--white);
  padding: 0.5rem 1rem; border-radius: var(--radius-sm);
  font-weight: 500; z-index: 9999; transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .marquee-track {
    animation: none;
  }
}

/* Reveal only animates when JS has loaded */
body.js-loaded .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
body.js-loaded .reveal.visible { opacity: 1; transform: translateY(0); }
body.js-loaded .reveal-delay-1 { transition-delay: 0.1s; }
body.js-loaded .reveal-delay-2 { transition-delay: 0.2s; }
body.js-loaded .reveal-delay-3 { transition-delay: 0.3s; }
body.js-loaded .reveal-delay-4 { transition-delay: 0.4s; }

/* =====================================================
   LAYOUT
===================================================== */
.container { max-width: 1140px; margin: 0 auto; padding: 0 2rem; }
.section    { padding: 100px 0; }

/* =====================================================
   TYPOGRAPHY
===================================================== */
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.15; }
.display   { font-size: clamp(3rem, 6vw, 5.5rem); letter-spacing: -0.02em; line-height: 1.05; }
.headline  { font-size: clamp(2rem, 4vw, 3.25rem); letter-spacing: -0.01em; }
.label     { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500; }
.body-lg   { font-size: 1.1rem; line-height: 1.75; font-weight: 300; }

/* Offset anchor scroll position to account for fixed nav */
section[id], div[id] {
  scroll-margin-top: 100px;
}

/* =====================================================
   BUTTONS
===================================================== */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.9rem 1.75rem; border-radius: var(--radius-pill);
  font-family: var(--font-body); font-size: 0.95rem; font-weight: 500;
  cursor: pointer; border: none; transition: var(--ease); white-space: nowrap;
}
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--ink); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--white); transform: translateY(-2px); }
.btn-ghost  { background: transparent; color: var(--accent); padding: 0; font-weight: 500; }
.btn-ghost:hover { gap: 0.75rem; }
.btn-ghost .arrow { display: inline-block; transition: transform var(--ease); }
.btn-ghost:hover .arrow { transform: translateX(4px); }

/* =====================================================
   NAV
===================================================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1.25rem 0;
  transition: background var(--ease), box-shadow var(--ease);
}
.nav.scrolled {
  background: rgba(244,247,245,0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}
.nav__inner  { display: flex; align-items: center; justify-content: space-between; }
.nav__logo   { font-family: var(--font-display); font-size: 1.3rem; color: var(--ink); }
.nav__logo span { color: var(--teal); }
.nav__links  { display: flex; align-items: center; gap: 2.5rem; list-style: none; }
.nav__links a:not(.btn) { font-size: 0.9rem; color: var(--ink-soft); transition: color var(--ease); }
.nav__links a:not(.btn):hover { color: var(--teal); }
.nav__cta    { margin-left: 1rem; }
.nav__toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav__toggle span { display: block; width: 24px; height: 1.5px; background: var(--ink); transition: var(--ease); }

@media (max-width: 768px) {
  .nav__toggle { display: flex; }
  .nav__menu {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--cream); border-top: 1px solid var(--sand);
    padding: 1.5rem 2rem 2rem;
  }
  .nav__menu.open { display: block; }
  .nav__links { flex-direction: column; align-items: flex-start; gap: 1.25rem; }
  .nav__cta   { margin: 1.25rem 0 0; }
}

/* =====================================================
   HERO
===================================================== */
.hero {
  padding-top: 130px; padding-bottom: 80px;
  background: var(--cream); position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -100px; right: -200px;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, var(--teal-lt) 0%, transparent 70%);
  opacity: 0.7; pointer-events: none;
}
.hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }

.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: var(--teal-lt); color: var(--ink-soft);
  padding: 0.45rem 1rem; border-radius: var(--radius-pill); margin-bottom: 1.75rem;
}
.hero__eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }

.hero h1 { margin-bottom: 1.5rem; }
.hero h1 em { font-style: italic; color: var(--accent); }
.hero__body    { margin-bottom: 2.5rem; max-width: 480px; color: var(--ink-soft); }
.hero__actions { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }

.hero__trust { margin-top: 3.5rem; display: flex; align-items: center; gap: 1rem; }
.hero__avatars { display: flex; }
.hero__avatars img {
  width: 40px; height: 40px; border-radius: 50%;
  border: 2px solid var(--cream); object-fit: cover; margin-left: -10px;
}
.hero__avatars img:first-child { margin-left: 0; }
.hero__trust-text { font-size: 0.85rem; color: var(--stone); }
.hero__trust-text strong { color: var(--ink); }

.hero__image-wrap { position: relative; }
.hero__image { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/5; }
.hero__image img { transition: transform 8s ease; }
.hero__image:hover img { transform: scale(1.03); }

.hero__badge {
  position: absolute; bottom: 2rem; left: -1.5rem;
  background: var(--white); border-radius: var(--radius-md);
  padding: 1rem 1.25rem; box-shadow: 0 8px 32px rgba(26,46,38,0.12);
  display: flex; align-items: center; gap: 0.75rem; max-width: 230px;
}
.hero__badge-icon {
  width: 44px; height: 44px; border-radius: var(--radius-sm);
  background: var(--teal-lt); display: flex; align-items: center;
  justify-content: center; font-size: 1.3rem; flex-shrink: 0;
}
.hero__badge-text strong { display: block; font-size: 0.9rem; line-height: 1.2; color: var(--ink); }
.hero__badge-text span   { font-size: 0.78rem; color: var(--stone); }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__image-wrap { order: -1; }
  .hero__badge { left: 0.5rem; }
  .hero::before { display: none; }
}

/* =====================================================
   MARQUEE
===================================================== */
.marquee-strip { background: var(--ink); padding: 1.1rem 0; overflow: hidden; }
.marquee-track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: marquee 30s linear infinite;
  will-change: transform;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-item {
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 0.85rem; white-space: nowrap; color: var(--white); opacity: 0.85;
  flex-shrink: 0;
}
.marquee-dot { color: var(--accent); font-size: 1.2rem; }
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* =====================================================
   ABOUT
===================================================== */
.about { background: var(--white); }
.about__grid  { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.about__image { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 3/4; position: relative; }
.about__image-tag {
  position: absolute; bottom: 1.5rem; right: 1.5rem;
  background: var(--cream); border-radius: var(--radius-md);
  padding: 0.75rem 1.1rem; font-size: 0.82rem; color: var(--ink);
  font-weight: 500; box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.about__eyebrow { color: var(--accent); margin-bottom: 1rem; }
.about h2      { margin-bottom: 1.25rem; }
.about__body   { color: var(--ink-soft); margin-bottom: 1.5rem; }
.about__credentials { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 2.5rem; }
.credential { display: flex; align-items: center; gap: 0.75rem; font-size: 0.9rem; }
.credential-check {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--teal-lt); color: var(--ink-soft);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; flex-shrink: 0;
}
@media (max-width: 768px) { .about__grid { grid-template-columns: 1fr; } }

/* =====================================================
   SERVICES
===================================================== */
.services { background: var(--cream); }
.services__header { text-align: center; max-width: 600px; margin: 0 auto 4rem; }
.services__header .label { color: var(--accent); margin-bottom: 0.75rem; }
.services__header h2 { margin-bottom: 1rem; }
.services__header p  { color: var(--ink-soft); }
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

.service-card {
  background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
  transition: transform var(--ease), box-shadow var(--ease);
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 20px 48px rgba(26,46,38,0.1); }
.service-card__image { aspect-ratio: 16/10; overflow: hidden; }
.service-card__image img { transition: transform var(--ease-slow); }
.service-card:hover .service-card__image img { transform: scale(1.06); }
.service-card__body { padding: 1.75rem; }
.service-card__icon {
  width: 44px; height: 44px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.service-card__icon svg {
  width: 22px; height: 22px; stroke-width: 1.5;
}
.service-card__icon--accent { background: var(--teal-lt); }
.service-card__icon--accent svg { stroke: var(--ink-soft); }
.service-card__icon--teal   { background: var(--teal-lt); }
.service-card__icon--teal svg   { stroke: var(--ink-soft); }
.service-card__icon--sand   { background: var(--sand); }
.service-card__icon--sand svg   { stroke: var(--ink-soft); }
.service-card h3 { font-family: var(--font-display); font-size: 1.3rem; margin-bottom: 0.6rem; }
.service-card p  { font-size: 0.9rem; color: var(--stone); line-height: 1.7; margin-bottom: 1.25rem; }

@media (max-width: 900px) { .services__grid { grid-template-columns: 1fr; } }
@media (min-width: 600px) and (max-width: 900px) { .services__grid { grid-template-columns: 1fr 1fr; } }

/* =====================================================
   PROCESS
===================================================== */
.process { background: var(--ink); color: var(--white); }
.process__header { text-align: center; max-width: 560px; margin: 0 auto 4rem; }
.process__header .label { color: var(--accent); margin-bottom: 0.75rem; }
.process__header h2     { color: var(--white); margin-bottom: 1rem; }
.process__header p      { color: rgba(255,255,255,0.6); }
.process__steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: rgba(255,255,255,0.07);
  border-radius: var(--radius-lg); overflow: hidden;
}
.process-step { padding: 2.5rem 2rem; background: var(--ink); transition: background var(--ease); }
.process-step:hover { background: #0f1e18; }
.process-step__num {
  font-family: var(--font-display); font-size: 3rem;
  color: var(--accent); opacity: 1; line-height: 1; margin-bottom: 1rem;
}
.process-step h3 { font-family: var(--font-display); font-size: 1.15rem; color: var(--white); margin-bottom: 0.6rem; }
.process-step p  { font-size: 0.875rem; color: rgba(255,255,255,0.5); line-height: 1.7; }

@media (max-width: 768px) { .process__steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .process__steps { grid-template-columns: 1fr; } }

/* =====================================================
   TESTIMONIALS
===================================================== */
.testimonials { background: var(--sand); }
.testimonials__header { margin-bottom: 3rem; }
.testimonials__header .label { color: var(--accent); margin-bottom: 0.5rem; }
.testimonials__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

.testimonial-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 2rem; transition: transform var(--ease);
}
.testimonial-card:hover { transform: translateY(-4px); }
.testimonial-card__stars { color: #F4A44A; font-size: 0.9rem; margin-bottom: 1rem; letter-spacing: 2px; }
.testimonial-card blockquote { font-size: 0.95rem; line-height: 1.75; margin-bottom: 1.5rem; font-style: italic; }
.testimonial-card__author { font-size: 0.82rem; font-weight: 500; color: var(--stone); letter-spacing: 0.04em; }

@media (max-width: 768px) { .testimonials__grid { grid-template-columns: 1fr; } }
@media (min-width: 600px) and (max-width: 768px) { .testimonials__grid { grid-template-columns: 1fr 1fr; } }

/* =====================================================
   CTA BANNER
===================================================== */
.cta-banner {
  background: var(--accent); padding: 80px 0;
  text-align: center; position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; top: -50%; left: -20%;
  width: 60%; height: 200%; border-radius: 50%;
  background: rgba(255,255,255,0.06); pointer-events: none;
}
.cta-banner h2 { color: var(--white); font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; }
.cta-banner p  {
  color: rgba(255,255,255,0.85); font-size: 1.05rem;
  max-width: 500px; margin: 0 auto 2.25rem;
}
.cta-banner .btn { background: var(--white); color: var(--accent); }
.cta-banner .btn:hover { background: var(--ink); color: var(--white); }

/* =====================================================
   FOOTER
===================================================== */
.footer { background: var(--ink); color: rgba(255,255,255,0.6); padding: 56px 0 36px; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer__logo { font-family: var(--font-display); font-size: 1.3rem; color: var(--white); display: inline-block; margin-bottom: 1rem; }
.footer__logo span { color: var(--teal); }
.footer__brand p { font-size: 0.875rem; line-height: 1.7; max-width: 280px; }
.footer__col h4 {
  font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--white); font-weight: 500; margin-bottom: 1.25rem;
}
.footer__links { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.footer__links a { font-size: 0.875rem; color: rgba(255,255,255,0.55); transition: color var(--ease); }
.footer__links a:hover { color: var(--white); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.5rem;
  font-size: 0.8rem;
}
@media (max-width: 768px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
