/* ============================================================
   LUMINEX CLEANING — styles.css
   ============================================================ */

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --navy: #1e3a5f;
  --blue-mid: #2d7fc1;
  --blue-sky: #3ab5e6;
  --teal: #4ecdc4;
  --white: #ffffff;
  --off-white: #f0f7ff;
  --silver: #a8b8c8;
  --charcoal: #2c3e50;
  --light-blue: #cce8f4;
  --text-dark: #1a2a3a;
  --text-muted: #5a7080;
}

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

/* ── Base Typography ────────────────────────────────────────── */
html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Container ──────────────────────────────────────────────── */
.container {
  width: 95%;
  max-width: 1350px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  transition:
    background 0.3s,
    box-shadow 0.3s;
}

.navbar.scrolled {
  background: var(--white);
  box-shadow: 0 2px 20px rgba(30, 58, 95, 0.1);
}

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

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

/* Logo image — altura fija, ancho automático */
.nav-logo-img {
  height: 44px;
  width: auto;
  display: block;
  object-fit: contain;
  /* Sobre hero oscuro: se ve bien con fondo transparente.
     Si tu PNG tiene fondo negro, activa el filtro de abajo: */
  /* filter: brightness(0) invert(1); */
  transition: filter 0.3s;
}

/* Cuando la navbar scrollea a blanco, el logo no necesita filtro */
.navbar.scrolled .nav-logo-img {
  /* filter: none; */
}

.logo-fallback {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  color: var(--blue-sky);
  font-size: 24px;
}

.logo-text {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  color: var(--navy);
  font-size: 20px;
}

.logo-text span {
  color: var(--blue-sky);
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--charcoal);
  font-weight: 500;
  font-size: 15px;
  transition: color 0.2s;
}

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

.btn-nav {
  background: var(--blue-sky);
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: 8px;
  font-weight: 600;
}

.btn-nav:hover {
  background: var(--blue-mid) !important;
  color: var(--white) !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  border: none;
  background: transparent;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: 0.3s;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  background: linear-gradient(
    135deg,
    var(--navy) 0%,
    #1a4a7a 55%,
    var(--blue-mid) 100%
  );
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding-top: 72px;
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.07;
}

.shape-1 {
  width: 700px;
  height: 700px;
  background: var(--blue-sky);
  top: -250px;
  right: -150px;
}

.shape-2 {
  width: 450px;
  height: 450px;
  background: var(--teal);
  bottom: -150px;
  left: -100px;
}

.shape-3 {
  width: 280px;
  height: 280px;
  background: var(--white);
  top: 60%;
  left: 38%;
  transform: translate(-50%, -50%);
}

/* Two-column hero layout */
.hero > .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  width: 95%;
  max-width: 1350px;
  padding: 0 24px;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 80px 0;
}

.hero-badge {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-title {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(48px, 7vw, 80px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 24px;
}

.gradient-text {
  background: linear-gradient(90deg, var(--blue-sky), var(--teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 560px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-trust {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.trust-item {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

.trust-icon {
  color: var(--teal);
  font-size: 16px;
  font-weight: 700;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), transparent);
}

/* Hero image panel (right column) */
.hero-image-panel {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-img-wrap {
  position: relative;
  width: 100%;
  max-width: 560px;
}

.hero-img-main {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.35);
  display: block;
}

/* Floating stat cards on hero image */
.hero-stat {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-radius: 16px;
  padding: 14px 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}

.hero-stat-icon {
  font-size: 28px;
  line-height: 1;
}

.hero-stat-text strong {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.1;
}

.hero-stat-text span {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

.hero-stat-1 {
  bottom: -20px;
  left: -24px;
}

.hero-stat-2 {
  top: -20px;
  right: -24px;
}

/* Image label overlay */
.img-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(30, 58, 95, 0.75);
  backdrop-filter: blur(8px);
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.5px;
  padding: 5px 12px;
  border-radius: 100px;
  border: 1px dashed rgba(255, 255, 255, 0.3);
  margin-top: 10px;
  pointer-events: none;
  user-select: none;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.25s;
  cursor: pointer;
  border: none;
  font-family: "Inter", sans-serif;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue-sky), var(--teal));
  color: var(--white);
  box-shadow: 0 4px 20px rgba(58, 181, 230, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(58, 181, 230, 0.45);
}

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

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

.btn-card {
  background: transparent;
  color: var(--blue-sky);
  border: 2px solid var(--blue-sky);
  padding: 10px 24px;
  font-size: 14px;
}

.btn-card:hover {
  background: var(--blue-sky);
  color: var(--white);
}

.btn-full {
  width: 100%;
}

/* ============================================================
   SECTION BASE
   ============================================================ */
.section {
  padding: 100px 0;
}

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

.section-tag {
  display: inline-block;
  background: var(--off-white);
  color: var(--blue-mid);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.section-title {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services {
  background: var(--off-white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  margin-bottom: 64px;
}

.service-card {
  background: var(--white);
  border-radius: 20px;
  padding: 40px 32px;
  position: relative;
  transition: all 0.3s;
  border: 2px solid transparent;
  overflow: hidden;
}

/* Service card image */
.service-card-img {
  width: calc(100% + 64px);
  margin: -40px -32px 28px;
  height: 15rem;
  object-fit: cover;
  object-position: center 50%;
  display: block;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(30, 58, 95, 0.12);
  border-color: var(--light-blue);
}

.service-card.featured {
  background: linear-gradient(135deg, var(--navy), #1a4a7a);
  color: var(--white);
  border-color: var(--blue-sky);
}

.featured-badge {
  position: absolute;
  top: 3px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--blue-sky), var(--teal));
  color: var(--white);
  padding: 6px 20px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.service-icon-wrap {
  margin-bottom: 24px;
}

.service-icon {
  font-size: 40px;
}

.service-card h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

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

.service-card p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
  font-size: 15px;
}

.service-card.featured p {
  color: rgba(255, 255, 255, 0.75);
}

.service-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-list li {
  font-size: 14px;
  color: var(--text-muted);
  padding-left: 20px;
  position: relative;
}

.service-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}

.service-card.featured .service-list li {
  color: rgba(255, 255, 255, 0.8);
}

.service-card.featured .service-list li::before {
  color: var(--teal);
}

/* ── Add-ons ─────────────────────────────────────────────────── */
.addons {
  background: var(--white);
  border-radius: 20px;
  padding: 40px;
  text-align: center;
}

.addons-title {
  font-family: "Montserrat", sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 28px;
}

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

.addon-item {
  background: var(--off-white);
  border: 1px solid var(--light-blue);
  border-radius: 100px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s;
  cursor: default;
}

.addon-item:hover {
  background: var(--light-blue);
}

/* ============================================================
   WHY US
   ============================================================ */
.why-us {
  background: var(--white);
}

/* Two-column layout: image left, grid right */
.why-us-inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 72px;
  align-items: center;
}

.why-us-image {
  position: relative;
}

.why-us-img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 24px 64px rgba(30, 58, 95, 0.15);
  display: block;
}

.why-us-img-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: linear-gradient(135deg, var(--blue-sky), var(--teal));
  color: white;
  border-radius: 20px;
  padding: 20px 24px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(58, 181, 230, 0.4);
}

.why-us-img-badge strong {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-size: 32px;
  font-weight: 900;
  line-height: 1;
}

.why-us-img-badge span {
  font-size: 12px;
  font-weight: 600;
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

  @media (max-width: 780px) {
    grid-template-columns: repeat(1, 1fr);
  }
}

.feature-card {
  background: var(--off-white);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.3s;
}

.feature-card:hover {
  background: var(--white);
  box-shadow: 0 10px 40px rgba(30, 58, 95, 0.1);
  transform: translateY(-4px);
}

.feature-icon {
  font-size: 36px;
  margin-bottom: 16px;
}

.feature-card h4 {
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================================
   PROCESS
   ============================================================ */
.process {
  background: linear-gradient(135deg, var(--navy) 0%, #1a4a7a 100%);
}

.process .section-tag {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
}

.process .section-title {
  color: var(--white);
}

/* Process with side image */
.process-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 72px;
  align-items: center;
}

.process-image {
  position: relative;
  order: 2;
}

.process-img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.3);
  display: block;
}

.process-img-overlay {
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background: linear-gradient(
    135deg,
    rgba(30, 58, 95, 0.2),
    rgba(58, 181, 230, 0.1)
  );
}

.process-steps-col {
  order: 1;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  text-align: left;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.step:last-child {
  border-bottom: none;
}

.step-number {
  font-family: "Montserrat", sans-serif;
  font-size: 48px;
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 2px var(--blue-sky);
  line-height: 1;
  flex-shrink: 0;
  width: 72px;
}

.step-content h4 {
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.step-content p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

.step-connector {
  display: none;
}

/* ============================================================
   AREAS
   ============================================================ */
.areas {
  background: var(--off-white);
}

.areas-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 32px;
}

.area-chip {
  background: var(--white);
  border: 2px solid var(--light-blue);
  border-radius: 100px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  transition: all 0.2s;
  cursor: default;
}

.area-chip:hover {
  background: var(--blue-sky);
  color: var(--white);
  border-color: var(--blue-sky);
}

.areas-note {
  text-align: center;
  color: var(--text-muted);
  font-size: 15px;
}

.areas-note a {
  color: var(--blue-sky);
  font-weight: 600;
  text-decoration: none;
}

.areas-note a:hover {
  text-decoration: underline;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials {
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.testimonials .container {
  display: flex;
  flex-direction: column;
}

.testimonials-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.04;
  pointer-events: none;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.testimonial-card {
  background: var(--off-white);
  border-radius: 20px;
  padding: 36px;
  border: 2px solid transparent;
  transition: all 0.3s;
}

.testimonial-card:hover {
  border-color: var(--light-blue);
  box-shadow: 0 10px 40px rgba(30, 58, 95, 0.08);
}

.testimonial-card.featured-testimonial {
  background: linear-gradient(135deg, var(--navy), #1a4a7a);
  border-color: var(--blue-sky);
}

.testimonials-reviews {
  margin: 2rem auto 0 auto;
}

.stars {
  color: #f59e0b;
  font-size: 20px;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testimonial-card p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-card.featured-testimonial p {
  color: rgba(255, 255, 255, 0.85);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-sky), var(--teal));
  color: var(--white);
  font-weight: 700;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.testimonial-author strong {
  display: block;
  font-weight: 700;
  color: var(--text-dark);
  font-size: 15px;
}

.testimonial-card.featured-testimonial .testimonial-author strong {
  color: var(--white);
}

.testimonial-author span {
  font-size: 13px;
  color: var(--text-muted);
}

.testimonial-card.featured-testimonial .testimonial-author span {
  color: rgba(255, 255, 255, 0.6);
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  background: linear-gradient(
    135deg,
    var(--off-white) 0%,
    var(--light-blue) 100%
  );
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}

.contact-info h2 {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 16px;
  margin-top: 12px;
}

.contact-info p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--text-dark);
}

.detail-icon {
  font-size: 20px;
}

/* ── Quote Form ──────────────────────────────────────────────── */
.quote-form {
  background: var(--white);
  border-radius: 24px;
  padding: 48px;
  box-shadow: 0 20px 60px rgba(30, 58, 95, 0.12);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  row-gap: 0;
}

.form-group {
  display: flex;
  flex-direction: column;
  /*gap: 8px;*/
  margin-bottom: 10px;
}

label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
}

.optional {
  font-weight: 400;
  color: var(--text-muted);
}

input,
select,
textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  font-size: 15px;
  font-family: "Inter", sans-serif;
  color: var(--text-dark);
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  outline: none;
  background: var(--white);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue-sky);
  box-shadow: 0 0 0 3px rgba(58, 181, 230, 0.15);
}

select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235a7080' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

textarea {
  resize: vertical;
  min-height: 80px;
}

.field-error {
  font-size: 12px;
  color: #ef4444;
  /*min-height: 16px;*/
  display: block;
}

input.error,
select.error,
textarea.error {
  border-color: #ef4444;
}

.form-disclaimer {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 12px;
}

.form-success {
  text-align: center;
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-sky), var(--teal));
  color: var(--white);
  font-size: 28px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-success h4 {
  font-family: "Montserrat", sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
}

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

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--charcoal);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding: 64px 0 48px;
}

.footer-brand .footer-logo {
  height: 40px;
  margin-bottom: 16px;
}

.footer-logo-fallback {
  color: var(--white);
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 16px;
  display: block;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 14px;
  line-height: 1.7;
  max-width: 260px;
}

.footer-links h5 {
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.footer-links a {
  display: block;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 10px;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--blue-sky);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.4);
  font-size: 13px;
  text-align: center;
}

/* ============================================================
   RESPONSIVE — max-width 768px
   ============================================================ */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition:
      transform 0.3s,
      opacity 0.3s;
    z-index: 999;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  /* Hero: stack on mobile */
  .hero > .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-content {
    padding: 60px 0 20px;
  }

  .hero-image-panel {
    padding-bottom: 60px;
  }

  .hero-img-main {
    height: 300px;
  }

  .hero-stat-1 {
    bottom: -10px;
    left: 0;
  }

  .hero-stat-2 {
    top: -10px;
    right: 0;
  }

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

  .hero-trust {
    gap: 16px;
  }

  /* Why Us: stack */
  .why-us-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .why-us-img {
    height: 300px;
  }

  .why-us-img-badge {
    bottom: -12px;
    right: 12px;
  }

  /* Process: stack */
  .process-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .process-image {
    order: -1;
  }

  .process-img {
    height: 260px;
  }

  .step-connector {
    display: none;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

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

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

/* ============================================================
   ANIMATIONS — initial states for GSAP
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
}

.fade-in {
  opacity: 0;
}

/* ── Active nav link ─────────────────────────────────────────── */
.nav-links a.active {
  color: var(--blue-sky);
  font-weight: 600;
}

/* Navbar links white when not scrolled (over dark hero) */
.navbar:not(.scrolled) .nav-links a:not(.btn-nav) {
  color: rgba(255, 255, 255, 0.85);
}

.navbar:not(.scrolled) .nav-links a:not(.btn-nav):hover {
  color: var(--white);
}

.navbar:not(.scrolled) .hamburger span {
  background: var(--white);
}

/* ── Scroll animation for scroll hint ───────────────────────── */
@keyframes scrollBounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

.hero-scroll-hint {
  animation: scrollBounce 2s ease-in-out infinite;
}

/* ── Add-ons hover cursor ────────────────────────────────────── */
.addon-item {
  cursor: default;
  user-select: none;
}

/* ── Footer responsive small ─────────────────────────────────── */
@media (max-width: 480px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: clamp(38px, 10vw, 56px);
  }

  .quote-form {
    padding: 28px 20px;
  }

  .section {
    padding: 72px 0;
  }

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

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

/* ============================================================
   BEFORE / AFTER SLIDER
   ============================================================ */
.ba-section {
  margin-top: 80px;
  margin-bottom: 64px;
}

.ba-header {
  text-align: center;
  margin-bottom: 36px;
}

.ba-title {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  color: var(--text-dark);
  margin: 12px 0 10px;
}

.ba-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Tabs */
.ba-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.ba-tab {
  padding: 10px 28px;
  border-radius: 100px;
  border: 2px solid var(--light-blue);
  background: var(--white);
  color: var(--text-muted);
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.ba-tab:hover {
  border-color: var(--blue-sky);
  color: var(--blue-sky);
}

.ba-tab.active {
  background: linear-gradient(135deg, var(--blue-sky), var(--teal));
  border-color: transparent;
  color: var(--white);
  box-shadow: 0 4px 16px rgba(58, 181, 230, 0.35);
}

/* Slider panels */
.ba-sliders {
  position: relative;
}

.ba-slider {
  display: none;
}

.ba-slider.active {
  display: block;
}

/* The comparison container */
.ba-container {
  position: relative;
  width: 100%;
  height: 480px;
  border-radius: 20px;
  overflow: hidden;
  cursor: col-resize;
  user-select: none;
  box-shadow: 0 24px 64px rgba(30, 58, 95, 0.18);
}

.ba-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left;
  display: block;
  pointer-events: none;
  @media (max-width: 768px) {
    object-position: 43%;
  }
}

/* Before image sits on top, clipped by inline width */
.ba-before-wrap {
  position: absolute;
  inset: 0;
  width: 50%; /* controlled by JS */
  overflow: hidden;
  will-change: width;
}

.ba-before-wrap .ba-img {
  width: auto; /* keep natural aspect, container clips */
  min-width: 100%;
  /* match the full container width so the image doesn't stretch */
  width: 100%;
  max-width: none;
  @media (max-width: 768px) {
    width: calc(100vw - 5.5%);
    object-position: 50%;
  }
}

/* Labels */
.ba-label {
  position: absolute;
  top: 20px;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  pointer-events: none;
  z-index: 3;
}

.ba-label-before {
  left: 20px;
  background: rgba(30, 58, 95, 0.85);
  color: var(--white);
  backdrop-filter: blur(6px);
}

.ba-label-after {
  right: 20px;
  background: linear-gradient(135deg, var(--blue-sky), var(--teal));
  color: var(--white);
}

/* Divider line */
.ba-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%; /* controlled by JS */
  width: 3px;
  background: var(--white);
  transform: translateX(-50%);
  z-index: 4;
  pointer-events: none;
  will-change: left;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.3);
}

/* Drag handle */
.ba-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-sky), var(--teal));
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
  cursor: col-resize;
  transition:
    transform 0.15s,
    box-shadow 0.15s;
}

.ba-handle:hover,
.ba-container.dragging .ba-handle {
  transform: translate(-50%, -50%) scale(1.15);
  box-shadow: 0 6px 28px rgba(58, 181, 230, 0.5);
}

/* Touch hint animation on first load */
@keyframes baHint {
  0% {
    left: 50%;
  }
  30% {
    left: 35%;
  }
  60% {
    left: 65%;
  }
  100% {
    left: 50%;
  }
}

.ba-divider.hint {
  animation: baHint 1.6s ease-in-out forwards;
}

.ba-before-wrap.hint {
  animation: baHintClip 1.6s ease-in-out forwards;
}

@keyframes baHintClip {
  0% {
    width: 50%;
  }
  30% {
    width: 35%;
  }
  60% {
    width: 65%;
  }
  100% {
    width: 50%;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .ba-container {
    height: 300px;
  }
}

/* ============================================================
   AREAS — new two-column layout with map
   ============================================================ */
.areas-inner {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 48px;
  align-items: start;
}

.areas-left {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.areas-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 0;
}

.area-chip {
  background: var(--white);
  border: 2px solid var(--light-blue);
  border-radius: 100px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  transition: all 0.2s;
  cursor: pointer;
}

.area-chip:hover,
.area-chip.active {
  background: var(--blue-sky);
  color: var(--white);
  border-color: var(--blue-sky);
  box-shadow: 0 4px 16px rgba(58, 181, 230, 0.3);
}

/* Legend */
.map-legend {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  background: var(--white);
  border-radius: 14px;
  border: 1px solid var(--light-blue);
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

.legend-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 2px solid white;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

/* Map wrapper */
.areas-map-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.areas-map-wrap .leaflet-bottom.leaflet-right {
  display: none;
}

#luminex-map {
  width: 100%;
  height: 480px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(30, 58, 95, 0.15);
  border: 2px solid var(--light-blue);
  z-index: 0;
}

.map-caption {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
}

/* Override Leaflet popup to match brand */
.leaflet-popup-content-wrapper {
  border-radius: 12px !important;
  box-shadow: 0 8px 32px rgba(30, 58, 95, 0.18) !important;
  border: none !important;
  font-family: "Inter", sans-serif !important;
}

.leaflet-popup-tip {
  background: white !important;
}

.map-popup-title {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--navy);
  margin-bottom: 4px;
}

.map-popup-sub {
  font-size: 13px;
  color: var(--text-muted);
}

/* Responsive areas */
@media (max-width: 900px) {
  .areas-inner {
    grid-template-columns: 1fr;
  }

  #luminex-map {
    height: 360px;
  }
}

@media (max-width: 480px) {
  #luminex-map {
    height: 280px;
  }
}

/* ============================================================
   CSS-BASED SCROLL ANIMATIONS (IntersectionObserver)
   Replaces GSAP for cards/grids — guaranteed visible fallback
   ============================================================ */

/* Fade up (service cards, testimonials, contact) */
.anim-hidden {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.55s ease,
    transform 0.55s ease;
}

/* Slide from left (process steps) */
.anim-hidden-left {
  opacity: 0;
  transform: translateX(-28px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}

/* Scale up (area chips) */
.anim-hidden-scale {
  opacity: 0;
  transform: scale(0.82);
  transition:
    opacity 0.4s ease,
    transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Visible state — applied by IntersectionObserver */
.anim-visible {
  opacity: 1 !important;
  transform: none !important;
}

/* Safety net: if JS fails or is slow, never leave content invisible */
@media (prefers-reduced-motion: reduce) {
  .anim-hidden,
  .anim-hidden-left,
  .anim-hidden-scale {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ============================================================
   FLOATING PHONE BUTTON (FAB)
   ============================================================ */
.fab-phone {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
  cursor: pointer;
}

/* Icon circle */
.fab-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-sky), var(--teal));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(58, 181, 230, 0.45);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

/* Pulse ring */
.fab-icon::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(58, 181, 230, 0.45);
  animation: fabPulse 2.2s ease-out infinite;
}

@keyframes fabPulse {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  70% {
    transform: scale(1.5);
    opacity: 0;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

/* Label — hidden by default, slides in on hover */
.fab-label {
  background: var(--navy);
  color: var(--white);
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  padding: 8px 16px 8px 20px;
  border-radius: 100px 0 0 100px;
  margin-right: -8px; /* tucks behind the icon */
  letter-spacing: 0.3px;

  /* hidden state */
  opacity: 0;
  transform: translateX(12px);
  pointer-events: none;
  transition:
    opacity 0.28s ease,
    transform 0.28s ease;
}

/* Hover — show label, lift icon */
.fab-phone:hover .fab-label,
.fab-phone:focus-visible .fab-label {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.fab-phone:hover .fab-icon,
.fab-phone:focus-visible .fab-icon {
  transform: scale(1.1);
  box-shadow: 0 10px 32px rgba(58, 181, 230, 0.55);
}

/* Mobile — smaller, keep it tidy */
@media (max-width: 480px) {
  .fab-phone {
    bottom: 20px;
    right: 20px;
  }

  .fab-icon {
    width: 50px;
    height: 50px;
  }
}
