/* =====================================================
   Hernandez General Plumbing — Stylesheet
   Palette extracted from brand card:
   Palette taken from the brand logo:
   Strong Blue #0d65ab · Bright Azure #0a73c2 · Cyan #00ccff
   Deep Navy #08324f · Amber CTA #ffb02e · Charcoal #1a1f2b · White
   ===================================================== */

:root {
  --blue: #0d65ab;        /* logo strong blue — primary brand color */
  --blue-2: #0a5289;
  --navy: #08324f;        /* deep blue for footer / hero / reviews */
  --bright: #0a73c2;      /* logo bright azure — CTAs & gradients */
  --sky: #35b6ef;         /* light azure toward the logo cyan */
  --accent: #ffb02e;      /* warm CTA accent (kept for the emergency call button) */
  --cyan: #00ccff;        /* logo cyan (secondary accent) */
  --ink: #1a1f2b;
  --ink-2: #414a5c;
  --muted: #6b7488;
  --line: #e3e7ef;
  --bg: #ffffff;
  --bg-soft: #f4f6fb;
  --bg-silver: linear-gradient(135deg, #eef1f7 0%, #dfe4ee 100%);
  --white: #ffffff;

  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 26px;
  --shadow-sm: 0 4px 14px rgba(8, 50, 79, .09);
  --shadow: 0 14px 40px rgba(8, 50, 79, .16);
  --shadow-lg: 0 30px 70px rgba(8, 50, 79, .24);
  --ring: 0 0 0 4px rgba(11, 130, 216, .22);

  --ff: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --ff-head: 'Barlow Condensed', 'Inter', sans-serif;

  --container: 1180px;
  --header-h: 74px;
}

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 46px); -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--ff);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }
svg.ic { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; }

.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .8rem 1.5rem; border-radius: 999px; font-weight: 700; font-size: .98rem;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s, background .25s, color .25s;
  white-space: nowrap; position: relative; overflow: hidden;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn--lg { padding: 1rem 1.9rem; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn--primary { background: linear-gradient(135deg, var(--bright), var(--blue)); color: #fff; box-shadow: 0 10px 26px rgba(13, 101, 171,.35); }
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(13, 101, 171,.45); }
.btn--call { background: linear-gradient(135deg, var(--accent), #ff8f1f); color: #201400; box-shadow: 0 8px 20px rgba(255,143,31,.35); font-weight: 800; }
.btn--call:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(255,143,31,.5); }
.btn--ghost { background: rgba(255,255,255,.12); color: #fff; border: 1.5px solid rgba(255,255,255,.5); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: #fff; color: var(--blue); transform: translateY(-3px); }
.btn--white { background: #fff; color: var(--blue); box-shadow: var(--shadow); }
.btn--white:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.btn--ghost-white { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.6); }
.btn--ghost-white:hover { background: #fff; color: var(--blue); }
/* sheen */
.btn--primary::after, .btn--white::after {
  content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent);
  transform: skewX(-20deg); transition: left .7s;
}
.btn--primary:hover::after, .btn--white:hover::after { left: 130%; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--navy); color: #cdd7f2; font-size: .82rem;
  position: relative; z-index: 60;
}
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; height: 46px; }
.topbar__left, .topbar__right { display: flex; align-items: center; gap: 1.3rem; }
.topbar__item { display: inline-flex; align-items: center; gap: .4rem; transition: color .2s; }
.topbar__right a:hover { color: #fff; }
.topbar__item .ic { fill: var(--sky); }
.lang-switch { display: inline-flex; align-items: center; gap: .3rem; }
.lang-btn { color: #98a6d4; font-weight: 700; font-size: .82rem; padding: .15rem .35rem; border-radius: 6px; transition: color .2s, background .2s; }
.lang-btn.is-active { color: #fff; background: rgba(255,255,255,.14); }
.lang-btn:hover { color: #fff; }
.lang-sep { color: #55639a; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 55;
  background: rgba(255,255,255,.9); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s, background .3s;
}
.header.scrolled { box-shadow: 0 8px 30px rgba(8, 50, 79,.12); background: rgba(255,255,255,.96); }
.header__inner { display: flex; align-items: center; gap: 1.2rem; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: .7rem; }
.brand__logo { width: 46px; height: 54px; display: grid; place-items: center; flex: none; }
.brand__canvas { width: 46px; height: 54px; display: block; }
/* Real logo image */
.brand__img { height: 50px; width: auto; max-width: 60vw; object-fit: contain; display: block; }
.brand .brand__fallback { display: none; }
.brand--footer .brand__badge { background: #fff; border-radius: 12px; padding: 8px 16px; display: inline-flex; box-shadow: 0 8px 22px rgba(0,0,0,.22); }
.brand--footer .brand__img { height: 46px; max-width: none; }
@media (max-width: 520px) { .brand__img { height: 40px; } }
@media (max-width: 360px) { .brand__img { height: 36px; } }
.brand__drop { width: 42px; height: 42px; filter: drop-shadow(0 4px 8px rgba(13, 101, 171,.3)); }
.drop-fill { fill: var(--blue); }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-family: var(--ff-head); font-size: 1.32rem; font-weight: 600; color: var(--ink); letter-spacing: .2px; }
.brand__name b { color: var(--blue); font-weight: 800; }
.brand__tag { font-size: .68rem; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); font-weight: 700; }

.nav { display: flex; align-items: center; gap: .12rem; margin-left: auto; }
.nav__link { padding: .5rem .58rem; font-weight: 600; font-size: .88rem; color: var(--ink-2); border-radius: 8px; position: relative; transition: color .2s; white-space: nowrap; }
.nav__link::after { content: ""; position: absolute; left: .58rem; right: .58rem; bottom: 6px; height: 2px; background: var(--bright); transform: scaleX(0); transform-origin: left; transition: transform .28s; border-radius: 2px; }
.nav__link:hover { color: var(--blue); }
.nav__link:hover::after, .nav__link.active::after { transform: scaleX(1); }
.nav__link.active { color: var(--blue); }

.header__cta { display: flex; align-items: center; gap: .7rem; margin-left: .4rem; }

.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 10px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; background: var(--bg-soft); }
.nav-toggle span { width: 22px; height: 2.5px; background: var(--blue); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; padding: clamp(3rem, 8vw, 6rem) 0 7rem; overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__parallax {
  position: absolute; inset: -12% 0 -12% 0;
  background:
    linear-gradient(180deg, rgba(8, 50, 79,.55), rgba(8, 50, 79,.82)),
    url('../img/svc-plumbing.jpg') center/cover no-repeat;
  will-change: transform;
}
.hero__overlay { position: absolute; inset: 0; background: radial-gradient(1200px 500px at 80% -10%, rgba(11, 130, 216,.45), transparent 60%); z-index: -1; }
.hero__inner { display: grid; grid-template-columns: 1.25fr .9fr; gap: 3rem; align-items: center; }

.badge { display: inline-flex; align-items: center; gap: .5rem; padding: .45rem .9rem; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); font-size: .82rem; font-weight: 700; letter-spacing: .3px; backdrop-filter: blur(6px); }
.badge .dot, .emergency__tag .dot { width: 9px; height: 9px; border-radius: 50%; background: #35e07f; box-shadow: 0 0 0 0 rgba(53,224,127,.7); }
.badge--pulse .dot { animation: pulse 1.8s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(53,224,127,.7)} 70%{box-shadow:0 0 0 10px rgba(53,224,127,0)} 100%{box-shadow:0 0 0 0 rgba(53,224,127,0)} }

.hero__title { font-family: var(--ff-head); font-weight: 800; font-size: clamp(2.3rem, 5.4vw, 4rem); line-height: 1.02; margin: 1.1rem 0 1rem; text-shadow: 0 6px 30px rgba(0,0,0,.3); }
.hero__sub { font-size: clamp(1rem, 1.5vw, 1.18rem); color: #dbe3f5; max-width: 40ch; margin-bottom: 1.8rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 2rem; }
.hero__trust { display: flex; gap: 2rem; flex-wrap: wrap; }
.hero__trust li { display: flex; flex-direction: column; }
.hero__trust b { font-family: var(--ff-head); font-size: 1.9rem; font-weight: 800; color: #fff; line-height: 1; }
.hero__trust span { font-size: .82rem; color: #b9c4e2; }

/* hero quick card */
.hero__card { background: rgba(255,255,255,.98); color: var(--ink); border-radius: var(--radius-lg); padding: 1.8rem; box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.6); }
.hero__card h3 { font-family: var(--ff-head); font-size: 1.65rem; font-weight: 800; color: var(--navy); }
.hero__card > p { color: var(--muted); font-size: .92rem; margin-bottom: 1.1rem; }
.quickform { display: flex; flex-direction: column; gap: .7rem; }
.quickform input, .quickform select, .contact__form input, .contact__form select, .contact__form textarea, .chat__input input {
  width: 100%; padding: .85rem 1rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font-size: .95rem; font-family: inherit; color: var(--ink); background: #fff; transition: border-color .2s, box-shadow .2s;
}
.quickform input:focus, .quickform select:focus, .contact__form :focus-visible, .chat__input input:focus { outline: none; border-color: var(--bright); box-shadow: var(--ring); }
.quickform__note { font-size: .72rem; color: var(--muted); text-align: center; }

.hero__wave { position: absolute; left: 0; right: 0; bottom: -1px; line-height: 0; z-index: 1; }
.hero__wave svg { width: 100%; height: 90px; display: block; }
.hero__wave path { fill: var(--bg); }

/* ---------- Trust badges strip ---------- */
.badges-strip { background: var(--bg); padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.badges-strip__inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem 1.5rem; }
.tbadge { display: inline-flex; align-items: center; gap: .6rem; font-weight: 700; color: var(--ink-2); font-size: .95rem; }
.tbadge .ic { width: 1.5em; height: 1.5em; fill: var(--blue); }

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.section__head--left { text-align: left; margin-inline: 0; }
.eyebrow { display: inline-block; font-family: var(--ff-head); letter-spacing: 3px; text-transform: uppercase; color: var(--bright); font-weight: 700; font-size: .9rem; margin-bottom: .6rem; }
.section__title { font-family: var(--ff-head); font-weight: 800; font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.05; color: var(--ink); }
.section__lead { color: var(--muted); font-size: 1.05rem; margin-top: .9rem; }

/* ---------- Services ---------- */
.services { background: linear-gradient(180deg, #fff, var(--bg-soft)); }
.services__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.scard { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s; position: relative; }
.scard:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.scard__img { height: 180px; background-image: var(--img); background-size: cover; background-position: center; position: relative; transition: transform .5s; }
.scard__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 50, 79,0) 40%, rgba(8, 50, 79,.55)); }
.scard:hover .scard__img { transform: scale(1.07); }
.scard__body { padding: 1.4rem 1.4rem 1.6rem; position: relative; }
.scard__icon { position: absolute; top: -30px; right: 1.2rem; width: 56px; height: 56px; border-radius: 14px; background: linear-gradient(135deg, var(--bright), var(--blue)); display: grid; place-items: center; box-shadow: 0 10px 22px rgba(13, 101, 171,.35); }
.scard__icon svg { width: 28px; height: 28px; fill: #fff; }
.scard__body h3 { font-family: var(--ff-head); font-size: 1.4rem; font-weight: 700; color: var(--navy); margin-bottom: .5rem; padding-right: 3rem; }
.scard__body p { color: var(--muted); font-size: .93rem; }
.scard__link { display: inline-block; margin-top: 1rem; color: var(--bright); font-weight: 700; font-size: .9rem; transition: gap .2s, color .2s; }
.scard__link:hover { color: var(--blue); letter-spacing: .3px; }

/* ---------- Emergency banner ---------- */
.emergency { position: relative; color: #fff; padding: clamp(2.5rem,5vw,3.5rem) 0; overflow: hidden; isolation: isolate; }
.emergency__parallax { position: absolute; inset: -20% 0; z-index: -2; background: linear-gradient(120deg, rgba(8, 50, 79,.94), rgba(13, 101, 171,.85)), url('../img/svc-tunnel.jpg') center/cover; }
.emergency::after { content:""; position:absolute; inset:0; z-index:-1; background: repeating-linear-gradient(45deg, transparent, transparent 22px, rgba(255,255,255,.03) 22px, rgba(255,255,255,.03) 44px); }
.emergency__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.emergency__tag { display: inline-flex; align-items: center; gap: .5rem; padding: .35rem .8rem; background: rgba(255,80,80,.22); border: 1px solid rgba(255,120,120,.5); border-radius: 999px; font-weight: 800; font-size: .8rem; letter-spacing: 1px; text-transform: uppercase; }
.emergency__tag .dot { background: #ff5252; animation: pulse-red 1.5s infinite; }
@keyframes pulse-red { 0%{box-shadow:0 0 0 0 rgba(255,82,82,.7)} 70%{box-shadow:0 0 0 9px rgba(255,82,82,0)} 100%{box-shadow:0 0 0 0 rgba(255,82,82,0)} }
.emergency__text h2 { font-family: var(--ff-head); font-size: clamp(1.6rem, 3.5vw, 2.5rem); font-weight: 800; margin: .6rem 0 .3rem; }
.emergency__text p { color: #d9e1f6; max-width: 46ch; }

/* ---------- Why ---------- */
.why__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3.5rem; align-items: center; }
.why__media { position: relative; }
.why__img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; object-fit: cover; aspect-ratio: 4/5; }
.why__badge { position: absolute; bottom: -22px; left: -22px; background: linear-gradient(135deg, var(--bright), var(--blue)); color: #fff; padding: 1rem 1.2rem; border-radius: var(--radius); box-shadow: var(--shadow); max-width: 200px; display: flex; align-items: center; gap: .8rem; }
.why__badge b { font-family: var(--ff-head); font-size: 2.6rem; line-height: 1; font-weight: 800; }
.why__badge span { font-size: .78rem; line-height: 1.25; }
.why__float { position: absolute; background: #fff; color: var(--ink); padding: .6rem .9rem; border-radius: 12px; box-shadow: var(--shadow); display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; font-size: .82rem; }
.why__float .ic { fill: #1ea45a; }
.why__float--1 { top: 18px; right: -18px; animation: float 4s ease-in-out infinite; }
.why__float--2 { top: 42%; left: -30px; animation: float 4s ease-in-out infinite .6s; }
.why__float--2 .ic { fill: var(--blue); }
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }

.why__list { display: grid; gap: 1.1rem; margin: 1.8rem 0; }
.why__list li { display: flex; gap: 1rem; }
.why__ic { width: 46px; height: 46px; flex: none; border-radius: 12px; background: rgba(11, 130, 216,.1); display: grid; place-items: center; }
.why__ic svg { width: 24px; height: 24px; fill: var(--blue); }
.why__list h4 { font-size: 1.08rem; color: var(--ink); }
.why__list p { color: var(--muted); font-size: .93rem; }

.counters { display: flex; gap: 2.2rem; flex-wrap: wrap; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.counter { display: flex; flex-direction: column; }
.counter b { font-family: var(--ff-head); font-size: 2.6rem; font-weight: 800; color: var(--blue); line-height: 1; }
.counter span { color: var(--muted); font-size: .85rem; font-weight: 600; }

/* ---------- Process ---------- */
.process { background: var(--bg-silver); }
.process__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.4rem; counter-reset: step; }
.pstep { background: #fff; border-radius: var(--radius); padding: 2rem 1.4rem 1.6rem; position: relative; box-shadow: var(--shadow-sm); border: 1px solid var(--line); transition: transform .3s, box-shadow .3s; }
.pstep:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.pstep__num { position: absolute; top: -22px; left: 1.4rem; width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, var(--bright), var(--blue)); color: #fff; font-family: var(--ff-head); font-weight: 800; font-size: 1.4rem; display: grid; place-items: center; box-shadow: 0 8px 18px rgba(13, 101, 171,.35); }
.pstep h4 { margin: .8rem 0 .4rem; font-size: 1.1rem; color: var(--navy); }
.pstep p { color: var(--muted); font-size: .9rem; }

/* ---------- Gallery ---------- */
.gallery__filters { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-bottom: 2.2rem; }
.chip { padding: .55rem 1.2rem; border-radius: 999px; background: var(--bg-soft); color: var(--ink-2); font-weight: 700; font-size: .9rem; border: 1.5px solid var(--line); transition: all .25s; }
.chip:hover { border-color: var(--bright); color: var(--blue); }
.chip.is-active { background: linear-gradient(135deg, var(--bright), var(--blue)); color: #fff; border-color: transparent; box-shadow: 0 8px 18px rgba(13, 101, 171,.3); }
.gallery__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.1rem; }
.gitem { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; box-shadow: var(--shadow-sm); cursor: pointer; transition: transform .35s, box-shadow .35s; }
.gitem.hide { display: none; }
.gitem img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.gitem:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.gitem:hover img { transform: scale(1.1); }
.gitem figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.4rem 1rem .9rem; color: #fff; font-weight: 700; font-size: .95rem; background: linear-gradient(180deg, transparent, rgba(8, 50, 79,.85)); transform: translateY(6px); opacity: .9; transition: transform .3s, opacity .3s; }
.gitem:hover figcaption { transform: translateY(0); opacity: 1; }

/* ---------- Areas ---------- */
.areas { background: linear-gradient(180deg, var(--bg-soft), #fff); }
.areas__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.areas__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: .7rem 1rem; margin: 1.5rem 0; }
.areas__list li { display: flex; align-items: center; gap: .5rem; font-weight: 600; color: var(--ink-2); font-size: .92rem; }
.areas__list li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--bright); flex: none; }
.areas__note { color: var(--muted); font-size: .92rem; margin-bottom: 1.3rem; }
.areas__map { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 6px solid #fff; aspect-ratio: 4/3; }
.areas__map iframe { width: 100%; height: 100%; border: 0; filter: saturate(1.05); }

/* ---------- Reviews ---------- */
.reviews { background: linear-gradient(160deg, var(--navy), var(--blue-2)); color: #fff; overflow: hidden; }
.reviews .section__title { color: #fff; }
.reviews .eyebrow { color: var(--accent); }
.reviews__meta { display: inline-flex; align-items: center; gap: .6rem; margin-top: 1rem; font-size: .95rem; color: #cdd7f2; }
.reviews__meta .stars { color: var(--accent); letter-spacing: 2px; }
.carousel { position: relative; display: flex; align-items: center; gap: 1rem; }
.carousel__track { display: flex; gap: 1.4rem; overflow: hidden; scroll-behavior: smooth; flex: 1; }
.review { flex: 0 0 clamp(280px, 46%, 420px); background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 1.8rem; backdrop-filter: blur(8px); }
.review__stars { color: var(--accent); letter-spacing: 3px; margin-bottom: .8rem; font-size: 1.05rem; }
.review__text { font-size: 1.02rem; line-height: 1.6; color: #eaf0ff; }
.review__author { display: flex; align-items: center; gap: .8rem; margin-top: 1.2rem; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--bright), var(--sky)); display: grid; place-items: center; font-weight: 800; color: #fff; font-size: .9rem; }
.review__author b { display: block; font-size: .95rem; }
.review__author small { color: #a9b7dd; font-size: .8rem; }
.carousel__nav { width: 48px; height: 48px; flex: none; border-radius: 50%; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); color: #fff; font-size: 1.6rem; line-height: 1; display: grid; place-items: center; transition: background .2s, transform .2s; }
.carousel__nav:hover { background: #fff; color: var(--blue); transform: scale(1.08); }
.carousel__dots { display: flex; gap: .5rem; justify-content: center; margin-top: 1.6rem; }
.carousel__dots button { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.3); transition: all .25s; }
.carousel__dots button.is-active { background: var(--accent); width: 26px; border-radius: 6px; }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3rem; align-items: start; }
.contact__list { display: grid; gap: 1rem; margin-top: 1.8rem; }
.contact__list li, .contact__list li a { display: flex; align-items: center; gap: 1rem; }
.contact__ic { width: 50px; height: 50px; flex: none; border-radius: 14px; background: rgba(11, 130, 216,.1); display: grid; place-items: center; }
.contact__ic svg { width: 24px; height: 24px; fill: var(--blue); }
.contact__list small { color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .5px; }
.contact__list b { color: var(--ink); font-size: 1.02rem; }
.contact__list a:hover b { color: var(--blue); }

.contact__form { background: #fff; border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow); border: 1px solid var(--line); }
.field { display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1rem; }
.field label { font-weight: 700; font-size: .85rem; color: var(--ink-2); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact__form textarea { resize: vertical; }
.check { display: flex; align-items: flex-start; gap: .6rem; font-size: .85rem; color: var(--muted); margin-bottom: 1.1rem; }
.check input { margin-top: .2rem; width: 18px; height: 18px; accent-color: var(--blue); flex: none; }
.contact__form-note { text-align: center; font-size: .8rem; color: var(--muted); margin-top: .8rem; }

/* ---------- FAQ ---------- */
.faq { background: var(--bg-soft); }
.faq__list { max-width: 820px; margin: 0 auto; display: grid; gap: .9rem; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .25s, border-color .25s; }
.faq__item[open] { box-shadow: var(--shadow-sm); border-color: rgba(11, 130, 216,.35); }
.faq__item summary { list-style: none; cursor: pointer; padding: 1.15rem 1.4rem; font-weight: 700; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-size: 1.02rem; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; font-size: 1.5rem; color: var(--bright); font-weight: 400; transition: transform .3s; flex: none; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__a { padding: 0 1.4rem 1.2rem; color: var(--muted); animation: fadeIn .3s ease; }
@keyframes fadeIn { from{opacity:0; transform: translateY(-6px)} to{opacity:1; transform:none} }

/* ---------- Blog ---------- */
.blog__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.6rem; }
.post { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); transition: transform .3s, box-shadow .3s; }
.post:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.post__img { height: 190px; background-image: var(--img); background-size: cover; background-position: center; }
.post__body { padding: 1.4rem; }
.post__tag { display: inline-block; background: rgba(11, 130, 216,.12); color: var(--blue); font-weight: 700; font-size: .72rem; text-transform: uppercase; letter-spacing: .5px; padding: .25rem .7rem; border-radius: 999px; margin-bottom: .7rem; }
.post__body h3 { font-family: var(--ff-head); font-size: 1.3rem; color: var(--navy); margin-bottom: .5rem; line-height: 1.15; }
.post__body p { color: var(--muted); font-size: .92rem; }
.post__link { display: inline-block; margin-top: .9rem; color: var(--bright); font-weight: 700; font-size: .9rem; }
.post__link:hover { color: var(--blue); }

/* ---------- CTA band ---------- */
.ctaband { background: linear-gradient(135deg, var(--bright), var(--blue), var(--navy)); background-size: 200% 200%; animation: gradientShift 8s ease infinite; color: #fff; padding: clamp(3rem,6vw,4.5rem) 0; }
@keyframes gradientShift { 0%{background-position:0% 50%} 50%{background-position:100% 50%} 100%{background-position:0% 50%} }
.ctaband__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.ctaband h2 { font-family: var(--ff-head); font-size: clamp(1.7rem, 3.5vw, 2.6rem); font-weight: 800; max-width: 16ch; }
.ctaband__actions { display: flex; gap: .9rem; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: #b9c4e2; padding-top: 3.5rem; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 2.5rem; padding-bottom: 2.5rem; }
.brand--footer .brand__name { color: #fff; }
.brand--footer .brand__name b { color: var(--sky); }
.brand--footer .drop-fill { fill: var(--sky); }
.footer__brand p { margin: 1rem 0 1.2rem; font-size: .9rem; line-height: 1.7; }
.footer__social { display: flex; gap: .6rem; }
.footer__social a { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.08); display: grid; place-items: center; transition: background .25s, transform .25s; }
.footer__social a:hover { background: var(--bright); transform: translateY(-3px); }
.footer__social svg { width: 20px; height: 20px; fill: #fff; }
.footer__col h4 { color: #fff; font-family: var(--ff-head); font-size: 1.25rem; margin-bottom: 1rem; letter-spacing: .5px; }
.footer__col ul { display: grid; gap: .55rem; }
.footer__col a, .footer__contact li { font-size: .9rem; transition: color .2s; }
.footer__col a:hover { color: #fff; }
.footer__contact li { margin-bottom: .1rem; }
.footer__bar { border-top: 1px solid rgba(255,255,255,.1); padding: 1.2rem 0; font-size: .82rem; }
.footer__bar-inner { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer__legal a:hover { color: #fff; }

/* ---------- Floating call + scroll progress ---------- */
.fab { position: fixed; right: 20px; bottom: 20px; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; z-index: 40; box-shadow: 0 12px 30px rgba(0,0,0,.3); transition: transform .25s; }
.fab--call { background: linear-gradient(135deg, var(--accent), #ff8f1f); color: #201400; animation: ring 2.5s ease-in-out infinite; }
.fab .ic { width: 26px; height: 26px; }
.fab:hover { transform: scale(1.1); }
@keyframes ring { 0%,100%{transform:rotate(0)} 5%{transform:rotate(-12deg)} 10%{transform:rotate(12deg)} 15%{transform:rotate(-10deg)} 20%{transform:rotate(0)} }
@media (min-width: 640px) { .fab--call { display: none; } } /* header call visible on desktop */

.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--sky), var(--accent)); z-index: 100; transition: width .1s linear; }

/* ---------- Live chat ---------- */
.chat { position: fixed; right: 20px; bottom: 20px; z-index: 45; }
@media (max-width: 639px){ .chat { bottom: 88px; } }
.chat__toggle { width: 60px; height: 60px; border-radius: 50%; background: linear-gradient(135deg, var(--bright), var(--blue)); color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px rgba(13, 101, 171,.45); transition: transform .25s; position: relative; }
.chat__toggle:hover { transform: scale(1.08); }
.chat__toggle .ic { width: 28px; height: 28px; position: absolute; transition: opacity .25s, transform .25s; }
.chat__ic-close { opacity: 0; transform: rotate(-90deg) scale(.6); }
.chat.open .chat__ic-open { opacity: 0; transform: rotate(90deg) scale(.6); }
.chat.open .chat__ic-close { opacity: 1; transform: rotate(0) scale(1); }
.chat__panel { position: absolute; right: 0; bottom: 74px; width: min(340px, calc(100vw - 40px)); background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; transform: translateY(20px) scale(.96); opacity: 0; pointer-events: none; transition: transform .3s cubic-bezier(.2,.9,.3,1.3), opacity .3s; border: 1px solid var(--line); }
.chat.open .chat__panel { transform: translateY(0) scale(1); opacity: 1; pointer-events: auto; }
.chat__header { background: linear-gradient(135deg, var(--blue), var(--navy)); color: #fff; padding: 1rem 1.2rem; display: flex; align-items: center; gap: .8rem; }
.chat__avatar { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.2); display: grid; place-items: center; font-weight: 800; font-size: .9rem; }
.chat__header b { display: block; font-size: .98rem; }
.chat__header small { color: #b8e6c8; font-size: .78rem; }
.chat__body { padding: 1.1rem; height: 240px; overflow-y: auto; display: flex; flex-direction: column; gap: .6rem; background: var(--bg-soft); }
.chat__msg { max-width: 82%; padding: .6rem .85rem; border-radius: 14px; font-size: .9rem; line-height: 1.45; animation: fadeIn .3s ease; }
.chat__msg--bot { background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; align-self: flex-start; }
.chat__msg--user { background: linear-gradient(135deg, var(--bright), var(--blue)); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.chat__quick { display: flex; flex-wrap: wrap; gap: .4rem; padding: .7rem 1.1rem; background: var(--bg-soft); }
.chat__quick button { font-size: .8rem; font-weight: 600; padding: .4rem .8rem; border-radius: 999px; background: #fff; border: 1.5px solid var(--line); color: var(--blue); transition: all .2s; }
.chat__quick button:hover { border-color: var(--bright); background: rgba(11, 130, 216,.06); }
.chat__input { display: flex; gap: .5rem; padding: .8rem 1rem; border-top: 1px solid var(--line); }
.chat__input input { padding: .6rem .8rem; }
.chat__input button { width: 42px; height: 42px; flex: none; border-radius: 10px; background: linear-gradient(135deg, var(--bright), var(--blue)); display: grid; place-items: center; }
.chat__input button svg { width: 20px; height: 20px; fill: #fff; }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 30px; transform: translate(-50%, 120%); background: var(--ink); color: #fff; padding: .9rem 1.4rem; border-radius: 12px; box-shadow: var(--shadow-lg); z-index: 200; font-weight: 600; font-size: .92rem; display: flex; align-items: center; gap: .6rem; transition: transform .4s cubic-bezier(.2,.9,.3,1.3); max-width: calc(100vw - 40px); }
.toast.show { transform: translate(-50%, 0); }
.toast::before { content: "✓"; width: 24px; height: 24px; border-radius: 50%; background: #35e07f; color: #05391e; display: grid; place-items: center; font-weight: 800; flex: none; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal:nth-child(2) { transition-delay: .05s; }
.reveal:nth-child(3) { transition-delay: .1s; }
.reveal:nth-child(4) { transition-delay: .15s; }
.lazy { opacity: 0; transition: opacity .6s; background: var(--bg-silver); }
.lazy.loaded { opacity: 1; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__card { max-width: 460px; }
  .why__grid, .areas__grid, .contact__grid { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  .why__media { max-width: 460px; margin: 0 auto; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1200px) {
  /* Remove backdrop-filter here: on an ancestor it makes position:fixed children
     (the off-canvas menu) anchor to the header instead of the viewport. */
  .header, .header.scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(255,255,255,.98); }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(320px, 84vw); background: #fff;
    flex-direction: column; padding: calc(var(--header-h) + 24px) 1.5rem 2rem; gap: .3rem; box-shadow: var(--shadow-lg);
    transform: translateX(100%); transition: transform .35s cubic-bezier(.2,.8,.2,1); z-index: 54; display: flex;
    overflow-y: auto;
  }
  .nav.open { transform: translateX(0); }
  .nav__link { padding: .85rem 1rem; font-size: 1.05rem; border-radius: 10px; }
  .nav__link:hover { background: var(--bg-soft); }
  .nav-toggle { display: flex; }
  .topbar__hours, .topbar__left .topbar__item:first-child { display: none; }
  .header__cta .btn--call span { display: none; }
  .header__cta .btn--call { padding: .7rem; width: 44px; height: 44px; }
}
@media (max-width: 620px) {
  .areas__list { grid-template-columns: 1fr 1fr; }
  .why__media { max-width: 100%; margin-inline: 0; min-width: 0; }
  .why__float { display: none; } /* decorative badges that stick out — hide on phones */
  .footer__grid { grid-template-columns: 1fr; }
  .emergency__inner, .ctaband__inner { flex-direction: column; text-align: center; align-items: center; }
  .emergency__text p { max-width: none; }
  .field-row { grid-template-columns: 1fr; }
  .topbar__right a.topbar__item { display: none; }
  .section__head { margin-bottom: 2rem; }
  .review { flex-basis: 86%; }
}
@media (max-width: 400px){
  .hero__trust { gap: 1.2rem; }
  .badges-strip__inner { justify-content: center; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Focus visibility ---------- */
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; border-radius: 4px; }
