/* ===== RESET BÁSICO ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #101827;
}

/* Contenedor general */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== HEADER + MENÚ ===== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: linear-gradient(to bottom, rgba(255,255,255,0.95), rgba(255,255,255,0.7));
  backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo-top img {
  height: 40px;
  display: block;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 40px;
}

.main-nav a {
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #0A5162;              /* rojo del menú */
  font-weight: 500;
}

.main-nav a:hover,
.main-nav a.active {
  color: #5EFF87;
}

/* ===== HERO ===== */

.hero {
  position: relative;
  min-height: 100vh;              /* antes 80vh */
  padding-top: 80px;             /* header fijo */
  display: flex;
  align-items: center;
  justify-content: center;

  /* Fondo con la imagen de la sala/sillas */
  background-image: url("../images/3d-rendering-minimalist-interior-with-copy-space.jpg");
  background-size: cover;
   background-position: center bottom;
}

/* capa blanca muy suave para dar efecto humo */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), rgba(255,255,255,0.95));
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

/* lado izquierdo: logo grande */
.hero-left {
  display: flex;
  justify-content: flex-start;
}

.hero-logo {
  max-width: 420px;
  width: 100%;
}

/* lado derecho: texto */
.hero-right {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.hero-divider {
  width: 2px;
  background-color: #d52525;
  height: 120px;
  margin-top: 8px;
}

.hero-title {
  font-size: 1.6rem;
  line-height: 1.4;
  color: #151b2b;
  font-weight: 700;
  text-transform: uppercase;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .header-inner {
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .main-nav ul {
    gap: 20px;
    font-size: 0.8rem;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .hero-right {
    margin-top: 24px;
  }
}

@media (max-width: 600px) {
  .hero-title {
    font-size: 1.2rem;
  }

  .hero-logo {
    max-width: 300px;
  }
}

/* ===== SECCIÓN CONFORT DE ALTURA ===== */
/* ===== BARRA MITSUBISHI ===== */

.comfort-mitsu-bar {
  background-color: #ffffff;
}

.comfort-mitsu-bar .container {
  padding: 16px 24px;
}

.comfort-mitsu-logo {
  height: 52px;
  display: block;
}

/* ===== SECCIÓN CONFORT DE ALTURA ===== */

.comfort-section {
  position: relative;
  color: #ffffff;
  padding: 60px 0 110px;
  background-image: url("../images/seccion2background.jpg");
  background-size: cover;
  background-position: center center;
  overflow: visible;           /* importante: dejar que la chica salga por arriba */
}

/* capa azulada encima del fondo */
.comfort-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(8, 24, 56, 0.80),
    rgba(8, 24, 56, 0.40)
  );
  z-index: 0;
}

.comfort-inner {
  position: relative;
  z-index: 1;
  min-height: 420px;           /* define la altura base de la sección */
  display: flex;
  align-items: flex-start;
}

/* Imagen del equipo (techo), flotando arriba a la izquierda */
.comfort-unit {
  position: absolute;
  top: 10px;          /* súbelo */
  left: 100px;        /* ajústalo si lo quieres más al centro o a la izquierda */
  max-width: 450px;
  width: 50%;
  pointer-events: none;
  z-index: 0;
}

/* Bloque de texto a la izquierda */
.comfort-content {
  max-width: 650px;
  margin-top: 280px;  /* antes 120 / 180: baja más el título y párrafos */
  position: relative;
  z-index: 2;         /* por encima del equipo */
}

/* Fila del título: icono + texto */
.comfort-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.comfort-logo-icon {
  height: 40px;
}

/* Texto grande del título */
.comfort-heading {
  font-size: 3rem;     /* más grande */
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 400;
}

.comfort-word-highlight {
  color: #32A576;             /* rojo de la marca */
  font-weight: 700;
}

/* Párrafos */
.comfort-text {
  font-size: 1.05rem;  /* un poquito más grande */
  line-height: 1.8;
  max-width: 620px;
  color: rgba(255, 255, 255, 0.93);
  margin-bottom: 8px;
}

/* Imagen de la chica, flotando a la derecha arriba de todo */
/* CHICA: misma altura que la sección + 100px hacia arriba */
.comfort-girl {
  position: absolute;
  right: 60px;                          /* muévela a la derecha a tu gusto */
  bottom: 0;                            /* pies al ras del fondo */
  height: calc(100% + 100px);           /* alto de la sección + 100px extra */
  max-height: none;
  pointer-events: none;
  z-index: 2;                           /* por encima del fondo y equipo */
}
/* ===== Responsive ===== */

@media (max-width: 992px) {
  .comfort-unit {
    max-width: 320px;
    width: 55%;
  }

  .comfort-heading {
    font-size: 2.1rem;
  }

  .comfort-content {
    margin-top: 100px;
  }

  .comfort-girl {
    opacity: 0.85;
    max-height: 360px;
  }
}

@media (max-width: 768px) {
  .comfort-section {
    padding: 40px 0 70px;
  }

  .comfort-inner {
    min-height: 0;
  }

  .comfort-unit {
    position: static;
    max-width: 260px;
    margin-bottom: 24px;
  }

  .comfort-content {
    margin-top: 0;
  }

  .comfort-girl {
    display: none; /* si quieres la escondemos en móviles; quita esto si no */
  }
}

/* ===== SECCIÓN PRODUCTOS / DESCRIPCIÓN ===== */

.products-section {
  padding: 80px 0 90px;
  background-color: #ffffff;
}

.product-row {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr);
  gap: 40px;
  align-items: center;
  margin-bottom: 80px;
}

.product-row:last-child {
  margin-bottom: 0;
  border-top: 1px solid #d4d4d4;
  padding-top: 60px;
}

.product-row--reverse {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.1fr);
}

.product-col {
  position: relative;
}

/* Columna de texto */

.product-col-text {
  font-size: 0.98rem;
  line-height: 1.9;
  color: #111827;
}

/* Logo rojo + texto */

.product-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.product-logo-icon {
  height: 48px;
}

.product-logo-text {
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #111827;
}

.product-paragraph {
  margin-bottom: 10px;
  max-width: 620px;
}

/* Botón de catálogo */

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 26px;
  margin-top: 24px;
  border-radius: 999px;
  border: 1px solid #111827;
  font-size: 0.95rem;
  color: #111827;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.btn-outline:hover {
  background-color: #111827;
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.2);
}

/* Columna de imagen: fondo + producto encima */

.product-col-image {
  /* nada especial por ahora, solo para estructura */
}

.product-image-frame {
  position: relative;
  border-radius: 48px;
  overflow: hidden;
  min-height: 460px;      /* antes 360px → bloque más alto */
  background-size: cover; /* la imagen de fondo se expande bien */
  background-position: center;
}

/* Fondo 1 y 2 (imágenes grandes) */
.product-image-frame--1 {
  background-image: url("../images/building-space.jpg");
}

.product-image-frame--2 {
  background-image: url("../images/large-warehouse-with-bright-light-coming-through-door.jpg");
}

/* Producto encimado */

.product-unit-img {
  position: absolute;
  left: 50%;
  top: 50%;                            /* centrado vertical */
  transform: translate(-50%, -50%);    /* centro exacto del frame */
  width: 70%;                          /* un poco más compacto */
  max-width: 780px;
  height: auto;
  filter: drop-shadow(0 18px 40px rgba(15, 23, 42, 0.45));
}

/* ===== Animación aparición lateral (scroll) ===== */

/* Estado inicial oculto */
.reveal-left,
.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-left {
  transform: translateX(-60px);
}

/* Cuando se hacen visibles */
.reveal-visible {
  opacity: 1;
  transform: translateX(0);
}

/* ===== Responsive ===== */

@media (max-width: 992px) {
  .product-row,
  .product-row--reverse {
    grid-template-columns: 1fr;
  }

  .product-row--reverse {
    /* que en móviles quede imagen arriba, texto abajo */
    display: flex;
    flex-direction: column;
  }

  .product-row--reverse .product-col-image {
    order: -1;
  }

  .product-image-frame {
    min-height: 260px;
  }
}

@media (max-width: 600px) {
  .products-section {
    padding: 60px 0 70px;
  }

  .product-row {
    gap: 30px;
    margin-bottom: 60px;
  }

  .product-logo-icon {
    height: 40px;
  }

  .product-logo-text {
    font-size: 0.95rem;
  }
}

/* ===== SECCIÓN VALORES / ICONOS ===== */

.values-section {
  background-color: #050b1e;
  color: #ffffff;
  padding: 60px 0;        /* un poco más alta */
  width: 100%;
}

/* Ahora ocupa TODO el ancho de la página */
.values-inner {
  width: 100%;
  max-width: none;        /* sin límite de 1200px */
  margin: 0;
  padding: 0 80px;        /* margen lateral, ajústalo si quieres menos */
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.value-item {
  flex: 1;
  min-width: 110px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

/* ICONOS MÁS GRANDES */
.value-icon {
  width: 90px;            /* antes 60px */
  height: 90px;
  stroke: #56EE83;
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* TEXTO MÁS GRANDE */
.value-item span {
  font-size: 1.15rem;     /* más grande */
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: capitalize;
}

/* Responsive */
@media (max-width: 1100px) {
  .values-inner {
    padding: 0 40px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .value-item {
    flex: 0 1 30%;
    margin-bottom: 20px;
  }
}

@media (max-width: 700px) {
  .values-inner {
    padding: 0 24px;
  }

  .value-item {
    flex: 0 1 45%;
  }

  .value-icon {
    width: 70px;
    height: 70px;
  }

  .value-item span {
    font-size: 1rem;
  }
}

/* ===== SECCIÓN EQUIPO CENTRAL VRF ===== */

.vrf-section {
  background-color: #ffffff;
  padding: 80px 0 90px;
}

.vrf-inner {
  max-width: 1300px;     /* ancho grande de la sección */
  margin: 0 auto;
  padding: 0 32px;
  text-align: center;
}

/* Logo rojo arriba */
.vrf-logo {
  margin-bottom: 30px;
}

.vrf-logo-icon {
  height: 70px;
}

/* Logo Mitsubishi abajo */
.vrf-mitsu-logo {
  margin-top: 40px;
}

.vrf-mitsu-logo img {
  height: 60px;
}

/* ===== Responsive ===== */

@media (max-width: 1200px) {
  .vrf-circle {
    width: 460px;
  }
  .vrf-unit-img {
    width: 140%;
  }
}

@media (max-width: 600px) {
  .vrf-section {
    padding: 60px 0 70px;
  }

  .vrf-circle {
    width: 260px;
  }

  .vrf-unit-img {
    width: 120%;
  }

  .vrf-logo-icon {
    height: 60px;
  }

  .vrf-mitsu-logo img {
    height: 52px;
  }
}
/* Estado inicial para los que suben desde abajo */
.reveal-up {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Ya tenías esto para left/right; se reutiliza */
.reveal-visible {
  opacity: 1;
  transform: translateX(0) translateY(0);
}

/* =========================================================
   SECCIÓN EQUIPO CENTRAL VRF
   HTML esperado:

   <section class="vrf-section">
     <div class="vrf-inner">
       <div class="vrf-logo">...</div>
       <div class="vrf-content reveal-up">
         <div class="vrf-column vrf-column-left">...</div>
         <div class="vrf-center">
           <div class="vrf-circle">
             <img src="img/vrf-unit.png" class="vrf-unit-img">
           </div>
         </div>
         <div class="vrf-column vrf-column-right">...</div>
       </div>
       <div class="vrf-mitsu-logo">...</div>
     </div>
   </section>
   ========================================================= */

/* CONTENEDOR GENERAL */
.vrf-section {
  background-color: #ffffff;
  padding: 80px 0 90px;
}

/* ESTA SECCIÓN SÍ VA A TODO EL ANCHO */
.vrf-inner {
  width: 100%;
  max-width: none;          /* sin límite: usa todo el ancho */
  margin: 0;
  padding: 0 80px;          /* margen lateral, ajústalo si quieres más/menos */
  box-sizing: border-box;
  text-align: center;
}

/* LOGO ROJO ARRIBA */
.vrf-logo {
  margin-bottom: 30px;
}

.vrf-logo-icon {
  height: 70px;
}

/* GRID: TEXTO IZQ / CÍRCULO / TEXTO DER */
.vrf-content {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) auto minmax(0, 1.1fr);
  align-items: center;
  column-gap: 80px;   /* separación horizontal */
  row-gap: 40px;
}

/* COLUMNAS DE TEXTO */
.vrf-column {
  text-align: left;
  font-size: 0.98rem;
  line-height: 1.9;
  color: #111827;
  display: flex;
  flex-direction: column;
  gap: 26px;
  max-width: 420px;        /* que no se peguen al equipo */
}

.vrf-column-left {
  margin-left: auto;       /* lleva la columna realmente hacia la izquierda */
}

.vrf-column-right {
  margin-right: auto;      /* lleva la columna hacia la derecha */
}

.vrf-item {
  position: relative;
  padding-left: 18px;
}

.vrf-item::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0.3em;
  font-size: 1.1rem;
}

/* CENTRO: CÍRCULO + EQUIPO */
.vrf-center {
  display: flex;
  justify-content: center;
}

/* CÍRCULO ROJO GRANDE Y PERFECTO */
.vrf-circle {
  width: 680px;             /* tamaño grande del círculo */
  height: 680px;            /* igual que width → círculo perfecto */
  border-radius: 50%;
  background: #35AA77;
  margin: 0 auto;
  overflow: visible;        /* deja que el equipo se salga por abajo */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* EQUIPO: MISMO TAMAÑO VISUAL, CENTRADO */
.vrf-unit-img {
  width: 100%;              /* ocupa todo el círculo */
  max-width: none;
  height: auto;
  transform: translateY(8%);   /* baja un poco el equipo dentro del círculo */
}

/* LOGO MITSUBISHI ABAJO */
.vrf-mitsu-logo {
  margin-top: 40px;
}

.vrf-mitsu-logo img {
  height: 60px;
}

/* ======================= RESPONSIVE ===================== */

@media (max-width: 1200px) {
  .vrf-inner {
    padding: 0 48px;
  }

  .vrf-content {
    column-gap: 60px;
  }

  .vrf-circle {
    width: 560px;
    height: 560px;
  }
}

@media (max-width: 1024px) {
  .vrf-inner {
    padding: 0 32px;
  }

  .vrf-content {
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: 32px;
  }

  .vrf-column,
  .vrf-column-left,
  .vrf-column-right {
    max-width: none;
    text-align: center;
    align-items: center;
    margin: 0;
  }

  .vrf-item {
    padding-left: 0;
  }

  .vrf-item::before {
    display: none; /* opcional en móvil */
  }

  .vrf-circle {
    width: 380px;
    height: 380px;
  }

  .vrf-unit-img {
    transform: translateY(6%);
  }
}

@media (max-width: 600px) {
  .vrf-section {
    padding: 60px 0 70px;
  }

  .vrf-inner {
    padding: 0 20px;
  }

  .vrf-circle {
    width: 260px;
    height: 260px;
  }

  .vrf-unit-img {
    transform: translateY(4%);
  }

  .vrf-logo-icon {
    height: 60px;
  }

  .vrf-mitsu-logo img {
    height: 52px;
  }
}


/* ===== SECCIÓN INNOVACIÓN ===== */

.innovation-section {
  position: relative;
  width: 100%;
  background-color: #050b1e; /* azul muy oscuro */
  padding: 140px 0 100px;    /* espacio arriba y abajo */
  overflow: hidden;
}

.innovation-inner {
  width: 100%;
  max-width: none;
  padding: 0 80px;           /* margen lateral */
  box-sizing: border-box;
  position: relative;
}

/* Logo arriba izquierda, discreto */
.innovation-logo {
  position: absolute;
  top: 32px;
  left: 80px;
}

.innovation-logo img {
  height: 64px;
  opacity: 0.6;
}

/* Texto gigante con textura animada de olas */
.innovation-text {
  margin: 0;
  text-align: center;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  font-size: 14vw;               /* responsive, muy grande */
  max-font-size: 260px;          /* por si quieres limitar en desktop grande */
  color: transparent;

  /* textura */
  background-image: url("../images/olas.jpeg");
  background-size: 220% auto;
  background-position: 0% 50%;
  background-repeat: no-repeat;

  /* recortar la imagen dentro del texto */
  -webkit-background-clip: text;
  background-clip: text;

  /* animación tipo olas */
  animation: innovationWave 18s linear infinite alternate;
}

/* Animación del movimiento de la textura */
@keyframes innovationWave {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 50% 50%; }
  100% { background-position: 100% 50%; }
}

/* ===== Responsive ===== */

@media (max-width: 1024px) {
  .innovation-inner {
    padding: 0 40px;
  }

  .innovation-logo {
    left: 40px;
    top: 24px;
  }

  .innovation-logo img {
    height: 52px;
  }

  .innovation-text {
    font-size: 18vw;
  }
}

@media (max-width: 600px) {
  .innovation-inner {
    padding: 0 20px;
  }

  .innovation-logo {
    left: 20px;
    top: 20px;
  }

  .innovation-logo img {
    height: 46px;
  }

  .innovation-text {
    font-size: 20vw;
    letter-spacing: 0.04em;
  }
}

/* Tamaños más pequeños para el texto INNOVACIÓN */
.innovation-text {
  font-size: 9vw;      /* antes 14vw, bastante más chico */
}

/* Tablet */
@media (max-width: 1024px) {
  .innovation-text {
    font-size: 11vw;   /* antes 18vw */
  }
}

/* Móvil */
@media (max-width: 600px) {
  .innovation-text {
    font-size: 13vw;   /* antes 20vw */
  }
}

.innovation-logo {
  position: static;
  margin-right: 0;
  margin-bottom: 12px;               /* espacio entre logo y texto */
}

.innovation-logo img {
  height: 56px;
  opacity: 0.7;
}

/* ===== SECCIÓN MODINE / ELECTROFIN ===== */

.modine-section {
  position: relative;
  width: 100%;
  min-height: 80vh;
  background-image: url("../images/tiburon.jpg"); /* FONDO DEL MAR */
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  color: #ffffff;
  overflow: hidden;
}

.modine-inner {
  position: relative;
  max-width: 1300px;
  margin: 0 auto;
  padding: 80px 80px 80px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo Modine */
.modine-logo {
  position: absolute;
  top: 40px;
  left: 80px;
}

.modine-logo img {
  height: 72px;
}

/* Columna de texto */
.modine-content {
  max-width: 460px;
  z-index: 2;
}

.modine-title {
  margin: 0 0 24px;
  font-size: 3rem;
  line-height: 1.1;
  font-weight: 800;
}

.modine-title span {
  display: inline-block;
}

.modine-text {
  margin: 0 0 32px;
  font-size: 1rem;
  line-height: 1.8;
}

/* Botón "DESCUBRE" */
.modine-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 32px;
  border-radius: 999px;
  border: 1.5px solid #ffffff;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background-color 0.25s ease, color 0.25s ease,
              transform 0.25s ease, box-shadow 0.25s ease;
}

.modine-btn:hover {
  background-color: #ffffff;
  color: #00324f;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
}

/* Tiburón a la derecha */
.modine-shark {
  position: relative;
  flex: 1;
  display: flex;
  justify-content: flex-end;
  z-index: 1;
}

.modine-shark img {
  max-height: 540px;
  width: auto;
  height: auto;
  pointer-events: none;
}

/* ===== Responsive ===== */

@media (max-width: 1200px) {
  .modine-inner {
    padding: 72px 48px 72px;
  }

  .modine-logo {
    left: 48px;
  }

  .modine-title {
    font-size: 2.6rem;
  }

  .modine-shark img {
    max-height: 480px;
  }
}

@media (max-width: 900px) {
  .modine-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 72px 32px 72px;
  }

  .modine-logo {
    left: 32px;
    top: 28px;
  }

  .modine-content {
    max-width: 100%;
    margin-top: 60px;
  }

  .modine-shark {
    align-self: center;
    margin-top: 32px;
  }

  .modine-shark img {
    max-height: 380px;
  }
}

@media (max-width: 600px) {
  .modine-inner {
    padding: 72px 20px 56px;
  }

  .modine-logo {
    left: 20px;
    top: 24px;
  }

  .modine-logo img {
    height: 56px;
  }

  .modine-title {
    font-size: 2.2rem;
  }

  .modine-text {
    font-size: 0.95rem;
  }

  .modine-shark img {
    max-height: 300px;
  }
}


/* Tiburón más grande en desktop */
.modine-shark img {
  max-height: 720px;   /* antes 540px aprox */
  width: auto;
  height: auto;
}

/* Ajuste en pantallas medianas */
@media (max-width: 1200px) {
  .modine-shark img {
    max-height: 600px;
  }
}

/* En móviles lo dejamos más contenido */
@media (max-width: 900px) {
  .modine-shark img {
    max-height: 420px;
  }
}

/* ===== SECCIÓN FINAL: SUSCRIPCIÓN ===== */

.footer-cta {
  background-color: #02071a;      /* azul muy oscuro */
  color: #ffffff;
  padding: 60px 0 50px;
}

.footer-cta-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 80px;
  box-sizing: border-box;

  display: grid;
  grid-template-columns: 1.1fr 1.4fr 1.1fr;
  align-items: flex-start;
  column-gap: 80px;
}

/* Columna izquierda */

.footer-logo {
  height: 90px;
  margin-bottom: 48px;
}

.footer-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  text-decoration: none;
  margin-top: 8px;
}

.footer-social span {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: #ffffff;
}

/* Columna central: formulario */

.footer-cta-center {
  max-width: 520px;
}

.footer-cta-title {
  margin: 0 0 24px;
  font-size: 1.9rem;
  line-height: 1.3;
  font-weight: 700;
  color: #5EFF87;       /* rojo de marca */
}

.footer-label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.footer-input {
  width: 100%;
  padding: 12px 14px;
  font-size: 1rem;
  border-radius: 0;
  border: none;
  outline: none;
  background-color: #ffffff;
  color: #111827;
  margin-bottom: 18px;
  box-sizing: border-box;
}

.footer-btn {
  width: 100%;
  padding: 13px 16px;
  border: none;
  border-radius: 0;
  background-color: #525a82;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: none;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.footer-btn:hover {
  background-color: #656f9c;
  transform: translateY(-1px);
}

/* Columna derecha: contacto */

.footer-cta-right {
  font-size: 0.95rem;
  line-height: 1.8;
}

.footer-contact-block {
  margin-bottom: 22px;
}

.footer-contact-title {
  margin: 0 0 2px;
  font-weight: 600;
}

.footer-contact-line {
  margin: 0;
  opacity: 0.85;
}

.footer-privacy-link {
  display: inline-block;
  margin-top: 18px;
  font-size: 0.9rem;
  color: #ffffff;
  text-decoration: none;
  opacity: 0.85;
}

.footer-privacy-link:hover {
  text-decoration: underline;
}

/* ===== Responsive ===== */

@media (max-width: 1024px) {
  .footer-cta-inner {
    padding: 0 40px;
    column-gap: 40px;
    grid-template-columns: 1fr 1.2fr;
    row-gap: 40px;
  }

  .footer-cta-right {
    grid-column: 2 / 3;
  }
}

@media (max-width: 768px) {
  .footer-cta-inner {
    padding: 0 20px;
    grid-template-columns: 1fr;
    row-gap: 32px;
  }

  .footer-cta-center,
  .footer-cta-right {
    max-width: none;
  }

  .footer-cta-right {
    font-size: 0.9rem;
  }

  .footer-logo {
    height: 70px;
    margin-bottom: 24px;
  }
}

/* ACTIVE MENÚ PRO */
.main-nav a.active {
    color: #1e8a63 !important; /* verde corporativo */
    font-weight: 700;
}

    /* Línea inferior elegante */
    .main-nav a.active::after {
        content: "";
        display: block;
        width: 100%;
        height: 2px;
        margin-top: 6px;
        background: #1e8a63;
        border-radius: 10px;
    }

.whatsapp-float {
    position: fixed;
    left: 22px;
    bottom: 22px;
    width: 62px;
    height: 62px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    text-decoration: none;
    z-index: 99999;
    box-shadow: 0 8px 22px rgba(0,0,0,.28);
    transition: transform .25s ease, box-shadow .25s ease;
}

    .whatsapp-float:hover {
        transform: scale(1.08);
        box-shadow: 0 10px 28px rgba(0,0,0,.36);
        color: white;
    }