:root{
  --bg:#0b0f17;
  --bg2:#0f1624;

  --text:rgba(255,255,255,.92);
  --muted:rgba(255,255,255,.72);
  --muted2:rgba(255,255,255,.55);

  --gold:#d7b65d;
  --gold2:#f0d98a;

  --red:#b43a3a;
  --red2:#e06a6a;

  --line:rgba(255,255,255,.14);
  --shadow:0 20px 60px rgba(0,0,0,.35);

  --radius:18px;
  --radius2:24px;
  --max:1140px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Arial,"Noto Sans","Liberation Sans",sans-serif;
  color:var(--text);
  background:
    radial-gradient(1200px 700px at 20% 10%, rgba(215,182,93,.15), transparent 55%),
    radial-gradient(900px 600px at 90% 20%, rgba(224,106,106,.12), transparent 55%),
    linear-gradient(180deg,var(--bg),var(--bg2));
  line-height:1.55;
}
a{color:inherit;text-decoration:none}
.container{max-width:var(--max);padding:0 20px;margin:0 auto}

/* =========================
   Header / Nav
   ========================= */
.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(11, 15, 23, .78);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
}

/* =========================
   Brand: logo-first + desktop hover reveal
   ========================= */
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    text-decoration: none;
}

/* Bigger, clearer logo */
.brand__logo {
    width: 56px;
    height: 56px;
    padding: 6px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow:
        0 8px 22px rgba(0, 0, 0, 0.45),
        0 0 0 1px rgba(215, 182, 93, 0.15);
}

/* Desktop: keep text hidden until hover/focus */
.brand__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    opacity: 0;
    transform: translateX(-6px);
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
}

.brand:hover .brand__text,
.brand:focus-visible .brand__text {
    opacity: 1;
    transform: translateX(0);
}

.brand__mark {
    letter-spacing: .12em;
    font-weight: 900;
}

.brand__tag {
    font-size: 12px;
    color: var(--muted2);
}

.brand:focus-visible {
    outline: 2px solid rgba(215, 182, 93, 0.55);
    outline-offset: 4px;
    border-radius: 16px;
}

/* Mobile: logo only */
@media (max-width: 860px) {
    .brand__text {
        display: none !important;
    }

    .brand {
        gap: 0;
    }

    .brand__logo {
        width: 58px;
        height: 58px;
    }
}

/* =========================
   Nav base
   ========================= */
.nav {
    display: flex;
    align-items: center;
    position: relative;
}

.nav__toggle {
    display: none;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .03);
    cursor: pointer;
}

.nav__toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 5px auto;
    background: rgba(255, 255, 255, .85);
    border-radius: 2px;
}

.nav__list {
    list-style: none;
    display: flex;
    gap: 18px;
    padding: 0;
    margin: 0;
}

.nav__link {
    padding: 8px 10px;
    border-radius: 10px;
    color: var(--muted);
    font-weight: 700;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.nav__link:hover {
    background: rgba(255, 255, 255, .05);
    color: var(--text);
}

.nav__link.active {
    background: rgba(215, 182, 93, .14);
    color: var(--text);
    border: 1px solid rgba(215, 182, 93, .28);
}

.header__cta {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* =========================
   Nav dropdown (About → submenu)
   ========================= */
.nav__item--dropdown {
    position: relative;
}

.nav__dropdown {
    list-style: none;
    margin: 0;
    padding: 8px;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 190px;

    background: rgba(11, 15, 23, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    box-shadow: var(--shadow);

    display: none;
    flex-direction: column;
    gap: 6px;
    z-index: 9999;
}

/* Hover bridge: makes it easy to glide into dropdown */
.nav__dropdown::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -12px;
    height: 12px;
}

.nav__item--dropdown:hover .nav__dropdown {
    display: flex;
}

.nav__sublink {
    display: block;
    padding: 10px 12px;
    border-radius: 12px;
    color: var(--muted);
    font-weight: 700;
    font-size: 13px;
}

.nav__sublink:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
}

/* Chevron */
.nav__chev {
    font-size: 12px;
    color: var(--muted2);
    transform: translateY(-1px);
    transition: transform .2s ease, color .2s ease;
}

.nav__item--dropdown:hover .nav__chev {
    transform: rotate(180deg);
    color: var(--text);
}

.nav__item--dropdown.open .nav__chev {
    transform: rotate(180deg);
    color: var(--text);
}

/* =========================
   Mobile nav layout
   ========================= */
@media (max-width: 860px) {
    .nav__toggle {
        display: block;
    }

    .nav__list {
        position: fixed;
        top: 72px;
        left: 12px;
        right: 12px;
        background: rgba(11, 15, 23, 0.96);
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 18px;
        padding: 10px;
        display: none;
        flex-direction: column;
        gap: 6px;
        box-shadow: var(--shadow);
        z-index: 9999;
        max-height: calc(100vh - 90px);
        overflow-y: auto;
    }

    .nav__list.open {
        display: flex;
    }

    .nav__link {
        padding: 12px 12px;
    }

    /* Dropdown becomes inline block within mobile menu */
    .nav__dropdown {
        position: static;
        top: auto;
        left: auto;
        min-width: auto;
        border-radius: 14px;
        margin-top: 6px;
        padding: 8px;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.10);
    }

    .nav__dropdown::before {
        display: none;
    }

    .nav__item--dropdown:hover .nav__dropdown {
        display: none;
        /* disable hover open on mobile */
    }

    .nav__item--dropdown.open .nav__dropdown {
        display: flex;
    }
}

/* =========================
   Buttons
   ========================= */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 14px;
  border-radius:14px;
  background:linear-gradient(180deg, rgba(215,182,93,.95), rgba(215,182,93,.78));
  color:#141824;
  font-weight:900;
  border:1px solid rgba(255,255,255,.10);
  box-shadow:0 14px 34px rgba(215,182,93,.18);
  transition:transform .15s ease, filter .15s ease;
}
.btn:hover{filter:brightness(1.03);transform:translateY(-1px)}
.btn--ghost{
  background:rgba(255,255,255,.05);
  color:var(--text);
  border:1px solid var(--line);
  box-shadow:none;
}
.btn--ghost:hover{background:rgba(255,255,255,.08)}

/* =========================
   Sections / Typography
   ========================= */
.section{padding:70px 0}
.section--alt{
  background:linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.01));
  border-top:1px solid rgba(255,255,255,.06);
  border-bottom:1px solid rgba(255,255,255,.06);
}
.section__head{margin-bottom:18px}
.section__head h2,.section__head h3{margin:0 0 8px}
.section__head p{margin:0}

.muted{color:var(--muted)}
.small{font-size:13px}
.spacer{height:18px}

/* Golden links inside About section */
#about a{
  color: var(--gold);
  font-weight: 800;
  text-decoration: none;
  border-bottom: 1px solid rgba(215,182,93,0.45);
  padding-bottom: 1px;
  transition:
    color .2s ease,
    border-color .2s ease,
    text-shadow .2s ease;
}

#about a:hover{
  color: var(--gold2);
  border-bottom-color: rgba(215,182,93,0.85);
  text-shadow: 0 0 8px rgba(215,182,93,0.35);
}


/* =========================
   Hero
   ========================= */
.hero{position:relative;padding:86px 0 70px;overflow:hidden}
.hero__inner{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:22px;
  align-items:stretch;
}
.hero__content{padding:8px 0}
.hero__content h1{
  margin:10px 0 14px;
  font-size:clamp(28px, 3.3vw, 44px);
  line-height:1.12;
}
.lead{color:var(--muted);font-size:16px;max-width:58ch}
.eyebrow{
  display:inline-flex;gap:10px;align-items:center;
  color:var(--muted2);
  letter-spacing:.18em;
  text-transform:uppercase;
  font-weight:900;
  font-size:12px;
}
.hero__actions{display:flex;gap:12px;margin-top:18px;flex-wrap:wrap}
.chip{
  display:inline-flex;
  align-items:center;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
  color:var(--muted);
  font-weight:800;
  font-size:13px;
}
.hero__note{margin-top:18px}

.hero__panel{display:flex;flex-direction:column;gap:14px}
.panel-card{
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  border-radius:var(--radius2);
  padding:18px;
  box-shadow:var(--shadow);
}
.panel-card h3{margin:0 0 8px}
.panel-card p{margin:0;color:var(--muted)}

/* =========================
   Grids / Cards
   ========================= */
.grid{display:grid;gap:16px}
.grid--2{grid-template-columns:repeat(2, minmax(0,1fr))}
.grid--3{grid-template-columns:repeat(3, minmax(0,1fr))}

.card{
  border-radius:var(--radius2);
  padding:18px;
  box-shadow:var(--shadow);
  border:1px solid rgba(255,255,255,.12);
  position:relative;
  overflow:hidden;
  background:rgba(255,255,255,.05);
}
.card h3,.card h4{margin:0 0 10px}
.card p{margin:0 0 10px;color:var(--muted)}
.card p:last-child{margin-bottom:0}

.grid .card:nth-child(odd){
  background:
    radial-gradient(900px 260px at 20% 0%, rgba(215,182,93,.25), transparent 60%),
    rgba(255,255,255,.05);
  border-color:rgba(215,182,93,.22);
}
.grid .card:nth-child(even){
  background:
    radial-gradient(900px 260px at 20% 0%, rgba(224,106,106,.22), transparent 60%),
    rgba(255,255,255,.05);
  border-color:rgba(224,106,106,.20);
}

.card__actions{display:flex;gap:10px;margin-top:12px;flex-wrap:wrap}

/* =========================
   Lists / Tiles
   ========================= */
.list{margin:10px 0 0;padding-left:18px;color:var(--muted)}
.list li{margin:7px 0}

.tiles{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  margin-top:10px;
}
.tile{
  padding:14px;
  border-radius:16px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.10);
}
.tile h4{margin:0 0 6px}
.tile p{margin:0;color:var(--muted)}

/* =========================
   Accordion
   ========================= */
.accordion{display:flex;flex-direction:column;gap:10px}
.accordion__item{
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.12);
  border-radius:18px;
  overflow:hidden;
}
.accordion__button{
  width:100%;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
  padding:14px 16px;
  background:transparent;
  border:none;
  cursor:pointer;
  color:var(--text);
  text-align:left;
}
.accordion__title{font-weight:900}
.accordion__icon{
  width:30px;height:30px;
  border-radius:10px;
  display:flex;align-items:center;justify-content:center;
  background:rgba(215,182,93,.14);
  border:1px solid rgba(215,182,93,.25);
  color:var(--gold2);
  font-weight:900;
}
.accordion__panel{
  padding:0 16px 14px 16px;
  border-top:1px solid rgba(255,255,255,.10);
}

/* =========================
   Team section
   ========================= */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.team-card {
    border-radius: var(--radius2);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: var(--shadow);
}

.team-avatar {
    height: 210px;
    position: relative;
    background:
        radial-gradient(900px 260px at 20% 0%, rgba(215, 182, 93, 0.18), transparent 60%),
        radial-gradient(900px 260px at 80% 0%, rgba(224, 106, 106, 0.12), transparent 60%),
        rgba(0, 0, 0, 0.22);
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
    display: flex;
    align-items: center;
    justify-content: center;
}

.silhouette {
    width: 120px;
    height: 120px;
    border-radius: 999px;
    background:
        radial-gradient(circle at 50% 35%, rgba(255, 255, 255, 0.18) 0 10px, transparent 11px),
        radial-gradient(circle at 50% 36%, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.02)),
        rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    position: relative;
    filter: saturate(0.8) contrast(1.05);
}

/* Add a simple head/shoulders silhouette feel */
.silhouette::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 28px;
    transform: translateX(-50%);
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
}

.silhouette::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 64px;
    transform: translateX(-50%);
    width: 72px;
    height: 52px;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.10);
}

.team-info {
    padding: 14px 16px 16px;
}

.team-info h3 {
    margin: 0 0 6px 0;
    font-size: 16px;
    font-weight: 900;
}

.team-info p {
    margin: 0 0 12px 0;
}

.team-social {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.social-btn {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: var(--text);
    font-weight: 900;
    transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.social-btn:hover {
    background: rgba(215, 182, 93, 0.18);
    box-shadow: 0 8px 22px rgba(215, 182, 93, 0.22);
    transform: translateY(-2px);
}

/* Responsive team grid */
@media (max-width: 1100px) {
    .team-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .team-grid {
        grid-template-columns: 1fr;
    }

    .team-avatar {
        height: 200px;
    }
}

/* =========================
   Forms
   ========================= */
.form label,.mini-form label{
  display:flex;
  flex-direction:column;
  gap:8px;
  font-weight:800;
  color:rgba(255,255,255,.84);
  margin-top:12px;
}
.form__row,.mini-form__row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}
input,select,textarea{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(8,12,20,.55);
  color:var(--text);
  outline:none;
}
input:focus,select:focus,textarea:focus{
  border-color:rgba(215,182,93,.55);
  box-shadow:0 0 0 4px rgba(215,182,93,.12);
}
textarea{resize:vertical}

.quote{
  font-style:italic;
  color:rgba(255,255,255,.85);
  border-left:3px solid rgba(215,182,93,.70);
  padding-left:12px;
}
.info__block{margin-top:14px;padding-top:12px;border-top:1px solid rgba(255,255,255,.10)}
.info__block h4{margin:0 0 6px}

/* =========================
   Banner / Footer / To-top
   ========================= */
.banner{
  margin-top:18px;
  padding:18px;
  border-radius:var(--radius2);
  border:1px solid rgba(215,182,93,.22);
  background:
    radial-gradient(700px 300px at 30% 10%, rgba(215,182,93,.16), transparent 55%),
    rgba(255,255,255,.04);
  display:flex;
  gap:14px;
  justify-content:space-between;
  align-items:center;
  box-shadow:var(--shadow);
}
.banner__text h3{margin:0 0 8px}
.banner__text p{margin:0}

.to-top{
  position:fixed;
  right:18px;
  bottom:18px;
  width:46px;height:46px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.05);
  color:var(--text);
  cursor:pointer;
  display:none;
  box-shadow:var(--shadow);
}
.to-top:hover{background:rgba(255,255,255,.08)}

.footer{
  padding:26px 0;
  border-top:1px solid rgba(255,255,255,.10);
  background:rgba(0,0,0,.12);
}
.footer__inner{
  display:grid;
  grid-template-columns:1.2fr .8fr .6fr;
  gap:14px;
  align-items:start;
}
.footer__brand{font-weight:900;letter-spacing:.12em}
.footer__links{display:flex;flex-direction:column;gap:8px;color:var(--muted)}
.footer__links a:hover{color:var(--text)}
.footer__copy{text-align:right}

/* =========================
   Footer: Return to PTW button
   ========================= */
.footer__ptw-btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  margin-top:12px;

  padding:9px 14px;
  border-radius:14px;

  font-size:13px;
  font-weight:900;

  color:var(--gold);
  background:rgba(215,182,93,0.12);
  border:1px solid rgba(215,182,93,0.35);

  transition:
    background .2s ease,
    color .2s ease,
    box-shadow .2s ease,
    transform .2s ease;

  /* animation initial state (will animate in on scroll) */
  opacity: 0;
  transform: translateY(10px);
}

.footer__ptw-btn:hover{
  background:rgba(215,182,93,0.25);
  color:var(--gold2);
  box-shadow:0 10px 26px rgba(215,182,93,0.30);
  transform:translateY(-1px);
}

/* subtle icon */
.footer__ptw-icon{
  width:18px;
  height:18px;
  object-fit:contain;
  border-radius:6px;
  padding:3px;

  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);

  opacity: 0.85;
}

/* one-time reveal animation */
.footer__ptw-btn.is-visible{
  animation: ptwBtnReveal 650ms ease-out forwards;
}

@keyframes ptwBtnReveal{
  0%   { opacity: 0; transform: translateY(10px) scale(0.98); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* Reduced motion: show immediately */
@media (prefers-reduced-motion: reduce){
  .footer__ptw-btn{ opacity: 1; transform: none; }
  .footer__ptw-btn.is-visible{ animation: none; }
}


/* =========================
   Footer Social Icons
   ========================= */
.footer__social{
  display:flex;
  gap:12px;
  justify-content:flex-end;
  margin-bottom:10px;
}

.footer__social a{
  width:38px;
  height:38px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:12px;
  background:rgba(255,255,255,0.05);
  border:1px solid rgba(255,255,255,0.14);
  font-size:16px;
  font-weight:900;
  color:var(--text);
  transition:transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.footer__social a:hover{
  background:rgba(215,182,93,0.18);
  box-shadow:0 8px 24px rgba(215,182,93,0.25);
  transform:translateY(-2px);
}

/* Footer credit */
.footer__credit{
  margin-top:6px;
  font-size:12px;
  color:var(--muted2);
}

.footer__credit span{
  color:var(--gold);
  font-weight:800;
}

/* Mobile alignment */
@media (max-width: 860px){
  .footer__social{
    justify-content:flex-start;
  }
}
/* WhatsApp specific styling */
.footer__social a.whatsapp{
  background: rgba(37, 211, 102, 0.18);
  border-color: rgba(37, 211, 102, 0.45);
  color: #25D366;
}

.footer__social a.whatsapp:hover{
  background: #25D366;
  color: #0b0f17;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
}


/* ==================================================
   BACKGROUND SYSTEM (FIXED LAYERING)
   - JPG posters + MP4 videos
   - prevents scroll "glitch" by forcing z-index order
   ================================================== */
.section.has-bg, .hero.has-bg{
  position:relative;
  overflow:hidden;
  isolation:isolate;   /* critical: contain stacking context */
  --bg-opacity:.38;    /* default visibility */
  --overlay-strength:.64;
}

/* Poster image (bottom) */
.section.has-bg::before, .hero.has-bg::before{
  content:"";
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  opacity:var(--bg-opacity);
  z-index:0;
}

/* Video (middle) */
.bg-video{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  z-index:1;
  pointer-events:none;
}

/* Overlay (above poster + video) */
.section.has-bg::after, .hero.has-bg::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(
    180deg,
    rgba(11,15,23, calc(var(--overlay-strength) - .05)),
    rgba(11,15,23, var(--overlay-strength))
  );
  z-index:2;
}

/* Content (top) */
.section.has-bg > .container, .hero.has-bg > .container{
  position:relative;
  z-index:3;
}

/* Poster files (JPG only) */
.bg-home::before{background-image:url("home-bg.jpg")}
.bg-pillars::before{background-image:url("pillars-bg.jpg")}
.bg-partner::before{background-image:url("partner-bg.jpg")}
.bg-about::before{background-image:url("hero-bg.jpg")}

/* Per-section tuning */
.bg-home{--bg-opacity:.45;--overlay-strength:.60}
.bg-pillars{--bg-opacity:.32;--overlay-strength:.70}
.bg-partner{--bg-opacity:.45;--overlay-strength:.60}
.bg-about{--bg-opacity:.32;--overlay-strength:.70}

/* Mobile / no-video mode */
body.no-video .bg-video{display:none !important}

/* Video fade-in + Ken Burns (video shows over poster) */
.section.has-video .bg-video, .hero.has-video .bg-video{
  opacity:0;
  transition:opacity 900ms ease;
  transform:scale(1);
  transform-origin:center;
}
.section.has-video.aos-animate .bg-video,
.hero.has-video.aos-animate .bg-video,
.section.has-video.video-ready .bg-video,
.hero.has-video.video-ready .bg-video{
  opacity:var(--bg-opacity);
}

@keyframes kenburnsSlow{
  0%{transform:scale(1)}
  100%{transform:scale(1.08)}
}
body:not(.no-video) .section.has-video.aos-animate .bg-video,
body:not(.no-video) .hero.has-video.aos-animate .bg-video,
body:not(.no-video) .section.has-video.video-ready .bg-video,
body:not(.no-video) .hero.has-video.video-ready .bg-video{
  animation:kenburnsSlow 22s ease-in-out infinite alternate;
}

@media (prefers-reduced-motion: reduce){
  .bg-video{display:none !important}
}

/* =========================
   Responsive
   ========================= */
@media (max-width:980px){
  .hero__inner{grid-template-columns:1fr}
  .header__cta{display:none}
  .grid--3{grid-template-columns:1fr}
  .grid--2{grid-template-columns:1fr}
  .tiles{grid-template-columns:1fr}
  .footer__inner{grid-template-columns:1fr}
  .footer__copy{text-align:left}
}

@media (max-width:860px){
  .nav__toggle{display:block}

  .nav__list{
    position: fixed;              /* ✅ anchor to viewport */
    top: 72px;                    /* below header */
    left: 12px;                   /* keep fully in view */
    right: 12px;                  /* keep fully in view */
    width: auto;
    max-width: none;

    background: rgba(11,15,23,.96);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 18px;
    padding: 10px;

    display: none;
    flex-direction: column;
    gap: 6px;

    box-shadow: var(--shadow);
    z-index: 9999;                /* ✅ above everything */
    max-height: calc(100vh - 90px);/* ✅ avoid going off-screen */
    overflow-y: auto;             /* ✅ scroll if needed */
  }

  .nav__list.open{display:flex}
  .nav__link{padding:12px 12px}
}

