/* ═══════════════════════════════════════════
   INVASIÓN CARTAGENA — Design System v3
   Elegant · Minimal · Dark
═══════════════════════════════════════════ */

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

:root {
  --dark:    #0D0B16;
  --dark2:   #16132A;
  --surface: #1E1A30;
  --crema:   #FAF8F4;
  --arena:   #F2EDE4;
  --coral:   #E8512E;
  --coral2:  #C93E1E;
  --turq:    #0DC5D5;
  --turq2:   #09A8B6;
  --sol:     #F5A623;
  --text:    #0D0B16;
  --white:   #FAFAF8;
  --muted:   rgba(250,248,244,.45);
  --r-sm:    6px;
  --r-md:    12px;
  --r-lg:    20px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--dark);
  color: var(--white);
  font-family: 'Nunito', sans-serif;
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; }

/* ── TICKER ── */
.ticker {
  background: var(--coral); color: #fff;
  padding: 7px 0; overflow: hidden; white-space: nowrap;
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  position: sticky; top: 0; z-index: 500;
}
.ticker-track { display: inline-flex; animation: tickroll 36s linear infinite; }
.ticker-track span { padding: 0 28px; }
.ticker-track .dot { color: rgba(255,255,255,.45); }
@keyframes tickroll { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

/* ── NAV ── */
nav {
  position: sticky; top: 30px; z-index: 400;
  background: rgba(13,11,22,.92); backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,.07);
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px clamp(16px,3vw,40px);
}
.nav-logo img { height: 26px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.nav-links a { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.55); transition: color .18s; }
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-sep { width: 1px; height: 14px; background: rgba(255,255,255,.12); }
.lang-btns { display: flex; gap: 3px; }
.lang-btn {
  background: none; border: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.55);
  font-family: 'Nunito', sans-serif; font-size: 10px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; padding: 4px 10px;
  cursor: pointer; border-radius: 99px; transition: all .18s;
}
.lang-btn.active, .lang-btn:hover { background: var(--white); color: var(--dark); border-color: var(--white); }
.nav-cta {
  background: var(--coral); color: #fff !important; font-size: 11px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; padding: 9px 22px;
  border-radius: 99px; transition: all .2s;
}
.nav-cta:hover { background: var(--coral2); transform: translateY(-1px); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Nunito', sans-serif; font-size: 12px; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 14px 28px; border-radius: 99px;
  cursor: pointer; transition: all .22s; border: none;
}
.btn-coral { background: var(--coral); color: #fff; }
.btn-coral:hover { background: var(--coral2); transform: translateY(-2px); color: #fff; }
.btn-turq { background: var(--turq); color: var(--dark); }
.btn-turq:hover { background: var(--turq2); transform: translateY(-2px); color: var(--dark); }
.btn-outline { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,.3); }
.btn-outline:hover { background: var(--white); color: var(--dark); transform: translateY(-2px); }
.btn-outline-dark { background: transparent; color: var(--dark); border: 1px solid rgba(13,11,22,.25); }
.btn-outline-dark:hover { background: var(--dark); color: var(--white); transform: translateY(-2px); }
.btn-white { background: var(--white); color: var(--dark); }
.btn-white:hover { background: var(--crema); transform: translateY(-2px); color: var(--dark); }

/* ── LAYOUT ── */
.inner { max-width: 840px; margin: 0 auto; padding: 0 clamp(20px,4vw,48px); }
section { padding: 80px 0; }

/* ── TYPE ── */
.s-label {
  font-size: 10px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase;
  color: var(--coral); display: block; margin-bottom: 12px;
}
.s-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(34px,4.5vw,58px);
  font-weight: 300; line-height: 1.12; margin-bottom: 28px;
  letter-spacing: -.01em;
}
.s-title em { font-style: italic; color: var(--coral); }
.s-title strong { font-weight: 600; }

/* ── NAV PAGE EYEBROW ── */
.page-hero-eyebrow {
  display: inline-block; font-size: 10px; font-weight: 800; letter-spacing: .22em;
  text-transform: uppercase; color: var(--coral); margin-bottom: 14px;
}

/* ── DIVIDER ── */
.divider { width: 48px; height: 2px; background: var(--coral); margin-bottom: 28px; }
.divider.center { margin: 0 auto 28px; }

/* ── URGENCY BAND ── */
.urg-band {
  background: var(--surface); border-top: 1px solid rgba(255,255,255,.07);
  padding: 14px clamp(16px,3vw,40px);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px;
}
.urg-text { font-size: 12px; font-weight: 700; letter-spacing: .04em; color: rgba(255,255,255,.7); }
.urg-text strong { color: var(--sol); }
.urg-cd { display: flex; gap: 6px; }
.urg-unit {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-sm); padding: 6px 10px;
  display: flex; flex-direction: column; align-items: center; min-width: 44px;
}
.urg-n { font-size: 18px; font-weight: 900; line-height: 1; color: var(--sol); }
.urg-l { font-size: 7px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-top: 2px; color: var(--muted); }

/* ── FEATURES ── */
.feat-row {
  display: flex; gap: 16px; align-items: flex-start; padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.feat-row:last-child { border-bottom: none; }
.feat-icon { font-size: 22px; min-width: 28px; margin-top: 1px; }
.feat-label { font-size: 10px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--coral); margin-bottom: 4px; }
.feat-desc { font-size: 13px; color: rgba(255,255,255,.6); line-height: 1.65; }

/* ── GALLERY ── */
.g-masonry {
  columns: 4;
  column-gap: 3px;
}
.g-masonry-item {
  break-inside: avoid;
  margin-bottom: 3px;
  overflow: hidden;
  background: var(--surface);
}
.g-masonry-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform .5s ease;
}
.g-masonry-item:hover img { transform: scale(1.03); }

@media(max-width:600px){ .g-masonry{ columns: 2; } }

/* ── PRESENTER CARDS ── */
.p-card {
  background: var(--surface); border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--r-md); overflow: hidden;
  transition: transform .22s, border-color .22s;
}
.p-card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,.15); }
.p-top { height: 2px; }
.p-c0 .p-top { background: var(--coral); }
.p-c1 .p-top { background: var(--turq); }
.p-c2 .p-top { background: var(--sol); }
.p-c3 .p-top { background: rgba(255,255,255,.2); }
.p-c4 .p-top { background: var(--coral); }
.p-c5 .p-top { background: var(--turq); }
.p-img-wrap { position: relative; overflow: hidden; background: var(--dark2); aspect-ratio: 4/5; }
.p-img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; transition: transform .4s; }
.p-card:hover .p-img { transform: scale(1.04); }
.p-ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 52px; opacity: .1; }
.p-badge {
  position: absolute; top: 10px; left: 10px;
  font-size: 8px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 99px; background: var(--coral); color: #fff;
}
.p-badge.org { background: var(--surface); color: var(--sol); border: 1px solid rgba(255,255,255,.15); }
.p-info { padding: 16px; }
.p-name { font-family: 'Cormorant Garamond', serif; font-size: 20px; font-weight: 400; color: var(--white); line-height: 1.1; margin-bottom: 3px; }
.p-loc { font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--coral); margin-bottom: 10px; }
.p-bio { font-size: 12px; line-height: 1.65; color: rgba(255,255,255,.5); margin-bottom: 12px; }
.p-ig {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: rgba(255,255,255,.4); border: 1px solid rgba(255,255,255,.1);
  border-radius: 99px; padding: 4px 12px; transition: all .18s;
  max-width: 100%; word-break: break-all;
}
.p-ig:hover { color: var(--white); border-color: rgba(255,255,255,.3); }

/* ── PRICING ── */
.pr-card {
  background: var(--surface); border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-md); padding: 28px 24px; position: relative;
  transition: transform .2s, border-color .2s;
}
.pr-card:hover { transform: translateY(-3px); border-color: rgba(255,255,255,.18); }
.pr-card.c0 .pr-amt { color: var(--turq); }
.pr-card.c1 .pr-amt { color: var(--coral); }
.pr-card.c2 .pr-amt { color: var(--sol); }
.pr-card.c3 .pr-amt { color: rgba(255,255,255,.9); }
.pr-best {
  position: absolute; top: -10px; right: 16px;
  background: var(--coral); color: #fff;
  font-size: 8px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 99px;
}
.pr-occ { font-size: 10px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.pr-amt { font-family: 'Cormorant Garamond', serif; font-size: 52px; font-weight: 300; line-height: 1; margin-bottom: 2px; }
.pr-per { font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pr-after { margin-top: 14px; font-size: 11px; font-weight: 600; color: rgba(255,255,255,.3); padding-top: 14px; border-top: 1px solid rgba(255,255,255,.06); }

/* ── SCHEDULE ── */
.s-day {
  display: grid; grid-template-columns: 130px 1fr;
  background: var(--surface); border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--r-md); overflow: hidden;
}
.s-date { padding: 18px 16px; display: flex; flex-direction: column; justify-content: center; border-right: 1px solid rgba(255,255,255,.06); }
.s-dn { font-size: 8px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 4px; color: var(--muted); }
.s-dd { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 300; line-height: 1.1; color: var(--white); }
.s-dl { font-size: 9px; font-weight: 700; margin-top: 3px; color: var(--coral); letter-spacing: .06em; text-transform: uppercase; }
.s-evts { padding: 16px 20px; display: flex; flex-direction: column; gap: 8px; }
.s-evt { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.55; color: rgba(255,255,255,.75); }
.s-ei { font-size: 15px; min-width: 20px; margin-top: 1px; }

/* ── FORM ── */
.bk-form { display: flex; flex-direction: column; gap: 14px; }
.f-sec {
  font-size: 9px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase;
  color: var(--coral); margin-top: 6px; padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.07);
}
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 9px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  background: var(--surface); border: 1px solid rgba(255,255,255,.1); color: var(--white);
  font-family: 'Nunito', sans-serif; font-size: 14px; font-weight: 500;
  padding: 12px 16px; border-radius: var(--r-sm); outline: none;
  transition: border-color .2s; width: 100%;
  -webkit-appearance: none; appearance: none;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,.2); }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='rgba(255,255,255,.4)' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; cursor: pointer; }
.field select option { background: var(--dark2); color: var(--white); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--turq2); }
.field textarea { resize: vertical; min-height: 90px; }
.hidden { display: none !important; }
.f-disc { font-size: 11px; color: var(--muted); text-align: center; margin-top: 4px; }
.f-ok { display: none; background: var(--surface); border: 1px solid rgba(255,255,255,.1); border-radius: var(--r-lg); padding: 40px; text-align: center; }
.f-ok .ico { font-size: 44px; margin-bottom: 12px; }
.f-ok h3 { font-family: 'Cormorant Garamond', serif; font-size: 36px; font-weight: 300; color: var(--white); margin-bottom: 8px; }
.f-ok p { font-size: 14px; color: var(--muted); font-weight: 500; }

/* ── FAQ ── */
.fq { border-bottom: 1px solid rgba(255,255,255,.07); }
.fq:last-child { border-bottom: none; }
.fq-q {
  width: 100%; background: none; border: none; text-align: left; padding: 18px 0;
  font-family: 'Nunito', sans-serif; font-size: 14px; font-weight: 600; color: rgba(255,255,255,.8);
  cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.fq-q:hover { color: var(--white); }
.fq-ico { color: var(--coral); flex-shrink: 0; font-style: normal; font-size: 18px; transition: transform .22s; }
.fq.open .fq-ico { transform: rotate(45deg); }
.fq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.fq.open .fq-a { max-height: 300px; }
.fq-ai { padding: 0 0 18px; font-size: 13px; color: var(--muted); line-height: 1.8; }

/* ── FOOTER ── */
footer { background: var(--dark2); padding: 60px clamp(16px,3vw,40px) 28px; border-top: 1px solid rgba(255,255,255,.06); }
.ft-grid { max-width: 840px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.ft-col h4 { font-size: 10px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--white); margin-bottom: 16px; }
.ft-col a { display: block; font-size: 12px; font-weight: 500; color: var(--muted); margin-bottom: 8px; transition: color .18s; }
.ft-col a:hover { color: var(--white); }
.ft-col p { font-size: 12px; color: var(--muted); line-height: 1.8; }
.ft-logo img { height: 28px; filter: brightness(0) invert(1); opacity: .4; margin-bottom: 12px; }
.ft-bar { max-width: 840px; margin: 0 auto; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.06); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.ft-copy, .ft-sp { font-size: 11px; color: rgba(255,255,255,.2); }
.ft-sp a { color: var(--coral); }

/* ── FADE IN ── */
.fade { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s ease; }
.fade.on { opacity: 1; transform: none; }

/* ── RESPONSIVE ── */
@media(max-width:1000px) { .ft-grid { grid-template-columns: 1fr 1fr; } }
/* ── MOBILE MENU ── */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; background: none; border: none; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--white); border-radius: 2px; }
.mob-menu { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: var(--dark); z-index: 999; flex-direction: column; align-items: center; justify-content: center; gap: 28px; }
.mob-menu.open { display: flex; }
.mob-menu a { font-size: 22px; font-weight: 700; color: var(--white); letter-spacing: .08em; text-transform: uppercase; }
.mob-menu a:hover { color: var(--coral); }
.mob-close { position: absolute; top: 20px; right: 24px; font-size: 32px; color: var(--white); cursor: pointer; background: none; border: none; line-height: 1; }

@media(max-width:900px) {
  section { padding: 48px 0; }
  .ft-grid { grid-template-columns: 1fr; gap: 28px; }
  .s-day { grid-template-columns: 100px 1fr; }
  /* Nav: hide all links except instructors + cta */
  nav .nav-links > a:not(.nav-cta):not(.nav-instructors) { display: none; }
  nav .nav-links > a.nav-instructors { display: inline-flex; font-size: 10px; }
  .hamburger { display: flex; }
  /* Gallery compact */
  .g-masonry { columns: 2; }
  .g-masonry-item { break-inside: avoid; margin-bottom: 3px; overflow: hidden; max-height: 200px; }
  .g-masonry-item img { width: 100%; height: 200px; object-fit: cover; }
  /* Hosts 3 per row */
  .hosts-grid { grid-template-columns: repeat(3,1fr) !important; gap: 10px !important; }
  .host-photo { height: 110px !important; }
  .host-name { font-size: 13px !important; }
  .host-bio { display: none !important; }
  /* Presenters 3 per row */
  .p-grid { grid-template-columns: repeat(3,1fr) !important; gap: 10px !important; }
  .p-bio { display: none !important; }
  /* About section - stack 8 and Years vertically */
  .about-num-block { position: static !important; display: flex !important; flex-direction: column !important; align-items: flex-start !important; gap: 4px !important; }
  .about-num { font-size: 90px !important; }
  .about-num-sub { display: block !important; font-size: 9px !important; color: var(--coral) !important; margin-top: 0 !important; }
}
@media(max-width:640px) {
  .f-row { grid-template-columns: 1fr; }
  .s-day { display: block; }
  .s-date { border-right: none; border-bottom: 1px solid rgba(255,255,255,.06); }
  .hosts-grid { grid-template-columns: repeat(3,1fr) !important; }
  .host-photo { height: 90px !important; }
  .p-grid { grid-template-columns: repeat(3,1fr) !important; }
}
