:root{
  --brand: #f58634;
  --brand-dark: #d96a1f;
  --brand-soft: #fff2e7;
  --ink: #0f172a;
  --muted: #667085;
  --line: rgba(15,23,42,.08);
  --blue-900: #0e3570;
  --blue-800: #114a9f;
  --blue-700: #0b5ed7;
  --blue-100: #eaf2ff;
  --panel: #ffffff;
  --soft-bg: #f6f8fc;
}

body{
  background: linear-gradient(180deg, #fbfcff 0%, #f7f8fb 100%);
  color: var(--ink);
}

a{ color: var(--brand-dark); }
a:hover{ color: var(--brand-dark); filter: brightness(.95); }

.card-soft{
  border: 1px solid var(--line);
  box-shadow: 0 18px 45px rgba(15, 23, 42, .08);
  border-radius: 24px;
  background: #fff;
}

.btn{
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.btn:hover{ transform: translateY(-1px); }

.btn-primary{
  --bs-btn-bg: var(--brand);
  --bs-btn-border-color: var(--brand);
  --bs-btn-hover-bg: var(--brand-dark);
  --bs-btn-hover-border-color: var(--brand-dark);
  --bs-btn-active-bg: var(--brand-dark);
  --bs-btn-active-border-color: var(--brand-dark);
}

.btn-outline-primary{
  --bs-btn-color: var(--brand-dark);
  --bs-btn-border-color: rgba(245,134,52,.55);
  --bs-btn-hover-bg: var(--brand);
  --bs-btn-hover-border-color: var(--brand);
  --bs-btn-hover-color: #fff;
  --bs-btn-active-bg: var(--brand-dark);
  --bs-btn-active-border-color: var(--brand-dark);
  --bs-btn-active-color: #fff;
}

.top-strip{
  background: rgba(255,255,255,.82);
  border-bottom: 1px solid rgba(15,23,42,.05);
}

.nav-pro{
  backdrop-filter: blur(12px);
  background: rgba(255,255,255,.9) !important;
  border-bottom: 1px solid rgba(15,23,42,.06);
}

.brand-lockup{ display:flex; flex-direction:column; line-height:1.05; }
.brand-lockup strong{ font-size: 1rem; color: var(--ink); }
.brand-lockup small{ font-size: .73rem; color: var(--muted); }

.navbar .nav-link{
  position: relative;
  font-weight: 600;
  color: rgba(15,23,42,.72);
}
.navbar .nav-link::after{
  content: "";
  position: absolute;
  left: .5rem;
  right: .5rem;
  bottom: .25rem;
  height: 2px;
  border-radius: 999px;
  background: var(--brand);
  transform: scaleX(0);
  transition: transform .18s ease;
}
.navbar .nav-link:hover::after,
.navbar .nav-link.active::after{ transform: scaleX(1); }
.navbar .dropdown-menu .dropdown-item{ font-weight: 500; }
.navbar .dropdown-menu .dropdown-item:hover{ background: var(--soft-bg); }

.btn-portal-pro,
.btn-pay-pro{
  border-radius: 12px;
  font-weight: 700;
  padding: .68rem 1rem;
  white-space: nowrap;
}
.btn-portal-pro{
  background: linear-gradient(180deg, #1558b0 0%, #0f4792 100%);
  color: #fff;
  box-shadow: 0 10px 22px rgba(17,74,159,.18);
}
.btn-portal-pro:hover{ color:#fff; filter: brightness(.98); box-shadow: 0 14px 28px rgba(17,74,159,.24); }
.btn-pay-pro{
  background: linear-gradient(180deg, #f69a4e 0%, #f58634 100%);
  color: #fff;
  box-shadow: 0 12px 24px rgba(245,134,52,.22);
}
.btn-pay-pro:hover{ color:#fff; filter: brightness(.98); box-shadow: 0 16px 30px rgba(245,134,52,.28); }

.hero-pro{
  background:
    radial-gradient(circle at 82% 16%, rgba(121, 170, 255, .35) 0%, rgba(121, 170, 255, 0) 28%),
    radial-gradient(circle at 8% 85%, rgba(255,255,255,.06) 0%, rgba(255,255,255,0) 20%),
    linear-gradient(95deg, var(--blue-900) 0%, var(--blue-800) 60%, var(--blue-700) 100%);
  color: #fff;
}
.hero-pro::before{
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: .26;
  pointer-events: none;
}
.py-lg-6{ padding-top: 5.6rem!important; padding-bottom: 5.6rem!important; }
.eyebrow,
.section-kicker{
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .72rem;
  font-weight: 800;
  color: var(--brand);
}
.hero-title{
  font-size: clamp(2.4rem, 4vw, 4.2rem);
  line-height: 1.08;
  font-weight: 800;
}
.hero-subtitle{
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 650px;
  color: rgba(255,255,255,.88);
}
.status-banner{
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.16);
  color: #fff;
  border-radius: 999px;
  padding: .75rem 1rem;
}
.btn-cta-main{
  background: linear-gradient(180deg, #ffab66 0%, var(--brand) 100%);
  color: #fff;
  border: 0;
  box-shadow: 0 14px 28px rgba(245,134,52,.24);
}
.btn-cta-main:hover{ color:#fff; }
.btn-cta-ghost,
.hero-outline-btn{
  background: rgba(255,255,255,.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,.28);
}
.btn-cta-ghost:hover,
.hero-outline-btn:hover{ color:#fff; background: rgba(255,255,255,.18); }
.hero-stats .hero-stat-card{
  display:flex;
  flex-direction:column;
  gap:.15rem;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 16px;
  padding: 1rem 1rem .9rem;
}
.hero-stats strong{ font-size: 1.6rem; line-height:1; }
.hero-stats span{ font-size: .82rem; color: rgba(255,255,255,.82); }

.hero-showcase{
  background: linear-gradient(180deg, rgba(255,255,255,.96) 0%, rgba(250,252,255,.98) 100%);
  color: var(--ink);
  padding: 1.15rem;
  border-radius: 24px;
}
.hero-showcase-head{
  border: 1px solid rgba(245,134,52,.18);
  background: rgba(245,134,52,.07);
  border-radius: 18px;
  padding: .85rem 1rem;
}
.showcase-kicker{ font-weight: 800; font-size: .95rem; }
.showcase-sub{ color: var(--muted); font-size: .84rem; }
.mini-badge{
  font-size: .68rem;
  font-weight: 700;
  color: var(--brand-dark);
  background: rgba(245,134,52,.13);
  border: 1px solid rgba(245,134,52,.18);
  border-radius: 999px;
  padding: .34rem .58rem;
}
.showcase-stack{ display:grid; gap:.8rem; }
.showcase-item{
  display:flex;
  gap:.9rem;
  align-items:flex-start;
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 16px;
  padding: .95rem 1rem;
  background: #fff;
}
.showcase-item i{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--blue-100);
  color: var(--blue-800);
}
.showcase-item strong{ display:block; margin-bottom:.15rem; font-size:.94rem; }
.showcase-item span{ display:block; color: var(--muted); font-size:.82rem; }
.hero-ui-wrap{
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(180deg, #eff5ff 0%, #f7faff 100%);
  border: 1px solid rgba(15,23,42,.06);
  padding: .8rem;
}
.hero-ui-wrap img{ display:block; width:100%; height:auto; }
.showcase-footer{
  display:flex;
  gap:1rem;
  justify-content:space-between;
  align-items:flex-end;
  border: 1px solid rgba(245,134,52,.18);
  background: #fff7ef;
  border-radius: 18px;
  padding: .95rem 1rem;
}
.showcase-footer strong{ display:block; font-size:.92rem; }
.showcase-footer span{ color: var(--muted); font-size:.8rem; }

.bg-soft-section{ background: var(--soft-bg); }
.section-title{
  font-size: clamp(1.9rem, 2.3vw, 3rem);
  line-height: 1.18;
  font-weight: 800;
  color: var(--ink);
}
.section-text{
  color: var(--muted);
  line-height: 1.8;
  font-size: 1rem;
}
.benefit-card,
.saas-card,
.plan-panel,
.logo-chip,
.final-cta{
  border: 1px solid var(--line);
  background: #fff;
}
.benefit-card{
  border-radius: 20px;
  padding: 1.3rem;
  height: 100%;
  box-shadow: 0 10px 28px rgba(15,23,42,.05);
}
.benefit-card i,
.saas-card i{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--blue-100);
  color: var(--blue-800);
  margin-bottom: .9rem;
}
.benefit-card h3,
.saas-card h3{ font-size: 1.05rem; font-weight: 800; margin-bottom: .4rem; }
.benefit-card p,
.saas-card p{ font-size: .92rem; color: var(--muted); margin:0; }
.saas-panel{ background: linear-gradient(180deg, #fff 0%, #fbfcff 100%); }
.saas-card{
  border-radius: 20px;
  padding: 1.35rem;
  height: 100%;
}
.saas-card a{ display:inline-block; margin-top:.85rem; text-decoration:none; font-weight:700; }

.plan-panel{
  border-radius: 24px;
  overflow:hidden;
  position:relative;
}
.plan-panel::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(14,53,112,.02) 0%, rgba(14,53,112,.08) 100%);
  pointer-events:none;
}
.panel-hogar{ background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(242,247,255,.98)); }
.panel-empresa{ background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(248,250,255,.98)); }
.plan-tag{
  display:inline-block;
  padding: .35rem .7rem;
  border-radius: 999px;
  background: rgba(245,134,52,.12);
  color: var(--brand-dark);
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 1rem;
}
.plan-mini-list{ list-style:none; padding:0; margin:0; }
.plan-mini-list li{
  display:flex;
  justify-content:space-between;
  gap:1rem;
  align-items:center;
  padding: .7rem 0;
  border-bottom: 1px solid rgba(15,23,42,.06);
}
.plan-mini-list li:last-child{ border-bottom:0; }
.plan-mini-list span{ color: var(--ink); }
.plan-mini-list strong{ color: var(--blue-800); }

.logo-row{ align-items:center; }
.logo-chip{
  border-radius: 16px;
  padding: 1rem;
  color: #445;
  font-weight: 800;
  text-align: center;
  background: linear-gradient(180deg, #fff, #fbfbfd);
}
.final-cta{
  border-radius: 28px;
  background: linear-gradient(180deg, #fff 0%, #f9fbff 100%);
}

.text-primary{ color: var(--brand-dark) !important; }
.bg-primary{ background-color: var(--brand) !important; }
.border-primary{ border-color: rgba(245,134,52,.55) !important; }

.wa-float{
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#25D366;
  color:#fff;
  text-decoration:none;
  font-size: 28px;
  box-shadow: 0 14px 35px rgba(0,0,0,.18);
  z-index: 9999;
}
.wa-float:hover{ color:#fff; }

.table thead th{ white-space: nowrap; }

/* Legacy pricing cards keep polished style */
.pricing-card{
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 26px rgba(0,0,0,.06);
}
.pricing-head{ padding: 26px 18px; background: #f3f4f6; text-align: center; }
.pricing-name{ font-size: .95rem; color: rgba(0,0,0,.62); margin-bottom: 8px; }
.pricing-price{ font-size: 2.2rem; font-weight: 300; letter-spacing: .5px; margin: 0; color: rgba(0,0,0,.70); }
.pricing-per{ font-size: .75rem; color: rgba(0,0,0,.55); }
.pricing-body{ padding: 18px 18px 22px; text-align: center; }
.pricing-body ul{ list-style: none; padding: 0; margin: 0 0 18px; }
.pricing-body li{ font-size: .82rem; color: rgba(0,0,0,.62); padding: 6px 0; border-bottom: 1px solid rgba(0,0,0,.06); }
.pricing-body li:last-child{ border-bottom: 0; }
.pricing-footnote{ font-size: .72rem; color: rgba(0,0,0,.50); margin-top: 10px; }
.pricing-btn{ border-radius: 10px; padding: 10px 16px; font-weight: 600; letter-spacing: .3px; }
.pricing-card.featured{ transform: translateY(-10px); box-shadow: 0 18px 50px rgba(0,0,0,.10); }
.pricing-card.featured .pricing-head{ background: linear-gradient(120deg, var(--brand), #ffb066); }
.pricing-card.featured .pricing-name,
.pricing-card.featured .pricing-price,
.pricing-card.featured .pricing-per{ color: #fff; }
.pricing-card.featured .pricing-btn{ background: var(--brand); border-color: var(--brand); color: #fff; }
.pricing-card .pricing-btn{ background: rgba(0,0,0,.06); border: 1px solid rgba(0,0,0,.08); color: rgba(0,0,0,.55); }
.carousel-control-prev, .carousel-control-next{ width: 7%; }

@media (max-width: 991.98px){
  .nav-cta-group{ padding-top: .8rem; }
  .showcase-footer{ flex-direction: column; align-items: flex-start; }
}

@media (max-width: 767.98px){
  .hero-pro{ text-align:left; }
  .hero-title{ font-size: 2.35rem; }
  .hero-showcase{ padding: .9rem; }
  .showcase-item{ padding: .8rem; }
  .btn-portal-pro,
  .btn-pay-pro{ width: 100%; justify-content: center; }
}

/* ===== APR-system + clientes update ===== */
.hero-pro{
  background:
    linear-gradient(90deg, rgba(7,38,84,.92) 0%, rgba(14,77,160,.85) 45%, rgba(18,119,225,.72) 100%),
    url('/assets/img/hero-context.svg') center/cover no-repeat;
}
.hero-pro::before{
  background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: .18;
}
.hero-copy-col{padding-right:1rem}
.apr-brand-item{align-items:center}
.showcase-apr-logo{
  width:62px;
  height:62px;
  object-fit:contain;
  border-radius:14px;
  background:#091a36;
  padding:.45rem;
  box-shadow:0 10px 24px rgba(15,23,42,.08);
}
.apr-section-logo{max-width:260px;width:100%;height:auto;display:block}
.apr-hero-logo{max-width:420px;width:100%;height:auto;display:block}
.apr-summary-card{background:linear-gradient(180deg,#fff 0%,#fbfcff 100%)}
.benefit-card.slim{padding:1.1rem}
.benefit-card.slim h3{font-size:1rem}

.pricing-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px}
.pricing-column-head{margin-bottom:1rem}
.pricing-column-head h3{font-size:1.9rem;font-weight:800;line-height:1.18;margin-bottom:.5rem}
.pricing-column-head p{color:var(--muted);margin:0;line-height:1.7}
.hosting-card{
  height:100%;
  position:relative;
  border:1px solid rgba(15,23,42,.08);
  border-radius:22px;
  background:linear-gradient(180deg,#fff 0%,#f9fbff 100%);
  box-shadow:0 14px 35px rgba(15,23,42,.08);
  padding:1.35rem;
}
.hosting-card.featured{transform:translateY(-4px);box-shadow:0 22px 46px rgba(15,23,42,.12)}
.hosting-card.business{background:linear-gradient(180deg,#fff 0%,#fbfcff 100%)}
.hosting-badge{
  position:absolute;top:14px;right:14px;
  padding:.35rem .65rem;border-radius:999px;
  font-size:.72rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase;
  background:rgba(245,134,52,.12);color:var(--brand-dark);
}
.hosting-card h3{font-size:1.2rem;font-weight:800;margin-bottom:.4rem;padding-right:5.6rem}
.hosting-speed{font-size:2rem;font-weight:800;color:var(--blue-800);line-height:1.1;margin-bottom:.4rem}
.hosting-desc{color:var(--muted);min-height:52px;margin-bottom:1rem}
.hosting-price{font-size:2rem;font-weight:800;color:var(--ink);margin-bottom:1rem}
.hosting-price span{font-size:.92rem;color:var(--muted);font-weight:600}
.hosting-features{list-style:none;padding:0;margin:0 0 1.1rem;display:grid;gap:.6rem}
.hosting-features li{position:relative;padding-left:1.35rem;color:var(--ink);font-size:.93rem}
.hosting-features li::before{content:"";position:absolute;left:0;top:.42rem;width:8px;height:8px;border-radius:999px;background:var(--brand)}
.hosting-actions{display:grid;grid-template-columns:1fr;gap:.65rem}

.logo-grid-dynamic{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;align-items:stretch}
.logo-chip-dynamic{
  border:1px solid rgba(15,23,42,.08);
  border-radius:18px;
  background:linear-gradient(180deg,#fff 0%,#fbfcff 100%);
  padding:1rem;
  min-height:112px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  gap:.7rem;
  text-decoration:none;
  box-shadow:0 10px 24px rgba(15,23,42,.05);
}
.logo-chip-dynamic img{max-width:140px;max-height:48px;object-fit:contain;display:block}
.logo-chip-dynamic span{font-size:.92rem;font-weight:700;color:var(--ink);text-align:center}
.logo-chip-dynamic:hover{transform:translateY(-2px)}
.logo-grid-dynamic.compact{grid-template-columns:repeat(4,minmax(0,1fr))}
.empty-client-state{
  grid-column:1/-1;
  border:1px dashed rgba(15,23,42,.18);
  border-radius:20px;
  background:#fff;
  color:var(--muted);
  display:flex;
  align-items:center;
  justify-content:center;
  gap:.8rem;
  padding:1.4rem;
}
.empty-client-state i{font-size:1.4rem;color:var(--brand-dark)}

@media (max-width: 1199.98px){
  .logo-grid-dynamic,.logo-grid-dynamic.compact{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width: 991.98px){
  .pricing-grid{grid-template-columns:1fr}
}
@media (max-width: 767.98px){
  .hosting-card h3{padding-right:0}
  .hosting-badge{position:static;display:inline-block;margin-bottom:.8rem}
  .logo-grid-dynamic,.logo-grid-dynamic.compact{grid-template-columns:repeat(2,minmax(0,1fr))}
  .logo-chip-dynamic{min-height:98px}
}
@media (max-width: 575.98px){
  .logo-grid-dynamic,.logo-grid-dynamic.compact{grid-template-columns:1fr}
  .apr-hero-logo,.apr-section-logo{max-width:220px}
}


/* ===== HOME FLOW: INTERNET FIRST / SAAS SECOND ===== */
.hero-saasy{
  background:
    linear-gradient(90deg, rgba(9,23,43,.88) 0%, rgba(9,23,43,.72) 44%, rgba(12,43,83,.58) 100%),
    url('/assets/img/hero-network-bg.jpg') center center/cover no-repeat;
  color:#fff;
}
.hero-saasy-overlay{
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(8,14,28,.12) 0%, rgba(8,14,28,.22) 100%);
}
.hero-saasy .hero-title,
.hero-saasy .hero-subtitle,
.hero-saasy .eyebrow,
.hero-saasy .hero-microcopy{ position:relative; z-index:1; }
.hero-subtitle-light{ color: rgba(255,255,255,.92); max-width: 760px; }
.hero-microcopy{ color: rgba(255,255,255,.92); font-size: 1.04rem; max-width: 720px; }
.status-banner-soft{ background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.22); }
.hero-info-card{ padding:1.1rem; border-radius: 24px; background: rgba(255,255,255,.96); }
.compact-stack .showcase-item{ min-height: 94px; }

.plans-panels-grid{ display:grid; gap:1.5rem; }
.plans-panel{ background:#fff; border:1px solid rgba(15,23,42,.06); border-radius:28px; padding:1.5rem; box-shadow:0 18px 36px rgba(15,23,42,.06); }
.plans-panel-head{ margin-bottom:1rem; }
.plans-panel-head h3{ font-size:1.85rem; font-weight:800; color:var(--ink); margin:.5rem 0 .4rem; }
.plans-panel-head p{ margin:0; color:var(--muted); }
.plans-cards-grid{ display:grid; gap:1rem; }
.plans-cards-grid-1{ grid-template-columns:minmax(280px,420px); justify-content:center; }
.plans-cards-grid-2{ grid-template-columns:repeat(2, minmax(260px,1fr)); }
.plans-cards-grid-3{ grid-template-columns:repeat(3, minmax(240px,1fr)); }
.plan-v2-card{ background:#fff; border:1px solid rgba(15,23,42,.08); border-radius:22px; overflow:hidden; box-shadow:0 14px 30px rgba(15,23,42,.07); display:flex; flex-direction:column; }
.plan-v2-card.featured{ transform: translateY(-2px); box-shadow:0 18px 34px rgba(26,86,219,.14); }
.plan-v2-top{ background:linear-gradient(135deg, #1c58a8 0%, #2f6fd0 100%); color:#fff; padding:1rem 1rem .95rem; min-height:170px; }
.plan-v2-top.alt{ background:linear-gradient(135deg, #123f7a 0%, #2a69c7 100%); }
.plan-v2-chip{ display:inline-flex; background:rgba(255,255,255,.16); color:#fff; font-size:.72rem; font-weight:800; padding:.35rem .65rem; border-radius:999px; margin-bottom:.8rem; }
.plan-v2-top h4{ font-size:1.02rem; font-weight:700; margin:0 0 .35rem; opacity:.95; }
.plan-v2-speed{ font-size:2.1rem; line-height:1.02; font-weight:800; }
.plan-v2-body{ padding:1rem; display:flex; flex-direction:column; gap:1rem; flex:1; }
.plan-v2-desc{ color:var(--muted); min-height:48px; margin:0; }
.plan-v2-price{ font-size:2.05rem; font-weight:800; color:var(--ink); line-height:1; }
.plan-v2-price span{ font-size:.98rem; font-weight:700; color:#304e80; margin-left:.2rem; }
.plan-v2-features{ list-style:none; padding:0; margin:0; display:grid; gap:.55rem; }
.plan-v2-features li{ position:relative; padding-left:1rem; color:#415068; font-size:.95rem; }
.plan-v2-features li::before{ content:''; width:6px; height:6px; border-radius:50%; background:var(--brand); position:absolute; left:0; top:.52rem; }
.plan-v2-actions{ margin-top:auto; display:grid; gap:.6rem; }

.client-grid{ display:grid; grid-template-columns:repeat(4,minmax(150px,1fr)); gap:1rem; }
.client-logo-card{ min-height:102px; }
.client-logo-card img{ max-height:54px; object-fit:contain; filter: grayscale(100%); opacity:.88; }
.client-logo-card:hover img{ filter:none; opacity:1; }

@media (max-width: 991.98px){
  .plans-cards-grid-2,
  .plans-cards-grid-3{ grid-template-columns:1fr; }
  .hero-saasy{ background-position: center; }
  .client-grid{ grid-template-columns:repeat(2,minmax(140px,1fr)); }
}
@media (max-width: 575.98px){
  .plans-panel{ padding:1rem; border-radius:20px; }
  .plan-v2-top{ min-height:auto; }
  .plan-v2-speed{ font-size:1.8rem; }
  .client-grid{ grid-template-columns:1fr; }
}


.top-strip, .header-top-strip, .site-topbar{ display:none !important; }
.nav-pro{ top:0; }
.hero-saasy{
  background:
    linear-gradient(90deg, rgba(8,23,49,.92) 0%, rgba(8,23,49,.78) 36%, rgba(10,58,125,.52) 100%),
    url('/assets/img/hero-network-bg.jpg') center/cover no-repeat;
  color:#fff;
}
.hero-saasy-overlay{ display:none; }
.hero-carousel-card{
  border:1px solid rgba(255,255,255,.16);
  background:rgba(255,255,255,.92);
  border-radius:28px;
  box-shadow:0 22px 60px rgba(8,23,49,.24);
  padding:1.35rem;
}
.hero-logo-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:1rem;
}
.hero-logo-item{
  min-height:96px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:1rem;
  border-radius:20px;
  border:1px solid rgba(15,23,42,.08);
  background:linear-gradient(180deg,#fff 0%,#f7f9fd 100%);
  text-decoration:none;
}
.hero-logo-item img{ max-width:100%; max-height:54px; object-fit:contain; filter:grayscale(100%); opacity:.9; transition:all .2s ease; }
.hero-logo-item:hover img{ filter:none; opacity:1; transform:scale(1.03); }
.hero-logo-item span{ font-weight:700; color:var(--ink); text-align:center; }
.clients-hero-carousel .carousel-indicators{ gap:.45rem; }
.clients-hero-carousel .carousel-indicators [data-bs-target]{ width:9px; height:9px; border-radius:50%; border:0; background:#c9d3e6; opacity:1; }
.clients-hero-carousel .carousel-indicators .active{ background:var(--brand); }
.clients-hero-controls .carousel-control-prev,
.clients-hero-controls .carousel-control-next{
  width:40px; height:40px; border-radius:50%; background:#eff4fb; border:1px solid rgba(15,23,42,.06); opacity:1;
}
.clients-hero-controls .carousel-control-prev-icon,
.clients-hero-controls .carousel-control-next-icon{ filter:invert(28%) sepia(58%) saturate(1666%) hue-rotate(197deg) brightness(92%) contrast(96%); width:1rem; height:1rem; }
.request-modal{ border:0; border-radius:28px; box-shadow:0 26px 80px rgba(15,23,42,.22); }
.request-modal .modal-body{ padding:1.2rem 1.5rem 1.5rem; }
.privacy-panel{ background:#f7f9fd; border:1px solid rgba(15,23,42,.08); border-radius:18px; padding:1rem 1rem .85rem; }
.request-summary{ background:#fff7ef; color:#80542b; border:1px solid rgba(245,134,52,.18); border-radius:16px; padding:.9rem 1rem; }
@media (max-width: 991.98px){
  .hero-logo-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width: 575.98px){
  .hero-logo-grid{ grid-template-columns:1fr; }
  .request-modal .modal-body{ padding:1rem; }
}


/* ===== HERO MEDIA CAROUSEL ===== */
.hero-carousel-card{ padding: 1rem; }
.hero-media-carousel{ position: relative; }
.hero-media-frame{
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  min-height: 420px;
  background: linear-gradient(180deg, #eef4ff 0%, #f8fbff 100%);
  border: 1px solid rgba(15,23,42,.08);
}
.hero-media-frame img{
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}
.hero-media-frame::after{
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,23,42,.06) 10%, rgba(15,23,42,.52) 100%);
}
.hero-media-caption{
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 2;
  display: grid;
  gap: .55rem;
  color: #fff;
  background: rgba(7,17,36,.44);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 18px;
  padding: 1rem 1rem 1.05rem;
  backdrop-filter: blur(12px);
}
.hero-media-caption strong{ font-size: 1.04rem; }
.hero-media-caption span{ font-size: .9rem; color: rgba(255,255,255,.9); line-height: 1.6; }
.hero-media-arrow{
  width: 42px;
  height: 42px;
  top: calc(50% - 21px);
  background: rgba(9,19,39,.55);
  border-radius: 999px;
  opacity: 1;
}
.hero-media-arrow.carousel-control-prev{ left: 14px; }
.hero-media-arrow.carousel-control-next{ right: 14px; }
.hero-media-arrow .carousel-control-prev-icon,
.hero-media-arrow .carousel-control-next-icon{ width: 1.2rem; height: 1.2rem; }
.hero-media-indicators{ gap: .45rem; justify-content: center; }
.hero-media-indicators [data-bs-target]{ width: 10px; height: 10px; border-radius: 50%; border: 0; background: #c9d3e6; opacity: 1; }
.hero-media-indicators .active{ background: var(--brand); }

.privacy-panel{
  border: 1px solid rgba(15,23,42,.08);
  background: #f8fbff;
  border-radius: 18px;
  padding: 1rem 1rem .95rem;
}
.request-summary{ background: #fff8ef; border: 1px solid rgba(245,134,52,.16); border-radius: 16px; padding: .85rem 1rem; }
.request-modal{ border:0; border-radius: 28px; box-shadow: 0 22px 60px rgba(15,23,42,.18); }
.request-modal .modal-body{ padding: 1rem 1.25rem 1.4rem; }
.request-modal .form-control-lg{ border-radius: 16px; }

@media (max-width: 991.98px){
  .hero-media-frame,
  .hero-media-frame img{ height: 340px; min-height: 340px; }
}
@media (max-width: 575.98px){
  .hero-carousel-card{ padding: .85rem; }
  .hero-media-frame,
  .hero-media-frame img{ height: 260px; min-height: 260px; }
  .hero-media-caption{ left: .75rem; right: .75rem; bottom: .75rem; }
}


/* ===== CLEAN HERO CAROUSEL ===== */
.hero-carousel-card-clean{
  padding: .9rem;
  background: rgba(255,255,255,.95);
}
.hero-media-frame-clean{
  min-height: 520px;
  background: #eef4fb;
}
.hero-media-frame-clean::after,
.hero-media-caption{ display:none !important; }
.hero-media-frame-clean img{
  height: 520px;
  object-fit: cover;
}
.hero-media-carousel .carousel-inner{
  border-radius: 24px;
  overflow: hidden;
}

/* ===== CLIENTS MARQUEE ===== */
.client-marquee-wrap{
  position: relative;
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}
.client-marquee-track{
  display: flex;
  align-items: center;
  gap: 2.25rem;
  width: max-content;
  animation: clientMarquee 28s linear infinite;
}
.client-marquee-wrap:hover .client-marquee-track{ animation-play-state: paused; }
.client-logo-card-marquee{
  min-width: 220px;
  min-height: 110px;
  border-radius: 22px;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(15,23,42,.06);
  box-shadow: 0 12px 28px rgba(15,23,42,.06);
}
.client-logo-card-marquee img{
  max-height: 62px;
  max-width: 150px;
  margin-inline: auto;
}
@keyframes clientMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===== FOOTER PRO ===== */
.site-footer{
  background: linear-gradient(180deg, #f5f8fd 0%, #eef3fb 100%);
  border-top: 1px solid rgba(15,23,42,.06);
}
.footer-card{
  background: #fff;
  border: 1px solid rgba(15,23,42,.06);
  border-radius: 30px;
  padding: 2rem;
  box-shadow: 0 18px 44px rgba(15,23,42,.07);
}
.footer-brand{
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.footer-brand img{
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 16px;
  background: #fff7ef;
  padding: .45rem;
  border: 1px solid rgba(245,134,52,.18);
}
.footer-brand strong{
  display: block;
  font-size: 1.35rem;
  color: var(--ink);
  margin-bottom: .35rem;
}
.footer-brand span{
  display: block;
  color: var(--muted);
  line-height: 1.8;
}
.footer-actions{
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.25rem;
}
.btn-footer-primary,
.btn-footer-secondary{
  border-radius: 999px;
  padding: .8rem 1.1rem;
  font-weight: 700;
}
.btn-footer-primary{
  background: var(--blue-700);
  color: #fff;
}
.btn-footer-secondary{
  background: #fff7ef;
  color: var(--brand-dark);
  border: 1px solid rgba(245,134,52,.18);
}
.footer-title{
  font-size: .95rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #5a6882;
  margin-bottom: .9rem;
}
.footer-links{
  display: grid;
  gap: .7rem;
}
.footer-links a{
  color: var(--ink);
  text-decoration: none;
}
.footer-links a:hover{ color: var(--brand-dark); }
.footer-bottom{
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.75rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(15,23,42,.08);
  color: #67758f;
  font-size: .95rem;
}

@media (max-width: 991.98px){
  .hero-media-frame-clean,
  .hero-media-frame-clean img{ min-height: 380px; height: 380px; }
  .footer-bottom{ flex-direction: column; }
}
@media (max-width: 575.98px){
  .hero-media-frame-clean,
  .hero-media-frame-clean img{ min-height: 260px; height: 260px; }
  .client-logo-card-marquee{ min-width: 170px; min-height: 90px; }
  .footer-card{ padding: 1.25rem; border-radius: 22px; }
  .footer-brand{ flex-direction: column; }
}


/* ===== PRO MOTION PATCH ===== */
.hero-media-carousel .carousel-item{
  transition: transform .7s ease-in-out;
}
.hero-media-frame img{
  transform: scale(1.04);
  transition: transform 6.5s ease, opacity .5s ease;
  opacity: .94;
}
.hero-media-frame.is-loaded img,
.carousel-item.active .hero-media-frame img{
  opacity: 1;
  transform: scale(1.0);
}
.hero-media-arrow{
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 24px rgba(15,23,42,.16);
}
.hero-media-indicators [data-bs-target]{
  transition: transform .25s ease, background-color .25s ease;
}
.hero-media-indicators .active{
  transform: scale(1.15);
}
.client-logo-card-marquee{
  display:flex; align-items:center; justify-content:center;
}
.client-logo-card-marquee span{
  font-weight:700; color:var(--ink);
}
.client-marquee-track{
  will-change: transform;
}
.site-footer{ padding: 0 0 28px; background: transparent; border-top: 0; }
.site-footer > .container{ max-width: 1180px; }
.footer-card{
  background:#f7f8fb;
  border:1px solid rgba(15,23,42,.06);
  border-radius:28px;
  box-shadow:0 18px 45px rgba(15,23,42,.06);
  padding:28px 32px 18px;
}
.footer-card > .row{ align-items:start !important; }
.footer-brand{ gap:16px; margin-bottom: 0; }
.footer-brand img{ flex:0 0 56px; }
.footer-brand > div{ min-width:0; }
.footer-brand strong{ font-size:1rem; margin-bottom:8px; }
.footer-brand span, .footer-links a, .footer-bottom{ font-size:.98rem; line-height:1.65; }
.footer-brand span{ max-width:360px; }
.footer-actions{ margin-top:18px; }
.footer-actions .btn, .btn-footer-primary, .btn-footer-secondary{ min-height:48px; padding:0 20px; display:inline-flex; align-items:center; justify-content:center; }
.footer-title{ margin:2px 0 12px; }
.footer-links{ gap:8px; }
.footer-bottom{ margin-top:22px; padding-top:18px; }
@media (max-width: 991.98px){
  .footer-card{ padding:24px 22px 18px; border-radius:22px; }
  .footer-brand span{ max-width:none; }
  .footer-bottom{ flex-direction:column; align-items:flex-start; }
}
@media (max-width: 575.98px){
  .footer-card{ padding:20px 16px 16px; border-radius:18px; }
  .footer-actions{ flex-direction:column; align-items:stretch; }
  .footer-actions .btn, .btn-footer-primary, .btn-footer-secondary{ width:100%; }
}
