/* ================================================================
   GLOBAL LINK MARKETING — MASTER DESIGN SYSTEM
   Inspired by Degency Theme: Dark luxury, lime green accent
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=DM+Serif+Display:ital@0;1&display=swap');

/* ── TOKENS ─────────────────────────────────────────────────────── */
:root {
  --bg-primary:    #080c10;
  --bg-secondary:  #0d1117;
  --bg-card:       #111820;
  --bg-card-alt:   #0f1821;
  --accent:        #c5e832;
  --accent-dark:   #a8c920;
  --accent-glow:   rgba(197,232,50,.18);
  --text-white:    #ffffff;
  --text-muted:    #8a9ab0;
  --text-dim:      #4a5568;
  --border:        rgba(197,232,50,.12);
  --border-subtle: rgba(255,255,255,.06);
  --nav-height:    80px;
  --radius-sm:     8px;
  --radius-md:     16px;
  --radius-lg:     24px;
  --radius-xl:     40px;
  --transition:    0.35s cubic-bezier(.4,0,.2,1);
}

/* ── RESET ───────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-primary);
  color: var(--text-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { border: none; cursor: pointer; font-family: inherit; }

/* ── SCROLLBAR ───────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }

/* ── TYPOGRAPHY ──────────────────────────────────────────────────── */
.serif { font-family: 'DM Serif Display', serif; }
h1,h2,h3,h4,h5 { font-weight: 700; line-height: 1.15; }
p { line-height: 1.75; }

/* ── UTILITIES ───────────────────────────────────────────────────── */
.accent    { color: var(--accent); }
.muted     { color: var(--text-muted); }
.container { max-width: 1240px; margin: 0 auto; padding: 0 40px; }
.section   { padding: 100px 0; }
.grid-2    { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.grid-3    { display: grid; grid-template-columns: repeat(3,1fr); gap: 30px; }
.grid-4    { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }

/* ── BADGE ───────────────────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(197,232,50,.10);
  border: 1px solid var(--border);
  color: var(--accent);
  font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: 8px 18px; border-radius: 999px;
}
.badge::before {
  content: '✦'; font-size: 10px;
}

/* ── BUTTONS ─────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 700; letter-spacing: .04em;
  padding: 16px 32px; border-radius: 999px;
  transition: var(--transition); position: relative; overflow: hidden;
}
.btn-primary {
  background: var(--accent); color: #080c10;
}
.btn-primary:hover {
  background: #d4f540; transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(197,232,50,.35);
}
.btn-outline {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,.2);
  color: var(--text-white);
}
.btn-outline:hover {
  border-color: var(--accent); color: var(--accent);
  box-shadow: 0 0 30px rgba(197,232,50,.12);
}
.btn-icon {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: inline-flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.btn-icon:hover { background: var(--accent); color: #080c10; }
.btn .arrow { font-size: 18px; transition: transform .3s; }
.btn:hover .arrow { transform: translateX(4px); }

/* ── NAVIGATION ──────────────────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-height);
  display: flex; align-items: center;
  background: rgba(8,12,16,.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(8,12,16,.97);
  box-shadow: 0 4px 40px rgba(0,0,0,.5);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 40px;
}
.nav-logo {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none;
}
.nav-logo-img {
  height: 64px; width: auto; display: block;
}
.footer-logo-img {
  height: 72px; width: auto; display: block; margin-bottom: 24px;
}

.nav-links {
  display: flex; align-items: center; gap: 8px;
}
.nav-link {
  font-size: 13px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase;
  padding: 8px 16px; border-radius: 6px; color: var(--text-muted);
  transition: var(--transition); position: relative;
}
.nav-link:hover, .nav-link.active {
  color: var(--text-white);
}
.nav-link.active::after {
  content: ''; position: absolute; bottom: 2px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 4px; border-radius: 50%; background: var(--accent);
}

.nav-actions { display: flex; align-items: center; gap: 12px; }
/* .nav-phone removed */

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: transparent; padding: 8px;
}
.hamburger span {
  display: block; height: 2px; border-radius: 2px; background: var(--text-white);
  transition: var(--transition);
}
.hamburger span:first-child { width: 24px; }
.hamburger span:nth-child(2) { width: 18px; }
.hamburger span:last-child  { width: 24px; }

.mobile-menu {
  display: none; position: fixed; top: var(--nav-height); left: 0; right: 0;
  background: rgba(8,12,16,.98); backdrop-filter: blur(30px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 30px 40px; z-index: 999;
}
.mobile-menu.open { display: flex; flex-direction: column; gap: 16px; }
.mobile-menu a {
  font-size: 18px; font-weight: 600; color: var(--text-muted);
  padding: 12px 0; border-bottom: 1px solid var(--border-subtle);
  transition: color .2s;
}
.mobile-menu a:hover { color: var(--accent); }

/* ── HERO ────────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh; position: relative;
  display: flex; align-items: center; overflow: hidden;
  padding-top: var(--nav-height);
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('images/hero_background.png') center/cover no-repeat;
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(110deg, rgba(8,12,16,.95) 50%, rgba(8,12,16,.5) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 700px;
}
.hero-eyebrow { margin-bottom: 28px; }
.hero-title {
  font-size: clamp(48px, 6vw, 88px);
  font-weight: 900; line-height: 1.04;
  letter-spacing: -.03em; margin-bottom: 28px;
}
.hero-title em { font-style: normal; color: var(--accent); }
.hero-body {
  font-size: 18px; color: var(--text-muted);
  max-width: 520px; margin-bottom: 48px; line-height: 1.8;
}
.hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

/* Dual-image cluster (right side, Degency style) */
.hero-visual {
  position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 48%; z-index: 2;
  display: flex; gap: 16px; align-items: flex-end;
}
.hero-img-primary {
  width: 58%; aspect-ratio: 3/4;
  border-radius: var(--radius-xl) var(--radius-xl) var(--radius-xl) 0;
  overflow: hidden;
  border: 2px solid var(--accent);
}
.hero-img-secondary {
  width: 40%; aspect-ratio: 3/4;
  border-radius: var(--radius-xl) var(--radius-xl) 0 var(--radius-xl);
  overflow: hidden;
  border: 2px solid rgba(197,232,50,.3);
  margin-bottom: 60px;
}
.hero-img-primary img,
.hero-img-secondary img { width: 100%; height: 100%; object-fit: cover; }

/* Ticker strip */
.ticker {
  background: var(--accent); color: #080c10;
  padding: 16px 0; overflow: hidden; white-space: nowrap;
}
.ticker-track {
  display: inline-flex; gap: 60px;
  animation: ticker-scroll 30s linear infinite;
}
.ticker-item {
  font-size: 14px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; display: inline-flex; align-items: center; gap: 16px;
}
.ticker-item::after { content: '✦'; opacity: .5; }
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── SECTION HEADERS ─────────────────────────────────────────────── */
.section-header { margin-bottom: 60px; }
.section-header.centered { text-align: center; }
.section-title {
  font-size: clamp(36px, 4.5vw, 60px);
  font-weight: 800; letter-spacing: -.025em; margin-top: 14px; line-height: 1.1;
}
.section-title em { font-style: normal; color: var(--accent); }
.section-body {
  font-size: 16px; color: var(--text-muted);
  max-width: 560px; margin-top: 18px; line-height: 1.8;
}
.section-header.centered .section-body { margin: 18px auto 0; }

/* ── STATS BAR ───────────────────────────────────────────────────── */
.stats-bar {
  background: var(--bg-card);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 48px 0;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 0;
}
.stat-item {
  text-align: center; padding: 24px;
  border-right: 1px solid var(--border-subtle);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-size: clamp(40px,5vw,64px);
  font-weight: 900; letter-spacing: -.04em;
  color: var(--accent); line-height: 1;
}
.stat-suffix { font-size: .6em; font-weight: 800; }
.stat-label {
  font-size: 13px; color: var(--text-muted);
  margin-top: 8px; text-transform: uppercase; letter-spacing: .08em;
}

/* ── ABOUT / TWO-COL ──────────────────────────────────────────────── */
.about-image-wrap {
  position: relative;
}
.about-image-main {
  border-radius: var(--radius-xl);
  overflow: hidden; width: 100%; aspect-ratio: 4/5;
}
.about-image-main img { width: 100%; height: 100%; object-fit: cover; }
.about-badge-float {
  position: absolute; bottom: -20px; right: -20px;
  background: var(--accent); color: #080c10;
  border-radius: var(--radius-lg); padding: 30px;
  box-shadow: 0 20px 60px rgba(197,232,50,.3);
}
.about-badge-number { font-size: 48px; font-weight: 900; line-height: 1; }
.about-badge-text   { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin-top: 4px; }

/* ── SERVICE CARDS ───────────────────────────────────────────────── */
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px; cursor: pointer;
  transition: var(--transition); position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--accent-glow), transparent 60%);
  opacity: 0; transition: opacity .4s;
}
.service-card:hover::before { opacity: 1; }
.service-card:hover {
  border-color: var(--border);
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0,0,0,.5);
}
.service-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--accent-glow); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 24px;
  transition: var(--transition);
}
.service-card:hover .service-icon {
  background: var(--accent); color: #080c10;
}
.service-name {
  font-size: 20px; font-weight: 700; margin-bottom: 12px;
}
.service-desc {
  font-size: 14px; color: var(--text-muted); line-height: 1.75;
}
.service-number {
  position: absolute; top: 24px; right: 28px;
  font-size: 11px; font-weight: 700; letter-spacing: .1em;
  color: var(--text-dim);
}

/* ── PROJECT CARDS ───────────────────────────────────────────────── */
.project-card {
  border-radius: var(--radius-lg); overflow: hidden;
  position: relative; aspect-ratio: 4/3;
  cursor: pointer;
}
.project-card-img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease;
}
.project-card:hover .project-card-img { transform: scale(1.07); }
.project-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(8,12,16,.95) 0%, transparent 60%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 30px;
}
.project-card-cat {
  font-size: 11px; font-weight: 700; letter-spacing: .1em;
  color: var(--accent); text-transform: uppercase; margin-bottom: 8px;
}
.project-card-name {
  font-size: 20px; font-weight: 800;
}
.project-card-link {
  margin-top: 16px; font-size: 12px; font-weight: 700;
  color: var(--accent); letter-spacing: .06em;
  text-transform: uppercase; opacity: 0;
  transform: translateY(8px); transition: var(--transition);
}
.project-card:hover .project-card-link { opacity: 1; transform: translateY(0); }

/* ── TEAM CARDS ──────────────────────────────────────────────────── */
.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: var(--transition);
}
.team-card:hover {
  border-color: var(--border);
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0,0,0,.5);
}
.team-card-photo {
  aspect-ratio: 4/5; overflow: hidden;
}
.team-card-photo img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s;
}
.team-card:hover .team-card-photo img { transform: scale(1.05); }
.team-card-info { padding: 28px; }
.team-card-name { font-size: 22px; font-weight: 800; }
.team-card-role { font-size: 12px; color: var(--accent); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-top: 4px; }
.team-card-bio  { font-size: 13px; color: var(--text-muted); margin-top: 12px; line-height: 1.7; }
.team-card-social { display: flex; gap: 10px; margin-top: 20px; }
.social-btn {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--bg-secondary);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: var(--text-muted); transition: var(--transition);
}
.social-btn:hover { background: var(--accent); color: #080c10; }

/* ── PHILOSOPHY / PROCESS ────────────────────────────────────────── */
.process-step {
  display: flex; gap: 32px; padding: 36px 0;
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition);
}
.process-step:hover { padding-left: 12px; }
.process-step:last-child { border-bottom: none; }
.step-num {
  font-size: 13px; font-weight: 800; color: var(--accent);
  letter-spacing: .1em; min-width: 48px; padding-top: 4px;
}
.step-body { flex: 1; }
.step-title { font-size: 22px; font-weight: 700; margin-bottom: 10px; }
.step-desc  { font-size: 14px; color: var(--text-muted); line-height: 1.8; }

/* ── QUOTE / CALLOUT ─────────────────────────────────────────────── */
.callout {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 80px;
  text-align: center; position: relative; overflow: hidden;
}
.callout::before {
  content: ''; position: absolute; top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at center, var(--accent-glow) 0%, transparent 60%);
  animation: pulse-bg 6s ease-in-out infinite;
}
@keyframes pulse-bg {
  0%,100% { opacity: .4; transform: scale(1); }
  50%      { opacity: .8; transform: scale(1.05); }
}
.callout > * { position: relative; z-index: 1; }
.callout-quote {
  font-size: clamp(24px,3vw,42px);
  font-family: 'DM Serif Display', serif;
  font-style: italic; line-height: 1.4;
  max-width: 800px; margin: 0 auto 32px;
}
.callout-attribution {
  font-size: 14px; font-weight: 700;
  color: var(--accent); letter-spacing: .08em; text-transform: uppercase;
}

/* ── INSIGHTS / BLOG ─────────────────────────────────────────────── */
.insight-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: var(--transition);
}
.insight-card:hover {
  border-color: var(--border); transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,.4);
}
.insight-thumb { aspect-ratio: 16/9; overflow: hidden; }
.insight-thumb img { width:100%; height:100%; object-fit:cover; transition: transform .5s; }
.insight-card:hover .insight-thumb img { transform: scale(1.05); }
.insight-body { padding: 28px; }
.insight-meta {
  display: flex; align-items: center; gap: 12px;
  font-size: 11px; font-weight: 700; color: var(--text-dim);
  text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px;
}
.insight-meta .dot { color: var(--accent); }
.insight-title { font-size: 18px; font-weight: 700; line-height: 1.4; margin-bottom: 12px; }
.insight-title a:hover { color: var(--accent); }
.insight-excerpt { font-size: 13px; color: var(--text-muted); line-height: 1.75; }
.insight-read-more {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700; color: var(--accent);
  letter-spacing: .06em; text-transform: uppercase; margin-top: 20px;
  transition: gap .2s;
}
.insight-read-more:hover { gap: 10px; }

/* ── CONTACT FORM ────────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; align-items: start; }
.contact-info-item {
  display: flex; align-items: flex-start; gap: 20px;
  padding: 28px 0; border-bottom: 1px solid var(--border-subtle);
}
.contact-icon {
  width: 48px; height: 48px; min-width: 48px; border-radius: 12px;
  background: var(--accent-glow); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: var(--accent);
}
.contact-detail-label {
  font-size: 11px; font-weight: 700; color: var(--text-dim);
  text-transform: uppercase; letter-spacing: .1em; margin-bottom: 4px;
}
.contact-detail-value { font-size: 15px; font-weight: 600; }

.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-size: 12px; font-weight: 700;
  color: var(--text-muted); text-transform: uppercase; letter-spacing: .08em;
  margin-bottom: 8px;
}
.form-control {
  width: 100%; background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm); padding: 14px 18px;
  font-family: 'Inter', sans-serif; font-size: 14px; color: var(--text-white);
  transition: border-color .2s, box-shadow .2s; outline: none;
}
.form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(197,232,50,.12);
}
.form-control::placeholder { color: var(--text-dim); }
textarea.form-control { min-height: 140px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ── FOOTER ───────────────────────────────────────────────────────── */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  padding: 80px 0 40px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 60px; padding-bottom: 60px;
  border-bottom: 1px solid var(--border-subtle);
}
.footer-brand-desc {
  font-size: 14px; color: var(--text-muted);
  line-height: 1.8; margin-top: 20px; max-width: 280px;
}
.footer-heading {
  font-size: 12px; font-weight: 700; color: var(--text-white);
  text-transform: uppercase; letter-spacing: .12em; margin-bottom: 24px;
}
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a {
  font-size: 14px; color: var(--text-muted); transition: color .2s;
}
.footer-links a:hover { color: var(--accent); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 36px; gap: 20px; flex-wrap: wrap;
}
.footer-copy {
  font-size: 13px; color: var(--text-dim);
}

/* ── PAGE HERO (inner pages) ─────────────────────────────────────── */
.page-hero {
  padding: 160px 0 100px;
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}
.page-hero::after {
  content: ''; position: absolute; top: -80px; right: -80px;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero-title {
  font-size: clamp(48px,6vw,80px);
  font-weight: 900; letter-spacing: -.03em; line-height: 1.05;
  margin-top: 14px;
}

/* ── BREADCRUMB ──────────────────────────────────────────────────── */
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--text-dim);
  text-transform: uppercase; letter-spacing: .08em;
}
.breadcrumb a { color: var(--text-muted); transition: color .2s; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: var(--accent); }

/* ── PHILOSOPHY PAGE ─────────────────────────────────────────────── */
.philosophy-principle {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg); padding: 48px;
  transition: var(--transition);
}
.philosophy-principle:hover {
  border-color: var(--border);
  box-shadow: 0 20px 50px rgba(0,0,0,.4);
}
.principle-num {
  font-size: 72px; font-weight: 900; color: var(--accent);
  opacity: .15; line-height: 1; margin-bottom: -20px;
}
.principle-title { font-size: 26px; font-weight: 800; }
.principle-desc  { font-size: 15px; color: var(--text-muted); line-height: 1.8; margin-top: 14px; }

/* ── SCROLL TO TOP ───────────────────────────────────────────────── */
#scrollTop {
  position: fixed; bottom: 32px; right: 32px;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--accent); color: #080c10;
  display: none; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 700; z-index: 999;
  box-shadow: 0 8px 30px rgba(197,232,50,.4);
  transition: transform .2s, opacity .2s;
  cursor: pointer;
}
#scrollTop:hover { transform: translateY(-3px); }
#scrollTop.visible { display: flex; }

/* ── PRELOADER ───────────────────────────────────────────────────── */
#preloader {
  position: fixed; inset: 0; width: 100%; height: 100%;
  background: #080c10; z-index: 10000;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  transition: opacity 0.8s cubic-bezier(0.77, 0, 0.175, 1), 
              visibility 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}
#preloader.loaded { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-mark {
  font-size: 56px; font-weight: 900; color: var(--accent);
  letter-spacing: -0.05em; margin-bottom: 32px;
  animation: logo-pulse 2s ease-in-out infinite;
}
.preloader-bar {
  width: 160px; height: 2px; background: rgba(255,255,255,0.05);
  border-radius: 99px; overflow: hidden;
}
.preloader-progress {
  width: 100%; height: 100%; background: var(--accent);
  transform-origin: left;
  animation: bar-grow 1.8s ease-in-out forwards;
}
@keyframes bar-grow { 0% { transform: scaleX(0); } 100% { transform: scaleX(1); } }
@keyframes logo-pulse { 0%, 100% { opacity: 0.6; } 50% { opacity: 1; } }

/* ── ANIMATIONS ──────────────────────────────────────────────────── */
.fade-up {
  opacity: 0; transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible {
  opacity: 1; transform: translateY(0);
}
.fade-up:nth-child(1){ transition-delay: 0s; }
.fade-up:nth-child(2){ transition-delay: .1s; }
.fade-up:nth-child(3){ transition-delay: .2s; }
.fade-up:nth-child(4){ transition-delay: .3s; }

/* ── RESPONSIVE ──────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .container { padding: 0 24px; }
  .section { padding: 70px 0; }
  .grid-2  { grid-template-columns: 1fr; gap: 40px; }
  .grid-3  { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--border-subtle); }
  .hero-visual { display: none; }
  .hero-content { max-width: 100%; }
  .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .callout { padding: 50px 30px; }
  .nav-links { display: none; }
  .nav-phone { display: none; }
  .hamburger { display: flex; }
}

@media (max-width: 600px) {
  .grid-3  { grid-template-columns: 1fr; }
  .grid-4  { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }
  .hero-title { font-size: 42px; }
  .callout-quote { font-size: 22px; }
  .btn { padding: 14px 24px; font-size: 13px; }
}
