@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600&display=swap');

:root {
  --verde-suave: #dff4e5;
  --verde-claro: #b6e2c6;
  --verde-texto: #164a30;
  --verde-hover: #3a9060;
  --verde-borde: #a4d8b3;
  --color-acento: #164a30;
  --color-texto-header: #164a30;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  font-family: 'Outfit', sans-serif;
  overflow-x: hidden;
  background: #fff;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 18px 6%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
}

.burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.burger span {
  width: 26px;
  height: 3px;
  background: #0a3d2f;
  border-radius: 2px;
  transition: 0.3s;
}


.logo img {
  height: 70px;
  border-radius: 10px;
  transition: opacity 0.3s ease;
}
.logo img:hover {
  opacity: 0.85;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link,
.dropdown-btn {
  position: relative;
  text-decoration: none;
  color: var(--verde-texto);
  font-weight: 600;
  font-size: 1.05rem;
  padding: 6px 10px;
  border-radius: 6px;
  transition: color 0.3s ease;
}

.nav-link::before,
.dropdown-btn::before {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--verde-hover);
  transition: width 0.35s ease, transform 0.35s ease;
  transform: translateX(-50%);
}

.nav-link:hover::before,
.dropdown-btn:hover::before {
  width: 70%;
}

.nav-link:hover,
.dropdown-btn:hover {
  color: var(--verde-hover);
}

.nav-link.active {
  color: var(--verde-hover);
}
.nav-link.active::before {
  width: 70%;
}

.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 130%;
  left: 0;
  background-color: #ffffff;
  min-width: 230px;
  border-radius: 10px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}

.dropdown-content a {
  display: block;
  padding: 12px 18px;
  color: var(--verde-texto);
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.dropdown-content a:hover {
  background-color: var(--verde-hover);
  color: #fff;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.idioma img {
  width: 38px;
  cursor: pointer;
  border-radius: 4px;
  transition: transform 0.3s ease;
}
.idioma img:hover {
  transform: scale(1.1);
}

/*======================================= FIN DE HEADER =======================================*/

body {
  background-color: #fff;
  color: #222;
  overflow-x: hidden;
}


/*======================================= INICIO =======================================*/

/* PORTADA PARALLAX */

.portada {
  position: relative;
  width: 100vw;
  height: calc(100vh - 100px);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  margin-top: 100px;
}

.parallax-1 {
  background-image: url("Assets/NewVisionInsidePlus.webp");
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

/* Hero con video estático (sin parallax) */
.hero-video { 
  position: relative; 
  background-color: #000;
  overflow: hidden !important;
  width: 100%;
  height: 92vh; /* Aumentada la altura de la sección */
}
.hero-video-bg { 
  position: absolute; 
  top: 50%;
  left: 50%;
  min-width: 100%; 
  min-height: 100%; 
  width: auto;
  height: auto;
  object-fit: cover; 
  transform: translate(-50%, -50%);
  z-index: 0;
}
.hero-video-overlay { 
  position: absolute; 
  inset: 0; 
  background: rgba(0,0,0,0.35); 
  z-index: 1;
}
.contenido-portada { 
  position: relative; 
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contenido-portada {
  text-align: center;
  color: #ffffff;
  text-shadow: 0 3px 8px rgba(0,0,0,0.5);
}

.slogan {
  font-size: 3.2rem;
  font-weight: 700;
  margin: 0; /* Eliminado padding-top excesivo */
}


/* -------------------------------------------------------------------------------------------------------------------------- */

#info {
  position: relative;
  width: 100%;
  height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 40px;
  margin-bottom: 90px;
  overflow: hidden;
  margin-top: 1%;
}

.info-container {
  position: relative;
  width: 100%;
  max-width: 1700px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
}

.info-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.info-image {
  width: 72%; /* más ancha */
  height: 90%;
  overflow: hidden;
  border-radius: 12px;
  margin-left: 14px; /* mucho menos margen */
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.info-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* llena todo el alto sin dejar bordes blancos */
  object-position: left center;
}

.info-card {
  position: absolute;
  right: 6%;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  padding: 50px 55px;
  text-align: center;
  width: 480px; /* más grande */
  min-height: 380px; /* más alta */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  height: 50vh;
}

.info-icon img {
  width: 70px;
  height: 70px;
  margin-bottom: 14px;
}

.info-card h3 {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  color: #1f5e3d;
  margin-bottom: 14px;
}

.info-card p {
  font-family: "Outfit", sans-serif;
  color: #333;
  line-height: 1.7;
  font-size: 1.05rem;
}

.card-arrows {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 25px;
}

.card-arrows .arrow {
  background-color: #1f5e3d;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  font-size: 1.4rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.card-arrows .arrow:hover {
  background-color: #267b4d;
  transform: translateY(-2px);
}

.ventana-blanca {
  height: 40vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
}

.ventana-contenido {
  color: #ffffff;
  text-shadow: 0 3px 10px rgba(0,0,0,0.5);
  text-align: center;
}

.ventana-titulo {
  font-size: 2.8rem;
  font-weight: 700;
}

.parallax-2 {
  background-image: url("Assets/NewVisionInsidePlus.webp");
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  padding: 80px 0;
}

/* la sección queda más profunda visualmente */
.modelos-section {
  padding-top: 120px;
  padding-bottom: 120px;
}

.modelos-overlay {
  max-width: 1700px;
  margin: 0 auto;
  padding: 80px 3%;
}
.final-cta {
  height: 50vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cta-overlay {
  text-align: center;
  color: #fff;
  text-shadow: 0 3px 8px rgba(0,0,0,0.4);
}

.cta-frase {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 35px;
  animation: aparecer 1.5s ease-out;
}


/* -------------------------------------------------------------------------------------------------------------------------- */

#marcas {
  padding: 70px 0 50px 0;
  background: #f0f0f0; /* verde suave premium */
  position: relative;
  animation: fadeIn 0.8s ease-out;
  overflow: hidden;
  border-top: 0px solid #d6eadf;
  border-bottom: 0px solid #d6eadf;
}

#marcas h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--color-acento);
}

.ojos-carrusel-container {
  position: relative;
  padding: 30px 0;
  margin: 0 auto;
  max-width: 1400px;
}

.ojos-carrusel-mask {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
  mask-image: radial-gradient(
    circle at center,
    black 0%,
    black 30%,
    transparent 70%,
    transparent 100%
  );
  -webkit-mask-image: radial-gradient(
    circle at center,
    black 0%,
    black 30%,
    transparent 70%,
    transparent 100%
  );
}

.ojos-carrusel {
  display: flex;
  gap: 20px;
  width: max-content;
  height: 100%;
  will-change: transform;
}

.ojo-marca {
  flex: 0 0 150px;
  position: relative;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.8s ease-out;
}

.ojo-marca.active {
  opacity: 1;
  transform: scale(1);
}

.ojo-mascara {
  width: 190px;
  height: 130px;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(
    ellipse at center,
    rgba(255,255,255,0.9) 0%,
    rgba(210,210,210,0.5) 70%
  );
  box-shadow:
    0 0 25px rgba(0,0,0,0.1),
    inset 0 0 15px rgba(0,0,0,0.1);
}

.marca-logo {
  width: 65%;
  height: auto;
  filter: grayscale(100%) opacity(0.8);
  transition: all 0.3s ease;
  z-index: 1;
}

.ojo-marca:hover .marca-logo {
  filter: grayscale(0) opacity(1);
  transform: scale(1.1);
}

/* ==================== */
/* SECCIÓN MODELOS      */
/* ==================== */
#modelos {
  display: flex;
  justify-content: center;
  gap: 55px;
  padding: 80px 3%;
  height: auto;
  max-width: 1650px; /* más ancho para pantallas grandes */
  margin: 0 auto;
}

.modelo-columna {
  flex: 0 0 30%;  /* más anchas */
  height: 600px; /* más altas */
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 25px rgba(0,0,0,0.12);
  border: 1px solid #cde7d7;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.modelo-columna:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(0,0,0,0.18);
}

.modelo-container {
  width: 100%;
  height: 100%;
  position: relative;
}

.modelo-img, .gafas-modelo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity 0.5s ease;
}

.gafas-modelo-img {
  opacity: 0;
}

.modelo-columna:hover .modelo-img {
  opacity: 0;
}

.modelo-columna:hover .gafas-modelo-img {
  opacity: 1;
}
/* ============================================= OFERTAS =============================================== */

.banner-ofertas {
  margin-top: 5%;
  padding: 7rem 2rem;
  text-align: center;
  background: linear-gradient(180deg, #e8f3ed 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.banner-ofertas::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("Assets/banner_ofertas.webp") center/cover;
  opacity: 0.18;
  pointer-events: none;
}

.banner-ofertas::after {
  content: "";
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background: #2e8b57;
  border-radius: 4px;
  opacity: 0.7;
}

.banner-ofertas h1 {
  font-size: 3.4rem;
  font-weight: 700;
  color: #2e8b57;
  letter-spacing: 1px;
  margin: 0 auto;
  max-width: 900px;
  line-height: 1.2;
  font-family: 'Outfit', sans-serif;
}

/* ========================== OFERTAS (NUEVO DISEÑO) ========================== */

.hero-ofertas {
  position:relative;
  padding: 8rem 8% 7rem;
  text-align:center;
  background: linear-gradient(180deg, #e8f3ed 0%, #ffffff 100%);
  min-height: 60vh; display:flex;
  align-items:center;
  justify-content:center
}

.hero-ofertas::before {
  content:"";
  position:absolute;
  inset:0;
  background: rgba(255, 255, 255, 0.219);
}

.hero-content {
  position:relative;
  z-index:1
}

.hero-ofertas .hero-content { transform: translateY(-18vh) }

.hero-content h1 {
  font-size: 3.8rem;
  color:#2e8b57;
  letter-spacing:1px;
  margin:.4rem 0 0
}

.ofertas-title {
  padding: 2rem 8% 0;
  text-align:center;
  margin-top: 1.4rem
}

.ofertas-title h2 { font-size:2.4rem; color:#1a1a1a }

.destacadas { padding: 3rem 8% 4rem }
.destacadas-grid { display:grid; grid-template-columns: repeat(2,1fr); gap: 1.8rem }
.destacadas-grid .card { border-radius: 18px; overflow:hidden; box-shadow: 0 12px 28px rgba(0,0,0,0.10); background:#fff; display:flex; flex-direction:column; transition: transform .25s ease, box-shadow .25s ease }
.destacadas-grid .card:hover { transform: translateY(-6px); box-shadow: 0 16px 36px rgba(0,0,0,0.12) }
.destacadas-grid .card-media { height: 380px; background-size: cover; background-position:center; border-radius: 18px }
.destacadas-grid .card-media.placeholder { background: radial-gradient(circle at 30% 30%, #d9efe3, #cde7d7); border-radius: 18px }
.destacadas-grid .card-body { padding: 1.3rem 1.3rem 1.6rem; display:flex; flex-direction:column; gap:.6rem; text-align: justify }
.destacadas-grid .card-body h2 { margin:0; font-size:2rem; color:#2e8b57; text-align:center }
.destacadas-grid .card-body .subtitulo { margin:.2rem 0 .2rem; font-size:1.05rem; color:#0d3b2a; font-weight:600; text-align:justify }
.destacadas-grid .precio { font-size:1.6rem; font-weight:700; color:#111 }
.destacadas-grid .precio span { font-size:.9rem; font-weight:600; color:#7a7a7a; margin-right:.4rem }
.destacadas-grid .precio.badge { display:inline-block; font-size:.95rem; color:#fff; background:#ff7a59; padding:.35rem .6rem; border-radius: 999px }
.destacadas-grid .card-body p { margin:.2rem 0 .8rem; color:#333; line-height:1.6; text-align:justify }
.destacadas-grid .card-body .small { font-size:.95rem; color:#666; margin-top:-.2rem }
.features-tags { display:flex; flex-wrap:wrap; gap:.5rem; margin:.4rem 0 .6rem }
.features-tags span { display:inline-block; padding:.3rem .6rem; border:1px solid #cfe5da; border-radius:999px; background:#f6fbf8; color:#1f5e3d; font-size:.9rem }
.valid { margin-top:.2rem; font-size:.9rem; color:#2e8b57; font-weight:600 }

/* Altura específica 15% mayor para oferta 1 y 2 */
.destacadas-grid .oferta-a .card-media,
.destacadas-grid .oferta-b .card-media { height: 85vh }

.info-extra {
  padding: 3rem 8% 0;
  background:#f7faf8;
  margin-top: 0;
  margin-bottom: 3rem
}

.info-row {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:1.2rem
}

.info-item {
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:.35rem;
  background:#fff;
  border: 1px solid #e6f0ea;
  padding:1.1rem 1.2rem;
  border-radius:16px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.08);
  transition: transform .2s ease, box-shadow .2s ease 
}

.info-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(0,0,0,0.12)
}

.info-item span {
  font-weight:700;
  color:#1a1a1a
}

.info-item p {
  margin:0;
  color:#666;
  font-size:.95rem
}


/* ========================== INFO OFERTAS ========================== */

.info-ofertas {
  padding: 5rem 2rem;
  background: url("Assets/NewVisionInsidePlus.webp") center/cover fixed no-repeat;
  position: relative;
}

.info-ofertas-individual {
  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(255, 255, 255, 0.86);
  border-radius: 24px;

  padding: 3.5rem 3rem;
  margin: 4rem auto;

  width: 88%;
  max-width: 1150px;
  min-height: 420px;
  gap: 3rem;
  box-shadow: 
    0 10px 22px rgba(0, 0, 0, 0.12),
    inset 0 0 8px rgba(255, 255, 255, 0.22);

  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Hover optimizado */
.info-ofertas-individual:hover {
  transform: translateY(-5px);
  box-shadow: 
    0 14px 32px rgba(0, 0, 0, 0.17),
    inset 0 0 10px rgba(255, 255, 255, 0.25);
}

.oferta-img img {
  width: 500px;
  height: 420px;
  border-radius: 18px;
  object-fit: cover;
  object-position: center;

  /* Mejora rendimiento por GPU */
  transform: translateZ(0);
}

.oferta-texto {
  flex: 1.6;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 1.4rem;
  color: #1a1a1a;
}

.oferta-texto h2 {
  font-size: 2.2rem;
  margin: 0;
  text-align: left;
  font-weight: 700;
  color: #2e8b57;
  letter-spacing: 1px;
}

.oferta-texto p {
  font-size: 1.1rem;
  line-height: 1.55;
  text-align: left;
  max-width: 90%;

  background: rgba(255, 255, 255, 0.90);
  padding: 1.2rem 1.4rem;
  border-radius: 12px;

  /* Mucho más ligero */
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* Correcciones de alineación */
.info-izquierda {
  margin-left: 2%;
  margin-right: auto;
}

.info-derecha {
  margin-right: 2%;
  margin-left: auto;
}

/* ============================================= CONTACTA =============================================== */


.hero {
  position: relative;
  background: url('Assets/banner-contacta.webp') center/cover no-repeat;
  height: 66vh;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

.hero-content {
  position: relative;
  text-align: center;
  z-index: 2;
  padding-top: 10rem;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.hero-content p {
  font-size: 1.3rem;
}

/* === INFO CARDS === */
.info-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding: 3rem 8%;
  background-color: #f5f5f5;
}

.card {
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding: 2rem;
  flex: 1 1 220px;
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.icon {
  font-size: 2rem;
  color: #1ca55c;
  margin-bottom: 1rem;
}

.card h3 {
  margin-bottom: 0.5rem;
  color: #0d3b2a;
}

.info-cards a {
  text-decoration: none;
  color: #149249;
  font-weight: 600;
}
.info-cards a:hover { color: #117a3b }

/* === CONTACT SECTION === */
.contact-section {
  position: relative;
  padding: 5% 8%;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  gap: 3rem;

  /* Imagen de fondo parallax */
  background-image: url('Assets/contacta-parallax.webp'); /* ← cambia esta ruta */
  background-size: cover;
  background-position: center;
  background-attachment: fixed;       /* <-- aquí está el PARALLAX */
  background-repeat: no-repeat;
  z-index: 1;
}

/* Capa oscura suave para que el formulario y el mapa se lean bien */
.contact-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.15); /* Ajusta si quieres más oscuro o más claro */
  z-index: -1;
}

/* Enlaces dentro de Contacta */
.contact-section a {
  text-decoration: none;
  color: #1ca55c;
  font-weight: 600;
}
.contact-section a:hover { color: #149249 }


.contact-form {
  flex: 1 1 45%;
  background-color: #eef1ef; /* fondo ligeramente gris (claro) */
  border-radius: 1rem;
  padding: 3rem 3rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.06); /* sombra reducida (≈ -25%) */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: left;
  min-width: 320px;
  min-height: 110%; /* altura aumentada para igualar mapa/bloque verde */
}

.contact-form form {
  width: 100%;
  max-width: 540px;
  max-height: 100%;
  margin: 0 auto;
  display: block;
}

.contact-form h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #0d3b2a;
  text-align: center;
  margin-bottom: 2.1rem; /* espacio mayor entre título y descripción */
}

.contact-form p {
  font-size: 1rem;
  color: #444;
  text-align: center;
  margin-bottom: 3rem; /* Aumentado: más espacio antes de la raya */
  line-height: 1.6;
}

.contact-form form::before {
  content: "";
  display: block;
  width: 60vh;                      /* más larga que antes (mayor extensión hacia los extremos) */
  height: 1.6px;
  background-color: rgba(0,0,0,0.12);
  margin: 0 auto 3rem;             /* margen inferior mayor para separar raya y primeros campos */
  border-radius: 2px;
}

.contact-form label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 600;
  color: #1f1f1f;
  font-size: 0.96rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.98rem 1rem;
  margin-bottom: 1.9rem;           /* separación vertical aumentada (~+40% respecto a un 1.35rem original) */
  border-radius: 0.55rem;
  border: 1px solid rgba(0,0,0,0.12);
  background-color: #ffffff;
  font-size: 0.96rem;
  outline: none;
  transition: border-color .16s ease, box-shadow .16s ease;
}

/* Foco */
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #149249;
  box-shadow: 0 6px 14px rgba(20,146,73,0.07);
}

.contact-form textarea {
  min-height: 220px; /* altura aumentada */
  resize: none;      /* quita las diagonales y evita redimensionado por el usuario */
  line-height: 1.5;
}

.checkbox-group {
  width: 100%;
  max-width: 540px;
  margin: 0 auto 2.4rem;
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 0.4rem 0;
  background: transparent;
  border-radius: 0.55rem;
}

.checkbox-group input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin: 0.15rem 0 0 0;
  accent-color: #1ca55c;
  cursor: pointer;
  flex: 0 0 20px;
}

/* texto de la casilla ocupa el resto del ancho */
.checkbox-group label {
  flex: 1;
  font-size: 0.95rem;
  color: #1b1b1b;
  line-height: 1.4;
}

/* enlace en el texto del consentimiento */
.checkbox-group a {
  color: #149249;
  text-decoration: none;
  font-weight: 600;
}

.checkbox-group a:hover {
  text-decoration: underline;
}

/* BOTÓN — tamaño alineado con los campos */
.contact-form button {
  width: 100%;
  max-width: 540px;
  display: block;
  margin: 0 auto 0;
  padding: 1.02rem 1rem;
  border-radius: 0.6rem;
  border: none;
  background-color: #149249;
  color: #fff;
  font-size: 1.03rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .18s ease, transform .08s ease;
  box-shadow: 0 3px 8px rgba(0,0,0,0.04);
}

.contact-form button:hover {
  background-color: #117a3b;
  transform: translateY(-2px);
}

/* MAPA + BLOQUE VERDE */
.contact-image {
  flex: 1 1 45%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background-color: #fff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.mapa {
  width: 100%;
  aspect-ratio: 1 / 1; /* cuadrado */
  border-bottom: 3px solid #1ca55c;
  overflow: hidden;
}

.mapa iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* BLOQUE VERDE */
.why-visit {
  background-color: #1ca55c;
  color: #fff;
  padding: 1.4rem 2rem;
}

.why-visit h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  text-align: center;
}

.why-visit ul {
  list-style: none;
  padding: 0;
}

.why-visit li {
  margin: 0.6rem 0;
  font-size: 1rem;
  line-height: 1.6;
}

.why-visit i {
  margin-right: 0.5rem;
}


/* === FAQ === */
.faq-section {
  background-color: #f2f2f2;
  padding: 5% 8%;
  text-align: center;
}

.faq-section h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #080808;
}

.faq-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
}

.faq-card {
  background: #fff;
  border-radius: 1rem;
  padding: 2rem;
  width: 47%;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  text-align: left;
}

.faq-card h3 {
  color: #0d3b2a;
  margin-bottom: 1rem;
}

.faq-section a {
  text-decoration: none;
  color: #149249;
  font-weight: 600;
}
.faq-section a:hover { color: #117a3b }






/* ====================================== FOOTER ================================== */
.footer {
  background-color: #0d3b2a;
  color: #fff;
  padding: 4rem 8% 3rem; 
  text-align: center;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 2rem;
}
.footer-col {
  flex: 1 1 220px;
  text-align: center; /* Para que el título quede centrado */
}
/* Títulos centrados con más separación */
.footer-col h4 {
  font-size: 1.25rem;
  color: #1ca55c;
  margin-bottom: 1.6rem; /* Más espacio debajo del título */
}
/* El resto del texto justificado */
.footer-col ul {
  list-style: none;
  line-height: 1.9;
  padding: 0;
  text-align: center;
  
}
/* Elementos individuales */
.footer-col li {
  color: #ddd;
  font-size: 0.97rem;
  margin-bottom: 0.6rem; /* Más aire entre líneas */
}

/* Íconos */
.footer-col li i {
  color: #1ca55c;
  margin-right: 0.5rem;
  justify-content: center;
}

.footer-col.brand h3 {
  color: #fff;
  font-size: 1.9rem;
  margin-bottom: 1.9rem; /* Nuevo espacio */
}

.footer-col.brand span {
  color: #1ca55c;
}


.footer-col.brand span {
  color: #1ca55c;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1rem;
}

.social-icons a {
  color: #fff;
  font-size: 1.5rem;
  text-decoration: none;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #1ca55c;
}
/* === FOOTER BOTTOM === */
.footer-bottom {
  border-top: 1px solid #1ca55c;
  padding-top: 1rem;
  font-size: 0.85rem;
  color: #aaa;
  text-align: center;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes flotarSuave {
  0% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(1deg); }
  100% { transform: translateY(0) rotate(0deg); }
}

/* ========================================================================== */
/*                              MEDIA QUERIES                                 */
/* ========================================================================== */

@media (max-width: 1024px) {
  .header {
    padding: 15px 4%;
  }
  
  .nav {
    gap: 20px;
  }

  .info-image {
    width: 60%;
  }

  .info-card {
    width: 400px;
    padding: 30px;
  }
  
  .destacadas-grid {
    gap: 1.5rem;
  }
}

@media (max-width: 900px) {
  /* Ofertas - Layout cambio a columna */
  .info-ofertas-individual {
    flex-direction: column;
    padding: 0;
    overflow: hidden;
    width: 92%;
    gap: 0;
  }
  
  .oferta-img img {
    width: 100%;
    height: 300px;
    border-radius: 24px 24px 0 0;
  }
  
  .oferta-texto {
    padding: 2rem;
    width: 100%;
    gap: 1rem;
  }
  
  .oferta-texto p {
    max-width: 100%;
  }
  
  /* Footer - Grid de 2 columnas para tablet */
  .footer-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem 1rem;
  }
}

@media (max-width: 768px) {
  /* === HEADER & NAV === */
  .burger {
    display: flex;
    z-index: 1001;
  }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 85%;
    max-width: 350px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    box-shadow: -5px 0 25px rgba(0,0,0,0.1);
    padding: 80px 20px;
  }

  .nav.active {
    transform: translateX(0);
  }

  .nav-link, .dropdown-btn {
    font-size: 1.4rem;
    color: #0a3d2f;
  }
  
  .dropdown-content {
    position: static;
    background: transparent;
    box-shadow: none;
    text-align: center;
    padding-top: 10px;
    display: none; /* JS needed for toggle or just show on hover won't work well */
  }
  
  /* En móvil mostramos el dropdown siempre o lo ocultamos? 
     Para simplificar, vamos a mostrarlo indentado si es necesario, 
     o simplificar la navegación. Por ahora, estilo simple: */
  .dropdown:hover .dropdown-content {
    display: block;
  }

  .idioma {
    position: absolute;
    top: 25px;
    right: 80px;
  }

  /* === PORTADA === */
  .portada {
    height: 60vh; /* Menos altura en móvil */
    margin-top: 80px;
  }
  
  .slogan {
    font-size: 2.2rem;
    padding-top: 0;
    margin: 0;
  }

  /* === INFO SECTION === */
  #info {
    height: auto;
    padding: 40px 0;
    margin-top: 0;
  }

  .info-container {
    flex-direction: column;
  }

  .info-slide {
    position: relative;
    opacity: 1; /* Mostrar todos o usar JS para slider, pero en móvil mejor stack? 
                   El JS hace slider, mantenemos slider pero ajustamos layout */
    display: none; /* JS togglea flex */
    flex-direction: column;
    height: auto;
    padding-bottom: 40px;
  }
  
  .info-slide.active {
    display: flex;
    opacity: 1;
  }

  .info-image {
    width: 90%;
    height: 300px;
    margin: 0 auto;
    border-radius: 12px;
  }

  .info-card {
    position: relative;
    right: auto;
    width: 85%;
    min-height: auto;
    height: auto;
    margin: -40px auto 0; /* Superposición */
    padding: 30px 20px;
    z-index: 2;
  }
  
  .info-card h3 {
    font-size: 1.6rem;
  }

  /* === MARCAS === */
  .ojos-carrusel-mask {
    height: 140px;
  }
  
  .ojo-marca {
    flex: 0 0 120px;
  }
  
  .ojo-mascara {
    width: 140px;
    height: 100px;
  }

  /* === MODELOS === */
  #modelos {
    flex-direction: column;
    padding: 60px 5%;
    gap: 40px;
  }
  
  .modelo-columna {
    width: 100%;
    height: 400px;
    flex: none;
  }

  /* === OFERTAS BANNER === */
  .banner-ofertas h1 {
    font-size: 2.2rem;
  }
  
  .hero-ofertas {
    padding: 6rem 5% 4rem;
    min-height: auto;
  }
  
  .hero-content h1 {
    font-size: 2.6rem;
  }
  
  .destacadas-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .destacadas-grid .oferta-a .card-media,
  .destacadas-grid .oferta-b .card-media {
    height: 300px;
  }
  
  .info-row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* === CONTACTA === */
  .contact-section {
    flex-direction: column;
    padding: 3rem 5%;
    gap: 2rem;
  }
  
  .contact-form, .contact-image {
    width: 100%;
    min-width: 0;
    flex: none;
  }
  
  .contact-form {
    padding: 2rem 1.5rem;
  }

  /* === FOOTER === */
  .footer {
    padding: 3rem 5% 2rem;
  }
  
  .footer-container {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
  }
  
  .footer-col {
    text-align: center;
  }
  
  .footer-col h4 {
    margin-bottom: 1rem;
  }
}

@media (max-width: 480px) {
  .slogan {
    font-size: 1.8rem;
  }
  
  .cta-frase {
    font-size: 2rem;
  }
  
  .ventana-titulo {
    font-size: 2rem;
  }
  
  .info-card {
    width: 92%;
    padding: 25px 15px;
  }
  
  .logo img {
    height: 50px;
  }
  
  .idioma img {
    width: 32px;
  }
  
  .idioma {
    top: 20px;
    right: 70px;
  }
}
