@font-face {
  font-family: "DM Sans";
  src: url("/fonts/dm-sans-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}
:root {
  --ink: #192b40;
  --blue: #253d56;
  --accent: #ffcc69;
  --muted: #4c5c70;
  --line: #d8e0e8;
  --pale: #e9eff5;
  --night: #14263b;
  --paper: #f1f5f8;
}
body {
  font-family: "DM Sans", system-ui, sans-serif;
  background: var(--paper);
}
h1, h2, h3 { font-weight: 700; }
h1 { font-size: clamp(1.875rem, 4.2vw, 2.5rem); }
h2 { font-size: clamp(1.5rem, 2.5vw, 1.875rem); }
a:hover { color: #825022; }
.site-header {
  display: block;
  max-width: none;
  height: auto;
  padding: 0;
  color: white;
  background: var(--night);
  border: 0;
}
.header-top {
  min-height: 68px;
  display: flex;
  gap: 24px;
  align-items: center;
}
.brand {
  font-family: inherit;
  font-size: 1.75rem;
  font-weight: 800;
}
.brand span { font-style: normal; }
.header-region { color: #d3e0ed; font-size: .875rem; }
.contact-link {
  margin-left: auto;
  color: var(--accent);
  border: 1px solid #65798d;
  border-radius: 6px;
  padding: 6px 14px;
  font-weight: 700;
}
.site-header a:hover { color: var(--accent); }
.category-nav {
  display: block;
  width: 100%;
  padding: 0;
  background: #253c56;
  border: 0;
}
.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 25px;
}
.nav-links a {
  font-size: .875rem;
  line-height: 1.25;
  padding: 12px 0;
}
.hero.wrap {
  margin: 25px auto 0;
  width: min(1096px, calc(100% - 48px));
  min-height: 360px;
  padding: 0;
  gap: 0;
  grid-template-columns: 1.1fr 1fr;
  color: white;
  background: var(--night);
  border-radius: 12px;
  overflow: hidden;
}
.hero-copy { padding: clamp(24px, 5vw, 56px); }
.hero .eyebrow { color: var(--accent); font-weight: 800; text-transform: uppercase; }
.hero p { color: #e5eef7; }
.hero .lead { font-weight: 600; }
.hero figure { position: relative; align-self: stretch; margin: 0; padding: 0; max-width: none; }
.hero figure::before { display: none; }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-position: center 50%; }
.hero figcaption {
  position: absolute;
  inset: auto 12px 12px auto;
  padding: 4px 10px;
  color: #fff;
  background: #14263b;
  border-radius: 4px;
}
.button {
  background: var(--accent);
  border-color: var(--accent);
  border-radius: 6px;
  color: #2b220f;
  font: 700 .9375rem/1.35 "DM Sans", system-ui, sans-serif;
}
.button:hover { background: #ffe1a0; border-color: #ffe1a0; color: #2b220f; }
.button.outline { border-color: #9aabbd; color: var(--ink); }
.hero .button.outline { color: #fff; border-color: #8aa2bc; }
.hero .button.outline:hover { background: #334e6a; }
.section { padding-block: 44px; }
.intro-grid { display: block; }
.intro-grid > div:first-child { max-width: none; }
.service-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.service-row, .service-row:first-child {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 5px #14263b0a;
}
.service-row h3 { font-size: 1.0625rem; margin: 0; }
.service-row p { font-size: .9375rem; margin: 0; }
.service-row span { margin-top: auto; font-weight: 700; color: var(--blue); }
.service-row:hover, .video-card:hover { border-color: #a27c36; }
.boat-grid { gap: 16px; }
.boat, .video-card {
  border-radius: 8px;
  overflow: hidden;
  background: white;
  box-shadow: 0 2px 5px #14263b0e;
}
.boat > img { aspect-ratio: 2; }
.boat .price { font-weight: 800; padding-top: 14px; border-top: 1px solid var(--line); }
.boat .price small { font-size: .875rem; }
.boat .button { display: inline-block; }
.inquiry form { background: #fff; padding: 22px; border: 1px solid var(--line); border-radius: 8px; }
input, select, textarea { font-family: inherit; border-radius: 5px; }
.note, .interview-cover { border-radius: 8px; }
footer { background: var(--night); }
footer .eyebrow { color: var(--accent); }
@media (max-width: 930px) {
  .service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .header-top { min-height: 56px; gap: 10px; }
  .brand { font-size: 1.375rem; }
  .header-region { font-size: .75rem; }
  .contact-link { font-size: .8125rem; padding: 6px 10px; }
  .nav-links { gap: 0 16px; }
  .nav-links a { font-size: .8125rem; padding: 9px 0; }
  .hero.wrap { width: calc(100% - 32px); grid-template-columns: 1fr; margin-top: 16px; }
  .hero h1 { margin-bottom: 16px; }
  .hero figure { width: 100%; height: min(75vw, 360px); }
  .hero img { margin: 0; object-position: center 49%; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-row, .service-row:first-child { padding: 14px; }
  .section { padding-block: 32px; }
}

.hero.wrap {
  background: linear-gradient(125deg, #243e57 0%, #14263b 58%);
  box-shadow: 0 12px 30px #14263b24;
}
.hero figure { border-inline-start: 3px solid var(--accent); }
.hero img { object-position: center 43%; }
.hero-program {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 25px 0 0;
  padding: 0;
  list-style: none;
}
.hero-program li {
  font-size: .875rem;
  color: #eff5fb;
  border: 1px solid #6b8197;
  border-radius: 100px;
  padding: 3px 11px;
}
.hero + .pale {
  background: transparent;
  padding-bottom: 24px;
}
.boat { position: relative; }
.boat-badge {
  position: absolute;
  z-index: 1;
  top: 14px;
  left: 14px;
  border-radius: 5px;
  padding: 5px 10px;
  color: white;
  background: var(--night);
  font-weight: 700;
  font-size: .875rem;
}
.boat .price { font-size: 1.5rem; }
.boat .button { border-color: var(--accent); background: var(--accent); }
.boat .button:hover { background: #ffe1a0; }
#tarifas tr:target { background: #fff2d3; }
.service-row:hover { box-shadow: 0 5px 15px #14263b18; }
@media (max-width: 600px) {
  .hero figure { border-inline-start: 0; border-block-start: 3px solid var(--accent); }
}

.video-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.reel-title-cover {
  display: grid;
  place-items: center;
  aspect-ratio: 1.25;
  color: #fff;
  background: linear-gradient(140deg, #253d56, #14263b);
}
.reel-title-cover strong { font-size: 1.5rem; }
@media (max-width: 930px) {
  .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .video-grid { grid-template-columns: 1fr; }
  .reel-title-cover { aspect-ratio: 1.5; }
}

.entrevista-player { display: block; width: 100%; aspect-ratio: 16 / 9; background: #101418; }
#aviso-estadisticas{position:fixed;z-index:50;bottom:1rem;left:1rem;right:1rem;max-width:32rem;padding:1rem;background:white;color:#13242e;border:1px solid #345;border-radius:.5rem;box-shadow:0 3px 18px #0003}
#aviso-estadisticas p{margin:0 0 .75rem}
#aviso-estadisticas button,#preferencias-ga{padding:.5rem .85rem;border:1px solid #345;border-radius:.3rem;background:#fff;color:#13242e;cursor:pointer}

.video-grid .instagram-reel { display:block; width:100%; height:clamp(360px, 53vw, 490px); border:0; background:white; }
.video-grid:has(.instagram-reel) { grid-template-columns:repeat(auto-fit,minmax(min(100%, 310px),1fr)); }

.video-grid {align-items:start}
.reel-play {display:block;position:relative;width:100%;padding:0;border:0;background:#10202d;color:white;cursor:pointer}
.reel-play .reel-original {display:block;width:100%;height:auto;max-height:none;object-fit:contain;aspect-ratio:auto}
.reel-play span {position:absolute;bottom:12px;left:12px;padding:.45em .7em;border-radius:2em;background:#122534dc;color:white}
.reel-detail {max-width:760px}
.reel-detail .reel-play,.reel-detail iframe {max-width:500px}
.reel-player {display:block;width:100%;aspect-ratio:9/19;min-height:620px;border:0}
.video-caption a {text-decoration:underline}
