/* ==========================================================================
   KATHANA STUDIOS — design system
   Charcoal + amber "tally light". Fraunces (display) / Inter (body) /
   Space Mono (console readouts for time & data).
   ========================================================================== */

:root {
  --bg:        #0c0c0e;
  --bg-2:      #0f0f12;
  --surface:   #16161a;
  --surface-2: #1c1c21;
  --line:      #26262c;
  --line-2:    #33333b;

  --ink:       #f4f1ea;   /* warm white */
  --ink-soft:  #cfccc4;
  --muted:     #918d84;
  --muted-2:   #6c6961;

  --amber:     #f2a93b;   /* tally light */
  --amber-2:   #f7c46b;
  --ember:     #c8531f;   /* deep gradient partner */
  --on-air:    #ff4438;   /* recording red, used sparingly */

  --radius:    18px;
  --radius-sm: 12px;
  --shadow:    0 24px 60px -24px rgba(0,0,0,.75);
  --shadow-sm: 0 10px 30px -14px rgba(0,0,0,.6);

  --display: 'Fraunces', Georgia, serif;
  --body:    'Inter', system-ui, -apple-system, sans-serif;
  --mono:    'Space Mono', ui-monospace, monospace;

  --maxw: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* ---- Typography --------------------------------------------------------- */
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.08; margin: 0; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.6rem, 7vw, 5.2rem); font-optical-sizing: auto; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: 1.28rem; letter-spacing: -0.01em; }

.eyebrow {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--amber);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: '';
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--on-air);
  box-shadow: 0 0 0 0 rgba(255,68,56,.7);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255,68,56,.55); }
  70%  { box-shadow: 0 0 0 9px rgba(255,68,56,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,68,56,0); }
}

.lead { color: var(--ink-soft); font-size: 1.12rem; max-width: 46ch; }
.muted { color: var(--muted); }
.mono  { font-family: var(--mono); }

.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section-head { max-width: 640px; margin-bottom: 46px; }
.section-head h2 { margin: 14px 0 12px; }

/* ---- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--body); font-weight: 600; font-size: .98rem;
  padding: 15px 26px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary {
  background: linear-gradient(135deg, var(--amber), var(--ember));
  color: #1a0f04; box-shadow: 0 14px 34px -12px rgba(242,169,59,.6);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 42px -12px rgba(242,169,59,.7); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--amber); color: var(--amber); }
.btn-wa { background: #1f9d55; color: #fff; }
.btn-wa:hover { background: #23b061; transform: translateY(-2px); }
.btn-block { width: 100%; }
.btn-lg { padding: 17px 32px; font-size: 1.04rem; }

/* ---- Header ------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  backdrop-filter: blur(14px);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); background: color-mix(in srgb, var(--bg) 92%, transparent); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 600; font-size: 1.35rem; letter-spacing: -.02em; }
.brand .dot { width: 11px; height: 11px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 14px var(--amber); }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { color: var(--ink-soft); font-size: .95rem; font-weight: 500; transition: color .18s; }
.nav-links a:hover { color: var(--amber); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; background: none; border: 0; color: var(--ink); font-size: 1.5rem; cursor: pointer; }

/* ---- Hero --------------------------------------------------------------- */
.hero { position: relative; padding: clamp(70px, 11vw, 150px) 0 clamp(60px, 8vw, 110px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 54px; align-items: center; }
.hero h1 { margin: 22px 0 20px; }
.hero h1 .accent { color: var(--amber); font-style: italic; }
.hero .lead { font-size: 1.18rem; max-width: 40ch; }
.hero-cta { display: flex; gap: 14px; margin: 32px 0 26px; flex-wrap: wrap; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.fact { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--ink-soft); font-family: var(--mono); }
.fact i { color: var(--amber); }

.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(900px 500px at 78% 12%, rgba(242,169,59,.16), transparent 60%),
    radial-gradient(700px 600px at 10% 90%, rgba(200,83,31,.12), transparent 60%);
}

/* Signature: studio "stage" card with waveform + on-air light */
.stage {
  position: relative; aspect-ratio: 4/5; border-radius: 26px; overflow: hidden;
  background:
    linear-gradient(180deg, rgba(28,28,33,.4), rgba(12,12,14,.9)),
    repeating-linear-gradient(115deg, #141418 0 2px, #101014 2px 26px);
  border: 1px solid var(--line); box-shadow: var(--shadow);
  display: flex; flex-direction: column; justify-content: space-between; padding: 22px;
}
.stage-top { display: flex; justify-content: space-between; align-items: center; }
.on-air-badge {
  font-family: var(--mono); font-size: .68rem; letter-spacing: .28em; text-transform: uppercase;
  color: #fff; background: rgba(255,68,56,.14); border: 1px solid rgba(255,68,56,.4);
  padding: 7px 12px; border-radius: 999px; display: inline-flex; gap: 9px; align-items: center;
}
.on-air-badge .b { width: 8px; height: 8px; border-radius: 50%; background: var(--on-air); animation: pulse 2s infinite; }
.mic {
  width: 116px; height: 116px; margin: auto; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #2a2a30, #101014);
  border: 1px solid var(--line-2);
  display: grid; place-items: center; color: var(--amber); font-size: 2.6rem;
  box-shadow: inset 0 2px 16px rgba(0,0,0,.6), 0 0 46px -8px rgba(242,169,59,.35);
}
.waveform { display: flex; align-items: flex-end; gap: 4px; height: 54px; justify-content: center; }
.waveform span {
  width: 4px; border-radius: 4px; background: linear-gradient(var(--amber), var(--ember));
  animation: wave 1.3s ease-in-out infinite;
}
@keyframes wave { 0%,100% { height: 18%; opacity:.55 } 50% { height: 100%; opacity:1 } }
@media (prefers-reduced-motion: reduce) {
  .waveform span, .eyebrow::before, .on-air-badge .b { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ---- Booking strip ------------------------------------------------------ */
.strip {
  background: linear-gradient(135deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 34px; display: flex; align-items: center; justify-content: space-between;
  gap: 22px; flex-wrap: wrap; box-shadow: var(--shadow-sm);
}
.strip h3 { font-size: 1.5rem; }
.strip p { margin: 6px 0 0; color: var(--muted); }

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

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; transition: transform .2s, border-color .2s, background .2s;
}
.card:hover { transform: translateY(-4px); border-color: var(--line-2); background: var(--surface-2); }
.card .ico {
  width: 50px; height: 50px; border-radius: 13px; display: grid; place-items: center;
  background: rgba(242,169,59,.1); color: var(--amber); font-size: 1.4rem; margin-bottom: 16px;
  border: 1px solid rgba(242,169,59,.22);
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); margin: 0; font-size: .96rem; }

/* record-type chips */
.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chip {
  display: inline-flex; align-items: center; gap: 10px; padding: 13px 18px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  font-weight: 500; font-size: .95rem; transition: border-color .2s, color .2s;
}
.chip:hover { border-color: var(--amber); color: var(--amber); }
.chip .e { font-size: 1.15rem; }

/* equipment columns */
.equip { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.equip .col { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.equip h3 { font-size: 1.1rem; color: var(--amber); margin-bottom: 14px; font-family: var(--body); font-weight: 700; letter-spacing: 0; }
.equip ul { list-style: none; margin: 0; padding: 0; }
.equip li { padding: 9px 0; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: .95rem; display: flex; gap: 10px; }
.equip li:first-child { border-top: 0; }
.equip li i { color: var(--muted-2); margin-top: 4px; }

/* ---- Pricing ------------------------------------------------------------ */
.price-card {
  max-width: 460px; margin: 0 auto; text-align: center;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line-2); border-radius: 24px; padding: 42px 34px; box-shadow: var(--shadow);
  position: relative; overflow: hidden;
}
.price-card::before { content:''; position:absolute; inset:0 0 auto 0; height:3px; background: linear-gradient(90deg, var(--amber), var(--ember)); }
.price-amount { font-family: var(--display); font-size: 4rem; line-height: 1; margin: 12px 0 4px; }
.price-amount small { font-size: 1.1rem; color: var(--muted); font-family: var(--mono); }
.price-list { list-style: none; padding: 0; margin: 24px 0; text-align: left; }
.price-list li { padding: 10px 0; border-top: 1px solid var(--line); color: var(--ink-soft); display: flex; gap: 12px; }
.price-list li i { color: var(--amber); }

/* ==========================================================================
   BOOKING WIDGET
   ========================================================================== */
.booking-wrap {
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow);
}
.booking-head { padding: 22px 28px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.steps { display: flex; gap: 8px; margin-left: auto; flex-wrap: wrap; }
.step-dot { font-family: var(--mono); font-size: .72rem; color: var(--muted-2); display: flex; align-items: center; gap: 7px; }
.step-dot .n { width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; }
.step-dot.active { color: var(--amber); }
.step-dot.active .n { border-color: var(--amber); background: rgba(242,169,59,.12); color: var(--amber); }
.step-dot.done .n { background: var(--amber); color: #1a0f04; border-color: var(--amber); }

.booking-body { display: grid; grid-template-columns: 340px 1fr; min-height: 420px; }
.booking-cal { padding: 24px; border-right: 1px solid var(--line); }
.booking-slots { padding: 24px; }

/* calendar */
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.cal-head strong { font-family: var(--display); font-size: 1.15rem; }
.cal-nav { background: var(--surface-2); border: 1px solid var(--line); color: var(--ink); width: 34px; height: 34px; border-radius: 9px; cursor: pointer; transition: border-color .2s; }
.cal-nav:hover:not(:disabled) { border-color: var(--amber); color: var(--amber); }
.cal-nav:disabled { opacity: .3; cursor: not-allowed; }
.cal-grid { display: grid; grid-template-columns: repeat(7,1fr); gap: 5px; }
.cal-dow { text-align: center; font-family: var(--mono); font-size: .66rem; color: var(--muted-2); padding: 6px 0; text-transform: uppercase; }
.cal-day {
  aspect-ratio: 1; border: 1px solid transparent; border-radius: 10px; background: transparent;
  color: var(--ink-soft); font-size: .92rem; cursor: pointer; transition: all .15s; font-family: var(--body);
}
.cal-day:hover:not(:disabled) { background: var(--surface-2); border-color: var(--line-2); }
.cal-day.selected { background: linear-gradient(135deg, var(--amber), var(--ember)); color: #1a0f04; font-weight: 700; }
.cal-day.today { border-color: var(--line-2); }
.cal-day:disabled { color: var(--muted-2); opacity: .35; cursor: not-allowed; }
.cal-day.empty { border: 0; cursor: default; }

/* slots */
.slots-title { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 4px; flex-wrap: wrap; gap: 8px; }
.slots-title h3 { font-family: var(--display); }
.slots-hint { color: var(--muted); font-size: .88rem; margin: 0 0 18px; }
.slot-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.slot {
  font-family: var(--mono); font-size: .9rem; padding: 14px 10px; border-radius: 12px; cursor: pointer;
  background: var(--surface-2); border: 1px solid var(--line); color: var(--ink); text-align: center;
  transition: all .15s; position: relative;
}
.slot small { display: block; font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); margin-top: 3px; }
.slot:hover:not(.is-booked):not(.is-blocked):not(.is-closed) { border-color: var(--amber); color: var(--amber); }
.slot.selected { background: linear-gradient(135deg, var(--amber), var(--ember)); color: #1a0f04; border-color: transparent; }
.slot.selected small { color: #4a2f0f; }
.slot.is-booked, .slot.is-blocked, .slot.is-closed { opacity: .45; cursor: not-allowed; text-decoration: none; }
.slot.is-booked small { color: var(--on-air); }
.slot.is-blocked small { color: var(--amber-2); }

.slots-empty { text-align: center; color: var(--muted); padding: 50px 20px; }
.slots-empty i { font-size: 2rem; color: var(--muted-2); display: block; margin-bottom: 12px; }

/* details form */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: .8rem; color: var(--muted); margin-bottom: 6px; font-weight: 500; }
.field label .req { color: var(--amber); }
.field input, .field select, .field textarea {
  width: 100%; background: var(--bg-2); border: 1px solid var(--line); border-radius: 11px;
  color: var(--ink); padding: 13px 14px; font-family: var(--body); font-size: .96rem; transition: border-color .18s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--amber); }
.field textarea { resize: vertical; min-height: 74px; }
.field.err input, .field.err select { border-color: var(--on-air); }

/* summary */
.summary { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.summary h3 { font-family: var(--display); margin-bottom: 14px; }
.summary-row { display: flex; justify-content: space-between; padding: 10px 0; border-top: 1px solid var(--line); font-size: .95rem; }
.summary-row:first-of-type { border-top: 0; }
.summary-row .k { color: var(--muted); }
.summary-row .v { color: var(--ink); font-weight: 600; text-align: right; }
.summary-total { display: flex; justify-content: space-between; margin-top: 12px; padding-top: 14px; border-top: 1px dashed var(--line-2); }
.summary-total .v { font-family: var(--display); font-size: 1.7rem; color: var(--amber); }

.booking-foot { padding: 20px 28px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }

.alert { padding: 13px 16px; border-radius: 11px; font-size: .92rem; margin-bottom: 14px; display: none; }
.alert.show { display: block; }
.alert-err { background: rgba(255,68,56,.1); border: 1px solid rgba(255,68,56,.35); color: #ffb3ad; }
.alert-ok  { background: rgba(31,157,85,.12); border: 1px solid rgba(31,157,85,.4); color: #86e0ac; }

.hidden { display: none !important; }

/* ---- FAQ ---------------------------------------------------------------- */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; text-align: left; background: none; border: 0; color: var(--ink); font-family: var(--display); font-size: 1.15rem; padding: 22px 0; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq-q i { color: var(--amber); transition: transform .25s; flex-shrink: 0; }
.faq-q[aria-expanded="true"] i { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; color: var(--muted); }
.faq-a p { margin: 0 0 22px; }

/* ---- Contact ------------------------------------------------------------ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.contact-lines { list-style: none; padding: 0; margin: 22px 0; }
.contact-lines li { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); align-items: flex-start; }
.contact-lines li i { color: var(--amber); width: 22px; margin-top: 3px; }
.map-embed { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; height: 100%; min-height: 320px; }
.map-embed iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.4) contrast(1.05); }

/* ---- Footer ------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 40px; color: var(--muted); }
.footer-grid { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; }
.footer-grid .brand { color: var(--ink); }
.footer-social { display: flex; gap: 12px; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink-soft); transition: all .18s; }
.footer-social a:hover { border-color: var(--amber); color: var(--amber); }
.footer-legal { margin-top: 26px; font-size: .82rem; color: var(--muted-2); border-top: 1px solid var(--line); padding-top: 22px; }

/* ---- Mobile sticky bar -------------------------------------------------- */
.mobile-bar { display: none; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .stage { max-width: 380px; margin: 0 auto; }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .equip { grid-template-columns: repeat(2,1fr); }
  .booking-body { grid-template-columns: 1fr; }
  .booking-cal { border-right: 0; border-bottom: 1px solid var(--line); }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; position: absolute; top: 74px; left: 0; right: 0;
    background: var(--bg-2); border-bottom: 1px solid var(--line); padding: 18px 22px; gap: 18px; z-index: 50;
  }
  .nav-cta .btn-ghost { display: none; }
  .grid-3, .grid-4, .grid-2, .equip { grid-template-columns: 1fr; }
  .slot-grid { grid-template-columns: repeat(2,1fr); }
  .form-row { grid-template-columns: 1fr; }
  .strip { flex-direction: column; align-items: flex-start; text-align: left; }
  .price-amount { font-size: 3.2rem; }
  .booking-foot { flex-direction: column; }
  .booking-foot .btn { width: 100%; }

  /* sticky bottom CTA */
  .mobile-bar {
    display: flex; gap: 10px; position: fixed; bottom: 0; left: 0; right: 0; z-index: 70;
    padding: 12px 14px calc(12px + env(safe-area-inset-bottom, 0)); 
    background: color-mix(in srgb, var(--bg) 92%, transparent);
    backdrop-filter: blur(12px); border-top: 1px solid var(--line);
  }
  .mobile-bar .btn { flex: 1; padding: 14px; }
  body { padding-bottom: 78px; }
}
