:root {
  --navy: #0f1b2d;
  --navy-2: #172840;
  --gold: #b8945a;
  --gold-dark: #9a7a45;
  --cream: #f7f3ec;
  --ink: #1d232c;
  --muted: #6b7280;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 14px 40px rgba(15, 27, 45, 0.12);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--white); line-height: 1.65; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--serif); line-height: 1.15; margin: 0 0 .6em; font-weight: 600; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.6rem; }
h4 { font-size: 1.25rem; margin-bottom: .2em; }
p { margin: 0 0 1em; }

.container { width: min(1160px, 100% - 32px); margin-inline: auto; }
.eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: .78rem; font-weight: 600; color: var(--gold); margin-bottom: .8em; }
.muted { color: var(--muted); }

/* Buttons */
.btn { display: inline-block; padding: .85em 1.6em; border-radius: 999px; font-weight: 600; font-size: .95rem; border: 1.5px solid transparent; cursor: pointer; transition: .2s ease; font-family: var(--sans); }
.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold:hover { background: var(--gold-dark); }
.btn-outline { border-color: rgba(255,255,255,.7); color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,.12); }
.btn-small { padding: .6em 1.2em; font-size: .88rem; background: var(--navy); color: var(--white); }
.btn-small:hover { background: var(--gold); }
.text-link { color: var(--gold-dark); font-weight: 600; }

/* Header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .25s, box-shadow .25s; }
.site-header.scrolled { background: rgba(15, 27, 45, .96); box-shadow: 0 4px 20px rgba(0,0,0,.15); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: .6rem; color: var(--white); font-family: var(--serif); font-size: 1.45rem; font-weight: 600; }
.brand img { height: 44px; width: auto; }
.menu { display: flex; align-items: center; gap: 1.8rem; color: var(--white); font-weight: 500; font-size: .95rem; }
.menu a:not(.btn):hover { color: var(--gold); }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--white); margin: 5px 0; }

/* Hero */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; color: var(--white); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.05); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, rgba(15,27,45,.92) 0%, rgba(15,27,45,.7) 55%, rgba(15,27,45,.35) 100%); }
.hero-inner { position: relative; z-index: 1; padding: 120px 0 80px; max-width: 760px; margin-left: max(16px, calc((100% - 1160px) / 2)); }
.hero-logo { width: 110px; margin-bottom: 1.2rem; }
.lead { font-size: 1.15rem; max-width: 560px; color: rgba(255,255,255,.88); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.8rem; }

/* Sections */
.section { padding: 110px 0; }
.section-tint { background: var(--cream); }
.section-dark { background: var(--navy); color: var(--white); }
.section-dark .muted { color: rgba(255,255,255,.65); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 3.5rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4/3.4; object-fit: cover; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; }
.card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .25s; }
.card:hover { transform: translateY(-6px); }
.card img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.card-body { padding: 1.6rem; display: flex; flex-direction: column; flex: 1; }
.card-body p { color: var(--muted); flex: 1; }
.card-body .btn { align-self: flex-start; }

/* Features */
.features { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 1.3rem; }
.features li { display: flex; gap: 1rem; }
.features p { color: var(--muted); margin: 0; }
.dot { flex: none; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); margin-top: .55em; box-shadow: 0 0 0 5px rgba(184,148,90,.18); }

/* Contact form */
.contact-form { background: var(--white); color: var(--ink); padding: 2.2rem; border-radius: var(--radius); box-shadow: var(--shadow); display: grid; gap: 1rem; }
.contact-form h3 { margin-bottom: .2em; }
.contact-form label { display: grid; gap: .35rem; font-size: .88rem; font-weight: 600; }
.contact-form input, .contact-form textarea { font: inherit; font-weight: 400; padding: .8em 1em; border: 1px solid #d6d9de; border-radius: 10px; background: #fbfbfc; }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--gold); border-color: transparent; }
.contact-form .btn { justify-self: start; }
.form-status { font-size: .9rem; margin: 0; color: var(--gold-dark); }

/* Footer */
.site-footer { background: #0a1320; color: var(--white); padding: 70px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; }
.footer-grid h4 { color: var(--gold); }
.footer-grid a:not(.brand) { display: block; color: rgba(255,255,255,.75); margin-bottom: .45rem; }
.footer-grid a:not(.brand):hover { color: var(--gold); }
.site-footer .brand { margin-bottom: 1rem; }
.site-footer .muted { color: rgba(255,255,255,.6); }
.copyright { border-top: 1px solid rgba(255,255,255,.1); margin-top: 3rem; padding-top: 1.5rem; font-size: .85rem; color: rgba(255,255,255,.5); }

/* Responsive */
@media (max-width: 900px) {
  .split, .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .split.reverse .split-media { order: 0; }
  .cards { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .section { padding: 80px 0; }
  .menu-toggle { display: block; }
  .menu { position: fixed; inset: 76px 0 auto; background: var(--navy); flex-direction: column; padding: 1.5rem; gap: 1.2rem; transform: translateY(-150%); visibility: hidden; transition: transform .3s; }
  .menu.open { transform: translateY(0); visibility: visible; }
  .site-header.menu-open { background: var(--navy); }
}

@media (max-width: 420px) {
  .brand span { font-size: 1.15rem; }
  .site-header .brand img { height: 36px; }
}
.split-media img, .card img { background: var(--cream); }

/* Header: transparent bar, cream badge behind the logo only */
html { scroll-padding-top: 120px; }
.site-header .nav { height: 116px; }
.site-header .header-logo { background: #faf9f0; padding: 8px 18px 14px; border-radius: 0 0 16px 16px; align-self: flex-start; box-shadow: 0 6px 20px rgba(15, 27, 45, .18); }
.site-header .header-logo img { height: 92px; width: auto; }
.site-header.scrolled .nav { height: 96px; }
.site-header.scrolled .header-logo img { height: 76px; }
.site-header .header-logo img { transition: height .25s; }
.hero-inner { padding-top: 170px; }

@media (max-width: 900px) {
  html { scroll-padding-top: 96px; }
  .site-header .nav, .site-header.scrolled .nav { height: 88px; }
  .site-header .header-logo { padding: 6px 12px 10px; border-radius: 0 0 12px 12px; }
  .site-header .header-logo img, .site-header.scrolled .header-logo img { height: 70px; }
  .site-header .menu { inset: 88px 0 auto; }
  .hero-inner { padding-top: 140px; }
}

/* Footer logo on a cream card */
.footer-grid a.footer-logo { display: inline-block; background: #faf9f0; padding: 14px 20px; border-radius: 14px; margin-bottom: 1.2rem; }
.footer-logo img { width: 260px; height: auto; }

/* Hero background video */
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (prefers-reduced-motion: reduce) { .hero-video { display: none; } }

/* Lighter overlay so the skyline shows through */
.hero-bg { transform: none; }
.hero::after { background: linear-gradient(110deg, rgba(15,27,45,.88) 0%, rgba(15,27,45,.55) 50%, rgba(15,27,45,.2) 100%); }

/* Brighter, more vivid hero video */
.hero-video, .hero-bg { filter: brightness(1.25) saturate(1.35) contrast(1.08); }
.hero::after { background: linear-gradient(100deg, rgba(10,18,32,.62) 0%, rgba(10,18,32,.28) 42%, rgba(10,18,32,0) 70%); }
.hero h1, .hero .lead, .hero .eyebrow { text-shadow: 0 2px 18px rgba(0,0,0,.55); }
@media (max-width: 900px) {
  .hero::after { background: linear-gradient(180deg, rgba(10,18,32,.2) 0%, rgba(10,18,32,.55) 45%, rgba(10,18,32,.35) 100%); }
}

/* Keep hero text readable over the busy left side of the video */
@media (min-width: 901px) {
  .hero::after { background: linear-gradient(100deg, rgba(10,18,32,.74) 0%, rgba(10,18,32,.45) 40%, rgba(10,18,32,0) 65%); }
}
.hero .eyebrow { color: #f0d49c; }

/* Static hero image: gentle lift only, the photo is already well exposed */
.hero-bg { filter: brightness(1.12) saturate(1.15); background-position: center 40%; }
@media (max-width: 900px) { .hero-bg { background-position: 36% 40%; } }

/* Bright hero: brightness is baked into the photo, overlay kept light and only behind the text */
.hero-bg { filter: none; background-position: center 45%; }
.hero::after { background: linear-gradient(95deg, rgba(8,14,26,.55) 0%, rgba(8,14,26,.25) 38%, rgba(8,14,26,0) 60%); }
.hero h1, .hero .lead, .hero .eyebrow { text-shadow: 0 2px 14px rgba(0,0,0,.7), 0 0 2px rgba(0,0,0,.4); }
@media (max-width: 900px) {
  .hero-bg { background-position: 50% 45%; }
  .hero::after { background: linear-gradient(180deg, rgba(8,14,26,.1) 0%, rgba(8,14,26,.45) 45%, rgba(8,14,26,.2) 100%); }
}

/* Full logo (with tagline) in the header */
.site-header .header-logo img { height: 150px; }
.site-header.scrolled .header-logo img { height: 110px; }
.site-header .header-logo { padding: 10px 22px 14px; }
.hero-inner { padding-top: 210px; }
html { scroll-padding-top: 140px; }
@media (max-width: 900px) {
  .site-header .header-logo img, .site-header.scrolled .header-logo img { height: 104px; }
  .site-header .header-logo { padding: 8px 14px 10px; }
  .hero-inner { padding-top: 170px; }
  html { scroll-padding-top: 120px; }
}

/* Sunset villa hero: keep the couple (right) in view, shade only behind the text */
.hero-bg { filter: none; background-position: 60% 55%; }
.hero::after { background: linear-gradient(95deg, rgba(20,14,10,.62) 0%, rgba(20,14,10,.35) 40%, rgba(20,14,10,0) 62%); }
@media (max-width: 900px) {
  .hero-bg { background-position: 80% 55%; }
  .hero::after { background: linear-gradient(180deg, rgba(20,14,10,.15) 0%, rgba(20,14,10,.55) 45%, rgba(20,14,10,.3) 100%); }
}

/* Longer hero copy */
.hero .lead { font-size: 1.05rem; max-width: 620px; color: rgba(255,255,255,.94); }
.hero h1 { font-size: clamp(2.4rem, 5.2vw, 4.2rem); }
.hero-inner { padding-bottom: 70px; }
.hero::after { background: linear-gradient(95deg, rgba(20,14,10,.7) 0%, rgba(20,14,10,.45) 42%, rgba(20,14,10,0) 66%); }
@media (max-width: 900px) {
  .hero .lead { font-size: .98rem; }
  .hero::after { background: linear-gradient(180deg, rgba(20,14,10,.2) 0%, rgba(20,14,10,.6) 40%, rgba(20,14,10,.5) 100%); }
}

/* Family terrace hero: family on the right, text over water/sky on the left */
.hero-bg { background-position: 50% 60%; }
@media (max-width: 900px) { .hero-bg { background-position: 68% 60%; } }
@media (min-width: 901px) { .hero .lead { max-width: 540px; } .hero-inner { max-width: 620px; } }

/* Logo pinned to the top-left corner of the page */
.site-header .nav { width: 100%; max-width: none; padding-right: max(16px, calc((100% - 1160px) / 2)); }
.site-header .header-logo { border-radius: 0 0 18px 0; margin-left: 0; }
@media (max-width: 900px) { .site-header .header-logo { border-radius: 0 0 14px 0; } }

/* ===== Placeholders: yellow highlight so they're easy to spot (remove when filled) ===== */
.ph { background: #fff1a8; color: #3a2f00; padding: 0 .25em; border-radius: 3px; text-shadow: none; }
.img-ph, .avatar-ph, .map-ph { display: grid; place-items: center; background: repeating-linear-gradient(45deg, #ece6da, #ece6da 12px, #e4dccd 12px, #e4dccd 24px); color: #8a7a5c; font-weight: 600; font-size: .9rem; letter-spacing: .05em; text-transform: uppercase; }
.small { font-size: .88rem; }
.center { text-align: center; }

/* Menu with more links */
.menu { gap: 1.4rem; }

/* Projects */
.project .img-ph { aspect-ratio: 4/3; }
.project-dev { text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; color: var(--gold-dark); font-weight: 600; margin-bottom: .4rem; }
.project h3 { margin-bottom: .2rem; }
.project-loc { color: var(--muted); margin-bottom: 1rem; }
.project .card-body p.project-loc, .project .card-body p.project-dev { flex: none; }
.project-facts { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem 1rem; margin: 0 0 1rem; }
.project-facts dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.project-facts dd { margin: 0; font-weight: 600; font-size: .95rem; }
.project .card-body p.permit { flex: none; font-size: .78rem; color: var(--muted); margin-bottom: 1rem; }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.member { text-align: center; }
.member .avatar-ph { width: 170px; height: 170px; border-radius: 50%; margin: 0 auto 1.2rem; box-shadow: var(--shadow); }
.member h3 { margin-bottom: .1rem; }
.member .role { color: var(--gold-dark); font-weight: 600; margin-bottom: .3rem; }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; margin-bottom: 2rem; }
.quote { margin: 0; background: var(--white); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow); position: relative; }
.quote::before { content: "“"; font-family: var(--serif); font-size: 4rem; line-height: 1; color: var(--gold); position: absolute; top: .6rem; left: 1.2rem; opacity: .5; }
.quote p { margin-top: 1.4rem; font-style: italic; }
.quote cite { font-style: normal; font-weight: 600; font-size: .9rem; }

/* Contact details */
.contact-list { list-style: none; padding: 0; margin: 1.6rem 0; display: grid; gap: .8rem; }
.contact-list li { display: flex; gap: .8rem; align-items: baseline; }
.contact-list a:hover { color: var(--gold); }
.ci { color: var(--gold); width: 1.2em; flex: none; text-align: center; }
.map-ph { height: 220px; border-radius: var(--radius); margin-top: 1rem; }
.contact-form select { font: inherit; font-weight: 400; padding: .8em 1em; border: 1px solid #d6d9de; border-radius: 10px; background: #fbfbfc; }
.contact-form .consent { margin: 0; color: var(--muted); }
.contact-form .consent a { color: var(--gold-dark); text-decoration: underline; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* Floating WhatsApp */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.25); transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); }

/* Footer */
.footer-grid-4 { grid-template-columns: 1.6fr 1fr 1.1fr 1.2fr; gap: 2.5rem; }
.social { display: flex; gap: .7rem; margin-top: 1rem; }
.footer-grid .social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); margin: 0; color: rgba(255,255,255,.8); }
.footer-grid .social a:hover { border-color: var(--gold); color: var(--gold); }
.licence { line-height: 1.8; }
.copyright { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem; }
.legal-links a { color: rgba(255,255,255,.6); }
.legal-links a:hover { color: var(--gold); }

/* Sub-pages (privacy, terms, 404, Arabic) */
body.page .site-header { background: var(--navy); }
.page-main { padding: 200px 0 90px; min-height: 70vh; }
.page-main .prose { max-width: 780px; }
.prose h1 { font-size: clamp(2.2rem, 4vw, 3rem); }
.prose h2 { font-size: 1.6rem; margin-top: 2rem; }
.draft-note { background: #fff1a8; color: #3a2f00; padding: 1rem 1.2rem; border-radius: 10px; margin-bottom: 2rem; font-size: .92rem; }

@media (max-width: 1100px) { .menu { gap: 1rem; font-size: .9rem; } }
@media (max-width: 900px) {
  .team-grid, .quotes { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .footer-grid-4 { grid-template-columns: 1fr; }
  .wa-float { right: 14px; bottom: 14px; width: 52px; height: 52px; }
  .page-main { padding-top: 150px; }
}


/* Family-at-sunset hero: family sits centre, so push the photo right on desktop to keep them clear of the text */
.hero-bg { background-position: 0% 55%; }
@media (max-width: 900px) { .hero-bg { background-position: 52% 55%; } }

/* Policy pages */
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .45rem; }
.prose ul.plain { list-style: none; padding-left: 0; }
.prose p strong { color: var(--navy); }

/* Privacy Policy & Terms of Use: cream page background, matching the home page */
body.legal { background: var(--cream); }

/* Family by the infinity pool hero */
.hero-bg { background-position: 0% 55%; }
@media (max-width: 900px) { .hero-bg { background-position: 57% 55%; } }

/* Single short hero line */
.hero .lead-short { font-size: 1.3rem; max-width: 560px; line-height: 1.55; }
@media (max-width: 900px) { .hero .lead-short { font-size: 1.12rem; } }

/* ===== Cookie consent ===== */
.cc-banner { position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 80; max-width: 1160px; margin: 0 auto; background: var(--navy); color: var(--white); border: 1px solid rgba(184,148,90,.45); border-radius: 16px; box-shadow: 0 18px 50px rgba(0,0,0,.35); padding: 1.3rem 1.5rem; display: flex; gap: 1.5rem; align-items: center; transform: translateY(140%); opacity: 0; transition: transform .35s ease, opacity .35s ease; }
.cc-banner.cc-show { transform: none; opacity: 1; }
.cc-banner p { margin: 0; font-size: .9rem; color: rgba(255,255,255,.82); line-height: 1.55; }
.cc-banner .cc-title { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; color: var(--white); margin-bottom: .25rem; }
.cc-banner a, .cc-dialog a { color: var(--gold); text-decoration: underline; }
.cc-actions { display: flex; gap: .6rem; flex-wrap: wrap; flex: none; }
.cc-actions .btn { padding: .7em 1.2em; font-size: .88rem; }
.cc-btn-outline { border-color: rgba(255,255,255,.55); color: var(--white); background: transparent; }
.cc-btn-outline:hover { background: rgba(255,255,255,.1); }
.cc-btn-ghost { background: transparent; color: rgba(255,255,255,.85); text-decoration: underline; padding-inline: .6em !important; }

.cc-modal { position: fixed; inset: 0; z-index: 90; background: rgba(8,14,26,.6); display: none; align-items: center; justify-content: center; padding: 16px; }
.cc-modal.cc-show { display: flex; }
.cc-dialog { position: relative; background: var(--cream); color: var(--ink); border-radius: 18px; max-width: 560px; width: 100%; max-height: calc(100vh - 32px); overflow-y: auto; padding: 2rem; box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.cc-dialog h3 { font-size: 1.7rem; margin-bottom: .4rem; }
.cc-intro { color: var(--muted); font-size: .92rem; }
.cc-close { position: absolute; top: 12px; right: 14px; width: 36px; height: 36px; border: 0; background: transparent; font-size: 1.7rem; line-height: 1; cursor: pointer; color: var(--muted); }
.cc-row { display: flex; justify-content: space-between; gap: 1.2rem; align-items: flex-start; padding: 1rem 0; border-top: 1px solid #e4dccd; }
.cc-row p { margin: 0; }
.cc-row-title { font-weight: 600; }
.cc-row-desc { font-size: .86rem; color: var(--muted); margin-top: .2rem !important; }
.cc-always { font-size: .72rem; font-weight: 600; color: var(--gold-dark); text-transform: uppercase; letter-spacing: .06em; margin-left: .4rem; }
.cc-switch { position: relative; flex: none; width: 46px; height: 26px; margin-top: 2px; }
.cc-switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 1; }
.cc-switch input:disabled { cursor: not-allowed; }
.cc-slider { position: absolute; inset: 0; background: #cfc6b5; border-radius: 999px; transition: background .2s; }
.cc-slider::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.cc-switch input:checked + .cc-slider { background: var(--gold); }
.cc-switch input:checked + .cc-slider::after { transform: translateX(20px); }
.cc-switch input:disabled + .cc-slider { opacity: .6; }
.cc-switch input:focus-visible + .cc-slider { outline: 2px solid var(--navy); outline-offset: 2px; }
.cc-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.cc-actions-modal { margin-top: 1.2rem; justify-content: flex-end; }
.cc-actions-modal .cc-btn-outline { color: var(--navy); border-color: var(--navy); }
.cc-actions-modal .cc-btn-outline:hover { background: rgba(15,27,45,.06); }
.legal-links button { background: none; border: 0; padding: 0; font: inherit; color: rgba(255,255,255,.6); cursor: pointer; }
.legal-links button:hover { color: var(--gold); }
body.cc-open .wa-float { opacity: 0; pointer-events: none; }
.wa-float { transition: transform .2s, opacity .3s; }

@media (max-width: 900px) {
  .cc-banner { flex-direction: column; align-items: stretch; left: 10px; right: 10px; bottom: 10px; padding: 1.1rem; gap: 1rem; }
  .cc-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .cc-actions .btn-gold { grid-column: 2; grid-row: 1; }
  .cc-actions .cc-btn-outline { grid-column: 1; grid-row: 1; }
  .cc-btn-ghost { grid-column: 1 / -1; grid-row: 2; }
  .cc-actions .btn { padding-inline: .6em; }
  .cc-actions-modal { grid-template-columns: 1fr; }
  .cc-actions-modal .btn-gold, .cc-actions-modal .cc-btn-outline { grid-column: 1; grid-row: auto; }
  .cc-dialog { padding: 1.5rem; }
}
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--gold-dark); text-decoration: underline; cursor: pointer; }

/* Day-to-sunset hero video: plays once and holds on the sunset */
.hero-video { filter: none; object-position: 55% 55%; }
.hero-bg { filter: none; background-position: 55% 55%; }
@media (max-width: 900px) {
  .hero-video { object-position: 76% 55%; }
  .hero-bg { background-position: 76% 55%; }
}
/* lighter shade so the setting sun glows through; text keeps its shadow */
.hero::after { background: linear-gradient(95deg, rgba(20,14,10,.48) 0%, rgba(20,14,10,.28) 42%, rgba(20,14,10,0) 66%); }
.hero h1, .hero .lead, .hero .eyebrow { text-shadow: 0 2px 16px rgba(0,0,0,.75), 0 0 3px rgba(0,0,0,.45); }
@media (max-width: 900px) {
  .hero-video { object-position: 16% 55%; }
  .hero-bg { background-position: 16% 55%; }
  .hero::after { background: linear-gradient(180deg, rgba(20,14,10,.1) 0%, rgba(20,14,10,.45) 42%, rgba(20,14,10,.35) 100%); }
}

/* Transparent header logo that blends with the backgrounds */
.site-header .header-logo, .site-header.scrolled .header-logo { background: transparent; box-shadow: none; border-radius: 0; padding: 10px 0 0 24px; }
.site-header .header-logo img { filter: drop-shadow(0 2px 10px rgba(0,0,0,.55)) drop-shadow(0 0 2px rgba(0,0,0,.35)); }
@media (max-width: 900px) { .site-header .header-logo, .site-header.scrolled .header-logo { padding: 8px 0 0 12px; } }
/* Full logo over the hero; compact logo inside the bar once scrolled and on sub-pages */
.site-header .header-logo .logo-compact { display: none; }
.site-header.scrolled .header-logo .logo-full { display: none; }
.site-header.scrolled .header-logo .logo-compact { display: block; height: 74px; }
.site-header.scrolled .header-logo { padding-top: 0; align-self: center; }
@media (max-width: 900px) { .site-header.scrolled .header-logo .logo-compact { height: 64px; } }
.form-status a { color: var(--gold-dark); text-decoration: underline; }

/* Required / optional field markers */
.contact-form .req { color: #b4532a; font-weight: 700; }
.contact-form .opt { color: var(--muted); font-weight: 400; font-size: .82rem; }
.contact-form .req-note { margin: -.2rem 0 0; color: var(--muted); }
.contact-form input:user-invalid, .contact-form textarea:user-invalid { border-color: #b4532a; background: #fff7f3; }

/* Google Map */
.map-embed { margin-top: 1rem; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; max-height: 320px; width: 100%; background: #1a2638; box-shadow: var(--shadow); }
.map-embed iframe { display: block; width: 100%; height: 100%; border: 0; }
@media (max-width: 900px) { .map-embed { aspect-ratio: 1 / 1; max-height: 340px; } }
