/* ===== DESIGN TOKENS — Rada Dog Training ===== */
/*
   4-color palette:
   --color-linen      #e3e1df  — warm off-white background
   --color-terracotta #E35544  — terracotta red (brand)
   --color-white      #ffffff  — white cards/containers
   --color-charcoal   #1C2024  — near-black text

   All other tokens are derived from these four.
*/

:root, [data-theme="light"] {
  /* Fonts */
  --font-display: 'Chillax', 'Plus Jakarta Sans', sans-serif;
  --font-body: 'General Sans', 'Inter', sans-serif;

  /* Type Scale */
  --text-xs:   clamp(0.75rem,  0.7rem  + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.8rem  + 0.35vw, 1rem);
  --text-base: clamp(1rem,     0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1rem    + 0.75vw, 1.5rem);
  --text-xl:   clamp(1.5rem,   1.2rem  + 1.25vw, 2.25rem);
  --text-2xl:  clamp(2rem,     1.2rem  + 2.5vw,  3.5rem);
  --text-3xl:  clamp(2.5rem,   1rem    + 4vw,    5rem);
  --text-hero: clamp(3rem,     0.5rem  + 7vw,    8rem);

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* ── Base 4 colors ── */
  --color-linen:      #e3e1df;  /* warm off-white background */
  --color-white: #ffffff;  /* white cards/containers */
  --color-terracotta: #E35544;/* terracotta red */
  --color-charcoal:    #1C2024;  /* near-black text */

  /* ── Derived surfaces (tints of bg/surface) ── */
  --color-white-dim:      #f5f5f5;  /* slightly darker bg, section-alt */
  --color-linen-offset: #e3e1df;
  --color-linen-border:         #c8c5c2;
  --color-linen-divider:        #d0ceca;

  /* ── Derived text ── */
  --color-charcoal-muted:   #212223;   /* 55% text */
  --color-charcoal-faint:   #a8a5a2;   /* 40% text */
  --color-white-inverse: #ffffff;

  /* ── Derived primary states ── */
  --color-terracotta-hover:  #c94120;
  --color-terracotta-active: #b03618;
  --color-terracotta-light:  #F9F5F0;  /* very light tint for badges/icons */

  /* ── Secondary = alias of primary (keep variable names for CSS compatibility) ── */
  --color-terracotta-alt:       #E35544;
  --color-terracotta-alt-hover: #c94132;
  --color-terracotta-alt-light: #fbeae6;

  /* ── Accent = text color (dark, used for contrast highlights) ── */
  --color-charcoal-accent:       #1C2024;
  --color-charcoal-accent-light: #e3e1df;

  /* ── Semantic ── */
  --color-sage: #3D8B6E;
  --color-amber: #C48820;
  --color-crimson:   #c44848;

  /* Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.625rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-2xl: 2rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.4, 0, 1, 1);

  /* Shadows */
  --shadow-sm:   0 1px 3px rgba(28, 32, 36, 0.06);
  --shadow-md:   0 4px 16px rgba(28, 32, 36, 0.09);
  --shadow-lg:   0 12px 40px rgba(28, 32, 36, 0.13);
  --shadow-glow: 0 0 40px rgba(227, 83, 54, 0.15);

  /* Content widths */
  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1200px;
}

/* Dark theme — hidden for now */
/*
[data-theme="dark"] { ... }
@media (prefers-color-scheme: dark) { :root:not([data-theme]) { ... } }
*/

/* ===== GLOBAL STYLES ===== */

a {
  color: var(--color-terracotta);
  text-decoration: none;
}
a:hover {
  color: var(--color-terracotta-hover);
}

/* ===== HEADER / NAV ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-linen-divider);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.site-header--scrolled {
  box-shadow: var(--shadow-sm);
}
.header-inner {
  max-width: var(--content-wide);
  margin: 0 auto;
  padding: var(--space-3) var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}
.logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  text-decoration: none;
  color: var(--color-charcoal);
}
.logo svg {
  width: 44px;
  height: 44px;
}
.logo-text {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  line-height: 1.1;
  color: var(--color-charcoal);
}
.logo-text span {
  color: var(--color-terracotta);
}
.nav-links {
  display: flex;
  gap: var(--space-1);
  list-style: none;
}
.nav-links a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-charcoal-muted);
  text-decoration: none;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  transition: color var(--transition-interactive), background var(--transition-interactive);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--color-terracotta);
  background: var(--color-terracotta-light);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.theme-toggle {
  padding: var(--space-2);
  border-radius: var(--radius-full);
  color: var(--color-charcoal-muted);
  transition: color var(--transition-interactive), background var(--transition-interactive);
}
.theme-toggle:hover {
  color: var(--color-terracotta);
  background: var(--color-terracotta-light);
}
.mobile-menu-btn {
  display: none;
  padding: var(--space-2);
  color: var(--color-charcoal);
}
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--color-terracotta-light);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: var(--space-20) var(--space-6) var(--space-6);
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
}
.mobile-nav.open {
  display: flex;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 500;
  color: var(--color-charcoal);
  text-decoration: none;
  padding: var(--space-3);
}
.mobile-nav a:hover {
  color: var(--color-terracotta);
}
.mobile-nav-close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-6);
  color: var(--color-charcoal);
  padding: var(--space-2);
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-menu-btn { display: block; }
  .header-inner { padding: var(--space-2) var(--space-4); }
  .nav-actions .btn-primary { display: none; }
  .logo-text { font-size: var(--text-xl); }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-full);
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all var(--transition-interactive);
}
.btn:active {
  transform: scale(0.97);
}
.btn-primary {
  background: var(--color-terracotta);
  color: #fff;
}
.btn-primary:hover {
  background: var(--color-terracotta-hover);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
  color: #fff;
}
.btn-secondary {
  background: var(--color-terracotta-alt);
  color: #fff;
}
.btn-secondary:hover {
  background: var(--color-terracotta-alt-hover);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
  color: #fff;
}
.btn-outline {
  background: transparent;
  color: var(--color-terracotta);
  border: 2px solid var(--color-terracotta);
}
.btn-outline:hover {
  background: var(--color-terracotta);
  color: #fff;
  transform: translateY(-1px);
}
.btn-lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-white) 0%, var(--color-white-dim) 50%, var(--color-terracotta-light) 100%);
  border-bottom: 1px solid var(--color-linen-divider);
}
.hero-bg-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("images/bg-paw.png");
  background-size: 80px 80px;
}
.hero-inner {
  max-width: var(--content-wide);
  margin: 0 auto;
  padding: var(--space-16) var(--space-6);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--color-terracotta-light);
  color: var(--color-terracotta);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  width: fit-content;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--color-charcoal);
  line-height: 1.05;
}
.hero h1 .highlight {
  color: var(--color-terracotta);
  position: relative;
}
.hero h1 .highlight::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 6px;
  opacity: 0.4;
  border-radius: 3px;
}
.hero-desc {
  font-size: var(--text-base);
  color: var(--color-charcoal-muted);
  max-width: 48ch;
  line-height: 1.7;
}
.hero-cta {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}
.hero-stats {
  display: flex;
  gap: var(--space-8);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-linen-divider);
}
.hero-stat {
  text-align: center;
}
.hero-stat-num {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-terracotta);
}
.hero-stat-label {
  font-size: var(--text-sm);
  color: var(--color-charcoal-muted);
}
.hero-contact-label {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-charcoal-muted);
  margin: 0;
}
.hero-contact {
  display: flex;
  gap: var(--space-4);
  align-items: center;
  flex-wrap: wrap;
  font-size: var(--text-sm);
}
.hero-contact a {
  color: var(--color-charcoal-muted);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.hero-contact a:hover {
  color: var(--color-terracotta);
}
.hero-image {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-lg);
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-2xl);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.1);
}
.floating-badge {
  display: none;
}

@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: var(--space-10) var(--space-4);
  }
  .hero-content { align-items: center; }
  .hero-badge { margin: 0 auto; }
  .hero-desc { margin: 0 auto; }
  .hero-cta { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-image { max-width: 400px; margin: 0 auto; aspect-ratio: 1; }
}

/* ===== SECTION STYLES ===== */
.section {
  padding: clamp(var(--space-12), 8vw, var(--space-24)) var(--space-6);
}
.section-alt {
  background: var(--color-terracotta-light);
}
.section-inner {
  max-width: var(--content-wide);
  margin: 0 auto;
}
.section-header {
  text-align: center;
  margin-bottom: var(--space-12);
}
.section-label {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-terracotta);
  margin-bottom: var(--space-3);
}
.section-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-charcoal);
  margin-bottom: var(--space-4);
}
.section-subtitle {
  font-size: var(--text-base);
  color: var(--color-charcoal-muted);
  max-width: 56ch;
  margin: 0 auto;
}

/* ===== PHILOSOPHY SECTION ===== */
.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
.philosophy-card {
  background: var(--color-white);
  border: 1px solid var(--color-linen-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  text-align: center;
  transition: transform var(--transition-interactive), box-shadow var(--transition-interactive);
}
.philosophy-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.philosophy-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-4);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
}
.philosophy-icon svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.philosophy-icon.reward { background: var(--color-terracotta-light); color: var(--color-terracotta); }
.philosophy-icon.science { background: var(--color-terracotta-light); color: var(--color-terracotta-alt); }
.philosophy-icon.bond { background: var(--color-terracotta); color: var(--color-terracotta-alt-light); }
.philosophy-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-3);
}
.philosophy-card p {
  font-size: var(--text-sm);
  color: var(--color-charcoal-muted);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .philosophy-grid { grid-template-columns: 1fr; }
}

/* ===== ABOUT SECTION ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
}
.about-image {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  position: relative;
}
.about-image img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}
.about-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}
.about-content h2 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
}
.about-content p {
  color: var(--color-charcoal-muted);
  line-height: 1.8;
}
.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  margin-top: var(--space-4);
}
.value-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}
.value-check {
  width: 24px;
  height: 24px;
  min-width: 24px;
  background: var(--color-terracotta-alt-light);
  color: var(--color-terracotta-alt);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.value-item span {
  font-size: var(--text-sm);
  font-weight: 500;
}

@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-values { grid-template-columns: 1fr; }
}

/* ===== SERVICES SECTION ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
.service-card {
  background: var(--color-white);
  border: 1px solid var(--color-linen-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  transition: all var(--transition-interactive);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--color-terracotta);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}
.service-card:hover::before {
  transform: scaleX(1);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-terracotta);
}
.service-icon {
  width: 52px;
  height: 52px;
  margin-bottom: var(--space-4);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  background: var(--color-terracotta-light);
  color: var(--color-terracotta);
}
.service-icon svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-3);
}
.service-card p {
  font-size: var(--text-sm);
  color: var(--color-charcoal-muted);
  line-height: 1.7;
  margin-bottom: var(--space-4);
}
.service-tag {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-terracotta);
  background: var(--color-terracotta-light);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
}
.service-tag.free {
  color: var(--color-terracotta-alt);
  background: var(--color-terracotta-alt-light);
}

@media (max-width: 768px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ===== TESTIMONIALS ===== */
.testimonials-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
.testimonial-card {
  background: var(--color-white);
  border: 1px solid var(--color-linen-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
}
.testimonial-stars {
  color: var(--color-charcoal-accent);
  display: flex;
  gap: 2px;
  margin-bottom: var(--space-3);
}
.testimonial-text {
  font-size: var(--text-sm);
  color: var(--color-charcoal-muted);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: var(--space-4);
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--color-terracotta-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--color-terracotta);
}
.testimonial-name {
  font-weight: 600;
  font-size: var(--text-sm);
}
.testimonial-dog {
  font-size: var(--text-xs);
  color: var(--color-charcoal-muted);
}

@media (max-width: 768px) {
  .testimonials-wrapper { grid-template-columns: 1fr; }
}

/* ===== STORE SECTION ===== */
.store-categories {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: var(--space-8);
}
.store-cat-btn {
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 500;
  background: var(--color-white);
  color: var(--color-charcoal-muted);
  border: 1px solid var(--color-linen-border);
  cursor: pointer;
  transition: all var(--transition-interactive);
}
.store-cat-btn:hover, .store-cat-btn.active {
  background: var(--color-terracotta);
  color: #fff;
  border-color: var(--color-terracotta);
}
.store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-6);
}
.store-card {
  background: var(--color-white);
  border: 1px solid var(--color-linen-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-interactive);
}
.store-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.store-card-img {
  position: relative;
  aspect-ratio: 1;
  background: var(--color-white-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.store-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.store-card-img .store-icon {
  font-size: 4rem;
}
.store-badge {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  background: var(--color-terracotta);
  color: #fff;
  font-size: var(--text-xs);
  font-weight: 700;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
}
.store-card-body {
  padding: var(--space-4);
}
.store-card-body h3 {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  margin-bottom: var(--space-2);
}
.store-card-body p {
  font-size: var(--text-xs);
  color: var(--color-charcoal-muted);
  margin-bottom: var(--space-3);
  line-height: 1.6;
}
.store-price {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-terracotta);
}
.store-price .original {
  font-size: var(--text-sm);
  color: var(--color-charcoal-faint);
  text-decoration: line-through;
  font-weight: 400;
  margin-left: var(--space-2);
}

/* Upload section on store */
.upload-section {
  background: var(--color-white);
  border: 2px dashed var(--color-linen-border);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  text-align: center;
  margin-top: var(--space-12);
}
.upload-section:hover {
  border-color: var(--color-terracotta);
}
.upload-icon {
  margin-bottom: var(--space-4);
  color: var(--color-terracotta);
}
.upload-icon svg {
  width: 48px;
  height: 48px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.upload-section h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  margin-bottom: var(--space-3);
}
.upload-section p {
  color: var(--color-charcoal-muted);
  max-width: 48ch;
  margin: 0 auto var(--space-6);
}

/* Setup instructions */
.setup-box {
  background: var(--color-white);
  border: 1px solid var(--color-linen-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  margin-top: var(--space-12);
}
.setup-box h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  margin-bottom: var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.setup-steps {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.setup-step {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}
.step-num {
  width: 32px;
  height: 32px;
  min-width: 32px;
  background: var(--color-terracotta);
  color: #fff;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--text-sm);
}
.step-content h4 {
  font-weight: 600;
  margin-bottom: var(--space-1);
}
.step-content p {
  font-size: var(--text-sm);
  color: var(--color-charcoal-muted);
  line-height: 1.7;
}

/* ===== CONTACT SECTION ===== */
.contact-grid {
  display: flex;
  justify-content: center;
}
.contact-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  max-width: 680px;
  width: 100%;
}
.contact-item {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}
.contact-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: var(--color-terracotta-light);
  color: var(--color-terracotta);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}
.contact-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.contact-item h3 {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  margin-bottom: var(--space-1);
}
.contact-item p {
  font-size: var(--text-sm);
  color: var(--color-charcoal-muted);
}
.contact-item a {
  color: var(--color-terracotta);
  font-weight: 500;
}
.contact-form {
  background: var(--color-terracotta-light);
  border: 1px solid var(--color-linen-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
}
.form-group {
  margin-bottom: var(--space-4);
}
.form-group label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--space-2);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--color-linen-border);
  border-radius: var(--radius-md);
  background: var(--color-white);
  font-size: var(--text-sm);
  transition: border-color var(--transition-interactive), box-shadow var(--transition-interactive);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--color-terracotta);
  box-shadow: 0 0 0 3px var(--color-terracotta-light);
  outline: none;
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

@media (max-width: 768px) {
  .contact-info { grid-template-columns: 1fr; }
}

/* ===== MINI GAME ===== */

.game-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.game-wrapper {
  background: var(--color-white);
  border: 2px solid var(--color-linen-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.game-hud {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-3) var(--space-4);
  background: var(--color-white-dim);
  border-bottom: 1px solid var(--color-linen-border);
  font-size: var(--text-sm);
  font-weight: 600;
}
.game-hud span {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.game-canvas-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #87CEEB;
}
.game-canvas-wrap canvas {
  width: 100%;
  height: 100%;
}
.game-controls {
  padding: var(--space-4);
  background: var(--color-white-dim);
  border-top: 1px solid var(--color-linen-border);
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}
.game-controls .btn {
  min-width: 100px;
}
.game-instructions {
  margin-top: var(--space-6);
  padding: var(--space-6);
  background: var(--color-white);
  border: 1px solid var(--color-linen-border);
  border-radius: var(--radius-lg);
  text-align: left;
}
.game-instructions h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-3);
}
.game-instructions ul {
  padding-left: var(--space-6);
}
.game-instructions li {
  font-size: var(--text-sm);
  color: var(--color-charcoal-muted);
  margin-bottom: var(--space-2);
}

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--color-terracotta) 0%, var(--color-terracotta-hover) 100%);
  color: #fff;
  text-align: center;
  padding: clamp(var(--space-12), 8vw, var(--space-20)) var(--space-6);
}
.cta-banner h2 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  margin-bottom: var(--space-4);
}
.cta-banner p {
  font-size: var(--text-base);
  opacity: 0.9;
  max-width: 48ch;
  margin: 0 auto var(--space-8);
}
.cta-banner .btn {
  background: #fff;
  color: var(--color-terracotta);
  font-weight: 700;
}
.cta-banner .btn:hover {
  background: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--color-terracotta);
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--color-terracotta-light);
  border-top: 1px solid var(--color-linen-divider);
  padding: var(--space-12) var(--space-6) var(--space-6);
}
.footer-inner {
  max-width: var(--content-wide);
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-10);
}
.footer-brand p {
  font-size: var(--text-sm);
  color: var(--color-charcoal-muted);
  margin-top: var(--space-3);
  line-height: 1.7;
  max-width: 32ch;
}
.footer-social {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-4);
}
.footer-social a {
  width: 36px;
  height: 36px;
  background: var(--color-white);
  border: 1px solid var(--color-linen-border);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-charcoal-muted);
  transition: all var(--transition-interactive);
}
.footer-social a svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.footer-social a:hover {
  background: var(--color-terracotta);
  border-color: var(--color-terracotta);
  color: #fff;
}
.footer-col h4 {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--space-4);
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.footer-col a {
  font-size: var(--text-sm);
  color: var(--color-charcoal-muted);
  transition: color var(--transition-interactive);
}
.footer-col a:hover {
  color: var(--color-terracotta);
}
.footer-bottom {
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-linen-divider);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
}
.footer-bottom p {
  font-size: var(--text-xs);
  color: var(--color-charcoal-faint);
}
.footer-bottom a {
  font-size: var(--text-xs);
  color: var(--color-charcoal-faint);
}
.footer-bottom a:hover {
  color: var(--color-terracotta);
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== SCROLL ANIMATIONS ===== */
.fade-in {
  opacity: 1;
}

@supports (animation-timeline: scroll()) {
  .fade-in {
    opacity: 0;
    animation: reveal-fade linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 60%;
  }
}

@keyframes reveal-fade {
  to { opacity: 1; }
}

/* Process steps responsive */
@media (max-width: 768px) {
  [style*="grid-template-columns: repeat(4"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 480px) {
  [style*="grid-template-columns: repeat(4"] {
    grid-template-columns: 1fr !important;
  }
}



/* Page transition */
.page {
  display: none;
}
.page.active {
  display: block;
}

/* Smooth page entrance */
.page.active {
  animation: pageIn 0.4s var(--ease-out) both;
}
@keyframes pageIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
