/* ==========================================================================
   Amparo Gimeno · Estética avanzada & bienestar
   Hoja de estilos principal (sobre Bootstrap 5.3)
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --ink: #234445;          /* verde petróleo del logotipo */
  --ink-dark: #16302f;
  --gold: #b58a39;         /* dorado del logotipo (decorativo) */
  --gold-light: #ddbb71;
  --gold-text: #8a6420;    /* dorado accesible para texto (AA) */
  --paper: #f9f8f4;
  --paper-2: #f1eee7;
  --muted: #5d6b6b;
  --line: rgba(35, 68, 69, .12);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 2px 10px rgba(22, 48, 47, .06);
  --shadow: 0 14px 40px -12px rgba(22, 48, 47, .18);
  --nav-h: 76px;
  --font-display: 'Italiana', Georgia, 'Times New Roman', serif;
  --font-body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --gold-gradient: linear-gradient(135deg, #8a6420 0%, #c9a24f 50%, #8a6420 100%);

  --bs-body-font-family: var(--font-body);
  --bs-body-color: #2c3b3b;
  --bs-body-bg: #fff;
  --bs-link-color-rgb: 35, 68, 69;
  --bs-link-hover-color-rgb: 138, 100, 32;
}

/* ---------- 2. Base ---------- */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body { font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.75; background: #fff; color: var(--bs-body-color); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
h1, h2, h3, h4, h5, h6 { color: var(--ink); }
h3, .h5, .h6 { font-weight: 600; }
a { text-underline-offset: 3px; }
::selection { background: var(--gold-light); color: var(--ink-dark); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.skip-link { position: absolute; top: 8px; left: 8px; z-index: 2000; background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: 8px; }
.link-button { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; text-underline-offset: 3px; font: inherit; cursor: pointer; }
.link-button:hover { color: var(--gold-text); }

/* ---------- 3. Botones ---------- */
.btn { --bs-btn-font-weight: 500; border-radius: 999px; letter-spacing: .01em; transition: transform .2s ease, box-shadow .2s ease, background-color .2s, color .2s, border-color .2s; }
.btn-lg { --bs-btn-padding-x: 1.6rem; --bs-btn-padding-y: .8rem; --bs-btn-font-size: 1rem; }
.btn:hover { transform: translateY(-1px); }
.btn-gold { --bs-btn-color: #fff; --bs-btn-hover-color: #fff; --bs-btn-active-color: #fff; background: var(--gold-gradient); background-size: 200% 100%; border: 0; box-shadow: 0 6px 18px -6px rgba(138, 100, 32, .55); }
.btn-gold:hover, .btn-gold:focus-visible { background-position: 100% 0; box-shadow: 0 10px 24px -8px rgba(138, 100, 32, .7); }
.btn-ink { --bs-btn-bg: var(--ink); --bs-btn-border-color: var(--ink); --bs-btn-color: #fff; --bs-btn-hover-bg: var(--ink-dark); --bs-btn-hover-border-color: var(--ink-dark); --bs-btn-hover-color: #fff; --bs-btn-active-bg: var(--ink-dark); --bs-btn-active-color: #fff; }
.btn-outline-ink { --bs-btn-color: var(--ink); --bs-btn-border-color: rgba(35, 68, 69, .35); --bs-btn-hover-bg: var(--ink); --bs-btn-hover-border-color: var(--ink); --bs-btn-hover-color: #fff; --bs-btn-active-bg: var(--ink); --bs-btn-active-color: #fff; }

/* ---------- 4. Navbar ---------- */
.site-header { background: rgba(255, 255, 255, .92); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); box-shadow: 0 1px 0 var(--line); transition: box-shadow .3s ease, background-color .3s; }
.site-header.is-scrolled { box-shadow: 0 6px 24px -10px rgba(22, 48, 47, .18); background: rgba(255, 255, 255, .97); }
.site-header .navbar { min-height: var(--nav-h); padding-block: .5rem; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; padding: 0; }
.brand-mark { width: 40px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-display); font-size: 1.55rem; color: var(--ink); letter-spacing: .01em; }
.brand-tag { font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-text); font-weight: 600; margin-top: 3px; }
.navbar-toggler { border: 0; font-size: 1.9rem; color: var(--ink); padding: .25rem .5rem; }
.navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(181, 138, 57, .35); }
.nav-link { color: var(--ink); font-weight: 500; font-size: .98rem; padding-inline: .9rem !important; position: relative; }
.nav-link:hover, .nav-link:focus-visible { color: var(--gold-text); }
.nav-link.active { color: var(--ink); }
@media (min-width: 992px) {
  .nav-link::after { content: ""; position: absolute; left: .9rem; right: .9rem; bottom: .25rem; height: 2px; border-radius: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
  .nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
}
@media (max-width: 991.98px) {
  .navbar-collapse { padding-bottom: 1rem; }
  .nav-link { padding-block: .7rem !important; border-bottom: 1px solid var(--line); }
}

/* ---------- 5. Tipografía de secciones ---------- */
.eyebrow { text-transform: uppercase; letter-spacing: .24em; font-size: .74rem; font-weight: 600; color: var(--gold-text); margin-bottom: .9rem; display: inline-flex; align-items: center; gap: .7rem; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.eyebrow--light { color: var(--gold-light); }
.display-title, .section-title, .hero__title { font-family: var(--font-display); font-weight: 400; letter-spacing: -.01em; line-height: 1.12; }
.section-title { font-size: clamp(2rem, 4vw, 2.9rem); margin-bottom: 1.1rem; }
.section-intro { color: var(--muted); max-width: 640px; margin-inline: auto; }
.section { padding-block: clamp(4rem, 8vw, 6.5rem); }
.section--soft { background: var(--paper); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 3rem; }
.section-head--split { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem; text-align: left; max-width: none; }
.section-head--split .section-title { margin-bottom: 0; }

/* ---------- 6. Hero ---------- */
.hero { position: relative; isolation: isolate; min-height: min(calc(100vh - var(--nav-h)), 1000px); min-height: min(calc(100svh - var(--nav-h)), 1000px); display: flex; align-items: center; color: #fff; overflow: hidden; }
.hero__img, .page-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(16, 36, 36, .92) 0%, rgba(35, 68, 69, .78) 38%, rgba(35, 68, 69, .25) 75%, rgba(35, 68, 69, .1) 100%),
    linear-gradient(0deg, rgba(16, 36, 36, .55) 0%, transparent 35%); }
.hero__content { padding-block: 5rem; }
.hero__title { font-size: clamp(2.7rem, 6.6vw, 5.2rem); color: #fff; max-width: 13ch; margin-bottom: 1.4rem; }
.hero__text { font-size: clamp(1.05rem, 1.6vw, 1.22rem); max-width: 560px; color: rgba(255, 255, 255, .88); margin-bottom: 2.2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero__scroll { position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%); color: #fff; font-size: 1.5rem; width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .4); border-radius: 50%; animation: bob 2.4s ease-in-out infinite; }
.hero__scroll:hover { color: var(--gold-light); border-color: var(--gold-light); }
.hero-anim { animation: heroIn .9s cubic-bezier(.2, .7, .2, 1) both; }
.hero-anim:nth-child(2) { animation-delay: .12s; }
.hero-anim:nth-child(3) { animation-delay: .24s; }
.hero-anim:nth-child(4) { animation-delay: .36s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes bob { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }

/* Hero de páginas interiores */
.page-hero { position: relative; isolation: isolate; min-height: clamp(380px, 58vh, 560px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(95deg, rgba(16, 36, 36, .92) 0%, rgba(35, 68, 69, .72) 50%, rgba(35, 68, 69, .3) 100%); }
.page-hero__content { padding-block: 4rem 3.5rem; }
.page-hero .display-title { color: #fff; font-size: clamp(2.4rem, 5vw, 3.9rem); max-width: 18ch; margin-bottom: 1rem; }
.page-hero .lead-text { max-width: 620px; color: rgba(255, 255, 255, .88); font-size: 1.12rem; margin: 0; }
.breadcrumb { --bs-breadcrumb-divider-color: rgba(255, 255, 255, .6); --bs-breadcrumb-item-active-color: rgba(255, 255, 255, .8); font-size: .85rem; margin-bottom: 1.4rem; }
.breadcrumb a { color: #fff; text-decoration: none; }
.breadcrumb a:hover { color: var(--gold-light); }

/* ---------- 7. Features ---------- */
.features { background: var(--paper); border-bottom: 1px solid var(--line); padding-block: 2rem; }
.feature { display: flex; gap: .9rem; align-items: center; }
.feature i { font-size: 1.6rem; color: var(--gold); width: 54px; height: 54px; flex: none; display: grid; place-items: center; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); }
.feature strong { display: block; color: var(--ink); font-weight: 600; line-height: 1.2; }
.feature span { font-size: .9rem; color: var(--muted); }

/* ---------- 8. Centro: media stack ---------- */
.media-stack { position: relative; padding-bottom: 3.5rem; }
.media-stack__main { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; }
.media-stack__portrait { position: absolute; right: -.5rem; bottom: 0; width: min(46%, 240px); background: #fff; padding: .6rem .6rem 1rem; border-radius: var(--radius); box-shadow: var(--shadow); margin: 0; }
.media-stack__portrait img { border-radius: calc(var(--radius) - 6px); aspect-ratio: 1; object-fit: cover; width: 100%; }
.media-stack__portrait figcaption { text-align: center; margin-top: .6rem; line-height: 1.3; }
.media-stack__portrait strong { display: block; font-family: var(--font-display); font-size: 1.3rem; color: var(--ink); font-weight: 400; }
.media-stack__portrait span { font-size: .75rem; color: var(--muted); }

/* ---------- 9. Listas ---------- */
.check-list { list-style: none; padding: 0; margin: 0 0 1rem; }
.check-list li { position: relative; padding-left: 1.8rem; margin-bottom: .55rem; }
.check-list li::before { content: "\F270"; font-family: 'bootstrap-icons'; position: absolute; left: 0; top: 0; color: var(--gold); font-size: 1.05rem; }

/* ---------- 10. Tarjetas de área ---------- */
.area-card { position: relative; display: block; height: 100%; min-height: 420px; border-radius: var(--radius); overflow: hidden; color: #fff; text-decoration: none; isolation: isolate; box-shadow: var(--shadow-sm); }
.area-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.area-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(22, 48, 47, 0) 20%, rgba(22, 48, 47, .65) 55%, rgba(16, 36, 36, .95) 100%); }
.area-card__body { position: absolute; inset: auto 0 0 0; padding: 1.6rem; display: flex; flex-direction: column; gap: .4rem; }
.area-card__body > i { font-size: 1.5rem; color: var(--gold-light); }
.area-card__title { font-family: var(--font-display); font-size: 1.75rem; line-height: 1.1; }
.area-card__text { font-size: .92rem; color: rgba(255, 255, 255, .85); line-height: 1.55; }
.area-card__more { font-size: .85rem; font-weight: 600; letter-spacing: .06em; color: var(--gold-light); margin-top: .3rem; }
.area-card__more i { transition: transform .3s; display: inline-block; }
.area-card:hover img { transform: scale(1.06); }
.area-card:hover .area-card__more i { transform: translateX(4px); }

/* ---------- 11. Tarjetas de noticias / novedades ---------- */
.news-card { position: relative; height: 100%; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .35s ease, box-shadow .35s ease; }
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.news-card__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper); }
.news-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.news-card:hover .news-card__media img { transform: scale(1.05); }
.news-card__body { padding: 1.4rem 1.4rem 1.6rem; display: flex; flex-direction: column; gap: .5rem; }
.news-card__tag { align-self: flex-start; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--gold-text); background: rgba(181, 138, 57, .1); padding: .3rem .7rem; border-radius: 999px; }
.news-card__title { font-size: 1.15rem; margin: 0; }
.news-card__title a { color: var(--ink); text-decoration: none; }
.news-card__title a:hover { color: var(--gold-text); }
.news-card__text { font-size: .93rem; color: var(--muted); margin: 0; line-height: 1.6; }

/* ---------- 12. Tarjetas de servicio ---------- */
.service-card, .therapy-card { height: 100%; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .35s ease, box-shadow .35s ease, border-color .35s; }
.service-card:hover, .therapy-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.service-card__media { position: relative; margin: 0; aspect-ratio: 4 / 3.4; background: linear-gradient(180deg, #fff, var(--paper)); overflow: hidden; }
.service-card__media img { width: 100%; height: 100%; object-fit: contain; padding: 1rem; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.service-card:hover .service-card__media img { transform: scale(1.04); }
.badge-new { position: absolute; top: 1rem; left: 1rem; background: var(--gold-gradient); color: #fff; font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; padding: .35rem .75rem; border-radius: 999px; }
.service-card__body, .therapy-card { padding: 1.6rem; }
.service-card__body { flex: 1; display: flex; flex-direction: column; }
.service-card__body p, .therapy-card p { font-size: .96rem; color: #3f4d4d; }
.service-card__body .check-list, .therapy-card .check-list { font-size: .93rem; }
.service-card__icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(35, 68, 69, .07); color: var(--ink); font-size: 1.3rem; margin-bottom: 1rem; }
.service-card--noimg .service-card__icon { background: var(--gold-gradient); color: #fff; }
.service-card__title { font-size: 1.25rem; margin-bottom: .4rem; }
.service-card__lead { font-weight: 500; color: var(--gold-text) !important; }
.service-card__cta { margin-top: auto; padding-top: .5rem; font-weight: 600; font-size: .9rem; color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; }
.service-card__cta:hover { color: var(--gold-text); }
.service-card__cta i { transition: transform .3s; }
.service-card__cta:hover i { transform: translateX(4px); }

/* Sub-navegación de categorías */
.subnav { position: sticky; top: var(--nav-h); z-index: 1010; background: #fff; border-bottom: 1px solid var(--line); }
.subnav__list { display: flex; gap: .4rem; list-style: none; margin: 0; padding: .75rem 0; overflow-x: auto; scrollbar-width: none; }
.subnav__list::-webkit-scrollbar { display: none; }
.subnav__list a { display: block; white-space: nowrap; padding: .45rem 1rem; border-radius: 999px; font-size: .9rem; font-weight: 500; color: var(--ink); text-decoration: none; border: 1px solid var(--line); transition: all .2s; }
.subnav__list a:hover, .subnav__list a.active { background: var(--ink); color: #fff; border-color: var(--ink); }
html:has(.page-estetica) { scroll-padding-top: calc(var(--nav-h) + 80px); }

/* ---------- 13. Galería ---------- */
.gallery { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
.gallery__item { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.gallery__item:hover img { transform: scale(1.05); }
@media (min-width: 992px) {
  .gallery { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 260px 260px; }
  .gallery__item { aspect-ratio: auto; }
  .gallery__item--1 { grid-row: span 2; }
  .gallery__item--4 { grid-column: span 2; }
}

/* ---------- 14. FAQ ---------- */
.faq .accordion-item { border-color: var(--line); }
.faq .accordion-button { font-weight: 600; color: var(--ink); font-size: 1.04rem; padding-block: 1.25rem; background: transparent; box-shadow: none; }
.faq .accordion-button:not(.collapsed) { color: var(--gold-text); }
.faq .accordion-button:focus-visible { box-shadow: inset 0 0 0 2px var(--gold); }
.faq .accordion-body { color: var(--muted); padding-top: 0; }

/* ---------- 15. CTA band ---------- */
.cta-band { padding-block: 0 clamp(4rem, 8vw, 6rem); background: inherit; }
.section--soft + .cta-band { background: var(--paper); }
.cta-band__inner { position: relative; overflow: hidden; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem; padding: clamp(2rem, 5vw, 3.5rem); border-radius: calc(var(--radius) + 6px); color: rgba(255, 255, 255, .85); background: radial-gradient(circle at 90% 0%, rgba(221, 187, 113, .25), transparent 45%), linear-gradient(120deg, var(--ink-dark), var(--ink)); box-shadow: var(--shadow); }
.cta-band__title { font-family: var(--font-display); color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.5rem); max-width: 22ch; margin-bottom: .6rem; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ---------- 15b. Terapias ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.duo img { border-radius: var(--radius); width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 4; box-shadow: var(--shadow-sm); }
.duo img:last-child { margin-top: 3rem; }

/* ---------- 16. Reservas / contacto ---------- */
.step { height: 100%; padding: 1.8rem; border-radius: var(--radius); background: var(--paper); }
.step__num { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-gradient); color: #fff; font-weight: 600; margin-bottom: 1rem; }
.step h3 { font-size: 1.15rem; }
.step p { margin: 0; color: var(--muted); font-size: .95rem; }
.info-card { padding: 1.8rem; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.hours-list li, .footer-hours li { display: flex; justify-content: space-between; gap: 1rem; padding-block: .45rem; border-bottom: 1px dashed var(--line); font-size: .95rem; }
.hours-list li span:last-child { font-weight: 600; color: var(--ink); white-space: nowrap; }
.contact-card { height: 100%; display: flex; flex-direction: column; gap: .2rem; padding: 1.6rem; border-radius: var(--radius); background: var(--paper); color: var(--ink); text-decoration: none; transition: transform .3s, box-shadow .3s, background-color .3s; }
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); background: #fff; color: var(--ink); }
.contact-card i { font-size: 1.5rem; color: var(--gold); margin-bottom: .6rem; }
.contact-card__label { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.contact-card__value { font-weight: 600; line-height: 1.4; }
.note { display: flex; gap: 1rem; padding: 1.5rem; border-radius: var(--radius); background: #fff; border-left: 4px solid var(--gold); max-width: 860px; margin-inline: auto; box-shadow: var(--shadow-sm); }
.note > i { font-size: 1.4rem; color: var(--gold); }

/* Iframes con consentimiento */
.consent-embed { position: relative; min-height: var(--embed-h, 450px); border-radius: var(--radius); overflow: hidden; background: var(--paper); border: 1px solid var(--line); }
.consent-embed iframe { display: block; width: 100%; height: var(--embed-h, 450px); border: 0; }
.consent-embed__placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 2rem; color: var(--muted);
  background: radial-gradient(circle at 50% 30%, #fff, var(--paper) 70%); }
.consent-embed__placeholder > i { font-size: 2.2rem; color: var(--gold); margin-bottom: .8rem; }
.consent-embed__placeholder p { max-width: 420px; }
.consent-embed.is-loaded .consent-embed__placeholder { display: none; }

/* ---------- 17. Footer ---------- */
.site-footer { background: var(--ink-dark); color: rgba(255, 255, 255, .72); padding-top: 4.5rem; font-size: .95rem; }
.site-footer a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.site-footer a:hover { color: var(--gold-light); }
.footer-brand { display: inline-flex; align-items: center; gap: .9rem; }
.footer-brand img { width: 56px; height: auto; }
.footer-brand .brand-name { display: block; color: #fff; font-size: 1.8rem; }
.footer-brand .brand-tag { display: block; color: var(--gold-light); }
.footer-text { max-width: 340px; }
.footer-title { font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-light); font-weight: 600; margin-bottom: 1.2rem; }
.footer-links li { margin-bottom: .55rem; }
.footer-links p { margin-bottom: .7rem; display: flex; gap: .6rem; }
.footer-links i { color: var(--gold-light); }
.footer-hours li { border-color: rgba(255, 255, 255, .12); font-size: .9rem; }
.footer-hours li span:last-child { color: #fff; }
.social { display: flex; gap: .5rem; margin-top: 1.2rem; }
.social a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); font-size: 1.1rem; transition: all .25s; }
.social a:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.social--dark a { border-color: var(--line); color: var(--ink); }
.footer-bottom { margin-top: 3.5rem; padding-block: 1.6rem; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .85rem; }
.footer-bottom .list-inline-item:not(:last-child) { margin-right: 1.2rem; }
.footer-bottom .link-button { color: rgba(255, 255, 255, .85); text-decoration: none; }
.footer-bottom .link-button:hover { color: var(--gold-light); }

/* ---------- 18. Cookies ---------- */
.cookie-banner { position: fixed; z-index: 1080; left: 1rem; right: 1rem; bottom: 1rem; max-width: 980px; margin-inline: auto; background: #fff; border-radius: var(--radius); box-shadow: 0 20px 60px -15px rgba(16, 36, 36, .4); border: 1px solid var(--line); animation: heroIn .5s ease both; }
.cookie-banner[hidden] { display: none; }
.cookie-banner__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; padding: 1.3rem 1.5rem; }
.cookie-banner__inner > div:first-child { flex: 1 1 420px; }
.cookie-banner__title { font-weight: 600; color: var(--ink); margin-bottom: .25rem; }
.cookie-banner__title i { color: var(--gold); }
.cookie-banner__text { font-size: .88rem; color: var(--muted); margin: 0; line-height: 1.55; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-cat { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.cookie-cat:last-child { border-bottom: 0; }
.form-check-input:checked { background-color: var(--ink); border-color: var(--ink); }
.form-check-input:focus { box-shadow: 0 0 0 .25rem rgba(181, 138, 57, .3); border-color: var(--gold); }
.modal-content { border-radius: var(--radius); border: 0; }
.policy h3 { font-size: 1.05rem; margin-top: 1.5rem; }
.cookie-table { font-size: .85rem; }
.cookie-table th[scope="row"] { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-weight: 500; }

/* ---------- 19. Animaciones on-scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--reveal-delay, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }

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

/* ---------- 20. Responsive ---------- */
@media (max-width: 575.98px) {
  :root { --nav-h: 66px; }
  body { font-size: 1rem; }
  .brand-name { font-size: 1.3rem; }
  .brand-tag { font-size: .55rem; letter-spacing: .14em; }
  .brand-mark { width: 34px; }
  .hero__actions .btn { width: 100%; }
  .area-card { min-height: 360px; }
  .cookie-banner { left: .5rem; right: .5rem; bottom: .5rem; }
  .cookie-banner__actions { width: 100%; }
  .cookie-banner__actions .btn { flex: 1; }
  .duo img:last-child { margin-top: 1.5rem; }
}

/* ---------- 21. Ajustes anti-desbordamiento ---------- */
.footer-links a, .contact-card__value { overflow-wrap: anywhere; }
@media (max-width: 575.98px) {
  .media-stack__portrait { right: .5rem; width: 52%; }
}
