/* ═══════════════════════════════════════════════════════
   ELOGIO ASIA — SHARED STYLESHEET v3.0
   Invisible nav bar | New hamburger | Full-screen menu |
   Auto-scroll carousels | Multilanguage
═══════════════════════════════════════════════════════ */
*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}
:root{
  --ink:#0b1220;
  --ink2:#111b2e;
  --sky:#c8dff0;
  --azure:#4e8ab5;
  --pearl:#f0f4f8;
  --gold:#c9a96e;
  --gold-dim:rgba(201,169,110,0.15);
  --white:#fff;
  --glass:rgba(255,255,255,0.04);
  --glass-border:rgba(255,255,255,0.09);
  --serif:'Cormorant Garamond',Georgia,serif;
  --sans:'Montserrat',sans-serif;
  --ease:cubic-bezier(0.22,0.97,0.36,1);
  --bounce:cubic-bezier(0.34,1.56,0.64,1);
  --menu-bg:rgba(7,12,24,0.98);
}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
  background: linear-gradient(160deg, 
    #1A2E4A 0%, 
    #22395D 35%, 
    #26406A 60%, 
    #1B2F4C 100%
  );
  background-attachment: fixed;
  color:var(--white);
  font-family:var(--sans);
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}
::-webkit-scrollbar{width:4px}
::-webkit-scrollbar-track{background:var(--ink)}
::-webkit-scrollbar-thumb{background:var(--azure);border-radius:4px}
a{text-decoration:none;color:inherit}
img{max-width:100%;display:block}
button{font-family:var(--sans)}

/* ══════════════════════════════════════════
   NAV — INVISIBLE / TRANSPARENT
   No visible bar, just logo + hamburger
══════════════════════════════════════════ */
#nav{
  position:fixed;top:0;left:0;right:0;
  z-index:500;
  padding:24px 40px;
  display:flex;align-items:center;justify-content:space-between;
  background:transparent;
  border:none;
  box-shadow:none;
  transition:padding .4s var(--ease), background .4s ease;
}
#nav.scrolled{
  padding:14px 40px;
  background:rgba(7,12,24,0.85);
  backdrop-filter:blur(20px) saturate(180%);
  -webkit-backdrop-filter:blur(20px) saturate(180%);
  border-bottom:1px solid rgba(255,255,255,0.06);
  box-shadow:0 4px 24px rgba(0,0,0,0.3);
}
.logo-img{height:52px;width:auto;display:block;flex-shrink:0;filter:drop-shadow(0 2px 8px rgba(0,0,0,0.4))}
#nav.scrolled .logo-img{height:44px}

/* ══════════════════════════════════════════
   HAMBURGER — GLASSMORPHISM
   True frosted glass pill — blurs whatever is behind it
══════════════════════════════════════════ */
.hamburger{
  position:relative;z-index:600;
  display:flex;flex-direction:column;justify-content:center;align-items:center;
  gap:6px;width:52px;height:52px;flex-shrink:0;
  cursor:pointer;padding:14px;
  /* Shape */
  border-radius:16px;
  border:none;
  /* ── GLASSMORPHISM CORE ── */
  background:rgba(255,255,255,0.08);
  backdrop-filter:blur(20px) saturate(200%) brightness(1.1);
  -webkit-backdrop-filter:blur(20px) saturate(200%) brightness(1.1);
  /* Layered borders for glass depth */
  outline:1px solid rgba(255,255,255,0.22);
  box-shadow:
    /* Outer depth shadow */
    0 8px 32px rgba(0,0,0,0.28),
    0 2px 8px  rgba(0,0,0,0.18),
    /* Top specular highlight — glass catching light */
    inset 0 1.5px 0 rgba(255,255,255,0.30),
    /* Bottom inner shadow for depth */
    inset 0 -1px 0 rgba(0,0,0,0.20),
    /* Subtle inner left highlight */
    inset 1px 0 0 rgba(255,255,255,0.10);
  transition:
    background 0.35s ease,
    outline-color 0.35s ease,
    box-shadow 0.35s ease,
    transform 0.35s cubic-bezier(.34,1.56,.64,1);
  -webkit-tap-highlight-color:transparent;
  overflow:hidden;
}
/* Glass inner sheen — top-left gradient gleam */
.hamburger::before{
  content:'';
  position:absolute;
  top:0;left:0;right:0;
  height:50%;
  border-radius:16px 16px 50% 50%;
  background:linear-gradient(
    180deg,
    rgba(255,255,255,0.18) 0%,
    rgba(255,255,255,0.04) 100%
  );
  pointer-events:none;
}
/* Gold shimmer line along top edge */
.hamburger::after{
  content:'';
  position:absolute;
  top:0;left:15%;right:15%;
  height:1px;
  background:linear-gradient(
    90deg,
    transparent,
    rgba(201,169,110,0.55),
    rgba(255,255,255,0.35),
    rgba(201,169,110,0.55),
    transparent
  );
  pointer-events:none;
}
.hamburger:hover{
  background:rgba(255,255,255,0.13);
  outline-color:rgba(201,169,110,0.55);
  box-shadow:
    0 10px 40px rgba(0,0,0,0.32),
    0 3px 10px  rgba(0,0,0,0.20),
    0 0 24px    rgba(201,169,110,0.12),
    inset 0 1.5px 0 rgba(255,255,255,0.35),
    inset 0 -1px 0 rgba(0,0,0,0.18),
    inset 1px 0 0 rgba(255,255,255,0.12);
  transform:translateY(-2px) scale(1.03);
}
/* Lines */
.hamburger .hb-line{
  display:block;
  height:1.5px;
  border-radius:3px;
  position:relative;z-index:1;
  transition:all 0.42s cubic-bezier(.22,1,.36,1);
  transform-origin:center center;
}
.hamburger .hb-line:nth-child(1){
  width:22px;
  background:rgba(255,255,255,0.9);
}
/* Middle gold accent line */
.hamburger .hb-line:nth-child(2){
  width:14px;
  align-self:flex-end;
  background:linear-gradient(90deg, #c9a96e 0%, #f5e6b8 50%, #c9a96e 100%);
  box-shadow:0 0 10px rgba(201,169,110,0.7), 0 0 4px rgba(255,230,150,0.5);
}
.hamburger .hb-line:nth-child(3){
  width:22px;
  background:rgba(255,255,255,0.9);
}
.hamburger:hover .hb-line:nth-child(2){
  width:22px;
  box-shadow:0 0 14px rgba(201,169,110,0.9), 0 0 6px rgba(255,230,150,0.6);
}
/* Active = glass tints gold + X */
.hamburger.active{
  background:rgba(201,169,110,0.14);
  outline-color:rgba(201,169,110,0.50);
  box-shadow:
    0 8px 32px rgba(0,0,0,0.30),
    0 0 30px rgba(201,169,110,0.14),
    inset 0 1.5px 0 rgba(255,255,255,0.22),
    inset 0 -1px 0 rgba(0,0,0,0.18);
  transform:none;
}
.hamburger.active .hb-line:nth-child(1){
  width:22px;
  transform:rotate(-45deg) translate(0, 7.5px);
  background:rgba(255,255,255,0.95);
}
.hamburger.active .hb-line:nth-child(2){
  width:0;opacity:0;
}
.hamburger.active .hb-line:nth-child(3){
  width:22px;
  transform:rotate(45deg) translate(0, -7.5px);
  background:rgba(255,255,255,0.95);
}

/* ══════════════════════════════════════════
   OVERLAY — glassmorphism background blur
   Page stays fully visible, just softly blurred
══════════════════════════════════════════ */
.nav-overlay{
  position:fixed;inset:0;z-index:540;
  /* Very light tint — page shows through clearly */
  background:rgba(4,8,20,0.25);
  backdrop-filter:blur(12px) saturate(140%);
  -webkit-backdrop-filter:blur(12px) saturate(140%);
  opacity:0;visibility:hidden;pointer-events:none;
  transition:opacity .5s ease,visibility .5s ease;
}
.nav-overlay.open{opacity:1;visibility:visible;pointer-events:auto;}

/* ══════════════════════════════════════════
   GLASSMORPHISM DRAWER — right-side panel
   The page content shows through the glass
══════════════════════════════════════════ */
.nav-drawer{
  position:fixed;top:0;right:0;bottom:0;
  width:420px;max-width:calc(100vw - 40px);
  z-index:550;
  /* ── GLASSMORPHISM CORE ── */
  /* Very low opacity so background page is visible through the panel */
  background:rgba(10,16,38,0.45);
  backdrop-filter:blur(48px) saturate(200%) brightness(0.85);
  -webkit-backdrop-filter:blur(48px) saturate(200%) brightness(0.85);
  /* Glass border — left edge catches light */
  border-left:1px solid rgba(255,255,255,0.12);
  /* Layered shadows for glass depth */
  box-shadow:
    -32px 0 80px rgba(0,0,0,0.35),
    -1px  0 0   rgba(255,255,255,0.06) inset,
     1px  0 0   rgba(0,0,0,0.15) inset;
  display:flex;flex-direction:column;overflow:hidden;
  transform:translateX(100%);
  transition:transform .52s cubic-bezier(.22,1,.36,1);
  pointer-events:none;
}
.nav-drawer.open{transform:translateX(0);pointer-events:auto;}

/* Top gold shimmer — glass catching light */
.nav-drawer::before{
  content:'';
  position:absolute;top:0;left:0;right:0;height:1px;z-index:2;
  background:linear-gradient(
    90deg,
    transparent 0%,
    rgba(201,169,110,0.6) 30%,
    rgba(255,255,255,0.35) 50%,
    rgba(201,169,110,0.6) 70%,
    transparent 100%
  );
}
/* Left edge specular highlight — glass thickness illusion */
.nav-drawer::after{
  content:'';
  position:absolute;top:0;left:0;bottom:0;width:1px;z-index:2;pointer-events:none;
  background:linear-gradient(
    to bottom,
    rgba(255,255,255,0.22) 0%,
    rgba(255,255,255,0.06) 40%,
    rgba(255,255,255,0.14) 100%
  );
}

/* Inner glass sheen — top portion brighter */
.nf-inner{
  position:relative;z-index:1;
  display:flex;flex-direction:column;
  height:100%;
  padding:28px 36px 32px;
  overflow-y:auto;overflow-x:hidden;
  /* Subtle inner top highlight */
  background:linear-gradient(
    180deg,
    rgba(255,255,255,0.04) 0%,
    rgba(255,255,255,0.01) 30%,
    transparent 100%
  );
}
.nf-inner::-webkit-scrollbar{width:2px}
.nf-inner::-webkit-scrollbar-thumb{
  background:linear-gradient(to bottom,rgba(201,169,110,0.3),rgba(201,169,110,0.1));
  border-radius:2px;
}

/* ── Header: logo + close ─────────────────── */
.nf-header{
  display:flex;align-items:center;justify-content:space-between;
  padding-bottom:22px;margin-bottom:22px;flex-shrink:0;
  border-bottom:1px solid rgba(255,255,255,0.07);
  position:relative;
}
/* gold line under header */
.nf-header::after{
  content:'';position:absolute;bottom:-1px;left:0;right:0;height:1px;
  background:linear-gradient(90deg,rgba(201,169,110,0.3),transparent);
}
.nf-header .logo-img{height:34px;width:auto;filter:drop-shadow(0 2px 8px rgba(0,0,0,.4))}

/* Close button — glass pill */
.nf-close{
  width:38px;height:38px;border-radius:12px;
  /* Glass button matching hamburger style */
  background:rgba(255,255,255,0.07);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  border:1px solid rgba(255,255,255,0.15);
  box-shadow:
    0 2px 12px rgba(0,0,0,0.2),
    inset 0 1px 0 rgba(255,255,255,0.15),
    inset 0 -1px 0 rgba(0,0,0,0.12);
  color:rgba(255,255,255,0.55);font-size:.9rem;
  display:flex;align-items:center;justify-content:center;
  cursor:pointer;flex-shrink:0;
  transition:all .28s cubic-bezier(.22,1,.36,1);
  -webkit-tap-highlight-color:transparent;
  min-width:44px;min-height:44px; /* touch target */
}
.nf-close:hover{
  background:rgba(201,169,110,0.14);
  border-color:rgba(201,169,110,0.45);
  color:var(--gold);
  box-shadow:
    0 4px 20px rgba(0,0,0,0.25),
    0 0 16px rgba(201,169,110,0.1),
    inset 0 1px 0 rgba(255,255,255,0.18);
  transform:rotate(90deg) scale(1.05);
}

/* ── Nav links ────────────────────────────── */
.nf-links{display:flex;flex-direction:column;gap:0;flex:0 0 auto;}
.nf-nav-item{}
.nf-link{
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  font-family:var(--serif);font-size:1.55rem;font-weight:300;
  color:rgba(255,255,255,0.35);line-height:1.2;
  padding:12px 0;border:none;background:none;text-align:left;width:100%;
  cursor:pointer;letter-spacing:-.01em;
  /* Glass separator */
  border-bottom:1px solid rgba(255,255,255,0.05);
  transition:color .25s ease,padding-left .25s var(--ease),background .25s ease;
  -webkit-tap-highlight-color:transparent;
  border-radius:0;
  min-height:52px; /* mobile touch target */
}
.nf-link:hover{
  color:var(--white);
  padding-left:8px;
  /* Subtle glass hover row */
  background:rgba(255,255,255,0.03);
}
.nf-link.active-page{color:var(--gold);padding-left:6px;}
/* Per-item tints */
.nf-nav-item:nth-child(1) .nf-link:hover{color:#c8dff0}
.nf-nav-item:nth-child(2) .nf-link:hover{color:#c9a96e}
.nf-nav-item:nth-child(3) .nf-link:hover{color:#7fb8d6}
.nf-nav-item:nth-child(4) .nf-link:hover{color:#a8c5d8}
.nf-nav-item:nth-child(5) .nf-link:hover{color:#dfc89a}
.nf-nav-item:nth-child(6) .nf-link:hover{color:#4e8ab5}
.nf-nav-item:nth-child(7) .nf-link:hover{color:#c9a96e}

.nf-chevron{font-size:.9rem;color:rgba(201,169,110,0.35);transition:transform .3s var(--ease),color .22s;flex-shrink:0}
.nf-toggle.open .nf-chevron{transform:rotate(90deg);color:var(--gold)}

/* ── Submenu pills — glass style ─────────── */
.nf-sub{max-height:0;overflow:hidden;transition:max-height .4s var(--ease);}
.nf-sub.open{max-height:300px}
.nf-sub-grid{display:flex;flex-wrap:wrap;gap:6px 7px;padding:10px 0 14px 4px;}
.nf-sub-link{
  font-family:var(--sans);font-size:.7rem;letter-spacing:.05em;
  color:rgba(255,255,255,0.4);
  padding:6px 14px;border-radius:20px;
  /* Glass pill */
  background:rgba(255,255,255,0.05);
  border:1px solid rgba(255,255,255,0.09);
  backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);
  transition:all .22s ease;display:inline-block;
  -webkit-tap-highlight-color:transparent;
  min-height:36px;display:inline-flex;align-items:center;
}
.nf-sub-link:hover{
  background:rgba(201,169,110,0.12);
  border-color:rgba(201,169,110,0.35);
  color:var(--gold);
  transform:translateY(-1px);
  box-shadow:0 4px 16px rgba(201,169,110,0.1);
}

/* ── Stagger slide-in ─────────────────────── */
.nf-link{
  opacity:0;transform:translateX(28px);
  transition:
    color .25s ease,
    padding-left .25s var(--ease),
    background .25s ease,
    opacity .42s ease,
    transform .42s cubic-bezier(.22,1,.36,1);
}
.nav-drawer.open .nf-link{opacity:1;transform:translateX(0)}
.nav-drawer.open .nf-nav-item:nth-child(1) .nf-link{transition-delay:.04s}
.nav-drawer.open .nf-nav-item:nth-child(2) .nf-link{transition-delay:.08s}
.nav-drawer.open .nf-nav-item:nth-child(3) .nf-link{transition-delay:.12s}
.nav-drawer.open .nf-nav-item:nth-child(4) .nf-link{transition-delay:.16s}
.nav-drawer.open .nf-nav-item:nth-child(5) .nf-link{transition-delay:.20s}
.nav-drawer.open .nf-nav-item:nth-child(6) .nf-link{transition-delay:.24s}
.nav-drawer.open .nf-nav-item:nth-child(7) .nf-link{transition-delay:.28s}

/* ── Footer ───────────────────────────────── */
.nf-footer{
  flex-shrink:0;
  margin-top:22px;
  padding-top:0;
  border-top:none;
  display:flex;
  flex-direction:column;
  gap:10px;
  opacity:0;
  transform:translateY(10px);
  transition:opacity .45s .3s ease,transform .45s .3s ease;
  position:relative;
}
/* gold top line on footer */
.nf-footer::before{
  content:none;
  display:none;
}
.nav-drawer.open .nf-footer{opacity:1;transform:none}
.nf-panel-title{font-size:.58rem;letter-spacing:.22em;text-transform:uppercase;color:rgba(255,255,255,0.2);margin-bottom:8px;}
.nf-lang-row{display:flex;flex-wrap:wrap;gap:6px}

/* Language buttons — glass pill */
.nf-lang-btn{
  padding:5px 12px;border-radius:16px;
  background:rgba(255,255,255,0.06);
  border:1px solid rgba(255,255,255,0.1);
  backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);
  color:rgba(255,255,255,0.38);
  font-family:var(--sans);font-size:.67rem;letter-spacing:.04em;
  cursor:pointer;
  transition:all .22s ease;
  -webkit-tap-highlight-color:transparent;
  min-height:36px;
}
.nf-lang-btn:hover,.nf-lang-btn.lang-active{
  background:rgba(201,169,110,0.12);
  border-color:rgba(201,169,110,0.4);
  color:var(--gold);
  box-shadow:0 0 12px rgba(201,169,110,0.1);
}
.nf-contact-row{display:flex;flex-direction:column;gap:6px;}
.nf-contact-item{
  display:flex;align-items:center;gap:10px;
  font-size:.76rem;color:rgba(255,255,255,0.35);
  transition:color .22s;text-decoration:none;
  min-height:36px;
}
.nf-contact-item:hover{color:rgba(255,255,255,0.7)}
.nf-contact-icon{font-size:.85rem;flex-shrink:0}
.nf-socials{display:flex;gap:8px}
.nf-divider{width:28px;height:1px;background:linear-gradient(to right,var(--gold),transparent);}
.lang-current-flag{font-size:.82rem;margin-right:2px}



/* ══════════════════════════════════════════
   LANGUAGE SELECTOR (floating, always visible)
══════════════════════════════════════════ */
#langBtn{
  position:fixed;top:28px;right:108px;
  z-index:520;
  display:flex;align-items:center;gap:6px;
  background:rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.14);
  border-radius:20px;
  padding:6px 14px;
  font-size:.72rem;letter-spacing:.06em;
  color:rgba(255,255,255,.7);
  cursor:pointer;
  font-family:var(--sans);
  transition:all .3s ease;
  -webkit-tap-highlight-color:transparent;
  backdrop-filter:blur(8px);
}
#langBtn:hover{background:rgba(201,169,110,.12);border-color:rgba(201,169,110,.3);color:var(--gold)}
#nav.scrolled ~ #langBtn, #langBtn.scrolled{
  /* stays same — always floats */
}

/* ══════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════ */
.btn{
  display:inline-flex;align-items:center;gap:8px;
  padding:13px 32px;border-radius:50px;
  font-family:var(--sans);font-size:.85rem;font-weight:500;letter-spacing:.04em;
  cursor:pointer;border:none;transition:all .35s var(--ease);
  -webkit-tap-highlight-color:transparent;text-decoration:none;white-space:nowrap;
}
.btn svg{width:15px;height:15px;flex-shrink:0}
.btn-primary{background:linear-gradient(120deg,var(--azure),#2a5f8a);color:var(--white);box-shadow:0 8px 28px rgba(78,138,181,.3)}
.btn-primary:hover{transform:translateY(-3px);box-shadow:0 14px 36px rgba(78,138,181,.4)}
.btn-outline{background:transparent;color:var(--white);border:1px solid rgba(255,255,255,.28)}
.btn-outline:hover{border-color:rgba(255,255,255,.7);background:rgba(255,255,255,.06)}
.btn-gold{background:linear-gradient(120deg,var(--gold),#a07d48);color:var(--white);box-shadow:0 8px 28px rgba(201,169,110,.25)}
.btn-gold:hover{transform:translateY(-3px);box-shadow:0 14px 36px rgba(201,169,110,.35)}

/* ══════════════════════════════════════════
   SOCIAL LINKS
══════════════════════════════════════════ */
.nf-socials{
    display:flex;
    align-items:center;
    gap:6px;
    margin-top:3px;
}

.soc-link{
    width:35px;
    height:35px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:100%;
    background:rgba(255,255,255,.05);
    border:1px solid rgba(255,255,255,.12);
    color:#fff;
    text-decoration:none;
    transition:all .3s ease;
}

.soc-link i{
    font-size:15px;
}

.soc-link:hover{
    background:#c9a96e;
    color:#111;
    border-color:#c9a96e;
    transform:translateY(-4px);
    box-shadow:0 10px 24px rgba(201,169,110,.35);
}
/* ══════════════════════════════════════════
   TYPOGRAPHY
══════════════════════════════════════════ */
.section-label{font-size:.68rem;letter-spacing:.24em;text-transform:uppercase;color:var(--gold);margin-bottom:14px;display:block}
.section-title{font-family:var(--serif);font-weight:300;font-size:clamp(34px,5vw,58px);line-height:1.1;margin-bottom:16px}
.section-sub{color:rgba(255,255,255,.55);line-height:1.75;font-size:.95rem;max-width:520px}
.divider{width:36px;height:1px;background:var(--gold);margin:28px 0}
.text-gold{color:var(--gold)}
.text-sky{color:var(--sky)}

/* ══════════════════════════════════════════
   PAGE HERO (inner pages)
══════════════════════════════════════════ */
.page-hero{
  padding:160px 80px 80px;
  background:linear-gradient(135deg,var(--ink) 0%,var(--ink2) 100%);
  position:relative;overflow:hidden;
}
.page-hero::before{content:'';position:absolute;inset:0;background:radial-gradient(ellipse 50% 60% at 80% 40%,rgba(78,138,181,.08),transparent)}
.page-hero-content{position:relative;z-index:1;max-width:700px}
.page-hero h1{font-family:var(--serif);font-weight:300;font-size:clamp(40px,6vw,72px);line-height:1.08;margin-bottom:20px}
.page-hero h1 em{font-style:italic;color:var(--sky)}
.page-hero .hero-sub{color:rgba(255,255,255,.6);font-size:1rem;line-height:1.75;max-width:540px}
.breadcrumb{display:flex;align-items:center;gap:8px;font-size:.72rem;letter-spacing:.1em;text-transform:uppercase;color:rgba(255,255,255,.35);margin-bottom:20px}
.breadcrumb a{color:rgba(255,255,255,.35);transition:color .3s}
.breadcrumb a:hover{color:var(--gold)}
.breadcrumb span{color:var(--gold)}
.breadcrumb .sep{opacity:.4}

/* ══════════════════════════════════════════
   AUTO-SCROLL CAROUSEL (shared)
══════════════════════════════════════════ */
.elogio-carousel{
  position:relative;
  overflow:hidden;
}
.elogio-carousel-track{
  display:flex;
  gap:20px;
  /* will-change: transform for smooth GPU animation */
  will-change:transform;
  user-select:none;
  -webkit-user-select:none;
  cursor:grab;
}
.elogio-carousel-track.grabbing{cursor:grabbing}
/* Fade edges */
.elogio-carousel::before,
.elogio-carousel::after{
  content:'';position:absolute;top:0;bottom:0;width:80px;z-index:2;pointer-events:none;
}
.elogio-carousel::before{left:0;background:linear-gradient(to right,var(--ink),transparent)}
.elogio-carousel::after{right:0;background:linear-gradient(to left,var(--ink),transparent)}

/* Carousel dots */
.carousel-dots{
  display:flex;justify-content:center;gap:8px;
  padding-top:20px;
}
.carousel-dot{
  width:6px;height:6px;border-radius:50%;
  background:rgba(255,255,255,.18);
  transition:all .3s ease;
  cursor:pointer;border:none;padding:0;
}
.carousel-dot.active{
  width:24px;border-radius:3px;
  background:var(--gold);
}

/* Carousel nav arrows */
.carousel-arrows{
  position:absolute;top:50%;transform:translateY(-50%);
  width:100%;display:flex;justify-content:space-between;
  padding:0 8px;z-index:3;pointer-events:none;
}
.carousel-arrow{
  width:44px;height:44px;border-radius:50%;
  background:rgba(11,18,32,.8);
  border:1px solid rgba(255,255,255,.12);
  color:var(--white);font-size:1.1rem;
  display:flex;align-items:center;justify-content:center;
  cursor:pointer;pointer-events:auto;
  transition:all .3s ease;
  backdrop-filter:blur(8px);
}
.carousel-arrow:hover{background:rgba(201,169,110,.2);border-color:var(--gold)}

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
footer{border-top:1px solid var(--glass-border);padding:64px 80px 40px;background:var(--ink)}
.footer-inner{display:grid;grid-template-columns:1.4fr 1.3fr .9fr .9fr;gap:48px;margin-bottom:56px;max-width:1400px;margin-left:auto;margin-right:auto}
.footer-brand p{font-size:.83rem;color:rgba(255,255,255,.4);line-height:1.7;max-width:260px;margin-bottom:20px}
.footer-brand .logo-img{height:36px;margin-bottom:18px}
.footer-socials{display:flex;gap:10px;margin-top:16px}
.footer-col h4{font-size:.68rem;letter-spacing:.18em;text-transform:uppercase;color:rgba(255,255,255,.3);margin-bottom:18px}
.footer-col ul{list-style:none;display:flex;flex-direction:column;gap:10px}
.footer-col:nth-child(2) ul{display:grid;grid-template-columns:1fr 1fr;gap:8px 20px}
.footer-col:nth-child(2) ul a{font-size:.8rem}
.footer-col ul a{color:rgba(255,255,255,.55);font-size:.85rem;transition:color .3s}
.footer-col ul a:hover{color:var(--white)}
.footer-bottom{display:flex;justify-content:space-between;align-items:center;padding-top:24px;border-top:1px solid var(--glass-border);font-size:.75rem;color:rgba(255,255,255,.28);max-width:1400px;margin:0 auto}

/* ══════════════════════════════════════════
   SCROLL REVEAL
══════════════════════════════════════════ */
.reveal{opacity:1;transform:none;transition:opacity .8s var(--ease),transform .8s var(--ease)}
.reveal.visible{opacity:1;transform:none}
.reveal-d1{transition-delay:.1s}
.reveal-d2{transition-delay:.2s}
.reveal-d3{transition-delay:.3s}
.reveal-d4{transition-delay:.4s}

/* ══════════════════════════════════════════
   UTILITY
══════════════════════════════════════════ */
.max-w{max-width:1400px;margin:0 auto}

/* ══════════════════════════════════════════
   RESPONSIVE — TABLET
══════════════════════════════════════════ */

/* ══════════════════════════════════════════
   PAGE BANNER HERO
══════════════════════════════════════════ */
.banner-hero{
  position:relative;min-height:420px;
  display:flex;align-items:flex-end;
  overflow:hidden;
}
.banner-hero-fallback{
  position:absolute;inset:0;z-index:0;
}
.banner-hero-bg{
  position:absolute;inset:0;z-index:1;
  background-size:cover;background-position:center;background-repeat:no-repeat;
  transform:scale(1.05);
  transition:transform 8s ease;
  filter:brightness(0.42) saturate(1.1);
}
.banner-hero:hover .banner-hero-bg{transform:scale(1.0);}
.banner-hero-overlay{
  position:absolute;inset:0;z-index:2;
  background:
    linear-gradient(to top, rgba(5,8,20,.95) 0%, rgba(5,8,20,.4) 45%, rgba(5,8,20,.08) 100%),
    linear-gradient(to right, rgba(5,8,20,.65) 0%, transparent 65%);
}
.banner-hero::after{
  content:'';position:absolute;bottom:0;left:0;right:0;height:1px;z-index:5;
  background:linear-gradient(90deg,transparent,rgba(201,169,110,.4),transparent);
}
.banner-hero-content{
  position:relative;z-index:4;
  padding:100px 80px 52px;max-width:860px;
}
.banner-hero-content .breadcrumb{margin-bottom:18px;}
.banner-hero-content h1{
  font-family:var(--serif);font-weight:300;
  font-size:clamp(38px,5.5vw,68px);
  line-height:1.07;margin-bottom:18px;letter-spacing:-.01em;
  color:#fff;
}
.banner-hero-content h1 em{font-style:italic;color:var(--sky);}
.banner-hero-content .hero-sub{
  color:rgba(255,255,255,.58);font-size:.95rem;line-height:1.75;max-width:520px;
}
.banner-hero-rule{
  display:flex;align-items:center;gap:10px;margin-bottom:20px;
}
.banner-hero-rule-line{
  width:32px;height:1px;background:linear-gradient(90deg,var(--gold),transparent);
}
.banner-hero-rule-dot{
  width:5px;height:5px;border-radius:50%;background:var(--gold);
  box-shadow:0 0 8px rgba(201,169,110,.7);
}
.banner-hero-chips{
  position:absolute;bottom:36px;right:80px;
  display:flex;gap:8px;z-index:4;flex-wrap:wrap;justify-content:flex-end;
}
.banner-chip{
  padding:5px 14px;border-radius:20px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.13);
  backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);
  font-size:.63rem;letter-spacing:.13em;text-transform:uppercase;
  color:rgba(255,255,255,.55);
}
.banner-chip.gold{
  background:rgba(201,169,110,.1);border-color:rgba(201,169,110,.32);color:var(--gold);
}

@media(max-width:1024px){
  #langBtn{right:90px;top:22px}
  .page-hero{padding:130px 40px 64px}
  footer{padding:56px 40px 36px}
  .footer-inner{grid-template-columns:1fr 1fr;gap:32px;margin-bottom:40px}
  .footer-brand{grid-column:1/-1}
  .footer-bottom{flex-direction:column;gap:12px;text-align:center}
}

/* ══════════════════════════════════════════
   RESPONSIVE — MOBILE
   Drawer still right-side only; overlay dims page
══════════════════════════════════════════ */
@media(max-width:768px){
  #nav{padding:14px 16px}
  #nav.scrolled{padding:10px 16px}
  .logo-img{height:36px}
  /* Hide floating lang button on small screens — lang is in the drawer */
  #langBtn{display:none}

  /* ─── MOBILE DRAWER — glass panel, 300px ─── */
  .nav-drawer{
    width:300px !important;
    max-width:calc(100vw - 40px) !important;
  }
  .nf-inner{padding:16px 20px 24px}
  .nf-header{padding-bottom:14px;margin-bottom:14px}
  .nf-header .logo-img{height:30px}
  .nf-close{width:40px;height:40px;min-width:40px;min-height:40px;border-radius:10px;font-size:.85rem}
  .nf-link{
    font-size:1.2rem;
    padding:13px 0;
    min-height:52px;
  }
  .nf-sub-link{
    font-size:.7rem;
    padding:7px 13px;
    min-height:38px;
  }
  .nf-chevron{font-size:.85rem}
  .nf-lang-btn{padding:7px 12px;font-size:.67rem;min-height:38px}
  .nf-contact-item{font-size:.78rem;gap:10px;min-height:32px}
  .nf-links{flex:0 0 auto}
  .nf-socials{margin-top:0}
  .nf-contact-row{gap:0}

  /* ─── PAGE LAYOUT ─── */
  .page-hero{padding:100px 16px 48px}
  .page-hero h1{font-size:clamp(32px,9vw,48px)}
  footer{padding:40px 16px 28px}
  .footer-inner{grid-template-columns:1fr;gap:24px;margin-bottom:3px}
  .footer-brand{grid-column:auto}

  /* ─── CAROUSEL ─── */
  .elogio-carousel::before,
  .elogio-carousel::after{width:24px}
  .carousel-arrow{width:38px;height:38px;font-size:.95rem}
  .banner-hero{min-height:300px;}
  .banner-hero-content{padding:80px 20px 36px;}
  .banner-hero-content h1{font-size:clamp(28px,8vw,42px);}
  .banner-hero-chips{right:20px;bottom:20px;}
}
@media(max-width:480px){
  #nav{padding:12px 14px}
  .logo-img{height:32px}
  .hamburger{width:46px;height:46px;padding:11px;border-radius:13px;}
  .nav-drawer{
    width:280px !important;
    max-width:280px !important;
  }
  .nf-link{font-size:1.15rem;padding:13px 0}
  .nf-sub-grid{gap:5px 6px}
  .nf-lang-row{gap:5px}
  .page-hero{padding:90px 14px 40px}
}
/* Extra small phones */
@media(max-width:360px){
  .nav-drawer{
    width:260px !important;
    max-width:260px !important;
  }
  .nf-link{font-size:1.05rem}
}

/* ===== GLOBAL BACKGROUND OVERRIDE ===== */
section,
.stats-band,
.why-section,
.insights-preview,
.timeline-section,
.leadership-section,
.events-section,
.social-feed-section {
  background: transparent !important;
}
/* Force contact page sections to show their backgrounds */
.contact-wrap { background: #1F3456 !important; }
.map-section  { background: #26406A !important; }

/* ==========================================
   MOBILE DRAWER FINAL FIX V2
========================================== */
.nf-footer{
  border-top:0 !important;
}

.nf-footer::before{
  content:none !important;
  display:none !important;
  background:none !important;
}

@media(max-width:768px){
  .nf-links{
    flex:0 0 auto !important;
  }

  /* Move Elogio Educates and the contact group slightly lower */
  .nf-nav-item:last-of-type{
    margin-top:10px;
  }

  .nf-footer{
    margin-top:22px !important;
    padding-top:0 !important;
    border-top:0 !important;
    gap:10px !important;
  }

  .nf-footer::before{
    content:none !important;
    display:none !important;
  }

  .nf-contact-row{
    gap:0 !important;
  }

  .nf-contact-item{
    min-height:30px !important;
  }

  .nf-socials{
    margin-top:4px !important;
    gap:8px !important;
  }
}
