/* VOICE: Quiet Mediterranean Luxury — calma arquitectónica, calidez editorial.
   IDEA: el arco y la escalera del logo; marfil, pizarra y terracota.
   PICTURE: foto de portada protagonista.
   COLOUR/TYPE: brand book Attico; Cormorant Garamond + Inter.
   LAYOUT: mobile-first, bandas a todo ancho, contenido a 1200px. */

*, *::before, *::after { box-sizing: border-box; min-width: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font: 400 clamp(16px, 0.25vw + 15.2px, 17px)/1.6 var(--font-body);
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--font-heading); font-weight: 500; line-height: 1.05; color: var(--color-text); text-wrap: balance; margin: 0 0 .5em; letter-spacing: 0; }
h1 { font-size: clamp(38px, 3.6vw + 22px, 64px); }
h2 { font-size: clamp(30px, 2vw + 20px, 46px); }
.band > .wrap > h2::after { content: ""; display: block; width: 56px; height: 2px; background: var(--color-accent-deco); margin-top: 14px; }
h3 { font-size: clamp(22px, .6vw + 19px, 27px); font-weight: 600; }
.eyebrow { font: 600 12.5px/1.4 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--color-accent); margin: 0 0 8px; }
.tagline { font: italic 400 clamp(20px, .8vw + 16px, 24px)/1.2 var(--font-heading); color: var(--color-muted); margin: 0 0 10px; }
.mt { margin-top: 16px; } .m0 { margin: 0; }
p { margin: 0 0 1em; }
.wrap { width: min(100% - 2*max(5vw, 16px), var(--maxw)); margin-inline: auto; }
.band { padding-block: clamp(44px, 6vw, 96px); }
.band--surface { background: var(--color-surface); }
.lead { font-size: clamp(17px, .5vw + 15px, 20px); color: var(--color-muted); max-width: 62ch; }
.muted { color: var(--color-muted); }
.small { font-size: 14px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--color-primary); color: var(--color-on-primary); padding: 12px 16px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
mark.pending { background: var(--color-pending); color: var(--color-on-pending); padding: 0 .3em; border-radius: 4px; font-size: .9em; }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 12px 22px; border-radius: var(--radius-sm);
  font: 600 13.5px/1.2 var(--font-body); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; cursor: pointer; text-align: center;
  border: 2px solid transparent; transition: transform .15s ease, background-color .15s ease;
  background: var(--color-primary); color: var(--color-on-primary);
}
.btn:hover { transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--color-text); border-color: var(--color-border-strong); }
.btn--ghost:hover { background: var(--color-surface); }
.btn--light { background: var(--brand-ivory); color: #26343D; border-color: var(--brand-ivory); }
.btn--wa { background: var(--color-wa); color: var(--color-on-wa); border-color: var(--color-wa-ring); }
.btn--block { width: 100%; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--color-bg);  border-bottom: 1px solid var(--color-border); }
.site-header .wrap { display: flex; align-items: center; gap: 16px; min-height: 76px; }
.brand { display: flex; align-items: center; text-decoration: none; margin-right: auto; }
.brand img { height: 54px; width: auto; }
.nav { display: none; gap: 26px; }
.nav a { color: var(--color-text); text-decoration: none; font-weight: 500; }
.nav a:hover { color: var(--color-accent); }
.lang { color: var(--color-text); font-weight: 600; letter-spacing: .08em; text-decoration: none; padding: 10px 8px; min-height: 44px; display: inline-flex; align-items: center; }
.header-cta { min-height: 44px; padding: 9px 16px; font-size: 15px; }
.menu { position: relative; }
.menu summary { list-style: none; cursor: pointer; min-width: 44px; min-height: 44px; display: grid; place-items: center; border-radius: 10px; color: var(--color-text); }
.menu summary::-webkit-details-marker { display: none; }
.menu summary svg { width: 24px; height: 24px; }
.menu[open] .menu-panel { display: grid; }
.menu-panel { display: none; position: absolute; right: 0; top: 52px; background: var(--color-card); border: 1px solid var(--color-border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 8px; min-width: 220px; }
.menu-panel a { color: var(--color-text); text-decoration: none; padding: 12px 14px; border-radius: 8px; }
.menu-panel a:hover { background: var(--color-surface); }
@media (min-width: 1024px) {
  .nav { display: flex; }
  .menu { display: none; }
}
@media (max-width: 400px) { .header-cta { display: none; } }

/* Hero */
.hero { position: relative; background: var(--color-surface); }
.hero-media { position: relative; aspect-ratio: 3 / 2; max-height: 44vh; width: 100%; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-copy { padding: 24px max(5vw, 16px) 32px; }
.hero-copy .lead { color: var(--color-text); opacity: .9; }
.hero .btns { margin-top: 18px; }
@media (min-width: 900px) {
  .hero { display: grid; grid-template-columns: minmax(0, 1fr); }
  .hero-media { aspect-ratio: auto; max-height: none; height: min(78vh, 720px); grid-area: 1 / 1; }
  .hero-copy {
    grid-area: 1 / 1; align-self: end; position: relative; z-index: 1; margin: 0 0 48px max(5vw, calc((100% - var(--maxw)) / 2));
    max-width: 640px; background: var(--color-bg); border-radius: var(--radius); padding: 36px 44px; box-shadow: var(--shadow);
  }
}

/* Disclaimer */
.disclaimer { background: var(--color-primary); color: var(--color-on-primary); }
.disclaimer .wrap { display: flex; gap: 12px; align-items: flex-start; padding-block: 16px; font-size: 15px; line-height: 1.5; }
.disclaimer svg { width: 22px; height: 22px; flex: none; margin-top: 1px; }
.disclaimer p { margin: 0; }
.disclaimer a { color: inherit; font-weight: 600; }

/* Steps */
.steps { display: grid; gap: 16px; margin-top: 28px; padding: 0; list-style: none; counter-reset: s; }
.steps li { background: var(--color-card); border: 1px solid var(--color-border); border-radius: var(--radius); padding: 22px; counter-increment: s; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--color-accent-deco); color: var(--color-accent); font: 500 24px/1 var(--font-heading); margin-bottom: 12px; }
.steps h3 { margin-bottom: .3em; }
.steps p { margin: 0; color: var(--color-muted); }

.photo-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.photo-frame img { width: 100%; height: min(60vh, 520px); object-fit: cover; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Cards */
.cards { display: grid; gap: 24px; margin-top: 28px; }
@media (min-width: 768px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.card { display: flex; flex-direction: column; background: var(--color-card); border: 1px solid var(--color-border); border-radius: var(--radius); overflow: hidden; }
.card-media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--color-surface-2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .card-media img { transform: scale(1.03); }
.card-body { padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }

.card h3 { margin: 0; }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a:hover { color: var(--color-accent); }
.facts { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--color-muted); font-size: 15px; margin: 0; padding: 0; list-style: none; }
.ticks { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.ticks li { display: flex; gap: 8px; align-items: flex-start; }
.ticks svg { width: 18px; height: 18px; flex: none; margin-top: 4px; color: var(--color-accent-deco); }
.ticks--lg { font-size: 17px; margin-bottom: 28px; gap: 10px; }
.card .btns { margin-top: auto; padding-top: 8px; }
.card .btns .btn { flex: 1 1 100%; }

/* Why */
.why { display: grid; gap: 18px; margin-top: 28px; }
@media (min-width: 768px) { .why { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .why { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.why div { padding: 4px 0; }
.why svg { width: 30px; height: 30px; color: var(--color-accent-deco); margin-bottom: 10px; }
.why p { color: var(--color-muted); margin: 0; }

/* Form */
.quote { display: grid; gap: 32px; }
@media (min-width: 1024px) { .quote { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; } }
.form { background: var(--color-card); border: 1px solid var(--color-border); border-radius: var(--radius); padding: clamp(18px, 3vw, 32px); box-shadow: var(--shadow); }
.grid2 { display: grid; gap: 16px; }
@media (min-width: 1024px) { .grid2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .span2 { grid-column: 1 / -1; } }
.field { display: grid; gap: 6px; align-content: start; }
.field label, .field .label { font-weight: 600; font-size: 15px; }
.req { color: var(--color-accent); }
.hint { font-size: 14px; color: var(--color-muted); }
input, select, textarea {
  font: 400 16px/1.4 var(--font-body);
  width: 100%; min-height: 48px; padding: 11px 14px;
  color: var(--color-text); background: var(--color-card);
  border: 1.5px solid var(--color-border-strong); border-radius: var(--radius-sm);
  appearance: none; -webkit-appearance: none;
}
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%237a848b' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
textarea { min-height: 110px; resize: vertical; }
input::placeholder, textarea::placeholder { color: var(--color-muted); opacity: 1; }
input[type="date"] { min-height: 48px; }
input[type="date"]::-webkit-calendar-picker-indicator { filter: none; }
input:focus, select:focus, textarea:focus { outline: 3px solid var(--color-focus); outline-offset: 1px; border-color: var(--color-focus); }
input[aria-invalid="true"], select[aria-invalid="true"] { border-color: #c0392b; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.check input { width: 24px; height: 24px; min-height: 24px; padding: 0; flex: none; margin-top: 1px; border-radius: 6px; display: grid; place-items: center; }
.check input:checked { background: var(--color-primary); border-color: var(--color-primary); }
.check input:checked::after { content: ""; width: 12px; height: 7px; border: 2.5px solid var(--color-on-primary); border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.errors { display: none; background: #fdecea; color: #7a1d12; border-radius: var(--radius-sm); padding: 12px 14px; font-size: 15px; }
.errors.show { display: block; }
.errors ul { margin: 6px 0 0; padding-left: 20px; }
.notice { background: var(--color-accent-soft); color: var(--color-text); border-radius: var(--radius-sm); padding: 12px 14px; font-size: 15px; }
.form-actions { display: grid; gap: 12px; margin-top: 8px; }
@media (min-width: 1024px) { .form-actions { grid-template-columns: 1fr 1fr; } }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.aside-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 14px; }
.aside-list li { display: flex; gap: 10px; }
.aside-list svg { width: 22px; height: 22px; flex: none; color: var(--color-accent); margin-top: 2px; }

/* FAQ */
.faq { max-width: 820px; margin-top: 20px; }
.faq details { border-bottom: 1px solid var(--color-border); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; font-weight: 600; position: relative; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 12px; font: 400 28px/1 var(--font-heading); color: var(--color-accent); }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 0 18px; color: var(--color-muted); }
.faq details > div p:last-child { margin: 0; }

/* Ficha */
.crumbs { font-size: 14px; color: var(--color-muted); padding-top: 18px; }
.crumbs a { color: var(--color-muted); }
.apt-head { padding-block: 18px 22px; }

.apt-layout { display: grid; gap: 40px; }
@media (min-width: 1024px) { .apt-layout { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); align-items: start; } }
.apt-side { background: var(--color-surface); border-radius: var(--radius); padding: 24px; display: grid; gap: 14px; overflow-wrap: anywhere; }
@media (min-width: 1024px) { .apt-side { position: sticky; top: 92px; } }
.apt-side .facts { font-size: 16px; color: var(--color-text); }
.honest { border-left: 4px solid var(--color-accent); background: var(--color-accent-soft); padding: 14px 16px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.honest p { margin: 0; }
.amenities { columns: 1; padding: 0; list-style: none; margin: 0; }
.amenities li { break-inside: avoid; padding: 6px 0; display: flex; gap: 8px; }
.amenities svg { width: 18px; height: 18px; flex: none; margin-top: 4px; color: var(--color-accent-deco); }
@media (min-width: 600px) { .amenities { columns: 2; column-gap: 32px; } }
.rules { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 0; }
.rules div { background: var(--color-surface); border-radius: var(--radius-sm); padding: 12px 14px; }
.rules dt { font-size: 14px; color: var(--color-muted); }
.rules dd { margin: 0; font-weight: 600; }

/* Calendario */
.cal { border: 1px solid var(--color-border); border-radius: var(--radius); padding: clamp(14px, 2.5vw, 24px); background: var(--color-card); }
.cal-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.cal-top strong { font-family: var(--font-heading); font-size: 20px; font-weight: 560; }
.icon-btn {
  width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%;
  border: 1.5px solid var(--color-border-strong); background: var(--color-card); color: var(--color-text); cursor: pointer;
}
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn:hover { background: var(--color-surface-2); }
.cal-months { display: grid; gap: 24px; }
@media (min-width: 768px) { .cal-months { grid-template-columns: 1fr 1fr; } }
.cal-month h4 { margin: 0 0 8px; font: 600 16px/1.3 var(--font-body); }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; }
.cal-grid .dow { font-size: 12px; color: var(--color-muted); text-align: center; padding: 4px 0; }
.day {
  aspect-ratio: 1; min-height: 40px; border: 0; border-radius: 8px; font: 500 15px/1 var(--font-body);
  background: var(--color-card); color: var(--color-text); cursor: pointer; display: grid; place-items: center;
}
.day:hover { background: var(--color-surface-2); }
.day.past { color: var(--color-on-busy); opacity: .5; cursor: default; background: transparent; }
.day.busy { background: var(--color-busy); color: var(--color-on-busy); text-decoration: line-through; }
.day.in-range { background: var(--color-range); }
.day.sel { background: var(--color-sel); color: var(--color-on-sel); text-decoration: none; }
.cal-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; color: var(--color-muted); margin-top: 14px; }
.cal-legend span { display: inline-flex; align-items: center; gap: 6px; }
.cal-legend i { width: 16px; height: 16px; border-radius: 4px; display: inline-block; border: 1px solid var(--color-border-strong); }
.cal-legend .l-free { background: var(--color-card); }
.cal-legend .l-busy { background: var(--color-busy); }
.cal-legend .l-sel { background: var(--color-sel); border-color: var(--color-sel); }
.cal-summary { margin-top: 14px; display: none; gap: 12px; align-items: center; flex-wrap: wrap; justify-content: space-between; background: var(--color-surface); border-radius: var(--radius-sm); padding: 12px 14px; }
.cal-summary.show { display: flex; }
.cal-note { font-size: 14px; color: var(--color-muted); margin: 12px 0 0; }
.cal-msg { padding: 16px; background: var(--color-surface); border-radius: var(--radius-sm); }

/* Portada de ficha */
.apt-cover { position: relative; background: var(--color-surface-2); }
.apt-cover img { width: 100%; height: min(72vh, 680px); object-fit: cover; }
.cover-btn { position: absolute; right: max(5vw, 16px); bottom: 18px; box-shadow: var(--shadow); }
@media (max-width: 600px) { .apt-cover img { height: 46vh; } .cover-btn { left: 16px; right: 16px; } }
.band--tight { padding-top: 8px; }
.apt-layout h2 { margin-top: 1.3em; }
.apt-layout > div > h2:first-of-type { margin-top: 0; }
.side-title { font-size: 28px; margin: 0; }

/* Ubicación aproximada */
.loc { display: grid; gap: 28px; align-items: center; }
@media (min-width: 1024px) { .loc { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); } }
.near { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 10px; }
.near li { display: flex; gap: 10px; }
.near svg { width: 20px; height: 20px; flex: none; color: var(--color-accent-deco); margin-top: 2px; }
.lmap { position: relative; z-index: 0; height: clamp(300px, 42vw, 460px); border-radius: var(--radius); overflow: hidden; background: var(--color-surface-2); border: 1px solid var(--color-border); }
.lmap-msg { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; color: var(--color-muted); padding: 20px; text-align: center; }
.lmap .leaflet-control-attribution { font-size: 11px; }

/* Galerías de fotos (una foto = .photo-frame; varias = slider con flechas/puntos) */
.gallery { position: relative; height: min(60vh, 520px); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--color-surface-2); }
.gallery-track { display: flex; height: 100%; transition: transform .35s ease; }
.gallery-slide { position: relative; flex: 0 0 100%; min-width: 0; height: 100%; }
.gallery-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-slide figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 16px 12px;
  background: linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,0));
  color: #fff; font-size: 14px; font-weight: 500;
}
.gallery-nav {
  position: absolute; top: 50%; translate: 0 -50%; z-index: 2;
  width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%;
  border: none; background: rgba(251,248,242,.85); color: var(--color-text); cursor: pointer; box-shadow: var(--shadow);
}
.gallery-nav svg { width: 18px; height: 18px; }
.gallery-nav:hover { background: var(--color-card); }
.gallery-prev { left: 10px; }
.gallery-next { right: 10px; }
.gallery-dots { position: absolute; top: 10px; right: 10px; z-index: 2; display: flex; gap: 6px; }
.gallery-dot { width: 8px; height: 8px; padding: 0; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.9); background: rgba(255,255,255,.35); cursor: pointer; }
.gallery-dot.is-active { background: #fff; }
.card-media .gallery, .card-media .photo-frame { height: 100%; border-radius: 0; box-shadow: none; }
.card-media .photo-frame img { height: 100%; }

/* Galería "scroll": tarjetas de a 3 (desktop) con scroll horizontal nativo.
   Pensada para fotos de la casa, que vienen en formatos mixtos (horizontal y vertical);
   cada tarjeta respeta un encuadre 4:3 en vez de forzar el crop panorámico del slider de pantalla completa. */
.gallery--scroll { height: auto; background: none; box-shadow: none; border-radius: 0; overflow: visible; }
.gallery--scroll .gallery-track {
  height: auto; transition: none; gap: 14px; overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory; scroll-behavior: smooth; -webkit-overflow-scrolling: touch;
  padding: 2px 2px 14px; margin: -2px -2px -14px; scrollbar-width: none;
}
.gallery--scroll .gallery-track::-webkit-scrollbar { display: none; }
.gallery-card {
  position: relative; flex: 0 0 calc((100% - 28px) / 3); min-width: 0; scroll-snap-align: start;
  aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--color-surface-2);
}
.gallery-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-card figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 12px 10px;
  background: linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,0));
  color: #fff; font-size: 13px; font-weight: 500;
}
.gallery--scroll .gallery-nav { top: auto; bottom: -46px; translate: none; }
.gallery--scroll .gallery-prev { left: auto; right: 48px; }
.gallery--scroll .gallery-next { right: 0; }
@media (max-width: 760px) {
  .gallery-card { flex: 0 0 78%; }
  .gallery--scroll .gallery-nav { display: none; } /* en móvil se desliza con el dedo */
}

/* Prosa (legales, mejor precio) */
.prose { max-width: 760px; }
.wrap.prose { max-width: none; }
.wrap.prose > * { max-width: 760px; }
.prose h2 { font-size: clamp(24px, 1vw + 19px, 32px); margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.page-head { padding-block: clamp(32px, 5vw, 64px) 12px; }

/* Footer */
.site-footer { background: var(--color-surface); border-top: 1px solid var(--color-border); padding-block: 48px 110px; font-size: 15px; }
.foot { display: grid; gap: 28px; }
@media (min-width: 768px) { .foot { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer h2 { font: 600 16px/1.3 var(--font-body); margin-bottom: 10px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.site-footer a { color: var(--color-text); }
.site-footer li a { display: inline-block; padding: 6px 0; }
.legal-line { border-top: 1px solid var(--color-border); margin-top: 28px; padding-top: 18px; color: var(--color-muted); font-size: 14px; overflow-wrap: anywhere; }
.legal-line p { margin: 0 0 6px; }

/* WhatsApp flotante */
.wa-float {
  position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 60;
  display: inline-flex; align-items: center; gap: 8px; min-height: 56px; padding: 0 18px 0 14px; border-radius: 999px;
  background: var(--color-wa); color: var(--color-on-wa); border: 2px solid var(--color-wa-ring);
  font: 700 16px/1 var(--font-body); text-decoration: none; box-shadow: 0 6px 20px rgb(0 0 0 / 25%);
  transition: opacity .2s ease, transform .2s ease;
}
.wa-float svg { width: 26px; height: 26px; }
.wa-float.hide { opacity: 0; transform: translateY(20px); pointer-events: none; }
@media (max-width: 480px) { .wa-float span { display: none; } .wa-float { padding: 0; width: 58px; justify-content: center; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
