:root {
  --brand-900: #033b35;
  --brand-800: #045047;
  --brand-700: #0b665c;
  --brand-500: #2a8a7e;
  --mint-200: #d9e7d0;
  --mint-100: #edf3e8;
  --sand-100: #f6f7f2;
  --sand-200: #edf0e6;
  --text-900: #13211f;
  --text-700: #42514f;
  --line: #dde4df;
  --white: #ffffff;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --max-width: 1240px;
  --shadow-sm: 0 8px 20px rgba(9, 28, 24, 0.07);
  --shadow: 0 20px 44px rgba(9, 28, 24, 0.1);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text-900);
  line-height: 1.65;
  background:
    linear-gradient(180deg, rgba(217, 231, 208, 0.42) 0%, rgba(246, 247, 242, 1) 22%, rgba(237, 240, 230, 0.56) 100%),
    var(--sand-100);
}

a {
  color: var(--brand-800);
}

a:hover {
  color: var(--brand-700);
}

.container {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: 1.65rem 1.1rem;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.14;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  margin-bottom: 0.9rem;
  color: var(--brand-900);
}

h2 {
  font-size: clamp(1.46rem, 2.2vw, 1.95rem);
  margin-bottom: 0.72rem;
  color: var(--brand-900);
}

h3 {
  font-size: clamp(1.14rem, 1.7vw, 1.32rem);
  margin-bottom: 0.45rem;
  color: var(--brand-800);
}

p,
li {
  font-size: 1.02rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: linear-gradient(100deg, #0f1213 0%, #1b2221 46%, #24312f 100%);
  box-shadow: 0 10px 24px rgba(9, 20, 18, 0.28);
}

.site-header .container {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-block: 0.85rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  width: 152px;
  max-width: 38vw;
  height: auto;
  display: block;
}

.logo span {
  display: none;
}

.main-nav {
  margin-left: auto;
  position: relative;
}

.main-nav .menu {
  display: flex;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
  flex-wrap: wrap;
}

.main-nav .menu a {
  display: inline-flex;
  align-items: center;
  color: #f7faf8;
  text-decoration: none;
  font-size: 0.93rem;
  font-weight: 500;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.48rem 0.82rem;
  transition: all 0.2s ease;
}

.main-nav .menu a:hover {
  background: rgba(217, 231, 208, 0.12);
  border-color: rgba(217, 231, 208, 0.38);
}

.main-nav .current-menu-item > a,
.main-nav .current-page-ancestor > a {
  background: rgba(42, 138, 126, 0.35);
  border-color: rgba(217, 231, 208, 0.45);
}

.header-phones a {
  display: inline-flex;
  align-items: center;
  color: #f5f8f6;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid rgba(217, 231, 208, 0.6);
  border-radius: 999px;
  padding: 0.43rem 0.78rem;
  background: rgba(217, 231, 208, 0.1);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  background: transparent;
  border: 0;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  border-radius: 3px;
  background: #fff;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.34rem;
  margin: 0 0 0.82rem;
  color: var(--text-700);
  font-size: 0.92rem;
}

.breadcrumbs a {
  text-decoration: none;
}

.page-service section,
.page-ville section {
  border: 1px solid #e3e8e4;
  border-radius: var(--radius);
  background: #fff;
  padding: 1.15rem 1.1rem;
  margin-bottom: 0.9rem;
  box-shadow: var(--shadow-sm);
}

/* Hero */
.service-hero {
  display: grid;
  grid-template-columns: 1.04fr 1fr;
  overflow: hidden;
  padding: 0;
}

.service-hero__media {
  border-right: 1px solid #e2e7e3;
}

.service-hero__media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.service-hero__content {
  padding: 1.2rem 1.1rem;
  background: linear-gradient(140deg, #f8fbf7 0%, #edf4ef 70%, #f6f6f2 100%);
  border-left: 4px solid var(--brand-500);
}

.service-lead {
  margin-bottom: 0.65rem;
  font-size: 1.12rem;
  font-weight: 500;
}

.selling-points {
  margin: 0.58rem 0 0.88rem;
  padding-left: 1.05rem;
}

.selling-points li {
  margin-bottom: 0.3rem;
}

.service-hero__actions {
  margin-top: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.54rem;
}

/* Section rhythm */
.section-intro {
  background: linear-gradient(180deg, #fff 0%, #fcfdfc 100%);
}

.section-split {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 0.9rem;
}

.section-split__aside {
  border: 1px solid #dce5df;
  border-radius: 11px;
  padding: 0.95rem;
  background: linear-gradient(170deg, #f7faf7 0%, #edf3ec 100%);
}

.section-split__aside ul {
  margin: 0.62rem 0 0.92rem;
  padding-left: 1.02rem;
}

.section-split__aside li {
  margin-bottom: 0.32rem;
}

.section-items .city-links,
.section-links .city-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0.46rem;
}

.city-links a,
.city-links span {
  display: block;
  border: 1px solid #dde4df;
  border-radius: 8px;
  background: #f9fbf9;
  padding: 0.34rem 0.5rem;
  font-size: 0.93rem;
  line-height: 1.33;
  text-decoration: none;
  color: var(--brand-900);
}

.city-links a:hover {
  border-color: var(--brand-500);
  background: #fff;
}

.section-wide {
  margin-inline: -1.05rem;
  border-radius: 0;
  border-left: 0;
  border-right: 0;
  padding-inline: 1.05rem;
}

.section-practical {
  background: linear-gradient(135deg, var(--brand-900) 0%, var(--brand-800) 68%, #0d5d53 100%);
  border-color: #0f4f47;
  color: #eef5ef;
}

.section-practical h2 {
  color: #fff;
}

.seo-cards {
  display: grid;
  gap: 0.66rem;
}

.seo-card {
  border: 1px solid #cfe0d7;
  border-radius: 10px;
  background: #f7fbf8;
  color: var(--text-900);
}

.seo-card__content {
  padding: 0.88rem 0.92rem;
}

.seo-card__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 30px;
  border-radius: 999px;
  margin-bottom: 0.38rem;
  background: var(--brand-500);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 700;
}

.section-links {
  display: grid;
  gap: 0.86rem;
}

.section-links__hubs,
.section-links__cities {
  border: 1px solid #dfe6e1;
  border-radius: 11px;
  padding: 0.9rem;
  background: #fff;
}

.city-list-columns {
  list-style: none;
  margin: 0.62rem 0 0;
  padding: 0;
  column-count: 4;
  column-gap: 0.78rem;
}

.city-list-columns li {
  margin: 0 0 0.22rem;
  break-inside: avoid;
}

.city-list-columns a {
  display: block;
  border: 1px solid #e0e7e2;
  border-radius: 7px;
  background: #f9fbf9;
  padding: 0.22rem 0.4rem;
  font-size: 0.86rem;
  line-height: 1.3;
  color: #214640;
  text-decoration: none;
}

.city-list-columns a:hover {
  border-color: var(--brand-500);
  background: #fff;
}

/* CTA */
.cta--premium {
  border: 1px solid #1e5a53;
  background: linear-gradient(130deg, #0d4d46 0%, #0b665c 70%, #1f7d70 100%);
  color: #f0f7f2;
  text-align: center;
}

.cta--premium h2 {
  color: #fff;
  max-width: 820px;
  margin-inline: auto;
}

.cta__kicker {
  margin: 0 0 0.44rem;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  color: #d9e7d0;
}

.cta__actions {
  margin-top: 0.9rem;
  display: flex;
  justify-content: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  background: #d8e8cf;
  color: #173a35;
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 600;
  padding: 0.62rem 1.05rem;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  background: #e8f1e2;
}

.btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.58);
  color: #fff;
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* City pages consistency */
.hero-media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid #dfe6e1;
}

.hero-media img {
  width: 100%;
  height: clamp(220px, 32vw, 380px);
  object-fit: cover;
  display: block;
}

.page-ville .intro,
.page-ville .intro--conversion {
  border-left: 4px solid var(--brand-500);
  background: linear-gradient(135deg, #f8fbf8 0%, #eef4ee 100%);
}

.page-ville .steps {
  list-style: none;
  counter-reset: step;
  padding-left: 0;
}

.page-ville .steps li {
  position: relative;
  padding-left: 2.06rem;
  margin-bottom: 0.62rem;
}

.page-ville .steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: -0.01rem;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--brand-800);
  color: #fff;
  font-size: 0.79rem;
  font-weight: 700;
}

.page-ville .trust-box {
  border: 1px solid #dfe6e1;
  border-radius: 10px;
  background: #f8fbf8;
  padding: 0.84rem 0.9rem;
}

.faq p {
  border-left: 3px solid #afc9b7;
  padding-left: 0.72rem;
}

/* Footer blocks */
.footer-contact {
  margin-top: 2.25rem;
  background: linear-gradient(120deg, #0d403a 0%, #0a5950 60%, #0f6a5f 100%);
  color: #f1f6f2;
  border-top: 1px solid rgba(217, 231, 208, 0.35);
  padding: 1.38rem 0 1.62rem;
}

.footer-contact h2 {
  color: #fff;
}

.footer-contact__actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.site-footer {
  color: var(--text-700);
}

.footer-seo {
  padding-top: 1.1rem;
}

.footer-seo__grid {
  display: grid;
  grid-template-columns: 1fr 0.95fr 1fr 0.9fr;
  gap: 0.92rem;
}

.footer-seo h3 {
  font-size: 1rem;
  color: var(--brand-900);
  margin-bottom: 0.42rem;
}

.footer-seo ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-seo li {
  margin-bottom: 0.24rem;
}

.footer-seo a {
  font-size: 0.91rem;
  text-decoration: none;
}

.footer-city-list {
  columns: 2;
  column-gap: 0.72rem;
}

.footer-seo__copy {
  margin-top: 0.82rem;
  border-top: 1px solid #e3e8e4;
  padding-top: 0.64rem;
  font-size: 0.85rem;
}

/* Mobile */
@media (max-width: 1040px) {
  .menu-toggle {
    display: flex;
  }

  .main-nav .menu {
    display: none;
    position: absolute;
    right: 0;
    top: 122%;
    width: min(90vw, 340px);
    background: #132321;
    border: 1px solid rgba(217, 231, 208, 0.25);
    border-radius: 11px;
    padding: 0.72rem;
    flex-direction: column;
    align-items: stretch;
    box-shadow: 0 14px 30px rgba(4, 19, 17, 0.42);
  }

  .main-nav .menu li,
  .main-nav .menu a {
    width: 100%;
  }

  .main-nav.open .menu {
    display: flex;
  }

  .main-nav.open .menu-toggle span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .main-nav.open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .main-nav.open .menu-toggle span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .header-phones {
    display: none;
  }

  .service-hero,
  .section-split {
    grid-template-columns: 1fr;
  }

  .service-hero__media {
    border-right: 0;
    border-bottom: 1px solid #e2e7e3;
  }

  .city-list-columns {
    column-count: 3;
  }

  .footer-seo__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 1.12rem 0.86rem;
  }

  .page-service section,
  .page-ville section {
    padding: 0.94rem 0.82rem;
    border-radius: 11px;
  }

  .section-wide {
    margin-inline: -0.82rem;
    padding-inline: 0.82rem;
  }

  .city-list-columns {
    column-count: 2;
  }

  .footer-seo__grid {
    grid-template-columns: 1fr;
  }
}

/* Hub template redesign (Store Cousseau-like rhythm) */
.page-service-hub {
  margin-top: 0.6rem;
}

.hub-band {
  position: relative;
}

.hub-band--hero .container,
.hub-band--boxed .container {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.hub-band--hero {
  background: transparent;
}

.hub-band--boxed {
  background: transparent;
}

.hub-band--accent {
  background: linear-gradient(135deg, #0b4e46 0%, #0d5f54 58%, #1a786b 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hub-band--accent .container {
  padding-top: 1.4rem;
  padding-bottom: 1.4rem;
}

.hub-band--cta {
  background: linear-gradient(180deg, #eef2e8 0%, #d9e7d0 100%);
  border-top: 1px solid #d2dfca;
  border-bottom: 1px solid #d2dfca;
}

.hub-band--cta .container {
  padding-top: 1.2rem;
  padding-bottom: 1.3rem;
}

.hub-hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  border: 1px solid #dfe6e1;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
}

.hub-hero__media {
  border-right: 1px solid #e1e8e3;
}

.hub-hero__media img {
  width: 100%;
  height: 100%;
  min-height: 390px;
  object-fit: cover;
  display: block;
}

.hub-hero__content {
  padding: 1.25rem 1.2rem;
  background: linear-gradient(145deg, #f8fbf8 0%, #edf4ef 75%, #f8faf6 100%);
  border-left: 4px solid #2a8a7e;
}

.hub-hero .btn--ghost {
  color: #1f4540;
  border-color: #8eb2a5;
  background: #fff;
}

.hub-hero .btn--ghost:hover {
  background: #f1f6f2;
}

.hub-stack {
  display: grid;
  gap: 0.9rem;
}

.hub-panel {
  border: 1px solid #e1e8e3;
  border-radius: 14px;
  padding: 1.05rem 1rem;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.hub-panel--split {
  display: grid;
  grid-template-columns: 1.16fr 0.84fr;
  gap: 0.9rem;
}

.hub-panel__aside {
  border: 1px solid #dce5df;
  border-radius: 11px;
  padding: 0.92rem;
  background: linear-gradient(170deg, #f8fbf8 0%, #edf3ec 100%);
}

.hub-panel__aside ul {
  margin: 0.6rem 0 0.85rem;
  padding-left: 1.04rem;
}

.hub-accent-card {
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 16px;
  padding: 1.1rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  color: #eef6f1;
  backdrop-filter: blur(2px);
}

.hub-accent-card h2 {
  color: #fff;
}

.hub-accent-card .seo-cards {
  gap: 0.55rem;
}

.hub-accent-card .seo-card {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.93);
}

.hub-accent-card .seo-card__tag {
  background: #0d5f54;
}

.hub-panel--links {
  display: grid;
  gap: 0.8rem;
}

.hub-panel--links .section-links__hubs,
.hub-panel--links .section-links__cities {
  border: 1px solid #e1e8e3;
  border-radius: 10px;
  padding: 0.85rem;
  background: #fff;
}

.hub-cta {
  border: 1px solid #c8d8c0;
  border-radius: 16px;
  padding: 1.25rem 1rem;
  background: linear-gradient(135deg, #0b4e46 0%, #0d6256 65%, #1f796e 100%);
  text-align: center;
  color: #edf6f0;
  box-shadow: var(--shadow-sm);
}

.hub-cta h2 {
  color: #fff;
  max-width: 820px;
  margin-inline: auto;
}

.hub-cta .cta__kicker {
  color: #d9e7d0;
}

.hub-cta .btn {
  background: #d9e7d0;
  color: #173a35;
}

.hub-cta .btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.62);
}

.hub-cta .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

@media (max-width: 1040px) {
  .hub-hero,
  .hub-panel--split {
    grid-template-columns: 1fr;
  }

  .hub-hero__media {
    border-right: 0;
    border-bottom: 1px solid #e1e8e3;
  }

  .hub-hero__media img {
    min-height: 300px;
  }
}

/* ====== Modern Hub Overrides ====== */
.page-service-hub--modern {
  margin-top: 0;
}

.page-service-hub--modern .hub-band + .hub-band {
  margin-top: 1.3rem;
}

.page-service-hub--modern .hub-cover {
  position: relative;
  overflow: hidden;
  background: #0f2e2a;
}

.page-service-hub--modern .hub-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(620px 280px at 84% 16%, rgba(235, 192, 132, 0.28) 0%, transparent 62%),
    radial-gradient(480px 240px at 20% 82%, rgba(16, 85, 78, 0.45) 0%, transparent 66%),
    linear-gradient(125deg, #0b3444 0%, #0f5660 52%, #127064 100%);
}

.page-service-hub--modern .hub-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(6, 35, 31, 0.78) 0%, rgba(6, 35, 31, 0.58) 42%, rgba(6, 35, 31, 0.42) 100%);
}

.page-service-hub--modern .hub-cover .container {
  position: relative;
  z-index: 2;
  padding-top: 1.1rem;
  padding-bottom: 2.8rem;
}

.page-service-hub--modern .hub-cover .breadcrumbs {
  color: rgba(244, 250, 246, 0.86);
}

.page-service-hub--modern .hub-cover .breadcrumbs a {
  color: #f5fbf7;
}

.page-service-hub--modern .hub-cover__layout {
  margin-top: 2.3rem;
  display: grid;
  gap: 1rem;
  align-items: stretch;
}

.page-service-hub--modern .hub-cover__layout.has-media {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

.page-service-hub--modern .hub-cover__layout:not(.has-media) {
  max-width: 740px;
}

.page-service-hub--modern .hub-cover__content {
  width: 100%;
  margin-top: 0;
  border-radius: 16px;
  padding: 1.45rem 1.3rem;
  background: rgba(5, 28, 24, 0.55);
  border: 1px solid rgba(217, 231, 208, 0.34);
  backdrop-filter: blur(3px);
}

.page-service-hub--modern .hub-cover__service-icon {
  margin: 0 0 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.1);
  color: #f0fbf7;
  font-size: 1.4rem;
}

.page-service-hub--modern .hub-cover__content h1,
.page-service-hub--modern .hub-cover__content p,
.page-service-hub--modern .hub-cover__content li {
  color: #f3faf5;
}

.page-service-hub--modern .hub-cover__content .btn {
  background: #d9e7d0;
  color: #173a35;
}

.page-service-hub--modern .hub-cover__content .btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.66);
}

.page-service-hub--modern .hub-cover__media {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
  aspect-ratio: 1 / 1;
}

.page-service-hub--modern .hub-cover__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-service-hub--modern .hub-band--minimal .container {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.page-service-hub--modern .hub-stack--minimal {
  gap: 2rem;
}

.page-service-hub--modern .hub-panel--minimal {
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.page-service-hub--modern .hub-panel--minimal > h2 {
  margin-bottom: 0.6rem;
}

.page-service-hub--modern .hub-panel--minimal > p {
  margin-top: 0;
}

.page-service-hub--modern .hub-panel--split {
  border-top: 1px solid #d9e3dd;
  border-bottom: 1px solid #d9e3dd;
  padding: 1.4rem 0;
  grid-template-columns: 1.2fr 0.8fr;
}

.page-service-hub--modern .hub-panel__aside {
  border: 1px solid #d6e1db;
  border-radius: 12px;
  padding: 0.9rem;
  background: #f5faf6;
}

.page-service-hub--modern .items-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.48rem;
}

.page-service-hub--modern .items-grid__item {
  border: 1px solid #dce5df;
  border-radius: 8px;
  background: #f8fbf8;
  padding: 0.44rem 0.5rem;
  font-size: 0.9rem;
  line-height: 1.28;
  color: #1f4741;
}

.page-service-hub--modern .practical-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
}

.page-service-hub--modern .practical-card {
  border: 1px solid #d7e2dc;
  border-radius: 10px;
  padding: 0.82rem 0.8rem;
  background: #fbfdfb;
}

.page-service-hub--modern .practical-card h3 {
  font-size: 1rem;
  margin-bottom: 0.36rem;
}

.page-service-hub--modern .practical-card p {
  margin: 0;
  font-size: 0.92rem;
}

.page-service-hub--modern .hub-band--accent {
  background: linear-gradient(135deg, #0b4e46 0%, #0d6358 68%, #1d7a6d 100%);
}

.page-service-hub--modern .hub-band--accent .container {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.page-service-hub--modern .hub-accent-card {
  border-radius: 14px;
  padding: 1.25rem 1.1rem;
}

.page-service-hub--modern .hub-cta--ref {
  border-radius: 16px;
  padding: 1.5rem 1.2rem;
  border: 1px solid #1f675d;
  background: linear-gradient(130deg, #0d5a50 0%, #137467 70%, #1c8478 100%);
}

.page-service-hub--modern .hub-cta--ref .btn {
  background: #d9e7d0;
  color: #1a403a;
}

.page-service-hub--modern .hub-cta--ref .btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.62);
}

/* ====== Home Page ====== */
.home-page .container {
  width: min(100%, 1240px);
}

.home-page section + section {
  margin-top: 1.3rem;
}

.home-hero {
  position: relative;
  overflow: hidden;
  background: #113630;
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--hero-url);
  background-size: cover;
  background-position: center;
}

.home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(8, 36, 32, 0.84) 0%, rgba(8, 36, 32, 0.62) 48%, rgba(8, 36, 32, 0.45) 100%);
}

.home-hero .container {
  position: relative;
  z-index: 2;
  padding-top: 3.1rem;
  padding-bottom: 3.7rem;
}

.home-hero__inner {
  width: min(760px, 100%);
  border: 1px solid rgba(217, 231, 208, 0.35);
  border-radius: 16px;
  background: rgba(7, 31, 27, 0.52);
  backdrop-filter: blur(3px);
  padding: 1.3rem 1.2rem;
}

.home-hero__inner h1,
.home-hero__inner p,
.home-hero__inner li {
  color: #f2f8f4;
}

.home-hero__kicker {
  margin: 0 0 0.36rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
  font-weight: 700;
  color: #d9e7d0;
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.54rem;
  margin-top: 0.9rem;
}

.home-hero .btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.66);
  background: transparent;
}

.home-band .container {
  padding-top: 2.05rem;
  padding-bottom: 2.05rem;
}

.home-band--content {
  background: transparent;
}

.home-services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 0.78rem;
}

.home-service-card {
  border: 1px solid #dbe4de;
  border-radius: 12px;
  padding: 0.9rem 0.84rem;
  background: #fff;
}

.home-service-card p {
  margin: 0.25rem 0 0.52rem;
  font-size: 0.94rem;
}

.home-service-card a {
  font-weight: 600;
  text-decoration: none;
}

.home-band--accent {
  background: linear-gradient(135deg, #0b4e46 0%, #0f6558 66%, #1b7f72 100%);
  color: #edf6f0;
}

.home-band--accent h2,
.home-band--accent h3 {
  color: #fff;
}

.home-process {
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 14px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.08);
}

.home-process__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.home-process__grid p {
  margin: 0.22rem 0 0;
  font-size: 0.95rem;
}

.home-seo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  margin-top: 0.7rem;
}

.home-seo-grid article {
  border: 1px solid #dce4de;
  border-radius: 10px;
  background: #fff;
  padding: 0.82rem 0.8rem;
}

.home-seo-grid p {
  margin: 0.2rem 0 0;
  font-size: 0.94rem;
}

@media (max-width: 1100px) {
  .page-service-hub--modern .items-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-service-hub--modern .practical-grid,
  .home-services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-process__grid,
  .home-seo-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .page-service-hub--modern .hub-cover .container {
    padding-bottom: 1.6rem;
  }

  .page-service-hub--modern .hub-cover__layout,
  .page-service-hub--modern .hub-cover__layout.has-media {
    margin-top: 1rem;
    grid-template-columns: 1fr;
  }

  .page-service-hub--modern .hub-cover__content {
    padding: 1rem 0.9rem;
  }

  .page-service-hub--modern .hub-cover__media {
    aspect-ratio: 4 / 3;
  }

  .page-service-hub--modern .hub-band + .hub-band {
    margin-top: 0.85rem;
  }

  .page-service-hub--modern .hub-panel--split {
    grid-template-columns: 1fr;
  }

  .page-service-hub--modern .items-grid,
  .page-service-hub--modern .practical-grid {
    grid-template-columns: 1fr 1fr;
  }

  .home-services-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .page-service-hub--modern .items-grid,
  .page-service-hub--modern .practical-grid {
    grid-template-columns: 1fr;
  }
}

/* Media cards for hub practical + SEO blocks */
.page-service-hub--modern .practical-card {
  overflow: hidden;
}

.page-service-hub--modern .practical-card__icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid #d3e4de;
  background: linear-gradient(135deg, #ecf6f2 0%, #e3f0ea 100%);
  color: #0e5d53;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}

.page-service-hub--modern .practical-card h3 i,
.page-service-hub--modern .seo-card h3 i,
.page-ville--bands h2 i {
  color: #0d5f54;
  margin-right: 0.35rem;
}

.page-service-hub--modern .seo-card {
  display: grid;
  grid-template-columns: 92px 1fr;
  overflow: hidden;
}

.page-service-hub--modern .seo-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #edf6f2 0%, #e2f0ea 100%);
  border-right: 1px solid #d5e5df;
  color: #0d5f54;
  font-size: 1.8rem;
  min-height: 150px;
}

@media (max-width: 900px) {
  .page-service-hub--modern .seo-card {
    grid-template-columns: 1fr;
  }
}

/* ====== City Page unified with service archive ====== */
.page-ville--unified {
  margin-top: 0.6rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
}

.page-ville--unified .breadcrumbs {
  margin-bottom: 0.9rem;
}

.page-ville--unified h1 {
  margin-bottom: 0.8rem;
}

.page-ville--unified .hero-media {
  border-radius: 14px;
  border: 1px solid #dce6df;
  margin-bottom: 1.2rem;
}

.page-ville--unified section {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 1.05rem 0;
  margin: 0;
}

.page-ville--unified .intro.intro--conversion {
  border-top: 0;
  border-left: 4px solid #2a8a7e;
  border-radius: 12px;
  background: linear-gradient(140deg, #f6faf7 0%, #edf4ef 100%);
  padding: 0.95rem 0.95rem;
  margin-bottom: 0.5rem;
}

.page-ville--unified .intro.intro--conversion p:last-child {
  margin-bottom: 0;
}

.page-ville--unified .intro.intro--conversion .btn {
  margin-top: 0.2rem;
}

.page-ville--unified .steps li::before {
  background: #0d5d53;
}

.page-ville--unified .trust-box {
  margin-top: 0.8rem;
  border: 1px solid #d6e1da;
  border-radius: 10px;
  background: #f7fbf8;
}

.page-ville--unified .faq h3 {
  margin-top: 0.9rem;
}

.page-ville--unified .faq p {
  margin-top: 0.22rem;
}

.page-ville--unified .city-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.46rem;
}

.page-ville--unified .city-links a {
  border: 1px solid #dce6df;
  border-radius: 8px;
  background: #f8fbf8;
  padding: 0.34rem 0.5rem;
  text-decoration: none;
  color: #1f4741;
  font-size: 0.92rem;
}

.page-ville--unified .contact-highlight {
  border-top: 1px solid #d9e3dd;
  border-left: 0;
  border-radius: 0;
  background: transparent;
}

.page-ville--unified .cta {
  margin-top: 0.2rem;
  border-radius: 14px;
  border: 1px solid #1f675d;
  background: linear-gradient(130deg, #0d5a50 0%, #137467 70%, #1c8478 100%);
  color: #edf6f0;
}

.page-ville--unified .cta .btn {
  background: #d9e7d0;
  color: #1a403a;
}

@media (max-width: 820px) {
  .page-ville--unified .intro.intro--conversion {
    padding: 0.9rem 0.85rem;
  }
}

/* ====== Ville page bands (no nested container look) ====== */
.page-ville--bands {
  margin-top: 0;
}

.page-ville--bands .ville-band {
  position: relative;
}

.page-ville--bands .ville-band + .ville-band {
  margin-top: 1.9rem;
}

.page-ville--bands .ville-band--hero {
  overflow: hidden;
  background: #0f2e2a;
}

.page-ville--bands .ville-band--hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--hero-url);
  background-size: cover;
  background-position: center;
}

.page-ville--bands .ville-band--hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(7, 33, 29, 0.82) 0%, rgba(7, 33, 29, 0.58) 45%, rgba(7, 33, 29, 0.4) 100%);
}

.page-ville--bands .ville-band--hero .container {
  position: relative;
  z-index: 2;
  padding-top: 1.35rem;
  padding-bottom: 3rem;
}

.page-ville--bands .ville-band--hero .breadcrumbs {
  color: rgba(244, 250, 246, 0.9);
}

.page-ville--bands .ville-band--hero .breadcrumbs a {
  color: #f4fbf6;
}

.ville-hero-panel {
  width: min(780px, 100%);
  margin-top: 2.2rem;
  border: 1px solid rgba(217, 231, 208, 0.34);
  border-radius: 15px;
  background: rgba(6, 28, 24, 0.56);
  padding: 1.75rem 1.6rem;
  backdrop-filter: blur(3px);
}

.ville-hero-panel h1,
.ville-hero-panel p,
.ville-hero-panel li {
  color: #f3f9f5;
}

.ville-hero-panel .btn {
  background: #d9e7d0;
  color: #1a403a;
}

.ville-hero-panel .btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.65);
}

.page-ville--bands .ville-band--gallery .container {
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
}

.ville-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
}

.ville-gallery figure {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #dbe4de;
}

.ville-gallery img {
  display: block;
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.page-ville--bands .ville-band--content .container {
  padding-top: 2.2rem;
  padding-bottom: 2.2rem;
}

.ville-block {
  padding: 1.45rem 0;
  border-top: 1px solid #d9e3dd;
}

.ville-block h2 {
  font-size: clamp(1.3rem, 1.9vw, 1.7rem);
  margin-bottom: 0.58rem;
}

.ville-block p:last-child {
  margin-bottom: 0;
}

.page-ville--bands .ville-band--accent {
  background: linear-gradient(135deg, #0b4e46 0%, #0d6358 70%, #1c796d 100%);
}

.page-ville--bands .ville-band--accent .container {
  padding-top: 2.2rem;
  padding-bottom: 2.2rem;
}

.ville-block--accent {
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  padding: 1.25rem 1.1rem;
  background: rgba(255, 255, 255, 0.92);
}

.ville-block--accent + .ville-block--accent {
  margin-top: 1rem;
}

.ville-block--accent .faq p {
  border-left-color: #9bb9a9;
}

.page-ville--bands .ville-band--cta .container {
  padding-top: 1.8rem;
  padding-bottom: 1.8rem;
}

.page-ville--bands .cta__note {
  margin-top: 0.8rem;
  font-size: 0.92rem;
  color: rgba(240, 247, 242, 0.9);
}

@media (max-width: 940px) {
  .page-ville--bands .ville-band + .ville-band {
    margin-top: 1.25rem;
  }

  .page-ville--bands .ville-band--hero .container {
    padding-top: 1rem;
    padding-bottom: 1.8rem;
  }

  .ville-hero-panel {
    margin-top: 1.2rem;
    padding: 1.15rem 0.95rem;
  }

  .page-ville--bands .ville-band--content .container,
  .page-ville--bands .ville-band--accent .container {
    padding-top: 1.35rem;
    padding-bottom: 1.35rem;
  }

  .ville-block {
    padding: 1rem 0;
  }

  .ville-gallery {
    grid-template-columns: 1fr;
  }

  .ville-gallery img {
    height: 210px;
  }
}

/* ====== Contact page ====== */
.page-contact--bands .contact-band + .contact-band {
  margin-top: 1.85rem;
}

.page-contact--bands .contact-band--hero {
  background: linear-gradient(120deg, #0a4039 0%, #0d5a50 56%, #1f786b 100%);
  position: relative;
  overflow: hidden;
}

.page-contact--bands .contact-band--hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 10%, rgba(255, 255, 255, 0.2) 0, transparent 36%),
    radial-gradient(circle at 90% 20%, rgba(217, 231, 208, 0.22) 0, transparent 34%);
}

.page-contact--bands .contact-band--hero .container {
  position: relative;
  z-index: 1;
  padding-top: 1.2rem;
  padding-bottom: 2.2rem;
}

.page-contact--bands .contact-band--hero .breadcrumbs {
  color: rgba(243, 249, 245, 0.9);
}

.page-contact--bands .contact-band--hero .breadcrumbs a {
  color: #f4fbf6;
}

.contact-hero-grid {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 1rem;
}

.contact-hero-content {
  border: 1px solid rgba(217, 231, 208, 0.28);
  border-radius: 16px;
  padding: 1.45rem 1.3rem;
  background: rgba(7, 31, 27, 0.44);
  backdrop-filter: blur(3px);
}

.contact-kicker {
  margin: 0 0 0.5rem;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(217, 231, 208, 0.42);
  background: rgba(217, 231, 208, 0.14);
  color: #eaf4ee;
  border-radius: 999px;
  padding: 0.24rem 0.66rem;
  font-size: 0.82rem;
  font-weight: 600;
}

.contact-hero-content h1,
.contact-hero-content .contact-lead,
.contact-hero-content li {
  color: #f4fbf6;
}

.contact-hero-content h1 {
  margin-bottom: 0.7rem;
}

.contact-lead {
  margin: 0;
  font-size: 1.06rem;
}

.contact-points {
  margin: 0.95rem 0 0;
  padding-left: 1rem;
}

.contact-points li {
  margin-bottom: 0.28rem;
}

.contact-hero-card {
  border: 1px solid rgba(217, 231, 208, 0.4);
  border-radius: 16px;
  background: rgba(245, 250, 247, 0.96);
  padding: 1.2rem 1rem;
  box-shadow: 0 16px 34px rgba(10, 44, 39, 0.22);
}

.contact-hero-card h2 {
  margin-bottom: 0.8rem;
  font-size: clamp(1.2rem, 1.8vw, 1.45rem);
}

.contact-info-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.52rem;
}

.contact-info-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin: 0;
  color: #1e3431;
}

.contact-info-list i {
  margin-top: 0.15rem;
  color: #0f766e;
}

.contact-info-list a {
  color: #144d45;
  text-decoration: none;
  font-weight: 600;
}

.contact-actions {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.contact-band--process .container,
.contact-band--form .container,
.contact-band--faq .container,
.contact-band--cta .container {
  padding-top: 0.95rem;
  padding-bottom: 0.95rem;
}

.contact-process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
}

.contact-process-card {
  border: 1px solid #d7e1db;
  border-radius: 13px;
  background: #ffffff;
  padding: 1rem 0.9rem;
}

.contact-process-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: #0f766e;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.58rem;
}

.contact-process-card h3 {
  margin-bottom: 0.35rem;
}

.contact-process-card p {
  margin: 0;
}

.contact-main-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 0.9rem;
}

.contact-form-card,
.contact-trust-card {
  border: 1px solid #d8e2dc;
  border-radius: 14px;
  background: #fff;
  padding: 1.1rem 1rem;
  box-shadow: var(--shadow-sm);
}

.contact-form-slot {
  margin-top: 0.75rem;
}

.contact-form-placeholder {
  border: 1px dashed #adc5bb;
  border-radius: 11px;
  background: #f5faf7;
  padding: 0.95rem 0.9rem;
}

.contact-form-placeholder p {
  margin-top: 0;
}

.contact-trust-list {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.contact-trust-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  margin: 0;
}

.contact-trust-list i {
  color: #128578;
  margin-top: 0.12rem;
}

.contact-faq-list {
  margin-top: 0.65rem;
  display: grid;
  gap: 0.55rem;
}

.contact-faq-item {
  border: 1px solid #d5e0d9;
  border-radius: 11px;
  background: #fff;
  padding: 0.6rem 0.85rem;
}

.contact-faq-item summary {
  cursor: pointer;
  font-weight: 700;
  color: #153733;
}

.contact-faq-item p {
  margin: 0.55rem 0 0;
}

.contact-band--cta {
  background: linear-gradient(130deg, #0b5b50 0%, #177568 100%);
}

.contact-final-card {
  border: 1px solid rgba(217, 231, 208, 0.36);
  border-radius: 14px;
  background: rgba(7, 36, 31, 0.3);
  padding: 1.25rem 1.05rem;
}

.contact-final-card h2,
.contact-final-card p {
  color: #ecf7f1;
}

.contact-final-card .btn {
  background: #d9e7d0;
  color: #1a403a;
}

.contact-final-card .btn--ghost {
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
  background: transparent;
}

.contact-legal-note {
  margin-top: 0.9rem;
  font-size: 0.9rem;
  color: rgba(236, 247, 241, 0.9);
}

@media (max-width: 980px) {
  .contact-hero-grid,
  .contact-main-grid {
    grid-template-columns: 1fr;
  }

  .contact-process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .page-contact--bands .contact-band + .contact-band {
    margin-top: 1.2rem;
  }

  .contact-hero-content,
  .contact-hero-card,
  .contact-form-card,
  .contact-trust-card,
  .contact-final-card {
    padding: 0.95rem 0.85rem;
  }
}
