/* ============================================
   Volthouse Electric - Industrial Voltage Theme
   ============================================ */

:root {
  --black: #0D0D0D;
  --dark: #1A1A1A;
  --dark-mid: #252525;
  --gray-dark: #333333;
  --gray: #888888;
  --gray-light: #CCCCCC;
  --off-white: #F5F5F0;
  --white: #FFFFFF;
  --volt: #FFD100;
  --volt-dim: #E6BC00;
  --volt-glow: rgba(255, 209, 0, 0.15);
  --volt-subtle: rgba(255, 209, 0, 0.08);

  --font-display: 'Big Shoulders Display', cursive;
  --font-body: 'Work Sans', sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- 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(--gray-dark);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

/* ---- Skip Link ---- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--volt);
  color: var(--black);
  padding: 0.75rem 1.5rem;
  border-radius: 0 0 4px 4px;
  z-index: 10000;
  font-weight: 700;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* ---- Typography ---- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

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

p { max-width: 70ch; }

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

.section-label::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--volt);
  vertical-align: middle;
  margin-right: 10px;
}

/* ---- Layout ---- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section { padding: 5rem 0; position: relative; }

/* ---- Header / Nav ---- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(13, 13, 13, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 209, 0, 0.1);
  transition: background 0.3s var(--ease-smooth);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

.nav-desktop { display: flex; align-items: center; gap: 2rem; }

.nav-desktop a {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-light);
  transition: color 0.15s;
  position: relative;
}

.nav-desktop a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--volt);
  transition: width 0.25s var(--ease-out);
}

.nav-desktop a:hover,
.nav-desktop a:focus-visible { color: var(--volt); }
.nav-desktop a:hover::after,
.nav-desktop a:focus-visible::after { width: 100%; }
.nav-desktop a.active { color: var(--volt); }
.nav-desktop a.active::after { width: 100%; }

.nav-cta {
  background: var(--volt) !important;
  color: var(--black) !important;
  padding: 0.5rem 1.25rem;
  border-radius: 3px;
  font-weight: 700 !important;
  transition: transform 0.15s, box-shadow 0.15s !important;
}

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

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 209, 0, 0.3);
}
.nav-cta:active { transform: translateY(0); }

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

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

.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Mobile Nav */
.nav-mobile {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--black);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  z-index: 999;
}

.nav-mobile.open { display: flex; }

.nav-mobile a {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  transition: color 0.15s;
}

.nav-mobile a:hover,
.nav-mobile a:focus-visible { color: var(--volt); }

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--black);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.4;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(13, 13, 13, 0.6) 0%,
    rgba(13, 13, 13, 0.3) 40%,
    rgba(13, 13, 13, 0.8) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding-top: 72px;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.5rem;
  animation: fadeSlideUp 0.8s var(--ease-out) both;
}

.hero h1 .volt-text { color: var(--volt); }

.hero p {
  color: var(--gray-light);
  font-size: 1.15rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  animation: fadeSlideUp 0.8s var(--ease-out) 0.15s both;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
  animation: fadeSlideUp 0.8s var(--ease-out) 0.3s both;
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 209, 0, 0.2);
  padding: 0.5rem 1rem;
  border-radius: 3px;
  font-size: 0.85rem;
  color: var(--gray-light);
  font-weight: 500;
}

.hero-badge svg { flex-shrink: 0; }

.hero-cta {
  animation: fadeSlideUp 0.8s var(--ease-out) 0.45s both;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.9rem 2rem;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
  min-height: 44px;
  min-width: 44px;
}

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

.btn-primary {
  background: var(--volt);
  color: var(--black);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 209, 0, 0.35);
}
.btn-primary:active { transform: translateY(0); }

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

.btn-dark {
  background: var(--black);
  color: var(--white);
}
.btn-dark:hover {
  background: var(--dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* ---- Section: About Preview ---- */
.about-preview { background: var(--white); }

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

.about-img {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
}

.about-img img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 4px;
}

.about-img::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--volt);
}

.about-text h2 { margin-bottom: 1.5rem; color: var(--black); }
.about-text p { margin-bottom: 1.5rem; color: var(--gray-dark); }

/* ---- Section: Services Overview ---- */
.services-overview { background: var(--black); }
.services-overview h2 { color: var(--white); margin-bottom: 0.75rem; }
.services-overview .section-intro {
  color: var(--gray-light);
  margin-bottom: 3rem;
  font-size: 1.05rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  position: relative;
  background: var(--dark);
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: transform 0.3s var(--ease-out), border-color 0.3s;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 209, 0, 0.3);
}

.service-card-img {
  aspect-ratio: 16/10;
  overflow: hidden;
}

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

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

.service-card-body { padding: 1.75rem; }

.service-card-body h3 {
  color: var(--white);
  margin-bottom: 0.75rem;
  font-size: 1.4rem;
}

.service-card-body p {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--volt);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: gap 0.2s;
}

.card-link:hover { gap: 0.7rem; }

/* ---- Section: Why Choose Us ---- */
.why-section { background: var(--off-white); }
.why-section h2 { color: var(--black); margin-bottom: 3rem; }

.why-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}

.why-card {
  text-align: center;
  padding: 2rem 1.25rem;
  background: var(--white);
  border-radius: 4px;
  border: 1px solid #E8E8E8;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}

.why-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.why-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--volt-subtle);
  border-radius: 50%;
}

.why-icon svg { width: 28px; height: 28px; color: var(--volt-dim); }

.why-card h4 {
  color: var(--black);
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}

.why-card p {
  color: var(--gray);
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 0 auto;
}

/* ---- Section: Community Service ---- */
.community-section {
  position: relative;
  background: var(--dark);
  overflow: hidden;
}

.community-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.15;
}

.community-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.community-content h2 { color: var(--white); margin-bottom: 1.5rem; }
.community-content p {
  color: var(--gray-light);
  font-size: 1.05rem;
  line-height: 1.8;
}

/* ---- Section: Map ---- */
.map-section { background: var(--black); padding: 3rem 0; }
.map-section h2 { color: var(--white); margin-bottom: 0.5rem; }
.map-section p { color: var(--gray); margin-bottom: 2rem; }

#map, #map-contact {
  width: 100%;
  height: 400px;
  border-radius: 4px;
  border: 1px solid rgba(255, 209, 0, 0.15);
}

/* ---- Section: CTA ---- */
.cta-section {
  background: var(--volt);
  text-align: center;
  padding: 4rem 0;
}

.cta-section h2 { color: var(--black); margin-bottom: 1rem; }
.cta-section p {
  color: var(--gray-dark);
  font-size: 1.1rem;
  margin: 0 auto 2rem;
  max-width: 600px;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ---- About Page ---- */
.page-hero {
  position: relative;
  padding: 10rem 0 4rem;
  background: var(--black);
  overflow: hidden;
}

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

.page-hero h1 {
  color: var(--white);
  position: relative;
  z-index: 2;
}

.page-hero p {
  color: var(--gray-light);
  font-size: 1.1rem;
  margin-top: 1rem;
  position: relative;
  z-index: 2;
}

.about-full { background: var(--white); }

.about-body {
  max-width: 800px;
  margin: 0 auto;
}

.about-body h2 { color: var(--black); margin-bottom: 1.5rem; }

.about-body p {
  color: var(--gray-dark);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  line-height: 1.85;
}

/* Team */
.team-section { background: var(--off-white); }
.team-section h2 { color: var(--black); margin-bottom: 3rem; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.team-card {
  background: var(--white);
  border-radius: 4px;
  padding: 2.5rem;
  border: 1px solid #E8E8E8;
  text-align: center;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}

.team-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.team-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.25rem;
  background: var(--volt-subtle);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--volt);
}

.team-icon svg { width: 36px; height: 36px; color: var(--volt-dim); }

.team-card h3 {
  color: var(--black);
  font-size: 1.4rem;
  margin-bottom: 0.25rem;
}

.team-card .team-title {
  color: var(--volt-dim);
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.team-card p:not(.team-title) {
  color: var(--gray);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* Union */
.union-section {
  background: var(--dark);
  position: relative;
  overflow: hidden;
}

.union-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--volt-glow), transparent 70%);
  opacity: 0.5;
}

.union-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.union-content h2 { color: var(--white); margin-bottom: 1.5rem; }
.union-content p {
  color: var(--gray-light);
  font-size: 1.05rem;
  line-height: 1.85;
  margin-bottom: 1.5rem;
}

.union-benefits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.union-benefit {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--gray-light);
  font-size: 0.95rem;
}

.union-benefit svg { flex-shrink: 0; color: var(--volt); }

/* ---- Services Page ---- */
.service-category {
  padding: 5rem 0;
}

.service-category:nth-child(odd) { background: var(--white); }
.service-category:nth-child(even) { background: var(--off-white); }

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

.category-header.reverse { direction: rtl; }
.category-header.reverse > * { direction: ltr; }

.category-img {
  border-radius: 4px;
  overflow: hidden;
}

.category-img img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: 4px;
}

.category-text h2 { color: var(--black); margin-bottom: 1rem; }
.category-text p { color: var(--gray-dark); font-size: 1.05rem; line-height: 1.8; }

.service-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.service-item {
  background: var(--white);
  border: 1px solid #E8E8E8;
  border-radius: 4px;
  padding: 1.5rem;
  transition: transform 0.2s var(--ease-out), border-color 0.2s;
}

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

.service-item:hover {
  transform: translateY(-2px);
  border-color: var(--volt);
}

.service-item h4 {
  color: var(--black);
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.service-item p {
  color: var(--gray);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* Solar highlight */
.solar-section { background: var(--black) !important; }
.solar-section .category-text h2 { color: var(--white); }
.solar-section .category-text p { color: var(--gray-light); }
.solar-section .service-item {
  background: var(--dark);
  border-color: rgba(255, 255, 255, 0.06);
}
.solar-section .service-item h4 { color: var(--white); }
.solar-section .service-item:hover { border-color: var(--volt); }

/* ---- Contact Page ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info h2 { color: var(--black); margin-bottom: 1rem; }
.contact-info > p { color: var(--gray-dark); margin-bottom: 2rem; font-size: 1.05rem; }

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

.contact-detail-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--volt-subtle);
  border-radius: 50%;
}

.contact-detail-icon svg { width: 20px; height: 20px; color: var(--volt-dim); }

.contact-detail-text h4 {
  color: var(--black);
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

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

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

.social-links { display: flex; gap: 1rem; margin-top: 2rem; }

.social-link {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--volt-subtle);
  border-radius: 50%;
  transition: background 0.2s, transform 0.2s;
}

.social-link:hover {
  background: var(--volt);
  transform: translateY(-2px);
}

.social-link svg { width: 20px; height: 20px; color: var(--gray-dark); }

/* Contact Form */
.contact-form {
  background: var(--off-white);
  padding: 2.5rem;
  border-radius: 4px;
}

.contact-form h3 { color: var(--black); margin-bottom: 1.5rem; }

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

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #D0D0D0;
  border-radius: 3px;
  background: var(--white);
  color: var(--gray-dark);
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--volt);
  box-shadow: 0 0 0 3px var(--volt-glow);
}

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

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

#form-status {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 3px;
  font-size: 0.92rem;
  display: none;
}

#form-status.success {
  display: block;
  background: #D4EDDA;
  color: #155724;
  border: 1px solid #C3E6CB;
}

#form-status.error {
  display: block;
  background: #F8D7DA;
  color: #721C24;
  border: 1px solid #F5C6CB;
}

/* ---- Footer ---- */
.site-footer {
  background: var(--black);
  padding: 4rem 0 0;
  border-top: 3px solid var(--volt);
}

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

.footer-brand .logo { margin-bottom: 1rem; }
.footer-brand p {
  color: var(--gray);
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.35rem 0.75rem;
  border-radius: 3px;
  font-size: 0.75rem;
  color: var(--gray);
  font-weight: 500;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.footer-col a {
  display: block;
  color: var(--gray);
  font-size: 0.88rem;
  padding: 0.3rem 0;
  transition: color 0.15s, padding-left 0.15s;
}

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

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  color: var(--gray);
  font-size: 0.88rem;
}

.footer-contact-item svg { flex-shrink: 0; color: var(--volt); width: 16px; height: 16px; }
.footer-contact-item a { padding: 0; display: inline; }

.footer-bottom {
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--gray);
}

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

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

.reveal {
  opacity: 0;
  transform: translateY(20px);
  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(-30px);
  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(30px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

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

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

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .why-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid .why-card:nth-child(4),
  .why-grid .why-card:nth-child(5) {
    grid-column: span 1;
  }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .service-list { grid-template-columns: repeat(2, 1fr); }
}

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

  .nav-desktop { display: none; }
  .nav-toggle { display: block; }

  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid .why-card:last-child { grid-column: 1 / -1; }
  .team-grid { grid-template-columns: 1fr; max-width: 400px; }
  .category-header { grid-template-columns: 1fr; gap: 1.5rem; }
  .category-header.reverse { direction: ltr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .union-benefits { grid-template-columns: 1fr; }
  .hero { min-height: 90vh; }
  .hero-badges { flex-direction: column; }
  .service-list { grid-template-columns: 1fr; }

  .page-hero { padding: 8rem 0 3rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .why-grid { grid-template-columns: 1fr; }
  .why-grid .why-card:last-child { grid-column: auto; }
  .form-row { grid-template-columns: 1fr; }
  .hero { min-height: 85vh; }
  .contact-form { padding: 1.5rem; }
}

/* ---- 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;
  }
}
