/* ==========================================================================
   Horrell Court — shared stylesheet (built from the Guild House template)
   Brand: charcoal #2F3133 (logo ink) / warm sand #B07F4A (buff brick) / cream #F6F2EC
   Fonts: Bebas Neue (display, echoes the logo wordmark) + Sora (body), self-hosted via fonts.css
   Variable names (--navy, --gold) are kept from the template so shared rules still apply.
   ========================================================================== */

:root {
  --navy: #2F3133;
  --navy-dark: #1F2123;
  --navy-darker: #17181A;
  --gold: #B07F4A;
  --gold-dark: #8E6436;
  --gold-light: #D6AE7E;
  --cream: #F6F2EC;
  --cream-2: #EDE7DC;
  --ink: #1D1F21;
  --grey: #5C6064;
  --white: #ffffff;
  --border: #DDD5C8;
  --radius: 4px;
  --max: 1180px;
  --shadow: 0 12px 34px rgba(20, 21, 23, 0.16);
  --display: 'Bebas Neue', 'Arial Narrow', 'Roboto Condensed', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Sora', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.18s ease; }
ul { margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}

h1, h2, h3, h4 {
  font-weight: 500;
  margin: 0 0 16px;
  line-height: 1.15;
  letter-spacing: 0.2px;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  padding-bottom: 14px;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}
h2.no-rule { border-bottom: none; padding-bottom: 0; }
h3 { font-size: 1.15rem; }

p { margin: 0 0 14px; color: var(--ink); }
.lede { color: var(--grey); }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-size: 0.72rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 10px;
  display: block;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.3px;
  transition: all 0.18s ease;
}
.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold:hover { background: var(--navy); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-outline-light { border-color: rgba(255,255,255,0.6); color: var(--white); }
.btn-outline-light:hover { background: var(--white); color: var(--navy); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(20,21,23,0.16); }
.btn:active { transform: translateY(0); box-shadow: none; }

/* ==================== HEADER / NAV ==================== */
.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 40;
  padding: 22px 0;
}
.site-header.solid {
  position: sticky;
  background: var(--navy);
  box-shadow: 0 2px 14px rgba(0,0,0,0.15);
  padding: 14px 0;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; max-width: none; padding: 0 40px; }
.site-header .wrap.no-brand { justify-content: flex-end; }
.home-scroll-top { display: none; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--white); font-weight: 600; letter-spacing: 1px; font-size: 1.05rem; text-transform: uppercase; }
.brand img { height: 64px; width: auto; border-radius: 3px; }

.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a {
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  opacity: 0.92;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
}
.main-nav a:hover { border-bottom-color: var(--gold); opacity: 1; }
.main-nav a.nav-cta {
  border-bottom: none; padding: 10px 24px; margin-left: 6px;
}
.main-nav a.nav-cta:hover { opacity: 1; }
.main-nav a.nav-residents {
  margin-left: auto;
}
.nav-toggle { display: none; position: relative; z-index: 60; background: none; border: none; color: var(--white); font-size: 1.6rem; line-height: 1; }
.nav-backdrop {
  display: none; position: fixed; inset: 0; z-index: 45;
  background: rgba(18,19,21,0.45); opacity: 0; pointer-events: none;
  transition: opacity 0.28s ease;
}
.nav-backdrop.open { display: block; opacity: 1; pointer-events: auto; }

@media (max-width: 780px) {
  .main-nav {
    position: fixed; inset: 0 0 0 auto; width: 78%; max-width: 320px; z-index: 50;
    background: var(--navy-dark); flex-direction: column; align-items: flex-start;
    padding: 90px 32px; gap: 22px; transform: translateX(100%);
    transition: transform 0.28s ease; box-shadow: -10px 0 30px rgba(0,0,0,0.3);
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav a.nav-residents { margin-left: 0; }
  .main-nav a.nav-cta { margin-left: 0; }
  .nav-toggle { display: block; }
  .site-header .wrap.no-brand { justify-content: space-between; }
  .home-scroll-top {
    display: flex; align-items: center; justify-content: center;
    background: none; border: none; padding: 0; margin: 0; cursor: pointer;
    line-height: 0;
  }
  .home-scroll-top img { height: 34px; width: auto; display: block; }
}

/* ==================== HERO ==================== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  color: var(--white);
}
.hero::after {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(18,19,21,0.15) 0%, rgba(18,19,21,0.05) 40%, rgba(18,19,21,0.55) 100%);
}
.hero-inner { position: relative; z-index: 2; width: 100%; padding-bottom: 56px; }

/* Drone hero: a slow, subtle drift/zoom on the aerial photo, like the drone is still hovering */
.hero-drone { overflow: hidden; }
.hero-drone .hero-bg {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover;
  transform-origin: center center;
  animation: droneDrift 26s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes droneDrift {
  0%   { transform: scale(1.08) translate(0%, 0%); }
  50%  { transform: scale(1.15) translate(-1.8%, -1.2%); }
  100% { transform: scale(1.1) translate(1.6%, 1%); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-drone .hero-bg { animation: none; transform: scale(1.02); }
}

/* Full-bleed homepage hero — logo badge, headline, stat bar, dual CTAs */
.hero-full { align-items: center; padding-top: 90px; }
.hero-full::after {
  background: linear-gradient(100deg, rgba(18,19,21,0.72) 0%, rgba(18,19,21,0.45) 42%, rgba(18,19,21,0.18) 75%);
}
.hero-full .hero-inner { padding-bottom: 0; }
.hero-logo-badge {
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 26px;
}
.hero-logo-badge img { height: 140px; width: auto; display: block; }
.hero-content { max-width: 640px; }
.hero-tenure {
  display: inline-flex; flex-direction: column; line-height: 1.15; color: var(--white);
  border-left: 3px solid var(--gold); padding-left: 14px; margin-bottom: 18px;
}
.hero-tenure span:first-child { font-size: 0.8rem; letter-spacing: 1px; text-transform: uppercase; opacity: 0.85; }
.hero-tenure span:last-child { font-size: 1.15rem; font-weight: 700; color: var(--gold-light); text-transform: uppercase; letter-spacing: 0.5px; }
.hero-headline {
  color: var(--white); font-size: 3rem; line-height: 1.08; margin-bottom: 12px;
  text-transform: none; letter-spacing: -0.5px;
}
.hero-subline { color: rgba(255,255,255,0.92); font-size: 1.05rem; margin-bottom: 10px; }
.hero-subline .subline-break { display: none; }
.hero-tag {
  color: var(--gold-light); font-size: 0.85rem; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 30px;
  text-shadow: 0 2px 6px rgba(0,0,0,0.55);
}
.hero-stats {
  display: flex; align-items: stretch; gap: 26px; margin-bottom: 32px;
  padding-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,0.25);
}
.hero-stat {
  display: flex; flex-direction: column; gap: 2px;
  padding-right: 26px; border-right: 1px solid rgba(214,174,126,0.55);
}
.hero-stat:last-child { border-right: none; padding-right: 0; }
.hero-stat strong { color: var(--white); font-size: 1.5rem; font-weight: 700; line-height: 1; }
.hero-stat span { color: rgba(255,255,255,0.75); font-size: 0.78rem; letter-spacing: 0.5px; text-transform: uppercase; }
.availability-tag {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 18px; margin: 0 0 22px; border-radius: 999px;
  font-size: 0.92rem; font-weight: 600; line-height: 1.2;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.35);
  color: var(--white); backdrop-filter: blur(2px);
}
.availability-tag[hidden] { display: none; }
.availability-tag .dot {
  width: 9px; height: 9px; border-radius: 50%; flex: 0 0 auto;
  background: var(--grey);
}
.availability-tag.is-available {
  background: rgba(63, 167, 114, 0.16); border-color: rgba(63, 167, 114, 0.55);
}
.availability-tag.is-available .dot { background: #3FA772; box-shadow: 0 0 0 3px rgba(63,167,114,0.25); }
.availability-tag.is-unavailable {
  background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.3);
}
.availability-tag.is-unavailable .dot { background: rgba(255,255,255,0.55); }
@media (max-width: 480px) {
  .availability-tag { font-size: 0.82rem; padding: 9px 14px; }
}
.hero-ctas { display: flex; gap: 16px; margin-bottom: 30px; flex-wrap: wrap; }
.hero-socials { display: flex; gap: 12px; }
.hero-socials a {
  width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.14);
  display: flex; align-items: center; justify-content: center; color: var(--white);
  transition: background 0.18s ease, color 0.18s ease;
}
.hero-socials a:hover { background: var(--gold); }
.hero-socials svg { display: block; }

@media (max-width: 780px) {
  .hero-full { padding-top: 46px; align-items: flex-start; }
  .hero-logo-badge { margin-bottom: 12px; }
  .hero-logo-badge img { height: 68px; }
  .hero-headline { font-size: 2.1rem; margin-bottom: 8px; }
  .hero-subline { margin-bottom: 6px; }
  .hero-tag { margin-bottom: 16px; }
  .hero-stats { gap: 16px; flex-wrap: wrap; margin-bottom: 18px; padding-bottom: 16px; }
  .hero-stat { padding-right: 16px; }
  .hero-stat:last-child { flex-direction: row; align-items: baseline; gap: 6px; }
  .hero-subline .subline-break { display: inline; }
  .hero-ctas { flex-wrap: nowrap; gap: 10px; margin-bottom: 20px; }
  .hero-ctas .btn { flex: 1 1 0; padding: 12px 8px; font-size: 0.8rem; white-space: normal; }
  .hero-socials { margin-top: 0; }
}
@media (max-width: 480px) {
  .hero-stats { gap: 14px 20px; }
  .hero-stat { min-width: 40%; border-right: none; padding-right: 0; }
}

.hero-card {
  background: rgba(246, 242, 236, 0.97);
  color: var(--ink);
  padding: 34px 40px;
  max-width: 560px;
  box-shadow: var(--shadow);
}
.hero-card .rule { width: 60px; height: 2px; background: var(--navy); margin-bottom: 18px; }
.hero-card h1 { text-transform: uppercase; margin-bottom: 6px; }
.hero-card .addr { color: var(--grey); font-size: 0.98rem; margin-bottom: 18px; }
.hero-card .socials { display: flex; gap: 10px; }
.hero-card .socials a {
  width: 36px; height: 36px; border-radius: 50%; background: #E2DED4;
  display: flex; align-items: center; justify-content: center; color: var(--navy);
  transition: background 0.18s ease, color 0.18s ease;
}
.hero-card .socials a:hover { background: var(--gold); color: var(--white); }
.hero-card .socials svg { display: block; }

/* smaller hero used on inner pages */
.hero.hero-sm { min-height: 62vh; align-items: center; justify-content: center; text-align: center; }
.hero.hero-sm .hero-card { max-width: 640px; margin: 0 auto; text-align: center; }
.hero.hero-sm .hero-card .rule { margin-left: auto; margin-right: auto; }
.hero.hero-sm .hero-card .socials { justify-content: center; }

/* ==================== INTRO / TWO COL ==================== */
.section { padding: 88px 0; }
.section.tight { padding: 56px 0; }
.two-col {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }
.two-col img, .two-col .frame { border-radius: var(--radius); box-shadow: var(--shadow); }
@media (max-width: 860px) {
  .two-col { grid-template-columns: 1fr; gap: 32px; }
  .two-col.reverse { direction: ltr; }
}
@media (max-width: 780px) {
  /* The full photo gallery further down the page already covers this
     room, so on mobile we skip straight to the page-break photo. */
  .welcome-photo { display: none; }
}

.feature-list { list-style: none; margin: 22px 0; }
.feature-list li {
  position: relative; padding-left: 30px; margin-bottom: 12px; font-size: 1.02rem;
}
.feature-list li::before {
  content: "";
  position: absolute; left: 0; top: 9px;
  width: 8px; height: 8px; background: var(--gold);
}

/* ==================== DARK PANEL (specs) ==================== */
.panel-dark {
  background: var(--navy);
  color: var(--white);
}
.panel-dark h2 { border-bottom-color: var(--gold-light); }
.panel-dark .lede { color: rgba(255,255,255,0.72); }
.spec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px 40px;
  margin-top: 20px;
}
.spec-block .eyebrow { color: var(--gold-light); }
.spec-block ul { list-style: none; }
.spec-block li {
  font-size: 0.92rem; color: rgba(255,255,255,0.85);
  padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.09);
}
.spec-q {
  width: 100%; text-align: left; background: none; border: none; cursor: default;
  padding: 0; display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
.spec-q .plus { display: none; font-size: 1.3rem; color: var(--gold-light); transition: transform 0.2s ease; flex-shrink: 0; }
.spec-a { max-height: none; overflow: visible; }
.spec-a-inner { padding-top: 14px; }
@media (max-width: 900px) { .spec-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .spec-grid { grid-template-columns: 1fr; } }
@media (max-width: 780px) {
  .spec-block { border-bottom: 1px solid rgba(255,255,255,0.14); padding-bottom: 6px; }
  .spec-q { cursor: pointer; padding: 16px 2px; }
  .spec-q .plus { display: block; }
  .spec-block.open .spec-q .plus { transform: rotate(45deg); }
  .spec-a { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
  .spec-a-inner { padding: 0 2px 18px; }
}

.spec-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 40px; }
.spec-gallery img { border-radius: var(--radius); }
@media (max-width: 780px) {
  /* The full photo gallery further down the page already covers these
     rooms, so on mobile we skip straight to the page-break photo. */
  .spec-gallery { display: none; }
}

/* ==================== FLOORPLANS ==================== */
.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
}
.plan-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 22px;
  text-align: center;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.plan-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.plan-card .icon {
  width: 52px; height: 52px; margin: 0 auto 16px;
  border-radius: 50%; background: var(--cream-2);
  display: flex; align-items: center; justify-content: center; color: var(--gold);
}
.plan-card h3 { margin-bottom: 4px; }
.plan-card span.note { font-size: 0.82rem; color: var(--grey); }
@media (max-width: 780px) { .plan-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .plan-grid { grid-template-columns: 1fr; } }

.plan-disclaimer {
  margin-top: 26px; font-size: 0.85rem; color: var(--grey); font-style: italic;
}

/* ==================== MAP ==================== */
.map-frame {
  border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow);
}
.map-frame iframe { width: 100%; height: 340px; border: 0; display: block; }

/* ==================== PETERBOROUGH ==================== */
.city-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 34px 46px; margin-top: 10px;
}
.city-item h3 { color: var(--navy); margin-bottom: 6px; }
.city-item p { font-size: 0.95rem; color: var(--grey); }
@media (max-width: 780px) { .city-grid { grid-template-columns: 1fr; } }

/* ==================== CONTACT / AGENTS ==================== */
.agent-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 34px;
}
.agent-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 26px; text-align: center;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.agent-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.agent-card h3 { color: var(--navy); }
.agent-card a.tel { display: block; font-weight: 600; color: var(--navy); margin-top: 10px; }
.agent-card a.mail { display: block; font-size: 0.88rem; color: var(--grey); margin-top: 4px; word-break: break-word; }
@media (max-width: 860px) { .agent-grid { grid-template-columns: 1fr; } }
.enquiry-note {
  margin-top: 26px; padding-top: 26px; border-top: 1px solid var(--border);
}
.enquiry-note-label {
  display: block; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.8px;
  text-transform: uppercase; color: var(--grey); margin-bottom: 6px;
}
.enquiry-note a.mail { font-size: 0.95rem; color: var(--navy); font-weight: 600; }

/* ==================== FOOTER ==================== */
.site-footer {
  background: var(--navy-dark); color: rgba(255,255,255,0.75);
  padding: 40px 0; font-size: 0.85rem;
}
.site-footer .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; }
.site-footer a:hover { color: var(--gold-light); }

/* ==================== TENANT PAGE SPECIFIC ==================== */
.gate-screen {
  position: fixed; inset: 0; z-index: 100;
  background: var(--navy);
  display: none; align-items: center; justify-content: center;
  padding: 24px;
}
.gate-screen.open { display: flex; }
.gate-box {
  background: var(--cream);
  max-width: 420px; width: 100%;
  padding: 44px 38px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  position: relative;
}
.gate-box img.logo { height: 46px; margin: 0 auto 22px; }
.gate-box h1 { font-size: 1.5rem; margin-bottom: 6px; }
.gate-box p.sub { color: var(--grey); font-size: 0.92rem; margin-bottom: 26px; }
.gate-box input[type="password"] {
  width: 100%; padding: 13px 16px; font-size: 1rem;
  border: 1px solid var(--border); border-radius: var(--radius);
  margin-bottom: 14px; font-family: inherit; background: var(--white);
}
.gate-box input[type="password"]:focus { outline: 2px solid var(--gold); border-color: var(--gold); }
.gate-box .btn { width: 100%; justify-content: center; }
.gate-error {
  color: #A93E3E; font-size: 0.86rem; margin-top: 12px; min-height: 18px;
}
.gate-hint { margin-top: 20px; font-size: 0.8rem; color: var(--grey); }

#tenant-content { display: none; }
#tenant-content.unlocked { display: block; }
/* The sticky header overlaps whatever scrolls to the very top of the
   viewport, so without this the "Welcome to your new home" heading lands
   half-hidden behind it right after the password unlocks the page. */
#tenant-content { scroll-margin-top: 112px; }
.emergency .phone-nowrap { white-space: nowrap; }

.addr-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin: 26px 0;
}
.addr-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px 26px;
}
.addr-card h3 { color: var(--navy); margin-bottom: 8px; }
@media (max-width: 780px) { .addr-grid { grid-template-columns: 1fr; } }

.download-list { list-style: none; margin: 18px 0; }
.download-list li {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 13px 18px; margin-bottom: 8px;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  font-size: 0.94rem;
}
.download-list a.dl-link {
  color: var(--navy); font-weight: 600; display: inline-flex; align-items: center; gap: 8px;
}
.download-list a.dl-link:hover { color: var(--gold); }

.guide-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 24px;
}
.guide-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
  transition: transform 0.2s ease;
}
.guide-card:hover { transform: translateY(-3px); }
.guide-card video { display: block; width: 100%; aspect-ratio: 9 / 16; height: auto; background: #000; object-fit: contain; }
.guide-card h3 { padding: 14px 16px; font-size: 0.98rem; color: var(--navy); }
@media (max-width: 900px) { .guide-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .guide-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 16px; }
  .guide-card h3 { padding: 8px 10px; font-size: 0.8rem; }
}

.faq-list { margin-top: 20px; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-q {
  width: 100%; text-align: left; background: none; border: none;
  padding: 20px 4px; font-size: 1.02rem; font-weight: 600; color: var(--navy);
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
.faq-q .plus { font-size: 1.3rem; color: var(--gold); transition: transform 0.2s ease; flex-shrink: 0; }
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height 0.25s ease;
  font-size: 0.95rem; color: var(--grey);
}
.faq-a-inner { padding: 0 4px 20px; }
.faq-a p, .faq-a ul { margin-bottom: 10px; }
.faq-a ul { padding-left: 20px; }
.faq-a a { color: var(--navy); text-decoration: underline; }

.notice-band {
  background: var(--cream-2); border-left: 3px solid var(--gold);
  padding: 16px 20px; font-size: 0.92rem; color: var(--grey); margin: 22px 0;
}

/* utility */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.section-head { max-width: 640px; margin: 0 auto 40px; text-align: center; }

/* ==================== PAGE BREAK BANDS ==================== */
.page-break-img { width: 100%; height: 220px; overflow: hidden; }
.page-break-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 780px) { .page-break-img { height: 140px; } }

/* ==================== GALLERY ==================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 30px;
}
.gallery-item {
  display: block; width: 100%; padding: 0; margin: 0; border: none; background: none;
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  aspect-ratio: 4 / 3; cursor: pointer;
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease;
}
.gallery-item:hover img { transform: scale(1.05); }
@media (max-width: 860px) { .gallery-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .gallery-grid { grid-template-columns: 1fr; } }

/* ==================== LIGHTBOX (floorplans + gallery) ==================== */
.lb-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(14, 15, 17, 0.88);
  display: none; align-items: center; justify-content: center;
  padding: 30px 20px;
}
.lb-overlay.open { display: flex; }
.lb-inner {
  position: relative;
  max-width: 960px; width: 100%; max-height: 90vh;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.lb-title { color: var(--white); margin: 0; text-align: center; }
.lb-stage {
  position: relative; width: 100%; max-width: 840px; height: 64vh;
  margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
}
.lb-img {
  max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain;
  border-radius: var(--radius); box-shadow: var(--shadow); background: var(--white);
}
/* Arrows are anchored to the fixed-size stage, not to the image itself, so
   they stay in exactly the same screen position no matter how the current
   image's aspect ratio differs from the last one (important when clicking
   through floorplans of different shapes without moving the mouse). */
.lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  background: rgba(47, 49, 51, 0.65); border: none; color: var(--white);
  width: 46px; height: 46px; border-radius: 50%; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  cursor: pointer; transition: background 0.18s ease;
  box-shadow: 0 2px 10px rgba(0,0,0,0.25);
}
.lb-nav:hover { background: var(--gold); }
.lb-nav.lb-prev { left: 0; }
.lb-nav.lb-next { right: 0; }
.lb-close {
  position: absolute; top: -6px; right: 0; background: none; border: none;
  color: var(--white); font-size: 2rem; line-height: 1; cursor: pointer; padding: 6px 10px;
}
.lb-caption { color: rgba(255,255,255,0.8); font-size: 0.88rem; text-align: center; min-height: 18px; }
.lb-tabs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; max-width: 100%; }
.lb-tab {
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); color: var(--white);
  padding: 8px 16px; border-radius: 20px; font-size: 0.82rem; font-family: inherit; cursor: pointer;
  transition: all 0.18s ease;
}
.lb-tab:hover { background: rgba(255,255,255,0.2); }
.lb-tab.active { background: var(--gold); border-color: var(--gold); }
@media (max-width: 600px) {
  .lb-nav { width: 38px; height: 38px; font-size: 0.95rem; }
  .lb-stage { height: 52vh; }
}

/* ==================== MATTERPORT ==================== */
.matterport-frame {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  max-width: 960px; margin: 0 auto;
}
.matterport-frame iframe { width: 100%; height: 480px; border: 0; display: block; }
@media (max-width: 700px) { .matterport-frame iframe { height: 320px; } }

.tour-tabs { display: flex; gap: 10px; justify-content: center; margin-bottom: 18px; }
.tour-tab {
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); color: var(--white);
  padding: 8px 20px; border-radius: 20px; font-size: 0.85rem; font-family: inherit; cursor: pointer;
  transition: all 0.18s ease;
}
.tour-tab:hover { background: rgba(255,255,255,0.2); }
.tour-tab.active { background: var(--gold); border-color: var(--gold); }

/* ==================== PETERBOROUGH LANDMARK STRIP ==================== */
.landmark-strip {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin: 8px 0 40px;
}
.landmark-strip figure { margin: 0; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); }
.landmark-strip img {
  height: 190px; width: 100%; object-fit: cover; transition: transform 0.35s ease;
}
.landmark-strip figure:hover img { transform: scale(1.06); }
.landmark-strip figcaption {
  text-align: center; margin-top: 10px; font-size: 0.85rem; color: var(--grey);
}
@media (max-width: 780px) { .landmark-strip { grid-template-columns: 1fr; } }

/* ==================== TENANT LANDING PAGE ==================== */
.landing-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 10px;
}
.landing-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 38px 32px; text-align: center; display: flex; flex-direction: column;
}
.landing-card h3 { color: var(--navy); margin-bottom: 10px; }
.landing-card p { color: var(--grey); font-size: 0.94rem; margin-bottom: 22px; flex-grow: 1; }
.landing-card .btn { width: 100%; justify-content: center; }
@media (max-width: 780px) { .landing-grid { grid-template-columns: 1fr; } }

.contact-block {
  background: var(--navy); color: var(--white);
  border-radius: var(--radius); padding: 30px 32px; margin-top: 40px; text-align: center;
}
.contact-block h3 { color: var(--gold-light); margin-bottom: 10px; }
.contact-block p { color: rgba(255,255,255,0.85); margin-bottom: 4px; }

/* ==================== REVIEWS WIDGET (Mirror embed) ==================== */
.reviews-widget-wrap { margin-top: 34px; }

/* ==================== HERO GOOGLE RATING BADGE ==================== */
.hero-review-badge {
  position: absolute; z-index: 3; right: 40px; bottom: 40px;
  display: flex; align-items: center; gap: 10px;
  background: rgba(246, 242, 236, 0.96);
  padding: 10px 18px; border-radius: 999px;
  box-shadow: var(--shadow); text-decoration: none;
}
.hero-review-badge .hero-review-text { display: flex; flex-direction: column; line-height: 1.2; }
.hero-review-badge strong { color: var(--ink); font-size: 1rem; font-weight: 700; }
.hero-review-badge .stars { color: #F4B400; font-size: 0.8rem; letter-spacing: 1px; }
.hero-review-badge .review-count { color: var(--grey); font-size: 0.72rem; }
@media (max-width: 780px) {
  .hero-review-badge { display: none; }
}
.contact-block a { color: var(--white); text-decoration: underline; }
.contact-block .emergency { color: var(--gold-light); font-weight: 600; }

/* ==================== REQUEST ACCESS MODAL ==================== */
.request-modal {
  position: fixed; inset: 0; z-index: 110;
  background: rgba(18, 19, 21, 0.6);
  display: none; align-items: center; justify-content: center; padding: 24px;
}
.request-modal.open { display: flex; }
.request-modal-inner {
  background: var(--cream); max-width: 480px; width: 100%;
  padding: 40px 36px; border-radius: var(--radius); box-shadow: var(--shadow);
  position: relative; max-height: 90vh; overflow-y: auto;
}
.request-modal-close {
  position: absolute; top: 14px; right: 16px; background: none; border: none;
  font-size: 1.7rem; color: var(--grey); line-height: 1; cursor: pointer;
}
.request-modal h3 { color: var(--navy); }
.request-modal form label {
  display: block; font-size: 0.85rem; font-weight: 600; color: var(--navy); margin-bottom: 16px;
}
.request-modal form input, .request-modal form textarea {
  width: 100%; margin-top: 6px; padding: 11px 14px; border: 1px solid var(--border);
  border-radius: var(--radius); font-family: inherit; font-size: 0.95rem; background: var(--white);
  resize: vertical;
}
.request-modal form input:focus, .request-modal form textarea:focus {
  outline: 2px solid var(--gold); border-color: var(--gold);
}

/* ==================== FLOORPLAN CARDS AS TRIGGERS ==================== */
.plan-card { cursor: pointer; }

/* ==================== DISABLED / COMING SOON DOWNLOAD LINKS ==================== */
.download-list a.dl-link.disabled {
  color: var(--grey); font-weight: 500; cursor: default; pointer-events: none;
  display: inline-flex; align-items: center; gap: 6px;
}
.download-list li.pending { opacity: 0.75; }
.dl-badge {
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.5px;
  background: var(--cream-2); color: var(--grey); padding: 3px 9px; border-radius: 12px;
  border: 1px solid var(--border);
}

/* ==================== SCROLL REVEAL ==================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ==================== HEADER SCROLL SHADOW ==================== */
.site-header.solid.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.28); }

/* ==========================================================================
   HORRELL COURT ADDITIONS
   ========================================================================== */

/* Display type: Bebas Neue for headings, to match the condensed logo wordmark */
h1, h2, .hero-headline, .gate-box h1, .lb-title {
  font-family: var(--display); font-weight: 400; letter-spacing: 1px; text-transform: uppercase;
}
h1 { font-size: clamp(2.6rem, 5.4vw, 4rem); }
h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); line-height: 1.02; padding-bottom: 12px; }
.lb-title { font-size: 1.8rem; }

/* Header: logo lockup on the left, nav on the right */
.site-header .wrap { padding: 0 40px; }
.brand img { height: 46px; border-radius: 0; }
.site-header .brand-mark img { height: 40px; }
@media (max-width: 780px) {
  .site-header .wrap { padding: 0 20px; }
  .brand img { height: 34px; }
  .main-nav { z-index: 56; }
}

/* Hero */
.hero-full .hero-bg { object-position: center 60%; }
.hero-full { padding-top: 40px; padding-bottom: 40px; }
.hero-full .hero-content { max-width: 780px; }
.hero-logo-badge { margin-bottom: 20px; }
.hero-logo-badge {
  background: rgba(255,255,255,0.96); padding: 16px 22px; border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(0,0,0,0.25); display: block; width: max-content; max-width: 100%;
}
.hero-logo-badge img { height: 66px; }
.hero-headline { font-size: clamp(3rem, 5.2vw, 4.4rem); line-height: 0.95; letter-spacing: 1.5px; margin-bottom: 14px; }
.hero-headline .nb { white-space: nowrap; }
.hero-stats {
  display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 0;
}
.hero-stat { padding: 0 24px; border-right: 1px solid rgba(214,174,126,0.55); }
.hero-stat:first-child { padding-left: 0; }
.hero-stat:last-child { border-right: none; }
@media (max-width: 780px) {
  .hero-logo-badge { padding: 10px 14px; }
  .hero-logo-badge img { height: 40px; }
  .hero-full .hero-content { padding: 0 6px; }
  .hero-headline { font-size: 2.9rem; }
  .hero-stats { grid-template-columns: 1fr 1fr; row-gap: 14px; }
  .hero-stat { padding: 0 14px; min-width: 0; }
  .hero-stat:nth-child(odd) { padding-left: 0; }
  .hero-stat:nth-child(even) { border-right: none; }
  .hero-stat:last-child { flex-direction: column; align-items: flex-start; gap: 2px; }
  .hero-subline, .hero-tag { text-shadow: 0 1px 8px rgba(0,0,0,0.6); }
}

/* Welcome */
.welcome-photo { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.intro-strong { font-size: 1.08rem; color: var(--ink); }

/* The development: numbered aerial + block cards */
.dev-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 50px; align-items: start; margin-top: 10px; }
.dev-media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.dev-media figcaption { font-size: 0.82rem; color: var(--grey); margin-top: 10px; }
.block-list { display: flex; flex-direction: column; gap: 16px; }
.block-card {
  display: grid; grid-template-columns: 46px 1fr; gap: 16px; align-items: start;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px 22px; transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.block-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.block-num {
  width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: var(--white);
  font-family: var(--display); font-size: 1.7rem; display: flex; align-items: center; justify-content: center; line-height: 1;
}
.block-card h3 { margin: 2px 0 4px; color: var(--navy); font-size: 1.05rem; }
.block-card .count { display: inline-block; font-size: 0.72rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold-dark); font-weight: 700; margin-bottom: 6px; }
.block-card p { font-size: 0.92rem; color: var(--grey); margin: 0; }
@media (max-width: 900px) { .dev-grid { grid-template-columns: 1fr; gap: 30px; } }

/* Floorplans: 4 cards */
.plan-grid.four { grid-template-columns: repeat(4, 1fr); }
.plan-card .icon svg { display: block; }
@media (max-width: 900px) { .plan-grid.four { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .plan-grid.four { grid-template-columns: 1fr; } }

/* Location */
.loc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.loc-media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.loc-media .map-frame { margin-top: 18px; }
.loc-list { list-style: none; margin: 8px 0 0; }
.loc-list li {
  display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.loc-list li:first-child { padding-top: 4px; }
.loc-ico {
  width: 40px; height: 40px; border-radius: 50%; background: var(--cream-2); color: var(--gold-dark);
  display: flex; align-items: center; justify-content: center;
}
.loc-list h3 { font-size: 1rem; margin: 0 0 4px; color: var(--navy); }
.loc-list p { margin: 0; font-size: 0.92rem; color: var(--grey); }
.loc-note { font-size: 0.8rem; color: var(--grey); font-style: italic; margin-top: 16px; }
@media (max-width: 900px) { .loc-grid { grid-template-columns: 1fr; gap: 30px; } }

/* Consent-gated map */
.consent-embed { height: 300px; }
.consent-embed iframe { height: 300px; }

/* Specification intro */
.spec-intro { max-width: 720px; color: rgba(255,255,255,0.78); margin-bottom: 26px; }
.spec-note { font-size: 0.8rem; color: rgba(255,255,255,0.55); font-style: italic; margin-top: 30px; }

/* Footer */
.site-footer .footer-brand img { height: 30px; width: auto; opacity: 0.9; }
.site-footer .footer-legal { display: block; font-size: 0.78rem; opacity: 0.7; margin-top: 4px; }

/* Tenant portal: hide the pre-login blocks once unlocked (Ascot House fix) */
body.portal-unlocked #gatePreLogin { display: none; }
.portal-spacer { height: 40px; background: var(--cream); }
.addr-grid.single { grid-template-columns: 1fr; max-width: 560px; }
.addr-card .addr-line { font-size: 1.05rem; color: var(--ink); margin: 0; }
.faq-a h4 { font-size: 0.95rem; color: var(--navy); margin: 14px 0 6px; font-weight: 600; }

/* Legal pages */
.legal-wrap { max-width: 760px; margin: 0 auto; padding: 70px 28px 100px; }
.legal-wrap h1 { color: var(--navy); }
.legal-wrap h2 { font-family: 'Sora', sans-serif; text-transform: none; letter-spacing: 0; font-weight: 600; font-size: 1.2rem; margin-top: 40px; color: var(--navy); border-bottom: none; padding-bottom: 0; display: block; }
.legal-wrap p, .legal-wrap li { color: var(--ink); font-size: 0.98rem; line-height: 1.65; }
.legal-wrap ul { margin: 0 0 14px 22px; list-style: disc; }
.legal-wrap a { color: var(--gold-dark); text-decoration: underline; }
.legal-updated { color: var(--grey); font-size: 0.88rem; margin-bottom: 34px; }
.cookie-table-wrap { overflow-x: auto; margin: 10px 0 22px; }
.cookie-table { border-collapse: collapse; width: 100%; font-size: 0.88rem; background: var(--white); }
.cookie-table th, .cookie-table td { border: 1px solid var(--border); padding: 10px 12px; text-align: left; vertical-align: top; }
.cookie-table th { background: var(--cream-2); color: var(--navy); }
.tag { display: inline-block; background: var(--navy); color: var(--white); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.5px; padding: 4px 10px; border-radius: 999px; margin-right: 6px; }

/* ===== Cookie consent (banner, settings panel, map placeholder) ===== */
.cc-banner{
  position:fixed;left:16px;right:16px;bottom:16px;z-index:9000;
  background:var(--navy-darker);color:var(--white);
  border-radius:var(--radius);box-shadow:0 14px 40px rgba(0,0,0,.28);
  max-width:1100px;margin:0 auto;
  animation:ccUp .35s ease-out;
}
@keyframes ccUp{from{transform:translateY(20px);opacity:0;}to{transform:none;opacity:1;}}
.cc-banner-inner{display:flex;gap:24px;align-items:center;padding:20px 24px;}
.cc-text{flex:1;min-width:0;}
.cc-text p{margin:0;font-size:14px;line-height:1.6;color:rgba(255,255,255,.86);}
.cc-text .cc-title{font-weight:700;font-size:15.5px;color:var(--white);margin-bottom:4px;}
.cc-text a{color:var(--gold);text-decoration:underline;}
.cc-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center;flex-shrink:0;}
.cc-btn{
  font-family:inherit;font-size:14px;font-weight:600;cursor:pointer;
  border-radius:999px;padding:11px 20px;border:2px solid transparent;
  transition:background .2s,color .2s,border-color .2s;line-height:1.2;
}
.cc-btn:focus-visible{outline:3px solid var(--gold);outline-offset:2px;}
.cc-btn-primary{background:var(--gold);color:var(--navy-darker);}
.cc-btn-primary:hover{background:var(--white);}
.cc-btn-link{background:none;color:var(--white);text-decoration:underline;padding:11px 8px;}
.cc-btn-link:hover{color:var(--gold);}
.cc-btn-outline{background:transparent;color:var(--navy-dark);border-color:var(--navy-dark);}
.cc-btn-outline:hover{background:var(--navy-dark);color:var(--white);}

.cc-lock,.cc-lock body{overflow:hidden;}
.cc-modal-overlay{
  position:fixed;inset:0;z-index:9500;background:rgba(22,39,43,.6);
  display:none;align-items:center;justify-content:center;padding:16px;
}
.cc-modal-overlay.open{display:flex;}
.cc-modal{
  position:relative;background:var(--white);color:var(--ink);
  border-radius:var(--radius);box-shadow:var(--shadow);
  width:100%;max-width:560px;max-height:calc(100vh - 32px);overflow-y:auto;
  padding:32px 28px 26px;
}
.cc-modal h2{color:var(--navy-dark);font-size:22px;margin:0 0 8px;}
.cc-intro{font-size:14px;color:var(--grey);}
.cc-intro a{color:var(--navy);font-weight:600;text-decoration:underline;}
.cc-close{
  position:absolute;top:12px;right:14px;background:none;border:0;cursor:pointer;
  font-size:28px;line-height:1;color:var(--grey);padding:4px 8px;
}
.cc-close:hover{color:var(--navy-dark);}
.cc-cat{border-top:1px solid var(--border);padding:16px 0 4px;}
.cc-cat-head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:6px;}
.cc-cat-label{font-weight:700;color:var(--navy-dark);font-size:15px;cursor:pointer;}
.cc-cat p{font-size:13.5px;color:var(--grey);margin:0 0 10px;}
.cc-always{font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--gold-dark);}
.cc-switch{position:relative;display:inline-block;width:46px;height:26px;flex-shrink:0;}
.cc-switch input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer;z-index:1;}
.cc-slider{position:absolute;inset:0;background:#C9CFCE;border-radius:999px;transition:background .2s;}
.cc-slider::before{
  content:"";position:absolute;left:3px;top:3px;width:20px;height:20px;border-radius:50%;
  background:var(--white);box-shadow:0 1px 3px rgba(0,0,0,.25);transition:transform .2s;
}
.cc-switch input:checked + .cc-slider{background:var(--navy);}
.cc-switch input:checked + .cc-slider::before{transform:translateX(20px);}
.cc-switch input:focus-visible + .cc-slider{outline:3px solid var(--gold);outline-offset:2px;}
.cc-modal-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px;padding-top:18px;border-top:1px solid var(--border);}
.cc-modal-actions .cc-btn-primary{background:var(--navy);color:var(--white);}
.cc-modal-actions .cc-btn-primary:hover{background:var(--navy-dark);}

/* Footer "Cookie settings" link rendered as a button */
.cookie-settings-link{
  background:none;border:0;padding:0;font:inherit;color:inherit;cursor:pointer;text-decoration:inherit;
}
.cookie-settings-link:hover{text-decoration:underline;}

/* Map placeholder shown until consent is given */
.consent-embed{height:220px;background:var(--cream);line-height:1.5;}
.consent-embed iframe{display:block;width:100%;height:220px;}
.embed-placeholder{
  height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;
  text-align:center;padding:20px;gap:6px;
}
.embed-placeholder .embed-title{font-weight:700;color:var(--navy-dark);margin:0;font-size:15px;}
.embed-placeholder p{font-size:13px;color:var(--grey);margin:0;max-width:340px;}
.embed-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:center;margin-top:8px;}
.embed-actions .cc-btn{padding:9px 16px;font-size:13px;}
.embed-actions .cc-btn-primary{background:var(--navy);color:var(--white);}
.embed-actions .cc-btn-primary:hover{background:var(--navy-dark);}
.embed-actions a.cc-btn{display:inline-block;}

@media (max-width:760px){
  .cc-banner{left:10px;right:10px;bottom:10px;}
  .cc-banner-inner{flex-direction:column;align-items:stretch;gap:14px;padding:18px;}
  .cc-actions{display:grid;grid-template-columns:1fr 1fr;}
  .cc-actions .cc-btn-link{grid-column:1 / -1;}
  .cc-modal{padding:28px 20px 22px;}
  .cc-modal-actions .cc-btn{flex:1 1 100%;}
}

/* Mobile tidy-ups */
@media (max-width: 520px) {
  .agent-card a.mail { font-size: 0.8rem; word-break: normal; overflow-wrap: anywhere; }
  .plan-grid.four { grid-template-columns: 1fr 1fr; gap: 12px; }
  .plan-grid.four .plan-card { padding: 22px 12px; }
  .plan-grid.four .plan-card h3 { font-size: 0.98rem; }
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
}

.hero-ctas .btn { text-align: center; }

/* Transparent logo sitting in the sky area of the hero photo (replaces the white badge) */
.hero-full { align-items: flex-start; padding-top: 0; }
.hero-full .hero-bg { object-position: center 28%; }
.hero-full .hero-inner { display: flex; flex-direction: column; min-height: calc(92vh - 74px); padding-top: 34px; padding-bottom: 40px; }
.hero-sky-logo { margin-bottom: auto; padding-bottom: 28px; }
.hero-sky-logo img { height: 92px; width: auto; filter: drop-shadow(0 2px 10px rgba(0,0,0,0.35)); }
.hero-full .hero-content { margin-top: 0; }
@media (max-width: 780px) {
  .hero-full .hero-inner { min-height: 0; padding-top: 22px; padding-bottom: 30px; }
  .hero-sky-logo { padding-bottom: 26px; }
  .hero-sky-logo img { height: 52px; }
}
@media (max-width: 780px) {
  .hero-full .hero-bg { object-position: 22% 0%; }
}
