/* ------------------------------
   RESET BÁSICO
------------------------------ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Poppins", sans-serif;
    color: #333;
    background-color: #f5f5f7;
}

:root{
  /* Dorados */
  --gold-main: #c9a24d;      /* dorado principal */
  --gold-dark: #a8832f;      /* dorado oscuro */
  --gold-soft: #e6cf8a;      /* dorado suave */

  /* Oscuros */
  --dark-main: #111111;      /* negro profundo */
  --dark-soft: #1c1c1c;      /* gris muy oscuro */
  --gray-text: #6f6f6f;

  /* Fondos */
  --bg-light: #f5f5f7;
  --bg-dark: linear-gradient(90deg, #000000 0%, #3a2a00 45%, #c9a24d 100%);
}

/* Contenedor genérico */
.container {
    width: min(1200px, 100% - 40px);
    margin: 0 auto;
}

/* ------------------------------
   HEADER / NAV
------------------------------ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #111111;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    z-index: 1000;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo img {
    height: 44px;
    object-fit: contain;
}

/* Navegación */
.main-nav {
    position: relative;
}

.nav-links {
    display: flex;
    gap: 24px;
    list-style: none;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #e5e5e5;
    transition: color 0.2s ease, transform 0.2s ease;
}

.nav-links a:hover {
    color: var(--gold-main);
    transform: translateY(-1px);
}

/* Botón hamburguesa (mobile) */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.nav-toggle span {
    width: 22px;
    height: 2px;
    background: #e5e5e5;
    border-radius: 999px;
}

/* ------------------------------
   HERO
------------------------------ */
.hero {
    position: relative;
    min-height: 82vh;
    display: flex;
    align-items: center;
    color: #fff;
    margin-top: 72px; /* para compensar header fixed */
    background-image: url("https://media.istockphoto.com/id/1481370371/photo/portrait-of-enthusiastic-hispanic-young-woman-working-on-computer-in-a-modern-bright-office.webp?b=1&s=612x612&w=0&k=20&c=AGOJXifLU9XIuio3YN2MrB4EP7O9Jn0ltpiuxE8eD3w=");
    background-size: cover;
    background-position: center;
}

.hero-overlay{
  background: linear-gradient(
    90deg,
    rgba(0,0,0,0.75) 0%,
    rgba(58,42,0,0.75) 45%,
    rgba(201,162,77,0.75) 100%
  );
}


.hero-content {
    position: relative;
    max-width: 520px;
    padding: 40px 0;
}

.hero-content h1 {
    font-size: clamp(2.3rem, 4vw, 3.2rem);
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 18px;
}

.hero-content p {
    font-size: 1rem;
    margin-bottom: 24px;
    opacity: 0.95;
}

/* Botones */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 3px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.btn-primary{
  background-color: var(--gold-main);
  color: #111;
  box-shadow: 0 8px 18px rgba(201,162,77,0.35);
}

.btn-primary:hover{
  background-color: var(--gold-dark);
  box-shadow: 0 12px 26px rgba(201,162,77,0.45);
}

/* ------------------------------
   SECCIONES GENERALES
------------------------------ */
.section-light {
    background: #f5f5f7;
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 1.9rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.section-underline {
    display: inline-block;
    width: 80px;
    height: 3px;
    margin-top: 12px;
    background: var(--gold-main);
}

/* ------------------------------
   TARJETAS (gestiones + servicios)
------------------------------ */
.cards-grid-inner {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
}

.cards-grid {
    padding: 80px 0 40px;
}

.card {
    background: #ffffff;
    border-radius: 6px;
    padding: 40px 26px 34px;
    text-align: center;
    box-shadow: 0 16px 40px rgba(0,0,0,0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 60px rgba(201,162,77,0.15);
}

.card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 22px;
    border-radius: 50%;
    border: 2px solid var(--gold-main);
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon img {
    max-width: 50px;
    max-height: 50px;
}

.card h3 {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 18px;
}

.card-link {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #888;
    text-decoration: none;
    transition: color 0.2s ease;
}

.card-link:hover {
    color: #3e2a9f;
}

/* Servicios: misma grilla */
.services-section {
    padding-top: 40px;
}

/* ------------------------------
   SECCIÓN ABOUT / LA FIRMA
------------------------------ */
.about-section {
    background: #ffffff;
    padding: 90px 0;
}

.about-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.1fr);
    align-items: center;
    gap: 50px;
}

.about-image img {
    width: 100%;
    border-radius: 4px;
    box-shadow: 0 18px 55px rgba(0,0,0,0.18);
    object-fit: cover;
}

.about-label {
    color: var(--gold-main);
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.about-content h2 {
    font-size: 2rem;
    margin-bottom: 18px;
}

.about-text {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 10px;
    color: #555;
}

.about-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin: 28px 0;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(201,162,77,0.15);
    color: var(--gold-main);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.contact-label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #999;
}

/* ------------------------------
   CONTACTO (ancla vacía)
------------------------------ */
.contact-anchor {
    height: 1px;
}

/* ------------------------------
   FOOTER
------------------------------ */
.site-footer {
    background: #111111;
    margin-top: 60px;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1.3fr 1.6fr;
    gap: 40px;
    padding: 60px 0 40px;
}

.footer-column h3,
.footer-column h4 {
    margin-bottom: 16px;
}

.footer-column p {
    font-size: 0.9rem;
    color: #cfcfcf;
    line-height: 1.6;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 6px;
    font-size: 0.9rem;
}

.footer-column a {
    text-decoration: none;
    color: #cfcfcf;
    transition: color 0.2s ease;
}

.footer-column a:hover {
    color: var(--gold-main);

}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.footer-social a {
    width: 32px;
    height: 32px;
    border-radius: 4px;
    border: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    transition: all 0.2s ease;
}

.footer-social a:hover {
    background: #3e2a9f;
    color: #fff;
    border-color: #3e2a9f;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-contact i {
    margin-top: 2px;
    color: var(--gold-main);
}

/* Barra inferior */
.footer-bottom {
    background: #000;
    color: #fff;
    font-size: 0.85rem;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    gap: 16px;
    flex-wrap: wrap;
}

.dev-name {
    font-weight: 600;
}

/* ------------------------------
   ANIMACIONES CON JS
------------------------------ */
/* Animaciones visibles por defecto */
.animate-on-scroll {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Clase usada opcionalmente por JS */
.animate-hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* ------------------------------
   RESPONSIVE
------------------------------ */
@media (max-width: 992px) {
    .cards-grid-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-inner {
        grid-template-columns: 1fr;
    }

    .about-image {
        order: -1;
    }

    .footer-top {
        grid-template-columns: 1.5fr 1fr;
    }
}

@media (max-width: 768px) {
    .header-inner {
        height: 64px;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 64px;
        right: 0;
        flex-direction: column;
        background: #ffffff;
        padding: 12px 18px;
        box-shadow: 0 12px 30px rgba(0,0,0,0.08);
        transform-origin: top right;
        transform: scaleY(0);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.2s ease, opacity 0.2s ease;
        min-width: 200px;
    }

    .nav-links.nav-open {
        transform: scaleY(1);
        opacity: 1;
        pointer-events: auto;
    }

    .cards-grid-inner {
        grid-template-columns: 1fr;
    }

    .hero-content {
        max-width: 100%;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }

    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }
}

/* ====== Animación on-scroll (si no la tenías) ====== */
.animate-on-scroll { opacity: 0; transform: translateY(18px); transition: all .6s ease; }
.animate-on-scroll.in-view { opacity: 1; transform: translateY(0); }

/* ====== MODAL ====== */
.modal-overlay{
  position: fixed; inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 999;
}

.modal{
  position: fixed; inset: 0;
  display: grid;
  place-items: center;
  z-index: 1000;
  padding: 18px;
}

.modal-dialog{
  width: min(920px, 100%);
  max-height: 86vh;
  overflow: hidden;   /* 👈 NO scroll aquí */
  background: #fff;
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
}

.modal-dialog{
  overflow-x: hidden;
  overflow-y: auto;
}

.modal-close{
  border: 0;
  background: transparent;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  float: right;
}

body.modal-open { overflow: hidden; }

/* Botón link dentro de cards */
.card-link{
  border: 0;
  background: transparent;
  cursor: pointer;
  font-weight: 600;
  text-decoration: underline;
}

/* ====== TEAM ====== */
.team-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.team-card{
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
  padding-bottom: 14px;
}
.team-photo{ width: 100%; height: 220px; object-fit: cover; display:block; }
.team-card h3{ margin: 12px 14px 2px; }
.team-role{ margin: 0 14px; opacity: .75; }

/* ====== NEWS ====== */
.news-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.news-card{
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
}
.news-img{ width: 100%; height: 220px; object-fit: cover; display:block; }
.news-body{ padding: 14px; }
.news-date{ opacity: .7; margin: 0 0 6px; font-size: 14px; }

/* ====== CONTACT ====== */
.contact-grid{
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 22px;
  align-items: start;
}
.contact-form input, .contact-form textarea{
  width: 100%;
  padding: 12px 12px;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 12px;
  outline: none;
  font-family: inherit;
}
.form-row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.contact-list{ list-style:none; padding:0; margin: 12px 0 0; }
.contact-list li{ margin: 10px 0; display:flex; gap:10px; align-items:flex-start; }

/* Responsive */
@media (max-width: 900px){
  .team-grid{ grid-template-columns: 1fr; }
  .news-grid{ grid-template-columns: 1fr; }
  .contact-grid{ grid-template-columns: 1fr; }
  .form-row{ grid-template-columns: 1fr; }
}

/* =========================
   FIX: respetar atributo hidden
   (evita que el modal aparezca al cargar)
========================= */
.modal[hidden],
.modal-overlay[hidden]{
  display: none !important;
}

.card-icon i{
  font-size: 34px;
  color: var(--gold-main);
  line-height: 1;
}

/* =========================
   FIX FOOTER: textos visibles en fondo oscuro
========================= */

/* Títulos del footer (estaban oscuros) */
.site-footer .footer-column h3,
.site-footer .footer-column h4{
  color: #f2f2f2;
}

/* Listas del footer (li) para que no queden oscuros */
.site-footer .footer-column ul li{
  color: #cfcfcf;
}

/* Enlaces del footer más claros */
.site-footer .footer-column a{
  color: #e6e6e6;
}
.site-footer .footer-column a:hover{
  color: var(--gold-main);
}

/* Columna contacto: texto + íconos */
.site-footer .footer-contact li{
  color: #cfcfcf;
}
.site-footer .footer-contact i{
  color: var(--gold-main);
}

/* Íconos sociales: estaban #555 (muy oscuro) */
.site-footer .footer-social a{
  color: #e6e6e6;
  border-color: rgba(255,255,255,.18);
}
.site-footer .footer-social a:hover{
  background: var(--gold-main);
  color: #111;
  border-color: var(--gold-main);
}

/* Footer bottom: asegurar contraste */
.footer-bottom{
  color: #f2f2f2;
}
.footer-bottom a{
  color: #f2f2f2;
}

/* =========================
   HERO CAROUSEL
========================= */

.hero{
  overflow: hidden;
}

.hero-carousel{
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide{
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.hero-slide.active{
  opacity: 1;
}

/* Aseguramos capas correctas */
.hero-overlay{
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-content{
  position: relative;
  z-index: 2;
}

/* =========================
   Cards con "cabecera" de imagen (SERVICIOS)
========================= */
.card-with-header{
  padding: 0;
  overflow: visible; /* 👈 clave */
}

.card-header-img{
  width: 100%;
  height: 150px; /* podés subir/bajar */
  overflow: hidden;
  background: #000;
}

.card-header-img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-body{
  position: relative;
}

/* Más compacto: menos "blanco" abajo */
.card-with-header .card-body{
  padding: 18px 22px 20px; /* antes 32px 26px 34px */
  text-align: center;
}

.card-with-header h3{
  margin-bottom: 0; /* para que no “engorde” */
}


/* Icono flotando sobre la cabecera (como tu ejemplo) */
.card-with-header .card-icon{
  margin-top: -44px;
  background: #fff;
}

/* Opcional: zoom suave al pasar el mouse */
.card-with-header .card-header-img img{
  transition: transform .6s ease;
}
.card-with-header:hover .card-header-img img{
  transform: scale(1.06);
}

.card-header-img{
  border-bottom-left-radius: 24px;
  border-bottom-right-radius: 24px;
}

.card.js-open-modal{
  cursor: pointer;
}
.card.js-open-modal:focus{
  outline: 3px solid rgba(201,162,77,.35);
  outline-offset: 3px;
}

/* =========================
   MODAL STAFF (slider interno)
========================= */

.modal-dialog--staff{
  width: min(980px, 100%);
  max-height: 86vh;     /* límite visual */
  overflow: hidden;       /* scroll interno si hace falta */
}

/* título */
.staff-title{
  margin: 6px 0 14px;
}

/* contenedor general del slider */
.staff-slider{
  position: relative;
}

/* viewport fijo: esto asegura tamaño estable */
.staff-viewport{
  overflow: hidden !important;      /* 👈 ahora sí, scroll solo aquí */
  border-radius: 14px;
  background: #fff;

  /* límite para que no se pase del alto de la pantalla */
  max-height: calc(86vh - 120px); /* resta aprox header del modal + padding */
}

/* track horizontal */
.staff-track{
  display: flex;
  transition: transform .35s ease;
  will-change: transform;
}

/* cada slide ocupa 100% del ancho del viewport */
.staff-slide{
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 18px;
  padding: 18px;
  height: auto;              /* 👈 importante */
}

/* foto a la izquierda, tamaño fijo */
.staff-photo{
  width: 100%;
  height: 320px;
  border-radius: 14px;
  overflow: hidden;
  background: #111;
}

.staff-photo{
  background: #fff;           /* fondo del cuadro */
  border: 1px solid rgba(0,0,0,.08);
}

.staff-photo img{
  width: 100%;
  height: 100%;
  object-fit: contain;        /* ✅ NO recorta */
  object-position: center;
  display: block;
}

/* info derecha */
.staff-info h4{
  margin: 4px 0 4px;
  font-size: 1.2rem;
}

.staff-role{
  margin: 0 0 10px;
  opacity: .8;
}

.staff-info p{
  line-height: 1.65;
  margin-bottom: 10px;
}

.staff-meta{
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  opacity: .9;
}

.staff-meta li{
  margin: 6px 0;
}

/* flechas */
.staff-nav{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.12);
  background: rgba(255,255,255,.92);
  cursor: pointer;
  display: grid;
  place-items: center;
  z-index: 2;
}

.staff-nav i{
  font-size: 22px;
}

.staff-nav--prev{ left: 10px; }
.staff-nav--next{ right: 10px; }

/* dots */
.staff-dots{
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 12px 0 0;
}

.staff-dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.25);
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.staff-dot.is-active{
  background: rgba(0,0,0,.35);
}

/* Responsive */
@media (max-width: 900px){
  .staff-slide{
    grid-template-columns: 1fr;
    min-height: unset;
  }

  .staff-photo{
    height: 220px;
  }
}

.staff-info p:last-child,
.staff-info ul:last-child{
  margin-bottom: 0;
}

/* ✅ scroll solo en el texto, no en el modal ni en el slider */
.staff-info{
  max-height: 320px;     /* mismo alto que la foto (o ajustá) */
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 6px;    /* espacio para scrollbar */
}

/* =========================
   SECCIÓN CLIENTES
========================= */
.clients-section .clients-cta{
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.clients-text{
  color: #555;
  margin: 0 0 14px;
  line-height: 1.6;
}

/* =========================
   MODAL CLIENTES
========================= */
.modal-dialog--clientes{
  width: min(860px, 100%);
  max-height: 86vh;
  overflow: hidden;
}

.clients-scroll{
  max-height: calc(86vh - 180px);
  overflow: auto;
  padding-right: 6px;
}

.clients-grid{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 22px;
}

.clients-grid li{
  padding: 10px 12px;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 12px;
  background: #fff;
  color: #333;
  font-weight: 500;
}

/* Responsive */
@media (max-width: 700px){
  .clients-grid{
    grid-template-columns: 1fr;
  }
}

.section-divider{
  width: min(980px, 100%);
  height: 1px;
  margin: 70px auto;
  background: rgba(0,0,0,.10);
}

.clients-section{
  background: #ffffff;
  padding: 80px 0;
  border-top: 1px solid rgba(0,0,0,.08);
}
.clients-section .section-header{
  margin-bottom: 26px;
}
.clients-subtitle{
  text-align: center;
  color: #666;
  margin-top: 14px;
  margin-bottom: 18px;
}
.clients-cta{
  display: flex;
  justify-content: center;
}

/* =========================
   MODAL CLIENTES (slider/paginador)
========================= */

.modal-dialog--clientes{
  width: min(920px, 100%);
  max-height: 86vh;
  overflow: hidden;
}

.clients-title{
  margin: 6px 0 6px;
  font-size: 1.35rem;
}

.clients-sub{
  margin: 0 0 14px;
  opacity: .8;
}

.clients-slider{
  position: relative;
}

.clients-viewport{
  overflow-x: hidden;
  overflow-y: auto;               /* ✅ scroll vertical */
  border-radius: 14px;
  background: #fff;
  max-height: calc(86vh - 160px); /* ✅ límite */
  border: 1px solid rgba(0,0,0,.08);
  -webkit-overflow-scrolling: touch; /* ✅ scroll suave iOS */
}


.clients-track{
  display: flex;
  transition: transform .35s ease;
  will-change: transform;
}

.clients-slide{
  flex: 0 0 100%;
  padding: 16px;
}

/* Grilla de empresas */
.clients-grid{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 14px;
}

.clients-grid li{
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(0,0,0,.035);
  border: 1px solid rgba(0,0,0,.06);
  font-weight: 600;
  font-size: .92rem;
  line-height: 1.25;
}

/* Flechas */
.clients-nav{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.12);
  background: rgba(255,255,255,.92);
  cursor: pointer;
  display: grid;
  place-items: center;
  z-index: 2;
}

.clients-nav i{ font-size: 22px; }

.clients-nav--prev{ left: 10px; }
.clients-nav--next{ right: 10px; }

/* Dots */
.clients-dots{
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 12px 0 0;
}

.clients-dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.25);
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.clients-dot.is-active{
  background: rgba(0,0,0,.35);
}

/* Responsive */
@media (max-width: 900px){
  .clients-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px){
  .clients-grid{
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px){
  .clients-nav--prev{ left: 6px; }
  .clients-nav--next{ right: 6px; }

  .clients-slide{
    padding-left: 54px;   /* deja espacio para flecha izq */
    padding-right: 54px;  /* deja espacio para flecha der */
  }
}

/* =========================
   NAV RESPONSIVE (volver a hamburguesa + dropdown)
   Pegar al FINAL del CSS
========================= */
@media (max-width: 768px) {
  .header-inner{
    height: 64px;
  }

  /* Mostrar hamburguesa */
  .nav-toggle{
    display: flex;
  }

  /* Dropdown oculto por defecto */
  .nav-links{
    position: absolute;
    top: 64px;
    right: 0;
    z-index: 2000;

    display: flex;
    flex-direction: column;
    gap: 6px;
    list-style: none;

    min-width: 220px;
    padding: 14px 14px;

    /* ✅ fondo oscuro (no blanco) */
    background: rgba(17,17,17,.96);
    border: 1px solid rgba(201,162,77,.25);
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.18);
    backdrop-filter: blur(6px);

    transform-origin: top right;
    transform: scaleY(0);
    opacity: 0;
    pointer-events: none;

    transition: transform .2s ease, opacity .2s ease;
  }

  /* Estado abierto */
  .nav-links.nav-open{
    transform: scaleY(1);
    opacity: 1;
    pointer-events: auto;
  }

  /* ✅ links dorados (no grises) */
  .nav-links a{
    display: block;
    width: 100%;
    padding: 10px 10px;

    color: var(--gold-main) !important;
    font-weight: 700;
    text-decoration: none;

    border-radius: 10px;
    letter-spacing: .06em;
    text-transform: uppercase;
  }

  .nav-links a:hover{
    color: var(--gold-soft) !important;
    background: rgba(201,162,77,.12);
    transform: translateY(-1px);
  }
}

/* ====== Badge debajo del nombre (Profesional Asociado) ====== */
.staff-badge{
  margin: 6px 0 6px;
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold-dark);
  background: rgba(201,162,77,.16);
  border: 1px solid rgba(201,162,77,.28);
}

/* =========================
   SECCIÓN FAQ
========================= */
.faq-section{
  background: #ffffff;
  padding: 70px 0 85px;
  border-top: 1px solid rgba(0,0,0,.08);
}

.faq-subtitle{
  text-align: center;
  color: #666;
  margin: 10px auto 18px;
  max-width: 820px;
  line-height: 1.6;
}

.faq-cta{
  display: flex;
  justify-content: center;
}

/* =========================
   MODAL FAQ
========================= */
.modal-dialog--faq{
  width: min(920px, 100%);
  max-height: 86vh;
  overflow: hidden;
}

.faq-title{
  margin: 6px 0 6px;
  font-size: 1.35rem;
}

.faq-sub{
  margin: 0 0 14px;
  opacity: .8;
}

.faq-viewport{
  max-height: calc(86vh - 160px);
  overflow: auto;
  padding-right: 6px;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 14px;
  background: #fff;
  -webkit-overflow-scrolling: touch;
  padding: 14px;
}

.faq-group{
  margin: 10px 0 10px;
  font-size: 1.05rem;
  color: #111;
}

.faq-item{
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 12px;
  background: rgba(0,0,0,.02);
  margin: 10px 0;
  overflow: hidden;
}

.faq-item summary{
  cursor: pointer;
  list-style: none;
  padding: 12px 14px;
  font-weight: 700;
  color: #111;
  position: relative;
}

.faq-item summary::-webkit-details-marker{
  display: none;
}

.faq-item summary::after{
  content: "＋";
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold-main);
  font-weight: 800;
}

.faq-item[open] summary::after{
  content: "−";
}

.faq-answer{
  padding: 0 14px 14px;
  color: #444;
  line-height: 1.65;
}

.faq-answer ul{
  margin: 8px 0 0 18px;
}

.faq-answer li{
  margin: 6px 0;
}

.modal-dialog--maquila{
  width: min(920px, 100%);
  max-height: 86vh;
  overflow: hidden;
}

/* =========================
   SECCIÓN INSIGHTS (miniaturas)
========================= */
.insights-section{
  background: #ffffff;
  padding: 80px 0;
  border-top: 1px solid rgba(0,0,0,.08);
}

.insights-grid{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.insight-card{
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  padding: 0;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
  transition: transform .15s ease, box-shadow .15s ease;
}

.insight-card:hover{
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(201,162,77,.12);
}

.insight-card img{
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
}

.insights-cta{
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

@media (max-width: 992px){
  .insights-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 520px){
  .insights-grid{ grid-template-columns: 1fr; }
  .insight-card img{ height: 220px; }
}

/* =========================
   MODAL INSIGHTS (galería)
========================= */
.modal-dialog--insights{
  width: min(980px, 100%);
  max-height: 86vh;
  overflow: hidden;
}

.insights-title{ margin: 6px 0 6px; font-size: 1.35rem; }
.insights-sub{ margin: 0 0 14px; opacity: .8; }

.insights-slider{ position: relative; }

.insights-viewport{
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.08);
  background: #fff;
  max-height: calc(86vh - 160px);
}

.insights-track{
  display: flex;
  transition: transform .35s ease;
  will-change: transform;
}

.insights-slide{
  flex: 0 0 100%;
  padding: 12px;
  display: grid;
  place-items: center;
}

.insights-slide img{
  width: 100%;
  height: auto;
  max-height: calc(86vh - 220px);
  object-fit: contain;
  display: block;
  border-radius: 10px;
}

/* Flechas */
.insights-nav{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.12);
  background: rgba(255,255,255,.92);
  cursor: pointer;
  display: grid;
  place-items: center;
  z-index: 2;
}

.insights-nav i{ font-size: 22px; }
.insights-nav--prev{ left: 10px; }
.insights-nav--next{ right: 10px; }

/* Dots */
.insights-dots{
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 12px 0 0;
}

.insights-dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.25);
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.insights-dot.is-active{
  background: rgba(0,0,0,.35);
}

/* En pantallas chicas, damos aire a las flechas */
@media (max-width: 520px){
  .insights-nav--prev{ left: 6px; }
  .insights-nav--next{ right: 6px; }
  .insights-slide{ padding-left: 54px; padding-right: 54px; }
}

/* Traductor en el nav */
.nav-lang { display: flex; align-items: center; }

/* Ajustes del combo de Google */
#google_translate_element select{
  padding: 6px 10px;
  border-radius: 10px;
  border: 1px solid rgba(201,162,77,.35);
  background: rgba(17,17,17,.55);
  color: #fff;
  font-weight: 600;
}

/* =========================
   Google Translate - look & feel
========================= */

/* El contenedor del gadget */
#google_translate_element{
  display: flex;
  align-items: center;
  height: 32px;
}

/* Quita estilos feos del gadget */
#google_translate_element .goog-te-gadget{
  font-family: "Poppins", sans-serif !important;
  font-size: 0 !important;            /* oculta "Powered by" y textos extra */
  color: transparent !important;
  line-height: 1;
}

/* El select como botón elegante */
#google_translate_element select.goog-te-combo{
  font-size: 12px !important;
  padding: 6px 12px !important;
  border-radius: 12px !important;
  border: 1px solid rgba(201,162,77,.35) !important;
  background: rgba(17,17,17,.75) !important;
  color: #fff !important;
  font-weight: 700 !important;
  letter-spacing: .06em;
  text-transform: uppercase;

  outline: none !important;
  cursor: pointer;
}

/* En mobile, si tu dropdown del nav es oscuro, mantiene coherencia */
@media (max-width: 768px){
  #google_translate_element select.goog-te-combo{
    width: 100%;
    background: rgba(0,0,0,.35) !important;
  }
}

/* Saca el iconito / logo que a veces aparece */
#google_translate_element img{
  display: none !important;
}

/* Tooltip/cosas flotantes */
.goog-tooltip { display: none !important; }
.goog-text-highlight { background: inherit !important; box-shadow: none !important; }

/* =========================
   Google Translate - evitar salto de layout
========================= */

/* Cuando se traduce, Google mueve el body con top: 40px aprox */
body{
  top: 0 !important;
  position: static !important;
}

/* A veces agrega padding/margin extra */
html{
  margin-top: 0 !important;
}

/* Barra superior (iframe) que aparece al traducir */
.goog-te-banner-frame.skiptranslate{
  display: none !important; /* oculta la barra */
}

/* A veces el body viene envuelto en .skiptranslate */
.skiptranslate{
  display: inline !important;
}

/* =========================================================
   GOOGLE TRANSLATE - FIX barra superior + estilo en navbar
   (pegar al FINAL del CSS)
========================================================= */

/* 1) Ocultar la barra superior que tapa el navbar */
.goog-te-banner-frame.skiptranslate {
  display: none !important;
}

body {
  top: 0 !important;            /* Google suele poner top: 40px */
  position: static !important;
}

/* A veces Google mete esto también */
html {
  margin-top: 0 !important;
}

/* 2) Quitar resaltados/tooltip raros */
.goog-tooltip { display: none !important; }
.goog-text-highlight {
  background: inherit !important;
  box-shadow: none !important;
}

/* 3) Estilo PRO del selector dentro del navbar */
.nav-links .nav-lang{
  display: flex;
  align-items: center;
  margin-left: 6px;
}

#google_translate_element{
  display: flex;
  align-items: center;
  height: 32px;
}

/* Esconde textos extra tipo "Powered by" */
#google_translate_element .goog-te-gadget{
  font-family: "Poppins", sans-serif !important;
  font-size: 0 !important;
  color: transparent !important;
  line-height: 1 !important;
}

/* El select (combo) */
#google_translate_element select.goog-te-combo{
  font-size: 12px !important;
  padding: 7px 12px !important;
  border-radius: 12px !important;
  border: 1px solid rgba(201,162,77,.35) !important;
  background: rgba(17,17,17,.75) !important;
  color: #fff !important;
  font-weight: 700 !important;
  letter-spacing: .06em !important;
  text-transform: uppercase !important;
  outline: none !important;
  cursor: pointer !important;
}

/* Que no meta imagen/ícono dentro */
#google_translate_element img{ display: none !important; }

/* En mobile, en tu dropdown oscuro, que ocupe ancho */
@media (max-width: 768px){
  .nav-links .nav-lang{
    width: 100%;
    margin-left: 0;
  }
  #google_translate_element{
    width: 100%;
  }
  #google_translate_element select.goog-te-combo{
    width: 100% !important;
    background: rgba(0,0,0,.35) !important;
  }
}

/* =========================
   KILL Google Translate top banner
========================= */
iframe.goog-te-banner-frame,
.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  width: 0 !important;
  border: 0 !important;
}

/* Google intenta empujar el body con top */
body {
  top: 0 !important;
  position: static !important;
}

html { margin-top: 0 !important; }
.site-header{
  z-index: 2147483647; /* máximo */
}

.lang-reset{
  padding: 7px 12px;
  border-radius: 12px;
  border: 1px solid rgba(201,162,77,.35);
  background: rgba(17,17,17,.75);
  color: #fff;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
}
.lang-reset:hover{
  background: rgba(17,17,17,.9);
}

/* =========================================================
   RESPONSIVE: MODALES + ESPACIADOS (MÓVIL)
   Pegalo al FINAL del style.css
========================================================= */

/* --- Modales: que no ocupen toda la pantalla en móvil --- */
@media (max-width: 600px){

  /* El “cuadro” del modal: menos ancho, menos padding */
  .modal-dialog{
    width: calc(100% - 20px) !important;
    margin: 10px auto !important;
    padding: 14px 14px !important;
    border-radius: 14px !important;
  }

  /* Variantes que vos usás (FAQ / CLIENTES / STAFF / MAQUILA) */
  .modal-dialog--faq,
  .modal-dialog--clientes,
  .modal-dialog--staff,
  .modal-dialog--maquila,
  .modal-dialog--insights{
    width: calc(100% - 20px) !important;
    max-height: 88vh !important;
  }

  /* Scroll interno: ajustamos los viewport para que no “explote” el alto */
  .faq-viewport{
    max-height: calc(88vh - 140px) !important;
    padding: 12px !important;
  }

  .clients-viewport{
    max-height: calc(88vh - 140px) !important;
  }

  .staff-viewport{
    max-height: calc(88vh - 110px) !important;
  }

  /* Botón cerrar: un poco más chico para no tapar */
  .modal-close{
    width: 38px !important;
    height: 38px !important;
    line-height: 38px !important;
    font-size: 22px !important;
  }

  /* STAFF: en móvil, foto arriba y texto abajo (más natural) */
  .staff-slide{
    grid-template-columns: 1fr !important;
    padding: 14px !important;
  }

  .staff-photo{
    height: 210px !important;
  }

  /* Flechas del staff: más compactas */
  .staff-nav{
    width: 38px !important;
    height: 38px !important;
  }
}

/* Extra pequeño (teléfonos chicos) */
@media (max-width: 420px){
  .modal-dialog{
    width: calc(100% - 16px) !important;
    padding: 12px !important;
  }

  .staff-photo{
    height: 190px !important;
  }

  .faq-title,
  .clients-title,
  .staff-title{
    font-size: 1.15rem !important;
  }
}

/* --- Menos espacio entre secciones --- */
.clients-section,
.insights-section{
  padding: 60px 0 !important; /* antes 80px 0 */
}

.section-divider{
  margin: 45px auto !important; /* antes 70px */
}

/* En móvil: aún más compacto */
@media (max-width: 600px){
  .clients-section,
  .insights-section{
    padding: 44px 0 !important;
  }

  .section-divider{
    margin: 32px auto !important;
  }
}

/* =========================================================
   MODALES RESPONSIVE SOLO PARA TELÉFONOS
   (no afecta desktop ni tablets)
========================================================= */

/* Teléfonos en general */
@media (max-width: 350px){

  /* Overlay no cambia, solo el cuadro */
  .modal{
    padding: 10px !important; /* aire alrededor */
  }

  /* Caja del modal */
  .modal-dialog{
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;

    max-height: 85vh !important; /* clave: depende del alto real del teléfono */
    padding: 14px !important;

    border-radius: 14px !important;
  }

  /* Variantes específicas */
  .modal-dialog--faq,
  .modal-dialog--clientes,
  .modal-dialog--staff,
  .modal-dialog--maquila,
  .modal-dialog--insights{
    max-height: 85vh !important;
  }

  /* Viewports internos: scroll limpio */
  .faq-viewport{
    max-height: calc(85vh - 130px) !important;
  }

  .clients-viewport{
    max-height: calc(85vh - 130px) !important;
  }

  .staff-viewport{
    max-height: calc(85vh - 120px) !important;
  }

  /* STAFF: layout vertical natural en móvil */
  .staff-slide{
    grid-template-columns: 1fr !important;
    padding: 12px !important;
  }

  .staff-photo{
    height: 200px !important;
  }

  /* Botón cerrar más chico */
  .modal-close{
    font-size: 22px !important;
    width: 36px !important;
    height: 36px !important;
    line-height: 36px !important;
  }

  /* Flechas más chicas */
  .staff-nav,
  .clients-nav,
  .insights-nav{
    width: 36px !important;
    height: 36px !important;
  }
}

/* Teléfonos MUY chicos (ej: 360px de ancho) */
@media (max-width: 360px){
  .modal-dialog{
    padding: 12px !important;
    max-height: 80vh !important;
  }

  .staff-photo{
    height: 180px !important;
  }

  .faq-viewport,
  .clients-viewport,
  .staff-viewport{
    max-height: calc(80vh - 120px) !important;
  }
}

/* =========================
   UI propia de idiomas
========================= */
.lang-ui{
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-reset{
  padding: 7px 12px;
  border-radius: 12px;
  border: 1px solid rgba(201,162,77,.35);
  background: rgba(17,17,17,.75);
  color: #fff;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
}

.lang-dd{
  position: relative;
}

.lang-dd-btn{
  padding: 7px 12px;
  border-radius: 12px;
  border: 1px solid rgba(201,162,77,.35);
  background: rgba(17,17,17,.75);
  color: #fff;
  font-weight: 700;
  letter-spacing: .04em;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-dd-menu{
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 220px;
  background: rgba(17,17,17,.98);
  border: 1px solid rgba(201,162,77,.25);
  border-radius: 14px;
  box-shadow: 0 14px 40px rgba(0,0,0,.25);
  padding: 8px;
  display: none;
  z-index: 99999;
}

.lang-dd-menu.is-open{ display:block; }

.lang-item{
  width: 100%;
  text-align: left;
  padding: 10px 10px;
  border-radius: 10px;
  border: 0;
  background: transparent;
  color: var(--gold-main);
  font-weight: 700;
  cursor: pointer;
}

.lang-item:hover{
  background: rgba(201,162,77,.12);
  color: var(--gold-soft);
}

/* Mobile: que el dropdown no se salga y quede cómodo */
@media (max-width: 768px){
  .lang-ui{
    width: 100%;
    gap: 8px;
  }
  .lang-reset{
    flex: 0 0 auto;
  }
  .lang-dd{
    width: 100%;
  }
  .lang-dd-btn{
    width: 100%;
    justify-content: space-between;
  }
  .lang-dd-menu{
    left: 0;
    right: 0;
    min-width: unset;
    width: 100%;
  }
}

/* =========================================
   GOOGLE TRANSLATE: ocultar popup inferior (feedback)
========================================= */

/* Panel inferior / popups de Google */
.goog-te-balloon-frame,
#goog-gt-tt,
.goog-tooltip,
.goog-te-spinner-pos,
.goog-te-ftab,
.goog-te-ftab-float,
.goog-te-ftab-float-close{
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

/* Por si aparece un iframe extra abajo */
iframe[id^=":"]{
  display: none !important;
}


/* FLOATING WHATSAPP (FORCED) */
.wa-float{
  position: fixed !important;
  right: 22px !important;
  bottom: 22px !important;
  width: 60px !important;
  height: 60px !important;
  border-radius: 999px !important;
  display: grid !important;
  place-items: center !important;
  z-index: 2147483647 !important;
}

.wa-float img{
  width: 60px !important;
  height: 60px !important;
  display: block !important;
  border-radius: 999px !important;
}

/* Pulse */
.wa-float::before{
  content: "" !important;
  position: absolute !important;
  inset: -10px !important;
  border-radius: inherit !important;
  background: rgba(201,162,77,.35) !important;
  animation: waPulse 1.8s ease-out infinite !important;
  z-index: -1 !important;
}

@keyframes waPulse{
  0%   { transform: scale(.75); opacity: .85; }
  70%  { transform: scale(1.45); opacity: 0; }
  100% { opacity: 0; }
}