/* ==========================================================================
   ЕКО ТИС — Садовий центр. Базові стилі.
   ========================================================================== */

:root {
  --green-700: #3d5646;
  --green-600: #5c7863;
  --green-500: #7c9782;
  --green-400: #a3b8a4;
  --green-100: #eef1e9;
  --graphite-900: #262b23;
  --graphite-700: #3a3f34;
  --graphite-500: #6b7264;
  --gray-200: #eef1ec;
  --gray-100: #f6f5ee;
  --white: #ffffff;
  --accent: #d98e2c;
  --shadow-sm: 0 1px 3px rgba(35, 39, 31, 0.08);
  --shadow-md: 0 8px 24px rgba(35, 39, 31, 0.12);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --container: 1200px;
  --header-height: 74px;
  --font-heading: 'Playfair Display', Georgia, serif;
  --hero-accent: #94a35c;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--graphite-900);
  background: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: 0.01em;
  color: var(--graphite-900);
}

p {
  margin: 0 0 1em;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn-primary {
  background: var(--green-600);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--green-700);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--green-700);
}

.btn-outline-dark {
  background: transparent;
  border-color: var(--green-600);
  color: var(--green-600);
}

.btn-outline-dark:hover {
  background: var(--green-600);
  color: var(--white);
}

.btn-block {
  width: 100%;
}

/* ---------- Topbar ---------- */

.topbar {
  background: var(--graphite-900);
  color: var(--gray-200);
  font-size: 0.85rem;
}

.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.topbar-contacts {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.topbar-contacts a {
  display: flex;
  align-items: center;
  gap: 6px;
}

.topbar-contacts a:hover {
  color: var(--green-400);
}

.topbar-hours {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--gray-200);
  opacity: 0.85;
}

.icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
}

/* ---------- Header / Nav ---------- */

.site-header {
  position: relative;
  z-index: 2;
  background: transparent;
}

.header-compact {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-top: 22px;
  padding-bottom: 22px;
}

.header-compact .main-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.header-compact-contacts {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.85);
  text-align: right;
  flex-shrink: 0;
}

.header-compact-contacts a {
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.15s ease;
}

.header-compact-contacts a:hover {
  color: var(--green-400);
}

.header-compact-hours {
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0.7;
}

.header-compact-contacts .icon {
  width: 14px;
  height: 14px;
}

.site-header--compact .burger {
  display: none;
}

.site-header--compact .brand-text strong {
  font-size: 1.9rem;
  letter-spacing: 0.5px;
}

.site-header--compact .brand-text span {
  font-size: 0.85rem;
  letter-spacing: 2px;
  margin-top: 2px;
  color: var(--hero-accent);
}

@media (max-width: 900px) {
  .header-compact-contacts {
    display: none;
  }
}

@media (max-width: 720px) {
  .site-header--compact .burger {
    display: flex;
  }

  .header-compact .main-nav {
    display: none;
    flex: none;
  }

  .header-compact .main-nav.is-open {
    display: block;
  }

  .header-compact {
    justify-content: space-between;
    gap: 20px;
  }
}

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-600);
  flex-shrink: 0;
  overflow: hidden;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.5px;
}

.brand-text span {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
}

.burger span {
  display: block;
  height: 2px;
  width: 22px;
  margin: 0 auto;
  background: var(--white);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.burger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger.is-open span:nth-child(2) {
  opacity: 0;
}

.burger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.main-nav {
  position: relative;
  z-index: 2;
  background: transparent;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a {
  display: block;
  padding: 15px 20px;
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.15s ease;
}

.main-nav a:hover,
.main-nav a.active {
  background: rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-sm);
}

/* ---------- Hero (index) ---------- */

.hero {
  --hero-accent: #94a35c;
  --hero-btn-bg: #6e7c40;
  --hero-btn-bg-hover: #5b6734;
  position: relative;
  color: var(--white);
  background-image: url("../photos/fon2.png");
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  height: 70px;
  z-index: 1;
  display: block;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(100deg, rgba(8, 12, 7, 0.82) 0%, rgba(8, 12, 7, 0.58) 42%, rgba(8, 12, 7, 0.22) 75%, rgba(8, 12, 7, 0.08) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  padding: 56px 24px 90px;
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.hero-content {
  max-width: 600px;
}

.hero-deco {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--hero-accent);
  margin-bottom: 24px;
}

.hero-deco svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  flex-shrink: 0;
}

.hero-deco-line {
  width: 64px;
  height: 1px;
  background: rgba(255, 255, 255, 0.35);
}

.hero-title {
  color: var(--white);
  font-size: clamp(2.6rem, 6.5vw, 4.1rem);
  line-height: 1.1;
  letter-spacing: 0.2px;
  margin-bottom: 22px;
}

.hero-title-accent {
  color: var(--hero-accent);
}

.hero-lede {
  max-width: 460px;
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 34px;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 44px;
}

.hero-btn {
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.85rem;
  padding: 16px 30px;
  background: var(--hero-btn-bg);
}

.hero-btn:hover {
  background: var(--hero-btn-bg-hover);
}

.hero-btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.hero-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 4px;
  opacity: 0.85;
  transition: color 0.15s ease, opacity 0.15s ease;
}

.hero-link:hover {
  color: var(--hero-accent);
  opacity: 1;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  row-gap: 24px;
}

.hero-highlights li + li {
  margin-left: 28px;
  padding-left: 28px;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-highlights a {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  max-width: 128px;
  transition: transform 0.15s ease;
}

.hero-highlights a:hover {
  transform: translateY(-2px);
}

.hero-highlight-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--hero-accent);
  flex-shrink: 0;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.hero-highlights a:hover .hero-highlight-icon {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--hero-accent);
}

.hero-highlight-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
}

.hero-highlights a span:last-child {
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.85);
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.8);
}

.hero-trust svg {
  width: 20px;
  height: 20px;
  stroke: var(--hero-accent);
  fill: none;
  stroke-width: 1.6;
  flex-shrink: 0;
}

.hero-trust-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.hero-trust-text strong {
  color: var(--white);
  font-weight: 700;
  letter-spacing: 2px;
}

.hero-trust-line {
  display: none;
}

/* ---------- Hero: варіант фото (index) ---------- */

.hero-light {
  background-image: url("../photos/hero-stone.jpg");
}

.hero-light .burger {
  border-radius: 50%;
}

/* Десктопна композиція героя: щільніші відступи, кнопки в один ряд */
@media (min-width: 801px) {
  .hero-inner {
    padding: 44px 24px 90px;
    gap: 30px;
  }

  .hero-content {
    max-width: 680px;
  }

  .hero-title {
    font-size: clamp(2.6rem, 6.5vw, 4.5rem);
    margin-bottom: 20px;
  }

  .hero-lede {
    max-width: 540px;
    margin-bottom: 30px;
  }

  .hero-cta {
    flex-direction: row;
    align-items: center;
    gap: 30px;
    margin-bottom: 32px;
  }

  .hero-trust {
    padding-top: 0;
    border-top: none;
  }
}

@media (max-width: 800px) {
  .hero-inner {
    padding: 64px 24px 90px;
    gap: 40px;
  }

  .hero-highlights li + li {
    margin-left: 18px;
    padding-left: 18px;
  }
}

@media (max-width: 480px) {
  .hero-highlights {
    flex-direction: column;
    row-gap: 16px;
  }

  .hero-highlights li + li {
    margin-left: 0;
    padding-left: 0;
    border-left: none;
  }

  .hero-highlights a {
    flex-direction: row;
    align-items: center;
    max-width: none;
  }
}

/* ---------- Page banner (inner pages) ---------- */

.page-banner {
  position: relative;
  overflow: hidden;
  background-image: url("../photos/hero-stone.jpg");
  background-size: cover;
  background-position: center;
  color: var(--white);
}

.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(100deg, rgba(8, 12, 7, 0.82) 0%, rgba(8, 12, 7, 0.58) 42%, rgba(8, 12, 7, 0.22) 75%, rgba(8, 12, 7, 0.08) 100%);
}

.page-banner-inner {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  padding: 48px 24px 64px;
  text-align: left;
}

.page-banner h1 {
  color: var(--white);
  margin-bottom: 18px;
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
}

.page-banner-subtitle {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.page-banner-subtitle-line {
  width: 44px;
  height: 1px;
  background: rgba(255, 255, 255, 0.4);
  flex-shrink: 0;
}

.page-banner-subtitle svg {
  width: 16px;
  height: 16px;
  stroke: var(--hero-accent);
  fill: none;
  stroke-width: 1.6;
  flex-shrink: 0;
}

.breadcrumbs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  padding: 10px 20px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.breadcrumbs svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  flex-shrink: 0;
}

.breadcrumbs .crumb-sep {
  opacity: 0.6;
}

.breadcrumbs .crumb-current {
  font-weight: 700;
  color: var(--white);
}

.breadcrumbs a:hover {
  color: var(--hero-accent);
}

/* ---------- Section helpers ---------- */

.section {
  padding: 64px 0;
}

.section-tight {
  padding: 40px 0;
}

.section-alt {
  background: var(--gray-100);
}

.section-title {
  text-align: center;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  margin-bottom: 10px;
}

.section-subtitle {
  text-align: center;
  color: var(--graphite-500);
  max-width: 640px;
  margin: 0 auto 40px;
}

/* ---------- Index: teaser category grid ---------- */

.teaser-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.teaser-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  background: var(--white);
}

.teaser-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.ph-tile {
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 2.4rem;
  overflow: hidden;
}

.ph-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.teaser-card .tile-label {
  padding: 12px 14px;
  font-weight: 700;
  font-size: 0.95rem;
  text-align: center;
  color: var(--graphite-900);
}

/* palette rotation for placeholder tiles */
.ph-1 { background: linear-gradient(145deg, #6a9950, #3c6030); }
.ph-2 { background: linear-gradient(145deg, #8ab86f, #4f7a3a); }
.ph-3 { background: linear-gradient(145deg, #d98e2c, #b5701c); }
.ph-4 { background: linear-gradient(145deg, #5c8f95, #35636a); }
.ph-5 { background: linear-gradient(145deg, #7a6a49, #55492f); }
.ph-6 { background: linear-gradient(145deg, #4f7a3a, #23421a); }

/* ---------- Index: services teaser ---------- */

.services-teaser {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.services-teaser .service-block {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px;
}

/* ---------- Index: why-us strip ---------- */

.why-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.why-item {
  text-align: center;
  padding: 24px 16px;
}

.why-item .icon-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--green-100);
  color: var(--green-600);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}

.why-item h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.why-item p {
  color: var(--graphite-500);
  font-size: 0.9rem;
  margin: 0;
}

/* ---------- Catalog layout ---------- */

.catalog-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 32px;
  align-items: start;
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar-box {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.sidebar-box h2 {
  font-size: 1rem;
  padding: 16px 18px;
  margin: 0;
  background: var(--green-100);
  color: var(--green-700);
}

.category-menu {
  padding: 6px 0;
}

.category-menu details {
  border-bottom: 1px solid var(--gray-200);
}

.category-menu details:last-child {
  border-bottom: none;
}

.category-menu .flat-link {
  display: block;
  padding: 12px 18px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--graphite-700);
  border-bottom: 1px solid var(--gray-200);
  transition: color 0.15s ease;
}

.category-menu .flat-link:last-child {
  border-bottom: none;
}

.category-menu .flat-link:hover {
  color: var(--green-600);
}

.category-menu summary {
  list-style: none;
  cursor: pointer;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--graphite-700);
  transition: color 0.15s ease;
}

.category-menu summary::-webkit-details-marker {
  display: none;
}

.category-menu summary:hover {
  color: var(--green-600);
}

.category-menu summary .chevron {
  transition: transform 0.2s ease;
  color: var(--green-500);
  flex-shrink: 0;
}

.category-menu details[open] summary .chevron {
  transform: rotate(90deg);
}

.category-menu .sub-list {
  padding: 0 18px 14px 34px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.category-menu .sub-list a {
  font-size: 0.87rem;
  color: var(--graphite-500);
}

.category-menu .sub-list a:hover {
  color: var(--green-600);
}

.info-list {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.info-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--graphite-700);
}

.info-list .icon {
  color: var(--green-600);
  margin-top: 3px;
}

.info-list strong {
  display: block;
  color: var(--graphite-900);
}

/* ---------- Category grid (catalog page) ---------- */

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.category-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.category-card .ph-tile {
  font-size: 2.1rem;
}

.category-card .tile-label {
  padding: 12px 12px 16px;
  font-weight: 700;
  font-size: 0.9rem;
  text-align: center;
}

/* ---------- Product grid (category detail pages) ---------- */

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  scroll-margin-top: 100px;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.product-card .product-photo {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.product-card .product-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-card .product-body {
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card .product-body .btn {
  margin-top: auto;
}

.product-card h3 {
  font-size: 1.02rem;
  margin: 0 0 8px;
}

.product-card .product-price {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--green-700);
  margin: 0 0 14px;
}

@media (max-width: 720px) {
  .product-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Services page ---------- */

.service-detail {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.service-detail + .service-detail {
  margin-top: 32px;
}

.service-detail .service-visual {
  aspect-ratio: 5 / 4;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 3rem;
  overflow: hidden;
}

.service-detail .service-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.visual-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  width: 100%;
  height: 100%;
}

.visual-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.delivery-box {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--green-100);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin: 20px 0;
}

.delivery-box .icon-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  color: var(--green-600);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.delivery-box p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--graphite-700);
}

.delivery-box strong {
  display: block;
  color: var(--graphite-900);
  margin-bottom: 4px;
}

.service-detail ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 20px 0 28px;
}

.service-detail ul li {
  display: flex;
  gap: 10px;
  font-size: 0.96rem;
  color: var(--graphite-700);
}

.service-detail ul li .icon {
  color: var(--green-600);
  margin-top: 3px;
}

.service-detail .cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.service-detail:nth-child(even) .service-visual {
  order: 2;
}

/* ---------- About page ---------- */

.about-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-hero .ph-tile {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  font-size: 3rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.value-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 28px;
}

.value-card .icon-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--green-100);
  color: var(--green-600);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

/* ---------- Contacts page ---------- */

.contacts-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 28px;
}

.contact-info-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.contact-info-card .icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green-100);
  color: var(--green-600);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-card strong {
  display: block;
  margin-bottom: 2px;
}

.contact-info-card p {
  margin: 0;
  color: var(--graphite-500);
  font-size: 0.9rem;
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.form-row {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-row label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--graphite-700);
}

.form-row input,
.form-row textarea {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-family: inherit;
  font-size: 0.95rem;
  resize: vertical;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--green-500);
  box-shadow: 0 0 0 3px rgba(106, 153, 80, 0.18);
}

.map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  height: 340px;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.quick-contact-strip {
  display: flex;
  gap: 14px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.quick-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  color: var(--white);
}

.quick-contact-btn.viber { background: #7360f2; }
.quick-contact-btn.telegram { background: #2aabee; }

/* ---------- CTA band ---------- */

.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, var(--green-700), var(--green-500));
  color: var(--white);
  text-align: center;
  padding: 56px 24px;
  border-radius: var(--radius-lg);
}

.cta-band > * {
  position: relative;
  z-index: 1;
}

/* ---------- Decorative blurred blobs ---------- */

.blob-bg {
  position: relative;
  overflow: hidden;
}

.blob-bg > .container {
  position: relative;
  z-index: 1;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  z-index: 0;
  pointer-events: none;
}

.blob-a { width: 320px; height: 320px; background: var(--green-400); opacity: 0.45; top: -110px; left: -90px; }
.blob-b { width: 380px; height: 380px; background: var(--green-500); opacity: 0.4; bottom: -170px; right: -110px; }
.blob-c { width: 200px; height: 200px; background: var(--green-100); opacity: 0.6; top: 30%; right: 12%; }
.blob-w1 { width: 260px; height: 260px; background: #ffffff; opacity: 0.16; top: -90px; right: -60px; }
.blob-w2 { width: 220px; height: 220px; background: #ffffff; opacity: 0.12; bottom: -100px; left: 8%; }

.cta-band h2 {
  color: var(--white);
}

.cta-band p {
  opacity: 0.9;
  margin-bottom: 26px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.cta-band .hero-actions {
  margin-top: 0;
  justify-content: center;
}

/* ---------- Footer ---------- */

.site-footer {
  position: relative;
  overflow: hidden;
  background-image: url("../photos/hero-stone.jpg");
  background-size: cover;
  background-position: center;
  color: var(--gray-200);
  padding-top: 56px;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(10, 14, 8, 0.88) 0%, rgba(10, 14, 8, 0.93) 100%);
}

.site-footer > .container {
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col h3 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 16px;
}

.footer-col p,
.footer-col li {
  color: #b7bdae;
  font-size: 0.9rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul a:hover {
  color: var(--green-400);
}

.footer-contact-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 10px;
}

.footer-contact-item .icon {
  color: var(--green-400);
  margin-top: 2px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.footer-logo-mark {
  width: 32px;
  height: 32px;
  overflow: hidden;
  display: inline-flex;
  flex-shrink: 0;
}

.footer-logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.footer-brand strong {
  color: var(--white);
  font-size: 1.15rem;
}

.social-row {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.social-row a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}

.social-row a:hover {
  background: var(--green-600);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 20px 0;
  font-size: 0.82rem;
  color: #8b9282;
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .teaser-grid,
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-teaser,
  .service-detail,
  .about-hero,
  .contacts-layout,
  .contact-info-grid {
    grid-template-columns: 1fr;
  }

  .service-detail:nth-child(even) .service-visual {
    order: 0;
  }

  .why-strip,
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .catalog-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .topbar-hours {
    display: none;
  }

  .burger {
    display: flex;
    margin-right: 14px;
  }

  .main-nav {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    z-index: 50;
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
    box-shadow: var(--shadow-md);
  }

  .main-nav.is-open {
    display: block;
    background: rgba(24, 32, 20, 0.95);
    box-shadow: var(--shadow-md);
  }

  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .main-nav a {
    padding: 14px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .hero-inner {
    padding: 44px 24px 100px;
  }

  .why-strip,
  .values-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px 16px;
  }

  .footer-col:first-child,
  .footer-col:last-child {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .service-detail .cta-row {
    flex-direction: column;
    gap: 12px;
  }

  .service-detail .cta-row .btn {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .teaser-grid,
  .category-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Floating Viber/Telegram contacts ---------- */

.floating-contacts {
  position: fixed;
  left: 20px;
  top: 50%;
  transform: translateY(-50%) translateX(-90px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 60;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.floating-contacts.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-50%) translateX(0);
}

.floating-contact-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: var(--shadow-md);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.floating-contact-btn:hover {
  transform: scale(1.08);
  box-shadow: var(--shadow-lg, var(--shadow-md));
}

.floating-contact-btn .icon {
  width: 22px;
  height: 22px;
  stroke: var(--white);
}

.floating-contact-viber {
  background: #7360f2;
}

.floating-contact-telegram {
  background: #29b6f6;
}

@media (max-width: 720px) {
  .floating-contacts {
    left: 12px;
    gap: 10px;
  }

  .floating-contact-btn {
    width: 42px;
    height: 42px;
  }

  .floating-contact-btn .icon {
    width: 19px;
    height: 19px;
  }
}
