/*
Theme Name: Déménageurs MTL — Premium Directory
Theme URI: https://demenageursmtl.com/
Author: AEIOM Studio
Author URI: https://aeiom.com/
Description: Premium directory theme for Déménageurs MTL — the #1 directory of moving companies in Montréal. Compatible with the full AEIOM plugin stack (aeiom-engage, aeiom-builder, aeiom-multilang, aeiom-ai-core, aeiom-frontend-engine). Designed mobile-first with animated, glassmorphic UI, fully server-rendered for SEO.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: demenageursmtl
*/

/* ============================================================
   1.  DESIGN TOKENS  (Montreal moving palette — winter blue + warm orange)
   ============================================================ */
:root {
  /* Brand palette */
  --c-ink:        #0a1828;   /* deepest text */
  --c-ink-soft:   #1a2a3e;
  --c-text:       #2c3e50;
  --c-muted:      #6b7c8e;
  --c-line:       #e6ebf0;
  --c-bg:         #fafbfc;
  --c-bg-2:       #f4f6f9;
  --c-surface:    #ffffff;

  --c-primary:    #0b3b66;   /* Montreal winter navy */
  --c-primary-2:  #1a5a96;
  --c-primary-3:  #2b7cc4;
  --c-accent:     #ff6a3d;   /* warm orange (moving / energy) */
  --c-accent-2:   #ff8a5b;
  --c-gold:       #f4b942;   /* verified gold */
  --c-success:    #16a34a;
  --c-danger:     #dc2626;

  /* Typography */
  --f-display:   'Bricolage Grotesque', 'Bebas Neue', 'Segoe UI', system-ui, sans-serif;
  --f-body:      'Inter', 'Open Sans', system-ui, -apple-system, sans-serif;
  --f-mono:      'JetBrains Mono', ui-monospace, monospace;

  /* Layout */
  --container:   1240px;
  --radius-sm:   8px;
  --radius:      14px;
  --radius-lg:   22px;
  --radius-xl:   28px;

  /* Shadows (layered, soft) */
  --sh-1: 0 1px 2px rgba(11,59,102,.05), 0 1px 3px rgba(11,59,102,.06);
  --sh-2: 0 4px 14px -2px rgba(11,59,102,.08), 0 2px 6px rgba(11,59,102,.05);
  --sh-3: 0 18px 40px -12px rgba(11,59,102,.18), 0 8px 16px -6px rgba(11,59,102,.10);
  --sh-glow: 0 0 0 4px rgba(255,106,61,.18);

  /* Transitions */
  --t-fast:   .15s cubic-bezier(.4,0,.2,1);
  --t:        .28s cubic-bezier(.4,0,.2,1);
  --t-slow:   .55s cubic-bezier(.22,.61,.36,1);

  /* Header height */
  --hdr-h: 76px;

  /* Legacy aliases used by plugins / partials */
  --colour-dark: var(--c-primary);
  --colour-text: var(--c-text);
  --colour-accent: var(--c-accent);
  --colour-accent-dark: #d6532e;
  --colour-bg: var(--c-bg);
  --colour-section: var(--c-bg-2);
  --colour-card: var(--c-surface);
}

/* ============================================================
   2.  RESET / BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  color: var(--c-text);
  background: var(--c-bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--c-primary-2); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--c-accent); }
h1,h2,h3,h4,h5,h6 {
  font-family: var(--f-display);
  font-weight: 700;
  color: var(--c-ink);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 .5em 0;
}
h1 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
p  { margin: 0 0 1em 0; }
button { font-family: inherit; cursor: pointer; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .container { padding: 0 18px; } }

/* Offset pages other than home for the fixed header */
body:not(.home):not(.page-template-front-page) { padding-top: var(--hdr-h); }

/* ============================================================
   3.  REVEAL / SCROLL ANIMATIONS
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--t-slow), transform .7s var(--t-slow);
  will-change: opacity, transform;
}
[data-reveal].is-in {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal][data-delay="1"] { transition-delay: .08s; }
[data-reveal][data-delay="2"] { transition-delay: .16s; }
[data-reveal][data-delay="3"] { transition-delay: .24s; }
[data-reveal][data-delay="4"] { transition-delay: .32s; }
[data-reveal][data-delay="5"] { transition-delay: .40s; }

@keyframes float-y { 0%,100%{ transform: translateY(0) } 50%{ transform: translateY(-10px) } }
@keyframes pulse-ring { 0%{ transform: scale(.9); opacity:.7 } 100%{ transform: scale(1.6); opacity:0 } }
@keyframes shimmer { 0%{ background-position: -200% 0 } 100%{ background-position: 200% 0 } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes blob {
  0%,100% { border-radius: 60% 40% 50% 50% / 50% 60% 40% 50%; }
  33% { border-radius: 40% 60% 70% 30% / 55% 35% 65% 45%; }
  66% { border-radius: 55% 45% 35% 65% / 40% 65% 35% 60%; }
}

/* ============================================================
   4.  HEADER / NAV
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--hdr-h);
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0);
  backdrop-filter: blur(0);
  -webkit-backdrop-filter: blur(0);
  transition: background var(--t), box-shadow var(--t), backdrop-filter var(--t);
}
body.home .site-header { background: transparent; }
body:not(.home) .site-header,
body.home.scrolled .site-header {
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 1px 0 rgba(11,59,102,.08), 0 4px 24px -10px rgba(11,59,102,.10);
}
.site-header .container {
  display: flex;
  align-items: center;
  gap: 24px;
  width: 100%;
  max-width: var(--container);
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.22rem;
  color: var(--c-ink);
  letter-spacing: -.01em;
}
body.home:not(.scrolled) .brand { color: #fff; }
body.home:not(.scrolled) .brand .brand-mark { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.3); }
body.home:not(.scrolled) .brand .brand-mark svg { stroke: #fff; }
.brand-mark {
  width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--c-primary), var(--c-primary-3));
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 12px;
  color: #fff;
  box-shadow: var(--sh-2);
}
.brand-mark svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2; }
.brand-name b { font-weight: 800; }
.brand-name span { font-weight: 500; opacity: .75; }

.nav-primary {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}
.nav-primary a {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 10px;
  font-weight: 500;
  font-size: .95rem;
  color: var(--c-ink-soft);
  transition: background var(--t-fast), color var(--t-fast);
}
body.home:not(.scrolled) .nav-primary a { color: rgba(255,255,255,.92); }
.nav-primary a:hover { background: rgba(11,59,102,.06); color: var(--c-primary); }
body.home:not(.scrolled) .nav-primary a:hover { background: rgba(255,255,255,.14); color: #fff; }

.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px !important;
  background: var(--c-accent) !important;
  color: #fff !important;
  border-radius: 999px !important;
  font-weight: 600 !important;
  box-shadow: 0 6px 18px -6px rgba(255,106,61,.55);
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}
.nav-cta:hover {
  background: var(--c-accent-2) !important;
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -6px rgba(255,106,61,.65);
}

.nav-toggle {
  display: none;
  background: rgba(255,255,255,.6);
  backdrop-filter: blur(8px);
  border: 1px solid var(--c-line);
  border-radius: 10px;
  width: 42px; height: 42px;
  align-items: center; justify-content: center;
  margin-left: auto;
}
body.home:not(.scrolled) .nav-toggle {
  background: rgba(255,255,255,.16);
  border-color: rgba(255,255,255,.28);
  color: #fff;
}
.nav-toggle svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2.2; }

@media (max-width: 900px) {
  .nav-primary { display: none; }
  .nav-toggle { display: inline-flex; }
}

.nav-mobile {
  display: none;
  position: fixed;
  top: var(--hdr-h);
  left: 0; right: 0;
  background: rgba(255,255,255,.98);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--c-line);
  padding: 16px;
  z-index: 999;
  box-shadow: var(--sh-3);
}
.nav-mobile.open { display: block; }
.nav-mobile a {
  display: block;
  padding: 14px 16px;
  border-radius: 12px;
  font-weight: 600;
  color: var(--c-ink);
}
.nav-mobile a:hover { background: var(--c-bg-2); }
.nav-mobile .nav-cta { display: inline-flex !important; margin-top: 8px; }

/* ============================================================
   5.  HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute; inset: 0;
  z-index: -2;
  background:
    radial-gradient(60% 60% at 20% 30%, rgba(43,124,196,.55) 0%, transparent 60%),
    radial-gradient(70% 70% at 85% 75%, rgba(255,106,61,.30) 0%, transparent 60%),
    linear-gradient(135deg, #0a1828 0%, #0b3b66 55%, #1a5a96 100%);
}
.hero-bg::after {
  content:"";
  position:absolute; inset:0;
  background-image:
    radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 75%);
}
.hero-blob {
  position: absolute;
  width: 520px; height: 520px;
  background: linear-gradient(135deg, rgba(255,106,61,.45), rgba(255,138,91,.15));
  filter: blur(60px);
  border-radius: 50%;
  animation: blob 18s ease-in-out infinite;
  z-index: -1;
}
.hero-blob.b1 { top: -120px; right: -100px; }
.hero-blob.b2 { bottom: -160px; left: -120px; background: linear-gradient(135deg, rgba(43,124,196,.5), rgba(11,59,102,.25)); animation-duration: 24s; }

.hero-inner {
  position: relative;
  text-align: center;
  padding: 120px 24px 80px;
  max-width: 980px;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  background: rgba(255,255,255,.10);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  color: #fff;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.hero-eyebrow .dot {
  width: 8px; height: 8px; background: var(--c-gold); border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(244,185,66,.25);
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.4rem, 5.6vw, 4.6rem);
  line-height: 1.05;
  letter-spacing: -.03em;
  margin: 0 0 18px 0;
  text-shadow: 0 2px 18px rgba(0,0,0,.15);
}
.hero h1 .highlight {
  display: inline-block;
  position: relative;
  color: #fff;
  background: linear-gradient(135deg, var(--c-accent) 0%, var(--c-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p.lead {
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
  color: rgba(255,255,255,.85);
  max-width: 720px;
  margin: 0 auto 36px;
  line-height: 1.55;
}

/* Search box */
.hero-search {
  margin: 30px auto 0;
  max-width: 720px;
  background: rgba(255,255,255,.96);
  border-radius: 999px;
  padding: 6px 6px 6px 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 25px 60px -20px rgba(0,0,0,.45), 0 6px 14px -4px rgba(0,0,0,.18);
  border: 1px solid rgba(255,255,255,.5);
}
.hero-search svg { width: 22px; height: 22px; color: var(--c-primary); flex-shrink: 0; }
.hero-search input {
  flex: 1;
  border: none; outline: none;
  background: transparent;
  font-size: 1.05rem;
  padding: 14px 0;
  color: var(--c-ink);
  font-family: inherit;
}
.hero-search button {
  background: linear-gradient(135deg, var(--c-accent), var(--c-accent-2));
  color: #fff;
  border: none;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .98rem;
  display: inline-flex; align-items: center; gap: 8px;
  transition: transform var(--t-fast), box-shadow var(--t-fast);
  box-shadow: 0 8px 22px -6px rgba(255,106,61,.55);
  white-space: nowrap;
}
.hero-search button:hover { transform: translateY(-1px); box-shadow: 0 12px 28px -6px rgba(255,106,61,.7); }

@media (max-width: 640px) {
  .hero-search { flex-direction: column; padding: 16px; border-radius: 18px; align-items: stretch; }
  .hero-search input { padding: 6px 8px; text-align: left; }
  .hero-search button { width: 100%; justify-content: center; padding: 14px; }
  .hero-search > svg { display: none; }
}

/* Hero stats */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 56px auto 0;
  max-width: 760px;
}
.hero-stat {
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 18px;
  padding: 22px 18px;
  text-align: center;
  transition: transform var(--t), background var(--t);
}
.hero-stat:hover { background: rgba(255,255,255,.14); transform: translateY(-4px); }
.hero-stat .n {
  font-family: var(--f-display);
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -.02em;
}
.hero-stat .l { color: rgba(255,255,255,.78); font-size: .82rem; text-transform: uppercase; letter-spacing: .05em; font-weight: 600; }

@media (max-width: 640px) { .hero-stats { grid-template-columns: 1fr; max-width: 360px; } }

.hero-scroll {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.7);
  font-size: .78rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.hero-scroll .arrow {
  width: 2px; height: 38px;
  background: linear-gradient(to bottom, rgba(255,255,255,.7), transparent);
  animation: float-y 2.4s ease-in-out infinite;
}

/* ============================================================
   6.  SECTIONS / GENERIC
   ============================================================ */
.section { padding: clamp(60px, 9vw, 110px) 0; }
.section-alt { background: var(--c-bg-2); }
.section-ink { background: var(--c-ink); color: #fff; }
.section-ink h2, .section-ink h3 { color: #fff; }

.section-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.section-eyebrow {
  display: inline-block;
  background: rgba(11,59,102,.08);
  color: var(--c-primary-2);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.section-ink .section-eyebrow { background: rgba(255,255,255,.10); color: var(--c-gold); }
.section-head p { color: var(--c-muted); font-size: 1.08rem; max-width: 620px; margin: 0 auto; }
.section-ink .section-head p { color: rgba(255,255,255,.75); }

/* ============================================================
   7.  FEATURES (3 cards under hero)
   ============================================================ */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 900px) { .features { grid-template-columns: 1fr; } }

.feature-card {
  position: relative;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
  overflow: hidden;
}
.feature-card::before {
  content:"";
  position:absolute; top:0; left:0; right:0; height: 3px;
  background: linear-gradient(90deg, var(--c-accent), var(--c-gold));
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--t-slow);
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-3);
  border-color: transparent;
}
.feature-card:hover::before { transform: scaleX(1); }
.feature-icon {
  width: 56px; height: 56px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(43,124,196,.10), rgba(255,106,61,.10));
  border-radius: 14px;
  color: var(--c-primary);
  margin-bottom: 18px;
}
.feature-icon svg { width: 28px; height: 28px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.feature-card h3 { margin-bottom: 10px; font-size: 1.25rem; }
.feature-card p { color: var(--c-muted); margin: 0; }

/* ============================================================
   8.  COMPANY CARDS GRID
   ============================================================ */
.directory-toolbar {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--sh-2);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr auto;
  gap: 12px;
  align-items: center;
  margin-bottom: 30px;
}
.directory-toolbar input, .directory-toolbar select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--c-line);
  border-radius: 12px;
  font-family: inherit;
  font-size: .95rem;
  background: var(--c-bg-2);
  color: var(--c-ink);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.directory-toolbar input:focus, .directory-toolbar select:focus {
  outline: none;
  border-color: var(--c-primary-2);
  box-shadow: 0 0 0 4px rgba(43,124,196,.14);
  background: #fff;
}
.directory-toolbar .filter-chips {
  display: flex; gap: 8px; flex-wrap: wrap;
}
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  background: var(--c-bg-2);
  border: 1px solid var(--c-line);
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--c-text);
  cursor: pointer;
  transition: all var(--t-fast);
}
.chip:hover { background: rgba(11,59,102,.06); border-color: var(--c-primary-3); color: var(--c-primary); }
.chip.active { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }

@media (max-width: 900px) { .directory-toolbar { grid-template-columns: 1fr; } }

.company-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 26px;
}

.company-card {
  position: relative;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
  display: flex; flex-direction: column;
}
.company-card:hover { transform: translateY(-6px); box-shadow: var(--sh-3); border-color: transparent; }
.company-card .cover {
  height: 130px;
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-3) 60%, var(--c-accent) 130%);
  position: relative; overflow: hidden;
}
.company-card .cover::after {
  content:""; position:absolute; inset:0;
  background-image: radial-gradient(rgba(255,255,255,.10) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: .6;
}
.company-card .logo-wrap {
  position: absolute;
  bottom: -34px; left: 24px;
  width: 72px; height: 72px;
  background: #fff;
  border-radius: 16px;
  padding: 6px;
  box-shadow: var(--sh-2);
  border: 1px solid var(--c-line);
}
.company-card .logo-wrap img,
.company-card .logo-wrap .logo-placeholder {
  width: 100%; height: 100%;
  object-fit: contain;
  border-radius: 10px;
  background: var(--c-bg-2);
  display: flex; align-items: center; justify-content: center;
  color: var(--c-primary);
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.6rem;
}
.company-card .verified-badge {
  position: absolute; top: 14px; right: 14px;
  background: rgba(255,255,255,.92);
  color: var(--c-success);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: .76rem;
  font-weight: 700;
  display: inline-flex; align-items: center; gap: 5px;
  box-shadow: var(--sh-1);
}
.company-card .verified-badge svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2.4; }

.company-body { padding: 48px 24px 24px; flex: 1; display: flex; flex-direction: column; }
.company-body h3 { font-size: 1.22rem; margin-bottom: 6px; color: var(--c-ink); }
.company-rating {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 700; color: var(--c-ink); font-size: .92rem;
  margin-bottom: 12px;
}
.company-rating .stars { color: var(--c-gold); letter-spacing: 2px; }
.company-rating .num { color: var(--c-muted); font-weight: 500; }
.company-meta {
  font-size: .88rem;
  color: var(--c-muted);
  display: flex; flex-direction: column; gap: 6px;
  margin-bottom: 16px;
}
.company-meta div { display: inline-flex; align-items: flex-start; gap: 6px; }
.company-meta svg { width: 15px; height: 15px; margin-top: 2px; stroke: var(--c-primary-2); fill: none; stroke-width: 2; flex-shrink: 0; }
.company-services-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.service-pill {
  background: rgba(11,59,102,.06);
  color: var(--c-primary);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: .76rem;
  font-weight: 600;
}
.company-actions { display: flex; gap: 8px; margin-top: auto; }
.company-actions .btn-primary,
.company-actions .btn-ghost {
  flex: 1;
  padding: 11px 14px;
  border-radius: 11px;
  font-weight: 600;
  font-size: .9rem;
  text-align: center;
  transition: all var(--t-fast);
  border: none;
}
.btn-primary {
  background: var(--c-primary);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
}
.btn-primary:hover { background: var(--c-primary-2); color: #fff; transform: translateY(-1px); box-shadow: 0 10px 20px -8px rgba(11,59,102,.45); }
.btn-ghost {
  background: var(--c-bg-2);
  color: var(--c-ink);
  border: 1px solid var(--c-line) !important;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
}
.btn-ghost:hover { background: #fff; border-color: var(--c-primary-3) !important; color: var(--c-primary); }
.btn-primary svg, .btn-ghost svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; }

/* Empty state */
.empty-state {
  text-align: center; padding: 80px 24px;
  background: var(--c-surface);
  border: 1px dashed var(--c-line);
  border-radius: var(--radius-lg);
}
.empty-state svg { width: 64px; height: 64px; color: var(--c-muted); margin: 0 auto 16px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.empty-state h3 { color: var(--c-ink); }
.empty-state p { color: var(--c-muted); max-width: 420px; margin: 0 auto; }

/* ============================================================
   9.  HOW IT WORKS / STEPS
   ============================================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}
.steps::before {
  content:"";
  position: absolute;
  top: 40px; left: 12%; right: 12%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--c-primary-3) 0 8px, transparent 8px 18px);
  z-index: 0;
}
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } .steps::before { display: none; } }

.step {
  position: relative;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  z-index: 1;
}
.step-num {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--c-primary), var(--c-primary-3));
  color: #fff;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.6rem;
  margin: -56px auto 16px;
  box-shadow: 0 14px 30px -8px rgba(11,59,102,.45);
  border: 4px solid var(--c-bg-2);
}
.section:not(.section-alt) .step-num { border-color: var(--c-bg); }
.step h3 { font-size: 1.2rem; }
.step p { color: var(--c-muted); margin: 0; }

/* ============================================================
   10. CTA BAND
   ============================================================ */
.cta-band {
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-2) 60%, var(--c-primary-3) 100%);
  position: relative;
  overflow: hidden;
  color: #fff;
  border-radius: var(--radius-xl);
  padding: clamp(40px, 6vw, 70px);
  text-align: center;
}
.cta-band::after {
  content:"";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 30%, rgba(255,106,61,.25), transparent 50%),
              radial-gradient(circle at 20% 70%, rgba(244,185,66,.18), transparent 50%);
  pointer-events: none;
}
.cta-band h2 { color: #fff; margin-bottom: 16px; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 580px; margin: 0 auto 28px; font-size: 1.1rem; }
.cta-band .btn-cta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 30px;
  background: #fff;
  color: var(--c-primary);
  font-weight: 700;
  font-size: 1.02rem;
  border-radius: 999px;
  transition: transform var(--t-fast), box-shadow var(--t-fast);
  position: relative; z-index: 1;
}
.cta-band .btn-cta:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -10px rgba(0,0,0,.35); color: var(--c-primary); }
.cta-band .btn-cta svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; }

/* ============================================================
   11. FOOTER
   ============================================================ */
.site-footer {
  background: var(--c-ink);
  color: rgba(255,255,255,.74);
  padding: 80px 0 30px;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content:"";
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-accent), transparent);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 60px;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand .brand { color: #fff; margin-bottom: 14px; }
.footer-brand p { color: rgba(255,255,255,.6); font-size: .94rem; max-width: 320px; }
.footer-col h4 {
  color: #fff; font-size: .85rem;
  text-transform: uppercase; letter-spacing: .08em;
  margin-bottom: 18px;
  font-family: var(--f-body); font-weight: 700;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 12px; }
.footer-col a { color: rgba(255,255,255,.7); font-size: .94rem; transition: color var(--t-fast); }
.footer-col a:hover { color: var(--c-accent); }
.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: .85rem;
  color: rgba(255,255,255,.45);
}

/* ============================================================
   12. SINGLE COMPANY PAGE
   ============================================================ */
.single-hero {
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-2) 100%);
  color: #fff;
  padding: 100px 0 70px;
  position: relative;
  overflow: hidden;
}
.single-hero::after {
  content:""; position:absolute; inset:0;
  background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: .5;
}
.single-hero-inner { position: relative; display: flex; gap: 32px; align-items: center; flex-wrap: wrap; }
.single-hero-logo {
  width: 130px; height: 130px;
  background: #fff;
  border-radius: 22px;
  padding: 10px;
  box-shadow: var(--sh-3);
  flex-shrink: 0;
}
.single-hero-logo img { width: 100%; height: 100%; object-fit: contain; border-radius: 14px; }
.single-hero h1 { color: #fff; margin: 0 0 12px; }
.single-hero .meta-row { display: flex; gap: 18px; flex-wrap: wrap; color: rgba(255,255,255,.85); font-size: .95rem; }
.single-hero .meta-row span { display: inline-flex; align-items: center; gap: 6px; }
.single-content { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; margin-top: -50px; position: relative; z-index: 2; }
@media (max-width: 900px) { .single-content { grid-template-columns: 1fr; } }
.single-card {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--sh-2);
}
.single-card h2 { font-size: 1.4rem; }
.contact-card .contact-row { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--c-line); }
.contact-card .contact-row:last-child { border-bottom: none; }
.contact-card .icon-circle {
  width: 40px; height: 40px;
  background: rgba(11,59,102,.08);
  border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--c-primary);
  flex-shrink: 0;
}
.contact-card .icon-circle svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; }
.contact-card .l { font-size: .78rem; color: var(--c-muted); text-transform: uppercase; letter-spacing: .04em; font-weight: 600; }
.contact-card .v { font-size: .98rem; color: var(--c-ink); font-weight: 600; }

/* ============================================================
   13. UTILITIES
   ============================================================ */
.text-center { text-align: center; }
.mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.5rem; } .mb-4 { margin-bottom: 2rem; }
.flex { display: flex; } .gap-2 { gap: .5rem; } .gap-3 { gap: 1rem; }
.hidden { display: none !important; }

/* Loader / shimmer for AI generated content */
.shimmer {
  background: linear-gradient(90deg, var(--c-bg-2) 0%, #fff 50%, var(--c-bg-2) 100%);
  background-size: 200% 100%;
  animation: shimmer 1.6s linear infinite;
  border-radius: 8px;
  color: transparent;
  display: inline-block;
  min-height: 1em;
}

/* Print/admin sanity */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* Selection */
::selection { background: var(--c-accent); color: #fff; }
