/* ==========================================================================
   Trattoria Bella Vita — Cucina Italiana
   Warm-Tuscan design system · mobile-first
   --------------------------------------------------------------------------
   Sections:
   1.  Tokens (color / type / spacing)
   2.  Reset & base
   3.  Typography
   4.  Layout utilities
   5.  Decorative primitives (paper, dividers, floating art)
   6.  Buttons
   7.  Header & navigation (incl. mobile drawer)
   8.  Home hero
   9.  Feature strip
   10. About teaser
   11. Featured dishes + mobile carousel
   12. Testimonials
   13. CTA band
   14. Subpage hero
   15. Menu (Étlap) page
   16. About (Rólunk) page
   17. Contact (Kapcsolat) page + form + modal
   18. Footer
   19. Motion / reveal / reduced-motion
   ========================================================================== */

/* 1. TOKENS ================================================================ */
:root {
  /* palette — warm Tuscan, elevated */
  --paper:        #F7EEDD;
  --paper-2:      #F1E3C8;
  --paper-3:      #EAD9B8;
  --card:         #FBF5E9;
  --terracotta:   #B23A2E;
  --terracotta-600:#9A2E23;
  --terracotta-700:#7C2318;
  --olive:        #6E7B3D;
  --olive-700:    #515C2B;
  --basil:        #4E7B3E;
  --espresso:     #34251C;
  --ink:          #46362A;
  --ink-soft:     #6E5A49;
  --gold:         #C89A3C;
  --line:         rgba(52,37,28,.16);
  --line-soft:    rgba(52,37,28,.10);
  --shadow-sm:    0 2px 8px rgba(52,37,28,.08);
  --shadow-md:    0 10px 30px -12px rgba(52,37,28,.30);
  --shadow-lg:    0 26px 60px -24px rgba(52,37,28,.42);

  /* type */
  --f-display: "Fraunces", Georgia, "Times New Roman", serif;
  --f-script:  "Allura", "Segoe Script", cursive;
  --f-body:    "Work Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* fluid type scale */
  --t-hero:   clamp(2.7rem, 3.2vw + 1.9rem, 5.1rem);
  --t-page:   clamp(2.3rem, 2.4vw + 1.6rem, 3.6rem);
  --t-h2:     clamp(1.85rem, 1.6vw + 1.3rem, 2.75rem);
  --t-h3:     clamp(1.25rem, .6vw + 1.05rem, 1.6rem);
  --t-body:   1.02rem;

  /* layout */
  --maxw: 1180px;
  --gutter: clamp(1.1rem, 4vw, 2.6rem);
  --radius: 18px;
  --radius-lg: 26px;

  /* spacing rhythm — kept tight to avoid cavernous gaps */
  --sec-y: clamp(3rem, 5.5vw, 5rem);
  --sec-y-tight: clamp(2.2rem, 4vw, 3.4rem);

  --header-h: 74px;
}

/* 2. RESET & BASE ========================================================== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--f-body);
  font-size: var(--t-body);
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  position: relative;
}

/* paper grain overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: .55;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
}
main, header, footer { position: relative; z-index: 1; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 3px solid var(--olive); outline-offset: 3px; border-radius: 4px; }

/* 3. TYPOGRAPHY ============================================================ */
h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 600;
  line-height: 1.06;
  color: var(--espresso);
  font-optical-sizing: auto;
  letter-spacing: -.01em;
}
.script {
  font-family: var(--f-script);
  font-weight: 400;
  color: var(--terracotta);
  letter-spacing: .01em;
  line-height: 1;
}
.eyebrow {
  font-family: var(--f-body);
  text-transform: uppercase;
  letter-spacing: .28em;
  font-size: .74rem;
  font-weight: 600;
  color: var(--olive-700);
}
p { color: var(--ink); }
.lead { font-size: clamp(1.05rem, .5vw + .95rem, 1.22rem); color: var(--ink-soft); }
strong { font-weight: 600; color: var(--espresso); }

/* 4. LAYOUT ================================================================ */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.container-wide { max-width: 1320px; }
.section { padding-block: var(--sec-y); }
.section-tight { padding-block: var(--sec-y-tight); }
.center { text-align: center; }
.stack > * + * { margin-top: 1rem; }

.section-head { max-width: 640px; margin-inline: auto; text-align: center; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head .eyebrow { display: inline-block; margin-bottom: .8rem; }
.section-head h2 { font-size: var(--t-h2); }
.section-head p { margin-top: .9rem; color: var(--ink-soft); }

/* 5. DECORATIVE PRIMITIVES ================================================= */
/* olive-branch divider */
.divider { display: flex; align-items: center; justify-content: center; gap: .9rem; color: var(--olive); margin: 1.2rem auto; }
.divider svg { width: clamp(150px, 34vw, 230px); height: auto; overflow: visible; }
.divider--sm svg { width: clamp(120px, 26vw, 180px); }

/* floating ambient graphics */
.float {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  opacity: .9;
  animation: floaty 9s ease-in-out infinite;
  will-change: transform;
}
.float--slow { animation-duration: 13s; }
.float--rev  { animation-direction: alternate-reverse; }
/* ambient floats only where there's room — elkerüli a mobil tartalom-átfedést */
@media (max-width: 767px) { .float { display: none; } }
@keyframes floaty {
  0%,100% { transform: translateY(0) rotate(var(--r, 0deg)); }
  50%     { transform: translateY(-16px) rotate(calc(var(--r, 0deg) + 2deg)); }
}

/* hanging tomato / pepper string */
.hanging { position: absolute; top: -6px; z-index: 2; pointer-events: none; transform-origin: top center; animation: sway 6s ease-in-out infinite; }
@keyframes sway { 0%,100% { transform: rotate(-2.2deg); } 50% { transform: rotate(2.2deg); } }

/* ink line style shared by hand-drawn art */
.ink-stroke { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.ink-thin   { fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }

/* 6. BUTTONS =============================================================== */
.btn {
  --btn-bg: var(--terracotta);
  --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--f-body); font-weight: 600; font-size: 1rem;
  letter-spacing: .01em;
  padding: .92rem 1.7rem;
  border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  box-shadow: var(--shadow-sm);
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s, background .25s;
  position: relative;
}
.btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); background: var(--terracotta-600); }
.btn:active { transform: translateY(-1px); }
.btn--olive { --btn-bg: var(--olive); }
.btn--olive:hover { background: var(--olive-700); }
.btn--ghost {
  --btn-bg: transparent; --btn-fg: var(--espresso);
  border: 1.6px solid var(--line); box-shadow: none;
}
.btn--ghost:hover { background: rgba(52,37,28,.05); border-color: var(--espresso); }
.btn--cream { --btn-bg: var(--card); --btn-fg: var(--terracotta); }
.btn .arrow { transition: transform .25s; }
.btn:hover .arrow { transform: translateX(4px); }

/* 7. HEADER & NAV ========================================================== */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(247,238,221,.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: background .3s, box-shadow .3s, border-color .3s;
}
.site-header.scrolled { background: rgba(247,238,221,.95); box-shadow: 0 6px 24px -18px rgba(52,37,28,.6); border-bottom-color: var(--line-soft); }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; gap: .6rem; }
.brand__logo { width: 46px; height: 46px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--f-display); font-weight: 600; font-size: 1.18rem; color: var(--terracotta); letter-spacing: -.01em; }
.brand__sub { font-family: var(--f-body); font-size: .58rem; letter-spacing: .32em; text-transform: uppercase; color: var(--olive-700); margin-top: 3px; }

.nav__links { display: none; }
.nav__cta   { display: none; }            /* header CTA rejtve mobilon, desktopon jelenik meg */
.nav__actions { display: flex; align-items: center; gap: .8rem; }
.lang { display: none; align-items: center; gap: .4rem; font-size: .85rem; font-weight: 600; color: var(--ink-soft); }
.lang svg { width: 20px; height: 14px; border-radius: 2px; }

/* desktop nav */
@media (min-width: 940px) {
  .nav__links { display: flex; align-items: center; gap: 2rem; }
  .nav__links a {
    position: relative; font-weight: 500; font-size: .98rem; color: var(--ink);
    padding: .3rem 0; transition: color .2s;
  }
  .nav__links a::after {
    content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px;
    background: var(--terracotta); border-radius: 2px; transition: right .28s cubic-bezier(.2,.8,.2,1);
  }
  .nav__links a:hover { color: var(--terracotta); }
  .nav__links a:hover::after,
  .nav__links a[aria-current="page"]::after { right: 0; }
  .nav__links a[aria-current="page"] { color: var(--terracotta); }
  .lang { display: inline-flex; }
  .nav__cta { display: inline-flex; }
}

/* hamburger */
.nav__toggle {
  width: 46px; height: 46px; border-radius: 12px;
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  background: var(--card); border: 1px solid var(--line-soft);
}
.nav__toggle span { width: 22px; height: 2px; background: var(--espresso); border-radius: 2px; transition: transform .3s, opacity .2s; }
.nav-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
/* desktop: hide hamburger — placed AFTER the base .nav__toggle rule so it wins on source order */
@media (min-width: 940px) {
  .nav__toggle { display: none; }
}

/* mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 55;
  display: grid; grid-template-rows: var(--header-h) 1fr;
  pointer-events: none;
}
.drawer__scrim {
  position: absolute; inset: 0;
  background: rgba(28,18,12,.42); backdrop-filter: blur(2px);
  opacity: 0; transition: opacity .35s;
}
.drawer__panel {
  position: absolute; top: 0; right: 0; height: 100%;
  width: min(88vw, 400px);
  background: linear-gradient(160deg, var(--paper) 0%, var(--paper-2) 100%);
  box-shadow: var(--shadow-lg);
  transform: translateX(100%);
  transition: transform .42s cubic-bezier(.16,1,.3,1);
  display: flex; flex-direction: column;
  padding: calc(var(--header-h) + 1.4rem) 2rem 2rem;
  overflow: hidden;
}
.drawer__panel::after {
  /* faint olive branch watermark */
  content: ""; position: absolute; right: -40px; bottom: -30px; width: 260px; height: 260px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cg fill='none' stroke='%236E7B3D' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M20 80 Q50 55 82 22'/%3E%3Cpath d='M40 55 q-8 -10 -18 -8 M40 55 q2 -12 12 -16'/%3E%3Cpath d='M56 40 q-8 -10 -18 -8 M56 40 q2 -12 12 -16'/%3E%3Cpath d='M70 28 q-8 -10 -18 -8 M70 28 q2 -12 12 -16'/%3E%3C/g%3E%3C/svg%3E") no-repeat center/contain;
  opacity: .18; pointer-events: none;
}
.nav-open .drawer { pointer-events: auto; }
.nav-open .drawer__scrim { opacity: 1; }
.nav-open .drawer__panel { transform: translateX(0); }

.drawer__links { display: flex; flex-direction: column; gap: .2rem; }
.drawer__links a {
  font-family: var(--f-display); font-size: 1.7rem; font-weight: 500; color: var(--espresso);
  padding: .55rem 0; border-bottom: 1px solid var(--line-soft);
  display: flex; align-items: center; justify-content: space-between;
  opacity: 0; transform: translateX(28px);
}
.drawer__links a[aria-current="page"] { color: var(--terracotta); }
.drawer__links a .idx { font-family: var(--f-body); font-size: .7rem; letter-spacing: .2em; color: var(--olive); }
.nav-open .drawer__links a { animation: slideIn .5s cubic-bezier(.16,1,.3,1) forwards; }
.nav-open .drawer__links a:nth-child(1) { animation-delay: .10s; }
.nav-open .drawer__links a:nth-child(2) { animation-delay: .17s; }
.nav-open .drawer__links a:nth-child(3) { animation-delay: .24s; }
.nav-open .drawer__links a:nth-child(4) { animation-delay: .31s; }
@keyframes slideIn { to { opacity: 1; transform: translateX(0); } }
.drawer__cta { margin-top: auto; opacity: 0; }
.nav-open .drawer__cta { animation: slideIn .5s cubic-bezier(.16,1,.3,1) .4s forwards; }
.drawer__cta .btn { width: 100%; padding-block: 1.05rem; }
.drawer__meta { margin-top: 1.3rem; font-size: .82rem; color: var(--ink-soft); text-align: center; opacity: 0; }
.nav-open .drawer__meta { animation: slideIn .5s ease .5s forwards; }
body.nav-open { overflow: hidden; }

/* 8. HOME HERO ============================================================= */
.hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding-block: clamp(1.6rem, 4vw, 3rem);
  min-height: clamp(540px, 78vh, 750px);
}
/* hand-drawn Tuscan landscape — a hero-ba lágyan beleolvadó jelenet */
.hero__scene {
  position: absolute; z-index: 0; pointer-events: none;
  inset: 0 0 0 auto;
  width: min(64%, 900px);
  -webkit-mask-image: linear-gradient(100deg, transparent 3%, #000 42%);
          mask-image: linear-gradient(100deg, transparent 3%, #000 42%);
}
.hero__scene svg { width: 100%; height: 100%; display: block; }
/* krém wash a szöveg olvashatóságáért */
.hero__overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, var(--paper) 0%, var(--paper) 22%, rgba(247,238,221,.35) 48%, rgba(247,238,221,0) 66%);
}
.hero__inner { position: relative; z-index: 2; width: 100%; }
.hero__copy { max-width: 600px; }
.hero__badge { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--f-script); font-size: 1.7rem; color: var(--terracotta); }
.hero__badge svg { width: 34px; height: 34px; color: var(--olive); }
.hero h1 { font-size: var(--t-hero); margin-top: .3rem; }
.hero h1 .accent { color: var(--terracotta); display: block; }
.hero__lead { margin-top: 1.1rem; max-width: 40ch; font-size: clamp(1.02rem,.5vw + .95rem,1.18rem); color: var(--ink-soft); }
.hero__cta { margin-top: 1.6rem; display: flex; flex-wrap: wrap; gap: .8rem; }
.hero__trust { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 1.1rem 1.6rem; }
.hero__trust li { display: flex; align-items: center; gap: .55rem; font-size: .9rem; color: var(--ink-soft); font-weight: 500; }
.hero__trust svg { width: 26px; height: 26px; color: var(--terracotta); flex: none; }

/* mobil: a jelenet felúszik a szöveg mögé, krém wash a szöveg oldalán */
@media (max-width: 767px) {
  .hero { min-height: auto; align-items: flex-start; padding-bottom: clamp(9rem, 48vw, 15rem); }
  .hero__scene {
    inset: auto 0 0 0; width: 100%; height: 64%;
    -webkit-mask-image: linear-gradient(180deg, transparent 1%, #000 46%);
            mask-image: linear-gradient(180deg, transparent 1%, #000 46%);
  }
  .hero__overlay {
    background: linear-gradient(180deg, var(--paper) 0%, var(--paper) 26%, rgba(247,238,221,.5) 48%, rgba(247,238,221,0) 72%);
  }
  .hero__copy { max-width: none; }
}

/* 9. FEATURE STRIP ========================================================= */
.features {
  background: linear-gradient(180deg, transparent, rgba(234,217,184,.35));
}
.feature-strip {
  display: grid; grid-template-columns: 1fr; gap: .4rem;
  background: var(--card); border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
  padding: clamp(1.1rem,3vw,1.8rem);
}
.feature { display: flex; gap: .9rem; align-items: flex-start; padding: .85rem; border-radius: 14px; transition: background .2s; }
.feature:hover { background: rgba(110,123,61,.07); }
.feature__icon { width: 44px; height: 44px; flex: none; color: var(--terracotta); }
.feature h3 { font-size: 1.08rem; font-family: var(--f-body); font-weight: 600; color: var(--espresso); }
.feature p { font-size: .9rem; color: var(--ink-soft); margin-top: .15rem; line-height: 1.5; }
@media (min-width: 640px) { .feature-strip { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .feature-strip { grid-template-columns: repeat(4,1fr); gap: 0; }
  .feature { position: relative; }
  .feature + .feature::before { content:""; position:absolute; left:0; top:14%; bottom:14%; width:1px; background: var(--line-soft); }
}

/* 10. ABOUT TEASER ========================================================= */
.about-teaser__grid { display: grid; gap: clamp(1.6rem,4vw,2.6rem); align-items: center; }
.about-teaser__body .eyebrow { display:block; margin-bottom:.7rem; }
.about-teaser__body h2 { font-size: var(--t-h2); }
.about-teaser__body p { margin-top: 1rem; color: var(--ink-soft); }
.about-teaser__body .btn { margin-top: 1.5rem; }
.about-teaser__media { position: relative; }
.about-teaser__media .img-placeholder { aspect-ratio: 4/3.2; }
@media (min-width: 840px) { .about-teaser__grid { grid-template-columns: 1fr 1fr; } .about-teaser--rev .about-teaser__media { order: -1; } }

/* image placeholder — swap-ready */
.img-placeholder {
  position: relative; overflow: hidden;
  border-radius: var(--radius);
  background:
    radial-gradient(120% 120% at 20% 10%, #fdf7ec 0%, #efdfc0 60%, #e6d2ad 100%);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-sm);
  display: grid; place-items: center;
  color: var(--olive-700);
  isolation: isolate;
}
.img-placeholder::after {
  content: attr(data-label);
  position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%);
  font-size: .66rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink-soft); background: rgba(251,245,233,.75);
  padding: .25rem .6rem; border-radius: 999px; white-space: nowrap;
}
.img-placeholder svg { width: 46%; height: auto; opacity: .8; }
.img-placeholder img { position:absolute; inset:0; width:100%; height:100%; object-fit: cover; }

/* 11. FEATURED DISHES / CAROUSEL =========================================== */
.dishes { position: relative; }
.dish-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: 78%;
  gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: .5rem .3rem 1.3rem; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
  scrollbar-width: none;
}
.dish-track::-webkit-scrollbar { display: none; }
.dish-card {
  scroll-snap-align: center;
  background: var(--card); border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .3s, box-shadow .3s;
}
.dish-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.dish-card__media { position: relative; aspect-ratio: 4/3; }
.dish-card__media .img-placeholder { position:absolute; inset:0; border-radius:0; border:none; box-shadow:none; }
.dish-card__tag {
  position: absolute; top: .7rem; left: .7rem; z-index: 2;
  font-size: .68rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  background: var(--olive); color: #fff; padding: .28rem .6rem; border-radius: 999px;
}
.dish-card__body { padding: 1.05rem 1.1rem 1.2rem; display: flex; flex-direction: column; gap: .3rem; flex: 1; }
.dish-card__name { font-family: var(--f-display); font-size: 1.28rem; color: var(--espresso); }
.dish-card__hu { font-size: .84rem; color: var(--olive-700); font-style: italic; }
.dish-card__desc { font-size: .9rem; color: var(--ink-soft); line-height: 1.5; margin-top: .2rem; }
.dish-card__foot { margin-top: auto; padding-top: .9rem; display: flex; align-items: baseline; justify-content: space-between; border-top: 1px dashed var(--line); }
.dish-card__price { font-family: var(--f-display); font-weight: 600; font-size: 1.35rem; color: var(--terracotta); }
.dish-card__unit { font-size: .74rem; color: var(--ink-soft); }

/* carousel controls (mobile) */
.carousel-nav { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: .3rem; }
.carousel-dots { display: flex; gap: .5rem; }
.carousel-dots button { width: 9px; height: 9px; border-radius: 999px; background: var(--line); transition: transform .25s, background .25s; }
.carousel-dots button.active { background: var(--terracotta); transform: scale(1.35); }
.carousel-arrow { width: 42px; height: 42px; border-radius: 999px; background: var(--card); border: 1px solid var(--line-soft); display: grid; place-items: center; color: var(--espresso); box-shadow: var(--shadow-sm); transition: background .2s, transform .2s; }
.carousel-arrow:hover { background: var(--terracotta); color:#fff; }
.carousel-arrow svg { width: 20px; height: 20px; }

@media (min-width: 720px) {
  .dish-track { grid-auto-columns: 46%; }
}
@media (min-width: 1000px) {
  .dish-track {
    grid-auto-flow: row; grid-template-columns: repeat(4,1fr); grid-auto-columns: auto;
    overflow: visible; margin-inline: 0; padding-inline: 0; scroll-snap-type: none;
  }
  .carousel-nav { display: none; }
}

/* 12. TESTIMONIALS ========================================================= */
.testimonials { background: linear-gradient(180deg, rgba(234,217,184,.30), transparent); }
.testi-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: 84%;
  gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 1rem; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
  scrollbar-width: none;
}
.testi-track::-webkit-scrollbar { display: none; }
.testi-card {
  scroll-snap-align: center;
  background: linear-gradient(180deg, #fffaf0 0%, var(--card) 100%);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
  padding: 2.1rem 1.6rem 1.5rem; position: relative;
  display: flex; flex-direction: column; overflow: hidden;
  transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s;
}
.testi-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--terracotta), var(--gold));
}
.testi-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.testi-card__quote { position: absolute; top: .4rem; right: 1.1rem; font-family: var(--f-display); font-size: 4.6rem; line-height: 1; color: var(--terracotta); opacity: .13; }
.testi-card__stars { color: var(--gold); letter-spacing: .14em; font-size: 1rem; }
.testi-card p { font-size: 1rem; color: var(--ink); font-style: italic; line-height: 1.6; margin-top: .7rem; flex: 1; }
.testi-card__foot { margin-top: 1.3rem; padding-top: 1.1rem; border-top: 1px dashed var(--line); display: flex; align-items: center; gap: .8rem; }
.testi-card__avatar {
  width: 46px; height: 46px; border-radius: 999px; flex: none;
  display: grid; place-items: center; color: #fff; font-family: var(--f-display); font-weight: 600; font-size: 1.1rem;
  background: linear-gradient(140deg, var(--terracotta), var(--terracotta-700));
  box-shadow: 0 4px 10px -3px rgba(178,58,46,.5);
}
.testi-card__avatar--olive { background: linear-gradient(140deg, var(--olive), var(--olive-700)); box-shadow: 0 4px 10px -3px rgba(81,92,43,.5); }
.testi-card__avatar--gold { background: linear-gradient(140deg, var(--gold), #a97c25); box-shadow: 0 4px 10px -3px rgba(169,124,37,.5); }
.testi-card__meta { display: flex; flex-direction: column; line-height: 1.2; }
.testi-card__author { font-weight: 600; color: var(--espresso); font-family: var(--f-display); font-size: 1.08rem; }
.testi-card__role { font-size: .78rem; color: var(--olive-700); letter-spacing: .04em; }
@media (min-width: 860px) {
  .testi-track { grid-auto-flow: row; grid-template-columns: repeat(3,1fr); grid-auto-columns: auto; overflow: visible; margin-inline:0; padding-inline:0; }
}

/* 13. CTA BAND ============================================================= */
.cta-band { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--terracotta) 0%, var(--terracotta-700) 100%); color: #fff; border-radius: var(--radius-lg); }
.cta-band__inner { position: relative; z-index: 2; display: grid; gap: 1.4rem; align-items: center; padding: clamp(2rem,5vw,3.2rem); }
.cta-band h2 { color: #fff; font-size: var(--t-h2); }
.cta-band p { color: rgba(255,255,255,.9); margin-top: .5rem; max-width: 46ch; }
.cta-band .btn { --btn-bg: var(--card); --btn-fg: var(--terracotta-700); }
.cta-band .btn:hover { background: #fff; }
.cta-band__art { position: absolute; inset: 0; z-index: 1; opacity: .16; color: #fff; pointer-events: none; }
.cta-band__art svg { position: absolute; right: -20px; bottom: -30px; width: 320px; height: auto; }
@media (min-width: 820px) { .cta-band__inner { grid-template-columns: 1fr auto; } .cta-band__inner .btn { justify-self: end; } }

/* full-width színes elválasztó sáv (megtöri a monoton krém hátteret) */
.fullband { position: relative; overflow: hidden; color: #fdf7ea;
  background: linear-gradient(135deg, var(--olive-700) 0%, #3b4720 100%); }
.fullband__inner { position: relative; z-index: 2; display: grid; gap: 1.4rem; align-items: center; padding-block: clamp(2rem,4.5vw,3.2rem); }
.fullband .eyebrow { color: #cdd6a8; }
.fullband h2 { color: #fff; font-size: var(--t-h2); }
.fullband p { color: rgba(253,247,234,.86); margin-top: .6rem; max-width: 48ch; }
.fullband .btn { --btn-bg: #fdf7ea; --btn-fg: var(--olive-700); margin-top: 1.2rem; }
.fullband .btn:hover { background: #fff; }
.fullband__art svg { width: 100%; max-width: 300px; height: auto; margin-inline: auto; display: block; color: #dfe6c2; }
.fullband__deco { position: absolute; inset: 0; z-index: 1; opacity: .12; pointer-events: none; color: #fff; }
.fullband__deco svg { position: absolute; right: -30px; top: -20px; width: 260px; height: auto; }
@media (min-width: 780px) { .fullband__inner { grid-template-columns: 1.2fr .8fr; } .fullband__art svg { margin-right: 0; } }

/* 14. SUBPAGE HERO ========================================================= */
.subhero { position: relative; overflow: hidden; text-align: center;
  padding-block: clamp(1.8rem,3.4vw,2.6rem) clamp(1.5rem,2.8vw,2.1rem);
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(178,58,46,.08), transparent 60%),
    linear-gradient(180deg, var(--paper-2), var(--paper)); }
.subhero__content { position: relative; z-index: 2; }
.subhero__script { font-family: var(--f-script); font-size: clamp(1.8rem,4vw,2.6rem); color: var(--terracotta); }
.subhero h1 { font-size: var(--t-page); margin-top: -.2rem; }
.subhero p { max-width: 52ch; margin: .7rem auto 0; color: var(--ink-soft); }
.subhero .divider { margin-top: 1rem; }
/* elnyújtott, vékony olasz zászlósáv a szöveg alatt */
.flagbar { display: inline-block; margin-top: 1.1rem; width: clamp(130px, 22vw, 190px); height: 9px; border-radius: 999px;
  background: linear-gradient(90deg, #4e8a4e 0 33.33%, #f4f5f0 33.33% 66.66%, var(--terracotta) 66.66% 100%);
  box-shadow: 0 5px 14px -5px rgba(52,37,28,.4); }
/* oldalsó, kézzel rajzolt dekor grafikák */
.subhero__deco { position: absolute; z-index: 1; top: 50%; transform: translateY(-50%); pointer-events: none; opacity: .92; }
.subhero__deco svg { width: 100%; height: auto; overflow: visible; }
.subhero__deco--left  { left: clamp(.5rem, 4vw, 4.5rem); width: clamp(66px, 9vw, 112px); }
.subhero__deco--right { right: clamp(.5rem, 4vw, 4.5rem); width: clamp(72px, 10vw, 124px); }
@media (max-width: 719px) { .subhero__deco { display: none; } }

/* 15. MENU (ÉTLAP) ========================================================= */
.menu-intro { text-align: center; }
.menu-cats { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-bottom: clamp(1.6rem,4vw,2.4rem); }
.menu-cats button {
  font-size: .82rem; font-weight: 600; letter-spacing: .04em;
  padding: .5rem 1rem; border-radius: 999px; border: 1.4px solid var(--line);
  color: var(--ink-soft); transition: all .22s; background: var(--card);
}
.menu-cats button:hover { border-color: var(--terracotta); color: var(--terracotta); }
.menu-cats button.active { background: var(--terracotta); border-color: var(--terracotta); color: #fff; }

.menu-board {
  background: var(--card); border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
  padding: clamp(1.3rem,4vw,2.6rem);
}
.menu-cat { scroll-margin-top: 90px; }
.menu-cat + .menu-cat { margin-top: clamp(2rem,4vw,3rem); }
.menu-cat__head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.2rem; }
.menu-cat__head svg { width: 40px; height: 40px; color: var(--terracotta); flex: none; }
.menu-cat__title { display: flex; flex-direction: column; }
.menu-cat__it { font-family: var(--f-display); font-size: 1.6rem; color: var(--espresso); }
.menu-cat__hu { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--olive-700); }
.menu-list { display: grid; gap: .2rem; }
.menu-row { display: grid; grid-template-columns: 1fr auto; gap: .4rem 1rem; align-items: baseline; padding: .7rem .2rem; border-radius: 10px; transition: background .2s; }
.menu-row:hover { background: rgba(110,123,61,.06); }
.menu-row__main { min-width: 0; }
.menu-row__name { font-weight: 600; color: var(--espresso); display: inline-flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.menu-row__name .it { font-family: var(--f-display); font-size: 1.1rem; }
.badge { font-size: .6rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: .15rem .42rem; border-radius: 999px; line-height: 1; }
.badge--veg { background: rgba(78,123,62,.16); color: var(--basil); }
.badge--spicy { background: rgba(178,58,46,.14); color: var(--terracotta); }
.menu-row__desc { font-size: .86rem; color: var(--ink-soft); line-height: 1.45; margin-top: .12rem; }
.menu-row__dots { flex: 1; border-bottom: 1.5px dotted var(--line); align-self: flex-end; margin-bottom: 5px; }
.menu-row__price { font-family: var(--f-display); font-weight: 600; font-size: 1.12rem; color: var(--terracotta); white-space: nowrap; }

.menu-note { text-align: center; margin-top: 1.6rem; font-size: .86rem; color: var(--ink-soft); font-style: italic; }

@media (min-width: 820px) {
  /* newspaper-szerű oszlopfolyás — mint egy nyomtatott étlap, egyenetlen hézagok nélkül */
  .menu-board { column-count: 2; column-gap: clamp(2rem,3.5vw,3.4rem); }
  .menu-cat { break-inside: avoid; margin-bottom: clamp(2rem,3.5vw,2.8rem); }
  .menu-cat + .menu-cat { margin-top: 0; }
}

/* 16. ABOUT (RÓLUNK) ======================================================= */
.about-block { display: grid; gap: clamp(1.6rem,4vw,2.8rem); align-items: center; }
.about-block .dropcap::first-letter {
  font-family: var(--f-display); font-size: 3.4em; float: left; line-height: .8;
  padding: .05em .12em 0 0; color: var(--terracotta); font-weight: 600;
}
@media (min-width: 860px) {
  .about-block { grid-template-columns: 1.05fr .95fr; }
  .about-block--rev .about-block__media { order: -1; }
}
.about-values { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 620px) { .about-values { grid-template-columns: 1fr 1fr; } }
.value-card { background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow-sm); transition: transform .25s; }
.value-card:hover { transform: translateY(-4px); }
.value-card svg { width: 40px; height: 40px; color: var(--terracotta); }
.value-card h3 { font-size: 1.15rem; font-family: var(--f-body); font-weight: 600; margin-top: .7rem; color: var(--espresso); }
.value-card p { font-size: .9rem; color: var(--ink-soft); margin-top: .3rem; }

.chef-card { display: grid; gap: 1.4rem; align-items: center; background: var(--card); border:1px solid var(--line-soft); border-radius: var(--radius-lg); padding: clamp(1.3rem,3vw,2rem); box-shadow: var(--shadow-sm); }
.chef-card__media .img-placeholder { aspect-ratio: 1/1; max-width: 300px; margin-inline: auto; }
.chef-card__sig { font-family: var(--f-script); font-size: 2rem; color: var(--terracotta); }
@media (min-width: 720px) { .chef-card { grid-template-columns: 260px 1fr; } }

.gallery { display: grid; gap: 1rem; grid-template-columns: repeat(2,1fr); }
.gallery .img-placeholder { aspect-ratio: 1/1; }
.gallery .img-placeholder:first-child { grid-column: 1 / -1; aspect-ratio: 16/9; }
@media (min-width: 720px) {
  .gallery { grid-template-columns: repeat(3,1fr); }
  .gallery .img-placeholder:first-child { grid-column: 1 / 3; grid-row: 1 / 3; aspect-ratio: auto; }
}

/* 17. CONTACT (KAPCSOLAT) + FORM =========================================== */
.contact-grid { display: grid; gap: clamp(1.6rem,4vw,2.6rem); align-items: start; }
@media (min-width: 940px) { .contact-grid { grid-template-columns: 1fr 1.15fr; } }

.info-card { background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: clamp(1.3rem,3vw,1.8rem); }
.info-list { display: grid; gap: 1.2rem; }
.info-item { display: flex; gap: .9rem; align-items: flex-start; }
.info-item svg { width: 40px; height: 40px; color: var(--terracotta); flex: none; }
.info-item h3 { font-size: 1.02rem; font-family: var(--f-body); font-weight: 600; color: var(--espresso); }
.info-item p { font-size: .92rem; color: var(--ink-soft); }
.info-item a:hover { color: var(--terracotta); }
.info-divider { height: 1px; background: var(--line-soft); margin: 1.2rem 0; }
.socials { display: flex; gap: .7rem; }
.socials a { width: 42px; height: 42px; border-radius: 999px; background: var(--terracotta); color: #fff; display: grid; place-items: center; transition: transform .2s, background .2s; }
.socials a:hover { transform: translateY(-3px); background: var(--terracotta-600); }
.socials svg { width: 20px; height: 20px; }

.map-placeholder { aspect-ratio: 16/10; margin-top: 1.2rem; }

/* fizetési / gyakorlati infó — referencia stílusú, piros kör-ikonok + illusztrációk */
.payways { display: grid; grid-template-columns: 1fr; gap: 0;
  background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); overflow: hidden; }
.payway { position: relative; text-align: center; padding: clamp(1.8rem,4vw,2.6rem) 1.5rem 1.7rem; }
.payway__badge { width: 62px; height: 62px; border-radius: 999px; margin: 0 auto .9rem;
  background: linear-gradient(150deg, var(--terracotta), var(--terracotta-700)); color: #fff;
  display: grid; place-items: center; box-shadow: 0 10px 22px -8px rgba(178,58,46,.6); }
.payway__badge svg { width: 30px; height: 30px; }
.payway h3 { font-family: var(--f-display); color: var(--terracotta); font-size: 1.32rem; }
.payway p { font-size: .9rem; color: var(--ink-soft); margin-top: .4rem; line-height: 1.5; }
.payway__art { margin-top: 1.2rem; min-height: 78px; display: grid; place-items: center; color: var(--ink-soft); }
.payway__art svg { width: auto; max-height: 82px; opacity: .5; overflow: visible; }
.bank-badges { display: flex; gap: .5rem; justify-content: center; margin-top: 1.3rem; flex-wrap: wrap; }
.bank-badge { font-family: var(--f-body); font-weight: 700; font-size: .82rem; letter-spacing: .02em;
  padding: .5rem .8rem; border-radius: 10px; background: var(--paper-2); color: var(--espresso); border: 1px solid var(--line-soft); }
.payway__diamond { display: block; margin: 1.3rem auto 0; width: 48px; color: var(--terracotta); opacity: .85; }
@media (min-width: 720px) {
  .payways { grid-template-columns: repeat(3,1fr); }
  .payway + .payway::before { content: ""; position: absolute; left: 0; top: 12%; bottom: 12%; border-left: 1.5px dashed var(--line); }
}

/* form */
.reserve { background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: clamp(1.4rem,4vw,2.4rem); position: relative; }
.reserve__head { text-align: center; margin-bottom: 1.6rem; }
.reserve__head .script { font-size: 2rem; }
.reserve__head h2 { font-size: clamp(1.6rem,3vw,2.1rem); }
.reserve__head p { font-size: .92rem; color: var(--ink-soft); margin-top: .3rem; }

.form-grid { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
@media (min-width: 560px) { .form-grid { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }

.field { display: flex; flex-direction: column; gap: .4rem; }
.field label { font-size: .86rem; font-weight: 600; color: var(--espresso); }
.field label .req { color: var(--terracotta); }
.field input, .field select, .field textarea {
  font-family: var(--f-body);
  font-size: 16px; /* iOS zoom guard */
  color: var(--espresso);
  background: var(--paper);
  border: 1.6px solid var(--line);
  border-radius: 12px;
  padding: .8rem .9rem;
  transition: border-color .2s, box-shadow .2s, background .2s;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(178,58,46,.14); background: #fff;
}
.field input::placeholder, .field textarea::placeholder { color: #a99a86; }
.field select { appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236E5A49' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .9rem center; background-size: 18px; padding-right: 2.6rem;
}
.field .error-msg { font-size: .78rem; color: var(--terracotta); font-weight: 500; min-height: 0; opacity: 0; transform: translateY(-3px); transition: opacity .2s, transform .2s; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--terracotta); background: rgba(178,58,46,.04); }
.field.invalid .error-msg { opacity: 1; transform: translateY(0); }

.consent { display: flex; gap: .6rem; align-items: flex-start; grid-column: 1 / -1; }
.consent input { width: 20px; height: 20px; flex: none; margin-top: .15rem; accent-color: var(--terracotta); }
.consent label { font-size: .84rem; color: var(--ink-soft); font-weight: 400; }
.consent.invalid label { color: var(--terracotta); font-weight: 500; }
.consent.invalid input { outline: 2px solid var(--terracotta); outline-offset: 2px; }
.field-hidden { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.reserve__submit { grid-column: 1 / -1; margin-top: .4rem; }
.reserve__submit .btn { width: 100%; padding-block: 1.05rem; font-size: 1.05rem; }
.btn.is-loading { pointer-events: none; opacity: .8; }
.btn.is-loading .btn__label { visibility: hidden; }
.btn__spin { position: absolute; width: 20px; height: 20px; border: 2.4px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 999px; animation: spin .7s linear infinite; display: none; }
.btn.is-loading .btn__spin { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* success modal */
.modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 1.2rem; opacity: 0; pointer-events: none; transition: opacity .3s; }
.modal.open { opacity: 1; pointer-events: auto; }
.modal__scrim { position: absolute; inset: 0; background: rgba(28,18,12,.5); backdrop-filter: blur(3px); }
.modal__card { position: relative; z-index: 2; background: var(--card); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: clamp(1.8rem,5vw,2.8rem); max-width: 440px; text-align: center; transform: scale(.9) translateY(12px); transition: transform .35s cubic-bezier(.16,1,.3,1); border: 1px solid var(--line-soft); }
.modal.open .modal__card { transform: scale(1) translateY(0); }
.modal__icon { width: 84px; height: 84px; margin: 0 auto 1rem; color: var(--olive); }
.modal__card h3 { font-size: 1.7rem; }
.modal__card .script { font-size: 1.6rem; display: block; }
.modal__card p { color: var(--ink-soft); margin-top: .6rem; }
.modal__card .btn { margin-top: 1.4rem; }

/* 18. FOOTER =============================================================== */
.site-footer { position: relative; margin-top: var(--sec-y); background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%); border-top: 1px solid var(--line-soft); overflow: hidden; }
.footer-top { display: grid; gap: 2rem; padding-block: clamp(2.4rem,5vw,3.6rem); grid-template-columns: 1fr; position: relative; z-index: 2; }
.footer-brand .brand { margin-bottom: 1rem; }
.footer-brand p { font-size: .9rem; color: var(--ink-soft); max-width: 34ch; }
.footer-col h4 { font-family: var(--f-display); font-size: 1.15rem; color: var(--terracotta); margin-bottom: .9rem; }
.footer-col ul { display: grid; gap: .55rem; }
.footer-col a, .footer-col li { font-size: .92rem; color: var(--ink-soft); }
.footer-col a { position: relative; transition: color .2s, padding .2s; }
.footer-col a:hover { color: var(--terracotta); padding-left: .3rem; }
.footer-col .muted { color: var(--ink-soft); }
.footer-socials { display: flex; gap: .6rem; margin-top: .3rem; }
.footer-socials a { width: 40px; height: 40px; border-radius: 999px; border: 1.5px solid var(--line); display: grid; place-items: center; color: var(--espresso); transition: all .2s; }
.footer-socials a:hover { background: var(--terracotta); color: #fff; border-color: var(--terracotta); padding-left: 0; }
.footer-socials svg { width: 18px; height: 18px; }
@media (min-width: 720px) { .footer-top { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 980px) { .footer-top { grid-template-columns: 1.6fr 1fr 1fr 1.1fr; } }

.footer-art { position: relative; height: clamp(90px,14vw,150px); z-index: 1; }
.footer-art__left, .footer-art__right { position: absolute; bottom: 0; color: var(--espresso); opacity: .85; }
.footer-art__left { left: -10px; width: clamp(180px,32vw,330px); }
.footer-art__right { right: -10px; width: clamp(180px,34vw,360px); }
.footer-art svg { width: 100%; height: auto; overflow: visible; }

.footer-bottom { border-top: 1px solid var(--line-soft); text-align: center; padding-block: 1.1rem; position: relative; z-index: 2; }
.footer-bottom p { font-size: .82rem; color: var(--ink-soft); }
.footer-bottom .heart { color: var(--terracotta); }

/* 19. MOTION / REVEAL ====================================================== */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal-d1 { transition-delay: .08s; }
.js .reveal-d2 { transition-delay: .16s; }
.js .reveal-d3 { transition-delay: .24s; }
.js .reveal-d4 { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  .float, .hanging, .hero__plate, .btn, .dish-card, .value-card { animation: none !important; transition: none !important; }
}
