/* ==========================================================================
   3/9 ЦАРСТВО — палитра и стиль из макетов кейтеринга
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600&family=Ruslan+Display&display=swap');

@font-face{
  font-family: 'Balkara Free Condensed';
  src: url('img/BalkaraFreeCondensed.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root{
  /* Палитра из логотипа «3/9 Царство» один в один:
     беж #EDEAD9, зелёный #405B37, бордовый #630107, чёрный как доп. */
  --sage: #EDEAD9;          /* беж (светлый фон) */
  --sage-deep: #E0D9C0;     /* глубокий беж (градиенты, швы) */
  --cream: #EDEAD9;         /* беж (светлые секции) */
  --cream-deep: #E0D9C0;
  --paper: #EDEAD9;
  --white: #ffffff;
  --forest: #405B37;        /* зелёный из лого */
  --forest-deep: #334A2E;
  --maroon: #630107;        /* бордовый из лого */
  --maroon-deep: #4C0104;
  --maroon-bright: #C94455; /* красный из лого (акцент) */
  --gold: #630107;          /* акцент на светлом фоне — бордовый */
  --gold-soft: #EDEAD9;     /* акцент на тёмном фоне — беж */
  --ink: #1a1a1a;           /* чёрный как доп. */
  --ink-muted: #4a4a4a;
  --max: 1180px;
  --radius-card: 20px;
  --transition: .22s ease;
}

*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

body{
  margin: 0;
  background: var(--sage);
  color: var(--ink);
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }

h1,h2,h3,h4{
  font-family: 'Balkara Free Condensed', 'Ruslan Display', Georgia, serif;
  color: var(--maroon);
  margin: 0 0 .4em;
  line-height: 1.08;
  font-weight: 400;
  letter-spacing: .01em;
}

.eyebrow{
  font-family: 'Montserrat', sans-serif;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 16px;
}
.eyebrow::after{ display: none; }

.wrap{ max-width: var(--max); margin: 0 auto; padding: 0 40px; }
.container{ max-width: var(--max); margin: 0 auto; padding: 0 40px; }

a:focus-visible, button:focus-visible{
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* ---------- народный кокошник между секциями (как в макетах) ---------- */
.folk-seam{
  display: block;
  height: 26px;
  margin: 0;
  background-repeat: repeat-x;
  background-size: 64px 26px;
  line-height: 0;
  transform: scaleY(-1);
}
.folk-seam--sage-cream{
  background-color: var(--cream);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='26' viewBox='0 0 64 26'%3E%3Cpath d='M0 26V8C16 22 32 8 48 22 56 16 64 10 64 8V26z' fill='%23E0D9C0'/%3E%3Cpath d='M0 8C16 22 32 8 48 22 56 16 64 10' fill='none' stroke='%23ffffff' stroke-width='1.2' opacity='.55'/%3E%3Ccircle cx='32' cy='14' r='2' fill='%23ffffff' opacity='.4'/%3E%3C/svg%3E");
}
.folk-seam--cream-green{
  background-color: var(--forest);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='26' viewBox='0 0 64 26'%3E%3Cpath d='M0 26V8C16 22 32 8 48 22 56 16 64 10 64 8V26z' fill='%23EDEAD9'/%3E%3Cpath d='M0 8C16 22 32 8 48 22 56 16 64 10' fill='none' stroke='%23ffffff' stroke-width='1.2' opacity='.7'/%3E%3Ccircle cx='32' cy='14' r='2' fill='%23ffffff' opacity='.55'/%3E%3C/svg%3E");
}
.folk-seam--green-cream{
  background-color: var(--cream);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='26' viewBox='0 0 64 26'%3E%3Cpath d='M0 26V8C16 22 32 8 48 22 56 16 64 10 64 8V26z' fill='%23405B37'/%3E%3Cpath d='M0 8C16 22 32 8 48 22 56 16 64 10' fill='none' stroke='%23ffffff' stroke-width='1.2' opacity='.55'/%3E%3Ccircle cx='32' cy='14' r='2' fill='%23ffffff' opacity='.4'/%3E%3C/svg%3E");
}

.folk-bg, .folk-deco, .divider, .rule{ display: none; }

/* ---------- buttons (как ценники в меню) ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 1em 2em;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
}
.btn:hover{ transform: translateY(-1px); }

.btn-primary{
  background: var(--forest);
  color: var(--white);
  border-color: var(--forest);
  box-shadow: 0 6px 20px -8px rgba(64, 91, 55, .55);
}
.btn-primary:hover{
  background: var(--forest-deep);
  border-color: var(--forest-deep);
}

.btn-outline{
  background: var(--white);
  border-color: var(--maroon);
  color: var(--maroon);
}
.btn-outline:hover{
  background: var(--maroon);
  color: var(--white);
}

.btn-messenger{
  background: var(--white);
  border-color: var(--forest);
  color: var(--forest);
}
.btn-messenger:hover{
  background: var(--forest);
  color: var(--white);
}

/* ---------- header ---------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(237, 234, 217, .94);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid rgba(99, 1, 7, .12);
}

.nav{
  padding: 12px 40px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 32px;
}

.brand{
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}
.brand-logo{
  width: 52px;
  height: 52px;
  display: block;
}
.brand-logo img{
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.brand-text{ line-height: 1.15; }
.brand-text .name{
  display: block;
  font-family: 'Balkara Free Condensed', 'Ruslan Display', serif;
  font-size: 1.35rem;
  color: var(--maroon);
  letter-spacing: .02em;
}
.brand-text .tag{
  display: block;
  font-size: .56rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--forest);
  margin-top: 2px;
}

.nav-links{
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.nav-links a{
  color: var(--forest);
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active{
  color: var(--maroon);
  border-bottom-color: var(--maroon);
}

.nav-phone{
  margin-left: auto;
  font-size: .8rem;
  font-weight: 600;
  color: var(--maroon);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.nav-phone svg{ width: 14px; height: 14px; fill: var(--maroon); }

.burger{ display: none; background: none; border: none; padding: 8px; }
.burger span{ display: none; }

@media (max-width: 1080px){
  .nav{ gap: 18px; }
  .nav-links{ gap: 16px; font-size: .66rem; }
}

@media (max-width: 880px){
  .nav{ padding: 12px 20px; }
  .brand-logo{ width: 42px; height: 42px; }
  .brand-text .name{ font-size: 1.15rem; }
  .burger{ display: block; cursor: pointer; margin-left: 10px; flex: none; order: 1; }
  .nav-links{
    position: fixed;
    left: 0; right: 0;
    order: 3;
    inset: 64px 0 auto 0;
    background: var(--sage);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 24px 20px;
    border-bottom: 2px solid rgba(99, 1, 7, .12);
    transform: translateY(-140%);
    opacity: 0;
    transition: transform .3s ease, opacity .3s ease;
  }
  .nav-links.open{ transform: translateY(0); opacity: 1; }
  .nav-links a{ width: 100%; padding: 14px 0; border-bottom: 1px solid rgba(99, 1, 7, .1); }
  .nav-phone{ display: flex; margin-left: auto; font-size: 0; order: 0; }
@media (max-width: 420px){
  .brand{ gap: 8px; }
  .brand-text .tag{ display: none; }
  .brand-logo{ width: 38px; height: 38px; }
  .brand-text .name{ font-size: 1.05rem; white-space: nowrap; }
  .nav-phone svg{ width: 26px; height: 26px; padding: 7px; }
  .nav{ padding: 10px 16px; gap: 8px; }
  .burger{ margin-left: 6px; }
}
  .nav-phone svg{
    width: 30px;
    height: 30px;
    padding: 8px;
    border-radius: 50%;
    border: 2px solid var(--maroon);
    background: var(--white);
    box-sizing: content-box;
    box-shadow: 0 4px 12px -6px rgba(99, 1, 7, .4);
  }
  .burger .bar{ display: block; width: 22px; height: 2px; background: var(--maroon); margin: 5px 0; transition: .2s; }
  .burger.open .bar:nth-child(1){ transform: translateY(7px) rotate(45deg); }
  .burger.open .bar:nth-child(2){ opacity: 0; }
  .burger.open .bar:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }
}

/* ---------- footer (бордовый блок как в макете пиццы) ---------- */
.site-footer{
  background: var(--maroon);
  color: var(--cream);
  padding: 0 0 28px;
  margin-top: 0;
  position: relative;
}
.site-footer::before{
  content: '';
  display: block;
  height: 26px;
  transform: scaleY(-1);
  background-color: var(--maroon);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='26' viewBox='0 0 64 26'%3E%3Cpath d='M0 26V8C16 22 32 8 48 22 56 16 64 10 64 8V26z' fill='%23EDEAD9'/%3E%3Cpath d='M0 8C16 22 32 8 48 22 56 16 64 10' fill='none' stroke='%23ffffff' stroke-width='1.2' opacity='.55'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-size: 64px 26px;
}
.site-footer .wrap.footer-grid,
.site-footer .wrap.footer-bottom{ padding-top: 48px; }

.footer-grid{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 28px;
}
.footer-grid h4{
  color: var(--gold-soft);
  font-family: 'Montserrat', sans-serif;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 1em;
}
.footer-grid p, .footer-grid a{
  color: rgba(255, 255, 255, .88);
  font-size: .9rem;
  line-height: 1.7;
}
.footer-grid a:hover{ color: var(--gold-soft); }
.footer-brand{ display: flex; align-items: flex-start; gap: 14px; }
.footer-brand .logo{
  width: 52px;
  height: 52px;
  flex: none;
  margin-top: 2px;
}
.footer-brand .logo img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.25));
}
.footer-brand .name{
  font-family: 'Balkara Free Condensed', serif;
  font-size: 1.5rem;
  color: var(--white);
}
.footer-brand p{ margin-top: 6px; max-width: 300px; opacity: .8; font-size: .88rem; }

.footer-bottom{
  border-top: 1px solid rgba(255,255,255,.15);
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: .72rem;
  opacity: .65;
}

.footer-legal{
  border-top: 1px solid rgba(255,255,255,.15);
  margin-top: 8px;
  padding-top: 14px;
  display: block;
  font-size: .62rem;
  line-height: 1.6;
  opacity: .55;
  color: var(--cream);
}

.social-row{ display: flex; gap: 10px; margin-top: 14px; }
.social-row a{
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.35);
  display: flex; align-items: center; justify-content: center;
}
.social-row a:hover{ border-color: var(--gold-soft); background: rgba(255,255,255,.08); }
.social-row svg{ width: 15px; height: 15px; fill: var(--gold-soft); }

@media (max-width: 760px){ .footer-grid{ grid-template-columns: 1fr; } }

/* ---------- sections ---------- */
.section{ padding: 64px 0; }
.section-head{ text-align: center; max-width: 620px; margin: 0 auto 48px; }
.section-head h2{ font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
.section-head p{ font-size: .94rem; max-width: 46ch; margin: 0 auto; }

/* ==========================================================================
   HOME
   ========================================================================== */

[data-reveal]{
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .55s ease, transform .55s ease;
}
[data-reveal].is-visible{ opacity: 1; transform: none; }

/* ---- hero: шалфейный фон (макет «детский кейтеринг») ---- */
.hero{
  position: relative;
  overflow: hidden;
  background: var(--sage);
  padding: 48px 0 56px;
}

/* узоры из макетов как фон hero */
.hero::before{
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('img/uzory.svg');
  background-size: 140% auto;
  background-position: center 12%;
  opacity: .07;
  pointer-events: none;
}
.hero .wrap{
  position: relative;
  z-index: 1;
}

.hero-layout{
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}

.hero-copy{ text-align: left; }

.hero-copy h1{
  font-size: clamp(3rem, 6vw, 4.6rem);
  color: var(--maroon);
  margin: 0 0 .25em;
  text-shadow: 0 1px 0 rgba(255,255,255,.25);
}

.hero-slogan{
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1rem, 1.9vw, 1.15rem);
  font-weight: 600;
  color: var(--forest);
  letter-spacing: .08em;
  text-transform: lowercase;
  margin: 0 0 1.1em;
}

.hero-text{
  font-size: 1.12rem;
  color: var(--ink-muted);
  max-width: 60ch;
  line-height: 1.8;
  margin: 0 0 1.4em;
}
.hero-text strong{ color: var(--maroon); font-weight: 600; }

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

/* ---- hero carousel (вертикальные кадры как в макетах) ---- */
.hero-carousel{ width: 100%; }

/* обёртка карусели со стрелками по бокам */
.carousel-shell{
  position: relative;
}

.carousel-arrow{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid var(--maroon);
  background: var(--white);
  color: var(--maroon);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px -8px rgba(99, 1, 7, .35);
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.carousel-arrow:hover{
  background: var(--maroon);
  color: var(--white);
  transform: translateY(-50%) scale(1.06);
}
.carousel-arrow--prev{ left: -14px; }
.carousel-arrow--next{ right: -14px; }

.carousel-viewport{
  overflow: hidden;
  border-radius: var(--radius-card);
  border: 2px solid var(--maroon);
  box-shadow: 0 12px 36px -16px rgba(99, 1, 7, .25);
  aspect-ratio: 9 / 13;
}

.carousel-track{
  display: flex;
  transition: transform .55s cubic-bezier(.25, 1, .45, 1);
  height: 100%;
}

.carousel-slide{ flex: 0 0 100%; min-width: 100%; }

.carousel-slide img{
  width: 100%;
  height: 100%;
  aspect-ratio: 9 / 13;
  object-fit: cover;
  display: block;
}

.carousel-placeholder{
  width: 100%;
  aspect-ratio: 9 / 13;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, var(--cream) 0%, var(--sage-deep) 100%);
  color: var(--maroon);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  opacity: .85;
}

.carousel-dots{
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}
.carousel-dot{
  width: 11px; height: 11px;
  border-radius: 50%;
  border: 2px solid var(--maroon);
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.carousel-dot.is-active{
  background: var(--maroon);
  transform: scale(1.1);
}
.carousel-dot:hover:not(.is-active){ background: rgba(99, 1, 7, .25); }

@media (max-width: 980px){
  .hero-layout{ grid-template-columns: 1fr; gap: 32px; }
  .hero-carousel{ max-width: 420px; margin: 0 auto; }
}

@media (max-width: 760px){ .wrap{ padding: 0 24px; } }

/* ---- about: пергамент (макет бургеров) ---- */
.about-section{
  background: var(--cream);
  padding: 64px 0;
}

.about-section .eyebrow{ color: var(--forest); }
.about-section .eyebrow::after{ display: none; }
.about-section h2{ color: var(--maroon); }

.about-grid-3{
  display: grid;
  grid-template-columns: 1fr 1.35fr 1fr;
  gap: 36px;
  align-items: center;
}

.about-copy{ text-align: left; }
.about-copy h2{
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  margin-bottom: .55em;
}
.about-copy p{
  max-width: 50ch;
  margin: 0 0 1em;
  color: var(--ink-muted);
  font-size: .94rem;
}

.about-photo{
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 2px solid var(--maroon);
  box-shadow: 0 8px 24px -12px rgba(99, 1, 7, .2);
}
.about-photo img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-photo--left{ transform: rotate(-2deg); }
.about-photo--right{ transform: rotate(2deg); }

.photo-placeholder{
  aspect-ratio: 3 / 4;
  background: var(--white);
  border: 2px solid var(--maroon);
  border-radius: var(--radius-card);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--maroon);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  box-shadow: 0 8px 24px -12px rgba(99, 1, 7, .2);
}
.photo-placeholder svg{ width: 28px; height: 28px; opacity: .4; }

@media (max-width: 980px){
  .about-grid-3{ grid-template-columns: 1fr; gap: 28px; }
  .about-copy{ text-align: center; }
  .about-copy .eyebrow::after{ margin-inline: auto; }
  .about-copy p{ margin-inline: auto; }
  .about-photo{ max-width: 300px; margin: 0 auto; }
  .about-photo--left{ order: 1; }
  .about-copy{ order: 2; }
  .about-photo--right{ order: 3; }
}

/* ---- reviews: зелёный блок (макет «к чаю») ---- */
.reviews-section{
  background: var(--forest);
  color: var(--white);
  padding: 64px 0;
}

.reviews-section .eyebrow{ color: var(--gold-soft); }
.reviews-section .eyebrow::after{ background: var(--gold-soft); margin-inline: auto; }
.reviews-section .section-head h2{ color: var(--white); }
.reviews-section .section-head p{ color: rgba(255,255,255,.78); }
.reviews-quote{
  font-family: 'Balkara Free Condensed', serif;
  font-size: 1.15rem;
  color: var(--gold-soft);
  margin: 0 auto 8px;
  max-width: 46ch;
  text-align: center;
  line-height: 1.4;
}

/* ---- скриншоты отзывов из 2ГИС: аккуратные ровные карточки ---- */
.reviews-shots{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 1000px;
  margin: 0 auto;
}

.review-shot{
  margin: 0;
  padding: 0;
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .35);
  transition: transform var(--transition), box-shadow var(--transition);
}
.review-shot:hover{
  transform: translateY(-3px);
  box-shadow: 0 16px 32px -14px rgba(0, 0, 0, .4);
}
.review-shot img{
  width: 100%;
  height: auto;
  display: block;
  cursor: zoom-in;
}

/* золотая кайма-кокошник сверху секции отзывов убрана */

/* появление контейнера — через data-reveal; наклон карточек не трогаем */

.reviews-cta{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 40px;
}
.reviews-rating{
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-soft);
}
.reviews-section .btn-outline{
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}
.reviews-section .btn-outline:hover{
  background: var(--white);
  color: var(--forest);
}

@media (max-width: 820px){
  .reviews-shots{ grid-template-columns: 1fr; max-width: 480px; }
}

/* ---- contacts: пергамент ---- */
.contacts-section{
  background: var(--cream);
  padding: 64px 0;
}

.contacts-section .eyebrow{ color: var(--forest); }
.contacts-section .eyebrow::after{ background: var(--forest); margin-left: 0; }
.contacts-section h2{ color: var(--maroon); }

.contacts-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contacts-copy h2{ font-size: clamp(1.7rem, 3vw, 2.2rem); }

.contact-list{
  list-style: none;
  padding: 0;
  margin: 20px 0;
  display: grid;
  gap: 0;
}
.contact-list li{
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(99, 1, 7, .15);
}
.contact-list li:last-child{ border-bottom: none; }
.contact-list strong{
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--forest);
}
.contact-list span, .contact-list a{ font-size: .94rem; color: var(--ink); }
.contact-list a:hover{ color: var(--maroon); }
.contact-messengers{
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
}

.contacts-buttons{ display: flex; gap: 12px; flex-wrap: wrap; }

.contacts-map-frame,
.contacts-map img{
  border-radius: var(--radius-card);
  border: 2px solid var(--maroon);
  width: 100%;
  height: 380px;
  display: block;
  box-shadow: 0 8px 24px -12px rgba(99, 1, 7, .2);
}

@media (max-width: 860px){ .contacts-grid{ grid-template-columns: 1fr; } }

/* ==========================================================================
   CALL MODAL — подтверждение звонка (окошечко «Позвонить?») на телефоне
   ========================================================================== */

.call-modal{
  position: fixed;
  inset: 0;
  z-index: 110;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(26, 18, 10, .6);
  backdrop-filter: blur(4px);
  padding: 20px;
}
.call-modal.is-open{ display: flex; }

.call-modal-card{
  position: relative;
  width: 100%;
  max-width: 340px;
  background: var(--white);
  border-radius: 18px;
  padding: 26px 24px 24px;
  text-align: center;
  box-shadow: 0 24px 60px -20px rgba(0,0,0,.5);
  border: 2px solid var(--maroon);
}

.call-modal-close{
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: var(--maroon);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.call-modal-title{
  font-family: 'Balkara Free Condensed', serif;
  font-size: 1.35rem;
  color: var(--maroon);
  margin: 0 0 10px;
}

.call-modal-num{
  display: block;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: .01em;
  margin-bottom: 20px;
}

.call-modal-actions{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.call-modal-actions .btn{ font-size: .66rem; padding: .9em 1em; }

/* ==========================================================================
   LIGHTBOX — просмотр картинок меню в полный размер
   ========================================================================== */

.js-lightbox{
  cursor: zoom-in;
}

.lightbox{
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(26, 18, 10, .88);
  backdrop-filter: blur(6px);
  padding: 24px;
}
.lightbox.is-open{
  display: flex;
}

.lightbox-img{
  max-width: min(92vw, 760px);
  max-height: 88vh;
  border-radius: 12px;
  border: 2px solid var(--gold-soft);
  box-shadow: 0 24px 60px -20px rgba(0,0,0,.6);
  object-fit: contain;
}

.lightbox-close{
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.6);
  background: rgba(0,0,0,.25);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), border-color var(--transition);
}
.lightbox-close:hover{
  background: var(--maroon);
  border-color: var(--maroon);
}

.lightbox-nav{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.6);
  background: rgba(0,0,0,.25);
  color: #fff;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), border-color var(--transition);
}
.lightbox-nav:hover{
  background: var(--forest);
  border-color: var(--forest);
}
.lightbox-nav--prev{ left: 18px; }
.lightbox-nav--next{ right: 18px; }

.lightbox-caption{
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.8);
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  max-width: 80%;
  text-align: center;
}

@media (max-width: 640px){
  .lightbox-nav--prev{ left: 8px; }
  .lightbox-nav--next{ right: 8px; }
  .lightbox{ padding: 12px; }
}

/* ---------- shared (menu / delivery) ---------- */
.visually-hidden{ position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.seam{
  display: block;
  height: 0;
  border: none;
  border-top: 1px solid rgba(99, 1, 7, .12);
  margin: 0;
}

.btn-gold{
  background: var(--white);
  color: var(--maroon);
  border-color: var(--white);
}
.btn-gold:hover{ background: var(--cream); color: var(--maroon-deep); }

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

.btn-white{
  background: var(--white);
  color: var(--maroon);
  border-color: var(--maroon);
}

.link-underline{
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--maroon);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}
