/* ============================================================
   GH Mughal — Design System
   Style: Premium dark / Enterprise Gateway
   Fonts: Lexend (headings) + Source Sans 3 (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@300;400;500;600;700;800&family=Source+Sans+3:wght@300;400;500;600;700&display=swap');

/* ---------- Tokens ---------- */
:root {
  --navy-900: #0B1120;
  --navy-800: #0F172A;
  --navy-700: #1E293B;
  --navy-600: #334155;
  --slate-400: #94A3B8;
  --slate-300: #CBD5E1;
  --slate-200: #E2E8F0;
  --slate-100: #F1F5F9;
  --white: #FFFFFF;

  --accent: #DC2626;       /* action red */
  --accent-600: #B91C1C;
  --gold: #E0A82E;         /* premium / construction accent */

  --bg: var(--navy-900);
  --surface: var(--navy-800);
  --surface-2: var(--navy-700);
  --text: #E7ECF3;
  --text-muted: var(--slate-400);
  --border: rgba(148, 163, 184, 0.16);

  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1240px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.55);
  --shadow-card: 0 12px 30px -18px rgba(0, 0, 0, 0.7);
  --transition: 220ms cubic-bezier(0.4, 0, 0.2, 1);

  --font-head: 'Lexend', system-ui, sans-serif;
  --font-body: 'Source Sans 3', system-ui, sans-serif;
}

/* ---------- Light theme ---------- */
:root[data-theme="light"] {
  --navy-900: #EEF2F7;
  --navy-800: #FFFFFF;
  --navy-700: #E2E8F0;
  --navy-600: #CBD5E1;
  --slate-400: #5B6B7F;
  --slate-300: #3D4C5F;
  --slate-200: #2B3A4D;
  --bg: #F4F6FA;
  --surface: #FFFFFF;
  --surface-2: #EDF1F6;
  --text: #16233B;
  --text-muted: #5B6B7F;
  --border: rgba(15, 23, 42, 0.14);
  --shadow: 0 20px 50px -24px rgba(15, 23, 42, 0.18);
  --shadow-card: 0 10px 24px -16px rgba(15, 23, 42, 0.16);
}
[data-theme="light"] .site-header { background: rgba(255, 255, 255, 0.82); }
[data-theme="light"] .badge { background: rgba(15, 23, 42, 0.04); }
[data-theme="light"] .stat strong,
[data-theme="light"] .stat-card .stat strong,
[data-theme="light"] .plan__price strong,
[data-theme="light"] .pay-total strong,
[data-theme="light"] .fx__result strong,
[data-theme="light"] .contact-item span { color: var(--text); }
/* Literal colours here (not vars) — Chrome caches var() values on :visited links */
[data-theme="light"] .nav a { color: #3D4C5F; }
[data-theme="light"] .footer-col a { color: #3D4C5F; }
[data-theme="light"] .nav a:hover,
[data-theme="light"] .nav .current-menu-item > a,
[data-theme="light"] .footer-col a:hover,
[data-theme="light"] .path-card__link { color: #16233B; }
.nav .nav-cta.btn--primary { color: #FFFFFF; }
[data-theme="light"] .fx input, [data-theme="light"] .fx select,
[data-theme="light"] .field input, [data-theme="light"] .field select, [data-theme="light"] .field textarea,
[data-theme="light"] .subscribe input { color: var(--text); background: #F1F5F9; }
[data-theme="light"] .fx__swap { background: #F1F5F9; }
[data-theme="light"] .contact-item { background: rgba(15, 23, 42, 0.03); }
[data-theme="light"] .hero::before { opacity: 0.55; }
/* Light-mode hover fixes — dark theme uses white text/overlays on hover,
   which vanish on a light background. */
[data-theme="light"] .btn--ghost:hover { background: rgba(15, 23, 42, 0.05); border-color: #94A3B8; color: var(--text); }
[data-theme="light"] .card__btn--email:hover { color: var(--text); background: rgba(224, 168, 46, 0.1); }
[data-theme="light"] .footer-social a:hover { color: var(--accent); background: rgba(220, 38, 38, 0.08); }
[data-theme="light"] .entry a { color: var(--accent); }
[data-theme="light"] .entry a:hover { color: var(--accent-600); }
[data-theme="light"] .blog-card h3 a:hover,
[data-theme="light"] .post-tags a:hover,
[data-theme="light"] .auth-alt a { color: var(--accent); }
[data-theme="light"] .post-tags a:hover { border-color: var(--accent); }
[data-theme="light"] .work-card:hover .work-card__url { color: #8A6A16; }
[data-theme="light"] .nav a:hover { color: #16233B; }
[data-theme="light"] .theme-toggle:hover,
[data-theme="light"] .fx__swap:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Header controls: theme toggle + language ---------- */
.theme-toggle {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  border: 1px solid var(--border); background: transparent; color: var(--text);
  display: grid; place-items: center; cursor: pointer;
  transition: border-color var(--transition), transform var(--transition);
}
.theme-toggle:hover { border-color: var(--gold); transform: rotate(15deg); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .icon-moon { display: none; }
[data-theme="light"] .theme-toggle .icon-sun { display: none; }
[data-theme="light"] .theme-toggle .icon-moon { display: block; }
.lang-select {
  appearance: none; -webkit-appearance: none; -moz-appearance: none;
  background: transparent; border: 1px solid var(--border); color: var(--text);
  border-radius: 999px; padding: 0.5rem 1.9rem 0.5rem 0.9rem; font-family: var(--font-head);
  font-weight: 600; font-size: 0.85rem; cursor: pointer; flex-shrink: 0; width: auto;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.7rem center; background-size: 13px;
  transition: border-color var(--transition);
}
.lang-select:hover, .lang-select:focus { outline: none; border-color: var(--gold); }
.lang-select option { background: var(--surface); color: var(--text); font-weight: 400; }
[data-theme="light"] .lang-select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235B6B7F' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); }

/* Google Translate cleanup (hide its banner/branding) */
#ghm_gt { display: none !important; }
.goog-te-banner-frame, .skiptranslate iframe { display: none !important; }
body { top: 0 !important; }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 1.05rem;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 0.5em; }
p { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; list-style: none; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: none; margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 3.5rem); }
/* Keep long-form / centered blocks readable inside the now full-width container */
.cta, .fx, .subscribe-band, .form-card, .auth-wrap { max-width: 1100px; margin-inline: auto; }
.section { padding-block: clamp(3rem, 5vw, 4.75rem); }
.section--tight { padding-block: clamp(2rem, 3.5vw, 3rem); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-head); font-weight: 600; font-size: 0.8rem;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--accent); display: inline-block; }
.section-title { font-size: clamp(2rem, 5vw, 3.2rem); }
.section-lead { color: var(--text-muted); max-width: 60ch; font-size: 1.1rem; }
.text-center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.text-center .section-lead { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  font-family: var(--font-head); font-weight: 600; font-size: 0.98rem;
  padding: 0.85rem 1.6rem; border-radius: 999px; border: 1px solid transparent;
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition), border-color var(--transition);
  white-space: nowrap;
}
.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.btn--primary { background: var(--accent); color: var(--white); box-shadow: 0 10px 30px -12px rgba(220, 38, 38, 0.7); }
.btn--primary:hover { background: var(--accent-600); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--slate-400); background: rgba(255,255,255,0.04); transform: translateY(-2px); }
.btn--wa { background: #25D366; color: #05300f; }
.btn--wa:hover { background: #1fb757; transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 17, 32, 0.72);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 72px; }
.brand { display: flex; align-items: center; gap: 0.7rem; font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; letter-spacing: -0.01em; }
.brand__mark { width: 42px; height: 42px; flex-shrink: 0; display: block; }
.brand__svg { width: 100%; height: 100%; display: block; }
.brand small { display: block; font-family: var(--font-body); font-weight: 400; font-size: 0.7rem; color: var(--text-muted); letter-spacing: 0.05em; }
.nav { display: flex; align-items: center; gap: 1.15rem; }
.nav-list { display: flex; align-items: center; gap: 1.15rem; margin: 0; padding: 0; list-style: none; }
.nav-list li { margin: 0; }
.nav a { font-family: var(--font-head); font-weight: 500; font-size: 0.92rem; white-space: nowrap; color: var(--slate-300); transition: color var(--transition); }
.nav a:hover, .nav .current-menu-item > a { color: var(--white); }
.nav-cta { display: none; }
.header-actions { display: flex; align-items: center; gap: 0.75rem; }
.nav-toggle { display: none; background: none; border: 1px solid var(--border); border-radius: 10px; padding: 0.5rem; color: var(--text); }
.nav-toggle svg { width: 22px; height: 22px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(60% 60% at 80% 0%, rgba(220,38,38,0.18), transparent 60%),
    radial-gradient(50% 50% at 0% 30%, rgba(224,168,46,0.12), transparent 55%),
    var(--bg);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.4;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000, transparent 80%);
          mask-image: radial-gradient(70% 60% at 50% 30%, #000, transparent 80%);
}
.hero__badges { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.5rem; }
.badge {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-size: 0.8rem; font-weight: 600; font-family: var(--font-head);
  color: var(--slate-300); background: rgba(255,255,255,0.04);
  border: 1px solid var(--border); border-radius: 999px; padding: 0.4rem 0.9rem;
}
.badge svg { width: 15px; height: 15px; color: var(--gold); }
.hero h1 { font-size: clamp(2.6rem, 7vw, 5rem); font-weight: 800; max-width: 15ch; }
.hero h1 .grad { background: linear-gradient(120deg, var(--accent), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { font-size: clamp(1.1rem, 2.2vw, 1.35rem); color: var(--slate-300); max-width: 52ch; margin-block: 1.5rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 2.5rem; }
.hero__stats { display: flex; flex-wrap: wrap; gap: clamp(1.5rem, 5vw, 3.5rem); border-top: 1px solid var(--border); padding-top: 1.75rem; }
.stat strong { display: block; font-family: var(--font-head); font-weight: 700; font-size: 1.9rem; color: var(--white); }
.stat span { color: var(--text-muted); font-size: 0.9rem; }

/* ---------- Path selector (Enterprise Gateway) ---------- */
.paths { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.path-card {
  position: relative; overflow: hidden;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  border-radius: var(--radius); border: 1px solid var(--border);
  background: linear-gradient(160deg, var(--surface), var(--navy-900));
  transition: transform var(--transition), border-color var(--transition);
}
.path-card:hover { transform: translateY(-4px); border-color: rgba(148,163,184,0.4); }
.path-card__icon { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 1.25rem; }
.path-card--digital .path-card__icon { background: rgba(220,38,38,0.15); color: #f87171; }
.path-card--construct .path-card__icon { background: rgba(224,168,46,0.15); color: var(--gold); }
.path-card__icon svg { width: 28px; height: 28px; }
.path-card h3 { font-size: 1.5rem; }
.path-card p { color: var(--text-muted); }
.path-card__link { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-head); font-weight: 600; color: var(--white); margin-top: 0.5rem; }
.path-card__link svg { width: 18px; height: 18px; transition: transform var(--transition); }
.path-card:hover .path-card__link svg { transform: translateX(4px); }

/* ---------- Section header row ---------- */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; margin-bottom: 3rem; }
.section-head .btn { flex-shrink: 0; }

/* ---------- Service cards grid ---------- */
.grid { display: grid; gap: 1.25rem; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.card {
  padding: 1.75rem; border-radius: var(--radius); border: 1px solid var(--border);
  background: var(--surface); box-shadow: var(--shadow-card);
  transition: transform var(--transition), border-color var(--transition);
  display: flex; flex-direction: column; height: 100%;
}
.card:hover { transform: translateY(-4px); border-color: rgba(148,163,184,0.35); }
.card__num { font-family: var(--font-head); font-weight: 800; font-size: 1rem; color: var(--gold); width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(224,168,46,0.12); margin-bottom: 1rem; }
.card__icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(220,38,38,0.12); color: #f87171; margin-bottom: 1.1rem; }
.card__icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 1.2rem; margin-bottom: 0.4rem; }
.card p { color: var(--text-muted); font-size: 0.97rem; flex-grow: 1; }
.card__price { font-family: var(--font-head); font-weight: 600; color: var(--gold); font-size: 0.95rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.card__price small { color: var(--text-muted); font-weight: 400; }
.card__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; margin-top: 1rem; }
.card__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  font-family: var(--font-head); font-weight: 600; font-size: 0.85rem;
  padding: 0.6rem 0.75rem; border-radius: 10px; border: 1px solid var(--border);
  transition: transform var(--transition), background var(--transition), border-color var(--transition);
}
.card__btn svg { width: 16px; height: 16px; }
.card__btn--wa { background: #25D366; color: #05300f; border-color: transparent; }
.card__btn--wa:hover { background: #1fb757; transform: translateY(-2px); }
.card__btn--email { background: transparent; color: var(--text); }
.card__btn--email:hover { border-color: var(--gold); color: var(--white); transform: translateY(-2px); }
.card__btn--buy { background: var(--accent); color: #fff; border-color: transparent; }
.card__btn--buy:hover { background: var(--accent-600); transform: translateY(-2px); }
.card__btn--wide { grid-column: 1 / -1; }
.ext-tag {
  align-self: flex-start; display: inline-block; font-family: var(--font-head);
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--gold); background: rgba(224, 168, 46, 0.12);
  padding: 0.25rem 0.65rem; border-radius: 999px; margin-bottom: 0.6rem;
}

/* construction list-style cards */
.chip-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.85rem; }
.chip {
  display: flex; align-items: flex-start; gap: 0.85rem;
  padding: 1.1rem 1.25rem; border-radius: var(--radius-sm);
  border: 1px solid var(--border); background: var(--surface);
  transition: border-color var(--transition), transform var(--transition);
}
.chip:hover { border-color: var(--gold); transform: translateY(-2px); }
.chip__no { font-family: var(--font-head); font-weight: 700; color: var(--gold); font-size: 0.95rem; flex-shrink: 0; }
.chip strong { display: block; font-family: var(--font-head); font-size: 1rem; }
.chip span { color: var(--text-muted); font-size: 0.88rem; }

/* ---------- Work / portfolio ---------- */
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.work-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); padding: 1.75rem; min-height: 220px;
  display: flex; flex-direction: column; justify-content: flex-end;
  background: linear-gradient(160deg, var(--surface-2), var(--navy-900));
  transition: transform var(--transition);
}
.work-card:hover { transform: translateY(-4px); }
.work-card__tag { position: absolute; top: 1.5rem; left: 1.75rem; font-size: 0.78rem; font-weight: 600; font-family: var(--font-head); color: var(--gold); letter-spacing: 0.08em; text-transform: uppercase; }
.work-card h3 { font-size: 1.35rem; margin-bottom: 0.25rem; }
.work-card p { color: var(--text-muted); font-size: 0.95rem; margin: 0; }
.work-card { cursor: pointer; }
.work-card__url { color: var(--slate-300); font-family: var(--font-head); font-size: 0.9rem; margin-top: 0.75rem; display: inline-flex; gap: 0.4rem; align-items: center; transition: color var(--transition); }
.work-card:hover .work-card__url { color: var(--gold); }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; counter-reset: step; }
.step { padding: 1.6rem; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); position: relative; }
.step__no { font-family: var(--font-head); font-weight: 800; font-size: 2.2rem; background: linear-gradient(120deg, var(--accent), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; }
.step h3 { font-size: 1.15rem; margin-top: 0.75rem; }
.step p { color: var(--text-muted); font-size: 0.93rem; margin: 0; }

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: stretch; }
.plan {
  display: flex; flex-direction: column; padding: 2rem;
  border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface);
  transition: transform var(--transition), border-color var(--transition);
}
.plan:hover { transform: translateY(-4px); }
.plan--featured { border-color: var(--accent); background: linear-gradient(180deg, rgba(220,38,38,0.08), var(--surface)); box-shadow: var(--shadow); }
.plan__badge { align-self: flex-start; font-family: var(--font-head); font-weight: 600; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--white); background: var(--accent); padding: 0.3rem 0.8rem; border-radius: 999px; margin-bottom: 1rem; }
.plan h3 { font-size: 1.35rem; margin-bottom: 0.25rem; }
.plan__desc { color: var(--text-muted); font-size: 0.92rem; min-height: 2.6em; }
.plan__price { font-family: var(--font-head); margin: 1rem 0; }
.plan__price strong { font-size: 2.6rem; font-weight: 800; color: var(--white); }
.plan__price span { color: var(--text-muted); font-size: 0.95rem; }
.plan__features { display: flex; flex-direction: column; gap: 0.7rem; margin: 1.25rem 0 1.75rem; flex-grow: 1; }
.plan__features li { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.95rem; color: var(--slate-300); }
.plan__features svg { width: 18px; height: 18px; color: #34d399; flex-shrink: 0; margin-top: 3px; }
.plan .btn { width: 100%; }

/* ---------- CTA / Contact ---------- */
.cta {
  position: relative; overflow: hidden; border-radius: clamp(20px, 4vw, 32px);
  padding: clamp(2.5rem, 6vw, 4.5rem); border: 1px solid var(--border);
  background: linear-gradient(140deg, var(--navy-700), var(--navy-900));
}
.cta::before { content: ""; position: absolute; inset: 0; z-index: 0; background: radial-gradient(50% 100% at 90% 0%, rgba(220,38,38,0.25), transparent 60%); }
.cta > * { position: relative; z-index: 1; }
.cta h2 { font-size: clamp(2rem, 5vw, 3rem); max-width: 18ch; }
.cta p { color: var(--slate-300); max-width: 48ch; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.75rem; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2.5rem; }
.contact-item { display: flex; gap: 0.9rem; align-items: flex-start; padding: 1.25rem; border-radius: var(--radius-sm); border: 1px solid var(--border); background: rgba(255,255,255,0.02); }
.contact-item svg { width: 22px; height: 22px; color: var(--gold); flex-shrink: 0; }
.contact-item strong { display: block; font-family: var(--font-head); font-size: 0.85rem; color: var(--text-muted); font-weight: 500; }
.contact-item span { color: var(--white); font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding-block: 3rem 2rem; margin-top: 2rem; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 2.5rem; }
.footer-col h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); font-weight: 600; }
.footer-col a { display: block; color: var(--slate-300); padding: 0.3rem 0; font-size: 0.95rem; transition: color var(--transition); }
.footer-col a:hover { color: var(--white); }
.footer-about p { color: var(--text-muted); font-size: 0.95rem; max-width: 34ch; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-top: 1px solid var(--border); padding-top: 1.5rem; color: var(--text-muted); font-size: 0.88rem; }

/* ---------- Generic page / post content ---------- */
.page-hero { padding-block: clamp(3rem, 7vw, 5rem) clamp(1.5rem, 3vw, 2.5rem); border-bottom: 1px solid var(--border); background: linear-gradient(180deg, var(--navy-800), var(--navy-900)); }
.page-hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
.page-hero p { color: var(--text-muted); }
.entry { max-width: 780px; margin-inline: auto; }
.entry h2 { font-size: 1.7rem; margin-top: 2rem; }
.entry h3 { font-size: 1.3rem; margin-top: 1.5rem; }
.entry a { color: #f87171; text-decoration: underline; text-underline-offset: 3px; }
.entry a:hover { color: var(--accent); }
.entry ul, .entry ol { padding-left: 1.25rem; margin: 0 0 1rem; }
.entry ul { list-style: disc; }
.entry ol { list-style: decimal; }
.entry li { margin-bottom: 0.4rem; }
.entry img { border-radius: var(--radius-sm); margin-block: 1.5rem; }
.entry blockquote { border-left: 3px solid var(--accent); padding-left: 1.25rem; margin: 1.5rem 0; color: var(--slate-300); font-style: italic; }
.post-card { display: block; padding: 1.5rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); margin-bottom: 1.25rem; transition: border-color var(--transition); }
.post-card:hover { border-color: var(--slate-400); }
.post-card h2 { font-size: 1.3rem; margin: 0 0 0.4rem; }
.post-card .meta { color: var(--text-muted); font-size: 0.85rem; }
.pagination { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 2rem; }
.pagination .page-numbers { padding: 0.5rem 0.9rem; border: 1px solid var(--border); border-radius: 10px; color: var(--slate-300); }
.pagination .current { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ---------- Hero image / illustration ---------- */
.hero .container { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero__copy { min-width: 0; }
.hero__visual { position: relative; }
.hero__visual img, .hero__visual svg { width: 100%; height: auto; border-radius: var(--radius); }
.hero__visual .float-badge {
  position: absolute; display: flex; align-items: center; gap: 0.5rem;
  background: rgba(15,23,42,0.9); border: 1px solid var(--border); border-radius: 12px;
  padding: 0.6rem 0.9rem; font-family: var(--font-head); font-weight: 600; font-size: 0.82rem;
  box-shadow: var(--shadow); backdrop-filter: blur(6px);
}
.hero__visual .float-badge svg { width: 20px; height: 20px; border-radius: 0; }
.hero__visual .float-badge--tl { top: 6%; left: -6%; color: #f87171; }
.hero__visual .float-badge--br { bottom: 8%; right: -4%; color: var(--gold); }
.hero__visual .float-badge--tl svg { color: #f87171; }
.hero__visual .float-badge--br svg { color: var(--gold); }
@media (prefers-reduced-motion: no-preference) {
  .hero__visual { animation: ghm-float 8s ease-in-out infinite; }
  .hero__visual .float-badge--tl { animation: ghm-float 6s ease-in-out infinite; }
  .hero__visual .float-badge--br { animation: ghm-float 7s ease-in-out infinite reverse; }
}

/* ---------- Work card images ---------- */
.work-card { padding: 0; overflow: hidden; }
.work-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.work-card__media img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 0.5s ease; }
.work-card:hover .work-card__media img { transform: scale(1.06); }
.work-card__media .work-card__tag { position: absolute; top: 1rem; left: 1rem; background: rgba(15,23,42,0.82); padding: 0.35rem 0.7rem; border-radius: 999px; backdrop-filter: blur(6px); }
.work-card__body { padding: 1.5rem 1.75rem 1.75rem; }
.work-card__body h3 { margin-bottom: 0.25rem; }

/* ---------- Currency converter (FX) ---------- */
.fx { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); padding: clamp(1.5rem, 3vw, 2.25rem); max-width: 640px; margin-inline: auto; box-shadow: var(--shadow-card); }
.fx__head { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.25rem; flex-wrap: wrap; }
.fx__head svg { width: 26px; height: 26px; color: var(--gold); }
.fx__head h3 { margin: 0; font-size: 1.2rem; }
.fx__rate { margin-left: auto; font-size: 0.82rem; color: var(--text-muted); font-family: var(--font-head); }
.fx__row { display: grid; grid-template-columns: 1.3fr 1fr auto 1fr; gap: 0.75rem; align-items: end; }
.fx__group { display: flex; flex-direction: column; gap: 0.35rem; }
.fx__group label { font-size: 0.78rem; color: var(--text-muted); font-family: var(--font-head); font-weight: 600; }
.fx input, .fx select {
  width: 100%; background: var(--navy-900); border: 1px solid var(--border); color: var(--white);
  border-radius: var(--radius-sm); padding: 0.75rem 0.85rem; font-family: var(--font-body); font-size: 1rem;
  transition: border-color var(--transition);
}
.fx input:focus, .fx select:focus { outline: none; border-color: var(--accent); }
.fx__swap { align-self: center; margin-top: 1.4rem; width: 40px; height: 40px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--border); background: var(--navy-900); cursor: pointer; color: var(--gold); transition: transform var(--transition), border-color var(--transition); }
.fx__swap:hover { transform: rotate(180deg); border-color: var(--gold); }
.fx__swap svg { width: 18px; height: 18px; }
.fx__result { margin-top: 1.25rem; padding: 1.1rem 1.25rem; border-radius: var(--radius-sm); background: linear-gradient(135deg, rgba(220,38,38,0.12), rgba(224,168,46,0.1)); border: 1px solid var(--border); font-family: var(--font-head); }
.fx__result strong { font-size: 1.7rem; color: var(--white); display: block; }
.fx__result span { color: var(--text-muted); font-size: 0.9rem; }
.fx__note { margin: 0.85rem 0 0; font-size: 0.78rem; color: var(--text-muted); }

/* ---------- Booking form ---------- */
.form-card { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); padding: clamp(1.5rem, 4vw, 2.75rem); box-shadow: var(--shadow-card); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.82rem; color: var(--slate-300); font-family: var(--font-head); font-weight: 600; }
.field label .req { color: var(--accent); }
.field input, .field select, .field textarea {
  background: var(--navy-900); border: 1px solid var(--border); color: var(--white);
  border-radius: var(--radius-sm); padding: 0.8rem 0.9rem; font-family: var(--font-body); font-size: 1rem;
  transition: border-color var(--transition); width: 100%;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.form-card .btn { margin-top: 0.5rem; }
.form-msg { margin-top: 1rem; padding: 0.85rem 1.1rem; border-radius: var(--radius-sm); font-size: 0.92rem; display: none; }
.form-msg.show { display: block; }
.form-msg--ok { background: rgba(52,211,153,0.14); border: 1px solid rgba(52,211,153,0.4); color: #a7f3d0; }
.form-msg--err { background: rgba(220,38,38,0.14); border: 1px solid rgba(220,38,38,0.4); color: #fecaca; }
.btn.is-loading { opacity: 0.7; pointer-events: none; }
.btn:disabled, [data-pay-paypal]:disabled { opacity: 0.45; cursor: not-allowed; pointer-events: none; transform: none !important; }

/* ---------- Newsletter subscribe ---------- */
.subscribe { display: flex; gap: 0.6rem; flex-wrap: wrap; max-width: 460px; }
.subscribe input { flex: 1 1 200px; background: var(--navy-900); border: 1px solid var(--border); color: var(--white); border-radius: 999px; padding: 0.8rem 1.2rem; font-size: 0.98rem; font-family: var(--font-body); }
.subscribe input:focus { outline: none; border-color: var(--accent); }
.subscribe .btn { flex-shrink: 0; }
.subscribe__msg { flex-basis: 100%; font-size: 0.85rem; color: #a7f3d0; margin-top: 0.25rem; min-height: 1em; }
.subscribe-band { border: 1px solid var(--border); border-radius: clamp(18px, 3vw, 26px); background: linear-gradient(140deg, var(--navy-700), var(--navy-900)); padding: clamp(2rem, 4vw, 3rem); display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem; align-items: center; }
.subscribe-band h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); margin-bottom: 0.4rem; }
.subscribe-band p { color: var(--text-muted); margin: 0; }

/* ---------- Footer redesign additions ---------- */
.footer-brandcol { max-width: 340px; }
.footer-social { display: flex; gap: 0.6rem; margin-top: 1.25rem; }
.footer-social a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--border); color: var(--slate-300); transition: all var(--transition); }
.footer-social a:hover { border-color: var(--accent); color: var(--white); transform: translateY(-2px); background: rgba(220,38,38,0.1); }
.footer-social svg { width: 18px; height: 18px; }
.footer-contact-line { display: flex; align-items: center; gap: 0.6rem; color: var(--slate-300); font-size: 0.92rem; padding: 0.25rem 0; }
.footer-contact-line svg { width: 16px; height: 16px; color: var(--gold); flex-shrink: 0; }

/* ---------- Split intro sections (Why us / Construction teaser) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
.check-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; margin: 1.75rem 0 2rem; }
.check-list li { display: flex; gap: 0.6rem; align-items: flex-start; color: var(--slate-300); font-size: 0.98rem; }
.check-list svg { width: 20px; height: 20px; color: #34d399; flex-shrink: 0; margin-top: 2px; }
.split-media img { width: 100%; height: auto; border-radius: var(--radius); display: block; box-shadow: var(--shadow); }
.split-media svg { width: 100%; height: auto; display: block; }
.stat-card { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); padding: clamp(1.5rem, 3vw, 2.25rem); box-shadow: var(--shadow-card); }
.stat-card .stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.stat-card .stat strong { display: block; font-family: var(--font-head); font-weight: 700; font-size: 2rem; color: var(--white); }
.stat-card .stat span { color: var(--text-muted); font-size: 0.9rem; }
.stat-card__badge { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-head); font-weight: 600; font-size: 0.85rem; color: var(--gold); margin-bottom: 1.25rem; }
.stat-card__badge svg { width: 18px; height: 18px; }

/* ---------- Blog ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.post-grid--2 { grid-template-columns: repeat(2, 1fr); }
.blog-card { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--surface); transition: transform var(--transition), border-color var(--transition); height: 100%; }
.blog-card:hover { transform: translateY(-4px); border-color: rgba(148,163,184,0.4); }
.blog-card__media { aspect-ratio: 16 / 9; overflow: hidden; background: linear-gradient(135deg, var(--navy-700), var(--navy-900)); position: relative; }
.blog-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.blog-card:hover .blog-card__media img { transform: scale(1.05); }
.blog-card__ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--slate-400); }
.blog-card__ph svg { width: 44px; height: 44px; opacity: 0.5; }
.blog-card__body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex-grow: 1; }
.blog-card__cat { font-family: var(--font-head); font-weight: 600; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.5rem; }
.blog-card h3 { font-size: 1.2rem; margin-bottom: 0.4rem; line-height: 1.25; }
.blog-card h3 a { transition: color var(--transition); }
.blog-card h3 a:hover { color: #f87171; }
.blog-card p { color: var(--text-muted); font-size: 0.95rem; flex-grow: 1; }
.blog-card__meta { display: flex; align-items: center; gap: 0.6rem; color: var(--text-muted); font-size: 0.82rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--border); }

/* single post */
.post-featured { border-radius: var(--radius); overflow: hidden; margin-bottom: 2rem; max-height: 460px; }
.post-featured img { width: 100%; object-fit: cover; }
.post-meta { display: flex; flex-wrap: wrap; gap: 1rem; color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1.5rem; }
.post-meta .cat { color: var(--accent); font-weight: 600; }
.post-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 2rem; }
.post-tags a { font-size: 0.82rem; padding: 0.35rem 0.8rem; border: 1px solid var(--border); border-radius: 999px; color: var(--slate-300); }
.post-tags a:hover { border-color: var(--accent); color: #f87171; }

/* ---------- Auth (login / register) ---------- */
.auth-wrap { max-width: 460px; margin-inline: auto; }
.auth-tabs { display: flex; gap: 0.5rem; margin-bottom: 1.5rem; border: 1px solid var(--border); border-radius: 999px; padding: 0.35rem; background: var(--navy-900); }
.auth-tabs button { flex: 1; padding: 0.65rem; border: none; background: transparent; color: var(--slate-300); font-family: var(--font-head); font-weight: 600; border-radius: 999px; transition: all var(--transition); }
.auth-tabs button.active { background: var(--accent); color: #fff; }
.auth-pane { display: none; }
.auth-pane.active { display: block; }
.auth-pane .field { margin-bottom: 1rem; }
.auth-pane .btn { width: 100%; margin-top: 0.5rem; }
.auth-alt { text-align: center; color: var(--text-muted); font-size: 0.9rem; margin-top: 1.25rem; }
.auth-alt a { color: #f87171; }
.auth-note { background: rgba(224,168,46,0.1); border: 1px solid rgba(224,168,46,0.35); color: #f5d98a; border-radius: var(--radius-sm); padding: 0.85rem 1.1rem; font-size: 0.88rem; margin-bottom: 1.25rem; }

/* ---------- Account dashboard ---------- */
.account-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 2rem; flex-wrap: wrap; }
.account-avatar { width: 60px; height: 60px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--gold)); display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; color: #fff; }
.account-head h2 { margin: 0; }
.account-head p { margin: 0; color: var(--text-muted); }
.account-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.account-tile { display: flex; flex-direction: column; gap: 0.5rem; padding: 1.5rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); transition: transform var(--transition), border-color var(--transition); }
.account-tile:hover { transform: translateY(-3px); border-color: var(--accent); }
.account-tile svg { width: 26px; height: 26px; color: var(--gold); }
.account-tile strong { font-family: var(--font-head); font-size: 1.05rem; }
.account-tile span { color: var(--text-muted); font-size: 0.88rem; }

/* ---------- Payments ---------- */
.pay-grid { display: grid; grid-template-columns: 1fr 0.9fr; gap: 1.5rem; align-items: start; }
.pay-methods { display: flex; flex-direction: column; gap: 0.9rem; }
.pay-method { display: flex; align-items: center; gap: 0.9rem; padding: 1.1rem 1.25rem; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); }
.pay-method svg { width: 26px; height: 26px; flex-shrink: 0; color: var(--gold); }
.pay-method strong { display: block; font-family: var(--font-head); font-size: 0.98rem; }
.pay-method span { color: var(--text-muted); font-size: 0.85rem; }
.pay-secure { display: flex; align-items: center; gap: 0.5rem; color: var(--text-muted); font-size: 0.82rem; margin-top: 1rem; }
.pay-secure svg { width: 16px; height: 16px; color: #34d399; }
.pay-total { font-family: var(--font-head); margin: 1rem 0; padding: 1rem 1.25rem; border-radius: var(--radius-sm); background: linear-gradient(135deg, rgba(220,38,38,0.12), rgba(224,168,46,0.1)); border: 1px solid var(--border); }
.pay-total strong { font-size: 1.9rem; color: var(--white); display: block; }
.pay-total span { color: var(--text-muted); font-size: 0.88rem; }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: clamp(1rem, 3vw, 1.75rem); bottom: clamp(1rem, 3vw, 1.75rem);
  width: 46px; height: 46px; border-radius: 50%; z-index: 60;
  background: var(--accent); color: #fff; border: none; cursor: pointer;
  display: grid; place-items: center;
  box-shadow: 0 10px 30px -10px rgba(220, 38, 38, 0.6);
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s, background 0.2s ease;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--accent-600); transform: translateY(-3px); }
.to-top:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.to-top svg { width: 20px; height: 20px; }
@media (prefers-reduced-motion: reduce) {
  .to-top { transition: opacity 0.2s ease; transform: none; }
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 3D / depth motion ---------- */
/* Hero pointer-parallax depth layers (JS sets --px / --py in range -1..1) */
.hero { perspective: 1200px; }
.hero__badges { transform: translate3d(calc(var(--px, 0) * 14px), calc(var(--py, 0) * 14px), 0); transition: transform 0.25s ease-out; }
.hero h1 { transform: translate3d(calc(var(--px, 0) * -10px), calc(var(--py, 0) * -8px), 0); transition: transform 0.3s ease-out; }
.hero__lead { transform: translate3d(calc(var(--px, 0) * 7px), calc(var(--py, 0) * 5px), 0); transition: transform 0.3s ease-out; }
.hero__cta { transform: translate3d(calc(var(--px, 0) * 4px), calc(var(--py, 0) * 3px), 0); transition: transform 0.3s ease-out; }

/* Floating 3D orbs injected into the hero */
.hero__orb { position: absolute; border-radius: 50%; z-index: -1; pointer-events: none; filter: blur(28px); opacity: 0.55; will-change: transform; }
.hero__orb--1 { width: 260px; height: 260px; top: 6%; right: 8%; background: radial-gradient(circle at 30% 30%, rgba(220,38,38,0.55), transparent 70%); animation: ghm-float 9s ease-in-out infinite; }
.hero__orb--2 { width: 200px; height: 200px; bottom: 8%; right: 26%; background: radial-gradient(circle at 30% 30%, rgba(224,168,46,0.45), transparent 70%); animation: ghm-float 11s ease-in-out infinite reverse; }
.hero__orb--3 { width: 150px; height: 150px; top: 30%; left: -3%; background: radial-gradient(circle at 30% 30%, rgba(59,130,246,0.30), transparent 70%); animation: ghm-float 13s ease-in-out infinite; }
@keyframes ghm-float {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50%      { transform: translate3d(0, -26px, 0) scale(1.06); }
}

/* Interactive 3D tilt (JS toggles .is-tilting and sets transform) */
.tilt { position: relative; transform-style: preserve-3d; transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1); will-change: transform; }
.tilt.is-tilting { transition: transform 0.08s linear; }
.tilt .card__icon,
.tilt .card__num,
.tilt .path-card__icon,
.tilt .chip__no,
.tilt .plan__badge,
.tilt h3 { transform: translateZ(34px); transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1); }
.tilt .work-card__tag { transform: translateZ(24px); }
/* Soft moving glare overlay */
.tilt__glare { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 0%), rgba(255,255,255,0.16), transparent 45%); transition: opacity 0.3s ease; z-index: 2; }
.tilt.is-tilting .tilt__glare { opacity: 1; }

/* Magnetic buttons */
.btn { will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  .hero__badges, .hero h1, .hero__lead, .hero__cta { transform: none !important; }
  .hero__orb { display: none; }
  .tilt, .tilt * { transform: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid--3, .steps, .pricing, .chip-grid, .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .hero .container { grid-template-columns: 1fr; }
  .hero__visual { max-width: 520px; margin-top: 1rem; }
  .subscribe-band { grid-template-columns: 1fr; }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .pay-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split-media { order: -1; max-width: 560px; }
}
/* Collapse the nav into the hamburger menu early enough that the header
   (9 links + theme/language/CTA controls) never crowds or clips. */
@media (max-width: 1399px) {
  .nav, .header-actions .btn { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav.open {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--navy-800); border-bottom: 1px solid var(--border); padding: 0.5rem var(--gutter) 1rem;
    box-shadow: var(--shadow);
  }
  .nav.open .nav-list { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
  .nav.open a { display: block; padding: 0.85rem 0; border-bottom: 1px solid var(--border); font-size: 1rem; }
  .nav.open .nav-cta { display: inline-flex; justify-content: center; margin-top: 1rem; border-bottom: none; padding: 0.85rem 1.6rem; }
  .nav.open .nav-cta.btn--primary { color: #FFFFFF; }
  .nav.open .nav-cta.btn--ghost { border: 1px solid var(--border); margin-top: 0.6rem; color: var(--text); }
}

@media (max-width: 720px) {
  .brand { font-size: 1rem; gap: 0.5rem; }
  .brand span { white-space: nowrap; }
  .brand__mark { width: 34px; height: 34px; }
  .site-header__inner { gap: 0.5rem; }
  .theme-toggle { width: 36px; height: 36px; }
  .lang-select { padding: 0.4rem 1.4rem 0.4rem 0.6rem; font-size: 0.78rem; background-position: right 0.5rem center; background-size: 11px; }
}
@media (max-width: 384px) {
  .brand small { display: none; }
}
@media (max-width: 344px) {
  .brand > span:not(.brand__mark) { display: none; }
}
@media (max-width: 720px) {
  .paths, .grid--2, .grid--3, .steps, .pricing, .chip-grid, .work-grid, .contact-grid, .footer-top { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .form-grid { grid-template-columns: 1fr; }
  .post-grid, .post-grid--2, .account-actions, .check-list, .stat-card .stat-grid { grid-template-columns: 1fr; }
  .fx__row { grid-template-columns: 1fr; }
  .fx__swap { justify-self: center; margin-top: 0.25rem; transform: rotate(90deg); }
  .fx__swap:hover { transform: rotate(270deg); }
  .hero__visual .float-badge--tl { left: 0; }
  .hero__visual .float-badge--br { right: 0; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   Mobile / tablet sliders — card grids become swipeable
   scroll-snap carousels below 1025px. Desktop is unchanged.
   ============================================================ */
@media (max-width: 1024px) {
  .grid--3, .work-grid, .pricing, .post-grid, .steps {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 0.5rem;
    max-width: 100%;
  }
  .grid--3::-webkit-scrollbar, .work-grid::-webkit-scrollbar, .pricing::-webkit-scrollbar,
  .post-grid::-webkit-scrollbar, .steps::-webkit-scrollbar { display: none; }
  .grid--3 > *, .work-grid > *, .pricing > *, .post-grid > *, .steps > * {
    flex: 0 0 clamp(280px, 46%, 400px);
    scroll-snap-align: start;
    min-width: 0;
  }
}
@media (max-width: 640px) {
  .grid--3 > *, .work-grid > *, .pricing > *, .post-grid > *, .steps > * {
    flex: 0 0 85%;
  }
}

/* Slider dots (injected by JS on mobile/tablet) */
.slider-dots { display: none; }
@media (max-width: 1024px) {
  .slider-dots { display: flex; justify-content: center; gap: 8px; margin: 0.75rem 0 0.25rem; }
  .slider-dots button {
    width: 8px; height: 8px; border-radius: 999px; border: none; padding: 0;
    background: var(--border); cursor: pointer;
    transition: background 0.25s ease, width 0.25s ease;
  }
  .slider-dots button.active { background: var(--accent); width: 22px; }
}
