:root{
    --black:#0a0a0b;
    --panel:#131315;
    --panel-2:#1a1a1d;
    --gold:#f2b632;
    --gold-deep:#c98e14;
    --gold-soft:rgba(242,182,50,0.14);
    --cream:#f3efe7;
    --gray:#9a9aa2;
    --gray-dim:#6c6c73;
    --line:rgba(242,182,50,0.16);
    --radius:2px;
  }

  *{margin:0;padding:0;box-sizing:border-box;}

  html{scroll-behavior:smooth;}

  body{
    background:var(--black);
    color:var(--cream);
    font-family:'Work Sans',sans-serif;
    font-weight:400;
    line-height:1.55;
    overflow-x:hidden;
    -webkit-font-smoothing:antialiased;
  }

  h1,h2,h3,.display{
    font-family:'Big Shoulders Display',sans-serif;
    font-weight:800;
    letter-spacing:0.01em;
    line-height:0.98;
    text-transform:uppercase;
  }

  a{color:inherit;text-decoration:none;}
  img{display:block;max-width:100%;}

  ::selection{background:var(--gold);color:var(--black);}

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

  /* ---------- layout helpers ---------- */
  .wrap{
    max-width:1280px;
    margin:0 auto;
    padding:0 48px;
  }
  @media (max-width:768px){ .wrap{padding:0 24px;} }

  .kicker{
    font-family:'Work Sans',sans-serif;
    font-size:13px;
    font-weight:600;
    letter-spacing:0.18em;
    color:var(--gold);
    display:flex;
    align-items:center;
    gap:14px;
  }
  .kicker::before{
    content:'';
    width:28px;height:1px;
    background:var(--gold);
    display:inline-block;
  }

  .btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    padding:16px 32px;
    font-family:'Work Sans',sans-serif;
    font-weight:600;
    font-size:15px;
    letter-spacing:0.02em;
    border-radius:var(--radius);
    border:1px solid transparent;
    cursor:pointer;
    transition:transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease, background .35s ease, border-color .35s ease;
    white-space:nowrap;
  }
  .btn-primary{
    background:linear-gradient(135deg,var(--gold) 0%,var(--gold-deep) 100%);
    color:#141105;
  }
  .btn-primary:hover{
    transform:translateY(-2px);
    box-shadow:0 14px 30px -10px rgba(242,182,50,0.55);
  }
  .btn-ghost{
    background:rgba(10,10,11,0.35);
    backdrop-filter:blur(6px);
    border-color:rgba(243,239,231,0.55);
    color:var(--cream);
  }
  .btn-ghost:hover{
    border-color:var(--gold);
    color:var(--gold);
    background:rgba(10,10,11,0.55);
    transform:translateY(-2px);
  }

  /* ---------- NAV ---------- */
  header{
    position:fixed;
    top:0;left:0;right:0;
    z-index:100;
    padding:22px 0;
    transition:padding .4s ease, background .4s ease, backdrop-filter .4s ease, border-color .4s ease;
    border-bottom:1px solid transparent;
  }
  header.scrolled{
    padding:14px 0;
    background:rgba(10,10,11,0.82);
    backdrop-filter:blur(14px);
    -webkit-backdrop-filter:blur(14px);
    border-bottom:1px solid var(--line);
  }
  header .wrap{
    display:flex;
    align-items:center;
    justify-content:space-between;
  }
  .brand{
    display:flex;
    align-items:center;
    gap:20px;
  }
  .brand-logo{
    height:58px;
    width:auto;
    transition:height .4s ease;
  }
  header.scrolled .brand-logo{height:42px;}
  .brand-tag{
    font-family:'Work Sans',sans-serif;
    font-size:11px;
    font-weight:600;
    letter-spacing:0.2em;
    color:var(--gold);
    text-transform:uppercase;
    padding-left:20px;
    border-left:1px solid var(--line);
    line-height:1.6;
    max-width:150px;
    align-self:center;
  }

  .nav-right{
    display:flex;
    align-items:center;
    gap:28px;
  }
  .nav-phone{
    font-size:14px;
    font-weight:500;
    color:var(--gray);
    display:flex;
    align-items:center;
    gap:8px;
    transition:color .3s ease;
  }
  .nav-phone:hover{color:var(--gold);}
  .nav-phone svg{width:15px;height:15px;flex-shrink:0;}

  @media (max-width:640px){
    .nav-phone{display:none;}
    .brand-tag{display:none;}
    .brand-logo{height:38px;}
    header.scrolled .brand-logo{height:32px;}
  }

  /* ---------- HERO ---------- */
  .hero{
    position:relative;
    min-height:100vh;
    display:flex;
    flex-direction:column;
    justify-content:flex-end;
    overflow:hidden;
  }
  .hero-bg{
    position:absolute;
    inset:0;
    z-index:0;
  }
  .hero-bg img{
    position:absolute;
    inset:0;
    width:100%;height:100%;
    object-fit:cover;
    opacity:0;
    animation:heroCycle 21s infinite;
    transform:scale(1.04);
  }
  .hero-bg img:nth-child(1){animation-delay:0s;}
  .hero-bg img:nth-child(2){animation-delay:7s;}
  .hero-bg img:nth-child(3){animation-delay:14s;}

  @keyframes heroCycle{
    0%{opacity:0; transform:scale(1.04);}
    4%{opacity:1;}
    28%{opacity:1; transform:scale(1.12);}
    33%{opacity:0;}
    100%{opacity:0;}
  }

  .hero-scrim{
    position:absolute;inset:0;
    background:
      linear-gradient(180deg, rgba(8,8,9,0.55) 0%, rgba(8,8,9,0.35) 30%, rgba(8,8,9,0.78) 78%, rgba(8,8,9,0.96) 100%);
    z-index:1;
  }
  .hero-vignette{
    position:absolute;inset:0;
    box-shadow:inset 0 0 180px 40px rgba(0,0,0,0.65);
    z-index:1;
    pointer-events:none;
  }

  .hero-content{
    position:relative;
    z-index:2;
    padding:220px 0 70px;
  }
  .hero-tagline{
    font-size:13px;
    font-weight:600;
    letter-spacing:0.32em;
    color:var(--gold);
    text-transform:uppercase;
    margin-bottom:22px;
    opacity:0;
    animation:riseIn .9s .3s cubic-bezier(.2,.7,.2,1) forwards;
  }
  .hero h1{
    font-size:clamp(46px, 7.2vw, 104px);
    color:var(--cream);
    max-width:16ch;
    opacity:0;
    animation:riseIn 1s .42s cubic-bezier(.2,.7,.2,1) forwards;
  }
  .hero h1 em{
    font-style:normal;
    color:var(--gold);
  }
  .hero-sub{
    max-width:520px;
    margin-top:26px;
    font-size:17px;
    color:rgba(243,239,231,0.82);
    font-weight:300;
    opacity:0;
    animation:riseIn 1s .56s cubic-bezier(.2,.7,.2,1) forwards;
  }
  .hero-cta{
    display:flex;
    gap:16px;
    margin-top:40px;
    flex-wrap:wrap;
    opacity:0;
    animation:riseIn 1s .7s cubic-bezier(.2,.7,.2,1) forwards;
  }

  @keyframes riseIn{
    from{opacity:0; transform:translateY(22px);}
    to{opacity:1; transform:translateY(0);}
  }

  .scroll-cue{
    position:relative;
    z-index:2;
    display:flex;
    align-items:center;
    gap:12px;
    padding:26px 0 34px;
    font-size:11px;
    letter-spacing:0.22em;
    color:var(--gray);
    text-transform:uppercase;
  }
  .scroll-cue .line{
    width:1px;height:34px;
    background:linear-gradient(180deg, var(--gold), transparent);
    animation:scrollLine 2.2s ease-in-out infinite;
  }
  @keyframes scrollLine{
    0%,100%{transform:scaleY(0.6); opacity:.5;}
    50%{transform:scaleY(1); opacity:1;}
  }

  /* ---------- STATS STRIP ---------- */
  .stats{
    position:relative;
    background:var(--panel);
    border-top:1px solid var(--line);
    border-bottom:1px solid var(--line);
  }
  .stats .wrap{
    display:grid;
    grid-template-columns:repeat(3,1fr);
  }
  .stat{
    display:flex;
    align-items:center;
    gap:20px;
    padding:44px 30px;
    border-left:1px solid var(--line);
  }
  .stat:first-child{border-left:none;}
  .stat img{
    height:44px;width:auto;
    opacity:0.92;
    flex-shrink:0;
  }
  .stat-num{
    font-family:'Big Shoulders Display',sans-serif;
    font-weight:900;
    font-size:44px;
    color:var(--gold);
    line-height:1;
  }
  .stat-label{
    font-size:13px;
    color:var(--gray);
    font-weight:500;
    line-height:1.35;
    margin-top:4px;
  }
  .stat-label b{color:var(--cream); font-weight:600;}

  @media (max-width:860px){
    .stats .wrap{grid-template-columns:1fr; }
    .stat{border-left:none; border-top:1px solid var(--line); padding:30px 0;}
    .stat:first-child{border-top:none;}
  }

  /* ---------- SECTION GENERIC ---------- */
  section{position:relative;}
  .section-pad{padding:130px 0;}
  @media (max-width:768px){ .section-pad{padding:84px 0;} }

  .section-head{
    max-width:640px;
    margin-bottom:72px;
  }
  .section-head h2{
    font-size:clamp(34px,4.4vw,56px);
    color:var(--cream);
    margin-top:18px;
  }
  .section-head p{
    margin-top:20px;
    color:var(--gray);
    font-size:16px;
    max-width:52ch;
  }

  /* ---------- SERVICIOS ---------- */
  .servicios{background:var(--black);}
  .servicios-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:1px;
    background:var(--line);
    border:1px solid var(--line);
  }
  .service{
    background:var(--panel);
    padding:48px 40px;
    transition:background .4s ease, transform .4s ease;
  }
  .service:hover{
    background:var(--panel-2);
  }
  .service img{
    height:52px;width:auto;
    margin-bottom:28px;
  }
  .service h3{
    font-family:'Work Sans',sans-serif;
    text-transform:none;
    font-weight:600;
    font-size:19px;
    color:var(--cream);
    letter-spacing:0;
    margin-bottom:12px;
  }
  .service p{
    font-size:14.5px;
    color:var(--gray);
    line-height:1.6;
  }

  @media (max-width:860px){
    .servicios-grid{grid-template-columns:1fr;}
  }

  /* ---------- INSTALACIONES ---------- */
  .instalaciones{background:var(--panel);}
  .showcase{
    display:flex;
    flex-direction:column;
    gap:2px;
  }
  .show-row{
    display:grid;
    grid-template-columns:1.15fr 0.85fr;
    min-height:520px;
  }
  .show-row.reverse{grid-template-columns:0.85fr 1.15fr;}
  .show-row.reverse .show-media{order:2;}
  .show-row.reverse .show-text{order:1;}

  .show-media{
    position:relative;
    overflow:hidden;
  }
  .show-media img{
    width:100%;height:100%;
    object-fit:cover;
    min-height:340px;
    transition:transform 1.2s cubic-bezier(.2,.7,.2,1);
  }
  .show-row:hover .show-media img{transform:scale(1.045);}

  .show-text{
    background:var(--black);
    padding:64px 56px;
    display:flex;
    flex-direction:column;
    justify-content:center;
  }
  .show-text .tag{
    font-size:12px;
    font-weight:600;
    letter-spacing:0.2em;
    color:var(--gold);
    text-transform:uppercase;
    margin-bottom:16px;
  }
  .show-text h3{
    font-family:'Big Shoulders Display',sans-serif;
    font-size:clamp(28px,3vw,38px);
    color:var(--cream);
    text-transform:uppercase;
    margin-bottom:18px;
  }
  .show-text p{
    color:var(--gray);
    font-size:15px;
    max-width:40ch;
  }
  .show-specs{
    display:flex;
    gap:28px;
    margin-top:28px;
  }
  .show-specs div{
    border-left:2px solid var(--gold);
    padding-left:12px;
  }
  .show-specs b{
    display:block;
    font-family:'Big Shoulders Display',sans-serif;
    font-size:24px;
    color:var(--gold);
  }
  .show-specs span{
    font-size:12px;
    color:var(--gray-dim);
    text-transform:uppercase;
    letter-spacing:0.06em;
  }

  @media (max-width:900px){
    .show-row, .show-row.reverse{grid-template-columns:1fr;}
    .show-row.reverse .show-media{order:1;}
    .show-row.reverse .show-text{order:2;}
    .show-media img{min-height:280px;}
    .show-text{padding:48px 28px;}
  }

  /* ---------- PLANO ---------- */
  .plano{background:var(--black);}
  .plano-frame{
    position:relative;
    border:1px solid var(--line);
    padding:10px;
    background:var(--panel);
  }
  .plano-frame img{
    width:100%;
    display:block;
  }
  .plano-caption{
    display:flex;
    justify-content:space-between;
    align-items:flex-end;
    gap:24px;
    margin-top:28px;
    flex-wrap:wrap;
  }
  .plano-caption p{
    color:var(--gray);
    font-size:14px;
    max-width:46ch;
  }
  .plano-legend{
    display:flex;
    gap:22px;
    font-size:12px;
    color:var(--gray-dim);
    letter-spacing:0.05em;
    text-transform:uppercase;
    flex-wrap:wrap;
  }
  .plano-legend b{color:var(--gold); font-weight:700;}

  /* ---------- CONTACTO ---------- */
  .contacto{
    position:relative;
    background:var(--panel);
    overflow:hidden;
  }
  .contacto::before{
    content:'';
    position:absolute;
    top:-30%;right:-10%;
    width:60%;height:160%;
    background:radial-gradient(circle, rgba(242,182,50,0.12) 0%, transparent 65%);
    pointer-events:none;
  }
  .contacto-inner{
    position:relative;
    z-index:1;
    display:grid;
    grid-template-columns:1fr auto;
    align-items:center;
    gap:60px;
  }
  .contacto-badge{
    height:132px;width:auto;
    justify-self:end;
    filter:drop-shadow(0 18px 40px rgba(0,0,0,0.5));
  }
  .contacto h2{
    font-size:clamp(36px,5vw,60px);
    color:var(--cream);
  }
  .contacto-lead{
    color:var(--gray);
    max-width:46ch;
    margin-top:18px;
    font-size:16px;
  }
  .contact-list{
    margin-top:42px;
    display:flex;
    flex-direction:column;
    gap:0;
    border-top:1px solid var(--line);
    max-width:520px;
  }
  .contact-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    padding:22px 4px;
    border-bottom:1px solid var(--line);
    transition:padding-left .3s ease, color .3s ease;
  }
  .contact-row:hover{
    padding-left:12px;
    color:var(--gold);
  }
  .contact-row .label{
    font-size:12px;
    letter-spacing:0.14em;
    text-transform:uppercase;
    color:var(--gray-dim);
    width:120px;
    flex-shrink:0;
  }
  .contact-row .value{
    font-size:17px;
    font-weight:500;
    flex:1;
  }
  .contact-row svg{
    width:16px;height:16px;
    opacity:0.5;
    flex-shrink:0;
    transition:transform .3s ease, opacity .3s ease;
  }
  .contact-row:hover svg{opacity:1; transform:translateX(3px);}

  .contacto-cta{margin-top:40px;}

  @media (max-width:860px){
    .contacto-inner{grid-template-columns:1fr;}
    .contacto-badge{justify-self:start; height:96px; order:-1; margin-bottom:8px;}
  }

  /* ---------- FOOTER ---------- */
  footer{
    background:var(--black);
    border-top:1px solid var(--line);
    padding:72px 0 52px;
  }
  .footer-inner{
    display:flex;
    flex-direction:column;
    align-items:center;
    text-align:center;
    gap:20px;
  }
  .footer-logo{
    height:84px;
    width:auto;
  }
  .footer-link{
    font-size:14.5px;
    font-weight:500;
    color:var(--gray);
    letter-spacing:0.02em;
    transition:color .3s ease;
  }
  .footer-link:hover{color:var(--gold);}
  .footer-rights{
    font-size:12.5px;
    color:var(--gray-dim);
    letter-spacing:0.02em;
  }

  @media (max-width:640px){
    .footer-logo{height:64px;}
  }