:root {
  color-scheme: light;
  --ink: #112d32;
  --muted: #465e62;
  --navy: #0a252c;
  --deep: #071d23;
  --teal: #11666e;
  --accent: #82e1d9;
  --paper: #fff;
  --mist: #f1f7f6;
  --line: #d2e1e1;
  --space: clamp(3.25rem, 6vw, 6rem);
  --gutter: clamp(1rem, 4.5vw, 4.25rem);
  --radius: .85rem;
  font-family: Inter, 'Segoe UI', Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-size: 100%;
  line-height: 1.6;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
h1, h2, h3, p { margin: 0 0 .75em; }
h1, h2, h3 { line-height: 1.14; text-wrap: balance; }
h1 { font-size: clamp(2.25rem, 5.65vw, 5.1rem); letter-spacing: -.045em; }
h2 { font-size: clamp(1.65rem, 3vw, 2.6rem); letter-spacing: -.03em; }
h3 { font-size: clamp(1.08rem, 1.5vw, 1.28rem); }
a { color: inherit; text-decoration: none; }
img { display: block; max-inline-size: 100%; }
button, select, input, textarea { font: inherit; }
button, select { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #20a8af; outline-offset: 4px; }

.site-header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(.9rem, 2vw, 2rem);
  min-block-size: 5rem;
  padding: .85rem var(--gutter);
  color: white;
  background: var(--deep);
  border-block-end: 1px solid #ffffff20;
}
.brand { display: inline-flex; align-items: center; gap: .65rem; width: fit-content; flex: none; color: var(--accent); }
.brand-mark { width: 2.75rem; height: 2.75rem; flex: none; }
.brand-wordmark { display: grid; gap: .16rem; color: white; font-weight: 800; font-size: 1.35rem; line-height: 1; letter-spacing: .08em; }
.brand-wordmark span { color: var(--accent); font-size: .625rem; letter-spacing: .12em; }
.site-header nav, .header-actions { display: flex; align-items: center; gap: clamp(.75rem, 2vw, 1.7rem); }
.site-header nav a { font-size: .9rem; font-weight: 650; text-align: center; }
.site-header nav a:hover, .site-header nav a[aria-current='page'] { color: var(--accent); }
.header-actions { gap: .6rem; flex: none; }
.language { display: flex; align-items: center; color: #e7f6f5; position: relative; }
.language > svg { width: 1rem; height: 1rem; stroke: currentColor; stroke-width: 1.5; position: absolute; inset-inline-start: .55rem; pointer-events: none; }
.language::after { position: absolute; inset-inline-end: .65rem; width: .4rem; height: .4rem; content: ''; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-2px) rotate(45deg); pointer-events: none; }
.language select { appearance: none; min-height: 2.7rem; color: inherit; background: var(--navy); border: 1px solid #ffffff45; border-radius: .45rem; padding: .3rem 1.3rem .3rem 1.8rem; font-size: .875rem; }
[dir='rtl'] .language select { padding-inline: 1.8rem 1.3rem; }
.agent-link { padding: .65rem .85rem; background: var(--accent); color: var(--deep); border-radius: .45rem; text-align: center; font-size: .875rem; font-weight: 750; line-height: 1.25; }
.menu { display: none; background: transparent; color: white; border: 1px solid #ffffff45; border-radius: .45rem; width: 2.75rem; height: 2.75rem; }
.menu svg { width: 1.25rem; height: 1.25rem; }

.hero { position: relative; isolation: isolate; min-height: clamp(30rem, 53vw, 43rem); display: grid; align-items: center; background: var(--deep) var(--hero-desktop) center 46% / cover; color: #fff; }
.hero::before { position: absolute; z-index: -1; inset: 0; content: ''; background: linear-gradient(90deg, #06191bf2 0%, #06191bb9 33%, #06191b3b 60%, #06191b04 82%); }
[dir='rtl'] .hero::before { transform: scaleX(-1); }
.hero-inner { width: min(100%, 90rem); margin-inline: auto; padding: clamp(3rem, 7vw, 7rem) var(--gutter); }
.hero-copy { max-width: 43rem; text-shadow: 0 2px 16px #06191b95; }
.hero-copy .btn { text-shadow: none; }
.about .hero-copy { max-width: 40rem; }
.about .hero h1, .investment .hero h1, .offers .hero h1 { font-size: clamp(2.1rem, 4.4vw, 4.2rem); }
.hero p, .hero h3 { max-width: 44ch; color: #f0f7f7; font-size: clamp(1rem, 1.6vw, 1.18rem); line-height: 1.55; }
.eyebrow, .small-label, .about .hero-copy > p:first-child { margin: 0 0 1rem; font-size: .88rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.hero .eyebrow, .about .hero-copy > p:first-child { color: var(--accent); }
.hero .btn { margin-block-start: .6rem; }
.icons { display: flex; flex-wrap: wrap; gap: .7rem 1rem; margin: 1.5rem 0 .65rem; }
.icon { display: flex; align-items: center; gap: .4rem; font-size: .875rem; }
.icon b { display: flex; color: var(--accent); }
.icon svg { width: 1.35rem; height: 1.35rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 2.8rem; margin: 0 .55rem .5rem 0; padding: .7rem 1.15rem; border: 1px solid transparent; border-radius: .45rem; background: var(--teal); color: #fff; font-size: .9rem; line-height: 1.2; font-weight: 750; text-align: center; }
.btn:hover { background: #0a5159; }
.hero .btn { color: var(--deep); background: var(--accent); }
.hero .btn:hover, .agent-link:hover { background: #b3f2ec; }
.hero .btn.outline { color: #fff; background: #071d23a8; border-color: #d7ecec95; }
.hero .btn.outline:hover { background: var(--navy); }

.section, .portfolio-section { width: min(100%, 86rem); margin-inline: auto; padding: var(--space) var(--gutter); }
.section.center { text-align: center; }
.section-heading { max-width: 47rem; margin-block-end: 1.6rem; }
.section-heading h2 { margin-bottom: .35em; }
.lead, .section > p { color: var(--muted); }
.center .lead { max-width: 66ch; margin: 0 auto 1.8rem; }
.small-label, .gold { color: var(--teal); }
.text-link, .project-link { color: var(--teal); text-decoration: underline; text-underline-offset: .2em; font-weight: 750; }
.grid, .steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.85rem, 2vw, 1.45rem); }
.card { display: flex; flex-direction: column; padding: clamp(1rem, 2.2vw, 1.65rem); text-align: start; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.card h3 { margin-block: .55rem .55rem; }
.card p, .card ul { color: var(--muted); }
.card p:last-child { margin-block-end: 0; }
.card > span svg { width: 1.8rem; height: 1.8rem; }
.card .text-link { margin-block-start: auto; }
.card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.image-card, .offer-grid .card { padding: 0; overflow: hidden; }
.image-card > div, .offer-grid .inside { display: flex; flex-direction: column; flex: 1; padding: clamp(1rem, 2vw, 1.45rem); }
.home-offers h3, .offer-grid h3 { margin-block-start: 0; }
.opportunity-band, .portfolio-section:nth-of-type(even) { background: var(--mist); }
.offer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.offer-grid .inside > p { margin-bottom: .25rem; }
.offer-grid ul { margin-block: .25rem 1.2rem; padding-inline-start: 1.1rem; }
.offer-grid .btn { margin: auto 0 0; align-self: flex-start; }
.offers .section.center > .gold:first-child { font-size: .875rem; }
.stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 1.7rem; background: var(--navy); color: white; text-align: center; padding: 1.6rem var(--gutter); }
.stats > div { flex: 1 1 8rem; max-width: 17rem; font-size: .86rem; }
.stats b { display: block; font-size: clamp(1.08rem, 2vw, 1.6rem); color: var(--accent); }
.offer-trust { background: var(--navy); color: #e7f6f5; }
.offer-trust ul { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: center; gap: .6rem 1rem; max-width: 82rem; margin: 0 auto; padding: .85rem var(--gutter); list-style: none; }
.offer-trust li { font-size: .92rem; line-height: 1.35; font-weight: 650; text-align: center; }
.dark { background: var(--navy); color: white; }
.dark .card { background: #153740; border-color: #ffffff25; }
.dark .lead, .dark .card p { color: #d4e7e7; }
.dark .gold { color: var(--accent); }
.split { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); align-items: center; gap: clamp(1.5rem, 5vw, 4.6rem); }
.split > img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); }
.about + .split { text-align: start; }
.agent-support img { aspect-ratio: 16/10; }
.agent-support .text-link { display: inline-block; margin-block-start: .6rem; }
.comparison-image { width: min(100%, 69rem); height: auto; margin-inline: auto; }
.investment-band { background: var(--mist); }
.investment-panel { padding-block: clamp(2.8rem, 5vw, 4.8rem); }
.investment-panel .section-heading { margin-block-end: 1.35rem; }
.investment-points, .investment-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem 1rem; }
.investment-points article { display: flex; align-items: flex-start; gap: .85rem; padding: 1rem; background: white; border: 1px solid var(--line); border-radius: var(--radius); }
.investment-points span { display: grid; place-items: center; flex: 0 0 2.6rem; height: 2.6rem; background: var(--mist); border-radius: .5rem; color: var(--teal); }
.investment-points svg { width: 1.4rem; height: 1.4rem; }
.investment-points h3, .payment-cards h3 { margin: 0 0 .3rem; }
.investment-points p, .investment-facts dd { margin: 0; color: var(--muted); }
.investment-split { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); align-items: center; gap: clamp(1.4rem, 4vw, 3.2rem); }
.investment-photo { width: 100%; max-height: 29rem; object-fit: cover; aspect-ratio: 5 / 4; border-radius: var(--radius); }
.investment-facts { margin: 0; }
.investment-facts div { border-top: 1px solid var(--line); padding-block: .55rem; }
.investment-facts dt { font-weight: 750; }
.payment-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.7rem, 2vw, 1.3rem); }
.payment-figure { display: block; margin-block-end: .55rem; color: var(--teal); font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.15; font-weight: 800; }
.investment-links { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem 1rem; margin-block-start: 1.2rem; }
.investment-links .btn { margin: 0; }
.portfolio-section { text-align: start; }
.portfolio-section p, .property-copy p { max-width: 75ch; }
.reference-gallery { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: .95rem; margin-top: 1.65rem; }
.reference-gallery img { width: 100%; height: clamp(10rem, 22vw, 19rem); object-fit: cover; border-radius: .45rem; }
.portfolio-item { min-width: 0; margin: 0; overflow: hidden; background: white; border: 1px solid var(--line); border-radius: .55rem; }
.portfolio-item img { border-radius: 0; }
.portfolio-item figcaption { display: grid; gap: .15rem; padding: .65rem .8rem; line-height: 1.35; }
.portfolio-item figcaption span { color: var(--muted); font-size: .875rem; }
.wide-image { width: 100%; height: auto; margin: 1.65rem auto 0; }

.contact { color: white; background: radial-gradient(ellipse at 12% 90%, #1a6469 0%, #10434e 52%, #092630 100%); }
.contact-copy h2 { max-width: 20ch; }
.contact-copy p { max-width: 53ch; color: #effafa; }
.contact-copy .small-label { color: var(--accent); }
.enquiry-form { min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .7rem; padding: clamp(1rem, 3vw, 2rem); color: var(--ink); background: var(--paper); border-radius: var(--radius); box-shadow: 0 14px 44px #04262d40; }
.enquiry-form .full { grid-column: 1/-1; }
.enquiry-form :is(input, textarea) { width: 100%; min-height: 2.95rem; border: 1px solid #abc8ce; border-radius: .42rem; padding: .6rem .75rem; background: #f5f9fa; color: var(--ink); }
.enquiry-form :is(input, textarea)::placeholder { color: #455e66; opacity: 1; }
.enquiry-form textarea { resize: vertical; }
.enquiry-form .btn, .enquiry-form p { margin: 0; }
.enquiry-help, .enquiry-status { font-size: .9rem; }
.enquiry-help a { color: var(--teal); text-decoration: underline; text-underline-offset: .15em; }
.enquiry-status { font-weight: 650; }

.questions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: start; gap: .65rem 1rem; }
.faq-question { border: 1px solid var(--line); border-radius: .55rem; text-align: start; }
.faq-question p { padding: 0 .95rem .95rem; margin: 0; color: var(--muted); }
.faq-question summary { display: flex; align-items: start; justify-content: space-between; gap: .8rem; list-style: none; padding: .8rem .95rem; font-weight: 650; cursor: pointer; }
.faq-question summary::-webkit-details-marker { display: none; }
.faq-question summary::after { content: '+'; color: var(--teal); }
.faq-question[open] summary::after { content: '−'; }
.faq-followup { margin-block-start: 60px; }

.home .hero { min-height: clamp(25rem, 45vw, 36rem); }
.home .hero-inner { padding-block: clamp(2.5rem, 6vw, 5rem); }
.home .hero-copy { max-width: 35rem; }
.home .hero h1 { max-width: 19ch; margin-block-end: .5em; font-size: clamp(1.9rem, 4.6vw, 3.5rem); }
.home .hero p { font-size: clamp(1rem, 1.2vw, 1.1rem); }
.home #app .section { padding-block: clamp(2.25rem, 4.5vw, 4rem); }
.home #app h2 { font-size: clamp(1.45rem, 2.6vw, 2rem); }
.home #app h3 { font-size: clamp(1.03rem, 1.45vw, 1.17rem); }
.home .section-heading { margin-block-end: 1.2rem; }
.home .section p { line-height: 1.5; }
.home .commission-grid .card, .home .home-offers .card > div { padding: clamp(.9rem, 2vw, 1.3rem); }
.home .faq-question summary { padding: .72rem .85rem; font-size: .95rem; }
.home .faq-followup { margin-block-start: 2.25rem; }

footer { color: white; background: var(--deep); padding: 3rem var(--gutter) 1.4rem; border-top: 3px solid #55beb7; }
.footer-columns { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(.9rem,2vw,1.5rem); max-width: 77rem; margin-inline: auto; }
.footer-column { display: grid; grid-template-rows: 3.55rem 1fr auto auto auto; grid-template-rows: subgrid; grid-row: span 5; gap: .85rem; min-width: 0; }
.footer-brand { align-self: center; }
.footer-logo { width: auto; height: 3.55rem; max-width: min(100%,12rem); object-fit: contain; justify-self: center; align-self: center; }
.footer-column > p { color: #d4e5e7; margin: 0 0 .8rem; }
.footer-heading { color: var(--accent); padding-block-end: .65rem; border-block-end: 1px solid #ffffff35; font-size: 1rem; margin: 0; overflow-wrap: anywhere; align-self: end; }
.footer-links, .footer-contact { min-block-size: 2.6rem; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .55rem; font-size: .9rem; font-weight: 650; }
.footer-card { align-self: start; background: #122e36; border: 1px solid #ffffff24; border-radius: var(--radius); padding: .85rem; }
.footer-card p { color: #d4e5e7; font-size: .9rem; }
.footer-card h3 { color: var(--accent); font-size: 1rem; margin-block-end: .7rem; }
.footer-services { display: grid; grid-template-columns: auto minmax(0,1fr); gap: .42rem .7rem; font-size: .86rem; }
.footer-services a { overflow-wrap: anywhere; }
.footer-enquiry { display: inline-block; padding: .3rem .7rem; border: 1px solid var(--accent); border-radius: .4rem; color: var(--accent); font-size: .9rem; }
.footer-subs { width: 100%; height: auto; max-height: 7.3rem; object-fit: contain; background: white; border-radius: .35rem; padding: .3rem; }
.socials { display: flex; gap: .3rem; }
.socials a { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; border: 1px solid #ffffff49; color: white; }
.socials svg { width: 1rem; height: 1rem; }
.socials a:hover { color: var(--accent); border-color: var(--accent); }
footer a:hover { text-decoration: underline; text-underline-offset: .18em; }
.copyright { max-width: 77rem; margin: 1.4rem auto 0; padding-top: .9rem; border-top: 1px solid #ffffff26; text-align: center; font-size: .83rem; color: #c3d5d7; }

@media (max-width: 67rem) {
  .site-header { flex-wrap: wrap; }
  .site-header nav { order: 4; flex: 1 1 100%; justify-content: center; }
  .offer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (min-width: 72rem) {
  .reference-gallery[data-count='5'] { grid-template-columns: repeat(5,minmax(0,1fr)); }
  .reference-gallery[data-count='6'] { grid-template-columns: repeat(6,minmax(0,1fr)); }
}
@media (min-width: 46.01rem) and (max-width: 71.99rem) {
  .reference-gallery[data-count='5'], .reference-gallery[data-count='6'] { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 54rem) {
  .footer-columns { grid-template-columns: 1fr; gap: 2.8rem; }
  .footer-column { grid-template-rows: auto; grid-row: auto; }
  .footer-logo { justify-self: start; }
  .footer-column > p { max-width: 60ch; margin-block-end: 0; }
  .footer-links, .footer-contact { justify-content: flex-start; gap: 1rem; }
}
@media (max-width: 46rem) {
  .site-header { gap: .65rem; }
  .site-header nav { display: none; flex-direction: column; align-items: stretch; padding-block-start: .6rem; }
  .site-header nav.open { display: flex; }
  .site-header nav a { min-height: 2.75rem; display: flex; align-items: center; text-align: start; border-bottom: 1px solid #ffffff25; }
  .menu { order: 3; display: grid; place-items: center; margin-inline-start: auto; }
  .header-actions { margin-inline-start: auto; }
  .hero { min-height: 28rem; background-position: 60% center; }
  .hero::before { background: linear-gradient(90deg,#06191be8,#06191b9e 65%,#06191b63); }
  .investment-split, .payment-cards { grid-template-columns: 1fr; }
  .investment-photo { aspect-ratio: 16/10; max-height: 22rem; }
  .grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .offer-trust ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .split, .questions { grid-template-columns: 1fr; }
  .reference-gallery { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 30rem) {
  .hero { background-image: var(--hero-mobile); }
  .brand-mark { width: 2.2rem; height: 2.2rem; }
  .brand-wordmark { font-size: 1.16rem; }
  .brand-wordmark span { font-size: .56rem; }
  .header-actions { order: 4; justify-content: space-between; margin: 0; width: 100%; }
  .site-header nav { order: 5; }
  .grid, .enquiry-form { grid-template-columns: 1fr; }
  .offer-trust ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .offer-trust li:last-child { grid-column: 1 / -1; }
  .investment-points, .investment-facts { grid-template-columns: 1fr; }
}
