/* ═══════════════════════════════════════════
   FRIZERTIME SNACKS · Landing Page
   Paleta: Azul hielo · Blanco · Dorado
   ═══════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ice-dark:    #0a1628;
  --ice-mid:     #0d2144;
  --ice-blue:    #1565c0;
  --ice-light:   #42a5f5;
  --ice-pale:    #e3f2fd;
  --ice-white:   #f0f8ff;
  --gold:        #ffd54f;
  --gold-deep:   #f9a825;
  --white:       #ffffff;
  --text-light:  #b3d4f5;
  --text-muted:  #7fa8cc;
  --border-ice:  rgba(66,165,245,0.2);
  --card-bg:     rgba(255,255,255,0.06);
  --radius:      16px;
  --font-display: 'Montserrat', sans-serif;
  --font-body:    'Inter', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--ice-dark);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── NAV ─────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  height: 58px;
  background: rgba(10, 22, 40, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-ice);
}
.nav-logo {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}
.logo-text {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--ice-light);
  letter-spacing: -0.01em;
}
.logo-text strong { color: var(--white); font-weight: 900; }
.logo-tag {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(255,213,79,0.12);
  border: 1px solid rgba(255,213,79,0.3);
  border-radius: 4px;
  padding: 0.1rem 0.4rem;
}
.nav-links { display: flex; gap: 0.25rem; align-items: center; }
.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.35rem 0.65rem;
  border-radius: 8px;
  transition: all 0.2s;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--ice-light);
  background: rgba(66,165,245,0.12);
}
.nav-cta {
  background: var(--ice-blue) !important;
  color: var(--white) !important;
  font-weight: 700 !important;
}
.nav-cta:hover { background: var(--ice-light) !important; }

/* ── HERO ────────────────────────────────── */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 90px 1.5rem 4rem;
  position: relative;
  overflow: hidden;
  background:
    url('assets/fondo-hielo.png') center/cover no-repeat,
    var(--ice-dark);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(10,22,40,0.55) 0%,
    rgba(10,22,40,0.3) 40%,
    rgba(10,22,40,0.75) 100%);
  pointer-events: none;
}
.hero-frost {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 30%, rgba(21,101,192,0.25) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; max-width: 680px; }
.hero-eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(3.2rem, 12vw, 6rem);
  line-height: 0.95;
  color: var(--white);
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
  margin-bottom: 0.5rem;
}
.hero-accent {
  color: var(--ice-light);
  display: block;
}
.hero-sub {
  font-size: 0.95rem;
  color: var(--ice-pale);
  margin-bottom: 2rem;
  text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}
.hero-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.hero-badges {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
}
.badge {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ice-pale);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 20px;
  padding: 0.3rem 0.75rem;
  backdrop-filter: blur(4px);
}
.hero-scroll {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  width: 1px; height: 45px;
  background: linear-gradient(to bottom, var(--ice-light), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

/* ── BUTTONS ─────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--ice-blue);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 1.75rem;
  border-radius: 12px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 20px rgba(21,101,192,0.4);
}
.btn-primary:hover {
  background: var(--ice-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(66,165,245,0.4);
}
.btn-sm { font-size: 0.85rem; padding: 0.6rem 1.25rem; }

.btn-ghost {
  display: inline-block;
  color: var(--ice-pale);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.85rem 1.5rem;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.2);
  text-decoration: none;
  transition: all 0.2s;
  backdrop-filter: blur(4px);
}
.btn-ghost:hover { color: var(--white); border-color: rgba(255,255,255,0.4); }

.btn-whatsapp {
  display: inline-block;
  background: #25d366;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.4rem;
  padding: 1rem 2.5rem;
  border-radius: 16px;
  text-decoration: none;
  box-shadow: 0 6px 28px rgba(37,211,102,0.4);
  transition: all 0.2s;
  margin-bottom: 2rem;
  display: block;
  width: fit-content;
  margin: 0 auto 2rem;
}
.btn-whatsapp:hover { background: #1ebe5c; transform: translateY(-2px); }

/* ── INTRO ───────────────────────────────── */
.intro-section {
  background: var(--ice-mid);
  padding: 4rem 1.5rem;
  text-align: center;
  border-top: 1px solid var(--border-ice);
  border-bottom: 1px solid var(--border-ice);
}
.intro-inner { max-width: 700px; margin: 0 auto; }
.intro-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2rem, 6vw, 3rem);
  color: var(--white);
  margin-bottom: 0.75rem;
}
.intro-desc {
  color: var(--text-light);
  font-size: 1rem;
  margin-bottom: 2rem;
}
.cat-nav {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}
.cat-btn {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--ice-light);
  background: rgba(66,165,245,0.1);
  border: 1px solid var(--border-ice);
  border-radius: 10px;
  padding: 0.6rem 1.2rem;
  text-decoration: none;
  transition: all 0.2s;
}
.cat-btn:hover {
  background: rgba(66,165,245,0.2);
  border-color: var(--ice-light);
  color: var(--white);
}

/* ── CATALOG SECTIONS ────────────────────── */
.catalog-section {
  padding: 5rem 1.5rem;
  position: relative;
  overflow: hidden;
  background: var(--ice-dark);
  opacity: 1;
  transition: opacity 0.6s, transform 0.6s;
}
.catalog-section--alt { background: var(--ice-mid); }

.section-frost {
  position: absolute;
  top: 0; bottom: 0;
  width: 300px;
  pointer-events: none;
}
.section-frost.left {
  left: -100px;
  background: radial-gradient(ellipse 80% 100% at 0% 50%, rgba(66,165,245,0.08) 0%, transparent 70%);
}
.section-frost.right {
  right: -100px;
  background: radial-gradient(ellipse 80% 100% at 100% 50%, rgba(66,165,245,0.08) 0%, transparent 70%);
}

.catalog-inner {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.catalog-header { text-align: center; margin-bottom: 2.5rem; }
.cat-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.5rem;
}
.cat-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.2rem, 6vw, 3.5rem);
  color: var(--white);
  margin-bottom: 0.6rem;
}
.cat-desc { color: var(--text-muted); font-size: 0.95rem; }

.catalog-img-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-ice);
  box-shadow: 0 8px 40px rgba(0,0,0,0.4);
  margin-bottom: 1.5rem;
  transition: transform 0.4s, opacity 0.4s;
}
.catalog-img {
  width: 100%;
  display: block;
  opacity: 1;
  transform: none;
}

.price-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ice-light);
  text-align: center;
  margin-bottom: 1rem;
  padding: 0.4rem;
  border-top: 1px solid var(--border-ice);
  border-bottom: 1px solid var(--border-ice);
}

.cta-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: rgba(66,165,245,0.07);
  border: 1px solid var(--border-ice);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  flex-wrap: wrap;
}
.cta-strip p { font-size: 0.9rem; color: var(--text-light); }
.cta-strip p strong { color: var(--gold); }

/* ── WHY SECTION ─────────────────────────── */
.why-section {
  padding: 5rem 1.5rem;
  background: linear-gradient(135deg, var(--ice-mid) 0%, var(--ice-dark) 100%);
  border-top: 1px solid var(--border-ice);
}
.why-inner { max-width: 900px; margin: 0 auto; text-align: center; }
.why-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2rem, 5vw, 2.8rem);
  color: var(--white);
  margin-bottom: 3rem;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1.25rem;
}
.why-card {
  background: var(--card-bg);
  border: 1px solid var(--border-ice);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform 0.3s, border-color 0.3s;
  opacity: 1;
}
.why-card:hover { transform: translateY(-4px); border-color: var(--ice-light); }
.why-icon { font-size: 2.2rem; margin-bottom: 0.75rem; }
.why-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--ice-light);
  margin-bottom: 0.5rem;
}
.why-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; }

/* ── CONTACT SECTION ─────────────────────── */
.contact-section {
  padding: 5rem 1.5rem;
  position: relative;
  overflow: hidden;
  background:
    url('assets/fondo-hielo.png') center/cover no-repeat,
    var(--ice-mid);
  text-align: center;
}
.contact-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10,22,40,0.80);
}
.contact-frost {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(21,101,192,0.2) 0%, transparent 70%);
  pointer-events: none;
}
.contact-inner {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
}
.contact-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.2rem, 6vw, 3.5rem);
  color: var(--white);
  margin-bottom: 0.75rem;
}
.contact-sub {
  color: var(--ice-pale);
  font-size: 1rem;
  margin-bottom: 2rem;
}
.contact-info {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}
.map-wrap iframe {
  width: 100%;
  height: 240px;
  border: none;
  border-radius: var(--radius);
  border: 1px solid var(--border-ice);
}

/* ── FOOTER ──────────────────────────────── */
.footer {
  background: #050c1a;
  border-top: 1px solid var(--border-ice);
  text-align: center;
  padding: 3rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--ice-light);
}
.footer-logo strong { color: var(--white); font-weight: 900; }
.footer-logo span {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-left: 0.5rem;
  text-transform: uppercase;
}
.footer-slogan {
  font-style: italic;
  color: var(--gold);
  font-size: 0.95rem;
}
.footer-cats { font-size: 0.8rem; color: var(--text-muted); letter-spacing: 0.05em; }
.footer-copy { font-size: 0.72rem; color: #2a3d5c; margin-top: 1rem; }

/* ── AVISO BANNER ────────────────────────── */
.aviso-banner {
  background: linear-gradient(135deg, #1a3a6b, #0d2144);
  border-top: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  padding: 1.25rem 1.5rem;
  text-align: center;
}
.aviso-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  max-width: 800px;
  margin: 0 auto;
}
.aviso-inner p {
  font-size: 0.95rem;
  color: var(--ice-pale);
}
.aviso-inner p strong { color: var(--gold); }
.aviso-sep {
  color: var(--gold);
  font-size: 1.5rem;
  font-weight: 900;
}
@media (max-width: 640px) {
  .aviso-sep { display: none; }
  .aviso-inner { flex-direction: column; gap: 0.5rem; }
}

/* ── RESPONSIVE ──────────────────────────── */
@media (max-width: 640px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .cta-strip { flex-direction: column; text-align: center; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .btn-whatsapp { font-size: 1.1rem; padding: 0.85rem 1.5rem; }
}

@media (max-width: 420px) {
  .why-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-scroll, .catalog-img, .why-card { animation: none; transition: none; }
}
