:root {
  --color-bg: #ffffff;
  --color-bg-alt: #f7f9fa;
  --color-bg-tint: #f0f7fb;
  --color-primary: #1a1f24;
  --color-accent: #009fda;
  --color-accent-hover: #0080b3;
  --color-success: #10b981;
  --color-text-muted: #6b7280;
  --color-border: #e5e7eb;
  --font-sans: system-ui, -apple-system, sans-serif;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-float: 0 20px 40px -10px rgba(0, 0, 0, 0.08);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --gradient-surface: linear-gradient(135deg, var(--color-bg-alt) 0%, var(--color-bg-tint) 100%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 80px;
}

body {
  background-color: var(--color-bg);
  color: var(--color-primary);
  font-family: var(--font-sans);
  line-height: 1.5;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

h1,
h2,
h3,
h4 {
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--color-primary);
}

h1 {
  font-size: 2.25rem;
  letter-spacing: -0.04em;
  margin-bottom: 1rem;
}

h2 {
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
}

h3 {
  font-size: 1.25rem;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: 3.5rem 0;
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-blue {
  color: var(--color-accent);
}

.section-heading {
  margin-bottom: 3rem;
}

.section-kicker {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  color: var(--color-text-muted);
  text-align: center;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-weight: 600;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 1rem;
  padding: 0.875rem 1.75rem;
}

.btn-primary {
  background-color: var(--color-accent);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: var(--color-accent-hover);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-primary);
}

.btn-outline:hover {
  border-color: var(--color-primary);
}

.btn-light {
  background: #ffffff;
  color: var(--color-primary);
}

.btn-on-dark {
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  z-index: 1000;
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}

header.scrolled {
  border-bottom-color: var(--color-border);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
  position: relative;
}

.logo {
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-icon {
  width: 28px;
  height: 28px;
  background: var(--color-accent);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 14px;
}

.nav-links {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  background: var(--color-bg);
  padding: 0;
  z-index: 99;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  visibility: hidden;
}

.nav-links.nav-active {
  transform: translateX(0);
  visibility: visible;
}

.nav-links .nav-links-inner {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 6rem 2rem 2rem;
  overflow-y: auto;
}

.nav-links a:not(.btn) {
  padding: 1.125rem 0;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  color: var(--color-primary);
  border-bottom: 1px solid var(--color-border);
  transition: color 0.2s;
}

.nav-links a:not(.btn):first-child {
  border-top: 1px solid var(--color-border);
}

.nav-links a:not(.btn):hover {
  color: var(--color-accent);
}

.nav-links .btn.btn-primary.header-primary-action {
  margin-top: auto;
  width: 100%;
  justify-content: center;
  padding: 1rem 1.5rem;
  font-size: 1.125rem;
  border-radius: var(--radius-pill);
}

.nav-links-contact {
  padding: 1.5rem 2rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.nav-links-contact a {
  color: var(--color-accent);
  font-weight: 600;
}

body.menu-open {
  overflow: hidden;
}

.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-primary);
  z-index: 100;
  position: relative;
  border-radius: var(--radius-sm);
  transition: background 0.2s;
}

.menu-toggle:hover {
  background: var(--color-bg-alt);
}

.menu-toggle svg {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-secondary-action,
.header-primary-action {
  padding: 0.5rem 1rem;
}

.header-secondary-action {
  border-color: transparent;
}

.header-primary-action {
  padding-inline: 1.25rem;
}

.hero {
  padding-top: 100px;
  padding-bottom: 2rem;
  text-align: center;
  position: relative;
}

.hero h1 {
  font-size: 2rem;
  line-height: 1.15;
}

.hero-description {
  font-size: 1rem;
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.search-wrapper {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 800px;
  margin: 1.5rem auto;
  box-shadow: var(--shadow-float);
}

.search-input-group {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0.75rem 1rem;
  flex: 1;
  border-radius: var(--radius-pill);
  background: var(--color-bg-alt);
}

.search-input-group svg {
  width: 20px;
  height: 20px;
  color: var(--color-text-muted);
  flex-shrink: 0;
}

.search-input-group input {
  border: none;
  background: transparent;
  font-size: 1rem;
  outline: none;
  width: 100%;
  color: var(--color-primary);
}

.search-input-group input::placeholder {
  color: #9ca3af;
}

/* Autocomplete dropdown */
.autocomplete-list {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-float);
  list-style: none;
  margin: 0;
  padding: 0.25rem 0;
  z-index: 100;
  max-height: 280px;
  overflow-y: auto;
}

.autocomplete-list:has(.autocomplete-item) {
  display: block;
}

.autocomplete-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  font-size: 0.9375rem;
  color: var(--color-primary);
  cursor: pointer;
  transition: background 0.15s;
}

.autocomplete-item:hover,
.autocomplete-item.active {
  background: var(--color-bg-alt);
}

.autocomplete-badge {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  background: var(--color-bg-alt);
  padding: 0.125rem 0.5rem;
  border-radius: var(--radius-pill);
  flex-shrink: 0;
}

.autocomplete-item.active .autocomplete-badge,
.autocomplete-item:hover .autocomplete-badge {
  background: #ffffff;
}

.search-btn {
  width: 100%;
}

.trust-metrics {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-top: 1rem;
  font-weight: 500;
}

.trust-metrics span {
  color: var(--color-success);
  font-weight: 700;
}

.hero-semicircle-wrapper {
  width: 100%;
  max-width: 900px;
  margin: 1.5rem auto 0;
  padding: 0;
}

.hero-semicircle {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.categories-section {
  padding: 2rem 0;
  border-bottom: 1px solid var(--color-border);
}

.categories-scroll {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding: 1rem 1.5rem 0.5rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.categories-scroll::-webkit-scrollbar {
  display: none;
}

.category-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.625rem;
  min-width: 90px;
  padding: 1rem 0.75rem;
  border-radius: var(--radius-md);
  scroll-snap-align: start;
  cursor: pointer;
  text-decoration: none;
  color: var(--color-primary);
  transition: var(--transition);
}

.category-item:hover {
  background: var(--color-bg-alt);
}

.category-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: var(--color-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  transition: var(--transition);
  border: 1px solid var(--color-border);
}

.category-item:hover .category-icon {
  background: var(--color-accent);
  color: #ffffff;
  border-color: var(--color-accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 159, 218, 0.25);
}

.category-icon svg {
  width: 24px;
  height: 24px;
}

.category-item span {
  font-size: 0.8125rem;
  font-weight: 600;
  white-space: nowrap;
  color: var(--color-text-muted);
  transition: var(--transition);
}

.category-item:hover span {
  color: var(--color-primary);
}

.popular-projects {
  background: var(--color-bg-alt);
}

.section-label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}

.section-subtitle {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
  max-width: 560px;
  margin: 0.5rem auto 0;
}

.guarantee-item p,
.resources-description,
.footer-col p,
.footer-bottom {
  color: var(--color-text-muted);
}

.guarantee-section {
  background: var(--color-bg-alt);
  position: relative;
  overflow: hidden;
}

.guarantee-header {
  max-width: 640px;
  margin: 0 auto 2rem;
}

.guarantee-title {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.guarantee-description {
  color: var(--color-text-muted);
  font-size: 1.125rem;
}

.guarantee-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}

.guarantee-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.guarantee-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  transition: var(--transition);
}

.guarantee-item:hover {
  box-shadow: var(--shadow-sm);
  border-color: rgba(0, 159, 218, 0.3);
}

.guarantee-item-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: rgba(0, 159, 218, 0.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
}

.guarantee-item-icon svg {
  width: 24px;
  height: 24px;
}

.guarantee-item-body h3 {
  font-size: 1.125rem;
  margin-bottom: 0.375rem;
}

.guarantee-item-body p {
  font-size: 0.9375rem;
  line-height: 1.6;
}

.guarantee-visual {
  display: flex;
  justify-content: center;
}

.guarantee-card {
  background: linear-gradient(135deg, #00546f 0%, #003f55 100%);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  text-align: center;
  color: #ffffff;
  max-width: 380px;
  width: 100%;
  box-shadow: 0 20px 48px rgba(0, 159, 218, 0.25);
  position: relative;
  overflow: hidden;
}

.guarantee-card::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 120px;
  height: 120px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.guarantee-card::after {
  content: '';
  position: absolute;
  bottom: -30px;
  left: -30px;
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
}

.shield-icon {
  width: 80px;
  height: 80px;
  background: rgba(0, 63, 85, 0.35);
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  margin-bottom: 1.5rem;
}

.shield-icon svg {
  width: 40px;
  height: 40px;
}

.guarantee-card-title {
  font-size: 1.5rem;
  line-height: 1.3;
  margin-bottom: 0.75rem;
  color: #ffffff;
}

.guarantee-card-subtitle {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 1.75rem;
}

.guarantee-card-link {
  display: inline-block;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #005777;
  background: #ffffff;
  padding: 0.625rem 1.5rem;
  border-radius: 999px;
  text-decoration: none;
  transition: var(--transition);
}

.guarantee-card-link:hover {
  background: #f0f7fb;
}

.guarantee-visual h2 {
  font-size: 2rem;
  color: var(--color-accent);
  max-width: 400px;
  margin: 0 auto;
}

.bento-section {
  background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-tint) 100%);
}

.bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

/* ── Content card: bento variant ── */
.content-card--bento {
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  min-height: 200px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-primary);
  text-decoration: none;
}

.content-card--bento.large {
  min-height: 300px;
  padding: 2rem;
}

.content-card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform 0.6s ease;
}

.content-card--bento:hover .content-card-bg {
  transform: scale(1.05);
}

.content-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 60%);
  z-index: 1;
}

.content-card-overlay-body {
  position: relative;
  z-index: 2;
  color: #ffffff;
}

.content-card-overlay-body h3 {
  color: #ffffff;
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.content-card--bento.large h3 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
  max-width: 400px;
}

.content-card-link-label {
  font-size: 0.875rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.resources-section {
  background: var(--color-bg);
}

.section-padding--compact {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.cms-status-card {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.25rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--color-bg) 0%, var(--color-bg-alt) 100%);
  box-shadow: var(--shadow-sm);
}

.cms-status-card h2 {
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
}

.cms-status-card p {
  margin: 0;
  color: var(--color-text-muted);
}

.cms-status-icon,
.section-empty-state-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-tint);
  color: var(--color-accent);
}

.cms-status-icon svg,
.section-empty-state-icon svg {
  width: 26px;
  height: 26px;
}

.section-empty-state {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1rem;
  align-items: center;
  width: min(100%, 760px);
  margin: 0 auto;
  padding: 1.5rem;
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg-alt);
  text-align: left;
}

.section-empty-state h3 {
  font-size: 1.125rem;
  margin-bottom: 0.35rem;
}

.section-empty-state p {
  margin: 0;
  color: var(--color-text-muted);
}

.cta-section {
  padding: 0;
  background: var(--color-bg);
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
}

.cta-container {
  background: var(--color-primary);
  border-radius: var(--radius-lg);
  padding: 2.5rem 1.5rem 0;
  color: #ffffff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cta-container h2 {
  color: #ffffff;
  font-size: 1.75rem;
  max-width: 500px;
  margin: 0 auto 1rem;
}

.cta-container p {
  color: #9ca3af;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.cta-image {
  width: 100%;
  max-width: 400px;
  margin-top: 2rem;
  transform: translateY(20px);
  border-radius: 20px 20px 0 0;
}

footer {
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  padding: 4rem 0 2rem;
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  margin-bottom: 1.5rem;
  color: var(--color-primary);
}

.footer-col h4 {
  font-size: 1rem;
  color: var(--color-primary);
  margin-bottom: 1.25rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col a:hover {
  color: var(--color-accent);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
}

.footer-badge-wrap {
  display: flex;
  gap: 1.5rem;
  font-weight: 600;
}

.footer-badge {
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 6px;
}

@media (min-width: 768px) {
  h1 {
    font-size: 3.5rem;
  }

  h2 {
    font-size: 2.75rem;
    margin-bottom: 1.5rem;
  }

  .section-padding {
    padding: 6rem 0;
  }

  .section-subtitle {
    font-size: 1.0625rem;
    margin-top: 0.75rem;
  }

  .categories-section {
    padding: 3rem 0;
  }

  .categories-scroll {
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 1.5rem;
  }

  .search-wrapper {
    flex-direction: row;
    padding: 0.5rem;
    border-radius: 100px;
    margin: 2.5rem auto;
  }

  .search-input-group {
    border-radius: 0;
    background: transparent;
  }

  .search-input-group:first-child {
    border-right: 1px solid var(--color-border);
  }

  .search-btn {
    width: auto;
  }

  .hero {
    padding-top: 150px;
    padding-bottom: 4rem;
  }

  .hero h1 {
    font-size: 3.5rem;
  }

  .hero-description {
    font-size: 1.125rem;
  }

  .hero-semicircle-wrapper {
    margin-top: 4rem;
    padding: 0 1rem;
  }

  .hero-semicircle {
    height: 350px;
    border-radius: 400px 400px 0 0;
  }

  .guarantee-item {
    padding: 1.5rem;
    gap: 1.25rem;
  }

  .guarantee-header {
    margin-bottom: 3.5rem;
  }

  .guarantee-title {
    font-size: 2.5rem;
  }

  .guarantee-grid {
    grid-template-columns: 1fr 380px;
    gap: 3rem;
    align-items: center;
  }

  .guarantee-visual {
    justify-content: flex-end;
  }

  .bento-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 250px;
  }

  .content-card--bento.large {
    grid-column: span 3;
  }

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

  .cms-status-card,
  .section-empty-state {
    padding: 1.5rem 1.75rem;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }

  .cta-section {
    margin-top: 4rem;
    margin-bottom: 4rem;
  }

  .cta-container {
    padding: 4rem 2rem 0;
  }

  .cta-container h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
  }

  .cta-container p {
    margin-bottom: 2.5rem;
    font-size: 1.125rem;
  }
}

@media (min-width: 1024px) {
  .nav-links {
    position: static;
    flex-direction: row;
    width: auto;
    transform: none;
    visibility: visible;
    background: transparent;
    padding: 0;
    gap: 2rem;
    align-items: center;
    font-weight: 600;
    font-size: 0.95rem;
    transition: none;
  }

  .nav-links a:not(.btn) {
    padding: 0;
    font-size: 0.95rem;
    border: none;
    letter-spacing: normal;
  }

  .nav-links a:not(.btn):first-child {
    border: none;
  }

  .nav-links .btn.btn-primary.header-primary-action {
    margin-top: 0;
    width: auto;
    padding: 0.5rem 1.25rem;
    font-size: 0.95rem;
  }

  .nav-links-contact {
    display: none;
  }

  .nav-links .nav-links-inner {
    display: contents;
  }

  .menu-toggle {
    display: none;
  }

  .bento-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 300px;
  }

  .content-card--bento.large {
    grid-column: span 2;
    grid-row: span 2;
  }

  .content-card--bento.tall {
    grid-column: span 1;
    grid-row: span 2;
  }

  .cta-container {
    flex-direction: row;
    text-align: left;
    padding: 4rem;
    justify-content: space-between;
    align-items: center;
  }

  .cta-container h2 {
    margin: 0 0 1rem;
  }

  .cta-image {
    margin-top: 0;
    transform: translateY(40px);
    width: 45%;
  }

  .cta-content {
    max-width: 50%;
  }
}

/* ====================== */
/* Listing & Detail Pages */
/* ====================== */

.page-hero {
  padding-top: 5.5rem;
  padding-bottom: 1.5rem;
  background: var(--color-bg-tint);
}

.page-hero-title {
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.text-accent {
  color: var(--color-accent);
}

.page-hero h1 {
  color: var(--color-accent);
}

.page-hero-description {
  color: var(--color-text-muted);
  max-width: 600px;
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-bottom: 1.25rem;
}

.breadcrumb a {
  color: var(--color-text-muted);
}

.breadcrumb a:hover {
  color: var(--color-accent);
}

.breadcrumb span[aria-current] {
  color: var(--color-primary);
  font-weight: 500;
}

/* Category pills */
.category-pills {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 0.25rem;
}

.category-pills::-webkit-scrollbar {
  display: none;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 0.4375rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  color: var(--color-primary);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.pill:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.pill--active {
  background: var(--color-accent);
  color: #ffffff;
  border-color: var(--color-accent);
}

.pill--active:hover {
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  color: #ffffff;
}

@media (min-width: 768px) {
  .page-hero {
    padding-top: 7rem;
    padding-bottom: 2rem;
  }

  .page-hero-title {
    font-size: 2.75rem;
    margin-bottom: 0.75rem;
  }

  .page-hero-description {
    font-size: 1.0625rem;
    margin-bottom: 1.5rem;
  }

  .category-pills {
    flex-wrap: wrap;
    overflow-x: visible;
  }
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 640px) {
  .content-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .content-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.content-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.content-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.content-card-link {
  display: block;
  color: inherit;
}

.content-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.content-card-placeholder {
  width: 100%;
  height: 200px;
  background: var(--gradient-surface);
}

.content-card-body {
  padding: 1.25rem;
}

.content-card-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}

.content-card-body h3 {
  margin-bottom: 0.5rem;
}

.content-card-price {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}

.content-card-body p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 3rem;
}

.pagination-info {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

/* Article / Detail Page */

.article-page {
  padding-top: 72px;
}

.article-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 110;
  background: transparent;
}

.article-progress-bar {
  width: 0;
  height: 100%;
  background: var(--color-accent);
  transition: width 0.12s linear;
}

.page-hero .article-badge {
  margin-bottom: 0.75rem;
}

.article-price {
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}

.article-cover-container {
  padding-top: 1rem;
  padding-bottom: 0.5rem;
}

.article-cover {
  max-width: 768px;
  margin: 0 auto;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.article-cover img {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
  display: block;
}

.article-cover-fallback {
  width: 100%;
  height: 260px;
  background: var(--gradient-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  opacity: 0.5;
}

.article-container {
  max-width: 1180px;
  padding-top: 3rem;
  padding-bottom: 4rem;
}

.article-main {
  max-width: 768px;
}

.article-sidebar {
  display: none;
}

.article-sidebar-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-float);
}

.article-sidebar-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-accent);
  background: var(--color-bg-tint);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1rem;
}

.article-sidebar-card h2 {
  font-size: 1.375rem;
  margin-bottom: 0.75rem;
}

.article-sidebar-card p {
  color: var(--color-text-muted);
  line-height: 1.6;
}

.article-sidebar-price {
  margin-top: 1rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-accent) !important;
}

.article-sidebar-cta {
  display: flex;
  width: 100%;
  margin-top: 1.25rem;
}

.article-sidebar-note {
  margin-top: 1rem;
  font-size: 0.875rem;
}

.article-header {
  margin-bottom: 2.5rem;
}

.article-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-accent);
  background: var(--color-bg-tint);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1rem;
}

.article-excerpt {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  margin-top: 1rem;
}

.article-price {
  font-weight: 600;
  color: var(--color-accent);
  margin-top: 0.5rem;
}

.article-body h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.article-body h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.article-body p {
  line-height: 1.75;
  margin-bottom: 1rem;
  color: var(--color-primary);
}

.article-body ul,
.article-body ol {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.article-body ul {
  list-style: disc;
}

.article-body ol {
  list-style: decimal;
}

.article-body li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.article-body blockquote {
  border-left: 4px solid var(--color-accent);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: var(--color-bg-tint);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.article-image {
  margin: 1.5rem 0;
}

.article-image img {
  border-radius: var(--radius-md);
}

.article-image figcaption {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: 0.5rem;
  text-align: center;
}

/* Table of contents */
.article-toc {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
}

.article-toc-title {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.article-toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.article-toc-list li {
  margin-bottom: 0.35rem;
}

.article-toc-list li a {
  color: var(--color-accent);
  text-decoration: none;
  font-size: 0.95rem;
  line-height: 1.6;
  transition: color 0.15s ease;
  display: inline;
}

.article-toc-list li a:hover {
  color: var(--color-accent-hover);
  text-decoration: underline;
}

/* Smooth scroll anchor offset */
.article-body h2[id] {
  scroll-margin-top: 5rem;
}

/* FAQ accordion section */
.faq-section {
  margin-top: 2.5rem;
  margin-bottom: 2rem;
}

.faq-section > h2 {
  margin-bottom: 1.25rem;
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item:hover {
  border-color: var(--color-accent);
}

.faq-item[open] {
  border-color: var(--color-accent);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  background: var(--color-bg);
  transition: background-color 0.2s ease;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '';
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--color-text-muted);
  border-bottom: 2px solid var(--color-text-muted);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-item[open] summary::after {
  transform: rotate(-135deg);
}

.faq-item summary:hover {
  background: var(--color-bg-alt);
}

.faq-answer {
  padding: 0 1.25rem 1.25rem;
}

.faq-answer p {
  line-height: 1.75;
  margin-bottom: 0.75rem;
  color: var(--color-primary);
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-answer ul,
.faq-answer ol {
  margin: 0.75rem 0;
  padding-left: 1.5rem;
}

.faq-answer ul {
  list-style: disc;
}

.faq-answer ol {
  list-style: decimal;
}

.faq-answer li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.article-footer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}

/* Inline CTA banner */
.article-cta-banner {
  margin-top: 3rem;
  padding: 2.5rem 2rem;
  background: var(--color-bg-tint);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  text-align: center;
}

.article-cta-banner h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  margin-top: 0;
}

.article-cta-banner p {
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.article-cta-btn {
  font-size: 1.0625rem;
  padding: 1rem 2.25rem;
}

/* Floating mobile CTA bar */
.article-mobile-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--color-border);
  padding: 0.75rem 1rem;
  padding-bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.article-mobile-cta.visible {
  transform: translateY(0);
}

.article-mobile-cta-btn {
  display: flex;
  width: 100%;
  justify-content: center;
  font-size: 1rem;
  padding: 0.875rem 1.5rem;
}

.article-back-to-top {
  position: fixed;
  right: 1rem;
  bottom: 5.5rem;
  width: 48px;
  height: 48px;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--color-primary);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  z-index: 89;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.article-back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.article-back-to-top:hover {
  border-color: var(--color-accent);
}

@media (min-width: 768px) {
  .article-mobile-cta {
    display: none;
  }

  .article-back-to-top {
    bottom: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .article-container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 3rem;
    align-items: start;
  }

  .article-sidebar {
    display: block;
    position: sticky;
    top: 96px;
  }
}

.article-related {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--color-border);
}

.article-related h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.5rem;
}

.article-related-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .article-related-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.article-related-card {
  display: block;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  text-decoration: none;
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.article-related-card:hover {
  border-color: var(--color-accent);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

.article-related-image {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
}

.article-related-placeholder {
  width: 100%;
  height: 140px;
  background: var(--gradient-surface);
}

.article-related-body {
  padding: 1.25rem;
}

.article-related-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}

.article-related-card h3 {
  font-size: 1rem;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.article-related-card p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* ============================== */
/* Service Result Page            */
/* ============================== */

/* Selected Service Card */
.selected-service {
  padding-top: 0;
}

.selected-service-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-float);
}

.selected-service-body {
  padding: 2rem 1.5rem;
}

.selected-service-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-accent);
  background: var(--color-bg-tint);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1rem;
}

.selected-service-title {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.selected-service-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
}

.selected-service-location {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

.selected-service-location svg {
  color: var(--color-accent);
  flex-shrink: 0;
}

.selected-service-price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-accent);
}

.selected-service-description {
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  max-width: 520px;
}

.selected-service-features {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.selected-service-feature {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-primary);
}

.selected-service-feature svg {
  color: var(--color-success);
  flex-shrink: 0;
}

.selected-service-cta {
  font-size: 1.0625rem;
  padding: 1rem 2.25rem;
}

.selected-service-image img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.selected-service-image-placeholder {
  width: 100%;
  height: 240px;
  background: var(--gradient-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  opacity: 0.5;
}

@media (min-width: 768px) {
  .selected-service-card {
    flex-direction: row;
  }

  .selected-service-body {
    flex: 1;
    padding: 2.5rem;
  }

  .selected-service-title {
    font-size: 2rem;
  }

  .selected-service-image {
    flex: 0 0 40%;
    max-width: 40%;
  }

  .selected-service-image img,
  .selected-service-image-placeholder {
    height: 100%;
    min-height: 360px;
  }

  .selected-service-features {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem;
  }
}

/* How It Works */
.how-it-works {
  background: var(--color-bg-alt);
}

.how-it-works-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2.5rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.how-it-works-step {
  text-align: center;
  padding: 1.5rem;
}

.how-it-works-number {
  width: 56px;
  height: 56px;
  background: var(--color-accent);
  color: #ffffff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
}

.how-it-works-step h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.how-it-works-step p {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
  max-width: 300px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .how-it-works-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
}

/* Service Result FAQ */
.sr-faq {
  background: var(--color-bg);
}

.sr-faq-list {
  max-width: 720px;
  margin: 2rem auto 0;
}

/* Other Services */
.other-services {
  background: var(--color-bg-alt);
}

.other-services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.other-service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem 1rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: var(--transition);
  text-decoration: none;
  color: var(--color-primary);
}

.other-service-card:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.other-service-icon {
  width: 48px;
  height: 48px;
  background: var(--color-bg-alt);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  border: 1px solid var(--color-border);
  transition: var(--transition);
}

.other-service-card:hover .other-service-icon {
  background: var(--color-accent);
  color: #ffffff;
  border-color: var(--color-accent);
}

.other-service-icon svg {
  width: 24px;
  height: 24px;
}

.other-service-card h3 {
  font-size: 0.9375rem;
  font-weight: 600;
}

@media (min-width: 768px) {
  .other-services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

/* ============================== */
/* Offerte (Quote Request) Page   */
/* ============================== */

.offerte-page {
  padding-top: 5rem;
  padding-bottom: 2rem;
  background: var(--color-bg-alt);
}

.offerte-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Sidebar summary */
.offerte-sidebar {
  order: -1;
}

.offerte-summary-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  position: relative;
  overflow: hidden;
}

.offerte-summary-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-accent);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.offerte-summary-title {
  font-size: 1.125rem;
  margin: 0.75rem 0 0.75rem;
  line-height: 1.3;
}

.offerte-summary-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.offerte-summary-meta svg {
  color: var(--color-accent);
  flex-shrink: 0;
}

.offerte-summary-features {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--color-border);
  margin-top: 0.25rem;
}

.offerte-summary-features span {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-primary);
}

.offerte-summary-features svg {
  color: var(--color-success);
  flex-shrink: 0;
}

/* Form area */
.offerte-form-area {
  flex: 1;
}

.offerte-form-area h1 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.offerte-form-area > p {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  margin-bottom: 1rem;
}

/* Fieldsets */
.offerte-fieldset {
  border: none;
  padding: 1.25rem;
  margin: 0 0 1rem;
  background: var(--color-bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

.offerte-fieldset-title {
  font-size: 1.0625rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.offerte-fieldset-title::before {
  counter-increment: offerte-step;
  content: counter(offerte-step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #ffffff;
  font-size: 0.8125rem;
  font-weight: 700;
  flex-shrink: 0;
}

.offerte-form {
  counter-reset: offerte-step;
}

.offerte-budget-label {
  font-weight: 700;
  font-size: 0.9375rem;
  margin-bottom: 0.75rem;
}

.offerte-budget-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.offerte-budget-option {
  cursor: pointer;
}

.offerte-budget-option input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.offerte-budget-option span {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  padding: 0.75rem 0.875rem;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  height: 100%;
}

.offerte-budget-option span strong {
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.2;
}

.offerte-budget-option span small {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--color-text-muted);
  line-height: 1.3;
}

.offerte-budget-option:hover span {
  border-color: var(--color-accent);
}

.offerte-budget-option input:checked + span {
  border-color: var(--color-accent);
  background: var(--color-bg);
  box-shadow: 0 0 0 1px var(--color-accent);
}

.offerte-budget-option--full {
  grid-column: 1 / -1;
}

.offerte-budget-option--stretch {
  grid-column: 1 / -1;
}

/* ── Step 2 : Description & Upload ── */
.offerte-label {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.offerte-label small {
  font-weight: 400;
  color: var(--color-text-muted);
}

.offerte-textarea {
  display: block;
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0.875rem 1rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--color-primary);
  resize: vertical;
  transition: border-color 0.2s;
  margin-bottom: 1.5rem;
}

.offerte-textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}

/* Upload zone */
.offerte-upload-zone {
  border: 2px dashed var(--color-border);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1rem;
  text-align: center;
  transition: border-color 0.2s, background 0.2s;
}

.offerte-upload-zone.drag-over {
  border-color: var(--color-accent);
  background: var(--color-bg-tint);
}

.offerte-upload-placeholder svg {
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}

.offerte-upload-placeholder p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

.offerte-upload-browse {
  background: none;
  border: none;
  color: var(--color-accent);
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  font-size: inherit;
  font-family: inherit;
}

.offerte-upload-placeholder small {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  display: block;
  margin-top: 0.25rem;
}

.offerte-file-list {
  list-style: none;
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.offerte-file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.75rem;
  background: var(--color-bg-alt);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
}

.offerte-file-item button {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text-muted);
  font-size: 1.125rem;
  line-height: 1;
  padding: 0 0.25rem;
}

.offerte-file-item button:hover {
  color: #ef4444;
}

/* ── Step 3 : Personal details ── */
.offerte-client-toggle {
  display: inline-flex;
  background: var(--color-bg-alt);
  border-radius: var(--radius-pill);
  padding: 4px;
  margin-bottom: 1.5rem;
}

.offerte-client-option {
  cursor: pointer;
}

.offerte-client-option input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.offerte-client-option span {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  transition: var(--transition);
  color: var(--color-text-muted);
}

.offerte-client-option input:checked + span {
  background: #ffffff;
  color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}

.offerte-fields-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.offerte-field label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.375rem;
}

.offerte-field input {
  display: block;
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-family: var(--font-sans);
  color: var(--color-primary);
  transition: border-color 0.2s;
}

.offerte-field input:focus {
  outline: none;
  border-color: var(--color-accent);
}

.offerte-house-row {
  display: flex;
  gap: 0.5rem;
}

.offerte-house-row input:first-child {
  flex: 1;
}

.offerte-house-row input:last-child {
  width: 80px;
  flex-shrink: 0;
}

/* Navigation */
.offerte-nav {
  display: flex;
  gap: 1rem;
  margin-top: 0;
  padding: 0;
}

.offerte-btn-submit {
  width: 100%;
  margin-left: 0;
  padding: 1rem;
  font-size: 1.0625rem;
}

.offerte-btn-submit:disabled {
  background-color: var(--color-text-muted);
  color: #ffffff;
  cursor: not-allowed;
  pointer-events: none;
}

/* Validation inline error */
.offerte-error-msg {
  font-size: 0.8125rem;
  color: #ef4444;
  margin-top: 0.25rem;
}

/* ── Responsive ── */
@media (min-width: 768px) {
  .offerte-page {
    background: var(--color-bg);
  }

  .offerte-container {
    flex-direction: row;
    gap: 3rem;
  }

  .offerte-sidebar {
    order: 0;
    flex: 0 0 280px;
    position: sticky;
    top: 96px;
    align-self: flex-start;
  }

  .offerte-page {
    padding-top: 7rem;
    padding-bottom: 4rem;
  }

  .offerte-summary-card {
    background: linear-gradient(160deg, var(--color-bg-tint) 0%, var(--color-bg) 60%);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
  }

  .offerte-form-area h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
  }

  .offerte-fieldset {
    padding: 0;
    margin: 0 0 2rem;
    background: transparent;
    border: none;
    border-radius: 0;
  }

  .offerte-fieldset-title {
    font-size: 1.25rem;
  }

  .offerte-fieldset-title::before {
    display: none;
  }

  .diensten-cta-card,
  .dienst-cta-card {
    padding: 3rem 2rem;
  }

  .offerte-budget-options {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
  }

  .offerte-budget-option--stretch {
    grid-column: 2 / span 2;
  }

  .offerte-fields-grid {
    grid-template-columns: 1fr 1fr;
  }

  .offerte-field--full {
    grid-column: 1 / -1;
  }

  .offerte-nav {
    margin: 2rem 0 0;
    padding: 1.5rem 0 0;
    border-top: 1px solid var(--color-border);
  }

  .offerte-btn-submit {
    width: auto;
    margin-left: auto;
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
  }
}

/* ═══════════════════════════════════════════════════════════════
   DIENSTEN — Listing & Detail pages
   ═══════════════════════════════════════════════════════════════ */



/* ── Service grid (listing) ──────────────────────────────────── */

.diensten-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .diensten-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .diensten-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.dienst-card {
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: var(--transition);
  text-decoration: none;
  color: inherit;
  position: relative;
}

.dienst-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 1.5rem;
  right: 1.5rem;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--color-accent);
  opacity: 0;
  transition: var(--transition);
}

.dienst-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: transparent;
}

.dienst-card:hover::before {
  opacity: 1;
}

.dienst-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--color-bg-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  transition: var(--transition);
  flex-shrink: 0;
}

.dienst-card:hover .dienst-card-icon {
  background: var(--color-accent);
  color: #ffffff;
}

.dienst-card-icon svg {
  width: 24px;
  height: 24px;
}

.dienst-card-body {
  flex: 1;
  margin-top: 1.25rem;
}

.dienst-card-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.dienst-card-description {
  color: var(--color-text-muted);
  font-size: 0.875rem;
  line-height: 1.65;
}

.dienst-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: 1.25rem;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--color-accent);
  transition: var(--transition);
}

.dienst-card:hover .dienst-card-link {
  gap: 0.625rem;
}

.dienst-card-link svg {
  transition: var(--transition);
}

/* ── Listing process steps ───────────────────────────────────── */

.diensten-process {
  background: var(--color-bg-alt);
}

.diensten-process-description {
  color: var(--color-text-muted);
  font-size: 1.0625rem;
  margin-bottom: 3rem;
}

.diensten-process-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 640px) {
  .diensten-process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .diensten-process-steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

.diensten-process-step {
  text-align: center;
}

.diensten-step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.diensten-process-step h3 {
  margin-bottom: 0.5rem;
}

.diensten-process-step p {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
}

/* ── Listing CTA ─────────────────────────────────────────────── */

.diensten-cta-card {
  background: var(--color-primary);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
}

.diensten-cta-card h2 {
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.diensten-cta-card p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 480px;
  margin: 0 auto 1.5rem;
}

/* ═══════════════════════════════════════════════════════════════
   DIENST DETAIL PAGE
   ═══════════════════════════════════════════════════════════════ */



.dienst-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.dienst-hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.dienst-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.dienst-trust-item svg {
  color: var(--color-success);
  flex-shrink: 0;
}

/* ── Sticky nav ──────────────────────────────────────────────── */

.dienst-nav {
  position: sticky;
  top: 64px;
  z-index: 40;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
  padding: 0.75rem 0;
}

.dienst-nav .container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.dienst-nav-list {
  display: flex;
  gap: 0.25rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  flex: 1;
}

.dienst-nav-list::-webkit-scrollbar {
  display: none;
}

.dienst-nav-list a {
  display: inline-block;
  padding: 0.375rem 0.875rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-muted);
  border-radius: var(--radius-pill);
  white-space: nowrap;
  transition: var(--transition);
}

.dienst-nav-list a:hover {
  background: var(--color-bg-alt);
  color: var(--color-primary);
}

.dienst-nav-cta {
  display: none;
}

@media (min-width: 768px) {
  .dienst-nav-cta {
    display: inline-flex;
  }
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
}

/* ── Intro section ───────────────────────────────────────────── */

.dienst-intro {
  max-width: 800px;
  margin: 0 auto;
}

.dienst-intro h2 {
  margin-bottom: 1.5rem;
}

.dienst-intro-text {
  margin-bottom: 2rem;
}

.dienst-intro-text p {
  color: var(--color-text-muted);
  font-size: 1.0625rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.dienst-intro-text p:last-child {
  margin-bottom: 0;
}

/* ── Benefits grid ───────────────────────────────────────────── */

.dienst-benefits {
  background: var(--color-bg-alt);
}

.dienst-benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .dienst-benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .dienst-benefits-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.dienst-benefit-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: var(--transition);
}

.dienst-benefit-card:hover {
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.dienst-benefit-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--color-bg-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  margin-bottom: 1rem;
}

.dienst-benefit-card h3 {
  margin-bottom: 0.5rem;
}

.dienst-benefit-card p {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* ── Process steps (detail) ──────────────────────────────────── */

.dienst-process {
  background: var(--color-bg);
}

.dienst-process-subtitle {
  color: var(--color-text-muted);
  font-size: 1.0625rem;
  margin-bottom: 3rem;
}

.dienst-process-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .dienst-process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .dienst-process-steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

.dienst-process-step {
  text-align: center;
  position: relative;
}

.dienst-step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.dienst-process-step h3 {
  margin-bottom: 0.5rem;
}

.dienst-process-step p {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
}

/* ── FAQ accordion ───────────────────────────────────────────── */

.dienst-faq {
  background: var(--color-bg);
}

.dienst-faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.dienst-faq-item {
  border-bottom: 1px solid var(--color-border);
}

.dienst-faq-item:first-child {
  border-top: 1px solid var(--color-border);
}

.dienst-faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  list-style: none;
}

.dienst-faq-question::-webkit-details-marker {
  display: none;
}

.dienst-faq-question::marker {
  content: "";
}

.dienst-faq-chevron {
  flex-shrink: 0;
  transition: transform 0.25s ease;
  color: var(--color-text-muted);
}

.dienst-faq-item[open] .dienst-faq-chevron {
  transform: rotate(180deg);
}

.dienst-faq-answer {
  padding-bottom: 1.25rem;
}

.dienst-faq-answer p {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* ── Related projects ────────────────────────────────────────── */

.dienst-related {
  background: var(--color-bg-alt);
}

/* ── Detail CTA ──────────────────────────────────────────────── */

.dienst-cta {
  background: var(--color-bg);
}

.dienst-cta-card {
  background: var(--color-primary);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
}

.dienst-cta-card h2 {
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.dienst-cta-card p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 520px;
  margin: 0 auto 1.5rem;
}

.dienst-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.dienst-cta-actions .btn-outline {
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

.dienst-cta-actions .btn-outline:hover {
  border-color: #ffffff;
}

/* ── Responsive detail page ──────────────────────────────────── */


}