/* ==========================================================================
   Achewon Electricals Enterprise — styles.css
   Brand palette: navy + yellow (logo), white, green accent.
   Change colors/fonts in ONE place: the :root variables below.
   ========================================================================== */

:root {
  --navy-900: #081c33;
  --navy-800: #0b2440;
  --navy-700: #0e2a47;
  --navy-600: #16406b;
  --yellow: #ffc61e;
  --yellow-dark: #e3a600;
  --green: #1e8a4c;
  --green-dark: #176b3b;
  --red: #d64545;
  --red-dark: #b93232;
  --ink: #1c2530;
  --gray-700: #3d4653;
  --gray-600: #5a6472;
  --gray-300: #d7dde4;
  --gray-100: #f4f6f8;
  --white: #ffffff;
  --cream: #fff9e8;
  --shadow-sm: 0 2px 8px rgba(8, 28, 51, 0.08);
  --shadow-md: 0 10px 30px rgba(8, 28, 51, 0.14);
  --radius: 14px;
  --radius-sm: 9px;
  --maxw: 1160px;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.04rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-600); }
h1, h2, h3, h4 { color: var(--navy-900); line-height: 1.22; margin: 0 0 0.6em; }
h1 { font-size: clamp(1.9rem, 4.2vw, 3rem); letter-spacing: -0.5px; }
h2 { font-size: clamp(1.5rem, 3vw, 2.15rem); letter-spacing: -0.3px; }
h3 { font-size: 1.22rem; }
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; border-radius: 4px; }
.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--navy-900); color: #fff;
  padding: 10px 16px; z-index: 200; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.section { padding: 68px 0; }
.section--tint { background: var(--gray-100); }
.section--navy { background: var(--navy-900); color: #dbe4ee; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section-head { max-width: 720px; margin: 0 auto 42px; text-align: center; }
.eyebrow {
  display: inline-block; font-size: 0.8rem; font-weight: 700; letter-spacing: 2.2px;
  text-transform: uppercase; color: var(--yellow-dark); background: rgba(255, 198, 30, 0.14);
  border: 1px solid rgba(255, 198, 30, 0.45); padding: 5px 14px; border-radius: 999px; margin-bottom: 14px;
}
.section--tint .eyebrow { color: #8a6d00; background: rgba(255, 198, 30, 0.22); border-color: rgba(227, 166, 0, 0.5); }
.section-head p { color: var(--gray-600); font-size: 1.06rem; }
.section--navy .section-head p { color: #b9c6d6; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 26px; border-radius: 999px; border: 2px solid transparent;
  font: 700 1rem var(--font); text-decoration: none; cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
  line-height: 1.2; text-align: center;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }
.btn--yellow { background: var(--yellow); color: var(--navy-900); }
.btn--yellow:hover { background: var(--yellow-dark); }
.btn--navy { background: var(--navy-700); color: #fff; }
.btn--navy:hover { background: var(--navy-900); }
.btn--green { background: var(--green); color: #fff; }
.btn--green:hover { background: var(--green-dark); }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-dark); }
.btn--outline { border-color: var(--navy-700); color: var(--navy-700); background: transparent; }
.btn--outline:hover { background: var(--navy-700); color: #fff; }
.btn--ghost { border-color: rgba(255, 255, 255, 0.75); color: #fff; background: rgba(255, 255, 255, 0.06); }
.btn--ghost:hover { background: #fff; color: var(--navy-900); }
.btn--sm { padding: 9px 18px; font-size: 0.92rem; }
.btn--lg { padding: 16px 32px; font-size: 1.08rem; }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-900); color: #c7d3e0; font-size: 0.86rem; }
.topbar__inner { display: flex; flex-wrap: wrap; gap: 6px 26px; align-items: center; justify-content: space-between; padding: 7px 0; }
.topbar a { color: #eaf0f6; text-decoration: none; font-weight: 600; }
.topbar a:hover { color: var(--yellow); }
.topbar__group { display: flex; flex-wrap: wrap; gap: 4px 22px; align-items: center; }
.topbar .socials { display: flex; gap: 14px; }
.topbar .socials a { display: inline-flex; opacity: 0.9; }
.topbar .socials a:hover { opacity: 1; transform: translateY(-1px); }
.topbar svg { width: 15px; height: 15px; vertical-align: -2px; margin-right: 5px; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: #fff;
  box-shadow: 0 1px 0 rgba(8, 28, 51, 0.08);
  transition: box-shadow 0.25s ease;
}
.site-header.is-stuck { box-shadow: var(--shadow-md); }
.nav { display: flex; align-items: center; gap: 18px; padding: 10px 0; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand__logo {
  width: 52px; height: 52px; border-radius: 50%; object-fit: cover;
  background: var(--cream); border: 2px solid var(--yellow); flex: none;
}
.brand__name { line-height: 1.1; }
.brand__name b { display: block; color: var(--navy-900); font-size: 1.06rem; letter-spacing: -0.2px; }
.brand__name span { color: var(--gray-600); font-size: 0.76rem; letter-spacing: 1.6px; text-transform: uppercase; }
.nav__links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  display: block; padding: 9px 13px; border-radius: 8px; text-decoration: none;
  color: var(--navy-800); font-weight: 600; font-size: 0.97rem;
}
.nav__links a:hover { background: var(--gray-100); color: var(--navy-900); }
.nav__links a[aria-current="page"] { color: #7a5c00; background: rgba(255, 198, 30, 0.18); }
.nav__cta { display: flex; align-items: center; gap: 10px; }
.emg-pill {
  display: inline-flex; align-items: center; gap: 7px; background: #fdecec; color: var(--red-dark);
  border: 1.5px solid #f3c1c1; border-radius: 999px; padding: 8px 15px;
  font-weight: 700; font-size: 0.88rem; text-decoration: none; white-space: nowrap;
}
.emg-pill:hover { background: var(--red); color: #fff; border-color: var(--red); }
.nav__toggle {
  display: none; background: none; border: 2px solid var(--navy-700); border-radius: 9px;
  padding: 8px 10px; cursor: pointer;
}
.nav__toggle span { display: block; width: 21px; height: 2.5px; background: var(--navy-700); margin: 4.5px 0; border-radius: 2px; transition: transform 0.2s ease, opacity 0.2s ease; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1060px) {
  .nav__toggle { display: block; }
  .nav__links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; flex-direction: column; align-items: stretch; gap: 2px;
    padding: 12px 22px 20px; box-shadow: var(--shadow-md); border-top: 1px solid var(--gray-300);
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 12px 14px; font-size: 1.05rem; }
  .nav__cta .btn { display: none; }
  .nav__cta .btn--mobile-show { display: inline-flex; }
}
@media (min-width: 1061px) { .nav__cta .btn--mobile-show { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(8, 28, 51, 0.93) 8%, rgba(8, 28, 51, 0.78) 46%, rgba(8, 28, 51, 0.38) 100%);
}
.hero__inner { position: relative; padding: 92px 0 84px; max-width: 660px; }
.hero .eyebrow { background: rgba(255, 198, 30, 0.16); }
.hero h1 { color: #fff; }
.hero h1 .accent { color: var(--yellow); }
.hero p { color: #d4dce6; font-size: 1.13rem; max-width: 560px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 13px; margin: 26px 0 10px; }
.hero__note { display: flex; align-items: center; gap: 9px; color: #bce3c8; font-size: 0.93rem; font-weight: 600; }
.hero__note svg { width: 17px; height: 17px; flex: none; }

/* ---------- Trust strip ---------- */
.trust { background: var(--yellow); border-top: 4px solid var(--yellow-dark); }
.trust__inner { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; padding: 16px 0; }
.trust__item { display: flex; align-items: center; gap: 10px; color: var(--navy-900); font-weight: 700; font-size: 0.9rem; line-height: 1.3; }
.trust__item svg { width: 26px; height: 26px; flex: none; }
@media (max-width: 960px) { .trust__inner { grid-template-columns: repeat(2, 1fr); padding: 18px 0; } }
@media (max-width: 480px) { .trust__inner { grid-template-columns: 1fr; } }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 980px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid #e7ebef; border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--gray-600); font-size: 0.97rem; }
.icon-chip {
  width: 52px; height: 52px; border-radius: 13px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--navy-900); color: var(--yellow); margin-bottom: 16px; flex: none;
}
.icon-chip svg { width: 26px; height: 26px; }
.icon-chip--green { background: var(--green); color: #fff; }
.icon-chip--yellow { background: var(--yellow); color: var(--navy-900); }

/* Service card */
.service-card { display: flex; flex-direction: column; }
.service-card .btn { margin-top: auto; align-self: flex-start; }
.service-card__tag {
  font-size: 0.74rem; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--green-dark); background: rgba(30, 138, 76, 0.12); padding: 3px 10px; border-radius: 999px;
  align-self: flex-start; margin-bottom: 10px;
}
.mini-list { list-style: none; padding: 0; margin: 0 0 16px; font-size: 0.93rem; color: var(--gray-600); }
.mini-list li { padding-left: 24px; position: relative; margin-bottom: 7px; }
.mini-list li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 15px; height: 15px; border-radius: 50%;
  background: var(--yellow) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23081c33" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6 9 17l-5-5"/></svg>') center/10px no-repeat;
}

/* Why choose us */
.why-card { text-align: left; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12); }
.why-card:hover { background: rgba(255, 255, 255, 0.09); }
.why-card p { color: #b9c6d6; }
.stat__num { font-size: 2.2rem; font-weight: 800; color: var(--yellow); line-height: 1; margin-bottom: 6px; }
.stat__label { color: #b9c6d6; font-size: 0.95rem; }

/* ---------- Emergency band ---------- */
.emg-band { background: var(--red); color: #fff; border-top: 4px solid var(--red-dark); }
.emg-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding: 26px 0; }
.emg-band h2 { color: #fff; margin: 0 0 4px; font-size: 1.4rem; display: flex; align-items: center; gap: 12px; }
.emg-band p { margin: 0; color: #ffe3e3; }
.emg-band .phone-big {
  display: inline-flex; align-items: center; gap: 12px; background: #fff; color: var(--red-dark);
  font-size: clamp(1.25rem, 3vw, 1.7rem); font-weight: 800; text-decoration: none;
  padding: 13px 26px; border-radius: 14px; box-shadow: var(--shadow-md); white-space: nowrap;
  transition: transform 0.15s ease;
}
.emg-band .phone-big:hover { transform: scale(1.03); }
.emg-band .phone-big svg { width: 26px; height: 26px; }

/* ---------- Testimonials ---------- */
.t-card { display: flex; flex-direction: column; gap: 14px; }
.t-card__stars { color: #e8a800; letter-spacing: 2px; font-size: 1.05rem; }
.t-card blockquote { margin: 0; color: var(--gray-700); font-size: 0.99rem; flex: 1; }
.t-card__who { display: flex; align-items: center; gap: 12px; border-top: 1px solid #edf0f3; padding-top: 14px; }
.t-card__avatar {
  width: 44px; height: 44px; border-radius: 50%; background: var(--navy-900); color: var(--yellow);
  display: flex; align-items: center; justify-content: center; font-weight: 800; flex: none;
}
.t-card__who b { display: block; color: var(--navy-900); font-size: 0.96rem; line-height: 1.25; }
.t-card__who span { color: var(--gray-600); font-size: 0.83rem; }
.t-card__service {
  display: inline-block; margin-left: auto; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.6px;
  text-transform: uppercase; color: var(--navy-600); background: #e8f0f9; padding: 4px 10px; border-radius: 999px;
}
.notice {
  background: var(--cream); border: 1.5px dashed var(--yellow-dark); color: #6b5300;
  border-radius: var(--radius-sm); padding: 12px 18px; font-size: 0.9rem; margin-top: 26px;
}

/* ---------- Service area ---------- */
.area-wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
@media (max-width: 900px) { .area-wrap { grid-template-columns: 1fr; } }
.area-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 18px 0 0; }
.area-list li {
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.2);
  color: #e8eef5; padding: 8px 16px; border-radius: 999px; font-weight: 600; font-size: 0.93rem;
}
.map-ph {
  position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(255,255,255,0.2);
  min-height: 300px; background:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.04) 0 12px, transparent 12px 24px), var(--navy-800);
  display: flex; align-items: center; justify-content: center; text-align: center; padding: 30px;
}
.map-ph svg.pin { width: 46px; height: 46px; color: var(--yellow); margin: 0 auto 12px; }
.map-ph b { color: #fff; display: block; font-size: 1.05rem; }
.map-ph span { color: #a9b7c7; font-size: 0.85rem; display: block; margin-top: 4px; }
.map-ph a { color: var(--yellow); font-weight: 700; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(100deg, var(--navy-900), var(--navy-600)); color: #fff; }
.cta-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 26px; padding: 56px 0; }
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { color: #c3cfdd; margin: 0; max-width: 560px; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 13px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #aebccb; font-size: 0.94rem; }
.site-footer a { color: #cfd9e4; text-decoration: none; }
.site-footer a:hover { color: var(--yellow); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr; gap: 38px; padding: 58px 0 40px; }
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h3 { color: #fff; font-size: 1.02rem; letter-spacing: 0.4px; margin-bottom: 16px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 9px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-brand img { width: 58px; height: 58px; border-radius: 50%; border: 2px solid var(--yellow); background: var(--cream); }
.footer-brand b { color: #fff; display: block; line-height: 1.2; }
.footer-brand span { font-size: 0.78rem; color: #8fa1b5; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { width: 16px; height: 16px; flex: none; margin-top: 4px; color: var(--yellow); }
.footer-socials { display: flex; gap: 10px; margin-top: 16px; }
.footer-socials a {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.25);
  display: inline-flex; align-items: center; justify-content: center; transition: background 0.18s ease, transform 0.18s ease;
}
.footer-socials a:hover { background: var(--yellow); border-color: var(--yellow); color: var(--navy-900); transform: translateY(-2px); }
.footer-socials svg { width: 17px; height: 17px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); padding: 18px 0; }
.footer-bottom__inner { display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: space-between; font-size: 0.85rem; color: #8fa1b5; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: linear-gradient(100deg, var(--navy-900) 30%, var(--navy-600)); color: #fff; padding: 58px 0 50px; }
.page-hero .eyebrow { background: rgba(255, 198, 30, 0.16); }
.page-hero h1 { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: 10px; }
.page-hero p { color: #c3cfdd; max-width: 700px; margin: 0; font-size: 1.07rem; }
.breadcrumb { font-size: 0.85rem; color: #8fa1b5; margin-bottom: 18px; }
.breadcrumb a { color: #c3cfdd; text-decoration: none; }
.breadcrumb a:hover { color: var(--yellow); }

/* ---------- About / team ---------- */
.story-wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 46px; align-items: center; }
@media (max-width: 900px) { .story-wrap { grid-template-columns: 1fr; } }
.story-img { border-radius: var(--radius); box-shadow: var(--shadow-md); }
.values-list { list-style: none; padding: 0; margin: 0; }
.values-list li { display: flex; gap: 14px; margin-bottom: 18px; }
.values-list .icon-chip { width: 42px; height: 42px; border-radius: 11px; margin: 0; }
.values-list .icon-chip svg { width: 21px; height: 21px; }
.values-list b { color: var(--navy-900); display: block; margin-bottom: 2px; }
.values-list p { margin: 0; color: var(--gray-600); font-size: 0.95rem; }

.team-card { text-align: center; padding-bottom: 22px; overflow: hidden; }
.team-card img, .team-card .avatar-ph {
  width: 100%; aspect-ratio: 1 / 1.05; object-fit: cover; object-position: top center;
  border-radius: var(--radius) var(--radius) 0 0; margin: -26px 0 16px;
  background: var(--gray-100);
}
.team-card { padding: 0; }
.team-card__body { padding: 4px 20px 22px; }
.team-card b { color: var(--navy-900); display: block; font-size: 1.05rem; }
.team-card span.role { color: var(--green-dark); font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.8px; }
.team-card p { margin: 8px 0 0; font-size: 0.88rem; }
.avatar-ph {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(150deg, var(--navy-800), var(--navy-600)) !important;
  color: var(--yellow); font-size: 3rem; font-weight: 800;
}

/* ---------- Gallery / projects ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 980px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .gallery-grid { grid-template-columns: 1fr; } }
.g-item {
  position: relative; border-radius: var(--radius); overflow: hidden; cursor: zoom-in;
  border: 1px solid #e7ebef; background: #fff; padding: 0; text-align: left;
}
.g-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.35s ease; }
.g-item:hover img { transform: scale(1.05); }
.g-item figcaption { padding: 15px 18px 17px; }
.g-item b { color: var(--navy-900); display: block; margin-bottom: 3px; }
.g-item span { color: var(--gray-600); font-size: 0.87rem; display: block; }
.g-item .cat {
  position: absolute; top: 12px; left: 12px; background: rgba(8, 28, 51, 0.85); color: var(--yellow);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  padding: 5px 11px; border-radius: 999px;
}
dialog.lightbox { border: none; border-radius: var(--radius); padding: 0; max-width: min(880px, 92vw); background: #fff; }
dialog.lightbox::backdrop { background: rgba(8, 28, 51, 0.8); }
dialog.lightbox img { width: 100%; max-height: 76vh; object-fit: contain; background: var(--navy-900); }
dialog.lightbox p { padding: 14px 20px; margin: 0; color: var(--gray-700); }
dialog.lightbox .close-x {
  position: absolute; top: 10px; right: 10px; background: rgba(8, 28, 51, 0.85); color: #fff;
  border: none; border-radius: 50%; width: 38px; height: 38px; font-size: 1.1rem; cursor: pointer;
}

/* Before / after compare */
.compare { max-width: 640px; margin: 0 auto; }
.compare__frame {
  position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md);
  aspect-ratio: 1 / 1; border: 1px solid #e7ebef;
}
.compare__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare__frame .after-img { clip-path: inset(0 0 0 50%); }
.compare__divider {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; background: var(--yellow); transform: translateX(-1.5px);
  pointer-events: none;
}
.compare__divider::after {
  content: "◂ ▸"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  background: var(--yellow); color: var(--navy-900); font-size: 0.72rem; font-weight: 800;
  width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md); white-space: nowrap;
}
.compare__tag {
  position: absolute; top: 14px; font-size: 0.75rem; font-weight: 800; letter-spacing: 1.2px;
  text-transform: uppercase; padding: 5px 12px; border-radius: 999px; color: #fff;
}
.compare__tag--before { left: 14px; background: rgba(214, 69, 69, 0.92); }
.compare__tag--after { right: 14px; background: rgba(30, 138, 76, 0.92); }
.compare input[type="range"] {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize;
  -webkit-appearance: none; appearance: none;
}

/* ---------- Forms ---------- */
.form-card { background: #fff; border: 1px solid #e7ebef; border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 34px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 700; color: var(--navy-900); font-size: 0.93rem; }
.field label .req { color: var(--red); }
.field input, .field select, .field textarea {
  font: 1rem var(--font); color: var(--ink); background: var(--gray-100);
  border: 1.5px solid var(--gray-300); border-radius: 10px; padding: 12px 14px; width: 100%;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--navy-600); background: #fff; box-shadow: 0 0 0 3px rgba(22, 64, 107, 0.14);
}
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] {
  border-color: var(--red); background: #fdf3f3;
}
.field .error-msg { color: var(--red-dark); font-size: 0.83rem; font-weight: 600; min-height: 1em; margin: 0; }
.form-note { font-size: 0.85rem; color: var(--gray-600); }
.success-box {
  display: none; background: #edf7f0; border: 1.5px solid var(--green); color: var(--green-dark);
  border-radius: var(--radius); padding: 26px 28px; margin-top: 20px;
}
.success-box.is-visible { display: block; animation: pop-in 0.35s ease; }
.success-box b { font-size: 1.1rem; }
.success-box .btn { margin: 14px 6px 0 0; }
@keyframes pop-in { from { opacity: 0; transform: translateY(8px) scale(0.99); } to { opacity: 1; transform: none; } }

/* Contact info cards */
.info-card { display: flex; gap: 16px; align-items: flex-start; }
.info-card .icon-chip { margin: 0; }
.info-card b { color: var(--navy-900); display: block; margin-bottom: 2px; }
.info-card p { margin: 0; color: var(--gray-600); font-size: 0.95rem; }
.info-card a { font-weight: 700; text-decoration: none; }
.info-card a:hover { text-decoration: underline; }

/* ---------- Checklist (emergency page) ---------- */
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { display: flex; gap: 12px; margin-bottom: 13px; color: var(--gray-700); }
.check-list svg { width: 20px; height: 20px; flex: none; margin-top: 3px; color: var(--green); }
.warn-list .check-list svg { color: var(--red-dark); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .g-item:hover img { transform: none; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ---------- Print & misc ---------- */
.ph-label {
  display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  background: var(--cream); color: #8a6d00; border: 1px dashed var(--yellow-dark);
  padding: 3px 9px; border-radius: 6px;
}
