/* ===== GOLDEN RESIDENCY =====
   The landing page (/golden-visa-residency) and its teaser on the Residences page. Layout, sizes and colours follow the
   client's handover (Golden-Residency-Handover/06 Developer Notes/01-Style-Specifications.md); the nav, footer, buttons,
   fonts and the Arabic switch come from base.css. Every page class is prefixed gr- so nothing here touches other pages.
   Directions use logical properties (inline-start/end), so the Arabic page mirrors without a second set of rules. */

.gr-h2{font-size:clamp(2rem,4.2vw,3.4rem);font-weight:300;text-wrap:balance}
.gr-eyebrow{display:block;font-size:.72rem;font-weight:500;letter-spacing:.34em;text-transform:uppercase;color:var(--accent);margin-bottom:20px;line-height:1.5}
.gr-copy p{font-size:1.06rem;color:var(--ink-soft);max-width:60ch}
.gr-copy p + p{margin-top:20px}

/* hero */
.gr-hero .hero-media img{object-position:center 60%}
.gr-hero .hero-media::after{background:linear-gradient(180deg,rgba(6,12,16,.42) 0%,rgba(6,12,16,.16) 30%,rgba(6,12,16,.6) 74%,rgba(6,12,16,.86) 100%)}
.gr-hero .hero-inner{padding-top:150px}
.gr-h1{font-size:clamp(2.6rem,6vw,4.8rem);font-weight:300;line-height:1;letter-spacing:-.01em;margin-bottom:26px;text-shadow:0 2px 40px rgba(0,0,0,.25)}
.gr-hero-sub{font-size:clamp(1.2rem,2vw,1.6rem);font-weight:400;line-height:1.3;max-width:21em;margin-bottom:16px}
.gr-hero-text{max-width:560px;font-size:clamp(1.02rem,1.5vw,1.15rem);font-weight:300;line-height:1.55;color:rgba(255,255,255,.9)}

/* introduction */
.gr-intro{background:#fff}
.gr-intro-grid{display:grid;grid-template-columns:1fr 1fr;gap:clamp(30px,6vw,90px);align-items:center}
.gr-intro-grid .gr-h2{margin-bottom:28px}
.gr-collage img{width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;object-position:40% 50%;border-radius:var(--r)}

/* benefits */
.gr-benefits{background:#0d1318;color:#fff;padding-block:clamp(56px,7vw,96px)}
.gr-ben-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:clamp(28px,3.5vw,56px)}
.gr-ben{position:relative;padding-inline-start:24px}
.gr-ben::before{content:"";position:absolute;inset-inline-start:0;top:6px;bottom:6px;width:2px;background:var(--accent)}
.gr-ben img{height:56px;width:auto;margin-bottom:24px}
.gr-ben h3{font-size:1.4rem;line-height:1.2;margin-bottom:12px;color:#fff;text-wrap:balance}
.gr-ben p{font-size:.98rem;color:rgba(255,255,255,.72)}

/* property ownership */
.gr-elig{background:#fff}
.gr-elig-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:clamp(40px,6vw,90px);align-items:start}
.gr-elig-grid .gr-h2{font-size:clamp(1.9rem,3.6vw,2.9rem);margin-bottom:30px}
.gr-fig{display:block;position:relative;padding-inline-start:24px;margin-bottom:36px}
.gr-fig::before{content:"";position:absolute;inset-inline-start:0;top:6px;bottom:6px;width:2px;background:var(--accent)}
.gr-fig small{display:block;font-size:.95rem;color:var(--grey)}
.gr-fig strong{display:flex;align-items:baseline;gap:.4em;font-size:clamp(2.6rem,5vw,4.2rem);font-weight:300;line-height:1.05;letter-spacing:-.02em;margin:6px 0 4px}
.gr-fig strong i{font-style:normal;font-size:.45em;letter-spacing:.08em;color:var(--accent-deep)}
.gr-elig-photo{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;border-radius:6px;margin-bottom:36px}

/* lifestyle links */
.gr-links{background:var(--mist)}
.gr-links-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:clamp(36px,4.5vw,64px)}
.gr-card{position:relative;height:clamp(320px,32vw,460px);border-radius:var(--r);overflow:hidden;display:flex;align-items:flex-end;color:#fff;isolation:isolate}
.gr-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;transition:transform 1s var(--ease)}
.gr-card:hover img{transform:scale(1.06)}
.gr-card::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(rgba(0,0,0,.1),rgba(0,0,0,.6))}
.gr-card span{position:relative;padding:28px;padding-inline-end:70px;font-size:1.8rem;font-weight:300;line-height:1.1;width:100%}
.gr-card i{font-style:normal;position:absolute;inset-inline-end:28px;bottom:28px;font-size:1.4rem;transition:translate .4s var(--ease)}
.gr-card:hover i{translate:6px 0}
[dir=rtl] .gr-card:hover i{translate:-6px 0}

/* FAQ */
.gr-faqs{background:#fff}
.gr-faq-grid{display:grid;grid-template-columns:5fr 7fr;gap:clamp(30px,6vw,90px);align-items:start}
.gr-faq-head{position:sticky;top:120px}
.gr-faq{border-top:1px solid var(--line)}
.gr-faq details{border-bottom:1px solid var(--line)}
.gr-faq summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:16px;padding:20px 6px;font-size:1.06rem;font-weight:500;color:var(--ink);line-height:1.35;text-align:start;transition:padding .3s var(--ease)}
.gr-faq summary::-webkit-details-marker{display:none}
.gr-faq summary span{flex:1;min-width:0}
.gr-faq summary b{font-weight:500;font-size:.8rem;letter-spacing:.18em;color:var(--accent);flex:none;min-width:2.2em}
.gr-faq summary i{font-style:normal;font-size:1.6rem;font-weight:300;line-height:1;color:var(--accent);flex:none;transition:transform .3s var(--ease)}
.gr-faq summary:hover{padding-inline-start:14px}
.gr-faq details[open] summary i{transform:rotate(45deg)}
.gr-faq .gr-ans{padding:0 6px 28px;animation:bm-rise .5s var(--ease) both}
.gr-faq .gr-ans p{font-size:1rem;color:var(--ink-soft);line-height:1.7;max-width:62ch}
.gr-faq .gr-ans a,.gr-panel a{color:var(--accent-deep);text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}
.gr-panel a{color:var(--accent)}

/* enquiry banner */
.gr-enquire{position:relative;isolation:isolate;background:var(--night);color:#fff;text-align:center;padding-block:clamp(80px,12vw,170px);overflow:hidden}
.gr-enquire-bg{position:absolute;inset:0;z-index:-1;width:100%;height:100%;object-fit:cover}
.gr-enquire-inner{max-width:680px;margin-inline:auto}
.gr-enquire h2{font-size:clamp(2rem,4.6vw,3.4rem);font-weight:300}
.gr-enquire p{font-size:1.08rem;max-width:560px;margin:20px auto 40px;line-height:1.6}
@media (min-width:640px){.gr-enquire-inner{max-width:900px}.gr-enquire h2{white-space:nowrap}}

/* official guidance + disclaimer */
.gr-legal{background:#fff;padding-block:clamp(56px,7vw,96px)}
.gr-legal-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.gr-panel{background:var(--mist);border-radius:var(--r);padding:clamp(24px,3vw,40px)}
.gr-panel h3{font-size:.74rem;font-weight:500;letter-spacing:.22em;text-transform:uppercase;color:var(--accent);margin-bottom:14px}
.gr-panel p{font-size:.95rem;color:var(--ink-soft);line-height:1.7}

/* teaser on the Residences page */
.gr-teaser{background:#fff;padding-block:clamp(44px,5.5vw,72px) 0}
.gr-teaser-card{display:grid;grid-template-columns:1fr 1.1fr;border-radius:var(--r);overflow:hidden;color:#fff;background:#0d1318}
.gr-teaser-card figure{overflow:hidden;min-height:360px}
.gr-teaser-card figure img{width:100%;height:100%;object-fit:cover;object-position:center 60%;transition:transform 1s var(--ease)}
.gr-teaser-card:hover figure img{transform:scale(1.05)}
.gr-teaser-body{padding:clamp(30px,4.6vw,64px);display:flex;flex-direction:column;align-items:flex-start}
.gr-teaser-body .gr-eyebrow{margin-bottom:16px}
.gr-teaser-body h2{font-size:clamp(1.7rem,3.2vw,2.6rem);font-weight:300;margin-bottom:18px}
.gr-teaser-body p{font-size:1.02rem;font-weight:300;line-height:1.7;color:rgba(255,255,255,.78);max-width:52ch;margin-bottom:26px}
.gr-fig-light small{color:rgba(255,255,255,.62)}
.gr-fig-light strong{font-size:clamp(2rem,3.4vw,2.8rem)}
.gr-fig-light strong i{color:var(--accent)}
.gr-teaser .gr-fig{margin-bottom:30px}

/* Arabic: letter-spacing 0 and no capitals (as base.css does for the rest of the site); the figure reads number first */
html[lang=ar] .gr-eyebrow,html[lang=ar] .gr-panel h3{letter-spacing:.05em;text-transform:none}
html[lang=ar] .gr-h1,html[lang=ar] .gr-faq summary b,html[lang=ar] .gr-fig strong,html[lang=ar] .gr-fig strong i{letter-spacing:0}
html[lang=ar] .gr-h1{line-height:1.3}
html[lang=ar] .gr-hero-sub{max-width:820px}
html[lang=ar] .gr-fig strong i{order:2;font-size:.5em}

@media (max-width:900px){
  .gr-intro-grid,.gr-elig-grid,.gr-faq-grid,.gr-teaser-card{grid-template-columns:1fr}
  .gr-faq-head{position:static}
  .gr-ben-grid{grid-template-columns:1fr 1fr}
  .gr-links-grid{grid-template-columns:1fr}
  .gr-card{height:280px}
  .gr-collage{max-width:560px}
  .gr-teaser-card figure{min-height:0;aspect-ratio:16/9}
}
@media (max-width:800px){.gr-legal-grid{grid-template-columns:1fr}}
@media (max-width:560px){
  .gr-ben-grid{grid-template-columns:1fr}
  .gr-hero .hero-inner{padding-top:120px}
  .gr-card span{font-size:1.5rem}
}
@media (prefers-reduced-motion:reduce){.gr-faq .gr-ans{animation:none}}
