/* ==========================================================
   Multi Carrier Services – Réplica HTML
   Colores: #1B2039 (azul oscuro) · #5694AB (celeste) · #EBEBEB (gris)
   Tipografía: Outfit
   ========================================================== */

:root {
  --dark: #1B2039;
  --teal: #5694AB;
  --gray: #EBEBEB;
  --card: #F0F0F0;
  --container: 1140px;
  --shadow-btn: 0 5px 10px rgba(0, 0, 0, .38);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
section { overflow-x: clip; }
body {
  margin: 0;
  font-family: "Outfit", sans-serif;
  color: var(--dark);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p { margin: 0; }
a { text-decoration: none; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  box-shadow: var(--shadow-btn);
  transition: transform .25s ease, background-color .25s ease, color .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--teal); }
.btn--light:hover { background: var(--teal); color: #fff; }
.btn--dark { background: var(--dark); color: #fff; }
.btn--dark:hover { background: var(--teal); }
.btn--teal {
  background: var(--teal);
  color: #fff;
  font-size: 21px;
  box-shadow: 0 9px 10px rgba(0, 0, 0, .5);
}
.btn--teal:hover { background: var(--dark); }
.btn { white-space: nowrap; }
.btn__icon { width: 1em; height: 1em; fill: currentColor; flex: none; }

/* ---------- Títulos de sección ---------- */
.section-title {
  font-size: 35px;
  font-weight: 400;
  line-height: 1;
  text-align: center;
  color: var(--dark);
}
.section-title span {
  display: block;
  font-weight: 700;
  color: var(--teal);
}
.section-title--left { text-align: left; line-height: 40px; }

/* ---------- Divisor de barras diagonales ---------- */
.divider {
  height: 15px;
  margin: 10px 0;
  background-image: repeating-linear-gradient(
    -60deg, transparent 0 7px, var(--teal) 7px 8.5px, transparent 8.5px 12px);
}
.divider--center { width: 60%; margin-inline: auto; }
.divider--left { width: 30%; }

/* ---------- Shape dividers (tilt) ---------- */
.shape {
  position: absolute;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  z-index: 2;
  pointer-events: none;
}
.shape svg {
  position: relative;
  left: 50%;
  width: calc(100% + 1.3px);
  transform: translateX(-50%) rotateY(180deg);
  fill: var(--gray);
}
.shape--bottom { bottom: -1px; transform: rotate(180deg); }
.shape--bottom svg { height: 40px; }
.shape--top { top: -1px; }
.shape--top svg { height: 45px; }

/* ==========================================================
   HERO
   ========================================================== */
.hero {
  position: relative;
  min-height: 85vh;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--dark);
}
.hero__video {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  /* Imagen del video como fondo mientras carga (o si no se puede reproducir) */
  background: var(--dark) url("https://i.ytimg.com/vi/KEFt2quibkg/maxresdefault.jpg") center / cover no-repeat;
}
.hero__video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .6s ease;
}
.hero__video video.is-playing { opacity: 1; }
.hero__video iframe {
  opacity: 0;
  transition: opacity .8s ease;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw;           /* 16:9 */
  min-height: 100%;
  min-width: 177.78vh;
  transform: translate(-50%, -50%);
  border: 0;
}
.hero__video iframe.is-ready { opacity: 1; }
.hero__overlay {
  position: absolute;
  inset: 0;
  background: #000;
  opacity: .13;
}
.hero__content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1280px;
  padding: 45px 10px 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #fff;
}
.hero__logo { width: 800px; max-width: 100%; margin-left: 3%; margin-bottom: 20px; }
.hero__logo img { width: 40%; margin: 0 auto; }
.hero__title {
  font-size: 70px;
  font-weight: 300;
  line-height: 1;
  margin-bottom: 20px;
}
.hero__title span { display: block; font-weight: 700; }
.hero__badge {
  width: 45%;
  padding: 1% 0;
  margin-bottom: 20px;
  background: var(--teal);
  border-radius: 5px;
  font-size: 35px;
  font-weight: 700;
  line-height: 1;
}
.hero__text {
  max-width: 768px;
  font-size: 18px;
  line-height: 1.5;
  margin-bottom: 20px;
}
.hero__buttons {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 0;
  width: 512px;
  max-width: 100%;
  padding: 10px;
  border-radius: 8px;
}
.hero__buttons::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--teal);
  opacity: .13;
}
.hero__buttons .btn { position: relative; margin: 12px 0; }

/* ==========================================================
   FEATURES (Cotizá)
   ========================================================== */
.features {
  background: var(--gray);
  padding: 10px 10px 40px;
  scroll-margin-top: 20px;
}
.features .section-title { max-width: 960px; margin: 0 auto 20px; }
.features__grid {
  display: flex;
  justify-content: center;
  max-width: 960px;
  margin: 0 auto;
}
.feature { flex: 1; text-align: center; padding: 0 10px; }
.feature img { width: 63px; margin: 0 auto 15px; }
.feature h3 { font-size: 18px; font-weight: 700; line-height: 1.2; }

/* ==========================================================
   SERVICIOS
   ========================================================== */
.services {
  position: relative;
  padding: 60px 10px 30px;
  text-align: center;
}
.services .section-title { margin-bottom: 20px; }
.services__intro {
  max-width: 953px;
  margin: 0 auto 70px;
  font-size: 16px;
  line-height: 1.5;
}
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 391px);
  justify-content: center;
  gap: 35px;
  padding: 0 57px;
}
.card { position: relative; }
.card__img { width: 100%; border-radius: 8px; aspect-ratio: 1; object-fit: cover; }
.card__box {
  position: relative;
  margin: -80px 10px 0;
  min-height: 512px;
  padding: 58px 50px 40px;
  background: var(--card);
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, .5);
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: visible;
}
/* triángulo celeste esquina inferior derecha */
.card__box::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image: linear-gradient(-45deg, var(--teal) 15%, transparent 0%);
  pointer-events: none;
}
.card__box > * { position: relative; }
.card__icon {
  position: absolute !important;
  top: -10px;
  left: -42px;
  z-index: 10;
  display: grid;
  place-items: center;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--dark);
  transition: background-color .3s;
}
.card__icon svg { width: 50px; height: 50px; fill: #fff; transition: fill .3s; }
.card:hover .card__icon svg { fill: var(--teal); }
.card__title { font-size: 28px; font-weight: 700; line-height: 1; }
.card__box .divider { width: 60%; }
.card__subtitle { font-size: 18px; font-weight: 600; line-height: 1; margin-bottom: 20px; }
.card__text { font-size: 16px; line-height: 1.5; padding: 0 10px; flex: 1; }
.card__box .btn { margin-top: 20px; }

/* ==========================================================
   BANNER
   ========================================================== */
.banner {
  position: relative;
  min-height: 250px;
  padding: 0 10px;
  background-image: linear-gradient(65deg, #1B2039 0%, #18266D 50%);
  box-shadow: 0 0 10px rgba(0, 0, 0, .5);
  border-bottom: 2px solid var(--teal);
  color: #fff;
}
.banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/back-video.webp") center right / cover no-repeat;
  opacity: .28;
  mix-blend-mode: overlay;
}
.banner__inner {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
}
.banner__text {
  flex: 0 0 704px;
  padding: 38px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.banner__text h2 { font-size: 35px; font-weight: 700; line-height: 40px; }
.banner__text p { font-size: 16px; font-weight: 300; line-height: 1.5; }
.highlight { background: var(--teal); padding: 2px 5px; font-weight: 700; }
.banner__text .banner__cta { font-size: 18px; font-weight: 600; font-style: italic; color: var(--teal); }
.banner__buttons {
  flex: 1;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  gap: 15px;
  padding: 10px;
}

/* ==========================================================
   COMERCIO EXTERIOR
   ========================================================== */
.comex {
  padding: 60px 10px 30px;
  background-image: linear-gradient(0deg, #EBEBEB 0%, #FFFFFF 100%);
  box-shadow: 0 3px 10px rgba(0, 0, 0, .28);
  border-bottom: 2px solid var(--teal);
  position: relative;
  z-index: 1;
}
.comex__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
}
.comex__media {
  position: relative;
  flex: 0 0 610px;
  height: 525px;
  margin-bottom: 70px;
}
.comex__rect { width: 350px; position: relative; z-index: 1; }
.comex__hex {
  position: absolute;
  left: 175px;
  bottom: -15%;
  width: 400px;
  z-index: 2;
}
.comex__badge {
  position: absolute;
  top: 33%;
  right: 51.5px;
  width: 150px;
  z-index: 5;
}
.comex__content { flex: 1; padding: 0 38px; display: flex; flex-direction: column; align-items: flex-start; }
.comex__content .section-title { margin-bottom: 20px; }
.comex__text { font-size: 16px; font-weight: 300; line-height: 1.5; margin: 0 0 20px 10px; }
.check-list { list-style: none; margin: 0 0 20px; padding: 0 0 0 10px; }
.check-list li {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 4px 0 6px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}
.check-list li:not(:last-child)::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 33%;
  border-top: 1px solid rgba(27, 32, 57, .12);
}
.check-list svg { width: 14px; height: 14px; fill: var(--teal); flex: none; margin-top: 5px; }

/* ==========================================================
   CONTACTO
   ========================================================== */
.contact {
  position: relative;
  background-image: linear-gradient(180deg, #EBEBEB 60%, #FFFFFF 100%);
  padding: 30px 10px;
}
.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/multi-carrier-pattern.png") center / 19% auto;
  opacity: .5;
  pointer-events: none;
}
.contact__inner {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
}
.contact__content { flex: 0 0 650px; padding: 0 38px; }
.contact__content .section-title { margin-bottom: 20px; }
.contact__box {
  width: 75%;
  margin: 20px 3%;
  padding: 3%;
  background: rgba(255, 255, 255, .35);
  box-shadow: 0 3px 10px rgba(0, 0, 0, .12);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.5;
}
.contact__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.contact__list a, .contact__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  transition: color .3s;
}
.contact__list a:hover { color: var(--teal); }
.contact__list svg { width: 24px; height: 24px; fill: var(--teal); flex: none; }
.contact__media { position: relative; flex: 0 0 610px; padding: 0 0 40px; }
.contact__media img {
  position: relative;
  z-index: 10;
  width: 80%;
  aspect-ratio: 506 / 700;
  object-fit: cover;
  border-radius: 8px;
}
.contact__bar {
  position: absolute;
  top: 6%;
  height: 84%;
  left: calc(80% - 330px);
  width: 350px;
  background: var(--teal);
  border-radius: 8px;
  box-shadow: inset 3px 4px 25px rgba(35, 220, 240, .46);
}

/* ---------- Badge flotante ---------- */
.floating-badge {
  position: fixed;
  right: 0;
  bottom: 0;
  z-index: 99;
  width: 136px;
  padding: 8px;
}

/* ---------- Footer ---------- */
.footer {
  position: relative;
  margin-top: 20px;
  background: var(--dark);
  padding: 10px;
  text-align: center;
  font-size: 18px;
  line-height: 27px;
  color: var(--teal);
}
.footer a { color: #fff; }

/* ==========================================================
   ANIMACIONES DE ENTRADA (equivalentes a Elementor)
   ========================================================== */
.anim { opacity: 0; }
.anim.is-in { animation-duration: 1.25s; animation-fill-mode: both; }
.anim.is-in[data-anim="fadeIn"]      { animation-name: fadeIn; }
.anim.is-in[data-anim="fadeInUp"]    { animation-name: fadeInUp; }
.anim.is-in[data-anim="fadeInDown"]  { animation-name: fadeInDown; }
.anim.is-in[data-anim="fadeInLeft"]  { animation-name: fadeInLeft; }
.anim.is-in[data-anim="zoomIn"]      { animation-name: zoomIn; }
.anim.is-in[data-anim="bounceInUp"]  { animation-name: bounceInUp; }
.anim[data-anim="bounce"]            { opacity: 1; }
.anim.is-in[data-anim="bounce"]      { animation-name: bounce; transform-origin: center bottom; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeInUp { from { opacity: 0; transform: translate3d(0, 100%, 0); } to { opacity: 1; transform: none; } }
@keyframes fadeInDown { from { opacity: 0; transform: translate3d(0, -100%, 0); } to { opacity: 1; transform: none; } }
@keyframes fadeInLeft { from { opacity: 0; transform: translate3d(-100%, 0, 0); } to { opacity: 1; transform: none; } }
@keyframes zoomIn { from { opacity: 0; transform: scale3d(.3, .3, .3); } 50% { opacity: 1; } to { opacity: 1; } }
@keyframes bounce {
  0%, 20%, 53%, 80%, to { animation-timing-function: cubic-bezier(.215, .61, .355, 1); transform: translateZ(0); }
  40%, 43% { animation-timing-function: cubic-bezier(.755, .05, .855, .06); transform: translate3d(0, -30px, 0); }
  70% { animation-timing-function: cubic-bezier(.755, .05, .855, .06); transform: translate3d(0, -15px, 0); }
  90% { transform: translate3d(0, -4px, 0); }
}
@keyframes bounceInUp {
  0%, 60%, 75%, 90%, to { animation-timing-function: cubic-bezier(.215, .61, .355, 1); }
  0% { opacity: 0; transform: translate3d(0, 3000px, 0); }
  60% { opacity: 1; transform: translate3d(0, -20px, 0); }
  75% { transform: translate3d(0, 10px, 0); }
  90% { transform: translate3d(0, -5px, 0); }
  to { opacity: 1; transform: translateZ(0); }
}

/* Efectos de movimiento al hacer scroll */
.fx { will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  .anim { opacity: 1 !important; animation: none !important; }
  .fx { transform: none !important; }
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 1280px) {
  .services__grid { grid-template-columns: repeat(3, minmax(0, 391px)); padding: 0 40px; gap: 30px; }
  .card__box { padding: 58px 25px 40px; }
}

@media (max-width: 1024px) {
  .hero__title { font-size: 52px; }
  .hero__badge { width: 70%; font-size: 28px; padding: 8px 0; }

  .services__grid { grid-template-columns: minmax(0, 420px); gap: 70px; padding: 0 40px; }
  .card__box { min-height: 0; padding: 70px 40px 50px; }
  .card__icon { left: -30px; }

  .banner__inner { flex-direction: column; padding: 30px 0; }
  .banner__text { flex: none; padding: 10px 20px; }
  .banner__buttons { flex-wrap: wrap; gap: 20px; }

  .comex__inner, .contact__inner { flex-direction: column; }
  .comex__media { flex: none; width: 610px; max-width: 100%; }
  .comex__content { padding: 0 20px; }
  .contact__content { flex: none; width: 100%; max-width: 650px; padding: 0 20px; }
  .contact__media { flex: none; width: 610px; max-width: 100%; }
}

@media (max-width: 767px) {
  .section-title { font-size: 28px; }
  .section-title--left { line-height: 1.15; }

  .hero { min-height: 100svh; }
  .hero__logo { margin-left: 0; }
  .hero__logo img { width: 70%; }
  .hero__title { font-size: 36px; }
  .hero__badge { width: 100%; font-size: 22px; }
  .hero__text { font-size: 16px; }
  .hero__buttons { flex-direction: column; align-items: center; }
  .hero__buttons .btn { margin: 6px 0; }

  .features__grid { flex-direction: column; gap: 25px; }

  .services__grid { padding: 0 20px 0 40px; }
  .card__box { padding: 70px 25px 50px; }

  .banner__text h2 { font-size: 26px; line-height: 1.2; }
  .btn--teal { font-size: 18px; }

  .comex__media { height: auto; aspect-ratio: 610 / 525; margin-bottom: 18%; }
  .comex__rect { width: 57%; }
  .comex__hex { width: 65%; left: 29%; }
  .comex__badge { width: 25%; right: 5%; }

  .contact__box { width: 100%; margin: 20px 0; padding: 15px; }
  .contact__list a, .contact__item { font-size: 16px; }
  .contact__bar { width: 57%; left: 27%; }

  .floating-badge { width: 100px; }
  .footer { font-size: 15px; }
}
