/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  /* Palette */
  --bg:          #f6f3ee;
  --bg-2:        #edeae3;
  --bg-dark:     #1a1f1a;
  --ink:         #1c1c1a;
  --ink-soft:    #3a3a37;
  --ink-mute:    #6b6762;
  --cream:       #f6f3ee;
  --accent:      #1e5c35;
  --accent-2:    #c8951a;
  --accent-light: #e8f2ec;
  --whatsapp:    #25d366;
  --whatsapp-dark: #128c7e;
  --line:        rgba(28, 28, 26, 0.10);
  --line-strong: rgba(28, 28, 26, 0.20);

  /* Typography */
  --serif: 'Playfair Display', Georgia, serif;
  --sans:  'Inter', system-ui, sans-serif;

  /* Spacing */
  --gutter: clamp(1rem, 4vw, 2rem);
  --section-gap: clamp(4rem, 8vw, 7rem);

  /* Easings */
  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);

  /* Radii */
  --radius:    12px;
  --radius-lg: 20px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(28,28,26,0.08);
  --shadow-md: 0 8px 32px rgba(28,28,26,0.12);
  --shadow-lg: 0 20px 60px rgba(28,28,26,0.16);
  --shadow-accent: 0 12px 40px rgba(30,92,53,0.25);
}

/* =============================================================
   2. Reset & Base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: clip;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.05; letter-spacing: -0.025em; }
::selection { background: var(--accent); color: var(--cream); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* =============================================================
   3. Utilities
   ============================================================= */
.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .6rem 1.2rem; background: var(--ink); color: var(--cream);
  z-index: 9999; border-radius: 8px; font-weight: 600; font-size: .875rem;
  transition: top .2s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

.container {
  width: min(100%, 1180px);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section-eyebrow {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .75rem;
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.08;
  margin-bottom: 1.25rem;
}
.section-title em { font-style: italic; color: var(--accent); }

.section-sub {
  font-size: 1.05rem;
  color: var(--ink-mute);
  max-width: 52ch;
  line-height: 1.65;
}

.section-header {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

/* =============================================================
   4. Buttons
   ============================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.6rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: .9375rem;
  transition: transform .2s var(--ease-out), box-shadow .2s var(--ease-out), background .2s;
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-accent);
}
.btn-primary:hover { background: #174d2b; box-shadow: 0 16px 50px rgba(30,92,53,0.35); }

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}
.btn-outline:hover { background: var(--accent); color: #fff; }

.btn-hero-primary {
  background: var(--whatsapp);
  color: #fff;
  font-size: 1rem;
  padding: .9rem 2rem;
  box-shadow: 0 8px 30px rgba(37,211,102,0.4);
}
.btn-hero-primary:hover {
  background: var(--whatsapp-dark);
  box-shadow: 0 14px 40px rgba(37,211,102,0.5);
}

.btn-hero-secondary {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.4);
  font-size: 1rem;
  padding: .9rem 2rem;
  backdrop-filter: blur(8px);
}
.btn-hero-secondary:hover { background: rgba(255,255,255,0.25); }

/* =============================================================
   5. Reveal animation
   ============================================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
/* Safety net for split elements */
.reveal[data-split] { opacity: 1; transform: none; }

/* Staggered reveals */
.reveal:nth-child(2) { transition-delay: .08s; }
.reveal:nth-child(3) { transition-delay: .16s; }
.reveal:nth-child(4) { transition-delay: .24s; }
.reveal:nth-child(5) { transition-delay: .32s; }
.reveal:nth-child(6) { transition-delay: .40s; }

/* =============================================================
   6. NAV
   ============================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background .35s var(--ease-soft), box-shadow .35s var(--ease-soft);
  padding-block: 1rem;
}
.nav.is-scrolled {
  background: rgba(246,243,238,0.95);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--line), var(--shadow-sm);
  padding-block: .7rem;
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  flex-shrink: 0;
}
.nav-brand-icon { font-size: 1.4rem; }
.nav-brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.nav-brand-text strong { font-size: .875rem; font-weight: 700; color: var(--ink); }
.nav-brand-text small { font-size: .7rem; font-weight: 400; color: var(--ink-mute); letter-spacing: .03em; }

.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
  margin-left: auto;
}
.nav-link {
  font-size: .875rem;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  transition: color .2s;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 1.5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ease-out);
}
.nav-link:hover { color: var(--accent); }
.nav-link:hover::after { transform: scaleX(1); }

.nav-cta { display: none; padding: .55rem 1.3rem; font-size: .875rem; }

.nav-hamburger {
  margin-left: auto;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: .4rem;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s var(--ease-out), opacity .25s;
}
.nav-hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.is-open span:nth-child(2) { opacity: 0; }
.nav-hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  padding: 1rem var(--gutter) 1.5rem;
  background: rgba(246,243,238,0.98);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
}
.nav-mobile[hidden] { display: none; }
.nav-mobile-link {
  padding: .75rem 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.nav-mobile-cta { margin-top: 1rem; align-self: flex-start; }

/* =============================================================
   7. HERO
   ============================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: clip;
  padding-block: 8rem 5rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26,31,26,0.82) 0%,
    rgba(30,92,53,0.55) 50%,
    rgba(26,31,26,0.75) 100%
  );
}

.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: .04;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 1rem;
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 7vw, 6rem);
  font-weight: 900;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 30px rgba(0,0,0,0.4);
}
.hero-title em {
  font-style: italic;
  font-weight: 700;
  color: #a8e6c2;
}

.hero-sub {
  font-size: clamp(.95rem, 1.4vw, 1.125rem);
  color: rgba(255,255,255,0.82);
  max-width: 50ch;
  line-height: 1.65;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  align-items: center;
}
.hero-stat { text-align: left; }
.hero-stat-num {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.hero-stat-label {
  display: block;
  font-size: .75rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: .04em;
  margin-top: .25rem;
}
.hero-stat-sep {
  width: 1px;
  height: 3rem;
  background: rgba(255,255,255,0.2);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  color: rgba(255,255,255,0.6);
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* =============================================================
   8. TICKER / MARQUEE
   ============================================================= */
.ticker {
  background: var(--accent);
  color: #fff;
  overflow: clip;
  padding-block: .75rem;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ticker-track {
  display: inline-flex;
  gap: 2rem;
  animation: ticker 30s linear infinite;
  will-change: transform;
}
.ticker-dot { color: rgba(255,255,255,0.4); }
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* =============================================================
   9. ABOUT
   ============================================================= */
.about {
  padding-block: var(--section-gap);
  background: var(--bg);
}
.about-grid {
  display: grid;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}
.about-text { max-width: 52ch; }
.about-body {
  font-size: 1.0625rem;
  color: var(--ink-soft);
  line-height: 1.72;
  margin-bottom: 1.25rem;
}
.about-visual { position: relative; }
.about-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: clip;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-lg);
}
.about-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.about-badge {
  position: absolute;
  bottom: 1.5rem; right: 1.5rem;
  background: var(--accent-2);
  color: #fff;
  padding: .75rem 1.25rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-md);
}
.about-badge-num {
  display: block;
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
}
.about-badge-label {
  display: block;
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .04em;
  opacity: .9;
  margin-top: .2rem;
}

/* =============================================================
   10. PRODUCTS
   ============================================================= */
.products {
  padding-block: var(--section-gap);
  background: var(--bg-2);
}
.products-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
}

.product-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  overflow: clip;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
  cursor: pointer;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-accent);
}

.product-card-img {
  position: relative;
  aspect-ratio: 16/9;
  overflow: clip;
  background: var(--bg-2);
}
.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease-out);
}
.product-card:hover .product-card-img img { transform: scale(1.06); }
.product-card-icon {
  position: absolute;
  top: .75rem; left: .75rem;
  font-size: 1.5rem;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.3));
}

.product-card-body { padding: 1.25rem; }
.product-card-name {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: .5rem;
}
.product-card-desc {
  font-size: .9rem;
  color: var(--ink-mute);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.product-card-cta {
  font-size: .875rem;
  font-weight: 600;
  color: var(--accent);
  transition: gap .2s, color .2s;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
}
.product-card:hover .product-card-cta { color: #174d2b; gap: .6rem; }

/* =============================================================
   11. PILLARS
   ============================================================= */
.pillars {
  padding-block: var(--section-gap);
  background: var(--bg-dark);
  color: #fff;
}
.pillars .section-eyebrow { color: #a8e6c2; }
.pillars .section-title { color: #fff; }
.pillars .section-title em { color: #a8e6c2; }

.pillars-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
}
.pillar-card {
  border-top: 2px solid rgba(255,255,255,0.15);
  padding-top: 1.75rem;
  transition: border-color .3s;
}
.pillar-card:hover { border-color: var(--accent); }
.pillar-num {
  font-family: var(--serif);
  font-size: 3.5rem;
  font-weight: 900;
  color: rgba(255,255,255,0.08);
  line-height: 1;
  display: block;
  margin-bottom: .75rem;
  transition: color .3s;
}
.pillar-card:hover .pillar-num { color: rgba(30,92,53,0.3); }
.pillar-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: .75rem;
}
.pillar-desc {
  font-size: .9375rem;
  color: rgba(255,255,255,0.62);
  line-height: 1.68;
}

/* =============================================================
   12. STEPS
   ============================================================= */
.steps {
  padding-block: var(--section-gap);
  background: var(--bg);
}
.steps-inner {
  display: grid;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.steps-body {
  font-size: 1.0625rem;
  color: var(--ink-mute);
  margin-bottom: 2rem;
  line-height: 1.65;
}
.steps-list { display: flex; flex-direction: column; }
.step-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}
.step-num {
  flex-shrink: 0;
  width: 44px; height: 44px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: var(--shadow-accent);
}
.step-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: .35rem;
}
.step-desc { font-size: .9375rem; color: var(--ink-mute); line-height: 1.6; }
.step-line {
  margin-left: 22px;
  width: 1px; height: 2rem;
  background: var(--line-strong);
}

/* =============================================================
   13. FAQ
   ============================================================= */
.faq {
  padding-block: var(--section-gap);
  background: var(--bg-2);
}
.faq-list { max-width: 680px; }
.faq-item {
  border-bottom: 1px solid var(--line-strong);
  transition: background .2s;
}
.faq-item[open] { background: var(--accent-light); border-radius: var(--radius); margin-block: .5rem; border-color: transparent; }

.faq-q {
  padding: 1.25rem 1rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  user-select: none;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform .3s var(--ease-out);
}
.faq-item[open] .faq-q::after { transform: rotate(45deg); }
.faq-a {
  padding: 0 1rem 1.25rem;
  font-size: .9375rem;
  color: var(--ink-soft);
  line-height: 1.7;
}

/* =============================================================
   14. CONTACT
   ============================================================= */
.contact {
  padding-block: var(--section-gap);
  background: var(--bg);
}
.contact-grid {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

.contact-cards { display: flex; flex-direction: column; gap: 1rem; }
.contact-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--bg-2);
  border-radius: var(--radius);
  border: 1.5px solid var(--line);
  transition: transform .25s var(--ease-out), box-shadow .25s, border-color .25s;
}
.contact-card:hover { transform: translateX(4px); box-shadow: var(--shadow-md); border-color: var(--accent); }

.contact-card-whatsapp { border-color: rgba(37,211,102,0.3); background: #f0fdf4; }
.contact-card-whatsapp .contact-card-icon { background: var(--whatsapp); }
.contact-card-whatsapp:hover { border-color: var(--whatsapp); }

.contact-card-icon {
  width: 48px; height: 48px;
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-card-info { flex: 1; }
.contact-card-label { display: block; font-size: .75rem; color: var(--ink-mute); font-weight: 500; letter-spacing: .04em; text-transform: uppercase; }
.contact-card-value { display: block; font-size: 1rem; font-weight: 600; color: var(--ink); margin-top: .2rem; }
.contact-card-arrow { color: var(--ink-mute); flex-shrink: 0; }

/* Form */
.contact-form-wrap {
  background: var(--bg-2);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--line);
}
.contact-form-title {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--ink);
}
.form-group { margin-bottom: 1.1rem; }
.form-group label {
  display: block;
  font-size: .8125rem;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: .4rem;
  letter-spacing: .02em;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--bg);
  font: inherit;
  font-size: .9375rem;
  color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(30,92,53,0.12);
}
.btn-form-submit { width: 100%; justify-content: center; margin-top: .5rem; }
.btn-submit-sending { display: none; }
.contact-form.is-sending .btn-submit-text { display: none; }
.contact-form.is-sending .btn-submit-sending { display: inline; }
.form-note { font-size: .78rem; color: var(--ink-mute); margin-top: .75rem; text-align: center; }

/* =============================================================
   15. FOOTER
   ============================================================= */
.footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.7);
  padding-block: 3rem 2rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 1.5rem;
}
.footer-brand {
  display: flex; align-items: center; gap: .75rem;
}
.footer-brand-icon { font-size: 2rem; }
.footer-brand-name { display: block; color: #fff; font-weight: 700; font-size: .9375rem; }
.footer-brand-sub { display: block; font-size: .75rem; opacity: .6; margin-top: .2rem; }

.footer-links, .footer-contact {
  display: flex; flex-direction: column; gap: .5rem;
}
.footer-links a, .footer-contact a {
  font-size: .875rem;
  color: rgba(255,255,255,0.6);
  transition: color .2s;
}
.footer-links a:hover, .footer-contact a:hover { color: #fff; }

.footer-bottom p { font-size: .78rem; color: rgba(255,255,255,0.35); text-align: center; }

/* =============================================================
   16. FLOATING WHATSAPP BUTTON
   ============================================================= */
.fab-whatsapp {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 90;
  width: 58px; height: 58px;
  background: var(--whatsapp);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,0.5);
  transition: transform .3s var(--ease-out), box-shadow .3s;
  animation: fabPulse 3s ease-in-out infinite;
}
.fab-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 36px rgba(37,211,102,0.65);
  animation: none;
}
@keyframes fabPulse {
  0%, 100% { box-shadow: 0 6px 24px rgba(37,211,102,0.5); }
  50% { box-shadow: 0 6px 24px rgba(37,211,102,0.5), 0 0 0 10px rgba(37,211,102,0.12); }
}
.fab-whatsapp-tooltip {
  position: absolute;
  left: 68px;
  background: var(--ink);
  color: #fff;
  font-size: .78rem;
  font-weight: 600;
  white-space: nowrap;
  padding: .4rem .8rem;
  border-radius: 6px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-4px);
  transition: opacity .25s, transform .25s;
}
.fab-whatsapp:hover .fab-whatsapp-tooltip { opacity: 1; transform: translateX(0); }

/* =============================================================
   17. ASISTENTE VIRTUAL
   ============================================================= */
.assistant {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 200;
}

.assistant-toggle {
  width: 58px; height: 58px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(30,92,53,0.45);
  transition: transform .3s var(--ease-out), box-shadow .3s;
  position: relative;
}
.assistant-toggle:hover { transform: scale(1.08); box-shadow: 0 10px 36px rgba(30,92,53,0.55); }

.assistant-toggle-close { display: none; }
.assistant.is-open .assistant-toggle-open { display: none; }
.assistant.is-open .assistant-toggle-close { display: flex; }

.assistant-badge {
  position: absolute;
  top: 0; right: 0;
  width: 18px; height: 18px;
  background: #ef4444;
  color: #fff;
  font-size: .65rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--bg);
  animation: badgeBounce .6s var(--ease-out) 1.5s both;
}
@keyframes badgeBounce {
  from { transform: scale(0); }
  to { transform: scale(1); }
}
.assistant.is-open .assistant-badge { display: none; }

.assistant-panel {
  position: absolute;
  bottom: 70px; right: 0;
  width: min(350px, calc(100vw - 3rem));
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(28,28,26,0.22), 0 1px 0 var(--line);
  display: flex;
  flex-direction: column;
  overflow: clip;
  animation: assistantIn .35s var(--ease-out) both;
  transform-origin: bottom right;
}
.assistant-panel[hidden] { display: none; }
@keyframes assistantIn {
  from { opacity: 0; transform: scale(.92) translateY(12px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.assistant-header {
  background: var(--accent);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: .75rem;
}
.assistant-avatar {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  flex-shrink: 0;
}
.assistant-header-info { flex: 1; }
.assistant-header-info strong { display: block; font-size: .9375rem; color: #fff; }
.assistant-header-info span { font-size: .75rem; color: rgba(255,255,255,0.7); }
.assistant-status { font-size: .72rem; color: rgba(255,255,255,0.8); display: flex; align-items: center; gap: .3rem; }
.assistant-online-dot {
  width: 8px; height: 8px;
  background: #4ade80;
  border-radius: 50%;
  animation: dotPulse 2s ease-in-out infinite;
}
@keyframes dotPulse { 0%,100%{opacity:1} 50%{opacity:.4} }

.assistant-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  max-height: 280px;
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
}

.assistant-msg { display: flex; flex-direction: column; }
.assistant-msg-bot { align-items: flex-start; }
.assistant-msg-user { align-items: flex-end; }

.assistant-msg-bubble {
  padding: .65rem .9rem;
  border-radius: 14px;
  font-size: .9rem;
  line-height: 1.55;
  max-width: 88%;
}
.assistant-msg-bot .assistant-msg-bubble {
  background: #f0fdf4;
  border: 1px solid rgba(30,92,53,0.12);
  color: var(--ink);
  border-bottom-left-radius: 4px;
}
.assistant-msg-user .assistant-msg-bubble {
  background: var(--accent);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.assistant-msg-time {
  font-size: .68rem;
  color: var(--ink-mute);
  margin-top: .25rem;
  padding-inline: .25rem;
}
.assistant-typing {
  display: flex;
  gap: 4px;
  padding: .65rem .9rem;
  background: #f0fdf4;
  border: 1px solid rgba(30,92,53,0.12);
  border-radius: 14px;
  border-bottom-left-radius: 4px;
  width: fit-content;
}
.assistant-typing span {
  width: 7px; height: 7px;
  background: var(--accent);
  border-radius: 50%;
  animation: typingDot 1.2s ease-in-out infinite;
  opacity: .4;
}
.assistant-typing span:nth-child(2) { animation-delay: .2s; }
.assistant-typing span:nth-child(3) { animation-delay: .4s; }
@keyframes typingDot { 0%,80%,100%{opacity:.4} 40%{opacity:1} }

.assistant-suggestions {
  padding: .75rem 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  border-top: 1px solid var(--line);
  background: #fafafa;
}
.assistant-chip {
  background: var(--accent-light);
  color: var(--accent);
  border: 1px solid rgba(30,92,53,0.18);
  border-radius: 50px;
  padding: .35rem .75rem;
  font-size: .78rem;
  font-weight: 500;
  transition: background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.assistant-chip:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.assistant-chip:disabled { opacity: .5; cursor: default; }

.assistant-input-row {
  display: flex;
  gap: .5rem;
  padding: .75rem 1rem;
  border-top: 1px solid var(--line);
  background: #fff;
}
.assistant-input {
  flex: 1;
  border: 1.5px solid var(--line-strong);
  border-radius: 50px;
  padding: .5rem 1rem;
  font: inherit;
  font-size: .875rem;
  color: var(--ink);
  background: var(--bg);
  transition: border-color .2s;
}
.assistant-input:focus { outline: none; border-color: var(--accent); }
.assistant-send {
  width: 36px; height: 36px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background .2s, transform .2s;
  align-self: center;
}
.assistant-send:hover { background: #174d2b; transform: scale(1.08); }

/* =============================================================
   18. Responsive
   ============================================================= */
@media (min-width: 540px) {
  .hero-stat-sep { display: flex; }
}

@media (min-width: 720px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-hamburger { display: none; }

  .about-grid { grid-template-columns: 1fr 1fr; }
  .steps-inner { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 960px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .pillars-grid { grid-template-columns: repeat(3, 1fr); }
  .faq-list { max-width: 720px; }
}

@media (min-width: 1280px) {
  .about-grid { grid-template-columns: 5fr 7fr; gap: 6rem; }
}

/* =============================================================
   19. Reduced motion (only intrusive effects)
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
  .fab-whatsapp { animation: none; }
  .hero-scroll-hint { animation: none; }
  @keyframes scrollBounce { from{} to{} }
}
