/* ==========================================================================
   Century Mechanical LLC — Design System
   Industrial & Commercial HVAC&R Contractor
   Brand: red (heating) + blue (cooling), engineered & mechanical
   ========================================================================== */

:root {
  /* ---- Brand palette (from the CM logo) ----
     Blue = primary point colour (cool / fresh); red = minor secondary accent */
  --blue: #1288c9;          /* fresh cool azure — primary */
  --blue-dark: #0d6ba1;
  --blue-bright: #46b7ea;   /* fresh highlight for gradients */
  --blue-soft: #e8f4fb;
  --red: #d5242a;           /* secondary accent, used sparingly */
  --red-dark: #b01c22;
  --red-soft: #fdecec;

  /* Deep, cool "navy" family for dark sections / headings */
  --navy-900: #0a1f33;
  --navy-800: #0e2c47;
  --navy-700: #144063;
  --navy-600: #1288c9;

  --steel-050: #f4f8fc;
  --steel-100: #e8f1f8;
  --steel-200: #cbdcea;
  --steel-300: #a3c1da;

  /* Accent = primary blue (CTAs, eyebrows, highlights) */
  --accent: #1288c9;
  --accent-dark: #0d6ba1;
  --accent-soft: #e8f4fb;

  --ink-900: #0f1a24;
  --ink-700: #33475b;
  --ink-500: #5b6b7b;
  --ink-400: #8091a2;

  --white: #ffffff;
  --line: #e2e9f1;

  /* Typography */
  --font-sans: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;

  /* Layout — sharper radii for a mechanical, engineered feel */
  --container: 1240px;
  --radius: 6px;
  --radius-sm: 4px;
  --radius-btn: 4px;
  --shadow-sm: 0 2px 8px rgba(10, 39, 69, .07);
  --shadow-md: 0 14px 34px rgba(10, 39, 69, .13);
  --shadow-lg: 0 26px 60px rgba(10, 39, 69, .18);
  --header-h: 80px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink-700);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  color: var(--navy-800);
  line-height: 1.12;
  margin: 0 0 .5em;
  font-weight: 800;
  letter-spacing: -.02em;
}
h1 { font-size: clamp(2.3rem, 5.2vw, 3.8rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); }
p { margin: 0 0 1rem; }

a { color: var(--blue); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--red); }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }

.section { padding: clamp(58px, 8vw, 112px) 0; }
.section--tight { padding: clamp(40px, 5vw, 64px) 0; }
.section--navy { background: var(--navy-800); color: var(--steel-200); }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--alt { background: var(--steel-050); }

/* ---- Shared bits -------------------------------------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .8rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; background: currentColor; display: inline-block; }
.section--navy .eyebrow { color: var(--blue-bright); }

.lead { font-size: 1.15rem; color: var(--ink-700); max-width: 62ch; }
.section--navy .lead { color: var(--steel-200); }

.section-head { max-width: 780px; margin-bottom: 54px; }
.section-head.center { margin-inline: auto; text-align: center; }

/* ---- Buttons (modern, compact) ----------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 12px 24px; border-radius: var(--radius-btn);
  font-weight: 600; font-size: .92rem; letter-spacing: .01em; line-height: 1;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .18s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 5px 16px rgba(18, 136, 201, .26); }
.btn--primary:hover { background: var(--blue-dark); color: #fff; box-shadow: 0 9px 22px rgba(18, 136, 201, .34); }
.btn--blue { background: var(--blue); color: #fff; box-shadow: 0 5px 16px rgba(18, 136, 201, .26); }
.btn--blue:hover { background: var(--blue-dark); color: #fff; }
.btn--ghost { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .45); backdrop-filter: blur(2px); }
.btn--ghost:hover { background: #fff; color: var(--navy-800); border-color: #fff; }
.btn--dark { background: var(--navy-800); color: #fff; }
.btn--dark:hover { background: var(--navy-900); color: #fff; }
.btn--lg { padding: 14px 30px; font-size: .98rem; }

/* ---- Header / navigation ----------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; height: var(--header-h); z-index: 100;
  display: flex; align-items: center;
  transition: background .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header.is-solid, .site-header.inner {
  background: rgba(255, 255, 255, .95);
  backdrop-filter: saturate(150%) blur(12px);
  box-shadow: var(--shadow-sm); border-bottom-color: var(--line);
}

.brand { display: flex; align-items: center; gap: 13px; }
.brand__mark {
  width: 50px; height: 50px; flex: none; border-radius: 50%;
  background: #fff; padding: 5px; border: 1px solid var(--line);
  box-shadow: 0 3px 12px rgba(10, 39, 69, .14);
  display: grid; place-items: center;
}
.brand__mark svg { width: 100%; height: 100%; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-weight: 800; font-size: 1.16rem; letter-spacing: -.01em; color: var(--white); transition: color .3s var(--ease); }
.brand__tag { font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; color: var(--steel-300); font-weight: 700; transition: color .3s var(--ease); }
.is-solid .brand__name, .inner .brand__name { color: var(--navy-800); }
.is-solid .brand__tag, .inner .brand__tag { color: var(--ink-400); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a { padding: 9px 15px; border-radius: var(--radius-sm); font-weight: 600; font-size: .96rem; color: rgba(255, 255, 255, .9); }
.nav a:hover, .nav a.active { color: #fff; background: rgba(255, 255, 255, .14); }
.is-solid .nav a, .inner .nav a { color: var(--ink-700); }
.is-solid .nav a:hover, .is-solid .nav a.active, .inner .nav a:hover, .inner .nav a.active { color: var(--blue); background: var(--blue-soft); }

.header-cta { display: flex; align-items: center; gap: 16px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: #fff; font-size: .95rem; }
.is-solid .header-phone, .inner .header-phone { color: var(--navy-800); }
.header-phone svg { width: 17px; height: 17px; color: var(--blue); }
.is-solid .header-phone svg, .inner .header-phone svg { color: var(--blue); }
.header-cta .btn { padding: 11px 22px; }

.nav-toggle { display: none; width: 46px; height: 46px; border: none; background: rgba(255, 255, 255, .16); border-radius: var(--radius-sm); cursor: pointer; flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.is-solid .nav-toggle, .inner .nav-toggle { background: var(--steel-100); }
.nav-toggle span { width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: .25s var(--ease); }
.is-solid .nav-toggle span, .inner .nav-toggle span { background: var(--navy-800); }

/* ---- Hero --------------------------------------------------------------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; color: #fff; padding-top: var(--header-h); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.06); animation: heroZoom 18s ease-out forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(105deg, rgba(7, 20, 38, .93) 0%, rgba(9, 30, 55, .72) 42%, rgba(7, 20, 38, .25) 100%),
    linear-gradient(0deg, rgba(7, 20, 38, .8) 0%, rgba(7, 20, 38, 0) 45%);
}
.hero .container { position: relative; z-index: 2; }
.hero__inner { max-width: 740px; padding: 60px 0; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 15px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .24); font-size: .82rem; font-weight: 600; backdrop-filter: blur(4px); }
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.pill:nth-child(2) .dot { background: var(--blue); }
.hero h1 { color: #fff; margin-bottom: 22px; }
.hero h1 .accent {
  background: linear-gradient(100deg, var(--blue-bright) 0%, #8fe0ff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__sub { font-size: 1.22rem; color: rgba(255, 255, 255, .92); max-width: 60ch; margin-bottom: 34px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__scroll { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 2; color: rgba(255, 255, 255, .7); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.hero__scroll .line { width: 1px; height: 40px; background: rgba(255, 255, 255, .4); animation: scrollPulse 1.8s ease-in-out infinite; transform-origin: top; }
@keyframes scrollPulse { 0%, 100% { transform: scaleY(.3); opacity: .4; } 50% { transform: scaleY(1); opacity: 1; } }

/* ---- Stat strip --------------------------------------------------------- */
.stats { position: relative; z-index: 5; margin-top: -66px; }
.stats__grid { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; border-top: 4px solid var(--blue); }
.stat { padding: 34px 30px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: none; }
.stat__num { font-size: clamp(2rem, 3.4vw, 2.8rem); font-weight: 800; color: var(--navy-800); letter-spacing: -.03em; }
.stat__num .accent { color: var(--blue); }
.stat__label { font-size: .92rem; color: var(--ink-500); font-weight: 600; }

/* ---- Trust / clients bar ------------------------------------------------ */
.trustbar { padding: 36px 0; border-bottom: 1px solid var(--line); background: #fff; }
.trustbar__title { text-align: center; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-400); font-weight: 700; margin-bottom: 22px; }
.trust-logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 40px; }
.trust-logos span { font-weight: 800; font-size: 1.15rem; color: var(--navy-700); opacity: .8; letter-spacing: -.01em; }
.trust-logos span:hover { opacity: 1; color: var(--blue); }

/* ---- Client logo marquee (horizontal auto-scroll) ---------------------- */
.logo-marquee {
  position: relative; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
}
.logo-track { display: flex; align-items: center; width: max-content; animation: scrollLogos 48s linear infinite; }
.logo-marquee:hover .logo-track { animation-play-state: paused; }
@keyframes scrollLogos { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.logo-track .logo { flex: 0 0 auto; width: 158px; height: 60px; margin: 0 22px; display: grid; place-items: center; }
.logo-track .logo img {
  max-width: 100%; max-height: 48px; width: auto; height: auto; object-fit: contain; display: block;
  opacity: .9; transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.logo-track .logo:hover img { opacity: 1; transform: scale(1.07); }
@media (max-width: 620px) {
  .logo-track .logo { width: 122px; height: 50px; margin: 0 14px; }
  .logo-track .logo img { max-height: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  .logo-track { animation: none; flex-wrap: wrap; justify-content: center; row-gap: 10px; }
}

/* ---- Split / media ------------------------------------------------------ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 78px); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media { position: relative; }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow-md); width: 100%; object-fit: cover; }
.media-frame { position: relative; }
.media-frame::before { content: ""; position: absolute; inset: -14px -14px auto auto; width: 62%; height: 62%; border-radius: var(--radius); border: 3px solid var(--blue); z-index: -1; }
.badge-float { position: absolute; left: -18px; bottom: 26px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-md); padding: 16px 20px; display: flex; align-items: center; gap: 13px; max-width: 250px; border-left: 4px solid var(--red); }
.badge-float__icon { width: 44px; height: 44px; border-radius: var(--radius-sm); flex: none; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; }
.badge-float__icon svg { width: 24px; height: 24px; }
.badge-float strong { display: block; color: var(--navy-800); font-size: 1.05rem; }
.badge-float span { font-size: .8rem; color: var(--ink-500); }

.check-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 13px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; color: var(--ink-700); }
.check-list li svg { width: 22px; height: 22px; flex: none; color: var(--blue); margin-top: 2px; }
.section--navy .check-list li { color: var(--steel-200); }

/* ---- Cards -------------------------------------------------------------- */
.grid { display: grid; gap: 26px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease); display: flex; flex-direction: column; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--steel-100); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.card:hover .card__media img { transform: scale(1.07); }
.card__body { padding: 26px 26px 30px; flex: 1; }
.card__icon { width: 54px; height: 54px; border-radius: var(--radius-sm); margin-bottom: 18px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; }
.card__icon svg { width: 28px; height: 28px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--ink-500); font-size: .97rem; margin-bottom: 0; }
.card__tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.tag { font-size: .76rem; font-weight: 600; padding: 4px 11px; border-radius: var(--radius-sm); background: var(--blue-soft); color: var(--blue-dark); }
.card__link { margin-top: 18px; font-weight: 700; font-size: .92rem; color: var(--blue); display: inline-flex; gap: 6px; align-items: center; }

/* ---- Service rows ------------------------------------------------------- */
.service-row { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); }
.service-row:nth-child(even) { grid-template-columns: 1fr 1.1fr; }
.service-row:nth-child(even) .service-row__media { order: 2; }
.service-row__media { min-height: 340px; background-size: cover; background-position: center; }
.service-row__body { padding: clamp(30px, 4vw, 54px); }
.service-row__num { font-size: .85rem; font-weight: 800; letter-spacing: .1em; color: var(--blue); }
.service-row__body h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin: 8px 0 14px; }

/* ---- Sectors band (Okland-inspired) ------------------------------------- */
.sector-tile { position: relative; display: block; border-radius: var(--radius); overflow: hidden; min-height: 260px; color: #fff; box-shadow: var(--shadow-sm); }
.sector-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.sector-tile:hover img { transform: scale(1.08); }
.sector-tile__overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7, 20, 38, .9) 0%, rgba(7, 20, 38, .3) 55%, rgba(7, 20, 38, .15) 100%); display: flex; flex-direction: column; justify-content: flex-end; padding: 26px; }
.sector-tile__overlay::before { content: ""; position: absolute; left: 0; top: 0; width: 5px; height: 100%; background: var(--blue); }
.sector-tile:nth-child(3) .sector-tile__overlay::before { background: var(--red); }
.sector-tile h3 { color: #fff; font-size: 1.35rem; margin-bottom: 4px; }
.sector-tile__count { font-size: .84rem; color: rgba(255, 255, 255, .8); font-weight: 600; }
.sector-tile__cta { margin-top: 12px; font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #fff; display: inline-flex; align-items: center; gap: 8px; }
.sector-tile__cta svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.sector-tile:hover .sector-tile__cta svg { transform: translateX(5px); }

/* ---- Projects grid (Barton Malow-inspired: image + text below) ---------- */
.project-filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 44px; }
.filter-btn { padding: 10px 22px; border-radius: var(--radius-sm); border: 1.5px solid var(--line); background: #fff; color: var(--ink-700); font-weight: 700; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; transition: .2s var(--ease); }
.filter-btn:hover { border-color: var(--blue); color: var(--blue); }
.filter-btn.active { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }

.project-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease); }
.project-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; }
.project-card__img { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy-800); }
.project-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.project-card:hover .project-card__img img { transform: scale(1.06); }
.project-card__info { padding: 22px 24px 26px; position: relative; }
.project-card__info::before { content: ""; position: absolute; left: 0; top: -1px; width: 0; height: 3px; background: var(--blue); transition: width .35s var(--ease); }
.project-card:hover .project-card__info::before { width: 60px; }
.project-card__cat { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; color: var(--blue); margin-bottom: 10px; }
.project-card h3 { font-size: 1.15rem; color: var(--navy-800); margin-bottom: 6px; transition: color .2s var(--ease); }
.project-card:hover h3 { color: var(--blue); }
.project-card__meta { font-size: .82rem; color: var(--ink-400); font-weight: 700; margin: 0; text-transform: uppercase; letter-spacing: .04em; }
.project-card__desc { font-size: .93rem; color: var(--ink-500); margin: 13px 0 0; }
.project-card[hidden] { display: none; }

/* ---- Testimonial -------------------------------------------------------- */
.quote-block { max-width: 900px; margin-inline: auto; text-align: center; }
.quote-block blockquote { font-size: clamp(1.3rem, 2.6vw, 1.95rem); font-weight: 700; color: #fff; margin: 0 0 26px; letter-spacing: -.01em; line-height: 1.4; }
.quote-block__author { display: flex; align-items: center; justify-content: center; gap: 14px; }
.quote-block__avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--blue); display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 1.1rem; }
.quote-block__name { text-align: left; }
.quote-block__name strong { color: #fff; display: block; }
.quote-block__name span { color: var(--steel-300); font-size: .88rem; }
.stars { color: #ffb800; letter-spacing: 3px; margin-bottom: 18px; font-size: 1.2rem; }

/* ---- CTA band ----------------------------------------------------------- */
.cta-band { position: relative; overflow: hidden; border-top: 4px solid var(--blue); }
.cta-band__bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.cta-band__overlay { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(13, 58, 99, .95), rgba(8, 30, 55, .92)); }
.cta-band .container { position: relative; z-index: 2; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, .92); font-size: 1.15rem; max-width: 60ch; margin-inline: auto; margin-bottom: 30px; }
.cta-band .btn--primary { background: #fff; color: var(--blue-dark); }
.cta-band .btn--primary:hover { background: var(--navy-800); color: #fff; }
.cta-band .btn--ghost { border-color: rgba(255, 255, 255, .7); }

/* ---- Page hero (inner pages) -------------------------------------------- */
.page-hero { position: relative; padding: calc(var(--header-h) + 72px) 0 72px; color: #fff; overflow: hidden; border-bottom: 4px solid var(--blue); }
.page-hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.page-hero__overlay { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(7, 20, 38, .94) 10%, rgba(9, 30, 55, .72) 100%); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; margin-bottom: 12px; }
.page-hero p { color: rgba(255, 255, 255, .85); font-size: 1.15rem; max-width: 60ch; }
.breadcrumb { display: flex; gap: 8px; font-size: .88rem; color: rgba(255, 255, 255, .7); margin-bottom: 20px; }
.breadcrumb a { color: rgba(255, 255, 255, .7); }
.breadcrumb a:hover { color: #fff; }

/* ---- Contact ------------------------------------------------------------ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; }
.info-card { display: flex; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.info-card:last-child { border-bottom: none; }
.info-card__icon { width: 50px; height: 50px; border-radius: var(--radius-sm); flex: none; background: var(--navy-800); color: #fff; display: grid; place-items: center; }
.info-card__icon svg { width: 24px; height: 24px; }
.info-card h4 { margin: 0 0 4px; font-size: 1.05rem; }
.info-card p { margin: 0; color: var(--ink-700); font-weight: 500; }
.info-card a { color: var(--blue); font-weight: 700; }
.info-card a:hover { color: var(--red); }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(26px, 4vw, 42px); box-shadow: var(--shadow-md); border-top: 4px solid var(--blue); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .9rem; color: var(--navy-800); margin-bottom: 7px; }
.field input, .field select, .field textarea { width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); font-family: inherit; font-size: 1rem; color: var(--ink-900); background: var(--steel-050); transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(28, 120, 194, .13); }
.field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: .85rem; color: var(--ink-400); margin-top: 4px; }
.form-success { display: none; padding: 16px 18px; border-radius: var(--radius-sm); background: #e9f7ef; color: #1c7a45; font-weight: 600; margin-bottom: 18px; border-left: 4px solid #1c7a45; }
.form-success.show { display: block; }

.map-embed { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); height: 380px; }
.map-embed iframe { width: 100%; height: 100%; border: 0; }

/* ---- Footer ------------------------------------------------------------- */
.site-footer { background: var(--navy-900); color: var(--steel-300); padding: 74px 0 0; border-top: 4px solid var(--blue); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 52px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer-brand .brand__name { color: #fff; }
.footer-brand p { color: var(--steel-300); font-size: .95rem; margin: 18px 0 22px; max-width: 34ch; }
.footer-col h4 { color: #fff; font-size: .95rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 18px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.footer-col a { color: var(--steel-300); font-size: .95rem; }
.footer-col a:hover { color: var(--red); }
.footer-contact li { display: flex; gap: 11px; align-items: flex-start; font-size: .95rem; color: var(--steel-300); }
.footer-contact svg { width: 18px; height: 18px; flex: none; color: var(--red); margin-top: 3px; }
.footer-contact a { color: var(--steel-300); }
.footer-contact a:hover { color: #fff; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 0; flex-wrap: wrap; }
.footer-bottom p { margin: 0; font-size: .88rem; color: var(--ink-400); }
.footer-bottom .links { display: flex; gap: 20px; }
.footer-license { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; color: var(--steel-300); background: rgba(255, 255, 255, .06); padding: 6px 14px; border-radius: var(--radius-sm); border-left: 3px solid var(--red); }

/* ---- Reveal ------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }

/* ---- Mobile nav --------------------------------------------------------- */
.mobile-nav { position: fixed; inset: 0; z-index: 200; background: var(--navy-900); display: flex; flex-direction: column; padding: 26px 24px; transform: translateX(100%); transition: transform .35s var(--ease); visibility: hidden; }
.mobile-nav.open { transform: none; visibility: visible; }
.mobile-nav__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 30px; }
.mobile-nav__close { width: 46px; height: 46px; border: none; background: rgba(255, 255, 255, .1); border-radius: var(--radius-sm); color: #fff; font-size: 1.6rem; cursor: pointer; }
.mobile-nav a { color: #fff; font-size: 1.5rem; font-weight: 700; padding: 15px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.mobile-nav a:hover { color: var(--red); }
.mobile-nav__cta { margin-top: auto; display: grid; gap: 12px; }
.mobile-nav__cta .btn { width: 100%; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px) {
  .nav, .header-cta .btn, .header-phone { display: none; }
  .nav-toggle { display: flex; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .service-row, .service-row:nth-child(even) { grid-template-columns: 1fr; }
  .service-row__media, .service-row:nth-child(even) .service-row__media { order: 0; min-height: 240px; }
  .media-frame::before { display: none; }
}
@media (max-width: 620px) {
  .grid--3, .grid--2, .grid--4 { grid-template-columns: 1fr; }
  .stats { margin-top: -40px; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: calc(var(--header-h) + 40px); padding-bottom: 60px; }
  .hero__scroll { display: none; }
  .badge-float { left: 12px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
