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

@font-face {
  font-family: 'Inter';
  src: url('fonts/Inter-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('fonts/Inter-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --forest:      #14584D;
  --forest-mid:  #1B6B5C;
  --forest-pale: #E6F2EE;
  --terra:       #D94F24;
  --terra-pale:  #FBE9E1;
  --terra-mid:   #BC431D;
  --cream:       #F5F0E8;
  --warm-white:  #FDFAF5;
  --bark:        #2A1F16;
  --bark-mid:    #4A3728;
  --muted:       #7A6658;
  --border:      #DDD5C8;
  --shadow:      0 4px 24px rgba(27,94,69,0.10);
  --shadow-lg:   0 12px 48px rgba(27,94,69,0.14);
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: var(--cream); color: var(--bark); line-height: 1.65; overflow-x: hidden; }

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: rgba(27,94,69,0.97); backdrop-filter: blur(16px);
  height: 60px; display: flex; align-items: center;
  padding: 0 3rem; gap: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-logo {
  font-family: 'Fraunces', serif; font-size: 1.4rem; font-weight: 700;
  color: white; text-decoration: none;
  display: flex; align-items: center; gap: 10px; flex-shrink: 0;
}
.nav-logo-icon {
  height: 34px; width: auto; display: block; flex-shrink: 0;
}
.nav-logo span { color: var(--terra); }
.nav-links { display: flex; gap: 0; list-style: none; margin-left: auto; }
.nav-links a {
  color: rgba(255,255,255,0.75); text-decoration: none;
  font-size: 0.875rem; font-weight: 400;
  padding: 7px 15px; border-radius: 6px; transition: all 0.18s;
}
.nav-links a:hover { color: white; background: rgba(255,255,255,0.10); }
.nav-cta { background: var(--terra) !important; color: white !important; border-radius: 100px !important; padding: 7px 20px !important; font-weight: 500 !important; }
.nav-cta:hover { background: var(--terra-mid) !important; }

/* HERO */
.hero {
  min-height: 100vh; background: var(--forest);
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; padding: 100px 5rem 80px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; right: -80px; bottom: -80px;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(217,94,43,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.8); font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 100px; margin-bottom: 1.75rem;
}
.hero-eyebrow::before { content: '●'; color: var(--terra); font-size: 0.45rem; }
.hero h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.6rem, 4.5vw, 3.8rem); font-weight: 700;
  line-height: 1.12; color: white; margin-bottom: 1.25rem;
}
.hero h1 em { font-style: italic; color: #8ECFB5; }
.hero p { color: rgba(255,255,255,0.62); font-size: 1.05rem; line-height: 1.75; max-width: 420px; margin-bottom: 2.25rem; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-primary {
  background: var(--terra); color: white; padding: 13px 26px; border-radius: 100px;
  font-weight: 500; font-size: 0.92rem; text-decoration: none; border: none; cursor: pointer;
  transition: all 0.2s; display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary:hover { background: var(--terra-mid); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(217,94,43,0.35); }
.btn-ghost {
  background: transparent; color: rgba(255,255,255,0.8); padding: 13px 26px; border-radius: 100px;
  font-weight: 400; font-size: 0.92rem; text-decoration: none;
  border: 1.5px solid rgba(255,255,255,0.2); cursor: pointer; transition: all 0.2s;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.5); color: white; }
.hero-stats {
  display: flex; gap: 2.5rem; margin-top: 3rem; padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.stat-num { font-family: 'Fraunces', serif; font-size: 2rem; font-weight: 700; color: white; line-height: 1; }
.stat-label { font-size: 0.78rem; color: rgba(255,255,255,0.45); margin-top: 4px; }
.hero-early-note { margin-top: 1.5rem; font-size: 0.85rem; color: rgba(255,255,255,0.55); }
.hero-visual { display: flex; justify-content: center; align-items: center; padding-left: 3rem; position: relative; }
.hero-photo-frame { position: relative; width: 100%; max-width: 460px; animation: float1 5s ease-in-out infinite; }
.hero-photo { width: 100%; height: 340px; object-fit: cover; border-radius: 24px; border: 1px solid rgba(255,255,255,0.1); box-shadow: var(--shadow-lg); display: block; }
@keyframes float1 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
.pkg-tag {
  position: absolute; bottom: -18px; left: 20px;
  background: white; border-radius: 100px; padding: 7px 16px;
  font-size: 0.73rem; font-weight: 500; color: var(--forest);
  box-shadow: var(--shadow); display: flex; align-items: center; gap: 6px; white-space: nowrap;
}

/* SHARED */
section { scroll-margin-top: 60px; }
.container { padding: 5.5rem 5rem; }
.section-tag {
  display: inline-block; font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--forest); background: var(--forest-pale);
  padding: 4px 12px; border-radius: 100px; margin-bottom: 1rem;
}
.section-tag.light { color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.08); }
.section-title { font-family: 'Fraunces', serif; font-size: clamp(1.8rem, 2.8vw, 2.4rem); font-weight: 700; color: var(--bark); line-height: 1.2; }
.section-title.white { color: white; }
.section-sub { color: var(--muted); font-size: 0.98rem; margin-top: 0.6rem; max-width: 480px; line-height: 1.7; }
.section-sub.white { color: rgba(255,255,255,0.55); }

/* HOW IT WORKS */
#autoridad { background: var(--warm-white); border-bottom: 1px solid var(--border); }
#autoridad .container { padding-top: 1.5rem; padding-bottom: 1.5rem; display: flex; justify-content: center; }
.authority-strip { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }
.authority-chip { display: flex; align-items: center; gap: 8px; background: white; border: 1px solid var(--border); border-radius: 100px; padding: 8px 18px; font-family: 'Fraunces', serif; font-weight: 600; font-size: 0.85rem; color: var(--forest); }
.authority-chip-label { font-family: 'Inter', sans-serif; font-weight: 500; font-size: 0.7rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }

#como-funciona { background: var(--warm-white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
#como-funciona .container { padding-top: 3.5rem; padding-bottom: 3.5rem; }
.how-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin-top: 2rem; }
.how-step { display: flex; flex-direction: column; gap: 0.6rem; }
.how-step-num { width: 36px; height: 36px; border-radius: 10px; background: var(--forest); color: white; font-family: 'Fraunces', serif; font-weight: 700; font-size: 1rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.how-step-title { font-weight: 500; color: var(--bark); font-size: 0.92rem; }
.how-step-desc { font-size: 0.82rem; color: var(--muted); line-height: 1.5; }

/* MENU */
#menu { background: var(--warm-white); }
.menu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 3rem; }
.recipe-card { background: white; border: 1px solid var(--border); border-radius: 20px; overflow: hidden; transition: all 0.25s; display: flex; flex-direction: column; }
.recipe-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.recipe-hero { background: var(--forest); padding: 2rem 1.75rem 1.5rem; position: relative; overflow: hidden; height: 160px; display: flex; flex-direction: column; justify-content: flex-end; }
.recipe-hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.recipe-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(27,94,69,0.1) 0%, var(--forest) 88%); z-index: 1; }
.recipe-hero::after { content: ''; position: absolute; right: -30px; top: -30px; width: 120px; height: 120px; border-radius: 50%; background: rgba(255,255,255,0.06); z-index: 1; }
.recipe-card.orange .recipe-hero::before { background: linear-gradient(180deg, rgba(217,94,43,0.1) 0%, var(--terra) 88%); }
.recipe-card.dark .recipe-hero::before { background: linear-gradient(180deg, rgba(42,31,22,0.1) 0%, var(--bark) 88%); }
.recipe-badge { position: relative; z-index: 2; font-size: 0.65rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.55); display: block; margin-bottom: 0.25rem; }
.recipe-name { position: relative; z-index: 2; font-family: 'Fraunces', serif; font-size: 1.25rem; font-weight: 600; color: white; line-height: 1.2; }
.recipe-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.recipe-ingredients { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 1.25rem; }
.ingr-pill { font-size: 0.73rem; color: var(--muted); background: var(--cream); border: 1px solid var(--border); padding: 3px 10px; border-radius: 100px; }
.recipe-macros { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 1.25rem; }
.macro-item { text-align: center; background: var(--cream); border-radius: 10px; padding: 8px 4px; }
.macro-val { font-family: 'Fraunces', serif; font-size: 1rem; font-weight: 600; color: var(--forest); line-height: 1; }
.macro-label { font-size: 0.65rem; color: var(--muted); margin-top: 2px; }
.recipe-footer { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--border); }
.recipe-kcal { font-size: 0.8rem; color: var(--muted); }
.btn-sm { background: var(--forest); color: white; padding: 8px 18px; border-radius: 100px; font-size: 0.8rem; font-weight: 500; text-decoration: none; border: none; cursor: pointer; transition: all 0.18s; }
.btn-sm:hover { background: var(--forest-mid); }
.btn-sm.terra { background: var(--terra); }
.btn-sm.terra:hover { background: var(--terra-mid); }
.btn-sm.dark-btn { background: var(--bark); }
.btn-sm.dark-btn:hover { background: var(--bark-mid); }

/* COMENTARIOS */
#comentarios { background: linear-gradient(135deg, #17130f 0%, #241b14 100%); }
.reviews-heading { text-align: center; max-width: 680px; margin: 0 auto; }
.reviews-heading .section-sub { margin-left: auto; margin-right: auto; }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 2.75rem; }
.review-card {
  background: rgba(0,0,0,0.42); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px; padding: 1.7rem 1.4rem; text-align: center;
  box-shadow: 0 14px 38px rgba(0,0,0,0.20);
}
.review-dog {
  width: 112px; height: 112px; border-radius: 50%; object-fit: cover;
  display: block; margin: 0 auto 1rem; border: 3px solid rgba(255,255,255,0.10);
}
.review-bark {
  font-family: 'Fraunces', serif; font-size: 1.35rem; font-weight: 600;
  color: white; line-height: 1.25; margin-bottom: 0.7rem;
}
.review-translation { color: rgba(255,255,255,0.66); font-size: 0.84rem; line-height: 1.55; }
.review-name { color: var(--terra); font-size: 0.74rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; margin-top: 1rem; }

/* NUTRITION */
#contenido { background: var(--cream); }
.content-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; align-items: start; }
.content-left h2 { font-family: 'Fraunces', serif; font-size: clamp(1.8rem, 2.5vw, 2.2rem); color: var(--bark); margin: 1rem 0; line-height: 1.2; }
.content-left p { color: var(--muted); line-height: 1.75; margin-bottom: 1rem; font-size: 0.95rem; }
.composition-bars { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 14px; }
.comp-header { display: flex; justify-content: space-between; font-size: 0.82rem; margin-bottom: 6px; }
.comp-name { font-weight: 500; color: var(--bark); }
.comp-pct { color: var(--forest); font-weight: 600; font-family: 'Fraunces', serif; }
.comp-bar-bg { height: 6px; background: var(--border); border-radius: 100px; overflow: hidden; }
.comp-bar-fill { height: 100%; border-radius: 100px; background: var(--forest); }
.comp-bar-fill.terra { background: var(--terra); }
.comp-bar-fill.bark { background: var(--bark-mid); }
.comp-bar-fill.light { background: #8ECFB5; }
.safety-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 1.5rem; }
.safety-pill { display: flex; align-items: center; gap: 8px; background: var(--warm-white); border: 1px solid var(--border); border-radius: 10px; padding: 9px 12px; font-size: 0.78rem; color: var(--muted); }
.safety-pill .check { color: var(--forest); }
.mix-callout { background: var(--forest); border-radius: 16px; padding: 1.5rem; margin-top: 1.5rem; display: flex; gap: 1rem; align-items: flex-start; }
.mix-callout-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: 2px; }
.mix-callout h4 { font-family: 'Fraunces', serif; color: white; font-size: 1rem; margin-bottom: 0.25rem; }
.mix-callout p { color: rgba(255,255,255,0.6); font-size: 0.8rem; line-height: 1.5; }
.nutrient-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.nutrient-card { background: white; border: 1px solid var(--border); border-radius: 14px; padding: 1.25rem; display: flex; flex-direction: column; gap: 4px; }
.nutrient-card:first-child { border-color: var(--forest); }
.n-icon { font-size: 1.5rem; }
.n-pct { font-family: 'Fraunces', serif; font-size: 1.75rem; font-weight: 700; color: var(--forest); line-height: 1; }
.n-name { font-size: 0.82rem; font-weight: 500; color: var(--bark); }
.n-desc { font-size: 0.73rem; color: var(--muted); line-height: 1.4; }
.norms-card { background: var(--warm-white); border: 1px solid var(--border); border-radius: 16px; padding: 1.5rem; margin-top: 1.5rem; }
.norms-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 0.75rem; font-weight: 500; }
.norm-row { display: flex; gap: 10px; align-items: center; font-size: 0.82rem; color: var(--muted); margin-bottom: 8px; }
.norm-row strong { color: var(--forest); font-weight: 600; }
.norms-note { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--border); font-size: 0.75rem; color: var(--muted); }

/* CALCULATOR */
#cta-final { background: var(--forest); text-align: center; }
#cta-final .container { padding-top: 4.5rem; padding-bottom: 4.5rem; }
#cta-final .section-title { color: white; margin: 0 auto; max-width: 560px; }
#cta-final .section-sub { color: rgba(255,255,255,0.65); margin: 0.9rem auto 2rem; }
#cta-final .btn-primary { display: inline-flex; }
.cta-final-microcopy { margin-top: 1.25rem; font-size: 0.78rem; color: rgba(255,255,255,0.5); }

#calculadora { background: var(--forest); }

.calc-tools-card { max-width: 980px; margin: 0 auto; background: var(--warm-white); border-radius: 24px; padding: 2rem; text-align: left; font-size: 0.9rem; color: var(--bark); }
.opt-cta-btn { width: 100%; margin-top: 14px; padding: 12px; border: none; border-radius: 100px; background: var(--terra); color: white; font-size: 0.85rem; font-weight: 500; cursor: pointer; font-family: 'Inter', sans-serif; transition: background 0.2s; }
.opt-cta-btn:hover { background: var(--terra-mid); }
.opt-detail-toggle { width: 100%; text-align: left; padding: 8px 0; border: none; background: transparent; color: var(--muted); font-size: 0.75rem; font-weight: 500; cursor: pointer; font-family: 'Inter', sans-serif; margin-bottom: 8px; }
.opt-detail-toggle:hover { color: var(--bark); }

/* Tabla de nutrientes */
.nt-header { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-bottom: 6px; }
.nt-title { font-family: 'Fraunces', serif; font-size: 1rem; font-weight: 500; color: var(--bark); margin: 0; }
.nt-subtitle { font-size: 0.75rem; color: var(--muted); }
.nt-filters { display: flex; gap: 5px; margin-bottom: 12px; flex-wrap: wrap; align-items: center; }
.nt-filter-btn { padding: 3px 10px; font-size: 0.7rem; border-radius: 20px; cursor: pointer; border: 1px solid var(--border); background: transparent; font-weight: 400; color: var(--bark); font-family: 'Inter', sans-serif; }
.nt-filter-btn.active { border-color: var(--forest); background: var(--forest-pale); font-weight: 500; }
.nt-count { font-size: 0.7rem; color: var(--muted); margin-left: 4px; }
.nt-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); }
.nt-tab-btn { padding: 6px 14px; font-size: 0.8rem; font-weight: 400; border: none; background: transparent; cursor: pointer; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; font-family: 'Inter', sans-serif; }
.nt-tab-btn.active { color: var(--bark); font-weight: 500; border-bottom-color: var(--bark); }
.nt-table-wrap { overflow-x: auto; }
.nt-table { width: 100%; border-collapse: collapse; font-size: 0.75rem; table-layout: fixed; }
.nt-head-row { border-bottom: 1px solid var(--border); }
.nt-head-cell { text-align: right; padding: 6px 4px; font-weight: 500; color: var(--muted); font-size: 0.68rem; }
.nt-head-left { text-align: left; padding: 6px 8px; }
.nt-head-unit { font-weight: 400; opacity: 0.7; }
.nt-group-row { padding: 10px 8px 4px; font-size: 0.62rem; font-weight: 500; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; border-top: 1px solid var(--border); }
.nt-name-cell { padding: 5px 8px; }
.nt-name { font-size: 0.75rem; color: var(--bark); }
.nt-tier { font-size: 0.62rem; padding: 1px 6px; border-radius: 4px; white-space: nowrap; margin-left: 6px; }
.nt-val-cell { text-align: right; padding: 5px 4px; font-variant-numeric: tabular-nums; font-size: 0.75rem; }
.nt-notes-cell { padding: 5px 8px; font-size: 0.68rem; color: var(--muted); line-height: 1.4; }
.nt-legend { margin-top: 14px; display: flex; gap: 12px; flex-wrap: wrap; font-size: 0.68rem; color: var(--muted); }
.nt-legend-item { display: flex; align-items: center; gap: 5px; }
.nt-legend-swatch { width: 11px; height: 11px; border-radius: 2px; display: inline-block; }
.nt-flags { margin-top: 10px; padding: 10px 12px; background: var(--cream); border-radius: 8px; font-size: 0.68rem; color: var(--muted); line-height: 1.6; }
.nt-flags strong { color: var(--bark); }

/* Optimizador de recetas */
.opt-header { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.opt-title { font-size: 0.95rem; font-weight: 500; color: var(--bark); margin-bottom: 2px; }
.opt-subtitle { font-size: 0.7rem; color: var(--muted); }
.opt-controls { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; padding: 12px 14px; background: var(--cream); border-radius: 8px; flex-wrap: wrap; }
.opt-controls-label { font-size: 0.62rem; color: var(--muted); margin-bottom: 4px; }
.opt-select { font-size: 0.8rem; padding: 5px 8px; border-radius: 4px; border: 1px solid var(--border); font-family: 'Inter', sans-serif; }
.opt-run-btn { margin-top: 14px; padding: 7px 20px; font-size: 0.8rem; font-weight: 500; background: var(--bark); color: white; border: none; border-radius: 6px; cursor: pointer; font-family: 'Inter', sans-serif; }
.opt-run-btn:disabled { background: var(--border); color: var(--muted); cursor: not-allowed; }
.opt-summary { font-size: 0.68rem; color: var(--muted); line-height: 1.5; }
.opt-placeholder { text-align: center; padding: 40px 0; color: var(--muted); font-size: 0.8rem; }
.opt-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.5fr); gap: 16px; }
.opt-section-label { font-size: 0.62rem; font-weight: 500; color: var(--muted); text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 8px; }
.opt-comp-table { width: 100%; border-collapse: collapse; font-size: 0.75rem; }
.opt-comp-table tr { border-bottom: 0.5px solid var(--border); }
.opt-comp-name-cell { padding: 5px 0; }
.opt-comp-name { font-size: 0.75rem; color: var(--bark); }
.opt-comp-role { font-size: 0.62rem; color: var(--muted); }
.opt-comp-grams { text-align: right; padding: 5px 0; font-variant-numeric: tabular-nums; font-size: 0.75rem; white-space: nowrap; }
.opt-comp-pct { text-align: right; padding: 5px 0 5px 6px; font-size: 0.68rem; color: var(--muted); white-space: nowrap; }
.opt-stats-grid { margin-top: 10px; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 5px; }
.opt-stat-box { background: var(--cream); border-radius: 6px; padding: 6px 8px; }
.opt-stat-label { font-size: 0.56rem; color: var(--muted); margin-bottom: 2px; }
.opt-stat-val { font-size: 0.85rem; font-weight: 500; color: var(--bark); }
.opt-ratios-grid { margin-top: 6px; display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
.opt-ratio-box { border-radius: 6px; padding: 6px 8px; }
.opt-ratio-label { font-size: 0.56rem; margin-bottom: 2px; }
.opt-ratio-val { font-size: 0.85rem; font-weight: 500; }
.opt-supp-block { margin-top: 8px; }
.opt-supp-item { padding: 5px 8px; border-radius: 5px; background: #FAEEDA; margin-bottom: 4px; font-size: 0.68rem; color: #854F0B; }
.opt-supp-label { font-weight: 500; }
.opt-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); margin-bottom: 8px; }
.opt-tab-btn { padding: 4px 12px; font-size: 0.75rem; font-weight: 400; border: none; background: transparent; cursor: pointer; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; font-family: 'Inter', sans-serif; }
.opt-tab-btn.active { color: var(--bark); font-weight: 500; border-bottom-color: var(--bark); }
.opt-score-group { margin-bottom: 8px; }
.opt-score-group-label { font-size: 0.56rem; font-weight: 500; color: var(--muted); text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 4px; }
.opt-score-row { display: flex; align-items: center; gap: 6px; margin-bottom: 3px; }
.opt-score-name { width: 96px; font-size: 0.68rem; color: var(--muted); flex-shrink: 0; line-height: 1.2; }
.opt-score-pct { width: 38px; text-align: right; font-size: 0.68rem; font-variant-numeric: tabular-nums; flex-shrink: 0; }
.opt-score-icon { width: 14px; font-size: 0.62rem; flex-shrink: 0; }
.opt-bar-bg { flex: 1; height: 8px; background: var(--cream); border-radius: 3px; overflow: hidden; }
.opt-bar-fill { height: 100%; border-radius: 3px; transition: width 0.5s ease; }
.opt-etarget-note { margin-top: 4px; font-size: 0.62rem; color: var(--muted); }
.opt-nutr-table { width: 100%; border-collapse: collapse; font-size: 0.68rem; }
.opt-nutr-th { text-align: right; font-weight: 500; color: var(--muted); font-size: 0.62rem; padding: 3px 0; }
.opt-nutr-th-left { text-align: left; }
.opt-nutr-td { padding: 4px 0; text-align: right; border-bottom: 0.5px solid var(--border); }
.opt-nutr-td-left, .opt-nutr-td:first-child { text-align: left; }
.opt-nutr-badge { font-size: 0.62rem; padding: 1px 5px; border-radius: 4px; }
.opt-footnote { margin-top: 10px; font-size: 0.62rem; color: var(--muted); line-height: 1.5; border-top: 1px solid var(--border); padding-top: 8px; }

@media (max-width: 900px) {
  .opt-grid { grid-template-columns: 1fr; }
  .nt-filters { gap: 4px; }
}

/* ABOUT */
#nosotros { background: var(--warm-white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.about-content h2 { font-family: 'Fraunces', serif; font-size: clamp(1.8rem, 2.5vw, 2.2rem); color: var(--bark); line-height: 1.2; margin-bottom: 1.25rem; }
.about-content h2 em { font-style: italic; color: var(--forest); }
.about-content p { color: var(--muted); font-size: 0.95rem; line-height: 1.75; margin-bottom: 1rem; }
.pillars { display: flex; flex-direction: column; gap: 20px; margin-top: 1.75rem; }
.pilar-card { display: flex; gap: 1rem; padding: 1.25rem; border-radius: 14px; border: 1px solid var(--border); background: var(--cream); transition: border-color 0.2s; }
.pilar-card:hover { border-color: var(--forest); }
.pilar-num { width: 36px; height: 36px; border-radius: 10px; background: var(--forest); color: white; font-family: 'Fraunces', serif; font-weight: 700; font-size: 1rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.pilar-num.t { background: var(--terra); }
.pilar-num.b { background: var(--bark-mid); }
.pilar-title { font-weight: 500; color: var(--bark); font-size: 0.9rem; margin-bottom: 0.2rem; }
.pilar-desc { font-size: 0.8rem; color: var(--muted); line-height: 1.5; }
.about-sidebar { position: sticky; top: 80px; }
.about-photo { width: 100%; height: 280px; object-fit: cover; border-radius: 20px; margin-bottom: 1.5rem; box-shadow: var(--shadow); display: block; }
.about-quote { background: var(--forest); border-radius: 20px; padding: 2rem; margin-bottom: 1.5rem; }
.about-quote blockquote { font-family: 'Fraunces', serif; font-size: 1.15rem; font-style: italic; color: white; line-height: 1.5; margin-bottom: 1rem; }
.about-quote cite { font-size: 0.78rem; color: rgba(255,255,255,0.45); font-style: normal; }
.vocab-card { background: white; border: 1px solid var(--border); border-radius: 16px; padding: 1.5rem; }
.vocab-card h4 { font-family: 'Fraunces', serif; font-size: 0.9rem; color: var(--bark); margin-bottom: 1rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--border); }
.vocab-item { margin-bottom: 0.75rem; font-size: 0.82rem; }
.vocab-term { font-weight: 500; color: var(--forest); }
.vocab-def { color: var(--muted); margin-top: 1px; line-height: 1.4; }

/* FAQ */
#faq { background: var(--warm-white); }
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 2rem; }
.faq-group-title { font-family: 'Fraunces', serif; font-size: 0.95rem; font-weight: 600; color: var(--forest); margin-bottom: 0.75rem; }
.faq-item { background: white; border: 1px solid var(--border); border-radius: 14px; padding: 0.4rem 1.25rem; margin-bottom: 10px; transition: border-color 0.2s; }
.faq-item:hover { border-color: var(--forest); }
.faq-item summary { padding: 0.85rem 0; font-size: 0.92rem; font-weight: 500; color: var(--bark); cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-family: 'Fraunces', serif; font-size: 1.2rem; color: var(--terra); flex-shrink: 0; transition: transform 0.2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { color: var(--muted); font-size: 0.85rem; line-height: 1.65; padding-bottom: 1rem; }

/* CONTACT */
#contacto { background: var(--cream); }
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 4rem; align-items: start; }
.contact-left h2 { font-family: 'Fraunces', serif; font-size: clamp(1.8rem, 2.5vw, 2.2rem); color: var(--bark); margin: 1rem 0 0.75rem; }
.contact-left p { color: var(--muted); font-size: 0.95rem; line-height: 1.75; margin-bottom: 2rem; }
.contact-channels { display: flex; flex-direction: column; gap: 12px; margin-bottom: 2rem; }
.channel-card { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 14px; border: 1.5px solid var(--border); background: white; text-decoration: none; color: var(--bark); transition: all 0.2s; }
.channel-card:hover { border-color: var(--forest); box-shadow: var(--shadow); }
.channel-icon { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; flex-shrink: 0; }
.ch-green { background: #E6F5EC; }
.ch-orange { background: var(--terra-pale); }
.ch-forest { background: var(--forest-pale); }
.channel-label { font-size: 0.875rem; font-weight: 500; color: var(--bark); display: block; }
.channel-sub { font-size: 0.78rem; color: var(--muted); display: block; margin-top: 1px; }
.checkout-link { display: inline-block; margin-top: 4px; color: var(--forest); font-size: 0.85rem; font-weight: 500; text-decoration: none; }
.checkout-link:hover { color: var(--forest-mid); text-decoration: underline; }
.order-card { background: white; border: 1px solid var(--border); border-radius: 20px; padding: 2rem; }
.order-card h4 { font-family: 'Fraunces', serif; font-size: 1.1rem; color: var(--bark); margin-bottom: 1.25rem; }
.order-field { width: 100%; padding: 11px 14px; border: 1.5px solid var(--border); border-radius: 10px; font-family: 'Inter'; font-size: 0.9rem; color: var(--bark); background: var(--cream); outline: none; transition: border-color 0.2s; margin-bottom: 10px; display: block; -webkit-appearance: none; }
.order-field:focus { border-color: var(--forest); }
textarea.order-field { resize: vertical; min-height: 80px; }
.wa-button { width: 100%; padding: 13px; border: none; border-radius: 100px; background: #25D366; color: white; font-family: 'Inter'; font-size: 0.92rem; font-weight: 500; cursor: pointer; transition: all 0.2s; display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 4px; }
.wa-button:hover { background: #1da851; }

/* FOOTER */
footer { background: var(--bark); padding: 2rem 5rem; display: flex; align-items: center; justify-content: space-between; }
.footer-logo { font-family: 'Fraunces', serif; font-size: 1.2rem; font-weight: 700; color: white; }
.footer-logo span { color: var(--terra); }
.footer-copy { font-size: 0.8rem; color: rgba(255,255,255,0.3); }
.footer-links { display: flex; gap: 16px; }
.footer-links a { color: rgba(255,255,255,0.35); font-size: 0.8rem; text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: rgba(255,255,255,0.7); }

/* NAV MOBILE */
.nav-burger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 32px; height: 32px; background: none; border: none; cursor: pointer; margin-left: auto; padding: 0; }
.nav-burger span { display: block; width: 100%; height: 2px; background: white; border-radius: 2px; transition: transform 0.2s, opacity 0.2s; }
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* WHATSAPP FLOAT */
.wa-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 300;
  width: 56px; height: 56px; border-radius: 50%; background: #25D366;
  display: flex; align-items: center; justify-content: center; font-size: 1.6rem;
  text-decoration: none; box-shadow: 0 6px 20px rgba(0,0,0,0.25); transition: transform 0.2s;
}
.wa-float:hover { transform: scale(1.08); }

/* ACCESSIBILITY UTILITIES */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.order-error { color: #A32D2D; background: #FCEBEB; border-radius: 8px; padding: 8px 12px; font-size: 0.8rem; margin-bottom: 10px; }

/* RESPONSIVE */
@media (max-width: 900px) {
  nav { padding: 0 1.5rem; }
  .nav-burger { display: flex; }
  .nav-links {
    display: none; position: fixed; top: 60px; left: 0; right: 0; z-index: 199;
    flex-direction: column; gap: 0; background: var(--forest);
    padding: 0.5rem 1.5rem 1.5rem; margin-left: 0;
    border-bottom: 1px solid rgba(255,255,255,0.08); box-shadow: var(--shadow-lg);
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 12px 4px; }
  .nav-cta { display: inline-block; margin-top: 8px; text-align: center; }
  .hero { grid-template-columns: 1fr; padding: 90px 1.75rem 3rem; }
  .hero-visual { display: none; }
  .container { padding: 3.5rem 1.75rem; }
  .how-steps { grid-template-columns: 1fr 1fr; }
  .menu-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .content-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-sidebar { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
  footer { flex-direction: column; gap: 1rem; text-align: center; padding: 2rem 1.75rem; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
  .wa-float { bottom: 16px; right: 16px; width: 50px; height: 50px; font-size: 1.4rem; }
  .wa-float.raised { bottom: 76px; }
  .sticky-cta-bar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 150;
    background: var(--warm-white); border-top: 1px solid var(--border);
    padding: 10px 16px; justify-content: center;
    box-shadow: 0 -4px 16px rgba(0,0,0,0.08);
    transform: translateY(100%); transition: transform 0.25s ease;
  }
  .sticky-cta-bar.visible { transform: translateY(0); }
  .sticky-cta-bar .btn-primary { width: 100%; justify-content: center; }
}
.sticky-cta-bar { display: none; }
