/* Boston Casino Events - shared stylesheet (tokens + chrome). Owned by orchestrator. */
/* Page subagents append page-scoped rules below, each under a banner: page: slug */

:root {
  --bg: #0d0d0d;
  --bg-2: #151515;
  --bg-3: #1e1e1e;
  --panel: #141414;
  --red: #c8102e;
  --red-bright: #e11b2e;
  --red-deep: #a50d24;
  --text: #ffffff;
  --muted: #b8b8b8;
  --muted-2: #8f8f8f;
  --line: #2a2a2a;
  --gold: #d9b25a;
  --maxw: 1200px;
  --radius: 6px;
  --radius-lg: 12px;
  --shadow: 0 10px 30px rgba(0,0,0,.45);
  --font-head: 'Familjen Grotesk', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Manrope', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.12;
  margin: 0 0 .5em;
  color: var(--text);
}

h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); }

p { margin: 0 0 1.1em; color: var(--muted); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.accent { color: var(--red); }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--red); color: #fff; padding: 10px 16px; z-index: 1000;
}
.skip-link:focus { left: 8px; top: 8px; }

/* ---------- Eyebrow badge ---------- */
.eyebrow {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 4px;
  margin-bottom: 18px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .95rem;
  padding: 13px 28px;
  border-radius: 999px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
  text-align: center;
}
.btn-light { background: #fff; color: #111; }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(255,255,255,.15); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-bright); transform: translateY(-2px); box-shadow: 0 8px 22px rgba(200,16,46,.4); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-outline:hover { background: #fff; color: #111; }

/* ---------- Top utility bar ---------- */
.topbar {
  background: var(--red);
  color: #fff;
  font-size: .8rem;
}
.topbar .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 7px;
  padding-bottom: 7px;
}
.topbar a { color: #fff; }
.topbar .tb-left { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.topbar .tb-item { display: inline-flex; align-items: center; gap: 7px; }
.topbar img { width: 13px; height: 13px; filter: brightness(0) invert(1); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,10,10,.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 20px;
}
.nav-logo img { height: 26px; width: auto; }
.nav-menu {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-menu a {
  font-size: .92rem;
  font-weight: 600;
  color: #eaeaea;
  padding: 4px 0;
  position: relative;
  transition: color .2s ease;
}
.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 2px;
  background: var(--red);
  transition: width .25s ease;
}
.nav-menu a:hover, .nav-menu a[aria-current="page"] { color: #fff; }
.nav-menu a:hover::after, .nav-menu a[aria-current="page"]::after { width: 100%; }
.nav-right { display: flex; align-items: center; gap: 16px; }

.nav-toggle {
  display: none;
  background: none; border: 0; color: #fff;
  font-size: 1.6rem; cursor: pointer; line-height: 1;
}

@media (max-width: 940px) {
  .nav-toggle { display: block; }
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background: #0b0b0b;
    border-bottom: 1px solid var(--line);
    padding: 14px 24px 20px;
  }
  .nav-menu.open { display: flex; }
  .nav-menu a { width: 100%; padding: 10px 0; }
}

/* ---------- Generic section ---------- */
.section { padding: 74px 0; }
.section-sm { padding: 48px 0; }
.text-center { text-align: center; }
.lead { font-size: 1.06rem; color: var(--muted); }

/* ---------- Hero (interior page banner) ---------- */
.page-hero {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.page-hero .hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.page-hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.68));
  z-index: 1;
}
.page-hero .hero-inner { position: relative; z-index: 2; padding: 60px 24px; }
.page-hero h1 { color: #fff; }
.page-hero .eyebrow { background: var(--red); }

/* ---------- Home hero ---------- */
.home-hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.home-hero .hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.home-hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(rgba(8,8,8,.55), rgba(8,8,8,.6));
  z-index: 1;
}
.home-hero .hero-inner { position: relative; z-index: 2; max-width: 760px; padding: 40px 24px; }
.home-hero h1 { color: #fff; font-size: clamp(2.4rem, 6vw, 4rem); }
.home-hero p { color: #e6e6e6; font-size: 1.1rem; }

/* ---------- Cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px;
}
.svc-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 27 / 34;
  box-shadow: var(--shadow);
}
.svc-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.svc-card:hover img { transform: scale(1.06); }
.svc-card .svc-label {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 16px;
  background: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,.82));
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
}

/* ---------- Logos strip ---------- */
.logos {
  background: var(--bg-2);
  padding: 26px 0;
}
.logos-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 34px;
}
.logos-row img { height: 50px; width: auto; opacity: .95; }

/* ---------- Two column ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.two-col .col-img img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; gap: 30px; } }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  padding: 70px 0;
}
.cta-band .cta-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.cta-band::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(0,0,0,.6);
  z-index: 1;
}
.cta-band .container { position: relative; z-index: 2; }
.cta-band h2 { color: #fff; }

/* ---------- Formula / red band ---------- */
.formula-band {
  position: relative;
  overflow: hidden;
  background: var(--red);
  padding: 90px 0;
}
.formula-band .formula-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .18;
  z-index: 0;
}
.formula-band .container { position: relative; z-index: 2; }
.formula-band h2, .formula-band p { color: #fff; }

/* ---------- Testimonials ---------- */
.testimonial {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}
.testimonial .quote-mark { width: 56px; height: 56px; margin: 0 auto 18px; filter: brightness(0) invert(1); opacity: .85; }
.testimonial blockquote { font-size: 1.15rem; color: #e8e8e8; margin: 0 0 24px; font-style: italic; }
.testimonial .who { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.testimonial .who img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.testimonial .who .name { font-family: var(--font-head); color: var(--red); font-weight: 700; font-style: italic; }

/* ---------- Feature list (icon rows) ---------- */
.feature-item { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 22px; }
.feature-item img { width: 41px; height: 41px; flex: 0 0 41px; }
.feature-item h5 { font-size: 1.05rem; margin: 0 0 4px; color: #fff; }
.feature-item p { margin: 0; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 44px; }
@media (max-width: 780px) { .grid-2 { grid-template-columns: 1fr; } }

.check-list { list-style: none; margin: 0 0 1.2em; padding: 0; }
.check-list li { position: relative; padding-left: 30px; margin-bottom: 12px; color: var(--muted); }
.check-list li::before {
  content: "♠";
  position: absolute; left: 0; top: 0;
  color: var(--red); font-size: 1.05rem;
}

/* ---------- Package cards ---------- */
.pkg-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 26px; }
.pkg-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, border-color .25s ease;
}
.pkg-card:hover { transform: translateY(-6px); border-color: var(--red); }
.pkg-card .pkg-count { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--red); font-weight: 700; }
.pkg-card h3 { font-size: 1.7rem; margin: 8px 0 12px; }
.pkg-card ul { list-style: none; margin: 16px 0; padding: 0; }
.pkg-card li { padding: 8px 0; border-bottom: 1px solid var(--line); color: #ddd; font-size: .95rem; }
.pkg-card .pkg-foot { margin-top: auto; }
.pkg-card .pkg-note { font-size: .85rem; color: var(--muted-2); margin: 14px 0; }

/* ---------- FAQ / accordion ---------- */
.faq { max-width: 860px; margin: 0 auto; }
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 6px 0;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 40px 18px 4px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.08rem;
  color: #fff;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute; right: 6px; top: 16px;
  color: var(--red); font-size: 1.5rem; transition: transform .25s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 4px 18px; margin: 0; }

/* ---------- Forms ---------- */
.form-wrap { max-width: 820px; margin: 0 auto; }
.form-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px;
}
.form-section-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.4rem;
  color: #fff;
  margin: 30px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--red);
}
.form-section-title:first-child { margin-top: 0; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .9rem; font-weight: 600; color: #ddd; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%;
  background: #0f0f0f;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 12px 14px;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .field-row { grid-template-columns: 1fr; } }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 640px) { .checks { grid-template-columns: 1fr; } }
.check-inline { display: flex; align-items: center; gap: 8px; color: #ddd; font-size: .95rem; }
.check-inline input { width: auto; }
.hp-field { position: absolute; left: -9999px; overflow: hidden; width: 1px; height: 1px; }

/* ---------- Footer ---------- */
.site-footer {
  background: #101010;
  border-top: 1px solid var(--line);
  padding: 56px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr;
  gap: 36px;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-logo img { height: 66px; width: auto; margin-bottom: 14px; }
.site-footer h4 {
  font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
  color: #fff; margin: 0 0 18px;
}
.site-footer p, .site-footer li, .site-footer a { color: var(--muted); font-size: .92rem; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { transition: color .2s ease; }
.footer-links a:hover { color: var(--red); }
.footer-links li::before { content: "→"; color: var(--red); margin-right: 8px; }
.footer-contact strong { color: #eee; }
.social { display: flex; gap: 14px; margin-top: 14px; }
.social a {
  width: 34px; height: 34px; border-radius: 50%;
  background: #1d1d1d; display: inline-flex; align-items: center; justify-content: center;
  color: #fff; transition: background .2s ease;
}
.social a:hover { background: var(--red); }
.footer-sub input {
  width: 100%; background: #0f0f0f; border: 1px solid var(--line);
  border-radius: var(--radius); color: #fff; padding: 11px 13px; margin-bottom: 12px;
}
.footer-bar {
  margin-top: 44px;
  background: var(--red);
  text-align: center;
  padding: 14px 0;
  font-size: .82rem;
  color: #fff;
}
.footer-bar .container { color: #fff; }

/* ---------- Animations ---------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: .6; }
}
/* On-load reveals: animation always runs, element always ends visible. */
.reveal { animation: fadeUp .7s ease both; }
.reveal-2 { animation: fadeUp .7s ease .12s both; }
.reveal-3 { animation: fadeUp .7s ease .24s both; }
.home-hero .hero-inner > * { animation: fadeUp .8s ease both; }
.home-hero .hero-inner > h1 { animation-delay: .1s; }
.home-hero .hero-inner > p { animation-delay: .22s; }
.home-hero .hero-inner > .btn { animation-delay: .34s; }

.live-dot {
  display: inline-block; width: 9px; height: 9px; border-radius: 50%;
  background: #fff; animation: pulseDot 1.6s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, .reveal, .reveal-2, .reveal-3,
  .home-hero .hero-inner > *, .svc-card img, .live-dot {
    animation: none !important;
    transition: none !important;
  }
}

/* ---------- Interior page hero: image-only banner ----------
   Matches the original: the banner carries no copy; the page title
   lives in the .page-intro section directly below it. */
.hero-band { position: relative; height: 460px; overflow: hidden; }
.hero-band img,
.hero-band video { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 860px) { .hero-band { height: 300px; } }

/* Title block that follows an image-only hero. */
.page-intro { padding: 74px 0 0; }
.page-intro .container { max-width: 900px; }

/* ---------- Section that carries its own full-bleed background ---------- */
.bg-section { position: relative; overflow: hidden; padding: 74px 0; }
.bg-section > .band-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.bg-section::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(0,0,0,.6);
  z-index: 1;
}
.bg-section > .container { position: relative; z-index: 2; }

/* ---------- FAQ on a background band, in a white card ----------
   Generic version of the corporate page's treatment. */
.faq-band { position: relative; padding: 90px 0; overflow: hidden; }
.faq-band .band-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.faq-band::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 1;
}
.faq-band .faq-card {
  position: relative; z-index: 2;
  max-width: 900px; margin: 0 auto;
  background: #fff; border-radius: var(--radius-lg);
  padding: 40px 44px; box-shadow: var(--shadow);
}
.faq-band .faq-card h2 { color: var(--red); }
.faq-band .faq-card .faq summary { color: #111; }
.faq-band .faq-card .faq details { border-bottom: 1px solid #ddd; }
.faq-band .faq-card .faq details p { color: #444; }
@media (max-width: 640px) { .faq-band .faq-card { padding: 28px 22px; } }

/* ---------- Trusted-by logos: seamless looping marquee ---------- */
.logo-marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.logo-marquee .marquee-track {
  display: flex;
  align-items: center;
  gap: 34px;
  width: max-content;
  animation: logoScroll 38s linear infinite;
}
.logo-marquee:hover .marquee-track { animation-play-state: paused; }
.logo-marquee img { height: 50px; width: auto; opacity: .95; flex: 0 0 auto; }
@keyframes logoScroll {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

/* ---------- Testimonial carousel ---------- */
.t-swiper { padding-bottom: 10px; }
.t-swiper .swiper-slide { height: auto; }
.t-swiper .swiper-button-prev,
.t-swiper .swiper-button-next { color: var(--red); }
.t-swiper .swiper-button-prev::after,
.t-swiper .swiper-button-next::after { font-size: 22px; }
.t-swiper .swiper-pagination { position: static; margin-top: 22px; }
.t-swiper .swiper-pagination-bullet { background: var(--red); opacity: .35; }
.t-swiper .swiper-pagination-bullet-active { opacity: 1; }
@media (max-width: 860px) {
  .t-swiper .swiper-button-prev,
  .t-swiper .swiper-button-next { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .logo-marquee .marquee-track { animation: none !important; }
}
