/* =======================================================
   BTRAINING — CSS SIMPLIFICADO (solo lo usado en index.html)
   ======================================================= */

/* ====== Paleta ====== */
:root{
  --bg:#16171b;
  --bg-soft:#1d1e24;
  --card:#20232b;
  --text:#f7f8fa;
  --muted:#c1c4cc;
  --accent:#e51024;
  --accent-2:#ff3954;
  --line:#2e3038;
}

/* ====== Base ====== */
*{box-sizing:border-box;margin:0;padding:0}
html,body{
  background:var(--bg);color:var(--text);
  font-family:Montserrat,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,"Helvetica Neue",Arial,sans-serif;
  overflow-x:hidden;
}
a{color:inherit;text-decoration:none;position:relative}
img{max-width:100%;display:block}
.container{width:min(1120px,92vw);margin-inline:auto}
.grid{display:grid;gap:1.25rem}

/* ====== Botones ====== */
.btn{
  display:inline-flex;align-items:center;gap:.6rem;
  padding:.9rem 1.1rem;border:1px solid var(--line);
  border-radius:14px;background:var(--card);font-weight:700;
  letter-spacing:.2px;cursor:pointer;position:relative;overflow:hidden;
  transition:.25s ease;
}
.btn::before{
  content:"";position:absolute;inset:0;
  background:linear-gradient(90deg,var(--accent),var(--accent-2));
  opacity:0;transition:opacity .25s ease;z-index:-1;
}
.btn:hover::before{opacity:.85}
.btn:hover{color:#fff;transform:translateY(-1px);box-shadow:0 0 12px rgba(229,16,36,.25)}
.btn.secondary{background:transparent;border-color:var(--line)}
.btn .ico{width:18px;height:18px}

/* ====== Header / Nav ====== */
header{
  position:sticky;top:0;z-index:40;
  backdrop-filter:saturate(1.2) blur(8px);
  background:color-mix(in oklab,var(--bg) 85%,transparent);
}
nav{
  display:flex;align-items:center;justify-content:space-between;
  padding:16px 0;border-bottom:1px solid color-mix(in oklab,var(--line) 80%,transparent);
}
nav .brand{display:flex;align-items:center;gap:.8rem}
.logo{
  width:34px;height:34px;border-radius:9px;
  background:conic-gradient(from 220deg,var(--accent),var(--accent-2));
  display:grid;place-items:center;color:#fff;font-weight:800;
  box-shadow:0 0 40px color-mix(in oklab,var(--accent-2) 20%,transparent);
}
.navlinks{display:flex;gap:1rem;align-items:center}
.navlinks a{padding:.6rem .8rem;border-radius:8px;transition:color .3s ease}
.navlinks a:hover{color:var(--accent)}
.navlinks a.is-active{color:var(--accent-2)}
.navlinks a.is-active::after{
  content:"";position:absolute;left:0;bottom:-2px;height:2px;width:100%;
  background:linear-gradient(90deg,var(--accent),var(--accent-2));border-radius:2px;
}

/* ====== Hero ====== */
.hero{position:relative;isolation:isolate}
.hero .wrap{
  display:grid;grid-template-columns:1.1fr .9fr;gap:2.2rem;align-items:center;
  padding:90px 0 60px;
}
.kicker{color:var(--accent);font-weight:600;text-transform:uppercase;letter-spacing:.24em}
h1{font-size:clamp(2rem,3.8vw,3.4rem);line-height:1.05;margin:.4rem 0 .8rem}
.lead{color:var(--muted);font-size:clamp(.98rem,1.4vw,1.05rem);max-width:60ch;line-height:1.6;text-align: left;}
.cta{display:flex;gap:.8rem;flex-wrap:wrap;margin-top:1.2rem}
.bullet{display:flex;gap:.6rem;align-items:center;color:var(--muted)}
.bullet .dot{width:7px;height:7px;border-radius:99px;background:var(--accent)}

/* Fondo del hero (div .bgfx del HTML) */
.bgfx{
  position:absolute;inset:-10% -10% -20% -10%;z-index:-1;pointer-events:none;
  background:
    radial-gradient(1200px 420px at 20% 10%,color-mix(in oklab,var(--accent-2) 18%,transparent),transparent 60%),
    radial-gradient(900px 380px at 90% 20%,color-mix(in oklab,var(--accent) 16%,transparent),transparent 60%),
    linear-gradient(180deg,color-mix(in oklab,var(--bg) 92%,transparent),transparent 60%);
}

/* ====== Bloques glass ====== */
.glass{
  border:1px solid var(--line);
  background:linear-gradient(180deg,
    color-mix(in oklab,var(--card) 80%,transparent),
    color-mix(in oklab,var(--card) 60%,transparent));
  border-radius:18px;
  box-shadow:0 8px 38px rgba(0,0,0,.28);
}

/* ====== Secciones / Títulos / Tarjetas ====== */
section{padding:72px 0;border-top:1px solid var(--line);position:relative}
.title{display:flex;align-items:end;justify-content:space-between;gap:1rem;margin-bottom:28px; text-align: left;}
.title h2{font-size:clamp(1.4rem,2.6vw,2.2rem);border-left:4px solid var(--accent);padding-left:10px;margin:0;}
.title p{color:var(--muted);max-width:60ch}
.title-stack{flex-direction:column;align-items:flex-start;justify-content:flex-start}
.title-lead{max-width:72ch;margin-top:.4rem;color:var(--muted);font-size:1.05rem;line-height:1.75;}

.cards{display:grid;grid-template-columns:repeat(12,1fr);gap:1rem}
.card{
  grid-column:span 4;background:var(--card);border:1px solid var(--line);
  border-radius:16px;padding:18px;position:relative;
  transition:transform .3s ease,border-color .2s ease; /* sin overlay */
  overflow:visible; /* evita cortar contenido interno */
}
.card:hover{transform:translateY(-2px);border-color:color-mix(in oklab,var(--line) 70%,var(--accent) 30%)}
.card h3{margin:.2rem 0 .3rem}
.meta{color:var(--muted);font-size:.95rem}

/* ====== Servicios (compacto, con chips) ====== */
.service-compact{display:flex;flex-direction:column;gap:14px;padding-top:18px}

/* Barra superior de cada servicio */
.service-bar{
  display:flex;align-items:center;gap:12px;
  background:color-mix(in oklab,var(--bg-soft) 75%,transparent);
  border:1px solid color-mix(in oklab,var(--line) 85%,transparent);
  border-radius:12px;padding:10px 12px;
}
.bar-text{display:flex;flex-direction:column;gap:6px;min-width:0}
.service-compact h3{margin:0;font-size:1.1rem;line-height:1.2;letter-spacing:.2px}

/* Icono circular */
.icon-circle{
  flex:0 0 46px;width:46px;aspect-ratio:1/1;border-radius:50%;
  display:grid;place-items:center;color:#fff;font-size:1.05rem;
  background:linear-gradient(135deg,var(--accent),var(--accent-2));
  box-shadow:0 0 10px color-mix(in oklab,var(--accent-2) 35%,transparent);
}

/* Chips */
.chips{display:flex;flex-wrap:wrap;gap:6px}
.chip{
  padding:.26rem .52rem;font-size:.82rem;font-weight:700;color:#fff;
  border-radius:999px;white-space:nowrap;
  background:linear-gradient(90deg,var(--accent),var(--accent-2));
}

/* Bullets + separador + listas */
.bullets{margin:2px 0 0 0;padding-left:1.1rem;display:grid;gap:6px;overflow:visible}
.bullets li{line-height:1.65;color:var(--text);overflow-wrap:anywhere}

.micro-sep{
  height:2px;width:100%;
  background:linear-gradient(90deg,transparent,var(--accent),var(--accent-2),transparent);
  border-radius:2px;opacity:.35;margin-top:4px;
}

.includes{margin-top:2px}
.inc-title{
  margin:10px 0 6px;font-weight:800;color:var(--muted);
  text-transform:uppercase;letter-spacing:.08em;font-size:.78rem;
}
.inc-list{
  list-style:none;margin:0;padding:0;
  display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));
  gap:8px 16px;overflow:visible;
}
.inc-list li{
  position:relative;padding-left:18px;color:var(--muted);
  line-height:1.55;overflow-wrap:anywhere;word-break:normal;hyphens:auto;
}
.inc-list li::before{
  content:"✓";position:absolute;left:0;top:0;color:var(--accent);font-weight:800;
}

/* ====== Dashboard ====== */
.dashboard{display:grid;grid-template-columns:1.1fr .9fr;gap:1.2rem;align-items:stretch}
.panel{background:var(--card);border:1px solid var(--line);border-radius:16px;padding:16px;box-shadow:0 4px 14px rgba(0,0,0,.22)}
.kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:10px}
.kpi{padding:14px;border:1px dashed var(--line);border-radius:12px;background:color-mix(in oklab,var(--card) 94%,white 6%)}
.kpi b{font-size:1.2rem}
.spark{height:40px;background:linear-gradient(90deg,transparent,transparent 4%,color-mix(in oklab,var(--accent) 22%,transparent) 4%,transparent 8%) left top/12px 100% repeat-x;border-radius:10px;margin-top:8px}
.radar{aspect-ratio:1/1;background:conic-gradient(from 270deg,color-mix(in oklab,var(--accent) 30%,transparent) 0 40%,transparent 40% 100%);border-radius:16px;border:1px solid var(--line)}

/* ====== Portafolio ====== */
.portfolio{display:grid;grid-template-columns:repeat(12,1fr);gap:12px}
.shot{grid-column:span 4;border-radius:16px;overflow:hidden;border:1px solid var(--line);position:relative;transition:transform .35s ease,border-color .2s}
.shot:hover{transform:translateY(-2px);border-color:color-mix(in oklab,var(--line) 65%,var(--accent) 35%)}
.shot::after{
  content:"Ver proyecto";position:absolute;inset:auto auto 10px 10px;font-size:.9rem;padding:.4rem .6rem;border-radius:10px;
  background:color-mix(in oklab,var(--bg) 78%,transparent);border:1px solid var(--line);
  opacity:0;transform:translateY(8px);transition:.24s;
}
.shot:hover::after{opacity:1;transform:translateY(0)}
.ph{aspect-ratio:16/10;background:
  radial-gradient(600px 200px at 0% 0%,color-mix(in oklab,var(--accent-2) 20%,transparent) 0 40%,transparent 60%),
  linear-gradient(135deg,#13151b,#1b1f29 60%,#13151b)}

/* ====== Testimonios ====== */
.testi{display:grid;grid-template-columns:1.2fr .8fr;gap:1rem}
.quote{background:var(--card);border:1px solid var(--line);border-radius:16px;padding:18px;min-height:180px;border-left:4px solid var(--accent)}
.stars{letter-spacing:3px;color:gold}
.logos{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;opacity:.9}
.logoBox{height:54px;border:1px dashed var(--line);border-radius:12px;display:grid;place-items:center;color:var(--muted)}

/* ====== Contacto ====== */
.contact{display:grid;grid-template-columns:1fr .8fr;gap:1rem}
.whatsapp{display:flex;gap:.8rem;align-items:center}
.qr{width:140px;height:140px;border-radius:12px;border:1px solid var(--line);display:grid;place-items:center;background:repeating-linear-gradient(45deg,#222 0 8px,#171717 8px 16px)}
.foot{border-top:1px solid var(--line);padding:28px 0;color:var(--muted);font-size:.95rem}

/* ====== Reveal ====== */
[data-reveal]{opacity:0;transform:translateY(16px);transition:.6s cubic-bezier(.2,.7,.2,1)}
[data-reveal].show{opacity:1;transform:none}
/* ===== HERO GALLERY — FIX marco + superposición ===== */

/* Contenedor visual del grid dentro del hero */
.hero .hero-gallery{
  padding:14px;
  border-radius:18px;
  background:linear-gradient(180deg,
    color-mix(in oklab,var(--card) 86%,transparent),
    color-mix(in oklab,var(--card) 70%,transparent));
  /* evita que el marco se “derrame” hacia la siguiente sección */
  max-height: min(56vh, 540px);
  overflow: hidden;
  box-sizing: border-box;
}

/* Layout “Dominante + tira vertical” */
.hero .g-dominant-clean{
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 12px;
  align-items: stretch;   /* ambas columnas misma altura interna */
  height: 100%;
  min-height: 360px;      /* altura mínima cómoda */
}

.hero .g-dominant-clean figure{
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  min-height: 0;          /* permite que el grid las reduzca sin desbordar */
}

.hero .g-dominant-clean img{
  width: 100%;
  height: 100%;
  object-fit: cover;      /* recorte limpio, sin aplastar */
  display: block;
}

/* Imagen principal: llena su columna sin forzar el grid */
.hero .g-dominant-clean .lead{
  height: 100%;
}

/* Columna de 3 miniaturas: alturas iguales, sin montarse */
.hero .g-dominant-clean .side{
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  gap: 12px;
  height: 100%;
  min-height: 0;
}

/* Puntos de recorte (ajústalos si lo deseas) */
.hero .g-dominant-clean .lead img{ object-position: 10% 42%; }
.hero .g-dominant-clean .side figure:nth-child(1) img{ object-position: center 80%; }
.hero .g-dominant-clean .side figure:nth-child(2) img{ object-position: 65% 80%; }
.hero .g-dominant-clean .side figure:nth-child(3) img{ object-position: 65% 80%; }
.hero .g-dominant-clean .side figure:nth-child(4) img{ object-position: center; }

/* --- Responsive --- */
@media (max-width: 980px){
  .hero .hero-gallery{
    max-height: none;     /* en móvil dejamos que crezca natural */
  }
  .hero .g-dominant-clean{
    grid-template-columns: 1fr;
    gap: 10px;
    height: auto;
  }
  .hero .g-dominant-clean .lead{
    aspect-ratio: 16 / 10;
    height: auto;
  }
  .hero .g-dominant-clean .side{
    grid-template-columns: repeat(3,1fr);
    grid-template-rows: none;
  }
}
/* ===== Casos & Proyectos — Comparativa lado a lado con lupa ===== */
#casos .compare-grid{
  display:grid;
  grid-template-columns:repeat(12,1fr);
  gap:14px;
}
#casos .compare-card{
  grid-column:span 6;
  padding:14px;border-radius:18px;
}
@media(max-width:980px){
  #casos .compare-card{grid-column:span 12}
}

#casos .compare-head{
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  margin-bottom:10px;
}
#casos .compare-head h3{margin:0}
#casos .compare-head .chips{gap:6px}

/* Escenario lado a lado */
#casos .compare-stage{
  display:grid;gap:12px;
  grid-template-columns:1fr 1fr;
}
#casos .pane{
  position:relative;border-radius:14px;overflow:hidden;
  aspect-ratio:4/5;           /* vertical consistente */
  border:1px solid var(--line);
  background:#0d0f13;
}
#casos .pane img{
  width:100%;height:100%;object-fit:cover;display:block;
}

/* Etiquetas */
#casos .badge{
  position:absolute;left:10px;top:10px;z-index:2;
  padding:.22rem .5rem;border-radius:999px;
  background:linear-gradient(90deg,var(--accent),var(--accent-2));
  color:#fff;font-weight:800;font-size:.82rem;
}
#casos .badge.after{opacity:.9}

/* Lupa sincronizada */
#casos .lens{
  position:absolute;inset:auto;z-index:3;pointer-events:none;
  width:130px;height:130px;border-radius:999px;
  border:2px solid #fff;box-shadow:0 8px 20px rgba(0,0,0,.35),0 0 0 4px rgba(229,16,36,.18);
  transform:translate(-50%,-50%);opacity:0;transition:opacity .2s ease;
  background-repeat:no-repeat;background-size:cover;background-position:center;
}
@media(max-width:520px){
  #casos .lens{width:110px;height:110px}
}

/* Mostrar lupa al interactuar */
/* Mostrar SOLO la lupa del pane activo */
#casos .compare-stage.is-active .lens{opacity:0}           /* por defecto, ocultas */
#casos .pane.is-hot .lens{opacity:1}                       /* solo la del pane activo */

/* (opcional) resalta el pane activo */
#casos .pane.is-hot{outline:2px solid rgba(229,16,36,.35); outline-offset:-2px;}

/* Pequeño efecto al pasar */
#casos .pane::after{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:radial-gradient(120% 120% at 50% 60%,transparent 40%,rgba(0,0,0,.18) 100%);
}
/* ===== Testimonios — versión atractiva ===== */
#testimonios{ padding-block:6rem; }
#testimonios .title{ text-align:center; margin-bottom:2.2rem; }
#testimonios .title h2{ font-weight:800; font-size:2rem; }

/* Grid: desktop 2x2; móvil carrusel con snap */
#testimonios .testimonios-grid.fancy{
  display:grid;
  grid-template-columns:repeat(12,1fr);
  gap:18px;
  position:relative;
}
#testimonios .testimonios-grid.fancy .testimonial{
  grid-column:span 6;
  border-radius:18px;
  padding:1.6rem 1.6rem 1.4rem;
  position:relative;
  background: color-mix(in oklab, var(--card) 92%, transparent);
  border:1px solid var(--line);
  overflow:hidden;
  isolation:isolate;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
/* Borde gradiente sutil */
#testimonios .testimonios-grid.fancy .testimonial::before{
  content:"";
  position:absolute; inset:0; border-radius:inherit; z-index:-1;
  padding:1px; mask:linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask:linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  background: linear-gradient(135deg, color-mix(in oklab,var(--accent) 60%, transparent),
                                     color-mix(in oklab,var(--accent-2) 50%, transparent));
  opacity:.28;
}
#testimonios .testimonios-grid.fancy .testimonial:hover{
  transform:translateY(-4px);
  box-shadow:0 10px 30px rgba(0,0,0,.35);
  border-color: color-mix(in oklab, var(--line) 65%, var(--accent) 35%);
}

/* Header con avatar */
#testimonios .t-head{ display:flex; align-items:center; gap:.9rem; margin-bottom:.8rem; }
#testimonios .t-head .avatar{
  width:56px; height:56px; flex:0 0 56px;
  border-radius:50%; overflow:hidden; position:relative;
  box-shadow:0 0 0 3px rgba(229,16,36,.22), 0 6px 18px rgba(0,0,0,.25);
  background:var(--line);
}
#testimonios .t-head .avatar img{
  width:100%; height:100%; object-fit:cover; display:block;
}
#testimonios .t-head .avatar::after{
  content:""; position:absolute; inset:-2px; border-radius:50%;
  border:2px solid transparent;
  background:linear-gradient(135deg,var(--accent),var(--accent-2)) border-box;
  -webkit-mask:linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite:xor; mask-composite:exclude;
}

#testimonios .t-head .who h4{ margin:0; font-weight:800; letter-spacing:.2px; }
#testimonios .t-head .tag{
  display:inline-block; margin-top:2px; font-size:.82rem; color:var(--muted);
}

/* Texto tipo pull-quote */
#testimonios .testimonial-text{
  font-size:1.06rem; line-height:1.7; color:var(--text); margin:0;
  position:relative;
  text-align: justify;
}
#testimonios .testimonial-text::before{
  content:"“"; position:absolute; left:-6px; top:-16px; font-size:3.6rem;
  color:rgba(255,255,255,.06); font-weight:800; line-height:1;
}
#testimonios .testimonial-text mark{
  background: linear-gradient(90deg, color-mix(in oklab,var(--accent) 35%, transparent),
                                    color-mix(in oklab,var(--accent-2) 30%, transparent));
  color:#fff; padding:.04rem .25rem; border-radius:.35rem;
}

/* Carrusel móvil con snap y desvanecidos laterales */
@media (max-width:980px){
  #testimonios .testimonios-grid.fancy{
    display:flex; gap:14px; overflow:auto; scroll-snap-type:x mandatory; padding:2px;
  }
  #testimonios .testimonios-grid.fancy::before,
  #testimonios .testimonios-grid.fancy::after{
    content:""; align-self:stretch; flex:0 0 16px; pointer-events:none;
    background:linear-gradient(90deg, rgba(22,23,27,1), rgba(22,23,27,0));
    position:sticky; left:0; z-index:2;
  }
  #testimonios .testimonios-grid.fancy::after{
    background:linear-gradient(270deg, rgba(22,23,27,1), rgba(22,23,27,0));
    left:auto; right:0;
  }
  #testimonios .testimonios-grid.fancy .testimonial{
    min-width:82%; scroll-snap-align:center;
  }
}
#testimonios .stars{color:color-mix(in oklab,var(--accent-2) 85%, #fff); font-size:.9rem; letter-spacing:.08em;}
/* === Dashboard Section === */
/* === Dashboard Section === */
.grid-dashboard {
  display: grid;
  grid-template-columns: 0.9fr 1.3fr; /* le da más espacio a la imagen */
  gap: 3.5rem;
  align-items: center;
  min-height: 90vh; /* asegura que la imagen respire bien */
}

.dash-text {
  padding-right: 2rem;
}

.dash-image {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0,0,0,.5);
  transform: scale(1.05); /* agranda visualmente la imagen */
  transition: transform 0.6s ease;
}

.dash-image:hover {
  transform: scale(1.07);
}

.dash-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
  filter: saturate(1.2) contrast(1.05);
}

.overlay-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(229,16,36,.1), rgba(0,0,0,.6));
  mix-blend-mode: multiply;
  pointer-events: none;
  border-radius: 20px;
}




.dash-text h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--text);
}

.dash-text p {
  font-size: 1.1rem;
  color: #c6c6c6;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.dash-text ul {
  list-style: none;
  padding: 0;
}

.dash-text li {
  margin-bottom: .8rem;
  color: #eee;
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: 1rem;
}

.dash-image {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0,0,0,.5);
}

.dash-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
  filter: saturate(1.2) contrast(1.05);
  transition: transform .6s ease;
}

.dash-image:hover img {
  transform: scale(1.03);
}

.overlay-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(229,16,36,.1), rgba(0,0,0,.6));
  mix-blend-mode: multiply;
  pointer-events: none;
  border-radius: 20px;
}
/* === Dashboard Section === */
.dashboard-section {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.dashboard-section .container {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.dash-text {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.dash-text h2 {
  font-size: 2.2rem;
  color: var(--text);
  margin-bottom: 1rem;
}

.dash-text p {
  color: #c8c8c8;
  line-height: 1.6;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.dash-text ul {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.2rem;
}

.dash-text li {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 0.5rem 1rem;
  border-radius: 12px;
  font-size: 0.95rem;
  color: #f3f3f3;
}

/* Imagen de dashboard sin filtros */
.dash-fullwidth {
  position: relative;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

.dash-fullwidth img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
  transition: transform 0.6s ease;
}

.dash-fullwidth:hover img {
  transform: scale(1.02);
}

/* Sutil gradiente superior e inferior */
.overlay-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.4) 100%);
  pointer-events: none;
}
.title-underline {
  position: relative;
  display: inline-block;
  color: var(--text);
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.title-underline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width:100%;
  height: 3px;
  background: linear-gradient(90deg, #e51024, transparent);
  border-radius: 4px;
  transition: width 0.4s ease;
}

.title-underline:hover::after {
  width: 100%;
}
/* === Botón WhatsApp Header === */
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: linear-gradient(90deg, #25d366, #1ebe5c);
  color: #fff;
  font-weight: 600;
  padding: 0.65rem 1.3rem;
  border-radius: 10px;
  transition: all 0.3s ease;
  text-decoration: none;
  border: none;
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.25);
  background: linear-gradient(90deg, #1ebe5c, #25d366);
  color: #fff;
}

.btn-whatsapp i {
  font-size: 1.2rem;
  line-height: 0;
}
/* Agenda rápida */
#agenda-rapida { padding-block: 64px; }
#agenda-rapida .title { text-align:center; margin-bottom: 24px; }

.quick-form{
  max-width: 680px; margin: 0 auto;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px; padding: 22px;
  box-shadow: 0 6px 20px rgba(0,0,0,.35);
}

.quick-form .form-grid{ display:grid; gap:12px; }
.quick-form input, .quick-form textarea{
  width:100%; background:#141518; color:#fff;
  border:1px solid rgba(255,255,255,0.12);
  border-radius:10px; padding:.85rem 1rem; font-size:.98rem;
}
.quick-form input:focus, .quick-form textarea:focus{
  outline:none; border-color:var(--accent);
  box-shadow:0 0 0 2px rgba(229,16,36,.2);
}

.quick-form .btn-primary{
  margin-top:6px; background:linear-gradient(90deg,#e51024,#a10e1a);
  color:#fff; border:none; border-radius:10px; padding:.9rem 1.6rem;
  font-weight:700; cursor:pointer; transition:.25s ease;
}
.quick-form .btn-primary:hover{ transform:translateY(-2px); box-shadow:0 8px 20px rgba(229,16,36,.25); }

.form-status{ margin-top:10px; color:var(--muted); font-size:.95rem; min-height:1.2em; }
.form-status.ok{ color:#17c964; }
.form-status.err{ color:#ff6b6b; }
/* Panel de Contacto (izquierda) */
.contact-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
  position: relative;
}

/* barra roja lateral como en otras secciones */
.contact-card::before{
  content:"";
  position:absolute; left:-1px; top:18px;
  width:4px; height:28px;
  background: var(--accent,#e51024);
  border-radius: 6px;
}

/* encabezado */
.contact-card h3{
  margin:0 0 6px;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text,#fff);
}
.contact-lead{
  color:#c9c9c9;
  margin-bottom: 14px;
}

/* botón WA alineado */
.contact-actions{
  display:flex; gap:10px; align-items:center;
  margin-bottom: 14px;
}

/* cuerpo en 2 columnas: QR + datos */
.contact-body{
  display:grid;
  grid-template-columns: 140px 1fr;
  gap:16px;
  align-items:start;
}

.contact-qr{
  border-radius: 12px;
  overflow:hidden;
  background:#0f1013;
  border:1px solid rgba(255,255,255,.08);
}
.contact-qr img{ display:block; width:100%; height:auto; }

/* filas de info con icono */
.contact-info{
  display:grid; gap:10px;
}
.info-row{
  display:flex; gap:10px; align-items:center;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px;
  padding:10px 12px;
}
.info-row i{
  width:22px; text-align:center; color:#e9e9e9; opacity:.9;
}
.info-row a, .info-row span{
  color:#ececec; text-decoration:none; line-height:1.35;
}
.info-row a:hover{ text-decoration:underline; }

/* separador sutil */
.contact-sep{
  height:1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.08), transparent);
  margin: 10px 0;
}

/* etiqueta de ubicación/chip */
.badge {
  display:inline-flex; align-items:center; gap:8px;
  background: rgba(229,16,36,.08);
  border: 1px solid rgba(229,16,36,.35);
  color:#ffdbdf;
  padding:6px 10px; border-radius: 999px; font-size:.92rem; font-weight:600;
}
/* Panel de Contacto (izquierda) */
.contact-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
  position: relative;
}

/* barra roja lateral como en otras secciones */
.contact-card::before{
  content:"";
  position:absolute; left:-1px; top:18px;
  width:4px; height:28px;
  background: var(--accent,#e51024);
  border-radius: 6px;
}

/* encabezado */
.contact-card h3{
  margin:0 0 6px;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text,#fff);
}
.contact-lead{
  color:#c9c9c9;
  margin-bottom: 14px;
}

/* botón WA alineado */
.contact-actions{
  display:flex; gap:10px; align-items:center;
  margin-bottom: 14px;
}

/* cuerpo en 2 columnas: QR + datos */
.contact-body{
  display:grid;
  grid-template-columns: 140px 1fr;
  gap:16px;
  align-items:start;
}

.contact-qr{
  border-radius: 12px;
  overflow:hidden;
  background:#0f1013;
  border:1px solid rgba(255,255,255,.08);
}
.contact-qr img{ display:block; width:100%; height:auto; }

/* filas de info con icono */
.contact-info{
  display:grid; gap:10px;
}
.info-row{
  display:flex; gap:10px; align-items:center;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px;
  padding:10px 12px;
}
.info-row i{
  width:22px; text-align:center; color:#e9e9e9; opacity:.9;
}
.info-row a, .info-row span{
  color:#ececec; text-decoration:none; line-height:1.35;
}
.info-row a:hover{ text-decoration:underline; }

/* separador sutil */
.contact-sep{
  height:1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.08), transparent);
  margin: 10px 0;
}

/* etiqueta de ubicación/chip */
.badge {
  display:inline-flex; align-items:center; gap:8px;
  background: rgba(229,16,36,.08);
  border: 1px solid rgba(229,16,36,.35);
  color:#ffdbdf;
  padding:6px 10px; border-radius: 999px; font-size:.92rem; font-weight:600;
}
@media (min-width: 901px){
  .desktop-hide{ display:none; }

}
/* responsivo */
@media (max-width: 900px){
  .contact-body{ grid-template-columns: 1fr; }
  .contact-card::before{ left: -2px; }
}

/* responsivo */
@media (max-width: 900px){
  .contact-body{ grid-template-columns: 1fr; }
  .contact-card::before{ left: -2px; }
}

@media(max-width:720px){
  .quick-form{ padding:18px }
}

/* Responsivo */
@media(max-width: 900px){
  .dash-text {
    text-align: left;
    padding: 0 1rem;
  }
  .dash-text ul {
    justify-content: flex-start;
  }
  .dash-text h2 {
    font-size:clamp(1.4rem,2.6vw,2.2rem);
  }
  }


/* Responsivo */
@media(max-width: 900px){
  .grid-dashboard {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .dash-image {
    order: -1;
    transform: scale(1);
  }
  .hero .g-dominant-clean .lead img{ object-position: 10% 85%; }
  .mobile-hide{ display:none; }
}

/* ====== Responsive ====== */
@media (max-width:980px){
  .hero .wrap,.dashboard,.testi,.contact{grid-template-columns:1fr}
    .hero .wrap{
        padding: 0px 0 60px;
    }   
}
@media (max-width:820px){
  .navlinks{display:none}
  .card{grid-column:span 12}
  .icon-circle{flex-basis:44px;width:44px}
  .service-compact h3{font-size:1.05rem}
  .chip{font-size:.8rem}
}
