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

/* === FONTS === */
@font-face {
  font-family: 'Gogol';
  src: url('../fonts/ofont.ru_Gogol.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* === VARIABLES === */
:root {
  --dark:        #1d3545;
  --teal:        #2d5268;
  --teal-light:  #3d6b87;
  --cream:       #f5f0e8;
  --beige:       #ede7db;
  --accent:      #c8d87a;
  --accent-dark: #b0c062;
  --sage:        #7a9e6e;
  --white:       #ffffff;
  --text:        #1d3545;
  --text-muted:  #6b7c8a;

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'Inter', system-ui, -apple-system, sans-serif;

  --container:   1320px;
  --section-pad: 5rem;
  --radius:      6px;
  --radius-lg:   16px;
  --shadow:      0 4px 24px rgba(29, 53, 69, 0.08);
  --shadow-lg:   0 12px 48px rgba(29, 53, 69, 0.14);
  --transition:  0.25s ease;
}

/* === BASE === */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--cream);
}

img {
  max-width: 100%;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

a {
  text-decoration: none;
  color: inherit;
}

/* === LAYOUT === */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: var(--section-pad) 0;
}

.section--beige { background: var(--beige); }

.section--dark {
  background: var(--dark);
  color: var(--white);
}

/* === TYPOGRAPHY UTILS === */
.tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.75rem;
}

.tag--light { color: var(--accent); }

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 1.25rem;
  color: var(--dark);
}

.section-title--light { color: var(--white); }

.section-desc {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 100%;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8125rem 1.875rem;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn--accent {
  background: var(--accent);
  color: var(--dark);
  border-color: var(--accent);
}
.btn--accent:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

.btn--outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}
.btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

.btn--dark {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
}
.btn--dark:hover {
  background: var(--teal);
  border-color: var(--teal);
}

/* === CHECK LIST === */
.check-list {
  list-style: none;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.check-list li {
  padding: 0.5rem 0 0.5rem 2.25rem;
  position: relative;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--sage);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 12px;
  background-position: center;
  background-repeat: no-repeat;
}

/* ================================
   HEADER
================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(29, 53, 69, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: box-shadow var(--transition);
}

.header.is-scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

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

/* Logo */
.logo {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  text-decoration: none;
  line-height: 1;
}

.logo__name {
  font-family: var(--font-serif);
  font-size: 1.625rem;
  font-weight: 500;
  color: var(--white);
  line-height: 1.25;
}

.logo__tagline {
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 2px;
}

/* Nav */
.nav { flex: 1; }

.nav__list {
  display: flex;
  list-style: none;
  gap: 0;
  justify-content: center;
  flex-wrap: wrap;
}

.nav__link {
  display: block;
  padding: 0.0rem 0.7rem;
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.7);
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
}

.nav__link:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

/* Header right */
.header__right {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.header__phone {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--accent);
  transition: color var(--transition);
}
.header__phone:hover { color: var(--white); }

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
}

.burger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.burger.is-active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.burger.is-active span:nth-child(2) { opacity: 0; transform: translateX(-8px); }
.burger.is-active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ================================
   HERO
================================ */
.hero {
  position: relative;
  min-height: max(100vh, 480px);
  display: flex;
  align-items: center;
  background: url('../img/bg1.jpg') center / cover no-repeat;
  background-color: var(--dark);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(29, 53, 69, 0.65) 0%,
    rgba(29, 53, 69, 0.45) 60%,
    rgba(45, 82, 104, 0.30) 100%
  );
}

.hero__inner {
  position: relative;
  z-index: 1;
  padding-top: 100px;
  padding-bottom: 80px;
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.75rem, 7.5vw, 5.75rem);
  font-weight: 400;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 1.5rem;
  max-width: 720px;
}

.hero__title em {
  font-style: italic;
  color: var(--accent);
}

.hero__text {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: rgba(255, 255, 255, 0.78);
  max-width: 500px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.hero__scroll span {
  display: block;
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  position: relative;
}

.hero__scroll span::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 2px;
  animation: scroll-dot 1.8s ease-in-out infinite;
}

@keyframes scroll-dot {
  0%   { opacity: 1; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(14px); }
}

/* ================================
   ABOUT
================================ */
.about__inner {
  display: grid;
  grid-template-columns: 1fr 0.7fr;
  gap: 5rem;
  align-items: start;
}

.about__content .tag { display: block; }

.about__lead {
  font-family: var(--font-serif);
  font-size: 1.1875rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.about__content p {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 0.875rem;
  line-height: 1.75;
}

.about__content p strong {
  font-weight: 600;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

/* Media block */
.about__media { position: relative; }

.about__img-wrap {
  border-radius: var(--radius-lg);
  overflow: visible;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about__img-wrap img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.about__badge {
  position: absolute;
  bottom: -1.5rem;
  left: 0;
  background: var(--teal);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: var(--shadow-lg);
}

.about__badge-num {
  font-family: var(--font-serif);
  font-size: 2.75rem;
  font-weight: 500;
  line-height: 1;
}

.about__badge-text {
  font-size: 0.8125rem;
  text-align: center;
  line-height: 1.3;
  opacity: 0.8;
  margin-top: 4px;
}

/* ================================
   PRODUCTS
================================ */
.products__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.product-card__img {
  height: 190px;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.product-card__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-card__img--dairy  { background: linear-gradient(135deg, #daeaf5, #a8c8e0); }
.product-card__img--bread  { background: linear-gradient(135deg, #f5ede0, #e0c89a); }
.product-card__img--veggies { background: linear-gradient(135deg, #e2efd8, #b8d8a0); }
.product-card__img--meat   { background: linear-gradient(135deg, #f0e8e0, #d8bfb0); }

.product-card__body { padding: 1.375rem; }

.product-card__title {
  font-family: var(--font-serif);
  font-size: 1.875rem;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.product-card__body p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.products__plans {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  margin-top: 3rem;
  align-items: start;
}

.products__plans-text p {
  font-family: 'Gogol', var(--font-serif);
  font-size: 2.25rem;
  font-weight: 400;
  line-height: 1.26;
  letter-spacing: 0;
  color: var(--dark);
}

.products__plans-list {
  display: flex;
  justify-content: flex-end;
}

.products__plans-list ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.products__plans-list li {
  font-size: 1.125rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  padding-left: 2.0rem;
  position: relative;
}

.products__plans-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--sage);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 12px;
  background-position: center;
  background-repeat: no-repeat;
}

/* ================================
   HOW
================================ */
.how .section-title { margin-bottom: 0; }

.how__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  position: relative;
}

.how__steps::before {
  content: '';
  position: absolute;
  top: 2.25rem;
  left: calc(2.25rem + 2rem);
  right: calc(2.25rem + 2rem);
  height: 1px;
  background: var(--teal);
  z-index: 0;
}

.how-step { position: relative; z-index: 1; }

.how-step__num {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  background: var(--cream);
  border: 1px solid var(--teal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.875rem;
  font-weight: 400;
  color: var(--teal);
  margin-bottom: 1.25rem;
}

.how-step__title {
  font-family: var(--font-serif);
  font-size: 1.875rem;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 0.625rem;
}

.how-step p {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.how__text {
  margin-top: 3rem;
  max-width: 100%;
}

.how__text p {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.how__text p:last-child {
  margin-bottom: 0;
}

/* ================================
   CTA STRIP
================================ */
.cta-strip {
  position: relative;
  background: url('../img/bg2.jpg') center / cover no-repeat;
  padding: 6rem 0;
}

.cta-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(29, 53, 69, 0.65) 0%,
    rgba(29, 53, 69, 0.45) 60%,
    rgba(45, 82, 104, 0.30) 100%
  );
  z-index: 0;
}

.cta-strip .container {
  position: relative;
  z-index: 1;
}

.cta-strip__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2rem;
}

.cta-strip__title {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
  font-weight: 500;
  color: var(--white);
  max-width: 680px;
  line-height: 1.3;
}

.cta-strip__btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* ================================
   WHY
================================ */
.why__inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 5rem;
  align-items: stretch;
}

.why__text .tag { display: block; }

.why__text p {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 0.875rem;
  line-height: 1.75;
}

.why__items {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin: 1.5rem 0;
}

.why__item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem 1.25rem;
  background: var(--beige);
  border-radius: var(--radius);
  border-left: 3px solid var(--sage);
  font-size: 1rem;
}

.why__item-num {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--teal);
  min-width: 2rem;
}

.why__img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 100%;
  background: linear-gradient(160deg, var(--beige) 0%, var(--teal-light) 100%);
}

/* ================================
   TEAM
================================ */
.team__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.team-card { text-align: center; }

.team-card__avatar {
  width: 108px;
  height: 108px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, var(--teal-light), var(--dark));
  margin: 0 auto 1rem;
  border: 3px solid var(--white);
  box-shadow: var(--shadow);
}

.team-card__name {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 0.25rem;
  line-height: 1.3;
}

.team-card__role {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* ================================
   STORES
================================ */
.stores__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.store-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--beige);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.store-card:hover {
  border-color: var(--teal);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.store-card--accent {
  background: var(--dark);
  border-color: var(--teal);
}

.store-card--accent .store-card__city,
.store-card--accent .store-card__addr,
.store-card--accent .store-card__date { color: var(--white); }

.store-card--accent .store-card__addr small { color: rgba(255,255,255,0.5); }

.store-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.store-card__city {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--dark);
}

.store-card__badge {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.625rem;
  border-radius: 999px;
  background: var(--cream);
  color: var(--teal);
}

.store-card--accent .store-card__badge {
  background: rgba(255,255,255,0.12);
  color: var(--accent);
}

.store-card__badge--soon {
  background: rgba(122, 158, 110, 0.12);
  color: var(--sage);
}

.store-card__addr {
  font-size: 1.125rem;
  color: var(--text);
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

.store-card__addr small {
  color: var(--text-muted);
  font-size: 0.8125rem;
}

.store-card__date {
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  color: var(--teal);
  font-weight: 500;
}

/* ================================
   DECORATIVE SECTION
================================ */
.decor-section {
  min-height: 1000px;
  background: url('../img/bg3.jpg') center / cover no-repeat;
}

/* ================================
   CONTACT
================================ */
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.contact__left .tag { display: block; }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group { width: 100%; }

.form-control {
  width: 100%;
  padding: 0.875rem 1.125rem;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  outline: none;
  transition: border-color var(--transition), background var(--transition);
  -webkit-appearance: none;
  appearance: none;
}

.form-control::placeholder { color: rgba(255, 255, 255, 0.38); }

.form-control:focus {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.11);
}

.form-control option {
  color: var(--dark);
  background: var(--white);
}

.form-textarea {
  resize: vertical;
  min-height: 130px;
}

.form-success {
  display: none;
  color: var(--accent);
  font-size: 0.9375rem;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(200, 216, 122, 0.3);
  border-radius: var(--radius);
  background: rgba(200, 216, 122, 0.08);
}

.contact__right { padding-top: 6.5rem; }

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-info__item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact-info__role {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0;
}

.contact-info__name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--white);
  margin: 0;
}

.contact-info__email {
  font-size: 1rem;
  color: var(--accent);
  transition: opacity var(--transition);
  text-decoration: none;
}

.contact-info__email:hover {
  opacity: 0.75;
}

.contact-info__addr {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin: 0;
}

/* ================================
   FOOTER
================================ */
.footer {
  background: #111d27;
  padding: 2.5rem 0;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer__logo {
  display: flex;
  flex-direction: column;
}

.footer__logo .logo__name {
  font-family: var(--font-serif);
  font-size: 1.625rem;
  font-weight: 500;
  color: var(--white);
}

.footer__logo .logo__tagline {
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  margin-top: 3px;
}

.footer__socials-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
}

.footer__socials-title {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

.footer__socials {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.footer__social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  transition: all var(--transition);
}

.footer__social:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.footer__social img {
  width: 18px;
  height: 18px;
}

.footer__copy {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.25);
}
