/* ==========================================================================
   José Márquez · Dietista
   styles.css — v20260524
   Archetype: Glassmorphism Light adaptado a paleta verde-dorado del logo
   ========================================================================== */

/* --- TOKENS ---------------------------------------------------------------- */
:root {
  --bg:            #f1f5ef;
  --bg-2:          #e5ede1;
  --bg-dark:       #1a2e20;
  --bg-dark-2:     #122016;

  --glass:         rgba(255, 255, 255, 0.72);
  --glass-2:       rgba(255, 255, 255, 0.42);
  --glass-border:  rgba(255, 255, 255, 0.88);

  --ink:           #1b2e22;
  --ink-soft:      #3a5244;
  --ink-mute:      #6b8a78;

  --green:         #3d7a52;
  --green-2:       #5a9e6e;
  --green-light:   rgba(61, 122, 82, 0.12);
  --gold:          #b8851a;
  --gold-2:        #d4a030;
  --gold-light:    rgba(184, 133, 26, 0.12);

  --line:          rgba(27, 46, 34, 0.08);
  --line-strong:   rgba(27, 46, 34, 0.15);

  --font-display:  'Cormorant Garamond', Georgia, serif;
  --font-body:     'Inter', system-ui, sans-serif;

  --section-py:    5.5rem;
  --container-w:   1200px;
  --container-px:  1.5rem;

  --radius-sm:     12px;
  --radius-md:     20px;
  --radius-lg:     28px;

  --ease-out:      cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out:   cubic-bezier(0.45, 0, 0.55, 1);

  --mx: 30%;
  --my: 35%;
  --nav-h: 72px;
}

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

html {
  overflow-x: clip;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.7;
  overflow-x: clip;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }

/* --- CONTAINER ------------------------------------------------------------- */
.container {
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: var(--container-px);
}

/* --- TYPOGRAPHY ------------------------------------------------------------ */
h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.08;
  font-weight: 400;
}
h1 { font-size: clamp(2.8rem, 6vw, 5rem); }
h2 { font-size: clamp(2.2rem, 4.5vw, 3.8rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.55rem); }

em { font-style: italic; color: var(--green); }
h1 em, h2 em { color: var(--green); }

p  { font-size: clamp(0.95rem, 1.4vw, 1.05rem); }

/* --- SECTION HELPERS ------------------------------------------------------- */
.section { padding-block: var(--section-py); }

.section-tag {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}
.section-tag::before {
  content: "";
  display: block;
  width: 24px;
  height: 1px;
  background: var(--green);
  flex-shrink: 0;
}
.section-tag--light { color: rgba(255,255,255,0.6); }
.section-tag--light::before { background: rgba(255,255,255,0.4); }
.section-tag--center { justify-content: center; }
.section-tag--center::before { display: none; }

.section-header { text-align: center; margin-bottom: 3.5rem; }

/* --- BUTTONS --------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s, background 0.2s, border-color 0.2s, color 0.2s;
  border: 1.5px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  position: relative;
}
.btn:hover { transform: translateY(-2px); }

.btn-lg { padding: 1rem 2.25rem; font-size: 0.94rem; }
.btn-full { width: 100%; }

.btn-primary {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
  box-shadow: 0 4px 20px rgba(61, 122, 82, 0.28);
}
.btn-primary:hover {
  background: var(--green-2);
  border-color: var(--green-2);
  box-shadow: 0 8px 32px rgba(61, 122, 82, 0.38);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-outline:hover { border-color: var(--green); color: var(--green); }

.btn-ghost-green {
  background: var(--green-light);
  color: var(--green);
  border-color: rgba(61, 122, 82, 0.22);
}
.btn-ghost-green:hover { background: rgba(61, 122, 82, 0.2); }

/* --- GLASS CARDS ----------------------------------------------------------- */
.glass-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
@supports (backdrop-filter: blur(20px)) {
  .glass-card {
    background: rgba(255,255,255,0.55);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
  }
}
.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 52px rgba(61,122,82,0.12), 0 6px 18px rgba(61,122,82,0.07);
}

/* --- REVEALS --------------------------------------------------------------- */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.js-ready .reveal {
  opacity: 0;
  transform: translateY(32px);
}
.js-ready .reveal.is-visible {
  opacity: 1;
  transform: none;
}
/* Defensive — never hide data-split elements */
.reveal[data-split] { opacity: 1; transform: none; }

/* --- NAV ------------------------------------------------------------------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  padding-inline: var(--container-px);
  gap: 2rem;
  transition: background 0.4s, box-shadow 0.4s, backdrop-filter 0.4s;
}
.nav.is-scrolled {
  background: rgba(241, 245, 239, 0.9);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 0 var(--line), 0 4px 20px rgba(27,46,34,0.05);
}

.nav-logo { flex-shrink: 0; transition: opacity 0.2s; }
.nav-logo img { height: 44px; width: auto; }
.nav-logo:hover { opacity: 0.8; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-left: auto;
}
.nav-links a {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--ink-soft);
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--green);
  transition: width 0.3s var(--ease-out);
}
.nav-links a:hover { color: var(--green); }
.nav-links a:hover::after { width: 100%; }

.nav-cta { margin-left: 1rem; flex-shrink: 0; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.nav-hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.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); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: rgba(241, 245, 239, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 99;
  padding: 2rem var(--container-px) 2.5rem;
  transform: translateY(-110%);
  opacity: 0;
  transition: transform 0.4s var(--ease-out), opacity 0.3s;
  pointer-events: none;
  box-shadow: 0 8px 32px rgba(27,46,34,0.1);
}
.mobile-menu.is-open {
  transform: none; opacity: 1; pointer-events: all;
}
.mobile-menu nav { display: flex; flex-direction: column; gap: 0; }
.mobile-menu a {
  font-size: 1rem;
  color: var(--ink-soft);
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--green); }
.mobile-menu .btn { margin-top: 1.25rem; justify-content: center; }

/* --- HERO ------------------------------------------------------------------ */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: clip;
  padding-top: var(--nav-h);
}

.hero-mesh {
  position: absolute;
  inset: -25%;
  z-index: 0;
  background:
    radial-gradient(circle 900px at var(--mx, 25%) var(--my, 35%),
      rgba(61, 122, 82, 0.3) 0%, transparent 62%),
    radial-gradient(circle 700px at 84% 15%,
      rgba(200, 149, 30, 0.22) 0%, transparent 56%),
    radial-gradient(circle 800px at 8% 78%,
      rgba(90, 158, 110, 0.24) 0%, transparent 56%),
    radial-gradient(circle 600px at 88% 80%,
      rgba(184, 133, 26, 0.14) 0%, transparent 50%),
    var(--bg);
  filter: blur(72px) saturate(140%);
  animation: meshDrift 22s ease-in-out infinite;
}
@keyframes meshDrift {
  0%, 100% { transform: scale(1) rotate(0deg); }
  33%       { transform: scale(1.08) rotate(2.5deg); }
  66%       { transform: scale(1.03) rotate(-1.5deg); }
}

.hero-grain {
  position: absolute; inset: 0; z-index: 1;
  opacity: 0.022;
  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.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 128px;
  pointer-events: none;
  mix-blend-mode: multiply;
}

/* DNA decoration */
.hero-dna {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  height: 72%;
  width: 110px;
  pointer-events: none;
}
.dna-svg {
  height: 100%; width: auto;
  animation: dnaFloat 9s ease-in-out infinite;
}
@keyframes dnaFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-22px); }
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  gap: 3rem;
  padding-block: 5rem;
  width: 100%;
}

.hero-text { flex: 1; max-width: 660px; }

.kicker {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.77rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 1.25rem;
}
.kicker-dot {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  animation: dotPulse 2.5s ease-in-out infinite;
}
@keyframes dotPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.6); opacity: 0.55; }
}

.hero-title { margin-bottom: 1.25rem; }
.hero-title em { display: block; }

.hero-sub {
  font-size: clamp(1rem, 1.7vw, 1.1rem);
  color: var(--ink-soft);
  max-width: 52ch;
  line-height: 1.7;
  margin-bottom: 2.25rem;
}

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

/* Hero side badges */
.hero-badge {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex-shrink: 0;
  align-self: center;
}
.badge-card,
.badge-stat {
  padding: 0.8rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.84rem;
  color: var(--ink-soft);
  white-space: nowrap;
}
.badge-check { color: var(--green); font-size: 1rem; }
.badge-stat strong {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 400;
  color: var(--ink);
}

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  z-index: 2;
}
.scroll-line {
  display: block;
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--green), transparent);
  animation: scrollLine 2.2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%        { transform: scaleY(0); transform-origin: top; }
  49%       { transform: scaleY(1); transform-origin: top; }
  50%       { transform: scaleY(1); transform-origin: bottom; }
  100%      { transform: scaleY(0); transform-origin: bottom; }
}

/* --- SOBRE MÍ -------------------------------------------------------------- */
.about { background: #fff; }

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 5rem;
}
.stat-item {
  background: #fff;
  padding: 2.25rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4rem);
  font-weight: 300;
  color: var(--green);
  line-height: 1;
}
.stat-label {
  font-size: 0.78rem;
  color: var(--ink-mute);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.about-grid {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 5rem;
  align-items: center;
}

.about-image-frame {
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  background: var(--bg-2);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.about-image-placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.about-logo-display {
  position: relative;
  z-index: 1;
  padding: 2.5rem;
}
.about-logo-display img { max-width: 280px; }

.about-blob {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 40%, rgba(61,122,82,0.22), transparent 62%),
    radial-gradient(circle at 70% 65%, rgba(200,149,30,0.16), transparent 58%);
}

.about-text h2 { margin-bottom: 1.25rem; }
.about-lead {
  font-size: clamp(1.02rem, 1.7vw, 1.12rem);
  color: var(--ink-soft);
  line-height: 1.65;
  margin-bottom: 1rem;
}
.about-text p { color: var(--ink-soft); margin-bottom: 0.75rem; line-height: 1.7; }
.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.75rem;
}
.tag {
  background: var(--green-light);
  color: var(--green);
  border: 1px solid rgba(61,122,82,0.2);
  padding: 0.3rem 0.9rem;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 500;
}

/* --- SERVICIOS ------------------------------------------------------------- */
.services { background: var(--bg); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.service-card {
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
}
.service-badge-tag {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 1rem;
  border-radius: 100px;
  white-space: nowrap;
}
.service-card--featured {
  border-color: rgba(184,133,26,0.3);
  box-shadow: 0 0 0 1px rgba(184,133,26,0.12), 0 20px 50px rgba(184,133,26,0.08);
  margin-top: -0.75rem;
  padding-top: 2.75rem;
}

.service-icon {
  width: 54px; height: 54px;
  border-radius: var(--radius-sm);
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-strong);
  flex-shrink: 0;
}
.service-card h3 { color: var(--ink); }
.service-card > p {
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.65;
}
.service-features { display: flex; flex-direction: column; gap: 0.45rem; flex: 1; }
.service-features li {
  font-size: 0.84rem;
  color: var(--ink-mute);
  padding-left: 1.25rem;
  position: relative;
  line-height: 1.5;
}
.service-features li::before {
  content: "✓";
  position: absolute; left: 0; top: 0.05rem;
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 600;
}
.service-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  gap: 0.75rem;
  margin-top: auto;
}
.service-price {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--ink);
}

/* --- MÉTODO ---------------------------------------------------------------- */
.method { background: var(--bg-dark); color: #f1f5ef; }
.method .section-tag        { color: var(--green-2); }
.method .section-tag::before{ background: var(--green-2); }
.method h2                  { color: #f1f5ef; }
.method h2 em               { color: var(--green-2); }

.method-inner {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 6rem;
  align-items: start;
}
.method-header {
  position: sticky;
  top: calc(var(--nav-h) + 2rem);
}
.method-header .method-desc {
  color: rgba(241,245,239,0.6);
  margin-top: 1rem;
  font-size: 0.94rem;
  line-height: 1.7;
}

.method-steps { display: flex; flex-direction: column; }
.method-step {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 1.5rem;
  padding: 2.25rem 0;
  border-bottom: 1px solid rgba(241,245,239,0.07);
  align-items: start;
}
.method-step:first-child { padding-top: 0; }
.method-step:last-child  { border-bottom: none; }

.step-number {
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 300;
  color: var(--green-2);
  line-height: 1;
  opacity: 0.45;
}
.step-content h3 { color: #f1f5ef; margin-bottom: 0.5rem; }
.step-content p  { color: rgba(241,245,239,0.58); font-size: 0.92rem; line-height: 1.7; }

/* --- TESTIMONIOS ----------------------------------------------------------- */
.testimonials { background: var(--bg); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.testimonial-card {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.stars {
  color: var(--gold);
  font-size: 0.88rem;
  letter-spacing: 0.12em;
}
.testimonial-card blockquote {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--ink-soft);
  line-height: 1.65;
  flex: 1;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.author-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--green-light);
  color: var(--green);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  flex-shrink: 0;
  border: 1px solid rgba(61,122,82,0.2);
}
.testimonial-author strong { display: block; font-size: 0.86rem; color: var(--ink); }
.testimonial-author span   { font-size: 0.76rem; color: var(--ink-mute); }

/* --- CTA / CONTACTO -------------------------------------------------------- */
.cta-section {
  background: var(--bg-dark);
  position: relative;
  overflow: clip;
}
.cta-mesh {
  position: absolute;
  inset: -25%;
  background:
    radial-gradient(circle 900px at 18% 50%, rgba(61,122,82,0.28), transparent 60%),
    radial-gradient(circle 700px at 82% 30%, rgba(200,149,30,0.18), transparent 55%);
  filter: blur(80px);
  pointer-events: none;
}
.cta-inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.cta-text h2   { color: #f1f5ef; margin-bottom: 1rem; }
.cta-text h2 em{ color: var(--green-2); }
.cta-desc      { color: rgba(241,245,239,0.62); margin-bottom: 2rem; line-height: 1.7; }
.cta-contact-info { display: flex; flex-direction: column; gap: 0.5rem; }
.cta-contact-info p { color: rgba(241,245,239,0.48); font-size: 0.86rem; }

/* Form */
.contact-form { padding: 2.25rem; }
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}
.form-group label  { font-size: 0.8rem; font-weight: 500; color: var(--ink-soft); }
.optional          { font-weight: 400; color: var(--ink-mute); }
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.78rem 1rem;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--ink);
  background: rgba(255,255,255,0.82);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(61,122,82,0.12);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--ink-mute); }
.form-notice {
  text-align: center;
  font-size: 0.76rem;
  color: var(--ink-mute);
  margin-top: 0.75rem;
}

/* --- FOOTER ---------------------------------------------------------------- */
.footer {
  background: var(--bg-dark-2);
  border-top: 1px solid rgba(241,245,239,0.05);
  padding-block: 3rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
}
.footer-logo img {
  height: 36px; width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.75;
  transition: opacity 0.2s;
}
.footer-logo:hover img { opacity: 1; }
.footer-nav { display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; }
.footer-nav a {
  font-size: 0.8rem;
  color: rgba(241,245,239,0.45);
  transition: color 0.2s;
}
.footer-nav a:hover { color: rgba(241,245,239,0.9); }
.footer-copy {
  font-size: 0.76rem;
  color: rgba(241,245,239,0.3);
  text-align: right;
}

/* --- RESPONSIVE ------------------------------------------------------------ */
@media (max-width: 1023px) {
  :root { --section-py: 4rem; }

  .hero-dna { display: none; }
  .hero-content { flex-direction: column; align-items: flex-start; gap: 1.75rem; padding-block: 4rem; }
  .hero-badge { flex-direction: row; flex-wrap: wrap; }

  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-image-frame { aspect-ratio: 16/9; max-width: 440px; margin-inline: auto; }

  .services-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .service-card--featured { margin-top: 0.75rem; }

  .method-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .method-header { position: static; }

  .testimonials-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }

  .cta-inner { grid-template-columns: 1fr; gap: 2.5rem; }

  .footer-inner { grid-template-columns: 1fr; text-align: center; gap: 1.5rem; }
  .footer-logo { margin-inline: auto; }
  .footer-copy { text-align: center; }
}

@media (max-width: 767px) {
  :root { --section-py: 3.25rem; }

  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }

  .about-stats { grid-template-columns: 1fr; gap: 0; }
  .stat-item { flex-direction: row; justify-content: space-between; align-items: center; text-align: left; padding: 1.1rem 1.25rem; }
  .stat-number { font-size: 2.2rem; }

  .hero-actions { flex-direction: column; }
  .hero-actions .btn { justify-content: center; }

  .method-step { grid-template-columns: 50px 1fr; gap: 1rem; }
  .step-number { font-size: 2rem; }
}

@media (max-width: 479px) {
  .badge-stat, .badge-card { flex-direction: column; text-align: center; gap: 0.3rem; }
}


/* ==========================================================================
   ILUSTRACIONES BOTÁNICAS DECORATIVAS
   ========================================================================== */

/* Asegurar position relative en todas las secciones que usan food-deco */
.about, .services, .method, .testimonials, .cta-section {
  position: relative;
}

/* ── Contenedor decorativo ───────────────────────────────────────────────── */
.food-deco {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
  user-select: none;
}

/* Asegurar que el contenido de cada sección quede por encima de las deco */
.hero-mesh, .hero-grain, .hero-dna, .hero-content,
.about .container, .services .container, .method .container,
.testimonials .container, .cta-section .container,
.cta-mesh {
  position: relative;
  z-index: 1;
}

/* ── Imagen base ─────────────────────────────────────────────────────────── */
.food-img {
  position: absolute;
  width: 220px;
  height: auto;
  opacity: 0.15;
  mix-blend-mode: multiply;
  filter: saturate(0.88) brightness(1.04);
  will-change: transform;
  transition: opacity 0.4s ease;
}

/* ══════════════ HERO (fondo claro con degradado) ═══════════════════════════ */
.hero .food-img.fi-1 {
  top: -6%;  right: -6%;
  width: 290px;
  opacity: 0.14;
  transform: rotate(22deg);
}
.hero .food-img.fi-2 {
  bottom: 8%; left: -5%;
  width: 215px;
  opacity: 0.13;
  transform: rotate(-14deg);
}
.hero .food-img.fi-3 {
  top: 32%; right: 1%;
  width: 195px;
  opacity: 0.12;
  transform: rotate(-6deg);
}

/* ══════════════ SOBRE MÍ (fondo blanco) ═══════════════════════════════════ */
.about .food-img.fi-1 {
  top: 4%;   right: -5%;
  width: 240px;
  opacity: 0.15;
  transform: rotate(10deg);
}
.about .food-img.fi-2 {
  bottom: -4%; left: -5%;
  width: 215px;
  opacity: 0.13;
  transform: rotate(-16deg);
}

/* ══════════════ SERVICIOS (fondo --bg) ════════════════════════════════════ */
.services .food-img.fi-1 {
  top: -5%;  left: -4%;
  width: 230px;
  opacity: 0.14;
  transform: rotate(-9deg);
}
.services .food-img.fi-2 {
  bottom: -5%; right: -4%;
  width: 240px;
  opacity: 0.14;
  transform: rotate(13deg);
}
.services .food-img.fi-3 {
  top: 35%; left: -2%;
  width: 165px;
  opacity: 0.11;
  transform: rotate(-4deg);
}

/* ══════════════ MÉTODO (fondo oscuro verde) ════════════════════════════════ */
/* En fondo oscuro usamos soft-light para que se integren bien */
.method .food-img {
  mix-blend-mode: soft-light;
}
.method .food-img.fi-1 {
  top: 5%;   right: -4%;
  width: 210px;
  opacity: 0.22;
  transform: rotate(8deg);
}
.method .food-img.fi-2 {
  bottom: 2%; left: -5%;
  width: 220px;
  opacity: 0.20;
  transform: rotate(-11deg);
}
.method .food-img.fi-3 {
  top: 52%; right: -2%;
  width: 180px;
  opacity: 0.18;
  transform: rotate(5deg);
}

/* ══════════════ TESTIMONIOS (fondo --bg) ══════════════════════════════════ */
.testimonials .food-img.fi-1 {
  top: -4%;  left: -5%;
  width: 240px;
  opacity: 0.15;
  transform: rotate(-13deg);
}
.testimonials .food-img.fi-2 {
  bottom: -5%; right: -5%;
  width: 230px;
  opacity: 0.14;
  transform: rotate(15deg);
}

/* ══════════════ CONTACTO (fondo oscuro verde) ═════════════════════════════ */
.cta-section .food-img {
  mix-blend-mode: soft-light;
}
.cta-section .food-img.fi-1 {
  top: -5%;  right: -5%;
  width: 260px;
  opacity: 0.24;
  transform: rotate(16deg);
}
.cta-section .food-img.fi-2 {
  bottom: -6%; left: -5%;
  width: 240px;
  opacity: 0.22;
  transform: rotate(-13deg);
}
.cta-section .food-img.fi-3 {
  top: 38%; left: -3%;
  width: 195px;
  opacity: 0.18;
  transform: rotate(7deg);
}
.cta-section .food-img.fi-4 {
  top: 5%;  left: -5%;
  width: 210px;
  opacity: 0.17;
  transform: rotate(-20deg);
}
.cta-section .food-img.fi-5 {
  bottom: 8%; right: -4%;
  width: 200px;
  opacity: 0.20;
  transform: rotate(10deg);
}

/* ==========================================================================
   MARQUEE — STRIP DE ICONOS ENTRE HERO Y SOBRE MÍ
   ========================================================================== */
.food-marquee {
  background: var(--bg-dark);
  overflow: hidden;
  padding-block: 1.1rem;
  border-top:    1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.food-marquee-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marqueeScroll 28s linear infinite;
}

.food-marquee-strip {
  display: block;
  height: 52px;
  width: auto;
  mix-blend-mode: screen;  /* negro desaparece, blanco queda sobre verde */
  opacity: 0.75;
  flex-shrink: 0;
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-33.333%); }
}

/* Pausa el marquee si el usuario prefiere menos movimiento */
@media (prefers-reduced-motion: reduce) {
  .food-marquee-track { animation: none; }
}

/* ==========================================================================
   RESPONSIVE — reducir decoraciones en mobile
   ========================================================================== */
@media (max-width: 767px) {
  .food-img {
    width: 140px !important;
    opacity: 0.10 !important;
  }
  /* En móvil: ocultar fi-3, fi-4, fi-5 para no saturar */
  .food-img.fi-3,
  .food-img.fi-4,
  .food-img.fi-5 { display: none; }

  .food-marquee-strip { height: 38px; }
}

@media (max-width: 479px) {
  .food-img { width: 110px !important; opacity: 0.09 !important; }
  .food-marquee { display: none; } /* quitar marquee en pantallas muy pequeñas */
}

/* ==========================================================================
   CONTACTO — datos e iconos sociales
   ========================================================================== */
.contact-icon { margin-right: 0.5rem; }
.contact-link {
  color: rgba(241,245,239,0.75);
  text-decoration: none;
  transition: color 0.2s;
}
.contact-link:hover { color: #fff; }

.cta-socials {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.75rem;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 500;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
  letter-spacing: 0.01em;
}
.social-btn:hover { transform: translateY(-2px); opacity: 0.9; }

.social-btn--wa {
  background: #25d366;
  color: #fff;
}
.social-btn--ig {
  background: linear-gradient(135deg, #f09433, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888);
  color: #fff;
}
.social-btn--li {
  background: #0077b5;
  color: #fff;
}

/* ==========================================================================
   FOOTER — redes sociales
   ========================================================================== */
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-block: 2rem;
}
.footer-socials {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}
.footer-social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.footer-social:hover {
  background: rgba(255,255,255,0.16);
  color: #fff;
  transform: translateY(-2px);
}

@media (max-width: 767px) {
  .cta-socials { gap: 0.5rem; }
  .social-btn { padding: 0.5rem 0.9rem; font-size: 0.78rem; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-socials { justify-content: center; }
}

/* ==========================================================================
   SERVICIOS — grid de 6 tarjetas
   ========================================================================== */
.services-grid--6 {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 900px) {
  .services-grid--6 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .services-grid--6 {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-inline: auto;
  }
}

/* ==========================================================================
   FORMULARIO — select nativo estilizado
   ========================================================================== */
.form-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%233d7a52' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}
.form-select:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(61,122,82,0.15);
}
/* Herencia de estilos de input al select dentro del formulario */
[data-form] select {
  appearance: none;
  -webkit-appearance: none;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%233d7a52' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
  width: 100%;
  padding-block: 0.75rem;
  padding-left: 1rem;
  border: 1.5px solid rgba(0,0,0,0.12);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  color: #1a2e20;
  transition: border-color 0.2s, box-shadow 0.2s;
}
[data-form] select:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(61,122,82,0.15);
}

/* ==========================================================================
   YOUTUBE — botón social
   ========================================================================== */
.social-btn--yt {
  background: #ff0000;
  color: #fff;
}

/* ==========================================================================
   FOOTER — legal nav
   ========================================================================== */
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  align-items: center;
  margin-top: 0.5rem;
}
.footer-legal a {
  color: rgba(255,255,255,0.4);
  font-size: 0.78rem;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-legal a:hover {
  color: rgba(255,255,255,0.75);
}
.footer-copy-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

/* ==========================================================================
   WHATSAPP FLOTANTE
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 4px 18px rgba(37,211,102,0.45);
  text-decoration: none;
  transition: transform 0.25s cubic-bezier(.34,1.56,.64,1), box-shadow 0.25s;
  will-change: transform;
}
.whatsapp-float:hover {
  transform: scale(1.12) translateY(-2px);
  box-shadow: 0 8px 26px rgba(37,211,102,0.55);
}
.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: #fff;
  flex-shrink: 0;
}
/* Pulso sutil para llamar la atención */
@keyframes waPulse {
  0%, 100% { box-shadow: 0 4px 18px rgba(37,211,102,0.45); }
  50%       { box-shadow: 0 4px 26px rgba(37,211,102,0.75); }
}
.whatsapp-float {
  animation: waPulse 2.8s ease-in-out infinite;
}
.whatsapp-float:hover {
  animation: none;
}

/* ==========================================================================
   EMAIL FLOTANTE
   ========================================================================== */
.email-float {
  position: fixed;
  bottom: 5.5rem;
  right: 1.75rem;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  box-shadow: 0 4px 18px rgba(61,122,82,0.45);
  text-decoration: none;
  transition: transform 0.25s cubic-bezier(.34,1.56,.64,1), box-shadow 0.25s;
  will-change: transform;
}
.email-float:hover {
  transform: scale(1.12) translateY(-2px);
  box-shadow: 0 8px 26px rgba(61,122,82,0.55);
}
.email-float svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}
@media (max-width: 767px) {
  .email-float {
    bottom: 4.75rem;
    right: 1.25rem;
    width: 50px;
    height: 50px;
  }
  .email-float svg {
    width: 20px;
    height: 20px;
  }
}

/* Asegurar que el botón no tape el footer en móvil */
@media (max-width: 767px) {
  .whatsapp-float {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 50px;
    height: 50px;
  }
  .whatsapp-float svg {
    width: 24px;
    height: 24px;
  }
}

/* ==========================================================================
   SERVICIOS — grid de 6 tarjetas
   ========================================================================== */
.services-grid--6 {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 900px) {
  .services-grid--6 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .services-grid--6 {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-inline: auto;
  }
}

/* ==========================================================================
   FORMULARIO — select nativo estilizado
   ========================================================================== */
[data-form] select {
  appearance: none;
  -webkit-appearance: none;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%233d7a52' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
  width: 100%;
  padding-block: 0.75rem;
  padding-left: 1rem;
  border: 1.5px solid rgba(0,0,0,0.12);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  color: #1a2e20;
  transition: border-color 0.2s, box-shadow 0.2s;
}
[data-form] select:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(61,122,82,0.15);
}

/* ==========================================================================
   YOUTUBE — botón social
   ========================================================================== */
.social-btn--yt {
  background: #ff0000;
  color: #fff;
}

/* ==========================================================================
   FOOTER — legal nav
   ========================================================================== */
.footer-copy-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  align-items: center;
  margin-top: 0.5rem;
}
.footer-legal a {
  color: rgba(255,255,255,0.4);
  font-size: 0.78rem;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-legal a:hover {
  color: rgba(255,255,255,0.75);
}

/* ==========================================================================
   WHATSAPP FLOTANTE
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 4px 18px rgba(37,211,102,0.45);
  text-decoration: none;
  transition: transform 0.25s cubic-bezier(.34,1.56,.64,1), box-shadow 0.25s;
  will-change: transform;
  animation: waPulse 2.8s ease-in-out infinite;
}
.whatsapp-float:hover {
  transform: scale(1.12) translateY(-2px);
  box-shadow: 0 8px 26px rgba(37,211,102,0.55);
  animation: none;
}
.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: #fff;
  flex-shrink: 0;
}
@keyframes waPulse {
  0%, 100% { box-shadow: 0 4px 18px rgba(37,211,102,0.45); }
  50%       { box-shadow: 0 4px 26px rgba(37,211,102,0.75); }
}
@media (max-width: 767px) {
  .whatsapp-float {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 50px;
    height: 50px;
  }
  .whatsapp-float svg {
    width: 24px;
    height: 24px;
  }
}
