/* =====================================================================
   International Department · Escuela de Negocios · Cámara de Sevilla
   Sistema visual derivado de en.camaradesevilla.com
   ===================================================================== */

:root {
  --blue: #002171;         /* primario */
  --navy: #071647;         /* franjas, footer */
  --ink: #1C1E27;          /* titulares oscuros */
  --text: #757783;         /* cuerpo */
  --text-2: #AEB2C2;
  --beige: #E8E4E4;        /* fondo alterno */
  --beige-2: #F3F0EF;
  --cloud: #F1F2F6;        /* tarjetas */
  --line: #E1E3EA;
  --accent: #4D5FE3;       /* hexágonos */
  --sky: #6EC1E4;
  --white: #fff;

  --font: "Titillium Web", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: 1140px;
  --radius: 3px;
  --radius-lg: 14px;
  --shadow: 0 10px 30px rgba(7, 22, 71, .08);
  --shadow-lg: 0 24px 60px rgba(7, 22, 71, .16);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.8; color: var(--text);
  background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent); }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.15; color: var(--blue); font-weight: 600; }
p { margin: 0 0 1.2em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
strong { color: var(--navy); font-weight: 700; }
.prose strong { color: var(--navy); }
.prose p:last-child { margin-bottom: 0; }
.prose h3 { font-size: 20px; margin-top: 1.4em; color: var(--navy); }
.prose ul { list-style: disc; padding-left: 1.3em; margin-bottom: 1.2em; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }

.container { width: min(var(--container), 100% - 40px); margin-inline: auto; }
.icon { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; display: inline-block; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--blue); color: #fff; padding: 8px 14px; z-index: 999; }
.skip-link:focus { left: 8px; }

/* ---------- tipografía */
.h1 { font-size: clamp(34px, 4.2vw, 48px); font-weight: 500; letter-spacing: -.01em; }
.h2 { font-size: clamp(28px, 3.2vw, 38px); font-weight: 500; letter-spacing: -.01em; }
.h3 { font-size: 24px; font-weight: 600; color: var(--navy); }
.kicker {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}
.kicker::before { content: ""; display: inline-block; width: 22px; height: 2px; background: currentColor; vertical-align: middle; margin-right: 10px; }
.kicker--light { color: var(--sky); }
.lead { font-size: 20px; line-height: 1.55; color: rgba(0, 0, 0, .77); margin-bottom: 1.2em; }
.lead p { margin: 0 0 1em; }
.lead--narrow { max-width: 820px; margin-bottom: 48px; }
.section__head { max-width: 760px; margin-bottom: 48px; }
.section__head .lead { margin-bottom: 0; }
.section__head--light h2 { color: #fff; }
.section__head--light .lead { color: rgba(255, 255, 255, .8); }
.section__foot { text-align: center; margin-top: 44px; }

/* ---------- botones */
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 13px 26px; border-radius: var(--radius);
  font: 700 12px/1 var(--font); letter-spacing: 2px; text-transform: uppercase; cursor: pointer;
  border: 1px solid transparent; transition: all .25s var(--ease); white-space: nowrap;
}
.btn .icon { width: 1.3em; height: 1.3em; transition: transform .25s; }
.btn:hover .icon:last-child { transform: translateX(3px); }
.btn--solid { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn--solid:hover { background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: var(--shadow); }
.btn--outline { background: #fff; color: var(--blue); border-color: var(--blue); }
.btn--outline:hover { background: var(--blue); color: #fff; }
.btn--light { background: #fff; color: var(--blue); border-color: #fff; }
.btn--light:hover { background: var(--sky); border-color: var(--sky); color: var(--navy); }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); }
.btn--ghost-light:hover { background: rgba(255, 255, 255, .12); border-color: #fff; color: #fff; }
.btn--sm { padding: 10px 18px; font-size: 11px; }
.btn--block { width: 100%; justify-content: center; }
.btn + .btn { margin-left: 10px; }
.btn--block + .btn--block { margin: 10px 0 0; }

.pill { display: inline-block; padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--navy); font-size: 13px; font-weight: 600; margin: 0 6px 8px 0; }
.pill--muted { color: var(--text-2); background: var(--cloud); border-color: var(--cloud); }
.badge { display: inline-block; padding: 5px 12px; border-radius: 999px; background: var(--blue); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; }
.badge--active { background: #1e9e6a; }
.badge--completed { background: var(--navy); }
.tag-es { font-size: 10px; font-weight: 700; letter-spacing: 1px; background: var(--accent); color: #fff; padding: 2px 6px; border-radius: 3px; margin-left: 4px; vertical-align: 2px; }

/* ---------- hexágono (Emprésate) */
.hex {
  --size: 64px; width: var(--size); height: var(--size); display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(145deg, var(--blue), var(--accent)); color: #fff; flex: none;
  clip-path: polygon(25% 3%, 75% 3%, 100% 50%, 75% 97%, 25% 97%, 0 50%);
  transition: transform .35s var(--ease);
}
.hex .icon { width: 44%; height: 44%; }
.hex--alt { background: linear-gradient(145deg, var(--accent), var(--sky)); }
.hex--sm { --size: 50px; }

/* ---------- alertas */
.alert { padding: 14px 18px; border-radius: var(--radius); margin: 20px 0; font-weight: 600; display: flex; gap: 10px; align-items: center; }
.alert--success { background: #e7f6ee; color: #1a6e47; }
.alert--error { background: #fdecec; color: #a12727; }

/* =====================================================================
   TOPBAR + HEADER
   ===================================================================== */
.topbar { background: var(--navy); color: #fff; font-size: 13px; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; min-height: 40px; gap: 20px; }
.topbar a { color: #fff; opacity: .9; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.topbar a:hover { opacity: 1; color: var(--sky); }
.topbar__left, .topbar__right { display: flex; align-items: center; gap: 22px; }
.topbar__addr { display: inline-flex; align-items: center; gap: 6px; opacity: .8; }
.topbar__social { display: inline-flex; gap: 12px; margin-left: 8px; }
.topbar__social .icon { width: 15px; height: 15px; }

.header { background: #fff; position: sticky; top: 0; z-index: 90; box-shadow: 0 1px 0 var(--line); transition: box-shadow .3s; }
.header.is-scrolled { box-shadow: 0 6px 24px rgba(7, 22, 71, .08); }
.header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 84px; gap: 24px; width: min(1320px, 100% - 40px); }

.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--blue); }
.brand__img { height: 48px; width: auto; }
.brand__mark { width: 44px; height: 44px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; white-space: nowrap; }
.brand__text strong { font-size: 17px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: var(--blue); }
.brand__text small { font-size: 9px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text); margin-top: 3px; }
.brand__badge { margin-left: 10px; padding: 5px 10px; border: 1px solid var(--blue); border-radius: 3px; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; font-weight: 700; color: var(--blue); }
.brand--light .brand__text strong, .brand--light .brand__text small { color: #fff; }

.nav__list { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; justify-content: flex-end; }
.nav__list > li { position: relative; }
.nav__link { display: inline-flex; align-items: center; gap: 6px; padding: 10px 11px; white-space: nowrap; color: var(--ink); font-weight: 600; font-size: 14px; border-radius: 6px; }
.nav__link:hover, .nav__link.is-active { color: var(--blue); background: var(--cloud); }
.caret { width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); opacity: .6; }
.sub {
  position: absolute; top: 100%; left: 0; min-width: 280px; background: #fff; border-radius: 8px; padding: 10px;
  box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .25s var(--ease); z-index: 20;
}
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: translateY(0); }
.sub a { display: block; padding: 10px 14px; color: var(--ink); border-radius: 6px; font-size: 14px; font-weight: 600; }
.sub a:hover { background: var(--cloud); color: var(--blue); }
.sub li:first-child a { color: var(--accent); border-bottom: 1px solid var(--line); border-radius: 6px 6px 0 0; margin-bottom: 4px; }
.nav__cta { margin-left: 10px; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; color: var(--blue); cursor: pointer; padding: 8px; }
.nav-toggle .icon { width: 100%; height: 100%; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

/* =====================================================================
   HERO (home)
   ===================================================================== */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(120deg, var(--navy) 0%, var(--blue) 55%, #1a3aa8 100%);
}
.hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 80% 20%, rgba(110, 193, 228, .25), transparent 60%); pointer-events: none; }
.hero__pattern, .cta-band__pattern, .project-feature__pattern, .page-hero__pattern, .calendly-section__pattern, .notfound__pattern {
  position: absolute; right: -40px; bottom: -40px; width: 560px; color: rgba(255, 255, 255, .18); pointer-events: none;
}
.network { width: 100%; height: auto; }
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; padding: 90px 0 110px; }
.hero__title { font-size: clamp(38px, 5.2vw, 62px); font-weight: 600; line-height: 1.05; color: #fff; letter-spacing: -.015em; margin-bottom: 24px; }
.hl { display: inline-block; background: #fff; color: var(--blue); padding: 0 .25em; line-height: 1.15; transform: rotate(-1deg); box-decoration-break: clone; }
.hero__sub { font-size: 19px; line-height: 1.6; color: rgba(255, 255, 255, .85); max-width: 560px; margin-bottom: 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__actions .btn + .btn { margin-left: 0; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 40px; font-size: 14px; color: rgba(255, 255, 255, .85); }
.hero__chips li { display: inline-flex; align-items: center; gap: 8px; }
.hero__chips .icon { color: var(--sky); }

.hero__visual { position: relative; min-height: 460px; }
.hero__beige { position: absolute; right: -80px; top: -40px; width: 78%; height: 110%; background: rgba(232, 228, 228, .12); border-radius: 30px 0 0 30px; z-index: 0; }
.hero__frame {
  position: relative; z-index: 1; width: 88%; margin-left: auto; aspect-ratio: 4 / 3.4; border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(160deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .04)); border: 1px solid rgba(255, 255, 255, .22);
  box-shadow: var(--shadow-lg); backdrop-filter: blur(2px);
}
.hero__frame img { width: 100%; height: 100%; object-fit: cover; }
.hero__sky { position: absolute; inset: 6% 2% 2%; color: #fff; display: flex; align-items: flex-end; }
.hero__sky svg { width: 100%; height: auto; filter: drop-shadow(0 6px 20px rgba(0, 0, 0, .25)); }
.hero__stat {
  position: absolute; z-index: 2; background: #fff; color: var(--blue); border-radius: 10px; padding: 14px 20px; box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; line-height: 1.1; min-width: 150px; animation: float 6s ease-in-out infinite;
}
.hero__stat strong { font-size: 34px; font-weight: 700; }
.hero__stat span { font-size: 12px; color: var(--text); margin-top: 4px; }
.hero__stat--a { left: -10px; top: 28px; }
.hero__stat--b { right: -6px; bottom: 30px; animation-delay: -3s; }
@keyframes float { 50% { transform: translateY(-8px); } }

/* ---------- ticker */
.ticker { background: var(--ink); color: #fff; overflow: hidden; white-space: nowrap; padding: 14px 0; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; font-weight: 600; }
.ticker__track { display: inline-flex; gap: 48px; animation: ticker 40s linear infinite; padding-left: 48px; }
.ticker__item { display: inline-flex; align-items: center; gap: 8px; }
.ticker__item .icon { color: var(--sky); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* =====================================================================
   SECCIONES
   ===================================================================== */
.section { padding: 96px 0; position: relative; }
.section--alt { background: var(--beige-2); }
.section--navy { background: var(--navy); color: rgba(255, 255, 255, .85); }
.section--navy h2 { color: #fff; }

/* split beige 60% */
.split--beige { background: linear-gradient(90deg, var(--beige) 0 58%, #fff 58%); }
.split__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 70px; align-items: center; }
.split__text .prose { margin-bottom: 30px; }

.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.stat { background: #fff; border-radius: var(--radius-lg); padding: 28px 24px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.stat__value { display: block; font-size: 48px; font-weight: 700; color: var(--blue); line-height: 1; letter-spacing: -.02em; }
.stat__label { display: block; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text); margin-top: 10px; line-height: 1.4; }
.stat--light { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .15); box-shadow: none; }
.stat--light .stat__value { color: #fff; }
.stat--light .stat__label { color: rgba(255, 255, 255, .7); }

/* cards */
.cards { display: grid; gap: 26px; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px 30px;
  color: var(--text); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; position: relative; overflow: hidden;
}
.card::before { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 0; background: linear-gradient(90deg, var(--blue), var(--sky)); transition: width .4s var(--ease); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; color: var(--text); }
.card:hover::before { width: 100%; }
.card:hover .hex { transform: rotate(-8deg) scale(1.06); }
.card .hex { margin-bottom: 22px; }
.card h3 { font-size: 21px; color: var(--navy); }
.card p { flex: 1; font-size: 15px; }
.card__meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: var(--navy); font-weight: 600; margin: 8px 0 16px; }
.card__meta li { display: inline-flex; align-items: center; gap: 6px; }
.card__meta .icon { color: var(--accent); }
.card__link { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--blue); margin-top: auto; }
.card__link .icon { transition: transform .25s; }
.card:hover .card__link .icon { transform: translateX(4px); }

/* masters band (ES) */
.masters-band { background: #fff; }
.masters-band__inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: center; }
.masters-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.masters-band__actions .btn + .btn { margin-left: 0; }
.big-number { text-align: center; padding: 50px 30px; background: var(--beige); border-radius: var(--radius-lg); position: relative; }
.big-number::before { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(0, 33, 113, .15); border-radius: 10px; pointer-events: none; }
.big-number strong { display: block; font-size: clamp(90px, 12vw, 150px); line-height: .9; color: var(--blue); font-weight: 700; letter-spacing: -.04em; }
.big-number strong span { font-size: .45em; vertical-align: super; margin-left: 4px; color: var(--accent); }
.big-number small { display: block; margin-top: 14px; font-size: 14px; letter-spacing: 1px; text-transform: uppercase; color: var(--navy); font-weight: 600; line-height: 1.4; }
.big-number--card { background: #fff; box-shadow: var(--shadow-lg); }

/* project feature */
.project-feature { overflow: hidden; }
.project-feature__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 70px; align-items: center; }
.project-feature__tag { font-size: 20px; color: var(--sky); font-weight: 600; margin-bottom: 12px; }
.project-feature__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* why seville */
.why__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: start; }
.why__list { display: grid; gap: 22px; }
.why__list li { display: flex; gap: 18px; align-items: flex-start; padding: 22px; background: var(--cloud); border-radius: var(--radius-lg); }
.why__list .icon { width: 34px; height: 34px; color: var(--accent); flex: none; }
.why__list strong { display: block; color: var(--navy); font-size: 17px; margin-bottom: 4px; }
.why__list span { font-size: 14px; line-height: 1.6; }

/* services (about) */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.service { display: flex; align-items: center; gap: 20px; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); color: var(--text); background: #fff; transition: all .3s var(--ease); }
.service:hover { border-color: transparent; box-shadow: var(--shadow-lg); transform: translateY(-3px); color: var(--text); }
.service .hex { --size: 56px; }
.service strong { display: block; color: var(--navy); font-size: 17px; }
.service span { font-size: 14px; line-height: 1.5; }
.service__arrow { margin-left: auto; color: var(--blue); width: 22px; height: 22px; }

/* fields cloud */
.fields-cloud { background: #fff; border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow-lg); }
.fields-cloud .pill { background: var(--cloud); border-color: var(--cloud); }
.fields-cloud__note { margin: 18px 0 0; font-size: 14px; color: var(--navy); display: flex; gap: 8px; align-items: center; }

/* programme list */
.prog-list { display: grid; gap: 26px; }
.prog { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 38px 40px; display: grid; grid-template-columns: 1fr; gap: 18px; transition: box-shadow .3s; }
.prog:hover { box-shadow: var(--shadow-lg); }
.prog__head { display: flex; gap: 22px; align-items: center; }
.prog__head h3 { font-size: 26px; margin: 0; }
.prog__head h3 a { color: var(--navy); }
.prog__tag { margin: 4px 0 0; color: var(--accent); font-weight: 600; }
.prog__summary { font-size: 17px; margin: 0; }
.prog__foot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; border-top: 1px solid var(--line); padding-top: 18px; }
.prog__foot .card__meta { margin: 0; }
.checklist { display: grid; gap: 10px; }
.checklist--2 { grid-template-columns: 1fr 1fr; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--navy); line-height: 1.5; }
.checklist .icon { color: #fff; background: var(--accent); border-radius: 50%; padding: 3px; width: 20px; height: 20px; flex: none; margin-top: 3px; }

.soon { margin-top: 50px; padding: 30px 34px; background: var(--cloud); border-radius: var(--radius-lg); }
.soon__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.soon__item { display: flex; gap: 14px; align-items: flex-start; }
.soon__item .icon { width: 30px; height: 30px; color: var(--text-2); flex: none; }
.soon__item strong { display: block; color: var(--navy); }
.soon__item span { font-size: 14px; }

/* databar (ficha) */
.databar { background: var(--navy); color: #fff; }
.databar__inner { display: flex; align-items: center; gap: 40px; padding: 26px 0; flex-wrap: wrap; }
.databar__title { font-size: 24px; font-weight: 600; line-height: 1; color: #fff; padding-right: 30px; border-right: 1px solid rgba(255, 255, 255, .2); }
.databar__item { display: flex; align-items: center; gap: 12px; }
.databar__item .icon { width: 30px; height: 30px; color: var(--sky); }
.databar__item small { display: block; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255, 255, 255, .65); }
.databar__item strong { color: #fff; font-size: 16px; }
.databar__big { font-size: 34px !important; line-height: 1; display: block; }

/* detail layout */
.detail { display: grid; grid-template-columns: 1fr 340px; gap: 60px; align-items: start; }
.detail--wide { grid-template-columns: 1fr 300px; }
.detail__side { position: sticky; top: 110px; display: grid; gap: 22px; }
.included { margin-top: 36px; padding: 30px; background: var(--beige-2); border-radius: var(--radius-lg); }
.side-card { background: #fff; border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.side-card .hex { --size: 54px; margin-bottom: 16px; }
.side-card h3 { font-size: 20px; color: var(--navy); }
.side-card p { font-size: 14px; }
.side-card__contact { margin: 16px 0 0; font-size: 13px; display: flex; gap: 6px; align-items: center; }
.side-card__icon { width: 34px; height: 34px; color: var(--accent); margin-bottom: 12px; }
.side-card--info { box-shadow: none; background: var(--cloud); border-color: var(--cloud); }
.dl { display: grid; grid-template-columns: 1fr; gap: 2px 0; font-size: 14px; margin-bottom: 20px; }
.dl dt { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-2); margin-top: 12px; }
.dl dd { margin: 0; color: var(--navy); font-weight: 600; }
.side-list { display: grid; gap: 4px; }
.side-list .kicker { margin-bottom: 6px; }
.side-list a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px; color: var(--navy); font-weight: 600; font-size: 14px; }
.side-list a:hover { background: var(--cloud); }
.side-list a span { flex: 1; }
.side-list a.is-disabled { opacity: .5; pointer-events: none; }
.side-list a em { font-style: normal; color: var(--text-2); font-weight: 400; }
.side-nav { display: grid; gap: 2px; padding: 20px; background: var(--cloud); border-radius: var(--radius-lg); }
.side-nav a { font-size: 14px; padding: 6px 10px; border-left: 2px solid transparent; color: var(--text); }
.side-nav a:hover, .side-nav a.is-current { color: var(--blue); border-color: var(--blue); }

/* topics (resources) */
.topics { display: grid; gap: 28px; }
.topic { padding: 36px 40px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); scroll-margin-top: 110px; }
.topic__head { display: flex; gap: 18px; align-items: center; margin-bottom: 14px; }
.topic__head h2 { margin: 0; font-size: 22px; }
.topic__sum { margin: 2px 0 0; font-size: 15px; }
.topic__highlight { display: inline-flex; gap: 8px; align-items: center; padding: 8px 14px; background: var(--beige); border-radius: 8px; color: var(--navy); font-weight: 600; font-size: 14px; margin-bottom: 16px; }
.topic__highlight .icon { color: var(--accent); }

/* places (Seville) */
.places { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.place { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; scroll-margin-top: 110px; transition: box-shadow .3s; }
.place:hover { box-shadow: var(--shadow-lg); }
.place__media { position: relative; aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--navy), var(--accent)); }
.place__media img { width: 100%; height: 100%; object-fit: cover; }
.place__placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.place__placeholder .hex { --size: 76px; background: rgba(255, 255, 255, .15); }
.place__media .badge { position: absolute; left: 16px; bottom: 16px; background: rgba(255, 255, 255, .92); color: var(--navy); }
.place__body { padding: 24px 26px 26px; }
.place__body h2 { font-size: 22px; }
.place__sum { font-size: 15px; }
.place__more summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--blue); }
.place__more summary::-webkit-details-marker { display: none; }
.place__more[open] summary .icon { transform: rotate(90deg); }
.place__more .prose { margin-top: 14px; font-size: 15px; }

/* emergency */
.emergency__inner { display: grid; grid-template-columns: 260px 1fr; gap: 50px; align-items: center; }
.emergency__num { text-align: center; background: var(--navy); color: #fff; border-radius: var(--radius-lg); padding: 30px; }
.emergency__num small { display: block; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; opacity: .7; }
.emergency__num strong { display: block; font-size: 84px; line-height: 1; color: #fff; font-weight: 700; }
.emergency__text h2 { color: var(--navy); }

/* downloads */
.downloads { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.download { display: flex; align-items: center; gap: 18px; padding: 20px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.download__icon { width: 46px; height: 46px; border-radius: 10px; background: var(--cloud); color: var(--blue); display: flex; align-items: center; justify-content: center; flex: none; }
.download__icon .icon { width: 22px; height: 22px; }
.download__body { flex: 1; display: flex; flex-direction: column; }
.download__body strong { color: var(--navy); }
.download__body span { font-size: 13px; }

/* projects */
.project-list { display: grid; gap: 30px; }
.project-card { display: grid; grid-template-columns: 420px 1fr; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.project-card__media { position: relative; background: var(--navy); min-height: 300px; }
.project-card__media img { width: 100%; height: 100%; object-fit: cover; }
.project-card__placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: rgba(255, 255, 255, .2); overflow: hidden; }
.project-card__placeholder .network { position: absolute; right: -60px; bottom: -60px; width: 120%; }
.project-card__placeholder span { font-size: 160px; font-weight: 700; color: rgba(255, 255, 255, .12); line-height: 1; }
.project-card__media .badge { position: absolute; left: 20px; top: 20px; }
.project-card__body { padding: 40px 44px; }
.project-card__body h2 { font-size: 30px; }
.project-card__body h2 a { color: var(--navy); }
.project-card__tag { color: var(--accent); font-weight: 600; font-size: 17px; }
.mini-stats { display: flex; flex-wrap: wrap; gap: 10px 30px; margin: 10px 0 24px; }
.mini-stats strong { display: block; font-size: 28px; color: var(--blue); line-height: 1; }
.mini-stats span { font-size: 12px; letter-spacing: 1px; text-transform: uppercase; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 26px; position: relative; }
.steps li span { display: block; font-size: 44px; font-weight: 700; color: var(--beige); line-height: 1; margin-bottom: 10px; -webkit-text-stroke: 1px var(--accent); color: transparent; }
.steps li strong { display: block; color: var(--navy); font-size: 18px; margin-bottom: 6px; }
.steps li p { font-size: 14px; margin: 0; }

/* calendly */
.calendly-section { overflow: hidden; }
.calendly-section .container { position: relative; z-index: 1; }
.calendly-embed { background: #fff; border-radius: var(--radius-lg); min-height: 120px; display: flex; align-items: center; justify-content: center; padding: 40px; box-shadow: var(--shadow-lg); }
.calendly-embed.is-loaded { padding: 0; overflow: hidden; }
.calendly-embed iframe { width: 100%; height: 700px; border: 0; }

/* FAQ */
.faq { display: grid; grid-template-columns: 1fr 1.6fr; gap: 60px; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; font-size: 18px; font-weight: 600; color: var(--navy); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__plus { position: relative; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--blue); flex: none; transition: all .3s; }
.faq__plus::before, .faq__plus::after { content: ""; position: absolute; left: 50%; top: 50%; background: var(--blue); transform: translate(-50%, -50%); transition: all .3s; }
.faq__plus::before { width: 10px; height: 2px; }
.faq__plus::after { width: 2px; height: 10px; }
.faq__item[open] .faq__plus { background: var(--blue); }
.faq__item[open] .faq__plus::before, .faq__item[open] .faq__plus::after { background: #fff; }
.faq__item[open] .faq__plus::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq__answer { padding: 0 40px 22px 0; font-size: 15px; }

/* CTA band */
.cta-band { background: var(--ink); color: rgba(255, 255, 255, .8); padding: 96px 0; position: relative; overflow: hidden; }
.cta-band__inner { position: relative; z-index: 1; display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; }
.cta-band__text h2 { color: #fff; font-size: clamp(28px, 3vw, 36px); font-weight: 500; }
.cta-band__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cta-card { background: #fff; border-radius: var(--radius-lg); padding: 26px 22px; display: flex; flex-direction: column; color: var(--text); transition: transform .3s var(--ease), box-shadow .3s; }
.cta-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); color: var(--text); }
.cta-card > .icon { width: 30px; height: 30px; color: var(--accent); margin-bottom: 14px; }
.cta-card h3 { font-size: 18px; color: var(--navy); margin-bottom: 4px; }
.cta-card p { font-size: 13px; flex: 1; }
.cta-card__link { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--blue); }

/* page hero (interiores) */
.page-hero { position: relative; background: linear-gradient(120deg, var(--navy), var(--blue)); color: #fff; overflow: hidden; }
.page-hero__img { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .35; }
.page-hero__inner { position: relative; z-index: 1; padding: 70px 0 80px; max-width: 820px; }
.page-hero__title { color: #fff; font-size: clamp(34px, 4.5vw, 52px); font-weight: 600; letter-spacing: -.015em; }
.page-hero__sub { font-size: 19px; line-height: 1.55; color: rgba(255, 255, 255, .82); margin: 0; max-width: 680px; }
.crumbs { font-size: 13px; color: rgba(255, 255, 255, .6); margin-bottom: 22px; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { color: rgba(255, 255, 255, .85); }
.crumbs a:hover { color: var(--sky); }
.crumbs__cur { color: #fff; }

/* contact */
.contact__grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 60px; align-items: start; }
.contact__side { display: grid; gap: 22px; position: sticky; top: 110px; }
.contact__list { display: grid; gap: 10px; font-size: 15px; }
.contact__list li { display: flex; gap: 10px; align-items: flex-start; }
.contact__list .icon { color: var(--accent); margin-top: 5px; }
.contact__list--plain li { display: block; font-size: 14px; }
.contact__list--plain strong { display: inline-block; min-width: 110px; }
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 700; color: var(--navy); letter-spacing: .5px; }
.form input, .form select, .form textarea {
  font: 400 15px var(--font); padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--ink);
  transition: border-color .2s, box-shadow .2s; width: 100%;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0, 33, 113, .12); }
.form textarea { resize: vertical; }
.form .check { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 400; color: var(--text); font-size: 13px; line-height: 1.5; }
.form .check input { width: 18px; height: 18px; margin-top: 2px; }
.form .check a { text-decoration: underline; }
.form .btn { justify-self: start; }
.form__status { min-height: 1.2em; font-weight: 600; margin: 0; }
.form__status.is-error { color: #a12727; }
.form__status.is-ok { color: #1a6e47; }
.hp { position: absolute; left: -9999px; }
.map iframe { width: 100%; height: 420px; border: 0; display: block; filter: grayscale(.4); }

/* 404 */
.notfound__inner { position: relative; text-align: center; padding: 60px 0; max-width: 640px; }
.notfound__pattern { right: auto; left: 50%; transform: translateX(-50%); bottom: auto; top: -60px; color: rgba(0, 33, 113, .08); }
.notfound .hero__actions { justify-content: center; }

/* =====================================================================
   FOOTER
   ===================================================================== */
.footer { color: rgba(255, 255, 255, .75); font-size: 14px; }
.footer__top { background: linear-gradient(180deg, var(--ink), var(--navy)); padding: 80px 0 60px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr .8fr .8fr 1fr; gap: 50px; }
.footer__desc { margin: 20px 0; max-width: 360px; }
.footer__contact { display: grid; gap: 8px; }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer__contact .icon { color: var(--sky); margin-top: 5px; }
.footer a { color: rgba(255, 255, 255, .8); }
.footer a:hover { color: var(--sky); }
.footer__title { color: #fff; font-size: 15px; letter-spacing: 2px; text-transform: uppercase; font-weight: 700; margin-bottom: 18px; }
.footer__links { display: grid; gap: 10px; }
.footer__cta .btn { margin: 4px 0 0; }
.footer__cta .btn + .btn { margin: 10px 0 0; }
.footer__bottom { background: var(--navy); border-top: 1px solid rgba(255, 255, 255, .1); padding: 18px 0; font-size: 13px; }
.footer__bottom-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer__legal { display: flex; gap: 20px; flex-wrap: wrap; }

.whatsapp-fab {
  position: fixed; right: 22px; bottom: 22px; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); z-index: 80; transition: transform .3s;
}
.whatsapp-fab:hover { transform: scale(1.08); color: #fff; }
.whatsapp-fab .icon { width: 26px; height: 26px; }

/* =====================================================================
   ANIMACIONES
   ===================================================================== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .ticker__track, .hero__stat { animation: none; }
  html { scroll-behavior: auto; }
}

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1280px) {
  .topbar__addr, .brand__badge { display: none; }
}
@media (max-width: 1100px) {
  .hero__inner { gap: 40px; }
  .split--beige { background: linear-gradient(90deg, var(--beige) 0 62%, #fff 62%); }
}
@media (max-width: 980px) {
  .topbar__addr, .topbar__right > a { display: none; }
  .nav-toggle { display: block; }
  .nav { position: fixed; inset: 0; top: 84px; background: #fff; padding: 20px; overflow-y: auto; transform: translateX(100%); transition: transform .35s var(--ease); z-index: 89; }
  .nav.is-open { transform: none; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link { padding: 14px 12px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 17px; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: 0 0 8px 14px; display: none; }
  .has-sub.is-open .sub { display: block; }
  .nav__cta { margin: 18px 0 0; }
  .nav__cta .btn { width: 100%; justify-content: center; }
  .hero__inner, .split__inner, .masters-band__inner, .project-feature__inner, .why__grid, .cta-band__inner, .faq, .contact__grid, .detail, .detail--wide, .emergency__inner { grid-template-columns: 1fr; }
  .hero__inner { padding: 60px 0 80px; }
  .hero__visual { min-height: 0; margin-top: 20px; }
  .hero__frame { width: 100%; }
  .hero__beige { display: none; }
  .split--beige { background: var(--beige); }
  .split__media { margin-top: 10px; }
  .cards--3 { grid-template-columns: 1fr 1fr; }
  .services, .places, .downloads, .soon__grid, .checklist--2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .cta-band__cards { grid-template-columns: 1fr; }
  .project-card { grid-template-columns: 1fr; }
  .project-card__media { min-height: 220px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .detail__side, .contact__side { position: static; }
}
@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .hero__title { font-size: 36px; }
  .hero__stat { position: static; margin-top: 12px; display: inline-flex; min-width: 0; }
  .hero__stat--b { margin-left: 10px; }
  .cards--3, .stats-grid, .project-feature__stats, .steps, .footer__grid { grid-template-columns: 1fr; }
  .prog { padding: 26px 22px; }
  .prog__head { align-items: flex-start; }
  .form__row { grid-template-columns: 1fr; }
  .topic, .project-card__body { padding: 26px 22px; }
  .databar__title { border: 0; padding: 0; width: 100%; }
  .btn + .btn { margin-left: 0; margin-top: 10px; }
  .topbar__left { gap: 14px; font-size: 12px; }
  .topbar__right { display: none; }
  .topbar a { white-space: normal; }
  .brand__badge { display: none; }
  .hero__stat { margin-top: 14px; }
  .hero__stat--b { margin-left: 8px; }
  .hero__visual { display: flex; flex-wrap: wrap; align-items: flex-start; }
  .hero__frame { flex: 0 0 100%; }
}
