/* =====================================================================
   WCIS 2026 — World Connect & Innovation Summit
   Theme: same as ecovay.org (fonts, colours, buttons, cards, spacing).
   See docs/DESIGN-SPEC.md for the full reference.
   ===================================================================== */

/* ===== DESIGN TOKENS (ecovay.org theme) ===== */
:root {
  /* brand colours */
  --purple: #29166F;      /* main brand: dark sections, top bar */
  --indigo: #332C63;      /* headings */
  --indigo-2: #46458B;    /* purple gradient end */
  --maroon: #70292C;      /* red gradient start */
  --crimson: #C5323B;     /* red gradient end, accents */
  --red: #DB2A22;         /* bright red */
  --gold: #E3CA76;        /* labels on dark backgrounds */
  /* neutrals */
  --ink: #110E03;         /* body text */
  --grey-text: #666666;   /* nav links, small text */
  --dark-grey: #333333;   /* nav hover */
  --bg: #FFFFFF;
  --bg-soft: #EFF1F3;     /* light section background */
  --tint: #332C631A;      /* indigo at 10%: borders, soft fills */
  --white-80: #FFFFFFCC;
  --white-50: #FFFFFF80;
  --white-10: #FFFFFF1A;
  /* gradients (all taken from ecovay.org) */
  --grad-red: linear-gradient(141deg, var(--maroon) 0%, var(--crimson) 100%);
  --grad-flag: linear-gradient(135deg, var(--red) 0%, var(--purple) 70%);
  --grad-purple: linear-gradient(135deg, var(--purple) 0%, var(--indigo-2) 150%);
  --grad-hero: linear-gradient(135deg, var(--purple) 0%, var(--red) 80%);
  --grad-footer: linear-gradient(120deg, var(--red) 0%, var(--purple) 78%);
  /* shape and layout */
  --r-sm: 5px; --r-btn: 10px; --r-card: 15px; --r-lg: 20px; --r-pill: 200px;
  --max: 1330px;
  --section: 100px;
  /* fonts */
  --f-title: 'Archivo Black', sans-serif;
  --f-body: 'Manrope', sans-serif;
  --f-nav: 'Exo', sans-serif;
}

/* ===== BASE ===== */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body { font-family: var(--f-body); font-size: 18px; line-height: 1.6; color: var(--ink); background: var(--bg); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
section { padding: var(--section) 0; scroll-margin-top: 90px; }
.soft { background: var(--bg-soft); }
.dark { background: var(--grad-purple); color: #fff; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.mt { margin-top: 40px; }

/* ===== TYPOGRAPHY ===== */
h1 { font: 400 65px/1.05 var(--f-title); text-transform: uppercase; }
h2 { font: 400 52px/1.08 var(--f-title); text-transform: capitalize; color: var(--indigo); margin-bottom: 18px; }
h3 { font: 800 24px/1.3 var(--f-body); color: var(--indigo); }
h4 { font: 800 20px/1.35 var(--f-body); color: var(--indigo); }
.dark h2, .dark h3, .dark h4 { color: #fff; }
.lead { font-size: 20px; line-height: 1.5; color: var(--ink); max-width: 780px; }
.dark .lead { color: var(--white-80); }
.eyebrow { display: inline-flex; align-items: center; font: 700 16px/1.2 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: var(--crimson); margin-bottom: 12px; }
.eyebrow::before { content: ""; display: inline-block; width: 0; height: 2px; background: currentColor; margin-right: 0; transition: width .8s .3s, margin .8s .3s; }
.eyebrow.in::before, .hero .eyebrow::before, .page-hero .eyebrow::before { width: 28px; margin-right: 10px; }
.dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow, .cta-band .eyebrow { color: var(--gold); }

/* ===== BUTTONS (ecovay: red gradient, 10px corners, colour sweep + grow on hover) ===== */
.btn { display: inline-flex; align-items: center; gap: 8px; background: var(--grad-red); color: #fff; font: 800 17px/1 var(--f-body); text-transform: uppercase; padding: 15px 22px; border-radius: var(--r-btn); border: 0; cursor: pointer; position: relative; overflow: hidden; z-index: 1; transition: transform .4s; }
.btn::after { content: ""; position: absolute; inset: 0; background: var(--purple); transform: translateX(-101%); transition: transform .5s ease-out; z-index: -1; }
.btn:hover { transform: scale(1.06); }
.btn:hover::after { transform: translateX(0); }
.btn.flag { background: var(--grad-flag); } .btn.flag::after { background: var(--maroon); }
.btn.white { background: #fff; color: var(--purple); } .btn.white::after { background: var(--gold); }
.btn.ghost { background: transparent; border: 1px solid currentColor; color: #fff; } .btn.ghost::after { background: var(--white-10); }
.btn .arrow { transition: transform .4s; }
.btn:hover .arrow { transform: translateX(5px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ===== GRIDS & CARDS ===== */
.grid { display: grid; gap: 15px; }
/* max 2 / 3 / 4 columns on wide screens, fewer automatically on small screens */
.g2 { grid-template-columns: repeat(auto-fit, minmax(max(320px, calc((100% - 15px) / 2)), 1fr)); }
.g3 { grid-template-columns: repeat(auto-fit, minmax(max(290px, calc((100% - 30px) / 3)), 1fr)); }
.g4 { grid-template-columns: repeat(auto-fit, minmax(max(240px, calc((100% - 45px) / 4)), 1fr)); }
@media (max-width: 400px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--tint); border-radius: var(--r-card); padding: 30px; }
.dark .card { background: var(--white-10); border-color: var(--white-50); color: #fff; }
.card p { color: var(--ink); margin-top: 8px; }
.dark .card p { color: var(--white-80); }
.icon { width: 56px; height: 56px; border-radius: var(--r-btn); display: grid; place-items: center; font-size: 25px; color: var(--crimson); background: var(--tint); margin-bottom: 18px; }
.icon.red { color: var(--red); } .icon.gold { color: var(--purple); }
.dark .icon { background: var(--white-10); color: var(--gold); }
.num { font: 800 43px/1 var(--f-body); color: var(--crimson); margin-bottom: 12px; display: inline-block; animation: floatUpDown 3s ease-in-out infinite; }
ul.ticks { list-style: none; margin-top: 14px; }
ul.ticks li { position: relative; padding: 7px 0 7px 28px; }
ul.ticks li::before { content: "\f00c"; font: 900 15px "Font Awesome 6 Free"; position: absolute; left: 0; top: 12px; color: var(--crimson); }
.dark ul.ticks li { color: #fff; } .dark ul.ticks li::before { color: var(--gold); }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 50px; align-items: center; }
.img-wrap { overflow: hidden; border-radius: var(--r-lg); position: relative; }
.img-wrap img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.img-wrap:hover img { transform: scale(1.06); }
.img-badge { position: absolute; left: 20px; bottom: 20px; background: #fff; border-radius: var(--r-btn); padding: 12px 18px; font: 800 17px var(--f-body); color: var(--indigo); }
.img-badge small { display: block; font: 500 15px var(--f-body); color: var(--grey-text); }
.img-badge i { color: var(--crimson); margin-right: 6px; }

/* ===== TOP BAR + HEADER ===== */
/* Top bar: scrolling announcement banner (like ecovay.org) */
.topbar { background: var(--purple); color: var(--white-80); font-size: 15px; display: flex; align-items: center; gap: 12px; padding-right: 12px; }
.ticker { flex: 1; overflow: hidden; padding: 10px 0; mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); }
.ticker-track { display: flex; width: max-content; animation: scroll 60s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-group { display: flex; }
.ticker span { display: inline-flex; align-items: center; gap: 10px; padding: 0 28px; white-space: nowrap; border-right: 1px solid var(--white-10); }
.ticker span i { color: var(--gold); font-size: 13px; }
.ticker-cta { flex: none; background: #fff; color: var(--purple); font: 800 14px var(--f-body); text-transform: uppercase; padding: 7px 14px; border-radius: var(--r-pill); transition: background .3s, transform .3s; }
.ticker-cta:hover { background: var(--gold); transform: scale(1.05); }
@media (max-width: 600px) { .ticker-cta { display: none; } .topbar { padding-right: 0; } }
header.site { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: 0 2px 12px rgba(27,64,90,.1); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 84px; transition: height .4s; }
header.site.scrolled .nav { height: 68px; }
.logo img { height: 58px; width: auto; transition: height .4s; }
header.site.scrolled .logo img { height: 48px; }
.menu { display: flex; align-items: center; gap: 28px; list-style: none; font: 600 18px var(--f-nav); color: var(--grey-text); }
.menu a { position: relative; padding: 6px 0; transition: color .3s; }
.menu a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--crimson); transform: scaleX(0); transform-origin: right; transition: transform .4s; }
.menu a:not(.btn):hover { color: var(--dark-grey); }
.menu a:not(.btn):hover::after, .menu a.active::after { transform: scaleX(1); transform-origin: left; }
.menu a.active { color: var(--indigo); }
.menu .btn { padding: 13px 20px; color: #fff; font-family: var(--f-body); }
.burger { display: none; background: var(--indigo); color: #fff; border: 0; border-radius: var(--r-sm); font-size: 22px; width: 46px; height: 42px; cursor: pointer; }
.progress { position: fixed; top: 0; left: 0; height: 4px; width: 100%; background: var(--grad-flag); transform-origin: 0 50%; transform: scaleX(0); z-index: 100; }
@media (max-width: 1100px) {
  .burger { display: block; }
  .menu { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; box-shadow: 0 12px 24px rgba(0,0,0,.12); padding: 8px 0 16px; }
  .menu.open { display: flex; }
  .menu li a { display: block; padding: 13px 20px; }
  .menu li a:not(.btn)::after { display: none; }
  .menu .btn { margin: 8px 20px 0; justify-content: center; }
}

/* ===== HOME HERO (photo + purple→red overlay, like ecovay.org) ===== */
.hero { position: relative; overflow: hidden; color: #fff; padding: 120px 0 140px; background: var(--purple); }
.hero-bg { position: absolute; inset: 0; background: var(--purple) center/cover; animation: kenburns 22s ease-in-out infinite alternate; }
.hero::before { content: ""; position: absolute; inset: 0; background: var(--grad-hero); opacity: .9; z-index: 1; }
.hero .container { position: relative; z-index: 3; }
.hero-text { max-width: 700px; }
/* animated transparent globe (js/globe.js) */
.hero-globe { position: absolute; z-index: 2; right: -6%; top: 50%; width: min(820px, 60vw); aspect-ratio: 1; transform: translateY(-54%);
  opacity: 0; animation: globeIn 1.6s cubic-bezier(.2,.7,.2,1) .4s forwards; }
.hero-globe::before { content: ""; position: absolute; inset: 6%; border-radius: 50%; background: radial-gradient(circle, rgba(14,8,40,.55) 0%, rgba(14,8,40,0) 70%); }
.hero-globe canvas { position: relative; width: 100%; height: 100%; display: block; cursor: grab; touch-action: pan-y; }
.hero-globe canvas:active { cursor: grabbing; }
@keyframes globeIn { from { opacity: 0; transform: translateY(-54%) scale(.85); } to { opacity: 1; transform: translateY(-54%) scale(1); } }
.hero .container { pointer-events: none; } .hero .container * { pointer-events: auto; }
@media (max-width: 1100px) { .hero-globe { right: -25%; width: 80vw; opacity: .5; animation: none; } }
@media (max-width: 767px) { .hero-globe { right: -45%; top: 30%; width: 120vw; opacity: .35; } }
.hero h1 .light { display: block; font: 800 27px/1.3 var(--f-body); text-transform: none; color: var(--gold); margin-top: 14px; }
.hero .tagline { margin: 18px 0; font: 800 20px/1.35 var(--f-body); text-transform: uppercase; letter-spacing: .06em; color: #fff; }
.hero .tagline { display: flex; flex-wrap: wrap; column-gap: 12px; row-gap: 4px; }
.hero .tagline b + b::before { content: "•"; margin-right: 12px; color: var(--gold); }
.hero p.intro { color: var(--white-80); max-width: 720px; }
.countdown { display: flex; gap: 10px; margin: 26px 0 30px; flex-wrap: wrap; }
.countdown div { background: var(--white-10); border: 1px solid var(--white-50); border-radius: var(--r-card); padding: 16px 22px; text-align: center; min-width: 100px; animation: floatUpDown 3s ease-in-out infinite; }
.countdown div:nth-child(2) { animation-delay: .4s; } .countdown div:nth-child(3) { animation-delay: .8s; } .countdown div:nth-child(4) { animation-delay: 1.2s; }
.countdown b { display: block; font: 800 43px/1 var(--f-body); }
.countdown small { font: 800 15px/1.3 var(--f-body); text-transform: uppercase; color: var(--white-80); }
.countdown b.pop { animation: pop .5s ease; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 50px; }
.facts div { background: var(--white-10); border: 1px solid var(--white-50); border-radius: var(--r-btn); padding: 15px 20px; transition: transform 1s cubic-bezier(.2,.7,.2,1), background .4s; }
.facts div:hover { transform: translateY(-6px); background: rgba(255,255,255,.18); }
.facts i { margin-right: 6px; }
.facts small { font: 800 15px/1.3 var(--f-body); text-transform: uppercase; color: var(--gold); }
.facts strong { display: block; font-size: 18px; margin-top: 2px; }
/* staggered entrance on page load */
.hero-text > *, .hero .facts { opacity: 0; animation: heroIn .9s cubic-bezier(.2,.7,.2,1) forwards; }
.hero-text > :nth-child(1) { animation-delay: .1s; } .hero-text > :nth-child(2) { animation-delay: .25s; }
.hero-text > :nth-child(3) { animation-delay: .4s; } .hero-text > :nth-child(4) { animation-delay: .55s; }
.hero-text > :nth-child(5) { animation-delay: .7s; } .hero-text > :nth-child(6) { animation-delay: .85s; }
.hero .facts { animation-delay: 1s; }
@media (max-width: 900px) { .facts { grid-template-columns: repeat(2, 1fr); } }

/* ===== INNER PAGE BANNER ===== */
.page-hero { position: relative; overflow: hidden; color: #fff; padding: 100px 0 90px; background: var(--purple); }
.page-hero .hero-bg { animation-duration: 30s; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: var(--grad-hero); opacity: .9; z-index: 1; }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { font-size: 58px; max-width: 900px; }
.page-hero .lead { color: var(--white-80); margin-top: 14px; }
.page-hero .eyebrow, .page-hero h1, .page-hero .lead, .crumbs { opacity: 0; animation: heroIn .9s cubic-bezier(.2,.7,.2,1) forwards; }
.page-hero h1 { animation-delay: .15s; } .page-hero .lead { animation-delay: .3s; } .crumbs { animation-delay: .45s; }
.crumbs { display: flex; gap: 10px; font: 700 16px var(--f-body); text-transform: uppercase; color: var(--white-80); margin-top: 26px; }
.crumbs a:hover { color: var(--gold); }
.crumbs i { font-size: 11px; align-self: center; }

/* ===== STATS STRIP ===== */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; background: #fff; border: 1px solid var(--tint); border-radius: var(--r-card); padding: 34px; position: relative; z-index: 3; margin-top: -70px; }
.stats div { text-align: center; border-right: 1px solid var(--tint); }
.stats div:last-child { border: 0; }
.stats b { display: block; font: 400 58px/1 var(--f-title); color: var(--crimson); margin-bottom: 8px; }
.stats div:nth-child(even) b { color: var(--purple); }
.stats span { font: 800 15px var(--f-body); color: var(--indigo); text-transform: uppercase; }
.stats-wrap { padding: 0 0 20px; }
@media (max-width: 767px) { .stats { grid-template-columns: repeat(2, 1fr); padding: 24px; } .stats div:nth-child(2) { border: 0; } }

/* ===== PILLARS ===== */
.pillar { border-top: 3px solid var(--crimson) !important; position: relative; overflow: hidden; }
.pillar.red { border-top-color: var(--purple) !important; } .pillar.gold { border-top-color: var(--gold) !important; }
.pillar .big { position: absolute; right: 10px; bottom: -18px; font: 400 112px/1 var(--f-title); color: var(--tint); pointer-events: none; }

/* ===== CHIPS ===== */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.chips span { background: var(--tint); color: var(--indigo); border-radius: var(--r-pill); padding: 9px 18px; font: 700 16px var(--f-body); transition: transform .4s, background .4s, color .4s; }
.chips span:hover { transform: translateY(-3px); background: var(--grad-red); color: #fff; }
.dark .chips span { background: var(--white-10); color: #fff; border: 1px solid var(--white-50); }

/* ===== PROGRAMME (day tabs + timeline) ===== */
.tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 34px 0 30px; }
.tab { text-align: left; background: #fff; border: 1px solid var(--tint); border-radius: var(--r-card); padding: 18px 22px; cursor: pointer; font-family: var(--f-body); transition: all .4s; }
.tab b { display: block; font: 400 25px var(--f-title); color: var(--indigo); }
.tab small { color: var(--grey-text); font-weight: 700; font-size: 15px; text-transform: uppercase; }
.tab:hover { border-color: var(--crimson); }
.tab.on { background: var(--grad-purple); border-color: transparent; transform: translateY(-4px); }
.tab.on b, .tab.on small { color: #fff; }
@media (max-width: 767px) { .tabs { grid-template-columns: repeat(2, 1fr); } }
.day { display: none; }
.day.on { display: block; animation: heroIn .6s ease; }
.day-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 14px; margin-bottom: 22px; }
.day-head h3 { font: 400 31px var(--f-title); }
.day-head span { font: 800 15px var(--f-body); color: var(--crimson); text-transform: uppercase; }
.timeline { position: relative; padding-left: 38px; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 6px; bottom: 6px; width: 3px; background: var(--grad-red); border-radius: 3px; }
.session { position: relative; margin-bottom: 15px; }
.session::before { content: ""; position: absolute; left: -35px; top: 30px; width: 19px; height: 19px; border-radius: 50%; background: #fff; border: 4px solid var(--crimson); z-index: 1; }
.session .card { padding: 24px 28px; }
.session h4 { display: flex; gap: 10px; align-items: center; font-size: 21px; }
.session h4 i { color: var(--crimson); }

/* ===== PACKAGES ===== */
.pkg { display: flex; flex-direction: column; border-top: 3px solid var(--crimson); }
.pkg .badge { align-self: flex-start; font: 800 15px/1.3 var(--f-body); text-transform: uppercase; padding: 6px 12px; border-radius: var(--r-sm); background: var(--tint); color: var(--indigo); margin-bottom: 14px; }
.pkg .badge.hot { background: var(--grad-red); color: #fff; }
.pkg .badge.vip { background: var(--gold); color: var(--purple); }
.price { font: 800 43px/1 var(--f-body); color: var(--purple); margin: 14px 0 6px; }
.price small { font: 700 16px var(--f-body); color: var(--grey-text); margin-left: 6px; }
.pkg .sub { font-size: 17px; color: var(--grey-text); }
.pkg ul { flex: 1; margin: 16px 0 24px; }
.pkg ul li { border-bottom: 1px solid var(--tint); }
.pkg .btn { justify-content: center; }
.pkg.featured { background: var(--grad-purple); color: #fff; border-top-color: var(--gold); }
.pkg.featured h3, .pkg.featured .price { color: #fff; }
.pkg.featured .sub, .pkg.featured .price small { color: var(--white-80); }
.pkg.featured ul li { color: #fff; border-color: var(--white-10); }
.pkg.featured ul li::before { color: var(--gold); }
.table-wrap { overflow-x: auto; border-radius: var(--r-card); border: 1px solid var(--tint); background: #fff; }
table.compare { width: 100%; border-collapse: collapse; min-width: 880px; font-size: 17px; }
.compare th, .compare td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--tint); }
.compare thead th { background: var(--purple); color: #fff; font: 800 15px var(--f-body); text-transform: uppercase; }
.compare tbody tr { transition: background .3s; }
.compare tbody tr:hover { background: var(--bg-soft); }
.compare td:first-child { font: 800 17px var(--f-body); color: var(--indigo); }
.compare .yes { color: #009246; font-weight: 700; } .compare .no { color: #9A9A9A; }
.compare .yes i, .compare .no i { margin-right: 6px; }
.footnote { font-size: 16px; color: var(--grey-text); margin-top: 12px; }

/* ===== STEPS ===== */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 15px; }
.step { position: relative; text-align: center; padding: 30px 20px; }
.step .n { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; font: 400 27px var(--f-title); color: #fff; background: var(--grad-red); animation: floatUpDown 3s ease-in-out infinite; }
.step:nth-child(even) .n { background: var(--grad-purple); animation-delay: .5s; }
.step h4 { margin-bottom: 6px; }
.step p { font-size: 17px; color: var(--grey-text); }

/* ===== DOCUMENT TIMELINES ===== */
.timing { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 24px; background: #fff; border: 1px solid var(--tint); border-radius: var(--r-btn); margin-bottom: 10px; transition: transform .6s, border-color .4s; }
.timing:hover { transform: translateX(8px); border-color: var(--crimson); }
.timing span { font: 800 18px var(--f-body); color: var(--indigo); display: flex; align-items: center; gap: 12px; }
.timing span i { color: var(--crimson); width: 20px; }
.timing b { font: 800 15px var(--f-body); text-transform: uppercase; color: #fff; background: var(--grad-red); padding: 8px 14px; border-radius: var(--r-sm); white-space: nowrap; }

/* ===== NOTICE ===== */
.notice { display: flex; gap: 18px; background: #FBF6E4; border: 1px solid var(--gold); border-left: 5px solid var(--crimson); border-radius: var(--r-card); padding: 24px 28px; }
.notice > i { font-size: 27px; color: var(--crimson); margin-top: 2px; }
.notice h4 { margin-bottom: 6px; }

/* ===== SPONSOR TIERS ===== */
.tier { text-align: center; }
.tier .medal { width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 18px; display: grid; place-items: center; font-size: 36px; animation: floatUpDown 3s ease-in-out infinite; }
.tier.gold-t .medal { background: var(--gold); color: var(--purple); }
.tier.plat-t .medal { background: var(--grad-purple); color: #fff; animation-delay: .5s; }
.tier.strat-t .medal { background: var(--grad-red); color: #fff; animation-delay: 1s; }

/* ===== CTA BAND ===== */
.cta-band { background: var(--grad-flag); color: #fff; border-radius: var(--r-lg); padding: 60px; display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: var(--white-80); }
@media (max-width: 767px) { .cta-band { grid-template-columns: 1fr; padding: 36px 24px; } }

/* ===== FAQ ===== */
details { background: #fff; border: 1px solid var(--tint); border-radius: var(--r-btn); padding: 18px 22px; margin-bottom: 10px; }
details[open] { background: var(--tint); }
summary { font: 800 20px/1.35 var(--f-body); color: var(--indigo); cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 27px; line-height: 1; color: var(--crimson); transition: transform .4s; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin-top: 10px; animation: faqIn .4s ease; }
.faq-group { margin-bottom: 44px; }
.faq-group > h3 { margin-bottom: 16px; display: flex; align-items: center; gap: 12px; font: 400 31px var(--f-title); }
.faq-group > h3 i { color: var(--crimson); font-size: 25px; }

/* ===== FORMS ===== */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form .full { grid-column: 1 / -1; }
.form label { display: block; font: 800 16px var(--f-body); color: var(--indigo); margin-bottom: 6px; }
.form label .req { color: var(--crimson); }
.form input, .form select, .form textarea { width: 100%; font: 500 17px var(--f-body); color: var(--ink); padding: 14px 16px; border: 1px solid #D6D3E3; border-radius: var(--r-btn); background: #fff; transition: border-color .3s, box-shadow .3s; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 3px var(--tint); }
.form textarea { min-height: 130px; resize: vertical; }
.form .check { display: flex; gap: 10px; align-items: flex-start; font: 500 16px var(--f-body); color: var(--grey-text); }
.form .check input { width: auto; margin-top: 4px; }
.form-msg { display: none; margin-top: 18px; padding: 16px 20px; border-radius: var(--r-btn); font-weight: 600; }
.form-msg.ok { display: block; background: #E6F4EC; color: #00703A; }
.form-msg.err { display: block; background: #FBE9EA; color: var(--maroon); }
@media (max-width: 767px) { .form { grid-template-columns: 1fr; } }
.contact-item { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 24px; }
.contact-item .icon { margin: 0; flex: none; width: 50px; height: 50px; font-size: 22px; }

/* ===== PHOTO MARQUEE (gallery strip) ===== */
.marquee { overflow: hidden; margin-top: 40px; }
.track { display: flex; gap: 10px; width: max-content; animation: scroll 45s linear infinite; }
.track.rev { animation-direction: reverse; margin-top: 10px; }
.marquee:hover .track { animation-play-state: paused; }
.track img { width: 300px; height: 210px; object-fit: cover; border-radius: var(--r-btn); transition: transform .4s; }
.track img:hover { transform: scale(1.04); }

/* ===== FOOTER (ecovay: red → purple gradient) ===== */
footer.site { background: var(--grad-footer); color: var(--white-80); padding: 80px 0 26px; font-size: 18px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 50px; }
.foot-brand .foot-logo { display: inline-block; background: #fff; border-radius: var(--r-btn); padding: 10px 14px; margin-bottom: 18px; }
.foot-brand .foot-logo img { height: 56px; }
.foot-brand h3 { color: #fff; font-size: 21px; }
.foot-brand p { margin-top: 10px; }
footer.site h4 { color: #fff; margin-bottom: 18px; font: 500 18px var(--f-body); text-transform: uppercase; letter-spacing: .5px; }
footer.site ul { list-style: none; }
footer.site li { margin-bottom: 10px; }
footer.site li a { transition: color .3s, padding .3s; }
footer.site li a:hover { color: #fff; padding-left: 6px; }
footer.site li i { color: var(--gold); width: 22px; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--white-10); border: 1px solid var(--white-50); color: #fff; transition: transform .4s, background .4s; }
.socials a:hover { transform: translateY(-4px); background: var(--purple); }
.copy { border-top: 1px solid var(--white-50); padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 16px; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }

/* ===== FLOATING BUTTONS (WhatsApp like ecovay's Chaty button, back to top) ===== */
.chat { position: fixed; right: 20px; bottom: 20px; width: 56px; height: 56px; border-radius: 50%; background: #49E670; color: #fff; display: grid; place-items: center; font-size: 31px; box-shadow: 0 4px 14px rgba(0,0,0,.25); z-index: 60; }
.chat::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #49E670; z-index: -1; animation: pulse 2s ease-out infinite; }
.to-top { position: fixed; right: 25px; bottom: 90px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--grad-red); color: #fff; font-size: 18px; cursor: pointer; z-index: 60; opacity: 0; transform: translateY(20px); pointer-events: none; transition: all .4s; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }

/* =====================================================================
   ANIMATIONS (same set as ecovay.org)
   ===================================================================== */
@keyframes floatUpDown { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.12); } }
@keyframes heroIn { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
@keyframes pop { 0% { transform: scale(1); } 40% { transform: scale(1.2); color: var(--gold); } 100% { transform: scale(1); } }
@keyframes scroll { to { transform: translateX(-50%); } }
@keyframes faqIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
@keyframes pulse { from { transform: scale(1); opacity: .7; } to { transform: scale(1.8); opacity: 0; } }
@keyframes rotateGlow { to { transform: translate(-50%, -50%) rotate(360deg); } }

/* Scroll reveal: fadeInUp with stagger (--d is set by JS) */
.reveal { opacity: 0; transform: translateY(50px); }
.reveal.from-left { transform: translateX(-60px); }
.reveal.from-right { transform: translateX(60px); }
.reveal.zoom { transform: scale(.9); }
.reveal.reveal { transition-property: opacity, transform, background, border-color, color;
  transition-duration: .9s; transition-timing-function: cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* Hover lift on cards (ecovay: translateY -7px over 1000ms) */
.card { transition: transform 1s cubic-bezier(.2,.7,.2,1), border-color .4s; }
.card:hover, .reveal.in.card:hover { transform: translateY(-7px); border-color: var(--crimson); }
.reveal.in.btn:hover { transform: scale(1.06); }
.reveal.in:is(.chips span):hover { transform: translateY(-3px); }
.reveal.in.timing:hover { transform: translateX(8px); }

/* Rotating border (ecovay's .fla-glow: indigo/purple conic gradient) */
.glow { position: relative; overflow: hidden; isolation: isolate; border-color: transparent !important; }
.glow::before { content: ""; position: absolute; top: 50%; left: 50%; width: 220%; aspect-ratio: 1; transform: translate(-50%, -50%);
  background: conic-gradient(transparent, #332C63, #4B3D8F, #6A57C5, transparent 25%); animation: rotateGlow 4s linear infinite; z-index: -2; }
.glow::after { content: ""; position: absolute; inset: 3px; border-radius: calc(var(--r-card) - 3px); background: #fff; z-index: -1; }
.glow.featured { background: transparent; }
.glow.featured::after { background: var(--grad-purple); }
.glow.featured::before { background: conic-gradient(transparent, var(--gold), var(--crimson), transparent 25%); }
.glow.reverse::before { animation-direction: reverse; }

/* Respect visitors who turn off animations */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .hero-text > *, .hero .facts, .page-hero h1, .page-hero .lead, .page-hero .eyebrow, .crumbs { opacity: 1 !important; transform: none !important; }
}

/* ===== RESPONSIVE (ecovay breakpoints: 1024px / 767px) ===== */
@media (max-width: 1024px) {
  :root { --section: 70px; }
  h1 { font-size: 52px; } h2 { font-size: 45px; } h3 { font-size: 22px; }
  .page-hero h1 { font-size: 47px; }
  .lead { font-size: 19px; } .price, .countdown b { font-size: 34px; }
}
@media (max-width: 767px) {
  :root { --section: 50px; }
  body { font-size: 17px; }
  h1, .page-hero h1 { font-size: 40px; } h2 { font-size: 36px; } h3 { font-size: 21px; }
  .hero h1 .light { font-size: 21px; }
  .lead { font-size: 18px; } .price, .countdown b { font-size: 30px; }
  .countdown div { min-width: 0; flex: 1; padding: 12px 8px; }
  .countdown small { font-size: 11px; }
  .hero .tagline { font-size: 16px; }
  .btn { font-size: 15px; }
  .container { padding: 0 16px; }
  .logo img { height: 46px; }
  .card { padding: 24px; }
  .stats b { font-size: 45px; }
}

/* ===== THANK-YOU PAGE (after applying) ===== */
.ty-card { text-align: center; padding: 50px 40px; border-top: 4px solid var(--crimson); }
.ty-check { width: 84px; height: 84px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center; font-size: 36px; color: #fff; background: var(--grad-red); animation: tyPop .7s cubic-bezier(.2,.7,.2,1.4) both; box-shadow: 0 0 0 10px var(--tint); }
@keyframes tyPop { from { transform: scale(0); } to { transform: scale(1); } }
.ty-ref { font: 400 44px/1.1 var(--f-title); color: var(--purple); letter-spacing: 1px; margin: 4px 0 14px; }
.ty-sub { color: var(--grey-text); max-width: 560px; margin: 0 auto; }
.ty-pay { margin-top: 34px; padding-top: 30px; border-top: 1px dashed var(--tint); }
.ty-pay h3 { margin-bottom: 8px; }
.ty-pay > p { margin-bottom: 20px; }
.step .n i { font-size: 22px; }

/* ===== PAYMENT RECEIPT ===== */
.receipt { padding: 0; overflow: hidden; border-top: 4px solid var(--crimson); }
.receipt-loading, .receipt-msg { padding: 60px 30px; text-align: center; color: var(--grey-text); font-weight: 700; }
.receipt-loading i { color: var(--crimson); margin-right: 8px; }
.receipt-test { background: #FBF6E4; color: var(--maroon); text-align: center; font: 800 14px var(--f-body); padding: 10px; letter-spacing: .05em; }
.receipt-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 30px 36px; border-bottom: 1px solid var(--tint); }
.receipt-head img { height: 64px; width: auto; }
.receipt-head > div { text-align: right; }
.receipt-label { font: 400 30px var(--f-title); color: var(--indigo); text-transform: uppercase; }
.receipt-no { color: var(--grey-text); font-weight: 700; }
.receipt-paid { margin: 26px 36px 8px; padding: 16px 20px; border-radius: var(--r-btn); background: #E6F4EC; color: #00703A; font-size: 18px; }
.receipt-paid i { margin-right: 8px; }
.receipt-table { width: calc(100% - 72px); margin: 10px 36px 20px; border-collapse: collapse; font-size: 17px; }
.receipt-table td { padding: 13px 0; border-bottom: 1px solid var(--tint); }
.receipt-table td:first-child { color: var(--grey-text); width: 38%; }
.receipt-total td { border-bottom: 0; font: 800 22px var(--f-body); color: var(--purple) !important; padding-top: 18px; }
.receipt-foot { background: var(--bg-soft); padding: 18px 36px; font-size: 14px; color: var(--grey-text); text-align: center; }
@media (max-width: 600px) {
  .receipt-head { flex-direction: column; text-align: center; } .receipt-head > div { text-align: center; }
  .receipt-table { width: calc(100% - 40px); margin: 10px 20px 20px; } .receipt-paid { margin: 20px 20px 8px; }
  .ty-ref { font-size: 32px; } .ty-card { padding: 40px 20px; }
}

/* ===== PRINT: only the receipt (Print / Save as PDF button) ===== */
@media print {
  .topbar, header.site, .page-hero, footer.site, .no-print, .chat, .to-top, .progress { display: none !important; }
  body { background: #fff; }
  section { padding: 0; }
  .receipt { border: 1px solid #ccc; box-shadow: none; transform: none !important; opacity: 1 !important; }
  .receipt-head img { height: 54px; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
