/* ============================================
   Dr Lisa Yu — General Paediatrician
   Palette: Opal / Seashell / Cascade
   ============================================ */

:root {
  /* Palette from Figma Opal-Seashell-Cascade */
  --teal: #3EBCB3;
  --teal-dark: #2E9A92;
  --teal-light: #D6F0EE;
  --opal: #B3CED6;
  --opal-light: #E0EDF1;
  --seashell: #F4CC9C;
  --seashell-light: #FDF3E5;
  --mauve: #C592A8;
  --mauve-light: #F0DDE6;
  --rose: #E484AC;
  --taupe: #927B67;
  --brown: #523F2B;
  --magenta: #D3045D;

  /* Derived */
  --bg: #FDFAF6;
  --bg-alt: #F7F1EA;
  --text: #3A3028;
  --text-light: #7A6F63;
  --white: #FFFFFF;

  /* Typography */
  --font-display: 'Instrument Serif', Georgia, serif;
  --font-body: 'Figtree', -apple-system, sans-serif;

  /* Spacing */
  --section-pad: clamp(80px, 12vw, 160px);
  --container: 1200px;

  /* Radius */
  --radius: 20px;
  --radius-sm: 12px;
  --radius-xs: 8px;
}

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

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---- Utility ---- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}

.section-label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--brown);
  margin-bottom: 24px;
}

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

.section-subtext {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 560px;
  margin-bottom: 56px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 60px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}

.btn-primary:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(62, 188, 179, 0.3);
}

.btn-ghost {
  background: transparent;
  color: var(--brown);
  border-color: var(--taupe);
}

.btn-ghost:hover {
  background: var(--brown);
  color: var(--white);
  border-color: var(--brown);
  transform: translateY(-2px);
}

/* ---- Grain overlay ---- */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px;
}

/* ---- Blobs ---- */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.blob-1 {
  width: 500px; height: 500px;
  background: var(--opal);
  opacity: 0.3;
  top: -100px; right: -100px;
}

.blob-2 {
  width: 400px; height: 400px;
  background: var(--seashell);
  opacity: 0.25;
  bottom: -50px; left: -150px;
}

.blob-3 {
  width: 300px; height: 300px;
  background: var(--mauve-light);
  opacity: 0.3;
  top: 40%; left: 50%;
}

.blob-4 {
  width: 600px; height: 600px;
  background: var(--teal-light);
  opacity: 0.35;
  top: -200px; right: -200px;
}

.blob-5 {
  width: 400px; height: 400px;
  background: var(--seashell);
  opacity: 0.2;
  bottom: -100px; left: -100px;
}

.blob-6 {
  width: 500px; height: 500px;
  background: var(--opal);
  opacity: 0.2;
  top: -150px; left: -200px;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: all 0.4s ease;
}

.nav.scrolled {
  background: rgba(253, 250, 246, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 0;
  box-shadow: 0 1px 0 rgba(82, 63, 43, 0.06);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--brown);
}

.logo-mark { flex-shrink: 0; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-light);
  transition: color 0.25s;
  position: relative;
}

.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--teal);
  transition: width 0.3s ease;
}

.nav-links a:not(.nav-cta):hover { color: var(--brown); }
.nav-links a:not(.nav-cta):hover::after { width: 100%; }

.nav-cta {
  background: var(--teal);
  color: var(--white) !important;
  padding: 10px 24px;
  border-radius: 60px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.nav-cta:hover {
  background: var(--teal-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(62, 188, 179, 0.3);
}

.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: 2px;
  background: var(--brown);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 0 60px;
  overflow: hidden;
}

.hero-bg-shapes { position: absolute; inset: 0; z-index: 0; }

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}

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

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  font-weight: 400;
  line-height: 1.08;
  color: var(--brown);
  margin-bottom: 28px;
}

.hero-title span { display: block; }

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

.hero-text {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 520px;
  margin-bottom: 40px;
  line-height: 1.8;
}

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

/* Hero photo */
.hero-photo-wrapper {
  position: relative;
  max-width: 400px;
  margin: 0 auto;
}

.hero-photo-accent {
  position: absolute;
  top: 16px;
  left: 16px;
  right: -16px;
  bottom: -16px;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--opal), var(--teal-light));
  z-index: 0;
}

.hero-photo {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  border-radius: 24px;
  object-fit: cover;
  box-shadow:
    0 4px 12px rgba(82, 63, 43, 0.08),
    0 16px 48px rgba(82, 63, 43, 0.1);
}

.hero-photo-badge {
  position: absolute;
  bottom: 20px;
  left: -20px;
  z-index: 2;
  background: var(--white);
  padding: 10px 20px;
  border-radius: 40px;
  box-shadow:
    0 2px 8px rgba(82, 63, 43, 0.06),
    0 8px 24px rgba(82, 63, 43, 0.08);
}

.badge-quals {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--teal-dark);
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 1;
}

.hero-scroll span {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--taupe);
  font-weight: 600;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--teal), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ============================================
   ABOUT
   ============================================ */
.about {
  padding: var(--section-pad) 0;
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.about-body p {
  color: var(--text-light);
  margin-bottom: 16px;
  font-size: 1.05rem;
  line-height: 1.85;
}

.about-body p:last-child { margin-bottom: 0; }

.quals-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: 0 4px 24px rgba(82, 63, 43, 0.05);
  border: 1px solid rgba(179, 206, 214, 0.25);
  margin-bottom: 20px;
}

.quals-card h3,
.lang-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--brown);
  margin-bottom: 20px;
}

.quals-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.qual-item {
  display: flex;
  gap: 16px;
  align-items: baseline;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(179, 206, 214, 0.25);
}

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

.qual-abbr {
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: var(--teal-dark);
  background: var(--teal-light);
  padding: 4px 12px;
  border-radius: 6px;
  flex-shrink: 0;
  min-width: 64px;
  text-align: center;
}

.qual-full {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.5;
}

.lang-card {
  background: var(--seashell-light);
  border-radius: var(--radius);
  padding: 28px 32px;
}

.lang-tags { display: flex; gap: 10px; }

.public-card {
  background: var(--opal-light);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin-top: 20px;
}

.public-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--brown);
  margin-bottom: 12px;
}

.public-card p {
  font-size: 0.93rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 8px;
}

.public-card p:last-child { margin-bottom: 0; }

.public-card strong {
  color: var(--brown);
}

.public-note {
  font-size: 0.85rem !important;
  font-style: italic;
  opacity: 0.85;
}

.lang-tag {
  background: var(--white);
  color: var(--taupe);
  padding: 8px 20px;
  border-radius: 40px;
  font-weight: 600;
  font-size: 0.9rem;
}

/* ============================================
   SERVICES
   ============================================ */
.services {
  padding: var(--section-pad) 0;
  position: relative;
  background: var(--bg-alt);
  overflow: hidden;
}

.services-bg-shapes { position: absolute; inset: 0; z-index: 0; }
.services > .container { position: relative; z-index: 1; }

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

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid rgba(179, 206, 214, 0.2);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--opal));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(62, 188, 179, 0.1);
}

.service-card:hover::after { opacity: 1; }

.service-icon {
  width: 56px; height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--icon-bg, var(--teal-light));
  margin-bottom: 20px;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--brown);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.93rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ============================================
   PHILOSOPHY
   ============================================ */
.philosophy {
  padding: var(--section-pad) 0;
  position: relative;
}

.philosophy-header {
  max-width: 500px;
  margin-bottom: 60px;
}

.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.phil-card {
  position: relative;
  padding-top: 0;
}

.phil-num {
  font-family: var(--font-display);
  font-size: 2.8rem;
  color: var(--opal);
  line-height: 1;
  display: block;
  margin-bottom: 12px;
}

.phil-line {
  width: 40px; height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--opal));
  border-radius: 4px;
  margin-bottom: 20px;
}

.phil-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--brown);
  margin-bottom: 10px;
}

.phil-card p {
  font-size: 0.93rem;
  color: var(--text-light);
  line-height: 1.75;
}

/* ============================================
   HOW TO
   ============================================ */
.howto {
  padding: var(--section-pad) 0;
  position: relative;
}

.howto-timeline {
  max-width: 680px;
}

.howto-step {
  display: flex;
  gap: 28px;
  position: relative;
}

.howto-step-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.howto-step-num {
  width: 44px; height: 44px;
  background: var(--teal);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.howto-step-line {
  width: 2px;
  flex: 1;
  background: linear-gradient(to bottom, var(--teal-light), rgba(179, 206, 214, 0.2));
  margin: 8px 0;
}

.howto-step--last .howto-step-line { display: none; }

.howto-step-content {
  padding-bottom: 40px;
}

.howto-step--last .howto-step-content {
  padding-bottom: 0;
}

.howto-step-content h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--brown);
  margin-bottom: 8px;
  padding-top: 8px;
}

.howto-step-content > p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: 16px;
}

.howto-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.howto-list li {
  position: relative;
  padding-left: 20px;
  font-size: 0.93rem;
  color: var(--text-light);
  line-height: 1.8;
}

.howto-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--opal);
}

.howto-clinics {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.howto-clinic {
  background: var(--white);
  border: 1px solid rgba(179, 206, 214, 0.25);
  border-radius: var(--radius-sm);
  padding: 14px 20px;
  flex: 1;
  min-width: 200px;
}

.howto-clinic strong {
  display: block;
  font-size: 0.85rem;
  color: var(--brown);
  margin-bottom: 4px;
}

.howto-clinic a {
  display: block;
  font-size: 0.88rem;
  color: var(--teal-dark);
  font-weight: 500;
  transition: color 0.25s;
}

.howto-clinic a:hover {
  color: var(--teal);
}

/* ============================================
   FEES
   ============================================ */
.fees {
  padding: var(--section-pad) 0;
  position: relative;
  background: var(--bg-alt);
}

.fees-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 32px;
}

.fee-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  border: 1px solid rgba(179, 206, 214, 0.25);
  position: relative;
  overflow: hidden;
}

.fee-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
}

.fee-card--initial::before {
  background: linear-gradient(90deg, var(--teal), var(--opal));
}

.fee-card--followup::before {
  background: linear-gradient(90deg, var(--seashell), var(--mauve));
}

.fee-card-label {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--brown);
  margin-bottom: 28px;
}

.fee-card-tiers {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.fee-tier {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.fee-complexity {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-light);
}

.fee-duration {
  display: block;
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--taupe);
  margin-top: 2px;
}

.fee-amount {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--brown);
  text-align: right;
}

.fee-max {
  display: block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--teal-dark);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.fee-divider {
  height: 1px;
  background: rgba(179, 206, 214, 0.3);
}

/* Fees explainer */
.fees-explainer {
  margin-bottom: 40px;
}

.fees-explainer-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid rgba(179, 206, 214, 0.25);
}

.fees-explainer-card > h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--brown);
  margin-bottom: 10px;
}

.fees-explainer-card > p {
  font-size: 0.93rem;
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: 20px;
}

.fees-explainer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.fees-explainer-grid strong {
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--teal-dark);
  margin-bottom: 6px;
}

.fees-explainer-grid p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
  margin: 0;
}

/* Fees additional info */
.fees-additional {
  margin-top: 32px;
}

.fees-additional h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--brown);
  margin-bottom: 16px;
}

.fees-additional-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.fees-additional-list li {
  font-size: 0.93rem;
  color: var(--text-light);
  line-height: 1.75;
  padding: 12px 0;
  border-bottom: 1px solid rgba(179, 206, 214, 0.2);
}

.fees-additional-list li:last-child {
  border-bottom: none;
}

.fees-additional-list strong {
  color: var(--brown);
}

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

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

/* ============================================
   RESOURCES
   ============================================ */
.resources {
  padding: var(--section-pad) 0;
  position: relative;
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.resource-preview-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid rgba(179, 206, 214, 0.25);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  color: inherit;
}

.resource-preview-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(62, 188, 179, 0.1);
}

.resource-preview-icon {
  width: 56px; height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--teal-light);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.resource-preview-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--brown);
  margin-bottom: 6px;
}

.resource-preview-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 10px;
}

.resource-preview-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--teal-dark);
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
  padding: var(--section-pad) 0;
  position: relative;
  background: var(--bg-alt);
  overflow: hidden;
}

.contact-bg-shapes { position: absolute; inset: 0; z-index: 0; }
.contact > .container { position: relative; z-index: 1; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.contact-info p {
  font-size: 1.05rem;
  color: var(--text-light);
  margin-bottom: 32px;
  line-height: 1.8;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 36px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-item-icon {
  width: 48px; height: 48px;
  background: var(--teal-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item strong {
  display: block;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brown);
  margin-bottom: 4px;
}

.contact-item p {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 0;
  line-height: 1.6;
}

/* Location cards */
.contact-locations {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 28px;
  align-items: stretch;
}

.location-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid rgba(179, 206, 214, 0.25);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.location-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--brown);
  margin-bottom: 14px;
}

.location-card .contact-item {
  margin-bottom: 12px;
}

.location-card .contact-item:last-child {
  margin-bottom: 0;
}

.location-card .contact-item-icon {
  width: 36px; height: 36px;
}

.location-card a {
  color: var(--teal-dark);
  font-weight: 500;
  transition: color 0.25s;
  word-break: break-all;
}

.location-card a:hover {
  color: var(--teal);
}

.contact-cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.contact-cta-row .btn {
  flex: 1;
  min-width: 160px;
  text-align: center;
}

/* Map with tabs */
.contact-map {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 420px;
  background: var(--opal-light);
  box-shadow: 0 4px 24px rgba(82, 63, 43, 0.06);
  display: flex;
  flex-direction: column;
}

.contact-map-tabs {
  display: flex;
  background: var(--white);
  padding: 8px;
  gap: 4px;
}

.map-tab {
  flex: 1;
  padding: 10px 20px;
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-light);
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: all 0.3s ease;
}

.map-tab.active {
  background: var(--teal-light);
  color: var(--teal-dark);
}

.map-tab:hover:not(.active) {
  background: var(--bg-alt);
}

.map-frame {
  flex: 1;
  min-height: 360px;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: 60px 0 32px;
  background: var(--brown);
  color: rgba(255, 255, 255, 0.7);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer .logo {
  color: var(--white);
  margin-bottom: 12px;
}

.footer .logo-mark circle { stroke: var(--teal); }
.footer .logo-mark path { stroke: var(--teal); }

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 10px;
  transition: color 0.25s;
}

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

.footer-col p {
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ============================================
   ANIMATIONS
   ============================================ */
.anim-fade {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.anim-fade.visible {
  opacity: 1;
  transform: translateY(0);
}

.anim-slide {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.anim-slide.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 340px; }
  .hero-photo-wrapper { max-width: 340px; }
  .about-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .philosophy-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .contact-locations { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(253, 250, 246, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    z-index: 99;
  }

  .nav-links.open { display: flex; }

  .nav-links a {
    font-size: 1.4rem;
    font-family: var(--font-display);
    color: var(--brown);
  }

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

  .nav-toggle { display: flex; z-index: 101; }

  .nav-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .services-grid { grid-template-columns: 1fr; }
  .philosophy-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr; }

  .hero { min-height: auto; padding: 140px 0 80px; }
  .hero-scroll { display: none; }

  .hero-title {
    font-size: clamp(2.2rem, 8vw, 3.2rem);
  }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; text-align: center; }
}
