/* 
   Main Stylesheet — DB Enterprises
   Page-specific styles only. Global layout in styles/layout.css 
*/

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

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

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(10, 25, 47, 0.8) 0%,
    rgba(10, 25, 47, 0.4) 50%,
    rgba(0, 209, 255, 0.05) 100%
  );
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 620px;
}

.hero h1 {
  color: var(--color-white);
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: var(--spacing-sm);
  line-height: 1.1;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Gold accent line under hero headline */
.hero h1::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background-color: var(--color-accent);
  margin-top: 1rem;
}

.hero p {
  color: rgba(247, 245, 240, 0.92);
  font-size: 1.25rem;
  margin-bottom: var(--spacing-md);
  font-weight: 300;
  max-width: 520px;
}

.hero-btns {
  display: flex;
  gap: var(--spacing-sm);
  flex-wrap: wrap;
}

/* Hero outline button — white variant */
.hero .btn-outline {
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--color-white);
}

.hero .btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: var(--color-white);
  color: var(--color-white);
  transform: translateY(-2px);
}

/* ===========================
   Section Headers (shared)
   =========================== */

.services-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--spacing-lg);
}

.services-header h2 {
  margin-bottom: 1rem;
}

.services-header p {
  color: var(--color-secondary);
  font-size: 1.1rem;
  line-height: 1.7;
}

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

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-md);
}

.why-card {
  background-color: var(--color-primary-light);
  padding: var(--spacing-lg) var(--spacing-md);
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--glass-border);
  transition: var(--transition-normal);
  text-align: center;
}

.why-card:hover {
  transform: translateY(-8px);
  border-color: var(--color-electric);
  box-shadow: var(--shadow-electric);
}

.why-icon {
  font-size: 3rem;
  color: var(--color-electric);
  margin-bottom: 1.5rem;
  text-shadow: 0 0 15px var(--color-electric-glow);
}

.why-card h3 {
  margin-bottom: var(--spacing-xs);
  font-size: 1.1rem;
}

.why-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

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

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-md);
}

.service-card {
  background-color: var(--color-primary-light);
  padding: var(--spacing-lg) var(--spacing-md);
  border-radius: var(--border-radius-lg);
  text-align: center;
  transition: var(--transition-normal);
  border: 1px solid var(--glass-border);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--color-electric);
  opacity: 0;
  transition: var(--transition-fast);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-electric);
  border-color: var(--color-electric);
}

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

.service-icon {
  width: 80px;
  height: 80px;
  background: var(--color-primary);
  color: var(--color-electric);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1.5rem;
  transition: var(--transition-normal);
  border: 2px solid var(--glass-border);
}

.service-card:hover .service-icon {
  background: var(--color-electric);
  color: var(--color-primary);
  box-shadow: 0 0 20px var(--color-electric-glow);
}

.service-card h3 {
  margin-bottom: var(--spacing-xs);
  font-size: 1.1rem;
}

.service-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ===========================
   Process / How It Works
   =========================== */

.process-steps {
  display: flex;
  justify-content: space-between;
  gap: var(--spacing-md);
  padding: var(--spacing-md) 0;
  position: relative;
}

/* Connector line between steps */
.process-steps::before {
  content: '';
  position: absolute;
  top: calc(25px + var(--spacing-md));
  left: calc(50px / 2);
  right: calc(50px / 2);
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-primary));
  z-index: 0;
  opacity: 0.3;
}

.process-step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 54px;
  height: 54px;
  background-color: var(--color-primary);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 auto var(--spacing-sm);
  border: 3px solid var(--color-accent);
  font-family: var(--font-heading);
  transition: var(--transition-normal);
}

.process-step:hover .step-number {
  background-color: var(--color-accent);
  color: var(--color-charcoal);
  transform: scale(1.1);
}

.process-step h3 {
  margin-bottom: var(--spacing-xs);
  font-size: 1.05rem;
}

.process-step p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* ===========================
   Testimonials
   =========================== */

.testimonials {
  background-color: var(--color-primary);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}

.testimonials h2 {
  color: var(--color-white);
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-md);
}

.testimonial-card {
  background-color: var(--color-primary-light);
  padding: var(--spacing-md);
  border-radius: var(--border-radius);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-medium);
  transition: var(--transition-normal);
}

.testimonial-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
}

.quote {
  font-style: italic;
  color: var(--color-text);
  font-size: 1.1rem;
  margin-bottom: var(--spacing-sm);
  line-height: 1.7;
}

/* Opening quote mark */
.quote::before {
  content: '"';
  font-size: 3rem;
  color: var(--color-accent);
  line-height: 0;
  vertical-align: -0.6rem;
  margin-right: 0.25rem;
  font-family: var(--font-heading);
}

.author {
  margin-top: 1rem;
  color: var(--color-electric);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
}

/* ===========================
   Gallery
   =========================== */

.project-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: var(--spacing-sm);
  margin-top: var(--spacing-md);
}

.gallery-item {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  height: 250px;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-normal);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item:hover {
  box-shadow: var(--shadow-medium);
  transform: translateY(-5px);
}

/* ===========================
   Gallery — Category label overlay
   =========================== */

.gallery-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.5rem 0.75rem;
  background: linear-gradient(to top, rgba(2, 8, 23, 0.85) 0%, transparent 100%);
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity var(--transition-fast), transform var(--transition-fast);
  pointer-events: none;
}

.gallery-item:hover .gallery-label {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================
   Gallery — Filter tabs
   =========================== */

.gallery-filters {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: var(--spacing-md);
}

.filter-btn {
  padding: 0.45rem 1.35rem;
  border-radius: 2rem;
  border: 1px solid rgba(0, 209, 255, 0.22);
  background: transparent;
  color: var(--color-text-muted);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
}

.filter-btn:hover {
  border-color: var(--color-electric);
  color: var(--color-electric);
  background: rgba(0, 209, 255, 0.07);
}

.filter-btn.active {
  background: var(--color-electric);
  border-color: var(--color-electric);
  color: #020817;
}

/* ===========================
   Gallery — Featured (wide) items
   =========================== */

@media (min-width: 600px) {
  .gallery-item.featured {
    grid-column: span 2;
    height: 340px;
  }
}

/* ===========================
   Gallery — Filter visibility states
   =========================== */

.gallery-item.filtered-out {
  display: none;
}

.gallery-item.over-limit {
  display: none;
}

/* ===========================
   Gallery — Load More button
   =========================== */

.gallery-footer {
  text-align: center;
  margin-top: var(--spacing-md);
}

.gallery-load-more {
  display: none;
  gap: 0.5rem;
  align-items: center;
  padding: 0.7rem 2rem;
  border-radius: 2rem;
  border: 1px solid rgba(0, 209, 255, 0.3);
  background: transparent;
  color: var(--color-electric);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
}

.gallery-load-more:hover {
  background: rgba(0, 209, 255, 0.1);
  border-color: var(--color-electric);
}

.gallery-load-more i {
  font-size: 0.75rem;
  transition: transform var(--transition-fast);
}

.gallery-load-more:hover i {
  transform: translateY(3px);
}

/* ===========================
   Lightbox
   =========================== */

.lightbox {
  position: fixed;
  z-index: 2000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.92);
  padding: var(--spacing-lg);
  display: none;
  align-items: center;
  justify-content: center;
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90%;
  border-radius: var(--border-radius);
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  background: transparent;
  border: 0;
  position: absolute;
  top: 24px;
  right: 32px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 2.5rem;
  font-weight: 300;
  cursor: pointer;
  transition: var(--transition-fast);
  line-height: 1;
}

.lightbox-close:hover {
  color: var(--color-accent);
}

/* ===========================
   FAQ
   =========================== */

.faq-header {
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--color-white);
  border-radius: var(--border-radius);
  margin-bottom: 1rem;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: var(--transition-normal);
  border: 1px solid var(--color-accent);
}

.faq-item:hover {
  box-shadow: var(--shadow-medium);
}

.faq-question {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 1.25rem var(--spacing-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 700;
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

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

.faq-question i {
  transition: transform var(--transition-normal);
  color: var(--color-accent);
  flex-shrink: 0;
}

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

.faq-answer {
  padding: 0 var(--spacing-md) 1.25rem;
  display: none;
  color: var(--color-secondary);
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  display: block;
}

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

.cta-section {
  background-color: var(--color-primary) !important;
  color: var(--color-white);
  text-align: center;
}

.cta-section h2 {
  color: var(--color-white);
  margin-bottom: var(--spacing-sm);
  font-size: clamp(1.6rem, 3vw, 2.5rem);
}

.cta-section p {
  margin-bottom: var(--spacing-md);
  font-size: 1.15rem;
  color: rgba(247, 245, 240, 0.85);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ===========================
/* GSAP Initial States */
.js-enabled .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: rgba(22, 50, 79, 0.98);
    padding: var(--spacing-md);
    flex-direction: column;
    gap: var(--spacing-sm);
    border-top: 1px solid rgba(200, 169, 107, 0.2);
    z-index: 999;
  }

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

  .nav-links a {
    font-size: 1rem;
    padding: 0.5rem 0;
  }

  .hamburger {
    display: flex;
  }

  .hero {
    min-height: 80vh;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .hero-btns {
    flex-direction: column;
    align-items: flex-start;
  }

  .process-steps {
    flex-direction: column;
    align-items: center;
  }

  .process-steps::before {
    display: none;
  }

  .process-step {
    max-width: 320px;
  }

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

  .footer-contact p {
    justify-content: center;
  }

  .section {
    padding: 60px 0;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.9rem;
  }

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

  .why-us-grid {
    grid-template-columns: 1fr;
  }
}

/* ===========================
   Chatbot & Form
   =========================== */

.chatbot-toggle {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 65px;
  height: 65px;
  background-color: var(--color-primary);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  z-index: 2001;
  transition: all var(--transition-normal);
  border: 3px solid var(--color-sky);
}

.chatbot-toggle:hover {
  transform: scale(1.1) rotate(5deg);
  background-color: var(--color-primary-light);
  box-shadow: 0 15px 40px rgba(25, 167, 255, 0.4);
}

.chatbot-window {
  position: fixed;
  bottom: 110px;
  right: 30px;
  width: 380px;
  height: 600px;
  background: var(--color-white);
  border-radius: 24px;
  box-shadow: var(--shadow-heavy);
  display: none;
  flex-direction: column;
  overflow: hidden;
  z-index: 2001;
  border: 1px solid rgba(25, 167, 255, 0.2);
  transform: translateY(30px) scale(0.95);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.chatbot-window.active {
  display: flex;
  transform: translateY(0) scale(1);
  opacity: 1;
}

.chatbot-header {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
}

.chatbot-close {
  cursor: pointer;
  opacity: 0.8;
  font-size: 1.2rem;
  transition: 0.2s;
}

.chatbot-close:hover {
  opacity: 1;
  transform: rotate(90deg);
}

.chatbot-messages {
  flex: 1;
  padding: 1.5rem;
  overflow-y: auto;
  background-color: var(--color-ice);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  scroll-behavior: smooth;
}

.chat-msg {
  max-width: 85%;
  padding: 0.8rem 1.2rem;
  border-radius: 18px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.chat-msg.bot {
  background-color: var(--color-primary-light);
  color: var(--color-text);
  align-self: flex-start;
  border-bottom-left-radius: 2px;
  border: 1px solid var(--glass-border);
}

.chat-msg.user {
  background-color: var(--color-electric);
  color: var(--color-primary);
  align-self: flex-end;
  border-bottom-right-radius: 2px;
  font-weight: 600;
}

.chatbot-input {
  padding: 1.2rem;
  display: flex;
  gap: 0.8rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  background: var(--color-white);
}

.chatbot-input input {
  flex: 1;
  border: 1px solid var(--color-steel);
  border-radius: 30px;
  padding: 0.8rem 1.2rem;
  outline: none;
  font-family: var(--font-body);
  transition: border-color 0.3s;
}

.chatbot-input input:focus {
  border-color: var(--color-sky);
}

.chatbot-input button {
  background: var(--color-primary);
  color: white;
  border: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.chatbot-input button:hover {
  background: var(--color-sky);
  transform: scale(1.1);
}

/* Inquiry Form Detail Styles */
.top-bar {
  background-color: #01040D;
  color: var(--color-silver);
  border-bottom: 1px solid var(--glass-border);
}

.top-bar a {
  color: var(--color-electric);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition-fast);
}

.top-bar a:hover {
  color: var(--color-white);
  text-shadow: 0 0 10px var(--color-electric);
}

header {
  background-color: rgba(2, 8, 23, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--glass-border);
  padding: 1.5rem 0;
  position: fixed;
  width: 100%;
  top: 40px; /* Offset for top-bar */
  z-index: 1000;
  transition: var(--transition-normal);
}

header.scrolled {
  padding: 0.8rem 0;
  background-color: var(--color-primary);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.contact-container {
  max-width: 900px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: var(--spacing-lg);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-heavy);
  border: 1px solid rgba(0, 209, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.contact-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--color-electric), var(--color-primary));
}

.inquiry-form .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.inquiry-form .form-group {
  margin-bottom: 1.5rem;
}

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

.inquiry-form .form-group input,
.inquiry-form .form-group select,
.inquiry-form .form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--color-steel);
  border-radius: var(--border-radius);
  font-family: var(--font-body);
  transition: all 0.3s ease;
  background: var(--color-white);
}

.inquiry-form .form-group input:focus,
.inquiry-form .form-group select:focus,
.inquiry-form .form-group textarea:focus {
  outline: none;
  border-color: var(--color-electric) !important;
  box-shadow: 0 0 0 4px rgba(0, 209, 255, 0.1);
  transform: translateY(-2px);
}

/* Form success / error notices */
.form-notice {
  padding: 2rem;
  border-radius: var(--border-radius);
  text-align: center;
}

.form-notice--success {
  background: rgba(0, 209, 255, 0.06);
  border: 1px solid rgba(0, 209, 255, 0.3);
}

.form-notice--success .form-notice__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-electric);
  color: var(--color-primary);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.form-notice--success h3 {
  color: var(--color-primary);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.form-notice--success p {
  color: var(--color-secondary);
  margin-bottom: 0.25rem;
}

.form-notice--success .form-notice__sub {
  font-size: 0.9rem;
  color: var(--color-metal);
}

.form-notice--success a {
  color: var(--color-electric);
  text-decoration: none;
  font-weight: 600;
}

.form-notice--error {
  background: rgba(220, 38, 38, 0.06);
  border: 1px solid rgba(220, 38, 38, 0.3);
  color: #b91c1c;
  margin-top: 1rem;
  border-radius: var(--border-radius);
  padding: 1rem;
  font-size: 0.95rem;
}

.form-notice--error a {
  color: #b91c1c;
  font-weight: 600;
}

@media (max-width: 600px) {
  .inquiry-form .form-grid {
    grid-template-columns: 1fr;
  }
  
  .chatbot-window {
    width: calc(100% - 40px);
    right: 20px;
    bottom: 100px;
    height: 70vh;
  }
}

/* ===========================
   Modern Logo Refresh
   =========================== */

:root {
  --color-primary: #03060d;
  --color-primary-light: #071426;
  --color-background: #03060d;
  --color-panel: #0b1524;
  --color-panel-lift: #101f34;
  --color-electric: #1478ff;
  --color-electric-hover: #4aa3ff;
  --color-electric-glow: rgba(20, 120, 255, 0.45);
  --color-accent: #1478ff;
  --color-sky: #4aa3ff;
  --color-gold: #C8A96B; /* Brand gold for internal/Admin accents */
  --color-steel: #9aa8b8;
  --color-metal: #9aa8b8;
  --color-silver: #f1f5f9;
  --color-ice: #eef4fb;
  --color-text: #eef4fb;
  --color-text-muted: #aeb9c8;
  --color-charcoal: #050910;
  --font-heading: "Source Sans 3", sans-serif;
  --font-body: "Source Sans 3", sans-serif;
  --border-radius: 8px;
  --border-radius-lg: 14px;
  --glass: rgba(11, 21, 36, 0.78);
  --glass-border: rgba(148, 163, 184, 0.22);
  --shadow-soft: 0 16px 36px rgba(0, 0, 0, 0.22);
  --shadow-medium: 0 22px 42px rgba(0, 0, 0, 0.32);
  --shadow-heavy: 0 28px 70px rgba(0, 0, 0, 0.5);
  --shadow-electric: 0 0 0 1px rgba(20, 120, 255, 0.28), 0 24px 70px rgba(20, 120, 255, 0.18);
}

body {
  background:
    radial-gradient(circle at 12% 8%, rgba(20, 120, 255, 0.18), transparent 30rem),
    radial-gradient(circle at 88% 18%, rgba(255, 255, 255, 0.08), transparent 24rem),
    linear-gradient(180deg, #03060d 0%, #071426 45%, #03060d 100%);
  color: var(--color-text);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--color-silver);
  letter-spacing: 0;
}

.section,
.section-light,
.section-white,
.section-dark {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0)),
    var(--color-background);
}

.section-light,
.section-white {
  background:
    radial-gradient(circle at 50% 0%, rgba(20, 120, 255, 0.12), transparent 34rem),
    #07101d;
}

.top-bar {
  background: #02040a;
  border-bottom: 1px solid rgba(148, 163, 184, 0.22);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 0.45rem;
  padding-bottom: 0.45rem;
  font-size: 0.86rem;
}

.top-bar-brand,
.top-bar-links,
.chatbot-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.top-bar-brand img {
  width: 28px;
  height: 28px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.top-bar-brand span {
  color: var(--color-text-muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.76rem;
}

.top-bar-links {
  gap: 1.25rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

header,
header.scrolled {
  position: sticky;
  top: 0;
  width: auto;
  padding: 0.85rem 0;
  background: rgba(3, 6, 13, 0.9);
  border-bottom: 1px solid rgba(20, 120, 255, 0.28);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
}

header::after {
  background: linear-gradient(90deg, transparent, var(--color-electric), #ffffff, var(--color-electric), transparent);
  opacity: 0.35;
}

nav .logo .logo-img-wrap {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(20, 120, 255, 0.18));
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.22), 0 10px 24px rgba(20, 120, 255, 0.18);
  flex: 0 0 58px;
}

nav .logo .logo-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.logo-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.logo-copy strong {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--color-white);
  line-height: 1.1;
  letter-spacing: 0.5px;
}

.logo-copy small {
  font-size: 0.65rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2px;
}

.nav-links {
  gap: clamp(1rem, 2.4vw, 2.4rem);
}

.nav-links a {
  color: rgba(238, 244, 251, 0.86);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.nav-links a::after {
  background: var(--color-electric);
  box-shadow: 0 0 16px var(--color-electric-glow);
}

.nav-links a:hover,
.top-bar a:hover {
  color: var(--color-white);
}

/* Admin tab — wires marketing site to the CRM. Distinct styling so staff
   recognize it as the internal portal entry point (gold accent per brand). */
.nav-admin {
  color: var(--color-gold) !important;
  font-weight: 800;
  letter-spacing: 0.06em;
  opacity: 0.95;
  transition: all 0.2s ease;
}

.nav-admin:hover {
  color: #fff !important;
  opacity: 1;
}

.nav-admin::after {
  background: var(--color-gold) !important;
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.6) !important;
}

.btn {
  border-radius: 6px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.btn-primary,
.btn-cta,
.nav-cta {
  background: linear-gradient(135deg, #f8fbff 0%, #b8c5d7 42%, #1478ff 100%) !important;
  color: #02040a !important;
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 0 22px rgba(20, 120, 255, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.btn-primary:hover,
.btn-cta:hover,
.nav-cta:hover {
  background: linear-gradient(135deg, #ffffff 0%, #dce6f2 55%, #4aa3ff 100%) !important;
  transform: translateY(-3px);
  box-shadow: 0 0 34px rgba(20, 120, 255, 0.48), 0 16px 35px rgba(0, 0, 0, 0.24);
}

.btn-outline {
  color: var(--color-silver);
  border-color: rgba(238, 244, 251, 0.58);
  background: rgba(255, 255, 255, 0.04);
}

.hero {
  min-height: 86vh;
  background: #03060d;
}

.hero-bg img {
  filter: saturate(1.08) contrast(1.08) brightness(0.78);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(3, 6, 13, 0.94) 0%, rgba(3, 6, 13, 0.78) 38%, rgba(3, 6, 13, 0.24) 72%),
    radial-gradient(circle at 22% 48%, rgba(20, 120, 255, 0.28), transparent 30rem);
}

.hero-content {
  max-width: 720px;
  padding: 5rem 0;
}

.hero h1 {
  font-size: clamp(3rem, 7vw, 6.8rem);
  font-weight: 900;
  line-height: 0.92;
  text-transform: uppercase;
  text-shadow: 0 6px 24px rgba(0, 0, 0, 0.56);
}

.hero h1 span {
  color: var(--color-electric-hover);
  text-shadow: 0 0 32px rgba(20, 120, 255, 0.58);
}

.hero h1::after {
  width: 128px;
  height: 4px;
  background: linear-gradient(90deg, #ffffff, var(--color-electric));
  box-shadow: 0 0 22px var(--color-electric-glow);
}

.hero-kicker {
  color: var(--color-silver) !important;
  font-size: clamp(1rem, 2vw, 1.35rem) !important;
  font-weight: 900 !important;
  text-transform: uppercase;
  letter-spacing: 0.22em !important;
}

.services-header h2,
.faq-header h2,
.testimonials h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 900;
  text-transform: uppercase;
}

.services-header p,
.faq-header p {
  color: var(--color-text-muted);
}

.why-card,
.service-card,
.testimonial-card,
.faq-item {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025)),
    var(--color-panel);
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: var(--shadow-soft);
}

.why-card:hover,
.service-card:hover,
.testimonial-card:hover,
.faq-item:hover {
  border-color: rgba(20, 120, 255, 0.7);
  box-shadow: var(--shadow-electric);
}

.why-card h3,
.service-card h3,
.process-step h3 {
  color: var(--color-silver);
  font-family: var(--font-body);
  font-weight: 900;
  text-transform: uppercase;
}

.why-card p,
.service-card p,
.process-step p {
  color: var(--color-text-muted);
}

.why-icon,
.service-icon,
.step-number {
  color: var(--color-electric-hover);
  text-shadow: 0 0 18px var(--color-electric-glow);
}

.service-card h3 {
  color: var(--color-electric-hover);
}

.service-tagline {
  color: var(--color-silver) !important;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.service-icon {
  background: linear-gradient(145deg, #050910, #10213a);
  border-radius: 12px;
}

.process-steps::before {
  background: linear-gradient(90deg, transparent, var(--color-electric), transparent);
}

.step-number {
  background: #050910;
  border-color: var(--color-electric);
  color: var(--color-silver);
  border-radius: 12px;
  box-shadow: var(--shadow-electric);
}

.brand-showcase {
  margin-top: 3.75rem;
  text-align: center;
}

.brand-showcase img,
.video-container {
  width: min(100%, 900px);
  margin: 0 auto;
  overflow: hidden;
  border-radius: var(--border-radius-lg);
  border: 1px solid rgba(238, 244, 251, 0.22);
  box-shadow: var(--shadow-heavy), 0 0 0 1px rgba(20, 120, 255, 0.18);
}

.project-gallery {
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
}

.gallery-item {
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.faq-item {
  border: 1px solid rgba(20, 120, 255, 0.26);
}

.faq-question,
.faq-answer {
  color: var(--color-silver);
}

.faq-question:hover,
.faq-question i,
.lightbox-close:hover {
  color: var(--color-electric-hover);
}

.faq-answer {
  color: var(--color-text-muted);
}

.cta-section {
  background:
    linear-gradient(135deg, rgba(20, 120, 255, 0.18), transparent 46%),
    linear-gradient(180deg, #08172a 0%, #03060d 100%) !important;
  border-top: 1px solid rgba(20, 120, 255, 0.24);
  border-bottom: 1px solid rgba(20, 120, 255, 0.24);
}

.cta-section p {
  color: var(--color-text-muted);
  max-width: 700px;
  margin: 0 auto 2.5rem;
  font-size: 1.2rem;
}

.contact-container {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035)),
    var(--color-panel);
  border: 1px solid rgba(20, 120, 255, 0.24);
}

.inquiry-form .form-group label {
  color: var(--color-silver);
}

.inquiry-form .form-group input,
.inquiry-form .form-group select,
.inquiry-form .form-group textarea,
.chatbot-input input {
  color: #07101d;
  border-color: rgba(154, 168, 184, 0.75);
}

.form-submit {
  width: 100%;
}

.chatbot-toggle {
  background: linear-gradient(145deg, #f8fbff, #1478ff);
  color: #02040a;
  border: 2px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 0 30px rgba(20, 120, 255, 0.45);
}

.chatbot-window {
  border-radius: 14px;
  border-color: rgba(20, 120, 255, 0.32);
}

.chatbot-header {
  background:
    linear-gradient(135deg, rgba(20, 120, 255, 0.28), transparent),
    #050910;
}

.chatbot-brand img {
  width: 36px;
  height: 36px;
  object-fit: cover;
  border-radius: 50%;
}

.chatbot-brand h4 {
  margin: 0;
  color: var(--color-white);
  font-size: 1rem;
  font-family: var(--font-body);
}

.chatbot-brand span {
  color: var(--color-electric-hover);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.chatbot-input button:hover {
  background: var(--color-electric);
}

footer {
  background: #02040a;
  border-top: 1px solid rgba(20, 120, 255, 0.24);
}

.footer-grid {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: var(--spacing-lg);
}

.footer-logo {
  width: 132px;
  height: 132px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1rem;
  box-shadow: 0 0 34px rgba(20, 120, 255, 0.24);
}

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

.footer-contact {
  text-align: right;
}

.footer-contact img {
  height: 60px;
  margin-bottom: 1.5rem;
  margin-left: auto;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.footer-col h4,
.footer-col ul a:hover,
.footer-contact i {
  color: var(--color-electric-hover);
}

@media (max-width: 900px) {
  .top-bar-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .top-bar-links {
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  .top-bar-inner {
    gap: 0.4rem;
    padding-top: 0.35rem;
    padding-bottom: 0.35rem;
  }

  .top-bar-brand {
    gap: 0.5rem;
  }

  .top-bar-brand img {
    width: 22px;
    height: 22px;
  }

  .top-bar-links {
    gap: 0.8rem;
    font-size: 0.82rem;
    line-height: 1.2;
  }

  header,
  header.scrolled {
    padding: 0.55rem 0;
  }

  nav .logo .logo-img-wrap {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
  }

  .logo-copy strong {
    font-size: 0.95rem;
  }

  .logo-copy small {
    font-size: 0.55rem;
  }

  .nav-links {
    background: rgba(3, 6, 13, 0.98);
    border-top-color: rgba(20, 120, 255, 0.28);
  }

  .hero-content {
    padding: 4rem 0;
  }

  .footer-contact,
  .footer-links {
    text-align: center;
  }

  .footer-logo,
  .footer-contact img {
    margin-left: auto;
    margin-right: auto;
  }
}

/* ===========================
   Audit Fixes — Cleaner Contractor UI
   =========================== */

:root {
  --color-primary: #0b1220;
  --color-primary-light: #172033;
  --color-background: #f3f6fa;
  --color-panel: #ffffff;
  --color-electric: #155fbd;
  --color-electric-hover: #0d4f9f;
  --color-electric-glow: rgba(21, 95, 189, 0.18);
  --color-accent: #155fbd;
  --color-gold: #C8A96B;
  --color-text: #182233;
  --color-text-muted: #536174;
  --color-silver: #f7f9fc;
  --glass-border: rgba(24, 34, 51, 0.12);
  --shadow-soft: 0 10px 24px rgba(11, 18, 32, 0.08);
  --shadow-medium: 0 16px 34px rgba(11, 18, 32, 0.12);
  --shadow-heavy: 0 24px 54px rgba(11, 18, 32, 0.18);
  --shadow-electric: 0 12px 30px rgba(21, 95, 189, 0.14);
}

body {
  background: var(--color-background);
  color: var(--color-text);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.gallery-item:focus-visible {
  outline: 3px solid rgba(21, 95, 189, 0.42);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.top-bar {
  background: #0b1220;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-brand span,
.top-bar a {
  color: rgba(247, 249, 252, 0.88);
}

header,
header.scrolled {
  background: rgba(247, 249, 252, 0.96);
  border-bottom: 1px solid rgba(24, 34, 51, 0.1);
  box-shadow: 0 8px 22px rgba(11, 18, 32, 0.08);
}

header::after {
  display: none;
}

nav .logo .logo-img-wrap {
  background: #ffffff;
  box-shadow: 0 0 0 1px rgba(24, 34, 51, 0.12), 0 8px 16px rgba(11, 18, 32, 0.1);
}

.nav-links a {
  color: #172033;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.nav-links a:hover {
  color: var(--color-electric);
}

.nav-links a::after {
  background: var(--color-electric);
  box-shadow: none;
}

.hamburger span {
  background-color: #172033;
}

.btn-primary,
.btn-cta,
.nav-cta {
  background: #155fbd !important;
  color: #ffffff !important;
  border: 1px solid #155fbd;
  box-shadow: none;
}

.btn-primary:hover,
.btn-cta:hover,
.nav-cta:hover {
  background: #0d4f9f !important;
  border-color: #0d4f9f;
  box-shadow: 0 12px 24px rgba(21, 95, 189, 0.22);
}

.btn-outline {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.68);
  background: rgba(11, 18, 32, 0.16);
}

.hero {
  min-height: 78vh;
}

.hero h1 {
  font-size: clamp(2.8rem, 6.2vw, 5.9rem);
}

.hero h1 span {
  color: #66a8ff;
  text-shadow: none;
}

.hero h1::after {
  background: #66a8ff;
  box-shadow: none;
}

.section,
.section-light,
.section-white {
  background: var(--color-background);
}

.section-light {
  background: #ffffff;
}

.section-dark,
.testimonials,
.cta-section,
footer {
  background: #0b1220 !important;
}

.services-header h2,
.faq-header h2,
.contact-heading,
.why-card h3,
.service-card h3,
.process-step h3,
.faq-question {
  color: var(--color-text);
}

.services-header p,
.faq-header p,
.why-card p,
.service-card p,
.process-step p,
.faq-answer {
  color: var(--color-text-muted);
}

.section-dark .services-header h2,
.section-dark .services-header p,
.testimonials h2,
.cta-section h2,
.cta-section p,
footer h4,
footer p {
  color: rgba(247, 249, 252, 0.92);
}

.why-card,
.service-card,
.testimonial-card,
.faq-item,
.contact-container {
  background: #ffffff;
  border: 1px solid rgba(24, 34, 51, 0.1);
  box-shadow: var(--shadow-soft);
}

.why-card:hover,
.service-card:hover,
.testimonial-card:hover,
.faq-item:hover {
  border-color: rgba(21, 95, 189, 0.28);
  box-shadow: var(--shadow-medium);
}

.why-icon,
.service-icon,
.step-number {
  color: var(--color-electric);
  text-shadow: none;
}

.service-icon {
  background: #eef4fb;
  border-radius: 8px;
}

.service-card:hover .service-icon {
  background: #dcecff;
  color: var(--color-electric);
  box-shadow: none;
}

.service-card h3 {
  color: var(--color-electric);
}

.service-tagline {
  color: var(--color-text) !important;
}

.step-number {
  background: #ffffff;
  border-color: var(--color-electric);
  color: var(--color-electric);
  box-shadow: none;
}

.faq-item {
  border: 1px solid rgba(24, 34, 51, 0.1);
}

.contact-container {
  background: #ffffff;
}

.inquiry-form .form-group label {
  color: var(--color-text);
}

.brand-showcase img,
.video-container {
  box-shadow: var(--shadow-medium);
  border: 1px solid rgba(24, 34, 51, 0.12);
}

.chatbot-toggle {
  background: #155fbd;
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(21, 95, 189, 0.28);
}

.chatbot-header {
  background: #0b1220;
}

@media (max-width: 768px) {
  .top-bar-links a,
  .footer-col ul a,
  .footer-contact a,
  .contact-channel,
  .phone-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .footer-col ul a {
    min-width: 44px;
    justify-content: center;
  }

  .hamburger {
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .top-bar-brand span {
    font-size: 0.68rem;
  }

  .hero h1 {
    font-size: 2.55rem;
  }

  .btn {
    width: 100%;
  }
}

/* ===========================
   Contact Section v3 — Split Layout
   =========================== */

.contact-section {
  padding: var(--spacing-xl) 0;
  background:
    radial-gradient(circle at 0% 60%, rgba(20, 120, 255, 0.12), transparent 38rem),
    radial-gradient(circle at 100% 20%, rgba(255, 255, 255, 0.04), transparent 26rem),
    linear-gradient(180deg, #03060d 0%, #071426 50%, #03060d 100%);
  position: relative;
  overflow: hidden;
}

/* Faint diagonal rule across the section */
.contact-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      -55deg,
      transparent,
      transparent 80px,
      rgba(20, 120, 255, 0.028) 80px,
      rgba(20, 120, 255, 0.028) 81px
    );
  pointer-events: none;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(2.5rem, 5vw, 6rem);
  align-items: start;
  position: relative;
}

/* ---- Left info panel ---- */

.contact-eyebrow {
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-electric-hover);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.contact-eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--color-electric);
  flex-shrink: 0;
}

.contact-heading {
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 900;
  line-height: 0.96;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--color-silver);
  margin-bottom: 1.5rem;
}

.contact-heading span {
  color: transparent;
  -webkit-text-stroke: 2px var(--color-electric);
  text-stroke: 2px var(--color-electric);
}

.contact-desc {
  color: var(--color-text-muted);
  line-height: 1.7;
  font-size: 1rem;
  margin-bottom: 2.5rem;
  max-width: 36ch;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.contact-channel {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 10px;
  text-decoration: none;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.2s ease;
}

.contact-channel:hover {
  border-color: rgba(20, 120, 255, 0.55);
  background: rgba(20, 120, 255, 0.07);
  transform: translateX(4px);
}

.contact-channel-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(20, 120, 255, 0.22), rgba(20, 120, 255, 0.06));
  border: 1px solid rgba(20, 120, 255, 0.32);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-electric-hover);
  flex-shrink: 0;
}

.contact-channel-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.contact-channel-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.contact-channel-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-silver);
}

.contact-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.9rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.03);
}

.trust-pill span {
  color: var(--color-electric-hover);
  font-size: 0.82rem;
}

/* ---- Right form panel ---- */

.contact-form-wrap {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02)),
    var(--color-panel);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--border-radius-lg);
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  box-shadow: var(--shadow-heavy);
  position: relative;
  overflow: hidden;
}

.contact-form-wrap::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-electric), rgba(20, 120, 255, 0.4), transparent);
  border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

/* Dark-native form fields */
.contact-form-wrap .inquiry-form .form-group {
  margin-bottom: 1.25rem;
}

.contact-form-wrap .inquiry-form .form-group label {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.contact-form-wrap .inquiry-form .form-group input,
.contact-form-wrap .inquiry-form .form-group select,
.contact-form-wrap .inquiry-form .form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: var(--border-radius);
  color: #182233;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  appearance: none;
  -webkit-appearance: none;
}

.contact-form-wrap .inquiry-form .form-group input::placeholder,
.contact-form-wrap .inquiry-form .form-group textarea::placeholder {
  color: rgba(174, 185, 200, 0.45);
}

.contact-form-wrap .inquiry-form .form-group input:focus,
.contact-form-wrap .inquiry-form .form-group select:focus,
.contact-form-wrap .inquiry-form .form-group textarea:focus {
  outline: none;
  border-color: rgba(20, 120, 255, 0.7);
  background: rgba(20, 120, 255, 0.06);
  box-shadow: 0 0 0 3px rgba(20, 120, 255, 0.14);
}

/* Select arrow */
.contact-form-wrap .inquiry-form .form-group .select-wrap {
  position: relative;
}

.contact-form-wrap .inquiry-form .form-group select {
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234aa3ff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  cursor: pointer;
}

.contact-form-wrap .inquiry-form .form-group select option {
  background: #0b1524;
  color: var(--color-silver);
}

.contact-form-wrap .inquiry-form .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 0;
}

.form-submit-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.5rem;
  padding: 0.95rem 2rem;
}

.form-submit-btn svg {
  transition: transform 0.2s ease;
}

.form-submit-btn:hover svg {
  transform: translateX(4px);
}

/* Updated inline form notices */
.form-notice--success {
  background: rgba(20, 120, 255, 0.08);
  border: 1px solid rgba(20, 120, 255, 0.3);
  border-radius: var(--border-radius);
}

.form-notice--success .form-notice__icon {
  background: linear-gradient(135deg, #1478ff, #4aa3ff);
  color: #02040a;
}

.form-notice--success h3 {
  color: var(--color-silver);
}

.form-notice--success p {
  color: var(--color-text-muted);
}

.form-notice--success a {
  color: var(--color-electric-hover);
}

.form-notice--error {
  background: rgba(185, 28, 28, 0.08);
  border-color: rgba(185, 28, 28, 0.3);
  color: #fca5a5;
}

.form-notice--error a {
  color: #fca5a5;
}

/* Responsive: stack on tablet */
@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .contact-heading {
    font-size: clamp(2rem, 7vw, 3rem);
  }

  .contact-desc {
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  .contact-form-wrap .inquiry-form .form-grid {
    grid-template-columns: 1fr;
  }

  .contact-section {
    padding: var(--spacing-lg) 0;
  }
}

/* ===========================
   Lead-Gen — Insurance / Storm Damage
   =========================== */

.insurance-section {
  background: #0b1220 !important;
  padding: 100px 0;
}

.insurance-section .services-header h2,
.insurance-section .services-header p {
  color: rgba(247, 249, 252, 0.92);
}

.insurance-section .services-header p {
  color: rgba(174, 185, 200, 0.9);
}

.insurance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
}

.insurance-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(21, 95, 189, 0.28);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: var(--transition-normal);
}

.insurance-card:hover {
  border-color: rgba(21, 95, 189, 0.65);
  background: rgba(21, 95, 189, 0.06);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.insurance-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(145deg, rgba(21, 95, 189, 0.25), rgba(21, 95, 189, 0.08));
  border: 1px solid rgba(21, 95, 189, 0.32);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #4aa3ff;
  margin: 0 auto 1.5rem;
  transition: var(--transition-normal);
}

.insurance-card:hover .insurance-icon {
  background: rgba(21, 95, 189, 0.22);
  box-shadow: 0 0 22px rgba(21, 95, 189, 0.28);
}

.insurance-card h3 {
  color: rgba(247, 249, 252, 0.92);
  font-size: 1.05rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.insurance-card p {
  color: rgba(174, 185, 200, 0.9);
  font-size: 0.95rem;
  line-height: 1.7;
}

.insurance-cta {
  text-align: center;
  padding-top: var(--spacing-md);
}

.insurance-urgency {
  color: rgba(247, 249, 252, 0.7);
  font-size: 1rem;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.insurance-urgency strong {
  color: #fbbf24;
}

/* ===========================
   Lead-Gen — Service Area
   =========================== */

.service-area-section {
  padding: 80px 0;
  background: #f3f6fa;
}

.area-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  margin: 2rem 0 1.5rem;
}

.area-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 1.1rem;
  background: #ffffff;
  border: 1px solid rgba(21, 95, 189, 0.2);
  border-radius: 100px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #182233;
  transition: var(--transition-fast);
  box-shadow: 0 2px 8px rgba(11, 18, 32, 0.06);
}

.area-badge::before {
  content: '📍';
  font-size: 0.75rem;
}

.area-badge:hover {
  background: #dbeafe;
  border-color: var(--color-electric);
  color: var(--color-electric);
  transform: translateY(-2px);
}

.area-badge--more {
  background: var(--color-electric);
  color: #ffffff;
  border-color: var(--color-electric);
  box-shadow: 0 4px 12px rgba(21, 95, 189, 0.3);
}

.area-badge--more::before {
  content: '';
}

.area-badge--more:hover {
  background: var(--color-electric-hover);
  color: #ffffff;
  border-color: var(--color-electric-hover);
}

.area-note {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* ===========================
   Lead-Gen — Star Ratings
   =========================== */

.star-rating {
  display: flex;
  gap: 2px;
  margin-bottom: 0.85rem;
  color: #f59e0b;
  font-size: 0.95rem;
}

.testimonials-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.1rem;
  background: rgba(21, 95, 189, 0.12);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #4aa3ff;
  margin-bottom: var(--spacing-md);
  border: 1px solid rgba(21, 95, 189, 0.28);
}

/* ===========================
   Lead-Gen — Booking Section
   =========================== */

.booking-section {
  padding: var(--spacing-xl) 0;
  background:
    radial-gradient(circle at 90% 60%, rgba(20, 120, 255, 0.14), transparent 38rem),
    radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.03), transparent 26rem),
    linear-gradient(180deg, #071426 0%, #03060d 55%, #071426 100%);
  position: relative;
  overflow: hidden;
}

.booking-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -55deg,
    transparent,
    transparent 80px,
    rgba(20, 120, 255, 0.03) 80px,
    rgba(20, 120, 255, 0.03) 81px
  );
  pointer-events: none;
}

.booking-layout {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: clamp(2.5rem, 5vw, 6rem);
  align-items: start;
  position: relative;
}

.booking-eyebrow {
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #4aa3ff;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.booking-eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--color-electric);
  flex-shrink: 0;
}

.booking-heading {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 900;
  line-height: 0.96;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: rgba(247, 249, 252, 0.96);
  margin-bottom: 1.5rem;
}

.booking-heading span {
  color: transparent;
  -webkit-text-stroke: 2px #4aa3ff;
}

.booking-desc {
  color: rgba(174, 185, 200, 0.9);
  line-height: 1.75;
  font-size: 1rem;
  margin-bottom: 2rem;
  max-width: 36ch;
}

.booking-perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2.5rem;
}

.booking-perks li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(247, 249, 252, 0.85);
  font-size: 0.95rem;
  font-weight: 600;
}

.booking-perks li i {
  color: #4aa3ff;
  font-size: 1rem;
  flex-shrink: 0;
}

.booking-or-call {
  margin-top: 0.5rem;
  color: rgba(174, 185, 200, 0.75);
  font-size: 0.88rem;
}

.booking-or-call a {
  color: #4aa3ff;
  font-weight: 700;
  text-decoration: none;
}

.booking-or-call a:hover {
  text-decoration: underline;
}

.booking-calendar {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-top-color: rgba(255, 255, 255, 0.12);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.45);
}

.calendly-embed-placeholder {
  padding: 3.5rem 2.5rem;
  text-align: center;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.calendly-placeholder-inner {
  max-width: 320px;
}

.calendly-placeholder-icon {
  width: 80px;
  height: 80px;
  background: rgba(21, 95, 189, 0.15);
  border: 1px solid rgba(21, 95, 189, 0.32);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: #4aa3ff;
  margin: 0 auto 1.5rem;
}

.calendly-placeholder-inner h3 {
  color: rgba(247, 249, 252, 0.92);
  font-size: 1.35rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0.75rem;
}

.calendly-placeholder-inner p {
  color: rgba(174, 185, 200, 0.85);
  font-size: 0.95rem;
  margin-bottom: 1.75rem;
  line-height: 1.65;
}

.booking-cta-stack {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.booking-cta-stack .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}

.booking-cta-stack .btn-outline-light {
  border: 1px solid rgba(148, 163, 184, 0.35);
  color: rgba(247, 249, 252, 0.8);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 6px;
  padding: 0.75rem 1.5rem;
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: var(--transition-fast);
  text-decoration: none;
  text-align: center;
}

.booking-cta-stack .btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(148, 163, 184, 0.55);
  color: rgba(247, 249, 252, 0.96);
}

/* ---- Booking appointment form card ---- */

.booking-form-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-top-color: rgba(255, 255, 255, 0.14);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.45);
  padding: clamp(1.75rem, 3.5vw, 2.5rem);
}

.booking-form-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}

.booking-form-header-icon {
  width: 46px;
  height: 46px;
  background: rgba(21, 95, 189, 0.18);
  border: 1px solid rgba(21, 95, 189, 0.32);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #4aa3ff;
  flex-shrink: 0;
}

.booking-form-header h3 {
  color: rgba(247, 249, 252, 0.94);
  font-size: 1.05rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 0.2rem;
}

.booking-form-header span {
  font-size: 0.78rem;
  color: rgba(174, 185, 200, 0.75);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.booking-appt-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

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

.booking-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.booking-form-group label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(174, 185, 200, 0.85);
}

.booking-label-optional {
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.7rem;
  color: rgba(174, 185, 200, 0.5);
}

.booking-form-group input[type="text"],
.booking-form-group input[type="tel"],
.booking-form-group input[type="email"],
.booking-form-group input[type="date"],
.booking-form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: var(--border-radius);
  color: rgba(247, 249, 252, 0.92);
  font-family: var(--font-body);
  font-size: 0.92rem;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  appearance: none;
  -webkit-appearance: none;
}

.booking-form-group input[type="date"] {
  color-scheme: dark;
}

.booking-form-group input::placeholder,
.booking-form-group textarea::placeholder {
  color: rgba(174, 185, 200, 0.35);
}

.booking-form-group input:focus,
.booking-form-group textarea:focus {
  outline: none;
  border-color: rgba(21, 95, 189, 0.7);
  background: rgba(21, 95, 189, 0.06);
  box-shadow: 0 0 0 3px rgba(21, 95, 189, 0.14);
}

.booking-form-group textarea {
  resize: vertical;
  min-height: 84px;
  line-height: 1.5;
}

.booking-select-wrap {
  position: relative;
}

.booking-form-group select {
  width: 100%;
  padding: 0.75rem 2.5rem 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234aa3ff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: var(--border-radius);
  color: rgba(247, 249, 252, 0.92);
  font-family: var(--font-body);
  font-size: 0.92rem;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.booking-form-group select option {
  background: #0b1524;
  color: rgba(247, 249, 252, 0.92);
}

.booking-form-group select:focus {
  outline: none;
  border-color: rgba(21, 95, 189, 0.7);
  box-shadow: 0 0 0 3px rgba(21, 95, 189, 0.14);
}

.booking-submit-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 1rem 2rem;
  font-size: 0.92rem;
  margin-top: 0.35rem;
}

.booking-submit-btn i {
  transition: transform 0.2s ease;
}

.booking-submit-btn:hover i {
  transform: translateX(4px);
}

.booking-submit-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none !important;
}

/* Success state inside booking form */
.booking-success {
  text-align: center;
  padding: 2.5rem 1rem;
}

.booking-success-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #155fbd, #4aa3ff);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #ffffff;
  margin: 0 auto 1.25rem;
}

.booking-success h4 {
  color: rgba(247, 249, 252, 0.94);
  font-size: 1.3rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.booking-success p {
  color: rgba(174, 185, 200, 0.85);
  font-size: 0.95rem;
  line-height: 1.65;
}

.booking-success .booking-success-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #4aa3ff;
  font-weight: 700;
  text-decoration: none;
  margin-top: 1rem;
  font-size: 1rem;
}

@media (max-width: 900px) {
  .booking-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .booking-desc {
    max-width: 100%;
  }

  .booking-section {
    padding: var(--spacing-lg) 0;
  }
}

@media (max-width: 560px) {
  .booking-form-row {
    grid-template-columns: 1fr;
  }
}

/* ===========================
   Lead-Gen — Sticky CTA Bar
   =========================== */

.sticky-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #0b1220;
  border-top: 1px solid rgba(21, 95, 189, 0.4);
  padding: 0.85rem 0;
  z-index: 1500;
  transform: translateY(110%);
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.35);
}

.sticky-cta-bar.visible {
  transform: translateY(0);
}

.sticky-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.sticky-cta-text {
  color: rgba(247, 249, 252, 0.9);
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  white-space: nowrap;
}

.sticky-cta-text i {
  color: #4aa3ff;
}

.sticky-cta-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.sticky-cta-phone {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: rgba(247, 249, 252, 0.85);
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
}

.sticky-cta-phone i {
  color: #4aa3ff;
}

.sticky-cta-phone:hover {
  color: #4aa3ff;
}

.sticky-cta-btn {
  padding: 0.6rem 1.35rem !important;
  font-size: 0.82rem !important;
  white-space: nowrap;
}

/* Push chatbot toggle above sticky bar */
.chatbot-toggle {
  bottom: 90px !important;
}

.chatbot-window {
  bottom: 170px !important;
}

@media (max-width: 680px) {
  .sticky-cta-bar {
    padding: 0.7rem 0;
  }

  .sticky-cta-text {
    display: none;
  }

  .sticky-cta-inner {
    justify-content: center;
  }

  .chatbot-toggle {
    bottom: 80px !important;
  }

  .chatbot-window {
    bottom: 155px !important;
  }
}

@media (max-width: 400px) {
  .sticky-cta-phone {
    font-size: 0.85rem;
  }
}

/* ===========================
   Lead-Gen — Exit Intent Popup
   =========================== */

.exit-popup {
  position: fixed;
  inset: 0;
  z-index: 4000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.exit-popup.active {
  display: flex;
}

.exit-popup-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 6, 13, 0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.exit-popup-content {
  position: relative;
  background: #ffffff;
  border-radius: 20px;
  padding: 3rem 2.5rem 2.5rem;
  max-width: 460px;
  width: 100%;
  text-align: center;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(21, 95, 189, 0.18);
  animation: popup-in 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

@keyframes popup-in {
  from { opacity: 0; transform: scale(0.84) translateY(20px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.exit-popup-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: none;
  border: none;
  font-size: 1.75rem;
  color: #9aa8b8;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
  padding: 0.25rem 0.5rem;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.exit-popup-close:hover {
  color: #182233;
}

.exit-popup-icon {
  width: 68px;
  height: 68px;
  background: #eef4fb;
  border: 1px solid rgba(21, 95, 189, 0.2);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  color: var(--color-electric);
  margin: 0 auto 1.5rem;
}

.exit-popup-content h3 {
  color: #0b1220;
  font-size: 1.65rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 0.6rem;
}

.exit-popup-content > p {
  color: #536174;
  font-size: 0.97rem;
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

.exit-popup-form {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-bottom: 1rem;
}

.exit-popup-form input[type="text"],
.exit-popup-form input[type="tel"] {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border: 1px solid rgba(24, 34, 51, 0.18);
  border-radius: var(--border-radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: #182233;
  background: #f7f9fc;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.exit-popup-form input:focus {
  outline: none;
  border-color: var(--color-electric);
  box-shadow: 0 0 0 3px rgba(21, 95, 189, 0.12);
}

.exit-popup-form .btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  padding: 0.95rem;
  font-size: 0.95rem;
  margin-top: 0.25rem;
}

.exit-popup-trust {
  color: #9aa8b8;
  font-size: 0.8rem;
  margin-top: 0.25rem;
}

.exit-popup-success {
  padding: 1.5rem 0;
}

.exit-popup-success .form-notice__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-electric);
  color: #ffffff;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.exit-popup-success h4 {
  color: #0b1220;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.exit-popup-success p {
  color: #536174;
  font-size: 0.9rem;
}

@media (max-width: 480px) {
  .exit-popup-content {
    padding: 2.5rem 1.5rem 2rem;
    border-radius: 16px;
  }

  .exit-popup-content h3 {
    font-size: 1.4rem;
  }
}

/* GSAP Reveal Active States */
.reveal.active,
.reveal-left.active,
.reveal-scale.active {
  opacity: 1 !important;
  transform: translate(0, 0) scale(1) !important;
}

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* ===========================
   AEO Definition Blocks
   =========================== */

.aeo-blocks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.aeo-block {
  border-left: 4px solid #00D1FF;
  background: #f0f9ff;
  padding: 1.5rem;
  border-radius: 0 8px 8px 0;
}

.aeo-block h3 {
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
  color: #0d1b2a;
}

.aeo-block p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #333;
  margin: 0;
}

.aeo-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}
