/* ============================================================
   BACKLINK HUT — Design system
   System UI stack (matches newneevpathar) · Charcoal #1F2937 · Sky Blue #0EA5E9 · Flat/1px/4px
   ============================================================ */

/* --- Tokens --- */
:root {
  --brand:       #1F2937;
  --accent:      #0EA5E9;
  --accent-dark: #0284C7;
  --white:       #FFFFFF;
  --bg:          #FFFFFF;
  --bg-off:      #F9FAFB;
  --border:      #E5E7EB;
  --text:        #374151;
  --muted:       #6B7280;
  --ink:         #111827;
  --radius:      4px;
  --font:        'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, Arial, sans-serif;
  --max-w:       1200px;
  --gap:         1.5rem;
  --star:        #F59E0B;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); }
ul { list-style: none; }

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 { color: var(--ink); font-weight: 700; line-height: 1.25; }
h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.1rem; }
p  { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
small { font-size: 0.85rem; color: var(--muted); }

/* --- Layout --- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.25rem; }
.section { padding: 4rem 0; }
.section--tight { padding: 2.5rem 0; }
.section--bg { background: var(--bg-off); }
.section--brand { background: var(--brand); color: var(--white); }
.section--brand h2, .section--brand h3 { color: var(--white); }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: var(--gap); }

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

/* --- Header --- */
.site-header { border-bottom: 1px solid var(--border); background: var(--white); position: sticky; top: 0; z-index: 100; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.site-logo { display: flex; align-items: center; gap: 0.6rem; font-weight: 800; font-size: 1.1rem; color: var(--brand); }
.site-logo img { height: 36px; width: auto; }
.site-logo span { color: var(--ink); }

/* Nav */
.site-nav { display: flex; align-items: center; gap: 0.25rem; }
.site-nav > li { position: relative; }
.site-nav > li > a {
  display: flex; align-items: center; gap: 0.3rem;
  padding: 0.45rem 0.75rem;
  font-size: 0.875rem; font-weight: 500; color: var(--ink);
  border-radius: var(--radius);
  transition: background 0.15s, color 0.15s;
}
.site-nav > li > a:hover { background: var(--bg-off); color: var(--accent); }
.site-nav > li > a svg { width: 14px; height: 14px; flex-shrink: 0; }

/* Mega dropdown */
.mega-dropdown {
  position: absolute; top: calc(100% + 4px); left: 50%; transform: translateX(-50%);
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.25rem; min-width: 640px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.15s, visibility 0.15s;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem;
}
.site-nav > li:hover .mega-dropdown,
.site-nav > li:focus-within .mega-dropdown {
  opacity: 1; visibility: visible; pointer-events: auto;
}
.mega-dropdown a {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 0.6rem; border-radius: var(--radius);
  font-size: 0.8125rem; font-weight: 500; color: var(--ink);
  border: 1px solid transparent;
}
.mega-dropdown a:hover { background: var(--bg-off); border-color: var(--border); color: var(--accent); }
.mega-dropdown a svg { color: var(--muted); flex-shrink: 0; }
.mega-dropdown a:hover svg { color: var(--accent); }

/* Column layout for grouped mega menus (Services / Locations / Shop / Resources) */
.mega-dropdown--cols {
  left: 0; transform: none; min-width: 0; width: max-content;
  max-width: min(900px, calc(100vw - 40px));
  display: flex; flex-wrap: wrap; gap: 1.25rem 2rem; padding: 1.5rem 1.75rem;
}
.mega-col { min-width: 150px; max-width: 240px; }
.mega-col__title {
  display: block; font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--muted); margin-bottom: 0.55rem;
  padding-bottom: 0.45rem; border-bottom: 1px solid var(--border); white-space: nowrap;
}
.mega-col a {
  display: block; padding: 0.32rem 0; font-size: 0.85rem; font-weight: 500;
  color: var(--ink); border: none; border-radius: 0; line-height: 1.3;
}
.mega-col a:hover { color: var(--accent); background: none; border: none; }

/* Header CTA */
.header-cta { display: flex; align-items: center; gap: 0.75rem; margin-left: 1rem; }
.btn-wa-header {
  display: flex; align-items: center; gap: 0.5rem;
  background: #25D366; color: var(--white);
  border: none; border-radius: var(--radius);
  padding: 0.45rem 0.9rem; font-size: 0.8125rem; font-weight: 600;
  cursor: pointer; transition: opacity 0.15s;
}
.btn-wa-header:hover { opacity: 0.9; color: var(--white); }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 0.4rem; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: 0.3s; }

@media (max-width: 900px) {
  .hamburger { display: flex; }
  .site-nav {
    position: fixed; top: 64px; left: 0; right: 0; bottom: 0;
    background: var(--white); flex-direction: column; align-items: flex-start;
    padding: 1rem 1.25rem; overflow-y: auto;
    transform: translateX(-100%); transition: transform 0.25s;
    border-top: 1px solid var(--border); gap: 0;
  }
  .site-nav.open { transform: translateX(0); }
  .site-nav > li { width: 100%; border-bottom: 1px solid var(--border); }
  .site-nav > li > a { padding: 0.85rem 0; width: 100%; }
  .mega-dropdown {
    position: static; transform: none; opacity: 1; visibility: visible; pointer-events: auto;
    min-width: unset; border: none; padding: 0 0 0.75rem 1rem;
    grid-template-columns: 1fr 1fr; display: none;
  }
  .site-nav > li.open .mega-dropdown { display: grid; }
  /* stacked column menus on mobile */
  .mega-dropdown--cols { width: auto; max-width: unset; flex-direction: column; flex-wrap: nowrap; gap: 0.85rem; padding: 0.25rem 0 0.75rem 1rem; }
  .mega-col { max-width: unset; min-width: 0; }
  .site-nav > li.open .mega-dropdown--cols { display: flex; }
  .header-cta { display: none; }
}

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  border-radius: var(--radius); font-family: var(--font);
  font-size: 0.9375rem; font-weight: 600; cursor: pointer;
  text-decoration: none; border: 1px solid transparent;
  padding: 0.65rem 1.4rem; transition: opacity 0.15s, background 0.15s, color 0.15s, border-color 0.15s;
  line-height: 1;
}
.btn-primary { background: var(--accent); color: var(--white); border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: var(--white); }
.btn-outline { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn-outline:hover { background: var(--accent); color: var(--white); }
.btn-dark { background: var(--brand); color: var(--white); border-color: var(--brand); }
.btn-dark:hover { opacity: 0.88; color: var(--white); }
.btn-wa { background: #25D366; color: var(--white); border-color: #25D366; }
.btn-wa:hover { background: #1ebe5d; border-color: #1ebe5d; color: var(--white); }
.btn-lg { padding: 0.85rem 1.8rem; font-size: 1.0625rem; }
.btn-sm { padding: 0.45rem 0.9rem; font-size: 0.8125rem; }

/* --- Hero --- */
.hero { background: var(--brand); color: var(--white); padding: 5rem 0 4rem; }
.hero h1 { color: var(--white); margin-bottom: 1.25rem; }
.hero__sub { font-size: 1.125rem; color: #D1D5DB; margin-bottom: 2rem; max-width: 560px; }
.hero__ctas { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.hero__badge { display: inline-flex; align-items: center; gap: 0.4rem; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2); border-radius: var(--radius); padding: 0.35rem 0.75rem; font-size: 0.8125rem; color: #E5E7EB; margin-bottom: 1.5rem; }
.hero__badge span { color: var(--star); }

/* --- Stats bar --- */
.stats-bar { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); }
.stats-bar__inner { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; }
.stats-bar__item { padding: 1.5rem 1rem; border-right: 1px solid var(--border); }
.stats-bar__item:last-child { border-right: none; }
.stats-bar__num { font-size: 2rem; font-weight: 800; color: var(--accent); display: block; }
.stats-bar__label { font-size: 0.8125rem; color: var(--muted); margin-top: 0.25rem; }
@media (max-width: 700px) {
  .stats-bar__inner { grid-template-columns: repeat(2, 1fr); }
  .stats-bar__item:nth-child(2) { border-right: none; }
}

/* --- Cards --- */
.card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem;
}
.card--hover:hover { border-color: var(--accent); }
.card__icon { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: var(--bg-off); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 1rem; color: var(--accent); }
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--muted); font-size: 0.9rem; }

/* Service grid */
.service-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; }
.service-card { display: flex; align-items: flex-start; gap: 0.75rem; padding: 1rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--white); transition: border-color 0.15s; }
.service-card:hover { border-color: var(--accent); }
.service-card__icon { flex-shrink: 0; color: var(--accent); margin-top: 2px; }
.service-card__text strong { display: block; font-size: 0.9375rem; color: var(--ink); margin-bottom: 0.2rem; }
.service-card__text span { font-size: 0.8125rem; color: var(--muted); }

/* Product card */
.product-card { border: 1px solid var(--border); border-radius: var(--radius); background: var(--white); overflow: hidden; display: flex; flex-direction: column; }
.product-card__badge { display: inline-block; padding: 0.2rem 0.6rem; border-radius: var(--radius); font-size: 0.75rem; font-weight: 600; }
.badge--green { background: #DCFCE7; color: #15803D; }
.badge--blue  { background: #DBEAFE; color: #1D4ED8; }
.badge--charcoal { background: var(--brand); color: var(--white); }
.product-card__head { padding: 1.25rem 1.25rem 0; }
.product-card__price { font-size: 1.5rem; font-weight: 800; color: var(--ink); margin: 0.75rem 0 0.25rem; }
.product-card__tagline { font-size: 0.875rem; color: var(--muted); margin-bottom: 1rem; }
.product-card__includes { padding: 0 1.25rem; flex: 1; }
.product-card__includes li { display: flex; align-items: flex-start; gap: 0.4rem; font-size: 0.875rem; color: var(--text); padding: 0.3rem 0; border-bottom: 1px solid var(--border); }
.product-card__includes li:last-child { border-bottom: none; }
.product-card__includes li svg { color: var(--accent); flex-shrink: 0; margin-top: 3px; }
.product-card__foot { padding: 1.25rem; }
.product-card--featured { border-color: var(--accent); }

/* --- Section headers --- */
.section-header { margin-bottom: 2.5rem; }
.section-header h2 { margin-bottom: 0.5rem; }
.section-header p { color: var(--muted); font-size: 1.0625rem; max-width: 600px; }
.section-header--center { text-align: center; }
.section-header--center p { margin: 0 auto; }

/* --- FAQ --- */
.faq-list { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.1rem 1.25rem; background: none; border: none; text-align: left;
  font-family: var(--font); font-size: 0.9375rem; font-weight: 600; color: var(--ink);
  cursor: pointer;
}
.faq-q::after { content: '+'; font-size: 1.3rem; font-weight: 400; color: var(--muted); flex-shrink: 0; transition: transform 0.2s; }
.faq-item.open .faq-q::after { content: '−'; }
.faq-a { display: none; padding: 0 1.25rem 1.1rem; color: var(--text); font-size: 0.9rem; line-height: 1.7; }
.faq-item.open .faq-a { display: block; }

/* --- WhatsApp CTA block --- */
.wa-cta-block { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
.wa-cta-block--center { align-items: center; text-align: center; }
.wa-cta-block h3 { margin-bottom: 0.25rem; }
.wa-cta-block p { color: var(--muted); margin: 0; }

/* Floating WhatsApp button */
.wa-float {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 200;
  display: flex; align-items: center; gap: 0.5rem;
  background: #25D366; color: var(--white);
  border-radius: 50px; padding: 0.65rem 1.1rem;
  font-size: 0.9rem; font-weight: 600;
  border: 2px solid #FFFFFF;
  transition: opacity 0.2s;
}
.wa-float:hover { opacity: 0.9; color: var(--white); }
.wa-float svg { flex-shrink: 0; }

/* --- Breadcrumbs --- */
.breadcrumbs { margin-bottom: 1.75rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 0.25rem; align-items: center; }
.breadcrumbs li { display: flex; align-items: center; gap: 0.25rem; font-size: 0.8125rem; color: var(--muted); }
.breadcrumbs li::after { content: '/'; color: var(--border); }
.breadcrumbs li:last-child::after { content: ''; }
.breadcrumbs li a { color: var(--accent); }
.breadcrumbs li a:hover { color: var(--accent-dark); }
.breadcrumbs li[aria-current] { color: var(--ink); font-weight: 500; }

/* --- Testimonial / trust bar --- */
.trust-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem 2.5rem; }
.trust-item { display: flex; align-items: center; gap: 0.5rem; }
.trust-item__stars { color: var(--star); font-size: 1rem; letter-spacing: 1px; }
.trust-item__text { font-size: 0.875rem; color: var(--muted); }
.trust-item__text strong { color: var(--ink); }

/* --- Form / input --- */
.field { margin-bottom: 1rem; }
.field label { display: block; font-size: 0.875rem; font-weight: 500; color: var(--ink); margin-bottom: 0.35rem; }
.field input, .field textarea, .field select {
  width: 100%; padding: 0.6rem 0.85rem;
  border: 1px solid var(--border); border-radius: var(--radius);
  font-family: var(--font); font-size: 0.9375rem; color: var(--ink); background: var(--white);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); }
.field textarea { resize: vertical; min-height: 100px; }

/* --- Tag pills --- */
.tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tag { display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.25rem 0.65rem; border: 1px solid var(--border); border-radius: var(--radius); font-size: 0.75rem; color: var(--muted); }

/* --- Process steps --- */
.process-list { counter-reset: step; display: flex; flex-direction: column; gap: 1.5rem; }
.process-item { counter-increment: step; display: flex; gap: 1rem; }
.process-item::before {
  content: counter(step); flex-shrink: 0;
  width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--accent); color: var(--white);
  font-weight: 700; font-size: 0.875rem;
  display: flex; align-items: center; justify-content: center;
}
.process-item h3 { margin-bottom: 0.3rem; }
.process-item p { color: var(--muted); font-size: 0.9rem; margin: 0; }

/* --- Footer --- */
.site-footer { background: var(--brand); color: #D1D5DB; padding: 3.5rem 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.7fr repeat(5, minmax(0, 1fr)); gap: 2rem 1.6rem; margin-bottom: 2.5rem; }
.footer-areas { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-areas li { margin: 0; }
.footer-areas strong { display: block; color: var(--white); font-size: 0.8125rem; font-weight: 600; }
.footer-areas span { font-size: 0.8125rem; color: #6B7280; }
.footer-areas span a { color: #9CA3AF; }
.footer-areas span a:hover { color: var(--white); }
.footer-logo { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem; }
.footer-logo img { height: 28px; width: auto; background: var(--white); padding: 4px; border-radius: var(--radius); }
.footer-logo span { font-weight: 800; color: var(--white); }
.footer-about { font-size: 0.875rem; line-height: 1.7; margin-bottom: 1.25rem; }
.footer-nap { font-size: 0.8125rem; line-height: 1.8; }
.footer-nap a { color: #93C5FD; }
.footer-col h4 { color: var(--white); font-size: 0.875rem; font-weight: 700; margin-bottom: 0.85rem; letter-spacing: 0.02em; text-transform: uppercase; }
.footer-col ul li { margin-bottom: 0.45rem; }
.footer-col ul li a { font-size: 0.875rem; color: #9CA3AF; transition: color 0.15s; }
.footer-col ul li a:hover { color: var(--white); }
.footer-socials { display: flex; gap: 0.65rem; flex-wrap: wrap; margin-top: 0.75rem; }
.footer-social-link {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius); color: #9CA3AF; transition: color 0.15s, border-color 0.15s;
}
.footer-social-link:hover { color: var(--white); border-color: rgba(255,255,255,0.35); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 1.1rem 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; }
.footer-bottom p { font-size: 0.8rem; color: #6B7280; }
.footer-bottom-links { display: flex; gap: 1rem; }
.footer-bottom-links a { font-size: 0.8rem; color: #6B7280; }
.footer-bottom-links a:hover { color: var(--white); }

@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 440px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* --- Framed images --- */
.img-frame { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--white); padding: 4px; margin: 0 0 1.5rem; }
.img-frame img { border-radius: 2px; aspect-ratio: 4/3; object-fit: cover; width: 100%; display: block; }
.img-frame--inline { max-width: 460px; }
.img-frame--full { max-width: 100%; }
.founder-photo { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border: 1px solid var(--border); border-radius: var(--radius); display: block; margin-bottom: 1rem; }

/* --- Table --- */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
th { text-align: left; font-weight: 600; font-size: 0.8125rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; padding: 0.6rem 0.85rem; border-bottom: 1px solid var(--border); }
td { padding: 0.7rem 0.85rem; border-bottom: 1px solid var(--border); color: var(--text); }
tr:last-child td { border-bottom: none; }

/* --- Sitemap page --- */
.sm-stats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0.75rem; margin: 1.75rem 0 3rem; }
.sm-stat { border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem 0.5rem; text-align: center; background: var(--bg-off); }
.sm-stat strong { display: block; font-size: 1.7rem; color: var(--accent); line-height: 1; }
.sm-stat span { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); margin-top: 0.4rem; display: block; }
.sm-block { margin-bottom: 3rem; }
.sm-head { display: flex; align-items: center; gap: 0.55rem; padding-bottom: 0.7rem; margin-bottom: 1.4rem; border-bottom: 2px solid var(--ink); }
.sm-head svg { color: var(--accent); width: 20px; height: 20px; }
.sm-head h2 { font-size: 1.15rem; margin: 0; }
.sm-head .sm-count { margin-left: auto; font-size: 0.72rem; font-weight: 700; color: var(--muted); background: var(--bg-off); border: 1px solid var(--border); border-radius: 100px; padding: 0.15rem 0.65rem; }
.sm-head--sm { margin-bottom: 0.9rem; padding-bottom: 0.5rem; border-bottom-width: 1px; }
.sm-head--sm h2 { font-size: 0.95rem; }
.sm-head--sm svg { width: 16px; height: 16px; }
.sm-svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 1.75rem; }
.sm-svc-grid a { display: flex; align-items: center; gap: 0.55rem; padding: 0.5rem 0; font-size: 0.9rem; color: var(--text); border-bottom: 1px solid var(--border); }
.sm-svc-grid a svg { color: var(--accent); flex-shrink: 0; width: 16px; height: 16px; }
.sm-svc-grid a:hover { color: var(--accent); }
.sm-cities { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 1rem; }
.sm-city { border: 1px solid var(--border); border-radius: var(--radius); padding: 1.1rem 1.2rem; }
.sm-city h3 { font-size: 0.95rem; display: flex; align-items: center; gap: 0.4rem; margin-bottom: 0.7rem; }
.sm-city h3 svg { color: var(--accent); width: 15px; height: 15px; }
.sm-city ul { list-style: none; }
.sm-city ul li { margin-bottom: 0.3rem; }
.sm-city ul li a { font-size: 0.85rem; }
.sm-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.sm-sub { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); margin-bottom: 0.6rem; }
.sm-list { list-style: none; }
.sm-list li { margin-bottom: 0.35rem; }
.sm-list li a { font-size: 0.9rem; }
.sm-cols { columns: 2; column-gap: 2rem; }
.sm-cols a { display: block; padding: 0.3rem 0; font-size: 0.9rem; break-inside: avoid; }
.sm-articles { list-style: none; }
.sm-articles li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 0.5rem 0; border-bottom: 1px solid var(--border); }
.sm-articles li a { font-size: 0.9rem; }
.sm-articles li time { font-size: 0.75rem; color: var(--muted); white-space: nowrap; }
@media (max-width: 900px) { .sm-stats { grid-template-columns: repeat(3,1fr); } .sm-svc-grid { grid-template-columns: repeat(2,1fr); } .sm-row { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .sm-stats { grid-template-columns: repeat(2,1fr); } .sm-svc-grid { grid-template-columns: 1fr; } }

/* --- Service / city page: modular sections --- */
.svc-hero { background: var(--bg-off); border-bottom: 1px solid var(--border); padding: 2.25rem 0 2.5rem; }
.svc-hero__inner { display: grid; grid-template-columns: 1.35fr 0.85fr; gap: 2.5rem; align-items: center; }
.svc-hero__eyebrow { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--accent); margin-bottom: 0.65rem; }
.svc-hero__eyebrow svg { width: 15px; height: 15px; }
.svc-hero h1 { font-size: 2.15rem; line-height: 1.14; margin-bottom: 0.55rem; }
.svc-hero__tag { font-size: 1.1rem; color: var(--ink); font-weight: 600; margin-bottom: 0.7rem; }
.svc-hero__intro { color: var(--muted); margin-bottom: 1.3rem; max-width: 48ch; }
.svc-hero__ctas { display: flex; gap: 0.7rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
.svc-hero__meta { display: flex; gap: 1.25rem; flex-wrap: wrap; font-size: 0.85rem; color: var(--muted); }
.svc-hero__meta span { display: inline-flex; align-items: center; gap: 0.35rem; }
.svc-hero__meta svg { width: 15px; height: 15px; color: var(--accent); flex-shrink: 0; }
.svc-hero__media img { width: 100%; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; display: block; }
@media (max-width: 820px) { .svc-hero__inner { grid-template-columns: 1fr; gap: 1.5rem; } .svc-hero__media { max-width: 300px; } .svc-hero h1 { font-size: 1.75rem; } }

.svc-stats { border-bottom: 1px solid var(--border); background: #fff; }
.svc-stats__inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding: 1.4rem 0; text-align: center; }
.svc-stats__item strong { display: block; font-size: 1.55rem; color: var(--ink); line-height: 1; }
.svc-stats__item span { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); margin-top: 0.35rem; display: block; }
@media (max-width: 560px) { .svc-stats__inner { grid-template-columns: repeat(2,1fr); gap: 1.25rem; } }

.svc-block { margin-bottom: 2.25rem; }
.block-head { display: flex; align-items: center; gap: 0.55rem; margin-bottom: 1.2rem; }
.block-head svg { color: var(--accent); width: 20px; height: 20px; }
.block-head h2 { font-size: 1.4rem; margin: 0; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.55rem 1.5rem; }
.feature-grid__item { display: flex; align-items: flex-start; gap: 0.55rem; font-size: 0.92rem; color: var(--text); padding: 0.45rem 0; border-bottom: 1px solid var(--border); }
.feature-grid__item svg { color: var(--accent); flex-shrink: 0; width: 17px; height: 17px; margin-top: 2px; }
@media (max-width: 760px) { .feature-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 460px) { .feature-grid { grid-template-columns: 1fr; } }

.step-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.step { padding: 1.1rem; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; }
.step__num { width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 0.8rem; font-weight: 700; display: flex; align-items: center; justify-content: center; margin-bottom: 0.6rem; }
.step h4 { font-size: 0.9rem; margin-bottom: 0.35rem; line-height: 1.3; }
.step p { font-size: 0.8rem; color: var(--muted); line-height: 1.5; }
@media (max-width: 900px) { .step-strip { grid-template-columns: repeat(3,1fr); } }
@media (max-width: 560px) { .step-strip { grid-template-columns: 1fr; } }

.callout { display: flex; gap: 0.85rem; padding: 1.25rem 1.4rem; background: var(--bg-off); border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: var(--radius); margin: 1.75rem 0; }
.callout svg { color: var(--accent); flex-shrink: 0; width: 22px; height: 22px; margin-top: 2px; }
.callout h3 { font-size: 1rem; margin-bottom: 0.35rem; }
.callout p { font-size: 0.92rem; color: var(--text); margin: 0; }

.cta-band { background: var(--brand); color: #fff; text-align: center; padding: 3rem 0; }
.cta-band h2 { color: #fff; font-size: 1.6rem; margin-bottom: 0.5rem; }
.cta-band p { color: rgba(255,255,255,0.8); margin-bottom: 1.5rem; }
.lang-switch { display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.82rem; font-weight: 600; color: var(--muted); border: 1px solid var(--border); border-radius: var(--radius); padding: 0.38rem 0.6rem; white-space: nowrap; }
.lang-switch:hover { color: var(--accent); border-color: var(--accent); }
.lang-switch svg { width: 15px; height: 15px; }
.svc-hero__inner--solo { grid-template-columns: 1fr; }
.product-hero__price { font-size: 2rem; font-weight: 800; color: var(--ink); margin: 0.25rem 0 0.85rem; }
.step-strip--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .step-strip--4 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px) { .step-strip--4 { grid-template-columns: 1fr; } }

/* --- Utility --- */
.text-muted  { color: var(--muted); }
.text-accent { color: var(--accent); }
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-wrap { flex-wrap: wrap; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.divider { border: none; border-top: 1px solid var(--border); margin: 2rem 0; }

/* --- Content prose --- */
.prose h2 { margin-top: 2rem; margin-bottom: 0.75rem; }
.prose h3 { margin-top: 1.5rem; margin-bottom: 0.5rem; }
.prose ul, .prose ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: 0.35rem; }
.prose strong { color: var(--ink); }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
.prose a:hover { text-decoration-thickness: 2px; }
.related-guides { display: flex; flex-direction: column; gap: 0.55rem; margin: 0; padding: 0; list-style: none; }
.related-guides a { display: flex; align-items: flex-start; gap: 0.5rem; color: var(--ink); font-size: 0.9rem; line-height: 1.35; }
.related-guides a svg { color: var(--accent); flex-shrink: 0; margin-top: 1px; }
.related-guides a:hover { color: var(--accent); }

/* --- Page layout with sidebar --- */
.page-with-sidebar { display: grid; grid-template-columns: 1fr 300px; gap: 2.5rem; align-items: start; }
.sidebar { position: sticky; top: 80px; }
.sidebar-card { border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem; margin-bottom: 1rem; }
.sidebar-card h3 { margin-bottom: 0.75rem; font-size: 1rem; }
@media (max-width: 900px) {
  .page-with-sidebar { grid-template-columns: 1fr; }
  .sidebar { position: static; }
}

/* --- 404 --- */
.error-404 { text-align: center; padding: 5rem 0; }
.error-404 h1 { font-size: clamp(4rem, 12vw, 8rem); color: var(--border); line-height: 1; }
.error-404 h2 { margin-top: -0.5rem; margin-bottom: 1rem; }
.error-404 p { color: var(--muted); margin-bottom: 1.5rem; }
