:root {
  --green: #0bb252;
  --green-dark: #09602d;
  --green-deep: #057a3a;
  --green-soft: #e8f8ef;
  --link: #3882a0;
  --link-hover: #2a6a84;
  --ink: #252525;
  --muted: #585858;
  --line: #e1e6ea;
  --bg: #f7faf8;
  --white: #fff;
  --shadow: 0 18px 50px rgba(9, 96, 45, 0.1);
  --radius: 18px;
  --container: 1180px;
  --font: "Manrope", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: #fff;
  line-height: 1.55;
}

img {
  max-width: 100%;
  display: block;
}

h1,
h2,
h3 {
  position: relative;
  margin: 0 0 16px;
  padding-left: 25px;
  font-weight: 400;
  color: #252525;
  line-height: 1.2;
}

h1::before,
h2::before,
h3::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 7px;
  height: 22px;
  margin-top: -11px;
  background: #05ad55;
  border-radius: 0 5px 5px 0;
}

h1::before {
  height: 28px;
  margin-top: -14px;
}

h3::before {
  height: 18px;
  margin-top: -9px;
}

a {
  color: var(--link);
  text-decoration: none;
}

a:hover {
  color: var(--link-hover);
}

.container {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.notice {
  background: linear-gradient(90deg, #057a3a, #0bb252 55%, #03cc57);
  color: #fff;
}

.notice__inner {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 0;
  font-size: 14px;
  font-weight: 500;
}

.notice__inner p {
  margin: 0;
}

.notice__dot {
  width: 10px;
  height: 10px;
  margin-top: 6px;
  border-radius: 50%;
  background: #fff47e;
  box-shadow: 0 0 0 0 rgba(255, 244, 126, 0.7);
  animation: pulse 1.8s ease-out infinite;
  flex-shrink: 0;
}

@keyframes pulse {
  70% { box-shadow: 0 0 0 12px rgba(255, 244, 126, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 244, 126, 0); }
}

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(11, 178, 82, 0.12);
}

.header__inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand__logo {
  width: 150px;
  height: auto;
  display: block;
}

.nav {
  display: flex;
  gap: 18px;
  margin-left: auto;
  font-size: 14px;
  font-weight: 700;
}

.nav a {
  color: var(--muted);
}

.nav a:hover {
  color: var(--link);
}

.phone-pill {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--ink);
  font-weight: 700;
  white-space: nowrap;
}

.phone-pill b {
  color: var(--green-dark);
  margin-left: 4px;
}

.burger {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 10px;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.burger span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

.hero {
  position: relative;
  padding: 56px 0 28px;
  overflow: hidden;
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.35fr 0.9fr;
  gap: 28px;
  align-items: stretch;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(11, 178, 82, 0.1);
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 700;
}

.hero__content h1 {
  margin-top: 0;
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(36px, 5.5vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.hero__lead {
  margin: 0 0 28px;
  max-width: 38rem;
  font-size: 18px;
  color: var(--muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 15px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 10px 24px rgba(11, 178, 82, 0.28);
}

.btn--primary:hover {
  background: var(--green-deep);
  color: #fff;
}

.btn--ghost {
  background: #fff;
  color: var(--green-dark);
  border: 2px solid rgba(11, 178, 82, 0.35);
}

.hero__meta {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.hero__meta li {
  padding: 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(11, 178, 82, 0.12);
}

.hero__meta span {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 700;
  color: var(--muted);
}

.hero__meta a,
.hero__meta strong {
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
}

.hero__panel {
  width: 100%;
  display: flex;
}

.panel-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  padding: 18px 20px 16px;
  border-radius: 20px;
  background: linear-gradient(160deg, #fff 0%, #f3fbf6 100%);
  border: 1px solid rgba(11, 178, 82, 0.14);
  box-shadow: var(--shadow);
  animation: rise 0.7s ease both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.panel-card h2 {
  margin: 0 0 18px;
  font-size: 18px;
}

.panel-card ol {
  margin: 0;
  padding-left: 28px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.panel-card li + li {
  margin-top: 6px;
}

.panel-card__socials {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: auto;
  padding-top: 14px;
}

.panel-card__socials a {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 8px 4px;
  border-radius: 12px;
  background: var(--green-soft);
  color: var(--green-dark);
  font-weight: 700;
  font-size: 11px;
  line-height: 1.2;
  text-align: center;
  overflow: hidden;
}

.panel-card__socials img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  border-radius: 6px;
  flex-shrink: 0;
}

.section {
  padding: 56px 0;
  scroll-margin-top: 90px;
}

.section--shops {
  padding-top: 24px;
}

.section__head {
  margin-bottom: 28px;
}

.section__head h2 {
  margin: 0 0 10px;
  font-size: clamp(24px, 3.5vw, 32px);
  letter-spacing: -0.01em;
}

.section__head p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

@media (min-width: 981px) {
  #about .section__head p {
    white-space: nowrap;
  }
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.about-item {
  padding: 24px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(11, 178, 82, 0.12);
}

.about-item h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.about-item p {
  margin: 0;
  color: var(--muted);
}

.shops {
  display: grid;
  grid-template-columns: minmax(280px, 380px) 1fr;
  gap: 18px;
  align-items: stretch;
  min-height: 640px;
}

.shops__list {
  overflow: auto;
  max-height: 640px;
  padding: 8px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(11, 178, 82, 0.12);
  box-shadow: var(--shadow);
}

.shop-card {
  width: 100%;
  text-align: left;
  border: 1px solid transparent;
  background: transparent;
  border-radius: 16px;
  padding: 14px 14px 12px;
  cursor: pointer;
  font: inherit;
  color: inherit;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.shop-card + .shop-card {
  margin-top: 4px;
}

.shop-card:hover,
.shop-card.is-active {
  background: var(--green-soft);
  border-color: rgba(11, 178, 82, 0.25);
}

.shop-card.is-active {
  transform: translateX(2px);
}

.shop-card h3 {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.35;
}

.shop-card p {
  margin: 0 0 4px;
  font-size: 13px;
  color: var(--muted);
}

.shop-card a {
  font-weight: 700;
}

.shops__map {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(11, 178, 82, 0.12);
  box-shadow: var(--shadow);
  background: #fff;
  min-height: 420px;
}

#map {
  width: 100%;
  height: 100%;
  min-height: 640px;
}

.contacts__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.contact-block {
  padding: 22px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid rgba(11, 178, 82, 0.12);
}

.contact-block__label {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 700;
  color: var(--muted);
}

.contact-block__value {
  display: block;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.4;
}

.footer {
  margin-top: 90px;
  padding: 0 0 40px;
  position: relative;
  color: #49515a;
  border-top: 1px solid #e1e6ea;
  background: linear-gradient(to bottom, #ececec 0, #fcfcfc 100%);
}

.footer::before {
  content: "";
  display: block;
  position: absolute;
  width: min(992px, 100%);
  height: 92px;
  top: -34px;
  left: 50%;
  transform: translateX(-50%);
  background: url("footer.png") center top no-repeat;
  background-size: contain;
  pointer-events: none;
}

.footer a {
  color: var(--link);
}

.footer a:hover {
  color: var(--link-hover);
}

.footer__inner {
  position: relative;
  padding: 40px 0 0;
  overflow: visible;
}

.footer__inner::before {
  content: "";
  display: block;
  position: absolute;
  width: 189px;
  height: 180px;
  top: -125px;
  left: 118px;
  background: url("footer-dog.png") 0 0 no-repeat;
  background-size: contain;
  pointer-events: none;
  z-index: 2;
}

.footer-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px 40px;
  align-items: start;
  width: 100%;
}

.footer-row__item--contacts,
.footer-row__item--socials {
  width: 100%;
}

.footer-row__title {
  margin-bottom: 15px;
  font-size: 15px;
  font-weight: 700;
  color: #252525;
}

.footer-nav {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav li + li {
  margin-top: 10px;
}

.footer-nav a {
  font-size: 14px;
}

.footer-phone {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 20px;
  font-weight: 700;
  color: #252525;
}

.footer-phone:hover {
  color: var(--link);
}

.footer-phone b {
  color: #252525;
}

.footer-mail {
  margin-top: 16px;
  font-size: 13px;
  line-height: 1.45;
}

.footer-socials {
  margin-top: 0;
}

.footer-socials .footer-row__title {
  margin-bottom: 15px;
}

.footer-socials ul {
  list-style: none;
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.footer-socials img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 8px;
}

.footer-copy {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid #e1e6ea;
  width: 100%;
  font-size: 13px;
  line-height: 1.55;
  color: #6b7075;
}

.footer-copy p {
  margin: 0;
  max-width: none;
}

a[href^="mailto:"] {
  word-break: break-all;
}

@media (max-width: 980px) {
  .container {
    width: min(var(--container), calc(100% - 24px));
  }

  .hero__grid,
  .about-grid,
  .shops,
  .hero__meta {
    grid-template-columns: 1fr;
  }

  .hero__grid {
    gap: 18px;
  }

  .hero__panel,
  .panel-card {
    height: auto;
  }

  .panel-card__socials {
    margin-top: 14px;
  }

  .shops {
    min-height: auto;
    gap: 14px;
  }

  .shops__list {
    max-height: 320px;
    order: 2;
  }

  .shops__map {
    order: 1;
    min-height: 280px;
  }

  #map {
    min-height: 280px;
  }

  .nav {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 8px 16px 14px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 14px 4px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 15px;
  }

  .burger {
    display: flex;
    margin-left: auto;
  }

  .phone-pill {
    display: none;
  }

  .header__inner {
    position: relative;
    min-height: 64px;
  }

  .section {
    padding: 40px 0;
  }

  .footer {
    margin-top: 56px;
  }

  .footer::before,
  .footer__inner::before {
    display: none;
  }

  .footer__inner {
    padding-top: 28px;
  }

  .footer-row {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .footer-row__item--socials {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  body {
    overflow-x: hidden;
  }

  .brand__logo {
    width: 118px;
  }

  .hero {
    padding: 24px 0 8px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero__lead {
    font-size: 15px;
    margin-bottom: 18px;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__meta {
    margin-top: 18px;
    gap: 10px;
  }

  .hero__meta li {
    padding: 14px;
  }

  .notice__inner {
    font-size: 12px;
    gap: 8px;
    padding: 10px 0;
  }

  .eyebrow {
    font-size: 12px;
    margin-bottom: 12px;
  }

  .section__head {
    margin-bottom: 18px;
  }

  .section__head h2 {
    font-size: 24px;
  }

  .about-item,
  .contact-block {
    padding: 18px;
  }

  .shops__list {
    max-height: 280px;
  }

  #map,
  .shops__map {
    min-height: 240px;
  }

  .footer-row {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-row__item--socials {
    grid-column: auto;
  }

  .footer-phone {
    font-size: 18px;
  }

  .footer-copy {
    margin-top: 22px;
    font-size: 12px;
  }
}
