/* ============================================================
   MUDANZAS ALEJANDRO — style.css
   Paleta: Rojo #D7141A | Negro #111111 | Sand #e9e3d6 | Blanco #FFFFFF
   Tipografía: Plus Jakarta Sans (titulares) + DM Sans (cuerpo)
   ============================================================ */

/* ─── RESET / BASE ─── */
html, body {
  overflow-x: hidden;
}

*, *::before, *::after {
  box-sizing: border-box;
}

:root {
  --ma-red:      #D7141A;
  --ma-red-dark: #a50e13;
  --ma-black:    #111111;
  --ma-dark:     #1a1a1a;
  --ma-sand:     #e9e3d6;
  --ma-sand-mid: #d9d2c4;
  --ma-white:    #FFFFFF;
  --ma-text:     #2d2d2d;
  --ma-text-mid: #666666;
  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-body:    'DM Sans', sans-serif;
  --radius-sm:    6px;
  --radius-md:    12px;
  --radius-lg:    20px;
  --shadow-card:  0 2px 12px rgba(0,0,0,0.07);
  --shadow-hover: 0 8px 32px rgba(0,0,0,0.14);
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ma-text);
  background-color: var(--ma-white);
  line-height: 1.65;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

.ma-red {
  color: var(--ma-red);
}

/* ─── BOTONES ─── */
.btn {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  padding: 0.75rem 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: none;
  transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.ma-btn-primary {
  background-color: var(--ma-red);
  color: var(--ma-white);
  box-shadow: 0 2px 8px rgba(215,20,26,0.25);
}
.ma-btn-primary:hover {
  background-color: var(--ma-red-dark);
  color: var(--ma-white);
  box-shadow: 0 6px 20px rgba(215,20,26,0.35);
}

.ma-btn-wa {
  background-color: #25D366;
  color: var(--ma-white);
  box-shadow: 0 2px 8px rgba(37,211,102,0.25);
}
.ma-btn-wa:hover {
  background-color: #1da851;
  color: var(--ma-white);
  box-shadow: 0 6px 20px rgba(37,211,102,0.35);
}

.ma-btn-dark {
  background-color: var(--ma-black);
  color: var(--ma-white);
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
}
.ma-btn-dark:hover {
  background-color: #333;
  color: var(--ma-white);
  box-shadow: 0 6px 20px rgba(0,0,0,0.28);
}

/* ─── TIPOGRAFÍA GLOBAL ─── */
.ma-label-section {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ma-red);
  margin-bottom: 0.75rem;
}

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

.ma-section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--ma-black);
  margin-bottom: 1rem;
}

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

.ma-section-sub {
  color: var(--ma-text-mid);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 0;
}

/* ─── TOPBAR ─── */
.ma-topbar {
  background-color: var(--ma-black);
  padding: 0.5rem 0;
  font-size: 0.875rem;
}

.ma-topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255,255,255,0.7);
  margin-right: 1.5rem;
}

.ma-topbar__item a {
  color: rgba(255,255,255,0.85);
}
.ma-topbar__item a:hover {
  color: var(--ma-white);
}

.ma-topbar__item i {
  color: var(--ma-red);
}

.ma-topbar__tag {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ma-red);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ─── NAVBAR ─── */
.ma-navbar {
  background-color: var(--ma-white);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  padding: 0.875rem 0;
  transition: box-shadow 0.2s;
}

.ma-navbar.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.ma-logo {
  height: 70px;
  width: auto;
}

.ma-navbar .nav-link {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ma-text);
  padding: 0.5rem 1rem;
}
.ma-navbar .nav-link:hover {
  color: var(--ma-red);
}

.navbar-toggler {
  border: none;
  padding: 0.25rem;
}
.navbar-toggler:focus {
  box-shadow: none;
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23111' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ─── HERO ─── */
.ma-hero {
  padding: 4rem 20px 0;
  background: url('images/hero.jpg');
  background-position: 100% 100% ;
  background-size: cover;
  position: relative;
  overflow: hidden;
}

/* Background: misma imagen difuminada de izq (blanco sólido) a derecha (imagen visible) */
.ma-hero::after {
  content: '';
  width: 100%;
  height: 100%;

  position: absolute;
  inset: 0;
 background: linear-gradient(to right, #e9e3d6 0%, #e9e3d6 35%, transparent 80%);
background-size: cover;
  background-position: center right;

}


@media (max-width: 992px){

  /* Background: misma imagen difuminada de izq (blanco sólido) a derecha (imagen visible) */
.ma-hero::before {
 content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, #e9e3d6 0%, #e9e3d6 35%, transparent 80%);

  background-size: cover;
  background-position: center right;

}



}

.ma-hero .container {
  position: relative;
  z-index: 1;
}

.ma-hero .row {
  position: relative;
}

.ma-hero__content {
  padding-top: 100px;
  padding-bottom: 100px;
}

.ma-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ma-red);
  margin-bottom: 1.25rem;
}

.ma-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--ma-black);
  margin-bottom: 1.5rem;
}

.ma-hero__sub {
  font-size: 1.05rem;
  color: var(--ma-text-mid);
  max-width: 52ch;
  line-height: 1.75;
  margin-bottom: 2rem;
}

.ma-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-bottom: 2rem;
}

.ma-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.ma-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background-color: var(--ma-sand);
  color: var(--ma-text);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.4rem 0.875rem;
  border-radius: 100px;
}

.ma-badge i {
  color: var(--ma-red);
}

/* ─── HERO: imagen desbordante ─── */
.ma-hero__img-col {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding-bottom: 0;
  padding-right: 0;
}

/* Wrapper que desborda hacia la derecha */
.ma-hero__img-wrap {
  position: relative;
  /* Desborda: empieza en su columna y se extiende hasta el borde de la ventana */
  width: calc(100% + ((90vw - 100%) / 2) + 20px);
  margin-right: calc(((80vw - 100%) / -2) );
}

.ma-hero__img {
  width: 100%;
  height: 620px;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: var(--radius-md) 0 0 0;
}

/* Tag de ubicación */
.ma-hero__img-tag {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  background-color: var(--ma-red);
  color: var(--ma-white);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  z-index: 3;
}

/* ─── MARQUEE ─── */
.ma-marquee-wrap {
  background-color: var(--ma-red);
  overflow: hidden;
  padding: 0.875rem 0;
  white-space: nowrap;
}

.ma-marquee {
  display: inline-block;
  animation: marquee 32s linear infinite;
}

.ma-marquee span {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ma-white);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0 1.5rem;
}

.ma-marquee__dot {
  color: rgba(255,255,255,0.45);
  padding: 0 !important;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ─── SERVICIOS ─── */
.ma-servicios {
  padding: 6rem 0;
  background-color: var(--ma-white);
}

/* Servicio hero (grande) */
.ma-servicio-hero {
  position: relative;
  height: 100%;
  min-height: 480px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.ma-servicio-hero:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.ma-servicio-hero img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
}

.ma-servicio-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 45%, rgba(0,0,0,0.1) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
}

.ma-servicio-hero__tag {
  display: inline-block;
  background-color: var(--ma-red);
  color: var(--ma-white);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.875rem;
  align-self: flex-start;
}

.ma-servicio-hero__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 800;
  color: var(--ma-white);
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.ma-servicio-hero__desc {
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  max-width: 54ch;
}

.ma-servicio-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Cards de servicio */
.ma-servicio-card {
  background-color: var(--ma-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.ma-servicio-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.ma-servicio-card--img img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.ma-servicio-card__body {
  padding: 1.25rem 1.5rem 1.5rem;
}

.ma-servicio-card__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ma-black);
  margin-bottom: 0.4rem;
}

.ma-servicio-card__desc {
  font-size: 0.95rem;
  color: var(--ma-text-mid);
  margin-bottom: 0;
  line-height: 1.65;
}

/* ─── POR QUÉ NOSOTROS ─── */
.ma-porque {
  background-color: var(--ma-dark);
  padding: 6rem 0;
}

.ma-porque__sub {
  color: rgba(255,255,255,0.6);
  font-size: 1rem;
  line-height: 1.75;
  margin-top: 1rem;
  max-width: 48ch;
}

.ma-ventaja {
  background-color: rgba(255,255,255,0.04);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  height: 100%;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.ma-ventaja:hover {
  background-color: rgba(255,255,255,0.07);
  box-shadow: 0 4px 24px rgba(0,0,0,0.25);
}

.ma-ventaja__icon {
  width: 46px;
  height: 46px;
  background-color: var(--ma-red);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.ma-ventaja__icon i {
  font-size: 1.1rem;
  color: var(--ma-white);
}

.ma-ventaja__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ma-white);
  margin-bottom: 0.5rem;
}

.ma-ventaja__desc {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
  margin-bottom: 0;
}

/* ─── BANNER CTA ROJO ─── */
.ma-cta-banner {
  background-color: var(--ma-red);
  padding: 4rem 0;
}

.ma-cta-banner__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--ma-white);
  line-height: 1.15;
  margin-bottom: 0.5rem;
}

.ma-cta-banner__sub {
  color: rgba(255,255,255,0.8);
  font-size: 1.05rem;
  margin-bottom: 0;
}

/* ─── PROCESO ─── */
.ma-proceso {
  padding: 6rem 0;
  background-color: var(--ma-sand);
}

.ma-proceso__steps {
  border-top: 1px solid var(--ma-sand-mid);
}

.ma-paso {
  padding: 2rem 1.75rem;
  border-right: 1px solid var(--ma-sand-mid);
}

.ma-paso:last-child {
  border-right: none;
}

.ma-paso__num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--ma-red);
  line-height: 1;
  margin-bottom: 1rem;
  opacity: 0.3;
}

.ma-paso__img {
  margin-bottom: 1.25rem;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.ma-paso__img img {
  max-width: 150px;
}

.ma-paso__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ma-black);
  margin-bottom: 0.4rem;
}

.ma-paso__desc {
  font-size: 0.95rem;
  color: var(--ma-text-mid);
  line-height: 1.65;
  margin-bottom: 0;
}

/* ─── COBERTURA ─── */
.ma-cobertura {
  background-color: var(--ma-black);

}

.ma-cobertura__sub {
  color: rgba(255,255,255,0.6);
  font-size: 1rem;
  line-height: 1.75;
  margin-top: 1rem;
  max-width: 50ch;
}

.ma-zona {
  background-color: rgba(255,255,255,0.05);
  border-radius: var(--radius-sm);
  color: var(--ma-white);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: background-color 0.2s;
}

.ma-zona:hover {
  background-color: rgba(255,255,255,0.09);
}

.ma-zona i {
  color: var(--ma-red);
  font-size: 0.8rem;
}

.ma-zona--nacional {
  border: 1px solid rgba(215,20,26,0.45);
  color: var(--ma-red);
}

.ma-zona--nacional i {
  color: var(--ma-red);
}

.ma-cobertura__img-wrap {
  line-height: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.ma-cobertura__img {
  width: 100%;
  
  object-fit: cover;
}

/* ─── GALERÍA SWIPER ─── */
.ma-galeria {
  padding: 6rem 0 0;
  background-color: var(--ma-white);
}

.ma-galeria .container {
  margin-bottom: 2.5rem;
}

.ma-galeria__slider {
  width: 100%;
}

.swiperGaleria {
  width: 100%;
}

.swiperGaleria .swiper-slide img {
  width: 100%;
  height: 460px;
  object-fit: cover;
}

.swiperGaleria .swiper-button-prev,
.swiperGaleria .swiper-button-next {
  color: var(--ma-white);
  background-color: var(--ma-red);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
}

.swiperGaleria .swiper-button-prev::after,
.swiperGaleria .swiper-button-next::after {
  font-size: 0.95rem;
}

.swiperGaleria .swiper-pagination-bullet {
  background-color: var(--ma-red);
  opacity: 0.35;
}

.swiperGaleria .swiper-pagination-bullet-active {
  opacity: 1;
}

/* ─── CONTACTO ─── */
.ma-contacto {
  padding: 6rem 0;
  background-color: var(--ma-sand);
}

.ma-contacto__sub {
  color: var(--ma-text-mid);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-top: 1rem;
  max-width: 48ch;
}

.ma-contacto__datos {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.ma-dato {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.ma-dato > i {
  font-size: 1.2rem;
  color: var(--ma-red);
  margin-top: 0.2rem;
  min-width: 20px;
}

.ma-dato > div {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.ma-dato strong {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ma-text-mid);
}

.ma-dato a,
.ma-dato span {
  color: var(--ma-text);
  font-size: 1rem;
  font-weight: 500;
}

.ma-dato a:hover {
  color: var(--ma-red);
}

/* Camión animado */
.ma-truck-anim {
  overflow: hidden;
  margin-bottom: 0;
  padding: 1rem 0 0rem;
  position: relative;
}

.ma-truck-img {
  animation: truckDrive 6s linear infinite;
  will-change: transform;
  max-width: 280px;
}

@keyframes truckDrive {
  0%   { transform: translateX(-120%); }
  100% { transform: translateX(250%); }
}

/* Card cotización */
.ma-contacto__card {
  background-color: var(--ma-black);
  padding: 2.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-hover);
}

.ma-contacto__card-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--ma-white);
  margin-bottom: 0.4rem;
}

.ma-contacto__card-sub {
  color: rgba(255,255,255,0.5);
  font-size: 0.95rem;
  margin-bottom: 1.75rem;
}

.ma-contacto__note {
  text-align: center;
  color: rgba(255,255,255,0.4);
  font-size: 0.85rem;
  margin-top: 1rem;
  margin-bottom: 0;
}

/* ─── FOOTER ─── */
.ma-footer {
  background-color: var(--ma-dark);
  padding: 5rem 0 2rem;
}

.ma-footer__logo {
  height: 44px;
  width: auto;
}

.ma-footer__desc {
  color: rgba(255,255,255,0.5);
  font-size: 0.95rem;
  line-height: 1.75;
  max-width: 36ch;
}

.ma-footer__heading {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ma-white);
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.ma-footer__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ma-footer__list li {
  color: rgba(255,255,255,0.5);
  font-size: 0.95rem;
  padding: 0.3rem 0;
}

.ma-footer__list--contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.4rem 0;
}

.ma-footer__list--contact li i {
  color: var(--ma-red);
  font-size: 1rem;
  margin-top: 0.15rem;
  min-width: 16px;
}

.ma-footer__list--contact a {
  color: rgba(255,255,255,0.65);
}
.ma-footer__list--contact a:hover {
  color: var(--ma-white);
}

.ma-footer__divider {
  border-color: rgba(255,255,255,0.08);
  margin: 3rem 0 1.5rem;
}

.ma-footer__copy,
.ma-footer__dev {
  color: rgba(255,255,255,0.38);
  font-size: 0.85rem;
  margin-bottom: 0;
}

.ma-footer__dev a {
  color: rgba(255,255,255,0.55);
}
.ma-footer__dev a:hover {
  color: var(--ma-white);
}

/* ─── WHATSAPP FLOTANTE ─── */
.ma-wa-float {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  width: 56px;
  height: 56px;
  background-color: #25D366;
  color: var(--ma-white);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.75rem;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  z-index: 999;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ma-wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 28px rgba(37,211,102,0.55);
  color: var(--ma-white);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 991.98px) {
  .ma-hero {
    padding: 3rem 0 0;
    min-height: auto;
  }

  .ma-hero .row {
    min-height: auto;
  }

  .ma-hero__content {
    padding: 60px 30px 40px;
  }

  /* En mobile la imagen ocupa el ancho completo sin desbordar */
  .ma-hero__img-col {
    padding-right: 0;
    padding-left: 0;
  }

  .ma-hero__img-wrap {
    width: 100%;
    margin-right: 0;
  }

  .ma-hero__img {
    height: 380px;
    border-radius: 0;
  }

  .ma-servicio-hero {
    min-height: 600px;
  }

  .ma-servicio-hero img {
    min-height: 380px;
  }

  .ma-paso {
    border-right: none;
    border-bottom: 1px solid var(--ma-sand-mid);
  }

  .ma-paso:last-child {
    border-bottom: none;
  }

  .swiperGaleria .swiper-slide img {
    height: 320px;
  }

  .ma-cobertura__img {
  
    
  }

  .ma-contacto__card {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 575.98px) {
  .ma-hero__title {
    font-size: 2.4rem;
  }

  .ma-section-title {
    font-size: 1.8rem;
  }

  .ma-cta-banner__title {
    font-size: 1.7rem;
  }

  .ma-hero__ctas {
    flex-direction: column;
  }

  .ma-hero__ctas .btn {
    width: 100%;
    justify-content: center;
  }

  .ma-ventaja {
    padding: 1.25rem;
  }

  .ma-contacto__card-title {
    font-size: 1.5rem;
  }

  .ma-hero__img {
    height: 280px;
  }
}

/* ─── MOTION REDUCIDA ─── */
@media (prefers-reduced-motion: reduce) {
  .ma-marquee {
    animation: none;
  }
  .ma-truck-img {
    animation: none;
  }
}
