/* =========================================================
   Sourcebuild Projects - theme v2
   Bootstrap 5.3 + modern CSS (custom props, clamp, :has,
   aspect-ratio, backdrop-filter, color-mix, text-wrap,
   scroll reveal, marquee). One spacing scale for sections.
   ========================================================= */

:root {
  --bs-primary: #c19a52;
  --bs-primary-rgb: 193, 154, 82;
  --bs-dark: #14172a;
  --bs-dark-rgb: 20, 23, 42;
  --bs-body-font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --bs-body-color: #2b2e3d;
  --bs-link-color: #a47c37;
  --bs-link-color-rgb: 164, 124, 55;
  --bs-link-hover-color-rgb: 138, 102, 40;
  --bs-link-hover-color: #8a6628;

  --gold: #c19a52;
  --gold-d: #a47c37;
  --navy: #14172a;
  --navy-2: #1d2140;
  --sand: #f7f4ee;
  --line: #e8e2d4;
  --serif: "Playfair Display", Georgia, serif;
  --r-sm: .6rem;
  --r: 1rem;
  --r-lg: 1.5rem;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --sec-y: clamp(3.5rem, 7vw, 6rem);
  --topbar-h: 40px;
  --shadow: 0 .75rem 2rem rgba(20, 23, 42, .09);
  --shadow-lg: 0 1.25rem 3rem rgba(20, 23, 42, .18);
}

html { scroll-behavior: smooth; scroll-padding-top: 90px; }
html { overflow-x: clip; }
body { -webkit-font-smoothing: antialiased; overflow-x: clip; }
main, .section, .section-sm { overflow-x: clip; }
h1, h2, h3, h4, .display-1, .display-2, .display-3, .display-4, .display-5, .display-6 { font-family: var(--serif); text-wrap: balance; }
p { text-wrap: pretty; }
img { max-width: 100%; }
::selection { background: var(--gold); color: var(--navy); }

/* ---------- Scroll progress ---------- */
#scrollBar { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 2000; background: linear-gradient(90deg, var(--gold), #e8cf9a); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- Buttons ---------- */
.btn { border-radius: 50rem; transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .3s, color .3s, border-color .3s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 .6rem 1.4rem rgba(20, 23, 42, .22); }
.btn-primary {
  --bs-btn-color: #14172a; --bs-btn-bg: #c19a52; --bs-btn-border-color: #c19a52;
  --bs-btn-hover-color: #fff; --bs-btn-hover-bg: #a47c37; --bs-btn-hover-border-color: #a47c37;
  --bs-btn-active-color: #fff; --bs-btn-active-bg: #8a6628; --bs-btn-active-border-color: #8a6628;
  font-weight: 500; letter-spacing: .02em;
}
.btn-dark { --bs-btn-bg: #14172a; --bs-btn-border-color: #14172a; --bs-btn-hover-bg: #c19a52; --bs-btn-hover-border-color: #c19a52; --bs-btn-hover-color: #14172a; --bs-btn-active-bg: #14172a; --bs-btn-active-border-color: #14172a; }
.btn-outline-dark { --bs-btn-color: #14172a; --bs-btn-border-color: #14172a; --bs-btn-hover-bg: #14172a; --bs-btn-hover-border-color: #14172a; --bs-btn-active-bg: #14172a; --bs-btn-active-border-color: #14172a; }
.btn-success { --bs-btn-bg: #1faa59; --bs-btn-border-color: #1faa59; --bs-btn-hover-bg: #178a47; --bs-btn-hover-border-color: #178a47; }
.btn .bi-arrow-right { transition: transform .3s var(--ease); }
.btn:hover .bi-arrow-right { transform: translateX(4px); }

/* ---------- Section rhythm: ONE padding, no stacked margins ---------- */
.section { padding-block: var(--sec-y); }
.section-sm { padding-block: calc(var(--sec-y) * .65); }
.section > .container > :first-child { margin-top: 0; }
.section > .container > :last-child { margin-bottom: 0; }
.bg-sand { background: var(--sand); }
.sec-head { max-width: 42rem; margin-inline: auto; margin-bottom: clamp(2rem, 4vw, 3rem); text-align: center; }
.sec-head h2 { margin-bottom: .75rem; }
.sec-head p { margin-bottom: 0; }

.eyebrow { display: inline-flex; align-items: center; gap: .75rem; margin-bottom: .85rem; font-size: .78rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-d); }
.eyebrow::before { content: ""; width: 2rem; height: 2px; background: currentColor; }
.sec-head .eyebrow::after { content: ""; width: 2rem; height: 2px; background: currentColor; }
.eyebrow.light { color: var(--gold); }
h2.display-6 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); line-height: 1.2; }

/* ---------- Header: top bar + transparent navbar ---------- */
.topbar {
  position: absolute; inset: 0 0 auto 0; z-index: 1041; height: var(--topbar-h);
  display: flex; align-items: center; font-size: .8rem; color: rgba(255, 255, 255, .8);
  background: rgba(8, 10, 22, .55); border-bottom: 1px solid rgba(255, 255, 255, .1);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.topbar a { color: inherit; text-decoration: none; transition: color .25s; display: inline-flex; align-items: center; gap: .45rem; }
.topbar a:hover { color: var(--gold); }
.topbar i { color: var(--gold); }
.topbar .tb-sep { width: 1px; height: 14px; background: rgba(255, 255, 255, .2); }
.topbar .tb-social a { width: 26px; height: 26px; justify-content: center; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.topbar .tb-social a:hover { background: var(--gold); color: var(--navy); }
.topbar .tb-social a:hover i { color: var(--navy); }

.navbar { position: absolute; top: var(--topbar-h); inset-inline: 0; z-index: 1040; padding-block: 1rem; transition: background-color .3s, padding .3s, box-shadow .3s; }
.navbar.scrolled { position: fixed; top: 0; padding-block: .45rem; background: rgba(20, 23, 42, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 .5rem 1.5rem rgba(0, 0, 0, .22); animation: sbDown .45s var(--ease); }
.navbar.menu-open { background: rgba(20, 23, 42, .97); }
@keyframes sbDown { from { transform: translateY(-100%); } to { transform: none; } }
.brand-logo { height: 56px; width: auto; transition: height .3s; }
.navbar.scrolled .brand-logo { height: 44px; }
.navbar .nav-link { position: relative; padding-inline: .9rem !important; letter-spacing: .08em; color: rgba(255, 255, 255, .86); transition: color .25s; }
.navbar .nav-link::after { content: ""; position: absolute; inset: auto .9rem .2rem; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.navbar .nav-link:hover, .navbar .nav-link.active, .navbar .nav-link.show { color: var(--gold); }
.navbar .nav-link:hover::after, .navbar .nav-link.active::after { transform: scaleX(1); }
.navbar .dropdown-toggle::after { border: 0; content: "\F282"; font-family: bootstrap-icons; font-size: .65rem; vertical-align: 0; margin-left: .35rem; position: static; background: none; height: auto; transform: none; }
.dropdown-menu { border: 1px solid var(--line); border-radius: var(--r); padding: .6rem; box-shadow: var(--shadow-lg); min-width: 15rem; }
.dropdown-item { border-radius: var(--r-sm); padding: .55rem .9rem; font-size: .9rem; transition: background-color .2s, padding .25s var(--ease); }
.dropdown-item:hover { background: var(--sand); padding-left: 1.2rem; color: var(--gold-d); }
@media (min-width: 992px) {
  .navbar .dropdown:hover > .dropdown-menu { display: block; margin-top: 0; animation: sbFadeUp .3s var(--ease); }
}
@media (max-width: 991.98px) {
  :root { --topbar-h: 36px; }
  .brand-logo { height: 46px; }
  .navbar-collapse { padding: 1rem 0 .5rem; max-height: calc(100vh - 110px); overflow-y: auto; }
  .navbar .nav-link::after { inset-inline: 0; }
  .navbar .dropdown-menu { background: rgba(255, 255, 255, .06); border-color: transparent; box-shadow: none; }
  .navbar .dropdown-item { color: rgba(255, 255, 255, .8); }
  .navbar .dropdown-item:hover { background: rgba(255, 255, 255, .08); color: var(--gold); }
}

/* ---------- Hero slider ---------- */
.hero-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 16, 30, .9) 0%, rgba(14, 16, 30, .62) 48%, rgba(14, 16, 30, .28) 100%); }
.hero-slide > img { transform: scale(1.06); transition: transform 8s ease-out; }
.hero-slide.active > img { transform: scale(1); }
.hero-caption { inset: 0; padding: calc(var(--topbar-h) + 6rem) 0 8rem; z-index: 2; text-align: left; }
.hero-caption h1 { font-size: clamp(1.9rem, 4.1vw, 3.4rem); line-height: 1.15; max-width: 22ch; }
@media (min-width: 992px) { .hero-caption h1 { max-width: none; text-wrap: balance; } }
.hero-caption .lead { font-size: clamp(1rem, 1.6vw, 1.2rem); max-width: 34rem; }
.carousel-item.active .hero-caption .container > div > * { animation: sbFadeUp .9s var(--ease) both; }
.carousel-item.active .hero-caption .container > div > *:nth-child(2) { animation-delay: .12s; }
.carousel-item.active .hero-caption .container > div > *:nth-child(3) { animation-delay: .24s; }
.carousel-item.active .hero-caption .container > div > *:nth-child(4) { animation-delay: .36s; }
@keyframes sbFadeUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
.carousel-indicators { z-index: 3; justify-content: flex-start; margin-left: max(1rem, calc((100% - 1320px) / 2 + .75rem)); margin-bottom: 7rem; }
.carousel-indicators [data-bs-target] { width: 38px; height: 4px; border-radius: 4px; border: 0; }
.carousel-control-prev, .carousel-control-next { z-index: 3; width: 7%; }
.carousel-control-prev-icon, .carousel-control-next-icon { width: 3rem; height: 3rem; border-radius: 50%; background-color: rgba(255, 255, 255, .14); background-size: 40%; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); transition: background-color .3s; }
.carousel-control-prev:hover .carousel-control-prev-icon, .carousel-control-next:hover .carousel-control-next-icon { background-color: var(--gold); }

.hero-strip { margin-top: -5.25rem; z-index: 5; }
.hero-strip .strip { background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.hero-strip .strip-item { padding: 1.4rem; transition: background-color .35s; }
.hero-strip .strip-item:hover { background: var(--sand); }
.hero-strip .strip-item i { transition: transform .4s var(--ease); display: inline-block; }
.hero-strip .strip-item:hover i { transform: translateY(-4px) scale(1.1); }
.hero-strip [class*="col-"] { border-bottom: 1px solid var(--line); }
.hero-strip [class*="col-"]:nth-child(odd) { border-right: 1px solid var(--line); }
.hero-strip [class*="col-"]:nth-child(n+3) { border-bottom: 0; }
@media (min-width: 992px) {
  .hero-strip [class*="col-"] { border-bottom: 0; border-right: 1px solid var(--line); }
  .hero-strip [class*="col-"]:last-child { border-right: 0; }
}
@media (max-width: 575.98px) { .hero-strip { margin-top: -4rem; } .carousel-indicators { margin-bottom: 6rem; } }

/* ---------- Inner page banner ---------- */
.page-banner { position: relative; isolation: isolate; color: #fff; padding: calc(var(--topbar-h) + 8.5rem) 0 4.5rem; overflow: hidden; }
.page-banner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; animation: sbZoom 18s ease-out both; }
.page-banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(14, 16, 30, .92), rgba(14, 16, 30, .6)); }
.page-banner::after { content: ""; position: absolute; inset: auto 0 0 0; height: 1.5rem; background: #fff; border-radius: 1.5rem 1.5rem 0 0; }
.page-banner h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); margin-bottom: .5rem; animation: sbFadeUp .8s var(--ease) both; }
.page-banner p { max-width: 36rem; color: rgba(255, 255, 255, .78); margin-bottom: 1.1rem; animation: sbFadeUp .8s .1s var(--ease) both; }
.crumbs { display: flex; gap: .5rem; align-items: center; font-size: .85rem; color: rgba(255, 255, 255, .7); animation: sbFadeUp .8s .2s var(--ease) both; }
.crumbs a { color: var(--gold); text-decoration: none; }
@keyframes sbZoom { from { transform: scale(1.12); } to { transform: scale(1); } }

/* ---------- Cards (services / features) ---------- */
.card-x { position: relative; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .35s; }
.card-x:hover { transform: translateY(-8px); border-color: var(--gold); box-shadow: var(--shadow-lg); }
.card-x .thumb { aspect-ratio: 4 / 3; overflow: hidden; }
.card-x .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card-x:hover .thumb img { transform: scale(1.08); }
.card-x .body { padding: 1.6rem; position: relative; }
.ico { width: 3.2rem; height: 3.2rem; display: grid; place-items: center; border-radius: 50%; font-size: 1.35rem; color: var(--gold-d); background: color-mix(in srgb, var(--gold) 16%, white); transition: background-color .35s, color .35s, transform .45s var(--ease); }
.card-x:hover .ico, .feat:hover .ico { background: var(--gold); color: var(--navy); transform: rotate(-8deg) scale(1.08); }
.card-x .body .ico { margin-top: -3.1rem; margin-bottom: .9rem; border: 4px solid #fff; background: var(--gold); color: var(--navy); width: 3.6rem; height: 3.6rem; }
.more-link { display: inline-flex; align-items: center; gap: .4rem; font-size: .88rem; font-weight: 500; text-decoration: none; margin-top: .75rem; }
.more-link i { transition: transform .3s var(--ease); }
.more-link:hover i { transform: translateX(5px); }
.grid-dim:has(.card-x:hover) .card-x:not(:hover) { opacity: .72; transform: scale(.985); }

.feat { height: 100%; padding: 1.8rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s, background-color .4s, color .4s; }
.feat:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: var(--shadow); }
.feat .ico { margin-bottom: 1.1rem; }
.feat.dark { background: var(--navy); color: #fff; border-color: transparent; }
.feat.dark p { color: rgba(255, 255, 255, .7); }

/* ---------- Steps ---------- */
.steps { counter-reset: step; }
.step { position: relative; height: 100%; padding: 2rem 1.6rem 1.6rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); transition: transform .4s var(--ease), box-shadow .4s, border-color .3s; }
.step::before { counter-increment: step; content: "0" counter(step); position: absolute; top: -1.2rem; left: 1.4rem; font-family: var(--serif); font-weight: 700; font-size: 1.1rem; padding: .35rem .95rem; border-radius: 50rem; background: var(--gold); color: var(--navy); box-shadow: 0 .4rem 1rem rgba(193, 154, 82, .45); }
.step:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: var(--shadow); }
@media (min-width: 992px) {
  .steps .col-lg-3:not(:last-child) .step::after { content: ""; position: absolute; top: 0; right: -1.55rem; width: 1.55rem; border-top: 2px dashed var(--gold); }
}

/* ---------- About collage / stat badge ---------- */
.collage { position: relative; }
.collage img { border-radius: var(--r-lg); box-shadow: var(--shadow); }
.collage .badge-float { position: absolute; right: -.5rem; bottom: 1.5rem; padding: 1.2rem 1.5rem; text-align: center; border-radius: var(--r); background: var(--navy); color: #fff; box-shadow: var(--shadow-lg); animation: sbFloat 5s ease-in-out infinite; }
@keyframes sbFloat { 50% { transform: translateY(-10px); } }
.check-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: .6rem 1.2rem; }
.check-list li { display: flex; gap: .6rem; align-items: flex-start; }
.check-list li::before { content: "\F26A"; font-family: bootstrap-icons; color: var(--gold); line-height: 1.5; }

/* ---------- Stats ---------- */
.stats-band { position: relative; color: #fff; background: radial-gradient(900px 300px at 85% -20%, rgba(193, 154, 82, .28), transparent 60%), radial-gradient(700px 300px at 0% 120%, rgba(193, 154, 82, .18), transparent 60%), var(--navy); }
.stat { text-align: center; padding: .5rem; }
.stat .num { font-family: var(--serif); font-weight: 700; font-size: clamp(2rem, 4.4vw, 3.2rem); line-height: 1; color: var(--gold); }
.stat .lbl { margin-top: .5rem; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .62); }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; background: var(--sand); border-block: 1px solid var(--line); padding-block: 1.2rem; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; gap: 3rem; animation: sbMarquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { display: inline-flex; align-items: center; gap: .7rem; white-space: nowrap; font-family: var(--serif); font-size: 1.15rem; color: var(--navy); }
.marquee span i { color: var(--gold); font-size: .7rem; }
@keyframes sbMarquee { to { transform: translateX(-50%); } }

/* ---------- Projects ---------- */
.tile { position: relative; display: block; overflow: hidden; border-radius: var(--r); aspect-ratio: 4 / 3; cursor: zoom-in; box-shadow: var(--shadow); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(14, 16, 30, .82), transparent 55%); opacity: 0; transition: opacity .4s; }
.tile .cap { position: absolute; inset: auto 0 0 0; z-index: 2; padding: 1.1rem 1.2rem; color: #fff; font-size: .88rem; transform: translateY(100%); transition: transform .45s var(--ease); display: flex; justify-content: space-between; align-items: center; }
.tile .cap i { width: 2.2rem; height: 2.2rem; display: grid; place-items: center; border-radius: 50%; background: var(--gold); color: var(--navy); }
.tile:hover img { transform: scale(1.1); }
.tile:hover::after { opacity: 1; }
.tile:hover .cap { transform: none; }
.tile { outline: 2px solid transparent; outline-offset: -2px; transition: outline-color .3s; }
.tile:hover { outline-color: var(--gold); }
#projectGrid > [hidden] { display: none !important; }
#projectGrid > .fade-in { animation: sbFadeUp .5s var(--ease) both; }
.filter-btn { border-radius: 50rem !important; }
.proj-card { display: flex; gap: 1rem; align-items: center; padding: 1.4rem; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; height: 100%; transition: border-color .3s, box-shadow .3s, transform .4s var(--ease); }
.proj-card:hover { border-color: var(--gold); box-shadow: var(--shadow); transform: translateY(-5px); }
.proj-card .big { font-family: var(--serif); font-size: 2rem; font-weight: 700; color: var(--gold-d); line-height: 1; }

/* ---------- Service detail rows ---------- */
.svc-row img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow); transition: transform .6s var(--ease); }
.svc-row + .svc-row { margin-top: clamp(3rem, 6vw, 5rem); }
.chip { display: inline-flex; align-items: center; gap: .4rem; padding: .4rem .9rem; border: 1px solid var(--line); border-radius: 50rem; font-size: .85rem; background: #fff; transition: border-color .3s, background-color .3s, transform .3s var(--ease); }
.chip i { color: var(--gold); }
.chip:hover { border-color: var(--gold); background: var(--sand); transform: translateY(-2px); }

/* ---------- FAQ ---------- */
.accordion { --bs-accordion-border-radius: var(--r); --bs-accordion-inner-border-radius: var(--r); --bs-accordion-active-bg: var(--sand); --bs-accordion-active-color: var(--navy); --bs-accordion-btn-focus-box-shadow: 0 0 0 .2rem rgba(193, 154, 82, .3); display: grid; gap: .8rem; }
.accordion-item { border: 1px solid var(--line) !important; border-radius: var(--r) !important; overflow: hidden; transition: border-color .3s, box-shadow .3s; }
.accordion-item:hover, .accordion-item:has(.show) { border-color: var(--gold) !important; box-shadow: var(--shadow); }
.accordion-button { font-weight: 500; padding: 1.1rem 1.4rem; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; isolation: isolate; color: #fff; text-align: center; padding-block: var(--sec-y); }
.cta-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, rgba(14, 16, 30, .92), rgba(20, 23, 42, .78)); }

/* ---------- Contact ---------- */
.info-card { display: flex; gap: 1rem; align-items: flex-start; height: 100%; padding: 1.5rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); transition: border-color .3s, transform .4s var(--ease), box-shadow .4s; }
.info-card:hover { border-color: var(--gold); transform: translateY(-5px); box-shadow: var(--shadow); }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.form-control, .form-select { border-radius: var(--r-sm); padding: .7rem .9rem; border-color: var(--line); transition: border-color .25s, box-shadow .25s; }
.form-control:focus, .form-select:focus { border-color: var(--gold); box-shadow: 0 0 0 .2rem rgba(193, 154, 82, .25); }
.map-wrap { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--navy); color: rgba(255, 255, 255, .62); }
.footer-cta { padding-block: clamp(2.5rem, 5vw, 3.5rem); }
.footer-cta .box { display: flex; flex-wrap: wrap; gap: 1.2rem; align-items: center; justify-content: space-between; padding: clamp(1.4rem, 3vw, 2.2rem) clamp(1.4rem, 4vw, 3rem); border-radius: var(--r-lg); color: var(--navy); background: linear-gradient(110deg, #d8b878, var(--gold) 55%, #b88c43); box-shadow: var(--shadow-lg); }
.footer-cta h2 { font-size: clamp(1.3rem, 2.6vw, 1.9rem); margin: 0; }
.footer-logo { width: 190px; height: auto; }
.site-footer h3 { font-family: var(--bs-body-font-family); font-size: .85rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 1.2rem; position: relative; padding-bottom: .7rem; }
.site-footer h3::after { content: ""; position: absolute; left: 0; bottom: 0; width: 2rem; height: 2px; background: var(--gold); }
.footer-link { color: inherit; text-decoration: none; display: inline-block; transition: color .25s, transform .3s var(--ease); }
.footer-link:hover { color: var(--gold); transform: translateX(5px); }
.footer-link::before { content: "\F285"; font-family: bootstrap-icons; font-size: .6rem; margin-right: .55rem; color: var(--gold); }
.f-contact i { color: var(--gold); margin-top: .2rem; }
.f-contact .footer-link::before { content: none; }
.f-social a { width: 2.4rem; height: 2.4rem; display: inline-grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); color: #fff; text-decoration: none; transition: background-color .3s, color .3s, transform .35s var(--ease), border-color .3s; }
.f-social a:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); transform: translateY(-4px); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); }

/* ---------- Floating buttons ---------- */
.float-actions { position: fixed; right: 1rem; bottom: 1rem; z-index: 1030; }
.float-actions .btn { width: 3.25rem; height: 3.25rem; padding: 0; }
.float-actions .wa { animation: sbPulse 2.6s infinite; }
@keyframes sbPulse { 0% { box-shadow: 0 0 0 0 rgba(31, 170, 89, .55); } 70%, 100% { box-shadow: 0 0 0 16px rgba(31, 170, 89, 0); } }
#toTop { opacity: 0; visibility: hidden; transform: translateY(10px); }
#toTop.show { opacity: 1; visibility: visible; transform: none; }
.modal-backdrop.show { --bs-backdrop-opacity: .9; }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal[data-r="left"] { transform: translateX(-44px); }
.js .reveal[data-r="right"] { transform: translateX(44px); }
.js .reveal[data-r="zoom"] { transform: scale(.92); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- v2.1 fixes ---------- */
.info-card.v { flex-direction: column; align-items: center; text-align: center; gap: .7rem; padding: 1.8rem 1.2rem; min-width: 0; }
.info-card.v > div:last-child, .info-card.v a { overflow-wrap: anywhere; line-height: 1.6; }
.feat.auto { height: auto; }
.site-footer .col-lg-3 .footer-link, .site-footer .col-6 .footer-link { white-space: nowrap; }
@media (max-width: 575.98px) { .site-footer .footer-link { white-space: normal; } }

/* ---------- Image hover: lift + zoom + slight tilt ---------- */
.collage img, .svc-row img, img.hv {
  transition: transform .55s var(--ease), box-shadow .55s var(--ease), filter .55s;
  will-change: transform;
}
.collage img:hover, .svc-row img:hover, img.hv:hover {
  transform: translateY(-10px) scale(1.04) rotate(-1.2deg);
  box-shadow: 0 1.6rem 3.2rem rgba(20, 23, 42, .3);
  filter: saturate(1.12) contrast(1.03);
  position: relative; z-index: 2;
}
.svc-row:nth-child(even) img:hover { transform: translateY(-10px) scale(1.04) rotate(1.2deg); }
.tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.tile { transition: outline-color .3s, transform .5s var(--ease), box-shadow .5s var(--ease); }
.card-x:hover .thumb img { transform: scale(1.1) rotate(.6deg); }
.hero-strip .strip-item:hover i { transform: translateY(-4px) scale(1.12) rotate(-6deg); }
