:root {
  --color-primary-blue: #05386c;
  --color-orange: #f45b18;
  --color-dark-blue: #03243f;
  --color-deep-blue: #021a2f;
  --color-text: #111111;
  --color-text-muted: #555555;
  --color-bg-light: #f8f9fa;
  --color-border: #e2e8f0;
  --font-main: 'Archivo', sans-serif;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 85px;
}

/* Base resets & typography */
body {
  font-family: var(--font-main);
  color: var(--color-text);
  background-color: #ffffff;
  overflow-x: hidden;
  line-height: 1.6;
}

/* Container proportions matching original design:
   The original artboard is 1921px wide with an 1180px content area.
   This represents 61.4% content width and ~19.3% white margin on each side. */
.container {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 992px) {
  .container {
    width: 61.5% !important;
    max-width: 1180px !important;
  }
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-main);
  font-weight: 700;
  color: var(--color-dark-blue);
  line-height: 1.2;
}

a {
  text-decoration: none;
  transition: all 0.3s ease;
}

/* Utilities & Colors */
.text-brand-blue {
  color: var(--color-primary-blue) !important;
}

.text-brand-orange {
  color: var(--color-orange) !important;
}

.text-brand-dark {
  color: var(--color-dark-blue) !important;
}

.bg-brand-blue {
  background-color: var(--color-primary-blue) !important;
}

.bg-brand-orange {
  background-color: var(--color-orange) !important;
}

.bg-brand-dark {
  background-color: var(--color-dark-blue) !important;
}

.bg-brand-deep {
  background-color: var(--color-deep-blue) !important;
}

.bg-brand-light {
  background-color: #f7f9fb !important;
}

.section-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-orange);
  margin-bottom: 0.7rem;
  display: block;
}

.section-title {
  font-size: 1.82rem;
  font-weight: 800;
  color: var(--color-dark-blue);
  margin-bottom: 1.25rem;
  line-height: 1.18;
}

.section-subtitle {
  font-size: 0.88rem;
  color: #4b5563;
  line-height: 1.55;
}

/* Buttons */
.btn-brand-orange {
  background-color: var(--color-orange);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  padding: 0.75rem 2rem;
  border-radius: 50rem;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.25s ease-in-out;
}

.btn-brand-orange:hover {
  background-color: #db4d0f;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(244, 91, 24, 0.35);
}

.btn-brand-white {
  background-color: #ffffff;
  color: var(--color-primary-blue);
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  padding: 0.75rem 2.85rem;
  border-radius: 50rem;
  border: none;
  transition: all 0.25s ease;
}

.btn-brand-white:hover {
  background-color: #f1f5f9;
  color: var(--color-dark-blue);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

/* Header & Navigation */
.header-navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1040;
  padding: 1.15rem 0;
  /* background: linear-gradient(180deg, rgba(3, 36, 63, 0.88) 0%, rgba(3, 36, 63, 0.25) 75%, transparent 100%); */
  background: transparent;
  transition: all 0.3s ease;
}

.header-navbar.scrolled {
  background: rgba(3, 36, 63, 0.96) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0.75rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.header-navbar .navbar-brand img {
  height: 60px;
  width: auto;
  object-fit: contain;
}

.header-navbar .nav-link {
  color: #ffffff;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.45rem 1.15rem;
  border-radius: 0px !important;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.header-navbar .nav-link:hover {
  color: #ffffff;
  background-color: rgba(5, 56, 108, 0.7);
  border-radius: 0px !important;
}

.header-navbar .nav-link.active {
  color: #ffffff !important;
  background-color: #05386c !important;
  border-radius: 0px !important;
  font-weight: 600;
}

.header-social-links a {
  width: 32px;
  height: 32px;
  border-radius: 50% !important;
  background-color: #05386c;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  opacity: 1;
  transition: all 0.2s ease;
  text-decoration: none;
}

.header-social-links a:hover {
  background-color: #05386c;
  color: #ffffff;
  transform: translateY(-2px);
}

/* Hero Carousel */
.hero-carousel {
  position: relative;
  background-color: var(--color-dark-blue);
}

.hero-slide {
  height: 94vh;
  min-height: 640px;
  max-height: 920px;
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  padding: 7rem 0 5rem 0;
}

.hero-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(3, 36, 63, 0.88) 0%, rgba(3, 36, 63, 0.65) 45%, rgba(3, 36, 63, 0.2) 100%);
  z-index: 1;
}

.hero-slide .container {
  position: relative;
  z-index: 2;
}

.hero-slide .section-eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  margin-bottom: 0.9rem;
}

.hero-slide-1 {
  background-image: url('../images/slides/slide1.webp');
}

.hero-slide-2 {
  background-image: url('../images/slides/slide2.webp');
}

.hero-slide-3 {
  background-image: url('../images/slides/slide3.webp');
}

.hero-title {
  font-size: clamp(2.4rem, 4.2vw, 3.5rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 1.35rem;
  letter-spacing: -0.015em;
}

.hero-description {
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.3;
  margin-bottom: 2rem;
  max-width: 640px;
}

.hero-carousel .carousel-indicators {
  margin-bottom: 2.5rem;
  gap: 0.6rem;
}

.hero-carousel .carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background-color: rgba(255, 255, 255, 0.55);
  opacity: 1;
  transition: all 0.3s ease;
}

.hero-carousel .carousel-indicators .active {
  background-color: var(--color-orange);
  transform: scale(1.2);
}

.hero-img {
  max-width: 325px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.hero-img2 {
  max-width: 250px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.25s ease;
}


/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 62px;
  height: 62px;
  background-color: #ffffff;
  color: #00a884;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.25rem;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.2);
  z-index: 1060;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  color: #00a884;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.28);
}

/* Section: About & Stats */
.about-section {
  padding: 3rem 0;
}

.about-text-wrapper {
  max-width: 500px;
}

.about-text {
  font-size: 0.9rem;
  color: #333333;
  margin-bottom: 1.15rem;
  line-height: 1.5;
  text-align: justify;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
}

.stat-icon {
  color: var(--color-primary-blue);
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.stat-icon svg {
  width: 44px;
  height: 44px;
}

.stat-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-primary-blue);
  margin-bottom: 0.2rem;
  line-height: 1.12;
}

.stat-desc {
  font-size: 0.84rem;
  color: #4b5563;
  margin: 0;
  line-height: 1.35;
}

.stats-container-wrapper {
  display: flex;
  align-items: center;
}

.stats-vertical-divider {
  width: 1.5px;
  height: 150px;
  background-color: #d1d5db;
  margin-left: 2rem;
  flex-shrink: 0;
}

/* Section: Equipos y Tecnología */
.products-section {
  padding: 3.25rem 0 3.5rem 0;
  background-color: #f7f9fb;
}

.product-card {
  position: relative;
  border-radius: 0px;
  overflow: hidden;
  height: 100%;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.75rem 1.5rem;
  background-color: #0b1e33;
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Degrade de negro a transparente hacia arriba */
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, transparent 20%, rgba(0, 0, 0, 0.25) 38%, rgba(0, 0, 0, 0.8) 60%, rgba(0, 0, 0, 0.96) 88%, #000000 100%);
  z-index: 2;
  transition: background 0.3s ease;
}

.product-card:hover::before {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, transparent 20%, rgba(0, 0, 0, 0.2) 38%, rgba(0, 0, 0, 0.75) 60%, rgba(0, 0, 0, 0.94) 88%, #000000 100%);
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.product-card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: transform 0.4s ease;
}

.product-card:hover .product-card-bg {
  transform: scale(1.05);
}

.product-card-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
}

.product-card-header {
  margin-bottom: 1.25rem;
}

.product-card-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.12;
  margin-bottom: 0;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}

.product-card-bottom {
  margin-top: auto;
}

.product-card-lead {
  font-size: 0.8rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.45rem;
  line-height: 1.35;
}

.product-card-body {
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.45;
  margin-bottom: 0.85rem;
}

.product-card-body strong {
  font-weight: 700;
  color: #ffffff;
}

.product-card-tag {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--color-orange) !important;
  text-transform: uppercase;
  border-top: none;
  padding-top: 0;
  line-height: 1.35;
}

/* Section: Ingeniería y Proyectos */
.engineering-section {
  position: relative;
  background-color: #ffffff;
  padding: 0;
  overflow: hidden;
  min-height: 480px;
  display: flex;
  align-items: center;
}

.engineering-bg-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.engineering-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  -webkit-mask-image: linear-gradient(to right, black 75%, rgba(0, 0, 0, 0.7) 80%, transparent 100%);
  mask-image: linear-gradient(to right, black 75%, rgba(0, 0, 0, 0.7) 80%, transparent 100%);
}

.engineering-fade-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0) 75%, rgba(255, 255, 255, 0.3) 80%, #ffffff 100%);
  pointer-events: none;
}

.engineering-content-col {
  position: relative;
  z-index: 2;
  padding-top: 3.25rem !important;
  padding-bottom: 3.25rem !important;
  padding-left: 0;
}

.engineering-section .section-title {
  font-size: 1.68rem;
  line-height: 1.2;
}

.pipeline-steps {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--color-orange);
  line-height: 1.7;
  margin-top: 1.6rem;
}

/* Section: Servicio y Soporte */
.services-section {
  padding: 3.25rem 0 1.75rem 0;
  background-color: var(--color-primary-blue);
  color: #ffffff;
}

.services-section .section-title {
  color: #ffffff;
}

.services-section .section-subtitle {
  color: rgba(255, 255, 255, 0.85);
}

.services-row {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.service-card {
  background-color: #032039;
  border: none;
  margin: 0px 5px;
  border-radius: 0;
  padding: 2rem;
  height: 100%;
  text-align: center;
  transition: background-color 0.25s ease;
}

.service-card:hover {
  background-color: #021a2f;
}

@media (max-width: 991.98px) {
  .service-card {
    margin: 6px 5px;
  }
}

.service-card-title {
  font-size: 1.18rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 2rem;
  text-align: center;
}

.service-card-text {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.5;
  margin: 0;
  text-align: center;
}

/* Full Width Banner */
.diagnostic-banner {
  height: 645px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #0b253e;
}

.diagnostic-banner-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

/* Section: Industrias */
.industries-section {
  padding: 3.25rem 0;
}

.industries-title {
  color: var(--color-primary-blue) !important;
}

.industry-card {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 0px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background-color: #07192a;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.industry-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Degrade de negro a transparente hacia arriba */
  background: linear-gradient(180deg, transparent 0%, transparent 40%, rgba(0, 0, 0, 0.6) 70%, rgba(0, 0, 0, 0.95) 100%);
  z-index: 2;
  transition: background 0.3s ease;
}

.industry-card:hover::before {
  background: linear-gradient(180deg, transparent 0%, transparent 35%, rgba(0, 0, 0, 0.72) 65%, #000000 100%);
}

.industry-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.industry-card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: transform 0.4s ease;
}

.industry-card:hover .industry-card-bg {
  transform: scale(1.08);
}

.industry-card-content {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: 0.75rem 0.3rem;
  text-align: center;
}

.industry-card-title {
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0;
  display: block;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.65);
}

/* Section: Marcas */
.brands-section {
  padding: 0rem 0 2.5rem 0;
  border-top: 0px solid var(--color-border);
}

.brand-logo-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  min-height: 90px;
  background: #ffffff;
}

.brand-img {
  max-width: 170px;
  max-height: 60px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.25s ease;
}

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

/* Section: Clientes que nos eligieron */
.clients-section {
  padding: 0rem 0 3rem 0;
  /* background-color: #f7f9fb; */
}

.client-logo-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 1rem;
  min-height: 48px;
}

.client-img {
  max-width: 125px;
  max-height: 125px;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0.90;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.client-logo-card:hover .client-img {
  opacity: 1;
  transform: scale(1.08);
}

/* Section: Contacto */
.contact-section {
  padding: 3.5rem 0 4.5rem 0;
  background-color: var(--color-primary-blue); /* Azul mas claro #05386c */
  color: #ffffff;
}

.contact-header {
  margin-bottom: 2.2rem;
}

.contact-section .section-title,
.contact-title {
  color: #ffffff;
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 0;
}

.contact-info-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
  font-size: 0.95rem;
  color: #ffffff;
  font-weight: 400;
}

.contact-info-item i {
  font-size: 1.35rem;
  color: #ffffff;
  line-height: 1.35;
  flex-shrink: 0;
  display: inline-flex;
}

.contact-address-block p {
  color: #ffffff;
  font-size: 0.88rem;
  line-height: 1.45;
  margin: 0;
}

.contact-address-block p.mb-2 {
  margin-bottom: 0.75rem !important;
}

.contact-form .form-control {
  background-color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 0.75rem 1.25rem;
  font-size: 0.9rem;
  color: var(--color-text);
  margin-bottom: 0.85rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.contact-form .form-control:focus {
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(244, 91, 24, 0.4);
  outline: none;
}

.contact-form textarea.form-control {
  min-height: 130px;
  resize: vertical;
}

/* Footer */
.site-footer {
  padding: 1.75rem 0;
  background-color: var(--color-deep-blue);
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.88rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Image Placeholder generic helper */
.img-placeholder-box {
  background: linear-gradient(135deg, #18344e 0%, #0d2134 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 4px;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
  .hero-title {
    font-size: 2.75rem;
  }
  .section-title {
    font-size: 1.95rem;
  }
  .header-navbar {
    background: rgba(3, 36, 63, 0.98) !important;
    position: fixed;
    padding: 0.85rem 0;
  }
  .header-navbar .navbar-collapse {
    background: rgba(3, 36, 63, 0.98);
    padding: 1.25rem 0 1rem 0;
    margin-top: 0.5rem;
    border-radius: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
  .header-navbar .nav-link {
    text-align: center;
    padding: 0.65rem 1.25rem;
    display: block;
  }
  .header-social-links {
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 0.75rem !important;
  }
  .hero-slide {
    padding: 6.5rem 0 4rem 0;
    min-height: 80vh;
  }
  .hero-slide-2,
  .hero-slide-3 {
    padding-top: 8.5rem;
  }
  .hero-slide-2 .hero-img {
    max-width: 180px;
  }
  .hero-slide-3 .hero-img2 {
    max-width: 180px;
  }
  .hero-slide-3 .btn-brand-orange {
    font-size: 0.82rem;
    padding: 0.7rem 1.25rem;
    white-space: nowrap;
  }
  .engineering-section {
    min-height: auto;
    display: block;
  }
  .engineering-bg-wrapper {
    position: relative;
    width: 100%;
    height: 320px;
  }
  .engineering-bg-img {
    -webkit-mask-image: linear-gradient(to bottom, black 65%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 65%, transparent 100%);
  }
  .engineering-fade-overlay {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 50%, #ffffff 100%);
  }
  .engineering-content-col {
    padding-top: 1.5rem !important;
    padding-bottom: 3.5rem !important;
  }
}

@media (max-width: 575.98px) {
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-slide-2,
  .hero-slide-3 {
    padding-top: 8rem;
  }
  .hero-slide-2 .hero-img {
    max-width: 155px;
  }
  .hero-slide-3 .hero-img2 {
    max-width: 155px;
  }
  .hero-slide-3 .btn-brand-orange {
    font-size: 0.78rem;
    letter-spacing: 0.02em;
    padding: 0.65rem 0.6rem;
    white-space: nowrap;
  }
  .section-title {
    font-size: 1.65rem;
  }
  .btn-brand-orange,
  .btn-brand-white {
    width: 100%;
  }
}

/* ==========================================================================
   Efectos de Scroll: Textos desde los costados e Imágenes dinámicas
   ========================================================================== */

/* Textos entrando desde el costado izquierdo */
.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  will-change: opacity, transform;
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Textos entrando desde el costado derecho */
.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  will-change: opacity, transform;
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Elementos / Tarjetas entrando desde abajo */
.reveal-up {
  opacity: 0;
  transform: translateY(45px);
  will-change: opacity, transform;
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Imágenes apareciendo con escala suave y fade */
.reveal-img,
.reveal-zoom {
  opacity: 0;
  transform: scale(0.9);
  will-change: opacity, transform;
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Estado activo cuando el elemento entra en viewport */
.reveal-left.is-visible,
.reveal-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-img.is-visible,
.reveal-zoom.is-visible {
  opacity: 1;
  transform: scale(1);
}

/* Retardos escalonados para columnas y grillas */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }
.delay-500 { transition-delay: 500ms; }
.delay-600 { transition-delay: 600ms; }

/* Ajuste para dispositivos móviles */
@media (max-width: 768px) {
  .reveal-left {
    transform: translateX(-30px);
  }
  .reveal-right {
    transform: translateX(30px);
  }
  .reveal-up {
    transform: translateY(30px);
  }
}

/* Accesibilidad si el usuario desactiva animaciones en su sistema */
@media (prefers-reduced-motion: reduce) {
  .reveal-left,
  .reveal-right,
  .reveal-up,
  .reveal-img,
  .reveal-zoom {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

