/* ==========================================================================
   IRAS AS - Modern Web Design System & Stylesheet
   Designed for Fullstack Learning & High-Converting Web Presentation
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Custom Properties / Design Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand Palette (Ukrainian Blue & Sunburst Gold + Nordic Sapphire) */
  --primary-navy: #0B2B4C;        /* Deep Royal Sapphire / Navy */
  --primary-navy-dark: #071C33;   /* Rich Dark Background Accent */
  --primary-blue: #0066CC;        /* Vibrant Blue Accent */
  --accent-gold: #E6B422;        /* Warm Sunburst Gold */
  --accent-gold-hover: #D4A216;  /* Sunburst Gold Hover */
  --accent-gold-light: #FFF8E7;  /* Soft Warm Gold Tint */
  --accent-cyan: #00A8E8;        /* Clean Water Sparkle Cyan */
  
  /* Neutral Colors */
  --bg-light: #F8FAFC;           /* Crisp Muted Light Gray */
  --bg-white: #FFFFFF;           /* Pure White */
  --text-dark: #0F172A;          /* Charcoal Black */
  --text-muted: #475569;         /* Slate Muted Text */
  --text-light: #94A3B8;         /* Light Gray Text */
  --border-color: #E2E8F0;       /* Card Border Tint */
  
  /* Layout & Elevations */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 2px 8px rgba(11, 43, 76, 0.06);
  --shadow-md: 0 8px 24px rgba(11, 43, 76, 0.1);
  --shadow-lg: 0 16px 40px rgba(11, 43, 76, 0.15);
  --shadow-gold: 0 8px 25px rgba(230, 180, 34, 0.35);

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --------------------------------------------------------------------------
   2. Reset & Global Typography
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-light);
  font-size: 16px;
  line-height: 1.6;
}

body {
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

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

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Section Common Styling */
.section {
  padding: 96px 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-navy);
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 48px auto;
}

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

/* Accent Badge Pill */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background-color: var(--accent-gold-light);
  border: 1px solid rgba(230, 180, 34, 0.3);
  color: var(--primary-navy);
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
}

.badge-pill svg {
  color: var(--accent-gold);
}

/* --------------------------------------------------------------------------
   3. Header Navigation (Glassmorphism Sticky)
   -------------------------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transition: var(--transition-normal);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

/* Brand Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;              /* space between icon and "IRAS AS" text */
  text-decoration: none;
}
 
.logo-icon {
  height: 54px;            /* roughly matches the combined height of the two text lines */
  width: auto;             /* keeps the droplet's proportions correct */
  display: block;
  flex-shrink: 0;          /* keeps the icon from getting squeezed on small screens */
}
 
/* Optional: if the header ever gets shorter on mobile/scroll, scale the icon down with it */
@media (max-width: 640px) {
  .logo-icon {
    height: 42px;
  }
}
 

.logo-text-group {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-title {
  font-weight: 800;
  font-family: 'Outfit', sans-serif; /* keep this only if that's the font you're already using for it */
}

.logo-subtitle {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--accent-gold);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 2px;
}

/* Navigation Links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: color var(--transition-fast);
  position: relative;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gold);
  transition: width var(--transition-fast);
}

.nav-link:hover::after {
  width: 100%;
}

/* Action Controls (Lang Switcher & CTA) */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Language Toggle Switch */
.lang-switch {
  display: flex;
  align-items: center;
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  padding: 4px;
  gap: 4px;
}

.lang-btn {
  padding: 4px 12px;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.lang-btn.active {
  background-color: var(--primary-navy);
  color: var(--bg-white);
  box-shadow: var(--shadow-sm);
}

/* Primary CTA Button */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  background: linear-gradient(135deg, var(--accent-gold) 0%, #D4A216 100%);
  color: var(--primary-navy-dark);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-gold);
  transition: all var(--transition-fast);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(230, 180, 34, 0.45);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--primary-navy);
  color: var(--bg-white);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.btn-secondary:hover {
  background: var(--primary-blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  background: transparent;
  border: 2px solid var(--primary-navy);
  color: var(--primary-navy);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

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

/* Mobile Nav Hamburger Toggle */
.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--primary-navy);
}

/* --------------------------------------------------------------------------
   4. Hero Section
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding: 80px 0 100px 0;
  background: linear-gradient(180deg, #FFFFFF 0%, #F1F5F9 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(230, 180, 34, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

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

.hero-title {
  font-size: 3.25rem;
  font-weight: 800;
  color: var(--primary-navy);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero-title span.highlight-gold {
  color: var(--accent-gold);
  background: linear-gradient(120deg, #D4A216 0%, #F5B041 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

/* Key Metrics Stats Ribbon */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary-navy);
  line-height: 1.2;
}

.stat-number span {
  color: var(--accent-gold);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 4px;
}

/* Hero Visual Canvas */
.hero-visual {
  position: relative;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--bg-white);
}

.hero-image-wrapper img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.hero-image-wrapper:hover img {
  transform: scale(1.03);
}

/* Floating Glass Trust Card */
.glass-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(11, 43, 76, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--bg-white);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-md);
  max-width: 320px;
}

.glass-badge-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-gold);
  color: var(--primary-navy-dark);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.glass-badge-text h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.glass-badge-text p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
}

/* --------------------------------------------------------------------------
   5. Commercial Enterprise Banner (4,000 m² Feature)
   -------------------------------------------------------------------------- */
.enterprise-banner {
  background: linear-gradient(135deg, var(--primary-navy) 0%, #071C33 100%);
  color: var(--bg-white);
  padding: 80px 0;
  position: relative;
}

.enterprise-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.enterprise-img-box {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.enterprise-img-box img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.enterprise-tag {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(230, 180, 34, 0.2);
  border: 1px solid var(--accent-gold);
  color: var(--accent-gold);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.enterprise-content h2 {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

.enterprise-content h2 span {
  color: var(--accent-gold);
}

.enterprise-content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  margin-bottom: 28px;
  line-height: 1.7;
}

.enterprise-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.ent-feature-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.ent-feature-card svg {
  color: var(--accent-gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.ent-feature-card h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.ent-feature-card p {
  font-size: 0.825rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
   6. Interactive Quote & Estimator Widget
   -------------------------------------------------------------------------- */
.calculator-section {
  background-color: var(--bg-white);
  box-shadow: var(--shadow-sm);
}

.calc-box {
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.calc-type-toggle {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 36px;
}

.calc-type-btn {
  padding: 12px 32px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  border: 2px solid var(--border-color);
  background: var(--bg-white);
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.calc-type-btn.active {
  background: var(--primary-navy);
  border-color: var(--primary-navy);
  color: var(--bg-white);
  box-shadow: var(--shadow-sm);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.calc-controls {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.control-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.control-label {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary-navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.control-label span.value-badge {
  color: var(--primary-blue);
  font-size: 1.1rem;
  font-weight: 800;
}

/* Range Slider Styling */
.range-slider {
  width: 100%;
  height: 8px;
  background: #CBD5E1;
  border-radius: 4px;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent-gold);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast);
}

.range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

/* Frequency Options Pills */
.freq-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.freq-btn {
  padding: 10px 8px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid var(--border-color);
  background: var(--bg-white);
  border-radius: var(--radius-sm);
  color: var(--text-dark);
  text-align: center;
  transition: all var(--transition-fast);
}

.freq-btn.active {
  background: var(--accent-gold-light);
  border-color: var(--accent-gold);
  color: var(--primary-navy);
  font-weight: 700;
}

/* Add-ons Checkboxes */
.addon-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.checkbox-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 500;
  transition: var(--transition-fast);
}

.checkbox-card:hover {
  border-color: var(--primary-blue);
}

.checkbox-card input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary-blue);
  cursor: pointer;
}

/* Summary Card Output */
.calc-summary {
  background: var(--primary-navy);
  color: var(--bg-white);
  padding: 32px;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.summary-header h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--bg-white);
}

.summary-header p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
}

.price-display {
  margin: 24px 0;
}

.price-amount {
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent-gold);
  line-height: 1;
}

.price-unit {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 6px;
}

.summary-features {
  list-style: none;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.summary-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
}

.summary-features svg {
  color: var(--accent-gold);
}

/* --------------------------------------------------------------------------
   7. Services Grid Section
   -------------------------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.service-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(230, 180, 34, 0.4);
}

.service-icon-box {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: var(--accent-gold-light);
  color: var(--primary-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 12px;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--bg-light);
}

.service-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--text-dark);
}

.service-list svg {
  color: var(--accent-gold);
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   8. Social Impact Section (Ukrainian Refugee Integration)
   -------------------------------------------------------------------------- */
.impact-section {
  background-color: var(--bg-white);
  position: relative;
}

.impact-card-box {
  background: linear-gradient(120deg, #0B2B4C 0%, #0F3B66 100%);
  border-radius: var(--radius-lg);
  padding: 64px;
  color: var(--bg-white);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.impact-card-box::after {
  content: '';
  position: absolute;
  bottom: -50px;
  right: -50px;
  width: 250px;
  height: 250px;
  background: var(--accent-gold);
  opacity: 0.1;
  border-radius: 50%;
}

.impact-content h2 {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
}

.impact-content h2 span {
  color: var(--accent-gold);
}

.impact-content p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  margin-bottom: 28px;
}

.impact-points {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.impact-point-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.impact-point-icon {
  width: 32px;
  height: 32px;
  background: var(--accent-gold);
  color: var(--primary-navy-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: bold;
}

.impact-point-text h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--bg-white);
}

.impact-point-text p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0;
}

/* Flag & Heart Visual Badge */
.impact-badge-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 40px;
  text-align: center;
}

.flag-strip {
  display: flex;
  height: 8px;
  width: 80px;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 20px;
}

.flag-blue {
  width: 50%;
  background: #0057B7;
}

.flag-yellow {
  width: 50%;
  background: #FFD700;
}

.impact-badge-display h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.impact-badge-display p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   9. Service Area Checker Section
   -------------------------------------------------------------------------- */
.coverage-box {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-sm);
}

.coverage-search-bar {
  display: flex;
  max-width: 600px;
  margin: 0 auto 40px auto;
  gap: 12px;
}

.coverage-input {
  flex-grow: 1;
  padding: 14px 20px;
  font-size: 1rem;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-full);
  outline: none;
  transition: border-color var(--transition-fast);
}

.coverage-input:focus {
  border-color: var(--primary-blue);
}

.area-tags-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.area-tag {
  padding: 8px 18px;
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-navy);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-fast);
}

.area-tag.active {
  background: var(--primary-navy);
  color: var(--bg-white);
  border-color: var(--primary-navy);
}

.area-tag.active svg {
  color: var(--accent-gold);
}

/* --------------------------------------------------------------------------
   10. FAQ Accordion Section
   -------------------------------------------------------------------------- */
.faq-grid {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

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

.faq-question {
  width: 100%;
  padding: 20px 24px;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-icon {
  transition: transform var(--transition-fast);
  color: var(--accent-gold);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease;
  padding: 0 24px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

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

/* --------------------------------------------------------------------------
   11. Modal Window (Befaring / Quote Form)
   -------------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(7, 28, 51, 0.7);
  backdrop-filter: blur(6px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

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

.modal-container {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 40px;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transform: translateY(20px);
  transition: transform var(--transition-normal);
}

.modal-overlay.active .modal-container {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1.25rem;
  transition: var(--transition-fast);
}

.modal-close-btn:hover {
  background: #E2E8F0;
  color: var(--text-dark);
}

.modal-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 8px;
}

.modal-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

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

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

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

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

/* --------------------------------------------------------------------------
   12. Footer
   -------------------------------------------------------------------------- */
.footer {
  background: var(--primary-navy-dark);
  color: var(--bg-white);
  padding: 80px 0 32px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 64px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  margin-top: 16px;
  max-width: 320px;
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--accent-gold);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--bg-white);
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* --------------------------------------------------------------------------
   13. Responsive Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-grid, .enterprise-grid, .impact-card-box, .calc-grid {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 768px) {
  .nav-menu {
    display: none; /* Can be toggled with mobile JS menu */
  }

  .mobile-toggle {
    display: block;
  }

  .hero-title {
    font-size: 2.35rem;
  }

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

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

  .addon-options {
    grid-template-columns: 1fr;
  }

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

.footer-logo-icon {
  height: 44px;
  width: auto;
}
 
/* Extra insurance: a soft gold glow around the whole icon so both
   the outline and the wave stay legible even on very dark backgrounds.
   Stack two drop-shadows at 0 offset with different blur radii for a
   halo effect rather than a directional shadow. */
/* .footer-logo-icon {
  filter:
    drop-shadow(0 0 2px rgba(230, 180, 34, 0.55))
    drop-shadow(0 0 6px rgba(230, 180, 34, 0.25));
} */