/* MIXED CSS PACK */
/* Template: fleteslopez.com.ar/index.html */
/* Template mtime: 2025-12-02 18:21:14 */

/* external link (no embedded): https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css */
/* external link (no embedded): https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.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 {
      --primary: #111827;
      --accent: #1d4ed8;
      --accent-hover: #1e40af;
      --accent-soft: #e0ecff;
      --text-main: #111827;
      --text-muted: #6b7280;
      --bg-soft: #f3f4f6;
      --radius-lg: 18px;
      --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.15);
      --shadow-hover: 0 25px 50px rgba(15, 23, 42, 0.2);
      --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    }

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      color: var(--text-main);
      background: #ffffff;
      overflow-x: hidden;
    }

    .section {
      padding: 90px 0;
      position: relative;
    }

    .section-title {
      font-size: 2.5rem;
      font-weight: 800;
      margin-bottom: 0.5rem;
      background: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .section-subtitle {
      color: var(--text-muted);
      max-width: 640px;
      margin: 0.5rem auto 0;
      font-size: 1.1rem;
      line-height: 1.6;
    }

    .eyebrow {
      text-transform: uppercase;
      font-size: 0.8rem;
      letter-spacing: 0.15em;
      color: var(--accent);
      font-weight: 600;
      display: inline-block;
      margin-bottom: 0.75rem;
      position: relative;
    }

    .eyebrow::after {
      content: '';
      position: absolute;
      bottom: -5px;
      left: 0;
      width: 30px;
      height: 2px;
      background: var(--accent);
      border-radius: 2px;
    }

    /* NAVBAR */
    .navbar {
      box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
      background: rgba(255, 255, 255, 0.95);
      backdrop-filter: blur(10px);
      transition: var(--transition);
      padding: 0.75rem 0;
    }

    .navbar.scrolled {
      padding: 0.5rem 0;
      box-shadow: 0 5px 20px rgba(15, 23, 42, 0.1);
    }

    .navbar-brand span.brand-title {
      font-weight: 800;
      font-size: 1.2rem;
      line-height: 1.1;
      background: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .navbar-brand span.brand-sub {
      font-size: 0.78rem;
      color: var(--text-muted);
    }

    .nav-link {
      font-weight: 500;
      color: #4b5563;
      position: relative;
      transition: var(--transition);
      padding: 0.5rem 1rem !important;
      border-radius: 8px;
    }

    .nav-link:hover,
    .nav-link:focus {
      color: var(--accent);
      background: rgba(29, 78, 216, 0.05);
    }

    .nav-link::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 50%;
      width: 0;
      height: 2px;
      background: var(--accent);
      transition: var(--transition);
      transform: translateX(-50%);
    }

    .nav-link:hover::after {
      width: 70%;
    }

    .btn-cta-nav {
      font-size: 0.9rem;
      padding: 0.6rem 1.2rem;
      border-radius: 999px;
      border: none;
      background: var(--accent);
      color: #fff;
      font-weight: 600;
      transition: var(--transition);
      box-shadow: 0 4px 12px rgba(29, 78, 216, 0.3);
    }

    .btn-cta-nav:hover {
      background: var(--accent-hover);
      transform: translateY(-2px);
      box-shadow: 0 6px 16px rgba(29, 78, 216, 0.4);
    }

    .btn-cta-nav i {
      margin-right: 0.35rem;
    }

    /* HERO */
    #inicio {
      padding-top: 120px;
      padding-bottom: 100px;
      background: radial-gradient(circle at top left, #e0ecff 0, #ffffff 40%, #f9fafb 100%);
      position: relative;
      overflow: hidden;
    }

    #inicio::before {
      content: '';
      position: absolute;
      top: 0;
      right: 0;
      width: 50%;
      height: 100%;
      background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="rgba(29,78,216,0.03)"/></svg>');
      background-size: cover;
      z-index: 0;
    }

    .hero-title {
      font-size: clamp(2.5rem, 4vw, 3.5rem);
      font-weight: 800;
      letter-spacing: -0.03em;
      margin-bottom: 1.5rem;
      color: #0f172a;
      line-height: 1.2;
    }

    .hero-lead {
      font-size: 1.1rem;
      color: var(--text-muted);
      margin-bottom: 1.5rem;
      line-height: 1.6;
    }

    .hero-badges {
      display: flex;
      flex-wrap: wrap;
      gap: 0.75rem;
      margin-bottom: 1.5rem;
    }

    .hero-badge {
      font-size: 0.85rem;
      background: #ffffff;
      border-radius: 999px;
      padding: 0.4rem 1rem;
      border: 1px solid #e5e7eb;
      color: #374151;
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      transition: var(--transition);
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    }

    .hero-badge:hover {
      transform: translateY(-3px);
      box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
      border-color: var(--accent);
    }

    .hero-badge i {
      color: var(--accent);
      font-size: 0.9rem;
    }

    .hero-cta {
      display: flex;
      flex-wrap: wrap;
      gap: 1rem;
      align-items: center;
      margin-bottom: 1.5rem;
    }

    .btn-hero-main {
      padding: 0.9rem 2rem;
      border-radius: 999px;
      font-weight: 600;
      border: none;
      background: var(--accent);
      color: #ffffff;
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      box-shadow: var(--shadow-soft);
      transition: var(--transition);
      position: relative;
      overflow: hidden;
    }

    .btn-hero-main::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
      transition: 0.5s;
    }

    .btn-hero-main:hover::before {
      left: 100%;
    }

    .btn-hero-main:hover {
      background: var(--accent-hover);
      transform: translateY(-3px);
      box-shadow: var(--shadow-hover);
    }

    .btn-hero-ghost {
      padding: 0.9rem 1.8rem;
      border-radius: 999px;
      font-weight: 500;
      border: 1px solid #cbd5f5;
      background: rgba(255, 255, 255, 0.85);
      color: #1f2933;
      display: inline-flex;
      align-items: center;
      gap: 0.45rem;
      transition: var(--transition);
    }

    .btn-hero-ghost:hover {
      background: #ffffff;
      border-color: var(--accent);
      color: var(--accent);
      transform: translateY(-2px);
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    }

    .hero-footnote {
      font-size: 0.9rem;
      color: var(--text-muted);
      max-width: 500px;
    }

    .hero-image-wrapper {
      max-width: 520px;
      margin-left: auto;
      margin-right: auto;
      position: relative;
    }

    .hero-image-card {
      border-radius: 26px;
      background: #ffffff;
      box-shadow: var(--shadow-soft);
      overflow: hidden;
      position: relative;
      transition: var(--transition);
    }

    .hero-image-card:hover {
      transform: translateY(-5px);
      box-shadow: var(--shadow-hover);
    }

    .hero-image-card img {
      width: 100%;
      height: auto;
      display: block;
      object-fit: cover;
      transition: var(--transition);
    }

    .hero-image-card:hover img {
      transform: scale(1.03);
    }

    .hero-pill {
      position: absolute;
      bottom: 20px;
      left: 20px;
      background: rgba(15, 23, 42, 0.88);
      color: #fff;
      padding: 0.6rem 1rem;
      border-radius: 999px;
      font-size: 0.85rem;
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      backdrop-filter: blur(10px);
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    .hero-pill i {
      color: #22c55e;
    }

    /* QUIÉNES SOMOS */
    #quienes-somos p {
      color: var(--text-muted);
      font-size: 1.05rem;
      line-height: 1.7;
    }

    #quienes-somos .values-card {
      border-radius: var(--radius-lg);
      padding: 2rem;
      background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
      box-shadow: var(--shadow-soft);
      border: 1px solid #e5e7eb;
      height: 100%;
      transition: var(--transition);
    }

    #quienes-somos .values-card:hover {
      transform: translateY(-5px);
      box-shadow: var(--shadow-hover);
    }

    /* SERVICIOS */
    .service-card {
      height: 100%;
      border-radius: var(--radius-lg);
      border: 1px solid #e5e7eb;
      padding: 2rem 1.5rem;
      background: #ffffff;
      box-shadow: 0 14px 35px rgba(15, 23, 42, 0.04);
      transition: var(--transition);
      position: relative;
      overflow: hidden;
    }

    .service-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 4px;
      background: linear-gradient(90deg, var(--accent) 0%, #3b82f6 100%);
      transform: scaleX(0);
      transform-origin: left;
      transition: transform 0.4s ease;
    }

    .service-card:hover::before {
      transform: scaleX(1);
    }

    .service-card:hover {
      transform: translateY(-8px);
      box-shadow: var(--shadow-hover);
    }

    .service-card h3 {
      font-size: 1.2rem;
      margin-bottom: 0.75rem;
      font-weight: 600;
    }

    .service-card p {
      font-size: 0.95rem;
      color: var(--text-muted);
      line-height: 1.6;
    }

    /* POR QUÉ ELEGIRNOS */
    #porque-elegirnos {
      background: var(--bg-soft);
      position: relative;
    }

    #porque-elegirnos::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,80 Q50,100 0,80 Z" fill="rgba(255,255,255,0.8)"/></svg>');
      background-size: cover;
      z-index: 0;
    }

    #porque-elegirnos > .container {
      position: relative;
      z-index: 1;
    }

    .why-card {
      border-radius: var(--radius-lg);
      background: #ffffff;
      padding: 1.8rem 1.5rem;
      border: 1px solid #e5e7eb;
      display: flex;
      gap: 1.2rem;
      align-items: flex-start;
      box-shadow: 0 16px 40px rgba(15, 23, 42, 0.05);
      height: 100%;
      transition: var(--transition);
    }

    .why-card:hover {
      transform: translateY(-5px);
      box-shadow: var(--shadow-hover);
    }

    .why-icon {
      width: 50px;
      height: 50px;
      border-radius: 12px;
      background: var(--accent-soft);
      color: var(--accent);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      font-size: 1.3rem;
      transition: var(--transition);
    }

    .why-card:hover .why-icon {
      transform: scale(1.1);
      background: var(--accent);
      color: white;
    }

    .why-card h3 {
      font-size: 1.1rem;
      margin-bottom: 0.5rem;
      font-weight: 600;
    }

    .why-card p {
      font-size: 0.95rem;
      color: var(--text-muted);
      margin-bottom: 0;
      line-height: 1.6;
    }

    /* FAQS */
    #faqs {
      background: #ffffff;
    }

    .faq-accordion .accordion-item {
      border: 1px solid #e5e7eb;
      border-radius: 12px;
      margin-bottom: 1rem;
      overflow: hidden;
      transition: var(--transition);
    }

    .faq-accordion .accordion-item:hover {
      border-color: var(--accent);
    }

    .faq-accordion .accordion-button {
      font-weight: 600;
      padding: 1.25rem 1.5rem;
      background: #ffffff;
      box-shadow: none;
    }

    .faq-accordion .accordion-button:not(.collapsed) {
      background: var(--accent-soft);
      color: var(--accent);
    }

    .faq-accordion .accordion-button::after {
      background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%231d4ed8'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    }

    .faq-accordion .accordion-body {
      font-size: 0.95rem;
      color: var(--text-muted);
      line-height: 1.6;
      padding: 1rem 1.5rem 1.5rem;
    }

    /* CONTACTO */
    #contacto {
      background: var(--bg-soft);
      position: relative;
    }

    .contact-card {
      border-radius: var(--radius-lg);
      padding: 2.5rem 2rem;
      background: #ffffff;
      box-shadow: 0 18px 40px rgba(15, 23, 42, 0.07);
      border: 1px solid #e5e7eb;
      transition: var(--transition);
    }

    .contact-card:hover {
      box-shadow: var(--shadow-hover);
    }

    .contact-card label {
      font-size: 0.9rem;
      font-weight: 500;
      margin-bottom: 0.5rem;
    }

    .contact-card input,
    .contact-card select,
    .contact-card textarea {
      font-size: 0.95rem;
      border-radius: 8px;
      border: 1px solid #d1d5db;
      padding: 0.75rem 1rem;
      transition: var(--transition);
    }

    .contact-card input:focus,
    .contact-card select:focus,
    .contact-card textarea:focus {
      border-color: var(--accent);
      box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.1);
    }

    .contact-info-list {
      list-style: none;
      padding-left: 0;
      margin: 0;
    }

    .contact-info-list li {
      margin-bottom: 0.75rem;
      font-size: 0.95rem;
      display: flex;
      align-items: flex-start;
    }

    .contact-info-list i {
      color: var(--accent);
      margin-right: 0.75rem;
      margin-top: 0.2rem;
      flex-shrink: 0;
    }

    .btn-primary {
      background: var(--accent);
      border: none;
      padding: 0.75rem 1.5rem;
      font-weight: 600;
      border-radius: 8px;
      transition: var(--transition);
    }

    .btn-primary:hover {
      background: var(--accent-hover);
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(29, 78, 216, 0.3);
    }
    /* FOOTER */
    footer {
      background: #020617;
      color: #e5e7eb;
      padding: 32px 0;
      font-size: 0.9rem;
    }
    
    footer a {
      color: #9ca3af;
      text-decoration: none;
      transition: var(--transition);
    }
    
    footer a:hover {
      color: #e5e7eb;
    }
    
    /* Layout del footer */
    .footer-top {
      padding-bottom: 14px;
    }
    
    .footer-brand {
      display: flex;
      align-items: center;
      gap: 0.8rem;
    }
    
    .footer-logo {
      height: 42px;
      width: auto;
      border-radius: 10px;
      background: #020617;
      object-fit: contain;
    }
    
    .footer-brand-title {
      font-weight: 700;
      font-size: 1rem;
    }
    
    .footer-brand-sub {
      font-size: 0.8rem;
      color: #9ca3af;
    }
    
    .footer-nav {
      display: flex;
      flex-wrap: wrap;
      gap: 0.75rem 1.2rem;
      font-size: 0.9rem;
    }
    
    .footer-nav a {
      position: relative;
    }
    
    .footer-nav a::after {
      content: '';
      position: absolute;
      left: 0;
      bottom: -3px;
      width: 0;
      height: 2px;
      background: var(--accent);
      transition: var(--transition);
    }
    
    .footer-nav a:hover::after {
      width: 100%;
    }
    
    .footer-contact small {
      color: #9ca3af;
    }
    
    /* Divider */
    .footer-divider {
      border-color: rgba(148, 163, 184, 0.3);
    }
    
    /* Ajustes responsive footer */
    @media (max-width: 767.98px) {
      .footer-top {
        text-align: center;
      }
      .footer-brand {
        justify-content: center;
      }
      .footer-nav {
        justify-content: center;
      }
      .footer-contact {
        text-align: center !important;
      }
    }

    /* Animaciones al hacer scroll */
    .fade-in {
      opacity: 0;
      transform: translateY(30px);
      transition: opacity 0.6s ease, transform 0.6s ease;
    }

    .fade-in.visible {
      opacity: 1;
      transform: translateY(0);
    }

    /* GALERÍA */
    .gal-gallery .carousel {
      max-width: 980px;
      margin-inline: auto;
      position: relative;
    }

    .gal-frame {
      height: clamp(280px, 50vh, 500px);
      background: #fff;
      border-radius: 16px;
      overflow: hidden;
      box-shadow: 0 12px 28px rgba(0,0,0,.12);
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 8px;
      transition: var(--transition);
    }

    .gal-frame:hover {
      transform: translateY(-5px);
      box-shadow: 0 20px 40px rgba(0,0,0,.15);
    }

    .gal-img {
      width: auto !important;
      max-width: 100%;
      height: auto !important;
      max-height: 100%;
      object-fit: contain !important;
      object-position: center;
      display: block;
      cursor: zoom-in;
      transition: var(--transition);
    }

    .gal-img:hover {
      transform: scale(1.02);
    }

    /* Controles circulares con más contraste */
    .gal-gallery .carousel-control-prev,
    .gal-gallery .carousel-control-next {
      z-index: 20;
      width: 50px;
      height: 50px;
      top: 50%;
      transform: translateY(-50%);
      opacity: 1;
      background: rgba(0,0,0,.55);
      border-radius: 50%;
      margin: 0 12px;
      transition: var(--transition);
    }

    .gal-gallery .carousel-control-prev:hover,
    .gal-gallery .carousel-control-next:hover {
      background: rgba(0,0,0,.7);
      transform: translateY(-50%) scale(1.05);
    }

    .gal-gallery .carousel-control-prev {
      left: 0;
    }

    .gal-gallery .carousel-control-next {
      right: 0;
    }

    .gal-gallery .gal-ctrl-icon {
      width: 2.6rem;
      height: 2.6rem;
      background-size: 60% 60%;
    }

    /* Indicadores: se sitúan fuera; agregamos espacio inferior para que no se corten */
    .gal-gallery .carousel-indicators {
      z-index: 10;
      bottom: -50px;
    }

    .gal-gallery .carousel-indicators button {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      background: rgba(0,0,0,.5);
      border: none;
      transition: var(--transition);
    }

    .gal-gallery .carousel-indicators button.active {
      background: var(--accent);
      transform: scale(1.2);
    }

    .gal-gallery {
      padding-bottom: 56px; /* espacio para indicadores */
    }

    /* Modal */
    #galLightbox .modal-content {
      background: #000;
    }

    #galLightboxImg {
      max-height: 86vh;
      width: 100%;
      height: auto;
      object-fit: contain;
      background: #000;
    }

    .gal-lightbox-nav {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      border: 0;
      width: 44px;
      height: 44px;
      border-radius: 999px;
      background: rgba(255,255,255,.18);
      color: #fff;
      font-size: 30px;
      line-height: 44px;
      text-align: center;
      z-index: 5;
      cursor: pointer;
      transition: var(--transition);
    }

    .gal-lightbox-nav:hover {
      background: rgba(255,255,255,.28);
      transform: translateY(-50%) scale(1.1);
    }

    .gal-lightbox-nav.gal-prev {
      left: 10px;
    }

    .gal-lightbox-nav.gal-next {
      right: 10px;
    }

    /* Pequeños ajustes móviles */
    @media (max-width: 991.98px) {
      #inicio {
        padding-top: 100px;
      }
      .navbar-brand span.brand-sub {
        display: none;
      }
      .hero-image-wrapper {
        margin-top: 40px;
      }
      .section {
        padding: 70px 0;
      }
      .section-title {
        font-size: 2rem;
      }
    }

    @media (max-width: 575.98px) {
      .gal-frame {
        height: clamp(220px, 40vh, 360px);
      }
      .hero-cta {
        flex-direction: column;
        align-items: stretch;
      }
      .btn-hero-main, .btn-hero-ghost {
        width: 100%;
        justify-content: center;
      }
    }

/* ===== INLINE <style> BLOCK #2 ===== */
/* Servicio “pro”: icono + subtítulo + tags */
.service-card-header {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  margin-bottom: 0.75rem;
}

.service-card-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
}

.service-card h3 {
  margin-bottom: 0.15rem;
}

.service-card-sub {
  font-size: 0.86rem;
  color: var(--text-muted);
}

.service-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-bottom: 0.75rem;
}

.service-tag {
  font-size: 0.72rem;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  background: #f3f4f6;
  color: #6b7280;
  border: 1px solid #e5e7eb;
}

/* Tira de highlights arriba de los servicios */
.service-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.service-pill {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgba(29, 78, 216, 0.06);
  border: 1px solid rgba(129, 140, 248, 0.35);
  font-size: 0.8rem;
  color: #1f2937;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.service-pill i {
  font-size: 0.9rem;
  color: var(--accent);
}

@media (max-width: 767.98px) {
  .service-card-header {
    align-items: center;
  }
}

/* ===== INLINE <style> BLOCK #3 ===== */
:root{
      /* Colores WhatsApp */
      --wa:#25D366;
      --wa-dark:#128C7E;
      /* Colores adaptados al sitio Fletes López (azules) */
      --wa-head:#1d4ed8;          /* azul principal del sitio */
      --wa-text:#111827;
      --wa-muted:#9ca3af;
      --wa-bg:#ffffff;
      --wa-border:#e5e7eb;
    }
  
    .wa-float{
      position:fixed;
      right:18px;
      bottom:18px;
      z-index:9999;
      font-family:inherit;
    }
  
    .wa-btn{
      background:linear-gradient(135deg,var(--wa),var(--wa-dark));
      color:#fff;
      border:0;
      width:60px;
      height:60px;
      border-radius:50%;
      display:grid;
      place-items:center;
      box-shadow:0 10px 30px rgba(15,23,42,.35);
      cursor:pointer;
      transition:transform .3s, box-shadow .3s, background .3s;
      position:relative;
      overflow:hidden;
    }
    .wa-btn::after{
      content:"";
      position:absolute;
      inset:0;
      background:radial-gradient(circle at 50% 50%, rgba(255,255,255,.25), rgba(255,255,255,0) 70%);
      opacity:0;
      transition:opacity .3s;
    }
    .wa-btn:hover{
      transform:translateY(-3px) scale(1.05);
      box-shadow:0 14px 36px rgba(15,23,42,.45);
    }
    .wa-btn:hover::after{ opacity:1; }
  
    .wa-card{
      position:absolute;
      right:0;
      bottom:74px;
      width:min(360px,92vw);
      background:var(--wa-bg);
      color:var(--wa-text);
      border-radius:18px;
      overflow:hidden;
      box-shadow:0 18px 60px rgba(15,23,42,.45);
      border:1px solid var(--wa-border);
      transform:translateY(10px);
      opacity:0;
      transition:transform .3s, opacity .3s;
    }
    .wa-card[aria-modal="true"]{
      transform:translateY(0);
      opacity:1;
    }
  
    .wa-head{
      display:flex;
      align-items:center;
      gap:12px;
      padding:14px;
      background:linear-gradient(135deg,#1d4ed8,#3b82f6);
      border-bottom:1px solid var(--wa-border);
      color:#f9fafb;
    }
  
    .wa-avatar{
      width:40px;
      height:40px;
      border-radius:8px;
      background:#0f172a;
      display:grid;
      place-items:center;
      border:1px solid rgba(148,163,184,.7);
      overflow:hidden;
    }
  
    .wa-title{
      font-weight:700;
      font-size:1.05rem;
    }
  
    .wa-status{
      font-size:.85rem;
      color:#e5e7eb;
      display:flex;
      align-items:center;
      gap:6px;
    }
    .wa-status::before{
      content:"";
      width:8px;
      height:8px;
      border-radius:50%;
      background:#22c55e;
    }
  
    .wa-close{
      margin-left:auto;
      background:transparent;
      color:#0b1120;
      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;
      background:rgba(15,23,42,.06);
    }
    .wa-close:hover{
      opacity:1;
      background:rgba(15,23,42,.12);
    }
  
    .wa-body{
      padding:12px 14px;
      max-height:40vh;
      overflow:auto;
      background:#ffffff;
      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 10px rgba(15,23,42,.08);
      animation:fadeIn .25s ease;
      font-size:.95rem;
    }
  
    @keyframes fadeIn{
      from{opacity:0; transform:translateY(5px);}
      to{opacity:1; transform:none;}
    }
  
    .wa-bot{
      background:#f9fafb;
      border:1px solid #e5e7eb;
      align-self:flex-start;
      border-bottom-left-radius:4px;
    }
  
    .wa-user{
      background:#e0ecff;
      border:1px solid #bfdbfe;
      align-self:flex-end;
      border-bottom-right-radius:4px;
    }
  
    .wa-compose{
      display:grid;
      grid-template-columns:1fr auto;
      gap:8px;
      padding:10px;
      background:#f9fafb;
      border-top:1px solid var(--wa-border);
    }
  
    .wa-compose textarea{
      resize:none;
      border-radius:12px;
      padding:10px 12px;
      border:1px solid var(--wa-border);
      background:#ffffff;
      color:var(--wa-text);
      outline:none;
      min-height:44px;
      font-family:inherit;
      font-size:.95rem;
      transition:.2s;
    }
  
    .wa-compose textarea:focus{
      border-color:#1d4ed8;
      box-shadow:0 0 0 2px rgba(37,99,235,.18);
    }
  
    .wa-send{
      background:var(--wa);
      color:#ffffff;
      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);
    }
  
    .wa-body::-webkit-scrollbar{ width:6px; }
    .wa-body::-webkit-scrollbar-track{ background:rgba(15,23,42,.02); border-radius:3px; }
    .wa-body::-webkit-scrollbar-thumb{ background:rgba(15,23,42,.25); border-radius:3px; }
    .wa-body::-webkit-scrollbar-thumb:hover{ background:rgba(15,23,42,.35); }
  
    @media (max-width:480px){
      .wa-float{ right:12px; bottom:12px; }
      .wa-card{ width:calc(100vw - 24px); right:0; }
    }

