/* ============================================
   EMERALD SUNRISE ROOFING — Design System
   Premium Dark Theme with Emerald Accents
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800;900&display=swap');

/* --- CSS Custom Properties --- */
:root {
  /* Colors - Dark Premium Palette */
  --bg-primary: #050a14;
  --bg-secondary: #0a1128;
  --bg-surface: #111d35;
  --bg-card: #132040;
  --bg-card-hover: #1a2d52;

  /* Emerald Accent Colors */
  --emerald-50: #ecfdf5;
  --emerald-100: #d1fae5;
  --emerald-200: #a7f3d0;
  --emerald-300: #6ee7b7;
  --emerald-400: #34d399;
  --emerald-500: #10b981;
  --emerald-600: #059669;
  --emerald-700: #047857;
  --emerald-800: #065f46;
  --emerald-900: #064e3b;

  /* Sunrise Accent */
  --sunrise-400: #fb923c;
  --sunrise-500: #f97316;
  --sunrise-600: #ea580c;

  /* Text Colors */
  --text-primary: #f1f5f9;
  --text-secondary: #cbd5e1;
  --text-muted: #64748b;
  --text-accent: var(--emerald-400);

  /* Borders */
  --border-color: rgba(255, 255, 255, 0.06);
  --border-accent: rgba(16, 185, 129, 0.3);

  /* Glassmorphism */
  --glass-bg: rgba(17, 29, 53, 0.7);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);

  /* Gradients */
  --gradient-emerald: linear-gradient(135deg, var(--emerald-600), var(--emerald-400));
  --gradient-hero: linear-gradient(135deg, #050a14 0%, #0a1128 50%, #0f1d32 100%);
  --gradient-card: linear-gradient(145deg, var(--bg-card), var(--bg-surface));
  --gradient-sunrise: linear-gradient(135deg, var(--emerald-500), var(--sunrise-500));

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 40px rgba(16, 185, 129, 0.15);

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --section-padding: 100px 0;
  --container-max: 1280px;
  --container-padding: 0 24px;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  --transition-spring: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-secondary);
  line-height: 1.7;
  overflow-x: hidden;
}

/* Scrollbar Styling */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--emerald-700); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--emerald-600); }

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

a:hover { color: var(--emerald-300); }

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

ul, ol { list-style: none; }

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

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.01em;
}

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

h4 {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 600;
}

p { margin-bottom: 1rem; }

.text-gradient {
  background: var(--gradient-emerald);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-sunrise {
  background: var(--gradient-sunrise);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--emerald-400);
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 2px;
  background: var(--gradient-emerald);
  border-radius: 2px;
}

.section-title {
  margin-bottom: 20px;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 640px;
  line-height: 1.8;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header .section-desc {
  margin: 0 auto;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-emerald);
  color: #fff;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(16, 185, 129, 0.4);
  color: #fff;
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--border-accent);
}

.btn-secondary:hover {
  background: rgba(16, 185, 129, 0.1);
  border-color: var(--emerald-400);
  color: var(--emerald-300);
}

.btn-sm {
  padding: 10px 22px;
  font-size: 0.9rem;
}

.btn-lg {
  padding: 18px 40px;
  font-size: 1.1rem;
}

/* Button shimmer effect */
.btn-primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 50%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}
.btn-primary:hover::after {
  left: 120%;
}

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition-base);
}

.navbar.scrolled {
  background: rgba(5, 10, 20, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  padding: 10px 0;
  box-shadow: var(--shadow-md);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo-icon {
  width: 44px;
  height: 44px;
  background: var(--gradient-emerald);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #fff;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.nav-logo-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--text-primary);
  line-height: 1.2;
}

.nav-logo-text span {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--emerald-400);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  padding: 8px 18px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--emerald-400);
  background: rgba(16, 185, 129, 0.08);
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 240px;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 12px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-lg);
  z-index: 100;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu a {
  display: block;
  padding: 10px 16px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.nav-dropdown-menu a:hover {
  background: rgba(16, 185, 129, 0.08);
  color: var(--emerald-400);
  padding-left: 22px;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 12px;
}

.btn-call {
  background: rgba(16, 185, 129, 0.08);
  color: var(--emerald-400);
  border: 2px solid var(--border-accent);
}

.btn-call:hover {
  background: var(--gradient-emerald);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

/* Mobile Menu */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border: none;
  background: none;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.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);
}

/* --- Hero Section --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: var(--gradient-hero);
  overflow: hidden;
  padding-top: 80px;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  animation: heroGlow 8s ease-in-out infinite alternate;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  animation: heroGlow 10s ease-in-out infinite alternate-reverse;
}

@keyframes heroGlow {
  0% { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.2) translate(30px, -20px); }
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 750px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--emerald-400);
  margin-bottom: 28px;
  animation: fadeInUp 0.6s ease forwards;
}

.hero-title {
  margin-bottom: 24px;
  animation: fadeInUp 0.6s ease 0.15s forwards;
  opacity: 0;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin-bottom: 36px;
  animation: fadeInUp 0.6s ease 0.3s forwards;
  opacity: 0;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 50px;
  animation: fadeInUp 0.6s ease 0.45s forwards;
  opacity: 0;
}

.hero-stats {
  display: flex;
  gap: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--border-color);
  animation: fadeInUp 0.6s ease 0.6s forwards;
  opacity: 0;
}

.hero-stat h3 {
  font-size: 2.25rem;
  font-weight: 900;
  margin-bottom: 4px;
}

.hero-stat p {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

/* Grid pattern overlay */
.hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 1;
}

/* --- Section --- */
section { padding: var(--section-padding); }

.section-alt { background: var(--bg-secondary); }

/* --- Cards --- */
.card {
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-emerald);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-glow);
}

.card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 56px;
  height: 56px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.15);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  transition: all var(--transition-base);
}

.card:hover .card-icon {
  background: rgba(16, 185, 129, 0.2);
  transform: scale(1.05);
}

.card-title {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.card-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--emerald-400);
  transition: gap var(--transition-base);
}

.card-link:hover {
  gap: 12px;
  color: var(--emerald-300);
}

/* --- Service Cards Grid --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

/* --- Areas Grid --- */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.area-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all var(--transition-base);
  text-decoration: none;
  color: var(--text-secondary);
}

.area-card:hover {
  border-color: var(--border-accent);
  background: var(--bg-card-hover);
  color: var(--emerald-400);
  transform: translateX(4px);
}

.area-card .area-pin {
  font-size: 1.1rem;
  color: var(--emerald-500);
}

.area-card .area-name {
  font-weight: 600;
  font-size: 0.95rem;
}

/* --- Feature List --- */
.feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.feature-item {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}

.feature-item:hover {
  border-color: var(--border-accent);
}

.feature-item .icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: rgba(16, 185, 129, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--emerald-400);
}

.feature-item h4 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.feature-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

/* --- Two Column Layout --- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.two-col-reverse { direction: rtl; }
.two-col-reverse > * { direction: ltr; }

/* --- Comparison Section --- */
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.comparison-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.comparison-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}

.comparison-card.residential::before {
  background: var(--gradient-emerald);
}

.comparison-card.commercial::before {
  background: var(--gradient-sunrise);
}

.comparison-card h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.comparison-card ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.comparison-card li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.comparison-card li::before {
  content: '✓';
  color: var(--emerald-400);
  font-weight: 700;
  min-width: 18px;
}

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

.cta-box {
  background: var(--gradient-card);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-xl);
  padding: 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(16, 185, 129, 0.06) 0%, transparent 60%);
}

.cta-box h2 {
  margin-bottom: 16px;
  position: relative;
}

.cta-box p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto 32px;
  position: relative;
}

.cta-box .btn {
  position: relative;
}

/* --- Info Box / Tips --- */
.info-box {
  background: var(--bg-card);
  border-left: 4px solid var(--emerald-500);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 28px 32px;
  margin-bottom: 24px;
}

.info-box h4 {
  margin-bottom: 10px;
  color: var(--emerald-400);
}

.info-box p {
  color: var(--text-secondary);
  margin: 0;
  font-size: 0.95rem;
}

/* --- FAQ Section --- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-base);
}

.faq-item.active {
  border-color: var(--border-accent);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color var(--transition-fast);
}

.faq-question:hover { color: var(--emerald-400); }

.faq-question .faq-icon {
  font-size: 1.3rem;
  transition: transform var(--transition-base);
  color: var(--emerald-500);
  min-width: 24px;
  text-align: center;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow), padding var(--transition-slow);
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 24px 20px;
}

.faq-answer p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* --- Footer --- */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 80px 0 0;
}

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

.footer-brand p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-top: 16px;
  max-width: 320px;
  line-height: 1.8;
}

.footer h4 {
  font-size: 1rem;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.footer-links a:hover {
  color: var(--emerald-400);
  padding-left: 6px;
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding: 24px 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* --- Breadcrumbs --- */
.breadcrumbs {
  padding: 100px 0 20px;
  background: var(--bg-secondary);
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
}

.breadcrumb-list a {
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.breadcrumb-list a:hover {
  color: var(--emerald-400);
}

.breadcrumb-list .separator {
  color: var(--text-muted);
  font-size: 0.7rem;
}

.breadcrumb-list .current {
  color: var(--emerald-400);
  font-weight: 500;
}

/* --- Page Hero (inner pages) --- */
.page-hero {
  background: var(--gradient-hero);
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.07) 0%, transparent 70%);
  border-radius: 50%;
}

.page-hero .breadcrumb-list {
  margin-bottom: 24px;
}

.page-hero h1 {
  margin-bottom: 16px;
}

.page-hero .page-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 640px;
  line-height: 1.8;
}

/* --- Content Section (for inner pages) --- */
.content-section {
  padding: 80px 0;
}

.content-section h2 {
  margin-bottom: 16px;
  font-size: 1.75rem;
}

.content-section h3 {
  margin-top: 32px;
  margin-bottom: 12px;
  font-size: 1.35rem;
}

.content-section p {
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 16px;
}

.content-section ul {
  margin-bottom: 20px;
}

.content-section li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.content-section li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  background: var(--emerald-500);
  border-radius: 50%;
}

.content-body {
  max-width: 800px;
}

.content-sidebar {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 60px;
}

/* Sidebar */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-widget {
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.sidebar-widget h4 {
  font-size: 1.05rem;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
}

.sidebar-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sidebar-links a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.sidebar-links a:hover,
.sidebar-links a.active {
  background: rgba(16, 185, 129, 0.08);
  color: var(--emerald-400);
  padding-left: 20px;
}

.sidebar-cta {
  text-align: center;
  background: var(--bg-card) !important;
  border-color: var(--border-accent) !important;
}

.sidebar-cta h4 {
  border: none !important;
  padding: 0 !important;
  margin-bottom: 8px !important;
}

.sidebar-cta p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

/* --- Contact Form --- */
.form-group {
  margin-bottom: 20px;
}

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

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--emerald-500);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

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

/* --- Back to Top --- */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: var(--gradient-emerald);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-base);
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.3);
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.4);
}

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

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-delay-1 { transition-delay: 0.1s; }
.animate-delay-2 { transition-delay: 0.2s; }
.animate-delay-3 { transition-delay: 0.3s; }
.animate-delay-4 { transition-delay: 0.4s; }

/* --- Phone Link --- */
.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--emerald-400);
  font-weight: 600;
  font-size: 1.1rem;
}

.phone-link:hover { color: var(--emerald-300); }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .two-col {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .content-sidebar {
    grid-template-columns: 1fr;
  }

  .sidebar {
    order: -1;
  }
}

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

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 360px;
    height: 100vh;
    background: var(--bg-surface);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 32px 32px;
    gap: 4px;
    transition: right var(--transition-base);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
    border-left: 1px solid var(--glass-border);
    overflow-y: auto;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-link {
    width: 100%;
    padding: 12px 16px;
    font-size: 1rem;
  }

  .nav-cta {
    margin-left: 0;
    margin-top: 16px;
    width: 100%;
    flex-direction: column;
    gap: 12px;
  }

  .nav-cta .btn {
    width: 100%;
    justify-content: center;
  }

  .nav-dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: none;
    background: rgba(16, 185, 129, 0.05);
    padding: 4px 0 4px 16px;
    min-width: auto;
    display: none;
  }

  .nav-dropdown.active .nav-dropdown-menu {
    display: block;
  }

  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

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

  .cta-box {
    padding: 40px 24px;
  }

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

  .hero-buttons {
    justify-content: center;
  }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
}

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

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

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

/* --- Mobile Overlay --- */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* --- Utility --- */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0 !important; }
.mt-40 { margin-top: 40px; }
.mt-20 { margin-top: 20px; }

/* --- Floating Call Action Button --- */
.floating-call-btn {
  position: fixed;
  bottom: 32px;
  left: 32px;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #10b981, #059669);
  border-radius: 50%;
  color: #fff;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
  z-index: 999;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  animation: pulse-green 2s infinite;
  text-decoration: none;
}

.floating-call-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(16, 185, 129, 0.6);
  color: #fff;
}

@keyframes pulse-green {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}
