/* ============ TOKENS ============ */
  :root{
    --bg:#000000;
    --fg:#ffffff;
    --navy:#000020;
    --blue:#4a5fd6;
    --grey:#898989;
    --line: rgba(255,255,255,0.10);
    --line-soft: rgba(255,255,255,0.06);
    --ease: cubic-bezier(.19,1,.22,1);
  }

  *{margin:0;padding:0;box-sizing:border-box;}
  html{scroll-behavior:smooth; -webkit-overflow-scrolling:touch; overflow-x:hidden; width:100%;}
  body{-webkit-overflow-scrolling:touch;}
  body{
    background:var(--bg);
    color:var(--fg);
    font-family:'Inter', sans-serif;
    font-weight:300;
    overflow-x:hidden;
    width:100%;
    -webkit-font-smoothing:antialiased;
  }
  ::selection{background:var(--fg); color:var(--bg);}
  .hp{position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden;}

  h1,h2,h3,h4,.display{
    font-family:'Playfair Display', serif;
    font-weight:700;
    letter-spacing:0em;
    line-height:1.04;
  }
  h1{font-weight:800;}

  a{color:inherit; text-decoration:none;}
  img{display:block; max-width:100%;}
  button{font-family:inherit; cursor:pointer; border:none; background:none; color:inherit;}

  .wrap{
    max-width:1240px;
    margin:0 auto;
    padding:0 40px;
  }

  :focus-visible{
    outline:2px solid var(--fg);
    outline-offset:4px;
  }

  @media (prefers-reduced-motion: reduce){
    *{animation-duration:0.01ms !important; animation-iteration-count:1 !important; transition-duration:0.01ms !important; scroll-behavior:auto !important;}
  }

  /* ============ IMAGE PLACEHOLDERS ============ */
  .img-slot{
    position:relative;
    overflow:hidden;
    background:
      linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0)),
      var(--navy);
    border:1px dashed rgba(255,255,255,0.22);
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
  }
  .img-slot::before{
    content:"";
    position:absolute;
    inset:0;
    background-image:
      linear-gradient(45deg, rgba(255,255,255,0.035) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.035) 50%, rgba(255,255,255,0.035) 75%, transparent 75%, transparent);
    background-size:14px 14px;
    opacity:.5;
  }
  .img-slot-label{
    position:relative;
    z-index:1;
    font-size:11px;
    letter-spacing:.08em;
    color:var(--grey);
    padding:6px 12px;
    border:1px solid rgba(255,255,255,0.18);
    border-radius:100px;
    background:rgba(0,0,0,0.4);
    backdrop-filter:blur(6px);
  }

  /* ============ INTERACTIVE BACKGROUND ============ */
  .bg-field{
    position:fixed;
    inset:0;
    z-index:0;
    pointer-events:none;
    overflow:hidden;
  }
  .blob{
    position:absolute;
    border-radius:50%;
    filter:blur(60px);
    will-change:transform;
  }
  .blob-a{
    width:620px; height:620px;
    top:-10%; left:8%;
    background:radial-gradient(circle, rgba(255,255,255,0.10), transparent 70%);
  }
  .blob-b{
    width:520px; height:520px;
    top:30%; right:2%;
    background:radial-gradient(circle, rgba(137,137,137,0.16), transparent 70%);
  }
  .blob-c{
    width:460px; height:460px;
    bottom:-8%; left:35%;
    background:radial-gradient(circle, rgba(255,255,255,0.06), transparent 70%);
  }
  /* On phones/tablets, position:fixed + blur layers are a common cause of
     scroll jank, so the decorative background is switched to a much cheaper
     static gradient instead of the blurred blobs. */
  @media (pointer: coarse), (max-width: 760px){
    .bg-field{ display:none; }
    body{
      background:
        radial-gradient(circle at 15% -5%, rgba(255,255,255,0.05), transparent 55%),
        radial-gradient(circle at 90% 25%, rgba(137,137,137,0.07), transparent 55%),
        var(--bg);
    }
  }
  .grain-lines{
    position:absolute; inset:0;
    background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 100% 3px;
    mix-blend-mode:overlay;
    opacity:.4;
  }

  section{position:relative; z-index:1;}

  /* ============ HEADER ============ */
  header{
    position:fixed;
    top:0; left:0; right:0;
    z-index:50;
    padding:22px 0;
    background:linear-gradient(to bottom, rgba(0,0,0,0.85), transparent);
  }
  header .wrap{
    display:flex;
    align-items:center;
    justify-content:space-between;
  }
  .logo-slot{
    height:46px;
    display:flex;
    align-items:center;
  }
  .logo-slot img{
    height:100%;
    width:auto;
    display:block;
    object-fit:contain;
  }
  .logo-slot-header{height:56px;}
  .logo-slot-wrap{
    background:none;
    border:none;
    padding:0;
    margin:0;
    cursor:zoom-in;
    transition:opacity .3s var(--ease);
  }
  .logo-slot-wrap:hover{
    opacity:.75;
  }
  nav{
    display:flex;
    align-items:center;
    gap:36px;
  }
  nav a{
    font-size:14px;
    color:var(--grey);
    transition:color .3s var(--ease);
    position:relative;
  }
  nav a::after{
    content:"";
    position:absolute;
    left:0; bottom:-6px;
    width:100%;
    height:1px;
    background:var(--fg);
    transform:scaleX(0);
    transform-origin:right;
    transition:transform .4s var(--ease);
  }
  nav a:hover{color:var(--fg);}
  nav a:hover::after{
    transform:scaleX(1);
    transform-origin:left;
  }
  .nav-links{display:flex; gap:32px;}
  .header-cta{
    font-size:13px;
    padding:11px 22px;
    border:1px solid rgba(255,255,255,0.35);
    border-radius:100px;
    transition:all .35s var(--ease);
    white-space:nowrap;
  }
  .header-cta:hover{
    background:var(--fg);
    color:var(--bg);
    border-color:var(--fg);
  }
  .nav-toggle{
    display:none;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    gap:5px;
    width:40px;
    height:40px;
    border:1px solid rgba(255,255,255,0.3);
    border-radius:50%;
    background:none;
    cursor:pointer;
    flex-shrink:0;
  }
  .nav-toggle span{
    display:block;
    width:16px;
    height:1px;
    background:var(--fg);
    transition:transform .3s var(--ease), opacity .3s var(--ease);
  }
  .nav-toggle.is-open span:nth-child(1){transform:translateY(6px) rotate(45deg);}
  .nav-toggle.is-open span:nth-child(2){opacity:0;}
  .nav-toggle.is-open span:nth-child(3){transform:translateY(-6px) rotate(-45deg);}
  .nav-cta-mobile{display:none;}

  /* ============ HERO ============ */
  .hero{
    min-height:100svh;
    display:flex;
    flex-direction:column;
    justify-content:center;
    padding:150px 0 70px;
    text-align:left;
    position:relative;
    overflow:hidden;
  }
  .hero-bg{
    position:absolute;
    inset:0;
    z-index:0;
    overflow:hidden;
  }
  .hero-bg img{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:75% 30%;
    display:block;
    animation:heroSlowZoom 26s ease-in-out infinite alternate;
    filter:brightness(0.9);
  }
  .hero-bg::after{
    content:"";
    position:absolute;
    inset:0;
    background:
      linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.55) 45%, rgba(0,0,0,0.35) 70%, rgba(0,0,0,0.55) 100%),
      linear-gradient(to right, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.05) 45%);
  }
  @keyframes heroSlowZoom{
    from{ transform:scale(1); }
    to{ transform:scale(1.12); }
  }
  .hero .wrap{
    position:relative;
    z-index:2;
    max-width:640px;
    margin:0 auto 0 0;
  }
  .badge{
    display:inline-flex;
    align-items:center;
    gap:8px;
    font-size:12px;
    letter-spacing:.10em;
    color:var(--grey);
    padding:9px 18px;
    border:1px solid var(--line);
    border-radius:100px;
    margin-bottom:34px;
  }
  .badge::before{
    content:"";
    width:6px;height:6px;border-radius:50%;
    background:var(--fg);
  }
  .hero h1{
    font-size:clamp(56px, 8.4vw, 118px);
    overflow:hidden;
    letter-spacing:-0.005em;
    margin-bottom:32px;
  }
  .hero h1 .line{
    display:block;
    overflow:hidden;
  }
  .hero h1 .line span{
    display:block;
    /* Visible por defecto: si el JS no carga, el título igual se ve.
       El JS (script.js) lo oculta con gsap.set() justo antes de animarlo. */
  }
  .hero h1 em{
    font-style:normal;
    color:var(--blue);
  }
  .hero p.lead{
    font-size:17px;
    line-height:1.7;
    color:var(--fg);
    font-weight:300;
    max-width:62ch;
    margin-bottom:40px;
    text-align:left;
  }
  .hero-actions{
    display:flex;
    gap:16px;
    flex-wrap:wrap;
    justify-content:flex-start;
  }
  .btn{
    display:inline-flex;
    align-items:center;
    gap:10px;
    padding:16px 30px;
    font-size:14px;
    border-radius:100px;
    transition:transform .45s var(--ease), background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease), box-shadow .45s var(--ease);
  }
  .btn .arrow{
    transition:transform .4s var(--ease);
  }
  .btn:hover .arrow{
    transform:translateX(4px);
  }
  .btn-primary{
    background:var(--fg);
    color:var(--bg);
  }
  .btn-primary:hover{
    transform:translateY(-4px);
    box-shadow:0 14px 28px rgba(255,255,255,0.16);
  }
  .btn-secondary{
    border:1px solid rgba(255,255,255,0.3);
    color:var(--fg);
  }
  .btn-secondary:hover{
    border-color:var(--fg);
    transform:translateY(-4px);
    box-shadow:0 14px 28px rgba(0,0,0,0.45);
  }

  /* metrics row */
  .metrics{
    margin-top:80px;
    display:grid;
    grid-template-columns:repeat(4, 1fr);
    border-top:1px solid var(--line);
    max-width:100%;
  }
  .rates-disclaimer{
    margin-top:16px;
    font-size:11px;
    color:var(--grey);
    max-width:60ch;
  }
  .metric{
    padding:28px 26px 0;
    border-right:1px solid var(--line);
  }
  .metric:last-child{border-right:none;}
  .metric .num{
    font-family:'Playfair Display', serif;
    font-size:clamp(28px,3vw,40px);
    font-weight:700;
  }
  .metric .lbl{
    margin-top:8px;
    font-size:13px;
    color:var(--fg);
    line-height:1.4;
    max-width:22ch;
  }

  /* ============ SECTION HEADINGS ============ */
  .section-pad{padding:130px 0;}
  .section-head{
    max-width:640px;
    margin-bottom:64px;
  }
  .section-head .kicker{
    font-size:12px;
    color:var(--grey);
    letter-spacing:.14em;
    text-transform:uppercase;
    margin-bottom:20px;
    display:inline-flex;
    align-items:center;
    gap:10px;
  }
  .section-head .kicker::before{
    content:"";
    width:22px; height:1px;
    background:var(--grey);
    display:inline-block;
  }
  .section-head h2{
    font-size:clamp(34px,4.4vw,56px);
  }

  /* ============ SERVICIOS ============ */
  .servicios{
    border-top:1px solid var(--line);
  }
  .servicios-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
  }
  .servicios-col{
    padding:70px 56px;
  }
  .servicios-col:first-child{
    border-right:1px solid var(--line);
  }
  .servicios-col-head{
    display:flex;
    align-items:center;
    gap:14px;
    margin-bottom:44px;
  }
  .servicios-col-head h3{
    font-size:28px;
  }
  .servicios-col-head span{
    font-size:12px;
    color:var(--grey);
  }
  .col-logo{
    background:none;
    border:none;
    padding:0;
    margin:0;
    height:44px;
    display:flex;
    align-items:center;
    cursor:zoom-in;
    transition:opacity .3s var(--ease);
  }
  .col-logo:hover{
    opacity:.75;
  }
  .col-logo img{
    height:100%;
    width:auto;
    display:block;
    object-fit:contain;
  }
  .service-item{
    padding:26px 0;
    border-top:1px solid var(--line-soft);
    /* Visible por defecto: el JS (script.js) lo oculta con gsap.set()
       justo antes de animarlo, solo si GSAP carga correctamente. */
    transition:padding-left .4s var(--ease), border-color .4s var(--ease);
  }
  .service-item:hover{
    padding-left:10px;
    border-color:rgba(255,255,255,0.28);
  }
  .service-item:last-child{padding-bottom:0;}
  .service-item h4{
    font-size:16px;
    font-weight:500;
    margin-bottom:8px;
    font-family:'Inter', sans-serif;
    letter-spacing:0;
    transition:color .4s var(--ease);
  }
  .service-item p{
    font-size:14px;
    line-height:1.6;
    color:var(--fg);
  }
  .col-note{
    margin-top:30px;
    font-size:15px;
    line-height:1.6;
    color:var(--fg);
    max-width:34ch;
  }
  .col-cta{
    margin-top:22px;
    align-self:flex-start;
  }
  .servicios-col{
    display:flex;
    flex-direction:column;
  }

  /* ============ PROYECTOS ============ */
  .proyectos{
    border-top:1px solid var(--line);
    text-align:center;
  }
  .proyectos .section-head{
    margin-left:auto;
    margin-right:auto;
    text-align:center;
  }
  .proyectos-strip{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:34px 30px;
  }
  .proyecto-item{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:16px;
    width:170px;
    /* Visible por defecto: el JS lo oculta con gsap.set() antes de animarlo. */
  }
  .proyecto-thumb{
    width:170px;
    height:170px;
    border-radius:14px;
    overflow:hidden;
    position:relative;
    background:none;
    border:1px solid var(--line);
    padding:0;
    cursor:zoom-in;
    transition:border-color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
  }
  .thumb-badge{
    position:absolute;
    top:10px;
    left:10px;
    z-index:2;
    font-size:10px;
    letter-spacing:.02em;
    color:var(--fg);
    background:rgba(0,0,0,0.6);
    border:1px solid rgba(255,255,255,0.3);
    border-radius:100px;
    padding:4px 9px;
    pointer-events:none;
  }
  .proyecto-thumb-img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    filter:brightness(1.16) saturate(1.08) contrast(1.02);
    transition:transform .6s var(--ease), filter .4s var(--ease);
  }
  .proyecto-thumb:hover{
    border-color:rgba(255,255,255,0.55);
    transform:translateY(-4px);
    box-shadow:0 14px 30px rgba(0,0,0,0.45);
  }
  .proyecto-thumb:hover .proyecto-thumb-img{
    transform:scale(1.08);
    filter:brightness(1.24) saturate(1.12) contrast(1.03);
  }
  .proyecto-thumb-img--contain{
    object-fit:contain;
    background:#0a0a0a;
  }
  .proyecto-thumb:hover .proyecto-thumb-img--contain{
    transform:scale(1.04);
  }
  .proyecto-thumb-gallery{
    position:relative;
  }
  .proyecto-thumb-gallery .gallery-slide{
    position:absolute;
    inset:0;
    opacity:0;
    z-index:0;
    transition:opacity 1.1s ease;
  }
  .proyecto-thumb-gallery .gallery-slide.is-active{
    opacity:1;
    z-index:1;
  }
  .proyecto-name{
    font-size:14px;
    font-weight:500;
    font-family:'Playfair Display', serif;
    color:var(--fg);
    text-align:center;
    max-width:20ch;
  }

  /* ============ EJEMPLOS (Progetti) ============ */
  .ejemplos-block{
    margin:18px 0 22px;
    padding-top:18px;
    border-top:1px solid var(--line-soft, var(--line));
    display:flex;
    align-items:center;
    gap:24px;
  }
  .ejemplos-thumb{
    flex:0 0 auto;
    width:170px;
  }
  .ejemplos-text{
    flex:1;
    min-width:0;
  }
  .ejemplos-text .col-note{
    margin-bottom:14px;
  }
  @media (max-width:640px){
    .ejemplos-block{
      flex-direction:column;
      align-items:flex-start;
    }
    .ejemplos-thumb{ align-self:center; }
  }

  /* ============ CONTACTO ============ */
  .contacto{
    border-top:1px solid var(--line);
  }
  .contacto-grid{
    display:grid;
    grid-template-columns:0.9fr 1.1fr;
    gap:90px;
  }
  .asesora-photo{
    width:120px; height:120px;
    border-radius:50%;
    margin-bottom:26px;
    overflow:hidden;
    padding:0;
    border:none;
    background:none;
    cursor:zoom-in;
    display:block;
    transition:transform .35s var(--ease), box-shadow .35s var(--ease);
  }
  .asesora-photo:hover{
    transform:scale(1.04);
    box-shadow:0 10px 26px rgba(0,0,0,0.4);
  }
  .asesora-photo img{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center 15%;
    display:block;
  }
  .contacto-left h2{
    font-size:clamp(28px,3.4vw,38px);
    margin-bottom:30px;
    max-width:14ch;
  }
  .asesora-quote{
    font-size:15px;
    line-height:1.75;
    color:var(--fg);
    max-width:44ch;
    margin-bottom:36px;
  }
  .asesora-quote strong{color:var(--fg); font-weight:500;}
  .value-points{
    display:flex;
    flex-direction:column;
    gap:16px;
  }
  .value-points li{
    display:flex;
    align-items:center;
    gap:14px;
    font-size:14px;
    color:var(--fg);
  }
  .check{
    width:22px; height:22px;
    border-radius:50%;
    border:1px solid rgba(255,255,255,0.3);
    display:flex; align-items:center; justify-content:center;
    flex-shrink:0;
  }
  .check svg{width:11px; height:11px;}

  .form-card{
    background:var(--navy);
    border:1px solid var(--line);
    border-radius:16px;
    padding:44px;
  }
  .form-row{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:18px;
  }
  .field{
    margin-bottom:20px;
  }
  .field label{
    display:block;
    font-size:12px;
    color:var(--grey);
    margin-bottom:8px;
  }
  .field input,
  .field select,
  .field textarea{
    width:100%;
    background:rgba(255,255,255,0.03);
    border:1px solid rgba(255,255,255,0.16);
    border-radius:8px;
    padding:13px 14px;
    color:var(--fg);
    font-family:'Inter', sans-serif;
    font-size:14px;
    transition:border-color .3s;
  }
  .field textarea{resize:vertical; min-height:90px;}
  .field input:focus,
  .field select:focus,
  .field textarea:focus{
    border-color:rgba(255,255,255,0.55);
    outline:none;
  }
  .field select{appearance:none; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%23898989' d='M5 7l5 6 5-6z'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right 14px center;}
  .field select option{
    color:#333333;
    background:#ffffff;
  }
  .field-inversion{
    overflow:hidden;
    max-height:0;
    opacity:0;
    margin-bottom:0;
    visibility:hidden;
    transition:max-height .45s var(--ease), opacity .35s var(--ease), margin-bottom .45s var(--ease), visibility .45s;
  }
  .field-inversion.open{
    max-height:140px;
    opacity:1;
    visibility:visible;
    margin-bottom:20px;
  }
  .field-consent{
    display:flex;
    align-items:flex-start;
    gap:10px;
    margin-bottom:22px;
  }
  .field-consent input[type="checkbox"]{
    flex-shrink:0;
    width:18px;
    height:18px;
    margin-top:2px;
    accent-color:var(--fg);
    cursor:pointer;
  }
  .field-consent label{
    font-size:13px;
    line-height:1.5;
    color:rgba(255,255,255,0.85);
    cursor:pointer;
  }
  .field-consent a{
    color:var(--fg);
    text-decoration:underline;
  }
  .field-consent input[type="checkbox"]:focus-visible{
    outline:2px solid #8fa0ff;
    outline-offset:2px;
  }
  .submit-btn{
    width:100%;
    padding:17px;
    background:var(--fg);
    color:var(--bg);
    border-radius:8px;
    font-size:13px;
    letter-spacing:.05em;
    font-weight:500;
    margin-top:6px;
    transition:opacity .3s;
  }
  .submit-btn:hover{opacity:.85;}
  .submit-btn:disabled{
    opacity:.45;
    cursor:not-allowed;
  }
  .form-note{
    font-size:11px;
    color:var(--fg);
    margin-top:14px;
    text-align:center;
  }

  /* ============ REDES SOCIALES ============ */
  .social-row{
    display:flex;
    justify-content:center;
    gap:18px;
    margin-top:44px;
  }
  .social-icon{
    width:52px; height:52px;
    flex-shrink:0;
    background:none;
    border:none;
    box-shadow:none;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:visible;
    color:var(--fg);
    transition:transform .35s var(--ease), opacity .35s var(--ease);
  }
  .social-icon svg{width:26px; height:26px; flex-shrink:0; overflow:visible;}
  .social-icon:hover{
    transform:translateY(-4px);
    opacity:.75;
  }
  .social-row-footer{
    justify-content:flex-start;
    margin-top:8px;
    gap:22px;
  }
  .social-row-footer .social-icon{
    width:70px; height:70px;
  }
  .social-row-footer .social-icon svg{width:34px; height:34px;}

  /* ============ FOOTER ============ */
  footer{
    border-top:1px solid var(--line);
    padding:60px 0 40px;
  }
  .footer-grid{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    flex-wrap:wrap;
    gap:40px;
    padding-bottom:40px;
  }
  .footer-brand .logo-slot{margin-bottom:18px; height:52px;}
  .footer-brand p{
    font-size:13px;
    color:var(--fg);
    max-width:32ch;
    line-height:1.6;
  }
  .footer-cols{
    display:flex;
    flex-wrap:wrap;
    row-gap:32px;
    column-gap:80px;
  }
  .footer-col h5{
    font-size:12px;
    color:var(--grey);
    margin-bottom:18px;
    font-weight:400;
    font-family:'Inter';
  }
  .footer-col a{
    display:block;
    font-size:14px;
    margin-bottom:12px;
    color:var(--fg);
    transition:color .3s;
  }
  .footer-col a:hover{color:var(--grey);}
  .footer-legal-name{
    font-size:12px !important;
    color:var(--grey) !important;
    margin-top:10px;
    max-width:34ch;
  }
  .footer-bottom{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding-top:30px;
    border-top:1px solid var(--line-soft);
    font-size:12px;
    color:var(--grey);
    flex-wrap:wrap;
    gap:16px;
  }

  /* ============ LOGO LIGHTBOX ============ */
  .logo-lightbox{
    position:fixed;
    inset:0;
    z-index:200;
    background:rgba(0,0,0,0.94);
    backdrop-filter:blur(10px);
    display:none;
    align-items:center;
    justify-content:center;
    padding:40px;
    cursor:zoom-out;
    opacity:0;
    transition:opacity .3s var(--ease);
    overflow-y:auto;
    -webkit-overflow-scrolling:touch;
  }
  .logo-lightbox.active{
    display:flex;
    opacity:1;
  }
  .lightbox-content{
    display:flex;
    align-items:center;
    justify-content:center;
    max-width:1100px;
    width:100%;
    cursor:default;
  }
  .logo-lightbox.has-desc .lightbox-content{
    justify-content:center;
    gap:40px;
    text-align:left;
  }
  .lightbox-image-wrap{
    position:relative;
    flex-shrink:0;
    display:flex;
    align-items:center;
    justify-content:center;
  }
  .logo-lightbox img{
    max-width:min(600px, 85vw);
    max-height:80vh;
    width:auto;
    height:auto;
    object-fit:contain;
    transform:scale(.9);
    transition:transform .35s var(--ease), opacity .25s ease;
    border-radius:6px;
  }
  .logo-lightbox.has-desc img{
    max-width:min(660px, 58vw);
    max-height:84vh;
  }
  .logo-lightbox.active img{
    transform:scale(1);
  }
  .lightbox-desc{
    display:none;
    flex-direction:column;
    max-width:340px;
    cursor:default;
  }
  .logo-lightbox.has-desc .lightbox-desc{
    display:flex;
  }
  .lightbox-desc .lightbox-kicker{
    font-size:12px;
    letter-spacing:.12em;
    text-transform:uppercase;
    color:var(--grey);
    margin-bottom:18px;
    display:block;
  }
  .lightbox-desc p{
    font-size:16px;
    line-height:1.75;
    color:#ffffff;
  }
  .logo-lightbox-close{
    position:absolute;
    top:28px;
    right:32px;
    width:44px;
    height:44px;
    border-radius:50%;
    border:1px solid rgba(255,255,255,0.35);
    color:var(--fg);
    font-size:24px;
    line-height:1;
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    transition:all .3s var(--ease);
    z-index:3;
  }
  .logo-lightbox-close:hover{
    background:var(--fg);
    color:var(--bg);
  }
  .lightbox-nav{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:52px;
    height:52px;
    border-radius:50%;
    border:1px solid rgba(255,255,255,0.4);
    background:rgba(0,0,0,0.35);
    color:var(--fg);
    font-size:24px;
    display:none;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    transition:all .3s var(--ease);
    z-index:3;
  }
  .logo-lightbox.has-nav .lightbox-nav{
    display:flex;
  }
  .lightbox-nav:hover{
    background:var(--fg);
    color:var(--bg);
    border-color:var(--fg);
  }
  /* Positioned relative to the full-screen overlay, outside the image */
  .lightbox-prev{ left:24px; }
  .lightbox-next{ right:24px; }
  @media (max-width: 760px){
    .logo-lightbox{ align-items:flex-start; padding:56px 20px 90px; }
    .logo-lightbox-close{ position:fixed; top:14px; right:14px; }
    .lightbox-content{ flex-direction:column; margin:auto; }
    .logo-lightbox.has-desc .lightbox-content{ text-align:center; align-items:center; gap:26px; }
    .logo-lightbox.has-desc img{ max-width:min(480px, 90vw); max-height:60vh; }
    .lightbox-desc{ max-width:100%; align-items:center; }
    .lightbox-nav{ top:auto; bottom:18px; transform:none; width:44px; height:44px; font-size:20px; position:fixed; }
    .lightbox-prev{ left:18px; }
    .lightbox-next{ right:18px; }
  }

  /* ============ RESPONSIVE ============ */
  @media (max-width: 980px){
    .wrap{padding:0 24px;}
    nav{gap:16px;}
    .nav-toggle{display:flex;}
    .header-cta{display:none;}
    .nav-links{
      display:flex;
      flex-direction:column;
      align-items:flex-start;
      gap:0;
      position:fixed;
      top:73px;
      left:0;
      right:0;
      background:rgba(6,6,10,0.98);
      backdrop-filter:blur(10px);
      border-bottom:1px solid var(--line);
      padding:8px 24px 20px;
      transform:translateY(-12px);
      opacity:0;
      visibility:hidden;
      pointer-events:none;
      transition:opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
      z-index:150;
    }
    .nav-links.is-open{
      opacity:1;
      transform:translateY(0);
      visibility:visible;
      pointer-events:auto;
    }
    .nav-links a{
      width:100%;
      padding:14px 0;
      border-bottom:1px solid var(--line-soft, var(--line));
      font-size:15px;
    }
    .nav-links a:last-child{border-bottom:none;}
    .nav-cta-mobile{
      display:block;
      color:var(--bg);
      background:var(--fg);
      text-align:center;
      border-radius:100px;
      padding:13px 0 !important;
      margin-top:10px;
      border-bottom:none !important;
      font-size:14px;
    }
    .metrics{grid-template-columns:repeat(2, 1fr);}
    .metric{border-bottom:1px solid var(--line);}
    .metric:nth-child(2n){border-right:none;}
    .metric:nth-child(3),.metric:nth-child(4){border-bottom:none;}
    .servicios-grid{grid-template-columns:1fr;}
    .servicios-col:first-child{border-right:none; border-bottom:1px solid var(--line);}
    .proyectos-strip{gap:26px 20px;}
    .contacto-grid{grid-template-columns:1fr; gap:56px;}
    .contacto-left{display:flex; flex-direction:column; align-items:center; text-align:center;}
    .asesora-photo{margin-left:auto; margin-right:auto;}
    .contacto-left h2{max-width:100%;}
    .asesora-quote{max-width:44ch;}
    .value-points{align-items:center;}
    .value-points li{justify-content:center;}
    .form-row{grid-template-columns:1fr;}
    .footer-grid{flex-direction:column;}
  }
  @media (max-width: 620px){
    .section-pad{padding:90px 0;}
    .servicios-col{padding:48px 24px;}
    .proyecto-item{width:130px;}
    .proyecto-thumb{width:130px; height:130px;}
    .footer-cols{flex-wrap:wrap; row-gap:32px; column-gap:40px;}
    .footer-cols .footer-col{flex:0 0 calc(50% - 20px);}
    .form-card{padding:28px;}
    header .header-cta{display:none;}
  }
/* ============ AVISO DE COOKIES ============ */
.cookie-bar{ position:fixed; left:16px; right:16px; bottom:16px; z-index:200; max-width:720px; margin:0 auto; display:flex; align-items:center; gap:18px; flex-wrap:wrap; padding:16px 20px; background:rgba(10,10,20,0.96); border:1px solid rgba(255,255,255,0.18); border-radius:16px; box-shadow:0 18px 40px rgba(0,0,0,0.5); font-size:13px; line-height:1.5; }
.cookie-bar p{ flex:1 1 280px; }
.cookie-bar a{ text-decoration:underline; }
.cookie-actions{ display:flex; gap:10px; }
.cookie-btn{ padding:10px 18px; border-radius:100px; font-size:13px; }
.cookie-no{ border:1px solid rgba(255,255,255,0.35); }
.cookie-si{ background:#fff; color:#000; font-weight:600; }
