/* ============================================
   Simon Adult Family Home — styles.css
   Theme: Jewel Box (Emerald · Magenta · Gold · Ivory)
   Built by Yosis Design — yosisdesign.com
   ============================================ */

:root {
  --color-primary: #0e6b4f;
  --color-primary-dark: #08503a;
  --color-primary-light: #14905d;
  --color-accent: #c89738;
  --color-accent-dark: #9c7220;
  --color-bg: #fbf6ec;
  --color-bg-alt: #f0e7d0;
  --color-text: #1a1f2e;
  --color-text-soft: #465065;
  --color-muted: #d8d4c2;
  --color-border: #c8c2a8;
  --color-warning: #c89738;
  --color-occupied: #9a9788;

  --font-display: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-body: 'Inter Tight', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-accent: 'Caveat', cursive;

  --max-width: 1400px;
  --max-width-narrow: 960px;
  --max-width-wide: 1600px;

  --radius-sm: 4px;
  --radius-md: 10px;
  --radius-lg: 18px;

  --shadow-sm: 0 1px 3px rgba(26, 31, 46, 0.06), 0 1px 2px rgba(26, 31, 46, 0.04);
  --shadow-md: 0 4px 12px rgba(26, 31, 46, 0.08), 0 2px 4px rgba(26, 31, 46, 0.04);
  --shadow-lg: 0 12px 32px rgba(26, 31, 46, 0.12), 0 4px 8px rgba(26, 31, 46, 0.06);

  --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-base: 0.3s var(--ease-out);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--color-text);
  background-color: var(--color-bg);
  background-image:
    radial-gradient(at 0% 0%, rgba(200, 151, 56, 0.04) 0%, transparent 50%),
    radial-gradient(at 100% 100%, rgba(14, 107, 79, 0.05) 0%, transparent 50%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.27 0 0 0 0 0.32 0 0 0 0 0.38 0 0 0 0.06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

a {
  color: var(--color-primary);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color var(--transition-base);
}
a:hover { color: var(--color-accent-dark); }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--color-text);
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.5rem, 5.5vw, 4.25rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.85rem); }
h4 { font-size: 1.25rem; }

p { margin: 0 0 1em; }

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-accent-dark);
  margin: 0 0 1rem;
  display: inline-block;
}

.lead {
  font-size: clamp(1.1rem, 1.8vw, 1.3rem);
  line-height: 1.6;
  color: var(--color-text-soft);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 3vw, 3rem);
  position: relative;
  z-index: 2;
}
.container-narrow {
  max-width: var(--max-width-narrow);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 3vw, 3rem);
  position: relative;
  z-index: 2;
}
section {
  padding: clamp(3rem, 8vw, 6rem) 0;
  position: relative;
  z-index: 2;
}
.section-alt {
  background-color: var(--color-bg-alt);
  border-top: 1px solid var(--color-muted);
  border-bottom: 1px solid var(--color-muted);
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--color-primary);
  color: var(--color-bg);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  z-index: 1000;
  font-weight: 600;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 1rem; color: var(--color-bg); }

/* -------- Header -------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 246, 236, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition-base), padding var(--transition-base);
}
.site-header.scrolled {
  border-bottom-color: var(--color-muted);
  box-shadow: var(--shadow-sm);
}

/* Top contact bar — single line on desktop+tablet, two lines on mobile only */
.header-top {
  background: var(--color-primary);
  color: var(--color-bg);
  padding: 0.65rem 0;
}
.header-top .container {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
}
.header-top a {
  color: var(--color-bg);
  text-decoration: none;
  font-weight: 500;
}
.header-top a:hover { color: var(--color-accent); }

.header-top-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 1.25rem;
  align-items: center;
  flex-shrink: 0;
}

.header-top-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.92rem;
  line-height: 1.3;
  white-space: nowrap;
}

.header-top-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--color-accent);
}

.header-top-item.phone {
  font-weight: 500;
  font-size: 0.92rem;
}

.header-top-item.phone svg {
  width: 16px;
  height: 16px;
}

.header-top-address {
  font-size: 0.88rem;
  opacity: 0.95;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  white-space: nowrap;
  flex: 0 1 auto;
  min-width: 0;
}
.header-top-address svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--color-accent);
}
.header-top-address span {
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Tablet — slightly compress text, but stay one line */
@media (max-width: 1100px) {
  .header-top .container { gap: 0.85rem; }
  .header-top-row { gap: 0.85rem; }
  .header-top-item { font-size: 0.85rem; }
  .header-top-address { font-size: 0.8rem; }
}

@media (max-width: 880px) {
  .header-top-item.email a {
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* Mobile — stack to two rows: phone+email row 1, address row 2 */
@media (max-width: 640px) {
  .header-top { padding: 0.7rem 0; }
  .header-top .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }
  .header-top-row {
    width: 100%;
    justify-content: space-between;
    gap: 0.5rem;
  }
  .header-top-item {
    font-size: 0.85rem;
    min-width: 0;
  }
  .header-top-item.email a {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
  }
  .header-top-item.email {
    overflow: hidden;
    flex: 1 1 auto;
    min-width: 0;
  }
  .header-top-item svg {
    width: 14px;
    height: 14px;
  }
  .header-top-address {
    font-size: 0.8rem;
    line-height: 1.4;
    width: 100%;
  }
}

@media (max-width: 380px) {
  .header-top-item.email {
    display: none;
  }
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  gap: 2rem;
  transition: padding var(--transition-base);
}
.site-header.scrolled .nav-bar { padding: 0.85rem 0; }

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: var(--color-text);
}

/* Gold mark logo — big eye-catching brand presence */
.brand-logo {
  width: 150px;
  height: 150px;
  flex-shrink: 0;
  transition: width 0.25s ease-out, height 0.25s ease-out;
  filter: drop-shadow(0 4px 12px rgba(200, 151, 56, 0.3));
}
.site-header.scrolled .brand-logo {
  width: 110px;
  height: 110px;
}
@media (max-width: 1100px) {
  .brand-logo { width: 120px; height: 120px; }
  .site-header.scrolled .brand-logo { width: 92px; height: 92px; }
}
@media (max-width: 720px) {
  .brand-logo { width: 88px; height: 88px; }
  .site-header.scrolled .brand-logo { width: 72px; height: 72px; }
}
@media (max-width: 480px) {
  .brand-logo { width: 72px; height: 72px; }
  .site-header.scrolled .brand-logo { width: 60px; height: 60px; }
}

.brand-name {
  font-family: var(--font-display);
  font-size: 2.1rem;
  line-height: 1;
  font-weight: 500;
  margin: 0;
  letter-spacing: 0.005em;
  color: var(--color-text);
}
.brand-tag {
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-text-soft);
  margin-top: 0.4rem;
}
@media (max-width: 720px) {
  .brand-name { font-size: 1.55rem; }
  .brand-tag { font-size: 0.7rem; letter-spacing: 0.16em; }
}
@media (max-width: 480px) {
  .brand-name { font-size: 1.25rem; }
  .brand-tag { font-size: 0.6rem; }
}

.nav { display: flex; align-items: center; gap: 1.75rem; }
.nav-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1.5rem;
  align-items: center;
}
.nav-list a {
  text-decoration: none;
  color: var(--color-text);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  padding: 0.4rem 0;
}
.nav-list a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width var(--transition-base);
}
.nav-list a:hover::after,
.nav-list a[aria-current="page"]::after { width: 100%; }

.nav-cta {
  background: var(--color-primary);
  color: var(--color-bg) !important;
  padding: 0.7rem 1.4rem !important;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem !important;
  transition: background var(--transition-base), transform var(--transition-base);
}
.nav-cta::after { display: none; }
.nav-cta:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
  color: var(--color-bg) !important;
}

.menu-toggle {
  display: none;
  background: var(--color-bg);
  border: 2px solid var(--color-text);
  color: var(--color-text);
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  padding: 0;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2.5px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

@media (max-width: 880px) {
  .nav { display: none; }
  .menu-toggle { display: flex; }

  /* Mobile menu — FULL screen panel sliding from the right */
  .nav.is-open {
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;                    /* Full width */
    width: 100vw;
    height: 100vh;
    height: 100dvh;             /* Dynamic viewport, accounts for mobile browser chrome */
    background-color: #fbf6ec;  /* Hardcoded solid color */
    background-image: none;
    padding: 0;
    margin: 0;
    z-index: 200;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    isolation: isolate;
    animation: slideInFromRight 0.3s var(--ease-out);
  }

  /* Force opaque base layer */
  .nav.is-open::before {
    content: '';
    position: fixed;
    inset: 0;
    background-color: #fbf6ec;
    z-index: -1;
  }

  /* Top bar inside the open menu — for the close button */
  .nav.is-open::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(180deg, #fbf6ec 0%, #fbf6ec 80%, transparent 100%);
    z-index: 1;
    pointer-events: none;
  }

  @keyframes slideInFromRight {
    from { transform: translateX(100%); }
    to   { transform: translateX(0); }
  }

  .nav.is-open .nav-list {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    margin: 0;
    padding: 5.5rem 1.75rem 3rem;
    list-style: none;
    background-color: #fbf6ec;
    position: relative;
    z-index: 2;
  }

  .nav.is-open .nav-list li {
    width: 100%;
    border-bottom: 1px solid var(--color-muted);
    background-color: #fbf6ec;
  }
  .nav.is-open .nav-list li:last-child {
    border-bottom: none;
    margin-top: 1.5rem;
  }

  .nav.is-open .nav-list a {
    font-size: 1.25rem;
    color: #1a1f2e;             /* hardcoded for max contrast */
    padding: 1.1rem 0.25rem;
    display: block;
    width: 100%;
    font-weight: 500;
    background-color: transparent;
    text-decoration: none;
    font-family: var(--font-display);
  }
  .nav.is-open .nav-list a::after { display: none; }

  .nav.is-open .nav-list a:hover,
  .nav.is-open .nav-list a:focus {
    color: var(--color-primary);
  }

  .nav.is-open .nav-list a[aria-current="page"] {
    color: var(--color-primary);
    font-weight: 600;
  }

  .nav.is-open .nav-list .nav-cta {
    text-align: center;
    padding: 1rem 1.4rem;
    color: #fbf6ec;
    background: var(--color-primary);
    border-radius: 999px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
  }
  .nav.is-open .nav-list .nav-cta:hover {
    background: var(--color-primary-dark);
    color: #fbf6ec;
  }

  /* Menu toggle stays on top of open menu so user can close it */
  .menu-toggle {
    position: relative;
    z-index: 250;
  }
  .menu-toggle.is-active {
    background: #fbf6ec;
    border-color: var(--color-text);
  }
  .menu-toggle.is-active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-toggle.is-active span:nth-child(2) { opacity: 0; }
  .menu-toggle.is-active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

  /* Don't need the dim overlay anymore since menu is full-screen, but keep CSS class harmless */
  .nav-overlay { display: none; }

  /* Lock body scroll when menu open */
  body.menu-open {
    overflow: hidden;
  }
}

/* -------- Buttons -------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-base);
  min-height: 44px;
}
.btn-primary { background: var(--color-primary); color: var(--color-bg); }
.btn-primary:hover { background: var(--color-primary-dark); color: var(--color-bg); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-accent { background: var(--color-accent); color: var(--color-text); }
.btn-accent:hover { background: var(--color-accent-dark); color: var(--color-bg); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--color-primary); border-color: var(--color-primary); }
.btn-outline:hover { background: var(--color-primary); color: var(--color-bg); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--color-text); padding: 0.6rem 1rem; }
.btn-ghost:hover { color: var(--color-primary); }
.btn-arrow::after { content: '→'; transition: transform var(--transition-base); }
.btn-arrow:hover::after { transform: translateX(4px); }

/* -------- Hero -------- */
.hero {
  padding: clamp(3rem, 7vw, 6rem) 0 clamp(3rem, 7vw, 5rem);
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (max-width: 880px) { .hero-grid { grid-template-columns: 1fr; } }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(200, 151, 56, 0.14);
  border: 1px solid rgba(200, 151, 56, 0.4);
  color: var(--color-accent-dark);
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.hero-eyebrow .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
  animation: gentle-pulse 2.4s var(--ease-out) infinite;
}
@keyframes gentle-pulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.2); }
}

.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4.25rem);
  line-height: 1.05;
  margin: 0 0 1.25rem;
}
.hero-title em { font-style: italic; color: var(--color-primary); }
.hero-lead {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--color-text-soft);
  margin-bottom: 2rem;
  max-width: 50ch;
  line-height: 1.6;
}
.hero-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }

.hero-art {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-bg-alt);
  box-shadow: var(--shadow-lg);
}
.hero-art img, .hero-art object {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}

.hero-art-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 10;
  background: var(--color-bg);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 2;
}
.hero-art-badge-num {
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
  color: var(--color-primary);
  font-weight: 600;
}
.hero-art-badge-txt {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-soft);
  line-height: 1.3;
}

/* Trust badges */
.trust-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin-top: 3rem;
  padding: 1.75rem;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid var(--color-muted);
  border-radius: var(--radius-lg);
}
.trust-item { text-align: center; padding: 0.5rem; }
.trust-item-icon { width: 36px; height: 36px; margin: 0 auto 0.6rem; color: var(--color-primary); }
.trust-item-label { font-size: 0.85rem; font-weight: 600; color: var(--color-text); line-height: 1.3; }

/* Section heads */
.section-head { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.section-head.left { text-align: left; margin-left: 0; }
.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: 0.75rem 0 1.25rem;
}
.section-divider::before, .section-divider::after {
  content: ''; width: 40px; height: 1px; background: var(--color-accent);
}
.section-divider-icon { width: 14px; height: 14px; color: var(--color-accent); }

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(251, 246, 236, 0.85) 100%);
  border: 1px solid var(--color-muted);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-accent);
}
.card-icon { width: 44px; height: 44px; color: var(--color-accent-dark); margin-bottom: 1rem; }
.card-title { font-size: 1.4rem; margin: 0 0 0.5rem; }
.card-text { color: var(--color-text-soft); font-size: 0.95rem; line-height: 1.6; flex-grow: 1; margin: 0 0 1.25rem; }
.card-link {
  font-weight: 600;
  text-decoration: none;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
}
.card-link::after { content: '→'; transition: transform var(--transition-base); }
.card-link:hover::after { transform: translateX(4px); }

/* Service cards with image */
.service-card { padding: 0; overflow: hidden; }
.service-card-image {
  aspect-ratio: 16 / 9;
  background: var(--color-bg-alt);
  position: relative;
  overflow: hidden;
}
.service-card-image img,
.service-card-image object {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.service-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

/* Two-col split */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (max-width: 768px) { .split { grid-template-columns: 1fr; } }

.split-image {
  aspect-ratio: 4 / 5;
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.split-image img,
.split-image object {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}

/* Lists */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 1.5rem;
}
@media (max-width: 580px) { .feature-list { grid-template-columns: 1fr; } }
.feature-list li {
  position: relative;
  padding-left: 1.75rem;
  font-size: 0.95rem;
  line-height: 1.5;
}
.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.4rem;
  width: 16px;
  height: 16px;
  background: var(--color-accent);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fbf6ec'%3E%3Cpath d='M6.5 10.6L4.4 8.5l-1 1L6.5 12.6l6.1-6.1-1-1z'/%3E%3C/svg%3E");
  background-size: cover;
}

.checklist { list-style: none; padding: 0; margin: 1.5rem 0; }
.checklist li {
  position: relative;
  padding: 0.6rem 0 0.6rem 2rem;
  border-bottom: 1px solid var(--color-muted);
  font-size: 0.98rem;
}
.checklist li:last-child { border-bottom: none; }
.checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0.55rem;
  color: var(--color-primary);
  font-weight: 700;
  font-size: 1.1rem;
}

/* Quotes */
.quote {
  background: rgba(255,255,255,0.6);
  border-left: 4px solid var(--color-accent);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1.75rem 2rem;
  margin: 2rem 0;
}
.quote-text {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--color-text);
  margin-bottom: 1rem;
}
.quote-author { font-size: 0.9rem; color: var(--color-text-soft); font-weight: 600; }
.quote-author small { font-weight: 400; display: block; font-style: italic; margin-top: 0.15rem; }

/* Forms */
.form { display: grid; gap: 1.25rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: 0.02em;
}
.field input, .field select, .field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.7);
  color: var(--color-text);
  min-height: 44px;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(14, 107, 79, 0.15);
  outline: none;
}
.field textarea { min-height: 130px; resize: vertical; }
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
@media (max-width: 580px) { .field-row { grid-template-columns: 1fr; } }
.field-help { font-size: 0.82rem; color: var(--color-text-soft); }
.field-error {
  font-size: 0.85rem;
  color: #b94a3a;
  margin-top: 0.25rem;
  display: none;
}
.field-error.show { display: block; }

/* Form success message */
.form-success {
  display: none;
  padding: 2rem;
  background: rgba(14, 107, 79, 0.12);
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-md);
  color: var(--color-text);
  text-align: center;
}
.form-success.show {
  display: block;
  animation: fadeInUp 0.5s var(--ease-out);
}
.form-success h3 {
  margin: 0 0 0.6rem;
  color: var(--color-primary-dark);
  font-size: 1.6rem;
}
.form-success p { margin: 0 0 0.5rem; color: var(--color-text-soft); }
.form-success .check-icon {
  width: 56px; height: 56px;
  margin: 0 auto 1rem;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.form-success .check-icon svg {
  width: 30px; height: 30px;
  color: var(--color-bg);
}

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

/* Footer */
.site-footer {
  background: var(--color-text);
  color: rgba(251, 246, 236, 0.85);
  padding: 4rem 0 1.5rem;
  margin-top: 4rem;
  position: relative;
  z-index: 2;
}
.site-footer h4 {
  color: var(--color-bg);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: 0.01em;
}
.site-footer a {
  color: rgba(251, 246, 236, 0.85);
  text-decoration: none;
}
.site-footer a:hover { color: var(--color-accent); }

/* Top brand row — gold logo + tagline */
.footer-brand-top {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(251, 246, 236, 0.15);
  flex-wrap: wrap;
}
.footer-brand-top .footer-logo-mark {
  width: 170px;
  height: 170px;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 16px rgba(200, 151, 56, 0.35));
}
.footer-brand-top .footer-brand-tagline {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.55;
  max-width: 42ch;
  color: rgba(251, 246, 236, 0.82);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.005em;
}
@media (max-width: 720px) {
  .footer-brand-top {
    gap: 1rem;
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  .footer-brand-top .footer-logo-mark {
    width: 140px;
    height: 140px;
  }
  .footer-brand-top .footer-brand-tagline {
    text-align: center;
    font-size: 0.95rem;
  }
}

/* Three-column footer grid */
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.95rem;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.95rem;
}
.footer-contact-line {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
}
.footer-contact-line svg {
  width: 18px; height: 18px;
  flex-shrink: 0;
  margin-top: 0.15rem;
  color: var(--color-accent);
}

/* Social icons */
.social-row {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}
.social-link {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(251, 246, 236, 0.08);
  border: 1px solid rgba(251, 246, 236, 0.15);
  color: rgba(251, 246, 236, 0.85);
  transition: background var(--transition-base), color var(--transition-base), transform var(--transition-base), border-color var(--transition-base);
}
.social-link svg {
  width: 18px;
  height: 18px;
}
.social-link:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-text);
  transform: translateY(-2px);
}

/* Footer map */
.footer-map {
  margin-top: 1rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(251, 246, 236, 0.12);
  background: rgba(251, 246, 236, 0.05);
}
.footer-map iframe {
  display: block;
  width: 100%;
  height: 200px;
  border: 0;
}
.footer-map-link {
  display: block;
  padding: 0.65rem 0.85rem;
  font-size: 0.85rem;
  text-align: center;
  background: rgba(251, 246, 236, 0.05);
  border-top: 1px solid rgba(251, 246, 236, 0.1);
  text-decoration: none;
}

/* Centered bottom bar */
.footer-bottom {
  border-top: 1px solid rgba(251, 246, 236, 0.15);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: rgba(251, 246, 236, 0.6);
}
.footer-yosis { color: var(--color-accent); font-weight: 600; }

/* Contact page social row */
.contact-social-card {
  background: rgba(255,255,255,0.6);
  border: 1px solid var(--color-muted);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin-top: 1.5rem;
}
.contact-social-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.3rem;
}
.contact-social-card .social-row {
  margin-top: 1rem;
}
.contact-social-card .social-link {
  background: var(--color-bg-alt);
  border-color: var(--color-muted);
  color: var(--color-primary-dark);
  width: 44px;
  height: 44px;
}
.contact-social-card .social-link:hover {
  background: var(--color-primary);
  color: var(--color-bg);
  border-color: var(--color-primary);
}

/* Rooms */
.room-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.room-card {
  background: rgba(255,255,255,0.6);
  border: 1px solid var(--color-muted);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  display: flex;
  flex-direction: column;
}
.room-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.room-card-image {
  aspect-ratio: 4/3;
  background: var(--color-bg-alt);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border: none;
  width: 100%;
  padding: 0;
  display: block;
}
.room-card-image img,
.room-card-image object {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s var(--ease-out);
}
.room-card-image:hover img,
.room-card-image:hover object {
  transform: scale(1.04);
}
.room-card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(26, 31, 46,0.45) 100%);
  pointer-events: none;
}
.room-card-image-hint {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  background: rgba(251, 246, 236, 0.95);
  color: var(--color-text);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  z-index: 2;
}
.room-card-image-hint svg {
  width: 12px;
  height: 12px;
}

.room-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.room-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.room-card h3 { margin: 0; }
.room-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.room-status::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
}
.room-status.available { background: rgba(14, 107, 79, 0.15); color: var(--color-primary-dark); }
.room-status.available::before { background: var(--color-primary); }
.room-status.pending { background: rgba(200, 151, 56, 0.15); color: #8a6a26; }
.room-status.pending::before { background: var(--color-warning); }
.room-status.occupied { background: rgba(138, 133, 118, 0.15); color: var(--color-occupied); }
.room-status.occupied::before { background: var(--color-occupied); }

.room-features {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  font-size: 0.9rem;
  color: var(--color-text-soft);
}
.room-features li { padding: 0.3rem 0; }

/* Admin */
.admin-card {
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--color-muted);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin-bottom: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.admin-card h3 { margin: 0; }
.admin-select {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.7rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg);
  min-width: 180px;
  min-height: 44px;
}
.admin-saved {
  background: rgba(14, 107, 79, 0.15);
  color: var(--color-primary-dark);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  display: none;
}
.admin-saved.show { display: inline-block; }

/* Stats */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  text-align: center;
}
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-label {
  font-size: 0.92rem;
  color: var(--color-text-soft);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
}

/* FAQ */
.faq { max-width: 780px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--color-muted); }
.faq-item:first-child { border-top: 1px solid var(--color-muted); }
.faq-question {
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  padding: 1.25rem 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--color-text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 44px;
}
.faq-question:hover { color: var(--color-primary); }
.faq-icon {
  width: 24px; height: 24px;
  flex-shrink: 0;
  position: relative;
  transition: transform var(--transition-base);
}
.faq-icon::before, .faq-icon::after {
  content: '';
  position: absolute;
  background: var(--color-primary);
  border-radius: 2px;
}
.faq-icon::before { width: 14px; height: 2px; top: 11px; left: 5px; }
.faq-icon::after { width: 2px; height: 14px; top: 5px; left: 11px; transition: transform var(--transition-base); }
.faq-item[open] .faq-icon::after { transform: rotate(90deg); }
.faq-answer {
  padding: 0 0 1.25rem;
  color: var(--color-text-soft);
  line-height: 1.65;
  font-size: 0.98rem;
}

/* ============================================
   Gallery Sections + Lightbox
   ============================================ */

/* Compact section grid replacing the old item grid */
.gallery-sections {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.gallery-section-card {
  position: relative;
  display: block;
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-muted);
  cursor: pointer;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: inherit;
  width: 100%;
  text-align: left;
  padding: 0;
  font-family: var(--font-body);
  font-size: inherit;
}

.gallery-section-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.gallery-section-card-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.gallery-section-card-image img,
.gallery-section-card-image object {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-section-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, transparent 45%, rgba(26, 31, 46,0.85) 100%);
  z-index: 1;
  pointer-events: none;
}

.gallery-section-card-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.25rem 1.5rem;
  z-index: 2;
  color: var(--color-bg);
  pointer-events: none;
}

.gallery-section-card-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 0 0 0.25rem;
  color: var(--color-bg);
  line-height: 1.2;
}

.gallery-section-card-meta {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(251, 246, 236, 0.85);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.gallery-section-card-meta svg {
  width: 14px;
  height: 14px;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(20, 20, 18, 0.94);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.lightbox.is-open {
  display: flex;
  animation: lightboxFadeIn 0.25s var(--ease-out);
}

@keyframes lightboxFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.lightbox-stage {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4.5rem 4rem 4rem;
}

@media (max-width: 720px) {
  .lightbox-stage {
    padding: 4rem 0.5rem 5rem;
  }
}

.lightbox-content {
  max-width: 100%;
  max-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.lightbox-content img,
.lightbox-content object {
  max-width: 100%;
  max-height: 80vh;
  width: auto;
  height: auto;
  display: block;
  border-radius: var(--radius-md);
  box-shadow: 0 12px 48px rgba(0,0,0,0.5);
  background: var(--color-bg);
}

.lightbox-content video {
  max-width: 100%;
  max-height: 80vh;
  border-radius: var(--radius-md);
  box-shadow: 0 12px 48px rgba(0,0,0,0.5);
  background: #000;
}

.lightbox-content iframe {
  width: min(95vw, 1200px);
  aspect-ratio: 16/9;
  max-height: 80vh;
  border: none;
  border-radius: var(--radius-md);
  box-shadow: 0 12px 48px rgba(0,0,0,0.5);
  background: #000;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(251, 246, 236, 0.15);
  color: var(--color-bg);
  border: 2px solid rgba(251, 246, 236, 0.3);
  border-radius: 50%;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background var(--transition-base), transform var(--transition-base);
  backdrop-filter: blur(6px);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(251, 246, 236, 0.3);
  transform: scale(1.05);
}

.lightbox-close {
  top: 1.25rem;
  right: 1.25rem;
}

.lightbox-prev {
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
}
.lightbox-next {
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-prev:hover { transform: translateY(-50%) scale(1.05); }
.lightbox-next:hover { transform: translateY(-50%) scale(1.05); }

.lightbox-prev svg,
.lightbox-next svg,
.lightbox-close svg {
  width: 22px;
  height: 22px;
}

@media (max-width: 720px) {
  .lightbox-close,
  .lightbox-prev,
  .lightbox-next {
    width: 44px;
    height: 44px;
  }
  .lightbox-close { top: 0.75rem; right: 0.75rem; }
  .lightbox-prev { left: 0.5rem; }
  .lightbox-next { right: 0.5rem; }
}

.lightbox-caption {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--color-bg);
  font-family: var(--font-display);
  font-size: 1.15rem;
  text-align: center;
  background: rgba(20, 20, 18, 0.8);
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius-md);
  max-width: 88vw;
  backdrop-filter: blur(10px);
}

.lightbox-counter {
  position: absolute;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(251, 246, 236, 0.8);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(20, 20, 18, 0.6);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  backdrop-filter: blur(10px);
}

/* When lightbox open, lock body scroll */
body.lightbox-open {
  overflow: hidden;
}

/* Page banner */
.page-banner {
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 3rem);
  text-align: center;
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-muted);
}
.page-banner h1 { margin-bottom: 0.5rem; }
.page-banner-trail {
  font-size: 0.85rem;
  color: var(--color-text-soft);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

/* CTA */
.cta-banner {
  background: var(--color-primary);
  color: var(--color-bg);
  padding: clamp(3rem, 6vw, 5rem) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--color-accent) 0%, transparent 70%);
  opacity: 0.25;
  pointer-events: none;
}
.cta-banner h2 { color: var(--color-bg); margin-bottom: 1rem; }
.cta-banner .lead {
  color: rgba(251, 246, 236, 0.85);
  max-width: 600px;
  margin: 0 auto 2rem;
}
.cta-banner .btn-primary { background: var(--color-accent); color: var(--color-text); }
.cta-banner .btn-primary:hover { background: var(--color-bg); }
.cta-banner .btn-outline { color: var(--color-bg); border-color: var(--color-bg); }
.cta-banner .btn-outline:hover { background: var(--color-bg); color: var(--color-primary); }

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.fade-in.is-visible { opacity: 1; transform: translateY(0); }

.stagger > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.stagger.is-visible > *:nth-child(1) { transition-delay: 0.05s; }
.stagger.is-visible > *:nth-child(2) { transition-delay: 0.15s; }
.stagger.is-visible > *:nth-child(3) { transition-delay: 0.25s; }
.stagger.is-visible > *:nth-child(4) { transition-delay: 0.35s; }
.stagger.is-visible > *:nth-child(5) { transition-delay: 0.45s; }
.stagger.is-visible > *:nth-child(6) { transition-delay: 0.55s; }
.stagger.is-visible > *:nth-child(7) { transition-delay: 0.65s; }
.stagger.is-visible > *:nth-child(8) { transition-delay: 0.75s; }
.stagger.is-visible > * { opacity: 1; transform: translateY(0); }

.hero-enter > * {
  opacity: 0;
  transform: translateY(20px);
  animation: heroEnter 0.8s var(--ease-out) forwards;
}
.hero-enter > *:nth-child(1) { animation-delay: 0.1s; }
.hero-enter > *:nth-child(2) { animation-delay: 0.2s; }
.hero-enter > *:nth-child(3) { animation-delay: 0.3s; }
.hero-enter > *:nth-child(4) { animation-delay: 0.4s; }
.hero-enter > *:nth-child(5) { animation-delay: 0.5s; }
@keyframes heroEnter { to { opacity: 1; transform: translateY(0); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .fade-in, .stagger > *, .hero-enter > * {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* 404 */
.error-page { text-align: center; padding: 8rem 1.5rem; }
.error-num {
  font-family: var(--font-display);
  font-size: clamp(6rem, 18vw, 12rem);
  line-height: 1;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

/* Utility */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
}
.tag {
  background: var(--color-bg-alt);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.82rem;
  color: var(--color-text-soft);
  border: 1px solid var(--color-muted);
}

/* Blog */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.blog-card {
  background: rgba(255,255,255,0.55);
  border: 1px solid var(--color-muted);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.blog-card-image {
  aspect-ratio: 16/10;
  background: var(--color-bg-alt);
  overflow: hidden;
}
.blog-card-image img, .blog-card-image object {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.blog-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.blog-card-meta {
  font-size: 0.82rem;
  color: var(--color-text-soft);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}
.blog-card-title {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.blog-card-excerpt {
  font-size: 0.92rem;
  color: var(--color-text-soft);
  flex-grow: 1;
  margin-bottom: 1rem;
}

.article-prose {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.75;
}
.article-prose h2 { margin-top: 2.5rem; }
.article-prose p { margin-bottom: 1.25rem; }
.article-prose ul, .article-prose ol { margin-bottom: 1.25rem; padding-left: 1.5rem; }
.article-prose li { margin-bottom: 0.5rem; }
.article-meta {
  text-align: center;
  font-size: 0.88rem;
  color: var(--color-text-soft);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

/* ============================================
   JEWEL BOX — Maximal Color Layer
   ============================================ */
:root {
  --color-magenta: #b8136f;
  --color-magenta-light: #d83a8b;
  --color-emerald-deep: #08503a;
  --color-gold-light: #f0c75e;
  --color-ink-deep: #0d1117;
  --color-navy: #0a1f44;
  --color-navy-light: #15305f;
  --color-navy-deep: #050d1f;
}

/* Updated body background — more saturated, less white-dominant */
body {
  background-image:
    radial-gradient(at 0% 0%, rgba(200, 151, 56, 0.12) 0%, transparent 55%),
    radial-gradient(at 100% 0%, rgba(184, 19, 111, 0.08) 0%, transparent 50%),
    radial-gradient(at 100% 100%, rgba(14, 107, 79, 0.13) 0%, transparent 55%),
    radial-gradient(at 50% 50%, rgba(10, 31, 68, 0.04) 0%, transparent 60%);
}

/* HERO — luxe navy backdrop with multi-color glow (matches logo's native canvas) */
.hero {
  background:
    radial-gradient(ellipse at 80% 20%, rgba(200, 151, 56, 0.25) 0%, transparent 50%),
    radial-gradient(ellipse at 15% 85%, rgba(184, 19, 111, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse at 50% 50%, rgba(14, 107, 79, 0.14) 0%, transparent 65%),
    linear-gradient(180deg, var(--color-navy) 0%, var(--color-navy-light) 100%);
  color: #fff;
}
.hero .hero-title { color: #fff; }
.hero .hero-lead { color: rgba(255, 255, 255, 0.88); }
.hero .hero-eyebrow {
  background: linear-gradient(135deg, rgba(200, 151, 56, 0.25) 0%, rgba(240, 199, 94, 0.3) 100%);
  border-color: rgba(240, 199, 94, 0.5);
  color: var(--color-gold-light);
}
.hero .btn-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}
.hero .btn-outline:hover {
  background: #fff;
  color: var(--color-emerald-deep);
}

/* Hero italic em — gold instead of primary */
.hero-title em {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-gold-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: italic;
}

/* Hero art — emerald-to-gold gradient backdrop */
.hero-art {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-magenta) 60%, var(--color-accent) 100%);
}

.hero-art-badge {
  background: linear-gradient(135deg, #fff 0%, #fff8e7 100%);
  border: 1px solid var(--color-accent);
  box-shadow: 0 8px 24px rgba(184, 19, 111, 0.12), 0 4px 8px rgba(14, 107, 79, 0.08);
}
.hero-art-badge-num {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-magenta) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Trust row — gradient border + warmer bg */
.trust-row {
  background: linear-gradient(135deg, rgba(255,255,255,0.85) 0%, rgba(251, 246, 236, 0.7) 100%);
  border: 1px solid transparent;
  background-clip: padding-box;
  position: relative;
}
.trust-row::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-magenta) 50%, var(--color-accent) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.trust-item-icon { color: var(--color-primary); }
.trust-item:nth-child(2) .trust-item-icon { color: var(--color-magenta); }
.trust-item:nth-child(3) .trust-item-icon { color: var(--color-accent-dark); }
.trust-item:nth-child(4) .trust-item-icon { color: var(--color-primary); }
.trust-item:nth-child(5) .trust-item-icon { color: var(--color-magenta); }

/* Service cards — gradient top-bar accents, rotating colors */
.card {
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
}
.card:nth-child(2)::before {
  background: linear-gradient(90deg, var(--color-magenta) 0%, var(--color-magenta-light) 100%);
}
.card:nth-child(3)::before {
  background: linear-gradient(90deg, var(--color-accent-dark) 0%, var(--color-gold-light) 100%);
}
.card:nth-child(4)::before {
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-accent) 100%);
}
.card:nth-child(5)::before {
  background: linear-gradient(90deg, var(--color-magenta) 0%, var(--color-accent) 100%);
}
.card:nth-child(6)::before {
  background: linear-gradient(90deg, var(--color-primary-light) 0%, var(--color-magenta-light) 100%);
}

/* Card icons — rotate colors to match top bars */
.card .card-icon { color: var(--color-primary); }
.card:nth-child(2) .card-icon { color: var(--color-magenta); }
.card:nth-child(3) .card-icon { color: var(--color-accent-dark); }
.card:nth-child(4) .card-icon { color: var(--color-primary-light); }
.card:nth-child(5) .card-icon { color: var(--color-magenta-light); }
.card:nth-child(6) .card-icon { color: var(--color-accent); }

.card:hover {
  border-color: var(--color-accent);
  box-shadow: 0 12px 32px rgba(14, 107, 79, 0.14), 0 4px 12px rgba(184, 19, 111, 0.08);
}

/* Section dividers — gradient line */
.section-divider::before,
.section-divider::after {
  background: linear-gradient(90deg, transparent 0%, var(--color-accent) 100%);
}
.section-divider::after {
  background: linear-gradient(90deg, var(--color-accent) 0%, transparent 100%);
}
.section-divider-icon { color: var(--color-magenta); }

/* Eyebrow — magenta accent for emphasis */
.eyebrow { color: var(--color-magenta); }

/* Buttons — primary with subtle gradient, accent stays solid gold */
.btn-primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  color: #fff;
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--color-emerald-deep) 0%, var(--color-primary) 100%);
  color: #fff;
  box-shadow: 0 8px 24px rgba(14, 107, 79, 0.3);
}

.btn-accent {
  background: linear-gradient(135deg, var(--color-accent-dark) 0%, var(--color-accent) 50%, var(--color-gold-light) 100%);
  color: var(--color-text);
}
.btn-accent:hover {
  background: linear-gradient(135deg, var(--color-accent-dark) 0%, var(--color-accent) 100%);
  box-shadow: 0 8px 24px rgba(200, 151, 56, 0.35);
  color: var(--color-text);
}

/* Quote — magenta accent border */
.quote {
  border-left-color: var(--color-magenta);
  background: linear-gradient(90deg, rgba(184, 19, 111, 0.04) 0%, rgba(255,255,255,0.6) 30%);
}

/* Badge — gold gradient */
.badge {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-gold-light) 100%);
  color: var(--color-text);
  font-weight: 700;
}

/* Stats — emerald numbers, gold/magenta variants via nth-child */
.stat-num { color: var(--color-primary); }
.stat-grid > *:nth-child(2) .stat-num { color: var(--color-magenta); }
.stat-grid > *:nth-child(3) .stat-num { color: var(--color-accent-dark); }
.stat-grid > *:nth-child(4) .stat-num { color: var(--color-primary-light); }

/* Page banner — navy gradient with gold accent (no longer washed out) */
.page-banner {
  background:
    radial-gradient(ellipse at 70% 40%, rgba(200, 151, 56, 0.25) 0%, transparent 55%),
    radial-gradient(ellipse at 25% 75%, rgba(184, 19, 111, 0.15) 0%, transparent 50%),
    linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-light) 100%);
  color: #fff;
  border-bottom: 3px solid transparent;
  border-image: linear-gradient(90deg, var(--color-primary), var(--color-magenta), var(--color-accent)) 1;
}
.page-banner h1 { color: #fff; }
.page-banner .lead { color: rgba(255, 255, 255, 0.88); }
.page-banner-trail { color: var(--color-gold-light); }
.page-banner .eyebrow { color: var(--color-gold-light); }

/* CTA banner — DARK luxe with multi-color glow */
.cta-banner {
  background:
    radial-gradient(circle at 80% 20%, rgba(200, 151, 56, 0.45) 0%, transparent 45%),
    radial-gradient(circle at 20% 80%, rgba(184, 19, 111, 0.38) 0%, transparent 50%),
    linear-gradient(135deg, var(--color-emerald-deep) 0%, var(--color-primary) 50%, var(--color-ink-deep) 100%);
  color: #fff;
}
.cta-banner::before { display: none; }
.cta-banner h2 { color: #fff; }
.cta-banner .lead { color: rgba(255, 255, 255, 0.88); }
.cta-banner .btn-primary {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-gold-light) 100%);
  color: var(--color-ink-deep);
}
.cta-banner .btn-primary:hover {
  background: #fff;
  color: var(--color-emerald-deep);
}
.cta-banner .btn-outline {
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}
.cta-banner .btn-outline:hover {
  background: #fff;
  color: var(--color-emerald-deep);
}

/* Footer — deep navy (darker than hero, matches logo background) */
.site-footer {
  background:
    radial-gradient(circle at 90% 10%, rgba(200, 151, 56, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(14, 107, 79, 0.1) 0%, transparent 45%),
    linear-gradient(180deg, var(--color-navy-deep) 0%, var(--color-navy) 100%);
}
.site-footer h4 {
  background: linear-gradient(135deg, #fff 0%, var(--color-gold-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}
.footer-yosis {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-magenta-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}

/* Header top bar — gradient instead of flat emerald */
.header-top {
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-emerald-deep) 50%, var(--color-primary) 100%);
}
.header-top-item.phone svg,
.header-top-item.email svg,
.header-top-address svg {
  color: var(--color-gold-light);
}

/* Nav CTA — gradient */
.nav-cta {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%) !important;
}
.nav-cta:hover {
  background: linear-gradient(135deg, var(--color-emerald-deep) 0%, var(--color-primary) 100%) !important;
}

/* Mobile menu CTA also gradient */
.nav.is-open .nav-list .nav-cta {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
}

/* Form focus — emerald glow */
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(14, 107, 79, 0.15);
}

/* Form success — emerald themed */
.form-success {
  background: linear-gradient(135deg, rgba(14, 107, 79, 0.1) 0%, rgba(200, 151, 56, 0.08) 100%);
  border: 2px solid var(--color-primary);
}
.form-success .check-icon {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
}

/* Room status — emerald available, magenta pending, neutral occupied */
.room-status.available {
  background: linear-gradient(135deg, rgba(14, 107, 79, 0.15) 0%, rgba(20, 144, 93, 0.18) 100%);
  color: var(--color-emerald-deep);
}
.room-status.available::before { background: var(--color-primary); }

.room-status.pending {
  background: linear-gradient(135deg, rgba(184, 19, 111, 0.12) 0%, rgba(216, 58, 139, 0.15) 100%);
  color: var(--color-magenta);
}
.room-status.pending::before { background: var(--color-magenta); }

/* Room hint badge — gold */
.room-card-image-hint {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-gold-light) 100%);
  color: var(--color-ink-deep);
}

/* FAQ icon — magenta + emerald */
.faq-icon::before, .faq-icon::after {
  background: var(--color-magenta);
}

/* Gallery section card titles — gold gradient on hover */
.gallery-section-card:hover .gallery-section-card-title {
  background: linear-gradient(135deg, #fff 0%, var(--color-gold-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Social link hover — gold gradient instead of flat */
.social-link:hover {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-gold-light) 100%);
  border-color: var(--color-accent);
  color: var(--color-ink-deep);
}

/* Section alt — deeper warm tint with color washes for visual rhythm */
.section-alt {
  background:
    radial-gradient(ellipse at 90% 10%, rgba(14, 107, 79, 0.07) 0%, transparent 50%),
    radial-gradient(ellipse at 10% 90%, rgba(184, 19, 111, 0.05) 0%, transparent 50%),
    linear-gradient(180deg, var(--color-bg-alt) 0%, #ead9b4 100%);
}

/* Checklist checkmarks — emerald */
.checklist li::before { color: var(--color-primary); }

/* Feature list bullets — gold gradient */
.feature-list li::before {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-gold-light) 100%);
}

/* Card link arrow — magenta accent */
.card-link {
  color: var(--color-primary);
  font-weight: 700;
}
.card-link:hover {
  color: var(--color-magenta);
}

/* Service card images — colored top accent border */
.service-card {
  position: relative;
}
.service-card .service-card-image::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-magenta), var(--color-accent));
}

/* Lightbox — keep dark but with subtle warm tint */
.lightbox { background: rgba(13, 17, 23, 0.96); }
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: linear-gradient(135deg, rgba(200, 151, 56, 0.4) 0%, rgba(184, 19, 111, 0.3) 100%);
  border-color: var(--color-accent);
}

/* Footer map link — gold accent */
.footer-map-link {
  color: var(--color-gold-light);
}
.footer-map-link:hover {
  background: linear-gradient(135deg, rgba(200, 151, 56, 0.15) 0%, rgba(184, 19, 111, 0.1) 100%);
  color: #fff;
}

/* ============================================
   COLOR DOMINANCE BOOST — Gold logo edition
   Less white, more navy/emerald/gold/magenta
   ============================================ */

/* Stats section — navy background dominates */
.stat-section {
  background:
    radial-gradient(ellipse at 20% 30%, rgba(200, 151, 56, 0.3) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(184, 19, 111, 0.18) 0%, transparent 55%),
    linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-light) 100%);
  color: #fff;
  padding: clamp(3rem, 6vw, 5rem) 0;
}
.stat-section .stat-num,
.stat-section .stat-grid > *:nth-child(1) .stat-num { color: var(--color-gold-light); }
.stat-section .stat-grid > *:nth-child(2) .stat-num { color: var(--color-magenta-light); }
.stat-section .stat-grid > *:nth-child(3) .stat-num { color: #4dd9a3; }
.stat-section .stat-grid > *:nth-child(4) .stat-num { color: #fff; }
.stat-section .stat-label {
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.12em;
}
.stat-section .eyebrow,
.stat-section .section-head h2 { color: #fff; }
.stat-section .section-head .lead { color: rgba(255, 255, 255, 0.85); }

/* Trust row — gold-tinted bg, less white */
.trust-row {
  background:
    linear-gradient(135deg, rgba(200, 151, 56, 0.14) 0%, rgba(184, 19, 111, 0.06) 100%),
    rgba(255, 255, 255, 0.55);
}

/* Quote block — richer gold-magenta tint */
.quote {
  background:
    linear-gradient(135deg, rgba(184, 19, 111, 0.08) 0%, rgba(200, 151, 56, 0.06) 100%),
    rgba(255, 255, 255, 0.6);
  border-left: 4px solid;
  border-image: linear-gradient(180deg, var(--color-magenta) 0%, var(--color-accent) 100%) 1;
}

/* Section gradient strip dividers — visible color rhythm between sections */
.section-strip {
  height: 6px;
  background: linear-gradient(90deg,
    var(--color-primary) 0%,
    var(--color-magenta) 35%,
    var(--color-accent) 70%,
    var(--color-primary-light) 100%);
}

/* Service detail page heroes — tighter navy gradient like main hero */
.service-hero {
  background:
    radial-gradient(ellipse at 75% 25%, rgba(200, 151, 56, 0.22) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 80%, rgba(184, 19, 111, 0.16) 0%, transparent 55%),
    linear-gradient(180deg, var(--color-navy) 0%, var(--color-navy-light) 100%);
  color: #fff;
  padding: clamp(3rem, 7vw, 5rem) 0;
}
.service-hero h1, .service-hero h2 { color: #fff; }
.service-hero .lead { color: rgba(255, 255, 255, 0.88); }
.service-hero .eyebrow { color: var(--color-gold-light); }

/* Form section bg — subtle gold tint instead of plain bg */
.contact-form-wrap,
.form-section {
  background:
    radial-gradient(ellipse at 80% 0%, rgba(200, 151, 56, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 0% 100%, rgba(14, 107, 79, 0.06) 0%, transparent 50%),
    var(--color-bg);
}

/* Gallery section card — richer hover state */
.gallery-section-card {
  position: relative;
  overflow: hidden;
}
.gallery-section-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-magenta), var(--color-accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}
.gallery-section-card:hover::after { transform: scaleX(1); }

/* Room cards — gold tint for available, warmer overall */
.room-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(251, 246, 236, 0.88) 100%);
}

/* Reviews section — warmer bg with magenta accent */
.reviews-grid .quote {
  background:
    linear-gradient(135deg, rgba(184, 19, 111, 0.06) 0%, rgba(200, 151, 56, 0.04) 100%),
    rgba(255, 255, 255, 0.7);
}

/* FAQ section bg — slight gold wash */
.faq-section {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(200, 151, 56, 0.07) 0%, transparent 50%),
    var(--color-bg);
}

/* Body bg saturation boost — pushed even more */
body {
  background-color: var(--color-bg);
  background-image:
    radial-gradient(at 0% 0%, rgba(200, 151, 56, 0.16) 0%, transparent 55%),
    radial-gradient(at 100% 0%, rgba(184, 19, 111, 0.1) 0%, transparent 50%),
    radial-gradient(at 100% 100%, rgba(14, 107, 79, 0.18) 0%, transparent 55%),
    radial-gradient(at 0% 100%, rgba(10, 31, 68, 0.07) 0%, transparent 55%);
}

/* Eyebrow magenta gets a gradient on hero/service hero */
.hero .eyebrow,
.service-hero .eyebrow {
  background: none;
  color: var(--color-gold-light);
  -webkit-text-fill-color: initial;
}

/* ============================================
   ACCESSIBILITY WIDGET
   ============================================ */
.a11y-widget {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 9999;
  font-family: var(--font-body);
}
.a11y-toggle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  border: 3px solid #fff;
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(14, 107, 79, 0.35), 0 0 0 1px rgba(0,0,0,0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.a11y-toggle:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 28px rgba(14, 107, 79, 0.45);
}
.a11y-toggle:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
}
@media (max-width: 640px) {
  .a11y-widget {
    bottom: 1rem;
    left: 1rem;
  }
  .a11y-toggle {
    width: 48px;
    height: 48px;
  }
  .a11y-toggle svg { width: 24px; height: 24px; }
}

.a11y-panel {
  position: absolute;
  bottom: calc(100% + 0.75rem);
  left: 0;
  width: 340px;
  max-width: calc(100vw - 2rem);
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0,0,0,0.05);
  overflow: hidden;
  color: var(--color-text);
}
.a11y-panel[hidden] { display: none; }

.a11y-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  color: #fff;
}
.a11y-panel-head h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: #fff;
}
.a11y-panel-close {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s ease;
}
.a11y-panel-close:hover { background: rgba(255, 255, 255, 0.3); }

.a11y-panel-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  max-height: 70vh;
  overflow-y: auto;
}

.a11y-row {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.a11y-row-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-soft);
}
.a11y-btn-group {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.4rem;
}
.a11y-row:has(.a11y-btn-group button:nth-child(3):last-child) .a11y-btn-group {
  grid-template-columns: repeat(3, 1fr);
}
.a11y-btn-group button {
  background: var(--color-bg);
  border: 1.5px solid var(--color-border);
  color: var(--color-text);
  padding: 0.6rem 0.4rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.15s ease;
  font-family: inherit;
}
.a11y-btn-group button:hover {
  border-color: var(--color-primary);
  background: rgba(14, 107, 79, 0.05);
}
.a11y-btn-group button.is-active {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}
.a11y-btn-group button sup { font-size: 0.7em; }

.a11y-row-toggles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}
.a11y-toggle-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 0.75rem 0.5rem;
  background: var(--color-bg);
  border: 1.5px solid var(--color-border);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: inherit;
  color: var(--color-text);
  text-align: center;
}
.a11y-toggle-btn:hover {
  border-color: var(--color-primary);
  background: rgba(14, 107, 79, 0.05);
}
.a11y-toggle-btn[aria-pressed="true"] {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}
.a11y-toggle-btn[aria-pressed="true"] .a11y-toggle-state { color: var(--color-gold-light); }
.a11y-toggle-icon {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1;
}
.a11y-toggle-label {
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.2;
}
.a11y-toggle-state {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-soft);
  font-weight: 700;
}

.a11y-reset {
  background: transparent;
  border: 1.5px solid var(--color-border);
  color: var(--color-text-soft);
  padding: 0.6rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 600;
  transition: all 0.15s ease;
  font-family: inherit;
  margin-top: 0.25rem;
}
.a11y-reset:hover {
  border-color: var(--color-magenta);
  color: var(--color-magenta);
}

/* ============================================
   ACCESSIBILITY MODES (applied via <html> classes)
   ============================================ */

/* Text size */
html.a11y-text-small { font-size: 14.5px; }
html.a11y-text-large { font-size: 19px; }
html.a11y-text-xlarge { font-size: 22px; }

/* High contrast — keeps brand colors but boosts contrast */
html.a11y-contrast-high {
  --color-text: #000;
  --color-text-soft: #1a1a1a;
  --color-bg: #fff;
  --color-bg-alt: #f0f0f0;
  --color-muted: #999;
  --color-border: #333;
  --color-primary: #044a35;
  --color-primary-dark: #033726;
  --color-accent-dark: #6b4c10;
}
html.a11y-contrast-high body {
  background-image: none !important;
  background-color: #fff !important;
}
html.a11y-contrast-high .card,
html.a11y-contrast-high .room-card,
html.a11y-contrast-high .quote {
  background: #fff !important;
  border: 2px solid #000 !important;
}
html.a11y-contrast-high a { text-decoration: underline; }
html.a11y-contrast-high .hero,
html.a11y-contrast-high .page-banner,
html.a11y-contrast-high .service-hero,
html.a11y-contrast-high .stat-section {
  background: #000 !important;
  color: #fff !important;
}
html.a11y-contrast-high .hero h1,
html.a11y-contrast-high .hero p,
html.a11y-contrast-high .page-banner h1,
html.a11y-contrast-high .page-banner p {
  color: #fff !important;
}

/* Dark mode (high contrast inverted) */
html.a11y-contrast-dark {
  --color-text: #f5f5f5;
  --color-text-soft: #cfcfcf;
  --color-bg: #0d1117;
  --color-bg-alt: #161b22;
  --color-muted: #444;
  --color-border: #555;
  --color-primary: #2dd4a3;
  --color-primary-dark: #1eb78a;
  --color-primary-light: #4adfb6;
  --color-accent: #f0c75e;
  --color-accent-dark: #d4a838;
  --color-magenta: #f06aaf;
  --color-magenta-light: #ff82c0;
  --color-gold-light: #ffd770;
}
html.a11y-contrast-dark body {
  background-color: #0d1117 !important;
  color: #f5f5f5;
}
html.a11y-contrast-dark .card,
html.a11y-contrast-dark .room-card,
html.a11y-contrast-dark .trust-row {
  background: #1a1f2e !important;
  border-color: #2a3144 !important;
  color: #f5f5f5;
}
html.a11y-contrast-dark .hero,
html.a11y-contrast-dark .page-banner,
html.a11y-contrast-dark .service-hero {
  filter: brightness(0.9);
}
html.a11y-contrast-dark .section-alt {
  background: #161b22 !important;
}

/* Readable font (for dyslexia / readability) */
html.a11y-readable-font,
html.a11y-readable-font body,
html.a11y-readable-font .hero-title,
html.a11y-readable-font h1,
html.a11y-readable-font h2,
html.a11y-readable-font h3,
html.a11y-readable-font h4,
html.a11y-readable-font p,
html.a11y-readable-font .brand-name,
html.a11y-readable-font .hero-lead {
  font-family: Verdana, Tahoma, Arial, sans-serif !important;
  font-style: normal !important;
}
html.a11y-readable-font .hero-title em {
  font-style: normal !important;
  font-weight: 700;
}

/* Underline links */
html.a11y-underline-links a:not(.btn):not(.brand):not(.nav-cta):not(.menu-toggle):not(.a11y-toggle):not(.social-link) {
  text-decoration: underline !important;
  text-underline-offset: 0.15em;
  text-decoration-thickness: 1.5px;
}

/* Reduce motion */
html.a11y-reduce-motion *,
html.a11y-reduce-motion *::before,
html.a11y-reduce-motion *::after {
  animation-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.01ms !important;
  scroll-behavior: auto !important;
}
html.a11y-reduce-motion [data-reveal] { opacity: 1 !important; transform: none !important; }
html.a11y-reduce-motion .hero-carousel-slide { opacity: 1 !important; }
html.a11y-reduce-motion .hero-carousel-slide:not(.is-active) { display: none; }

/* Larger cursor */
html.a11y-big-cursor,
html.a11y-big-cursor * {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cpath d='M2 2 L2 26 L8 20 L13 30 L17 28 L12 18 L20 18 Z' fill='%23000' stroke='%23fff' stroke-width='1.5' stroke-linejoin='round'/%3E%3C/svg%3E") 2 2, auto !important;
}
html.a11y-big-cursor a,
html.a11y-big-cursor button,
html.a11y-big-cursor [role="button"],
html.a11y-big-cursor input,
html.a11y-big-cursor select,
html.a11y-big-cursor textarea {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cpath d='M14 4 L14 28 M8 10 L14 4 L20 10' stroke='%23fff' stroke-width='3' fill='none' stroke-linecap='round'/%3E%3Cpath d='M14 4 L14 28 M8 10 L14 4 L20 10' stroke='%230e6b4f' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") 16 16, pointer !important;
}

/* Increased line-height */
html.a11y-line-height,
html.a11y-line-height body,
html.a11y-line-height p,
html.a11y-line-height li {
  line-height: 1.9 !important;
}

/* Letter spacing */
html.a11y-letter-spacing,
html.a11y-letter-spacing body,
html.a11y-letter-spacing p,
html.a11y-letter-spacing h1,
html.a11y-letter-spacing h2,
html.a11y-letter-spacing h3,
html.a11y-letter-spacing li {
  letter-spacing: 0.06em !important;
  word-spacing: 0.12em !important;
}

/* ============================================
   HERO PHOTO CAROUSEL
   ============================================ */
.hero-carousel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-navy);
}
.hero-carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
}
.hero-carousel-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  pointer-events: none;
}
.hero-carousel-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}
.hero-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-carousel-dots {
  position: absolute;
  bottom: 1.25rem;
  right: 1.25rem;
  display: flex;
  gap: 0.5rem;
  z-index: 5;
  background: rgba(13, 17, 23, 0.55);
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  backdrop-filter: blur(8px);
}
.hero-carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}
.hero-carousel-dot.is-active {
  background: var(--color-gold-light);
  width: 28px;
  border-radius: 5px;
}
.hero-carousel-dot:hover {
  background: rgba(255, 255, 255, 0.9);
}
.hero-carousel-dot:focus-visible {
  outline: 2px solid var(--color-gold-light);
  outline-offset: 3px;
}

.hero-carousel-pause {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 5;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(13, 17, 23, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s ease;
}
.hero-carousel-pause:hover { background: rgba(13, 17, 23, 0.85); }
.hero-carousel-pause:focus-visible {
  outline: 2px solid var(--color-gold-light);
  outline-offset: 2px;
}
.hero-carousel-pause .icon-play { display: none; }
.hero-carousel-pause .icon-pause { display: block; }
.hero-carousel-pause[aria-pressed="true"] .icon-play { display: block; }
.hero-carousel-pause[aria-pressed="true"] .icon-pause { display: none; }

/* Ken Burns subtle pan/zoom on active slide */
@keyframes kenburns {
  0%   { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.08) translate(-1%, -1%); }
}
.hero-carousel-slide.is-active img {
  animation: kenburns 7s ease-out forwards;
}

/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
[data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}
[data-reveal="left"] { transform: translateX(-30px); }
[data-reveal="left"].is-revealed { transform: none; }
[data-reveal="right"] { transform: translateX(30px); }
[data-reveal="right"].is-revealed { transform: none; }
[data-reveal="zoom"] { transform: scale(0.95); }
[data-reveal="zoom"].is-revealed { transform: none; }

/* Stagger child reveals */
[data-reveal-stagger] > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
[data-reveal-stagger].is-revealed > *:nth-child(1) { transition-delay: 0s; opacity: 1; transform: none; }
[data-reveal-stagger].is-revealed > *:nth-child(2) { transition-delay: 0.1s; opacity: 1; transform: none; }
[data-reveal-stagger].is-revealed > *:nth-child(3) { transition-delay: 0.2s; opacity: 1; transform: none; }
[data-reveal-stagger].is-revealed > *:nth-child(4) { transition-delay: 0.3s; opacity: 1; transform: none; }
[data-reveal-stagger].is-revealed > *:nth-child(5) { transition-delay: 0.4s; opacity: 1; transform: none; }
[data-reveal-stagger].is-revealed > *:nth-child(6) { transition-delay: 0.5s; opacity: 1; transform: none; }
[data-reveal-stagger].is-revealed > *:nth-child(7) { transition-delay: 0.6s; opacity: 1; transform: none; }
[data-reveal-stagger].is-revealed > *:nth-child(n+8) { transition-delay: 0.7s; opacity: 1; transform: none; }

/* Floating animation for hero badge */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%      { transform: translateY(-8px); }
}
.hero-art-badge {
  animation: float 4s ease-in-out infinite;
}

/* Subtle pulse for hero eyebrow dot */
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(240, 199, 94, 0.7); }
  50%      { box-shadow: 0 0 0 8px rgba(240, 199, 94, 0); }
}
.hero-eyebrow .dot {
  animation: pulse-dot 2s ease-in-out infinite;
  border-radius: 50%;
}

/* Respect prefers-reduced-motion (also overridden by toggle above) */
@media (prefers-reduced-motion: reduce) {
  [data-reveal], [data-reveal-stagger] > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .hero-carousel-slide.is-active img {
    animation: none;
  }
  .hero-art-badge,
  .hero-eyebrow .dot {
    animation: none;
  }
}

/* ============================================
   ADMIN: data source banner
   ============================================ */
.admin-source {
  font-size: 0.85rem;
  padding: 0.65rem 0.9rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  display: none;
}
.admin-source:not(:empty) { display: block; }
.admin-source-live {
  background: rgba(14, 107, 79, 0.08);
  color: var(--color-emerald-deep);
  border: 1px solid rgba(14, 107, 79, 0.2);
}
.admin-source-local {
  background: rgba(200, 151, 56, 0.1);
  color: var(--color-accent-dark);
  border: 1px solid rgba(200, 151, 56, 0.3);
}

/* ============================================
   SERVICE CARD INLINE TITLE ICONS (services.html)
   Small gold icon sits just before the title text.
   ============================================ */
.service-card .card-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.service-card .card-title .title-icon {
  width: 1.15em;
  height: 1.15em;
  flex-shrink: 0;
  color: var(--color-accent-dark);
  stroke-width: 1.7;
  transition: transform 0.3s var(--ease-out);
}
.service-card .card-title span {
  flex: 1;
  min-width: 0;
}

.service-card:hover .card-title .title-icon {
  transform: scale(1.08);
}

/* Tighten nav spacing at the awkward mid-range (between mobile menu kicking
   in at 880px and full desktop comfort at ~1200px) so the bigger logo
   doesn't squeeze the nav links. */
@media (min-width: 881px) and (max-width: 1100px) {
  .nav-list { gap: 1rem; }
  .nav-list a { font-size: 0.92rem; }
  .nav { gap: 1rem; }
}
