:root {
  --bg: #f5f5f5;
  --bg-alt: #ededed;
  --card: #ffffff;
  --text: #1f2429;
  --muted: #4f5560;
  --accent: #5f5f5f;
  --line: #dedede;
  --shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
  --radius: 16px;
  --font: "Montserrat", "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

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

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

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

p {
  margin: 0.6em 0;
  color: var(--muted);
}

.promo {
  background: #dcdcdc;
  text-align: center;
  padding: 10px;
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.site-header {
  background: transparent;
}

.topbar {
  width: 100%;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.04);
}

.topbar__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px clamp(18px, 5vw, 62px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.logo {
  width: 42px;
  height: 42px;
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-weight: 600;
}

.nav a {
  padding: 8px 12px;
  border-radius: 10px;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.nav a:hover {
  background: rgba(0, 0, 0, 0.06);
  transform: translateY(-1px);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 120px clamp(18px, 6vw, 72px) 140px;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.55)), url("hero.jpg") center/cover no-repeat;
  color: #fff;
  text-align: center;
}

.hero__content {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
}

.hero__text {
  margin-top: 0;
}

.hero__text h1 {
  font-size: clamp(42px, 6vw, 74px);
  color: #fff;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  font-weight: 700;
  color: #e5e5e5;
  margin: 0;
}

.lede {
  font-size: 18px;
  color: var(--muted);
  max-width: 760px;
}

.hero__actions {
  display: flex;
  gap: 12px;
  margin: 26px 0 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 16px;
  border-radius: 12px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, border 0.2s ease;
  cursor: pointer;
}

.btn.primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 24px rgba(95, 95, 95, 0.25);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(95, 95, 95, 0.3);
}

.btn.ghost {
  border-color: #fff;
  color: #fff;
  background: transparent;
}

.btn.ghost:hover {
  border-color: #f2f2f2;
  transform: translateY(-1px);
}

.btn.text {
  padding: 8px 0;
  background: none;
  color: inherit;
  border: none;
}

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

.hero__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.stat {
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.2);
}

.stat__number {
  display: block;
  font-weight: 800;
  font-size: 18px;
  color: #fff;
}

.stat__label {
  color: #ededed;
  font-size: 14px;
}

.photos-strip {
  background: #fff;
  padding: 28px clamp(18px, 5vw, 56px);
  text-align: center;
  border-bottom: 1px solid var(--line);
}

.photos-strip p {
  margin: 0 0 12px 0;
  color: var(--text);
  font-weight: 600;
}

.section {
  padding: 80px clamp(18px, 5vw, 56px);
  position: relative;
  overflow: hidden;
}

.section.alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section__header {
  max-width: 900px;
  margin-bottom: 40px;
}

.section__header.compact {
  max-width: 720px;
}

.about__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.about__block {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 18px 20px;
  box-shadow: var(--shadow);
}

.about__block ul,
.about__block ol {
  color: var(--muted);
  padding-left: 18px;
}

.about__block li {
  margin-bottom: 6px;
}

.hero__actions.compact {
  margin-top: 16px;
  justify-content: flex-start;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  min-height: 300px;
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% -10%, rgba(95, 95, 95, 0.12), transparent 45%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card:hover::after {
  opacity: 1;
}

.card h3 {
  margin-top: 0.1em;
}

.card ul {
  padding-left: 18px;
  color: var(--muted);
  margin: 12px 0;
}

.card li {
  margin-bottom: 6px;
}

.card__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid #dcdcdc;
  background: #fff;
  color: var(--text);
}

.pill.soft {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
}

.pill.ghost {
  background: #f6f6f6;
}

.price {
  font-weight: 800;
  color: var(--accent);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.service {
  background: var(--card-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 18px 20px;
  box-shadow: var(--shadow);
}

.service__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.agility {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 18px;
  align-items: start;
}

.agility__note {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}

.agility__note ul {
  padding-left: 18px;
  color: var(--muted);
}

.agility__note .small {
  font-size: 13px;
}

.form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}

.form__grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 600;
}

.form input,
.form textarea {
  padding: 12px;
  border-radius: 12px;
  border: 1px solid #d4d4d4;
  background: #fafafa;
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
}

.form input:focus,
.form textarea:focus {
  outline: 2px solid var(--accent);
  border-color: transparent;
}

.form__actions {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

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

.span-2 {
  grid-column: span 2;
}

.cta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.cta > div {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}

.cta .address {
  color: var(--muted);
  font-size: 14px;
}

.footer {
  padding: 28px clamp(18px, 5vw, 56px) 40px;
  background: #fff;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  align-items: center;
}

.footer__brand {
  font-weight: 800;
  letter-spacing: 0.05em;
}

.footer__meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: var(--muted);
}

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

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

.small {
  font-size: 13px;
}

.admin-grid .card {
  min-height: 0;
}

.admin-buttons {
  display: flex;
  gap: 8px;
}

.admin-actions {
  margin-top: 16px;
}

.product-photo {
  width: calc(100% + 44px);
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  margin: -22px -22px 12px;
  background: #f0f0f0;
  border: 1px solid var(--line);
}

.photo-preview {
  background: #fafafa;
  border: 1px dashed #cfcfcf;
  border-radius: 12px;
  padding: 12px;
  display: grid;
  gap: 8px;
  align-items: center;
}

.photo-preview img {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--line);
}

.lock {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.58);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  z-index: 999;
}

.lock[hidden] {
  display: none;
}

.lock__card {
  width: min(100%, 440px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}

.lock__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 12px 0 4px;
  font-weight: 600;
}

.lock__field input {
  padding: 12px;
  border-radius: 12px;
  border: 1px solid #d4d4d4;
  background: #fafafa;
}

.lock__status {
  color: #b42318;
}

body.locked > :not(#lockScreen) {
  filter: blur(3px);
  pointer-events: none;
  user-select: none;
}

@media (max-width: 900px) {
  .hero {
    padding: 90px 18px 110px;
  }
}

@media (max-width: 720px) {
  .nav {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .hero__actions {
    width: 100%;
  }

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

  .brand {
    padding: 0;
  }

  .logo {
    width: 36px;
    height: 36px;
  }

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

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

  .footer__links {
    justify-content: flex-start;
  }

  .span-2 {
    grid-column: span 1;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .card,
  .service,
  .agility__note,
  .form,
  .cta > div {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  .card:hover,
  .service:hover,
  .agility__note:hover,
  .form:hover,
  .cta > div:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
  }
}
