:root {
  --black: #070604;
  --panel: #17130f;
  --gold: #e9ad46;
  --gold-light: #ffd98d;
  --cream: #f7f0e5;
  --muted: #c2b7a5;
  --line: rgba(233, 173, 70, 0.35);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.58);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  color: var(--cream);
  background: #050403;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  color: #111;
  background: var(--gold-light);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: start center;
  min-height: 100svh;
  overflow: hidden;
  background: #050403;
}

.hero::before {
  content: "";
  position: fixed;
  z-index: -2;
  inset: -32px;
  background:
    linear-gradient(rgba(4, 3, 2, 0.64), rgba(4, 3, 2, 0.82)),
    url("assets/workshop-background-portrait.png") center / cover no-repeat;
  filter: blur(22px) saturate(0.76);
  transform: scale(1.08);
}

.hero::after {
  content: "";
  position: fixed;
  z-index: -1;
  inset: 0;
  background: radial-gradient(circle at center, transparent 35%, rgba(0, 0, 0, 0.52) 100%);
  pointer-events: none;
}

.stage {
  position: relative;
  width: min(100vw, 56.31svh);
  aspect-ratio: 941 / 1671;
  overflow: hidden;
  background: #0a0806 url("assets/workshop-background-portrait.png") center / 100% 100% no-repeat;
  box-shadow: 0 0 90px rgba(0, 0, 0, 0.72);
}

.stage::before {
  content: "";
  position: absolute;
  z-index: 19;
  top: 4.55%;
  left: 53.2%;
  width: 42.8%;
  height: 7.3%;
  border-radius: 999px;
  background: #050403;
  box-shadow: 0 0 20px 14px #050403;
}

.brand-logo,
.contact-hotspot {
  position: absolute;
  z-index: 20;
  cursor: pointer;
}

.brand-logo {
  top: 1.3%;
  left: 5.4%;
  width: 25.8%;
  display: block;
  border-radius: 2px;
}

.brand-logo::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -8% -12%;
  border-radius: 6px;
  background: rgba(5, 4, 3, 0.92);
  box-shadow: 0 0 18px 14px rgba(5, 4, 3, 0.86);
}

.brand-logo img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.65));
}

.contact-hotspot {
  display: grid;
  place-items: center;
  width: 10.2%;
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  color: var(--gold);
  background: transparent;
  box-shadow: none;
  line-height: 1;
  text-decoration: none;
  appearance: none;
}

.contact-hotspot svg {
  width: 78%;
  height: 78%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  overflow: visible;
}

.contact-hotspot__dot,
.contact-hotspot__mark {
  fill: currentColor;
  stroke: none;
}

.contact-hotspot--instagram { top: 4.25%; left: 56.9%; }
.contact-hotspot--whatsapp { top: 4.25%; left: 71.1%; }
.contact-hotspot:hover,
.contact-hotspot:focus-visible,
.brand-logo:focus-visible {
  outline: 1px solid rgba(255, 217, 141, 0.7);
}

.contact-hotspot:hover,
.contact-hotspot:focus-visible {
  background: transparent;
  color: var(--gold-light);
}

.character {
  position: absolute;
  z-index: 7;
  left: 2.5%;
  bottom: 2.8%;
  width: 56%;
  aspect-ratio: 314 / 836;
  pointer-events: none;
}

.character::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 4%;
  left: -7%;
  width: 62%;
  height: 46%;
  border-radius: 44% 34% 36% 46%;
  background: radial-gradient(ellipse at 45% 44%, rgba(3, 3, 2, 0.74) 0 42%, rgba(3, 3, 2, 0.4) 61%, transparent 78%);
  filter: blur(9px);
}

.character::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 20%;
  right: 18%;
  bottom: 4.5%;
  height: 3.5%;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.4);
  filter: blur(7px);
}

.avatar-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.action-board {
  position: absolute;
  z-index: 10;
  top: 43.5%;
  right: 4.2%;
  width: 52.5%;
  padding: 2.7% 3%;
  border: clamp(4px, 0.5svh, 7px) solid #2d2a25;
  border-radius: 2px;
  background:
    linear-gradient(rgba(255,255,255,0.015), transparent),
    repeating-linear-gradient(18deg, rgba(255,255,255,0.012) 0 1px, transparent 1px 5px),
    #10100f;
  box-shadow: inset 0 0 0 1px #5a5348, 0 20px 40px rgba(0,0,0,0.5);
}

.action-board::before {
  content: "";
  position: absolute;
  inset: 2.2%;
  border: 1px solid rgba(233, 173, 70, 0.18);
  pointer-events: none;
}

.action-board__top {
  display: none;
}

.action-board__leg {
  position: absolute;
  z-index: -1;
  bottom: -13%;
  width: 4.3%;
  height: 15%;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, #25231f, #4a453c 40%, #181715);
}
.action-board__leg--left { left: 1.8%; transform: rotate(4deg); }
.action-board__leg--right { right: 1.8%; transform: rotate(-4deg); }

.board-action {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: clamp(45px, 6.7svh, 66px) 1fr 13px;
  gap: clamp(8px, 1.2svh, 13px);
  align-items: center;
  width: 100%;
  min-height: clamp(104px, 13.4svh, 122px);
  padding: 5% 1%;
  border: 0;
  border-radius: 10px;
  text-align: left;
  background: transparent;
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease;
}

.board-action:hover,
.board-action:focus-visible,
.board-action.is-active {
  outline: none;
  background: rgba(233, 173, 70, 0.09);
}

.board-action__icon {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1;
  border: 2px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  transition: color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.board-action:hover .board-action__icon,
.board-action:focus-visible .board-action__icon,
.board-action.is-active .board-action__icon {
  color: #17100a;
  background: var(--gold);
  box-shadow: 0 0 24px rgba(233, 173, 70, 0.24);
}

.board-action__icon svg {
  width: 55%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.board-action__text strong {
  display: block;
  font-size: clamp(1rem, 2.35svh, 1.48rem);
  font-weight: 620;
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.board-action__arrow {
  color: var(--gold);
  font-size: clamp(1rem, 2.2svh, 1.4rem);
  transition: transform 180ms ease;
}
.board-action:hover .board-action__arrow,
.board-action:focus-visible .board-action__arrow { transform: translateX(3px); }

.board-separator {
  display: block;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold) 7% 93%, transparent);
}

.modal {
  width: min(980px, calc(100% - 28px));
  max-height: min(880px, calc(100dvh - 28px));
  padding: 0;
  overflow: auto;
  border: 1px solid rgba(233, 173, 70, 0.48);
  border-radius: 22px;
  color: var(--cream);
  background: transparent;
  box-shadow: var(--shadow);
}
.modal::backdrop { background: rgba(3, 2, 1, 0.82); backdrop-filter: blur(8px); }
.modal[open] { animation: modal-in 260ms ease-out; }

.modal__shell {
  position: relative;
  padding: clamp(28px, 5vw, 58px);
  background:
    radial-gradient(circle at 90% 0%, rgba(233, 173, 70, 0.13), transparent 29%),
    linear-gradient(145deg, #1b1814, #0e0d0b 70%);
}

.modal__shell--about { min-height: 520px; }

.about-content {
  max-width: 760px;
  margin-top: 30px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.72;
}

.about-content__lead {
  margin-top: 0;
  color: var(--cream);
  font-size: clamp(1.2rem, 2.4vw, 1.65rem);
  line-height: 1.4;
}

.about-values {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.about-values span {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--gold-light);
  background: rgba(233, 173, 70, 0.06);
  font-size: 0.82rem;
  font-weight: 700;
}

.modal__close {
  position: absolute;
  z-index: 2;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 50%;
  color: #f6eee2;
  background: rgba(255,255,255,0.04);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color 180ms, color 180ms, transform 180ms;
}
.modal__close:hover { border-color: var(--gold); color: var(--gold); transform: rotate(6deg); }

.modal__eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.modal h2 { margin: 0; max-width: 760px; font-size: clamp(2rem, 5vw, 4.4rem); line-height: 0.95; letter-spacing: -0.055em; }
.modal__intro { max-width: 690px; margin: 18px 0 32px; color: var(--muted); font-size: 1rem; line-height: 1.65; }

.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.service-card {
  position: relative;
  min-height: 180px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  background: rgba(255,255,255,0.035);
  transition: border-color 180ms, transform 180ms, background 180ms;
}
.service-card:hover { border-color: var(--line); background: rgba(233, 173, 70, 0.055); transform: translateY(-3px); }
.service-card > span { position: absolute; top: 12px; right: 16px; color: rgba(233,173,70,0.22); font-size: 2.7rem; font-weight: 900; }
.service-card h3 { position: relative; margin: 44px 0 8px; color: var(--gold-light); font-size: 1.05rem; }
.service-card p { position: relative; margin: 0; color: #bcb2a4; font-size: 0.85rem; line-height: 1.5; }

.modal__footer { display: flex; justify-content: space-between; gap: 24px; align-items: center; margin-top: 24px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1); }
.modal__footer p { max-width: 480px; margin: 0; color: #bdb2a2; font-size: 0.88rem; line-height: 1.5; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 52px;
  padding: 0 22px;
  border: 0;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms, filter 180ms, box-shadow 180ms;
}
.button:hover { transform: translateY(-2px); filter: brightness(1.08); box-shadow: 0 12px 30px rgba(233,173,70,0.2); }
.button--gold { color: #15100a; background: linear-gradient(135deg, #ffd477, #d8922f); }

.modal__shell--booking { min-height: 620px; }
.booking-heading { max-width: 680px; }
.booking-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.booking-form label { display: grid; gap: 7px; }
.booking-form label > span { color: #d8cdbd; font-size: 0.78rem; font-weight: 750; }
.booking-form input, .booking-form select, .booking-form textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 9px;
  outline: none;
  color: #f7f0e5;
  background: rgba(255,255,255,0.055);
  transition: border-color 180ms, box-shadow 180ms;
}
.booking-form input, .booking-form select { height: 52px; padding: 0 15px; }
.booking-form textarea { padding: 14px 15px; resize: vertical; }
.booking-form select option { color: #111; }
.booking-form input:focus, .booking-form select:focus, .booking-form textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(233,173,70,0.12); }
.booking-form__wide { grid-column: 1 / -1; }
.form-note { margin: -8px 0 0; color: #8e857a; font-size: 0.7rem; text-align: center; }

.booking-success { display: grid; justify-items: center; max-width: 560px; margin: 50px auto; text-align: center; }
.booking-success__check { display: grid; place-items: center; width: 72px; height: 72px; border: 2px solid var(--gold); border-radius: 50%; color: var(--gold); font-size: 2rem; box-shadow: 0 0 35px rgba(233,173,70,0.16); }
.booking-success h3 { margin: 22px 0 8px; font-size: 2rem; }
.booking-success p { margin: 0 0 25px; color: var(--muted); line-height: 1.55; }
.text-button { margin-top: 18px; border: 0; border-bottom: 1px solid var(--line); color: var(--muted); background: transparent; cursor: pointer; }

.toast {
  position: fixed;
  z-index: 100;
  right: 22px;
  bottom: 22px;
  max-width: min(390px, calc(100% - 44px));
  padding: 13px 17px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--cream);
  background: rgba(20,17,13,0.96);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(15px);
  pointer-events: none;
  transition: opacity 180ms, transform 180ms;
}
.toast.is-visible { opacity: 1; transform: translateY(0); }

@keyframes modal-in { from { opacity: 0; transform: translateY(14px) scale(.98); } }

@media (min-width: 701px) {
  .hero { place-items: center; }
}

@media (max-width: 700px) {
  .modal__shell { padding: 54px 20px 26px; }
  .modal h2 { font-size: 2.5rem; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 140px; }
  .service-card h3 { margin-top: 24px; }
  .modal__footer { align-items: stretch; flex-direction: column; }
  .booking-form { grid-template-columns: 1fr; }
  .booking-form__wide { grid-column: 1; }
}

@media (max-width: 390px) {
  .board-action { grid-template-columns: 42px 1fr 10px; min-height: 104px; }
  .board-action__text strong { font-size: 0.94rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}
