/* ============================================================
   EMS TEXTILES — components.css  v3  FULL LIGHT REDESIGN
   ============================================================ */

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--nav-bg);
  border-bottom: 1px solid var(--nav-border);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  transition: box-shadow var(--dur-base) var(--ease-out);
}

.site-header.scrolled {
  box-shadow: 0 2px 24px rgba(15,23,42,0.08);
}

.nav {
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s5);
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}
.brand img {
  height: auto;
  max-height: 54px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(26,86,219,0.12));
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.nav-links a {
  position: relative;
  padding: 8px 16px;
  border-radius: var(--r-sm);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.01em;
  transition: color var(--dur-fast), background var(--dur-fast);
  white-space: nowrap;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 18px;
  height: 2.5px;
  background: var(--brand-gradient);
  border-radius: 2px;
  transition: transform var(--dur-base) var(--ease-out);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--brand);
  background: var(--blue-50);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  transform: translateX(-50%) scaleX(1);
}

/* Nav right controls */
.nav-controls {
  display: flex;
  align-items: center;
  gap: var(--s2);
  flex-shrink: 0;
}

.theme-toggle {
  width: 38px; height: 38px;
  border-radius: var(--r-sm);
  background: transparent;
  border: 1.5px solid var(--border-md);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-secondary);
  transition: all var(--dur-fast);
  font-size: 1rem;
}
.theme-toggle:hover {
  background: var(--blue-50);
  border-color: var(--brand);
  color: var(--brand);
}

/* Language switcher */
.lang-switcher { position: relative; }
.lang-btn {
  display: flex; align-items: center; gap: 4px;
  padding: 8px 14px;
  border-radius: var(--r-sm);
  background: transparent;
  border: 1.5px solid var(--border-md);
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-secondary);
  transition: all var(--dur-fast);
  letter-spacing: 0.06em;
}
.lang-btn:hover { background: var(--blue-50); color: var(--brand); border-color: var(--brand); }

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  min-width: 140px;
  display: none;
  z-index: 300;
  animation: slideInUp 0.2s var(--ease-out);
}
.lang-switcher.open .lang-dropdown { display: block; }
.lang-dropdown button {
  width: 100%;
  padding: 10px 16px;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: background var(--dur-fast);
  display: flex; align-items: center; gap: var(--s2);
}
.lang-dropdown button:hover { background: var(--bg-alt); color: var(--brand); }
.lang-dropdown button.active { color: var(--brand); font-weight: 700; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--r-sm);
  transition: background var(--dur-fast);
  border: none;
  background: transparent;
}
.hamburger:hover { background: var(--bg-alt); }
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--dur-base) var(--ease-out);
}
.nav-toggle { display: none; }

/* CTA button in nav */
.nav-cta { font-size: 0.84rem !important; padding: 10px 22px !important; }

@media (max-width: 900px) {
  .nav { flex-wrap: wrap; height: auto; padding-block: 12px; position: relative; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--surface);
    flex-direction: column;
    gap: 4px;
    padding: 16px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    z-index: 199;
    justify-content: flex-start;
    animation: slideInUp 0.2s var(--ease-out);
  }
  .nav-links a { width: 100%; padding: 12px 16px; }
  .hamburger { display: flex; }
  .nav-cta { display: none !important; }
  .nav-toggle:checked ~ .nav-links { display: flex; }
  .nav-toggle:checked + label .hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked + label .hamburger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked + label .hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 480px) {
  .lang-switcher { display: none; }
}

/* ============================================================
   HERO SECTION — light gradient background
   ============================================================ */
.hero {
  position: relative;
  min-height: calc(100svh - var(--nav-height));
  display: grid;
  align-items: center;
  overflow: hidden;
  padding-block: var(--s10);
  background: linear-gradient(145deg, #f0f7ff 0%, #e8f4ff 40%, #eef6ff 70%, #f5f9ff 100%);
}

/* Geometric background shapes */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 70% at 100% 10%, rgba(26,86,219,0.08) 0%, transparent 65%),
    radial-gradient(ellipse 50% 60% at 0% 100%, rgba(14,165,233,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 50% 50%, rgba(26,86,219,0.04) 0%, transparent 70%);
  pointer-events: none;
}

/* Subtle dot grid */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(26,86,219,0.08) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

/* Glowing orbs (lighter, for light theme) */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.hero-orb-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(26,86,219,0.06) 0%, transparent 70%);
  top: -15%; right: 5%;
  animation: float 14s ease-in-out infinite;
}
.hero-orb-2 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(14,165,233,0.06) 0%, transparent 70%);
  bottom: 5%; left: 2%;
  animation: float 10s ease-in-out infinite reverse;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s8);
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Live monitoring pill */
.hero-live-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  padding: 6px 16px 6px 10px;
  border-radius: var(--r-full);
  background: rgba(16,185,129,0.10);
  border: 1px solid rgba(16,185,129,0.25);
  color: #059669;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--s5);
  width: fit-content;
}

.hero-copy p.eyebrow {
  color: var(--brand);
}

.hero-headline {
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.035em;
  color: var(--text-primary);
  margin-bottom: var(--s5);
}

.hero-headline .grad {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-copy > p {
  font-size: 1.075rem;
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 480px;
  margin-bottom: var(--s6);
}

.hero-copy strong {
  color: var(--text-primary);
  font-weight: 700;
}

.hero-actions {
  display: flex;
  gap: var(--s3);
  flex-wrap: wrap;
  align-items: center;
}

/* Call button special styling */
.btn-hero-call {
  background: white;
  color: var(--text-primary);
  border: 1.5px solid var(--border-md);
  box-shadow: var(--shadow-sm);
  font-weight: 600;
}
.btn-hero-call:hover {
  background: var(--bg-soft);
  border-color: var(--brand);
  color: var(--brand);
  box-shadow: var(--shadow-md);
}

/* Trust row */
.hero-trust {
  display: flex;
  align-items: center;
  gap: var(--s5);
  margin-top: var(--s6);
  flex-wrap: wrap;
}
.hero-trust-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hero-trust-item strong {
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--brand);
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
}
.hero-trust-item span {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}
.hero-divider {
  width: 1px;
  height: 36px;
  background: var(--border-md);
}

/* Hero media */
.hero-media {
  position: relative;
}

.hero-dashboard-wrap {
  position: relative;
  border-radius: var(--r-2xl);
  overflow: visible;
}

.hero-dashboard-wrap img {
  border-radius: var(--r-2xl);
  box-shadow:
    0 40px 100px rgba(15,23,42,0.15),
    0 0 0 1px rgba(26,86,219,0.10),
    0 0 0 8px rgba(26,86,219,0.04);
  width: 100%;
}

/* Callout bubbles */
.dashboard-callout {
  position: absolute;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(20px);
  border-radius: var(--r-md);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-lg);
  z-index: 2;
  pointer-events: none;
  white-space: nowrap;
  border: 1px solid var(--border);
  animation: float 6s ease-in-out infinite;
}
.dashboard-callout:nth-child(2) { animation-delay: -2s; }
.dashboard-callout:nth-child(3) { animation-delay: -4s; }

.callout-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.callout-text {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-primary);
}
.callout-sub {
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-top: 1px;
}

.callout-efficiency { top: 10%; left: -14%; }
.callout-looms      { bottom: 22%; left: -12%; }
.callout-alerts     { top: 28%; right: -13%; }

@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; gap: var(--s7); }
  .hero-media { max-width: 600px; margin-inline: auto; }
  .callout-efficiency { left: 0; top: -8%; }
  .callout-looms { left: 0; bottom: -8%; }
  .callout-alerts { right: 0; }
  .hero-copy > p { max-width: 100%; }
}
@media (max-width: 640px) {
  .dashboard-callout { display: none; }
  .hero { min-height: auto; padding-block: var(--s9) var(--s8); }
  .hero-orb { display: none; }
}

/* ============================================================
   FEATURES SECTION
   ============================================================ */
.features-section {
  background: var(--bg);
  position: relative;
}

.features-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-md), transparent);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s4);
}

@media (max-width: 1100px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .feature-grid { grid-template-columns: 1fr; } }

.feature-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--s6);
  display: flex;
  flex-direction: column;
  gap: var(--s4);
  overflow: hidden;
  transition: transform var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out);
  cursor: default;
}

.feature-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  opacity: 0;
  transition: opacity var(--dur-base) var(--ease-out);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.feature-card:hover::before { opacity: 1; }

.tone-blue::before    { background: linear-gradient(90deg, #1a56db, #60a5fa); }
.tone-purple::before  { background: linear-gradient(90deg, #7c3aed, #a78bfa); }
.tone-green::before   { background: linear-gradient(90deg, #059669, #34d399); }
.tone-yellow::before  { background: linear-gradient(90deg, #d97706, #fbbf24); }
.tone-sky::before     { background: linear-gradient(90deg, #0284c7, #38bdf8); }
.tone-lavender::before{ background: linear-gradient(90deg, #6d28d9, #c4b5fd); }
.tone-orange::before  { background: linear-gradient(90deg, #c2410c, #fb923c); }
.tone-pink::before    { background: linear-gradient(90deg, #be185d, #f472b6); }

.feature-icon-wrap {
  width: 52px; height: 52px;
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: transform var(--dur-base) var(--ease-out);
}
.feature-card:hover .feature-icon-wrap { transform: scale(1.08) rotate(-3deg); }
.feature-icon-wrap img { width: 26px; height: 26px; object-fit: contain; }

/* Icon background tones */
.tone-blue .feature-icon-wrap    { background: var(--blue-50); }
.tone-purple .feature-icon-wrap  { background: var(--purple-100); }
.tone-green .feature-icon-wrap   { background: var(--green-100); }
.tone-yellow .feature-icon-wrap  { background: var(--amber-100); }
.tone-sky .feature-icon-wrap     { background: #e0f2fe; }
.tone-lavender .feature-icon-wrap{ background: #ede9fe; }
.tone-orange .feature-icon-wrap  { background: #fff7ed; }
.tone-pink .feature-icon-wrap    { background: #fdf2f8; }

/* Icon filter tints */
.tone-blue .feature-icon-wrap img    { filter: invert(31%) sepia(90%) saturate(1500%) hue-rotate(211deg); }
.tone-purple .feature-icon-wrap img  { filter: invert(31%) sepia(80%) saturate(1200%) hue-rotate(255deg); }
.tone-green .feature-icon-wrap img   { filter: invert(50%) sepia(60%) saturate(800%) hue-rotate(122deg); }
.tone-yellow .feature-icon-wrap img  { filter: invert(60%) sepia(80%) saturate(700%) hue-rotate(20deg); }
.tone-sky .feature-icon-wrap img     { filter: invert(55%) sepia(90%) saturate(500%) hue-rotate(183deg); }
.tone-lavender .feature-icon-wrap img{ filter: invert(35%) sepia(70%) saturate(800%) hue-rotate(255deg); }
.tone-orange .feature-icon-wrap img  { filter: invert(45%) sepia(80%) saturate(800%) hue-rotate(10deg); }
.tone-pink .feature-icon-wrap img    { filter: invert(35%) sepia(80%) saturate(800%) hue-rotate(310deg); }

.feature-card h3 { font-size: 0.9375rem; font-weight: 700; color: var(--text-primary); }
.feature-card p  { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.65; margin: 0; }

/* ============================================================
   STATS BAND — white cards on soft blue bg
   ============================================================ */
.stats-band {
  background: linear-gradient(135deg, #f0f7ff 0%, #e8f4ff 50%, #f5f9ff 100%);
  padding-block: var(--s10);
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(26,86,219,0.05) 1px, transparent 1px);
  background-size: 36px 36px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s5);
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) { .stats-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 580px) { .stats-grid { grid-template-columns: 1fr; } }

.stat {
  text-align: center;
  padding: var(--s6) var(--s5);
  border-radius: var(--r-xl);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}

.stat:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-100);
}

.stat-icon {
  width: 52px; height: 52px;
  margin: 0 auto var(--s4);
  border-radius: var(--r-md);
  background: var(--blue-50);
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--blue-100);
}
.stat-icon img { width: 26px; height: 26px; object-fit: contain; filter: invert(31%) sepia(90%) saturate(1500%) hue-rotate(211deg); }

.stat-value-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s2);
  margin-bottom: var(--s2);
}

.stat strong {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 900;
  color: var(--brand);
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.4;
}

/* ============================================================
   PROCESS / HOW IT WORKS
   ============================================================ */
.process-section { background: var(--bg-soft); }

.process-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--s3);
}

.process-line-svg {
  position: absolute;
  top: 40px;
  left: 5%; width: 90%;
  pointer-events: none;
  z-index: 0;
}

.process-step {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: var(--s5) var(--s2);
}

.process-icon {
  width: 80px; height: 80px;
  border-radius: var(--r-xl);
  background: var(--surface);
  border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto var(--s4);
  position: relative;
  transition: all var(--dur-base) var(--ease-out);
  box-shadow: var(--shadow-sm);
}

.process-icon::before {
  content: attr(data-step);
  position: absolute;
  top: -10px; right: -10px;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--brand-gradient);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(26,86,219,0.30);
}

.process-step:hover .process-icon {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px var(--blue-50), var(--shadow-md);
  transform: translateY(-4px);
}

.process-icon img { width: 36px; height: 36px; object-fit: contain; filter: invert(31%) sepia(90%) saturate(1500%) hue-rotate(211deg); }

.process-step h3 { font-size: 0.9rem; font-weight: 700; margin-bottom: var(--s2); }
.process-step p  { font-size: 0.8rem; color: var(--text-secondary); line-height: 1.55; }

@media (max-width: 900px) {
  .process-flow { grid-template-columns: repeat(3, 1fr); }
  .process-line-svg { display: none; }
}
@media (max-width: 580px) {
  .process-flow { grid-template-columns: 1fr; gap: var(--s3); }
  .process-step { text-align: left; display: flex; gap: var(--s4); align-items: flex-start; }
  .process-icon { flex-shrink: 0; margin: 0; }
}

/* ============================================================
   BENEFITS SECTION
   ============================================================ */
.benefits-section { background: var(--bg); }

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s10);
  align-items: center;
}

@media (max-width: 900px) {
  .benefits-grid { grid-template-columns: 1fr; }
  .benefits-image { order: -1; }
}

.benefits-image {
  position: relative;
  border-radius: var(--r-2xl);
  overflow: hidden;
}
.benefits-image img {
  width: 100%;
  border-radius: var(--r-2xl);
  box-shadow: var(--shadow-xl);
  transition: transform 0.5s var(--ease-out);
}
.benefits-image:hover img { transform: scale(1.03); }
.benefits-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--r-2xl);
  border: 1px solid var(--border);
  pointer-events: none;
}

.benefit-copy h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 800; margin-bottom: var(--s4); letter-spacing: -0.02em; }
.benefit-copy > p { font-size: 1rem; line-height: 1.78; margin-bottom: var(--s6); }

.benefit-list {
  display: flex;
  flex-direction: column;
  gap: var(--s3);
  margin-bottom: var(--s6);
}

.benefit-item {
  display: flex;
  gap: var(--s3);
  align-items: flex-start;
  padding: var(--s4);
  border-radius: var(--r-md);
  border: 1px solid transparent;
  transition: background var(--dur-fast), border-color var(--dur-fast);
}
.benefit-item:hover {
  background: var(--blue-50);
  border-color: var(--blue-100);
}

.benefit-check {
  width: 28px; height: 28px;
  border-radius: var(--r-sm);
  background: var(--blue-50);
  border: 1.5px solid var(--blue-100);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 0.85rem;
  color: var(--brand);
  font-weight: 800;
  margin-top: 2px;
}

.benefit-item-text h4 { font-size: 0.9375rem; font-weight: 700; color: var(--text-primary); margin-bottom: 2px; }
.benefit-item-text p  { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.55; margin: 0; }

/* ============================================================
   APP BANNER SECTION
   ============================================================ */
.app-banner {
  background: linear-gradient(145deg, #1a3a6b 0%, #1a56db 40%, #0ea5e9 100%);
  padding-top: var(--s10);
  padding-bottom: 0;
  position: relative;
  overflow: hidden;
}

.app-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 32px 32px;
}

.app-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--s9);
  align-items: end;
  position: relative;
  z-index: 1;
}

@media (max-width: 960px) { .app-grid { grid-template-columns: 1fr; gap: var(--s7); } }

.app-copy { padding-bottom: var(--s10); }

.app-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-bottom: var(--s4);
}

.app-copy h3 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: var(--s4);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.app-copy > p {
  font-size: 1rem;
  line-height: 1.72;
  color: rgba(255,255,255,0.75);
  margin-bottom: var(--s5);
}

.app-features {
  display: flex;
  flex-direction: column;
  gap: var(--s2);
  margin-bottom: var(--s6);
}

.app-feature-item {
  display: flex;
  align-items: center;
  gap: var(--s3);
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
}

.app-feature-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  flex-shrink: 0;
}

.store-row {
  display: flex;
  gap: var(--s3);
  flex-wrap: wrap;
}

.store-card {
  display: flex;
  align-items: center;
  gap: var(--s3);
  padding: 12px 20px;
  border-radius: var(--r-md);
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.25);
  color: #fff;
  text-decoration: none;
  transition: background var(--dur-base), transform var(--dur-base) var(--ease-out);
  backdrop-filter: blur(8px);
}
.store-card:hover { background: rgba(255,255,255,0.22); transform: translateY(-2px); }
.store-card img { width: 22px; height: 22px; display: block; }
.store-card span { display: flex; flex-direction: column; }
.store-card small { font-size: 0.65rem; opacity: 0.75; font-weight: 500; }
.store-card strong, .store-card span > :not(small) { font-size: 0.9rem; font-weight: 700; }

.app-media {
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.app-mobile-img {
  max-height: 500px;
  width: auto;
  filter: drop-shadow(0 20px 50px rgba(0,0,0,0.30));
  animation: float 6s ease-in-out infinite;
}

/* ============================================================
   LOOMS SECTION
   ============================================================ */
.looms-section { background: var(--bg-soft); }

.loom-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s4);
}

@media (max-width: 900px) { .loom-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .loom-grid { grid-template-columns: 1fr; } }

.loom-card {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.loom-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}
.loom-card:hover img { transform: scale(1.08); }

.loom-card-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(15,23,42,0.85) 0%, transparent 100%);
  padding: var(--s5) var(--s4) var(--s4);
  transition: background var(--dur-base);
}
.loom-card:hover .loom-card-overlay { background: linear-gradient(to top, rgba(26,86,219,0.85) 0%, transparent 100%); }

.loom-card-overlay h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  transition: transform var(--dur-base) var(--ease-out);
}
.loom-card:hover .loom-card-overlay h3 { transform: translateY(-4px); }

/* ============================================================
   BLOGS SECTION
   ============================================================ */
.blogs-section { background: var(--bg); }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s5);
}

@media (max-width: 900px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px)  { .blog-grid { grid-template-columns: 1fr; } }

.blog-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
  display: flex;
  flex-direction: column;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.blog-media {
  display: block;
  overflow: hidden;
  aspect-ratio: 16/9;
}
.blog-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}
.blog-card:hover .blog-media img { transform: scale(1.06); }

.blog-body {
  padding: var(--s5);
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--s2);
}

.blog-tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 12px;
  border-radius: var(--r-full);
  background: var(--blue-50);
  color: var(--brand);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid var(--blue-100);
  width: fit-content;
}

.blog-body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.4;
  margin-top: var(--s1);
}
.blog-body h3 a { color: inherit; }
.blog-body h3 a:hover { color: var(--brand); }

.blog-body p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
  flex: 1;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--brand);
  margin-top: var(--s2);
  transition: gap var(--dur-fast);
}
.read-more::after { content: '→'; }
.read-more:hover { gap: 8px; }

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-section { background: var(--bg-soft); }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s4);
}

@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-card {
  display: flex;
  align-items: center;
  gap: var(--s4);
  padding: var(--s6);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  text-decoration: none;
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), border-color var(--dur-base);
  box-shadow: var(--shadow-sm);
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--brand); }

.contact-icon {
  width: 52px; height: 52px;
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  border: 1px solid transparent;
  transition: transform var(--dur-base) var(--ease-out);
}
.contact-icon.tone-blue   { background: var(--blue-50); border-color: var(--blue-100); }
.contact-icon.tone-blue img { filter: invert(31%) sepia(90%) saturate(1500%) hue-rotate(211deg); }

.contact-icon.tone-green  { background: #e6fcf5; border-color: #c3fae8; }
.contact-icon.tone-green img { filter: invert(50%) sepia(60%) saturate(800%) hue-rotate(122deg); }

.contact-icon.tone-purple { background: #f3f0ff; border-color: #e5dbff; }
.contact-icon.tone-purple img { filter: invert(31%) sepia(80%) saturate(1200%) hue-rotate(255deg); }

.contact-card:hover .contact-icon { transform: scale(1.08); }

.contact-card p { font-size: 0.75rem; color: var(--text-muted); font-weight: 500; margin: 0 0 2px; }
.contact-card strong { font-size: 0.9375rem; font-weight: 700; color: var(--text-primary); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
}

.footer-cities {
  padding-block: var(--s5);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: var(--s5);
  flex-wrap: wrap;
}

.footer-cities-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
  flex-shrink: 0;
}

.footer-cities-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
}

.city-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--r-full);
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: background var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast);
}
.city-tag:hover { background: var(--blue-50); color: var(--brand); border-color: var(--blue-100); }

.city-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand);
  flex-shrink: 0;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--s8);
  padding-block: var(--s8);
}

@media (max-width: 900px) { .footer-main { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-main { grid-template-columns: 1fr; } }

.footer-brand img { max-height: 40px; width: auto; margin-bottom: var(--s4); }
.footer-brand p { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.7; max-width: 280px; }

.footer-socials {
  display: flex;
  gap: var(--s2);
  margin-top: var(--s4);
}

.footer-social {
  width: 36px; height: 36px;
  border-radius: var(--r-sm);
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  text-decoration: none;
  transition: background var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast);
}
.footer-social:hover { background: var(--brand); color: #fff; border-color: var(--brand); }

.footer-col-heading {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: var(--s4);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: var(--s2);
}
.footer-nav a {
  font-size: 0.875rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--dur-fast);
}
.footer-nav a:hover { color: var(--brand); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--s2);
  margin-bottom: var(--s3);
}

.footer-contact-badge {
  flex-shrink: 0;
  font-size: 0.6rem;
  font-weight: 800;
  padding: 3px 7px;
  border-radius: var(--r-sm);
  background: var(--blue-50);
  color: var(--brand);
  border: 1px solid var(--blue-100);
  letter-spacing: 0.05em;
  margin-top: 2px;
}
.footer-contact-item p { font-size: 0.875rem; color: var(--text-secondary); margin: 0; }

.footer-bottom {
  padding-block: var(--s5);
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s4);
  flex-wrap: wrap;
}
.footer-bottom p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin: 0;
}

/* ============================================================
   DEMO MODAL
   ============================================================ */
.ems-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,0.55);
  backdrop-filter: blur(4px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: var(--s5);
}
.ems-overlay.open { display: flex; }

.ems-modal {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  width: min(960px, 100%);
  max-height: 90vh;
  border-radius: var(--r-2xl);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-xl), 0 0 0 1px rgba(15,23,42,0.06);
  animation: scaleIn 0.3s var(--ease-out);
}

@media (max-width: 720px) {
  .ems-modal { grid-template-columns: 1fr; }
  .ems-image-panel { display: none; }
}

/* Left image panel */
.ems-image-panel {
  position: relative;
  overflow: hidden;
  min-height: 400px;
}
.ems-image-panel > img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.ems-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,86,219,0.90) 0%, rgba(14,165,233,0.80) 100%);
}
.ems-image-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--s7) var(--s6);
}

.ems-modal-logo { margin-bottom: var(--s5); }
.ems-modal-logo img { max-height: 60px; width: auto; display: block; }

.ems-hero-text h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: var(--s3);
}
.ems-hero-text p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.80);
  line-height: 1.65;
  margin-bottom: var(--s5);
}

.ems-badges {
  display: flex;
  flex-direction: column;
  gap: var(--s2);
}
.ems-badge {
  display: flex;
  align-items: center;
  gap: var(--s3);
  font-size: 0.8375rem;
  color: rgba(255,255,255,0.90);
  font-weight: 500;
}
.ems-badge-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(255,255,255,0.20);
  border: 1px solid rgba(255,255,255,0.30);
  font-size: 0.68rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}

/* Right form panel */
.ems-form-panel {
  padding: var(--s7) var(--s6);
  overflow-y: auto;
  position: relative;
  background: #fff;
}

.ems-close {
  position: absolute;
  top: var(--s4); right: var(--s4);
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: all var(--dur-fast);
}
.ems-close:hover { background: var(--red-100); color: var(--red-500); border-color: var(--red-100); }

.ems-form-header { margin-bottom: var(--s5); }
.ems-form-header h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: var(--s2);
  letter-spacing: -0.02em;
}
.ems-form-header p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin: 0;
}

.ems-fields-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s3);
}
@media (max-width: 480px) { .ems-fields-row { grid-template-columns: 1fr; } }

.ems-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: var(--s3);
}
.ems-field label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-primary);
}
.ems-field label span { color: var(--red-500); margin-left: 2px; }

.ems-field input,
.ems-field textarea,
.ems-field select {
  padding: 12px 14px;
  border-radius: var(--r-md);
  border: 1.5px solid var(--border-md);
  background: var(--bg-soft);
  font-size: 0.9rem;
  color: var(--text-primary);
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast), background var(--dur-fast);
  outline: none;
  width: 100%;
}
.ems-field input:focus,
.ems-field textarea:focus {
  border-color: var(--brand);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(26,86,219,0.10);
}
.ems-field input::placeholder,
.ems-field textarea::placeholder { color: var(--text-muted); }

.ems-field textarea {
  min-height: 90px;
  resize: vertical;
}

.ems-submit {
  width: 100%;
  padding: 16px;
  border-radius: var(--r-md);
  background: var(--brand-gradient);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s2);
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base);
  box-shadow: var(--shadow-blue);
  margin-top: var(--s4);
}
.ems-submit:hover { transform: translateY(-2px); box-shadow: var(--shadow-blue-lg); }
.ems-submit:active { transform: translateY(0); }

.ems-spinner {
  display: none;
  width: 18px; height: 18px;
  border: 2.5px solid rgba(255,255,255,0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.ems-status {
  display: none;
  align-items: center;
  gap: var(--s3);
  padding: var(--s4);
  border-radius: var(--r-md);
  margin-top: var(--s4);
  font-size: 0.875rem;
}
.ems-status.show { display: flex; }

#emsSuccess { background: var(--green-100); color: #065f46; }
#emsError   { background: var(--red-100);   color: #991b1b; }

.ems-status-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  flex-shrink: 0;
}
#emsSuccess .ems-status-icon { background: #10b981; color: #fff; }
#emsError   .ems-status-icon { background: #ef4444; color: #fff; }

.ems-privacy {
  font-size: 0.77rem;
  text-align: center;
  color: var(--text-muted);
  margin-top: var(--s4);
  line-height: 1.6;
}
.ems-privacy a { color: var(--brand); }

.recaptcha-field { margin-block: var(--s3); }

/* ============================================================
   FLOATING WIDGET
   ============================================================ */
.floating-widget {
  position: fixed;
  bottom: 32px; right: 32px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--s2);
  animation: slideInUp 0.5s var(--ease-out) 2s both;
}

.floating-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  padding: 14px 22px;
  border-radius: var(--r-full);
  background: var(--brand-gradient);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-blue-lg);
  transition: transform var(--dur-base) var(--ease-out);
  white-space: nowrap;
}
.floating-btn:hover { transform: translateY(-3px) scale(1.02); }

.floating-signal {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #fff;
  position: relative;
  animation: signalPulse 2s infinite;
}

.floating-dismiss {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  border: 1px solid var(--border);
  cursor: pointer;
  font-size: 0.65rem;
  color: var(--text-muted);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--dur-fast);
}
.floating-dismiss:hover { background: var(--red-100); color: var(--red-500); }

.floating-widget.hidden { display: none; }

@media (max-width: 480px) {
  .floating-widget { bottom: 16px; right: 16px; }
}

/* ============================================================
   BLOG LIST PAGE
   ============================================================ */
.blog-list-header {
  background: linear-gradient(135deg, #f0f7ff 0%, #e8f4ff 100%);
  padding-block: var(--s9);
  border-bottom: 1px solid var(--border);
}

.blog-list-header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: var(--s3);
}
.blog-list-header p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
}

/* Breadcrumb */
.blog-breadcrumb {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
}
.blog-breadcrumb-inner {
  display: flex;
  align-items: center;
  gap: var(--s2);
  padding-block: 14px;
  padding-inline: 20px;
  font-size: 0.8125rem;
  color: var(--text-muted);
  max-width: 1280px;
  margin-inline: auto;
}
.blog-breadcrumb a { color: var(--brand); font-weight: 500; transition: opacity var(--dur-fast); }
.blog-breadcrumb a:hover { opacity: 0.7; }

/* ============================================================
   BLOG DETAIL PAGE
   ============================================================ */
.blog-detail-header {
  background: linear-gradient(145deg, #1a3a6b 0%, #1a56db 60%, #0ea5e9 100%);
  padding-block: var(--s9);
  position: relative;
  overflow: hidden;
}
.blog-detail-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 28px 28px;
}

.blog-detail-header-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: var(--s8);
  align-items: center;
  position: relative;
  z-index: 1;
}
@media (max-width: 900px) {
  .blog-detail-header-grid { grid-template-columns: 1fr; }
  .blog-detail-header-image { display: none; }
}

.blog-detail-header-copy .blog-tag {
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.95);
  border-color: rgba(255,255,255,0.25);
  margin-bottom: var(--s4);
}
.blog-detail-header-copy h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
  margin-bottom: var(--s4);
  letter-spacing: -0.02em;
}
.blog-header-summary {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.72;
  margin-bottom: var(--s5);
}
.blog-meta {
  display: flex;
  gap: var(--s4);
  align-items: center;
  flex-wrap: wrap;
}
.blog-meta span {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
}

.blog-detail-header-image img {
  border-radius: var(--r-xl);
  width: 100%;
  box-shadow: var(--shadow-xl);
}

/* Blog body */
.blog-detail { background: var(--bg); padding-block: var(--s9); }
.blog-detail-inner { max-width: 860px; margin-inline: auto; padding-inline: 20px; }

.blog-content h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-top: var(--s8);
  margin-bottom: var(--s4);
  padding-bottom: var(--s2);
  border-bottom: 2px solid var(--border);
  position: relative;
  letter-spacing: -0.02em;
}
.blog-content h2::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px; height: 2px;
  background: var(--brand-gradient);
}

.blog-content h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: var(--s6);
  margin-bottom: var(--s3);
}

.blog-content p {
  font-size: 1.0625rem;
  line-height: 1.85;
  color: var(--text-secondary);
  margin-bottom: var(--s5);
}

.blog-content strong { color: var(--text-primary); }
.blog-content a { color: var(--brand); text-decoration: underline; text-decoration-color: rgba(26,86,219,0.30); }
.blog-content a:hover { text-decoration-color: var(--brand); }

/* Bullet list */
.blog-content ul { list-style: none; padding-left: 0; margin-bottom: var(--s5); }
.blog-content ul li {
  position: relative;
  padding-left: var(--s6);
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: var(--s2);
}
.blog-content ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 4px;
  width: 18px; height: 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%231a56db'%3E%3Cpath fill-rule='evenodd' d='M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l5-5z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.blog-content ol { padding-left: var(--s5); margin-bottom: var(--s5); list-style: decimal; }
.blog-content ol li { font-size: 1.0625rem; line-height: 1.75; color: var(--text-secondary); margin-bottom: var(--s2); }

/* Note box */
.note-box {
  background: linear-gradient(to right, var(--blue-50) 0%, rgba(239,246,255,0.4) 100%);
  border-left: 4px solid var(--brand);
  padding: var(--s5) var(--s5) var(--s5) 52px;
  border-radius: var(--r-md);
  margin: var(--s7) 0;
  position: relative;
  border: 1px solid var(--blue-100);
  border-left: 4px solid var(--brand);
}
.note-box::before {
  content: "";
  position: absolute;
  left: 18px; top: 20px;
  width: 22px; height: 22px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%231a56db' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}
.note-box p { margin-bottom: 0; color: var(--text-primary); font-size: 1.0625rem; }

/* Responsive table */
.responsive-table { overflow-x: auto; margin: var(--s6) 0; border-radius: var(--r-lg); box-shadow: var(--shadow-md); }

.blog-content table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.9375rem;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.blog-content th, .blog-content td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
  text-align: left;
}
.blog-content th:last-child, .blog-content td:last-child { border-right: none; }
.blog-content tr:last-child td { border-bottom: none; }

.blog-content th {
  background: var(--blue-50);
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--brand);
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  border-bottom: 2px solid var(--blue-100);
}

.blog-content tr { background: var(--surface); transition: background var(--dur-fast); }
.blog-content tr:nth-child(even) { background: var(--bg-soft); }
.blog-content tr:hover { background: var(--blue-50); }

/* Blockquote */
.blog-content blockquote {
  border-left: 4px solid var(--cyan-400);
  background: rgba(14,165,233,0.04);
  padding: var(--s5) var(--s6) var(--s5) 56px;
  border-radius: var(--r-md);
  margin: var(--s7) 0;
  position: relative;
  border: 1px solid rgba(14,165,233,0.15);
  border-left: 4px solid var(--cyan-400);
}
.blog-content blockquote::before {
  content: "\201C";
  position: absolute;
  left: 18px; top: 8px;
  font-family: Georgia, serif;
  font-size: 3.5rem;
  line-height: 1;
  color: var(--cyan-400);
  opacity: 0.5;
}
.blog-content blockquote p {
  font-style: italic;
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 0;
}

/* Article CTA */
.article-cta {
  margin-top: var(--s8);
  padding: var(--s6);
  background: linear-gradient(135deg, var(--blue-50) 0%, var(--cyan-100) 100%);
  border: 1px solid var(--blue-100);
  border-radius: var(--r-xl);
  text-align: center;
}
.article-cta p {
  margin-bottom: 0;
  font-weight: 600;
  color: var(--text-primary);
  font-size: 1.05rem;
  line-height: 1.7;
}
.article-cta a { color: var(--brand); text-decoration: underline; font-weight: 700; }

/* Blog end CTA */
.blog-end-cta {
  margin-top: var(--s9);
  background: var(--brand-gradient);
  border-radius: var(--r-2xl);
  padding: var(--s7);
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.blog-end-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 20px 20px;
}
.blog-end-cta h2 { font-size: 1.5rem; font-weight: 800; color: #fff; margin-bottom: var(--s3); position: relative; }
.blog-end-cta p { color: rgba(255,255,255,0.78); font-size: 0.9375rem; margin-bottom: var(--s5); position: relative; }

/* ============================================================
   BLOG ARCHIVE HERO
   ============================================================ */
.blog-archive-hero {
  background: linear-gradient(145deg, #f0f7ff 0%, #e8f4ff 55%, #f5f9ff 100%);
  padding-block: var(--s9) var(--s8);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.blog-archive-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(26,86,219,0.07) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
}

.blog-archive-hero::after {
  content: '';
  position: absolute;
  top: -40%; right: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(26,86,219,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.blog-archive-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s8);
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (max-width: 900px) {
  .blog-archive-hero-grid {
    grid-template-columns: 1fr;
    gap: var(--s6);
  }
  .blog-archive-hero-image { order: -1; max-width: 460px; margin-inline: auto; }
}

.blog-archive-copy .eyebrow { margin-bottom: var(--s4); }

.blog-archive-copy h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: var(--s4);
}

.blog-archive-copy p {
  font-size: 1rem;
  line-height: 1.78;
  color: var(--text-secondary);
  max-width: 520px;
  margin-bottom: var(--s3);
}

.blog-stats-row {
  display: flex;
  gap: var(--s3);
  flex-wrap: wrap;
  margin-top: var(--s5);
}

.blog-stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: var(--r-full);
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  box-shadow: var(--shadow-sm);
}
.blog-stat-pill strong {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--brand);
  font-size: 1rem;
}

.blog-archive-hero-image {
  position: relative;
}
.blog-archive-hero-image img {
  width: 100%;
  border-radius: var(--r-2xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
}
.blog-archive-hero-image::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: calc(var(--r-2xl) + 8px);
  border: 1px solid var(--blue-100);
  pointer-events: none;
}

/* Blog archive section */
.blog-archive-section { padding-block: var(--s9); background: var(--bg); }
.blog-archive-grid { margin-top: var(--s4); }

/* ============================================================
   CITY SEO LANDING PAGES
   ============================================================ */
.city-hero {
  background: linear-gradient(145deg, #f0f7ff 0%, #e8f4ff 55%, #f8fbff 100%);
  border-bottom: 1px solid var(--border);
  padding-block: var(--s10);
  position: relative;
  overflow: hidden;
}
.city-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(26,86,219,0.07) 1px, transparent 1px);
  background-size: 34px 34px;
  pointer-events: none;
}
.city-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.75fr);
  gap: var(--s8);
  align-items: center;
  position: relative;
  z-index: 1;
}
.city-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.06;
  margin-bottom: var(--s5);
}
.city-hero-copy > p {
  font-size: 1.075rem;
  line-height: 1.82;
  max-width: 640px;
  margin-bottom: var(--s5);
}
.city-hero-actions {
  display: flex;
  align-items: center;
  gap: var(--s3);
  flex-wrap: wrap;
}
.city-hero-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  padding: var(--s6);
  box-shadow: var(--shadow-xl);
}
.city-hero-card img {
  border-radius: var(--r-xl);
  aspect-ratio: 16 / 10;
  object-fit: cover;
  width: 100%;
  margin-bottom: var(--s5);
}
.city-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s3);
}
.city-proof-item {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--s4);
}
.city-proof-item strong {
  display: block;
  color: var(--brand);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 5px;
}
.city-proof-item span {
  display: block;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.35;
}
.city-section {
  padding-block: var(--s10);
  background: var(--bg);
}
.city-section.alt {
  background: var(--bg-soft);
  border-block: 1px solid var(--border);
}
.city-split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: var(--s8);
  align-items: start;
}
.city-copy h2,
.city-section h2 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: var(--s4);
}
.city-copy p,
.city-section p {
  font-size: 1rem;
  line-height: 1.82;
}
.city-feature-grid,
.city-keyword-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s4);
}
.city-feature-card,
.city-keyword-card,
.city-faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--s5);
  box-shadow: var(--shadow-sm);
}
.city-feature-card h3,
.city-keyword-card h3,
.city-faq-item h3 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: var(--s2);
}
.city-feature-card p,
.city-keyword-card p,
.city-faq-item p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 0;
}
.city-keyword-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
}
.city-process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s4);
  counter-reset: city-step;
}
.city-process-step {
  counter-increment: city-step;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--s5);
  position: relative;
}
.city-process-step::before {
  content: counter(city-step, decimal-leading-zero);
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-full);
  background: var(--brand-gradient);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 900;
  margin-bottom: var(--s4);
}
.city-process-step h3 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: var(--s2);
}
.city-process-step p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 0;
}
.city-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s4);
  margin-top: var(--s5);
}
.city-cta {
  background: var(--brand-gradient);
  color: #fff;
  border-radius: var(--r-2xl);
  padding: var(--s8);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--s5);
  align-items: center;
  overflow: hidden;
  position: relative;
}
.city-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 22px 22px;
}
.city-cta > * {
  position: relative;
}
.city-cta h2 {
  color: #fff;
  margin-bottom: var(--s2);
}
.city-cta p {
  color: rgba(255,255,255,0.78);
  margin: 0;
}
@media (max-width: 1000px) {
  .city-hero-grid,
  .city-split {
    grid-template-columns: 1fr;
  }
  .city-feature-grid,
  .city-keyword-grid,
  .city-process-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .city-hero { padding-block: var(--s8); }
  .city-proof-grid,
  .city-feature-grid,
  .city-keyword-grid,
  .city-process-list,
  .city-faq-grid,
  .city-cta {
    grid-template-columns: 1fr;
  }
  .city-cta { padding: var(--s6); }
}

/* ============================================================
   ACCESSIBILITY
   ============================================================ */
.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;
}
