/* ==========================================================================
   Makol O.C.R. S.A. — Sistema de diseño
   Engineering Solutions CR · Corsorosa
   Rediseño: tecnología médica tier-1, confianza clínica, precisión visual.
   ========================================================================== */

:root {
  /* ---- Color: azul profesional + blanco/gris (paleta ampliada) ---- */
  --teal: #0B7A8C;
  --teal-600: #096A79;
  --teal-500: #0E8FA3;
  --teal-300: #4FB4C4;
  --teal-deep: #08414C;
  --teal-ink: #062E37;
  --navy: #0E2229;
  --navy-2: #16323B;
  --muted: #5C6E72;
  --muted-2: #7B8C8F;
  --slate: #9FB4B8;
  --mist: #F3F7F8;
  --mist-2: #EAF1F2;
  --line: #E3EAEC;
  --line-2: #DCE7E8;
  --cyan-soft: #D6EEF2;
  --cyan-pale: #EAF7F9;
  --white: #FFFFFF;
  --danger: #B3261E;
  --ok: #1E7A54;
  --gold: #C9A24B;

  /* Gradientes de marca (siempre dentro de la paleta azul/teal) */
  --grad-hero: radial-gradient(1100px 620px at 14% -8%, rgba(14,143,163,.35), transparent 60%),
               radial-gradient(900px 560px at 108% 8%, rgba(201,162,75,.10), transparent 55%),
               linear-gradient(180deg, var(--navy) 0%, var(--teal-ink) 62%, var(--teal-deep) 100%);
  --grad-band: linear-gradient(115deg, var(--teal-deep) 0%, var(--teal) 52%, var(--teal-500) 100%);
  --grad-card: linear-gradient(160deg, var(--navy-2) 0%, var(--teal-ink) 100%);
  --grad-line: linear-gradient(90deg, var(--teal), transparent);

  /* ---- Tipografía ---- */
  --serif: 'Fraunces', 'IBM Plex Sans', Georgia, serif;
  --sans: 'IBM Plex Sans', system-ui, -apple-system, Segoe UI, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  /* ---- Layout ---- */
  --maxw: 1200px;
  --pad: 44px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-sm: 9px;

  /* ---- Sombra ---- */
  --shadow-xs: 0 1px 2px rgba(9, 32, 38, .06);
  --shadow-sm: 0 4px 14px rgba(9, 32, 38, .07);
  --shadow-md: 0 14px 36px rgba(9, 32, 38, .12);
  --shadow-lg: 0 28px 64px rgba(9, 32, 38, .18);
  --shadow-glow: 0 0 0 1px rgba(11, 122, 140, .12), 0 18px 40px rgba(11, 122, 140, .18);

  /* ---- Movimiento ---- */
  --ease: cubic-bezier(.2, .7, .2, 1);
  --dur: .22s;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--white);
  color: var(--navy);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: var(--teal); text-decoration: none; transition: color var(--dur) var(--ease); }
a:hover { color: var(--teal-600); }
:focus-visible { outline: 2.5px solid var(--teal-500); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 { margin: 0; letter-spacing: -.012em; font-weight: 600; font-family: var(--serif); color: var(--navy); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--teal); color: #fff; padding: 10px 16px; font: 600 13px var(--sans);
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 8px; top: 8px; color: #fff; }

/* --------------------------------------------------------------------------
   Animaciones (CSS puro)
   -------------------------------------------------------------------------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
@keyframes shimmer {
  0%   { background-position: -300px 0; }
  100% { background-position: 300px 0; }
}
@keyframes pulseRing {
  0%   { box-shadow: 0 0 0 0 rgba(79, 180, 196, .45); }
  100% { box-shadow: 0 0 0 14px rgba(79, 180, 196, 0); }
}

.reveal { animation: fadeUp .7s var(--ease) both; }
.reveal-1 { animation-delay: .05s; }
.reveal-2 { animation-delay: .14s; }
.reveal-3 { animation-delay: .22s; }
.reveal-4 { animation-delay: .3s; }

/* --------------------------------------------------------------------------
   Barra superior
   -------------------------------------------------------------------------- */
.topbar { background: var(--teal-ink); color: var(--cyan-soft); font-size: 12.5px; position: relative; z-index: 70; }
.topbar::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent);
}
.topbar__inner {
  max-width: var(--maxw); margin: 0 auto; padding: 9px var(--pad);
  display: flex; align-items: center; gap: 20px; min-height: 18px;
}
.topbar__event { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; width: 100%; }
.topbar__event-label {
  font: 700 10px var(--mono); letter-spacing: .07em; text-transform: uppercase;
  color: var(--teal-300); background: rgba(79, 180, 196, .16); border-radius: 4px; padding: 3px 8px; flex: none;
}
.topbar__event-name { font-weight: 600; color: #fff; }
.topbar__event-when, .topbar__event-where { color: var(--cyan-soft); }
.topbar__event-btn {
  margin-left: auto; flex: none; font: 600 11px var(--mono); letter-spacing: .04em; text-transform: uppercase;
  color: #fff; background: var(--teal-500); border-radius: 999px; padding: 5px 13px;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.topbar__event-btn:hover { background: var(--teal-300); color: var(--teal-ink); }

.langswitch {
  display: inline-flex; border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 6px; overflow: hidden; flex: none;
}
.langswitch button {
  border: 0; background: transparent; color: var(--cyan-soft); cursor: pointer;
  padding: 5px 11px; font: 600 11px var(--mono); letter-spacing: .04em; line-height: 1.4;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.langswitch button:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.langswitch button[aria-pressed="true"] { background: var(--teal-500); color: #fff; }

.masthead__cta .langswitch { border-color: var(--line-2); }
.masthead__cta .langswitch button { color: var(--muted); }
.masthead__cta .langswitch button:hover { background: var(--mist); color: var(--navy); }
.masthead__cta .langswitch button[aria-pressed="true"] { background: var(--teal); color: #fff; }

/* --------------------------------------------------------------------------
   Cabecera
   -------------------------------------------------------------------------- */
.masthead {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid var(--line);
}
.masthead__inner {
  max-width: var(--maxw); margin: 0 auto; padding: 13px var(--pad);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brandmark { display: flex; align-items: center; flex: none; transition: opacity var(--dur) var(--ease); }
.brandmark:hover { opacity: .82; }
.brandmark img { height: 34px; width: auto; }

.nav { display: flex; gap: 4px; }
.nav a {
  position: relative; color: var(--muted); font: 500 14px var(--sans); padding: 8px 12px;
  white-space: nowrap; border-radius: 8px; transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.nav a:hover { color: var(--navy); background: var(--mist); }
.nav a[aria-current="page"] { color: var(--teal-deep); font-weight: 600; background: var(--cyan-pale); }

.masthead__cta { display: flex; align-items: center; gap: 12px; flex: none; }

.navtoggle {
  display: none; border: 1px solid var(--line-2); background: #fff; border-radius: 8px;
  width: 42px; height: 40px; cursor: pointer; padding: 0;
  align-items: center; justify-content: center; flex-direction: column; gap: 4px;
  transition: border-color var(--dur) var(--ease);
}
.navtoggle:hover { border-color: var(--teal); }
.navtoggle span { display: block; width: 18px; height: 2px; background: var(--navy); border-radius: 2px; }

/* --------------------------------------------------------------------------
   Botones
   -------------------------------------------------------------------------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid transparent; border-radius: 10px; cursor: pointer;
  font: 600 14px var(--sans); padding: 13px 22px;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
  white-space: nowrap; text-align: center; overflow: hidden;
}
.btn::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(115deg, transparent 20%, rgba(255,255,255,.35) 45%, transparent 65%);
  transform: translateX(-120%); transition: transform .5s var(--ease);
}
.btn:hover::after { transform: translateX(120%); }

.btn--primary { background: var(--teal); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 8px 18px rgba(11,122,140,.22); }
.btn--primary:hover { background: var(--teal-600); color: #fff; transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 14px 26px rgba(11,122,140,.3); }
.btn--primary:active { transform: translateY(0); }
.btn--ghost { background: #fff; color: var(--navy); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--teal); color: var(--teal); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn--light { background: #fff; color: var(--teal-deep); }
.btn--light:hover { background: var(--cyan-soft); color: var(--teal-deep); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--sm { padding: 9px 16px; font-size: 13px; border-radius: 8px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none !important; }

/* --------------------------------------------------------------------------
   Tipografía de sección
   -------------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 11px var(--mono); letter-spacing: .14em; color: var(--teal);
  text-transform: uppercase; margin: 0 0 16px;
}

.section { padding: 76px 0; }
.section--tight { padding: 52px 0; }
.section--mist { background: var(--mist); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--navy { background: var(--grad-card); color: #fff; position: relative; overflow: hidden; }
.section--navy::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(760px 420px at 88% 0%, rgba(79,180,196,.18), transparent 60%);
  pointer-events: none;
}
.section--navy .section__sub { color: var(--slate); }

.section__head { margin-bottom: 34px; }
.section__title { font-size: 32px; line-height: 1.18; font-weight: 600; }
.section__sub { font-size: 15.5px; color: var(--muted); margin: 10px 0 0; max-width: 620px; line-height: 1.6; }
.section__head--split {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; flex-wrap: wrap;
}
.section__head--split .section__sub { text-align: right; max-width: 420px; }

/* --------------------------------------------------------------------------
   Hero (portada)
   -------------------------------------------------------------------------- */
.hero {
  position: relative; padding: 78px 0 88px; overflow: hidden;
  background: var(--grad-hero); color: #fff;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(760px 480px at 20% 20%, #000 0%, transparent 72%);
}
.hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 52px; align-items: center; }
.hero .eyebrow { color: var(--teal-300); }
.hero__title {
  font-family: var(--serif); font-size: 48px; font-weight: 600; line-height: 1.08;
  letter-spacing: -.022em; margin: 0 0 18px; color: #fff;
}
.hero__sub { font-size: 17px; color: #C9DEE2; max-width: 500px; margin: 0 0 30px; line-height: 1.65; }

.hero__media {
  position: relative; height: 440px; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid rgba(255,255,255,.14); background: var(--teal-ink);
  box-shadow: var(--shadow-lg);
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(200deg, rgba(8,65,76,0) 45%, rgba(6,46,55,.55) 100%);
}
.hero__badge {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,.94); backdrop-filter: blur(6px);
  border-radius: var(--radius); padding: 14px 18px; box-shadow: var(--shadow-md);
  animation: floatY 6s ease-in-out infinite;
}
.hero__badge--tl { top: 22px; left: 22px; }
.hero__badge--br { bottom: 22px; right: 22px; animation-delay: -3s; }
.hero__badge-n { font: 700 24px var(--serif); color: var(--teal-deep); line-height: 1; }
.hero__badge-l { font: 600 10.5px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }

/* Buscador país + área */
.finder {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius-lg);
  padding: 20px; display: grid; grid-template-columns: 1fr auto; gap: 14px;
  align-items: end; max-width: 460px; backdrop-filter: blur(6px);
}
.field label, .field > span {
  display: block; font: 600 11px var(--mono); letter-spacing: .07em;
  color: var(--muted); margin-bottom: 7px; text-transform: uppercase;
}
.hero .field label { color: #A9CBD1; }
.select-wrap { position: relative; }
.select-wrap::after {
  content: ""; position: absolute; right: 14px; top: 50%; width: 8px; height: 8px;
  border-right: 2px solid var(--teal); border-bottom: 2px solid var(--teal);
  transform: translateY(-70%) rotate(45deg); pointer-events: none;
}
select, input, textarea {
  width: 100%; padding: 12px 34px 12px 14px; border: 1px solid var(--line-2);
  border-radius: 9px; font: 500 14px var(--sans); color: var(--navy); background: #fff;
  appearance: none; -webkit-appearance: none; transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
input, textarea { padding-right: 14px; font-weight: 400; }
textarea { min-height: 130px; resize: vertical; line-height: 1.55; }
select:focus, input:focus, textarea:focus { border-color: var(--teal); outline: none; box-shadow: 0 0 0 4px rgba(11, 122, 140, .14); }
.finder .btn--primary { align-self: stretch; }

/* --------------------------------------------------------------------------
   Directorio de disciplinas (cards con icono)
   -------------------------------------------------------------------------- */
.directory { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.directory__row {
  position: relative; display: flex; flex-direction: column; gap: 16px;
  padding: 26px 24px 24px; border-radius: var(--radius); color: var(--navy);
  background: #fff; border: 1px solid var(--line-2);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.directory__row:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--teal-300); color: var(--navy); }
.directory__ico {
  width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: var(--cyan-pale); color: var(--teal); flex: none; transition: transform var(--dur) var(--ease);
}
.directory__ico svg { width: 24px; height: 24px; }
.directory__row:hover .directory__ico { transform: scale(1.08) rotate(-4deg); background: var(--teal); color: #fff; }
.directory__row:nth-child(2) .directory__ico { background: var(--cyan-soft); }
.directory__row:nth-child(3) .directory__ico { background: #E7EEF2; }
.directory__row:nth-child(4) .directory__ico { background: var(--mist-2); }
.directory__body { flex: 1; }
.directory__name { display: block; font: 600 17px var(--serif); margin-bottom: 8px; }
.directory__desc { display: block; font: 400 13.5px var(--sans); color: var(--muted); line-height: 1.55; }
.directory__arrow {
  align-self: flex-end; width: 30px; height: 30px; border-radius: 50%; flex: none;
  display: flex; align-items: center; justify-content: center;
  color: var(--teal); background: var(--mist); font-weight: 600;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.directory__row:hover .directory__arrow { background: var(--teal); color: #fff; transform: translateX(3px); }

/* --------------------------------------------------------------------------
   Mapa de cobertura
   -------------------------------------------------------------------------- */
.mapctrl {
  display: grid; grid-template-columns: minmax(240px, 320px) auto; gap: 16px;
  align-items: end; margin-bottom: 18px;
}
.mapbox {
  position: relative; border: 1px solid var(--line-2); border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #fff 0%, var(--mist) 100%);
  padding: 18px; margin-bottom: 44px; box-shadow: var(--shadow-sm);
}
#makol-map { display: block; width: 100%; height: auto; }

.ctx { fill: #EDF1F2; stroke: #E2E9EA; stroke-width: .8; pointer-events: none; }
.islet { fill: #C3D3D6; pointer-events: none; }
.inset-box { fill: #FAFCFC; stroke: #D3DFE1; stroke-width: 1.2; pointer-events: none; }

.terr { fill: #C6D6D9; stroke: #fff; stroke-width: 1; cursor: pointer; transition: fill .18s var(--ease), opacity .18s var(--ease); }
.terr:hover { fill: #8FBAC2; }
.terr--dot { fill: #7FA9B1; stroke: #fff; stroke-width: 1.8; transition: fill .18s var(--ease), opacity .18s var(--ease), r .18s var(--ease); }
.terr--dot:hover { fill: var(--teal); }
.terr.is-on { fill: var(--teal); }
.terr--dot.is-on { fill: var(--teal); r: 10; }
.terr.is-rel { fill: #4E9DAC; }
.terr.is-dim { opacity: .35; }

.maplabel {
  position: absolute; pointer-events: none; background: var(--navy); color: #fff;
  font: 600 12px var(--sans); padding: 7px 11px; border-radius: 7px; white-space: nowrap;
  transform: translate(-50%, -140%); opacity: 0; transition: opacity .12s var(--ease); z-index: 5;
  box-shadow: var(--shadow-sm);
}
.maplabel::after {
  content: ""; position: absolute; left: 50%; top: 100%; transform: translateX(-50%);
  border: 5px solid transparent; border-top-color: var(--navy);
}
.maplabel.is-on { opacity: 1; }

.maplegend { display: flex; gap: 18px; flex-wrap: wrap; padding: 14px 8px 2px; font: 500 11.5px var(--sans); color: var(--muted); }
.maplegend span { display: inline-flex; align-items: center; gap: 7px; }
.maplegend i { width: 12px; height: 12px; border-radius: 4px; display: block; flex: none; }

/* Imagen sustituida por el marcador de respaldo */
img.is-fallback { object-fit: contain; background: var(--mist); }

/* --------------------------------------------------------------------------
   Mapa de marcas y países (selección cruzada en dos direcciones)
   -------------------------------------------------------------------------- */
.brandmap__status {
  font: 500 14.5px var(--sans); color: var(--navy); margin: 0 0 20px;
  padding: 14px 18px; background: var(--mist); border: 1px solid var(--line-2);
  border-left: 3px solid var(--teal); border-radius: var(--radius-sm);
}
.brandmap__status b { color: var(--teal); font-weight: 600; }
.brandmap__clear {
  border: 1px solid var(--line-2); background: #fff; color: var(--muted); cursor: pointer;
  border-radius: 9px; padding: 12px 16px; font: 500 13px var(--sans); flex: none; white-space: nowrap;
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.brandmap__clear:hover { border-color: var(--teal); color: var(--teal); }
.brandmap__clear[hidden] { display: none !important; }

.grouplabel {
  font: 600 11px var(--mono); letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 16px; display: flex; align-items: center; gap: 10px;
}
.grouplabel::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.chipcloud { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 44px; }
.chip {
  border: 1px solid var(--line-2); background: #fff; color: var(--navy);
  border-radius: 999px; padding: 9px 17px; font: 500 13.5px var(--sans);
  cursor: pointer; transition: background .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease), opacity .18s var(--ease), transform .18s var(--ease);
}
.chip:hover { border-color: var(--teal); color: var(--teal); transform: translateY(-1px); }
.chip.is-on { background: var(--teal); border-color: var(--teal); color: #fff; box-shadow: var(--shadow-sm); }
.chip.is-rel { border-color: var(--teal); color: var(--teal); background: rgba(11, 122, 140, .08); }
.chip.is-dim { opacity: .32; border-color: var(--line); color: var(--muted); }
.chip.is-dim:hover { opacity: .6; }

.brandgrid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.brandcard {
  position: relative; background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius-sm);
  height: 100px; display: flex; align-items: center; justify-content: center;
  padding: 16px; cursor: pointer; text-align: center;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease), opacity .18s var(--ease), background .18s var(--ease), transform .18s var(--ease);
}
.brandcard:hover { border-color: var(--teal); box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.brandcard img { max-height: 34px; max-width: 100%; object-fit: contain; filter: grayscale(1); opacity: .68; transition: filter .2s var(--ease), opacity .2s var(--ease); }
.brandcard__text { font: 600 14px var(--sans); color: var(--muted); letter-spacing: .01em; }

.brandcard.is-on { border-color: var(--teal); background: rgba(11, 122, 140, .07); box-shadow: 0 0 0 1px var(--teal) inset; }
.brandcard.is-rel { border-color: var(--teal); background: rgba(11, 122, 140, .05); }
.brandcard.is-on img, .brandcard.is-rel img, .brandcard:hover img { filter: none; opacity: 1; }
.brandcard.is-on .brandcard__text, .brandcard.is-rel .brandcard__text { color: var(--teal); }
.brandcard.is-dim { opacity: .3; }
.brandcard.is-dim:hover { opacity: .65; }

.brandcard__site {
  position: absolute; top: 6px; right: 6px; width: 34px; height: 34px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center; color: var(--teal);
  background: var(--cyan-pale); border: 1px solid var(--line-2);
  font-size: 19px; line-height: 1; font-weight: 700; opacity: .8;
  transition: opacity .15s var(--ease), background .15s var(--ease), color .15s var(--ease), transform .15s var(--ease);
}
.brandcard:hover .brandcard__site, .brandcard__site:focus-visible { opacity: 1; transform: scale(1.08); }
.brandcard__site:hover { background: var(--teal); color: #fff; border-color: var(--teal); }

/* --------------------------------------------------------------------------
   Servicio + estadísticas
   -------------------------------------------------------------------------- */
.split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: start; }
.checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.checklist__item {
  display: flex; gap: 12px; align-items: flex-start; background: #fff;
  border: 1px solid var(--line-2); border-radius: var(--radius-sm); padding: 16px;
  font: 500 13.5px var(--sans); line-height: 1.5; box-shadow: var(--shadow-xs);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.checklist__item:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); border-color: var(--teal-300); }
.checklist__item::before {
  content: "\2713"; width: 22px; height: 22px; border-radius: 50%; flex: none;
  background: var(--cyan-pale); color: var(--teal); font-weight: 700; font-size: 12px;
  display: flex; align-items: center; justify-content: center; line-height: 1.45;
}
.statcard {
  background: var(--grad-card); color: #fff; border-radius: var(--radius-lg);
  padding: 32px; display: grid; gap: 24px; align-content: center;
  box-shadow: var(--shadow-md); position: relative; overflow: hidden;
}
.statcard::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(420px 260px at 100% 0%, rgba(79,180,196,.28), transparent 60%);
}
.statcard > div { position: relative; }
.statcard__n { font: 700 42px var(--serif); letter-spacing: -.02em; line-height: 1; }
.statcard__l { font: 500 12px var(--sans); color: var(--slate); margin-top: 8px; }
.statcard > div + div { border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 22px; }

/* --------------------------------------------------------------------------
   Banda CTA
   -------------------------------------------------------------------------- */
.ctaband { background: var(--grad-band); color: #fff; padding: 62px 0; position: relative; overflow: hidden; }
.ctaband::before {
  content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.16) 1.4px, transparent 1.4px);
  background-size: 22px 22px;
  mask-image: linear-gradient(115deg, #000 0%, transparent 55%);
}
.ctaband__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.ctaband h2 { font-size: 32px; line-height: 1.2; margin: 0 0 10px; max-width: 620px; color: #fff; }
.ctaband p { color: var(--cyan-soft); font-size: 15.5px; margin: 0; max-width: 560px; }

/* --------------------------------------------------------------------------
   Eventos
   -------------------------------------------------------------------------- */
.eventgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.eventcard {
  background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius-lg);
  padding: 30px; box-shadow: var(--shadow-xs); display: flex; flex-direction: column; gap: 16px;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.eventcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--teal-300); }
.eventcard__logo { height: 52px; display: flex; align-items: center; }
.eventcard__logo img { max-height: 52px; max-width: 190px; object-fit: contain; }
.eventcard__logo--pending {
  border: 1.5px dashed var(--line-2); border-radius: 9px; padding: 0 16px; height: 52px;
  display: inline-flex; align-items: center; font: 600 11px var(--mono); text-transform: uppercase;
  letter-spacing: .06em; color: var(--muted-2); width: fit-content;
}
.eventcard__meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font: 600 12px var(--mono); color: var(--teal); text-transform: uppercase; letter-spacing: .04em; }
.eventcard__meta span { display: inline-flex; align-items: center; gap: 6px; }
.eventcard__title { font-size: 22px; }
.eventcard__desc { color: var(--muted); font-size: 14.5px; line-height: 1.6; margin: 0; }
.eventcard__place { color: var(--navy); font-size: 13.5px; font-weight: 500; }

.countdown__grid { display: flex; gap: 10px; }
.countdown__grid > div { background: var(--mist); border: 1px solid var(--line-2); border-radius: 10px; padding: 10px 4px; text-align: center; flex: 1; }
.countdown__grid span { display: block; font: 700 22px var(--serif); color: var(--teal-deep); line-height: 1; }
.countdown__grid small { display: block; font: 600 9.5px var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-top: 4px; }
.countdown__done { font: 600 14px var(--sans); color: var(--ok); margin: 0; }
.countdown__pending {
  display: inline-flex; align-items: center; font: 600 12.5px var(--sans); color: var(--muted-2);
  background: var(--mist); border: 1px dashed var(--line-2); border-radius: 9px; padding: 10px 16px; width: fit-content;
}

.eventspast { border: 1px dashed var(--line-2); border-radius: var(--radius); padding: 28px; text-align: center; color: var(--muted); font-size: 14px; }

/* --------------------------------------------------------------------------
   Aviso de reporte de averías (Servicios)
   -------------------------------------------------------------------------- */
.breakdown {
  display: flex; align-items: center; gap: 20px; background: var(--grad-card); color: #fff;
  border-radius: var(--radius-lg); padding: 26px 32px; box-shadow: var(--shadow-md);
}
.breakdown__ico {
  width: 52px; height: 52px; border-radius: 14px; flex: none;
  background: rgba(255,255,255,.12); display: flex; align-items: center; justify-content: center; color: var(--teal-300);
}
.breakdown__ico svg { width: 26px; height: 26px; }
.breakdown__text { display: flex; flex-direction: column; gap: 4px; }
.breakdown__label { font: 500 14px var(--sans); color: #fff; letter-spacing: .01em; }
.breakdown__phone {
  font: 600 20px var(--sans); color: #fff; line-height: 1.4; display: inline-flex; align-items: baseline; gap: 10px;
}
.breakdown__phone:hover { text-decoration: underline; }
.breakdown__ext { font: 500 14px var(--sans); color: #fff; }
.breakdown__afterhours { font: 500 14px var(--sans); color: #fff; margin-top: 2px; }
.breakdown__afterhours a { color: #fff; font-weight: 500; text-decoration: underline; }
.breakdown__afterhours a:hover { text-decoration: none; }

/* --------------------------------------------------------------------------
   Cabecera de página interna
   -------------------------------------------------------------------------- */
.pagehead {
  position: relative; overflow: hidden;
  background: var(--grad-hero); border-bottom: 1px solid var(--teal-ink); padding: 58px 0 54px; color: #fff;
}
.pagehead::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .45;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(640px 380px at 8% 0%, #000 0%, transparent 70%);
}
.pagehead .wrap { position: relative; }
.pagehead h1 { font-family: var(--serif); font-size: 38px; line-height: 1.15; margin: 0; max-width: 760px; color: #fff; font-weight: 600; }
.pagehead p { font-size: 16.5px; color: #C9DEE2; margin: 14px 0 0; max-width: 640px; }
.crumbs { font: 500 11px var(--mono); letter-spacing: .09em; color: var(--teal-300); margin-bottom: 16px; text-transform: uppercase; }
.crumbs a { color: #A9CBD1; }
.crumbs a:hover { color: #fff; }

/* --------------------------------------------------------------------------
   Prosa
   -------------------------------------------------------------------------- */
.prose { max-width: 760px; font-size: 16px; color: #2C4045; }
.prose p { margin: 0 0 1.15em; text-align: justify; }
.prose h2 { font-size: 27px; margin: 1.6em 0 .5em; color: var(--navy); font-family: var(--serif); }
.prose h3 { font-size: 19px; margin: 1.5em 0 .4em; color: var(--navy); }
.prose ul { padding-left: 20px; margin: 0 0 1.1em; }
.prose li { margin-bottom: .4em; }
.prose strong { font-weight: 600; color: var(--navy); }

.lead {
  font-size: 19px; line-height: 1.62; color: var(--navy); font-weight: 500; font-family: var(--serif);
  border-left: 3px solid var(--teal); padding-left: 22px; margin: 0 0 30px; max-width: 720px; text-align: justify;
}

/* --------------------------------------------------------------------------
   Tarjetas genéricas
   -------------------------------------------------------------------------- */
.cardgrid { display: grid; gap: 18px; }
.cardgrid--2 { grid-template-columns: repeat(2, 1fr); }
.cardgrid--3 { grid-template-columns: repeat(3, 1fr); }
.cardgrid--4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius);
  padding: 26px; transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  position: relative; overflow: hidden;
}
.card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; border-radius: var(--radius) 0 0 var(--radius);
  background: var(--teal); transform: scaleY(0); transform-origin: bottom; transition: transform var(--dur) var(--ease);
}
.card:hover { transform: translateY(-4px); border-color: var(--teal-300); box-shadow: var(--shadow-md); }
.card:hover::before { transform: scaleY(1); }
.card--mist { background: var(--mist); }
.card__ico {
  width: 42px; height: 42px; border-radius: 11px; margin-bottom: 16px;
  background: var(--cyan-pale); color: var(--teal); display: flex; align-items: center; justify-content: center;
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.card__ico svg { width: 21px; height: 21px; }
.card:hover .card__ico { background: var(--teal); color: #fff; transform: scale(1.06) rotate(-3deg); }
.card__title { font-size: 17.5px; margin: 0 0 9px; }
.card__text { font-size: 14px; color: var(--muted); margin: 0; line-height: 1.6; text-align: justify; }
a.card { color: inherit; display: block; }
a.card:hover { color: inherit; }

/* --------------------------------------------------------------------------
   Pestañas de productos
   -------------------------------------------------------------------------- */
.tabs {
  display: flex; gap: 6px; border-bottom: 1px solid var(--line);
  overflow-x: auto; scrollbar-width: none; margin-bottom: 40px; padding-bottom: 2px;
}
.tabs::-webkit-scrollbar { display: none; }
.tabs button {
  border: 0; background: transparent; cursor: pointer; white-space: nowrap;
  padding: 13px 20px; font: 500 14.5px var(--sans); color: var(--muted);
  border-radius: 10px 10px 0 0; margin-bottom: -1px; position: relative;
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.tabs button:hover { color: var(--navy); background: var(--mist); }
.tabs button[aria-selected="true"] { color: var(--teal-deep); font-weight: 600; background: var(--cyan-pale); }
.tabs button[aria-selected="true"]::after {
  content: ""; position: absolute; left: 10%; right: 10%; bottom: 0; height: 2.5px; border-radius: 2px;
  background: var(--teal);
}
.tabs__divider {
  flex: none; width: 1px; align-self: stretch; margin: 4px 8px 4px auto;
  background: linear-gradient(180deg, transparent, var(--line-2) 20%, var(--line-2) 80%, transparent);
}
.tabs button.tabs__tab--sep {
  border: 1px solid var(--line-2); border-radius: 10px; background: var(--mist); margin-bottom: 3px;
}
.tabs button.tabs__tab--sep[aria-selected="true"] { border-color: var(--teal-300); background: var(--cyan-pale); }
.tabpanel[hidden] { display: none; }
.tabpanel { animation: fadeUp .45s var(--ease) both; }
.tabpanel__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: start; }
.tabpanel__media { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); align-self: stretch; }
.tabpanel__media img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; display: block; }
.taglist { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.tag {
  font: 500 12.5px var(--sans); color: var(--teal-deep); background: var(--cyan-pale);
  border: 1px solid var(--line-2); border-radius: 999px; padding: 7px 15px;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.tag:hover { background: var(--teal); color: #fff; }

/* Bloques de área en Productos (siempre visibles) + marcas por área */
.areablock + .areablock { border-top: 1px solid var(--line); }
.pbrandgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px; margin-top: 18px; }
.pbrand {
  background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius-sm);
  height: 84px; display: flex; align-items: center; justify-content: center; padding: 14px;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.pbrand:hover { transform: translateY(-3px); border-color: var(--teal-300); box-shadow: var(--shadow-sm); }
.pbrand img { max-height: 30px; max-width: 100%; object-fit: contain; filter: grayscale(1); opacity: .72; transition: filter .2s var(--ease), opacity .2s var(--ease); }
.pbrand:hover img { filter: none; opacity: 1; }

/* --------------------------------------------------------------------------
   Equipo
   -------------------------------------------------------------------------- */
.dept { margin-bottom: 48px; }
.dept__title {
  font: 600 12px var(--mono); letter-spacing: .1em; text-transform: uppercase;
  color: var(--teal); padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 24px;
}
.people { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.person {
  border: 1px solid var(--line-2); border-radius: var(--radius); padding: 22px; background: #fff;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.person:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: var(--teal-300); }
.person__ph {
  width: 112px; height: 112px; border-radius: 50%; overflow: hidden; margin-bottom: 18px;
  background: var(--cyan-pale); border: 3px solid #fff; outline: 1px solid var(--line-2);
  display: flex; align-items: center; justify-content: center;
  font: 600 32px var(--serif); color: var(--teal); flex: none; box-shadow: var(--shadow-xs);
}
.person__ph img { width: 100%; height: 100%; object-fit: cover; }
.person__name { font: 600 15px var(--sans); margin: 0 0 3px; line-height: 1.3; }
.person__role { font: 400 12.5px var(--sans); color: var(--muted); margin: 0 0 12px; line-height: 1.4; }
.person__meta { font: 400 12.5px var(--sans); color: var(--muted); line-height: 1.7; word-break: break-word; }
.person__meta a { color: var(--teal); }

/* --------------------------------------------------------------------------
   Valores / sedes
   -------------------------------------------------------------------------- */
.values { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.value {
  background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius-sm);
  padding: 20px 16px; text-align: center; font: 500 13px var(--sans); line-height: 1.4; color: var(--navy);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.value:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: var(--teal-300); background: var(--cyan-pale); }
.value__ico {
  width: 40px; height: 40px; margin: 0 auto 12px; padding: 8px; border-radius: 10px;
  background: var(--mist); opacity: .9;
}

.offices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 980px; }
.office {
  border: 1px solid var(--line-2); border-radius: var(--radius); padding: 26px; text-align: center;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.office:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: var(--teal-300); }
.office img { height: 110px; margin: 0 auto 18px; object-fit: contain; }
.office__name { font: 600 16.5px var(--serif); margin: 0 0 3px; }
.office__country { font: 500 12px var(--mono); letter-spacing: .08em; color: var(--teal); text-transform: uppercase; }

/* Presencia legal (sin oficina física) — deliberadamente más discreto que .offices */
.legalpresence { margin-top: 40px; max-width: 980px; }
.legalgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.legalitem {
  border: 1px dashed var(--line-2); border-radius: var(--radius-sm); padding: 14px 16px;
  background: transparent; display: flex; flex-direction: column; gap: 4px;
}
.legalitem__img { height: 40px; margin: 0 0 6px; object-fit: contain; }
.legalitem__country { font: 600 13.5px var(--sans); color: var(--navy); }
.legalitem__name { font: 500 12px var(--sans); color: var(--muted-2); }

/* Certificaciones (Inicio) */
.certgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 18px; max-width: 700px; }
.certitem {
  border: 1px solid var(--line-2); border-radius: var(--radius); padding: 22px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center;
}
.certitem__img { height: 64px; width: auto; object-fit: contain; }
.certitem__name { font: 600 13px var(--sans); color: var(--navy); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* --------------------------------------------------------------------------
   Formularios
   -------------------------------------------------------------------------- */
.form { display: grid; gap: 20px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { display: block; font: 600 11px var(--mono); letter-spacing: .06em; color: var(--muted); margin-bottom: 7px; text-transform: uppercase; }
.field .req { color: var(--teal); }
.field__hint { font-size: 12.5px; color: var(--muted); margin: 6px 0 0; }
.field__err { font-size: 12.5px; color: var(--danger); margin: 6px 0 0; display: none; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--danger); }
.field.is-invalid .field__err { display: block; }

.radios { display: flex; gap: 10px; flex-wrap: wrap; }
.radio {
  display: inline-flex; align-items: center; gap: 9px; border: 1px solid var(--line-2);
  border-radius: 9px; padding: 11px 16px; cursor: pointer; font: 500 13.5px var(--sans);
  background: #fff; transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.radio:hover { border-color: var(--teal); transform: translateY(-1px); }
.radio input { width: auto; margin: 0; accent-color: var(--teal); }
.radio:has(input:checked) { border-color: var(--teal); background: rgba(11, 122, 140, .06); }

.filedrop {
  border: 1.5px dashed var(--line-2); border-radius: var(--radius); padding: 24px;
  text-align: center; background: var(--mist); font-size: 13.5px; color: var(--muted);
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.filedrop:hover { border-color: var(--teal-300); background: var(--cyan-pale); }
.filedrop input { padding: 0; border: 0; background: transparent; font-size: 13px; }
.filelist { list-style: none; padding: 0; margin: 12px 0 0; font-size: 13px; color: var(--navy); }
.filelist li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-top: 1px solid var(--line); }

.formnote {
  background: var(--mist); border: 1px solid var(--line-2); border-left: 3px solid var(--teal);
  border-radius: var(--radius-sm); padding: 17px 19px; font-size: 13.5px; color: var(--muted); line-height: 1.6;
}
.formstatus { display: none; border-radius: var(--radius-sm); padding: 15px 19px; font-size: 14px; font-weight: 500; }
.formstatus.is-ok { display: block; background: rgba(30, 122, 84, .08); color: var(--ok); border: 1px solid rgba(30, 122, 84, .3); }
.formstatus.is-err { display: block; background: rgba(179, 38, 30, .07); color: var(--danger); border: 1px solid rgba(179, 38, 30, .28); }

.contactgrid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 48px; align-items: start; }
.infolist { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; }
.infolist__k { font: 600 11px var(--mono); letter-spacing: .08em; color: var(--teal); text-transform: uppercase; margin-bottom: 5px; }
.infolist__v { font-size: 14.5px; color: var(--navy); line-height: 1.6; }
.infolist__v a { color: var(--navy); }
.infolist__v a:hover { color: var(--teal); }
.mapframe { border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; height: 260px; margin-top: 26px; box-shadow: var(--shadow-sm); }
.mapframe iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.15) contrast(1.02); }

/* --------------------------------------------------------------------------
   Pie de página (compacto: contacto + sellos + barra legal)
   -------------------------------------------------------------------------- */
.footer { background: var(--teal-ink); color: #B9D6DC; font-size: 14px; position: relative; }
.footer::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.16), transparent);
}
.footer a { color: #B9D6DC; }
.footer a:hover { color: #fff; }

.footer__main {
  max-width: var(--maxw); margin: 0 auto; padding: 42px var(--pad) 34px;
  display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center;
}
.footer__logo { height: 34px; width: auto; margin-bottom: 18px; }
.footer__contact {
  display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 13.5px; line-height: 1.6;
}
.footer__contact span { display: inline-flex; align-items: center; gap: 7px; }
.footer__contact svg { width: 14px; height: 14px; fill: currentColor; opacity: .7; flex: none; }

.seal--placeholder {
  border: 1px dashed rgba(255, 255, 255, .3); border-radius: 8px; padding: 9px 14px;
  font: 500 10px var(--mono); color: #8FB3BB; text-transform: uppercase; letter-spacing: .06em;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.footer__bottom-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 18px var(--pad) 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 12.5px; color: #86AAB2;
}
.footer__legal { display: flex; gap: 18px; flex-wrap: wrap; }
.corso { font-size: 12.5px; letter-spacing: .01em; }
.corso a { color: #B9D6DC; }
.corso a:hover { color: #fff; }
.corso .rosa { color: #C9748A; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .brandgrid { grid-template-columns: repeat(4, 1fr); }
  .people { grid-template-columns: repeat(3, 1fr); }
  .values { grid-template-columns: repeat(4, 1fr); }
  .directory { grid-template-columns: repeat(2, 1fr); }
  .offices { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  :root { --pad: 22px; }

  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); flex-direction: column;
    gap: 0; padding: 8px 22px 18px; box-shadow: var(--shadow-md);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 13px 4px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 15px; background: none; }
  .nav a:last-child { border-bottom: 0; }
  .nav a[aria-current="page"] { border-bottom-color: var(--line); color: var(--teal); background: none; }
  .navtoggle { display: flex; }
  .masthead__inner { position: relative; }
  .masthead__cta .btn { display: none; }

  .topbar__event { font-size: 11.5px; }
  .topbar__event-where { display: none; }
  .topbar__event-btn { margin-left: 0; }

  .hero__grid, .split, .contactgrid, .tabpanel__grid { grid-template-columns: 1fr; gap: 32px; }
  .hero__media { height: 300px; order: -1; }
  .hero__title { font-size: 35px; }
  .finder { grid-template-columns: 1fr; max-width: none; }
  .hero__badge { padding: 11px 14px; }

  .section { padding: 52px 0; }
  .section__title { font-size: 26px; }
  .section__head--split { flex-direction: column; align-items: flex-start; gap: 10px; }
  .section__head--split .section__sub { text-align: left; }

  .pagehead h1 { font-size: 29px; }
  .breakdown { flex-direction: column; align-items: flex-start; padding: 22px; }
  .breakdown__phone { font-size: 24px; }
  .eventgrid { grid-template-columns: 1fr; }
  .countdown__grid span { font-size: 18px; }
  .directory { grid-template-columns: 1fr; }

  .brandgrid { grid-template-columns: repeat(3, 1fr); }
  .mapctrl { grid-template-columns: 1fr; }
  .mapctrl .brandmap__clear { width: 100%; }
  .maplegend { gap: 10px 16px; font-size: 11px; }
  .maplabel { font-size: 11px; padding: 5px 8px; }
  .checklist, .cardgrid--2, .cardgrid--3, .cardgrid--4, .offices { grid-template-columns: 1fr; }
  .legalgrid { grid-template-columns: repeat(2, 1fr); }
  .people { grid-template-columns: repeat(2, 1fr); }
  .values { grid-template-columns: repeat(2, 1fr); }
  .form__row { grid-template-columns: 1fr; }

  .ctaband__inner { flex-direction: column; align-items: flex-start; }
  .ctaband h2 { font-size: 26px; }

  .footer__main { grid-template-columns: 1fr; gap: 28px; align-items: flex-start; }
  .footer__bottom-inner { flex-direction: column; align-items: flex-start; gap: 10px; }
}

@media (max-width: 520px) {
  .brandgrid { grid-template-columns: repeat(2, 1fr); }
  .people { grid-template-columns: 1fr; }
  .hero__title { font-size: 29px; }
  .hero__badge-n { font-size: 20px; }
}

/* Impresión */
@media print {
  .topbar, .masthead, .footer, .ctaband, .navtoggle { display: none !important; }
  body { color: #000; }
}
