/* MIXED CSS PACK */
/* Template: fletesraptor.com.ar/index.html */
/* Template mtime: 2025-10-28 19:35:10 */

/* external link (no embedded): https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css */
/* external link (no embedded): https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css */
/* external link (no embedded): https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap */

/* ===== INLINE <style> BLOCK #1 ===== */
:root {
      --violet-700: #6a27b8;
      --violet-600: #7d35cc;
      --violet-500: #8b44d8;
      --violet-400: #9d62e0;
      --violet-300: #b48aeb;
      --violet-100: #f0e7ff;
      --dark: #141219;
      --soft: #f6f4fb;
      --text: #1c1a22;
      --muted: #6b6b76;
      --radius: 20px;
      --radius-sm: 12px;
      --shadow: 0 10px 30px rgba(20, 18, 25, .08);
      --shadow-lg: 0 20px 50px rgba(20, 18, 25, .12);
      --gradient: linear-gradient(135deg, var(--violet-700), var(--violet-400));
      --gradient-soft: linear-gradient(135deg, var(--violet-100), #fff);
    }

    * {
      box-sizing: border-box;
    }

    body {
      font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
      color: var(--text);
      background: #fff;
      line-height: 1.6;
      scroll-behavior: smooth;
    }

    /* Navbar */
    .navbar {
      background: rgba(255, 255, 255, 0.95);
      backdrop-filter: blur(10px);
      box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
      transition: all 0.3s ease;
      padding: 0.8rem 0;
    }

    .navbar.scrolled {
      padding: 0.5rem 0;
      box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    }

    .navbar-brand {
      font-weight: 800;
      font-size: 1.4rem;
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }

    .navbar .nav-link {
      font-weight: 600;
      position: relative;
      padding: 0.5rem 1rem !important;
      transition: color 0.3s ease;
    }

    .navbar .nav-link:after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 50%;
      transform: translateX(-50%);
      width: 0;
      height: 2px;
      background: var(--violet-600);
      transition: width 0.3s ease;
    }

    .navbar .nav-link:hover:after,
    .navbar .nav-link.active:after {
      width: 70%;
    }

    .navbar .btn-primary {
      background: var(--violet-700);
      border-color: var(--violet-700);
      border-radius: var(--radius-sm);
      font-weight: 600;
      padding: 0.5rem 1.2rem;
      transition: all 0.3s ease;
      box-shadow: 0 4px 12px rgba(106, 39, 184, 0.3);
    }

    .navbar .btn-primary:hover {
      background: var(--violet-600);
      border-color: var(--violet-600);
      transform: translateY(-2px);
      box-shadow: 0 6px 15px rgba(106, 39, 184, 0.4);
    }

    /* Hero */
    .hero {
      background: var(--gradient);
      color: #fff;
      padding: clamp(80px, 10vw, 140px) 0;
      position: relative;
      overflow: hidden;
    }

    .hero:before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
      opacity: 0.3;
    }

    .hero h1 {
      font-weight: 800;
      letter-spacing: -0.02em;
      line-height: 1.1;
      margin-bottom: 1.5rem;
    }

    .hero p.lead {
      opacity: 0.95;
      font-size: 1.2rem;
      margin-bottom: 2rem;
    }

    .hero .card {
      border: 0;
      border-radius: var(--radius);
      box-shadow: var(--shadow-lg);
      overflow: hidden;
      transform: translateY(0);
      transition: transform 0.3s ease;
    }

    .hero .card:hover {
      transform: translateY(-5px);
    }

    /* Secciones */
    .section {
      padding: clamp(80px, 10vw, 120px) 0;
    }

    .section-bg {
      background: var(--soft);
      position: relative;
    }

    .section-title {
      font-weight: 800;
      margin-bottom: 0.5rem;
      position: relative;
      display: inline-block;
    }

    .section-title:after {
      content: '';
      position: absolute;
      bottom: -8px;
      left: 0;
      width: 60px;
      height: 4px;
      background: var(--violet-600);
      border-radius: 2px;
    }

    .section-subtitle {
      color: black;
      font-size: 1.1rem;
      margin-bottom: 2rem;
    }

    /* Cards limpias */
    .clean-card {
      background: #fff;
      border: 1px solid rgba(20, 18, 25, .06);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      transition: all 0.3s ease;
      overflow: hidden;
    }

    .clean-card:hover {
      transform: translateY(-5px);
      box-shadow: var(--shadow-lg);
    }

    /* Ticker / Carousel de trabajos */
    .carousel-frame {
      background: #fff;
      border: 1px solid rgba(20, 18, 25, .06);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      overflow: hidden;
    }

    .carousel-item {
      display: flex;
      align-items: center;
      justify-content: center;
      min-height: 440px;
      background: #fff;
    }

    /* El "marco" 500x500 aprox., imagen visible según su contenido */
    .work-box {
      width: min(92vw, 520px);
      height: min(92vw, 520px);
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .work-box img {
      max-width: 100%;
      max-height: 100%;
      object-fit: contain;
      display: block;
    }

    /* Controles del carousel un poco más visibles */
    .carousel-control-prev,
    .carousel-control-next {
      width: 12%;
      opacity: 0.9;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
      filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .35));
    }

    .carousel-indicators [data-bs-target] {
      background-color: var(--violet-600);
      width: 10px;
      height: 10px;
      border-radius: 50%;
    }

    /* Listas con iconitos */
    .icon-li {
      list-style: none;
      padding-left: 0;
      margin: 0;
    }

    .icon-li li {
      display: flex;
      gap: .6rem;
      align-items: flex-start;
      margin: .5rem 0;
    }

    .icon-li i {
      color: var(--violet-600);
      margin-top: .2rem;
    }

    /* Contacto */
    .contact-card .form-control,
    .contact-card .form-select {
      border-radius: var(--radius-sm);
      border: 1px solid rgba(20, 18, 25, .12);
      padding: 0.75rem 1rem;
      transition: all 0.3s ease;
    }

    .contact-card .form-control:focus,
    .contact-card .form-select:focus {
      border-color: var(--violet-500);
      box-shadow: 0 0 0 3px rgba(106, 39, 184, 0.1);
    }

    .btn-primary {
      background: var(--violet-700);
      border-color: var(--violet-700);
      border-radius: var(--radius-sm);
      font-weight: 600;
      padding: 0.75rem 1.5rem;
      transition: all 0.3s ease;
      box-shadow: 0 4px 12px rgba(106, 39, 184, 0.3);
    }

    .btn-primary:hover {
      background: var(--violet-600);
      border-color: var(--violet-600);
      transform: translateY(-2px);
      box-shadow: 0 6px 15px rgba(106, 39, 184, 0.4);
    }

    .btn-light {
      border-radius: var(--radius-sm);
      font-weight: 600;
      padding: 0.75rem 1.5rem;
      transition: all 0.3s ease;
    }

    .btn-outline-light {
      border-radius: var(--radius-sm);
      font-weight: 600;
      padding: 0.75rem 1.5rem;
      transition: all 0.3s ease;
    }

    .btn-light:hover,
    .btn-outline-light:hover {
      transform: translateY(-2px);
    }

    /* Footer */
    footer {
      background: #0e0b13;
      color: #cfcfe1;
      padding: 48px 0 24px;
    }

    footer a {
      color: #e0d7ff;
      text-decoration: none;
      transition: color 0.3s ease;
    }

    footer a:hover {
      color: #fff;
      text-decoration: underline;
    }

    /* Alertas de enviado/error */
    .floating-alert {
      position: fixed;
      z-index: 1080;
      left: 50%;
      transform: translateX(-50%);
      top: 16px;
      min-width: min(92vw, 600px);
    }

    .hero-media {
      border-radius: var(--radius);
      box-shadow: var(--shadow-lg);
      padding: clamp(12px, 2.5vw, 24px) !important;
      background: #fff;
      overflow: hidden;
      position: relative;
    }

    .hero-media:after {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: var(--gradient-soft);
      opacity: 0.3;
      z-index: 0;
    }

    .hero-media img {
      position: relative;
      z-index: 1;
    }

    /* Animaciones */
    @keyframes fadeInUp {
      from {
        opacity: 0;
        transform: translateY(30px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .animate-fade-in-up {
      animation: fadeInUp 0.6s ease forwards;
    }

    .animate-delay-1 {
      animation-delay: 0.2s;
    }

    .animate-delay-2 {
      animation-delay: 0.4s;
    }

    .animate-delay-3 {
      animation-delay: 0.6s;
    }

    /* Feature boxes */
    .feature-box {
      padding: 1.5rem;
      border-radius: var(--radius);
      background: #fff;
      border: 1px solid rgba(20, 18, 25, .06);
      transition: all 0.3s ease;
      height: 100%;
    }

    .feature-box:hover {
      transform: translateY(-5px);
      box-shadow: var(--shadow-lg);
    }

    .feature-box i {
      font-size: 2rem;
      color: var(--violet-600);
      margin-bottom: 1rem;
    }

    /* Accordion */
    .accordion-button {
      font-weight: 600;
      padding: 1.25rem 1.5rem;
      border-radius: var(--radius-sm) !important;
    }

    .accordion-button:not(.collapsed) {
      background-color: var(--violet-100);
      color: var(--violet-700);
    }

    .accordion-button:focus {
      box-shadow: 0 0 0 3px rgba(106, 39, 184, 0.1);
      border-color: var(--violet-500);
    }

    .accordion-body {
      padding: 1.25rem 1.5rem;
    }

    /* Map container */
    .map-container {
      border-radius: var(--radius);
      overflow: hidden;
      height: 100%;
      min-height: 300px;
      background: var(--violet-100);
    }

    /* Responsive adjustments */
    @media (max-width: 768px) {
      .hero h1 {
        font-size: 2.2rem;
      }

      .section-title:after {
        left: 50%;
        transform: translateX(-50%);
      }

      .navbar .nav-link {
        padding: 0.75rem 0 !important;
      }
    }
  
    
    /* ===== Fix: prevenir scroll horizontal en móviles (desktop intacto) ===== */
    html, body { overflow-x: hidden; }
    /* Navbar: evitar overflow de sombras/gradientes */
    .navbar { overflow-x: clip; }
    /* Reglas específicas para móviles, no tocan desktop */
    @media (max-width: 576px){
      /* Evitar que elementos internos generen ancho mayor al viewport */
      section, nav, footer { max-width: 100%; }
      /* Las imágenes y medios no deben desbordar en phone */
      img, video, canvas { max-width: 100%; height: auto; }
      /* Tickers/Sliders dentro de #trabajos no deben expandir el layout */
      #trabajos .slider-wrap, #trabajos .slider { max-width: 100%; }
    }
    html, body { max-width: 100%; overflow-x: hidden; }
    /* Evita que bloques internos generen ancho mayor al viewport */

    /* Por si algún elemento usa 100vw dentro de contenedores con padding */
    [class*="col-"], .col, img, video, canvas { max-width: 100%; }
    /* Navbar no debe provocar overflow horizontales */
    .navbar { overflow-x: clip; }
    /* Slider: que el carril no expanda el layout */
    #trabajos .slider-wrap, #trabajos .slider { max-width: 100%; }

/* ===== INLINE <style> BLOCK #2 ===== */
/* ===== Navbar mobile: evitar marca estirada y wrap raro ===== */
@media (max-width: 576px){
  .navbar { padding-top: 6px; padding-bottom: 6px; }
  .navbar .container, .navbar .container-fluid {
    display: flex; align-items: center; justify-content: space-between;
  }
  .navbar-brand {
    max-width: 70%;
    flex: 1 1 auto;
    display: flex; align-items: center; gap: 8px;
    overflow: hidden;
  }
  .navbar-brand img {
    height: 44px; /* controla la altura del logo */
    width: auto;  /* no se estira a lo ancho */
    max-width: 100%;
    object-fit: contain;
  }
  .navbar-toggler {
    margin-left: 12px;
    flex: 0 0 auto;
  }
}

/* ===== INLINE <style> BLOCK #3 ===== */
/* ===== FIX: WA card independiente del stack ===== */
  /* Saca a la tarjeta del flujo del contenedor y evita que herede ancho chico */
  .wa-card{
    position: fixed !important;   /* antes estaba absolute dentro del stack */
    right: 18px !important;
    bottom: 98px !important;       /* queda arriba del botón de WA */
    width: clamp(320px, 92vw, 380px) !important;
    max-width: none !important;
    min-width: 320px !important;
    z-index: 99999 !important;
    transform: translateY(10px);   /* mantiene la animación que ya tenías */
    opacity: 0;
  }
  .wa-card[aria-modal="true"]{
    transform: translateY(0);
    opacity: 1;
  }

  /* El stack de botones queda igual */
  .fab-stack{ right: 18px !important; bottom: 18px !important; }

  /* Mobile: ajustá offsets si tu botón es 56px */
  @media (max-width: 480px){
    .wa-card{ right: 12px !important; bottom: 80px !important; width: calc(100vw - 24px) !important; min-width: 0 !important; }
  }

/* ===== INLINE <style> BLOCK #4 ===== */
/* Marco para la imagen (similar a tu referencia) */
      #quienes .quienes-media{
        border-radius: var(--radius, 16px);
        box-shadow: var(--shadow, 0 10px 30px rgba(20,18,25,.08));
        background:#fff;
      }
      #quienes .quienes-media img{
        width:100%; height:auto; display:block; object-fit:cover;
        /* Si tu imagen es muy alta, podés fijar un alto y recortar suave: */
        /* max-height:520px; */
      }
  
      /* Íconos y cards */
      #quienes .feature-box i{
        font-size: 2rem;
        color: var(--violet-600, #7d35cc);
      }
      #quienes .feature-box{
        border:1px solid rgba(20,18,25,.06);
        border-radius: var(--radius, 16px);
      }

/* ===== INLINE <style> BLOCK #5 ===== */
/* Scope solo a esta sección */
        #trabajos .slider-wrap{
          position: relative;
          background:#fff; border:1px solid rgba(0,0,0,.08);
          border-radius:14px; box-shadow:0 6px 24px rgba(0,0,0,.06);
          overflow:hidden;
        }
  
        /* Carril horizontal con snap por página */
        #trabajos .slider{
          display:flex; gap:0;
          overflow-x:auto; overflow-y:hidden;
          scroll-snap-type:x mandatory;
          scroll-behavior:smooth;
          -webkit-overflow-scrolling: touch;
        }
        #trabajos .slider::-webkit-scrollbar{ height:10px; }
        #trabajos .slider::-webkit-scrollbar-thumb{
          background:rgba(0,0,0,.15); border-radius:20px;
        }
  
        /* Una "página" ocupa 100% del ancho del carril */
        #trabajos .page{
          flex:0 0 100%;
          scroll-snap-align:start;
          padding:16px;
        }
        #trabajos .grid{
          display:grid; gap:16px;
        }
        /* Columnas según breakpoint: se setean por JS con itemsPerPage,
           pero dejamos un fallback visual por si se deshabilita JS */
        @media (min-width: 992px){ #trabajos .grid{ grid-template-columns: repeat(3, 1fr); } }
        @media (min-width: 576px) and (max-width: 991.98px){ #trabajos .grid{ grid-template-columns: repeat(2, 1fr); } }
        @media (max-width: 575.98px){ #trabajos .grid{ grid-template-columns: 1fr; } }
  
        /* Caja y tamaño de las imágenes (sin recorte) */
        #trabajos .work-box{
          border:1px solid rgba(0,0,0,.06); border-radius:12px;
          background:#fff; height:300px; overflow:hidden;
          display:flex; align-items:center; justify-content:center;
          cursor: pointer;
        }
        @media (min-width:1400px){ #trabajos .work-box{ height:340px; } }
        @media (max-width:576px){  #trabajos .work-box{ height:280px; } }
  
        #trabajos .work-box img{
          width:100%; height:100%; object-fit:contain; display:block;
          transition: transform .2s ease;
        }
        #trabajos .work-box:hover img{ transform: scale(1.02); }
  
        /* Flechas de navegación */
        #trabajos .nav-btn{
          position:absolute; top:50%; transform:translateY(-50%);
          background:#fff; border:1px solid rgba(0,0,0,.15);
          width:48px; height:48px; border-radius:999px;
          display:flex; align-items:center; justify-content:center;
          box-shadow:0 4px 16px rgba(0,0,0,.12);
          z-index:3; cursor:pointer;
        }
        #trabajos .nav-btn:hover{ background:#f8f8f8; }
        #trabajos .prev{ left:12px; }
        #trabajos .next{ right:12px; }
        #trabajos .nav-btn[disabled]{ opacity:.35; pointer-events:none; }
  
        /* Indicadores */
        #trabajos .indicators{
          display:flex; gap:8px; justify-content:center; padding:10px 0 16px;
        }
        #trabajos .dot{
          width:9px; height:9px; border-radius:999px; background:#bbb;
        }
        #trabajos .dot.active{ background:#000; }
        
        /* Modal */
        #trabajos .modal-content{ background:#000; border:none; border-radius:12px; }
        #trabajos .modal-header{ border:0; }
        #trabajos .btn-close{ filter: invert(1); }
        #trabajos .modal-img{ max-width:100%; max-height:80vh; object-fit:contain; }
        #trabajos .modal-nav{
          position:absolute; top:50%; transform:translateY(-50%);
          background:rgba(255,255,255,.9); border:none; border-radius:999px;
          width:44px; height:44px; display:flex; align-items:center; justify-content:center;
          cursor: pointer;
        }
        #trabajos .modal-prev{ left:12px; } 
        #trabajos .modal-next{ right:12px; }

/* ===== INLINE <style> BLOCK #6 ===== */
/* Ajustes locales de la sección */
      #contacto .contact-card .form-control{
        background:#fff;
      }
      /* Mapa sin fondo rosa + alturas responsivas */
      #contacto .map-container{
        width:100%;
        height:380px;
        border-radius:14px;
        overflow:hidden;
        background:#f3f5f9; /* neutro, no rosa */
        border:1px solid rgba(0,0,0,.06);
      }
      @media (max-width: 991.98px){
        #contacto .map-container{ height:320px; }
      }
      @media (max-width: 575.98px){
        #contacto .map-container{ height:280px; }
      }
      #contacto .map-container iframe{
        width:100%; height:100%; border:0; display:block;
      }

/* ===== INLINE <style> BLOCK #7 ===== */
/* Scope al footer */
    #site-footer{
      --bg:#0f0e14;            /* fondo oscuro */
      --fg:#dfe0e6;            /* texto */
      --muted:#9aa0ae;         /* texto secundario */
      --violet:#6e38d6;        /* acento */
      --violet-2:#8e6df0;
      background: radial-gradient(1200px 600px at 80% -200px, rgba(110,56,214,.18), transparent 60%) , var(--bg);
      color:var(--fg);
      border-top:1px solid rgba(255,255,255,.06);
    }
    #site-footer .ft-brand img{ height:46px; }
    #site-footer .ft-title{
      font-weight:700; letter-spacing:.3px;
    }
    #site-footer a{ color:var(--fg); text-decoration:none; }
    #site-footer a:hover{ color:var(--violet-2); }
    #site-footer .ft-muted{ color:var(--muted); }

    /* Links */
    #site-footer .list-unstyled li + li{ margin-top:.35rem; }

    /* Botón CTA */
    #site-footer .btn-cta{
      background: linear-gradient(135deg, var(--violet), var(--violet-2));
      color:#fff; border:0; padding:.7rem 1rem; border-radius:12px; font-weight:600;
      box-shadow: 0 10px 30px rgba(110,56,214,.25);
    }
    #site-footer .btn-cta:hover{ transform: translateY(-1px); }

    /* Franja legal */
    #site-footer .legal{
      border-top:1px solid rgba(255,255,255,.08);
      color:var(--muted);
    }

/* ===== INLINE <style> BLOCK #8 ===== */
/* Asegurar que la card flotante no provoque overflow horizontal */
.fab-stack, .wa-card { max-width: 100%; }

/* ===== INLINE <style> BLOCK #9 ===== */
:root{
      --wa: #25D366; --wa-dark:#128C7E;
      --dark-bg:#0b0f18; --darker-bg:#0a1324;
      --light:#fff; --muted: rgba(255,255,255,.7);
    }
    /* Contenedor de la pila (3 flotantes) */
    .fab-stack{
      position: fixed; right: 18px; bottom: 18px; z-index: 9999;
      display: flex; flex-direction: column; align-items: flex-end; gap: 10px;
      font-family: inherit;
    }
    /* Botón base */
    .fab{
      width:60px; height:60px; border-radius:50%; border:0; cursor:pointer;
      display:grid; place-items:center; box-shadow:0 10px 30px rgba(0,0,0,.25);
      transition: transform .25s ease, box-shadow .25s ease, opacity .2s;
      background:#111; color:#fff; text-decoration:none;
    }
    .fab:hover{ transform: translateY(-3px) scale(1.05); box-shadow:0 14px 36px rgba(0,0,0,.35); }
  
    /* Colores de marca */
    .fab-ig{ background: linear-gradient(135deg, #f58529, #dd2a7b 40%, #8134af 70%, #515bd4); }
    .fab-fb{ background: #1877F2; }
    .fab-wa{ background: linear-gradient(135deg, var(--wa), var(--wa-dark)); }
  
    /* Card de WhatsApp posicionada sobre el botón de WA dentro del stack */
    .wa-card{
      position:absolute; right:0;
      bottom: calc(60px + 10px); /* por encima del botón de WA */
      width: min(360px, 92vw);
      background: var(--dark-bg); color: var(--light);
      border-radius: 18px; overflow: hidden;
      box-shadow: 0 18px 60px rgba(0,0,0,.5); border:1px solid rgba(255,255,255,.08);
      transform: translateY(10px); opacity:0; transition:.28s ease;
    }
    .wa-card[aria-modal="true"]{ transform: translateY(0); opacity:1; }
    .wa-head{
      display:flex; align-items:center; gap:12px; padding:14px;
      background: linear-gradient(180deg, #0d162c, var(--darker-bg));
      border-bottom:1px solid rgba(255,255,255,.06);
    }
    .wa-avatar{ width:40px; height:40px; border-radius:8px; background:#0e1a33;
      display:grid; place-items:center; border:1px solid rgba(255,255,255,.08); overflow:hidden; }
    .wa-title{ font-weight:700; font-size:1.05rem; }
    .wa-status{ font-size:.85rem; color:var(--muted); display:flex; align-items:center; gap:6px; }
    .wa-status::before{ content:""; width:8px; height:8px; border-radius:50%; background: var(--wa); }
    .wa-close{ margin-left:auto; background:transparent; color:#fff; border:0; font-size:24px; cursor:pointer; opacity:.7;
      width:32px; height:32px; border-radius:50%; display:flex; align-items:center; justify-content:center; transition:.2s; }
    .wa-close:hover{ opacity:1; background: rgba(255,255,255,.1); }
  
    .wa-body{ padding:12px 14px; max-height:40vh; overflow:auto; background: var(--dark-bg);
      display:flex; flex-direction:column; gap:8px; }
    .wa-bubble{ max-width:88%; padding:10px 12px; border-radius:14px; line-height:1.35; box-shadow:0 4px 14px rgba(0,0,0,.25); animation:fadeIn .25s ease; }
    @keyframes fadeIn{ from{opacity:0; transform:translateY(5px)} to{opacity:1; transform:none} }
    .wa-bot{ background:#0c1428; border:1px solid rgba(255,255,255,.06); align-self:flex-start; border-bottom-left-radius:4px; }
    .wa-user{ background:#0d7b5c; align-self:flex-end; border-bottom-right-radius:4px; }
  
    .wa-compose{ display:grid; grid-template-columns:1fr auto; gap:8px; padding:10px; background: var(--dark-bg); border-top:1px solid rgba(255,255,255,.08); }
    .wa-compose textarea{
      resize:none; border-radius:12px; padding:10px 12px; border:1px solid rgba(255,255,255,.12);
      background:#0a1324; color:#fff; outline:none; min-height:44px; font-family:inherit; transition:.2s;
    }
    .wa-compose textarea:focus{ border-color: var(--wa); box-shadow: 0 0 0 2px rgba(37,211,102,.15); }
    .wa-send{ background: var(--wa); color:#0b1220; border:0; border-radius:12px; padding:0 16px; font-weight:700; cursor:pointer; display:flex; align-items:center; justify-content:center; transition:.2s; }
    .wa-send:hover{ background: var(--wa-dark); transform: scale(1.05); }
  
    /* Ajustes mobile */
    @media (max-width: 480px){
      .fab-stack{ right:12px; bottom:12px; gap:8px; }
      .fab{ width:56px; height:56px; }
      .wa-card{ width: calc(100vw - 24px); bottom: calc(56px + 8px); }
    }

