:root {
  --wine: #6b0f1a;
  --wine-dark: #44060d;
  --gold: #c9a84c;
  --gold-light: #edcc73;
  --black: #0d0d0d;
  --panel: #111111;
  --panel-soft: #171717;
  --line: rgba(201, 168, 76, 0.58);
  --text: #f8f4ed;
  --muted: #cfc5b5;
  --shadow: 0 22px 65px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--text);
  font-family: Inter, Arial, sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  min-height: 102px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 34px;
  padding: 18px clamp(18px, 4vw, 56px);
  background: linear-gradient(180deg, #720916 0%, #580812 100%);
  border-bottom: 1px solid rgba(201, 168, 76, 0.42);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.36);
}

.brand {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.brand-mark {
  position: relative;
  width: 72px;
  height: 62px;
  display: grid;
  place-items: end center;
  color: var(--gold-light);
  font-family: Georgia, serif;
  font-size: 44px;
  line-height: 1;
}

.brand-star {
  position: absolute;
  top: -6px;
  left: 25px;
  font-size: 20px;
}

.brand-text {
  display: grid;
  gap: 2px;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand-text strong {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(24px, 2.3vw, 34px);
}

.brand-text span {
  color: var(--gold);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 18px;
  letter-spacing: 12px;
}

.main-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(20px, 4vw, 54px);
  font-weight: 800;
  text-transform: uppercase;
}

.main-nav a {
  position: relative;
  padding: 12px 0;
  font-size: 16px;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 3px;
  transform: scaleX(0);
  transform-origin: center;
  background: var(--gold-light);
  transition: transform 160ms ease;
}

.main-nav a:hover::after,
.main-nav .active::after {
  transform: scaleX(1);
}

.header-cta,
.primary-button,
.booking-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  border: 0;
  border-radius: 4px;
  padding: 0 28px;
  background: linear-gradient(180deg, #e4bf5c 0%, #c4962e 100%);
  color: #16100a;
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
  cursor: pointer;
}

.header-cta {
  min-width: 190px;
}

.nav-toggle,
.hamburger {
  display: none;
}

.hero {
  position: relative;
  min-height: clamp(590px, 65vw, 760px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-slider {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: scale(1.03);
  transition:
    opacity 900ms ease,
    transform 6200ms ease;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.52) 38%, rgba(0, 0, 0, 0.1) 78%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.32));
}

.hero-content {
  position: absolute;
  left: clamp(24px, 7vw, 110px);
  top: 50%;
  width: min(650px, calc(100% - 48px));
  transform: translateY(-45%);
}

.hero h1 {
  margin: 0;
  max-width: 630px;
  font-size: clamp(44px, 6vw, 86px);
  line-height: 1.08;
  font-weight: 900;
  text-wrap: balance;
}

.gold-divider {
  display: flex;
  align-items: center;
  gap: 18px;
  width: min(480px, 82vw);
  margin: 24px 0 18px;
  color: var(--gold-light);
}

.gold-divider::before,
.gold-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--gold);
}

.hero p {
  margin: 0 0 28px;
  color: var(--gold-light);
  font-size: clamp(20px, 2vw, 28px);
}

.primary-button {
  min-width: min(315px, 100%);
  gap: 22px;
  font-size: 18px;
}

.primary-button span {
  font-size: 30px;
  line-height: 0;
}

.slide-button {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 48px;
  height: 64px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(201, 168, 76, 0.48);
  border-radius: 4px;
  background: rgba(13, 13, 13, 0.48);
  color: var(--gold-light);
  font-size: 42px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  transition:
    background 160ms ease,
    border-color 160ms ease;
}

.slide-button:hover {
  background: rgba(107, 15, 26, 0.72);
  border-color: var(--gold);
}

.slide-button.previous {
  left: 22px;
}

.slide-button.next {
  right: 22px;
}

.slide-dots {
  position: absolute;
  left: 50%;
  bottom: 24px;
  z-index: 3;
  display: flex;
  gap: 10px;
  max-width: min(86vw, 520px);
  flex-wrap: wrap;
  justify-content: center;
  transform: translateX(-50%);
}

.slide-dots button {
  width: 36px;
  height: 5px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  cursor: pointer;
}

.slide-dots button.active {
  background: var(--gold-light);
}

.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: linear-gradient(180deg, #7c0715 0%, #5d0711 100%);
  border-bottom: 1px solid var(--line);
}

.features article {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 20px 18px;
  color: #fffaf0;
  border-right: 1px solid rgba(201, 168, 76, 0.55);
}

.features article:last-child {
  border-right: 0;
}

.feature-icon {
  color: var(--gold-light);
  font-size: 43px;
  line-height: 1;
}

.features strong {
  font-size: clamp(16px, 1.5vw, 21px);
}

.section {
  padding: clamp(42px, 6vw, 78px) clamp(18px, 4vw, 56px);
}

.rooms-section {
  background:
    radial-gradient(circle at 28% 0%, rgba(107, 15, 26, 0.26), transparent 34%),
    linear-gradient(180deg, #111 0%, #0b0b0b 100%);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(42px, 1fr) auto minmax(42px, 1fr);
  align-items: center;
  gap: 22px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-heading h2,
.split-section h2,
.booking-copy h2 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.12;
  text-transform: uppercase;
}

.section-heading p {
  margin: 6px 0 0;
  color: var(--gold-light);
  font-size: 17px;
}

.heading-line {
  height: 1px;
  background: var(--gold);
}

.room-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.room-card {
  overflow: hidden;
  display: grid;
  grid-template-rows: 170px 1fr auto;
  min-height: 372px;
  background: linear-gradient(180deg, #141414, #0d0d0d);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.room-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.room-body {
  padding: 22px 24px 16px;
}

.room-body h3 {
  margin: 0 0 16px;
  font-size: 20px;
  text-transform: uppercase;
}

.room-body ul {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  color: #f0eadf;
  list-style: none;
}

.room-body span {
  color: var(--gold-light);
  margin-right: 8px;
}

.room-footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 24px;
  border-top: 1px solid rgba(201, 168, 76, 0.35);
}

.room-footer p {
  margin: 0;
  color: var(--gold-light);
  font-size: 14px;
}

.room-footer strong {
  display: block;
  color: var(--gold-light);
  font-size: 28px;
  line-height: 1.1;
}

.room-footer a,
.room-footer button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  min-height: 45px;
  padding: 0 16px;
  border-radius: 4px;
  background: linear-gradient(180deg, #a40f1e, #730916);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text);
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.split-section,
.booking-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  background: var(--panel);
  border-top: 1px solid rgba(201, 168, 76, 0.18);
}

.split-section p,
.booking-copy p {
  max-width: 630px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold-light);
  font-weight: 800;
  text-transform: uppercase;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.service-list span {
  min-height: 62px;
  display: flex;
  align-items: center;
  padding: 18px 20px;
  background: var(--panel-soft);
  border: 1px solid rgba(201, 168, 76, 0.32);
  border-radius: 8px;
  color: #fff8ea;
  font-weight: 700;
}

.booking-section {
  background:
    linear-gradient(90deg, rgba(107, 15, 26, 0.55), transparent),
    #0c0c0c;
}

.booking-form {
  display: grid;
  gap: 16px;
  padding: clamp(20px, 3vw, 32px);
  background: #141414;
  border: 1px solid rgba(201, 168, 76, 0.36);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.booking-form label {
  display: grid;
  gap: 8px;
  color: var(--gold-light);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.booking-form input,
.booking-form select,
.booking-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(201, 168, 76, 0.34);
  border-radius: 4px;
  padding: 12px 14px;
  background: #0b0b0b;
  color: var(--text);
  font: inherit;
}

.booking-form textarea {
  min-height: 105px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.booking-form button {
  width: 100%;
  font-size: 16px;
}

.contact-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  background: #0f0f0f;
  border-top: 1px solid rgba(201, 168, 76, 0.22);
}

.contact-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 110px;
  padding: 18px;
  border-right: 1px solid rgba(201, 168, 76, 0.45);
  color: var(--gold-light);
  font-size: 20px;
  text-align: left;
}

.contact-item:last-child {
  border-right: 0;
}

.contact-item span {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold-light);
  font-size: 28px;
}

.contact-item p {
  margin: 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px clamp(18px, 4vw, 56px);
  color: var(--muted);
  background: #070707;
  border-top: 1px solid rgba(201, 168, 76, 0.18);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--gold-light);
  font-weight: 800;
}

.site-footer .developer-credit {
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: none;
}

.site-footer .developer-credit:hover {
  color: var(--gold-light);
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .main-nav,
  .header-cta {
    display: none;
  }

  .hamburger {
    justify-self: end;
    display: grid;
    gap: 6px;
    width: 44px;
    cursor: pointer;
  }

  .hamburger span {
    height: 3px;
    background: var(--gold-light);
  }

  .nav-toggle:checked ~ .main-nav {
    position: absolute;
    top: 100%;
    left: 50%;
    right: auto;
    z-index: 20;
    width: 100vw;
    display: grid;
    gap: 0;
    background: #520812;
    border-bottom: 1px solid var(--line);
    transform: translateX(-50%);
  }

  .nav-toggle:checked ~ .main-nav a {
    width: 100%;
    padding: 15px 28px;
    border-top: 1px solid rgba(201, 168, 76, 0.22);
    text-align: center;
  }

  .room-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-section {
    grid-template-columns: 1fr;
  }

  .contact-item {
    justify-content: flex-start;
    border-right: 0;
    border-bottom: 1px solid rgba(201, 168, 76, 0.25);
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 76px;
    padding: 10px 18px;
  }

  .brand img {
    height: 58px !important;
  }

  .brand {
    gap: 10px;
  }

  .brand-mark {
    width: 49px;
    height: 48px;
    font-size: 31px;
  }

  .brand-star {
    top: -5px;
    left: 18px;
    font-size: 14px;
  }

  .brand-text strong {
    font-size: 19px;
  }

  .brand-text span {
    font-size: 12px;
    letter-spacing: 7px;
  }

  .hero {
    min-height: 500px;
  }

  .hero-content {
    top: auto;
    bottom: 82px;
    left: 22px;
    width: calc(100% - 44px);
    transform: none;
  }

  .hero h1 {
    font-size: clamp(32px, 10vw, 43px);
    line-height: 1.04;
  }

  .gold-divider {
    width: 100%;
    margin: 20px 0 16px;
  }

  .hero p {
    margin-bottom: 22px;
    font-size: clamp(19px, 6vw, 24px);
  }

  .primary-button {
    min-height: 50px;
    padding: 0 18px;
    font-size: 15px;
    gap: 12px;
  }

  .slide-button {
    top: 50%;
    bottom: auto;
    width: 38px;
    height: 48px;
    font-size: 30px;
    background: rgba(13, 13, 13, 0.58);
  }

  .slide-button.previous {
    left: 10px;
  }

  .slide-button.next {
    right: 10px;
  }

  .slide-dots {
    bottom: 24px;
    gap: 8px;
  }

  .slide-dots button {
    width: 30px;
  }

  .features {
    grid-template-columns: repeat(2, 1fr);
  }

  .features article {
    justify-content: flex-start;
    min-height: 78px;
    gap: 12px;
    padding: 16px 18px;
    border-bottom: 1px solid rgba(201, 168, 76, 0.34);
  }

  .feature-icon {
    font-size: 34px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 24px;
  }

  .heading-line {
    display: none;
  }

  .room-grid,
  .split-section,
  .booking-section,
  .service-list,
  .form-row {
    grid-template-columns: 1fr;
  }

  .room-card {
    grid-template-rows: 190px 1fr auto;
  }

  .room-card img {
    height: 190px;
  }

  .room-body {
    padding: 20px 22px 14px;
  }

  .room-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .room-footer a,
  .room-footer button {
    width: 100%;
  }

  .contact-item {
    align-items: flex-start;
    font-size: 17px;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 430px) {
  .features {
    grid-template-columns: 1fr;
  }

  .features article {
    min-height: 72px;
  }

  .section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .section-heading h2,
  .split-section h2,
  .booking-copy h2 {
    font-size: 32px;
  }

  .primary-button {
    min-width: 100%;
  }
}

.about-page {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 7vw, 90px) clamp(18px, 4vw, 56px) clamp(80px, 10vw, 140px);
  background: var(--panel);
  border-top: 1px solid rgba(201, 168, 76, 0.18);
}

.about-watermark {
  position: absolute;
  left: 50%;
  bottom: clamp(-40px, -2vw, 0px);
  width: min(720px, 80vw);
  transform: translateX(-50%);
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
}

.about-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
}

.about-content h1 {
  margin: 0 0 28px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(32px, 4vw, 46px);
  text-transform: uppercase;
}

.about-content p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.about-content .service-list {
  margin: 32px 0;
}

@media (max-width: 760px) {
  .about-content .service-list {
    grid-template-columns: 1fr;
  }
}

/* Secao de video (pagina publica) */
.video-section {
  background: var(--panel);
  border-top: 1px solid rgba(201, 168, 76, 0.18);
}

.video-embed {
  max-width: 860px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
}

.video-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

/* ===================== Painel Administrativo ===================== */

.admin-login-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 30% 10%, rgba(107, 15, 26, 0.35), transparent 45%),
    var(--black);
  padding: 24px;
}

.admin-login-card {
  width: min(420px, 100%);
  display: grid;
  gap: 16px;
  padding: 40px 32px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
  text-align: center;
}

.admin-login-logo {
  height: 64px;
  width: auto;
  margin: 0 auto 6px;
}

.admin-login-card h1 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 26px;
  text-transform: uppercase;
}

.admin-login-subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.admin-login-card label {
  display: grid;
  gap: 8px;
  text-align: left;
  color: var(--gold-light);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.admin-login-card input {
  min-height: 48px;
  border: 1px solid rgba(201, 168, 76, 0.34);
  border-radius: 4px;
  padding: 12px 14px;
  background: #0b0b0b;
  color: var(--text);
  font: inherit;
}

.admin-login-card button {
  min-height: 50px;
  border: 0;
  border-radius: 4px;
  background: linear-gradient(180deg, #e4bf5c 0%, #c4962e 100%);
  color: #16100a;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.admin-login-card button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.admin-login-link {
  color: var(--gold-light);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
}

.admin-login-link:hover {
  color: var(--text);
}

.admin-error {
  margin: 0;
  color: #ff9d9d;
  font-size: 14px;
}

.admin-body {
  min-height: 100vh;
  background: var(--black);
}

.admin-dashboard-body {
  background: #0b0b0b;
}

.admin-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
}

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 24px;
  padding: 22px 18px;
  background: #111;
  border-right: 1px solid rgba(201, 168, 76, 0.22);
}

.admin-menu-toggle {
  display: none;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(201, 168, 76, 0.38);
  border-radius: 4px;
  background: transparent;
  color: var(--gold-light);
  font-weight: 800;
  text-transform: uppercase;
}

.admin-sidebar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(201, 168, 76, 0.18);
}

.admin-sidebar-brand strong,
.admin-sidebar-brand span {
  display: block;
}

.admin-sidebar-brand strong {
  color: var(--gold-light);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 20px;
  text-transform: uppercase;
}

.admin-sidebar-brand span {
  color: var(--muted);
  font-size: 12px;
}

.admin-sidebar-nav {
  display: grid;
  align-content: start;
  gap: 8px;
}

.admin-sidebar-nav button {
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font-weight: 800;
  text-align: left;
  text-transform: uppercase;
  cursor: pointer;
}

.admin-sidebar-nav button.active,
.admin-sidebar-nav button:hover {
  border-color: rgba(201, 168, 76, 0.35);
  background: rgba(201, 168, 76, 0.12);
  color: var(--gold-light);
}

.admin-sidebar-actions {
  display: grid;
  gap: 10px;
}

.admin-sidebar-actions a,
.admin-sidebar-actions button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(201, 168, 76, 0.38);
  border-radius: 4px;
  background: transparent;
  color: var(--gold-light);
  font-weight: 800;
  text-transform: uppercase;
}

.admin-sidebar-actions button {
  cursor: pointer;
}

.admin-workspace {
  min-width: 0;
}

.admin-topbar {
  position: sticky;
  top: 0;
  z-index: 6;
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px clamp(18px, 4vw, 42px);
  background: rgba(15, 15, 15, 0.96);
  border-bottom: 1px solid rgba(201, 168, 76, 0.2);
}

.admin-topbar p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.admin-topbar h1 {
  margin: 4px 0 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 28px;
  text-transform: uppercase;
}

.admin-header {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px clamp(18px, 4vw, 40px);
  background: linear-gradient(180deg, #720916 0%, #580812 100%);
  border-bottom: 1px solid var(--line);
}

.admin-header-logo {
  height: 44px;
  width: auto;
}

.admin-header h1 {
  flex: 1;
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 22px;
  text-transform: uppercase;
}

.admin-header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.admin-header-actions a {
  color: var(--gold-light);
  font-weight: 700;
}

.admin-header-actions button {
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid var(--gold);
  border-radius: 4px;
  background: transparent;
  color: var(--gold-light);
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
}

.admin-tabs {
  display: flex;
  gap: 6px;
  padding: 14px clamp(18px, 4vw, 40px) 0;
  background: #0f0f0f;
  border-bottom: 1px solid rgba(201, 168, 76, 0.22);
}

.admin-mode-tabs {
  gap: 10px;
  flex-wrap: wrap;
}

.admin-mode-tabs button {
  min-width: 150px;
}

.admin-tabs button {
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-bottom: none;
  border-radius: 6px 6px 0 0;
  background: transparent;
  color: var(--muted);
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
}

.admin-tabs button.active {
  background: var(--panel);
  border-color: rgba(201, 168, 76, 0.4);
  color: var(--gold-light);
}

.admin-main {
  max-width: 1000px;
  margin: 0 auto;
  padding: clamp(20px, 4vw, 40px);
}

.admin-main-wide {
  max-width: 1180px;
}

.admin-grid-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 18px;
}

.admin-block {
  margin-bottom: 28px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(201, 168, 76, 0.16);
}

.admin-block h3 {
  margin: 0 0 18px;
  color: var(--gold-light);
  font-size: 16px;
  text-transform: uppercase;
}

.admin-logo-editor {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.admin-logo-editor img {
  width: 120px;
  height: 90px;
  object-fit: contain;
  padding: 10px;
  border: 1px solid rgba(201, 168, 76, 0.25);
  background: rgba(255, 255, 255, 0.04);
}

.admin-status {
  margin: 0 0 20px;
  padding: 12px 16px;
  border-radius: 6px;
  background: rgba(201, 168, 76, 0.18);
  border: 1px solid var(--gold);
  color: var(--gold-light);
  font-weight: 700;
}

.admin-topbar .admin-status {
  max-width: min(420px, 46vw);
  margin: 0;
}

.admin-status.error {
  background: rgba(255, 80, 80, 0.12);
  border-color: #ff5050;
  color: #ff9d9d;
}

.admin-panel {
  display: none;
}

.admin-panel.active {
  display: block;
}

.admin-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 20px;
}

.admin-panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-panel-head h2 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  text-transform: uppercase;
  font-size: 22px;
}

.admin-panel-head button,
.admin-upload-button {
  min-height: 42px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  border-radius: 4px;
  background: linear-gradient(180deg, #e4bf5c 0%, #c4962e 100%);
  color: #16100a;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 13px;
  cursor: pointer;
}

.admin-upload-button.small {
  min-height: 34px;
  padding: 0 12px;
  font-size: 11px;
}

.admin-hint {
  color: var(--muted);
  margin-bottom: 18px;
}

.admin-field {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--gold-light);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.admin-field input,
.admin-field textarea,
.admin-field select {
  width: 100%;
  border: 1px solid rgba(201, 168, 76, 0.34);
  border-radius: 4px;
  padding: 12px 14px;
  background: #0b0b0b;
  color: var(--text);
  font: inherit;
  text-transform: none;
  font-weight: 400;
}

.admin-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--gold-light);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.admin-check input {
  width: 18px;
  height: 18px;
  accent-color: var(--gold);
}

.admin-action-link,
.admin-panel-actions button,
.cms-row-actions button,
.cms-item > button,
.cms-table button,
.admin-block > button {
  min-height: 38px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(201, 168, 76, 0.38);
  border-radius: 4px;
  background: transparent;
  color: var(--gold-light);
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
}

.cms-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.cms-alert {
  margin: 0 0 18px;
  padding: 16px 18px;
  border-radius: 8px;
  border: 1px solid rgba(201, 168, 76, 0.32);
  background: rgba(201, 168, 76, 0.1);
}

.cms-alert strong {
  display: block;
  margin-bottom: 4px;
  color: var(--gold-light);
  text-transform: uppercase;
}

.cms-alert p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.cms-alert.error {
  border-color: rgba(255, 80, 80, 0.65);
  background: rgba(255, 80, 80, 0.1);
}

.cms-alert.error strong {
  color: #ffb4b4;
}

.cms-alert.success {
  border-color: rgba(96, 211, 148, 0.52);
  background: rgba(96, 211, 148, 0.08);
}

.cms-alert.success strong {
  color: #9cf0bd;
}

.cms-shortcut-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.cms-shortcut-grid button {
  min-height: 126px;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 18px;
  border: 1px solid rgba(201, 168, 76, 0.22);
  border-radius: 8px;
  background: var(--panel);
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.cms-shortcut-grid button:hover {
  border-color: rgba(201, 168, 76, 0.52);
  background: #171717;
}

.cms-shortcut-grid strong {
  color: var(--gold-light);
  font-size: 14px;
  text-transform: uppercase;
}

.cms-shortcut-grid span {
  color: var(--muted);
  line-height: 1.45;
}

.cms-stat-grid article,
.cms-item {
  padding: 18px;
  border: 1px solid rgba(201, 168, 76, 0.22);
  border-radius: 8px;
  background: var(--panel);
}

.cms-stat-grid span {
  display: block;
  color: var(--gold-light);
  font-size: 26px;
  font-weight: 800;
}

.cms-stat-grid strong {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.cms-list {
  display: grid;
  gap: 14px;
}

.cms-item {
  display: grid;
  gap: 14px;
}

.cms-drag-handle {
  justify-self: start;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: 999px;
  background: rgba(201, 168, 76, 0.08);
  color: var(--gold-light);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  cursor: grab;
}

.cms-drag-handle:active {
  cursor: grabbing;
}

.cms-item > img {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  border-radius: 6px;
  background: #050505;
}

.room-editor {
  grid-template-columns: 180px minmax(0, 1fr);
}

.room-editor > img {
  height: 150px;
}

.room-editor > :not(img) {
  grid-column: 2;
}

.cms-row-actions,
.cms-check-grid {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cms-search {
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(201, 168, 76, 0.34);
  border-radius: 4px;
  background: #0b0b0b;
  color: var(--text);
}

.cms-table {
  overflow-x: auto;
}

.cms-table table {
  width: 100%;
  border-collapse: collapse;
  background: var(--panel);
}

.cms-table th,
.cms-table td {
  padding: 12px;
  border-bottom: 1px solid rgba(201, 168, 76, 0.14);
  text-align: left;
}

.cms-table th {
  color: var(--gold-light);
  font-size: 12px;
  text-transform: uppercase;
}

.admin-room-list {
  display: grid;
  gap: 18px;
}

.admin-status.saving {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(201, 168, 76, 0.5);
}

.admin-empty {
  margin: 0;
  padding: 18px;
  border: 1px solid rgba(201, 168, 76, 0.25);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
}

.admin-room-card {
  display: grid;
  grid-template-columns: 160px 1fr auto;
  gap: 18px;
  align-items: start;
  padding: 18px;
  background: var(--panel);
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: 8px;
}

.admin-room-photo {
  display: grid;
  gap: 8px;
}

.room-photo-preview {
  width: 100%;
  height: 110px;
  object-fit: cover;
  border-radius: 6px;
  background: #0b0b0b;
}

.admin-room-actions {
  display: grid;
  gap: 10px;
  align-content: start;
}

.admin-room-actions button {
  min-height: 38px;
  padding: 0 16px;
  border-radius: 4px;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--gold-light);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 12px;
  cursor: pointer;
}

.admin-room-actions .remove-room {
  border-color: #ff5050;
  color: #ff9d9d;
}

.admin-photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.admin-photo-item {
  position: relative;
  margin: 0;
}

.admin-photo-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
}

.admin-photo-item button {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 0;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  cursor: pointer;
}

.admin-photo-item.pending img {
  opacity: 0.55;
}

.admin-photo-item.pending span {
  position: absolute;
  inset: auto 8px 8px;
  padding: 6px 8px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.78);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

@media (max-width: 760px) {
  .admin-shell {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 20;
    width: min(310px, 86vw);
    transform: translateX(-105%);
    transition: transform 180ms ease;
  }

  .admin-sidebar.open {
    transform: translateX(0);
  }

  .admin-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .admin-sidebar {
    height: 100vh;
    grid-template-rows: auto auto auto;
  }

  .admin-sidebar-nav {
    grid-template-columns: 1fr;
  }

  .admin-topbar {
    position: static;
    display: grid;
  }

  .admin-topbar .admin-status {
    max-width: none;
  }

  .admin-grid-two {
    grid-template-columns: 1fr;
  }

  .admin-room-card {
    grid-template-columns: 1fr;
  }

  .cms-stat-grid {
    grid-template-columns: 1fr;
  }

  .cms-shortcut-grid {
    grid-template-columns: 1fr;
  }

  .room-editor {
    grid-template-columns: 1fr;
  }

  .room-editor > :not(img) {
    grid-column: auto;
  }
}

/* Galeria de Fotos */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 2.5rem;
}

.photo-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s;
}

.photo-grid img:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 76vh;
  border-radius: 6px;
  object-fit: contain;
}

.lightbox-caption {
  position: absolute;
  left: 50%;
  bottom: 92px;
  width: min(760px, 86vw);
  transform: translateX(-50%);
  color: var(--gold-light);
  font-weight: 800;
  text-align: center;
}

.lightbox-thumbs {
  position: absolute;
  left: 50%;
  bottom: 24px;
  width: min(760px, 86vw);
  display: flex;
  gap: 8px;
  justify-content: center;
  overflow-x: auto;
  transform: translateX(-50%);
}

.lightbox-thumbs button {
  flex: 0 0 58px;
  height: 46px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
  overflow: hidden;
}

.lightbox-thumbs button.active {
  border-color: var(--gold-light);
}

.lightbox-thumbs img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  border-radius: 0;
  object-fit: cover;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 24px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.4rem;
  cursor: pointer;
  line-height: 1;
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  border: none;
  color: #fff;
  font-size: 2.2rem;
  padding: 0.4rem 0.9rem;
  border-radius: 4px;
  cursor: pointer;
}

.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

@media (max-width: 768px) {
  .photo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 430px) {
  .photo-grid {
    grid-template-columns: 1fr;
  }
}
