/* ==============================================
   aires.css — Página Completa Aires Acondicionados
   ============================================== */

/* ---- Page Background ---- */
body.page-aires {
  background: #fdfeff;
  color: #1e293b;
}

/* ---- Nav Bar ---- */
.page-nav {
  position: fixed;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 3rem);
  max-width: 1200px;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 2.5rem;
  background: rgba(10, 15, 25, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.35);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  color: #fff;
}

/* Center nav links on desktop when no right button exists */
@media (min-width: 681px) {
  .nav-links {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
}

/* Center nav links on desktop when no right button exists */
@media (min-width: 681px) {
  .nav-links {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
}

.page-nav.scrolled {
  top: 0.8rem;
  padding: 0.6rem 2.5rem;
  background: rgba(10, 15, 25, 0.98);
  width: calc(100% - 2rem);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

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

.nav-link {
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all var(--t-fast);
  position: relative;
  padding: 0.4rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--aires-accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover {
  color: #fff;
}

.nav-link.active {
  color: var(--aires-accent);
}

.nav-link.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-logo img {
  height: 48px;
  width: auto;
  transition: transform 0.3s ease;
}

.nav-logo:hover img {
  transform: scale(1.05);
}

.nav-home {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  color: #fff;
  text-transform: uppercase;
  font-weight: 700;
  padding: 0.5rem 1.2rem;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all var(--t-fast);
}

.nav-home:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
}

/* ---- Hero ---- */
.aires-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.aires-hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('../img/aires-datacenter-bg.png');
  background-size: cover;
  background-position: center;
  filter: brightness(0.65);
  transform: scale(1.02);
  animation: slowZoom 25s ease-in-out infinite alternate;
}

@keyframes slowZoom {
  from {
    transform: scale(1.05);
  }

  to {
    transform: scale(1.12);
  }
}

.aires-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(253, 254, 255, 0.95) 0%, rgba(253, 254, 255, 0.45) 100%);
}

.aires-hero__content {
  position: relative;
  z-index: 2;
  padding: 6.5rem 5.5rem 4rem;
  /* Reducido de 8rem / 5rem */
  max-width: 1200px;
  /* Expanded for side-by-side */
  width: 100%;
}

.hero-main-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4rem;
}

.hero-text-col {
  flex: 1;
  max-width: 720px;
}

.hero-actions-col {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.aires-hero__label {
  font-size: 0.78rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--aires-primary);
  font-weight: 700;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.aires-hero__label::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--aires-primary);
}

.aires-hero__title {
  font-family: var(--font-head);
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  font-weight: 900;
  line-height: 1.05;
  color: #0f172a;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.aires-hero__title span {
  background: linear-gradient(90deg, var(--aires-primary), var(--aires-mid));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.aires-hero__desc {
  font-size: 1.1rem;
  line-height: 1.75;
  color: #475569;
  margin-bottom: 2.5rem;
  max-width: 560px;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  /* Stacked on the right */
  gap: 1.2rem;
  width: 100%;
  min-width: 240px;
}

/* Snowflake deco */
.snowflake-deco {
  position: absolute;
  right: 6%;
  top: 50%;
  transform: translateY(-50%);
  font-size: clamp(8rem, 14vw, 14rem);
  opacity: 0.06;
  animation: spin-slow 60s linear infinite;
  pointer-events: none;
  z-index: 1;
  line-height: 1;
  user-select: none;
}

/* ---- Sections Common ---- */
.section {
  padding: 1.5rem 5.5rem 4rem; /* Reduced top padding */
  position: relative;
  scroll-margin-top: 100px; /* Offset for fixed navbar */
}

.section-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.section-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem; /* Reduced gap to allow wider cards */
}

.section-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.section-header {
  text-align: center;
  margin-bottom: 1.2rem; /* Reduced from 1.8rem */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-header .eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--aires-mid);
  font-weight: 800;
  margin-bottom: 0.8rem;
  background: rgba(59, 130, 246, 0.08);
  /* Pill style */
  padding: 0.5rem 1.2rem;
  border-radius: 20px;
}

.section-header h2 {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.015em;
  position: relative;
  max-width: 800px;
}

.section-header h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--aires-mid), var(--aires-accent));
  margin: 1rem auto 0;
  border-radius: 2px;
}

.section-header p {
  margin: 1.5rem auto 0;
  /* More space below title */
  font-size: 1.15rem;
  color: #475569;
  max-width: 650px;
  line-height: 1.6;
}

/* Override for dark sections */
#services .section-header .eyebrow {
  background: rgba(255, 255, 255, 0.1);
  color: var(--aires-accent);
}

#services .section-header h2 {
  color: #ffffff;
}

#services .section-header p {
  color: rgba(255, 255, 255, 0.82);
}

/* ---- Services (Vibrant Redesign) ---- */
#services {
  background: radial-gradient(circle at 0% 0%, #0f172a 0%, #1e3a8a 100%);
  position: relative;
  z-index: 10;
  margin-top: -80px;
  border-top-left-radius: 60px;
  border-top-right-radius: 60px;
  padding-top: 0.75rem; /* Half of previous 1.5rem */
  padding-bottom: 3rem;
  box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.4);
  scroll-margin-top: 100px;
}

#services .section-header h2,
#services .section-header p {
  color: #ffffff;
}

#services .section-header .eyebrow {
  color: var(--aires-accent);
  text-shadow: 0 0 15px rgba(125, 211, 252, 0.3);
}

.service-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 32px;
  padding: 1.5rem 1.8rem; /* Reduced vertical padding from 2.2rem */
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, #00d2ff, #3a7bd5);
  opacity: 0.4;
  transition: opacity 0.4s ease;
}

/* Text colors set in consolidated block below */

.service-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
}

.service-card:hover .service-icon {
  background: #3a7bd5;
  color: #fff;
  box-shadow: 0 0 30px rgba(58, 123, 213, 0.4);
}

.service-icon {
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  color: var(--aires-accent);
  transition: all 0.5s var(--t-smooth);
}

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

.service-card:hover .service-icon {
  background: var(--aires-primary);
  color: #fff;
  transform: scale(1.1);
}

.service-card h3 {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.6rem;
}

.service-card p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
}

/* ---- Brands ---- */
#brands {
  background: #ffffff;
  border-top: 1px solid #f1f5f9;
  border-bottom: 1px solid #f1f5f9;
}

/* ---- Brands Carousel ---- */
#brands {
  background: #ffffff;
  border-top: 1px solid #f1f5f9;
  border-bottom: 1px solid #f1f5f9;
  padding: 2.5rem 0 4rem; /* Reduced top */
  overflow: hidden;
  scroll-margin-top: 100px;
}

.brands-carousel-container {
  position: relative;
  width: 100%;
}

/* Gradient Mask for fading edges */
.brands-carousel-container::before,
.brands-carousel-container::after {
  content: "";
  position: absolute;
  top: 0;
  width: 10rem;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.brands-carousel-container::before {
  left: 0;
  background: linear-gradient(to right, #ffffff 0%, transparent 100%);
}

.brands-carousel-container::after {
  right: 0;
  background: linear-gradient(to left, #ffffff 0%, transparent 100%);
}

.brands-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: scrollBrands 50s linear infinite;
}

.brands-track:hover {
  animation-play-state: paused;
}

@keyframes scrollBrands {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-1 * (13 * 220px)));
  }

  /* 13 items * item width */
}

.brand-item {
  width: 220px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 2rem;
  flex-shrink: 0;
}

.brand-item img {
  height: 55px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  filter: none;
  opacity: 1;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --base-scale: 1;
  transform: scale(var(--base-scale));
}

.brand-item:hover img {
  filter: brightness(1.08);
  transform: scale(calc(var(--base-scale) * 1.08));
}

/* Ajustes ópticos para balancear el peso visual de cada logo */
.brand-item img[src*="gree"],
.brand-item img[src*="trane"],
.brand-item img[src*="schneider"],
.brand-item img[src*="emerson"],
.brand-item img[src*="logo-lg"],
.brand-item img[src*="mitsubishi"],
.brand-item img[src*="midea"] {
  --base-scale: 1.35;
}

.brand-item img[src*="york"],
.brand-item img[src*="eaton"] {
  --base-scale: 0.9;
}

@media (max-width: 768px) {
  .brands-track {
    gap: 50px;
  }

  .brand-item {
    width: 80px;
    padding: 0;
  }

  .brand-item img {
    height: 32px;
  }

  @keyframes scrollBrands {
    0% {
      transform: translateX(0);
    }

    100% {
      transform: translateX(calc(-1 * (13 * (80px + 50px))));
    }
  }
}

/* ---- Why AIRNOX (Vibrant) ---- */
#why {
  background: #ffffff;
}

.why-card {
  text-align: center;
  padding: 3.5rem 2.5rem;
  background: #f8fbff;
  border: 1px solid rgba(59, 130, 246, 0.08);
  border-radius: 40px;
  transition: all 0.5s ease;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.why-card h3 {
  color: var(--aires-primary); /* Azul profundo de marca */
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 1.5rem; /* Más espacio bajo el título */
  line-height: 1.3;
}

.why-card p {
  text-align: justify; /* Texto justificado */
  text-justify: inter-word;
  line-height: 1.7;
  color: #475569;
  margin: 0;
  /* Para que el justificado se vea bien en bloques pequeños */
  hyphens: auto;
}

.why-card:hover {
  background: #ffffff;
  box-shadow: 0 30px 60px rgba(30, 58, 138, 0.15);
  transform: translateY(-10px);
  border-color: var(--aires-mid);
}

.why-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 2rem;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--aires-primary), var(--aires-mid));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 20px rgba(30, 58, 138, 0.2);
}

.why-icon svg {
  width: 36px;
  height: 36px;
}

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

/* ---- About Us (Carrusel Moderno) ---- */
.about-section {
  background: #ffffff;
  padding: 1.5rem 5.5rem 8rem; /* Reduced top padding */
  overflow: hidden;
  border-top: 1px solid #f1f5f9;
  border-bottom: 1px solid #f1f5f9;
  scroll-margin-top: 100px;
}

.about-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  grid-template-rows: auto 1fr; /* Row 1 for eyebrow, Row 2 for the rest */
  gap: 0 5rem; /* Only horizontal gap, vertical gap handled by margin if needed */
  align-items: stretch;
}

/* ── Visual / Carrusel ── */
.about-visual {
  position: relative;
  height: 100%;
  grid-row: 2; /* Move to second row */
  grid-column: 1;
}

.about-carousel {
  position: relative;
  width: 100%;
  height: 100%; /* Matches parent grid cell height */
  min-height: 480px; /* Safety minimum */
  border-radius: 32px;
  overflow: hidden;
  box-shadow:
    0 30px 80px rgba(15, 23, 42, 0.14),
    0 0 0 1px rgba(15, 23, 42, 0.05);
  background: #0f172a;
  cursor: grab;
}

.about-carousel:active {
  cursor: grabbing;
}

/* Slides */
.carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.75s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.carousel-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.03);
  transition: transform 6s ease-in-out;
}

.carousel-slide.active img {
  transform: scale(1);
}

/* Overlay degradado inferior */
.carousel-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 55%;
  background: linear-gradient(to top,
      rgba(10, 15, 30, 0.82) 0%,
      rgba(10, 15, 30, 0.3) 55%,
      transparent 100%);
  pointer-events: none;
  z-index: 2;
}

/* Botones prev / next */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.carousel-btn:hover {
  background: var(--aires-primary, #1e3a8a);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 8px 24px rgba(30, 58, 138, 0.5);
}

.carousel-btn--prev {
  left: 1rem;
}

.carousel-btn--next {
  right: 1rem;
}

.carousel-btn svg {
  width: 20px;
  height: 20px;
}

/* Dots */
.carousel-dots {
  position: absolute;
  bottom: 1.4rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  padding: 0;
  transition: all 0.35s ease;
}

.carousel-dot.active {
  background: #ffffff;
  width: 28px;
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Contador */
.carousel-counter {
  position: absolute;
  top: 1.2rem;
  right: 1.4rem;
  z-index: 10;
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  letter-spacing: 0.08em;
  font-family: var(--font-head);
}


/* ── Contenido de texto ── */
.about-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 1.5rem;
  height: auto;
  grid-row: 2; /* Move to second row */
  grid-column: 2;
}

.about-eyebrow {
  grid-row: 1;
  grid-column: 2;
  align-self: flex-start;
  font-size: 0.72rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--aires-mid, #3b82f6);
  font-weight: 800;
  background: rgba(59, 130, 246, 0.08);
  padding: 0.5rem 1.2rem;
  border-radius: 20px;
  margin-bottom: 1.5rem;
  display: inline-block;
  width: fit-content;
}

.about-content h2 {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  font-weight: 900;
  color: #0f172a;
  line-height: 1.1;
  letter-spacing: -0.02em;
  position: relative;
  padding-bottom: 1.5rem;
  max-width: 900px; /* Increased limit since column is wider now */
  margin-bottom: 1rem;
}

.about-content h2::after {
  content: '';
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--aires-mid, #3b82f6), var(--aires-accent, #7dd3fc));
  border-radius: 2px;
}

.about-p {
  font-size: 1.08rem;
  line-height: 1.85;
  color: #475569;
  margin-bottom: 0.8rem;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .about-section {
    padding: 5rem 3rem; /* Balanced mobile padding */
  }

  .about-container {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .about-carousel {
    height: 460px;
    max-width: 600px;
    margin: 0 auto;
  }

  .experience-badge {
    left: -0.5rem;
    bottom: 2.5rem;
  }
}

@media (max-width: 680px) {
  .about-section {
    padding: 4rem 1.5rem;
  }

  .about-carousel {
    height: 320px;
    border-radius: 20px;
  }

  .experience-badge {
    left: 0.5rem;
    bottom: 1.5rem;
    padding: 1.2rem 1rem;
    border-radius: 20px;
  }

  .experience-badge .num {
    font-size: 1.7rem;
  }

  .carousel-btn {
    width: 38px;
    height: 38px;
  }
}

/* ---- CTA (Vibrant) — Updated with Form ---- */
#cta-final {
  background: #0f172a;
  color: #ffffff;
  padding: 3rem 1.5rem 6rem; /* Reduced top padding */
  position: relative;
  overflow: hidden;
  scroll-margin-top: 100px;
}

.cta-container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
  text-align: left;
  position: relative;
  z-index: 5;
}

#cta-final h2 {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 900;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

#cta-final p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  max-width: 450px;
}

/* ---- Footer ---- */
/* ---- Footer Redesign ---- */
.aires-footer {
  background: radial-gradient(circle at top, #0d1829 0%, #060c14 100%);
  color: rgba(255, 255, 255, 0.7);
  position: relative;
  overflow: hidden;
  padding-top: 3rem;
}

.aires-footer__top-border {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(125, 211, 252, 0.3) 50%, transparent 100%);
  box-shadow: 0 0 15px rgba(125, 211, 252, 0.2);
}

.aires-footer__snowflake {
  position: absolute;
  top: 10%;
  right: 5%;
  font-size: 12rem;
  color: #fff;
  opacity: 0.03;
  user-select: none;
  pointer-events: none;
  animation: spin-slow 100s linear infinite;
}

.footer-main-grid {
  display: grid;
  grid-template-columns: 1.5fr 1.2fr 1fr;
  gap: 4rem;
  padding-bottom: 4rem;
}

.footer-brand .nav-logo {
  margin-bottom: 1.5rem;
  display: block;
}

.brand-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 2rem;
  max-width: 320px;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-btn {
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: all var(--t-fast);
}

.social-btn:hover {
  background: var(--aires-primary);
  border-color: var(--aires-accent);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3);
}

.social-btn svg {
  width: 20px;
  height: 20px;
}

.footer-h {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--aires-accent);
  margin-bottom: 2rem;
}

.footer-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.footer-list li {
  font-size: 0.95rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.list-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.05em;
}

.footer-list a {
  color: #fff;
  transition: color var(--t-fast), transform var(--t-fast);
  display: inline-block;
}

.footer-list a:hover {
  color: var(--aires-accent);
  transform: translateX(5px);
}

.aires-footer__bottom {
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1.5rem 0;
}

.bottom-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

.bottom-flex strong {
  color: rgba(255, 255, 255, 0.8);
}

.back-link {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--aires-accent);
  opacity: 0.6;
  transition: opacity var(--t-fast);
}

.back-link:hover {
  opacity: 1;
}

@media (max-width: 1024px) {
  .footer-main-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .footer-brand {
    grid-column: span 2;
  }
}

@media (max-width: 680px) {
  .footer-main-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand {
    grid-column: span 1;
  }

  .brand-text {
    margin-inline: auto;
  }

  .social-links {
    justify-content: center;
  }

  .bottom-flex {
    flex-direction: column;
    gap: 1.2rem;
    text-align: center;
  }
}

#scrollTop {
  bottom: 7.5rem !important;
  /* Move up to clear WhatsApp */
}

/* ---- Burger button (mobile nav) ---- */
.nav-right {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.aires-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.aires-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.aires-burger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.aires-burger.open span:nth-child(2) {
  opacity: 0;
}

.aires-burger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .section {
    padding: 5rem 3rem;
    scroll-margin-top: 80px; /* Smaller offset for mobile navbar */
  }

  .aires-hero__content {
    padding: 8rem 3rem 5rem;
  }

  /* Form Responsiveness */
  .cta-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  #cta-final p {
    max-width: 100%;
    margin-inline: auto;
  }

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

  .hero-main-flex {
    flex-direction: column;
    align-items: flex-start;
    gap: 2.5rem;
  }

  .hero-actions {
    flex-direction: row;
    align-items: center;
  }

  /* Horizontal on mobile */
  .section-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .timeline {
    flex-direction: column;
    gap: 2rem;
  }

  .timeline::before {
    display: none;
  }

  .step-num {
    margin-bottom: 0.8rem;
  }

  .nav-links {
    gap: 1rem;
  }
}

@media (max-width: 680px) {
  .section {
    padding: 4rem 1.5rem;
  }

  .aires-hero__content {
    padding: 6rem 1.5rem 3rem;
  }

  /* Stack hero text and buttons vertically */
  .hero-main-flex {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
  }

  .hero-actions-col {
    width: 100%;
    align-items: flex-start;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 1rem;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .section-grid-2,
  .section-grid-3 {
    grid-template-columns: 1fr;
  }

  .brands-track {
    animation-duration: 40s;
  }

  /* Mobile nav — hide links by default, show burger */
  .nav-links {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(10, 15, 25, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem 2rem 2rem;
    gap: 1.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    z-index: 99;
  }

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

  /* Close nav links when clicked */
  .nav-links .nav-link {
    font-size: 1.1rem;
    padding: 0.5rem 0;
  }

  .aires-burger {
    display: flex;
  }

  /* Hide "Volver" text on very small screens */
  .nav-home span {
    display: none;
  }

  /* ---- Professional Brands Mobile ---- */
  .brands-track {
    gap: 50px;
    padding: 1rem 0;
  }

  .brand-item {
    width: 80px;
    padding: 0;
    flex-shrink: 0;
  }

  .brand-item img {
    height: 32px;
    width: auto;
    filter: none;
    opacity: 1;
    transition: filter 0.3s ease;
  }

  /* ---- About Us Mobile (Clean Stacking) ---- */
  .about-section {
    padding: 5rem 1.5rem;
  }

  .about-container {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 3rem;
    text-align: center;
  }

  .about-visual {
    grid-row: unset;
    grid-column: unset;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
  }

  .about-carousel {
    height: 320px; /* Balanced height for mobile */
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
  }

  .carousel-btn {
    width: 38px;
    height: 38px;
    background: rgba(15, 23, 42, 0.4); /* Darker for contrast on mobile */
  }

  .carousel-dots {
    bottom: 1rem;
    gap: 0.5rem;
  }

  .carousel-dot {
    width: 6px;
    height: 6px;
  }

  .carousel-counter {
    top: 1rem;
    right: 1rem;
    padding: 0.3rem 0.6rem;
    font-size: 0.7rem;
    background: rgba(15, 23, 42, 0.6);
  }

  .about-content {
    grid-row: unset;
    grid-column: unset;
    align-items: center;
    padding: 0 0.5rem;
    height: auto; /* Reset fixed height for mobile */
  }

  .about-eyebrow {
    grid-row: unset;
    grid-column: unset;
    margin: 0 auto 0.5rem;
  }

  .about-content h2 {
    font-size: 2.1rem;
    margin-bottom: 0.5rem;
    line-height: 1.15;
  }

  .about-p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #475569;
  }

  .experience-badge {
    padding: 0.9rem 1rem;
    border-radius: 20px;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%) rotate(-2deg) !important; /* Center it on mobile */
    right: auto;
    animation: float-badge-mobile 4s ease-in-out infinite;
  }

  @keyframes float-badge-mobile {
    0%, 100% { transform: translateX(-50%) translateY(0) rotate(-2deg); }
    50% { transform: translateX(-50%) translateY(-10px) rotate(-2deg); }
  }

  .experience-badge .num {
    font-size: 1.8rem;
  }

  .experience-badge .txt {
    font-size: 0.6rem;
  }
}

@media (max-width: 480px) {
  .about-carousel {
    height: 260px;
  }
  
  .about-content h2 {
    font-size: 1.8rem;
  }
  
  .carousel-btn {
    display: none; /* Hide buttons on very small screens, rely on swipe/dots */
  }
}

/* ==============================================
   Service Modals & Arrow Buttons
   ============================================== */

.service-card {
  display: flex;
  flex-direction: column;
}

.service-modal-btn {
  margin-top: auto;
  align-self: flex-end;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  margin-top: 1.5rem;
}

.service-modal-btn svg {
  width: 20px;
  height: 20px;
  transition: transform 0.4s ease;
}

.service-modal-btn:hover {
  background: var(--aires-primary);
  border-color: var(--aires-primary);
  box-shadow: 0 0 20px rgba(30, 58, 138, 0.4);
}

.service-modal-btn:hover svg {
  transform: translateX(3px);
}

/* Modal Core */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 15, 25, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  width: 90%;
  max-width: 1400px;
  height: 85vh;
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 32px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 50px 100px rgba(0, 0, 0, 0.5);
  transform: scale(0.95) translateY(20px);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.modal-close:hover {
  background: #ef4444;
  transform: rotate(90deg);
}

.modal-content {
  height: 100%;
  overflow-y: auto;
  padding: 4rem;
  color: #fff;
}

/* Modal Content Styles */
.modal-title {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 2rem;
  background: linear-gradient(90deg, #fff, var(--aires-accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.modal-text h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--aires-accent);
}

.modal-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.5rem;
}

.modal-list {
  list-style: none;
  padding: 0;
}

.modal-list li {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  position: relative;
}

.modal-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--aires-accent);
}

.modal-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

/* Maintenance Modal Specific */
.modal-maintenance-header {
  margin-bottom: 3rem;
}

.mini-carousel {
  width: 100%;
  height: 450px;
  position: relative;
  border-radius: 24px;
  overflow: hidden;
}

.mini-carousel-track {
  width: 100%;
  height: 100%;
  position: relative;
}

.mini-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.mini-slide.active {
  opacity: 1;
}

.mini-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mini-carousel-controls {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 1rem;
  transform: translateY(-50%);
  pointer-events: none;
}

.mini-carousel-controls button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  cursor: pointer;
  pointer-events: auto;
  transition: background 0.3s;
}

.mini-carousel-controls button:hover {
  background: var(--aires-primary);
}

.mini-carousel-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
}

.mini-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
}

.mini-dot.active {
  background: #fff;
  transform: scale(1.2);
}

.maintenance-types {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.m-type-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.m-type-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  margin: 0 auto 1.5rem;
  color: var(--aires-accent);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.m-type-icon svg {
  width: 35px;
  height: 35px;
}

.m-type-card:hover .m-type-icon {
  background: var(--aires-primary);
  color: #fff;
  transform: scale(1.15) rotate(5deg);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 15px 30px rgba(30, 58, 138, 0.4);
}

.m-type-card h4 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  color: var(--aires-accent);
}

.m-type-card p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

/* Mobile Adjustments for Modal */
@media (max-width: 768px) {
  .modal-container {
    width: 100%;
    height: 100%;
    border-radius: 0;
  }

  .modal-content {
    padding: 3rem 1.5rem;
  }

  .modal-title {
    font-size: 2.2rem;
  }

  .modal-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .maintenance-types {
    grid-template-columns: 1fr;
  }

  .mini-carousel {
    height: 250px;
  }
}

/* Custom Scrollbar for Modal */
.modal-content::-webkit-scrollbar {
  width: 8px;
}

.modal-content::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
}

.modal-content::-webkit-scrollbar-thumb {
  background: var(--aires-primary);
  border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
  background: var(--aires-mid);
}