/* =====================================================
   FONTS (local woff2)
===================================================== */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/Nunito-Regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/Nunito-SemiBold.woff2') format('woff2');
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/Nunito-Bold.woff2') format('woff2');
}
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/Unbounded-Regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/Unbounded-Medium.woff2') format('woff2');
}
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/Unbounded-Bold.woff2') format('woff2');
}
/* =====================================================
   CUSTOM PROPERTIES
===================================================== */
:root {
  --cream:       #FDF6EE;
  --cream-dark:  #F5EAD9;
  --peach:       #F4A47A;
  --peach-light: #FDE0CC;
  --peach-dark:  #E8855A;
  --rose:        #E8A0BF;
  --rose-light:  #FDEEF6;
  --sage:        #92BFA8;
  --sage-light:  #D8EDE5;
  --sage-dark:   #6EA08A;
  --honey:       #F7C84A;
  --honey-light: #FEF3CC;
  --lavender:    #C5B8E8;
  --lavender-light: #EDE9FA;
  --brown:       #7A5C44;
  --brown-light: #A07850;
  --text:        #3D2B1F;
  --text-muted:  #8A6E5C;
  --white:       #FFFFFF;
  --radius-sm:   12px;
  --radius-md:   20px;
  --radius-lg:   32px;
  --radius-xl:   48px;
  --radius-blob: 60% 40% 55% 45% / 45% 55% 45% 55%;
  --shadow-sm:   0 4px 16px rgba(122,92,68,.10);
  --shadow-md:   0 8px 32px rgba(122,92,68,.14);
  --shadow-lg:   0 16px 56px rgba(122,92,68,.18);
  --ff-display:  'Unbounded', sans-serif;
  --ff-body:     'Nunito', sans-serif;
  --transition:  .3s cubic-bezier(.34,1.56,.64,1);
}

/* =====================================================
   RESET & BASE
===================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--cream);
  overflow-x: hidden;
  touch-action: manipulation;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =====================================================
   DECORATIVE UTILS
===================================================== */
.paw-decor {
  position: absolute;
  font-size: 1.4rem;
  opacity: .18;
  color: var(--peach-dark);
  pointer-events: none;
  animation: floatPaw 6s ease-in-out infinite;
}
@keyframes floatPaw {
  0%, 100% { transform: translateY(0) rotate(-10deg); }
  50%       { transform: translateY(-12px) rotate(10deg); }
}

/* =====================================================
   HEADER
===================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253,246,238,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--peach-light);
  transition: box-shadow .3s;
}
.header--scrolled { box-shadow: var(--shadow-md); }

.header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 72px;
}

/* Logo */
.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.header__logo-icon {
  width: 44px;
  height: 44px;
  background: var(--peach);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
  transition: transform var(--transition);
}
.header__logo:hover .header__logo-icon {
  transform: rotate(-10deg) scale(1.1);
}
.header__logo-text {
  font-family: var(--ff-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.1;
}
.header__logo-text span { color: var(--peach-dark); }

/* Nav */
.header__nav { display: flex; align-items: center; gap: 4px; flex: 1; }

.header__item { position: relative; }

.header__link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: .95rem;
  color: var(--text);
  transition: background .2s, color .2s;
}
.header__link:hover,
.header__item--open .header__link {
  background: var(--peach-light);
  color: var(--peach-dark);
}
.header__link i { font-size: .7rem; transition: transform .2s; }
.header__item--open .header__link i { transform: rotate(180deg); }

/* Mega-menu */
.header__dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: -12px;
  min-width: 260px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--peach-light);
  padding: 12px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(.97);
  transition: opacity .2s, visibility .2s, transform .2s;
  pointer-events: none;
}
.header__item--open .header__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.header__dropdown-title {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 4px 8px 8px;
}
.header__dropdown-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 500;
  color: var(--text);
  transition: background .2s;
}
.header__dropdown-link:hover { background: var(--cream); }
.header__dropdown-link i {
  width: 28px;
  height: 28px;
  background: var(--peach-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  color: var(--peach-dark);
  flex-shrink: 0;
}

/* Header CTA */
.header__cta {
  margin-left: auto;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  background: var(--peach);
  color: var(--white);
  border-radius: var(--radius-xl);
  font-weight: 700;
  font-size: .9rem;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.header__cta:hover {
  background: var(--peach-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(244,164,122,.4);
}

/* Бургер (скрыт на десктопе) */
.header__burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 1.4rem;
  transition: background .2s, color .2s;
}
.header__burger:hover { background: var(--peach-light); color: var(--peach-dark); }
.header__burger[aria-expanded="true"] { background: var(--peach-light); color: var(--peach-dark); }

/* Полноэкранное мобильное меню */
.header__mobile-menu {
  position: fixed;
  inset: 0;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background: var(--cream);
  z-index: 200;
  display: flex;
  flex-direction: column;
  padding: 24px;
  padding-top: max(24px, env(safe-area-inset-top));
  padding-bottom: max(24px, env(safe-area-inset-bottom));
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .3s ease, visibility .3s ease;
}
body.header--menu-open .header__mobile-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
body.header--menu-open { overflow: hidden; }

.header__menu-close {
  position: absolute;
  top: 24px;
  right: 24px;
  top: max(24px, env(safe-area-inset-top));
  right: max(24px, env(safe-area-inset-right));
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--text);
  border-radius: var(--radius-sm);
  transition: background .2s, color .2s;
}
.header__menu-close:hover { background: var(--peach-light); color: var(--peach-dark); }

.header__mobile-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  margin-top: 60px;
}
.header__mobile-nav .header__link {
  padding: 16px 18px;
  font-size: 1.15rem;
  border-radius: var(--radius-md);
}
.header__mobile-nav .header__dropdown-title {
  padding: 12px 12px 6px;
  font-size: .8rem;
}
.header__mobile-nav .header__dropdown-link {
  padding: 14px 14px 14px 18px;
  font-size: 1rem;
}
.header__mobile-nav .header__dropdown {
  position: static;
  min-width: auto;
  box-shadow: none;
  border: none;
  padding: 0 0 12px;
  background: transparent;
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
  display: none;
  margin-bottom: 8px;
}
.header__mobile-nav .header__item--open .header__dropdown { display: block; }
.header__mobile-cta {
  margin-top: 24px;
  justify-content: center;
  padding: 16px 24px;
  font-size: 1.05rem;
}

/* =====================================================
   HERO
===================================================== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 80px 0 120px;
  background: var(--cream);
}

/* Blob background shapes */
.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.hero__blob {
  position: absolute;
  border-radius: var(--radius-blob);
}
.hero__blob--1 {
  width: 560px;
  height: 480px;
  background: var(--peach-light);
  top: -80px;
  right: -80px;
  animation: morphBlob1 12s ease-in-out infinite alternate;
}
.hero__blob--2 {
  width: 320px;
  height: 300px;
  background: var(--sage-light);
  bottom: -60px;
  left: 5%;
  animation: morphBlob2 10s ease-in-out infinite alternate;
}
.hero__blob--3 {
  width: 200px;
  height: 180px;
  background: var(--lavender-light);
  top: 40%;
  left: 40%;
  animation: morphBlob3 8s ease-in-out infinite alternate;
}
@keyframes morphBlob1 {
  0%  { border-radius: 60% 40% 55% 45% / 45% 55% 45% 55%; transform: translate(0,0) rotate(0deg); }
  100%{ border-radius: 40% 60% 45% 55% / 55% 45% 55% 45%; transform: translate(-20px,20px) rotate(5deg); }
}
@keyframes morphBlob2 {
  0%  { border-radius: 50% 50% 60% 40% / 40% 60% 40% 60%; transform: translate(0,0) rotate(0deg); }
  100%{ border-radius: 60% 40% 50% 50% / 60% 40% 60% 40%; transform: translate(20px,-15px) rotate(-8deg); }
}
@keyframes morphBlob3 {
  0%  { border-radius: 55% 45% 50% 50% / 50% 50% 55% 45%; transform: scale(1); }
  100%{ border-radius: 45% 55% 55% 45% / 45% 55% 45% 55%; transform: scale(1.2); }
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero__content {
  max-width: 580px;
}
@media (min-width: 1025px) {
  .hero__content {
    max-width: none;
  }
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--honey-light);
  border: 2px solid var(--honey);
  border-radius: var(--radius-xl);
  font-size: .85rem;
  font-weight: 700;
  color: var(--brown);
  margin-bottom: 20px;
  animation: fadeSlideUp .6s ease both;
}
.hero__badge i { color: var(--honey); }

.hero__title {
  font-family: var(--ff-display);
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 20px;
  max-width: 100%;
  animation: fadeSlideUp .6s .1s ease both;
}
@media (min-width: 1025px) {
  .hero__title {
    font-size: clamp(2.6rem, 3.2vw, 3.8rem);
    min-width: 420px;
  }
}
.hero__title em {
  font-style: normal;
  color: var(--peach-dark);
  position: relative;
  display: inline-block;
}
.hero__title em::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--peach-light);
  border-radius: 4px;
  z-index: -1;
}

.hero__subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 440px;
  margin-bottom: 36px;
  line-height: 1.7;
  animation: fadeSlideUp .6s .2s ease both;
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  animation: fadeSlideUp .6s .3s ease both;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-xl);
  font-weight: 700;
  font-size: 1rem;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}
.btn:hover { transform: translateY(-3px); }

.btn--primary {
  background: var(--peach);
  color: var(--white);
  box-shadow: 0 6px 24px rgba(244,164,122,.35);
}
.btn--primary:hover {
  background: var(--peach-dark);
  box-shadow: 0 10px 32px rgba(232,133,90,.45);
}

.btn--outline {
  background: var(--white);
  color: var(--text);
  border: 2px solid var(--cream-dark);
  box-shadow: var(--shadow-sm);
}
.btn--outline:hover {
  border-color: var(--peach);
  box-shadow: var(--shadow-md);
}

.hero__stats {
  display: flex;
  gap: 28px;
  margin-top: 40px;
  animation: fadeSlideUp .6s .4s ease both;
}
.hero__stat {}
.hero__stat-value {
  font-family: var(--ff-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--peach-dark);
  line-height: 1;
}
.hero__stat-label {
  font-size: .8rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 2px;
}

/* Hero illustration */
.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeSlideUp .6s .2s ease both;
  margin-top: -40px;
}

.hero__dog-wrap {
  position: relative;
  width: 360px;
  height: 360px;
}

.hero__dog-circle {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--peach-light) 0%, var(--rose-light) 50%, var(--sage-light) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(244,164,122,.25), inset 0 -8px 20px rgba(255,255,255,.6);
  animation: floatDog 5s ease-in-out infinite;
}
@keyframes floatDog {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-16px); }
}

.hero__dog-emoji { filter: drop-shadow(0 8px 20px rgba(0,0,0,.15)); }

.hero__calc-bubble {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--peach-light);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .85rem;
  font-weight: 700;
  color: var(--text);
  animation: bubblePop .5s ease both;
}
.hero__calc-bubble i { color: var(--peach-dark); font-size: 1.1rem; }
.hero__calc-bubble--1 {
  top: 20px;
  right: -20px;
  animation-delay: .8s;
  animation: floatCard1 4s 1s ease-in-out infinite, bubblePop .5s .8s ease both;
}
.hero__calc-bubble--2 {
  bottom: 40px;
  left: -30px;
  animation: floatCard2 4.5s 1.2s ease-in-out infinite, bubblePop .5s 1.2s ease both;
}
.hero__calc-bubble--3 {
  top: 50%;
  right: -40px;
  animation: floatCard3 3.8s 1.5s ease-in-out infinite, bubblePop .5s 1.5s ease both;
}
@keyframes floatCard1 {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50%       { transform: translateY(-8px) rotate(1deg); }
}
@keyframes floatCard2 {
  0%, 100% { transform: translateY(0) rotate(2deg); }
  50%       { transform: translateY(-10px) rotate(-1deg); }
}
@keyframes floatCard3 {
  0%, 100% { transform: translateY(-50%) rotate(-1deg); }
  50%       { transform: translateY(calc(-50% - 8px)) rotate(2deg); }
}
.hero__calc-bubble--3 { transform: translateY(-50%); }

.bubble-dot {
  width: 10px;
  height: 10px;
  background: var(--sage);
  border-radius: 50%;
  flex-shrink: 0;
}
.bubble-dot--rose { background: var(--rose); }
.bubble-dot--honey { background: var(--honey); }

@keyframes bubblePop {
  0%   { opacity: 0; transform: scale(.6); }
  70%  { transform: scale(1.08); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* =====================================================
   SECTION WAVE DIVIDER
===================================================== */
.wave-divider {
  display: block;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  margin-bottom: -1px;
}
.wave-divider svg { display: block; width: 100%; }

/* =====================================================
   CATEGORIES SECTION
===================================================== */
.categories {
  padding: 24px 0 80px;
  background: var(--cream);
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 52px;
}
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--sage-dark);
  margin-bottom: 12px;
}
.section-tag::before,
.section-tag::after {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--sage);
  border-radius: 2px;
}
.section-title {
  font-family: var(--ff-display);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.15;
  margin-bottom: 12px;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto;
}

.categories__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.category-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid var(--cream-dark);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
  group: true;
}
.category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--peach);
}

.category-card__image-wrap {
  position: relative;
  height: 180px;
  overflow: hidden;
}
.category-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.category-card:hover .category-card__image { transform: scale(1.06); }

/* Placeholder image (заглушка) */
.category-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}
.category-card__placeholder--peach { background: linear-gradient(135deg, var(--peach-light), #ffe8d6); }
.category-card__placeholder--sage  { background: linear-gradient(135deg, var(--sage-light), #c8e6d8); }
.category-card__placeholder--rose  { background: linear-gradient(135deg, var(--rose-light), #fce0ee); }
.category-card__placeholder--honey { background: linear-gradient(135deg, var(--honey-light), #fff0b0); }
.category-card__placeholder--lav   { background: linear-gradient(135deg, var(--lavender-light), #e0d8f8); }

.category-card__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 4px 10px;
  font-size: .75rem;
  font-weight: 700;
  color: var(--text-muted);
  box-shadow: var(--shadow-sm);
}

.category-card__body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.category-card__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 14px;
}
.category-card__icon--peach { background: var(--peach-light); color: var(--peach-dark); }
.category-card__icon--sage  { background: var(--sage-light);  color: var(--sage-dark); }
.category-card__icon--rose  { background: var(--rose-light);  color: #C06090; }

.category-card__title {
  font-family: var(--ff-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}
.category-card__desc {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 18px;
}
.category-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .9rem;
  font-weight: 700;
  color: var(--peach-dark);
  transition: gap .2s;
}
.category-card:hover .category-card__link { gap: 10px; }
.category-card__link i { font-size: .8rem; }

/* =====================================================
   LATEST CALCULATORS
===================================================== */
.latest {
  padding: 24px 0 80px;
  background: var(--cream);
  position: relative;
}

.latest__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.calc-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid var(--cream-dark);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(24px);
}
.calc-card.is-visible {
  animation: revealCard .5s ease forwards;
}
@keyframes revealCard {
  to { opacity: 1; transform: translateY(0); }
}
.calc-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.calc-card__image-wrap {
  height: 160px;
  overflow: hidden;
  position: relative;
}
.calc-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
}
.calc-card__tag {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 3px 10px;
  font-size: .72rem;
  font-weight: 700;
  color: var(--peach-dark);
  border: 1.5px solid var(--peach-light);
}

.calc-card__body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.calc-card__title {
  font-family: var(--ff-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
  line-height: 1.3;
}
.calc-card__desc {
  font-size: .85rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 16px;
}
.calc-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .78rem;
  color: var(--text-muted);
}
.calc-card__date {
  display: flex;
  align-items: center;
  gap: 5px;
}
.calc-card__date i { font-size: .7rem; }
.calc-card__stars { color: var(--honey); letter-spacing: -1px; }
.calc-card__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--cream);
  border-radius: 50%;
  color: var(--peach-dark);
  font-size: .9rem;
  transition: background var(--transition), transform var(--transition);
}
.calc-card:hover .calc-card__arrow {
  background: var(--peach);
  color: var(--white);
  transform: rotate(-45deg);
}

.latest__footer {
  text-align: center;
  margin-top: 40px;
}

/* =====================================================
   WHY US
===================================================== */
.why {
  padding: 80px 0;
  background: var(--white);
}
.why__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.why-item {
  text-align: center;
  padding: 32px 20px;
  border-radius: var(--radius-lg);
  border: 2px solid var(--cream-dark);
  background: var(--cream);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.why-item:hover {
  transform: translateY(-5px);
  border-color: var(--peach-light);
  box-shadow: var(--shadow-md);
}
.why-item__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 18px;
}
.why-item__icon--peach  { background: var(--peach-light);   color: var(--peach-dark); }
.why-item__icon--sage   { background: var(--sage-light);    color: var(--sage-dark); }
.why-item__icon--rose   { background: var(--rose-light);    color: #C06090; }
.why-item__icon--honey  { background: var(--honey-light);   color: var(--brown-light); }
.why-item__title {
  font-family: var(--ff-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}
.why-item__text {
  font-size: .85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* =====================================================
   CONTACT SECTION
===================================================== */
.contact {
  padding: 80px 0;
  background: var(--cream);
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: var(--peach-light);
  border-radius: 50%;
  top: -150px;
  right: -150px;
  opacity: .5;
}

.contact__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.contact__info {}
.contact__info-list {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact__info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.contact__info-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--peach-light);
  color: var(--peach-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.contact__info-text strong {
  display: block;
  font-weight: 700;
  font-size: .9rem;
  color: var(--text);
  margin-bottom: 2px;
}
.contact__info-text span {
  font-size: .85rem;
  color: var(--text-muted);
}

/* Contact Form */
.contact__form-wrap {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--peach-light);
}
.contact__form-title {
  font-family: var(--ff-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.contact__form-title i { color: var(--peach-dark); }

.form__group {
  margin-bottom: 16px;
}
.form__label {
  display: block;
  font-size: .85rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}
.form__label span { color: var(--peach-dark); }
.form__input,
.form__textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--cream-dark);
  border-radius: var(--radius-md);
  background: var(--cream);
  font-family: var(--ff-body);
  font-size: .95rem;
  color: var(--text);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.form__input:focus,
.form__textarea:focus {
  border-color: var(--peach);
  box-shadow: 0 0 0 4px rgba(244,164,122,.15);
}
.form__textarea {
  resize: vertical;
  min-height: 100px;
}
/* Honeypot */
.form__honeypot { display: none; }

.form__submit {
  width: 100%;
  padding: 14px;
  background: var(--peach);
  color: var(--white);
  border-radius: var(--radius-xl);
  font-family: var(--ff-body);
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  margin-top: 8px;
}
.form__submit:hover {
  background: var(--peach-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(244,164,122,.4);
}
.form__submit:active { transform: translateY(0); }

.form__success {
  display: none;
  text-align: center;
  padding: 20px;
}
.form__success-icon {
  font-size: 3rem;
  margin-bottom: 12px;
}
.form__success h3 {
  font-family: var(--ff-display);
  font-size: 1.3rem;
  color: var(--sage-dark);
  margin-bottom: 6px;
}
.form__success p {
  color: var(--text-muted);
  font-size: .9rem;
}

/* =====================================================
   FOOTER
===================================================== */
.footer {
  background: var(--text);
  color: rgba(255,255,255,.75);
  padding: 60px 0 0;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.footer__logo-icon {
  width: 40px;
  height: 40px;
  background: var(--peach);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1rem;
}
.footer__logo-text {
  font-family: var(--ff-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
}
.footer__logo-text span { color: var(--peach); }
.footer__desc {
  font-size: .88rem;
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 260px;
}
.footer__socials {
  display: flex;
  gap: 8px;
}
.footer__social {
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(255,255,255,.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  color: rgba(255,255,255,.6);
  transition: background .2s, color .2s, border-color .2s;
}
.footer__social:hover {
  background: var(--peach);
  border-color: var(--peach);
  color: var(--white);
}

.footer__col-title {
  font-family: var(--ff-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 18px;
}
.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__link {
  font-size: .87rem;
  color: rgba(255,255,255,.6);
  transition: color .2s;
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer__link:hover { color: var(--peach); }
.footer__link i { font-size: .7rem; }

.footer__bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .82rem;
  color: rgba(255,255,255,.4);
}
.footer__bottom-links { display: flex; gap: 20px; }
.footer__bottom-link {
  color: rgba(255,255,255,.4);
  transition: color .2s;
}
.footer__bottom-link:hover { color: var(--peach); }

/* =====================================================
   COOKIE / PRIVACY CONSENT BANNER (fixed поверх страницы)
===================================================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  background: var(--white);
  border-top: 2px solid var(--cream-dark);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.08);
  padding: 16px 24px;
  transition: transform 0.35s ease, opacity 0.35s ease;
}
.cookie-banner.is-hidden {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  justify-content: space-between;
}
.cookie-banner__text {
  flex: 1;
  min-width: 260px;
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text);
}
.cookie-banner__link {
  color: var(--peach-dark);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-banner__link:hover { color: var(--peach); }
.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.cookie-banner__accept { flex-shrink: 0; }
@media (max-width: 640px) {
  .cookie-banner { padding: 14px 16px; }
  .cookie-banner__inner { flex-direction: column; align-items: stretch; text-align: center; }
  .cookie-banner__actions { justify-content: center; }
}

/* =====================================================
   TOAST / NOTIFICATION
===================================================== */
.toast {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: var(--white);
  border: 2px solid var(--sage-light);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--text);
  z-index: 9999;
  transform: translateY(80px);
  opacity: 0;
  transition: transform .4s cubic-bezier(.34,1.56,.64,1), opacity .3s;
}
.toast.is-shown {
  transform: translateY(0);
  opacity: 1;
}
.toast i { color: var(--sage-dark); font-size: 1.1rem; }

/* =====================================================
   BACK TO TOP
===================================================== */
.back-top {
  position: fixed;
  bottom: 28px;
  left: 28px;
  width: 44px;
  height: 44px;
  background: var(--peach);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity .3s, visibility .3s, transform .3s, background var(--transition);
  z-index: 99;
}
.back-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { background: var(--peach-dark); transform: translateY(-3px); }

/* =====================================================
   RESPONSIVE (simplified)
===================================================== */
@media (max-width: 1024px) {
  .container        { padding-left: 20px; padding-right: 20px; }
  .hero             { padding: 64px 0 96px; }
  .hero__inner      { grid-template-columns: 1fr; text-align: center; gap: 32px; }
  .hero__subtitle   { max-width: 100%; }
  .hero__actions    { justify-content: center; }
  .hero__stats      { justify-content: center; }
  .hero__visual     { display: none; }
  .categories       { padding: 56px 0; }
  .section-header   { margin-bottom: 36px; }
  .section-title    { font-size: clamp(1.5rem, 4vw, 2.2rem); }
  .categories__grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .latest           { padding: 56px 0; }
  .latest__grid     { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .why              { padding: 56px 0; }
  .why__grid        { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .why-item         { padding: 24px 16px; }
  .contact          { padding: 56px 0; }
  .contact__inner   { grid-template-columns: 1fr; gap: 32px; }
  .footer           { padding-top: 48px; }
  .footer__inner    { grid-template-columns: 1fr 1fr; gap: 32px; padding-bottom: 36px; }
}
/* На десктопе мобильное меню не показывать */
@media (min-width: 641px) {
  .header__mobile-menu { display: none !important; }
}

@media (max-width: 640px) {
  .container          { padding-left: 16px; padding-right: 16px; }
  .header__inner      { height: 60px; gap: 16px; }
  .header__logo-icon  { width: 38px; height: 38px; font-size: 1rem; }
  .header__logo-text  { font-size: 1.15rem; }
  .header__nav        { display: none; }
  .header__cta        { display: none; }
  .header__burger     { display: flex; margin-left: auto; width: 44px; height: 44px; }
  .header__mobile-menu { display: flex; }

  .hero               { padding: 32px 0 56px; }
  .hero__badge        { padding: 5px 12px; font-size: .8rem; margin-bottom: 16px; }
  .hero__title        { font-size: clamp(1.75rem, 8vw, 2.25rem); margin-bottom: 16px; line-height: 1.2; }
  .hero__subtitle     { font-size: 1rem; margin-bottom: 24px; }
  .hero__actions      { gap: 10px; flex-direction: column; align-items: stretch; }
  .btn                { padding: 12px 20px; font-size: .95rem; justify-content: center; }
  .hero__stats        { gap: 20px; margin-top: 28px; justify-content: center; flex-wrap: wrap; }
  .hero__stat-value   { font-size: 1.6rem; }
  .hero__stat-label   { font-size: .75rem; }

  .categories         { padding: 24px 0 40px; }
  .section-header    { margin-bottom: 28px; }
  .section-tag        { font-size: .75rem; margin-bottom: 8px; }
  .section-title      { font-size: 1.5rem; margin-bottom: 8px; }
  .section-subtitle   { font-size: .95rem; }
  .categories__grid  { grid-template-columns: 1fr; gap: 16px; }
  .category-card__image-wrap { height: 160px; }
  .category-card__body { padding: 18px; }
  .category-card__title { font-size: 1.1rem; }
  .category-card__desc { font-size: .85rem; }

  .latest             { padding: 24px 0 40px; }
  .latest__grid       { grid-template-columns: 1fr; gap: 16px; }
  .calc-card__image-wrap { height: 140px; }
  .calc-card__body    { padding: 16px; }
  .calc-card__title   { font-size: 1rem; }
  .calc-card__desc    { font-size: .8rem; }
  .latest__footer     { margin-top: 28px; }

  .why                { padding: 40px 0; }
  .why__grid          { grid-template-columns: 1fr; gap: 12px; }
  .why-item           { padding: 20px 16px; }
  .why-item__icon     { width: 48px; height: 48px; font-size: 1.2rem; margin-bottom: 12px; }
  .why-item__title    { font-size: 1rem; margin-bottom: 6px; }
  .why-item__text     { font-size: .9rem; }

  .contact            { padding: 40px 0; }
  .contact__inner     { gap: 24px; }
  .contact__form-title { font-size: 1.25rem; margin-bottom: 20px; }
  .form__group        { margin-bottom: 14px; }
  .form__label        { font-size: .9rem; }
  .form__input,
  .form__textarea     { padding: 12px 14px; font-size: 16px; }
  .form__submit       { padding: 14px 24px; width: 100%; }

  .footer             { padding-top: 40px; }
  .footer__inner      { grid-template-columns: 1fr; gap: 28px; padding-bottom: 28px; }
  .footer__logo-text  { font-size: 1.15rem; }
  .footer__desc       { font-size: .85rem; margin-bottom: 16px; }
  .footer__col-title  { font-size: .95rem; margin-bottom: 14px; }
  .footer__bottom     { flex-direction: column; gap: 10px; text-align: center; padding-top: 24px; }
  .footer__bottom-links { flex-wrap: wrap; justify-content: center; }

  .back-top           { width: 44px; height: 44px; right: 16px; bottom: 20px; font-size: 1rem; }
  .toast              { left: 16px; right: 16px; padding: 12px 16px; font-size: .9rem; }
}

@media (max-width: 380px) {
  .hero__title        { font-size: 1.5rem; }
  .section-title      { font-size: 1.35rem; }
  .header__logo-text  { font-size: 1rem; }
}

/* CONTENT PAGE (static: about, privacy, sitemap, 404, 500) */
.content-page                { padding: 80px 0; }
.content-page--centered      { padding: 100px 0; text-align: center; }
.content-page__body          { max-width: 720px; margin: 0 auto; }
.content-page__body--wide    { max-width: 800px; }
.content-page__body h2       { margin-top: 32px; }
.content-page__body h2:first-child { margin-top: 0; }
.content-page__body .footer__links { margin-bottom: 24px; }
.content-page--centered .section-title   { font-size: 4rem; color: var(--peach-dark); }
.content-page--centered .section-subtitle { font-size: 1.2rem; }
.content-page--tight-top     { padding-top: 12px !important; }
.contact.content-page--cream { padding-top: 12px !important; }
.content-page--cream         { background: var(--cream); }
.content-page__body p        { margin-bottom: 1em; }
.content-page__body a        { color: var(--peach-dark); font-weight: 600; }
.content-page__body a:hover  { text-decoration: underline; }
.content-page__cards         { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.content-page__card          { text-align: center; padding: 28px 20px; border-radius: var(--radius-lg); border: 2px solid var(--cream-dark); background: var(--white); transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition); }
.content-page__card:hover    { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--peach-light); }
.content-page__card-icon     { width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin: 0 auto 16px; }
.content-page__card-icon--peach { background: var(--peach-light); color: var(--peach-dark); }
.content-page__card-icon--sage { background: var(--sage-light); color: var(--sage-dark); }
.content-page__card-icon--rose { background: var(--rose-light); color: #C06090; }
.content-page__card-title    { font-family: var(--ff-display); font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.content-page__card-text     { font-size: .9rem; color: var(--text-muted); line-height: 1.5; }
.content-page__blocks        { margin-top: 32px; }
.content-page__block         { background: var(--white); border-radius: var(--radius-md); border: 2px solid var(--cream-dark); padding: 24px 28px; margin-bottom: 20px; transition: border-color .2s, box-shadow .2s; }
.content-page__block:hover    { border-color: var(--peach-light); box-shadow: var(--shadow-sm); }
.content-page__block:last-child { margin-bottom: 0; }
.content-page__block h2      { margin-top: 0; margin-bottom: 12px; display: flex; align-items: center; gap: 12px; font-size: 1.15rem; color: var(--text); }
.content-page__block h2 .block-icon { width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }
.content-page__block h2 .block-icon--peach { background: var(--peach-light); color: var(--peach-dark); }
.content-page__block h2 .block-icon--sage { background: var(--sage-light); color: var(--sage-dark); }
.content-page__block h2 .block-icon--rose { background: var(--rose-light); color: #C06090; }
.content-page__block p       { margin-bottom: .75em; }
.content-page__block p:last-child { margin-bottom: 0; }
.sitemap-section             { background: var(--white); border-radius: var(--radius-md); border: 2px solid var(--cream-dark); padding: 24px 28px; margin-bottom: 24px; transition: border-color .2s; }
.sitemap-section:hover       { border-color: var(--peach-light); }
.sitemap-section:last-child   { margin-bottom: 0; }
.sitemap-section h2          { margin: 0 0 16px; font-family: var(--ff-display); font-size: 1.2rem; color: var(--text); display: flex; align-items: center; gap: 10px; }
.sitemap-section h2 i        { color: var(--peach-dark); font-size: 1rem; }
.sitemap-section .footer__links { margin-bottom: 0; }
.sitemap-section .footer__link  { color: var(--text); font-weight: 600; }
.sitemap-section .footer__link:hover { color: var(--peach-dark); }
.sitemap-section .footer__link i { color: var(--peach-dark); font-size: .7rem; }
.contact__header-left        { text-align: left; }
.contact__header-left .section-subtitle { margin-left: 0; }
.contact__header-left .section-title { max-width: 360px; }
/* BREADCRUMBS & PAGINATION */
.breadcrumbs           { display: flex; justify-content: center; margin-bottom: 24px; margin-top: 0; }
.breadcrumbs__list     { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0; list-style: none; font-size: .9rem; color: var(--text-muted); padding: 0; margin: 0; }
.breadcrumbs__item     { display: inline-flex; align-items: center; }
.breadcrumbs__link     { color: var(--peach-dark); font-weight: 600; padding: 4px 0; }
.breadcrumbs__link:hover { text-decoration: underline; }
.breadcrumbs__sep      { margin: 0 10px; color: var(--text); font-weight: 400; user-select: none; }
.breadcrumbs__current  { color: var(--text); font-weight: 700; padding: 4px 0; }
.pagination-wrap       { margin-top: 32px; text-align: center; }
.pagination         { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }
.pagination li      { list-style: none; }
.pagination a       { display: inline-flex; align-items: center; padding: 10px 18px; border-radius: var(--radius-sm); font-weight: 600; color: var(--peach-dark); background: var(--cream); border: 2px solid var(--cream-dark); }
.pagination a:hover { background: var(--peach-light); border-color: var(--peach); }
.pagination .pagination__current { font-size: .9rem; color: var(--text-muted); }


@media (max-width: 768px) {
  .calc-detail__layout { grid-template-columns: 1fr !important; }
  .calc-detail__calc { position: static !important; }
  .content-page__cards { grid-template-columns: 1fr; gap: 20px; margin-top: 36px; }
}
