/* ===== Destino Climbing — cabecera propia (site-wide) ===== */
.dch-nav{
  position:sticky;top:0;z-index:100;
  background:rgba(255,255,255,.9);
  -webkit-backdrop-filter:saturate(1.3) blur(12px);
  backdrop-filter:saturate(1.3) blur(12px);
  border-bottom:1px solid #e4ecec;
  font-family:'Inter',system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
}
.dch-nav *{box-sizing:border-box;}
.dch-nav-in{max-width:1160px;margin:0 auto;padding:0 22px;height:66px;display:flex;align-items:center;gap:20px;}
.dch-brand{display:flex;align-items:center;gap:10px;font-weight:820;letter-spacing:-.02em;font-size:1.08rem;color:#12201e;text-decoration:none;}
.dch-brand:hover{color:#12201e;}
.dch-mk{width:31px;height:31px;border-radius:10px;background:linear-gradient(145deg,#1A6C7A,#134f5c);display:grid;place-items:center;color:#fff;flex:0 0 auto;box-shadow:0 4px 12px rgba(19,79,92,.28);}
.dch-mk svg{width:17px;height:17px;}
.dch-links{display:flex;gap:26px;margin-left:16px;}
.dch-links a{font-size:.94rem;font-weight:550;color:#31403e;text-decoration:none;transition:color .15s;}
.dch-links a:hover{color:#1A6C7A;}
.dch-nav-cta{margin-left:auto;background:#1A6C7A;color:#fff;font-weight:660;font-size:.92rem;padding:10px 18px;border-radius:11px;text-decoration:none;white-space:nowrap;box-shadow:0 8px 20px rgba(26,108,122,.28);transition:background .15s,transform .12s;}
.dch-nav-cta:hover{background:#134f5c;color:#fff;transform:translateY(-1px);}

/* Hamburguesa + menú móvil */
.dch-burger{display:none;margin-left:8px;background:none;border:0;cursor:pointer;padding:8px 4px;flex-direction:column;gap:5px;flex:0 0 auto;}
.dch-burger span{display:block;width:22px;height:2px;background:#12201e;border-radius:2px;transition:transform .2s,opacity .2s;}
.dch-burger[aria-expanded="true"] span:nth-child(1){transform:translateY(7px) rotate(45deg);}
.dch-burger[aria-expanded="true"] span:nth-child(2){opacity:0;}
.dch-burger[aria-expanded="true"] span:nth-child(3){transform:translateY(-7px) rotate(-45deg);}
.dch-mobile{display:none;flex-direction:column;padding:6px 22px 18px;border-top:1px solid #e4ecec;background:#fff;}
.dch-mobile a{padding:13px 2px;font-size:1rem;font-weight:600;color:#31403e;text-decoration:none;border-bottom:1px solid #eef1f4;}
.dch-mobile a:hover{color:#1A6C7A;}
.dch-mobile .dch-mobile-cta{margin-top:14px;background:#1A6C7A;color:#fff;text-align:center;border-radius:11px;border-bottom:0;padding:13px;}
.dch-mobile .dch-mobile-cta:hover{color:#fff;background:#134f5c;}
.dch-mobile.open{display:flex;}

/* Pie de página propio */
.dch-foot{background:#0f1a19;color:#c4d2d1;font-family:'Inter',system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;}
.dch-foot *{box-sizing:border-box;}
.dch-foot-in{max-width:1160px;margin:0 auto;padding:52px 22px 34px;display:grid;grid-template-columns:1.4fr 2fr;gap:44px;}
.dch-foot-brand .dch-brand{color:#fff;margin-bottom:14px;}
.dch-foot-brand p{font-size:.9rem;color:#8ba0a0;max-width:40ch;margin:0 0 20px;line-height:1.65;}
.dch-foot-brand .dch-nav-cta{margin-left:0;display:inline-flex;}
.dch-foot-cols{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;}
.dch-foot-col h4,.dch-foot-col .dch-foot-hd{font-size:.76rem;text-transform:uppercase;letter-spacing:.09em;color:#fff;margin:0 0 13px;}
.dch-foot-col a{display:block;font-size:.9rem;color:#8ba0a0;padding:5px 0;text-decoration:none;transition:color .15s;}
.dch-foot-col a:hover{color:#42a5b5;}
.dch-foot-legal{max-width:1160px;margin:0 auto;padding:4px 22px 16px;font-size:.76rem;line-height:1.55;color:#8fa4a4;}
.dch-foot-bar{border-top:1px solid #223130;}
.dch-foot-bar{max-width:1160px;margin:0 auto;padding:18px 22px;display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;font-size:.82rem;color:#9ab0b0;}

@media (max-width:768px){
  .dch-links{display:none;}
  .dch-burger{display:flex;}
  .dch-nav-in{height:60px;gap:10px;}
  .dch-brand{font-size:1rem;}
  .dch-foot-in{grid-template-columns:1fr;gap:30px;}
}
@media (max-width:430px){
  .dch-nav .dch-nav-cta{display:none;} /* en móvil pequeño el CTA vive en el menú */
}
@media (prefers-reduced-motion:reduce){.dch-nav-cta,.dch-burger span{transition:none;}}

/* ===== Botones flotantes: WhatsApp + asistente "¿Te ayudamos?" ===== */
.dch-fabs{position:fixed;right:20px;bottom:20px;z-index:9000;display:flex;flex-direction:column;align-items:flex-end;gap:12px;font-family:'Inter',system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;}
.dch-fabs *{box-sizing:border-box;}
.dch-fab{display:inline-flex;align-items:center;gap:9px;cursor:pointer;border:0;text-decoration:none;box-shadow:0 10px 26px rgba(16,40,44,.28);transition:transform .14s,box-shadow .14s;}
.dch-fab:hover{transform:translateY(-2px);box-shadow:0 14px 32px rgba(16,40,44,.34);}
.dch-fab-wa{width:56px;height:56px;border-radius:50%;background:#25D366;color:#fff;justify-content:center;}
.dch-fab-wa svg{width:30px;height:30px;}
.dch-fab-help{padding:12px 18px;border-radius:999px;background:#1A6C7A;color:#fff;font-weight:660;font-size:.94rem;font-family:inherit;}
.dch-fab-help svg{width:19px;height:19px;}
.dch-help-panel{background:#fff;border:1px solid #e4ecec;border-radius:16px;box-shadow:0 20px 50px rgba(16,40,44,.22);padding:10px;width:250px;display:flex;flex-direction:column;gap:2px;}
.dch-help-title{font-weight:750;color:#12201e;font-size:.9rem;padding:8px 10px 6px;}
.dch-help-panel a{display:flex;align-items:center;gap:10px;padding:11px 10px;border-radius:10px;color:#31403e;font-size:.92rem;font-weight:600;text-decoration:none;}
.dch-help-panel a:hover{background:#e7f2f4;color:#134f5c;}
.dch-help-panel a span{font-size:1.05rem;}
@media (max-width:600px){
  .dch-fabs{right:14px;bottom:14px;gap:10px;}
  .dch-fab-help span{display:none;}
  .dch-fab-help{padding:0;width:52px;height:52px;border-radius:50%;justify-content:center;}
  .dch-fab-help svg{width:22px;height:22px;}
  .dch-fab-wa{width:52px;height:52px;}
  .dch-help-panel{width:220px;}
}

/* ===== Ajustes tras revisión ===== */
/* Fuente del sistema en todos nuestros componentes (sin cargar fuentes = velocidad) */
.dch, .dch *, .dch-nav, .dch-nav *, .dch-foot, .dch-foot *, .dch-fabs, .dch-fabs *{font-family:'Inter',system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif !important;}
/* CTA "Encontrar guía": texto blanco visible (Astra lo pisaba) */
.dch-nav .dch-nav-cta, .dch-nav .dch-nav-cta:hover, .dch-nav .dch-nav-cta:focus{color:#fff !important;}
.dch-mobile .dch-mobile-cta{color:#fff !important;}
.dch-foot .dch-nav-cta{color:#fff !important;}
/* Panel de ayuda cerrado por defecto (el atributo hidden lo pisaba display:flex) */
.dch-help-panel[hidden]{display:none !important;}
/* Logo real en cabecera y pie */
.dch-logo{display:inline-flex;align-items:center;}
.dch-logo img,.dch-logo .custom-logo{height:42px;width:auto;max-width:200px;display:block;}
.dch-foot .dch-logo img,.dch-foot .dch-logo .custom-logo{height:40px;}

/* Blindar el flotante "¿Te ayudamos?" (button) contra los estilos de botón de Astra */
.dch-fabs .dch-fab-help{border:0 !important;padding:12px 18px !important;background:#1A6C7A !important;color:#fff !important;line-height:1 !important;min-width:0 !important;}
.dch-fabs .dch-fab-help svg{width:19px !important;height:19px !important;}
@media (max-width:600px){
  .dch-fabs .dch-fab-help{padding:0 !important;width:52px !important;height:52px !important;border-radius:50% !important;}
  .dch-fabs .dch-fab-help svg{width:22px !important;height:22px !important;}
}

/* Cabecera con fondo blanco sólido (re-skin) */
.dch-nav{background:#fff !important;}

/* Header con más presencia (revisión 2) */
.dch-nav{box-shadow:0 1px 14px rgba(16,40,44,.07);}
.dch-nav-in{height:74px;}
.dch-logo img,.dch-logo .custom-logo{height:46px;}
.dch-links{gap:20px;}
.dch-links a{font-size:.97rem;}

/* Botón "Date de alta como guía" en cabecera (patrón GuruWalk) */
.dch-nav-guide{margin-left:auto;display:inline-flex;align-items:center;color:#1A6C7A !important;border:1.5px solid #1A6C7A;background:#fff;font-weight:650;font-size:.9rem;padding:9px 16px;border-radius:11px;text-decoration:none;white-space:nowrap;transition:background .15s;}
.dch-nav-guide:hover{background:#e7f2f4;color:#134f5c !important;}
.dch-nav-guide + .dch-nav-cta{margin-left:12px;}
@media (max-width:1100px){ .dch-nav .dch-nav-guide{display:none;} } /* en móvil vive en el menú */

/* ===== Menú móvil: drawer lateral (rediseño) ===== */
.dch-scrim{position:fixed;inset:0;background:rgba(6,20,22,.5);opacity:0;pointer-events:none;transition:opacity .25s;z-index:9400;}
.dch-scrim.open{opacity:1;pointer-events:auto;}
.dch-mobile{display:flex !important;flex-direction:column;position:fixed;top:0;right:0;bottom:0;width:min(330px,88vw);background:#fff;z-index:9500;transform:translateX(105%);transition:transform .28s cubic-bezier(.4,0,.2,1);box-shadow:-14px 0 44px rgba(6,20,22,.22);padding:14px 22px 22px;overflow-y:auto;border-top:0;}
.dch-mobile.open{transform:none;}
.dch-mobile-top{display:flex;align-items:center;justify-content:space-between;padding:4px 0 10px;border-bottom:1px solid #eef1f4;margin-bottom:6px;}
.dch-mobile-title{font-weight:800;font-size:1.05rem;color:#12201e;}
.dch-mclose{background:#f3f7f7 !important;border:0 !important;width:38px !important;height:38px !important;min-width:38px;min-height:38px;max-width:38px;max-height:38px;padding:0 !important;box-sizing:border-box !important;border-radius:50% !important;aspect-ratio:1;display:grid;place-items:center;cursor:pointer;color:#12201e !important;line-height:1;flex:0 0 auto;}
.dch-mclose svg{width:18px;height:18px;}
.dch-mobile-links{display:flex;flex-direction:column;}
.dch-mobile-links a{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 2px;font-size:1.02rem;font-weight:600;color:#31403e;text-decoration:none;border-bottom:1px solid #eef1f4;}
.dch-mobile-links a svg{width:16px;height:16px;color:#9fb0b0;flex:0 0 auto;}
.dch-mobile-links a:hover{color:#1A6C7A;}
.dch-mobile-actions{margin-top:auto;display:flex;flex-direction:column;gap:10px;padding-top:18px;}
.dch-mobile-actions .dch-mobile-cta{margin:0;background:#1A6C7A;color:#fff !important;text-align:center;border-radius:12px;border:0;padding:13px;font-weight:700;text-decoration:none;}
.dch-mobile-actions .dch-mobile-alt{border:1.5px solid #1A6C7A;color:#1A6C7A !important;text-align:center;border-radius:12px;padding:12px;font-weight:650;text-decoration:none;background:#fff;}

/* El drawer fuera de pantalla no debe crear scroll lateral (clip no rompe position:sticky) */
html{overflow-x:clip;}
@supports not (overflow:clip){ html{overflow-x:hidden;} }

/* ===== Fixes menú móvil (logo + hamburguesa) ===== */
/* Hamburguesa pegada a la derecha (cuando el CTA se oculta nada la empujaba) */
@media (max-width:768px){ .dch-burger{margin-left:auto;} }
/* Logo: sin recortes ni deformación; más pequeño en móvil = más nítido en pantallas retina
   (el archivo del logo es 276x92; a menos altura mostrada, menos upscale) */
.dch-logo .custom-logo-link{display:block;line-height:0;}
.dch-logo img,.dch-logo .custom-logo{height:44px !important;width:auto !important;max-width:none !important;object-fit:contain;}
@media (max-width:768px){ .dch-logo img,.dch-logo .custom-logo{height:34px !important;} }
