/* =========================
   RESET
========================= */
/* #region RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
/* #endregion */


/* =========================
   VARIABLES GLOBALES
========================= */
/* #region VARIABLES */
:root {

  /* BACKGROUNDS */
  --bg-1: #FFFFFF;
  --bg-2: #C6AC73;
  --bg-3: #11141A;
  --bg-negro: #181D25;
  --bg-dorado: #D7B600;
  --bg-cta: #7AA93C;

  /* TIPOGRAFÍA */
  --font-primary: Philosopher, sans-serif;
  --font-secondary: Space Grotesk,sans-serif;
  --font-body: Space Grotesk,sans-serif;

  /* COLORES TEXTO */
  --color-primary: white;
  --color-body: #DAD4D4;
  --color-accent: #C6AC73;
  --color-white: #FFFFFF;

  /* ESPACIADO */
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 6rem;
}
/* #endregion */


h1, h2, h3 {
  font-family: var(--font-primary);
  line-height: 1.1;
  letter-spacing: 0.5px;
}


/* =========================
   BASE
========================= */
/* #region BASE */
body {
  background: var(--bg-negro);  
  font-family: var(--font-body);
  color: var(--color-body);
  line-height: 1.6;
  font-size: 1rem;
}
/* #endregion */


/* =========================
   ANIMACIONES BASE
========================= */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: opacity, transform;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Variantes para más “flow” */
.reveal-left {
  transform: translateX(-60px);
}

.reveal-right {
  transform: translateX(60px);
}

.reveal-left.active,
.reveal-right.active {
  transform: translateX(0);
}

/* Imagen con zoom suave */
.reveal-zoom {
  opacity: 0;
  transform: scale(0.92);
  transition: all 1s ease;
}

.reveal-zoom.active {
  opacity: 1;
  transform: scale(1);
}
/* =========================
   CONTAINER
========================= */
/* #region CONTAINER */
.container {
  width: 100%;
  max-width: 1100px; /* 👈 fijo */
  margin: 0 auto;
  padding: 0 20px; /* 👈 respiración lateral */
}

/* MOBILE */
@media (max-width: 768px) {
  .container {
    padding: 0 25px;
  }
}
/* #endregion */


/* =========================
   NAVBAR
========================= */
/* #region NAVBAR */

  .navbar {
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;

    backdrop-filter: blur(10px);
    background:var(--bg-negro);
  }

  /* CONTAINER PRINCIPAL */
  .navbar-inner {
    max-width: 90%;
    margin: 0 auto;
   
    background: var(--bg-negro);
    border-radius: 20px;

    padding: 14px 24px;

    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    align-items: center;

 

    position: relative;
  }

  /* =========================
    LOGO
  ========================= */
 .navbar-logo {
  height: 80px; /* antes 40px */
  width: auto;
}
/* =========================
   MOBILE MENU (OPTIMIZADO)
========================= */
/* =========================
   OVERLAY (iOS STYLE)
========================= */

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.25);
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: 0.35s ease;
  z-index: 999;
}

/* =========================
   IOS MENU GLASS
========================= */

.ios-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 320px;

  /* glassmorphism */
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  border-left: 1px solid rgba(255,255,255,0.3);
  box-shadow: -20px 0 40px rgba(0,0,0,0.15);

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  padding: 120px 32px 40px;

  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(0.2, 0.9, 0.2, 1);

  z-index: 1000;
}

/* =========================
   LINKS
========================= */

.ios-links {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.ios-links a {
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 500;
  color: #0a0a0a;

  opacity: 0;
  transform: translateX(20px);

  transition: all 0.5s ease;
}

/* =========================
   FOOTER MENU
========================= */

.ios-footer {
  border-top: 1px solid rgba(0,0,0,0.08);
  padding-top: 20px;
 color: rgb(0, 0, 0);
  display: flex;
  flex-direction: column;
  gap: 4px;

  font-size: 0.95rem;
}

/* =========================
   ACTIVE STATES
========================= */

.nav-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.ios-menu.active {
  transform: translateX(0);
}

/* stagger links */
.ios-menu.active .ios-links a {
  opacity: 1;
  transform: translateX(0);
}

.ios-menu.active .ios-links a:nth-child(1) { transition-delay: 0.05s; }
.ios-menu.active .ios-links a:nth-child(2) { transition-delay: 0.10s; }
.ios-menu.active .ios-links a:nth-child(3) { transition-delay: 0.15s; }
.ios-menu.active .ios-links a:nth-child(4) { transition-delay: 0.20s; }

  /* =========================
    LINKS CENTRO
  ========================= */
  .navbar-center {
    display: flex;
    justify-content: center;
    gap: 30px;
  }

  .navbar-center a {
    font-size: 1.1rem;
    color: var(--bg-1);
    text-decoration: none;
    font-weight: 500;
  }

  .navbar-center a:hover {
    color: var(--bg-2);
  }

  /* =========================
    CTA TELÉFONO
  ========================= */
  .navbar-right {
    display: flex;
    justify-content: flex-end;
  }

  .navbar-phone-box {
    background: var(--bg-cta);
    color: #fff;

    display: flex;
    align-items: center;
    gap: 12px;

    padding: 10px 16px;
    border-radius: 14px;
  }

  .navbar-phone-box img {
    width: 28px;
  }

  .phone-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
  }

  .phone-text span {
    font-size: 0.85rem;
    opacity: 0.9;
  }

  .phone-text strong {
    font-size: 14px;
  }

  /* =========================
    HAMBURGUESA
  ========================= */
  .hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    justify-self: end;
  }

.hamburger span {
  height: 3.5px;
  background: var(--bg-1);
  border-radius: 6px;
  transition: 0.3s ease;
}

/* MÁS GRANDE Y PROPORCIONADA */
.hamburger span:nth-child(1) { width: 34px; }
.hamburger span:nth-child(2) { width: 28px; }
.hamburger span:nth-child(3) { width: 22px; }
  /* =========================
    RESPONSIVE
  ========================= */
  @media (max-width: 900px) {

    .navbar-inner {
      grid-template-columns: 1fr auto;
    }

    .navbar-center,
    .navbar-right {
      display: none;
    }

    .hamburger {
      display: flex;
    }
  }

/* #endregion */

/*whatsapp flotante */
/* =========================
   WHATSAPP FLOAT BUTTON
========================= */

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;

  width: 50px;
  height: 50px;

  background-color: #25D366;
  color: white;

  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 1.6rem;
  text-decoration: none;

  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);

  transition: transform 0.2s ease, background-color 0.3s ease;
}

/* HOVER */
.whatsapp-float:hover {
  transform: scale(1.1);
  background-color: #1ebe5d;
}
/*end whatsapp flotante */

/* =========================
   SECTION - BASE
========================= */
/* #region SECTION BASE */
.section {
  padding: var(--space-xl) 0;
    border-bottom:  solid rgb(53, 53, 53);
}


/* #endregion */






/* =========================
   SECTION - SPLIT
========================= */
/* #region SPLIT */
.section--split .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xl);
}

.section--split .section__content,
.section--split .section__media {
  flex: 1;
}

.section__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}
.section--split img {
  width: 100%;
  display: block;
  border-radius: 0.5rem;
}
/* #endregion */


/* =========================
   SECTION - CENTER
========================= */
/* #region CENTER */
.section--center .container {
  text-align: center;
  
}
/* #endregion */


/* =========================
   TYPOGRAPHY
========================= */
/* #region TYPOGRAPHY */

.section__badge {
  position: relative;
  display: inline-block;

  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08rem;
  font-weight: 600;

  color: var(--color-white);

  margin-bottom: var(--space-sm);
  padding-top: 0.6rem; /* espacio para la línea */
}

/* 🔥 línea encima */
.section__badge::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;

  width: 40px; /* 👈 25% de la pantalla */
  max-width: 140px; /* 👈 evita que sea gigante en desktop */

  height: 1.5px;
  background: var(--bg-2);
}



.section__badge_center {
  position: relative;
  display: inline-block;

  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08rem;
  font-weight: 600;

  color: var(--color-white);

  margin-bottom: var(--space-sm);
  padding-top: 0.6rem; /* espacio para la línea */
}

/* 🔥 línea encima */
.section__badge_center::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);

  width: 40px;
  max-width: 140px;
  height: 1.5px;

  background: var(--bg-2);
}

/* =========================
   DEFAULT STATE
========================= */

.section__title,
.section__subtitle,
.section__text {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.7s ease;
}

/* =========================
   WHEN SECTION IS VISIBLE
========================= */

.section.is-visible .section__title {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.1s;
}

.section.is-visible .section__subtitle {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}

.section.is-visible .section__text {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.3s;
}
/* #endregion */


/* =========================
   BUTTON
========================= */
/* #region BUTTON */
.btn-primary {
  margin-top: var(--space-md);
  padding: 0.85rem 1.6rem;
  border: none;
  color: var(--color-white);
  cursor: pointer;
  border-radius: 0.5rem;
  width: fit-content;
  border: 1px solid var(--bg-2);
  font-family: var(--font-primary);
  font-weight: 500;
  letter-spacing: 0.5px;
  text-decoration: none;

  box-shadow: 0 8px 20px rgba(122, 169, 60, 0.25);

  /* base */
  background: transparent;

  /* animación infinita */
  animation: btnGlow 4s ease-in-out infinite;
}

@keyframes btnGlow {

  0% {
      background: transparent;
  }

  50% {
    background: var(--bg-cta);  
  }

  100% {
     background: transparent;
  }
}



/* =========================
   BUTTON SECONDARY
========================= */

.btn-secondary {
  display: inline-block;
  padding: 10px 20px;

  color: #ffffff;
  background: transparent;

  border: 1px solid var(--bg-2);
  border-radius: 6px;

  font-size: 14px;
  text-decoration: none;

  cursor: pointer;
}

/* #endregion */




/* =========================
   RESPONSIVE
========================= */
/* #region RESPONSIVE */

@media (max-width: 768px) {

  .section--split .container {
    flex-direction: column;
  }

  .section {
    padding: 3.75rem 0;
  }

  .section__title {
    font-size: 2rem;
  }

  .navbar__container {
    flex-direction: column;
    gap: var(--space-md);
  }

  .navbar__center {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* #endregion */





/* =========================
   FOOTER
========================= */
/* #region FOOTER */

.footer {
  background: transparent;
  padding: 80px 0 0;
}

/* CONTAINER */
.footer .container {
  max-width: 1500px;
  margin: 0 auto;

  background: #242930;

  border-radius: 24px 24px 0 0;

  padding: 60px;

  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* =========================
   TOP GRID
========================= */
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;

  margin-bottom: 40px;
}

/* =========================
   BRAND
========================= */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-logo {
  width: 160px;
  transition: 0.2s ease;
}

.footer-logo:hover {
  transform: scale(1.03);
}

.footer-brand p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-body);
  max-width: 320px;
}

/* =========================
   COLUMNS
========================= */
.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-col h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 14px;
}

/* LINKS */
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 15px;
  color: var(--color-body);
  text-decoration: none;
  transition: 0.2s ease;
}

.footer-links a:hover {
  color: var(--color-accent);
}

/* =========================
   BOTTOM
========================= */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding-top: 20px;
  border-top: 1px solid rgba(0,0,0,0.1);

  font-size: 14px;
  color: var(--color-body);
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 900px) {

  .footer .container {
    padding: 40px 20px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-brand p {
    max-width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}

/* #endregion */


/* =========================
   HERO BASE
========================= */
/* #region HERO */



.section--hero {
  padding-top: 0rem;
  background-image: url("images/fondoHero1.png");
  background-size: 20% auto;
  background-position: 100%;
  background-repeat: no-repeat;

  display: flex;
  flex-direction: column;
  justify-content: center;
}


.section--hero .container {
  width: 100%;
  background-color: transparent;

  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

/* =========================
   HERO IMAGE LOOP (MODERNO)
========================= */

.section__media--loop {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 12px;
}

/* IMÁGENES SUPERPUESTAS */
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;

  opacity: 0;
  transform: scale(1.06);

  animation: heroSmooth 10s infinite;
  will-change: opacity, transform;
}

/* delays */
.hero-img--1 {
  animation-delay: 0s;
}

.hero-img--2 {
  animation-delay: 5s;
}

/* ANIMACIÓN MODERNA SIN FLASH */
@keyframes heroSmooth {
  0% {
    opacity: 0;
    transform: scale(1.06);
  }

  10% {
    opacity: 1;
    transform: scale(1.02);
  }

  45% {
    opacity: 1;
    transform: scale(1);
  }

  55% {
    opacity: 0;
    transform: scale(1.03);
  }

  100% {
    opacity: 0;
    transform: scale(1.06);
  }
}

/* =========================
   TEXTO HERO
========================= */

.section--hero .section__title {
  color: #FFFFFF;
}

.section--hero .section__content {
  max-width: 520px;
  width: 100%;
}

.section--hero .section__text {
  color: #B5B5B5;
}

/* highlight */
.text-highlight {
  color: var(--bg-2);
  padding: 0 6px;
  border-radius: 4px;
  font-weight: 500;
}

/* =========================
   TRUST
========================= */

.hero__trust {
  display: flex;
  align-items: center;
  justify-content: start;
  gap: var(--space-md);
  margin-top: var(--space-sm);
  margin-bottom: var(--space-sm);
  color: var(--color-white);
  font-size: 0.9rem;
}

.hero__google {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.hero__google img {
  width: 18px;
  height: 18px;
}

.hero__google-score {
  font-size: 2rem;
  font-family: var(--font-primary);
  font-weight: 700;
  color: #FFFFFF;
}

.hero__rating {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}

.hero__rating-top {
  font-weight: 500;
}

.hero__stars img {
  width: 90px;
  margin-top: 2px;
}

/* botón */
.btn-primary--arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-primary__arrow {
  width: 10px;
  height: 10px;
  border-right: 2px solid #fff;
  border-top: 2px solid #fff;
  transform: rotate(45deg);
  opacity: 0.9;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 768px) {

  .section--hero .container {
    grid-template-columns: 1fr;
  }

  .section__media--loop {
    height: 320px;
  }

  .section--hero .section__content {
    max-width: 100%;
    order: 2;
  }

  .section--hero {
    background-size: 60% auto;
    background-position: 100% 100%;
  }

  .hero__trust {
    justify-content: flex-start;
  }
}

/* #endregion */


/* =========================
   PROBLEM SECTION
========================= */

/* #region PROBLEM SECTION */

.section--problem {
  background: #11141A;
}

/* GRID 3 COLUMNAS */
.problem__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  align-items: center;
  gap: 40px;
}

/* COLUMNAS */
.problem__col {
  width: 100%;
}

/* TEXTO CENTRO */
.problem__col--content {
  text-align: left;
}

/* IMÁGENES */
.problem__col--image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

/* LISTA */
.problem__list {
  margin-top: var(--space-md);
  padding-left: 0;
  list-style: none;
  color: var(--bg-1);
}

.problem__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
  line-height: 1.4;
  text-align: left;
}

/* ICONO */
.problem__check {
  color: var(--bg-2);
  font-weight: bold;
  flex-shrink: 0;
  margin-top: 2px;
}

.problem__col--image:first-child img {
  transform: translateY(-50px);
}

.problem__col--image:last-child img {
  transform: translateY(50px);
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1024px) {
  .problem__grid {
    grid-template-columns: 1fr;
    gap: 80px;
  }

  /* ORDEN EXACTO */
  .problem__col--image:first-child {
    order: 1;
  }

  .problem__col--content {
    order: 2;
  }

  .problem__col--image:last-child {
    order: 3;
  }

  /* QUITAR DESPLAZAMIENTOS */
  .problem__col--image img {
    transform: none !important;
  }
}
/* #endregion */



/* =========================
   TRUST BANNER (INFINITO REAL)
========================= */

.trust-banner {
  width: 100%;
  background: var(--bg-2);
  overflow: hidden;
  padding: 18px 0;
}

/* TRACK */
.trust-track {
  display: flex;
  width: max-content;
  animation: scrollTrust 40s linear infinite;
}

/* GRUPO */
.trust-group {
  display: flex;
  gap: 60px;
  padding-right: 60px;
}

/* TEXTO MÁS GRANDE */
.trust-group span {
  font-size: 3rem;
  font-weight: 700;
  color: var(--bg-3); /* negro */
  text-transform: uppercase;
  font-family: var(--font-primary);
  letter-spacing: 1px;
  white-space: nowrap;
}

/* ANIMACIÓN PERFECTA */
@keyframes scrollTrust {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

  .trust-track {
    animation: scrollTrust 24s linear infinite; /* más rápido móvil */
  }

  .trust-group {
    gap: 35px;
    padding-right: 35px;
  }

  .trust-group span {
    font-size: 1rem;
  }
}




/* =========================
   PROCESS SECTION
========================= */

/* #region PROCESS SECTION */

.section--process {
  background: #181D25;
}

.section--process .section__title,
.section--process .process__description {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* GRID */

.process__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  align-items: center;
  gap: 40px;
}

/* COLUMNAS */
.process__col {
  width: 100%;
}

/* IMÁGENES */
.process__col--image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
  object-fit: cover;
}

/* OFFSET SOLO DESKTOP */
.process__col--image:first-child img {
  transform: translateY(-50px);
}

.process__col--image:last-child img {
  transform: translateY(150px);
}

/* CONTENIDO */
.process__col--content {
  text-align: left;
}

/* DESCRIPCIÓN */
.process__description {
  color: rgba(255,255,255,0.7);
  margin: 16px 0 24px;
  line-height: 1.5;
}

/* STEPS */
.process__steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* CARD */
.process__step {
 
  border-radius: 16px;
  padding: 24px 20px;
  text-align: center;
  background: transparent;
  position: relative;
  overflow: hidden;
}

/* =========================
   NÚMERO CON FADE INFERIOR
========================= */

.process__number {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);

  font-size: 5.5rem;
  font-weight: 800;
  line-height: 1;

  color: transparent;
  -webkit-text-stroke: 1.5px var(--bg-2);

  z-index: 1;
  pointer-events: none;
}

/* 🔥 FADE MÁS FUERTE Y VISIBLE */
.process__number::after {
  content: "";
  position: absolute;
  left: -10%;
  bottom: -10%;

  width: 120%;
  height: 80%; /* 👈 más grande = más visible */

  background: linear-gradient(
    to bottom,
    rgba(17, 20, 26, 0) 0%,
    rgba(17, 20, 26, 0.6) 40%,
    rgba(17, 20, 26, 1) 100%
  );

  pointer-events: none;
}

/* CONTENIDO ENCIMA */
.process__step-title,
.process__step-text {
  position: relative;
  z-index: 2;
}

/* TITULO */
.process__step-title {
  margin-top: 18px;
  font-size: 1rem;
  color: #fff;
  margin-bottom: 6px;
}

/* TEXTO */
.process__step-text {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.4;
}

/* =========================
   RESPONSIVE
========================= */




@media (max-width: 1024px) {
  .process__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .process__col--image:first-child {
    display: none;
  }

  .process__col--image:first-child {
    order: 1;
  }

  .process__col--content {
    order: 2;
  }

  .process__col--image:last-child {
    order: 3;
  }

  .process__col--image img {
    transform: none !important;
  }

  .process__steps {
    grid-template-columns: 1fr;
  }
}

/* #endregion */

/* =========================
   SOCIAL SECTION
========================= */

/* #region SOCIAL */

.section--social {
  background: var(--bg-3);
}

/* container */
.section--social .container {
  max-width: 1000px;
  margin: 0 auto;
}

/* =========================
   HEADER
========================= */

.section--social .section__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-lg);
}

/* =========================
   GRIDS BASE
========================= */



.social__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;

  /* mejora UX al expandir */
  transition: all 0.3s ease;
}

/* GRID EXTRA (oculto por defecto) */
.social__grid--extra {
  display: none;
  margin-top: 20px;
}

/* estado activo */
.social__grid--extra.is-visible {
  display: grid;
}

/* =========================
   ITEM
========================= */

.social__item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 14px;
  cursor: pointer;

  /* evita micro saltos en hover */
  transform: translateZ(0);
}

.social__item img {
  width: 100%;
  aspect-ratio: 1 / 1.5;
  object-fit: cover;
  display: block;

  transition: transform 0.45s ease;
  will-change: transform;
}

.social__item:hover img {
  transform: scale(1.06);
}

/* =========================
   BOTONES
========================= */

.reviews__cta {
  margin-top: 25px;
  text-align: center;
}

.reviews__instagram {
  display: none;
  margin-top: 20px;
}

/* botón JS */
.js-toggle-social {
  cursor: pointer;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

  /* =========================
     GRID PRINCIPAL + EXTRA SIEMPRE VISIBLES
  ========================= */

  .social__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  /* 🔥 CLAVE: el extra NO debe estar oculto en móvil */
  .social__grid--extra {
    display: grid !important;
    margin-top: 12px;
  }

  /* =========================
     IMAGENES
  ========================= */

  .social__item img {
    aspect-ratio: 1 / 1.8;
  }

  /* =========================
     BOTONES
  ========================= */

  .reviews__cta {
    display: none;
  }

  .reviews__instagram {
    display: block;
  }
}


/* #endregion */




/* =========================
   COMENTARIOS SECTION
========================= */

/* #region COMMENTS */

.section--comentarios .container {
  max-width: 1100px;
  margin: 0 auto;
}

/* HEADER */
.section--comentarios .section__header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--space-lg);
}

/* WRAPPER */
.reviews__wrapper {
  position: relative;
}

/* TRACK (DESKTOP GRID) */
.reviews__track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* CARD */
.reviews__card {
  background: #242930;
  padding: 25px;
  text-align: center;

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  min-height: 180px;
}

/* TEXTO */
.reviews__card p {
  color: #ffffff;
  font-size: 1.1rem;
  line-height: 1.4;
  margin-bottom: 15px;
}

/* NOMBRE */
.reviews__name {
  display: block;
  margin-bottom: 10px;
  color: var(--bg-2);
  font-size: 1.4rem;
  transform: uppercase;
  font-family: var(--font-primary);
}

/* ESTRELLAS */
.reviews__card img {
  width: 80px;
  margin: 0 auto;
}

/* BOTONES (OCULTOS DESKTOP) */
.reviews__nav {
  display: none;
}

.reviews__cta2 {
  margin-top: 30px;
  text-align: center;
}

/* =========================
   MOBILE → SLIDER
========================= */

@media (max-width: 768px) {

  .reviews__track {
    display: flex;
    overflow-x: auto;
    gap: 15px;
    scroll-behavior: smooth;
  }

  .reviews__card {
    flex: 0 0 85%;
    max-width: 85%;
  }

  /* BOTONES */
  .reviews__nav {
    display: block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    background: rgba(0,0,0,0.6);
    color: #fff;

    border: none;
    padding: 10px 14px;
    cursor: pointer;
    z-index: 2;
  }

  .reviews__nav--left {
    left: 0;
  }

  .reviews__nav--right {
    right: 0;
  }


  .reviews__cta2 {
    display: block !important;
    margin-top: 40px;
  
}

}

/* #endregion */



/* =========================
   CTA WHATSAPP (MEJORADO)
========================= */
/* #region CTA WHATSAPP */
.section--social .btn-primary {
  margin-top: var(--space-xl);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;

  font-weight: 600;
  letter-spacing: 0.2px;

  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

/* hover elegante */
.section--social .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
}

/* móvil */
@media (max-width: 768px) {
  .section--social .btn-primary {
    margin-top: var(--space-xxl);
    width: 100%;
  }
}



/* #endregion */





/* =========================
   SERVICES SECTION
========================= */

.section--services {
  background: var(--bg-3);
}

.section--services .services__container {
  max-width: 1100px;
  margin: 0 auto;
}

/* limitar ancho texto */
.services__container .section__title,
.services__container .section__text {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* =========================
   GRID
========================= */

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: var(--space-xl);
}

/* ITEM */
.services__item {
  text-align: left;
}

/* CARD MÁS ALTA */
.services__card {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4; /* más alto */
  border-radius: 0px;
  overflow: hidden;
  cursor: pointer;
}

/* IMAGE */
.services__image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}

.services__card:hover .services__image {
  transform: scale(1.08);
}

/* TITULO */
.services__title {
  margin-top: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--bg-2);
    text-transform: uppercase;
}

/* SUBTITULO */
.services__subtitle {
  font-size: 1.2rem;

  color:rgb(255, 255, 255);
  margin-top: 4px;
}

/* CTA */
.services__cta {
  margin-top: 40px;
  text-align: center;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1024px) {
  .services__grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

@media (max-width: 768px) {

  /* cards más cuadrados en móvil */
  .services__card {
    aspect-ratio: 1 / 1; /* 🔥 más cuadrado */
  }

  /* título alineado a la izquierda */
  .services__item {
    text-align: left;
  }

  /* título con color bg2 */
  .services__title {
    color: var(--bg-2);
    font-size: 1.05rem;
    margin-top: 10px;
  }

  /* subtítulo alineado también */
  .services__subtitle {
    text-align: left;
  }

}

/* =========================
   CTA SECTION
========================= */

/* #region CTA */

.section--cta {
  padding: 90px 0;
  text-align: center;
}

.cta__container {
  max-width: 700px;
  margin: 0 auto;
}

/* BADGE */
.section--cta .section__badge {
  margin-bottom: 10px;
}

/* TITULO */
.section--cta .section__title {
  margin-bottom: 20px;
}

/* TEXTO */
.section--cta .section__text {
  margin-bottom: 30px;
  opacity: 0.9;
}

/* BOTÓN PRINCIPAL */
.section--cta .btn-primary {
  background: var(--bg-2);
  color: var(--bg-1);

  padding: 14px 30px;
  border-radius: 8px;

  font-weight: 600;
  display: inline-block;

  transition: all 0.3s ease;

  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

.section--cta .btn-primary:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

/* =========================
   TRUST LIST (CENTRADO)
========================= */

.cta__trust {
  margin-top: 25px;

  display: flex;
  flex-direction: column;
  align-items: center; /* 🔥 CENTRADO REAL */
  gap: 10px;

  font-size: 14px;
  color: #fff;
  opacity: 0.85;
}

/* ITEM */
.cta__trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* CHECK CIRCULAR */
.cta__check {
  width: 22px;
  height: 22px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 1.5px solid var(--bg-2);
  border-radius: 50%;

  color: var(--bg-2);
  font-size: 12px;
  font-weight: bold;

  flex-shrink: 0;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .section--cta {
    padding: 70px 0;
  }

  .cta__trust {
    gap: 8px;
  }
}

/* #endregion */


/* =========================
   LOCATION SECTION
========================= */

/* #region LOCATION */

.section--location{
  background-color: var(--bg-3);
}

.section--location .location__container {
  max-width: 1100px;
  margin: 0 auto;
}

/* GRID */
.location__grid {
  margin-top: var(--space-xl);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: start;
}

/* MAPA */
.location__map iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;

  border: 0;
  border-radius: 12px;
}

/* CENTRAR ELEMENTOS EN INFO */
.location__info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

/* BOTÓN */
.location__btn {
  width: fit-content;
}
/* CARD */
.location__card {
  background: #181D25;
  padding: 18px;
  border-radius: 10px;

  color: #fff;
}

.location__card h3 {
  font-size: 16px;
  margin-bottom: 6px;
  color: var(--bg-2);
}

.location__card p {
  font-size: 14px;
  opacity: 0.85;
  line-height: 1.4;
}

/* BOTÓN */
.location__btn {
  margin-top: 10px;
  text-align: center;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .location__grid {
    grid-template-columns: 1fr;
  }

  .location__map iframe {
    min-height: 300px;
  }
}

/* #endregion */







