:root{
  --bg:#ffffff;
  --panel:#f7f7f7;
  --panel2:#fbfbfb;
  --text:#1a1a1a;
  --muted:#7a7a7a;
  --line:rgba(0,0,0,.08);
  --line2:rgba(0,0,0,.05);
  --accent:#1a1a1a;
  --radius:20px;
  --radius2:28px;
  --shadow: 0 10px 30px rgba(0,0,0,.06);
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background:var(--bg);
  line-height:1.45;
}
a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }

.container{
  width:min(1360px, calc(100% - 48px));
  margin:0 auto;
}

.header{
  border-bottom:1px solid rgba(0,0,0,.06);
  background:#fff;
  padding:18px 16px;
}
.header__inner{
  min-height:64px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  position:relative;
}
.brand-logo{
  height:40px;
  margin:10px;
  opacity:.78;
}

.nav{
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  display:flex;
  align-items:center;
  gap:40px;
}
.nav a{
  font-size:12px;
  letter-spacing:.10em;
  text-transform:uppercase;
  color:#8c8c8c;
  padding:6px 0;
  transition:color .2s ease;
}
.nav a:hover{ color:#1a1a1a; }
.nav__cta{
  color:#a9a9a9;
  border-bottom:1px solid rgba(0,0,0,.12);
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 16px;
  border-radius:16px;
  border:1px solid rgba(0,0,0,.10);
  font-size:13px;
  color:var(--text);
  background:#fff;
  cursor:pointer;
  transition: transform .15s ease, border-color .15s ease, background .15s ease, color .15s ease;
}
.btn:hover{ transform: translateY(-1px); border-color: rgba(0,0,0,.18); }
.btn--primary{ background:var(--accent); color:#fff; border-color:transparent; }
.btn--primary:hover{ background:rgba(26,26,26,.92); }
.btn--ghost{ background:#fff; color:#1a1a1a; border-color: rgba(0,0,0,.10); }
.btn--full{ width:100%; }

.eyebrow{
  margin:0 0 10px;
  color:#9a9a9a;
  font-size:11px;
  letter-spacing:.28em;
  text-transform:uppercase;
}
.h1{
  margin:0;
  font-weight:500;
  letter-spacing:-.04em;
  font-size:clamp(38px, 4.2vw, 58px);
  line-height:1.02;
}
.h1__break{ display:block; opacity:.92; }
.lead{
  margin:16px 0 0;
  color:var(--muted);
  font-size:14px;
  max-width:52ch;
}
.h2{
  margin:0;
  font-weight:500;
  letter-spacing:-.02em;
  font-size:clamp(26px, 2.7vw, 34px);
  line-height:1.1;
}
.h3{ margin:0; font-weight:500; font-size:18px; }
.sub{ margin:10px 0 0; color:var(--muted); max-width:70ch; }
.muted{ color:var(--muted); }
.small{ font-size:12px; }

.hero{
  padding:36px 0 0;
  margin-top:22px;
}
.hero__grid{
  display:grid;
  grid-template-columns:1.25fr .75fr;
  gap:44px;
  align-items:stretch;
}
.hero__content{
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:12px 0;
}
.hero__actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:18px;
}
.hero__meta{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:10px;
  margin-top:22px;
}
.meta{
  padding:14px;
  border-radius:18px;
  border:1px solid rgba(0,0,0,.08);
  background:#fff;
}
.meta__kpi{
  font-size:18px;
  font-weight:500;
  letter-spacing:-.02em;
}
.meta__label{ font-size:12px; color:var(--muted); margin-top:4px; }
.note{
  margin-top:16px;
  display:flex;
  align-items:center;
  gap:10px;
  color:var(--muted);
  font-size:12px;
}
.dot{
  width:7px; height:7px; border-radius:99px;
  background: rgba(0,0,0,.45);
  opacity:.35;
}

.media-frame{
  position:relative;
  border-radius:28px;
  overflow:hidden;
  background:#f2f2f2;
  border:1px solid rgba(0,0,0,.08);
  box-shadow:0 24px 70px rgba(0,0,0,.06);
}
.media-badge{
  position:absolute;
  top:18px;
  left:18px;
  z-index:5;
  padding:8px 12px;
  border-radius:999px;
  background: rgba(255,255,255,.75);
  backdrop-filter: blur(8px);
  border:1px solid rgba(0,0,0,.08);
  color: rgba(0,0,0,.6);
  font-size:12px;
  letter-spacing:.16em;
  text-transform:uppercase;
}

.gallery{ position:relative; width:100%; }

.gallery-stage{
  position:relative;
  aspect-ratio:16/9;
  background:#eee;
}
.gallery-main{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transform:scale(1.001);
  transition:opacity .25s ease;
  cursor: zoom-in;
}

.gallery-nav{
  position:absolute;
  top:50%;
  transform:translateY(-55%);
  z-index:6;
  width:44px;
  height:44px;
  border-radius:999px;
  border:1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.70);
  backdrop-filter: blur(8px);
  cursor:pointer;
  display:grid;
  place-items:center;
  font-size:28px;
  line-height:1;
  color: rgba(0,0,0,.65);
  transition: transform .25s ease, background .25s ease;
}
.gallery-nav:hover{
  transform:translateY(-55%) scale(1.06);
  background: rgba(255,255,255,.85);
}
.gallery-nav.prev{ left:16px; }
.gallery-nav.next{ right:16px; }

.gallery-thumbs{
  display:flex;
  gap:10px;
  padding:14px 16px 16px;
  overflow-x:auto;
  overflow-y:hidden;
  scrollbar-width:none;
  -ms-overflow-style:none;
  scroll-behavior:smooth;
}
.gallery-thumbs::-webkit-scrollbar{ display:none; }

.thumb{
  border:1px solid rgba(0,0,0,.10);
  background:#fff;
  border-radius:14px;
  overflow:hidden;
  padding:0;
  cursor:pointer;
  flex:0 0 auto;
  width:88px;
  height:58px;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.thumb:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0,0,0,.08);
}
.thumb.is-active{
  border-color: rgba(0,0,0,.22);
  box-shadow: 0 16px 38px rgba(0,0,0,.10);
}

.brand-strip{
  margin-top:28px;
  padding:0;
}
.brand-strip__inner{
  position:relative;
  border:1px solid rgba(0,0,0,.08);
  border-radius:22px;
  background:#fff;
  overflow:hidden;
  height:96px;
  display:flex;
  align-items:center;
  padding:0 22px;
}

.brand-strip__inner::before,
.brand-strip__inner::after{
  content:"";
  position:absolute;
  top:0; bottom:0;
  width:120px;
  pointer-events:none;
  z-index:2;
}
.brand-strip__inner::before{
  left:0;
  background: linear-gradient(to right, #fff 0%, rgba(255,255,255,0) 100%);
}
.brand-strip__inner::after{
  right:0;
  background: linear-gradient(to left, #fff 0%, rgba(255,255,255,0) 100%);
}

.brand-strip__track{
  display:flex;
  align-items:center;
  gap:84px;
  width:max-content;
  will-change:transform;
  animation: brandmarquee 20s linear infinite;
}
.brand-strip__set{
  display:flex;
  align-items:center;
  gap:84px;
}
.brand-strip img{
  height:36px;
  max-width:200px;
  width:auto;
  flex:0 0 auto;
  object-fit:contain;
  filter:none;
  opacity:1;
  transition: transform .3s ease;
}
.brand-strip img:hover{ transform: scale(1.05); }

@keyframes brandmarquee{
  0%{ transform: translateX(0); }
  100%{ transform: translateX(-50%); }
}
.brand-strip__inner:hover .brand-strip__track{ animation-play-state: paused; }
@media (prefers-reduced-motion: reduce){
  .brand-strip__track{ animation: none; }
}

.section{ padding:72px 0; }
.section--alt{
  background:#FAFAFA;
  border-top:1px solid rgba(0,0,0,.06);
  border-bottom:1px solid rgba(0,0,0,.06);
}
.section__head{ margin-bottom:22px; }
.section__head--split{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
  align-items:end;
}

.seg{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:12px;
}
.seg__btn{
  text-align:left;
  padding:18px;
  border-radius:var(--radius);
  border:1px solid rgba(0,0,0,.08);
  background:#fff;
  color:var(--text);
  font-size:14px;
  cursor:pointer;
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.seg__btn:hover{ transform: translateY(-1px); border-color: rgba(0,0,0,.14); }
.seg__btn.is-active{ background:#f6f6f6; border-color: rgba(0,0,0,.16); }
.seg__arrow{ opacity:.55; }

.seg__panel{
  margin-top:14px;
  border-radius:var(--radius2);
  border:1px solid rgba(0,0,0,.08);
  background:#fff;
  overflow:hidden;
}
.seg__panel-inner{ padding:18px; }
.bullets{ margin:12px 0 0; padding-left:16px; color:var(--muted); }
.bullets li{ margin:6px 0; }

.cards{
  display:grid;
  grid-template-columns:repeat(5, 1fr);
  gap:12px;
}
.card{
  border-radius:var(--radius);
  border:1px solid rgba(0,0,0,.08);
  background:#fff;
  padding:18px;
  min-height:150px;
  transition:
    transform .35s cubic-bezier(.2,.8,.2,1),
    box-shadow .35s ease,
    border-color .35s ease,
    background .35s ease;
  box-shadow:0 8px 24px rgba(0,0,0,.04);
}
.card__title{ margin:0 0 10px; font-weight:500; font-size:15px; }
.card__text{ margin:0; color:var(--muted); font-size:13px; }
.card:hover{
  transform: translateY(-8px) scale(1.035);
  box-shadow: 0 28px 70px rgba(0,0,0,.10);
  border-color: rgba(0,0,0,.14);
  z-index:2;
}
.cards:hover .card:not(:hover){
  transform: scale(0.98);
  opacity:.85;
}

.cred{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:18px;
  align-items:stretch;
}
.cred__stats{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}
.stat{
  border-radius:var(--radius);
  border:1px solid rgba(0,0,0,.08);
  background:#fff;
  padding:16px;
}
.stat__num{ font-size:18px; font-weight:500; }
.stat__label{ font-size:12px; color:var(--muted); margin-top:6px; }

.cred__media{
  border-radius:var(--radius2);
  overflow:hidden;
  border:1px solid rgba(0,0,0,.06);
  background:#f2f2f2;
  box-shadow:var(--shadow);
  position:relative;
}
.cred__media img{
  width:100%;
  height:100%;
  object-fit:cover;
  min-height:260px;
  background:#f2f2f2;
}
.cred__caption{
  position:absolute;
  left:14px; right:14px; bottom:14px;
  padding:12px;
  border-radius:16px;
  background: rgba(255,255,255,.88);
  border:1px solid rgba(0,0,0,.10);
  font-size:12px;
  color:#3a3a3a;
}

.work-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.work-image {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: #f7f7f7;
  padding: 14px;       
}

.work-image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  border-radius: 12px;
  transition: transform 0.6s ease;
}

.work-card:hover img {
  transform: scale(1.03);
}

.work-content {
  padding-left: 4px;
}

.work-content h3 {
  font-size: 13px;
  letter-spacing: 3px;
  font-weight: 500;
  margin: 0;
}

.work-content p {
  font-size: 13px;
  color: #888;
  margin-top: 6px;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 80px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.form-wrap{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:14px;
  align-items:start;
}
.form{
  border-radius:var(--radius2);
  border:1px solid rgba(0,0,0,.08);
  background:#fff;
  padding:18px;
}
.field{
  display:flex;
  flex-direction:column;
  gap:6px;         
  margin-bottom:14px;  
}
.field span{
  font-size:13px;
  font-weight:600;      
  color:#111;           
  letter-spacing:.01em;
}
.field input,
.field select,
.field textarea{
  padding:11px 14px;        
  border-radius:14px;
  border:1px solid rgba(0,0,0,.10);
  font-size:15px;
  transition: border .2s ease, box-shadow .2s ease;
}

.field input::placeholder,
.field textarea::placeholder{
  color:#9a9a9a;
  font-weight:400;
}

.field input:focus,
.field select:focus,
.field textarea:focus{
  border-color:#000;
  box-shadow:0 0 0 3px rgba(0,0,0,.04);
}

.error{ color:#b3261e; font-size:11px; min-height:12px; }

.grid-2{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}
.form__actions{
  margin-top:10px;
  display:flex;
  flex-direction:column;
  gap:10px;
}

.aside__box{
  border-radius:var(--radius2);
  border:1px solid rgba(0,0,0,.08);
  background:#fff;
  padding:18px;
  position:sticky;
  top:86px;
}
.divider{ height:1px; background: rgba(0,0,0,.06); margin:12px 0; }
.toast{
  margin-top:12px;
  padding:12px;
  border-radius:16px;
  border:1px solid rgba(0,0,0,.10);
  background:#fbfbfb;
  color:#1a1a1a;
  font-size:13px;
}

.closing{
  padding:56px 0;
  border-top:1px solid var(--line2);
  background:#fff;
}
.closing__grid{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  flex-wrap:wrap;
}
.closing__actions{ display:flex; gap:12px; flex-wrap:wrap; }

.footer{
  padding:22px 0 86px;
  border-top:1px solid var(--line2);
  background:#fff;
}
.footer__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  flex-wrap:wrap;
}
.footer__right{
  display:flex;
  gap:10px;
  align-items:center;
  color:var(--muted);
  font-size:13px;
}
.dot-sep{ opacity:.4; }

.sticky-cta{
  position:fixed;
  left:0; right:0; bottom:0;
  padding:12px 16px;
  background: rgba(255,255,255,.92);
  border-top:1px solid var(--line2);
  backdrop-filter: blur(10px);
  display:none;
  z-index:50;
}

.lightbox{
  position:fixed;
  inset:0;
  background: rgba(10,10,10,.82);
  backdrop-filter: blur(6px);
  z-index:9999;
  display:none;
  align-items:center;
  justify-content:center;
  padding:28px;
}
.lightbox.is-open{ display:flex; }

.lightbox-inner{
  position:relative;
  width:min(1200px, 96vw);
  height:min(820px, 88vh);
  border-radius:18px;
  overflow:hidden;
  background: rgba(20,20,20,.35);
  box-shadow: 0 30px 90px rgba(0,0,0,.35);
}
.lightbox-img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
  background: rgba(0,0,0,.25);
}
.lightbox-close{
  position:absolute;
  top:14px; right:14px;
  width:42px; height:42px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.20);
  background: rgba(255,255,255,.08);
  color:#fff;
  font-size:22px;
  line-height:1;
  cursor:pointer;
}
.lightbox-nav{
  position:absolute;
  top:50%;
  transform: translateY(-50%);
  width:46px; height:46px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.20);
  background: rgba(255,255,255,.08);
  color:#fff;
  font-size:26px;
  cursor:pointer;
}
.lightbox-prev{ left:14px; }
.lightbox-next{ right:14px; }

@media (max-width: 980px){
  .hero__grid{ grid-template-columns:1fr; gap:16px; }
  .section__head--split{ grid-template-columns:1fr; }
  .cards{ grid-template-columns:1fr 1fr; }
  .cred{ grid-template-columns:1fr; }
  .works-grid{ grid-template-columns: 1fr; gap: 40px; padding: 0 20px; }
  .form-wrap{ grid-template-columns:1fr; }
  .aside__box{ position:relative; top:auto; }
}

@media (max-width: 760px){
  .container{ width:calc(100% - 32px); }
  .nav{ gap:18px; }
  .nav a{ font-size:11px; }
  .grid-2{ grid-template-columns:1fr; }
  .seg{ grid-template-columns:1fr; }
  .hero__meta{ grid-template-columns:1fr 1fr 1fr; }
  .sticky-cta{ display:block; }
  .brand-logo{ height:34px; }
  .media-frame{ border-radius:22px; }
  .gallery-nav{ width:40px; height:40px; font-size:26px; }
  .thumb{ width:80px; height:54px; }
  .brand-strip{ margin-top:18px; }
  .brand-strip__inner{
    height:76px;
    border-radius:18px;
    padding:0 14px;
  }
  .brand-strip img{
    height:28px;
    max-width:150px;
  }
  .brand-strip__track,
  .brand-strip__set{ gap:48px; }
  .brand-strip__track{ animation-duration:14s; }
  .brand-strip__inner::before,
  .brand-strip__inner::after{ width:60px; }
  .lightbox-inner{
    width:96vw;
    height:78vh;
    border-radius:16px;
  }
}

@media (max-width: 420px){
  .hero__meta{
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .meta{
    padding: 12px;
    border-radius: 16px;
  }

  .meta__kpi{
    font-size: 16px;
  }

  .meta__label{
    font-size: 12px;
    line-height: 1.2;
  }
}

.nav-toggle{
  display:none;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  position: relative;
}

.nav-toggle__bar{
  position: absolute;
  width: 18px;
  height: 1px;
  background: rgba(0,0,0,.72);
  border-radius: 999px;
  transition: transform .28s cubic-bezier(.2,.8,.2,1), opacity .18s ease;
}

.nav-toggle__bar:nth-child(1){ transform: translateY(-4px); }
.nav-toggle__bar:nth-child(2){ transform: translateY( 4px); }

.nav-toggle.is-open .nav-toggle__bar:nth-child(1){
  transform: translateY(0) rotate(45deg);
}
.nav-toggle.is-open .nav-toggle__bar:nth-child(2){
  transform: translateY(0) rotate(-45deg);
}

@media (max-width: 980px){
  .nav-toggle{ display:flex; }

  .nav{
    position: fixed;
    left: 16px;
    right: 16px;
    top: 72px;
    transform: none;

    display: flex;
    flex-direction: column;
    gap: 14px;

    padding: 0 16px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;

    border: 1px solid rgba(0,0,0,.10);
    border-radius: 18px;
    background: rgba(255,255,255,.82);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    transition: max-height .34s cubic-bezier(.2,.8,.2,1),
                opacity .18s ease,
                padding .34s cubic-bezier(.2,.8,.2,1);
    z-index: 9999;
  }

  .nav.is-open{
    max-height: 260px;
    padding: 14px 16px;
    opacity: 1;
    pointer-events: auto;
  }

  .nav a{
    padding: 12px 10px;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: background .15s ease;
  }

  .nav a:hover{
    background: rgba(0,0,0,.04);
  }

  .nav .nav__cta{
    background: rgba(0,0,0,.06);
    border: 1px solid rgba(0,0,0,.08);
  }

  .header__inner{
    justify-content: space-between;
    align-items: center;
  }
}

body.nav-open{ overflow: hidden; }

/* =========================
   LOCATION PREMIUM
========================= */

.location-head{
  text-align:center;
  max-width:680px;
  margin:0 auto 40px;
}

.location-grid{
  display:grid;
  grid-template-columns: 1.3fr .7fr;
  gap:28px;
  align-items:stretch;
}

/* mapa */

.location-map{
  position:relative;
  border-radius:28px;
  overflow:hidden;
  border:1px solid rgba(0,0,0,.08);
  background:#f3f3f3;
  box-shadow:0 20px 60px rgba(0,0,0,.06);
}

.location-map iframe{
  width:100%;
  height:100%;
  min-height:320px;
  border:0;
  transition:transform .6s ease;
}

.location-map:hover iframe{
  transform:scale(1.03);
}

/* overlay */

.map-overlay{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  pointer-events:none;
}

/* pin animado */

.map-pin{
  width:16px;
  height:16px;
  background:#111;
  border-radius:50%;
  position:relative;
}

.map-pin::after{
  content:"";
  position:absolute;
  inset:-10px;
  border-radius:50%;
  border:2px solid rgba(0,0,0,.25);
  animation: mapPulse 2s infinite;
}

@keyframes mapPulse{
  0%{
    transform:scale(.6);
    opacity:.7;
  }
  70%{
    transform:scale(1.6);
    opacity:0;
  }
  100%{
    opacity:0;
  }
}

/* info */

.location-info{
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:22px;
}

.location-card-premium{
  display:flex;
  gap:14px;
  align-items:center;
  padding:18px;
  border-radius:22px;
  border:1px solid rgba(0,0,0,.08);
  background:#fff;
}

.location-icon{
  font-size:22px;
}

.location-title{
  font-size:15px;
  font-weight:600;
}

.location-address{
  font-size:13px;
  color:#7a7a7a;
  margin-top:4px;
}

.location-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

@media (max-width: 980px){

  .location-grid{
    grid-template-columns:1fr;
  }

  .location-map iframe{
    min-height:260px;
  }

}