:root {
  --ink: #133044;
  --muted: #657785;
  --soft: #f4faff;
  --panel: #ffffff;
  --line: #d9eaf3;
  --teal: #1197c9;
  --teal-dark: #0b5e91;
  --mint: #e5f7ff;
  --orange: #f23f8f;
  --cream: #fff7fb;
  --blue-soft: #eef8ff;
  --shadow: 0 18px 45px rgba(19, 48, 68, 0.11);
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fbfdff;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.nav {
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.nav > *,
.hero-inner > *,
.section-inner > *,
.contact-layout > *,
.city-hero .section-inner > * {
  min-width: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 10px 24px rgba(11, 94, 145, 0.14);
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--teal), #20a5a4);
  position: relative;
  box-shadow: 0 8px 18px rgba(15, 111, 114, 0.22);
}

.brand-mark::after {
  content: "";
  position: absolute;
  left: 10px;
  top: 10px;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--orange);
  box-shadow: -7px 5px 0 rgba(255, 255, 255, 0.68), 8px 8px 0 rgba(255, 255, 255, 0.52);
}

.nav-links,
.language-links {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.nav-links a,
.language-links a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.95rem;
  text-decoration: none;
}

.nav-links a:hover,
.language-links a:hover,
.language-links a[aria-current="page"] {
  background: var(--mint);
  color: var(--teal-dark);
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.95), rgba(238, 248, 255, 0.88)),
    url("/assets/images/service-mold-real.jpg") center / cover;
  color: var(--ink);
}

.hero-inner {
  max-width: var(--max);
  width: 100%;
  min-height: 610px;
  margin: 0 auto;
  padding: 84px 20px 76px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.72fr);
  gap: 42px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal-dark);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 780px;
  margin: 0;
  font-size: 4.7rem;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-text {
  max-width: 720px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.35rem;
}

.hero-actions,
.cta-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.contact-stack {
  flex-direction: column;
  align-items: flex-start;
}

.contact-stack .button {
  width: min(280px, 100%);
}

.button {
  max-width: 100%;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--orange);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 14px 32px rgba(242, 63, 143, 0.22);
}

.button:hover {
  filter: brightness(0.98);
  transform: translateY(-1px);
}

.button.secondary {
  background: #fff;
  border-color: var(--line);
  color: var(--teal-dark);
  box-shadow: none;
}

.button.light {
  background: #fff;
  color: var(--teal-dark);
  box-shadow: none;
}

.contact-panel .button.secondary {
  background: #fff;
  border-color: var(--line);
  color: var(--teal-dark);
}

.hero-visual {
  justify-self: end;
  width: min(360px, 100%);
}

.hero-visual img {
  width: 100%;
  height: auto;
  max-height: 440px;
  aspect-ratio: 1;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.trust-row {
  max-width: var(--max);
  width: 100%;
  margin: -36px auto 0;
  padding: 0 20px;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.trust-item {
  min-height: 112px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(23, 49, 51, 0.09);
}

.trust-item strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1.12rem;
}

.trust-item span {
  color: var(--muted);
}

.section {
  padding: 78px 20px;
}

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

.section.alt {
  background: var(--soft);
}

.section-inner {
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

.section-heading h2 {
  margin: 0 0 10px;
  font-size: 3.15rem;
  line-height: 1.08;
  letter-spacing: 0;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

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

.service-card,
.review-card,
.city-card,
.step-card,
.contact-panel,
.note-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 10px 28px rgba(23, 49, 51, 0.07);
}

.service-card {
  overflow: hidden;
}

.service-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  background: var(--blue-soft);
}

.service-body {
  padding: 24px;
}

.service-body h3,
.city-card h3,
.step-card h3,
.review-card h3 {
  margin: 0 0 10px;
  font-size: 1.35rem;
  line-height: 1.22;
}

.service-body p,
.city-card p,
.step-card p,
.review-card p,
.note-card p {
  margin: 0;
  color: var(--muted);
}

.price-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  padding: 0;
  list-style: none;
}

.price-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.price-list strong {
  color: var(--teal-dark);
  white-space: nowrap;
}

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

.step-card {
  padding: 22px;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 18px;
  border-radius: 8px;
  background: var(--mint);
  color: var(--teal-dark);
  font-weight: 900;
}

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

.review-summary {
  display: grid;
  grid-template-columns: minmax(220px, 0.58fr) minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
}

.rating-badge,
.review-highlight,
.review-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(23, 49, 51, 0.07);
}

.rating-badge,
.review-highlight,
.review-form {
  padding: 24px;
}

.rating-badge strong {
  display: block;
  margin-top: 8px;
  font-size: 1.65rem;
  line-height: 1.12;
}

.rating-badge span:last-child,
.review-highlight p,
.form-note {
  color: var(--muted);
}

.stars {
  color: #f5a623;
  font-size: 1.45rem;
  letter-spacing: 0.08em;
}

.review-highlight h3 {
  margin: 0 0 10px;
  font-size: 1.45rem;
}

.review-highlight .button {
  margin-top: 18px;
}

.city-card,
.review-card,
.note-card {
  padding: 22px;
}

.city-card a {
  display: inline-flex;
  margin-top: 14px;
  color: var(--teal-dark);
  font-weight: 800;
  text-decoration: none;
}

.city-card a:hover {
  text-decoration: underline;
}

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

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(23, 49, 51, 0.05);
}

.faq-list summary {
  cursor: pointer;
  padding: 18px 20px;
  color: var(--ink);
  font-weight: 800;
}

.faq-list p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
}

.review-form {
  max-width: 760px;
}

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

.form-field {
  display: grid;
  gap: 6px;
}

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

.form-field label,
.rating-label {
  color: var(--ink);
  font-weight: 800;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

.form-field textarea {
  min-height: 138px;
  resize: vertical;
}

.rating-input {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 18px;
}

.star-button {
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: #9aabb8;
  cursor: pointer;
  font-size: 1.35rem;
  line-height: 1;
}

.star-button.is-active {
  border-color: #f5a623;
  background: #fff8e8;
  color: #f5a623;
}

.form-note {
  margin: 14px 0 0;
  font-size: 0.94rem;
}

.muted {
  color: var(--muted);
}

.review-hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.public-review-list,
.admin-review-list {
  display: grid;
  gap: 14px;
}

.public-review-card,
.admin-review-card,
.review-empty {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(23, 49, 51, 0.07);
}

.public-review-card,
.review-empty {
  padding: 22px;
}

.public-review-card p {
  margin: 8px 0;
}

.public-review-card span,
.review-empty {
  color: var(--muted);
}

.button.danger {
  background: #fff;
  border-color: #ffd0d0;
  color: #b42318;
  box-shadow: none;
}

.admin-page {
  background: var(--soft);
}

.admin-shell {
  width: min(1060px, 100%);
  margin: 0 auto;
  padding: 34px 20px 70px;
}

.admin-login {
  width: min(560px, 100%);
  margin: 36px auto 0;
}

.admin-login h1,
.admin-dashboard h1 {
  margin-top: 24px;
  font-size: 2.5rem;
}

.admin-topbar,
.admin-toolbar,
.admin-stats,
.admin-review-head,
.admin-review-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.admin-topbar {
  justify-content: space-between;
  margin-bottom: 20px;
}

.admin-toolbar {
  justify-content: space-between;
  margin-bottom: 18px;
}

.admin-toolbar .form-field {
  width: min(260px, 100%);
}

.admin-stats {
  margin-bottom: 18px;
}

.admin-stats span {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
}

.admin-review-card {
  padding: 22px;
}

.admin-review-head {
  justify-content: space-between;
  margin-bottom: 10px;
}

.status-pill {
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--mint);
  color: var(--teal-dark);
  font-size: 0.86rem;
  font-weight: 800;
}

.status-hidden {
  background: #fff1f1;
  color: #b42318;
}

.status-pending {
  background: #fff8e8;
  color: #946200;
}

.review-meta {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0;
}

.review-meta div {
  min-width: 0;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.review-meta dt {
  color: var(--muted);
  font-size: 0.82rem;
}

.review-meta dd {
  margin: 0;
  overflow-wrap: anywhere;
  font-weight: 800;
}

.contact-section {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.97), rgba(229, 247, 255, 0.94)),
    url("/assets/images/team.jpg") center / cover;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.82fr);
  gap: 24px;
  align-items: stretch;
}

.contact-with-team {
  grid-template-columns: minmax(180px, 0.55fr) minmax(0, 1fr) minmax(280px, 0.82fr);
  align-items: center;
}

.contact-panel {
  padding: 28px;
}

.contact-list {
  display: grid;
  gap: 14px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.contact-list span {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
}

.contact-list a {
  font-weight: 800;
  text-decoration: none;
}

.contact-text {
  color: var(--ink);
  font-weight: 800;
}

.team-strip {
  display: grid;
  grid-template-columns: minmax(180px, 0.55fr) minmax(0, 1fr) minmax(280px, 0.82fr);
  gap: 22px;
  align-items: center;
}

.team-strip img,
.contact-with-team > img {
  width: 100%;
  max-height: 250px;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

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

.before-after-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(19, 48, 68, 0.07);
}

.before-after-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.before-after-card span {
  display: block;
  padding: 12px 14px;
  color: var(--teal-dark);
  font-weight: 800;
}

.city-list-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.city-pill {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--teal-dark);
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(19, 48, 68, 0.05);
}

.city-pill:hover {
  border-color: #9ed8f2;
  background: var(--blue-soft);
}

.footer {
  background: #10282a;
  color: #d9eeeb;
  padding: 34px 20px;
}

.footer-inner {
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: start;
}

.footer a {
  color: #fff;
}

.footer p {
  margin: 6px 0 0;
}

.footer-legal {
  color: #a8c5c0;
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.legal-hero {
  background: var(--soft);
}

.legal-page {
  display: grid;
  gap: 22px;
}

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

.legal-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(23, 49, 51, 0.07);
}

.legal-card h2,
.legal-card h3 {
  margin: 0 0 12px;
  line-height: 1.2;
}

.legal-card p {
  margin: 0 0 10px;
  color: var(--muted);
}

.legal-card p:last-child {
  margin-bottom: 0;
}

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

.legal-list li {
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.legal-list strong,
.legal-list span {
  display: block;
}

.legal-list span {
  color: var(--muted);
}

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  max-width: 780px;
  margin: 0 auto;
  padding: 16px;
  display: none;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.cookie-banner.is-visible {
  display: grid;
}

.cookie-banner p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.cookie-banner a {
  color: var(--teal-dark);
  font-weight: 800;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.cookie-actions button {
  min-height: 40px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--teal-dark);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.cookie-actions button:first-child {
  border-color: transparent;
  background: var(--orange);
  color: #fff;
}

.breadcrumb {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

.breadcrumb a {
  color: var(--teal-dark);
  text-decoration: none;
}

.city-hero {
  background: var(--soft);
}

.city-hero .section-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.7fr);
  gap: 34px;
  align-items: center;
}

.city-hero h1 {
  color: var(--ink);
}

.city-hero .hero-text {
  color: var(--muted);
}

.mini-visual {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.mini-visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
}

.team-visual {
  max-width: 380px;
  justify-self: end;
  padding: 10px;
}

.team-visual img {
  max-height: 190px;
  aspect-ratio: 16 / 8;
  object-fit: contain;
  background: #fff;
}

@media (max-width: 920px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links,
  .language-links {
    width: 100%;
  }

  .nav-links {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .language-links {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .nav-links a,
  .language-links a {
    min-width: 0;
    width: 100%;
    padding-left: 6px;
    padding-right: 6px;
  }

  .hero-inner,
  .contact-layout,
  .city-hero .section-inner {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    min-height: auto;
    padding-top: 68px;
  }

  h1 {
    font-size: 3.25rem;
  }

  .hero-text {
    font-size: 1.16rem;
  }

  .section-heading h2 {
    font-size: 2.45rem;
  }

  .hero-visual {
    justify-self: start;
    width: min(320px, 100%);
  }

  .trust-row,
  .service-grid,
  .steps,
  .city-grid,
  .review-grid,
  .review-summary,
  .team-strip,
  .legal-grid,
  .city-list-grid {
    grid-template-columns: 1fr;
  }

  .team-strip img,
  .contact-with-team > img,
  .team-visual {
    justify-self: start;
  }

  .team-strip img,
  .contact-with-team > img {
    max-height: 220px;
  }

  .service-card img {
    height: 220px;
  }

  .before-after-grid {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 640px) {
  .section {
    padding: 56px 16px;
  }

  .nav {
    padding: 12px 16px;
    gap: 8px;
  }

  .brand {
    max-width: 100%;
  }

  .brand span {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .nav-links,
  .language-links {
    width: 100%;
  }

  .nav-links {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .language-links {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .nav-links a,
  .language-links a {
    min-width: 0;
    width: 100%;
    padding-left: 6px;
    padding-right: 6px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero-inner {
    padding: 54px 16px 60px;
  }

  .hero-text,
  .section-heading p,
  .trust-item span,
  .trust-item strong {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    gap: 8px;
  }

  .hero-actions .button {
    width: 100%;
    min-width: 0;
    padding-left: 8px;
    padding-right: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  h1 {
    font-size: 2.45rem;
  }

  .section-heading h2 {
    font-size: 2rem;
  }

  .trust-row {
    margin-top: 0;
    padding: 16px;
  }

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

  .form-grid {
    grid-template-columns: 1fr;
  }

  .review-meta {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .cookie-banner {
    grid-template-columns: 1fr;
  }

  .cookie-actions {
    justify-content: flex-start;
  }
}
