/* ===========================================================
   Pack Web Zorzal — style.css
   Paleta de marca:
     --bg        #033b02  fondo
     --principal #93a603  títulos / marca
     --secundario#f088f2  CTA / acentos
     --texto     #a67721  cuerpo de texto
   Tipografía: Raleway (única familia, distintos pesos)
=========================================================== */

:root{
  --bg: #033b02;
  --bg-alt: #063f07;
  --bg-deep: #012501;
  --principal: #93a603;
  --principal-soft: #b9cf3a;
  --secundario: #f088f2;
  --secundario-deep: #d769d1;
  --texto: #c99b4e;      /* variante clara de #a67721 para cuerpo sobre fondo oscuro */
  --texto-muted: #8a8060;
  --linea: rgba(147,166,3,0.25);
  --card-bg: rgba(147,166,3,0.06);
  --card-border: rgba(147,166,3,0.22);
  --radius: 18px;
  --font: 'Raleway', sans-serif;
  --container-pad: clamp(1.25rem, 4vw, 3rem);
}

*{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

body{
  background: var(--bg);
  color: var(--texto);
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *{ animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

::selection{ background: var(--secundario); color: var(--bg-deep); }

a{ color: var(--secundario); text-decoration: none; transition: color .2s ease; }
a:hover{ color: var(--secundario-deep); }

h1,h2,h3,h4{
  font-family: var(--font);
  color: var(--principal);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0;
}

.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--secundario);
  margin-bottom: 1rem;
}
.eyebrow::before{
  content: "";
  width: 22px; height: 2px;
  background: var(--secundario);
  display: inline-block;
}

.section-title{
  font-size: clamp(1.9rem, 3.4vw, 2.75rem);
  margin-bottom: 1.1rem;
}

.section{
  padding: clamp(4rem, 8vw, 7rem) 0;
  position: relative;
}

.section-alt{ background: var(--bg-alt); }

.container-narrow{ max-width: 760px; }

.btn-cta{
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  background: var(--secundario);
  color: var(--bg-deep) !important;
  border: none;
  padding: .85rem 1.9rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .01em;
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
  box-shadow: 0 10px 30px -12px rgba(240,136,242,0.55);
}
.btn-cta:hover{
  background: var(--secundario-deep);
  color: var(--bg-deep) !important;
  transform: translateY(-3px);
  box-shadow: 0 16px 34px -12px rgba(240,136,242,0.7);
}

.btn-outline-zorzal{
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  background: transparent;
  color: var(--principal-soft) !important;
  border: 1.5px solid var(--linea);
  padding: .8rem 1.7rem;
  border-radius: 999px;
  font-weight: 600;
  transition: all .25s ease;
}
.btn-outline-zorzal:hover{
  border-color: var(--principal);
  background: rgba(147,166,3,0.08);
  color: var(--principal-soft) !important;
}

/* ---------- NAVBAR ---------- */
.navbar{
  padding: 1.1rem 0;
  transition: background .3s ease, padding .3s ease, box-shadow .3s ease;
  background: linear-gradient(to bottom, rgba(3,59,2,0.92), rgba(3,59,2,0));
}
.navbar.is-scrolled{
  padding: .65rem 0;
  background: rgba(3,42,2,0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px -18px rgba(0,0,0,0.6);
}
.navbar-brand{
  display: flex;
  align-items: center;
  gap: .65rem;
}
.brand-mark{
  width: 34px;
  height: 34px;
  color: var(--principal);
  flex-shrink: 0;
}
.brand-mark svg{ width: 100%; height: 100%; display:block; }
.brand-text{
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--principal);
  letter-spacing: -0.01em;
}
.navbar-nav .nav-link{
  color: var(--texto) !important;
  font-weight: 600;
  font-size: .93rem;
  margin: 0 .65rem;
  position: relative;
}
.navbar-nav .nav-link::after{
  content:"";
  position:absolute; left:0; bottom:-4px;
  width:0; height:2px;
  background: var(--secundario);
  transition: width .25s ease;
}
.navbar-nav .nav-link:hover{ color: var(--principal-soft) !important; }
.navbar-nav .nav-link:hover::after{ width: 100%; }
.navbar-toggler{ border-color: var(--linea); }
.navbar-toggler:focus{ box-shadow: 0 0 0 .2rem rgba(147,166,3,.35); }
.nav-cta{ margin-left: .5rem; }

/* ---------- HERO ---------- */
.hero{
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  background-image: url('../img/imagen-seccion-0.webp');
  background-size: cover;
  background-position: center 35%;
}
.hero::before{
  content:"";
  position:absolute; inset:0;
  background:
    linear-gradient(180deg, rgba(1,37,1,.55) 0%, rgba(3,59,2,.55) 45%, rgba(3,59,2,.97) 96%),
    linear-gradient(90deg, rgba(3,59,2,.55) 0%, rgba(3,59,2,.05) 55%);
}
.hero-inner{
  position: relative;
  z-index: 2;
  padding: 8rem 0 5rem;
  width: 100%;
}
.hero-eyebrow{
  color: var(--secundario);
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: .8rem;
  margin-bottom: 1.2rem;
  display:block;
}
.hero-title{
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  color: #eef2d8;
  max-width: 15ch;
  line-height: 1.08;
  font-weight: 800;
  text-shadow: 0 2px 24px rgba(0,0,0,.35);
}
.hero-title em{
  font-style: normal;
  color: var(--principal-soft);
}
.hero-subtitle{
  color: #e4d9c2;
  font-size: 1.1rem;
  max-width: 46ch;
  margin: 1.5rem 0 2.2rem;
}
.hero-cta-row{ display:flex; gap: 1rem; flex-wrap: wrap; }

.hero-wave{
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  z-index: 3;
  color: var(--bg);
  line-height: 0;
}
.hero-wave svg{ width: 100%; height: auto; display:block; }

/* signature wavy divider used between sections (vuelo del zorzal / túnel de la lombriz) */
.wave-divider{
  width: 100%;
  line-height: 0;
  color: var(--secundario);
  opacity: .55;
}
.wave-divider svg{ width: 100%; height: 46px; display:block; }
.wave-divider path{
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
}
.wave-divider.is-drawn path{ stroke-dashoffset: 0; transition: stroke-dashoffset 1.6s ease; }

/* ---------- SOBRE NOSOTROS ---------- */
.about-media{
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.6);
}
.about-media img{ width:100%; height:100%; object-fit: cover; display:block; }
.about-media::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(180deg, transparent 60%, rgba(1,37,1,.75) 100%);
}
.offer-list{ list-style:none; padding:0; margin: 1.75rem 0 0; }
.offer-list li{
  display:flex; align-items:flex-start; gap: .85rem;
  padding: .65rem 0;
  border-top: 1px solid var(--linea);
  color: var(--texto);
}
.offer-list li:first-child{ border-top: none; }
.offer-list i{
  color: var(--secundario);
  margin-top: .3rem;
  font-size: 1rem;
  width: 1.2rem;
}
.offer-list strong{ color: #ded6bd; font-weight: 700; }

/* ---------- PROPUESTA DE VALOR ---------- */
.value-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-top: 2.5rem;
}
@media (max-width: 767px){ .value-grid{ grid-template-columns: 1fr; } }
.value-card{
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 1.9rem 1.6rem;
}
.value-card i{
  font-size: 1.5rem;
  color: var(--secundario);
  margin-bottom: 1rem;
  display:block;
}
.value-card h4{ font-size: 1.05rem; color: #ded6bd; margin-bottom:.4rem; }
.value-card p{ margin:0; font-size: .92rem; color: var(--texto); }

/* ---------- DIFERENCIADORES ---------- */
.diff-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-top: 2.5rem;
}
@media (max-width: 991px){ .diff-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px){ .diff-grid{ grid-template-columns: 1fr; } }
.diff-card{
  text-align:center;
  padding: 2rem 1.3rem;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(147,166,3,.07), transparent);
  border: 1px solid var(--card-border);
  transition: transform .3s ease, border-color .3s ease;
}
.diff-card:hover{ transform: translateY(-6px); border-color: var(--principal); }
.diff-icon{
  width: 56px; height:56px;
  margin: 0 auto 1.1rem;
  border-radius: 50%;
  display:flex; align-items:center; justify-content:center;
  background: rgba(240,136,242,0.12);
  color: var(--secundario);
  font-size: 1.35rem;
}
.diff-card h4{ font-size: 1.05rem; color: #ded6bd; margin-bottom: .5rem; }
.diff-card p{ font-size: .9rem; margin:0; color: var(--texto); }

/* ---------- PRODUCTO ESTRELLA ---------- */
.product-panel{
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 26px;
  overflow: hidden;
}
.product-media{ position:relative; min-height: 320px; }
.product-media img{ width:100%; height:100%; object-fit:cover; display:block; min-height: 320px; }
.product-tag{
  position:absolute; top: 1.2rem; left: 1.2rem;
  background: var(--secundario);
  color: var(--bg-deep);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .04em;
  padding: .4rem .9rem;
  border-radius: 999px;
}
.product-body{ padding: clamp(1.8rem, 4vw, 3rem); }
.product-price{
  font-size: 1rem;
  color: var(--principal-soft);
  font-weight: 700;
  margin: 1.4rem 0 1.6rem;
  display:flex; align-items:center; gap:.5rem;
}
.product-price span{
  font-size: .8rem;
  font-weight: 600;
  color: var(--texto-muted);
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* ---------- PARALLAX BAND ---------- */
.parallax-band{
  position: relative;
  min-height: 46vh;
  background-image: url('../img/imagen-seccion-3.webp');
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  display:flex; align-items:center; justify-content:center;
  text-align:center;
}
@media (max-width: 767px){ .parallax-band{ background-attachment: scroll; } }
.parallax-band::before{
  content:"";
  position:absolute; inset:0;
  background: rgba(1,37,1,.62);
}
.parallax-quote{
  position:relative; z-index:2;
  max-width: 720px;
  padding: 0 1.5rem;
  font-size: clamp(1.25rem, 3vw, 2rem);
  font-weight: 700;
  color: #eef2d8;
  font-style: normal;
  line-height: 1.4;
}
.parallax-quote::before{ content:"“"; color: var(--secundario); }
.parallax-quote::after{ content:"”"; color: var(--secundario); }

/* ---------- CONTACTO ---------- */
.contact-card{
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: clamp(1.8rem, 4vw, 2.6rem);
  height: 100%;
}
.contact-item{
  display:flex; gap: 1rem; align-items:flex-start;
  padding: 1rem 0;
  border-top: 1px solid var(--linea);
}
.contact-item:first-child{ border-top:none; padding-top:0; }
.contact-item i{
  width: 42px; height:42px; flex-shrink:0;
  border-radius: 50%;
  background: rgba(240,136,242,0.12);
  color: var(--secundario);
  display:flex; align-items:center; justify-content:center;
}
.contact-item h5{ font-size: .95rem; color:#ded6bd; margin:0 0 .2rem; font-weight:700; }
.contact-item a, .contact-item p{ color: var(--texto); margin:0; font-size: .93rem; }
.map-frame{
  border-radius: var(--radius);
  overflow:hidden;
  border: 1px solid var(--card-border);
  height: 100%;
  min-height: 320px;
}
.map-frame iframe{ width:100%; height:100%; min-height:320px; border:0; filter: grayscale(.2) invert(.92) contrast(.9); }

/* ---------- FOOTER ---------- */
.site-footer{
  background: var(--bg-deep);
  padding: 3.5rem 0 1.5rem;
  border-top: 1px solid var(--linea);
}
.footer-brand{ display:flex; align-items:center; gap:.7rem; margin-bottom: 1rem; }
.footer-brand .brand-mark{ color: var(--principal); }
.footer-brand .brand-text{ color: var(--principal); }
.footer-desc{ color: var(--texto-muted); font-size: .9rem; max-width: 32ch; }
.footer-title{
  color:#ded6bd; font-size:.85rem; font-weight:700;
  text-transform:uppercase; letter-spacing:.1em; margin-bottom:1rem;
}
.footer-links{ list-style:none; padding:0; margin:0; }
.footer-links li{ margin-bottom:.6rem; }
.footer-links a{ color: var(--texto-muted); font-size:.92rem; }
.footer-links a:hover{ color: var(--secundario); }
.footer-bottom{
  border-top: 1px solid var(--linea);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  display:flex; flex-wrap:wrap; gap: .8rem;
  justify-content: space-between;
  font-size: .82rem;
  color: var(--texto-muted);
}
.footer-bottom a{ color: var(--texto-muted); }
.footer-bottom a:hover{ color: var(--secundario); }

/* ---------- WHATSAPP FLOTANTE ---------- */
.whatsapp-float{
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  width: 58px; height:58px;
  background: #25D366;
  color:#fff !important;
  border-radius: 50%;
  display:flex; align-items:center; justify-content:center;
  font-size: 1.6rem;
  box-shadow: 0 12px 26px -8px rgba(0,0,0,.55);
  z-index: 1000;
  animation: wa-pulse 2.6s ease-in-out infinite;
}
.whatsapp-float:hover{ color:#fff !important; transform: scale(1.06); }
@keyframes wa-pulse{
  0%, 100%{ box-shadow: 0 0 0 0 rgba(37,211,102,.45), 0 12px 26px -8px rgba(0,0,0,.55); }
  50%{ box-shadow: 0 0 0 12px rgba(37,211,102,0), 0 12px 26px -8px rgba(0,0,0,.55); }
}

/* ---------- REVEAL UTIL (GSAP hooks) ---------- */
.reveal-up{ opacity: 0; transform: translateY(28px); }
