:root {
  --maroon: #87203d;
  --maroon-dark: #6c1931;
  --gold: #ffbe50;
  --pink: #f4e6ea;
  --ink: #1c1c1c;
  --footer: #2d1b0b;
  --copybar: #181818;
  --muted: #5c534c;
  --line: #e4e4e4;
  --whatsapp: #0d5a09;
  --whatsapp-dark: #144e11;
  --phone-btn: #5f2727;
  --wa-btn: #22691f;
  --wa-btn-dark: #183907;
  --submit: #1a7efb;
  --max: 1170px;
  --sans: "Nunito", "Segoe UI", sans-serif;
  --alt: "Nunito Sans", "Nunito", sans-serif;
  --logo: "Rampart One", "Nunito", cursive;
  color-scheme: light;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  color: var(--ink);
  background: #fff;
  line-height: 1.65;
}

img { max-width: 100%; height: auto; }

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

h1, h2, h3 {
  font-weight: 600;
  line-height: 1.25;
}

p { margin: 0 0 1em; }

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: 0;
  transform: translateY(-120%);
  background: #fff;
  color: var(--maroon);
  padding: 8px 12px;
  z-index: 20;
}

.skip-link:focus { transform: none; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.icon {
  width: 1em;
  height: 1em;
  display: inline-block;
  flex: none;
}

.topbar {
  background: var(--maroon);
  color: #fff;
  font-size: 14px;
}

.topbar-inner {
  display: flex;
  justify-content: flex-end;
  padding: 4px 0;
}

.topbar a {
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.topbar .icon { color: var(--gold); }

.site-header {
  background: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.32);
  position: relative;
  z-index: 5;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
}

.brand {
  text-decoration: none;
  color: var(--maroon);
  min-width: 0;
}

.logo {
  display: block;
  font-family: var(--logo);
  font-size: clamp(1.8rem, 3vw, 2.55rem);
  font-weight: 400;
  line-height: 1;
  color: var(--maroon);
}

.tagline {
  display: block;
  margin-top: 4px;
  font-family: var(--alt);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #222;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 10px;
  cursor: pointer;
}

.nav-toggle > span:last-child,
.nav-toggle > span:last-child::before,
.nav-toggle > span:last-child::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--maroon);
  border-radius: 2px;
  position: relative;
}

.nav-toggle > span:last-child::before,
.nav-toggle > span:last-child::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
}

.nav-toggle > span:last-child::before { top: -7px; }
.nav-toggle > span:last-child::after { top: 7px; }

.nav-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a {
  color: #1a1a1a;
  text-decoration: none;
  font-weight: 600;
  padding: 6px 10px;
}

.nav-list a:hover,
.nav-list a[aria-current="page"] { color: var(--maroon); }

.hero {
  background: url("../images/home-banner-1.webp") bottom center / cover no-repeat;
  min-height: 55vh;
  display: flex;
  align-items: center;
  padding: 64px 0;
}

.hero-copy { max-width: 560px; }

.eyebrow {
  margin: 0 0 8px;
  color: #fff5f8;
  font-weight: 600;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.hero h1 {
  margin: 0 0 12px;
  font-weight: 600;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.hero h1 .the {
  color: var(--gold);
  font-size: clamp(2rem, 4vw, 3rem);
}

.hero h1 .name {
  color: #fff;
  font-size: clamp(2.2rem, 4.6vw, 3.5rem);
}

.hero p {
  color: #fff;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  margin-bottom: 18px;
}

.page-hero {
  position: relative;
  background: url("../images/page-header.webp") center / cover no-repeat;
  min-height: 25vh;
  display: flex;
  align-items: center;
  text-align: center;
  color: #fff;
  padding: 48px 0;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--maroon);
  opacity: 0.5;
}

.page-hero .wrap { position: relative; }

.page-hero h1 {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: clamp(1.8rem, 3vw, 2.35rem);
}

.page-hero p { margin: 0; }

.section { padding: 68px 0; }
.section-pink { background: var(--pink); }

.center { text-align: center; }

h2 { color: var(--maroon); font-size: clamp(1.45rem, 2.4vw, 1.85rem); }

.split,
.cards,
.room,
.tariff-grid,
.contact-grid,
.amenity-grid,
.footer-grid {
  display: grid;
  gap: 36px;
}

.split,
.cards,
.room,
.tariff-grid,
.contact-grid { grid-template-columns: 1fr 1fr; }

.amenity-grid { grid-template-columns: 1fr 1fr; gap: 8px 48px; }
.footer-grid { grid-template-columns: 1.15fr 0.9fr 1.15fr; gap: 32px; }

.intro-photo {
  display: block;
  width: 100%;
  background: #fff;
  padding: 8px;
  border: 2px solid #fff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.ticks,
.footer-links,
.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ticks li,
.footer-links a,
.contact-list a {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.ticks li { margin: 7px 0; }
.ticks .icon { color: var(--maroon); margin-top: 0.35em; width: 14px; height: 14px; }

.cards { align-items: stretch; margin-top: 10px; }

.card {
  background: #fff;
  box-shadow: 0 0 21px rgba(0, 0, 0, 0.2);
  padding: 10px 10px 0;
  display: flex;
  flex-direction: column;
}

.card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 2px solid #fff;
}
.card h3 { color: var(--maroon); margin: 16px 8px 8px; font-size: 1.45rem; }
.card p { margin: 0 8px 16px; }
.card .price {
  margin-top: auto;
  background: var(--maroon);
  color: #fff;
  font-weight: 600;
  padding: 8px 10px;
}

.room { align-items: center; margin: 28px 0 48px; }
.room img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 10px solid var(--pink);
  background: var(--pink);
}
.room h2 { margin-top: 0; }

.cta {
  position: relative;
  background: url("../images/home-bottom-section.webp") center / cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 130px 0;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #282828;
  opacity: 0.5;
}

.cta .wrap { position: relative; max-width: 820px; }
.cta h2 { color: var(--gold); }
.cta p { color: #fff; }

.btn,
.btn-gold,
.btn-phone,
.btn-wa,
.btn-submit,
.btn-footer-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
  font-weight: 600;
  line-height: 1.2;
  border-radius: 3px;
}

.btn {
  background: var(--maroon);
  color: #fff;
  padding: 12px 18px;
}

.btn:hover { background: var(--maroon-dark); }

.btn-gold {
  background: var(--gold);
  color: #000;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 12px 18px;
}

.btn-gold:hover { filter: brightness(0.95); }

.btn-phone,
.btn-wa,
.btn-footer-wa { color: #fff; padding: 12px 16px; }

.btn-phone { background: var(--phone-btn); }
.btn-phone:hover { background: #4a1e1e; }
.btn-wa { background: var(--wa-btn); }
.btn-wa:hover { background: var(--wa-btn-dark); }

.btn-footer-wa {
  background: var(--whatsapp);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.39);
  padding: 10px 16px;
  margin-top: 8px;
}

.btn-footer-wa:hover { background: var(--whatsapp-dark); }

.stack-btns { display: grid; gap: 10px; }

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

.tariff {
  width: 100%;
  border-collapse: collapse;
  min-width: 460px;
  background: #fff;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.06);
}

.tariff th,
.tariff td {
  border: 1px solid #e6e6e6;
  padding: 11px 14px;
  text-align: left;
}

.tariff thead th {
  background: #d9e8f5;
  font-weight: 700;
}

.tariff .cols th { background: #f7f7f7; font-weight: 600; }

.notes { margin: 28px 0 0; padding-left: 1.2rem; }
.notes li { margin: 0.35em 0; }

.inquiry-card {
  background: var(--pink);
  padding: 32px 28px 36px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.inquiry-card h2 { margin: 18px 0 8px; }
.inquiry-card > p { margin-bottom: 16px; }

.inquiry-form { display: grid; gap: 12px; }

.inquiry-form input,
.inquiry-form textarea {
  width: 100%;
  border: 1px solid #e3e3e3;
  background: #fff;
  color: var(--ink);
  font: inherit;
  padding: 12px 14px;
  border-radius: 3px;
}

.inquiry-form textarea { min-height: 120px; resize: vertical; }

.btn-submit {
  justify-self: start;
  background: var(--submit);
  color: #fff;
  padding: 11px 22px;
  border-radius: 4px;
}

.btn-submit:hover { filter: brightness(0.95); }

.contact-details h2 { margin-top: 8px; }
.contact-details .contact-list { margin-top: 16px; }
.contact-list a {
  color: inherit;
  text-decoration: none;
  margin: 6px 0;
}
.contact-list .icon { color: var(--maroon); margin-top: 0.3em; }
.contact-list a:hover { color: var(--maroon); }

.gallery {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}

.gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 5px solid #fff;
}

#lightbox {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: none;
  max-height: none;
}

#lightbox::backdrop { background: rgba(0, 0, 0, 0.84); }

.lightbox-frame {
  display: grid;
  justify-items: center;
  gap: 12px;
}

#lightbox img {
  max-width: min(1000px, 92vw);
  max-height: 78vh;
  width: auto;
  height: auto;
  background: #111;
}

.lightbox-close,
.lightbox-nav button {
  background: #fff;
  color: #111;
  border: 0;
  font: inherit;
  font-weight: 700;
  padding: 8px 14px;
  cursor: pointer;
}

.lightbox-nav { display: flex; gap: 8px; }

.prose { max-width: 860px; }
.prose h3 {
  color: var(--maroon);
  font-size: 1.15rem;
  margin: 1.5em 0 0.4em;
}
.prose li { margin: 0.75em 0; }
.prose ul { padding-left: 1.15rem; }

.footer {
  background: var(--footer);
  color: #fff;
  padding: 60px 0;
}

.footer h2 {
  color: var(--gold);
  font-size: 1.4rem;
  margin: 0 0 8px;
}

.footer h2::after {
  content: "";
  display: block;
  width: 45%;
  max-width: 120px;
  height: 2px;
  margin-top: 10px;
  background: var(--gold);
}

.footer p { color: #fff; }
.footer a { color: #fff; text-decoration: none; }
.footer-links a,
.footer .contact-list a { padding: 3px 0; }
.footer .contact-list .icon,
.footer-links .icon { color: var(--gold); margin-top: 0.35em; width: 14px; height: 14px; }
.footer a:hover { color: var(--gold); }

.social {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.social span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 4px;
}

.social .fb { background: #3b5998; }
.social .yt { background: #cd201f; }
.social .ig { background: #262626; }
.social .icon { width: 16px; height: 16px; }

.copybar {
  background: var(--copybar);
  color: #909090;
  text-align: center;
  font-size: 14px;
  padding: 14px 16px;
}

.copybar p { margin: 0; }
.copybar a { color: #e2556e; text-decoration: none; }
.copybar a:hover { text-decoration: underline; }

@media (max-width: 900px) {
  .gallery { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767px) {
  .nav-toggle { display: inline-flex; align-items: center; }
  .site-nav { display: none; flex-basis: 100%; }
  .site-header.is-open .site-nav { display: block; }
  .header-inner { flex-wrap: wrap; }
  .nav-list { flex-direction: column; align-items: flex-start; padding: 8px 0 12px; }
  .split,
  .cards,
  .room,
  .tariff-grid,
  .contact-grid,
  .amenity-grid,
  .footer-grid,
  .gallery { grid-template-columns: 1fr; }
  .cta { padding: 72px 0; }
  .section { padding: 48px 0; }
  .copybar { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
