/* Blanchard Refrigeration — main stylesheet */
:root {
  --navy-900: #12243c;
  --navy-800: #1a355a;
  --navy-700: #214c7d;
  --steel-600: #3d5a73;
  --steel-400: #94abc6;
  --ice-200: #d6e8f3;
  --ice-100: #eef5fa;
  --frost: #f7fafc;
  --white: #ffffff;
  --ink: #15212c;
  --muted: #55687a;
  --accent: #e8661c;      /* emergency / call-to-action orange */
  --accent-dark: #c4520f;
  --cyan: #4a76b5;
  --sky: #8fb4e6;      /* light brand blue for use on dark backgrounds */
  --radius: 6px;
  --shadow: 0 10px 30px rgba(18, 36, 60, 0.12);
  --max: 1180px;
  --head: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Source Sans 3", "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-700); }
a:hover { color: var(--accent-dark); }
h1, h2, h3, h4 {
  font-family: var(--head);
  font-weight: 700;
  line-height: 1.1;
  color: var(--navy-900);
  margin: 0 0 .5em;
  letter-spacing: .01em;
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4.25rem); text-transform: uppercase; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); text-transform: uppercase; }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1.1em; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.eyebrow {
  display: inline-block;
  font-family: var(--head);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: .6rem;
}
.lead { font-size: 1.2rem; color: var(--muted); max-width: 46rem; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 12px; top: 12px; z-index: 999; background: #fff; padding: 8px 12px; }

/* ---------- Top emergency bar ---------- */
.topbar {
  background: var(--accent);
  color: #fff;
  font-size: .95rem;
  font-weight: 600;
}
.topbar .container { display: flex; justify-content: center; align-items: center; gap: .6rem; padding-top: 7px; padding-bottom: 7px; text-align: center; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.6); }
.topbar .pulse { width: 9px; height: 9px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 0 rgba(255,255,255,.7); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.7);} 70% { box-shadow: 0 0 0 9px rgba(255,255,255,0);} 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0);} }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--ice-200);
  box-shadow: 0 2px 12px rgba(18,36,60,.06);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy-800); }
.brand img { width: 48px; height: 48px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--head); font-weight: 700; font-size: 1.55rem; letter-spacing: .04em; text-transform: uppercase; }
.brand-sub { font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--steel-600); margin-top: 4px; }
.brand:hover { color: var(--navy-800); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav > ul { list-style: none; display: flex; margin: 0; padding: 0; gap: 2px; }
.nav li { position: relative; }
.nav a.nav-link, .nav button.nav-link {
  display: block; padding: 10px 14px; color: var(--navy-800); text-decoration: none;
  font-family: var(--head); font-size: 1.1rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase;
  background: none; border: 0; cursor: pointer;
}
.nav a.nav-link:hover, .nav button.nav-link:hover, .nav .active > .nav-link { color: var(--cyan); }
.nav .active > .nav-link { box-shadow: inset 0 -3px 0 var(--cyan); }
.nav .caret { display: inline-block; margin-left: 4px; font-size: .7em; transform: translateY(-2px); }
.dropdown {
  position: absolute; top: 100%; left: 0; min-width: 270px;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  list-style: none; margin: 0; padding: 8px 0;
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s ease;
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown, .has-dropdown.open .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown a { display: block; padding: 9px 18px; color: var(--ink); text-decoration: none; font-weight: 600; }
.dropdown a:hover { background: var(--ice-100); color: var(--navy-700); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: 13px 24px; border-radius: var(--radius); border: 2px solid transparent;
  font-family: var(--head); font-size: 1.15rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); color: #fff; }
.btn-navy { background: var(--navy-800); color: #fff; }
.btn-navy:hover { background: var(--navy-700); color: #fff; }
.btn-outline { border-color: var(--navy-700); color: var(--navy-700); }
.btn-outline:hover { background: var(--navy-700); color: #fff; }
.header-call { margin-left: 12px; padding: 10px 18px; font-size: 1.05rem; white-space: nowrap; }

.menu-toggle { display: none; background: none; border: 0; color: var(--navy-800); padding: 8px; cursor: pointer; }
.menu-toggle svg { width: 30px; height: 30px; }

@media (max-width: 1020px) {
  .menu-toggle { display: block; }
  .header-call { display: none; }
  .nav {
    position: fixed; inset: 76px 0 0 0; background: #fff;
    flex-direction: column; align-items: stretch; padding: 16px 20px 40px; overflow-y: auto;
    transform: translateX(100%); transition: transform .25s ease;
  }
  .nav.open { transform: none; }
  .nav > ul { flex-direction: column; }
  .nav a.nav-link, .nav button.nav-link { padding: 14px 4px; font-size: 1.35rem; width: 100%; text-align: left; border-bottom: 1px solid var(--ice-200); }
  .nav .active > .nav-link { box-shadow: none; color: var(--cyan); }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: transparent; display: none; padding: 4px 0 10px 12px; }
  .has-dropdown.open .dropdown { display: block; }
  .dropdown a { color: var(--steel-600); padding: 8px 4px; }
  .dropdown a:hover { background: transparent; color: var(--cyan); }
  .nav .mobile-call { display: flex; margin-top: 20px; }
}
.nav .mobile-call { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background: var(--navy-900);
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(18,36,60,.96) 0%, rgba(18,36,60,.75) 50%, rgba(18,36,60,.35) 100%);
}
.hero .container { position: relative; z-index: 1; padding-top: 110px; padding-bottom: 110px; }
.hero h1 { color: #fff; max-width: 14ch; }
.hero h1 span { color: var(--sky); }
.hero .lead { color: #c7d6e2; font-size: 1.3rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 50px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.14); max-width: 760px; }
.hero-badge strong { display: block; font-family: var(--head); font-size: 2.1rem; line-height: 1; color: #fff; }
.hero-badge span { font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; color: var(--steel-400); }

.page-hero { position: relative; background: var(--navy-900); color: #fff; overflow: hidden; }
.page-hero .hero-bg img { opacity: .3; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18,36,60,.95), rgba(18,36,60,.55)); }
.page-hero .container { position: relative; z-index: 1; padding-top: 80px; padding-bottom: 80px; }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.6rem); }
.page-hero .lead { color: #c7d6e2; }
.breadcrumb { font-size: .9rem; color: var(--steel-400); margin-bottom: 14px; }
.breadcrumb a { color: var(--steel-400); }

/* ---------- Sections ---------- */
section { padding: 90px 0; }
.section-tight { padding: 60px 0; }
.bg-frost { background: var(--frost); }
.bg-ice { background: var(--ice-100); }
.bg-navy { background: var(--navy-900); color: #dbe7f0; }
.bg-navy h2, .bg-navy h3 { color: #fff; }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .lead { margin-left: auto; margin-right: auto; }

.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } section { padding: 64px 0; } }

/* Service cards */
.card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 2px 4px rgba(18,36,60,.05), 0 8px 24px rgba(18,36,60,.07);
  display: flex; flex-direction: column; text-decoration: none; color: inherit;
  transition: transform .18s ease, box-shadow .18s ease;
}
a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: inherit; }
.card-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--ice-200); }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 24px 24px 28px; flex: 1; display: flex; flex-direction: column; }
.card-body h3 { margin-bottom: .35em; }
.card-body p { color: var(--muted); font-size: 1rem; }
.card-link { margin-top: auto; font-family: var(--head); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-dark); }

/* Feature (icon) blocks */
.feature { padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--ice-200); }
.bg-navy .feature { background: var(--navy-800); border-color: rgba(255,255,255,.07); }
.feature .icon { width: 52px; height: 52px; border-radius: 10px; display: grid; place-items: center; background: var(--ice-100); color: var(--navy-700); margin-bottom: 16px; }
.bg-navy .feature .icon { background: rgba(143,180,230,.15); color: var(--sky); }
.feature .icon svg { width: 28px; height: 28px; }
.feature h3 { font-size: 1.35rem; }
.feature p { font-size: 1rem; color: var(--muted); margin: 0; }
.bg-navy .feature p { color: #a9bccc; }

/* Split (image + text) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } .split.reverse .split-media { order: 0; } }

.checklist { list-style: none; padding: 0; margin: 0 0 1.5em; }
.checklist li { position: relative; padding-left: 32px; margin-bottom: 10px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--ice-200) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316344d' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.bg-navy .checklist li::before { background-color: #dbe7f5; }

/* Spec table */
.specs { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 2px 10px rgba(18,36,60,.06); }
.specs th, .specs td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--ice-200); }
.specs th { background: var(--navy-800); color: #fff; font-family: var(--head); font-size: 1.1rem; letter-spacing: .05em; text-transform: uppercase; }
.specs tr:last-child td { border-bottom: 0; }
.table-note { font-size: .9rem; color: var(--muted); margin-top: 10px; }

/* Steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.step { position: relative; padding-top: 64px; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 0; left: 0; width: 48px; height: 48px; border-radius: 50%;
  background: var(--navy-800); color: #fff; display: grid; place-items: center;
  font-family: var(--head); font-size: 1.5rem; font-weight: 700;
}
.step h3 { font-size: 1.25rem; }
.step p { font-size: .98rem; color: var(--muted); }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* CTA band */
.cta-band { background: linear-gradient(110deg, var(--navy-800), var(--navy-700)); color: #fff; padding: 64px 0; }
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0 0 .2em; }
.cta-band p { margin: 0; color: #c7d6e2; font-size: 1.15rem; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Emergency block */
.emergency {
  display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center;
  background: #fff; border-left: 6px solid var(--accent); border-radius: var(--radius); padding: 30px 34px; box-shadow: var(--shadow);
}
.emergency .big { font-family: var(--head); font-size: 3.2rem; font-weight: 700; line-height: 1; color: var(--accent); }
.emergency h3 { margin-bottom: .2em; }
.emergency p { margin: 0; color: var(--muted); }
@media (max-width: 760px) { .emergency { grid-template-columns: 1fr; text-align: left; } }

/* Area list */
.area-cols { columns: 3 200px; column-gap: 32px; list-style: none; padding: 0; margin: 0; }
.area-cols li { break-inside: avoid; padding: 6px 0; border-bottom: 1px dashed var(--ice-200); }
.region h3 { font-size: 1.3rem; color: var(--navy-700); border-bottom: 3px solid var(--cyan); display: inline-block; padding-bottom: 4px; }
.region ul { list-style: none; padding: 0; margin: 0; }
.region li { padding: 5px 0; color: var(--muted); }
.map-frame { width: 100%; height: 440px; border: 0; border-radius: var(--radius); box-shadow: var(--shadow); background: var(--ice-200); }

/* FAQ */
.faq details { background: #fff; border: 1px solid var(--ice-200); border-radius: var(--radius); margin-bottom: 12px; }
.faq summary { cursor: pointer; padding: 18px 22px; font-weight: 700; font-size: 1.1rem; list-style: none; position: relative; padding-right: 50px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; color: var(--cyan); }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 22px 18px; color: var(--muted); }

/* Forms */
.form-wrap { background: #fff; border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } .form-wrap { padding: 24px; } }
label { display: block; font-weight: 700; font-size: .95rem; margin-bottom: 6px; color: var(--navy-800); }
input, select, textarea {
  width: 100%; font: inherit; padding: 12px 14px; border: 1px solid #c3d3df; border-radius: var(--radius); background: var(--frost); color: var(--ink);
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--cyan); outline-offset: 1px; border-color: var(--cyan); background: #fff; }
textarea { min-height: 140px; resize: vertical; }
.hp { position: absolute; left: -5000px; }
.form-note { font-size: .92rem; color: var(--muted); margin-top: 14px; }
.alert { padding: 16px 20px; border-radius: var(--radius); margin-bottom: 22px; font-weight: 600; }
.alert-ok { background: #e6f6ec; color: #1e6b3a; border: 1px solid #b6e2c5; }
.alert-err { background: #fdecea; color: #9c2a1c; border: 1px solid #f5c2bb; }

.contact-card { background: var(--navy-900); color: #dbe7f0; border-radius: var(--radius); padding: 34px; }
.contact-card h3 { color: #fff; }
.contact-card .phone { font-family: var(--head); font-size: 2.3rem; font-weight: 700; color: #fff; text-decoration: none; display: block; margin: 6px 0 4px; }
.contact-card .phone:hover { color: var(--sky); }
.contact-card dl { margin: 24px 0 0; }
.contact-card dt { font-family: var(--head); text-transform: uppercase; letter-spacing: .1em; color: var(--steel-400); font-size: .95rem; margin-top: 16px; }
.contact-card dd { margin: 2px 0 0; }
.contact-card a { color: #fff; }

/* Logos / partners strip */
.tag-row { display: flex; flex-wrap: wrap; gap: 10px; }
.tag { background: var(--ice-100); color: var(--navy-700); border-radius: 30px; padding: 6px 14px; font-weight: 600; font-size: .95rem; }

/* Footer */
.site-footer { background: #07131f; color: #9fb3c4; padding: 70px 0 0; font-size: .98rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer h4 { color: #fff; font-size: 1.2rem; text-transform: uppercase; letter-spacing: .08em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #c7d6e2; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-phone { font-family: var(--head); font-size: 1.9rem; font-weight: 700; color: #fff !important; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 50px; padding: 22px 0; font-size: .88rem; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* Mobile sticky call button */
.mobile-callbar { display: none; }
@media (max-width: 760px) {
  .mobile-callbar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    background: var(--accent); color: #fff; text-decoration: none; justify-content: center; align-items: center; gap: 10px;
    padding: 14px; font-family: var(--head); font-weight: 700; font-size: 1.25rem; letter-spacing: .05em; text-transform: uppercase;
    box-shadow: 0 -4px 16px rgba(0,0,0,.2);
  }
  .mobile-callbar:hover { color: #fff; }
  body { padding-bottom: 58px; }
}

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } .topbar .pulse { animation: none; } }

/* Eyebrow on dark */
.hero .eyebrow, .page-hero .eyebrow, .bg-navy .eyebrow, .cta-band .eyebrow { color: var(--sky); }

/* Footer logo tile */
.footer-logo { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 18px; text-decoration: none; }
.footer-logo span.tile { background: #fff; border-radius: 10px; padding: 7px; display: inline-flex; }
.footer-logo img { width: 42px; height: 42px; object-fit: contain; }
.footer-logo strong { font-family: var(--head); font-size: 1.4rem; text-transform: uppercase; letter-spacing: .04em; color: #fff; line-height: 1.05; }

/* Core values */
.values { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.value { text-align: center; padding: 30px 18px; background: #fff; border-radius: var(--radius); border-top: 4px solid var(--navy-700); box-shadow: 0 2px 10px rgba(18,36,60,.06); }
.value .num { width: 74px; height: 74px; border-radius: 50%; margin: 0 auto 16px; display: grid; place-items: center; background: var(--navy-700); color: #fff; box-shadow: 0 6px 14px rgba(33,76,125,.3); }
.value .num svg { width: 32px; height: 32px; }
.value h3 { font-size: 1.4rem; margin-bottom: .3em; }
.value p { font-size: .98rem; color: var(--muted); margin: 0; }
@media (max-width: 1000px) { .values { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .values { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .values { grid-template-columns: 1fr; } }

/* Icons inside buttons */
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.mobile-callbar svg { width: 22px; height: 22px; }

@media (max-width: 640px) {
  .topbar .long { display: none; }
  .topbar .pulse { display: none; }
  .hero .container { padding-top: 64px; padding-bottom: 64px; }
  .page-hero .container { padding-top: 52px; padding-bottom: 52px; }
  .hero-actions .btn { width: 100%; }
  .hero-badges { gap: 20px 28px; margin-top: 36px; }
}
.nowrap { white-space: nowrap; }

/* Banner-shaped images keep their subject (right side) when cropped into cards */
.card-img img { object-position: right center; }
