:root {
  --teal: #3fb8c8;
  --teal-dark: #2a9aaa;
  --black: #1a1a1a;
  --charcoal: #2d2d2d;
  --gray: #6b6b6b;
  --light-gray: #f4f4f4;
  --white: #ffffff;
}

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

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--black);
  background: var(--white);
  overflow-x: hidden;
}

/* ─── SKIP LINK ─── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--teal);
  color: var(--white);
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 0 0 4px 4px;
  text-decoration: none;
  z-index: 1000;
  transition: top 0.2s;
}

.skip-link:focus { top: 0; }

/* ─── FOCUS STYLES ─── */
:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ─── NAV ─── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: padding 0.3s;
}

.nav-logo img {
  height: 44px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--charcoal);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
}

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

.nav-cta {
  background: var(--teal);
  color: var(--white) !important;
  padding: 10px 24px !important;
  border-radius: 2px;
  transition: background 0.2s !important;
}

.nav-cta:hover { background: var(--teal-dark) !important; color: var(--white) !important; }

/* Hamburger button — hidden on desktop */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}

.nav-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

/* Animated X state */
.nav-hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.nav-hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 60px 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -10%; right: -5%;
  width: 55vw; height: 90vh;
  background: linear-gradient(145deg, #e8f8fa 0%, #f0fafb 40%, transparent 70%);
  border-radius: 0 0 0 60% / 0 0 0 40%;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
}

.hero-left { }

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

.hero-headline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(44px, 5vw, 68px);
  font-weight: 300;
  line-height: 1.1;
  color: var(--black);
  margin-bottom: 28px;
}

.hero-headline em {
  font-style: italic;
  color: var(--teal-dark);
}

.hero-sub {
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray);
  font-weight: 300;
  max-width: 420px;
  margin-bottom: 44px;
}

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

.btn-primary {
  display: inline-block;
  padding: 14px 36px;
  background: var(--black);
  color: var(--white);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: background 0.2s, transform 0.2s;
}

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

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--charcoal);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.btn-secondary::after {
  content: '→';
  transition: transform 0.2s;
}

.btn-secondary:hover { color: var(--teal); }
.btn-secondary:hover::after { transform: translateX(4px); }

.hero-right {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 4px;
  padding: 48px 40px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.07);
  width: 100%;
  max-width: 380px;
}

.hero-card-label {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 24px;
}

.expertise-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--light-gray);
}

.expertise-item:last-child { border-bottom: none; }

.expertise-dot {
  width: 8px;
  height: 8px;
  min-width: 8px;
  background: var(--teal);
  border-radius: 50%;
  margin-top: 6px;
}

.expertise-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--black);
  margin-bottom: 3px;
}

.expertise-desc {
  font-size: 12px;
  color: var(--gray);
  line-height: 1.5;
  font-weight: 300;
}

/* ─── SERVICES ─── */
.services {
  padding: 120px 60px;
  background: var(--black);
  color: var(--white);
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 80px;
}

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

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 300;
  line-height: 1.15;
}

/* Services section overrides */
.services .section-title { color: var(--white); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.1);
}

.service-card {
  background: var(--black);
  padding: 48px 40px;
  transition: background 0.3s;
}

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

.service-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px;
  font-weight: 300;
  color: rgba(63,184,200,0.25);
  line-height: 1;
  margin-bottom: 24px;
}

.service-title {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 16px;
  color: var(--white);
}

.service-desc {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,0.5);
  font-weight: 300;
}

.service-tags {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.service-tag {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border: 1px solid rgba(63,184,200,0.3);
  color: var(--teal);
  border-radius: 2px;
}

/* ─── ABOUT ─── */
.about {
  padding: 120px 60px;
  background: var(--white);
}

.about-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

.about-left .section-eyebrow { color: var(--teal); }

.about-body {
  font-size: 15px;
  line-height: 1.8;
  color: var(--gray);
  font-weight: 300;
  margin-top: 20px;
  margin-bottom: 20px;
}

/* Inline style replacements */
.about-left .about-body:first-of-type { margin-top: 24px; }
.about-right .hero-card-label { margin-bottom: 28px; }

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid var(--light-gray);
}

.stat-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 42px;
  font-weight: 300;
  color: var(--teal-dark);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 12px;
  color: var(--gray);
  font-weight: 400;
  letter-spacing: 0.04em;
}

.about-right {
  background: var(--light-gray);
  border-radius: 4px;
  padding: 52px 48px;
}

.credential-item {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(0,0,0,0.07);
}

.credential-item:last-child { border-bottom: none; }

.credential-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: var(--teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 16px;
}

.credential-title {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 4px;
}

.credential-detail {
  font-size: 13px;
  color: var(--gray);
  font-weight: 300;
}

/* ─── CONTACT ─── */
.contact {
  padding: 120px 60px;
  background: var(--light-gray);
}

.contact-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: start;
}

.contact-form {
  background: var(--white);
  padding: 52px 48px;
  border-radius: 4px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.05);
}

/* Inline style replacement for contact form title */
.contact-form-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 300;
  margin-bottom: 32px;
}

.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 8px;
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 2px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--black);
  background: var(--white);
  transition: border-color 0.2s;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--teal);
  outline: 2px solid rgba(63,184,200,0.4);
  outline-offset: 0;
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  width: 100%;
  padding: 14px;
  background: var(--teal);
  color: var(--white);
  border: none;
  border-radius: 2px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 8px;
}

.form-submit:hover { background: var(--teal-dark); }

.contact-info { padding-top: 8px; }

.contact-info .section-title { color: var(--black); }

.contact-body {
  font-size: 15px;
  line-height: 1.8;
  color: var(--gray);
  font-weight: 300;
  margin-top: 20px;
  margin-bottom: 48px;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.contact-detail-icon {
  width: 36px;
  height: 36px;
  background: rgba(63,184,200,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  font-size: 14px;
}

.contact-detail-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray);
  margin-bottom: 2px;
}

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

/* ─── FOOTER ─── */
footer {
  padding: 40px 60px;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

footer img { height: 32px; filter: brightness(0) invert(1); }

.footer-text {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.04em;
}

/* ─── LUCIDE ICON SIZING ─── */
.credential-icon svg,
.contact-detail-icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow  { animation: fadeUp 0.6s ease both; animation-delay: 0.1s; opacity: 0; }
.hero-headline { animation: fadeUp 0.7s ease both; animation-delay: 0.25s; opacity: 0; }
.hero-sub      { animation: fadeUp 0.7s ease both; animation-delay: 0.4s; opacity: 0; }
.hero-actions  { animation: fadeUp 0.7s ease both; animation-delay: 0.55s; opacity: 0; }
.hero-card     { animation: fadeUp 0.8s ease both; animation-delay: 0.4s; opacity: 0; }

/* ─── RESPONSIVE ─── */
@media (max-width: 960px) {
  nav { padding: 16px 28px; backdrop-filter: none; }

  .nav-hamburger { display: flex; position: relative; z-index: 100; }

  .nav-links {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255,255,255,0.98);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    font-size: 18px;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  nav.nav-open .nav-links {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
  }

  .hero { padding: 100px 28px 60px; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-right { display: none; }
  .services { padding: 80px 28px; }
  .services-grid { grid-template-columns: 1fr; }
  .about { padding: 80px 28px; }
  .about-inner { grid-template-columns: 1fr; gap: 48px; }
  .contact { padding: 80px 28px; }
  .contact-inner { grid-template-columns: 1fr; gap: 48px; }
  .contact-form { padding: 32px 24px; overflow-x: hidden; }
  /* Scale reCAPTCHA (fixed 304px) to fit mobile content area (~267px); transform-origin keeps it left-aligned */
  .g-recaptcha { transform: scale(0.88); transform-origin: 0 0; }
  footer { padding: 28px; flex-direction: column; gap: 12px; }
  .section-header { flex-direction: column; align-items: flex-start; gap: 20px; }
}
