/* ═══════════════════════════════════════════
   FESZT FOOD – style.css
   Dark mode + HU/EN language support
   ═══════════════════════════════════════════ */

/* ── VARIABLES (Light mode) ─────────────────────────────── */
:root {
  --accent: #E8431A;
  --accent2: #F5A623;
  --dark: #2B1A0E;
  --dark2: #3D2410;
  --bg: #FFFAF7;
  --bg2: #FFF5EE;
  --text: #3D2A1A;
  --muted: #9A7B65;
  --white: #FFFFFF;
  --card: #FFFFFF;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 12px 40px rgba(44, 20, 8, .12);
  --shadow-lg: 0 24px 64px rgba(44, 20, 8, .18);
  --font-head: 'Fraunces', Georgia, serif;
  --font-body: 'Nunito', 'Segoe UI', sans-serif;
  --transition: .3s cubic-bezier(.4, 0, .2, 1);
  --nav-h: 72px;
  --input-bg: #FFFFFF;
  --input-border: #E8D5C8;
  --navbar-bg: rgba(255, 250, 247, .92);
}

/* ── DARK MODE VARIABLES – Charcoal ──────────────────────── */
[data-theme="dark"] {
  --bg: #1a1a1a;
  --bg2: #222222;
  --text: #F0EDEA;
  --muted: #A8A09A;
  --white: #2a2a2a;
  --card: #2a2a2a;
  --dark: #F0EDEA;
  --dark2: #D4CFC9;
  --shadow: 0 12px 40px rgba(0, 0, 0, .4);
  --shadow-lg: 0 24px 64px rgba(0, 0, 0, .6);
  --input-bg: #2a2a2a;
  --input-border: #444444;
  --navbar-bg: rgba(26, 26, 26, .96);
}

/* ── LANGUAGE HELPERS ────────────────────────────────────── */
[data-lang="hu"] .en {
  display: none !important;
}

[data-lang="en"] .hu {
  display: none !important;
}

.hu,
.en {
  display: inline;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  line-height: 1.65;
  transition: background var(--transition), color var(--transition);
}

img {
  max-width: 100%;
  display: block;
}

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

button {
  cursor: pointer;
  font-family: var(--font-body);
  border: none;
  background: none;
}

/* ── SECTION COMMON ────────────────────────── */
.section-pad {
  padding: 96px 5vw;
}

.section-label {
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .6em;
}

.section-label.light {
  color: rgba(255, 255, 255, .7);
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 1.2em;
  transition: color var(--transition);
}

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

/* ── BUTTONS ────────────────────────────────── */
.btn {
  display: inline-block;
  padding: .75em 2em;
  border-radius: 50px;
  font-weight: 800;
  font-size: .95rem;
  transition: var(--transition);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 6px 24px rgba(232, 67, 26, .35);
}

.btn-primary:hover {
  background: #c93512;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(232, 67, 26, .45);
}

.btn-outline {
  border: 2px solid var(--dark);
  color: var(--dark);
}

.btn-outline:hover {
  background: var(--dark);
  color: var(--bg);
  transform: translateY(-2px);
}

/* ── FLOATING ANIMATION ─────────────────────── */
@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-16px);
  }
}

@keyframes float-slow {

  0%,
  100% {
    transform: translateY(0) rotate(-3deg);
  }

  50% {
    transform: translateY(-10px) rotate(2deg);
  }
}

.floating {
  animation: float 4s ease-in-out infinite;
}

.floating-slow {
  animation: float-slow 6s ease-in-out infinite;
}

/* ── PHONE PLACEHOLDER ──────────────────────── */
.phone-placeholder {
  width: 320px;
  height: 630px;
  background: var(--dark);
  border-radius: 36px;
  border: 8px solid var(--dark2);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: #fff;
  border-radius: 28px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.phone-bar {
  height: 14px;
  background: var(--accent2);
  border-radius: 6px;
}

.phone-bar.white {
  background: rgba(255, 255, 255, .3);
}

.phone-card {
  height: 100px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 900;
  font-size: 1.4rem;
}

.phone-card.orange {
  background: linear-gradient(135deg, #E8431A, #F5A623);
}

.phone-card-sm {
  height: 70px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border-radius: 12px;
}

.phone-row {
  height: 10px;
  background: #eee;
  border-radius: 4px;
}

.phone-row.short {
  width: 60%;
}

.phone-row.white {
  background: rgba(255, 255, 255, .25);
}

/* ── NAVBAR ─────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  background: var(--navbar-bg);
  backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  z-index: 1000;
  border-bottom: 1px solid rgba(232, 67, 26, .1);
  transition: box-shadow var(--transition), background var(--transition);
}

[data-theme="dark"] .navbar {
  border-bottom-color: rgba(232, 67, 26, .15);
}

.navbar.scrolled {
  box-shadow: 0 4px 24px rgba(44, 20, 8, .1);
}

[data-theme="dark"] .navbar.scrolled {
  box-shadow: 0 4px 24px rgba(0, 0, 0, .4);
}

.nav-logo {
  display: flex;
  align-items: center;
}

.nav-logo img {
  height: 40px;
}

.logo-text {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-weight: 700;
  font-size: .9rem;
  color: var(--text);
  position: relative;
  padding-bottom: 2px;
  transition: color var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.nav-cta {
  background: var(--accent);
  color: white;
  padding: .55em 1.4em;
  border-radius: 50px;
  font-weight: 800;
  font-size: .85rem;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.nav-cta:hover {
  background: #c93512;
  transform: translateY(-1px);
}

/* Theme & lang toggle buttons */
.nav-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  font-weight: 700;
  color: var(--text);
  border: 1.5px solid rgba(232, 67, 26, .25);
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  padding: 0 10px;
  border-radius: 50px;
  font-size: .75rem;
}

.nav-icon-btn:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.nav-burger span {
  width: 24px;
  height: 2.5px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ── HERO ────────────────────────────────────── */
.hero {
  min-height: 100vh;
  padding-top: var(--nav-h);
  background: linear-gradient(135deg, var(--bg) 0%, #FFE8D8 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

[data-theme="dark"] .hero {
  background: linear-gradient(135deg, #1a1a1a 0%, #252525 100%);
}

.hero-bg-waves {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  pointer-events: none;
}

.hero-bg-waves svg {
  width: 100%;
  display: block;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
  max-width: 1100px;
  width: 100%;
  padding: 5vw;
}

.hero-content h1 {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.hero-logo-inline {
  height: 135px;
  width: auto;
  object-fit: contain;
  margin-bottom: 5px;
}

@media (max-width: 991px) {
  .hero-content h1 {
    justify-content: center;
    text-align: center;
  }

  .hero-logo-inline {
    height: 50px;
    width: auto;
    object-fit: contain;
    margin-bottom: 5px;
  }
}

.hero-brand {
  font-family: var(--font-head);
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 900;
  line-height: .9;
  color: var(--dark);
  margin-bottom: .3em;
  transition: color var(--transition);
}

.hero-tagline {
  font-size: 1rem;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 2rem;
  max-width: 360px;
}

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

.hero-phone {
  position: relative;
  display: flex;
  justify-content: center;
}

.badge-pill {
  position: absolute;
  top: -20px;
  left: -30px;
  background: var(--card);
  border-radius: 50px;
  box-shadow: var(--shadow);
  padding: .6em 1.2em;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
  transition: background var(--transition);
}

.badge-percent {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
}

.badge-label {
  font-size: .6rem;
  color: var(--muted);
  font-weight: 700;
  text-align: center;
}

.badge-pill:hover {
  background: #c93512;
}

.badge-pill:hover .badge-percent {
  color: #fff;
}

.badge-pill:hover .badge-label {
  color: #fff;
}

.phone-mockup {
  width: 380px;
  filter: drop-shadow(0 24px 48px rgba(44, 20, 8, .25));
}

[data-theme="dark"] .phone-mockup {
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, .5));
}

.hero-food-right {
  position: absolute;
  right: -40px;
  top: 10%;
  width: 200px;
  filter: drop-shadow(0 12px 32px rgba(44, 20, 8, .2));
}

.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  font-size: .75rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.scroll-arrow {
  width: 24px;
  height: 24px;
  border-right: 2.5px solid var(--accent);
  border-bottom: 2.5px solid var(--accent);
  transform: rotate(45deg);
  animation: scrollBounce 1.5s infinite;
}

@keyframes scrollBounce {

  0%,
  100% {
    transform: rotate(45deg) translateY(0);
    opacity: 1;
  }

  50% {
    transform: rotate(45deg) translateY(6px);
    opacity: .5;
  }
}

/* ── WHY UNIQUE ─────────────────────────────── */
.unique {
  background: var(--bg);
  text-align: center;
  transition: background var(--transition);
}

.unique-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  max-width: 960px;
  margin: 0 auto;
}

.unique-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

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

.unique-icon {
  width: 64px;
  height: 64px;
  background: #FFF0E8;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  transition: background var(--transition);
}

[data-theme="dark"] .unique-icon {
  background: rgba(232, 67, 26, .12);
}

.unique-icon svg,
.unique-icon img {
  width: 32px;
  height: 32px;
}

.unique-card h3 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: .6rem;
  transition: color var(--transition);
}

.unique-card p {
  font-size: .875rem;
  color: var(--muted);
}

/* ── INNOVATIVE ─────────────────────────────── */
.innovative {
  background: var(--bg2);
  transition: background var(--transition);
}

.innov-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.innov-text h2 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 1rem;
  transition: color var(--transition);
}

.innov-text p {
  color: var(--muted);
  margin-bottom: 2rem;
  max-width: 380px;
}

@media (min-width: 901px) {
  .innov-inner.innov-reverse {
    /* Megfordítjuk a grid elemek sorrendjét */
    direction: rtl;
  }

  /* Visszaállítjuk a szövegirányt belül, hogy ne legyen jobbról-balra */
  .innov-inner.innov-reverse>div {
    direction: ltr;
  }

  /* Opcionális: Ha több helyet akarsz a képnek */
  .innov-inner.innov-reverse .innov-phones {
    justify-content: flex-start;
  }
}

/* --- MOBIL NÉZET: Automatikusan marad a szöveg felül, kép alul --- */
@media (max-width: 900px) {

  /* 1. Vegyük ki az extra gap-et, mert a column-reverse 
     miatt a szöveg feletti gap itt felesleges térközt adhat */
  .innov-inner {
    display: flex;
    flex-direction: column-reverse;
    text-align: center;
    gap: 0;
    /* Nullázzuk a gap-et, és egyedi margókkal dolgozunk */
  }

  /* 2. A kép (ami most felül van) beállításai */
  .innov-phones {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 0;
    /* Fentről ne legyen semennyi extra hely */
    margin-bottom: 1rem;
    /* Csak a kép és az alatta lévő szöveg közé kell térköz */
  }

  /* 3. A speciális fordított szekciódnál is ugyanazt a logikát kövessük */
  .innov-inner.innov-reverse {
    gap: 0;
  }

  .innov-inner.innov-reverse .innov-phones {
    margin-top: 0;
    margin-bottom: 1rem;
  }
}

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

.store-btn {
  background: var(--dark);
  color: var(--bg);
  padding: .65em 1.6em;
  border-radius: 10px;
  font-weight: 800;
  font-size: .85rem;
  transition: var(--transition);
}

.store-badges img {
  height: 44px;
  border-radius: 8px;
}

.innov-phones {
  position: relative;
  display: flex;
  justify-content: center;
  min-width: 0;
}

.innov-phones .phone-mockup {
  width: 380px;
}

.innov-food {
  position: absolute;
  right: 10px;
  bottom: -30px;
  width: 160px;
  filter: drop-shadow(0 12px 24px rgba(44, 20, 8, .2));
}

.innov-food-left {
  position: absolute;
  left: -60px;
  bottom: -30px;
  width: 160px;
  filter: drop-shadow(0 12px 24px rgba(44, 20, 8, .2));
}

/* ── FEATURES ───────────────────────────────── */
.features {
  background: linear-gradient(160deg, var(--accent) 0%, #B83010 100%);
  padding: 56px 5vw 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.features::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(255, 166, 35, .2) 0%, transparent 70%);
}

.features-inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: center;
  margin-top: 0.75rem;
  padding-bottom: 40px;
}

.feat-col {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.feat-col.left {
  text-align: right;
}

.feat-col.right {
  text-align: left;
}

.feat-card {
  position: relative;
}

.feat-dot {
  width: 10px;
  height: 10px;
  background: var(--accent2);
  border-radius: 50%;
  margin: 0 auto .5rem;
}

.feat-col.left .feat-dot {
  margin-left: auto;
  margin-right: 0;
}

.feat-col.right .feat-dot {
  margin-left: 0;
}

.feat-card h4 {
  font-family: var(--font-head);
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: .3rem;
}

.feat-card p {
  color: rgba(255, 255, 255, .75);
  font-size: .8rem;
}

.features-inner .section-title {
  margin-bottom: 0;
}

.feat-center .phone-mockup {
  width: 380px;
  filter: drop-shadow(0 32px 64px rgba(0, 0, 0, .4));
}

.drip-bottom {
  margin-top: -2px;
}

.drip-bottom svg {
  width: 100%;
  display: block;
}

/* ── SCREENSHOTS ─────────────────────────────── */
.screenshots {
  background: var(--bg);
  overflow: hidden;
  padding: 80px 0;
  transition: background var(--transition);
}

.screens-track {
  padding-bottom: 40px;
  /* Hely az árnyéknak */
  overflow: visible;
  /* Hogy ne vágja le az árnyékot */
}

.screens-inner {
  display: flex;
  align-items: center;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
  gap: 0;
}

.screen-slide {
  flex: 0 0 33.3333%;
  min-width: 33.3333%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.5s ease;
  opacity: 0.4;
  transform: scale(0.8);
  background: transparent !important;
}

.screen-slide.active {
  opacity: 1 !important;
  transform: scale(1.1) !important;
  z-index: 10;
}

.screen-slide img {
  width: 100%;
  max-width: 250px;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  display: block;
  background: transparent !important;
}

[data-theme="dark"] .screen-slide img {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
  .screen-slide {
    flex: 0 0 100%;
    min-width: 100%;
    opacity: 0;
  }

  .screen-slide.active {
    opacity: 1 !important;
    transform: scale(1) !important;
  }

  .screen-slide img {
    width: 80%;
    max-width: 280px;
  }
}

.screen-placeholder {
  width: 100%;
  max-width: 180px;
  height: 320px;
  background: var(--dark);
  border-radius: 24px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sp-bar {
  height: 10px;
  background: var(--accent2);
  border-radius: 5px;
}

.sp-card {
  height: 80px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border-radius: 12px;
}

.sp-row {
  height: 8px;
  background: rgba(255, 255, 255, .2);
  border-radius: 4px;
}

.sp-row.short {
  width: 55%;
}

.screens-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 40px;
  gap: 20px;
}

.screens-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  color: var(--accent);
  font-size: 1.1rem;
  font-weight: 800;
  background: none;
  cursor: pointer;
  transition: var(--transition);
}

.screens-btn:hover {
  background: var(--accent);
  color: white;
}

.screens-dots {
  display: flex;
  justify-content: center;
  gap: .6rem;
  padding-bottom: 2rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #D9C4B8;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

[data-theme="dark"] .dot {
  background: #444444;
}

.dot.active {
  width: 28px;
  border-radius: 5px;
  background: var(--accent);
}

.screens-wave {
  margin-top: -2px;
}

.screens-wave svg {
  width: 100%;
  display: block;
}

@media (max-width: 640px) {
  .screen-slide {
    flex: 0 0 100%;
    padding: 0 2rem;
  }

  .screen-slide img {
    max-width: 240px;
  }

  .screen-placeholder {
    max-width: 240px;
    height: 420px;
  }
}

/* ── REVIEWS ─────────────────────────────────── */
.reviews {
  background: var(--bg2);
  text-align: center;
  transition: background var(--transition);
}

.reviews-wrap {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

.reviews-slider {
  overflow: hidden;
}

.review-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow);
  text-align: left;
  transition: background var(--transition);
}

.review-stars {
  margin-bottom: 1rem;
}

.star {
  color: var(--accent2);
  font-size: 1.2rem;
}

.star.empty {
  color: #DDD;
}

[data-theme="dark"] .star.empty {
  color: #3A5040;
}

.review-text {
  color: var(--muted);
  font-size: .9rem;
  margin-bottom: 1.5rem;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.avatar-placeholder {
  background: var(--accent);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.2rem;
}

.review-author strong {
  display: block;
  font-size: .95rem;
  color: var(--dark);
  transition: color var(--transition);
}

.review-badge {
  font-size: .75rem;
  color: var(--muted);
}

.review-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.rev-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  color: var(--accent);
  font-size: 1.1rem;
  font-weight: 800;
  transition: var(--transition);
  background: transparent;
}

.rev-btn:hover {
  background: var(--accent);
  color: white;
}

.review-food {
  position: absolute;
  right: -120px;
  top: 0;
  width: 160px;
  filter: drop-shadow(0 12px 24px rgba(44, 20, 8, .2));
}

/* ── CONTACT ─────────────────────────────────── */
.contact-section {
  background: var(--bg);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: background var(--transition);
}

.contact-food {
  position: absolute;
  left: -40px;
  bottom: -20px;
  width: 220px;
  opacity: .7;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 480px;
  margin: 0 auto;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  background: var(--input-bg);
  border: 1.5px solid var(--input-border);
  border-radius: var(--radius-sm);
  padding: .85em 1.2em;
  font-family: var(--font-body);
  font-size: .9rem;
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
  resize: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(232, 67, 26, .12);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--muted);
}

.contact-form .btn {
  align-self: center;
  padding: .8em 2.5em;
}

.form-success {
  background: #d4edda;
  color: #155724;
  border-radius: var(--radius-sm);
  padding: 1rem 1.5rem;
  font-weight: 700;
  max-width: 480px;
  margin: 0 auto 1.5rem;
}

[data-theme="dark"] .form-success {
  background: #1a3a22;
  color: #7fcf99;
}

.form-error {
  background: #f8d7da;
  color: #721c24;
  border-radius: var(--radius-sm);
  padding: 1rem 1.5rem;
  font-weight: 700;
  max-width: 480px;
  margin: 0 auto 1.5rem;
}

[data-theme="dark"] .form-error {
  background: #3a1a1e;
  color: #f08090;
}

/* ── FOOTER ──────────────────────────────────── */
.site-footer {
  background: var(--dark2);
  color: rgba(255, 255, 255, .8);
  padding: 4rem 5vw 1.5rem;
  transition: background var(--transition);
}

[data-theme="dark"] .site-footer {
  background: #111111;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2.5rem;
  max-width: 1100px;
  margin: 0 auto;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  margin-bottom: 1.5rem;
}

.footer-grid h4 {
  font-family: var(--font-head);
  color: var(--accent2);
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: .8rem;
}

.footer-grid p {
  font-size: .85rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, .65);
}

.footer-grid p a {
  color: rgba(255, 255, 255, .75);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-grid p a:hover {
  color: var(--accent2);
}

.footer-grid strong {
  color: rgba(255, 255, 255, .9);
}

.payment-img {
  max-height: 36px;
  margin-top: .4rem;
}

.socials {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  margin-top: .2rem;
}

.social-icon {
  width: 38px;
  height: 38px;
  border: 1.5px solid rgba(255, 255, 255, .2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, .75);
  transition: var(--transition);
}

.social-icon svg {
  width: 16px;
  height: 16px;
}

.social-icon:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
  transform: translateY(-2px);
}

.footer-legal {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .75rem;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto 1.2rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.footer-legal a {
  font-size: .8rem;
  color: rgba(255, 255, 255, .5);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-legal a:hover {
  color: var(--accent2);
}

.footer-legal .separator {
  color: rgba(255, 255, 255, .2);
}

.footer-bottom {
  text-align: center;
  font-size: .75rem;
  color: rgba(255, 255, 255, .3);
  max-width: 1100px;
  margin: 0 auto;
}

/* ── BACK TO TOP ─────────────────────────────── */
.back-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  background: var(--accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 900;
  box-shadow: 0 6px 20px rgba(232, 67, 26, .4);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
  z-index: 999;
  border: none;
  cursor: pointer;
}

.back-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.back-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(232, 67, 26, .5);
}

/* ── RESPONSIVE ──────────────────────────────── */
@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-food-right {
    display: none;
  }

  .hero-btns {
    justify-content: center;
  }

  .innov-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .innov-text p {
    max-width: none;
  }

  .store-badges {
    justify-content: center;
  }

  /*.innov-food {
    display: none;
  }*/

  .features-grid {
    grid-template-columns: 1fr;
  }

  .feat-col.left,
  .feat-col.right {
    text-align: center;
  }

  .feat-col.left .feat-dot,
  .feat-col.right .feat-dot {
    margin: 0 auto .5rem;
  }

  .feat-center {
    display: flex;
    justify-content: center;
    order: -1;
  }

  .review-food {
    display: none;
  }

  .contact-food {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .socials {
    justify-content: flex-start;
  }

  .hero-phone {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .innov-phones {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 2rem;
  }

  .hero-phone .phone-mockup,
  .innov-phones .phone-mockup,
  .feat-center .phone-mockup {
    width: 75vw;
    max-width: 340px;
  }

  .hero-phone .phone-placeholder,
  .innov-phones .phone-placeholder,
  .feat-center .phone-placeholder {
    width: 75vw;
    max-width: 340px;
    height: auto;
    min-height: 480px;
  }
}

@media (max-width: 640px) {

  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--bg);
    padding: 2rem;
    gap: 1.5rem;
    z-index: 999;
    box-shadow: 0 10px 30px rgba(44, 20, 8, .1);
  }

  [data-theme="dark"] .nav-links.open {
    box-shadow: 0 10px 30px rgba(0, 0, 0, .5);
  }

  .nav-burger {
    display: flex;
  }

  .hero-phone .phone-mockup,
  .innov-phones .phone-mockup,
  .feat-center .phone-mockup {
    width: 72vw;
    max-width: 300px;
  }

  .hero-phone .phone-placeholder,
  .innov-phones .phone-placeholder,
  .feat-center .phone-placeholder {
    width: 72vw;
    max-width: 300px;
    height: auto;
    min-height: 420px;
  }

  .screens-track {
    gap: .75rem;
  }

  .screen-slide {
    width: 38vw;
    max-width: 160px;
  }

  .screen-placeholder {
    width: 38vw;
    max-width: 160px;
    height: 300px;
  }
}

/* ── SCROLL REVEAL ───────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}