/* ============ Tokens ============ */
:root {
  --navy: #0e2a3f;
  --navy-dark: #081b29;
  --steel: #52697a;
  --steel-light: #eef2f4;
  --steel-border: #dde4e8;
  --accent: #ff6a1a;
  --accent-dark: #e0530a;
  --wa: #25d366;
  --wa-dark: #1eb958;
  --white: #ffffff;
  --text: #1c2b33;
  --text-muted: #5b6b74;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(14, 42, 63, 0.1);
  --shadow-sm: 0 4px 14px rgba(14, 42, 63, 0.08);
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "Poppins", var(--font-body);
  --wrap: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.2; margin: 0 0 0.6em; color: var(--navy); }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.wrap--narrow { max-width: 820px; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: 10px 16px; z-index: 999; }
.skip-link:focus { left: 10px; top: 10px; }

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 22px; border-radius: 999px; font-weight: 700; font-size: 0.95rem;
  border: 2px solid transparent; cursor: pointer; transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 8px 20px rgba(255, 106, 26, 0.35); }
.btn--primary:hover { background: var(--accent-dark); }
.btn--wa { background: var(--wa); color: #fff; box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35); }
.btn--wa:hover { background: var(--wa-dark); }
.btn--outline { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--outline-light { background: transparent; border-color: rgba(255,255,255,0.4); color: #fff; }
.btn--outline-light:hover { background: rgba(255,255,255,0.12); }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: var(--steel-light); }
.btn--lg { padding: 16px 28px; font-size: 1.02rem; }
.btn--sm { padding: 9px 16px; font-size: 0.85rem; }
.btn--block { width: 100%; }

/* ============ Topbar ============ */
.topbar { background: var(--navy-dark); color: #cfe0e8; font-size: 0.82rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 20px; flex-wrap: wrap; }
.topbar__msg { display: none; }
.topbar__cta { display: flex; gap: 14px; align-items: center; margin-left: auto; }
.topbar__link { color: #fff; font-weight: 600; }
.topbar__link--wa { color: #7dffb5; }

/* ============ Header ============ */
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; box-shadow: var(--shadow-sm); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand__mark {
  width: 42px; height: 42px; border-radius: 10px; background: linear-gradient(135deg, var(--navy), var(--navy-dark));
  color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 800; font-size: 0.95rem; flex-shrink: 0;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__text strong { font-family: var(--font-head); font-size: 0.95rem; color: var(--navy); }
.brand__text small { color: var(--text-muted); font-size: 0.72rem; }
.brand--footer { color: #fff; margin-bottom: 10px; }
.brand--footer strong { color: #fff; }

.nav-toggle { display: flex; flex-direction: column; gap: 5px; background: none; border: none; padding: 8px; cursor: pointer; }
.nav-toggle span { width: 24px; height: 2px; background: var(--navy); border-radius: 2px; }

.primary-nav {
  position: fixed; inset: 0 0 0 auto; width: min(320px, 85vw); background: #fff; transform: translateX(100%);
  transition: transform 0.25s ease; z-index: 200; overflow-y: auto; padding: 20px; box-shadow: -10px 0 30px rgba(0,0,0,0.15);
}
.primary-nav.is-open { transform: translateX(0); }
.primary-nav ul { display: flex; flex-direction: column; gap: 2px; }
.primary-nav > ul > li > a { display: block; padding: 12px 8px; font-weight: 600; border-bottom: 1px solid var(--steel-border); }
.primary-nav .mega { display: none; padding-left: 14px; }
.primary-nav .has-mega.is-open .mega { display: block; }
.primary-nav .mega li a { padding: 9px 8px; font-weight: 500; font-size: 0.92rem; color: var(--text-muted); }
.primary-nav__cta { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }

/* ============ Hero ============ */
.hero { background: linear-gradient(180deg, #f4f7f8 0%, #fff 100%); padding: 28px 0 44px; overflow: hidden; }
.hero__inner { display: flex; flex-direction: column; gap: 26px; }
.eyebrow { display: inline-block; background: rgba(255,106,26,0.12); color: var(--accent-dark); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.04em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; margin-bottom: 12px; }
.hero h1 { font-size: clamp(1.7rem, 5vw, 2.6rem); }
.hero h1 .accent { color: var(--accent); }
.hero__subtitle { color: var(--text-muted); font-size: 1.02rem; max-width: 60ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 18px 0; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px 18px; font-size: 0.85rem; color: var(--steel); font-weight: 600; }
.hero__media img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/3; object-fit: cover; width: 100%; }

.breadcrumbs { margin-bottom: 14px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; font-size: 0.8rem; color: var(--text-muted); list-style: none; padding: 0; margin: 0; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; color: var(--steel-border); }
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs li[aria-current] { color: var(--navy); font-weight: 600; }

/* ============ Sections ============ */
.section { padding: 44px 0; }
.section--alt { background: var(--steel-light); }
.section__head { max-width: 640px; margin-bottom: 26px; }
.section__head h2 { font-size: clamp(1.4rem, 3.4vw, 1.9rem); }
.section__head p { color: var(--text-muted); }
.lead { font-size: 1.08rem; color: var(--text-muted); }

.grid { display: grid; gap: 18px; }
.grid--products { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.grid--why { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.grid--blog { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.grid--districts-mini { display: flex; flex-wrap: wrap; gap: 10px; }

.card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--steel-border); display: flex; flex-direction: column; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.card__body { padding: 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card__body h3 { font-size: 1.05rem; margin-bottom: 4px; }
.card__body p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 10px; flex: 1; }
.card__meta { font-size: 0.75rem; color: var(--accent-dark); font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; }
.card__link { font-weight: 700; color: var(--accent-dark); font-size: 0.88rem; }

.why-card { background: #fff; border-radius: var(--radius-sm); padding: 20px; border: 1px solid var(--steel-border); }
.why-card h3 { font-size: 1rem; margin-bottom: 6px; }
.why-card p { color: var(--text-muted); font-size: 0.9rem; margin: 0; }
.why-card--check { position: relative; padding-left: 44px; }
.why-card--check::before { content: "✔"; position: absolute; left: 16px; top: 20px; color: var(--wa); font-weight: 800; }
.section--alt .why-card { background: #fff; }

.chip { display: inline-flex; align-items: center; background: #fff; border: 1px solid var(--steel-border); color: var(--navy); font-weight: 600; font-size: 0.88rem; padding: 9px 16px; border-radius: 999px; transition: background 0.15s, color 0.15s; }
a.chip:hover { background: var(--navy); color: #fff; }
.chip--static { cursor: default; }

.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.gallery__item img { border-radius: var(--radius-sm); aspect-ratio: 1/1; object-fit: cover; width: 100%; }

.split { display: grid; gap: 26px; align-items: center; }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow-sm); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.check-list { display: grid; gap: 8px; margin: 16px 0 20px; }
.check-list li { padding-left: 26px; position: relative; color: var(--text-muted); font-weight: 500; }
.check-list li::before { content: "✔"; position: absolute; left: 0; color: var(--wa); font-weight: 800; }

/* ============ FAQ ============ */
.faq-list { display: grid; gap: 10px; }
.faq-item { background: #fff; border: 1px solid var(--steel-border); border-radius: var(--radius-sm); padding: 4px 18px; }
.faq-item summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none; color: var(--navy); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; float: right; font-size: 1.2rem; color: var(--accent); }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { color: var(--text-muted); padding-bottom: 14px; margin: 0; }

/* ============ CTA banner ============ */
.cta-banner { background: linear-gradient(135deg, var(--navy), var(--navy-dark)); color: #fff; padding: 40px 0; }
.cta-banner .wrap { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.cta-banner h2 { color: #fff; margin-bottom: 6px; font-size: 1.4rem; }
.cta-banner p { color: #b9cbd6; margin: 0; }
.cta-banner__buttons { display: flex; flex-wrap: wrap; gap: 12px; }

/* ============ Quote form ============ */
.quote-form { padding: 44px 0; background: var(--steel-light); }
.quote-form__inner { display: grid; gap: 26px; }
.quote-form__points { display: grid; gap: 8px; margin-top: 14px; color: var(--text-muted); font-weight: 600; }
.quote-form__form { background: #fff; padding: 24px; border-radius: var(--radius); box-shadow: var(--shadow-sm); display: grid; gap: 14px; }
.quote-form__form label { display: grid; gap: 6px; font-weight: 700; font-size: 0.88rem; color: var(--navy); }
.quote-form__form input, .quote-form__form textarea {
  font-family: inherit; padding: 12px 14px; border-radius: var(--radius-sm); border: 1.5px solid var(--steel-border); font-size: 0.95rem; resize: vertical;
}
.quote-form__form input:focus, .quote-form__form textarea:focus { outline: none; border-color: var(--accent); }
.quote-form__note { font-size: 0.78rem; color: var(--text-muted); font-weight: 400; margin: 0; }

/* ============ Pre-footer CTA ============ */
.pre-footer-cta { background: var(--accent); color: #fff; padding: 40px 0; text-align: center; }
.pre-footer-cta h2 { color: #fff; margin-bottom: 8px; }
.pre-footer-cta p { color: rgba(255,255,255,0.92); }
.pre-footer-cta__buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 18px; }

/* ============ Footer ============ */
.site-footer { background: var(--navy-dark); color: #a9bfca; padding: 46px 0 0; }
.footer-grid { display: grid; gap: 34px; grid-template-columns: 1fr; }
.footer-col h3 { color: #fff; font-size: 0.95rem; margin-bottom: 14px; }
.footer-col ul { display: grid; gap: 9px; }
.footer-col a { color: #a9bfca; font-size: 0.9rem; }
.footer-col a:hover { color: #fff; }
.footer-col--brand p { font-size: 0.88rem; margin: 0 0 6px; }
.footer-social-cta { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.footer-districts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px 18px; }
.footer-districts__col { display: grid; gap: 8px; }
.footer-districts__col li a { font-size: 0.85rem; }
.footer-bottom { display: flex; flex-direction: column; gap: 10px; padding: 26px 20px; margin-top: 34px; border-top: 1px solid rgba(255,255,255,0.08); font-size: 0.82rem; }
.footer-bottom a { font-weight: 700; color: #fff; text-decoration: underline; }

.floating-wa {
  position: fixed; right: 18px; bottom: 18px; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 24px rgba(37,211,102,0.45); z-index: 150;
  animation: pulse-wa 2.4s ease infinite;
}
@keyframes pulse-wa { 0%, 100% { box-shadow: 0 10px 24px rgba(37,211,102,0.45); } 50% { box-shadow: 0 10px 24px rgba(37,211,102,0.75), 0 0 0 8px rgba(37,211,102,0.12); } }

/* ============ Misc pages ============ */
.contact-list { display: grid; gap: 12px; margin: 16px 0 0; font-size: 0.98rem; }
.map-embed { width: 100%; height: 320px; border: 0; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.article-body h2 { margin-top: 1.6em; font-size: 1.3rem; }
.article-body p { color: var(--text); }
.table-wrap { overflow-x: auto; }
.credit-table { width: 100%; border-collapse: collapse; font-size: 0.86rem; min-width: 560px; }
.credit-table th, .credit-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--steel-border); }
.credit-table th { color: var(--navy); }

/* ============ Responsive ============ */
@media (min-width: 640px) {
  .gallery { grid-template-columns: repeat(4, 1fr); }
  .footer-districts { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 860px) {
  .topbar__msg { display: inline; }
  .nav-toggle { display: none; }
  .primary-nav {
    position: static; width: auto; transform: none; box-shadow: none; padding: 0; background: transparent;
    display: flex; align-items: center; gap: 22px; overflow: visible;
  }
  .primary-nav > ul { flex-direction: row; align-items: center; gap: 4px; }
  .primary-nav > ul > li > a { border-bottom: none; padding: 10px 12px; border-radius: 8px; font-size: 0.92rem; }
  .primary-nav > ul > li > a:hover { background: var(--steel-light); }
  .has-mega { position: relative; }
  .has-mega .mega {
    display: none; position: absolute; top: 100%; left: 0; background: #fff; min-width: 240px; padding: 10px;
    border-radius: var(--radius-sm); box-shadow: var(--shadow); border: 1px solid var(--steel-border);
  }
  .has-mega:hover .mega, .has-mega.is-open .mega { display: block; }
  .mega li a { border-radius: 6px; padding: 9px 10px !important; }
  .mega li a:hover { background: var(--steel-light); }
  .primary-nav__cta { flex-direction: row; margin: 0; margin-left: 8px; }

  .hero__inner { flex-direction: row; align-items: center; }
  .hero__content { flex: 1.1; }
  .hero__media { flex: 1; }
  .split { grid-template-columns: 1fr 1fr; }
  .split--reverse { direction: rtl; }
  .cta-banner .wrap { flex-direction: row; align-items: center; justify-content: space-between; }
  .quote-form__inner { grid-template-columns: 1fr 1fr; align-items: start; }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1.4fr 1fr; }
  .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; }
}

@media (min-width: 1080px) {
  .gallery { grid-template-columns: repeat(4, 1fr); }
}
