/* Kanpotar Etxea — Sistema visual v2.0
   Tipografías: Cormorant Garamond (display) + Source Sans 3 (UI)
   Paleta: terracota vasca, crema, tinta oscura, dorado solar
*/

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400&family=Source+Sans+3:wght@400;600;700&display=swap');

:root {
  --navy:         #8C4A2F;
  --navy-dark:    #7A3F28;
  --accent:       #C97A4A;
  --accent-mid:   #A85C38;
  --accent-light: #F6ECE2;
  --uni-light:    #FBF3EA;
  --ink:          #3A2E26;
  --muted:        #8A7768;
  --line:         #E8DDD2;
  --line-alt:     #E3D6C8;
  --line-uni:     #EFE0CE;
  --bg:           #FBF7F2;
  --bg-input:     #FCFAF6;
  --bg-tab:       #F1E7DC;
  --gold:         #F2C14E;
  --warm:         #E0A458;
  --footer:       #10293F;
  --radius:       14px;
  --shadow:       0 8px 24px rgba(140,74,47,.10);
  --shadow-lg:    0 16px 40px rgba(140,74,47,.16);
}

*, *::before, *::after { box-sizing: border-box }
html { scroll-behavior: smooth }
body {
  margin: 0;
  font-family: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
}

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  line-height: 1.15;
}

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

/* ---------- Header / Nav ---------- */
header.site {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251,247,242,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
header.site .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--ink);
}
.brand-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 22px; font-weight: 600; color: var(--ink);
  letter-spacing: 0.03em; line-height: 1; display: block;
}
.brand-name span { color: var(--navy) }
.brand-tag {
  display: block;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 11px; font-weight: 600; color: var(--muted);
  letter-spacing: 0.4px; margin-top: 3px;
}

nav.main { display: flex; align-items: center; gap: 4px }
nav.main a {
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px;
  padding: 9px 14px; border-radius: 9px; transition: background .15s, color .15s;
  font-family: 'Source Sans 3', sans-serif;
}
nav.main a:hover { background: var(--accent-light); color: var(--navy) }
nav.main a.cta {
  background: var(--navy); color: #fff; margin-left: 8px;
}
nav.main a.cta:hover { background: var(--navy-dark) }

/* Hamburger */
.burger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 8px; line-height: 0;
}
.burger span {
  display: block; width: 22px; height: 2px; background: var(--ink);
  border-radius: 2px; transition: .2s;
}

/* Mobile menu */
.mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 99;
  background: var(--bg); padding: 88px 28px 32px;
  flex-direction: column; gap: 4px;
}
.mobile-menu.open { display: flex }
.mobile-menu a {
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: 22px;
  padding: 14px 0; border-bottom: 1px solid var(--line);
  font-family: 'Cormorant Garamond', serif; transition: color .15s;
}
.mobile-menu a:hover { color: var(--navy) }
.mobile-menu a.cta {
  margin-top: 18px; background: var(--navy); color: #fff;
  padding: 14px 24px; border-radius: 12px; border: none; text-align: center;
  font-family: 'Source Sans 3', sans-serif; font-size: 16px; font-weight: 700;
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--accent-mid) 52%, var(--accent) 100%);
  color: #fff;
  padding: 88px 0 104px;
  position: relative; overflow: hidden;
}
.hero .eguzki-bg {
  position: absolute; right: -90px; top: 50%; transform: translateY(-50%);
  width: 760px; height: 760px;
  opacity: 0.95; pointer-events: none; user-select: none;
}
.hero .wrap { position: relative; z-index: 1 }
.hero .eyebrow {
  display: inline-block; background: rgba(255,255,255,.15); border-radius: 999px;
  padding: 6px 18px; font-size: 12px; font-weight: 700; letter-spacing: 0.6px;
  text-transform: uppercase; margin-bottom: 22px;
  font-family: 'Source Sans 3', sans-serif;
}
.hero h1 {
  font-weight: 600; font-size: 58px; margin: 0 0 20px; max-width: 680px;
}
.hero p.lead {
  font-size: 18px; max-width: 580px;
  color: rgba(251,247,242,.88); margin: 0 0 36px;
}
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap }
.hero .comunas {
  margin: 22px 0 0; font-size: 13px;
  color: rgba(251,247,242,.55); letter-spacing: 0.3px;
  font-family: 'Source Sans 3', sans-serif;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 10px; font-weight: 700; font-size: 15px;
  font-family: 'Source Sans 3', sans-serif;
  text-decoration: none; transition: transform .12s, box-shadow .12s, background .15s;
  border: 2px solid transparent; cursor: pointer; line-height: 1;
}
.btn:hover { transform: translateY(-1px) }
.btn-primary { background: #fff; color: var(--navy) }
.btn-primary:hover { box-shadow: var(--shadow-lg) }
.btn-gold { background: var(--gold); color: var(--ink) }
.btn-gold:hover { box-shadow: var(--shadow-lg) }
.btn-outline { border-color: rgba(255,255,255,.5); color: #fff; background: transparent }
.btn-outline:hover { background: rgba(255,255,255,.12) }
.btn-navy { background: var(--navy); color: #fff }
.btn-navy:hover { background: var(--navy-dark) }
.btn-outline-navy { background: #fff; color: var(--navy); border-color: var(--line) }
.btn-outline-navy:hover { background: var(--accent-light); border-color: var(--accent) }

/* ---------- Secciones ---------- */
section { padding: 72px 0 }
section.alt { background: #fff }

.section-head { max-width: 680px; margin: 0 0 42px }
.section-head .kicker {
  font-family: 'Source Sans 3', sans-serif;
  color: var(--accent); font-weight: 700; letter-spacing: 1.5px; font-size: 12px;
  text-transform: uppercase; margin: 0 0 10px; display: block;
}
.section-head h2 { font-size: 38px; margin: 0 0 12px; color: var(--ink) }
.section-head p { color: var(--muted); margin: 0; font-size: 16px }

/* ---------- Icon wrap ---------- */
.icon-wrap {
  width: 50px; height: 50px; border-radius: 13px; background: var(--accent-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 16px; flex-shrink: 0;
}

/* ---------- Cards / Grid ---------- */
.grid { display: grid; gap: 22px }
.grid-2 { grid-template-columns: repeat(2, 1fr) }
.grid-3 { grid-template-columns: repeat(3, 1fr) }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow);
}
.card h3 { font-weight: 600; margin: 0 0 8px; font-size: 22px; color: var(--navy) }
.card p { margin: 0; color: var(--muted); font-size: 15.5px }

/* ---------- Tabs (Cómo funciona) ---------- */
.tab-switcher {
  display: inline-flex; background: var(--bg-tab); border-radius: 12px;
  padding: 4px; gap: 4px; margin-bottom: 32px;
}
.tab {
  font-family: 'Source Sans 3', sans-serif; font-weight: 700; font-size: 14px;
  padding: 10px 22px; border-radius: 9px; border: none; cursor: pointer;
  background: transparent; color: var(--muted); transition: all .18s;
}
.tab.active {
  background: var(--navy); color: #fff;
  box-shadow: 0 2px 8px rgba(140,74,47,.28);
}
.tab-content { display: block }
.tab-content[hidden] { display: none }

/* Steps */
.steps-grid { display: grid; gap: 16px }
.step {
  display: flex; gap: 18px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 24px; box-shadow: var(--shadow);
}
.step .num {
  flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%;
  background: var(--navy); color: #fff; font-weight: 800; font-size: 15px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Source Sans 3', sans-serif;
}
.step h3 { font-weight: 600; margin: 0 0 4px; font-size: 21px; color: var(--navy) }
.step p { margin: 0; color: var(--muted); font-size: 15px }

/* ---------- Comisión ---------- */
table.commission {
  width: 100%; border-collapse: collapse; background: #fff;
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  font-family: 'Source Sans 3', sans-serif;
}
table.commission th, table.commission td {
  padding: 15px 20px; text-align: left; font-size: 15px;
}
table.commission thead th { background: var(--navy); color: #fff; font-weight: 700 }
table.commission tbody tr:nth-child(even) { background: var(--accent-light) }
table.commission tbody tr:not(:last-child) td { border-bottom: 1px solid var(--line) }

/* ---------- Quiénes somos ---------- */
.about-box {
  background: var(--accent-light); border-radius: var(--radius);
  padding: 36px; border: 1px solid var(--line-alt);
}
.about-box p { margin: 0 0 14px; color: var(--ink); font-size: 16px }
.about-box p:last-child { margin-bottom: 0 }

/* ---------- Split "Para ti" ---------- */
.split {
  display: grid; grid-template-columns: 1fr 1fr;
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}
.split-panel { padding: 48px 40px }
.split-panel.mayor {
  background: var(--accent-light); border-right: 1px solid var(--line-alt);
}
.split-panel.estudiante { background: var(--uni-light) }
.panel-tag {
  display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: 0.7px;
  text-transform: uppercase; padding: 5px 14px; border-radius: 999px; margin-bottom: 20px;
  font-family: 'Source Sans 3', sans-serif;
}
.split-panel.mayor .panel-tag {
  background: rgba(140,74,47,.10); color: var(--navy);
}
.split-panel.estudiante .panel-tag {
  background: rgba(224,164,88,.2); color: #7A4810;
}
.split-panel h3 {
  font-weight: 600; font-size: 28px; color: var(--ink); margin: 0 0 24px;
}
.split-benefits {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 16px;
}
.split-benefits li { display: flex; gap: 14px; align-items: flex-start }
.split-benefits li::before {
  content: ''; flex: 0 0 8px; height: 8px; border-radius: 50%;
  background: var(--gold); margin-top: 8px;
}
.split-benefits li div strong {
  display: block; font-size: 15.5px; color: var(--ink);
  font-weight: 700; font-family: 'Source Sans 3', sans-serif;
}
.split-benefits li div span {
  font-size: 14.5px; color: var(--muted);
  font-family: 'Source Sans 3', sans-serif;
}

/* ---------- Pills (zona) ---------- */
.pills { display: flex; flex-wrap: wrap; gap: 10px }
.pill {
  background: var(--accent-light); color: var(--navy); font-weight: 700; font-size: 14px;
  padding: 9px 20px; border-radius: 999px; border: 1px solid var(--line-alt);
  font-family: 'Source Sans 3', sans-serif;
}

/* ---------- Inscríbete (dark section) ---------- */
.section-dark { background: var(--ink); padding: 80px 0 }
.section-dark .kicker {
  font-family: 'Source Sans 3', sans-serif;
  color: var(--gold); font-weight: 700; letter-spacing: 1.5px; font-size: 12px;
  text-transform: uppercase; margin: 0 0 10px; display: block;
}
.section-dark h2 {
  font-weight: 600; font-size: 44px; color: var(--bg); margin: 0 0 10px;
}
.section-dark p.sub {
  font-size: 17px; color: rgba(251,247,242,.65); margin: 0 0 44px;
}

/* Form card */
.form-card {
  background: #fff; border-radius: 20px;
  box-shadow: 0 24px 64px rgba(0,0,0,.30);
  overflow: hidden;
}

/* Form step 1 — selector */
#form-step-1 .step-header { padding: 32px 32px 8px }
.form-step-label {
  font-size: 11.5px; font-weight: 700; color: var(--muted); letter-spacing: 0.5px;
  text-transform: uppercase; margin: 0 0 20px; display: block;
  font-family: 'Source Sans 3', sans-serif;
}
#form-step-1 .choice-area { padding: 0 32px 12px }
#form-step-1 .note-area { padding: 0 32px 28px }

.choice-grid {
  display: grid; grid-template-columns: repeat(2,1fr); gap: 16px;
}
.choice-card {
  background: var(--bg); border: 2px solid var(--line); border-radius: var(--radius);
  padding: 24px; text-align: left; cursor: pointer;
  transition: border-color .15s, box-shadow .15s, background .15s;
  font: inherit; color: inherit; width: 100%;
}
.choice-card:hover {
  border-color: var(--accent); box-shadow: var(--shadow);
  background: #fff;
}
.choice-card.active { border-color: var(--navy); box-shadow: var(--shadow-lg) }
.choice-card h3 {
  font-weight: 600; margin: 0 0 6px; color: var(--navy); font-size: 21px;
}
.choice-card p { margin: 0; color: var(--muted); font-size: 14.5px }
.choice-card.estudiante-card .icon-wrap { background: var(--uni-light) }

.note-box {
  background: rgba(140,74,47,.05); border: 1px solid var(--line-alt); border-radius: 10px;
  padding: 14px 18px; color: var(--muted); font-size: 13.5px;
  font-family: 'Source Sans 3', sans-serif;
}

/* Form step 2 */
.form-embed { display: none }
.form-embed.visible { display: block }

.form-head {
  padding: 20px 28px; border-bottom: 1px solid var(--line);
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
}
.form-step-badge {
  display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.5px;
  text-transform: uppercase; color: var(--muted); margin-bottom: 4px;
  font-family: 'Source Sans 3', sans-serif;
}
.form-head h3 { font-weight: 600; margin: 0; color: var(--navy); font-size: 24px }

.btn-cambiar {
  font-family: 'Source Sans 3', sans-serif; font-size: 13px; font-weight: 700;
  color: var(--muted); background: none; border: 1px solid var(--line);
  border-radius: 8px; padding: 7px 14px; cursor: pointer; white-space: nowrap;
  transition: all .15s; flex-shrink: 0; margin-top: 4px;
}
.btn-cambiar:hover { border-color: var(--navy); color: var(--navy) }

.kf-wrap { padding: 28px 28px }

/* ---------- Motor de formulario (kf-*) — no modificar ---------- */
.kf-progress {
  height: 6px; border-radius: 999px; background: var(--line);
  overflow: hidden; margin-bottom: 12px;
}
.kf-progress-bar {
  height: 100%; background: linear-gradient(90deg, var(--navy), var(--accent));
  width: 0%; transition: width .25s ease;
}
.kf-step-label {
  font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: 0.4px;
  text-transform: uppercase; margin-bottom: 22px;
  font-family: 'Source Sans 3', sans-serif;
}
.kf-form { display: block }
.kf-page { display: block }

.kf-section-head { margin: 8px 0 18px }
.kf-section-head h3 {
  font-weight: 600; margin: 0; color: var(--navy); font-size: 22px;
  padding-bottom: 8px; border-bottom: 2px solid var(--accent-light);
}

.kf-q { margin-bottom: 26px }
.kf-label {
  display: block; font-weight: 700; font-size: 15px;
  color: var(--ink); margin-bottom: 6px;
  font-family: 'Source Sans 3', sans-serif;
}
.kf-req { color: #c0392b }
.kf-optional { color: var(--muted); font-weight: 500; font-size: 13px }
.kf-desc { margin: 0 0 8px; font-size: 13.5px; color: var(--muted) }

.kf-input {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  font-size: 15px; font-family: 'Source Sans 3', sans-serif;
  background: var(--bg-input); color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
.kf-input:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(201,122,74,.15);
}
.kf-textarea { resize: vertical }
.kf-select { appearance: auto }

.kf-options { display: flex; flex-direction: column; gap: 8px }
.kf-option {
  display: flex; align-items: flex-start; gap: 10px; padding: 11px 14px;
  border: 1px solid var(--line); border-radius: 10px; cursor: pointer;
  transition: border-color .15s, background .15s; font-size: 15px;
  background: var(--bg-input); font-family: 'Source Sans 3', sans-serif;
}
.kf-option:hover { border-color: var(--accent); background: var(--accent-light) }
.kf-option input { margin-top: 3px; accent-color: var(--navy); width: 16px; height: 16px; flex: 0 0 auto }
.kf-option:has(input:checked) { border-color: var(--navy); background: var(--accent-light) }

.kf-scale { display: flex; align-items: center; gap: 14px; flex-wrap: wrap }
.kf-scale-options { display: flex; gap: 10px }
.kf-scale-option {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  cursor: pointer; font-size: 13px; color: var(--muted);
}
.kf-scale-option input { width: 20px; height: 20px; accent-color: var(--navy) }
.kf-scale-label { font-size: 13px; color: var(--muted); max-width: 120px }

.kf-tel { display: flex; gap: 8px; align-items: stretch }
.kf-tel-code {
  flex: 0 1 auto; width: auto; max-width: 44%;
  appearance: auto; text-overflow: ellipsis;
}
.kf-tel-number { flex: 1 1 auto; min-width: 0 }

.kf-error {
  margin: 7px 0 0; font-size: 13.5px; font-weight: 600; color: #c0392b;
  font-family: 'Source Sans 3', sans-serif;
}

.kf-invalid {
  border-color: #c0392b !important;
  box-shadow: 0 0 0 3px rgba(192,57,43,.12) !important;
}
.kf-options.kf-invalid, .kf-scale.kf-invalid {
  border: 1px solid #c0392b; border-radius: 10px; padding: 8px;
}

.kf-nav {
  display: flex; justify-content: space-between; gap: 12px;
  margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line);
}
.kf-prev { /* botón Atrás — sin estilos adicionales, hereda .btn */ }
.kf-nav .kf-next, .kf-nav .kf-submit { margin-left: auto }

.kf-success { display: none; text-align: center; padding: 52px 24px }
.kf-success.visible { display: block }
.kf-success-icon { font-size: 52px; margin-bottom: 14px; line-height: 1 }
.kf-success h3 {
  font-weight: 600; color: var(--navy); margin: 0 0 10px; font-size: 30px;
}
.kf-success p { color: var(--muted); max-width: 460px; margin: 0 auto; font-size: 16px }

/* ---------- Footer ---------- */
footer.site {
  background: var(--footer); color: rgba(251,247,242,.65);
  padding: 56px 0 32px;
  font-family: 'Source Sans 3', sans-serif; font-size: 14.5px;
}
footer.site .wrap {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px; align-items: start;
}
footer.site h4 {
  font-family: 'Source Sans 3', sans-serif; font-weight: 700;
  color: rgba(251,247,242,.38); font-size: 11px; letter-spacing: 1.3px;
  text-transform: uppercase; margin: 0 0 14px;
}
footer.site a {
  color: rgba(251,247,242,.65); text-decoration: none; transition: color .15s;
}
footer.site a:hover { color: #fff }
footer.site .col a, footer.site .col p {
  display: block; margin: 0 0 8px; line-height: 1.5;
}
footer.site .col a:last-child, footer.site .col p:last-child { margin-bottom: 0 }

.footer-brand-name {
  font-family: 'Cormorant Garamond', serif; font-weight: 600;
  font-size: 20px; color: var(--bg); margin: 12px 0 8px; letter-spacing: .03em;
}
.footer-brand-name span { color: var(--gold) }
.footer-brand-desc {
  font-size: 13.5px; color: rgba(251,247,242,.5); line-height: 1.6;
}
.footer-comunas {
  font-size: 12px; color: rgba(251,247,242,.32);
  margin-top: 12px !important; line-height: 1.7;
}
.footer-legal {
  font-size: 12.5px; color: rgba(251,247,242,.4);
}

footer.site .bottom {
  margin-top: 40px; padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.08);
  text-align: center; color: rgba(251,247,242,.3); font-size: 12.5px;
}

/* ---------- Animaciones eguzkilore (idénticas al mockup) ---------- */
@keyframes kSpin   { from { transform: rotate(0deg)   } to { transform: rotate(360deg)  } }
@keyframes kSpinR  { from { transform: rotate(0deg)   } to { transform: rotate(-360deg) } }
@keyframes kPulse  { 0%,100% { opacity: 0.5 } 50% { opacity: 1 } }

/* Logo en el header: giro suave continuo */
.brand svg {
  animation: none; /* logo quieto: girando parecía una pantalla de carga */
  transform-origin: center center;
  transform-box: fill-box;
}

/* Respeta la preferencia del sistema de reducir movimiento */
@media (prefers-reduced-motion: reduce) {
  .brand svg { animation: none; }
  .eguzki-layer-1, .eguzki-layer-2, .eguzki-layer-3, .eguzki-pulse { animation: none !important; }
}

/* ---------- v2.1 (oct 2026): familias, precio, FAQ, consentimiento ---------- */
.hero-familia { margin: 18px 0 0; font-size: 15px; font-family: 'Source Sans 3', sans-serif }
.hero-familia a { color: var(--gold); text-decoration: none; border-bottom: 1px solid rgba(242,193,78,.45) }
.hero-familia a:hover { border-color: var(--gold) }
.price-grid { align-items: start }
.price-card { background: var(--accent-light) }
.price-tag { background: rgba(140,74,47,.10); color: var(--navy) }
.card .price-line { font-size: 17px; color: var(--ink); margin: 0 0 10px }
.price-line strong {
  font-family: 'Cormorant Garamond', Georgia, serif; font-size: 34px;
  color: var(--navy); margin-right: 6px;
}
.card .price-note { font-size: 14px; margin: 14px 0 0 }
.card .list-head { margin-top: 22px }
.plain-list { margin: 0; padding-left: 18px; color: var(--muted); font-size: 15px }
.plain-list li { margin-bottom: 8px }
.faq { max-width: 760px; display: flex; flex-direction: column; gap: 12px }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 22px }
.faq summary {
  cursor: pointer; padding: 18px 28px 18px 0; font-weight: 700; color: var(--ink);
  list-style: none; position: relative;
}
.faq summary::-webkit-details-marker { display: none }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 14px; font-size: 22px; color: var(--accent) }
.faq details[open] summary::after { content: '–' }
.faq details p { margin: 0 0 18px; color: var(--muted); font-size: 15.5px }
.note-box a { color: var(--navy); font-weight: 700 }
.kf-consent {
  display: flex; gap: 10px; align-items: flex-start; margin-top: 24px;
  font-size: 14.5px; color: var(--ink); cursor: pointer;
}
.kf-consent input { margin-top: 4px; width: 16px; height: 16px; accent-color: var(--navy); flex: 0 0 auto }
.kf-consent a { color: var(--navy); font-weight: 700 }
.kf-consent.kf-invalid { border: 1px solid #c0392b; border-radius: 10px; padding: 10px }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  nav.main { display: none }
  .burger { display: flex }
  footer.site .wrap { grid-template-columns: 1fr 1fr; gap: 32px }
}

@media (max-width: 680px) {
  .hero { padding: 64px 0 80px }
  .hero h1 { font-size: 38px }
  .hero p.lead { font-size: 16.5px }
  .hero .eguzki-bg { display: none }
  .grid-2, .grid-3 { grid-template-columns: 1fr }
  .split { grid-template-columns: 1fr }
  .split-panel.mayor { border-right: none; border-bottom: 1px solid var(--line-alt) }
  .split-panel { padding: 32px 24px }
  .split-panel h3 { font-size: 22px }
  .split-panel p  { font-size: 15px }
  .choice-grid { grid-template-columns: 1fr }
  .choice-card { padding: 24px 20px }
  .choice-card .icon { font-size: 32px; margin-bottom: 10px }
  #form-step-1 .step-header { padding: 22px 22px 8px }
  #form-step-1 .choice-area { padding: 0 22px 10px }
  #form-step-1 .note-area { padding: 0 22px 22px }
  .kf-wrap { padding: 20px 20px }
  .kf-input { font-size: 16px }          /* evita zoom automático en iOS */
  .kf-tel { flex-direction: column; gap: 10px }
  .kf-tel-code { max-width: none; width: 100% }
  .form-head { padding: 16px 20px; flex-wrap: wrap }
  footer.site .wrap { grid-template-columns: 1fr; gap: 28px }
  section { padding: 56px 0 }
  .section-dark { padding: 64px 0 }
  .section-head h2 { font-size: 30px }
  .section-dark h2 { font-size: 34px }
  .tab-switcher { flex-direction: column; width: 100% }
  .btn { min-height: 48px; padding: 14px 24px; font-size: 16px }
  .actions { flex-direction: column; gap: 12px }
  .actions .btn { width: 100%; text-align: center }
}

@media (max-width: 400px) {
  .hero h1 { font-size: 30px; line-height: 1.2 }
  .hero { padding: 56px 0 64px }
}

@media (max-width: 480px) {
  .tabs { flex-direction: column; gap: 8px }
  .tab-btn { border-radius: 8px; text-align: center }
}


/* ---------- Fotos ---------- */
.photo { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow) }
.photo img { display: block; width: 100%; height: 100%; object-fit: cover }
.photo-row { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; margin-top: 44px }
.photo-row .photo { aspect-ratio: 4 / 3 }
.photo-text p { margin: 0 0 14px; color: var(--ink); font-size: 16px }
.photo-text p:last-child { margin-bottom: 0 }
.photo-text .photo-lead { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 30px; line-height: 1.2; color: var(--navy) }
.head-with-photo { display: grid; grid-template-columns: 1.4fr .6fr; gap: 40px; align-items: start; margin-bottom: 42px }
.head-with-photo .section-head { margin: 0 }
.photo-side { aspect-ratio: 4 / 3 }
.photo-side img { object-position: 68% 50% }
.photo-wide { aspect-ratio: 21 / 9; margin: 0 0 28px }
.photo-wide img { object-position: 50% 72% }
@media (max-width: 900px) {
  .photo-row, .head-with-photo { grid-template-columns: 1fr; gap: 24px }
  .photo-side { aspect-ratio: 16 / 10; max-width: 520px }
  .photo-wide { aspect-ratio: 16 / 9 }
}


/* ---------- Menú: desplegable "Conócenos" ---------- */
.has-dropdown { position: relative }
.dd-btn {
  font: inherit; font-size: 15px; font-weight: 600; color: var(--ink);
  background: none; border: 0; padding: 10px 14px; border-radius: 10px; cursor: pointer;
  font-family: 'Source Sans 3', sans-serif;
}
.dd-btn:hover, .has-dropdown.open .dd-btn { background: var(--accent-light); color: var(--navy) }
.dd-btn span { font-size: 11px; margin-left: 2px }
.dd-menu {
  display: none; position: absolute; top: calc(100% + 6px); right: 0; min-width: 240px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow-lg); padding: 8px; z-index: 60;
}
.dd-menu::before { content: ''; position: absolute; left: 0; right: 0; top: -10px; height: 10px }
.has-dropdown.open .dd-menu, .has-dropdown:hover .dd-menu, .has-dropdown:focus-within .dd-menu { display: block }
.dd-menu a { display: block; padding: 10px 14px; border-radius: 8px; white-space: nowrap }
.dd-menu a.current { color: var(--navy); background: var(--accent-light) }

.mobile-menu .mm-group {
  margin: 14px 0 2px; font-size: 12px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--accent-mid);
}
.mobile-menu a.mm-sub { padding-left: 16px; font-size: 16px }

/* ---------- Listas plegables (Familias y precio) ---------- */
.fold-card { padding-top: 8px; padding-bottom: 8px }
.fold { border-bottom: 1px solid var(--line) }
.fold:last-child { border-bottom: 0 }
.fold summary {
  list-style: none; cursor: pointer; position: relative; padding: 16px 28px 16px 0;
  font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 600; font-size: 22px; color: var(--navy);
}
.fold summary::-webkit-details-marker { display: none }
.fold summary::after { content: '+'; position: absolute; right: 2px; top: 12px; font-size: 24px; color: var(--accent) }
.fold[open] summary::after { content: '–' }
.fold .plain-list { padding-bottom: 16px }

/* ---------- Franja "quién está detrás" ---------- */
.trust-strip { padding: 36px 0; background: var(--uni-light); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line) }
.trust-strip .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap }
.trust-strip p { margin: 0; max-width: 640px; color: var(--ink); font-size: 16.5px }
.sub-link { color: var(--gold); text-decoration: underline }
.faq-more { margin-top: 26px; color: var(--muted); font-size: 15.5px }
.faq-more a { color: var(--navy); font-weight: 600 }
main > section:first-child { padding-top: 56px }

/* ---------- Ajustes de longitud en móvil ---------- */
@media (max-width: 680px) {
  section { padding: 48px 0 }
  .section-head { margin-bottom: 28px }
  .section-head h2 { font-size: 30px }
  .hero { padding: 48px 0 56px }
  .head-with-photo { margin-bottom: 28px }
  .grid-3 { gap: 14px }
  .card { padding: 22px 20px }
  .trust-strip { padding: 28px 0 }
}


/* ---------- Fundador y significado del nombre ---------- */
.photo-row.founder { grid-template-columns: .7fr 1.3fr; gap: 48px; align-items: center }
.photo-row.founder .photo { aspect-ratio: 3 / 4; max-width: 340px }
.photo-row.founder .photo img { object-position: 50% 10% }
.photo-text .kicker { font-family: 'Source Sans 3', sans-serif; color: var(--accent); font-weight: 700; letter-spacing: 1.5px; font-size: 12px; text-transform: uppercase; margin: 0 0 8px }
.photo-text .photo-lead { margin-bottom: 16px }
.name-meaning { margin-top: 44px; padding: 34px 28px; background: var(--uni-light); border: 1px solid var(--line); border-radius: var(--radius); text-align: center }
.name-meaning p { margin: 0 }
.nm-intro { color: var(--muted); font-size: 16px }
.nm-words { display: flex; align-items: center; justify-content: center; gap: 28px; margin: 18px 0 14px }
.nm-words > div { display: flex; flex-direction: column; gap: 2px }
.nm-word { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 40px; line-height: 1.1; color: var(--navy); font-weight: 600 }
.nm-def { color: var(--ink); font-size: 16px }
.nm-plus { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 34px; color: var(--gold) }
.nm-end { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 24px; color: var(--navy) }
@media (max-width: 900px) {
  .photo-row.founder { grid-template-columns: 1fr; gap: 24px }
  .photo-row.founder .photo { max-width: 300px; margin: 0 auto }
}
@media (max-width: 680px) {
  .name-meaning { margin-top: 32px; padding: 26px 18px }
  .nm-words { gap: 16px }
  .nm-word { font-size: 32px }
}
