/* ==========================================================================
   Waltair Restorations Inc. — Stylesheet
   Simple, responsive, SEO-friendly design system
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --navy: #122236;
  --navy-700: #1b3251;
  --navy-600: #25456b;
  --amber: #f7931e;
  --amber-600: #e07e07;
  --amber-100: #fff3e1;
  --ink: #1f2933;
  --muted: #52606d;
  --muted-2: #7b8794;
  --line: #e4e9f0;
  --bg: #ffffff;
  --bg-soft: #f6f8fc;
  --bg-soft-2: #eef2f8;
  --white: #ffffff;
  --success: #1f9d55;
  --danger: #d64545;

  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(18, 34, 54, .06), 0 2px 8px rgba(18, 34, 54, .05);
  --shadow-md: 0 10px 30px rgba(18, 34, 54, .10);
  --shadow-lg: 0 24px 60px rgba(18, 34, 54, .18);

  --container: 1160px;
  --gutter: clamp(18px, 4vw, 40px);

  --ff-head: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --ff-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --t: .25s cubic-bezier(.4, 0, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--ff-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.62;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3, h4 { font-family: var(--ff-head); line-height: 1.15; color: var(--navy); font-weight: 700; }
h1 { font-size: clamp(1.8rem, 4.4vw, 2.95rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.45rem, 3vw, 2.15rem); letter-spacing: -.015em; }
h3 { font-size: clamp(1.06rem, 1.7vw, 1.25rem); }
p { color: var(--muted); }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding: clamp(46px, 6.5vw, 92px) 0; }
.section--soft { background: var(--bg-soft); }
.section--navy { background: var(--navy); color: #d8e2f0; }
.section--navy h2, .section--navy h3 { color: #fff; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.mt-1 { margin-top: 12px; } .mt-2 { margin-top: 22px; } .mt-3 { margin-top: 34px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--ff-head); font-weight: 600; font-size: .8rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--amber-600);
  margin-bottom: 14px;
}
.section--navy .eyebrow { color: var(--amber); }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--amber); border-radius: 2px; }

.section-head { max-width: 680px; margin-bottom: clamp(34px, 5vw, 56px); }
.section-head.center { margin-inline: auto; }
.lead { font-size: 1.04rem; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--ff-head); font-weight: 600; font-size: .95rem; line-height: 1.1;
  padding: 13px 24px; border-radius: 999px; border: 2px solid transparent;
  transition: transform var(--t), box-shadow var(--t), background var(--t), color var(--t), border-color var(--t);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--amber); color: var(--navy); box-shadow: 0 8px 20px rgba(247, 147, 30, .32); }
.btn--primary:hover { background: var(--amber-600); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(247, 147, 30, .42); }
.btn--dark { background: var(--navy); color: #fff; }
.btn--dark:hover { background: var(--navy-700); color: #fff; transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--navy); background: var(--navy); color: #fff; }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: var(--amber-100); color: var(--navy); transform: translateY(-2px); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn--outline-light:hover { background: #fff; color: var(--navy); }
.btn--block { width: 100%; }
.btn--lg { padding: 15px 30px; font-size: 1rem; }

/* ---------- Top utility bar ---------- */
.topbar {
  background: var(--navy); color: #cdd9ea; font-size: .86rem;
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 8px; }
.topbar a { color: #cdd9ea; transition: color var(--t); }
.topbar a:hover { color: #fff; }
.topbar__left, .topbar__right { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.topbar__item { display: inline-flex; align-items: center; gap: 7px; }
.topbar__item svg { width: 15px; height: 15px; color: var(--amber); }
@media (max-width: 760px) { .topbar__left .topbar__item--area { display: none; } }
@media (max-width: 520px) { .topbar { font-size: .8rem; } .topbar__right { display: none; } }

/* ---------- Header / Nav ---------- */
.header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 10px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand__logo { height: 120px; width: auto; display: block; }
.brand__logo--footer { height: 120px; }
@media (max-width: 520px) { .brand__logo { height: 44px; } }
.brand__mark { width: 44px; height: 44px; flex: none; border-radius: 11px; background: linear-gradient(135deg, var(--navy), var(--navy-600)); display: grid; place-items: center; color: var(--amber); box-shadow: var(--shadow-sm); }
.brand__mark svg { width: 24px; height: 24px; }
.brand__name { font-family: var(--ff-head); font-weight: 700; color: var(--navy); font-size: 1.18rem; line-height: 1.1; letter-spacing: -.01em; }
.brand__tag { display: block; font-family: var(--ff-body); font-weight: 500; font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--amber-600); }

.nav__menu { display: flex; align-items: center; gap: 4px; }
.nav__link { display: inline-flex; align-items: center; gap: 5px; font-family: var(--ff-head); font-weight: 500; font-size: .98rem; color: var(--navy); padding: 10px 14px; border-radius: 10px; transition: color var(--t), background var(--t); }
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--amber-600); background: var(--amber-100); }
.nav__cta { display: flex; align-items: center; gap: 10px; }

/* dropdown */
.has-dropdown { position: relative; }
.nav__link .chev { width: 14px; height: 14px; transition: transform var(--t); }
.has-dropdown:hover .chev, .has-dropdown:focus-within .chev { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 256px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-md); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity var(--t), transform var(--t), visibility var(--t);
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: flex; align-items: center; gap: 11px; padding: 11px 12px; border-radius: 9px; font-size: .95rem; color: var(--navy); font-weight: 500; transition: background var(--t), color var(--t); }
.dropdown a:hover { background: var(--bg-soft); color: var(--amber-600); }
.dropdown a svg { width: 19px; height: 19px; color: var(--amber-600); flex: none; }

.nav__toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 11px; background: #fff; color: var(--navy); place-items: center; }
.nav__toggle svg { width: 24px; height: 24px; }
.nav__toggle .ico-close { display: none; }
.nav__toggle[aria-expanded="true"] .ico-open { display: none; }
.nav__toggle[aria-expanded="true"] .ico-close { display: block; }

@media (max-width: 980px) {
  .nav { position: relative; }
  .nav__toggle { display: grid; }
  /* Drop-down panel anchored under the header (avoids the backdrop-filter
     containing-block bug that made a fixed drawer peek in). */
  .nav__drawer {
    position: absolute; top: calc(100% + 1px); left: 0; right: 0;
    background: #fff; border-top: 1px solid var(--line);
    border-radius: 0 0 16px 16px; box-shadow: var(--shadow-md);
    display: flex; flex-direction: column; gap: 4px;
    padding: 12px 16px 18px; max-height: calc(100vh - 130px); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
  }
  body.nav-open .nav__drawer { opacity: 1; visibility: visible; transform: none; }
  .nav__menu { flex-direction: column; align-items: stretch; gap: 2px; width: 100%; }
  .has-dropdown { width: 100%; }
  .nav__link { font-size: .98rem; padding: 12px 14px; border-radius: 10px; }
  .nav__drawer .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; background: var(--bg-soft); border-radius: 10px; padding: 4px 6px; margin: 2px 0 6px; min-width: 0; }
  .nav__drawer .dropdown a { font-size: .92rem; padding: 10px 12px; }
  .has-dropdown .chev { display: none; }
  .nav__cta { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; padding-top: 14px; border-top: 1px solid var(--line); }
  .nav__cta .btn { width: 100%; }
  .nav__backdrop { display: none; }
}
@media (min-width: 981px) { .nav__drawer { display: contents; } .nav__backdrop { display: none; } }

/* ---------- Hero (full-bleed image / video) ---------- */
.hero { position: relative; min-height: clamp(560px, 86vh, 880px); display: grid; align-items: center; color: #fff; overflow: hidden; isolation: isolate; background: var(--navy); }
.hero__media { position: absolute; inset: 0; z-index: -2; background: linear-gradient(160deg, var(--navy), #0c1a2b); }
.hero__bg { width: 100%; height: 100%; object-fit: cover; object-position: 72% 62%; display: block; animation: heroZoom 20s ease-out forwards; will-change: transform; }
.hero__overlay {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(9,16,27,.94) 0%, rgba(9,16,27,.82) 32%, rgba(9,16,27,.5) 62%, rgba(9,16,27,.3) 100%),
    linear-gradient(0deg, rgba(9,16,27,.6) 0%, rgba(9,16,27,0) 46%);
}
.hero__inner { position: relative; z-index: 1; padding-block: clamp(72px, 12vh, 140px); }
.hero__content { max-width: 660px; animation: heroRise .85s cubic-bezier(.2,.7,.2,1) both; }
.hero .eyebrow { color: var(--amber); }
.hero h1 { color: #fff; text-shadow: 0 2px 26px rgba(0,0,0,.30); }
.hero h1 .hl { color: var(--amber); }
.hero p.lead { color: #d6e0ee; margin-top: 18px; max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 30px; }
.hero__chip { display: inline-flex; align-items: center; gap: 9px; font-size: .94rem; font-weight: 500; color: #e6edf6; }
.hero__chip svg { width: 20px; height: 20px; color: var(--amber); flex: none; }

/* scroll cue */
.hero__scroll { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 2; display: inline-flex; flex-direction: column; align-items: center; gap: 5px; color: #c7d4e6; font-family: var(--ff-head); font-weight: 600; font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; transition: color var(--t); }
.hero__scroll:hover { color: #fff; }
.hero__scroll svg { width: 22px; height: 22px; color: var(--amber); animation: heroBounce 1.9s ease-in-out infinite; }
@media (max-width: 600px) { .hero__scroll { display: none; } .hero { min-height: clamp(450px, 70vh, 600px); } }

@keyframes heroZoom { from { transform: scale(1.09); } to { transform: scale(1); } }
@keyframes heroRise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes heroBounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* ---------- Trust bar ---------- */
.trustbar { background: var(--navy-700); }
.trustbar .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding-block: 20px; }
.trustbar__item { display: flex; align-items: center; gap: 12px; color: #dbe6f5; justify-content: center; text-align: left; }
.trustbar__item svg { width: 30px; height: 30px; color: var(--amber); flex: none; }
.trustbar__item strong { display: block; font-family: var(--ff-head); color: #fff; font-size: .98rem; }
.trustbar__item span { font-size: .8rem; color: #9fb3cf; }
@media (max-width: 760px) { .trustbar .container { grid-template-columns: repeat(2, 1fr); gap: 18px 12px; } }

/* ---------- About split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split--reverse .split__media { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split--reverse .split__media { order: 0; } }
.media-card { aspect-ratio: 5 / 4; border-radius: var(--radius-lg); background: linear-gradient(145deg, var(--bg-soft-2), #dde6f3); display: grid; place-items: center; box-shadow: var(--shadow-md); position: relative; overflow: hidden; border: 1px solid var(--line); }
.media-card .ph-ico { width: 76px; height: 76px; color: var(--navy-600); opacity: .3; }
.media-card .ph-label { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; font-size: .78rem; color: var(--muted-2); font-family: var(--ff-head); }
.checklist { display: grid; gap: 13px; margin-top: 24px; }
.checklist li { display: flex; align-items: flex-start; gap: 12px; color: var(--ink); }
.checklist svg { width: 22px; height: 22px; color: var(--success); flex: none; margin-top: 2px; }
.stat-row { display: flex; gap: 30px; flex-wrap: wrap; margin-top: 30px; }
.stat .num { font-family: var(--ff-head); font-weight: 800; font-size: 2rem; color: var(--navy); }
.stat .lbl { font-size: .88rem; color: var(--muted); }

/* ---------- Service cards ---------- */
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; box-shadow: var(--shadow-sm); transition: transform var(--t), box-shadow var(--t), border-color var(--t);
  display: flex; flex-direction: column; height: 100%;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: #d2ddec; }
.card__icon { width: 58px; height: 58px; border-radius: 14px; background: var(--amber-100); color: var(--amber-600); display: grid; place-items: center; margin-bottom: 18px; transition: background var(--t), color var(--t); }
.card__icon svg { width: 28px; height: 28px; }
.card:hover .card__icon { background: var(--amber); color: #fff; }
.card h3 { margin-bottom: 9px; }
.card p { font-size: .96rem; margin-bottom: 16px; }
.card__link { margin-top: auto; display: inline-flex; align-items: center; gap: 7px; font-family: var(--ff-head); font-weight: 600; font-size: .92rem; color: var(--amber-600); }
.card__link svg { width: 16px; height: 16px; transition: transform var(--t); }
.card:hover .card__link svg { transform: translateX(4px); }

/* ---------- Service cards with image header ---------- */
.card--media { padding: 0; overflow: hidden; }
.card__media { width: 100%; height: 188px; object-fit: cover; display: block; background: var(--bg-soft-2); border-bottom: 1px solid var(--line); }
.card__body { padding: 0 26px 28px; display: flex; flex-direction: column; flex: 1; }
.card--media .card__icon { margin-top: -42px; position: relative; z-index: 1; border: 4px solid #fff; box-shadow: var(--shadow-sm); }

/* ---------- Service page feature banner ---------- */
.service-feature { width: 100%; aspect-ratio: 16 / 6; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); border: 1px solid var(--line); display: block; }
.service-feature-wrap { margin-top: clamp(-60px, -5vw, -40px); position: relative; z-index: 2; }
@media (max-width: 600px) { .service-feature { aspect-ratio: 16 / 9; } }

/* ---------- Hero image ---------- */
.hero__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Feature (why choose) ---------- */
.feature { display: flex; gap: 16px; align-items: flex-start; }
.feature__icon { width: 50px; height: 50px; border-radius: 12px; flex: none; display: grid; place-items: center; background: rgba(247, 147, 30, .14); color: var(--amber); }
.feature__icon svg { width: 25px; height: 25px; }
.feature h3 { font-size: 1.12rem; margin-bottom: 6px; }
.section--navy .feature p { color: #aebfd6; }

/* ---------- Clients / pills ---------- */
.pill-grid { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.pill { display: inline-flex; align-items: center; gap: 9px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 11px 20px; font-family: var(--ff-head); font-weight: 500; font-size: .96rem; color: var(--navy); box-shadow: var(--shadow-sm); }
.pill svg { width: 18px; height: 18px; color: var(--amber-600); }

/* ---------- Testimonials ---------- */
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .quote-grid { grid-template-columns: 1fr; } }
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.quote__stars { display: flex; gap: 3px; color: var(--amber); margin-bottom: 14px; }
.quote__stars svg { width: 19px; height: 19px; }
.quote p { color: var(--ink); font-size: 1.02rem; font-style: italic; }
.quote__who { margin-top: 18px; display: flex; align-items: center; gap: 12px; }
.quote__avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-family: var(--ff-head); font-weight: 700; }
.quote__who b { font-family: var(--ff-head); color: var(--navy); font-size: .95rem; }
.quote__who span { font-size: .82rem; color: var(--muted-2); }
.quote blockquote { flex: 1; margin: 0; }

/* ---------- Slider (testimonials) ---------- */
.slider { position: relative; --per: 3; --gap: 22px; }
.slider__viewport { overflow: hidden; }
.slider__track { display: flex; gap: var(--gap); transition: transform .5s cubic-bezier(.4, 0, .2, 1); will-change: transform; }
.slider__slide { flex: 0 0 calc((100% - (var(--per) - 1) * var(--gap)) / var(--per)); min-width: 0; }
@media (max-width: 900px) { .slider { --per: 2; } }
@media (max-width: 600px) { .slider { --per: 1; } }

.slider__controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 32px; }
.slider__arrow { width: 46px; height: 46px; border-radius: 50%; background: #fff; border: 1px solid var(--line); color: var(--navy); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow-sm); transition: background var(--t), color var(--t), transform var(--t), box-shadow var(--t); }
.slider__arrow:hover { background: var(--navy); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.slider__arrow svg { width: 22px; height: 22px; }
.slider__dots { display: flex; align-items: center; gap: 8px; }
.slider__dot { width: 10px; height: 10px; padding: 0; border: none; border-radius: 50%; background: #cdd6e3; cursor: pointer; transition: background var(--t), width var(--t); }
.slider__dot:hover { background: var(--muted-2); }
.slider__dot.is-active { background: var(--amber); width: 26px; border-radius: 6px; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, var(--amber) 0%, #ffb454 100%); color: #2a1a02; position: relative; overflow: hidden; }
.cta-band .container { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap; padding-block: clamp(40px, 6vw, 64px); }
.cta-band h2 { color: #2a1a02; }
.cta-band p { color: #5a3c08; margin-top: 6px; font-weight: 500; }
.cta-band__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.cta-band .btn--dark { box-shadow: 0 10px 24px rgba(18, 34, 54, .25); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: linear-gradient(160deg, var(--navy) 0%, #0c1a2b 100%); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.page-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 68% 60%; z-index: 0; }
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(9,16,27,.95) 0%, rgba(9,16,27,.86) 42%, rgba(9,16,27,.6) 100%),
    linear-gradient(0deg, rgba(9,16,27,.55) 0%, rgba(9,16,27,0) 60%);
}
.page-hero .container { position: relative; z-index: 2; padding-block: clamp(52px, 7vw, 92px); }
.page-hero h1 { color: #fff; max-width: 760px; text-shadow: 0 2px 18px rgba(0,0,0,.3); }
.page-hero p { color: #d8e1ee; max-width: 640px; margin-top: 14px; font-size: 1.05rem; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: .88rem; color: #9fb3cf; margin-bottom: 18px; }
.breadcrumb a { color: #c4d2e6; } .breadcrumb a:hover { color: #fff; }
.breadcrumb svg { width: 14px; height: 14px; }

/* ---------- Service detail list ---------- */
.svc-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 8px; }
@media (max-width: 600px) { .svc-list { grid-template-columns: 1fr; } }
.svc-list li { display: flex; align-items: flex-start; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 18px; box-shadow: var(--shadow-sm); }
.svc-list svg { width: 22px; height: 22px; color: var(--amber-600); flex: none; margin-top: 1px; }
.svc-list b { font-family: var(--ff-head); color: var(--navy); font-weight: 600; font-size: 1rem; display: block; }
.svc-list span { font-size: .9rem; color: var(--muted); }

/* sidebar estimate card */
.sidebar-card { background: var(--navy); color: #d8e2f0; border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-md); position: sticky; top: 96px; }
.sidebar-card h3 { color: #fff; margin-bottom: 8px; }
.sidebar-card p { color: #aebfd6; font-size: .95rem; margin-bottom: 18px; }
.sidebar-card .contact-line { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid rgba(255, 255, 255, .1); }
.sidebar-card .contact-line svg { width: 20px; height: 20px; color: var(--amber); flex: none; }
.sidebar-card .contact-line a, .sidebar-card .contact-line span { color: #fff; font-weight: 500; font-size: .98rem; }

.with-aside { display: grid; grid-template-columns: 1fr 350px; gap: clamp(28px, 4vw, 50px); align-items: start; }
@media (max-width: 900px) { .with-aside { grid-template-columns: 1fr; } .sidebar-card { position: static; } }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 880px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .gallery { grid-template-columns: 1fr; } }
.gallery__item {
  position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm); padding: 0; background: var(--bg-soft-2);
  cursor: pointer; display: block; transition: transform var(--t), box-shadow var(--t);
}
.gallery__item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .45s ease; }
.gallery__item:hover img, .gallery__item:focus-visible img { transform: scale(1.07); }
/* darken overlay on hover */
.gallery__item::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(12, 24, 40, 0); transition: background var(--t); }
.gallery__item:hover::before, .gallery__item:focus-visible::before { background: rgba(12, 24, 40, .22); }
/* magnify cue on hover */
.gallery__item::after {
  content: ""; position: absolute; top: 50%; left: 50%; z-index: 2;
  width: 48px; height: 48px; border-radius: 50%; transform: translate(-50%, -50%) scale(.7);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23122236' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M21 21l-4.3-4.3M11 8v6M8 11h6'/%3E%3C/svg%3E") center / 24px no-repeat;
  opacity: 0; transition: opacity var(--t), transform var(--t);
}
.gallery__item:hover::after, .gallery__item:focus-visible::after { opacity: 1; transform: translate(-50%, -50%) scale(1); }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(9, 16, 27, .93); opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s ease; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__img { max-width: min(92vw, 1100px); max-height: 84vh; border-radius: 12px; box-shadow: var(--shadow-lg); background: #fff; object-fit: contain; }
.lightbox__close { position: absolute; top: 18px; right: 20px; }
.lightbox__close, .lightbox__nav { width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; border: none; display: grid; place-items: center; cursor: pointer; transition: background .2s ease; }
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255, 255, 255, .28); }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; }
.lightbox__prev { left: 20px; }
.lightbox__next { right: 20px; }
.lightbox__count { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); color: #cdd9ea; font-family: var(--ff-head); font-size: .85rem; letter-spacing: .06em; }
.lightbox svg { width: 24px; height: 24px; }
body.lb-open { overflow: hidden; }
@media (max-width: 600px) {
  .lightbox__nav { width: 44px; height: 44px; }
  .lightbox__prev { left: 8px; } .lightbox__next { right: 8px; }
  .lightbox__close { top: 10px; right: 10px; }
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 4vw, 54px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.info-card { display: flex; gap: 16px; align-items: flex-start; padding: 20px 0; border-bottom: 1px solid var(--line); }
.info-card:last-child { border-bottom: none; }
.info-card__icon { width: 50px; height: 50px; border-radius: 12px; background: var(--amber-100); color: var(--amber-600); display: grid; place-items: center; flex: none; }
.info-card__icon svg { width: 24px; height: 24px; }
.info-card h3 { font-size: 1.05rem; margin-bottom: 3px; }
.info-card a, .info-card p { color: var(--muted); font-size: .98rem; }
.info-card a:hover { color: var(--amber-600); }

/* form */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-md); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 540px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--ff-head); font-weight: 500; font-size: .9rem; color: var(--navy); margin-bottom: 7px; }
.field label .req { color: var(--danger); }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--ff-body); font-size: 1rem; color: var(--ink);
  padding: 13px 15px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg-soft);
  transition: border-color var(--t), box-shadow var(--t), background var(--t);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--amber); background: #fff; box-shadow: 0 0 0 4px rgba(247, 147, 30, .15); }
.field textarea { resize: vertical; min-height: 130px; }
.field--error input, .field--error select, .field--error textarea { border-color: var(--danger); }
.field__msg { display: none; color: var(--danger); font-size: .82rem; margin-top: 6px; }
.field--error .field__msg { display: block; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-note { font-size: .85rem; color: var(--muted-2); margin-top: 14px; text-align: center; }
.form-alert { display: none; padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 20px; font-size: .95rem; }
.form-alert.is-show { display: block; }
.form-alert--ok { background: #e6f6ed; color: #1c7a45; border: 1px solid #b6e3c8; }
.form-alert--err { background: #fdeaea; color: #b53434; border: 1px solid #f4c4c4; }

/* map */
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); margin-top: 28px; }
.map-wrap iframe { display: block; width: 100%; height: 320px; border: 0; }

/* ---------- FAQ ---------- */
.faq { max-width: 800px; margin-inline: auto; }
.faq__item { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; margin-bottom: 12px; overflow: hidden; box-shadow: var(--shadow-sm); }
.faq__q { width: 100%; text-align: left; background: none; border: none; padding: 20px 22px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-family: var(--ff-head); font-weight: 600; font-size: 1.05rem; color: var(--navy); }
.faq__q svg { width: 22px; height: 22px; color: var(--amber-600); flex: none; transition: transform var(--t); }
.faq__q[aria-expanded="true"] svg { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height var(--t); }
.faq__a p { padding: 0 22px 20px; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: #aebfd6; padding-top: clamp(50px, 7vw, 80px); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 50px; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }
.footer .brand__name { color: #fff; }
.footer__about { margin-top: 16px; font-size: .95rem; color: #9fb3cf; max-width: 320px; }
.footer h4 { color: #fff; font-family: var(--ff-head); font-size: 1.05rem; margin-bottom: 16px; }
.footer__links li { margin-bottom: 10px; }
.footer__links a { color: #aebfd6; font-size: .95rem; transition: color var(--t), padding var(--t); display: inline-flex; align-items: center; gap: 8px; }
.footer__links a:hover { color: var(--amber); }
.footer__contact li { display: flex; gap: 12px; margin-bottom: 14px; font-size: .95rem; }
.footer__contact svg { width: 19px; height: 19px; color: var(--amber); flex: none; margin-top: 3px; }
.footer__contact a { color: #cdd9ea; } .footer__contact a:hover { color: #fff; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding-block: 22px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: .86rem; color: #7f93b0; }
.footer__bottom a { color: #9fb3cf; } .footer__bottom a:hover { color: #fff; }

/* ---------- Floating mobile call button ---------- */
.fab-call { display: none; }
@media (max-width: 980px) {
  .fab-call { display: flex; position: fixed; right: 18px; bottom: 18px; z-index: 70; align-items: center; gap: 9px; background: var(--amber); color: var(--navy); font-family: var(--ff-head); font-weight: 600; padding: 14px 20px; border-radius: 999px; box-shadow: var(--shadow-lg); }
  .fab-call svg { width: 20px; height: 20px; }
}

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 75;
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--navy); color: #fff; border: none; cursor: pointer;
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s ease, background .2s ease, color .2s ease;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--amber); color: var(--navy); transform: translateY(-3px); }
.to-top svg { width: 22px; height: 22px; }
/* On mobile the Call pill sits bottom-right, so stack Back-to-top above it */
@media (max-width: 980px) {
  .to-top { right: 18px; bottom: 80px; width: 44px; height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .to-top { transition: opacity .2s ease, visibility .2s ease; }
  .to-top:hover { transform: none; }
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .card:hover { transform: none; }
  .hero__bg, .hero__content, .hero__scroll svg { animation: none !important; }
  .hero__content { opacity: 1; transform: none; }
}
