/*
Theme Name: Pink Lotus Elementor
Author: Codex
Version: 2.0.0
Text Domain: pink-lotus-elementor
*/

/* =========================================================
   Розовый лотос — «Зёрна жизни»
   Природный апотекари: крем / охра / шалфей,
   антиква Cormorant + гуманист-гротеск Golos Text
   ========================================================= */

:root {
  --bg: #f3ead8;
  --bg-deep: #ecdfc6;
  --card: #fbf5e9;
  --ink: #292420;
  --ink-2: #574d40;
  --ink-3: #8c7e69;
  --ochre: #a85d20;
  --ochre-bright: #c5792a;
  --gold: #cf9d3c;
  --sage: #5d6b4a;
  --sage-deep: #3a4430;
  --line: rgba(41, 36, 32, 0.16);
  --line-soft: rgba(41, 36, 32, 0.08);
  --paper-shadow: 0 30px 60px -28px rgba(58, 40, 18, 0.4);
  --arch: 50% 50% 10px 10px / 42% 42% 10px 10px;
  --display: "Cormorant", "Times New Roman", serif;
  --body: "Golos Text", system-ui, sans-serif;
  --wrap: min(1180px, calc(100% - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--bg);
  background-image:
    radial-gradient(120% 80% at 80% -10%, rgba(207, 157, 60, 0.22), transparent 60%),
    radial-gradient(90% 70% at -10% 0%, rgba(93, 107, 74, 0.14), transparent 55%);
  background-attachment: fixed;
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Зернистая текстура поверх всего */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.4;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}

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

a {
  color: inherit;
}

.pl-wp-static-home .elementor-container,
.pl-wp-static-home .elementor-column,
.pl-wp-static-home .elementor-widget-wrap,
.pl-wp-static-home .elementor-widget,
.pl-wp-static-home .elementor-widget-container {
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.pl-wp-static-home .elementor-container {
  width: 100% !important;
  display: block !important;
}

::selection {
  background: var(--sage);
  color: var(--bg);
}

.container {
  width: var(--wrap);
  margin: 0 auto;
}

/* ============================ Типографика ============================ */

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: 0.005em;
  margin: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  font-family: var(--body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ochre);
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
}

.lead {
  font-size: 20px;
  color: var(--ink-2);
}

/* ============================ Шапка ============================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(243, 234, 216, 0.82);
  backdrop-filter: blur(12px) saturate(1.1);
  border-bottom: 1px solid var(--line-soft);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 16px 0;
}

.logo {
  flex: 0 0 auto;
  display: block;
}

.logo img {
  width: 230px;
  height: auto;
  mix-blend-mode: multiply;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 34px;
}

.site-nav {
  display: flex;
  gap: 28px;
}

.site-nav a {
  position: relative;
  padding: 4px 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-2);
  transition: color 0.25s ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: var(--ochre);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  color: var(--ink);
  outline: none;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.phone-block {
  text-align: right;
  line-height: 1.2;
}

.phone-block span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.phone-block a {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
}

/* ============================ Кнопки ============================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border: 0;
  border-radius: 100px;
  font-family: var(--body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn-primary {
  background: var(--sage-deep);
  color: #f5efe2;
  box-shadow: 0 14px 30px -14px rgba(58, 68, 48, 0.8);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--sage);
  transform: translateY(-2px);
  outline: none;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: var(--ochre);
  color: var(--ochre);
  outline: none;
}

.btn .arrow {
  transition: transform 0.25s ease;
}

.btn:hover .arrow {
  transform: translateX(4px);
}

/* ============================ Hero ============================ */

.hero {
  position: relative;
  padding: clamp(48px, 8vw, 104px) 0 clamp(56px, 8vw, 110px);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.hero h1 {
  font-size: clamp(48px, 8.5vw, 104px);
  letter-spacing: -0.01em;
}

.hero h1 em {
  font-style: italic;
  color: var(--ochre);
}

.hero .lead {
  max-width: 40ch;
  margin: 26px 0 34px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-figure {
  position: relative;
  overflow: visible;
}

.hero-figure img {
  width: 100%;
  aspect-ratio: 3 / 3.7;
  object-fit: cover;
  border-radius: 50% 50% 10px 10px / 42% 42% 10px 10px !important;
  box-shadow: var(--paper-shadow);
}

.hero-figure::before {
  content: "";
  position: absolute;
  inset: -14px;
  border: 1px solid var(--line);
  border-radius: var(--arch);
  pointer-events: none;
}

.hero-seal {
  position: absolute;
  left: -28px;
  bottom: 36px;
  width: 124px;
  height: 124px;
  display: grid;
  place-content: center;
  text-align: center;
  border-radius: 50%;
  background: var(--card);
  color: var(--sage-deep);
  box-shadow: var(--paper-shadow);
  font-family: var(--display);
  line-height: 1.05;
}

.hero-seal b {
  display: block;
  font-size: 38px;
  color: var(--ochre);
}

.hero-seal span {
  font-family: var(--body);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.pl-editable-home .elementor-widget:not(:last-child) {
  margin-bottom: 0;
}

.pl-editable-home .elementor-heading-title {
  font-family: var(--display) !important;
  font-weight: 500 !important;
  line-height: 1.04 !important;
  letter-spacing: 0.005em !important;
  color: inherit;
}

.pl-editable-home .elementor-widget-text-editor {
  color: inherit;
  font-family: var(--body);
}

.pl-hero-section > .elementor-container {
  display: grid !important;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.pl-hero-section > .elementor-container > .elementor-column {
  width: auto !important;
}

.pl-hero-section .hero-rise .elementor-widget-wrap {
  display: block !important;
}

.pl-hero-section .hero-rise .elementor-widget-heading h1 {
  margin: 0;
}

.pl-hero-section .hero-eyebrow {
  margin-bottom: 22px;
}

.pl-hero-section .elementor-widget-button {
  display: inline-block;
  width: auto;
  margin: 0 12px 0 0;
}

.pl-hero-section .elementor-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 100px;
  font-family: var(--body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.pl-hero-section .btn-primary .elementor-button {
  background: var(--sage-deep);
  color: #f5efe2;
  box-shadow: 0 14px 30px -14px rgba(58, 68, 48, 0.8);
}

.pl-hero-section .btn-ghost .elementor-button {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.pl-hero-section .elementor-button:hover,
.pl-hero-section .elementor-button:focus-visible {
  transform: translateY(-2px);
}

.home .elementor-section:has(.hero-visual) {
  padding-top: clamp(48px, 8vw, 104px) !important;
  padding-bottom: clamp(56px, 8vw, 110px) !important;
}

.home .elementor-section:has(.hero-visual) > .elementor-container {
  display: grid !important;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.home .elementor-section:has(.hero-visual) > .elementor-container > .elementor-column {
  width: auto !important;
}

.home .elementor-section:has(.hero-visual) .elementor-widget-wrap {
  display: block !important;
}

.home .elementor-section:has(.hero-visual) h1 {
  font-family: var(--display) !important;
  font-weight: 500 !important;
  line-height: 1.04 !important;
  font-size: clamp(48px, 8.5vw, 104px);
  letter-spacing: -0.01em;
  color: var(--ink) !important;
}

.home .elementor-section:has(.hero-visual) h1 em {
  font-style: italic;
  color: var(--ochre) !important;
}

.home .elementor-section:has(.hero-visual) .elementor-widget-button {
  display: inline-block;
  width: auto;
  margin: 12px 12px 0 0;
  vertical-align: top;
}

.home .elementor-section:has(.hero-visual) .elementor-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px !important;
  border-radius: 100px !important;
  font-family: var(--body) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  letter-spacing: 0.04em !important;
  text-decoration: none !important;
  border: 1px solid transparent;
  box-shadow: none;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.home .elementor-section:has(.hero-visual) .elementor-button-content-wrapper,
.home .elementor-section:has(.hero-visual) .elementor-button-text {
  display: inline-flex;
  align-items: center;
  line-height: 1 !important;
}

.home .elementor-section:has(.hero-visual) .btn-primary .elementor-button {
  background: var(--sage-deep) !important;
  color: #f5efe2 !important;
  border-color: var(--sage-deep) !important;
  box-shadow: 0 14px 30px -14px rgba(58, 68, 48, 0.8) !important;
}

.home .elementor-section:has(.hero-visual) .btn-ghost .elementor-button {
  background: transparent !important;
  color: var(--ink) !important;
  border-color: var(--line) !important;
  box-shadow: none !important;
}

.home .elementor-section:has(.hero-visual) .btn-primary .elementor-button:hover,
.home .elementor-section:has(.hero-visual) .btn-primary .elementor-button:focus-visible {
  background: var(--sage) !important;
  border-color: var(--sage) !important;
}

.home .elementor-section:has(.hero-visual) .btn-ghost .elementor-button:hover,
.home .elementor-section:has(.hero-visual) .btn-ghost .elementor-button:focus-visible {
  color: var(--ochre) !important;
  border-color: var(--ochre) !important;
}

.home .elementor-widget-button.btn-primary,
.home .elementor-widget-button.btn-ghost {
  display: inline-block !important;
  width: auto !important;
  max-width: max-content !important;
  margin: 12px 12px 0 0 !important;
  vertical-align: top;
}

.home .elementor-widget-button.btn-primary .elementor-button,
.home .elementor-widget-button.btn-ghost .elementor-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 52px !important;
  width: auto !important;
  max-width: max-content !important;
  padding: 0 26px !important;
  border-radius: 999px !important;
  font-family: var(--body) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  letter-spacing: 0.04em !important;
  text-decoration: none !important;
  border: 1px solid transparent !important;
}

.home .elementor-widget-button.btn-primary .elementor-button {
  background: var(--sage-deep) !important;
  color: #f5efe2 !important;
  border-color: var(--sage-deep) !important;
  box-shadow: 0 14px 30px -14px rgba(58, 68, 48, 0.8) !important;
}

.home .elementor-widget-button.btn-ghost .elementor-button {
  background: transparent !important;
  color: var(--ink) !important;
  border-color: var(--line) !important;
  box-shadow: none !important;
}

.home .elementor-widget-button.btn-primary .elementor-button:hover,
.home .elementor-widget-button.btn-primary .elementor-button:focus-visible {
  background: var(--sage) !important;
  border-color: var(--sage) !important;
}

.home .elementor-widget-button.btn-ghost .elementor-button:hover,
.home .elementor-widget-button.btn-ghost .elementor-button:focus-visible {
  color: var(--ochre) !important;
  border-color: var(--ochre) !important;
}

/* Бегущая строка из колосьев */
.marquee {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  padding: 16px 0;
  overflow: hidden;
  white-space: nowrap;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 38px;
  animation: marquee 38s linear infinite;
}

.marquee span {
  font-family: var(--display);
  font-size: 26px;
  font-style: italic;
  color: var(--ink-2);
}

.marquee svg {
  flex: 0 0 auto;
  color: var(--ochre);
  opacity: 0.8;
}

.pl-marquee-section > .elementor-container,
.pl-marquee-section .elementor-column,
.pl-marquee-section .elementor-widget-wrap,
.pl-marquee-section .elementor-widget,
.pl-marquee-section .elementor-widget-container {
  max-width: none !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

.pl-marquee-section .marquee-track span::after {
  content: "⌁";
  margin-left: 38px;
  color: var(--ochre);
  font-style: normal;
}

.home .elementor-section:has(.marquee),
.home .elementor-section:has(.marquee) > .elementor-container,
.home .elementor-section:has(.marquee) .elementor-column,
.home .elementor-section:has(.marquee) .elementor-widget-wrap,
.home .elementor-section:has(.marquee) .elementor-widget,
.home .elementor-section:has(.marquee) .elementor-widget-container {
  max-width: none !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

.home .elementor-section:has(.marquee) .marquee-track span::after {
  content: "⌁";
  margin-left: 38px;
  color: var(--ochre);
  font-style: normal;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ============================ Секции ============================ */

.section {
  padding: clamp(64px, 9vw, 128px) 0;
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.section-head h2 {
  font-size: clamp(34px, 5vw, 58px);
}

.home .section-head h2,
.home #products-title {
  font-family: var(--display) !important;
  font-weight: 500 !important;
  line-height: 1.04 !important;
  color: var(--ink) !important;
}

.section-head p {
  margin: 18px 0 0;
  color: var(--ink-2);
  font-size: 19px;
}

/* Манифест о зародыше */
.manifest {
  position: relative;
}

.manifest-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(36px, 5vw, 80px);
  align-items: start;
}

.manifest h2 {
  font-size: clamp(36px, 5.5vw, 66px);
  position: sticky;
  top: 120px;
}

.manifest h2 em {
  font-style: italic;
  color: var(--ochre);
}

.manifest-body p {
  margin: 0 0 22px;
  font-size: 18.5px;
}

.manifest-body p:first-of-type {
  font-size: 22px;
  color: var(--ink);
}

.manifest-body p:first-of-type::first-letter {
  float: left;
  font-family: var(--display);
  font-size: 86px;
  line-height: 0.72;
  font-weight: 600;
  padding: 8px 14px 0 0;
  color: var(--ochre);
}

.manifest-body strong {
  font-weight: 600;
  color: var(--sage-deep);
}

.pl-manifest-section > .elementor-container {
  display: grid !important;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(36px, 5vw, 80px);
  align-items: start;
}

.pl-manifest-section > .elementor-container > .elementor-column {
  width: auto !important;
}

.pl-manifest-section .elementor-widget-heading h2 {
  font-size: clamp(36px, 5.5vw, 66px);
  position: sticky;
  top: 120px;
}

.pl-manifest-section .elementor-widget-heading h2 em {
  font-style: italic;
  color: var(--ochre);
}

.home .elementor-section:has(.manifest-body) > .elementor-container {
  display: grid !important;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(36px, 5vw, 80px);
  align-items: start;
}

.home .elementor-section:has(.manifest-body) > .elementor-container > .elementor-column {
  width: auto !important;
}

.home .elementor-section:has(.manifest-body) h2 {
  font-family: var(--display) !important;
  font-weight: 500 !important;
  line-height: 1.04 !important;
  font-size: clamp(36px, 5.5vw, 66px);
  position: sticky;
  top: 120px;
  color: var(--ink) !important;
}

.home .elementor-section:has(.manifest-body) h2 em {
  font-style: italic;
  color: var(--ochre) !important;
}

/* Состав — апотекарская этикетка */
.compose {
  background: var(--sage-deep);
  color: #ece4d3;
  border-radius: 26px;
  position: relative;
  overflow: hidden;
  scroll-margin-top: 110px;
}

.compose::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.5;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.compose-inner {
  position: relative;
  padding: clamp(40px, 5vw, 72px);
}

.compose .eyebrow {
  color: var(--gold);
}

.compose h2 {
  font-size: clamp(30px, 4vw, 46px);
  max-width: 18ch;
  margin-bottom: 36px;
}

.compose h2 em {
  font-style: italic;
  color: var(--gold);
}

.compose-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: c;
}

.compose-list li {
  counter-increment: c;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  gap: 18px;
  padding: 16px 0;
  border-top: 1px solid rgba(236, 228, 211, 0.2);
  font-size: 19px;
}

.compose-list li::before {
  content: counter(c, decimal-leading-zero);
  font-family: var(--display);
  font-size: 15px;
  letter-spacing: 0.1em;
  color: var(--gold);
}

/* ============================ Продукция ============================ */

.products {
  background: var(--bg-deep);
}

.pl-products-heading-section,
.pl-products-row,
.pl-products-bread-section,
.pl-docs-section {
  background: var(--bg-deep);
}

.home #products,
.home .elementor-section:has(.product-card-feed),
.home .elementor-section:has(.product-card-oil),
.home .elementor-section:has(.product-card-bread),
.home .elementor-section:has(.docs) {
  background: var(--bg-deep);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 3vw, 36px);
}

.product-card {
  position: relative;
  display: block;
  background: var(--card);
  border-radius: 22px;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 24px 50px -34px rgba(58, 40, 18, 0.55);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s ease;
}

.product-card:hover,
.product-card:focus-visible {
  transform: translateY(-6px);
  box-shadow: var(--paper-shadow);
  outline: none;
}

.product-figure {
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.product-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.product-card:hover .product-figure img {
  transform: scale(1.06);
}

.product-card:nth-child(5) {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(280px, 0.42fr) 1fr;
}

.product-card:nth-child(5) .product-figure {
  aspect-ratio: auto;
  height: 100%;
  min-height: 260px;
}

.product-card:nth-child(5) .product-body {
  align-self: center;
}

.product-body {
  padding: 28px clamp(24px, 3vw, 36px) 34px;
}

.product-index {
  font-family: var(--display);
  font-size: 14px;
  letter-spacing: 0.16em;
  color: var(--ochre);
}

.product-card h3 {
  font-size: clamp(26px, 3vw, 34px);
  margin: 8px 0 12px;
  color: var(--sage-deep);
}

.product-card p {
  margin: 0;
  color: var(--ink-2);
}

.pl-products-row > .elementor-container {
  gap: clamp(20px, 3vw, 36px);
}

.pl-products-row > .elementor-container > .elementor-column {
  width: 50% !important;
}

.pl-products-row .elementor-widget-wrap {
  padding: 0 !important;
}

.pl-products-row .product-card,
.pl-products-bread-section .product-card {
  height: 100%;
}

.pl-products-row .elementor-image-box-wrapper,
.pl-products-bread-section .elementor-image-box-wrapper {
  display: block;
  background: var(--card);
  border-radius: 22px;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 24px 50px -34px rgba(58, 40, 18, 0.55);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s ease;
}

.pl-products-row .elementor-image-box-wrapper:hover,
.pl-products-bread-section .elementor-image-box-wrapper:hover {
  transform: translateY(-6px);
  box-shadow: var(--paper-shadow);
}

.pl-products-row .elementor-image-box-img,
.pl-products-bread-section .elementor-image-box-img {
  width: 100% !important;
  margin: 0 !important;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.pl-products-row .elementor-image-box-img img,
.pl-products-bread-section .elementor-image-box-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.pl-products-row .elementor-image-box-wrapper:hover img,
.pl-products-bread-section .elementor-image-box-wrapper:hover img {
  transform: scale(1.06);
}

.pl-products-row .elementor-image-box-content,
.pl-products-bread-section .elementor-image-box-content {
  padding: 28px clamp(24px, 3vw, 36px) 34px;
  text-align: left;
}

.pl-products-row .elementor-image-box-title,
.pl-products-bread-section .elementor-image-box-title {
  font-family: var(--display);
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 500;
  line-height: 1.04;
  margin: 0 0 12px;
  color: var(--sage-deep);
}

.pl-products-row .elementor-image-box-title a,
.pl-products-bread-section .elementor-image-box-title a {
  color: inherit;
  text-decoration: none;
}

.pl-products-row .elementor-image-box-description,
.pl-products-bread-section .elementor-image-box-description {
  margin: 0;
  color: var(--ink-2);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.62;
}

.pl-products-bread-section .elementor-image-box-wrapper {
  display: grid;
  grid-template-columns: minmax(280px, 0.42fr) 1fr;
}

.pl-products-bread-section .elementor-image-box-img {
  aspect-ratio: auto;
  height: 100%;
  min-height: 260px;
}

.pl-products-bread-section .elementor-image-box-content {
  align-self: center;
}

.home .elementor-section:has(.product-card-feed) > .elementor-container,
.home .elementor-section:has(.product-card-oil) > .elementor-container {
  gap: clamp(20px, 3vw, 36px);
}

.home .elementor-section:has(.product-card-feed) > .elementor-container > .elementor-column,
.home .elementor-section:has(.product-card-oil) > .elementor-container > .elementor-column {
  width: 50% !important;
}

.home .product-card {
  height: 100%;
}

.home .product-card .elementor-image-box-wrapper {
  display: block;
  background: var(--card);
  border-radius: 22px;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 24px 50px -34px rgba(58, 40, 18, 0.55);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s ease;
}

.home .product-card .elementor-image-box-wrapper:hover {
  transform: translateY(-6px);
  box-shadow: var(--paper-shadow);
}

.home .product-card .elementor-image-box-img {
  width: 100% !important;
  margin: 0 !important;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.home .product-card .elementor-image-box-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.home .product-card .elementor-image-box-wrapper:hover img {
  transform: scale(1.06);
}

.home .product-card .elementor-image-box-content {
  padding: 28px clamp(24px, 3vw, 36px) 34px;
  text-align: left;
}

.home .product-card .elementor-image-box-title {
  font-family: var(--display);
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 500;
  line-height: 1.04;
  margin: 0 0 12px;
  color: var(--sage-deep);
}

.home .product-card .elementor-image-box-title a {
  color: inherit;
  text-decoration: none;
}

.home .product-card .elementor-image-box-description {
  margin: 0;
  color: var(--ink-2);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.62;
}

.home .product-card-bread .elementor-image-box-wrapper {
  display: grid;
  grid-template-columns: minmax(280px, 0.42fr) 1fr;
}

.home .product-card-bread .elementor-image-box-img {
  aspect-ratio: auto;
  height: 100%;
  min-height: 260px;
}

  .home .product-card-bread .elementor-image-box-content {
    align-self: center;
  }

  .pl-animal-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

/* Документы / доверие */
.docs {
  margin-top: clamp(28px, 4vw, 48px);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
  align-items: center;
  padding: clamp(30px, 4vw, 48px);
  background: var(--card);
  border-radius: 22px;
  border: 1px solid var(--line-soft);
}

.docs h3 {
  font-size: clamp(24px, 3vw, 34px);
  color: var(--sage-deep);
  margin-bottom: 12px;
}

.docs p {
  margin: 0;
  color: var(--ink-2);
}

.docs-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.docs-tags span {
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  background: var(--bg);
}

/* ============================ Контакты + форма ============================ */

.contacts {
  background: var(--sage-deep);
  color: #ece4d3;
  position: relative;
}

.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}

.contacts .eyebrow {
  color: var(--gold);
}

.contacts h2 {
  font-size: clamp(38px, 6vw, 72px);
  margin-bottom: 32px;
}

.contacts h2 em {
  font-style: italic;
  color: var(--gold);
}

.pl-contacts-section > .elementor-container {
  display: grid !important;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}

.pl-contacts-section > .elementor-container > .elementor-column {
  width: auto !important;
}

.home #contacts {
  background: var(--sage-deep);
  color: #ece4d3;
}

.home #contacts .elementor-heading-title {
  font-family: var(--display) !important;
  color: #ece4d3 !important;
}

.home #contacts .elementor-heading-title em {
  color: var(--gold) !important;
}

.home #contacts > .elementor-container {
  display: grid !important;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}

.home #contacts > .elementor-container > .elementor-column {
  width: auto !important;
}

.contact-rows {
  display: grid;
  gap: 26px;
  max-width: 38ch;
}

.contact-row span {
  display: block;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(236, 228, 211, 0.6);
  margin-bottom: 6px;
}

.contact-row p {
  margin: 0;
  font-size: 19px;
}

.contact-row .big {
  font-family: var(--display);
  font-size: 32px;
  font-weight: 600;
  text-decoration: none;
  color: var(--gold);
}

/* форма */
.feedback-form {
  display: grid;
  gap: 18px;
  padding: clamp(28px, 4vw, 44px);
  background: var(--card);
  color: var(--ink);
  border-radius: 24px;
  box-shadow: var(--paper-shadow);
}

.feedback-form h3 {
  font-size: clamp(26px, 3vw, 36px);
  color: var(--sage-deep);
}

.feedback-form label {
  display: grid;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.feedback-form input,
.feedback-form textarea,
.request-copy {
  width: 100%;
  padding: 13px 4px;
  border: 0;
  border-bottom: 1.5px solid var(--line);
  background: transparent;
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
  transition: border-color 0.25s ease;
}

.feedback-form input:focus,
.feedback-form textarea:focus {
  outline: none;
  border-color: var(--ochre);
}

.feedback-form textarea {
  resize: vertical;
}

.consent-check {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 12px;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
  color: var(--ink-2);
}

.consent-check input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--sage);
}

.text-button {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--ochre);
  cursor: pointer;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-status {
  min-height: 1.4em;
  margin: 0;
  color: var(--sage-deep);
  font-weight: 600;
  font-size: 15px;
}

.request-copy {
  display: none;
  min-height: 110px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
}

.request-copy.is-visible {
  display: block;
}

/* ============================ О компании ============================ */

.about-hero {
  padding: clamp(56px, 8vw, 104px) 0 0;
}

.about-hero h1 {
  font-size: clamp(46px, 8vw, 96px);
  max-width: 14ch;
}

.about-hero h1 em {
  font-style: italic;
  color: var(--ochre);
}

.about-hero .lead {
  max-width: 52ch;
  margin-top: 26px;
}

.about-figure {
  margin: clamp(40px, 6vw, 72px) 0 0;
}

.about-figure img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  object-position: center 40%;
  border-radius: 26px;
  box-shadow: var(--paper-shadow);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: clamp(36px, 5vw, 80px);
  align-items: start;
}

.about-aside {
  position: sticky;
  top: 120px;
  padding: 30px;
  background: var(--card);
  border-radius: 20px;
  border: 1px solid var(--line-soft);
}

.about-aside h2 {
  font-size: 26px;
  color: var(--sage-deep);
  margin-bottom: 18px;
}

.about-aside ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
}

.about-aside a {
  display: block;
  padding: 11px 0;
  border-bottom: 1px solid var(--line-soft);
  text-decoration: none;
  color: var(--ink-2);
  transition: color 0.2s ease, padding-left 0.25s ease;
}

.about-aside a:hover {
  color: var(--ochre);
  padding-left: 8px;
}

.about-body h2 {
  font-size: clamp(28px, 3.5vw, 42px);
  color: var(--sage-deep);
  margin: 44px 0 16px;
}

.about-body > h2:first-child {
  margin-top: 0;
}

.about-body p {
  margin: 0 0 18px;
  font-size: 18px;
  color: var(--ink-2);
}

.about-list {
  margin: 0 0 18px;
  padding-left: 22px;
  color: var(--ink-2);
  font-size: 18px;
}

.about-list li {
  margin-bottom: 8px;
}

.page-id-16 .elementor-16 {
  background:
    radial-gradient(90% 60% at 75% 0%, rgba(207, 157, 60, 0.1), transparent 62%),
    var(--bg);
  padding: clamp(48px, 7vw, 90px) 0;
}

.page-id-16 .elementor-16 > .elementor-section {
  width: var(--wrap);
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(30px, 5vw, 56px) !important;
  background: rgba(251, 245, 233, 0.94) !important;
  border: 1px solid var(--line-soft);
  border-radius: 24px;
  box-shadow: var(--paper-shadow);
}

.page-id-16 .elementor-16 .elementor-element.elementor-element-fae4955:not(.elementor-motion-effects-element-type-background),
.page-id-16 .elementor-16 .elementor-element.elementor-element-fae4955 > .elementor-motion-effects-container > .elementor-motion-effects-layer {
  background:
    linear-gradient(135deg, rgba(251, 245, 233, 0.98), rgba(243, 234, 216, 0.9)) !important;
}

.page-id-16 .elementor-16 .elementor-element.elementor-element-fae4955 > .elementor-container {
  max-width: 100% !important;
}

.page-id-16 .elementor-16 .elementor-container,
.page-id-16 .elementor-16 .elementor-column,
.page-id-16 .elementor-16 .elementor-widget-wrap {
  width: 100% !important;
  max-width: none !important;
}

.page-id-16 .elementor-16 .elementor-widget:not(:last-child) {
  margin-bottom: 20px;
}

.page-id-16 .elementor-16 .elementor-element-5baa2c2,
.page-id-16 .elementor-16 .elementor-element-5baa2c2 .elementor-widget-container {
  width: 100% !important;
  max-width: none !important;
}

.page-id-16 .elementor-16 h1,
.page-id-16 .elementor-16 h2,
.page-id-16 .elementor-16 .elementor-heading-title {
  font-family: var(--display) !important;
  font-weight: 500 !important;
  line-height: 1.05 !important;
  color: var(--sage-deep) !important;
}

.page-id-16 .elementor-16 h1 {
  width: 100%;
  max-width: none;
  margin-bottom: 26px !important;
  font-size: clamp(40px, 4.6vw, 62px) !important;
  color: var(--ink) !important;
}

.page-id-16 .elementor-16 h2 {
  margin-top: 34px !important;
  font-size: clamp(28px, 4vw, 42px) !important;
}

.page-id-16 .elementor-16 p,
.page-id-16 .elementor-16 li {
  max-width: 76ch;
  color: var(--ink-2);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.72;
}

.page-id-16 .elementor-16 p {
  margin: 0 0 18px;
}

.page-id-16 .elementor-16 ul {
  margin: 0 0 18px;
  padding-left: 22px;
}

.page-id-16 .elementor-16 li {
  margin-bottom: 8px;
}

/* ============================ Внутренние страницы продукции ============================ */

.product-detail-page,
.pl-wp-product-detail-section {
  background: var(--bg-deep);
}

.product-detail-card,
.pl-product-detail {
  display: grid;
  gap: 28px;
  padding: clamp(28px, 4vw, 48px);
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: 24px;
  box-shadow: var(--paper-shadow);
}

.product-detail-back,
.pl-back-link {
  display: inline-flex;
  width: fit-content;
  color: var(--ochre);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.product-detail-back:hover,
.pl-back-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.product-detail-head,
.pl-detail-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 340px);
  gap: clamp(26px, 4vw, 48px);
  align-items: start;
}

.product-detail-head h1,
.pl-detail-head h1 {
  font-size: clamp(38px, 6vw, 72px);
}

.product-detail-head p,
.pl-detail-head p {
  margin: 20px 0 0;
  max-width: 54ch;
  color: var(--ink-2);
  font-size: 19px;
}

.product-detail-head img,
.pl-detail-head img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--arch);
  box-shadow: var(--paper-shadow);
}

.product-detail-body,
.pl-detail-body {
  max-width: 76ch;
}

.product-detail-body h2,
.pl-detail-body h2 {
  margin: 30px 0 12px;
  color: var(--sage-deep);
  font-size: clamp(26px, 3.5vw, 38px);
}

.product-detail-body p,
.product-detail-body li,
.pl-detail-body p,
.pl-detail-body li {
  color: var(--ink-2);
  font-size: 18px;
}

.product-detail-body p,
.pl-detail-body p {
  margin: 0 0 16px;
}

.product-detail-body ul,
.pl-detail-body ul {
  margin: 0 0 18px;
  padding-left: 22px;
}

.product-detail-body li,
.pl-detail-body li {
  margin-bottom: 8px;
}

.pl-animal-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: clamp(28px, 4vw, 44px);
}

.pl-animal-gallery figure {
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--line-soft);
  box-shadow: 0 18px 36px -30px rgba(58, 40, 18, 0.5);
}

.pl-animal-gallery img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

/* ============================ Подвал ============================ */

.site-footer {
  background: var(--ink);
  color: #d8cdba;
  padding: clamp(48px, 6vw, 80px) 0 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(216, 205, 186, 0.18);
}

.footer-brand {
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 44px);
  color: #f2e9d8;
  line-height: 1.05;
}

.footer-brand em {
  font-style: italic;
  color: var(--gold);
}

.footer-col h4 {
  margin: 0 0 14px;
  font-family: var(--body);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.footer-col p,
.footer-col a {
  margin: 0 0 8px;
  display: block;
  color: #d8cdba;
  text-decoration: none;
  font-size: 16px;
}

.footer-col a:hover {
  color: var(--gold);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  font-size: 14px;
  color: var(--ink-3);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.footer-links button,
.footer-links a {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--ink-3);
  cursor: pointer;
  font: inherit;
  text-decoration: none;
}

.footer-links button:hover,
.footer-links a:hover {
  color: var(--gold);
}

/* ============================ Cookie / диалоги ============================ */

.cookie-banner {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 200;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  width: min(680px, calc(100% - 40px));
  padding: 20px 24px;
  background: var(--card);
  border-radius: 18px;
  box-shadow: var(--paper-shadow);
  border: 1px solid var(--line-soft);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner p {
  margin: 0;
  font-size: 14.5px;
  color: var(--ink-2);
}

.policy-dialog {
  width: min(720px, calc(100% - 28px));
  max-height: min(84vh, 760px);
  padding: clamp(28px, 4vw, 48px);
  border: 0;
  border-radius: 22px;
  background: var(--card);
  color: var(--ink);
  box-shadow: var(--paper-shadow);
}

.policy-dialog::backdrop {
  background: rgba(41, 36, 32, 0.5);
  backdrop-filter: blur(3px);
}

.policy-dialog h2 {
  margin: 0 40px 18px 0;
  font-size: clamp(28px, 4vw, 40px);
  color: var(--sage-deep);
}

.policy-dialog h3 {
  margin: 24px 0 8px;
  font-size: 22px;
  color: var(--sage-deep);
}

.policy-dialog p {
  margin: 0 0 12px;
  color: var(--ink-2);
}

.dialog-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--bg);
  color: var(--ink);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  transition: background 0.2s ease;
}

.dialog-close:hover {
  background: var(--bg-deep);
}

/* ============================ Анимации появления ============================ */

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1),
      transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
  }

  .reveal.is-in {
    opacity: 1;
    transform: none;
  }

  .hero-rise > * {
    opacity: 0;
    transform: translateY(24px);
    animation: rise 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  }

  .hero-rise > *:nth-child(1) { animation-delay: 0.05s; }
  .hero-rise > *:nth-child(2) { animation-delay: 0.16s; }
  .hero-rise > *:nth-child(3) { animation-delay: 0.27s; }
  .hero-rise > *:nth-child(4) { animation-delay: 0.38s; }

  .hero-figure {
    opacity: 0;
    animation: archIn 1.1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.25s forwards;
  }

  @keyframes rise {
    to { opacity: 1; transform: none; }
  }

  @keyframes archIn {
    from { opacity: 0; transform: translateY(30px) scale(0.98); }
    to { opacity: 1; transform: none; }
  }
}

/* ============================ Адаптив ============================ */

@media (max-width: 900px) {
  :root {
    --wrap: min(1180px, calc(100% - 32px));
  }

  .header-right {
    gap: 18px;
  }

  .site-nav {
    display: none;
  }

  .hero-grid,
  .manifest-grid,
  .product-grid,
  .docs,
  .contacts-grid,
  .footer-top,
  .about-grid,
  .product-detail-head {
    grid-template-columns: 1fr;
  }

  .product-detail-head,
  .pl-detail-head {
    display: grid;
    grid-template-columns: 1fr;
  }

  .product-detail-head img,
  .pl-detail-head img {
    width: 100%;
    max-width: 100%;
    order: 2;
    aspect-ratio: 16 / 10;
    border-radius: 22px;
  }

  .product-detail-head > div,
  .pl-detail-head > div {
    order: 1;
  }

  .home .elementor-section:has(.hero-visual) > .elementor-container,
  .home .elementor-section:has(.manifest-body) > .elementor-container,
  .home .elementor-section:has(.product-card-feed) > .elementor-container,
  .home .elementor-section:has(.product-card-oil) > .elementor-container,
  .home #contacts > .elementor-container {
    grid-template-columns: 1fr;
  }

  .home .elementor-section:has(.product-card-feed) > .elementor-container > .elementor-column,
  .home .elementor-section:has(.product-card-oil) > .elementor-container > .elementor-column,
  .home #contacts > .elementor-container > .elementor-column {
    width: 100% !important;
  }

  .manifest h2,
  .about-aside {
    position: static;
  }

  .home .elementor-section:has(.manifest-body) h2 {
    position: static;
  }

  .hero-figure {
    order: -1;
  }

  .home .elementor-section:has(.hero-visual) .hero-visual {
    order: -1;
  }

  .hero-figure img {
    aspect-ratio: 4 / 3;
  }

  .product-card:nth-child(5) {
    display: block;
  }

  .product-card:nth-child(5) .product-figure {
    aspect-ratio: 16 / 10;
    height: auto;
    min-height: 0;
  }

  .home .product-card-bread .elementor-image-box-wrapper {
    display: block;
  }

  .home .product-card-bread .elementor-image-box-img {
    aspect-ratio: 16 / 10;
    height: auto;
    min-height: 0;
  }

  .about-figure img {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }

  .logo img {
    width: 184px;
  }

  .phone-block {
    display: none;
  }

  .cookie-banner {
    grid-template-columns: 1fr;
    right: 12px;
    bottom: 12px;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .hero-seal {
    left: auto;
    right: 12px;
    bottom: 12px;
    width: 96px;
    height: 96px;
  }

  .hero-seal b {
    font-size: 28px;
  }

  .pl-animal-gallery {
    grid-template-columns: 1fr;
  }

  .pl-animal-gallery img {
    height: 220px;
  }
}
