:root {
  --primary: #2d9a4e;
  --secondary: #e67e22;
  --accent: #ffd166;
  --light: #f7faf6;
  --dark: #1f3d2b;
  --ink: #1a2e21;
  --muted: #6b7280;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--light);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

h1,
h2,
h3 {
  font-family: "Fraunces", Georgia, serif;
  letter-spacing: -0.02em;
  color: var(--dark);
}

.container {
  max-width: 76rem;
  margin: 0 auto;
  padding: 0 1rem;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ---------- Navegación ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(26, 46, 33, 0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1rem;
  flex-wrap: wrap;
}

.nav-logo {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-wrap: wrap;
  list-style: none;
}

.nav-links a {
  padding: 0.5rem 0.75rem;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
}

.nav-links a:hover {
  background: rgba(45, 154, 78, 0.1);
  color: var(--primary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 10px 20px -6px rgba(45, 154, 78, 0.45);
}

.btn-primary:hover {
  transform: translateY(-1px);
  background: #258543;
}

.btn-accent {
  background: var(--accent);
  color: var(--dark);
  box-shadow: 0 10px 20px -6px rgba(255, 209, 102, 0.5);
}

.btn-accent:hover {
  transform: translateY(-1px);
  background: #f5c14a;
}

.btn-secondary {
  background: var(--secondary);
  color: #fff;
  box-shadow: 0 10px 20px -6px rgba(230, 126, 34, 0.45);
}

.btn-secondary:hover {
  transform: translateY(-1px);
  background: #d06f18;
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.35), rgba(31, 61, 43, 0.75));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 40rem;
  padding: 6rem 1rem;
  text-align: center;
}

.hero h1 {
  color: #fff;
  font-size: clamp(3rem, 8vw, 5rem);
  line-height: 1.02;
  font-weight: 600;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  margin-bottom: 1.5rem;
}

.hero-sub {
  display: inline-block;
  max-width: 36rem;
  background: rgba(247, 250, 246, 0.8);
  backdrop-filter: blur(8px);
  color: var(--dark);
  border-radius: 1rem;
  padding: 1rem 1.5rem;
  font-size: 1.05rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  margin-bottom: 2.5rem;
}

.hero-cta {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-tags {
  display: flex;
  gap: 0.625rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-tags span {
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  color: rgba(255, 255, 255, 0.92);
  padding: 0.35rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
}

/* ---------- Secciones genéricas ---------- */
.section {
  padding: 4rem 0;
  scroll-margin-top: 5rem;
}

.section-head {
  text-align: center;
  margin-bottom: 3rem;
}

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 0.75rem;
}

.section-head h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.section-head p {
  max-width: 36rem;
  margin: 0 auto;
  color: var(--muted);
}

/* ---------- Tarjetas: pasos ---------- */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

@media (max-width: 900px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

.card {
  background: #fff;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(26, 46, 33, 0.08);
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 28px rgba(26, 46, 33, 0.14);
}

.card .icon {
  font-size: 1.875rem;
  margin-bottom: 1rem;
}

.paso-tag {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 0.4rem;
}

.card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.card .texto {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ---------- Planes ---------- */
.plan-nombre {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.plan-tagline {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.plan-desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.plan-objetivo {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.75rem;
}

.plan-macros {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.plan-precio {
  margin-top: auto;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1rem;
}

.plan-precio small {
  font-family: "Inter", sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: #9ca3af;
}

.plan-link {
  display: block;
  text-align: center;
}

.center {
  text-align: center;
}

.mt-8 {
  margin-top: 2rem;
}

/* ---------- Beneficios ---------- */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (max-width: 700px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

.beneficio {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.beneficio i {
  font-style: normal;
  color: var(--primary);
  font-size: 1.125rem;
  margin-top: 0.1rem;
}

.beneficio p {
  font-size: 0.95rem;
  color: var(--muted);
}

/* ---------- Menú ---------- */
.plan-block {
  margin-bottom: 3rem;
}

.plan-block h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.grid-platos {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}

@media (max-width: 1100px) {
  .grid-platos {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 700px) {
  .grid-platos {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 440px) {
  .grid-platos {
    grid-template-columns: 1fr;
  }
}

.plato {
  overflow: hidden;
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(26, 46, 33, 0.08);
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
}

.plato:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 28px rgba(26, 46, 33, 0.14);
}

.plato img {
  width: 100%;
  height: 8.5rem;
  object-fit: cover;
  display: block;
}

.plato-body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}

.plato-body h4 {
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark);
}

.plato-body p {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.5;
  flex: 1;
}

.plato-macros {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  background: rgba(45, 154, 78, 0.08);
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  align-self: flex-start;
}

/* ---------- CTA final ---------- */
.cta {
  background: linear-gradient(135deg, rgba(45, 154, 78, 0.1), var(--light) 55%, rgba(230, 126, 34, 0.06));
  text-align: center;
}

.cta h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.cta p {
  max-width: 34rem;
  margin: 0 auto 2rem;
  color: var(--muted);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.85);
  padding: 2.5rem 0;
  text-align: center;
  font-size: 0.9rem;
}

.footer strong {
  font-family: "Fraunces", Georgia, serif;
  color: #fff;
}

.footer p + p {
  margin-top: 0.4rem;
  opacity: 0.7;
  font-size: 0.8rem;
}