/* ════════════════════════════════════════════
   EcommerceDevExperts — Main Stylesheet v1.1
   Mobile-first · bulletproof responsive
   Design: Dark industrial · Syne + DM Sans
   ════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&display=swap');

/* ════════ RESET ════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

:root {
  --black:    #07090D;
  --off:      #0C0F16;
  --card:     #10131B;
  --white:    #F4F2EE;
  --muted:    #7A7670;
  --border:   rgba(244,242,238,0.07);
  --red:      #E41F06;
  --red-dark: #B51804;
  --red-glow: rgba(228,31,6,0.12);
  --green:    #1DB954;
  --amber:    #F59E0B;
  --font-d:   'Syne', sans-serif;
  --font-b:   'DM Sans', sans-serif;
  --r0: 2px; --r1: 4px; --r2: 8px;
  /* Safe horizontal padding: never less than 16px */
  --px: max(16px, 4.5vw);
  --nav-h: 64px;
  --ease: cubic-bezier(0.22,1,0.36,1);
  --t: 0.25s var(--ease);
}

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-b);
  font-weight: 300;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

@media (prefers-reduced-motion: no-preference) {
  body::after {
    content: '';
    position: fixed; inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9999;
  }
}

img  { max-width: 100%; height: auto; display: block; }
a    { color: inherit; text-decoration: none; }
ul   { list-style: none; }
button, input, select, textarea { font-family: var(--font-b); }

/* iOS: prevent zoom on focused inputs */
input, select, textarea { font-size: max(16px, 0.84rem); }

/* Minimum tap targets */
a, button, [role="button"] { -webkit-tap-highlight-color: transparent; }

/* ════════ TYPOGRAPHY ════════ */
.h1 {
  font-family: var(--font-d); font-weight: 800;
  font-size: clamp(2rem, 7.5vw, 5rem);
  line-height: 1.0; letter-spacing: -0.03em;
}
.h2 {
  font-family: var(--font-d); font-weight: 800;
  font-size: clamp(1.6rem, 4.5vw, 3rem);
  line-height: 1.1; letter-spacing: -0.025em;
}
.h3 {
  font-family: var(--font-d); font-weight: 700;
  font-size: clamp(0.95rem, 2.5vw, 1.1rem);
  letter-spacing: -0.01em;
}
.h1 em, .h2 em { font-style: normal; color: var(--red); }

/* ════════ LAYOUT ════════ */
.container { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 var(--px); }
.section    { padding: clamp(60px, 10vw, 110px) 0; }
.section-sm { padding: clamp(40px, 6vw, 70px) 0; }

/* ════════ SECTION LABEL ════════ */
.section-label {
  display: inline-flex; align-items: center; gap: 0.7rem;
  font-size: 0.66rem; text-transform: uppercase;
  letter-spacing: 0.18em; color: var(--red); margin-bottom: 1rem;
}
.section-label::before {
  content: ''; display: block;
  width: 1.8rem; height: 1px; background: var(--red); flex-shrink: 0;
}

/* ════════ BUTTONS ════════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.45rem; padding: 0.85rem 1.8rem; min-height: 48px;
  border-radius: var(--r0); font-family: var(--font-d);
  font-weight: 600; font-size: 0.88rem; letter-spacing: 0.01em;
  cursor: pointer; border: none; white-space: nowrap;
  transition: transform var(--t), background var(--t), border-color var(--t);
  touch-action: manipulation;
}
@media (hover: hover) { .btn:hover { transform: translateY(-2px); } }
.btn:active { transform: translateY(0) !important; }

.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-dark); color: var(--white); }

.btn-ghost { background: transparent; color: var(--white); border: 1px solid var(--border); }
.btn-ghost:hover { border-color: rgba(244,242,238,0.25); }

.btn-sm { padding: 0.6rem 1.2rem; min-height: 40px; font-size: 0.79rem; }

/* ════════ NAV ════════ */
#site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 800;
  height: var(--nav-h); display: flex; align-items: center;
  background: rgba(7,9,13,0.9);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background var(--t);
}
#site-header.scrolled { background: rgba(7,9,13,0.98); }

.nav-inner {
  display: flex; align-items: center;
  justify-content: space-between;
  width: 100%; padding: 0 var(--px); gap: 1rem;
}

.site-logo {
  font-family: var(--font-d); font-weight: 800;
  font-size: clamp(0.88rem, 2.5vw, 1.05rem);
  letter-spacing: -0.02em; color: var(--white);
  white-space: nowrap; flex-shrink: 0;
}
.site-logo span { color: var(--red); }

/* Hidden on mobile */
.nav-menu   { display: none; align-items: center; gap: 2rem; }
.nav-actions{ display: none; align-items: center; gap: 1rem; }

.nav-menu a {
  font-size: 0.79rem; font-weight: 400; letter-spacing: 0.05em;
  text-transform: uppercase; color: var(--muted);
  transition: color var(--t); white-space: nowrap;
}
.nav-menu a:hover { color: var(--white); }

/* Hamburger */
.nav-toggle {
  display: flex; flex-direction: column; justify-content: center;
  gap: 5px; cursor: pointer; padding: 8px; margin: -8px -8px -8px auto;
  background: none; border: none; min-width: 44px; min-height: 44px;
}
.nav-toggle span {
  display: block; width: 22px; height: 1.5px;
  background: var(--white); border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s;
  pointer-events: none;
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(4.5px,4.5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(4.5px,-4.5px); }

/* Mobile nav drawer */
.mobile-nav {
  display: none; position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: rgba(7,9,13,0.99);
  border-bottom: 1px solid var(--border);
  z-index: 799; flex-direction: column; gap: 0;
  max-height: calc(100dvh - var(--nav-h)); overflow-y: auto;
  overscroll-behavior: contain;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 1rem var(--px); font-size: 1rem; color: var(--muted);
  border-bottom: 1px solid var(--border);
  min-height: 52px; display: flex; align-items: center;
  transition: color var(--t), background var(--t);
}
.mobile-nav a:hover { color: var(--white); background: rgba(244,242,238,0.03); }
.mobile-nav .btn { margin: 1.2rem var(--px); justify-content: center; }

/* Desktop nav at ≥ 900px */
@media (min-width: 900px) {
  .nav-menu    { display: flex; }
  .nav-actions { display: flex; }
  .nav-toggle  { display: none; }
  .mobile-nav  { display: none !important; }
}

/* ════════ HERO ════════ */
.hero {
  display: grid; grid-template-columns: 1fr;
  align-items: center;
  padding: calc(var(--nav-h) + 48px) var(--px) 64px;
  position: relative; overflow: hidden;
  min-height: 100svh;
}

.hero-bg-gradient, .hero-grid { position: absolute; inset: 0; pointer-events: none; }
.hero-bg-gradient {
  background:
    radial-gradient(ellipse 70% 60% at 60% 40%, rgba(228,31,6,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 10% 80%, rgba(228,31,6,0.04) 0%, transparent 65%);
}
.hero-grid {
  background-image:
    linear-gradient(rgba(244,242,238,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244,242,238,0.025) 1px, transparent 1px);
  background-size: 56px 56px;
}

@media (min-width: 960px) {
  .hero {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    padding: calc(var(--nav-h) + 64px) var(--px) 80px;
  }
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 0.55rem;
  background: rgba(228,31,6,0.1); border: 1px solid rgba(228,31,6,0.25);
  border-radius: var(--r0); padding: 0.38rem 0.9rem;
  font-size: 0.68rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--red); margin-bottom: 1.5rem;
  max-width: 100%; word-break: break-word;
}
.badge-pulse {
  width: 6px; height: 6px; background: var(--red);
  border-radius: 50%; flex-shrink: 0;
  animation: bPulse 2s ease-in-out infinite;
}
@keyframes bPulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.4;transform:scale(1.5)} }

.hero-title { margin-bottom: 1.2rem; position: relative; z-index: 2; }

.hero-sub {
  font-size: clamp(0.9rem, 2.2vw, 1.05rem); color: var(--muted);
  max-width: 520px; line-height: 1.75; margin-bottom: 2.2rem; position: relative; z-index: 2;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; position: relative; z-index: 2; }

@media (max-width: 380px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}

.hero-stats {
  display: flex; flex-wrap: wrap; gap: 2rem;
  padding-top: 2.5rem; margin-top: 2.5rem;
  border-top: 1px solid var(--border); position: relative; z-index: 2;
}
.stat-num {
  font-family: var(--font-d); font-weight: 800;
  font-size: clamp(1.8rem, 5vw, 2.2rem); letter-spacing: -0.04em; line-height: 1;
}
.stat-num span { color: var(--red); }
.stat-label {
  font-size: 0.69rem; color: var(--muted);
  letter-spacing: 0.04em; margin-top: 0.25rem; text-transform: uppercase;
}

/* Hero visual: hidden mobile, shown desktop */
.hero-visual { display: none; position: relative; height: 520px; z-index: 2; }
@media (min-width: 960px) { .hero-visual { display: block; } }

.float-card {
  position: absolute; background: var(--card);
  border: 1px solid var(--border); border-radius: var(--r2);
  padding: 1.1rem 1.3rem;
  box-shadow: 0 24px 64px rgba(0,0,0,0.6), 0 0 0 1px var(--border);
}
.fc-a { top:0;   left:0;   width:188px; animation: flt1 6s   ease-in-out infinite; }
.fc-b { top:15%; right:2%; width:208px; animation: flt2 7s   ease-in-out infinite; animation-delay:-2s; }
.fc-c { top:47%; left:5%;  width:182px; animation: flt1 5.5s ease-in-out infinite; animation-delay:-1s; }
.fc-d { bottom:8%;right:0; width:198px; animation: flt2 8s   ease-in-out infinite; animation-delay:-3s; }
.fc-e { top:50%; left:28%; width:194px; transform:translateY(-50%); animation:flt3 6.5s ease-in-out infinite; animation-delay:-1.5s; }

@keyframes flt1 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
@keyframes flt2 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-14px)} }
@keyframes flt3 { 0%,100%{transform:translateY(-50%)} 50%{transform:translateY(calc(-50% - 10px))} }
@media (prefers-reduced-motion: reduce) { .float-card { animation: none !important; } }

.fc-label { font-size: 0.6rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: .45rem; }
.fc-value { font-family: var(--font-d); font-weight: 800; font-size: 1.3rem; color: var(--white); line-height: 1.2; }
.fc-note  { font-size: 0.7rem; color: var(--muted); margin-top: .2rem; display: flex; align-items: center; gap: .3rem; }
.dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.dot-green { background: var(--green); }
.dot-red   { background: var(--red); }
.dot-amber { background: var(--amber); }
.dot-pulse { animation: bPulse 2s ease-in-out infinite; }
.mini-bars { display: flex; align-items: flex-end; gap: 3px; margin-top: .5rem; height: 30px; }
.mini-bar  { border-radius: 1px; background: var(--red); opacity: .65; }
.fc-rows   { display: flex; flex-direction: column; gap: .35rem; margin-top: .4rem; }
.fc-row    { font-size: .7rem; display: flex; align-items: center; gap: .35rem; }

/* ════════ PLATFORM STRIP ════════ */
.platform-strip {
  padding: 1.4rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.platform-strip-inner {
  display: flex; align-items: center; gap: 1.2rem;
  padding: 0 var(--px); flex-wrap: wrap;
}
.strip-label {
  font-size: 0.64rem; text-transform: uppercase;
  letter-spacing: .14em; color: var(--muted); white-space: nowrap; flex-shrink: 0;
}
.strip-divider { width: 1px; height: 18px; background: var(--border); flex-shrink: 0; display: none; }
@media (min-width: 520px) { .strip-divider { display: block; } }
.platform-tags { display: flex; gap: .5rem; flex-wrap: wrap; }
.platform-tag {
  display: flex; align-items: center; gap: .4rem;
  padding: .36rem .75rem; border: 1px solid var(--border); border-radius: var(--r0);
  font-size: .72rem; font-family: var(--font-d); font-weight: 600; color: var(--muted); white-space: nowrap;
  transition: border-color var(--t), color var(--t);
}
.platform-tag svg { flex-shrink: 0; opacity: .55; transition: opacity var(--t); }
@media (hover: hover) {
  .platform-tag:hover { border-color: rgba(244,242,238,.18); color: var(--white); }
  .platform-tag:hover svg { opacity: 1; }
}

/* ════════ SERVICES ════════ */
.services-header { display: grid; grid-template-columns: 1fr; gap: 1.1rem; margin-bottom: 2.5rem; }
.services-header p { color: var(--muted); font-size: .87rem; line-height: 1.8; }
@media (min-width: 768px) {
  .services-header { grid-template-columns: 1fr 1fr; gap: 3rem; align-items: end; margin-bottom: 3rem; }
}

.services-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: var(--r1); overflow: hidden;
}
@media (min-width: 560px) { .services-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3,1fr); } }

.service-card {
  background: var(--black);
  padding: clamp(1.3rem, 4vw, 2.2rem);
  position: relative; transition: background var(--t);
  overflow: hidden; display: block;
  text-decoration: none; color: inherit; min-height: 190px;
}
.service-card::before {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 100%; height: 2px; background: var(--red);
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
@media (hover: hover) {
  .service-card:hover { background: var(--card); }
  .service-card:hover::before { transform: scaleX(1); }
  .service-card:hover .sc-arrow { transform: translate(3px,-3px); color: var(--white); }
}
.service-card:active { background: var(--card); }

.service-card.featured { background: var(--red); }
.service-card.featured::before { background: rgba(244,242,238,.4); }
.service-card.featured .sc-num,
.service-card.featured .sc-desc,
.service-card.featured .sc-price,
.service-card.featured .sc-badge { color: rgba(244,242,238,.8); }
.service-card.featured .sc-title,
.service-card.featured .sc-arrow { color: var(--white); }

.sc-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1.1rem; }
.sc-num { font-family: var(--font-d); font-size: .65rem; letter-spacing: .1em; color: var(--muted); }
.sc-badge { font-size: .57rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); background: var(--border); padding: .17rem .42rem; border-radius: 1px; }
.sc-icon  { font-size: 1.5rem; margin-bottom: .65rem; }
.sc-title { font-family: var(--font-d); font-weight: 700; font-size: clamp(.92rem,2vw,1.05rem); letter-spacing: -.01em; margin-bottom: .5rem; }
.sc-desc  { font-size: .78rem; color: var(--muted); line-height: 1.65; margin-bottom: 1.2rem; }
.sc-price { font-size: .73rem; color: var(--muted); }
.sc-price strong { color: var(--white); font-weight: 500; }
.sc-arrow { position: absolute; bottom: 1.4rem; right: 1.4rem; font-size: 1.1rem; color: var(--muted); transition: transform var(--t), color var(--t); }

/* ════════ AI SECTION ════════ */
.ai-section { background: var(--off); position: relative; overflow: hidden; }
.ai-section::before {
  content: ''; position: absolute; top: -150px; right: -150px;
  width: 450px; height: 450px;
  background: radial-gradient(circle, rgba(228,31,6,.08) 0%, transparent 70%);
  pointer-events: none;
}
.ai-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .ai-grid { grid-template-columns: 1fr 1fr; gap: 4.5rem; } }

.ai-content p { color: var(--muted); font-size: .91rem; line-height: 1.8; margin-bottom: 1.7rem; }
.ai-list { display: flex; flex-direction: column; gap: .6rem; margin-bottom: 2rem; }
.ai-list li { display: flex; align-items: flex-start; gap: .7rem; font-size: .85rem; color: var(--white); line-height: 1.5; }
.ai-list li::before { content: ''; display: block; width: 16px; height: 1px; background: var(--red); flex-shrink: 0; margin-top: .7em; }

/* Terminal */
.terminal { background: var(--black); border: 1px solid var(--border); border-radius: var(--r2); overflow: hidden; width: 100%; }
.terminal-head { background: rgba(244,242,238,.03); padding: .72rem 1.1rem; display: flex; align-items: center; gap: .38rem; border-bottom: 1px solid var(--border); }
.t-dot { width: 10px; height: 10px; border-radius: 50%; }
.t-dot:nth-child(1){ background: #FF5F57; }
.t-dot:nth-child(2){ background: #FEBC2E; }
.t-dot:nth-child(3){ background: #28C840; }
.t-title { font-size: .66rem; color: var(--muted); margin-left: auto; }
.terminal-body { padding: 1.1rem 1.2rem; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.t-line { font-size: clamp(.66rem,2vw,.76rem); line-height: 1.9; opacity: 0; animation: tIn .3s ease forwards; white-space: nowrap; }
.t-line.c-red   { color: var(--red); }
.t-line.c-green { color: var(--green); }
.t-line.c-muted { color: var(--muted); }
.t-line.c-white { color: var(--white); }
.t-line:nth-child(1) {animation-delay:.4s}
.t-line:nth-child(2) {animation-delay:.9s}
.t-line:nth-child(3) {animation-delay:1.4s}
.t-line:nth-child(4) {animation-delay:1.9s}
.t-line:nth-child(5) {animation-delay:2.4s}
.t-line:nth-child(6) {animation-delay:2.9s}
.t-line:nth-child(7) {animation-delay:3.4s}
.t-line:nth-child(8) {animation-delay:3.9s}
.t-line:nth-child(9) {animation-delay:4.4s}
.t-line:nth-child(10){animation-delay:4.9s}
.t-line:nth-child(11){animation-delay:5.4s}
@keyframes tIn { from{opacity:0;transform:translateX(-6px)} to{opacity:1;transform:translateX(0)} }
@media (prefers-reduced-motion: reduce) { .t-line { animation: none !important; opacity: 1 !important; } }

.terminal-footer { border-top: 1px solid var(--border); display: grid; grid-template-columns: repeat(3,1fr); }
.t-stat { padding: .75rem 1rem; border-right: 1px solid var(--border); }
.t-stat:last-child { border-right: none; }
.t-stat-val   { font-family: var(--font-d); font-weight: 800; font-size: clamp(.95rem,3vw,1.3rem); color: var(--red); }
.t-stat-label { font-size: .6rem; color: var(--muted); margin-top: .1rem; }

/* ════════ PROCESS ════════ */
.process-section { position: relative; }
.process-steps { display: grid; grid-template-columns: 1fr; gap: 2rem; margin-top: 3rem; position: relative; }
@media (min-width: 560px)  { .process-steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) {
  .process-steps { grid-template-columns: repeat(5,1fr); gap: 0; }
  .process-steps::before {
    content: ''; position: absolute; top: 1.55rem; left: 5%; right: 5%; height: 1px;
    background: linear-gradient(90deg,transparent,rgba(228,31,6,.3),rgba(228,31,6,.3),transparent);
  }
}
.process-step { padding: 0; }
@media (min-width: 1024px) {
  .process-step { padding: 0 1.1rem; }
  .process-step:first-child { padding-left: 0; }
  .process-step:last-child  { padding-right: 0; }
}
.step-circle {
  width: 3.2rem; height: 3.2rem; border: 1px solid var(--border);
  border-radius: var(--r0); display: flex; align-items: center; justify-content: center;
  font-family: var(--font-d); font-weight: 800; font-size: .95rem;
  background: var(--black); z-index: 1; margin-bottom: 1.1rem;
  transition: border-color var(--t), color var(--t), background var(--t);
}
@media (hover: hover) {
  .process-step:hover .step-circle { border-color: var(--red); color: var(--red); background: var(--red-glow); }
}
.step-title { font-family: var(--font-d); font-weight: 700; font-size: .87rem; margin-bottom: .42rem; }
.step-desc  { font-size: .76rem; color: var(--muted); line-height: 1.65; }

/* ════════ INDUSTRIES ════════ */
.industries-section { background: var(--off); }
.industries-grid {
  display: grid; grid-template-columns: repeat(2,1fr);
  gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: var(--r1);
  overflow: hidden; margin-top: 2.5rem;
}
@media (min-width: 768px) { .industries-grid { grid-template-columns: repeat(4,1fr); } }
.industry-card { background: var(--off); padding: clamp(1.1rem,3.5vw,2rem); transition: background var(--t); }
@media (hover: hover) { .industry-card:hover { background: rgba(228,31,6,.05); } }
.ind-icon { font-size: 1.55rem; margin-bottom: .65rem; }
.ind-name { font-family: var(--font-d); font-weight: 700; font-size: clamp(.8rem,2vw,.92rem); margin-bottom: .22rem; }
.ind-desc { font-size: .72rem; color: var(--muted); line-height: 1.5; }

/* ════════ TESTIMONIALS ════════ */
.testimonials-grid { display: grid; grid-template-columns: 1fr; gap: 1.2rem; margin-top: 2.5rem; }
@media (min-width: 860px) {
  .testimonials-grid { grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
  .testi-card:nth-child(2) { transform: translateY(-14px); }
}
.testi-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--r1); padding: clamp(1.2rem,4vw,2rem);
  transition: border-color var(--t);
}
@media (hover: hover) { .testi-card:hover { border-color: rgba(228,31,6,.25); } }
.testi-quote  { font-size: 2rem; color: var(--red); font-family: Georgia,serif; line-height: 1; margin-bottom: .32rem; }
.testi-stars  { color: var(--amber); font-size: .68rem; letter-spacing: .08em; margin-bottom: .65rem; }
.testi-text   { font-size: .83rem; color: var(--muted); line-height: 1.8; font-style: italic; margin-bottom: 1.3rem; }
.testi-author { display: flex; align-items: center; gap: .72rem; }
.testi-avatar { width: 36px; height: 36px; background: var(--red); border-radius: var(--r0); display: flex; align-items: center; justify-content: center; font-family: var(--font-d); font-weight: 800; font-size: .78rem; flex-shrink: 0; }
.testi-name   { font-family: var(--font-d); font-weight: 700; font-size: .83rem; }
.testi-role   { font-size: .69rem; color: var(--muted); margin-top: .08rem; }

/* ════════ PRICING ════════ */
.pricing-section { background: var(--off); }
.pricing-header { text-align: center; margin-bottom: 3rem; }
.pricing-header p { color: var(--muted); font-size: .86rem; margin-top: .7rem; }

.pricing-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: var(--r1); overflow: hidden;
}
@media (min-width: 600px)  { .pricing-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .pricing-grid { grid-template-columns: repeat(4,1fr); } }

.pricing-card { background: var(--off); padding: clamp(1.4rem,4vw,2.2rem) clamp(1.1rem,3vw,1.8rem); }
.pricing-card.popular { background: var(--red); }
.pricing-card.popular * { color: var(--white) !important; }
.pricing-card.popular .p-feature::before { color: rgba(244,242,238,.8) !important; }
.pricing-card.popular .p-cta { background: var(--black) !important; border-color: var(--black) !important; }

.p-tier  { font-size: .6rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: .32rem; }
.p-name  { font-family: var(--font-d); font-weight: 800; font-size: 1.12rem; letter-spacing: -.01em; margin-bottom: 1.2rem; }
.p-price { display: flex; align-items: baseline; gap: .1rem; margin-bottom: .18rem; }
.p-currency { font-size: .86rem; color: var(--muted); }
.p-amount   { font-family: var(--font-d); font-weight: 800; font-size: clamp(1.7rem,4vw,2.2rem); letter-spacing: -.04em; }
.p-note     { font-size: .68rem; color: var(--muted); margin-bottom: 1.5rem; }
.p-features { display: flex; flex-direction: column; gap: .58rem; margin-bottom: 1.7rem; }
.p-feature  { display: flex; align-items: flex-start; gap: .48rem; font-size: .78rem; line-height: 1.45; }
.p-feature::before { content: '→'; color: var(--red); flex-shrink: 0; font-size: .73rem; padding-top: .04rem; }
.p-cta {
  display: flex; align-items: center; justify-content: center;
  min-height: 44px; padding: .72rem;
  border: 1px solid var(--border); border-radius: var(--r0);
  font-family: var(--font-d); font-weight: 600; font-size: .8rem;
  color: var(--white); transition: background var(--t); text-decoration: none;
}
@media (hover: hover) { .p-cta:hover { background: rgba(244,242,238,.06); } }

/* ════════ CTA BANNER ════════ */
.cta-banner {
  padding: clamp(70px,10vw,120px) 0;
  text-align: center; position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 55% 70% at 50% 50%,rgba(228,31,6,.09) 0%,transparent 70%);
  pointer-events: none;
}
.cta-banner .h2 { margin-bottom: 1rem; position: relative; }
.cta-banner p {
  color: var(--muted); font-size: clamp(.88rem,2vw,1rem);
  max-width: 460px; margin: 0 auto 2.2rem; line-height: 1.75;
  position: relative; padding: 0 var(--px);
}
.cta-actions {
  display: flex; justify-content: center;
  flex-wrap: wrap; gap: .75rem;
  position: relative; padding: 0 var(--px);
}
@media (max-width: 430px) {
  .cta-actions { flex-direction: column; align-items: stretch; max-width: 300px; margin: 0 auto; }
  .cta-actions .btn { justify-content: center; }
}

/* ════════ FOOTER ════════ */
#site-footer { border-top: 1px solid var(--border); padding: 3.5rem 0 0; }

.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.2rem; padding: 0 var(--px) 2.5rem; }
@media (min-width: 560px)  { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }

.footer-brand .site-logo { display: inline-block; margin-bottom: .85rem; }
.footer-brand p { font-size: .78rem; color: var(--muted); line-height: 1.75; max-width: 260px; }
.footer-brand .footer-email { margin-top: .85rem; font-size: .78rem; color: var(--muted); }
.footer-brand .footer-email a { color: var(--white); transition: color var(--t); }
.footer-brand .footer-email a:hover { color: var(--red); }

.footer-col h4 { font-family: var(--font-d); font-weight: 700; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-col ul { display: flex; flex-direction: column; gap: .45rem; }
.footer-col ul li a { font-size: .78rem; color: var(--muted); transition: color var(--t); display: inline-block; padding: 2px 0; }
.footer-col ul li a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid var(--border); padding: 1.3rem var(--px);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: .5rem;
}
.footer-bottom p { font-size: .72rem; color: var(--muted); }

/* ════════ SERVICE LANDING PAGE ════════ */
.slp-hero {
  display: grid; grid-template-columns: 1fr;
  gap: 2.5rem;
  padding: calc(var(--nav-h) + 40px) var(--px) 60px;
  position: relative; overflow: hidden;
}
.slp-hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 70% at 75% 50%,rgba(228,31,6,.05) 0%,transparent 70%),
    linear-gradient(rgba(244,242,238,.018) 1px,transparent 1px),
    linear-gradient(90deg,rgba(244,242,238,.018) 1px,transparent 1px);
  background-size: auto,64px 64px,64px 64px; pointer-events: none;
}
@media (min-width: 900px) {
  .slp-hero { grid-template-columns: 1.15fr .85fr; gap: 4rem; align-items: center; padding: calc(var(--nav-h) + 60px) var(--px) 80px; }
}

.slp-content { position: relative; }
.slp-breadcrumb { font-size: .72rem; color: var(--muted); margin-bottom: 1.4rem; position: relative; word-break: break-word; }
.slp-breadcrumb a { color: var(--muted); transition: color var(--t); }
.slp-breadcrumb a:hover { color: var(--white); }
.slp-breadcrumb .sep { color: var(--red); margin: 0 .32rem; }
.slp-title { margin-bottom: 1.1rem; }
.slp-sub { font-size: clamp(.88rem,2.5vw,1rem); color: var(--muted); line-height: 1.8; margin-bottom: 1.7rem; }

.trust-badges { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.2rem; }
.trust-badge  { display: flex; align-items: center; gap: .36rem; font-size: .71rem; color: var(--muted); }
.trust-badge .check { color: var(--green); font-size: .63rem; }

/* Quote card */
.quote-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--r2); padding: clamp(1.3rem,5vw,2.2rem); width: 100%; }
.quote-card-title { font-family: var(--font-d); font-weight: 700; font-size: .98rem; margin-bottom: .22rem; }
.quote-card-sub   { font-size: .76rem; color: var(--muted); margin-bottom: 1.3rem; }

/* ── FORMS ── */
.form-group { margin-bottom: .82rem; }
.form-group label { display: block; font-size: .69rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: .3rem; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; background: rgba(244,242,238,.04);
  border: 1px solid var(--border); border-radius: var(--r0);
  font-size: 16px; /* never below 16px — prevents iOS zoom */
  padding: .68rem .88rem; color: var(--white);
  outline: none; transition: border-color var(--t);
  appearance: none; -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: rgba(228,31,6,.5); outline: none; }
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--muted); }
.form-group select option { background: var(--black); color: var(--white); }
.form-group textarea { resize: vertical; min-height: 88px; }
/* Custom select arrow */
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237A7670' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .9rem center; padding-right: 2.4rem;
}
.form-submit {
  width: 100%; background: var(--red); color: var(--white);
  border: none; min-height: 48px; padding: .88rem 1rem;
  border-radius: var(--r0); font-family: var(--font-d); font-weight: 700;
  font-size: .88rem; cursor: pointer; transition: background var(--t);
  margin-top: .38rem; letter-spacing: .01em;
}
.form-submit:hover  { background: var(--red-dark); }
.form-submit:active { background: var(--red-dark); }
.form-submit.success { background: var(--green) !important; }
.form-submit:disabled { opacity: .65; cursor: not-allowed; }

/* SLP Features */
.slp-features { background: var(--off); }
.features-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-top: 2.5rem; }
@media (min-width: 560px) { .features-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 900px) { .features-grid { grid-template-columns: repeat(3,1fr); gap: 1.4rem; } }

.feature-card { background: var(--black); border: 1px solid var(--border); border-radius: var(--r1); padding: clamp(1.1rem,4vw,1.8rem); transition: border-color var(--t); }
@media (hover: hover) { .feature-card:hover { border-color: rgba(228,31,6,.25); } }
.feat-icon  { font-size: 1.3rem; margin-bottom: .62rem; }
.feat-title { font-family: var(--font-d); font-weight: 700; font-size: .87rem; margin-bottom: .38rem; }
.feat-desc  { font-size: .77rem; color: var(--muted); line-height: 1.65; }

.slp-back-bar {
  padding: 2rem var(--px); display: flex; align-items: center;
  justify-content: center; gap: .72rem; flex-wrap: wrap;
  border-top: 1px solid var(--border);
}
@media (max-width: 400px) {
  .slp-back-bar { flex-direction: column; }
  .slp-back-bar .btn { width: 100%; justify-content: center; }
}

/* ════════ CONTACT PAGE CLASSES ════════ */
/* Used in page-contact.php to replace fragile inline grid */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: start; }
@media (min-width: 840px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 5rem; } }

.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
@media (max-width: 420px) { .form-row-2 { grid-template-columns: 1fr; } }

.contact-features { display: flex; flex-direction: column; gap: 1.2rem; }
.contact-feature  { display: flex; gap: .9rem; align-items: flex-start; }
.cf-icon  { width: 2.4rem; height: 2.4rem; border: 1px solid var(--border); border-radius: var(--r0); display: flex; align-items: center; justify-content: center; font-size: .92rem; flex-shrink: 0; }
.cf-title { font-family: var(--font-d); font-weight: 700; font-size: .86rem; margin-bottom: .18rem; }
.cf-desc  { font-size: .78rem; color: var(--muted); line-height: 1.6; }

.contact-email-row { margin-top: 2.5rem; padding-top: 1.8rem; border-top: 1px solid var(--border); }
.contact-email-label { font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: .7rem; }
.contact-email-link { font-family: var(--font-d); font-weight: 600; color: var(--white); font-size: .88rem; transition: color var(--t); }
.contact-email-link:hover { color: var(--red); }

/* ════════ SCROLL REVEAL ════════ */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(26px); transition: opacity .75s var(--ease), transform .75s var(--ease); }
  .reveal.visible { opacity: 1; transform: translateY(0); }
  .reveal-delay-1 { transition-delay: .08s; }
  .reveal-delay-2 { transition-delay: .16s; }
  .reveal-delay-3 { transition-delay: .24s; }
}
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ════════ WORDPRESS CONTENT ════════ */
.wp-block-image img { border-radius: var(--r1); }
.alignfull { width: 100vw; margin-left: calc(50% - 50vw); }
.wp-caption-text { font-size: .76rem; color: var(--muted); margin-top: .4rem; }
.wp-content h2,.wp-content h3 { font-family: var(--font-d); font-weight: 700; letter-spacing: -.02em; margin: 2rem 0 .7rem; }
.wp-content h2 { font-size: clamp(1.25rem,3vw,1.65rem); }
.wp-content h3 { font-size: clamp(1rem,2vw,1.25rem); }
.wp-content p  { margin-bottom: 1.15rem; }
.wp-content ul,.wp-content ol { padding-left: 1.4rem; margin-bottom: 1.15rem; }
.wp-content li { margin-bottom: .38rem; }
.wp-content a  { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.wp-content blockquote { border-left: 2px solid var(--red); padding-left: 1.2rem; color: var(--muted); font-style: italic; margin: 1.5rem 0; }

/* ════════ UTILITIES ════════ */
.hide-mobile { display: none !important; }
@media (min-width: 768px) {
  .hide-mobile { display: revert !important; }
  .show-mobile { display: none !important; }
}

/* ════════════════════════════════════════════
   v2.0 EXTENSIONS — AI Agency Repositioning
   ════════════════════════════════════════════ */

/* ════════ NAV LIST & DROPDOWN ════════ */
.nav-list { display: flex; align-items: center; gap: 0; list-style: none; margin: 0; padding: 0; }
.nav-item  { position: relative; }
.nav-item > a {
  display: flex; align-items: center; gap: .28rem;
  font-size: .79rem; font-weight: 400; letter-spacing: .05em;
  text-transform: uppercase; color: var(--muted);
  padding: .5rem .75rem; white-space: nowrap;
  transition: color var(--t);
}
.nav-item > a:hover { color: var(--white); }

.nav-chevron {
  display: inline-block; width: 0; height: 0;
  border-left: 3px solid transparent;
  border-right: 3px solid transparent;
  border-top: 4px solid currentColor;
  transition: transform .2s var(--ease);
  margin-top: 1px; flex-shrink: 0;
}
.has-dropdown:hover .nav-chevron { transform: rotate(180deg); }

/* Dropdown panel */
.nav-dropdown {
  display: none; position: absolute;
  top: calc(100% + 10px); left: 50%; transform: translateX(-50%);
  background: rgba(10,13,20,0.99); border: 1px solid var(--border);
  border-radius: var(--r2); padding: 1.1rem;
  min-width: 500px; box-shadow: 0 24px 60px rgba(0,0,0,.75);
  z-index: 900; flex-direction: row; gap: 0;
  /* pointer-events needed for hover to work */
}
.has-dropdown:hover .nav-dropdown { display: flex; }
/* Keep open while hovering the dropdown itself */
.has-dropdown:focus-within .nav-dropdown { display: flex; }

.dropdown-col { display: flex; flex-direction: column; gap: .12rem; flex: 1; }
.dropdown-group-label {
  font-size: .58rem; text-transform: uppercase; letter-spacing: .13em;
  color: var(--red); padding: .25rem .52rem .5rem;
}
.nav-dropdown .dropdown-col a {
  display: block; padding: .44rem .52rem; font-size: .79rem;
  color: var(--muted); border-radius: var(--r0);
  text-transform: none; letter-spacing: normal;
  transition: background var(--t), color var(--t);
}
.nav-dropdown .dropdown-col a:hover { background: rgba(244,242,238,.05); color: var(--white); }
.dropdown-divider-v { width: 1px; background: var(--border); margin: 0 .8rem; }

/* Mobile sub-links */
.mobile-nav-child { padding-left: calc(var(--px) + 1.2rem) !important; font-size: .88rem !important; color: var(--muted) !important; }

/* CTA banner trust row */
.cta-banner-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(228,31,6,.08); border: 1px solid rgba(228,31,6,.2);
  border-radius: var(--r0); padding: .3rem .9rem;
  font-size: .63rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--red); margin-bottom: 1.3rem;
}
.cta-trust-row {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 1.5rem;
  margin-top: 1.8rem; font-size: .73rem; color: var(--muted);
}

/* Footer social */
.footer-social { display: flex; gap: .6rem; margin-top: .9rem; }
.footer-social a {
  width: 34px; height: 34px; border: 1px solid var(--border); border-radius: var(--r0);
  display: flex; align-items: center; justify-content: center;
  font-size: .78rem; font-family: var(--font-d); font-weight: 700;
  color: var(--muted); transition: border-color var(--t), color var(--t);
}
.footer-social a:hover { border-color: rgba(244,242,238,.25); color: var(--white); }

/* ════════ PARTNER LOGOS ════════ */
.partners-section { padding: clamp(50px,7vw,80px) 0; }
.partners-label {
  text-align: center; font-size: .64rem; text-transform: uppercase;
  letter-spacing: .16em; color: var(--muted); margin-bottom: 2rem;
}
.partners-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: .5rem; scrollbar-width: none; }
.partners-scroll::-webkit-scrollbar { display: none; }
.partners-track {
  display: flex; align-items: center; gap: clamp(1rem,3vw,2rem);
  padding: 0 var(--px); min-width: max-content;
}
.partner-logo {
  display: flex; align-items: center; gap: .52rem;
  padding: .65rem 1.1rem; border: 1px solid var(--border);
  border-radius: var(--r1); font-family: var(--font-d); font-weight: 700;
  font-size: .79rem; color: var(--muted); white-space: nowrap;
  transition: border-color var(--t), color var(--t); min-height: 50px;
}
@media (hover: hover) { .partner-logo:hover { border-color: rgba(244,242,238,.2); color: var(--white); } }
.partner-logo .p-icon { font-size: 1.1rem; }

/* ════════ RESULTS / METRICS ════════ */
.results-section { background: var(--black); }
.results-grid {
  display: grid; grid-template-columns: repeat(2,1fr);
  gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: var(--r1);
  overflow: hidden; margin-top: 2.5rem;
}
@media (min-width: 768px) { .results-grid { grid-template-columns: repeat(4,1fr); } }
.result-card { background: var(--black); padding: clamp(1.3rem,4vw,2rem); text-align: center; }
.result-num {
  font-family: var(--font-d); font-weight: 800;
  font-size: clamp(1.8rem,5vw,2.6rem); letter-spacing: -.04em;
  color: var(--red); line-height: 1; margin-bottom: .4rem;
}
.result-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--white); }
.result-desc  { font-size: .7rem; color: var(--muted); margin-top: .28rem; line-height: 1.4; }

/* ════════ LEAD MAGNET ════════ */
.lead-magnet-section {
  padding: clamp(70px,10vw,110px) 0;
  background: var(--black); position: relative; overflow: hidden;
}
.lead-magnet-section::before {
  content: ''; position: absolute; top: -120px; left: 50%; transform: translateX(-50%);
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(228,31,6,.07) 0%, transparent 65%);
  pointer-events: none;
}
.lead-magnet-inner { max-width: 660px; margin: 0 auto; text-align: center; padding: 0 var(--px); position: relative; }
.lead-magnet-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(228,31,6,.1); border: 1px solid rgba(228,31,6,.25);
  border-radius: var(--r0); padding: .35rem .9rem;
  font-size: .64rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--red); margin-bottom: 1.5rem;
}
.lead-magnet-inner .h2 { margin-bottom: 1rem; }
.lead-magnet-inner > p { color: var(--muted); font-size: .92rem; line-height: 1.8; margin-bottom: 2rem; }
.lead-magnet-form {
  display: flex; gap: .6rem; max-width: 540px; margin: 0 auto; flex-wrap: wrap;
}
.lead-magnet-form input {
  flex: 1; min-width: 180px; background: rgba(244,242,238,.05);
  border: 1px solid var(--border); border-radius: var(--r0);
  padding: .78rem 1rem; font-size: 16px; color: var(--white);
  font-family: var(--font-b); outline: none;
  transition: border-color var(--t);
}
.lead-magnet-form input:focus { border-color: rgba(228,31,6,.5); }
.lead-magnet-form input::placeholder { color: var(--muted); }
.lead-magnet-points {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: 1.2rem; margin-top: 1.5rem;
}
.lm-point { display: flex; align-items: center; gap: .38rem; font-size: .74rem; color: var(--muted); }
.lm-point .check { color: var(--green); }

/* ════════ FAQ ACCORDION ════════ */
.faq-section { background: var(--black); }
.faq-list { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 0; border: 1px solid var(--border); border-radius: var(--r1); overflow: hidden; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }
.faq-question {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.3rem clamp(1rem,4vw,1.8rem); cursor: pointer;
  font-family: var(--font-d); font-weight: 700; font-size: clamp(.86rem,2vw,.97rem);
  color: var(--white); transition: color var(--t), background var(--t);
  user-select: none; -webkit-user-select: none;
}
@media (hover: hover) { .faq-question:hover { background: rgba(244,242,238,.02); } }
.faq-question.open { color: var(--red); }
.faq-icon {
  width: 22px; height: 22px; min-width: 22px;
  border: 1px solid var(--border); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .72rem; transition: background var(--t), border-color var(--t), transform .25s var(--ease);
}
.faq-question.open .faq-icon { background: rgba(228,31,6,.1); border-color: rgba(228,31,6,.35); transform: rotate(45deg); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height .4s cubic-bezier(0.22,1,0.36,1), padding .3s;
  font-size: .86rem; color: var(--muted); line-height: 1.82; padding: 0 clamp(1rem,4vw,1.8rem);
}
.faq-answer.open { max-height: 500px; padding-bottom: 1.4rem; }

/* ════════ WORKFLOW DIAGRAM ════════ */
.workflow-section { background: var(--off); }
.workflow-steps { display: flex; flex-direction: column; gap: 0; margin-top: 2.5rem; }
@media (min-width: 600px) { .workflow-steps { flex-direction: row; align-items: stretch; } }
.workflow-step {
  flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: clamp(1.2rem,3vw,2rem) clamp(.7rem,2vw,1.2rem); position: relative;
}
.workflow-step::after {
  content: '→'; position: absolute; right: -10px; top: 2.6rem;
  color: var(--red); font-size: 1.1rem; line-height: 1;
  display: none; z-index: 2; font-weight: 400;
}
@media (min-width: 600px) {
  .workflow-step::after { display: block; }
  .workflow-step:last-child::after { display: none; }
}
.ws-num {
  width: 2.6rem; height: 2.6rem; border: 1px solid rgba(228,31,6,.4);
  border-radius: var(--r0); display: flex; align-items: center; justify-content: center;
  font-family: var(--font-d); font-weight: 800; font-size: .86rem; color: var(--red);
  background: rgba(228,31,6,.07); margin-bottom: .85rem;
}
.ws-icon  { font-size: 1.35rem; margin-bottom: .55rem; }
.ws-title { font-family: var(--font-d); font-weight: 700; font-size: .85rem; margin-bottom: .4rem; }
.ws-desc  { font-size: .73rem; color: var(--muted); line-height: 1.55; }

/* ════════ SERVICE TESTIMONIALS ════════ */
.service-testi-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-top: 2.5rem; }
@media (min-width: 720px) { .service-testi-grid { grid-template-columns: repeat(2,1fr); gap: 1.2rem; } }

/* ════════ CASE STUDY PREVIEW ════════ */
.case-preview-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--r2);
  padding: clamp(1.5rem,5vw,2.5rem); margin-top: 2.5rem;
  display: grid; grid-template-columns: 1fr; gap: 1.8rem; align-items: center;
}
@media (min-width: 720px) { .case-preview-card { grid-template-columns: 1fr auto; gap: 3rem; } }
.cp-label { font-size: .62rem; text-transform: uppercase; letter-spacing: .13em; color: var(--red); margin-bottom: .65rem; }
.cp-title { font-family: var(--font-d); font-weight: 800; font-size: clamp(1.1rem,3vw,1.5rem); letter-spacing: -.02em; margin-bottom: .7rem; }
.cp-desc  { font-size: .83rem; color: var(--muted); line-height: 1.8; margin-bottom: 1.2rem; }
.cp-metric { display: flex; align-items: center; gap: .85rem; }
.cp-metric-num { font-family: var(--font-d); font-weight: 800; font-size: 2rem; color: var(--red); letter-spacing: -.04em; }
.cp-metric-label { font-size: .72rem; color: var(--muted); max-width: 100px; line-height: 1.4; }
.cp-right { text-align: center; flex-shrink: 0; }
.cp-big-num { font-family: var(--font-d); font-weight: 800; font-size: clamp(3rem,8vw,5rem); color: var(--red); letter-spacing: -.05em; line-height: 1; }
.cp-big-label { font-size: .7rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-top: .3rem; }

/* ════════ AI CHATBOT DEMO UI ════════ */
.chatbot-demo {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--r2); overflow: hidden; max-width: 340px; width: 100%;
}
.chatbot-header {
  background: rgba(244,242,238,.04); padding: .8rem 1.1rem;
  display: flex; align-items: center; gap: .65rem; border-bottom: 1px solid var(--border);
}
.chatbot-avatar {
  width: 32px; height: 32px; background: var(--red); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: .8rem; flex-shrink: 0;
}
.chatbot-name { font-family: var(--font-d); font-weight: 700; font-size: .82rem; }
.chatbot-status { font-size: .64rem; color: var(--green); display: flex; align-items: center; gap: .28rem; margin-top: .1rem; }
.chatbot-messages { padding: 1rem; display: flex; flex-direction: column; gap: .7rem; min-height: 260px; }
.chat-msg { max-width: 86%; display: flex; flex-direction: column; }
.chat-msg.bot .chat-bubble { background: rgba(244,242,238,.06); border-radius: 0 var(--r2) var(--r2) var(--r2); }
.chat-msg.user { align-self: flex-end; align-items: flex-end; }
.chat-msg.user .chat-bubble { background: var(--red); border-radius: var(--r2) 0 var(--r2) var(--r2); }
.chat-bubble { padding: .6rem .85rem; font-size: .75rem; line-height: 1.55; color: var(--white); }
.chat-time { font-size: .6rem; color: var(--muted); margin-top: .18rem; padding: 0 .25rem; }
.chatbot-input {
  border-top: 1px solid var(--border); padding: .72rem 1rem;
  display: flex; align-items: center; gap: .6rem;
}
.chatbot-input-field {
  flex: 1; background: rgba(244,242,238,.04); border: 1px solid var(--border);
  border-radius: var(--r0); padding: .46rem .72rem; font-size: .74rem;
  color: var(--muted); font-family: var(--font-b);
}
.chatbot-send {
  width: 32px; height: 32px; min-width: 32px; background: var(--red); border: none;
  border-radius: var(--r0); cursor: pointer; display: flex; align-items: center;
  justify-content: center; font-size: .8rem; color: var(--white);
}

/* ════════ PROBLEM / SOLUTION ════════ */
.problem-section { background: var(--off); }
.solution-section { background: var(--black); }
.problem-grid, .solution-grid {
  display: grid; grid-template-columns: 1fr; gap: 2.5rem; margin-top: 2.5rem; align-items: center;
}
@media (min-width: 900px) { .problem-grid, .solution-grid { grid-template-columns: 1fr 1fr; gap: 5rem; } }
.problem-points, .solution-points { display: flex; flex-direction: column; gap: .9rem; margin-top: 1.5rem; }
.problem-point, .solution-point { display: flex; gap: .85rem; align-items: flex-start; }
.pp-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: .1rem; }
.pp-title { font-family: var(--font-d); font-weight: 700; font-size: .88rem; margin-bottom: .2rem; }
.pp-desc  { font-size: .78rem; color: var(--muted); line-height: 1.6; }

/* ════════ ABOUT PAGE ════════ */
.about-stats-row {
  display: grid; grid-template-columns: repeat(2,1fr);
  gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: var(--r1); overflow: hidden;
}
@media (min-width: 600px) { .about-stats-row { grid-template-columns: repeat(4,1fr); } }
.about-stat { background: var(--off); padding: clamp(1.2rem,4vw,2rem); text-align: center; }
.about-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; } }
.team-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.2rem; margin-top: 2.5rem; }
@media (min-width: 768px) { .team-grid { grid-template-columns: repeat(3,1fr); gap: 1.5rem; } }
.team-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--r1);
  padding: clamp(1.2rem,4vw,1.8rem); text-align: center;
  transition: border-color var(--t);
}
@media (hover: hover) { .team-card:hover { border-color: rgba(228,31,6,.25); } }
.team-avatar {
  width: 52px; height: 52px; background: var(--red); border-radius: var(--r0);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-d); font-weight: 800; font-size: .95rem;
  margin: 0 auto .9rem;
}
.team-name { font-family: var(--font-d); font-weight: 700; font-size: .88rem; margin-bottom: .2rem; }
.team-role { font-size: .72rem; color: var(--muted); }

/* ════════ BLOG ARCHIVE ════════ */
.blog-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px)  { .blog-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .blog-grid { grid-template-columns: repeat(3,1fr); gap: 1.8rem; } }
.blog-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--r1);
  overflow: hidden; transition: border-color var(--t); display: flex; flex-direction: column;
  text-decoration: none; color: inherit;
}
@media (hover: hover) { .blog-card:hover { border-color: rgba(228,31,6,.25); } }
.blog-thumb {
  aspect-ratio: 16/9; background: var(--off); display: flex;
  align-items: center; justify-content: center; font-size: 2rem; overflow: hidden;
  text-decoration: none;
}
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-body { padding: clamp(1rem,3vw,1.4rem); flex: 1; display: flex; flex-direction: column; }
.blog-cat  { font-size: .63rem; text-transform: uppercase; letter-spacing: .1em; color: var(--red); margin-bottom: .55rem; }
.blog-title { font-family: var(--font-d); font-weight: 700; font-size: clamp(.88rem,2vw,1rem); line-height: 1.35; margin-bottom: .6rem; color: var(--white); transition: color var(--t); }
.blog-card:hover .blog-title { color: var(--red); }
.blog-excerpt { font-size: .76rem; color: var(--muted); line-height: 1.72; flex: 1; margin-bottom: .9rem; }
.blog-meta { font-size: .68rem; color: var(--muted); display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.blog-meta .sep { opacity: .4; }

/* ════════ CASE STUDIES ARCHIVE ════════ */
.case-studies-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px)  { .case-studies-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .case-studies-grid { grid-template-columns: repeat(3,1fr); } }
.cs-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--r1);
  padding: clamp(1.3rem,4vw,2rem); transition: border-color var(--t); display: block; color: inherit;
}
@media (hover: hover) { .cs-card:hover { border-color: rgba(228,31,6,.3); } }
.cs-industry { font-size: .63rem; text-transform: uppercase; letter-spacing: .1em; color: var(--red); margin-bottom: .55rem; }
.cs-title    { font-family: var(--font-d); font-weight: 700; font-size: clamp(.92rem,2.5vw,1.08rem); margin-bottom: .6rem; line-height: 1.32; }
.cs-desc     { font-size: .78rem; color: var(--muted); line-height: 1.72; margin-bottom: 1.2rem; }
.cs-metrics  { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.cs-metric-num   { font-family: var(--font-d); font-weight: 800; font-size: 1.3rem; color: var(--red); letter-spacing: -.02em; }
.cs-metric-label { font-size: .64rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-top: .15rem; }

/* ════════ INDUSTRIES PAGE ════════ */
.industries-page-grid { display: grid; grid-template-columns: 1fr; gap: 1.2rem; }
@media (min-width: 640px)  { .industries-page-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .industries-page-grid { grid-template-columns: repeat(3,1fr); gap: 1.5rem; } }
.industry-page-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--r1);
  padding: clamp(1.3rem,4vw,2rem); transition: border-color var(--t), background var(--t);
}
@media (hover: hover) { .industry-page-card:hover { border-color: rgba(228,31,6,.25); background: rgba(228,31,6,.02); } }
.ind-page-icon { font-size: 1.9rem; margin-bottom: .85rem; }
.ind-page-name { font-family: var(--font-d); font-weight: 700; font-size: 1rem; margin-bottom: .48rem; }
.ind-page-desc { font-size: .79rem; color: var(--muted); line-height: 1.72; margin-bottom: 1rem; }
.ind-page-tags { display: flex; flex-wrap: wrap; gap: .32rem; }
.ind-page-tag  { font-size: .63rem; padding: .22rem .55rem; border: 1px solid var(--border); border-radius: var(--r0); color: var(--muted); }

/* ════════ PAGINATION ════════ */
.nav-links { display: flex; gap: .5rem; flex-wrap: wrap; justify-content: center; }
.nav-links .page-numbers {
  display: flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; border: 1px solid var(--border);
  border-radius: var(--r0); font-size: .8rem; color: var(--muted);
  font-family: var(--font-d); font-weight: 600; transition: border-color var(--t), color var(--t);
  padding: 0 .7rem;
}
.nav-links .page-numbers:hover { border-color: rgba(244,242,238,.25); color: var(--white); }
.nav-links .page-numbers.current { background: var(--red); border-color: var(--red); color: var(--white); }

/* ════════ SINGLE BLOG POST ════════ */
.single-post-hero { padding: calc(var(--nav-h) + 40px) var(--px) 50px; max-width: 820px; margin: 0 auto; }
.post-meta-bar { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; font-size: .72rem; color: var(--muted); margin-bottom: 1.5rem; }
.post-meta-bar .cat-tag { background: rgba(228,31,6,.1); border: 1px solid rgba(228,31,6,.2); color: var(--red); padding: .22rem .65rem; border-radius: var(--r0); font-size: .63rem; text-transform: uppercase; letter-spacing: .08em; }


/* ════════ SERVICE ICON WRAP ════════ */
.sc-icon-wrap {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: rgba(228,31,6,.08);
  border: 1px solid rgba(228,31,6,.15);
  margin-bottom: 1.1rem;
  flex-shrink: 0;
  transition: background var(--t), border-color var(--t);
}
.sc-icon-wrap svg { width: 26px; height: 26px; color: var(--red); }
.service-card:hover .sc-icon-wrap { background: rgba(228,31,6,.15); border-color: rgba(228,31,6,.3); }

/* ════════ INDUSTRY ICON WRAP ════════ */
.ind-icon-wrap {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: rgba(244,242,238,.05);
  border: 1px solid var(--border);
  margin-bottom: 1rem;
  flex-shrink: 0;
  transition: background var(--t), border-color var(--t);
}
.ind-icon-wrap svg { width: 26px; height: 26px; color: var(--white); opacity: .75; }
.industry-card:hover .ind-icon-wrap { background: rgba(228,31,6,.08); border-color: rgba(228,31,6,.2); }
.industry-card:hover .ind-icon-wrap svg { opacity: 1; color: var(--red); }

/* ════════ PARTNERS GRID (redesigned) ════════ */
.partners-section { padding: 3rem 0; background: var(--off); }
.partners-label {
  text-align: center; font-size: .72rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted); font-family: var(--font-d);
  font-weight: 600; margin-bottom: 2rem;
}
.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
@media (min-width: 540px)  { .partners-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 768px)  { .partners-grid { grid-template-columns: repeat(6, 1fr); gap: 1.25rem; } }
@media (min-width: 1024px) { .partners-grid { grid-template-columns: repeat(6, 1fr); gap: 1.5rem; } }
.partner-item {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: .6rem;
  padding: 1.25rem .75rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: .75rem;
  transition: border-color var(--t), background var(--t);
}
@media (hover: hover) {
  .partner-item:hover { border-color: rgba(244,242,238,.18); background: rgba(244,242,238,.03); }
}
.partner-item svg {
  height: 36px; width: auto; max-width: 56px;
  opacity: .55; transition: opacity var(--t);
  flex-shrink: 0;
}
.partner-item:hover svg { opacity: .9; }
.partner-item span {
  font-size: .68rem; color: var(--muted);
  font-weight: 600; font-family: var(--font-d);
  letter-spacing: .03em; text-align: center;
  transition: color var(--t);
}
.partner-item:hover span { color: var(--white); }
