/* OTL · otlsolutions.es — tokens from the OTL brand guidelines (04/11/2026)

   RESPONSIVE SCHEMA
   One layout, tuned per device class. Only these four breakpoints exist in this file:
     phone    ≤ 600px   single column, stacked CTAs, folded footer, 4:3 hero crops
     tablet   ≤ 900px   two-column layouts collapse, picture-above-text, phone menu
     laptop   ≤ 1080px  navigation folds into the menu button
     desktop  > 1080px  full grid (wrap 1120px)
   CSS cannot read custom properties inside @media, so the values are written literally.
   Type and spacing are fluid (clamp) between the phone and desktop values below, so
   the in-between sizes need no extra rules. Images: build.py emits srcset 480/900/1600
   with sizes per placement, plus a 4:3 crop around each photo's focus point for heroes
   on phones and tablets (art direction). Hover effects only on devices that hover. */
:root {
  --azul: #0083c2; --azul-texto: #00608f; --ambar: #f8a900; --carbon: #1d1d1b; --carbon-alto: #2a2a27;
  --blanco: #ffffff; --gris-claro: #f5f5f5; --gris: #5c5c59; --humo: #b3b3b0; --linea: #e2e2e2;
  --font: "Nunito", "Segoe UI", Arial, sans-serif;
  --r-control: 8px; --r-card: 12px; --r-round: 999px;
  --s4: 4px; --s8: 8px; --s12: 12px; --s16: 16px; --s24: 24px; --s32: 32px; --s48: 48px; --s64: 64px; --s96: 96px;
  --wrap: 1120px;
  /* fluid type: phone → desktop */
  --t-h1: clamp(32px, 1.8vw + 26px, 56px);   --t-h1-lh: 1.08;
  --t-h2: clamp(26px, 0.7vw + 22px, 32px);   --t-h2-lh: 1.2;
  --t-h3: clamp(19px, 0.3vw + 17px, 22px);   --t-h3-lh: 1.3;
  --t-lead: clamp(17px, 0.25vw + 16px, 19px); --t-lead-lh: 1.58;
  --t-body: clamp(16px, 0.15vw + 15.5px, 17px); --t-body-lh: 1.6;
  --t-fig: clamp(30px, 1.2vw + 24px, 44px);
  --t-final: clamp(28px, 1vw + 24px, 36px);
  /* fluid spacing */
  --section-pad: clamp(48px, 6vw, 96px);
  --section-pad-tight: clamp(32px, 4vw, 56px);
  --gap: clamp(16px, 2.5vw, 32px);
  --gap-lg: clamp(24px, 4.5vw, 64px);
  --wrap-pad: clamp(16px, 3vw, 32px);
  /* hero plate */
  --hero-h: clamp(220px, 42vw, 600px);
  --hero-h-low: clamp(180px, 28vw, 380px);
  --plate-pad: clamp(24px, 3.5vw, 48px);
  --plate-overlap: clamp(48px, 15vw, 220px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--blanco); color: var(--carbon); font: 400 var(--t-body)/var(--t-body-lh) var(--font); }
img, svg { max-width: 100%; display: block; }
a { color: var(--azul-texto); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { margin: 0; text-wrap: balance; font-weight: 800; }
h1 { font-size: var(--t-h1); line-height: var(--t-h1-lh); letter-spacing: -0.01em; }
h2 { font-size: var(--t-h2); line-height: var(--t-h2-lh); }
h3 { font-size: var(--t-h3); line-height: var(--t-h3-lh); font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding-left: 22px; }
:focus-visible { outline: 2px solid var(--azul-texto); outline-offset: 2px; }
.dark :focus-visible, .dark:focus-visible { outline-color: var(--ambar); }
.wrap { max-width: calc(var(--wrap) + 2 * var(--wrap-pad)); margin: 0 auto; padding-left: max(var(--wrap-pad), env(safe-area-inset-left)); padding-right: max(var(--wrap-pad), env(safe-area-inset-right)); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ambar); color: var(--carbon); padding: 8px 12px; border-radius: var(--r-control); z-index: 50; }
.skip:focus { left: 8px; }
.lead { font-size: var(--t-lead); line-height: var(--t-lead-lh); max-width: 62ch; }
.small { font-size: 16px; line-height: 24px; color: var(--gris); max-width: 75ch; }
.dark .small { color: var(--humo); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s8); font: 700 16px/24px var(--font); border-radius: var(--r-control); padding: 10px 22px; border: 2px solid transparent; cursor: pointer; text-decoration: none; }
.btn:hover { text-decoration: underline; text-underline-offset: 3px; }
.btn.btn-primary { background: var(--ambar); color: var(--carbon); }
.btn:active { transform: translateY(1px); }
.btn, .card, .tile, .chips li { transition: transform .18s ease, background-color .18s ease, border-color .18s ease; }
.btn-quiet { background: var(--azul-texto); color: var(--blanco); }
.btn-secondary { background: transparent; color: var(--azul-texto); border-color: var(--azul-texto); }
.dark .btn-secondary { color: var(--blanco); border-color: var(--blanco); }
.btn-lg { padding: 14px 28px; font-size: 17px; }
.btn svg { width: 18px; height: 18px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--blanco); transition: background-color .2s ease; }
.site-header.scrolled { background: var(--gris-claro); }
.site-header .wrap { display: flex; align-items: center; gap: var(--s16); min-height: 72px; }
.logo { display: block; width: 150px; }
.logo img { width: 150px; height: auto; }
.nav { display: flex; align-items: center; gap: var(--s4); margin-left: auto; }
.nav a { font-weight: 700; color: var(--carbon); padding: 8px 12px; border-radius: var(--r-control); font-size: 16px; }
.nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.nav a[aria-current="page"] { color: var(--azul-texto); }
.lang { font-weight: 700; font-size: 16px; color: var(--gris); padding: 8px 10px; white-space: nowrap; }
.lang:hover { color: var(--carbon); }
.nav .btn { margin-left: var(--s8); }
.menu-btn { display: none; margin-left: auto; background: var(--gris-claro); border: 0; border-radius: var(--r-control); padding: 10px; color: var(--carbon); cursor: pointer; }
.menu-btn svg { width: 24px; height: 24px; }
@media (max-width: 1080px) {
  .menu-btn { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 72px; background: var(--gris-claro); flex-direction: column; align-items: stretch; padding: var(--s12) var(--s16) var(--s24); gap: var(--s4); }
  .nav.open { display: flex; }
  .nav a { padding: 12px; }
  .nav .btn { margin: var(--s8) 0 0; }
  .lang { text-align: center; margin-top: var(--s8); }
}

/* sections */
.section { padding: var(--section-pad) 0; }
.section-tight { padding: var(--section-pad-tight) 0; }
.light { background: var(--gris-claro); }
.dark { background: var(--carbon); color: var(--blanco); }
.dark a { color: var(--blanco); }
.dark h2, .dark h3 { color: var(--blanco); }
.section-head { max-width: 62ch; margin-bottom: var(--s32); }
.section-head h2 { color: var(--azul); }
.dark .section-head h2 { color: var(--blanco); }
.section-head p { margin-top: var(--s12); }
@media (max-width: 600px) { .section { padding: var(--s48) 0; } h1 { font-size: 34px; line-height: 40px; } h2 { font-size: 26px; line-height: 32px; } }

/* hero */
.hero { position: relative; overflow: hidden; }
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: var(--s48); align-items: center; padding-top: var(--s64); padding-bottom: var(--s64); min-height: 520px; }
.hero h1 { margin-bottom: var(--s16); }
.hero .lead { margin-bottom: var(--s32); }
.hero .actions { display: flex; flex-wrap: wrap; gap: var(--s12); }
.orbit { position: relative; aspect-ratio: 1; max-width: 460px; margin: 0 auto; width: 100%; }
.orbit svg.ring { position: absolute; inset: 0; width: 100%; height: 100%; }
.orbit .veh { position: absolute; width: 22%; aspect-ratio: 1; display: grid; place-items: center; }
.orbit .veh img { width: 100%; height: 100%; object-fit: contain; }
.orbit .v1 { left: 39%; top: 8%; } .orbit .v2 { left: 66%; top: 39%; } .orbit .v3 { left: 39%; top: 70%; } .orbit .v4 { left: 12%; top: 39%; } .orbit .v5 { left: 39%; top: 39%; }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; min-height: 0; padding-top: var(--s48); padding-bottom: var(--s48); }
  .orbit { max-width: 320px; }
}
.hero-plain .wrap { display: block; min-height: 0; padding-top: var(--s48); padding-bottom: var(--s48); }
.hero-plain h1 { color: var(--azul); }
.hero-plain .lead { margin-bottom: var(--s24); }
.crumb { font-size: 16px; line-height: 24px; color: var(--gris); margin-top: var(--s24); }
.crumb a { color: inherit; font-weight: 700; }
.crumb a { color: var(--gris); }

/* cards and grids */
.grid { display: grid; gap: var(--gap); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.card { display: grid; gap: var(--s8); align-content: start; }
.grid { gap: var(--gap-lg) var(--gap-lg); }
.card h3 a { color: var(--carbon); }
.card .more { font: 700 16px/24px var(--font); color: var(--azul-texto); }
.card-role { position: relative; }
.card-role a.cover::after { content: ""; position: absolute; inset: 0; border-radius: var(--r-card); }
.card-role:hover h3 a { text-decoration: underline; text-underline-offset: 4px; }
.perk { display: grid; gap: var(--s8); }
.perk .mk { width: 40px; height: 40px; border-radius: var(--r-round); background: var(--azul); display: grid; place-items: center; }
.perk .mk svg { width: 22px; height: 22px; fill: var(--blanco); }
.perk h3 { font-size: 19px; line-height: 26px; }

/* steps */
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--s24); counter-reset: step; }
.steps li { position: relative; padding-top: var(--s48); }
.steps li::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: var(--r-round); background: var(--ambar); color: var(--carbon); font-weight: 800; display: grid; place-items: center; }
.steps h3 { font-size: 19px; line-height: 26px; margin-bottom: var(--s4); }
.steps-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .steps, .steps-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .steps, .steps-4 { grid-template-columns: 1fr; } }

/* cities */
.city-list { display: flex; flex-wrap: wrap; gap: var(--s12); list-style: none; padding: 0; }
.city-list a { display: inline-flex; align-items: center; gap: var(--s8); border-radius: var(--r-control); padding: 10px 16px; font-weight: 700; color: var(--carbon); background: var(--gris-claro); }
.light .city-list a { background: var(--blanco); }
.city-list a:hover { background: #fff7e0; }
.city-list img { width: 22px; height: 22px; }

/* faq */
.faq { display: grid; gap: var(--s8); }
.faq details { border-radius: var(--r-card); background: var(--gris-claro); padding: 0 var(--s24); }
.light .faq details { background: var(--blanco); }
.faq summary { cursor: pointer; font-weight: 700; padding: var(--s16) 0; list-style: none; display: flex; justify-content: space-between; gap: var(--s16); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--azul); font-weight: 800; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: var(--s16); max-width: 70ch; }

/* fact card */
.facts { display: grid; gap: var(--s12); background: var(--gris-claro); border-radius: var(--r-card); padding: var(--s24); }
.facts dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: var(--s8) var(--s16); }
.facts dt { font-weight: 700; color: var(--gris); }
.facts dd { margin: 0; }
.two { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: var(--s48); align-items: start; }
@media (max-width: 900px) { .two { grid-template-columns: 1fr; } }
.list-check { list-style: none; padding: 0; display: grid; gap: var(--s12); }
.list-check li { position: relative; padding-left: 32px; }
.list-check li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: var(--r-round); background: var(--azul); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Ccircle cx='128' cy='128' r='128' fill='%23000'/%3E%3Cpath d='M205.66 85.66l-96 96a8 8 0 0 1-11.32 0l-40-40a8 8 0 0 1 11.32-11.32L104 164.69l90.34-90.35a8 8 0 0 1 11.32 11.32z' fill='%23fff'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Ccircle cx='128' cy='128' r='128' fill='%23000'/%3E%3Cpath d='M205.66 85.66l-96 96a8 8 0 0 1-11.32 0l-40-40a8 8 0 0 1 11.32-11.32L104 164.69l90.34-90.35a8 8 0 0 1 11.32 11.32z' fill='%23fff'/%3E%3C/svg%3E") center/contain no-repeat; }
.list-check li::before { -webkit-mask: none; mask: none; background: var(--azul); }
.list-check li::after { content: ""; position: absolute; left: 5px; top: 9px; width: 10px; height: 6px; border-left: 2.5px solid #fff; border-bottom: 2.5px solid #fff; transform: rotate(-45deg); }

/* figures band */
.figures { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s32); text-align: center; }
.figures .fig { font-size: var(--t-fig); line-height: 1; font-weight: 800; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; color: var(--blanco); }
.figures .label { font-size: 16px; line-height: 24px; font-weight: 700; color: var(--humo); margin-top: var(--s4); }
.figures .src { font-size: 16px; line-height: 24px; color: var(--humo); margin-top: var(--s4); }
.figures img { width: 40px; height: 40px; margin: 0 auto var(--s8); }
@media (max-width: 600px) { .figures { grid-template-columns: 1fr; } }
.figures.strip { grid-template-columns: repeat(4, minmax(0, 1fr)); text-align: left; }
@media (max-width: 600px) { .figures.strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s24); } }

/* timeline */
.timeline { list-style: none; padding: 0; display: grid; gap: var(--s12); }
.timeline li { display: grid; grid-template-columns: 72px 1fr; gap: var(--s16); align-items: baseline; padding: var(--s16) var(--s24); background: var(--blanco); border-radius: var(--r-card); }
.timeline .year { font-weight: 800; color: var(--azul); font-size: 22px; }

/* forms */
.form { display: grid; gap: var(--s16); max-width: 640px; }
.field { display: grid; gap: var(--s8); }
.field label { font-weight: 700; }
.input, select.input, textarea.input { width: 100%; font: 400 17px/24px var(--font); color: var(--carbon); background: var(--blanco); border: 2px solid var(--linea); border-radius: var(--r-control); padding: 10px 14px; }
.input:focus { border-color: var(--azul-texto); outline: none; }
textarea.input { min-height: 140px; resize: vertical; }
.check { display: flex; gap: var(--s12); align-items: flex-start; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--azul-texto); flex: none; }
.hidden-field { position: absolute; left: -9999px; }
.privacy-note { font-size: 16px; line-height: 24px; color: var(--gris); border-left: 0; background: var(--gris-claro); border-radius: var(--r-card); padding: var(--s16); }

/* final cta */
.final .wrap { text-align: center; padding-top: var(--s64); padding-bottom: var(--s64); }
.final h2 { font-size: var(--t-final); line-height: 1.17; margin-bottom: var(--s12); }
.final .actions { display: flex; justify-content: center; flex-wrap: wrap; gap: var(--s12); margin-top: var(--s24); }

/* footer */
.site-footer { background: var(--carbon); color: var(--blanco); padding: var(--s48) 0 var(--s32); }
.site-footer a { color: var(--blanco); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--s32); }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
.site-footer h4 { font-size: 16px; line-height: 24px; color: var(--blanco); margin-bottom: var(--s12); }
.site-footer ul { list-style: none; padding: 0; display: grid; gap: var(--s8); }
.site-footer .logo img { width: 170px; }
.site-footer .tag { font-size: 16px; line-height: 24px; font-weight: 800; color: var(--ambar); margin: var(--s12) 0 var(--s16); }
.site-footer .addr { color: var(--humo); font-size: 16px; line-height: 24px; }
.foot-legal { margin-top: var(--s48); color: var(--humo); font-size: 16px; line-height: 24px; display: grid; gap: var(--s8); }
.foot-legal .links { display: flex; flex-wrap: wrap; gap: var(--s4) var(--s16); }

/* legal pages */
.prose { max-width: 72ch; }
.prose h2 { font-size: 24px; line-height: 30px; margin: var(--s32) 0 var(--s12); color: var(--azul); }
.prose p { margin-bottom: var(--s12); }
.prose ul { margin-bottom: var(--s12); }

/* ===== application wizard ===== */
.apply-shell { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: var(--s48); align-items: start; }
@media (max-width: 900px) { .apply-shell { grid-template-columns: 1fr; gap: var(--s24); } }
.rail { list-style: none; padding: 0; display: grid; gap: var(--s4); position: sticky; top: 88px; }
.rail li { font-size: 15px; line-height: 20px; color: var(--gris); padding: 6px 12px; border-radius: var(--r-control); }
.rail li.on { color: var(--carbon); font-weight: 700; background: #fff7e0; }
.rail li.done { color: var(--azul-texto); }
@media (max-width: 900px) { .rail { position: static; display: flex; flex-wrap: wrap; gap: var(--s4); } .rail li { border-left: 0; border-bottom: 3px solid var(--linea); padding: 4px 8px; } .rail li.on { border-bottom-color: var(--ambar); } .rail li.done { border-bottom-color: var(--azul); } }
.pane { display: grid; gap: var(--s24); }
.pane .q { font-size: 30px; line-height: 36px; color: var(--azul); }
.pane .help { color: var(--gris); }
.opts { display: grid; gap: var(--s12); }
.opts.cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 600px) { .opts.cols { grid-template-columns: 1fr; } }
.opt { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: var(--s16); text-align: left; background: var(--blanco); border: 2px solid var(--linea); border-radius: var(--r-card); padding: var(--s16); font: inherit; color: var(--carbon); cursor: pointer; }
.opt .ic { width: 44px; height: 44px; }
.opt .ic img { width: 44px; height: 44px; }
.opt .t { font-weight: 700; }
.opt .s { display: block; font-size: 16px; line-height: 22px; color: var(--gris); }
.opt .tick { width: 26px; height: 26px; border-radius: var(--r-round); border: 2px solid var(--linea); display: grid; place-items: center; }
.opt .tick svg { width: 16px; height: 16px; fill: var(--blanco); opacity: 0; }
.opt[aria-pressed="true"], .opt[aria-checked="true"] { border-color: var(--azul-texto); background: #f3f9fc; }
.opt[aria-pressed="true"] .tick, .opt[aria-checked="true"] .tick { background: var(--azul-texto); border-color: var(--azul-texto); }
.opt[aria-pressed="true"] .tick svg, .opt[aria-checked="true"] .tick svg { opacity: 1; }
.opt.no-ic { grid-template-columns: 1fr auto; }
.chips { display: flex; flex-wrap: wrap; gap: var(--s8); }
.chip { font: 700 15px/22px var(--font); border: 2px solid var(--linea); border-radius: var(--r-round); padding: 8px 16px; background: var(--blanco); color: var(--carbon); cursor: pointer; }
.chip[aria-pressed="true"] { border-color: var(--azul-texto); background: var(--azul-texto); color: var(--blanco); }
.verdict { display: grid; gap: var(--s8); background: var(--gris-claro); border-radius: var(--r-card); padding: var(--s16); font-size: 15px; line-height: 22px; }
.verdict .ok { color: var(--azul-texto); font-weight: 700; }
.verdict .no { color: #a30d0d; font-weight: 700; }
.verdict .maybe { color: var(--gris); font-weight: 700; }
.err { color: #a30d0d; font-weight: 700; font-size: 15px; line-height: 22px; }
.pane-nav { display: flex; justify-content: space-between; gap: var(--s12); flex-wrap: wrap;  padding-top: var(--s24); }
.review { display: grid; gap: var(--s8); }
.review .row { display: grid; grid-template-columns: 140px 1fr auto; gap: var(--s12); align-items: baseline; padding: var(--s12) var(--s16); background: var(--gris-claro); border-radius: var(--r-control); }
.review .k { font-size: 16px; line-height: 24px; font-weight: 700; color: var(--gris); }
.review .edit { font: 700 16px/24px var(--font); color: var(--azul-texto); background: none; border: 0; cursor: pointer; padding: 0; }
@media (max-width: 600px) { .review .row { grid-template-columns: 1fr; gap: var(--s4); } }
.done-card { background: var(--gris-claro); border-radius: var(--r-card); padding: var(--s32); display: grid; gap: var(--s12); }
.done-card .mk { width: 56px; height: 56px; border-radius: var(--r-round); background: var(--azul); display: grid; place-items: center; }
.done-card .mk svg { width: 30px; height: 30px; fill: var(--blanco); }
.cookie { position: fixed; left: var(--s16); right: var(--s16); bottom: var(--s16); max-width: 560px; margin: 0 auto; background: var(--blanco); border: 1px solid var(--linea); border-radius: var(--r-card); padding: var(--s16); display: grid; gap: var(--s12); box-shadow: 0 10px 30px rgba(0,0,0,.15); z-index: 60; font-size: 15px; line-height: 22px; } /* taste-skill-ignore: a real overlay */
.cookie .actions { display: flex; gap: var(--s8); flex-wrap: wrap; }
.cookie[hidden] { display: none; }

/* people */
.person { align-items: start; }
.portrait { width: 120px; height: 120px; border-radius: var(--r-round); object-fit: cover; display: block; }
.portrait.initials { background: var(--azul); color: var(--blanco); font-weight: 800; font-size: 40px; display: grid; place-items: center; }

/* bands */
.band .two-even { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s64); align-items: center; }
.band-text .lead { margin-bottom: var(--s24); }
.band .actions { display: flex; flex-wrap: wrap; gap: var(--s12); }
.band-img picture, .band-img img { width: 100%; height: 100%; }
.band-img img { border-radius: var(--r-card); aspect-ratio: 4 / 3; object-fit: cover; }
.band-text h2 { color: var(--azul); margin-bottom: var(--s12); }
.band-text .lead { margin-bottom: var(--s24); }
@media (max-width: 900px) { .band .two-even { grid-template-columns: 1fr; gap: var(--s24); } .band.flip .band-img { order: -1; } }

/* bands: taller, natural crop */
.band-img img { aspect-ratio: 5 / 4; object-position: center; }

/* where we deliver: city chips */
.chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s8); }
.chips li { display: inline-flex; align-items: center; gap: var(--s8); background: var(--gris-claro); border-radius: var(--r-round); padding: 8px 16px; font-weight: 700; font-size: 16px; line-height: 24px; }
.light .chips li { background: var(--blanco); }
.chips li.focus { background: #fff7e0; }
.chips.on-dark { margin: var(--s24) 0; } .chips.on-dark li { background: var(--carbon-alto); color: var(--blanco); }
.chips img { width: 20px; height: 20px; }

/* footer groups fold on phones */
.foot-toggle { all: unset; display: flex; align-items: center; justify-content: space-between; width: 100%; font: inherit; color: inherit; letter-spacing: inherit; text-transform: inherit; cursor: default; }
.foot-toggle svg { display: none; width: 18px; height: 18px; fill: currentColor; flex: none; transition: transform .2s; }
@media (max-width: 900px) {
  .foot-grid { grid-template-columns: 1fr; gap: 0; }
  .foot-brand { padding-bottom: var(--s24); }
  .foot-group { background: var(--carbon-alto); border-radius: var(--r-card); padding: 0 var(--s16); margin-top: var(--s8); }
  .site-footer .foot-group h4 { margin: 0; }
  .foot-toggle { cursor: pointer; min-height: 52px; padding: var(--s12) 0; color: var(--blanco); }
  .foot-toggle:focus-visible { outline: 2px solid var(--ambar); outline-offset: -2px; }
  .foot-toggle svg { display: block; }
  .foot-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
  .js .foot-group ul { display: none; padding-bottom: var(--s16); }
  .js .foot-group.open ul { display: grid; }
  .site-footer ul { gap: var(--s4); }
  .site-footer li a { display: block; padding: 8px 0; }
  .foot-legal { margin-top: var(--s16); border-top-color: var(--carbon-alto); }
}

/* ---------- phones ---------- */
.prog { display: none; }
@media (max-width: 900px) {
  .rail { display: none; }
  .prog { display: grid; gap: var(--s8); }
  .prog:empty { display: none; }
  .prog-txt { font-size: 16px; line-height: 24px; font-weight: 700; color: var(--gris); }
  .prog-bar { display: block; height: 6px; border-radius: var(--r-round); background: var(--linea); overflow: hidden; }
  .prog-bar i { display: block; height: 100%; background: var(--ambar); border-radius: var(--r-round); transition: width .3s; }
}
@media (max-width: 600px) {
  /* compact cards: icon on the left, text beside it */
  .grid { gap: var(--s24); }
  .card.person { grid-template-columns: 1fr; }
  .card.person .portrait { grid-row: auto; }
  .card.person h3, .card.person p { grid-column: 1; }
  .perk { grid-template-columns: 40px minmax(0, 1fr); column-gap: var(--s16); row-gap: var(--s4); }
  .perk .icon, .perk img, .perk .mk { width: 36px; height: 36px; grid-row: 1 / span 2; }
  .perk h3, .perk p { grid-column: 2; }
  .grid { gap: var(--s12); }
  .steps li { padding-top: 0; padding-left: 52px; }
  .steps li + li { margin-top: var(--s4); }
  .hero-plain .wrap { padding-top: var(--s32); padding-bottom: var(--s32); }
  .actions .btn, .pane-nav .btn { width: 100%; }
  .actions { display: flex; flex-direction: column; gap: var(--s12); }
  .pane-nav { flex-direction: column-reverse; }
  .band-img img { aspect-ratio: 4 / 3; }
  .timeline li { grid-template-columns: 60px 1fr; gap: var(--s12); }
  .timeline .year { font-size: 19px; }
  input, select, textarea { font-size: 16px; }
  .section-head { margin-bottom: var(--s24); }
  .chips li { font-size: 15px; padding: 6px 12px 6px 10px; }
}

/* ---------- hero: a text plate over one wide picture ---------- */
.hero-plate { background: var(--blanco); padding-bottom: var(--s64); }
.hero-plate .hero-media { height: var(--hero-h); }
.hero-plate-low .hero-media { height: var(--hero-h-low); }
.hero-plate .hero-media picture, .hero-plate .hero-media img { display: block; width: 100%; height: 100%; }
.hero-plate .hero-media img { object-fit: cover; object-position: var(--focus, 50% 40%); }
.hero-plate .wrap { display: block; min-height: 0; padding-top: 0; padding-bottom: 0; }
.hero-plate .plate { position: relative; max-width: 640px; margin-top: calc(-1 * var(--plate-overlap)); background: var(--carbon); color: var(--blanco); border-radius: var(--r-card); padding: var(--plate-pad); }
.hero-plate-low .plate { margin-top: calc(-1 * var(--plate-overlap) * .6); }
.hero-plate .plate .crumb { color: var(--humo); } .hero-plate .plate .crumb a { color: var(--humo); }
.hero-plate .lead { margin-bottom: var(--s32); max-width: 48ch; }
@media (max-width: 900px) {
  .hero-plate { padding-bottom: var(--s32); }
  .hero-plate .hero-media { height: auto; aspect-ratio: 4 / 3; max-height: 60vh; }
  .hero-plate-low .hero-media { aspect-ratio: 16 / 9; }
}

/* ---------- home: picture tiles, split, two-column list ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s32); }
.tile { display: grid; gap: var(--s8); align-content: start; color: var(--carbon); text-decoration: none; }
.tile picture, .tile img { display: block; width: 100%; }
.tile img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-card); margin-bottom: var(--s8); transition: transform .4s ease; }
@media (hover: hover) { .tile:hover img { transform: scale(1.02); } }
.tile h3 { font-size: 22px; line-height: 28px; }
.tile .more { font-weight: 700; color: var(--azul-texto); }
.tile:hover .more { text-decoration: underline; text-underline-offset: 3px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s64); align-items: start; }
.split-text h2 { color: var(--azul); margin-bottom: var(--s12); }
.split-text .lead { margin-bottom: var(--s24); }
.perks { list-style: none; padding: 0; display: grid; gap: var(--s24); }
.perks h3 { font-size: 22px; line-height: 28px; margin-bottom: var(--s4); }
.list-2 { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: var(--s24) var(--s48); }
.list-2 h3 { font-size: 22px; line-height: 28px; margin-bottom: var(--s4); }
@media (max-width: 900px) {
  .tiles { grid-template-columns: 1fr; gap: var(--s24); }
  .tile { grid-template-columns: 120px minmax(0, 1fr); column-gap: var(--s16); row-gap: var(--s4); }
  .tile picture { grid-row: 1 / span 3; }
  .tile img { aspect-ratio: 1; margin: 0; }
  .tile h3, .tile p, .tile .more { grid-column: 2; }
  .split { grid-template-columns: 1fr; gap: var(--s32); }
}
@media (max-width: 600px) { .list-2 { grid-template-columns: 1fr; } }

/* ---------- motion: entrance, transform and opacity only ---------- */
.js .rise { opacity: 0; transform: translateY(22px); transition: opacity .6s cubic-bezier(.2,.7,.2,1), transform .6s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--i, 0) * 70ms); }
.js .rise.in { opacity: 1; transform: none; }
.js .hero-plate .hero-media img { transform: scale(1.05); transition: transform 7s ease-out; }
.js .hero-plate.in .hero-media img { transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .rise { opacity: 1; transform: none; transition: none; }
  .js .hero-plate .hero-media img { transform: none; transition: none; }
  .btn, .card, .tile, .tile img { transition: none; }
}

/* map of Spain beside the cities */
.split-map { align-items: center; }
.split-map .chips { margin: var(--s8) 0 var(--s24); }
.map-wrap { display: grid; place-items: center; }
.map { width: 100%; max-width: 540px; height: auto; font-family: var(--font); }
@media (max-width: 900px) { .map-wrap { order: -1; } .map { max-width: 420px; } }

.band-text .city-list { margin-top: var(--s4); }

/* city tiles: the five cities as pictures */
.city-tiles { list-style: none; padding: 0; margin: var(--gap-lg) 0 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--gap); }
.city-tiles a { display: grid; gap: var(--s4); color: var(--carbon); text-decoration: none; }
.city-tiles picture, .city-tiles img { display: block; width: 100%; }
.city-tiles img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-card); margin-bottom: var(--s4); transition: transform .4s ease; }
@media (hover: hover) { .city-tiles a:hover img { transform: scale(1.02); } .city-tiles a:hover .name { text-decoration: underline; text-underline-offset: 3px; } }
.city-tiles .name { font-weight: 800; font-size: var(--t-h3); line-height: var(--t-h3-lh); }
.city-tiles .note { color: var(--gris); font-size: 16px; line-height: 24px; }
@media (max-width: 900px) { .city-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) { .city-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* two captioned pictures */
.photo-strip { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.photo-strip figure { margin: 0; }
.photo-strip picture, .photo-strip img { display: block; width: 100%; }
.photo-strip img { aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-card); }
.photo-strip figcaption { margin-top: var(--s8); font-weight: 700; color: var(--gris); font-size: 16px; line-height: 24px; }
@media (max-width: 600px) { .photo-strip { grid-template-columns: 1fr; } }
.city-tiles ~ * { margin-top: var(--gap-lg); }
