*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { background: #FAF7F2; font-family: Lato, sans-serif; font-weight: 300; color: #2C2420; }
input, textarea, button, a { font-family: inherit; border-radius: 0; }

/* ── Nav ── */
#main-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,247,242,0.97); backdrop-filter: blur(10px);
  height: 68px; padding: 0 52px;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid #E5DDD3;
}
.nav-brand { display: flex; align-items: baseline; gap: 6px; text-decoration: none; }
.nav-brand-name { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 700; color: #2C2420; letter-spacing: 0.01em; }
.nav-brand-name span { color: #C9A96E; }
.nav-brand-sub { font-family: Lato, sans-serif; font-size: 10px; color: #9A8878; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 300; }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-link-secondary { font-family: Lato, sans-serif; font-size: 12px; letter-spacing: 0.1em; color: #5A4840; text-decoration: none; text-transform: uppercase; transition: color 0.2s; }
.nav-link-secondary:hover { color: #C9A96E; }
.nav-link { font-family: Lato, sans-serif; font-size: 12px; letter-spacing: 0.1em; color: #5A4840; text-decoration: none; text-transform: uppercase; transition: color 0.2s; }
.nav-link:hover { color: #C9A96E; }
.nav-link-cta { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; background: #2C2420; color: #FAF7F2; padding: 10px 22px; text-decoration: none; transition: background 0.2s; }
.nav-link-cta:hover { background: #3D3028; }

/* ── Buttons ── */
.btn-gold { display: inline-block; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; background: #C9A96E; color: #fff; padding: 14px 28px; text-decoration: none; border: none; cursor: pointer; transition: background 0.2s; }
.btn-gold:hover { background: #B89258; }
.btn-dark { display: inline-block; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; border: 1.5px solid #2C2420; color: #2C2420; padding: 14px 28px; text-decoration: none; transition: background 0.2s; }
.btn-dark:hover { background: rgba(44,36,32,0.06); }
.btn-border { display: block; font-family: Lato, sans-serif; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; border: 1.5px solid #2C2420; color: #2C2420; padding: 13px; text-decoration: none; text-align: center; transition: background 0.2s; }
.btn-border:hover { background: rgba(44,36,32,0.06); }
.btn-gold-block { display: block; text-align: center; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; background: #C9A96E; color: #fff; padding: 13px; text-decoration: none; transition: background 0.2s; }
.btn-gold-block:hover { background: #B89258; }
.btn-full { width: 100%; background: #C9A96E; color: #fff; border: none; padding: 16px; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer; transition: background 0.2s; }
.btn-full:hover { background: #B89258; }

/* ── Section labels ── */
.section-label { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 14px; }
.section-label.left { justify-content: flex-start; }
.label-line { height: 1px; width: 40px; background: #C9A96E; }
.label-text { font-family: Lato, sans-serif; font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: #C9A96E; }

/* ── Hero ── */
.hero { background: #FAF7F2; display: flex; min-height: 560px; position: relative; overflow: hidden; }
.hero-left { flex: 0 0 52%; padding: 88px 52px; display: flex; flex-direction: column; justify-content: center; position: relative; z-index: 2; }
.hero-tagline { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.hero-tagline-line { width: 32px; height: 1px; background: #C9A96E; }
.hero-tagline-text { font-family: Lato, sans-serif; font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: #C9A96E; }
.hero-title { font-family: 'Playfair Display', serif; font-size: 50px; font-weight: 600; line-height: 1.12; color: #2C2420; margin-bottom: 24px; }
.hero-desc { font-family: Lato, sans-serif; font-size: 15px; line-height: 1.75; color: #6A5848; margin-bottom: 40px; max-width: 400px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-right { flex: 1; position: relative; background: #fff; overflow: hidden; }
.hero-slides { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1s ease; }
.hero-slide.contain { object-fit: contain; background: #FAF7F2; }
.hero-slide.contain.hero-slide-qr { background: #e7e6e2; }
.hero-slide.active { opacity: 1; }
.hero-dots { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 5; display: flex; gap: 8px; }
.hero-dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(250,247,242,0.5); cursor: pointer; transition: background 0.2s, transform 0.2s; }
.hero-dot.active { background: #C9A96E; transform: scale(1.3); }
.hero-card { position: absolute; bottom: 32px; right: 32px; z-index: 5; background: #FAF7F2; padding: 16px 20px; box-shadow: 0 4px 24px rgba(44,36,32,0.12); }
.hero-card-name { font-family: 'Playfair Display', serif; font-size: 13px; font-style: italic; color: #2C2420; margin-bottom: 4px; }
.hero-card-date { font-family: Lato, sans-serif; font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: #C9A96E; }

/* ── Stats bar ── */
.stats-bar { background: #2C2420; display: flex; align-items: stretch; }
.stat-item { flex: 1; display: flex; align-items: center; gap: 14px; padding: 22px 32px; }
.stat-icon {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%;
  border: 1px solid #C9A96E; color: #C9A96E; font-size: 12px;
  display: flex; align-items: center; justify-content: center;
}
.stat-item p { font-family: Lato, sans-serif; font-size: 13px; line-height: 1.5; color: #EDE5D8; }
.stat-sep { width: 1px; align-self: center; height: 32px; background: #3E3028; flex-shrink: 0; }

/* ── Sections ── */
.section-cream { background: #FAF7F2; padding: 80px 52px; }
.section-sand { background: #EDE5D8; padding: 80px 52px; }
.section-dark { background: #2C2420; padding: 80px 52px; }
.section-title { font-family: 'Playfair Display', serif; font-size: 38px; font-weight: 600; color: #2C2420; }
.section-title.light { color: #FAF7F2; }
.section-center { text-align: center; margin-bottom: 52px; }

/* ── Servicios ── */
.services-grid { display: flex; gap: 28px; }
.service-card { flex: 1; padding: 40px 32px; }
.service-card.light { background: #fff; border-top: 3px solid #C9A96E; }
.service-card.dark { background: #2C2420; }
.service-card svg { margin-bottom: 20px; }
.service-card h3 { font-family: 'Playfair Display', serif; font-size: 20px; margin-bottom: 12px; }
.service-card.light h3 { color: #2C2420; }
.service-card.dark h3 { color: #C9A96E; }
.service-card p { font-family: Lato, sans-serif; font-size: 13px; line-height: 1.75; }
.service-card.light p { color: #6A5848; }
.service-card.dark p { color: #9A8878; }

/* ── Demo ── */
.demo-cards { display: flex; gap: 40px; justify-content: center; flex-wrap: wrap; }
.demo-card { text-decoration: none; width: 240px; display: flex; flex-direction: column; align-items: center; }

/* Phone mockup frame */
.phone-mockup {
  width: 230px; height: 470px; flex-shrink: 0;
  background: #1C1814; border-radius: 34px; padding: 14px;
  box-shadow: 0 16px 40px rgba(44,36,32,0.25), inset 0 0 0 2px #3A3028;
  position: relative;
}
.phone-notch {
  position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  width: 70px; height: 16px; background: #1C1814; border-radius: 0 0 10px 10px;
  z-index: 2;
}
.phone-screen {
  width: 100%; height: 100%; border-radius: 22px; overflow: hidden;
  background: #fff; position: relative;
}
.phone-screen iframe {
  width: 375px; height: 821px; border: 0;
  transform: scale(0.5387); transform-origin: top left;
  pointer-events: none;
  overflow: hidden; scrollbar-width: none; -ms-overflow-style: none;
}
.phone-screen iframe::-webkit-scrollbar { display: none; }
.demo-card:hover .phone-screen iframe { pointer-events: auto; }

.demo-card-body { padding: 20px 4px 0; text-align: center; }
.demo-card-name { font-family: 'Playfair Display', serif; font-size: 17px; color: #2C2420; margin-bottom: 5px; }
.demo-card-sub { font-family: Lato, sans-serif; font-size: 12px; color: #9A8878; margin-bottom: 14px; }
.demo-card-link { font-family: Lato, sans-serif; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: #C9A96E; text-decoration: none; }
.demo-card-link:hover { color: #B89258; }

/* ── Premium 3D ── */
.premium-layout { display: flex; gap: 60px; align-items: center; }
.premium-img { flex: 0 0 300px; height: 360px; overflow: hidden; position: relative; }
.premium-img img { width: 100%; height: 100%; object-fit: cover; }
.premium-text { flex: 1; }
.premium-features { display: flex; flex-direction: column; gap: 14px; margin-bottom: 36px; }
.premium-feature { display: flex; gap: 14px; align-items: flex-start; }
.premium-dot { width: 6px; height: 6px; border-radius: 50%; background: #C9A96E; flex-shrink: 0; margin-top: 6px; }
.premium-feature p { font-family: Lato, sans-serif; font-size: 13px; color: #9A8878; line-height: 1.6; }
.premium-feature strong { color: #FAF7F2; font-weight: 400; }

/* ── Software de gestión (sección clara) ── */
.software-layout { display: flex; gap: 60px; align-items: center; }
.software-text { flex: 1; }
.software-img { flex: 1.15; height: 480px; overflow: visible; }
.software-img img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 16px 34px rgba(44,36,32,0.2)); }
.software-features { display: flex; flex-direction: column; gap: 14px; margin-bottom: 36px; }
.software-feature { display: flex; gap: 14px; align-items: flex-start; }
.software-dot { width: 6px; height: 6px; border-radius: 50%; background: #C9A96E; flex-shrink: 0; margin-top: 6px; }
.software-feature p { font-family: Lato, sans-serif; font-size: 13px; color: #6A5848; line-height: 1.6; }
.software-feature strong { color: #2C2420; font-weight: 600; }

/* ── Regalos ── */
.regalos-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.regalo-card { background: #fff; padding: 32px 22px; text-align: center; }
.regalo-card svg { margin-bottom: 14px; }
.regalo-card h4 { font-family: 'Playfair Display', serif; font-size: 15px; color: #2C2420; margin-bottom: 7px; }
.regalo-card p { font-family: Lato, sans-serif; font-size: 12px; color: #9A8878; line-height: 1.5; }

/* ── Precios ──────────────────────────────────────────────────────
   Datos y JS (PLANES/PLAN_FEATURES/renderPlanTabs) en catalogo.config.js
   + pricing-tabs.js. El look base de .tier-tab/.tier-feat/.tier-badge
   vive en pricing-tabs.css (compartido con el modal del catálogo);
   aquí solo el layout de tarjeta propio de esta página. */
.pricing-tabs { display: none; }
.pricing-grid { display: flex; gap: 20px; align-items: stretch; }
.pricing-grid .tier-panel { flex: 1; padding: 40px 28px; display: flex; flex-direction: column; background: #FAF7F2; }
.pricing-grid .tier-panel-featured { background: #2C2420; }
.pricing-grid .tier-header { flex-direction: column; align-items: flex-start; gap: 4px; margin-bottom: 0; }
.pricing-grid .tier-name { font-family: Lato, sans-serif; font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: #9A8878; }
.pricing-grid .tier-panel-featured .tier-name { color: #C9A96E; }
.pricing-grid .tier-price-wrap { text-align: left; }
.pricing-grid .tier-price { font-size: 42px; }
.pricing-grid .tier-panel-featured .tier-price { color: #FAF7F2; }
.pricing-grid .tier-price-note { margin-bottom: 28px; }
.pricing-grid .tier-panel-featured .tier-price-note { color: #7A6858; }
.pricing-grid .tier-feat-list { flex: 1; margin-bottom: 32px; }
.pricing-grid .tier-panel-featured .tier-feat.on { color: #B8A898; }
.pricing-grid .tier-panel-featured .tier-feat.off { color: #7A6858; }
.pricing-grid .tier-cta { margin-top: auto; }

/* ── Contacto ── */
.contact-inner { max-width: 580px; margin: 0 auto; }
.contact-header { text-align: center; margin-bottom: 48px; }
.contact-title { font-family: 'Playfair Display', serif; font-size: 38px; font-weight: 600; color: #2C2420; margin-bottom: 14px; }
.contact-desc { font-family: Lato, sans-serif; font-size: 14px; line-height: 1.7; color: #6A5848; }
.form-group { display: flex; flex-direction: column; gap: 14px; }
.form-row { display: flex; gap: 14px; }
.form-input { width: 100%; padding: 14px 16px; border: 1.5px solid #DDD5C8; background: #fff; font-size: 13px; color: #2C2420; outline: none; transition: border-color 0.2s; }
.form-input:focus { border-color: #C9A96E; }
.form-textarea { height: 110px; resize: vertical; }
.form-success { display: none; text-align: center; padding: 24px; background: #F0EAE0; border: 1px solid #DDD0BC; }
.form-success strong { font-family: 'Playfair Display', serif; font-size: 20px; display: block; margin-bottom: 8px; color: #2C2420; }
.form-success p { font-family: Lato, sans-serif; font-size: 14px; color: #5A4840; line-height: 1.7; }

/* ── Footer ── */
.site-footer { background: #2C2420; padding: 28px 52px; display: flex; justify-content: space-between; align-items: center; }
.footer-brand { font-family: 'Playfair Display', serif; font-size: 17px; color: #C9A96E; display: flex; align-items: baseline; gap: 6px; }
.footer-brand span { color: #FAF7F2; }
.footer-brand sub { font-family: Lato, sans-serif; font-size: 10px; color: #4A3830; font-weight: 300; vertical-align: baseline; }
.footer-copy { font-family: Lato, sans-serif; font-size: 11px; color: #4A3830; letter-spacing: 0.05em; }

/* ── Responsive ── */
@media (max-width: 900px) {
  #main-nav { padding: 0 24px; }
  .nav-links { gap: 16px; }
  .nav-link:not(.nav-link-cta) { display: none; }
  .nav-link-secondary { display: none; }
  .hero { flex-direction: column; }
  .hero-left { flex: unset; padding: 56px 24px 40px; }
  .hero-title { font-size: 36px; }
  .hero-right { min-height: 300px; }
  .stats-bar { flex-direction: column; }
  .stat-item { padding: 18px 24px; border-bottom: 1px solid #3E3028; }
  .stat-item:last-child { border-bottom: none; }
  .stat-sep { display: none; }
  .section-cream, .section-sand, .section-dark { padding: 60px 24px; }
  .services-grid { flex-direction: column; }

  /* Precios: tabs en vez de tarjetas apiladas (mismo tier-tab/tier-panel
     que usa el modal del catálogo, ver pricing-tabs.css) */
  .pricing-tabs { display: flex; gap: 4px; margin-bottom: 24px; border-bottom: 1px solid #DED4C4; }
  .pricing-tabs .tier-tab { flex: 1; text-align: center; padding: 12px 6px 14px; }
  .pricing-tabs .tier-badge { display: none; } /* el "Más popular" solo va en el modal del catálogo */
  .pricing-grid { display: block; }
  .pricing-grid .tier-panel { display: none; width: 100%; }
  .pricing-grid .tier-panel.active { display: flex; }

  .demo-cards { flex-direction: column; align-items: center; }
  .premium-layout { flex-direction: column; }
  .premium-img { flex: unset; width: 100%; height: 260px; }
  .software-layout { flex-direction: column; }
  .software-img { flex: unset; width: 100%; height: 340px; }
  .regalos-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { flex-direction: column; }
  .site-footer { flex-direction: column; gap: 12px; text-align: center; }
}

@media (max-width: 480px) {
  .stat-item { padding: 16px 20px; gap: 12px; }
  .stat-item p { font-size: 12px; }
  .stat-icon { width: 22px; height: 22px; font-size: 10px; }
}
