/* ============================================
   CLYDE SERVICES — Premium Construction Site
   Mobile-first, 375px canonical
   ============================================ */

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

:root {
  --red: #E63946;
  --red-dark: #c52d39;
  --red-light: #ff4d5a;
  --black: #111111;
  --dark: #1a1a1a;
  --gray-900: #222222;
  --gray-800: #333333;
  --gray-700: #444444;
  --gray-600: #555555;
  --gray-500: #777777;
  --gray-400: #999999;
  --gray-300: #bbbbbb;
  --gray-200: #dddddd;
  --gray-100: #f2f2f2;
  --white: #ffffff;
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --container: 1200px;
  --gap: 1.5rem;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  -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, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  color: var(--dark);
}

/* --- Container --- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* --- Skip Link --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--red);
  color: var(--white);
  padding: 0.5rem 1rem;
  z-index: 10000;
  border-radius: 0 0 4px 4px;
  font-weight: 600;
}
.skip-link:focus {
  top: 0;
}

/* ============================================
   HEADER / NAV — Mobile First
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(17, 17, 17, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background 0.3s ease;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.875rem 1.25rem;
  max-width: var(--container);
  margin: 0 auto;
}

.nav-logo img {
  height: 40px;
  width: auto;
}

/* Desktop nav hidden on mobile */
.nav-links {
  display: none;
}

.nav-links a {
  color: var(--gray-300);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: color 0.2s;
  padding: 0.5rem 0;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--red);
}

.nav-cta {
  display: none !important;
}

/* Burger toggle — visible on mobile */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu overlay */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(17, 17, 17, 0.98);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}
.mobile-menu.open {
  display: flex;
}
.mobile-menu a {
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.75rem 1rem;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.mobile-menu a:hover,
.mobile-menu a.active {
  color: var(--red);
}
.mobile-menu .menu-phone {
  color: var(--red);
  font-size: 1.125rem;
  font-weight: 700;
  margin-top: 1rem;
  min-height: 44px;
  display: flex;
  align-items: center;
}

/* ============================================
   HERO — Video Background
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--black);
}

.hero-video-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-video-wrap iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 180vw;
  height: 180vh;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  border: 0;
}

.hero-fallback-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: opacity 0.8s ease;
}

.hero-fallback-img.video-playing {
  opacity: 0;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.5) 40%,
    rgba(0, 0, 0, 0.3) 100%
  );
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  padding: 0 1.25rem 3rem;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
}

.hero-tag {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.375rem 0.875rem;
  margin-bottom: 1rem;
}

.hero h1 {
  color: var(--white);
  font-size: 2.25rem;
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 1rem;
  max-width: 600px;
}

.hero h1 span {
  color: var(--red);
}

.hero-sub {
  color: var(--gray-300);
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-start;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.875rem 1.75rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 48px;
  min-width: 44px;
  text-align: center;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
}

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

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

/* ============================================
   SECTIONS — General
   ============================================ */
section {
  padding: 4rem 0;
}

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

.section-heading {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: var(--dark);
}

.section-sub {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.6;
  max-width: 600px;
  margin-bottom: 2rem;
}

/* ============================================
   STATS BAR
   ============================================ */
.stats-bar {
  background: var(--dark);
  padding: 2.5rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  text-align: center;
}

.stat-item {
  padding: 1rem 0;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--red);
  line-height: 1;
  margin-bottom: 0.25rem;
}

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

/* ============================================
   SERVICES OVERVIEW (Home)
   ============================================ */
.services-overview {
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.service-card {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  aspect-ratio: 4/3;
}

.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover img {
  transform: scale(1.05);
}

.service-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
}

.service-card h3 {
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.375rem;
}

.service-card p {
  color: var(--gray-300);
  font-size: 0.875rem;
  line-height: 1.4;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  color: var(--red);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.75rem;
  transition: gap 0.2s;
}
.service-card-link:hover {
  gap: 0.625rem;
}

/* ============================================
   ABOUT SECTION (Home)
   ============================================ */
.about-section {
  background: var(--gray-100);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

.about-image {
  position: relative;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.about-image-accent {
  position: absolute;
  bottom: -1rem;
  left: -1rem;
  width: 80px;
  height: 80px;
  background: var(--red);
  z-index: -1;
}

.about-text h2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.about-text p {
  color: var(--gray-600);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.about-text .highlight {
  color: var(--dark);
  font-weight: 600;
}

/* ============================================
   GALLERY TEASER (Home)
   ============================================ */
.gallery-teaser {
  background: var(--dark);
  padding: 4rem 0;
}

.gallery-teaser .section-label {
  color: var(--red);
}

.gallery-teaser .section-heading {
  color: var(--white);
}

.gallery-teaser .section-sub {
  color: var(--gray-400);
}

.gallery-grid-home {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.gallery-grid-home .gallery-item {
  overflow: hidden;
  aspect-ratio: 1;
}

.gallery-grid-home .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-grid-home .gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-grid-home .gallery-item:first-child {
  grid-column: 1 / -1;
  aspect-ratio: 16/9;
}

/* ============================================
   CTA BAND
   ============================================ */
.cta-band {
  background: var(--red);
  padding: 3.5rem 0;
  text-align: center;
}

.cta-band h2 {
  color: var(--white);
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  margin-bottom: 1.5rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-band .btn {
  background: var(--white);
  color: var(--red);
  font-weight: 700;
}
.cta-band .btn:hover {
  background: var(--gray-100);
  transform: translateY(-1px);
}

.cta-phone {
  display: block;
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 800;
  margin-top: 1rem;
  letter-spacing: 0.02em;
}

/* ============================================
   SERVICE PAGE — Hero Banner
   ============================================ */
.page-hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--black);
  padding-top: 60px;
}

.page-hero img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0.3) 100%
  );
  z-index: 2;
}

.page-hero-content {
  position: relative;
  z-index: 3;
  padding: 2rem 1.25rem 2.5rem;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
}

.page-hero h1 {
  color: var(--white);
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.page-hero p {
  color: var(--gray-300);
  font-size: 1rem;
  max-width: 500px;
}

/* ============================================
   SERVICE PAGE — Content
   ============================================ */
.service-content {
  padding: 3rem 0;
}

.service-intro {
  margin-bottom: 3rem;
}

.service-intro h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--dark);
}

.service-intro p {
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.service-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.feature-item {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--gray-100);
  border-left: 3px solid var(--red);
}

.feature-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--red);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  font-weight: 700;
}

.feature-text h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.375rem;
  color: var(--dark);
}

.feature-text p {
  font-size: 0.9375rem;
  color: var(--gray-600);
  line-height: 1.5;
}

/* Service image grid */
.service-images {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 2rem 0;
}

.service-images img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* ============================================
   GALLERY PAGE
   ============================================ */
.gallery-page {
  padding: 2rem 0 4rem;
}

.gallery-full-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.gallery-full-grid .gallery-item {
  overflow: hidden;
  position: relative;
}

.gallery-full-grid .gallery-item img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-full-grid .gallery-item:hover img {
  transform: scale(1.03);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
  color: var(--white);
  font-size: 0.8125rem;
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.3s;
}

.gallery-full-grid .gallery-item:hover .gallery-caption {
  opacity: 1;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-section {
  padding: 2rem 0 4rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.contact-info h2 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.contact-detail {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.contact-detail-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--red);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  font-weight: 700;
}

.contact-detail-text h3 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.25rem;
}

.contact-detail-text p,
.contact-detail-text a {
  color: var(--gray-600);
  font-size: 0.9375rem;
  line-height: 1.5;
}

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

/* Form */
.contact-form h2 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.375rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid var(--gray-200);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--dark);
  transition: border-color 0.2s;
  min-height: 44px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--red);
}

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

.form-submit {
  width: 100%;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--black);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand img {
  height: 40px;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: var(--gray-500);
  font-size: 0.875rem;
  line-height: 1.6;
  max-width: 320px;
}

.footer-nav h4,
.footer-contact h4 {
  color: var(--white);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-nav a {
  display: block;
  color: var(--gray-500);
  font-size: 0.875rem;
  padding: 0.375rem 0;
  min-height: 44px;
  display: flex;
  align-items: center;
  transition: color 0.2s;
}
.footer-nav a:hover {
  color: var(--red);
}

.footer-contact p,
.footer-contact a {
  display: block;
  color: var(--gray-500);
  font-size: 0.875rem;
  line-height: 1.6;
}
.footer-contact a:hover {
  color: var(--red);
}

.footer-bottom {
  border-top: 1px solid var(--gray-800);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  text-align: center;
}

.footer-bottom p {
  color: var(--gray-600);
  font-size: 0.8125rem;
}

.footer-bottom a {
  color: var(--gray-500);
  font-size: 0.8125rem;
  transition: color 0.2s;
}
.footer-bottom a:hover {
  color: var(--red);
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

/* ============================================
   PRIVACY / TERMS PAGES
   ============================================ */
.legal-content {
  padding: 2rem 0 4rem;
}

.legal-content h2 {
  font-size: 1.5rem;
  margin: 2rem 0 0.75rem;
  color: var(--dark);
}

.legal-content h3 {
  font-size: 1.125rem;
  margin: 1.5rem 0 0.5rem;
}

.legal-content p {
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.legal-content ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.legal-content ul li {
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 0.375rem;
}

/* ============================================
   RESPONSIVE — Tablet (768px)
   ============================================ */
@media (min-width: 768px) {
  .hero h1 {
    font-size: 3rem;
  }

  .hero-sub {
    font-size: 1.125rem;
  }

  .hero-actions {
    flex-direction: row;
  }

  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .service-card {
    aspect-ratio: 3/4;
  }

  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .gallery-grid-home {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.75rem;
  }

  .gallery-grid-home .gallery-item:first-child {
    grid-column: 1 / -1;
    aspect-ratio: 21/9;
  }

  .service-features {
    grid-template-columns: 1fr 1fr;
  }

  .service-images {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-full-grid {
    grid-template-columns: 1fr 1fr;
  }

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

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

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }

  .page-hero h1 {
    font-size: 2.5rem;
  }

  .section-heading {
    font-size: 2rem;
  }
}

/* ============================================
   RESPONSIVE — Desktop (1024px)
   ============================================ */
@media (min-width: 1024px) {
  /* Show desktop nav, hide burger */
  .nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
  }

  .nav-cta {
    display: inline-flex !important;
    margin-left: 1rem;
  }

  .nav-toggle {
    display: none;
  }

  .mobile-menu {
    display: none !important;
  }

  .hero h1 {
    font-size: 3.5rem;
  }

  .hero-content {
    padding-bottom: 5rem;
  }

  .stats-grid {
    gap: 3rem;
  }

  .stat-number {
    font-size: 3rem;
  }

  .about-grid {
    gap: 4rem;
  }

  .about-text h2 {
    font-size: 2rem;
  }

  .gallery-full-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery-full-grid .gallery-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
  }

  .page-hero {
    min-height: 45vh;
  }

  .page-hero h1 {
    font-size: 3rem;
  }

  .section-heading {
    font-size: 2.25rem;
  }

  .cta-band h2 {
    font-size: 2.25rem;
  }
}

/* ============================================
   RESPONSIVE — Large Desktop (1280px+)
   ============================================ */
@media (min-width: 1280px) {
  .hero h1 {
    font-size: 4rem;
  }

  .container {
    padding: 0 2rem;
  }

  .nav-inner {
    padding: 1rem 2rem;
  }
}

/* ============================================
   404 PAGE
   ============================================ */
.page-404 {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1.25rem;
}

.page-404 h1 {
  font-size: 6rem;
  font-weight: 900;
  color: var(--red);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.page-404 p {
  color: var(--gray-600);
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

/* ============================================
   FORM SUCCESS STATE
   ============================================ */
.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
  background: var(--gray-100);
}

.form-success.visible {
  display: block;
}

.form-success h3 {
  font-size: 1.25rem;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.form-success p {
  color: var(--gray-600);
}

/* ============================================
   UTILITY
   ============================================ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.text-red {
  color: var(--red);
}
