:root {
  --gam-dark: #1a1f2e;
  --gam-darker: #12151c;
  --gam-accent: #e85d04;
  --gam-accent-hover: #f48c06;
  --gam-light: #f4f5f7;
  --gam-muted: #8b95a5;
  --gam-white: #ffffff;
  --font-heading: "Oswald", sans-serif;
  --font-body: "Source Sans 3", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: #2d3748;
  background: var(--gam-white);
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

h1, h2, h3, h4, h5, h6,
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: var(--gam-darker);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.site-header .navbar {
  padding: 0.75rem 0;
}

.navbar-brand {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: var(--gam-white) !important;
}

.navbar-brand:hover {
  color: var(--gam-accent) !important;
}

.site-header .nav-link {
  color: rgba(255, 255, 255, 0.85) !important;
  font-weight: 500;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.5rem 0.85rem !important;
  transition: color 0.2s;
}

.site-header .nav-link:hover,
.site-header .nav-link.active {
  color: var(--gam-accent) !important;
}

/* Buttons */
.btn-accent {
  background: var(--gam-accent);
  border-color: var(--gam-accent);
  color: var(--gam-white);
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.65rem 1.5rem;
  border-radius: 2px;
  transition: background 0.2s, transform 0.15s;
}

.btn-accent:hover {
  background: var(--gam-accent-hover);
  border-color: var(--gam-accent-hover);
  color: var(--gam-white);
  transform: translateY(-1px);
}

.btn-outline-accent {
  border: 2px solid var(--gam-accent);
  color: var(--gam-accent);
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 2px;
}

.btn-outline-accent:hover {
  background: var(--gam-accent);
  color: var(--gam-white);
}

/* Hero */
.hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(18, 21, 28, 0.78) 0%, rgba(26, 31, 46, 0.72) 100%),
    url("/images/splash.avif") center/cover no-repeat;
  color: var(--gam-white);
  text-align: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 1rem;
}

.hero-brand {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gam-accent);
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6);
}

.hero-tagline {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
  opacity: 0.95;
  margin-bottom: 2rem;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.hero-logo {
  max-width: 280px;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

.section-alt {
  background: var(--gam-light);
}

.section-dark {
  background: var(--gam-dark);
  color: var(--gam-white);
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  text-align: center;
  margin-bottom: 0.5rem;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--gam-accent);
  margin: 0.75rem auto 2rem;
}

.section-dark .section-title::after {
  background: var(--gam-accent);
}

/* About cards */
.about-card {
  background: var(--gam-white);
  border-radius: 4px;
  padding: 2rem;
  height: 100%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border-top: 4px solid var(--gam-accent);
}

.about-card h3 {
  color: var(--gam-dark);
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.service-list {
  columns: 2;
  column-gap: 2rem;
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.service-list li {
  padding: 0.25rem 0;
  break-inside: avoid;
}

.service-list li::before {
  content: "•";
  color: var(--gam-accent);
  font-weight: bold;
  margin-right: 0.5rem;
}

.extra-services {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

.extra-services li::before {
  content: "✓ ";
  color: var(--gam-accent);
  font-weight: bold;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.75rem;
}

.gallery-item {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 4px;
  cursor: pointer;
  transition: transform 0.2s;
}

.gallery-item:hover {
  transform: scale(1.03);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Certifications */
.cert-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  align-items: center;
}

.cert-badge {
  background: var(--gam-white);
  padding: 1rem 1.25rem;
  border-radius: 4px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  text-align: center;
  min-width: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cert-badge img {
  max-height: 80px;
  max-width: 160px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Contact */
.contact-info-card {
  background: var(--gam-dark);
  color: var(--gam-white);
  padding: 2rem;
  border-radius: 4px;
  height: 100%;
}

.contact-info-card a {
  color: var(--gam-accent);
  text-decoration: none;
}

.contact-info-card a:hover {
  color: var(--gam-accent-hover);
}

.hours-table {
  width: 100%;
  font-size: 0.95rem;
}

.hours-table td {
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hours-table td:last-child {
  text-align: right;
}

.zip-list {
  font-size: 0.8rem;
  line-height: 1.8;
  color: var(--gam-muted);
  word-break: break-word;
}

/* Social */
.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--gam-dark);
  color: var(--gam-white);
  border-radius: 50%;
  font-size: 1.25rem;
  transition: background 0.2s, transform 0.15s;
  text-decoration: none;
}

.social-link:hover {
  background: var(--gam-accent);
  color: var(--gam-white);
  transform: translateY(-2px);
}

/* Video */
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 4px;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Page hero (inner pages) */
.page-hero {
  background: linear-gradient(135deg, var(--gam-darker) 0%, var(--gam-dark) 100%);
  color: var(--gam-white);
  padding: 3.5rem 0;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 0.5rem;
}

.page-hero p {
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

/* Feature cards */
.feature-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--gam-white);
  border-radius: 4px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  height: 100%;
  transition: transform 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
}

.feature-card i {
  font-size: 2.5rem;
  color: var(--gam-accent);
  margin-bottom: 1rem;
}

/* Testimonials */
.testimonial-card {
  background: var(--gam-white);
  padding: 2rem;
  border-radius: 4px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  height: 100%;
  border-left: 4px solid var(--gam-accent);
}

.testimonial-card .stars {
  color: var(--gam-accent);
  margin-bottom: 0.75rem;
}

.testimonial-author {
  font-weight: 600;
  color: var(--gam-dark);
  margin-top: 1rem;
  font-family: var(--font-heading);
}

/* Subscription plans */
.plan-card {
  border: 2px solid #e2e8f0;
  border-radius: 4px;
  padding: 2rem;
  height: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.plan-card.featured {
  border-color: var(--gam-accent);
  box-shadow: 0 8px 30px rgba(232, 93, 4, 0.15);
}

.plan-card .plan-price {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--gam-accent);
  font-weight: 700;
}

/* Referral */
.referral-steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
}

.referral-steps li {
  position: relative;
  padding-left: 3.5rem;
  margin-bottom: 1.5rem;
}

.referral-steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  width: 2.5rem;
  height: 2.5rem;
  background: var(--gam-accent);
  color: var(--gam-white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

/* Footer */
.site-footer {
  background: var(--gam-darker);
  color: rgba(255, 255, 255, 0.7);
  padding: 2rem 0;
  margin-top: auto;
}

.footer-brand {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--gam-white);
  letter-spacing: 0.04em;
}

.text-muted-footer {
  color: rgba(255, 255, 255, 0.5) !important;
}

.footer-link {
  color: var(--gam-accent);
  text-decoration: none;
}

.footer-link:hover {
  color: var(--gam-accent-hover);
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--gam-dark);
  color: var(--gam-white);
  padding: 1rem 0;
  z-index: 1050;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
}

/* CTA strip */
.cta-strip {
  background: var(--gam-accent);
  color: var(--gam-white);
  padding: 2.5rem 0;
  text-align: center;
}

.cta-strip h2 {
  margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 767px) {
  .service-list {
    columns: 1;
  }

  .hero {
    min-height: 60vh;
  }
}

@media (max-width: 991px) {
  .site-header .navbar-collapse {
    background: var(--gam-darker);
    padding: 1rem;
    margin-top: 0.5rem;
    border-radius: 4px;
  }
}
