:root {
  --ink: #13202f;
  --muted: #607085;
  --line: #dbe3ec;
  --paper: #f7f9fb;
  --white: #fff;
  --brand: #126c7a;
  --brand-dark: #0c4d58;
  --accent: #b9442e;
  --gold: #f5b84b;
  --shadow: 0 18px 60px rgba(19, 32, 47, .14);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  min-height: 76px;
  padding: 0 clamp(18px, 4vw, 64px);
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.logo {
  display: inline-flex;
  align-items: center;
  font-size: 1.45rem;
  letter-spacing: 0;
  font-weight: 700;
}

.logo img {
  display: block;
  width: auto;
  height: 42px;
  object-fit: contain;
}

.logo span { color: var(--brand); }
.logo strong { color: var(--accent); }

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: #26394d;
  font-weight: 650;
  font-size: .9rem;
}

.nav-item {
  position: relative;
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a:hover, .footer a:hover { color: var(--brand); }

.nav > .nav-item > a {
  position: relative;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
}

.nav > .nav-item > a.is-active {
  color: var(--brand-dark);
}

.nav > .nav-item > a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -19px;
  height: 3px;
  border-radius: 999px;
  background: var(--accent);
}

.nav-item.is-current .nav-toggle::before {
  border-color: var(--accent);
}

.nav-toggle {
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle::before {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: rotate(45deg) translateY(-2px);
  transition: transform .18s ease;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% - 8px);
  left: 50%;
  transform: translateX(-50%);
  width: 260px;
  display: none;
  padding: 10px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.nav-dropdown a {
  display: block;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: .9rem;
}

.nav-dropdown a:hover { background: #eef6f7; }
.nav-dropdown a.is-active {
  background: #e7f3f5;
  color: var(--brand-dark);
  font-weight: 850;
}
.nav-item:hover .nav-dropdown,
.nav-item.is-open .nav-dropdown { display: block; }

.nav-item.is-open .nav-toggle::before {
  transform: rotate(225deg) translate(-1px, -1px);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.phone, .lang {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  border: 1px solid var(--line);
  padding: 0 12px;
  font-weight: 750;
}

.phone { background: var(--brand); color: white; border-color: var(--brand); }
.lang { background: white; }
.phone-chip,
.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 850;
}

.phone-chip-icon,
.phone-link-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 18px;
}

.phone-chip-icon svg,
.phone-link-icon svg {
  width: 18px;
  height: 18px;
  display: block;
  fill: currentColor;
}

.phone-chip-label {
  display: none;
}

.phone-link-label {
  text-transform: none;
}

.btn.phone-link {
  gap: 10px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
  font-size: 1.1rem;
}

.hero {
  position: relative;
  min-height: clamp(410px, 56vh, 560px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #10202c;
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 26, 37, .84), rgba(8, 26, 37, .56) 46%, rgba(8, 26, 37, .14));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, 90vw);
  margin-left: 5vw;
  padding: 46px 0;
  color: white;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: .82rem;
  text-transform: uppercase;
  font-weight: 850;
  letter-spacing: 0;
}

.hero h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(2.35rem, 4.7vw, 4.65rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero p:not(.eyebrow) {
  max-width: 650px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, .88);
  font-size: clamp(1rem, 1.55vw, 1.2rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.aeo-section {
  padding-top: 34px;
}

.aeo-answer-card {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(240px, .95fr);
  gap: 24px;
  align-items: start;
  padding: 24px;
  margin-bottom: 22px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 28px rgba(19, 32, 47, .06);
}

.inline-aeo {
  margin: 0 0 20px;
}

.aeo-answer-copy strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.08rem;
  line-height: 1.35;
  color: var(--ink);
}

.aeo-answer-copy p {
  margin: 0;
  color: #314458;
  font-size: 1rem;
}

.aeo-bullet-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.aeo-bullet-list li {
  position: relative;
  padding-left: 18px;
  color: #385067;
  font-weight: 600;
}

.aeo-bullet-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
}

.aeo-entities h3 {
  margin: 0 0 12px;
  font-size: 1rem;
}

.chip-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip-cloud span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #f7fafc;
  color: #3a5268;
  font-weight: 700;
  font-size: .92rem;
}

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 6px;
  padding: 0 20px;
  font-weight: 850;
  cursor: pointer;
}

.btn.primary { background: var(--accent); color: white; }
.btn.secondary { background: white; color: var(--ink); border: 1px solid var(--line); }
.btn.danger { background: #fff0ed; color: #8d341f; border: 1px solid #f2c3b8; }

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.trust-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(1180px, 90vw);
  margin: -26px auto 0;
  position: relative;
  z-index: 3;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 12px 34px rgba(19, 32, 47, .12);
}

.trust-band span {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  background: white;
  color: var(--ink);
  font-weight: 850;
  text-align: center;
}

.trust-row span {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: 6px;
  padding: 0 12px;
  background: rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .9);
  font-weight: 700;
  font-size: .9rem;
}

.notice {
  width: min(1120px, 90vw);
  margin: 22px auto 0;
  padding: 14px 18px;
  border-radius: 6px;
  background: #e7f7ef;
  border: 1px solid #a9dfbf;
  color: #185b35;
  font-weight: 700;
}

.section {
  width: min(1180px, 90vw);
  margin: 0 auto;
  padding: 42px 0;
}

.compact-section { padding-top: 18px; }

.section-head {
  max-width: 760px;
  margin-bottom: 30px;
}

.section h2 {
  margin: 0;
  font-size: clamp(1.6rem, 2.5vw, 2.4rem);
  line-height: 1.15;
  max-width: 820px;
}

.section p { color: var(--muted); font-size: 1.03rem; }

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 56px 36px;
}

.service-card, .review-card, .area-card, .booking-form, .admin-card, .metric {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 28px rgba(19, 32, 47, .07);
}

.service-card {
  min-height: 340px;
  padding: 0 18px 20px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  cursor: pointer;
  touch-action: manipulation;
  will-change: transform;
  transition: transform .16s ease;
}

.service-card:hover,
.service-card:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.service-photo {
  width: calc(100% + 36px);
  height: 132px;
  margin: 0 -18px 16px;
  object-fit: contain;
  object-position: center;
  background: #f5f8fa;
  padding: 8px;
}

.service-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: #e7f3f5;
  color: var(--brand-dark);
  font-weight: 900;
}

.service-card h3 { margin: 8px 0 8px; font-size: 1.25rem; }
.service-card p { margin: 0 0 14px; font-size: .92rem; }
.service-card .card-link-text {
  margin-top: auto;
  color: var(--brand);
  font-weight: 850;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 440px);
  gap: 42px;
  align-items: start;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.metric { padding: 24px; }
.metric strong { display: block; font-size: 2.2rem; color: var(--brand); }
.metric span { color: var(--muted); font-weight: 700; }

.check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.check-list li {
  padding: 12px 14px;
  border-radius: 6px;
  background: white;
  border: 1px solid var(--line);
  font-weight: 700;
}

.keyword-block {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.keyword-block h3 {
  margin: 0 0 12px;
  font-size: 1.1rem;
}

.keyword-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.keyword-list span {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px 10px;
  background: white;
  color: var(--muted);
  font-size: .88rem;
  font-weight: 700;
}

.booking-form {
  display: grid;
  gap: 12px;
  padding: 24px;
}

.booking-form h2 { font-size: 1.45rem; }

label {
  display: grid;
  gap: 6px;
  color: #314459;
  font-weight: 800;
  font-size: .9rem;
}

input, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px 13px;
  font: inherit;
  color: var(--ink);
  background: white;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.area-grid, .review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.area-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin-bottom: 34px;
}

.area-intro p {
  max-width: 760px;
  margin: 0 0 18px;
}

.area-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.area-feature-grid span {
  display: flex;
  align-items: center;
  min-height: 58px;
  padding: 12px 16px;
  border-radius: 8px;
  background: white;
  border: 1px solid var(--line);
  color: var(--brand-dark);
  font-weight: 850;
}

.area-map-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.area-map-card {
  overflow: hidden;
  border-top: 4px solid var(--gold);
  background: white;
  box-shadow: 0 8px 28px rgba(19, 32, 47, .07);
}

.area-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px 16px;
}

.area-card-head h3 {
  margin: 0;
  color: #3435a5;
  font-size: 1.35rem;
}

.area-card-head a {
  color: var(--ink);
  font-weight: 750;
  white-space: nowrap;
}

.area-card-head .phone-link {
  color: var(--accent);
}

.area-map-card iframe {
  display: block;
  width: calc(100% - 48px);
  height: 200px;
  margin: 0 24px;
  border: 0;
}

.area-service-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  margin: 26px 24px 28px;
  padding: 22px 0 0;
  border-top: 1px dashed var(--line);
  list-style: none;
  text-align: center;
}

.area-service-list a {
  color: #3f4656;
  font-weight: 650;
}

.area-service-list a::before {
  content: "✓";
  margin-right: 8px;
  color: #3435a5;
  font-weight: 900;
}

.area-card, .review-card { padding: 22px; }
.area-card h3 { margin: 0 0 6px; }
.area-card a, .stars { color: var(--accent); font-weight: 850; }
.review-card strong { display: block; margin-top: 16px; }
.review-carousel {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  gap: 12px;
  align-items: center;
}

.review-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 32px) / 3);
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 4px 0;
}

.review-track::-webkit-scrollbar { display: none; }

.review-track .review-card {
  scroll-snap-align: start;
  min-height: 240px;
}

.review-nav {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: white;
  color: var(--brand-dark);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(19, 32, 47, .08);
}
.review-source {
  display: inline-block;
  margin-top: 6px;
  color: var(--muted);
  font-size: .82rem;
  font-weight: 750;
}

.review-action {
  display: flex;
  justify-content: center;
  margin-top: 22px;
}

.blog-section {
  padding-top: 34px;
}

.blog-hero {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 14px;
}

.blog-hero h2 {
  max-width: 620px;
  font-size: clamp(1.65rem, 2.4vw, 2.35rem);
}

.blog-hero p {
  max-width: 720px;
  margin-bottom: 0;
}

.blog-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 22px;
}

.blog-categories span {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 7px 10px;
  background: white;
  color: var(--muted);
  font-size: .85rem;
  font-weight: 800;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.blog-card {
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: white;
  display: grid;
  grid-template-rows: auto 1fr;
  color: inherit;
  will-change: transform;
  transition: transform .16s ease;
}

.blog-card:hover,
.blog-card:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.blog-image {
  min-height: 190px;
  aspect-ratio: 16 / 10;
  background: #f5f8fa;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 16px;
  position: static;
  background: #f5f8fa;
}

.blog-card div {
  padding: 16px;
}

.blog-card .blog-image { padding: 0; }

.blog-card span {
  color: var(--accent);
  font-size: .82rem;
  font-weight: 850;
}

.blog-category {
  display: inline-flex;
  margin: 10px 0 2px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #edf6f7;
  color: var(--brand);
  font-style: normal;
  font-size: .78rem;
  font-weight: 800;
}

.blog-card h3 {
  margin: 8px 0;
  font-size: 1.05rem;
  line-height: 1.32;
}

.blog-card p {
  margin: 0 0 14px;
  font-size: .9rem;
}

.blog-card a {
  color: var(--brand);
  font-weight: 850;
}

.blog-card .card-link-text {
  display: inline-block;
  margin-top: 2px;
  color: var(--brand);
  font-weight: 850;
}

.blog-post-image {
  width: 100%;
  max-height: 360px;
  object-fit: contain;
  object-position: center;
  border-radius: 8px;
  margin: 20px 0;
  padding: 12px;
  background: #f5f8fa;
  border: 1px solid var(--line);
}

.content-image-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 22px 0;
}

.content-grid-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  object-position: center;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #f8fafc;
  padding: 10px;
}

.faq-list {
  display: grid;
  gap: 22px;
}

.faq-item {
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.faq-item h3 {
  margin: 0;
  font-size: 1.04rem;
  line-height: 1.35;
}

.faq-item p {
  margin: 10px 0 0;
  padding: 0;
}

.readable {
  max-width: 860px;
  font-size: 1.08rem;
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.brand-card {
  display: grid;
  gap: 7px;
  padding: 18px;
  border-radius: 8px;
  background: white;
  border: 1px solid var(--line);
  will-change: transform;
  transition: transform .16s ease;
}

.brand-card:hover,
.brand-card:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.brand-logo-mark {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  min-width: 132px;
  padding: 8px 14px;
  border-radius: 8px;
  background: #f5f8fa;
  border: 1px solid var(--line);
  color: var(--brand-dark);
  font-weight: 900;
  font-size: 1.2rem;
  letter-spacing: 0;
}

.brand-card strong { color: var(--brand-dark); }
.brand-card span { color: var(--muted); font-size: .92rem; }
.brand-card .brand-logo-mark { color: var(--brand-dark); font-size: 1.2rem; }

.brand-service-matrix {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.brand-service-matrix h3 {
  margin: 0 0 14px;
  font-size: 1.2rem;
}

.brand-service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.brand-service-grid a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--brand-dark);
  font-weight: 800;
}

.brand-service-grid a:hover {
  border-color: rgba(18, 108, 122, .4);
  background: #f4fbfc;
}

.footer {
  display: grid;
  grid-template-columns: 1.3fr repeat(4, minmax(0, 1fr));
  gap: 26px;
  padding: 44px 5vw 22px;
  color: white;
  background: #10202c;
}

.footer p { max-width: 440px; color: rgba(255, 255, 255, .78); }
.footer h3 { margin: 0 0 12px; font-size: 1rem; }
.footer a, .footer span { display: block; margin: 7px 0; color: rgba(255, 255, 255, .86); font-size: .94rem; }
.footer .logo {
  width: fit-content;
  padding: 8px 10px;
  border-radius: 8px;
  background: white;
}

.footer .logo img {
  height: 52px;
  filter: none;
}

.footer .btn,
.footer a.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.footer .phone-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 7px 0;
  color: rgba(255, 255, 255, .86);
  white-space: nowrap;
}

.footer .phone-link span {
  display: inline;
  margin: 0;
  color: inherit;
  font-size: inherit;
}

.footer a.footer-email {
  display: inline-flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
}

.footer a.footer-email span {
  display: inline;
  margin: 0;
  color: inherit;
  font-size: inherit;
}

.footer-cta {
  min-width: 168px;
  margin-top: 16px;
  width: fit-content;
  text-align: center;
}
.footer-column a { line-height: 1.28; }
.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.footer-bottom span {
  margin: 0;
  color: rgba(255, 255, 255, .68);
  font-size: .86rem;
}

.admin-body { background: #eef3f7; }
.admin-shell { width: min(1280px, 92vw); margin: 36px auto; }
.admin-top { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.admin-top-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
.admin-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 18px; }
.admin-card { padding: 22px; }
.admin-side-card { display: grid; align-content: start; gap: 12px; }
.admin-card textarea { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .86rem; }
.admin-card.wide { display: grid; gap: 14px; }
.muted { color: var(--muted); }
.crm-card {
  grid-column: 1 / -1;
  display: grid;
  gap: 18px;
}

.crm-stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.crm-stats div {
  display: grid;
  gap: 2px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

.crm-stats strong {
  color: var(--brand);
  font-size: 1.7rem;
}

.crm-stats span {
  color: var(--muted);
  font-weight: 800;
}

.crm-lead-list {
  display: grid;
  gap: 12px;
  max-height: 760px;
  overflow: auto;
  padding-right: 4px;
}

.crm-lead-card {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--brand);
  border-radius: 8px;
  background: white;
}

.crm-lead-card.status-scheduled { border-left-color: #2f8c4c; }
.crm-lead-card.status-completed { border-left-color: #5c6f7f; }
.crm-lead-card.status-cancelled,
.crm-lead-card.status-spam { border-left-color: #8c2f2f; }

.crm-lead-top,
.crm-card-footer {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
}

.crm-lead-top > div:first-child {
  display: grid;
  gap: 3px;
}

.crm-lead-top strong {
  font-size: 1.08rem;
}

.crm-lead-top span,
.crm-card-footer small {
  color: var(--muted);
}

.crm-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.crm-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 4px 9px;
  border-radius: 999px;
  background: #edf4f6;
  color: var(--brand-dark);
  font-size: .78rem;
  font-weight: 900;
}

.crm-badge.priority-high,
.crm-badge.priority-urgent {
  background: #fff1e8;
  color: #8d341f;
}

.crm-badge.mail-ok {
  background: #eaf7ee;
  color: #1d6a35;
}

.crm-badge.mail-fail {
  background: #fff0ed;
  color: #9b2e1d;
}

.crm-contact-grid,
.crm-edit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.crm-contact-grid > * {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.crm-message,
.crm-mail-error {
  margin: 0;
  padding: 12px;
  border-radius: 8px;
  background: #f8fafc;
  color: #40546a;
}

.crm-mail-error {
  background: #fff0ed;
  color: #8d341f;
  font-weight: 750;
}

.crm-edit-grid .wide {
  grid-column: 1 / -1;
}

.crm-card-footer > div {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.lead { display: grid; gap: 3px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.lead small { color: var(--muted); }
.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  position: sticky;
  top: 0;
  z-index: 5;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.admin-tabs button {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
  padding: 10px 14px;
  font-weight: 850;
  cursor: pointer;
}

.admin-tabs button.is-active {
  background: var(--brand);
  border-color: var(--brand);
  color: white;
}

.admin-tab-panel { display: none; }
.admin-tab-panel.is-active { display: grid; gap: 16px; }

.sitekit-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.sitekit-header h2 {
  margin: 0;
  font-size: 1.6rem;
}

.sitekit-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.sitekit-metrics > div {
  min-height: 110px;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.sitekit-metrics strong {
  font-size: 2rem;
  color: var(--brand);
}

.sitekit-metrics span {
  color: var(--ink);
  font-weight: 850;
}

.sitekit-metrics em {
  color: var(--muted);
  font-style: normal;
}

.google-settings {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.google-settings textarea {
  min-height: 120px;
}

.page-editor-list,
.blog-editor-list {
  display: grid;
  gap: 12px;
}

.page-editor-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  overflow: hidden;
}

.page-editor-card.is-drop-target {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(18, 108, 122, .14);
}

.page-editor-card summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  padding: 16px;
  font-weight: 850;
}

.page-editor-card summary strong {
  flex: 1;
}

.page-editor-card summary span {
  color: var(--muted);
  font-weight: 650;
}

.editor-drag-handle {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
  color: var(--brand);
  cursor: grab;
  font-weight: 900;
}

.editor-drag-handle:active {
  cursor: grabbing;
}

.page-editor-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 0 16px 16px;
}

.page-editor-grid .wide {
  grid-column: 1 / -1;
}

.inline-editor-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.upload-control {
  display: grid;
  gap: 6px;
  align-self: end;
}

.upload-control input[type="file"] {
  padding: 9px;
  background: #f8fafc;
}

.content-image-editor {
  display: grid;
  gap: 10px;
}

.content-image-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}
.admin-managers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.manager-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.manager-head h2 {
  margin: 0;
  font-size: 1rem;
}

.admin-section-note {
  margin: 6px 0 0;
}

.admin-quick-guide,
.admin-edit-card,
.admin-subpanel {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

.admin-quick-guide h3,
.admin-edit-card h3,
.admin-subpanel h3 {
  margin: 0;
}

.admin-quick-guide > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.structured-editor {
  display: grid;
  gap: 12px;
}

.structured-card summary {
  background: #fbfdff;
}

.structured-card summary[draggable="true"] {
  cursor: grab;
}

.structured-card summary[draggable="true"]:active {
  cursor: grabbing;
}

.admin-editor-grid,
.page-editor-grid.compact {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.admin-editor-grid .wide,
.page-editor-grid.compact .wide {
  grid-column: 1 / -1;
}

.admin-mini-list {
  display: grid;
  gap: 10px;
}

.admin-mini-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 10px;
  align-items: end;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.admin-button-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.btn.danger,
.btn.secondary.danger {
  border-color: #f3c5bd;
  background: #fff4f2;
  color: #9b2e1d;
}

.admin-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.admin-count {
  color: var(--muted);
  font-size: .85rem;
  font-weight: 700;
}

.admin-search {
  min-width: 220px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.editor-preview-thumb {
  width: 100%;
  max-width: 180px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #f8fafc;
}

.editor-status-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.editor-status-row label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.drag-list {
  display: grid;
  gap: 8px;
  max-height: 360px;
  overflow: auto;
  padding-right: 4px;
}

.drag-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 8px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
  cursor: grab;
}

.drag-row small {
  grid-column: 2;
  color: var(--muted);
}

.drag-handle {
  grid-row: span 2;
  color: var(--brand);
  font-weight: 900;
}

.media-managers {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

.media-list {
  display: grid;
  gap: 12px;
  max-height: 620px;
  overflow: auto;
  padding-right: 4px;
}

.media-list h3 {
  margin: 14px 0 0;
  font-size: 1rem;
  color: var(--brand-dark);
}

.media-row {
  display: grid;
  grid-template-columns: 180px repeat(4, minmax(0, 1fr));
  gap: 10px;
  align-items: end;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.media-row strong {
  align-self: center;
}

.brand-logo-img {
  width: 120px;
  height: 54px;
  object-fit: contain;
  justify-self: start;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

@media (max-width: 980px) {
  .site-header { grid-template-columns: auto auto 1fr; }
  .menu-toggle { display: block; }
  .nav {
    display: none;
    position: absolute;
    left: 5vw;
    right: 5vw;
    top: 76px;
    padding: 18px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }
  .nav.is-open { display: grid; justify-content: stretch; }
  .nav-item { min-height: auto; display: grid; grid-template-columns: 1fr auto; }
  .nav > .nav-item > a.is-active::after { display: none; }
  .nav > .nav-item.is-current {
    border-left: 3px solid var(--accent);
    padding-left: 10px;
    background: #f7fbfc;
    border-radius: 6px;
  }
  .nav-dropdown {
    position: static;
    transform: none;
    width: 100%;
    display: none;
    margin-top: 6px;
    box-shadow: none;
    grid-column: 1 / -1;
  }
  .nav-item:hover:not(.is-open) .nav-dropdown { display: none; }
  .nav-item.is-open .nav-dropdown { display: grid; }
  .header-actions { justify-self: end; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 36px; }
  .split, .admin-grid { grid-template-columns: 1fr; }
  .area-grid, .review-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .area-map-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .area-intro { grid-template-columns: 1fr; }
  .brand-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .blog-hero { align-items: start; }
  .review-track { grid-auto-columns: calc((100% - 16px) / 2); }
  .aeo-answer-card { grid-template-columns: 1fr; gap: 18px; }
  .admin-managers { grid-template-columns: 1fr; }
  .sitekit-metrics, .google-settings, .crm-stats, .crm-contact-grid, .crm-edit-grid, .admin-editor-grid, .page-editor-grid.compact { grid-template-columns: 1fr; }
  .crm-lead-top, .crm-card-footer { align-items: stretch; flex-direction: column; }
  .crm-badges, .crm-card-footer > div { justify-content: flex-start; }
  .page-editor-grid { grid-template-columns: 1fr; }
  .content-image-row { grid-template-columns: 1fr 1fr; }
  .media-row { grid-template-columns: 1fr 1fr; }
  .admin-mini-row { grid-template-columns: 1fr; }
  .footer { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  .manager-head { align-items: start; }
  .admin-actions { justify-content: start; }
  .admin-search { min-width: 100%; }
}

@media (max-width: 640px) {
  .site-header {
    position: relative;
    min-height: 68px;
    gap: 10px;
    padding: 0 4vw;
    backdrop-filter: none;
  }
  .phone { display: none; }
  .hero { min-height: 420px; }
  .hero-content { margin-left: 4vw; width: 92vw; }
  .hero h1 { font-size: clamp(2rem, 9.2vw, 2.5rem); line-height: 1.06; }
  .hero p:not(.eyebrow) { font-size: 1rem; }
  .section { width: 92vw; padding: 34px 0; }
  .section-head { margin-bottom: 18px; }
  .section h2 { font-size: clamp(1.45rem, 8vw, 2rem); }
  .service-grid, .area-grid, .review-grid, .metric-grid, .check-list, .form-row { grid-template-columns: 1fr; }
  .service-grid { gap: 56px; }
  .area-map-grid, .area-feature-grid { grid-template-columns: 1fr; }
  .area-map-card iframe { height: 220px; width: calc(100% - 32px); margin: 0 16px; }
  .area-card-head { padding: 18px 16px 14px; display: grid; }
  .area-service-list { margin: 22px 16px 24px; }
  .trust-band {
    grid-template-columns: 1fr;
    width: 92vw;
    margin-top: 12px;
    box-shadow: none;
  }
  .trust-band span { min-height: 46px; font-size: .9rem; }
  .service-card { min-height: 360px; }
  .service-photo { height: 150px; }
  .brand-grid { grid-template-columns: 1fr; }
  .brand-service-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .review-carousel { grid-template-columns: 38px minmax(0, 1fr) 38px; gap: 8px; }
  .review-track { grid-auto-columns: 100%; }
  .review-nav { width: 38px; height: 38px; font-size: 1.65rem; }
  .media-row { grid-template-columns: 1fr; }
  .content-image-grid, .content-image-row { grid-template-columns: 1fr; }
  .blog-hero { display: grid; }
  .blog-hero .btn { justify-self: start; }
  .blog-image { min-height: 170px; }
  .aeo-answer-card { padding: 18px; }
  .aeo-answer-copy strong { font-size: 1rem; }
  .chip-cloud span { min-height: 34px; padding: 0 12px; font-size: .87rem; }
  .service-card,
  .review-card,
  .area-card,
  .booking-form,
  .admin-card,
  .metric,
  .blog-card,
  .brand-card {
    box-shadow: none;
  }
  .mobile-defer {
    content-visibility: auto;
    contain-intrinsic-size: 1px 960px;
  }
  .footer { grid-template-columns: 1fr; padding: 36px 6vw 22px; gap: 22px; }
  .footer-brand { grid-column: auto; }
}

@media (max-width: 420px) {
  .logo img { height: 34px; }
  .site-header { min-height: 62px; }
  .menu-toggle, .lang { width: 38px; height: 38px; min-height: 38px; padding: 0; }
  .nav { top: 62px; }
  .hero { min-height: 400px; }
  .hero-actions .btn { width: 100%; }
  .trust-row span { width: 100%; justify-content: center; }
}
