/*
Theme Name: Revive+ Landing
Theme URI: https://revivemzls.com/
Author: Revive+
Description: Landing page de alta conversión para Revive+ — alimentos artesanales de Manizales. Todo configurable desde el Personalizador: colores, precios, textos, fotos, WhatsApp, FAQ y testimonios. Optimizada para SEO/GEO/AEO.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: revive-landing
Tags: one-column, custom-colors, custom-logo, food-and-drink
*/

:root {
  --rv-bg: #F4EFE4;
  --rv-ink: #1E2A4A;
  --rv-gold: #B9975B;
  --rv-card: #FDFBF6;
  --rv-muted: #3C4763;
  --rv-line: rgba(185, 151, 91, .35);
  --rv-line-strong: rgba(185, 151, 91, .5);
  --rv-serif: 'Playfair Display', Georgia, serif;
  --rv-sans: 'Figtree', 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--rv-bg);
  color: var(--rv-ink);
  font-family: var(--rv-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }

a:focus-visible, summary:focus-visible, button:focus-visible {
  outline: 3px solid var(--rv-gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.rv-container { max-width: 1140px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }

h1, h2, h3, h4 { font-family: var(--rv-serif); font-weight: 600; line-height: 1.2; margin: 0; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); line-height: 1.15; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }

.rv-muted { color: var(--rv-muted); }
.rv-pretty { text-wrap: pretty; }

/* ---------- Header ---------- */
.rv-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--rv-bg) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rv-line);
}
.rv-header-inner { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
.rv-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--rv-ink); }
.rv-brand img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 1px solid rgba(30,42,74,.15); }
.rv-brand-name { font-family: var(--rv-serif); font-weight: 600; font-size: 20px; letter-spacing: .02em; }
.rv-nav { display: flex; align-items: center; gap: 22px; margin-left: auto; flex-wrap: wrap; }
.rv-nav a { color: var(--rv-ink); text-decoration: none; font-size: 14.5px; font-weight: 500; }
.rv-nav a:hover { color: var(--rv-gold); }

/* ---------- Buttons ---------- */
.rv-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--rv-gold); color: var(--rv-card);
  text-decoration: none; font-weight: 600; font-size: 16px;
  padding: 14px 28px; border-radius: 999px; min-height: 48px;
}
.rv-btn:hover { background: color-mix(in srgb, var(--rv-gold) 85%, black); }
.rv-btn-sm { font-size: 14.5px; padding: 11px 20px; min-height: 44px; }
.rv-btn-outline {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1.5px solid var(--rv-ink); color: var(--rv-ink); background: transparent;
  text-decoration: none; font-weight: 600; font-size: 16px;
  padding: 14px 28px; border-radius: 999px; min-height: 48px;
}
.rv-btn-outline:hover { background: var(--rv-ink); color: var(--rv-bg); }
.rv-btn-gold-outline {
  display: inline-flex; align-items: center;
  border: 1.5px solid var(--rv-gold); color: var(--rv-ink);
  text-decoration: none; font-weight: 600; font-size: 14px;
  padding: 9px 18px; border-radius: 999px; min-height: 44px;
}
.rv-btn-gold-outline:hover { background: var(--rv-gold); color: var(--rv-card); }
.rv-btn-navy {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--rv-ink); color: var(--rv-card);
  text-decoration: none; font-weight: 600; font-size: 15.5px;
  padding: 13px 26px; border-radius: 999px; min-height: 48px;
}
.rv-btn-navy:hover { background: color-mix(in srgb, var(--rv-ink) 85%, white); }
.rv-btn-inverse { background: var(--rv-gold); color: var(--rv-ink); }
.rv-btn-inverse:hover { background: color-mix(in srgb, var(--rv-gold) 85%, white); }

/* ---------- Hero ---------- */
.rv-hero { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; padding-top: clamp(40px, 7vw, 88px); padding-bottom: clamp(40px, 6vw, 72px); }
.rv-hero > div { flex: 1 1 380px; min-width: 300px; }
.rv-eyebrow {
  margin: 0 0 14px; display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--rv-gold); font-weight: 600;
}
.rv-hero p.rv-sub { font-size: clamp(1rem, 1.6vw, 1.15rem); color: var(--rv-muted); margin: 18px 0 28px; max-width: 52ch; }
.rv-cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.rv-photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; border: 1px solid rgba(185,151,91,.4); display: block; }

/* ---------- Trust bar ---------- */
.rv-trust { border-top: 1px solid rgba(185,151,91,.4); border-bottom: 1px solid rgba(185,151,91,.4); background: var(--rv-card); }
.rv-trust-inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; padding-top: 26px; padding-bottom: 26px; }
.rv-trust-item { display: flex; align-items: center; gap: 12px; font-size: 14.5px; font-weight: 600; }
.rv-trust-item svg { flex-shrink: 0; }

/* ---------- Hero product ---------- */
.rv-section { padding-top: clamp(48px, 7vw, 88px); padding-bottom: clamp(48px, 7vw, 88px); }
.rv-panel {
  background: var(--rv-card); border: 1px solid rgba(185,151,91,.4); border-radius: 18px;
  padding: clamp(24px, 4vw, 48px);
  display: flex; flex-wrap: wrap; gap: 36px; align-items: center;
}
.rv-panel > div { flex: 1 1 360px; min-width: 280px; }
.rv-price-list { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 10px; }
.rv-price-list li {
  display: flex; justify-content: space-between; gap: 16px;
  border-bottom: 1px solid var(--rv-line); padding-bottom: 10px; font-size: 15px;
}
.rv-price { font-family: var(--rv-serif); font-weight: 600; color: var(--rv-gold); }

/* ---------- Catalog ---------- */
.rv-cat-head {
  display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap;
  border-bottom: 1px solid var(--rv-line-strong); padding-bottom: 12px; margin-bottom: 24px;
}
.rv-cat-tagline { font-family: var(--rv-serif); font-style: italic; color: var(--rv-gold); font-size: 15px; }
.rv-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.rv-card {
  background: var(--rv-card); border: 1px solid var(--rv-line); border-radius: 14px;
  overflow: hidden; display: flex; flex-direction: column;
}
.rv-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.rv-card-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.rv-card-body h4 { font-size: 18px; }
.rv-card-body .rv-pres { margin: 0; font-size: 13.5px; color: var(--rv-muted); }
.rv-card-body .rv-price { margin: 0; font-size: 17px; }
.rv-card-body .rv-btn-gold-outline { margin-top: auto; align-self: flex-start; }
.rv-note { margin: 16px 0 0; font-size: 13px; color: var(--rv-muted); font-style: italic; }
.rv-cat { margin-bottom: clamp(40px, 6vw, 64px); }

/* Bread menu */
.rv-bread { background: var(--rv-card); border: 1px solid var(--rv-line); border-radius: 14px; overflow: hidden; display: flex; flex-wrap: wrap; }
.rv-bread-photo { flex: 1 1 320px; min-width: 260px; }
.rv-bread-photo img { width: 100%; height: 100%; min-height: 240px; object-fit: cover; display: block; }
.rv-bread-menu { flex: 1 1 380px; min-width: 280px; padding: clamp(20px, 3vw, 36px); }
.rv-menu-list { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 12px; }
.rv-menu-list li {
  display: flex; align-items: baseline; gap: 10px;
  border-bottom: 1px solid rgba(185,151,91,.3); padding-bottom: 10px; font-size: 15px;
}
.rv-menu-list li .rv-fill { flex: 1; }

/* ---------- Dark sections ---------- */
.rv-dark { background: var(--rv-ink); color: var(--rv-bg); }
.rv-dark .rv-dim { color: color-mix(in srgb, var(--rv-bg) 85%, transparent); }
.rv-combo { text-align: center; }
.rv-combo-row { display: flex; justify-content: center; align-items: center; gap: clamp(8px, 2vw, 20px); flex-wrap: wrap; margin: 36px 0; }
.rv-combo-item { display: grid; gap: 10px; justify-items: center; }
.rv-combo-circle { width: clamp(120px, 22vw, 200px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 1px solid rgba(185,151,91,.6); }
.rv-combo-circle img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rv-combo-item span { font-family: var(--rv-serif); font-size: 15.5px; }
.rv-combo-plus { font-family: var(--rv-serif); font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--rv-gold); }

/* ---------- Historia ---------- */
.rv-historia { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.rv-historia > div { flex: 1 1 340px; min-width: 280px; }
.rv-historia p { color: var(--rv-muted); max-width: 56ch; }

/* ---------- Testimonios ---------- */
.rv-testimonios { background: var(--rv-card); border-top: 1px solid rgba(185,151,91,.4); border-bottom: 1px solid rgba(185,151,91,.4); }
.rv-testimonios h2 { text-align: center; margin-bottom: 32px; }
.rv-quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.rv-quote { margin: 0; background: var(--rv-bg); border: 1px solid var(--rv-line); border-radius: 14px; padding: 24px; display: grid; gap: 12px; }
.rv-quote p { margin: 0; font-family: var(--rv-serif); font-style: italic; font-size: 16.5px; line-height: 1.55; }
.rv-quote footer { font-size: 13.5px; font-weight: 600; color: var(--rv-gold); }

/* ---------- FAQ ---------- */
.rv-faq-wrap { max-width: 860px; margin: 0 auto; }
.rv-faq-wrap h2 { text-align: center; margin-bottom: 12px; }
.rv-faq-wrap .rv-intro { text-align: center; color: var(--rv-muted); margin: 0 0 36px; }
.rv-faq { display: grid; gap: 12px; }
.rv-faq details { background: var(--rv-card); border: 1px solid rgba(185,151,91,.4); border-radius: 12px; padding: 0 20px; }
.rv-faq summary {
  cursor: pointer; list-style: none;
  font-family: var(--rv-serif); font-weight: 600; font-size: 17px;
  padding: 18px 0; display: flex; justify-content: space-between; align-items: center; gap: 14px; min-height: 44px;
}
.rv-faq summary::-webkit-details-marker { display: none; }
.rv-faq summary .rv-plus { color: var(--rv-gold); font-size: 22px; line-height: 1; flex-shrink: 0; }
.rv-faq details[open] summary .rv-plus { transform: rotate(45deg); }
.rv-faq details p { margin: 0 0 20px; color: var(--rv-muted); border-top: 1px solid rgba(185,151,91,.3); padding-top: 14px; }

/* ---------- Footer ---------- */
.rv-footer { text-align: center; }
.rv-footer-links { display: flex; justify-content: center; gap: 28px; flex-wrap: wrap; margin-top: 32px; font-size: 14.5px; }
.rv-footer-links a, .rv-footer-links span { color: var(--rv-bg); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.rv-footer-links a:hover { color: var(--rv-gold); }
.rv-footer-fine { border-top: 1px solid var(--rv-line); margin-top: 32px; padding-top: 20px; font-size: 13px; display: grid; gap: 6px; }
.rv-footer-fine p { margin: 0; }

/* ---------- Floating button ---------- */
.rv-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--rv-gold); color: var(--rv-card);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(30,42,74,.3); text-decoration: none;
}
.rv-float:hover { transform: scale(1.05); }

/* ---------- Menú de WordPress ---------- */
.rv-nav ul.rv-menu { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.rv-nav ul.rv-menu a { color: var(--rv-ink); text-decoration: none; font-size: 14.5px; font-weight: 500; }
.rv-nav ul.rv-menu a:hover { color: var(--rv-gold); }
.rv-nav ul.rv-menu .current-menu-item > a { color: var(--rv-gold); }

/* ---------- Blog ---------- */
.rv-blog-section { background: var(--rv-card); border-top: 1px solid rgba(185,151,91,.4); }
.rv-blog-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; }
.rv-link-gold { color: var(--rv-ink); text-decoration: none; font-weight: 600; font-size: 14.5px; border-bottom: 1.5px solid var(--rv-gold); padding-bottom: 2px; align-self: flex-start; }
.rv-link-gold:hover { color: var(--rv-gold); }
.rv-blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.rv-blog-card { background: var(--rv-bg); border: 1px solid var(--rv-line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; }
.rv-blog-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.rv-blog-body { padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.rv-blog-meta { margin: 0; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--rv-gold); font-weight: 600; }
.rv-blog-body h3 { font-size: 19px; line-height: 1.3; }
.rv-blog-body h3 a { color: var(--rv-ink); text-decoration: none; }
.rv-blog-body h3 a:hover { color: var(--rv-gold); }
.rv-blog-excerpt { margin: 0; font-size: 14px; color: var(--rv-muted); line-height: 1.55; }
.rv-blog-body .rv-link-gold { margin-top: auto; font-size: 14px; }

/* ---------- Entrada individual y archivo ---------- */
.rv-post { max-width: 760px; margin: 0 auto; }
.rv-post h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin: 10px 0 18px; }
.rv-post .rv-post-hero { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 14px; border: 1px solid rgba(185,151,91,.4); margin: 24px 0; display: block; }
.rv-post-content { color: var(--rv-muted); font-size: 17px; line-height: 1.75; }
.rv-post-content h2, .rv-post-content h3 { color: var(--rv-ink); margin: 32px 0 12px; }
.rv-post-content a { color: var(--rv-ink); text-decoration: underline; text-decoration-color: var(--rv-gold); }
.rv-archive-head { text-align: center; margin-bottom: clamp(32px, 5vw, 48px); }
.rv-pagination { display: flex; justify-content: center; gap: 10px; margin-top: 36px; font-weight: 600; }
.rv-pagination a, .rv-pagination span { color: var(--rv-ink); text-decoration: none; padding: 8px 14px; border: 1px solid var(--rv-line); border-radius: 999px; min-height: 44px; display: inline-flex; align-items: center; }
.rv-pagination a:hover { border-color: var(--rv-gold); color: var(--rv-gold); }
.rv-pagination .current { background: var(--rv-gold); color: var(--rv-card); border-color: var(--rv-gold); }

/* ---------- Reveal animation ---------- */
@keyframes rv-fade { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .rv-reveal { animation: rv-fade 1ms linear both; animation-timeline: view(); animation-range: entry 0% entry 55%; }
  }
}
