/* ==========================================================================
   Shamatha Infrastructure — site styles (on top of Bootstrap 5.3)

   1. Tokens          6. Hero / page hero     11. Interiors
   2. Base            7. Sections             12. Testimonials, FAQ
   3. Buttons         8. Services             13. Forms
   4. Header / nav    9. About, why           14. Footer, floating buttons
   5. Utilities      10. Projects, process    15. Service pages, legal
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  --si-black: #111111;
  --si-charcoal: #24211D;
  --si-gold: #D4A017;
  --si-gold-light: #F5D76E;
  /* Gold is too light for text on white (contrast ~2.3:1). Gold-coloured TEXT
     on light backgrounds uses this darker shade (5.5:1 on #F8F6F1). */
  --si-gold-ink: #7E5D07;
  --si-white: #FFFFFF;
  --si-warm: #F8F6F1;
  --si-text: #555555;
  --si-line: #E6E0D3;

  --si-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --si-sans: 'Inter', 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

  --si-radius: 14px;
  --si-radius-sm: 8px;
  --si-shadow: 0 18px 40px -18px rgba(17, 17, 17, .28);
  --si-shadow-sm: 0 6px 18px -8px rgba(17, 17, 17, .18);
  --si-ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 76px;    /* current header height (scroll offsets) - set by main.js */
  --header-top: 116px; /* header height at the top of the page (banner spacing) */

  /* Bootstrap variables */
  --bs-body-font-family: var(--si-sans);
  --bs-body-color: var(--si-text);
  --bs-body-bg: var(--si-white);
  --bs-link-color: var(--si-gold-ink);
  --bs-link-color-rgb: 126, 93, 7;
  --bs-link-hover-color: var(--si-black);
  --bs-link-hover-color-rgb: 17, 17, 17;
  --bs-border-color: var(--si-line);
  --bs-focus-ring-color: rgba(212, 160, 23, .45);
}

/* 2. Base ------------------------------------------------------------------ */
html { scroll-padding-top: calc(var(--header-h) + 16px); }
body { font-size: 1rem; line-height: 1.7; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
h1, h2, h3, h4, .display-title { font-family: var(--si-serif); color: var(--si-black); font-weight: 600; line-height: 1.2; letter-spacing: -.01em; }
h3 { font-size: 1.25rem; }
img { max-width: 100%; height: auto; }
picture { display: block; }
a { text-underline-offset: 3px; }
main:focus { outline: none; }

:focus-visible { outline: 3px solid var(--si-gold); outline-offset: 3px; }
.section--dark :focus-visible, .site-header :focus-visible, .site-footer :focus-visible, .hero :focus-visible, .page-hero :focus-visible { outline-color: var(--si-gold-light); }

.skip-link {
  position: fixed; top: 8px; left: 8px; z-index: 2000;
  padding: .6rem 1rem; border-radius: var(--si-radius-sm);
  background: var(--si-gold); color: var(--si-black); font-weight: 600; text-decoration: none;
  transform: translateY(-160%); transition: transform .2s var(--si-ease);
}
.skip-link:focus { transform: none; }

.text-gold { color: var(--si-gold); }

/* 3. Buttons --------------------------------------------------------------- */
.btn { font-family: var(--si-sans); font-weight: 600; letter-spacing: .01em; border-radius: 999px; padding: .7rem 1.5rem; min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--si-ease), box-shadow .2s; }
.btn-lg { padding: .9rem 2rem; font-size: 1.02rem; min-height: 54px; }
.btn:active { transform: translateY(1px); }

.btn-gold { --bs-btn-color: var(--si-black); --bs-btn-bg: var(--si-gold); --bs-btn-border-color: var(--si-gold); --bs-btn-hover-color: var(--si-black); --bs-btn-hover-bg: var(--si-gold-light); --bs-btn-hover-border-color: var(--si-gold-light); --bs-btn-active-bg: var(--si-gold-light); --bs-btn-active-color: var(--si-black); --bs-btn-active-border-color: var(--si-gold-light); --bs-btn-disabled-bg: var(--si-gold); --bs-btn-disabled-color: var(--si-black); box-shadow: 0 8px 22px -10px rgba(212, 160, 23, .7); }
.btn-outline-gold { --bs-btn-color: var(--si-white); --bs-btn-border-color: var(--si-gold); --bs-btn-hover-color: var(--si-black); --bs-btn-hover-bg: var(--si-gold); --bs-btn-hover-border-color: var(--si-gold); --bs-btn-active-bg: var(--si-gold); --bs-btn-active-color: var(--si-black); background: rgba(17, 17, 17, .25); border-width: 1.5px; backdrop-filter: blur(2px); }
.btn-dark-gold { --bs-btn-color: var(--si-white); --bs-btn-bg: var(--si-black); --bs-btn-border-color: var(--si-black); --bs-btn-hover-color: var(--si-black); --bs-btn-hover-bg: var(--si-gold); --bs-btn-hover-border-color: var(--si-gold); --bs-btn-active-bg: var(--si-gold); --bs-btn-active-color: var(--si-black); }

.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; color: var(--si-gold-ink); text-decoration: none; }
.link-arrow .icon { transition: transform .2s var(--si-ease); }
.link-arrow:hover { color: var(--si-black); }
.link-arrow:hover .icon:not(.flip) { transform: translateX(4px); }
.icon.flip { transform: rotate(180deg); }

/* 4. Header / navigation --------------------------------------------------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 1030; transition: background-color .3s, box-shadow .3s; }
.site-header .navbar { padding: .85rem 0; transition: padding .3s var(--si-ease); }
/* No backdrop-filter here: it would make the header the containing block for
   the fixed slide-in menu inside it, cutting the menu off at header height. */
.site-header.is-solid { background: rgba(17, 17, 17, .97); box-shadow: 0 6px 24px -12px rgba(0, 0, 0, .6); }
.site-header.is-solid .navbar { padding: .45rem 0; }
/* Over the hero, a soft top shade keeps the white menu readable on any photo. */
.site-header:not(.is-solid)::before { content: ''; position: absolute; inset: 0 0 -30px; background: linear-gradient(to bottom, rgba(10, 8, 5, .6), rgba(10, 8, 5, 0)); pointer-events: none; z-index: -1; }

.preview-bar { background: var(--si-gold-light); color: var(--si-black); font-size: .78rem; font-weight: 500; text-align: center; padding: .3rem 1rem; line-height: 1.35; }

.navbar-brand { padding: 0; margin-right: 1rem; }
.navbar-brand img { display: block; height: 52px; width: auto; transition: height .3s var(--si-ease); }
/* Slogan centred under the wordmark (which starts ~36.5% into the logo image). */
.brand-tagline { display: block; margin: .2rem 0 0 36.5%; text-align: center; white-space: nowrap; font-family: var(--si-sans); font-size: .7rem; font-weight: 500; font-style: italic; letter-spacing: .05em; line-height: 1.2; color: var(--si-gold-light); }
.site-header.is-solid .navbar-brand img { height: 44px; }

.navbar-toggler { border: 0; padding: .4rem; color: var(--si-white); border-radius: var(--si-radius-sm); }
.navbar-toggler:focus { box-shadow: none; }

.site-header .nav-link { font-family: var(--si-sans); font-weight: 500; font-size: .96rem; color: rgba(255, 255, 255, .9); padding: .5rem .85rem !important; position: relative; }
.site-header .nav-link:hover, .site-header .nav-link:focus-visible, .site-header .nav-link.show { color: var(--si-gold-light); }
.site-header .nav-link.active { color: var(--si-gold); }
.dropdown-toggle::after { vertical-align: .15em; border-top-width: .35em; }

.site-header .dropdown-menu { --bs-dropdown-bg: var(--si-white); --bs-dropdown-border-color: transparent; --bs-dropdown-link-active-bg: var(--si-warm); --bs-dropdown-link-active-color: var(--si-black); --bs-dropdown-link-hover-bg: var(--si-warm); border-radius: var(--si-radius); box-shadow: var(--si-shadow); padding: .6rem; min-width: 270px; border-top: 3px solid var(--si-gold); }
.site-header .dropdown-item { border-radius: var(--si-radius-sm); padding: .55rem .9rem; font-size: .94rem; color: var(--si-black); }
.dropdown-item--all { display: flex; align-items: center; justify-content: space-between; font-weight: 600; color: var(--si-gold-ink) !important; }

@media (min-width: 992px) {
  .nav-item--cta { margin-left: .75rem; }
  .site-offcanvas { background: transparent; }
  /* Open on hover for mouse users; click/keyboard still work through Bootstrap. */
  .site-header .dropdown:hover > .dropdown-menu { display: block; }
  .site-header .dropdown > .dropdown-menu { margin-top: 0; }
  .site-header .dropdown:hover > .dropdown-menu::before { content: ''; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
}

@media (max-width: 991.98px) {
  .navbar-brand img { height: 42px; }
  .brand-tagline { font-size: .6rem; letter-spacing: .03em; }
  .site-header.is-solid .navbar-brand img { height: 38px; }
  .site-offcanvas { --bs-offcanvas-width: min(360px, 88vw); background: var(--si-black); color: var(--si-white); }
  .site-offcanvas .offcanvas-header { border-bottom: 1px solid rgba(255, 255, 255, .1); padding: 1rem 1.25rem; }
  .site-offcanvas .offcanvas-logo img { height: 40px; width: auto; }
  .site-offcanvas .btn-close { opacity: .9; width: 1.4rem; height: 1.4rem; }
  .site-offcanvas .offcanvas-body { padding: 1rem 1.25rem 2rem; }
  .site-offcanvas .nav-link { font-size: 1.08rem; padding: .85rem .25rem !important; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .site-offcanvas .dropdown-menu { background: rgba(255, 255, 255, .05); box-shadow: none; border-top: 0; margin: .25rem 0 .5rem; }
  .site-offcanvas .dropdown-item { color: rgba(255, 255, 255, .88); }
  .site-offcanvas .dropdown-item:hover, .site-offcanvas .dropdown-item:focus, .site-offcanvas .dropdown-item.active { background: rgba(255, 255, 255, .08); color: var(--si-gold-light); }
  .site-offcanvas .dropdown-divider { border-color: rgba(255, 255, 255, .1); }
  .site-offcanvas .dropdown-item--all { color: var(--si-gold-light) !important; }
  .nav-item--cta { margin-top: 1.5rem; }
  .nav-item--cta .btn { width: 100%; }
}

/* 5. Utilities ------------------------------------------------------------- */
.eyebrow { font-family: var(--si-sans); font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--si-gold-ink); margin-bottom: .75rem; }
.eyebrow--lg { font-size: clamp(1.15rem, .95rem + 1vw, 1.6rem); font-weight: 700; letter-spacing: .08em; line-height: 1.3; margin-bottom: 1rem; }
/* "Why / Shamatha Infrastructure?" — big two-line heading in the About section. */
.why-title { font-size: clamp(2.2rem, 1.5rem + 2.8vw, 3.4rem); line-height: 1.1; margin-bottom: 0; }
.why-title__lead { display: block; color: var(--si-gold-ink); font-style: italic; font-weight: 500; font-size: .7em; margin-bottom: .1em; }
/* Slides in from the left when scrolled into view (main.js adds the classes). */
.slide-in { opacity: 0; transform: translate3d(-70px, 0, 0); transition: opacity .9s ease, transform 1s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--slide-delay, 0s); }
.slide-in[data-slide-in="right"] { transform: translate3d(70px, 0, 0); }
.slide-in[data-slide-in="up"] { transform: translate3d(0, 50px, 0); }
.slide-in.is-in, .slide-in.is-in[data-slide-in] { opacity: 1; transform: none; }
/* Blocks entering from the side must not widen the page while they move. */
main > section { overflow-x: clip; }
.slide-in--late.slide-in { transition-delay: .25s; } /* second column follows the first */
@media (prefers-reduced-motion: reduce) { .slide-in { opacity: 1; transform: none; transition: none; } }
.eyebrow--light, .section--dark .eyebrow, .section-head--light .eyebrow { color: var(--si-gold-light); }
.gold-rule { display: block; width: 64px; height: 2px; background: linear-gradient(90deg, var(--si-gold), var(--si-gold-light)); margin: 1rem auto 1.25rem; border-radius: 2px; }
.gold-rule--left { margin-left: 0; }
.lead-text { font-size: 1.06rem; }
.check-list { list-style: none; padding: 0; margin: 1.25rem 0 2rem; display: grid; gap: .65rem; }
.check-list li { display: flex; gap: .7rem; align-items: flex-start; color: var(--si-black); font-weight: 500; }
.check-list .icon { flex: none; color: var(--si-gold-ink); margin-top: .2rem; background: rgba(212, 160, 23, .15); border-radius: 50%; padding: 3px; }
.check-list--sm li { font-weight: 400; color: var(--si-text); font-size: .96rem; }

/* 6. Hero ------------------------------------------------------------------ */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; color: var(--si-white); overflow: hidden; background: var(--si-charcoal); }
.hero__media, .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__media img { object-fit: cover; object-position: 50% 30%; }
/* Darkest at the bottom where the text sits; the faces (upper half) stay clear. */
.hero__shade { position: absolute; inset: 0; background:
  linear-gradient(to top, rgba(17, 13, 8, .94) 0%, rgba(17, 13, 8, .78) 30%, rgba(17, 13, 8, .25) 58%, rgba(17, 13, 8, 0) 72%),
  linear-gradient(to right, rgba(17, 13, 8, .55) 0%, rgba(17, 13, 8, 0) 55%); }
.hero__content { position: relative; z-index: 1; padding-top: calc(var(--header-top) + 2rem); padding-bottom: clamp(3rem, 8vh, 6rem); }
.hero h1 { color: var(--si-white); font-size: clamp(2.25rem, 1.4rem + 3.2vw, 4.1rem); font-weight: 600; max-width: 21ch; margin-bottom: 1rem; text-shadow: 0 2px 24px rgba(0, 0, 0, .35); }
/* "A Dream Home" always on its own line - never split as "A Dream / Home". */
.hero h1 .text-gold { color: var(--si-gold); display: block; }
.hero__lead { font-size: clamp(1.05rem, .95rem + .45vw, 1.3rem); color: rgba(255, 255, 255, .9); max-width: 40rem; margin-bottom: 2rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; }
/* Hero text slides up and fades in on load, one line after another
   (each element sets its own --rise-delay). */
.hero .rise { display: block; animation: si-rise 1.1s cubic-bezier(.2, .7, .2, 1) var(--rise-delay, 0s) both; }
.hero .hero__cta.rise { display: flex; }
@keyframes si-rise { from { opacity: 0; transform: translate3d(0, 48px, 0); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .hero .rise { animation: none; } }

/* Portrait screens use the portrait family photo; centre the text. */
@media (max-aspect-ratio: 4/5) {
  .hero__media img { object-position: 50% 38%; }
  .hero__content { text-align: center; }
  .hero h1, .hero__lead { margin-left: auto; margin-right: auto; }
  .hero__cta { justify-content: center; }
  .hero__shade { background: linear-gradient(to top, rgba(17, 13, 8, .95) 0%, rgba(17, 13, 8, .82) 34%, rgba(17, 13, 8, .2) 58%, rgba(17, 13, 8, 0) 70%); }
}
@media (max-width: 575.98px) {
  .hero__cta { flex-direction: column; align-items: stretch; gap: .75rem; }
  .hero__cta .btn { width: 100%; }
  .hero h1 { max-width: none; }
}
/* Short landscape screens (phones turned sideways): don't force full height. */
@media (max-height: 520px) and (orientation: landscape) {
  .hero { min-height: 560px; }
}

/* Inner page hero */
.page-hero { position: relative; background: var(--si-charcoal); color: var(--si-white); padding: calc(var(--header-top) + 3.5rem) 0 3.5rem; overflow: hidden; }
.page-hero--tall { min-height: 80vh; display: flex; align-items: center; }
.page-hero__media { position: absolute; inset: 0; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; opacity: .32; }
.page-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(17, 17, 17, .92) 0%, rgba(36, 33, 29, .7) 60%, rgba(36, 33, 29, .45) 100%); }
.page-hero__content { position: relative; z-index: 1; }
.page-hero h1 { color: var(--si-white); font-size: clamp(2rem, 1.5rem + 2.2vw, 3.25rem); max-width: 22ch; margin: .5rem 0 1rem; }
.page-hero h1::after { content: ''; display: block; width: 64px; height: 2px; margin-top: 1.1rem; background: linear-gradient(90deg, var(--si-gold), var(--si-gold-light)); }
.page-hero--tall h1::after { margin-left: auto; margin-right: auto; }
/* Inner banners: breadcrumb, title, gold rule and intro all share one left edge.
   (The centred 404 banner centres its title and intro instead.) */
.page-hero--tall h1, .page-hero--tall .page-hero__lead { margin-left: auto; margin-right: auto; }
.page-hero__lead { color: rgba(255, 255, 255, .85); font-size: 1.1rem; max-width: 46rem; margin: 0; }
.breadcrumb { --bs-breadcrumb-divider-color: rgba(255, 255, 255, .5); --bs-breadcrumb-item-active-color: var(--si-gold-light); font-size: .88rem; margin: 0; }
.breadcrumb a { color: rgba(255, 255, 255, .8); text-decoration: none; }
.breadcrumb a:hover { color: var(--si-gold-light); text-decoration: underline; }

/* 7. Sections -------------------------------------------------------------- */
.section { padding: clamp(4rem, 3rem + 4vw, 6.5rem) 0; }
.section--warm { background: var(--si-warm); }
.section--dark { background: var(--si-charcoal); color: rgba(255, 255, 255, .78); }
.section--dark h2, .section--dark h3 { color: var(--si-white); }
.section-head { max-width: 46rem; margin-bottom: 3rem; }
/* A faint family photo behind the section heading, fading out before the cards. */
.section--family-bg { position: relative; isolation: isolate; }
.section--family-bg::before { content: ''; position: absolute; inset: 0 0 auto; height: 620px; z-index: -1; pointer-events: none;
  background: url(../img/hero-family-home-1145.webp) center 30% / cover no-repeat; opacity: .16;
  -webkit-mask-image: linear-gradient(to bottom, #000 45%, transparent); mask-image: linear-gradient(to bottom, #000 45%, transparent); }
/* The hero shows the other family photo, so this one never repeats directly below it. */
@media (max-aspect-ratio: 4/5) { .section--family-bg::before { height: 560px; background-image: url(../img/hero-family-generations-768.webp); background-position: center 35%; } }
.section-head h2 { font-size: clamp(1.85rem, 1.4rem + 1.8vw, 2.75rem); margin: 0; }
.section-lead { font-size: 1.06rem; margin: 0; }
.section-head--light .section-lead { color: rgba(255, 255, 255, .8); }
.display-title { font-size: clamp(1.85rem, 1.4rem + 1.8vw, 2.6rem); }

.cta-band { background: var(--si-black); color: var(--si-white); padding: 3.25rem 0; border-top: 3px solid var(--si-gold); }
.cta-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.cta-band h2 { color: var(--si-white); font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); margin: 0 0 .35rem; }
.cta-band p { margin: 0; color: rgba(255, 255, 255, .75); }

/* 8. Services -------------------------------------------------------------- */
.service-card { position: relative; height: 100%; display: flex; flex-direction: column; background: var(--si-white); border-radius: var(--si-radius); overflow: hidden; box-shadow: var(--si-shadow-sm); border: 1px solid var(--si-line); transition: transform .3s var(--si-ease), box-shadow .3s var(--si-ease); }
.service-card:hover, .service-card:focus-within { transform: translateY(-4px); box-shadow: var(--si-shadow); }
.service-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--si-charcoal); }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--si-ease); }
.service-card:hover .service-card__media img { transform: scale(1.05); }
.service-card__icon { position: absolute; left: 1.25rem; bottom: -24px; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--si-black); color: var(--si-gold); border: 2px solid var(--si-gold); z-index: 1; }
.service-card__media { overflow: visible; }
.service-card__media picture { height: 100%; overflow: hidden; border-radius: var(--si-radius) var(--si-radius) 0 0; }
.service-card__body { padding: 2.25rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.service-card__title { font-size: 1.3rem; margin-bottom: .6rem; }
.service-card__body p { font-size: .96rem; flex: 1; }
.service-card .stretched-link:focus-visible { outline: none; }
.service-card .stretched-link:focus-visible::after { outline: 3px solid var(--si-gold); outline-offset: 2px; border-radius: var(--si-radius); }

.services-more__title { text-align: center; font-size: 1.35rem; margin: 3.5rem 0 1.5rem; }
.service-chip { display: flex; align-items: center; gap: .85rem; height: 100%; padding: .9rem 1.1rem; background: var(--si-white); border: 1px solid var(--si-line); border-radius: var(--si-radius-sm); color: var(--si-black); font-weight: 500; text-decoration: none; transition: border-color .2s, box-shadow .2s, transform .2s var(--si-ease); }
.service-chip:hover, .service-chip:focus-visible { border-color: var(--si-gold); box-shadow: var(--si-shadow-sm); transform: translateY(-2px); color: var(--si-black); }
.service-chip__icon { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(212, 160, 23, .14); color: var(--si-gold-ink); }
.service-chip__arrow { margin-left: auto; flex: none; color: var(--si-gold-ink); }

.area-card { display: flex; align-items: center; gap: 1rem; height: 100%; padding: 1.25rem; border-radius: var(--si-radius); background: var(--si-white); border: 1px solid var(--si-line); color: var(--si-black); text-decoration: none; font-weight: 600; transition: border-color .2s, box-shadow .2s, transform .2s var(--si-ease); }
.area-card:hover, .area-card:focus-visible { border-color: var(--si-gold); box-shadow: var(--si-shadow-sm); transform: translateY(-2px); color: var(--si-black); }
.area-card__icon { flex: none; width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: var(--si-black); color: var(--si-gold); }
.area-card__title { font-family: var(--si-serif); font-size: 1.08rem; line-height: 1.3; }
.area-card__arrow { margin-left: auto; flex: none; color: var(--si-gold-ink); }

/* 9. About, why ------------------------------------------------------------ */
.about-media { position: relative; padding: 0 0 2.5rem 2.5rem; }
.about-media::before { content: ''; position: absolute; left: 0; bottom: 0; width: 65%; height: 70%; border: 2px solid var(--si-gold); border-radius: var(--si-radius); }
.about-media__main { position: relative; border-radius: var(--si-radius); box-shadow: var(--si-shadow); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.about-media__badge { position: absolute; right: -10px; bottom: 0; background: var(--si-charcoal); padding: 1.1rem 1.25rem; border-radius: var(--si-radius); box-shadow: var(--si-shadow); max-width: 46%; }
.about-media__badge img { width: 100%; height: auto; }
@media (max-width: 575.98px) { .about-media { padding: 0 0 2rem 1.25rem; } .about-media__badge { right: 0; padding: .8rem; } }

.why-item { text-align: center; padding: 1rem .5rem; height: 100%; }
.why-item__icon { display: inline-grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; color: var(--si-gold-ink); border: 1.5px solid var(--si-gold); margin-bottom: 1.25rem; background: var(--si-white); }
.why-item h3 { font-size: 1.2rem; margin-bottom: .6rem; }
.why-item p { font-size: .96rem; margin: 0; }
.why-item--card { background: var(--si-white); border: 1px solid var(--si-line); border-radius: var(--si-radius); padding: 2rem 1.5rem; }
@media (min-width: 992px) {
  .why-grid > div + div .why-item { border-left: 1px solid; border-image: linear-gradient(to bottom, transparent, var(--si-gold), transparent) 1; }
}

/* 10. Projects, process ---------------------------------------------------- */
.filter-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-bottom: 2.5rem; }
.filter-btn { border: 1px solid var(--si-line); background: var(--si-white); color: var(--si-black); border-radius: 999px; padding: .55rem 1.15rem; font-size: .92rem; font-weight: 500; min-height: 44px; transition: background-color .2s, border-color .2s, color .2s; }
.filter-btn:hover { border-color: var(--si-gold); }
.filter-btn[aria-pressed="true"] { background: var(--si-black); border-color: var(--si-black); color: var(--si-gold-light); }
.filter-empty { text-align: center; margin-top: 2rem; }

/* Projects gallery: masonry (3 / 2 / 1 columns, photos keep their own shape), zoom on hover, full-screen viewer */
.gallery { columns: 3; column-gap: 14px; margin: 0; }
.gallery__item { break-inside: avoid; margin-bottom: 14px; }
@media (max-width: 991.98px) { .gallery { columns: 2; } }
@media (max-width: 479.98px) { .gallery { columns: 1; } }
.gallery__item[hidden] { display: none !important; }
.gallery__item.is-fading { animation: gallery-fade .45s var(--si-ease) both; }
@keyframes gallery-fade { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }
.gallery__link { position: relative; display: block; overflow: hidden; border-radius: var(--si-radius-sm); background: var(--si-warm); }
.gallery__link img { display: block; width: 100%; height: auto; transition: transform .6s var(--si-ease); }
.gallery__overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6rem; background: linear-gradient(180deg, rgba(17, 17, 17, .15), rgba(17, 17, 17, .7)); color: var(--si-white); opacity: 0; transition: opacity .35s var(--si-ease); }
.gallery__zoom { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--si-gold); color: var(--si-black); transform: scale(.6); transition: transform .35s var(--si-ease); }
.gallery__cat { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--si-gold-light); }
.gallery__link:hover img, .gallery__link:focus-visible img { transform: scale(1.06); }
.gallery__link:hover .gallery__overlay, .gallery__link:focus-visible .gallery__overlay { opacity: 1; }
.gallery__link:hover .gallery__zoom, .gallery__link:focus-visible .gallery__zoom { transform: none; }
.gallery__link:focus-visible { outline: 3px solid var(--si-gold); outline-offset: 3px; }
.gallery-note { text-align: center; max-width: 40rem; margin: -1rem auto 1.5rem; font-size: .9rem; background: #FFF6D6; border: 1px solid var(--si-gold); color: var(--si-black); border-radius: var(--si-radius-sm); padding: .6rem 1rem; }

.lightbox { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; background: rgba(10, 10, 10, .94); padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); animation: gallery-fade .3s ease both; }
.lightbox[hidden] { display: none; }
.lightbox-open, .lightbox-open body { overflow: hidden; }
.lightbox__figure { margin: 0; max-width: min(1200px, 100%); display: flex; flex-direction: column; align-items: center; gap: .8rem; }
.lightbox__img { max-width: 100%; max-height: calc(100vh - 140px); max-height: calc(100dvh - 140px); object-fit: contain; border-radius: var(--si-radius-sm); opacity: 0; transition: opacity .3s ease; }
.lightbox__img.is-loaded { opacity: 1; }
.lightbox__caption { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: .3rem .9rem; color: rgba(255, 255, 255, .85); font-size: .92rem; text-align: center; }
.lightbox__cat { color: var(--si-gold-light); font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.lightbox__count { color: rgba(255, 255, 255, .55); font-variant-numeric: tabular-nums; }
.lightbox__btn { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 50%; background: rgba(17, 17, 17, .6); color: var(--si-white); font-size: 2rem; line-height: 1; transition: background-color .2s, color .2s, border-color .2s; }
.lightbox__btn:hover, .lightbox__btn:focus-visible { background: var(--si-gold); border-color: var(--si-gold); color: var(--si-black); }
.lightbox__btn:focus-visible { outline: 3px solid var(--si-gold-light); outline-offset: 2px; }
.lightbox__btn[hidden] { display: none; }
.lightbox__close { top: max(16px, env(safe-area-inset-top)); right: max(16px, env(safe-area-inset-right)); }
.lightbox__prev { left: max(16px, env(safe-area-inset-left)); top: 50%; transform: translateY(-50%); }
.lightbox__next { right: max(16px, env(safe-area-inset-right)); top: 50%; transform: translateY(-50%); }
@media (max-width: 575.98px) { .lightbox__prev, .lightbox__next { top: auto; bottom: max(16px, env(safe-area-inset-bottom)); transform: none; } .lightbox__img { max-height: calc(100dvh - 190px); } }
@media (prefers-reduced-motion: reduce) { .gallery__item.is-fading, .lightbox { animation: none; } .gallery__link img, .gallery__overlay, .gallery__zoom, .lightbox__img { transition: none; } }
.sample-badge { position: absolute; left: .75rem; top: .75rem; background: rgba(17, 17, 17, .85); color: var(--si-gold-light); font-size: .72rem; font-weight: 600; letter-spacing: .03em; padding: .3rem .65rem; border-radius: 999px; }
.sample-note { background: #FFF6D6; border: 1px solid var(--si-gold); color: var(--si-black); border-radius: var(--si-radius-sm); padding: 1rem 1.25rem; margin-bottom: 2rem; }
.empty-state { text-align: center; max-width: 34rem; margin: 0 auto; padding: 3rem 1.5rem; border: 1px dashed var(--si-gold); border-radius: var(--si-radius); background: var(--si-warm); }
.empty-state__icon { display: inline-grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: var(--si-black); color: var(--si-gold); margin-bottom: 1rem; }

/* Timeline: vertical on phones, horizontal from 992px */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 2rem; position: relative; }
.timeline__step { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 1.25rem; align-items: start; }
.timeline__num { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-family: var(--si-serif); font-size: 1.35rem; font-weight: 600; color: var(--si-gold); border: 1.5px solid var(--si-gold); background: var(--si-charcoal); position: relative; z-index: 1; }
.timeline::before { content: ''; position: absolute; left: 31px; top: 32px; bottom: 32px; width: 2px; background: linear-gradient(to bottom, var(--si-gold), rgba(212, 160, 23, .15)); }
.timeline h3 { font-size: 1.25rem; margin: .65rem 0 .35rem; }
.timeline p { margin: 0; }
@media (min-width: 992px) {
  .timeline { grid-template-columns: repeat(4, 1fr); gap: 2rem; }
  .timeline__step { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .timeline::before { left: 12.5%; right: 12.5%; top: 31px; bottom: auto; width: auto; height: 2px; background: linear-gradient(90deg, var(--si-gold), var(--si-gold-light), var(--si-gold)); }
  .timeline h3 { margin-top: .5rem; }
}

/* 11. Interiors ------------------------------------------------------------ */
.interiors__media { position: relative; }
.interiors__media img { border-radius: var(--si-radius); box-shadow: var(--si-shadow); width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.interiors__media::after { content: ''; position: absolute; right: -14px; top: -14px; width: 40%; height: 40%; border-top: 2px solid var(--si-gold); border-right: 2px solid var(--si-gold); border-radius: 0 var(--si-radius) 0 0; pointer-events: none; }
@media (max-width: 575.98px) { .interiors__media::after { right: -6px; top: -6px; } }
.feature-list { list-style: none; padding: 0; margin: 1.5rem 0 2rem; display: grid; gap: 1rem; }
.feature-list li { display: flex; gap: 1rem; align-items: flex-start; }
.feature-list strong { display: block; color: var(--si-black); font-weight: 600; }
.feature-list__icon { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--si-black); color: var(--si-gold); }
.room-card { background: var(--si-white); border-radius: var(--si-radius); overflow: hidden; border: 1px solid var(--si-line); height: 100%; }
.room-card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.room-card__body { padding: 1.4rem 1.5rem; }
.room-card__body p { margin: 0; font-size: .96rem; }
.photo-note { text-align: center; font-size: .85rem; margin: 1.5rem 0 0; }

/* 12. Testimonials, FAQ ---------------------------------------------------- */
.testimonial-carousel { max-width: 52rem; margin: 0 auto; text-align: center; }
.testimonial-carousel .carousel-item { padding: .75rem .5rem 1.5rem; }
/* Each review sits on a white card with a gold top edge. */
.testimonial-card { position: relative; background: var(--si-white); border-radius: 20px; padding: clamp(2rem, 1.4rem + 2vw, 3rem) clamp(1.25rem, .8rem + 2vw, 3rem); box-shadow: 0 24px 50px -32px rgba(17, 13, 8, .45); border-top: 4px solid var(--si-gold); }
.testimonial__sample { position: absolute; top: 1rem; right: 1rem; font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--si-gold-ink); background: rgba(212, 160, 23, .12); border-radius: 999px; padding: .25rem .65rem; }
.testimonial__quote-mark { color: var(--si-gold); display: inline-block; margin-bottom: .5rem; }
.testimonial-carousel blockquote { margin-bottom: 1.5rem; }
.testimonial-carousel blockquote p { font-family: var(--si-serif); font-size: clamp(1.15rem, 1rem + .8vw, 1.5rem); color: var(--si-black); line-height: 1.55; font-style: italic; margin: 0; }
.testimonial-carousel figcaption { display: inline-flex; align-items: center; gap: .75rem; text-align: left; }
.testimonial__avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; flex: none; color: var(--si-black); background: linear-gradient(135deg, var(--si-gold), var(--si-gold-light)); }
.testimonial-carousel figcaption strong { display: block; color: var(--si-black); }
.testimonial-carousel figcaption span span, .testimonial-carousel figcaption > span:last-child > span { display: block; font-size: .9rem; }
.testimonial-controls { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 2rem; }
.testimonial-controls .carousel-indicators { position: static; margin: 0; }
.testimonial-controls .carousel-indicators [data-bs-target] { width: 10px; height: 10px; border-radius: 50%; background: var(--si-black); border: 0; opacity: .25; }
.testimonial-controls .carousel-indicators .active { opacity: 1; background: var(--si-gold); }
.carousel-ctrl { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--si-black); background: transparent; color: var(--si-black); display: grid; place-items: center; transition: background-color .2s, color .2s; }
.carousel-ctrl:hover { background: var(--si-black); color: var(--si-gold); }

.faq { max-width: 52rem; margin: 0 auto; --bs-accordion-border-color: var(--si-line); --bs-accordion-btn-focus-box-shadow: 0 0 0 3px rgba(212, 160, 23, .4); --bs-accordion-active-bg: var(--si-white); --bs-accordion-active-color: var(--si-black); --bs-accordion-border-radius: var(--si-radius); --bs-accordion-inner-border-radius: var(--si-radius); }
.faq .accordion-item { margin-bottom: .75rem; border: 1px solid var(--si-line) !important; border-radius: var(--si-radius) !important; overflow: hidden; }
.faq .accordion-header { font-family: var(--si-sans); }
.faq .accordion-button { font-family: var(--si-sans); font-weight: 600; font-size: 1.02rem; color: var(--si-black); padding: 1.15rem 1.35rem; }
.faq .accordion-button:not(.collapsed) { box-shadow: inset 3px 0 0 var(--si-gold); }
.faq .accordion-body { padding: 0 1.35rem 1.25rem; }

/* 13. Forms ---------------------------------------------------------------- */
.form-card { background: var(--si-white); border-radius: var(--si-radius); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); box-shadow: var(--si-shadow); border-top: 4px solid var(--si-gold); }
.contact-card { margin-top: 2rem; background: var(--si-white); border: 1px solid var(--si-line); border-radius: var(--si-radius); padding: 1.5rem; }
.contact-card h3 { font-size: 1.15rem; }
.form-label { font-weight: 600; color: var(--si-black); font-size: .92rem; margin-bottom: .35rem; }
.form-control, .form-select { min-height: 50px; border-radius: var(--si-radius-sm); border-color: #D9D2C3; font-size: 1rem; }
.form-control:focus, .form-select:focus { border-color: var(--si-gold); box-shadow: 0 0 0 .2rem rgba(212, 160, 23, .25); }
textarea.form-control { min-height: 130px; }
.form-check-input { width: 1.25em; height: 1.25em; margin-top: .2em; }
.form-check-input:checked { background-color: var(--si-black); border-color: var(--si-black); }
.form-check-input:focus { box-shadow: 0 0 0 .2rem rgba(212, 160, 23, .35); border-color: var(--si-gold); }
.form-check-label { font-size: .92rem; }
.req { color: #B42318; }
.optional { font-weight: 400; color: var(--si-text); }
.form-note { font-size: .85rem; margin-bottom: 1rem; }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { border-radius: var(--si-radius-sm); padding: .9rem 1.1rem; margin-bottom: 1rem; font-weight: 500; }
.form-status--ok { background: #E9F6EC; color: #14532D; border: 1px solid #A7D7B4; }
.form-status--error { background: #FDECEC; color: #8A1C1C; border: 1px solid #F1B5B5; }
.quote-form .btn[disabled] { opacity: .75; }
@media (max-width: 575.98px) { .quote-form [data-submit] { width: 100%; } }

.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; }
.contact-list li { display: flex; gap: .75rem; align-items: flex-start; }
.contact-list .icon { flex: none; color: var(--si-gold-ink); margin-top: .2rem; }
.contact-list a { color: var(--si-black); text-decoration: none; font-weight: 500; }
.contact-list a:hover { color: var(--si-gold-ink); text-decoration: underline; }
.contact-list--light .icon { color: var(--si-gold); }
.contact-list--light a, .contact-list--light span { color: rgba(255, 255, 255, .85); }
.contact-list--light a:hover { color: var(--si-gold-light); }
.contact-pending { margin: 0; font-size: .95rem; }

/* 14. Footer, floating buttons --------------------------------------------- */
.site-footer { background: var(--si-charcoal); color: rgba(255, 255, 255, .72); padding: 4.5rem 0 0; border-top: 3px solid var(--si-gold); font-size: .95rem; }
.footer-logo img { width: 210px; height: auto; margin-bottom: 1.25rem; }
.footer-intro em { color: var(--si-gold-light); font-style: normal; }
.footer-title { font-family: var(--si-sans); color: var(--si-white); font-size: .82rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 1.25rem; }
.footer-title::after { content: ''; display: block; width: 32px; height: 2px; background: var(--si-gold); margin-top: .6rem; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.footer-links a, .site-footer .contact-pending a { color: rgba(255, 255, 255, .75); text-decoration: none; }
.footer-links a:hover, .site-footer .contact-pending a:hover { color: var(--si-gold-light); text-decoration: underline; }
.site-footer .contact-pending a { color: var(--si-gold-light); }
.footer-social { list-style: none; padding: 0; margin: 1.25rem 0 0; display: flex; gap: .6rem; }
.footer-social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .2); color: var(--si-white); transition: background-color .2s, color .2s, border-color .2s; }
.footer-social a:hover { background: var(--si-gold); border-color: var(--si-gold); color: var(--si-black); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 3.5rem; padding: 1.5rem 0 2rem; font-size: .88rem; }
.footer-bottom p { margin: 0; }
.footer-bottom ul { list-style: none; display: flex; gap: 1.5rem; padding: 0; margin: 0; }
.footer-bottom a { color: rgba(255, 255, 255, .75); }
.footer-bottom a:hover { color: var(--si-gold-light); }
/* (Phones: the sticky action bar reserves its own space - see .mobile-bar.) */

.float-contact { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 1020; display: flex; flex-direction: column; gap: 12px; transition: opacity .25s, transform .25s var(--si-ease); }
.float-contact.is-tucked { opacity: 0; transform: translateX(120%); pointer-events: none; }
.float-btn { position: relative; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: var(--si-white); box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .45); transition: transform .2s var(--si-ease), box-shadow .2s; }
.float-btn:hover { transform: scale(1.06); color: var(--si-white); }
.float-btn--wa { background: #1FAF54; }
.float-btn--phone { background: var(--si-gold); color: var(--si-black); }
.float-btn--phone:hover { color: var(--si-black); }
.float-btn--placeholder { outline: 2px dashed rgba(255, 255, 255, .9); outline-offset: -6px; }
.float-btn::before { content: attr(data-tip); position: absolute; right: calc(100% + 12px); top: 50%; transform: translateY(-50%) translateX(6px); white-space: nowrap; background: var(--si-black); color: var(--si-white); font-size: .82rem; font-weight: 500; padding: .35rem .7rem; border-radius: 6px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.float-btn:hover::before, .float-btn:focus-visible::before { opacity: 1; transform: translateY(-50%); }
@media (max-width: 767.98px) {
  /* Above the mobile browser toolbar area and smaller. */
  .float-contact { bottom: calc(20px + env(safe-area-inset-bottom)); right: 12px; gap: 10px; }
  .float-btn { width: 50px; height: 50px; }
  .float-btn::before { display: none; }
}

/* 15. Service pages, legal ------------------------------------------------- */
.sub-services { display: grid; gap: 1rem; }
.sub-service { display: flex; gap: 1rem; padding: 1.25rem; border: 1px solid var(--si-line); border-radius: var(--si-radius); background: var(--si-white); scroll-margin-top: calc(var(--header-h) + 24px); }
.sub-service:target { border-color: var(--si-gold); box-shadow: 0 0 0 3px rgba(212, 160, 23, .2); }
.sub-service h3 { font-size: 1.15rem; margin-bottom: .35rem; }
.sub-service p { margin: 0; font-size: .96rem; }
.sub-service__icon { flex: none; width: 50px; height: 50px; border-radius: 12px; display: grid; place-items: center; background: var(--si-black); color: var(--si-gold); }
.side-card { background: var(--si-warm); border-radius: var(--si-radius); padding: 1.75rem; border-top: 4px solid var(--si-gold); }
.side-card h2 { font-size: 1.4rem; }
.side-figure { margin: 1.5rem 0 0; }
.side-figure img { border-radius: var(--si-radius); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.side-figure figcaption, .project-figure figcaption { font-size: .8rem; margin-top: .5rem; }
@media (min-width: 992px) { .side-card { position: sticky; top: calc(var(--header-h) + 24px); } }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.steps__item { background: var(--si-white); border: 1px solid var(--si-line); border-radius: var(--si-radius); padding: 1.5rem; }
.steps__num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--si-black); color: var(--si-gold); font-weight: 600; margin-bottom: .9rem; }
.steps__item h3 { font-size: 1.12rem; margin-bottom: .4rem; }
.steps__item p { margin: 0; font-size: .95rem; }
.project-figure img { border-radius: var(--si-radius); width: 100%; margin-bottom: 1.5rem; }
.facts { display: grid; grid-template-columns: auto 1fr; gap: .4rem 1rem; margin: 1rem 0 1.5rem; }
.facts dt { font-weight: 600; color: var(--si-black); }
.facts dd { margin: 0; }
.legal { max-width: 48rem; }
.legal h2 { font-size: 1.5rem; margin-top: 2.25rem; }
.legal__review { background: #FFF6D6; border-left: 4px solid var(--si-gold); padding: 1rem 1.25rem; border-radius: var(--si-radius-sm); color: var(--si-black); }

/* Reduced motion: no transitions, transforms or smooth scrolling. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .service-card:hover, .service-chip:hover, .area-card:hover { transform: none; }
  .service-card:hover img, .gallery__link:hover img { transform: none; }
}

/* Contact page: Phone / Email / Address cards */
.section--tight { padding: 3.5rem 0; }
.info-card { height: 100%; text-align: center; background: var(--si-white); border: 1px solid var(--si-line); border-top: 3px solid var(--si-gold); border-radius: var(--si-radius); padding: 2rem 1.5rem; box-shadow: var(--si-shadow-sm); display: flex; flex-direction: column; align-items: center; }
.info-card__icon { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--si-black); color: var(--si-gold); margin-bottom: 1rem; }
.info-card h3 { font-size: 1.3rem; margin-bottom: .5rem; }
.info-card__value { margin: 0; font-size: 1.05rem; color: var(--si-black); font-weight: 500; overflow-wrap: anywhere; }
.info-card__value a { color: var(--si-black); text-decoration: none; }
.info-card__value a:hover { color: var(--si-gold-ink); text-decoration: underline; }
.info-card__pending { color: var(--si-text); font-weight: 400; font-style: italic; }
.info-card__extra { display: inline-flex; align-items: center; gap: .35rem; margin-top: .75rem; font-size: .92rem; font-weight: 600; color: var(--si-gold-ink); text-decoration: none; }
.info-note { text-align: center; margin: 1.5rem 0 0; font-size: .92rem; }
@media (max-width: 767.98px) {
  .info-card { flex-direction: row; flex-wrap: wrap; align-items: center; text-align: left; padding: 1.1rem 1.25rem; column-gap: 1rem; }
  .info-card__icon { width: 52px; height: 52px; margin: 0; grid-row: span 2; }
  .info-card h3 { margin: 0; font-size: 1.1rem; flex: 1; }
  .info-card__value { flex-basis: 100%; padding-left: calc(52px + 1rem); margin-top: -.6rem; }
  .info-card__extra { padding-left: calc(52px + 1rem); margin-top: .35rem; }
}

/* Top bar: social icons left, phone + email right. Tucks away once the
   header turns solid on scroll, so the sticky header stays slim. */
.topbar { background: rgba(17, 17, 17, .72); border-bottom: 1px solid rgba(212, 160, 23, .28); font-size: .84rem; max-height: 60px; overflow: hidden; transition: max-height .3s var(--si-ease), opacity .25s; }
.site-header.is-solid .topbar { max-height: 0; opacity: 0; border-bottom-width: 0; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 40px; }
.topbar ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; }
.topbar__social { gap: .35rem; }
.topbar__social a, .topbar__social .topbar__ph { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: rgba(255, 255, 255, .85); transition: background-color .2s, color .2s; }
.topbar__social a:hover { background: var(--si-gold); color: var(--si-black); }
.topbar__contact { gap: 1.5rem; }
.topbar__contact a, .topbar__contact .topbar__ph { display: inline-flex; align-items: center; gap: .45rem; color: rgba(255, 255, 255, .88); text-decoration: none; }
.topbar__contact .icon { color: var(--si-gold); flex: none; }
.topbar__contact a:hover { color: var(--si-gold-light); }
/* Placeholders (preview build only): visibly not real links. */
.topbar__ph { opacity: .6; cursor: default; }
.topbar__contact .topbar__ph .topbar__text { font-style: italic; }
@media (max-width: 575.98px) {
  .topbar { font-size: .8rem; }
  .topbar__contact { gap: 1rem; }
  /* Real details stay readable; placeholder labels shrink to the icon. */
  .topbar__contact .topbar__ph .topbar__text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .topbar__contact a .topbar__text { max-width: 9.5rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}

/* About section family photo: a portrait frame for the portrait photo, so the
   hands forming a roof and all three faces sit in the upper part and the logo
   badge (bottom right) only overlaps the lower part of the picture. */
.about-media__main--family { aspect-ratio: 4 / 3; object-position: 50% 45%; } /* wide family photo: keep all six people in frame */
/* Smaller logo badge pushed out past the corner, so it does not cover the family. */
.about-media--family { padding-bottom: 4.5rem; }
.about-media--family .about-media__badge { max-width: 34%; right: -18px; bottom: 0; padding: .85rem 1rem; }
@media (max-width: 575.98px) { .about-media--family { padding-bottom: 3.25rem; } .about-media--family .about-media__badge { max-width: 40%; right: 0; padding: .65rem; } }
@media (max-width: 991.98px) { .about-media--family { max-width: 460px; margin: 0 auto; } }

/* Phones: sticky action bar at the bottom - Call | WhatsApp | Get a Free Quote.
   It replaces the floating round buttons on small screens. */
.mobile-bar { display: none; }
@media (max-width: 767.98px) {
  .mobile-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 1025;
    display: grid; grid-template-columns: repeat(var(--items, 1), 1fr);
    background: var(--si-black); border-top: 2px solid var(--si-gold);
    padding-bottom: env(safe-area-inset-bottom);
    box-shadow: 0 -8px 24px -12px rgba(0, 0, 0, .5);
  }
  .mobile-bar__item {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .2rem;
    min-height: 62px; padding: .45rem .25rem;
    color: var(--si-white); font-size: .8rem; font-weight: 600; text-decoration: none; text-align: center; line-height: 1.2;
  }
  .mobile-bar__item + .mobile-bar__item { border-left: 1px solid rgba(255, 255, 255, .1); }
  .mobile-bar__item .icon { color: var(--si-gold); }
  .mobile-bar__item:hover, .mobile-bar__item:focus-visible { color: var(--si-gold-light); background: rgba(255, 255, 255, .05); }
  .mobile-bar__item--wa .icon { color: #25D366; }
  .mobile-bar__item--quote { background: var(--si-gold); color: var(--si-black); border-left-color: transparent !important; }
  .mobile-bar__item--quote .icon { color: var(--si-black); }
  .mobile-bar__item--quote:hover, .mobile-bar__item--quote:focus-visible { background: var(--si-gold-light); color: var(--si-black); }
  .mobile-bar__item:focus-visible { outline-offset: -4px; }
  /* A single quote button reads better as one row: icon beside the label. */
  .mobile-bar[style*="--items:1"] .mobile-bar__item { flex-direction: row; gap: .55rem; font-size: .98rem; min-height: 56px; }
  /* Room for the bar, so it never covers the footer or the last form field. */
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .float-contact { display: none; }
}

/* Construction packages ----------------------------------------------------- */
.packages .package-card { height: 100%; display: flex; flex-direction: column; align-items: center; text-align: center; gap: .6rem; padding: 2rem 1.5rem 1.75rem; border-radius: 20px; background: var(--si-white); color: var(--si-black); box-shadow: 0 24px 50px -30px rgba(0, 0, 0, .7); transition: transform .3s ease, box-shadow .3s ease; }
.packages .package-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .85); }
.package-card__icon { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; color: var(--si-gold); border: 3px solid var(--si-gold); margin-bottom: .5rem; transition: background .3s ease, color .3s ease; }
.package-card:hover .package-card__icon { background: var(--si-gold); color: var(--si-black); }
.section--dark .package-card__name { color: var(--si-black); font-family: var(--si-sans); font-size: 1.1rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; margin: 0; }
.package-card__price { margin: 0; font-size: 1.05rem; color: #4a4a4a; }
.package-card__price strong { color: var(--si-black); font-size: 1.3rem; }
.package-card__note { margin: 0; font-size: .85rem; color: #6b6b6b; }
.package-card__btn { margin-top: auto; }
.packages__note { margin: 2rem auto 0; max-width: 40rem; text-align: center; font-size: .9rem; padding: .7rem 1rem; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }

/* Numbers band ---------------------------------------------------------------- */
.stats-band { position: relative; overflow: hidden; padding: clamp(4rem, 3rem + 4vw, 6.5rem) 0; color: var(--si-white); background: var(--si-black); isolation: isolate; }
.stats-band__media { position: absolute; inset: 0; z-index: -1; }
.stats-band__media picture, .stats-band__media img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.stats-band__media img { object-fit: cover; }
.stats-band__media::after { content: ''; position: absolute; inset: 0; background: rgba(17, 15, 12, .78); }
.stats-band__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.stat { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .35rem; }
.stat__icon { color: var(--si-gold); margin-bottom: .4rem; }
.stat__value { font-family: var(--si-sans); font-weight: 700; font-size: clamp(2.4rem, 1.8rem + 2.4vw, 3.6rem); line-height: 1; color: var(--si-white); font-variant-numeric: tabular-nums; }
.stat__label { color: var(--si-gold-light); font-size: 1.05rem; }
.stats-band .stat:nth-child(2) { --slide-delay: .15s; }
.stats-band .stat:nth-child(3) { --slide-delay: .3s; }
@media (max-width: 575.98px) { .stats-band__list { grid-template-columns: 1fr; gap: 2.5rem; } }
@media (prefers-reduced-motion: reduce) { .packages .package-card, .package-card__icon { transition: none; } }

/* Call-to-action card above the footer ---------------------------------------
   The section's lower half is footer-coloured, so the card overlaps the footer.
   Its top half matches the section above (white, or warm after a warm section). */
.cta-wrap { --cta-top: var(--si-white); position: relative; padding: clamp(3rem, 2rem + 3vw, 5rem) 0 0; background: linear-gradient(to bottom, var(--cta-top) 55%, var(--si-charcoal) 55%); }
.section--warm + .cta-wrap, .cta-wrap--warm { --cta-top: var(--si-warm); }
.section--dark + .cta-wrap { --cta-top: var(--si-charcoal); }
body:has(.cta-wrap) .site-footer { border-top: 0; padding-top: 3.5rem; }
.cta-card { position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem 3rem; align-items: center; padding: clamp(2rem, 1.2rem + 3vw, 3.75rem); border-radius: 28px; color: rgba(255, 255, 255, .82); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .75); }
.cta-card__media { position: absolute; inset: 0; z-index: -2; }
.cta-card__media picture, .cta-card__media img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.cta-card__media img { object-fit: cover; transform: scale(1.08); transition: transform 1.6s var(--si-ease, ease); }
.cta-card.is-in .cta-card__media img, .cta-card:not(.slide-in) .cta-card__media img { transform: none; }
/* Dark gradient for legible text, warmer on the right, plus a gold corner glow. */
.cta-card::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(17, 14, 10, .94) 0%, rgba(17, 14, 10, .82) 55%, rgba(36, 33, 29, .6) 100%); }
.cta-card::after { content: ''; position: absolute; z-index: -1; right: -120px; top: -120px; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgba(212, 160, 23, .35), transparent 65%); pointer-events: none; }
.cta-card h2 { color: var(--si-white); font-size: clamp(1.7rem, 1.2rem + 2vw, 2.7rem); margin: 0 0 .75rem; }
.cta-card__text { font-size: 1.05rem; margin: 0 0 1.25rem; max-width: 36rem; }
.cta-card__points { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.cta-card__points li { display: inline-flex; align-items: center; gap: .45rem; font-size: .95rem; color: var(--si-white); }
.cta-card__points svg { color: var(--si-gold); flex: none; }
.cta-card__actions { display: flex; flex-direction: column; gap: .85rem; }
.cta-card__actions .btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; width: 100%; }
.cta-card__wa { --bs-btn-color: #fff; --bs-btn-bg: #1faa53; --bs-btn-border-color: #1faa53; --bs-btn-hover-color: #fff; --bs-btn-hover-bg: #178f45; --bs-btn-hover-border-color: #178f45; --bs-btn-active-bg: #178f45; --bs-btn-active-color: #fff; }
@media (max-width: 991.98px) { .cta-card { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .cta-card__media img { transform: none; transition: none; } }

/* Services cards: photo zooms out and the icon pops in as each card arrives. */
.service-col.slide-in .service-card__media img { transform: scale(1.18); transition: transform 1.4s var(--si-ease, ease) calc(var(--slide-delay, 0s) + .1s); }
.service-col.slide-in.is-in .service-card__media img { transform: none; }
.service-col.slide-in.is-in .service-card:hover .service-card__media img { transform: scale(1.05); transition-delay: 0s; transition-duration: .6s; }
.service-col.slide-in .service-card__icon { transform: scale(0); transition: transform .6s cubic-bezier(.34, 1.56, .64, 1) calc(var(--slide-delay, 0s) + .55s); }
.service-col.slide-in.is-in .service-card__icon { transform: none; }
@media (prefers-reduced-motion: reduce) { .service-col.slide-in .service-card__media img, .service-col.slide-in .service-card__icon { transform: none; transition: none; } }

/* Our Experts: one founder as a feature (photo + details); several as cards */
.expert-feature { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; max-width: 960px; margin: 0 auto; }
.expert-feature__media { position: relative; }
.expert-feature__media::before { content: ''; position: absolute; inset: 18px -18px -18px 18px; border: 2px solid var(--si-gold); border-radius: var(--si-radius); z-index: 0; }
.expert-feature__media picture { position: relative; z-index: 1; display: block; }
.expert-feature__img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: center 20%; border-radius: var(--si-radius); box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .6); }
.expert-feature__role { font-size: .8rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--si-gold-light); margin-bottom: .4rem; }
.expert-feature__name { font-family: var(--si-serif); font-size: clamp(2.2rem, 4.5vw, 3.2rem); line-height: 1.1; margin-bottom: 1rem; }
.expert-badge { display: inline-flex; align-items: center; gap: .5rem; border: 1px solid rgba(212, 160, 23, .55); color: var(--si-gold-light); border-radius: 999px; padding: .35rem .9rem; font-size: .9rem; font-weight: 600; margin-bottom: 0; }
.expert-feature .gold-rule { margin: 1.4rem 0; }
.expert-feature__motto { font-family: var(--si-serif); font-style: italic; font-size: 1.25rem; color: rgba(255, 255, 255, .85); margin-bottom: 1.6rem; }
.expert-feature__cta { display: flex; flex-wrap: wrap; gap: .75rem; }
.expert-feature__cta .btn { display: inline-flex; align-items: center; gap: .5rem; }
.expert-card { height: 100%; border-radius: var(--si-radius); overflow: hidden; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); }
.expert-card__img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: center 20%; }
.expert-card__body { padding: 1.2rem 1.4rem 1.5rem; }
.expert-card__body h3 { font-family: var(--si-serif); font-size: 1.5rem; margin-bottom: .2rem; }
.expert-card__role { color: var(--si-gold-light); font-size: .85rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .8rem; }
@media (max-width: 767.98px) {
  .expert-feature { grid-template-columns: minmax(0, 1fr); text-align: center; gap: 2.8rem; }
  .expert-feature__media { max-width: 340px; width: calc(100% - 18px); margin: 0 auto; left: -9px; }
  .expert-feature .gold-rule { margin: 1.4rem auto; }
  .expert-feature__cta { justify-content: center; }
}
