/* ==========================================================================
   HEADLINER STAYS - BRAND DESIGN SYSTEM
   Vibrant, warm, editorial. Maroon-first with playful accents.
   Built from the Headliner Stays Brand Guidelines.
   ========================================================================== */

/* 1. Fonts & Core Variables */
@font-face {
  font-family: 'Silver Editorial';
  src: url('fonts/TheSilverEditorial-Regular.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Silver Editorial';
  src: url('fonts/TheSilverEditorial-Italic.otf') format('opentype');
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Professor';
  src: url('fonts/Professor.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Epilogue';
  src: url('fonts/Epilogue-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* --- Brand Core Palette (per Brand Guidelines) --- */
  --color-maroon: #5F0012;     /* Primary brand color */
  --color-orange: #F17422;     /* Primary action accent */
  --color-gold: #CDBE3C;       /* Green/Gold supporting accent (corrected) */
  --color-blue: #A3BAE6;       /* Blue supporting accent */
  --color-white: #FFFFFF;
  --color-black: #000000;

  --color-maroon-rgb: 95, 0, 18;
  --color-orange-rgb: 241, 116, 34;
  --color-gold-rgb: 205, 190, 60;
  --color-blue-rgb: 163, 186, 230;

  /* Maroon shades for depth on dark/maroon sections */
  --maroon-deep: #44000d;      /* Deeper panel inside maroon sections */
  --maroon-panel: #4f000f;     /* Card surface on maroon sections */
  --maroon-hover: #6e0a1f;     /* Hover state on maroon surfaces */

  /* --- Surfaces & Text --- */
  --bg-base: #FDFBF8;          /* Near-white warm canvas (light & luxe) */
  --bg-cream: #F6F1EA;         /* Subtle warm band — barely tinted */
  --bg-card: #FFFFFF;          /* Clean white cards */

  --color-ink: #2A1116;        /* Warm near-black body ink on light */
  --color-ink-soft: #5c474b;   /* Muted body text on light */
  --color-cream-text: #F7E7EA; /* Cream text on maroon */
  --color-cream-muted: #e6c9cf;/* Muted cream text on maroon */

  /* Legacy aliases kept so existing markup keeps working */
  --bg-surface: var(--color-maroon);
  --bg-surface-elevated: var(--maroon-panel);
  --color-text-light: var(--color-white);
  --color-text-muted: var(--color-ink-soft);

  /* --- Gradients --- */
  /* Action gradient: orange -> maroon (buttons, hero highlight) */
  --brand-gradient: linear-gradient(135deg, #F17422 0%, #5F0012 100%);
  /* Warm text gradient for dark/maroon backgrounds */
  --gold-gradient: linear-gradient(135deg, #ffffff 0%, #CDBE3C 45%, #F17422 100%);
  /* Text gradient for light backgrounds */
  --maroon-gradient: linear-gradient(135deg, #F17422 0%, #5F0012 90%);
  --soft-tint: linear-gradient(135deg, rgba(241, 116, 34, 0.10) 0%, rgba(95, 0, 18, 0.06) 100%);

  /* --- Fonts --- */
  --font-heading: 'Silver Editorial', serif;
  --font-body: 'Epilogue', sans-serif;
  --font-accent: 'Professor', cursive;

  /* --- Shapes, Borders & Shadows --- */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-btn: 8px;           /* Refined rounded-rectangle CTA (brand book) */
  --radius-pill: 999px;

  --border-soft: rgba(95, 0, 18, 0.12);
  --border-cream: rgba(247, 231, 234, 0.22);

  --shadow-soft: 0 10px 30px rgba(95, 0, 18, 0.10);
  --shadow-lift: 0 18px 44px rgba(95, 0, 18, 0.18);
  --shadow-orange: 0 16px 40px rgba(241, 116, 34, 0.28);

  /* --- Transitions --- */
  --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.2s ease;

  --header-height: 90px;
}

/* 2. Resets & Global Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

body {
  background-color: var(--bg-base);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;

  --scrollbar-thumb: var(--color-maroon);
  --scrollbar-track: var(--bg-cream);
  scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
}

@supports not (scrollbar-color: auto) {
  ::-webkit-scrollbar { width: 10px; height: 10px; }
  ::-webkit-scrollbar-track { background: var(--bg-cream); }
  ::-webkit-scrollbar-thumb {
    background: var(--color-maroon);
    border: 2px solid var(--bg-cream);
    border-radius: var(--radius-pill);
  }
  ::-webkit-scrollbar-thumb:hover { background: var(--color-orange); }
}

::selection {
  background-color: var(--color-orange);
  color: var(--color-white);
}

/* Heading Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-maroon);
  letter-spacing: 0.01em;
  font-weight: normal;
  line-height: 1.18;
  text-transform: none; /* Sentence Case per brand */
}

a {
  color: var(--color-maroon);
  text-decoration: none;
  transition: var(--transition-fast);
}

p {
  margin-bottom: 1.5rem;
}

/* 3. Layout Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
  position: relative;
}

/* Section themes — the alternating maroon/cream rhythm from the brand book */
.section-dark {            /* now a bold maroon band */
  background-color: var(--color-maroon);
  color: var(--color-cream-text);
}

.section-surface {         /* soft blush-cream band */
  background-color: var(--bg-cream);
  color: var(--color-ink);
}

.section-light {           /* clean white canvas */
  background-color: var(--bg-card);
  color: var(--color-ink);
}

.grid { display: grid; gap: 32px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 992px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
}

/* 4. Buttons & CTAs (rounded, warm, confident) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 32px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border-radius: var(--radius-btn);
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  z-index: 1;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--color-maroon);
  color: var(--color-white);
  box-shadow: var(--shadow-soft);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transition: 0.6s;
  z-index: -1;
}

.btn-primary:hover::before { left: 120%; }

.btn-primary:hover {
  transform: translateY(-2px);
  background: #76081f;
  box-shadow: var(--shadow-lift);
  color: var(--color-white);
}

/* On maroon surfaces, primary CTA inverts to a clean cream button */
.section-dark .btn-primary,
.accent-panel .btn-primary {
  background: var(--color-white);
  color: var(--color-maroon);
}
.section-dark .btn-primary:hover,
.accent-panel .btn-primary:hover {
  background: var(--color-gold);
  color: var(--color-maroon);
}

.btn-secondary {
  background: transparent;
  color: var(--color-maroon);
  border: 1.5px solid var(--color-maroon);
}

.btn-secondary:hover {
  background: var(--color-maroon);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

/* Buttons placed on maroon sections invert for contrast */
.section-dark .btn-secondary {
  color: var(--color-white);
  border-color: rgba(247, 231, 234, 0.6);
}
.section-dark .btn-secondary:hover {
  background: var(--color-white);
  color: var(--color-maroon);
  border-color: var(--color-white);
}

/* Text gradients */
.gold-gradient-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

/* On light sections, gradient titles read in warm maroon->orange */
.section-light .gold-gradient-text,
.section-surface .gold-gradient-text {
  background: var(--maroon-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Accent script (Professor) */
.accent-script {
  font-family: var(--font-accent), cursive;
  text-transform: none !important;
  font-size: 1.9rem;
  letter-spacing: normal;
  color: var(--color-orange);
  font-weight: normal;
}

/* Checkered backgrounds */
.checkered-bg {
  background-image: url('images/headliner-stays-checkered-pattern-black-rgb.svg');
  background-repeat: repeat;
  background-size: 180px 90px;
}
.checkered-bg-maroon {
  background-image: url('images/headliner-stays-checkered-pattern-maroon-rgb.svg');
  background-repeat: repeat;
  background-size: 180px 90px;
}

/* Section Header */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}

.section-header .subtitle {
  font-family: var(--font-accent), cursive;
  font-size: 1.5rem;
  color: var(--color-orange);
  text-transform: none;
  letter-spacing: normal;
  margin-bottom: 6px;
  display: block;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 18px;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--color-ink-soft);
}

/* Headings/text colors when inside a maroon section */
.section-dark h1, .section-dark h2, .section-dark h3,
.section-dark h4, .section-dark h5, .section-dark h6 {
  color: var(--color-white);
}
.section-dark p { color: var(--color-cream-muted); }
.section-dark .section-header p { color: var(--color-cream-muted); }
.section-dark .section-header .subtitle { color: var(--color-gold); }

/* 5. Navigation Header */
header.main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 100;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  background: var(--color-maroon);
  border-bottom: 1px solid rgba(247, 231, 234, 0.10);
}

header.main-header.scrolled {
  height: 70px;
  background: rgba(95, 0, 18, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(247, 231, 234, 0.12);
  box-shadow: 0 6px 24px rgba(95, 0, 18, 0.18);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo a { display: flex; align-items: center; gap: 10px; }
.logo img { height: 34px; width: auto; }

nav.nav-menu ul {
  display: flex;
  list-style: none;
  gap: 36px;
}

nav.nav-menu ul li a {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-white);
  opacity: 0.85;
  position: relative;
  padding: 8px 0;
}

nav.nav-menu ul li a:hover,
nav.nav-menu ul li.active a {
  opacity: 1;
  color: var(--color-gold);
}

nav.nav-menu ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-gold);
  border-radius: var(--radius-pill);
  transition: var(--transition-fast);
}

nav.nav-menu ul li a:hover::after,
nav.nav-menu ul li.active a::after { width: 100%; }

/* When not scrolled, header sits over light pages on inner pages.
   Inner pages start with a maroon page-intro, so white nav text is safe. */

.nav-cta { display: block; }
/* Bright orange action button — pops against the maroon header */
.nav-cta .btn-secondary {
  background: var(--color-orange);
  color: var(--color-white);
  border-color: var(--color-orange);
  padding: 11px 26px;
  box-shadow: 0 4px 14px rgba(241, 116, 34, 0.35);
}
.nav-cta .btn-secondary:hover {
  background: #ff8a3d;
  border-color: #ff8a3d;
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(241, 116, 34, 0.45);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 20px;
  position: relative;
  z-index: 110;
}

.mobile-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-white);
  border-radius: var(--radius-pill);
  position: absolute;
  left: 0;
  transition: var(--transition-fast);
}

.mobile-toggle span:nth-child(1) { top: 0; }
.mobile-toggle span:nth-child(2) { top: 9px; }
.mobile-toggle span:nth-child(3) { top: 18px; }

.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg); top: 9px; background: var(--color-gold); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg); top: 9px; background: var(--color-gold); }

@media (max-width: 768px) {
  .mobile-toggle { display: block; }

  nav.nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--color-maroon);
    z-index: 105;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  nav.nav-menu.active { right: 0; }

  nav.nav-menu ul {
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
  }

  nav.nav-menu ul li a { font-size: 1.25rem; }
  .nav-cta { display: none; }
}

/* 6. Hero Section — photo with a warm maroon wash */
.hero {
  height: 100vh;
  min-height: 600px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--color-maroon);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(20, 0, 4, 0.60) 0%, rgba(20, 0, 4, 0.25) 35%, rgba(20, 0, 4, 0.0) 70%),
              linear-gradient(to top, rgba(30, 0, 6, 0.25) 0%, transparent 40%);
  z-index: 2;
}

.hero-bg-media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 1;
  transform: scale(1.05);
  animation: zoom-out 20s infinite alternate;
}

@keyframes zoom-out {
  from { transform: scale(1.05); }
  to { transform: scale(1); }
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 820px;
  padding-top: 60px;
}

.hero-tagline {
  color: var(--color-gold);
  margin-bottom: 14px;
  display: inline-block;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5), 0 1px 3px rgba(0, 0, 0, 0.5);
}
.hero-tagline.accent-script { font-size: 2rem; }

.hero h1 {
  font-size: 4rem;
  color: var(--color-white);
  font-weight: normal;
  margin-bottom: 24px;
  line-height: 1.08;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6), 0 1px 3px rgba(0, 0, 0, 0.5);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  color: var(--color-cream-text);
  max-width: 640px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5), 0 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-actions { display: flex; gap: 18px; }

.hero .btn-secondary {
  color: var(--color-white);
  border-color: rgba(247, 231, 234, 0.65);
}
.hero .btn-secondary:hover {
  background: var(--color-white);
  color: var(--color-maroon);
  border-color: var(--color-white);
}

@media (max-width: 768px) {
  .hero h1 { font-size: 2.6rem; }
  .hero p { font-size: 1.05rem; }
  .hero-actions { flex-direction: column; gap: 14px; }
}

/* 7. Stats — a light band; numbers carry the maroon brand accent */
.stats-section {
  background: var(--bg-cream);
  padding: 0;
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border-soft);
}

.stat-item {
  background: var(--bg-cream);
  padding: 52px 30px;
  text-align: center;
  transition: var(--transition-smooth);
}

.stat-item:hover { background: var(--bg-card); }

.stat-num {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 400;
  margin-bottom: 10px;
  color: var(--color-maroon);
}

/* keep numbers in a warm maroon gradient even though section has no theme class */
.stats-section .stat-num.gold-gradient-text {
  background: var(--maroon-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-ink-soft);
}

@media (max-width: 992px) {
  .stats-container { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .stats-container { grid-template-columns: 1fr; }
}

/* Shared faint resting shadow so white cards read crisply on white */
.feature-card,
.property-card,
.subservice-card,
.amenity-card {
  box-shadow: 0 2px 10px rgba(95, 0, 18, 0.05);
}

/* 8. Feature Cards — clean white by default, rounded & playful */
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 40px;
  transition: var(--transition-smooth);
}

.feature-card:hover {
  border-color: rgba(var(--color-orange-rgb), 0.5);
  box-shadow: var(--shadow-lift);
  transform: translateY(-6px);
}

.feature-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-orange);
  background: rgba(var(--color-orange-rgb), 0.1);
  border-radius: var(--radius-sm);
  padding: 12px;
}

.feature-icon svg { width: 100%; height: 100%; fill: var(--color-orange); }

.feature-card h3 { font-size: 1.35rem; margin-bottom: 14px; color: var(--color-maroon); }
.feature-card p { margin-bottom: 0; font-size: 0.95rem; color: var(--color-ink-soft); }

/* Feature cards inside a maroon section become deep-maroon panels */
.section-dark .feature-card {
  background: var(--maroon-panel);
  border-color: rgba(247, 231, 234, 0.14);
}
.section-dark .feature-card:hover {
  border-color: rgba(var(--color-gold-rgb), 0.55);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.3);
}
.section-dark .feature-card h3 { color: var(--color-white); }
.section-dark .feature-card p { color: var(--color-cream-muted); }
.section-dark .feature-icon {
  color: var(--color-gold);
  background: rgba(var(--color-gold-rgb), 0.16);
}
.section-dark .feature-icon svg { fill: var(--color-gold); }

/* 9. Property Cards (Portfolio) */
.property-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.property-card:hover {
  border-color: rgba(var(--color-orange-rgb), 0.5);
  box-shadow: var(--shadow-lift);
  transform: translateY(-6px);
}

.property-image {
  height: 300px;
  position: relative;
  overflow: hidden;
  background-color: var(--bg-cream);
}

.property-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.property-card:hover .property-image img { transform: scale(1.06); }

.property-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--color-maroon);
  color: var(--color-white);
  padding: 7px 14px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: var(--radius-pill);
}

.property-info {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.property-meta {
  display: flex;
  gap: 14px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-orange);
  margin-bottom: 12px;
  font-weight: 600;
}

.property-title { font-size: 1.6rem; margin-bottom: 14px; color: var(--color-maroon); }
.property-desc { font-size: 0.95rem; margin-bottom: 24px; flex-grow: 1; color: var(--color-ink-soft); }

.property-amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--border-soft);
}

.amenity-tag {
  background: var(--bg-cream);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-pill);
  padding: 7px 14px;
  font-size: 0.75rem;
  color: var(--color-maroon);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.amenity-tag svg { width: 12px; height: 12px; fill: var(--color-orange); }

/* Page Intro — light, airy banner on inner pages */
.page-intro {
  padding-top: 160px;
  padding-bottom: 64px;
  background: var(--bg-base);
  color: var(--color-ink);
  border-bottom: 1px solid var(--border-soft);
}

.page-intro h1 {
  font-size: 3.4rem;
  margin-bottom: 18px;
  font-weight: normal;
  color: var(--color-maroon);
}

.page-intro p {
  font-size: 1.15rem;
  max-width: 720px;
  color: var(--color-ink-soft);
}

/* 10. Our Story Layout */
.story-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.story-media {
  height: 500px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 10px;
  overflow: hidden;
}

.story-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: calc(var(--radius-md) - 6px);
}

.story-text h3 { font-size: 1.85rem; margin-bottom: 18px; }

/* On maroon sections the story media frame goes deep maroon */
.section-dark .story-media {
  background: var(--maroon-panel);
  border-color: rgba(247, 231, 234, 0.14);
}

@media (max-width: 768px) {
  .story-block { grid-template-columns: 1fr; gap: 40px; }
  .story-media { height: 350px; }
}

/* 11. Work With Us — Tabs */
.partnership-tabs { margin-bottom: 60px; }

.tabs-nav {
  display: flex;
  justify-content: center;
  border-bottom: 1px solid var(--border-soft);
  gap: 20px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}

.tab-btn {
  background: transparent;
  border: none;
  color: var(--color-ink-soft);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  padding: 14px 20px;
  cursor: pointer;
  position: relative;
  transition: var(--transition-fast);
}

.tab-btn:hover, .tab-btn.active { color: var(--color-maroon); }

.tab-btn::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--color-orange);
  border-radius: var(--radius-pill);
  transition: var(--transition-fast);
}

.tab-btn.active::after { width: 100%; }

/* Tabs sitting on a maroon section */
.section-dark .tabs-nav { border-bottom-color: rgba(247, 231, 234, 0.2); }
.section-dark .tab-btn { color: var(--color-cream-muted); }
.section-dark .tab-btn:hover, .section-dark .tab-btn.active { color: var(--color-white); }
.section-dark .tab-btn::after { background: var(--color-gold); }

.tab-content { display: none; animation: fade-in-tab 0.5s ease forwards; }
.tab-content.active { display: block; }

@keyframes fade-in-tab {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.tab-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.tab-info-text h3 { font-size: 2rem; margin-bottom: 18px; }

.tab-info-text ul { list-style: none; margin: 22px 0 32px; }

.tab-info-text ul li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  font-size: 1rem;
}

.tab-info-text ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-orange);
  font-weight: bold;
}
.section-dark .tab-info-text ul li::before { color: var(--color-gold); }

.tab-media {
  height: 420px;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 10px;
  overflow: hidden;
}

.tab-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: calc(var(--radius-md) - 6px);
}

.section-dark .tab-media {
  background: var(--maroon-panel);
  border-color: rgba(247, 231, 234, 0.14);
}

@media (max-width: 992px) {
  .tab-grid { grid-template-columns: 1fr; gap: 40px; }
  .tab-btn { font-size: 1.05rem; padding: 10px 14px; }
  .tab-media { height: 320px; }
}

/* Turnkey Subservices Grid */
.subservices-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin-top: 40px;
}

.subservice-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 30px 20px;
  text-align: center;
  transition: var(--transition-smooth);
}

.subservice-card:hover {
  border-color: rgba(var(--color-orange-rgb), 0.5);
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.subservice-icon { width: 42px; height: 42px; margin: 0 auto 18px; }
.subservice-icon svg { width: 100%; height: 100%; fill: var(--color-orange); }

.subservice-card h4 { font-size: 1rem; margin-bottom: 10px; color: var(--color-maroon); }
.subservice-card p { font-size: 0.8rem; margin-bottom: 0; color: var(--color-ink-soft); }

.section-dark .subservice-card {
  background: var(--maroon-panel);
  border-color: rgba(247, 231, 234, 0.14);
}
.section-dark .subservice-card h4 { color: var(--color-white); }
.section-dark .subservice-card p { color: var(--color-cream-muted); }
.section-dark .subservice-icon svg { fill: var(--color-gold); }

@media (max-width: 992px) { .subservices-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { .subservices-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .subservices-grid { grid-template-columns: 1fr; } }

/* 12. Lead Inquiry Form */
.inquiry-box {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 50px;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: var(--shadow-soft);
}

.inquiry-box h3 { font-size: 2rem; text-align: center; margin-bottom: 36px; }

.form-group { margin-bottom: 22px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-bottom: 22px;
}

.form-group label {
  display: block;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-maroon);
  margin-bottom: 8px;
  font-weight: 700;
}

.form-control {
  width: 100%;
  background: var(--bg-base);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  color: var(--color-ink);
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-orange);
  box-shadow: 0 0 0 3px rgba(var(--color-orange-rgb), 0.15);
}

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

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23F17422'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 20px;
}

.form-status {
  margin-top: 20px;
  padding: 15px;
  font-size: 0.9rem;
  display: none;
  text-align: center;
  border-radius: var(--radius-sm);
}

.form-status.success {
  display: block;
  background: rgba(var(--color-gold-rgb), 0.18);
  border: 1px solid var(--color-gold);
  color: #6b6315;
}

.form-status.error {
  display: block;
  background: rgba(193, 53, 21, 0.12);
  border: 1px solid #c13515;
  color: #8a2a14;
}

@media (max-width: 768px) {
  .form-row { grid-template-columns: 1fr; gap: 22px; margin-bottom: 0; }
  .inquiry-box { padding: 30px 20px; }
}

/* 13. Footer — warm maroon close */
footer.main-footer {
  background: var(--maroon-deep);
  color: var(--color-cream-text);
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 56px;
}

.footer-brand h4 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-white);
}

.footer-brand p { font-size: 0.92rem; color: var(--color-cream-muted); }

.footer-links h5 {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 22px;
  color: var(--color-gold);
}

.footer-links ul { list-style: none; }
.footer-links ul li { margin-bottom: 12px; }

.footer-links ul li a { font-size: 0.92rem; color: var(--color-cream-muted); }
.footer-links ul li a:hover { color: var(--color-white); padding-left: 5px; }

.footer-bottom {
  border-top: 1px solid rgba(247, 231, 234, 0.14);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--color-cream-muted);
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 15px; text-align: center; }
}

/* 14. Scroll Entry Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active { opacity: 1; transform: translateY(0); }

@supports ((animation-timeline: scroll()) and (animation-range: 0% 100%)) {
  @keyframes shrink-header {
    to {
      height: 70px;
      background: rgba(95, 0, 18, 0.92);
      backdrop-filter: blur(12px);
      border-bottom-color: rgba(247, 231, 234, 0.15);
      box-shadow: 0 6px 30px rgba(95, 0, 18, 0.25);
    }
  }

  header.main-header.scroll-driven {
    animation: shrink-header auto linear both;
    animation-timeline: scroll(block root);
    animation-range: 0px 100px;
  }
}

/* ==========================================================================
   15. Playful Brand Accents
   ========================================================================== */

/* Checkered dividers — a subtle, centered brand motif (not a bold band) */
.checkered-divider,
.checkered-divider-black {
  height: 10px;
  background-image: url('images/headliner-stays-checkered-pattern-maroon-rgb.svg');
  background-repeat: repeat-x;
  background-size: 20px 10px;
  background-position: center;
  border: none;
  width: 140px;
  margin: 0 auto;
  opacity: 0.6;
}

/* Floating script badge (Professor) for playful headline highlights */
.accent-badge {
  font-family: var(--font-accent), cursive;
  font-size: 1.7rem;
  color: var(--color-orange);
  display: inline-block;
  transform: rotate(-5deg);
  margin-left: 8px;
  text-transform: none !important;
  font-weight: normal;
  letter-spacing: normal;
}

.section-dark .accent-badge { color: var(--color-gold); }

/* Amenity Grid */
.amenity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.amenity-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 22px;
  text-align: center;
  transition: var(--transition-smooth);
}

.amenity-card:hover {
  transform: translateY(-6px);
  border-color: rgba(var(--color-orange-rgb), 0.5);
  box-shadow: var(--shadow-lift);
}

.amenity-card-image {
  height: 180px;
  width: 100%;
  overflow: hidden;
  margin-bottom: 18px;
  background: var(--bg-cream);
  border-radius: var(--radius-sm);
}

.amenity-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: var(--transition-smooth);
}

.amenity-card:hover .amenity-card-image img { transform: scale(1.05); }

.amenity-card h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: var(--color-maroon);
}

.amenity-card p { font-size: 0.85rem; color: var(--color-ink-soft); margin-bottom: 0; }

.section-dark .amenity-card {
  background: var(--maroon-panel);
  border-color: rgba(247, 231, 234, 0.14);
}
.section-dark .amenity-card h4 { color: var(--color-white); }
.section-dark .amenity-card p { color: var(--color-cream-muted); }
.section-dark .amenity-card-image { background: var(--maroon-deep); }

@media (max-width: 992px) { .amenity-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .amenity-grid { grid-template-columns: 1fr; } }
