:root{
  --bg: #08110b; 
  --surface: rgba(255,255,255,0.04);
  --surface-hover: rgba(255,255,255,0.08);
  --border: rgba(226, 239, 184, 0.15);
  --border-strong: rgba(226, 239, 184, 0.3);
  --text: #f4f7f0;
  --text-muted: #8a998c;
  --brand: #e2efb8; 
  --brand-glow: rgba(226, 239, 184, 0.15); 
  --success: #6ee7b7;
  --danger: #f87171;
  --radius: 20px;
  --radius-sm: 12px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
*{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior:smooth; color-scheme:dark; scroll-padding-top:116px; }
html[data-step="2"]{ scroll-padding-bottom:calc(108px + env(safe-area-inset-bottom, 0px)); }
body{
  font-family:'Inter',sans-serif;
  background:var(--bg);
  color:var(--text);
  min-height:100vh;
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
  padding-bottom: 36px;
}
html[data-step="2"] body{ padding-bottom:calc(134px + env(safe-area-inset-bottom, 0px)); }
[hidden]{ display: none !important; }

/* ===== BACKGROUND ===== */
.bg-wrap{position:fixed; inset:0; z-index:-1; overflow:hidden; background:radial-gradient(ellipse at top, #0f1a12 0%, #08110b 55%, #040806 100%);}
.blob{position:absolute; border-radius:50%; filter:blur(100px); opacity:0.15; }
.blob-1{ width:500px; height:500px; background:radial-gradient(circle, var(--brand), transparent 70%); top:-100px; left:-100px; }
.blob-2{ width:600px; height:600px; background:radial-gradient(circle, #6ee7b7, transparent 70%); top:20%; right:-200px; animation-delay:-7s;}
.blob-3{ width:400px; height:400px; background:radial-gradient(circle, #65a30d, transparent 70%); bottom:10%; left:20%; animation-delay:-14s;}
@keyframes float{
  0%,100%{ transform: translate(0,0) scale(1); }
  33%{ transform: translate(30px,-40px) scale(1.1); }
  66%{ transform: translate(-20px,30px) scale(0.95); }
}
.grain{position:fixed; inset:0; z-index:-1; opacity:0.03; pointer-events:none;
  background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ===== TOPBAR & LOGO ===== */
.topbar{
  position:sticky; top:0; z-index:50;
  display:flex; align-items:center; justify-content:space-between;
  padding: 9px 32px;
  background: rgba(8,17,11,0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.brand-link{
  display:block; position:relative; flex:none; width:154px; height:86px;
  overflow:hidden; border-radius:14px; background:#2e502f;
}
.brand-logo{
  display:block; position:absolute; inset:50% auto auto 50%; width:115%; height:auto;
  transform:translate(-50%, -56.3%);
}
.brand-link::after{
  content:''; position:absolute; inset:0; pointer-events:none;
  background:linear-gradient(115deg, transparent 28%, #e2efb84d 50%, transparent 72%);
  transform:translateX(-110%); animation:brand-sweep 850ms var(--ease) 120ms;
}
@keyframes brand-sweep{ to{ transform:translateX(110%); } }

.startup-status{
  position:absolute; top:calc(100% + 8px); left:clamp(20px, 3vw, 32px); pointer-events:none;
}
.startup-status:not(:empty){
  display:flex; align-items:center; gap:9px; padding:9px 13px; border-radius:999px;
  border:1px solid var(--border-strong); background:#102017; color:var(--brand); font-size:12px;
}
.startup-status:not(:empty)::before{
  content:''; width:8px; height:8px; flex:none; border-radius:50%; background:var(--brand);
  box-shadow:0 0 10px var(--brand-glow); animation:startup-pulse 900ms ease-in-out infinite alternate;
}
@keyframes startup-pulse{ to{ opacity:0.35; transform:scale(0.75); } }

.stepper{ display:flex; gap:8px; align-items:center; }
.stepper .step{
  padding: 6px 14px; border-radius:999px; font-size: 12px; font-weight:500;
  color: var(--text-muted); transition: all 0.3s var(--ease); white-space: nowrap; cursor: pointer;
}
.stepper .step.active{ color: var(--bg); background: var(--brand); border: 1px solid var(--brand); }
.stepper .step.done{ color: var(--brand); }
.stepper .step.done::before{ content:'✓ '; color: var(--brand); }

/* ===== CONTAINER ===== */
.container{ max-width: 1240px; margin: 0 auto; padding: 0 32px; }

/* ===== HERO ===== */
.hero{ display:flex; flex-direction:column; justify-content:center; padding:32px 32px 20px; position:relative; }
.hero-bg{
  position: absolute; inset: 0; z-index: -1;
  background-image: url('../images/mood-wedding-sunset-thumb.webp');
  background-size: cover; background-position: center; opacity: 0.15;
  mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
}
.hero-bg::after{ content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(8,17,11,0.95), transparent 60%); }
.hero-tag{
  display:inline-flex; align-items:center; gap:8px; padding: 6px 14px; border-radius:999px;
  background: rgba(226, 239, 184, 0.1); border: 1px solid var(--border-strong);
  font-size: 12px; font-weight: 500; color: var(--brand); width: fit-content; margin-bottom: 28px;
  opacity: 0; animation: fadeUp 0.8s var(--ease) 0.1s forwards;
}
.hero-tag::before{ content:''; width:6px; height:6px; border-radius:50%; background:var(--brand); box-shadow:0 0 12px var(--brand); animation:pulse 2s infinite;}
@keyframes pulse{ 50%{ opacity:0.4; } }

.hero-title{ font-size: clamp(34px, 5.6vw, 72px); line-height: 1.1; font-weight: 700; letter-spacing: -0.03em; margin-bottom: 12px; text-wrap:balance; }
.mask{ display:block; padding-bottom: 0.1em; }
.mask-inner{ display:block; opacity: 0; transform: translateY(30px); animation: reveal 1s var(--ease) forwards; }
.mask:nth-child(1) .mask-inner{ animation-delay: 0.2s; }
.mask:nth-child(2) .mask-inner{ animation-delay: 0.35s; }
.hero-title em{ font-family:'Instrument Serif', serif; font-style: italic; font-weight: 400; color: var(--brand); }
@keyframes reveal{ to{ opacity: 1; transform: translateY(0); } }
@keyframes fadeUp{ from{opacity:0; transform:translateY(20px);} to{opacity:1; transform:translateY(0);} }

.hero-sub{
  font-size: clamp(16px, 1.6vw, 20px); color: var(--text-muted); max-width: 560px;
  margin-bottom: 20px; line-height: 1.55;
}

/* ===== EVENT TYPES ===== */
.event-types{
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  max-width: 960px;
}
.event-card{
  position: relative; padding: 0; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  color: var(--text); text-align: left; cursor: pointer; font-family: inherit;
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s; overflow: hidden; display: flex; flex-direction: column;
}
.event-card:hover{ transform: translateY(-4px); border-color: var(--border-strong); box-shadow: 0 10px 30px -10px rgba(0,0,0,0.5); }
.event-card.selected{
  border-color: var(--brand); background: rgba(226, 239, 184, 0.08);
  box-shadow: 0 0 0 1px var(--brand), 0 10px 30px -15px var(--brand-glow);
}
.event-thumb{ height: 130px; position: relative; transition: transform 0.5s ease; overflow:hidden; }
.event-thumb img{ display:block; width:100%; height:100%; object-fit:cover; }
.event-card:hover .event-thumb { transform: scale(1.05); }
.event-thumb::after{ content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 10%, rgba(8,17,11,0.95) 100%); }
.event-body{ padding: 14px 18px 20px; position: relative; z-index: 1; margin-top: -30px; display: flex; flex-direction: column; gap: 6px; }
.event-icon{
  width: 40px; height: 40px; border-radius: 12px;
  background: rgba(8,17,11,0.6); border: 1px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center;
  color: var(--brand); margin-bottom: 8px; backdrop-filter: blur(10px);
  transition: all 0.3s var(--ease);
}
.event-card.selected .event-icon { background: var(--brand); color: var(--bg); border-color: var(--brand); }
.event-icon svg { width: 20px; height: 20px; stroke-width: 1.5; }
.event-name{ font-size: 16px; font-weight: 650; }
.event-card p{ font-size: 12px; color: var(--text-muted); line-height: 1.4; }

.hero-cta{
  display: inline-flex; align-items: center; gap: 12px; margin-top: 18px;
  padding: 18px 32px; border-radius: 999px; background: var(--brand); color: var(--bg);
  border: none; font-family: inherit; font-size: 15px; font-weight: 600; cursor: pointer; width: fit-content;
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
  box-shadow: 0 10px 40px -10px var(--brand-glow);
}
.hero-cta:hover{ box-shadow: 0 15px 40px -10px rgba(226, 239, 184, 0.4); transform: translateY(-2px) !important; }
.hero-cta svg{ transition: transform 0.3s; }
.hero-cta:hover svg{ transform: translateX(4px); }

/* ===== STEP SECTIONS ===== */
.step-section{ padding: 40px 0 20px; animation: slideUpFade 0.6s var(--ease) forwards; }
@keyframes slideUpFade{ from{ opacity: 0; transform: translateY(20px); } to{ opacity: 1; transform: translateY(0); } }
.step-head{ margin-bottom: 32px; }
.step-eyebrow{ font-size: 12px; font-weight: 500; color: var(--brand); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 12px; }
.step-title{ font-size: clamp(28px, 4vw, 44px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 12px; }
.step-title em{ font-family: 'Instrument Serif', serif; font-style: italic; font-weight: 400; color: var(--brand); }
.step-desc{ color: var(--text-muted); font-size: 15px; max-width: 600px; line-height: 1.6; }

/* ===== BENTO GRID (SPOTLIGHT & LIFT) ===== */
.bento-grid{ display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.bento-card{
  position: relative;
  padding: 0; border-radius: var(--radius); background: var(--surface);
  border: 1px solid var(--border); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  display: flex; flex-direction: column; 
  /* Transition mượt cho việc nổi lên */
  transition: opacity 0.5s var(--ease), transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s; 
  overflow: hidden;
}
.bento-card.in{ opacity: 1; transform: translateY(0); }
.bento-card[data-size="lg"]{ grid-column: span 6; }
.bento-card[data-size="md"]{ grid-column: span 4; }
.bento-card[data-size="sm"]{ grid-column: span 3; }
.bento-card[data-size="full"]{ grid-column: span 12; }
.bento-card.disabled{ border-color: var(--border); }
.bento-card.disabled .card-thumb{ opacity: 0.83; }

/* Lớp phủ Spotlight (Vệt sáng theo chuột) */
.bento-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(
    600px circle at var(--mouse-x, 0) var(--mouse-y, 0),
    rgba(226, 239, 184, 0.08),
    transparent 40%
  );
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

/* Hover state: Nổi lên & hiện Spotlight */
.bento-card:not(.disabled):hover { 
  transform: translateY(-4px); 
  border-color: var(--border-strong); 
  box-shadow: 0 15px 35px -10px rgba(0,0,0,0.4); 
}
.bento-card:not(.disabled):hover::before {
  opacity: 1;
}

.card-thumb{ 
  height: clamp(132px, 16vw, 176px); position: relative; flex-shrink: 0; overflow: hidden;
}
.card-thumb::after{ content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 68%, rgba(8,17,11,0.92) 100%); }

.card-body{ padding: 16px 18px 18px; margin-top: -30px; position: relative; z-index: 1; display: flex; flex-direction: column; flex: 1; }

.card-head{ display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.cat-tag{ display: inline-block; font-size: 10px; font-weight: 500; color: var(--brand); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 4px; }
.card-head h3{ font-size: 15px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
.card-hint{ font-size: 12px; color: var(--text-muted); line-height: 1.5; margin-bottom: 14px; }

/* Nút Option */
.options{ display: flex; flex-direction: column; gap: 8px; margin-top: auto; position: relative; z-index: 2; }
.opt{
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 14px; background: rgba(255,255,255,0.02); border: 1px solid var(--border);
  border-radius: var(--radius-sm); color: var(--text); font-family: inherit; font-size: 13px;
  text-align: left; cursor: pointer; transition: all 0.2s var(--ease); position: relative; overflow: hidden;
}
.opt:hover{ background: rgba(255,255,255,0.06); border-color: var(--border-strong); }
.opt.active{ background: rgba(226, 239, 184, 0.12); border-color: var(--brand); color: var(--brand); box-shadow: inset 0 0 10px rgba(226, 239, 184, 0.05); }
.opt.active .opt-price{ color: var(--brand); font-weight: 600; }
.opt-name{ font-weight: 500; }
.opt-price{ font-variant-numeric: tabular-nums; font-size: 12px; color: var(--text-muted); white-space: nowrap; transition: color 0.2s; }

/* ===== TOGGLE ===== */
.switch{ position: relative; width: 40px; height: 22px; flex-shrink: 0; }
.switch input{ opacity: 0; width: 0; height: 0; }
.slider{ position: absolute; inset: 0; background: rgba(255,255,255,0.1); border-radius: 22px; cursor: pointer; transition: 0.3s var(--ease); }
.slider::before{ content:''; position:absolute; width: 16px; height: 16px; left: 3px; top: 3px; background: #f4f7f0; border-radius: 50%; transition: 0.3s var(--ease); }
.switch input:checked + .slider{ background: var(--brand); }
.switch input:checked + .slider::before{ transform: translateX(18px); background: var(--bg); }

/* ===== BUDGET BAR ===== */
.budget-bar{
  position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 200%);
  visibility: hidden;
  display: flex; align-items: center; gap: 12px; padding: 12px 14px 12px 24px;
  background: rgba(10, 20, 14, 0.85); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-strong); border-radius: 999px;
  box-shadow: 0 20px 60px -10px rgba(0,0,0,0.8), 0 0 0 1px var(--border);
  transition: transform 0.5s var(--spring); z-index: 40; min-width: 420px;
}
.budget-bar.visible{ visibility: visible; transform: translate(-50%, 0); }
.bb-info{ display:flex; flex-direction: column; gap: 2px; flex: 1; }
.bb-info span{ font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 500; }
.amount{ position:relative; isolation:isolate; font-size:22px; font-weight:700; font-variant-numeric:tabular-nums; letter-spacing:-0.02em; color:var(--brand); }
.budget-glow{
  position:absolute; inset:-2px -4px; z-index:-1; opacity:0; pointer-events:none; border-radius:8px;
  background:#e2efb826; box-shadow:0 0 14px #e2efb847;
}
.item-highlight{
  position:absolute; inset:0; z-index:3; border:2px solid var(--brand); border-radius:inherit;
  opacity:0; box-shadow:inset 0 0 15px #e2efb83a; pointer-events:none;
}
.amount small{ font-size: 13px; color: var(--text-muted); font-weight: 500; margin-left: 4px; }
.btn-primary{
  padding: 14px 24px; border-radius: 999px; border: none; background: var(--brand); color: var(--bg);
  font-family: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px; transition: all 0.2s var(--ease); white-space: nowrap;
}
.btn-primary:hover{ box-shadow: 0 5px 15px -5px var(--brand-glow); }
.btn-secondary{
  padding: 14px 20px; border-radius: 999px; border: 1px solid var(--border-strong);
  background: transparent; color: var(--text); font-family: inherit; font-size: 14px; font-weight: 500; cursor: pointer; transition: all 0.2s; white-space: nowrap;
}
.btn-secondary:hover{ background: rgba(255,255,255,0.06); border-color: var(--text-muted); }

/* ===== BREAKDOWN ===== */
.breakdown{ display: grid; gap: 20px; grid-template-columns: minmax(0,2fr) minmax(0,1fr); grid-template-areas: "details total"; align-items: start; }
.quote-details{ grid-area: details; display: grid; gap: 20px; }
.breakdown-list, .consult-card{ padding: 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.consult-card{ scroll-margin-top: 0; }
.consult-card h3{ font-size: 17px; }
.bd-item{ display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px dashed var(--border); font-size: 14px; }
.bd-item:last-child{ border-bottom: none; }
.bd-item .bd-name{ color: var(--text-muted); font-size: 13px; display:block; margin-top:2px; }
.bd-item .bd-opt{ color: var(--text); font-weight: 500; font-size: 14px; }
.bd-item .bd-price{ font-variant-numeric: tabular-nums; font-weight: 600; color: var(--text); white-space: nowrap; }
.bd-item.disabled{ opacity: 0.4; }
.bd-item.disabled .bd-price{ color: var(--text-muted); font-weight: 400; }

.summary-card{
  padding: 24px; border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(226, 239, 184, 0.08), rgba(226, 239, 184, 0.01));
  border: 1px solid var(--border-strong); grid-area: total; position: sticky; top: 112px;
}
.summary-card h3{ font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--brand); margin-bottom: 14px; font-weight: 500; }
.summary-total{ font-size: 32px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--brand); letter-spacing: -0.02em; margin-bottom: 6px; }
.summary-total small{ font-size: 14px; color: var(--text-muted); font-weight: 500; }
.summary-meta{ font-size: 12px; color: var(--text-muted); margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--border); line-height: 1.5; }
.summary-actions{ display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.summary-actions > *{ width: 100%; justify-content: center; }
.summary-actions a{ text-decoration: none; }

/* ===== TOAST ===== */
.toast-container{ position: fixed; top: 90px; right: 24px; z-index: 100; display: flex; flex-direction: column; gap: 10px; }
.toast{
  padding: 14px 18px; background: rgba(10, 20, 14, 0.9); backdrop-filter: blur(20px);
  border: 1px solid var(--border-strong); border-radius: var(--radius-sm); font-size: 13px; color: var(--text);
  display: flex; align-items: center; gap: 10px; animation: toastIn 0.4s var(--ease); box-shadow: 0 10px 30px -10px rgba(0,0,0,0.8);
}
.toast.success{ border-color: rgba(110,231,183,0.4); }
.toast.success::before{ content:'✓'; color: var(--success); font-weight:700; }
.toast.error{ border-color: rgba(248,113,113,0.4); }
.toast.error::before{ content:'!'; color: var(--danger); font-weight:700; }
@keyframes toastIn{ from{ opacity:0; transform: translateX(30px); } to{ opacity:1; transform: translateX(0); } }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px){
  .bento-card[data-size="lg"]{ grid-column: span 12; }
  .bento-card[data-size="md"]{ grid-column: span 6; }
  .bento-card[data-size="sm"]{ grid-column: span 6; }
  .bento-card[data-size="full"]{ grid-column: span 12; }
  .breakdown{ grid-template-columns: minmax(0,1fr); grid-template-areas: "total" "details"; }
  .summary-card{ position: static; }
}
@media (max-width: 768px){
  .container{ padding: 0 20px; }
  .topbar{ padding: 8px 20px; }
  .stepper .step{ padding: 4px 10px; font-size: 11px; }
  .event-types{ grid-template-columns: repeat(2, 1fr); }
  .bento-card[data-size="md"], .bento-card[data-size="sm"]{ grid-column: span 12; }
  .budget-bar{ min-width: auto; width: calc(100% - 32px); left: 16px; right: 16px; transform: translate(0, 200%); padding: 10px 10px 10px 18px; gap: 10px; }
  .budget-bar.visible{ transform: translate(0, 0); }
  .amount{ font-size: 18px; }
  .btn-primary{ padding: 12px 16px; font-size: 13px; }
  .step-section{ padding: 24px 0; }
  .toast-container{ left: 16px; right: 16px; top: auto; bottom: 100px; }
  .brand-link{ width:125px; height:72px; border-radius:12px; }
}
@media (max-width: 480px){
  .stepper .step:not(.active){ display: none; }
  .hero-title{ font-size: 36px; }
  .summary-total{ font-size: 26px; }
  .event-types{ grid-template-columns: 1fr 1fr; }
}

.event-fields, .contact-form{display:grid; gap:16px; color-scheme:dark;}
.event-fields{grid-template-columns:repeat(2,minmax(0,1fr)); width:min(100%,560px); margin-top:16px;}
.event-fields label, .contact-form label{font-size:14px; line-height:1.5; font-weight:500;}
.event-fields small, .contact-form small{font-size:12px; color:var(--text-muted); font-weight:400;}
.event-fields input, .contact-form input, .contact-form textarea{
  display:block; width:100%; min-width:0; margin:6px 0 3px; padding:11px 12px;
  color:var(--text); background:#111c14; border:1px solid var(--border-strong); border-radius:10px; font:inherit;
}
.date-control{ position:relative; display:flex; align-items:stretch; gap:6px; }
.date-control #date{ flex:1; }
.date-control button{
  margin:6px 0 3px; padding:0 10px; border:1px solid var(--border-strong); border-radius:10px;
  background:var(--surface-hover); color:var(--brand); font:inherit; font-size:12px; cursor:pointer; white-space:nowrap;
}
.date-control button:hover{ border-color:var(--brand); }
.calendar-dialog{
  position:fixed; inset:0; margin:auto; width:min(390px, calc(100% - 24px));
  max-height:calc(100dvh - 24px); overflow:auto; padding:18px;
  color:var(--text); color-scheme:dark; background:#111d14;
  border:1px solid var(--border-strong); border-radius:var(--radius); box-shadow:0 20px 65px #0009;
}
.calendar-dialog::backdrop{ background:#040906b8; }
.calendar-header, .calendar-footer{ display:flex; align-items:center; justify-content:space-between; gap:10px; }
.calendar-header{ margin-bottom:16px; }
.calendar-header h2{ font-size:18px; letter-spacing:-.02em; }
.calendar-navigation{ display:grid; grid-template-columns:40px minmax(0,1fr) minmax(0,5rem) 40px; gap:6px; }
.calendar-navigation :is(select,input), .calendar-icon, .calendar-action{
  min-height:40px; min-width:0; color:var(--text); background:var(--surface);
  border:1px solid var(--border-strong); border-radius:10px; font:inherit;
}
.calendar-navigation :is(select,input){ padding:0 8px; font-size:14px; }
.calendar-navigation input{ appearance:textfield; }
.calendar-navigation input::-webkit-inner-spin-button{ appearance:none; }
.calendar-icon{ width:40px; font-size:23px; line-height:1; cursor:pointer; }
.calendar-icon:disabled{ opacity:.35; cursor:default; }
.calendar-grid{ width:100%; margin:12px 0; table-layout:fixed; border-spacing:2px; }
.calendar-grid th{ font-size:11px; color:var(--text-muted); font-weight:600; padding-bottom:6px; }
.calendar-grid td{ height:41px; text-align:center; }
.calendar-grid button{
  width:100%; min-height:41px; border:1px solid transparent; border-radius:10px;
  color:var(--text); background:transparent; font:inherit; font-size:14px; font-variant-numeric:tabular-nums; cursor:pointer;
}
.calendar-grid button[aria-current="date"]{ border-color:var(--border-strong); color:var(--brand); }
.calendar-grid button[aria-pressed="true"]{ background:var(--brand); color:var(--bg); font-weight:700; }
.calendar-grid button:focus-visible{ outline-offset:0; }
.calendar-grid button:not([aria-pressed="true"]):hover, .calendar-icon:not(:disabled):hover, .calendar-action:not(.today-action):hover{
  border-color:var(--border-strong); background:var(--surface-hover);
}
.calendar-footer{ padding-top:12px; border-top:1px solid var(--border); }
.calendar-action{ padding:0 14px; font-size:13px; font-weight:600; cursor:pointer; }
.calendar-action.today-action{ color:var(--bg); background:var(--brand); border-color:var(--brand); }
.calendar-action.today-action:hover{ filter:brightness(1.08); }
.contact-form textarea{resize:vertical;}
.contact-form{grid-template-columns:repeat(2,minmax(0,1fr));margin:20px 0;}
.contact-form .contact-note, .contact-actions, .contact-form > small{grid-column:1 / -1;}
.contact-actions{display:flex; flex-wrap:wrap; gap:10px;}
.contact-form button{justify-content:center;}
.contact-info, .quote-notes, .explain{color:var(--text-muted); font-size:13px; line-height:1.6;}
.contact-info{margin-top:20px; font-style:normal;}
.contact-info a, .scope, .explain summary{color:var(--brand);}
.quote-notes p + p, .explain p{margin-top:8px;}
.explain{margin-bottom:16px;}
.explain summary{cursor:pointer;}
.scope{margin:-12px 0 24px; font-size:14px;}
.card-thumb img{width:100%; height:100%; object-fit:cover; object-position:50% 60%; display:block;}
.bento-card[data-cat-id="other"] .card-thumb img{object-position:50% 27%;}
.bento-card[data-cat-id="meal"] .card-thumb img{object-position:50% 50%;}
.bento-card[data-cat-id="bubbles"] .card-thumb img,
.bento-card[data-cat-id="smoke"] .card-thumb img{object-position:50% 76%;}
.stepper button{border:0; background:transparent; font-family:inherit;}
.stepper button:disabled{cursor:default; opacity:1;}
.opt{line-height:1.45;}
.bb-info #budgetNum{font:inherit; color:inherit; letter-spacing:inherit;}
.switch input:focus-visible + .slider, :is(button,input,select,textarea,summary,a):focus-visible{outline:2px solid var(--brand); outline-offset:3px;}
@media (min-width:769px){.hero{padding-inline:32px;}}
@media (max-width:768px){
  .hero{padding:30px 20px;}
  .bento-card{backdrop-filter:none; -webkit-backdrop-filter:none;}
}
@media (max-width:480px){
  .event-fields, .contact-form{grid-template-columns:1fr; gap:12px;}
  .budget-bar{padding-inline:12px;gap:6px;}
  .budget-bar button{padding:10px;font-size:12px;}
  .calendar-dialog{padding:14px;}
  .calendar-navigation{grid-template-columns:40px minmax(0,1fr) 56px 40px;}
  .calendar-navigation :is(select,input){padding-inline:6px; font-size:13px;}
}
@media (prefers-reduced-motion:reduce){
  .brand-link::after, .startup-status:not(:empty)::before{animation:none;}
  *, *::before, *::after{animation-duration:.01ms !important; animation-delay:0s !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; scroll-behavior:auto !important;}
}
/* Planner controls and accessible feedback */
.skip-link{
  position:fixed; top:8px; left:8px; z-index:110; padding:10px 14px;
  border-radius:8px; background:var(--brand); color:var(--bg); transform:translateY(-140%);
}
.skip-link:focus{ transform:none; }
.mobile-progress{ display:none; }
.field-error{ color:#ffaaaa; font-size:13px; line-height:1.4; }
.field-error:not(:empty){ margin-top:6px; }
[aria-invalid="true"]{ border-color:var(--danger) !important; }
.text-action{
  display:inline-flex; align-items:center; justify-content:center; min-height:40px;
  padding:5px 8px; border:0; border-radius:8px; color:var(--brand);
  background:transparent; font:inherit; font-size:13px; text-decoration:underline; text-underline-offset:3px; cursor:pointer;
}
.text-action:hover{ background:var(--surface-hover); }
.utility-actions, .planner-tools, .catalog-controls, .group-links, .preset-row{
  display:flex; align-items:center; flex-wrap:wrap; gap:8px 12px;
}
.planner-tools{ justify-content:space-between; }
.planner-tools .scope{ margin:0; }
.preset-row{ margin:14px 0; }
.preset-details > summary, .package-summary, .mobile-group-select{ display:none; }
.preset-row select, .mobile-group-select{
  min-height:44px; max-width:100%; padding:8px 12px; background:#111c14;
  color:var(--text); border:1px solid var(--border-strong); border-radius:10px; font:inherit; font-size:14px;
}
.package-options{ margin-top:auto; }
.catalog-controls{ align-items:flex-start; justify-content:space-between; padding:12px 0 18px; }
.group-links{ max-width:100%; }
.group-link{
  display:inline-flex; align-items:center; min-height:38px; padding:6px 10px; border-radius:999px;
  border:1px solid var(--border-strong); color:var(--brand); font-size:12px; text-decoration:none;
}
.group-link:hover, #chosenFilter[aria-pressed="true"]{ background:var(--surface-hover); border-color:var(--brand); }
.catalog-notice:not(:empty), .empty-card{
  padding:12px 16px; border:1px solid var(--border-strong); border-radius:12px;
  background:#15251a; color:var(--brand); font-size:14px; line-height:1.5;
}
.catalog-notice:not(:empty){ margin-bottom:16px; }
.catalog-group{ margin-bottom:28px; }
.catalog-group h3{ margin:0 0 12px; font-size:clamp(20px,3vw,25px); }
.catalog-group .bento-grid{ grid-template-columns:repeat(3,minmax(0,1fr)); }
.catalog-group:last-child .bento-grid{ grid-template-columns:minmax(0,1fr); }
.card-head h4{ font-size:16px; font-weight:650; line-height:1.35; }
.card-hint{ font-size:13px; }
.item-state:not(:empty){
  flex:none; padding:4px 7px; border:1px solid var(--border-strong);
  border-radius:999px; color:var(--brand); font-size:11px; white-space:nowrap;
}
.item-change:not(:empty), .menu-note{
  color:var(--brand); font-size:12px; line-height:1.45; margin-bottom:10px;
}
.menu-note{ color:var(--text-muted); }
.opt{ min-height:44px; transition:background-color .2s, border-color .2s, color .2s; }
.opt-name{ min-width:0; }
.opt-price{ margin-left:auto; text-align:right; }
.price-tag{ display:block; color:var(--text-muted); font-size:11px; }
.budget-bar{ bottom:calc(18px + env(safe-area-inset-bottom, 0px)); }
.bb-info{ min-width:0; }
.amount #budgetNum.is-status{ display:block; font-size:13px; line-height:1.3; }
.bd-actions{ display:grid; justify-items:end; }
.bd-actions .text-action{ min-height:32px; }
.summary-card .quote-notes{ overflow-wrap:anywhere; }
.summary-card .export-actions{ margin-top:8px; gap:4px; }
.summary-actions .text-action{ justify-content:center; }
.consult-card figure{ margin-top:12px; }
.consult-card figure img{ max-width:100%; height:auto; border-radius:10px; }
.consult-card figcaption, #venueResources p{ margin-top:8px; font-size:14px; }
#contactStatus{ grid-column:1 / -1; color:var(--brand); font-size:13px; }
#contactStatus:empty{ display:none; }
.toast-container:not(:empty){
  max-width:min(420px, calc(100vw - 32px)); padding:12px 16px; border-radius:12px;
  background:#122517; border:1px solid var(--border-strong); color:var(--brand); font-size:14px;
  pointer-events:none;
}
.panel-dialog{
  position:fixed; inset:0; margin:auto; width:min(460px, calc(100% - 24px)); padding:22px;
  color:var(--text); background:#111d14; border:1px solid var(--border-strong); border-radius:var(--radius);
  max-height:calc(100dvh - 24px); overflow:auto; overscroll-behavior:contain;
}
.panel-dialog::backdrop{ background:#040906b8; }
.panel-dialog h2{ font-size:20px; }
.panel-dialog p, .panel-dialog label{ font-size:14px; line-height:1.55; margin:10px 0; }
.photo-origin{
  position:absolute; top:10px; left:10px; z-index:1; padding:4px 8px;
  border-radius:999px; background:#0b1711e6; color:var(--brand); font-size:11px;
}
.photo-gallery{
  width:min(960px,calc(100% - 24px)); max-height:calc(100dvh - 24px);
}
.gallery-header{ display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:16px; }
.gallery-header h2{ text-wrap:balance; }
.gallery-grid{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin:16px 0 8px; }
.gallery-grid .gallery-tile{
  display:flex; flex-direction:column; gap:0; padding:0; text-align:left; background:var(--surface);
  color:var(--text); border:1px solid var(--border-strong); border-radius:12px; overflow:hidden; cursor:pointer;
}
.gallery-tile:hover, #galleryFilters button[aria-pressed="true"]{ border-color:var(--brand); background:var(--surface-hover); }
#galleryFilters button{ background:var(--surface); cursor:pointer; }
.gallery-tile img{ display:block; width:100%; height:auto; aspect-ratio:16/10; object-fit:cover; }
.gallery-tile span{ padding:9px 11px; font-size:13px; line-height:1.4; }
.gallery-preview img{ display:block; width:100%; max-height:60dvh; object-fit:contain; border-radius:12px; background:#08110b; }
.gallery-preview figcaption{ margin:10px 0; color:var(--text-muted); font-size:14px; line-height:1.45; }
.gallery-nav{ display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:8px; }
.panel-dialog textarea{
  display:block; width:100%; padding:8px 10px; margin:5px 0 10px; resize:vertical;
  font:inherit; font-size:16px; background:#08110b; color:var(--text); border:1px solid var(--border-strong); border-radius:8px;
}
.calendar-dialog{ overscroll-behavior:contain; }
.calendar-grid button[aria-disabled="true"]{ opacity:.5; text-decoration:line-through; }
button, summary, .group-link{ touch-action:manipulation; }
@media (max-width:1024px){
  .catalog-group .bento-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:768px){
  html{ --mobile-header-height:89px; scroll-padding-top:calc(var(--mobile-header-height) + 10px); }
  html[data-step="2"]{ scroll-padding-top:calc(var(--mobile-header-height) + 67px); }
  .wide-step-copy{ display:none; }
  #step-2 .step-head, #step-3 .step-head{ margin-bottom:14px; }
  #step-3 .step-desc{ display:none; }
  .mobile-progress{ display:block; margin-bottom:8px; }
  #step-1{ padding-top:0; }
  .hero{ padding:20px; }
  .hero-sub{ font-size:14px; margin-bottom:14px; }
  .event-types{ gap:10px; }
  .event-thumb{ height:64px; }
  .event-body{ margin-top:-8px; padding:8px 10px 10px; gap:2px; }
  .event-icon{ display:none; }
  .event-name{ font-size:14px; }
  .event-card p{ line-height:1.25; }
  .hero-cta{ padding:12px 16px; margin-top:12px; }
  .event-fields{ margin-top:12px; }
  .event-fields input, .contact-form input, .contact-form textarea{ font-size:16px; }
  .date-control button{ min-height:44px; }
  .planner-tools{ justify-content:flex-start; gap:0 6px; }
  .planner-tools .scope{ flex-basis:100%; }
  .planner-tools .text-action{ min-height:36px; padding-inline:4px; }
  .preset-details > summary{ display:list-item; width:fit-content; min-height:44px; padding:11px 4px; font-size:13px; color:var(--brand); cursor:pointer; }
  .preset-row{ margin:0 0 8px; gap:8px; }
  .preset-row select{ min-width:0; flex:1; font-size:16px; }
  .catalog-controls{
    position:sticky; top:var(--mobile-header-height); z-index:30;
    display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:8px;
    padding:6px 0; margin-bottom:16px; background:var(--bg);
  }
  #groupLinks{ display:none; }
  .mobile-group-select{ display:block; width:100%; min-width:0; font-size:16px; }
  #chosenFilter{ min-height:44px; padding:8px 12px; }
  #chosenFilter[aria-pressed="true"]{ color:var(--bg); background:var(--brand); }
  #chosenFilter[aria-pressed="true"]::before{ content:'✓ '; }
  .catalog-group .bento-grid{ grid-template-columns:minmax(0,1fr); }
  .card-thumb{ height:112px; }
  .package-options{ margin:0 0 12px; }
  .package-summary{
    display:flex; align-items:center; justify-content:space-between; gap:8px; min-height:48px; padding:8px 12px;
    color:var(--brand); border:1px solid var(--border-strong); border-radius:10px; cursor:pointer;
  }
  .package-summary::-webkit-details-marker{ display:none; }
  .package-summary::after{ content:'+'; flex:none; font-size:20px; line-height:1; }
  .package-options[open] .package-summary::after{ content:'−'; }
  .package-current{ display:block; margin-top:3px; color:var(--text-muted); font-size:12px; }
  .package-options .options{ margin-top:8px; }
  .summary-card{ padding:16px; }
  .summary-meta{ margin-bottom:10px; padding-bottom:10px; }
  .summary-actions{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; margin-top:14px; }
  .summary-actions a, .summary-actions button{ min-height:44px; }
  .summary-actions a{ grid-column:1 / -1; }
  .summary-actions button{ padding:8px; font-size:13px; white-space:normal; }
  .contact-actions{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }
  .contact-actions > *{ min-height:44px; padding:8px; white-space:normal; }
  #sendRequest, #openEmail{ grid-column:1 / -1; }
  #sendRequest[hidden] + #openEmail{ color:var(--bg); background:var(--brand); }
  .budget-bar button{ min-height:44px; }
  .toast-container:not(:empty){ top:auto; bottom:calc(102px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width:480px){
  .hero-title{ font-size:clamp(26px,7.5vw,34px); }
  .event-fields{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .date-control{ flex-wrap:wrap; gap:0; }
  .date-control #date{ flex-basis:100%; }
  .date-control button{ margin:0 0 3px; }
  .budget-bar{ gap:6px; }
  .bd-item{ align-items:flex-start; }
  .photo-gallery{ padding:14px; }
  .gallery-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
  .gallery-nav a{ order:3; flex-basis:100%; }
}
@media (max-width:360px){
  .hero{ padding-top:14px; }
  .hero-sub{ display:none; }
  .event-thumb{ height:54px; }
  .event-card p{ display:none; }
  .event-fields{ gap:8px; }
  #step-2{ padding-top:16px; }
  .catalog-controls{ margin-bottom:10px; }
  .catalog-group h3{ margin-bottom:8px; }
  .card-thumb{ height:68px; }
}
@media print{
  @page{ margin:14mm; }
  html, body{ color-scheme:light; background:#fff; color:#18261d; padding:0; overflow:visible; }
  .topbar,.bg-wrap,.grain,.skip-link,#budgetBar,#toastContainer,#consult,#venueResources,.summary-actions,.export-actions,.bd-actions .text-action,dialog{ display:none !important; }
  #step-3,.breakdown,.quote-details{ display:block !important; padding:0; animation:none; }
  .container{ padding:0; }
  #step-3 .step-eyebrow,#step-3 .step-desc{ display:none; }
  #step-3 .step-title::before{ content:'MOOD EVENT'; display:block; font:700 11pt sans-serif; margin-bottom:6pt; }
  #step-3 .step-title{ font-size:22pt; }
  #step-3 :is(.step-title em,.summary-card h3,.summary-total,.summary-meta,.bd-opt,.bd-name,.bd-price,.quote-notes){ color:#18261d; }
  .summary-card,.breakdown-list{ position:static; background:none; box-shadow:none; border:1px solid #bbb; border-radius:4pt; margin-bottom:8pt; padding:8pt 10pt; }
  .summary-card,.bd-item{ break-inside:avoid; }
  .bd-item{ border-color:#bbb; padding:4pt 0; }
  .summary-meta{ margin-bottom:6pt; padding-bottom:5pt; }
  .quote-notes,.bd-item .bd-name{ font-size:9pt; }
  .quote-notes p + p{ margin-top:3pt; }
  .summary-total{ font-size:20pt; }
}
