/* ============================================================
   Calderaine Hotel & Casino — global stylesheet
   Library-first: Bootstrap 5.3.3 + AOS + FontAwesome (CDN).
   Custom CSS below only adds the Calderaine design layer.
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --cl-ivory: #F7F3EA;
  --cl-sand: #EFE7D6;
  --cl-cream: #FFFDF7;
  --cl-ink: #15291C;
  --cl-pine: #1E4D36;
  --cl-pine-deep: #0E2418;
  --cl-gold: #B98A2F;
  --cl-gold-soft: #D9B869;
  --cl-muted: #6E7A6B;
  --cl-line: rgba(21, 41, 28, 0.14);
  --cl-line-light: rgba(255, 255, 255, 0.22);
  --cl-radius: 1.25rem;
  --cl-shadow: 0 24px 60px -30px rgba(21, 41, 28, 0.35);
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ---------- Bootstrap theme overrides (light, warm — not black, not white) ---------- */
[data-bs-theme="light"] {
  --bs-body-bg: var(--cl-ivory);
  --bs-body-color: var(--cl-ink);
  --bs-primary: #1E4D36;
  --bs-primary-rgb: 30, 77, 54;
  --bs-link-color: #1E4D36;
  --bs-link-color-rgb: 30, 77, 54;
  --bs-link-hover-color: #B98A2F;
  --bs-link-hover-color-rgb: 185, 138, 47;
  --bs-border-color: var(--cl-line);
  --bs-font-sans-serif: var(--font-body);
  --bs-body-font-family: var(--font-body);
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body {
  font-family: var(--font-body);
  background: var(--cl-ivory);
  color: var(--cl-ink);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .font-display, .display-1, .display-2, .display-3, .display-4, .display-5 {
  font-family: var(--font-display);
  letter-spacing: -0.01em;
}
h1 { font-weight: 700; }
::selection { background: var(--cl-gold); color: #fff; }
a { text-underline-offset: 3px; }
img { max-width: 100%; }

.page-content { position: relative; }

.section {
  position: relative;
  padding: clamp(4rem, 9vw, 7.5rem) 0;
}
.section-tight { padding: clamp(3rem, 6vw, 5rem) 0; }
.section-sand { background: var(--cl-sand); }
.section-cream { background: var(--cl-cream); }
.section-dark { background: var(--cl-pine-deep); color: rgba(255, 255, 255, 0.88); }
.section-dark h1, .section-dark h2, .section-dark h3 { color: #fff; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cl-gold);
  margin-bottom: 1.25rem;
}
.eyebrow::before {
  content: "";
  width: 2.5rem;
  height: 1px;
  background: var(--cl-gold);
}
.section-dark .eyebrow { color: var(--cl-gold-soft); }
.section-dark .eyebrow::before { background: var(--cl-gold-soft); }

.lead-soft { color: rgba(21, 41, 28, 0.72); }
.section-dark .lead-soft { color: rgba(255, 255, 255, 0.72); }

/* ---------- Buttons ---------- */
.btn { border-radius: 999px; font-weight: 600; }
.btn-gold {
  background: var(--cl-gold);
  border: 1px solid var(--cl-gold);
  color: #fff;
}
.btn-gold:hover, .btn-gold:focus {
  background: #a37a26;
  border-color: #a37a26;
  color: #fff;
}
.btn-pine {
  background: var(--cl-pine);
  border: 1px solid var(--cl-pine);
  color: #fff;
}
.btn-pine:hover, .btn-pine:focus {
  background: var(--cl-pine-deep);
  border-color: var(--cl-pine-deep);
  color: #fff;
}
.btn-outline-ink {
  border: 1px solid rgba(21, 41, 28, 0.4);
  color: var(--cl-ink);
}
.btn-outline-ink:hover { background: var(--cl-ink); color: #fff; border-color: var(--cl-ink); }
.btn-outline-light-soft {
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #fff;
}
.btn-outline-light-soft:hover { background: rgba(255, 255, 255, 0.14); color: #fff; }
.btn-lg { padding: 0.8rem 1.9rem; }

.text-link {
  color: var(--cl-pine);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid var(--cl-gold);
}
.text-link:hover { color: var(--cl-gold); }

/* ---------- Decorative layer (CSS only — no SVG anywhere) ---------- */
.decor-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}
.orb-gold { background: radial-gradient(circle, rgba(217, 184, 105, 0.6), transparent 70%); }
.orb-pine { background: radial-gradient(circle, rgba(30, 77, 54, 0.4), transparent 70%); }
.orb-rose { background: radial-gradient(circle, rgba(196, 130, 88, 0.35), transparent 70%); }

.dots-bg { position: relative; }
.dots-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(21, 41, 28, 0.16) 1.2px, transparent 1.3px);
  background-size: 22px 22px;
  opacity: 0.5;
  pointer-events: none;
}
.section-dark.dots-bg::before,
.tile-bg.dots-bg::before {
  background-image: radial-gradient(rgba(255, 255, 255, 0.25) 1.2px, transparent 1.3px);
  opacity: 0.25;
}

.ghost-word {
  position: absolute;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(4.5rem, 15vw, 13rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(21, 41, 28, 0.1);
  pointer-events: none;
  user-select: none;
  z-index: 0;
  white-space: nowrap;
}
.section-dark .ghost-word { -webkit-text-stroke: 1px rgba(255, 255, 255, 0.12); }

.gold-rule { width: 100%; height: 1px; background: linear-gradient(90deg, transparent, var(--cl-gold), transparent); border: 0; opacity: 0.6; }

.rotated-tag {
  display: inline-block;
  transform: rotate(-4deg);
  border: 1px solid var(--cl-gold);
  color: var(--cl-gold);
  border-radius: 999px;
  padding: 0.35rem 1rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.stitch-frame {
  border: 1px dashed rgba(185, 138, 47, 0.65);
  border-radius: var(--cl-radius);
  padding: 0.4rem;
}

/* ---------- Image frames & tiles ---------- */
.img-frame {
  position: relative;
  border-radius: var(--cl-radius);
  overflow: hidden;
  box-shadow: var(--cl-shadow);
}
.img-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.img-frame .frame-ratio { aspect-ratio: 4 / 3; }
.img-frame.tall .frame-ratio { aspect-ratio: 3 / 4; }
.img-frame.wide .frame-ratio { aspect-ratio: 16 / 9; }

.frame-offset { position: relative; }
.frame-offset::after {
  content: "";
  position: absolute;
  inset: 1.25rem -1.25rem -1.25rem 1.25rem;
  border: 1px solid var(--cl-gold);
  border-radius: var(--cl-radius);
  z-index: -1;
  opacity: 0.6;
}

.tile-bg {
  position: relative;
  background-size: cover;
  background-position: center;
  border-radius: var(--cl-radius);
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}
.tile-bg .tile-inner { position: relative; z-index: 2; }
.tile-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  pointer-events: none;
}

.glass-card {
  background: rgba(255, 253, 247, 0.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--cl-radius);
  color: #fff;
}
.glass-card .kpi-num { color: var(--cl-gold-soft); }

.hover-lift { transition: transform 0.35s ease, box-shadow 0.35s ease; }
.hover-lift:hover { transform: translateY(-6px); box-shadow: var(--cl-shadow); }

/* ---------- Header ---------- */
.cl-header { position: sticky; top: 0; z-index: 1040; }
.cl-topbar {
  background: var(--cl-pine-deep);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.8rem;
}
.cl-topbar a { color: rgba(255, 255, 255, 0.92); text-decoration: none; font-weight: 600; }
.cl-topbar a:hover { color: var(--cl-gold-soft); }
.cl-topbar i { color: var(--cl-gold-soft); }
.cl-topbar-item { display: inline-flex; align-items: center; gap: 0.5rem; white-space: nowrap; }

.cl-navbar {
  background: rgba(255, 253, 247, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--cl-line);
  transition: box-shadow 0.3s ease;
}
.cl-navbar.is-scrolled { box-shadow: 0 12px 30px -18px rgba(21, 41, 28, 0.4); }
.cl-navbar .nav-link {
  font-weight: 600;
  color: var(--cl-ink);
  position: relative;
}
.cl-navbar .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.15rem;
  width: 0;
  height: 2px;
  background: var(--cl-gold);
  transition: width 0.3s ease;
}
.cl-navbar .nav-link:hover::after { width: 100%; }
.cl-navbar .navbar-toggler { border: 1px solid var(--cl-line); color: var(--cl-ink); padding: 0.4rem 0.7rem; }
.cl-navbar .navbar-toggler i { font-size: 1.1rem; }

/* ---------- Footer ---------- */
.cl-footer {
  background: var(--cl-pine-deep);
  color: rgba(255, 255, 255, 0.75);
}
.cl-footer h6, .cl-footer .footer-title {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cl-gold-soft);
  margin-bottom: 1.1rem;
}
.cl-footer a { color: rgba(255, 255, 255, 0.75); text-decoration: none; }
.cl-footer a:hover { color: var(--cl-gold-soft); }
.cl-footer .footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.65rem; }
.cl-footer .footer-links li { display: flex; gap: 0.6rem; align-items: baseline; }
.cl-footer .footer-links i { color: var(--cl-gold-soft); font-size: 0.75rem; }
.cl-footer .legal-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.8rem; font-size: 0.9rem; }
.cl-footer .legal-list .k { display: block; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.45); }
.cl-footer .offline-note {
  border-left: 2px solid var(--cl-gold);
  padding-left: 1rem;
  font-size: 0.85rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.65);
}
.cl-footer .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- Hero ---------- */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 253, 247, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  border-radius: 999px;
  padding: 0.5rem 1.25rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hero-badge .dot-sep { color: var(--cl-gold-soft); }

.hero-stats { border-top: 1px solid rgba(255, 255, 255, 0.25); }
.hero-stats .stat-cell {
  padding: 1.1rem 1.5rem;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}
.hero-stats .stat-cell:last-child { border-right: 0; }
.hero-stats .stat-num { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; color: #fff; }
.hero-stats .stat-label { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255, 255, 255, 0.65); }

.scroll-cue {
  width: 2.6rem;
  height: 4.2rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  display: inline-flex;
  justify-content: center;
  padding-top: 0.7rem;
}
.scroll-cue i { color: var(--cl-gold-soft); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0%, 100% { transform: translateY(0); opacity: 1; } 50% { transform: translateY(0.8rem); opacity: 0.4; } }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; position: relative; }
.marquee-track {
  display: flex;
  align-items: center;
  gap: 3rem;
  width: max-content;
  animation: marquee 30s linear infinite;
  padding-block: 0.9rem;
}
.marquee-track.reverse { animation-direction: reverse; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 3rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
}
.marquee-item i { color: var(--cl-gold); font-size: 0.8rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Manifesto (Editorial three-part) ---------- */
.manifesto-index { border: 1px solid var(--cl-line); border-radius: var(--cl-radius); background: var(--cl-cream); }
.manifesto-index .index-row { display: flex; justify-content: space-between; gap: 1rem; padding: 0.85rem 1.1rem; border-top: 1px dashed var(--cl-line); font-size: 0.9rem; }
.manifesto-index .index-row:first-of-type { border-top: 0; }
.live-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(30, 77, 54, 0.08);
  border: 1px solid rgba(30, 77, 54, 0.25);
  color: var(--cl-pine);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
}
.live-badge i { animation: spin-slow 3s linear infinite; }
@keyframes spin-slow { to { transform: rotate(360deg); } }

.manifesto-quote { font-family: var(--font-display); font-size: clamp(1.7rem, 3.4vw, 2.7rem); line-height: 1.25; font-weight: 600; }
.manifesto-quote em { color: var(--cl-gold); font-style: italic; }
.accent-bullet { color: var(--cl-gold); margin-right: 0.6rem; }

/* ---------- Bento ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.25rem;
}
.bento-cell { border-radius: var(--cl-radius); position: relative; overflow: hidden; }
.bento-a { grid-column: span 7; grid-row: span 2; min-height: 460px; }
.bento-b { grid-column: span 5; min-height: 220px; }
.bento-c { grid-column: span 5; min-height: 220px; }
.bento-d { grid-column: span 4; min-height: 230px; }
.bento-e { grid-column: span 4; min-height: 230px; }
.bento-f { grid-column: span 4; min-height: 230px; }
@media (max-width: 991.98px) {
  .bento-a, .bento-b, .bento-c, .bento-d, .bento-e, .bento-f { grid-column: span 12; min-height: 0; }
  .bento-a { min-height: 320px; }
}
.bento-card {
  background: var(--cl-cream);
  border: 1px solid var(--cl-line);
  border-radius: var(--cl-radius);
  padding: 1.6rem;
  height: 100%;
}
.icon-chip {
  width: 3rem; height: 3rem;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 0.9rem;
  background: rgba(30, 77, 54, 0.08);
  color: var(--cl-pine);
  font-size: 1.1rem;
  flex: 0 0 auto;
}
.icon-chip.gold { background: rgba(185, 138, 47, 0.12); color: var(--cl-gold); }
.icon-chip.on-dark { background: rgba(255, 255, 255, 0.12); color: var(--cl-gold-soft); }

.mode-switch { display: inline-flex; border: 1px solid var(--cl-line); border-radius: 999px; overflow: hidden; background: var(--cl-cream); }
.mode-switch .mode-btn {
  border: 0; background: transparent; padding: 0.45rem 1.1rem;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cl-muted);
}
.mode-switch .mode-btn.active { background: var(--cl-pine); color: #fff; }

.status-track { display: flex; align-items: center; gap: 0.75rem; font-size: 0.9rem; }
.status-track .track-bar { flex: 1; height: 6px; border-radius: 999px; background: rgba(21, 41, 28, 0.1); overflow: hidden; }
.status-track .track-bar span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--cl-pine), var(--cl-gold)); }

/* ---------- Timeline / Storytelling ---------- */
.tl-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; position: relative; }
.tl-grid::before {
  content: "";
  position: absolute;
  top: 0.4rem; left: 0; right: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.25);
}
.tl-cell { position: relative; padding-top: 1.6rem; }
.tl-cell::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 0.8rem; height: 0.8rem;
  border-radius: 50%;
  background: var(--cl-gold);
  box-shadow: 0 0 0 5px rgba(217, 184, 105, 0.2);
}
.tl-year { font-family: var(--font-display); font-size: 1.3rem; color: var(--cl-gold-soft); font-weight: 700; }
@media (max-width: 767.98px) {
  .tl-grid { grid-template-columns: 1fr; }
  .tl-grid::before { top: 0; bottom: 0; left: 0.4rem; right: auto; width: 1px; height: auto; }
  .tl-cell { padding-top: 0; padding-left: 2rem; }
  .tl-cell::before { top: 0.3rem; }
}

.float-quote {
  position: relative;
  background: var(--cl-cream);
  border-radius: var(--cl-radius);
  padding: 1.6rem;
  box-shadow: var(--cl-shadow);
  border: 1px solid var(--cl-line);
}
.float-quote .quote-mark { font-family: var(--font-display); font-size: 3rem; line-height: 0; color: var(--cl-gold); }

.kpi-panel { padding: 1.6rem; }
.kpi-num { font-family: var(--font-display); font-size: clamp(1.9rem, 3vw, 2.6rem); font-weight: 700; line-height: 1; }
.kpi-label { font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); margin-top: 0.4rem; }

/* ---------- Metric hub ---------- */
.metric-tile {
  background: var(--cl-cream);
  border: 1px solid var(--cl-line);
  border-radius: var(--cl-radius);
  padding: 1.8rem;
  position: relative;
  overflow: hidden;
  height: 100%;
}
.metric-tile .big-num {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1;
  color: var(--cl-pine);
}
.metric-tile .big-num sup { font-size: 0.45em; color: var(--cl-gold); }
.metric-tile.tile-media { color: #fff; border: 0; }
.metric-tile.tile-media .big-num { color: #fff; }
.metric-tile.tile-media .metric-sub { color: rgba(255, 255, 255, 0.75); }
.metric-sub { color: var(--cl-muted); font-size: 0.92rem; }

.cert-row { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; align-items: center; }
.cert-chip { display: inline-flex; align-items: center; gap: 0.6rem; font-weight: 700; font-size: 0.9rem; color: var(--cl-muted); }
.cert-chip i { color: var(--cl-gold); }

/* ---------- Services ribbon ---------- */
.ribbon-list { border-top: 1px solid var(--cl-line); }
.ribbon-item { border-bottom: 1px solid var(--cl-line); }
.ribbon-head {
  display: flex; align-items: center; gap: 1.25rem;
  width: 100%; text-align: left;
  background: transparent; border: 0;
  padding: 1.35rem 0.5rem;
  color: var(--cl-ink);
  transition: background 0.3s ease, padding-left 0.3s ease;
}
.ribbon-head:hover { background: rgba(30, 77, 54, 0.05); padding-left: 1rem; }
.ribbon-num { font-family: var(--font-display); color: var(--cl-gold); font-weight: 700; width: 2.6rem; flex: 0 0 auto; }
.ribbon-title { font-family: var(--font-display); font-size: clamp(1.15rem, 2vw, 1.55rem); font-weight: 600; }
.ribbon-tags { margin-left: auto; display: flex; gap: 0.5rem; flex-wrap: wrap; }
.ribbon-tag {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  border: 1px solid var(--cl-line); border-radius: 999px; padding: 0.25rem 0.75rem; color: var(--cl-muted);
}
.ribbon-plus {
  width: 2.4rem; height: 2.4rem; border-radius: 50%;
  border: 1px solid var(--cl-line);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--cl-pine); flex: 0 0 auto;
  transition: transform 0.35s ease, background 0.35s ease, color 0.35s ease;
}
.ribbon-item.open .ribbon-plus { transform: rotate(45deg); background: var(--cl-pine); color: #fff; border-color: var(--cl-pine); }
.ribbon-body { max-height: 0; overflow: hidden; transition: max-height 0.5s ease; }
.ribbon-item.open .ribbon-body { max-height: 420px; }
.ribbon-body-inner { padding: 0 0.5rem 1.6rem 4.1rem; color: var(--cl-muted); max-width: 720px; }
@media (max-width: 767.98px) {
  .ribbon-tags { display: none; }
  .ribbon-body-inner { padding-left: 0.5rem; }
}

/* ---------- Philosophy portal ---------- */
.corner-anchor {
  position: absolute;
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  z-index: 3;
}
.corner-anchor i { color: var(--cl-gold-soft); }
.portal-ring {
  width: min(420px, 78vw);
  aspect-ratio: 1;
  border-radius: 50%;
  padding: 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  position: relative;
}
.portal-ring::before {
  content: "";
  position: absolute;
  inset: -1.4rem;
  border-radius: 50%;
  border: 1px dashed rgba(217, 184, 105, 0.5);
  animation: spin-slow 40s linear infinite;
}
.portal-ring .portal-img {
  width: 100%; height: 100%;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.06), 0 40px 80px -30px rgba(0, 0, 0, 0.8);
}
.portal-ring img { width: 100%; height: 100%; object-fit: cover; display: block; }
.play-btn {
  width: 4.2rem; height: 4.2rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  transition: background 0.3s ease, transform 0.3s ease;
}
.play-btn:hover { background: var(--cl-gold); transform: scale(1.06); color: #fff; }
@media (max-width: 767.98px) {
  .corner-anchor { position: static; }
  .corner-anchor.anchor-hide-mobile { display: none; }
}

/* ---------- Testimonials ---------- */
.quote-canvas {
  background: var(--cl-cream);
  border: 1px solid var(--cl-line);
  border-radius: var(--cl-radius);
  padding: clamp(1.8rem, 4vw, 3rem);
  box-shadow: var(--cl-shadow);
  position: relative;
  height: 100%;
}
.quote-canvas .big-mark {
  position: absolute; top: 1.2rem; right: 2rem;
  font-family: var(--font-display); font-size: 6rem; line-height: 1;
  color: rgba(185, 138, 47, 0.18);
}
.quote-text { font-family: var(--font-display); font-size: clamp(1.3rem, 2.4vw, 1.8rem); line-height: 1.4; font-weight: 500; }
.avatar-frame { width: 3.6rem; height: 3.6rem; border-radius: 50%; overflow: hidden; border: 2px solid var(--cl-gold); flex: 0 0 auto; }
.avatar-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }

.media-tile { min-height: 380px; display: flex; align-items: flex-end; }
.media-tile .play-row { position: relative; z-index: 2; }

.growth-row { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.25rem; background: var(--cl-cream); border: 1px solid var(--cl-line); border-radius: 1rem; height: 100%; }
.growth-row i { color: var(--cl-gold); font-size: 1.3rem; }
.growth-row .g-num { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; }

/* ---------- Pricing atelier ---------- */
.atelier-card {
  background: var(--cl-cream);
  border: 1px solid var(--cl-line);
  border-radius: var(--cl-radius);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  box-shadow: var(--cl-shadow);
}
.form-range::-webkit-slider-thumb {
  background: var(--cl-gold);
  border: 3px solid #fff;
  box-shadow: 0 0 0 1px var(--cl-gold);
}
.form-range::-moz-range-thumb {
  background: var(--cl-gold);
  border: 3px solid #fff;
  box-shadow: 0 0 0 1px var(--cl-gold);
}
.form-check-input:checked { background-color: var(--cl-pine); border-color: var(--cl-pine); }
.form-check-input:focus { box-shadow: 0 0 0 0.2rem rgba(30, 77, 54, 0.2); }

.estimate-card { padding: clamp(1.6rem, 3vw, 2.4rem); }
.estimate-row { display: flex; justify-content: space-between; gap: 1rem; padding: 0.7rem 0; border-bottom: 1px dashed rgba(255, 255, 255, 0.25); font-size: 0.95rem; }
.estimate-total { font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 800; color: var(--cl-gold-soft); }

.guarantee-chip {
  display: flex; align-items: center; gap: 0.9rem;
  background: var(--cl-cream);
  border: 1px solid var(--cl-line);
  border-radius: 1rem;
  padding: 1rem 1.25rem;
  height: 100%;
}
.guarantee-chip i { color: var(--cl-gold); font-size: 1.3rem; }
.guarantee-chip.on-dark {
  background: rgba(255, 253, 247, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
}
.guarantee-chip.on-dark i { color: var(--cl-gold-soft); }
.guarantee-chip.on-dark small { color: rgba(255, 255, 255, 0.6) !important; }

/* ---------- FAQ matrix ---------- */
.faq-search { position: relative; }
.faq-search i { position: absolute; left: 1.2rem; top: 50%; transform: translateY(-50%); color: var(--cl-muted); }
.faq-search .form-control { border-radius: 999px; padding: 0.85rem 1.2rem 0.85rem 3rem; border: 1px solid var(--cl-line); background: var(--cl-cream); }
.faq-search .form-control:focus { border-color: var(--cl-gold); box-shadow: 0 0 0 0.2rem rgba(185, 138, 47, 0.15); }

.accordion-item { background: var(--cl-cream); border: 1px solid var(--cl-line) !important; border-radius: 1rem !important; overflow: hidden; }
.accordion-button { background: var(--cl-cream); color: var(--cl-ink); font-weight: 700; font-family: var(--font-display); font-size: 1.05rem; }
.accordion-button:not(.collapsed) { background: rgba(30, 77, 54, 0.06); color: var(--cl-pine); box-shadow: none; }
.accordion-button:focus { box-shadow: 0 0 0 0.2rem rgba(185, 138, 47, 0.2); }
.accordion-body { color: var(--cl-muted); }

.support-card { padding: clamp(1.6rem, 3vw, 2.2rem); min-height: 100%; }

/* ---------- Finale ---------- */
.finale-title { font-size: clamp(2.4rem, 6vw, 4.6rem); font-weight: 800; line-height: 1.05; }
.finale-form .form-control, .finale-form .form-select {
  background: rgba(255, 253, 247, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  border-radius: 999px;
  padding: 0.85rem 1.4rem;
}
.finale-form .form-control::placeholder { color: rgba(255, 255, 255, 0.55); }
.finale-form .form-control:focus, .finale-form .form-select:focus {
  background: rgba(255, 253, 247, 0.16);
  border-color: var(--cl-gold-soft);
  color: #fff;
  box-shadow: 0 0 0 0.2rem rgba(217, 184, 105, 0.25);
}
.finale-form .form-select option { color: var(--cl-ink); }
.finale-form .form-floating > label { color: rgba(255, 255, 255, 0.75); }
.finale-form .form-floating > .form-control:focus ~ label,
.finale-form .form-floating > .form-control:not(:placeholder-shown) ~ label,
.finale-form .form-floating > .form-select ~ label { color: rgba(255, 255, 255, 0.95); }

/* ---------- Comparison spectrum ---------- */
.vs-col { border-radius: var(--cl-radius); padding: clamp(1.6rem, 3vw, 2.4rem); height: 100%; }
.vs-traditional { background: rgba(21, 41, 28, 0.05); border: 1px solid var(--cl-line); color: var(--cl-muted); }
.vs-modern { color: #fff; }
.vs-badge {
  width: 4.4rem; height: 4.4rem;
  border-radius: 50%;
  background: var(--cl-gold);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: 1.2rem;
  box-shadow: var(--cl-shadow);
}
.vs-row { display: flex; gap: 0.8rem; align-items: baseline; padding: 0.7rem 0; border-bottom: 1px dashed rgba(21, 41, 28, 0.12); }
.vs-modern .vs-row { border-bottom-color: rgba(255, 255, 255, 0.2); }
.vs-row:last-child { border-bottom: 0; }
.vs-row i { flex: 0 0 auto; margin-top: 0.15rem; }
@media (max-width: 991.98px) {
  .vs-pane { display: none; }
  .vs-pane.active { display: block; }
  .vs-divider-mobile { display: block; }
}
@media (min-width: 992px) {
  .vs-pane { display: block !important; }
  .vs-switcher { display: none !important; }
}

/* ---------- Process pipeline ---------- */
.pipeline-step { position: relative; padding-left: 3.4rem; padding-bottom: 2.4rem; }
.pipeline-step::before {
  content: "";
  position: absolute; left: 1.1rem; top: 2.6rem; bottom: 0;
  width: 1px;
  background: linear-gradient var(--cl-line);
  background: var(--cl-line);
}
.pipeline-step:last-child::before { display: none; }
.pipeline-marker {
  position: absolute; left: 0; top: 0;
  width: 2.3rem; height: 2.3rem;
  border-radius: 50%;
  background: var(--cl-pine);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.85rem; font-weight: 700;
  box-shadow: 0 0 0 6px rgba(30, 77, 54, 0.12);
}
.step-preview { border-radius: 1rem; overflow: hidden; }
.step-preview img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }

.phase-timer {
  display: inline-flex; align-items: center; gap: 0.7rem;
  border: 1px solid var(--cl-line);
  background: var(--cl-cream);
  border-radius: 999px;
  padding: 0.55rem 1.2rem;
  font-weight: 700;
  font-size: 0.9rem;
}
.phase-timer i { color: var(--cl-gold); }

/* ---------- Team ---------- */
.team-card {
  border-radius: var(--cl-radius);
  overflow: hidden;
  position: relative;
  background: var(--cl-cream);
  border: 1px solid var(--cl-line);
}
.team-card .team-photo { aspect-ratio: 3 / 4; overflow: hidden; }
.team-card .team-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.team-card:hover .team-photo img { transform: scale(1.05); }
.team-card .team-overlay {
  position: absolute; inset: auto 0 0 0;
  background: linear-gradient(transparent, rgba(14, 36, 24, 0.92));
  padding: 2.2rem 1.3rem 1.3rem;
  color: #fff;
}
.team-social {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.2rem; height: 2.2rem; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff; font-size: 0.85rem;
  transition: background 0.3s ease;
}
.team-social:hover { background: var(--cl-gold); color: #fff; }

/* ---------- Press ---------- */
.press-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  color: rgba(21, 41, 28, 0.4);
  white-space: nowrap;
}
.press-stand { padding: clamp(1.8rem, 4vw, 3rem); }
.mag-cover { border-radius: 0.8rem; overflow: hidden; box-shadow: 0 30px 60px -25px rgba(0, 0, 0, 0.7); }
.mag-cover img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }

/* ---------- Blueprint / hotspots ---------- */
.bp-canvas { position: relative; border-radius: var(--cl-radius); overflow: hidden; }
.bp-canvas img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.hotspot {
  position: absolute;
  width: 1rem; height: 1rem;
  border-radius: 50%;
  background: var(--cl-gold);
  border: 2px solid #fff;
  cursor: pointer;
  z-index: 3;
}
.hotspot::after {
  content: "";
  position: absolute; inset: -0.55rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.85);
  animation: hotspot-pulse 2s ease-out infinite;
}
@keyframes hotspot-pulse {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(1.8); opacity: 0; }
}
.bp-item {
  display: flex; gap: 1rem; align-items: center;
  width: 100%; text-align: left;
  background: var(--cl-cream);
  border: 1px solid var(--cl-line);
  border-radius: 1rem;
  padding: 1rem 1.2rem;
  color: var(--cl-ink);
  transition: border-color 0.3s ease, background 0.3s ease;
}
.bp-item:hover { border-color: var(--cl-gold); }
.bp-item.active { border-color: var(--cl-pine); background: rgba(30, 77, 54, 0.06); }
.bp-detail { padding: clamp(1.6rem, 3vw, 2.2rem); min-height: 100%; }

/* ---------- Legal / prose ---------- */
.legal-card {
  background: var(--cl-cream);
  border: 1px solid var(--cl-line);
  border-radius: var(--cl-radius);
  padding: 1.6rem;
  height: 100%;
}
.legal-num {
  font-family: var(--font-display);
  font-size: 2.2rem; font-weight: 800;
  color: rgba(185, 138, 47, 0.5);
  line-height: 1;
}
.doc-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.8rem; }
.doc-list li { display: flex; gap: 0.8rem; align-items: baseline; }
.doc-list i { color: var(--cl-gold); font-size: 0.8rem; }
.callout {
  border-left: 3px solid var(--cl-gold);
  background: rgba(185, 138, 47, 0.07);
  border-radius: 0 1rem 1rem 0;
  padding: 1.2rem 1.5rem;
}
.cookie-table { background: var(--cl-cream); border-radius: var(--cl-radius); overflow: hidden; border: 1px solid var(--cl-line); }
.cookie-table table { margin: 0; }
.cookie-table th { background: var(--cl-pine); color: #fff; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; }

/* ---------- Forms & notifications ---------- */
.form-note { display: none; }
.form-note.show { display: flex; }
.form-note {
  align-items: center; gap: 0.75rem;
  border-radius: 1rem;
  padding: 0.9rem 1.2rem;
  font-size: 0.92rem;
}
.form-note.note-ok { background: rgba(30, 77, 54, 0.1); border: 1px solid rgba(30, 77, 54, 0.3); color: var(--cl-pine); }
.form-note.note-err { background: rgba(140, 42, 42, 0.08); border: 1px solid rgba(140, 42, 42, 0.3); color: #8C2A2A; }
.form-note i { font-size: 1.1rem; }
.on-dark .form-note.note-ok { background: rgba(217, 184, 105, 0.15); border-color: rgba(217, 184, 105, 0.5); color: #F2E3BC; }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed;
  z-index: 1090;
  left: 1rem; right: 1rem; bottom: 1rem;
  margin-inline: auto;
  max-width: 620px;
  background: var(--cl-pine-deep);
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--cl-radius);
  padding: 1.4rem 1.6rem;
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.6);
  opacity: 0;
  transform: translateY(1.5rem);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.cookie-banner.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.cookie-banner a { color: var(--cl-gold-soft); }

/* ---------- Map ---------- */
.map-embed { border-radius: var(--cl-radius); overflow: hidden; box-shadow: var(--cl-shadow); border: 1px solid var(--cl-line); min-height: 460px; }
.map-embed iframe { display: block; width: 100%; height: 460px !important; border: 0; filter: sepia(12%) saturate(90%); }

/* ---------- Legal / prose ---------- */
.legal-list { display: grid; gap: 1.1rem; padding: 0; margin: 0; }
.legal-item { display: flex; gap: 1rem; align-items: baseline; color: var(--cl-ink); }
.legal-dot {
  width: 0.65rem; height: 0.65rem; flex: 0 0 auto;
  border-radius: 50%; background: var(--cl-gold);
  box-shadow: 0 0 0 5px rgba(185, 138, 47, 0.15);
  margin-top: 0.5rem;
}
.legal-table { border-collapse: separate; border-spacing: 0; }
.legal-table thead th { background: var(--cl-pine); color: #fff; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.95rem 1.2rem; border: 0; }
.legal-table td, .legal-table tbody th { padding: 1rem 1.2rem; border-bottom: 1px solid var(--cl-line); background: var(--cl-cream); color: var(--cl-ink); font-size: 0.92rem; }
.legal-table code { color: var(--cl-pine); font-weight: 700; }

/* ---------- Misc utilities ---------- */
.z-1 { position: relative; z-index: 1; }
.fw-black { font-weight: 800; }
.chip-soft {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(30, 77, 54, 0.07);
  border: 1px solid rgba(30, 77, 54, 0.18);
  color: var(--cl-pine);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  font-size: 0.82rem;
  font-weight: 600;
}
.section-dark .chip-soft, .tile-bg .chip-soft {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}
.spec-row { display: flex; justify-content: space-between; gap: 1rem; padding: 0.75rem 0; border-bottom: 1px dashed var(--cl-line); font-size: 0.95rem; }
.spec-row .k { color: var(--cl-muted); }
.spec-row .v { font-weight: 700; text-align: right; }
