/* MIXED CSS PACK */
/* Template: casasmodulosmodulex.com.ar/index.html */
/* Template mtime: 2025-10-14 19:20:09 */

/* 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.0/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 {
      --mx-bg: #ffffff;
      --mx-text: #111111;
      --mx-muted: #6b7280;
      --mx-accent: #e11d2d;
      --mx-accent-600: #c81e27;
      --mx-soft: #f6f7f9;
      --mx-border: #eaecef;
      --mx-gradient: linear-gradient(135deg, #e11d2d 0%, #b91c1c 100%);
      --mx-gradient-light: linear-gradient(135deg, rgba(225, 29, 45, 0.05) 0%, rgba(185, 28, 28, 0.05) 100%);
      --mx-shadow: 0 10px 30px rgba(17, 17, 17, 0.06);
      --mx-shadow-lg: 0 20px 60px rgba(17, 17, 17, 0.1);
      --mx-radius: 1.25rem;
      --mx-radius-lg: 2rem;
    }

    * {
      box-sizing: border-box;
    }

    html, body {
      background: var(--mx-bg);
      color: var(--mx-text);
      scroll-behavior: smooth;
      font-family: 'Inter', sans-serif;
      line-height: 1.6;
    }

    a {
      color: var(--mx-accent);
      text-decoration: none;
      transition: all 0.3s ease;
    }

    a:hover {
      color: var(--mx-accent-600);
    }

    .btn-accent {
      background: var(--mx-gradient);
      color: #fff;
      border: 0;
      padding: 0.8rem 1.8rem;
      font-weight: 600;
      border-radius: 12px;
      transition: all 0.3s ease;
      box-shadow: 0 4px 12px rgba(225, 29, 45, 0.2);
    }

    .btn-accent:hover {
      background: var(--mx-accent-600);
      color: #fff;
      transform: translateY(-2px);
      box-shadow: 0 8px 20px rgba(225, 29, 45, 0.3);
    }

    .btn-outline-dark {
      border: 2px solid #111;
      color: #111;
      font-weight: 600;
      padding: 0.8rem 1.8rem;
      border-radius: 12px;
      transition: all 0.3s ease;
    }

    .btn-outline-dark:hover {
      background: #111;
      color: #fff;
      transform: translateY(-2px);
    }

    .text-muted {
      color: var(--mx-muted) !important;
    }

    .badge-accent {
      background: var(--mx-accent);
    }

    .section {
      padding: 100px 0;
    }

    .section-title {
      font-weight: 800;
      letter-spacing: -0.02em;
      margin-bottom: 1rem;
      line-height: 1.2;
    }

    .section-sub {
      color: var(--mx-muted);
      max-width: 720px;
      font-size: 1.1rem;
    }

    .shadow-soft {
      box-shadow: var(--mx-shadow);
    }

    .shadow-lg-soft {
      box-shadow: var(--mx-shadow-lg);
    }

    .card-border {
      border: 1px solid var(--mx-border);
    }

    .rounded-2xl {
      border-radius: var(--mx-radius);
    }

    .rounded-3xl {
      border-radius: var(--mx-radius-lg);
    }

    /* Navbar */
    .navbar {
      background: rgba(255, 255, 255, 0.95);
      backdrop-filter: blur(10px);
      border-bottom: 1px solid rgba(234, 236, 239, 0.8);
      padding: 1rem 0;
      transition: all 0.3s ease;
    }

    .navbar.scrolled {
      padding: 0.7rem 0;
      box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    }

    .navbar .navbar-brand {
      font-weight: 800;
      letter-spacing: -0.02em;
      font-size: 1.5rem;
    }

    .navbar .nav-link {
      font-weight: 600;
      padding: 0.5rem 1rem;
      border-radius: 8px;
      transition: all 0.3s ease;
    }

    .navbar .nav-link:hover {
      color: var(--mx-accent);
      background: var(--mx-gradient-light);
    }

    /* Hero */
    .hero {
      padding: 150px 0 80px;
      background: linear-gradient(135deg, #f6f7f9 0%, #ffffff 100%);
      position: relative;
      overflow: hidden;
    }

    .hero::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(225, 29, 45, 0.03)"/></svg>');
      background-size: cover;
    }

    .hero .bullets i {
      width: 28px;
      text-align: center;
    }

    .hero-cta .btn {
      padding: 0.8rem 1.8rem;
    }

    /* Servicios grid */
    .feature {
      height: 100%;
      border: 1px solid var(--mx-border);
      background: #fff;
      transition: all 0.3s ease;
      border-radius: var(--mx-radius);
      padding: 2rem;
    }

    .feature:hover {
      transform: translateY(-5px);
      box-shadow: var(--mx-shadow-lg);
      border-color: var(--mx-accent);
    }

    .feature .icon {
      width: 60px;
      height: 60px;
      border-radius: 16px;
      display: grid;
      place-items: center;
      background: var(--mx-gradient-light);
      color: var(--mx-accent);
      margin-bottom: 1.5rem;
      font-size: 1.5rem;
    }

    /* Por qué elegirnos */
    .tick i {
      color: var(--mx-accent);
      background: var(--mx-gradient-light);
      width: 40px;
      height: 40px;
      border-radius: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }

    /* Ticker / Trabajos */
    .ticker-wrap {
      position: relative;
    }

    .ticker-viewport {
      overflow: hidden;
      border: 1px solid var(--mx-border);
      background: #fff;
      border-radius: 20px;
      padding: 10px;
    }

    .ticker-track {
      display: flex;
      gap: 20px;
      align-items: center;
      width: max-content;
      animation: mx-marquee 28s linear infinite;
    }

    .ticker-track.paused {
      animation-play-state: paused;
    }

    @keyframes mx-marquee {
      0% {
        transform: translateX(0);
      }
      100% {
        transform: translateX(-50%);
      }
    }

    .work {
      flex: 0 0 auto;
      width: 400px;
      height: 400px;
      border-radius: 16px;
      overflow: hidden;
      border: 1px solid var(--mx-border);
      background: #f3f4f6;
      transition: all 0.3s ease;
      position: relative;
    }

    .work:hover {
      transform: scale(1.03);
      box-shadow: var(--mx-shadow-lg);
    }

    .work img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      transition: transform 0.5s ease;
    }

    .work:hover img {
      transform: scale(1.1);
    }

    /* Responsive sizes */
    @media (max-width: 992px) {
      .work {
        width: 320px;
        height: 320px;
      }
      .hero {
        padding: 120px 0 60px;
      }
    }

    @media (max-width: 768px) {
      .section {
        padding: 80px 0;
      }
      .hero {
        padding: 100px 0 40px;
      }
      .hero::before {
        width: 100%;
        opacity: 0.2;
      }
    }

    @media (max-width: 576px) {
      .work {
        width: 280px;
        height: 280px;
      }
      .ticker-track {
        gap: 15px;
      }
    }

    /* Ticker controls */
    .ticker-controls {
      position: absolute;
      inset: 0;
      pointer-events: none;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 15px;
    }

    .ticker-btn {
      pointer-events: auto;
      border: 1px solid var(--mx-border);
      background: #fff;
      width: 50px;
      height: 50px;
      border-radius: 50%;
      display: grid;
      place-items: center;
      transition: all 0.3s ease;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .ticker-btn:hover {
      border-color: var(--mx-accent);
      color: var(--mx-accent);
      transform: scale(1.1);
    }

    /* FAQs */
    .faq .accordion-button {
      font-weight: 600;
      padding: 1.25rem 1.5rem;
      border: 1px solid var(--mx-border);
      margin-bottom: 10px;
      border-radius: 12px !important;
      transition: all 0.3s ease;
    }

    .faq .accordion-button:not(.collapsed) {
      color: var(--mx-accent);
      background: var(--mx-gradient-light);
      border-color: var(--mx-accent);
      box-shadow: none;
    }

    .faq .accordion-button:focus {
      box-shadow: 0 0 0 0.25rem rgba(225, 29, 45, 0.25);
      border-color: var(--mx-accent);
    }

    .faq .accordion-body {
      padding: 1.5rem;
      border: 1px solid var(--mx-border);
      border-top: none;
      border-radius: 0 0 12px 12px;
    }

    /* Contacto */
    .contact-card {
      border: 1px solid var(--mx-border);
      background: #fff;
      border-radius: var(--mx-radius);
      padding: 2.5rem;
      height: 100%;
    }

    .form-control {
      padding: 0.75rem 1rem;
      border: 1px solid var(--mx-border);
      border-radius: 10px;
      transition: all 0.3s ease;
    }

    .form-control:focus {
      border-color: var(--mx-accent);
      box-shadow: 0 0 0 0.25rem rgba(225, 29, 45, 0.1);
    }

    .honeypot {
      position: absolute;
      left: -50000px;
      width: 1px;
      height: 1px;
      overflow: hidden;
    }

    /* Footer */
    footer {
      background: #0f1115;
      color: #d1d5db;
    }

    footer a {
      color: #d1d5db;
      transition: all 0.3s ease;
    }

    footer a:hover {
      color: #fff;
      transform: translateX(5px);
    }

    .footer-top {
      padding: 60px 0;
      border-top: 1px solid rgba(255, 255, 255, 0.06);
      border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    /* WhatsApp floating */
    .wa-float {
      position: fixed;
      right: 20px;
      bottom: 20px;
      z-index: 90;
      display: flex;
      gap: 10px;
      align-items: center;
    }

    .wa-tip {
      background: #fff;
      border: 1px solid var(--mx-border);
      padding: 0.7rem 1rem;
      border-radius: 50px;
      box-shadow: 0 10px 18px rgba(0, 0, 0, 0.1);
      font-weight: 600;
      color: #111;
    }

    .wa-btn {
      background: #25D366;
      border: none;
      border-radius: 50%;
      width: 60px;
      height: 60px;
      display: grid;
      place-items: center;
      color: #fff;
      box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
      transition: all 0.3s ease;
    }

    .wa-btn:hover {
      transform: scale(1.1);
      filter: brightness(1.05);
      box-shadow: 0 12px 25px rgba(37, 211, 102, 0.4);
    }

    /* 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;
    }

    .delay-1 {
      animation-delay: 0.1s;
    }

    .delay-2 {
      animation-delay: 0.2s;
    }

    .delay-3 {
      animation-delay: 0.3s;
    }

    .delay-4 {
      animation-delay: 0.4s;
    }

    /* Progress bar */
    .progress-container {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 4px;
      background: transparent;
      z-index: 1000;
    }

    .progress-bar {
      height: 4px;
      background: var(--mx-gradient);
      width: 0%;
      transition: width 0.3s ease;
    }

    /* Back to top */
    .back-to-top {
      position: fixed;
      bottom: 90px;
      right: 20px;
      width: 50px;
      height: 50px;
      border-radius: 50%;
      background: #111;
      color: #fff;
      display: grid;
      place-items: center;
      z-index: 89;
      opacity: 0;
      visibility: hidden;
      transition: all 0.3s ease;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    .back-to-top.show {
      opacity: 1;
      visibility: visible;
    }

    .back-to-top:hover {
      background: var(--mx-accent);
      transform: translateY(-3px);
    }

/* ===== INLINE <style> BLOCK #2 ===== */
:root{
    --navH: 64px;   /* alto aprox de tu navbar fixed-top */
    --accent:#d61f1f;
  }

  /* separa el hero de la navbar fija y evita que quede tapado */
  #inicio{ padding-top: var(--navH); scroll-margin-top: var(--navH); }

  /* contenedor sin recortes */
  #inicio .hero-wrap{
    width:100%;
    display:block;
    overflow:visible !important;   /* <- evita cortes heredados */
    background:#fff;
  }

  /* frame responsivo: no fija altura dura; se adapta y nunca recorta */
  #inicio .hero-frame{
    width:100%;
    display:grid;
    place-items:center;
    background:#fff;
  }

  /* IMAGEN: entra completa, sin recortes ni deformación */
  #inicio .hero-media{
    display:block;
    max-width:100%;
    width:100%;
    height:auto;              /* mantiene proporción */
    object-fit:contain !important;
    object-position:center;
  }

  /* Opcional: asegura una altura mínima visible en phone
     sin recortar (la imagen sigue siendo contain) */
  @media (max-width: 576px){
    #inicio .hero-frame{
      min-height: 180px;      /* ajustá si querés más alto */
    }
  }

  /* botones/acentos como venías usando */
  .btn-accent{ background:var(--accent); border-color:var(--accent); color:#fff; }
  .btn-accent:hover{ filter:brightness(.92); color:#fff }
  .bullets i{ color:var(--accent) }

/* ===== INLINE <style> BLOCK #3 ===== */
#trabajos .section-title{margin-bottom:.25rem}
      #trabajos .section-sub{max-width:820px;color:#6b7280}
  
      /* -------- Ticker -------- */
      #trabajos .ticker-wrap{position:relative}
      #trabajos .ticker-viewport{
        overflow:hidden;
        mask-image:linear-gradient(to right, transparent 0, #000 var(--edge), #000 calc(100% - var(--edge)), transparent 100%);
        -webkit-mask-image:linear-gradient(to right, transparent 0, #000 var(--edge), #000 calc(100% - var(--edge)), transparent 100%);
      }
      #trabajos .ticker-track{
        display:flex; align-items:center; gap:var(--gap);
        will-change:transform;
        animation:tickerScroll var(--speed) linear infinite;
      }
      @keyframes tickerScroll{
        from{ transform:translateX(0) }
        to  { transform:translateX(calc(-50% - var(--gap)/2)) }
      }
      #trabajos .ticker-wrap:hover .ticker-track,
      #trabajos .ticker-wrap[data-paused="1"] .ticker-track{ animation-play-state:paused }
  
      /* -------- Ítems: altura fija, ANCHO PROPORCIONAL (JS setea --w) -------- */
      #trabajos .work{
        flex:0 0 auto; display:grid; place-items:center;
        height:var(--h-mob);
        width:var(--w-min);               /* fallback hasta que JS calcule */
        width:var(--w, var(--w-min));     /* JS escribe --w px en línea */
        background:#fff; border:1px solid rgba(0,0,0,.06);
        border-radius:18px; box-shadow:0 12px 28px rgba(0,0,0,.08);
        overflow:hidden;
      }
      #trabajos .work img{
        width:100%; height:100%;
        object-fit:contain; object-position:center; display:block;
      }
  
      /* -------- Controles: laterales, fuera del centro -------- */
      #trabajos .ticker-controls{
        position:absolute; inset:0;
        pointer-events:none; z-index:3;   /* capa no capta eventos, sólo los botones */
      }
      #trabajos .ticker-btn{
        position:absolute; top:50%; transform:translateY(-50%);
        pointer-events:auto;
        width:46px; height:46px; border-radius:14px;
        border:1px solid #e5e7eb; background:#fff;
        box-shadow:0 10px 24px rgba(0,0,0,.12); cursor:pointer;
        transition:opacity .2s ease, transform .12s ease;
        opacity:.9;
      }
      #trabajos .ticker-btn:hover{ opacity:1 }
      #trabajos .ticker-btn:active{ transform:translateY(-50%) scale(.98) }
      #tprev{ left:10px; }
      #tnext{ right:10px; }
      @media (max-width:576px){
        #tprev{ left:6px }
        #tnext{ right:6px }
      }
  
      /* -------- Lightbox -------- */
      #trabajos .lb{ position:fixed; inset:0; background:rgba(0,0,0,.86); display:none; z-index:1055 }
      #trabajos .lb.open{ display:grid; place-items:center }
      #trabajos .lb-inner{ position:relative; max-width:min(96vw,1200px); width:100%; height:min(88vh,820px); display:grid; place-items:center }
      #trabajos .lb-img{ max-width:100%; max-height:100%; object-fit:contain; border-radius:16px; box-shadow:0 20px 50px rgba(0,0,0,.45) }
      #trabajos .lb-close{
        position:absolute; top:10px; right:10px; width:48px; height:48px; border-radius:12px;
        border:1px solid rgba(255,255,255,.25); background:rgba(17,17,17,.6); color:#fff; backdrop-filter:blur(6px)
      }
      #trabajos .lb-nav{ position:absolute; inset:0; display:flex; align-items:center; justify-content:space-between; pointer-events:none }
      #trabajos .lb-btn{
        pointer-events:auto; width:54px; height:54px; border-radius:12px;
        border:1px solid rgba(255,255,255,.25); background:rgba(17,17,17,.6); color:#fff; backdrop-filter:blur(6px); cursor:pointer
      }
      #trabajos .lb-counter{
        position:absolute; bottom:12px; left:50%; transform:translateX(-50%);
        color:#fff; font-size:.95rem; background:rgba(17,17,17,.55); padding:.28rem .7rem; border-radius:999px; border:1px solid rgba(255,255,255,.25);
        backdrop-filter:blur(6px)
      }
  
      /* -------- Breakpoints: alturas mayores -------- */
      @media (min-width: 576px){
        #trabajos .work{ height:var(--h-tab) }
      }
      @media (min-width: 992px){
        #trabajos .work{ height:var(--h-desk) }
        #trabajos{ --edge:64px }
      }

/* ===== INLINE <style> BLOCK #4 ===== */
/* ---------- Layout / Cards ---------- */
      #contacto .wrap{display:grid; gap:28px; grid-template-columns: 1fr; align-items:stretch}
      @media (min-width: 992px){
        #contacto .wrap{grid-template-columns: 1fr 1fr}
      }
      #contacto .card{
        background:var(--card); border:1px solid var(--border); border-radius:20px;
        box-shadow:0 16px 40px rgba(0,0,0,.06)
      }
      #contacto .pad{ padding:22px; }
      @media (min-width: 768px){ #contacto .pad{ padding:32px } }
  
      /* ---------- Título / Meta ---------- */
      #contacto .section-title{margin-bottom:.25rem}
      #contacto .muted{color:#6b7280}
  
      /* ---------- Floating labels (Bootstrap-like, más compactas) ---------- */
      #contacto .form-floating>.form-control,
      #contacto .form-floating>textarea{
        padding: 1.1rem .9rem .5rem .9rem;
      }
      #contacto .form-floating>label{
        padding: .95rem .9rem; color:#6b7280;
      }
      #contacto .form-control, #contacto textarea{
        border-radius:12px; border:1px solid var(--border);
      }
      #contacto .form-control:focus, #contacto textarea:focus{
        border-color:var(--accent); box-shadow:0 0 0 .2rem rgba(214,31,31,.08);
      }
  
      /* ---------- Botones ---------- */
      #contacto .btn-accent{
        background:var(--accent); border:1px solid var(--accent); color:#fff;
        border-radius:12px; padding:.8rem 1rem;
      }
      #contacto .btn-accent:hover{ filter:brightness(.93); color:#fff }
      #contacto .btn-outline{
        border:1px solid var(--border); background:#fff; border-radius:12px; padding:.8rem 1rem;
      }
  
      /* ---------- Info boxes ---------- */
      #contacto .info-item{display:flex; gap:12px; align-items:flex-start}
      #contacto .info-badge{
        width:38px; height:38px; border-radius:10px; display:grid; place-items:center;
        background:#fff; border:1px solid var(--border)
      }
      #contacto .grid-why{display:grid; gap:18px; grid-template-columns:1fr}
      @media (min-width: 576px){ #contacto .grid-why{grid-template-columns:1fr 1fr} }
  
      /* ---------- Miscelánea ---------- */
      #contacto .shadow-soft{box-shadow:0 10px 30px rgba(0,0,0,.07)}
      #contacto .dashed{border:1px dashed var(--border)}
      #contacto .honeypot{position:absolute; left:-5000px; width:1px; height:1px; overflow:hidden}
      #contacto .char-count{font-size:.85rem; color:#6b7280}
      #contacto .small{color:#6b7280}
  
      /* ---------- Alerts bonitas ---------- */
      #contacto .alert{border-radius:12px; border:1px solid transparent}
      #contacto .alert-success{background:#ecfdf5; border-color:#10b98133; color:#065f46}
      #contacto .alert-danger{background:#fff1f2; border-color:#ef444433; color:#991b1b}

