/* =============================================
   Tony's Electrical Services - Precision Power
   Design: Industrial Modern, Dark + Electric Amber
   ============================================= */

/* --- Google Fonts loaded in HTML --- */

:root {
  --primary: #0F172A;
  --primary-light: #1E293B;
  --primary-mid: #334155;
  --accent: #F59E0B;
  --accent-hover: #D97706;
  --accent-light: #FEF3C7;
  --accent-glow: rgba(245, 158, 11, 0.15);
  --secondary: #3B82F6;
  --bg-light: #F8FAFC;
  --bg-alt: #F1F5F9;
  --text-dark: #1E293B;
  --text-body: #475569;
  --text-light: #F1F5F9;
  --text-muted: #94A3B8;
  --border: #E2E8F0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.18);
  --shadow-glow: 0 0 24px rgba(245, 158, 11, 0.2);
  --radius: 6px;
  --radius-lg: 12px;
  --transition: 300ms cubic-bezier(0.16, 1, 0.3, 1);
  --font-display: 'Rajdhani', sans-serif;
  --font-body: 'Nunito Sans', sans-serif;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-body);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color 150ms ease; }
a:hover { color: var(--accent-hover); }
ul, ol { list-style: none; }

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--accent);
  color: var(--primary);
  padding: 8px 16px;
  border-radius: var(--radius);
  font-weight: 700;
  z-index: 9999;
  transition: top 150ms ease;
}
.skip-link:focus { top: 16px; }

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-dark);
}
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); letter-spacing: -0.02em; text-transform: uppercase; }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
p + p { margin-top: 1em; }

.section-label {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 0.5rem;
  display: block;
}
.section-title { margin-bottom: 1rem; }
.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 640px;
  margin-bottom: 2.5rem;
}

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

/* --- Header & Navigation --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(245, 158, 11, 0.1);
  transition: background 300ms ease;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-text {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.1;
}
.logo-text span {
  color: var(--accent);
}
.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--accent);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-icon svg { width: 22px; height: 22px; }

/* Desktop nav */
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  position: relative;
  padding: 4px 0;
  transition: color 150ms ease;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition);
}
.nav-links a:hover,
.nav-links a.active {
  color: #fff;
}
.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}
.nav-cta {
  background: var(--accent) !important;
  color: var(--primary) !important;
  padding: 8px 20px !important;
  border-radius: var(--radius);
  font-weight: 700 !important;
  transition: background 150ms ease, transform 150ms ease !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  background: var(--accent-hover) !important;
  transform: translateY(-1px);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: #fff;
  transition: transform 300ms ease, opacity 300ms ease;
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 14px 32px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all 150ms ease;
  min-height: 48px;
}
.btn:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}
.btn-primary {
  background: var(--accent);
  color: var(--primary);
}
.btn-primary:hover {
  background: var(--accent-hover);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}
.btn-primary:active { transform: translateY(0); }
.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}
.btn-outline:hover {
  background: var(--accent);
  color: var(--primary);
  transform: translateY(-2px);
}
.btn-white {
  background: #fff;
  color: var(--primary);
}
.btn-white:hover {
  background: var(--accent-light);
  color: var(--primary);
  transform: translateY(-2px);
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--primary);
  padding-top: 72px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../img/hero-bg.jpg') center/cover no-repeat;
  opacity: 0.25;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.6) 100%);
}
.hero-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245, 158, 11, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 158, 11, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}
.hero h1 {
  color: #fff;
  margin-bottom: 1.25rem;
}
.hero h1 .highlight {
  color: var(--accent);
}
.hero-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 560px;
  line-height: 1.8;
}
.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 3rem;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.hero-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}
.hero-badge svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
}

/* Accent bar */
.accent-bar {
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--secondary), var(--accent));
  background-size: 200% 100%;
  animation: shimmer 3s ease-in-out infinite;
}
@keyframes shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* --- Trust Bar --- */
.trust-bar {
  background: var(--primary-light);
  padding: 24px 0;
  border-bottom: 1px solid rgba(245, 158, 11, 0.08);
}
.trust-items {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
}
.trust-item svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
  flex-shrink: 0;
}

/* --- Services Overview --- */
.services-overview { background: var(--bg-light); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 2rem;
}
.service-category {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
}
.service-category:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.service-category-img {
  height: 200px;
  overflow: hidden;
}
.service-category-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
}
.service-category:hover .service-category-img img {
  transform: scale(1.05);
}
.service-category-content {
  padding: 28px;
}
.service-category-content h3 {
  font-size: 1.3rem;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.service-category-content ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.service-category-content li {
  font-size: 0.92rem;
  color: var(--text-body);
  padding-left: 20px;
  position: relative;
}
.service-category-content li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 2px;
  background: var(--accent);
}

/* --- Why Choose Us --- */
.why-us {
  background: var(--primary);
  position: relative;
  overflow: hidden;
}
.why-us::before {
  content: '';
  position: absolute;
  top: -60px;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--bg-light);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 0);
}
.why-us .section-label { color: var(--accent); }
.why-us .section-title { color: #fff; }
.why-us .section-subtitle { color: var(--text-muted); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.why-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: background var(--transition), border-color var(--transition);
}
.why-card:hover {
  background: rgba(245, 158, 11, 0.06);
  border-color: rgba(245, 158, 11, 0.2);
}
.why-card-icon {
  width: 48px;
  height: 48px;
  background: rgba(245, 158, 11, 0.12);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.why-card-icon svg {
  width: 24px;
  height: 24px;
  color: var(--accent);
}
.why-card h3 {
  color: #fff;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}
.why-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* --- Testimonials --- */
.testimonials { background: var(--bg-alt); }
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.testimonial-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
}
.testimonial-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.testimonial-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 16px;
}
.testimonial-stars svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  fill: var(--accent);
}
.testimonial-text {
  font-size: 0.95rem;
  color: var(--text-body);
  font-style: italic;
  margin-bottom: 20px;
  line-height: 1.8;
}
.testimonial-author {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.testimonial-name {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-dark);
  font-size: 0.95rem;
}
.testimonial-source {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* --- About --- */
.about { background: #fff; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.about-img img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}
.about-img-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: var(--accent);
  color: var(--primary);
  padding: 10px 20px;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.about-text h2 { margin-bottom: 1.5rem; }
.about-text p {
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
}

/* Credentials */
.credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 2rem;
}
.credential {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-light);
  padding: 10px 16px;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  border: 1px solid var(--border);
}
.credential svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
  flex-shrink: 0;
}

/* --- Map Section --- */
.map-section { background: var(--bg-light); }
.map-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.map-info h2 { margin-bottom: 1rem; }
.map-info p { margin-bottom: 1.5rem; }
.area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 1.5rem;
}
.area-tag {
  background: var(--accent-light);
  color: var(--accent-hover);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 700;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
#map {
  height: 400px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  z-index: 1;
}

/* --- CTA Section --- */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245, 158, 11, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 158, 11, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}
.cta-section h2 { color: #fff; margin-bottom: 1rem; }
.cta-section p { color: var(--text-muted); margin-bottom: 2rem; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-phones {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 1.5rem;
}
.cta-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
}
.cta-phone:hover { color: var(--accent); }
.cta-phone svg {
  width: 18px;
  height: 18px;
}

/* --- Footer --- */
.site-footer {
  background: var(--primary);
  color: var(--text-muted);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-brand .logo-text {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  display: inline-block;
}
.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  max-width: 300px;
}
.footer-social {
  display: flex;
  gap: 12px;
}
.footer-social a {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 150ms ease;
}
.footer-social a:hover { background: var(--accent); }
.footer-social svg {
  width: 18px;
  height: 18px;
  color: var(--text-muted);
}
.footer-social a:hover svg { color: var(--primary); }
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color 150ms ease;
}
.footer-col a:hover { color: var(--accent); }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
}
.footer-contact-item svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 3px;
}
.footer-bottom {
  padding: 24px 0;
  text-align: center;
  font-size: 0.82rem;
}

/* --- Contact Page --- */
.contact-hero {
  background: var(--primary);
  padding: 140px 0 80px;
  text-align: center;
}
.contact-hero h1 { color: #fff; }
.contact-hero p { color: var(--text-muted); margin-top: 0.75rem; }
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-form-wrap {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-dark);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--bg-light);
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-submit {
  width: 100%;
  margin-top: 8px;
}
#form-status {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 0.92rem;
  font-weight: 600;
  display: none;
}
#form-status.success {
  display: block;
  background: #DCFCE7;
  color: #166534;
  border: 1px solid #BBF7D0;
}
#form-status.error {
  display: block;
  background: #FEE2E2;
  color: #991B1B;
  border: 1px solid #FECACA;
}
.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-info-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.contact-info-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-info-icon svg {
  width: 20px;
  height: 20px;
  color: var(--accent-hover);
}
.contact-info-card h3 {
  font-size: 1rem;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.contact-info-card p {
  font-size: 0.9rem;
  color: var(--text-body);
}
.contact-info-card a {
  color: var(--accent);
  font-weight: 600;
}

/* --- Services Page --- */
.page-hero {
  background: var(--primary);
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245, 158, 11, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 158, 11, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.page-hero h1 { color: #fff; position: relative; z-index: 2; }
.page-hero p { color: var(--text-muted); margin-top: 0.75rem; position: relative; z-index: 2; max-width: 640px; }

.services-page-section { background: var(--bg-light); }
.service-group {
  margin-bottom: 60px;
}
.service-group:last-child { margin-bottom: 0; }
.service-group-title {
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--accent);
  display: inline-block;
}
.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}
.service-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}
.service-card h3 {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
  color: var(--text-dark);
}
.service-card p {
  font-size: 0.9rem;
  color: var(--text-body);
  margin-bottom: 16px;
  line-height: 1.7;
}
.service-card-points {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.service-card-points li {
  font-size: 0.85rem;
  color: var(--text-body);
  padding-left: 18px;
  position: relative;
}
.service-card-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

/* Services with images */
.service-card-featured {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 0;
  padding: 0;
  overflow: hidden;
}
.service-card-featured .service-card-img {
  height: 100%;
  min-height: 200px;
}
.service-card-featured .service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service-card-featured .service-card-body {
  padding: 28px;
}

/* --- Service Area Page --- */
.sa-hero-img {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 40px;
  max-height: 400px;
}
.sa-hero-img img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}
.sa-hero-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,23,42,0.7) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 40px;
}
.sa-hero-img-overlay h2 {
  color: #fff;
  font-size: 2rem;
}
.area-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin: 2rem 0;
}
.area-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform var(--transition), border-color var(--transition);
}
.area-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
}
.area-card h3 {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.area-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* --- Scroll Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 600ms cubic-bezier(0.16, 1, 0.3, 1), transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.from-left {
  transform: translateX(-30px);
}
.reveal.from-right {
  transform: translateX(30px);
}
.reveal.scale-up {
  transform: scale(0.95);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}

/* Stagger children */
.stagger-children .reveal:nth-child(1) { transition-delay: 0ms; }
.stagger-children .reveal:nth-child(2) { transition-delay: 80ms; }
.stagger-children .reveal:nth-child(3) { transition-delay: 160ms; }
.stagger-children .reveal:nth-child(4) { transition-delay: 240ms; }
.stagger-children .reveal:nth-child(5) { transition-delay: 320ms; }
.stagger-children .reveal:nth-child(6) { transition-delay: 400ms; }

/* Hero animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.hero-content h1 { animation: fadeInUp 600ms cubic-bezier(0.16, 1, 0.3, 1) both; }
.hero-content .hero-sub { animation: fadeInUp 600ms cubic-bezier(0.16, 1, 0.3, 1) 100ms both; }
.hero-content .hero-btns { animation: fadeInUp 600ms cubic-bezier(0.16, 1, 0.3, 1) 200ms both; }
.hero-content .hero-badges { animation: fadeIn 600ms ease 400ms both; }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .about-grid { gap: 40px; }
  .service-card-featured { grid-template-columns: 1fr; }
  .service-card-featured .service-card-img { min-height: 180px; }
}

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

  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    background: var(--primary);
    padding: 40px 20px;
    gap: 24px;
    transform: translateX(100%);
    transition: transform 300ms ease;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 1.1rem; color: var(--text-light); }

  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .map-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }

  .hero { min-height: auto; padding: 120px 0 80px; }
  .hero-badges { flex-direction: column; gap: 12px; }

  .trust-items { gap: 16px; justify-content: flex-start; }

  #map { height: 300px; }

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

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { width: 100%; justify-content: center; }
  .area-grid { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 24px; }
  .trust-items { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* --- Prefers 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 { opacity: 1; transform: none; }
}
