:root{--navy:#0b1530;--navy2:#101d3f;--blue:#2563eb;--blue2:#1d4ed8;--bg:#f5f7fb;--text:#172033;--muted:#74809a;--border:#e7ebf2;--sidebar:260px}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif}.app-shell{min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:var(--sidebar);padding:22px 16px;background:linear-gradient(180deg,var(--navy),var(--navy2));color:#fff;z-index:1030}.sidebar-brand{display:flex;align-items:center;gap:12px;padding:4px 8px 22px;color:#fff}.sidebar-brand .brand-icon{width:42px;height:42px;border-radius:13px;background:linear-gradient(145deg,#3b82f6,#2563eb);display:grid;place-items:center;font-size:21px;box-shadow:0 8px 20px rgba(37,99,235,.32)}.sidebar-brand strong{display:block;font-size:18px;letter-spacing:.5px}.sidebar-brand small{display:block;color:#9fb0d2;margin-top:-2px}.sidebar-label{font-size:10px;letter-spacing:1.5px;color:#7181a6;font-weight:800;padding:12px 12px 7px}.sidebar-nav{display:flex;flex-direction:column;gap:5px}.sidebar-nav a,.sidebar-bottom a{display:flex;align-items:center;gap:12px;padding:11px 13px;color:#aebbd5;text-decoration:none;border-radius:11px;font-size:14px;font-weight:600;transition:.2s}.sidebar-nav a i,.sidebar-bottom a i{font-size:17px;width:20px}.sidebar-nav a:hover,.sidebar-nav a.active,.sidebar-bottom a:hover,.sidebar-bottom a.active{color:#fff;background:rgba(255,255,255,.09)}.sidebar-nav a.active{background:linear-gradient(90deg,#2563eb,#3b82f6);box-shadow:0 8px 18px rgba(37,99,235,.24)}.main-area{min-height:100vh;margin-left:var(--sidebar);display:flex;flex-direction:column}.topbar{height:72px;background:#fff;border-bottom:1px solid var(--border);display:flex;align-items:center;padding:0 30px;position:sticky;top:0;z-index:1020}.topbar-title{font-weight:700;color:#47536a}.user-menu{border:0;background:transparent;display:flex;align-items:center;gap:10px;text-align:left;color:var(--text)}.user-menu:after{margin-left:3px}.user-menu strong,.user-menu small{display:block;line-height:1.15}.user-menu strong{font-size:13px}.user-menu small{font-size:11px;color:var(--muted);margin-top:3px}.user-avatar{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#eaf1ff;color:var(--blue)}.page-content{padding:30px;flex:1}.app-footer{padding:18px 30px;color:#919bad;font-size:12px;display:flex;justify-content:space-between;border-top:1px solid var(--border);background:#fff}.page-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:18px;margin-bottom:25px}.page-heading h2{font-size:27px;font-weight:800;margin:2px 0 4px}.page-heading p{margin:0;color:var(--muted);font-size:14px}.eyebrow{font-size:10px;font-weight:800;letter-spacing:1.4px;color:var(--blue)}.content-card,.card{background:#fff;border:1px solid var(--border);border-radius:16px;box-shadow:0 8px 30px rgba(20,33,61,.045)}.metric-card{padding:20px;display:flex;align-items:center;gap:15px;height:100%}.metric-icon{width:48px;height:48px;border-radius:14px;display:grid;place-items:center;font-size:20px;background:#eef4ff;color:var(--blue)}.metric-card .label{font-size:12px;color:var(--muted);font-weight:600}.metric-card .value{font-size:27px;font-weight:800;line-height:1.1;margin-top:3px}.quick-card{padding:24px}.quick-action{display:flex;align-items:center;gap:14px;padding:15px;border:1px solid var(--border);border-radius:13px;text-decoration:none;color:var(--text);transition:.2s;background:#fff}.quick-action:hover{transform:translateY(-2px);border-color:#bdd0fb;box-shadow:0 8px 20px rgba(37,99,235,.08)}.quick-action .icon{width:40px;height:40px;border-radius:11px;background:#edf3ff;color:var(--blue);display:grid;place-items:center}.quick-action strong{font-size:13px}.quick-action small{display:block;color:var(--muted);font-size:11px}.table-wrap{overflow:hidden}.table{margin:0}.table>:not(caption)>*>*{padding:14px 16px;border-color:#eef1f5}.table thead th{font-size:11px;text-transform:uppercase;letter-spacing:.55px;color:#7f8aa1;background:#f9fafc;font-weight:800;white-space:nowrap}.table tbody td{font-size:13px;vertical-align:middle}.table tbody tr:hover{background:#fbfcff}.form-label{font-size:12px;font-weight:700;color:#47536a}.form-control,.form-select{border-color:#dde3ec;border-radius:10px;min-height:43px;font-size:14px}.form-control:focus,.form-select:focus{border-color:#8ab0ff;box-shadow:0 0 0 .2rem rgba(37,99,235,.1)}.btn{border-radius:10px;font-weight:700;font-size:13px;padding:.62rem 1rem}.btn-primary{background:var(--blue);border-color:var(--blue)}.btn-primary:hover{background:var(--blue2);border-color:var(--blue2)}.badge-soft{display:inline-flex;padding:6px 9px;border-radius:8px;background:#eef4ff;color:#2459c4;font-weight:700}.quote-box{background:#fff;border:1px solid var(--border);border-radius:16px;padding:25px;box-shadow:0 8px 30px rgba(20,33,61,.045)}.price{font-weight:800}.plan-card{height:100%;padding:22px;position:relative;overflow:hidden}.plan-card:before{content:"";position:absolute;width:90px;height:90px;border-radius:50%;right:-35px;top:-35px;background:#eff4ff}.plan-card .panel-pill{display:inline-block;font-size:11px;font-weight:800;padding:5px 9px;border-radius:8px;background:#eef4ff;color:#2559c2}.domain-card{padding:24px;height:100%}.domain-extension{font-size:24px;font-weight:800}.domain-price{font-size:23px;font-weight:800;margin-top:14px}.login-body{background:#f2f5fb;min-height:100vh}.login-shell{min-height:100vh;display:grid;grid-template-columns:minmax(420px,48%) 1fr}.login-brand-panel{background:radial-gradient(circle at 15% 15%,#1e3a8a 0,#111f46 36%,#0a1330 100%);padding:70px;align-items:center;color:#fff;position:relative;overflow:hidden}.login-brand-panel:after{content:"";position:absolute;width:420px;height:420px;border:1px solid rgba(255,255,255,.08);border-radius:50%;right:-200px;bottom:-160px}.login-brand-panel>div{max-width:500px;position:relative;z-index:1}.login-brand-panel h1{font-size:42px;font-weight:850;letter-spacing:-1px}.login-brand-panel p{color:#b7c4df;font-size:17px;line-height:1.65;margin:16px 0 30px}.brand-mark{width:58px;height:58px;border-radius:18px;background:linear-gradient(145deg,#60a5fa,#2563eb);display:grid;place-items:center;font-size:27px;color:#fff;box-shadow:0 12px 30px rgba(37,99,235,.35)}.login-feature{display:flex;align-items:center;gap:10px;margin:14px 0;color:#dbe5f8;font-size:14px}.login-feature i{color:#60a5fa}.login-form-panel{display:flex;align-items:center;justify-content:center;padding:40px}.login-card{width:100%;max-width:410px;background:#fff;border:1px solid #e4e9f2;border-radius:22px;padding:38px;box-shadow:0 18px 60px rgba(16,29,63,.08)}.login-card h2{font-size:29px;font-weight:850;margin:4px 0}.login-input .input-group-text{background:#fff;color:#9aa5b9;border-color:#dde3ec;border-radius:10px 0 0 10px}.login-input .form-control{border-left:0}.login-foot{text-align:center;font-size:11px;color:#a2acbd;margin-top:25px}.mobile-nav{background:var(--navy);color:#fff}.mobile-nav .offcanvas-header{border-bottom:1px solid rgba(255,255,255,.08)}.mobile-nav .sidebar-nav a{color:#becae1}.empty-state{text-align:center;padding:45px 20px;color:var(--muted)}.empty-state i{font-size:36px;color:#b5c2d8}.quote-paper{background:#fff;border:1px solid var(--border);border-radius:16px;padding:35px;box-shadow:0 8px 30px rgba(20,33,61,.045)}
@media(max-width:991.98px){.main-area{margin-left:0}.topbar{padding:0 18px}.page-content{padding:20px}.login-shell{display:block}.login-form-panel{min-height:100vh;padding:20px}.app-footer{padding:16px 20px}.page-heading{align-items:flex-start;flex-direction:column}}
@media(max-width:575.98px){.page-content{padding:15px}.login-card{padding:28px 22px}.quote-box,.quote-paper{padding:20px}.page-heading h2{font-size:23px}.app-footer{flex-direction:column;gap:4px}}
@media print{.sidebar,.topbar,.app-footer,.no-print,.offcanvas{display:none!important}.main-area{margin:0}.page-content{padding:0;background:#fff}.quote-paper{box-shadow:none;border:0;padding:0}}

/* ===== Planes Hosting V3 ===== */
.hosting-heading{align-items:center}.hosting-toolbar{padding:14px 16px;display:flex;align-items:center;justify-content:space-between;gap:16px}.hosting-filter{display:flex;flex-wrap:wrap;gap:8px}.hosting-filter-btn{border:1px solid var(--border);background:#fff;color:#56627a;border-radius:11px;padding:9px 13px;font-size:12px;font-weight:800;display:flex;align-items:center;gap:7px;transition:.18s}.hosting-filter-btn span{min-width:22px;padding:2px 6px;border-radius:7px;background:#f1f4f8;color:#7d889c;font-size:10px}.hosting-filter-btn:hover{transform:translateY(-1px);border-color:#cbd6e8}.hosting-filter-btn.active{background:#17233f;color:#fff;border-color:#17233f;box-shadow:0 7px 18px rgba(11,21,48,.13)}.hosting-filter-btn.active span{background:rgba(255,255,255,.14);color:#fff}.hosting-filter-btn.ferozo.active{background:#0f766e;border-color:#0f766e}.hosting-filter-btn.cpanel.active{background:#7c2d12;border-color:#7c2d12}.hosting-legend{font-size:11px;color:var(--muted);display:flex;align-items:center;gap:7px;white-space:nowrap}.hosting-panel-section{transition:.2s}.hosting-panel-header{position:relative;overflow:hidden;display:flex;align-items:center;gap:15px;border-radius:17px;padding:19px 21px;margin-bottom:15px;color:#fff}.hosting-panel-header:after{content:"";position:absolute;width:180px;height:180px;border:1px solid rgba(255,255,255,.12);border-radius:50%;right:-65px;top:-90px}.hosting-panel-header.is-ferozo{background:linear-gradient(110deg,#0f766e,#0d9488)}.hosting-panel-header.is-cpanel{background:linear-gradient(110deg,#7c2d12,#b45309)}.hosting-panel-icon{width:48px;height:48px;border-radius:14px;background:rgba(255,255,255,.14);display:grid;place-items:center;font-size:22px;flex:none}.hosting-panel-kicker{font-size:9px;letter-spacing:1.5px;font-weight:900;opacity:.72}.hosting-panel-header h3{font-size:22px;font-weight:850;margin:1px 0 1px}.hosting-panel-header p{font-size:12px;margin:0;opacity:.82}.hosting-panel-count{margin-left:auto;margin-right:15px;padding:7px 10px;border-radius:9px;background:rgba(255,255,255,.12);font-size:11px;font-weight:800;white-space:nowrap;z-index:1}.hosting-plan-card{height:100%;background:#fff;border:1px solid var(--border);border-radius:17px;padding:18px;box-shadow:0 8px 25px rgba(20,33,61,.04);display:flex;flex-direction:column;position:relative;overflow:hidden;transition:.2s}.hosting-plan-card:hover{transform:translateY(-3px);box-shadow:0 14px 32px rgba(20,33,61,.09)}.hosting-plan-card:before{content:"";position:absolute;inset:0 0 auto 0;height:4px}.hosting-plan-card.plan-ferozo:before{background:#0d9488}.hosting-plan-card.plan-cpanel:before{background:#b45309}.hosting-plan-top{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:15px}.hosting-panel-badge{display:inline-flex;font-size:9px;letter-spacing:.7px;text-transform:uppercase;font-weight:900;padding:4px 7px;border-radius:7px;background:#f3f6fa;color:#6d788d}.plan-ferozo .hosting-panel-badge{background:#e9f8f5;color:#0f766e}.plan-cpanel .hosting-panel-badge{background:#fff3e8;color:#9a4513}.hosting-plan-top h4{font-size:19px;font-weight:850;margin:6px 0 0}.hosting-plan-number{width:35px;height:35px;border-radius:11px;background:#f4f6fa;display:grid;place-items:center;color:#a0a9b9;font-size:15px;font-weight:900}.hosting-spec-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.hosting-spec-grid>div{display:flex;align-items:center;gap:8px;padding:9px;border-radius:10px;background:#f8fafc;border:1px solid #f0f2f6}.hosting-spec-grid i{font-size:15px;color:#8a95a9}.hosting-spec-grid span{display:block;font-size:9px;color:#8b95a7;line-height:1.15}.hosting-spec-grid strong{display:block;font-size:11px;color:#33405a;margin-top:2px}.hosting-backup{display:flex;align-items:flex-start;gap:8px;margin:11px 0 13px;padding:8px 10px;border-radius:9px;background:#f8fafc;color:#69758b;font-size:10px;line-height:1.25}.hosting-backup i{color:#23a36d;font-size:13px}.hosting-price-area{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:auto}.hosting-price-block{padding:10px;border:1px solid var(--border);border-radius:11px}.hosting-price-block span,.hosting-price-block small{display:block;color:#8c96a8;font-size:9px}.hosting-price-block strong{display:block;font-size:16px;font-weight:850;color:#354159;margin:1px 0}.hosting-price-block.featured{background:#f5f8ff;border-color:#dce6fc}.hosting-price-block.featured strong{color:#2459c2}.hosting-renewal{display:flex;justify-content:space-between;align-items:center;padding:10px 1px 9px;font-size:10px;color:#8994a7}.hosting-renewal strong{font-size:11px;color:#536078}.hosting-quote-btn{margin-top:4px;background:#f3f6fb;color:#31405e;border:1px solid #e5eaf2}.hosting-quote-btn:hover{background:#17233f;color:#fff;border-color:#17233f}.plan-ferozo .hosting-quote-btn:hover{background:#0f766e;border-color:#0f766e}.plan-cpanel .hosting-quote-btn:hover{background:#9a4513;border-color:#9a4513}
@media(min-width:1200px){.hosting-panel-section .col-xl{flex:0 0 20%;max-width:20%}.hosting-plan-card{padding:16px}.hosting-spec-grid{grid-template-columns:1fr}.hosting-price-area{grid-template-columns:1fr}.hosting-panel-header{padding:17px 20px}}
@media(max-width:991.98px){.hosting-toolbar{align-items:flex-start;flex-direction:column}.hosting-legend{white-space:normal}.hosting-panel-count{display:none}.hosting-panel-header p{max-width:520px}}
@media(max-width:575.98px){.hosting-filter{width:100%}.hosting-filter-btn{flex:1;justify-content:center}.hosting-panel-header{padding:16px}.hosting-panel-header p{font-size:11px}.hosting-panel-icon{width:42px;height:42px}.hosting-price-area{grid-template-columns:1fr 1fr}}

/* ===== Planes Hosting V3.1 - Tipografía ampliada ===== */
.hosting-heading h2{font-size:32px}
.hosting-heading p{font-size:16px}
.hosting-filter-btn{font-size:15px;padding:11px 16px}
.hosting-filter-btn span{font-size:12px;min-width:26px;padding:3px 7px}
.hosting-legend{font-size:13px}
.hosting-panel-kicker{font-size:11px}
.hosting-panel-header h3{font-size:28px}
.hosting-panel-header p{font-size:15px;line-height:1.45}
.hosting-panel-count{font-size:13px;padding:8px 12px}
.hosting-panel-badge{font-size:12px;padding:6px 9px}
.hosting-plan-top h4{font-size:25px;margin-top:8px}
.hosting-plan-number{width:42px;height:42px;font-size:18px}
.hosting-spec-grid span{font-size:12px;line-height:1.2}
.hosting-spec-grid strong{font-size:16px;margin-top:3px}
.hosting-spec-grid i{font-size:18px}
.hosting-spec-grid>div{padding:12px}
.hosting-backup{font-size:13px;line-height:1.4;padding:10px 12px}
.hosting-backup i{font-size:16px}
.hosting-price-block{padding:13px}
.hosting-price-block span,.hosting-price-block small{font-size:12px}
.hosting-price-block strong{font-size:21px;margin:3px 0}
.hosting-renewal{font-size:13px;padding:12px 2px 11px}
.hosting-renewal strong{font-size:15px}
.hosting-quote-btn{font-size:15px;padding:.72rem 1rem}

@media(min-width:1200px){
  .hosting-plan-card{padding:18px}
}
@media(max-width:575.98px){
  .hosting-heading h2{font-size:27px}
  .hosting-heading p{font-size:15px}
  .hosting-filter-btn{font-size:13px;padding:10px 9px}
  .hosting-panel-header h3{font-size:24px}
  .hosting-panel-header p{font-size:13px}
  .hosting-plan-top h4{font-size:23px}
  .hosting-spec-grid span{font-size:11px}
  .hosting-spec-grid strong{font-size:15px}
  .hosting-price-block strong{font-size:20px}
}

/* ===== Cotizador V4 - múltiples servicios ===== */
#itemsBody td{font-size:14px}
#itemsBody td strong{font-size:15px}
#itemsBody .badge-soft{font-size:12px}
.quote-box h4{font-size:21px}
@media(max-width:575.98px){#itemsBody td{font-size:13px}.quote-box h4{font-size:19px}}

/* ===== V4.1 - Planes Hosting compactos para escritorio ===== */
@media (min-width: 1200px) and (min-height: 720px) {
  .page-content{padding-top:18px;padding-bottom:18px}
  .hosting-heading{margin-bottom:14px}
  .hosting-heading h2{font-size:28px;line-height:1.05;margin-bottom:2px}
  .hosting-heading p{font-size:14px}
  .hosting-heading .btn{padding:.55rem .9rem}

  .hosting-toolbar{padding:9px 12px;margin-bottom:12px!important}
  .hosting-filter-btn{font-size:13px;padding:8px 12px}
  .hosting-filter-btn span{font-size:11px;min-width:23px;padding:2px 6px}
  .hosting-legend{font-size:11px}

  .hosting-panel-section{margin-bottom:14px!important}
  .hosting-panel-header{padding:11px 16px;margin-bottom:10px;min-height:72px}
  .hosting-panel-icon{width:40px;height:40px;font-size:19px;border-radius:11px}
  .hosting-panel-kicker{font-size:9px}
  .hosting-panel-header h3{font-size:23px;line-height:1.05;margin:0}
  .hosting-panel-header p{font-size:12px;line-height:1.25;margin:2px 0 0}
  .hosting-panel-count{font-size:11px;padding:6px 9px}

  .hosting-panel-section .row{--bs-gutter-x:.75rem;--bs-gutter-y:.75rem}
  .hosting-panel-section .col-xl{flex:0 0 20%;max-width:20%}
  .hosting-plan-card{padding:12px;min-height:0}
  .hosting-plan-top{margin-bottom:8px}
  .hosting-panel-badge{font-size:10px;padding:4px 7px}
  .hosting-plan-top h4{font-size:20px;line-height:1.05;margin-top:5px}
  .hosting-plan-number{width:34px;height:34px;font-size:15px;border-radius:9px}

  /* En escritorio, las especificaciones van 2 x 2 en vez de 4 filas. */
  .hosting-spec-grid{grid-template-columns:1fr 1fr!important;gap:6px}
  .hosting-spec-grid>div{padding:7px 8px;min-height:48px}
  .hosting-spec-grid i{font-size:15px}
  .hosting-spec-grid span{font-size:10px;line-height:1.05}
  .hosting-spec-grid strong{font-size:13px;margin-top:2px;line-height:1.1}

  .hosting-backup{font-size:10.5px;line-height:1.2;padding:7px 9px;margin:8px 0}
  .hosting-backup i{font-size:14px}

  /* Mensual y anual se mantienen lado a lado. */
  .hosting-price-area{grid-template-columns:1fr 1fr!important;gap:6px}
  .hosting-price-block{padding:8px 9px}
  .hosting-price-block span,.hosting-price-block small{font-size:10px}
  .hosting-price-block strong{font-size:17px;line-height:1.1;margin:2px 0}
  .hosting-renewal{font-size:10.5px;padding:7px 1px 6px}
  .hosting-renewal strong{font-size:12px}
  .hosting-quote-btn{font-size:12px;padding:.52rem .65rem;margin-top:2px}
}

/* Monitores de escritorio más bajos: compactación adicional. */
@media (min-width: 1200px) and (max-height: 800px) {
  .topbar{height:60px}
  .page-content{padding-top:12px}
  .hosting-heading{margin-bottom:10px}
  .hosting-heading .eyebrow{display:none}
  .hosting-heading h2{font-size:25px}
  .hosting-heading p{font-size:12px}
  .hosting-toolbar{padding:7px 10px;margin-bottom:9px!important}
  .hosting-panel-header{min-height:60px;padding:8px 13px;margin-bottom:8px}
  .hosting-panel-icon{width:35px;height:35px;font-size:17px}
  .hosting-panel-header h3{font-size:20px}
  .hosting-panel-header p{font-size:11px}
  .hosting-plan-card{padding:10px}
  .hosting-plan-top{margin-bottom:6px}
  .hosting-plan-top h4{font-size:18px}
  .hosting-spec-grid>div{padding:6px 7px;min-height:43px}
  .hosting-spec-grid strong{font-size:12px}
  .hosting-backup{margin:6px 0;padding:6px 8px}
  .hosting-price-block{padding:7px 8px}
  .hosting-price-block strong{font-size:16px}
  .hosting-renewal{padding:5px 1px}
  .hosting-quote-btn{padding:.45rem .6rem}
}
