/* ==========================================================
   CTLSL — main stylesheet
   Brand colours come from the logo. Change them here only.
   ========================================================== */
:root {
  --plum: #4d0044;          /* logo colour — primary */
  --plum-dark: #2c0027;     /* footer, overlays */
  --plum-mid: #6e1a62;      /* hover states */
  --plum-tint: #f7f0f6;     /* soft section background */
  --gold: #d4a017;          /* call-to-action accent */
  --gold-dark: #b8890f;
  --ink: #1f1a20;           /* body text */
  --muted: #625a64;         /* secondary text */
  --line: #e6dfe5;          /* borders */
  --white: #ffffff;

  --font-head: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", Arial, sans-serif;

  --radius: 4px;
  --bs-body-font-family: var(--font-body);
  --bs-link-color-rgb: 77, 0, 68;
  --bs-link-hover-color-rgb: 110, 26, 98;
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--plum-dark);
  line-height: 1.15;
  letter-spacing: -0.015em;
}

a { color: var(--plum); text-underline-offset: 3px; }
a:hover { color: var(--plum-mid); }
img { max-width: 100%; height: auto; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* ---------- Buttons ---------- */
.btn { border-radius: var(--radius); font-weight: 600; padding: .75rem 1.5rem; }
.btn-gold { background: var(--gold); border-color: var(--gold); color: var(--plum-dark); }
.btn-gold:hover, .btn-gold:focus { background: var(--gold-dark); border-color: var(--gold-dark); color: var(--plum-dark); }
.btn-plum { background: var(--plum); border-color: var(--plum); color: #fff; }
.btn-plum:hover, .btn-plum:focus { background: var(--plum-mid); border-color: var(--plum-mid); color: #fff; }
.btn-outline-plum { border: 2px solid var(--plum); color: var(--plum); }
.btn-outline-plum:hover { background: var(--plum); color: #fff; }
.btn-outline-white { border: 2px solid rgba(255,255,255,.85); color: #fff; }
.btn-outline-white:hover { background: #fff; color: var(--plum-dark); }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--plum-dark);
  color: rgba(255,255,255,.8);
  font-size: .9rem;
  padding: .45rem 0;
}
.topbar a { color: rgba(255,255,255,.9); text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar i { color: var(--gold); margin-right: .35rem; }

/* ---------- Navbar ---------- */
.site-nav {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: .6rem 0;
  transition: box-shadow .2s ease;
}
.site-nav.scrolled { box-shadow: 0 6px 20px rgba(44,0,39,.08); }
.site-nav .navbar-brand img { height: 52px; width: auto; }
.site-nav .nav-link {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--ink);
  padding: .5rem .9rem !important;
}
.site-nav .nav-link:hover, .site-nav .nav-link.active { color: var(--plum); }
.site-nav .nav-link.active { box-shadow: inset 0 -3px 0 var(--gold); }
.site-nav .dropdown-menu {
  border: 1px solid var(--line);
  border-top: 3px solid var(--plum);
  border-radius: 0 0 var(--radius) var(--radius);
  padding: .5rem 0;
  min-width: 15rem;
}
.site-nav .dropdown-item { padding: .5rem 1.2rem; font-weight: 500; }
.site-nav .dropdown-item i { color: var(--plum); width: 1.4rem; display: inline-block; }
.site-nav .dropdown-item:hover, .site-nav .dropdown-item.active { background: var(--plum-tint); color: var(--plum); }
@media (min-width: 992px) {
  .site-nav .dropdown:hover > .dropdown-menu { display: block; margin-top: 0; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: center;
  color: #fff;
  background: var(--plum-dark) url("../img/hero.webp") center / cover no-repeat;
  padding: 6rem 0 9rem;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(44,0,39,.94) 0%, rgba(77,0,68,.82) 42%, rgba(77,0,68,.25) 100%);
}
.hero .container { position: relative; }
.hero h1 {
  color: #fff;
  font-size: clamp(2.5rem, 5.6vw, 4.4rem);
  font-weight: 800;
  max-width: 15ch;
  margin-bottom: 1.25rem;
}
.hero p { font-size: 1.2rem; max-width: 48ch; color: rgba(255,255,255,.88); }
.hero-points { list-style: none; padding: 0; margin: 1.75rem 0 2rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.hero-points li { color: rgba(255,255,255,.9); font-weight: 600; }
.hero-points i { color: var(--gold); margin-right: .4rem; }

/* Quick quote bar overlapping the hero */
.quote-bar-wrap { position: relative; margin-top: -4.5rem; z-index: 5; }
.quote-bar {
  background: #fff;
  border-top: 4px solid var(--gold);
  box-shadow: 0 18px 40px rgba(44,0,39,.16);
  padding: 1.75rem;
  border-radius: 0 0 var(--radius) var(--radius);
}
.quote-bar h2 { font-size: 1.35rem; margin-bottom: 1rem; }

/* ---------- Page header (inner pages) ---------- */
.page-head {
  position: relative;
  background: var(--plum-dark) var(--bg, url("../img/page-head.webp")) center / cover no-repeat;
  color: #fff;
  padding: 5rem 0 4rem;
}
.page-head::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(44,0,39,.95), rgba(77,0,68,.75));
}
.page-head .container { position: relative; }
.page-head h1 { color: #fff; font-size: clamp(2.2rem, 4.5vw, 3.4rem); font-weight: 800; }
.page-head p { color: rgba(255,255,255,.85); max-width: 60ch; font-size: 1.15rem; margin: .75rem 0 0; }
.page-head .breadcrumb { margin-bottom: 1rem; }
.page-head .breadcrumb a { color: rgba(255,255,255,.8); text-decoration: none; }
.page-head .breadcrumb a:hover { color: #fff; text-decoration: underline; }
.page-head .breadcrumb-item.active { color: var(--gold); }
.page-head .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.5); }

/* ---------- Sections ---------- */
.section { padding: 5.5rem 0; }
.section-tint { background: var(--plum-tint); }
.section-title { font-size: clamp(1.9rem, 3.6vw, 2.6rem); margin-bottom: .75rem; }
.section-lead { color: var(--muted); font-size: 1.15rem; max-width: 62ch; }
.rule { width: 56px; height: 4px; background: var(--gold); margin-bottom: 1.25rem; }

/* Intro split */
.split-img { position: relative; }
.split-img img { width: 100%; border-radius: var(--radius); object-fit: cover; }
.split-img .badge-box {
  position: absolute; left: -1px; bottom: 2rem;
  background: var(--plum); color: #fff;
  padding: 1.1rem 1.4rem; max-width: 260px;
  border-left: 5px solid var(--gold);
}
.split-img .badge-box strong { display: block; font-family: var(--font-head); font-size: 1.15rem; }
.check-list { list-style: none; padding: 0; margin: 1.5rem 0; }
.check-list li { padding-left: 2rem; position: relative; margin-bottom: .7rem; }
.check-list li::before {
  content: "\F26E"; font-family: "bootstrap-icons";
  position: absolute; left: 0; top: 0; color: var(--plum); font-size: 1.15rem;
}

/* ---------- Services grid ---------- */
.service-tile {
  display: flex; flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none; color: inherit;
  transition: border-color .2s ease, transform .2s ease;
}
.service-tile:hover { border-color: var(--plum); transform: translateY(-3px); color: inherit; }
.service-tile .tile-img { aspect-ratio: 16 / 10; background: var(--plum-tint) center / cover no-repeat; }
.service-tile .tile-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.service-tile .tile-icon {
  width: 48px; height: 48px; margin-top: -2.9rem; margin-bottom: 1rem;
  display: grid; place-items: center;
  background: var(--plum); color: #fff; font-size: 1.35rem;
  border-radius: var(--radius); border: 3px solid #fff;
  position: relative;
}
.service-tile h3 { font-size: 1.3rem; margin-bottom: .5rem; }
.service-tile p { color: var(--muted); margin-bottom: 1rem; }
.service-tile .more { margin-top: auto; font-weight: 700; color: var(--plum); font-family: var(--font-head); }
.service-tile:hover .more { text-decoration: underline; }
@media (prefers-reduced-motion: reduce) { .service-tile, .service-tile:hover { transition: none; transform: none; } }

/* ---------- Process steps (a real sequence) ---------- */
.steps { counter-reset: step; }
.step { position: relative; padding-top: 4.25rem; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 0; left: 0;
  width: 52px; height: 52px; display: grid; place-items: center;
  background: var(--plum); color: #fff;
  font-family: var(--font-head); font-weight: 800; font-size: 1.3rem;
  border-radius: 50%;
}
.step::after {
  content: ""; position: absolute; top: 26px; left: 62px; right: -12px;
  height: 2px; background: repeating-linear-gradient(90deg, var(--plum) 0 6px, transparent 6px 12px);
  opacity: .35;
}
.steps > div:last-child .step::after { display: none; }
.step h3 { font-size: 1.2rem; }
.step p { color: var(--muted); margin: 0; }
@media (max-width: 991.98px) { .step::after { display: none; } }

/* ---------- Why us ---------- */
.why {
  background: var(--plum-dark) url("../img/containers-bg.webp") center / cover fixed;
  position: relative; color: #fff;
}
.why::before { content: ""; position: absolute; inset: 0; background: rgba(44,0,39,.92); }
.why .container { position: relative; }
.why h2, .why h3 { color: #fff; }
.why .section-lead { color: rgba(255,255,255,.8); }
.why-item i { font-size: 2rem; color: var(--gold); }
.why-item h3 { font-size: 1.25rem; margin: .8rem 0 .4rem; }
.why-item p { color: rgba(255,255,255,.78); margin: 0; }
@media (hover: none) { .why { background-attachment: scroll; } }

/* ---------- Blog cards ---------- */
.post-card {
  display: flex; flex-direction: column; height: 100%;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; text-decoration: none; color: inherit;
}
.post-card:hover { border-color: var(--plum); color: inherit; }
.post-card .post-img { aspect-ratio: 16 / 9; background: var(--plum-tint) center / cover no-repeat; }
.post-card .post-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.post-card .cat { font-size: .85rem; font-weight: 700; color: var(--plum); }
.post-card h3 { font-size: 1.3rem; margin: .4rem 0 .6rem; }
.post-card:hover h3 { text-decoration: underline; text-decoration-color: var(--gold); }
.post-card p { color: var(--muted); }
.post-meta { font-size: .9rem; color: var(--muted); margin-top: auto; }
.post-meta span + span::before { content: "|"; margin: 0 .5rem; opacity: .4; }

.filter-btn {
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  padding: .45rem 1rem; border-radius: 999px; font-weight: 600;
}
.filter-btn:hover { border-color: var(--plum); color: var(--plum); }
.filter-btn[aria-pressed="true"] { background: var(--plum); border-color: var(--plum); color: #fff; }
.search-box { border: 1px solid var(--line); border-radius: 999px; padding: .55rem 1.1rem; }
.search-box:focus { border-color: var(--plum); box-shadow: none; }

/* ---------- Article ---------- */
.article { font-size: 1.15rem; line-height: 1.8; max-width: 70ch; }
.article h2 { font-size: 1.7rem; margin: 2.4rem 0 .9rem; }
.article ul, .article ol { padding-left: 1.3rem; }
.article li { margin-bottom: .45rem; }
.article .lead-img { width: 100%; aspect-ratio: 16/8; object-fit: cover; border-radius: var(--radius); margin-bottom: 2rem; }
.article blockquote {
  border-left: 4px solid var(--gold); background: var(--plum-tint);
  padding: 1.1rem 1.4rem; margin: 2rem 0; color: var(--plum-dark); font-weight: 600;
}
.share-links a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; margin-right: .4rem;
  border: 1px solid var(--line); border-radius: 50%; color: var(--plum); text-decoration: none;
}
.share-links a:hover { background: var(--plum); color: #fff; border-color: var(--plum); }

/* ---------- Sidebar ---------- */
.side-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; margin-bottom: 1.5rem; background: #fff; }
.side-box h3 { font-size: 1.2rem; margin-bottom: 1rem; }
.side-links { list-style: none; padding: 0; margin: 0; }
.side-links a {
  display: flex; justify-content: space-between; align-items: center;
  padding: .75rem 1rem; margin-bottom: .4rem;
  background: var(--plum-tint); color: var(--ink); text-decoration: none; font-weight: 600;
  border-left: 3px solid transparent;
}
.side-links a:hover { color: var(--plum); border-left-color: var(--plum); }
.side-links a.active { background: var(--plum); color: #fff; border-left-color: var(--gold); }
.side-cta { background: var(--plum); color: #fff; border: 0; }
.side-cta h3 { color: #fff; }
.side-cta p { color: rgba(255,255,255,.82); }
.side-cta a.phone { color: #fff; font-family: var(--font-head); font-size: 1.3rem; font-weight: 700; text-decoration: none; }

/* ---------- Service page ---------- */
.service-hero-img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); margin-bottom: 2rem; }
.service-hero-img.tall { aspect-ratio: 4 / 3; object-position: center 35%; }
.feature-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; height: 100%; }
.feature-box i { font-size: 1.6rem; color: var(--plum); }
.feature-box h3 { font-size: 1.15rem; margin: .7rem 0 .4rem; }
.feature-box p { color: var(--muted); margin: 0; font-size: 1rem; }
.accordion-button { font-family: var(--font-head); font-weight: 600; }
.accordion-button:not(.collapsed) { background: var(--plum-tint); color: var(--plum); box-shadow: none; }
.accordion-button:focus { box-shadow: 0 0 0 .2rem rgba(77,0,68,.2); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; color: #fff; padding: 4.5rem 0;
  background: var(--plum) url("../img/containers-bg.webp") center / cover no-repeat;
}
.cta-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(77,0,68,.96), rgba(77,0,68,.8)); }
.cta-band .container { position: relative; }
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 3.5vw, 2.5rem); }
.cta-band p { color: rgba(255,255,255,.85); margin: 0; font-size: 1.1rem; }

/* ---------- Gallery ---------- */
.gallery-item {
  display: block; position: relative; overflow: hidden; border-radius: var(--radius);
  aspect-ratio: 4 / 3; background: var(--plum-tint); cursor: zoom-in; border: 0; padding: 0; width: 100%;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item span {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 2rem 1rem .8rem; text-align: left;
  color: #fff; font-weight: 600; background: linear-gradient(transparent, rgba(44,0,39,.85));
}
#lightbox .modal-content { background: transparent; border: 0; }
#lightbox img { width: 100%; border-radius: var(--radius); }
#lightbox .btn-close { position: absolute; top: -2.5rem; right: 0; }
@media (prefers-reduced-motion: reduce) { .gallery-item img { transition: none; } }

/* ---------- Forms ---------- */
.form-label { font-weight: 600; font-size: .95rem; }
.form-control, .form-select { border-radius: var(--radius); border: 1px solid #d6ccd4; padding: .7rem .9rem; }
.form-control:focus, .form-select:focus { border-color: var(--plum); box-shadow: 0 0 0 .2rem rgba(77,0,68,.12); }
.form-section-title { font-size: 1.15rem; padding-bottom: .6rem; border-bottom: 1px solid var(--line); margin: 1.5rem 0 1.2rem; }
.form-card { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--plum); border-radius: var(--radius); padding: 2rem; }
.contact-item { display: flex; gap: 1rem; margin-bottom: 1.4rem; }
.contact-item i {
  flex: 0 0 46px; height: 46px; display: grid; place-items: center;
  background: var(--plum-tint); color: var(--plum); font-size: 1.2rem; border-radius: 50%;
}
.contact-item strong { display: block; font-family: var(--font-head); color: var(--plum-dark); }
.map-frame { width: 100%; min-height: 360px; border: 0; border-radius: var(--radius); }

/* ---------- Footer ---------- */
.site-footer { background: var(--plum-dark); color: rgba(255,255,255,.75); padding: 4.5rem 0 0; font-size: 1rem; }
.site-footer .footer-logo { height: 58px; width: auto; margin-bottom: 1.2rem; }
.site-footer h4 { color: #fff; font-size: 1.1rem; margin-bottom: 1.2rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .55rem; }
.site-footer a { color: rgba(255,255,255,.78); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.site-footer .contact-line { display: flex; gap: .7rem; margin-bottom: .8rem; }
.site-footer .contact-line i { color: var(--gold); }
.social a {
  display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,.25); border-radius: 50%; margin-right: .4rem; color: #fff;
}
.social a:hover { background: var(--gold); border-color: var(--gold); color: var(--plum-dark); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 3.5rem; padding: 1.3rem 0; font-size: .9rem; }
.newsletter .form-control { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.2); color: #fff; }
.newsletter .form-control::placeholder { color: rgba(255,255,255,.5); }
.form-note { font-size: .92rem; margin: .5rem 0 0; min-height: 1.2em; }

/* ---------- Floating WhatsApp + back to top ---------- */
.float-wa {
  position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 1030;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25d366; color: #fff; font-size: 1.7rem;
  box-shadow: 0 8px 20px rgba(0,0,0,.2); text-decoration: none;
}
.float-wa:hover { color: #fff; background: #1ebe5b; }
.to-top {
  position: fixed; right: 1.35rem; bottom: 5.4rem; z-index: 1030;
  width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: var(--plum); color: #fff; display: none; place-items: center;
}
.to-top.show { display: grid; }

/* ---------- 404 ---------- */
.not-found { min-height: 60vh; display: flex; align-items: center; }
.not-found .code { font-family: var(--font-head); font-weight: 800; font-size: clamp(5rem, 14vw, 9rem); color: var(--plum); line-height: 1; }

/* ==========================================================
   MOBILE-FIRST FIXES + MOTION
   ========================================================== */
html, body { overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
body { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
/* 16px+ inputs stop iPhones zooming in when a field is tapped */
input, select, textarea, .form-control, .form-select { font-size: 16px !important; }

/* Page fade-in */
main { animation: page-in .5s ease both; }
@keyframes page-in { from { opacity: 0; } to { opacity: 1; } }

/* Scroll reveal */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--d, 0) * 90ms); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-delay="1"] { --d: 1; } [data-delay="2"] { --d: 2; } [data-delay="3"] { --d: 3; } [data-delay="4"] { --d: 4; }

/* Navbar shrink */
.site-nav .navbar-brand img { transition: height .25s ease; }
.site-nav.scrolled .navbar-brand img { height: 42px; }
.nav-call {
  width: 42px; height: 42px; border-radius: 50%;
  display: inline-grid; place-items: center;
  background: var(--plum); color: #fff; text-decoration: none;
}
.nav-call:hover { color: #fff; background: var(--plum-mid); }
.navbar-toggler { border: 1px solid var(--line); padding: .45rem .6rem; }
.navbar-toggler:focus { box-shadow: 0 0 0 .2rem rgba(77,0,68,.2); }

/* Hero slider */
.hero { overflow: hidden; background-image: none; }
.hero-slides { position: absolute; inset: 0; }
.hero-slides .slide {
  position: absolute; inset: 0;
  background: center / cover no-repeat;
  opacity: 0; transform: scale(1.08);
  transition: opacity 1.4s ease, transform 7s linear;
}
.hero-slides .slide.is-active { opacity: 1; transform: scale(1); }
.hero::before { z-index: 1; }
.hero .container { z-index: 2; }
.hero-kicker {
  display: inline-block; font-family: var(--font-head); font-weight: 600;
  color: var(--gold); border-left: 3px solid var(--gold); padding-left: .75rem; margin-bottom: 1.2rem;
}
.hero-text { font-size: 1.2rem; max-width: 48ch; color: rgba(255,255,255,.88); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.rotator { color: var(--gold); display: inline-block; transition: opacity .35s ease, transform .35s ease; }
.rotator.is-out { opacity: 0; transform: translateY(-.35em); }
.hero-dots { position: absolute; z-index: 3; right: 1.5rem; bottom: 6.5rem; display: flex; gap: .5rem; }
.hero-dots button {
  width: 34px; height: 4px; border: 0; padding: 0; border-radius: 2px;
  background: rgba(255,255,255,.4); cursor: pointer; position: relative;
}
.hero-dots button::after { content: ""; position: absolute; inset: -10px 0; } /* bigger tap area */
.hero-dots button.is-active { background: var(--gold); }

/* Service ticker */
.ticker { overflow: hidden; background: var(--plum); padding: 1rem 0; margin-top: 3.5rem; }
.ticker-track { display: flex; width: max-content; animation: ticker 38s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker a {
  display: inline-flex; align-items: center; gap: .6rem;
  color: #fff; text-decoration: none; white-space: nowrap;
  font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; padding: 0 2.2rem;
  border-right: 1px solid rgba(255,255,255,.18);
}
.ticker a i { color: var(--gold); }
.ticker a:hover { color: var(--gold); }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Stats */
.stats { padding: 3.5rem 0; border-bottom: 1px solid var(--line); }
.stat .num { display: block; font-family: var(--font-head); font-weight: 800; font-size: clamp(2.4rem, 5vw, 3.4rem); color: var(--plum); line-height: 1; }
.stat .label { display: block; color: var(--muted); margin-top: .5rem; font-size: 1rem; }

/* Image zoom on hover */
.service-tile .tile-img, .post-card .post-img { transition: transform .6s ease; }
.service-tile { isolation: isolate; }
.service-tile:hover .tile-img, .post-card:hover .post-img { transform: scale(1.06); }
.post-card { overflow: hidden; }
.tile-body, .post-body { position: relative; background: #fff; }

/* Reading progress (blog posts) */
.read-progress { position: fixed; top: 0; left: 0; right: 0; height: 4px; z-index: 1100; pointer-events: none; }
.read-progress span { display: block; height: 100%; width: 0; background: var(--gold); }

/* ---------- Tablet & phone ---------- */
@media (max-width: 991.98px) {
  .site-nav .navbar-collapse { max-height: calc(100svh - 80px); overflow-y: auto; padding: .75rem 0 1rem; }
  .site-nav .nav-link { padding: .8rem .25rem !important; border-bottom: 1px solid var(--line); }
  .site-nav .nav-link.active { box-shadow: none; color: var(--plum); }
  .site-nav .dropdown-menu { border: 0; border-left: 3px solid var(--plum); border-radius: 0; padding: 0; margin: 0 0 .5rem; }
  .site-nav .nav-item .btn { width: 100%; margin-top: .75rem; }
  .why { background-attachment: scroll; }
  .section { padding: 4rem 0; }
}
@media (max-width: 767.98px) {
  body { font-size: 1rem; }
  .hero { min-height: 0; padding: 4.5rem 0 7rem; }
  .hero h1 { font-size: clamp(2.1rem, 9vw, 2.8rem); }
  .hero-text { font-size: 1.05rem; }
  .hero-points { gap: .4rem 1rem; font-size: .95rem; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-dots { left: 50%; right: auto; transform: translateX(-50%); bottom: 5rem; }
  .quote-bar-wrap { margin-top: -3.5rem; }
  .quote-bar { padding: 1.25rem; }
  .ticker { margin-top: 2.5rem; }
  .ticker a { font-size: 1rem; padding: 0 1.4rem; }
  .section { padding: 3.25rem 0; }
  .page-head { padding: 3rem 0 2.5rem; }
  .page-head p { font-size: 1.02rem; }
  .split-img .badge-box { position: static; max-width: none; margin-top: -1px; }
  .form-card { padding: 1.25rem; }
  .side-box { padding: 1.25rem; }
  .cta-band .btn { flex: 1 1 100%; }
  .cta-band .d-flex.gap-2 { width: 100%; }
  .site-footer { padding-top: 3rem; }
  .float-wa { width: 52px; height: 52px; right: 1rem; bottom: 1rem; }
  .to-top { right: 1.2rem; bottom: 4.6rem; }
  .article { font-size: 1.05rem; }
  .article h2 { font-size: 1.45rem; }
  .map-frame { min-height: 280px; }
  .steps .step { padding-top: 0; padding-left: 4.2rem; min-height: 52px; }
}

@media (prefers-reduced-motion: reduce) {
  main { animation: none; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .hero-slides .slide { transition: opacity .01s; transform: none !important; }
  .ticker-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; row-gap: .6rem; }
  .ticker-track a:nth-child(n+8) { display: none; }
  .rotator { transition: none; }
  .service-tile .tile-img, .post-card .post-img { transition: none; }
}

/* Gutter + dot position fixes */
.hero-dots { left: 50%; right: auto; transform: translateX(-50%); }
@media (max-width: 767.98px) {
  .row.g-5 { --bs-gutter-x: 1.5rem; --bs-gutter-y: 2.5rem; }
}

/* Rotating hero word: fixed slot, no layout shift */
.hero h1 { max-width: none; }
.h1-line { white-space: nowrap; }
.rotator { display: inline-grid; vertical-align: bottom; color: var(--gold); transition: none; }
.rotator > span {
  grid-area: 1 / 1; opacity: 0; transform: translateY(.4em);
  transition: opacity .45s ease, transform .45s ease;
}
.rotator > span.is-active { opacity: 1; transform: none; }
@media (max-width: 767.98px) { .hero h1 { font-size: clamp(1.75rem, 8vw, 2.6rem); } }
@media (prefers-reduced-motion: reduce) { .rotator > span { transition: none; } }

/* Inline SVG icons (WhatsApp + social) */
.svg-icon { width: 1em; height: 1em; display: inline-block; vertical-align: -0.125em; fill: currentColor; flex-shrink: 0; }
.float-wa .svg-icon { width: 30px; height: 30px; }
.btn .svg-icon { margin-right: .5rem; }

/* Footer social icons */
.site-footer .social { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.5rem; }
.site-footer .social a {
  width: 42px; height: 42px; margin: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  border-radius: 50%; color: #fff; transition: background .2s ease, color .2s ease, transform .2s ease;
}
.site-footer .social a .svg-icon { width: 18px; height: 18px; }
.site-footer .social a:hover { background: var(--gold); border-color: var(--gold); color: var(--plum-dark); transform: translateY(-2px); }
.footer-credit a { color: var(--gold); font-weight: 600; }

/* Privacy policy layout */
.policy-toc { position: sticky; top: 100px; }
.policy-toc ol { padding-left: 1.2rem; margin: 0; }
.policy-toc li { margin-bottom: .45rem; }
.policy-toc a { color: var(--ink); text-decoration: none; }
.policy-toc a:hover { color: var(--plum); text-decoration: underline; }
.policy h2 { font-size: 1.45rem; margin: 2.4rem 0 .8rem; padding-top: .4rem; }
.policy h2:first-of-type { margin-top: 0; }
.policy .meta { color: var(--muted); font-size: .95rem; border-left: 3px solid var(--gold); padding-left: .9rem; margin-bottom: 2rem; }
@media (max-width: 991.98px) { .policy-toc { position: static; } }
.policy section { scroll-margin-top: 110px; }
@media (max-width: 767.98px) { .footer-bottom { padding-bottom: 5.5rem; } }

/* Form status messages */
.form-note.is-error { color: #c0182b; }
.site-footer .form-note.is-error { color: #ffb4bd; }
.form-note:empty { display: none; }
