/* =========================================================================
   Keramičar Zagreb — Stylesheet (Redesign v2)
   Design direction: Dark, sharp, geometric — terracotta accent on warm graphite
   Stack: Space Grotesk (display, geometric) + Inter (body, technical)
   ========================================================================= */

/* ---------- Tokens ---------- */
:root {
  /* Brand */
  --terracotta: #FF752F;
  --terracotta-deep: #E65912;
  --terracotta-soft: rgba(255, 117, 47, 0.10);
  --terracotta-border: rgba(255, 117, 47, 0.30);

  /* Surfaces (graphite scale) */
  --bg: #1B1B1E;
  --bg-elevated: #232327;
  --bg-card: #2B2B30;
  --bg-darker: #131316;
  --bg-deepest: #0E0E10;

  /* Text */
  --text: #F2EFEA;
  --text-strong: #FFFFFF;
  --text-muted: #A4A09A;
  --text-faint: #6C6964;

  /* Lines */
  --rule: rgba(255, 255, 255, 0.08);
  --rule-strong: rgba(255, 255, 255, 0.14);
  --rule-bright: rgba(255, 255, 255, 0.22);

  /* Layout */
  --container: 1280px;
  --container-narrow: 920px;
  --gutter: clamp(20px, 4vw, 48px);

  /* Type */
  --t-xs: 0.75rem;
  --t-sm: 0.875rem;
  --t-base: 1rem;
  --t-lg: 1.0625rem;
  --t-xl: 1.1875rem;
  --t-2xl: clamp(1.4rem, 1.1rem + 1.3vw, 1.875rem);
  --t-3xl: clamp(1.75rem, 1.3rem + 2vw, 2.5rem);
  --t-4xl: clamp(2rem, 1.4rem + 2.6vw, 3rem);
  --t-5xl: clamp(2.5rem, 1.7rem + 3.6vw, 3.75rem);

  /* Motion */
  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);

  /* Geometry — sharp */
  --r-xs: 2px;
  --r-sm: 4px;
  --r-md: 6px;
  --r-lg: 8px;
  --r-pill: 999px;

  /* Shadow */
  --shadow-sm: 0 1px 0 rgba(0,0,0,.4);
  --shadow-md: 0 12px 28px -10px rgba(0,0,0,.6);
  --shadow-lg: 0 30px 60px -20px rgba(0,0,0,.7);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-feature-settings: "ss01", "cv11";
  font-size: var(--t-base);
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
img { font-style: italic; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
ul, ol { padding-left: 1.2em; }
hr { border: 0; border-top: 1px solid var(--rule); margin: 3rem 0; }
::selection { background: var(--terracotta); color: var(--text-strong); }
:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 3px; border-radius: 2px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 {
  font-family: "Space Grotesk", "Inter", system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.08;
  color: var(--text-strong);
  margin: 0 0 .5em;
}
h1 { font-size: var(--t-5xl); letter-spacing: -0.028em; line-height: 1.04; font-weight: 600; }
h2 { font-size: var(--t-4xl); }
h3 { font-size: var(--t-2xl); line-height: 1.15; letter-spacing: -0.018em; }
h4 { font-size: var(--t-xl); line-height: 1.25; letter-spacing: -0.012em; }
h5 { font-size: var(--t-lg); line-height: 1.3; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
.lead {
  font-size: var(--t-xl); line-height: 1.5;
  color: var(--text-muted); font-weight: 400;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 1.1em;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 18px; height: 1.5px;
  background: currentColor;
}
.text-balance { text-wrap: balance; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container-narrow { max-width: var(--container-narrow); }
section { padding: clamp(56px, 7vw, 100px) 0; position: relative; }
section + section { border-top: 1px solid var(--rule); }
.section-tight { padding: clamp(40px, 5vw, 72px) 0; }
.section-elevated { background: var(--bg-elevated); }
.section-darker { background: var(--bg-darker); }
.section-deepest { background: var(--bg-deepest); }

.section-title { max-width: 760px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.section-title h2 { margin-bottom: .35em; }
.section-title p { color: var(--text-muted); font-size: var(--t-lg); }
.section-title.left { text-align: left; margin-left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  padding: 13px 22px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.92rem; font-weight: 600;
  letter-spacing: 0.005em;
  border-radius: var(--r-sm);
  text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
  white-space: nowrap;
  border: 1.5px solid transparent;
}
.btn-lg { padding: 16px 28px; font-size: 0.98rem; }
.btn-sm { padding: 9px 16px; font-size: .82rem; }
.btn-primary { background: var(--terracotta); color: var(--text-strong); }
.btn-primary:hover { background: var(--terracotta-deep); transform: translateY(-1px); }
.btn-secondary { background: var(--text); color: var(--bg); }
.btn-secondary:hover { background: var(--text-strong); }
.btn-outline { background: transparent; color: var(--text); border-color: var(--rule-bright); }
.btn-outline:hover { background: var(--text); color: var(--bg); border-color: var(--text); }
.btn-ghost { background: transparent; color: var(--text); }
.btn-ghost:hover { color: var(--terracotta); }
.btn-arrow::after {
  content: "→"; transition: transform .25s var(--ease);
  font-size: 1.05em; line-height: 1;
}
.btn:hover .btn-arrow::after, .btn-arrow:hover::after { transform: translateX(3px); }

/* ---------- Header ---------- */
.top-bar {
  background: var(--bg-deepest);
  color: var(--text-muted);
  font-size: 0.8rem;
  letter-spacing: 0.01em;
  border-bottom: 1px solid var(--rule);
}
.top-bar-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 9px 0; }
.top-bar-info { display: flex; gap: 24px; align-items: center; }
.top-bar-info a { color: var(--text); display: inline-flex; align-items: center; gap: 8px; transition: color .15s; }
.top-bar-info a:hover { color: var(--terracotta); }
.top-bar-info svg { width: 13px; height: 13px; opacity: 0.7; }
.top-bar-cta { display: inline-flex; align-items: center; gap: 8px; color: var(--terracotta); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--rule);
}
.site-header.is-scrolled { background: var(--bg-darker); }
.site-header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; padding: 16px 0;
}
.site-logo { display: inline-flex; align-items: center; }
.site-logo img { height: 72px; width: auto; }
.main-nav ul { display: flex; gap: 28px; list-style: none; padding: 0; margin: 0; }
.main-nav a {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.92rem; font-weight: 500; color: var(--text);
  position: relative; padding: 6px 0;
  transition: color .15s;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--terracotta); transition: width .25s var(--ease);
}
.main-nav a:hover { color: var(--terracotta); }
.main-nav a:hover::after, .main-nav a.is-active::after { width: 100%; }

.header-cta { display: inline-flex; align-items: center; gap: 12px; }
.header-phone {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 0.92rem;
  padding: 9px 16px; border-radius: var(--r-sm);
  background: transparent; color: var(--text);
  border: 1.5px solid var(--rule-bright);
  transition: all .15s;
}
.header-phone:hover { background: var(--terracotta); color: var(--text-strong); border-color: var(--terracotta); }
.header-phone svg { width: 15px; height: 15px; }

.mobile-toggle { display: none; }

/* ---------- Mega menu (desktop hover dropdown for Usluge) ---------- */
.has-mega {
  position: static;
  /* Bridge: extend hover-area downward so cursor doesn't leave .has-mega
     when moving from trigger anchor to mega-menu. */
  padding-bottom: 18px;
  margin-bottom: -18px;
}
.mega-menu {
  position: absolute;
  left: 0; right: 0; top: 100%;
  background: var(--bg-darker);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 36px 0 40px;
  opacity: 0; visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s .2s;
  pointer-events: none;
  z-index: 49;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.6);
}
.has-mega:hover .mega-menu,
.has-mega:focus-within .mega-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
  pointer-events: auto;
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s;
}
/* Invisible bridge above the mega-menu — ensures cursor staying on the gap keeps menu open */
.mega-menu::before {
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: -20px;
  height: 20px;
}
.mega-menu-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(3, 1fr) 1.1fr;
  gap: clamp(28px, 4vw, 56px);
}
.mega-col h4 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--terracotta);
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--rule);
}
.mega-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 1px; }
.mega-col a {
  display: block;
  padding: 9px 12px 9px 14px;
  margin-left: -14px;
  font-family: "Inter", sans-serif;
  font-size: 0.94rem; font-weight: 400;
  color: var(--text);
  letter-spacing: 0;
  position: relative;
  border-radius: var(--r-xs);
  transition: color .15s, background .15s;
}
.mega-col a::before {
  /* Vertical accent bar on hover — no overlap, no shifting */
  content: "";
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%) scaleY(0);
  transform-origin: center;
  width: 2px; height: 60%;
  background: var(--terracotta);
  transition: transform .2s var(--ease);
}
.mega-col a:hover { color: var(--terracotta); background: rgba(255,117,47,0.06); }
.mega-col a:hover::before { transform: translateY(-50%) scaleY(1); }
.mega-feature {
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: var(--r-sm);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  min-height: 220px;
}
.mega-feature h4 { color: var(--text-strong); font-family: "Space Grotesk", sans-serif; font-size: 1.05rem; line-height: 1.25; margin: 0; letter-spacing: -0.012em; }
.mega-feature p { font-size: 0.88rem; color: var(--text-muted); margin: 0; line-height: 1.5; }
.mega-feature .btn { align-self: flex-start; }

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed; inset: 0; z-index: 60;
  background: var(--bg-darker); color: var(--text);
  padding: 24px var(--gutter) 40px;
  transform: translateY(-100%);
  transition: transform .3s var(--ease);
  overflow-y: auto;
}
.mobile-menu.is-open { transform: translateY(0); }
.mobile-menu-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.mobile-menu-close { width: 44px; height: 44px; color: var(--text); }
.mobile-menu nav ul { list-style: none; padding: 0; margin: 0; }
.mobile-menu nav > ul > li { border-bottom: 1px solid var(--rule); }
.mobile-menu nav a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0; font-family: "Space Grotesk", sans-serif; font-size: 1.4rem; color: var(--text-strong);
  letter-spacing: -0.015em; font-weight: 500;
}
.mobile-menu nav a:hover { color: var(--terracotta); }
.mobile-submenu { display: none; padding: 0 0 18px 0; }
.mobile-submenu.is-open { display: block; }
.mobile-submenu a { font-family: "Inter", sans-serif; font-size: 0.95rem; padding: 7px 0; color: var(--text-muted); font-weight: 400; }
.mobile-menu-cta { margin-top: 28px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--bg);
  overflow: hidden;
  padding: clamp(24px, 3vw, 40px) 0 clamp(24px, 3vw, 40px);
  min-height: calc(100vh - 120px);
  display: flex;
  align-items: center;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200' viewBox='0 0 200 200'><defs><pattern id='grid' width='40' height='40' patternUnits='userSpaceOnUse'><path d='M40 0 L0 0 0 40' fill='none' stroke='rgba(255,255,255,0.025)' stroke-width='1'/></pattern></defs><rect width='100%' height='100%' fill='url(%23grid)'/></svg>");
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  width: 100%;
}
.hero h1 {
  color: var(--text-strong);
  margin-bottom: 0.5em;
  max-width: 16ch;
}
.hero h1 .accent { color: var(--terracotta); font-weight: 600; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--terracotta-soft);
  border: 1px solid var(--terracotta-border);
  color: var(--terracotta);
  padding: 7px 14px; border-radius: var(--r-pill);
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  margin-bottom: 1.4em;
  font-family: "Space Grotesk", sans-serif;
}
.hero-eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--terracotta); animation: pulse 2.2s var(--ease) infinite; }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .5; transform: scale(.6); } }
.hero p.lead {
  color: var(--text-muted);
  font-size: var(--t-lg);
  line-height: 1.55;
  max-width: 52ch;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 1.6em; }
.hero-trust {
  margin-top: 2em;
  padding-top: 1.5em;
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 28px;
  align-items: center;
  width: fit-content;
}
.hero-trust-item strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.45rem;
  color: var(--terracotta);
  display: block;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.hero-trust-item span {
  font-size: 0.74rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 4px;
  display: block;
  font-weight: 500;
}

/* Hero figure — majstor PNG cutout with orange rectangle behind */
.hero-figure {
  position: relative;
  align-self: start;
  height: 100%;
  min-height: 460px;
  display: flex;
  align-items: end;
  justify-content: center;
  /* Lift entire figure (orange rect + majstor) up to show full above the fold */
  margin-top: -90px;
  margin-bottom: 0;
}
.hero-figure::before {
  /* Orange rectangle BEHIND majstor */
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 68%;
  height: 72%;
  background: var(--terracotta);
  border-radius: var(--r-sm);
  z-index: 0;
  box-shadow: 0 30px 60px -20px rgba(255, 117, 47, 0.4);
}

/* Animated snake border — line travels around rectangle perimeter */
.hero-figure .snake-border {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 68%;
  height: 72%;
  z-index: 1;
  pointer-events: none;
  overflow: visible;
  border-radius: var(--r-sm);
}
.hero-figure .snake-border path {
  fill: none;
  stroke: rgba(255, 255, 255, 0.95);
  stroke-width: 4;
  stroke-linecap: butt;
  stroke-linejoin: miter;
  /* ONE line: 40 visible + 60 gap = 100 (one cycle in pathLength=100) */
  stroke-dasharray: 40 60;
  stroke-dashoffset: 0;
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.55));
  animation: snake-trail 4.5s linear infinite;
}
@keyframes snake-trail {
  from { stroke-dashoffset: 0; }
  to   { stroke-dashoffset: -100; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-figure .snake-border rect { animation: none; stroke-dasharray: none; stroke: rgba(255,255,255,0.45); }
}
.hero-figure::after {
  /* Subtle dot grid texture on the orange rectangle */
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 68%;
  height: 72%;
  background-image: radial-gradient(rgba(255,255,255,0.10) 1px, transparent 1px);
  background-size: 12px 12px;
  border-radius: var(--r-sm);
  z-index: 1;
  pointer-events: none;
}
.hero-figure img {
  position: relative;
  z-index: 2;
  max-height: 640px;
  width: auto;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 20px 30px rgba(0,0,0,.4));
  /* Feet TOUCH the orange rectangle bottom */
  margin-bottom: 0;
}

/* Stagger reveal */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .65s var(--ease-out), transform .65s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
.hero .reveal:nth-child(1) { transition-delay: .03s; }
.hero .reveal:nth-child(2) { transition-delay: .1s; }
.hero .reveal:nth-child(3) { transition-delay: .17s; }
.hero .reveal:nth-child(4) { transition-delay: .24s; }
.hero .reveal:nth-child(5) { transition-delay: .31s; }

/* ---------- Service category cards (3) ---------- */
.category-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.category-card {
  position: relative; display: flex; flex-direction: column;
  aspect-ratio: 4/5;
  border-radius: var(--r-sm); overflow: hidden;
  background: var(--bg-darker);
  border: 1px solid var(--rule);
  isolation: isolate;
  transition: border-color .25s, transform .25s var(--ease);
}
.category-card:hover { transform: translateY(-3px); border-color: var(--terracotta-border); }
.category-card img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1;
  opacity: 0.55;
  transition: opacity .4s var(--ease), transform .6s var(--ease-out);
}
.category-card:hover img { opacity: 0.75; transform: scale(1.03); }
.category-card::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  /* Stronger overlay so title + paragraph + CTA are fully readable */
  background: linear-gradient(180deg, rgba(14,14,16,.3) 0%, rgba(14,14,16,.85) 50%, rgba(14,14,16,.98) 100%);
}
.category-card-body { margin-top: auto; padding: 26px; }
.category-number {
  display: inline-block; font-family: "Space Grotesk", sans-serif;
  font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--terracotta); margin-bottom: 14px; font-weight: 500;
}
.category-card h3 { color: #FFFFFF; margin-bottom: .5em; }
.category-card p { color: #FFFFFF; font-size: .94rem; margin-bottom: 1.3em; line-height: 1.55; }
.category-card .btn {
  background: var(--terracotta);
  color: #FFFFFF;
  border: 1.5px solid var(--terracotta);
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.category-card:hover .btn,
.category-card .btn:hover {
  background: #FFFFFF;
  color: var(--terracotta-deep);
  border-color: #FFFFFF;
}

/* ---------- Service grid (overlay cards) ---------- */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.service-card {
  position: relative; display: block;
  aspect-ratio: 4/5; border-radius: var(--r-sm); overflow: hidden;
  background: var(--bg-darker);
  border: 1px solid var(--rule);
  isolation: isolate;
  transition: transform .25s var(--ease), border-color .25s;
}
.service-card img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease-out), filter .3s var(--ease);
  filter: brightness(0.65) saturate(0.9);
}
.service-card:hover { transform: translateY(-3px); border-color: var(--terracotta-border); }
.service-card:hover img { transform: scale(1.05); filter: brightness(0.78) saturate(1); }
.service-card::after {
  content: ""; position: absolute; inset: 0;
  z-index: 1;
  /* Uniform lighter overlay — image still shines through, content remains readable in center */
  background: rgba(14, 14, 16, 0.42);
}
.service-card-body {
  position: absolute; inset: 0;
  z-index: 2;
  padding: 22px 20px;
  color: #FFFFFF;
  text-align: center;
  /* Dead-center: vertical + horizontal */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 14px;
}
.service-card-body h3 {
  color: #FFFFFF; font-size: 1.05rem; line-height: 1.25;
  margin: 0;
  font-family: "Space Grotesk", sans-serif; font-weight: 600;
  letter-spacing: -0.015em;
}
.service-card-link {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: "Space Grotesk", sans-serif;
  font-size: .76rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: #FFFFFF;
  background: var(--terracotta);
  border: 1.5px solid var(--terracotta);
  padding: 8px 16px;
  border-radius: var(--r-sm);
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.service-card-link::after { content: "→"; transition: transform .25s var(--ease); }
.service-card:hover .service-card-link,
.service-card-link:hover {
  background: #FFFFFF;
  color: var(--terracotta-deep);
  border-color: #FFFFFF;
}
.service-card:hover .service-card-link::after { transform: translateX(4px); }

/* ---------- Criss-cross alternating ---------- */
.criss-cross-list { display: grid; gap: clamp(48px, 6vw, 80px); }
.criss-cross-item {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.criss-cross-item:nth-child(even) { direction: rtl; }
.criss-cross-item:nth-child(even) > * { direction: ltr; }
.criss-cross-image { aspect-ratio: 4/3; border-radius: var(--r-sm); overflow: hidden; border: 1px solid var(--rule); }
.criss-cross-image img { width: 100%; height: 100%; object-fit: cover; }
.criss-cross-content h3 { font-size: var(--t-3xl); }
.criss-cross-content p { color: var(--text-muted); font-size: var(--t-lg); line-height: 1.6; }
.service-link {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 1em; font-weight: 600; color: var(--terracotta);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.88rem; letter-spacing: 0.04em;
  text-transform: uppercase;
  border-bottom: 1.5px solid var(--terracotta);
  padding-bottom: 4px;
  transition: color .2s, gap .2s var(--ease);
}
.service-link:hover { gap: 12px; color: var(--text-strong); border-color: var(--text-strong); }

/* ---------- About / content block ---------- */
.content-block { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.content-block-image { aspect-ratio: 4/5; border-radius: var(--r-sm); overflow: hidden; border: 1px solid var(--rule); }
.content-block-image img { width: 100%; height: 100%; object-fit: cover; }
.content-block ul { list-style: none; padding: 0; margin: 1em 0 1.5em; display: grid; gap: 10px; }
.content-block ul li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: var(--t-base);
  color: var(--text);
}
.content-block ul li::before {
  content: ""; flex: 0 0 20px; height: 20px; margin-top: 3px;
  background: var(--terracotta);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center/contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center/contain no-repeat;
}

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--terracotta); color: var(--text-strong);
  padding: clamp(56px, 7vw, 88px) 0;
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ""; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><defs><pattern id='g' width='30' height='30' patternUnits='userSpaceOnUse'><path d='M30 0 L0 0 0 30' fill='none' stroke='rgba(255,255,255,0.06)' stroke-width='1'/></pattern></defs><rect width='100%' height='100%' fill='url(%23g)'/></svg>");
  pointer-events: none;
}
.cta-banner-content { position: relative; max-width: 720px; margin: 0 auto; text-align: center; }
.cta-banner h2 { color: var(--text-strong); margin-bottom: .4em; }
.cta-banner p { color: rgba(255,255,255,.92); font-size: var(--t-lg); margin-bottom: 1.6em; }
.cta-banner-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta-banner .btn-white { background: var(--bg-deepest); color: var(--text-strong); }
.cta-banner .btn-white:hover { background: var(--text-strong); color: var(--bg); }
.cta-banner .btn-outline-white { background: transparent; color: var(--text-strong); border-color: rgba(255,255,255,.5); }
.cta-banner .btn-outline-white:hover { background: var(--text-strong); color: var(--bg); border-color: var(--text-strong); }
.cta-banner.dark { background: var(--bg-deepest); }
.cta-banner.dark::before { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><defs><pattern id='g' width='30' height='30' patternUnits='userSpaceOnUse'><path d='M30 0 L0 0 0 30' fill='none' stroke='rgba(255,255,255,0.03)' stroke-width='1'/></pattern></defs><rect width='100%' height='100%' fill='url(%23g)'/></svg>"); }
.cta-banner.dark p { color: var(--text-muted); }
.cta-banner.dark .btn-white { background: var(--terracotta); color: var(--text-strong); }
.cta-banner.dark .btn-white:hover { background: var(--terracotta-deep); }

/* ---------- Stats / process ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { padding: 28px 22px; border: 1px solid var(--rule); border-radius: var(--r-sm); background: var(--bg-elevated); }
.stat strong { font-family: "Space Grotesk", sans-serif; font-size: 2.4rem; color: var(--terracotta); display: block; line-height: 1; margin-bottom: .3em; letter-spacing: -0.02em; font-weight: 600; }
.stat span { font-size: .85rem; color: var(--text-muted); letter-spacing: 0.02em; }

.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; }
.process-step {
  padding: 26px;
  border: 1px solid var(--rule);
  border-radius: var(--r-sm);
  background: var(--bg-elevated);
  transition: border-color .2s, transform .25s var(--ease);
}
.process-step:hover { transform: translateY(-3px); border-color: var(--terracotta-border); }
.process-step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.78rem; color: var(--terracotta);
  display: block; margin-bottom: 16px; letter-spacing: 0.12em; font-weight: 600;
}
.process-step h4 { font-size: 1.1rem; line-height: 1.25; margin-bottom: .45em; color: var(--text-strong); }
.process-step p { font-size: .92rem; color: var(--text-muted); line-height: 1.55; }

/* ---------- Benefits ---------- */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.benefit {
  padding: 32px 26px;
  background: var(--bg-elevated);
  border: 1px solid var(--rule);
  border-radius: var(--r-sm);
  transition: border-color .2s, transform .25s var(--ease);
}
.benefit:hover { border-color: var(--terracotta-border); transform: translateY(-3px); }
.benefit-icon {
  width: 44px; height: 44px; border-radius: var(--r-xs);
  background: var(--terracotta-soft); color: var(--terracotta);
  border: 1px solid var(--terracotta-border);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.benefit-icon svg { width: 22px; height: 22px; stroke-width: 1.75; }
.benefit h3 { font-size: 1.2rem; margin-bottom: .4em; color: var(--text-strong); }
.benefit p { font-size: .94rem; color: var(--text-muted); margin: 0; line-height: 1.55; }

/* ---------- FAQ accordion ---------- */
.faq { max-width: 860px; margin: 0 auto; }
.faq-item {
  border-top: 1px solid var(--rule);
  transition: background .15s;
}
.faq-item:last-child { border-bottom: 1px solid var(--rule); }
.faq-trigger {
  display: flex; justify-content: space-between; align-items: center; gap: 22px;
  width: 100%; padding: 22px 0;
  text-align: left;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.1rem; line-height: 1.3; color: var(--text-strong);
  font-weight: 600; letter-spacing: -0.012em;
}
.faq-trigger:hover { color: var(--terracotta); }
.faq-icon {
  flex: 0 0 32px; height: 32px; border-radius: var(--r-xs);
  background: var(--bg-elevated); color: var(--text);
  border: 1px solid var(--rule-strong);
  display: inline-flex; align-items: center; justify-content: center;
  transition: all .25s var(--ease);
}
.faq-item.is-open .faq-icon { background: var(--terracotta); color: var(--text-strong); transform: rotate(45deg); border-color: var(--terracotta); }
.faq-icon::before { content: "+"; font-size: 1.2rem; line-height: 1; font-weight: 400; }
.faq-content {
  max-height: 0; overflow: hidden;
  transition: max-height .35s var(--ease);
}
.faq-content-inner { padding: 0 0 22px; color: var(--text-muted); font-size: 0.98rem; line-height: 1.65; max-width: 720px; }

/* ---------- Forms ---------- */
.form-grid { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.form-grid > .full { grid-column: 1 / -1; }
.field label {
  display: block; font-family: "Space Grotesk", sans-serif;
  font-size: .78rem; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--text-muted); margin-bottom: 7px;
}
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 14px;
  background: var(--bg-elevated);
  border: 1.5px solid var(--rule-strong);
  border-radius: var(--r-sm);
  font-size: 0.98rem;
  color: var(--text);
  transition: border-color .15s, background .15s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--terracotta);
  background: var(--bg-card);
  outline: none;
}
.field textarea { min-height: 130px; resize: vertical; }
.radio-group { display: grid; gap: 8px; }
.radio-group label {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 16px; border: 1.5px solid var(--rule-strong);
  border-radius: var(--r-sm);
  background: var(--bg-elevated);
  cursor: pointer; transition: border-color .15s, background .15s;
  text-transform: none; letter-spacing: 0; font-size: 0.98rem; font-weight: 500;
  color: var(--text); margin: 0;
  font-family: "Inter", sans-serif;
}
.radio-group label:hover { border-color: var(--terracotta-border); background: var(--bg-card); }
.radio-group input[type="radio"] { accent-color: var(--terracotta); }
.radio-group label:has(input:checked) { border-color: var(--terracotta); background: var(--terracotta-soft); }

.form-stepper { display: flex; gap: 10px; margin-bottom: 28px; }
.form-step-marker {
  flex: 1; height: 3px; background: var(--rule-strong); border-radius: 1.5px;
  position: relative; overflow: hidden;
}
.form-step-marker.is-active::after, .form-step-marker.is-done::after {
  content: ""; position: absolute; inset: 0; background: var(--terracotta);
}
.form-step { display: none; }
.form-step.is-active { display: block; animation: slideIn .3s var(--ease-out); }
@keyframes slideIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.form-actions { display: flex; justify-content: space-between; margin-top: 28px; gap: 12px; }

/* ---------- Page header ---------- */
.page-header {
  background: var(--bg);
  /* Tighter top padding — first text closer to top across all non-home pages */
  padding: clamp(36px, 4vw, 56px) 0 clamp(48px, 5vw, 72px);
  position: relative; overflow: hidden;
  border-bottom: 1px solid var(--rule);
}
.page-header::before {
  content: ""; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><defs><pattern id='g' width='40' height='40' patternUnits='userSpaceOnUse'><path d='M40 0 L0 0 0 40' fill='none' stroke='rgba(255,255,255,0.022)' stroke-width='1'/></pattern></defs><rect width='100%' height='100%' fill='url(%23g)'/></svg>");
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 80%);
}
.page-header-inner { position: relative; max-width: 880px; }
.page-header h1 { margin-bottom: .35em; }
.page-header p.lead { color: var(--text-muted); }
.breadcrumb {
  display: flex; gap: 8px; align-items: center; flex-wrap: wrap;
  font-family: "Space Grotesk", sans-serif;
  font-size: .78rem; color: var(--text-muted); margin-bottom: 1.4em;
  letter-spacing: 0.04em; text-transform: uppercase;
}
.breadcrumb a { color: var(--text-muted); transition: color .15s; }
.breadcrumb a:hover { color: var(--terracotta); }
.breadcrumb-sep { opacity: .4; }
.breadcrumb [aria-current] { color: var(--text); }

/* ---------- Tile types slider ---------- */
.tile-slider {
  position: relative;
}
.tile-slider-head {
  display: flex; justify-content: space-between; align-items: end;
  gap: 24px; margin-bottom: 32px;
  flex-wrap: wrap;
}
.tile-slider-head h2 { margin: 0; }
.tile-slider-head p { color: var(--text-muted); max-width: 540px; margin: 8px 0 0; }
.tile-slider-controls { display: flex; gap: 8px; }
.tile-slider-btn {
  width: 44px; height: 44px;
  border: 1.5px solid var(--rule-bright);
  border-radius: var(--r-sm);
  background: transparent; color: var(--text);
  display: inline-flex; align-items: center; justify-content: center;
  transition: all .15s;
}
.tile-slider-btn:hover:not(:disabled) { background: var(--terracotta); border-color: var(--terracotta); color: var(--text-strong); }
.tile-slider-btn:disabled { opacity: 0.3; cursor: not-allowed; }
.tile-slider-btn svg { width: 18px; height: 18px; }

.tile-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 320px);
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 12px;
  margin: 0 calc(var(--gutter) * -1);
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  scrollbar-width: thin;
  scrollbar-color: var(--rule-strong) transparent;
}
.tile-track::-webkit-scrollbar { height: 6px; }
.tile-track::-webkit-scrollbar-thumb { background: var(--rule-strong); border-radius: 3px; }

.tile-card {
  scroll-snap-align: start;
  display: flex; flex-direction: column;
  background: var(--bg-elevated);
  border: 1px solid var(--rule);
  border-radius: var(--r-sm);
  overflow: hidden;
  transition: border-color .25s, transform .25s var(--ease);
}
.tile-card:hover { border-color: var(--terracotta-border); transform: translateY(-3px); }
.tile-card-image {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg-darker);
}
.tile-card-image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease-out);
}
.tile-card:hover .tile-card-image img { transform: scale(1.05); }
.tile-card-body { padding: 20px; }
.tile-card-name {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.05rem; font-weight: 600;
  color: var(--text-strong);
  letter-spacing: -0.012em;
  margin: 0 0 6px;
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
}
.tile-card-name span { font-size: 0.7rem; color: var(--terracotta); letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; }
.tile-card-body p { font-size: 0.88rem; color: var(--text-muted); margin: 0; line-height: 1.55; }

/* ---------- Recommended tiles section (on service pages) ---------- */
.recommended-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

/* ---------- Locations grid ---------- */
.locations-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.location-card {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px; gap: 12px;
  border: 1px solid var(--rule); border-radius: var(--r-sm);
  background: var(--bg-elevated);
  transition: border-color .15s, transform .2s var(--ease), background .15s;
}
.location-card:hover { border-color: var(--terracotta-border); transform: translateX(3px); background: var(--bg-card); }
.location-card span { font-weight: 500; color: var(--text); font-size: .95rem; font-family: "Space Grotesk", sans-serif; }
.location-card::after { content: "→"; color: var(--terracotta); transition: transform .2s var(--ease); }
.location-card:hover::after { transform: translateX(3px); }

.locations-block { display: grid; gap: 48px; }
.locations-block h3 { font-size: var(--t-2xl); margin-bottom: 0; padding-bottom: 14px; border-bottom: 1px solid var(--rule); }
.locations-block .section-sub { color: var(--text-muted); font-size: 0.92rem; margin-top: -6px; margin-bottom: 22px; letter-spacing: 0.02em; }

/* ---------- Article body ---------- */
.article-body { max-width: 720px; }
.article-body h2 { font-size: var(--t-3xl); margin-top: 1.8em; }
.article-body h3 { font-size: var(--t-2xl); margin-top: 1.5em; }
.article-body p, .article-body ul, .article-body ol {
  font-size: 1.04rem; line-height: 1.7; color: var(--text);
}
.article-body ul li, .article-body ol li { margin-bottom: .55em; }
.article-body strong { color: var(--text-strong); font-weight: 600; }
.article-body a { color: var(--terracotta); border-bottom: 1px solid currentColor; }
.article-body a:hover { color: var(--text-strong); }

.article-meta {
  display: flex; gap: 18px; flex-wrap: wrap; align-items: center;
  font-family: "Space Grotesk", sans-serif;
  font-size: .82rem; color: var(--text-muted); margin-bottom: 1.8em;
  padding-bottom: 1em; border-bottom: 1px solid var(--rule);
  letter-spacing: 0.04em; text-transform: uppercase;
}
.article-meta-tag { background: var(--terracotta-soft); color: var(--terracotta); border: 1px solid var(--terracotta-border); padding: 4px 10px; border-radius: var(--r-pill); font-weight: 600; }

/* Related cards */
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.related-card {
  display: flex; flex-direction: column;
  background: var(--bg-elevated); border: 1px solid var(--rule); border-radius: var(--r-sm);
  overflow: hidden; transition: border-color .2s, transform .25s var(--ease);
}
.related-card:hover { border-color: var(--terracotta-border); transform: translateY(-3px); }
.related-card img { aspect-ratio: 16/10; width: 100%; object-fit: cover; }
.related-card-body { padding: 22px; }
.related-card h3 { font-size: 1.15rem; margin-bottom: .4em; line-height: 1.25; color: var(--text-strong); }
.related-card p { font-size: .9rem; color: var(--text-muted); margin: 0; line-height: 1.5; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-deepest);
  padding: clamp(64px, 7vw, 88px) 0 28px;
  position: relative;
  border-top: 1px solid var(--rule);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: clamp(28px, 4vw, 52px);
  margin-bottom: 44px;
}
.footer-brand img { height: 68px; margin-bottom: 22px; }
.footer-brand p { color: var(--text-muted); font-size: .9rem; max-width: 320px; line-height: 1.6; }
.footer-col h4 {
  color: var(--text-strong); font-family: "Space Grotesk", sans-serif;
  font-size: .78rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer-col a {
  color: var(--text-muted); font-size: .92rem;
  transition: color .15s;
}
.footer-col a:hover { color: var(--terracotta); }
.footer-bottom {
  border-top: 1px solid var(--rule);
  padding-top: 22px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: .8rem; color: var(--text-faint);
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: 0.02em;
}
.footer-bottom a { color: var(--text-muted); }
.footer-bottom a:hover { color: var(--terracotta); }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }
.mt-24 { margin-top: 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; white-space: nowrap; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .locations-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .top-bar { display: none; }
  .main-nav, .header-cta .btn-primary { display: none; }
  .mobile-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 42px; height: 42px; border-radius: var(--r-sm);
    border: 1.5px solid var(--rule-bright);
  }
  .mobile-toggle svg { width: 20px; height: 20px; }
  .header-cta { gap: 8px; }
  .header-phone { padding: 9px 14px; font-size: .85rem; }
  .header-phone svg { width: 13px; height: 13px; }
  .site-logo img { height: 56px; }
  .hero { min-height: auto; padding: 32px 0 0; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 16px; }
  .hero h1, .hero p.lead { max-width: none; margin-left: auto; margin-right: auto; }
  .hero-eyebrow { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-figure {
    /* Majstor comes AFTER text on mobile, close to text above + big space below */
    order: 0;
    align-self: stretch;
    margin-top: 0;          /* close to trust signals above */
    margin-bottom: 80px;    /* generous space before next section */
    min-height: 0;          /* auto-size to majstor + orange rect */
    max-height: 460px;
  }
  .hero-figure img { max-height: 420px; }
  .hero-trust {
    grid-template-columns: repeat(2, 1fr); gap: 18px;
    width: 100%; margin-left: 0; margin-right: 0;
    justify-items: center; text-align: center;
  }
  .hero-trust-item { text-align: center; }

  /* ===== MOBILE: CENTER EVERYTHING ===== */
  /* Page headers (service, location, blog, contact, about) */
  .page-header-inner { text-align: center; margin: 0 auto; }
  .page-header .breadcrumb { justify-content: center; }
  .page-header .eyebrow,
  .page-header .hero-eyebrow { margin-left: auto; margin-right: auto; }
  .page-header h1 { margin-left: auto; margin-right: auto; }
  .page-header .lead { margin-left: auto; margin-right: auto; }
  .page-header .hero-actions { justify-content: center; }

  /* Section titles & headings everywhere */
  .section-title,
  .section-title.left { text-align: center; max-width: none; margin-left: auto; margin-right: auto; }
  .section-title .eyebrow { margin-left: auto; margin-right: auto; }

  /* Content blocks (about-style two-column layouts) */
  .content-block { text-align: center; }
  .content-block .eyebrow { margin-left: auto; margin-right: auto; }
  .content-block ul { margin-left: auto; margin-right: auto; max-width: 480px; text-align: left; }
  .content-block .hero-actions { justify-content: center; }
  .content-block-image { margin: 0 auto; }

  /* Criss-cross items — also center text in each */
  .criss-cross-content { text-align: center; }
  .criss-cross-content .eyebrow { margin-left: auto; margin-right: auto; }
  .criss-cross-content .service-link { margin-left: auto; margin-right: auto; }

  /* Tile slider head — center */
  .tile-slider-head { flex-direction: column; align-items: center; text-align: center; }
  .tile-slider-head h2,
  .tile-slider-head p { margin-left: auto; margin-right: auto; }
  .tile-slider-controls { margin: 0 auto; }

  /* Locations block headings + sub */
  .locations-block h3,
  .locations-block .section-sub { text-align: center; }

  /* Form on contact page — center its column wrapper */
  .quote-form { text-align: left; } /* form fields stay left-aligned internally */

  /* Article body (blog posts) - center headings + intro, body stays readable left */
  .article-body { margin-left: auto; margin-right: auto; }
  .article-body h2, .article-body h3 { text-align: center; }

  /* Article meta (blog) center */
  .article-meta { justify-content: center; }

  /* FAQ trigger — keep left-aligned for readability, but center the section title via above */

  /* All CTA banners center (already are) */

  /* Footer columns — center on mobile */
  .footer-grid { text-align: center; }
  .footer-col ul li { display: block; }
  .footer-brand p { margin-left: auto; margin-right: auto; }
  .footer-bottom { justify-content: center; text-align: center; }

  /* Category cards (3 main hubs on homepage) — center content on mobile */
  .category-card-body { text-align: center; padding: 24px 20px; }
  .category-card .btn { margin-left: auto; margin-right: auto; }
  .category-number { display: inline-block; }

  /* Service cards (overlay grid) — center on mobile */
  .service-card-body { text-align: center; padding: 18px 16px; }
  .service-card-body h3 { margin-left: auto; margin-right: auto; }
  .service-card-link { margin-left: auto; margin-right: auto; }

  /* Tile cards (slider) — center on mobile */
  .tile-card-body { text-align: center; }
  .tile-card-name { justify-content: center; }

  /* Process steps + benefits — center text */
  .process-step, .benefit { text-align: center; }
  .benefit-icon { margin-left: auto; margin-right: auto; display: flex; }

  /* Location cards — center text */
  .location-card { justify-content: center; }
  .location-card::after { margin-left: 8px; }

  /* Stat cards */
  .stat { text-align: center; }
  .category-grid { grid-template-columns: 1fr; gap: 14px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .locations-grid { grid-template-columns: repeat(2, 1fr); }
  .stats, .process, .benefits { grid-template-columns: repeat(2, 1fr); }
  .criss-cross-item { grid-template-columns: 1fr; }
  .criss-cross-item:nth-child(even) { direction: ltr; }
  .content-block { grid-template-columns: 1fr; }
  .content-block-image { order: -1; max-height: 420px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .services-grid { grid-template-columns: 1fr; }
  .locations-grid { grid-template-columns: 1fr; }
  .stats, .process, .benefits { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-trust { grid-template-columns: repeat(2, 1fr); }
}

@media print {
  .site-header, .site-footer, .cta-banner, .mobile-menu, .top-bar { display: none; }
  body { background: white; color: black; }
}
