/* ============================================
   VICZAR REFRIGERACIÓN — Estilos principales
   ============================================ */

/* --- Variables --- */
:root {
  --azul-oscuro: #0a1628;
  --azul-medio: #0d2244;
  --azul-acento: #1a4b8c;
  --cyan: #00c8d4;
  --cyan-suave: #00e5f0;
  --blanco: #ffffff;
  --gris-claro: #f4f6fa;
  --gris-texto: #6b7a94;
  --texto: #1a2540;
  --borde: #e1e8f0;
  --verde-eco: #1db954;

  --font-display: 'Barlow Condensed', sans-serif;
  --font-body: 'Inter', sans-serif;

  --radio: 12px;
  --radio-grande: 20px;
  --sombra: 0 4px 24px rgba(10,22,40,0.10);
  --sombra-hover: 0 8px 40px rgba(10,22,40,0.18);
}

/* --- Reset base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--texto);
  background: var(--blanco);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* --- Contenedor --- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: background 0.3s, box-shadow 0.3s;
  background: linear-gradient(90deg, #ffffff 0%, #e8f4f8 35%, #0a1628 100%);
}
.navbar.scrolled {
  background: linear-gradient(90deg, #ffffff 0%, #e8f4f8 35%, #0a1628 100%);
  box-shadow: 0 2px 20px rgba(0,0,0,0.15);
  backdrop-filter: blur(10px);
}
.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: var(--blanco);
  display: flex;
  align-items: baseline;
  gap: 2px;
}
.logo-v { color: var(--cyan); }
.logo small {
  display: block;
  font-size: 0.5rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.5);
  line-height: 1;
  margin-left: 4px;
  align-self: center;
}

/* Logo como imagen */
.logo-img {
  width: 190px;
  height: auto;
  max-height: 56px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  color: var(--azul-oscuro);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--azul-acento); }
.nav-cta {
  background: var(--cyan) !important;
  color: var(--azul-oscuro) !important;
  padding: 8px 20px;
  border-radius: 6px;
  font-weight: 600 !important;
}
.nav-cta:hover { background: var(--cyan-suave) !important; }

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--azul-oscuro);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 100vh;
  background: var(--azul-oscuro);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 100px 24px 60px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.frost-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(0,200,212,0.12) 0%, transparent 60%),
              radial-gradient(ellipse at 20% 80%, rgba(26,75,140,0.3) 0%, transparent 50%);
}
.cold-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(0,200,212,0.03) 1px, transparent 1px),
    linear-gradient(rgba(0,200,212,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 580px;
  flex: 1;
}
.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--cyan);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 1;
  color: var(--blanco);
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}
.hero-title .accent { color: var(--cyan); }
.hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 36px;
  max-width: 460px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--cyan);
  color: var(--azul-oscuro);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 14px 28px;
  border-radius: 8px;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  border: none;
  cursor: pointer;
  letter-spacing: 0.02em;
}
.btn-primary:hover {
  background: var(--cyan-suave);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,200,212,0.35);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid rgba(255,255,255,0.3);
  color: var(--blanco);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 12px 26px;
  border-radius: 8px;
  transition: border-color 0.2s, background 0.2s;
}
.btn-secondary:hover {
  border-color: var(--cyan);
  background: rgba(0,200,212,0.1);
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--cyan);
  line-height: 1;
}
.stat-label {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.stat-div {
  width: 1px;
  height: 32px;
  background: rgba(255,255,255,0.15);
}

/* Hero visual — cámara de frío ilustrada */
.hero-visual {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 40px;
}
.cold-chamber {
  position: relative;
  width: 220px;
  height: 280px;
}
.chamber-door {
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, #1e3a5f, #0d2244);
  border-radius: 8px 8px 4px 4px;
  border: 3px solid rgba(0,200,212,0.3);
  box-shadow:
    0 0 40px rgba(0,200,212,0.15),
    inset 0 0 30px rgba(0,0,0,0.3);
  position: relative;
  overflow: hidden;
}
.chamber-door::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 20px,
    rgba(0,200,212,0.05) 20px,
    rgba(0,200,212,0.05) 21px
  );
}
.door-frame {
  position: absolute;
  inset: 12px;
  border: 2px solid rgba(0,200,212,0.2);
  border-radius: 4px;
}
.door-handle {
  position: absolute;
  right: -18px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 60px;
  background: linear-gradient(180deg, #4a9eba, #2a6e8a);
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.door-window {
  position: absolute;
  top: 20px; left: 20px; right: 20px;
  height: 80px;
  border: 2px solid rgba(0,200,212,0.3);
  border-radius: 4px;
  overflow: hidden;
}
.frost-effect {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0,200,212,0.2), rgba(255,255,255,0.05));
  animation: pulse-frost 3s ease-in-out infinite;
}
@keyframes pulse-frost {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}
.temp-badge {
  position: absolute;
  bottom: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--cyan);
  color: var(--azul-oscuro);
  padding: 8px 20px;
  border-radius: 20px;
  display: flex;
  align-items: baseline;
  gap: 6px;
  box-shadow: 0 4px 16px rgba(0,200,212,0.4);
  z-index: 4;
  transition: opacity 0.3s 0.1s, transform 0.3s 0.1s;
}
.cold-chamber.abierta .temp-badge {
  opacity: 0;
  transform: translateX(-50%) translateY(6px);
  pointer-events: none;
}
 
.temp-num {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 900;
}
.temp-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.4);
  animation: bounce 2s ease-in-out infinite;
  z-index: 2;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ============================================
   SECCIONES GENERALES
   ============================================ */
.section { padding: 96px 0; }
.section-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 16px;
}
.section-label.light { color: rgba(255,255,255,0.6); }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--texto);
  margin-bottom: 48px;
  line-height: 1.15;
}

/* ============================================
   NOSOTROS
   ============================================ */
.nosotros { background: var(--gris-claro); }
.nosotros-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.nosotros-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--texto);
}
.nosotros-text p {
  color: var(--gris-texto);
  margin-bottom: 16px;
  line-height: 1.75;
}
.nosotros-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 28px;
}
.point {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--texto);
}
.point-icon {
  width: 22px;
  height: 22px;
  background: rgba(0,200,212,0.12);
  color: var(--cyan);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}
.nosotros-image {
  position: relative;
}
.img-placeholder {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #dce8f5, #c5d8ee);
  border-radius: var(--radio-grande);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--azul-acento);
  opacity: 0.7;
  border: 2px dashed rgba(26,75,140,0.2);
}
.img-placeholder p {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--azul-acento);
}
.location-tag {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: var(--blanco);
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--texto);
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: var(--sombra);
  fill: var(--cyan);
}
.location-tag svg { color: var(--cyan); flex-shrink: 0; }

/* ============================================
   SERVICIOS
   ============================================ */
.servicios { background: var(--blanco); }
.servicios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.servicio-card {
  background: var(--gris-claro);
  border-radius: var(--radio);
  padding: 32px 28px;
  border: 1.5px solid var(--borde);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.servicio-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sombra-hover);
  border-color: var(--cyan);
}
.servicio-card.featured {
  background: var(--azul-oscuro);
  border-color: rgba(0,200,212,0.3);
  color: var(--blanco);
  grid-column: span 1;
}
.servicio-card.featured h3,
.servicio-card.featured p { color: rgba(255,255,255,0.9); }
.servicio-card.featured .servicio-icon { color: var(--cyan); }
.servicio-icon {
  width: 56px;
  height: 56px;
  background: rgba(0,200,212,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--azul-acento);
  margin-bottom: 20px;
}
.servicio-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--texto);
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}
.servicio-card p {
  font-size: 0.875rem;
  color: var(--gris-texto);
  line-height: 1.65;
}

/* ============================================
   ECOLOGÍA
   ============================================ */
.ecologia {
  background: linear-gradient(135deg, var(--azul-oscuro) 0%, #0d2244 100%);
  color: var(--blanco);
}
.ecologia-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 64px;
  align-items: center;
}
.eco-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.eco-circle {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 2px solid rgba(0,200,212,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,200,212,0.08);
  color: var(--cyan);
  position: relative;
}
.eco-circle::before {
  content: '';
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 1px solid rgba(0,200,212,0.15);
}
.eco-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: var(--blanco);
  margin-bottom: 16px;
  line-height: 1.2;
}
.eco-text p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 14px;
  line-height: 1.75;
}
.eco-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.eco-tags span {
  background: rgba(0,200,212,0.15);
  border: 1px solid rgba(0,200,212,0.3);
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  letter-spacing: 0.04em;
}

/* ============================================
   MISIÓN / VISIÓN
   ============================================ */
.mision { background: var(--gris-claro); }
.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.mv-card {
  padding: 40px 36px;
  border-radius: var(--radio-grande);
  position: relative;
  overflow: hidden;
}
.mision-card {
  background: var(--azul-oscuro);
  color: var(--blanco);
}
.vision-card {
  background: var(--blanco);
  border: 1.5px solid var(--borde);
  color: var(--texto);
}
.mv-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 16px;
}
.mision-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--blanco);
  margin-bottom: 16px;
  line-height: 1.3;
}
.vision-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--texto);
  margin-bottom: 16px;
  line-height: 1.3;
}
.mision-card p { color: rgba(255,255,255,0.75); line-height: 1.75; }
.vision-card p { color: var(--gris-texto); line-height: 1.75; }

/* ============================================
   TESTIMONIOS
   ============================================ */
.testimonios { background: var(--blanco); }
.testimonios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonio {
  background: var(--gris-claro);
  border-radius: var(--radio);
  padding: 32px 28px;
  border: 1.5px solid var(--borde);
  transition: box-shadow 0.25s;
}
.testimonio:hover { box-shadow: var(--sombra); }
.stars {
  color: #f5a623;
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.testimonio p {
  font-size: 0.9rem;
  color: var(--gris-texto);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 20px;
}
.testimonio-autor {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--texto);
  letter-spacing: 0.04em;
}

/* ============================================
   CONTACTO
   ============================================ */
.contacto {
  background: var(--azul-oscuro);
  color: var(--blanco);
}
.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contacto-info h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--blanco);
  margin-bottom: 16px;
  line-height: 1.2;
}
.contacto-info > p {
  color: rgba(255,255,255,0.65);
  margin-bottom: 36px;
  line-height: 1.75;
}
.info-items { display: flex; flex-direction: column; gap: 24px; margin-bottom: 36px; }
.info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.info-item svg { color: var(--cyan); flex-shrink: 0; margin-top: 2px; }
.info-item > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.info-item strong {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 2px;
}
.info-item a, .info-item span {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
  transition: color 0.2s;
}
.info-item a:hover { color: var(--cyan); }
.wa-btn { background: #25d366 !important; }
.wa-btn:hover { background: #1ebe59 !important; box-shadow: 0 8px 24px rgba(37,211,102,0.35) !important; }

/* Formulario */
.contacto-form {
  background: var(--blanco);
  border-radius: var(--radio-grande);
  padding: 40px 36px;
}
.contacto-form h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--texto);
  margin-bottom: 24px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}
.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--texto);
  letter-spacing: 0.04em;
}
.form-group input,
.form-group textarea {
  border: 1.5px solid var(--borde);
  border-radius: 8px;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--texto);
  background: var(--gris-claro);
  transition: border-color 0.2s;
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--cyan);
  background: var(--blanco);
}
.full-btn { width: 100%; justify-content: center; margin-top: 4px; }
.form-note {
  font-size: 0.78rem;
  color: var(--gris-texto);
  text-align: center;
  margin-top: 14px;
}
.form-note a { color: var(--azul-acento); }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: #c0e8f5; /* linear-gradient(90deg, #ffffff 0%, #e8f4f8 35%, #0a1628 100%); */
  color: rgba(255,255,255,0.7);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
/* .footer-brand .logo { margin-bottom: 12px; } */
/* .footer-brand p { font-size: 0.85rem; line-height: 1.7; color: rgba(255,255,255,0.5); max-width: 280px; } */
/* .footer-nav, .footer-contact, .footer-redes { */
  /* display: flex; */
  /* flex-direction: column; */
  /* gap: 10px; */
/* } */
/* .footer-nav strong, .footer-contact strong, .footer-redes strong { */
  /* font-size: 0.72rem; */
  /* font-weight: 700; */
  /* letter-spacing: 0.15em; */
  /* text-transform: uppercase; */
  /* color: rgba(255,255,255,0.9); */
  /* margin-bottom: 4px; */
/* } */
/* .footer-nav a, .footer-contact a, .footer-contact span, */
/* .footer-redes a { */
  /* font-size: 0.85rem; */
  /* color: rgba(255,255,255,0.55); */
  /* transition: color 0.2s; */
/* } */
/* .footer-nav a:hover, .footer-contact a:hover, .footer-redes a:hover { */
  /* color: var(--cyan); */
/* } */
/* .footer-bottom { */
  /* display: flex; */
  /* justify-content: space-between; */
  /* align-items: center; */
  /* padding: 20px 0; */
  /* font-size: 0.78rem; */
  /* color: rgba(255,255,255,0.3); */
  /* flex-wrap: wrap; */
  /* gap: 12px; */
/* } */
/* .footer-bottom a { color: rgba(255,255,255,0.4); transition: color 0.2s; } */
/* .footer-bottom a:hover { color: var(--cyan); } */

.footer-brand .logo { margin-bottom: 12px; }
.footer-brand p { font-size: 0.85rem; line-height: 1.7; color: #171515; max-width: 280px; }
.footer-nav, .footer-contact, .footer-redes {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav strong, .footer-contact strong, .footer-redes strong {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #171515;
  margin-bottom: 4px;
}
.footer-nav a, .footer-contact a, .footer-contact span,
.footer-redes a {
  font-size: 0.85rem;
  color: #171515;
  transition: color 0.2s;
}
.footer-nav a:hover, .footer-contact a:hover, .footer-redes a:hover {
  color: var(--cyan);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  font-size: 0.78rem;
  color: #171515;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom a { color: #171515; transition: color 0.2s; }
.footer-bottom a:hover { color: var(--cyan); }



/* WhatsApp flotante */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  background: #25d366;
  color: var(--blanco);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  z-index: 99;
  transition: transform 0.25s, box-shadow 0.25s;
}
.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,0.55);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .servicios-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  /* Nav */
  .burger { display: flex; }
  .logo-img { width: 150px; }
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--azul-oscuro);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 32px 32px;
    gap: 28px;
    transition: right 0.35s cubic-bezier(0.4,0,0.2,1);
    box-shadow: -4px 0 20px rgba(0,0,0,0.3);
  }
  .nav-links.open { right: 0; }
  .nav-links a { font-size: 1.1rem; color: rgba(255,255,255,0.85); }
  .nav-cta { padding: 10px 24px !important; }

  /* Hero */
  .hero { flex-direction: column; padding: 100px 24px 80px; gap: 48px; text-align: center; }
  .hero-content { max-width: 100%; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { display: none; }

  /* Secciones */
  .section { padding: 64px 0; }
  .nosotros-grid { grid-template-columns: 1fr; gap: 40px; }
  .nosotros-image { display: none; }
  .servicios-grid { grid-template-columns: 1fr; }
  .ecologia-inner { grid-template-columns: 1fr; gap: 32px; }
  .eco-visual { display: none; }
  .mv-grid { grid-template-columns: 1fr; gap: 20px; }
  .testimonios-grid { grid-template-columns: 1fr; }
  .contacto-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.8rem; }
  .nosotros-points { grid-template-columns: 1fr; }
  .contacto-form { padding: 28px 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* --- Carrusel --- */
.carrusel {
  position: relative;
  border-radius: var(--radio-grande);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #0d2244;
}
.carrusel-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}
.carrusel-track img {
  min-width: 100%;
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
}
.car-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(10,22,40,0.6);
  border: none;
  color: white;
  font-size: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 2;
}
.car-btn:hover { background: rgba(0,200,212,0.8); }
.car-prev { left: 12px; }
.car-next { right: 12px; }
.car-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
}
.car-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  border: none;
}
.car-dot.activo {
  background: var(--cyan);
  transform: scale(1.3);
}

/* ============================================
   HELADERA INTERACTIVA
   ============================================ */

/* La heladera completa ahora es clickeable */
.cold-chamber {
  cursor: pointer;
  position: relative;
}

/* Interior oculto por defecto — se ve cuando la puerta abre */
.chamber-interior {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #0a1e3a 0%, #0a3a5c 55%, #062030 100%);
  border-radius: 8px 8px 4px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  overflow: hidden;
  z-index: 0;
}
/* Escarcha en paredes laterales */
.chamber-interior::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 30px 80px at 0% 50%, rgba(180,220,255,0.18) 0%, transparent 100%),
    radial-gradient(ellipse 30px 80px at 100% 50%, rgba(180,220,255,0.18) 0%, transparent 100%),
    radial-gradient(ellipse 100px 20px at 50% 0%, rgba(180,220,255,0.22) 0%, transparent 100%),
    radial-gradient(ellipse 100px 20px at 50% 100%, rgba(180,220,255,0.15) 0%, transparent 100%);
  pointer-events: none;
}
/* Brillo de luz fría central */
.chamber-interior::after {
  content: '';
  position: absolute;
  top: 0; left: 20%; right: 20%;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(0,220,255,0.6), transparent);
  border-radius: 0 0 50% 50%;
  box-shadow: 0 0 20px 6px rgba(0,200,212,0.25);
}

/* Puerta: encima del interior, gira hacia la izquierda al abrir */
.chamber-door {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, #1e3a5f, #0d2244);
  border-radius: 8px 8px 4px 4px;
  border: 3px solid rgba(0,200,212,0.3);
  box-shadow: 0 0 40px rgba(0,200,212,0.15), inset 0 0 30px rgba(0,0,0,0.3);
  transform-origin: left center;
  transform: rotateY(0deg);
  transition: transform 0.6s cubic-bezier(0.4,0,0.2,1),
              box-shadow 0.4s ease;
  z-index: 2;
  overflow: hidden;
  backface-visibility: hidden;
}
.chamber-door::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg, transparent, transparent 20px,
    rgba(0,200,212,0.05) 20px, rgba(0,200,212,0.05) 21px
  );
}

/* Estado abierto */
/* .cold-chamber.abierta .chamber-door { */
  /* transform: perspective(500px) rotateY(-110deg); */
  /* box-shadow: -12px 0 40px rgba(0,0,0,0.6); */
/* } */

.cold-chamber.abierta .chamber-door {
  transform: translateX(-88%);
  box-shadow: 4px 0 20px rgba(0,0,0,0.5);
}

/* Hint "Abrir" sobre la puerta */
.door-hint {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: opacity 0.3s;
}
.cold-chamber.abierta .door-hint { opacity: 0; }

/* ---- Interior: escarcha flotante ---- */
.frost-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.frost-p {
  position: absolute;
  color: rgba(180,220,255,0.6);
  font-size: 0.9rem;
  animation: floatFrost 4s ease-in-out infinite;
  opacity: 0;
}
.cold-chamber.abierta .frost-p { opacity: 1; }

/* Posiciones de los copos — 16 en total */
.frost-p:nth-child(1)  { top:5%;  left:8%;  font-size:1.2rem; animation-delay:0.0s; animation-duration:3.8s; }
.frost-p:nth-child(2)  { top:10%; right:8%; font-size:0.75rem;animation-delay:0.5s; animation-duration:4.2s; }
.frost-p:nth-child(3)  { top:50%; left:5%;  font-size:0.9rem; animation-delay:1.0s; animation-duration:3.5s; }
.frost-p:nth-child(4)  { top:65%; right:6%; font-size:1.1rem; animation-delay:0.3s; animation-duration:4.5s; }
.frost-p:nth-child(5)  { top:25%; left:12%; font-size:0.65rem;animation-delay:0.8s; animation-duration:3.9s; }
.frost-p:nth-child(6)  { top:80%; left:10%; font-size:0.8rem; animation-delay:1.3s; animation-duration:4.1s; }
.frost-p:nth-child(7)  { top:38%; right:5%; font-size:1.0rem; animation-delay:0.6s; animation-duration:3.7s; }
.frost-p:nth-child(8)  { top:88%; right:14%;font-size:0.65rem;animation-delay:1.1s; animation-duration:4.3s; }
.frost-p:nth-child(9)  { top:18%; left:30%; font-size:0.7rem; animation-delay:0.4s; animation-duration:4.0s; }
.frost-p:nth-child(10) { top:72%; left:35%; font-size:0.6rem; animation-delay:1.5s; animation-duration:3.6s; }
.frost-p:nth-child(11) { top:3%;  right:28%;font-size:0.85rem;animation-delay:0.9s; animation-duration:4.4s; }
.frost-p:nth-child(12) { top:92%; left:45%; font-size:0.7rem; animation-delay:0.2s; animation-duration:3.9s; }
.frost-p:nth-child(13) { top:44%; left:28%; font-size:0.55rem;animation-delay:1.6s; animation-duration:4.2s; }
.frost-p:nth-child(14) { top:58%; right:28%;font-size:0.75rem;animation-delay:0.7s; animation-duration:3.8s; }
.frost-p:nth-child(15) { top:32%; right:20%;font-size:0.9rem; animation-delay:1.2s; animation-duration:4.6s; }
.frost-p:nth-child(16) { top:85%; right:35%;font-size:0.6rem; animation-delay:0.1s; animation-duration:3.4s; }

@keyframes floatFrost {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33%       { transform: translateY(-6px) rotate(15deg); }
  66%       { transform: translateY(3px) rotate(-10deg); }
}

/* ---- Logo de Instagram ---- */
.insta-link {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  z-index: 2;
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.4s 0.35s ease, transform 0.4s 0.35s cubic-bezier(0.34,1.56,0.64,1);
}
.cold-chamber.abierta .insta-link {
  opacity: 1;
  transform: scale(1);
}
.insta-link:hover .insta-icon {
  transform: scale(1.1);
  filter: drop-shadow(0 0 12px rgba(220,39,67,0.6));
}
.insta-icon {
  width: 72px;
  height: 72px;
  transition: transform 0.2s, filter 0.2s;
  filter: drop-shadow(0 0 8px rgba(220,39,67,0.35));
}
.insta-label {
  font-size: 0.62rem;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-align: center;
}

/* Anillo de escarcha alrededor del logo */
.insta-frost-ring {
  position: absolute;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 2px solid rgba(180,220,255,0.4);
  box-shadow:
    0 0 12px rgba(180,220,255,0.25),
    inset 0 0 12px rgba(180,220,255,0.1);
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  animation: pulseRing 2.5s ease-in-out infinite;
}
@keyframes pulseRing {
  0%, 100% { box-shadow: 0 0 12px rgba(180,220,255,0.25), inset 0 0 12px rgba(180,220,255,0.1); }
  50%       { box-shadow: 0 0 24px rgba(180,220,255,0.5), inset 0 0 20px rgba(180,220,255,0.2); }
}

/* Vapor de frio que sale cuando se abre */
.chamber-vapor {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 0;
  overflow: visible;
  pointer-events: none;
  z-index: 10;
}
