/* Sustainable living and eco-friendly products — zero waste kitchen
   палитра: пастельная | стиль: острый-строгий | код: семантический
   Базовый слой сгенерирован автоматически. Секционные раскладки — ниже. */
:root {
  --color-bg: #fdfcfa;
  --color-text: #262322;
  --color-muted: #6e6763;
  --color-accent: #b4553c;
  --color-surface: #f6f1ec;
  --color-on-accent: #ffffff;

  --font-heading: 'DM Serif Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;

  --radius: 0;
  --shadow: none;
  --container: 68rem;
}

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

html {
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
  overflow-x: hidden;
}

/* .swiper-pagination (vendor) всегда z-index:10 и растянута на всю ширину —
   кнопки листания не должны оказаться под ней, с каким бы z-index их ни
   поставила секционная раскладка. */
[data-slider-prev], [data-slider-next] { z-index: 20 !important; }

h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.15; margin: 0 0 .6em; }
h1 { font-size: clamp(2.5rem, 6vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); }
p  { font-size: clamp(1rem, 1.1vw, 1.125rem); margin: 0 0 1.1em; max-width: 68ch; }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-accent); }

:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }

.wrapper {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.25rem;
  overflow-x: hidden;
}

section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
section:nth-of-type(even) { background: var(--color-surface); }

.block-eyebrow {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: .6rem;
}

/* кнопки */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .8rem 1.6rem;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-weight: 600; text-decoration: none; cursor: pointer;
  transition: background .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.button-primary { background: var(--color-accent); color: var(--color-on-accent); }
.button-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.button-ghost { background: transparent; color: var(--color-accent); border-color: var(--color-accent); }
.button-ghost:hover { background: var(--color-accent); color: var(--color-on-accent); }

/* формы */
.contact-form label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .35rem; }
.contact-form input, .contact-form textarea {
  width: 100%; padding: .8rem 1rem; margin-bottom: 1rem;
  border: 1px solid color-mix(in srgb, var(--color-muted) 35%, transparent);
  border-radius: var(--radius); background: var(--color-bg); color: var(--color-text); font: inherit;
}
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--color-accent); outline-offset: 1px; }
.contact-form [aria-invalid="true"] { border-color: #c62828; }
.contact-form-error { color: #c62828; font-size: .85rem; margin: -.7rem 0 .9rem; }
.contact-form-ok { background: color-mix(in srgb, var(--color-accent) 12%, transparent);
  border-radius: var(--radius); padding: 1rem; font-weight: 600; }
.contact-form-consent { display: flex; gap: .6rem; align-items: flex-start; font-weight: 400; }
.contact-form-consent input { width: auto; margin: .25rem 0 0; }

/* шапка */
.site-header {
  position: sticky; top: 0; z-index: 1030;
  background: var(--color-bg);
  border-bottom: 1px solid color-mix(in srgb, var(--color-muted) 22%, transparent);
}
.site-header-transparent { background: transparent; border-bottom-color: transparent; }
.site-header-inner { display: flex; align-items: center; gap: 1.5rem; padding-block: .9rem; }
.site-header-brand { font-family: var(--font-heading); font-weight: 700; font-size: 1.15rem;
  color: var(--color-text); text-decoration: none; margin-right: auto; }
.main-nav-list { display: flex; gap: .35rem; list-style: none; margin: 0; padding: 0; }
.main-nav-link { display: block; padding: .5rem .9rem; border-radius: var(--radius);
  color: var(--color-text); text-decoration: none; font-weight: 500;
  transition: background .2s ease, color .2s ease; }
.main-nav-link:hover { background: var(--color-surface); }
.main-nav-link.is-active { color: var(--color-accent);
  background: color-mix(in srgb, var(--color-accent) 12%, transparent); }
.main-nav-split { display: flex; align-items: center; gap: 2rem; width: 100%;
  justify-content: center; }
.site-header-burger { display: none; flex-direction: column; gap: 4px; padding: .6rem;
  background: none; border: 0; cursor: pointer; }
.site-header-burger span { width: 22px; height: 2px; background: var(--color-text); }

/* футер */
.site-footer { background: var(--color-surface); }
.site-footer-contrast { background: var(--color-text); color: var(--color-bg); }
.site-footer-contrast a { color: inherit; }
.site-footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem;
  padding-block: clamp(2.5rem, 5vw, 4rem); }
.site-footer-row { display: flex; justify-content: space-between; flex-wrap: wrap;
  gap: 1rem; padding-block: 1.6rem; font-size: .9rem; }
.site-footer-brand { font-family: var(--font-heading); font-size: 1.25rem; font-weight: 700; margin: 0 0 .4rem; }
.site-footer-tagline { opacity: .75; font-size: .95rem; }
.site-footer-title { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
  opacity: .7; margin-bottom: .9rem; }
.site-footer-address { font-style: normal; line-height: 1.7; }
.site-footer-hours { opacity: .75; font-size: .92rem; margin-top: .7rem; }
.site-footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.site-footer-cookie { background: none; border: 0; padding: 0; color: inherit;
  text-decoration: underline; cursor: pointer; font: inherit; }
.site-footer-bottom { display: flex; justify-content: space-between; gap: 1rem;
  padding-block: 1.2rem; font-size: .85rem; opacity: .75;
  border-top: 1px solid color-mix(in srgb, var(--color-muted) 25%, transparent); }
.site-footer-bottom p { margin: 0; }

/* плашка cookie */
.cookie-notice {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 1080;
  background: var(--color-surface);
  border-top: 1px solid color-mix(in srgb, var(--color-muted) 30%, transparent);
  box-shadow: 0 -8px 30px rgb(0 0 0 / .12);
  transform: translateY(100%); transition: transform .35s ease;
}
.cookie-notice.is-visible { transform: translateY(0); }
.cookie-notice-inner { display: flex; align-items: center; gap: 1.5rem; padding-block: 1.1rem; }
.cookie-notice-text p { margin: 0; font-size: .92rem; max-width: 70ch; }
.cookie-notice-actions { display: flex; align-items: center; gap: .7rem; margin-left: auto; flex-shrink: 0; }
.cookie-notice-configure { background: none; border: 0; color: var(--color-accent);
  font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer; }
.cookie-notice-options { display: grid; gap: .6rem; margin-top: 1rem; }
.cookie-notice-option { display: grid; grid-template-columns: auto 1fr; gap: .5rem .6rem;
  align-items: start; font-size: .9rem; font-weight: 600; }
.cookie-notice-option span { grid-column: 2; font-weight: 400; opacity: .75; }

/* правовые страницы */
.legal-page { background: var(--color-bg); }
.legal-page-inner { max-width: 52rem; padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.legal-page h2 { margin-top: 2.2rem; }
.legal-page h3 { margin-top: 1.4rem; }
.legal-page-updated { color: var(--color-muted); font-size: .9rem; }
.legal-page-table { width: 100%; border-collapse: collapse; margin: 1.2rem 0 1.8rem; }
.legal-page-table th, .legal-page-table td { text-align: left; padding: .7rem .9rem;
  border-bottom: 1px solid color-mix(in srgb, var(--color-muted) 25%, transparent); vertical-align: top; }
.legal-page-table th { width: 34%; font-weight: 600; }
.legal-page-back { margin-top: 2.5rem; }
/* анимации: без JS всё видно */
[data-aos]:not(.aos-init) { opacity: 1 !important; transform: none !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-aos] { opacity: 1 !important; transform: none !important; }
}

@media (max-width: 991px) {
  .site-footer-inner { grid-template-columns: 1fr 1fr; }
  .cookie-notice-inner { flex-direction: column; align-items: stretch; }
  .cookie-notice-actions { margin-left: 0; flex-wrap: wrap; }
}

@media (max-width: 767px) {
  .site-header-burger { display: flex; }
  .site-header-cta { display: none; }
  .main-nav { display: none; width: 100%; }
  .main-nav.is-open { display: block; }
  .main-nav-list { flex-direction: column; padding-block: .6rem; }
  .site-header-inner { flex-wrap: wrap; }
  .site-footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .site-footer-bottom, .site-footer-row { flex-direction: column; }
  .cookie-notice-actions .button { flex: 1 1 auto; }
}

/* Секционные раскладки */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  padding: 0;
  isolation: isolate;
  background: var(--color-text);
  color: var(--color-on-accent);
}
.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  z-index: -2;
}
.hero-overlay {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 78vh;
  background: color-mix(in srgb, var(--color-text) 68%, transparent);
}
.hero-content { text-align: center; padding-block: 5rem; }
.hero-content h1 { max-width: 13ch; margin-inline: auto; }
.hero-content p:not(.block-eyebrow) { max-width: 58ch; margin-inline: auto; }
.hero .block-eyebrow { color: var(--color-on-accent); }

.page-hero { border-bottom: 1px solid var(--color-muted); }
.page-hero .wrapper > p:not(.block-eyebrow) { max-width: 58ch; }
.page-hero img,
#about img,
#topic-03 img,
#topic-07 img,
#about-method img,
#about-team img,
#service-process img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 0;
}
.page-hero img { aspect-ratio: 1 / 1; }

.topic-card,
.tile-grid article,
.bento-grid article,
.counter-grid article,
.testimonial,
.offer-card,
.lead-form {
  padding: 1.75rem;
  border: 1px solid color-mix(in srgb, var(--color-muted) 35%, transparent);
  border-radius: 0;
}
.topic-card { display: flex; flex-direction: column; height: 100%; background: var(--color-bg); }
.topic-card p:last-child { margin-bottom: 0; }

.slider-shell { position: relative; margin-top: 2rem; padding-inline: 2.75rem; }
.slider-shell .swiper { padding-bottom: 3rem; }
.slider-shell .swiper-wrapper { align-items: stretch; }
.slider-shell .swiper-slide { height: auto; }
.slider-shell [data-slider-prev],
.slider-shell [data-slider-next] {
  position: absolute;
  top: calc(50% - 1.5rem);
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--color-muted);
  border-radius: 0;
  background: var(--color-bg);
  color: var(--color-text);
  transition: background .2s ease, color .2s ease;
}
.slider-shell [data-slider-prev] { left: 0; }
.slider-shell [data-slider-next] { right: 0; }
.slider-shell [data-slider-prev]:hover,
.slider-shell [data-slider-next]:hover { background: var(--color-accent); color: var(--color-on-accent); }
.swiper-pagination-bullet { background: var(--color-muted); opacity: .45; }
.swiper-pagination-bullet-active { background: var(--color-accent); opacity: 1; }

.text-columns { display: grid; gap: 1.5rem; margin-top: 1.75rem; }
.text-columns p { margin: 0; }

.quote-section { background: var(--color-accent) !important; color: var(--color-on-accent); }
.quote-section .wrapper { max-width: 56rem; }
.quote-section .block-eyebrow { color: var(--color-on-accent); }
.quote-section h2 { font-size: clamp(2rem, 4.5vw, 3.5rem); }

.wide-image {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  border-radius: 0;
  margin: 2rem 0;
}

#topic-08 figure { display: flex; flex-direction: column; margin: 0; }
#topic-08 figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
#topic-08 figcaption { flex: 1; padding: 1rem 0; border-bottom: 1px solid var(--color-muted); }

.numbered-list { list-style: none; counter-reset: errors; margin: 2rem 0 0; padding: 0; }
.numbered-list li {
  counter-increment: errors;
  position: relative;
  padding: 1.5rem 0 1.5rem 4.5rem;
  border-top: 1px solid var(--color-muted);
}
.numbered-list li::before {
  content: "0" counter(errors);
  position: absolute;
  left: 0;
  top: 1.15rem;
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--color-accent);
}
.numbered-list p { margin-bottom: 0; }

.timeline { position: relative; display: grid; gap: 1.5rem; margin-top: 2rem; padding-left: 3.25rem; }
.timeline::before { content: ""; position: absolute; left: 1.1rem; top: 1rem; bottom: 1rem; border-left: 1px solid var(--color-muted); }
.timeline article { position: relative; padding: 1.25rem 1.5rem; background: var(--color-bg); border: 1px solid var(--color-muted); }
.timeline article > span {
  position: absolute;
  left: -3.25rem;
  top: 1rem;
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  background: var(--color-accent);
  color: var(--color-on-accent);
  font-weight: 700;
}
.timeline p { margin-bottom: 0; }

.bento-grid { display: grid; gap: 1rem; margin-top: 2rem; }
.bento-grid article { display: flex; flex-direction: column; background: var(--color-bg); }
.bento-grid article p:last-child { margin-bottom: 0; }
.bento-grid .bento-main { padding: 0; }
.bento-main img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.bento-main h3 { padding: 1.5rem 1.75rem 0; }
.bento-main p { padding-inline: 1.75rem; }

.tile-grid { display: grid; gap: 1rem; margin: 2rem 0; }
.tile-grid article { background: var(--color-bg); border-top: 4px solid var(--color-accent); }
.tile-grid article > span { display: block; margin-bottom: 1.25rem; color: var(--color-accent); font-weight: 700; letter-spacing: .14em; }
.tile-grid article p { margin-bottom: 0; }

.table-responsive { margin: 2rem 0 1.25rem; border: 1px solid var(--color-muted); }
.comparison-table { width: 100%; min-width: 42rem; border-collapse: collapse; background: var(--color-bg); }
.comparison-table th,
.comparison-table td { padding: .85rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--color-muted); }
.comparison-table thead th { background: var(--color-accent); color: var(--color-on-accent); }
.comparison-table tbody th { font-weight: 700; }
.comparison-table tr:last-child > * { border-bottom: 0; }

.accordion { margin-top: 2rem; border-top: 1px solid var(--color-muted); }
.accordion-item { border: 0; border-bottom: 1px solid var(--color-muted); border-radius: 0 !important; background: transparent; }
.accordion-button { padding: 1.25rem 0; border-radius: 0 !important; background: transparent; color: var(--color-text); font-family: var(--font-heading); font-size: 1.15rem; box-shadow: none !important; }
.accordion-button:not(.collapsed) { background: transparent; color: var(--color-accent); }
.accordion-button:focus { box-shadow: 0 0 0 2px var(--color-accent) !important; }
.accordion-body { padding: 0 0 1.35rem; max-width: 68ch; }

.counter-grid { display: grid; gap: 1rem; margin: 2rem 0; }
.counter-grid article { display: flex; flex-direction: column; justify-content: space-between; min-height: 10rem; background: var(--color-text); color: var(--color-on-accent); }
.counter-grid strong { font-family: var(--font-heading); font-size: clamp(2.75rem, 6vw, 4.5rem); line-height: 1; color: var(--color-on-accent); }
.counter-grid span { margin-top: 1.5rem; }

.testimonial { display: flex; flex-direction: column; justify-content: center; min-height: 17rem; background: var(--color-bg); text-align: center; }
.testimonial blockquote { max-width: 44rem; margin: 0 auto 1rem; font-family: var(--font-heading); font-size: clamp(1.35rem, 2.7vw, 2rem); }
.testimonial p { margin-inline: auto; color: var(--color-muted); }

#services .row,
#service-plans .row { margin-top: 2rem; }
#services article,
#service-plans article { display: flex; }
.offer-card { position: relative; display: flex; flex-direction: column; width: 100%; background: var(--color-bg); }
.offer-card-featured { border: 2px solid var(--color-accent); }
.offer-badge { align-self: flex-start; margin: -1.75rem 0 1.25rem; padding: .35rem .75rem; background: var(--color-accent); color: var(--color-on-accent); font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.price { color: var(--color-accent); font-family: var(--font-heading); font-size: clamp(2rem, 4vw, 3rem); line-height: 1; }
.price small { display: block; margin-top: .5rem; color: var(--color-muted); font-family: var(--font-body); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.offer-card ul { padding-left: 1.2rem; }
.offer-card .button { margin-top: auto; }
.pricing-note { max-width: none; margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--color-muted); }

.contact-section { background: var(--color-text) !important; color: var(--color-on-accent); text-align: center; }
.contact-section .wrapper { max-width: 52rem; }
.contact-section p { margin-inline: auto; }
.contact-section .button-ghost { color: var(--color-on-accent); border-color: var(--color-on-accent); }
.contact-section .button-ghost:hover { background: var(--color-on-accent); color: var(--color-text); }
.contact-intro { text-align: center; margin-inline: auto; }
.lead-form { max-width: 44rem; margin-inline: auto; background: var(--color-bg); color: var(--color-text); text-align: left; }
#contact-details iframe { border: 1px solid var(--color-muted) !important; }

@media (min-width: 576px) {
  .counter-grid { grid-template-columns: repeat(2, 1fr); }
  .cookie-notice-actions .button { min-width: 10rem; }
}

@media (min-width: 768px) {
  .text-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem; }
  .tile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .counter-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .bento-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: minmax(10rem, auto); }
  .bento-grid .bento-main { grid-row: span 2; }
}

@media (min-width: 992px) {
  .bento-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .bento-grid .bento-main { grid-column: span 2; grid-row: span 2; }
  .offer-card-featured { transform: translateY(-.75rem); min-height: calc(100% + 1.5rem); }
  #social-proof .slider-shell { padding-inline: 4rem; }
}

@media (max-width: 575px) {
  .slider-shell { padding-inline: 0; padding-bottom: 2.5rem; }
  .slider-shell [data-slider-prev], .slider-shell [data-slider-next] { top: auto; bottom: 0; }
  .slider-shell [data-slider-next] { left: 3rem; right: auto; }
  .wide-image { aspect-ratio: 4 / 3; }
  .lead-form { padding: 1.25rem; }
  .contact-section .button { width: 100%; margin-top: .65rem; }
}
