/* ============================================================
   ADISTALO GROUP — Shared Stylesheet v2.0 (Fixed Dropdown)
   Brand: Blue #0057B8 + White + Steel Grey
   Breakpoints: 1280 | 1024 | 900 | 768 | 480 | 360
   ============================================================ */

/* ── RESET ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
img, video { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; }
a { text-decoration: none; }
ul, ol { list-style: none; }

/* ── TOKENS ── */
:root {
  --blue:        #0057B8;
  --blue-dark:   #003d87;
  --blue-light:  #e8f1fb;
  --blue-mid:    #1a6fd4;
  --steel:       #4a5568;
  --steel-light: #718096;
  --steel-pale:  #f0f4f8;
  --white:       #ffffff;
  --off-white:   #f8fafc;
  --border:      #dde3ec;
  --ink:         #1a202c;
  --shadow-sm:   0 1px 3px rgba(0,87,184,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md:   0 4px 16px rgba(0,87,184,.12), 0 2px 6px rgba(0,0,0,.06);
  --shadow-lg:   0 12px 40px rgba(0,87,184,.15), 0 4px 12px rgba(0,0,0,.08);
  --radius:      8px;
  --radius-lg:   16px;
  --sp-xl:       5.5rem;
  --sp-lg:       4rem;
}

/* ── BASE ── */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', 'Barlow', system-ui, sans-serif;
  background: var(--white);
  color: var(--ink);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── BREADCRUMB RESET ── */
.breadcrumb, nav.breadcrumb {
  display: flex !important; align-items: center; flex-wrap: wrap; gap: .4rem;
  font-size: .82rem; color: rgba(255,255,255,.55); margin-bottom: 1.2rem;
  background: transparent !important; background-color: transparent !important;
  padding: 0 !important; border: none !important; border-radius: 0 !important;
  list-style: none !important; width: auto !important; max-width: 100% !important;
  box-shadow: none !important;
}
.breadcrumb a       { color: rgba(255,255,255,.55); transition: color .2s; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep    { opacity: .5; font-size: .7rem; }
.breadcrumb .current{ color: rgba(255,255,255,.9); }

/* ── TOPBAR ── */
.topbar { background: var(--blue-dark); padding: .5rem 0; font-size: .82rem; position: relative; z-index: 10001; }
.topbar-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 1.5rem;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: .4rem;
}
.topbar-left { display: flex; align-items: center; gap: 1.2rem; color: rgba(255,255,255,.75); }
.topbar-left a { color: rgba(255,255,255,.75); display: flex; align-items: center; gap: .35rem; transition: color .2s; white-space: nowrap; }
.topbar-left a:hover { color: #fff; }
.topbar-right { display: flex; align-items: center; gap: .5rem; color: rgba(255,255,255,.75); }
.topbar-right > span { margin-right: .2rem; }
.topbar-social { display: flex; gap: .35rem; }
.topbar-social a {
  width: 26px; height: 26px; border-radius: 50%;
  background: rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.8); font-size: .72rem;
  transition: background .2s, color .2s;
}
.topbar-social a:hover { background: var(--blue-mid); color: #fff; }

/* ── NAVBAR ── */
nav.site-nav {
  position: sticky; top: 0; z-index: 10000;
  isolation: isolate;
  background: var(--white); border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; gap: 1rem;
}
.nav-logo { display: flex; align-items: center; flex-shrink: 0; }
.nav-logo img { height: 40px; width: auto; }
.nav-logo-text {
  font-family: 'Barlow', sans-serif; font-weight: 700; font-size: 1.45rem;
  color: var(--blue); letter-spacing: -.02em;
}
.nav-logo-text span { color: var(--steel); }

.nav-menu { display: flex; align-items: center; gap: .15rem; flex-wrap: nowrap; }
.nav-menu > li { position: relative; }
.nav-menu > li > a {
  display: flex; align-items: center; gap: .25rem;
  padding: .45rem .8rem; border-radius: var(--radius);
  font-size: .88rem; font-weight: 500; color: var(--steel);
  transition: color .2s, background .2s; white-space: nowrap;
}
.nav-menu > li > a:hover,
.nav-menu > li > a.active,
.nav-menu > li.dd-open > a { color: var(--blue); background: var(--blue-light); }
.nav-menu > li > a .chevron { font-size: .6rem; transition: transform .2s; }
.nav-menu > li:hover > a .chevron,
.nav-menu > li.dd-open > a .chevron { transform: rotate(180deg); }

/* FIXED DROPDOWN MENU */
.dropdown-menu {
  display: none; 
  position: absolute; 
  top: 100%; 
  left: 0;
  background: #ffffff; 
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 48px rgba(0,0,0,0.18), 0 4px 16px rgba(0,87,184,0.12);
  padding: .5rem;
  z-index: 10002; 
  min-width: 280px;
}

/* Invisible hover bridge to fix the "dead zone" */
.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -15px; 
  left: 0;
  right: 0;
  height: 15px;
  background: transparent;
}

@keyframes dropIn { from { opacity:0; transform:translateY(-4px); } to { opacity:1; transform:none; } }
.nav-menu li:hover .dropdown-menu,
.nav-menu li.dd-open .dropdown-menu { display: block; animation: dropIn .18s ease; }

.dropdown-menu a {
  display: flex; align-items: center; gap: .55rem;
  padding: .6rem .9rem; border-radius: 6px;
  font-size: .86rem; font-weight: 500; color: var(--steel);
  transition: background .15s, color .15s;
}
.dropdown-menu a:hover { background: var(--blue-light); color: var(--blue); }
.dropdown-menu .dd-icon {
  width: 28px; height: 28px; border-radius: 6px; flex-shrink: 0;
  background: var(--blue-light); color: var(--blue);
  display: flex; align-items: center; justify-content: center; font-size: .82rem;
}

.nav-cta {
  background: var(--blue) !important; color: var(--white) !important;
  padding: .5rem 1.3rem !important; border-radius: 100px !important;
  font-weight: 600 !important; font-size: .88rem !important;
  box-shadow: 0 2px 8px rgba(0,87,184,.3);
  transition: background .2s, transform .2s !important;
  white-space: nowrap; flex-shrink: 0;
}
.nav-cta:hover { background: var(--blue-dark) !important; transform: translateY(-1px) !important; }

.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; padding: 5px; flex-shrink: 0;
}
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--ink); border-radius: 2px; transition: all .3s;
}
.nav-hamburger.is-open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav-hamburger.is-open span:nth-child(2) { opacity:0; transform:scaleX(0); }
.nav-hamburger.is-open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ── LAYOUT ── */
.container  { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }
.section    { padding: var(--sp-xl) 0; }
.section-sm { padding: var(--sp-lg) 0; }

/* ── TYPE TOKENS ── */
.section-tag {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: .76rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--blue); margin-bottom: .75rem;
}
.section-tag::before {
  content: ''; width: 18px; height: 3px;
  background: var(--blue); border-radius: 2px; flex-shrink: 0;
}
.section-title {
  font-family: 'Barlow', sans-serif;
  font-size: clamp(1.55rem, 3vw, 2.65rem);
  font-weight: 700; color: var(--ink); line-height: 1.2; letter-spacing: -.02em;
}
.section-sub {
  font-size: .97rem; color: var(--steel-light);
  line-height: 1.75; max-width: 54ch; margin-top: .7rem;
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: .45rem;
  background: var(--blue); color: var(--white);
  font-family: inherit; font-weight: 600; font-size: .9rem;
  padding: .72rem 1.7rem; border-radius: 100px; border: none;
  box-shadow: 0 3px 12px rgba(0,87,184,.28);
  transition: background .2s, transform .2s, box-shadow .2s;
  white-space: nowrap; cursor: pointer;
}
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,87,184,.35); }

.btn-outline {
  display: inline-flex; align-items: center; gap: .45rem;
  background: transparent; color: var(--blue);
  font-family: inherit; font-weight: 600; font-size: .9rem;
  padding: .68rem 1.5rem; border-radius: 100px; border: 2px solid var(--blue);
  transition: background .2s, color .2s; white-space: nowrap; cursor: pointer;
}
.btn-outline:hover { background: var(--blue); color: var(--white); }

.btn-white {
  display: inline-flex; align-items: center; gap: .45rem;
  background: var(--white); color: var(--blue);
  font-family: inherit; font-weight: 600; font-size: .9rem;
  padding: .72rem 1.7rem; border-radius: 100px; border: none;
  transition: background .2s, transform .2s; white-space: nowrap; cursor: pointer;
}
.btn-white:hover { background: var(--blue-light); transform: translateY(-1px); }

/* ── REVEAL ── */
.reveal { opacity:0; transform:translateY(20px); transition:opacity .6s ease,transform .6s ease; }
.reveal.visible { opacity:1; transform:none; }
.reveal-delay-1 { transition-delay:.08s; }
.reveal-delay-2 { transition-delay:.16s; }
.reveal-delay-3 { transition-delay:.24s; }
.reveal-delay-4 { transition-delay:.32s; }

/* ── MARQUEE ── */
.marquee-strip {
  background: var(--blue); overflow: hidden;
  padding: .8rem 0; border-top: 3px solid var(--blue-dark);
}
.marquee-track {
  display: flex; gap: 2.8rem;
  animation: marquee 28s linear infinite; width: max-content;
}
.marquee-item {
  font-size: .78rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(255,255,255,.85);
  white-space: nowrap; display: flex; align-items: center; gap: .9rem;
}
.marquee-item::after { content:'◆'; font-size:.42rem; opacity:.45; }
@keyframes marquee { from { transform:translateX(0); } to { transform:translateX(-50%); } }

/* ── STATS BAR ── */
.stats-bar { background: var(--ink); }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.stat-cell {
  padding: 2.2rem 1.5rem; text-align: center;
  border-right: 1px solid rgba(255,255,255,.07);
}
.stat-cell:last-child { border-right: none; }
.stat-icon  { font-size: 1.7rem; margin-bottom: .5rem; display: block; }
.stat-num   {
  font-family:'Barlow',sans-serif;
  font-size: clamp(1.9rem,3.2vw,3rem);
  font-weight:800; color:var(--blue-mid); letter-spacing:-.04em; line-height:1; display:block;
}
.stat-label { font-size:.82rem; color:rgba(255,255,255,.5); margin-top:.3rem; letter-spacing:.02em; }

/* ── PAGE HERO ── */
.page-hero {
  background: linear-gradient(135deg,#011e40 0%,#0a3d7a 50%,var(--blue) 100%);
  padding: 4.5rem 0 3.5rem; position: relative; overflow: hidden;
}
.page-hero::before {
  content:''; position:absolute; inset:0; pointer-events:none;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.03) 1px,transparent 1px);
  background-size:48px 48px;
}
.page-hero-inner { position:relative; z-index:1; }
.page-title {
  font-family:'Barlow',sans-serif;
  font-size:clamp(1.75rem,4vw,3rem);
  font-weight:800; color:var(--white); letter-spacing:-.03em;
  line-height:1.15; margin-bottom:.85rem;
}
.page-subtitle { font-size:.97rem; color:rgba(255,255,255,.65); max-width:54ch; line-height:1.75; }

/* ── CTA BANNER ── */
.cta-banner {
  background:linear-gradient(135deg,#011e40 0%,var(--blue) 100%);
  padding:4.5rem 0; position:relative; overflow:hidden;
}
.cta-banner::before {
  content:''; position:absolute; inset:0; pointer-events:none;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.03) 1px,transparent 1px);
  background-size:40px 40px;
}
.cta-inner {
  position:relative; z-index:1;
  display:flex; justify-content:space-between; align-items:center;
  flex-wrap:wrap; gap:2rem;
}
.cta-text h2 {
  font-family:'Barlow',sans-serif;
  font-size:clamp(1.55rem,2.8vw,2.35rem);
  font-weight:800; color:var(--white); letter-spacing:-.03em; margin-bottom:.4rem;
}
.cta-text p { font-size:.96rem; color:rgba(255,255,255,.65); max-width:46ch; }
.cta-actions { display:flex; gap:.9rem; flex-wrap:wrap; align-items:center; }

/* ── FOOTER ── */
footer { background:#0f1923; color:rgba(255,255,255,.7); padding:4.5rem 0 0; }
.footer-grid {
  display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr;
  gap:2.5rem; padding-bottom:3.5rem;
  border-bottom:1px solid rgba(255,255,255,.07);
}
.footer-brand-logo {
  font-family:'Barlow',sans-serif; font-weight:800; font-size:1.5rem;
  color:var(--white); margin-bottom:.85rem; display:block; letter-spacing:-.03em;
}
.footer-brand-logo span { color:var(--blue-mid); }
.footer-desc { font-size:.86rem; line-height:1.75; margin-bottom:1.2rem; }
.footer-social { display:flex; gap:.45rem; flex-wrap:wrap; }
.footer-social a {
  width:34px; height:34px; border-radius:50%;
  background:rgba(255,255,255,.07);
  display:flex; align-items:center; justify-content:center;
  color:rgba(255,255,255,.6); font-size:.78rem;
  transition:background .2s,color .2s;
}
.footer-social a:hover { background:var(--blue); color:var(--white); }
.footer-col h5 {
  font-family:'Barlow',sans-serif; font-weight:700; font-size:.82rem;
  text-transform:uppercase; letter-spacing:.1em;
  color:var(--white); margin-bottom:1.1rem;
}
.footer-col ul { display:flex; flex-direction:column; gap:.55rem; }
.footer-col ul a {
  font-size:.86rem; color:rgba(255,255,255,.5);
  display:flex; align-items:center; gap:.4rem; transition:color .2s;
}
.footer-col ul a:hover { color:var(--white); }
.footer-col ul a::before { content:'›'; font-size:1rem; color:var(--blue-mid); }
.footer-contact-item { display:flex; align-items:flex-start; gap:.65rem; font-size:.85rem; margin-bottom:.85rem; }
.footer-contact-item .icon {
  width:28px; height:28px; border-radius:6px; flex-shrink:0;
  background:rgba(26,111,212,.18); color:var(--blue-mid);
  display:flex; align-items:center; justify-content:center; font-size:.75rem; margin-top:.1rem;
}
.footer-contact-item span { color:rgba(255,255,255,.5); line-height:1.5; }
.footer-bottom {
  padding:1.4rem 0; display:flex; justify-content:space-between; align-items:center;
  flex-wrap:wrap; gap:.75rem; font-size:.8rem; color:rgba(255,255,255,.3);
}
.footer-bottom a { color:rgba(255,255,255,.35); transition:color .2s; }
.footer-bottom a:hover { color:rgba(255,255,255,.7); }
.footer-bottom-links { display:flex; gap:1.5rem; flex-wrap:wrap; }

/* ── BACK TO TOP ── */
.back-to-top {
  position:fixed; bottom:1.5rem; right:1.5rem; z-index:999;
  width:42px; height:42px; border-radius:50%;
  background:var(--blue); color:var(--white);
  display:flex; align-items:center; justify-content:center;
  font-size:1rem; box-shadow:0 4px 16px rgba(0,87,184,.35);
  opacity:0; pointer-events:none; transition:opacity .3s,transform .2s;
}
.back-to-top.show { opacity:1; pointer-events:all; }
.back-to-top:hover { transform:translateY(-3px); }

/* ══════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
   ══════════════════════════════════════════ */

@media (max-width: 1024px) {
  :root { --sp-xl:4.5rem; }
  .stats-grid  { grid-template-columns:repeat(2,1fr); }
  .footer-grid { grid-template-columns:1fr 1fr; gap:2rem; }
  .nav-menu > li > a { padding:.4rem .65rem; font-size:.84rem; }
}

@media (max-width: 900px) {
  :root { --sp-xl:4rem; --sp-lg:3rem; }
  .footer-grid { grid-template-columns:1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --sp-xl:3.5rem; --sp-lg:2.5rem; }

  .topbar-left  { display:none; }
  .topbar-inner { justify-content:flex-end; }

  .nav-hamburger { display:flex; }
  .nav-menu {
    display:none; flex-direction:column;
    position:absolute; top:100%; left:0; right:0;
    background:var(--white); padding:.75rem 1rem 1rem;
    border-bottom:1px solid var(--border);
    box-shadow:var(--shadow-md); gap:.1rem; z-index:999;
    max-height:calc(100vh - 68px); overflow-y:auto;
  }
  .nav-menu.open { display:flex; }
  .nav-menu > li > a { padding:.65rem .9rem; font-size:.92rem; border-radius:var(--radius); }
  .nav-cta { margin-top:.35rem; text-align:center; justify-content:center; }

  .dropdown-menu {
    position:static; padding-top:0; box-shadow:none; border:none;
    background:var(--blue-light); margin:.2rem 0 .1rem;
    border-radius:var(--radius); display:none; animation:none;
  }
  .dropdown-menu::before { display: none; } /* remove bridge on mobile */
  .nav-menu li.dd-open .dropdown-menu { display:block; }
  .dropdown-menu a { font-size:.85rem; padding:.5rem .75rem; }

  .stat-cell  { padding:1.8rem 1rem; }
  .footer-grid { grid-template-columns:1fr; gap:1.8rem; }
  footer { padding:3rem 0 0; }

  .cta-inner   { flex-direction:column; text-align:center; }
  .cta-actions { justify-content:center; }
  .cta-text p  { margin:0 auto; }
  .page-hero   { padding:3rem 0 2.5rem; }
}

@media (max-width: 480px) {
  :root { --sp-xl:3rem; --sp-lg:2.2rem; }
  .container  { padding:0 1rem; }
  .stat-cell  { padding:1.5rem .75rem; }
  .stat-num   { font-size:1.9rem; }
  .btn-primary,.btn-outline,.btn-white { font-size:.84rem; padding:.62rem 1.25rem; }
  .section-title { font-size:clamp(1.35rem,5.5vw,1.85rem); }
  footer { padding:2.5rem 0 0; }
  .footer-bottom { flex-direction:column; text-align:center; }
  .footer-bottom-links { justify-content:center; }
  .back-to-top { bottom:1rem; right:1rem; width:38px; height:38px; }
  .cta-actions { flex-direction:column; width:100%; }
  .cta-actions a { justify-content:center; }
}

@media (max-width: 360px) {
  .container,.nav-inner,.topbar-inner { padding-left:.85rem; padding-right:.85rem; }
  .stats-grid { grid-template-columns:1fr 1fr; }
  .nav-logo img { height:34px; }
}