/* Hotel Madrid Minatitlán
   Paleta tomada del propio hotel: rojo vino (fachada y cortinas), madera ámbar y crema. */

:root {
  --wine: #8e1f32;
  --wine-dark: #6c1424;
  --wine-soft: #f6e9eb;
  --amber: #c98a3d;
  --amber-soft: #f3e4cc;
  --charcoal: #1c1d22;
  --charcoal-2: #2a2c33;
  --cream: #faf6f0;
  --sand: #f2ebe0;
  --text: #24252b;
  --muted: #62646d;
  --line: #e6ddd0;
  --white: #ffffff;
  --wa: #25d366;
  --radius: 16px;
  --shadow: 0 12px 34px rgba(28, 29, 34, .10);
  --shadow-lg: 0 24px 60px rgba(28, 29, 34, .18);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --max: 1180px;
  --banner-h: 26px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--banner-h) + 76px); -webkit-text-size-adjust: 100%; }
body { margin: 0; padding-top: var(--banner-h); font-family: var(--sans); font-size: 1rem; line-height: 1.65; color: var(--text); background: var(--cream); -webkit-font-smoothing: antialiased; }
body.no-banner { padding-top: 0; --banner-h: 0px; }
img { max-width: 100%; display: block; }
a { color: var(--wine); }
h1, h2, h3 { font-family: var(--serif); color: var(--charcoal); line-height: 1.15; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 8vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 5.2vw, 2.8rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .container { padding: 0 28px; } }
.section { padding: 72px 0; }
@media (min-width: 960px) { .section { padding: 104px 0; } }
.section--sand { background: var(--sand); }
.section--dark { background: var(--charcoal); color: #d9dae0; }
.section--dark h2, .section--dark h3 { color: var(--white); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; text-transform: uppercase; letter-spacing: .16em; font-size: .76rem; font-weight: 700; color: var(--wine); margin-bottom: .9em; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.section--dark .eyebrow { color: var(--amber); }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 60ch; }
.section--dark .lead { color: #b9bbc4; }
.section-head { max-width: 720px; margin-bottom: 40px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.center .eyebrow { justify-content: center; }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--charcoal); color: #fff; padding: 8px 12px; z-index: 100; }
.skip-link:focus { left: 8px; top: 34px; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }

/* Franja de propuesta: discreta */
.demo-banner { position: fixed; inset: 0 0 auto 0; z-index: 70; height: var(--banner-h); display: flex; align-items: center; justify-content: center; gap: 10px; background: var(--charcoal); color: #c9cad1; font-size: .72rem; letter-spacing: .04em; padding: 0 36px; white-space: nowrap; overflow: hidden; }
.demo-banner button { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: #c9cad1; font-size: 1rem; cursor: pointer; width: 26px; height: 26px; line-height: 1; }

/* Encabezado */
.header { position: fixed; top: var(--banner-h); left: 0; right: 0; z-index: 60; transition: background .25s, box-shadow .25s; }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 72px; }
.header.is-solid { background: rgba(250, 246, 240, .97); box-shadow: 0 1px 0 var(--line), 0 6px 20px rgba(0,0,0,.05); backdrop-filter: blur(8px); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--white); }
.header.is-solid .brand { color: var(--charcoal); }
.brand__mark { width: 42px; height: 42px; border-radius: 12px; background: var(--wine); color: #fff; display: grid; place-items: center; font-family: var(--serif); font-weight: 700; font-size: 1.35rem; box-shadow: 0 6px 16px rgba(142,31,50,.35); }
.brand__name { font-family: var(--serif); font-weight: 600; font-size: 1.15rem; line-height: 1.05; }
.brand__name small { display: block; font-family: var(--sans); font-size: .66rem; letter-spacing: .22em; text-transform: uppercase; opacity: .8; font-weight: 600; margin-top: 3px; }
.nav { display: none; }
.nav a { text-decoration: none; color: rgba(255,255,255,.92); font-size: .93rem; font-weight: 500; padding: 6px 2px; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--amber); transition: right .25s; }
.nav a:hover::after { right: 0; }
.header.is-solid .nav a { color: var(--text); }
.header__actions { display: flex; align-items: center; gap: 8px; }
.lang-btn { border: 1px solid rgba(255,255,255,.5); background: transparent; color: #fff; border-radius: 999px; padding: 7px 12px; font-weight: 700; font-size: .78rem; cursor: pointer; letter-spacing: .05em; }
.header.is-solid .lang-btn { border-color: var(--line); color: var(--charcoal); background: var(--white); }
.menu-btn { border: 0; background: transparent; width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer; color: #fff; }
.header.is-solid .menu-btn { color: var(--charcoal); }
.menu-btn svg { width: 26px; height: 26px; }
.mobile-nav { display: none; background: var(--cream); border-top: 1px solid var(--line); box-shadow: var(--shadow); }
.mobile-nav.is-open { display: block; }
.mobile-nav a { display: block; padding: 15px 20px; text-decoration: none; color: var(--charcoal); border-bottom: 1px solid var(--line); font-weight: 500; }
.header .btn--sm { display: none; }
@media (min-width: 1000px) {
  .nav { display: flex; gap: 24px; }
  .menu-btn, .mobile-nav, .mobile-nav.is-open { display: none; }
  .header .btn--sm { display: inline-flex; }
}

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 13px 26px; border-radius: 999px; font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer; border: 2px solid transparent; transition: background .2s, color .2s, transform .15s, box-shadow .2s; font-family: var(--sans); line-height: 1.2; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--primary { background: var(--wine); color: #fff; box-shadow: 0 10px 24px rgba(142,31,50,.28); }
.btn--primary:hover { background: var(--wine-dark); }
.btn--light { background: #fff; color: var(--charcoal); }
.btn--ghost { border-color: rgba(255,255,255,.75); color: #fff; background: rgba(255,255,255,.06); backdrop-filter: blur(4px); }
.btn--ghost:hover { background: rgba(255,255,255,.16); }
.btn--outline { border-color: var(--charcoal); color: var(--charcoal); background: transparent; }
.btn--outline:hover { background: var(--charcoal); color: #fff; }
.btn--wa { background: var(--wa); color: #0b3d1e; }
.btn--sm { min-height: 42px; padding: 9px 18px; font-size: .9rem; }
.btn--block { width: 100%; }

/* Hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; margin-top: calc(-1 * var(--banner-h)); padding-top: calc(var(--banner-h) + 72px); overflow: hidden; background: var(--charcoal); }
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; animation: heroZoom 18s ease-out both; }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,16,20,.55) 0%, rgba(15,16,20,.15) 30%, rgba(15,16,20,.55) 62%, rgba(15,16,20,.92) 100%); }
@media (min-width: 900px) {
  .hero::after { background: linear-gradient(90deg, rgba(15,16,20,.78) 0%, rgba(15,16,20,.35) 45%, rgba(15,16,20,0) 70%), linear-gradient(180deg, rgba(15,16,20,.5) 0%, rgba(15,16,20,0) 25%, rgba(15,16,20,0) 65%, rgba(15,16,20,.85) 100%); }
  .hero__bg img { object-position: 60% 50%; }
}
.hero__content { position: relative; z-index: 1; padding-bottom: 96px; width: 100%; }
.hero__rating { display: inline-flex; align-items: center; gap: 10px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(6px); padding: 6px 14px 6px 6px; border-radius: 999px; font-size: .88rem; margin-bottom: 18px; }
.hero__rating b { background: var(--wine); border-radius: 999px; padding: 3px 10px; font-size: .9rem; }
.hero h1 { color: #fff; max-width: 13ch; text-shadow: 0 2px 30px rgba(0,0,0,.35); }
.hero h1 em { font-style: italic; color: #f1c98f; font-weight: 600; }
.hero__text { font-size: 1.15rem; color: #eceae6; max-width: 44ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* Buscador rápido */
.quick-wrap { position: relative; z-index: 3; margin-top: -40px; }
.quick { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 18px; display: grid; gap: 12px; }
.quick .field label { color: var(--muted); font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; }
.quick .form__row { grid-template-columns: 1fr 1fr; gap: 12px; }
@media (min-width: 760px) { .quick { grid-template-columns: 2fr .8fr auto; align-items: end; padding: 20px 22px; } }
.after-quick { padding-top: 56px; }
@media (min-width: 960px) { .after-quick { padding-top: 72px; } }

/* Datos clave */
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 760px) { .facts { grid-template-columns: repeat(4, 1fr); } }
.fact { background: var(--white); padding: 22px 18px; display: flex; gap: 12px; align-items: center; }
.fact svg { width: 28px; height: 28px; color: var(--wine); flex: none; }
.fact strong { display: block; font-family: var(--serif); font-size: 1.25rem; color: var(--charcoal); line-height: 1.1; }
.fact span { font-size: .86rem; color: var(--muted); }

/* Beneficios de reservar directo */
.perks { display: grid; gap: 18px; margin-top: 40px; }
@media (min-width: 760px) { .perks { grid-template-columns: repeat(3, 1fr); } }
.perk { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: transform .25s, box-shadow .25s; }
.perk:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.perk__icon { width: 50px; height: 50px; border-radius: 14px; background: var(--wine-soft); color: var(--wine); display: grid; place-items: center; margin-bottom: 16px; }
.perk__icon svg { width: 24px; height: 24px; }
.perk h3 { font-size: 1.2rem; }
.perk p { margin: 0; color: var(--muted); }

/* Habitaciones */
.rooms { display: grid; gap: 26px; }
@media (min-width: 760px) { .rooms { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .rooms { grid-template-columns: repeat(3, 1fr); } }
.room { background: var(--white); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); transition: transform .3s, box-shadow .3s; }
.room:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.room__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); }
.room__media img { width: 100%; height: 100%; object-fit: cover; transition: opacity .35s, transform .6s; }
.room:hover .room__media img { transform: scale(1.04); }
.room__tag { position: absolute; top: 14px; left: 14px; background: rgba(28,29,34,.78); color: #fff; font-size: .78rem; font-weight: 700; letter-spacing: .04em; padding: 5px 12px; border-radius: 999px; backdrop-filter: blur(4px); }
.room__thumbs { position: absolute; bottom: 12px; right: 12px; display: flex; gap: 6px; }
.room__thumbs button { width: 44px; height: 34px; border-radius: 8px; border: 2px solid rgba(255,255,255,.7); padding: 0; overflow: hidden; cursor: pointer; opacity: .8; background: none; }
.room__thumbs button[aria-pressed="true"] { border-color: #fff; opacity: 1; box-shadow: 0 0 0 2px var(--wine); }
.room__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.room__body { padding: 22px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.room__body h3 { margin: 0; }
.room__desc { color: var(--muted); margin: 0; font-size: .97rem; }
.amenities { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; font-size: .9rem; }
.amenities li { display: flex; align-items: center; gap: 8px; color: var(--text); }
.amenities svg { width: 18px; height: 18px; color: var(--wine); flex: none; }
.room__foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.room__price { font-size: .82rem; color: var(--muted); line-height: 1.3; }
.room__price strong { display: block; font-family: var(--serif); color: var(--wine); font-size: 1.1rem; }

/* Servicios */
.services { display: grid; gap: 18px; }
@media (min-width: 640px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .services { grid-template-columns: repeat(4, 1fr); } }
.service { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 280px; display: flex; align-items: flex-end; color: #fff; isolation: isolate; }
.service img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s; }
.service:hover img { transform: scale(1.06); }
.service::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(18,18,22,.88) 100%); }
.service div { padding: 20px; }
.service h3 { color: #fff; font-size: 1.2rem; margin-bottom: .25em; }
.service p { margin: 0; font-size: .92rem; color: #e4e2de; }
.service-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; padding: 0; list-style: none; }
.service-list li { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: .9rem; display: flex; align-items: center; gap: 8px; }
.service-list svg { width: 17px; height: 17px; color: var(--wine); }

/* Reservas */
.booking { display: grid; gap: 36px; }
@media (min-width: 1000px) { .booking { grid-template-columns: .95fr 1.05fr; align-items: center; } }
.booking__photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin-top: 24px; aspect-ratio: 16 / 10; }
.booking__photo img { width: 100%; height: 100%; object-fit: cover; }
.checklist { list-style: none; padding: 0; margin: 0 0 1em; }
.checklist li { padding-left: 32px; position: relative; margin-bottom: 12px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 50%; background: var(--wine) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/12px no-repeat; }
.section--dark .checklist li::before { background-color: var(--amber); }

.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; box-shadow: var(--shadow); color: var(--text); }
@media (min-width: 760px) { .card { padding: 32px; } }
.card h3 { margin-bottom: .2em; }
.card__sub { color: var(--muted); font-size: .95rem; margin-bottom: 18px; }
.form { display: grid; gap: 14px; }
.form__row { display: grid; gap: 14px; }
@media (min-width: 520px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 6px; color: var(--charcoal); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 11px 14px; border: 1px solid #d8cfc1; border-radius: 12px; background: var(--white); font: inherit; color: var(--text); transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 100px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--wine); box-shadow: 0 0 0 4px rgba(142,31,50,.12); outline: none; }
.field [aria-invalid="true"] { border-color: #b3261e; }
.field__error { color: #b3261e; font-size: .84rem; margin: 4px 0 0; min-height: 0; }
.field__error:empty { display: none; }
.form__note { font-size: .8rem; color: var(--muted); margin: 0; text-align: center; }
.form__summary { background: var(--wine-soft); border-radius: 12px; padding: 12px 16px; font-size: .94rem; color: var(--wine-dark); font-weight: 600; margin: 0; }

.avail-note { margin: 0; padding: 12px 16px; border-radius: 12px; font-size: .93rem; font-weight: 600; }
.avail-note--ok { background: #e4f3ea; color: #1f6b44; }
.avail-note--few { background: #fff1d9; color: #8a5200; }
.avail-note--none { background: var(--wine-soft); color: var(--wine-dark); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__error { background: #fdecea; color: #b3261e; border-radius: 12px; padding: 12px 16px; font-size: .92rem; margin: 0; }
.dialog__code { font: 700 1.5rem/1 ui-monospace, Consolas, monospace; letter-spacing: .08em; color: var(--wine); background: var(--wine-soft); border-radius: 12px; padding: 12px; text-align: center; margin: 6px 0 4px; }

/* Empresas */
.corp { position: relative; overflow: hidden; }
.corp__bg { position: absolute; inset: 0; opacity: .16; }
.corp__bg img { width: 100%; height: 100%; object-fit: cover; }
.corp .container { position: relative; }
.corp__grid { display: grid; gap: 36px; }
@media (min-width: 1000px) { .corp__grid { grid-template-columns: 1fr 1fr; align-items: start; } }
.corp-list { display: grid; gap: 14px; margin: 28px 0; }
@media (min-width: 560px) { .corp-list { grid-template-columns: 1fr 1fr; } }
.corp-item { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 14px; padding: 18px; }
.corp-item svg { width: 26px; height: 26px; color: var(--amber); margin-bottom: 8px; }
.corp-item h3 { font-size: 1.08rem; margin-bottom: .25em; }
.corp-item p { margin: 0; color: #b9bbc4; font-size: .93rem; }

/* Ubicación */
.location { display: grid; gap: 28px; }
@media (min-width: 1000px) { .location { grid-template-columns: 1.35fr 1fr; align-items: stretch; } }
.map { border-radius: var(--radius); overflow: hidden; background: var(--sand); min-height: 340px; box-shadow: var(--shadow); }
.map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }
.address { display: flex; gap: 12px; align-items: flex-start; font-size: 1.05rem; margin-bottom: 20px; }
.address svg { width: 24px; height: 24px; color: var(--wine); flex: none; margin-top: 3px; }
.distances { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 10px; }
.distances li { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.distances strong { color: var(--charcoal); font-weight: 600; }
.distances span { color: var(--wine); font-weight: 700; white-space: nowrap; font-size: .95rem; }
.small-note { font-size: .8rem; color: var(--muted); }

/* Galería */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; grid-auto-flow: dense; }
@media (min-width: 760px) { .gallery { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 14px; } }
.gallery button { all: unset; cursor: zoom-in; position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 1; background: var(--sand); }
@media (min-width: 760px) { .gallery button { aspect-ratio: auto; } .gallery .g-wide { grid-column: span 2; } .gallery .g-tall { grid-row: span 2; } }
@media (max-width: 759px) { .gallery button:last-child:nth-child(odd) { grid-column: span 2; aspect-ratio: 2 / 1; } }
.gallery button:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery button:hover img { transform: scale(1.06); }

.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100%; height: 100%; }
.lightbox::backdrop { background: rgba(10,10,12,.92); }
.lightbox__inner { position: relative; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 56px 12px 24px; }
.lightbox img { max-width: min(1200px, 100%); max-height: calc(100vh - 140px); border-radius: 10px; object-fit: contain; }
.lightbox p { color: #ddd; margin: 12px 0 0; text-align: center; }
.lightbox__btn { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; font-size: 1.5rem; display: grid; place-items: center; }
.lightbox__btn:hover { background: rgba(255,255,255,.25); }
.lightbox__close { top: 12px; right: 12px; }
.lightbox__prev { left: 12px; top: 50%; }
.lightbox__next { right: 12px; top: 50%; }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 820px; margin: 0 auto; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 14px; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 54px 18px 20px; font-weight: 600; color: var(--charcoal); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 20px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: var(--wine-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238e1f32' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center/12px no-repeat; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 20px 18px; color: var(--muted); }

/* Contacto */
.contact { display: grid; gap: 18px; }
@media (min-width: 760px) { .contact { grid-template-columns: repeat(3, 1fr); } }
.contact .card { text-align: center; }
.contact .card svg { width: 34px; height: 34px; color: var(--wine); margin: 0 auto 10px; }
.contact .card p { color: var(--muted); }

/* CTA final */
.final-cta { position: relative; overflow: hidden; color: #fff; text-align: center; }
.final-cta__bg { position: absolute; inset: 0; }
.final-cta__bg img { width: 100%; height: 100%; object-fit: cover; }
.final-cta::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(108,20,36,.92), rgba(28,29,34,.75)); }
.final-cta .container { position: relative; z-index: 1; }
.final-cta h2 { color: #fff; }
.final-cta p { color: #f0e6e6; max-width: 52ch; margin-left: auto; margin-right: auto; }
.final-cta .hero__ctas { justify-content: center; }

/* Pie */
.footer { background: #141519; color: #a3a5ae; padding: 56px 0 120px; font-size: .92rem; }
.footer a { color: #e2e3e8; text-decoration: none; }
.footer a:hover { color: var(--amber); }
.footer__grid { display: grid; gap: 28px; }
@media (min-width: 760px) { .footer__grid { grid-template-columns: 1.6fr 1fr 1fr; } }
.footer .brand { color: #fff; margin-bottom: 14px; }
.footer h3 { color: #fff; font-family: var(--sans); font-size: .82rem; text-transform: uppercase; letter-spacing: .14em; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer__legal { border-top: 1px solid #2a2c33; margin-top: 36px; padding-top: 18px; font-size: .78rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }

/* WhatsApp flotante y barra móvil */
.wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 55; width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 26px rgba(0,0,0,.28); text-decoration: none; transition: transform .2s; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--wa); animation: pulse 2.6s infinite; z-index: -1; }
@keyframes pulse { 0% { transform: scale(1); opacity: .55; } 80%, 100% { transform: scale(1.6); opacity: 0; } }
.wa-float svg { width: 32px; height: 32px; }
.wa-float:hover { transform: scale(1.06); }
.mobile-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 54; background: rgba(255,255,255,.97); border-top: 1px solid var(--line); padding: 10px 92px 10px 16px; display: flex; transform: translateY(110%); transition: transform .3s; backdrop-filter: blur(8px); }
.mobile-cta.is-visible { transform: none; }
.mobile-cta .btn { flex: 1; min-height: 48px; }
@media (min-width: 1000px) { .mobile-cta { display: none; } .footer { padding-bottom: 56px; } .wa-float { bottom: 24px; right: 24px; } }
@media (max-width: 999px) { .wa-float { bottom: 80px; } }

/* Confirmación */
.dialog { border: 0; border-radius: 20px; padding: 0; max-width: 460px; width: calc(100% - 32px); box-shadow: var(--shadow-lg); }
.dialog::backdrop { background: rgba(14,14,18,.6); backdrop-filter: blur(2px); }
.dialog__body { padding: 30px 24px 24px; }
.dialog__icon { width: 56px; height: 56px; border-radius: 50%; background: #e3f3ea; color: #1f7a4d; display: grid; place-items: center; margin-bottom: 14px; }
.dialog__icon svg { width: 30px; height: 30px; }
.dialog dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 16px 0; font-size: .95rem; background: var(--cream); border-radius: 12px; padding: 14px 16px; }
.dialog dt { color: var(--muted); }
.dialog dd { margin: 0; font-weight: 600; color: var(--charcoal); }
.dialog__actions { display: grid; gap: 10px; margin-top: 18px; }

/* Animación al hacer scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
