/* ============================================================
   JAIDO AI — style.css (shared across all pages)
   ============================================================ */

/* ─── GOOGLE FONTS ─── */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&display=swap');

/* ─── TOKENS ─── */
:root {
  --bg:           #080a0f;
  --surface:      #0e1117;
  --surface2:     #141820;
  --amber:        #f5a623;
  --amber-dim:    #c47f0f;
  --amber-glow:   rgba(245,166,35,0.18);
  --amber-border: rgba(245,166,35,0.35);
  --text:         #f0f0f0;
  --muted:        #8a8fa8;
  --white:        #ffffff;
  --radius-card:  20px;
  --radius-btn:   999px;
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, .logo { font-family: 'Syne', sans-serif; }
a { text-decoration: none; color: inherit; }
button { font-family: 'DM Sans', sans-serif; }

/* ─── NOISE OVERLAY ─── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

/* ─── ANNOUNCEMENT BAR ─── */
.topbar {
  background: var(--amber);
  color: #000;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 10px;
  font-family: 'Syne', sans-serif;
}
.topbar span { margin: 0 6px; opacity: 0.5; }

/* ─── HEADER ─── */
header {
  position: sticky;
  top: 0;
  z-index: 300;
  background: rgba(8,10,15,0.92);
  backdrop-filter: blur(22px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
}

/* LOGO */
.logo {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
  text-decoration: none;
  flex-shrink: 0;
  margin-right: 20px;
  cursor: pointer;
}
.logo em { color: var(--amber); font-style: normal; }

/* NAV CENTER */
.nav-center {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

/* NAV LINK */
.nav-link {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 7px 16px;
  border-radius: 8px;
  border: 1px solid transparent;
  transition: all 0.2s;
  white-space: nowrap;
  font-family: 'DM Sans', sans-serif;
  background: transparent;
  cursor: pointer;
}
.nav-link:hover { color: var(--white); background: rgba(255,255,255,0.06); }
.nav-link.active { color: var(--amber); }

/* DROPDOWN BUTTON */
.nav-dd-wrap { position: relative; }
.nav-dd-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 10px;
  color: var(--white);
  font-size: 14px;
  font-weight: 800;
  padding: 7px 14px;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: all 0.2s;
  white-space: nowrap;
  line-height: 1;
}
.nav-dd-btn:hover,
.nav-dd-btn.is-open { background: rgba(255,255,255,0.16); border-color: rgba(255,255,255,0.28); }
.nav-dd-btn.active { color: var(--amber); background: rgba(245,166,35,0.08); border-color: rgba(245,166,35,0.28); }
.nav-dd-btn .chevron { transition: transform 0.22s; display: flex; }
.nav-dd-btn.is-open .chevron { transform: rotate(180deg); }

/* DROPDOWN PANEL */
.nav-dd-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  width: 520px;
  background: rgba(14,16,24,0.98);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 14px;
  box-shadow: 0 28px 70px rgba(0,0,0,0.8);
  backdrop-filter: blur(24px);
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 400;
}
.nav-dd-panel.is-open { opacity: 1; transform: translateY(0); pointer-events: all; }
.dd-agents-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
.dd-agent-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px; border-radius: 12px;
  text-decoration: none; color: var(--white);
  transition: background 0.15s; cursor: pointer; min-width: 0;
}
.dd-agent-item:hover { background: rgba(255,255,255,0.07); }
.dd-ava {
  width: 48px; height: 48px; border-radius: 14px;
  flex-shrink: 0; overflow: hidden;
  display: flex; align-items: center; justify-content: center; font-size: 26px;
}
.dd-ava img { width: 100%; height: 100%; object-fit: cover; }
.dd-agent-text { flex: 1; min-width: 0; }
.dd-agent-text strong {
  display: block; font-size: 13px; font-weight: 700;
  color: var(--white); font-family: 'Syne', sans-serif;
  line-height: 1.2; margin-bottom: 3px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.dd-agent-text span {
  font-size: 11px; color: var(--muted); display: block;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; width: 100%;
}
.dd-footer-bar {
  margin-top: 10px; padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.07); text-align: center;
}
.dd-footer-bar a {
  font-size: 13px; font-weight: 700; color: var(--amber);
  text-decoration: none; font-family: 'Syne', sans-serif; letter-spacing: 0.01em;
}
.dd-footer-bar a:hover { opacity: 0.8; }

/* NAV RIGHT */
.nav-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; margin-left: 20px; }
.btn-ghost {
  padding: 8px 18px; border-radius: var(--radius-btn);
  border: 1px solid rgba(255,255,255,0.2); color: var(--white);
  font-size: 13px; font-weight: 600; cursor: pointer;
  background: transparent; transition: all 0.2s;
}
.btn-ghost:hover { border-color: var(--amber); color: var(--amber); }
.btn-primary {
  padding: 9px 20px; border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08); color: var(--white);
  font-size: 13px; font-weight: 700; cursor: pointer; transition: all 0.2s;
}
.btn-primary:hover { background: var(--amber); color: #000; border-color: var(--amber); }

/* HAMBURGER */
.mobile-menu-btn {
  display: none;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--white);
  padding: 8px 13px; border-radius: 10px;
  cursor: pointer; font-size: 18px;
  margin-left: auto; flex-shrink: 0;
}

/* MOBILE DRAWER */
.mobile-nav {
  display: none; flex-direction: column; gap: 2px;
  padding: 10px 16px 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
  max-height: 0; overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s;
}
.mobile-nav.is-open { display: flex; max-height: 500px; }
.mobile-nav a { color: var(--muted); font-size: 15px; font-weight: 600; padding: 11px 14px; border-radius: 10px; transition: all 0.18s; display: block; }
.mobile-nav a:hover { color: var(--white); background: rgba(255,255,255,0.05); }
.mobile-nav .mob-agents-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: rgba(255,255,255,0.25);
  padding: 12px 14px 4px; font-family: 'Syne', sans-serif;
}
.mobile-nav .mob-agent-row {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 14px; border-radius: 10px;
  text-decoration: none; color: var(--text); transition: background 0.15s;
}
.mobile-nav .mob-agent-row:hover { background: rgba(255,255,255,0.05); }
.mobile-nav .mob-ava { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; overflow: hidden; }
.mobile-nav .mob-ava img { width: 100%; height: 100%; object-fit: cover; }
.mobile-nav .mob-name { font-size: 13px; font-weight: 700; color: var(--white); font-family: 'Syne', sans-serif; }
.mobile-nav .mob-desc { font-size: 11px; color: var(--muted); }
.mobile-nav .mob-sep { height: 1px; background: rgba(255,255,255,0.06); margin: 8px 0; }
.mobile-nav .mob-cta { background: var(--amber); color: #000 !important; font-weight: 800 !important; text-align: center; border-radius: 10px !important; margin-top: 4px; }

@media (max-width: 900px) {
  .nav-center { display: none; }
  .nav-right { display: none; }
  .mobile-menu-btn { display: block; }
}

/* ─── SECTION WRAPPER ─── */
.section { max-width: 1200px; margin: 0 auto; padding: 100px 28px; }

/* ─── TAGS / LABELS ─── */
.section-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--amber-glow); border: 1px solid var(--amber-border);
  color: var(--amber); font-size: 12px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 6px 14px; border-radius: var(--radius-btn);
  margin-bottom: 20px; font-family: 'Syne', sans-serif;
}
.section-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800; letter-spacing: -0.03em; line-height: 1.08;
  color: var(--white); margin-bottom: 16px;
}
.section-sub { font-size: 17px; color: var(--muted); max-width: 520px; line-height: 1.7; }

/* ─── HERO ─── */
.hero {
  min-height: 92vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; padding: 80px 28px 60px;
  position: relative; overflow: hidden;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(245,166,35,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,166,35,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 30%, transparent 100%);
}
.hero-glow {
  position: absolute; width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(245,166,35,0.12) 0%, transparent 65%);
  top: 50%; left: 50%; transform: translate(-50%, -60%); pointer-events: none;
}
.agents-pill {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-btn); padding: 8px 18px 8px 10px;
  margin-bottom: 32px; font-size: 13px; font-weight: 600; color: var(--muted);
  position: relative; z-index: 1;
}
.agents-avatars { display: flex; }
.agents-avatars span {
  width: 30px; height: 30px; border-radius: 50%;
  background: linear-gradient(135deg, var(--amber), #ff8c42);
  border: 2px solid var(--bg); display: flex; align-items: center;
  justify-content: center; font-size: 14px; margin-left: -6px;
}
.agents-avatars span:first-child { margin-left: 0; }
.agents-count {
  background: var(--amber); color: #000; font-weight: 800;
  font-size: 12px; padding: 3px 10px; border-radius: var(--radius-btn);
  font-family: 'Syne', sans-serif;
}
.hero h1 {
  font-size: clamp(2.8rem, 6vw, 5.5rem); font-weight: 800;
  line-height: 1.05; letter-spacing: -0.03em; color: var(--white);
  max-width: 820px; position: relative; z-index: 1; margin-bottom: 24px;
}
.hero h1 .accent {
  background: linear-gradient(90deg, var(--amber), #ff8c42);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero p { font-size: 18px; color: var(--muted); max-width: 560px; line-height: 1.7; position: relative; z-index: 1; margin-bottom: 40px; }
.hero-actions { display: flex; gap: 14px; align-items: center; position: relative; z-index: 1; flex-wrap: wrap; justify-content: center; margin-bottom: 60px; }
.btn-hero {
  padding: 14px 34px; border-radius: var(--radius-btn); border: none;
  background: var(--amber); color: #000; font-size: 15px; font-weight: 800;
  cursor: pointer; transition: all 0.25s; font-family: 'Syne', sans-serif; letter-spacing: 0.01em;
}
.btn-hero:hover { background: #ffb83f; transform: translateY(-2px); box-shadow: 0 14px 40px rgba(245,166,35,0.4); }
.btn-hero-ghost {
  padding: 14px 34px; border-radius: var(--radius-btn);
  border: 1px solid rgba(255,255,255,0.22); color: var(--white);
  font-size: 15px; font-weight: 700; cursor: pointer; transition: all 0.25s;
  background: transparent; font-family: 'Syne', sans-serif;
}
.btn-hero-ghost:hover { border-color: var(--amber); color: var(--amber); }

/* ─── AGENT CARDS ─── */
.agents-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; margin-top: 56px; }
.agent-card {
  background: var(--surface); border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-card); padding: 28px;
  transition: all 0.3s; cursor: pointer; position: relative; overflow: hidden;
}
.agent-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--amber), transparent);
  opacity: 0; transition: opacity 0.3s;
}
.agent-card:hover { border-color: var(--amber-border); transform: translateY(-4px); box-shadow: 0 20px 48px rgba(0,0,0,0.4); }
.agent-card:hover::before { opacity: 1; }
.agent-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--amber-glow); border: 1px solid var(--amber-border); display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 18px; }
.agent-card h3 { font-size: 18px; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.agent-card p { font-size: 14px; color: var(--muted); line-height: 1.65; }
.agent-badge { display: inline-block; background: rgba(0,182,122,0.12); color: #00b67a; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: var(--radius-btn); margin-top: 14px; letter-spacing: 0.05em; font-family: 'Syne', sans-serif; }

/* ─── STATS ROW ─── */
.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: rgba(255,255,255,0.06); border-radius: var(--radius-card); overflow: hidden; margin-top: 80px; }
.stat-box { background: var(--surface); padding: 44px 36px; text-align: center; }
.stat-num {
  font-family: 'Syne', sans-serif; font-size: 3.5rem; font-weight: 800;
  background: linear-gradient(135deg, var(--amber), #ff8c42);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  line-height: 1; margin-bottom: 8px;
}
.stat-label { font-size: 14px; color: var(--muted); font-weight: 500; }

/* ─── BRAIN CARDS ─── */
.brain-tab { padding: 8px 18px; border-radius: var(--radius-btn); border: 1px solid rgba(255,255,255,0.1); background: transparent; color: var(--muted); font-size: 13px; font-weight: 600; cursor: pointer; transition: all 0.2s; }
.brain-tab:hover { border-color: rgba(255,255,255,0.25); color: var(--white); }
.brain-tab.active { background: var(--amber); color: #000; border-color: var(--amber); }
.bcard {
  background: var(--surface2); border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px; padding: 20px 22px;
  display: flex; align-items: flex-start; gap: 14px;
  transition: all 0.25s; position: relative; overflow: hidden; cursor: default;
}
.bcard::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(245,166,35,0.04), transparent 60%); opacity: 0; transition: opacity 0.25s; }
.bcard:hover { border-color: rgba(245,166,35,0.25); transform: translateY(-3px); box-shadow: 0 14px 36px rgba(0,0,0,0.4); }
.bcard:hover::before { opacity: 1; }
.bcard.connected { border-color: rgba(0,182,122,0.2); }
.bcard.connected::after { content: '✓'; position: absolute; top: 10px; right: 12px; width: 18px; height: 18px; border-radius: 50%; background: rgba(0,182,122,0.15); color: #00b67a; font-size: 10px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.bicon { width: 44px; height: 44px; border-radius: 11px; background: var(--surface); border: 1px solid rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.binfo { flex: 1; min-width: 0; }
.binfo strong { font-family: 'Syne', sans-serif; font-size: 14px; font-weight: 700; color: var(--white); display: block; margin-bottom: 4px; }
.binfo p { font-size: 12px; color: var(--muted); line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.btag { display: inline-block; background: rgba(255,255,255,0.05); color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 2px 7px; border-radius: 4px; margin-top: 8px; font-family: 'Syne', sans-serif; }

/* Brain visual nodes */
.bnode { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 10px; padding: 12px 6px; text-align: center; font-size: 20px; transition: all 0.3s; cursor: default; }
.bnode:hover { background: var(--amber-glow); border-color: var(--amber-border); transform: scale(1.06); }
.bnode span { display: block; font-size: 9px; color: var(--muted); margin-top: 5px; font-weight: 600; font-family: 'Syne', sans-serif; }
.bnode-center { background: var(--amber-glow); border: 1px solid var(--amber-border); border-radius: 14px; padding: 16px 8px; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.bnode-center span { font-size: 11px; color: var(--amber); font-weight: 800; font-family: 'Syne', sans-serif; }
.brain-pulse-inner { position: absolute; width: 180px; height: 180px; border-radius: 50%; border: 1px solid rgba(245,166,35,0.12); top: 50%; left: 50%; transform: translate(-50%,-50%); animation: bpulse 2.8s ease-out infinite; pointer-events: none; }
@keyframes bpulse { 0%{transform:translate(-50%,-50%) scale(0.4);opacity:0.7} 100%{transform:translate(-50%,-50%) scale(2);opacity:0} }

/* Timeline */
.tl-step { display: flex; gap: 28px; align-items: flex-start; margin-bottom: 36px; position: relative; }
.tl-num { width: 68px; height: 68px; border-radius: 50%; background: var(--surface); border: 1px solid rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-family: 'Syne', sans-serif; font-size: 18px; font-weight: 800; color: var(--amber); position: relative; z-index: 1; }
.tl-box { background: var(--surface); border: 1px solid rgba(255,255,255,0.07); border-radius: 16px; padding: 24px 28px; flex: 1; transition: border-color 0.3s; }
.tl-box:hover { border-color: var(--amber-border); }
.tl-box h3 { font-size: 18px; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.tl-box p { font-size: 14px; color: var(--muted); line-height: 1.7; margin-bottom: 14px; }
.tl-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.tl-chips span { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.09); border-radius: 6px; padding: 3px 10px; font-size: 11px; color: var(--muted); font-weight: 600; font-family: 'Syne', sans-serif; }

/* ─── RESERVATION FORM ─── */
.reservation-wrapper {
  background: var(--surface); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 28px; overflow: hidden;
  display: grid; grid-template-columns: 1fr 1fr;
  position: relative;
}
.reservation-wrapper::before {
  content: ''; position: absolute; inset: 0; border-radius: 28px; padding: 1px;
  background: linear-gradient(135deg, var(--amber-border), transparent 40%, transparent 60%, var(--amber-border));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.reservation-info {
  padding: 60px 52px;
  background: linear-gradient(135deg, rgba(245,166,35,0.07) 0%, transparent 60%);
  display: flex; flex-direction: column; justify-content: center; gap: 28px;
}
.reservation-info h2 { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; color: var(--white); }
.reservation-info p { font-size: 16px; color: var(--muted); line-height: 1.7; }
.benefit-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.benefit-list li { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--text); font-weight: 500; }
.benefit-list li::before { content: '✓'; width: 22px; height: 22px; border-radius: 50%; background: var(--amber-glow); border: 1px solid var(--amber-border); color: var(--amber); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; flex-shrink: 0; }
.reservation-form-area { padding: 52px 48px; background: var(--surface2); display: flex; flex-direction: column; gap: 20px; }
.form-title { font-family: 'Syne', sans-serif; font-size: 20px; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.form-sub { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group label { font-size: 12px; font-weight: 600; color: var(--muted); letter-spacing: 0.05em; text-transform: uppercase; font-family: 'Syne', sans-serif; }
.form-group input, .form-group select, .form-group textarea {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px; color: var(--white); font-size: 14px; font-family: 'DM Sans', sans-serif;
  padding: 12px 16px; outline: none; transition: border-color 0.2s, background 0.2s; width: 100%;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--amber); background: rgba(245,166,35,0.05); }
.form-group select option { background: #141820; }
.form-group textarea { resize: vertical; min-height: 90px; }
.time-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.slot { padding: 10px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.1); background: transparent; color: var(--muted); font-size: 13px; font-weight: 600; cursor: pointer; text-align: center; transition: all 0.2s; }
.slot:hover { border-color: var(--amber); color: var(--amber); }
.slot.selected { background: var(--amber); color: #000; border-color: var(--amber); }
.slot.disabled { opacity: 0.3; cursor: not-allowed; pointer-events: none; }
.form-submit { width: 100%; padding: 15px; border-radius: 14px; border: none; background: var(--amber); color: #000; font-size: 15px; font-weight: 800; cursor: pointer; font-family: 'Syne', sans-serif; letter-spacing: 0.02em; transition: all 0.25s; margin-top: 4px; }
.form-submit:hover { background: #ffb83f; transform: translateY(-2px); box-shadow: 0 12px 32px rgba(245,166,35,0.4); }
.form-success { display: none; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 16px; padding: 40px; flex: 1; }
.success-icon { width: 72px; height: 72px; border-radius: 50%; background: rgba(0,182,122,0.15); border: 2px solid rgba(0,182,122,0.4); display: flex; align-items: center; justify-content: center; font-size: 34px; }

/* ─── CONTACT PAGE ─── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact-photo { border-radius: 24px; overflow: hidden; aspect-ratio: 3/4; }
.contact-photo img { width: 100%; height: 100%; object-fit: cover; }
.contact-info-list { display: flex; flex-direction: column; gap: 20px; margin-top: 32px; }
.contact-info-item { display: flex; align-items: center; gap: 16px; padding: 18px 20px; background: var(--surface); border: 1px solid rgba(255,255,255,0.07); border-radius: 14px; transition: border-color 0.25s; }
.contact-info-item:hover { border-color: var(--amber-border); }
.contact-info-item .ci-icon { font-size: 22px; width: 44px; height: 44px; border-radius: 11px; background: var(--amber-glow); border: 1px solid var(--amber-border); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-info-item strong { display: block; font-family: 'Syne', sans-serif; font-size: 13px; font-weight: 700; color: var(--white); margin-bottom: 3px; }
.contact-info-item span { font-size: 14px; color: var(--muted); }

/* ─── PAGE HERO (inner pages) ─── */
.page-hero {
  padding: 80px 28px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero .hero-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(245,166,35,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(245,166,35,0.06) 1px, transparent 1px); background-size: 60px 60px; mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 30%, transparent 100%); }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; color: var(--white); max-width: 700px; margin: 0 auto 20px; position: relative; z-index: 1; }
.page-hero p { font-size: 18px; color: var(--muted); max-width: 520px; margin: 0 auto; line-height: 1.7; position: relative; z-index: 1; }
.page-hero .accent { background: linear-gradient(90deg, var(--amber), #ff8c42); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* ─── FOOTER ─── */
footer { border-top: 1px solid rgba(255,255,255,0.06); padding: 52px 28px; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; }
.footer-links { display: flex; gap: 24px; list-style: none; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 13px; transition: color 0.2s; }
.footer-links a:hover { color: var(--white); }

/* ─── TOAST ─── */
.toast { position: fixed; bottom: 32px; right: 32px; padding: 16px 24px; border-radius: 14px; font-weight: 700; font-size: 14px; color: white; z-index: 9999; display: flex; align-items: center; gap: 10px; min-width: 280px; box-shadow: 0 8px 30px rgba(0,0,0,0.5); transform: translateX(130%); transition: transform 0.4s cubic-bezier(.4,0,.2,1), opacity 0.4s; opacity: 0; background: linear-gradient(135deg, #00b67a, #008f5e); border-left: 4px solid #4ade80; }
.toast.show { transform: translateX(0); opacity: 1; }
.toast.error { background: linear-gradient(135deg, #ef4444, #c53030); border-left-color: #fc8181; }

/* ─── SCROLL REVEAL ─── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .reservation-wrapper { grid-template-columns: 1fr; }
  .reservation-info { padding: 40px 28px; }
  .reservation-form-area { padding: 36px 28px; }
  .stats-row { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  #brainGrid { grid-template-columns: repeat(2,1fr) !important; }
  .brain-feature-grid { grid-template-columns: 1fr !important; }
}
@media (max-width: 600px) {
  .hero h1 { font-size: 2.4rem; }
  .time-slots { grid-template-columns: repeat(2, 1fr); }
  #brainGrid { grid-template-columns: 1fr !important; }
}

/* ─── LEGAL PAGES (shared by privacy, cgu, cookies, dpa, mentions-legales) ─── */
.legal-wrap {
  max-width: 920px;
  margin: 0 auto;
  padding: 70px 28px 100px;
  position: relative;
  z-index: 1;
}
.legal-wrap h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--white);
  margin: 16px 0 18px;
}
.legal-wrap h1 .accent {
  background: linear-gradient(90deg, var(--amber), #ff8c42);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.legal-meta {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.legal-wrap h2 {
  font-family: 'Syne', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin: 44px 0 14px;
  letter-spacing: -0.01em;
}
.legal-wrap h3 {
  font-family: 'Syne', sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--white);
  margin: 24px 0 10px;
}
.legal-wrap h4 {
  font-family: 'Syne', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--amber);
  margin: 18px 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.legal-wrap p, .legal-wrap li {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 12px;
}
.legal-wrap ul, .legal-wrap ol { padding-left: 22px; margin-bottom: 14px; }
.legal-wrap strong { color: var(--text); font-weight: 600; }
.legal-wrap a { color: var(--amber); text-decoration: none; }
.legal-wrap a:hover { text-decoration: underline; }
.legal-card {
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 22px 26px;
  margin: 20px 0;
}
.legal-card p { margin-bottom: 6px; }
.legal-callout {
  background: rgba(245,158,11,0.06);
  border: 1px solid rgba(245,158,11,0.25);
  border-left: 3px solid var(--amber);
  border-radius: 10px;
  padding: 14px 18px;
  margin: 20px 0;
}
.legal-callout strong { color: var(--amber); }
.legal-toc {
  background: var(--surface2);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 20px 26px;
  margin: 24px 0 36px;
}
.legal-toc h4 {
  margin: 0 0 10px;
  color: var(--white);
  text-transform: none;
  letter-spacing: 0;
}
.legal-toc ol { margin: 0; padding-left: 18px; }
.legal-toc li { margin-bottom: 4px; font-size: 14px; }
.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 20px;
  font-size: 14px;
  background: var(--surface);
  border-radius: 12px;
  overflow: hidden;
}
.legal-table th, .legal-table td {
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  color: var(--muted);
}
.legal-table th {
  background: var(--surface2);
  color: var(--white);
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.legal-table tr:last-child td { border-bottom: none; }

/* ─── COOKIE CONSENT BANNER ─── */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 720px;
  margin: 0 auto;
  background: rgba(14,17,23,0.98);
  border: 1px solid rgba(245,158,11,0.3);
  border-radius: 16px;
  padding: 20px 24px;
  z-index: 500;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  backdrop-filter: blur(20px);
  transform: translateY(120%);
  transition: transform 0.35s ease;
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-banner h4 {
  font-family: 'Syne', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 6px;
}
.cookie-banner p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 14px;
}
.cookie-banner p a { color: var(--amber); text-decoration: underline; }
.cookie-banner-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.cookie-btn {
  flex: 1;
  min-width: 120px;
  padding: 10px 18px;
  border-radius: 10px;
  font-family: 'Syne', sans-serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.05);
  color: var(--white);
  transition: all 0.18s;
}
.cookie-btn:hover { background: rgba(255,255,255,0.12); }
.cookie-btn.primary {
  background: linear-gradient(90deg, var(--amber), #ff8c42);
  color: #000;
  border-color: transparent;
}
.cookie-btn.primary:hover { filter: brightness(1.1); }
.cookie-manage-link {
  position: fixed;
  bottom: 14px;
  left: 14px;
  font-size: 11px;
  color: var(--muted);
  background: rgba(14,17,23,0.85);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 6px 10px;
  border-radius: 8px;
  cursor: pointer;
  z-index: 400;
}
.cookie-manage-link:hover { color: var(--amber); border-color: var(--amber); }
@media (max-width: 600px) {
  .cookie-banner { left: 12px; right: 12px; padding: 16px 18px; }
  .cookie-btn { min-width: 100%; }
}
