/* ============================================================
   Anna Bakery — Main Stylesheet
   Версия: 1.0 | Март 2026
   ============================================================ */


/* ── Variables ───────────────────────────────────────────── */

:root {
  --blush:      #f5e6e0;
  --rose:       #e8c5b8;
  --deep-rose:  #c48b78;
  --cream:      #fdf6f0;
  --text:       #3a2820;
  --text-soft:  #8a6a60;
  --white:      #ffffff;
  --ff-display: 'Cormorant Garamond', Georgia, serif;
  --ff-body:    'Jost', sans-serif;
  --radius:     20px;
  --shadow:     0 8px 40px rgba(180, 100, 80, 0.12);
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}


/* ── Reset ───────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--ff-body);
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.7;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }


/* ── Noise texture overlay ───────────────────────────────── */

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1000;
  opacity: 0.4;
}


/* ── Site Header (sticky wrapper) ───────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--cream);
}


/* ── Nav ─────────────────────────────────────────────────── */

nav {
  padding: 20px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--cream);
  border-bottom: 1px solid rgba(232, 197, 184, 0.3);
}
.nav-logo {
  font-family: var(--ff-display);
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--text);
}
.nav-logo span { color: var(--deep-rose); font-style: italic; }
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-soft);
  transition: color 0.25s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--deep-rose); }


/* ── Burger menu ─────────────────────────────────────────── */

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 8px;
  transition: background 0.2s;
  flex-shrink: 0;
}
.burger:hover { background: var(--blush); }
.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;
  transform-origin: center;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; width: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ── Mobile nav dropdown ─────────────────────────────────── */

.mobile-nav {
  display: none;
  background: var(--cream);
  border-top: 1px solid var(--rose);
  border-bottom: 2px solid var(--rose);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.mobile-nav.open { max-height: 500px; }
.mobile-nav ul { list-style: none; padding: 8px 0; }
.mobile-nav ul li a {
  display: block;
  padding: 13px 24px;
  font-size: 0.88rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-soft);
  transition: color 0.2s, background 0.2s;
  border-bottom: 1px solid rgba(232, 197, 184, 0.2);
}
.mobile-nav ul li:last-child a { border-bottom: none; }
.mobile-nav ul li a:hover,
.mobile-nav ul li a.active { color: var(--deep-rose); background: var(--blush); }
.mobile-nav .mobile-order {
  display: block;
  margin: 12px 20px 20px;
  padding: 14px 24px;
  background: var(--deep-rose);
  color: #fff;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  transition: background 0.25s;
}
.mobile-nav .mobile-order:hover { background: #b57a67; }


/* ── Buttons ─────────────────────────────────────────────── */

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  background: var(--deep-rose);
  color: var(--white);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(196, 139, 120, 0.35);
}
.btn-primary:hover {
  background: #b57a67;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(196, 139, 120, 0.45);
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  border: 1.5px solid var(--rose);
  color: var(--text);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: var(--transition);
}
.btn-outline:hover {
  border-color: var(--deep-rose);
  color: var(--deep-rose);
  transform: translateY(-2px);
}
.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: var(--white);
  color: var(--deep-rose);
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2); }
.btn-white-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  color: var(--white);
  border-radius: 50px;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: var(--transition);
}
.btn-white-outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}


/* ── Shared section styles ───────────────────────────────── */

.section-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--deep-rose);
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 3.5vw, 3.4rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 20px;
}
.section-title em { font-style: italic; color: var(--deep-rose); }
.section-sub {
  font-size: 0.95rem;
  color: var(--text-soft);
  max-width: 480px;
  line-height: 1.8;
}
.divider {
  width: 60px;
  height: 1.5px;
  background: var(--rose);
  margin: 24px 0;
}


/* ── Animations ──────────────────────────────────────────── */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes slideRight {
  from { opacity: 0; transform: translateX(-30px); }
  to   { opacity: 1; transform: translateX(0); }
}
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }


/* ── Footer ──────────────────────────────────────────────── */

footer {
  background: var(--text);
  color: var(--blush);
  padding: 48px 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-logo {
  font-family: var(--ff-display);
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: 0.04em;
}
.footer-logo span { font-style: italic; color: var(--rose); }
.footer-links { display: flex; gap: 28px; list-style: none; flex-wrap: wrap; }
.footer-links a {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245, 230, 224, 0.55);
  transition: color 0.25s;
}
.footer-links a:hover { color: var(--rose); }
.footer-copy { font-size: 0.75rem; color: rgba(245, 230, 224, 0.4); }


/* =============================================================
   INDEX PAGE (anna_bakery.html)
   ============================================================= */

/* ── Hero ────────────────────────────────────────────────── */

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 64px 80px 80px;
  animation: fadeUp 1s ease both;
}
.hero-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--deep-rose);
  margin-bottom: 24px;
}
.hero-title {
  font-family: var(--ff-display);
  font-size: clamp(3rem, 5vw, 5.5rem);
  font-weight: 300;
  line-height: 1.08;
  color: var(--text);
  margin-bottom: 32px;
}
.hero-title em { font-style: italic; color: var(--deep-rose); }
.hero-sub {
  font-size: 1rem;
  color: var(--text-soft);
  max-width: 400px;
  margin-bottom: 48px;
  line-height: 1.8;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-image { position: relative; overflow: hidden; animation: fadeIn 1.2s ease both 0.3s; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 8s ease; }
.hero-image:hover img { transform: scale(1.04); }
.hero-badge {
  position: absolute;
  bottom: 48px;
  left: -20px;
  background: var(--white);
  border-radius: 16px;
  padding: 20px 28px;
  box-shadow: var(--shadow);
  animation: slideRight 1s ease both 0.8s;
}
.hero-badge-num {
  font-family: var(--ff-display);
  font-size: 2.4rem;
  font-weight: 300;
  color: var(--deep-rose);
  line-height: 1;
}
.hero-badge-text { font-size: 0.75rem; color: var(--text-soft); letter-spacing: 0.05em; margin-top: 4px; }


/* ── About ───────────────────────────────────────────────── */

.about {
  background: var(--blush);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 100px 80px;
}
.about-image { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/5; }
.about-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.about-image:hover img { transform: scale(1.03); }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 48px; }
.feature-card {
  background: var(--white);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 2px 16px rgba(180, 100, 80, 0.07);
  transition: var(--transition);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-icon { font-size: 1.8rem; margin-bottom: 12px; }
.feature-title { font-size: 0.9rem; font-weight: 500; margin-bottom: 6px; }
.feature-desc { font-size: 0.8rem; color: var(--text-soft); line-height: 1.6; }


/* ── Menu ────────────────────────────────────────────────── */

.menu { background: var(--cream); padding: 100px 80px; }
.menu-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 60px; }
.menu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.menu-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 20px rgba(180, 100, 80, 0.08);
  transition: var(--transition);
  position: relative;
}
.menu-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.menu-card-img { aspect-ratio: 4/3; overflow: hidden; }
.menu-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.menu-card:hover .menu-card-img img { transform: scale(1.06); }
.menu-card-body { padding: 24px 28px 28px; }
.menu-card-tag {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--deep-rose);
  background: var(--blush);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.menu-card-name {
  font-family: var(--ff-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.2;
}
.menu-card-desc { font-size: 0.82rem; color: var(--text-soft); line-height: 1.7; margin-bottom: 20px; }
.menu-card-price { font-family: var(--ff-display); font-size: 1.35rem; font-weight: 400; color: var(--deep-rose); }
.menu-card-price span { font-size: 0.75rem; font-family: var(--ff-body); color: var(--text-soft); }
.menu-card-pp {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--deep-rose);
  color: white;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 20px;
}


/* ── Gallery ─────────────────────────────────────────────── */

.gallery { background: var(--blush); padding: 100px 80px; }
.gallery-header { text-align: center; margin-bottom: 60px; }
.gallery-header .section-sub { margin: 0 auto; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.gallery-item { border-radius: 16px; overflow: hidden; box-shadow: 0 2px 16px rgba(180,100,80,0.1); transition: var(--transition); cursor: pointer; }
.gallery-item:hover { transform: scale(1.02); box-shadow: var(--shadow); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-item:nth-child(1) { grid-column: span 2; aspect-ratio: 16/9; }
.gallery-item:nth-child(2) { aspect-ratio: 3/4; }
.gallery-item:nth-child(3) { aspect-ratio: 3/4; }
.gallery-item:nth-child(4) { aspect-ratio: 1/1; }
.gallery-item:nth-child(5) { aspect-ratio: 1/1; }
.gallery-item:nth-child(6) { aspect-ratio: 1/1; }
.gallery-item:nth-child(7) { aspect-ratio: 1/1; }


/* ── Reviews ─────────────────────────────────────────────── */

.reviews { background: var(--cream); padding: 100px 80px; }
.reviews-header { text-align: center; margin-bottom: 60px; }
.reviews-header .section-sub { margin: 0 auto; }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.review-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: 0 2px 20px rgba(180, 100, 80, 0.07);
  transition: var(--transition);
  position: relative;
}
.review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.review-stars { font-size: 1.1rem; margin-bottom: 16px; letter-spacing: 2px; }
.review-text { font-size: 0.92rem; color: var(--text-soft); line-height: 1.8; margin-bottom: 24px; font-style: italic; }
.review-author { display: flex; align-items: center; gap: 14px; }
.review-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--blush);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-display);
  font-size: 1.1rem;
  color: var(--deep-rose);
  font-weight: 500;
  flex-shrink: 0;
}
.review-name { font-size: 0.88rem; font-weight: 500; color: var(--text); }
.review-meta { font-size: 0.75rem; color: var(--text-soft); margin-top: 2px; }
.review-quote {
  position: absolute;
  top: 28px; right: 32px;
  font-family: var(--ff-display);
  font-size: 5rem;
  color: var(--blush);
  line-height: 1;
  font-weight: 300;
  pointer-events: none;
}


/* ── Delivery ────────────────────────────────────────────── */

.delivery { background: var(--cream); padding: 100px 80px; }
.delivery-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.delivery-note {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--blush);
  border-radius: 14px;
  padding: 18px 22px;
  margin-top: 28px;
  font-size: 0.88rem;
  color: var(--text-soft);
  line-height: 1.6;
}
.delivery-note-icon { font-size: 1.3rem; flex-shrink: 0; }
.delivery-cities { background: var(--white); border-radius: var(--radius); padding: 40px; box-shadow: 0 2px 20px rgba(180,100,80,0.08); }
.delivery-cities-title { font-family: var(--ff-display); font-size: 1.4rem; font-weight: 400; color: var(--text); margin-bottom: 24px; }
.cities-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; list-style: none; margin-bottom: 20px; }
.cities-grid li { font-size: 0.88rem; color: var(--text-soft); display: flex; align-items: center; gap: 6px; }
.delivery-more { font-size: 0.82rem; color: var(--deep-rose); font-style: italic; border-top: 1px solid var(--blush); padding-top: 16px; margin-top: 4px; }


/* ── FAQ ─────────────────────────────────────────────────── */

.faq { background: var(--blush); padding: 100px 80px; }
.faq-header { margin-bottom: 56px; }
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--rose); overflow: hidden; }
.faq-item:first-of-type { border-top: 1px solid var(--rose); }
.faq-question {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 24px 4px;
  text-align: left;
  font-family: var(--ff-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  transition: color 0.25s;
}
.faq-question:hover,
.faq-question[aria-expanded="true"] { color: var(--deep-rose); }
.faq-icon {
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--deep-rose);
  flex-shrink: 0;
  transition: transform 0.3s ease;
  line-height: 1;
}
.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s ease; }
.faq-answer.open { max-height: 300px; padding-bottom: 20px; }
.faq-answer p { font-size: 0.92rem; color: var(--text-soft); line-height: 1.8; padding: 0 4px; }
.faq-answer strong { color: var(--text); }


/* ── Order CTA ───────────────────────────────────────────── */

.order-cta {
  background: var(--deep-rose);
  padding: 100px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.order-cta .section-eyebrow { color: rgba(255,255,255,0.7); }
.order-cta .section-title { color: var(--white); }
.order-cta .section-title em { color: rgba(255,255,255,0.6); }
.order-cta .section-sub { color: rgba(255,255,255,0.75); max-width: 100%; }
.order-steps { display: flex; flex-direction: column; gap: 24px; }
.order-step { display: flex; gap: 20px; align-items: flex-start; }
.step-num {
  width: 44px; height: 44px;
  border: 1.5px solid rgba(255,255,255,0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-display);
  font-size: 1.1rem;
  color: var(--white);
  flex-shrink: 0;
}
.step-title { font-size: 0.9rem; font-weight: 500; color: var(--white); margin-bottom: 4px; }
.step-desc { font-size: 0.82rem; color: rgba(255,255,255,0.65); line-height: 1.6; }
.order-buttons { display: flex; flex-direction: column; gap: 14px; margin-top: 20px; }


/* ── Contacts ────────────────────────────────────────────── */

.contacts { background: var(--blush); padding: 100px 80px; }
.contacts-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.contacts-list { display: flex; flex-direction: column; gap: 20px; margin-top: 40px; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 24px;
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(180,100,80,0.07);
  transition: var(--transition);
  color: inherit;
}
.contact-item:hover { transform: translateX(6px); box-shadow: var(--shadow); }
.contact-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; flex-shrink: 0; }
.contact-icon.tg { background: #e8f4fd; }
.contact-icon.vk { background: #e8eeff; }
.contact-icon.geo { background: var(--blush); }
.contact-icon.time { background: #f0f5e8; }
.contact-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-soft); margin-bottom: 3px; }
.contact-value { font-size: 0.95rem; font-weight: 500; color: var(--text); }
.contacts-promise { background: var(--white); border-radius: var(--radius); padding: 36px; margin-top: 40px; box-shadow: 0 2px 16px rgba(180,100,80,0.08); }
.promise-title { font-family: var(--ff-display); font-size: 1.5rem; font-weight: 400; color: var(--text); margin-bottom: 20px; }
.promise-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.promise-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 0.88rem; color: var(--text-soft); line-height: 1.6; }
.promise-list li::before { content: '✦'; color: var(--deep-rose); font-size: 0.7rem; margin-top: 3px; flex-shrink: 0; }


/* ── Blog Preview (index page) ───────────────────────────── */

.blog-preview { background: var(--cream); padding: 100px 80px; }
.blog-preview-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 56px; }
.blog-preview-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--deep-rose);
  transition: gap 0.25s;
}
.blog-preview-link:hover { gap: 14px; }
.blog-preview-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.blog-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: 0 2px 20px rgba(180,100,80,0.08); transition: var(--transition); display: flex; flex-direction: column; }
.blog-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.blog-card-img { aspect-ratio: 16/9; overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-body { padding: 24px 28px 28px; display: flex; flex-direction: column; flex: 1; }
.blog-card-tag {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--deep-rose);
  background: var(--blush);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.blog-card-title { font-family: var(--ff-display); font-size: 1.35rem; font-weight: 400; color: var(--text); line-height: 1.2; margin-bottom: 12px; transition: color 0.25s; flex: 1; }
.blog-card:hover .blog-card-title { color: var(--deep-rose); }
.blog-card-excerpt { font-size: 0.82rem; color: var(--text-soft); line-height: 1.7; margin-bottom: 20px; }
.blog-card-read { display: inline-flex; align-items: center; gap: 6px; font-size: 0.78rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--deep-rose); transition: gap 0.25s; }
.blog-card:hover .blog-card-read { gap: 12px; }


/* =============================================================
   BLOG PAGE (blog.html)
   ============================================================= */

.blog-hero {
  padding: 80px 80px 80px;
  background: var(--blush);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.blog-hero-text { animation: fadeUp 0.9s ease both; }
.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--deep-rose);
  margin-bottom: 20px;
}
.blog-hero h1 {
  font-family: var(--ff-display);
  font-size: clamp(2.8rem, 4.5vw, 5rem);
  font-weight: 300;
  line-height: 1.08;
  color: var(--text);
  margin-bottom: 24px;
}
.blog-hero h1 em { font-style: italic; color: var(--deep-rose); }
.blog-hero p { font-size: 1rem; color: var(--text-soft); max-width: 420px; line-height: 1.8; }
.blog-hero-visual { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; animation: fadeIn 1.1s ease both 0.3s; }
.blog-hero-visual img { border-radius: 16px; object-fit: cover; width: 100%; }
.blog-hero-visual img:first-child { grid-row: span 2; height: 340px; }
.blog-hero-visual img:not(:first-child) { height: 160px; }

.articles-section { padding: 80px 80px 120px; background: var(--cream); }
.articles-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 56px; }
.articles-count { font-size: 0.8rem; color: var(--text-soft); letter-spacing: 0.08em; }
.articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }

.article-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: 0 2px 20px rgba(180,100,80,0.08); transition: var(--transition); display: flex; flex-direction: column; }
.article-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.article-card:first-child { grid-column: span 3; display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.article-card:first-child .card-img { aspect-ratio: auto; height: 100%; min-height: 380px; }
.article-card:first-child .card-body { padding: 52px 48px; display: flex; flex-direction: column; justify-content: center; }
.article-card:first-child .card-title { font-size: 2rem; }
.article-card:first-child:hover { transform: translateY(-6px); }

.card-img { aspect-ratio: 16/9; overflow: hidden; flex-shrink: 0; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.article-card:hover .card-img img { transform: scale(1.04); }
.card-body { padding: 32px; display: flex; flex-direction: column; flex: 1; }
.card-meta { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.card-tag { font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--deep-rose); background: var(--blush); padding: 4px 12px; border-radius: 20px; }
.card-date { font-size: 0.75rem; color: var(--text-soft); }
.card-title { font-family: var(--ff-display); font-size: 1.5rem; font-weight: 400; color: var(--text); line-height: 1.2; margin-bottom: 14px; transition: color 0.25s; }
.article-card:hover .card-title { color: var(--deep-rose); }
.card-excerpt { font-size: 0.88rem; color: var(--text-soft); line-height: 1.75; flex: 1; margin-bottom: 24px; }
.card-link { display: inline-flex; align-items: center; gap: 8px; font-size: 0.8rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--deep-rose); transition: gap 0.25s; }
.article-card:hover .card-link { gap: 14px; }
.card-read-time { font-size: 0.72rem; color: var(--text-soft); margin-top: 4px; }

.blog-cta { background: var(--deep-rose); padding: 80px; text-align: center; }
.blog-cta h2 { font-family: var(--ff-display); font-size: clamp(2rem, 3.5vw, 3.2rem); font-weight: 300; color: var(--white); margin-bottom: 20px; }
.blog-cta h2 em { font-style: italic; color: rgba(255,255,255,0.65); }
.blog-cta p { font-size: 0.95rem; color: rgba(255,255,255,0.75); max-width: 480px; margin: 0 auto 40px; line-height: 1.8; }
.cta-buttons { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }


/* =============================================================
   ARTICLE PAGES (article-1,2,3.html)
   ============================================================= */

/* ── Breadcrumb ──────────────────────────────────────────── */

.breadcrumb-wrap {
  background: var(--cream);
  border-bottom: 1px solid var(--rose);
  padding: 12px 80px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--text-soft);
  flex-wrap: nowrap;
  overflow: hidden;
  max-width: 820px;
}
.breadcrumb a { color: var(--text-soft); transition: color 0.2s; white-space: nowrap; flex-shrink: 0; }
.breadcrumb a:hover { color: var(--deep-rose); }
.breadcrumb .sep { opacity: 0.4; flex-shrink: 0; }
.breadcrumb span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; opacity: 0.6; }


/* ── Article Hero ────────────────────────────────────────── */

.article-hero { background: var(--blush); padding: 56px 80px 0; }
.article-header { max-width: 820px; margin: 0 auto; padding-bottom: 56px; }
.article-meta { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.article-tag {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--deep-rose);
  background: rgba(196, 139, 120, 0.15);
  padding: 5px 14px;
  border-radius: 20px;
}
.article-date, .article-read { font-size: 0.78rem; color: var(--text-soft); }
.article-read::before { content: '⏱ '; }
.article-title {
  font-family: var(--ff-display);
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 24px;
}
.article-title em { font-style: italic; color: var(--deep-rose); }
.article-lead {
  font-size: 1.1rem;
  color: var(--text-soft);
  line-height: 1.8;
  max-width: 680px;
  border-left: 3px solid var(--deep-rose);
  padding-left: 24px;
}
.article-cover { max-width: 960px; margin: 0 auto; border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; }
.article-cover img { width: 100%; aspect-ratio: 16/7; object-fit: cover; }


/* ── Article Layout ──────────────────────────────────────── */

.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px 80px 100px;
  align-items: start;
}
.article-content { min-width: 0; }
.article-content h2 { font-family: var(--ff-display); font-size: 2rem; font-weight: 400; color: var(--text); margin: 52px 0 20px; line-height: 1.2; }
.article-content h2 em { font-style: italic; color: var(--deep-rose); }
.article-content h3 { font-family: var(--ff-display); font-size: 1.4rem; font-weight: 400; color: var(--text); margin: 36px 0 14px; }
.article-content p { font-size: 0.97rem; color: var(--text-soft); line-height: 1.9; margin-bottom: 20px; }
.article-content strong { color: var(--text); font-weight: 500; }
.article-content em { color: var(--deep-rose); font-style: italic; }
.article-content ul,
.article-content ol { margin: 20px 0 24px; padding-left: 0; list-style: none; }
.article-content ul li,
.article-content ol li { font-size: 0.95rem; color: var(--text-soft); line-height: 1.8; padding: 8px 0 8px 28px; position: relative; border-bottom: 1px solid rgba(232, 197, 184, 0.3); }
.article-content ul li::before { content: '✦'; position: absolute; left: 0; color: var(--deep-rose); font-size: 0.65rem; top: 13px; }
.article-content ol { counter-reset: ol-counter; }
.article-content ol li::before { counter-increment: ol-counter; content: counter(ol-counter); position: absolute; left: 0; width: 20px; height: 20px; background: var(--deep-rose); color: white; border-radius: 50%; font-size: 0.65rem; display: flex; align-items: center; justify-content: center; top: 10px; font-family: var(--ff-display); }

.article-pullquote { background: var(--blush); border-left: 4px solid var(--deep-rose); border-radius: 0 16px 16px 0; padding: 28px 32px; margin: 36px 0; }
.article-pullquote p { font-family: var(--ff-display); font-size: 1.3rem; font-weight: 400; color: var(--text); line-height: 1.5; margin: 0; font-style: italic; }

.article-img-block { margin: 40px 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.article-img-block img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.article-img-caption { font-size: 0.78rem; color: var(--text-soft); text-align: center; padding: 12px 16px 0; font-style: italic; }

.price-table { width: 100%; border-collapse: collapse; margin: 28px 0; border-radius: 16px; overflow: hidden; box-shadow: 0 2px 16px rgba(180,100,80,0.08); }
.price-table thead { background: var(--deep-rose); color: white; }
.price-table th { padding: 14px 20px; text-align: left; font-size: 0.78rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }
.price-table td { padding: 14px 20px; font-size: 0.88rem; color: var(--text-soft); border-bottom: 1px solid var(--blush); }
.price-table tr:last-child td { border-bottom: none; }
.price-table tr:nth-child(even) td { background: rgba(245, 230, 224, 0.3); }
.price-table td strong { color: var(--deep-rose); }

.tip-box { background: var(--white); border: 1.5px solid var(--rose); border-radius: 16px; padding: 24px 28px; margin: 32px 0; display: flex; gap: 16px; align-items: flex-start; }
.tip-icon { font-size: 1.6rem; flex-shrink: 0; }
.tip-text { font-size: 0.9rem; color: var(--text-soft); line-height: 1.7; }
.tip-text strong { color: var(--text); display: block; margin-bottom: 6px; }

/* Checklist (article-3) */
.checklist { display: flex; flex-direction: column; gap: 20px; margin: 32px 0; }
.check-item { background: var(--white); border-radius: 16px; padding: 28px 32px; box-shadow: 0 2px 16px rgba(180,100,80,0.07); display: flex; gap: 20px; align-items: flex-start; transition: var(--transition); }
.check-item:hover { transform: translateX(6px); box-shadow: var(--shadow); }
.check-num { width: 40px; height: 40px; border-radius: 50%; background: var(--deep-rose); color: white; display: flex; align-items: center; justify-content: center; font-family: var(--ff-display); font-size: 1.1rem; flex-shrink: 0; }
.check-title { font-size: 1rem; font-weight: 500; color: var(--text); margin-bottom: 8px; }
.check-desc { font-size: 0.88rem; color: var(--text-soft); line-height: 1.7; }
.check-desc strong { color: var(--text); font-weight: 500; }
.check-answer { margin-top: 10px; font-size: 0.82rem; color: var(--deep-rose); font-style: italic; }

.article-footer { margin-top: 60px; padding-top: 40px; border-top: 1px solid var(--rose); }
.article-author { display: flex; align-items: center; gap: 20px; }
.author-avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--blush); display: flex; align-items: center; justify-content: center; font-family: var(--ff-display); font-size: 1.4rem; color: var(--deep-rose); flex-shrink: 0; }
.author-name { font-weight: 500; font-size: 0.95rem; margin-bottom: 4px; }
.author-bio { font-size: 0.82rem; color: var(--text-soft); line-height: 1.6; }
.share-block { margin-top: 32px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.share-label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-soft); }
.share-btn { padding: 10px 22px; border: 1.5px solid var(--rose); border-radius: 50px; font-size: 0.78rem; color: var(--text-soft); display: inline-flex; align-items: center; gap: 8px; transition: var(--transition); cursor: pointer; }
.share-btn:hover { border-color: var(--deep-rose); color: var(--deep-rose); }


/* ── Sidebar ─────────────────────────────────────────────── */

.article-sidebar { position: sticky; top: 100px; }
.sidebar-toc { background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: 0 2px 20px rgba(180,100,80,0.08); margin-bottom: 28px; }
.sidebar-toc-title { font-family: var(--ff-display); font-size: 1.1rem; font-weight: 400; color: var(--text); margin-bottom: 20px; }
.toc-list { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.toc-list a { font-size: 0.82rem; color: var(--text-soft); padding: 7px 10px; border-radius: 8px; display: block; transition: all 0.2s; line-height: 1.4; }
.toc-list a:hover { background: var(--blush); color: var(--deep-rose); }
.sidebar-cta { background: var(--deep-rose); border-radius: var(--radius); padding: 28px; text-align: center; }
.sidebar-cta-title { font-family: var(--ff-display); font-size: 1.4rem; font-weight: 300; color: var(--white); margin-bottom: 12px; line-height: 1.2; }
.sidebar-cta p { font-size: 0.82rem; color: rgba(255,255,255,0.75); line-height: 1.7; margin-bottom: 20px; }
.sidebar-cta a { display: block; padding: 13px 20px; background: var(--white); color: var(--deep-rose); border-radius: 50px; font-size: 0.78rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; transition: var(--transition); margin-bottom: 10px; }
.sidebar-cta a:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,0,0,0.15); }
.sidebar-cta a.outline { background: transparent; color: rgba(255,255,255,0.8); border: 1.5px solid rgba(255,255,255,0.4); }
.sidebar-cta a.outline:hover { border-color: white; color: white; }


/* ── Related articles ────────────────────────────────────── */

.related-section { background: var(--blush); padding: 80px; }
.related-title { font-family: var(--ff-display); font-size: 2rem; font-weight: 300; color: var(--text); margin-bottom: 40px; }
.related-title em { font-style: italic; color: var(--deep-rose); }
.related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.related-card { background: var(--white); border-radius: var(--radius); overflow: hidden; display: flex; box-shadow: 0 2px 16px rgba(180,100,80,0.08); transition: var(--transition); }
.related-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.related-img { width: 140px; flex-shrink: 0; overflow: hidden; }
.related-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.related-card:hover .related-img img { transform: scale(1.06); }
.related-body { padding: 24px; display: flex; flex-direction: column; justify-content: center; }
.related-tag { font-size: 0.65rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--deep-rose); margin-bottom: 8px; }
.related-card-title { font-family: var(--ff-display); font-size: 1.05rem; font-weight: 400; color: var(--text); line-height: 1.3; margin-bottom: 12px; transition: color 0.2s; }
.related-card:hover .related-card-title { color: var(--deep-rose); }
.related-link { font-size: 0.75rem; color: var(--deep-rose); font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }

.article-cta-banner { background: var(--deep-rose); padding: 72px 80px; text-align: center; }
.article-cta-banner h2 { font-family: var(--ff-display); font-size: clamp(1.8rem, 3vw, 2.8rem); font-weight: 300; color: var(--white); margin-bottom: 16px; }
.article-cta-banner h2 em { font-style: italic; color: rgba(255,255,255,0.6); }
.article-cta-banner p { font-size: 0.95rem; color: rgba(255,255,255,0.75); max-width: 440px; margin: 0 auto 36px; line-height: 1.8; }


/* =============================================================
   404 PAGE
   ============================================================= */

.error-wrap { text-align: center; max-width: 560px; }
.error-num { font-family: var(--ff-display); font-size: clamp(7rem, 20vw, 12rem); font-weight: 300; line-height: 1; color: var(--rose); letter-spacing: -0.02em; margin-bottom: 8px; }
.error-title { font-family: var(--ff-display); font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 300; color: var(--text); margin-bottom: 16px; line-height: 1.2; }
.error-title em { font-style: italic; color: var(--deep-rose); }
.error-sub { font-size: 0.95rem; color: var(--text-soft); line-height: 1.8; margin-bottom: 40px; }
.error-links { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.error-divider { width: 48px; height: 1.5px; background: var(--rose); margin: 0 auto 32px; }
.error-main { flex: 1; display: flex; align-items: center; justify-content: center; padding: 60px 24px; background: var(--blush); }


/* =============================================================
   RESPONSIVE
   ============================================================= */

/* ── Tablet (≤ 1024px) ───────────────────────────────────── */

@media (max-width: 1024px) {
  /* Nav */
  nav { padding: 16px 32px; }

  /* Index */
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-text { padding: 60px 40px 48px; }
  .hero-image { height: 60vw; max-height: 500px; }
  .hero-badge { left: 20px; }
  .about { grid-template-columns: 1fr; padding: 80px 40px; }
  .menu { padding: 80px 40px; }
  .menu-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { padding: 80px 40px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item:nth-child(1) { grid-column: span 2; }
  .reviews { padding: 80px 40px; }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .delivery { padding: 80px 40px; }
  .delivery-inner { grid-template-columns: 1fr; }
  .faq { padding: 80px 40px; }
  .order-cta { grid-template-columns: 1fr; padding: 80px 40px; gap: 48px; }
  .contacts { padding: 80px 40px; }
  .contacts-inner { grid-template-columns: 1fr; }
  .blog-preview { padding: 80px 40px; }
  .blog-preview-grid { grid-template-columns: repeat(2, 1fr); }

  /* Blog */
  .blog-hero { grid-template-columns: 1fr; padding: 60px 40px 60px; gap: 40px; }
  .articles-section { padding: 60px 40px 80px; }
  .articles-grid { grid-template-columns: repeat(2, 1fr); }
  .article-card:first-child { grid-column: span 2; }
  .blog-cta { padding: 60px 40px; }

  /* Articles */
  .breadcrumb-wrap { padding: 12px 40px; }
  .article-hero { padding: 40px 40px 0; }
  .article-header { padding-bottom: 40px; }
  .article-layout { grid-template-columns: 1fr; padding: 48px 40px 80px; }
  .article-sidebar { position: static; }
  .sidebar-toc { display: none; }
  .related-section { padding: 60px 40px; }
  .article-cta-banner { padding: 60px 40px; }

  footer { padding: 40px; }
}


/* ── Mobile (≤ 768px) — Burger menu ─────────────────────── */

@media (max-width: 768px) {
  .burger { display: flex; }
  .nav-links { display: none !important; }
  .mobile-nav { display: block; }
  nav .btn-primary { display: none; }
  nav { padding: 14px 20px; }
}


/* ── Mobile (≤ 680px) ────────────────────────────────────── */

@media (max-width: 680px) {
  nav { padding: 14px 20px; }

  /* Index */
  .hero-text { padding: 40px 20px 36px; }
  .about { padding: 60px 20px; }
  .about-features { grid-template-columns: 1fr; }
  .menu { padding: 60px 20px; }
  .menu-grid { grid-template-columns: 1fr; }
  .gallery { padding: 60px 20px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item:nth-child(1) { grid-column: span 2; aspect-ratio: 3/2; }
  .reviews { padding: 60px 20px; }
  .reviews-grid { grid-template-columns: 1fr; }
  .delivery { padding: 60px 20px; }
  .cities-grid { grid-template-columns: 1fr; }
  .faq { padding: 60px 20px; }
  .order-cta { padding: 60px 20px; }
  .contacts { padding: 60px 20px; }
  .blog-preview { padding: 60px 20px; }
  .blog-preview-grid { grid-template-columns: 1fr; }
  .blog-preview-header { flex-direction: column; align-items: flex-start; gap: 16px; }

  /* Blog */
  .blog-hero { padding: 40px 20px 48px; }
  .blog-hero-visual { grid-template-columns: 1fr; }
  .blog-hero-visual img:first-child { height: 220px; grid-row: auto; }
  .blog-hero-visual img:not(:first-child) { display: none; }
  .articles-section { padding: 48px 20px 60px; }
  .articles-grid { grid-template-columns: 1fr; }
  .article-card:first-child { grid-column: span 1; grid-template-columns: 1fr; }
  .article-card:first-child .card-img { min-height: 220px; }
  .article-card:first-child .card-body { padding: 28px; }
  .article-card:first-child .card-title { font-size: 1.5rem; }
  .blog-cta { padding: 48px 20px; }

  /* Articles */
  .breadcrumb-wrap { padding: 10px 20px; }
  .article-hero { padding: 28px 20px 0; }
  .article-title { font-size: 2rem; }
  .article-layout { padding: 36px 20px 60px; }
  .check-item { flex-direction: column; gap: 12px; }
  .related-grid { grid-template-columns: 1fr; }
  .related-card { flex-direction: column; }
  .related-img { width: 100%; height: 160px; }
  .related-section { padding: 48px 20px; }
  .article-cta-banner { padding: 48px 20px; }
  .price-table { font-size: 0.82rem; }
  .price-table th, .price-table td { padding: 10px 14px; }

  footer { padding: 32px 20px; flex-direction: column; align-items: flex-start; }
  .footer-links { flex-wrap: wrap; gap: 16px; }
}
