/* ================================================================
   ECOPETS · style.css
   Tipografía: Poppins (Google Fonts)
   Paleta: verde-oscuro / verde-medio / lima ecológico
   Iconos: Remix Icons (CDN)
   ================================================================ */

/* ---- Remix Icons: ajuste global de línea base ---- */
[class^="ri-"], [class*=" ri-"] {
  display: inline-block;
  line-height: 1;
  vertical-align: middle;
}

/* fact-icon: verde lima, alineado con el texto */
.fact-icon i { color: var(--lime-deep); }

/* benefit-icon: lima sobre fondo oscuro */
.benefit-icon i { color: var(--lime); }

/* hero-trust checkmarks */
.hero-trust i {
  color: var(--lime);
  font-size: 15px;
  margin-right: 2px;
}

/* float-badge-icon: verde medio */
.float-badge-icon i {
  color: var(--green-mid);
  font-size: 26px;
}

/* tip-callout lightbulb */
.tip-callout i {
  color: var(--lime);
  margin-right: 4px;
}

/* foot-bottom leaf */
.foot-bottom i {
  color: var(--lime);
  font-size: 14px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
.site-wrapper { overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
ul { list-style: none; }

/* ---- Tokens ---- */
:root {
  --green-dark:   #0f2e1f;
  --green-mid:    #1c5c39;
  --green-soft:   #256b45;
  --lime:         #8DC63F;
  --lime-deep:    #6FAE2E;
  --cream:        #F8F6EE;
  --ink:          #123524;
  --paper:        #ffffff;
  --muted:        #5a6b60;
  --border:       #e8e3d3;

  --sh-sm:  0 4px 14px rgba(15,46,31,.08);
  --sh-md:  0 8px 28px rgba(15,46,31,.11);
  --sh-lg:  0 18px 52px rgba(15,46,31,.15);
  --sh-xl:  0 32px 72px rgba(15,46,31,.20);

  --r-sm:   10px;
  --r-md:   18px;
  --r-lg:   28px;
  --r-xl:   40px;
  --r-full: 999px;

  --snap: cubic-bezier(.16,1,.3,1);
  --ease-out: cubic-bezier(.22,.68,0,1.2);
}

/* ---- Scrollbar ---- */
::-webkit-scrollbar              { width: 8px; }
::-webkit-scrollbar-track        { background: var(--cream); }
::-webkit-scrollbar-thumb        {
  background: var(--green-mid);
  border-radius: var(--r-full);
  border: 2px solid var(--cream);
}
::-webkit-scrollbar-thumb:hover  { background: var(--lime-deep); }
/* Firefox */
html { scrollbar-width: thin; scrollbar-color: var(--green-mid) var(--cream); }

/* ---- Layout ---- */
.wrap        { max-width: 1100px; margin: 0 auto; padding: 0 32px; }
.section-pad { padding: 96px 0; }
.bg-cream      { background: var(--cream); }
.bg-green-dark { background: linear-gradient(155deg, #112e1e 0%, #1a5433 100%); }

/* ---- Tipografía compartida ---- */
.eyebrow-tag {
  display: inline-block;
  color: var(--lime-deep);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.eyebrow-tag.light { color: var(--lime); }

.section-title {
  font-size: clamp(26px, 3.8vw, 38px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 16px;
  letter-spacing: -.3px;
}
.section-title.light { color: #fff; }

.section-lead {
  font-size: 16px;
  line-height: 1.75;
  color: var(--muted);
  max-width: 560px;
}
.section-lead.light { color: rgba(255,255,255,.75); }

.section-header { text-align: center; margin-bottom: 56px; }
.section-header .section-title { margin-left: auto; margin-right: auto; }

/* ---- Botones ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 14.5px;
  font-weight: 700;
  padding: 13px 26px;
  border-radius: var(--r-full);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform .22s var(--ease-out),
              box-shadow .22s ease,
              background .18s ease,
              border-color .18s ease;
}
.btn svg { width: 19px; height: 19px; flex-shrink: 0; }

.btn-primary {
  background: var(--lime);
  color: var(--green-dark);
  box-shadow: 0 6px 22px rgba(141,198,63,.38);
}
.btn-primary:hover {
  background: var(--lime-deep);
  transform: translateY(-3px);
  box-shadow: 0 12px 34px rgba(141,198,63,.46);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.45);
}
.btn-outline:hover {
  background: rgba(255,255,255,.1);
  border-color: #fff;
  transform: translateY(-3px);
}

/* ---- Waves ---- */
.wave-wrap { display: block; width: 100%; line-height: 0; overflow: hidden; }
.wave-wrap .wave { display: block; width: 100%; }
.wave-dark { background: var(--cream); }

/* ---- Scroll reveal ---- */
[data-reveal] {
  opacity: 0;
  transition:
    opacity .75s ease,
    transform .75s var(--snap);
  transition-delay: var(--delay, 0s);
}
[data-reveal="from-left"]   { transform: translateX(-48px); }
[data-reveal="from-right"]  { transform: translateX(48px); }
[data-reveal="fade-up"]     { transform: translateY(40px); }
[data-reveal="fade-in"]     { transform: none; }

[data-reveal].revealed {
  opacity: 1;
  transform: none;
}

/* ================================================================
   NAVBAR
   ================================================================ */
#navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1002;
  padding: 20px 0;
  transition: background .3s ease, padding .3s ease, box-shadow .3s ease;
}
#navbar.scrolled {
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 12px 0;
  box-shadow: 0 2px 24px rgba(15,46,31,.09);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  flex-shrink: 0;
  transition: color .3s ease;
}
#navbar.scrolled .nav-logo { color: var(--ink); }

.nav-logo-img {
  height: clamp(64px, 7.5vw, 96px);
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  transition: filter .3s ease;
}
#navbar.scrolled .nav-logo-img {
  filter: brightness(0);
}

.footer-logo-img {
  height: 44px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  opacity: .92;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  color: rgba(255,255,255,.8);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 13px;
  border-radius: var(--r-full);
  transition: color .2s ease, background .2s ease;
  white-space: nowrap;
}
.nav-link:hover          { color: #fff; background: rgba(255,255,255,.1); }
#navbar.scrolled .nav-link       { color: var(--ink); }
#navbar.scrolled .nav-link:hover { color: var(--green-mid); background: rgba(15,46,31,.06); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  background: var(--lime);
  color: var(--green-dark);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 700;
  padding: 9px 20px;
  border-radius: var(--r-full);
  margin-left: 8px;
  white-space: nowrap;
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
  box-shadow: 0 4px 16px rgba(141,198,63,.32);
}
.nav-cta:hover {
  background: var(--lime-deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(141,198,63,.42);
}

/* Language switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 12px;
  flex-shrink: 0;
}
.lang-btn {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,.35);
  color: rgba(255,255,255,.65);
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .8px;
  padding: 4px 9px;
  border-radius: var(--r-full);
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.lang-btn:hover {
  border-color: rgba(255,255,255,.7);
  color: #fff;
}
.lang-btn.active {
  background: rgba(255,255,255,.15);
  border-color: rgba(255,255,255,.7);
  color: #fff;
}
#navbar.scrolled .lang-btn {
  border-color: rgba(15,46,31,.3);
  color: var(--muted);
}
#navbar.scrolled .lang-btn:hover {
  border-color: var(--green-mid);
  color: var(--green-mid);
}
#navbar.scrolled .lang-btn.active {
  background: rgba(15,46,31,.08);
  border-color: var(--green-mid);
  color: var(--green-mid);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  z-index: 1002;
  position: relative;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform .3s ease, opacity .3s ease, background .3s ease;
}
#navbar.scrolled .hamburger span { background: var(--ink); }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ================================================================
   HERO
   ================================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  background: radial-gradient(ellipse at 18% -5%, #2e8a56 0%, var(--green-mid) 42%, var(--green-dark) 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Decoraciones de fondo */
.hero-deco { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.deco-circle {
  position: absolute;
  border-radius: 50%;
}
.deco-c1 { width: 680px; height: 680px; top: -240px; right: -180px; background: rgba(141,198,63,.06); }
.deco-c2 { width: 320px; height: 320px; bottom: 60px; left: -100px; background: rgba(255,255,255,.04); }
.deco-c3 { width: 200px; height: 200px; top: 35%; right: 8%; background: rgba(141,198,63,.05); }
.deco-leaf {
  position: absolute;
  color: rgba(141,198,63,.1);
  animation: leaf-float 9s ease-in-out infinite;
}
.deco-leaf svg { display: block; }
.deco-l1 { width: 90px; top: 12%; left: 4%; animation-delay: 0s; }
.deco-l2 { width: 55px; bottom: 22%; right: 6%; animation-delay: -4.5s; }

@keyframes leaf-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%       { transform: translateY(-22px) rotate(10deg); }
}

/* Hero interior */
.hero-inner {
  flex: 1;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  padding: 128px 32px 80px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

/* Contenido */
.hero-content {
  animation: hero-enter-left .85s .1s var(--snap) both;
}
.hero-art {
  animation: hero-enter-right .85s .25s var(--snap) both;
}
@keyframes hero-enter-left  { from { opacity:0; transform:translateX(-42px); } to { opacity:1; transform:none; } }
@keyframes hero-enter-right { from { opacity:0; transform:translateX(42px);  } to { opacity:1; transform:none; } }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(141,198,63,.18);
  border: 1px solid rgba(141,198,63,.38);
  color: var(--lime);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .4px;
  padding: 7px 14px;
  border-radius: var(--r-full);
  margin-bottom: 22px;
}
.hero-badge svg { width: 14px; height: 14px; }

.hero-headline {
  font-size: clamp(32px, 5.2vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.5px;
  margin-bottom: 20px;
}
.hero-headline em { font-style: normal; color: var(--lime); }

.hero-sub {
  font-size: 17px;
  line-height: 1.72;
  color: rgba(255,255,255,.78);
  max-width: 460px;
  margin-bottom: 32px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 13px;
  color: rgba(255,255,255,.58);
  font-weight: 500;
}

/* Arte hero */
.hero-art {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-img-frame {
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: 0 40px 80px -20px rgba(0,0,0,.55);
  border: 5px solid rgba(255,255,255,.12);
  transform: rotate(2deg);
  transition: transform .45s var(--snap);
  max-width: 440px;
  width: 100%;
}
.hero-img-frame:hover { transform: rotate(0deg) scale(1.01); }
.hero-img-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-float-badge {
  position: absolute;
  bottom: -22px; left: -18px;
  background: var(--paper);
  color: var(--ink);
  padding: 12px 16px;
  border-radius: var(--r-md);
  box-shadow: var(--sh-xl);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.35;
  max-width: 176px;
  animation: leaf-float 5s ease-in-out infinite;
}
.float-badge-icon { font-size: 26px; flex-shrink: 0; }

.hero-float-stat {
  position: absolute;
  top: -18px; right: -14px;
  background: var(--lime);
  color: var(--green-dark);
  padding: 14px 18px;
  border-radius: var(--r-md);
  text-align: center;
  box-shadow: 0 10px 28px rgba(141,198,63,.42);
  animation: leaf-float 5s ease-in-out infinite;
  animation-delay: -2.5s;
}
.float-stat-num   { font-size: 30px; font-weight: 800; line-height: 1; }
.float-stat-label { font-size: 11px; font-weight: 600; opacity: .78; margin-top: 2px; }

/* Scroll hint */
.hero-scroll-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: rgba(255,255,255,.45);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .6px;
  text-decoration: none;
  padding: 20px;
  margin: 0 auto;
  width: fit-content;
  transition: color .2s ease;
  animation: scroll-bounce 2.8s ease-in-out infinite;
}
.hero-scroll-hint:hover { color: rgba(255,255,255,.85); }
.hero-scroll-hint svg { width: 20px; height: 20px; }
@keyframes scroll-bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(9px); }
}

/* ================================================================
   NOSOTROS
   ================================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 72px;
  align-items: center;
}
.about-visual { position: relative; }

.counter-orb {
  width: min(300px, 100%);
  aspect-ratio: 1/1;
  border-radius: 50%;
  background: conic-gradient(from 210deg, var(--green-mid), var(--lime) 48%, var(--green-soft) 72%, var(--green-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  padding: 32px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  box-shadow:
    0 24px 56px rgba(28,92,57,.3),
    0 0 0 10px rgba(141,198,63,.1),
    0 0 0 20px rgba(141,198,63,.05);
  transition: transform .4s var(--ease-out);
}
.counter-orb:hover { transform: scale(1.03); }

.counter-num-wrap {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 2px;
  line-height: 1;
}
.counter-num  { font-size: 62px; font-weight: 800; }
.counter-unit { font-size: 30px; font-weight: 800; margin-bottom: 6px; }
.counter-label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  opacity: .88;
  margin-top: 12px;
  line-height: 1.5;
}

.about-orb-deco {
  position: absolute;
  width: 100px; height: 100px;
  border-radius: 50%;
  background: var(--lime);
  opacity: .12;
  bottom: -20px;
  right: 10px;
  z-index: 1;
}

/* Hechos */
.facts-list { margin-top: 30px; display: grid; gap: 13px; }
.fact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--paper);
  padding: 15px 18px;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  font-size: 14.5px;
  line-height: 1.6;
  color: #334a3b;
  transition: box-shadow .25s ease, transform .25s ease;
}
.fact-item:hover {
  box-shadow: var(--sh-md);
  transform: translateX(5px);
}
.fact-icon { font-size: 22px; flex-shrink: 0; margin-top: 1px; }

/* ================================================================
   PRODUCTO / BENEFICIOS
   ================================================================ */
.producto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.producto-img-frame {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 32px 68px -16px rgba(0,0,0,.55);
  border: 3px solid rgba(255,255,255,.1);
  transition: transform .4s var(--snap);
}
.producto-img-frame:hover { transform: scale(1.01); }
.producto-img-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 30px;
}
.benefit-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.11);
  border-radius: var(--r-md);
  padding: 20px 18px;
  transition:
    background .25s ease,
    border-color .25s ease,
    transform .25s var(--ease-out);
  cursor: default;
}
.benefit-card:hover {
  background: rgba(255,255,255,.13);
  border-color: rgba(141,198,63,.45);
  transform: translateY(-5px);
}
.benefit-icon  { font-size: 28px; margin-bottom: 10px; }
.benefit-title { font-size: 14.5px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.benefit-desc  { font-size: 13px; color: #cfe6d8; line-height: 1.58; }

/* ================================================================
   MODO DE USO
   ================================================================ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}
/* Línea conectora entre pasos */
.steps-grid::before {
  content: '';
  position: absolute;
  top: 30px;
  left: calc(12.5% + 10px);
  right: calc(12.5% + 10px);
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--lime) 15%, var(--lime) 85%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}
.step-card {
  background: var(--paper);
  border-radius: var(--r-md);
  padding: 28px 20px 24px;
  border: 1px solid var(--border);
  position: relative;
  z-index: 1;
  transition:
    box-shadow .25s ease,
    transform .25s var(--ease-out),
    border-color .25s ease;
}
.step-card:hover {
  box-shadow: var(--sh-lg);
  transform: translateY(-7px);
  border-color: var(--lime);
}
.step-number {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--green-dark);
  font-size: 16px;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 4px 14px rgba(141,198,63,.38);
}
.step-title { font-size: 14.5px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.step-desc  { font-size: 13.5px; line-height: 1.62; color: var(--muted); }

/* ================================================================
   TIP DE RENDIMIENTO
   ================================================================ */
.tip-section { background: var(--ink); padding: 96px 0; }
.tip-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 68px;
  align-items: center;
}
.tip-img-col img {
  width: 100%;
  height: auto;
  border-radius: var(--r-lg);
  box-shadow: 0 28px 60px rgba(0,0,0,.45);
  display: block;
}
.tip-callout {
  margin-top: 24px;
  background: rgba(141,198,63,.1);
  border-left: 4px solid var(--lime);
  padding: 16px 20px;
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-size: 14.5px;
  line-height: 1.68;
  color: #e7f3ea;
}

/* ================================================================
   PRESENTACIONES
   ================================================================ */
.pres-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pres-card {
  background: var(--paper);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition:
    box-shadow .3s ease,
    transform .3s var(--ease-out);
}
.pres-card:hover {
  box-shadow: var(--sh-xl);
  transform: translateY(-9px);
}
.pres-card--featured {
  border-color: var(--lime);
  box-shadow: 0 0 0 2px rgba(141,198,63,.22);
}
.pres-card--featured:hover {
  box-shadow: 0 0 0 2px rgba(141,198,63,.22), var(--sh-xl);
}

.pres-img-wrap {
  height: 200px;
  overflow: hidden;
  background: #eef3e8;
  position: relative;
}
.pres-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}
.pres-card:hover .pres-img-wrap img { transform: scale(1.05); }

.pres-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}
.pres-placeholder--green { background: var(--green-mid); }
.pres-placeholder--lime  { background: var(--lime); }
.placeholder-num {
  font-size: 52px;
  font-weight: 800;
  color: #fff;
  line-height: 1.05;
  text-align: center;
}
.pres-placeholder--lime .placeholder-num { color: var(--green-dark); }
.placeholder-num span { font-size: 20px; font-weight: 600; display: inline; }

.pres-info { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.pres-size { font-size: 26px; font-weight: 800; color: var(--green-mid); line-height: 1; margin-bottom: 6px; }
.pres-tag  { font-size: 13px; color: var(--muted); line-height: 1.55; flex: 1; margin-bottom: 0; }
.pres-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
  background: var(--lime);
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: var(--r-full);
  text-decoration: none;
  transition: background .2s ease, transform .2s ease;
}
.pres-cta:hover { background: var(--lime-deep); transform: translateY(-2px); }

/* ================================================================
   FOOTER
   ================================================================ */
.site-footer { background: var(--green-dark); color: #fff; padding: 76px 0 36px; }

.foot-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 0.8fr;
  gap: 52px;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
/* logo-icon y logo-text ya definidos en navbar, aplican aquí también */

.foot-desc {
  font-size: 14px;
  line-height: 1.72;
  color: #cfe6d8;
  margin-bottom: 24px;
  max-width: 320px;
}

.foot-social { display: flex; gap: 10px; }
.foot-social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  text-decoration: none;
  transition: background .22s ease, color .22s ease, transform .22s ease;
}
.foot-social a:hover {
  background: var(--lime);
  color: var(--green-dark);
  transform: translateY(-3px);
}
.foot-social svg { width: 18px; height: 18px; }

.foot-title {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 20px;
}

.foot-contact-list { display: grid; gap: 15px; }
.foot-contact-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: #cfe6d8;
}
.foot-contact-list svg { width: 18px; height: 18px; fill: var(--lime); flex-shrink: 0; }
.foot-contact-list a {
  color: #fff;
  text-decoration: none;
  transition: color .2s ease;
}
.foot-contact-list a:hover { color: var(--lime); }

.foot-nav-list { display: grid; gap: 10px; }
.foot-nav-list a {
  font-size: 14px;
  color: #cfe6d8;
  text-decoration: none;
  display: inline-block;
  transition: color .2s ease, padding-left .2s ease;
}
.foot-nav-list a:hover { color: #fff; padding-left: 6px; }

.foot-bottom {
  margin-top: 36px;
  text-align: center;
  font-size: 12.5px;
  color: #6f9279;
}

/* ================================================================
   BOTONES FLOTANTES
   ================================================================ */
#wa-float {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 1050;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  box-shadow: 0 8px 28px rgba(37,211,102,.44);
  transition: transform .25s var(--ease-out), box-shadow .25s ease;
  animation: wa-pulse 3.2s ease-in-out infinite;
}
#wa-float:hover {
  transform: scale(1.12);
  box-shadow: 0 14px 40px rgba(37,211,102,.55);
  animation-play-state: paused;
}
#wa-float svg { width: 30px; height: 30px; }
@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 8px 28px rgba(37,211,102,.44); }
  50%       { box-shadow: 0 8px 28px rgba(37,211,102,.44), 0 0 0 10px rgba(37,211,102,.1); }
}

#back-to-top {
  position: fixed;
  bottom: 98px; right: 28px;
  z-index: 1050;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--lime), var(--lime-deep));
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 28px rgba(141,198,63,.44);
  opacity: 0;
  transform: translateY(16px) scale(.85);
  transition: opacity .35s ease, transform .25s var(--ease-out), box-shadow .25s ease;
  pointer-events: none;
}
#back-to-top.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
#back-to-top:hover {
  transform: scale(1.12);
  box-shadow: 0 14px 40px rgba(141,198,63,.55);
}
#back-to-top svg {
  width: 22px; height: 22px;
  display: block;
  flex-shrink: 0;
  stroke: var(--green-dark);
  stroke-width: 2.5;
}

/* ================================================================
   RESPONSIVE — TABLET ≤ 900px
   ================================================================ */
@media (max-width: 900px) {
  .section-pad { padding: 72px 0; }

  /* Navbar → hamburger */
  .nav-inner { padding: 0 20px; }
  .nav-logo-img { height: 72px; }
  .hamburger { display: flex; order: 3; }
  .lang-switcher { order: 2; margin-left: auto; margin-right: 4px; }
  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--green-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 4px;
    padding: 110px 20px 40px;
    margin: 0;
    overflow-y: auto;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease;
    z-index: 1001;
  }
  .nav-links.open { opacity: 1; pointer-events: auto; }
  .nav-link { font-size: 20px; padding: 14px 32px; color: rgba(255,255,255,.85); }
  .nav-link:hover { color: #fff; background: rgba(255,255,255,.08); border-radius: var(--r-full); }
  .nav-cta { font-size: 17px; padding: 13px 36px; margin-left: 0; margin-top: 16px; }

  /* Hero */
  .hero-inner {
    grid-template-columns: 1fr;
    padding: 124px 32px 60px;
    gap: 40px;
  }
  .hero-art { order: -1; max-width: 340px; margin: 0 auto; }
  .hero-headline { font-size: clamp(28px, 6vw, 44px); }
  .hero-float-badge { bottom: -14px; left: -10px; }
  .hero-float-stat  { top: -10px; right: -10px; }

  /* Nosotros */
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-visual { max-width: 280px; margin: 0 auto; }

  /* Producto */
  .producto-grid { grid-template-columns: 1fr; gap: 44px; }

  /* Uso */
  .steps-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .steps-grid::before { display: none; }

  /* Tip */
  .tip-grid { grid-template-columns: 1fr; gap: 44px; }

  /* Presentaciones */
  .pres-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
  .pres-grid .pres-card:nth-child(3) { grid-column: 1 / -1; }

  /* Footer */
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .foot-brand { grid-column: 1 / -1; }
}

/* ================================================================
   RESPONSIVE — MÓVIL ≤ 540px
   ================================================================ */
@media (max-width: 540px) {
  .wrap { padding: 0 20px; }
  .section-pad { padding: 52px 0; }
  .nav-inner { padding: 0 16px; }
  .nav-logo-img { height: 58px; max-width: 200px; }

  .hero-inner { padding: 102px 20px 44px; gap: 32px; }
  .hero-art { max-width: 270px; }
  .hero-ctas { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .hero-float-badge { bottom: -12px; left: -8px; font-size: 11px; padding: 9px 11px; max-width: 155px; }
  .hero-float-stat  { top: -8px; right: -8px; padding: 10px 13px; }
  .float-stat-num { font-size: 24px; }

  .benefits-grid { grid-template-columns: 1fr; }
  .steps-grid    { grid-template-columns: 1fr; }
  .pres-grid     { grid-template-columns: 1fr; }
  .pres-grid .pres-card:nth-child(3) { grid-column: auto; }

  .tip-section { padding: 60px 0; }

  .foot-grid { grid-template-columns: 1fr; gap: 32px; }
  .foot-brand { grid-column: auto; }

  #wa-float    { bottom: 22px; right: 20px; width: 52px; height: 52px; }
  #back-to-top { bottom: 86px; right: 20px; }
}

/* ================================================================
   ASISTENTE ECO
   ================================================================ */

/* --- Widget (FAB + bubble container) --- */
.eco-widget {
  position: fixed;
  bottom: 168px;
  right: 28px;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* --- FAB button --- */
.eco-fab {
  position: relative;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  border: 3px solid var(--lime);
  background: var(--green-dark);
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,.25);
  animation: ecoFabIn .5s .8s ease both, ecoRing 2.5s 4.5s ease-in-out infinite;
  transition: filter .2s ease;
}
.eco-fab:hover { filter: brightness(1.1); }
.eco-fab:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }

@keyframes ecoFabIn {
  from { opacity: 0; transform: scale(.6) translateY(14px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes ecoRing {
  0%, 100% { box-shadow: 0 4px 20px rgba(0,0,0,.25), 0 0 0 0 rgba(141,198,63,.55); }
  65%       { box-shadow: 0 4px 20px rgba(0,0,0,.25), 0 0 0 16px rgba(141,198,63,0); }
}

#eco-fab-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity .22s ease;
}

/* --- Speech bubble tooltip --- */
.eco-bubble {
  position: absolute;
  bottom: calc(100% + 11px);
  right: 0;
  background: #fff;
  border: 1.5px solid var(--lime);
  border-radius: 14px 14px 4px 14px;
  padding: 10px 14px;
  font-size: .77rem;
  font-family: 'Poppins', sans-serif;
  line-height: 1.45;
  color: var(--ink);
  width: 210px;
  box-shadow: 0 4px 18px rgba(0,0,0,.13);
  opacity: 0;
  transform: translateY(6px) scale(.95);
  pointer-events: none;
  transition: opacity .3s ease, transform .3s ease;
}
.eco-bubble.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* --- Chat window --- */
.eco-chat {
  position: fixed;
  bottom: 248px;
  right: 28px;
  width: 340px;
  height: 376px;
  max-height: calc(100vh - 120px);
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 40px rgba(0,0,0,.18);
  display: flex;
  flex-direction: column;
  z-index: 1100;
  opacity: 0;
  transform: translateY(18px) scale(.97);
  pointer-events: none;
  transition: opacity .3s ease, transform .3s ease;
  overflow: hidden;
}
.eco-chat.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* --- Header --- */
.eco-chat-header {
  background: linear-gradient(135deg, var(--green-mid), var(--green-soft));
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}
.eco-header-info {
  display: flex;
  align-items: center;
  gap: 10px;
}
.eco-header-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--lime);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--cream);
}
#eco-expression {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity .22s ease;
}
.eco-header-text { display: flex; flex-direction: column; }
.eco-name {
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: .95rem;
  line-height: 1.1;
}
.eco-subtitle {
  color: rgba(255,255,255,.72);
  font-family: 'Poppins', sans-serif;
  font-size: .67rem;
  margin-top: 2px;
}
.eco-close {
  background: rgba(255,255,255,.15);
  border: none;
  color: #fff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  flex-shrink: 0;
  transition: background .2s;
}
.eco-close:hover { background: rgba(255,255,255,.3); }

/* --- Messages --- */
.eco-messages {
  height: 285px;
  overflow-y: auto;
  padding: 14px 14px 6px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #f5f3ec;
}
.eco-msg {
  max-width: 83%;
  padding: 9px 13px;
  border-radius: 16px;
  font-family: 'Poppins', sans-serif;
  font-size: .79rem;
  line-height: 1.5;
  animation: ecoMsgIn .25s ease both;
}
@keyframes ecoMsgIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.eco-msg.from-eco {
  background: #daefd1;
  color: var(--ink);
  border-radius: 4px 16px 16px 16px;
  align-self: flex-start;
}
.eco-msg.from-user {
  background: var(--green-mid);
  color: #fff;
  border-radius: 16px 4px 16px 16px;
  align-self: flex-end;
}

/* --- Typing indicator --- */
.eco-typing {
  align-self: flex-start;
  background: #daefd1;
  border-radius: 4px 16px 16px 16px;
  padding: 11px 16px;
  display: flex;
  gap: 5px;
  align-items: center;
}
.eco-typing span {
  width: 7px;
  height: 7px;
  background: var(--green-mid);
  border-radius: 50%;
  display: block;
  animation: ecoDot .9s ease-in-out infinite;
}
.eco-typing span:nth-child(2) { animation-delay: .15s; }
.eco-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes ecoDot {
  0%, 100% { transform: translateY(0); opacity: .35; }
  50%       { transform: translateY(-5px); opacity: 1; }
}

/* --- Quick replies --- */
.eco-quick-replies {
  padding: 4px 6px 1px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  background: #fff;
  border-top: 1px solid rgba(0,0,0,.07);
  flex-shrink: 0;
}
.eco-qr {
  background: transparent;
  border: 1.5px solid var(--lime-deep);
  color: var(--green-mid);
  border-radius: 20px;
  padding: 4px 11px;
  font-family: 'Poppins', sans-serif;
  font-size: .55rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s, color .2s;
}
.eco-qr:hover { background: var(--lime-deep); color: #fff; }

/* --- Pet quiz buttons --- */
.eco-quiz-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 4px 0 8px;
  align-self: flex-start;
}
.eco-quiz-btn {
  background: transparent;
  border: 1.5px solid var(--lime-deep);
  color: var(--green-mid);
  border-radius: 20px;
  padding: 6px 13px;
  font-family: 'Poppins', sans-serif;
  font-size: .55rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.eco-quiz-btn:hover { background: var(--lime-deep); color: #fff; }

/* --- Input --- */
.eco-input-area {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 12px;
  background: #fff;
  border-top: 1px solid rgba(0,0,0,.07);
  flex-shrink: 0;
}
.eco-input {
  flex: 1;
  border: 1.5px solid #ddd;
  border-radius: 22px;
  padding: 8px 14px;
  font-family: 'Poppins', sans-serif;
  font-size: .78rem;
  outline: none;
  color: var(--ink);
  transition: border-color .2s;
  background: #fff;
}
.eco-input:focus { border-color: var(--lime-deep); }
.eco-send {
  background: var(--lime-deep);
  border: none;
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: .9rem;
  flex-shrink: 0;
  transition: background .2s, filter .15s;
}
.eco-send:hover { background: var(--green-mid); filter: brightness(1.08); }

/* --- Responsive --- */
@media (max-width: 900px) {
  .eco-widget { bottom: 168px; right: 24px; }
  .eco-chat   { bottom: 256px; right: 24px; width: 320px; }
}
@media (max-width: 540px) {
  #back-to-top { width: 52px; height: 52px; }
  .eco-widget { bottom: 150px; right: 20px; }
  .eco-fab    { width: 66px; height: 66px; }
  .eco-bubble { width: 180px; font-size: .73rem; }
  .eco-chat {
    bottom: 228px;
    right: 12px;
    left: 12px;
    width: auto;
    height: 500px;
    border-radius: 16px;
  }
}
