/* =========================================================
   SAMBRIA HOME V3
   Diseño corporativo responsive
   ========================================================= */

:root{
  --sv3-navy:#061a3a;
  --sv3-navy-2:#082a59;
  --sv3-blue:#0878f9;
  --sv3-cyan:#16b9ff;
  --sv3-text:#10213d;
  --sv3-muted:#62728a;
  --sv3-line:#dce7f3;
  --sv3-soft:#f5f9fe;
  --sv3-white:#fff;
}

html{
  scroll-behavior:smooth;
}

.sambria-home-v3{
  color:var(--sv3-text);
  overflow:hidden;
}

.sambria-home-v3 a{
  text-decoration:none;
}

.home-v3-container{
  width:min(1180px,calc(100% - 32px));
  margin:0 auto;
}

/* HERO */
.home-v3-hero{
  position:relative;
  padding:48px 0 34px;
}

.home-v3-hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 8% 12%,rgba(8,120,249,.11),transparent 28%),
    radial-gradient(circle at 94% 20%,rgba(22,185,255,.13),transparent 25%);
  pointer-events:none;
}

.home-v3-hero-grid{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,.9fr) minmax(0,1.35fr);
  gap:42px;
  align-items:center;
}

.home-v3-kicker{
  display:inline-flex;
  border:1px solid rgba(8,120,249,.3);
  border-radius:999px;
  padding:7px 13px;
  color:#126dd1;
  background:#eef7ff;
  font-size:.72rem;
  font-weight:800;
  letter-spacing:.08em;
}

.home-v3-title{
  margin:18px 0 16px;
  font-size:clamp(2.8rem,5vw,5rem);
  line-height:.97;
  letter-spacing:-.055em;
  font-weight:900;
  color:var(--sv3-navy);
}

.home-v3-title span{
  color:var(--sv3-blue);
}

.home-v3-lead{
  max-width:610px;
  color:#53657a;
  font-size:1.08rem;
  line-height:1.65;
}

.home-v3-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:25px;
}

.home-v3-btn{
  min-height:48px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 24px;
  border-radius:11px;
  font-weight:800;
  transition:.18s ease;
}

.home-v3-btn-primary{
  background:linear-gradient(135deg,#0878f9,#0561dd);
  color:#fff!important;
  box-shadow:0 12px 28px rgba(8,120,249,.22);
}

.home-v3-btn-outline{
  border:1px solid #a9c9eb;
  color:#12345d!important;
  background:#fff;
}

.home-v3-btn:hover{
  transform:translateY(-2px);
}

.home-v3-trust{
  display:flex;
  flex-wrap:wrap;
  gap:16px;
  margin-top:22px;
  font-size:.78rem;
  font-weight:700;
  color:#4c6078;
}

.home-v3-trust span::before{
  content:"✓";
  display:inline-grid;
  place-items:center;
  width:19px;
  height:19px;
  margin-right:6px;
  border-radius:50%;
  background:#e8f4ff;
  color:#0878f9;
  font-weight:900;
}

/* DASHBOARD MOCKUP */
.home-v3-visual{
  position:relative;
  min-width:0;
}

.home-v3-screen{
  overflow:hidden;
  border-radius:22px;
  border:1px solid rgba(255,255,255,.15);
  background:
    radial-gradient(circle at 82% 15%,rgba(22,185,255,.26),transparent 28%),
    linear-gradient(135deg,#061a3a 0%,#07356d 55%,#0878f9 140%);
  box-shadow:0 28px 70px rgba(4,24,53,.24);
  padding:26px;
}

.home-v3-screen-top{
  display:flex;
  justify-content:space-between;
  align-items:center;
  color:#fff;
  margin-bottom:20px;
}

.home-v3-screen-brand{
  font-weight:900;
  letter-spacing:.04em;
}

.home-v3-dashboard{
  display:grid;
  grid-template-columns:150px 1fr;
  overflow:hidden;
  border-radius:15px;
  background:#fff;
  box-shadow:0 15px 40px rgba(0,0,0,.22);
  transform:rotate(-1deg);
}

.home-v3-dashboard-side{
  padding:20px 14px;
  color:#dcecff;
  background:linear-gradient(180deg,#073b78,#061d42);
}

.home-v3-dashboard-side strong{
  display:block;
  color:#fff;
  margin-bottom:17px;
}

.home-v3-dashboard-side span{
  display:block;
  padding:7px 4px;
  font-size:.72rem;
}

.home-v3-dashboard-main{
  padding:18px;
  background:#f7fbff;
}

.home-v3-dashboard-main h5{
  font-weight:800;
  margin-bottom:13px;
}

.home-v3-kpis{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:8px;
}

.home-v3-kpi{
  background:#fff;
  border:1px solid #e3edf7;
  border-radius:9px;
  padding:10px;
  min-width:0;
}

.home-v3-kpi small{
  display:block;
  color:#718198;
  font-size:.58rem;
}

.home-v3-kpi strong{
  display:block;
  margin-top:3px;
  color:#0c2a50;
  font-size:.92rem;
}

.home-v3-chart{
  position:relative;
  height:145px;
  margin-top:12px;
  display:flex;
  align-items:flex-end;
  gap:7px;
  padding:18px 14px 12px;
  background:#fff;
  border:1px solid #e3edf7;
  border-radius:10px;
}

.home-v3-chart span{
  flex:1;
  min-width:5px;
  border-radius:5px 5px 1px 1px;
  background:linear-gradient(180deg,#48b9ff,#0a78f5);
  opacity:.9;
}

.home-v3-float{
  position:absolute;
  right:-18px;
  width:160px;
  padding:12px 14px;
  border-radius:13px;
  background:#fff;
  border:1px solid #dce8f5;
  box-shadow:0 14px 35px rgba(15,53,92,.17);
  z-index:3;
}

.home-v3-float small{
  color:#75849a;
  display:block;
}

.home-v3-float strong{
  color:#0b2d55;
}

.home-v3-float.one{top:20px}
.home-v3-float.two{top:105px}
.home-v3-float.three{top:190px}

.home-v3-float em{
  font-style:normal;
  color:#11a55a;
  font-size:.72rem;
  font-weight:800;
}

/* SECCIONES */
.home-v3-section{
  padding:64px 0;
}

.home-v3-section-soft{
  background:#f6faff;
  border-top:1px solid #e7eff8;
  border-bottom:1px solid #e7eff8;
}

.home-v3-section-head{
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:20px;
  margin-bottom:26px;
}

.home-v3-section-head h2{
  margin:0;
  color:#0a2548;
  font-weight:900;
  letter-spacing:-.025em;
}

.home-v3-section-head p{
  margin:7px 0 0;
  color:#6a7b90;
}

.home-v3-features{
  display:grid;
  grid-template-columns:repeat(6,1fr);
  gap:12px;
}

.home-v3-feature{
  min-height:125px;
  padding:17px;
  border:1px solid #deebf7;
  border-radius:14px;
  background:#fff;
  box-shadow:0 8px 25px rgba(16,49,83,.045);
}

.home-v3-feature-icon{
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  border-radius:11px;
  background:#edf6ff;
  color:#0878f9;
  font-weight:900;
  margin-bottom:12px;
}

.home-v3-feature h6{
  margin:0;
  font-weight:800;
  color:#102d50;
}

.home-v3-feature p{
  margin:5px 0 0;
  color:#728197;
  font-size:.78rem;
  line-height:1.4;
}

.home-v3-plans{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
  align-items:stretch;
}

.home-v3-plan{
  position:relative;
  padding:26px;
  border:1px solid #d9e7f5;
  border-radius:18px;
  background:#fff;
  box-shadow:0 10px 30px rgba(12,47,80,.05);
}

.home-v3-plan.featured{
  border:2px solid #0878f9;
  transform:translateY(-7px);
  box-shadow:0 18px 38px rgba(8,120,249,.13);
}

.home-v3-plan-badge{
  position:absolute;
  top:-13px;
  left:50%;
  transform:translateX(-50%);
  border-radius:999px;
  padding:5px 13px;
  background:#0878f9;
  color:#fff;
  font-size:.68rem;
  font-weight:900;
}

.home-v3-plan h3{
  font-weight:900;
  color:#0c294e;
}

.home-v3-price{
  margin:13px 0;
  font-size:2rem;
  font-weight:900;
  color:#09284c;
}

.home-v3-integrations{
  display:grid;
  grid-template-columns:repeat(6,1fr);
  gap:12px;
}

.home-v3-integration{
  padding:18px 12px;
  text-align:center;
  border:1px solid #dfebf6;
  border-radius:13px;
  background:#fff;
  font-weight:800;
  color:#23476e;
}

.home-v3-cta{
  border-radius:22px;
  padding:42px;
  color:#fff;
  background:
    radial-gradient(circle at 90% 0,rgba(22,185,255,.26),transparent 35%),
    linear-gradient(135deg,#061a3a,#064b98);
  box-shadow:0 20px 50px rgba(7,43,79,.16);
}

.home-v3-cta h2{
  font-weight:900;
}

@media(max-width:1100px){
  .home-v3-hero-grid{grid-template-columns:1fr}
  .home-v3-visual{max-width:850px;margin:auto}
  .home-v3-features{grid-template-columns:repeat(3,1fr)}
  .home-v3-integrations{grid-template-columns:repeat(3,1fr)}
  .home-v3-float{display:none}
}

@media(max-width:760px){
  .home-v3-container{width:min(100% - 22px,1180px)}
  .home-v3-hero{padding-top:28px}
  .home-v3-title{font-size:2.65rem}
  .home-v3-dashboard{grid-template-columns:90px 1fr}
  .home-v3-dashboard-side{padding:14px 8px}
  .home-v3-dashboard-side span{font-size:.58rem}
  .home-v3-kpis{grid-template-columns:repeat(2,1fr)}
  .home-v3-chart{height:110px}
  .home-v3-features{grid-template-columns:repeat(2,1fr)}
  .home-v3-plans{grid-template-columns:1fr}
  .home-v3-plan.featured{transform:none}
  .home-v3-integrations{grid-template-columns:repeat(2,1fr)}
  .home-v3-section{padding:46px 0}
  .home-v3-section-head{display:block}
}

@media(max-width:480px){
  .home-v3-features{grid-template-columns:1fr}
  .home-v3-dashboard-side{display:none}
  .home-v3-dashboard{grid-template-columns:1fr}
  .home-v3-screen{padding:14px}
  .home-v3-integrations{grid-template-columns:1fr 1fr}
}

/* PUBLIC NAV V3 */
.home-v3-public-nav{
  background:rgba(255,255,255,.96)!important;
  border-bottom:1px solid #e4edf7;
  box-shadow:0 5px 22px rgba(10,42,76,.06);
  backdrop-filter:blur(14px);
}

.home-v3-public-nav .navbar-brand{
  color:#0a2548!important;
  font-size:1.25rem;
  font-weight:900!important;
}

.home-v3-public-nav .nav-brand-logo{
  width:34px;
  height:34px;
}

.home-v3-public-links{
  display:flex;
  align-items:center;
  gap:23px;
  margin-left:auto;
  margin-right:28px;
}

.home-v3-public-links a{
  color:#314964;
  font-size:.87rem;
  font-weight:700;
  transition:.18s ease;
}

.home-v3-public-links a:hover{
  color:#0878f9;
}

.home-v3-nav-actions{
  display:flex;
  align-items:center;
  gap:9px;
}

.home-v3-login-btn{
  border:1px solid #c8d8e9;
  color:#153b65!important;
  background:#fff;
  font-weight:800;
}

.home-v3-register-btn{
  border-color:#0878f9!important;
  background:#0878f9!important;
  color:#fff!important;
  font-weight:800;
}

@media(max-width:1050px){
  .home-v3-public-links{
    gap:13px;
    margin-right:15px;
  }
}

@media(max-width:900px){
  .home-v3-public-links{
    display:none;
  }
}

/* RECURSOS / DISPOSITIVOS */
.home-v3-resource-grid{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:54px;
  align-items:center;
}

.home-v3-resource-list{
  display:grid;
  gap:14px;
  margin-top:26px;
}

.home-v3-resource-list div{
  padding:14px 16px;
  border:1px solid #deebf7;
  border-radius:12px;
  background:#fff;
}

.home-v3-resource-list strong,
.home-v3-resource-list span{
  display:block;
}

.home-v3-resource-list span{
  margin-top:3px;
  color:#718198;
  font-size:.84rem;
}

.home-v3-devices{
  position:relative;
  min-height:390px;
}

.home-v3-device-desktop{
  position:absolute;
  left:8%;
  top:10px;
  width:78%;
  padding:10px;
  border-radius:18px;
  background:#13213a;
  box-shadow:0 25px 60px rgba(9,35,65,.22);
}

.home-v3-device-bar{
  display:flex;
  align-items:center;
  gap:5px;
  padding:3px 4px 9px;
}

.home-v3-device-bar span{
  width:7px;
  height:7px;
  border-radius:50%;
  background:#7490ad;
}

.home-v3-device-bar small{
  margin-left:auto;
  margin-right:auto;
  color:#b8c8d9;
  font-size:.62rem;
}

.home-v3-device-content{
  min-height:250px;
  padding:18px;
  border-radius:11px;
  background:linear-gradient(145deg,#f7fbff,#eaf4ff);
}

.home-v3-device-content strong{
  color:#0a3972;
}

.home-v3-device-kpis{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:7px;
  margin-top:16px;
}

.home-v3-device-kpis span{
  padding:10px 5px;
  border-radius:8px;
  background:#fff;
  text-align:center;
  color:#53708f;
  font-size:.65rem;
}

.home-v3-device-chart{
  height:110px;
  margin-top:12px;
  border-radius:9px;
  background:
    linear-gradient(180deg,transparent 75%,#dbeaff 75%),
    linear-gradient(90deg,#0b78f0 8%,transparent 8%);
  background-size:100% 28px,22px 100%;
  opacity:.75;
}

.home-v3-device-tablet{
  position:absolute;
  left:0;
  bottom:0;
  width:31%;
  min-height:210px;
  padding:16px;
  border:8px solid #1f2d40;
  border-radius:18px;
  background:#f7fbff;
  box-shadow:0 16px 40px rgba(9,35,65,.22);
  z-index:2;
}

.home-v3-device-phone{
  position:absolute;
  right:1%;
  bottom:5px;
  width:19%;
  min-height:230px;
  padding:14px 10px;
  border:7px solid #172438;
  border-radius:22px;
  background:#f7fbff;
  box-shadow:0 16px 40px rgba(9,35,65,.22);
  z-index:3;
}

.home-v3-device-mini-brand{
  color:#0878f9;
  font-size:.68rem;
  font-weight:900;
  margin-bottom:18px;
}

.home-v3-device-tablet strong,
.home-v3-device-phone strong{
  display:block;
  color:#0a2a52;
}

.home-v3-device-tablet small,
.home-v3-device-phone small{
  display:block;
  color:#6d7d92;
}

.home-v3-mini-cards{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:6px;
  margin-top:18px;
}

.home-v3-mini-cards span{
  height:35px;
  border-radius:6px;
  background:#e6f2ff;
}

.home-v3-phone-chart{
  height:80px;
  margin-top:18px;
  border-radius:7px;
  background:linear-gradient(135deg,#d9edff,#0878f9);
}

/* CONTACTO */
.home-v3-contact-grid{
  display:grid;
  grid-template-columns:.8fr 1.2fr;
  gap:24px;
}

.home-v3-contact-card{
  padding:28px;
  border:1px solid #deebf7;
  border-radius:18px;
  background:#fff;
  box-shadow:0 10px 30px rgba(16,49,83,.05);
}

/* FOOTER */
.home-v3-footer{
  padding:50px 0 24px;
  border-top:1px solid #e2ecf6;
  background:#f8fbff;
}

.home-v3-footer-grid{
  display:grid;
  grid-template-columns:2fr 1fr 1fr;
  gap:32px;
}

.home-v3-footer a{
  color:#506780;
}

.sambria-wa-float{
  position:fixed;
  right:24px;
  bottom:24px;
  z-index:1050;
  display:flex;
  align-items:center;
  gap:9px;
  padding:10px 16px 10px 10px;
  border-radius:999px;
  background:#25D366;
  color:#fff!important;
  box-shadow:0 10px 28px rgba(0,0,0,.22);
  font-weight:800;
}

.sambria-wa-float span{
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#fff;
  color:#128C7E;
  font-size:11px;
}

@media(max-width:900px){
  .home-v3-resource-grid,
  .home-v3-contact-grid{
    grid-template-columns:1fr;
  }

  .home-v3-devices{
    min-height:360px;
    max-width:650px;
    margin:auto;
  }

  .home-v3-footer-grid{
    grid-template-columns:1fr 1fr;
  }
}

@media(max-width:575px){
  .home-v3-devices{min-height:300px}
  .home-v3-device-desktop{left:5%;width:90%}
  .home-v3-device-tablet{width:34%}
  .home-v3-device-phone{width:23%}
  .home-v3-device-kpis{grid-template-columns:1fr 1fr}
  .home-v3-footer-grid{grid-template-columns:1fr}
  .sambria-wa-float strong{display:none}
  .sambria-wa-float{padding:9px;right:16px;bottom:16px}
}
