/* =============================================
   ALQUIMIA DEL ALMA — Sistema CSS Compartido
   Todas las páginas internas usan este archivo
============================================= */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,600;1,9..144,400&family=Jost:wght@300;400;500;600&display=swap');

:root {
  --cream:        #FAF6EE;
  --cream-dark:   #F2EBD9;
  --sand:         #E8DCCB;
  --gold:         #C49A48;
  --gold-hover:   #A8813A;
  --gold-soft:    #F0E4C8;
  --terracotta:   #B8705A;
  --plum:         #4A3660;
  --plum-deep:    #2E2040;
  --plum-soft:    #EDE8F5;
  --sage:         #7A8C6E;
  --text-dark:    #2A1F3D;
  --text-body:    #4A4258;
  --text-muted:   #6C5F7E;
  --border:       #E2D8C8;
  --shadow-sm:    0 2px 12px rgba(42,31,61,.07);
  --shadow-md:    0 8px 32px rgba(42,31,61,.10);
  --shadow-lg:    0 20px 60px rgba(42,31,61,.14);
  --radius-sm:    8px;
  --radius-md:    16px;
  --radius-lg:    24px;
  --radius-xl:    40px;
  --font-display: 'Fraunces', 'Palatino Linotype', 'Book Antiqua', Palatino, Georgia, 'Times New Roman', serif;
  --font-body:    'Jost', 'Segoe UI', Tahoma, Geneva, Verdana, -apple-system, BlinkMacSystemFont, sans-serif;
  --max-w:        1180px;
  --pad:          clamp(1.25rem, 5vw, 2.5rem);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); font-size: 1rem; line-height: 1.7; color: var(--text-body); background: var(--cream); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--gold); outline-offset: 3px;
}
.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 2000;
  background: var(--plum-deep); color: #fff; padding: .7rem 1.3rem;
  border-radius: var(--radius-xl); font-size: .85rem; transition: top .2s;
}
.skip-link:focus { top: 1rem; }

.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad); }

/* EYEBROW */
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.eyebrow::before, .eyebrow::after { content: ''; display: block; width: 24px; height: 1px; background: var(--gold); }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-body); font-size: .9rem; font-weight: 500; padding: .85rem 2rem; border-radius: var(--radius-xl); cursor: pointer; transition: all .25s ease; border: none; }
.btn-primary { background: var(--plum-deep); color: #fff; }
.btn-primary:hover { background: var(--plum); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--gold-hover); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(196,154,72,.35); }
.btn-outline { background: transparent; border: 1.5px solid var(--plum-deep); color: var(--plum-deep); }
.btn-outline:hover { background: var(--plum-deep); color: #fff; }
.btn-outline-light { background: transparent; border: 1.5px solid rgba(255,255,255,.6); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,.15); }

/* SECTION HEADERS */
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-title { font-family: var(--font-display); font-size: clamp(1.8rem, 3.5vw, 2.75rem); font-weight: 400; color: var(--text-dark); line-height: 1.2; margin-bottom: .75rem; }
.section-subtitle { font-size: 1.05rem; color: var(--text-muted); max-width: 500px; margin: 0 auto; }

/* AOS */
.aos { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.aos.visible { opacity: 1; transform: none; }
.aos-delay-1 { transition-delay: .1s; }
.aos-delay-2 { transition-delay: .2s; }
.aos-delay-3 { transition-delay: .3s; }
.aos-delay-4 { transition-delay: .4s; }

/* ── HEADER ── */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 1.25rem 0; transition: background .3s, box-shadow .3s, padding .3s; }
.header.scrolled { background: rgba(250,246,238,.96); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 2px 20px rgba(42,31,61,.08); padding: .75rem 0; }
.header-inner { display: flex; align-items: center; gap: 2rem; }
.logo img { height: 60px; width: auto; transition: height .3s; }
.header.scrolled .logo img { height: 48px; }
.logo .logo-dark { display: none; }
.header.scrolled .logo .logo-white { display: none; }
.header.scrolled .logo .logo-dark { display: block; }
.nav { display: flex; align-items: center; gap: .25rem; margin-left: auto; }
.nav-list { display: flex; align-items: center; list-style: none; gap: .1rem; }
.nav-link { display: flex; align-items: center; gap: .3rem; padding: .55rem .95rem; font-size: .96rem; font-weight: 500; color: rgba(255,255,255,.85); border-radius: var(--radius-sm); transition: color .2s, background .2s; white-space: nowrap; }
.header.scrolled .nav-link { color: var(--text-body); }
.nav-link:hover, .nav-link.active { color: var(--gold) !important; background: rgba(196,154,72,.08); }
.nav-link i { font-size: .65rem; transition: transform .2s; }
.has-dropdown:hover .nav-link i { transform: rotate(180deg); }
.has-dropdown { position: relative; }
/* Puente invisible: evita que el menú se cierre al cruzar el hueco con el cursor */
.has-dropdown::before { content: ''; position: absolute; top: 100%; left: -14px; right: -14px; height: .85rem; }
.dropdown { position: absolute; top: calc(100% + .5rem); left: 50%; transform: translateX(-50%) translateY(8px); background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); padding: .5rem; list-style: none; min-width: 200px; box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: opacity .22s, transform .22s; transition-delay: .28s; }
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { opacity: 1; pointer-events: all; transform: translateX(-50%) translateY(0); transition-delay: 0s; }
.has-dropdown:hover, .has-dropdown:focus-within { z-index: 1; }
.dropdown li a { display: flex; align-items: center; gap: .6rem; padding: .65rem 1rem; font-size: .88rem; color: var(--text-body); border-radius: var(--radius-sm); transition: background .15s, color .15s; }
.dropdown li a:hover { background: var(--cream); color: var(--gold); }
.dropdown li a i { font-size: .8rem; color: var(--gold); width: 16px; text-align: center; }
.nav-cta { margin-left: 1rem; }
.mobile-toggle { display: none; background: none; border: none; color: #fff; font-size: 1.4rem; cursor: pointer; margin-left: auto; padding: .25rem; }
.header.scrolled .mobile-toggle { color: var(--text-dark); }

/* ── PAGE HERO (interno) ── */
.page-hero { padding: 9rem 0 5rem; background: linear-gradient(150deg, #1E1530 0%, #2E2040 40%, #4A3060 70%, #6B4875 100%); position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; background-image: url('../images/hero-background.webp'); background-size: cover; background-position: center; opacity: .1; }
.page-hero-ornament { position: absolute; right: 5%; top: 50%; transform: translateY(-50%); width: 300px; height: 300px; border: 1px solid rgba(196,154,72,.2); border-radius: 50%; opacity: .5; }
.page-hero-ornament::before { content: ''; position: absolute; inset: 20%; border: 1px solid rgba(196,154,72,.2); border-radius: 50%; }
.page-hero-content { position: relative; z-index: 1; max-width: 680px; }
.page-hero-tag { font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); display: flex; align-items: center; gap: .6rem; margin-bottom: 1.25rem; }
.page-hero-tag::after { content: ''; display: block; width: 32px; height: 1px; background: var(--gold); }
.page-hero h1 { font-family: var(--font-display); font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 400; color: #fff; line-height: 1.1; margin-bottom: 1.25rem; }
.page-hero h1 em { font-style: italic; color: var(--gold); }
.page-hero-desc { font-size: 1.1rem; color: rgba(255,255,255,.82); max-width: 540px; line-height: 1.75; margin-bottom: 2rem; }
.page-hero-img { position: absolute; right: 0; top: 0; bottom: 0; width: 42%; object-fit: cover; opacity: .35; }

/* ── BREADCRUMB ── */
.breadcrumb { display: flex; align-items: center; gap: .5rem; font-size: .8rem; color: rgba(255,255,255,.68); margin-bottom: 1.5rem; flex-wrap: wrap; }
.breadcrumb a { color: rgba(255,255,255,.78); transition: color .2s; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb i { font-size: .6rem; }

/* ── SERVICE DETAIL ── */
.service-detail { padding: 5rem 0; background: var(--cream); }
.service-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.service-detail-grid.reverse { direction: rtl; }
.service-detail-grid.reverse > * { direction: ltr; }
.service-detail-img { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3; }
.service-detail-img img { width: 100%; height: 100%; object-fit: cover; }
.service-detail-content h2 { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 400; color: var(--text-dark); margin-bottom: 1rem; line-height: 1.2; }
.service-detail-content p { color: var(--text-body); line-height: 1.8; margin-bottom: 1rem; }

/* BENEFITS LIST */
.benefits-list { list-style: none; display: flex; flex-direction: column; gap: .75rem; margin: 1.5rem 0 2rem; }
.benefits-list li { display: flex; align-items: flex-start; gap: .75rem; font-size: .95rem; color: var(--text-body); }
.benefits-list li i { color: var(--gold); font-size: .9rem; margin-top: .25rem; flex-shrink: 0; }

/* ── HOW IT WORKS ── */
.how-section { padding: 5rem 0; background: var(--cream-dark); }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.how-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; text-align: center; transition: transform .3s, box-shadow .3s; }
.how-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.how-num { width: 52px; height: 52px; border-radius: 50%; background: var(--plum-soft); color: var(--plum); font-family: var(--font-display); font-size: 1.1rem; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.25rem; }
.how-card h3 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 400; color: var(--text-dark); margin-bottom: .5rem; }
.how-card p { font-size: .88rem; color: var(--text-muted); line-height: 1.65; }

/* ── FAQ ── */
.faq-section { padding: 5rem 0; background: var(--cream); }
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 1.25rem 1.5rem; font-size: .95rem; font-weight: 500; color: var(--text-dark); background: none; border: none; cursor: pointer; text-align: left; gap: 1rem; font-family: var(--font-body); transition: color .2s; }
.faq-q:hover { color: var(--gold); }
.faq-q i { font-size: .75rem; color: var(--gold); flex-shrink: 0; transition: transform .3s; }
.faq-item.open .faq-q i { transform: rotate(180deg); }
.faq-a { padding: 0 1.5rem; max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .35s ease; }
.faq-item.open .faq-a { max-height: 300px; padding: 0 1.5rem 1.25rem; }
.faq-a p { font-size: .9rem; color: var(--text-muted); line-height: 1.75; }

/* ── CTA SECTION ── */
.cta-section { padding: 5rem 0; background: linear-gradient(135deg, var(--plum) 0%, var(--plum-deep) 100%); text-align: center; }
.cta-section .eyebrow { justify-content: center; color: var(--gold); }
.cta-title { font-family: var(--font-display); font-size: clamp(1.8rem, 3.5vw, 2.75rem); font-weight: 400; color: #fff; margin-bottom: 1rem; }
.cta-text { color: rgba(255,255,255,.78); max-width: 520px; margin: 0 auto 2.5rem; font-size: 1rem; }
.cta-buttons { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* ── TEAM PAGE ── */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.team-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: transform .3s, box-shadow .3s; }
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.team-photo { aspect-ratio: 3/4; overflow: hidden; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .5s; }
.team-card:hover .team-photo img { transform: scale(1.04); }
.team-info { padding: 1.75rem; }
.team-name { font-family: var(--font-display); font-size: 1.3rem; font-weight: 400; color: var(--text-dark); margin-bottom: .25rem; }
.team-role { font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.team-bio { font-size: .88rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 1.25rem; }
.team-skills { display: flex; flex-wrap: wrap; gap: .4rem; }
.skill-tag { background: var(--plum-soft); color: var(--plum); font-size: .72rem; font-weight: 500; padding: .25rem .75rem; border-radius: var(--radius-xl); }

/* ── LANDING PAGE ── */
.landing-hero { min-height: 85vh; display: flex; align-items: center; background: linear-gradient(135deg, var(--plum-deep) 0%, #3D2B55 60%, #5C3E70 100%); position: relative; overflow: hidden; }
.landing-hero::before { content: ''; position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .15; }
.landing-hero-img { position: absolute; right: 0; top: 0; bottom: 0; width: 50%; object-fit: cover; opacity: .3; }
.landing-hero-overlay { position: absolute; right: 0; top: 0; bottom: 0; width: 55%; background: linear-gradient(90deg, var(--plum-deep), transparent); }
.landing-hero-content { position: relative; z-index: 2; padding: 6rem 0; max-width: 580px; }
.landing-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; padding: 4rem 0; background: var(--cream); }
.landing-feature { text-align: center; padding: 2rem; }
.landing-feature-icon { width: 60px; height: 60px; border-radius: 50%; background: var(--gold-soft); color: var(--gold); font-size: 1.4rem; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; }
.landing-feature h3 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 400; color: var(--text-dark); margin-bottom: .5rem; }
.landing-feature p { font-size: .88rem; color: var(--text-muted); line-height: 1.65; }
.landing-redirect { padding: 5rem 0; background: var(--cream-dark); text-align: center; }
.redirect-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 3rem; max-width: 580px; margin: 0 auto; box-shadow: var(--shadow-md); }
.redirect-timer { font-family: var(--font-display); font-size: 4rem; color: var(--gold); margin: 1rem 0; }

/* ── AUTOR / LIBROS ── */
.autor-hero { padding: 10rem 0 5rem; background: linear-gradient(135deg, var(--plum-deep), #3D2B55); position: relative; overflow: hidden; }
.autor-grid { display: grid; grid-template-columns: 280px 1fr; gap: 4rem; align-items: center; position: relative; z-index: 1; }
.autor-photo { border-radius: var(--radius-lg); overflow: hidden; border: 3px solid rgba(196,154,72,.3); }
.autor-photo img { width: 100%; object-fit: cover; }
.autor-name { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); font-weight: 400; color: #fff; margin-bottom: .5rem; }
.autor-title { font-size: .8rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.25rem; }
.autor-bio { color: rgba(255,255,255,.82); line-height: 1.8; margin-bottom: 2rem; }
.autor-stats { display: flex; gap: 2.5rem; }
.stat-num { font-family: var(--font-display); font-size: 2rem; color: var(--gold); display: block; }
.stat-label { font-size: .8rem; color: rgba(255,255,255,.7); }
.libros-full-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; padding: 5rem 0; }
.libro-full-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: transform .3s, box-shadow .3s; }
.libro-full-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.libro-full-cover { aspect-ratio: 3/4; overflow: hidden; }
.libro-full-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.libro-full-card:hover .libro-full-cover img { transform: scale(1.04); }
.libro-full-info { padding: 1.5rem; }
.libro-full-badge { display: inline-block; background: var(--gold-soft); color: var(--gold-hover); font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: .2rem .65rem; border-radius: var(--radius-xl); margin-bottom: .75rem; }
.libro-full-title { font-family: var(--font-display); font-size: 1.2rem; font-weight: 400; color: var(--text-dark); margin-bottom: .5rem; }
.libro-full-desc { font-size: .85rem; color: var(--text-muted); line-height: 1.65; margin-bottom: 1.25rem; }

/* ── FOOTER ── */
.footer { background: var(--plum-deep); padding: 4rem 0 2rem; color: rgba(255,255,255,.72); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand img { height: 44px; margin-bottom: 1rem; }
.footer-brand p { font-size: .85rem; line-height: 1.7; max-width: 240px; }
.footer-social { display: flex; gap: .5rem; margin-top: 1.25rem; }
.footer-social a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.15); display: flex; align-items: center; justify-content: center; font-size: .85rem; transition: border-color .2s, color .2s; }
.footer-social a:hover { border-color: var(--gold); color: var(--gold); }
.footer-col h5 { font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.9); margin-bottom: 1rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.footer-col ul li a { font-size: .85rem; color: rgba(255,255,255,.68); transition: color .2s; }
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; font-size: .8rem; }
.footer-bottom a { color: var(--gold); }

/* ── BACK TO TOP ── */
.back-to-top { position: fixed; bottom: 2rem; left: 2rem; z-index: 500; width: 44px; height: 44px; border-radius: 50%; background: var(--plum-deep); color: #fff; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: .9rem; box-shadow: var(--shadow-md); opacity: 0; transform: translateY(12px); transition: opacity .3s, transform .3s; }
.back-to-top.visible { opacity: 1; transform: none; }
.back-to-top:hover { background: var(--plum); }
.tienda-float { position: fixed; bottom: 2rem; right: 2rem; z-index: 500; background: var(--gold); color: #fff; display: flex; align-items: center; gap: .5rem; padding: .7rem 1.25rem; border-radius: var(--radius-xl); font-size: .85rem; font-weight: 600; box-shadow: 0 8px 24px rgba(196,154,72,.4); transition: transform .2s, box-shadow .2s; }
.tienda-float:hover { transform: translateY(-3px); }
/* WhatsApp flotante — canal principal de contacto */
.wa-float { position: fixed; bottom: 2rem; right: 2rem; z-index: 500; background: #25D366; color: #fff; display: flex; align-items: center; gap: .5rem; padding: .8rem 1.35rem; border-radius: var(--radius-xl); font-size: .9rem; font-weight: 600; box-shadow: 0 8px 24px rgba(37,211,102,.42); transition: transform .2s, box-shadow .2s; }
.wa-float i { font-size: 1.2rem; }
.wa-float:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(37,211,102,.52); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .libros-full-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav { display: none; position: fixed; top: 0; right: 0; bottom: 0; width: 280px; background: #fff; flex-direction: column; align-items: flex-start; padding: 5rem 1.5rem 2rem; overflow-y: auto; box-shadow: var(--shadow-lg); z-index: 999; }
  .nav.open { display: flex; }
  .nav-list { flex-direction: column; width: 100%; gap: .25rem; }
  .nav-link { color: var(--text-body) !important; width: 100%; }
  .dropdown { position: static; transform: none; opacity: 1; pointer-events: all; box-shadow: none; border: none; background: var(--cream); margin-top: .25rem; display: none; }
  .has-dropdown.open .dropdown { display: block; }
  .mobile-toggle { display: flex; }
  .nav-cta { width: 100%; margin-top: 1rem; }
  .nav-cta .btn { width: 100%; justify-content: center; }
  .service-detail-grid, .service-detail-grid.reverse { grid-template-columns: 1fr; direction: ltr; gap: 2.5rem; }
  .how-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .landing-features { grid-template-columns: 1fr; }
  .autor-grid { grid-template-columns: 1fr; }
  .libros-full-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .tienda-float span { display: none; }
  .tienda-float { padding: .8rem; border-radius: 50%; width: 48px; height: 48px; justify-content: center; }
  .wa-float span { display: none; }
  .wa-float { padding: .85rem; border-radius: 50%; width: 52px; height: 52px; justify-content: center; }
  .page-hero-img { display: none; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ── ACCESIBILIDAD: reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .aos { opacity: 1 !important; transform: none !important; }
}

/* ── INVERSIÓN (páginas de servicio) ── */
.inv-section { padding: 5rem 0; background: var(--cream); }
.inv-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; max-width: 860px; margin: 0 auto; align-items: stretch; }
.inv-grid.single { grid-template-columns: 1fr; max-width: 480px; }
.inv-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2.25rem 2rem; text-align: center; transition: transform .3s, box-shadow .3s; }
.inv-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.inv-card.featured { border-color: var(--gold); box-shadow: 0 4px 24px rgba(196,154,72,.12); }
.inv-tag { display: inline-block; align-self: center; background: var(--plum-soft); color: var(--plum); font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: .28rem .85rem; border-radius: var(--radius-xl); margin-bottom: 1rem; }
.inv-card.featured .inv-tag { background: var(--gold-soft); color: #8A6A22; }
.inv-card h3 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 400; color: var(--text-dark); margin-bottom: .75rem; }
.inv-price { display: block; font-family: var(--font-display); font-size: 2.1rem; font-weight: 600; color: var(--plum-deep); line-height: 1.15; }
.inv-unit { display: block; font-size: .8rem; letter-spacing: .04em; color: var(--text-muted); margin-top: .35rem; }
.inv-desc { font-size: .9rem; color: var(--text-muted); line-height: 1.7; margin: 1.15rem 0 1.75rem; flex-grow: 1; }
.inv-pay { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; max-width: 100%; text-align: center; background: var(--plum-deep); color: #fff; font-size: .9rem; font-weight: 500; padding: .8rem 1.6rem; border-radius: var(--radius-xl); transition: background .25s, transform .25s, box-shadow .25s; }
.inv-pay:hover { background: var(--plum); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.inv-card.featured .inv-pay { background: var(--gold); }
.inv-card.featured .inv-pay:hover { background: var(--gold-hover); box-shadow: 0 8px 24px rgba(196,154,72,.35); }
.inv-note { max-width: 760px; margin: 2.5rem auto 0; font-size: .9rem; color: var(--text-body); line-height: 1.8; text-align: center; }
.inv-note a { color: var(--plum); border-bottom: 1px solid var(--gold); }
.inv-note a:hover { color: var(--gold); }
.inv-legal { max-width: 760px; margin: 1.25rem auto 0; font-size: .78rem; color: var(--text-muted); line-height: 1.7; text-align: center; }
@media (max-width: 768px) {
  .inv-grid { grid-template-columns: 1fr; }
}
