﻿/* ============================================================
   ISSA Spain — styles.css
   Luxury maritime editorial design
   ============================================================ */

/* ── Fuentes self-hosted (latin + latin-ext) — sin dependencia de Google ── */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/cormorant-latin-ext-a89ed2.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/cormorant-latin-25e309.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/cormorant-latin-ext-a89ed2.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/cormorant-latin-25e309.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/cormorant-latin-ext-907682.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/cormorant-latin-2fed1d.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/cormorant-latin-ext-907682.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/cormorant-latin-2fed1d.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/cormorant-latin-ext-907682.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/cormorant-latin-2fed1d.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/cormorant-latin-ext-907682.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/cormorant-latin-2fed1d.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(../fonts/dmsans-latin-ext-e5bab1.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(../fonts/dmsans-latin-40fe3c.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/dmsans-latin-ext-e5bab1.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/dmsans-latin-40fe3c.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/dmsans-latin-ext-e5bab1.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/dmsans-latin-40fe3c.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/dmsans-latin-ext-e5bab1.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/dmsans-latin-40fe3c.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Space Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/spacemono-latin-ext-3c18ea.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Space Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/spacemono-latin-e04b1d.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Space Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/spacemono-latin-ext-1badec.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Space Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/spacemono-latin-0319ea.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ── Variables ── */
:root {
  --navy:        #001F3F;
  --navy-light:  #00305C;
  --navy-mid:    #002D54;
  --gold:        #C9A84C;
  --gold-light:  #E8C76B;
  --gold-pale:   #F5EDDA;
  --white:       #FFFFFF;
  --off-white:   #F7F5F0;
  --text-dark:   #0D1B2A;
  --text-muted:  #6B7C8D;
  --border-gold: rgba(201,168,76,0.25);
  --shadow-gold: 0 8px 32px rgba(201,168,76,0.15);
  --shadow-navy: 0 8px 32px rgba(0,31,63,0.18);
  --font-display:'Cormorant Garamond', serif;
  --font-body:   'DM Sans', sans-serif;
  --font-mono:   'Space Mono', monospace;
  --max-width:   1200px;
  --radius:      8px;
  --transition:  all 0.3s cubic-bezier(0.4,0,0.2,1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Utilities ── */
.container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 6rem 0; }
.section--sm { padding: 4rem 0; }
.gold-line { display: inline-block; width: 60px; height: 2px; background: var(--gold); margin-bottom: 1.5rem; }
.gold-line--center { display: block; margin: 0 auto 1.5rem; }

.tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border: 1px solid var(--gold);
  color: var(--gold);
  border-radius: 2px;
  margin-bottom: 1rem;
}
.tag--navy { background: var(--navy); }
.tag--white { border-color: rgba(255,255,255,0.4); color: rgba(255,255,255,0.85); }

.badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 2px;
  font-weight: 700;
}
.badge--gold   { background: var(--gold-pale); color: var(--navy); border: 1px solid var(--border-gold); }
.badge--green  { background: #e6f4ea; color: #1a6b2e; border: 1px solid rgba(26,107,46,0.25); }
.badge--blue   { background: #e3edf7; color: var(--navy); border: 1px solid rgba(0,31,63,0.2); }
.badge--grey   { background: #f0f0f0; color: #555; border: 1px solid #ddd; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn--primary   { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.btn--primary:hover { background: var(--gold-light); border-color: var(--gold-light); transform: translateY(-2px); box-shadow: var(--shadow-gold); }
.btn--outline   { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.6); }
.btn--outline:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }
.btn--outline-navy { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--outline-navy:hover { background: var(--navy); color: var(--white); }
.btn--outline-gold { background: transparent; color: var(--gold); border-color: var(--gold); }
.btn--outline-gold:hover { background: var(--gold); color: var(--navy); }
.btn--sm { padding: 0.5rem 1.25rem; font-size: 0.8rem; }

/* ── Animations ── */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.4,0,0.2,1), transform 0.65s cubic-bezier(0.4,0,0.2,1);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── NAVBAR ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1002;
  padding: 1.25rem 0;
  transition: var(--transition);
}
.navbar--transparent { background: transparent; }
.navbar--solid {
  background: rgba(0, 31, 63, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.85rem 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.navbar__logo img { height: 64px; width: auto; filter: none; }
.navbar__links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.navbar__links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  letter-spacing: 0.02em;
  transition: var(--transition);
}
.navbar__links a:hover,
.navbar__links a.active { color: var(--gold-light); }
.navbar__cta { margin-left: 0.5rem; }
/* Hamburger — default */
.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
  background: none;
  border: none;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}
.navbar__hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.navbar__hamburger span:nth-child(3) { width: 14px; margin-left: auto; }

/* Hamburger → X when menu open */
.navbar--menu-open .navbar__hamburger span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.navbar--menu-open .navbar__hamburger span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.navbar--menu-open .navbar__hamburger span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
  width: 22px;
  margin-left: 0;
}

/* ── MOBILE OVERLAY — clip-path reveal ── */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 1001;
  background: var(--navy);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  -webkit-clip-path: circle(0% at calc(100% - 38px) 38px);
  clip-path: circle(0% at calc(100% - 38px) 38px);
  -webkit-transition: -webkit-clip-path 0.65s cubic-bezier(0.76, 0, 0.24, 1);
  transition: clip-path 0.65s cubic-bezier(0.76, 0, 0.24, 1);
}
.nav-overlay.open {
  pointer-events: all;
  -webkit-clip-path: circle(170% at calc(100% - 38px) 38px);
  clip-path: circle(170% at calc(100% - 38px) 38px);
}

/* Gold decorative line */
.nav-overlay__gold-line {
  width: 40px;
  height: 1px;
  background: var(--gold);
  margin-bottom: 2.5rem;
  opacity: 0;
  transform: scaleX(0);
  transition: opacity 0.3s 0.4s, transform 0.3s 0.4s;
}
.nav-overlay.open .nav-overlay__gold-line {
  opacity: 1;
  transform: scaleX(1);
}

/* Links container */
.nav-overlay__links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  counter-reset: menu-counter;
  text-align: center;
}
.nav-overlay__links a {
  font-family: var(--font-display);
  font-size: clamp(2rem, 7vw, 3.2rem);
  color: var(--white);
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 0.3rem 0;
  line-height: 1.2;
  display: block;
  opacity: 0;
  transform: translateY(24px);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s, color 0.2s;
  text-decoration: none;
}
.nav-overlay__links a::before {
  content: counter(menu-counter, decimal-leading-zero);
  counter-increment: menu-counter;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.3);
  display: block;
  margin-bottom: 0.1rem;
}
.nav-overlay.open .nav-overlay__links a { opacity: 1; transform: translateY(0); }
.nav-overlay.open .nav-overlay__links a:nth-child(1) { transition-delay: 0.20s; }
.nav-overlay.open .nav-overlay__links a:nth-child(2) { transition-delay: 0.27s; }
.nav-overlay.open .nav-overlay__links a:nth-child(3) { transition-delay: 0.34s; }
.nav-overlay.open .nav-overlay__links a:nth-child(4) { transition-delay: 0.41s; }
.nav-overlay.open .nav-overlay__links a:nth-child(5) { transition-delay: 0.48s; }
.nav-overlay.open .nav-overlay__links a:nth-child(6) { transition-delay: 0.55s; }
.nav-overlay__links a:hover { color: var(--gold); }
.nav-overlay__links a.active { color: var(--gold); }

/* CTA inside overlay */
.nav-overlay__cta {
  margin-top: 2rem;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s 0.58s, transform 0.4s 0.58s;
}
.nav-overlay.open .nav-overlay__cta {
  opacity: 1;
  transform: translateY(0);
}

/* Footer label */
.nav-overlay__footer {
  position: absolute;
  bottom: 2rem;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.25);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s 0.62s, transform 0.4s 0.62s;
}
.nav-overlay.open .nav-overlay__footer {
  opacity: 1;
  transform: translateY(0);
}

/* ── HERO (internal pages) ── */
.hero-inner {
  background: var(--navy);
  background-image:
    radial-gradient(ellipse at 30% 60%, rgba(0,48,92,0.8) 0%, transparent 60%),
    radial-gradient(circle at 70% 30%, rgba(201,168,76,0.06) 0%, transparent 50%);
  padding: 10rem 0 5rem;
  position: relative;
  overflow: hidden;
}
.hero-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 32px 32px;
}
.hero-inner__content { position: relative; z-index: 1; }
.hero-inner__breadcrumb {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.hero-inner__breadcrumb a { color: var(--gold); }
.hero-inner__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--white);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 1rem;
}
.hero-inner__sub {
  color: rgba(255,255,255,0.7);
  font-size: 1.1rem;
  max-width: 600px;
  line-height: 1.6;
}
.hero-inner__deco {
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 60px;
  background: var(--off-white);
  clip-path: ellipse(60% 100% at 50% 100%);
}
.hero-inner--white .hero-inner__deco { background: var(--white); }
.hero-inner--navy2 .hero-inner__deco { background: var(--navy); }

/* ── FOOTER ── */
.footer {
  background: var(--navy);
  border-top: 1px solid var(--gold);
  padding: 4rem 0 2rem;
  color: rgba(255,255,255,0.75);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer__logo { height: 32px; filter: brightness(0) invert(1); margin-bottom: 1rem; }
.footer__tagline { font-size: 0.9rem; color: rgba(255,255,255,0.6); line-height: 1.5; margin-bottom: 1.5rem; }
.footer__socials { display: flex; gap: 0.75rem; }
.footer__socials a {
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 50%;
  color: var(--gold);
  font-size: 0.85rem;
  transition: var(--transition);
}
.footer__socials a:hover { background: var(--gold); color: var(--navy); }
.footer__heading {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.footer__links { display: flex; flex-direction: column; gap: 0.6rem; }
.footer__links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  transition: var(--transition);
}
.footer__links a:hover { color: var(--gold-light); padding-left: 4px; }
.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 0.75rem;
}
.footer__contact-item svg { flex-shrink: 0; color: var(--gold); margin-top: 2px; }
.footer__contact-item a { color: rgba(255,255,255,0.65); }
.footer__contact-item a:hover { color: var(--gold-light); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ── CARDS ── */
.card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid rgba(0,31,63,0.08);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-gold); }
.card--bordered-left { border-left: 3px solid var(--gold); }
.card--navy {
  background: var(--navy);
  border-color: rgba(255,255,255,0.08);
  color: var(--white);
}
.card--navy:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.3); }
.card__icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.card__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}
.card--navy .card__title { color: var(--white); }
.card__text { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }
.card--navy .card__text { color: rgba(255,255,255,0.65); }

/* ── STATS ── */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border-gold);
  margin-top: 3rem;
}
.stats-bar__item {
  padding: 1.75rem 1.5rem;
  border-right: 1px solid var(--border-gold);
  text-align: center;
}
.stats-bar__item:last-child { border-right: none; }
.stats-bar__number {
  font-family: var(--font-mono);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.stats-bar__label { font-size: 0.78rem; color: rgba(255,255,255,0.6); letter-spacing: 0.06em; text-transform: uppercase; }
.stats-bar__link { font-size: 0.75rem; color: var(--gold); display: block; margin-top: 0.25rem; }
.stats-bar__link:hover { color: var(--gold-light); text-decoration: underline; }

/* ── SECTION TITLES ── */
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--text-dark);
  margin-bottom: 1rem;
}
.section-title--white { color: var(--white); }
.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.65;
}
.section-subtitle--white { color: rgba(255,255,255,0.7); }
.section-header { margin-bottom: 3rem; }
.section-header--center { text-align: center; }
.section-header--center .section-subtitle { margin: 0 auto; }
.section-header--center .gold-line { margin: 0 auto 1.5rem; }

/* ── GRID LAYOUTS ── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.grid-2-3 { display: grid; grid-template-columns: 2fr 3fr; gap: 3rem; align-items: start; }
.grid-3-2 { display: grid; grid-template-columns: 3fr 2fr; gap: 3rem; align-items: start; }

/* ── MAPS ── */
.map-container {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-gold);
  box-shadow: var(--shadow-navy);
}
#map, #map-escuelas { height: 520px; width: 100%; }
#map-escuelas { height: 600px; }
#map-contact { height: 280px; }

/* ── TIMELINE ── */
.timeline { position: relative; padding-left: 2rem; }
.timeline::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold), rgba(201,168,76,0.2));
}
.timeline__item {
  position: relative;
  padding-bottom: 2.5rem;
  padding-left: 1.5rem;
}
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
  content: '';
  position: absolute;
  left: -2.35rem;
  top: 0.3rem;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid var(--navy);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.25);
}
.timeline__year {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--gold);
  letter-spacing: 0.08em;
  margin-bottom: 0.3rem;
}
.timeline__text { font-size: 0.9rem; color: rgba(255,255,255,0.75); line-height: 1.55; }

/* Horizontal timeline */
.timeline-h {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 0;
}
.timeline-h__step { text-align: center; }
.timeline-h__connector {
  display: flex;
  align-items: center;
  padding: 0 1rem;
  padding-top: 2rem;
}
.timeline-h__connector::before {
  content: '';
  display: block;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, var(--gold), var(--gold-light), var(--gold));
}
.timeline-h__num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--gold);
  background: rgba(201,168,76,0.12);
  border: 1px solid var(--border-gold);
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
}
.timeline-h__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--white);
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.timeline-h__text { font-size: 0.85rem; color: rgba(255,255,255,0.6); line-height: 1.5; }

/* ── PROCESS STEPS ── */
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.process-step {
  text-align: center;
  padding: 2rem 1rem;
  position: relative;
}
.process-step:not(:last-child)::after {
  content: '→';
  position: absolute;
  right: -0.75rem;
  top: 2rem;
  color: var(--gold);
  font-size: 1.2rem;
}
.process-step__num {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.process-step__icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}
.process-step__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}
.process-step__text { font-size: 0.85rem; color: var(--text-muted); }

/* ── PRICING ── */
.pricing-table { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.pricing-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
}
.pricing-card:hover { background: rgba(255,255,255,0.07); }
.pricing-card--featured {
  background: var(--gold);
  border-color: var(--gold);
}
.pricing-card__period {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.pricing-card--featured .pricing-card__period { color: var(--navy); }
.pricing-card__price {
  font-family: var(--font-mono);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.pricing-card--featured .pricing-card__price { color: var(--navy); }
.pricing-card__desc { font-size: 0.82rem; color: rgba(255,255,255,0.55); }
.pricing-card--featured .pricing-card__desc { color: rgba(0,31,63,0.7); }

/* ── ACCORDION ── */
.accordion__item {
  border-bottom: 1px solid rgba(0,31,63,0.1);
}
.accordion__trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-dark);
  text-align: left;
  gap: 1rem;
  transition: var(--transition);
}
.accordion__trigger:hover { color: var(--navy); }
.accordion__trigger svg {
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: var(--gold);
}
.accordion__trigger[aria-expanded="true"] svg { transform: rotate(45deg); }
.accordion__body {
  display: none;
  padding-bottom: 1.25rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}
.accordion__body.open { display: block; }

/* ── SCHOOL CARDS ── */
.school-card {
  background: var(--white);
  border: 1px solid rgba(0,31,63,0.08);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.school-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-gold); }
.school-card[data-region].hidden { display: none; }
.school-card__header { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.school-card__name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.2;
}
.school-card__location {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.school-card__courses {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.school-card__course-tag {
  font-size: 0.7rem;
  font-family: var(--font-mono);
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  background: rgba(0,31,63,0.06);
  color: var(--navy);
}
.school-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(0,31,63,0.06);
}
.school-card__link {
  font-size: 0.82rem;
  color: var(--gold);
  font-weight: 600;
  transition: var(--transition);
}
.school-card__link:hover { color: var(--navy); }

/* Filter pills */
.filter-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem; }
.filter-pill {
  font-size: 0.8rem;
  font-family: var(--font-mono);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  border: 1px solid rgba(0,31,63,0.15);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.04em;
}
.filter-pill:hover { border-color: var(--gold); color: var(--navy); }
.filter-pill.active { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* ── COURSE CARDS ── */
.course-card {
  background: var(--white);
  border: 1px solid rgba(0,31,63,0.08);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  height: 100%;
}
.course-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-gold); }
.course-card__level {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.course-card__title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.2;
}
.course-card__desc { font-size: 0.875rem; color: var(--text-muted); line-height: 1.55; flex: 1; }
.course-card__specs {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0.75rem 0;
  border-top: 1px solid rgba(0,31,63,0.06);
  border-bottom: 1px solid rgba(0,31,63,0.06);
}
.course-card__spec {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.course-card__spec strong { color: var(--text-dark); }
.course-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.5rem;
}
.course-card__link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.course-card__link:hover { color: var(--navy); gap: 0.5rem; }

/* ── TEAM CARDS ── */
.team-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
}
.team-card:hover { background: rgba(255,255,255,0.07); transform: translateY(-4px); }
.team-card__avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-light), var(--navy-mid));
  border: 2px solid var(--gold);
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--gold);
  font-weight: 700;
}
.team-card__name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.25rem;
}
.team-card__role { font-size: 0.8rem; color: var(--gold); text-transform: uppercase; letter-spacing: 0.08em; font-family: var(--font-mono); }
.team-card__bio { font-size: 0.85rem; color: rgba(255,255,255,0.6); line-height: 1.55; margin-top: 0.75rem; }

/* ── FORM ── */
.form-group { margin-bottom: 1.25rem; }
.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
  letter-spacing: 0.02em;
}
.form-label--white { color: rgba(255,255,255,0.85); }
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid rgba(0,31,63,0.15);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-dark);
  background: var(--white);
  transition: var(--transition);
  appearance: none;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.12);
}
.form-textarea { resize: vertical; min-height: 120px; }
.form-input--dark,
.form-select--dark,
.form-textarea--dark {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.15);
  color: var(--white);
}
.form-input--dark::placeholder,
.form-textarea--dark::placeholder { color: rgba(255,255,255,0.35); }
.form-input--dark:focus,
.form-select--dark:focus,
.form-textarea--dark:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,168,76,0.15); }
.form-select--dark option { background: var(--navy); color: var(--white); }
.form-success {
  display: none;
  padding: 1rem 1.25rem;
  background: rgba(26,107,46,0.12);
  border: 1px solid rgba(26,107,46,0.3);
  border-radius: var(--radius);
  color: #1a6b2e;
  font-size: 0.9rem;
  margin-top: 1rem;
}

/* ── CTA SECTIONS ── */
.cta-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.cta-path {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  padding: 2rem;
  transition: var(--transition);
}
.cta-path:hover { background: rgba(255,255,255,0.07); transform: translateY(-3px); }
.cta-path__label { font-family: var(--font-mono); font-size: 0.65rem; color: var(--gold); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.5rem; }
.cta-path__title { font-family: var(--font-display); font-size: 1.5rem; color: var(--white); font-weight: 600; margin-bottom: 0.5rem; }
.cta-path__text { font-size: 0.85rem; color: rgba(255,255,255,0.6); margin-bottom: 1.25rem; }

/* ── HIGHLIGHT BOX ── */
.highlight-box {
  background: linear-gradient(135deg, rgba(201,168,76,0.1), rgba(201,168,76,0.05));
  border: 1px solid var(--border-gold);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
}
.highlight-box__text { font-family: var(--font-display); font-size: 1.15rem; font-style: italic; color: var(--white); line-height: 1.5; }

/* ── CERTIFICATION TREE ── */
.cert-tree { display: flex; flex-direction: column; gap: 2rem; }
.cert-path {}
.cert-path__label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.cert-path__label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-gold);
}
.cert-levels {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}
.cert-level {
  display: flex;
  align-items: center;
  gap: 0;
}
.cert-level__card {
  padding: 0.6rem 1rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-gold);
  border-radius: 4px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.85);
  white-space: nowrap;
  transition: var(--transition);
}
.cert-level__card:hover { background: rgba(201,168,76,0.1); color: var(--gold-light); }
.cert-level__card--highlight {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201,168,76,0.08);
}
.cert-arrow {
  color: var(--gold);
  padding: 0 0.4rem;
  font-size: 0.9rem;
  opacity: 0.6;
}

/* ── COMPATIBILITY LOGOS ── */
.compat-logos { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
.compat-logo {
  padding: 0.75rem 1.5rem;
  border: 1px solid rgba(0,31,63,0.12);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: var(--transition);
}
.compat-logo:hover { border-color: var(--gold); color: var(--navy); }

/* ── ACCRED STATUS ── */
.accred-status { display: flex; gap: 1rem; flex-wrap: wrap; }
.accred-status__item {
  flex: 1;
  min-width: 150px;
  padding: 1.25rem;
  border-radius: var(--radius);
  text-align: center;
  transition: var(--transition);
}
.accred-status__item--applied { background: rgba(107,124,141,0.1); border: 1px solid rgba(107,124,141,0.3); }
.accred-status__item--conditional { background: rgba(201,168,76,0.1); border: 1px solid var(--border-gold); }
.accred-status__item--accredited { background: rgba(26,107,46,0.1); border: 1px solid rgba(26,107,46,0.3); }
.accred-status__dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  margin: 0 auto 0.5rem;
}
.accred-status__item--applied .accred-status__dot { background: var(--text-muted); }
.accred-status__item--conditional .accred-status__dot { background: var(--gold); }
.accred-status__item--accredited .accred-status__dot { background: #1a6b2e; }
.accred-status__name { font-weight: 600; font-size: 0.9rem; margin-bottom: 0.25rem; }
.accred-status__item--applied .accred-status__name { color: var(--text-muted); }
.accred-status__item--conditional .accred-status__name { color: var(--gold); }
.accred-status__item--accredited .accred-status__name { color: #1a6b2e; }
.accred-status__desc { font-size: 0.78rem; color: var(--text-muted); }

/* ── LEAFLET CUSTOM MARKER ── */
.issa-marker {
  background: var(--navy);
  color: var(--gold);
  border: 2px solid var(--gold);
  border-radius: 50% 50% 50% 0;
  width: 44px; height: 44px;
  transform: rotate(-45deg);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(0,0,0,0.3);
  overflow: hidden;
}
.issa-marker span { transform: rotate(45deg); font-size: 0.85rem; }
.issa-marker__logo {
  width: 100%; height: 100%;
  object-fit: contain;
  transform: rotate(45deg);
  padding: 4px;
  background: white;
}

/* ── SCHOOL CARD LOGO ── */
.school-card__logo {
  width: 56px; height: 56px;
  object-fit: contain;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  background: white;
  padding: 4px;
  flex-shrink: 0;
}
.leaflet-popup-content-wrapper {
  border-radius: var(--radius) !important;
  border: 1px solid var(--border-gold) !important;
  box-shadow: var(--shadow-navy) !important;
  font-family: var(--font-body) !important;
}
.leaflet-popup-content {
  margin: 1rem 1.25rem !important;
  font-size: 0.875rem !important;
}
.popup-name { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; color: var(--navy); margin-bottom: 0.25rem; }
.popup-city { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 0.75rem; display: flex; align-items: center; gap: 0.3rem; }
.popup-btn {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  background: var(--navy);
  color: var(--white);
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}
.popup-btn:hover { background: var(--gold); color: var(--navy); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-step:not(:last-child)::after { display: none; }
  .timeline-h { grid-template-columns: 1fr; }
  .timeline-h__connector { display: none; }
  .pricing-table { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 4rem 0; }
  .navbar__links, .navbar__cta { display: none; }
  .navbar__hamburger { display: flex; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2-3, .grid-3-2 { grid-template-columns: 1fr; }
  .cta-split { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr; }
  .cert-levels { gap: 0.5rem; }
  .cert-arrow { display: none; }
  #map { height: 380px; }
  #map-escuelas { height: 380px; }
  .accred-status { flex-direction: column; }
}

@media (max-width: 480px) {
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .pricing-table { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE REFACTOR — mobile-first additions
   ═══════════════════════════════════════════════════════════ */

/* ── Global: prevent horizontal overflow ── */
html, body {
  overflow-x: hidden;
}

/* ── Images ── */
img { height: auto; }

/* ── Container: tighter padding on small screens ── */
@media (max-width: 480px) {
  .container { padding: 0 1rem; }
}
@media (min-width: 768px) {
  .container { padding: 0 2rem; }
}
@media (min-width: 1280px) {
  .container { padding: 0 2.5rem; }
}

/* ── Section spacing via clamp ── */
.section { padding: clamp(2.5rem, 6vw, 6rem) 0; }
.section--sm { padding: clamp(2rem, 4vw, 4rem) 0; }

/* ── Hero inner: reduce top padding on mobile ── */
@media (max-width: 768px) {
  .hero-inner { padding: 7rem 0 3.5rem; }
  .hero-inner__title { font-size: clamp(1.75rem, 6vw, 2.8rem); }
  .hero-inner__sub { font-size: 0.95rem; }
}

/* ── Stats bar: 2-col on tablet, 1-col on smallest screens ── */
@media (max-width: 480px) {
  .stats-bar__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 360px) {
  .stats-bar { grid-template-columns: 1fr; }
}

/* ── Navbar: ensure min tap-target on hamburger ── */
.navbar__hamburger {
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

/* ── Navbar: keep logo always visible, prevent overflow ── */
.navbar__logo { flex-shrink: 0; }
.navbar__inner { flex-wrap: nowrap; }

/* ── Buttons: 44px tap target + full-width stacking on tiny screens ── */
.btn { min-height: 44px; }

@media (max-width: 480px) {
  .hero__ctas { flex-direction: column; align-items: stretch !important; }
  .hero__ctas .btn { width: 100%; justify-content: center; }
}

/* ── btn white-space: allow wrapping on very small screens ── */
@media (max-width: 360px) {
  .btn { white-space: normal; text-align: center; }
}

/* ── Grid-2-3 / Grid-3-2: already covered at 768px but add
   middle breakpoint for better experience ── */
@media (min-width: 768px) and (max-width: 1023px) {
  .grid-2-3 { grid-template-columns: 1fr 1.5fr; gap: 2rem; }
  .grid-3-2 { grid-template-columns: 1.5fr 1fr; gap: 2rem; }
}

/* ── Process steps: 1 col on mobile ── */
.process-steps--3col { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1024px) {
  .process-steps--3col { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .process-steps { grid-template-columns: 1fr !important; }
  .process-steps--3col { grid-template-columns: 1fr; }
}

/* ── Pricing table: 1 col on small screens (already set at 1024px) ── */
@media (max-width: 768px) {
  .pricing-table { grid-template-columns: 1fr; }
}

/* ── CTA split: already 1 col at 768px, ensure full-width buttons ── */
@media (max-width: 768px) {
  .cta-path .btn { width: 100%; justify-content: center; }
}

/* ── Filter pills: wrap and smaller text on mobile ── */
@media (max-width: 768px) {
  .filter-pills { flex-wrap: wrap; gap: 0.5rem; }
  .filter-pill { font-size: 0.75rem; padding: 0.35rem 0.75rem; }
}

/* ── School card: stack header on small mobile ── */
@media (max-width: 480px) {
  .school-card__header { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .school-card__meta { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .school-card__logo { width: 44px; height: 44px; }
}

/* ── Map heights: smaller on mobile, taller on desktop ── */
#map, #map-escuelas {
  height: 400px;
  width: 100%;
}
@media (min-width: 768px) {
  #map { height: 500px; }
  #map-escuelas { height: 550px; }
}
#map-contact { height: 220px; }
@media (min-width: 768px) {
  #map-contact { height: 280px; }
}

/* ── ISSA marker: don't clip on small screens ── */
.issa-marker { overflow: visible; }

/* ── Footer: already 1 col at 768px — ensure contact items wrap cleanly ── */
@media (max-width: 480px) {
  .footer__contact-item { font-size: 0.82rem; }
  .footer__bottom { flex-direction: column; text-align: center; gap: 0.25rem; }
}

/* ── Timeline horizontal: vertical on mobile (already handled via grid) ── */
@media (max-width: 768px) {
  .timeline-h__step { text-align: left; }
  .timeline-h__num { margin: 0 0 0.75rem; }
}

/* ── Cert tree: allow cert level cards to wrap nicely ── */
@media (max-width: 600px) {
  .cert-levels { flex-direction: column; align-items: flex-start; gap: 0.4rem; }
  .cert-level { width: 100%; }
  .cert-level__card { width: 100%; text-align: left; white-space: normal; }
}

/* ── Accred status: already flex-direction:column at 768px ── */
@media (max-width: 768px) {
  .accred-status__item { min-width: unset; width: 100%; }
  /* Inline arrow divs between accred status items */
  .accred-status-arrow { display: none; }
}

/* ── Team grid: 2 cols on tablet ── */
@media (min-width: 600px) and (max-width: 1023px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

/* ── Form grid inside forms: 1 col on mobile ── */
@media (max-width: 600px) {
  form .grid-2 { grid-template-columns: 1fr; }
}

/* ── Instructor section: CTA buttons wrap on mobile ── */
@media (max-width: 480px) {
  .instructor-ctas { flex-direction: column !important; }
  .instructor-ctas .btn { width: 100%; justify-content: center; }
}

/* ── Hero logo derecha ── */
.hero__logo-right {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
@media (max-width: 900px) {
  .hero__logo-right { display: none; }
}

/* ── Instructor photo — fix mobile cut ── */
@media (max-width: 768px) {
  /* El contenedor de imagen pasa a tener altura fija en móvil */
  .instructor-photo-wrap {
    position: relative !important;
    min-height: 380px !important;
    height: 380px;
    width: 100%;
    flex: none !important;
  }
  .instructor-photo-wrap img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center top !important;
  }
}

/* ── LANGUAGE FLAGS ── */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.lang-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 3px;
  overflow: hidden;
  opacity: 0.55;
  transition: opacity 0.2s, transform 0.2s;
  border: 2px solid transparent;
  padding: 1px;
}
.lang-flag:hover { opacity: 0.9; transform: scale(1.1); }
.lang-flag--active { opacity: 1; border-color: var(--gold); transform: scale(1.08); }
.lang-flag img { display: block; width: 26px; height: 18px; object-fit: cover; border-radius: 2px; }

/* Ocultar barra de Google Translate */
.goog-te-banner-frame, .skiptranslate { display: none !important; }
body { top: 0 !important; }
#google_translate_element { display: none !important; }

/* Flags en overlay móvil */
.nav-overlay__flags {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s 0.65s, transform 0.4s 0.65s;
}
.nav-overlay.open .nav-overlay__flags { opacity: 1; transform: translateY(0); }
.nav-overlay__flags .lang-flag img { width: 36px; height: 24px; }
.nav-overlay__flags .lang-flag { opacity: 0.6; }
.nav-overlay__flags .lang-flag:hover,
.nav-overlay__flags .lang-flag--active { opacity: 1; }

/* Desktop: mostrar flags; móvil: solo en overlay */
@media (max-width: 768px) {
  .navbar .lang-switcher { display: none; }
}

/* ── Hero index: CTA buttons stacked on mobile ── */
@media (max-width: 480px) {
  /* The hero CTA div uses inline style display:flex */
  /* Override via body-level rule */
  section > .container [style*="display:flex"][style*="gap:1rem"] {
    flex-wrap: wrap;
  }
}

/* ── Stats bar on index hero: ensure no horizontal overflow ── */
.stats-bar { min-width: 0; }
.stats-bar__item { min-width: 0; padding: 1.5rem 1rem; }
@media (max-width: 480px) {
  .stats-bar__number { font-size: 1.5rem; }
  .stats-bar__label { font-size: 0.7rem; }
}

/* ── Course card images: prevent overflow on mobile ──
   The inline styles use max-width:none which overrides our img rule.
   Fix by clamping width inside the card. ── */
.course-card { overflow: hidden; }
@media (max-width: 480px) {
  .course-card img[style*="max-width: none"],
  .course-card img[style*="max-width:none"] {
    width: calc(100% + 3.5rem) !important;
    max-width: none !important;
  }
}

/* ── Compat logos: wrap on small screens ── */
@media (max-width: 480px) {
  .compat-logos { gap: 0.5rem; }
  .compat-logo { padding: 0.5rem 1rem; font-size: 0.75rem; }
}

/* ── Highlight box: ensure text wraps ── */
.highlight-box__text { word-break: break-word; }

/* ── Section header: font sizes via clamp ── */
.section-title { font-size: clamp(1.6rem, 4vw, 3rem); }
.section-subtitle { font-size: clamp(0.875rem, 2vw, 1rem); }

/* ── Tablet: small containers have adequate padding ── */
@media (min-width: 480px) and (max-width: 767px) {
  .container { padding: 0 1.25rem; }
}

/* ── Navbar: reduce gap on mid-range tablet to prevent overflow ── */
@media (min-width: 769px) and (max-width: 1024px) {
  .navbar__links { gap: 0; }
  .navbar__links a { padding: 0.5rem 0.5rem; font-size: 0.8rem; }
  .navbar__inner { gap: 1rem; }
  .navbar__cta { font-size: 0.8rem; padding: 0.65rem 1rem; }
}

/* ── WHATSAPP FLOATING BUTTON ── */
.wa-float {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 9000;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45), 0 2px 8px rgba(0,0,0,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  opacity: 0;
  transform: scale(0.7) translateY(12px);
  transition: opacity 0.35s ease, transform 0.35s ease, box-shadow 0.25s ease;
  pointer-events: none;
}
.wa-float--visible {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: auto;
}
.wa-float:hover {
  background: #1ebe5a;
  box-shadow: 0 6px 28px rgba(37,211,102,0.55), 0 3px 10px rgba(0,0,0,0.2);
  transform: scale(1.08) translateY(-2px);
}
.wa-float__icon {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

/* Tooltip que aparece al hacer hover */
.wa-float__tooltip {
  position: absolute;
  right: calc(100% + 0.75rem);
  top: 50%;
  transform: translateY(-50%);
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  white-space: nowrap;
  padding: 0.45rem 0.85rem;
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  transform: translateY(-50%) translateX(6px);
}
.wa-float__tooltip::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: var(--navy);
}
.wa-float:hover .wa-float__tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* Pulso sutil para llamar la atención */
@keyframes wa-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); }
  70%  { box-shadow: 0 0 0 12px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}
.wa-float--visible {
  animation: wa-pulse 2.5s ease-out 2.5s 3;
}

/* En móvil: más pequeño y sin tooltip para no invadir */
@media (max-width: 768px) {
  .wa-float {
    width: 52px;
    height: 52px;
    bottom: 1.25rem;
    right: 1.25rem;
  }
  .wa-float__icon { width: 28px; height: 28px; }
  .wa-float__tooltip { display: none; }
}

/* ── Tablet grid: grid-3 goes 2 cols at 768px ── */
@media (min-width: 600px) and (max-width: 767px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

/* ══════════════════════════════════════════════════════
   COOKIE BANNER
   ══════════════════════════════════════════════════════ */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: rgba(0, 18, 40, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(201, 168, 76, 0.35);
  padding: 1.1rem 0;
  transform: translateY(110%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 -8px 40px rgba(0,0,0,0.4);
}

.cookie-banner--visible {
  transform: translateY(0);
}

.cookie-banner__inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2.5rem);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cookie-banner__icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.cookie-banner__text {
  flex: 1;
  min-width: 220px;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.55;
}

.cookie-banner__text strong {
  color: var(--white);
  font-weight: 600;
}

.cookie-banner__text a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}

.cookie-banner__text a:hover {
  color: #e8c96a;
}

.cookie-banner__actions {
  display: flex;
  gap: 0.6rem;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.cookie-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.6rem 1.25rem;
  font-size: 0.825rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s;
  border: 1.5px solid transparent;
  white-space: nowrap;
  line-height: 1;
  font-family: var(--font-body);
}

.cookie-btn--accept {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.cookie-btn--accept:hover {
  background: #e8c96a;
  border-color: #e8c96a;
  transform: translateY(-1px);
}

.cookie-btn--reject {
  background: transparent;
  color: rgba(255, 255, 255, 0.65);
  border-color: rgba(255, 255, 255, 0.2);
}
.cookie-btn--reject:hover {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
}

.cookie-btn--settings {
  background: transparent;
  color: rgba(255, 255, 255, 0.45);
  border-color: transparent;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  font-size: 0.78rem;
}
.cookie-btn--settings:hover {
  color: rgba(255, 255, 255, 0.8);
}

/* Gold accent line on left */
.cookie-banner__inner::before {
  content: '';
  display: none;
}

@media (max-width: 600px) {
  .cookie-banner__inner {
    gap: 1rem;
  }
  .cookie-banner__icon { display: none; }
  .cookie-banner__actions {
    width: 100%;
    justify-content: stretch;
  }
  .cookie-btn--accept,
  .cookie-btn--reject {
    flex: 1;
    text-align: center;
  }
  .cookie-btn--settings {
    width: 100%;
    text-align: center;
  }
}

/* ══════════════════════════════════════════════════════
   LEGAL PAGES — privacidad, aviso legal, cookies
   ══════════════════════════════════════════════════════ */

/* Prose container */
.legal-content {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 5rem) 0;
  color: var(--text);
  line-height: 1.8;
  font-size: 0.96rem;
}

/* Last updated badge */
.legal-updated {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: rgba(0,31,63,0.05);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.35rem 0.75rem;
  margin-bottom: 2.5rem;
}

/* Section headings inside legal content */
.legal-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  font-weight: 600;
  color: var(--navy);
  margin: 2.5rem 0 0.75rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
  letter-spacing: -0.01em;
}
.legal-content h2:first-of-type { border-top: none; margin-top: 0; }

.legal-content h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  margin: 1.75rem 0 0.5rem;
}

/* Paragraphs */
.legal-content p {
  margin-bottom: 1rem;
  color: var(--text-muted);
}

/* Lists */
.legal-content ul,
.legal-content ol {
  margin: 0.75rem 0 1rem 1.25rem;
  color: var(--text-muted);
}
.legal-content li { margin-bottom: 0.4rem; }
.legal-content ul li { list-style: disc; }
.legal-content ol li { list-style: decimal; }

/* Inline highlights */
.legal-content strong { color: var(--navy); font-weight: 600; }
.legal-content a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.legal-content a:hover { color: var(--navy); }

/* Info box */
.legal-box {
  background: rgba(0,31,63,0.04);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1rem 1.25rem;
  margin: 1.25rem 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.legal-box strong { display: block; color: var(--navy); margin-bottom: 0.25rem; }

/* Cookies table */
.cookies-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0 1.75rem;
  font-size: 0.875rem;
}
.cookies-table th {
  background: var(--navy);
  color: var(--white);
  padding: 0.65rem 0.85rem;
  text-align: left;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.cookies-table th:first-child { border-radius: var(--radius-sm) 0 0 0; }
.cookies-table th:last-child  { border-radius: 0 var(--radius-sm) 0 0; }
.cookies-table td {
  padding: 0.6rem 0.85rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  color: var(--text-muted);
}
.cookies-table tr:last-child td { border-bottom: none; }
.cookies-table tr:nth-child(even) td { background: rgba(0,31,63,0.025); }
.cookies-table code {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  background: rgba(0,31,63,0.06);
  padding: 0.15rem 0.4rem;
  border-radius: 3px;
  color: var(--navy);
}

/* Mobile: scroll table horizontally */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* Rights grid */
.rights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.75rem;
  margin: 1.25rem 0;
}
.right-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem 1.1rem;
}
.right-card__icon { font-size: 1.3rem; margin-bottom: 0.4rem; }
.right-card__title { font-weight: 600; color: var(--navy); font-size: 0.875rem; margin-bottom: 0.2rem; }
.right-card__text { font-size: 0.8rem; color: var(--text-muted); line-height: 1.5; }

