/* Brayla Properties: regla global de espacios (pedido del cliente, 2026-11-14). Se carga al final en todas las páginas.
   - Cada sección mide lo que mide su contenido más un padding vertical uniforme; nada de alturas por pantalla
     (excepto el hero de Inicio, el momento fijo de Inicio y el hero de /vende, que tienen su propia altura).
   - Fondos: solo crema (#FDFBF6) y azul marino (#0E2039), más las fotos de hero y el pie (#0A1729).
   - Un solo estilo de título de sección en todo el sitio.
   - Todo el contenido es visible por defecto; ninguna animación lo esconde. */

:root {
  --sec-pad: clamp(72px, 8vw, 120px);
  --sec-pad-b: clamp(56px, 6.5vw, 96px);
  --wrap-max: 1200px;
  --head-gap: 48px;
  --grid-gap: 24px;
  --cream: #fdfbf6;
  --navy: #0e2039;
  --foot: #0a1729;
  --coral-btn: #c8452a;
}
@media (max-width: 639px) { :root { --sec-pad: 64px; --sec-pad-b: 56px; --head-gap: 32px; } }
/* 2026-11-29 (auditoría móvil H03): en el teléfono la separación de las rejillas baja a 12 px. En una rejilla de 12
   columnas, 11 huecos de 24 px (264 px) no cabían en los 252 px de una pantalla de 320 */
@media (max-width: 479px) { :root { --grid-gap: 12px; } }

/* ---------------------------------------------------------------- the wrap: 1200 wide, 24px gutter on a phone */
.wrap { width: min(100% - 2 * var(--gut, 80px), var(--wrap-max)) !important; }
@media (max-width: 639px) { .wrap { width: calc(100% - 2 * var(--wrap-lado, 24px)) !important; } }
/* 2026-11-29 (auditoría móvil H03): en un teléfono angosto (320-374 px) el margen lateral del contenido baja de 24 a
   16 px: con 24 quedaban 252 px de contenido y las tarjetas con relleno dejaban columnas de texto de menos de 220 px */
@media (max-width: 374px) { :root { --wrap-lado: 16px; } }

/* ---------------------------------------------------------------- heights: content height everywhere */
main > section, main > .section, footer.closing {
  height: auto !important; min-height: 0 !important;
  padding-top: var(--sec-pad) !important; padding-bottom: var(--sec-pad-b) !important;
}
main > :is(section, .section).g2 > .wrap, main > :is(section, .section).g2m > .wrap, footer.closing.g2 > .wrap, footer.closing.g2m > .wrap {
  display: block !important; grid-template-rows: none !important; row-gap: 0 !important;
}
main > :is(section, .section) > .wrap { height: auto !important; }
/* a cream section right after another cream one: no second gap, a fine line instead */
main > section.sec-cont { padding-top: 0 !important; }
main > section.sec-cont > .wrap { border-top: 1px solid rgba(14, 32, 57, .12); padding-top: var(--head-gap); }

/* ---------------------------------------------------------------- grounds: cream and navy only */
main > section, main > .section { background: var(--cream); color: var(--navy); }
main > section.ground-surface, main > section.b-grad, .ground-inverse.b-grad { background: var(--cream); }
main > section.ground-inverse, main > section.sec-navy { background: var(--navy) !important; color: #fff; }
footer.footer.closing { background: var(--foot) !important; color: #fff; }
footer.footer.closing .wordmark { color: #fff; }

/* ---------------------------------------------------------------- one section-title style */
.sec-head { display: grid; gap: var(--s-4); margin-bottom: var(--head-gap); max-width: 760px; }
.sec-head .eyebrow { display: flex; align-items: center; gap: var(--s-3); margin: 0; font: 600 13px/1 var(--font-text); letter-spacing: .08em; text-transform: uppercase; color: var(--muted, #4a5568); }
.sec-head .eyebrow b { font: 800 13px/1 var(--font-display); font-stretch: 118%; letter-spacing: .04em; color: var(--b-coral-text, #b83a20); }
.sec-head h2 { margin: 0; font-size: clamp(32px, 3vw, 44px); line-height: 1.08; }
.sec-head p { margin: 0; font-size: 18px; line-height: 1.5; color: var(--ink); max-width: 56ch; }
.sec-navy .sec-head .eyebrow, .ground-inverse .sec-head .eyebrow { color: #c9d4e3; }
.sec-navy .sec-head .eyebrow b, .ground-inverse .sec-head .eyebrow b { color: #f4957c; }
.sec-navy .sec-head h2, .ground-inverse .sec-head h2 { color: #fff; }
.sec-navy .sec-head p, .ground-inverse .sec-head p { color: #e4ebf4; }
/* the older index markup (p.idx) takes the same eyebrow style */
.idx { display: flex !important; align-items: center; gap: var(--s-3); margin: 0 0 var(--s-4) !important; font: 600 13px/1 var(--font-text) !important; letter-spacing: .08em; text-transform: uppercase; color: var(--muted, #4a5568); }
.idx::before { display: none !important; }
.idx__n { font: 800 13px/1 var(--font-display) !important; font-stretch: 118%; letter-spacing: .04em; color: #b83a20 !important; }
.sec-navy .idx, .ground-inverse .idx { color: #c9d4e3 !important; }
.sec-navy .idx__n, .ground-inverse .idx__n { color: #f4957c !important; }
main h2 { font-size: clamp(32px, 3vw, 44px); line-height: 1.08; }
main .section-head { margin-bottom: var(--head-gap); }
main > section.hero:not(.h-hero) { padding-top: calc(var(--nav) + 56px) !important; }
main > section.a-band { padding-top: 72px !important; padding-bottom: 72px !important; }
main > section.a-band h2 { color: #fff; margin: 0; }
@media (max-width: 639px) { .sec-head h2 { font-size: 28px; } .sec-head p { font-size: 16px; } }

/* ---------------------------------------------------------------- grids */
.grid { column-gap: var(--grid-gap); }

/* ---------------------------------------------------------------- footer: one component on every page */
.site-foot { padding-top: var(--sec-pad); padding-bottom: var(--s-7); }
.site-foot .closing__links { border-top: 0; }
.footer__legal .pending, .footer__col .pending { display: none !important; }
/* two-column wraps: the kit sometimes sets .wrap to flex, so the grids are explicit */
.wrap.qe, .wrap.conv, .wrap.v-ref, .wrap.v-hero__grid, .wrap.grid, .wrap.svc, .wrap.c-proc, .wrap.a-work { display: grid !important; }
footer.footer.closing.site-foot { padding-top: 72px !important; padding-bottom: 40px !important; }
/* the shared footer reads on #0A1729 */
.site-foot { --ink: #fff; --muted: #c9d4e3; color: #fff; }
.site-foot .footer__col h3 { color: #c9d4e3; font: 600 13px/1 var(--font-text); letter-spacing: .08em; text-transform: uppercase; }
.site-foot .footer__col a, .site-foot .footer__legal, .site-foot .footer__legal a { color: #e4ebf4; }
.site-foot .footer__lede { color: #fff; font: 500 17px/1.5 var(--font-text); max-width: 34ch; }
.site-foot .footer__legal { border-top: 1px solid rgba(255,255,255,.14); }
.sec-navy .faq__item h3, .ground-inverse .faq__item h3 { color: #fff; }
.sec-navy .faq__item p, .ground-inverse .faq__item p { color: #e4ebf4; }
.sec-navy .faq > .faq__item, .ground-inverse .faq > .faq__item { border-color: rgba(255,255,255,.18); }
.sec-navy .section-head h2, .sec-navy h2 { color: #fff; }

/* ---------------------------------------------------------------- headlines never split a word (2026-11-14) */
h1, h2, h3 { overflow-wrap: normal; word-break: normal; hyphens: manual; -webkit-hyphens: manual; }
@media (max-width: 639px) {
  .h-hero__text h1 { font-size: clamp(28px, 8vw, 36px) !important; letter-spacing: -0.03em; }
  main h1 { font-size: clamp(28px, 8.4vw, 38px); }
}
/* Inicio portfolio: the grid now comes right after the title */
.sec-head + .pf-grid { margin-top: 0; }

/* ================================================================ no ornaments (2026-11-14)
   No numbers, no labels over titles, no decorative dots, dashes or pulses, and no arrow on filled buttons.
   The arrow stays only on text links that go to another page. */
html[data-buttons] :is(.btn, .btn--primary, .btn--secondary)::after { content: none !important; display: none !important; }
.btn .m-arrow { display: none !important; }
.link:is([href^="#"], [href^="?"])::after { content: none !important; display: none !important; }
.hero__kicker .dot, .dot { display: none !important; }
.ly-live::before, .ui-chip::before, .ic-state::before, .idx::before { content: none !important; display: none !important; }
.como-list li::before, .steps3 li::before, .biz li::before { content: none !important; display: none !important; }
.como-list li { grid-template-columns: minmax(0, 1fr) !important; }
/* the hero list in /administracion: the site's line check instead of a coral dash */
.incluye li::before { content: none !important; display: none !important; }
.incluye li { display: flex; align-items: flex-start; gap: 10px; }
.incluye li .ico { width: 18px; height: 18px; flex: none; margin-top: 3px; color: #f4957c; stroke-width: 2; }

/* ---------------------------------------------------------------- Inicio: a short coral line over each service title */
.svc-row__dash { display: block; width: 32px; height: 3px; border-radius: 2px; background: var(--b-coral, #e15a3d); }
/* the pinned moment: a three-part progress bar instead of "03 / 03" */
.stays__head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s-6); }
.stays__head .sec-head { margin-bottom: 0; }
.stays__progress { display: none; gap: 6px; flex: none; padding-bottom: 6px; }
.stays__progress span { display: block; width: 40px; height: 3px; border-radius: 2px; background: rgba(255,255,255,.22); transition: background-color var(--m-media) var(--m-estado); }
.stays__progress span.is-on { background: #f4957c; }
@media (min-width: 768px) and (prefers-reduced-motion: no-preference) {
  .stays.is-live .stays__progress { display: flex; }
  .stays.is-live .stays__head { margin-bottom: var(--s-5); }
}
.stays:not(.is-live) .stays__head { margin-bottom: var(--head-gap); }

/* ---------------------------------------------------------------- the menu never runs into the logo.
   With three long words a centred logo has no room at any laptop width, so from 1200px the bar reads
   logo, words, actions from left to right; from 1024 to 1199px the words go into the sheet the phone uses. */
@media (min-width: 1200px) {
  .nav--split .nav__bar { display: flex !important; align-items: center; gap: 40px; }
  .nav--split .nav__links { flex: 1 1 auto; min-width: 0; }
  .nav--split .nav__actions { margin-left: auto; flex: none; }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .nav--split .nav__bar { display: flex !important; align-items: center; gap: var(--s-3); }
  .nav--split .nav__logo { margin-right: auto; }
  .nav:not(.is-open) .nav__links { display: none; }
  .nav:not(.is-open) .nav__actions { display: flex; margin-left: auto; }
  .nav:not(.is-open) .nav__actions > :not(.btn--primary) { display: none; }
  .nav__toggle { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-btn);
    border: 1px solid var(--line-strong); background: transparent; color: var(--ink); cursor: pointer; flex: none; }
  .nav.is-open .nav__links { display: flex; flex-direction: column; position: fixed; top: var(--nav); left: 0; right: 0; bottom: 0;
    padding: var(--s-4) var(--gut) calc(var(--btn-h) * 2 + 56px); background: var(--bg); overflow-y: auto; gap: 0; }
  .nav.is-open .nav__item { display: grid; grid-template-columns: 1fr auto; height: auto; border-bottom: 1px solid var(--line); }
  .nav.is-open .nav__link { height: 56px; padding: 0; font-size: 20px; background: none; }
  .nav.is-open .nav__link::before { display: none; }
  .nav.is-open .nav__actions { display: grid; gap: var(--s-2); position: fixed; left: 0; right: 0; bottom: 0; z-index: 51;
    padding: var(--s-4) var(--gut) calc(var(--s-4) + env(safe-area-inset-bottom)); background: var(--bg); border-top: 1px solid var(--line); }
  .nav.is-open .nav__actions .btn { width: 100%; height: 48px; }
  .nav.is-open .nav__actions .lang { justify-self: center; }
  body.nav-locked { overflow: hidden; }
}

/* ---------------------------------------------------------------- no small capitals anywhere (labels, footer, tables, forms) */
*, *::before, *::after { text-transform: none !important; }
:is(.c-hero__kicker, .tag, .t-label, .site-foot h3, th, label, legend) { letter-spacing: normal !important; }
.c-hero__kicker { font: 500 16px/1.3 var(--font-text) !important; color: #e4ebf4 !important; }

/* ---------------------------------------------------------------- the shared footer v2: logo and line left, two columns of links right */
footer.footer.closing.site-foot { padding-top: 64px !important; padding-bottom: 32px !important; }
.site-foot__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--grid-gap); row-gap: var(--s-6); align-items: start; }
.site-foot__brand { grid-column: 1 / span 5; display: grid; gap: var(--s-4); justify-items: start; }
.site-foot__links { grid-column: 7 / -1; }
.site-foot__links ul { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 48px; }
.site-foot__links li { break-inside: avoid; padding: 6px 0; }
.site-foot__links a { color: #e4ebf4; font-size: 16px; text-decoration: none; }
.site-foot__links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.site-foot .footer__legal { margin-top: var(--s-7); padding-top: var(--s-4); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-3) var(--s-5); font-size: 14px; color: #c9d4e3; }
@media (max-width: 767px) {
  .site-foot__brand, .site-foot__links { grid-column: 1 / -1; }
}
/* a navy closing section runs straight into the footer: no second gap between them */
main > section.sec-navy:last-child { padding-bottom: 72px !important; }

/* ---------------------------------------------------------------- /alquileres: groups by kind of stay, cards of alternating widths */
.rent-groups { display: grid; gap: clamp(56px, 6vw, 88px); }
.rent-group__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: baseline; margin-bottom: var(--s-5); }
.rent-group__head h2 { grid-column: 1 / span 5; margin: 0; font-size: clamp(28px, 2.6vw, 38px); }
.rent-group__head p { grid-column: 6 / -1; margin: 0; font-size: 17px; color: var(--ink); }
.rent-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px 24px; }
.rent-grid .rent { display: grid; gap: var(--s-2); align-content: start; color: inherit; text-decoration: none; min-width: 0; }
.rent-grid .rs-4 { grid-column: span 4; } .rent-grid .rs-5 { grid-column: span 5; } .rent-grid .rs-7 { grid-column: span 7; } .rent-grid .rs-12 { grid-column: span 12; }
.rent-grid .prop__photo { margin: 0 0 var(--s-1); height: 300px; aspect-ratio: auto !important; border-radius: 12px; overflow: hidden; }
.rent-grid .rs-4 .prop__photo { height: 240px; }
.rent-grid .prop__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 1023px) {
  .rent-group__head h2, .rent-group__head p { grid-column: 1 / -1; }
  .rent-group__head p { margin-top: var(--s-2); }
  .rent-grid .rs-4, .rent-grid .rs-5, .rent-grid .rs-7 { grid-column: span 6; }
  /* an odd last card takes the whole row instead of leaving an empty card-sized slot beside it (2026-11-20) */
  .rent-grid > .rent:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 639px) {
  .rent-grid { grid-template-columns: 1fr; }
  .rent-grid .rent { grid-column: auto !important; }
  .rent-grid .prop__photo, .rent-grid .rs-4 .prop__photo { height: auto; aspect-ratio: 4 / 3 !important; }
}

/* ---------------------------------------------------------------- Inicio portfolio: one large card and a mosaic of three sizes */
.pf-grid { grid-template-columns: repeat(12, minmax(0, 1fr)) !important; gap: 32px 24px !important; }
.pf-grid .pf--big { grid-column: 1 / span 6; grid-row: span 2; }
.pf-grid .pf--sm { grid-column: span 3; }
.pf-grid .pf--md { grid-column: span 4; }
.pf-grid .pf--big .pf__photo { aspect-ratio: auto !important; height: 420px; border-radius: 16px; }
.pf-grid .pf--sm .pf__photo { aspect-ratio: 4 / 3 !important; }
.pf-grid .pf--md .pf__photo { aspect-ratio: 16 / 10 !important; }
.pf-grid .pf__label { margin: var(--s-2) 0 0; font: 500 14px/1.3 var(--font-text); color: #b83a20; }
.pf-grid .pf--big .pf__name { font: 800 clamp(22px, 2vw, 28px)/1.2 var(--font-display); font-stretch: 118%; }
@media (max-width: 1023px) {
  .pf-grid .pf--big { grid-column: 1 / -1; grid-row: auto; }
  .pf-grid .pf--sm, .pf-grid .pf--md { grid-column: span 6; }
}
@media (max-width: 639px) {
  .pf-grid .pf--big .pf__photo { height: auto; aspect-ratio: 4 / 3 !important; }
}

/* the support line under the home title */
.h-hero__lead { margin: var(--s-4) 0 var(--s-4); max-width: 46ch; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.5; color: #e4ebf4; }
.h-hero__brand { text-transform: none !important; letter-spacing: normal !important; }

/* ---------------------------------------------------------------- footer v3: brand, links, contact; then the legal line */
.site-foot__brand { grid-column: 1 / span 4 !important; }
.site-foot__links { grid-column: 6 / span 4 !important; }
.site-foot__links ul { columns: 1 !important; }
.site-foot__contacto { grid-column: 10 / -1; display: grid; gap: 10px; align-content: start; font-style: normal; font-size: 16px; line-height: 1.5; color: #e4ebf4; }
.site-foot__contacto a { color: #e4ebf4; text-decoration: none; padding: 6px 0; }
.site-foot__contacto a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer__legal-text p { margin: 0; }
.footer__legal-text p + p { margin-top: 4px; }
@media (max-width: 1023px) {
  .site-foot__brand { grid-column: 1 / -1 !important; }
  .site-foot__links { grid-column: 1 / span 6 !important; }
  .site-foot__contacto { grid-column: 7 / -1; }
}
@media (max-width: 639px) {
  .site-foot__links, .site-foot__contacto { grid-column: 1 / -1 !important; }
}

/* ---------------------------------------------------------------- the floating chat button (.wa-float; no page uses it since 2026-11-23): bottom right, round, no text, no pulse */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 45; display: grid; place-items: center; width: 56px; height: 56px;
  border-radius: 50%; background: #25d366; box-shadow: 0 12px 30px rgba(14, 32, 57, .18); transition: transform var(--m-media) var(--m-entra); }
.wa-float svg { width: 30px; height: 30px; display: block; }
.wa-float:hover { transform: translateY(-2px); }
.wa-float:focus-visible { outline: 3px solid #0e2039; outline-offset: 3px; }
body.nav-locked .wa-float { display: none; }
@media (max-width: 767px) {
  .wa-float { right: 14px; bottom: 14px; width: 52px; height: 52px; }
  /* a form's send button is on screen: the button moves up out of its way */
  .wa-float.wa-float--arriba { bottom: 96px; }
}
@media (prefers-reduced-motion: reduce) { .wa-float { transition: none; } }

/* ---------------------------------------------------------------- no italics anywhere (2026-11-14) */
*, *::before, *::after { font-style: normal !important; }
/* "gana dinero.": the headline's own weight and colour, a fine 3px coral line under it */
.c-subraya { color: inherit; font-weight: inherit; text-decoration: underline; text-decoration-color: #e15a3d; text-decoration-thickness: 3px; text-underline-offset: .14em; text-decoration-skip-ink: none; }
/* /links: the line under the main button reads on coral */
.bio__links a.is-main small { color: #fff; }
/* the skip link reads on any ground when Tab brings it in */
.skip-link { background: #fff !important; color: #0e2039 !important; border-radius: 999px; padding: 10px 18px !important; }
/* phone: the hero's veil a little deeper where the brand line and title sit */
@media (max-width: 639px) {
  .hero.h-hero::after { background: linear-gradient(0deg, rgba(10,23,41,.92) 0%, rgba(10,23,41,.74) 45%, rgba(10,23,41,.3) 72%, rgba(10,23,41,0) 86%) !important; }
}
/* the floating chat button steps out of the way, softly, while the footer or a form's send button is on screen */
.wa-float { transition: opacity var(--m-media) var(--m-entra), transform var(--m-media) var(--m-entra), visibility 0s linear 0s; }
.wa-float.wa-float--fuera { opacity: 0; transform: translateY(16px); pointer-events: none; visibility: hidden; transition: opacity var(--m-media) var(--m-entra), transform var(--m-media) var(--m-entra), visibility 0s linear .3s; }
@media (prefers-reduced-motion: reduce) { .wa-float, .wa-float.wa-float--fuera { transition: none; } }
/* founders, case and commitments (shown only when their data exists) */
.eq__frase { font: 600 clamp(22px, 2vw, 28px)/1.3 var(--font-display); letter-spacing: -0.02em; color: #0e2039; margin: 0 0 12px; }
.caso__cita { margin: 18px 0 0; padding: 0; font-size: 18px; line-height: 1.6; }
.caso__cita p { margin: 0; }
.caso__cita footer { margin-top: 8px; font-size: 15px; color: rgba(14, 32, 57, .78); }
.promesas__texto { margin: 0; max-width: 62ch; font-size: 20px; line-height: 1.6; }

/* ================================================================ 2026-11-15, design pass
   /alquileres: a real photograph in the hero; cards without the sand frame, as on Inicio; two columns on a phone. */
main > section.section.props-head--foto { position: relative; isolation: isolate; overflow: clip; min-height: min(62svh, 560px) !important; display: flex; align-items: flex-end; }
main > section.props-head--foto > .wrap { width: 100%; }
.props-head__foto { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.props-head--foto::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, rgba(10, 23, 41, .86) 0%, rgba(10, 23, 41, .6) 45%, rgba(10, 23, 41, .25) 100%); }
html[data-estilo="suave"] .rent-groups .rent-grid .rent { padding: 0; background: none; box-shadow: none; }
html[data-estilo="suave"] .rent-groups .rent-grid .rent:hover { transform: translateY(-2px); box-shadow: none; }
html[data-estilo="suave"] .rent-groups .rent-grid .rent :is(.prop__meta, .prop__name) { padding-inline: 2px; }
.rent-grid .prop__photo { box-shadow: 0 18px 40px rgba(14, 32, 57, .12); }
.rent-grid .prop__name { font: 600 18px/1.3 var(--font-text); color: var(--navy); }
.rent-grid .rent:hover .prop__name { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
/* 2026-11-29 (H08, Atlas): en el teléfono, una tarjeta por fila (en dos columnas el nombre quedaba en 128 px y en 4-5
   líneas), con la foto en 16:9 (opción B de Atlas; recortada con object-fit: cover, sin deformar) y la letra de la
   tarjeta sin reducir */
@media (max-width: 639px) {
  .rent-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .rent-grid .prop__photo, .rent-grid .rs-4 .prop__photo { aspect-ratio: 16 / 9 !important; }
  .rent-grid .prop__name { font-size: 17px; }
  main > section.section.props-head--foto { min-height: 52svh !important; }
}

/* Cal.com (2026-11-23): "Próximamente" while a booking address is missing; looks like the button, does nothing */
.btn.is-pronto { opacity: .6; cursor: default; pointer-events: none; }
