/* 🎨 Estilos base - Contadores Públicos Landín y Asociados */

:root {
  --color-principal: #B2396A;
  --color-secundario: #4A4A4A;
  --color-claro: #F5F5F5;
  --color-texto: #212121;
  --blanco: #ffffff;
}

body {
  font-family: 'Poppins', 'Manrope', sans-serif;
  color: var(--color-texto);
  background-color: var(--blanco);
  scroll-behavior: smooth;
}

/*Refes sociales flotantes*/
     .redes-flotantes {
      position: fixed;
      top: 70%;
      left: 0;
      transform: translateY(-50%);
      z-index: 9999;
      display: flex;
      flex-direction: column;
      gap: 10px;
      padding: 5px;
    }

     @media (max-width: 768px) {
      .redes-flotantes {
        position: fixed;
        top: 69%;
        left: 0;
        transform: translateY(-50%);
        z-index: 9999;
        display: flex;
        flex-direction: column;
        gap: 10px;
        padding: 5px;
      }
     }

    .btn-red-social {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 44px;
      height: 44px;
      font-size: 20px;
      border-radius: 50%;
      color: #fff;
      text-decoration: none;
      transition: all 0.3s ease;
    }

    .btn-red-social.facebook { background-color: #3b5998; }
    .btn-red-social.whatsapp { background-color: #25d366; }
    .btn-red-social.instagram {
      background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    }

    .btn-red-social:hover {
      padding-left: 8px;
      opacity: 0.9;
    }

    .btn{
      border-radius: 20px;
    }


    .redes-flotantes {
      position: fixed;
      bottom: 20px;
      left: 20px; /* Cambiado de right: 20px a left: 20px */
      display: flex;
      align-items: center;
      transition: transform 0.3s ease;
      z-index: 9999;
    }

    .redes-flotantes.oculto .contenido-botones {
      transform: translateX(-120%); /* Ahora se oculta hacia la izquierda */
      opacity: 0;
      pointer-events: none;
    }

    .redes-flotantes .contenido-botones {
      display: flex;
      flex-direction: column;
      gap: 10px;
      transition: transform 0.3s ease, opacity 0.3s ease;
    }

    .btn-red-social {
      width: 44px;
      height: 44px;
      border-radius: 50%;
      color: white;
      display: flex;
      align-items: center;
      justify-content: center;
      text-decoration: none;
    }

    .btn-red-social.facebook { background: #3b5998; }
    .btn-red-social.whatsapp { background: #25D366; }
    .btn-red-social.instagram { background: #E1306C; }

    .etiqueta-cotizacion {
      font-size: 10px;
      margin-bottom: -18px;
      margin-left: 38px;
      border-bottom-left-radius: 0px !important;
    }



    .toggle-pestaña {
      position: fixed; /* Para que siempre esté pegada a la pantalla */
      bottom: 20px; /* Alineada con el panel */
      left: 0; /* Pegada al borde izquierdo */
      background: #b2396a;
      color: white;
      width: 30px;
      height: 44px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 0 8px 8px 0; /* Redondeo hacia la derecha */
      cursor: pointer;
      z-index: 10000; /* Encima de todo */
      transition: background 0.3s ease;
      padding-top: 7px;
      padding-bottom: 7px;
    }

    .toggle-pestaña:hover {
      background: #b2396a;
    }

    .carousel-item {
      height: 100vh;
      min-height: 600px;
      position: relative;
    }
  /* ===== Ajustes para versión móvil ===== */
  @media (max-width: 768px) {
    /* Los botones flotantes inician ocultos */
    .redes-flotantes.oculto .contenido-botones,
    .redes-flotantes .contenido-botones {
      transform: translateX(-120%);
      opacity: 0;
      pointer-events: none;
    }

    /* Mostrar los botones cuando se quite la clase oculto */
    .redes-flotantes.movil-activo .contenido-botones {
      transform: translateX(0);
      opacity: 1;
      pointer-events: all;
    }

    /* La pestaña (flecha) ligeramente más grande para móvil */
    .toggle-pestaña {
      bottom: 15px;
      left: 5px;
      width: 36px;
      height: 44px;
    }
  }

/* ===== SECCIONES ===== */
    .section-pad {
      padding: 90px 0;
    }

    h2 {
      color: var(--color-principal);
      font-weight: 700;
      letter-spacing: 1px;
    }

    p {
      line-height: 1.7;
    }

/* ===== FOOTER ===== */
  footer {
    background-color: var(--color-secundario);
    color: var(--blanco);
  }

  footer a {
    color: #FFDDEB;
    text-decoration: none;
  }

  footer a:hover {
    text-decoration: underline;
  }

  #btnTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--color-principal);
    color: var(--blanco);
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
    display: none;
    justify-content: center;
    align-items: center;
  }

  #btnTop.show {
    display: flex;
  }

/* ===== VISIÓN, MISIÓN & VALORES ===== */

    .vm-section {
      padding: 90px 0;
      background: linear-gradient(135deg, #ffffff, #fdf2f8);
    }

    /* Encabezado */
    .vm-header .vm-small {
      letter-spacing: 2px;
      font-size: 0.85rem;
      color: #b2396a;
      font-weight: 700;
    }

    .vm-title {
      font-size: 2.6rem;
      font-weight: 800;
      color: #222;
    }

    .vm-line {
      width: 90px;
      height: 4px;
      margin: 18px auto 0;
      border-radius: 999px;
      background: linear-gradient(90deg, #b2396a, #f973a6);
      box-shadow: 0 0 12px rgba(178,57,106,0.5);
    }

    /* Caja */
    .vm-box {
      background: #ffffff;
      padding: 40px 30px;
      border-radius: 22px;
      height: 100%;
      text-align: center;
      box-shadow: 0 20px 45px rgba(0,0,0,0.08);
      transition: transform .35s ease, box-shadow .35s ease;
    }

    .vm-box:hover {
      transform: translateY(-8px);
      box-shadow: 0 30px 60px rgba(0,0,0,0.15);
    }

    /* Icono */
    .vm-icon {
      width: 70px;
      height: 70px;
      margin: 0 auto 20px;
      border-radius: 50%;
      background: linear-gradient(135deg, #b2396a, #f973a6);
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      font-size: 1.8rem;
      box-shadow: 0 0 18px rgba(178,57,106,0.6);
    }

    /* Texto */
    .vm-heading {
      font-size: 1.4rem;
      font-weight: 700;
      margin-bottom: 15px;
      color: #222;
    }

    .vm-box p {
      font-size: 0.95rem;
      line-height: 1.7;
      color: #555;
    }

    /* Responsive */
    @media (max-width: 768px) {
      .vm-title {
        font-size: 2.1rem;
      }

      .vm-box {
        padding: 32px 22px;
      }
    }

/* === NOSOTROS DESFASADO PREMIUM ===== */

    .nos-unificado {
      position: relative;
      padding: 100px 0;
      overflow: hidden;
      color: #fff;
    }

    /* Fondo con degradado unificado */
    .nos-bg {
      position: absolute;
      inset: 0;
      z-index: -2;
      background: linear-gradient(135deg, #5c1434 0%, #7a1e47 35%, #2d0c20 100%);
    }

    /* Fotos sin tarjeta */
    .nos-photo {
      width: 100%;
      border-radius: 22px;
      object-fit: cover;
      box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.6),
        0 0 18px rgba(212,175,55,0.35);
      transition: transform 0.35s ease, box-shadow 0.35s ease;
    }

    .nos-photo:hover {
      transform: translateY(-6px) scale(1.02);
      box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.75),
        0 0 28px rgba(212,175,55,0.45);
    }

    /* Chip dorado */
    .nos-chip {
      display: inline-block;
      padding: 5px 16px;
      background: rgba(255, 215, 140, 0.15);
      border: 1px solid rgba(255, 215, 140, 0.55);
      color: #ffd977;
      border-radius: 999px;
      font-size: 0.8rem;
      letter-spacing: 1px;
      text-transform: uppercase;
      margin-bottom: 10px;
    }

    /* Título */
    .nos-title {
      font-size: 1.6rem;
      font-weight: 800;
      line-height: 1.2;
      text-shadow: 0 2px 12px rgba(0,0,0,0.5);
      margin-bottom: 15px;
    }

    /* Descripción */
    .nos-desc {
      font-size: 1.1rem;
      line-height: 1.7;
      color: #f9e8f2;
      max-width: 620px;
      text-align: justify;
    }

    /* Botones */
    .btn-nos-gold {
      padding: 10px 26px;
      border-radius: 50px;
      font-weight: 700;
      text-decoration: none;
      background: linear-gradient(135deg, #ffd977, #d4af37);
      color: #111;
      box-shadow: 0 0 15px rgba(212,175,55,0.65);
    }

    .btn-nos-gold:hover {
      filter: brightness(1.05);
      box-shadow: 0 0 22px rgba(212,175,55,0.85);
    }

    .btn-nos-outline {
      padding: 10px 24px;
      border-radius: 50px;
      font-weight: 600;
      text-decoration: none;
      color: #ffd977;
      border: 1px solid rgba(255,217,119,0.8);
    }

    .btn-nos-outline:hover {
      background: rgba(255,217,119,0.15);
    }

    /* Responsive */
    @media (max-width: 768px) {
      .nos-title {
        font-size: 2rem;
        text-align: center;
      }
      .nos-desc {
        text-align: center;
      }
    }

/* ======= FOOTER LANDÍN ======= */
    .footer-dark {
      background: #111;
      color: #ddd;
    }

    .footer-icon {
      font-size: 1.5rem;
      color: var(--color-principal);
    }

    .footer-main {
      background: #1b1b1b;
    }

    .text-gold {
      color: var(--color-principal);
    }

    .social-icon {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 36px;
      height: 36px;
      border-radius: 50%;
      color: #fff;
      font-size: 1rem;
      transition: all 0.3s ease;
    }

    .footer-facebook { background-color: #3b5998; }
    .footer-instagram {
      background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    }
    .footer-whatsapp { background-color: #25D366; }

    .social-icon:hover {
      opacity: 0.85;
      transform: translateY(-2px);
    }

    .footer-bottom {
      background: #0e0e0e;
    }

    .border-gold {
      border-color: var(--color-principal) !important;
    }

    .footer-dark {
      background: linear-gradient(180deg, #0E0E0E 0%, #111 100%);
      color: #ccc;
      font-family: 'Manrope', sans-serif;
      position: relative;
    }

    /* ==== CUADRO SUPERIOR ==== */
    .footer-contact-box {
      background-color: #16213E;
      border-radius: 6px;
      box-shadow: 0 6px 20px rgba(0,0,0,0.4);
      padding: 2rem 2rem;
      position: relative;
      top: -40px;
      z-index: 2;
    }

    .footer-contact-box h6 {
      color: #fff;
      font-weight: 700;
    }
    .footer-contact-box a:hover {
      color: #C5A047 !important;
    }

/* Sucursales */
  .footer-contact-box h6 {
    color: #fff;
    font-weight: 700;
  }

  .footer-direccion a {
    color: #C5A047 !important;
  }

  .footer-direccion a:hover {
    text-decoration: underline;
  }

  .footer-contact-box .footer-icon {
    font-size: 1.8rem;
    color: var(--color-principal);
  }

  @media (max-width: 768px) {
    .footer-contact-box .footer-icon {
      font-size: 1.5rem;
    }
  }

/* Light streaks canvas */
  #lightLines {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* detrás de todo */
    pointer-events: none;
  }

/* =====    NAVBAR PREMIUM EVERGREEN – FINAL=============== */

      /* ---------- 1) NAVBAR BASE ---------- */
      .nav-evergreen {
          width: 100%;
          position: fixed;
          top: 0;
          left: 0;
          z-index: 999;
          padding-top: 25px;
          font-family: 'Montserrat', sans-serif;
          transition: background .35s ease, padding .35s ease, box-shadow .35s ease;
      }

      /* Navbar cuando hay scroll */
      .nav-evergreen.scrolled {
          background: rgba(10,10,10,0.92);
          padding-top: 12px;
          box-shadow: 0 10px 25px rgba(0,0,0,0.55);
      }

      /* ---------- 2) CONTENEDOR CENTRAL ---------- */
      .nav-container {
          width: 100%;
          display: flex;
          justify-content: center;
          align-items: center;
          position: relative;
      }

      /* ---------- 3) LOGO ---------- */
      .nav-logo img {
          height: 70px;
          filter: brightness(1) drop-shadow(0 0 3px rgba(0,0,0,0.4));
          transition: transform .35s ease;
      }

      .nav-logo img:hover {
          transform: translateY(-2px);
      }

      /* ===== NAVBAR TRANSPARENTE (cuando está arriba) ===== */
      .nav-evergreen {
        background: rgba(0,0,0,0);   /* Totalmente transparente */
        transition: background 0.35s ease, padding 0.35s ease, box-shadow 0.35s ease;
      }

      /* ===== NAVBAR AL HACER SCROLL ===== */
      .nav-evergreen.scrolled {
        background: #752246 !important;   /* Color que pediste */
        box-shadow: 0 10px 25px rgba(0,0,0,0.45);
        padding-top: 15px; /* un poco más compacta (opcional) */
      }


/* =====             NAVBAR ESCRITORIO        ============= */

      /* ---------- 4) LINKS ---------- */
      .nav-links {
          position: absolute;
          bottom: -40px;
          display: flex;
          gap: 45px;
          list-style: none;
      }

      /* Contenedor individual */
      .nav-links li {
          position: relative;
      }

      /* Link */
      .nav-links li a {
          color: #ffffff;
          font-size: 0.85rem;
          text-transform: uppercase;
          text-decoration: none;
          letter-spacing: 2px;
          opacity: 0.9;
          transition: color .25s, text-shadow .25s, transform .25s ease;
      }

      /* Subrayado dorado animado */
      .nav-links li a::after {
          content: "";
          position: absolute;
          bottom: -8px;
          left: 50%;
          transform: translateX(-50%);
          height: 2px;
          width: 0%;
          border-radius: 99px;
          background: linear-gradient(90deg, #f7d775, #d4af37, #f7d775);
          transition: width .3s ease;
      }

      /* Hover y activo */
      .nav-links li a:hover,
      .nav-links li a.active {
          opacity: 1;
          color: #e4c153;
          text-shadow: 0 0 8px rgba(255,215,117,0.85);
          transform: translateY(-1px);
      }

      .nav-links li a:hover::after,
      .nav-links li a.active::after {
          width: 80%;
      }

      /* ---------- 5) LÍNEA BAJO EL MENÚ ---------- */
      .nav-line {
          width: 100%;
          height: 1px;
          background: rgba(255,255,255,0.25);
          margin-top: 55px;
      }

      /* ---------- 6) LÍNEA ANIMADA DORADA (CENTRO → EXTREMOS) ---------- */
      .nav-line-gold-center {
          height: 2px;
          width: 0%;
          margin: 40px auto 0 auto;
          opacity: 0.85;
          background: linear-gradient(90deg, transparent, #d4af37, transparent);
          border-radius: 2px;
          animation: lineExpand 2.8s ease-in-out infinite;
      }

      @keyframes lineExpand {
          0% { width: 0%; opacity: .4; }
          50% { width: 100%; opacity: 1; }
          100% { width: 0%; opacity: .4; }
      }

/* ======                NAVBAR MÓVIL           =========== */

    /* ---------- 7) BOTÓN HAMBURGUESA ---------- */
    .mobile-menu-btn {
        display: none; /* Oculto en escritorio */
        flex-direction: column;
        gap: 5px;
        position: absolute;
        right: 25px;
        top: 28px;
        cursor: pointer;
        z-index: 1001;
    }

    .mobile-menu-btn span {
        width: 26px;
        height: 3px;
        background: #f7d775;
        border-radius: 4px;
        transition: .35s;
    }

    /* Animación al abrir */
    .mobile-menu-btn.open span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .mobile-menu-btn.open span:nth-child(2) { opacity: 0; }
    .mobile-menu-btn.open span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* ---------- 8) PANEL DEL MENÚ MÓVIL ---------- */
    .mobile-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 78%;
        height: 100vh;
        background: rgba(15, 15, 15, 0.90);
        backdrop-filter: blur(10px);
        padding: 30px;
        box-shadow: -10px 0 30px rgba(0,0,0,0.4);
        transition: right .35s ease;
        z-index: 2000;
    }

    .mobile-menu.open {
        right: 0;
    }

    /* Botón cerrar */
    .close-menu {
        position: absolute;
        right: 25px;
        top: 25px;
        width: 28px;
        height: 28px;
        cursor: pointer;
    }

    .close-menu span {
        position: absolute;
        width: 100%;
        height: 3px;
        background: #fff;
        top: 50%;
        transform-origin: center;
    }

    .close-menu span:first-child {
        transform: translateY(-50%) rotate(45deg);
    }
    .close-menu span:last-child {
        transform: translateY(-50%) rotate(-45deg);
    }

    /* Links del menú móvil */
    .mobile-links {
        list-style: none;
        padding: 0;
        margin-top: 90px;
    }

    .mobile-links li {
        margin-bottom: 22px;
    }

    .mobile-links li a {
        font-size: 1.2rem;
        font-weight: 600;
        letter-spacing: 1px;
        color: #fff;
        text-decoration: none;
        transition: .2s;
    }

    .mobile-links li a:hover {
        color: #f7d775;
        padding-left: 6px;
    }

    /* ============================================================
                             BREAKPOINTS
       ============================================================ */

    /* Mostrar menú móvil y ocultar escritorio */
    @media (max-width: 992px) {
        .mobile-menu-btn { display: flex; }
        .nav-links { display: none !important; }
    }

    /* ============================================================
           CORRECCIÓN PARA QUE EL MENÚ MÓVIL NO QUEDE OCULTO
    ============================================================ */

    /* En móvil, el header debe dejar de ser absolute */
    @media (max-width: 992px) {
      .nav-evergreen {
        position: fixed;
        background: rgba(10,10,10,0.85);
        padding: 15px 0;
        backdrop-filter: blur(10px);
      }

      .nav-line-gold-center {
        display: none; /* la línea dorada NO debe mostrarse en móvil */
      }
    }


    /* ============================================================
          ESTILO FALTANTE PARA LOGO Y TÍTULO DEL MENÚ MÓVIL
    ============================================================ */

    .mobile-logo {
      text-align: center;
      margin-top: 35px;
    }

    .mobile-logo img {
      width: 85px;
      filter: drop-shadow(0 0 5px rgba(0,0,0,0.4));
    }

    .menu-title {
      text-align: center;
      color: #f7d775;
      margin-top: 25px;
      font-size: 1rem;
      letter-spacing: 3px;
      opacity: 0.8;
    }


    /* ============================================================
          HACER SCROLL SI EL MENÚ ES MUY GRANDE
    ============================================================ */

    .mobile-menu {
      overflow-y: auto;
    }

    .mobile-menu::-webkit-scrollbar {
      width: 6px;
    }

    .mobile-menu::-webkit-scrollbar-thumb {
      background: rgba(255,255,255,0.2);
      border-radius: 3px;
    }


/* ===== CLIENTES ===== */

    .clientes-section {
      padding: 90px 0;
      background: #ffffff;
      overflow: hidden;
    }

    .clientes-title {
      font-size: 2.4rem;
      font-weight: 800;
      letter-spacing: 2px;
      text-transform: uppercase;
      color: #222;
    }

    .clientes-subtitle {
      color: #666;
      max-width: 600px;
      margin: 10px auto 0;
    }

    .clientes-line {
      width: 90px;
      height: 4px;
      margin: 18px auto 0;
      border-radius: 999px;
      background: linear-gradient(90deg, #b2396a, #f973a6, #b2396a);
    }

    /* Contenedor visible */
    .clientes-marquee {
      position: relative;
      overflow: hidden;
      width: 100%;
      margin-top: 50px;
    }

    /* Track animado */
    .clientes-track {
      display: flex;
      width: max-content;
      animation: scrollClientes 45s linear infinite;
    }

    /* Cliente */
    .cliente {
      flex: 0 0 auto;
      width: 210px;
      margin: 0 30px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .cliente img {
      max-width: 100%;
      max-height: 120px;
      object-fit: contain;
      filter: none; /* A COLOR */
      transition: transform .3s ease;
    }

    .cliente img:hover {
      transform: scale(1.08);
    }

    /* Animación infinita SIN SALTOS */
    @keyframes scrollClientes {
      from {
        transform: translateX(0);
      }
      to {
        transform: translateX(-50%);
      }
    }

    /* Responsive */
    @media (max-width: 768px) {
      .cliente {
        width: 140px;
        margin: 0 18px;
      }

      .cliente img {
        max-height: 60px;
      }
    }


/* ===== FLECHAS HERO ===== */
  .hero-arrow {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(0,0,0,0.45);
    border: 1px solid rgba(255,255,255,0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: all .3s ease;
    z-index: 6;
  }

  .hero-arrow i {
    color: #fff;
    font-size: 1.3rem;
  }

  #heroCarousel:hover .hero-arrow {
    opacity: 1;
  }

  .hero-arrow:hover {
    background: rgba(178,57,106,0.9);
    transform: translateY(-50%) scale(1.08);
  }

  /* Posiciones */
  .carousel-control-prev.hero-arrow {
    left: 25px;
  }

  .carousel-control-next.hero-arrow {
    right: 25px;
  }

  /* Mobile */
  @media (max-width: 768px) {
    .hero-arrow {
      width: 44px;
      height: 44px;
      opacity: 1;
    }
  }

/* ===== FAQ TARJETAS ===== */
    .faq-cards-section {
      padding: 100px 0;
      background: linear-gradient(180deg, #fdf2f8, #ffffff);
    }

    .faq-title {
      font-size: 2.4rem;
      font-weight: 800;
      text-transform: uppercase;
    }

    .faq-subtitle {
      color: #666;
      max-width: 600px;
      margin: auto;
    }

    .faq-line {
      width: 80px;
      height: 4px;
      background: linear-gradient(90deg, #b2396a, #e9a6c1);
      margin: 20px auto 0;
      border-radius: 10px;
    }

    .faq-card {
      background: #fff;
      border-radius: 18px;
      overflow: hidden;
      box-shadow: 0 20px 45px rgba(0,0,0,.08);
      transition: transform .3s ease, box-shadow .3s ease;
    }

    .faq-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 30px 60px rgba(0,0,0,.12);
    }

    .faq-img img {
      width: 100%;
      height: 180px;
      object-fit: cover;
    }

    .faq-body {
      padding: 20px;
    }

    .faq-question {
      width: 100%;
      background: none;
      border: none;
      font-weight: 700;
      font-size: 1rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
      color: #222;
      cursor: pointer;
    }

    .faq-question i {
      transition: transform .3s ease;
    }

    .faq-card.active .faq-question i {
      transform: rotate(45deg);
    }

    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height .4s ease;
      color: #555;
      font-size: .95rem;
      margin-top: 10px;
    }

    .faq-card.active .faq-answer {
      max-height: 200px;
    }


/* ===== CONTACTO PREMIUM ===== */

  .contacto-premium {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #fffdf8, #ffffff);
  }

  /* TITULOS */
  .contact-title {
    font-size: 3rem;
    font-weight: 800;
    color: #111;
    letter-spacing: 2px;
  }

  .contact-subtitle {
    font-size: 1.15rem;
    color: #555;
  }

  /* LINEA */
  .contact-line {
    width: 140px;
    height: 5px;
    margin: 18px auto;
    border-radius: 20px;
    background: linear-gradient(90deg, #d4af37, #b8860b, #f7d774);
  }

  /* INFO CARD */
  .contact-info-premium {
    position: relative;
    height: 100%;
    border-radius: 26px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(212,175,55,0.25);
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
  }

  /* IMAGEN SUPERIOR */
  .contact-info-image {
    height: 180px;
    background-image: linear-gradient(
        rgba(0,0,0,0.45),
        rgba(0,0,0,0.45)
      ),
      url('../img/contacto.png'); /* ← imagen corporativa */
    background-size: cover;
    background-position: center;
  }

  /* CONTENIDO */
  .contact-info-content {
    padding: 35px;
  }

  .contact-info-content h3 {
    font-weight: 700;
    margin-bottom: 12px;
  }

  .contact-info-content p {
    color: #555;
    font-size: 0.95rem;
  }

  /* ITEMS */
  .contact-items {
    margin: 22px 0;
  }

  .contact-item {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
    font-weight: 600;
    color: #333;
  }

  .contact-item i {
    color: #d4af37;
    font-size: 1.15rem;
  }

  /* WHATSAPP */
  .btn-whatsapp-big {
    display: inline-block;
    margin-top: 18px;
    background: #25D366;
    color: #fff;
    font-weight: 700;
    padding: 14px 34px;
    border-radius: 40px;
    text-decoration: none;
    box-shadow: 0 12px 30px rgba(37,211,102,0.45);
    transition: .3s ease;
  }

  .btn-whatsapp-big:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(37,211,102,0.65);
  }

  /* FORMULARIO */
  .contact-form-glass {
    height: 100%;
    backdrop-filter: blur(14px);
    background: rgba(255,255,255,0.85);
    padding: 45px;
    border-radius: 26px;
    border: 1px solid rgba(212,175,55,0.25);
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
  }

  .contact-input {
    border-radius: 14px;
    padding: 12px;
    border: 1px solid #e4d4a8;
  }

  .contact-input:focus {
    border-color: #d4af37;
    box-shadow: 0 0 10px rgba(212,175,55,0.45);
  }

  /* BOTÓN */
  .btn-contact-gold {
    background: linear-gradient(90deg, #d4af37, #b8860b);
    color: #fff;
    font-weight: 700;
    padding: 14px 44px;
    border-radius: 40px;
    border: none;
    font-size: 1.1rem;
    box-shadow: 0 15px 35px rgba(212,175,55,0.55);
    transition: .3s ease;
  }

  .btn-contact-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 45px rgba(212,175,55,0.75);
  }

  /* RESPONSIVE */
  @media (max-width: 768px) {
    .contact-title {
      font-size: 2.2rem;
    }

    .contact-info-image {
      height: 140px;
    }

    .contact-form-glass {
      padding: 35px;
    }
  }



  .contact-extra-info {
    color: #555;
    font-size: 0.9rem;
  }

  .contact-badges {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
  }

  .contact-badges span {
    background: #f7f7f7;
    border-radius: 30px;
    padding: 6px 14px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 6px 16px rgba(0,0,0,.06);
  }

  .contact-badges i {
    color: #c9a227; /* dorado */
  }


/* =====================================================
   HERO BASE
===================================================== */

  .hero-landing {
    position: relative;
    height: 100vh;
    min-height: 600px;
    color: #fff;
    overflow: hidden;
  }

  /* IMAGEN DE FONDO CONTROLADA */
  .hero-bg {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;

    /* AQUÍ ESTÁ LA CLAVE */
    filter: grayscale(15%) saturate(0.85) contrast(0.95) brightness(0.95);
    transform: scale(1.03);
  }

  /* OVERLAY PREMIUM (NO QUEMA LA IMAGEN) */
  .hero-overlay {
    position: absolute;
    inset: 0;
    background:
      linear-gradient(
        110deg,
        rgba(0,0,0,0.75) 0%,
        rgba(0,0,0,0.55) 35%,
        rgba(0,0,0,0.35) 60%,
        rgba(0,0,0,0.25) 100%
      );
    z-index: 1;
  }

  /* SLIDES */
  .carousel-item {
    height: 100vh;
    min-height: 600px;
    position: relative;
  }

/* =====================================================
   CONTENIDO TEXTO
===================================================== */

  .hero-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
  }

  .hero-content h1 {
    text-shadow: 0 8px 30px rgba(0,0,0,.45);
  }

  .hero-content p {
    text-shadow: 0 4px 16px rgba(0,0,0,.35);
  }

/* =====================================================
   LOGO GRANDE HERO
===================================================== */

  .hero-logo-big {
    position: absolute;
    right: 10%;
    top: 45%;
    transform: translateY(-50%);
    z-index: 2;
    pointer-events: none;
  }

  .hero-logo-big img {
    width: 540px;
    max-width: 42vw;

    /* Elegancia */
    opacity: 0.35;
    mix-blend-mode: soft-light;
    filter: drop-shadow(0 25px 45px rgba(0,0,0,.45));
  }

  /* =====================================================
     FRANJA INDUSTRIAS
  ===================================================== */

  .hero-industries-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100vw;
    overflow: hidden;
    background: rgba(0,0,0,.55);
    backdrop-filter: blur(6px);
    padding: 20px 0;
    z-index: 5;
  }

  .industries-track {
    display: flex;
    width: max-content;
    animation: scrollIndustries 42s linear infinite;
  }

  .industry-item {
    min-width: 280px;
    height: 150px;
    margin: 0 16px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
  }

  .industry-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(.75);
    transition: transform .6s ease;
  }

  .industry-item span {
    position: absolute;
    bottom: 14px;
    left: 14px;
    font-size: .85rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #fff;
    background: rgba(0,0,0,.6);
    padding: 6px 14px;
    border-radius: 30px;
    letter-spacing: .5px;
  }

  .industry-item:hover img {
    transform: scale(1.12);
  }


/* =====================================================
   RESPONSIVE
===================================================== */

  @media (max-width: 992px) {
      /* ANIMACIÓN CONTINUA */
      @keyframes scrollIndustries {
        from { transform: translateX(0); }
        to   { transform: translateX(-50%); }
      }
    .hero-logo-big {
      right: 50%;
      top: auto;
      bottom: 120px;
      transform: translateX(50%);
      opacity: 0.18;
    }

    .hero-logo-big img {
      width: 280px;
    }
  }

  @media (max-width: 768px) {
    .industry-item {
      min-width: 220px;
      height: 120px;
    }
  }

  @media (max-width: 576px) {
    .hero-logo-big {
      display: none; /* móvil = foco en texto */
    }
  }




  @keyframes logoReveal {
    0% {
      opacity: 0;
      transform: scale(0.85) translateY(20px);
      filter: blur(6px);
    }
    100% {
      opacity: 1;
      transform: scale(1) translateY(0);
      filter: blur(0);
    }
  }

  .logo-anim-3 {
    animation: logoReveal 1.4s ease-out forwards;
  }



/* ======= SERVICIOS PREMIUM ======= */

    .servicios-premium {
      position: relative;
      padding: 90px 0;
      background: radial-gradient(circle at top left, #ffe4f0 0, #fdf2f8 35%, #ffffff 100%);
      overflow: hidden;
    }

    .servicios-premium::before {
      content: "";
      position: absolute;
      inset: 0;
      background:
        radial-gradient(circle at 10% 20%, rgba(178,57,106,0.10) 0, transparent 55%),
        radial-gradient(circle at 90% 80%, rgba(56,189,248,0.10) 0, transparent 55%);
      pointer-events: none;
    }

    /* Encabezado */
    .serv-title {
      font-size: 2.6rem;
      font-weight: 800;
      letter-spacing: 1px;
      color: #222;
    }

    .serv-subtitle {
      max-width: 760px;
      margin: 0 auto;
      color: #555;
      font-size: 1.05rem;
    }

    .serv-line {
      width: 120px;
      height: 4px;
      margin: 20px auto 0;
      border-radius: 999px;
      background: linear-gradient(90deg, #b2396a, #f973a6, #b2396a);
      box-shadow: 0 0 16px rgba(178,57,106,0.6);
    }

    /* ===== TARJETAS ===== */

    .serv-card {
      position: relative;
      height: 285px;
      border-radius: 22px;
      overflow: hidden;
      background-size: cover;
      background-position: center;
      box-shadow: 0 18px 38px rgba(0,0,0,0.25);
      cursor: pointer;
      transition: transform .35s ease, box-shadow .35s ease;
    }

    .serv-card::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(to top, rgba(0,0,0,.75), rgba(0,0,0,.15));
    }

    .serv-card:hover {
      transform: translateY(-10px);
      box-shadow: 0 28px 60px rgba(0,0,0,0.35);
    }

    /* Overlay */
    .serv-overlay {
      position: absolute;
      inset: 0;
      z-index: 2;
      background: rgba(0,0,0,0.72);
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      padding: 28px;
      text-align: center;
      opacity: 0;
      transition: opacity .4s ease;
    }

    .serv-card:hover .serv-overlay {
      opacity: 1;
    }

    .serv-overlay h5 {
      font-size: 1.55rem;
      font-weight: 700;
      margin-bottom: 10px;
      color: #f7d775;
    }

    .serv-overlay p {
      font-size: .95rem;
      line-height: 1.6;
      color: #f3f4f6;
      max-width: 90%;
    }

    /* Franja inferior */
    .serv-footer {
      position: absolute;
      bottom: 0;
      z-index: 2;
      width: 100%;
      background: rgba(0,0,0,0.78);
      padding: 14px;
      text-align: center;
      transition: opacity .3s ease, transform .3s ease;
    }

    .serv-footer h5 {
      margin: 0;
      font-size: 1.35rem;
      font-weight: 700;
      color: #f7d775;
    }

    .serv-card:hover .serv-footer {
      opacity: 0;
      transform: translateY(100%);
    }

    /* ===== IMÁGENES ===== */

      .serv-bg-contabilidad { background-image: url('../img/servicios/contabilidad.png'); }
      .serv-bg-auditoria    { background-image: url('../img/servicios/auditoria.png'); }
      .serv-bg-imss         { background-image: url('../img/servicios/imss.png'); }
      .serv-bg-fiscal       { background-image: url('../img/servicios/fiscal.png'); }
      .serv-bg-repse        { background-image: url('../img/servicios/repse.png'); }
      .serv-bg-nominas      { background-image: url('../img/servicios/nominas.png'); }
      .serv-bg-asesoria     { background-image: url('../img/servicios/asesoria.png'); }
      .serv-bg-iva          { background-image: url('../img/servicios/devolucion-iva.png'); }
      .serv-bg-pensiones    { background-image: url('../img/servicios/pensiones.png'); }
      .serv-bg-inversiones  { background-image: url('../img/servicios/inversiones.png'); }
      .serv-bg-peritajes    { background-image: url('../img/servicios/peritajes.png'); }

    /* ===== RESPONSIVE ===== */

    @media (max-width: 768px) {
      .serv-card {
        height: 230px;
      }

      .serv-overlay {
        display: none;
      }

      .serv-footer {
        opacity: 1 !important;
        transform: translateY(0) !important;
      }
    }
  /* ===== SERVICIOS PREMIUM ===== */

    .serv-card {
      position: relative;
      height: 280px;
      border-radius: 22px;
      overflow: hidden;
      background-size: cover;
      background-position: center;
      box-shadow: 0 15px 35px rgba(0,0,0,.22);
      transition: transform .4s ease, box-shadow .4s ease;
    }

    /* 🔥 HOVER PREMIUM */
    .serv-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 25px 55px rgba(0,0,0,.35);
    }

    .serv-card::before {
      content:"";
      position:absolute;
      inset:0;
      background: inherit;
      background-size: cover;
      background-position: center;
      transition: transform .6s ease;
    }

    .serv-card:hover::before {
      transform: scale(1.08);
    }

    /* OVERLAY */
    .serv-overlay {
      position:absolute;
      inset:0;
      background: rgba(0,0,0,.68);
      display:flex;
      flex-direction:column;
      justify-content:center;
      align-items:center;
      padding:30px;
      text-align:center;
      opacity:0;
      transition: opacity .4s ease;
      z-index:2;
    }

    .serv-card:hover .serv-overlay {
      opacity:1;
    }

    .serv-icon {
      font-size: 2.2rem;
      color: #f7d775;
      margin-bottom: 12px;
    }

    .serv-overlay h5 {
      color:#f7d775;
      font-weight:700;
      font-size:1.5rem;
    }

    .serv-overlay p {
      color:#f1f1f1;
      font-size:.95rem;
    }

    /* FRANJA */
    .serv-footer {
      position:absolute;
      bottom:0;
      width:100%;
      background: rgba(0,0,0,.75);
      padding:14px;
      text-align:center;
      font-weight:700;
      color:#f7d775;
      z-index:3;
      transition: transform .3s ease, opacity .3s ease;
    }

    .serv-card:hover .serv-footer {
      opacity:0;
      transform: translateY(100%);
    }

    /* SERVICIO DESTACADO */
    .servicio-destacado {
      outline: 3px solid rgba(247,215,117,.65);
    }

    .badge-destacado {
      position:absolute;
      top:14px;
      right:14px;
      background:#f7d775;
      color:#111;
      font-size:.75rem;
      padding:6px 14px;
      border-radius:999px;
      font-weight:700;
      z-index:4;
    }



/* ===== PANEL DETALLE SERVICIO ===== */

.servicio-detalle {
  position: fixed;   /* ← antes era absolute */
  inset: 0;
  height: 100vh;
  width: 100vw;
  background: #111;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 50px;
  padding: 70px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .6s ease;
  z-index: 50;
}

.servicio-detalle.activo {
  opacity: 1;
  pointer-events: auto;
}

.detalle-img {
  height: 420px;
  border-radius: 24px;
  background-size: cover;
  background-position: center;
  box-shadow: 0 30px 70px rgba(0,0,0,.45);
}

.detalle-info {
  position: relative;
}

.detalle-info h2 {
  font-size: 2.8rem;
  font-weight: 800;
  color: #f7d775;
  margin-bottom: 20px;
}

.detalle-info p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #e5e7eb;
}

.detalle-cerrar {
  position: absolute;
  top: -10px;
  right: 0;
  font-size: 2rem;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
}

.servicio-detalle {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  justify-content: center;
}

.servicio-detalle {
  padding: clamp(40px, 6vw, 80px);
}


@media (max-width: 768px) {
  .servicio-detalle {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 30px 20px;
  }

  .detalle-img {
    height: 240px;
  }

  .detalle-info h2 {
    font-size: 1.4rem;
  }

  .detalle-cerrar {
    top: -5px;
    right: -5px;
  }
}

/* ===== DISPERSIÓN SOLO CUANDO ESTÁ ACTIVO ===== */

.servicios-premium.activo .serv-card:not(.activo) {
  opacity: 0;
  pointer-events: none;
  transition: transform .6s ease, opacity .4s ease;
}

/* Izquierda */
.servicios-premium.activo .serv-card[data-pos="left"]:not(.activo) {
  transform: translateX(-120vw);
}

/* Derecha */
.servicios-premium.activo .serv-card[data-pos="right"]:not(.activo) {
  transform: translateX(120vw);
}

/* Arriba */
.servicios-premium.activo .serv-card[data-pos="top"]:not(.activo) {
  transform: translateY(-120vh);
}

/* Abajo */
.servicios-premium.activo .serv-card[data-pos="bottom"]:not(.activo) {
  transform: translateY(120vh);
}

/* Centro (se desvanece, no se mueve) */
.servicios-premium.activo .serv-card[data-pos="center"]:not(.activo) {
  opacity: 0;
}

/* Card seleccionada */
.serv-card.activo {
  transform: scale(1.05);
  z-index: 20;
}

/* ===== ANIMACIÓN CINEMATOGRÁFICA PANEL ===== */

.servicio-detalle {
  opacity: 0;
  transform: scale(1.05);
  filter: blur(10px);
  transition:
    opacity .6s ease,
    transform .7s cubic-bezier(.22,.61,.36,1),
    filter .6s ease;
}

.servicio-detalle.activo {
  opacity: 1;
  transform: scale(1);
  filter: blur(0);
}

.detalle-img {
  opacity: 0;
  transform: translateX(-60px) scale(1.05);
  transition:
    opacity .7s ease,
    transform .8s cubic-bezier(.22,.61,.36,1);
}

.servicio-detalle.activo .detalle-img {
  opacity: 1;
  transform: translateX(0) scale(1);
}

.detalle-info {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity .6s ease,
    transform .7s cubic-bezier(.22,.61,.36,1);
  transition-delay: .25s;
}

.servicio-detalle.activo .detalle-info {
  opacity: 1;
  transform: translateY(0);
}

.detalle-cerrar {
  transition: transform .25s ease, opacity .25s ease;
}

.detalle-cerrar:hover {
  transform: rotate(90deg) scale(1.15);
  opacity: .75;
}

.servicio-detalle {
  background:
    radial-gradient(circle at top left, rgba(247,215,117,.12), transparent 60%),
    radial-gradient(circle at bottom right, rgba(178,57,106,.15), transparent 60%),
    #0b0b0b;
}

@media (max-width: 768px) {
  .detalle-img {
    transform: translateY(-30px) scale(1.05);
  }

  .servicio-detalle.activo .detalle-img {
    transform: translateY(0) scale(1);
  }
}


.detalle-lista {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.detalle-lista li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 1.05rem;
  color: #e5e7eb;
  margin-bottom: 14px;
  opacity: 0;
  transform: translateY(10px);
  animation: bulletFade .5s ease forwards;
}

.detalle-lista i {
  color: #f7d775;
  margin-top: 4px;
  font-size: .9rem;
}

@keyframes bulletFade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================= */
/* SCROLL EN BULLETS (MÓVIL) */
/* ============================= */
/* ============================= */
/* SCROLL EN BULLETS (MÓVIL) */
/* ============================= */
@media (max-width: 768px) {
  /* el panel ocupa la pantalla y no se “corta” */
  .servicio-detalle {
    height: 100svh; /* mejor que 100vh en móvil */
    overflow: hidden;
  }

  /* el lado de la info debe poder scrollear */
  .detalle-info {
    max-height: calc(100svh - 240px - 60px); /* 240=imagen, 60=padding aprox */
    overflow-y: auto;
    padding-right: 10px;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }

  /* por si tu descripción es muy larga */
  #detalleDescripcion {
    overflow-wrap: anywhere;
  }
}