/* ============================================================
   CHS ROOFING & CONSTRUCTION CO., LTD. — STYLESHEET
   Brand: Deep Charcoal #2b3240 | CHS Blue #00aaee | White
   Font: Barlow Condensed (headings) + Barlow (body)
   ============================================================ */

/* ---- CSS VARIABLES ----------------------------------------- */
:root {
  /* Brand Colors */
  --blue:        #00aaee;
  --blue-dark:   #0088cc;
  --blue-glow:   rgba(0, 170, 238, 0.18);
  --charcoal:    #2b3240;
  --charcoal-2:  #1e2433;
  --charcoal-3:  #151a26;
  --white:       #ffffff;
  --off-white:   #f5f7fa;
  --light-gray:  #e8ecf2;
  --mid-gray:    #8a94a6;
  --text:        #2b3240;
  --text-light:  #5a6478;

  /* Spacing */
  --gap:     clamp(1.5rem, 4vw, 3rem);
  --section: clamp(4rem, 8vw, 7rem);

  /* Typography */
  --font-display: 'Barlow Condensed', sans-serif;
  --font-body:    'Barlow', sans-serif;

  /* Shadows */
  --shadow-sm:  0 2px 8px rgba(0,0,0,0.08);
  --shadow-md:  0 8px 32px rgba(0,0,0,0.12);
  --shadow-lg:  0 20px 60px rgba(0,0,0,0.18);
  --shadow-blue: 0 8px 32px rgba(0,170,238,0.25);

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --dur:  0.25s;

  /* Layout */
  --max-width: 1240px;
  --header-h:  72px;
}

/* ---- RESET -------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 3px; }

ul { list-style: none; }

button { cursor: pointer; border: none; background: none; font: inherit; }

/* ---- UTILITIES ---------------------------------------------- */
.container {
  width: min(var(--max-width), 100% - 2 * var(--gap));
  margin-inline: auto;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-glow);
  border: 1px solid rgba(0,170,238,0.3);
  padding: 0.3em 0.8em;
  border-radius: 100px;
  margin-bottom: 1rem;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  color: var(--charcoal);
  margin-bottom: 1rem;
}

.section-sub {
  color: var(--text-light);
  font-size: 1.05rem;
  max-width: 560px;
  margin-inline: auto;
}

/* ---- BUTTONS ----------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.75em 1.6em;
  border-radius: 6px;
  transition: all var(--dur) var(--ease);
  white-space: nowrap;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn-primary:hover, .btn-primary:focus-visible {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-blue);
}

.btn-ghost {
  background: rgba(255,255,255,0.12);
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover, .btn-ghost:focus-visible {
  background: rgba(255,255,255,0.22);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--charcoal);
  border-color: var(--white);
}
.btn-white:hover, .btn-white:focus-visible {
  background: var(--off-white);
  transform: translateY(-2px);
}

.btn-lg { font-size: 1.05rem; padding: 0.9em 2em; }
.btn-full { width: 100%; justify-content: center; }

/* ---- ANNOUNCEMENT BAR -------------------------------------- */
.announcement-bar {
  background: var(--charcoal-3);
  color: var(--white);
  text-align: center;
  font-size: 0.87rem;
  padding: 0.55rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  position: relative;
  z-index: 200;
}
.announcement-bar a { color: var(--blue); font-weight: 700; }
.announcement-bar a:hover { text-decoration: underline; }

.pulse-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--blue);
  display: inline-block;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0,170,238,0.6); }
  50%       { box-shadow: 0 0 0 6px rgba(0,170,238,0); }
}

/* ---- HEADER / NAV ------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--charcoal);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  height: var(--header-h);
  transition: box-shadow var(--dur) var(--ease);
}
.site-header.scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding-inline: var(--gap);
  max-width: var(--max-width);
  margin-inline: auto;
  gap: 1rem;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.logo-mark {
  background: var(--blue);
  border-radius: 6px;
  padding: 0.25em 0.5em;
  line-height: 1;
}
.logo-chs {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--white);
  letter-spacing: 0.04em;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-primary {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
  letter-spacing: 0.1em;
}
.logo-sub {
  font-size: 0.68rem;
  color: var(--mid-gray);
  letter-spacing: 0.04em;
}

/* Nav links */
.nav-links {
  display: flex;
  gap: 0.25rem;
  align-items: center;
}
.nav-link {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  padding: 0.5em 0.75em;
  border-radius: 4px;
  transition: color var(--dur), background var(--dur);
}
.nav-link:hover, .nav-link:focus-visible {
  color: var(--white);
  background: rgba(255,255,255,0.08);
}

.nav-actions { display: flex; align-items: center; gap: 0.75rem; }

.nav-cta { font-size: 0.88rem; padding: 0.6em 1.2em; }

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  border-radius: 4px;
}
.burger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--dur) var(--ease), opacity var(--dur);
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0;
  background: var(--charcoal-2);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1rem var(--gap) 1.5rem;
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  animation: slideDown 0.2s var(--ease) both;
}
.mobile-menu.open { display: flex; }

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.mobile-link {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  display: block;
}
.mobile-link:hover { color: var(--blue); }
.mobile-cta {
  margin-top: 1.25rem;
  text-align: center;
  width: 100%;
  justify-content: center;
}

/* ---- HERO --------------------------------------------------- */
.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-block: 5rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('bg-hero.webp');
  background-size: cover;
  background-position: center 30%;
  transform: scale(1.03);
  animation: heroZoom 20s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1.0); }
  to   { transform: scale(1.06); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(21, 26, 38, 0.88) 0%,
    rgba(27, 33, 55, 0.78) 50%,
    rgba(0, 100, 160, 0.45) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(var(--max-width), 100% - 2 * var(--gap));
  margin-inline: auto;
  max-width: 720px;
  animation: fadeUp 0.8s var(--ease) both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0,170,238,0.15);
  border: 1px solid rgba(0,170,238,0.4);
  color: #7dd6f5;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4em 1em;
  border-radius: 100px;
  margin-bottom: 1.5rem;
  animation: fadeUp 0.8s 0.1s var(--ease) both;
}
.badge-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--blue);
  animation: pulse 2s infinite;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.2rem, 8vw, 6rem);
  line-height: 1.0;
  color: var(--white);
  margin-bottom: 1.5rem;
  animation: fadeUp 0.8s 0.2s var(--ease) both;
}
.hero-title-line1 { display: block; }
.hero-title-line2 {
  display: block;
  color: var(--blue);
  text-shadow: 0 0 40px rgba(0,170,238,0.4);
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.8);
  max-width: 540px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
  animation: fadeUp 0.8s 0.3s var(--ease) both;
}
.hero-sub strong { color: var(--white); }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3.5rem;
  animation: fadeUp 0.8s 0.4s var(--ease) both;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  animation: fadeUp 0.8s 0.5s var(--ease) both;
}
.stat { display: flex; flex-direction: column; }
.stat-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.8rem;
  color: var(--blue);
  line-height: 1;
}
.stat-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.stat-divider {
  width: 1px; height: 40px;
  background: rgba(255,255,255,0.15);
  align-self: center;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.5);
  animation: bounce 2.5s ease-in-out infinite;
  z-index: 2;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ---- TRUST BAR --------------------------------------------- */
.trust-bar {
  background: var(--charcoal);
  padding: 1.25rem var(--gap);
}
.trust-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 2.5rem;
  max-width: var(--max-width);
  margin-inline: auto;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: rgba(255,255,255,0.75);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.trust-item svg { color: var(--blue); flex-shrink: 0; }

/* ---- SERVICES ---------------------------------------------- */
.services {
  padding-block: var(--section);
  background: var(--off-white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: 12px;
  padding: 2rem;
  position: relative;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur);
  cursor: default;
}
.service-card:hover, .service-card:focus {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue);
  outline: none;
}
.service-card:focus {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}

.service-icon {
  width: 64px; height: 64px;
  background: var(--blue-glow);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  margin-bottom: 1.25rem;
  transition: background var(--dur), color var(--dur);
}
.service-card:hover .service-icon {
  background: var(--blue);
  color: var(--white);
}

.service-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--charcoal);
  margin-bottom: 0.65rem;
}
.service-card p { color: var(--text-light); font-size: 0.95rem; line-height: 1.7; }

.service-tag {
  display: inline-block;
  margin-top: 1.25rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-glow);
  border: 1px solid rgba(0,170,238,0.25);
  padding: 0.25em 0.7em;
  border-radius: 100px;
}

.service-card--wide {
  grid-column: span 2;
}

.service-card--emergency {
  background: linear-gradient(135deg, var(--charcoal-2) 0%, var(--charcoal-3) 100%);
  border-color: rgba(0,170,238,0.3);
  color: var(--white);
}
.service-card--emergency h3 { color: var(--white); }
.service-card--emergency p  { color: rgba(255,255,255,0.7); }
.service-card--emergency .service-icon {
  background: rgba(0,170,238,0.15);
  color: var(--blue);
}
.service-card--emergency:hover .service-icon {
  background: var(--blue);
  color: var(--white);
}

.emergency-badge {
  position: absolute;
  top: 1.25rem; right: 1.25rem;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  padding: 0.3em 0.7em;
  border-radius: 100px;
  animation: pulse 2s infinite;
}

/* ---- CTA STRIP --------------------------------------------- */
.cta-strip {
  background: linear-gradient(135deg, var(--charcoal) 0%, var(--charcoal-2) 100%);
  padding-block: clamp(3rem, 6vw, 5rem);
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(0,170,238,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.cta-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  position: relative;
}
.cta-strip h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  color: var(--white);
  margin-bottom: 0.4rem;
}
.cta-strip p { color: rgba(255,255,255,0.65); font-size: 1rem; }

/* ---- ABOUT -------------------------------------------------- */
.about {
  padding-block: var(--section);
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}

.about-visual { position: relative; }

.about-card-stack { position: relative; padding: 1.5rem; }

.about-card {
  border-radius: 16px;
  position: absolute;
}
.about-card--back {
  inset: 0;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  transform: rotate(-4deg);
  opacity: 0.18;
}
.about-card--front {
  position: relative;
  background: var(--charcoal);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.about-stat-block { text-align: center; }
.big-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 3.5rem;
  color: var(--blue);
  line-height: 1;
}
.big-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.25rem;
  display: block;
}
.about-divider { height: 1px; background: rgba(255,255,255,0.1); }

.about-content .section-title { text-align: left; }
.about-content p {
  color: var(--text-light);
  margin-bottom: 1rem;
  font-size: 1.02rem;
}
.about-content p strong { color: var(--charcoal); }

.about-checklist {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-top: 1.5rem;
}
.about-checklist li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.97rem;
  color: var(--text);
}
.about-checklist svg { color: var(--blue); flex-shrink: 0; }

/* ---- AREAS -------------------------------------------------- */
.areas {
  padding-block: clamp(3rem, 6vw, 5rem);
  background: var(--off-white);
}

.areas-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.area-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--white);
  border: 1.5px solid var(--light-gray);
  border-radius: 100px;
  padding: 0.6em 1.4em;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.04em;
  color: var(--charcoal);
  transition: all var(--dur) var(--ease);
}
.area-pill:hover {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.area-pill svg { color: var(--blue); }
.area-pill--more {
  background: var(--blue-glow);
  border-color: rgba(0,170,238,0.35);
  color: var(--blue);
}

/* ---- TESTIMONIALS ------------------------------------------ */
.testimonials {
  padding-block: var(--section);
  background: var(--charcoal-3);
}
.testimonials .section-tag { background: rgba(0,170,238,0.12); }
.testimonials .section-title { color: var(--white); }
.testimonials .section-sub  { color: rgba(255,255,255,0.55); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.testimonial-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 12px;
  padding: 2rem;
  transition: transform var(--dur) var(--ease), border-color var(--dur);
}
.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0,170,238,0.35);
}

.stars {
  color: var(--blue);
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.testimonial-card p {
  color: rgba(255,255,255,0.75);
  font-style: italic;
  font-size: 0.97rem;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}
.testimonial-card footer {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.testimonial-card strong { color: var(--white); font-size: 0.97rem; }
.testimonial-card span  { color: var(--mid-gray); font-size: 0.85rem; }

/* ---- CONTACT ----------------------------------------------- */
.contact {
  padding-block: var(--section);
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.contact-info .section-title { text-align: left; }
.contact-info > p { color: var(--text-light); margin-bottom: 2rem; font-size: 1.02rem; }

.contact-details { display: flex; flex-direction: column; gap: 1.25rem; margin-bottom: 2rem; }

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: color var(--dur);
}
a.contact-detail-item:hover { color: var(--blue); }

.contact-icon {
  width: 44px; height: 44px;
  background: var(--blue-glow);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  flex-shrink: 0;
}
.contact-detail-item div { display: flex; flex-direction: column; gap: 0.15rem; }
.contact-detail-item strong { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--mid-gray); font-weight: 600; }
.contact-detail-item span  { color: var(--charcoal); font-size: 0.97rem; }
a.contact-detail-item:hover span { color: var(--blue); }

.contact-manager {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--off-white);
  border-radius: 10px;
  border: 1px solid var(--light-gray);
}
.manager-avatar {
  width: 48px; height: 48px;
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-manager strong { display: block; font-size: 1rem; color: var(--charcoal); }
.contact-manager span   { font-size: 0.83rem; color: var(--mid-gray); }

/* Form */
.contact-form-wrap {
  background: var(--off-white);
  border: 1px solid var(--light-gray);
  border-radius: 16px;
  padding: clamp(1.75rem, 4vw, 2.75rem);
}

.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group { display: flex; flex-direction: column; gap: 0.4rem; }

label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--charcoal);
  letter-spacing: 0.03em;
}
label span { color: var(--blue); }

input, select, textarea {
  font-family: var(--font-body);
  font-size: 0.97rem;
  color: var(--text);
  background: var(--white);
  border: 1.5px solid var(--light-gray);
  border-radius: 8px;
  padding: 0.75em 1em;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur);
  outline: none;
  width: 100%;
}
input::placeholder, textarea::placeholder { color: #b0b8c9; }
input:focus, select:focus, textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-glow);
}
input.error, select.error, textarea.error { border-color: #e53e3e; }

select { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238a94a6' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1em center; padding-right: 2.5em; }

textarea { resize: vertical; min-height: 110px; }

.field-error {
  font-size: 0.8rem;
  color: #e53e3e;
  min-height: 1.2em;
}

.form-note {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--mid-gray);
  justify-content: center;
  margin-top: 0.25rem;
}
.form-note svg { flex-shrink: 0; }

/* Submit button loading */
#submit-btn .btn-loading { display: none; }
#submit-btn.loading .btn-text { display: none; }
#submit-btn.loading .btn-loading { display: inline; }

/* Success state */
.form-success {
  text-align: center;
  padding: 3rem 2rem;
}
.form-success svg { color: var(--blue); margin-inline: auto; margin-bottom: 1.25rem; }
.form-success h3 { font-family: var(--font-display); font-size: 1.8rem; margin-bottom: 0.75rem; }
.form-success p { color: var(--text-light); }
.form-success a { color: var(--blue); font-weight: 600; }

/* ---- FOOTER ------------------------------------------------- */
.site-footer { background: var(--charcoal-3); }

.footer-main { padding-block: clamp(3rem, 6vw, 5rem); }

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.footer-logo .logo-mark { background: var(--blue); border-radius: 6px; padding: 0.2em 0.45em; }

.footer-tagline {
  color: rgba(255,255,255,0.45);
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.footer-phone {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--blue);
  letter-spacing: 0.04em;
  transition: color var(--dur);
}
.footer-phone:hover { color: var(--white); }

.footer-col h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1.25rem;
}

.footer-col ul { display: flex; flex-direction: column; gap: 0.65rem; }

.footer-col li {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
}
.footer-col a { transition: color var(--dur); }
.footer-col a:hover { color: var(--blue); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-block: 1.25rem;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
}

/* ---- FLOATING EMERGENCY BUTTON ----------------------------- */
.fab-emergency {
  display: none;
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 300;
  width: 58px; height: 58px;
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(0,170,238,0.5);
  animation: pulse 2s infinite;
  transition: transform var(--dur), background var(--dur);
}
.fab-emergency:hover { background: var(--blue-dark); transform: scale(1.08); }

/* ---- SCROLL REVEAL ----------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- RESPONSIVE -------------------------------------------- */

/* Tablet */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .service-card--wide { grid-column: span 1; }
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { order: -1; max-width: 400px; margin-inline: auto; }
  .about-card--front { padding: 2rem; }
  .big-num { font-size: 2.8rem; }
  .contact-grid { grid-template-columns: 1fr; }
}

/* Mobile nav */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .burger { display: flex; }
  .nav-cta { display: none; }
  .fab-emergency { display: flex; }

  .hero-stats { gap: 0.75rem 1rem; }
  .stat-divider { display: none; }

  .form-row { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }

  .cta-strip-inner { flex-direction: column; text-align: center; }

  .trust-container { gap: 0.5rem 1rem; }
}

/* Print */
@media print {
  .announcement-bar, .site-header, .hero-scroll, .fab-emergency, .btn { display: none !important; }
  body { color: #000; }
}
