/* ============================================================
   Monarca — Dynamic UI enhancements
   ============================================================ */

/* ---------- Reveal on scroll ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: opacity, transform;
}
[data-reveal="left"]  { transform: translateX(-32px); }
[data-reveal="right"] { transform: translateX(32px); }
[data-reveal="zoom"]  { transform: scale(0.94); }
[data-reveal="fade"]  { transform: none; }

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* Staggered children */
[data-reveal-stagger] > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.22, 0.61, 0.36, 1),
              transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}
[data-reveal-stagger].is-visible > * {
  opacity: 1;
  transform: none;
}
[data-reveal-stagger].is-visible > *:nth-child(1) { transition-delay: 0.05s; }
[data-reveal-stagger].is-visible > *:nth-child(2) { transition-delay: 0.15s; }
[data-reveal-stagger].is-visible > *:nth-child(3) { transition-delay: 0.25s; }
[data-reveal-stagger].is-visible > *:nth-child(4) { transition-delay: 0.35s; }
[data-reveal-stagger].is-visible > *:nth-child(5) { transition-delay: 0.45s; }
[data-reveal-stagger].is-visible > *:nth-child(6) { transition-delay: 0.55s; }

/* ---------- Sticky nav ---------- */
.header_nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  transition: box-shadow 0.3s ease, background-color 0.3s ease;
}
.header_nav.is-scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(8px);
  -webkit-backdrop-filter: saturate(180%) blur(8px);
}

/* ---------- Buttons: subtle lift + sheen ---------- */
.btn-primary {
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
.btn-primary:active {
  transform: translateY(0);
}
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
  pointer-events: none;
}
.btn-primary:hover::after {
  left: 130%;
}

/* Loading state */
.btn-primary.is-loading {
  opacity: 0.7;
  cursor: progress;
  pointer-events: none;
}
.btn-primary.is-loading::before {
  content: '';
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 8px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: btn-spin 0.7s linear infinite;
  vertical-align: -2px;
}
@keyframes btn-spin {
  to { transform: rotate(360deg); }
}

/* ---------- Feature cards (Por qué elegirnos) ---------- */
.cold--card {
  transition: transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1),
              box-shadow 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
}
.cold--card:hover {
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.18);
}
.cold--card .cold-all {
  transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.cold--card:hover .cold-all {
  transform: scale(1.1) rotate(-6deg);
}

/* ---------- Header logos (clients bar) ---------- */
.container_logos {
  transition: transform 0.3s ease;
}
.container_logos:hover {
  transform: translateY(-3px);
}
.container_img {
  transition: filter 0.35s ease, transform 0.35s ease;
}
.container_logos:hover .container_img {
  filter: brightness(1.1);
  transform: scale(1.05);
}

/* ---------- Comments / testimonials ---------- */
.sec-commit .comments > div {
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.sec-commit .comments > div:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.12);
}

/* ---------- Form validation states ---------- */
.t-area {
  position: relative;
}
.t-area .form-control {
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.t-area .form-control:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.12);
}
.t-area.is-invalid .form-control {
  border-color: #dc3545;
  box-shadow: 0 0 0 4px rgba(220, 53, 69, 0.12);
}
.t-area.is-valid .form-control {
  border-color: #198754;
  box-shadow: 0 0 0 4px rgba(25, 135, 84, 0.12);
}
.field-hint {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 500;
  color: #dc3545;
  min-height: 16px;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.t-area.is-invalid .field-hint {
  opacity: 1;
  transform: none;
}

/* ---------- Counters ---------- */
[data-counter] {
  display: inline-block;
  font-variant-numeric: tabular-nums;
}

/* ---------- Back-to-top button ---------- */
.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 100px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: #0d6efd;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(13, 110, 253, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.9);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease, background-color 0.25s ease;
  z-index: 999;
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.back-to-top:hover {
  background: #0b5ed7;
  transform: translateY(-3px);
}

/* ---------- Whatsapp float pulse ---------- */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 999;
  border-radius: 50%;
  display: block;
  transition: transform 0.3s ease;
  animation: wh-pulse 2.4s ease-in-out infinite;
}
.whatsapp-float:hover {
  transform: scale(1.08);
  animation-play-state: paused;
}
@keyframes wh-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55); }
  50%      { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
}

/* ---------- Gallery images ---------- */
.gallery-img {
  transition: transform 0.5s ease, filter 0.5s ease;
}
.owl-carousel .item:hover .gallery-img {
  transform: scale(1.04);
  filter: brightness(1.05);
}

/* ---------- Hero header tweak ---------- */
.header video {
  border-radius: 14px;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.18);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.header video:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.24);
}
.line-o {
  transform-origin: left center;
  transition: transform 0.5s ease;
}
.header--inf:hover .line-o {
  transform: scaleX(1.15);
}

/* ---------- Section headings underline reveal ---------- */
.title-gallery,
.title-social,
.inf-bss > .container > p:first-child,
.sec-commit p:first-child {
  position: relative;
  display: inline-block;
}
.title-gallery::after,
.title-social::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -10px;
  width: 0;
  height: 3px;
  background: #0d6efd;
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width 0.6s ease 0.2s;
}
[data-reveal].is-visible .title-gallery::after,
[data-reveal].is-visible .title-social::after,
.is-visible.title-gallery::after,
.is-visible.title-social::after {
  width: 70px;
}

/* ============================================================
   Experience banner — diagonal split
   ============================================================ */
.exp-banner {
  position: relative;
  margin: 80px 0 0;
  min-height: 520px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: linear-gradient(135deg, #0b2545 0%, #13315c 50%, #1a4480 100%);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

/* Soft glow shapes in the dark side */
.exp-banner::before,
.exp-banner::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
  pointer-events: none;
}
.exp-banner::before {
  width: 360px;
  height: 360px;
  background: rgba(13, 110, 253, 0.45);
  top: -100px;
  right: -80px;
}
.exp-banner::after {
  width: 280px;
  height: 280px;
  background: rgba(238, 133, 28, 0.28);
  bottom: -80px;
  right: 30%;
}

/* ----- Media side ----- */
.exp-banner__media {
  position: relative;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, calc(100% - 90px) 100%, 0 100%);
  z-index: 1;
}
.exp-banner__img {
  position: absolute;
  inset: -10% -2% -10% -2%;
  background-size: cover;
  background-position: center;
  transform: scale(1.08);
  transition: transform 1.2s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
}
.exp-banner__media.is-visible .exp-banner__img {
  transform: scale(1);
}
.exp-banner__media-tint {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, rgba(11, 37, 69, 0.15) 0%, rgba(11, 37, 69, 0.55) 100%);
  mix-blend-mode: multiply;
}

/* ----- Content side ----- */
.exp-banner__content {
  position: relative;
  z-index: 2;
  padding: 72px 80px 72px 110px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
}

.exp-banner__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffd084;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.exp-banner__badge svg {
  color: #ffb84d;
}

.exp-banner__title {
  margin: 0;
  font-size: clamp(28px, 3.4vw, 46px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.5px;
}
.exp-banner__years {
  display: inline-block;
  background: linear-gradient(180deg, #ffd084, #ee851c);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  font-variant-numeric: tabular-nums;
}
.exp-banner__years-plus {
  color: #ee851c;
  font-weight: 700;
  margin-left: -4px;
}
.exp-banner__title-accent {
  display: inline-block;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.72em;
  margin-top: 6px;
}

.exp-banner__lead {
  margin: 0;
  font-size: clamp(15px, 1.1vw, 17px);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.78);
  max-width: 480px;
  line-height: 1.55;
}

/* Mini stats */
.exp-banner__stats {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 520px;
}
.exp-banner__stats li {
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  text-align: left;
  transition: background 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}
.exp-banner__stats li:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 208, 132, 0.45);
  transform: translateY(-3px);
}
.exp-banner__stats strong {
  display: block;
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 700;
  color: #ffd084;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.exp-banner__stats span {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
  margin-top: 4px;
  letter-spacing: 0.2px;
}

/* CTAs */
.exp-banner__cta {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.exp-banner__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  background: #ee851c;
  color: #fff;
  border-radius: 10px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(238, 133, 28, 0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
  position: relative;
  overflow: hidden;
}
.exp-banner__btn svg {
  transition: transform 0.25s ease;
}
.exp-banner__btn:hover {
  transform: translateY(-2px);
  background: #ff8f2a;
  box-shadow: 0 14px 30px rgba(238, 133, 28, 0.5);
  color: #fff;
}
.exp-banner__btn:hover svg {
  transform: translateX(4px);
}
.exp-banner__btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.7s ease;
  pointer-events: none;
}
.exp-banner__btn:hover::after {
  left: 130%;
}

.exp-banner__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.exp-banner__phone:hover {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.4);
}

/* Stagger animation for content side */
.exp-banner__content > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.22, 0.61, 0.36, 1),
              transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.exp-banner__content.is-visible > * {
  opacity: 1;
  transform: none;
}
.exp-banner__content.is-visible > *:nth-child(1) { transition-delay: 0.05s; }
.exp-banner__content.is-visible > *:nth-child(2) { transition-delay: 0.15s; }
.exp-banner__content.is-visible > *:nth-child(3) { transition-delay: 0.25s; }
.exp-banner__content.is-visible > *:nth-child(4) { transition-delay: 0.35s; }
.exp-banner__content.is-visible > *:nth-child(5) { transition-delay: 0.45s; }

/* Tablet */
@media (max-width: 1100px) {
  .exp-banner__content {
    padding: 60px 48px 60px 70px;
  }
  .exp-banner__media {
    clip-path: polygon(0 0, 100% 0, calc(100% - 60px) 100%, 0 100%);
  }
}

/* Mobile: stack vertically with diagonal at bottom of image */
@media (max-width: 820px) {
  .exp-banner {
    grid-template-columns: 1fr;
    min-height: auto;
    margin-top: 50px;
  }
  .exp-banner__media {
    height: 260px;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 50px), 0 100%);
  }
  .exp-banner__content {
    padding: 40px 28px 56px;
    gap: 18px;
  }
  .exp-banner__stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
  .exp-banner__stats li {
    padding: 12px 10px;
  }
  .exp-banner__cta {
    gap: 16px;
  }
  .exp-banner__btn {
    width: 100%;
    justify-content: center;
  }
  .exp-banner__phone {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .exp-banner__media {
    height: 200px;
  }
  .exp-banner__stats {
    grid-template-columns: 1fr;
  }
  .exp-banner__stats li {
    text-align: center;
  }
  .exp-banner__stats span {
    margin-top: 2px;
  }
}

/* ============================================================
   NAVBAR modernizado
   ============================================================ */
.nav-modern {
  background: #fff;
  border-bottom: 1px solid rgba(11, 37, 69, 0.06);
}
.nav-modern.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  box-shadow: 0 6px 22px rgba(11, 37, 69, 0.08);
}
.nav-modern__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px 0;
}
.nav-modern__brand {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  transition: transform 0.25s ease;
}
.nav-modern__brand:hover { transform: scale(1.03); }
.nav-modern__brand img {
  display: block;
  max-height: 76px;
  width: auto;
}
.nav-modern__center {
  flex: 1;
  display: flex;
  justify-content: center;
}
.nav-modern__location {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  background: rgba(13, 110, 253, 0.06);
  border: 1px solid rgba(13, 110, 253, 0.14);
  border-radius: 999px;
  color: #0b2545;
  font-size: 13px;
  font-weight: 600;
}
.nav-modern__location svg {
  color: #ee851c;
  flex-shrink: 0;
}
.nav-modern__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 0 0 auto;
}
.nav-modern__phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}
.nav-modern__phone:hover {
  background: rgba(13, 110, 253, 0.06);
  transform: translateY(-1px);
}
.nav-modern__phone-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, #0d6efd, #0b5ed7);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}
.nav-modern__phone-icon svg { width: 18px; height: 18px; }
.nav-modern__phone-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.nav-modern__phone-text small {
  font-size: 11px;
  color: #6b7a99;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}
.nav-modern__phone-text strong {
  font-size: 15px;
  color: #0b2545;
  font-weight: 700;
}
.nav-modern__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 10px;
  background: linear-gradient(135deg, #ee851c, #d96c00);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 8px 18px rgba(238, 133, 28, 0.32);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}
.nav-modern__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(238, 133, 28, 0.42);
  color: #fff;
}
.nav-modern__cta svg { transition: transform 0.25s ease; }
.nav-modern__cta:hover svg { transform: translateX(3px); }
.nav-modern__cta::after {
  content: '';
  position: absolute; top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.7s ease;
  pointer-events: none;
}
.nav-modern__cta:hover::after { left: 130%; }

@media (max-width: 900px) {
  .nav-modern__location { display: none; }
  .nav-modern__phone-text { display: none; }
  .nav-modern__phone { padding: 4px; }
}
@media (max-width: 540px) {
  .nav-modern__inner { gap: 10px; }
  .nav-modern__brand img { max-height: 66px; }
  .nav-modern__cta { padding: 9px 14px; font-size: 13px; }
}

/* ============================================================
   TRUST STRIP (reemplazo de banda de logos)
   ============================================================ */
.trust-strip {
  position: relative;
  padding: 32px 0;
  background:
    radial-gradient(ellipse at center, rgba(13, 110, 253, 0.08), transparent 70%),
    linear-gradient(180deg, #eef2f9 0%, #f7faff 100%);
  border-top: 1px solid rgba(11, 37, 69, 0.06);
  border-bottom: 1px solid rgba(11, 37, 69, 0.06);
  overflow: hidden;
}
.trust-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}
.trust-strip__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 22px;
  position: relative;
  transition: transform 0.25s ease;
}
.trust-strip__item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 18%;
  bottom: 18%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(11, 37, 69, 0.16), transparent);
}
.trust-strip__item:hover { transform: translateY(-2px); }
.trust-strip__icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0d6efd, #0b5ed7);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 8px 18px rgba(13, 110, 253, 0.22);
}
.trust-strip__item:nth-child(even) .trust-strip__icon {
  background: linear-gradient(135deg, #ee851c, #d96c00);
  box-shadow: 0 8px 18px rgba(238, 133, 28, 0.28);
}
.trust-strip__icon svg { width: 22px; height: 22px; }
.trust-strip__text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}
.trust-strip__text strong {
  font-size: 15px;
  color: #0b2545;
  font-weight: 700;
  letter-spacing: -0.2px;
}
.trust-strip__text span {
  font-size: 12px;
  color: #6b7a99;
  font-weight: 500;
  margin-top: 2px;
}
@media (max-width: 900px) {
  .trust-strip__grid { grid-template-columns: repeat(2, 1fr); }
  .trust-strip__item:nth-child(2)::after { display: none; }
  .trust-strip__item { padding: 12px 14px; }
}
@media (max-width: 480px) {
  .trust-strip__grid { grid-template-columns: 1fr; }
  .trust-strip__item::after { display: none; }
  .trust-strip__item { border-bottom: 1px solid rgba(11, 37, 69, 0.08); padding: 14px 8px; }
  .trust-strip__item:last-child { border-bottom: none; }
}

/* ============================================================
   HERO modernizado
   ============================================================ */
.hero-modern {
  position: relative;
  background:
    radial-gradient(ellipse at top right, rgba(238, 133, 28, 0.10) 0%, transparent 55%),
    radial-gradient(ellipse at bottom left, rgba(13, 110, 253, 0.12) 0%, transparent 55%),
    linear-gradient(180deg, #f7faff 0%, #eef2f9 100%);
  overflow: hidden;
  isolation: isolate;
  padding: 56px 0 72px;
}
.hero-modern::before {
  content: '';
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(13, 110, 253, 0.22);
  filter: blur(120px);
  top: -160px;
  right: -120px;
  z-index: 0;
  pointer-events: none;
}
.hero-modern__inner {
  position: relative;
  z-index: 1;
}
.hero-modern__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(13, 110, 253, 0.08);
  border: 1px solid rgba(13, 110, 253, 0.22);
  color: #0d3da3;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  margin-bottom: 18px;
}
.hero-modern__badge svg { color: #ee851c; }
.hero-modern__title {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -1px;
  margin: 0 0 10px;
  color: #0b2545;
}
.hero-modern__title-accent {
  display: inline-block;
  background: linear-gradient(180deg, #ee851c, #d96c00);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-modern__sub {
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 13px;
  font-weight: 700;
  color: #6b7a99;
  margin: 0 0 20px;
}
.hero-modern__features {
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
  display: grid;
  gap: 12px;
}
.hero-modern__feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(11, 37, 69, 0.08);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.hero-modern__feature:hover {
  transform: translateX(4px);
  border-color: rgba(238, 133, 28, 0.4);
  box-shadow: 0 8px 22px rgba(11, 37, 69, 0.08);
}
.hero-modern__feature-icon {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, #ee851c, #d96c00);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.hero-modern__feature-icon svg { width: 20px; height: 20px; }
.hero-modern__feature-text {
  flex: 1;
  font-size: 15px;
  font-weight: 500;
  color: #1f2d4a;
  line-height: 1.45;
  margin: 0;
}
.hero-modern__cta-row {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.hero-modern__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: linear-gradient(135deg, #0d6efd, #0b5ed7);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(13, 110, 253, 0.32);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}
.hero-modern__btn:hover {
  transform: translateY(-2px);
  color: #fff;
  box-shadow: 0 14px 30px rgba(13, 110, 253, 0.45);
}
.hero-modern__btn svg { transition: transform 0.25s ease; }
.hero-modern__btn:hover svg { transform: translateX(4px); }
.hero-modern__btn::after {
  content: '';
  position: absolute; top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.7s ease;
  pointer-events: none;
}
.hero-modern__btn:hover::after { left: 130%; }
.hero-modern__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #1f2d4a;
  font-weight: 600;
  text-decoration: none;
  font-size: 15px;
}
.hero-modern__phone:hover { color: #0d6efd; }

/* Media side */
.hero-modern__media {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(11, 37, 69, 0.18);
  background: #0b2545;
}
.hero-modern__media video {
  display: block;
  width: 100%;
  height: auto;
}
.hero-modern__media-frame {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: 18px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}
.hero-modern__media-tag {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(11, 37, 69, 0.72);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hero-modern__media-tag::before {
  content: '';
  width: 8px; height: 8px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.25);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  50% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
}

@media (max-width: 768px) {
  .hero-modern { padding: 32px 0 48px; }
  .hero-modern__title { font-size: 32px; }
  .hero-modern__cta-row { flex-direction: column; align-items: stretch; }
  .hero-modern__btn { justify-content: center; }
  .hero-modern__phone { justify-content: center; }
}

/* ============================================================
   "¿Por qué elegirnos?" modernizado
   ============================================================ */
.why-modern {
  position: relative;
  padding: 80px 0;
  background:
    radial-gradient(circle at 20% 0%, rgba(13, 110, 253, 0.18) 0%, transparent 50%),
    radial-gradient(circle at 80% 100%, rgba(238, 133, 28, 0.16) 0%, transparent 50%),
    linear-gradient(135deg, #0b2545 0%, #13315c 50%, #1a4480 100%);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.why-modern::before,
.why-modern::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}
.why-modern::before {
  width: 380px; height: 380px;
  background: rgba(13, 110, 253, 0.35);
  top: -120px; left: -100px;
}
.why-modern::after {
  width: 320px; height: 320px;
  background: rgba(238, 133, 28, 0.22);
  bottom: -100px; right: -80px;
}
.why-modern__inner { position: relative; z-index: 1; }
.why-modern__eyebrow {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffd084;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.why-modern__heading {
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.6px;
  margin: 0 0 8px;
  color: #fff;
  text-align: center;
}
.why-modern__heading-accent {
  background: linear-gradient(180deg, #ffd084, #ee851c);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
}
.why-modern__sub {
  text-align: center;
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  margin: 0 0 50px;
}
.why-modern__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}
.why-modern__card {
  position: relative;
  padding: 28px 24px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1),
              border-color 0.4s ease,
              background 0.4s ease;
  overflow: hidden;
}
.why-modern__card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(255, 208, 132, 0.18), transparent 50%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.why-modern__card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 208, 132, 0.45);
  background: rgba(255, 255, 255, 0.09);
}
.why-modern__card:hover::before { opacity: 1; }
.why-modern__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(238, 133, 28, 0.95), rgba(217, 108, 0, 0.95));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 10px 24px rgba(238, 133, 28, 0.35);
  transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.why-modern__card:hover .why-modern__icon {
  transform: scale(1.08) rotate(-6deg);
}
.why-modern__icon svg, .why-modern__icon img {
  width: 28px;
  height: 28px;
  filter: brightness(0) invert(1);
}
.why-modern__card-title {
  font-size: 19px;
  font-weight: 700;
  margin: 0 0 8px;
  color: #fff;
  letter-spacing: -0.2px;
}
.why-modern__card-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
  line-height: 1.55;
}
@media (max-width: 1024px) {
  .why-modern__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .why-modern__grid { grid-template-columns: 1fr; }
  .why-modern { padding: 60px 0; }
}

/* ============================================================
   Testimonios modernizados
   ============================================================ */
.testimonials-modern {
  position: relative;
  padding: 80px 0;
  background:
    radial-gradient(ellipse at top, rgba(13, 110, 253, 0.06), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #f3f6fb 100%);
  overflow: hidden;
}
.testimonials-modern__eyebrow {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(13, 110, 253, 0.08);
  border: 1px solid rgba(13, 110, 253, 0.18);
  color: #0d3da3;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.testimonials-modern__heading {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.6px;
  margin: 0 0 50px;
  color: #0b2545;
  max-width: 540px;
}
.testimonials-modern__heading-accent {
  background: linear-gradient(180deg, #ee851c, #d96c00);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
}
.testimonials-modern__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.testimonial-card {
  position: relative;
  padding: 32px 28px 24px;
  background: #fff;
  border: 1px solid rgba(11, 37, 69, 0.08);
  border-radius: 18px;
  box-shadow: 0 6px 20px rgba(11, 37, 69, 0.06);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  overflow: hidden;
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 6px;
  right: 22px;
  font-family: Georgia, serif;
  font-size: 110px;
  font-weight: 700;
  color: rgba(13, 110, 253, 0.08);
  line-height: 1;
  pointer-events: none;
}
.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(11, 37, 69, 0.12);
  border-color: rgba(13, 110, 253, 0.25);
}
.testimonial-card__rating {
  display: flex;
  gap: 2px;
  margin-bottom: 14px;
  color: #f5a623;
}
.testimonial-card__rating svg { width: 16px; height: 16px; }
.testimonial-card__quote {
  font-size: 15px;
  line-height: 1.6;
  color: #2d3a55;
  margin: 0 0 22px;
  flex: 1;
}
.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid rgba(11, 37, 69, 0.08);
}
.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0d6efd, #0b2545);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}
.testimonial-card__author-info { line-height: 1.3; }
.testimonial-card__author-name {
  font-size: 14px;
  font-weight: 700;
  color: #0b2545;
  margin: 0;
}
.testimonial-card__author-role {
  font-size: 12px;
  color: #6b7a99;
  margin: 2px 0 0;
}
@media (max-width: 900px) {
  .testimonials-modern__grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
}

/* ============================================================
   Form section modernizada
   ============================================================ */
.form-modern {
  position: relative;
  padding: 80px 0;
  background: linear-gradient(180deg, #f7faff 0%, #eef2f9 100%);
  overflow: hidden;
}
.form-modern::before {
  content: '';
  position: absolute;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: rgba(238, 133, 28, 0.10);
  filter: blur(100px);
  top: 20%; left: -120px;
  pointer-events: none;
}
.form-modern__inner { position: relative; z-index: 1; }
.form-modern__eyebrow {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(238, 133, 28, 0.12);
  border: 1px solid rgba(238, 133, 28, 0.3);
  color: #b85e00;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.form-modern__heading {
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.5px;
  color: #0b2545;
  margin: 0 0 18px;
}
.form-modern__heading-accent {
  background: linear-gradient(180deg, #0d6efd, #0b2545);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
}
.form-modern__lead {
  font-size: 16px;
  line-height: 1.6;
  color: #4a5775;
  margin: 0 0 28px;
}
.form-modern__features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}
.form-modern__feature {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid rgba(11, 37, 69, 0.08);
  border-radius: 14px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.form-modern__feature:hover {
  border-color: rgba(13, 110, 253, 0.4);
  transform: translateX(4px);
}
.form-modern__feature-icon {
  width: 38px; height: 38px;
  flex: 0 0 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, #0d6efd, #0b5ed7);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.form-modern__feature-icon svg { width: 20px; height: 20px; }
.form-modern__feature-text {
  font-size: 14px;
  color: #2d3a55;
  line-height: 1.5;
  margin: 0;
}
.form-modern__feature-text strong { color: #ee851c; font-weight: 700; }

.form-modern__card {
  background: #fff;
  border-radius: 22px;
  padding: 38px 34px;
  box-shadow: 0 24px 60px rgba(11, 37, 69, 0.12);
  border: 1px solid rgba(11, 37, 69, 0.06);
  position: relative;
  overflow: hidden;
}
.form-modern__card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0d6efd, #ee851c);
}
.form-modern__card-title {
  font-size: 26px;
  font-weight: 700;
  color: #0b2545;
  margin: 0 0 24px;
  letter-spacing: -0.3px;
}
.form-modern__field {
  position: relative;
  margin-bottom: 18px;
}
.form-modern__field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #4a5775;
  margin-bottom: 6px;
  letter-spacing: 0.2px;
}
.form-modern__field .form-control {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid rgba(11, 37, 69, 0.12);
  border-radius: 10px;
  font-size: 15px;
  color: #0b2545;
  background: #f7faff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.form-modern__field .form-control:focus {
  outline: none;
  background: #fff;
  border-color: #0d6efd;
  box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.12);
}
.form-modern__field.is-valid .form-control {
  border-color: #198754;
  box-shadow: 0 0 0 4px rgba(25, 135, 84, 0.10);
}
.form-modern__field.is-invalid .form-control {
  border-color: #dc3545;
  box-shadow: 0 0 0 4px rgba(220, 53, 69, 0.10);
}
.form-modern__field textarea.form-control { resize: vertical; min-height: 90px; }
.form-modern__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 22px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, #0d6efd, #0b5ed7);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(13, 110, 253, 0.32);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}
.form-modern__submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(13, 110, 253, 0.45);
}
.form-modern__submit::after {
  content: '';
  position: absolute; top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.7s ease;
}
.form-modern__submit:hover::after { left: 130%; }
.form-modern__submit.is-loading {
  opacity: 0.75;
  cursor: progress;
  pointer-events: none;
}
.form-modern__submit.is-loading::before {
  content: '';
  display: inline-block;
  width: 14px; height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: btn-spin 0.7s linear infinite;
}
.form-modern__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
@media (max-width: 900px) {
  .form-modern__grid { grid-template-columns: 1fr; gap: 30px; }
  .form-modern__card { padding: 28px 22px; }
  .form-modern { padding: 50px 0; }
}

/* ============================================================
   Instagram CTA section
   ============================================================ */
.ig-section {
  position: relative;
  padding: 80px 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(225, 48, 108, 0.10), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(252, 175, 69, 0.10), transparent 50%),
    linear-gradient(180deg, #f7faff 0%, #eef2f9 100%);
  overflow: hidden;
  isolation: isolate;
}
.ig-section__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}
.ig-section__copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.ig-section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 7px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #feda75, #fa7e1e, #d62976, #962fbf);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.ig-section__heading {
  margin: 0;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.5px;
  color: #0b2545;
}
.ig-section__heading-accent {
  background: linear-gradient(135deg, #fa7e1e, #d62976, #962fbf);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
}
.ig-section__lead {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: #4a5775;
  max-width: 460px;
}
.ig-section__handle {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  background: #fff;
  border: 1px solid rgba(11, 37, 69, 0.08);
  border-radius: 14px;
  align-self: flex-start;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.ig-section__handle:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(214, 41, 118, 0.18);
  border-color: rgba(214, 41, 118, 0.4);
}
.ig-section__handle-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #feda75, #fa7e1e, #d62976, #962fbf);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
  padding: 3px;
}
.ig-section__handle-avatar img,
.ig-section__handle-avatar svg {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #fff;
  padding: 6px;
  display: block;
}
.ig-section__handle-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.ig-section__handle-text strong {
  font-size: 15px;
  color: #0b2545;
  font-weight: 700;
}
.ig-section__handle-text span {
  font-size: 13px;
  color: #6b7a99;
}
.ig-section__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  background: linear-gradient(135deg, #fa7e1e, #d62976, #962fbf);
  color: #fff;
  border-radius: 12px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  align-self: flex-start;
  box-shadow: 0 12px 28px rgba(214, 41, 118, 0.32);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}
.ig-section__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(214, 41, 118, 0.45);
  color: #fff;
}
.ig-section__cta svg { transition: transform 0.25s ease; }
.ig-section__cta:hover svg { transform: translateX(4px); }
.ig-section__cta::after {
  content: '';
  position: absolute; top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.7s ease;
}
.ig-section__cta:hover::after { left: 130%; }

/* Mosaic */
.ig-section__mosaic {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
  position: relative;
}
.ig-section__mosaic::before {
  content: '';
  position: absolute;
  inset: -18px;
  background: linear-gradient(135deg, rgba(254, 218, 117, 0.4), rgba(214, 41, 118, 0.3), rgba(150, 47, 191, 0.35));
  border-radius: 28px;
  filter: blur(40px);
  z-index: -1;
}
.ig-section__tile {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #0b2545;
  box-shadow: 0 12px 28px rgba(11, 37, 69, 0.14);
  transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 0.45s ease;
}
.ig-section__tile:first-child {
  grid-row: span 2;
}
.ig-section__tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.ig-section__tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 40px rgba(11, 37, 69, 0.22);
}
.ig-section__tile:hover img {
  transform: scale(1.08);
}
.ig-section__tile-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(11, 37, 69, 0.78) 100%);
  display: flex;
  align-items: flex-end;
  padding: 14px;
  opacity: 0;
  transition: opacity 0.3s ease;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  gap: 8px;
}
.ig-section__tile:hover .ig-section__tile-overlay { opacity: 1; }

@media (max-width: 900px) {
  .ig-section__inner { grid-template-columns: 1fr; gap: 40px; }
  .ig-section__copy { order: 1; }
  .ig-section__mosaic { order: 2; }
}
@media (max-width: 480px) {
  .ig-section { padding: 60px 0; }
  .ig-section__handle, .ig-section__cta { align-self: stretch; justify-content: center; }
}

/* ============================================================
   Footer modernizado
   ============================================================ */
.footer-modern {
  position: relative;
  padding: 70px 0 24px;
  background:
    radial-gradient(ellipse at top, rgba(13, 110, 253, 0.22) 0%, transparent 60%),
    linear-gradient(180deg, #0b2545 0%, #08182f 100%);
  color: #fff;
  overflow: hidden;
}
.footer-modern::before {
  content: '';
  position: absolute;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: rgba(238, 133, 28, 0.12);
  filter: blur(100px);
  bottom: -100px; right: 10%;
  pointer-events: none;
}
.footer-modern__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 50px;
  position: relative;
  z-index: 1;
}
.footer-modern__col h3 {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin: 0 0 18px;
  position: relative;
  padding-bottom: 10px;
}
.footer-modern__col h3::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 32px;
  height: 2px;
  background: linear-gradient(90deg, #ee851c, transparent);
  border-radius: 2px;
}
.footer-modern__brand img {
  display: block;
  max-width: 160px;
  margin-bottom: 18px;
}
.footer-modern__tagline {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 22px;
  max-width: 320px;
}
.footer-modern__socials {
  display: flex;
  gap: 12px;
}
.footer-modern__socials a {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}
.footer-modern__socials a:hover {
  background: linear-gradient(135deg, #ee851c, #d96c00);
  border-color: transparent;
  transform: translateY(-2px);
}
.footer-modern__socials svg {
  width: 19px;
  height: 19px;
  display: block;
  color: #fff;
}
.footer-modern__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.footer-modern__col a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.footer-modern__col a:hover {
  color: #ffd084;
  transform: translateX(3px);
}
.footer-modern__contact-block {
  margin-bottom: 16px;
}
.footer-modern__contact-block h5 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0 4px;
}
.footer-modern__contact-block p,
.footer-modern__contact-block a {
  color: #fff;
  font-size: 14px;
  margin: 0;
  font-weight: 500;
}
.footer-modern__bottom {
  position: relative;
  z-index: 1;
  margin-top: 50px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}
@media (max-width: 900px) {
  .footer-modern__grid { grid-template-columns: 1fr; gap: 36px; text-align: center; }
  .footer-modern__col h3::after { left: 50%; transform: translateX(-50%); }
  .footer-modern__socials { justify-content: center; }
  .footer-modern__col ul { justify-items: center; }
  .footer-modern__brand img { margin-left: auto; margin-right: auto; }
  .footer-modern__tagline { margin-left: auto; margin-right: auto; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ---------- Mobile tweaks ---------- */
@media (max-width: 768px) {
  .back-to-top {
    right: 14px;
    bottom: 90px;
    width: 42px;
    height: 42px;
  }
  .whatsapp-float {
    right: 14px;
    bottom: 14px;
  }
}
