/* RAD Homes, "Statement" design
   Layout: left-aligned editorial grid; the owner's money is shown like a clear monthly statement
   (ruled lines, tabular figures, one highlighted total). Brand blue from the RAD Homes logo,
   warm sand from the brand's interior photography, deep navy for text. */
:root {
  color-scheme: light;
  --bg: #FFFFFF;
  --sand: #F5F0E8;        /* warm section ground, from RAD's photo style */
  --sand-2: #E9DFCF;
  --ink: #0F2747;         /* headings and main text */
  --text: #26334A;
  --muted: #586579;
  --line: #DCE2EA;
  --blue: #2B7BDE;        /* RAD Homes logo blue */
  --blue-deep: #1B5DB8;   /* buttons and links (passes contrast on white) */
  --blue-ink: #123F80;
  --marker: #F2DFAE;      /* highlighter on the "to you" figure */
  --navy: #0F2747;
  --on-navy: #EEF3FA;
  --on-navy-2: #A9B8CC;
  --error: #B3261E;
  --ok: #E1F1E7;
  --flag: #FFF0BF;

  --f: "Schibsted Grotesk", "Helvetica Neue", Arial, system-ui, sans-serif;
  --f-ar: "Readex Pro", "Geeza Pro", "Segoe UI", Tahoma, sans-serif;

  --s-1: .75rem; --s0: 1rem; --s1: 1.5rem; --s2: 2.5rem; --s3: 4rem; --s4: 6rem;
  --max: 80rem;
  --r: 10px; --r-lg: 16px;
  --ease: cubic-bezier(.2,.7,.1,1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 6rem; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--f); font-size: 1.0625rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }
[dir="rtl"] body, body[dir="rtl"] { font-family: var(--f-ar); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--bg); }
img, svg { display: block; max-width: 100%; }
a { color: var(--blue-deep); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--blue-ink); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
.on-navy :focus-visible { outline-color: var(--marker); }

h1, h2, h3 { color: var(--ink); font-weight: 800; line-height: 1.04; letter-spacing: -.03em; margin: 0; text-wrap: balance; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { letter-spacing: 0; line-height: 1.25; font-weight: 600; }
h1 { font-size: clamp(2.4rem, 1.4rem + 3.8vw, 4.25rem); }
h2 { font-size: clamp(1.85rem, 1.3rem + 1.9vw, 2.75rem); }
h3 { font-size: 1.25rem; letter-spacing: -.015em; line-height: 1.25; font-weight: 700; }
p { margin: 0; }
.lead { font-size: 1.2rem; color: var(--muted); line-height: 1.55; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.num { font-variant-numeric: tabular-nums; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.flag { background: var(--flag); color: #5C4400; padding: .05rem .4rem; border-radius: 4px; font-size: .9em; font-weight: 600; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
@media (min-width: 48rem) { .wrap { padding-left: max(2.5rem, env(safe-area-inset-left, 0px)); padding-right: max(2.5rem, env(safe-area-inset-right, 0px)); } }
.section { padding-block: var(--s4); }
.section-sand { background: var(--sand); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: var(--s0) var(--s2); margin-bottom: var(--s2); }
.section-head > div { display: grid; gap: .6rem; max-width: 42rem; }

.skip { position: absolute; inset-inline-start: max(16px, env(safe-area-inset-left, 0px)); top: calc(env(safe-area-inset-top, 0px) + .5rem); z-index: 100; background: var(--ink); color: #fff; padding: .75rem 1rem; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; white-space: nowrap; }
.skip:focus { clip-path: none; width: auto; height: auto; color: #fff; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 3.1rem; padding: .8rem 1.4rem; border-radius: 8px; border: 1.5px solid transparent;
  font: 700 1rem/1.1 inherit; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease); }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn-primary { background: var(--blue-deep); color: #fff; }
.btn-primary:hover { background: var(--blue-ink); color: #fff; box-shadow: 0 8px 22px -10px rgb(27 93 184 / .7); }
.btn-outline { background: transparent; color: var(--blue-deep); border-color: var(--blue-deep); }
.btn-outline:hover { background: #EEF4FC; color: var(--blue-ink); }
.btn-marker { background: var(--marker); color: var(--ink); }
.btn-marker:hover { background: #EBD08F; color: var(--ink); }
.on-navy .btn-outline { color: var(--on-navy); border-color: #4D6386; }
.on-navy .btn-outline:hover { background: rgb(255 255 255 / .06); color: #fff; border-color: var(--on-navy); }
.btn[aria-disabled="true"] { opacity: .55; pointer-events: none; }
.btn svg { width: 1.1em; height: 1.1em; flex: none; transition: transform .25s var(--ease); }
.btn:hover svg.arrow { transform: translateX(3px); }
[dir="rtl"] svg.arrow { transform: scaleX(-1); }
[dir="rtl"] .btn:hover svg.arrow { transform: scaleX(-1) translateX(3px); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgb(255 255 255 / .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); transition: box-shadow .3s var(--ease); }
.site-header.scrolled { box-shadow: 0 8px 24px -20px rgb(15 39 71 / .6); }
.site-header .wrap { display: flex; align-items: center; gap: var(--s1); min-height: 4.5rem; }
.brand { display: inline-flex; flex-direction: column; gap: 2px; color: var(--blue); text-decoration: none; }
.brand:hover { color: var(--blue); }
.brand svg { width: 9.5rem; height: auto; }
.brand small { font-size: .62rem; letter-spacing: .14em; color: var(--blue-deep); font-weight: 600; text-transform: uppercase; padding-inline-start: 2px; }
[dir="rtl"] .brand small { letter-spacing: 0; text-transform: none; font-size: .75rem; }
.nav { margin-inline-start: auto; display: flex; align-items: center; gap: var(--s1); }
.nav-links { display: flex; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { position: relative; color: var(--ink); text-decoration: none; font-weight: 600; padding-block: .4rem; }
.nav-links a::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.lang { font-weight: 700; text-decoration: none; color: var(--blue-deep); padding: .4rem .2rem; }
.menu-btn { display: none; }
@media (max-width: 63.99rem) {
  .menu-btn { display: inline-flex; margin-inline-start: auto; align-items: center; gap: .5rem; min-height: 2.75rem; padding: .4rem .95rem; background: #EEF4FC; color: var(--ink); border: 0; border-radius: 8px; font: 700 1rem inherit; cursor: pointer; }
  .menu-btn .bars { width: 1.1rem; height: .7rem; position: relative; }
  .menu-btn .bars::before, .menu-btn .bars::after { content: ""; position: absolute; inset-inline: 0; height: 2px; background: currentColor; transition: transform .3s var(--ease), top .3s var(--ease); }
  .menu-btn .bars::before { top: 0; } .menu-btn .bars::after { top: calc(100% - 2px); }
  .menu-btn[aria-expanded="true"] .bars::before { top: calc(50% - 1px); transform: rotate(45deg); }
  .menu-btn[aria-expanded="true"] .bars::after { top: calc(50% - 1px); transform: rotate(-45deg); }
  .nav { position: absolute; inset-inline: 0; top: 100%; flex-direction: column; align-items: stretch; gap: var(--s0); background: var(--bg); border-bottom: 1px solid var(--line);
    padding: var(--s0) max(16px, env(safe-area-inset-right, 0px)) var(--s2) max(16px, env(safe-area-inset-left, 0px)); box-shadow: 0 30px 40px -30px rgb(15 39 71 / .4);
    clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .4s var(--ease), visibility 0s linear .4s; }
  .nav.open { clip-path: inset(0 0 -60px 0); visibility: visible; transition: clip-path .4s var(--ease), visibility 0s; }
  .nav-links { flex-direction: column; gap: 0; }
  .nav-links a { display: block; font-size: 1.5rem; font-weight: 700; padding-block: .75rem; border-bottom: 1px solid var(--line); }
  .nav-links a::after { display: none; }
  .nav .btn { width: 100%; }
}

/* ---------- Hero with statement card ---------- */
.hero { padding-block: clamp(2.5rem, 6vw, 5rem) var(--s3); }
.hero-grid { display: grid; gap: var(--s3); align-items: center; }
@media (min-width: 62rem) { .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); } }
.hero-copy { display: grid; gap: var(--s1); }
.hero h1 { color: var(--ink); max-width: 15ch; }
.hero .lead { max-width: 36rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.kicker { display: inline-flex; align-items: center; gap: .55rem; font-weight: 700; color: var(--blue-deep); font-size: .95rem; }
.kicker svg { width: 1.1rem; height: 1.1rem; color: var(--blue); }
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise .8s var(--ease) both; }
  .hero-copy > :nth-child(2) { animation-delay: .06s; } .hero-copy > :nth-child(3) { animation-delay: .12s; } .hero-copy > :nth-child(4) { animation-delay: .18s; }
  .statement.hero-card { animation: card-in 1s var(--ease) .15s both; }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
  @keyframes card-in { from { opacity: 0; transform: translate(10px, 18px); box-shadow: 0 0 0 var(--blue); } to { opacity: 1; transform: none; } }
}

.statement { background: var(--bg); border: 1.5px solid var(--ink); border-radius: var(--r-lg); box-shadow: 10px 10px 0 var(--blue); padding: clamp(1.25rem, 3vw, 1.9rem); display: grid; gap: 1.1rem; min-width: 0; }
[dir="rtl"] .statement { box-shadow: -10px 10px 0 var(--blue); }
.statement-head { display: flex; justify-content: space-between; align-items: baseline; gap: .75rem; flex-wrap: wrap; }
.statement-head h2, .statement-head h3 { font-size: 1.3rem; letter-spacing: -.02em; }
.statement-head span { font-size: .85rem; color: var(--muted); }
.statement-inputs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.lines { border-top: 1.5px solid var(--ink); font-variant-numeric: tabular-nums; }
.line { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.line span:last-child { text-align: end; white-space: nowrap; }
.line.minus { color: var(--muted); }
.line.total { border-bottom: 0; padding-top: 1rem; align-items: baseline; flex-wrap: wrap; }
.line.total span:first-child { font-weight: 800; color: var(--ink); }
.total-figure { font-size: clamp(1.4rem, 1rem + 1.3vw, 1.85rem); font-weight: 800; color: var(--ink); letter-spacing: -.02em; background: linear-gradient(transparent 58%, var(--marker) 58%); padding-inline: .15rem; transition: background-size .5s var(--ease); }
.total-figure.bump { animation: bump .5s var(--ease); }
@keyframes bump { 0% { background-size: 0% 100%; } 100% { background-size: 100% 100%; } }
.total-figure { background-repeat: no-repeat; background-size: 100% 100%; }
.statement .fine { font-size: .8125rem; color: var(--muted); line-height: 1.5; }

/* ---------- Trust strip ---------- */
.trust { background: var(--sand); border-block: 1px solid var(--sand-2); }
.trust .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: var(--s1) var(--s2); padding-block: 1.75rem; }
.trust div { display: grid; gap: .1rem; }
.trust strong { font-size: 1.3rem; color: var(--ink); letter-spacing: -.01em; line-height: 1.2; }
.trust span { font-size: .9rem; color: var(--muted); }

/* ---------- Money split bar ---------- */
.split { display: grid; gap: 1rem; }
.split-bar { display: flex; height: 4rem; border: 1.5px solid var(--ink); border-radius: var(--r); overflow: hidden; }
.split-bar > div { display: flex; align-items: center; padding-inline: 1rem; font-weight: 800; white-space: nowrap; overflow: hidden; }
.split-bar .s-platform { background: #9DB4D6; }
.split-bar .s-fee { background: #D4DEEC; color: var(--ink); }
.split-bar .s-owner { background: var(--ink); color: #fff; font-size: 1.25rem; }
.split-legend { display: flex; flex-wrap: wrap; gap: .5rem 2rem; color: var(--muted); font-size: .95rem; }
.split-legend i { display: inline-block; width: .8rem; height: .8rem; border-radius: 2px; margin-inline-end: .4rem; vertical-align: -1px; }
@supports (animation-timeline: view()) { @media (prefers-reduced-motion: no-preference) {
  .split-bar > div { animation: grow linear both; animation-timeline: view(); animation-range: entry 10% cover 40%; transform-origin: left; }
  @keyframes grow { from { transform: scaleX(.2); opacity: .3; } to { transform: none; opacity: 1; } }
} }

/* ---------- Steps (a real sequence, with days) ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1.5px solid var(--ink); }
@media (min-width: 52rem) { .steps { grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); } }
.steps li { display: grid; gap: .35rem; align-content: start; padding: 1.25rem 1.5rem 1.25rem 0; border-bottom: 1px solid var(--line); }
[dir="rtl"] .steps li { padding: 1.25rem 0 1.25rem 1.5rem; }
@media (min-width: 52rem) { .steps li { border-bottom: 0; } }
.steps .when { font-size: .875rem; font-weight: 800; color: var(--blue-deep); font-variant-numeric: tabular-nums; }
.steps p { color: var(--muted); }

/* ---------- Services ---------- */
.two-col { display: grid; gap: var(--s2) var(--s3); }
@media (min-width: 60rem) { .two-col { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: start; } }
.two-col > div:first-child { display: grid; gap: var(--s0); align-content: start; justify-items: start; }
.services { list-style: none; margin: 0; padding: 0; display: grid; }
.services li { display: grid; grid-template-columns: 2.5rem 1fr; gap: .2rem 1rem; padding-block: 1.15rem; border-top: 1px solid var(--line); }
.services li:last-child { border-bottom: 1px solid var(--line); }
.services .ico { grid-row: span 2; width: 2.5rem; height: 2.5rem; border-radius: 8px; display: grid; place-items: center; background: #EAF2FC; color: var(--blue-deep); }
.services .ico svg { width: 1.25rem; height: 1.25rem; }
.services p { color: var(--muted); }
.on-navy .services li { border-color: #29426A; }
.on-navy .services h3 { color: #fff; }
.on-navy .services p { color: var(--on-navy-2); }
.on-navy .services .ico { background: rgb(43 123 222 / .2); color: #8FC0FF; }

/* ---------- Home cards ---------- */
.stay-grid { display: grid; gap: var(--s2) var(--s1); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 40rem) { .stay-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .stay-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.stay { min-width: 0; }
.stay-link { display: grid; gap: .75rem; color: inherit; text-decoration: none; }
.stay-link:hover { color: inherit; }
.photo { position: relative; overflow: hidden; border-radius: var(--r-lg); aspect-ratio: 4 / 3; background: var(--sand-2); max-width: 100%; }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.stay-link:hover .photo img { transform: scale(1.045); }
.photo .tag { position: absolute; top: .8rem; inset-inline-start: .8rem; background: #fff; color: var(--ink); font-size: .8rem; font-weight: 700; padding: .3rem .6rem; border-radius: 6px; }
.stay h3 { font-size: 1.2rem; transition: color .2s var(--ease); }
.stay-link:hover h3 { color: var(--blue-deep); }
.stay-meta { display: flex; flex-wrap: wrap; gap: .3rem 1.1rem; font-size: .925rem; color: var(--muted); }
.stay-meta span { display: inline-flex; align-items: center; gap: .35rem; }
.stay-meta svg { width: 1rem; height: 1rem; color: var(--blue); }
.rating { display: inline-flex; align-items: center; gap: .3rem; font-weight: 700; color: var(--ink); }
.rating svg { width: 1rem; height: 1rem; color: var(--ink); }

/* ---------- Quotes ---------- */
.quotes { display: grid; gap: var(--s1); grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
.quote { margin: 0; display: grid; gap: .8rem; padding: 1.4rem; border-radius: var(--r-lg); background: var(--bg); border: 1px solid var(--sand-2); }
.quote p { font-size: 1.1rem; color: var(--ink); line-height: 1.45; }
.quote footer { font-size: .875rem; color: var(--muted); }
.stars { display: flex; gap: 2px; color: var(--ink); } .stars svg { width: .95rem; height: .95rem; }

/* ---------- Owner testimonial band ---------- */
.on-navy { background: var(--navy); color: var(--on-navy); }
.on-navy h2, .on-navy h3 { color: #fff; }
.cta-band { padding-block: var(--s3); }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--s1) var(--s2); }
.cta-band h2 { max-width: 20ch; }
.cta-band p { color: var(--on-navy-2); margin-top: .75rem; max-width: 36rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- Areas ---------- */
.area-links { display: grid; gap: var(--s1); grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.area-link { display: grid; gap: .35rem; padding: 1.25rem; border-radius: var(--r-lg); border: 1.5px solid var(--line); color: inherit; text-decoration: none; transition: border-color .2s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease); }
.area-link:hover { border-color: var(--blue); color: inherit; transform: translateY(-2px); box-shadow: 0 14px 30px -24px rgb(15 39 71 / .6); }
.area-link strong { font-size: 1.15rem; color: var(--ink); }
.area-link .num { color: var(--blue-deep); font-weight: 700; }
.rate-chart { display: grid; grid-template-columns: minmax(7.5rem, 11rem) minmax(0, 1fr) minmax(4.5rem, 6rem); gap: 0 1rem; align-items: center; font-variant-numeric: tabular-nums; }
.rate-chart .axis { position: relative; height: 1.6rem; font-size: .75rem; color: var(--muted); }
.rate-chart .axis span { position: absolute; transform: translateX(-50%); }
.rate-chart .axis span:first-child { transform: none; } .rate-chart .axis span:last-child { transform: translateX(-100%); }
.rate-chart .label, .rate-chart .occ { padding: .7rem 0; border-top: 1px solid var(--line); }
.rate-chart .label { font-weight: 700; color: var(--ink); text-decoration: none; }
.rate-chart .track { position: relative; height: 100%; min-height: 2.9rem; border-top: 1px solid var(--line); background: linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 25% 100%; }
.rate-chart .bar { position: absolute; top: 50%; height: .9rem; margin-top: -.45rem; background: var(--blue); border-radius: 3px; }
.rate-chart .bar.rad { background: var(--blue-deep); }
.rate-chart .bar.open { border-radius: 3px 0 0 3px; background: linear-gradient(90deg, var(--blue) 75%, #A9CBF3); }

/* ---------- FAQ ---------- */
.faq { border-top: 1.5px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--s1); padding-block: 1.15rem; font-weight: 700; font-size: 1.1rem; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 1.9rem; height: 1.9rem; display: grid; place-items: center; border-radius: 6px; background: #EEF4FC; color: var(--blue-deep); font-size: 1.3rem; font-weight: 400; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 0 1.3rem; color: var(--muted); max-width: 44rem; }
@media (prefers-reduced-motion: no-preference) {
  :root { interpolate-size: allow-keywords; }
  .faq details::details-content { transition: height .35s var(--ease), content-visibility .35s allow-discrete; height: 0; overflow: clip; }
  .faq details[open]::details-content { height: auto; }
}

/* ---------- Page head ---------- */
.page-head { padding-block: var(--s3) var(--s2); border-bottom: 1px solid var(--line); }
.page-head .wrap { display: grid; gap: var(--s0); }
.page-head p { max-width: 44rem; }
.crumbs { display: flex; flex-wrap: wrap; gap: .5rem; font-size: .9rem; color: var(--muted); }
.crumbs a { color: var(--muted); }

/* ---------- Forms ---------- */
.field { display: grid; gap: .35rem; min-width: 0; }
.field label, .field .label { font-size: .9rem; font-weight: 700; color: var(--ink); }
.field .opt { font-weight: 400; color: var(--muted); }
input, select, textarea { width: 100%; min-height: 3rem; padding: .65rem .85rem; font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 1.5px solid #C5CFDC; border-radius: 8px; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
select { appearance: none; padding-inline-end: 2.4rem; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 1.2rem) 54%, calc(100% - .85rem) 54%; background-size: .35rem .35rem; background-repeat: no-repeat; }
[dir="rtl"] select { background-position: 1.2rem 54%, .85rem 54%; }
textarea { min-height: 8rem; resize: vertical; }
input:hover, select:hover, textarea:hover { border-color: #9FB0C6; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue-deep); box-shadow: 0 0 0 4px rgb(43 123 222 / .2); }
[aria-invalid="true"] { border-color: var(--error); }
.error-msg { color: var(--error); font-size: .9rem; }
.check { display: flex; gap: .7rem; align-items: flex-start; font-size: .9rem; color: var(--muted); font-weight: 400 !important; }
.check input { width: 1.2rem; height: 1.2rem; min-height: 0; margin-top: .15rem; accent-color: var(--blue-deep); flex: none; }
.form-grid { display: grid; gap: var(--s0) var(--s1); }
.form-grid .two { display: grid; gap: var(--s0) var(--s1); }
@media (min-width: 40rem) { .form-grid .two { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.form-card { background: #fff; border: 1.5px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.25rem, 3vw, 2rem); }
.hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.form-status { border-radius: var(--r); padding: 1rem 1.2rem; display: grid; gap: .3rem; }
.form-status h3 { font-size: 1.1rem; }
.form-status.ok { background: var(--ok); } .form-status.warn { background: var(--flag); } .form-status.err { background: #F9DEDC; }
.note { font-size: .9rem; color: var(--muted); background: var(--sand); border-radius: 8px; padding: .75rem 1rem; }

/* ---------- Property page ---------- */
.prop-head { padding-block: var(--s1); }
.prop-head .wrap { display: grid; gap: .75rem; }
.prop-sub { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; align-items: center; color: var(--muted); }
.gallery { display: grid; gap: .5rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gallery button { padding: 0; border: 0; background: var(--sand-2); overflow: hidden; border-radius: var(--r); cursor: zoom-in; aspect-ratio: 4 / 3; }
.gallery button:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; border-radius: var(--r-lg); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.gallery button:hover img { transform: scale(1.03); }
@media (min-width: 52rem) {
  .gallery { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, 1fr); height: min(32rem, 56vw); }
  .gallery button { aspect-ratio: auto !important; height: 100%; }
  .gallery button:first-child { grid-column: auto; grid-row: span 2; }
  .gallery button:nth-child(n+6) { display: none; }
}
.prop-body { display: grid; gap: var(--s3); padding-block: var(--s2) var(--s4); }
@media (min-width: 62rem) { .prop-body { grid-template-columns: minmax(0, 1fr) 22rem; align-items: start; } }
.prop-main { display: grid; gap: var(--s2); min-width: 0; }
.prop-main section { display: grid; gap: var(--s0); }
.prop-main h2 { font-size: 1.55rem; }
.prose { display: grid; gap: var(--s0); max-width: 44rem; }
.spec { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; border-top: 1.5px solid var(--ink); }
@media (min-width: 40rem) { .spec { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.spec div { padding: .85rem 0; border-bottom: 1px solid var(--line); display: grid; gap: .1rem; }
.spec dt { font-size: .85rem; color: var(--muted); }
.spec dd { margin: 0; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem 1.5rem; }
@media (min-width: 40rem) { .ticks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ticks li { display: flex; gap: .6rem; align-items: baseline; }
.ticks svg { width: 1rem; height: 1rem; color: var(--blue); flex: none; transform: translateY(2px); }
.book-box { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 6rem); display: grid; gap: var(--s0); }
.book-box .btn { width: 100%; }
@media (max-width: 61.99rem) { .book-box { order: -1; position: static; } }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100%; height: 100%; }
.lightbox::backdrop { background: rgb(9 20 38 / .94); }
.lightbox-inner { position: relative; width: 100%; height: 100%; display: grid; place-items: center; padding: 4rem max(16px, env(safe-area-inset-left, 0px)); }
.lightbox img { max-height: 82vh; width: auto; border-radius: 8px; }
.lb-btn { position: absolute; background: #fff; color: var(--ink); border: 0; border-radius: 8px; min-width: 3rem; min-height: 3rem; font: 700 1rem inherit; cursor: pointer; padding: 0 1rem; }
.lb-close { top: calc(1rem + env(safe-area-inset-top, 0px)); inset-inline-end: max(1rem, env(safe-area-inset-right, 0px)); }
.lb-prev { inset-inline-start: max(1rem, env(safe-area-inset-left, 0px)); top: 50%; }
.lb-next { inset-inline-end: max(1rem, env(safe-area-inset-right, 0px)); top: 50%; }
.lb-caption { position: absolute; bottom: calc(1rem + env(safe-area-inset-bottom, 0px)); inset-inline: 0; text-align: center; color: var(--on-navy-2); }

/* ---------- Estimator page, comparison, sample statement ---------- */
.calc-grid { display: grid; gap: var(--s2); align-items: start; }
@media (min-width: 62rem) { .calc-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.compare { display: grid; gap: 1rem; }
.compare-bars { display: grid; gap: .8rem; }
.compare-row { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: .75rem; align-items: center; font-variant-numeric: tabular-nums; }
.compare-row .track { height: 2.5rem; background: var(--sand); border-radius: 6px; position: relative; overflow: hidden; }
.compare-row .fill { position: absolute; inset-block: 0; inset-inline-start: 0; background: var(--blue-deep); border-radius: 6px; display: flex; align-items: center; padding-inline: .7rem; color: #fff; font-weight: 700; white-space: nowrap; transition: width .6s var(--ease); }
.compare-row .fill.lease { background: #8E9DB3; }
.compare-verdict { font-size: 1.15rem; color: var(--ink); font-weight: 700; }
.statement-doc { max-width: 52rem; }
.statement-doc table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.statement-doc th, .statement-doc td { text-align: start; padding: .7rem .5rem; border-bottom: 1px solid var(--line); }
.statement-doc th { font-size: .85rem; color: var(--muted); font-weight: 700; border-bottom: 1.5px solid var(--ink); }
.statement-doc td.amt, .statement-doc th.amt { text-align: end; }
.statement-doc tfoot td { font-weight: 800; color: var(--ink); border-bottom: 0; }
.table-scroll { overflow-x: auto; }

/* ---------- Contact ---------- */
.contact-layout { display: grid; gap: var(--s2); padding-block: var(--s2) var(--s4); }
@media (min-width: 62rem) { .contact-layout { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); } }
.contact-side { display: grid; gap: .75rem; align-content: start; }
.contact-line { display: grid; gap: .1rem; padding: .9rem 1rem; border-radius: var(--r); background: var(--sand); }
.contact-line span { font-size: .85rem; color: var(--muted); }
.contact-line a, .contact-line strong { font-weight: 700; overflow-wrap: anywhere; color: var(--ink); }
.tabs { display: inline-flex; gap: .25rem; padding: .25rem; border-radius: 10px; background: #EEF4FC; margin-bottom: var(--s1); }
.tabs a { padding: .55rem 1rem; border-radius: 8px; text-decoration: none; font-weight: 700; color: var(--muted); }
.tabs a[aria-current="page"] { background: #fff; color: var(--ink); box-shadow: 0 1px 4px rgb(15 39 71 / .15); }

/* ---------- Text pages ---------- */
.doc { display: grid; gap: var(--s2); padding-block: var(--s2) var(--s4); max-width: 46rem; }
.doc section { display: grid; gap: var(--s0); }
.doc h2 { font-size: 1.55rem; }

/* ---------- Footer ---------- */
.site-footer { padding-block: var(--s3) calc(var(--s2) + env(safe-area-inset-bottom, 0px)); }
.site-footer .brand { color: #fff; } .site-footer .brand small { color: var(--on-navy-2); }
.footer-grid { display: grid; gap: var(--s2); }
@media (min-width: 52rem) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-grid h2 { font-size: .9rem; letter-spacing: 0; font-weight: 700; color: var(--on-navy-2); margin-bottom: .75rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.footer-grid a { color: var(--on-navy); text-decoration: none; }
.footer-grid a:hover { color: #fff; text-decoration: underline; }
.footer-brand { display: grid; gap: var(--s0); justify-items: start; }
.footer-brand p { color: var(--on-navy-2); max-width: 24rem; }
.footer-legal { margin-top: var(--s2); padding-top: var(--s1); border-top: 1px solid #29426A; color: var(--on-navy-2); font-size: .875rem; display: flex; flex-wrap: wrap; gap: .5rem 2rem; justify-content: space-between; }

/* ---------- WhatsApp ---------- */
.wa-float { position: fixed; z-index: 40; inset-inline-end: max(1rem, env(safe-area-inset-right, 0px)); bottom: calc(1rem + env(safe-area-inset-bottom, 0px)); display: inline-flex; align-items: center; gap: .5rem; padding: .8rem 1.1rem; border-radius: 999px; background: #1F8F4E; color: #fff; text-decoration: none; font-weight: 700; box-shadow: 0 12px 30px -12px rgb(0 0 0 / .45); }
.wa-float:hover { color: #fff; background: #187A42; }
.wa-float svg { width: 1.3rem; height: 1.3rem; }

/* ---------- Motion ---------- */
@supports (animation-timeline: view()) { @media (prefers-reduced-motion: no-preference) {
  .reveal { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% cover 22%; }
  @keyframes reveal { from { opacity: .2; transform: translateY(1.75rem); } to { opacity: 1; transform: none; } }
} }
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: .3s; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* ---------- Airbnb Superhost badge (RAD's own design; no Airbnb artwork) ---------- */
.superhost { display: inline-flex; align-items: center; gap: .85rem; padding: .6rem 1rem .6rem .65rem; border-radius: 14px; background: #fff; border: 1.5px solid var(--ink); box-shadow: 4px 4px 0 var(--marker); text-decoration: none; color: var(--ink); max-width: 100%; }
[dir="rtl"] .superhost { padding: .6rem .65rem .6rem 1rem; box-shadow: -4px 4px 0 var(--marker); }
.superhost:hover { color: var(--ink); transform: translateY(-1px); }
.superhost .medal { flex: none; width: 2.6rem; height: 2.6rem; border-radius: 999px; display: grid; place-items: center; background: var(--ink); color: var(--marker); }
.superhost .medal svg { width: 1.45rem; height: 1.45rem; }
.superhost .sh-text { display: grid; gap: .05rem; line-height: 1.2; min-width: 0; }
.superhost strong { font-size: 1rem; font-weight: 800; }
.superhost .sh-rating { display: inline-flex; align-items: center; gap: .3rem; font-weight: 800; font-size: 1rem; }
.superhost .sh-rating svg { width: .95rem; height: .95rem; }
.superhost .sh-sub { font-size: .8rem; color: var(--muted); }
.superhost .sh-row { display: flex; flex-wrap: wrap; gap: .1rem .6rem; align-items: baseline; }
.superhost.big { padding: 1rem 1.3rem 1rem 1rem; gap: 1.1rem; }
.superhost.big .medal { width: 3.4rem; height: 3.4rem; }
.superhost.big .medal svg { width: 1.9rem; height: 1.9rem; }
.superhost.big strong, .superhost.big .sh-rating { font-size: 1.25rem; }
.superhost.big .sh-sub { font-size: .9rem; }
.trust .sh-cell { display: flex; align-items: center; }

/* ---------- Platforms carousel ---------- */
.platforms { padding-block: var(--s2); border-block: 1px solid var(--line); overflow: hidden; }
.platforms .wrap { display: grid; gap: .4rem; margin-bottom: var(--s1); }
.platforms h2 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); }
.marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-track { display: flex; width: max-content; gap: var(--s1); animation: marquee 38s linear infinite; }
[dir="rtl"] .marquee-track { animation-name: marquee-rtl; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
.marquee ul { display: flex; gap: var(--s1); list-style: none; margin: 0; padding: 0; flex: none; }
.platform { display: inline-flex; align-items: center; gap: .6rem; padding: .85rem 1.4rem; border-radius: 12px; background: var(--sand); color: var(--ink); font-size: 1.25rem; font-weight: 800; letter-spacing: -.01em; white-space: nowrap; }
.platform.live { background: var(--ink); color: #fff; }
.platform .live-tag { font-size: .72rem; font-weight: 800; letter-spacing: .02em; padding: .2rem .45rem; border-radius: 5px; background: var(--marker); color: var(--ink); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(calc(-50% - var(--s1) / 2)); } }
@keyframes marquee-rtl { from { transform: translateX(0); } to { transform: translateX(calc(50% + var(--s1) / 2)); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee-track { animation: none !important; width: auto; }
  .marquee ul { flex-wrap: wrap; padding-inline: max(16px, env(safe-area-inset-left, 0px)); }
  .marquee ul[aria-hidden="true"] { display: none; }
}

/* ---------- Facilities ---------- */
.facilities { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); }
.facility { background: #fff; padding: 1.4rem; display: grid; gap: .55rem; align-content: start; transition: background-color .25s var(--ease); }
.facility:hover { background: #F7FAFE; }
.facility .f-ico { width: 3rem; height: 3rem; border-radius: 12px; display: grid; place-items: center; background: #EAF2FC; color: var(--blue-deep); transition: transform .35s var(--ease), background-color .25s var(--ease), color .25s var(--ease); }
.facility:hover .f-ico { transform: translateY(-3px) rotate(-4deg); background: var(--blue-deep); color: #fff; }
.facility .f-ico svg { width: 1.5rem; height: 1.5rem; }
.facility h3 { font-size: 1.1rem; }
.facility p { color: var(--muted); font-size: .95rem; }
.facility .f-homes { font-size: .8rem; color: var(--blue-deep); font-weight: 700; }
.section-sand .facility { background: #fff; }
.fac-tiles { display: grid; gap: .6rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 12.5rem), 1fr)); }
.fac-tile { display: flex; align-items: center; gap: .7rem; padding: .8rem .9rem; border-radius: 12px; background: var(--sand); font-weight: 700; color: var(--ink); font-size: .95rem; }
.fac-tile svg { width: 1.4rem; height: 1.4rem; color: var(--blue-deep); flex: none; }
