/* HostGad VPS – blue/orange brand + professional top layout */
:root{
  --hg-blue:#004e92;
  --hg-blue-deep:#020a81;
  --hg-orange:#e65c00;
  --hg-orange-soft:#ff7a1a;
  --hg-ink:#10233f;
  --hg-muted:#5a6b82;
  --hg-line:#d9e6f5;
  --hg-bg:#f5f8fc;
  --hg-max:1180px;
}

header{
  background-color:#ffffff !important;
  border-bottom:1px solid #e6eef8;
  box-shadow:0 2px 12px rgba(2,10,129,.06);
}
.nav-links ul li a,
.zf li a{
  color:#10233f !important;
  font-weight:700;
}
.zf li a.button,
.nav-links ul li a.button{
  background:linear-gradient(135deg,var(--hg-blue),var(--hg-blue-deep)) !important;
  color:#fff !important;
  border-radius:999px;
  padding:.55rem 1.1rem !important;
}
.zf li a.button:hover,
.nav-links ul li a.button:hover{
  background:linear-gradient(135deg,var(--hg-orange),#c44d00) !important;
}
.nav-link:hover,
.nav-links ul li a:hover{
  color:var(--hg-blue) !important;
  background:#f3f8ff !important;
}
.dropdown{
  border:1px solid #d9e6f5;
  border-radius:12px;
  box-shadow:0 12px 28px rgba(2,10,129,.12);
}
.menu-toggle .bar{background:var(--hg-blue) !important}

.subscribe22-btn,
.subscribe-btn,
.but20 a{background:var(--hg-blue) !important}
.subscribe22-btn:hover,
.subscribe-btn:hover,
.but20 a:hover{background:var(--hg-orange) !important}
.pricing22-column h3{
  color:var(--hg-blue-deep) !important;
}
.price22{
  color:var(--hg-orange) !important;
}
.feature-section5 h2{
  color:var(--hg-blue-deep) !important;
}
.main-section41 .text-section41 h2,
.main41 .text-section41 h2{
  color:#ffffff !important;
}

.hg-wrap{width:min(var(--hg-max),100% - 2rem);margin-inline:auto}
.hg-kicker{margin:0 0 .55rem;color:var(--hg-orange);font-weight:800}
.hg-btn{
  display:inline-flex;align-items:center;justify-content:center;
  padding:.8rem 1.25rem;border-radius:999px;font-weight:800;text-decoration:none;
}
.hg-btn-primary{background:var(--hg-blue);color:#fff}
.hg-btn-primary:hover{background:var(--hg-blue-deep);color:#fff}
.hg-btn-orange{background:var(--hg-orange);color:#fff}
.hg-btn-orange:hover{background:#c44d00;color:#fff}

/* Hero */
.hg-hero{
  background:
    radial-gradient(circle at 85% 15%,rgba(230,92,0,.12),transparent 35%),
    linear-gradient(135deg,#f7fbff 0%,#ffffff 55%,#fff7f0 100%);
  padding:3rem 0 2.2rem;
}
.hg-hero-grid{
  display:grid;grid-template-columns:1.05fr .95fr;gap:1.6rem;align-items:center;
}
.hg-hero h1{
  margin:0 0 .55rem;
  font-size:clamp(2.2rem,5vw,3.6rem);
  line-height:1.15;color:var(--hg-blue-deep);font-weight:900;
}
.hg-lead{
  margin:0 0 .7rem;font-size:1.2rem;font-weight:800;color:var(--hg-ink);
}
.hg-desc{margin:0;color:var(--hg-muted);line-height:1.85;font-size:1.05rem}
.hg-actions{display:flex;flex-wrap:wrap;gap:.7rem;margin-top:1.2rem}
.hg-hero-media img{
  width:100%;height:auto;display:block;border-radius:20px;
  box-shadow:0 18px 40px rgba(2,10,129,.12);
}

/* Pillars */
.hg-pillars{padding:1rem 0 2.6rem;background:var(--hg-bg)}
.hg-pillars-head{text-align:center;max-width:40rem;margin:0 auto 1.5rem}
.hg-pillars-head h2{margin:0 0 .45rem;color:var(--hg-blue-deep);font-size:clamp(1.4rem,3vw,2rem)}
.hg-pillars-head p{margin:0;color:var(--hg-muted)}
.hg-pillars-grid{
  display:grid;grid-template-columns:repeat(4,1fr);gap:1rem;
}
.hg-pillar{
  background:#fff;border:1px solid var(--hg-line);border-radius:18px;
  padding:1.2rem;box-shadow:0 10px 28px rgba(2,10,129,.05);
}
.hg-pillar-ico{
  width:42px;height:42px;border-radius:12px;margin-bottom:.75rem;
  display:grid;place-items:center;
  background:linear-gradient(135deg,#e8f2ff,#ffe8d6);
}
.hg-pillar-ico span{
  width:14px;height:14px;border-radius:4px;
  background:linear-gradient(135deg,var(--hg-blue),var(--hg-orange));
}
.hg-pillar:nth-child(1) .hg-pillar-ico span{clip-path:polygon(50% 0,100% 100%,0 100%)}
.hg-pillar:nth-child(2) .hg-pillar-ico span{border-radius:50%}
.hg-pillar:nth-child(3) .hg-pillar-ico span{width:16px;height:10px;border-radius:2px}
.hg-pillar:nth-child(4) .hg-pillar-ico span{width:16px;height:16px;border-radius:50%;box-shadow:inset 0 0 0 3px #fff}
.hg-pillar h3{margin:0 0 .35rem;color:var(--hg-blue-deep);font-size:1.05rem}
.hg-pillar p{margin:0;color:var(--hg-muted);font-size:.93rem;line-height:1.7}

.hg-plan-note{
  text-align:center;color:var(--hg-orange);font-weight:800;margin:.2rem 0 1rem;
}

/* Bot */
.hg-bot-section{
  background:#07111f;color:#fff;padding:2.6rem 0;margin:1.2rem 0 0;
}
.hg-bot-grid{
  display:grid;grid-template-columns:1fr 1.05fr;gap:1.4rem;align-items:center;
}
.hg-badge{
  display:inline-block;margin-bottom:.7rem;padding:.3rem .75rem;border-radius:999px;
  background:rgba(230,92,0,.18);color:#ffb480;border:1px solid rgba(230,92,0,.45);font-weight:800;
}
.hg-bot-section h2,
.hg-bot-copy h2{
  margin:0 0 .7rem;
  font-size:clamp(1.45rem,3vw,2.1rem);
  color:#ffffff !important;
}
.hg-bot-copy p{color:#e8eef8 !important;line-height:1.8}
.hg-bot-list li{color:#ffffff !important}
.hg-bot-list{margin:1rem 0 1.2rem;padding:0;list-style:none;display:grid;gap:.55rem}
.hg-bot-list li{
  background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.1);
  border-radius:12px;padding:.7rem .85rem;
}
.hg-bot-list li::before{content:"✓ ";color:var(--hg-orange-soft);font-weight:900}
.hg-bot-media img{width:100%;height:auto;display:block;border-radius:18px}

/* Speed */
.hg-speed{
  background:linear-gradient(180deg,#fff 0%,#f3f8ff 100%);
  padding:2.8rem 0 3rem;
}
.hg-speed-grid{
  display:grid;grid-template-columns:1.05fr .95fr;gap:1.5rem;align-items:center;
}
.hg-speed-media img{
  width:100%;height:auto;display:block;border-radius:20px;
  box-shadow:0 18px 40px rgba(2,10,129,.12);
}
.hg-speed-copy h2{
  margin:0 0 .7rem;color:var(--hg-blue-deep);
  font-size:clamp(1.45rem,3vw,2.15rem);line-height:1.35;
}
.hg-speed-copy > p{color:var(--hg-muted);line-height:1.85}
.hg-speed-points{
  display:grid;grid-template-columns:1fr 1fr;gap:.8rem;margin:1.1rem 0 1.3rem;
}
.hg-speed-points article{
  background:#fff;border:1px solid var(--hg-line);border-radius:14px;padding:.9rem;
}
.hg-speed-points h3{margin:0 0 .3rem;color:var(--hg-blue);font-size:.98rem}
.hg-speed-points p{margin:0;color:var(--hg-muted);font-size:.9rem;line-height:1.65}

@media (max-width:980px){
  .hg-hero-grid,
  .hg-bot-grid,
  .hg-speed-grid,
  .hg-pillars-grid,
  .hg-speed-points{grid-template-columns:1fr}
}
@media (max-width:640px){
  .hg-hero{padding:2rem 0 1.4rem}
  .hg-pillars-grid{grid-template-columns:1fr}
}


/* Fix contrast: never dark-blue headings on dark sections */
.hg-bot-section h1,
.hg-bot-section h2,
.hg-bot-section h3,
.hg-bot-section .hg-badge{color:#fff !important}
.hg-bot-section .hg-badge{color:#ffb480 !important}


/* Vision / AI face showcase */
.hg-vision{
  background:linear-gradient(135deg,#050b18 0%,#0a1630 55%,#07111f 100%);
  padding:3rem 0;
  color:#fff;
}
.hg-vision-grid{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:1.6rem;
  align-items:center;
}
.hg-vision-media{
  position:relative;
  border-radius:22px;
  overflow:hidden;
  box-shadow:0 22px 50px rgba(0,0,0,.45);
  border:1px solid rgba(255,255,255,.1);
}
.hg-vision-media img{
  width:100%;
  height:auto;
  display:block;
  object-fit:cover;
  max-height:640px;
}
.hg-vision-kicker{
  margin:0 0 .55rem;
  color:#ffb480;
  font-weight:800;
}
.hg-vision h2,
.hg-vision-copy h2{
  margin:0 0 .8rem;
  color:#ffffff !important;
  font-size:clamp(1.5rem,3vw,2.2rem);
  line-height:1.35;
}
.hg-vision-copy p{
  margin:0 0 1rem;
  color:#d7e3f5 !important;
  line-height:1.85;
}
.hg-vision-list{
  list-style:none;
  margin:0 0 1.3rem;
  padding:0;
  display:grid;
  gap:.7rem;
}
.hg-vision-list li{
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.12);
  border-radius:14px;
  padding:.85rem 1rem;
  color:#fff !important;
  line-height:1.7;
}
.hg-vision-list strong{color:#ffb480}
@media (max-width:980px){
  .hg-vision-grid{grid-template-columns:1fr}
  .hg-vision-media img{max-height:520px}
}

/* ===== Professional HostGad Footer ===== */
footer,
.hg-footer{
  margin:0;
  padding:0;
  background:
    radial-gradient(900px 320px at 100% 0%, rgba(230,92,0,.18), transparent 55%),
    radial-gradient(700px 280px at 0% 100%, rgba(0,78,146,.35), transparent 50%),
    linear-gradient(160deg,#06101f 0%,#0b1a33 45%,#071428 100%) !important;
  color:#d7e3f5;
  border-top:3px solid var(--hg-orange);
}
.hg-footer-inner{
  width:min(1180px,100% - 2rem);
  margin-inline:auto;
  padding:3.2rem 0 0;
}
.hg-footer-top{
  display:grid;
  grid-template-columns:1.4fr .9fr .9fr 1.1fr;
  gap:2rem 1.6rem;
  padding-bottom:2.4rem;
  border-bottom:1px solid rgba(255,255,255,.1);
}
.hg-footer-logo{display:inline-block;margin-bottom:1rem}
.hg-footer-logo img{
  display:block;
  height:48px;
  width:auto;
  filter:brightness(0) invert(1);
}
.hg-footer-about{
  margin:0 0 1.2rem;
  color:#b7c7dc;
  line-height:1.85;
  font-size:.95rem;
  max-width:36ch;
}
.hg-footer-social{display:flex;gap:.6rem;flex-wrap:wrap}
.hg-footer-social a{
  width:38px;height:38px;border-radius:12px;
  display:inline-flex;align-items:center;justify-content:center;
  color:#fff;background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  transition:background .2s,border-color .2s,transform .2s;
}
.hg-footer-social a:hover{
  background:linear-gradient(135deg,var(--hg-blue),var(--hg-orange));
  border-color:transparent;
  transform:translateY(-2px);
  color:#fff;
}
.hg-footer-col h3{
  margin:0 0 1rem;
  color:#fff !important;
  font-size:1.05rem;
  font-weight:800;
  position:relative;
  padding-bottom:.55rem;
}
.hg-footer-col h3::after{
  content:"";
  position:absolute;
  right:0;bottom:0;
  width:34px;height:3px;border-radius:3px;
  background:linear-gradient(90deg,var(--hg-orange),transparent);
}
.hg-footer-col ul{
  list-style:none;margin:0;padding:0;
  display:grid;gap:.55rem;
}
.hg-footer-col a{
  color:#b7c7dc;
  text-decoration:none;
  font-size:.95rem;
  transition:color .2s,padding-right .2s;
  display:inline-block;
}
.hg-footer-col a:hover{
  color:#fff;
  padding-right:.25rem;
}
.hg-footer-contact-list li{
  display:flex;align-items:flex-start;gap:.65rem;
  color:#c6d4e8;font-size:.95rem;line-height:1.6;
}
.hg-footer-ico{
  width:28px;height:28px;flex:0 0 28px;
  border-radius:8px;
  display:inline-flex;align-items:center;justify-content:center;
  background:rgba(230,92,0,.15);
  color:#ffb480;
  margin-top:.1rem;
}
.hg-footer-contact-list a{color:#fff;font-weight:600}
.hg-footer-contact-list a:hover{color:#ffb480;padding-right:0}
.hg-footer-cta{
  display:inline-flex;align-items:center;justify-content:center;
  margin-top:1.1rem;
  padding:.75rem 1.15rem;
  border-radius:12px;
  background:linear-gradient(135deg,var(--hg-orange),#c44d00);
  color:#fff !important;
  font-weight:800;
  font-size:.92rem;
  text-decoration:none;
  box-shadow:0 10px 24px rgba(230,92,0,.25);
  transition:transform .2s,filter .2s;
}
.hg-footer-cta:hover{
  filter:brightness(1.06);
  transform:translateY(-1px);
  color:#fff !important;
  padding-right:1.15rem;
}
.hg-footer-bottom{
  display:flex;align-items:center;justify-content:space-between;
  gap:1rem;flex-wrap:wrap;
  padding:1.15rem 0 1.4rem;
  color:#8fa3bd;font-size:.88rem;
}
.hg-footer-bottom p{margin:0}
.hg-footer-legal{display:flex;gap:1rem;flex-wrap:wrap}
.hg-footer-legal a{
  color:#8fa3bd;text-decoration:none;
}
.hg-footer-legal a:hover{color:#ffb480}

@media (max-width:980px){
  .hg-footer-top{grid-template-columns:1fr 1fr;gap:1.8rem}
  .hg-footer-brand{grid-column:1 / -1}
  .hg-footer-about{max-width:none}
}
@media (max-width:640px){
  .hg-footer-inner{padding-top:2.4rem}
  .hg-footer-top{grid-template-columns:1fr;gap:1.6rem}
  .hg-footer-bottom{flex-direction:column;align-items:flex-start;text-align:right}
}

/* ===== Separate dark vision from features (no sticky dark blocks) ===== */
.hg-vision{
  padding:3.4rem 0 3.6rem !important;
  margin:0 !important;
  border-bottom:none;
}
.hg-vision + .main-container1,
section.hg-vision + div.main-container1{
  margin-top:0;
}

/* Convert "خصائص خطط" from dark glued block → light professional band */
.main-container1{
  background:
    linear-gradient(180deg,#ffffff 0%,#f5f8fc 55%,#eef4fb 100%) !important;
  color:var(--hg-ink) !important;
  border-radius:0 !important;
  box-shadow:none !important;
  padding:3.2rem clamp(1rem,4vw,2rem) 2.8rem !important;
  margin:0 !important;
  border-top:1px solid #d9e6f5;
  position:relative;
}
.main-container1::before{
  content:"";
  display:block;
  width:min(1180px,100%);
  height:4px;
  margin:0 auto 2rem;
  border-radius:4px;
  background:linear-gradient(90deg,var(--hg-blue),var(--hg-orange));
}
.main-container1 .right-section1 h2{
  color:var(--hg-blue-deep) !important;
  font-size:clamp(1.6rem,3.2vw,2.35rem) !important;
  line-height:1.35;
}
.main-container1 .right-section1 p{
  color:var(--hg-muted) !important;
  font-size:1.1rem !important;
  line-height:1.85;
  max-width:42ch;
}
.main-container1 .top-section1{
  width:min(1180px,100%);
  margin:0 auto 2rem;
  gap:1.5rem;
}
.main-container1 .boxes-container1{
  width:min(1180px,100%);
  margin:0 auto;
}
.main-container1 .box1{
  background:#fff !important;
  border:1px solid #d9e6f5;
  box-shadow:0 10px 28px rgba(2,10,129,.06);
}

/* ===== NVMe Storage Showcase ===== */
.hg-nvme{
  position:relative;
  overflow:hidden;
  padding:3.4rem 0 3.6rem;
  color:#e8f0fa;
  background:
    radial-gradient(700px 280px at 90% 10%, rgba(0,120,255,.22), transparent 55%),
    radial-gradient(560px 240px at 10% 90%, rgba(230,92,0,.16), transparent 50%),
    linear-gradient(165deg,#050b16 0%,#0a162c 48%,#07111f 100%);
}
.hg-nvme::before{
  content:"";
  position:absolute;inset:0;
  background-image:
    linear-gradient(rgba(80,140,220,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(80,140,220,.06) 1px, transparent 1px);
  background-size:42px 42px;
  mask-image:radial-gradient(ellipse at center, #000 35%, transparent 80%);
  pointer-events:none;
  opacity:.55;
}
.hg-nvme .hg-wrap{position:relative;z-index:1}
.hg-nvme-head{max-width:720px;margin:0 auto 2rem;text-align:center}
.hg-nvme-kicker{
  margin:0 0 .55rem;
  color:#ffb480;
  font-weight:800;
  letter-spacing:.02em;
}
.hg-nvme-head h2{
  margin:0 0 .8rem;
  color:#fff !important;
  font-size:clamp(1.55rem,3.2vw,2.35rem);
  line-height:1.35;
}
.hg-nvme-lead{
  margin:0 auto;
  color:#b7c7dc;
  line-height:1.85;
  font-size:1.05rem;
}
.hg-nvme-grid{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:1.6rem;
  align-items:center;
  margin-bottom:1.8rem;
}
.hg-nvme-media{
  border-radius:22px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.12);
  box-shadow:0 24px 50px rgba(0,0,0,.45), 0 0 0 1px rgba(0,120,255,.12);
}
.hg-nvme-media img{
  display:block;width:100%;height:auto;
  transform:scale(1.01);
}
.hg-nvme-stats{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:.7rem;
  margin-bottom:1.1rem;
}
.hg-nvme-stat{
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.1);
  border-radius:16px;
  padding:.85rem .7rem;
  text-align:center;
}
.hg-nvme-stat-num{
  display:block;
  font-size:clamp(1.35rem,2.4vw,1.85rem);
  font-weight:900;
  line-height:1.1;
  background:linear-gradient(135deg,#7ec8ff,#ffb480);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.hg-nvme-stat-txt{
  display:block;
  margin-top:.35rem;
  color:#9eb3cc;
  font-size:.78rem;
  line-height:1.45;
}
.hg-nvme-compare{
  background:rgba(0,0,0,.28);
  border:1px solid rgba(255,255,255,.1);
  border-radius:16px;
  padding:1rem 1.05rem;
  margin-bottom:1.1rem;
}
.hg-nvme-bar-row + .hg-nvme-bar-row{margin-top:.85rem}
.hg-nvme-bar-meta{
  display:flex;justify-content:space-between;align-items:center;
  margin-bottom:.35rem;gap:.5rem;
  color:#d7e3f5;font-size:.9rem;
}
.hg-nvme-bar-meta strong{color:#fff}
.hg-nvme-track{
  height:12px;border-radius:999px;
  background:rgba(255,255,255,.08);
  overflow:hidden;
}
.hg-nvme-fill{
  display:block;height:100%;width:var(--w,10%);
  border-radius:inherit;
}
.hg-nvme-fill--fast{
  background:linear-gradient(90deg,#1e90ff,#3ecf8e);
  box-shadow:0 0 16px rgba(62,207,142,.45);
  animation:hgNvmeGrow .9s ease-out both;
}
.hg-nvme-fill--slow{
  background:linear-gradient(90deg,#5a6b82,#8fa3bd);
  animation:hgNvmeGrow .9s .15s ease-out both;
}
@keyframes hgNvmeGrow{from{width:0}to{width:var(--w)}}
.hg-nvme-points{
  list-style:none;margin:0 0 1.2rem;padding:0;
  display:grid;gap:.55rem;
}
.hg-nvme-points li{
  padding:.75rem .9rem;
  border-radius:12px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.1);
  color:#d7e3f5;
  line-height:1.7;
  font-size:.95rem;
}
.hg-nvme-points strong{color:#ffb480}
.hg-nvme-features{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:.9rem;
}
.hg-nvme-features article{
  padding:1.05rem 1rem;
  border-radius:16px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.1);
  transition:border-color .2s, transform .2s, background .2s;
}
.hg-nvme-features article:hover{
  border-color:rgba(230,92,0,.45);
  background:rgba(230,92,0,.08);
  transform:translateY(-2px);
}
.hg-nvme-ico{
  display:block;width:28px;height:28px;margin-bottom:.65rem;border-radius:8px;
  background:
    linear-gradient(135deg,rgba(30,144,255,.35),rgba(230,92,0,.35));
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.15);
}
.hg-nvme-features h3{
  margin:0 0 .35rem;
  color:#fff !important;
  font-size:1rem;
  line-height:1.4;
}
.hg-nvme-features p{
  margin:0;
  color:#9eb3cc;
  font-size:.88rem;
  line-height:1.65;
}
@media (max-width:980px){
  .hg-nvme-grid{grid-template-columns:1fr}
  .hg-nvme-features{grid-template-columns:1fr 1fr}
  .hg-nvme-stats{grid-template-columns:1fr}
}
@media (max-width:640px){
  .hg-nvme{padding:2.6rem 0 2.8rem}
  .hg-nvme-features{grid-template-columns:1fr}
}

/* Fix: dark title on dark speed section */
.main-section41 .text-section41 h2,
.main41 .text-section41 h2{
  color:#ffffff !important;
  text-shadow:0 2px 18px rgba(0,0,0,.35);
}
.main-section41 .text-section41 p{
  color:#e8f0fa !important;
}


/* Pricing cards: never white titles on white cards */
.pricing22-section .pricing22-column h3{color:var(--hg-blue-deep)!important}
.pricing22-section .price22{color:var(--hg-orange)!important}

/* ===== Header: logo | centered menu | login ===== */
header .container{
  display:grid !important;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:.75rem 1rem;
  width:min(1180px, calc(100% - 1.5rem)) !important;
  max-width:1180px !important;
  margin:8px auto !important;
  padding:10px 16px !important;
  left:0; right:0;
}
header .logo{
  justify-self:start;
  z-index:2;
}
header .nav-links{
  display:flex !important;
  justify-content:center;
  align-items:center;
  width:100%;
  min-width:0;
}
header .nav-links .zf,
header .nav-links ul.zf{
  display:flex !important;
  justify-content:center;
  align-items:center;
  flex-wrap:wrap;
  gap:.15rem .35rem;
  width:auto;
  margin:0 auto;
}
header .hg-header-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:.55rem;
  z-index:2;
}
header .hg-login-btn,
header .hg-header-actions .button{
  background:linear-gradient(135deg,var(--hg-blue),var(--hg-blue-deep)) !important;
  color:#fff !important;
  border-radius:999px !important;
  padding:.55rem 1.1rem !important;
  text-decoration:none !important;
  font-weight:800 !important;
  white-space:nowrap;
  display:inline-flex;
  align-items:center;
}
header .hg-login-btn:hover,
header .hg-header-actions .button:hover{
  background:linear-gradient(135deg,var(--hg-orange),#c44d00) !important;
  color:#fff !important;
}
@media (max-width:980px){
  header .container{
    grid-template-columns:auto 1fr auto;
  }
  header .nav-links{
    display:none !important;
  }
  header .nav-links.active{
    display:flex !important;
    position:absolute;
    top:calc(100% + 6px);
    right:0; left:0;
    background:#fff;
    border:1px solid #d9e6f5;
    border-radius:16px;
    padding:1rem;
    box-shadow:0 16px 36px rgba(2,10,129,.14);
    justify-content:stretch;
  }
  header .nav-links.active .zf{
    flex-direction:column;
    align-items:stretch;
    width:100%;
  }
}

/* a11y helpers */
.sr-only{
  position:absolute;width:1px;height:1px;padding:0;margin:-1px;
  overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;
}
main#main-content{display:block}

/* ===== CLS stability locks ===== */
header{min-height:88px}
header .container{
  min-height:70px !important;
}
.hg-header-actions{
  min-width:150px;
  min-height:44px;
}
.hg-login-btn,
.hg-header-actions .button{
  min-height:40px !important;
  min-width:120px !important;
}
.hg-hero-media{
  aspect-ratio:900 / 600;
  background:#eef4fb;
}
.hg-hero-media img{
  width:100%;
  height:auto;
  display:block;
}
/* Prefer no late font swap CLS on this page */
@supports (font-display:optional){
  /* already set in critical @font-face */
}
body{padding-top:96px !important}
@media (max-width:640px){
  body{padding-top:92px !important}
}

/* Mobile: login inside hamburger menu, not beside logo */
.hg-login-in-menu{display:none}
@media (max-width:980px){
  .hg-login-desktop{display:none !important}
  .hg-login-in-menu{display:block !important;width:100%;margin-top:.75rem}
  .hg-login-in-menu .hg-login-btn,
  .hg-login-in-menu a.button{
    width:100% !important;
    justify-content:center !important;
    text-align:center;
  }
  header .hg-header-actions{
    min-width:44px !important;
    gap:0;
  }
}
@media (min-width:981px){
  .hg-login-in-menu{display:none !important}
  .hg-login-desktop{display:inline-flex !important}
}
