/* =====================================================
   TAPPERLY — Stylesheet oficial
   Brand Identity v2.0 — Junio 2026
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --grn:      #1F4D3A;
  --grn-d:    #E6EFE9;
  --grn-dk:   #163829;
  --ink:      #3A3A3A;
  --ink2:     #5A5A5A;
  --ter:      #1F4D3A;
  --ter-d:    #E6EFE9;
  --cream:    #F5EFE6;
  --cream-d:  #EDE5D8;
  --white:    #FAF8F4;
  --mut:      #6B7280;
  --mut-l:    #9CA3AF;
  --border:   #E5E7EB;
  --red:      #EF4444;
  --radius:   16px;
  --radius-sm:10px;
  --radius-xl:24px;
  --shadow:   0 4px 24px rgba(31,77,58,0.08);
  --shadow-sm:0 2px 8px rgba(31,77,58,0.05);
  --max-w:    1100px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Avenir Next Rounded', 'Nunito', system-ui, -apple-system, 'Segoe UI', Helvetica, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ── UTILIDADES ──────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }
.text-mut { color: var(--mut); }

/* ── TIPOGRAFÍA ──────────────────────────────────────── */
h1, h2, h3 { color: var(--ink); letter-spacing: -0.03em; line-height: 1.2; }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p  { color: var(--ink2); line-height: 1.7; }

.display {
  font-family: 'Avenir Next Rounded', 'Nunito', system-ui, sans-serif;
  font-style: normal;
  font-weight: 800;
}

.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--grn-dk);
  margin-bottom: 12px;
  display: block;
}

/* ── LOGO ────────────────────────────────────────────── */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-box {
  width: 36px; height: 36px;
  background: var(--grn);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  flex-shrink: 0;
  color: #FAF8F4;
}
.logo-box span {
  font-family: 'Avenir Next Rounded', 'Nunito', serif;
  font-style: italic;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.logo-box::after {
  content: '';
  position: absolute;
  bottom: 4px; right: 4px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--ter);
}
.logo-name {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.5px;
}
.logo img {
  width: 280px;
  height: auto;
  display: block;
}
.logo-footer img {
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

/* ── NAVEGACIÓN ──────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245,239,230,0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 88px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--mut);
  transition: color 0.18s;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); font-weight: 600; }
.nav-cta { margin-left: 8px; }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}
.nav-burger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 8px 24px 20px;
}
.nav-mobile a {
  padding: 14px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--border);
}
.nav-mobile a:last-child { border: none; }
.nav-mobile.open { display: flex; }

/* ── BOTONES ─────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s;
  border: none;
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}
.btn-primary {
  background: var(--ink);
  color: var(--white);
}
.btn-primary:hover { background: var(--ink2); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-green {
  background: var(--grn);
  color: var(--white);
}
.btn-green:hover { background: var(--grn-dk); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover { border-color: var(--ink); background: var(--cream-d); }
.btn-gold {
  background: var(--ter);
  color: #FAF8F4;
}
.btn-gold:hover { background: var(--grn-dk); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-sm { padding: 9px 18px; font-size: 13px; border-radius: var(--radius-sm); }
.btn-lg { padding: 17px 32px; font-size: 16px; border-radius: var(--radius); }
.btn-full { width: 100%; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none !important; }

/* ── CARDS ───────────────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  padding: 28px;
}
.card-sm { padding: 20px; }

/* ── SECCIONES ───────────────────────────────────────── */
section { padding: 80px 0; }
.section-header { text-align: center; max-width: 600px; margin: 0 auto 56px; }
.section-header p { margin-top: 14px; font-size: 17px; }

/* ── HERO ────────────────────────────────────────────── */
.hero {
  padding: 96px 0 80px;
  text-align: center;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--grn-d);
  color: var(--grn-dk);
  font-size: 13px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
}
.hero h1 { max-width: 720px; margin: 0 auto 20px; }
.hero p { font-size: 18px; color: var(--mut); max-width: 520px; margin: 0 auto 36px; }
.hero-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-visual {
  margin-top: 64px;
  display: flex;
  justify-content: center;
}
.hero-card-row {
  display: flex;
  gap: 16px;
  max-width: 820px;
  width: 100%;
  flex-wrap: wrap;
  justify-content: center;
}
.hero-stat {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  flex: 1;
  min-width: 160px;
}
.hero-stat strong { font-size: 2rem; font-weight: 800; letter-spacing: -1px; display: block; }
.hero-stat span { font-size: 13px; color: var(--mut); }

/* ── GRID DE PILARES ─────────────────────────────────── */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.pillar {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.pillar-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--grn-d);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}
.pillar h3 { margin-bottom: 10px; }
.pillar p { font-size: 15px; }

/* ── PASOS ───────────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 28px 28px 28px 72px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  counter-increment: step;
}
.step::before {
  content: counter(step);
  position: absolute;
  left: 24px; top: 28px;
  width: 34px; height: 34px;
  border-radius: 10px;
  background: var(--grn);
  color: #FAF8F4;
  font-weight: 800;
  font-size: 14px;
  display: flex; align-items: center; justify-content: center;
}
.step h3 { margin-bottom: 8px; }
.step p { font-size: 15px; }

/* ── BANNER PLUS ─────────────────────────────────────── */
.plus-banner {
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink2) 100%);
  border-radius: var(--radius-xl);
  padding: 56px 48px;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.plus-banner h2 { color: var(--white); margin-bottom: 10px; }
.plus-banner p { color: rgba(255,255,255,0.65); font-size: 16px; max-width: 480px; }

/* ── FORMULARIOS ─────────────────────────────────────── */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: inherit;
  color: var(--ink);
  background: var(--white);
  transition: border-color 0.18s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--grn);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note {
  font-size: 13px;
  color: var(--mut);
  margin-top: 10px;
  line-height: 1.55;
}

.alert {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 20px;
  display: none;
}
.alert-success {
  background: #EAF3DE;
  color: #3D7A2B;
  border: 1px solid #B5D8A0;
}
.alert-error {
  background: #FCEBEB;
  color: var(--red);
  border: 1px solid #FCA5A5;
}
.alert.show { display: block; }

/* ── INFO BANNER ─────────────────────────────────────── */
.info-banner {
  background: var(--ter-d);
  border: 1px solid #A8C5B5;
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 13px;
  color: var(--grn-dk);
  line-height: 1.55;
  margin-bottom: 20px;
}

/* ── BENEFICIOS PLUS ─────────────────────────────────── */
.benefit-list { list-style: none; display: flex; flex-direction: column; gap: 20px; }
.benefit-item { display: flex; gap: 18px; align-items: flex-start; }
.benefit-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--ter-d);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.benefit-item h3 { font-size: 16px; margin-bottom: 4px; }
.benefit-item p { font-size: 14px; color: var(--mut); }

/* ── PRECIO PLUS ─────────────────────────────────────── */
.price-box {
  text-align: center;
  padding: 40px;
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 2px solid var(--ter);
  box-shadow: var(--shadow);
}
.price-amount {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -2px;
  color: var(--ink);
  line-height: 1;
}
.price-period { font-size: 16px; color: var(--mut); margin-top: 4px; margin-bottom: 28px; }
.price-features {
  list-style: none;
  text-align: left;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.price-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--ink2);
}
.price-features li::before {
  content: '✓';
  color: var(--grn-dk);
  font-weight: 700;
  flex-shrink: 0;
}
.price-note { font-size: 13px; color: var(--mut); margin-top: 14px; }

/* ── FAQ ─────────────────────────────────────────────── */
.faq-section { margin-bottom: 40px; }
.faq-section-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 12px;
}
.faq-list { display: flex; flex-direction: column; gap: 0; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  overflow: hidden;
}
.faq-item:first-child { border-radius: var(--radius) var(--radius) 0 0; }
.faq-item:last-child { border-radius: 0 0 var(--radius) var(--radius); }
.faq-item:not(:last-child) { border-bottom: none; }
.faq-item:only-child { border-radius: var(--radius); }
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.45;
  transition: background 0.15s;
}
.faq-question:hover { background: var(--cream); }
.faq-icon {
  font-size: 20px;
  color: var(--mut-l);
  font-weight: 300;
  flex-shrink: 0;
  transition: color 0.18s;
  line-height: 1;
}
.faq-item.open .faq-icon { color: var(--grn-dk); }
.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-answer p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--mut);
  padding-bottom: 18px;
  white-space: pre-line;
}
.faq-item.open .faq-answer { max-height: 500px; padding-top: 0; }

/* ── CONTACTO ────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 40px;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.contact-item-icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--grn-d);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.contact-item h4 { font-size: 14px; font-weight: 700; margin-bottom: 2px; }
.contact-item p, .contact-item a {
  font-size: 14px;
  color: var(--mut);
}
.contact-item a:hover { color: var(--grn-dk); }

/* ── CHEF CTA ────────────────────────────────────────── */
.chef-hero {
  background: linear-gradient(135deg, var(--grn) 0%, var(--grn-dk) 100%);
  padding: 80px 0 72px;
  text-align: center;
}
.chef-hero h1, .chef-hero .eyebrow, .chef-hero p { color: #FAF8F4; }
.chef-hero .eyebrow { color: var(--grn-d); }
.chef-hero p { color: rgba(230,239,233,0.8); }

/* ── FOOTER ──────────────────────────────────────────── */
footer {
  background: var(--ink);
  color: var(--white);
  padding: 48px 0 28px;
  margin-top: 0;
}
.footer-inner {
  display: flex;
  gap: 40px;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.footer-brand p {
  color: rgba(255,255,255,0.45);
  font-size: 14px;
  margin-top: 12px;
  max-width: 240px;
  line-height: 1.6;
}
.footer-brand .logo-name { color: var(--white); }
.footer-links h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 14px;
}
.footer-links a {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 8px;
  transition: color 0.18s;
}
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 13px;
  color: rgba(255,255,255,0.3);
  flex-wrap: wrap;
  gap: 8px;
}

/* ── DIVIDER ─────────────────────────────────────────── */
.divider {
  height: 1px;
  background: var(--border);
  margin: 0;
}

/* ── PAGE HERO PEQUEÑO ───────────────────────────────── */
.page-hero {
  padding: 64px 0 56px;
  text-align: center;
}
.page-hero p { font-size: 17px; color: var(--mut); margin-top: 12px; }

/* ── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 768px) {
  section { padding: 56px 0; }
  .hero { padding: 64px 0 48px; }

  .logo img { width: 180px; }

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

  .form-row { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .plus-banner { padding: 36px 28px; text-align: center; justify-content: center; }
  .plus-banner .btn { width: 100%; }
  .hero-btns { flex-direction: column; align-items: center; }
  .hero-btns .btn { width: 100%; max-width: 320px; }
  .price-box { padding: 28px 20px; }
  .price-amount { font-size: 2.8rem; }
}
