/* ===== LoneSprings Water Systems & Plumbing ===== */
/* Design: "Clean Water Authority" - Bastrop TX */

/* --- Custom Properties --- */
:root {
  --primary: #2B7BB9;
  --primary-dark: #1E5A8A;
  --primary-light: #4A9DD4;
  --primary-pale: #E8F4FD;
  --secondary: #2D8B4E;
  --secondary-dark: #1F6B38;
  --dark: #1C2B3A;
  --dark-lighter: #263A4D;
  --text: #2D3748;
  --text-light: #718096;
  --bg: #F8FAFB;
  --bg-alt: #EDF2F7;
  --white: #FFFFFF;
  --border: #CBD5E0;
  --shadow-sm: 0 1px 3px rgba(28,43,58,0.08);
  --shadow-md: 0 4px 14px rgba(28,43,58,0.1);
  --shadow-lg: 0 12px 40px rgba(28,43,58,0.12);
  --shadow-xl: 0 20px 60px rgba(28,43,58,0.15);
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: 300ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 150ms ease;
  --font-display: 'Merriweather', Georgia, serif;
  --font-body: 'Outfit', system-ui, sans-serif;
  --max-width: 1200px;
}

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

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

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover { color: var(--primary-dark); }
a:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
  border-radius: 2px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--dark);
  line-height: 1.25;
  font-weight: 700;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* --- Skip Link --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 10000;
  padding: 12px 24px;
  background: var(--dark);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-weight: 600;
}
.skip-link:focus {
  top: 16px;
  outline: 3px solid var(--primary);
}

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

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  line-height: 1.2;
  min-height: 48px;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: var(--secondary);
  color: var(--white);
}
.btn-secondary:hover {
  background: var(--secondary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-secondary:active { transform: translateY(0); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--dark);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline-dark:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

/* --- Header --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 12px 24px;
}

.logo-link {
  display: flex;
  align-items: center;
}

.logo-link img {
  height: 48px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-nav a {
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  position: relative;
}

.main-nav a:hover {
  color: var(--primary);
  background: var(--primary-pale);
}

.main-nav a.active {
  color: var(--primary);
  font-weight: 600;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.95rem;
}

.header-phone svg { flex-shrink: 0; }

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--dark);
  min-height: 44px;
  min-width: 44px;
  align-items: center;
  justify-content: center;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  transition: all var(--transition-fast);
  position: relative;
}

.mobile-toggle span::before,
.mobile-toggle span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  transition: all var(--transition-fast);
}
.mobile-toggle span::before { top: -7px; }
.mobile-toggle span::after { top: 7px; }

.mobile-toggle.active span { background: transparent; }
.mobile-toggle.active span::before { top: 0; transform: rotate(45deg); }
.mobile-toggle.active span::after { top: 0; transform: rotate(-45deg); }

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  overflow: hidden;
}

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

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

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(28,43,58,0.92) 0%, rgba(43,123,185,0.78) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  color: var(--white);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 24px;
  backdrop-filter: blur(4px);
  animation: fadeInDown 0.6s both;
}

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

.hero-text {
  font-size: 1.15rem;
  line-height: 1.75;
  opacity: 0.92;
  margin-bottom: 32px;
  animation: fadeInUp 0.6s 0.2s both;
}

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

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.2);
  animation: fadeInUp 0.6s 0.4s both;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0.9;
}

.hero-trust-item svg {
  color: var(--secondary);
  flex-shrink: 0;
}

/* --- Section Shared --- */
.section {
  padding: 96px 0;
}

.section-alt { background: var(--bg); }
.section-dark { background: var(--dark); color: var(--white); }
.section-primary { background: var(--primary); color: var(--white); }

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}

.section-label {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary);
  margin-bottom: 12px;
}

.section-dark .section-label { color: var(--primary-light); }

.section-header h2 { margin-bottom: 16px; }
.section-dark .section-header h2 { color: var(--white); }

.section-header p {
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.75;
}

.section-dark .section-header p { color: rgba(255,255,255,0.75); }

/* --- Services Overview (Index) --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-overview-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border: 1px solid var(--border);
}

.service-overview-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.service-overview-card .card-image {
  height: 200px;
  overflow: hidden;
}

.service-overview-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

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

.service-overview-card .card-body {
  padding: 24px;
}

.service-overview-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.service-overview-card p {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.65;
}

.service-overview-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary);
}

.service-overview-card .card-link:hover { gap: 10px; }

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

.why-item {
  display: flex;
  gap: 20px;
  padding: 28px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.why-item:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.why-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-pale);
  border-radius: var(--radius);
  color: var(--primary);
}

.why-item h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.why-item p {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.65;
}

/* --- Testimonials --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--transition);
  position: relative;
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
  color: #F6AD55;
}

.testimonial-text {
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--text);
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.testimonial-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--dark);
}

.testimonial-source {
  font-size: 0.82rem;
  color: var(--text-light);
  background: var(--bg);
  padding: 4px 12px;
  border-radius: 100px;
}

/* --- Map Section --- */
.map-section { padding: 0; }

.map-content-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
}

.map-info {
  padding: 64px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.map-info h2 { margin-bottom: 16px; }
.map-info p { color: var(--text-light); margin-bottom: 24px; }

.service-area-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.service-area-list li {
  padding: 6px 16px;
  background: var(--primary-pale);
  color: var(--primary-dark);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
}

#map {
  width: 100%;
  min-height: 480px;
}

/* --- CTA Section --- */
.cta-section {
  position: relative;
  padding: 80px 0;
  text-align: center;
  overflow: hidden;
}

.cta-section .cta-bg {
  position: absolute;
  inset: 0;
}

.cta-section .cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-section .cta-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(43,123,185,0.92) 0%, rgba(28,43,58,0.95) 100%);
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
  color: var(--white);
}

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

.cta-content p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 28px;
}

.cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

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

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand img {
  height: 44px;
  margin-bottom: 16px;
  filter: brightness(10);
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
}

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

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,0.6);
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background: var(--primary);
  color: var(--white);
}

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

.footer-col ul { list-style: none; }

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

.footer-col ul a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

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

.footer-contact-item {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.9rem;
}

.footer-contact-item svg {
  flex-shrink: 0;
  color: var(--primary-light);
  margin-top: 2px;
}

.footer-contact-item a {
  color: rgba(255,255,255,0.6);
}

.footer-contact-item a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}

.footer-bottom a { color: rgba(255,255,255,0.4); }
.footer-bottom a:hover { color: var(--white); }

/* --- Services Page --- */
.page-hero {
  padding: 140px 0 72px;
  background: var(--dark);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(43,123,185,0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.page-hero h1 { color: var(--white); margin-bottom: 16px; }
.page-hero p { color: rgba(255,255,255,0.75); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

.service-category {
  padding: 80px 0;
}

.service-category:nth-child(even) { background: var(--bg); }

.category-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 48px;
}

.category-header:nth-child(even) { direction: rtl; }
.category-header:nth-child(even) > * { direction: ltr; }

.category-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.category-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.category-info .section-label { text-align: left; }
.category-info h2 { margin-bottom: 12px; }
.category-info p { color: var(--text-light); }

.services-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

.service-item {
  background: var(--white);
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.service-item:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.service-item h4 {
  color: var(--dark);
  margin-bottom: 10px;
  font-family: var(--font-body);
  font-weight: 700;
}

.service-item p {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.65;
  margin-bottom: 14px;
}

.key-points {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.key-points li {
  font-size: 0.78rem;
  padding: 4px 10px;
  background: var(--primary-pale);
  color: var(--primary-dark);
  border-radius: 100px;
  font-weight: 500;
}

/* --- Water Treatment Page --- */
.wt-hero {
  position: relative;
  padding: 160px 0 96px;
  text-align: center;
  overflow: hidden;
}

.wt-hero .hero-bg::after {
  background: linear-gradient(135deg, rgba(28,43,58,0.88) 0%, rgba(43,123,185,0.82) 100%);
}

.wt-hero h1 { color: var(--white); margin-bottom: 16px; }
.wt-hero p { color: rgba(255,255,255,0.85); max-width: 700px; margin: 0 auto 32px; font-size: 1.15rem; }

.wt-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.wt-intro-text h2 { margin-bottom: 16px; }
.wt-intro-text p { color: var(--text-light); line-height: 1.8; }

.wt-intro-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.wt-intro-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.wt-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.wt-service-card {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--transition);
  text-align: left;
}

.wt-service-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
  transform: translateY(-3px);
}

.wt-service-card .wt-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-pale);
  border-radius: var(--radius);
  color: var(--primary);
  margin-bottom: 20px;
}

.wt-service-card h3 { margin-bottom: 10px; font-size: 1.15rem; }
.wt-service-card p { font-size: 0.92rem; color: var(--text-light); line-height: 1.7; }

/* --- About Page --- */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 56px;
  align-items: center;
}

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
  background: var(--primary-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.about-image img {
  max-height: 200px;
  width: auto;
}

.about-text h2 { margin-bottom: 16px; }

.about-text p {
  color: var(--text-light);
  line-height: 1.85;
  margin-bottom: 16px;
}

.team-card {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  display: flex;
  gap: 24px;
  align-items: center;
  max-width: 600px;
}

.team-card .team-icon {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--primary-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.team-card h3 { margin-bottom: 4px; font-size: 1.15rem; }
.team-card .team-title { font-size: 0.9rem; color: var(--primary); font-weight: 600; margin-bottom: 8px; }
.team-card p { font-size: 0.9rem; color: var(--text-light); }

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

.contact-info-block {
  margin-bottom: 32px;
}

.contact-info-block h3 {
  font-size: 1.1rem;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-info-block h3 svg { color: var(--primary); }

.contact-detail {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.contact-detail a {
  color: var(--text);
  font-weight: 500;
}

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

.contact-form {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.contact-form h3 { margin-bottom: 24px; }

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

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

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  transition: border-color var(--transition-fast);
  background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(43,123,185,0.15);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

#form-status {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  display: none;
}

#form-status.success {
  display: block;
  background: #C6F6D5;
  color: #22543D;
}

#form-status.error {
  display: block;
  background: #FED7D7;
  color: #9B2C2C;
}

/* --- Scroll Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-right {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.stagger-1 { transition-delay: 0.05s; }
.stagger-2 { transition-delay: 0.1s; }
.stagger-3 { transition-delay: 0.15s; }
.stagger-4 { transition-delay: 0.2s; }
.stagger-5 { transition-delay: 0.25s; }
.stagger-6 { transition-delay: 0.3s; }

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

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

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal, .reveal-left, .reveal-right { opacity: 1; transform: none; }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .category-header { grid-template-columns: 1fr; gap: 32px; }
  .category-header:nth-child(even) { direction: ltr; }
  .wt-intro { grid-template-columns: 1fr; }
  .about-intro { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }

  .main-nav {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    flex-direction: column;
    padding: 32px 24px;
    gap: 0;
    overflow-y: auto;
    z-index: 999;
  }

  .main-nav.active { display: flex; }

  .main-nav a {
    padding: 16px 0;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--border);
  }

  .mobile-toggle { display: flex; }
  .header-phone { display: none; }

  .hero { min-height: 100vh; min-height: 100dvh; }
  .hero-trust { gap: 16px; }

  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .map-content-wrap { grid-template-columns: 1fr; }
  .map-info { padding: 48px 24px; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 24px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .team-card { flex-direction: column; text-align: center; }
  .page-hero { padding: 120px 0 56px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-actions { flex-direction: column; }
  .cta-actions { flex-direction: column; align-items: center; }
  .btn { width: 100%; justify-content: center; }
}
