@import url('../plugins/owl-carousel/owl.carousel.min.css');

/* ---------------------------------------
   PARALLAX BACKGROUNDS
   --------------------------------------- */
.parallax-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: none !important;
  z-index: 0;
}

/* ═══════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--navy-900);
}

.hero-video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 0;
  transform: translate(-50%, -50%);
  object-fit: cover;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(6,14,26,0.88) 0%,
    rgba(13,43,78,0.75) 40%,
    rgba(6,14,26,0.82) 100%
  );
  z-index: 1;
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.hero-particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: rgba(200,147,58,0.4);
  border-radius: 50%;
  animation: floatParticle var(--duration, 8s) var(--delay, 0s) infinite ease-in-out;
}

@keyframes floatParticle {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0; }
  10% { opacity: 1; }
  50% { transform: translate(var(--tx, 50px), var(--ty, -80px)) scale(1.5); opacity: 0.6; }
  90% { opacity: 0; }
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 820px;
  padding: 8rem 2rem 1rem;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(200,147,58,0.12);
  border: 1px solid rgba(200,147,58,0.3);
  color: var(--gold-300);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.5rem 1.3rem;
  border-radius: 100px;
  margin-bottom: 2rem;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-500);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(200,147,58,0.5); }
  50% { opacity: 0.5; box-shadow: 0 0 0 6px rgba(200,147,58,0); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.06;
  color: var(--white);
  margin-bottom: 0;
}

.hero-title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-200));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-line {
  width: 70px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-300));
  margin: 1.8rem auto;
  border-radius: 3px;
}

.hero-subtitle {
  font-size: 1.08rem;
  font-weight: 300;
  color: rgba(255,255,255,0.7);
  line-height: 1.85;
  max-width: 600px;
  margin: 0 auto;
}

.hero-subtitle strong {
  color: rgba(255,255,255,0.95);
  font-weight: 600;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold-300);
  line-height: 1;
  display: block;
}

.stat-number::before {
  content: '+';
  font-size: 0.7em;
}

.stat-label {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 0.4rem;
  display: block;
  white-space: nowrap;
}

/* Hero Scroll Indicator */
.hero-scroll-indicator {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  margin-top: 1rem;
  padding-bottom: 2.5rem;
  animation: fadeInUp 0.8s 1.2s both;
}

.hero-scroll-indicator span {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

.scroll-arrow {
  width: 20px;
  height: 30px;
  border: 2px solid rgba(255,255,255,0.25);
  border-radius: 10px;
  position: relative;
}

.scroll-arrow::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 6px;
  background: var(--gold-400);
  border-radius: 3px;
  animation: scrollBounce 1.5s infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
  50% { transform: translateX(-50%) translateY(8px); opacity: 0.3; }
}

/* ═══════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all 0.3s var(--ease-out);
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
  color: var(--white);
  box-shadow: 0 4px 20px rgba(200,147,58,0.35);
}

.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-300));
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(200,147,58,0.5);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.3);
}

.btn-ghost:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
  transform: translateY(-3px);
}

.btn-dark {
  background: var(--navy-700);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(13,43,78,0.3);
}

.btn-dark:hover {
  background: var(--navy-600);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(13,43,78,0.4);
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1rem;
}

/* Estilo para el botón/enlace social */
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: #a1a1aa; /* Gris neutro */
  transition: color 0.3s ease, transform 0.3s ease;
  text-decoration: none;
}

.social-icon {
transition: transform 0.3s ease;
}

/* Efecto Hover elegante (estilo Pumanque en tono dorado) */
.social-link:hover {
  color: #0a66c2; /* Azul corporativo de LinkedIn (o puedes usar tu dorado var(--gold-400)) */
}

.social-link:hover .social-icon {
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════
   SECTIONS
   ═══════════════════════════════════════ */
.section {
  padding: var(--section-pad) 0;
  position: relative;
}

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

.section-dark {
  background: var(--navy-800);
  overflow: hidden;
}

.section-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 0.8rem;
}

.section-tag.gold {
  color: var(--gold-300);
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--navy-700);
  line-height: 1.2;
  margin-bottom: 0.6rem;
}

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

.section-heading em {
  font-style: italic;
  color: var(--gold-500);
}

.section-desc {
  font-size: 0.95rem;
  color: var(--gray-500);
  max-width: 540px;
  margin: 0.5rem auto 0;
  line-height: 1.7;
}

.section-desc.light {
  color: rgba(255,255,255,0.5);
}

.section-cta {
  text-align: center;
  margin-top: 3rem;
}

/* ═══════════════════════════════════════
   SPLIT LAYOUT (Intro Section)
   ═══════════════════════════════════════ */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.split-visual {
  min-width: 0;
}

.split-text p {
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--gray-600);
  margin-bottom: 1rem;
}

.split-text p strong {
  color: var(--navy-700);
}

.split-text .section-heading {
  margin-bottom: 1.5rem;
}

/* Quote Box */
.quote-box {
  background: var(--navy-700);
  border-radius: 0;
  padding: 2rem 2.2rem;
  margin: 1.8rem 0 2rem;
  position: relative;
  overflow: hidden;
}

.quote-box::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 16px;
  font-family: var(--font-display);
  font-size: 6rem;
  color: rgba(200,147,58,0.15);
  line-height: 1;
}

.quote-text {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-style: italic;
  color: rgba(255,255,255,0.88) !important;
  line-height: 1.75;
  position: relative;
  z-index: 1;
}

.quote-author {
  display: block;
  margin-top: 1rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-style: normal;
  color: var(--gold-300);
  font-weight: 600;
  letter-spacing: 0.05em;
}

/* Image Stack */
.image-stack {
  position: relative;
}

.image-stack-item {
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: 0;
  background-size: cover;
  background-position: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.image-stack-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--gold-500);
  border-radius: 0;
  padding: 1.4rem 1.8rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  box-shadow: 0 8px 30px rgba(200,147,58,0.4);
}

.badge-number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
}

.badge-text {
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ═══════════════════════════════════════
   PARALLAX DIVIDERS
   ═══════════════════════════════════════ */
.parallax-divider {
  position: relative;
  height: 55vh;
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.parallax-tall {
  height: 65vh;
  min-height: 420px;
}

.parallax-cta {
  height: auto;
  min-height: 0;
  padding: 6rem 2rem;
}

.parallax-divider-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(6,14,26,0.8) 0%,
    rgba(13,43,78,0.7) 50%,
    rgba(6,14,26,0.85) 100%
  );
  z-index: 1;
}

.overlay-strong {
  background: linear-gradient(
    135deg,
    rgba(6,14,26,0.9) 0%,
    rgba(13,43,78,0.82) 50%,
    rgba(6,14,26,0.92) 100%
  );
}

.parallax-divider-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 700px;
  padding: 0 2rem;
}

.divider-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-300);
  margin-bottom: 1rem;
}

.parallax-divider-content h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
}

.parallax-divider-content h2 em {
  font-style: italic;
  color: var(--gold-300);
}

/* ---------------------------------------
   DATOS MISCELÁNEOS
   --------------------------------------- */
.parallax-divider-stats {
  height: auto;
  min-height: 600px;
  padding: 6rem 0;
}

.parallax-divider-stats .parallax-divider-content {
  width: 100%;
  max-width: 1200px;
}

.parallax-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.parallax-stats .stat {
  min-width: 0;
  padding: 0 1.5rem;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.parallax-stats .stat:last-child {
  border-right: 0;
}

.parallax-stats .stat-label {
  white-space: normal;
}

.cta-subtitle {
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
  margin-top: 1.5rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.cta-contact-row {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.cta-contact-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: rgba(255,255,255,0.55);
  font-size: 0.88rem;
}

.cta-contact-item > i {
  color: var(--gold-400);
  font-size: 1.15rem;
  line-height: 1;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════
   VMP CARDS (Vision, Mision, Proposito)
   ═══════════════════════════════════════ */
.vmp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.vmp-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 0;
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease-out);
}

.vmp-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-300));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}

.vmp-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(200,147,58,0.35);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

.vmp-card:hover::before {
  transform: scaleX(1);
}

.vmp-icon {
  width: 56px;
  height: 56px;
  border-radius: 0;
  background: rgba(200,147,58,0.12);
  border: 1px solid rgba(200,147,58,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-400);
  margin-bottom: 1.5rem;
  transition: all 0.3s;
}

.vmp-icon > i {
  font-size: 2rem;
  line-height: 1;
}

.vmp-card:hover .vmp-icon {
  background: rgba(200,147,58,0.2);
  transform: scale(1.05);
}

.vmp-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.8rem;
}

.vmp-card p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.6);
}

/* ═══════════════════════════════════════
   ESPECIALIDADES CARDS
   ═══════════════════════════════════════ */
.esp-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.3rem;
}

.esp-card {
  background: var(--white);
  border: 1.5px solid var(--gray-100);
  border-radius: 0;
  padding: 1.8rem 2rem;
  display: flex;
  gap: 1.3rem;
  align-items: flex-start;
  transition: all 0.35s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.esp-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, var(--gold-500), var(--gold-300));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.35s var(--ease-out);
}

.esp-card:hover {
  border-color: rgba(200,147,58,0.3);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
  transform: translateX(6px);
}

.esp-card:hover::before {
  transform: scaleY(1);
}

.esp-icon-wrap {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  background: var(--sky-100);
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-400);
  transition: all 0.3s;
}

.esp-icon-wrap > i {
  font-size: 1.75rem;
  line-height: 1;
}

.esp-card:hover .esp-icon-wrap {
  background: rgba(200,147,58,0.1);
  color: var(--gold-500);
}

.esp-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-700);
  margin-bottom: 0.4rem;
}

.esp-detail {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.65;
}

.esp-metric {
  display: inline-block;
  margin-top: 0.6rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold-500);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ═══════════════════════════════════════
   GALLERY / PROJECTS
   ═══════════════════════════════════════ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.gallery-item {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
}

.gallery-vid {
position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s var(--ease-out);
}

.gallery-item:hover .gallery-vid {
  transform: scale(1.05);
}

.gallery-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s var(--ease-out);
}

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

.gallery-slideshow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.gallery-slideshow .slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1);
  /* Transición fluida de opacidad (disolución) y leve escalado */
  transition: opacity 1.2s var(--ease-out), transform 6s var(--ease-out);
}

.gallery-slideshow .slide.active {
  opacity: 1;
  transform: scale(1.06); /* Efecto de zoom sutil e industrial */
}

/* Capa oscura sutil para asegurar legibilidad del texto en cualquier foto */
.gallery-slideshow::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6,14,26,0.85) 0%, rgba(6,14,26,0.1) 60%);
  z-index: 1;
}

.gallery-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 1.5rem 1.5rem;
  background: linear-gradient(to top, rgba(6,14,26,0.9) 0%, transparent 100%);
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.4s var(--ease-out);
}

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

.gallery-cat {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-300);
  margin-bottom: 0.4rem;
  display: block;
}

.gallery-info h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.3rem;
}

.gallery-info p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
}

/* ---------------------------------------
   CLIENTES
   --------------------------------------- */
.clients-carousel {
  margin-top: 2.5rem;
}

.clients-carousel .owl-stage {
  display: flex;
  align-items: stretch;
}

.clients-carousel .owl-item {
  display: flex;
}

.client-logo {
  display: flex;
  width: 100%;
  aspect-ratio: 1 / 1;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 0;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.client-logo:hover {
  border-color: var(--gold-500);
  transform: translateY(-4px);
}

.clients-carousel .client-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0;
}

.clients-carousel .owl-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.8rem;
}

.clients-carousel .owl-dot span {
  display: block;
  width: 24px;
  height: 3px;
  background: rgba(255,255,255,0.25);
  transition: background-color 0.3s ease, width 0.3s ease;
}

.clients-carousel .owl-dot.active span {
  width: 38px;
  background: var(--gold-500);
}

/* ═══════════════════════════════════════
   ANIMACIONES
   ═══════════════════════════════════════ */
.animate-in {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s var(--delay, 0s) var(--ease-out) forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal-up,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition: all 0.8s var(--ease-out);
  transition-delay: var(--delay, 0s);
}

.reveal-up {
  transform: translateY(40px);
}

.reveal-left {
  transform: translateX(-40px);
}

.reveal-right {
  transform: translateX(40px);
}

.reveal-up.visible,
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* ═══════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════ */
@media (max-width: 1024px) {
  .split-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

}

@media (max-width: 768px) {
  .hero-content {
    padding: 7rem 1.5rem 4rem;
  }

  .parallax-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 2rem;
  }

  .parallax-stats .stat:nth-child(2) {
    border-right: 0;
  }

  .parallax-stats .stat:nth-child(n + 3) {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
  }

  .esp-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

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

  .cta-contact-row {
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
  }

  .parallax-divider {
    height: 40vh;
    min-height: 280px;
  }

  .parallax-cta {
    height: auto;
    min-height: 0;
    padding: 5rem 1.5rem;
  }

  .parallax-divider-stats {
    height: auto;
    min-height: 600px;
  }

  .image-stack-badge {
    right: 10px;
    bottom: -15px;
    padding: 1rem 1.3rem;
  }

  .badge-number {
    font-size: 1.6rem;
  }
}

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

  .stat-number {
    font-size: 1.8rem;
  }

  .parallax-divider-stats {
    padding: 5rem 0;
  }

  .parallax-stats {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .parallax-stats .stat,
  .parallax-stats .stat:nth-child(2),
  .parallax-stats .stat:nth-child(n + 3) {
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    border-right: 0;
  }

  .section-heading {
    font-size: 1.6rem;
  }
}
