/* ── Reset & Base ─────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --teal:        #0D9488;
  --teal-dark:   #0F766E;
  --teal-light:  #CCFBF1;
  --slate:       #334155;
  --slate-light: #64748B;
  --slate-faint: #94A3B8;
  --bg:          #FAFAF9;
  --white:       #FFFFFF;
  --black:       #0F172A;
  --line:        #E2E8F0;
  --line-thin:   #F1F5F9;
  --font-sans:   'Inter', system-ui, sans-serif;
  --font-serif:  'Playfair Display', Georgia, serif;
  --max-w:       1200px;
  --header-h:    72px;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  color: var(--slate);
  background: var(--bg);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

ul { list-style: none; }

/* ── Frame Line ───────────────────────────────────── */
.frame-line {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line);
  z-index: 100;
}

/* ── Header ───────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 1px;
  left: 0;
  right: 0;
  z-index: 90;
  background: rgba(250, 250, 249, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
  box-shadow: 0 1px 0 var(--line);
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--black);
}

.logo-mark {
  width: 28px;
  height: 28px;
  background: var(--teal);
  border-radius: 6px;
  position: relative;
}

.logo-mark::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  bottom: 8px;
  border: 1.5px solid rgba(255,255,255,0.6);
  border-radius: 3px;
}

.logo-wordmark {
  font-weight: 400;
  letter-spacing: -0.01em;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 32px;
}

.site-nav a {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--slate-light);
  transition: color 0.2s ease;
}

.site-nav a:hover {
  color: var(--teal);
}

.btn--nav {
  border: 1px solid var(--line);
  padding: 8px 18px;
  border-radius: 100px;
  transition: all 0.2s ease;
  text-transform: none;
  letter-spacing: 0;
  font-size: 13px;
}

.btn--nav:hover {
  border-color: var(--teal);
  color: var(--teal);
}

/* Nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 20px;
  height: 1.5px;
  background: var(--slate);
  transition: all 0.25s ease;
  display: block;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: rotate(45deg) translate(4px, 5px);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: rotate(-45deg) translate(4px, -5px);
}

/* ── Buttons ──────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.02em;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn--primary {
  background: var(--teal);
  color: var(--white);
  padding: 14px 28px;
  border-radius: 100px;
}

.btn--primary:hover {
  background: var(--teal-dark);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--slate-light);
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 12px;
}

.btn--ghost:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.btn--small {
  padding: 10px 20px;
  font-size: 13px;
}

.btn--full {
  width: 100%;
}

/* ── Link underline ───────────────────────────────── */
.link-underline {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--slate-light);
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
  transition: all 0.2s ease;
}

.link-underline:hover {
  color: var(--teal);
  border-color: var(--teal);
}

/* ── Section shared ───────────────────────────────── */
.section-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
}

.section-heading {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 400;
  line-height: 1.2;
  color: var(--black);
  letter-spacing: -0.02em;
}

.section-heading--center {
  text-align: center;
}

.serif-accent {
  font-style: italic;
  color: var(--teal);
}

/* ── Hero ─────────────────────────────────────────── */
.hero {
  padding-top: calc(var(--header-h) + 48px);
  padding-bottom: 80px;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 24px;
}

.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5vw, 62px);
  font-weight: 400;
  line-height: 1.1;
  color: var(--black);
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}

.hero-desc {
  font-size: 16px;
  line-height: 1.75;
  color: var(--slate-light);
  max-width: 460px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.hero-image-wrap {
  position: relative;
}

.hero-image-wrap img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 8px;
}

.hero-image-accent {
  position: absolute;
  bottom: -16px;
  right: -16px;
  width: 120px;
  height: 120px;
  border: 1px solid var(--teal);
  border-radius: 8px;
  z-index: -1;
}

.hero-stat {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-stat .stat-number {
  font-size: 13px;
  font-weight: 500;
  color: var(--black);
  letter-spacing: 0.02em;
}

.hero-stat .stat-label {
  font-size: 12px;
  color: var(--slate-faint);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ── About ────────────────────────────────────────── */
.about {
  padding: 100px 0;
  border-top: 1px solid var(--line);
}

.about-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.about-col-left {
  position: sticky;
  top: 120px;
}

.about-col-left .section-heading {
  margin-bottom: 24px;
}

.about-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 28px;
}

.about-col-right p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--slate-light);
  margin-bottom: 16px;
}

.about-credentials {
  display: flex;
  gap: 32px;
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.credential {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.credential-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate-faint);
}

.credential-value {
  font-size: 14px;
  font-weight: 400;
  color: var(--black);
}

/* ── Services ─────────────────────────────────────── */
.services {
  padding: 100px 0;
  border-top: 1px solid var(--line);
}

.services-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.services-inner > .section-heading {
  margin-bottom: 56px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.service-card {
  background: var(--bg);
  padding: 40px 36px;
  transition: background 0.25s ease;
}

.service-card:hover {
  background: var(--white);
}

.service-num {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--teal);
  display: block;
  margin-bottom: 16px;
}

.service-title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--black);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.service-desc {
  font-size: 14px;
  line-height: 1.75;
  color: var(--slate-light);
}

/* ── Process ──────────────────────────────────────── */
.process {
  padding: 100px 0;
  border-top: 1px solid var(--line);
  background: var(--white);
}

.process-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.process-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.process-col-left {
  position: sticky;
  top: 120px;
}

.process-intro {
  font-size: 15px;
  line-height: 1.8;
  color: var(--slate-light);
  margin-top: 24px;
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}

.step:first-child {
  padding-top: 0;
}

.step:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.step-num {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 400;
  color: var(--teal);
  line-height: 1;
  padding-top: 2px;
}

.step-title {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 400;
  color: var(--black);
  margin-bottom: 8px;
}

.step-desc {
  font-size: 14px;
  line-height: 1.75;
  color: var(--slate-light);
}

/* ── Testimonials ─────────────────────────────────── */
.testimonials {
  padding: 100px 0;
  border-top: 1px solid var(--line);
}

.testimonials-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.testimonials-inner > .section-heading {
  margin-bottom: 56px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.testimonial-card:hover {
  border-color: var(--teal);
  box-shadow: 0 4px 24px rgba(13, 148, 136, 0.06);
}

.testimonial-quote {
  font-family: var(--font-serif);
  font-size: 16px;
  font-style: italic;
  line-height: 1.7;
  color: var(--black);
  margin-bottom: 20px;
}

.testimonial-attribution {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate-faint);
}

/* ── CTA ──────────────────────────────────────────── */
.cta {
  padding: 100px 0;
  background: var(--black);
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(13,148,136,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.cta-inner {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
  position: relative;
}

.cta-inner > .section-eyebrow {
  color: var(--teal);
  text-align: center;
}

.cta-heading {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 400;
  line-height: 1.15;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.cta-desc {
  font-size: 15px;
  line-height: 1.8;
  color: var(--slate-faint);
  margin-bottom: 36px;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.cta .btn--primary:hover {
  background: var(--teal);
}

.cta .link-underline {
  color: var(--slate-faint);
  border-color: var(--slate);
}

.cta .link-underline:hover {
  color: var(--teal);
  border-color: var(--teal);
}

/* ── Contact ──────────────────────────────────────── */
.contact {
  padding: 100px 0;
  border-top: 1px solid var(--line);
}

.contact-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-col-left .section-heading {
  margin-bottom: 36px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 12px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.contact-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.contact-item-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate-faint);
  padding-top: 4px;
}

.contact-item-value {
  font-size: 14px;
  color: var(--black);
  line-height: 1.6;
}

.contact-item-value a {
  color: var(--slate);
  border-bottom: 1px solid var(--line);
  transition: all 0.2s ease;
}

.contact-item-value a:hover {
  color: var(--teal);
  border-color: var(--teal);
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-faint);
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 300;
  color: var(--black);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.2s ease;
  resize: vertical;
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--slate-faint);
}

/* Success state */
.form-success {
  text-align: center;
  padding: 48px 24px;
}

.form-success-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--teal-light);
  color: var(--teal);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  line-height: 1;
}

.form-success-title {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--black);
  margin-bottom: 8px;
}

.form-success-desc {
  font-size: 14px;
  color: var(--slate-light);
  margin-bottom: 24px;
}

/* ── Footer ───────────────────────────────────────── */
.site-footer {
  padding: 56px 0 32px;
  border-top: 1px solid var(--line);
  background: var(--white);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-brand .logo-mark {
  margin-bottom: 4px;
}

.footer-tagline {
  font-size: 12px;
  color: var(--slate-faint);
  letter-spacing: 0.02em;
}

.footer-nav {
  display: flex;
  gap: 28px;
}

.footer-nav a {
  font-size: 13px;
  color: var(--slate-light);
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: var(--teal);
}

.footer-bottom {
  padding-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-bottom p {
  font-size: 12px;
  color: var(--slate-faint);
  line-height: 1.6;
}

.footer-legal {
  font-size: 11px;
  color: var(--slate-faint);
  line-height: 1.6;
  opacity: 0.7;
}

/* ── Scroll animations ────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ───────────────────────────────────── */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-right {
    order: -1;
  }

  .hero-image-wrap img {
    height: 360px;
  }

  .hero-image-accent {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .about-layout,
  .process-layout,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-col-left {
    position: static;
  }

  .process-col-left {
    position: static;
  }

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

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

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(250, 250, 249, 0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
    padding: 24px;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
  }

  .site-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .site-nav a {
    font-size: 15px;
  }

  .footer-top {
    flex-direction: column;
  }

  .footer-nav {
    flex-wrap: wrap;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-item {
    grid-template-columns: 70px 1fr;
  }
}

@media (max-width: 480px) {
  .hero-headline {
    font-size: 32px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .about-credentials {
    flex-direction: column;
    gap: 20px;
  }

  .contact-item {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
