/* ============================================================
   HOTEL KING STAR — PUBLIC WEBSITE
   Redesign · Jul 2026
   Direction: warm editorial hospitality — deep ink, aged
   parchment, brass, and burgundy. Every existing selector is
   preserved so the PHP pages render without touching HTML.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap');

/* ── RESET & ROOT ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

:root {
  /* Ink & parchment */
  --ink:      #0B0A0D;
  --ink-2:    #17141B;
  --ink-3:    #221D24;
  --parch:    #F1E7D2;
  --parch-2:  #E8DBC0;
  --parch-3:  #F7F0DE;

  /* Accents */
  --wine:     #7A1E2C;
  --wine-2:   #591620;
  --brass:    #C9A24C;
  --brass-2:  #A6842F;
  --brass-3:  #E4C674;
  --pine:     #1F3D34;
  --rust:     #8C4A2E;

  /* Text */
  --ivory:    #F7EFD9;
  --ivory-70: rgba(247,239,217,0.72);
  --ivory-45: rgba(247,239,217,0.45);
  --jet:      #17130E;
  --stone:    #7A6A50;
  --stone-2:  #94836A;

  /* Structure */
  --rule:     #B58F55;
  --rule-2:   #D6BE8A;

  /* Aliases used across the file (bridges to old names for older selectors) */
  --bg:       var(--parch);
  --surface:  var(--parch-3);
  --primary:  var(--ink);
  --primary2: var(--ink-2);
  --accent:   var(--wine);
  --gold:     var(--brass);
  --gold2:    var(--brass-2);
  --text:     var(--jet);
  --muted:    var(--stone);
  --border:   #D6C9AC;

  --shadow:    0 1px 0 rgba(11,10,13,0.06), 0 6px 22px rgba(11,10,13,0.08);
  --shadow-lg: 0 2px 0 rgba(11,10,13,0.09), 0 22px 48px rgba(11,10,13,0.16);
  --shadow-ink:0 24px 60px rgba(11,10,13,0.35), 0 4px 12px rgba(11,10,13,0.28);

  --font-d:   'Cormorant Garamond', 'Playfair Display', Georgia, 'Iowan Old Style', serif;
  --font-b:   'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --nav-h:    72px;
  --radius:   4px;
  --radius-lg:12px;

  /* Subtle paper grain — used as background texture on ink and parchment
     sections. Pure inline SVG so no extra HTTP hit. */
  --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.06 0 0 0 0 0.05 0 0 0 0 0.04 0 0 0 0.20 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

body {
  font-family: var(--font-b);
  background: var(--parch);
  color: var(--jet);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,h2,h3,h4 { font-family: var(--font-d); font-weight: 600; line-height: 1.08; letter-spacing: -0.005em; color: var(--ink); }
h1 em, h2 em, h3 em { font-style: italic; font-weight: 500; color: var(--wine); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; height: auto; }
button { font-family: var(--font-b); }
::selection { background: var(--brass); color: var(--ink); }

/* Ornament — used a couple of places, purely CSS */
.ornament, .section-header .section-label::before,
.section-header .section-label::after { content: ''; }

/* ── NAV ──────────────────────────────────────────────────── */
.pub-nav {
  position: sticky; top: 0; z-index: 999;
  background: rgba(241,231,210,0.88);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(181,143,85,0.35);
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(20px,5vw,64px);
  gap: 16px;
}
.pub-nav::after {
  /* thin brass hairline just under the nav */
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--brass) 20%, var(--brass) 80%, transparent);
  opacity: 0.55;
}
.nav-brand {
  font-family: var(--font-d);
  font-size: 24px; font-weight: 600;
  color: var(--ink);
  display: flex; align-items: baseline; gap: 8px;
  flex-shrink: 0;
  letter-spacing: 0.005em;
}
.nav-brand .star { color: var(--brass); font-size: 20px; transform: translateY(-2px); }

.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  position: relative;
  font-size: 12.5px; font-weight: 500;
  color: var(--jet); opacity: 0.72;
  text-transform: uppercase; letter-spacing: 0.14em;
  padding-bottom: 4px;
  transition: opacity 0.2s;
}
.nav-links a::after {
  content: ''; position: absolute; left: 50%; bottom: -2px;
  width: 0; height: 1px; background: var(--wine);
  transition: width 0.28s ease, left 0.28s ease;
}
.nav-links a:hover { opacity: 1; }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; left: 0; }
.nav-links a.active { opacity: 1; color: var(--wine); }

.nav-cta { display: flex; gap: 10px; align-items: center; flex-shrink: 0; }

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn-pub {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px;
  font-size: 12.5px; font-weight: 600;
  font-family: var(--font-b);
  text-transform: uppercase; letter-spacing: 0.14em;
  border-radius: 2px; border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s, color 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}
.btn-outline-pub {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-outline-pub:hover { background: var(--ink); color: var(--parch-3); }

.btn-gold-pub {
  background: var(--wine);
  color: var(--parch-3);
  border-color: var(--wine);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06), 0 6px 18px rgba(122,30,44,0.25);
}
.btn-gold-pub:hover {
  background: var(--wine-2); border-color: var(--wine-2);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(122,30,44,0.35);
}

.btn-hero {
  padding: 15px 32px;
  font-size: 13px; letter-spacing: 0.16em;
}
.btn-hero-outline {
  padding: 15px 30px;
  font-size: 13px; font-weight: 600;
  font-family: var(--font-b);
  text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--ivory);
  background: transparent;
  border: 1px solid var(--ivory-45);
  border-radius: 2px;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}
.btn-hero-outline:hover {
  background: var(--brass); color: var(--ink); border-color: var(--brass);
}

/* ── HAMBURGER + MOBILE DRAWER ───────────────────────────── */
.hamburger-pub {
  display: none;
  background: transparent; border: 1px solid var(--ink);
  color: var(--ink); font-size: 18px;
  padding: 8px 12px; border-radius: 2px; cursor: pointer;
}
.mobile-nav-drawer {
  display: none; position: fixed; top: var(--nav-h); left: 0; right: 0;
  background: var(--parch-3);
  border-bottom: 1px solid var(--rule);
  padding: 18px 5%; flex-direction: column; gap: 4px;
  box-shadow: 0 24px 40px rgba(11,10,13,0.14);
  z-index: 998;
}
.mobile-nav-drawer.open { display: flex; }
.mobile-nav-drawer a {
  padding: 12px 14px; font-size: 14px; font-weight: 500;
  color: var(--jet); border-radius: 2px;
  text-transform: uppercase; letter-spacing: 0.14em;
}
.mobile-nav-drawer a:hover, .mobile-nav-drawer a.active {
  background: var(--parch-2); color: var(--wine);
}
.mobile-nav-divider { height: 1px; background: var(--rule); margin: 10px 4px; opacity: 0.5; }
.mobile-nav-btns { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.mobile-nav-btns .btn-pub { width: 100%; padding: 14px; font-size: 13px; }

/* ── HERO — editorial, ink background ────────────────────── */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  background:
    radial-gradient(1200px 600px at 82% 12%, rgba(201,162,76,0.10), transparent 60%),
    radial-gradient(900px 500px at 12% 88%, rgba(122,30,44,0.18), transparent 55%),
    linear-gradient(180deg, #0B0A0D 0%, #17141B 100%);
  color: var(--ivory);
  padding: clamp(60px,10vh,120px) clamp(24px,6vw,88px) clamp(60px,8vh,96px);
  display: flex; align-items: center;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--grain);
  opacity: 0.55;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.hero::after {
  /* editorial vertical rule down the right side */
  content: '';
  position: absolute; top: 8%; bottom: 8%; right: max(24px, 4vw);
  width: 1px; background: linear-gradient(180deg, transparent, var(--brass) 30%, var(--brass) 70%, transparent);
  opacity: 0.5;
}
.hero-inner {
  position: relative; z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  width: 100%;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px;
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.22em;
  color: var(--brass);
  border: 1px solid rgba(201,162,76,0.5);
  border-radius: 999px;
  margin-bottom: 24px;
  background: rgba(201,162,76,0.06);
}
.hero-badge::before, .hero-badge::after {
  content: ''; width: 4px; height: 4px; background: var(--brass); border-radius: 50%; display: inline-block;
}
.hero h1 {
  font-size: clamp(46px, 8.4vw, 108px);
  font-weight: 500;
  line-height: 0.98;
  color: var(--ivory);
  letter-spacing: -0.02em;
  margin-bottom: 22px;
  max-width: 15ch;
}
.hero h1 em { color: var(--brass); font-style: italic; font-weight: 500; }
.hero p {
  font-family: var(--font-d);
  font-size: clamp(17px, 1.6vw, 22px);
  font-style: italic;
  color: var(--ivory-70);
  line-height: 1.55;
  margin-bottom: 44px;
  max-width: 56ch;
}

.hero-actions {
  display: flex; gap: 14px; flex-wrap: wrap; align-items: center;
  margin-bottom: 72px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding: 32px 0 0;
  border-top: 1px solid rgba(247,239,217,0.16);
  max-width: 780px;
}
.hero-stat {
  padding: 6px 24px;
  border-right: 1px solid rgba(247,239,217,0.14);
  text-align: left;
}
.hero-stat:first-child { padding-left: 0; }
.hero-stat:last-child  { border-right: none; }
.hero-stat .num {
  font-family: var(--font-d);
  font-size: clamp(30px, 3.4vw, 46px);
  font-weight: 500;
  color: var(--brass);
  line-height: 1;
  letter-spacing: -0.01em;
}
.hero-stat .lbl {
  font-size: 10.5px;
  color: var(--ivory-45);
  text-transform: uppercase;
  letter-spacing: 0.24em;
  margin-top: 10px;
}

/* ── SECTIONS + HEADERS ──────────────────────────────────── */
section {
  padding: clamp(72px, 10vh, 128px) clamp(24px, 6vw, 88px);
}
.section-header {
  margin: 0 auto 56px;
  max-width: 1180px;
}
.section-header.center { text-align: center; }
.section-header.center .section-sub { margin-left: auto; margin-right: auto; }
.section-label {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-b);
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.28em;
  color: var(--brass-2);
  margin-bottom: 20px;
}
.section-label::before {
  display: inline-block;
  width: 28px; height: 1px; background: var(--brass-2);
}
.section-header.center .section-label::before,
.section-header.center .section-label::after {
  display: inline-block;
  width: 28px; height: 1px; background: var(--brass-2);
}
.section-title {
  font-size: clamp(34px, 4.8vw, 62px);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.02;
  letter-spacing: -0.015em;
  margin-bottom: 20px;
  max-width: 22ch;
}
.section-header.center .section-title { margin-left: auto; margin-right: auto; }
.section-sub {
  font-family: var(--font-d);
  font-size: clamp(16px, 1.4vw, 20px);
  font-style: italic;
  color: var(--stone);
  line-height: 1.55;
  max-width: 62ch;
}

/* ── PAGE-HERO (About, Contact, Rooms) ───────────────────── */
.page-hero {
  position: relative;
  padding: clamp(90px,14vh,180px) clamp(24px,6vw,88px) clamp(70px,10vh,120px);
  background:
    linear-gradient(180deg, var(--parch-3) 0%, var(--parch) 100%);
  border-bottom: 1px solid var(--rule);
  text-align: center;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--grain);
  opacity: 0.35;
  pointer-events: none;
}
.page-hero > * { position: relative; z-index: 1; }
.page-hero .section-label {
  color: var(--brass-2);
  margin: 0 auto 22px;
}
.page-hero .section-label::before,
.page-hero .section-label::after {
  display: inline-block; width: 28px; height: 1px; background: var(--brass-2);
}
.page-hero h1 {
  font-size: clamp(48px, 8vw, 96px);
  font-style: italic; font-weight: 500;
  color: var(--ink);
  margin-bottom: 18px;
  letter-spacing: -0.015em;
}
.page-hero p {
  font-family: var(--font-d);
  font-size: clamp(16px, 1.4vw, 20px);
  font-style: italic;
  color: var(--stone);
  max-width: 60ch; margin: 0 auto;
}

/* ── ROOMS GRID ──────────────────────────────────────────── */
.rooms-pub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(288px, 1fr));
  gap: 28px;
  max-width: 1240px;
  margin: 0 auto;
}
.room-pub-card {
  background: var(--parch-3);
  border: 1px solid var(--rule-2);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
  position: relative;
  box-shadow: 0 1px 0 rgba(11,10,13,0.04);
}
.room-pub-card::before {
  /* subtle brass hairline top edge */
  content: ''; position: absolute; left: 20px; right: 20px; top: 0;
  height: 2px; background: var(--brass);
  transform: scaleX(0.28); transform-origin: left;
  transition: transform 0.35s ease;
}
.room-pub-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brass);
}
.room-pub-card:hover::before { transform: scaleX(1); }
.room-visual {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: linear-gradient(160deg, var(--ink) 0%, var(--ink-2) 100%);
}
.room-visual img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
}
.room-pub-card:hover .room-visual img { transform: scale(1.06); }
.room-visual-placeholder {
  width: 100%; height: 100%;
  background:
    radial-gradient(600px 260px at 30% 30%, rgba(201,162,76,0.15), transparent 60%),
    linear-gradient(160deg, var(--ink) 0%, var(--ink-2) 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--ivory);
  position: relative;
}
.room-visual-placeholder::after {
  content: ''; position: absolute; inset: 0;
  background: var(--grain); opacity: 0.4; pointer-events: none;
}
.room-num-big {
  font-family: var(--font-d);
  font-size: clamp(56px, 8vw, 92px);
  font-weight: 500;
  color: var(--brass);
  line-height: 1;
  letter-spacing: -0.02em;
}
.room-icon-big { font-size: 44px; margin-top: 6px; opacity: 0.85; }
.room-label-big {
  margin-top: 12px;
  font-size: 10.5px; letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ivory-70);
}
.room-badge-overlay {
  position: absolute; top: 14px; left: 14px;
  background: var(--brass);
  color: var(--ink);
  padding: 4px 12px;
  font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.2em;
  border-radius: 2px;
}
.room-pub-body { padding: 26px 24px 22px; display: flex; flex-direction: column; flex: 1; }
.room-pub-num  {
  font-size: 10.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.24em;
  color: var(--brass-2); margin-bottom: 8px;
}
.room-pub-name {
  font-family: var(--font-d);
  font-size: 26px; font-weight: 500;
  color: var(--ink); margin-bottom: 10px;
  line-height: 1.1;
}
.room-pub-desc {
  font-size: 14px; color: var(--stone);
  line-height: 1.6; margin-bottom: 18px; flex: 1;
}
.room-pub-amenities { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.amenity-tag {
  font-size: 11px; padding: 4px 10px;
  color: var(--stone-2);
  background: transparent;
  border: 1px solid var(--rule-2);
  border-radius: 999px;
  text-transform: uppercase; letter-spacing: 0.1em;
}
.room-pub-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 18px; border-top: 1px solid var(--rule-2); gap: 12px;
}
.room-price-pub {
  font-family: var(--font-d);
  font-size: 26px; font-weight: 500;
  color: var(--wine);
  letter-spacing: -0.01em;
}
.room-price-pub span { font-size: 13px; color: var(--stone); font-family: var(--font-b); font-weight: 400; }

/* ── AMENITIES / FEATURES SECTION ────────────────────────── */
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 8px;
  max-width: 1240px; margin: 0 auto;
}
.amenity-card {
  background: transparent;
  padding: 30px 28px 32px;
  border: none;
  border-top: 1px solid var(--rule);
  border-radius: 0;
  transition: background 0.25s ease, transform 0.25s ease;
  position: relative;
}
.amenity-card::before {
  /* brass tick that grows on hover */
  content: ''; position: absolute; top: -1px; left: 0;
  width: 40px; height: 2px; background: var(--brass);
  transition: width 0.35s ease;
}
.amenity-card:hover {
  background: var(--parch-3);
  transform: translateY(-2px);
}
.amenity-card:hover::before { width: 120px; }
.amenity-card .icon {
  font-size: 32px; margin-bottom: 16px;
  color: var(--wine); line-height: 1;
}
.amenity-card h4 {
  font-family: var(--font-d);
  font-size: 22px; font-weight: 500;
  color: var(--ink); margin-bottom: 8px;
}
.amenity-card p {
  font-size: 14px; color: var(--stone);
  line-height: 1.6;
}

/* ── TESTIMONIALS — ink background ───────────────────────── */
.testimonials-section {
  background: linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%);
  position: relative;
  color: var(--ivory);
}
.testimonials-section::before {
  content: ''; position: absolute; inset: 0;
  background: var(--grain); opacity: 0.5; mix-blend-mode: overlay; pointer-events: none;
}
.testimonials-section .section-label { color: var(--brass); }
.testimonials-section .section-label::before,
.testimonials-section .section-label::after { background: var(--brass); }
.testimonials-section .section-title { color: var(--ivory); }
.testimonials-section .section-sub  { color: var(--ivory-70); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 26px;
  max-width: 1240px; margin: 0 auto;
  position: relative; z-index: 1;
}
.testimonial-card {
  background: rgba(247,239,217,0.03);
  border: 1px solid rgba(201,162,76,0.25);
  padding: 30px 28px 26px;
  border-radius: var(--radius);
  position: relative;
  transition: background 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}
.testimonial-card::before {
  content: '“';
  position: absolute; top: 6px; right: 22px;
  font-family: var(--font-d);
  font-size: 84px; line-height: 1;
  color: var(--brass);
  opacity: 0.18;
}
.testimonial-card:hover {
  background: rgba(247,239,217,0.06);
  border-color: var(--brass);
  transform: translateY(-3px);
}
.testimonial-stars { color: var(--brass); font-size: 15px; margin-bottom: 14px; letter-spacing: 3px; }
.testimonial-text  {
  font-family: var(--font-d);
  font-size: 19px; font-style: italic;
  color: var(--ivory);
  margin-bottom: 22px; line-height: 1.55;
}
.testimonial-author strong { display: block; color: var(--ivory); font-size: 14px; font-weight: 600; font-family: var(--font-b); margin-bottom: 3px; letter-spacing: 0.01em; }
.testimonial-author span   { font-size: 10.5px; color: var(--ivory-45); text-transform: uppercase; letter-spacing: 0.22em; }

/* ── BOOKING SECTION ─────────────────────────────────────── */
.booking-section { background: var(--parch-3); }
.booking-card {
  max-width: 1180px; margin: 0 auto;
  padding: clamp(40px,6vw,72px);
  background: var(--parch);
  border: 1px solid var(--rule-2);
  border-radius: var(--radius);
  position: relative;
}
.booking-card::before, .booking-card::after {
  /* deco corner ornaments */
  content: ''; position: absolute; width: 26px; height: 26px;
  border: 1px solid var(--brass); pointer-events: none;
}
.booking-card::before { top: 14px; left: 14px; border-right: none; border-bottom: none; }
.booking-card::after  { bottom: 14px; right: 14px; border-left: none; border-top: none; }

/* ── CTA BAND — deep wine ────────────────────────────────── */
.cta-band {
  background:
    radial-gradient(700px 300px at 20% 0%, rgba(201,162,76,0.18), transparent 60%),
    linear-gradient(180deg, var(--wine-2) 0%, var(--wine) 100%);
  color: var(--ivory);
  padding: clamp(70px,10vh,120px) clamp(24px,6vw,88px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; inset: 0;
  background: var(--grain); opacity: 0.4; mix-blend-mode: overlay; pointer-events: none;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 {
  font-size: clamp(38px,5vw,64px);
  font-weight: 500; font-style: italic;
  color: var(--ivory);
  margin-bottom: 12px;
}
.cta-band p {
  font-family: var(--font-d);
  font-size: clamp(17px,1.6vw,22px);
  color: var(--ivory-70);
  margin-bottom: 34px;
  font-style: italic;
}
.cta-band .btn-gold-pub {
  background: var(--brass); color: var(--ink); border-color: var(--brass);
  box-shadow: 0 8px 22px rgba(201,162,76,0.35);
}
.cta-band .btn-gold-pub:hover { background: var(--brass-3); border-color: var(--brass-3); }

/* ── FOOTER ──────────────────────────────────────────────── */
footer {
  background: var(--ink);
  color: var(--ivory-70);
  padding: clamp(56px,7vh,88px) clamp(24px,6vw,88px) 36px;
  position: relative;
  border-top: 1px solid rgba(201,162,76,0.35);
}
footer::before {
  content: ''; position: absolute; inset: 0;
  background: var(--grain); opacity: 0.3; mix-blend-mode: overlay; pointer-events: none;
}
footer > * { position: relative; z-index: 1; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: 1240px; margin: 0 auto 40px;
}
.footer-brand-col h3 {
  font-family: var(--font-d);
  font-size: 26px; font-weight: 500;
  color: var(--ivory); margin-bottom: 12px;
}
.footer-brand-col h3 .star { color: var(--brass); }
.footer-brand-col p {
  font-size: 14px; line-height: 1.7;
  color: var(--ivory-70); max-width: 34ch;
}
.footer-col h4 {
  font-family: var(--font-b);
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.22em;
  color: var(--brass);
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-col a {
  color: var(--ivory-70);
  font-size: 14px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--brass); }
.footer-bottom {
  max-width: 1240px; margin: 0 auto;
  padding-top: 28px; border-top: 1px solid rgba(201,162,76,0.24);
  display: flex; align-items: center; justify-content: space-between;
  color: var(--ivory-45);
  font-size: 12.5px;
  gap: 16px; flex-wrap: wrap;
}
.footer-bottom a { color: var(--brass); }

/* ── ABOUT PAGE — editorial body ─────────────────────────── */
.about-section {
  padding: clamp(70px,9vh,120px) clamp(24px,6vw,88px);
}
.about-story {
  max-width: 780px; margin: 0 auto;
  font-family: var(--font-d);
  font-size: 20px; line-height: 1.75;
  color: var(--jet);
}
.about-story p { margin-bottom: 22px; }
.about-story p:first-of-type::first-letter {
  font-family: var(--font-d);
  font-size: 78px; font-weight: 600;
  float: left; line-height: 0.9;
  padding: 4px 12px 0 0;
  color: var(--wine);
  font-style: italic;
}
.about-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  max-width: 1180px; margin: 60px auto 0;
}
.about-feature {
  padding: 24px 22px;
  border: 1px solid var(--rule-2);
  border-radius: var(--radius);
  background: var(--parch-3);
  text-align: center;
}
.about-feature .num {
  font-family: var(--font-d);
  font-size: 42px; font-weight: 500;
  color: var(--wine); line-height: 1;
  margin-bottom: 8px;
}
.about-feature .lbl {
  font-size: 11px; text-transform: uppercase;
  letter-spacing: 0.2em; color: var(--stone-2);
}

/* ── CONTACT PAGE ────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1180px; margin: 0 auto;
}
.contact-card {
  background: var(--parch-3);
  border: 1px solid var(--rule-2);
  padding: 36px 32px;
  border-radius: var(--radius);
  position: relative;
}
.contact-card h3 {
  font-family: var(--font-d);
  font-size: 28px; font-weight: 500;
  color: var(--ink); margin-bottom: 22px;
}
.contact-row { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--rule-2); }
.contact-row:last-child { border-bottom: none; }
.contact-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(201,162,76,0.14);
  border: 1px solid rgba(201,162,76,0.3);
  border-radius: 50%;
  color: var(--wine);
  font-size: 18px;
}
.contact-row .lbl {
  font-size: 10.5px; text-transform: uppercase;
  letter-spacing: 0.22em; color: var(--stone-2);
  margin-bottom: 4px;
}
.contact-row .val {
  font-family: var(--font-d);
  font-size: 19px; color: var(--ink); font-weight: 500;
}
.contact-row .val a { color: var(--wine); }
.contact-row .val a:hover { color: var(--brass-2); }

/* ── ANIMATIONS ──────────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.85s ease, transform 0.85s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger-pub { display: inline-flex; align-items: center; justify-content: center; }
  .hero { padding-top: 60px; padding-bottom: 60px; }
  .hero-actions { margin-bottom: 44px; }
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 0;
  }
  .hero-stat { border-right: none; padding: 8px 16px; }
  .hero-stat:nth-child(odd) { border-right: 1px solid rgba(247,239,217,0.14); }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { justify-content: center; text-align: center; }
  .contact-grid { grid-template-columns: 1fr; gap: 24px; }
  .amenities-grid { gap: 0; }
}
@media (max-width: 560px) {
  section { padding-left: 20px; padding-right: 20px; }
  .about-story { font-size: 17px; line-height: 1.7; }
  .about-story p:first-of-type::first-letter { font-size: 62px; padding-right: 8px; }
  .booking-card { padding: 28px 20px; }
  .hero-badge { font-size: 10px; letter-spacing: 0.18em; }
  .hero-stat .num { font-size: 26px; }
  .hero-stat .lbl { font-size: 10px; letter-spacing: 0.18em; }
}

/* ============================================================
   COMPATIBILITY LAYER
   These class names are used directly by the four public PHP
   pages (index / rooms / about / contact) and were preserved
   from the previous design so the HTML doesn't need touching.
   ============================================================ */

/* ── About page: 2-column story + rotating star crest ────── */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 1.35fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
  max-width: 1240px; margin: 0 auto;
}
.about-visual {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius);
  background:
    radial-gradient(500px 260px at 30% 22%, rgba(201,162,76,0.22), transparent 60%),
    linear-gradient(160deg, var(--ink) 0%, var(--ink-2) 100%);
  color: var(--brass);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  border: 1px solid var(--rule);
  box-shadow: var(--shadow-ink);
}
.about-visual::before {
  content: ''; position: absolute; inset: 0;
  background: var(--grain); opacity: 0.5; mix-blend-mode: overlay; pointer-events: none;
}
.about-visual::after {
  /* decorative ring around the crest */
  content: ''; position: absolute; left: 50%; top: 50%;
  width: 62%; height: 62%; transform: translate(-50%, -50%);
  border: 1px solid var(--brass); border-radius: 50%; opacity: 0.35;
}

.about-feature {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 20px 18px;
  background: var(--parch-3);
  border: 1px solid var(--rule-2);
  border-radius: var(--radius);
  text-align: left;
}
.about-feature .icon-wrap {
  flex-shrink: 0;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(201,162,76,0.14);
  border: 1px solid rgba(201,162,76,0.3);
  border-radius: 6px;
  font-size: 18px;
  color: var(--wine);
}
.about-feature h4 {
  font-family: var(--font-d);
  font-size: 19px; font-weight: 500;
  color: var(--ink); margin-bottom: 4px;
  line-height: 1.15;
}

/* ── Stats band (About page) ─────────────────────────────── */
.stats-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  max-width: 1180px; margin: 44px auto 0;
  background: var(--ink);
  color: var(--ivory);
  border-radius: var(--radius);
  padding: 34px 20px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-ink);
}
.stats-band::before {
  content: ''; position: absolute; inset: 0;
  background: var(--grain); opacity: 0.4; mix-blend-mode: overlay; pointer-events: none;
}
.stats-band-item {
  text-align: center;
  padding: 4px 16px;
  border-right: 1px solid rgba(247,239,217,0.16);
  position: relative; z-index: 1;
}
.stats-band-item:last-child { border-right: none; }
.stats-band-item .snum {
  font-family: var(--font-d);
  font-size: clamp(30px, 3.6vw, 46px);
  font-weight: 500;
  color: var(--brass);
  line-height: 1;
  letter-spacing: -0.01em;
}
.stats-band-item .slbl {
  font-size: 10.5px;
  color: var(--ivory-45);
  text-transform: uppercase;
  letter-spacing: 0.24em;
  margin-top: 10px;
}

/* ── Contact page: dark info card + light form card ──────── */
.contact-info-card {
  background: linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%);
  color: var(--ivory);
  padding: 40px 34px;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-ink);
  border: 1px solid rgba(201,162,76,0.3);
}
.contact-info-card::before {
  content: ''; position: absolute; inset: 0;
  background: var(--grain); opacity: 0.45; mix-blend-mode: overlay; pointer-events: none;
}
.contact-info-card > * { position: relative; z-index: 1; }
.contact-info-card h3 {
  font-family: var(--font-d);
  font-size: 28px; font-weight: 500;
  color: var(--ivory);
  margin-bottom: 6px;
  letter-spacing: -0.005em;
}
.contact-info-card p {
  color: var(--ivory-70) !important;
  font-family: var(--font-d);
  font-style: italic;
  font-size: 15px !important;
  margin-bottom: 20px;
  margin-top: 4px !important;
}
.contact-item {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid rgba(201,162,76,0.22);
}
.contact-item:last-of-type { border-bottom: none; }
.ci-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(201,162,76,0.14);
  border: 1px solid rgba(201,162,76,0.4);
  border-radius: 50%;
  color: var(--brass);
  font-size: 17px;
}
.contact-item h5 {
  font-family: var(--font-b);
  font-size: 10.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.22em;
  color: var(--brass);
  margin-bottom: 4px;
}
.contact-item p {
  color: var(--ivory) !important;
  font-family: var(--font-d) !important;
  font-style: normal !important;
  font-size: 16px !important;
  font-weight: 500;
  margin-bottom: 0 !important;
  line-height: 1.5;
}
.contact-item p a { color: var(--brass); }
.contact-item p a:hover { color: var(--brass-3); }

.contact-form-card {
  background: var(--parch-3);
  padding: 40px 34px;
  border-radius: var(--radius);
  border: 1px solid var(--rule-2);
}
.contact-form-card h3 {
  font-family: var(--font-d) !important;
  font-size: 28px !important;
  font-weight: 500 !important;
  color: var(--ink) !important;
  margin-bottom: 24px !important;
  letter-spacing: -0.005em;
}
.form-pub-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 14px;
}
.form-pub-group { margin-bottom: 14px; display: flex; flex-direction: column; gap: 6px; }
.form-pub-group label {
  font-size: 10.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.2em;
  color: var(--stone);
}
.form-pub-group input,
.form-pub-group textarea,
.form-pub-group select {
  width: 100%;
  padding: 12px 14px;
  font-family: var(--font-b);
  font-size: 15px;
  color: var(--jet);
  background: var(--parch);
  border: 1px solid var(--rule-2);
  border-radius: 2px;
  transition: border-color 0.2s, background 0.2s;
}
.form-pub-group input:focus,
.form-pub-group textarea:focus,
.form-pub-group select:focus {
  outline: none;
  border-color: var(--wine);
  background: #fff;
}
.form-pub-group textarea { resize: vertical; min-height: 96px; font-family: var(--font-b); }

.btn-book-whatsapp {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; width: 100%;
  padding: 15px 24px;
  font-family: var(--font-b);
  font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--parch-3);
  background: var(--wine);
  border: 1px solid var(--wine);
  border-radius: 2px;
  cursor: pointer;
  transition: transform 0.15s, background 0.2s, box-shadow 0.2s;
  margin-top: 8px;
  box-shadow: 0 6px 18px rgba(122,30,44,0.25);
}
.btn-book-whatsapp:hover {
  background: var(--wine-2); border-color: var(--wine-2);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(122,30,44,0.35);
}

.alert {
  display: none;
  padding: 12px 14px;
  border-radius: 2px;
  font-size: 13.5px; font-weight: 500;
  margin-bottom: 14px;
  border-left: 3px solid transparent;
}
.alert.show { display: block; }
.alert-error   { background: rgba(122,30,44,0.09); color: var(--wine); border-left-color: var(--wine); }
.alert-success { background: rgba(31,61,52,0.08); color: var(--pine); border-left-color: var(--pine); }

/* ── Footer variants used by index.php ───────────────────── */
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: 1240px; margin: 0 auto 40px;
}
.footer-brand h3 {
  font-family: var(--font-d);
  font-size: 26px; font-weight: 500;
  color: var(--ivory); margin-bottom: 12px;
}
.footer-brand h3 .star,
.footer-brand h3 { }
.footer-brand p {
  font-size: 14px; line-height: 1.7;
  color: var(--ivory-70); max-width: 34ch;
}
.footer-links h5 {
  font-family: var(--font-b);
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.22em;
  color: var(--brass);
  margin-bottom: 18px;
}
.footer-links ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-links a {
  color: var(--ivory-70);
  font-size: 14px;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--brass); }

/* ── Utilities used across pages ─────────────────────────── */
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }

/* ── Responsive addendum for new selectors ───────────────── */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { aspect-ratio: 5/3; max-width: 480px; margin: 0 auto; }
  .stats-band { grid-template-columns: repeat(2, 1fr); padding: 20px; gap: 20px 0; }
  .stats-band-item { border-right: none; padding: 8px 12px; }
  .stats-band-item:nth-child(odd) { border-right: 1px solid rgba(247,239,217,0.16); }
  .contact-info-card, .contact-form-card { padding: 30px 24px; }
  .form-pub-row { grid-template-columns: 1fr; }
  /* ── Jul 2026: footer stacks to a single column on mobile. This rule
       lives here (after the compatibility layer redefines `.footer-grid`)
       so the cascade lands correctly — putting it in the earlier media
       query got overridden by the later same-specificity rule. */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    text-align: left;
  }
  .footer-brand p { max-width: 100%; }
  .footer-bottom {
    justify-content: center;
    text-align: center;
    flex-direction: column;
    gap: 8px;
  }
}
@media (max-width: 560px) {
  .about-features { grid-template-columns: 1fr; }
  .stats-band { grid-template-columns: 1fr; gap: 20px; }
  .stats-band-item { border-right: none !important; padding: 6px 0; }
  .stats-band-item + .stats-band-item { border-top: 1px solid rgba(247,239,217,0.16); padding-top: 20px; }
}
