/* ─────────────────────────────────────────────────
   main.css — hugomrln.com design system
   Dark / #0A0A0A · Accent #E8FF47 · Syne + Epilogue
───────────────────────────────────────────────── */

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

:root {
  --black:   #0A0A0A;
  --white:   #F4F1EB;
  --accent:  #E8FF47;
  --accent2: #4DFFA0;
  --gray:    #1A1A1A;
  --gray2:   #2A2A2A;
  --muted:   #666;
  --text-muted: #999;
  --font-display: 'Syne', sans-serif;
  --font-body:    'Epilogue', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
}

::selection { background: var(--accent); color: var(--black); }

/* NOISE */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.025; pointer-events: none; z-index: 9999;
}

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 20px 48px;
  display: flex; align-items: center; justify-content: space-between;
  transition: background 0.3s;
}
nav.scrolled {
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.nav-logo {
  font-family: var(--font-display); font-weight: 800; font-size: 18px;
  letter-spacing: -0.02em; color: var(--white); text-decoration: none;
}
.nav-logo span { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 36px; list-style: none; }
.nav-links a {
  font-family: var(--font-display); font-size: 13px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-muted); text-decoration: none; transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }
.nav-cta {
  font-family: var(--font-display); font-size: 13px; font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--black) !important; background: var(--accent);
  padding: 10px 22px; text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}
.nav-cta:hover { background: var(--white); transform: translateY(-1px); }
.nav-toggle { display: none; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); margin: 5px 0; transition: all 0.3s; }

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 48px 80px;
  position: relative; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 30%, rgba(232,255,71,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(77,255,160,0.05) 0%, transparent 50%);
}
.hero-ticker {
  position: absolute; top: 50%; left: 0; right: 0;
  transform: translateY(-50%); white-space: nowrap; overflow: hidden; pointer-events: none;
}
.hero-ticker-inner { display: inline-flex; animation: ticker 40s linear infinite; }
.hero-ticker span {
  font-family: var(--font-display); font-size: clamp(120px, 18vw, 260px);
  font-weight: 800; letter-spacing: -0.04em; color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.04); padding-right: 80px; line-height: 1; user-select: none;
}
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(232,255,71,0.1); border: 1px solid rgba(232,255,71,0.25);
  padding: 6px 14px; font-family: var(--font-display); font-size: 11px;
  font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 28px; width: fit-content;
  animation: fadeUp 0.8s ease 0.2s both;
}
.hero-badge::before {
  content: ''; width: 6px; height: 6px; background: var(--accent);
  border-radius: 50%; animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(0.8); } }

.hero-headline {
  font-family: var(--font-display); font-size: clamp(52px, 8vw, 120px);
  font-weight: 800; line-height: 0.92; letter-spacing: -0.04em;
  margin-bottom: 32px; position: relative; z-index: 1;
  animation: fadeUp 0.8s ease 0.4s both;
}
.hero-headline .line2 { color: var(--accent); }
.hero-headline .line3 { color: transparent; -webkit-text-stroke: 1px rgba(244,241,235,0.3); }

.hero-bottom {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 40px; position: relative; z-index: 1; animation: fadeUp 0.8s ease 0.6s both;
}
.hero-sub { font-size: 16px; color: var(--text-muted); max-width: 440px; line-height: 1.7; }
.hero-sub strong { color: var(--white); font-weight: 400; }
.hero-actions { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }

.hero-scroll-indicator {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-size: 11px; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted);
}
.hero-scroll-line { width: 40px; height: 1px; background: var(--muted); animation: scrollLine 2s ease-in-out infinite; }
@keyframes scrollLine { 0%, 100% { width: 40px; } 50% { width: 20px; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

/* ─── BUTTONS ─── */
.btn-primary {
  font-family: var(--font-display); font-size: 14px; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase; color: var(--black);
  background: var(--accent); padding: 16px 32px; text-decoration: none;
  display: inline-block; transition: transform 0.2s, background 0.2s;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}
.btn-primary:hover { transform: translateY(-2px); background: #f0ff5a; }
.btn-secondary {
  font-family: var(--font-display); font-size: 14px; font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase; color: var(--white);
  background: transparent; border: 1px solid rgba(255,255,255,0.2);
  padding: 15px 28px; text-decoration: none; display: inline-block;
  transition: border-color 0.2s, color 0.2s;
}
.btn-secondary:hover { border-color: var(--white); }

/* ─── STATS ─── */
.stats-strip {
  border-top: 1px solid rgba(255,255,255,0.06); border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 32px 48px; display: flex; justify-content: space-between; align-items: center; gap: 24px;
}
.stat-item { text-align: center; flex: 1; }
.stat-item + .stat-item { border-left: 1px solid rgba(255,255,255,0.06); }
.stat-number { font-family: var(--font-display); font-size: clamp(28px, 4vw, 48px); font-weight: 800; letter-spacing: -0.03em; color: var(--white); line-height: 1; margin-bottom: 6px; }
.stat-number span { color: var(--accent); }
.stat-label { font-size: 12px; color: var(--text-muted); letter-spacing: 0.08em; text-transform: uppercase; font-family: var(--font-display); font-weight: 500; }

/* ─── SECTIONS ─── */
section { padding: 100px 48px; }
.section-tag {
  font-family: var(--font-display); font-size: 11px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 20px; display: flex; align-items: center; gap: 10px;
}
.section-tag::before { content: ''; width: 24px; height: 1px; background: var(--accent); }
.section-title {
  font-family: var(--font-display); font-size: clamp(36px, 5vw, 72px);
  font-weight: 800; letter-spacing: -0.03em; line-height: 0.95; margin-bottom: 24px;
}

/* ─── SERVICES ─── */
.services { background: var(--black); }
.services-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 64px; gap: 40px; }
.services-intro { font-size: 17px; color: var(--text-muted); max-width: 400px; line-height: 1.7; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,0.06); }
.service-card {
  background: var(--black); padding: 48px 40px; position: relative; overflow: hidden;
  transition: background 0.3s; text-decoration: none; display: block; color: var(--white);
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease;
}
.service-card:hover { background: var(--gray); }
.service-card:hover::before { transform: scaleX(1); }
.service-num { font-family: var(--font-display); font-size: 11px; font-weight: 700; letter-spacing: 0.2em; color: var(--muted); margin-bottom: 24px; }
.service-icon { font-size: 32px; margin-bottom: 20px; display: block; }
.service-name { font-family: var(--font-display); font-size: 22px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 14px; line-height: 1.1; }
.service-desc { font-size: 14px; color: var(--text-muted); line-height: 1.7; margin-bottom: 28px; }
.service-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-family: var(--font-display); font-size: 10px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); border: 1px solid rgba(255,255,255,0.1); padding: 4px 10px; }
.service-card:hover .tag { border-color: rgba(232,255,71,0.3); color: var(--accent); }

/* ─── STACK ─── */
.stack { background: var(--gray); }
.stack-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 1px; background: rgba(255,255,255,0.06); margin-top: 56px; }
.stack-item { background: var(--gray); padding: 32px 24px; text-align: center; transition: background 0.2s; cursor: default; }
.stack-item:hover { background: var(--gray2); }
.stack-logo { font-size: 28px; margin-bottom: 10px; display: block; }
.stack-name { font-family: var(--font-display); font-size: 13px; font-weight: 600; letter-spacing: 0.05em; color: var(--white); margin-bottom: 4px; }
.stack-type { font-size: 11px; color: var(--muted); letter-spacing: 0.05em; }
.stack-item.featured .stack-name { color: var(--accent); }

/* ─── PROCESS ─── */
.process { background: var(--black); }
.process-list { margin-top: 64px; }
.process-step { display: grid; grid-template-columns: 80px 1fr auto; align-items: center; gap: 40px; padding: 36px 0; border-bottom: 1px solid rgba(255,255,255,0.06); transition: padding 0.2s; cursor: default; }
.process-step:first-child { border-top: 1px solid rgba(255,255,255,0.06); }
.process-step:hover { padding-left: 16px; }
.process-number { font-family: var(--font-display); font-size: 48px; font-weight: 800; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,0.1); letter-spacing: -0.03em; transition: color 0.3s, -webkit-text-stroke 0.3s; line-height: 1; }
.process-step:hover .process-number { color: var(--accent); -webkit-text-stroke: 1px var(--accent); }
.process-title { font-family: var(--font-display); font-size: 20px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 6px; }
.process-desc { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.process-duration { font-family: var(--font-display); font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); white-space: nowrap; background: rgba(255,255,255,0.04); padding: 8px 16px; }

/* ─── MARKETS ─── */
.markets { background: var(--gray); overflow: hidden; }
.markets-scroll { display: flex; gap: 12px; margin-top: 48px; animation: scrollMarkets 30s linear infinite; width: max-content; }
.markets-scroll:hover { animation-play-state: paused; }
@keyframes scrollMarkets { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.market-pill { display: flex; align-items: center; gap: 10px; padding: 14px 24px; border: 1px solid rgba(255,255,255,0.1); white-space: nowrap; transition: border-color 0.2s; cursor: default; }
.market-pill:hover { border-color: var(--accent); }
.market-flag { font-size: 20px; }
.market-name { font-family: var(--font-display); font-size: 13px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }

/* ─── CTA ─── */
.cta-section { background: var(--accent); padding: 100px 48px; position: relative; overflow: hidden; }
.cta-section::before {
  content: 'BOOK'; position: absolute; right: -20px; top: 50%; transform: translateY(-50%);
  font-family: var(--font-display); font-size: 200px; font-weight: 800; color: transparent;
  -webkit-text-stroke: 1px rgba(0,0,0,0.1); letter-spacing: -0.05em; pointer-events: none; line-height: 1;
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 60px; max-width: 1200px; position: relative; z-index: 1; }
.cta-title { font-family: var(--font-display); font-size: clamp(40px, 6vw, 80px); font-weight: 800; letter-spacing: -0.04em; line-height: 0.92; color: var(--black); }
.cta-sub { font-size: 16px; color: rgba(0,0,0,0.6); margin-top: 16px; max-width: 360px; }
.cta-actions { display: flex; flex-direction: column; gap: 12px; flex-shrink: 0; }
.btn-dark { font-family: var(--font-display); font-size: 14px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--accent); background: var(--black); padding: 18px 36px; text-decoration: none; display: inline-block; text-align: center; transition: transform 0.2s; }
.btn-dark:hover { transform: translateY(-2px); }
.btn-outline-dark { font-family: var(--font-display); font-size: 13px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--black); background: transparent; border: 2px solid var(--black); padding: 14px 28px; text-decoration: none; display: inline-block; text-align: center; transition: background 0.2s, color 0.2s; }
.btn-outline-dark:hover { background: var(--black); color: var(--accent); }

/* ─── FORM ─── */
.lead-form-section { background: var(--gray); padding: 100px 48px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; margin-top: 56px; }
.form-title { font-family: var(--font-display); font-size: 28px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 12px; }
.form-intro p { font-size: 14px; color: var(--text-muted); line-height: 1.8; margin-bottom: 32px; }
.form-trust { display: flex; flex-direction: column; gap: 12px; }
.trust-item { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-muted); }
.trust-icon { width: 28px; height: 28px; background: rgba(232,255,71,0.1); display: flex; align-items: center; justify-content: center; font-size: 14px; flex-shrink: 0; }
.lead-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label { font-family: var(--font-display); font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); }
.form-field input, .form-field select, .form-field textarea { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); color: var(--white); padding: 14px 16px; font-family: var(--font-body); font-size: 14px; outline: none; transition: border-color 0.2s; width: 100%; appearance: none; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--accent); }
.form-field select option { background: #1a1a1a; }
.form-field textarea { resize: vertical; min-height: 100px; }
.form-submit { font-family: var(--font-display); font-size: 14px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--black); background: var(--accent); border: none; padding: 18px 40px; cursor: pointer; width: 100%; transition: background 0.2s, transform 0.2s; clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px)); }
.form-submit:hover { background: #f0ff5a; transform: translateY(-1px); }
.form-submit:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.form-success { display: none; text-align: center; padding: 40px; background: rgba(77,255,160,0.08); border: 1px solid rgba(77,255,160,0.2); }
.form-success h3 { font-family: var(--font-display); font-size: 24px; font-weight: 700; color: var(--accent2); margin-bottom: 8px; }
.form-success p { font-size: 14px; color: var(--text-muted); }

/* ─── FAQ ─── */
.faq { background: var(--black); }
.faq-list { margin-top: 64px; }
.faq-item { border-bottom: 1px solid rgba(255,255,255,0.06); }
.faq-question { font-family: var(--font-display); font-size: 17px; font-weight: 600; letter-spacing: -0.01em; color: var(--white); padding: 28px 0; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; transition: color 0.2s; }
.faq-question:hover { color: var(--accent); }
.faq-icon { width: 24px; height: 24px; border: 1px solid rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; transition: transform 0.3s, border-color 0.2s; }
.faq-item.open .faq-icon { transform: rotate(45deg); border-color: var(--accent); }
.faq-answer { font-size: 14px; color: var(--text-muted); line-height: 1.8; max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s; }
.faq-item.open .faq-answer { max-height: 400px; padding-bottom: 28px; }

/* ─── BLOG ─── */
.blog { background: var(--black); }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,0.06); margin-top: 56px; }
.blog-card { background: var(--black); padding: 40px 36px; text-decoration: none; color: var(--white); display: block; transition: background 0.3s; position: relative; overflow: hidden; }
.blog-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease; }
.blog-card:hover { background: var(--gray); }
.blog-card:hover::before { transform: scaleX(1); }
.blog-cat { font-family: var(--font-display); font-size: 10px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.blog-title { font-family: var(--font-display); font-size: 20px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 12px; }
.blog-excerpt { font-size: 13px; color: var(--text-muted); line-height: 1.7; margin-bottom: 24px; }
.blog-meta { display: flex; align-items: center; gap: 12px; font-size: 11px; color: var(--muted); font-family: var(--font-display); }
.blog-meta-dot { width: 3px; height: 3px; background: var(--muted); border-radius: 50%; }

/* ─── GEO FOOTER ─── */
.geo-footer { background: var(--gray); padding: 48px; text-align: center; }
.geo-title { font-family: var(--font-display); font-size: 12px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; }
.geo-cities { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; }
.geo-city { font-family: var(--font-display); font-size: 12px; font-weight: 500; color: var(--text-muted); letter-spacing: 0.05em; transition: color 0.2s; }
.geo-city a { color: inherit; text-decoration: none; }
.geo-city:hover, .geo-city:hover a { color: var(--accent); }

/* ─── FOOTER ─── */
footer { background: var(--black); border-top: 1px solid rgba(255,255,255,0.06); padding: 48px; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.footer-logo { font-family: var(--font-display); font-size: 22px; font-weight: 800; letter-spacing: -0.02em; text-decoration: none; color: var(--white); }
.footer-logo span { color: var(--accent); }
.footer-links { display: flex; gap: 32px; list-style: none; }
.footer-links a { font-family: var(--font-display); font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--white); }
.footer-bottom { display: flex; align-items: center; gap: 24px; width: 100%; justify-content: space-between; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.06); margin-top: 8px; }
.footer-copy { font-size: 12px; color: var(--muted); }

/* ─── LANG SWITCHER ─── */
.lang-switcher { position: relative; }
.lang-toggle {
  display: flex; align-items: center; gap: 8px;
  background: var(--gray); border: 1px solid rgba(255,255,255,0.1);
  color: var(--white); font-family: var(--font-display); font-size: 12px;
  font-weight: 500; letter-spacing: 0.05em; padding: 8px 14px;
  cursor: pointer; transition: all 0.2s;
}
.lang-toggle:hover { border-color: var(--accent); color: var(--accent); }
.lang-toggle svg { transition: transform 0.2s; }
.lang-switcher.open .lang-toggle svg { transform: rotate(180deg); }
.lang-dropdown {
  display: none; position: absolute; bottom: 100%; left: 0;
  background: var(--gray); border: 1px solid rgba(255,255,255,0.1);
  min-width: 160px; max-height: 280px; overflow-y: auto;
  margin-bottom: 4px; z-index: 100;
}
.lang-switcher.open .lang-dropdown { display: flex; flex-direction: column; }
.lang-option {
  padding: 8px 14px; font-family: var(--font-display); font-size: 12px;
  font-weight: 500; color: var(--text-muted); text-decoration: none;
  transition: all 0.15s; white-space: nowrap;
}
.lang-option:hover { background: var(--gray2); color: var(--white); }
.lang-option.active { color: var(--accent); }

/* ─── SCROLL REVEAL ─── */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ─── ADMIN BADGE ─── */
.admin-badge {
  position: fixed; bottom: 24px; right: 24px; z-index: 1000;
  background: var(--accent); color: var(--black);
  font-family: var(--font-display); font-size: 12px; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase;
  padding: 10px 18px; text-decoration: none;
  clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
  transition: transform 0.2s;
  display: none; /* shown only for admin */
}
.admin-badge:hover { transform: translateY(-2px); }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  nav { padding: 16px 24px; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .hero { padding: 0 24px 64px; }
  section { padding: 72px 24px; }
  .stats-strip { padding: 24px; flex-wrap: wrap; }
  .stat-item + .stat-item { border-left: none; border-top: 1px solid rgba(255,255,255,0.06); }
  .services-header { flex-direction: column; }
  .services-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .hero-bottom { flex-direction: column; align-items: flex-start; }
  .process-step { grid-template-columns: 60px 1fr; }
  .process-duration { display: none; }
  .form-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
  .footer-bottom { flex-direction: column; align-items: center; }
  .lang-dropdown { left: 50%; transform: translateX(-50%); }
  .stack-grid { grid-template-columns: repeat(3, 1fr); }
  .geo-footer { padding: 32px 24px; }
  footer { padding: 32px 24px; }
}

/* ─── BLOG PAGE ─── */
.blog-page-header { padding: 140px 48px 60px; }
.blog-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 48px; }
.filter-btn { font-family: var(--font-display); font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); border: 1px solid rgba(255,255,255,0.1); padding: 8px 16px; background: transparent; cursor: pointer; transition: all 0.2s; }
.filter-btn:hover, .filter-btn.active { border-color: var(--accent); color: var(--accent); }
.blog-list { padding: 0 48px 100px; }

/* ─── ARTICLE PAGE ─── */
.article-header { padding: 140px 48px 60px; max-width: 800px; }
.article-body { padding: 0 48px 100px; max-width: 800px; }
.article-body h2 { font-family: var(--font-display); font-size: 28px; font-weight: 700; letter-spacing: -0.02em; margin: 48px 0 16px; }
.article-body p { font-size: 16px; color: rgba(244,241,235,0.8); line-height: 1.8; margin-bottom: 20px; }
.article-body ul, .article-body ol { padding-left: 24px; margin-bottom: 20px; }
.article-body li { font-size: 15px; color: rgba(244,241,235,0.75); line-height: 1.8; margin-bottom: 8px; }
.article-body code { background: var(--gray2); padding: 2px 8px; font-size: 13px; font-family: 'Courier New', monospace; color: var(--accent); }
.article-body pre { background: var(--gray); padding: 24px; margin-bottom: 24px; overflow-x: auto; }
.article-body pre code { background: none; padding: 0; }

/* ══════════════════════════════════════════════════
   PROGRAMMATIC PAGES — Couche 3 design system
   Matches the UAE mockup reference
   ══════════════════════════════════════════════════ */

/* Section common */
.pg section { padding: 100px 48px; border-top: 1px solid var(--border); position: relative; }
.pg section::before { position: absolute; top: 60px; right: 48px; font-family: var(--font-display); font-size: 11px; letter-spacing: 0.2em; color: var(--muted); }
.pg .section-label { font-family: var(--font-display); font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); margin-bottom: 24px; display: flex; align-items: center; gap: 12px; }
.pg .section-label::before { content: ''; width: 24px; height: 1px; background: var(--accent); }
.pg .section-title { font-family: var(--font-display); font-size: clamp(32px, 4vw, 48px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 24px; max-width: 720px; }
.pg .section-sub { font-size: 16px; color: var(--text-muted); max-width: 620px; margin-bottom: 60px; line-height: 1.7; }

/* Hero split */
.pg a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
.pg a:hover { color: #f0ff5a; text-decoration: underline; }

.pg .pg-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; padding: 80px 48px 100px; align-items: center; position: relative; border-top: none; }
.pg .pg-hero::before { content: '01'; }
.pg .hero-badge { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-size: 11px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent); margin-bottom: 28px; }
.pg .hero-badge::before { content: ''; width: 24px; height: 1px; background: var(--accent); }
.pg .hero-country { color: var(--text-muted); margin-left: 6px; }
.pg .pg-hero h1 { font-family: var(--font-display); font-size: clamp(42px, 6vw, 72px); font-weight: 700; line-height: 1.02; letter-spacing: -0.03em; margin-bottom: 32px; }
.pg .pg-hero h1 em { font-style: normal; color: var(--accent); font-weight: 800; }
.pg .pg-hero p { font-size: 17px; color: var(--text-muted); max-width: 480px; margin-bottom: 40px; line-height: 1.7; }
.pg .hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.pg .btn-primary { background: var(--accent); color: var(--black); padding: 18px 32px; font-family: var(--font-display); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; transition: transform 0.2s; }
.pg .btn-primary:hover { transform: translateY(-2px); }
.pg .btn-ghost { background: transparent; color: var(--white); border: 1px solid var(--border); padding: 17px 32px; font-family: var(--font-display); font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; }
.pg .hero-image-wrap { position: relative; aspect-ratio: 4/5; background: var(--gray); }
.pg .hero-image { width: 100%; height: 100%; object-fit: cover; filter: grayscale(30%) contrast(1.1); }
.pg .hero-image-overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: 24px; background: linear-gradient(to top, rgba(0,0,0,0.9), transparent); }
.pg .hero-image-caption { font-family: var(--font-display); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.pg .hero-image-title { font-family: var(--font-display); font-size: 18px; font-weight: 600; }

/* Pricing */
.pg .pg-pricing::before { content: '02'; }
.pg .pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); }
.pg .pricing-card { background: var(--black); padding: 40px 32px; }
.pg .pricing-card.highlighted { background: var(--gray); border: 1px solid var(--accent); }
.pg .pricing-card-label { font-family: var(--font-display); font-size: 10px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.pg .pricing-card.highlighted .pricing-card-label { color: var(--accent); }
.pg .pricing-card h3 { font-family: var(--font-display); font-size: 22px; font-weight: 600; margin-bottom: 8px; }
.pg .pricing-price { font-family: var(--font-display); font-size: 40px; font-weight: 700; letter-spacing: -0.02em; margin: 24px 0 4px; }
.pg .pricing-convert { font-size: 12px; color: var(--muted); margin-bottom: 24px; font-family: 'SF Mono', monospace; }
.pg .pricing-features { list-style: none; margin: 24px 0; }
.pg .pricing-features li { font-size: 14px; color: var(--text-muted); padding: 8px 0; border-bottom: 1px solid var(--border); display: flex; gap: 8px; }
.pg .pricing-features li::before { content: '+'; color: var(--accent); font-weight: 600; }

/* Services */
.pg .pg-services::before { content: '03'; }
.pg .pg-services .services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); }
.pg .pg-services .service-card { background: var(--black); padding: 48px 32px; transition: background 0.3s; text-decoration: none; color: var(--white); }
.pg .pg-services .service-card:hover { background: var(--gray); }
.pg .pg-services .service-card h3 { font-family: var(--font-display); font-size: 22px; font-weight: 600; margin-bottom: 12px; letter-spacing: -0.01em; }
.pg .pg-services .service-card p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* Code showcase */
.pg .pg-code::before { content: '04'; }
.pg .code-wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: start; }
.pg .code-block { background: var(--gray); border: 1px solid var(--border); padding: 28px; font-family: 'SF Mono', 'Monaco', monospace; font-size: 13px; line-height: 1.8; overflow-x: auto; position: relative; }
.pg .code-lang-label { position: absolute; top: 16px; right: 20px; font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); font-family: var(--font-display); }

/* Comparison */
.pg .pg-comparison::before { content: '05'; }
.pg .comp-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.pg .comp-table th, .pg .comp-table td { padding: 20px 24px; text-align: left; border-bottom: 1px solid var(--border); }
.pg .comp-table th { font-family: var(--font-display); font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); }
.pg .comp-table th.accent { color: var(--accent); }
.pg .comp-table td.accent { background: rgba(232,255,71,0.04); color: var(--white); }
.pg .check { color: var(--accent); font-weight: 600; }
.pg .cross { color: #5A5A5A; }

/* FAQ */
.pg .pg-faq::before { content: '06'; }
.pg .faq-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 80px; align-items: start; }
.pg .pg-faq .faq-list { display: flex; flex-direction: column; gap: 1px; background: var(--border); }
.pg .pg-faq .faq-item { background: var(--black); padding: 28px 32px; cursor: pointer; }
.pg .pg-faq .faq-q { font-family: var(--font-display); font-size: 17px; font-weight: 500; display: flex; justify-content: space-between; gap: 20px; transition: color 0.2s; }
.pg .pg-faq .faq-item.open .faq-q { color: var(--accent); }
.pg .pg-faq .faq-a { font-size: 14px; color: var(--text-muted); margin-top: 14px; line-height: 1.7; display: none; }
.pg .pg-faq .faq-item.open .faq-a { display: block; }

/* CTA banner */
.pg .pg-cta { background: var(--accent); color: var(--black); text-align: center; padding: 100px 48px; }
.pg .pg-cta::before { content: '07'; color: rgba(10,10,10,0.4); }
.pg .pg-cta .section-label { color: var(--black); justify-content: center; }
.pg .pg-cta .section-label::before { background: var(--black); }
.pg .pg-cta h2 { font-family: var(--font-display); font-size: clamp(36px, 5vw, 60px); font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; margin-bottom: 24px; max-width: 720px; margin-left: auto; margin-right: auto; }
.pg .pg-cta p { font-size: 16px; color: rgba(10,10,10,0.75); margin-bottom: 40px; }
.pg .btn-dark { background: var(--black); color: var(--white); padding: 18px 32px; font-family: var(--font-display); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; }

/* Footer simple */
.pg .pg-footer { padding: 60px 48px 40px; font-size: 12px; color: var(--muted); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px; border-top: 1px solid var(--border); }
.pg .pg-footer a { color: var(--text-muted); text-decoration: none; margin-left: 20px; }

/* Responsive */
@media (max-width: 900px) {
  .pg .pg-hero { grid-template-columns: 1fr; padding: 60px 24px; }
  .pg .pricing-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .pg .pg-services .services-grid { grid-template-columns: 1fr; }
  .pg .code-wrap, .pg .faq-grid { grid-template-columns: 1fr; gap: 40px; }
  .pg section { padding: 60px 24px; }
}
