/* Ítaca Tower · additions on top of the shared styles.css (Porta Nova / Oporto build).
   Only what Ítaca needs on its own: Raleway weights, the photo hero, the S04 cards, the typology switch,
   the video cover, the referral form, the floating WhatsApp button. */

/* ---------- type: Raleway Black for the H1, ExtraBold for H2, Regular for body ---------- */
.h2 { font-weight: 800; letter-spacing: -.01em; line-height: 1.02; } /* tighter lines (Andrea 2026-11-05; base was 1.12) */
.h3, .type-name, .cond-v, .stat b, .fcard-word, .panel h3, .pstep h3, .plan-title { font-weight: 800; }
.statement { font-weight: 400; }
.statement .fw { color: rgba(29,42,48,.16); }
.btn { font-weight: 700; }
.eyebrow { font-weight: 600; margin-bottom: 12px; } /* closer to the headline (Andrea 2026-11-05; base was 22px) */
.u-aqua { color: var(--aqua); } /* #BEE6EC on the navy is 9.6:1 */
.lead--light { color: rgba(255,255,255,.86); margin-inline: auto; }
.sec--navy { background: var(--navy); color: #fff; }
.trust { background: #4b7b97; } /* lighter blue (Andrea 2026-11-05); white text 4.6:1 */
.wa-band { background: var(--navy); }
.btn--white:hover { background: var(--aqua); color: var(--navy); }
.btn--primary:hover { background: var(--navy); }

/* ---------- S00 bar: colour logos once the bar turns white, white ones over the hero ---------- */
.bar-logo { opacity: 1; }
.bar .bar-logo img.bar-it { height: 46px; } /* whole lockup +15% (Andrea 2026-11-05; was 40px) */
.bar .bar-logo img.bar-mv { height: 26.7px; } /* +15% three times (Andrea 2026-11-05: 17.6 → 20.2 → 23.2 → 26.7) */
.bar .bar-logo { gap: 16px; } .bar .bar-logo .lockup-sep { height: 32px; } /* gap and divider grow with the lockup */
.bar-it--color, .bar-mv--black { display: none; }
.bar.is-solid .bar-it--color, .bar.is-solid .bar-mv--black { display: block; }
.bar.is-solid .bar-it--white, .bar.is-solid .bar-mv--white { display: none; }
.bar:not(.is-solid) .lockup-sep { background: rgba(255,255,255,.5); }
@media (max-width: 1440px) and (min-width: 1221px) { .bar .bar-logo img.bar-it { height: 39px; } .bar .bar-logo img.bar-mv { height: 23.5px; } }
@media (max-width: 600px) { .bar .bar-logo img.bar-it { height: 32px; } .bar .bar-logo img.bar-mv { height: 15.1px; } }

/* ---------- S01 hero: real photo of the bay, copy bottom-left (Porta Nova hero rhythm, no cut-out layers) ---------- */
.ihero { position: relative; min-height: 100vh; min-height: 100svh; max-height: 1100px; display: flex; align-items: flex-end; overflow: hidden; color: #fff; background: var(--navy); }
.ihero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; transform: scale(1.06); transition: transform 6s var(--ease); }
.ihero.is-ready .ihero-img { transform: scale(1); }
.ihero-shade { position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(8,28,36,.55) 0%, rgba(8,28,36,0) 22%),
  linear-gradient(90deg, rgba(8,28,36,.78) 0%, rgba(8,28,36,.45) 42%, rgba(8,28,36,0) 70%),
  linear-gradient(0deg, rgba(8,28,36,.7) 0%, rgba(8,28,36,0) 45%); }
.ihero-in { position: relative; width: 100%; padding-block: 140px clamp(80px, 10vh, 120px); }
.ihero-in > * { opacity: 0; transform: translateY(24px); }
.ihero.is-ready .ihero-in > * { opacity: 1; transform: none; transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
.ihero.is-ready .ihero-in > :nth-child(2) { transition-delay: .2s; }
.ihero.is-ready .ihero-in > :nth-child(3) { transition-delay: .3s; }
.ihero.is-ready .ihero-in > :nth-child(n+4) { transition-delay: .45s; }
.ihero-title { margin: 0 0 24px; max-width: 12ch; font-weight: 900; font-size: clamp(44px, 7.4vw, 112px); line-height: .88; letter-spacing: -.015em; text-transform: uppercase; text-wrap: balance; } /* tighter (Andrea 2026-11-05; was .94) */
.ihero-title { text-shadow: 0 2px 4px rgba(6,24,32,.28), 0 6px 22px rgba(6,24,32,.32); } /* subtle drop shadow, neutral dark (Andrea 2026-11-05) */
.ihero-hl { color: #bde5ec; } /* "QUE VOLVER." in light aqua (Andrea 2026-11-05; #4b7b97 was not legible) */
.ihero-kick { display: block; margin-bottom: 20px; font-size: 14px; font-weight: 600; letter-spacing: .28em; line-height: 1.5; text-transform: uppercase; color: var(--aqua); }
.ihero-sub { margin: 0 0 10px; max-width: 46ch; font-size: clamp(17px, 1.45vw, 21px); line-height: 1.5; }
.ihero-meta { margin: 0 0 28px; font-size: 13.5px; font-weight: 500; letter-spacing: .04em; color: rgba(255,255,255,.88); }
.ihero .hero-wa a::before { background: var(--aqua); box-shadow: none; }
.ihero-micro { margin: 8px 0 0; padding-left: 17px; /* lines up with "Ver el video", past its 9px dot + 8px gap */ font-size: 13px; color: rgba(255,255,255,.8); }
@media (max-width: 760px) {
  .ihero-in { padding-block: 120px 64px; }
  .ihero-kick { font-size: 12px; letter-spacing: .2em; }
  .ihero .hero-ctas { flex-direction: column; align-items: stretch; }
}
@media (prefers-reduced-motion: reduce) { .ihero-img, .ihero-in > * { transform: none !important; transition: none !important; opacity: 1 !important; } }

/* ---------- S02 cards: small heading inside the copy ---------- */
.fcard-copy h3 { margin: 0 0 8px; font-size: 18px; font-weight: 700; line-height: 1.25; }
.fcard-word { margin-top: 56px; font-size: clamp(26px, 2.6vw, 40px); }

/* ---------- S03 panels: reference tag clears the rounded corner ---------- */
.panel .g-ref { top: 16px; left: 16px; }

/* ---------- S04 Vívela a tu manera: 4 cards on the navy, sail lines behind ---------- */
#vida { overflow: hidden; isolation: isolate; }
#vida::before { content: ""; position: absolute; right: -6%; top: 50%; width: min(56vw, 760px); aspect-ratio: 300 / 241; transform: translateY(-50%); z-index: -1;
  background: url(assets/sail.svg) center / contain no-repeat; opacity: .06; pointer-events: none; }
.vida { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 1.8vw, 28px); }
.vcard { display: flex; flex-direction: column; padding: 14px 14px 26px; border-radius: 22px; border: 1px solid rgba(255,255,255,.22);
  background: linear-gradient(160deg, rgba(255,255,255,.1), rgba(255,255,255,.03)); }
.vcard-img { position: relative; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; margin-bottom: 22px; }
.vcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.vcard:hover .vcard-img img { transform: scale(1.05); }
.vcard-img .g-ref { top: 10px; left: 10px; font-size: 10px; }
.vcard-lbl, .vcard h3, .vcard p, .vcard-cta { margin-inline: 8px; }
.vcard-lbl { font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--aqua); }
.vcard h3 { margin-top: 12px; margin-bottom: 10px; font-size: clamp(19px, 1.5vw, 22px); font-weight: 700; line-height: 1.25; color: #fff; }
.vcard p { margin-top: 0; margin-bottom: 22px; font-size: 15px; line-height: 1.55; color: rgba(255,255,255,.82); }
.vcard-cta { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #fff; text-decoration: none; padding-bottom: 4px; border-bottom: 2px solid var(--aqua); }
.vcard-cta::after { content: "→"; transition: transform .3s var(--ease); }
.vcard-cta:hover::after { transform: translateX(4px); }
@media (max-width: 1100px) { .vida { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .vida { grid-template-columns: 1fr; } }

/* ---------- S05 typology switch (Oporto tower switch, three options) ---------- */
.tswitch { display: inline-flex; gap: 6px; padding: 6px; margin: 0 0 clamp(28px, 3vw, 44px); border-radius: 999px; background: #fff; box-shadow: 0 10px 30px -18px rgba(17,49,61,.45); }
.tsw { display: flex; align-items: baseline; gap: 8px; padding: 12px 22px; border: 0; border-radius: 999px; background: none; font: inherit; color: var(--ink); cursor: pointer; transition: background .3s var(--ease), color .3s var(--ease); }
.tsw b { font-size: 17px; font-weight: 800; }
.tsw span { font-size: 13px; color: #4d4f52; }
.tsw:hover { background: var(--tint); }
.tsw.is-active { background: var(--blue); color: #fff; }
.tsw.is-active span { color: rgba(255,255,255,.85); }
.tsw:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
@media (max-width: 600px) { .tswitch { display: flex; width: 100%; } .tsw { flex: 1; flex-direction: column; align-items: center; gap: 2px; padding: 10px 6px; } }
.apt .type-img, .apt [data-plan-img] { transition: opacity .35s var(--ease); }
.apt.is-swapping .type-img, .apt.is-swapping [data-plan-img] { opacity: 0; }
.plan-open { background: none; } /* plan sits on the section colour, PNG-style transparent plans (Andrea 2026-11-05) */
.t-title { margin: 26px 0 14px; font-size: clamp(18px, 1.5vw, 22px); font-weight: 700; line-height: 1.3; }
.t-specs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, auto); gap: 10px 28px; justify-content: start; }
.t-specs li { font-size: 15px; }
.t-specs small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); margin-bottom: 2px; }
@media (max-width: 700px) { .t-specs { grid-template-columns: 1fr 1fr; } }
.apt-plan .btn { margin-top: 20px; }
.invest--light { background: var(--navy); }

/* ---------- S06 gallery foot: hint left, button right ---------- */
.gallery-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.g-ph { display: grid; place-content: center; text-align: center; gap: 6px; width: 100%; height: 100%; padding: 20px; background: repeating-linear-gradient(135deg, #18414F 0 14px, #153A47 14px 28px); color: rgba(255,255,255,.85); font-size: 14px; }
.g-ph b { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--aqua); }

/* ---------- S07 maqueta: navy tint instead of the dark purple ---------- */
.tour .h2 { max-width: 16ch; }
.tour-meta { max-width: 52ch; }
.tour-cover-num { color: var(--aqua); }
.modal--tour .tour-win { background: var(--navy); }

/* ---------- S08 route markers: small car, brand blue ---------- */

/* ---------- S09 video cover (YouTube privacy-enhanced embed goes in when the Video WOW exists) ---------- */
.player { position: relative; max-width: 1100px; margin: 0 auto; aspect-ratio: 16 / 9; border-radius: 24px; overflow: hidden; background: var(--navy); box-shadow: 0 30px 60px -30px rgba(17,49,61,.6); }
.player > img { width: 100%; height: 100%; object-fit: cover; opacity: .82; }
.player::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,28,36,.6), rgba(8,28,36,0) 55%); pointer-events: none; }
.player-btn { position: absolute; left: 50%; top: 50%; z-index: 1; width: 92px; height: 92px; margin: -46px 0 0 -46px; border: 0; border-radius: 50%; background: #fff; color: var(--blue); display: grid; place-items: center; cursor: pointer; transition: transform .4s var(--ease); }
.player-btn svg { width: 34px; height: 34px; margin-left: 5px; fill: currentColor; }
.player-btn:hover { transform: scale(1.07); }
.player-btn:focus-visible { outline: 3px solid var(--aqua); outline-offset: 4px; }
.player-cap { position: absolute; left: 0; right: 0; bottom: 26px; z-index: 1; text-align: center; font-size: 13px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #fff; }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 2; }
.player-soon { position: absolute; left: 50%; top: calc(50% + 66px); z-index: 1; transform: translateX(-50%); padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.92); color: var(--ink); font-size: 13px; white-space: nowrap; }
#video .steps-foot { text-align: center; margin-top: clamp(32px, 4vw, 48px); }

/* ---------- S10 ---------- */
.backing-line { font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.backing-img { aspect-ratio: 4 / 5; object-fit: cover; }
.linklike, .linkline { font-size: 14px; font-weight: 700; color: var(--blue); text-underline-offset: 4px; }

/* ---------- S11 four conditions in one row ---------- */
.conds--4 { grid-template-columns: repeat(4, 1fr); }
.conds--4 .cond:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; }
.conds--4 .cond:not(:nth-child(4n+1)) { padding-left: 28px; border-left: 1px solid var(--line); }
.cond-k::before { background: var(--blue); }
.cond-v sup { font-size: .5em; }
@media (max-width: 900px) { .conds--4 { grid-template-columns: 1fr 1fr; } .conds--4 .cond:nth-child(3) { padding-left: 0; border-left: 0; } }
@media (max-width: 520px) { .conds--4 { grid-template-columns: 1fr; } .conds--4 .cond { padding-left: 0 !important; border-left: 0 !important; } }
.sim-cta { margin-top: clamp(32px, 4vw, 48px); }

/* ---------- S12 referidos ---------- */
.ref-bonus { max-width: 64ch; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; font-size: clamp(16px, 1.3vw, 18px); line-height: 1.6; }
.ref-bonus b { color: var(--blue); font-weight: 800; }
.steps--3 { grid-template-columns: repeat(3, 1fr); max-width: 1040px; margin-inline: auto; }
.steps--3 .pstep p { max-width: 30ch; }
.pstep::before { background: linear-gradient(90deg, var(--blue), rgba(65,118,143,.15)); }
.ref-form { max-width: 820px; margin: clamp(48px, 6vw, 80px) auto 0; }
.yn { border: 0; margin: 4px 0 18px; padding: 0; }
.yn legend { padding: 0; margin-bottom: 12px; font-size: 15px; font-weight: 600; line-height: 1.4; }
.yn label { display: inline-flex; margin-right: 10px; cursor: pointer; }
.yn input { position: absolute; opacity: 0; pointer-events: none; }
.yn span { display: inline-block; min-width: 84px; padding: 11px 22px; text-align: center; border: 1.5px solid var(--blue); border-radius: 999px; font-size: 14px; font-weight: 700; color: var(--blue); transition: background .25s var(--ease), color .25s var(--ease); }
.yn input:checked + span { background: var(--blue); color: #fff; }
.yn input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.yn.is-error span { border-color: #B3261E; }
.ref-no { margin: 0 0 8px; padding: 14px 18px; border-radius: 12px; background: var(--tint); font-size: 15px; }
.ref-no a { color: var(--blue); font-weight: 700; }
.ref-form.is-no .ref-rest { display: none; }
/* referral form breathing room (Andrea 2026-11-05): gap between the 3 checks, then the button, then the terms link */
.ref-rest > .grid2 { margin-bottom: 28px; }
.ref-rest > .check + .check { margin-top: 16px; }
.ref-rest > .btn[type=submit] { margin-top: 32px; }
.ref-rest > .btn[type=submit] + .small { margin-top: 20px; }
.ref-done { text-align: center; }
.ref-done .done-mark { margin-inline: auto; }
@media (max-width: 760px) { .steps--3 { grid-template-columns: 1fr; } }

/* ---------- S13 form: step 1 carries the required fields ---------- */
.form .check a { color: var(--blue); font-weight: 600; }
.progress-bar, .get li::before, .done-mark { background-color: var(--blue); }
.form [data-next] { margin-top: 8px; }

/* ---------- S16 cierre: navy gradient + the logo sail ---------- */
.closing { background: radial-gradient(120% 90% at 50% 0%, var(--blue) 0%, var(--navy) 58%, #0A2029 100%); }
.closing-sail { opacity: .85; /* Andrea: sail 15% more transparent */ position: absolute; left: 50%; top: 50%; width: min(70vw, 820px); transform: translate(-50%, -50%); pointer-events: none; overflow: visible; }
.closing-sail-base { opacity: .08; }
.closing-wave { opacity: .09; }
.closing-wave--back { opacity: .05; }  /* water fills the sail when the section comes into view (main.js closingWater) */
.closing .h2 { max-width: 20ch; }

/* ---------- footer: navy instead of near-black ---------- */
.footer { background: #0A2029; }
.footer-logo { width: 190px; }
.footer-mv-link { color: var(--aqua); }
.social a:hover { background: var(--blue); border-color: var(--blue); }

/* ---------- fixed bar: WhatsApp · Agendar (two halves) + floating WhatsApp ---------- */
.cta-bar-wa { background: var(--navy); }
.cta-bar-ag { background: var(--aqua); color: var(--navy); font-weight: 700; }
.wa-float { position: fixed; right: 20px; bottom: calc(66px + env(safe-area-inset-bottom, 0px)); z-index: 39; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #25d366; box-shadow: 0 10px 24px -8px rgba(0,0,0,.35); transition: transform .3s var(--ease); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }
.wa-float:hover { transform: scale(1.06); }
@media (min-width: 901px) { .cta-bar { display: none; } body { padding-bottom: 0; } .wa-float { bottom: 24px; } }
.cookies { z-index: 41; }

/* tablet / phone: S12 form + S08 */
@media (max-width: 600px) { .ref-form .btn[type=submit] { width: 100%; } }
.tour { min-height: min(72vh, 780px); }
.ihero { min-height: min(100svh, 1100px); }
/* review screenshots only (?shot): no transitions, so every section renders in its final state */
html.shot *, html.shot *::before, html.shot *::after { transition: none !important; animation: none !important; }
html.shot .place-car { left: var(--len); opacity: 1; } /* review screenshots: show the cars at rest */
.sec-head--center .lead { margin-inline: auto; }
#referidos .h2 { max-width: 22ch; }
@media (max-width: 760px) { .tour { min-height: min(78vh, 680px); } }
.sim-types { margin: 4px 0 20px; } .sim-types .tsw { padding: 10px 16px; }
.apt .plan-open img { width: auto; max-width: 100%; max-height: 500px; margin-inline: auto; } /* trimmed plans differ in shape: cap the height so the tall 81 m² plan stays in scale */

/* ---------- Intro (Andrea 2026-11-05): navy curtain with the ÍTACA logo, driven by one timeline in main.js ---------- */
.it-intro { display: none; }
html.intro .it-intro { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: #142332; will-change: transform;
  animation: it-intro-failsafe 0s 12s forwards; } /* if the script never runs, the curtain still gets out of the way */
@keyframes it-intro-failsafe { to { visibility: hidden; } }
.it-intro-logo { width: min(598px, 80vw); /* +15% (Andrea 2026-11-05; was 520px / 70vw) */ height: auto; overflow: visible; will-change: transform; }
.it-intro-sail path, .it-intro-tower, .it-intro-lock { transform-box: view-box; }
html.intro:not(.intro-go) { overflow: hidden; }
/* hero under the curtain: photo waits zoomed in, copy waits below its line */
html.intro .ihero-img { transform: scale(1.18); transition: transform 2.8s cubic-bezier(.16, 1, .3, 1); }
html.intro .ihero.is-ready .ihero-img { transform: scale(1); }
html.intro .ihero-in > .ihero-title { opacity: 1; transform: none; transition: none; }
html.intro .ihero-title .ihero-kick { opacity: 0; transform: translateY(14px); }
html.intro .ihero.is-ready .ihero-title .ihero-kick { opacity: 1; transform: none; transition: opacity 1s .45s var(--ease), transform 1.2s .45s var(--ease); }
html.intro .ihero-title .w { display: inline-block; clip-path: inset(-.4em -.3em 0 -.3em); }
html.intro .ihero-title .w > span { display: inline-block; transform: translateY(108%); }
html.intro .ihero.is-ready .ihero-title .w > span { transform: none; transition: transform 1.3s calc(.55s + var(--i) * .07s) cubic-bezier(.16, 1, .3, 1); }
html.intro .ihero.is-ready .ihero-in > :nth-child(2) { transition-delay: 1.05s; }
html.intro .ihero.is-ready .ihero-in > :nth-child(3) { transition-delay: 1.15s; }
html.intro .ihero.is-ready .ihero-in > :nth-child(n+4) { transition-delay: 1.3s; }
html.intro .bar { opacity: 0; transform: translateY(-18px); }
html.intro.intro-go .bar { opacity: 1; transform: none; transition: opacity 1s 1.2s var(--ease), transform 1.2s 1.2s var(--ease); }

/* S03 cards: deeper shade at the bottom so the copy reads (Andrea 2026-11-05) */
.fcard::after { background: linear-gradient(180deg, rgba(12,36,46,.62) 0%, rgba(12,36,46,.26) 26%, rgba(12,36,46,0) 42%, rgba(12,36,46,.32) 56%, rgba(12,36,46,.72) 76%, rgba(12,36,46,.9) 100%); }
/* "Una decisión que puedes comprobar" stays on one line: the title may use the card's side padding */
.fcard-copy h3.one-line { white-space: nowrap; margin-inline: calc(-1 * clamp(10px, 1.4vw, 22px)); font-size: clamp(15px, 1.25vw, 18px); }
@media (max-width: 600px) { .fcard-copy h3.one-line { white-space: normal; margin-inline: 0; font-size: 18px; } } /* phone cards are too narrow for one line */

/* small print under a gallery sits with its images, with air before the button below it (Andrea 2026-11-05) */
.legal:has(+ .row-btns) { margin-top: 14px; }
.legal + .row-btns { margin-top: 36px; }

/* main buttons in the dark navy everywhere (Andrea 2026-11-05: it stands out more than the steel blue); hover lifts to the brand blue */
.btn--primary { background: var(--navy); }
.btn--primary:hover { background: var(--blue); }
.tour .btn--primary, .ihero .btn--primary { background: var(--blue); } .tour .btn--primary:hover, .ihero .btn--primary:hover { background: var(--navy); } /* on the dark photos (tour, hero) navy blends in: keep the steel blue (Andrea 2026-11-05) */
.cal-box iframe { display: block; width: 100%; height: 720px; border: 0; border-radius: var(--radius); background: #fff; } /* GoHighLevel booking calendar (same as Porta Nova) */
@media (max-width: 600px) { .cal-box iframe { height: 640px; } }
/* FAQ answers a notch darker for legibility (Andrea 2026-11-06) */
.faq-a p { color: #2B3D47; }
/* ES / EN toggle: the letters sat ~1px left of center in the white bubble; nudge them right (Andrea 2026-11-06) */
.bar-nav .lang > *, .lang > * { padding-left: 11.2px; padding-right: 8.8px; }
@media (max-width: 400px) { body:not(.legal-page) .bar-nav .lang > * { padding-left: 7.2px; padding-right: 4.8px; } }

/* "A story built on proof" line: 2px smaller, centered over the first button */
.backing-line { font-size: 14px; }
.backing-cta { display: grid; grid-template-columns: auto auto; justify-content: start; align-items: center; column-gap: 12px; row-gap: 12px; }
.backing-cta > .backing-line { grid-column: 1; text-align: center; }
.backing-cta > .row-btns { display: contents; }
.backing-cta > .row-btns > .btn { grid-column: 1; grid-row: 2; justify-self: center; }
.backing-cta > .row-btns > .linkline { grid-column: 2; grid-row: 2; }

/* Floor plan tabs: no white bubble behind; size and bedrooms stacked and centered */
.tswitch { padding: 0; background: none; box-shadow: none; }
.tswitch .tsw { flex-direction: column; align-items: center; gap: 2px; text-align: center; }
.tswitch { display: inline-grid; grid-template-columns: repeat(3, 1fr); }
.tswitch .tsw { padding: 12px 28px; }
.tswitch .tsw span { font-size: 12px; }
@media (max-width: 600px) { .tswitch { display: grid; } .tswitch .tsw { padding: 10px 6px; } }
/* Bathrooms count centered under its label */
.t-specs li:has([data-t="bathsx"]) { text-align: center; }
.t-specs li:has([data-t="bathsx"]) small { margin-right: -.16em; }
/* Referral steps: the 3-step group sits centered under the headline (equal columns, no left offset) */
@media (min-width: 1021px) { .steps--3 { grid-template-columns: repeat(3, 300px); justify-content: center; padding-left: 0; } }
/* Footer "Cookie settings" link in the light brand aqua */
.footer-ck { color: var(--aqua); }
.footer-ck:hover { color: #fff; }
.sim-types .tsw { padding: 10px 18px; }
/* Referral steps, desktop: each step centered in its column so the whole row is balanced under the centered headline */
@media (min-width: 1021px) {
  .steps--3 .pstep { text-align: center; }
  .steps--3 .pstep-num { margin-inline: auto; }
  .steps--3 .pstep p { margin-inline: auto; }
  .steps--3 .pstep::before { left: calc(50% + 40px); right: calc(-50% - 24px + 40px); }
}
.tswitch.sim-types { display: grid; width: 100%; gap: 16px; } /* calculator: pills spread across the card */
.tswitch .tsw b { white-space: nowrap; } @media (max-width: 600px) { .tswitch.sim-types { gap: 6px; } }
@media (max-width: 600px) { .field > span:has(#sim-value-out) { flex-direction: column; align-items: flex-start; gap: 6px; } #sim-value-out { white-space: nowrap; } } /* calculator "Starting at": label above the price on phones */
.backing-line { font-size: 12px; } /* Andrea 2026-11-06: 2 more pt smaller */

/* hero text block 40px higher on desktop (Andrea 2026-11-05) */
@media (min-width: 761px) { .ihero-in { padding-bottom: calc(clamp(80px, 10vh, 120px) + 40px); } }

/* scrollspy: current section link in the menu (2026-11-05) */
.bar-nav a:not(.btn) { position: relative; transition: color .3s var(--ease); }
.bar-nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px; background: var(--aqua); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.bar-nav a.is-current::after, .bar-nav a[aria-current="page"]::after { transform: scaleX(1); }
.bar.is-solid .bar-nav a.is-current, .bar.is-solid .bar-nav a[aria-current="page"] { color: var(--blue); }
.bar.is-solid .bar-nav a:not(.btn)::after { background: var(--blue); }
#galeria-avance { scroll-margin-top: 48px; } /* menu "Avance" lands with room above the tabs */

/* keep a headline phrase on one line on desktop (form: "estás buscando?") */
@media (min-width: 901px) { .nowrap-desk { white-space: nowrap; } }
