/* ─── FONTS ─────────────────────────────────────────────── */
@font-face { font-family: 'Poppins'; src: url('/brand_assets/Fonts/Poppins/Poppins-Light.ttf') format('truetype'); font-weight: 300; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url('/brand_assets/Fonts/Poppins/Poppins-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url('/brand_assets/Fonts/Poppins/Poppins-Medium.ttf') format('truetype'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url('/brand_assets/Fonts/Poppins/Poppins-SemiBold.ttf') format('truetype'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url('/brand_assets/Fonts/Poppins/Poppins-Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url('/brand_assets/Fonts/Poppins/Poppins-ExtraBold.ttf') format('truetype'); font-weight: 800; font-display: swap; }
@font-face { font-family: 'Dancing Script'; src: url('/brand_assets/Fonts/Dancing_Script/DancingScript-VariableFont_wght.ttf') format('truetype'); font-weight: 400 700; font-display: swap; }

/* ─── RESET ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ─── TOKENS ─────────────────────────────────────────── */
:root {
  --accent:        #17B978;
  --accent-bright: #1FDB8A;
  --accent-dim:    rgba(23,185,120,0.10);
  --accent-border: rgba(23,185,120,0.20);
  --accent-glow:   rgba(23,185,120,0.15);

  --deep:     #060908;
  --base:     #0A0D0B;
  --surface:  #101410;
  --elevated: #171C17;

  --border-faint: rgba(255,255,255,0.04);
  --border-mid:   rgba(255,255,255,0.08);
  --border-soft:  rgba(255,255,255,0.12);

  --t1: #EDEFEC;
  --t2: #6A7D74;
  --t3: #2D3830;

  --font:   'Poppins', sans-serif;
  --script: 'Dancing Script', cursive;

  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--deep);
  color: var(--t1);
  overflow-x: hidden;
  cursor: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ─── CURSOR ─────────────────────────────────────────── */
#cur-dot {
  position: fixed; inset: auto;
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%,-50%);
}
#cur-ring {
  position: fixed; inset: auto;
  width: 34px; height: 34px;
  border: 1.5px solid rgba(23,185,120,0.45);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%,-50%);
  transition: width .2s var(--ease-out), height .2s var(--ease-out),
              border-color .2s, opacity .2s;
}
#cur-ring.big { width: 52px; height: 52px; border-color: rgba(23,185,120,0.6); }

/* ─── GRAIN ──────────────────────────────────────────── */
#grain {
  position: fixed; inset: 0;
  pointer-events: none; z-index: 9990;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='320'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='320' height='320' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  opacity: 0.032;
}

/* ─── PROGRESS ───────────────────────────────────────── */
#progress-bar {
  position: fixed; top: 0; left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-bright));
  z-index: 9995; width: 0%;
  transition: width .08s linear;
}

/* ─── NAV ────────────────────────────────────────────── */
#nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 500;
  padding: 26px 64px;
  display: flex; align-items: center; justify-content: space-between;
  transition: padding .35s var(--ease-out), background .35s;
}
#nav.scrolled {
  padding: 14px 64px;
  background: rgba(6,9,8,0.88);
  backdrop-filter: blur(20px) saturate(1.5);
  border-bottom: 1px solid var(--border-faint);
}
.nav-logo img { height: 28px; width: auto; display: block; }

.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a {
  color: var(--t2);
  text-decoration: none;
  font-size: 13.5px; font-weight: 500; letter-spacing: .015em;
  transition: color .2s;
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width .22s var(--ease-out);
}
.nav-links a:hover,
.nav-links a.active { color: var(--t1); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

/* ─── SERVICES DROPDOWN ──────────────────────────────── */
.nav-item-dropdown { position: relative; }

.nav-item-dropdown::before {
  content: '';
  position: absolute;
  top: 100%; left: -20px; right: -20px;
  height: 18px;
  z-index: 501;
}

.nav-item-dropdown > a {
  display: inline-flex; align-items: center; gap: 5px;
}
.nav-item-dropdown > a::after { display: none !important; }
.nav-chevron {
  transition: transform .22s var(--ease-out);
  opacity: .55;
}
.nav-item-dropdown:hover .nav-chevron,
.nav-item-dropdown:focus-within .nav-chevron { transform: rotate(180deg); opacity: 1; }

.nav-dropdown-menu {
  position: absolute; top: 100%; left: -16px;
  background: var(--elevated);
  border: 1px solid var(--border-mid);
  border-radius: 13px;
  padding: 6px;
  margin-top: 14px;
  min-width: 230px;
  list-style: none;
  opacity: 0; pointer-events: none;
  transform: translateY(-4px);
  transition: opacity .18s var(--ease-out), transform .18s var(--ease-out);
  box-shadow: 0 16px 48px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.04);
}
.nav-item-dropdown:hover .nav-dropdown-menu,
.nav-item-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1; pointer-events: all; transform: translateY(0);
}
.nav-dropdown-menu li { list-style: none; }
.nav-dropdown-menu a {
  display: flex; align-items: center; gap: 11px;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 13px; font-weight: 500; letter-spacing: .01em;
  color: var(--t2); text-decoration: none;
  transition: background .15s, color .15s;
  white-space: nowrap;
}
.nav-dropdown-menu a::after { display: none !important; }
.nav-dropdown-menu a:hover { background: var(--surface); color: var(--t1); }
.nav-dd-icon {
  width: 28px; height: 28px; border-radius: 7px;
  background: var(--surface);
  border: 1px solid var(--border-faint);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background .15s, border-color .15s;
}
.nav-dropdown-menu a:hover .nav-dd-icon { background: var(--accent-dim); border-color: var(--accent-border); }
.nav-dd-icon svg { width: 13px; height: 13px; stroke: var(--t2); transition: stroke .15s; }
.nav-dropdown-menu a:hover .nav-dd-icon svg { stroke: var(--accent); }
.nav-dd-all {
  border-top: 1px solid var(--border-faint);
  margin-top: 4px; padding-top: 4px;
}
.nav-dd-all a {
  color: var(--accent) !important;
  font-weight: 600;
}
.nav-dd-all a:hover { background: var(--accent-dim) !important; }

.btn-nav {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--accent); color: #000;
  padding: 9px 22px;
  border-radius: 7px;
  font-family: var(--font); font-size: 13px; font-weight: 700; letter-spacing: .02em;
  text-decoration: none;
  transition: background .18s, transform .15s, box-shadow .2s;
}
.btn-nav:hover {
  background: var(--accent-bright);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(23,185,120,0.28);
}
.btn-nav:active { transform: translateY(0); }

/* ─── UTILITY CLASSES ────────────────────────────────── */
.hl { display: block; overflow: hidden; }
.hl-inner { display: block; }

.script {
  font-family: var(--script);
  font-weight: 700;
  color: var(--accent);
  font-size: 1.02em;
  letter-spacing: -.01em;
}

.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: #000;
  padding: 14px 30px;
  border-radius: 8px;
  font-family: var(--font); font-size: 14px; font-weight: 700; letter-spacing: .02em;
  text-decoration: none;
  transition: background .18s, transform .15s, box-shadow .2s;
  box-shadow: 0 4px 24px rgba(23,185,120,0.22);
}
.btn-primary:hover {
  background: var(--accent-bright);
  transform: translateY(-2px);
  box-shadow: 0 10px 36px rgba(23,185,120,0.35);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--t1);
  padding: 14px 28px;
  border-radius: 8px;
  font-family: var(--font); font-size: 14px; font-weight: 500;
  text-decoration: none;
  border: 1px solid var(--border-mid);
  transition: border-color .2s, color .2s, transform .15s;
}
.btn-ghost:hover {
  border-color: var(--accent-border);
  color: var(--accent);
  transform: translateY(-2px);
}

.s-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 18px;
}
.s-label::before {
  content: ''; display: block;
  width: 22px; height: 1px;
  background: var(--accent);
}
.s-label.center { justify-content: center; }
.s-label.center::before { display: none; }

.s-head {
  font-size: clamp(28px, 3.2vw, 46px);
  font-weight: 800; line-height: 1.1;
  letter-spacing: -.028em; margin-bottom: 14px;
}
.s-sub {
  font-size: 14px; font-weight: 300;
  color: var(--t2); line-height: 1.8;
}

.sec { padding: 120px 64px; max-width: 1400px; margin: 0 auto; }

@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: .25; } }

/* ─── SECTION DIVIDER ─────────────────────────────────── */
.sec-div { height: 1px; background: linear-gradient(90deg, transparent, var(--accent-border) 40%, transparent); }

/* ─── HAMBURGER BUTTON ───────────────────────────────── */
.mob-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none; border: none;
  padding: 6px; cursor: none;
  z-index: 510;
}
.mob-toggle-bar {
  width: 22px; height: 2px;
  background: var(--t1); border-radius: 2px;
  transition: transform .32s var(--ease-out), opacity .22s, width .22s;
  transform-origin: center;
}
.mob-toggle.open .mob-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mob-toggle.open .mob-toggle-bar:nth-child(2) { opacity: 0; width: 0; }
.mob-toggle.open .mob-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── MOBILE NAV OVERLAY ─────────────────────────────── */
#mob-nav {
  position: fixed; inset: 0; z-index: 499;
  background: var(--deep);
  display: flex; flex-direction: column;
  padding: 100px 40px 48px;
  transform: translateX(100%);
  transition: transform .48s var(--ease-out);
  border-left: 1px solid var(--border-faint);
  overflow-y: auto;
}
#mob-nav.open { transform: translateX(0); }
body.mob-open { overflow: hidden; }

.mob-nav-links {
  list-style: none;
  display: flex; flex-direction: column; gap: 0;
  flex: 1;
}
.mob-nav-links li { border-bottom: 1px solid var(--border-faint); }
.mob-nav-links a {
  display: flex; align-items: center; justify-content: space-between;
  font-size: clamp(26px, 7vw, 38px); font-weight: 800;
  letter-spacing: -.03em; color: var(--t2);
  text-decoration: none; padding: 18px 0;
  transition: color .2s;
}
.mob-nav-links a:hover,
.mob-nav-links a.active { color: var(--t1); }
.mn-arrow { font-size: 20px; color: var(--t3); transition: color .2s, transform .2s; }
.mob-nav-links a:hover .mn-arrow { color: var(--accent); transform: translateX(4px); }
.mob-nav-links a.active .mn-arrow { color: var(--accent); }

/* ─── MOBILE NAV SERVICES GROUP ─────────────────────── */
.mob-services-group { border-bottom: 1px solid var(--border-faint); }

.mob-services-sub {
  list-style: none;
  margin: 0 0 14px 0;
  border-left: 2px solid var(--accent-border);
  display: flex; flex-direction: column; gap: 2px;
}
.mob-services-sub li { border-bottom: none; }
.mob-services-sub a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 10px 11px 18px;
  font-size: clamp(18px, 5vw, 22px); font-weight: 700;
  letter-spacing: -.02em;
  color: var(--t2);
  text-decoration: none;
  border-radius: 0 8px 8px 0;
  transition: color .2s, background .2s;
}
.mob-services-sub a:hover,
.mob-services-sub a.active { color: var(--t1); background: rgba(23,185,120,0.05); }
.mob-sub-arrow {
  font-size: 16px; color: var(--t3);
  transition: color .2s, transform .2s;
  flex-shrink: 0;
}
.mob-services-sub a:hover .mob-sub-arrow,
.mob-services-sub a.active .mob-sub-arrow { color: var(--accent); transform: translateX(3px); }

.mob-nav-bottom {
  margin-top: 40px;
  display: flex; flex-direction: column; gap: 16px;
}
.mob-nav-bottom .btn-primary {
  text-align: center; justify-content: center;
  padding: 16px 24px; font-size: 15px;
}
.mob-contact-line {
  font-size: 12px; font-weight: 400; color: var(--t3);
  letter-spacing: .04em; text-align: center;
}
.mob-contact-line a { color: var(--accent); text-decoration: none; }

/* ─── FOOTER ─────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border-faint);
  padding: 72px 64px 48px;
  max-width: 1400px; margin: 0 auto;
}
.ft-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  gap: 44px; margin-bottom: 56px;
}
.ft-logo img { height: 24px; display: block; margin-bottom: 18px; }
.ft-tagline {
  font-size: 13px; font-weight: 300;
  color: var(--t2); line-height: 1.75; max-width: 210px;
}
.ft-location {
  font-size: 12px; font-weight: 600;
  color: var(--accent); letter-spacing: .04em;
  margin-top: 12px;
}
.ft-col-h {
  font-size: 10.5px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--t3); margin-bottom: 18px;
}
.ft-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.ft-links a {
  color: var(--t2); text-decoration: none;
  font-size: 13.5px; font-weight: 400;
  transition: color .18s;
}
.ft-links a:hover { color: var(--accent); }
.ft-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 28px;
  border-top: 1px solid var(--border-faint);
}
.ft-copy { font-size: 12px; color: var(--t3); }
.ft-social { display: flex; gap: 12px; }
.soc {
  width: 36px; height: 36px;
  border-radius: 9px;
  background: var(--surface);
  border: 1px solid var(--border-faint);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  transition: border-color .2s, background .2s;
}
.soc:hover { border-color: var(--accent-border); background: var(--elevated); }
.soc svg { width: 14px; height: 14px; fill: var(--t2); transition: fill .2s; }
.soc:hover svg { fill: var(--accent); }

/* ─── SHARED RESPONSIVE ──────────────────────────────── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .btn-nav { display: none; }
  .mob-toggle { display: flex; }
  #nav { padding: 18px 24px; }
  #nav.scrolled { padding: 14px 24px; }
}

@media (max-width: 768px) {
  footer { padding: 56px 24px 40px; }
  .ft-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .ft-logo { grid-column: 1 / -1; }
}

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