/* ============================================================
   EMPANADASTEMUCO.CL — LANDING PAGE v1
   Auto-contenida: tokens inline (patrón catalogo/pepepalta.cl).
   Fuente canónica de tokens: apps/design-system/colors_and_type.css
   Identidad Fersot/Empanadas Temuco: terracota + The Grenhil Rough.
   ============================================================ */

@font-face {
  font-family: "The Grenhil Rough";
  src: url("./assets/fonts/TheGrenhilRough.otf") format("opentype");
  font-weight: 400; font-style: normal; font-display: swap;
}

:root {
  /* Marca Fersot / Empanadas Temuco */
  --et-50:  #FCEFEC;
  --et-100: #F7D5CD;
  --et-300: #EDA593;
  --et-500: #E2725B;
  --et-700: #B05241;
  --et-900: #6E3228;
  --et-950: #4A2019;

  /* Apoyo PMA (links al grupo) */
  --pma-500: #4B6F44;

  /* Neutrales warm */
  --neutral-0: #FFFFFF;
  --neutral-50: #FBFAF6;
  --neutral-100: #F6F4EF;
  --neutral-200: #EFEBE2;
  --neutral-300: #E5E1D8;
  --fg-1: #0E1116;
  --fg-2: #3A372F;
  --fg-3: #6E695F;

  /* Acentos cálidos (sobre fondo oscuro) */
  --cream: #F6EFDD;
  --gold: #F2C94C;
  --masa: #E2A455;

  /* Tipografía */
  --font-display: "The Grenhil Rough", Georgia, serif;
  --font-sans: "Avenir", "Avenir Next", "Century Gothic", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", ui-monospace, Menlo, Consolas, monospace;

  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 96px;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-pill: 9999px;
  --shadow-1: 0 1px 3px rgba(14,17,22,0.07);
  --shadow-2: 0 6px 16px rgba(14,17,22,0.09);
  --shadow-3: 0 16px 40px rgba(14,17,22,0.16);

  --wa-green: #25D366;
  --wa-green-dark: #1DA745;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--fg-1);
  background: var(--neutral-100);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

::selection { background: var(--et-300); color: var(--et-900); }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section { padding: var(--space-3xl) 0; }

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--et-500);
  margin-bottom: var(--space-md);
}

.section-eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--et-500);
  border-radius: 2px;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.6vw, 52px);
  line-height: 1.08;
  margin-bottom: var(--space-md);
  letter-spacing: 0.5px;
  text-wrap: balance;
}

.section-sub {
  font-size: 17px;
  color: var(--fg-3);
  max-width: 600px;
  margin-bottom: var(--space-2xl);
}

.center { text-align: center; }
.center .section-sub { margin-left: auto; margin-right: auto; }
.center .section-eyebrow::before { display: none; }
.center .section-eyebrow::after { display: none; }

/* Iconos SVG */
.icon-svg { width: 26px; height: 26px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ============ SCROLL REVEAL ============ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible { opacity: 1; transform: none; }

.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }
.reveal-d5 { transition-delay: 0.40s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .marquee-track { animation: none !important; }
  .hero-illustration { animation: none !important; }
  .steam path { animation: none !important; }
}

/* ============ NAVBAR ============ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 300;
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(251, 250, 246, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--neutral-300);
  box-shadow: 0 2px 20px rgba(14,17,22,0.06);
}

.navbar-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: var(--space-md);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--cream);
  transition: color 0.3s ease;
}

.navbar.scrolled .navbar-brand { color: var(--fg-1); }

.navbar-brand img { height: 44px; width: auto; }

.navbar-brand span {
  font-family: var(--font-display);
  font-size: 21px;
  letter-spacing: 0.5px;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.navbar-links a {
  text-decoration: none;
  color: rgba(246,239,221,0.85);
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s ease;
  position: relative;
}

.navbar.scrolled .navbar-links a { color: var(--fg-2); }

.navbar-links a:not(.navbar-cta)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -5px;
  width: 0; height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: width 0.25s ease;
}

.navbar-links a:not(.navbar-cta):hover::after { width: 100%; }

.navbar-cta {
  background: var(--wa-green);
  color: white !important;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(37,211,102,0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.navbar-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(37,211,102,0.45); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--cream);
  line-height: 1;
  padding: 8px;
  transition: color 0.3s ease;
}

.navbar.scrolled .nav-toggle { color: var(--fg-1); }

.nav-toggle svg { width: 26px; height: 26px; }

/* ============ HERO ============ */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 600px at 85% -10%, rgba(237,165,147,0.18) 0%, transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(226,114,91,0.35) 0%, transparent 55%),
    linear-gradient(160deg, #3A1812 0%, var(--et-950) 45%, var(--et-900) 100%);
  color: var(--cream);
  padding: 168px 0 0;
  overflow: hidden;
}

.hero-grain {
  position: absolute; inset: 0;
  opacity: 0.5;
  background-image: radial-gradient(rgba(246,239,221,0.05) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: var(--space-2xl);
  align-items: center;
  padding-bottom: 110px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--et-300);
  border: 1px solid rgba(237,165,147,0.4);
  border-radius: var(--radius-pill);
  padding: 8px 18px;
  margin-bottom: var(--space-lg);
}

.hero-kicker .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--wa-green);
  box-shadow: 0 0 0 0 rgba(37,211,102,0.6);
  animation: pulse-dot 2.2s infinite;
}

@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.55); }
  70% { box-shadow: 0 0 0 9px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(42px, 6vw, 78px);
  line-height: 1.04;
  letter-spacing: 0.5px;
  margin-bottom: var(--space-lg);
  text-wrap: balance;
}

.hero h1 em {
  font-style: normal;
  color: var(--gold);
  position: relative;
  white-space: nowrap;
}

.hero h1 em svg {
  position: absolute;
  left: 0; bottom: -10px;
  width: 100%; height: 12px;
}

.hero p {
  font-size: 18px;
  color: rgba(246,239,221,0.78);
  max-width: 520px;
  margin-bottom: var(--space-xl);
}

.hero-ctas {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-bottom: var(--space-2xl);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font-sans);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn svg { width: 20px; height: 20px; }

.btn-primary {
  background: var(--wa-green);
  color: white;
  box-shadow: 0 8px 24px rgba(37,211,102,0.35);
}

.btn-primary:hover { background: var(--wa-green-dark); transform: translateY(-3px); box-shadow: 0 14px 30px rgba(37,211,102,0.45); }

.btn-ghost {
  background: rgba(246,239,221,0.08);
  color: var(--cream);
  border: 1.5px solid rgba(246,239,221,0.35);
}

.btn-ghost:hover { background: rgba(246,239,221,0.16); transform: translateY(-3px); }

/* mini-badges del hero */
.hero-trust {
  display: flex;
  gap: var(--space-xl);
  flex-wrap: wrap;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(246,239,221,0.8);
}

.hero-trust-item .icon-svg { width: 20px; height: 20px; color: var(--et-300); flex-shrink: 0; }

/* Ilustración: empanada artesanal en SVG */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-illustration {
  width: min(460px, 100%);
  height: auto;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.4));
  animation: float-soft 7s ease-in-out infinite;
}

@keyframes float-soft {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-14px) rotate(0.5deg); }
}

.hero-illustration .steam path {
  animation: steam-rise 3.4s ease-in-out infinite;
}

.hero-illustration .steam path:nth-child(2) { animation-delay: 0.6s; }
.hero-illustration .steam path:nth-child(3) { animation-delay: 1.2s; }

@keyframes steam-rise {
  0%, 100% { opacity: 0.25; transform: translateY(0); }
  50% { opacity: 0.65; transform: translateY(-7px); }
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: auto 10% -6% 10%;
  height: 50px;
  background: radial-gradient(ellipse, rgba(0,0,0,0.4) 0%, transparent 70%);
  z-index: -1;
}

/* chip flotante sobre la ilustración */
.hero-chip {
  position: absolute;
  background: var(--neutral-50);
  color: var(--fg-1);
  border-radius: var(--radius);
  padding: 12px 18px;
  box-shadow: var(--shadow-3);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
}

.hero-chip small { display: block; font-weight: 400; color: var(--fg-3); font-size: 11.5px; }

.hero-chip.chip-a { top: 4%; right: 0; animation: float-soft 6s ease-in-out infinite reverse; }
.hero-chip.chip-b { bottom: 10%; left: -2%; animation: float-soft 8s ease-in-out infinite; }

.hero-chip .icon-svg { width: 22px; height: 22px; color: var(--et-500); }

/* ============ MARQUEE ============ */
.marquee {
  background: var(--et-950);
  border-top: 1px solid rgba(246,239,221,0.12);
  overflow: hidden;
  padding: 16px 0;
}

.marquee-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: marquee 36s linear infinite;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 48px;
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(246,239,221,0.55);
  white-space: nowrap;
}

.marquee-item::after { content: "✦"; color: var(--et-300); font-size: 12px; }

/* ============ STATS BAND ============ */
.stats-band {
  background: var(--et-700);
  color: var(--cream);
  padding: var(--space-2xl) 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  text-align: center;
}

.stat-item { padding: 0 var(--space-md); position: relative; }

.stat-item + .stat-item::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 1px; height: 56px;
  background: rgba(246,239,221,0.18);
}

.stat-value {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.6vw, 44px);
  color: var(--gold);
  line-height: 1.1;
  margin-bottom: 4px;
}

.stat-label { font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(246,239,221,0.7); }

/* ============ CATÁLOGO ============ */
#productos { background: var(--neutral-50); border-top: 1px solid var(--neutral-300); border-bottom: 1px solid var(--neutral-300); }

.catalog-controls {
  display: flex;
  gap: var(--space-sm);
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-xl);
}

.tab-btn {
  padding: 11px 22px;
  border: 1px solid var(--neutral-300);
  border-radius: var(--radius-pill);
  background: var(--neutral-0);
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-sans);
  color: var(--fg-2);
  transition: all 0.2s ease;
}

.tab-btn:hover { border-color: var(--fg-1); transform: translateY(-1px); }

.tab-btn.active {
  background: var(--et-700);
  color: var(--cream);
  border-color: var(--et-700);
  box-shadow: 0 4px 12px rgba(176,82,65,0.3);
}

.search-box {
  padding: 11px 18px 11px 42px;
  border: 1px solid var(--neutral-300);
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-family: var(--font-sans);
  width: 250px;
  margin-left: auto;
  background: var(--neutral-0) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236E695F' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E") 16px center no-repeat;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.search-box:focus { outline: none; border-color: var(--et-500); box-shadow: 0 0 0 4px var(--et-50); }

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  gap: var(--space-lg);
}

.product-card {
  background: var(--neutral-0);
  border: 1px solid var(--neutral-300);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-3); }

.product-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--neutral-200);
}

div.product-image { display: flex; align-items: center; justify-content: center; }
div.product-image svg { height: 150px; width: auto; }

.product-body {
  padding: var(--space-md) var(--space-md) var(--space-lg);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-tipo {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
  margin-bottom: var(--space-sm);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--et-50);
  color: var(--et-700);
}

.product-name {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: var(--space-xs);
  line-height: 1.3;
}

.product-description {
  font-size: 13px;
  color: var(--fg-3);
  margin-bottom: var(--space-md);
  flex-grow: 1;
  line-height: 1.5;
}

.product-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: var(--space-sm);
}

.spec-chip {
  background: var(--neutral-200);
  color: var(--fg-2);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: 11.5px;
  font-weight: 600;
}

.product-presentation {
  font-size: 12px;
  color: var(--fg-3);
  margin-bottom: var(--space-md);
  font-style: italic;
}

.btn-cotizar {
  background: var(--et-500);
  color: white;
  padding: 12px 16px;
  border: none;
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  font-weight: 700;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-cotizar svg { width: 17px; height: 17px; }

.btn-cotizar:hover { background: var(--et-700); transform: translateY(-2px); }

.catalog-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: var(--space-2xl);
  color: var(--fg-3);
}

/* skeleton de carga */
.skeleton-card {
  border-radius: var(--radius);
  border: 1px solid var(--neutral-300);
  overflow: hidden;
  background: var(--neutral-0);
}

.skeleton-card .sk-img { height: 200px; }
.skeleton-card .sk-line { height: 14px; border-radius: 7px; margin: 14px 16px 0; }
.skeleton-card .sk-line.short { width: 50%; margin-bottom: 18px; }

.sk-img, .sk-line {
  background: linear-gradient(90deg, var(--neutral-200) 25%, var(--neutral-100) 50%, var(--neutral-200) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
}

@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* ============ PROPUESTA DE VALOR ============ */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.value-card {
  background: var(--neutral-0);
  border: 1px solid var(--neutral-300);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.value-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--et-500), var(--et-300));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); border-color: var(--et-100); }
.value-card:hover::before { transform: scaleX(1); }

.value-icon {
  width: 54px; height: 54px;
  border-radius: var(--radius);
  background: var(--et-50);
  color: var(--et-700);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
}

.value-card h3 { font-size: 17px; margin-bottom: var(--space-sm); font-weight: 700; }

.value-card p { font-size: 14px; color: var(--fg-3); }

/* ============ CÓMO FUNCIONA ============ */
#como-funciona {
  background:
    radial-gradient(700px 400px at 110% 10%, rgba(237,165,147,0.18) 0%, transparent 60%),
    var(--et-50);
  border-top: 1px solid var(--et-100);
  border-bottom: 1px solid var(--et-100);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  position: relative;
  margin-top: var(--space-2xl);
}

/* línea conectora */
.steps-grid::before {
  content: "";
  position: absolute;
  top: 32px;
  left: 16%;
  right: 16%;
  height: 2px;
  background-image: linear-gradient(90deg, var(--et-300) 50%, transparent 50%);
  background-size: 14px 2px;
}

.step-card { text-align: center; position: relative; }

.step-number {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--neutral-50);
  border: 2px solid var(--et-500);
  color: var(--et-700);
  font-family: var(--font-display);
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 8px var(--et-50);
}

.step-card h3 { font-size: 21px; margin-bottom: var(--space-sm); font-family: var(--font-display); font-weight: 400; }

.step-card p { font-size: 14.5px; color: var(--fg-3); max-width: 290px; margin: 0 auto; }

/* ============ PARA TU NEGOCIO ============ */
.business-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.business-card {
  background: var(--neutral-0);
  border: 1px solid var(--neutral-300);
  border-radius: var(--radius);
  padding: var(--space-lg);
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.business-card:hover { border-color: var(--et-500); box-shadow: var(--shadow-2); transform: translateY(-3px); }

.business-icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--et-50);
  color: var(--et-700);
  display: flex;
  align-items: center;
  justify-content: center;
}

.business-icon .icon-svg { width: 22px; height: 22px; }

.business-card h3 { font-size: 15.5px; margin-bottom: 3px; }

.business-card p { font-size: 13px; color: var(--fg-3); }

.business-note {
  text-align: center;
  margin-top: var(--space-2xl);
  font-size: 15px;
  color: var(--fg-3);
}

.business-note a { color: var(--et-500); font-weight: 700; text-decoration: none; }
.business-note a:hover { text-decoration: underline; }

/* ============ CTA CONTACTO ============ */
#contacto {
  background:
    radial-gradient(900px 500px at 50% 120%, rgba(237,165,147,0.22) 0%, transparent 60%),
    var(--et-950);
  color: var(--cream);
  text-align: center;
  position: relative;
  overflow: hidden;
}

#contacto .section-eyebrow { color: var(--et-300); justify-content: center; }

#contacto .section-heading { font-size: clamp(38px, 5.4vw, 64px); }

#contacto .section-sub { color: rgba(246,239,221,0.7); }

.contact-phone {
  font-family: var(--font-mono);
  font-size: clamp(20px, 2.6vw, 28px);
  font-weight: 600;
  margin: var(--space-lg) 0 var(--space-xl);
  letter-spacing: 2px;
  color: var(--gold);
}

.contact-secondary {
  margin-top: var(--space-xl);
  font-size: 14px;
  color: rgba(246,239,221,0.6);
}

.contact-secondary a { color: var(--et-300); }

/* ============ FOOTER ============ */
.footer {
  background: #2B120D;
  color: rgba(246,239,221,0.75);
  padding: var(--space-2xl) 0 var(--space-lg);
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
}

.footer-brand img { height: 56px; width: auto; margin-bottom: var(--space-md); }

.footer-brand p { font-size: 13px; color: rgba(246,239,221,0.45); max-width: 280px; }

.footer h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: var(--space-md);
  color: var(--et-300);
}

.footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }

.footer a { color: rgba(246,239,221,0.7); text-decoration: none; transition: color 0.2s ease; }
.footer a:hover { color: var(--cream); }

.footer-bottom {
  border-top: 1px solid rgba(246,239,221,0.1);
  padding-top: var(--space-lg);
  font-size: 12px;
  color: rgba(246,239,221,0.4);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

/* ============ FAB WHATSAPP ============ */
.wa-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 400;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--wa-green);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 28px rgba(37,211,102,0.45);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}

.wa-fab svg { width: 30px; height: 30px; }

.wa-fab:hover { transform: scale(1.1) translateY(-3px); box-shadow: 0 16px 36px rgba(37,211,102,0.55); }

.wa-fab::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--wa-green);
  animation: fab-ring 2.4s ease-out infinite;
}

@keyframes fab-ring {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.55); opacity: 0; }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; padding-bottom: 80px; }
  .hero-visual { order: -1; }
  .hero-illustration { width: min(340px, 75%); }
  .hero-chip.chip-a { right: 4%; }
  .hero-chip.chip-b { left: 4%; }
  .value-grid, .business-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: 1fr; gap: var(--space-2xl); }
  .steps-grid::before { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: var(--space-xl); }
  .stat-item:nth-child(3)::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .navbar { background: rgba(251, 250, 246, 0.92); backdrop-filter: blur(14px); border-bottom-color: var(--neutral-300); }
  .navbar .navbar-brand, .navbar .nav-toggle { color: var(--fg-1); }

  .navbar-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0; right: 0;
    background: var(--neutral-50);
    flex-direction: column;
    align-items: stretch;
    padding: var(--space-md) var(--space-lg) var(--space-lg);
    gap: var(--space-md);
    border-bottom: 1px solid var(--neutral-300);
    box-shadow: var(--shadow-2);
  }

  .navbar-links.open { display: flex; }
  .navbar-links a { color: var(--fg-2) !important; font-size: 16px; padding: 6px 0; }
  .navbar-links a:not(.navbar-cta)::after { display: none; }
  .navbar-cta { text-align: center; justify-content: center; color: white !important; }
  .nav-toggle { display: block; }

  .hero { padding-top: 110px; }
  .hero h1 { font-size: clamp(36px, 10vw, 44px); }
  .hero h1 em { white-space: normal; }
  .hero h1 em svg { display: none; }
  .hero-kicker { font-size: 10.5px; letter-spacing: 1.5px; padding: 7px 14px; }
  .hero-illustration { width: min(260px, 64%); }
  .hero p { font-size: 16px; }
  .hero-ctas .btn { width: 100%; }
  .hero-trust { flex-direction: column; gap: var(--space-md); }
  .hero-chip { display: none; }

  .section { padding: 64px 0; }

  .value-grid, .business-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-item::before { display: none !important; }

  .search-box { width: 100%; margin-left: 0; }

  .footer-grid { grid-template-columns: 1fr; gap: var(--space-lg); }
  .footer-bottom { flex-direction: column; }

  .wa-fab { width: 54px; height: 54px; right: 16px; bottom: 16px; }
}
