/* ============================================
   Xtreme Building Maintenance - Main Styles
   Commercial Cleaning & Building Maintenance
   ============================================ */

:root {
  --color-primary: #2563eb;
  --color-primary-dark: #1d4ed8;
  --color-charcoal: #1e293b;
  --color-charcoal-light: #334155;
  --color-charcoal-dark: #0f172a;
  --color-white: #ffffff;
  --color-gray-100: #f8fafc;
  --color-gray-200: #e2e8f0;
  --color-gray-300: #cbd5e1;
  --color-gray-400: #94a3b8;
  --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'DM Sans', sans-serif;
  --transition: 0.3s ease;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --radius: 8px;
  --radius-lg: 12px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-charcoal);
  background: var(--color-white);
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition), opacity var(--transition);
}

ul {
  list-style: none;
}

/* ============================================
   Typography
   ============================================ */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

/* ============================================
   Layout
   ============================================ */

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

.section {
  padding: 5rem 0;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
  padding: 0.35rem 0.75rem;
  background: rgba(37, 99, 235, 0.1);
  border-radius: 50px;
}

/* ============================================
   Header & Navigation
   ============================================ */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition);
}

.header.scrolled {
  background: var(--color-white);
  box-shadow: var(--shadow-md);
}

.header.scrolled .nav-link {
  color: var(--color-charcoal);
}

.header.scrolled .header-phone {
  color: var(--color-charcoal);
}

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

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-icon {
  height: 2rem;
  width: auto;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.logo-icon-footer {
  height: 2.25rem;
}

.logo-accent {
  color: var(--color-primary);
}

.logo-text {
  color: var(--color-white);
}

.header.scrolled .logo-text {
  color: var(--color-charcoal);
}

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

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

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-white);
}

.nav-link:hover {
  color: var(--color-primary);
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--color-white);
}

.header-phone svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--font-sans);
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

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

.btn-primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

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

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

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

.btn-outline-dark:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
}

.menu-toggle svg {
  width: 24px;
  height: 24px;
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-charcoal-dark) 0%, var(--color-charcoal) 100%);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1497366216548-37526070297c?w=1920&q=80');
  background-size: cover;
  background-position: center;
  opacity: 0.4;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.92) 0%, rgba(30, 41, 59, 0.88) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 8rem 1.5rem 6rem;
  text-align: center;
}

.hero-logo {
  display: block;
  margin: 0 auto 1.5rem;
  max-width: 200px;
}

.hero-logo img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-tagline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1rem;
}

.hero-tagline-dot {
  width: 6px;
  height: 6px;
  background: var(--color-primary);
  border-radius: 50%;
}

.hero-title {
  color: var(--color-white);
  margin-bottom: 1.5rem;
}

.hero-title .highlight {
  color: var(--color-primary);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 4rem;
}

/* Hero Stats */
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-stat {
  text-align: center;
}

.hero-stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-white);
  display: block;
  margin-bottom: 0.25rem;
}

.hero-stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.header-phone-prominent {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
}

.header-phone-prominent .header-phone-label {
  font-weight: 700;
  white-space: nowrap;
}

.header-phone-prominent .header-phone-number {
  font-weight: 700;
  white-space: nowrap;
}

/* Intro block */
.intro-block {
  background: var(--color-gray-100);
}

.container-narrow {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.intro-block-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--color-charcoal);
  margin-bottom: 1rem;
  text-align: center;
}

.intro-block-lead,
.intro-block-sub,
.intro-block-close {
  color: var(--color-charcoal-light);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.intro-block-list {
  margin: 1rem 0 1.5rem 1.5rem;
  color: var(--color-charcoal-light);
}

.intro-block-list li {
  margin-bottom: 0.5rem;
}

.intro-block-tagline {
  font-weight: 600;
  color: var(--color-primary);
  text-align: center;
  margin-top: 1.5rem;
}

/* Area cards as links */
.area-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.area-card-link:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--color-primary);
}

.areas-cta {
  text-align: center;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.areas-cta h3 {
  color: var(--color-white);
  margin-bottom: 0.5rem;
}

.areas-cta p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1rem;
}

/* CTA checkmarks */
.cta-checkmarks {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.95rem;
}

.cta-call {
  margin-top: 1rem;
}

.cta-call a {
  color: var(--color-white);
  font-weight: 700;
  text-decoration: underline;
}

.cta-call a:hover {
  opacity: 0.9;
}

/* Service card with image */
.service-card-link {
  text-decoration: none;
  color: inherit;
}

.service-card-image {
  width: 100%;
  height: 160px;
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  margin: -2rem -2rem 1rem -2rem;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-phone-link {
  font-weight: 700;
  font-size: 1.1rem;
}

.contact-detail-phone .contact-detail-content strong {
  display: block;
  margin-bottom: 0.25rem;
}

.quote-checkmarks {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.quote-checkmarks li {
  margin-bottom: 0.35rem;
  color: var(--color-charcoal-light);
}

/* ============================================
   About Section
   ============================================ */

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

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

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

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

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

.about-content p {
  color: var(--color-charcoal-light);
  margin-bottom: 1.5rem;
}

.about-list {
  margin: 2rem 0;
}

.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--color-charcoal-light);
}

.about-list li svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--color-primary);
  margin-top: 0.2rem;
}

/* ============================================
   Services Section
   ============================================ */

.services {
  background: var(--color-gray-100);
}

.services-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 3rem;
}

.services-header h2 {
  color: var(--color-charcoal);
  margin-bottom: 1rem;
}

.services-header p {
  color: var(--color-charcoal-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--color-white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.service-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-gray-100);
  border-radius: var(--radius);
  color: var(--color-primary);
  margin-bottom: 1.25rem;
}

.service-icon svg {
  width: 28px;
  height: 28px;
}

.service-card h3 {
  color: var(--color-charcoal);
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--color-charcoal-light);
  font-size: 0.95rem;
}

/* ============================================
   Areas We Clean
   ============================================ */

.areas {
  background: var(--color-charcoal-dark);
  color: var(--color-white);
}

.areas-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 3rem;
}

.areas-header .section-label {
  background: rgba(37, 99, 235, 0.2);
  color: rgba(255, 255, 255, 0.9);
}

.areas-header h2 {
  color: var(--color-white);
  margin-bottom: 1rem;
}

.areas-header p {
  color: rgba(255, 255, 255, 0.8);
}

.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
}

.area-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: var(--radius-lg);
  text-align: center;
  transition: background var(--transition), border-color var(--transition);
}

.area-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(37, 99, 235, 0.5);
}

.area-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  color: var(--color-primary);
}

.area-icon svg {
  width: 100%;
  height: 100%;
}

.area-card span {
  font-weight: 600;
  color: var(--color-white);
}

/* ============================================
   Why Choose Us
   ============================================ */

.why-choose {
  background: var(--color-white);
}

.why-choose-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.why-choose-content h2 {
  color: var(--color-charcoal);
  margin-bottom: 1rem;
}

.why-choose-content>p {
  color: var(--color-charcoal-light);
  margin-bottom: 2rem;
}

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

.why-choose-image img {
  width: 100%;
  height: 450px;
  object-fit: cover;
}

.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.benefit-card {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius);
  transition: border-color var(--transition), box-shadow var(--transition);
}

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

.benefit-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(37, 99, 235, 0.1);
  border-radius: var(--radius);
  color: var(--color-primary);
}

.benefit-icon svg {
  width: 22px;
  height: 22px;
}

.benefit-card h4 {
  color: var(--color-charcoal);
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.benefit-card p {
  font-size: 0.9rem;
  color: var(--color-charcoal-light);
}

/* ============================================
   CTA Section
   ============================================ */

.cta-section {
  position: relative;
  padding: 6rem 0;
  background-image: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?w=1920&q=80');
  background-size: cover;
  background-position: center;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 41, 59, 0.85) 100%);
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

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

.cta-content p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

/* ============================================
   Contact Section
   ============================================ */

.contact {
  background: var(--color-gray-100);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h2 {
  color: var(--color-charcoal);
  margin-bottom: 1.5rem;
}

.contact-info>p {
  color: var(--color-charcoal-light);
  margin-bottom: 2rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

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

.contact-detail-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-white);
  border-radius: var(--radius);
  color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}

.contact-detail-icon svg {
  width: 20px;
  height: 20px;
}

.contact-detail-content strong {
  display: block;
  color: var(--color-charcoal);
  margin-bottom: 0.25rem;
}

.contact-detail-content span,
.contact-detail-content a {
  color: var(--color-charcoal-light);
}

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

/* Contact Form */
.contact-form-wrapper {
  background: var(--color-white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

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

.form-feedback {
  margin: -0.5rem 0 1.25rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  line-height: 1.45;
}

.form-feedback[hidden] {
  display: none !important;
}

.form-feedback.form-feedback--success {
  background: #e8f5e9;
  color: #1b5e20;
}

.form-feedback.form-feedback--error {
  background: #ffebee;
  color: #b71c1c;
}

.contact-form-wrapper .btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

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

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

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  display: block;
  font-weight: 500;
  color: var(--color-charcoal);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-family: var(--font-sans);
  border: 1px solid var(--color-gray-300);
  border-radius: var(--radius);
  transition: border-color var(--transition);
}

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

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

/* ============================================
   Footer
   ============================================ */

.footer {
  background: var(--color-charcoal-dark);
  color: var(--color-white);
  padding: 4rem 0 2rem;
}

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

.footer-brand .logo-text {
  color: var(--color-white);
}

.footer-brand .logo {
  display: inline-flex;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  margin: 1rem 0;
  line-height: 1.6;
}

.footer-brand ul li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

.footer-brand ul li a {
  color: rgba(255, 255, 255, 0.8);
}

.footer-brand ul li a:hover {
  color: var(--color-primary);
}

.footer-brand ul li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #22c55e;
  border-radius: 50%;
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  color: var(--color-white);
}

.footer-col ul li {
  margin-bottom: 0.75rem;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

.footer-col a:hover {
  color: var(--color-primary);
}

.footer-col .contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

.footer-col .contact-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

/* ============================================
   Page Hero (for inner pages)
   ============================================ */

.page-hero {
  background: linear-gradient(135deg, var(--color-charcoal-dark) 0%, var(--color-charcoal) 100%);
  padding: 10rem 0 6rem;
  text-align: center;
}

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

.page-hero p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
}

.page-hero--compact {
  padding: 7rem 0 3.5rem;
}

/* Service detail (inner landing pages) */
.service-detail {
  background: var(--color-gray-100);
  padding: 4rem 0 5rem;
}

.service-detail-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

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

.service-detail-image img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.service-detail-content h2 {
  color: var(--color-charcoal);
  margin-bottom: 1rem;
}

.service-detail-lead {
  color: var(--color-charcoal-light);
  margin-bottom: 1rem;
  font-size: 1.05rem;
  line-height: 1.65;
}

.service-detail-list {
  margin: 1.25rem 0 1.75rem;
}

.service-detail-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
  color: var(--color-charcoal-light);
  font-size: 0.95rem;
}

.service-detail-list li svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--color-primary);
  margin-top: 0.15rem;
}

.service-detail-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 1024px) {

  .about-inner,
  .why-choose-inner,
  .contact-inner,
  .service-detail-inner {
    grid-template-columns: 1fr;
  }

  .service-detail-image {
    order: -1;
  }

  .about-image,
  .why-choose-image {
    order: -1;
  }

  .why-choose-inner {
    gap: 2rem;
  }

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

@media (max-width: 768px) {
  .header-inner {
    flex-wrap: wrap;
  }

  .nav {
    order: 3;
    width: 100%;
    flex-direction: column;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .nav.active {
    max-height: 400px;
    padding-top: 1rem;
    border-top: 1px solid var(--color-gray-200);
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 1rem;
  }

  .nav-links .nav-link {
    color: var(--color-charcoal);
  }

  .header-phone {
    color: var(--color-charcoal);
    margin-bottom: 1rem;
  }

  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .header.scrolled .nav-links .nav-link,
  .header.scrolled .header-phone {
    color: var(--color-charcoal);
  }

  .hero-stats {
    gap: 2rem;
  }

  .hero-stat-number {
    font-size: 1.5rem;
  }

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

  .areas-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand ul {
    display: flex;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .areas-grid {
    grid-template-columns: 1fr;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
  }
}