/* WordPress-specific additions to the design (the main design lives in main.css). */

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 999; background: var(--bck-teal-deep); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; }
main { display: block; }
body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .site-header { top: 46px; } }

/* listing filter buttons */
.filters-bar .filter-actions { display: flex; gap: 8px; align-self: end; }
.filters-bar .filter-actions .bck-btn { flex: 1; padding-left: 12px; padding-right: 12px; white-space: nowrap; }

/* pagination */
.pagination { margin-top: var(--space-6); }
.pagination ul { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.pagination .page-numbers { display: inline-flex; min-width: 42px; height: 42px; align-items: center; justify-content: center; padding: 0 12px; border: 1.5px solid var(--bck-border); border-radius: var(--radius-md); font-weight: 700; color: var(--bck-text); background: var(--bck-white); }
.pagination .page-numbers.current { background: var(--bck-teal); border-color: var(--bck-teal); color: #fff; }
.pagination a.page-numbers:hover { border-color: var(--bck-teal); color: var(--bck-teal); }
.pagination .dots { border: 0; background: transparent; }

/* text the client writes in the editor */
.entry-content, .project-description { color: var(--bck-text); line-height: 1.8; font-size: 16px; }
.project-description { color: var(--bck-text-muted); line-height: 1.7; font-size: 16px; }
.entry-content p, .project-description p { margin: 0 0 14px; }
.entry-content h2, .entry-content h3, .entry-content h4 { margin: 28px 0 10px; line-height: 1.25; }
.entry-content h2 { font-size: 26px; } .entry-content h3 { font-size: 20px; } .entry-content h4 { font-size: 17px; }
.entry-content ul, .entry-content ol { margin: 0 0 14px 22px; } .entry-content ul { list-style: disc; } .entry-content ol { list-style: decimal; }
.entry-content a { color: var(--bck-teal); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.entry-content img { border-radius: var(--radius-md); height: auto; margin: 14px 0; }
.video-player { width: 100%; border-radius: var(--radius-lg); background: #000; display: block; }
.avatar { object-fit: cover; }

/* grid children may shrink below their content width, so no long word or logo can push the page sideways */
.grid-2 > *, .grid-3 > *, .grid-4 > *, .split > *, .detail-grid > * { min-width: 0; }
@media (max-width: 767px) { .split .service-card { padding: var(--space-5) !important; } }

/* calculators: a number box you can type in + a slider */
.calc-field { margin-bottom: var(--space-5); }
.calc-field-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.calc-field-head label { font-size: 14px; font-weight: 700; color: var(--bck-text); }
.calc-input { display: flex; align-items: center; gap: 4px; height: 46px; min-width: 170px; padding: 0 14px; background: var(--bck-white); border: 1.5px solid var(--bck-border); border-radius: var(--radius-md); transition: border-color 150ms, box-shadow 150ms; }
.calc-input:focus-within { border-color: var(--bck-teal); box-shadow: 0 0 0 3px rgba(56, 136, 167, 0.18); }
.calc-input .pre, .calc-input .suf { color: var(--bck-text-muted); font-weight: 700; font-size: 15px; }
.calc-input input.calc-num { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; text-align: right; font-weight: 800; font-size: 17px; color: var(--bck-teal-deep); padding: 0 4px; }
.calc-field.is-invalid .calc-input { border-color: var(--bck-error); }
.calc-range { width: 100%; height: 30px; accent-color: var(--bck-teal); cursor: pointer; }
.calc-minmax { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 11px; color: var(--bck-text-muted); }
.calc-words { flex: 1; text-align: center; font-weight: 700; color: var(--bck-teal-deep); font-size: 12px; }
.calc-warn { color: var(--bck-error); font-size: 13px; font-weight: 600; margin: -8px 0 var(--space-4); min-height: 0; }
@media (max-width: 480px) { .calc-input { min-width: 0; width: 100%; } .calc-field-head { flex-direction: column; align-items: stretch; gap: 8px; } }

/* dev-friendly: keep sample-content notice readable */
.placeholder-note { display: inline-block; }

/* =====================================================================
   Header: larger logo; see-through over the home page banner, solid once scrolled
   ===================================================================== */
:root { --hdr-h: 92px; }
@media (max-width: 1080px) { :root { --hdr-h: 78px; } }
@media (max-width: 767px) { :root { --hdr-h: 68px; } }

.site-header { transition: background-color 320ms ease, border-color 320ms ease, box-shadow 320ms ease, backdrop-filter 320ms ease, -webkit-backdrop-filter 320ms ease; }
.header-inner { height: var(--hdr-h); }
.header-logo { display: flex; align-items: center; flex: 0 0 auto; }
.header-logo img { height: 76px; width: auto; }
@media (max-width: 1080px) { .header-logo img { height: 62px; } }
@media (max-width: 767px) { .header-logo img { height: 54px; } .header-inner { gap: 8px; } }
/* nine menu items + the larger logo: tighten the spacing a little on small laptops so nothing wraps or overflows */
.header-nav > ul { flex: 0 0 auto; }
.header-nav > ul > li > a { white-space: nowrap; }
@media (min-width: 1081px) and (max-width: 1199px) {
  .header-inner { gap: 16px; }
  .header-logo img { height: 66px; }
  .header-nav > ul { gap: 14px; }
  .header-nav > ul > li > a { font-size: 14px; }
}
@media (min-width: 1200px) and (max-width: 1279px) { .header-nav > ul { gap: 18px; } }
/* the last two menus open towards the left, so they never stick out past the screen edge */
.header-nav > ul > li:nth-last-child(-n+2) > .dropdown { left: auto; right: 0; }
.header-logo img.is-tile, .mobile-drawer-head img.is-tile { border-radius: 10px; box-shadow: 0 4px 14px rgba(23, 36, 42, 0.22); }
.mobile-drawer-panel .mobile-drawer-head img { height: 52px; width: auto; }
.header-nav > ul > li > a, .icon-btn, .hamburger { transition: color 250ms ease, background-color 320ms ease, border-color 320ms ease; }

/* footer: the logo is a dark picture, so it needs no white plate */
.footer-brand .logo-plate.is-tile { background: transparent; padding: 0; }
.footer-brand .logo-plate.is-tile img { height: 72px; width: auto; border-radius: 10px; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25); }

/* home page only (and only when scripts run, because a script switches the header back after scrolling) */
html.js body.has-hero-header .site-header { margin-bottom: calc(var(--hdr-h) * -1 - 1px); }
html.js body.has-hero-header .hero { padding-top: calc(140px + var(--hdr-h) + 1px); min-height: calc(680px + var(--hdr-h) + 1px); }
@media (max-width: 767px) {
  html.js body.has-hero-header .hero { padding-top: calc(36px + var(--hdr-h) + 1px); min-height: 0; }
}
html.js body.has-hero-header .site-header:not(.scrolled) {
  background: transparent;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  border-bottom-color: transparent; box-shadow: none;
}
/* soft dark fade behind the menu so white text stays readable on the bright photo */
html.js body.has-hero-header .site-header::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: calc(100% + 40px); z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(23, 36, 42, 0.60) 0%, rgba(23, 36, 42, 0.32) 55%, rgba(23, 36, 42, 0) 100%);
  opacity: 1; transition: opacity 320ms ease;
}
html.js body.has-hero-header .site-header.scrolled::before { opacity: 0; }
html.js body.has-hero-header .site-header.scrolled { box-shadow: 0 6px 24px rgba(23, 36, 42, 0.08); }
html.js body.has-hero-header .site-header:not(.scrolled) .header-nav > ul > li > a { color: #fff; text-shadow: 0 1px 10px rgba(23, 36, 42, 0.45); }
html.js body.has-hero-header .site-header:not(.scrolled) .header-nav > ul > li > a:hover,
html.js body.has-hero-header .site-header:not(.scrolled) .header-nav > ul > li.open > a { color: var(--bck-lavender-soft); }
html.js body.has-hero-header .site-header:not(.scrolled) .icon-btn:not(.icon-btn-wa),
html.js body.has-hero-header .site-header:not(.scrolled) .hamburger {
  color: #fff; border-color: rgba(255, 255, 255, 0.65); background: rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
html.js body.has-hero-header .site-header:not(.scrolled) .icon-btn:not(.icon-btn-wa) svg { color: #fff; }
html.js body.has-hero-header .site-header:not(.scrolled) .icon-btn:not(.icon-btn-wa):hover,
html.js body.has-hero-header .site-header:not(.scrolled) .hamburger:hover { background: rgba(255, 255, 255, 0.26); border-color: #fff; }

/* =====================================================================
   Recently Booked (client photo strip)
   ===================================================================== */
/* =====================================================================
   Project page: quick answer, plans, photo viewer
   ===================================================================== */
.aeo-lead { font-size: 17px; line-height: 1.65; color: var(--bck-text); font-weight: 600; margin: 0 0 14px; }
.gallery-main { overflow: hidden; border-radius: var(--radius-xl); }
#galleryMainImg { cursor: zoom-in; }
.gallery-expand { position: absolute; right: 14px; bottom: 14px; z-index: 3; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: var(--radius-pill); background: rgba(255, 255, 255, 0.94); color: var(--bck-teal-deep); font-weight: 700; font-size: 13px; box-shadow: var(--shadow-md); border: 1px solid var(--bck-border); }
.gallery-expand svg { width: 16px; height: 16px; }
.gallery-expand:hover { background: #fff; border-color: var(--bck-teal); }
.gallery-thumbs .gthumb { cursor: pointer; }
.gallery-thumbs .gthumb:focus-visible, #galleryMainImg:focus-visible, .plan-open:focus-visible, .lb-btn:focus-visible, .lb-thumbs button:focus-visible { outline: 3px solid var(--bck-teal); outline-offset: 2px; }
.plan-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.plan-fig { margin: 0; }
.plan-open { display: block; width: 100%; padding: 8px; background: var(--bck-white); border: 1px solid var(--bck-border); border-radius: var(--radius-md); cursor: zoom-in; transition: border-color 200ms, box-shadow 200ms; }
.plan-open:hover { border-color: var(--bck-teal); box-shadow: var(--shadow-md); }
.plan-open img { width: 100%; height: 190px; object-fit: contain; border-radius: var(--radius-sm); }
@media (max-width: 640px) {
  .gallery-thumbs { display: flex !important; gap: 8px; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 6px; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
  .gallery-thumbs .gthumb { flex: 0 0 76px; width: 76px; height: 76px; scroll-snap-align: start; }
  .gallery-expand { right: 10px; bottom: 10px; padding: 8px 12px; }
  .plan-grid { grid-template-columns: 1fr; }
  .plan-open img { height: 220px; }
}
html.lb-open, html.lb-open body { overflow: hidden; }
.lightbox { position: fixed; inset: 0; z-index: 400; display: flex; flex-direction: column; align-items: center; justify-content: center; background: rgba(12, 22, 27, 0.94); color: #fff; }
.lightbox[hidden] { display: none; }
.lb-bar { position: absolute; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: flex-end; gap: 8px; padding: 12px 14px; z-index: 2; }
.lb-count { margin-right: auto; font-size: 13px; font-weight: 700; letter-spacing: 0.04em; color: #D5C2D7; }
.lb-btn { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 255, 255, 0.14); color: #fff; font-size: 26px; line-height: 1; border: 1px solid rgba(255, 255, 255, 0.28); transition: background-color 150ms; }
.lb-btn:hover { background: rgba(255, 255, 255, 0.28); }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; }
.lb-prev { left: 14px; } .lb-next { right: 14px; }
.lb-stage { margin: 0; max-width: min(1200px, 92vw); max-height: calc(100vh - 190px); display: flex; flex-direction: column; align-items: center; }
.lb-stage img { max-width: 100%; max-height: calc(100vh - 230px); width: auto; height: auto; object-fit: contain; border-radius: var(--radius-md); background: #0c161b; }
.lb-stage figcaption { margin-top: 10px; font-size: 13px; color: #C9DCE3; text-align: center; }
.lb-thumbs { position: absolute; left: 0; right: 0; bottom: 0; display: flex; gap: 8px; overflow-x: auto; padding: 10px 14px calc(12px + env(safe-area-inset-bottom, 0px)); justify-content: flex-start; background: linear-gradient(0deg, rgba(12, 22, 27, 0.9), rgba(12, 22, 27, 0)); scrollbar-width: thin; }
.lb-thumbs button { flex: 0 0 auto; width: 64px; height: 48px; padding: 0; border: 2px solid transparent; border-radius: 6px; overflow: hidden; opacity: 0.6; background: #0c161b; }
.lb-thumbs button.active { border-color: var(--bck-teal); opacity: 1; }
.lb-thumbs img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 767px) {
  .lb-prev, .lb-next { display: none !important; }
  .lb-stage { max-width: 100vw; max-height: calc(100vh - 170px); }
  .lb-stage img { border-radius: 0; max-height: calc(100vh - 210px); }
}

/* =====================================================================
   Lead forms
   ===================================================================== */
.bck-lead-form .bck-trap { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.bck-lead-form .form-msg { display: none; margin-bottom: var(--space-4); padding: 12px 14px; border-radius: var(--radius-md); background: #fbeaea; color: var(--bck-error); font-weight: 600; font-size: 14px; }
.bck-lead-form .form-msg.show { display: block; }
.bck-lead-form .form-project { margin: 0 0 var(--space-4); padding: 10px 14px; border-radius: var(--radius-md); background: var(--bck-lavender-soft); color: var(--bck-teal-deep); font-size: 14px; }
.bck-lead-form .field-err { min-height: 0; color: var(--bck-error); font-size: 12.5px; font-weight: 600; }
.bck-lead-form .field-err:empty { display: none; }
.bck-lead-form .has-error input, .bck-lead-form .has-error select, .bck-lead-form .has-error textarea { border-color: var(--bck-error); background: #fffafa; }
.bck-lead-form .consent { margin: 4px 0 4px; }
.bck-lead-form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; font-size: 13px; line-height: 1.5; color: var(--bck-text-muted); cursor: pointer; }
.bck-lead-form .check input { width: 20px; height: 20px; flex: 0 0 auto; margin-top: 2px; accent-color: var(--bck-teal); }
.bck-lead-form .check a { color: var(--bck-teal); font-weight: 700; text-decoration: underline; }
.bck-lead-form button[disabled] { opacity: 0.7; cursor: progress; }
.bck-lead-form input[type="file"] { padding: 10px; background: var(--bck-off-white); }
.thanks-card h3 { margin-bottom: 12px; }
.thanks-steps { margin: 0 0 18px 20px; list-style: decimal; color: var(--bck-text-muted); line-height: 1.8; }

.section-offwhite { background: var(--bck-off-white); }
:root { --booked-h: 300px; }
@media (max-width: 1024px) { :root { --booked-h: 260px; } }
@media (max-width: 767px) { :root { --booked-h: min(224px, calc((100vw - 48px) / 1.5)); } }

.booked-track { align-items: stretch; gap: 16px; padding-bottom: 8px; outline-offset: 4px; }
.booked-card {
  position: relative; flex: 0 0 auto; margin: 0; overflow: hidden;
  height: var(--booked-h); aspect-ratio: var(--ar, 1.333);
  border-radius: var(--radius-lg); background: var(--bck-lavender-soft);
  border: 1px solid var(--bck-border); box-shadow: 0 6px 20px rgba(36, 103, 127, 0.10);
}
.booked-card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 600ms cubic-bezier(.22, .9, .32, 1); }
@media (hover: hover) { .booked-card:hover img { transform: scale(1.035); } }
.booked-tag {
  position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px 5px 9px; border-radius: var(--radius-pill);
  font-size: 12px; font-weight: 700; letter-spacing: 0.02em; color: var(--bck-teal-deep);
  background: rgba(255, 255, 255, 0.93); box-shadow: var(--shadow-sm);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.booked-tag svg { width: 14px; height: 14px; color: var(--bck-teal); }
.booked-progress { position: relative; height: 3px; width: 100%; max-width: 220px; margin: 22px auto 0; border-radius: 3px; background: rgba(36, 103, 127, 0.14); overflow: hidden; }
.booked-progress span { position: absolute; top: 0; left: 0; height: 100%; width: 30%; border-radius: 3px; background: var(--bck-teal); transition: left 120ms linear, width 120ms linear; }
.booked-section.is-static .carousel-nav, .booked-section.is-static .booked-progress { display: none; }
.carousel-nav button:disabled { opacity: 0.35; cursor: default; border-color: var(--bck-border); color: inherit; }
@media (max-width: 767px) {
  .booked-card { max-width: calc(100vw - 48px); border-radius: var(--radius-md); }
  .booked-track { gap: 14px; }
  .booked-tag { left: 10px; bottom: 10px; font-size: 11.5px; padding: 4px 10px 4px 8px; }
  .booked-progress { margin-top: 16px; max-width: 160px; }
  .booked-section .carousel-nav { display: none; } /* phones swipe; the progress bar shows where you are */
}
@media (prefers-reduced-motion: reduce) {
  .booked-card img, .booked-progress span, .site-header, .site-header::before { transition: none !important; }
  .booked-card:hover img { transform: none; }
}


/* ============================================================
   Uniform project cards + photo mosaic (project page)
   Every card image is the same 4:3 box whatever the shape of the photo; the picture is cropped to fit,
   and the full uncropped photo opens in the viewer.
   ============================================================ */
.cover-img { height: auto; }
.property-card { display: flex; flex-direction: column; }
.property-card .media, .property-card.wide .media { display: block; aspect-ratio: 4 / 3; }
.property-card .media img, .property-card .media .cover-img, .property-card .media .ph-img { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
.property-card .body { display: flex; flex-direction: column; flex: 1 1 auto; }
.property-card .loc { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.property-card h4 { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; min-height: 2.44em; }
.property-card .property-meta { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; margin-bottom: 14px; }
.property-card .body .price-row { margin-top: auto; }

.gm { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; aspect-ratio: 3 / 1; border-radius: var(--radius-xl); overflow: hidden; }
.gm-tile { position: relative; display: block; min-width: 0; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 0; background: var(--bck-border); overflow: hidden; cursor: zoom-in; font: inherit; appearance: none; -webkit-appearance: none; }
.gm-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 500ms cubic-bezier(.25, .8, .25, 1); }
.gm-tile:hover img { transform: scale(1.04); }
.gm-tile:focus-visible { outline: 3px solid var(--bck-teal); outline-offset: -3px; }
.gm-tile:first-child { grid-column: 1; grid-row: 1 / span 2; }
.gm-tile:nth-child(n+6) { display: none; }
.gm[data-n="1"] { grid-template-columns: 1fr; grid-template-rows: 1fr; aspect-ratio: 16 / 7; }
.gm[data-n="2"] { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr; aspect-ratio: 2.6 / 1; }
.gm[data-n="1"] .gm-tile:first-child, .gm[data-n="2"] .gm-tile:first-child { grid-row: 1; }
.gm[data-n="3"] { grid-template-columns: 2fr 1fr; aspect-ratio: 2.4 / 1; }
.gm[data-n="4"] .gm-tile:nth-child(4) { grid-column: 2 / span 2; }
.gm-more { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(12, 22, 27, 0.5); color: #fff; font-weight: 700; font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; text-align: center; padding: 0 10px; }
.gallery-main[data-big] .gallery-expand { display: none; }

@media (max-width: 767px) {
  .gallery-main { border-radius: var(--radius-lg); }
  .gm, .gm[data-n] { display: flex; gap: 8px; aspect-ratio: auto; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; border-radius: var(--radius-lg); }
  .gm::-webkit-scrollbar { display: none; }
  .gm-tile, .gm-tile:nth-child(n+6) { display: block; flex: 0 0 100%; aspect-ratio: 4 / 3; scroll-snap-align: center; border-radius: var(--radius-lg); }
  .gm-more { display: none; }
  .gallery-main[data-big] .gallery-expand { display: inline-flex; }
}

/* ============================================================
   Hero banner photo, founder photo caption, rating line, virtual tour videos
   ============================================================ */
.story-photo { margin: 0; position: relative; border-radius: var(--radius-xl); overflow: hidden; background: var(--bck-border); box-shadow: var(--shadow-md); }
.story-photo .cover-img { width: 100%; aspect-ratio: 4 / 5; height: auto; object-fit: cover; object-position: center 12%; border-radius: 0; }
.story-photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; gap: 2px; padding: 44px 20px 18px; color: #fff; background: linear-gradient(to top, rgba(12, 22, 27, 0.82), rgba(12, 22, 27, 0)); }
.story-photo figcaption strong { font-size: 20px; line-height: 1.2; font-weight: 700; }
.story-photo figcaption span { font-size: 14px; line-height: 1.35; opacity: 0.92; }

.rating-summary { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin: 12px auto 0; font-size: 15px; color: var(--bck-text-muted); }
.rating-summary strong { color: var(--bck-text); font-size: 18px; }
.rating-stars { display: inline-flex; gap: 2px; font-size: 20px; line-height: 1; letter-spacing: 0; }
.rating-stars .on { color: #E8A317; }
.rating-stars .off { color: var(--bck-border); }

.tour-card.tour-video { width: 270px; }
.tour-card.tour-video .media { background: #0c161b; }
.tour-card.tour-video .media video { width: 100%; height: 100%; object-fit: cover; background: #0c161b; }
.tour-card.tour-video .media iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tour-card.tour-video .info { padding: 12px 0 0; }
.tour-card.tour-video .info .bck-btn { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; text-align: center; }
@media (max-width: 767px) {
  .tour-card.tour-video { width: 76vw; max-width: 290px; }
  .tour-card.tour-video .media { aspect-ratio: 9 / 16; }
  .tour-card.tour-video .info { padding: 12px 0 0; }
}

/* ============================================================
   Footer office card (RERA ID + address)
   ============================================================ */
@media (min-width: 1025px) { .footer-top { grid-template-columns: 1.25fr repeat(4, 1fr) 1.55fr; } }
.footer-office { align-self: start; padding: 20px 22px; border-radius: 22px; background: rgba(12, 22, 27, 0.34); border: 1px solid rgba(255, 255, 255, 0.08); }
.footer-office .office-chip { display: inline-block; margin-bottom: 14px; padding: 7px 14px; border-radius: 10px; background: rgba(255, 255, 255, 0.1); color: #fff; font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.footer-office p { margin: 0; }
.footer-office .office-rera { font-size: 15px; font-weight: 600; color: #fff; }
.footer-office .office-rera span { color: #F2735B; }
.footer-office .office-rera strong { font-weight: 700; letter-spacing: 0.02em; }
.footer-office .office-address { margin-top: 12px; font-size: 14px; line-height: 1.55; color: #B7CBD1; }
@media (max-width: 1024px) { .footer-office { grid-column: 1 / -1; } }

/* About page team photo */
.about-photo { margin: 0; border-radius: var(--radius-xl); overflow: hidden; background: var(--bck-border); box-shadow: var(--shadow-md); }
.about-photo .cover-img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 0; }

/* Founder page */
.founder-photo { margin: 0; border-radius: var(--radius-xl); overflow: hidden; background: var(--bck-border); box-shadow: var(--shadow-md); }
.founder-photo .cover-img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; object-position: center 12%; border-radius: 0; }
.founder-role { margin-top: 10px; font-weight: 600; line-height: 1.5; color: var(--bck-teal-deep); }
.founder-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4); }
.founder-stat { padding: 26px 18px; text-align: center; background: var(--bck-white); border: 1px solid var(--bck-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.founder-stat .num { font-family: var(--bck-font-display); font-size: 32px; line-height: 1.12; color: var(--bck-teal-deep); }
.founder-stat .lbl { margin-top: 8px; font-size: 14px; line-height: 1.4; color: var(--bck-text-muted); }
.ach-no { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; margin-bottom: 12px; border-radius: 50%; background: var(--bck-lavender); color: #fff; font-weight: 700; font-size: 15px; }
.founder-list { list-style: none; margin: 12px 0 0; padding: 0; }
.founder-list li { position: relative; padding: 6px 0 6px 22px; color: var(--bck-text-muted); line-height: 1.5; }
.founder-list li::before { content: ""; position: absolute; left: 0; top: 14px; width: 8px; height: 8px; border-radius: 50%; background: var(--bck-teal); }
@media (max-width: 900px) { .founder-stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .founder-stats { gap: 12px; } .founder-stat { padding: 20px 12px; } .founder-stat .num { font-size: 24px; } }
