@import url("https://use.typekit.net/zfy2pja.css");

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

:root {
  /* Modo de color del sistema */
  color-scheme: light dark;

  /* Tipografía */
  --font-sans: "Gesta", system-ui, -apple-system, sans-serif;
  --fs-base: 62.5%; /* html font-size */
  --fs-body: 1.6rem; /* ≈16px */
  --lh-body: 1.55;

  /* Paleta (cruda) */
  --gray-0: #fafafa;
  --gray-9: #0b0f19;
  --red-6: #ff0000;

  /* Colores semánticos (usá estos en el CSS) */
  --bg: var(--gray-9);
  --fg: var(--gray-0);
  --bg-section: #fafafa;
  --surface: #111827;
  --primary: var(--red-6);

  /* Espaciado */
  --space-2: 0.8rem;
  --space-4: 1.6rem;
  --space-6: 2.4rem;

  /* Radii & sombras */
  --radius: 8rem;
  --shadow-soft: 0 10px 30px rgb(0 0 0 / 0.15);
  --shadow-text: 0 2px 4px rgb(0 0 0 / 0.6);

  /* Z-index capas */
  --z-header: 100;
  --z-overlay: 200;
  --z-modal: 1000;

  /* Layout */
  --container: 1200px;
  --gutter: clamp(12px, 4vw, 24px);
  --section-py: clamp(3rem, 6vw, 7rem);

  /* Header fijo reutilizable */
  --header-h: clamp(56px, 8svh, 92px);

  /* Motion */
  --dur-1: 150ms;
  --dur-2: 300ms;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Tema oscuro por atributo (override de tokens semánticos) */
[data-theme="dark"] {
  --bg: #0b0f19;
  --fg: #f6f7fb;
  --surface: #0f172a;
  --primary: #ff4d4d;
}
/* Base tipografía + colores del documento */
html {
  font-size: var(--fs-base);
}
body {
  font-family: var(--font-sans);
  line-height: var(--lh-body);
  background: var(--bg);
  color: var(--fg);
}

/* Contenedor genérico (usa tus tokens de layout) */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Header (usa tus z-index + altura fija) */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: var(--z-header, 777);
  width: 100%;
  height: var(--header-h, 64px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 8.5vh repeat(6, 1fr);
  align-items: center;
  gap: 1rem;
  padding-inline: var(--gutter, 16px);
  padding-top: env(safe-area-inset-top);
  background: linear-gradient(to bottom, rgb(0 0 0 / 0.75), transparent);
  backdrop-filter: blur(6px);
  transition: height 0.35s ease, background 0.25s ease, inset 0.35s ease;
}

/* Marca */
.site-header__brand {
  grid-area: brand;
  font-family: var(--font-sans, system-ui, sans-serif);
  font-size: 2.4rem;
  color: var(--primary, var(--red-6));
  font-weight: 700;
  text-decoration: none;
  grid-column: 1/2;
  grid-row: 1/2;
}

/* Toggle (hamburguesa) */
.menuToggle {
  grid-area: toggle;
  justify-self: end;
  inline-size: 45px;
  block-size: 45px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  display: grid;
  place-items: center;
  cursor: pointer;
  position: relative;
  grid-row: 1/2;
  grid-column: 3/4;
}

.menuToggle::before,
.menuToggle::after {
  content: "";
  position: absolute;
  inline-size: 22px;
  block-size: 2.5px;
  background: var(--red-6, #ff3b30);
  transition: transform 0.3s ease, box-shadow 0.3s ease, top 0.3s ease;
}

.menuToggle::before {
  top: calc(50% - 6px);
}
.menuToggle::after {
  top: calc(50% + 6px);
  box-shadow: 0 -6px 0 var(--red-6, #ff3b30);
}

.menuToggle.open::before {
  top: 50%;
  transform: rotate(45deg);
}
.menuToggle.open::after {
  top: 50%;
  transform: rotate(-45deg);
  box-shadow: none;
}

/* NAV: por defecto oculta (mobile), aparece como overlay al abrir */
.site-nav {
  display: grid;
  position: fixed;
  inset: var(--header-h, 64px) 0 0 0; /* debajo del header */
  padding: 24px var(--gutter, 16px) calc(24px + env(safe-area-inset-bottom));
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6%);
  transition: transform 0.35s ease, opacity 0.25s ease;
}

.site-nav__link {
  font-size: 2.8rem;
  line-height: 1.2;
  text-decoration: none;
  color: var(--fg, #fff);
}

/* ESTADO ABIERTO: el header se estira y la nav se muestra */
.site-header.open {
  inset: 0; /* pantalla completa */
  height: 100dvh;
  background: linear-gradient(to bottom, rgb(0 0 0 / 0.65), rgb(0 0 0 / 0.25));
  backdrop-filter: blur(10px);
}

.site-header.open .site-nav {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.site-nav {
  display: grid; /* podés usar flex column también */
  align-content: start; /* <— evita “estirar” el contenido */
  row-gap: 12px; /* <— ajustá este valor a gusto */
  /* lo demás queda igual */
}

.site-nav__link {
  display: block;
  padding-block: 6px; /* reduce “alto” de cada link */
  line-height: 1.2; /* compacta interlineado */
  margin: 0; /* por las dudas */
}

/* Bloquear scroll al abrir */
body.menu-open {
  overflow: hidden;
}

/* ---------- HERO (con hero__media) ---------- */
.hero {
  position: relative;
  min-block-size: calc(100dvh - var(--header-h));
  display: grid;
  align-items: center;
  padding-block: var(--section-py);
  isolation: isolate; /* asegura capas limpias */
}

.hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: var(--bg);
  transform: translateZ(0);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgb(0 0 0 / 0.55) 0 35%, transparent 65%);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.06);
}

.hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hero__title {
  font-size: clamp(2.8rem, 5vw, 5rem);
  line-height: 1.1;
  text-wrap: balance;
  text-shadow: var(--shadow-text);
  text-align: center;
}

.hero__desc {
  max-width: 60ch;
  margin-block: 1.2rem 2rem;
  opacity: 0.95;
  text-align: center;
  font-size: var(--fs-body);
}

/* Botón reutilizable */
.btn--primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  text-decoration: none;
  font-size: 1.4rem;
  font-weight: 600;
  transition: transform var(--dur-1) var(--ease),
    box-shadow var(--dur-1) var(--ease);
  background: var(--primary);
  color: var(--gray-0);
  padding: 0.6rem 1.8rem;
}
.btn:where(:hover, :focus-visible) {
  transform: translateY(-1px);
}
.btn:active {
  transform: none;
  box-shadow: none;
}

/* Secciones genéricas (ya lo tenías) */
.section {
  padding-block: var(--section-py);
  scroll-margin-top: var(--header-h);
}

.section__nosotros {
  background: var(--bg-section);
  height: 120vh;
}

.section__nosotros .section__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.about--item__content {
  height: 30vh;
  width: 100%;
}

.about--item__stats {
  height: 28vh;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
}

.about--item__media {
  height: 62vh;
  width: 100%;
  background: url(asset/img/wall-point.webp) no-repeat;
  background-position: center;
  background-size: cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.stat-number {
  font-size: 3.8rem;
  font-weight: 700;
  color: var(--red-6);
}

.name-stat {
  font-size: 2.8rem;
  font-weight: 600;
  color: var(--gray-9);
}

#stat-client {
  grid-row: 1/2;
  grid-column: 2/3;
}

#stat-truck {
  grid-row: 2/3;
  grid-column: 1/2;
}

#stat-covert {
  grid-row: 2/3;
  grid-column: 3/4;
}

.truck-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.about-video_container {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.about-img_container {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: space-around;
  aspect-ratio: 16/9;
  gap: 1rem;
}

.about-img_container img {
  width: 50%;
  border-radius: 18px;
  aspect-ratio: 1/1;
}

.about-video_container video {
  width: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 18px;
}

.about--item__description {
  max-width: 65ch; /* lectura cómoda */
  line-height: 1.6;
  font-size: 1.6rem;
  color: var(--text, #222);
  margin: 0; /* manejá el spacing desde el contenedor */
}

.btn--container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: start;
  gap: 1rem;
}

/* Tema claro: overlay más suave */
:root[data-theme="light"] .hero__overlay {
  background: linear-gradient(to top, rgb(0 0 0 / 0.35) 0 35%, transparent 65%);
  box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.06);
}

.section__rtu {
  width: 100%;
  height: 100vh;
  background: url(asset/img/rio-uruguay-camiones.webp) no-repeat;
  background-position: center;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.section__rtu::before {
  content: "";
  position: absolute;
  z-index: 1;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.75) 30%,
    rgba(255, 255, 255, 0) 100%
  );
}

.section__rtu-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: baseline;
  gap: 2rem;
  padding: 15px;
}

.img-camiones-rtu {
  width: 95%;
  border-radius: 18px;
}

.description__rtu {
  font-size: var(--fs-body);
  font-family: var(--font-sans);
  color: #fff;
  text-align: left;
  max-width: 98%;
}

.section.section__servicios {
  height: 100vh;
  width: 100%;
  background: var(--bg-section);
  padding-block: var(--section-py);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.section__servicios .container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Slider */
.slider {
  position: relative;
  aspect-ratio: 9/16;
  width: 95%;
  border-radius: 14px;
  overflow: hidden;
}
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.slide.active {
  opacity: 1;
}

/* Imagen toma todo el contenedor */
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Copy abajo con leve degradado */
.copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 24px 32px;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.65),
    rgba(0, 0, 0, 0.35),
    rgba(0, 0, 0, 0)
  );
}
.eyebrow {
  opacity: 0.9;
  font-weight: 600;
  font-size: 14px;
}
.copy h2 {
  margin: 0.25rem 0 0.35rem;
  font-size: 28px;
  line-height: 1.15;
  font-size: 16px;
}
.copy p {
  max-width: 70ch;
  font-size: 24px;
}

/* Botones */
.btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(30, 30, 30, 0.35);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.btn.prev {
  left: 12px;
}
.btn.next {
  right: 12px;
}
.btn svg {
  width: 22px;
  height: 22px;
}

.section__cobertura {
  background: var(--bg-section);
  height: 100vh;
  width: 100%;
}

.section__cobertura .section__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.title__cobert {
  font-size: clamp(2.8rem, 5vw, 5rem);
  line-height: 1.1;
  text-wrap: balance;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--gray-9);
  text-decoration: underline;
  text-decoration-color: var(--red-6);
  text-decoration-thickness: 5px;
}

.cobert-map {
  width: 85%;
}

.cobert__description {
  max-width: 65ch; /* lectura cómoda */
  line-height: 1.6;
  font-size: 1.6rem;
  color: var(--text, #222);
  margin: 2rem auto 0 auto; /* manejá el spacing desde el contenedor */
  text-align: left;
  width: 85%;
}

.cobertura__regions {
  width: 100%;
  height: 25vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.cobertura__region {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
}

.cobertura__plate {
  font-family: var(--font-sans);
  font-size: 1.4rem;
  color: var(--gray-9);
  border-color: var(--red-6);
  border-radius: 2rem;
  border: 3px solid red;
  padding: 0.4rem 1.4rem;
}
.section__contacto {
  width: 100%;
  background: #ffffff;
  color: #111827;
  display: grid;
  place-items: center;
  padding: clamp(40px, 8vw, 96px) 16px;
}

.contacto {
  width: min(980px, 92%);
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.08);
  padding: clamp(20px, 4vw, 36px);
}

.contacto__inner {
  display: grid;
  gap: clamp(14px, 2.2vw, 22px);
}

/* Titulares con subrayado rojo (como “Cobertura”) */
.contacto__title {
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  line-height: 1.15;
  text-align: center;
  text-decoration-line: underline;
  text-decoration-color: #ff0000;
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
  margin-bottom: 2px;
}

.contacto__subtitle {
  text-align: center;
  color: #374151;
  font-size: 0.98rem;
}

/* Flash de estado (ok/error) */
.contacto__flash {
  display: none; /* activar con .is-visible */
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  color: #111827;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 0.95rem;
}
.contacto__flash.is-visible {
  display: block;
}
.contacto__flash.is-ok {
  border-color: #b7e4c7;
  background: #e9f7ef;
}
.contacto__flash.is-err {
  border-color: #f5c2c7;
  background: #fdecf0;
}

/* Formulario (grid como tus chips ordenados) */
.contacto__form {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(12px, 2vw, 18px);
  margin-top: 6px;
}

.contacto__group {
  display: grid;
  gap: 8px;
}

.contacto__label {
  font-size: 0.95rem;
  color: #374151;
}

/* Campos con borde suave y focus rojo (consistente con botones/chips) */
.contacto__input,
.contacto__textarea {
  width: 100%;
  font: inherit;
  font-size: clamp(0.95rem, 1.9vw, 1.05rem);
  color: #111827;
  background: #f9fafb;
  border: 1.5px solid #d1d5db;
  border-radius: 12px;
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease,
    background 0.15s ease;
}

.contacto__input::placeholder,
.contacto__textarea::placeholder {
  color: #6b7280;
  opacity: 1;
}

.contacto__input:focus,
.contacto__textarea:focus {
  border-color: #ff0000;
  box-shadow: 0 0 0 3px rgba(255, 0, 0, 0.18);
  background: #ffffff;
}

.contacto__textarea {
  min-height: 140px;
  resize: vertical;
}

/* Validación nativa */
.contacto__input:user-invalid,
.contacto__textarea:user-invalid,
.contacto__input.is-invalid,
.contacto__textarea.is-invalid {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.18);
}

/* Acciones */
.contacto__actions {
  display: grid;
  justify-items: center;
  margin-top: 2px;
}

/* Botón rojo estilo “Contactar” (pill, sombra suave) */
.contacto__btn {
  appearance: none;
  border: none;
  border-radius: 9999px;
  background: #ff0000;
  color: #ffffff;
  font-weight: 700;
  padding: 12px 22px;
  letter-spacing: 0.2px;
  cursor: pointer;
  transition: transform 0.06s ease, filter 0.15s ease;
}

.contacto__btn:hover {
  filter: brightness(1.06);
}

.contacto__btn:active {
  transform: translateY(1px);
}

.contacto__btn:focus-visible {
  outline: 2px solid rgba(255, 0, 0, 0.4);
  outline-offset: 2px;
}

/* El span interno no recibe click separado */

.footer {
  width: 100%;
  height: 85vh;
  display: flex;
  flex-direction: column;
  background: #101010;
  gap: 1rem;
  padding: 2rem;
  justify-content: space-around;
}

.footer__main {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: flex-start;
  height: 65vh;
}

.footer__nav {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
}
.nav-footer {
  position: relative;
  font-family: var(--font-sans);
  font-size: 2.4rem;
  color: var(--gray-0);
  text-decoration: none; /* quitamos el subrayado nativo */
}

.nav-footer::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 3px; /* separá como te guste */
  width: 100%;
  height: 3px; /* “grosor” de la línea */
  background: var(--red-6);
  transform: scaleX(0);
  transform-origin: left; /* o center si la querés desde el medio */
  transition: transform 220ms ease;
}

.nav-footer:hover::after,
.nav-footer:focus-visible::after {
  transform: scaleX(1);
}

.footer__contact {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  gap: 1rem;
}

.footer__contact--info {
  font-family: var(--font-sans);
  font-size: 1.8rem;
  line-height: 1.2;
}

.org {
  grid-area: brand;
  font-family: var(--font-sans, system-ui, sans-serif);
  font-size: 2.4rem;
  color: var(--primary, var(--red-6));
  font-weight: 700;
  text-decoration: none;
  grid-column: 1/2;
  grid-row: 1/2;
}

.footer__company {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
}

.footer__company p {
  font-family: var(--font-sans);
  font-size: 1.8rem;
  line-height: 1.2;
}

.footer-credits {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Accesibilidad / rendimiento */
@media (prefers-reduced-motion: reduce) {
  .hero__video {
    display: none;
  }
  .hero {
    background: url("https://res.cloudinary.com/drej8subt/image/upload/v1752084870/logistica-argentina_poster.jpg")
      center/cover no-repeat;
  }
}

/* Ajustes opcionales por viewport */
@media (max-width: 640px) {
  .hero__title {
    font-size: clamp(2.4rem, 7vw, 4rem);
  }
  .hero__desc {
    margin-block: 1rem 1.6rem;
  }
}

/* Tablets (>=768px) */
@media (min-width: 768px) {
}

/* Small laptops (>=1024px) */
@media (min-width: 1024px) {
  .site-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
  }

  .menuToggle {
    display: none;
  }

  .site-nav {
    position: static; /* saca el overlay fijo */
    inset: auto;
    display: flex;
    align-items: center;
    gap: 20px; /* espacio entre links */
    padding: 0;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .site-nav__link {
    font-size: 2.4rem;
    position: relative;
    display: inline-block; /* asegura el ancho del subrayado */
    font-weight: 700;
    color: var(--gray-0);
    text-decoration: none; /* quitamos el nativo */
  }

  /* Línea animada */
  .site-nav__link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 5px; /* separá a gusto */
    width: 100%;
    height: 3px; /* grosor */
    background: var(--red-6);
    transform: scaleX(0);
    transform-origin: left; /* usá center si querés desde el medio */
    transition: transform 220ms ease;
  }

  .site-nav__link:hover::after,
  .site-nav__link:focus-visible::after {
    transform: scaleX(1);
  }

  /* Opcional: color en hover */
  .site-nav__link {
    transition: color 220ms ease;
  }
  .site-nav__link:hover,
  .site-nav__link:focus-visible {
    color: var(--gray-0); /* o el que quieras */
  }

  .hero {
    height: 100vh;
  }

  .jump {
    display: none;
  }

  .section__nosotros {
    height: 100vh;
  }

  .section__nosotros .section__inner {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(4, 1fr);
  }

  .about--item__stats {
    grid-row: 1/3;
    grid-column: 4/6;
    align-self: center;
  }

  .about--item__content {
    grid-row: 3/5;
    grid-column: 4/6;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-end;
    gap: 1rem;
  }

  .about--item__media {
    grid-row: 1/5;
    grid-column: 1/4;
    height: auto;
  }

  .about-img_container {
    width: 58%;
  }

  .about-video_container {
    width: 58%;
  }

  .section__rtu {
    height: 115vh;
  }

  .description__rtu {
    max-width: 40%;
    font-size: 1.8rem;
  }
  .section__cobertura .section__inner {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(5, 1fr);
  }

  .title__cobert {
    grid-column: 4/5;
    grid-row: 1/2;
    align-self: end;
    justify-self: end;
    margin-block: 0;
  }

  .cobertura__media {
    grid-column: 1/4;
    grid-row: 1/6;
    align-self: center;
    justify-self: center;
  }

  .cobert-map {
    width: 80%;
  }

  .cobertura__intro {
    grid-row: 2/4;
    grid-column: 4/6;
    align-self: center;
  }

  .cobert__description {
    font-size: 1.8rem;
  }

  .cobertura__regions {
    grid-column: 4/6;
    grid-row: 4/6;
  }

  .footer {
    height: 60vh;
  }

  .footer__main {
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
  }

  .footer__nav,
  .footer__contact,
  .footer__company {
    height: 20vh;
    justify-content: end;
  }

  .footer__company p,
  .footer__contact--info {
    font-size: 2rem;
  }
}

/* Desktops grandes (>=1280px) */
@media (min-width: 1600px) {
  .about-img_container {
    width: 85%;
  }

  .about-video_container {
    width: 85%;
  }

  .title__cobert {
    grid-row: 2/3;
  }

  .cobert-map {
    width: 95%;
  }

  .cobertura__intro {
    grid-row: 3/4;
  }
}

/* Preferencias de usuario */
@media (prefers-reduced-motion: reduce) {
  .servicios-slider__btn,
  .servicios-slider__viewport,
  .servicios-slide {
    transition: none !important;
    animation: none !important;
  }
}

/* ===== Desktop: grilla en lugar de carrusel ===== */
@media (min-width: 1081px) {
  .servicios-slider {
    background: transparent;
    box-shadow: none;
  }
  .servicios-slider__viewport {
    grid-auto-flow: row;
    grid-auto-columns: unset;
    grid-template-columns: repeat(
      3,
      1fr
    ); /* Cambiá a repeat(2, 1fr) si querés 2 tarjetas */
    gap: var(--space-6);
    overflow: visible;
    height: auto;
  }
  .servicios-slide {
    aspect-ratio: 16 / 10;
    background: var(--surface);
    box-shadow: var(--shadow-soft);
  }
  .servicios-slider__btn,
  .servicios-slider__dots {
    display: none;
  }
}

/* Dark mode (usás data-theme="dark") */
[data-theme="dark"] .servicios-slide__caption {
  background: linear-gradient(
    180deg,
    rgb(0 0 0 / 0.12) 0%,
    rgb(0 0 0 / 0.62) 70%,
    rgb(0 0 0 / 0.75) 100%
  );
}
[data-theme="dark"] .servicios-slider__btn {
  background: rgb(0 0 0 / 0.55);
}

.logo-berealweb {
  width: 14rem;
}
