/* ============================================================
   SHARED VARIABLES & RESET (identical to homepage)
   ============================================================ */
:root {
  --granat: #1B2A4A;
  --granat-rgb: 27, 42, 74;
  --stal: #6B7B8D;
  --biel: #F5F6F8;
  --biel-alt: #EBEDF1;
  --pomarancz: #E8612D;
  --pomarancz-hover: #D4551F;
  --pomarancz-active: #C04A1A;
  --zielen: #2D8C5A;
  --tekst: #1E1E1E;
  --font-head: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Source Sans 3', sans-serif;
  --max-w: 1120px;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow: 0 2px 12px rgba(var(--granat-rgb), 0.08);
  --shadow-hover: 0 4px 24px rgba(var(--granat-rgb), 0.14);
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--tekst);
  background: var(--biel);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }
.section { padding: 64px 0; }
.section--white { background: #fff; }
.section--light { background: var(--biel); }
.section--dark { background: var(--granat); color: #fff; }

h1, h2, h3 {
  font-family: var(--font-head);
  color: var(--granat);
  letter-spacing: -0.02em;
  line-height: 1.15;
}
h1 { font-weight: 800; font-size: clamp(1.75rem, 5vw, 3rem); }
h2 { font-weight: 700; font-size: clamp(1.5rem, 4vw, 2.25rem); }
h3 { font-weight: 700; font-size: clamp(1.125rem, 3vw, 1.5rem); }

.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }

/* ============================================================
   SHARED COMPONENTS (buttons, nav, footer — same as homepage)
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-head); font-weight: 700; font-size: 1.0625rem;
  border: none; border-radius: var(--radius); cursor: pointer;
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
  white-space: nowrap; text-decoration: none;
}
.btn--primary {
  height: 56px; padding: 0 40px; background: var(--pomarancz); color: #fff;
}
.btn--primary:hover {
  background: var(--pomarancz-hover);
  box-shadow: 0 4px 20px rgba(232,97,45,0.35);
  transform: translateY(-1px);
}
.btn--secondary {
  height: 56px; padding: 0 40px; background: transparent;
  color: var(--granat); border: 2px solid var(--granat);
}
.btn--secondary:hover { background: var(--granat); color: #fff; }
.btn--full { width: 100%; }
.section--dark .btn--secondary { color: #fff; border-color: rgba(255,255,255,0.4); }
.section--dark .btn--secondary:hover { background: #fff; color: var(--granat); border-color: #fff; }

/* NAV */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(var(--granat-rgb), 0.97);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between; height: 64px;
}
.nav__logo {
  font-family: var(--font-head); font-weight: 800; font-size: 1.5rem;
  color: #fff; letter-spacing: -0.03em;
}
.nav__logo span { color: var(--pomarancz); }
.nav__phone {
  display: flex; align-items: center; gap: 8px; color: #fff;
  font-family: var(--font-head); font-weight: 600; font-size: 0.9375rem;
}
.nav__phone svg { width: 18px; height: 18px; stroke: var(--pomarancz); stroke-width: 2; fill: none; }
.nav__links { display: none; list-style: none; gap: 28px; align-items: center; }
.nav__links a {
  font-family: var(--font-head); font-weight: 600; font-size: 0.9375rem;
  color: rgba(255,255,255,0.7); transition: color var(--transition);
}
.nav__links a:hover { color: #fff; }
.nav__cta { height: 44px !important; padding: 0 24px !important; font-size: 0.9375rem !important; }
.nav__hamburger {
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 32px; height: 32px; cursor: pointer; background: none; border: none; padding: 4px;
}
.nav__hamburger span { display: block; width: 100%; height: 2px; background: #fff; border-radius: 2px; transition: var(--transition); }
.nav__hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav__hamburger.active span:nth-child(2) { opacity: 0; }
.nav__hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
.nav__mobile {
  position: fixed; top: 64px; left: 0; right: 0; bottom: 0;
  background: var(--granat); display: flex; flex-direction: column;
  padding: 32px 20px; transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1); z-index: 999;
}
.nav__mobile.open { transform: translateX(0); }
.nav__mobile a {
  font-family: var(--font-head); font-weight: 700; font-size: 1.375rem;
  color: #fff; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,0.08); display: block;
}
.nav__mobile .btn { margin-top: 24px; width: 100%; }

/* ============================================================
   SUBPAGE HERO (shorter than homepage hero)
   ============================================================ */
.sub-hero {
  padding: 130px 0 64px;
  background: var(--granat);
  position: relative;
  overflow: hidden;
}
.sub-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.04) 1px, transparent 0);
  background-size: 32px 32px;
  pointer-events: none;
}
.sub-hero__content { position: relative; z-index: 1; max-width: 720px; }
.sub-hero__breadcrumb {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sub-hero__breadcrumb a {
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}
.sub-hero__breadcrumb a:hover { color: #fff; }
.sub-hero__breadcrumb svg {
  width: 14px; height: 14px;
  stroke: rgba(255,255,255,0.3);
  stroke-width: 2; fill: none;
}
.sub-hero h1 { color: #fff; margin-bottom: 20px; }
.sub-hero__desc {
  color: rgba(255,255,255,0.65);
  font-size: 1.0625rem;
  line-height: 1.7;
  max-width: 580px;
}

/* ============================================================
   SUBPAGE CONTENT AREA
   ============================================================ */
.content-section { padding: 64px 0; }

.content-grid {
  display: grid;
  gap: 48px;
}

/* Main prose column */
.content-main { max-width: 720px; }

.content-main p {
  margin-bottom: 20px;
  line-height: 1.7;
}

.content-main h2 {
  margin-top: 48px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  position: relative;
}

.content-main h2::after {
  content: '';
  position: absolute; bottom: 0; left: 0;
  width: 40px; height: 3px;
  background: var(--pomarancz);
  border-radius: 2px;
}

.content-main h2:first-child { margin-top: 0; }

.content-main h3 {
  margin-top: 32px;
  margin-bottom: 12px;
}

.content-main strong { color: var(--granat); }

/* Inline feature list (not bullet points — styled blocks) */
.feature-grid {
  display: grid;
  gap: 16px;
  margin: 32px 0;
}

.feature-item {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: box-shadow var(--transition), transform var(--transition);
}

.section--white .feature-item { background: var(--biel); }

.feature-item:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-1px);
}

.feature-item__icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: var(--radius);
  background: rgba(232,97,45,0.1);
  display: flex; align-items: center; justify-content: center;
}

.feature-item__icon svg {
  width: 22px; height: 22px;
  stroke: var(--pomarancz); stroke-width: 2; fill: none;
  stroke-linecap: round; stroke-linejoin: round;
}

.feature-item h3 { font-size: 1rem; margin: 0 0 4px; }
.feature-item p { color: var(--stal); font-size: 0.9375rem; margin: 0; }

/* Sidebar (sticky on desktop) */
.content-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
}

.section--white .sidebar-card { background: var(--biel); }

.sidebar-card h3 {
  font-size: 1rem;
  margin-bottom: 12px;
}

.sidebar-card p {
  color: var(--stal);
  font-size: 0.9375rem;
  margin-bottom: 16px;
  line-height: 1.6;
}

.sidebar-card .btn { font-size: 0.9375rem; height: 48px; padding: 0 24px; }

/* Special CTA card */
.sidebar-cta {
  background: var(--granat);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.sidebar-cta::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.03) 1px, transparent 0);
  background-size: 20px 20px;
  pointer-events: none;
}

.sidebar-cta > * { position: relative; z-index: 1; }
.sidebar-cta h3 { color: #fff; }
.sidebar-cta p { color: rgba(255,255,255,0.7); }

/* ============================================================
   LOCAL CONTEXT BANNER (for city-specific content)
   ============================================================ */
.local-banner {
  padding: 32px;
  background: var(--biel);
  border-radius: var(--radius-lg);
  border-left: 3px solid var(--pomarancz);
  margin: 40px 0;
}

.section--white .local-banner { background: var(--biel-alt); }

.local-banner h3 {
  font-size: 1.0625rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.local-banner h3 svg {
  width: 20px; height: 20px;
  stroke: var(--pomarancz); stroke-width: 2; fill: none;
}

.local-banner p {
  color: var(--stal);
  margin: 0;
}

/* ============================================================
   BOTTOM CTA STRIP
   ============================================================ */
.cta-strip {
  padding: 64px 0;
  background: var(--granat);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.03) 1px, transparent 0);
  background-size: 28px 28px;
  pointer-events: none;
}
.cta-strip__inner { position: relative; z-index: 1; max-width: 600px; margin: 0 auto; }
.cta-strip h2 { color: #fff; margin-bottom: 16px; }
.cta-strip p { color: rgba(255,255,255,0.65); margin-bottom: 32px; font-size: 1.0625rem; }

/* ============================================================
   RELATED SERVICES (bottom links)
   ============================================================ */
.related { padding: 64px 0; }
.related__label {
  font-family: var(--font-head); font-weight: 700; font-size: 0.8125rem;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--stal);
  margin-bottom: 20px;
}
.related__grid { display: grid; gap: 16px; }
.related__link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; background: #fff; border-radius: var(--radius-lg);
  box-shadow: var(--shadow); transition: box-shadow var(--transition), transform var(--transition);
}
.related__link:hover { box-shadow: var(--shadow-hover); transform: translateY(-1px); }
.related__link-title {
  font-family: var(--font-head); font-weight: 700; font-size: 1rem; color: var(--granat);
}
.related__link-city { font-size: 0.8125rem; color: var(--stal); margin-top: 2px; }
.related__link svg {
  width: 20px; height: 20px; stroke: var(--pomarancz);
  stroke-width: 2; fill: none; flex-shrink: 0;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer { padding: 32px 0; background: #111827; text-align: center; }
.footer__inner { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.footer__logo { font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; color: #fff; }
.footer__logo span { color: var(--pomarancz); }
.footer__copy { color: rgba(255,255,255,0.3); font-size: 0.8125rem; }
.footer__links { display: flex; gap: 24px; list-style: none; flex-wrap: wrap; justify-content: center; }
.footer__links a { color: rgba(255,255,255,0.4); font-size: 0.8125rem; transition: color var(--transition); }
.footer__links a:hover { color: #fff; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (min-width: 768px) {
  .container { padding: 0 32px; }
  .section, .content-section { padding: 80px 0; }
  .sub-hero { padding: 140px 0 72px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .related__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  body { font-size: 18px; }
  .nav__inner { height: 72px; }
  .nav__links { display: flex; }
  .nav__hamburger { display: none; }
  .nav__phone--mobile { display: none; }
  .sub-hero { padding: 160px 0 80px; }
  .content-section { padding: 96px 0; }

  .content-grid {
    grid-template-columns: 1fr 340px;
    gap: 64px;
  }

  .content-sidebar {
    position: sticky;
    top: 96px;
    align-self: start;
  }

  .related__grid { grid-template-columns: repeat(4, 1fr); }
}
