/* MIXED CSS PACK */
/* Template: metalesdirectorio.com.ar/index.html */
/* Template mtime: 2025-10-23 14:49:41 */

/* 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.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: #0f2f46;
      --primary-dark: #0a2333;
      --accent: #d4a017;
      --accent-light: #e8b83d;
      --ink: #0f1a24;
      --soft: #f6f8fb;
      --soft-light: #fafcff;
      --muted: #6b7280;
      --white: #ffffff;
      --shadow: 0 10px 30px rgba(15, 42, 70, 0.08);
      --shadow-lg: 0 20px 50px rgba(15, 42, 70, 0.12);
      --radius: 16px;
      --radius-lg: 24px;
      --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    }

    * {
      box-sizing: border-box;
    }

    body {
      font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, 'Helvetica Neue', Arial, sans-serif;
      color: var(--ink);
      background: var(--white);
      overflow-x: hidden;
      line-height: 1.6;
    }

    h1, h2, h3, h4, h5, h6 {
      font-weight: 700;
      line-height: 1.2;
    }

    a {
      color: var(--primary);
      text-decoration: none;
      transition: var(--transition);
    }

    a:hover {
      color: var(--accent);
    }

    .btn {
      border-radius: 12px;
      font-weight: 600;
      padding: 12px 24px;
      transition: var(--transition);
      position: relative;
      overflow: hidden;
    }

    .btn-primary {
      background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
      border: none;
      box-shadow: 0 4px 15px rgba(15, 47, 70, 0.2);
    }

    .btn-primary:hover {
      background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
      transform: translateY(-2px);
      box-shadow: 0 8px 20px rgba(15, 47, 70, 0.3);
    }

    .btn-outline-primary {
      border-color: var(--primary);
      color: var(--primary);
      background: transparent;
    }

    .btn-outline-primary:hover {
      background: var(--primary);
      color: var(--white);
      transform: translateY(-2px);
      box-shadow: 0 8px 20px rgba(15, 47, 70, 0.2);
    }

    .btn-lg {
      padding: 16px 32px;
      font-size: 1.1rem;
    }

    .btn-accent {
      background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
      border: none;
      color: var(--primary);
      font-weight: 700;
      box-shadow: 0 4px 15px rgba(212, 160, 23, 0.3);
    }

    .btn-accent:hover {
      background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent) 100%);
      transform: translateY(-2px);
      box-shadow: 0 8px 20px rgba(212, 160, 23, 0.4);
      color: var(--primary);
    }

    /* Navbar */
    .navbar {
      background: rgba(255, 255, 255, 0.95);
      backdrop-filter: blur(10px);
      box-shadow: 0 4px 20px rgba(15, 42, 70, 0.08);
      padding: 1rem 0;
      transition: var(--transition);
    }

    .navbar.scrolled {
      padding: 0.5rem 0;
    }

    .navbar-brand {
      font-weight: 800;
      font-size: 1.5rem;
      color: var(--primary) !important;
      display: flex;
      align-items: center;
    }

    .navbar-brand::before {
      content: "";
      display: inline-block;
      width: 8px;
      height: 24px;
      background: var(--accent);
      margin-right: 8px;
      border-radius: 2px;
    }

    .navbar .nav-link {
      font-weight: 600;
      color: var(--ink) !important;
      padding: 0.5rem 1rem;
      position: relative;
    }

    .navbar .nav-link::after {
      content: '';
      position: absolute;
      width: 0;
      height: 2px;
      bottom: 0;
      left: 50%;
      background: var(--accent);
      transition: var(--transition);
      transform: translateX(-50%);
    }

    .navbar .nav-link:hover::after,
    .navbar .nav-link.active::after {
      width: 80%;
    }

    .navbar .nav-link:hover,
    .navbar .nav-link.active {
      color: var(--primary) !important;
    }

    /* Hero Section */
    .hero {
      padding: clamp(80px, 10vw, 160px) 0;
      background: linear-gradient(135deg, var(--soft-light) 0%, var(--soft) 50%, var(--white) 100%);
      position: relative;
      overflow: hidden;
    }

    .hero::before {
      content: '';
      position: absolute;
      top: 0;
      right: 0;
      width: 60%;
      height: 100%;
      background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800" fill="none"><g opacity="0.05"><path d="M0 0h1200v800H0z" fill="%230f2f46"/><circle cx="900" cy="100" r="80" fill="%23d4a017"/><circle cx="1100" cy="300" r="120" fill="%23d4a017"/><circle cx="1000" cy="600" r="100" fill="%23d4a017"/><rect x="800" y="400" width="200" height="200" rx="20" fill="%23d4a017"/></g></svg>') no-repeat;
      background-size: cover;
      z-index: 0;
    }

    .hero-content {
      position: relative;
      z-index: 1;
    }

    .badge-dot {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      font-weight: 700;
      color: var(--primary);
      background: rgba(15, 47, 70, 0.08);
      padding: 8px 16px;
      border-radius: 50px;
      font-size: 0.9rem;
      margin-bottom: 1.5rem;
    }

    .badge-dot::before {
      content: "";
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--accent);
      animation: pulse 2s infinite;
    }

    @keyframes pulse {
      0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(212, 160, 23, 0.7);
      }
      70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(212, 160, 23, 0);
      }
      100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(212, 160, 23, 0);
      }
    }

    .hero h1 {
      font-size: clamp(2.5rem, 5vw, 4rem);
      font-weight: 800;
      line-height: 1.1;
      margin-bottom: 1.5rem;
    }

    .hero-highlight {
      color: var(--accent);
      position: relative;
      display: inline-block;
    }

    .hero-highlight::after {
      content: '';
      position: absolute;
      bottom: 5px;
      left: 0;
      width: 100%;
      height: 8px;
      background: rgba(212, 160, 23, 0.2);
      z-index: -1;
      border-radius: 4px;
    }

    .hero p.lead {
      font-size: 1.25rem;
      color: var(--muted);
      margin-bottom: 2rem;
    }

    .feature-badges {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin-bottom: 2.5rem;
    }

    .feature-badge {
      background: var(--white);
      border: 1px solid rgba(15, 47, 70, 0.1);
      border-radius: 50px;
      padding: 8px 16px;
      font-size: 0.9rem;
      font-weight: 500;
      box-shadow: 0 2px 8px rgba(15, 42, 70, 0.05);
      transition: var(--transition);
    }

    .feature-badge:hover {
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(15, 42, 70, 0.1);
    }

    .hero-buttons {
      display: flex;
      flex-wrap: wrap;
      gap: 16px;
    }

    .hero-image {
      position: relative;
      z-index: 1;
    }

    .hero-card {
      background: var(--white);
      border-radius: var(--radius-lg);
      box-shadow: var(--shadow-lg);
      padding: 24px;
      overflow: hidden;
      position: relative;
      transition: var(--transition);
    }

    .hero-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 25px 50px rgba(15, 42, 70, 0.15);
    }

    .hero-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 4px;
      background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
    }

    .hero-card img {
      width: 100%;
      height: auto;
      border-radius: 12px;
    }

    /* Sections */
    .section {
      padding: clamp(80px, 10vw, 120px) 0;
      position: relative;
    }

    .section-title {
      font-size: clamp(2rem, 4vw, 3rem);
      font-weight: 800;
      margin-bottom: 1rem;
      position: relative;
    }

    .section-title::after {
      content: '';
      position: absolute;
      bottom: -10px;
      left: 0;
      width: 60px;
      height: 4px;
      background: var(--accent);
      border-radius: 2px;
    }

    .section-title.center::after {
      left: 50%;
      transform: translateX(-50%);
    }

    .section-sub {
      font-size: 1.25rem;
      color: var(--muted);
      margin-bottom: 3rem;
    }

    /* Cards */
    .card-clean {
      background: var(--white);
      border: 1px solid rgba(15, 47, 70, 0.08);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      transition: var(--transition);
      overflow: hidden;
    }

    .card-clean:hover {
      transform: translateY(-5px);
      box-shadow: var(--shadow-lg);
    }

    .card-icon {
      width: 60px;
      height: 60px;
      border-radius: 16px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 24px;
      margin-bottom: 1.5rem;
      background: rgba(212, 160, 23, 0.1);
      color: var(--accent);
    }

    .reason {
      display: flex;
      gap: 16px;
      align-items: flex-start;
    }

    .reason .icon {
      width: 48px;
      height: 48px;
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: rgba(212, 160, 23, 0.12);
      color: var(--accent);
      font-size: 20px;
      flex-shrink: 0;
    }

    /* Ticker */
    .ticker-wrap {
      position: relative;
      padding: 20px 0;
    }

    .ticker-rail {
      display: flex;
      gap: 24px;
      overflow-x: auto;
      scroll-snap-type: x mandatory;
      padding: 20px 0;
      scrollbar-width: none;
    }

    .ticker-rail::-webkit-scrollbar {
      display: none;
    }

    .ticker-item {
      flex: 0 0 auto;
      width: 300px;
      height: 300px;
      background: var(--white);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      scroll-snap-align: center;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      transition: var(--transition);
    }

    .ticker-item:hover {
      transform: scale(1.05);
      box-shadow: var(--shadow-lg);
    }

    .ticker-item img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .ticker-controls {
      display: flex;
      gap: 12px;
      justify-content: center;
      margin-top: 24px;
    }

    /* Accordion */
    .accordion-item {
      border: 1px solid rgba(15, 47, 70, 0.1);
      border-radius: 12px;
      margin-bottom: 16px;
      overflow: hidden;
      box-shadow: 0 2px 8px rgba(15, 42, 70, 0.05);
    }

    .accordion-button {
      background: var(--white);
      color: var(--ink);
      font-weight: 600;
      padding: 20px 24px;
      border: none;
      box-shadow: none;
    }

    .accordion-button:not(.collapsed) {
      background: var(--white);
      color: var(--primary);
      box-shadow: none;
    }

    .accordion-button::after {
      background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230f2f46'%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");
    }

    .accordion-button:not(.collapsed)::after {
      background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23d4a017'%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");
    }

    .accordion-body {
      padding: 0 24px 24px;
    }

    /* Form */
    .form-control, .form-select {
      border: 1px solid rgba(15, 47, 70, 0.1);
      border-radius: 12px;
      padding: 12px 16px;
      transition: var(--transition);
    }

    .form-control:focus, .form-select:focus {
      border-color: var(--accent);
      box-shadow: 0 0 0 3px rgba(212, 160, 23, 0.1);
    }

    /* Footer */
    .footer {
      background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
      color: #e8eef5;
      padding: 60px 0 30px;
    }

    .footer a {
      color: #e8eef5;
      text-decoration: none;
    }

    .footer a:hover {
      color: var(--accent);
      text-decoration: none;
    }

    .footer-brand {
      font-weight: 800;
      font-size: 1.5rem;
      margin-bottom: 1rem;
      display: flex;
      align-items: center;
    }

    .footer-brand::before {
      content: "";
      display: inline-block;
      width: 8px;
      height: 24px;
      background: var(--accent);
      margin-right: 8px;
      border-radius: 2px;
    }

    .footer-links {
      display: flex;
      flex-wrap: wrap;
      gap: 20px;
    }

    .social-links {
      display: flex;
      gap: 16px;
      margin-top: 1.5rem;
    }

    .social-link {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.1);
      display: flex;
      align-items: center;
      justify-content: center;
      transition: var(--transition);
    }

    .social-link:hover {
      background: var(--accent);
      transform: translateY(-2px);
    }

    /* Toast */
    .toast-fixed {
      position: fixed;
      right: 20px;
      bottom: 20px;
      z-index: 1080;
    }

    /* Animations */
    @keyframes fadeInUp {
      from {
        opacity: 0;
        transform: translateY(30px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .fade-in-up {
      animation: fadeInUp 0.6s ease-out forwards;
    }

    .delay-1 {
      animation-delay: 0.1s;
    }

    .delay-2 {
      animation-delay: 0.2s;
    }

    .delay-3 {
      animation-delay: 0.3s;
    }

    .delay-4 {
      animation-delay: 0.4s;
    }

    /* Responsive */
    @media (max-width: 768px) {
      .hero-buttons {
        flex-direction: column;
      }
      
      .hero-buttons .btn {
        width: 100%;
        text-align: center;
      }
      
      .footer-links {
        flex-direction: column;
        gap: 10px;
      }
      
      .ticker-item {
        width: 250px;
        height: 250px;
      }
    }
    /* Agrandar suavemente la imagen del hero en desktop */
.hero .hero-image .hero-card {
  background: transparent; /* por si tu card tenía fondo */
  border: 0;
  box-shadow: none;
}
.hero .hero-image .hero-card img{
  width: 120%;        /* la agranda */
  max-width: none;    /* ignora límites del contenedor */
  transform: translateX(6%); /* la corre un poquito a la derecha */
}

/* En mobile la volvemos a 100% para que no desborde */
@media (max-width: 991.98px){
  .hero .hero-image .hero-card img{
    width: 100%;
    transform: none;
  }
}

/* ===== INLINE <style> BLOCK #2 ===== */
/* ===== Scoped SOLO a #quienes ===== */
    #quienes .logo-panel{
      background:#fff; border-radius:18px; box-shadow:0 16px 40px rgba(16,24,40,.14);
      padding:28px; height:100%; display:flex; flex-direction:column; align-items:center; justify-content:center;
      position:relative; overflow:hidden; transform-style:preserve-3d; will-change:transform;
    }
    /* Anillo suave decorativo detrás */
    #quienes .logo-panel::before{
      content:""; position:absolute; inset:auto; width:520px; height:520px; right:-160px; bottom:-160px;
      background: radial-gradient(closest-side, rgba(11,94,215,.12), transparent 70%);
      filter: blur(2px); pointer-events:none; transform: translateZ(-1px);
    }
    /* Marca de agua ultralight del logo (muy sutil) */
    #quienes .logo-panel::after{
      content:""; position:absolute; left:-60px; top:-60px; width:280px; height:280px; opacity:.05;
      background:url('img/logo.png') center/contain no-repeat; pointer-events:none; transform: translateZ(-1px);
    }

    /* Caja del logo (GRANDE) */
    #quienes .logo-box{
      width:100%; max-width:480px; aspect-ratio:1/1;
      border-radius:18px; display:grid; place-items:center;
      background:#ffffff; box-shadow:inset 0 0 0 1px rgba(16,24,40,.06), 0 8px 24px rgba(16,24,40,.08);
      position:relative; overflow:hidden; animation: q-float 6s ease-in-out infinite;
    }
    /* Brillo diagonal muy sutil */
    #quienes .logo-box::after{
      content:""; position:absolute; inset:-40%;
      background: linear-gradient(55deg, transparent 40%, rgba(255,255,255,.18) 50%, transparent 60%);
      transform: translateX(-60%) rotate(0.001deg);
      animation: q-shine 7s linear infinite;
      pointer-events:none;
    }
    #quienes .logo-box img{
      width:88%; height:88%; object-fit:contain; display:block;
      transform: translateZ(20px);
    }
    #quienes .logo-caption{ margin:.95rem 0 0; text-align:center; color:var(--muted, #6c757d); font-size:.95rem; }

    /* Hover: un toque de escala, el tilt lo maneja JS */
    #quienes .logo-panel:hover .logo-box{ box-shadow:inset 0 0 0 1px rgba(16,24,40,.07), 0 12px 34px rgba(16,24,40,.16); }
    #quienes .logo-panel:hover .logo-box img{ transform: translateZ(22px) scale(1.02); }

    /* Keyframes */
    @keyframes q-float {
      0%, 100% { transform: translateY(0); }
      50% { transform: translateY(-10px); }
    }
    @keyframes q-shine {
      0%   { transform: translateX(-60%) rotate(0.001deg); }
      100% { transform: translateX(60%)  rotate(0.001deg); }
    }

    /* Resp. solo del panel/logo */
    @media (max-width: 991.98px){
      #quienes .logo-box{ max-width:400px; }
    }
    @media (max-width: 575.98px){
      #quienes .logo-box{ max-width:300px; }
    }

    /* Respeta accesibilidad: si el usuario prefiere menos movimiento */
    @media (prefers-reduced-motion: reduce){
      #quienes .logo-box{ animation: none; }
      #quienes .logo-box::after{ animation: none; opacity: .08; }
      #quienes .logo-panel, #quienes .logo-box img{ transition: none !important; }
    }

/* ===== INLINE <style> BLOCK #3 ===== */
/* ===== Carrusel proporcional (sin recortes/estirones) ===== */
    #trabajos .wrap{ position:relative; }
    #trabajos .rail{
      display:flex; align-items:center; gap:22px;
      overflow:auto; scroll-snap-type:x mandatory; scroll-padding:3rem;
      padding:8px 0 28px; -ms-overflow-style:none; scrollbar-width:none;
      mask-image: linear-gradient(to right, transparent 0, black 6%, black 94%, transparent 100%);
      -webkit-mask-image: linear-gradient(to right, transparent 0, black 6%, black 94%, transparent 100%);
    }
    #trabajos .rail::-webkit-scrollbar{ display:none; }

    /* Cada item usa alto fijo y ancho AUTO según la foto (lo calcula JS) */
    #trabajos .item{
      flex:0 0 auto; scroll-snap-align:center;
      height:min(64vh, 520px); /* ajustá este alto para “más grande/menos” */
      min-height:320px;
      background:#fff; border-radius:18px; overflow:hidden;
      box-shadow:0 18px 40px rgba(16,24,40,.18);
      position:relative; transition:transform .25s ease, box-shadow .25s ease;
      cursor:pointer; display:inline-flex; align-items:center; justify-content:center;
    }
    #trabajos .item:hover{ transform:translateY(-2px); box-shadow:0 22px 48px rgba(16,24,40,.22); }

    /* La imagen nunca se deforma ni se recorta */
    #trabajos .item img{
      height:100%; width:auto; display:block; object-fit:contain;
      user-select:none; -webkit-user-drag:none;
      background:#111; /* bordes laterales discretos en verticales */
    }

    /* Controles flotantes */
    #trabajos .controls{
      position:absolute; inset:0; pointer-events:none;
      display:flex; align-items:center; justify-content:space-between; padding:0 8px;
    }
    #trabajos .controls .btn-nav{
      pointer-events:auto; width:46px; height:46px; border-radius:999px; border:0;
      display:flex; align-items:center; justify-content:center;
      background:rgba(0,0,0,.35); color:#fff; font-size:22px; backdrop-filter:blur(2px);
    }

    /* Play/Pause */
    #trabajos .playbox{ position:absolute; right:10px; bottom:-14px; display:flex; gap:8px; }
    #trabajos .playbox .btn{ pointer-events:auto; }

    /* ===== Modal (Lightbox) ===== */
    #trabajos .lightbox{
      position:fixed; inset:0; background:rgba(0,0,0,.85);
      display:none; align-items:center; justify-content:center; z-index:1090;
    }
    #trabajos .lightbox.open{ display:flex; }
    #trabajos .lightbox-inner{
      position:relative; width:min(96vw,1280px); height:min(86vh,860px);
      display:flex; align-items:center; justify-content:center;
      background:#111; border-radius:14px; overflow:hidden; box-shadow:0 12px 36px rgba(0,0,0,.5);
    }
    #trabajos .lightbox img{ max-width:100%; max-height:100%; object-fit:contain; background:#111; }
    #trabajos .lb-btn{
      position:absolute; top:50%; transform:translateY(-50%);
      width:46px; height:46px; border-radius:999px; border:0;
      background:rgba(255,255,255,.14); color:#fff; font-size:22px;
    }
    #trabajos .lb-prev{ left:14px; }  #trabajos .lb-next{ right:14px; }
    #trabajos .lb-close{
      position:absolute; top:10px; right:10px; width:42px; height:42px; font-size:20px;
      border-radius:999px; border:0; background:rgba(255,255,255,.14); color:#fff;
    }
    #trabajos .lb-counter{
      position:absolute; left:14px; bottom:12px; color:#fff; opacity:.9;
      background:rgba(0,0,0,.35); padding:.25rem .6rem; border-radius:999px; font-size:.95rem;
    }

    /* Responsivo */
    @media (max-width: 991.98px){
      #trabajos .item{ height:420px; }
    }
    @media (max-width: 575.98px){
      #trabajos .item{ height:320px; }
      #trabajos .lb-btn{ width:42px; height:42px; font-size:20px; }
    }

/* ===== INLINE <style> BLOCK #4 ===== */
/* ===== Footer PRO (scopeado a .footer) ===== */
    .footer{
      position: relative; color:#e9eef6; overflow:hidden;
      background:
        radial-gradient(1200px 600px at 100% -10%, rgba(11,94,215,.25), transparent 55%),
        radial-gradient(900px 500px at -10% 110%, rgba(0,184,148,.18), transparent 60%),
        linear-gradient(180deg, #0b1220 0%, #0a1120 60%, #0a0f1c 100%);
      padding-top: 56px;
    }
    /* Textura sutil */
    .footer::before{
      content:""; position:absolute; inset:0;
      background-image: radial-gradient(rgba(255,255,255,.04) 1px, transparent 1px);
      background-size: 22px 22px; opacity:.25; pointer-events:none;
    }
    .footer .container{ position:relative; z-index:2; }

    /* Brand */
    .footer .brand{
      display:flex; align-items:center; gap:12px; margin-bottom:10px;
    }
    .footer .brand .logo{
      width:44px; height:44px; border-radius:12px; display:grid; place-items:center; overflow:hidden;
      background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
    }
    .footer .brand .logo img{ width:80%; height:80%; object-fit:contain; display:block; }
    .footer .brand .name{ font-weight:800; letter-spacing:.2px; font-size:1.2rem; color:#fff; }

    .footer .lead{ color:#cbd5e1; }
    .footer .muted{ color:#a9b3c2; }

    /* Links */
    .footer .footer-links{
      display:grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap:.4rem .75rem;
    }
    .footer .footer-links a{
      color:#e5ecf6; text-decoration:none; position:relative; display:inline-block; padding:.125rem 0;
      opacity:.88; transition: opacity .2s ease;
    }
    .footer .footer-links a::after{
      content:""; position:absolute; left:0; bottom:-2px; height:2px; width:0%;
      background: linear-gradient(90deg, #4ea8ff, #7dd3fc);
      transition: width .25s ease;
    }
    .footer .footer-links a:hover{ opacity:1; }
    .footer .footer-links a:hover::after{ width:100%; }

    /* Contacto */
    .footer .contact-list{ list-style:none; padding:0; margin:0; }
    .footer .contact-list li{ margin-bottom:.5rem; display:flex; align-items:center; gap:.5rem; }
    .footer .contact-list a{ color:#e5ecf6; text-decoration:none; opacity:.92; }
    .footer .contact-list a:hover{ opacity:1; text-decoration:underline; text-underline-offset:2px; }
    .footer .actions { display:flex; flex-wrap:wrap; gap:.5rem; margin-top:.75rem; }
    .footer .btn-ghost{
      border:1px solid rgba(255,255,255,.18); color:#e9eef6; background:transparent;
      padding:.4rem .7rem; border-radius:10px; font-size:.9rem;
      transition: background .2s ease, border-color .2s ease, transform .05s ease;
    }
    .footer .btn-ghost:hover{ background:rgba(255,255,255,.06); border-color:rgba(255,255,255,.3); }
    .footer .btn-ghost:active{ transform: translateY(1px); }

    /* Divider */
    .footer hr{ border-color: rgba(255,255,255,.12) !important; opacity:1; }

    /* Bottom bar */
    .footer .bottom{
      display:flex; flex-direction:column; gap:.75rem;
    }
    @media (min-width: 768px){
      .footer .bottom{ flex-direction:row; justify-content:space-between; align-items:center; }
    }
    .footer .bottom a{ color:#cbd5e1; text-decoration:none; opacity:.9; }
    .footer .bottom a:hover{ opacity:1; text-decoration:underline; text-underline-offset:2px; }

    /* Responsive tweaks */
    @media (max-width: 991.98px){
      .footer{ padding-top: 48px; }
      .footer .footer-links{ grid-template-columns: repeat(2,minmax(0,1fr)); }
    }
    @media (max-width: 575.98px){
      .footer .footer-links{ grid-template-columns: 1fr; }
    }

/* ===== INLINE <style> BLOCK #5 ===== */
:root{
    --wa: #25D366; --wa-dark: #128C7E; --wa-darker: #075E54;
    --dark-bg: #0b0f18; --darker-bg: #0a1324;
    --light-text: #ffffff; --muted-text: rgba(255,255,255,.7);
  }
  .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(0,0,0,.25);
    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,.18), 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(0,0,0,.35); }
  .wa-btn:hover::after{ opacity:1; }

  .wa-card{
    position:absolute; right:0; bottom:74px; width:min(360px, 92vw);
    background: var(--dark-bg); color: var(--light-text); 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: 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(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-text); 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: var(--wa-darker); 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:var(--light-text); 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); }

  /* Scrollbar */
  .wa-body::-webkit-scrollbar{ width:6px; } .wa-body::-webkit-scrollbar-track{ background: rgba(255,255,255,.05); border-radius:3px; }
  .wa-body::-webkit-scrollbar-thumb{ background: rgba(255,255,255,.2); border-radius:3px; } .wa-body::-webkit-scrollbar-thumb:hover{ background: rgba(255,255,255,.3); }

  /* Responsive */
  @media (max-width: 480px){
    .wa-float{ right:12px; bottom:12px; }
    .wa-card{ width: calc(100vw - 24px); right:0; }
  }

