/* ============================================
   María Camila Puerta — Terapia Ocupacional
   ============================================ */

:root {
  /* Logo-derived palette */
  --cream: #FBF8F3;
  --cream-2: #F4EFE5;
  --paper: #FFFFFF;

  --ink: #2A3340;
  --ink-2: #4A5566;
  --ink-3: #7C8694;

  --blue: #7BA4D4;        /* signature script blue */
  --blue-deep: #5E84B5;
  --blue-soft: #DCE8F4;

  --mint: #C8E6CB;
  --mint-soft: #E6F2E2;

  --pink: #F5C8D6;
  --pink-soft: #FBE6EC;

  --peach: #F4D5B7;
  --peach-soft: #FBE9D7;

  --lime: #D9E8A8;
  --lime-soft: #EEF4D5;

  --line: #ECE4D6;
  --line-2: #E2D9C5;

  --shadow-sm: 0 1px 2px rgba(60, 50, 30, 0.04), 0 2px 8px rgba(60, 50, 30, 0.04);
  --shadow-md: 0 4px 14px rgba(60, 50, 30, 0.06), 0 10px 28px rgba(60, 50, 30, 0.06);
  --shadow-lg: 0 12px 40px rgba(60, 50, 30, 0.10);

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-pill: 999px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--cream);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.script {
  font-family: "Dancing Script", "Brush Script MT", cursive;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 0;
}

h1, h2, h3, h4 {
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(40px, 6vw, 68px); line-height: 1.05; letter-spacing: -0.02em; }
h2 { font-size: clamp(28px, 3.5vw, 44px); line-height: 1.1; }
h3 { font-size: clamp(20px, 2vw, 24px); line-height: 1.25; }
p  { margin: 0 0 0.9em; text-wrap: pretty; color: var(--ink-2); }
a  { color: inherit; text-decoration: none; }

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}

section { padding: 96px 0; position: relative; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-deep);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 24px; height: 2px;
  background: var(--blue);
  border-radius: 2px;
}

/* ============ NAV ============ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  background: rgba(251, 248, 243, 0.82);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.nav.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 1px 0 rgba(0,0,0,0.02);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand img.brand-mark {
  width: 64px;
  height: 48px;
  object-fit: contain;
  object-position: center;
}
.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand-name .script-name {
  font-family: "Dancing Script", cursive;
  font-weight: 600;
  font-size: 22px;
  color: var(--blue);
}
.brand-name .role {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links a {
  padding: 8px 14px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-2);
  border-radius: var(--radius-pill);
  transition: color 0.15s, background 0.15s;
}
.nav-links a:hover { color: var(--ink); background: rgba(123, 164, 212, 0.08); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
  font-family: inherit;
  white-space: nowrap;
}
.btn-primary {
  background: var(--blue);
  color: white;
  box-shadow: 0 4px 12px rgba(123, 164, 212, 0.35);
}
.btn-primary:hover {
  background: var(--blue-deep);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(94, 132, 181, 0.4);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line-2);
}
.btn-ghost:hover { background: white; border-color: var(--blue); color: var(--blue-deep); }
.btn-lg { padding: 15px 28px; font-size: 15.5px; }

.nav-mobile-toggle { display: none; }

/* ============ HERO ============ */
.hero {
  padding-top: 140px;
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(0.5px);
  opacity: 0.55;
}
.blob.b1 { width: 360px; height: 360px; background: var(--mint-soft); top: 30px; left: -120px; }
.blob.b2 { width: 280px; height: 280px; background: var(--pink-soft); top: 220px; right: -80px; }
.blob.b3 { width: 200px; height: 200px; background: var(--peach-soft); bottom: -40px; left: 30%; }

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-copy h1 .script {
  font-size: 1.05em;
  display: block;
  margin-bottom: -0.08em;
}
.hero-copy .lead {
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 520px;
  margin-bottom: 28px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.hero-trust {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  flex-direction: column;
}
.trust-num {
  font-family: "Dancing Script", cursive;
  font-size: 38px;
  font-weight: 700;
  color: var(--blue);
  line-height: 1;
}
.trust-label {
  font-size: 12.5px;
  color: var(--ink-3);
  letter-spacing: 0.06em;
  margin-top: 4px;
}

/* Hero visual: the brand logo as the centerpiece */
.hero-visual {
  position: relative;
  aspect-ratio: 1;
  max-width: 560px;
  margin-left: auto;
}
.hero-logo {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 30px 60px rgba(94, 132, 181, 0.18));
  animation: hero-logo-float 8s ease-in-out infinite;
}
@keyframes hero-logo-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.hero-orbit {
  position: absolute;
  border-radius: 50%;
  z-index: 1;
  opacity: 0.55;
  filter: blur(0.5px);
}
.hero-orbit.o1 { width: 90px; height: 90px; background: var(--mint-soft); top: 8%; left: -2%; }
.hero-orbit.o2 { width: 60px; height: 60px; background: var(--pink-soft); top: 0; right: 12%; }
.hero-orbit.o3 { width: 120px; height: 120px; background: var(--peach-soft); bottom: 6%; right: -4%; opacity: 0.65; }
.hero-orbit.o4 { width: 44px; height: 44px; background: var(--blue-soft); top: 38%; right: -2%; }
.hero-orbit.o5 { width: 70px; height: 70px; background: var(--lime-soft); bottom: 14%; left: 4%; }
.hero-orbit.o1 { animation: float-a 6s ease-in-out infinite; }
.hero-orbit.o2 { animation: float-b 7s ease-in-out infinite 0.4s; }
.hero-orbit.o3 { animation: float-c 5.5s ease-in-out infinite 0.8s; }
.hero-orbit.o4 { animation: float-a 7.5s ease-in-out infinite 0.2s; }
.hero-orbit.o5 { animation: float-b 6.5s ease-in-out infinite 1s; }
@keyframes float-a { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes float-b { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes float-c { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

/* ============ STATS / VALUES ============ */
.values {
  padding-top: 40px;
  padding-bottom: 96px;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.value-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.value-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-soft);
}
.value-icon {
  width: 44px; height: 44px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.value-icon.c1 { background: var(--mint-soft); color: #5a8c5e; }
.value-icon.c2 { background: var(--blue-soft); color: var(--blue-deep); }
.value-icon.c3 { background: var(--pink-soft); color: #c66a87; }
.value-icon.c4 { background: var(--peach-soft); color: #b97c43; }
.value-icon svg { width: 22px; height: 22px; }
.value-card h3 { font-size: 17px; margin-bottom: 6px; }
.value-card p { font-size: 14.5px; margin: 0; color: var(--ink-2); }

/* ============ ABOUT ============ */
.about {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 72px;
  align-items: center;
}
.about-portrait {
  position: relative;
  aspect-ratio: 4/5;
  max-width: 460px;
  margin-right: 60px;
}
.about-portrait .portrait-main {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: block;
}
.about-portrait .portrait-secondary {
  position: absolute;
  z-index: 3;
  width: 46%;
  aspect-ratio: 4/5;
  object-fit: cover;
  bottom: -40px;
  right: -70px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 6px solid var(--cream);
}
.about-portrait .portrait-deco {
  position: absolute;
  z-index: 1;
  border-radius: 50%;
}
.about-portrait .portrait-deco.d-a {
  width: 140px; height: 140px;
  background: var(--mint-soft);
  top: -30px; left: -40px;
}
.about-portrait .portrait-deco.d-b {
  width: 100px; height: 100px;
  background: var(--peach-soft);
  bottom: 30%; left: -50px;
  opacity: 0.7;
}
.about-portrait .badge {
  position: absolute;
  z-index: 4;
  top: 24px;
  left: -28px;
  background: var(--blue);
  color: white;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
}
.about-portrait .badge .num {
  font-family: "Dancing Script", cursive;
  font-size: 44px;
  font-weight: 700;
  line-height: 1;
}
.about-portrait .badge .txt {
  font-size: 12px;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.about-copy h2 .script { font-size: 1.1em; }
.about-bullets {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 14px;
}
.about-bullets li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.about-bullets .chk {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--mint-soft);
  color: #5a8c5e;
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
}
.about-bullets .chk svg { width: 14px; height: 14px; }
.about-bullets strong { color: var(--ink); display: block; font-size: 16px; }
.about-bullets span { font-size: 14.5px; color: var(--ink-2); }

.creds {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.cred-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: var(--cream);
  border: 1px solid var(--line);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
}
.cred-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }

/* ============ SERVICES ============ */
.services-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: end;
  margin-bottom: 48px;
}
.services-head h2 .script { font-size: 1.05em; }

.service-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.service-tab {
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: var(--paper);
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  cursor: pointer;
  transition: all 0.15s;
  font-family: inherit;
}
.service-tab:hover { color: var(--ink); border-color: var(--blue-soft); }
.service-tab.active {
  background: var(--blue);
  color: white;
  border-color: var(--blue);
  box-shadow: 0 4px 10px rgba(123, 164, 212, 0.3);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.service-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px;
  position: relative;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  top: -40px; right: -40px;
  width: 140px; height: 140px;
  border-radius: 50%;
  opacity: 0.5;
  transition: transform 0.4s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.service-card:hover::before { transform: scale(1.15); }
.service-card.c1::before { background: var(--mint-soft); }
.service-card.c2::before { background: var(--blue-soft); }
.service-card.c3::before { background: var(--pink-soft); }
.service-card.c4::before { background: var(--peach-soft); }
.service-card.c5::before { background: var(--lime-soft); }
.service-card.c6::before { background: var(--mint-soft); }

.service-icon {
  position: relative;
  z-index: 1;
  width: 60px; height: 60px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  background: var(--paper);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04), inset 0 0 0 1px var(--line);
}
.service-icon svg { width: 28px; height: 28px; }
.service-card.c1 .service-icon { color: #5a8c5e; }
.service-card.c2 .service-icon { color: var(--blue-deep); }
.service-card.c3 .service-icon { color: #c66a87; }
.service-card.c4 .service-icon { color: #b97c43; }
.service-card.c5 .service-icon { color: #8c9b4a; }
.service-card.c6 .service-icon { color: #5a8c5e; }

.service-card h3 {
  position: relative;
  z-index: 1;
  font-size: 19px;
  margin-bottom: 10px;
}
.service-card p {
  position: relative;
  z-index: 1;
  font-size: 14.5px;
  margin: 0 0 14px;
}
.service-card ul {
  position: relative;
  z-index: 1;
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 6px;
}
.service-card ul li {
  font-size: 13.5px;
  color: var(--ink-2);
  padding-left: 18px;
  position: relative;
}
.service-card ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--blue);
  opacity: 0.5;
}

/* ============ CONDITIONS ============ */
.conditions {
  background: linear-gradient(180deg, var(--cream) 0%, var(--mint-soft) 100%);
  padding-bottom: 120px;
}
.conditions-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}
.conditions-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.condition {
  background: var(--paper);
  border-radius: var(--radius-md);
  padding: 22px;
  border: 1px solid var(--line);
  display: flex;
  gap: 14px;
  align-items: flex-start;
  transition: transform 0.2s, box-shadow 0.2s;
}
.condition:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.condition .pill {
  flex-shrink: 0;
  font-family: "Dancing Script", cursive;
  font-size: 22px;
  font-weight: 700;
  color: var(--blue);
  background: var(--blue-soft);
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.condition h4 { font-size: 15.5px; margin: 0 0 4px; }
.condition p { font-size: 13.5px; margin: 0; line-height: 1.45; }

/* ============ MODALIDADES ============ */
.modalities {
  background: var(--paper);
  border-top: 1px solid var(--line);
}
.modalities-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 40px;
}
.mod-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
}
.mod-card .label {
  font-family: "Dancing Script", cursive;
  font-size: 20px;
  color: var(--blue);
  margin-bottom: 6px;
}
.mod-card h3 { font-size: 24px; margin-bottom: 16px; }
.mod-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.mod-card ul li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 14.5px; color: var(--ink-2);
}
.mod-card ul li::before {
  content: "✓";
  color: var(--blue);
  font-weight: 700;
  flex-shrink: 0;
}
.mod-illust {
  position: absolute;
  top: 28px; right: 28px;
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.mod-card:nth-child(1) .mod-illust { background: var(--mint-soft); color: #5a8c5e; }
.mod-card:nth-child(2) .mod-illust { background: var(--peach-soft); color: #b97c43; }

/* ============ PRICING ============ */
.pricing {
  background: var(--cream);
}
.pricing-head {
  text-align: center;
  margin-bottom: 48px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.pricing-head .eyebrow { justify-content: center; }
.pricing-head h2 .script { font-size: 1.05em; }
.pricing-head p { margin: 12px auto 0; }

.pricing-toggle {
  display: inline-flex;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 4px;
  gap: 4px;
  margin-bottom: 32px;
}
.toggle-btn {
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  background: transparent;
  border: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}
.toggle-btn.active {
  background: var(--blue);
  color: white;
  box-shadow: 0 2px 8px rgba(123, 164, 212, 0.3);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.price-card {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 1px solid var(--line);
  position: relative;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.price-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.price-card.featured {
  background: var(--blue);
  color: white;
  border-color: var(--blue);
  box-shadow: 0 16px 40px rgba(94, 132, 181, 0.25);
}
.price-card.featured h3, .price-card.featured .price, .price-card.featured .price-detail { color: white; }
.price-card.featured p, .price-card.featured ul li { color: rgba(255,255,255,0.85); }
.price-card .tag {
  position: absolute;
  top: -12px; right: 20px;
  background: var(--peach);
  color: #7a4f1d;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
}
.price-card .duration {
  font-size: 13px;
  color: var(--ink-3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.price-card.featured .duration { color: rgba(255,255,255,0.7); }
.price-card h3 { font-size: 19px; margin-bottom: 14px; }
.price-card .price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 4px;
}
.price-card .price .num {
  font-family: "Dancing Script", cursive;
  font-size: 44px;
  font-weight: 700;
  color: var(--blue);
  line-height: 1;
}
.price-card.featured .price .num { color: white; }
.price-card .price .ccy { font-size: 14px; color: var(--ink-3); font-weight: 600; }
.price-card .price-detail {
  font-size: 13px;
  color: var(--ink-3);
  margin-bottom: 20px;
}
.price-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  gap: 8px;
  font-size: 14px;
}
.price-card ul li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  color: var(--ink-2);
}
.price-card ul li::before {
  content: "✓";
  color: var(--blue);
  font-weight: 700;
  flex-shrink: 0;
}
.price-card.featured ul li::before { color: var(--mint); }
.price-card .btn { width: 100%; justify-content: center; }
.price-card.featured .btn-primary {
  background: white;
  color: var(--blue-deep);
  box-shadow: none;
}
.price-card.featured .btn-primary:hover { background: var(--cream); }

/* ============ PROCESS ============ */
.process {
  background: var(--paper);
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 48px;
  position: relative;
}
.process-step {
  text-align: left;
  padding: 28px 24px;
  border-radius: var(--radius-md);
  background: var(--cream);
  position: relative;
}
.step-num {
  font-family: "Dancing Script", cursive;
  font-size: 48px;
  font-weight: 700;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 12px;
  opacity: 0.85;
}
.process-step h3 { font-size: 17px; margin-bottom: 8px; }
.process-step p { font-size: 13.5px; margin: 0; }

/* ============ FAQ ============ */
.faq {
  background: var(--cream);
}
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
  align-items: start;
}
.faq-list {
  display: grid;
  gap: 10px;
}
.faq-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.faq-item.open {
  border-color: var(--blue-soft);
  box-shadow: var(--shadow-sm);
}
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 22px 26px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-q .plus {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.25s, background 0.25s;
  font-size: 18px;
  font-weight: 400;
}
.faq-item.open .plus {
  transform: rotate(45deg);
  background: var(--blue);
  color: white;
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-item.open .faq-a { max-height: 400px; }
.faq-a-inner {
  padding: 0 26px 22px;
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.6;
}

/* ============ CONTACT ============ */
.contact {
  background: linear-gradient(180deg, var(--cream) 0%, var(--blue-soft) 100%);
  padding-bottom: 120px;
}
.contact-card {
  background: var(--paper);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  box-shadow: var(--shadow-lg);
}
.contact-info {
  background: var(--blue);
  color: white;
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
}
.contact-info::before {
  content: "";
  position: absolute;
  bottom: -80px; right: -80px;
  width: 240px; height: 240px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
}
.contact-info::after {
  content: "";
  position: absolute;
  bottom: 60px; right: 80px;
  width: 80px; height: 80px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
}
.contact-info .eyebrow { color: var(--mint); }
.contact-info .eyebrow::before { background: var(--mint); }
.contact-info h2 { color: white; font-size: 32px; margin-bottom: 12px; }
.contact-info h2 .script { color: white; }
.contact-info p { color: rgba(255,255,255,0.85); margin-bottom: 32px; }
.contact-details {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 18px;
  position: relative;
  z-index: 1;
}
.contact-details li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.contact-details .ic {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-details .ic svg { width: 18px; height: 18px; color: white; }
.contact-details .lbl { font-size: 12px; opacity: 0.7; letter-spacing: 0.08em; text-transform: uppercase; }
.contact-details .val { font-size: 15px; font-weight: 500; }
.contact-details .val a:hover { text-decoration: underline; }

.contact-form {
  padding: 48px 40px;
}
.contact-form h3 { font-size: 22px; margin-bottom: 6px; }
.contact-form .sub { color: var(--ink-2); margin-bottom: 24px; font-size: 14.5px; }
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-field { display: flex; flex-direction: column; }
.form-field.full { grid-column: 1 / -1; }
.form-field label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 6px;
  letter-spacing: 0.04em;
}
.form-field input, .form-field select, .form-field textarea {
  font-family: inherit;
  font-size: 14.5px;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--cream);
  color: var(--ink);
  transition: border-color 0.15s, background 0.15s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: var(--paper);
}
.form-field textarea { resize: vertical; min-height: 90px; }
.form-field .err {
  font-size: 12px;
  color: #c25658;
  margin-top: 4px;
  min-height: 14px;
}
.form-submit {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
  flex-wrap: wrap;
}
.form-submit .privacy { font-size: 12px; color: var(--ink-3); max-width: 280px; }

.form-success {
  display: none;
  background: var(--mint-soft);
  border: 1px solid var(--mint);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-top: 16px;
  color: #3d6e44;
  font-size: 14.5px;
  align-items: center;
  gap: 14px;
}
.form-success.show { display: flex; }
.form-success .ic {
  width: 36px; height: 36px;
  background: var(--mint);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white;
  flex-shrink: 0;
}

/* ============ FOOTER ============ */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,0.7);
  padding: 56px 0 32px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer h4 {
  color: white;
  font-size: 14px;
  margin-bottom: 14px;
  letter-spacing: 0.04em;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer ul a { color: rgba(255,255,255,0.65); }
.footer ul a:hover { color: white; }
.footer-brand { gap: 0; }
.footer-logo {
  width: 140px;
  height: auto;
  object-fit: contain;
  margin-bottom: 8px;
  filter: brightness(1.05) drop-shadow(0 2px 8px rgba(255,255,255,0.04));
}
.footer-tag {
  color: rgba(255,255,255,0.6);
  margin-top: 12px;
  max-width: 280px;
  font-size: 13.5px;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
  section { padding: 72px 0; }
  .nav-links { display: none; }
  .hero { padding-top: 110px; }
  .hero-grid, .about-grid, .conditions-grid, .modalities-grid, .faq-grid, .contact-card, .services-head, .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-visual { max-width: 400px; margin: 0 auto; }
  .values-grid, .services-grid, .pricing-grid, .process-steps, .conditions-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-portrait { max-width: 360px; margin: 0 auto 40px; }
  .about-portrait .portrait-secondary { width: 42%; right: -30px; bottom: -30px; }
  .about-portrait .badge { left: -12px; top: 12px; padding: 12px 16px; }
  .form-grid { grid-template-columns: 1fr; }
  .contact-info, .contact-form { padding: 36px 28px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .values-grid, .services-grid, .pricing-grid, .process-steps, .conditions-list {
    grid-template-columns: 1fr;
  }
  .hero-trust { gap: 18px; }
  .trust-num { font-size: 32px; }
  .footer-bottom { flex-direction: column; }
  .nav-inner { padding: 12px 20px; }
  .brand-name .script-name { font-size: 19px; }
  .nav .btn { padding: 10px 16px; font-size: 13px; }
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
