/* ═══════════════════════════════════
   PALETA: 
   60% — #F0EBE1 (arena cálida)
   30% — #2C3E35 (verde bosque oscuro)
   10% — #C9960C (dorado)
   ACENTOS: #B5572A (terracota), #8FB49A (verde salvia claro)
═══════════════════════════════════ */
:root{
  --sand:#F0EBE1;
  --sand2:#E8E0D2;
  --forest:#2C3E35;
  --forest2:#3D5247;
  --gold:#C9960C;
  --gold2:#E8AC0E;
  --terra:#B5572A;
  --sage:#8FB49A;
  --sage-lt:#D4E8DC;
  --white:#FAFAF8;
  --text:#1E2D27;
  --muted:#6B7C74;
  --border:rgba(44,62,53,.12);
}
*{margin:0;padding:0;box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  font-family:'Plus Jakarta Sans',sans-serif;
  background:var(--sand);color:var(--text);
  overflow-x:hidden;
}
a{text-decoration:none;color:inherit;}

/* ══ TOPBAR REDES ══ */
.topbar{
  position:fixed;top:0;left:0;width:100%;z-index:1000;
  height:56px;display:grid;grid-template-columns:1fr 1fr 1fr;
  gap:0;
}
.tb-link{
  display:flex;align-items:center;justify-content:center;gap:10px;
  height:100%;
  font-size:13px;font-weight:700;
  transition:filter .2s;
  position:relative;
  letter-spacing:.02em;
}
.tb-link:hover{filter:brightness(1.12);}
.tb-link:active{filter:brightness(.92);}
/* Facebook — azul muy suave para que la f blanca resalte */
.tb-fb{
  background:#e8f0fe;
  border-right:2px solid rgba(0,0,0,.07);
}
.tb-fb .tb-handle{color:#1877f2;}
/* Instagram — tono suave rosado/lila */
.tb-ig{
  background:linear-gradient(135deg, #fde8c8 0%, #fad4e0 50%, #e8d4f0 100%);
  border-right:2px solid rgba(0,0,0,.07);
}
.tb-ig .tb-handle{color:#c13584;}
/* TikTok — gris muy claro para que el logo negro/cyan/rojo se vea */
.tb-tt{
  background:#f0f0f0;
}
.tb-tt .tb-handle{color:#1a1a1a;}
/* Texto general */
.tb-link{
  display:flex;align-items:center;justify-content:center;gap:10px;
  height:100%;
  font-size:13px;font-weight:700;
  transition:filter .2s;
  position:relative;
  letter-spacing:.02em;
}
.tb-link:hover{filter:brightness(.94);}
/* Imagen de cada logo */
.tb-img{
  width:36px;height:36px;flex-shrink:0;object-fit:contain;
  border-radius:0;background:transparent;
}
.tb-handle{font-size:13px;font-weight:700;letter-spacing:.03em;}
@media(max-width:480px){.tb-handle{display:none;}}
/* nav offset */

/* ══ NAV ══ */
nav{
  position:fixed;top:56px;left:0;width:100%;z-index:999;
  display:flex;align-items:center;justify-content:space-between;
  padding:18px 48px;height:90px;
  background:#0e0e0e;
  border-bottom:1px solid rgba(201,150,12,.25);
}
.nav-logo{display:flex;align-items:center;gap:14px;}
.nav-logo img{width:75px;height:75px;object-fit:contain;}
.nav-brand-name{
  font-family:'Cormorant Garamond',serif;
  font-size:20px;font-weight:700;letter-spacing:.04em;
  line-height:1;
  background:linear-gradient(90deg,
    #a06800 0%,
    #C9960C 20%,
    #f5d57a 40%,
    #fff5c0 50%,
    #f5d57a 60%,
    #C9960C 80%,
    #a06800 100%);
  background-size:200% auto;
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  background-clip:text;
  animation:goldShimmer 3s linear infinite;
}
.nav-brand-sub{font-size:9px;color:rgba(255,255,255,.4);font-weight:400;margin-top:2px;}
.nav-right{
  display:flex;
  align-items:center; /* 🔥 centra verticalmente */
  gap:6px;
}
.nav-status{
  display:flex;align-items:center;gap:6px;
  font-size:12px;font-weight:500;color:rgba(255,255,255,.7);
  background:rgba(255,255,255,.07);border-radius:100px;
  padding:5px 14px;border:1px solid rgba(255,255,255,.12);
  text-decoration:none;cursor:pointer;
}

.nav-dot{width:7px;height:7px;border-radius:50%;background:#25D366;animation:blink 2s infinite;}
@keyframes blink{0%,100%{opacity:1}50%{opacity:.3}}
/* Botón WhatsApp verde oficial */
@keyframes neonPulse{
  0%,100%{box-shadow:0 0 8px #25D366, 0 0 20px #25D36660, 0 0 35px #25D36630;}
  50%{box-shadow:0 0 4px #25D366, 0 0 10px #25D36640, 0 0 18px #25D36618;}
}
.nav-wa{
  display:flex;align-items:center;gap:8px;
  background:#25D366;
  color:#fff;
  font-size:13px;font-weight:800;
  padding:10px 22px;border-radius:6px;
  transition:transform .15s, filter .2s;
  box-shadow:0 0 8px #25D366, 0 0 20px #25D36660;
  animation:neonPulse 2.5s ease-in-out infinite;
  letter-spacing:.02em;
}
.nav-wa:hover{transform:translateY(-2px);filter:brightness(1.1);}
.nav-wa img{width:16px;height:16px;filter:brightness(0) invert(1) contrast(100%);}

/* ══ HERO — layout totalmente diferente ══ */
.hero{
  min-height:auto;
  padding-top:146px;
  padding-bottom:0;
   margin-bottom:0;
  display:flex;flex-direction:column;
  position:relative;overflow:hidden;
}
.hero-bg{
  position:absolute;inset:0;
  background:
    radial-gradient(ellipse 60% 70% at 80% 30%, rgba(143,180,154,.18) 0%, transparent 70%),
    radial-gradient(ellipse 40% 50% at 10% 80%, rgba(201,150,12,.08) 0%, transparent 60%),
    var(--sand);
}
.hero-content{
  position:relative;z-index:2;
  display:grid;grid-template-columns:1fr;
  min-height:calc(100vh - 146px);
}
.hero-main{
  padding:72px 64px 64px 72px;
  display:flex;flex-direction:column;justify-content:center;
}
.hero-label{
  position:absolute;top:24px;left:24px;z-index:10;
  display:inline-flex;align-items:center;gap:8px;
  background:var(--forest);color:#fff;
  font-size:10.5px;font-weight:600;letter-spacing:.16em;text-transform:uppercase;
  padding:6px 16px;border-radius:4px;
  width:fit-content;
  opacity:0;animation:rise .6s .05s forwards;
}
.hero-label-dot{width:5px;height:5px;border-radius:50%;background:var(--gold);}
h1{
  font-family:'Cormorant Garamond',serif;
  font-size:clamp(52px,6.5vw,90px);
  font-weight:700;line-height:.95;letter-spacing:-.02em;
  color:var(--forest);margin-bottom:24px;
  opacity:0;animation:rise .7s .15s forwards;
}
h1 em{color:var(--gold);font-style:normal;}
.hero-sub{
  font-size:15.5px;line-height:1.75;color:var(--muted);
  max-width:440px;margin-bottom:40px;font-weight:400;
  opacity:0;animation:rise .7s .25s forwards;
}
.hero-modes{
  display:grid;grid-template-columns:1fr 1fr;gap:10px;
  max-width:400px;margin-bottom:44px;
  opacity:0;animation:rise .7s .35s forwards;
}
.hero-mode{
  display:flex;align-items:center;gap:10px;
  background:rgba(255,255,255,.7);
  border:1px solid var(--border);border-radius:8px;
  padding:12px 16px;font-size:13px;font-weight:500;color:var(--forest);
}
.hero-mode-icon{font-size:18px;}
.hero-btns{
  display:flex;gap:12px;
  opacity:0;animation:rise .7s .45s forwards;
}
.btn-primary{
  display:inline-flex;align-items:center;gap:9px;
  background:var(--gold);color:#fff;
  font-size:14px;font-weight:700;
  padding:14px 28px;border-radius:6px;
  transition:background .2s,transform .15s,box-shadow .2s;
  box-shadow:0 4px 24px rgba(201,150,12,.28);
}
.btn-primary:hover{background:var(--gold2);transform:translateY(-2px);box-shadow:0 8px 36px rgba(201,150,12,.35);}
.btn-sec{
  display:inline-flex;align-items:center;gap:8px;
  border:1.5px solid var(--forest);color:var(--forest);
  font-size:14px;font-weight:600;
  padding:14px 24px;border-radius:6px;
  transition:background .2s,transform .15s;
}
.btn-sec:hover{background:var(--forest);color:#fff;transform:translateY(-1px);}

/* hero right: foto + logo + stats */
.hero-visual {
  position: relative;
  overflow: hidden;
  opacity: 0;
  animation: slideL .8s .2s forwards;
  /* AGREGA ESTO */
  display: flex;
  line-height: 0;
  align-items: flex-end;
}
.hero-img-wrap{position:absolute;inset:0;background:#151e18;}
.hero-img-wrap img.city-bg {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
}
.hero-img-overlay{
  position:absolute;inset:0;
  background:linear-gradient(to top, rgba(44,62,53,.5) 0%, transparent 50%);
}
.hero-logo-center{
  position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);
  width:220px;height:220px;
  display:grid;place-items:center;
}
.hero-logo-center img{
  width:100%;filter:drop-shadow(0 8px 40px rgba(0,0,0,.5));
  animation:spin-slow 30s linear infinite;
  opacity:0.35;
}
@keyframes spin-slow{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}
.hero-stats{
  position:absolute;bottom:10px;left:36px;right:36px;
  display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px;
}
.hero-stat{
  background:rgba(240,235,225,.04);
  -webkit-backdrop-filter:blur(6px);
  backdrop-filter:blur(6px);
  border:1px solid rgba(201,150,12,.2);
  border-radius:8px;padding:7px 10px;text-align:center;
}
.hero-stat-n{
  font-family:'Cormorant Garamond',serif;
  font-size:18px;font-weight:700;color:var(--gold);line-height:1;
}
.hero-stat-l{font-size:9px;color:var(--muted);margin-top:2px;font-weight:500;}




/* ══ TALLERES ══ */
.talleres-section{padding:6px 10px 6px;background:var(--sand);}
.talleres-header{margin-bottom:4px;}
.talleres-title{font-size:14px;font-weight:700;color:var(--forest);letter-spacing:.02em;}
.talleres-sub{font-size:11px;color:var(--muted);margin-top:0;font-weight:400;}
.talleres-cards{display:grid;grid-template-columns:1fr 1fr;gap:4px;}
.tc{
  display:flex;flex-direction:column;
  border-radius:12px;overflow:hidden;
  border:1.5px solid var(--border);
  background:rgba(255,255,255,.85);
  transition:border-color .2s,transform .2s,box-shadow .2s;
}
.tc:hover{border-color:var(--gold);transform:translateY(-3px);box-shadow:0 8px 24px rgba(0,0,0,.12);}
.tc-map{
  width:100%;height:130px;
  object-fit:cover;object-position:center;
  display:block;
}
.tc-map-bachi{object-position:15% 65%;}
.tc-info{padding:8px 10px;}
.tc-label{font-size:9.5px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);}
.tc-val{font-size:14px;font-weight:700;color:var(--forest);margin-top:2px;}
.talleres-hint{font-size:10.5px;color:var(--muted);margin-bottom:4px;font-style:italic;}

/* ══ MAPA MODAL ══ */
#map-modal{
  display:none;position:fixed;inset:0;z-index:9999;
  background:rgba(0,0,0,.85);
  -webkit-backdrop-filter:blur(6px);
  backdrop-filter:blur(6px);
  align-items:center;justify-content:center;cursor:zoom-out;
}
#map-modal.active{display:flex;}
#map-modal-img{
  max-width:92vw;max-height:88vh;
  border-radius:12px;
  box-shadow:0 20px 60px rgba(0,0,0,.6);
}
@keyframes mapZoomIn{from{transform:scale(.85);opacity:0;}to{transform:scale(1);opacity:1;}}
.tc-map{cursor:zoom-in;}
#map-modal-wrap{
  position:relative;
  display:inline-flex;
  animation:mapZoomIn .25s ease;
}
#map-modal-wrap #map-modal-img{
  max-width:92vw;max-height:88vh;
  border-radius:12px;
  box-shadow:0 20px 60px rgba(0,0,0,.6);
  animation:none;
  display:block;
}
#map-close{
  position:absolute;top:-14px;right:-14px;
  width:32px;height:32px;border-radius:50%;
  background:#e01c1c;border:none;
  color:#fff;font-size:15px;line-height:1;
  cursor:pointer;z-index:10000;
  display:grid;place-items:center;
  box-shadow:0 3px 10px rgba(0,0,0,.45);
  transition:background .2s,transform .15s;
}
#map-close:hover{background:#b91414;transform:scale(1.12);}

/* ══ CONTACTO ══ */
.contact-section{padding:6px 10px 6px;background:#edf3f0;}
.contact-header{margin-bottom:4px;}
.contact-title{font-size:14px;font-weight:700;color:var(--forest);letter-spacing:.02em;}
.contact-sub{font-size:11px;color:var(--muted);margin-top:0;font-weight:400;}
.contact-cards{display:grid;grid-template-columns:1fr 1fr;gap:4px;}
.cc{
  display:flex;align-items:center;gap:8px;
  padding:6px 8px;border-radius:10px;
  border:1.5px solid var(--border);
  background:rgba(255,255,255,.75);
  transition:border-color .2s,transform .2s,background .2s;
  cursor:pointer;
}
.cc:hover{border-color:var(--forest);background:var(--forest);transform:translateY(-2px);}
.cc:hover .cc-label,.cc:hover .cc-val{color:#fff;}
.cc-ico{
  width:38px;height:38px;border-radius:9px;
  display:grid;place-items:center;flex-shrink:0;font-size:19px;
}
.cc-phone{background:rgba(44,62,53,.1);}
.cc-wa{background:rgba(37,211,102,.12);}
.cc-ig{background:rgba(225,48,108,.1);}
.cc-fb{background:rgba(24,119,242,.1);}
.cc-tt{background:rgba(0,0,0,.07);}
.cc-label{font-size:9.5px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);transition:color .2s;}
.cc-val{font-size:13px;font-weight:600;color:var(--forest);margin-top:1px;transition:color .2s;}

/* ══ FOOTER ══ */
footer{
  background:var(--forest);
  padding:4px 16px 2px;
}
.ft-inner{
  max-width:1140px;margin:0 auto;
  display:flex;justify-content:space-between;align-items:center;
  flex-wrap:wrap;gap:6px;
  padding-bottom:2px;
  border-bottom:1px solid rgba(255,255,255,.1);
}
.ft-brand{display:flex;align-items:center;gap:10px;}
.ft-logo{width:56px;height:56px;object-fit:contain;}
.ft-name{font-family:'Cormorant Garamond',serif;font-size:22px;font-weight:700;color:#fff;}
.ft-name span{color:var(--gold);}
.ft-sub{font-size:11px;color:rgba(255,255,255,.4);margin-top:1px;}
.ft-socials{display:flex;gap:10px;align-items:center;}
.ft-soc{
  width:42px;height:42px;border-radius:8px;
  background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.1);
  display:grid;place-items:center;
  transition:background .2s,transform .15s;
}
.ft-soc:hover{background:var(--gold);transform:translateY(-2px);}
.ft-copy{
  text-align:center;font-size:11px;
  color:rgba(255,255,255,.25);
  max-width:1140px;margin:4px auto 0;
}
.ft-copy a{color:inherit;text-decoration:none;}
.office-logos{display:flex;align-items:center;justify-content:space-between;gap:4px;margin-top:10px;flex-wrap:nowrap;}
.office-logos img{flex:1 1 0;min-width:0;max-width:34px;height:auto;aspect-ratio:1;object-fit:contain;}

/* ══ WA FLOAT ══ */
.waf{
  position:fixed;
  bottom:20px;   /* 🔥 antes 90px */
  right:20px;
  z-index:998;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:10px;
}
.waf-status{
  display:flex;align-items:center;gap:6px;
  background:rgba(0,0,0,.65);
  padding:6px 12px;border-radius:20px;
  font-size:12px;font-weight:600;color:#fff;
  backdrop-filter:blur(8px);
  text-decoration:none;cursor:pointer;
}
.waf-dot{
  width:8px;height:8px;border-radius:50%;
  background:#25D366;
  animation:dotPulse 1.5s ease-in-out infinite;
}
@keyframes dotPulse{
  0%,100%{opacity:1;box-shadow:0 0 6px #25D366;}
  50%{opacity:0.3;box-shadow:0 0 2px #25D366;}
}
.waf a{
  width:58px;height:58px;border-radius:50%;
  background:#25D366;display:grid;place-items:center;
  box-shadow:0 4px 24px rgba(37,211,102,.45);
  animation:waBouncePulse 1.8s ease-in-out infinite;
  transition:transform .2s;
}
.waf a:hover{transform:scale(1.1);}
.waf img{width:30px;height:30px;filter:brightness(0) invert(1);}

/* ══ ANIM ══ */
@keyframes rise{from{opacity:0;transform:translateY(22px)}to{opacity:1;transform:translateY(0)}}
@keyframes slideL{from{opacity:0;transform:translateX(30px)}to{opacity:1;transform:translateX(0)}}
@keyframes waBouncePulse{
  0%{transform:translateY(0px);box-shadow:0 4px 24px rgba(37,211,102,.45);}
  25%{transform:translateY(-12px);box-shadow:0 8px 28px rgba(37,211,102,.6);}
  50%{transform:translateY(0px);box-shadow:0 4px 24px rgba(37,211,102,.45);}
  75%{transform:translateY(-6px);box-shadow:0 6px 26px rgba(37,211,102,.52);}
  100%{transform:translateY(0px);box-shadow:0 4px 24px rgba(37,211,102,.45);}
}
.fade{opacity:0;transform:translateY(24px);transition:opacity .65s ease,transform .65s ease;}
.fade.on{opacity:1;transform:none;}
.fd1{transition-delay:.08s;}.fd2{transition-delay:.16s;}.fd3{transition-delay:.24s;}.fd4{transition-delay:.32s;}

/* ══ SECRET ══ */
#sec{position:fixed;bottom:0;left:0;width:8px;height:8px;background:transparent;border:none;cursor:default;}

/* ══ DESKTOP — SIN SCROLL ══ */
@media(min-width:961px){
  html,body{height:100vh;overflow:hidden;}
  body{
    display:flex;flex-direction:column;
    padding-top:146px;
    overflow:hidden;
  }

  .main-row{flex:1;display:flex;min-height:0;overflow:hidden;}

  .hero{
    flex:0 0 22%;
    padding-top:0;padding-bottom:0;
    min-height:0;overflow:hidden;
  }
  .hero-content{flex:1;min-height:0;display:flex;flex-direction:column;}
  .hero-visual{flex:none;min-height:0;height:200px;}
  .hero-img-wrap img.city-bg{object-fit:contain;}
  .hero-logo-center{width:110px;height:110px;}
  .hero-stats{bottom:8px;left:14px;right:14px;gap:8px;}
  .hero-stat{padding:5px 8px;}
  .hero-stat-n{font-size:14px;}
  .hero-stat-l{font-size:8px;}
  .hero-label{top:12px;left:14px;padding:4px 10px;font-size:9px;}

  /* Talleres y Contacto: un solo renglón */
  .bottom-row{display:flex;flex-shrink:0;align-items:stretch;}
  .contact-section{flex:0 0 54%;padding:2px 10px;border-right:1px solid var(--border);}
  .contact-header{margin-bottom:2px;display:flex;align-items:baseline;gap:6px;flex-wrap:nowrap;}
  .contact-title{font-size:11px;white-space:nowrap;flex-shrink:0;}
  .contact-sub{font-size:9px;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
  .contact-cards{grid-template-columns:repeat(6,1fr);gap:3px;}
  .cc{padding:3px 5px;border-radius:7px;gap:5px;flex-wrap:nowrap;align-items:center;min-width:0;}
  .cc-ico{width:26px;height:26px;border-radius:6px;font-size:14px;flex-shrink:0;overflow:hidden;padding:0;}
  .cc-ico.whats{padding:4px;box-sizing:border-box;}
  .cc-ico img{width:100%;height:100%;object-fit:contain;display:block;}
  .icon{width:100%;height:100%;border-radius:0;}
  .cc > div{min-width:0;overflow:hidden;}
  .cc-label{font-size:7px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
  .cc-val{font-size:8.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
  .talleres-section{flex:1;padding:3px 12px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:4px;}
  .talleres-header{margin-bottom:0;flex-shrink:0;max-width:none;display:block;}
  .talleres-title{font-size:11px;white-space:nowrap;}
  .talleres-sub{font-size:8.5px;margin:0;line-height:1.3;white-space:nowrap;}
  .talleres-hint{display:none;}
  .talleres-cards{grid-template-columns:repeat(2,130px);gap:4px;flex-shrink:0;}
  .tc{border-radius:7px;}
  .tc-map{height:36px;}
  .tc-val{font-size:9.5px;margin-top:0;}
  .tc-label{font-size:7px;}
  .tc-info{padding:2px 5px;}
  footer{flex-shrink:0;padding:2px 16px 1px;}
  .ft-inner{padding-bottom:1px;gap:4px;justify-content:center;}
  .ft-logo{width:36px;height:36px;}
  .ft-name{font-size:16px;}
  .ft-sub{font-size:9px;}
  .ft-copy{font-size:9px;margin:2px auto 0;}
}

/* ══ RESPONSIVE ══ */
@media(max-width:960px){
  .hero-content{grid-template-columns:1fr; align-items:start; min-height:auto;}
  .hero-visual{height:240px;}
  .hero{min-height:auto;padding-top:136px;}
  .hero-main{padding:30px 28px 40px;}

  nav{padding:12px 20px;height:80px;}
  .nav-logo img{width:65px;height:65px;}
  .bottom-row{flex-direction:column;}
  .contact-section{border-right:none;border-bottom:1px solid var(--border);}
  .talleres-section{padding:16px 16px;}
  .talleres-cards{gap:8px;}
  .contact-section{padding:16px 16px;}
  .contact-cards{gap:8px;}
  footer{padding:7px 24px 7px;}
}
@media(max-width:640px){
  .tb-handle{display:none;}

  .hero-modes{grid-template-columns:1fr;}
  .nav-right{flex-direction:column;gap:8px;align-items:flex-end;}
  .nav-status{font-size:10px;padding:4px 10px;}
  .hero-stat-n {
    font-size: 22px;
  }
  .hero-stat-l {
    font-size: 10px;
    line-height: 1.3;
  }
}

/* ══ ICONS ══ */
.icon-wa, .icon-ig, .icon-fb, .icon-tt {
  display: inline-block;
  vertical-align: middle;
  object-fit: contain;
}
.ft-soc-icon {
  width: 20px; height: 20px;
  filter: brightness(0) invert(1) contrast(100%);
}

.icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
}

/* 🔥 MUY IMPORTANTE */
.cc-ico img {
  filter: none !important;
  mix-blend-mode: normal !important;
}

/* Evita que hereden colores raros */
.cc-ico {
  color: initial !important;
}

.whats img {
  width: 28px;
  height: 28px;
  display: block;
}

/* 🔥 CLAVE para que no se haga blanco o raro */
.cc-ico img {
  filter: none !important;
  mix-blend-mode: normal !important;
}

/* opcional (se ve más pro) */
.cc-ico.whats {
  background: #25D366;
  border-radius: 50%;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}
