/* =====================================================================
   Prácticos del Puerto y Ría de Ferrol — v2 "cinematográfica"
   Azul marino profundo, fotografía a sangre, Bricolage Grotesque en
   titulares, Manrope en cuerpo, JetBrains Mono para datos.
   ===================================================================== */

@font-face { font-family: "Bricolage Grotesque"; src: url("/fonts/bricolage-grotesque.woff2") format("woff2"); font-weight: 400 800; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("/fonts/manrope.woff2") format("woff2"); font-weight: 400 800; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/fonts/jetbrains-mono.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }

:root {
  /* Paleta «Perla»: blanco perla + morado del sello (#2A2B64) en títulos + dorado como acento. */
  --bg:      #F7F7F5;
  --bg-2:    #FFFFFF;
  --bg-3:    #ECECEA;
  --bg-4:    #DEDEDB;
  --line:    rgba(42,43,100,.12);
  --line-2:  rgba(42,43,100,.26);
  --text:    #24254F;
  --muted:   #5D5E80;
  --dim:     #9A9BB5;
  --red:     #B8892E;
  --red-2:   #96701F;
  --sea:     #2A2B64;
  --ok:      #2C8A5B;
  --white:   #2A2B64;               /* "tinta fuerte": títulos y datos (era blanco en el tema oscuro) */
  --veil:    18,19,47;              /* rgb del velo sobre fotos (hero, flota, lightbox) */
  --hdr-bg:  rgba(247,247,245,.9);  /* cabecera sólida */
  --foot-bg: #1A1B3F;
  --ph-a:    #2E2F6B; --ph-b: #1E1F4A; --ph-c: #12132F;   /* degradado de los huecos */
  --wm:      rgba(20,30,50,.07);    /* numeración en marca de agua */
  --on-dark:       #FFFFFF;                 /* texto sobre superficies oscuras (hero, flota, pie, mapa) */
  --on-dark-2:     rgba(255,255,255,.72);
  --on-dark-3:     rgba(255,255,255,.5);
  --accent-on-dark:#E2B96A;                 /* dorado claro legible sobre azul oscuro */

  --display: "Bricolage Grotesque", "Manrope", system-ui, sans-serif;
  --font:    "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono:    "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --wrap: 1360px;
  --gutter: clamp(20px, 5vw, 72px);
  --nav-h: 84px;
  --r: 4px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 600; letter-spacing: -.03em; line-height: 1.02; color: var(--white); }
.hero h1, .foot-tel, .footer h4 { color: var(--on-dark); }
p { margin: 0 0 1em; }
strong { font-weight: 700; color: var(--white); }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; color: inherit; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--sea); outline-offset: 3px; }
.mono { font-family: var(--mono); font-feature-settings: "tnum"; }
.muted { color: var(--muted); }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--red); color: #fff; padding: 8px 14px; border-radius: 4px; z-index: 100; }
.skip:focus { left: 8px; }

.kicker { display: block; font-family: var(--mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--red-2); font-weight: 500; margin-bottom: 18px; }
.lead { font-size: clamp(17px, 1.35vw, 20px); color: var(--muted); max-width: 56ch; margin: 0; }

/* ---------- botones ---------- */
.btn { display: inline-flex; align-items: center; gap: 12px; padding: 16px 24px; border-radius: 3px; font-weight: 700; font-size: 15px; letter-spacing: -.01em; transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s; will-change: transform; }
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-2); }
.btn-ghost { border: 1px solid var(--line-2); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.btn-line { border: 1px solid var(--line-2); color: var(--white); padding: 12px 18px; font-size: 14px; }
.btn-line:hover { background: var(--white); color: var(--bg); border-color: var(--white); }

/* ---------- reveal ---------- */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .1s; } .rv-d2 { transition-delay: .2s; } .rv-d3 { transition-delay: .3s; }
.pic.rv { transform: none; clip-path: inset(0 0 100% 0); transition: clip-path 1.2s var(--ease), opacity .6s; }
.pic.rv.in { clip-path: inset(0 0 0 0); }
@media (prefers-reduced-motion: reduce) { .rv, .pic.rv { opacity: 1; transform: none; clip-path: none; transition: none; } }

/* ---------- imágenes y huecos ---------- */
.pic { position: relative; margin: 0; overflow: hidden; border-radius: var(--r); background: var(--bg-3); width: 100%; }
.pic::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); border-radius: inherit; pointer-events: none; }
.pic img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.pic.veil::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(var(--veil),0) 40%, rgba(var(--veil),.7) 100%); pointer-events: none; }
.ph { background:
  radial-gradient(120% 80% at 20% 0%, rgba(95,179,217,.14), transparent 60%),
  radial-gradient(100% 90% at 100% 100%, rgba(228,71,46,.12), transparent 55%),
  linear-gradient(160deg, var(--ph-a) 0%, var(--ph-b) 55%, var(--ph-c) 100%); }
.ph::before { content: ""; position: absolute; inset: 0; opacity: .32; mix-blend-mode: soft-light; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .5 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
.ph-in { position: absolute; left: 18px; bottom: 16px; right: 18px; display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; align-items: center; font-family: var(--mono); color: var(--on-dark-2); z-index: 2; }
.ph-in svg { width: 26px; height: 26px; grid-row: span 2; fill: none; stroke: currentColor; stroke-width: 1.4; opacity: .8; }
.ph-in b { font-weight: 600; font-size: 12px; letter-spacing: .1em; color: var(--text); }
.ph-in i { font-style: normal; font-size: 11px; opacity: .75; }

/* ---------- cabecera ---------- */
.hdr { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h); color: #fff; transition: transform .45s var(--ease), background .35s, box-shadow .35s; }
.hdr .wrap { display: flex; align-items: center; gap: 32px; height: 100%; }
.hdr.solid, .hdr.static { background: var(--hdr-bg); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.hdr.hide { transform: translateY(-100%); }
.brand { display: flex; align-items: center; gap: 14px; margin-right: auto; }
.brand-logo { width: 46px; height: 46px; border-radius: 50%; background: #fff; display: grid; place-items: center; overflow: hidden; flex: none; }
.brand-logo img { width: 40px; height: 40px; object-fit: contain; }
.brand-logo.mono { background: none; }
.brand-logo.mono img { width: 46px; height: 46px; }
.brand-name { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name b { font-family: var(--display); font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.brand-name span { font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; opacity: .6; margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a { position: relative; padding: 8px 12px; font-size: 14.5px; font-weight: 600; color: rgba(255,255,255,.82); transition: color .2s; }
.nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 1px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:hover, .nav a[aria-current] { color: #fff; }
.nav a:hover::after, .nav a[aria-current]::after { transform: scaleX(1); }
.hdr-tools { display: flex; align-items: center; gap: 12px; }
.lang { display: flex; font-family: var(--mono); font-size: 12px; border: 1px solid var(--line-2); border-radius: 3px; overflow: hidden; }
.lang a { padding: 6px 10px; color: rgba(255,255,255,.7); }
.lang a.on { background: #fff; color: #0B1220; font-weight: 600; }
.btn-ops { display: inline-flex; align-items: center; gap: 9px; padding: 10px 16px; border-radius: 3px; font-size: 14px; font-weight: 700; background: var(--red); color: #fff; transition: background .2s, transform .2s; }
.btn-ops:hover { background: var(--red-2); transform: translateY(-1px); }
/* Área privada: botón recuadrado, siempre visible */
.btn-priv { display: inline-flex; align-items: center; gap: 9px; padding: 9px 15px; border-radius: 3px; font-size: 14px; font-weight: 700; border: 1.5px solid currentColor; color: inherit; transition: background .2s, color .2s, transform .2s; }
.btn-priv svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn-priv:hover { background: #fff; color: #2A2B64; border-color: #fff; transform: translateY(-1px); }
.hdr.solid .btn-priv, .hdr.static .btn-priv { color: var(--white); border-color: var(--white); }
.hdr.solid .btn-priv:hover, .hdr.static .btn-priv:hover { background: var(--white); color: #fff; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.6); } 70% { box-shadow: 0 0 0 7px rgba(255,255,255,0); } 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); } }
.burger { display: none; background: none; border: 1px solid var(--line-2); border-radius: 3px; padding: 8px 12px; font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.mnav { position: fixed; inset: 0; z-index: 60; background: var(--bg); color: var(--white); display: none; overflow: auto; }
.mnav.open { display: block; }
.mnav .wrap { min-height: 100%; display: flex; flex-direction: column; padding: 20px 0 32px; }
.mnav-top { display: flex; justify-content: space-between; align-items: center; height: 44px; margin-bottom: 40px; }
.mnav-list a { display: flex; align-items: baseline; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); font-family: var(--display); font-size: clamp(28px, 8vw, 40px); font-weight: 600; letter-spacing: -.03em; }
.mnav-list a small { font-family: var(--mono); font-size: 12px; color: var(--red-2); letter-spacing: .1em; }
.mnav-list a.red { color: var(--red-2); }
.mnav-list a.priv { border: 1.5px solid var(--white); border-radius: 4px; padding: 14px 18px; margin-top: 18px; font-size: clamp(22px, 6vw, 30px); }
.mnav-foot { margin-top: auto; padding-top: 32px; display: grid; gap: 8px; font-size: 16px; color: var(--muted); }
.mnav-foot a.mono { font-size: 22px; color: var(--white); }
.mnav-links { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 16px; font-size: 14px; }
@media (max-width: 1120px) { .nav { display: none; } .burger { display: inline-block; } .hdr-tools .lang { display: none; } }
@media (max-width: 640px) { .brand-name span { display: none; } .btn-ops .t { display: none; } .btn-ops { padding: 10px 12px; } .btn-priv .t { display: none; } .btn-priv { padding: 9px 11px; } .hdr-tools { gap: 8px; } }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; overflow: hidden; background: var(--bg); }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media .pic { position: absolute; inset: -6% 0 0; height: 112%; aspect-ratio: auto !important; border-radius: 0; will-change: transform; }
.hero-media .pic img { object-position: 50% 40%; }
/* en pantallas anchas: la imagen se ensancha hacia la derecha (el buque sale del bloque de texto) y el texto empieza antes */
@media (min-width: 1100px) {
  .hero-media .pic { left: 0; right: auto; width: 118%; }
  .hero-media .pic img { object-position: 0 40%; }
  .hero .hero-in { width: min(1600px, 100% - 2 * var(--gutter)); }
  .hero-data .wrap { width: min(1600px, 100% - 2 * var(--gutter)); }
}
.hero-media .pic::after { display: none; }
.hero-media .ph-in { left: auto; right: var(--gutter); bottom: 28px; width: auto; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background:
  linear-gradient(180deg, rgba(var(--veil),.55) 0%, rgba(var(--veil),.05) 30%, rgba(var(--veil),.35) 60%, rgba(var(--veil),.92) 100%),
  linear-gradient(90deg, rgba(var(--veil),.6) 0%, rgba(var(--veil),0) 55%); }
.hero-in { position: relative; z-index: 2; padding: calc(var(--nav-h) + 48px) 0 56px; }
.hero .kicker { color: rgba(255,255,255,.7); display: flex; gap: 16px; align-items: center; margin-bottom: 26px; }
.hero .kicker::before { content: ""; width: 34px; height: 1px; background: var(--red); }
.hero h1 { font-size: clamp(52px, 8.6vw, 140px); font-weight: 600; letter-spacing: -.045em; line-height: .92; max-width: 8ch; }
.hero h1 span { display: block; }
.hero h1 .l2 { color: rgba(255,255,255,.55); }
.hero-p { max-width: 46ch; font-size: clamp(16px, 1.35vw, 19px); color: rgba(255,255,255,.85); margin: 30px 0 36px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-data { position: relative; z-index: 2; border-top: 1px solid var(--line); background: rgba(var(--veil),.55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.hero-data .wrap { display: grid; grid-template-columns: repeat(5, 1fr); }
.hd { padding: 20px 20px 22px 0; margin-right: 20px; border-right: 1px solid var(--line); }
.hd:last-child { border: 0; margin: 0; }
.hd small { display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-2); margin-bottom: 6px; }
.hd b { font-family: var(--mono); font-weight: 600; font-size: 16px; color: #fff; white-space: nowrap; }
.hd b.live { color: #6FD9A8; }
.hd a:hover { color: var(--accent-on-dark); }
@media (max-width: 1100px) { .hero-data .wrap { grid-template-columns: repeat(3, 1fr); } .hd:nth-child(3) { border: 0; } }
@media (max-width: 560px) { .hero-data .wrap { grid-template-columns: 1fr 1fr; } .hd { border: 0; border-bottom: 1px solid var(--line); padding: 12px 0; margin: 0; } .hd:last-child { border: 0; } .hd b { font-size: 14px; white-space: normal; } .hd:nth-child(3) { grid-column: 1 / -1; } }

/* ---------- próximas maniobras ---------- */
.next { padding: 40px 0 0; }
.next-head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin-bottom: 14px; }
.next-head .kicker { margin: 0; }
.next-head a { font-family: var(--mono); font-size: 12.5px; color: var(--muted); letter-spacing: .04em; }
.next-head a:hover { color: var(--white); }
.next-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.next-card { background: var(--bg-2); padding: 20px 22px; display: grid; grid-template-columns: 44px 1fr auto; gap: 6px 16px; align-items: center; transition: background .25s; }
.next-card:hover { background: var(--bg-3); }
.next-card .op { grid-row: span 2; width: 44px; height: 44px; font-size: 16px; }
.next-card b { font-family: var(--display); font-size: 20px; font-weight: 600; letter-spacing: -.02em; color: var(--white); display: flex; align-items: center; gap: 10px; }
.next-card b img { width: 22px; height: 15px; object-fit: cover; border-radius: 2px; }
.next-card small { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.next-card .when { grid-row: span 2; text-align: right; font-family: var(--mono); font-size: 13px; color: var(--red-2); font-weight: 600; line-height: 1.3; }
.next-card .when em { display: block; font-style: normal; color: var(--muted); font-weight: 400; font-size: 11.5px; }
@media (max-width: 900px) { .next-grid { grid-template-columns: 1fr; } }

/* ---------- secciones ---------- */
.sec { position: relative; padding: clamp(88px, 11vw, 168px) 0; }
.sec-alt { background: var(--bg-2); }
.sec-n { position: absolute; top: clamp(40px, 5vw, 72px); right: var(--gutter); font-family: var(--display); font-size: clamp(80px, 12vw, 200px); font-weight: 700; letter-spacing: -.06em; line-height: 1; color: var(--wm); pointer-events: none; user-select: none; z-index: 0; }
.sec > .wrap, .page-head > .wrap, .flota > .wrap { position: relative; z-index: 1; }
.sec-head { max-width: 900px; margin-bottom: clamp(44px, 6vw, 84px); }
.sec-head h2 { font-size: clamp(38px, 5vw, 76px); margin-bottom: 22px; text-wrap: balance; }
.sec-head.row { max-width: none; display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px 72px; align-items: end; }
.sec-head.row h2 { margin: 0; }
@media (max-width: 900px) { .sec-head.row { grid-template-columns: 1fr; } .sec-head.row h2 { margin-bottom: 18px; } }

/* corporación */
.corp { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.corp-text { max-width: 52ch; }
.statement { font-family: var(--display); font-size: clamp(26px, 2.6vw, 38px); font-weight: 500; letter-spacing: -.03em; line-height: 1.15; color: var(--white); margin-bottom: 34px; }
.corp-text p:not(.statement) { color: var(--muted); font-size: 17px; }
.collage { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 24px; gap: 0; }
.collage .c1 { grid-column: 1 / 8; grid-row: 1 / 23; }
.collage .c2 { grid-column: 6 / 13; grid-row: 6 / 17; z-index: 2; box-shadow: 0 30px 60px -20px rgba(0,0,0,.7); }
.collage .c3 { grid-column: 8 / 13; grid-row: 18 / 30; }
.collage .pic { aspect-ratio: auto !important; height: 100%; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(56px, 7vw, 96px); border-top: 1px solid var(--line); }
.stat { padding: 30px 28px 0 0; border-right: 1px solid var(--line); margin-right: 28px; }
.stat:last-child { border: 0; margin: 0; }
.stat b { display: block; font-family: var(--display); font-size: clamp(40px, 4.2vw, 64px); font-weight: 600; letter-spacing: -.05em; line-height: 1; color: var(--white); white-space: nowrap; }
.stat b .u { font-size: .5em; color: var(--red-2); margin-left: 4px; }
.stat > span { display: block; margin-top: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 960px) { .corp { grid-template-columns: 1fr; } .stats { grid-template-columns: 1fr 1fr; gap: 24px 0; } .stat:nth-child(2) { border: 0; }
  .collage { grid-template-columns: 1fr 1fr; grid-auto-rows: auto; gap: 10px; }
  .collage .c1, .collage .c2, .collage .c3 { grid-column: auto; grid-row: auto; z-index: auto; box-shadow: none; }
  .collage .c1 { grid-column: 1 / -1; height: clamp(220px, 48vw, 420px); }
  .collage .c2, .collage .c3 { height: clamp(150px, 32vw, 280px); }
  .collage .pic { transform: none !important; } }

/* servicio: título sticky + timeline */
.serv { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: start; }
.serv-left { position: sticky; top: 120px; }
.serv-left h2 { font-size: clamp(38px, 4.4vw, 64px); margin-bottom: 20px; }
.serv-left .pic { margin-top: 36px; }
.seg { display: inline-flex; border: 1px solid var(--line-2); border-radius: 3px; overflow: hidden; margin-bottom: 40px; }
.seg button { background: none; border: 0; padding: 12px 18px; font-family: var(--mono); font-size: 12.5px; letter-spacing: .06em; color: var(--muted); white-space: nowrap; border-right: 1px solid var(--line-2); transition: background .2s, color .2s; }
.seg button:last-child { border: 0; }
@media (max-width: 1200px) { .seg { display: flex; flex-wrap: wrap; width: 100%; } .seg button { flex: 1 1 auto; text-align: center; padding: 11px 12px; border-bottom: 1px solid var(--line-2); margin-bottom: -1px; } }
.seg button[aria-selected="true"] { background: var(--white); color: var(--bg); font-weight: 600; }
.seg button:hover:not([aria-selected="true"]) { color: var(--white); }
.panel { display: none; }
.panel.on { display: block; }
.tl { position: relative; padding-left: 44px; }
.tl::before { content: ""; position: absolute; left: 9px; top: 12px; bottom: 12px; width: 1px; background: linear-gradient(180deg, var(--red) 0%, var(--line-2) 100%); }
.tl-step { position: relative; padding: 0 0 44px; }
.tl-step:last-child { padding-bottom: 0; }
.tl-step::before { content: ""; position: absolute; left: -44px; top: 8px; width: 19px; height: 19px; border-radius: 50%; background: var(--bg); border: 1px solid var(--red); box-shadow: inset 0 0 0 5px var(--bg), inset 0 0 0 20px var(--red); }
.tl-step .idx { font-family: var(--mono); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--red-2); }
.tl-step h3 { font-size: clamp(22px, 2vw, 28px); margin: 8px 0 12px; }
.tl-step p { color: var(--muted); font-size: 16.5px; max-width: 58ch; }
.tl-step ul { margin: 6px 0 0; display: grid; gap: 6px; }
.tl-step li { position: relative; padding-left: 18px; color: var(--text); font-size: 15.5px; }
.tl-step li::before { content: ""; position: absolute; left: 0; top: 11px; width: 6px; height: 6px; background: var(--red); transform: rotate(45deg); }
.note { font-family: var(--mono); font-size: 13px; color: var(--muted); margin-top: 28px; padding-left: 44px; }
@media (max-width: 960px) { .serv { grid-template-columns: 1fr; gap: 40px; } .serv-left { position: static; } }

/* zonas de embarque */
.zonas { display: grid; grid-template-columns: 5fr 7fr; gap: 40px; align-items: stretch; }
.zona-list { display: grid; gap: 14px; align-content: start; }
.zona { border: 1px solid var(--line); border-left: 3px solid var(--red); border-radius: var(--r); padding: 24px 26px; background: rgba(255,255,255,.02); }
.zona.b { border-left-color: var(--sea); }
.zona-h { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin-bottom: 8px; }
.zona-h h3 { font-size: 26px; }
.zona-h .tag { font-family: var(--mono); font-size: 11.5px; color: var(--muted); letter-spacing: .08em; }
.zona p { font-size: 15.5px; color: var(--muted); margin-bottom: 8px; }
.zona .pos { font-family: var(--mono); font-size: 13.5px; color: var(--white); background: var(--bg-3); border-radius: 3px; padding: 8px 12px; display: inline-block; margin-top: 6px; }
.zona.b .pos { color: var(--sea); }
.zona-bad { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--muted); padding: 8px 4px 0; }
.zona-bad svg { flex: none; width: 18px; height: 18px; color: var(--red-2); margin-top: 4px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.map { position: relative; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--bg-3); min-height: 480px; }
.map-canvas { position: absolute; inset: 0; }
.map-legend { position: absolute; left: 14px; bottom: 14px; z-index: 500; background: rgba(255,255,255,.92); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid var(--line); border-radius: 3px; padding: 10px 14px; font-family: var(--mono); font-size: 11.5px; color: var(--text); display: grid; gap: 6px; }
.map-legend span { display: flex; align-items: center; gap: 8px; }
.map-legend i { width: 10px; height: 10px; border-radius: 50%; background: #D8412A; display: inline-block; }
.map-legend i.b { background: rgba(42,43,100,.12); border: 1.5px solid #2A2B64; }
.map-legend i.d { background: #fff; width: 8px; height: 8px; box-shadow: 0 0 0 1.5px #2A2B64; }
.map-legend i.s { background: #1E8F62; width: 8px; height: 8px; }
.map-note { position: absolute; right: 14px; top: 14px; z-index: 500; font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: rgba(255,255,255,.92); border: 1px solid var(--line); padding: 6px 10px; border-radius: 3px; }
.map-fallback { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-family: var(--mono); font-size: 13px; }
.map-fallback a { color: var(--sea); text-decoration: underline; }
.leaflet-container { background: var(--bg-3) !important; font-family: var(--mono) !important; }
.leaflet-control-attribution { background: rgba(255,255,255,.8) !important; color: var(--muted) !important; font-size: 10px !important; }
.leaflet-control-attribution a { color: var(--text) !important; }
.leaflet-control-zoom a { background: var(--bg-2) !important; color: var(--white) !important; border-color: var(--line) !important; }
.pf-label { background: none !important; border: 0 !important; box-shadow: none !important; width: auto !important; height: auto !important; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; color: var(--white); text-transform: uppercase; white-space: nowrap; text-shadow: 0 1px 4px rgba(0,0,0,.8); }
.pf-label.red { color: #B8301C; font-weight: 700; }
.pf-label { text-shadow: 0 1px 3px rgba(255,255,255,.9), 0 0 8px rgba(255,255,255,.9), 0 0 2px #fff; font-weight: 600; }
.pf-label.sea { color: var(--sea); }
@media (max-width: 960px) { .zonas { grid-template-columns: 1fr; } .map { min-height: 420px; } }

/* normativa: regla destacada + remolcadores */
.rule { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: start; border: 1px solid var(--line); border-left: 3px solid var(--red); border-radius: var(--r); padding: 26px 30px; background: var(--bg); margin-bottom: clamp(48px, 6vw, 80px); }
.rule-n { font-family: var(--display); font-size: 44px; font-weight: 600; color: var(--red-2); line-height: 1; letter-spacing: -.04em; }
.rule p { margin: 0; font-size: clamp(16px, 1.3vw, 19px); color: var(--muted); max-width: 70ch; }
@media (max-width: 600px) { .rule { grid-template-columns: 1fr; gap: 10px; padding: 22px; } }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-2); }
table.tugs { width: 100%; border-collapse: collapse; min-width: 720px; font-size: 15px; }
.tugs th, .tugs td { padding: 16px 18px; text-align: center; border-bottom: 1px solid var(--line); }
.tugs thead th { font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 500; line-height: 1.4; vertical-align: bottom; background: var(--bg); }
.tugs thead th:first-child, .tugs tbody th { text-align: left; }
.tugs tbody th { font-family: var(--mono); font-size: 13.5px; font-weight: 500; color: var(--white); line-height: 1.5; white-space: nowrap; }
.tugs tbody th small { display: block; color: var(--muted); font-size: 12px; }
.tugs tbody td { font-family: var(--display); font-size: 26px; font-weight: 600; color: var(--dim); }
.tugs tbody td.hi { color: var(--white); }
.tugs tbody td small { font-family: var(--mono); font-size: 11px; color: var(--muted); font-weight: 400; margin: 0 4px; }
.tugs tbody tr:last-child th, .tugs tbody tr:last-child td { border: 0; }
.tug-notes { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; font-size: 15px; color: var(--muted); }
.tug-notes h4 { font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--red-2); margin-bottom: 10px; font-weight: 500; }
.tug-notes li { padding-left: 18px; position: relative; }
.tug-notes li::before { content: ""; position: absolute; left: 0; top: 11px; width: 6px; height: 6px; background: var(--red); transform: rotate(45deg); }
@media (max-width: 900px) { .tug-notes { grid-template-columns: 1fr; } }

.h3-big { font-size: clamp(28px, 3.2vw, 44px); }
.canal { display: grid; grid-template-columns: 4fr 8fr; gap: 32px 64px; align-items: start; margin-bottom: clamp(48px, 6vw, 80px); padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); }
.canal h3 { font-size: clamp(26px, 2.6vw, 36px); }
.canal-list { display: grid; gap: 14px; }
.canal-list li { position: relative; padding-left: 22px; font-size: 16px; color: var(--muted); }
.canal-list li::before { content: ""; position: absolute; left: 0; top: 10px; width: 7px; height: 7px; background: var(--red); transform: rotate(45deg); }
.tugs td b { display: block; font-family: var(--display); font-size: 26px; font-weight: 600; color: var(--white); line-height: 1; }
.tugs td b small { font-family: var(--mono); font-size: 12px; color: var(--muted); font-weight: 400; margin-left: 2px; }
.tugs td .tg-n { display: block; font-family: var(--mono); font-size: 12.5px; color: var(--text); margin-top: 6px; }
.tugs td .tg-n small { color: var(--muted); }
.tugs td .tg-none { font-family: var(--mono); font-size: 13px; color: var(--dim); }
.tugs td .tg-none sup { color: var(--red-2); }
.tugs td.tg-full { text-align: left; font-family: var(--mono); font-size: 13px; color: var(--muted); }
.tugs tbody td { font-family: var(--font); font-size: 15px; font-weight: 400; color: var(--text); }
.fondeo { margin-top: clamp(40px, 5vw, 64px); padding-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--line); display: grid; grid-template-columns: 4fr 8fr; gap: 24px 64px; align-items: start; }
.fondeo-head .kicker { margin-bottom: 12px; }
.fondeo-head .lead { font-size: 15.5px; }
.fondeo-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 28px; }
.fondeo-list li { border-left: 2px solid var(--sea); padding-left: 14px; }
.fondeo-list b { display: block; font-family: var(--display); font-size: 19px; color: var(--white); margin-bottom: 4px; }
.fondeo-list span { font-size: 14.5px; color: var(--muted); }
@media (max-width: 900px) { .canal, .fondeo { grid-template-columns: 1fr; } .fondeo-list { grid-template-columns: 1fr; } }

/* escala de práctico */
.ladder { max-width: 72ch; margin-bottom: clamp(40px, 5vw, 64px); }
.ladder h2 { font-size: clamp(34px, 3.8vw, 56px); margin-bottom: 22px; }
.ladder p { color: var(--muted); font-size: 17.5px; max-width: 52ch; }
.diag { display: block; position: relative; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: #fff; }
.diag img { width: 100%; transition: transform 1s var(--ease); }
.diag:hover img { transform: scale(1.02); }
.diag figcaption { display: flex; justify-content: space-between; gap: 16px; padding: 12px 16px; font-family: var(--mono); font-size: 11.5px; color: var(--muted); background: var(--bg-2); border-top: 1px solid var(--line); }
.diag figcaption span:last-child { color: var(--sea); }


/* galería */
.gal { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: clamp(120px, 14vw, 220px); gap: 12px; }
.gal a { position: relative; display: block; overflow: hidden; border-radius: var(--r); }
.gal a .pic { height: 100%; aspect-ratio: auto !important; }
.gal a img { transition: transform 1.2s var(--ease); }
.gal a:hover img { transform: scale(1.06); }
.gal a:nth-child(1) { grid-column: span 3; grid-row: span 2; }
.gal a:nth-child(2) { grid-column: span 1; grid-row: span 2; }
.gal a:nth-child(3) { grid-column: span 2; grid-row: span 1; }
.gal a:nth-child(4) { grid-column: span 2; grid-row: span 1; }
.gal a:nth-child(5) { grid-column: span 4; grid-row: span 1; }
.gal a:nth-child(6) { grid-column: span 2; grid-row: span 1; }
@media (max-width: 760px) { .gal { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; } .gal a { grid-column: span 1 !important; grid-row: span 1 !important; } .gal a:nth-child(1), .gal a:nth-child(5) { grid-column: span 2 !important; } }
.lb { position: fixed; inset: 0; z-index: 80; background: rgba(var(--veil),.96); display: none; align-items: center; justify-content: center; padding: 24px; }
.lb.open { display: flex; }
.lb img { max-width: min(1200px, 100%); max-height: 88vh; object-fit: contain; }
.lb button { position: absolute; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.3); color: #fff; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; }
.lb button:hover { background: rgba(255,255,255,.16); }
.lb .x { top: 20px; right: 20px; } .lb .p { left: 20px; top: 50%; transform: translateY(-50%); } .lb .nx { right: 20px; top: 50%; transform: translateY(-50%); }
.lb button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lb-cap { position: absolute; left: 0; right: 0; bottom: 20px; text-align: center; font-family: var(--mono); font-size: 12px; color: var(--on-dark-2); }

/* calidad + docs */
.cert { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; margin-bottom: clamp(72px, 9vw, 128px); }
.cert h2 { font-size: clamp(34px, 3.8vw, 56px); margin-bottom: 20px; }
.cert p { color: var(--muted); font-size: 17.5px; }
.isos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 420px) { .isos { grid-template-columns: 1fr; } .pol-side .isos { grid-template-columns: 1fr !important; } }
.iso { border: 1px solid var(--line); border-radius: var(--r); padding: 26px 18px; text-align: center; background: rgba(255,255,255,.02); }
.iso b { display: block; font-family: var(--display); font-size: clamp(22px, 2vw, 30px); font-weight: 600; letter-spacing: -.03em; color: var(--white); }
.iso small { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }
.iso i { display: block; width: 36px; height: 1px; background: var(--red); margin: 14px auto 0; }
.cert-logo { grid-column: 1 / -1; margin: 4px 0 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px 24px; display: grid; place-items: center; }
.cert-logo img { max-height: 96px; width: auto; }
@media (max-width: 860px) { .cert { grid-template-columns: 1fr; gap: 32px; } }
.docs { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.doc { display: flex; align-items: center; gap: 18px; background: var(--bg-2); padding: 20px 22px; transition: background .25s; }
.doc:hover { background: var(--bg-3); }
.doc-ic { width: 42px; height: 42px; border-radius: 3px; border: 1px solid var(--line-2); display: grid; place-items: center; flex: none; color: var(--red-2); }
.doc-ic svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.doc-name { display: block; font-weight: 600; color: var(--white); font-size: 15.5px; }
.doc-meta { display: block; font-family: var(--mono); font-size: 11.5px; color: var(--muted); margin-top: 3px; }
@media (max-width: 760px) { .docs { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.footer { position: relative; background: var(--foot-bg); color: var(--on-dark-2); padding: clamp(64px, 8vw, 110px) 0 28px; border-top: 1px solid var(--line); }
.footer .kicker { color: var(--accent-on-dark); }
.footer .foot-lead, .footer .foot-grid { border-color: rgba(255,255,255,.14); }
.footer .minimap { border-color: rgba(255,255,255,.14); }
.foot-lead { padding-bottom: clamp(36px, 5vw, 56px); border-bottom: 1px solid var(--line); margin-bottom: clamp(36px, 5vw, 56px); }
.foot-tel { display: block; font-family: var(--display); font-size: clamp(44px, 9vw, 140px); font-weight: 600; letter-spacing: -.05em; line-height: 1; color: #fff; transition: color .25s; }
.foot-tel:hover { color: var(--accent-on-dark); }
.foot-lead-p { margin: 22px 0 0; max-width: 52ch; color: var(--on-dark-2); font-size: 18px; }
.foot-grid { display: grid; grid-template-columns: 1.1fr 1.7fr 1fr; gap: 40px 48px; padding-bottom: 48px; border-bottom: 1px solid var(--line); }
.flinks-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.flinks-2 li { white-space: nowrap; }
.foot-col h4 { font-family: var(--mono); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-2); font-weight: 500; margin-bottom: 20px; }
.contact-list { display: grid; gap: 10px; }
.contact-list li { display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: baseline; }
.contact-list small { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-3); }
.contact-list a, .contact-list b { font-family: var(--mono); font-weight: 500; color: #fff; font-size: 15px; }
.contact-list a:hover { color: var(--accent-on-dark); }
.foot-addr { margin-top: 22px; font-size: 14.5px; color: var(--on-dark-2); }
.foot-addr a:hover { color: var(--accent-on-dark); }
.flinks li { margin-bottom: 9px; font-size: 14.5px; }
.flinks a { color: var(--muted); transition: color .2s; }
.footer .flinks a { color: var(--on-dark-2); }
.flinks a:hover { color: var(--red-2); }
.footer .flinks a:hover { color: #fff; }
.minimap { height: 220px; border-radius: var(--r); border: 1px solid var(--line); background: var(--bg-2); overflow: hidden; }
.minimap-link { display: block; cursor: pointer; }
.minimap-link .minimap { pointer-events: none; transition: border-color .2s; }
.minimap-link:hover .minimap { border-color: var(--accent-on-dark); }
.minimap-cap { display: block; margin-top: 10px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-3); }
.minimap-cap:hover { color: var(--accent-on-dark); }
.foot-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 26px; font-size: 13px; color: var(--on-dark-3); }
.foot-bottom a:hover { color: #fff; }
@media (max-width: 1000px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-map { grid-column: 1 / -1; } .foot-map .minimap { height: 180px; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } .flinks-2 { grid-template-columns: 1fr; } .flinks-2 li { white-space: normal; } }

/* ---------- páginas interiores ---------- */
.page-head { position: relative; padding: calc(var(--nav-h) + clamp(48px, 7vw, 96px)) 0 clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line); overflow: hidden; }
.page-head h1 { font-size: clamp(44px, 7vw, 108px); letter-spacing: -.045em; max-width: 14ch; }
.page-head p { max-width: 62ch; color: var(--muted); margin: 22px 0 0; font-size: 17.5px; }
.page-head .sec-n { top: 50%; transform: translateY(-50%); }
@media (max-width: 700px) { .page-head .sec-n { font-size: 64px; top: auto; bottom: 8px; transform: none; } }
.page-body { padding: clamp(40px, 5vw, 64px) 0 clamp(80px, 10vw, 140px); }

/* operaciones */
.ops-top { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; margin-bottom: 28px; }
.countdown { font-family: var(--mono); color: var(--muted); font-size: 13px; letter-spacing: .04em; }
.countdown b { display: block; font-family: var(--display); font-size: clamp(30px, 3.6vw, 52px); font-weight: 600; letter-spacing: -.04em; color: var(--white); line-height: 1.1; margin-top: 6px; }
.countdown b.soon { color: var(--red-2); }
.countdown small { display: block; margin-top: 6px; color: var(--muted); font-size: 12.5px; }
.ops-tools { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.ops-tools .seg { margin: 0; }
.ops-search { background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 3px; color: var(--white); font-family: var(--mono); font-size: 13px; padding: 11px 14px; min-width: 220px; }
.ops-search::placeholder { color: var(--dim); }
.ops-bar { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; margin-bottom: 14px; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.ops-bar .live { display: inline-flex; align-items: center; gap: 8px; color: var(--ok); font-weight: 600; }
.ops-bar .live .dot { background: var(--ok); animation: none; width: 7px; height: 7px; }
.ops-bar .live.stale { color: var(--muted); }
.ops-bar .cnt { margin-left: auto; }
.ops-legend { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.ops-legend > span { display: inline-flex; gap: 8px; align-items: center; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.op { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 3px; font-family: var(--mono); font-weight: 700; font-size: 13px; color: #fff; background: var(--dim); }
.op-E { background: var(--ok); } .op-S { background: var(--red); } .op-M { background: var(--sea); color: var(--bg); } .op-F { background: #A97A3B; } .op-P { background: #8A6BD1; } .op-R { background: #6B7A8B; }
.ops-wrap { border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-2); overflow: hidden; }
table.ops { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.ops th, .ops td { padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; text-align: left; }
.ops thead th { position: sticky; top: 0; z-index: 2; background: var(--bg); font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 500; white-space: nowrap; }
.ops tbody tr { transition: background .2s; }
.ops tbody tr:hover { background: var(--bg-3); }
.ops tbody tr.hidden { display: none; }
.ops .c { text-align: center; } .ops .r { text-align: right; }
.ops .escala { font-family: var(--mono); font-size: 13px; color: var(--white); }
.ops .escala small { color: var(--dim); }
.ops .hora { font-family: var(--mono); font-size: 14px; white-space: nowrap; color: var(--white); }
.ops .hora small { display: block; color: var(--muted); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.ops .hora.soon { color: var(--red-2); }
.ops .ship { display: flex; align-items: center; gap: 12px; }
.ops .flag { width: 24px; height: 16px; object-fit: cover; border-radius: 2px; box-shadow: 0 0 0 1px rgba(255,255,255,.15); flex: none; }
.ops .ship b { display: block; font-family: var(--display); color: var(--white); font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.ops .ship small { display: block; font-family: var(--mono); font-size: 11px; color: var(--muted); margin-top: 2px; }
.ops .ais { font-family: var(--mono); font-size: 13px; white-space: nowrap; color: var(--white); }
.ops .ais small { color: var(--dim); font-size: 11px; }
.ops .ais span { display: block; }
.ops .route span { display: block; font-size: 13.5px; }
.ops .route .to { color: var(--white); font-weight: 600; }
.ops .route .fr { color: var(--muted); }
.ops .route .fr::after { content: "→"; margin-left: 6px; color: var(--red-2); font-size: 11px; }
.ops .st { display: inline-block; font-family: var(--mono); font-size: 11.5px; letter-spacing: .04em; padding: 5px 9px; border-radius: 3px; white-space: nowrap; background: var(--bg-3); color: var(--muted); }
.ops .st-IS, .ops .st-POB { background: rgba(44,138,91,.14); color: var(--ok); }
.ops .st-POFF { background: rgba(42,43,100,.12); color: var(--white); }
.ops .st-FS { background: var(--bg-3); color: var(--dim); }
.ops .estado small { display: block; font-family: var(--mono); font-size: 11px; color: var(--dim); margin-top: 4px; }
.ops .conf { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; }
.ops .conf svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.ops .conf.y { background: rgba(61,190,139,.16); color: var(--ok); }
.ops .conf.n { background: rgba(95,118,141,.16); color: var(--dim); }
.ops .tugs span { display: block; white-space: nowrap; font-size: 13.5px; }
.ops .tugs .none { color: var(--dim); font-family: var(--mono); font-size: 12px; }
.ops .cons { font-size: 13.5px; color: var(--muted); }
.ops-empty, .ops-error { padding: 56px 24px; text-align: center; color: var(--muted); font-family: var(--mono); font-size: 14px; }
.ops-error { color: var(--red-2); }
@media (max-width: 960px) {
  .ops-top { grid-template-columns: 1fr; }
  .ops-wrap { border: 0; background: none; }
  table.ops, .ops tbody, .ops tr, .ops td { display: block; }
  .ops thead { display: none; }
  .ops tbody tr { border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-2); margin-bottom: 12px; padding: 14px 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; }
  .ops td { padding: 0; border: 0; }
  .ops td::before { content: attr(data-l); display: block; font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); margin-bottom: 3px; }
  .ops td.c, .ops td.r { text-align: left; }
  .ops td.ship-cell { grid-column: 1 / -1; order: -2; }
  .ops td.ship-cell::before { display: none; }
  .ops td.op-cell { order: -1; }
  .ops td.op-cell::before { display: none; }
  .ops td.op-cell { display: flex; align-items: center; gap: 10px; }
  .ops td.op-cell .opname { font-family: var(--mono); font-size: 12px; color: var(--muted); }
  .ops td.serv-cell { text-align: right; }
}
@media (min-width: 961px) { .ops td.op-cell .opname { display: none; } }

/* meteo */
.meteo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mcard { border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-2); overflow: hidden; display: flex; flex-direction: column; }
.mcard.wide { grid-column: 1 / -1; }
.mcard-h { padding: 22px 24px 18px; display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; border-bottom: 1px solid var(--line); }
.mcard-h h2 { font-size: clamp(24px, 2.2vw, 32px); }
.mcard-h p { margin: 6px 0 0; color: var(--muted); font-size: 14.5px; max-width: 52ch; }
.mcard-h .src { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); white-space: nowrap; margin-top: 6px; }
.mcard iframe { width: 100%; border: 0; display: block; height: 460px; background: var(--bg-3); }
.mcard.wide iframe { height: 520px; }
.mcard-body { padding: 24px; display: grid; gap: 14px; }
.mcard-body p { margin: 0; color: var(--muted); font-size: 15.5px; }
.mlinks { display: flex; gap: 10px; flex-wrap: wrap; }
.meteo-foot { margin-top: 28px; font-family: var(--mono); font-size: 12px; color: var(--dim); }
@media (max-width: 900px) { .meteo-grid { grid-template-columns: 1fr; } .mcard iframe, .mcard.wide iframe { height: 380px; } }

/* política / legal */
.legal { max-width: 76ch; }
.legal h2 { font-size: clamp(26px, 2.6vw, 36px); margin: 48px 0 16px; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { font-size: 16.5px; color: var(--muted); }
.legal ul { list-style: disc; padding-left: 22px; }
.legal a { color: var(--sea); text-decoration: underline; }
.pol { display: grid; grid-template-columns: 4fr 8fr; gap: 64px; align-items: start; }
.pol-side { position: sticky; top: 120px; }
.pol-side .isos { grid-template-columns: 1fr; gap: 10px; }
.pol-body { max-width: 68ch; }
.pol-body .statement { font-size: clamp(22px, 2.2vw, 30px); }
.pol-body p { color: var(--muted); font-size: 16.5px; }
.pol-body h2 { font-size: clamp(26px, 2.6vw, 38px); margin: 56px 0 24px; }
.pol-list { display: grid; gap: 18px; counter-reset: p; list-style: none; padding: 0; margin: 0; }
.pol-list li { position: relative; padding-left: 48px; color: var(--muted); font-size: 16px; }
.pol-list li::before { counter-increment: p; content: counter(p, decimal-leading-zero); position: absolute; left: 0; top: 2px; font-family: var(--mono); font-size: 12px; color: var(--red-2); letter-spacing: .1em; }
.pol-sign { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 900px) { .pol { grid-template-columns: 1fr; gap: 32px; } .pol-side { position: static; } .pol-side .isos { grid-template-columns: repeat(3, 1fr); } }

/* cabecera sólida (tema claro): texto oscuro */
.hdr.solid, .hdr.static { color: var(--white); }
.hdr.solid .nav a, .hdr.static .nav a { color: rgba(14,26,42,.8); }
.hdr.solid .lang a, .hdr.static .lang a { color: rgba(14,26,42,.7); }
.hdr.solid .lang a.on, .hdr.static .lang a.on { background: var(--white); color: var(--bg); }
.hdr.solid .brand-logo, .hdr.static .brand-logo { box-shadow: 0 0 0 1px var(--line); }
.hero h1 .l2 { color: rgba(255,255,255,.55); }
.ph-in b { color: #E9EFF6; }
.lb { background: rgba(7,21,40,.96); }
.zona, .iso { background: rgba(20,30,50,.025); }
.pic::after { box-shadow: inset 0 0 0 1px rgba(20,30,50,.08); }
.ops .flag { box-shadow: 0 0 0 1px rgba(20,30,50,.15); }

/* 404 */
.nf { min-height: 60vh; display: grid; align-content: center; }
.nf .code { font-family: var(--display); font-size: clamp(96px, 18vw, 240px); font-weight: 700; letter-spacing: -.06em; line-height: .9; color: var(--bg-4); }
