/* ============================================
   Roby Services - Charlotte, NC
   Bold Industrial Editorial Design
   ============================================ */

:root {
  --red: #b31510;
  --red-dark: #8a0f0c;
  --red-light: #d4302b;
  --navy: #00395e;
  --navy-dark: #002640;
  --navy-light: #004d7a;
  --white: #ffffff;
  --off-white: #f7f7f5;
  --light-gray: #ededed;
  --medium-gray: #999;
  --dark-gray: #333;
  --black: #111;
  --font-display: 'Bodoni Moda', serif;
  --font-body: 'Outfit', sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--black);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.8rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
h4 { font-size: clamp(1.1rem, 1.5vw, 1.4rem); }

p { max-width: 68ch; }

/* ---- Skip Link ---- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 10000;
  padding: 12px 24px;
  background: var(--red);
  color: var(--white);
  font-weight: 700;
  border-radius: 0 0 6px 6px;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0;
}

/* ---- Container ---- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container--wide {
  max-width: 1400px;
}

/* ---- Header ---- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--navy);
  transition: background 0.3s var(--ease-smooth), box-shadow 0.3s;
}

.site-header.scrolled {
  background: var(--navy-dark);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: 72px;
  max-width: 1400px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo img {
  height: 44px;
  width: auto;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
}

.logo-text span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-top: 2px;
}

/* Desktop Nav */
.main-nav {
  display: none;
}

.main-nav ul {
  display: flex;
  gap: 4px;
}

.main-nav a {
  display: block;
  padding: 8px 14px;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.03em;
  border-radius: 4px;
  transition: color 0.15s, background 0.15s;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}

.main-nav a.active {
  color: var(--white);
  background: var(--red);
}

.header-cta {
  display: none;
  padding: 10px 22px;
  background: var(--red);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
}

.header-cta:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
}

.header-cta:active {
  transform: translateY(0);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: transform 0.3s var(--ease-out), opacity 0.2s;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--navy-dark);
  z-index: 999;
  padding: 32px 24px;
  overflow-y: auto;
}

.mobile-nav.open {
  display: block;
  animation: slideDown 0.3s var(--ease-out);
}

.mobile-nav a {
  display: block;
  padding: 16px 0;
  font-size: 1.1rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: color 0.15s, padding-left 0.2s;
}

.mobile-nav a:hover,
.mobile-nav a:focus-visible {
  color: var(--white);
  padding-left: 8px;
}

.mobile-nav a.active {
  color: var(--red-light);
}

.mobile-nav .mobile-cta {
  display: inline-block;
  margin-top: 24px;
  padding: 14px 32px;
  background: var(--red);
  color: var(--white);
  font-weight: 600;
  border-radius: 4px;
  font-size: 1rem;
}

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: flex-end;
  padding: 120px 0 80px;
  background: var(--navy-dark);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,57,94,0.6) 0%, rgba(0,38,64,0.95) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 740px;
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background: var(--red);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 24px;
  animation: fadeInUp 0.6s var(--ease-out) both;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 20px;
  animation: fadeInUp 0.6s var(--ease-out) 0.1s both;
}

.hero h1 em {
  font-style: normal;
  color: var(--red-light);
}

.hero-text {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.8;
  margin-bottom: 36px;
  animation: fadeInUp 0.6s var(--ease-out) 0.2s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  animation: fadeInUp 0.6s var(--ease-out) 0.3s both;
}

/* ---- Page Hero (inner pages) ---- */
.page-hero {
  position: relative;
  padding: 140px 0 60px;
  background: var(--navy);
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--red);
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 16px;
  animation: fadeInUp 0.6s var(--ease-out) both;
}

.page-hero-text {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  max-width: 600px;
  animation: fadeInUp 0.6s var(--ease-out) 0.1s both;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
  min-height: 48px;
  text-align: center;
  justify-content: center;
}

.btn:focus-visible {
  outline: 3px solid var(--red-light);
  outline-offset: 2px;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--red);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(179, 21, 16, 0.35);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.4);
}

.btn-secondary:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--red);
  border: 2px solid var(--red);
}

.btn-outline:hover {
  background: var(--red);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(179, 21, 16, 0.25);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
}

.btn-navy:hover {
  background: var(--navy-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 57, 94, 0.35);
}

/* ---- Sections ---- */
.section {
  padding: 80px 0;
}

.section--gray {
  background: var(--off-white);
}

.section--navy {
  background: var(--navy);
  color: var(--white);
}

.section--navy h2,
.section--navy h3,
.section--navy h4 {
  color: var(--white);
}

.section--navy p {
  color: rgba(255,255,255,0.8);
}

.section--red {
  background: var(--red);
  color: var(--white);
}

.section--dark {
  background: var(--black);
  color: var(--white);
}

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}

.section--navy .section-label {
  color: rgba(255,255,255,0.5);
}

.section-header {
  margin-bottom: 48px;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--medium-gray);
  line-height: 1.8;
}

.section--navy .section-header p {
  color: rgba(255,255,255,0.7);
}

/* ---- Angled Divider ---- */
.angled-top {
  position: relative;
}
.angled-top::before {
  content: '';
  position: absolute;
  top: -40px;
  left: 0;
  right: 0;
  height: 40px;
  background: inherit;
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}

/* ---- Service Divisions Grid ---- */
.divisions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.division-card {
  position: relative;
  padding: 40px 32px;
  background: var(--white);
  border-radius: 2px;
  border-left: 4px solid var(--red);
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}

.division-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

.division-card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.division-card h3 {
  margin-bottom: 12px;
  font-size: 1.4rem;
}

.division-card p {
  color: var(--medium-gray);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.division-card .card-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s, color 0.15s;
}

.division-card .card-link:hover {
  gap: 10px;
  color: var(--red-dark);
}

.division-card .card-link::after {
  content: '\2192';
}

/* ---- Why Choose Us ---- */
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.why-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.why-number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  border-radius: 2px;
}

.why-content h4 {
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.why-content p {
  color: var(--medium-gray);
  font-size: 0.9rem;
}

/* ---- Testimonials ---- */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.testimonial-card {
  padding: 36px 32px;
  background: var(--white);
  border-radius: 2px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 16px;
  left: 24px;
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 1;
  color: var(--red);
  opacity: 0.15;
}

.testimonial-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 16px;
  color: var(--red);
  font-size: 0.9rem;
}

.testimonial-text {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--dark-gray);
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--black);
}

.testimonial-source {
  font-size: 0.75rem;
  color: var(--medium-gray);
  margin-top: 2px;
}

/* ---- Locations ---- */
.locations-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.location-card {
  padding: 36px 32px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 2px;
}

.location-card h3 {
  color: var(--white);
  margin-bottom: 16px;
  font-size: 1.3rem;
}

.location-card p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.location-card a {
  color: rgba(255,255,255,0.9);
  transition: color 0.15s;
}

.location-card a:hover {
  color: var(--red-light);
}

/* White variant for light sections */
.locations-grid--light .location-card {
  background: var(--off-white);
  border: 1px solid var(--light-gray);
}

.locations-grid--light .location-card h3 {
  color: var(--navy);
}

.locations-grid--light .location-card p {
  color: var(--dark-gray);
}

.locations-grid--light .location-card a {
  color: var(--red);
}

.locations-grid--light .location-card a:hover {
  color: var(--red-dark);
}

/* ---- Services List (service pages) ---- */
.service-intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.service-intro-img {
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.service-intro-img img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.4s var(--ease-out);
}

.service-intro-img:hover img {
  transform: scale(1.03);
}

.service-intro-text h2 {
  margin-bottom: 16px;
  color: var(--navy);
}

.service-intro-text p {
  color: var(--dark-gray);
  font-size: 1.05rem;
  line-height: 1.8;
}

.services-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.service-item {
  padding: 32px 28px;
  background: var(--white);
  border-radius: 2px;
  border: 1px solid var(--light-gray);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.service-item:hover {
  border-color: var(--red);
  box-shadow: 0 4px 20px rgba(179, 21, 16, 0.08);
  transform: translateY(-2px);
}

.service-item h3 {
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 10px;
}

.service-item p {
  color: var(--dark-gray);
  font-size: 0.92rem;
  margin-bottom: 16px;
}

.service-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.service-points li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--navy);
  padding: 4px 12px;
  background: rgba(0, 57, 94, 0.06);
  border-radius: 20px;
}

.service-points li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--red);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ---- About ---- */
.about-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

.about-text h2 {
  color: var(--navy);
  margin-bottom: 20px;
}

.about-text p {
  color: var(--dark-gray);
  font-size: 1.05rem;
  line-height: 1.9;
  margin-bottom: 16px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.stat-item {
  text-align: center;
  padding: 24px 16px;
  background: var(--off-white);
  border-radius: 2px;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--red);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--medium-gray);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Community Section */
.community-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.community-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(179, 21, 16, 0.08);
  color: var(--red);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 4px;
  margin-bottom: 16px;
}

/* ---- Contact Form ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

.contact-info h3 {
  color: var(--navy);
  margin-bottom: 24px;
}

.contact-detail {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.contact-detail-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  font-size: 0.9rem;
}

.contact-detail-text h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--medium-gray);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.contact-detail-text p,
.contact-detail-text a {
  font-size: 1rem;
  color: var(--dark-gray);
}

.contact-detail-text a:hover {
  color: var(--red);
}

.contact-form {
  background: var(--off-white);
  padding: 40px 32px;
  border-radius: 2px;
}

.contact-form h3 {
  color: var(--navy);
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark-gray);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  border: 1px solid var(--light-gray);
  border-radius: 4px;
  background: var(--white);
  color: var(--black);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(0, 57, 94, 0.1);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-status {
  padding: 14px 20px;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 500;
  margin-top: 16px;
  display: none;
}

.form-status.success {
  display: block;
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #a5d6a7;
}

.form-status.error {
  display: block;
  background: #fce4ec;
  color: #c62828;
  border: 1px solid #ef9a9a;
}

/* ---- CTA Banner ---- */
.cta-banner {
  padding: 64px 0;
  background: var(--red);
  color: var(--white);
  text-align: center;
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.cta-banner p {
  margin: 0 auto 32px;
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
}

.cta-banner .btn-primary {
  background: var(--white);
  color: var(--red);
}

.cta-banner .btn-primary:hover {
  background: var(--off-white);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

/* ---- Footer ---- */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .logo-text {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 320px;
}

.footer-col h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.15s, padding-left 0.2s;
}

.footer-col ul a:hover,
.footer-col ul a:focus-visible {
  color: var(--white);
  padding-left: 4px;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.7);
  border-radius: 50%;
  font-size: 0.85rem;
  transition: background 0.15s, color 0.15s, transform 0.15s;
}

.footer-social a:hover {
  background: var(--red);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

.footer-accreditation {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(255,255,255,0.05);
  border-radius: 4px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}

/* ---- Animations ---- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

@keyframes slideFromLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideFromRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger children */
.stagger-children > *:nth-child(1) { transition-delay: 0s; }
.stagger-children > *:nth-child(2) { transition-delay: 0.08s; }
.stagger-children > *:nth-child(3) { transition-delay: 0.16s; }
.stagger-children > *:nth-child(4) { transition-delay: 0.24s; }
.stagger-children > *:nth-child(5) { transition-delay: 0.32s; }
.stagger-children > *:nth-child(6) { transition-delay: 0.4s; }
.stagger-children > *:nth-child(7) { transition-delay: 0.48s; }
.stagger-children > *:nth-child(8) { transition-delay: 0.56s; }

/* ---- Reduced Motion ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---- Focus Visible ---- */
:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 2px;
}

/* ---- Responsive ---- */

/* Tablet */
@media (min-width: 640px) {
  .divisions-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .locations-grid { grid-template-columns: repeat(2, 1fr); }
  .services-list { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .about-stats { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .service-intro { grid-template-columns: 1fr 1fr; }
}

/* Desktop */
@media (min-width: 960px) {
  .main-nav { display: block; }
  .header-cta { display: inline-flex; }
  .menu-toggle { display: none; }
  .divisions-grid { grid-template-columns: repeat(4, 1fr); }
  .why-grid { grid-template-columns: repeat(3, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
  .services-list { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .section { padding: 100px 0; }
  .hero { min-height: 90vh; padding: 160px 0 100px; }
  .page-hero { padding: 160px 0 80px; }
  .community-section { grid-template-columns: 1fr 1fr; }
}

/* Large Desktop */
@media (min-width: 1200px) {
  .container { padding: 0 40px; }
  .header-inner { padding: 0 40px; }
  .hero { padding: 180px 0 120px; }
}

/* ---- Emergency Banner ---- */
.emergency-strip {
  background: var(--red);
  color: var(--white);
  text-align: center;
  padding: 8px 16px;
  font-size: 0.82rem;
  font-weight: 500;
}

.emergency-strip a {
  color: var(--white);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.emergency-strip a:hover {
  text-decoration-thickness: 2px;
}

/* ---- Breadcrumb ---- */
.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 0.8rem;
  margin-bottom: 16px;
  color: rgba(255,255,255,0.5);
}

.breadcrumb a {
  color: rgba(255,255,255,0.5);
  transition: color 0.15s;
}

.breadcrumb a:hover {
  color: rgba(255,255,255,0.9);
}

.breadcrumb span {
  color: rgba(255,255,255,0.3);
}

/* ---- Service Page Specific ---- */
.service-page-intro {
  padding: 80px 0;
}

.service-page-list {
  padding: 80px 0;
  background: var(--off-white);
}

/* ---- Noise Texture Overlay ---- */
.noise-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
}
