:root {
  --rose: #961a57;
  --rose-soft: #e8c4d2;
  --ink: #2a2226;
  --muted: #7a6b72;
  --linen: #f7f1ec;
  --paper: #fffdfb;
  --sand: #efe4dc;
  --line: rgba(42, 34, 38, 0.12);
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --font-logo: "Pacifico", cursive;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--ink);
  background: var(--linen);
  min-height: 100vh;
  letter-spacing: 0.01em;
}

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

a {
  color: var(--rose);
}

.top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #961a57;
  border-bottom: none;
}

.top-inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 0.7rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: #fff;
  font-family: var(--font-logo);
  font-size: 1.45rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1;
}

.brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.1rem;
  align-items: center;
  justify-content: flex-end;
}

nav a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 400;
  font-size: 0.86rem;
  letter-spacing: 0.03em;
}

nav a:hover {
  color: #fff;
}

.nav-access {
  color: #fff !important;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  padding-bottom: 1px;
}

.hero {
  position: relative;
  min-height: min(84vh, 700px);
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: #961a57;
}

.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 3.5rem 1.5rem 4rem;
  max-width: 36rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  animation: fadeUp 0.9s ease both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-logo {
  width: min(260px, 62vw);
  margin: 0 auto 1.75rem;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.18));
}

.hero-lead {
  margin: 0 0 2rem;
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 300;
  font-style: normal;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.92);
  max-width: 28rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  border: 1px solid transparent;
  background: transparent;
  font: inherit;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn.soft {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

.btn.soft:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn.soft.dark {
  border-color: var(--ink);
  color: var(--ink);
  background: transparent;
}

.btn.soft.dark:hover {
  background: var(--ink);
  color: var(--paper);
}

.btn.primary {
  background: var(--rose);
  color: #fff;
  border-color: var(--rose);
}

.btn.ghost {
  border-color: var(--line);
  color: var(--ink);
}

.btn.small {
  padding: 0.4rem 0.8rem;
  font-size: 0.82rem;
}

.btn.danger {
  border-color: #a33;
  color: #a33;
}

.section {
  max-width: 980px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.section.alt {
  max-width: none;
  background: rgba(255, 253, 251, 0.55);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section.alt > * {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section.alt > .section-head,
.section.alt > .product-grid,
.section.alt > .review-form,
.section.alt > .review-list,
.section.alt > .map-wrap,
.section.alt > .info-block,
.section.alt > .face-line {
  padding-left: 0;
  padding-right: 0;
}

.section-head {
  margin-bottom: 2rem;
}

.eyebrow {
  margin: 0 0 0.4rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rose);
  font-weight: 500;
}

.section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.section-lead {
  margin: 0.65rem 0 0;
  color: var(--muted);
  max-width: 28rem;
  font-weight: 300;
  line-height: 1.55;
}

.about {
  margin: 0;
  max-width: 36rem;
  font-size: 1.15rem;
  line-height: 1.7;
  font-weight: 300;
  color: var(--ink);
  font-family: var(--font-body);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.75rem 1.5rem;
}

.product {
  border-bottom: 1px solid var(--line);
  padding-bottom: 1.25rem;
}

.product-media {
  aspect-ratio: 5 / 4;
  background: var(--sand);
  margin-bottom: 0.9rem;
  overflow: hidden;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
}

.product p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 300;
  line-height: 1.45;
}

.price {
  display: inline-block;
  margin-top: 0.55rem;
  font-weight: 500;
  color: var(--rose);
  letter-spacing: 0.03em;
}

.promo-list,
.review-list {
  display: grid;
  gap: 1.25rem;
}

.promo,
.review {
  padding: 0 0 1.25rem;
  border-bottom: 1px solid var(--line);
}

.promo h3,
.review .who {
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
}

.promo p,
.review p {
  margin: 0;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.55;
}

.stars {
  color: var(--rose);
  letter-spacing: 0.08em;
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
}

.review-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.25rem;
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}

.review-form label,
.form-grid label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--muted);
}

.review-form .full {
  grid-column: 1 / -1;
}

input,
textarea,
select {
  font: inherit;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
  padding: 0.65rem 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  outline: none;
  width: 100%;
}

input:focus,
textarea:focus,
select:focus {
  border-bottom-color: var(--rose);
}

textarea {
  resize: vertical;
  min-height: 100px;
}

.row-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.map-wrap {
  display: grid;
  grid-template-columns: minmax(0, 320px) 1fr;
  gap: 1.75rem 2rem;
  align-items: center;
  margin-bottom: 2.5rem;
}

.map-square {
  position: relative;
  width: 100%;
  max-width: 320px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #1a1a1a;
  box-shadow: 0 12px 40px rgba(42, 34, 38, 0.12);
}

.map-square img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  /* suaviza iconos del juego; el pin propio va encima */
  filter: saturate(0.85) contrast(1.05);
}

.map-pin {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 22px;
  height: 32px;
  transform: translate(-50%, -100%);
  background: #111;
  border-radius: 50% 50% 50% 0;
  rotate: -45deg;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
  z-index: 2;
  pointer-events: none;
}

.map-pin::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  transform: translate(-50%, -50%);
}

.map-caption {
  min-width: 0;
}

.map-name {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
}

.map-area {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rose);
  font-weight: 500;
}

.map-street {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-weight: 300;
  font-size: 1.05rem;
}

.map-editor {
  position: relative;
  width: min(280px, 100%);
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #1a1a1a;
  cursor: crosshair;
  margin: 0.5rem 0 0.75rem;
}

.map-editor img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.map-editor .map-pin {
  pointer-events: none;
}

@media (max-width: 720px) {
  .map-wrap {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .map-square {
    max-width: 100%;
  }
}

.info-block div {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}

.info-block dt {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

.info-block dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.face-line {
  margin-top: 1.5rem;
  color: var(--muted);
}

.empty {
  margin: 0;
  color: var(--muted);
  font-weight: 300;
  font-style: italic;
}

.msg {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 500;
}

.msg.ok { color: #3d6b4f; }
.msg.err { color: #a33; }

.foot {
  max-width: 980px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 3rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.foot img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  opacity: 0.55;
}

.foot p {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.hidden { display: none !important; }

/* Staff */
.staff-page {
  max-width: 860px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}

.staff-page h1 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}

.panel {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.panel h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
}

.form-grid {
  display: grid;
  gap: 0.9rem;
}

.hint {
  color: var(--muted);
  margin: 0 0 1rem;
  font-weight: 300;
}

.staff-item {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  padding: 0.9rem 0;
  border-top: 1px solid var(--line);
}

.staff-item:first-of-type {
  border-top: 0;
}

@media (max-width: 720px) {
  nav a:not(.nav-access) {
    display: none;
  }

  .review-form {
    grid-template-columns: 1fr;
  }

  .info-block div {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .hero {
    min-height: 80vh;
  }
}
