@import url("https://fonts.googleapis.com/css2?family=Crimson+Pro:ital,wght@0,400;0,600;0,700;1,400&family=Lexend:wght@400;500;600;700&display=swap");

:root {
  --ink: #0a0e17;
  --navy: #131b2e;
  --navy-2: #1a2540;
  --brass: #c9a227;
  --brass-light: #e8c547;
  --burgundy: #9f1239;
  --ivory: #f4f1ea;
  --ivory-dark: #e8e4da;
  --steel: #64748b;
  --text: #f4f1ea;
  --muted: #94a3b8;
  --dim: #64748b;
  --border: rgba(201, 162, 39, 0.15);
  --radius: 16px;
  --font-ui: "Lexend", system-ui, sans-serif;
  --font-display: "Crimson Pro", Georgia, serif;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-ui);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brass-light); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--brass); }
.container { width: min(1180px, 92vw); margin: 0 auto; }
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 9999;
  background: var(--brass); color: var(--ink); padding: 8px 16px; font-weight: 600;
}
.skip-link:focus { left: 8px; top: 8px; }

.top-bar {
  background: var(--ink);
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.78rem;
  padding: 10px 4vw;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.tasa-bcv { color: var(--brass-light); font-weight: 600; }

.site-header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(10, 14, 23, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.site-header.scrolled { box-shadow: var(--shadow); }
.header-inner {
  width: min(1180px, 92vw); margin: 0 auto;
  display: flex; align-items: center; gap: 24px;
  padding: 14px 0;
}
.logo img { height: 40px; width: auto; }
.nav-panel {
  display: flex; gap: 28px; margin-left: auto;
  font-size: 0.88rem; font-weight: 500;
}
.nav-panel a { color: var(--muted); }
.nav-panel a.active, .nav-panel a:hover { color: var(--brass-light); }
.nav-btn {
  display: none; background: var(--navy);
  border: 1px solid var(--border); border-radius: 10px;
  color: var(--text); width: 44px; height: 44px;
  font-size: 1.3rem; cursor: pointer;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px; border-radius: 4px;
  font-weight: 600; font-size: 0.88rem;
  border: none; cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  font-family: var(--font-ui); letter-spacing: 0.02em;
}
.btn:hover { transform: translateY(-2px); }
.btn-brass {
  background: linear-gradient(135deg, var(--brass), var(--brass-light));
  color: var(--ink);
  box-shadow: 0 8px 28px rgba(201, 162, 39, 0.35);
}
.btn-brass:hover { color: var(--ink); box-shadow: 0 12px 36px rgba(201, 162, 39, 0.5); }
.btn-outline {
  background: transparent;
  color: var(--brass-light);
  border: 2px solid var(--brass);
}
.btn-outline:hover { background: rgba(201, 162, 39, 0.1); color: var(--brass-light); }
.btn-block { width: 100%; margin-top: 16px; }
.header-cta { margin-left: 12px; }

.eyebrow {
  display: inline-block;
  font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--brass); margin-bottom: 14px;
}
.brass-text { color: var(--brass-light); }
.burgundy-text { color: #e879a9; }

/* HERO LEGAL */
.hero-legal {
  position: relative; min-height: 90vh;
  display: grid; grid-template-columns: 6px 1fr;
  overflow: hidden;
}
.hero-brass-bar {
  background: linear-gradient(180deg, var(--brass), var(--burgundy));
}
.hero-inner {
  position: relative;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: center;
  padding: 56px 4vw 72px;
  max-width: 1180px; margin: 0 auto; width: 100%;
}
.hero-watermark {
  position: absolute; right: -5%; top: 50%; transform: translateY(-50%);
  width: min(420px, 45vw); opacity: 0.06; pointer-events: none;
}
.hero-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  font-weight: 700; line-height: 1.08;
  margin-bottom: 22px;
}
.hero-copy h1 em { font-style: italic; color: var(--brass-light); }
.hero-lead { color: var(--muted); font-size: 1.05rem; max-width: 480px; margin-bottom: 28px; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 22px; }
.hero-disclaimer {
  font-size: 0.76rem; color: var(--dim);
  max-width: 460px; border-left: 3px solid var(--burgundy);
  padding-left: 14px; line-height: 1.5;
}

.hero-photo-wrap { position: relative; }
.hero-photo {
  border-radius: 4px; overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  aspect-ratio: 4/5;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-seal {
  position: absolute; bottom: -16px; left: -16px;
  background: var(--burgundy); color: var(--ivory);
  padding: 16px 20px; font-size: 0.82rem;
  border-radius: 4px; max-width: 200px;
  box-shadow: var(--shadow);
}
.hero-seal strong {
  display: block; font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 700;
}

.hero-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 12px; margin-top: 20px;
}
.hero-stat {
  background: var(--navy);
  border: 1px solid var(--border);
  padding: 16px; text-align: center;
  border-top: 3px solid var(--brass);
}
.hero-stat strong {
  display: block; font-family: var(--font-display);
  font-size: 1.8rem; color: var(--brass-light);
}
.hero-stat span { font-size: 0.72rem; color: var(--dim); }

/* MARQUEE */
.legal-marquee {
  background: var(--navy);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 16px 0; overflow: hidden;
}
.legal-marquee-track {
  display: flex; gap: 48px; width: max-content;
  animation: marquee 40s linear infinite;
  font-size: 0.82rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--steel);
}
.legal-marquee-track span { white-space: nowrap; }
.legal-marquee-track em { color: var(--brass); font-style: normal; }
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* IVORY SECTION */
.section-ivory {
  background: var(--ivory);
  color: var(--ink);
  padding: 88px 0;
}
.section-ivory .section-intro h2 { color: var(--ink); }
.section-ivory .section-intro p { color: var(--steel); }
.section-ivory .eyebrow { color: var(--burgundy); }

.ivory-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.ivory-card {
  background: var(--ivory-dark);
  border: 1px solid rgba(10, 14, 23, 0.08);
  padding: 28px 22px;
  border-top: 4px solid var(--brass);
  transition: transform 0.3s, box-shadow 0.3s;
}
.ivory-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(10, 14, 23, 0.12);
}
.ivory-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem; margin-bottom: 8px; color: var(--ink);
}
.ivory-card p { font-size: 0.88rem; color: var(--steel); }

/* SECTIONS */
.section { padding: 88px 0; }
.section-dark { background: var(--ink); }
.section-navy { background: var(--navy); }
.section-intro { margin-bottom: 44px; }
.section-intro.center { text-align: center; }
.section-intro h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700; margin-bottom: 14px;
}
.section-intro p { color: var(--muted); max-width: 560px; }
.section-intro.center p { margin: 0 auto; }

/* SERVICE RAIL */
.svc-rail-wrap { position: relative; }
.svc-rail {
  display: flex; gap: 24px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 8px 4vw 24px;
  scrollbar-width: none;
  cursor: grab;
}
.svc-rail::-webkit-scrollbar { display: none; }
.svc-rail.dragging { cursor: grabbing; scroll-snap-type: none; }
.rail-card {
  flex: 0 0 min(340px, 85vw);
  scroll-snap-align: start;
  background: var(--navy-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}
.rail-card:hover {
  border-color: var(--brass);
  transform: translateY(-4px);
}
.rail-card a { color: inherit; display: block; }
.rail-img { aspect-ratio: 16/10; overflow: hidden; }
.rail-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.rail-card:hover .rail-img img { transform: scale(1.05); }
.rail-body { padding: 22px 24px 28px; }
.rail-sku { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; color: var(--brass); }
.rail-body h3 {
  font-family: var(--font-display);
  font-size: 1.2rem; margin: 8px 0 10px;
}
.rail-body p { font-size: 0.88rem; color: var(--muted); margin-bottom: 12px; }

/* TIMELINE VERTICAL */
.timeline-wrap {
  display: grid; grid-template-columns: 280px 1fr; gap: 56px;
  align-items: start;
}
.timeline-nav { position: sticky; top: 100px; }
.timeline-nav h2 {
  font-family: var(--font-display);
  font-size: 2rem; margin-bottom: 24px;
}
.tl-item {
  display: flex; gap: 16px; padding: 16px 0;
  border-left: 2px solid var(--border);
  padding-left: 20px; margin-left: 8px;
  position: relative;
}
.tl-item::before {
  content: ""; position: absolute; left: -7px; top: 20px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--navy); border: 2px solid var(--brass);
}
.tl-item.active::before { background: var(--brass); }
.tl-num { font-family: var(--font-display); font-size: 1.4rem; color: var(--brass); font-weight: 700; min-width: 32px; }
.tl-item h3 { font-size: 1rem; margin-bottom: 4px; }
.tl-item p { font-size: 0.85rem; color: var(--muted); }
.timeline-visual {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 16/11;
}
.timeline-visual img { width: 100%; height: 100%; object-fit: cover; }

/* SPLIT TESTIMONIAL */
.split-testimonial {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
}
.split-testimonial-img { min-height: 320px; }
.split-testimonial-img img { width: 100%; height: 100%; object-fit: cover; }
.split-testimonial-body {
  background: var(--navy-2);
  padding: 48px 40px;
  display: flex; flex-direction: column; justify-content: center;
}
.split-testimonial-body blockquote {
  font-family: var(--font-display);
  font-size: 1.35rem; font-style: italic;
  line-height: 1.55; margin-bottom: 20px;
}
.split-testimonial-body cite { font-size: 0.88rem; color: var(--dim); font-style: normal; }

/* FAQ */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border);
  margin-bottom: 10px; background: var(--navy-2);
}
.faq-q {
  width: 100%; text-align: left; background: none; border: none;
  padding: 20px 24px; font-size: 0.95rem; font-weight: 600;
  cursor: pointer; color: var(--text);
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-ui);
}
.faq-q::after { content: "+"; color: var(--brass); font-size: 1.3rem; transition: transform 0.25s; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  font-size: 0.9rem; color: var(--muted);
  padding: 0 24px; transition: max-height 0.35s, padding 0.35s;
}
.faq-item.open .faq-a { max-height: 200px; padding: 0 24px 20px; }

/* CTA SEAL */
.cta-seal {
  text-align: center; padding: 64px 48px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative; overflow: hidden;
}
.cta-seal::before {
  content: ""; position: absolute; top: -60px; right: -60px;
  width: 200px; height: 200px; border-radius: 50%;
  border: 2px solid rgba(201, 162, 39, 0.2);
}
.cta-seal::after {
  content: ""; position: absolute; bottom: -40px; left: -40px;
  width: 140px; height: 140px; border-radius: 50%;
  border: 2px solid rgba(159, 18, 57, 0.2);
}
.cta-seal h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  margin-bottom: 14px; position: relative;
}
.cta-seal p { color: var(--muted); margin-bottom: 28px; position: relative; }

/* CONTACT */
.contact-split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-list { list-style: none; margin: 20px 0; }
.contact-list li {
  padding: 12px 0; color: var(--muted);
  border-bottom: 1px solid var(--border);
}
.map-frame {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); min-height: 300px;
}
.map-frame iframe { width: 100%; height: 100%; min-height: 300px; border: 0; }

.precio-line strong { display: block; color: var(--text); }
.precio-line span { font-size: 0.82rem; color: var(--dim); }
.precio-note { font-size: 0.75rem; color: var(--brass); margin-top: 4px; }
.section-ivory .precio-line strong { color: var(--ink); }

/* CATALOG */
.catalog-hero {
  padding: 72px 4vw 48px; text-align: center;
  background: var(--navy);
  border-bottom: 1px solid var(--border);
}
.catalog-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  margin-bottom: 14px;
}

.chips {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-bottom: 40px; justify-content: center;
}
.chip {
  padding: 10px 18px; border-radius: 4px;
  border: 1px solid var(--border);
  background: var(--navy-2); font-size: 0.82rem;
  color: var(--muted); cursor: pointer;
  transition: all 0.25s; font-family: var(--font-ui);
}
.chip.active, .chip:hover {
  background: rgba(201, 162, 39, 0.15);
  border-color: var(--brass);
  color: var(--brass-light);
}

.svc-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0; margin-bottom: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  background: var(--navy-2);
}
.svc-row.reverse { direction: rtl; }
.svc-row.reverse > * { direction: ltr; }
.svc-row-img { aspect-ratio: 16/11; overflow: hidden; }
.svc-row-img img { width: 100%; height: 100%; object-fit: cover; }
.svc-row-body {
  padding: 36px 40px;
  border-left: 4px solid var(--burgundy);
  display: flex; flex-direction: column; justify-content: center;
}
.svc-row.reverse .svc-row-body { border-left: none; border-right: 4px solid var(--burgundy); }
.svc-row-body h2 {
  font-family: var(--font-display);
  font-size: 1.4rem; margin: 8px 0 12px;
}
.svc-row-body p { font-size: 0.92rem; color: var(--muted); margin-bottom: 14px; }
.sku { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; color: var(--brass); }
.feat-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.feat-tags li {
  font-size: 0.75rem; padding: 4px 12px;
  background: rgba(201, 162, 39, 0.1);
  border: 1px solid var(--border); color: var(--muted);
}
.modalidad-tag { display: inline-block; font-size: 0.78rem; color: var(--brass-light); font-weight: 600; margin-bottom: 12px; }

/* LEGAL PAGES */
.legal-page {
  width: min(760px, 92vw); margin: 0 auto;
  padding: 56px 0 72px;
}
.legal-page h1 { font-family: var(--font-display); font-size: 2.2rem; margin-bottom: 8px; }
.legal-page .fecha { color: var(--dim); font-size: 0.88rem; margin-bottom: 28px; }
.legal-page h2 { font-size: 1.15rem; margin: 32px 0 12px; color: var(--brass-light); }
.legal-page p, .legal-page li { margin-bottom: 10px; color: var(--muted); font-size: 0.95rem; }
.legal-page ul { padding-left: 20px; margin-bottom: 16px; }

.legal-strip {
  background: var(--navy);
  border-top: 1px solid var(--border);
  text-align: center; padding: 14px 4vw;
  font-size: 0.82rem; color: var(--muted);
}

.site-footer {
  background: var(--ink);
  border-top: 1px solid var(--border);
  padding: 56px 4vw 28px;
}
.footer-grid {
  width: min(1180px, 92vw); margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px; margin-bottom: 40px;
}
.footer-grid h4 {
  font-size: 0.78rem; text-transform: uppercase;
  letter-spacing: 0.1em; margin-bottom: 16px; color: var(--brass);
}
.footer-grid a { display: block; color: var(--dim); font-size: 0.88rem; margin-bottom: 10px; }
.footer-grid a:hover { color: var(--brass-light); }
.footer-base {
  width: min(1180px, 92vw); margin: 0 auto;
  border-top: 1px solid var(--border);
  padding-top: 24px; text-align: center;
  font-size: 0.82rem; color: var(--dim);
}
.footer-legal { margin-top: 10px; font-size: 0.75rem; }

.fab-wa {
  position: fixed; bottom: 28px; right: 28px; z-index: 150;
  filter: drop-shadow(0 8px 24px rgba(37, 211, 102, 0.4));
  transition: transform 0.25s;
}
.fab-wa:hover { transform: scale(1.08); }

.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 300;
  background: var(--navy);
  border-top: 1px solid var(--border);
  padding: 20px 4vw;
  transform: translateY(110%);
  transition: transform 0.4s;
}
.cookie-banner.show { transform: translateY(0); }
.cookie-inner {
  width: min(1180px, 92vw); margin: 0 auto;
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 20px;
}
.cookie-inner p { font-size: 0.88rem; color: var(--muted); max-width: 640px; }
.cookie-btns { display: flex; gap: 12px; flex-wrap: wrap; }

.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-photo-wrap { max-width: 440px; margin: 0 auto; order: -1; }
  .ivory-grid { grid-template-columns: 1fr 1fr; }
  .timeline-wrap { grid-template-columns: 1fr; }
  .timeline-nav { position: static; }
  .split-testimonial { grid-template-columns: 1fr; }
  .contact-split { grid-template-columns: 1fr; }
  .svc-row, .svc-row.reverse { grid-template-columns: 1fr; direction: ltr; }
  .svc-row-body, .svc-row.reverse .svc-row-body { border-left: 4px solid var(--burgundy); border-right: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .nav-panel {
    position: fixed; top: 0; right: 0; bottom: 0;
    width: min(300px, 88vw); background: var(--navy);
    border-left: 1px solid var(--border);
    flex-direction: column; padding: 88px 32px 32px;
    transform: translateX(100%); transition: transform 0.35s;
    margin-left: 0; gap: 20px;
  }
  .nav-panel.open { transform: translateX(0); }
  .nav-btn { display: flex; align-items: center; justify-content: center; margin-left: auto; }
  .header-cta { display: none; }
  .ivory-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .legal-marquee-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .legal-marquee-track { animation: none; }
}
