:root {
  --navy: #13396d;
  --gold: #c58f39;
  --teal: #2fa39b;
  --coral: #d6724a;
  --green: #6f9b81;
  --blue: #5f97cf;
  --sand: #ece3d3;
  --cream: #fcfaf6;
  --soft: #f5f7fa;
  --text: #24324a;
  --border: #e6e2d8;
  --shadow: 0 10px 35px rgba(19, 57, 109, 0.08);
  --radius: 22px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: white;
  line-height: 1.45;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(calc(100% - 2rem), var(--container)); margin: 0 auto; }

h1, h2, h3 {
  font-family: Georgia, 'Times New Roman', serif;
  color: var(--navy);
  line-height: 1.06;
  margin: 0 0 .65rem;
}
h1 { font-size: clamp(2.7rem, 6vw, 5.2rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.6rem); }
p { margin: 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(19, 57, 109, 0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .8rem 0;
}
.brand-logo { width: 220px; }
.site-nav {
  display: flex;
  align-items: center;
  gap: 1.3rem;
  font-size: .98rem;
  color: var(--navy);
}
.site-nav a { position: relative; }
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -.28rem;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width .25s ease;
}
.site-nav a:hover::after { width: 100%; }
.header-actions {
  display: flex;
  align-items: center;
  gap: .8rem;
}
.language-switcher {
  display: flex;
  gap: .32rem;
  flex-wrap: wrap;
}
.lang-btn {
  border: 1px solid var(--border);
  background: white;
  color: var(--navy);
  padding: .36rem .55rem;
  border-radius: 999px;
  font-size: .75rem;
  cursor: pointer;
  transition: .2s ease;
}
.lang-btn.active,
.lang-btn:hover { background: var(--navy); color: white; border-color: var(--navy); }
.nav-toggle {
  display: none;
  border: 1px solid var(--border);
  background: white;
  border-radius: 10px;
  padding: .4rem .65rem;
  font-size: 1.2rem;
  color: var(--navy);
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  border-radius: 999px;
  padding: .95rem 1.3rem;
  font-weight: 700;
  border: 2px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-primary { background: var(--coral); color: white; }
.btn-secondary { background: white; border-color: rgba(19,57,109,.2); color: var(--navy); }
.btn-gold { background: var(--gold); color: white; }
.desktop-only { display: inline-flex; }

.hero {
  background:
    radial-gradient(circle at 85% 10%, rgba(197,143,57,.11), transparent 22%),
    linear-gradient(180deg, #fff 0%, #fbfaf7 100%);
  padding: 3.8rem 0 2.3rem;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 2rem;
  align-items: center;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .09em;
  font-size: .95rem;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 1rem;
}
.tagline {
  color: var(--teal);
  font-weight: 700;
  font-size: 1.08rem;
  margin-bottom: 1rem;
}
.hero-text {
  max-width: 50ch;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 1rem; }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  color: var(--navy);
  font-weight: 600;
}
.hero-visual img {
  border-radius: 28px;
  box-shadow: var(--shadow);
  width: 100%;
  aspect-ratio: 4 / 4.6;
  object-fit: cover;
}

.section { padding: 4.6rem 0; }
.soft-bg { background: var(--soft); }
.section-head {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}
.section-head.split {
  justify-content: space-between;
  align-items: end;
}
.section-intro {
  max-width: 40ch;
  color: #54627a;
  font-size: 1.03rem;
}

.card-grid {
  display: grid;
  gap: 1rem;
}
.card-grid.four { grid-template-columns: repeat(4, 1fr); }
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.card-grid.two { grid-template-columns: repeat(2, 1fr); }
.card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: 0 5px 20px rgba(19,57,109,.04);
}
.icon,
.step-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.55rem;
  margin-bottom: 1rem;
}
.icon.coral, .step-icon.coral { background: rgba(214,114,74,.12); }
.icon.green, .step-icon.green { background: rgba(111,155,129,.14); }
.icon.blue, .step-icon.blue { background: rgba(95,151,207,.13); }
.icon.gold { background: rgba(197,143,57,.15); }
.step-icon.sand { background: rgba(236,227,211,.9); }
.audience-card p { color: #59687f; }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.step-card {
  background: white;
  border-radius: var(--radius);
  padding: 1.2rem;
  border: 1px solid var(--border);
}
.method-pill {
  margin-top: 1.2rem;
  background: #f4efe6;
  border-radius: 999px;
  padding: .95rem 1.3rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .55rem;
  justify-content: center;
  font-size: 1rem;
}
.coral-text { color: var(--coral); }
.green-text { color: var(--teal); }
.blue-text { color: var(--navy); }

.location-card,
.service-card,
.program-card { min-height: 100%; }
.mini-icon {
  font-size: 1.3rem;
  margin-bottom: .5rem;
}
.coral-bg { background: #fff4ef; }
.green-bg { background: #f2f9f5; }
.blue-bg { background: #f1f7fd; }
.program-card ul { margin: .7rem 0 0 1.2rem; padding: 0; }
.program-card li { margin-bottom: .4rem; }

.cert-band {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: center;
  background: #fbf7ef;
  border: 1px solid #eddcc2;
  border-radius: var(--radius);
  padding: 1.2rem 1.4rem;
}
.cert-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(197,143,57,.14);
  display: grid;
  place-items: center;
  font-size: 1.7rem;
}

.cta-banner {
  background: url('../img/footer-palma.jpg') center/cover no-repeat;
}
.cta-overlay {
  background: linear-gradient(0deg, rgba(255,255,255,.16), rgba(255,255,255,.16));
}
.cta-inner {
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem 0;
}
.cta-script {
  font-style: italic;
  font-weight: 600;
  margin-bottom: .8rem;
  max-width: 28ch;
}
.cta-copy h2 { max-width: 16ch; }

.site-footer {
  background: linear-gradient(180deg, #fbfcfe 0%, #eef4fa 100%);
  padding: 2rem 0 2.6rem;
  border-top: 1px solid rgba(19,57,109,.08);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr .9fr;
  gap: 1.5rem;
  align-items: center;
}
.footer-logo { width: 220px; }
.footer-contact p,
.footer-note p { margin-bottom: .45rem; }
.footer-contact a:hover { text-decoration: underline; }
.footer-note { color: #54627a; }

@media (max-width: 1100px) {
  .hero-grid,
  .card-grid.four,
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .desktop-only { display: none; }
  .site-nav {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid rgba(19,57,109,.08);
    flex-direction: column;
    padding: 1rem;
    box-shadow: 0 12px 25px rgba(19,57,109,.08);
  }
  .site-nav.open { display: flex; }
  .hero-grid,
  .card-grid.three,
  .card-grid.two,
  .section-head.split,
  .cta-inner,
  .cert-band { grid-template-columns: 1fr; flex-direction: column; align-items: start; }
  .section-head.split { align-items: start; }
  .hero { padding-top: 2rem; }
  .header-inner { flex-wrap: wrap; }
}

@media (max-width: 560px) {
  .brand-logo { width: 180px; }
  .hero-grid,
  .card-grid.four,
  .steps-grid { grid-template-columns: 1fr; }
  .language-switcher { order: 3; width: 100%; }
  .hero-meta { gap: .7rem; font-size: .95rem; }
  .btn { width: 100%; }
  .hero-actions { width: 100%; }
  .method-pill { border-radius: 20px; }
}

/* Functional v2 additions */
.text-link { display: inline-block; margin-top: 1rem; color: var(--navy); font-weight: 700; }
.text-link:hover { color: var(--coral); }
.badge { display: inline-flex; padding: .3rem .6rem; border-radius: 999px; background: rgba(255,255,255,.72); color: var(--navy); font-size: .78rem; font-weight: 700; margin-bottom: .8rem; }
.service-small { margin-top: .65rem; color: #607089; min-height: 3.1em; }
.booking-grid, .contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 2.2rem; align-items: start; }
.booking-copy { position: sticky; top: 115px; }
.booking-note { margin-top: 1.3rem; padding: 1rem 1.1rem; border-radius: 16px; background: #fff9ef; border: 1px solid #eddcc2; }
.booking-form, .contact-form { background: white; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.form-grid { display: grid; gap: 1rem; }
.form-grid.two-cols { grid-template-columns: repeat(2, 1fr); }
label { display: grid; gap: .45rem; color: var(--navy); font-weight: 700; }
input, select, textarea { width: 100%; border: 1px solid #d8dfe8; border-radius: 12px; padding: .88rem 1rem; background: #fff; color: #26354c; font: inherit; font-weight: 400; outline: none; }
input:focus, select:focus, textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(47,163,155,.12); }
textarea { resize: vertical; }
.checkbox-row { display: flex; grid-template-columns: none; align-items: flex-start; gap: .65rem; font-weight: 400; margin: 1rem 0; color: #55657c; }
.checkbox-row input { width: auto; margin-top: .25rem; }
.submit-btn { margin-top: .25rem; }
.form-status { margin-top: .9rem; min-height: 1.4em; color: var(--navy); font-weight: 700; }
.form-status.error { color: #a23d31; }
.result-actions { margin-top: 1rem; display: flex; gap: .8rem; flex-wrap: wrap; }
.btn-whatsapp { background: #198754; color: white; }
.cert-levels { margin-top: 1.2rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.cert-levels article { background: white; border-radius: var(--radius); padding: 1.3rem; border: 1px solid var(--border); }
.cert-levels strong { width: 34px; height: 34px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--navy); color: white; margin-bottom: .8rem; }
.center-cta { text-align: center; margin-top: 1.3rem; }
.contact-section { background: #fff; }
.direct-contact { display: grid; gap: .8rem; margin-top: 1.3rem; }
.direct-contact a { color: var(--navy); font-weight: 700; }
@media (max-width: 860px) { .booking-grid, .contact-grid, .form-grid.two-cols, .cert-levels { grid-template-columns: 1fr; } .booking-copy { position: static; } }

/* Formularios conectados al servicio de envío */
.booking-submit-actions, .contact-submit-actions { display:flex; flex-wrap:wrap; align-items:center; gap:.65rem; margin-top:.5rem; }
.btn[disabled] { opacity:.68; cursor:wait; transform:none; }
.form-status.success { color:#176c50; }
.form-status.error { color:#aa392c; }
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] { border-color:#aa392c; }
.checkbox-row:has(input[aria-invalid="true"]) { color:#aa392c; }
.honeypot { position:absolute !important; left:-10000px !important; width:1px !important; height:1px !important; overflow:hidden !important; }
@media (max-width:560px) { .booking-submit-actions, .contact-submit-actions { flex-direction:column; align-items:stretch; } }


/* IKIGRA 2026 - Catálogo de los cinco programas del Modelo PTO */
html { scroll-padding-top: 105px; }
.paths-section { background: linear-gradient(160deg, #f7f3ed, #fff 52%, #f5f8f8); }
.paths-head { align-items: center; text-align: center; max-width: 760px; margin: 0 auto 2.7rem; }
.paths-head .eyebrow { margin-bottom: .2rem; }
.paths-head h2 { font-size: clamp(2.1rem,4.7vw,3.9rem); }
.programs-intro { font-size: 1.12rem; max-width: 65ch; line-height: 1.6; color: #526179; }
.paths-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.35rem; }
.path-card { border:1px solid #e8e0d4; border-radius:24px; background:#fff; overflow:hidden; box-shadow:0 12px 35px rgba(16,47,75,.055); transition: transform .2s ease,box-shadow .2s ease; display:flex; flex-direction:column; }
.path-card:hover { transform:translateY(-4px); box-shadow:0 20px 45px rgba(16,47,75,.12); }
.path-photo-link { display:block; height: 208px; overflow:hidden; background:#f5f3ee; }
.path-photo-link img { width:100%;height:100%; object-fit:cover; object-position:50% 13%; transition:transform .4s; }
.path-card:hover .path-photo-link img { transform:scale(1.035); }
.path-copy { display:flex;flex-direction:column; flex:1; padding:1.45rem 1.55rem 1.6rem; }
.path-who { font-size:.78rem;letter-spacing:.09em;text-transform:uppercase;font-weight:800;color:#b57b2c;margin-bottom:.65rem; }
.path-copy h3 { font-size:1.6rem; line-height:1.13; min-height:2.25em; }
.path-copy > p:not(.path-who) { color:#53647c; margin:.1rem 0 1.2rem; line-height:1.6; }
.path-link { display:inline-block;margin-top:auto;padding-top:.7rem;color:#c36443;font-weight:800; }
.path-link:hover { text-decoration:underline; }
.program-details-section { background:#fff;padding-top:1rem; }
.program-details-inner { display:flex;flex-direction:column;gap:3.7rem; }
.program-detail { display:grid; grid-template-columns:minmax(0,.77fr) minmax(0,1.23fr);gap:3.2rem;align-items:start;padding:2.6rem 0;border-top:1px solid #e9e2d7;scroll-margin-top:112px; }
.program-detail:nth-child(even) .program-flyer { order:2; }
.program-flyer { max-width:435px;justify-self:center; }
.program-flyer > a:first-child { display:block; border:1px solid #eee4d5; border-radius:16px; overflow:hidden;box-shadow:0 16px 35px rgba(10,33,61,.12); }
.program-flyer img { width:100%;height:auto; }
.flyer-link { color:#7c6548;display:block;text-align:center;padding:.9rem;font-weight:700;font-size:.88rem; }
.flyer-link:hover { text-decoration:underline; }
.program-content { padding:1rem 0; }
.program-content h3 { font-size:clamp(2rem,3.4vw,3.25rem);margin-bottom:1rem; }
.program-lead { font-size:1.12rem;color:#40536b;line-height:1.65;margin-bottom:1.55rem; }
.program-content h4 { font-family:Georgia,'Times New Roman',serif;font-size:1.4rem;color:#183b59;margin:.6rem 0 1rem; }
.program-bullets { list-style:none;padding:0;margin:0 0 1.4rem; }
.program-bullets li { padding:.53rem 0 .53rem 2rem; position:relative;border-bottom:1px solid #eee8df;line-height:1.55; }
.program-bullets li::before { content:'✓'; position:absolute;left:.2rem;top:.5rem;color:#bd8a38;font-weight:900; }
.pto-panel { border:1px solid #efe5d7;border-radius:18px;padding:1.25rem 1.45rem;background:#faf7f1;margin-bottom:1.3rem; }
.pto-panel h4 { margin:0 0 .85rem; }
.pto-items { list-style:none;padding:0;margin:0;display:grid;gap:.6rem; }
.pto-items li { display:flex;gap:.8rem;align-items:center;font-size:.96rem; }
.pto-mark { min-width:35px;width:35px;height:35px;border-radius:50%;display:grid;place-items:center;color:white;font-weight:800; }
.pto-mark-1 { background:#cf7151; } .pto-mark-2 { background:#809b88; } .pto-mark-3 { background:#123a59; }
.program-format { border-left:3px solid #7f9b89;padding-left:1rem;margin-bottom:1.55rem; }
.program-format strong { color:#2e5346;display:block;margin-bottom:.25rem; }
.program-format p { line-height:1.55; }
.program-actions { display:flex;align-items:center;gap:.75rem;flex-wrap:wrap; }
.program-actions .btn {font-size:.9rem;padding:.85rem 1.1rem;}
@media (min-width:861px) { .header-inner { gap:.65rem; } .brand-logo { width:190px; } .site-nav { gap:.82rem; font-size:.91rem; } .header-actions { gap:.55rem; } .language-switcher { flex-wrap:nowrap; } .lang-btn { padding:.31rem .43rem; } .desktop-only { font-size:.86rem; padding:.7rem .9rem; white-space:nowrap; } }
@media (max-width:1050px) { .paths-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .program-detail { gap:2rem; } }
@media (max-width:760px) { .paths-grid { grid-template-columns:1fr; } .path-photo-link {height:230px;} .path-copy h3 {min-height:0;} .program-detail {grid-template-columns:1fr;gap:1rem;padding-top:2rem;} .program-detail:nth-child(even) .program-flyer {order:0;} .program-flyer { max-width:380px;width:100%; } .program-content {padding:.6rem 0 0;} .program-details-inner {gap:1.5rem;} }
@media (max-width:560px) { .programs-intro {font-size:1rem;} .path-photo-link {height:200px;} .program-content h3 {font-size:2.05rem;} .program-detail {scroll-margin-top:150px;} .program-flyer {max-width:310px;} .program-actions .btn {width:100%;} }
