/* =====================================================
   Ingram's Quality Septic Services - Stylesheet
   SC Clean Water Authority aesthetic
   Raleway (headings) + Nunito (body)
   Colors: #457B9D (blue) | #1D3557 (navy) | #A8DADC (teal)
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;600;700;800;900&family=Nunito:wght@400;500;600;700&display=swap');

:root {
  --primary: #457B9D;
  --primary-dark: #2f5c7a;
  --secondary: #1D3557;
  --accent: #A8DADC;
  --accent-dark: #6bb4ba;
  --dark: #0d141a;
  --text: #1d1e20;
  --muted: #56585e;
  --light: #eef5fb;
  --light2: #f7fbff;
  --emergency: #e63946;
  --emergency-dark: #c1121f;
  --white: #ffffff;
  --shadow: 0 4px 24px rgba(13, 20, 26, 0.1);
  --shadow-lg: 0 8px 40px rgba(13, 20, 26, 0.15);
  --radius: 10px;
  --radius-lg: 16px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
  line-height: 1.2;
  color: var(--secondary);
}

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }

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

/* ---- Skip Link ---- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--primary);
  color: white;
  padding: .5rem 1rem;
  border-radius: 0 0 var(--radius) var(--radius);
  font-weight: 700;
  z-index: 9999;
  transition: top .2s;
}
.skip-link:focus { top: 0; }

/* ---- Emergency Bar ---- */
.emergency-bar {
  background: var(--emergency);
  color: white;
  text-align: center;
  padding: .5rem 1rem;
  font-size: .875rem;
  font-weight: 700;
  font-family: 'Raleway', sans-serif;
  letter-spacing: .02em;
}
.emergency-bar a { color: white; text-decoration: underline; }
.emergency-bar a:hover { color: #ffe0e2; }

/* ---- Header ---- */
header {
  background: var(--secondary);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,.3);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: .75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.logo-wrap { display: flex; align-items: center; gap: .75rem; flex-shrink: 0; }
.logo-wrap img { height: 56px; width: auto; }
.logo-text { display: flex; flex-direction: column; }
.logo-text strong {
  font-family: 'Raleway', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: white;
  line-height: 1.1;
}
.logo-text span {
  font-size: .75rem;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
}
nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: .25rem;
}
nav a {
  color: rgba(255,255,255,.85);
  font-weight: 600;
  font-size: .9rem;
  padding: .4rem .75rem;
  border-radius: 6px;
  transition: background .2s, color .2s;
  font-family: 'Raleway', sans-serif;
}
nav a:hover, nav a[aria-current="page"] {
  background: rgba(168,218,220,.15);
  color: var(--accent);
}
.nav-cta {
  background: var(--emergency) !important;
  color: white !important;
  border-radius: 6px;
  padding: .4rem 1rem !important;
}
.nav-cta:hover { background: var(--emergency-dark) !important; color: white !important; }
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: .5rem;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: all .3s;
}

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: .75rem 1.75rem;
  border-radius: var(--radius);
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all .25s;
  text-align: center;
  border: 2px solid transparent;
  line-height: 1.4;
}
.btn-primary {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(69, 123, 157, .35);
}
.btn-secondary {
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,.7);
}
.btn-secondary:hover {
  background: white;
  color: var(--secondary);
  border-color: white;
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: white;
}
.btn-emergency {
  background: var(--emergency);
  color: white;
  border-color: var(--emergency);
}
.btn-emergency:hover {
  background: var(--emergency-dark);
  border-color: var(--emergency-dark);
  color: white;
  transform: translateY(-2px);
}

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(13,20,26,.85) 0%, rgba(29,53,87,.65) 60%, rgba(69,123,157,.4) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
  width: 100%;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(168,218,220,.2);
  border: 1px solid rgba(168,218,220,.4);
  color: var(--accent);
  padding: .35rem .85rem;
  border-radius: 100px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  font-family: 'Raleway', sans-serif;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  color: white;
  margin-bottom: 1.25rem;
  max-width: 700px;
  line-height: 1.15;
  font-weight: 900;
}
.hero h1 span { color: var(--accent); }
.hero p {
  font-size: 1.15rem;
  color: rgba(255,255,255,.88);
  max-width: 560px;
  margin-bottom: 2rem;
  line-height: 1.75;
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.hero-tags {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
}
.hero-tag {
  display: flex;
  align-items: center;
  gap: .4rem;
  color: rgba(255,255,255,.8);
  font-size: .875rem;
  font-weight: 600;
}
.hero-tag svg { color: var(--accent); flex-shrink: 0; }

/* ---- Trust Band ---- */
.trust-band {
  background: var(--secondary);
  padding: 1rem 1.5rem;
}
.trust-band-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem 3rem;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: .6rem;
  color: rgba(255,255,255,.9);
  font-size: .875rem;
  font-weight: 600;
  font-family: 'Raleway', sans-serif;
}
.trust-item svg { color: var(--accent); flex-shrink: 0; }
.trust-divider {
  width: 1px;
  height: 20px;
  background: rgba(255,255,255,.2);
}

/* ---- Section base ---- */
section { padding: 5rem 1.5rem; }
.container { max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-label {
  display: inline-block;
  font-family: 'Raleway', sans-serif;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: .6rem;
}
.section-header h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  margin-bottom: .75rem;
}
.section-header p {
  color: var(--muted);
  max-width: 580px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* ---- Stats Band ---- */
.stats-band {
  background: var(--primary);
  padding: 3rem 1.5rem;
}
.stats-grid {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
  text-align: center;
}
.stat-item { color: white; }
.stat-num {
  font-family: 'Raleway', sans-serif;
  font-size: 2.75rem;
  font-weight: 900;
  display: block;
  line-height: 1;
  margin-bottom: .35rem;
}
.stat-label {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .85;
}

/* ---- Services Grid ---- */
.services-section { background: var(--light2); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--primary);
  transition: transform .25s, box-shadow .25s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.service-icon {
  width: 52px;
  height: 52px;
  background: var(--light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--primary);
}
.service-card h3 {
  font-size: 1.1rem;
  margin-bottom: .5rem;
  color: var(--secondary);
}
.service-card p {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ---- Photos Section ---- */
.photos-section { background: white; padding: 5rem 1.5rem; }
.photos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}
.photos-grid img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: transform .3s, box-shadow .3s;
}
.photos-grid img:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
}

/* ---- Testimonials ---- */
.testimonials-section { background: var(--secondary); }
.testimonials-section .section-label { color: var(--accent); }
.testimonials-section .section-header h2 { color: white; }
.testimonials-section .section-header p { color: rgba(255,255,255,.7); }
.testimonial-carousel {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
  overflow: hidden;
}
.tc-track { display: flex; transition: transform .5s ease; }
.tc-slide {
  min-width: 100%;
  padding: 0 1rem;
}
.tc-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(168,218,220,.2);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
}
.stars { color: #ffd700; font-size: 1.25rem; margin-bottom: 1.25rem; }
.tc-card blockquote {
  font-size: 1.1rem;
  color: rgba(255,255,255,.9);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 1.25rem;
}
.tc-card cite {
  font-style: normal;
  font-weight: 700;
  color: var(--accent);
  font-size: .9rem;
  font-family: 'Raleway', sans-serif;
}
.tc-source {
  display: block;
  font-size: .8rem;
  color: rgba(255,255,255,.5);
  margin-top: .25rem;
}
.tc-dots {
  display: flex;
  justify-content: center;
  gap: .5rem;
  margin-top: 1.75rem;
}
.tc-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.3);
  cursor: pointer;
  transition: background .3s, transform .3s;
}
.tc-dot.active {
  background: var(--accent);
  transform: scale(1.2);
}

/* ---- FAQ ---- */
.faq-section { background: var(--light2); }
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item {
  background: white;
  border-radius: var(--radius);
  margin-bottom: .75rem;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1.025rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  color: var(--secondary);
  font-family: 'Raleway', sans-serif;
  user-select: none;
  transition: color .2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { display: none; content: ''; }
.faq-item[open] summary { color: var(--primary); }
.faq-chevron {
  flex-shrink: 0;
  margin-left: 1rem;
  transition: transform .3s;
  color: var(--primary);
}
.faq-item[open] .faq-chevron { transform: rotate(180deg); }
.faq-body {
  padding: 0 1.5rem 1.25rem;
  font-size: .95rem;
  line-height: 1.75;
  color: var(--muted);
  border-top: 1px solid var(--light);
  margin-top: 0;
  padding-top: 1rem;
}

/* ---- Service Area Map ---- */
.map-section { background: white; }
.map-container {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  align-items: start;
}
.map-info h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--secondary);
}
.map-info p {
  color: var(--muted);
  margin-bottom: 1.25rem;
  line-height: 1.7;
}
.county-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin-bottom: 1.5rem;
}
.county-list li {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-weight: 600;
  color: var(--text);
}
.county-list li svg { color: var(--primary); flex-shrink: 0; }
#service-area-map { height: 380px; border-radius: var(--radius-lg); box-shadow: var(--shadow); }

/* ---- CTA Section ---- */
.cta-section {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--dark) 100%);
  text-align: center;
  padding: 5rem 1.5rem;
}
.cta-section h2 { color: white; margin-bottom: .75rem; }
.cta-section p { color: rgba(255,255,255,.78); margin-bottom: 2rem; max-width: 520px; margin-left: auto; margin-right: auto; }
.cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---- Footer ---- */
footer {
  background: var(--dark);
  color: rgba(255,255,255,.75);
  padding: 3.5rem 1.5rem 1.5rem;
}
.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand img { height: 52px; margin-bottom: 1rem; }
.footer-brand p { font-size: .9rem; line-height: 1.7; max-width: 280px; }
.footer-col h4 {
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
  color: white;
  margin-bottom: 1rem;
  font-size: .95rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.footer-col a { color: rgba(255,255,255,.65); font-size: .9rem; transition: color .2s; }
.footer-col a:hover { color: var(--accent); }
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .9rem;
  margin-bottom: .6rem;
}
.footer-contact svg { color: var(--accent); flex-shrink: 0; margin-top: .15rem; }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: .85rem;
  color: rgba(255,255,255,.45);
}
.footer-badges { display: flex; align-items: center; gap: 1rem; }
.footer-badges img { height: 36px; opacity: .85; filter: grayscale(20%); }
.license-tag {
  background: rgba(168,218,220,.12);
  border: 1px solid rgba(168,218,220,.25);
  color: var(--accent);
  padding: .2rem .75rem;
  border-radius: 100px;
  font-size: .75rem;
  font-weight: 700;
  font-family: 'Raleway', sans-serif;
}

/* ---- Page Hero (inner pages) ---- */
.page-hero {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
  padding: 4rem 1.5rem;
  text-align: center;
}
.page-hero h1 { color: white; font-size: clamp(1.75rem, 4vw, 3rem); margin-bottom: .75rem; }
.page-hero p { color: rgba(255,255,255,.8); max-width: 560px; margin: 0 auto; font-size: 1.05rem; }
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  margin-bottom: 1rem;
  font-size: .85rem;
  font-weight: 600;
  color: rgba(255,255,255,.6);
  font-family: 'Raleway', sans-serif;
}
.breadcrumb a { color: var(--accent); }
.breadcrumb span { color: rgba(255,255,255,.4); }

/* ---- About page ---- */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.about-text h2 { margin-bottom: 1rem; font-size: 2rem; }
.about-text p { color: var(--muted); line-height: 1.8; margin-bottom: 1rem; }
.credentials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}
.cred-card {
  background: var(--light);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
}
.cred-card svg { color: var(--primary); margin-bottom: .5rem; }
.cred-card strong {
  display: block;
  font-family: 'Raleway', sans-serif;
  font-size: .95rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: .25rem;
}
.cred-card span { font-size: .8rem; color: var(--muted); }
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
}
.value-card {
  background: white;
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  text-align: center;
}
.value-card .icon {
  width: 56px;
  height: 56px;
  background: var(--light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--primary);
}
.value-card h3 { font-size: 1.05rem; margin-bottom: .5rem; }
.value-card p { font-size: .9rem; color: var(--muted); }

/* ---- Services page ---- */
.services-full-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
}
.service-full-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
}
.service-full-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.sfcard-header {
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.sfcard-header .icon {
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}
.sfcard-header h3 { color: white; font-size: 1.15rem; font-weight: 800; }
.sfcard-body { padding: 1.5rem; }
.sfcard-body p { font-size: .92rem; color: var(--muted); line-height: 1.7; }

/* ---- Before / After slider ---- */
.ba-section { background: var(--secondary); padding: 5rem 1.5rem; }
.ba-section .section-label { color: var(--accent); }
.ba-section .section-header h2 { color: white; }
.ba-section .section-header p { color: rgba(255,255,255,.7); }

/* ---- Contact page ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 3rem;
  align-items: start;
}
.contact-info-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  margin-bottom: 1.5rem;
}
.contact-info-card h3 {
  font-size: 1.15rem;
  margin-bottom: 1.25rem;
  color: var(--secondary);
  padding-bottom: .75rem;
  border-bottom: 2px solid var(--light);
}
.contact-row {
  display: flex;
  gap: .75rem;
  margin-bottom: 1rem;
  align-items: flex-start;
}
.contact-row svg { color: var(--primary); flex-shrink: 0; margin-top: .15rem; }
.contact-row div strong { display: block; font-family: 'Raleway', sans-serif; font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: .15rem; }
.contact-row div a { font-weight: 600; color: var(--text); font-size: .95rem; }
.contact-row div a:hover { color: var(--primary); }
.contact-row div p { color: var(--text); font-size: .95rem; font-weight: 500; line-height: 1.5; }
.hours-grid {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  font-size: .9rem;
}
.hours-row {
  display: flex;
  justify-content: space-between;
  padding: .3rem 0;
  border-bottom: 1px solid var(--light);
}
.hours-row:last-child { border-bottom: none; }
.hours-row .day { font-weight: 600; color: var(--text); }
.hours-row .time { color: var(--muted); }
.emergency-note {
  background: #fff2f3;
  border: 1px solid #fecdd3;
  border-radius: var(--radius);
  padding: .75rem 1rem;
  font-size: .875rem;
  color: var(--emergency-dark);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-top: .75rem;
}
.contact-form-wrap {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}
.contact-form-wrap h2 { margin-bottom: .5rem; font-size: 1.75rem; }
.contact-form-wrap > p { color: var(--muted); margin-bottom: 2rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-weight: 700;
  font-family: 'Raleway', sans-serif;
  font-size: .875rem;
  margin-bottom: .4rem;
  color: var(--secondary);
}
.form-group label .req { color: var(--emergency); }
.form-control {
  width: 100%;
  padding: .75rem 1rem;
  border: 2px solid #dde5ed;
  border-radius: var(--radius);
  font-family: 'Nunito', sans-serif;
  font-size: .95rem;
  color: var(--text);
  transition: border-color .2s, box-shadow .2s;
  background: white;
}
.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(69,123,157,.15);
}
.form-control:invalid:not(:placeholder-shown) { border-color: var(--emergency); }
textarea.form-control { resize: vertical; min-height: 120px; }
select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23457B9D' stroke-width='2'%3E%3Cpolyline points='4 6 8 10 12 6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .75rem center; padding-right: 2.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-success {
  display: none;
  background: #ecfdf5;
  border: 1px solid #6ee7b7;
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  color: #065f46;
  font-weight: 600;
  text-align: center;
}
.form-error {
  display: none;
  background: #fff1f2;
  border: 1px solid #fecdd3;
  border-radius: var(--radius);
  padding: .75rem 1rem;
  color: var(--emergency-dark);
  font-size: .875rem;
  font-weight: 600;
  margin-top: 1rem;
}

/* ---- Floating CTA ---- */
.floating-cta {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 50;
  background: var(--emergency);
  color: white;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(230,57,70,.45);
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
}
.floating-cta:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(230,57,70,.55);
  color: white;
}

/* ---- Scroll Reveal ---- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal:nth-child(2) { transition-delay: .1s; }
.reveal:nth-child(3) { transition-delay: .2s; }
.reveal:nth-child(4) { transition-delay: .3s; }
.reveal:nth-child(5) { transition-delay: .4s; }
.reveal:nth-child(6) { transition-delay: .5s; }

/* ---- Utility ---- */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .header-inner nav { display: none; }
  .header-inner nav.open { display: block; position: absolute; top: 100%; left: 0; right: 0; background: var(--secondary); padding: 1rem 1.5rem; box-shadow: 0 8px 24px rgba(0,0,0,.3); }
  .header-inner nav.open ul { flex-direction: column; gap: .25rem; }
  .hamburger { display: flex; }
  .photos-grid { grid-template-columns: 1fr 1fr; }
  .photos-grid img:last-child { grid-column: 1 / -1; height: 200px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .about-content { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .map-container { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .services-full-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  section { padding: 3.5rem 1rem; }
  .photos-grid { grid-template-columns: 1fr; }
  .photos-grid img { height: 220px; }
  .photos-grid img:last-child { height: 220px; }
  .footer-grid { grid-template-columns: 1fr; }
  .credentials-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { text-align: center; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .cta-btns { flex-direction: column; align-items: center; }
}
@media (min-width: 768px) {
  .floating-cta { bottom: 2rem; right: 2rem; width: 64px; height: 64px; }
}
