/* The Property Investment Company - Static HTML rebuild */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400&family=Raleway:wght@500;600;700;900&display=swap');

:root {
  --navy: #2b2a55;          /* main header background */
  --navy-dark: #141342;     /* deep navy — accents, button hover */
  --sky: #26a9df;           /* primary accent / link / button */
  --sky-light: #3ea8d7;     /* top bar */
  --yellow: #f1de09;        /* hover accent */
  --text: #2a2a2a;
  --muted: #5b6776;
  --bg: #ffffff;
  --bg-soft: #f4f6f9;
  --line: #e2e6ec;
  --max: 1200px;

  /* legacy aliases used in earlier rules */
  --gold: var(--sky);
  --gold-light: var(--sky-light);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Montserrat', 'Helvetica Neue', Arial, Lucida, sans-serif;
  color: var(--text);
  line-height: 1.7;
  background: var(--bg);
  font-size: 16px;
  font-weight: 400;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--gold); }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Top bar ---- */
.topbar {
  background: var(--sky-light);
  color: #ffffff;
  font-size: 13px;
  letter-spacing: .02em;
}
.topbar .container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 24px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.topbar a { color: #ffffff; }
.topbar a:hover { color: var(--yellow); }

/* ---- Header / nav ---- */
.site-header {
  background: var(--navy);
  border-bottom: 0;
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img {
  max-height: 56px;
  width: auto;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand .mark {
  font-family: 'Raleway', 'Helvetica Neue', Arial, sans-serif;
  font-size: 20px;
  color: #ffffff;
  font-weight: 700;
  letter-spacing: .02em;
}
.brand .sub {
  font-size: 10px;
  color: var(--sky);
  letter-spacing: .25em;
  text-transform: uppercase;
  margin-top: 4px;
}
.nav ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  gap: 28px;
}
.nav a {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 600;
  color: #ffffff;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
}
.nav a:hover {
  color: var(--yellow);
}
.nav a.active {
  color: var(--sky);
  border-bottom-color: var(--sky);
}

/* mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 22px;
  cursor: pointer;
  color: #ffffff;
}

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  background: #141342;
}
/* Cross-fading hero background slides (matches the live site's 2-image slider) */
.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slides::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, rgba(20,19,66,.72), rgba(43,42,85,.55));
}
.hero-slides .hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  animation: heroFade 12s infinite;
}
.hero-slides .hero-slide:nth-child(2) { animation-delay: 6s; }
@keyframes heroFade {
  0%   { opacity: 0; }
  8%   { opacity: 1; }
  42%  { opacity: 1; }
  50%  { opacity: 0; }
  100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slides .hero-slide { animation: none; }
  .hero-slides .hero-slide:first-child { opacity: 1; }
}
.hero > .container { position: relative; z-index: 1; }
.hero .container { padding-top: 80px; padding-bottom: 80px; }
.hero h1 {
  font-family: 'Raleway', 'Helvetica Neue', Arial, sans-serif;
  font-size: clamp(30px, 4.5vw, 48px);
  line-height: 1.18;
  margin: 0 0 18px;
  font-weight: 700;
  max-width: 820px;
  letter-spacing: -.005em;
}
.hero p {
  font-size: 17px;
  max-width: 720px;
  margin: 0 0 28px;
  color: #e9edf3;
}

.hero--page {
  min-height: 280px;
}
.hero--page h1 { margin-bottom: 0; }

/* ---- Co-Living banner ---- */
.coliving-banner {
  background: #4fc0d3;
  text-align: center;
  padding: 80px 0 64px;
}
.coliving-banner .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.coliving-banner__title {
  font-family: "Google Sans", "Montserrat", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-weight: 800;
  font-size: clamp(48px, 9vw, 110px);
  line-height: .98;
  margin: 0;
  color: #ffffff;
  letter-spacing: -.01em;
  text-shadow:
    0 4px 0 rgba(0,0,0,.18),
    0 8px 24px rgba(0,0,0,.28);
}
.coliving-banner__tagline {
  margin: 28px 0 0;
  font-family: "Google Sans", "Montserrat", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  color: #000000;
  font-size: clamp(13px, 1.7vw, 20px);
  letter-spacing: .12em;
}
@media (max-width: 600px) {
  .coliving-banner { padding: 56px 0 44px; }
  .coliving-banner__tagline { letter-spacing: .08em; }
}

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 2px;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid var(--sky);
  transition: all .2s;
}
.btn-primary {
  background: var(--sky);
  color: #ffffff;
}
.btn-primary:hover {
  background: var(--navy-dark);
  border-color: var(--navy-dark);
  color: #ffffff;
}
.btn-outline {
  background: transparent;
  color: #ffffff;
  border-color: #ffffff;
}
.btn-outline:hover {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--navy-dark);
}
.btn-navy {
  border-color: var(--navy-dark);
  background: var(--navy-dark);
  color: #ffffff;
}
.btn-navy:hover {
  background: var(--sky);
  border-color: var(--sky);
  color: #ffffff;
}

/* ---- Sections ---- */
section { padding: 72px 0; }
.section-soft { background: var(--bg-soft); }

h1, h2, h3, h5, h6 {
  font-family: 'Raleway', 'Helvetica Neue', Arial, sans-serif;
}
h2 {
  font-size: clamp(24px, 3vw, 34px);
  color: var(--navy-dark);
  margin: 0 0 16px;
  font-weight: 700;
  letter-spacing: -.005em;
}
h3 {
  font-size: 22px;
  color: var(--navy-dark);
  margin: 32px 0 12px;
  font-weight: 700;
}
h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--sky);
  margin: 0 0 12px;
  font-weight: 700;
}

.lead {
  font-size: 18px;
  color: var(--muted);
  max-width: 800px;
  margin: 0 0 24px;
}

.kicker {
  display: inline-block;
  font-size: 12px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--sky);
  font-weight: 700;
  margin-bottom: 12px;
}

/* ---- Grid utilities ---- */
.grid {
  display: grid;
  gap: 28px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ---- Cards ---- */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px -12px rgba(20,19,66,.30);
}
.card .thumb {
  height: 200px;
  background-size: cover;
  background-position: center;
  background-color: #ccd3dc;
}
.card .body {
  padding: 22px 22px 24px;
}
.card h3 {
  margin: 0 0 6px;
  font-size: 18px;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
}
.card p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

/* ---- Feature row ---- */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.feature--reverse { direction: rtl; }
.feature--reverse > * { direction: ltr; }
.feature .media {
  height: 360px;
  background-size: cover;
  background-position: center;
  border-radius: 4px;
  background-color: #d8dee6;
}
@media (max-width: 900px) {
  .feature { grid-template-columns: 1fr; gap: 32px; }
  .feature--reverse { direction: ltr; }
}

/* ---- Tick list ---- */
.ticks {
  list-style: none;
  padding: 0;
  margin: 18px 0;
}
.ticks li {
  position: relative;
  padding: 8px 0 8px 32px;
  border-bottom: 1px dashed var(--line);
}
.ticks li:last-child { border-bottom: 0; }
.ticks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 8px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--sky);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}

/* ---- Highlight bar ---- */
.highlight-bar {
  background: var(--navy-dark);
  color: #fff;
  padding: 44px 0;
  text-align: center;
}
.highlight-bar h2 { color: #fff; margin-bottom: 8px; }
.highlight-bar p { margin: 0; color: #d8d7ed; }

/* ---- Downloads ---- */
.downloads {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin: 24px 0;
}
.downloads a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--sky);
  font-weight: 600;
  color: var(--navy-dark);
  transition: all .2s;
}
.downloads a:hover {
  background: var(--bg-soft);
  border-left-color: var(--navy-dark);
  transform: translateX(3px);
}
/* Single resource link: keep its size, just center it */
.downloads--single {
  display: flex;
  justify-content: center;
}
.downloads--single a {
  flex: 0 0 auto;
}
.downloads a::before {
  content: "↓";
  font-size: 18px;
  color: var(--sky);
  font-weight: 700;
}

/* ---- Contact page ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info {
  background: var(--bg-soft);
  padding: 36px;
  border-left: 4px solid var(--sky);
}
.contact-info dl {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 8px 16px;
  margin: 18px 0 0;
}
.contact-info dt {
  font-weight: 600;
  color: var(--navy-dark);
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding-top: 2px;
}
.contact-info dd { margin: 0; color: var(--text); }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-form label {
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--navy-dark);
  font-weight: 600;
}
.contact-form input,
.contact-form textarea {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 2px;
  font-family: inherit;
  font-size: 15px;
  background: #fff;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--sky);
}

/* ---- Cognito Forms (seamless embed) restyled to match the site ---- */
.contact-form-panel { width: 100%; }
.contact-form-panel .cognito {
  width: 100% !important;
  max-width: none !important;
  font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif !important;
}
/* Vertical rhythm between fields */
.contact-form-panel .cognito .c-forms-form-body > * { margin-bottom: 16px; }
/* Labels: match the uppercase navy labels of the old form */
.contact-form-panel .cognito label,
.contact-form-panel .cognito .c-label {
  font-size: 13px !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
  color: var(--navy-dark) !important;
  font-weight: 600 !important;
  font-family: inherit !important;
}
/* Inputs / textareas / selects */
.contact-form-panel .cognito input[type="text"],
.contact-form-panel .cognito input[type="email"],
.contact-form-panel .cognito input[type="tel"],
.contact-form-panel .cognito input[type="number"],
.contact-form-panel .cognito input[type="url"],
.contact-form-panel .cognito input[type="date"],
.contact-form-panel .cognito input[type="password"],
.contact-form-panel .cognito textarea,
.contact-form-panel .cognito select {
  padding: 12px 14px !important;
  border: 1px solid var(--line) !important;
  border-radius: 2px !important;
  font-family: inherit !important;
  font-size: 15px !important;
  color: var(--text) !important;
  background: #fff !important;
  box-shadow: none !important;
  width: 100% !important;
}
.contact-form-panel .cognito input:focus,
.contact-form-panel .cognito textarea:focus,
.contact-form-panel .cognito select:focus {
  outline: none !important;
  border-color: var(--sky) !important;
  box-shadow: 0 0 0 2px rgba(38,169,223,.18) !important;
}
/* Submit button: match .btn .btn-primary */
.contact-form-panel .cognito button,
.contact-form-panel .cognito input[type="submit"],
.contact-form-panel .cognito .c-button {
  display: inline-block !important;
  padding: 13px 28px !important;
  border-radius: 2px !important;
  font-family: 'Montserrat', sans-serif !important;
  font-size: 13px !important;
  letter-spacing: .18em !important;
  text-transform: uppercase !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  border: 2px solid var(--sky) !important;
  background: var(--sky) !important;
  color: #fff !important;
  width: auto !important;
  transition: all .2s !important;
}
.contact-form-panel .cognito button:hover,
.contact-form-panel .cognito input[type="submit"]:hover,
.contact-form-panel .cognito .c-button:hover {
  background: var(--navy-dark) !important;
  border-color: var(--navy-dark) !important;
  color: #fff !important;
}
/* Accent colours for links, required markers, progress, validation */
.contact-form-panel .cognito a { color: var(--sky) !important; }
.contact-form-panel .cognito .c-forms-form .c-required,
.contact-form-panel .cognito .c-error,
.contact-form-panel .cognito .c-validation { color: #c0392b !important; }

/* ---- Property detail page ---- */
.property-hero {
  min-height: 380px;
  display: flex;
  align-items: center;
  color: #fff;
  padding: 96px 0 72px;
  text-align: center;
}
.property-hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.property-hero h1 {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(34px, 5vw, 56px);
  margin: 0 0 10px;
  font-weight: 700;
  max-width: 920px;
  letter-spacing: -.01em;
}
.property-hero__location {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  letter-spacing: .25em;
  text-transform: uppercase;
  margin: 0;
  color: var(--sky-light);
  font-weight: 600;
}

.property-body { padding: 80px 0 64px; }

.property-content {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.property-content p { margin: 0 0 20px; font-size: 16.5px; line-height: 1.8; }
.property-content p.lead { font-size: 20px; color: var(--muted); margin-bottom: 32px; }
.property-content h2 {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(24px, 2.6vw, 32px);
  color: var(--sky);
  margin: 56px 0 18px;
  font-weight: 700;
  letter-spacing: -.005em;
}
.property-content h3 {
  font-family: 'Raleway', sans-serif;
  margin-top: 40px;
  font-weight: 700;
  font-size: 22px;
  color: var(--navy-dark);
}
.property-content h4 {
  margin-top: 32px;
  color: var(--sky);
}
.property-content h5 {
  font-family: 'Raleway', sans-serif;
  margin: 36px 0 10px;
  font-size: 18px;
  color: var(--navy-dark);
  font-weight: 700;
  letter-spacing: .01em;
}
.property-content ul {
  padding-left: 0;
  margin: 0 auto 22px;
  list-style: none;
  max-width: 640px;
}
.property-content ul li {
  margin-bottom: 8px;
  padding: 6px 0;
  border-bottom: 1px dashed rgba(38, 169, 223, 0.18);
}
.property-content ul li:last-child { border-bottom: 0; }

.property-content .downloads-heading {
  margin-top: 56px;
  color: var(--sky);
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
}
.property-content .downloads {
  text-align: left;
  margin-bottom: 40px;
}

/* ---- Image carousel / slider ---- */
.property-slider-wrap {
  margin: 56px auto;
  max-width: 1080px;
}

/* Pre-JS fallback — single-image grid so layout doesn't collapse */
.property-slider {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.property-slider a {
  display: block;
  overflow: hidden;
  border-radius: 6px;
  aspect-ratio: 16 / 9;
  background: var(--bg-soft);
}
.property-slider img {
  width: 100%; height: 100%; object-fit: cover;
}

/* Active carousel (after JS upgrades it) */
.property-slider-active .slider {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  background: #0c1126;
  box-shadow: 0 14px 40px -16px rgba(20, 19, 66, .35);
}
.slider__track {
  display: flex;
  transition: transform .55s cubic-bezier(.65,.05,.36,1);
  will-change: transform;
}
.slider__slide {
  flex: 0 0 100%;
  aspect-ratio: 16 / 9;
  display: block;
  position: relative;
  overflow: hidden;
  cursor: zoom-in;
  background: #0c1126;
}
.slider__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s;
}
.slider__slide:hover img { transform: scale(1.02); }

.slider__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,.85);
  border: 0;
  color: var(--navy-dark);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s, transform .15s, color .15s;
  z-index: 2;
  box-shadow: 0 4px 14px rgba(0,0,0,.25);
  font-weight: 700;
  padding: 0 0 4px;
}
.slider__nav:hover {
  background: var(--sky);
  color: #fff;
  transform: translateY(-50%) scale(1.05);
}
.slider__prev { left: 12px; }
.slider__next { right: 12px; }
.slider__dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}
.slider__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,.45);
  cursor: pointer;
  padding: 0;
  transition: background .15s, transform .15s;
}
.slider__dot:hover { background: rgba(255,255,255,.85); }
.slider__dot.is-active {
  background: var(--sky);
  transform: scale(1.3);
}
@media (max-width: 600px) {
  .slider__nav { width: 40px; height: 40px; font-size: 22px; }
  .slider__prev { left: 8px; }
  .slider__next { right: 8px; }
}

/* ---- YouTube facade ---- */
.property-video {
  margin: 56px auto;
  max-width: 940px;
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 14px 40px -16px rgba(20, 19, 66, .35);
}
.property-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.property-video__thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: pointer;
  transition: transform .35s, filter .25s;
}
.property-video--facade:hover .property-video__thumb {
  transform: scale(1.02);
  filter: brightness(.85);
}
.property-video__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: rgba(255, 0, 0, .92);
  border: 0;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.35);
  transition: transform .2s, background .2s;
}
.property-video__play:hover {
  background: #ff0000;
  transform: translate(-50%, -50%) scale(1.08);
}
.property-video__play-icon {
  font-size: 28px;
  margin-left: 6px; /* visually centre the triangle */
  line-height: 1;
}

/* Inline images interleaved with content */
.property-figure {
  margin: 48px auto;
  max-width: 940px;
}
.property-figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  box-shadow: 0 14px 40px -16px rgba(20, 19, 66, .35);
  cursor: zoom-in;
  transition: transform .3s, box-shadow .3s;
}
.property-figure img:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 50px -18px rgba(20, 19, 66, .45);
}
.property-figure figcaption {
  text-align: center;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 14px;
  font-weight: 600;
}

/* Fade-in-from-bottom on scroll */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .8s ease-out, transform .8s ease-out;
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

.gallery {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}
.gallery a {
  display: block;
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 4 / 3;
  background: var(--bg-soft);
  cursor: zoom-in;
  position: relative;
}
.gallery a::after {
  content: "⤢";
  position: absolute;
  top: 8px; right: 10px;
  width: 28px; height: 28px;
  background: rgba(20,19,66,.7);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  opacity: 0;
  transition: opacity .2s;
}
.gallery a:hover::after { opacity: 1; }
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s;
}
.gallery a:hover img { transform: scale(1.05); }

/* ---- Lightbox ---- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(8, 10, 24, .94);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
}
.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}
.lightbox__frame {
  position: relative;
  margin: 0;
  max-width: min(96vw, 1400px);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lightbox__img {
  max-width: 100%;
  max-height: 84vh;
  width: auto;
  height: auto;
  display: block;
  border-radius: 4px;
  box-shadow: 0 20px 60px rgba(0,0,0,.6);
  transition: opacity .15s;
}
.lightbox__caption {
  color: #d8d7ed;
  font-size: 14px;
  margin-top: 14px;
  text-align: center;
  max-width: 800px;
  padding: 0 16px;
}
.lightbox__counter {
  color: var(--sky-light);
  font-size: 12px;
  letter-spacing: .15em;
  text-transform: uppercase;
  margin-top: 8px;
  font-weight: 600;
}
.lightbox__close,
.lightbox__nav {
  position: absolute;
  background: rgba(255,255,255,.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s, transform .15s;
  z-index: 1;
  line-height: 1;
}
.lightbox__close:hover,
.lightbox__nav:hover {
  background: var(--sky);
  border-color: var(--sky);
  transform: scale(1.05);
}
.lightbox__close {
  top: 24px;
  right: 24px;
  font-size: 28px;
}
.lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
  font-size: 32px;
  width: 56px; height: 56px;
}
.lightbox__nav:hover { transform: translateY(-50%) scale(1.05); }
.lightbox__prev { left: 24px; }
.lightbox__next { right: 24px; }
@media (max-width: 600px) {
  .lightbox__nav { width: 44px; height: 44px; font-size: 24px; }
  .lightbox__prev { left: 8px; }
  .lightbox__next { right: 8px; }
  .lightbox__close { top: 12px; right: 12px; }
}

/* ---- Consultation CTA banner ---- */
.consultation-cta {
  background: var(--bg-soft);
  padding: 48px 0;
  text-align: center;
}
.consultation-cta a {
  display: inline-block;
  transition: transform .2s, box-shadow .2s;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 6px 18px -8px rgba(20,19,66,.25);
}
.consultation-cta a:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px -10px rgba(20,19,66,.40);
}
.consultation-cta img {
  max-width: 460px;
  width: 100%;
  display: block;
}

/* ---- Footer ---- */
.site-footer {
  background: var(--navy-dark);
  color: #d8d7ed;
  padding: 56px 0 24px;
}
.site-footer h4 {
  color: var(--sky);
  font-size: 13px;
  letter-spacing: .2em;
  margin-bottom: 18px;
}
.footer-logo {
  max-width: 220px;
  margin-bottom: 18px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }
.footer-grid p, .footer-grid a { color: #d8d7ed; font-size: 14px; }
.footer-grid a:hover { color: var(--yellow); }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 8px; }
.socials {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}
.socials a {
  width: 36px;
  height: 36px;
  border: 1px solid #3a3970;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: #d8d7ed;
}
.socials a:hover { background: var(--sky); border-color: var(--sky); color: #fff; }
.copyright {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #2c2b65;
  font-size: 12.5px;
  color: #8b8ab2;
  text-align: center;
}
.copyright a { color: #fff; }
.copyright a:hover { color: var(--yellow); }

/* ---- Mobile nav ---- */
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--navy);
    border-bottom: 1px solid var(--navy-dark);
    display: none;
  }
  .nav.open { display: block; }
  .nav ul {
    flex-direction: column;
    gap: 0;
    padding: 8px 24px 16px;
  }
  .nav li { border-bottom: 1px solid #3a3970; }
  .nav li:last-child { border-bottom: 0; }
  .nav a { display: block; padding: 14px 0; border: 0; color: #ffffff; }
  .topbar .container { justify-content: center; }
}
