/* =========================================================
   Tendy's — tendys.ma redesign · Production stylesheet
   Palette: Electric Rose #FF2062 · Sky Blue #1EC6FF · White
   ========================================================= */

:root {
  --primary:      #FF2062;
  --primary-deep: #E11453;
  --sky:          #1EC6FF;
  --ink:          #0B0B12;
  --ink-2:        #2A2A36;
  --ink-3:        #5A5A6A;
  --ink-4:        #9A9AAA;
  --line:         #E7E3DC;
  --cream:        #F6F4F1;
  --paper:        #FFFFFF;
  --font-ui:      'Inter Tight', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-script:  'Caveat', cursive;
  --pad-y:        120px;
  --radius-card:  24px;
  --radius-photo: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-ui);
  color: var(--ink);
  background: var(--paper);
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font-family: inherit; font-size: inherit; color: inherit; }
h1, h2, h3 { font-weight: 800; letter-spacing: -0.035em; line-height: 0.95; margin: 0; }
p { line-height: 1.55; margin: 0; }
::selection { background: var(--primary); color: #fff; }

.script { font-family: var(--font-script); font-style: normal; font-weight: 700; }
.accent { color: var(--primary); }
.wrap { max-width: 1280px; margin: 0 auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 18px 32px; border-radius: 999px;
  font-weight: 600; font-size: 16px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-deep); }
.btn--white { background: #fff; color: var(--primary); font-weight: 700; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink-2); }
.btn--ghost { background: transparent; color: var(--ink); border-color: rgba(0,0,0,.12); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--glass { background: rgba(255,255,255,.15); color: #fff; border-color: rgba(255,255,255,.4); backdrop-filter: blur(8px); }
.btn svg { flex: 0 0 auto; }

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.18em;
  font-weight: 600; color: var(--ink-3);
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); }
.eyebrow--light { color: rgba(255,255,255,.7); }
.eyebrow--on-sky { color: rgba(11,11,18,.6); }

/* ---------- Pill badge (hero) ---------- */
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px; border-radius: 999px;
  background: rgba(255,255,255,0.18); border: 1px solid rgba(255,255,255,0.35);
  font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
}
.hero-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: absolute; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  height: 112px; padding: 0 48px; color: #fff; box-sizing: border-box;
}
.site-header__logo img { height: 38px; width: auto; display: block; }
.brand-wordmark { height: 34px; width: auto; display: block; }
.site-header__logo .brand-badge {
  height: 80px; width: 80px; border-radius: 50%; display: block;
  filter: drop-shadow(0 3px 12px rgba(0,0,0,.30));
}
.site-footer__logo .brand-badge { height: 64px; width: 64px; border-radius: 50%; display: block; }
.site-footer__logo .brand-wordmark { height: 44px; width: auto; display: block; }
.site-nav {
  display: flex; gap: 6px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 999px; padding: 6px;
}
.site-nav a {
  padding: 10px 18px; border-radius: 999px;
  font-size: 14px; font-weight: 500; color: #fff;
  display: inline-flex; align-items: center; gap: 6px;
  transition: background .15s;
}
.site-nav a:hover { background: rgba(255,255,255,.12); }
.site-nav a.active { background: #fff; color: var(--primary); font-weight: 700; }
.header-cta { padding: 12px 22px; font-size: 14px; }

/* Mobile burger */
.burger { display: none; }
.mobile-menu { display: none; }

/* Language toggle */
.lang-btn {
  padding: 10px 16px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.4);
  background: rgba(255,255,255,.12); color: #fff;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-weight: 700; font-size: 13px; letter-spacing: .08em;
  cursor: pointer; transition: background .15s;
}
.lang-btn:hover { background: rgba(255,255,255,.25); }
.header-right { display: flex; align-items: center; gap: 10px; }

/* ---------- Marquee ---------- */
.marquee {
  display: flex; overflow: hidden; white-space: nowrap;
  background: var(--ink); color: #fff;
}
.marquee__track {
  display: inline-flex; align-items: center; gap: 48px;
  padding: 22px 0; padding-right: 48px;
  animation: marquee 38s linear infinite;
  font-weight: 800; font-size: 28px; letter-spacing: -0.02em;
  flex: 0 0 auto;
}
.marquee__track span { display: inline-flex; align-items: center; gap: 48px; }
.marquee__track svg { color: var(--primary); flex: 0 0 auto; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* ---------- Sections ---------- */
.section { padding: var(--pad-y) 48px; }
.section--cream { background: var(--cream); }
.section--pink { background: var(--primary); color: #fff; }
.section--sky { background: var(--sky); color: var(--ink); }
.section--ink { background: var(--ink); color: #fff; }

.section-head { text-align: center; max-width: 880px; margin: 0 auto 80px; }
.section-head h2 { font-size: clamp(48px, 6vw, 88px); margin-top: 18px; }
.section-head p { margin: 22px auto 0; font-size: 18px; color: var(--ink-3); max-width: 560px; }

/* Dots backdrop for colored sections */
.dots { position: relative; overflow: hidden; }
.dots::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,0.18) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
}
.dots--dark::before { background-image: radial-gradient(rgba(0,0,0,0.06) 1.2px, transparent 1.2px); }
.dots > * { position: relative; }

/* ---------- Hero (pink, page-level) ---------- */
.page-hero { padding: 140px 48px 96px; min-height: 72vh; display: flex; align-items: center; position: relative; overflow: hidden; }
.page-hero > .wrap { width: 100%; position: relative; z-index: 2; }
.page-hero__bg { position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center; background-repeat: no-repeat; }
.page-hero.section--pink .page-hero__bg { background-color: rgba(225,20,83,0.58); background-blend-mode: multiply; }
.page-hero.section--sky .page-hero__bg { background-color: rgba(30,198,255,0.40); background-blend-mode: multiply; }
.page-hero h1 {
  font-size: clamp(40px, 8.5vw, 120px);
  letter-spacing: -0.055em; line-height: 0.9;
  color: #fff; font-weight: 900; white-space: nowrap;
}
.page-hero .hero-badge { margin-bottom: 36px; }
.page-hero__grid { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: start; }
.page-hero__sub { font-size: 21px; color: rgba(255,255,255,0.93); line-height: 1.5; max-width: 560px; }

/* ---------- Photo helpers ---------- */
.photo { overflow: hidden; position: relative; border-radius: var(--radius-photo); }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.6,.2,1); }
.photo:hover img { transform: scale(1.04); }

/* ---------- Menu page ---------- */
.menu-nav { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.menu-nav__inner { display: flex; gap: 8px; padding: 14px 48px; overflow-x: auto; }
.menu-nav a { flex: 0 0 auto; padding: 9px 18px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--ink-2); border: 1px solid var(--line); transition: all .15s; white-space: nowrap; }
.menu-nav a:hover { border-color: var(--primary); color: var(--primary); }
.menu-cat__head { margin-bottom: 40px; }
.menu-cat__head h2 { font-size: clamp(36px, 4.5vw, 64px); margin-top: 12px; letter-spacing: -0.03em; }
.menu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.menu-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.menu-item:hover { transform: translateY(-4px); box-shadow: 0 24px 60px -24px rgba(0,0,0,.18); }
.section--cream .menu-item { background: #fff; }
.menu-item__photo { aspect-ratio: 4/3; overflow: hidden; background: var(--cream); }
.menu-item__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.menu-item__body { padding: 20px 22px 24px; }
.menu-item__top { display: flex; align-items: baseline; gap: 12px; }
.menu-item__top h3 { font-size: 21px; letter-spacing: -0.02em; flex: 1; }
.menu-item__price { font-weight: 800; font-size: 19px; color: var(--primary); letter-spacing: -0.02em; white-space: nowrap; }
.menu-item__desc { margin-top: 8px; font-size: 14.5px; color: var(--ink-3); line-height: 1.45; }
.menu-note { text-align: center; font-size: 14px; color: var(--ink-4); max-width: 640px; margin: 0 auto; line-height: 1.5; }
/* Blog + Avis collections */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.blog-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; position: relative; display: flex; flex-direction: column; }
.blog-card__img { aspect-ratio: 16/10; background: var(--cream); overflow: hidden; }
.blog-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; }
.blog-card__tag { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--primary); }
.blog-card h3 { font-size: 21px; letter-spacing: -0.02em; }
.blog-card p { font-size: 14.5px; color: var(--ink-3); line-height: 1.55; }
.avis-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.avis-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 26px 24px; position: relative; display: flex; flex-direction: column; gap: 14px; }
.avis-stars { font-size: 18px; letter-spacing: 2px; display: flex; gap: 2px; }
.avis-stars button { background: none; border: 0; cursor: pointer; font-size: 18px; padding: 0; line-height: 1; }
.avis-card__text { font-size: 16px; line-height: 1.55; color: var(--ink-2); flex: 1; }
.avis-card__who { display: flex; flex-direction: column; gap: 2px; }
.avis-card__who b { font-size: 15px; }
.avis-card__who span { font-size: 13px; color: var(--ink-4); }
.col-del { position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; border-radius: 50%; background: rgba(11,11,18,.78); color: #fff; border: 0; font-size: 20px; line-height: 1; cursor: pointer; display: grid; place-items: center; z-index: 4; }
.col-del:hover { background: var(--primary); }
.col-add { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border: 2px dashed var(--primary); color: var(--primary); background: #fff; border-radius: 14px; font-weight: 700; font-size: 14px; cursor: pointer; margin-top: 8px; }
.col-add:hover { background: #fff6f9; }
.blog-card.editing [contenteditable]:focus, .avis-card.editing [contenteditable]:focus { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 4px; }
.blog-card.editing .blog-card__img { cursor: pointer; }
@media (max-width: 820px) { .blog-grid, .avis-grid { grid-template-columns: 1fr; } }
/* ---------- Legal pages ---------- */
.legal-wrap { max-width: 760px; }
.legal-wrap h2 { font-size: 24px; letter-spacing: -0.02em; margin: 32px 0 10px; }
.legal-wrap h2:first-child { margin-top: 0; }
.legal-wrap p { font-size: 16px; color: var(--ink-2); line-height: 1.6; }
.legal-wrap .legal-note { margin-top: 28px; padding: 16px 18px; background: var(--cream); border-radius: 12px; font-size: 13.5px; color: var(--ink-3); }
@media (max-width: 900px) {
  .menu-nav__inner { padding: 12px 20px; }
  .menu-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .menu-item__body { padding: 16px 16px 18px; }
  .menu-item__top h3 { font-size: 18px; }
  .menu-item__price { font-size: 17px; }
  .menu-item__desc { font-size: 13px; }
}
@media (max-width: 560px) {
  .menu-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .menu-item__body { padding: 12px 12px 14px; }
  .menu-item__top { flex-direction: column; align-items: flex-start; gap: 2px; }
  .menu-item__top h3 { font-size: 15px; line-height: 1.15; }
  .menu-item__price { font-size: 15px; }
  .menu-item__desc { font-size: 12px; margin-top: 6px; line-height: 1.4; }
}
/* Menu — affordances d'édition (mode ?edit=1) */
.menu-item { position: relative; }
.menu-item__del { position: absolute; top: 8px; right: 8px; width: 30px; height: 30px; border-radius: 50%; background: rgba(11,11,18,.78); color: #fff; border: 0; font-size: 20px; line-height: 1; cursor: pointer; display: grid; place-items: center; z-index: 4; }
.menu-item__del:hover { background: var(--primary); }
.menu-item.editing .menu-item__photo { cursor: pointer; }
.menu-item.editing .menu-item__photo::after { content: "Changer la photo"; position: absolute; inset: 0; display: grid; place-items: center; background: rgba(255,32,98,0); color: #fff; font-size: 13px; font-weight: 700; opacity: 0; transition: .15s; pointer-events: none; }
.menu-item.editing .menu-item__body { position: relative; z-index: 2; }
.menu-item.editing [data-f] { cursor: text; }
.menu-item.editing .menu-item__photo:hover::after { background: rgba(255,32,98,.55); opacity: 1; }
.menu-item.editing [data-f] { transition: background .12s; }
.menu-item.editing [data-f]:hover { background: rgba(255,32,98,.07); border-radius: 4px; }
.menu-item.editing [contenteditable="true"]:focus { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 4px; background: #fff; }
.menu-add { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; padding: 13px 22px; border: 2px dashed var(--primary); color: var(--primary); background: #fff; border-radius: 14px; font-weight: 700; font-size: 14px; cursor: pointer; grid-column: 1 / -1; justify-self: start; }
.menu-add:hover { background: #fff6f9; }
/* Avis form helpers */
.form-section-title { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--primary); margin: 26px 0 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.t-select { width: 100%; padding: 14px 16px; padding-right: 44px; border: 1px solid var(--line); border-radius: 12px; font-size: 16px; background: #fff; outline: none; color: var(--ink); appearance: none; -webkit-appearance: none; cursor: pointer; accent-color: var(--primary); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235A5A6A' 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 16px center; }
.t-select:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(255,32,98,0.12); }
.store-hint { font-size: 14px; color: var(--ink-4); }
/* Sélecteur de date personnalisé (charte Tendy's) */
.tdp { position: relative; }
.tdp .tdp-ico { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--ink-3); pointer-events: auto; cursor: pointer; display: inline-flex; }
.tdp input.tdp-input, .tdp input[type="text"] { padding-right: 44px; cursor: pointer; }
.tdp-pop { position: absolute; z-index: 60; top: calc(100% + 8px); left: 0; width: 300px; max-width: 92vw; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 24px 60px -20px rgba(11,11,18,.28); padding: 14px; display: none; }
.tdp-pop.open { display: block; }
.tdp-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.tdp-title { font-weight: 700; font-size: 15px; color: var(--ink); }
.tdp-nav { width: 32px; height: 32px; border-radius: 9px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); cursor: pointer; display: grid; place-items: center; transition: all .12s; }
.tdp-nav:hover { border-color: var(--primary); color: var(--primary); }
.tdp-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.tdp-dow span { text-align: center; font-size: 11px; font-weight: 700; color: var(--ink-4); padding: 6px 0; text-transform: uppercase; letter-spacing: .04em; }
.tdp-day { aspect-ratio: 1; border: 0; background: none; border-radius: 9px; font: 600 13.5px/1 var(--font-ui); color: var(--ink); cursor: pointer; display: grid; place-items: center; transition: background .12s, color .12s; }
.tdp-day:hover { background: rgba(255,32,98,.1); color: var(--primary); }
.tdp-day.is-today { box-shadow: inset 0 0 0 1.5px var(--sky); }
.tdp-day.is-sel { background: var(--primary); color: #fff; }
.tdp-empty { aspect-ratio: 1; }
.tdp-foot { display: flex; justify-content: space-between; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.tdp-link { background: none; border: 0; color: var(--primary); font: 700 13px/1 var(--font-ui); cursor: pointer; padding: 4px; }
.tdp-link:hover { text-decoration: underline; }
/* Menu page — en-tête bleu ciel */
.page-hero.section--sky h1 { color: var(--ink); }
.page-hero.section--sky .page-hero__sub { color: rgba(11,11,18,.82); }
.page-hero.section--sky .hero-badge { background: rgba(11,11,18,.1); border-color: rgba(11,11,18,.22); color: var(--ink); }
.page-hero.section--sky .hero-badge::before { background: var(--ink); }
.menu-sky .site-nav { background: rgba(11,11,18,.10); border-color: rgba(11,11,18,.18); }
.menu-sky .site-nav a { color: var(--ink); }
.menu-sky .site-nav a:hover { background: rgba(11,11,18,.08); }
.menu-sky .site-nav a.active { background: #fff; color: var(--primary); }
.menu-sky .lang-btn { background: rgba(11,11,18,.1); border-color: rgba(11,11,18,.25); color: var(--ink); }
.menu-sky .burger { color: var(--ink); border-color: rgba(11,11,18,.3); background: rgba(11,11,18,.08); }
.menu-sky .page-hero.dots::before { background-image: radial-gradient(rgba(11,11,18,0.17) 1.7px, transparent 1.7px); background-size: 28px 28px; }

/* ---------- Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-card);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 24px 60px -20px rgba(0,0,0,.18); }
.card--cream { background: var(--cream); }
.card--outline { border: 2px solid var(--ink); }

.icon-tile {
  width: 60px; height: 60px; border-radius: 18px;
  background: var(--primary); color: #fff;
  display: grid; place-items: center; flex: 0 0 auto;
}

.icon-tile--sky { background: var(--sky); color: var(--ink); }
.btn--sky { background: var(--sky); color: var(--ink); font-weight: 700; }
.btn--sky:hover { background: #0FB6F0; }
.card--sky { background: var(--sky); border-color: var(--ink); }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px; }
.field label { font-size: 13px; font-weight: 500; color: var(--ink-2); }
.field input, .field textarea, .field select {
  width: 100%; padding: 16px 18px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  font-size: 16px; outline: none; color: var(--ink);
  font-family: inherit; accent-color: var(--primary);
  transition: border-color .15s ease, box-shadow .15s ease;
}
/* Selects + date/time : style unifié sur tout le site */
.field select, select.t-select {
  -webkit-appearance: none; -moz-appearance: none; appearance: none;
  padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235A5A6A' 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 16px center;
}
.field input[type="date"], .field input[type="time"] { cursor: pointer; }
.field input[type="date"]::-webkit-calendar-picker-indicator,
.field input[type="time"]::-webkit-calendar-picker-indicator {
  cursor: pointer; opacity: .55; filter: saturate(0);
  transition: opacity .15s;
}
.field input[type="date"]:hover::-webkit-calendar-picker-indicator,
.field input[type="time"]:hover::-webkit-calendar-picker-indicator { opacity: 1; }
.field select:focus, select.t-select:focus {
  border-color: var(--primary); box-shadow: 0 0 0 4px rgba(255,32,98,0.12);
}
.field input:focus, .field textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(255,32,98,0.12);
}
.field.has-error input, .field.has-error textarea { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(255,32,98,0.1); }
.field .error { font-size: 12px; color: var(--primary); display: none; }
.field.has-error .error { display: block; }
.field textarea { resize: vertical; min-height: 130px; }

/* Chips (radio groups) */
.chips { margin-bottom: 22px; }
.chips > .chips-label { font-size: 13px; font-weight: 500; color: var(--ink-2); display: block; margin-bottom: 10px; }
.chips .chips-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chips input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; }
.chips .chip {
  padding: 12px 18px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; color: var(--ink-2);
  font-size: 14px; font-weight: 600; cursor: pointer;
  transition: all .15s ease; user-select: none;
}
.chips input:checked + .chip { background: var(--primary); border-color: var(--primary); color: #fff; }
.chips input:focus-visible + .chip { box-shadow: 0 0 0 4px rgba(255,32,98,0.2); }
.chips .error { font-size: 12px; color: var(--primary); display: none; margin-top: 8px; }
.chips.has-error .error { display: block; }

.form-card {
  background: #fff; color: var(--ink);
  border-radius: var(--radius-card); padding: 40px;
  box-shadow: 0 32px 80px -30px rgba(0,0,0,.4);
}
.form-note { margin-top: 16px; font-size: 13px; color: var(--ink-3); text-align: center; line-height: 1.5; }
.form-note .zap { color: var(--primary); }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* Success block (hidden until JS swaps it in) */
.form-success { display: none; text-align: center; padding: 48px 24px; }
.form-success.visible { display: block; }
.form-success .check-circle {
  width: 84px; height: 84px; border-radius: 50%;
  background: var(--primary); color: #fff;
  display: grid; place-items: center; margin: 0 auto 28px;
}
form.is-hidden { display: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #fff; padding: 80px 48px 32px; }
.site-footer__grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.12);
  max-width: 1280px; margin: 0 auto;
}
.site-footer__logo img { height: 44px; width: auto; }
.site-footer p.tagline { margin-top: 18px; color: rgba(255,255,255,.55); font-size: 15px; max-width: 340px; }
.site-footer .col-title {
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.16em;
  color: rgba(255,255,255,.55); font-weight: 600; margin-bottom: 14px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.site-footer ul a { font-size: 14px; opacity: .85; }
.site-footer ul a:hover { opacity: 1; }
.footer-bottom {
  max-width: 1280px; margin: 24px auto 0;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  color: rgba(255,255,255,.55); font-size: 13px;
}
.footer-bottom .links { display: inline-flex; gap: 18px; }
.footer-bottom .admin-key { color: inherit; text-decoration: none; cursor: text; }
.social-row { margin-top: 24px; display: flex; gap: 10px; }
.social-row a {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.08); display: grid; place-items: center;
  transition: background .15s;
}
.social-row a:hover { background: rgba(255,255,255,.18); }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
  background: rgba(11,11,18,0.96);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  padding: 12px 16px;
}
.sticky-cta .btn { width: 100%; font-size: 15px; padding: 16px 20px; font-weight: 700; border: 0; }

/* ---------- Home hero slider ---------- */
.hero-slider { position: relative; height: 90vh; min-height: 640px; max-height: 900px; overflow: hidden; background: var(--ink); }
.hero-slider .slide-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1.4s ease;
}
.hero-slider .slide-img.active { opacity: 1; }
.hero-slider .shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.4) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,.7) 100%);
}
.hero-slider__content {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 0 48px 72px; color: #fff;
  display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 48px;
}
.hero-slider__content h1 { font-size: clamp(64px, 8.5vw, 132px); letter-spacing: -0.05em; line-height: 0.9; color: #fff; white-space: pre-line; }
.hero-slider__content .sub { margin-top: 22px; font-size: 20px; color: rgba(255,255,255,.92); max-width: 560px; }
.hero-slider__ctas { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }
.slider-dots { display: flex; gap: 6px; }
.slider-dots button {
  width: 10px; height: 10px; border-radius: 5px; border: 0; cursor: pointer;
  background: rgba(255,255,255,.4); transition: all .3s; padding: 0;
}
.slider-dots button.active { width: 36px; background: #fff; }
.slider-count { font-size: 13px; color: rgba(255,255,255,.7); font-variant-numeric: tabular-nums; text-align: right; margin-top: 14px; }

/* ---------- Stat cards (sky section) ---------- */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat-card { background: #fff; border: 2px solid var(--ink); border-radius: var(--radius-card); padding: 36px 28px 30px; position: relative; }
.stat-card .star {
  position: absolute; top: 18px; right: 18px;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--primary); color: #fff; display: grid; place-items: center;
}
.stat-card .num { font-weight: 800; font-size: clamp(64px, 7vw, 112px); letter-spacing: -0.05em; line-height: 0.9; }
.stat-card .lbl { margin-top: 14px; font-size: 14px; font-weight: 500; color: var(--ink-3); }

.map-zoom-hint { position: absolute; bottom: 20px; right: 20px; background: rgba(11,11,18,.72); color: #fff; padding: 8px 14px; border-radius: 999px; font-size: 12px; font-weight: 600; pointer-events: none; z-index: 5; }
/* Image-map pins */
.map-pin { position: absolute; transform: translate(-50%, -100%); z-index: 4; }
.map-pin__mark { position: absolute; left: 50%; top: 0; transform: translate(-50%, -100%); width: 20px; height: 28px; background: #FF2062; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; clip-path: path('M10 28 C2 16 0 12 0 8 A10 10 0 1 1 20 8 C20 12 18 16 10 28 Z'); }
.map-pin__mark::after { content: ""; position: absolute; left: 50%; top: 8px; transform: translate(-50%,-50%); width: 7px; height: 7px; border-radius: 50%; background: #fff; }
.map-pin__label { position: absolute; bottom: 4px; white-space: nowrap; background: #0B0B12; color: #fff; font-size: 12.5px; font-weight: 700; padding: 5px 10px; border-radius: 999px; display: inline-flex; align-items: center; gap: 7px; }
.map-pin--right .map-pin__label { left: 12px; }
.map-pin--left .map-pin__label { right: 12px; }
.map-pin__badge { font-style: normal; width: 17px; height: 17px; border-radius: 50%; background: #1EC6FF; color: #0B0B12; font-size: 10px; font-weight: 800; display: inline-grid; place-items: center; }

/* ---------- Sticker ---------- */
.sticker-sky {
  background: var(--sky); color: var(--ink);
  padding: 10px 16px; border-radius: 999px;
  font-size: 12px; font-weight: 700;
  border: 2px solid var(--ink);
  display: inline-block;
  white-space: nowrap;
}

/* ---------- Utility grids ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

/* =========================================================
   MOBILE
   ========================================================= */
@media (max-width: 900px) {
  :root { --pad-y: 80px; }
  .section { padding-inline: 20px; }
  .page-hero { padding: 100px 20px 56px; min-height: 0; display: block; }
  .page-hero h1 { font-size: clamp(30px, 8.5vw, 96px); }
  .page-hero__grid { grid-template-columns: 1fr; gap: 28px; }
  .page-hero__sub { font-size: 16px; }

  .site-header { padding: 0 20px; height: 84px; }
  .site-header__logo img { height: 30px; }
  .site-header__logo .brand-badge { height: 60px; width: 60px; }
  .brand-wordmark { height: 28px; }
  .site-nav, .header-cta { display: none; }
  .lang-btn { padding: 9px 13px; font-size: 12px; }
  .burger {
    display: grid; place-items: center;
    width: 42px; height: 42px; border-radius: 12px;
    border: 1px solid rgba(255,255,255,.35);
    background: rgba(255,255,255,.1); color: #fff;
    backdrop-filter: blur(8px); cursor: pointer; padding: 0;
  }
  .mobile-menu {
    position: absolute; top: calc(100% + 8px); right: 20px; width: 250px;
    background: #fff; color: var(--ink);
    border-radius: 16px; padding: 8px;
    box-shadow: 0 24px 60px -20px rgba(0,0,0,.3);
    border: 1px solid var(--line);
    display: none; flex-direction: column;
  }
  .mobile-menu.open { display: flex; }
  .mobile-menu a {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 16px; border-radius: 10px; font-size: 15px; font-weight: 500;
  }
  .mobile-menu a.active { background: var(--cream); color: var(--primary); font-weight: 700; }
  .mobile-menu a.order { margin-top: 6px; background: var(--primary); color: #fff; font-weight: 700; }

  .marquee__track { font-size: 20px; padding: 16px 0; padding-right: 32px; gap: 32px; }
  .marquee__track span { gap: 32px; }

  .section-head { text-align: left; margin-bottom: 44px; }
  .section-head h2 { font-size: clamp(40px, 11vw, 52px); }
  .section-head p { margin-left: 0; }

  .hero-slider { height: 78vh; min-height: 560px; }
  .hero-slider__content { grid-template-columns: 1fr; padding: 0 20px 32px; }
  .hero-slider__content h1 { font-size: clamp(44px, 13vw, 64px); }
  .hero-slider__content .sub { font-size: 15px; }
  .slider-count { display: none; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  [data-grid-collapse] { grid-template-columns: 1fr !important; gap: 36px !important; }
  [data-card-collapse] { grid-template-columns: 1fr !important; }
  [data-pad-collapse] { padding-inline: 20px !important; }
  .insta-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .section--ink.dots[data-grid-collapse] { padding: 40px 28px !important; }
  .grid-4.keep-2 { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .stat-card .num { font-size: 56px; }

  .form-card { padding: 24px; }
  .form-row-2 { grid-template-columns: 1fr; gap: 0; }

  .site-footer { padding: 48px 20px 28px; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 36px; }

  .sticky-cta { display: block; }
  body.has-sticky-cta { padding-bottom: 72px; }
}
