/* =====================================================================
   MJVE PLUMBING SERVICES — Main Stylesheet
   Built on Bootstrap 5 (grid + utilities). Brand colors come from the
   MJVE logo. Change the variables below to re-theme the whole site.
   ===================================================================== */

:root {
  /* Brand palette (from logo) */
  --brand: #1e7a4a;          /* logo mid green  */
  --brand-light: #2da062;    /* logo light green */
  --brand-dark: #0f5132;     /* logo deep green  */
  --brand-deep: #0a3d26;
  --navy: #082a1d;           /* dark green-navy accent */
  --gold: #f0b33c;           /* logo gold ring   */
  --gold-dark: #d9982a;
  --ink: #17261e;
  --muted: #5b6b63;
  --line: #e2ebe6;
  --bg-soft: #f3f8f5;
  --white: #ffffff;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 10px rgba(8, 42, 29, .06);
  --shadow: 0 10px 30px rgba(8, 42, 29, .10);
  --shadow-lg: 0 20px 50px rgba(8, 42, 29, .16);
  --header-h: 76px;

  --font-head: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  /* Bootstrap overrides */
  --bs-primary: var(--brand);
  --bs-primary-rgb: 30, 122, 74;
  --bs-link-color: var(--brand);
  --bs-link-color-rgb: 30, 122, 74;
  --bs-link-hover-color: var(--brand-dark);
  --bs-link-hover-color-rgb: 15, 81, 50;
  --bs-body-color: var(--ink);
  --bs-body-font-family: var(--font-body);
  --bs-heading-color: var(--navy);
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, .font-head {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
}
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); letter-spacing: -.01em; }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
p { color: var(--muted); }
a { color: var(--brand); text-decoration: none; transition: color .2s; }
a:hover { color: var(--brand-dark); }
img { max-width: 100%; height: auto; }

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

.skip-link {
  position: absolute; left: 1rem; top: -60px; z-index: 2000;
  background: var(--gold); color: var(--navy); padding: .6rem 1rem;
  border-radius: 8px; font-weight: 600; transition: top .2s;
}
.skip-link:focus { top: 1rem; color: var(--navy); }

.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-sm { padding: clamp(2.5rem, 5vw, 3.5rem) 0; }
.bg-soft { background: var(--bg-soft); }
.bg-brand-dark { background: var(--brand-dark); }
.text-gold { color: var(--gold) !important; }
.text-brand { color: var(--brand) !important; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-head); font-weight: 600; font-size: .8rem;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand); margin-bottom: .75rem;
}
.eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: var(--gold); }
.section-head { max-width: 720px; margin: 0 auto 3rem; text-align: center; }
.section-head .eyebrow { justify-content: center; }
.section-head p { font-size: 1.075rem; }

/* Placeholder text (business info not yet configured) */
.ph-text { color: #a06b00 !important; background: #fff6e0; border: 1px dashed #e8c06a; border-radius: 6px; padding: 0 .4em; font-size: .92em; }
.on-dark .ph-text, .site-footer .ph-text, .topbar .ph-text { color: #ffe3a3 !important; background: rgba(240,179,60,.12); border-color: rgba(240,179,60,.5); }

.sample-badge {
  display: inline-block; background: var(--gold); color: var(--navy);
  font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: .2rem .55rem; border-radius: 50px;
}

/* ---------- Buttons ---------- */
.btn { font-family: var(--font-head); font-weight: 600; border-radius: 50px; padding: .8rem 1.6rem; letter-spacing: .01em; transition: all .25s ease; display: inline-flex; align-items: center; justify-content: center; gap: .55rem; }
.btn-lg { padding: 1rem 2rem; font-size: 1.05rem; }
.btn-sm { padding: .5rem 1.1rem; font-size: .875rem; }
.btn-brand { background: var(--brand); color: #fff; border: 2px solid var(--brand); }
.btn-brand:hover, .btn-brand:focus { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 22px rgba(15,81,50,.28); }
.btn-gold { background: var(--gold); color: var(--navy); border: 2px solid var(--gold); }
.btn-gold:hover, .btn-gold:focus { background: var(--gold-dark); border-color: var(--gold-dark); color: var(--navy); transform: translateY(-2px); box-shadow: 0 10px 22px rgba(217,152,42,.35); }
.btn-outline-light-brand { border: 2px solid rgba(255,255,255,.75); color: #fff; background: transparent; }
.btn-outline-light-brand:hover, .btn-outline-light-brand:focus { background: #fff; color: var(--brand-dark); border-color: #fff; }
.btn-outline-brand { border: 2px solid var(--brand); color: var(--brand); background: transparent; }
.btn-outline-brand:hover, .btn-outline-brand:focus { background: var(--brand); color: #fff; }
.btn:disabled { opacity: .65; transform: none !important; }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 3000; background: #fff;
  display: grid; place-items: center; transition: opacity .45s ease, visibility .45s;
}
.preloader.is-hidden { opacity: 0; visibility: hidden; }
.preloader-drop {
  width: 46px; height: 46px; background: linear-gradient(180deg, var(--brand-light), var(--brand-dark));
  border-radius: 0 50% 50% 50%; transform: rotate(45deg);
  animation: dropPulse 1s ease-in-out infinite;
}
.preloader-text { margin-top: 1.1rem; font-family: var(--font-head); font-weight: 700; color: var(--brand-dark); letter-spacing: .12em; font-size: .8rem; }
@keyframes dropPulse { 0%,100% { transform: rotate(45deg) scale(1); } 50% { transform: rotate(45deg) scale(.82); } }
@media (prefers-reduced-motion: reduce) { .preloader-drop { animation: none; } }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy); color: rgba(255,255,255,.85); font-size: .85rem; padding: .45rem 0; }
.topbar a { color: rgba(255,255,255,.9); }
.topbar a:hover { color: var(--gold); }
.topbar i { color: var(--gold); margin-right: .4rem; }
.topbar .sep { opacity: .3; margin: 0 .8rem; }

/* ---------- Header / Navbar ---------- */
.site-header { position: sticky; top: 0; z-index: 1030; background: rgba(255,255,255,.97); backdrop-filter: saturate(160%) blur(8px); border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s; }
.site-header.is-scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); }
.navbar { min-height: var(--header-h); padding: .4rem 0; }
.navbar-brand { display: flex; align-items: center; gap: .7rem; }
.navbar-brand img { width: 56px; height: 56px; transition: width .3s, height .3s; }
.site-header.is-scrolled .navbar-brand img { width: 48px; height: 48px; }
.brand-text { line-height: 1.05; }
.brand-text strong { display: block; font-family: var(--font-head); font-weight: 800; color: var(--brand-dark); font-size: 1.15rem; letter-spacing: .02em; }
.brand-text small { display: block; font-size: .68rem; letter-spacing: .2em; font-weight: 600; color: var(--gold-dark); text-transform: uppercase; }
.navbar .nav-link { font-family: var(--font-head); font-weight: 500; color: var(--ink); padding: .5rem .9rem !important; position: relative; font-size: .95rem; }
.navbar .nav-link:hover, .navbar .nav-link.active { color: var(--brand); }
@media (min-width: 992px) {
  .navbar .nav-link::after { content: ""; position: absolute; left: .9rem; right: .9rem; bottom: .2rem; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform .25s; transform-origin: left; }
  .navbar .nav-link:hover::after, .navbar .nav-link.active::after { transform: scaleX(1); }
  .navbar .dropdown-toggle::after { border: 0; }
}
.dropdown-menu { border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: .5rem; }
.dropdown-item { border-radius: 8px; padding: .55rem .9rem; font-size: .93rem; }
.dropdown-item:hover, .dropdown-item.active, .dropdown-item:active { background: var(--bg-soft); color: var(--brand-dark); }
.dropdown-item i { width: 1.4rem; color: var(--brand); }
.navbar-toggler { border: 0; font-size: 1.5rem; color: var(--brand-dark); padding: .4rem .6rem; }
.navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(240,179,60,.5); }
@media (max-width: 991.98px) {
  .navbar-collapse { padding: 1rem 0 1.25rem; border-top: 1px solid var(--line); margin-top: .5rem; }
  .navbar .nav-link { padding: .7rem .25rem !important; border-bottom: 1px solid var(--line); }
  .dropdown-menu { box-shadow: none; border: 0; padding-left: .75rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  padding: clamp(5rem, 12vw, 8.5rem) 0 clamp(5rem, 11vw, 8rem);
  background: var(--navy) url("../images/hero.jpg") center/cover no-repeat;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(8,42,29,.94) 0%, rgba(10,61,38,.86) 45%, rgba(30,122,74,.55) 100%);
}
.hero::after { /* subtle wave divider */
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 60px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' d='M0 40c240 26 480 26 720 0s480-26 720 0v20H0z'/%3E%3C/svg%3E") center bottom/100% 100% no-repeat;
}
.hero > .container { position: relative; z-index: 1; }
.hero h1 { color: #fff; margin-bottom: 1.25rem; }
.hero h1 .accent { color: var(--gold); }
.hero .lead { color: rgba(255,255,255,.88); font-size: clamp(1.02rem, 1.6vw, 1.2rem); max-width: 620px; }
.hero-badge { display: inline-flex; align-items: center; gap: .55rem; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); padding: .4rem 1rem; border-radius: 50px; font-size: .85rem; font-weight: 600; margin-bottom: 1.4rem; color: #fff; }
.hero-badge i { color: var(--gold); }
.hero-points { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; }
.hero-points li { display: flex; align-items: center; gap: .5rem; color: rgba(255,255,255,.9); font-weight: 500; font-size: .95rem; }
.hero-points i { color: var(--gold); }
.hero-logo-card { background: rgba(255,255,255,.96); border-radius: 50%; padding: 1.25rem; width: min(360px, 80%); margin-left: auto; box-shadow: 0 30px 70px rgba(0,0,0,.35); animation: floaty 6s ease-in-out infinite; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@media (prefers-reduced-motion: reduce) { .hero-logo-card { animation: none; } }

/* Page hero (inner pages) */
.page-hero { padding: clamp(3.5rem, 8vw, 5.5rem) 0 clamp(4rem, 8vw, 5.5rem); }
.page-hero h1 { font-size: clamp(1.9rem, 4vw, 3rem); }
.breadcrumb { margin-bottom: 1rem; font-size: .88rem; }
.breadcrumb-item a { color: rgba(255,255,255,.8); }
.breadcrumb-item a:hover { color: var(--gold); }
.breadcrumb-item.active { color: var(--gold); }
.breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.5); }

/* Landing hero with form (Google Ads pages) */
.landing-hero { padding-bottom: clamp(4.5rem, 9vw, 6.5rem); }
.landing-hero .form-card { color: var(--ink); }

/* ---------- Cards ---------- */
.service-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; height: 100%; display: flex; flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card .thumb { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--bg-soft); }
.service-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.service-card:hover .thumb img { transform: scale(1.06); }
.service-card .icon-badge { position: absolute; left: 1.25rem; top: -28px; }
.service-card .body { position: relative; padding: 2.2rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.service-card h3 { font-size: 1.2rem; margin-bottom: .6rem; }
.service-card p { font-size: .96rem; flex: 1; }
.link-arrow { font-family: var(--font-head); font-weight: 600; font-size: .92rem; display: inline-flex; align-items: center; gap: .45rem; }
.link-arrow i { transition: transform .25s; }
.link-arrow:hover i { transform: translateX(4px); }

.icon-badge {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand-light), var(--brand-dark));
  color: #fff; font-size: 1.35rem; box-shadow: 0 10px 22px rgba(15,81,50,.28);
}
.icon-badge.gold { background: linear-gradient(135deg, #f6c868, var(--gold-dark)); color: var(--navy); box-shadow: 0 10px 22px rgba(217,152,42,.3); }
.icon-badge.soft { background: var(--bg-soft); color: var(--brand); box-shadow: none; }

.feature-card { background: #fff; border-radius: var(--radius-lg); padding: 2rem 1.6rem; height: 100%; border: 1px solid var(--line); transition: transform .3s, box-shadow .3s; }
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.feature-card h3 { font-size: 1.12rem; margin: 1.2rem 0 .5rem; }
.feature-card p { font-size: .95rem; margin: 0; }

.info-card { background: #fff; border-radius: var(--radius); padding: 1.5rem; border-left: 4px solid var(--brand); box-shadow: var(--shadow-sm); height: 100%; }
.info-card h3 { font-size: 1.08rem; margin-bottom: .4rem; }
.info-card p { margin: 0; font-size: .95rem; }

.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding-left: 2rem; margin-bottom: .75rem; color: var(--ink); }
.check-list li::before { content: "\f00c"; font-family: "Font Awesome 7 Free", "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 0; top: .15rem; width: 1.35rem; height: 1.35rem; border-radius: 50%; background: var(--bg-soft); color: var(--brand); font-size: .7rem; display: grid; place-items: center; }
.check-list.warn li::before { content: "\f071"; color: var(--gold-dark); background: #fff6e0; }

/* ---------- Process steps ---------- */
.steps { counter-reset: step; }
.step { position: relative; text-align: center; padding: 0 .75rem; }
.step-num { width: 74px; height: 74px; margin: 0 auto 1.1rem; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 3px solid var(--brand); color: var(--brand); font-size: 1.5rem; position: relative; z-index: 1; box-shadow: var(--shadow-sm); transition: all .3s; }
.step:hover .step-num { background: var(--brand); color: #fff; }
.step-num::after { counter-increment: step; content: counter(step); position: absolute; top: -6px; right: -6px; width: 26px; height: 26px; border-radius: 50%; background: var(--gold); color: var(--navy); font-family: var(--font-head); font-weight: 700; font-size: .8rem; display: grid; place-items: center; }
.step h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.step p { font-size: .92rem; }
@media (min-width: 992px) {
  .steps .step:not(:last-child)::before { content: ""; position: absolute; top: 37px; left: calc(50% + 46px); width: calc(100% - 92px); border-top: 2px dashed rgba(30,122,74,.35); }
}

/* ---------- Split / about ---------- */
.media-frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.media-frame img { width: 100%; display: block; }
.media-frame-accent { position: relative; }
.media-frame-accent::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; border: 3px solid var(--gold); border-radius: var(--radius-lg); z-index: -1; }
.logo-panel { background: radial-gradient(circle at 30% 20%, #ffffff, var(--bg-soft)); border-radius: var(--radius-lg); padding: 2.5rem; display: grid; place-items: center; border: 1px solid var(--line); }
.logo-panel img { width: min(320px, 85%); }

/* ---------- Projects / gallery ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-bottom: 2.5rem; }
.filter-btn { border: 1.5px solid var(--line); background: #fff; color: var(--ink); border-radius: 50px; padding: .5rem 1.1rem; font-family: var(--font-head); font-weight: 500; font-size: .9rem; transition: all .2s; }
.filter-btn:hover { border-color: var(--brand); color: var(--brand); }
.filter-btn.active { background: var(--brand); border-color: var(--brand); color: #fff; }
.project-card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); height: 100%; transition: transform .3s, box-shadow .3s; }
.project-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.gallery-item { display: block; position: relative; aspect-ratio: 4/3; overflow: hidden; cursor: zoom-in; background: var(--bg-soft); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery-item::after { content: "\f00e"; font-family: "Font Awesome 7 Free", "Font Awesome 6 Free"; font-weight: 900; position: absolute; inset: 0; display: grid; place-items: center; font-size: 1.6rem; color: #fff; background: rgba(8,42,29,.45); opacity: 0; transition: opacity .3s; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item:hover::after, .gallery-item:focus-visible::after { opacity: 1; }
.project-card .body { padding: 1.25rem 1.4rem 1.5rem; }
.project-card h3 { font-size: 1.08rem; margin: .5rem 0 .4rem; }
.project-card p { font-size: .93rem; margin: 0; }
.cat-label { display: inline-block; background: var(--bg-soft); color: var(--brand-dark); font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: .28rem .7rem; border-radius: 50px; }
.project-item.is-hidden { display: none; }
.ba-wrap { position: relative; }
.ba-tag { position: absolute; top: 1rem; left: 1rem; z-index: 2; background: var(--navy); color: #fff; font-weight: 700; font-size: .75rem; letter-spacing: .12em; padding: .3rem .8rem; border-radius: 50px; }
.ba-tag.after { background: var(--brand); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 2500; background: rgba(4,20,13,.94); display: none; align-items: center; justify-content: center; padding: 4rem 1rem; }
.lightbox.is-open { display: flex; }
.lightbox figure { margin: 0; max-width: min(1100px, 100%); text-align: center; }
.lightbox img { max-height: 76vh; width: auto; max-width: 100%; border-radius: 12px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox figcaption { color: rgba(255,255,255,.88); margin-top: 1rem; font-size: .95rem; }
.lb-btn { position: absolute; background: rgba(255,255,255,.12); border: 0; color: #fff; width: 50px; height: 50px; border-radius: 50%; font-size: 1.2rem; display: grid; place-items: center; transition: background .2s; }
.lb-btn:hover, .lb-btn:focus-visible { background: var(--gold); color: var(--navy); }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }
.lb-counter { position: absolute; top: 1.5rem; left: 1.5rem; color: rgba(255,255,255,.7); font-size: .9rem; }

/* ---------- Reviews ---------- */
.review-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.8rem; height: 100%; position: relative; display: flex; flex-direction: column; }
.review-card .quote-icon { position: absolute; top: 1.4rem; right: 1.5rem; font-size: 2rem; color: rgba(30,122,74,.12); }
.review-card .text { color: var(--ink); font-style: italic; flex: 1; margin: .9rem 0 1.3rem; }
.stars { color: var(--gold); letter-spacing: .12em; font-size: .95rem; }
.reviewer { display: flex; align-items: center; gap: .85rem; }
.avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--brand-light), var(--brand-dark)); color: #fff; font-family: var(--font-head); font-weight: 700; }
.reviewer strong { display: block; color: var(--navy); font-family: var(--font-head); font-size: .98rem; }
.reviewer small { color: var(--muted); }
.google-panel { background: #fff; border: 2px dashed #cfdcd5; border-radius: var(--radius-lg); padding: 2.2rem; text-align: center; }

/* ---------- FAQ ---------- */
.faq .accordion-item { border: 1px solid var(--line); border-radius: var(--radius) !important; margin-bottom: .8rem; overflow: hidden; }
.faq .accordion-button { font-family: var(--font-head); font-weight: 600; color: var(--navy); padding: 1.15rem 1.35rem; font-size: 1rem; }
.faq .accordion-button:not(.collapsed) { background: var(--bg-soft); color: var(--brand-dark); box-shadow: none; }
.faq .accordion-button:focus { box-shadow: 0 0 0 3px rgba(240,179,60,.45); }
.faq .accordion-body { color: var(--muted); padding: .4rem 1.35rem 1.3rem; }

/* ---------- Forms ---------- */
.form-card { background: #fff; border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 2.4rem); box-shadow: var(--shadow-lg); border-top: 5px solid var(--gold); }
.form-card h2, .form-card h3 { margin-bottom: .35rem; }
.form-label { font-weight: 600; font-size: .9rem; color: var(--navy); margin-bottom: .35rem; }
.form-label .req { color: #c0392b; }
.form-control, .form-select { border: 1.5px solid #d6e2db; border-radius: 10px; padding: .72rem .95rem; font-size: .97rem; transition: border-color .2s, box-shadow .2s; }
.form-control:focus, .form-select:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(45,160,98,.15); }
.form-control.is-invalid, .form-select.is-invalid { border-color: #c0392b; }
.form-control.is-valid, .form-select.is-valid { border-color: var(--brand-light); }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .82rem; color: var(--muted); }
.form-status { border-radius: 12px; padding: .9rem 1.1rem; font-size: .93rem; margin-top: 1rem; display: none; }
.form-status.show { display: block; }
.form-status.success { background: #e6f5ec; color: #135c36; border: 1px solid #a9d8bc; }
.form-status.error { background: #fdecea; color: #8e2a1f; border: 1px solid #f2b8b0; }
.form-status.warning { background: #fff6e0; color: #6d4c00; border: 1px solid #f0d08a; }

/* ---------- Contact ---------- */
.contact-item { display: flex; gap: 1rem; align-items: flex-start; padding: 1.2rem 0; border-bottom: 1px solid var(--line); }
.contact-item:last-child { border-bottom: 0; }
.contact-item h3 { font-size: .98rem; margin: 0 0 .2rem; }
.contact-item p, .contact-item a { margin: 0; font-size: .97rem; word-break: break-word; }
.map-placeholder { border-radius: var(--radius-lg); background: repeating-linear-gradient(45deg, #eef5f1, #eef5f1 14px, #e6f0ea 14px, #e6f0ea 28px); border: 2px dashed #c7d8ce; min-height: 340px; display: grid; place-items: center; text-align: center; padding: 2rem; }
.map-embed iframe { width: 100%; min-height: 380px; border: 0; border-radius: var(--radius-lg); display: block; }
.area-list { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0; }
.area-list li { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 50px; padding: .35rem .9rem; font-size: .88rem; color: var(--brand-dark); font-weight: 500; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--brand-dark), var(--brand) 60%, var(--brand-light)); color: #fff; border-radius: var(--radius-lg); padding: clamp(2.5rem, 6vw, 4rem); }
.cta-band::before { content: ""; position: absolute; width: 380px; height: 380px; right: -120px; top: -160px; border-radius: 50%; border: 40px solid rgba(240,179,60,.18); }
.cta-band::after { content: ""; position: absolute; width: 220px; height: 220px; left: -80px; bottom: -110px; border-radius: 50%; background: rgba(255,255,255,.06); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.88); }

/* ---------- Stats strip (non-numeric commitments) ---------- */
.commit-strip { background: var(--navy); color: #fff; }
.commit-item { display: flex; align-items: center; gap: .9rem; }
.commit-item i { font-size: 1.5rem; color: var(--gold); }
.commit-item strong { display: block; font-family: var(--font-head); font-size: 1rem; }
.commit-item span { font-size: .85rem; color: rgba(255,255,255,.72); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,.75); padding-top: 4.5rem; font-size: .94rem; }
.site-footer h2 { color: #fff; font-size: 1.05rem; margin-bottom: 1.2rem; position: relative; padding-bottom: .7rem; }
.site-footer h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 3px; background: var(--gold); border-radius: 3px; }
.site-footer p { color: rgba(255,255,255,.72); }
.site-footer a { color: rgba(255,255,255,.8); }
.site-footer a:hover { color: var(--gold); }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .55rem; }
.footer-links a { display: inline-flex; align-items: center; gap: .5rem; }
.footer-links a i { font-size: .7rem; color: var(--gold); }
.footer-contact li { display: flex; gap: .75rem; margin-bottom: .85rem; }
.footer-contact i { color: var(--gold); margin-top: .3rem; width: 1rem; }
.footer-brand { display: flex; align-items: center; gap: .8rem; margin-bottom: 1rem; }
.footer-brand img { width: 64px; height: 64px; }
.footer-brand strong { color: #fff; font-family: var(--font-head); font-size: 1.1rem; line-height: 1.2; }
.social-links { display: flex; gap: .55rem; margin-top: 1.2rem; }
.social-links a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; }
.social-links a:hover { background: var(--gold); color: var(--navy); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 3rem; padding: 1.4rem 0; font-size: .85rem; }

/* ---------- Floating UI ---------- */
.back-to-top { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 1040; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--brand); color: #fff; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(12px); transition: all .3s; display: grid; place-items: center; }
.back-to-top.show { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--gold); color: var(--navy); }

.mobile-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1045; display: none; background: #fff; box-shadow: 0 -6px 20px rgba(8,42,29,.15); padding: .55rem .6rem calc(.55rem + env(safe-area-inset-bottom)); gap: .5rem; }
.mobile-cta a { flex: 1; padding: .75rem .5rem; font-size: .92rem; border-radius: 12px; }
@media (max-width: 767.98px) {
  .mobile-cta { display: flex; }
  body { padding-bottom: 72px; }
  .back-to-top { bottom: 5.4rem; }
}

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
.reveal[data-delay="5"] { transition-delay: .40s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- 404 ---------- */
.error-page { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 4rem 0; background: radial-gradient(circle at 50% 0%, var(--bg-soft), #fff 60%); }
.error-code { font-family: var(--font-head); font-weight: 800; font-size: clamp(6rem, 18vw, 10rem); line-height: 1; background: linear-gradient(135deg, var(--brand-light), var(--brand-dark)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Utilities ---------- */
.rounded-xl { border-radius: var(--radius-lg) !important; }
.mw-680 { max-width: 680px; }
.small-muted { font-size: .85rem; color: var(--muted); }

/* =====================================================================
   LANDING PAGE ADDITIONS
   ===================================================================== */
.hero-name { display: block; font-size: clamp(.95rem, 1.6vw, 1.1rem); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: .8rem; }
.term { font-style: italic; color: var(--gold); }
.on-light .term, .term-dark { color: var(--brand); font-style: italic; }
.svc-tag { display: inline-block; font-size: .75rem; font-weight: 700; color: var(--gold-dark); letter-spacing: .06em; text-transform: uppercase; margin-bottom: .3rem; }
.trust-row { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.4rem; }
.trust-chip { display: inline-flex; align-items: center; gap: .45rem; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); border-radius: 50px; padding: .35rem .85rem; font-size: .85rem; color: #fff; }
.trust-chip i { color: var(--gold); }
.mini-logo { width: 88px; height: 88px; border-radius: 50%; background: #fff; padding: 4px; box-shadow: 0 10px 30px rgba(0,0,0,.3); margin-bottom: 1.2rem; }
