/* ============================================================
   WLEC Canada — Design System
   Palette inspired by Canadian flag & WLEC heritage crest
   ============================================================ */

:root {
  --red:        #D52B1E;
  --red-deep:   #A8221A;
  --red-soft:   #FBE9E7;
  --navy:       #0C2340;
  --navy-soft:  #1B3A5F;
  --gold:       #B8893A;
  --gold-soft:  #E8D7B1;
  --cream:      #FAF7F2;
  --ink:        #15202B;
  --ink-soft:   #46586B;
  --line:       #E5DDD0;
  --white:      #FFFFFF;
  --shadow-sm:  0 1px 3px rgba(12,35,64,.06), 0 1px 2px rgba(12,35,64,.04);
  --shadow-md:  0 8px 24px -8px rgba(12,35,64,.18);
  --shadow-lg:  0 24px 60px -16px rgba(12,35,64,.22);
  --radius:     14px;
  --radius-sm:  8px;
  --maxw:       1240px;
  --ease:       cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Tajawal', 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  font-size: 17px;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
html[lang="ar"] body { direction: rtl; }
html[lang="en"] body { direction: ltr; font-family: 'Inter', system-ui, -apple-system, sans-serif; }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--red-deep); }
button { font-family: inherit; cursor: pointer; }

/* Typography */
h1,h2,h3,h4 { font-weight: 800; line-height: 1.2; color: var(--navy); margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 900; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
h4 { font-size: 1.15rem; }
p  { margin: 0 0 1em; color: var(--ink); }
.lead { font-size: 1.15rem; color: var(--ink-soft); }

/* Display serif for English */
.serif { font-family: 'Playfair Display', 'Georgia', serif; font-weight: 700; }

/* Layout */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(60px, 9vw, 110px) 0; position: relative; }
.section--dark { background: var(--navy); color: var(--white); }
.section--dark h1,.section--dark h2,.section--dark h3 { color: var(--white); }
.section--dark p { color: rgba(255,255,255,.82); }
.section--cream { background: var(--cream); }
.section--white { background: var(--white); }

/* Eyebrow text */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .82rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--red); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700; font-size: 1rem;
  text-decoration: none;
  border: none; outline: none;
  transition: all .25s var(--ease);
  white-space: nowrap;
}
.btn--primary {
  background: var(--red); color: #fff;
  box-shadow: 0 6px 18px -4px rgba(213,43,30,.45);
}
.btn--primary:hover {
  background: var(--red-deep); color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -6px rgba(213,43,30,.55);
}
.btn--ghost {
  background: transparent; color: var(--navy);
  border: 2px solid var(--navy);
}
.btn--ghost:hover { background: var(--navy); color: #fff; }
.btn--gold {
  background: var(--gold); color: #fff;
  box-shadow: 0 6px 18px -4px rgba(184,137,58,.4);
}
.btn--gold:hover { background: #9b7531; color: #fff; transform: translateY(-2px); }
.btn--white { background: #fff; color: var(--navy); }
.btn--white:hover { background: var(--cream); }
.btn--lg { padding: 18px 36px; font-size: 1.05rem; }

/* ============================================================
   TOP NOTICE BAR
   ============================================================ */
.notice {
  background: var(--navy);
  color: #fff;
  font-size: .88rem;
  padding: 9px 0;
  overflow: hidden;
  position: relative;
}
.notice__track {
  display: inline-flex;
  gap: 80px;
  white-space: nowrap;
  animation: marquee 38s linear infinite;
  padding-inline-start: 100%;
}
html[lang="ar"] .notice__track { animation-direction: reverse; }
.notice__item { display: inline-flex; align-items: center; gap: 8px; }
.notice__item strong { color: var(--gold-soft); }
@keyframes marquee { to { transform: translateX(-100%); } }
html[lang="ar"] .notice__track { animation-name: marquee-rtl; }
@keyframes marquee-rtl { to { transform: translateX(100%); } }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,247,242,.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0; gap: 20px;
}
.logo {
  display: flex; align-items: center; gap: 12px;
  font-weight: 900; color: var(--navy);
  text-decoration: none;
}
.logo__mark {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%);
  color: var(--gold-soft);
  display: grid; place-items: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem; font-weight: 700;
  flex-shrink: 0;
  position: relative;
}
.logo__mark::after {
  content: ""; position: absolute; inset: 4px;
  border: 1px solid rgba(184,137,58,.4);
  border-radius: 7px;
  pointer-events: none;
}
.logo__text { display: flex; flex-direction: column; line-height: 1.15; }
.logo__title { font-size: 1.02rem; }
.logo__sub { font-size: .72rem; color: var(--ink-soft); font-weight: 600; letter-spacing: .05em; }

.nav__menu { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav__menu a {
  color: var(--ink); font-weight: 600; font-size: .96rem;
  position: relative; padding: 6px 0;
}
.nav__menu a::after {
  content: ""; position: absolute; bottom: 0; inset-inline-start: 0;
  height: 2px; width: 0; background: var(--red);
  transition: width .3s var(--ease);
}
.nav__menu a:hover, .nav__menu a.is-active { color: var(--red); }
.nav__menu a:hover::after, .nav__menu a.is-active::after { width: 100%; }

.nav__actions { display: flex; align-items: center; gap: 10px; }
.lang-btn {
  background: transparent; border: 1.5px solid var(--line);
  color: var(--navy); padding: 8px 14px; border-radius: 999px;
  font-weight: 700; font-size: .85rem;
  transition: all .25s var(--ease);
}
.lang-btn:hover { border-color: var(--navy); }

.menu-toggle {
  display: none;
  background: transparent; border: none; padding: 8px;
  color: var(--navy);
}
.menu-toggle svg { width: 26px; height: 26px; }

@media (max-width: 960px) {
  .nav__menu {
    position: fixed; inset: 80px 0 0 0;
    flex-direction: column; align-items: stretch;
    gap: 0; padding: 24px;
    background: var(--cream);
    transform: translateX(0); opacity: 0; pointer-events: none;
    transition: opacity .3s var(--ease);
  }
  .nav__menu.is-open { opacity: 1; pointer-events: auto; }
  .nav__menu li { border-bottom: 1px solid var(--line); }
  .nav__menu a { display: block; padding: 16px 0; font-size: 1.05rem; }
  .nav__menu a::after { display: none; }
  .menu-toggle { display: inline-grid; place-items: center; }
  .nav__actions .btn { display: none; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: clamp(60px, 10vw, 130px) 0 clamp(70px, 11vw, 140px);
  background:
    radial-gradient(ellipse 80% 50% at 100% 0%, rgba(213,43,30,.07), transparent 60%),
    radial-gradient(ellipse 60% 50% at 0% 100%, rgba(12,35,64,.06), transparent 60%),
    var(--cream);
  overflow: hidden;
}
.hero__grid {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(40px, 6vw, 80px); align-items: center;
}
.hero h1 { margin-bottom: 20px; }
.hero h1 .accent { color: var(--red); }
.hero__lead { font-size: 1.18rem; color: var(--ink-soft); margin-bottom: 30px; max-width: 580px; }
.hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 32px; }

.hero__trust {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px; padding-top: 24px;
  border-top: 1px solid var(--line);
}
.hero__trust .stat strong {
  display: block; font-family: 'Playfair Display', serif;
  font-size: 1.9rem; color: var(--navy); font-weight: 800; line-height: 1;
  white-space: nowrap;
}
.hero__trust .stat strong [data-count] {
  font-size: inherit; color: inherit; display: inline; margin: 0; line-height: inherit;
}
.hero__trust .stat > span { font-size: .85rem; color: var(--ink-soft); display:block; margin-top: 6px; }

.hero__visual { position: relative; }
.hero__visual::before {
  content: ""; position: absolute; inset: -20px;
  background:
    radial-gradient(circle at 30% 30%, rgba(184,137,58,.18), transparent 60%),
    radial-gradient(circle at 70% 80%, rgba(213,43,30,.12), transparent 60%);
  filter: blur(40px); z-index: 0;
}
.hero__card {
  position: relative; z-index: 1;
  background: #fff;
  border-radius: 22px;
  padding: 32px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}
.hero__card h3 { color: var(--navy); margin-bottom: 6px; }
.hero__card .price {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem; color: var(--red); font-weight: 800; margin: 12px 0;
}
.hero__card .price small { font-size: .9rem; color: var(--ink-soft); font-weight: 600; }
.hero__features { list-style: none; padding: 0; margin: 16px 0 22px; }
.hero__features li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 7px 0; font-size: .96rem;
}
.hero__features li::before {
  content: "✓"; color: var(--red); font-weight: 900;
  flex-shrink: 0;
  width: 22px; height: 22px;
  display: grid; place-items: center;
  background: var(--red-soft); border-radius: 50%;
  font-size: .78rem;
}

.hero__badges {
  display: flex; gap: 12px; margin-top: 22px;
  flex-wrap: wrap;
}
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: .82rem; font-weight: 600;
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}
.hero__badge svg { width: 16px; height: 16px; }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: 50px; }
  .hero__trust { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .hero__trust .stat strong { font-size: 1.45rem; }
  .hero__trust .stat > span { font-size: .75rem; }
}

/* ============================================================
   FEATURE CARDS
   ============================================================ */
.cards { display: grid; gap: 22px; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.cards--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  transition: all .3s var(--ease);
  position: relative;
  overflow: hidden;
}
.card::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 3px;
  background: linear-gradient(90deg, var(--red), var(--gold));
  transform: scaleX(0); transform-origin: inset-inline-start;
  transition: transform .4s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(213,43,30,.15); }
.card:hover::after { transform: scaleX(1); }
.card__icon {
  width: 54px; height: 54px;
  border-radius: 12px;
  background: var(--red-soft); color: var(--red);
  display: grid; place-items: center;
  margin-bottom: 18px;
}
.card__icon svg { width: 28px; height: 28px; }
.card h3 { margin-bottom: 10px; color: var(--navy); }
.card p { color: var(--ink-soft); margin-bottom: 0; font-size: .96rem; }
.card .price-tag {
  display: inline-block; margin-top: 14px;
  background: var(--cream);
  color: var(--navy); font-weight: 700;
  padding: 6px 14px; border-radius: 999px;
  font-size: .92rem;
}

@media (max-width: 900px) {
  .cards--3, .cards--4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .cards--3, .cards--4, .cards--2 { grid-template-columns: 1fr; }
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-head { text-align: center; max-width: 760px; margin: 0 auto 60px; }
.section-head--start { text-align: start; margin-inline-start: 0; }

/* ============================================================
   FEATURED PROGRAM BLOCK (Study Tour)
   ============================================================ */
.feature-block {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px); align-items: center;
  background: linear-gradient(135deg, var(--navy) 0%, #0a1c33 100%);
  color: #fff;
  border-radius: 24px;
  padding: clamp(40px, 5vw, 70px);
  position: relative; overflow: hidden;
}
.feature-block::before {
  content: ""; position: absolute;
  top: -100px; right: -100px;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(213,43,30,.3), transparent 70%);
  filter: blur(60px);
}
.feature-block::after {
  content: ""; position: absolute;
  bottom: -120px; left: -100px;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(184,137,58,.25), transparent 70%);
  filter: blur(60px);
}
.feature-block > * { position: relative; z-index: 1; }
.feature-block h2 { color: #fff; }
.feature-block .eyebrow { color: var(--gold-soft); }
.feature-block .eyebrow::before { background: var(--gold-soft); }
.feature-block p { color: rgba(255,255,255,.85); }
.feature-block ul { list-style: none; padding: 0; margin: 24px 0; }
.feature-block ul li {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 8px 0;
}
.feature-block ul li::before {
  content: ""; width: 22px; height: 22px; flex-shrink: 0;
  background: var(--gold) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'><path d='M9 16.2L4.8 12l-1.4 1.4L9 19l12-12-1.4-1.4z'/></svg>") center/14px no-repeat;
  border-radius: 50%;
}
.feature-block__visual {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  padding: 28px;
  backdrop-filter: blur(8px);
}
.feature-block__visual h4 { color: var(--gold-soft); margin-bottom: 18px; }
.tour-options { display: grid; gap: 14px; }
.tour-option {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  padding: 18px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px;
}
.tour-option strong { color: #fff; font-size: 1.05rem; }
.tour-option .price { color: var(--gold-soft); font-weight: 800; font-family: 'Playfair Display', serif; font-size: 1.4rem; }
.tour-option small { color: rgba(255,255,255,.6); display:block; font-size: .82rem; }

@media (max-width: 900px) {
  .feature-block { grid-template-columns: 1fr; }
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  padding: 50px 36px;
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
  margin-top: -60px;
  position: relative; z-index: 3;
}
.stat-item { text-align: center; }
.stat-item strong {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--red);
  display: block; line-height: 1;
}
.stat-item span { font-size: .92rem; color: var(--ink-soft); margin-top: 8px; display: block; }
@media (max-width: 700px) {
  .stats-bar { grid-template-columns: 1fr 1fr; padding: 32px 20px; }
}

/* ============================================================
   PROCESS / TIMELINE
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
  counter-increment: step;
}
.step::before {
  content: "0" counter(step);
  position: absolute; top: 18px; inset-inline-end: 18px;
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem; font-weight: 800;
  color: var(--red-soft);
  line-height: 1;
}
.step h4 { color: var(--navy); margin-bottom: 8px; max-width: 70%; }
.step p { color: var(--ink-soft); font-size: .94rem; margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }

/* ============================================================
   PRICING TABLES
   ============================================================ */
.price-table {
  width: 100%; border-collapse: collapse;
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm);
  font-size: .96rem;
}
.price-table th, .price-table td { padding: 16px 20px; text-align: start; border-bottom: 1px solid var(--line); }
.price-table th { background: var(--navy); color: #fff; font-weight: 700; }
.price-table tr:last-child td { border-bottom: none; }
.price-table tr:hover td { background: var(--cream); }
.price-table .price-cell { color: var(--red); font-weight: 800; font-family: 'Playfair Display', serif; font-size: 1.1rem; }

/* ============================================================
   CURRENCY SWITCHER — compact pills (for hero cards)
   ============================================================ */
.ccy-pills {
  display: inline-flex;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
  margin-top: 4px;
}
.ccy-pills__btn {
  position: relative;
  background: transparent; border: none;
  padding: 7px 14px;
  border-radius: 999px;
  font-weight: 800; font-size: .76rem;
  color: var(--ink-soft);
  letter-spacing: .06em;
  display: inline-flex; align-items: center; gap: 7px;
  transition: all .25s var(--ease);
  cursor: pointer;
  font-family: inherit;
}
.ccy-pills__btn:hover { color: var(--navy); }
.ccy-pills__btn .ccy-flag {
  width: 18px; height: 13px; border-radius: 2px;
  flex-shrink: 0; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(0,0,0,.08);
}
.ccy-flag svg, .ccy-tile__flag svg { display:block; width:100%; height:100%; }
.ccy-pills__btn.is-active {
  background: var(--navy); color: #fff;
  box-shadow: 0 4px 14px -3px rgba(12,35,64,.4);
}
.ccy-pills__btn.is-active .ccy-flag {
  box-shadow: 0 0 0 1px rgba(255,255,255,.25);
}

/* ============================================================
   CURRENCY BANNER — Pricing page (editorial / brand-led)
   ============================================================ */
.ccy-panel {
  position: relative;
  background:
    radial-gradient(ellipse 70% 100% at 100% 0%, rgba(213,43,30,.08), transparent 60%),
    radial-gradient(ellipse 50% 100% at 0% 100%, rgba(184,137,58,.10), transparent 60%),
    linear-gradient(180deg, #fff 0%, var(--cream) 100%);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 30px clamp(20px, 3vw, 36px);
  margin-bottom: 30px;
  overflow: hidden;
}
.ccy-panel::before {
  content: ""; position: absolute;
  top: 0; inset-inline-start: 0; height: 4px; width: 100%;
  background: linear-gradient(90deg,
    var(--red) 0%, var(--red) 28%,
    var(--cream) 28%, var(--cream) 72%,
    var(--red) 72%, var(--red) 100%);
  opacity: .85;
}
.ccy-panel__head {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 20px;
  margin-bottom: 22px;
}
.ccy-panel__title {
  display: flex; align-items: center; gap: 14px;
}
.ccy-panel__icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--navy); color: var(--gold-soft);
  display: grid; place-items: center;
  flex-shrink: 0;
  font-family: 'Playfair Display', serif;
  font-weight: 800; font-size: 1.4rem;
  position: relative;
}
.ccy-panel__icon::after {
  content: ""; position: absolute; inset: 4px;
  border: 1px solid rgba(184,137,58,.4);
  border-radius: 8px;
}
.ccy-panel__title h3 {
  font-size: 1.15rem; margin: 0; color: var(--navy);
  font-weight: 800;
}
.ccy-panel__title p {
  margin: 2px 0 0; font-size: .85rem; color: var(--ink-soft);
}
.ccy-panel__rate {
  font-size: .82rem; color: var(--ink-soft);
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 12px;
}
.ccy-panel__rate::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 0 4px rgba(22,163,74,.18);
  flex-shrink: 0;
  animation: pulse-dot 2.4s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 4px rgba(22,163,74,.18); }
  50% { box-shadow: 0 0 0 7px rgba(22,163,74,.05); }
}

/* Big tile-style currency cards */
.ccy-tiles {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
}
.ccy-tile {
  position: relative;
  background: #fff;
  border: 2px solid var(--line);
  border-radius: 14px;
  padding: 18px 20px;
  cursor: pointer;
  text-align: start;
  font-family: inherit;
  transition: all .25s var(--ease);
  display: flex; align-items: center; gap: 14px;
  font-weight: 700;
}
.ccy-tile:hover {
  border-color: rgba(12,35,64,.3);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.ccy-tile.is-active {
  border-color: var(--navy);
  background: var(--navy);
  color: #fff;
  box-shadow: 0 14px 30px -10px rgba(12,35,64,.45);
}
.ccy-tile.is-active::after {
  content: "✓";
  position: absolute; top: 10px; inset-inline-end: 12px;
  width: 22px; height: 22px;
  background: var(--gold);
  color: #fff;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: .76rem; font-weight: 900;
}
.ccy-tile__flag {
  width: 44px; height: 32px; border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(0,0,0,.08), 0 2px 6px -2px rgba(0,0,0,.15);
  flex-shrink: 0;
}
.ccy-tile.is-active .ccy-tile__flag {
  box-shadow: 0 0 0 1px rgba(255,255,255,.18), 0 4px 10px -2px rgba(0,0,0,.3);
}
.ccy-tile__body { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.ccy-tile__name { font-size: .98rem; font-weight: 800; color: var(--navy); }
.ccy-tile.is-active .ccy-tile__name { color: #fff; }
.ccy-tile__code {
  font-size: .72rem; letter-spacing: .14em;
  color: var(--ink-soft); font-weight: 700; margin-top: 3px;
}
.ccy-tile.is-active .ccy-tile__code { color: var(--gold-soft); }

@media (max-width: 700px) {
  .ccy-tiles { grid-template-columns: 1fr; }
  .ccy-panel__head { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 8px 0;
}
.faq-item summary {
  list-style: none; cursor: pointer;
  padding: 18px 0;
  font-weight: 700; color: var(--navy); font-size: 1.08rem;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  transition: color .2s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-size: 1.7rem; font-weight: 300; color: var(--red);
  transition: transform .3s var(--ease);
  flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--red); }
.faq-item__body {
  color: var(--ink-soft);
  padding: 0 0 18px;
  animation: fadeUp .3s var(--ease);
}

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  background: linear-gradient(135deg, var(--red) 0%, #b8221a 100%);
  color: #fff;
  border-radius: 22px;
  padding: clamp(40px, 5vw, 70px);
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: 30px; align-items: center;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,.1), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(0,0,0,.15), transparent 50%);
}
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.9); margin-bottom: 0; }
.cta-band__buttons { display: flex; flex-direction: column; gap: 12px; }
@media (max-width: 800px) { .cta-band { grid-template-columns: 1fr; } }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,.7);
  padding: 70px 0 0;
}
.footer__grid {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 40px; padding-bottom: 50px;
}
.footer__brand { max-width: 360px; }
.footer__brand p { color: rgba(255,255,255,.7); margin-top: 14px; font-size: .94rem; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 18px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { padding: 5px 0; }
.footer ul a { color: rgba(255,255,255,.7); font-size: .94rem; }
.footer ul a:hover { color: var(--gold-soft); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 24px 0;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
  font-size: .85rem; color: rgba(255,255,255,.55);
}
.footer__social { display: flex; gap: 10px; }
.footer__social a {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  background: rgba(255,255,255,.08);
  border-radius: 50%; color: #fff;
}
.footer__social a:hover { background: var(--red); }
.footer__social svg { width: 18px; height: 18px; }
@media (max-width: 800px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer__grid { grid-template-columns: 1fr; } }

/* ============================================================
   WHATSAPP FLOAT
   ============================================================ */
.wa-float {
  position: fixed; bottom: 22px; inset-inline-end: 22px;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: grid; place-items: center;
  color: #fff;
  box-shadow: 0 10px 30px -6px rgba(37,211,102,.5);
  z-index: 40;
  transition: transform .25s var(--ease);
  animation: pulse 2.6s infinite;
}
.wa-float:hover { transform: scale(1.08); color: #fff; }
.wa-float svg { width: 28px; height: 28px; }
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(37,211,102,.55), 0 10px 30px -6px rgba(37,211,102,.5); }
  70%  { box-shadow: 0 0 0 14px rgba(37,211,102,0), 0 10px 30px -6px rgba(37,211,102,.5); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0), 0 10px 30px -6px rgba(37,211,102,.5); }
}

/* ============================================================
   FORMS
   ============================================================ */
.form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.form-field label { font-weight: 700; font-size: .92rem; color: var(--navy); }
.form-field input,
.form-field select,
.form-field textarea {
  font-family: inherit; font-size: 1rem;
  padding: 13px 16px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: #fff; color: var(--ink);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none; border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(213,43,30,.12);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }

/* ============================================================
   BOOKING CALENDAR
   ============================================================ */
.cal {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px;
}
.cal__head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 18px;
}
.cal__head button {
  background: var(--cream); border: 1px solid var(--line); border-radius: 8px;
  width: 36px; height: 36px; display: grid; place-items: center;
  color: var(--navy); font-size: 1.1rem;
}
.cal__head button:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.cal__title { font-weight: 800; color: var(--navy); font-size: 1.1rem; }
.cal__weekdays, .cal__days {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px;
}
.cal__weekdays > div {
  text-align: center; font-size: .78rem; color: var(--ink-soft); font-weight: 700;
  padding: 8px 0;
}
.cal__days button {
  aspect-ratio: 1; border: 1px solid var(--line); background: #fff;
  border-radius: 8px; font-weight: 700; color: var(--navy);
  transition: all .2s var(--ease);
}
.cal__days button:hover:not(:disabled) { background: var(--red-soft); border-color: var(--red); color: var(--red); }
.cal__days button.has-slots { background: var(--red-soft); border-color: rgba(213,43,30,.3); color: var(--red); }
.cal__days button.is-selected { background: var(--red); color: #fff; border-color: var(--red); }
.cal__days button:disabled { opacity: .35; cursor: not-allowed; }

.slot-list {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
  margin-top: 18px;
}
.slot-list button {
  background: var(--cream); border: 1.5px solid var(--line); border-radius: 8px;
  padding: 12px 8px; font-weight: 700; color: var(--navy); font-size: .94rem;
  transition: all .2s var(--ease);
}
.slot-list button:hover { background: var(--red-soft); border-color: var(--red); color: var(--red); }
.slot-list button.is-selected { background: var(--red); color: #fff; border-color: var(--red); }

/* ============================================================
   ANIMATIONS
   ============================================================ */
[data-anim] { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
[data-anim].is-visible { opacity: 1; transform: translateY(0); }
[data-anim="fade-left"] { transform: translateX(-30px); }
[data-anim="fade-left"].is-visible { transform: translateX(0); }
[data-anim="fade-right"] { transform: translateX(30px); }
[data-anim="fade-right"].is-visible { transform: translateX(0); }
[data-anim-delay="1"] { transition-delay: .1s; }
[data-anim-delay="2"] { transition-delay: .2s; }
[data-anim-delay="3"] { transition-delay: .3s; }
[data-anim-delay="4"] { transition-delay: .4s; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-anim] { opacity: 1; transform: none; }
  .wa-float { animation: none; }
  .notice__track { animation: none; }
}

/* ============================================================
   UTILITIES
   ============================================================ */
.text-center { text-align: center; }
.text-red { color: var(--red); }
.text-navy { color: var(--navy); }
.text-gold { color: var(--gold); }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 1rem; } .mt-4 { margin-top: 2rem; }
.flag-strip {
  height: 4px;
  background: linear-gradient(90deg, var(--red) 0% 30%, var(--white) 30% 70%, var(--red) 70% 100%);
}

/* Skip link for accessibility */
.skip-link {
  position: absolute; inset-inline-start: 8px; top: -100px;
  background: var(--navy); color: #fff; padding: 10px 16px;
  border-radius: 8px; z-index: 100;
  font-weight: 700;
}
.skip-link:focus { top: 8px; color: #fff; }

/* ============================================================
   LANGUAGE WELCOME POPUP (first visit)
   ============================================================ */
.lang-popup {
  position: fixed; inset: 0; z-index: 999;
  display: grid; place-items: center; padding: 20px;
  animation: epFade .25s var(--ease);
}
.lang-popup.is-closing { animation: epFadeOut .22s var(--ease) forwards; }
.lang-popup__backdrop { position: absolute; inset: 0; background: rgba(12,35,64,.7); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.lang-popup__card {
  position: relative;
  width: min(440px, 100%);
  background: #fff;
  border-radius: 20px;
  padding: 32px 28px 22px;
  text-align: center;
  box-shadow: 0 40px 80px -20px rgba(0,0,0,.45);
  animation: epSlide .35s var(--ease);
}
.lang-popup__flag { display: flex; justify-content: center; margin-bottom: 14px; }
.lang-popup__flag svg { border-radius: 6px; box-shadow: 0 4px 12px -2px rgba(0,0,0,.18); }
.lang-popup__title { font-size: 1.8rem; font-weight: 900; color: var(--navy); margin: 0 0 6px; }
.lang-popup__sub { color: var(--ink-soft); margin-bottom: 22px; font-size: .98rem; }
.lang-popup__choices { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
.lang-popup__btn {
  background: var(--navy); color: #fff;
  border: none; border-radius: 14px;
  padding: 18px 14px;
  display: flex; flex-direction: column; gap: 4px;
  align-items: center;
  cursor: pointer;
  transition: all .2s var(--ease);
}
.lang-popup__btn:hover { background: #1B3A5F; transform: translateY(-2px); box-shadow: 0 10px 24px -8px rgba(12,35,64,.4); }
.lang-popup__btn strong { font-size: 1.15rem; font-weight: 800; }
.lang-popup__btn small { opacity: .8; font-size: .82rem; font-weight: 500; }
.lang-popup__btn--alt { background: var(--red); }
.lang-popup__btn--alt:hover { background: var(--red-deep); box-shadow: 0 10px 24px -8px rgba(213,43,30,.5); }
.lang-popup__skip { background: transparent; color: var(--ink-soft); border: none; font-size: .88rem; font-weight: 700; cursor: pointer; padding: 6px 12px; }
.lang-popup__skip:hover { color: var(--navy); text-decoration: underline; }

/* ============================================================
   EXIT-INTENT POPUP
   ============================================================ */
.exit-popup {
  position: fixed; inset: 0;
  z-index: 1000;
  display: grid; place-items: center;
  padding: 20px;
  animation: epFade .25s var(--ease);
}
.exit-popup.is-closing { animation: epFadeOut .22s var(--ease) forwards; }
.exit-popup__backdrop {
  position: absolute; inset: 0;
  background: rgba(12,35,64,.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.exit-popup__card {
  position: relative;
  width: min(520px, 100%);
  background: #fff;
  border-radius: 20px;
  padding: 36px 30px 26px;
  box-shadow: 0 40px 80px -20px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.05);
  animation: epSlide .35s var(--ease);
  text-align: center;
  overflow: hidden;
}
.exit-popup__card::before {
  content: ""; position: absolute; top: -80px; inset-inline-end: -80px;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(213,43,30,.22), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}
.exit-popup__close {
  position: absolute; top: 12px; inset-inline-end: 12px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(12,35,64,.08); border: none;
  color: var(--navy); font-size: 1.5rem; line-height: 1;
  display: grid; place-items: center;
  z-index: 2;
  transition: all .2s var(--ease);
}
.exit-popup__close:hover { background: var(--navy); color: #fff; transform: rotate(90deg); }
.exit-popup__ribbon {
  display: inline-block;
  background: linear-gradient(135deg, var(--red), var(--red-deep));
  color: #fff;
  padding: 6px 18px; border-radius: 999px;
  font-weight: 800; font-size: .8rem; letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 18px;
  box-shadow: 0 6px 18px -4px rgba(213,43,30,.5);
}
.exit-popup__title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  color: var(--navy);
  margin-bottom: 14px;
  font-weight: 900;
  line-height: 1.2;
}
.exit-popup__big {
  font-family: 'Playfair Display', serif;
  color: var(--red);
  font-size: 1.5em;
  font-weight: 900;
}
.exit-popup__lead {
  color: var(--ink-soft);
  font-size: 1.02rem;
  margin-bottom: 22px;
  line-height: 1.55;
}
.exit-popup__code {
  background: linear-gradient(135deg, var(--cream) 0%, #f1ead7 100%);
  border: 2px dashed var(--gold);
  border-radius: 14px;
  padding: 18px 16px;
  margin: 0 0 18px;
}
.exit-popup__code-label {
  font-size: .8rem; color: var(--ink-soft);
  font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.exit-popup__code-value {
  font-family: 'Playfair Display', 'Courier New', monospace;
  font-size: clamp(1.6rem, 5vw, 2.2rem);
  font-weight: 900;
  color: var(--navy);
  letter-spacing: .14em;
  margin: 4px 0 10px;
  user-select: all;
}
.exit-popup__copy {
  background: var(--navy); color: #fff;
  border: none; border-radius: 999px;
  padding: 8px 18px;
  font-weight: 700; font-size: .88rem;
  cursor: pointer;
  transition: all .2s var(--ease);
}
.exit-popup__copy:hover { background: #1B3A5F; transform: scale(1.04); }
.exit-popup__hint {
  font-size: .92rem; color: var(--ink-soft);
  margin-bottom: 20px;
}
.exit-popup__actions { display: flex; flex-direction: column; gap: 12px; }
.exit-popup__cta { width: 100%; justify-content: center; }
.exit-popup__second {
  color: var(--ink-soft); font-size: .92rem; font-weight: 700;
  text-decoration: underline;
}
.exit-popup__second:hover { color: var(--red); }
.exit-popup__fine {
  font-size: .74rem; color: var(--ink-soft);
  margin: 18px 0 0;
  line-height: 1.5;
}
@keyframes epFade  { from { opacity: 0 } to { opacity: 1 } }
@keyframes epFadeOut { from { opacity: 1 } to { opacity: 0 } }
@keyframes epSlide { from { opacity: 0; transform: translateY(20px) scale(.96) } to { opacity: 1; transform: none } }
@media (prefers-reduced-motion: reduce) {
  .exit-popup, .exit-popup__card { animation: none !important; }
}

/* Print */
@media print {
  .header, .footer, .wa-float, .cta-band, .notice, .exit-popup { display: none !important; }
  body { background: #fff; }
}
