/* ==========================================================================
   Ontech Marine — hoja de estilos común a todas las páginas
   Identidad visual: ver CLAUDE.md (NO cambiar colores ni tipografías)
   ========================================================================== */

@font-face { font-family: "Syne"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("../fonts/syne-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Syne"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("../fonts/syne-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/roboto-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/roboto-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
:root {
  --orange: #FA9E0C;
  --navy: #013870;
  --brown: #833F00;
  --text: #222222;
  --text-strong: #111111;
  --text-muted: #666666;
  --bg-light: #F5F5F5;
  --bg-soft: #FDFDFD;
  --border: #D1D1D1;
  --white: #FFFFFF;

  --font-main: "Syne", "Segoe UI", Arial, sans-serif;
  --font-alt: "Roboto", "Segoe UI", Arial, sans-serif;

  --container: 1200px;
  --gutter: 20px;
  --header-h: 76px;
  --radius: 4px;
  --shadow: 0 10px 30px rgba(1, 56, 112, 0.12);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  font-family: var(--font-alt);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img, video, svg { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-main);
  font-weight: 400;
  line-height: 1.1;
  margin: 0;
}

p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--orange); color: var(--text-strong);
  padding: 10px 16px; font-family: var(--font-main); font-weight: 700;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

/* Marcador de datos pendientes (regla del proyecto: no inventar datos) */
.pendiente {
  display: inline-block;
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 700;
  color: var(--brown);
  background: #FFF4E0;
  border: 1px dashed var(--orange);
  padding: 2px 8px;
  border-radius: var(--radius);
}

/* ---------- Secciones ---------- */
.section { padding: 88px 0; }
section[id] { scroll-margin-top: calc(var(--header-h) - 1px); }
.section--light { background: var(--bg-light); }
.section--soft { background: var(--bg-soft); }
.section--navy { background: var(--navy); color: var(--white); }

@media (min-width: 900px) {
  .section { padding: 140px 0; }
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: .02em;
  margin-bottom: 20px;
}
.section--navy .section-title { color: var(--white); }

.section-lead {
  font-weight: 100;
  font-size: clamp(19px, 2vw, 23px);
  line-height: 1.45;
  color: var(--text-strong);
  max-width: 720px;
}
.section--navy .section-lead { color: var(--white); font-weight: 300; }

.section-head { margin-bottom: 60px; }
.section-head--center { text-align: center; }
.section-head--center .section-lead { margin-left: auto; margin-right: auto; }

/* ---------- Botones (borde fino, fondo transparente, texto + ">") ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  gap: 12px;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 16px 28px;
  border: 1px solid var(--white);
  border-radius: 0;
  color: var(--white);
  background: transparent;
  cursor: pointer;
  transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
.btn::after {
  content: ">";
  font-weight: 400;
  transition: transform .25s var(--ease);
}
.btn:hover, .btn:focus-visible { background: var(--brown); border-color: var(--brown); color: var(--white); }
.btn:hover::after { transform: translateX(4px); }

.btn--dark { border-color: var(--navy); color: var(--navy); }

.btn--accent { background: var(--orange); border-color: var(--orange); color: var(--text-strong); }

/* ---------- Cabecera ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-solid,
.site-header.menu-open {
  background: var(--navy);
  box-shadow: 0 2px 18px rgba(0, 0, 0, .18);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand img { height: 40px; width: auto; }

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--white);
  transition: color .2s var(--ease);
}
.main-nav a:hover,
.main-nav a[aria-current="page"] { color: var(--orange); }

.header-tools { display: flex; align-items: center; gap: 18px; }

/* Selector de idioma con bandera */
.lang-switch { display: flex; align-items: center; gap: 6px; }
.lang-switch a {
  display: flex; align-items: center; gap: 6px;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--white);
  padding: 6px 6px;
  border-bottom: 2px solid transparent;
  opacity: .65;
  transition: opacity .2s var(--ease);
}
.lang-switch a:hover { opacity: 1; }
.lang-switch a[aria-current="true"] { opacity: 1; border-bottom-color: var(--orange); }
.lang-switch svg { width: 22px; height: 15px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(255,255,255,.35); }

/* Botón menú móvil */
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px; height: 44px;
  padding: 10px;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav-toggle span {
  display: block; height: 2px; width: 100%;
  background: var(--white);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.menu-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 1023px) {
  .main-nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: var(--navy);
    padding: 40px var(--gutter);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform .35s var(--ease), visibility .35s;
    overflow-y: auto;
  }
  .menu-open .main-nav { transform: none; visibility: visible; }
  .main-nav ul { display: flex; flex-direction: column; gap: 4px; }
  .main-nav a {
    display: block;
    font-size: 20px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
  }
  body.no-scroll { overflow: hidden; }
}

@media (min-width: 1024px) {
  .nav-toggle { display: none; }
  .main-nav ul { display: flex; gap: 34px; }
  .header-inner { gap: 40px; }
  .main-nav { margin-left: auto; }
  .brand img { height: 46px; }
}

/* ---------- Portada (hero) ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
  background: #0f6f78 url("../imagenes/web/fondo-mar-poster.webp") center / cover no-repeat;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(1, 30, 60, .45) 0%, rgba(1, 30, 60, .25) 45%, rgba(1, 30, 60, .55) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  padding-top: calc(var(--header-h) + 40px);
  padding-bottom: 80px;
  display: grid;
  gap: 32px;
  align-items: center;
}

.hero__logo { width: 170px; }

.hero__title {
  font-size: 36px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero__subtitle {
  font-family: var(--font-main);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.1;
  margin: 0 0 36px;
  max-width: 760px;
}

@media (max-width: 899px) {
  .hero { min-height: 100vh; min-height: 100svh; align-items: center; }
  .hero__logo, .hero__scroll { display: none; }
  .hero__content { padding-top: var(--header-h); padding-bottom: 0; }
}
.hero__title { margin-bottom: 32px; }
@media (max-width: 899px) and (max-height: 700px) {
  .hero__content { padding-bottom: 60px; }
}
@media (max-width: 599px) {
  .hero__title { font-size: 36px; margin-bottom: 28px; }
  .hero__subtitle { font-size: 20px; line-height: 1.25; margin-bottom: 28px; }
}

@media (min-width: 900px) {
  .hero__content { grid-template-columns: 300px 1fr; gap: 64px; }
  .hero__logo { width: 100%; }
  .hero__title { font-size: 50px; }
  .hero__subtitle { font-size: 37px; }
}

.hero__scroll {
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: 24px;
  width: 26px; height: 42px;
  margin-left: -13px;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 14px;
}
.hero__scroll::before {
  content: "";
  position: absolute;
  left: 50%; top: 8px;
  width: 2px; height: 8px;
  margin-left: -1px;
  background: var(--white);
  border-radius: 1px;
  animation: scrollHint 1.8s infinite;
}
@keyframes scrollHint {
  0% { opacity: 0; transform: translateY(0); }
  40% { opacity: 1; }
  100% { opacity: 0; transform: translateY(12px); }
}

/* ---------- Starlink ---------- */
.starlink {
  display: grid;
  gap: 48px;
  align-items: center;
}
@media (min-width: 960px) {
  .starlink { grid-template-columns: 1fr 1fr; gap: 72px; }
}

.starlink__media { position: relative; }
.starlink__media img {
  width: 100%;
  object-fit: cover;
  box-shadow: var(--shadow);
}
.starlink__main { aspect-ratio: 4 / 3; }
.starlink__thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 10px;
}
.starlink__thumbs img { aspect-ratio: 1 / 1; }
/* Marco fino naranja desplazado detrás de la foto principal (como en Services) */
.starlink__media::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 22px; right: -22px;
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 2px solid var(--orange);
  pointer-events: none;
}
.starlink__media img { position: relative; z-index: 1; box-shadow: 0 18px 40px rgba(1, 30, 60, .16); }

.feature-list {
  list-style: none;
  margin: 32px 0 40px;
  padding: 0;
  display: grid;
  gap: 24px;
}
@media (min-width: 600px) {
  .feature-list { grid-template-columns: 1fr 1fr; }
}
.feature-list li {
  padding-left: 18px;
  border-left: 2px solid var(--orange);
}
.feature-list h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}
.feature-list p { margin: 0; font-size: 15px; color: var(--text-muted); }

/* Otras antenas y conectividad (dentro de la sección Starlink) */
.connectivity {
  margin-top: 80px;
  padding-top: 64px;
  border-top: 1px solid var(--border);
}
.connectivity__head { max-width: 640px; margin-bottom: 36px; }
.connectivity__head h3 {
  font-size: clamp(22px, 2.6vw, 28px);
  color: var(--navy);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.connectivity__head p { color: var(--text-muted); margin: 0; }

.connectivity__grid {
  display: grid;
  gap: 24px;
}
@media (min-width: 768px) { .connectivity__grid { grid-template-columns: repeat(3, 1fr); gap: 32px; } }

.connectivity__item {
  margin: 0;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
}
.connectivity__item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.connectivity__item figcaption { flex: 1; padding: 24px 26px 28px; }
.connectivity__item h4 {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.2;
  color: var(--navy);
  margin: 0 0 10px;
}
.connectivity__item p { margin: 0; font-size: 15px; color: var(--text-muted); }
/* Franja con el logo de Starlink */
.starlink-band {
  background: var(--navy);
  color: var(--white);
  padding: 44px 0 40px;
  text-align: center;
}
.starlink-band__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.starlink-band img {
  width: 150px;
  opacity: .55;
  margin-bottom: 18px;
}
.starlink-band__text {
  font-family: var(--font-main);
  font-size: 15px;
  letter-spacing: .24em;
  text-transform: uppercase;
  margin: 0 0 14px;
}
.starlink-band__note {
  font-size: 12px;
  color: rgba(255, 255, 255, .5);
  max-width: 560px;
  margin: 0;
}

/* ---------- Tarjetas de servicios ---------- */
.service-grid {
  display: grid;
  gap: 24px;
}
@media (min-width: 640px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .service-grid { grid-template-columns: repeat(3, 1fr); gap: 32px; } }

/* 6 tarjetas simétricas: todas las filas con la misma altura */
.service-grid { grid-auto-rows: 1fr; }
.service-card h3 { min-height: 1.1em; }

.service-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.service-card__img {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--bg-light);
}
.service-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.service-card:hover .service-card__img img { transform: scale(1.05); }
.service-card__img--dark { background: #05080d; }

.service-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 26px 26px 28px;
}
.service-card__num {
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: .15em;
  margin-bottom: 10px;
}
.service-card h3 {
  font-size: 22px;
  color: var(--navy);
  margin-bottom: 12px;
}
.service-card p { font-size: 15px; color: var(--text-muted); }
/* Flecha discreta: indica que la tarjeta se puede pulsar */
.service-card__arrow {
  margin-top: auto;
  align-self: flex-end;
  font-family: var(--font-main);
  font-size: 18px;
  line-height: 1;
  color: var(--orange);
  opacity: .55;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.service-card:hover .service-card__arrow,
.service-card:focus-visible .service-card__arrow { opacity: 1; transform: translateX(5px); }
.section-cta { margin-top: 56px; text-align: center; }

/* ---------- Servicio estrella: alarmas ---------- */
.alarm {
  display: grid;
  gap: 48px;
  align-items: center;
}
@media (min-width: 960px) {
  .alarm { grid-template-columns: 5fr 7fr; gap: 80px; }
}

.alarm__media {
  position: relative;
  max-width: 440px;
  margin: 0 auto;
  width: 100%;
}
.alarm__media::before {
  content: "";
  display: block;
  padding-top: 100%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, #ffffff 0%, #eef3f8 60%, #d9e4ef 100%);
}
.alarm__media img {
  position: absolute;
  left: 50%; top: 50%;
  width: 78%;
  transform: translate(-50%, -50%);
}
/* Dispositivo Ontech (foto vertical) */
.alarm__media .alarm__device {
  width: auto;
  height: 88%;
  top: 46%;
  filter: drop-shadow(0 14px 20px rgba(1, 30, 60, .25));
}
.alarm__badge {
  position: absolute;
  right: 4%; top: 8%;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  background: var(--orange);
  color: var(--text-strong);
  padding: 8px 14px;
}

.alarm-points {
  list-style: none;
  margin: 32px 0 40px;
  padding: 0;
  display: grid;
  gap: 18px;
}
@media (min-width: 600px) { .alarm-points { grid-template-columns: 1fr 1fr; } }
.alarm-points li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-family: var(--font-main);
  font-size: 17px;
  line-height: 1.3;
}
.alarm-points svg {
  flex: none;
  width: 40px; height: 40px;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 50%;
  stroke: var(--orange);
}

/* ---------- Por qué elegirnos ---------- */
.why-grid {
  display: grid;
  gap: 40px 32px;
}
@media (min-width: 640px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .why-grid { grid-template-columns: repeat(4, 1fr); } }

.why-item svg {
  width: 52px; height: 52px;
  stroke: var(--navy);
  margin-bottom: 22px;
}
.why-item__big {
  display: flex;
  align-items: center;
  height: 52px;
  font-family: var(--font-main);
  font-size: 44px;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 22px;
}
.why-item h3 {
  font-size: 20px;
  color: var(--navy);
  margin-bottom: 12px;
}
.why-item p { font-size: 15px; color: var(--text-muted); }

/* ---------- Galería ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
@media (min-width: 768px) { .gallery { grid-template-columns: repeat(3, 1fr); gap: 12px; } }
@media (min-width: 1024px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 768px) { .gallery--6 { grid-template-columns: repeat(3, 1fr); gap: 16px; } }

.gallery__item {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--bg-light);
}
.gallery__item figure { margin: 0; height: 100%; }
.gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.gallery__item figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 28px 14px 12px;
  font-family: var(--font-main);
  font-size: 13px;
  line-height: 1.25;
  color: var(--white);
  background: linear-gradient(0deg, rgba(1, 30, 60, .85), rgba(1, 30, 60, 0));
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.gallery__item:hover img,
.gallery__item:focus-visible img { transform: scale(1.06); }
.gallery__item:hover figcaption,
.gallery__item:focus-visible figcaption { opacity: 1; transform: none; }
@media (hover: none) {
  .gallery__item figcaption { opacity: 1; transform: none; font-size: 12px; }
}

/* Visor de fotos */
.lightbox {
  width: 100%; height: 100%;
  max-width: none; max-height: none;
  margin: 0; padding: 0;
  border: 0;
  background: rgba(5, 15, 30, .94);
  color: var(--white);
}
.lightbox::backdrop { background: rgba(5, 15, 30, .94); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox figure {
  margin: 0;
  padding: 60px 16px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.lightbox img {
  max-width: min(1400px, 100%);
  max-height: calc(100vh - 140px);
  object-fit: contain;
}
.lightbox figcaption { font-family: var(--font-main); font-size: 15px; text-align: center; }
.lightbox button {
  position: absolute;
  width: 48px; height: 48px;
  border: 1px solid rgba(255, 255, 255, .5);
  background: rgba(0, 0, 0, .3);
  color: var(--white);
  font-family: var(--font-main);
  font-size: 22px;
  cursor: pointer;
}
.lightbox button:hover { background: var(--brown); border-color: var(--brown); }
.lightbox__close { top: 12px; right: 12px; }
.lightbox__prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 12px; top: 50%; transform: translateY(-50%); }

/* ---------- Franja de marcas (encima del pie, sin título) ----------
   Todos los logos en blanco semitransparente; alturas ajustadas a ojo
   para que tengan un peso visual parecido. */
.brand-strip {
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 44px 0;
}
.brand-strip__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px 36px;
  align-items: center;
}
@media (min-width: 900px) {
  .brand-strip__inner { flex-wrap: nowrap; justify-content: space-between; gap: 28px; }
}
.brand-strip img {
  flex: none;
  width: auto;
  filter: grayscale(1) brightness(0);
  opacity: .5;
  transition: opacity .3s var(--ease), filter .3s var(--ease);
}
.brand-strip img:hover { opacity: .85; }
@media (max-width: 899px) {
  .brand-strip { padding: 36px 0; }
  .brand-strip__inner {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 44px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    padding: 6px 32px;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 28px, #000 calc(100% - 28px), transparent);
    mask-image: linear-gradient(90deg, transparent, #000 28px, #000 calc(100% - 28px), transparent);
  }
  .brand-strip__inner::-webkit-scrollbar { display: none; }
  .brand-strip img { scroll-snap-align: center; }
}
.brand-strip__starlink { height: 46px; }
.brand-strip__garmin { height: 20px; }
.brand-strip__raymarine { height: 24px; }
.brand-strip__victron { height: 33px; }
.brand-strip__mastervolt { height: 22px; }
.brand-strip__simrad { height: 21px; }
@media (max-width: 899px) {
  .brand-strip__starlink { height: 34px; }
  .brand-strip__garmin { height: 15px; }
  .brand-strip__raymarine { height: 18px; }
  .brand-strip__victron { height: 22px; }
  .brand-strip__mastervolt { height: 16px; }
  .brand-strip__simrad { height: 16px; }
}

/* ---------- Llamada a la acción final ---------- */
.cta {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--navy) url("../imagenes/web/cta-estela-poster.webp") center / cover no-repeat;
  text-align: center;
}
.cta__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(1, 56, 112, .8), rgba(1, 56, 112, .68));
}
.cta .container { position: relative; z-index: 2; }
.cta .section-title { color: var(--white); }
.cta .section-lead { color: var(--white); font-weight: 300; margin: 0 auto 40px; }

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.cta__contact {
  list-style: none;
  margin: 48px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 40px;
  font-family: var(--font-main);
  font-size: 18px;
}
.cta__contact a { display: inline-flex; align-items: center; gap: 10px; }
.cta__contact a:hover { color: var(--orange); }
.cta__contact svg { width: 20px; height: 20px; stroke: var(--orange); }

/* ---------- Pie de página ---------- */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, .85);
  font-size: 15px;
}
.footer-main {
  display: grid;
  gap: 40px;
  padding: 56px 0 48px;
}
@media (min-width: 768px) {
  .footer-main { grid-template-columns: 1.2fr 1fr 1fr; }
}
.footer-logo img { width: 150px; }
.footer-tagline { margin-top: 18px; max-width: 280px; }

.site-footer h2 {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 20px;
}
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-list a:hover { color: var(--orange); }
.footer-nav a {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 22px 0 90px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, .6);
}
.footer-bottom nav { display: flex; gap: 24px; }
.footer-bottom a:hover { color: var(--orange); }

/* ---------- Redes sociales en el pie ---------- */
.footer-social { list-style: none; margin: 24px 0 0; padding: 0; display: flex; gap: 12px; }
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 50%;
  color: var(--white);
  transition: border-color .25s var(--ease), color .25s var(--ease), background-color .25s var(--ease);
}
.footer-social a:hover, .footer-social a:focus-visible { border-color: var(--orange); background: var(--orange); color: var(--navy); }
.footer-social svg { width: 18px; height: 18px; stroke: currentColor; }

/* ---------- Animación de entrada ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ==========================================================================
   Páginas interiores
   ========================================================================== */

/* ---------- Cabecera de página (foto de fondo) ---------- */
.page-hero {
  position: relative;
  min-height: 60vh;
  min-height: 60svh;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  background: var(--navy) var(--page-hero-img) center / cover no-repeat;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(1, 30, 60, .55) 0%, rgba(1, 30, 60, .35) 45%, rgba(1, 30, 60, .7) 100%);
}
.page-hero__content {
  position: relative;
  padding-top: calc(var(--header-h) + 60px);
  padding-bottom: 72px;
}
.page-hero__title {
  font-size: 36px;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.page-hero__lead {
  font-family: var(--font-main);
  font-size: 22px;
  line-height: 1.25;
  max-width: 720px;
  margin: 0;
}
@media (min-width: 900px) {
  .page-hero__title { font-size: 50px; }
  .page-hero__lead { font-size: 28px; }
  .page-hero__content { padding-bottom: 96px; }
}

/* ---------- Accesos rápidos a secciones ---------- */
.service-nav {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.service-nav ul {
  list-style: none;
  margin: 0;
  padding: 18px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 12px;
}
.service-nav a {
  display: inline-block;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--navy);
  padding: 10px 16px;
  border: 1px solid var(--border);
  transition: border-color .25s var(--ease), color .25s var(--ease);
}
.service-nav a:hover { border-color: var(--orange); color: var(--brown); }

/* ---------- Secciones de servicio: foto + texto, alternando ---------- */
.service-row__inner {
  display: grid;
  gap: 40px;
  align-items: center;
}
@media (min-width: 960px) {
  .service-row__inner { grid-template-columns: 1fr 1fr; gap: 80px; }
  .service-row--reverse .service-row__media { order: 2; }
}
.service-row__media {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--bg-light);
  box-shadow: var(--shadow);
}
.service-row__media--dark { background: #05080d; }
.service-row__media img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.service-row__num {
  display: block;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .15em;
  color: var(--orange);
  margin-bottom: 14px;
}
.service-row .section-lead { margin-bottom: 28px; }

.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.service-list li {
  position: relative;
  padding-left: 22px;
  font-size: 16px;
  line-height: 1.4;
  color: var(--text);
}
.service-list li::before {
  content: "";
  position: absolute;
  left: 0; top: .55em;
  width: 8px; height: 8px;
  border-top: 2px solid var(--orange);
  border-right: 2px solid var(--orange);
  transform: rotate(45deg);
}
.service-list a { color: var(--navy); border-bottom: 1px solid var(--orange); }
.service-list a:hover { color: var(--brown); }

.service-brands {
  margin: 28px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ---------- How we work ---------- */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 24px;
  grid-auto-rows: 1fr;
}
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.steps__item {
  padding: 32px 30px 34px;
  border: 1px solid var(--border);
  border-top: 3px solid var(--orange);
  background: var(--white);
}
.steps__num {
  display: block;
  font-family: var(--font-main);
  font-size: 34px;
  line-height: 1;
  color: var(--orange);
  margin-bottom: 18px;
}
.steps__item h3 {
  font-size: 20px;
  color: var(--navy);
  margin-bottom: 10px;
}
.steps__item p { margin: 0; font-size: 15px; color: var(--text-muted); }

/* ---------- Services: acabado más sofisticado ---------- */
/* Línea fina naranja bajo los títulos de sección (toda la web) */
.section-title::after {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  margin-top: 22px;
  background: var(--orange);
}
.section-head--center .section-title::after,
.cta .section-title::after { margin-left: auto; margin-right: auto; }

/* Número grande y sutil de fondo en cada servicio */
.service-row__text { position: relative; z-index: 0; }
.page-services .service-row__num {
  position: absolute;
  z-index: -1;
  top: -0.6em;
  left: -0.06em;
  margin: 0;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: clamp(120px, 15vw, 200px);
  line-height: 1;
  letter-spacing: -.02em;
  color: rgba(1, 56, 112, .07);
  pointer-events: none;
  user-select: none;
}
@media (max-width: 959px) {
  .page-services .service-row__inner { gap: 84px; }
  .page-services .service-row__num { font-size: 104px; top: -0.55em; }
}

/* Marco fino naranja desplazado detrás de cada foto */
.page-services .service-row__media {
  position: relative;
  overflow: visible;
  background: none;
  box-shadow: none;
  z-index: 0;
}
.page-services .service-row__media img {
  position: relative;
  z-index: 1;
  aspect-ratio: 4 / 3;
  box-shadow: 0 18px 40px rgba(1, 30, 60, .16);
}
.page-services .service-row__media::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 22px 22px -22px -22px;
  border: 2px solid var(--orange);
  pointer-events: none;
}
.page-services .service-row--reverse .service-row__media::before { inset: 22px -22px -22px 22px; }
.page-services .service-row__media--dark img { background: #05080d; }

/* How we work sobre azul marino */
.section--navy .steps__item {
  background: rgba(255, 255, 255, .04);
  border-color: rgba(255, 255, 255, .16);
  border-top-color: var(--orange);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .18);
}
.section--navy .steps__item h3 { color: var(--white); }
.section--navy .steps__item p { color: rgba(255, 255, 255, .75); }

/* Sombras suaves en tarjetas y fotos de la Home (en reposo; al pasar el ratón, la sombra ya existente) */
.service-card,
.connectivity__item { box-shadow: 0 10px 30px rgba(1, 30, 60, .10); }
.gallery__item { box-shadow: 0 10px 30px rgba(1, 30, 60, .14); }

/* Números grandes y sutiles en las tarjetas de servicios: arriba a la derecha, sin tapar el título */
.service-card__body { position: relative; z-index: 0; }
.service-card__num {
  position: absolute;
  z-index: -1;
  top: 14px;
  right: 18px;
  margin: 0;
  font-size: 64px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.02em;
  color: rgba(1, 56, 112, .06);
  pointer-events: none;
}
.service-card__icon { width: 44px; height: 44px; stroke: var(--orange); margin-bottom: 22px; }
.service-card h3 { padding-right: 64px; }
.service-card__brands {
  margin: 4px 0 18px;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--navy);
}
@media (max-width: 599px) {
  .service-card__body { padding: 24px 22px 22px; }
  .service-card__num { font-size: 52px; top: 12px; right: 14px; }
}

/* Home: "Why choose" sobre azul marino */
.section--navy .why-item svg { stroke: var(--orange); }
.section--navy .why-item h3 { color: var(--white); }
.section--navy .why-item p { color: rgba(255, 255, 255, .75); }

/* Sombras suaves en tarjetas */
.faq__item { box-shadow: 0 6px 18px rgba(1, 30, 60, .06); border-color: transparent; }
.faq__item[open] { box-shadow: 0 10px 28px rgba(1, 30, 60, .10); }

/* Llamada a la acción con foto de olas (sin vídeo) */
.cta--ocean { background-image: url("../imagenes/web/ocean-waves.webp"); background-position: center 40%; }

.steps__item--link { display: block; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.steps__item--link:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(1, 30, 60, .14); }
.steps__item--link:hover h3 { color: var(--brown); }

.brand-names {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 16px;
}
.brand-names li {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--white);
  padding: 16px 26px;
  box-shadow: 0 10px 30px rgba(1, 30, 60, .08);
}
.brand-names--2 li { min-width: 180px; text-align: center; }

.story { max-width: 760px; margin: 0 auto; }
.story p { font-size: 18px; line-height: 1.7; color: var(--text); margin-bottom: 1.2em; }
.story p:last-child { margin-bottom: 0; }

@media (min-width: 1100px) {
  .brand-names:not(.brand-names--2) { flex-wrap: nowrap; gap: 12px; }
  .brand-names:not(.brand-names--2) li { flex: 1; display: flex; align-items: center; justify-content: center; text-align: center; padding: 16px 10px; font-size: 14px; line-height: 1.3; }
}

/* ---------- FAQ (desplegables nativos) ---------- */
.faq__list { max-width: 860px; margin: 0 auto; }
.faq__item {
  background: var(--white);
  border: 1px solid var(--border);
  margin-bottom: 12px;
}
.faq__item summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 22px 64px 22px 26px;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.3;
  color: var(--navy);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  position: absolute;
  right: 26px; top: 50%;
  transform: translateY(-50%);
  font-weight: 400;
  font-size: 26px;
  color: var(--orange);
  transition: transform .25s var(--ease);
}
.faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__item summary:hover { color: var(--brown); }
.faq__item p {
  margin: 0;
  padding: 0 26px 24px;
  font-size: 16px;
  color: var(--text-muted);
}

/* ---------- Contact ---------- */
.contact { display: grid; gap: 64px; align-items: start; }
@media (min-width: 1024px) { .contact { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 72px; } }

.contact-form {
  margin-top: 44px;
  padding: 40px 36px;
  background: var(--white);
  border-top: 3px solid var(--orange);
  box-shadow: 0 10px 30px rgba(1, 30, 60, .10);
}
@media (max-width: 599px) { .contact-form { padding: 32px 20px; } }
.contact-form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.contact-form__grid { display: grid; gap: 24px; }
@media (min-width: 640px) {
  .contact-form__grid { grid-template-columns: 1fr 1fr; gap: 26px 24px; }
  .field--full { grid-column: 1 / -1; }
}
.field label {
  display: block;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 10px;
}
.field__opt { font-weight: 400; letter-spacing: .06em; text-transform: none; color: var(--text-muted); }
.field input,
.field select,
.field textarea {
  width: 100%;
  font: 300 16px/1.5 var(--font-alt);
  color: var(--text-strong);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 0;
  padding: 13px 16px;
  transition: border-color .25s var(--ease), background-color .25s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.field textarea { resize: vertical; min-height: 150px; }
.field input::placeholder,
.field textarea::placeholder { color: #999999; }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-color: var(--orange); background: var(--white); }
.field__select { position: relative; }
.field__select::after {
  content: "";
  position: absolute;
  right: 18px; top: 50%;
  width: 8px; height: 8px;
  border-right: 2px solid var(--orange);
  border-bottom: 2px solid var(--orange);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.field__select select { padding-right: 44px; cursor: pointer; }
.was-validated .field :invalid { border-color: #B3261E; }

.contact-form__check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 28px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text);
  cursor: pointer;
}
.contact-form__check input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--orange); cursor: pointer; }
.contact-form__check a { color: var(--navy); border-bottom: 1px solid var(--orange); }
.contact-form__check a:hover { color: var(--brown); }

.contact-form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 32px; }
.contact-form__actions .btn:disabled { opacity: .6; cursor: wait; }
.contact-form__status { margin: 0; font-size: 15px; color: var(--text-muted); }
.contact-form__status.is-error { color: #B3261E; }

.contact-form__done {
  margin-top: 44px;
  padding: 56px 36px;
  text-align: center;
  background: var(--white);
  border-top: 3px solid var(--orange);
  box-shadow: 0 10px 30px rgba(1, 30, 60, .10);
}
.contact-form__done:focus { outline: none; }
.contact-form__done svg { width: 56px; height: 56px; stroke: var(--orange); margin: 0 auto 22px; }
.contact-form__done h3 { font-size: 24px; color: var(--navy); margin-bottom: 14px; }
.contact-form__done p { margin: 0; color: var(--text-muted); }

.contact__aside { display: grid; gap: 24px; }
@media (min-width: 1024px) { .contact__aside { padding-top: 142px; } }
.contact-card {
  padding: 32px 30px;
  background: var(--bg-light);
  border-left: 3px solid var(--orange);
}
.contact-card h3 {
  font-size: 20px;
  color: var(--navy);
  margin-bottom: 12px;
}
.contact-card p { font-size: 15px; color: var(--text-muted); margin-bottom: 0; }
.contact-card p + p { margin-top: 8px; }
.contact-card__link,
.contact-card__place {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-main);
  font-size: 17px;
  color: var(--navy);
}
.contact-card__link { margin-top: 22px; word-break: break-all; }
.contact-card__link:hover { color: var(--brown); }
.contact-card p.contact-card__place { color: var(--navy); font-size: 17px; }
.contact-card svg { flex: none; width: 22px; height: 22px; stroke: var(--orange); }
.contact-card__btn { margin-top: 24px; }

.why-grid--3 { grid-template-columns: 1fr; }
@media (min-width: 768px) { .why-grid--3 { grid-template-columns: repeat(3, 1fr); gap: 40px 48px; } }
.why-grid--3 .why-item { text-align: center; }
.why-grid--3 .why-item svg { margin-left: auto; margin-right: auto; }
.why-grid--3 .why-item p { max-width: 320px; margin-left: auto; margin-right: auto; }
.field__error {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.4;
  color: #B3261E;
}
.field__error[hidden] { display: none; }
.field [aria-invalid="true"] { border-color: #B3261E; }
.contact-form__check { flex-wrap: wrap; }
.contact-form__check .field__error { flex-basis: 100%; margin: 0 0 0 30px; }
/* ---------- Páginas legales ---------- */
.page-hero--legal { min-height: 0; background: var(--navy); }
.page-hero--legal::before { display: none; }
.page-hero--legal .page-hero__content { padding-top: calc(var(--header-h) + 64px); padding-bottom: 56px; }
@media (min-width: 900px) { .page-hero--legal .page-hero__content { padding-top: calc(var(--header-h) + 88px); padding-bottom: 72px; } }

.legal { max-width: 780px; }
.legal__updated { font-family: var(--font-main); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 40px; }
.legal h2 {
  font-size: 17px;
  color: var(--navy);
  margin: 36px 0 12px;
}
.legal h2:first-of-type { margin-top: 0; }
.legal p, .legal li { font-size: 14.5px; line-height: 1.7; color: var(--text); }
.legal ul { margin: 0 0 1em; padding-left: 22px; }
.legal li { margin-bottom: 4px; }
.legal a { color: var(--navy); border-bottom: 1px solid var(--orange); }
.legal a:hover { color: var(--brown); }
.legal__data { margin: 0 0 1.4em; background: var(--bg-light); border-left: 3px solid var(--orange); padding: 8px 28px; }
.legal__data div { display: grid; gap: 4px; padding: 11px 0; border-bottom: 1px solid var(--border); }
.legal__data div:last-child { border-bottom: 0; }
.legal__data dt { font-family: var(--font-main); font-weight: 700; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); }
.legal__data dd { margin: 0; font-size: 14.5px; color: var(--text); }
@media (min-width: 640px) { .legal__data div { grid-template-columns: 200px 1fr; gap: 24px; } }
.footer-social svg path[fill] { stroke: none; }

/* ---------- Asistente (chatbot sin IA) ---------- */
.bot { position: fixed; right: 20px; bottom: 20px; z-index: 150; font-family: var(--font-alt); }

.bot__launcher {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 68px; height: 68px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(1, 30, 60, .22);
  cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.bot__launcher::before,
.bot__launcher::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 2px solid var(--orange);
  border-radius: 50%;
  pointer-events: none;
}
.bot__launcher::after { opacity: 0; animation: botPulse 2.8s ease-out infinite; }
.bot__launcher:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(1, 30, 60, .28); }
.bot__avatar { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.bot.is-open .bot__launcher { transform: scale(.92); }
.bot.is-open .bot__launcher::after { animation: none; }

@keyframes botPulse {
  0% { opacity: .6; transform: scale(1); }
  70%, 100% { opacity: 0; transform: scale(1.22); }
}
.bot__greeting {
  position: absolute;
  right: 0;
  bottom: 84px;
  width: 230px;
  padding: 16px 40px 16px 18px;
  background: var(--white);
  border-top: 3px solid var(--orange);
  box-shadow: 0 10px 30px rgba(1, 30, 60, .18);
  font-size: 14px;
  line-height: 1.45;
  color: var(--text);
  cursor: pointer;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.bot__greeting strong { display: block; font-family: var(--font-main); font-weight: 700; color: var(--navy); margin-bottom: 2px; }
.bot__greeting.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.bot__greeting::after {
  content: "";
  position: absolute;
  right: 26px; bottom: -8px;
  width: 14px; height: 14px;
  background: var(--white);
  transform: rotate(45deg);
  box-shadow: 4px 4px 8px rgba(1, 30, 60, .06);
}
.bot__greeting-close {
  position: absolute;
  top: 6px; right: 6px;
  width: 28px; height: 28px;
  border: 0;
  background: none;
  font-size: 20px;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
}
.bot__greeting-close:hover { color: var(--brown); }

.bot__panel {
  position: absolute;
  right: 0;
  bottom: 88px;
  width: 370px;
  max-height: min(620px, calc(100vh - 130px));
  max-height: min(620px, calc(100svh - 130px));
  display: flex;
  flex-direction: column;
  background: var(--white);
  box-shadow: 0 18px 50px rgba(1, 30, 60, .28);
  overflow: hidden;
  opacity: 0;
  transform: translateY(12px) scale(.98);
  transform-origin: bottom right;
  visibility: hidden;
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear .3s;
}
.bot.is-open .bot__panel { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
@media (max-width: 479px) {
  .bot { right: 16px; bottom: 16px; }
  .bot__panel { position: fixed; left: 12px; right: 12px; bottom: 96px; width: auto; }
  .bot__greeting { width: 210px; }
}

.bot__header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 16px 16px 18px;
  background: var(--navy);
  color: var(--white);
  border-bottom: 3px solid var(--orange);
}
.bot__header .bot__avatar { flex: none; width: 44px; height: 44px; background: var(--white); box-shadow: 0 0 0 2px var(--orange); }
.bot__title { flex: 1; min-width: 0; }
.bot__title h2 { font-size: 15px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--white); margin: 0 0 4px; }
.bot__title p { margin: 0; font-size: 13px; color: rgba(255, 255, 255, .75); }
.bot__close {
  flex: none;
  width: 36px; height: 36px;
  border: 1px solid rgba(255, 255, 255, .3);
  background: none;
  color: var(--white);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background-color .25s var(--ease), border-color .25s var(--ease);
}
.bot__close:hover { background: var(--brown); border-color: var(--brown); }

.bot__log {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 20px 18px 8px;
  background: var(--bg-light);
}
.bot__msg {
  max-width: 88%;
  margin: 0 0 12px;
  padding: 12px 15px;
  font-size: 14.5px;
  line-height: 1.5;
  animation: botMsg .35s var(--ease);
}
.bot__msg--bot { background: var(--white); color: var(--text); box-shadow: 0 4px 14px rgba(1, 30, 60, .06); border-left: 3px solid var(--orange); }
.bot__msg--user { margin-left: auto; background: var(--navy); color: var(--white); }
.bot__msg a { color: var(--navy); border-bottom: 1px solid var(--orange); }
.bot__msg a:hover { color: var(--brown); }
@keyframes botMsg { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.bot__typing { display: inline-flex; gap: 4px; padding: 14px 16px; }
.bot__typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); animation: botDots 1s infinite; }
.bot__typing span:nth-child(2) { animation-delay: .15s; }
.bot__typing span:nth-child(3) { animation-delay: .3s; }
@keyframes botDots { 0%, 100% { opacity: .3; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-3px); } }

.bot__options { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 16px; }
.bot__option {
  padding: 9px 13px;
  border: 1px solid var(--navy);
  background: var(--white);
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--navy);
  cursor: pointer;
  transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
.bot__option:hover, .bot__option:focus-visible { background: var(--brown); border-color: var(--brown); color: var(--white); }
.bot__option--accent { background: var(--orange); border-color: var(--orange); color: var(--text-strong); }
.bot__option:disabled { opacity: .45; cursor: default; background: var(--white); border-color: var(--navy); color: var(--navy); }

.bot-form { margin: 0 0 16px; padding: 18px 16px; background: var(--white); border-top: 3px solid var(--orange); box-shadow: 0 4px 14px rgba(1, 30, 60, .06); }
.bot-form__field { margin-bottom: 12px; }
.bot-form__field label {
  display: block;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 6px;
}
.bot-form__field input,
.bot-form__field select,
.bot-form__field textarea {
  width: 100%;
  font: 300 15px/1.4 var(--font-alt);
  color: var(--text-strong);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 0;
  padding: 9px 11px;
  -webkit-appearance: none;
  appearance: none;
}
.bot-form__field textarea { resize: vertical; min-height: 80px; }
.bot-form__field input:focus,
.bot-form__field select:focus,
.bot-form__field textarea:focus { outline: none; border-color: var(--orange); background: var(--white); }
.bot-form__field [aria-invalid="true"] { border-color: #B3261E; }
.bot-form__select { position: relative; }
.bot-form__select::after {
  content: "";
  position: absolute;
  right: 14px; top: 50%;
  width: 7px; height: 7px;
  border-right: 2px solid var(--orange);
  border-bottom: 2px solid var(--orange);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.bot-form__check { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 10px; margin: 4px 0 14px; font-size: 13.5px; line-height: 1.45; cursor: pointer; }
.bot-form__check input { flex: none; width: 17px; height: 17px; margin: 1px 0 0; accent-color: var(--orange); }
.bot-form__check span { flex: 1; }
.bot-form__check a { color: var(--navy); border-bottom: 1px solid var(--orange); }
.bot-form__error { flex-basis: 100%; margin: 5px 0 0; font-size: 12.5px; color: #B3261E; }
.bot-form__error[hidden] { display: none; }
.bot-form .btn { width: 100%; justify-content: center; padding: 13px 18px; font-size: 12.5px; }
.bot-form .btn:disabled { opacity: .6; cursor: wait; }
.bot-form__status { margin: 10px 0 0; font-size: 13px; color: #B3261E; }
.bot-form__status:empty { display: none; }
.bot-form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.bot__note { margin: 0; padding: 10px 18px 12px; font-size: 11.5px; color: var(--text-muted); background: var(--white); border-top: 1px solid var(--border); }
.page-hero--services { background-position: center 62%; }

.faq__group {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--navy);
  margin: 48px 0 16px;
  padding-left: 14px;
  border-left: 3px solid var(--orange);
  scroll-margin-top: calc(var(--header-h) + 24px);
}
.faq__group:first-child { margin-top: 0; }
.bot__option--q {
  display: block;
  width: 100%;
  text-align: left;
  font-family: var(--font-alt);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
  border-color: var(--border);
  padding: 10px 14px;
}

/* ---------- Home: problemas que solucionamos ---------- */
.problem-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .problem-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
@media (min-width: 1024px) { .problem-grid { grid-template-columns: repeat(4, 1fr); gap: 28px; } }
.problem-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 22px 44px 22px 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--orange);
  box-shadow: 0 10px 30px rgba(1, 30, 60, .08);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.problem-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.problem-card__icon {
  flex: none;
  width: 48px; height: 48px;
  padding: 11px;
  border: 1px solid var(--border);
  border-radius: 50%;
  stroke: var(--orange);
}
.problem-card h3 { font-size: 18px; font-weight: 700; line-height: 1.25; color: var(--navy); margin-bottom: 8px; }
.problem-card p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--text-muted); }
.problem-card__arrow {
  position: absolute;
  right: 18px; bottom: 16px;
  font-family: var(--font-main);
  font-size: 18px;
  line-height: 1;
  color: var(--orange);
  opacity: .55;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.problem-card:hover .problem-card__arrow { opacity: 1; transform: translateX(5px); }
@media (min-width: 1024px) {
  .problem-card { flex-direction: column; gap: 22px; padding: 32px 28px 52px; }
  .problem-card__icon { width: 56px; height: 56px; padding: 13px; }
  .problem-card__arrow { right: 24px; bottom: 22px; }
}

/* ---------- Home: cómo trabajamos (3 pasos) ---------- */
.steps--3 { grid-auto-rows: auto; }
@media (min-width: 640px) { .steps--3 { grid-template-columns: 1fr; } }
@media (min-width: 768px) { .steps--3 { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; } }
.steps--3 .steps__item { position: relative; box-shadow: 0 10px 30px rgba(1, 30, 60, .08); }
.steps__icon { position: absolute; top: 30px; right: 28px; width: 40px; height: 40px; stroke: var(--orange); }
@media (max-width: 599px) {
  .steps--3 .steps__item { padding: 26px 22px 28px; }
  .steps__icon { top: 24px; right: 22px; width: 34px; height: 34px; }
}

/* ---------- Carrusel (scroll-snap, sin librerías) ---------- */
.carousel { position: relative; }
.carousel__track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  padding: 4px 2px 28px;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track:focus-visible { outline-offset: 0; }
.carousel__slide { flex: 0 0 85%; scroll-snap-align: start; margin: 0; }
@media (min-width: 640px) { .carousel__slide { flex-basis: calc((100% - 16px) / 2); } }
@media (min-width: 1024px) {
  .carousel__track { gap: 24px; }
  .carousel__slide { flex-basis: calc((100% - 48px) / 3); }
}
@media (prefers-reduced-motion: reduce) { .carousel__track { scroll-behavior: auto; } }

.carousel__nav { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 4px; }
.carousel.is-static .carousel__nav { display: none; }
.carousel__dots { display: flex; flex-wrap: wrap; justify-content: center; }
.carousel__dot {
  width: 28px; height: 28px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.carousel__dot::before {
  content: "";
  display: block;
  width: 8px; height: 8px;
  margin: auto;
  border-radius: 50%;
  background: var(--border);
  transition: background-color .25s var(--ease), transform .25s var(--ease);
}
.carousel__dot[aria-current="true"]::before { background: var(--orange); transform: scale(1.35); }
.carousel__arrow {
  display: none;
  width: 48px; height: 48px;
  border: 1px solid var(--navy);
  background: transparent;
  color: var(--navy);
  font-family: var(--font-main);
  font-size: 18px;
  cursor: pointer;
  transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), opacity .25s var(--ease);
}
.carousel__arrow:hover:not(:disabled) { background: var(--brown); border-color: var(--brown); color: var(--white); }
.carousel__arrow:disabled { opacity: .3; cursor: default; }
@media (min-width: 900px) and (hover: hover) { .carousel__arrow { display: inline-flex; align-items: center; justify-content: center; } }

/* Proyectos */
.carousel--work .gallery__item { aspect-ratio: 4 / 3; }

/* ---------- Reseñas ---------- */
.stars { color: #F4B400; letter-spacing: .12em; }
.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0 0;
  padding: 10px 18px;
  background: var(--bg-light);
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .06em;
  color: var(--navy);
}
.rating-badge .stars { font-size: 18px; }
.review {
  display: flex;
  flex-direction: column;
  padding: 28px 26px 22px;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(1, 30, 60, .08);
}
.review__stars { font-size: 18px; margin-bottom: 14px; }
.review blockquote { flex: 1; margin: 0 0 22px; font-size: 16px; line-height: 1.6; color: var(--text); }
.review figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 15px;
  color: var(--navy);
}
.review__g { flex: none; width: 20px; height: 20px; }

.service-row__cta { margin-top: 32px; }

@media (max-width: 639px) { .service-grid { grid-auto-rows: auto; } }
@media (max-width: 599px) {
  .starlink__media::before { top: 12px; right: -12px; }
  .page-services .service-row__media::before { inset: 12px 12px -12px -12px; }
  .page-services .service-row--reverse .service-row__media::before { inset: 12px -12px -12px 12px; }
}
.footer-main { padding-left: var(--gutter); padding-right: var(--gutter); }
.footer-bottom { padding-left: var(--gutter); padding-right: var(--gutter); }

.section-cta--2 { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }

/* ---------- Móvil: botones a ancho completo ---------- */
@media (max-width: 599px) {
  .btn { width: 100%; padding: 14px 10px; gap: 8px; font-size: 12px; letter-spacing: .03em; }
  .section-cta { margin-top: 40px; }
}
@media (max-width: 379px) { .btn { padding: 14px 8px; gap: 6px; letter-spacing: 0; } }

/* ---------- Móvil: barra fija "Request a quote" + asistente a su lado ---------- */
.mobile-cta { display: none; }
@media (max-width: 899px) {
  .mobile-cta {
    display: block;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 140;
    padding: 10px 80px 10px 12px;
    padding-bottom: calc(10px + env(safe-area-inset-bottom));
    background: var(--navy);
    box-shadow: 0 -6px 20px rgba(0, 0, 0, .18);
  }
  .mobile-cta {
    transform: translateY(100%);
    visibility: hidden;
    transition: transform .35s var(--ease), visibility 0s linear .35s;
  }
  .mobile-cta.is-visible { transform: none; visibility: visible; transition-delay: 0s; }
  .mobile-cta .btn { width: 100%; padding: 14px 8px; font-size: 12.5px; letter-spacing: .08em; white-space: nowrap; }
  .mobile-cta .btn::after { display: none; }
  body.has-mobile-cta { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  body.no-scroll .mobile-cta { display: none; }
  .footer-bottom { padding-bottom: 22px; }

  .bot { right: 12px; bottom: calc(8px + env(safe-area-inset-bottom)); }
  .bot__launcher { width: 52px; height: 52px; }
  .bot__launcher::before, .bot__launcher::after { inset: -3px; }
  .bot__greeting { bottom: 68px; }
  .bot__greeting::after { right: 19px; }
  .bot__panel { bottom: 68px; }
}
@media (max-width: 479px) {
  .bot { right: 12px; bottom: calc(8px + env(safe-area-inset-bottom)); }
  .bot__panel { bottom: calc(76px + env(safe-area-inset-bottom)); max-height: calc(100svh - 150px); }
}
/* ==========================================================================
   Home y About: ritmo compacto (menos espacio en blanco)
   ========================================================================== */
.page-home .section, .page-about .section { padding: 52px 0; }
@media (min-width: 900px) {
  .page-home .section, .page-about .section { padding: 80px 0; }
}
.page-home .eyebrow, .page-about .eyebrow { margin-bottom: 10px; }
.page-home .section-title, .page-about .section-title { margin-bottom: 12px; }
.page-home .section-title::after, .page-about .section-title::after { margin-top: 14px; }
.page-home .section-head, .page-about .section-head { margin-bottom: 28px; }
.page-home .section-head .section-lead, .page-about .section-head .section-lead { margin-bottom: 0; }
.page-home .section-cta, .page-about .section-cta { margin-top: 32px; }
.page-home .brand-strip { padding: 32px 0; }
.page-home .carousel__track, .page-home .carousel__nav { margin-bottom: 0; }
.page-home .starlink { gap: 32px; }
.page-home .feature-list { margin: 20px 0 24px; gap: 18px; }
.page-about .page-hero { min-height: 44vh; min-height: 44svh; }
.page-about .page-hero__content { padding-bottom: 40px; }
@media (min-width: 900px) {
  .page-home .section-head, .page-about .section-head { margin-bottom: 40px; }
  .page-home .section-cta, .page-about .section-cta { margin-top: 40px; }
  .page-home .starlink { gap: 56px; }
  .page-about .page-hero { min-height: 60vh; min-height: 60svh; }
  .page-about .page-hero__content { padding-bottom: 72px; }
}

/* Starlink sobre azul marino */
.section--navy .feature-list h3 { color: var(--white); }
.section--navy .feature-list p { color: rgba(255, 255, 255, .75); }
.starlink-note { margin: 22px 0 0; font-size: 12px; line-height: 1.5; color: rgba(255, 255, 255, .55); max-width: 520px; }@media (max-width: 899px) {
  .page-home .connectivity__item img { aspect-ratio: 16 / 9; }
  .page-home .connectivity__item figcaption { padding: 18px 20px 20px; }
  .page-home .connectivity__grid { gap: 18px; }
}
/* Home: Starlink sobre blanco; franja Starlink con tono distinto y línea naranja */
.page-home #starlink .starlink-note { color: var(--text-muted); font-size: 13px; }
.page-home #starlink .section-lead { color: var(--text); }
.page-home #starlink .feature-list p { color: var(--text); }
.starlink-band--cta {
  background: var(--navy);
  padding: 40px 0 44px;
}
@media (min-width: 900px) { .starlink-band--cta { padding: 48px 0 52px; } }
/* Home: More onboard connectivity sobre blanco; marcas en azul marino con logos blancos */
.page-home #connectivity { border-top: 1px solid var(--border); }
.page-home #connectivity .section-lead { color: var(--text-muted); }

/* Reseñas: detalles naranjas */
.carousel--reviews .carousel__track { padding-top: 12px; padding-bottom: 36px; }
.review {
  position: relative;
  padding: 50px 26px 22px;
  border-top: 3px solid var(--orange);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.review::before {
  content: "\201C";
  position: absolute;
  top: 6px; left: 20px;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 76px;
  line-height: 1;
  color: rgba(250, 158, 12, .3);
  pointer-events: none;
}
.review:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(1, 30, 60, .16); }
/* Services: accesos rápidos y menos espacio hasta "What we do" */
.page-services .service-nav ul { padding: 14px 0; gap: 8px; }
.page-services #overview { padding-top: 44px; }
@media (min-width: 900px) {
  .page-services .service-nav ul { padding: 18px 0; gap: 10px 12px; }
  .page-services #overview { padding-top: 64px; }
}
@media (max-width: 599px) {
  .page-services .service-nav ul { display: grid; grid-template-columns: repeat(2, 1fr); }
  .page-services .service-nav a { display: flex; align-items: center; justify-content: center; height: 100%; min-height: 44px; padding: 8px 10px; font-size: 11.5px; letter-spacing: .1em; text-align: center; line-height: 1.25; }
}