/* ============================================================
   Spoiler Interface — Modern site stylesheet
   Design: clean, modern, SEO-friendly semantic layout
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --primary: #4f46e5;
  --primary-dark: #4338ca;
  --primary-darker: #3730a3;
  --primary-soft: #eef2ff;
  --accent: #06b6d4;
  --accent-soft: #ecfeff;
  --gradient: linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%);
  --dark: #1e293b;
  --text: #334155;
  --muted: #64748b;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --border: #e2e8f0;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 6px 18px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 16px 40px rgba(15, 23, 42, 0.12);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--primary-dark);
}

h1, h2, h3, h4, h5, h6 {
  color: var(--dark);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.2rem; }

p {
  margin: 0 0 1rem;
}

ul {
  padding-left: 1.25rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.4;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
}

.btn-primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(79, 70, 229, 0.4);
}

.btn-ghost {
  background: transparent;
  color: var(--dark);
  border-color: var(--border);
}

.btn-ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-light {
  background: #fff;
  color: var(--primary-dark);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.btn-light:hover {
  color: var(--primary-darker);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

.btn-sm {
  padding: 0.45rem 1.1rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 0.9rem 2rem;
  font-size: 1.05rem;
}

/* ---------- Eyebrow / section label ---------- */
.eyebrow {
  display: inline-block;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.25s ease;
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.brand-logo {
  height: 40px;
  width: auto;
}

.brand-name {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--dark);
  letter-spacing: -0.02em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.site-nav .nav-link {
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.site-nav .nav-link:hover {
  color: var(--primary);
  background: var(--primary-soft);
}

.site-nav .nav-link.active {
  color: var(--primary);
  background: var(--primary-soft);
  font-weight: 600;
}

.site-nav .btn {
  margin-left: 0.75rem;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  width: 42px;
  height: 42px;
  font-size: 1.3rem;
  color: var(--dark);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  padding: 5rem 0 4.5rem;
  background:
    radial-gradient(60rem 30rem at 85% -10%, rgba(6, 182, 212, 0.12), transparent 60%),
    radial-gradient(50rem 28rem at -10% 20%, rgba(79, 70, 229, 0.12), transparent 60%),
    var(--bg);
  overflow: hidden;
  text-align: center;
}

.hero-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
}

.hero-content {
  max-width: 44rem;
}

.hero h1 {
  margin-bottom: 1.1rem;
}

.hero p.lead {
  font-size: 1.15rem;
  color: var(--muted);
  margin: 0 auto 2rem;
  max-width: 36rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
}

.hero-visual {
  width: 100%;
}

.hero-visual img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  max-width: 760px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.hero-badges .badge {
  background: #fff;
  border: 1px solid var(--border);
  color: var(--text);
  font-weight: 500;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.85rem;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding: 4rem 0 3rem;
  background:
    radial-gradient(50rem 24rem at 90% -20%, rgba(6, 182, 212, 0.12), transparent 60%),
    radial-gradient(40rem 22rem at 0% 0%, rgba(79, 70, 229, 0.1), transparent 60%),
    var(--bg);
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  margin-bottom: 0.75rem;
}

.page-hero p {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 42rem;
  margin-bottom: 0;
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.breadcrumb-nav a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumb-nav a:hover {
  color: var(--primary);
}

.breadcrumb-nav .sep {
  color: var(--border);
}

/* ---------- Sections ---------- */
.section {
  padding: 5rem 0;
}

.section-alt {
  background: var(--bg-alt);
}

/* Dividers between sections */
.section,
.section-alt {
  border-top: 1px solid var(--border);
}

/* Inner pages: the page-hero already draws the top border */
main > .section:first-child,
main > .section-alt:first-child {
  border-top: none;
}

.section-head {
  max-width: 46rem;
  margin: 0 auto 3rem;
  text-align: center;
}

.section-head h2 {
  margin-bottom: 0.75rem;
}

.section-head p {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 0;
}

/* ---------- Stats ---------- */
.stats {
  padding: 2.5rem 0;
  background: var(--primary-soft);
  color: var(--text);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.stat-label {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- Service cards ---------- */
.card-service {
  height: 100%;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all 0.25s ease;
}

.card-service:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(79, 70, 229, 0.35);
}

.card-service .icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.icon-blue { background: var(--primary-soft); color: var(--primary); }
.icon-orange { background: #fff7ed; color: #ea580c; }
.icon-green { background: #ecfdf5; color: #059669; }

.card-service h3 {
  margin-bottom: 0.6rem;
}

.card-service p {
  color: var(--muted);
  margin-bottom: 0;
}

/* ---------- Feature items ---------- */
.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  height: 100%;
  transition: all 0.2s ease;
}

.feature-item:hover {
  border-color: rgba(79, 70, 229, 0.4);
  box-shadow: var(--shadow-sm);
}

.feature-item i {
  color: var(--primary);
  font-size: 1.3rem;
  flex-shrink: 0;
}

.feature-item h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

/* Feature tabs */
.feature-tabs {
  margin-top: 3rem;
}

.feature-tabs .nav-pills {
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.feature-tabs .nav-pills .nav-link {
  border-radius: 999px;
  padding: 0.55rem 1.3rem;
  color: var(--text);
  font-weight: 500;
  border: 1px solid var(--border);
  background: #fff;
}

.feature-tabs .nav-pills .nav-link.active {
  background: var(--gradient);
  color: #fff;
  border-color: transparent;
}

.tab-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  max-width: 46rem;
  margin: 0 auto;
}

.tab-panel p {
  color: var(--muted);
}

.tab-panel .check-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.tab-panel .check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.35rem 0;
}

.tab-panel .check-list i {
  color: var(--primary);
  margin-top: 0.2rem;
}

/* ---------- Pricing ---------- */
.card-pricing {
  position: relative;
  height: 100%;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}

.card-pricing:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card-pricing.featured {
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-md);
}

.card-pricing .plan-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.25rem;
}

.card-pricing .plan-tag {
  display: inline-block;
  background: var(--gradient);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.card-pricing .price {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.card-pricing .price small {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
}

.card-pricing ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
  flex-grow: 1;
}

.card-pricing ul li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0.4rem 0;
  color: var(--text);
}

.card-pricing ul li i {
  color: var(--primary);
  margin-top: 0.2rem;
}

.card-pricing ul li.na {
  color: #cbd5e1;
}

.card-pricing ul li.na i {
  color: #cbd5e1;
}

.card-pricing .btn {
  width: 100%;
}

/* ---------- CTA band ---------- */
.cta-band {
  padding: 4.5rem 0;
  background: var(--gradient);
  color: #fff;
  text-align: center;
}

.cta-band h2 {
  color: #fff;
  margin-bottom: 0.75rem;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  max-width: 40rem;
  margin: 0 auto 2rem;
}

/* ---------- Contact ---------- */
.info-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  height: 100%;
  transition: all 0.2s ease;
}

.info-box:hover {
  border-color: rgba(79, 70, 229, 0.4);
  box-shadow: var(--shadow-sm);
}

.info-box i {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.info-box h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.info-box p {
  color: var(--muted);
  margin-bottom: 0;
}

.contact-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}

.contact-form .form-control {
  border-radius: var(--radius-sm);
  border-color: var(--border);
  padding: 0.7rem 1rem;
  font-family: var(--font);
}

.contact-form .form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.2rem rgba(79, 70, 229, 0.15);
}

.contact-form textarea.form-control {
  min-height: 140px;
}

/* ---------- Content blocks (About / Business Model) ---------- */
.content-block {
  max-width: 52rem;
  margin: 0 auto;
}

.content-block p {
  color: var(--text);
  font-size: 1.05rem;
}

.content-block ul {
  margin-bottom: 1rem;
}

.content-block li {
  margin-bottom: 0.5rem;
}

.content-block strong {
  color: var(--dark);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-alt);
  color: var(--muted);
  border-top: 1px solid var(--border);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}

.footer-brand img {
  height: 40px;
  width: auto;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: var(--muted);
  max-width: 22rem;
}

.site-footer h4 {
  color: var(--dark);
  font-size: 1rem;
  margin-bottom: 1.1rem;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer ul li {
  margin-bottom: 0.6rem;
}

.site-footer ul a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer ul a:hover {
  color: var(--primary);
}

.footer-contact p {
  margin-bottom: 0.4rem;
  color: var(--muted);
}

.footer-contact strong {
  color: var(--dark);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted);
}

.footer-bottom p {
  margin: 0;
}

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;
  z-index: 999;
  box-shadow: var(--shadow-md);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  color: #fff;
  transform: translateY(-2px);
}

/* ---------- Business Model Canvas cards ---------- */
.bmc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.bmc-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.6rem 1.6rem 1.45rem;
  transition: border-color 0.2s ease;
}

.bmc-card:hover {
  border-color: rgba(79, 70, 229, 0.4);
}

.bmc-card .bmc-ghost {
  position: absolute;
  top: 1.1rem;
  right: 1.2rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-soft);
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
}

.bmc-card .bmc-top {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.9rem;
  padding-right: 3.5rem;
}

.bmc-card .bmc-icon {
  color: var(--primary);
  font-size: 1.15rem;
  display: inline-flex;
  flex-shrink: 0;
}

.bmc-card h3 {
  margin: 0;
  font-size: 1.1rem;
}

.bmc-card .bmc-lead {
  color: var(--text);
  font-weight: 500;
  font-size: 0.98rem;
  margin-bottom: 0.9rem;
}

.bmc-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.bmc-card ul li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.94rem;
  padding: 0.28rem 0;
}

.bmc-card ul li::before {
  content: "•";
  color: var(--primary);
  font-weight: 700;
  flex-shrink: 0;
  line-height: 1.45;
}

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

/* ---------- About page ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.15fr;
  gap: 3rem;
  align-items: start;
}

.about-media {
  position: sticky;
  top: calc(var(--header-h) + 2rem);
}

.about-snapshot {
  margin-top: 1.5rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.about-snapshot h3 {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.about-snapshot ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.about-snapshot li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0;
  color: var(--text);
  font-size: 0.95rem;
}

.about-snapshot li i {
  color: var(--primary);
  font-size: 1.05rem;
  flex-shrink: 0;
}

.about-story h2 {
  margin: 0.25rem 0 1.25rem;
}

.about-story p {
  color: var(--muted);
}

/* Mission band */
.mission-band {
  padding: 3.5rem 0;
  background: var(--primary-soft);
}

.mission-band .container {
  max-width: 46rem;
  text-align: center;
}

.mission-band .bi-quote {
  font-size: 2.2rem;
  color: var(--primary);
  opacity: 0.35;
  display: block;
  margin-bottom: 0.75rem;
}

.mission-band blockquote {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--dark);
}

.mission-band blockquote strong {
  color: var(--primary-dark);
}

/* Value cards */
.value-card {
  height: 100%;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 2rem 1.75rem;
  text-align: center;
  transition: border-color 0.2s ease;
}

.value-card:hover {
  border-color: rgba(79, 70, 229, 0.4);
}

.value-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.1rem;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.value-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
}

.value-card p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 0;
}

@media (max-width: 767.98px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-media {
    position: static;
  }
}

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.25fr;
  gap: 2rem;
  align-items: start;
}

.contact-info {
  background: var(--primary-soft);
  border: 1px solid rgba(79, 70, 229, 0.15);
  border-radius: var(--radius);
  padding: 2rem;
}

.contact-info h3,
.contact-form-panel h3 {
  font-size: 1.2rem;
  margin-bottom: 1.25rem;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 0.85rem 0;
  border-bottom: 1px dashed rgba(79, 70, 229, 0.18);
}

.contact-list li:last-child {
  border-bottom: none;
}

.contact-ico {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #fff;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.contact-list strong {
  color: var(--dark);
}

.contact-list span {
  color: var(--text);
  font-size: 0.95rem;
}

.contact-form-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}

.contact-form-panel .btn {
  min-width: 180px;
}

/* Form status messages */
.contact-form .loading.show,
.contact-form .error-message.show,
.contact-form .sent-message.show {
  display: block;
}

.contact-form .error-message.show,
.contact-form .sent-message.show {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  text-align: left;
}

.contact-form .error-message.show {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

.contact-form .sent-message.show {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
}

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

/* ---------- Small helpers ---------- */
.hero-content {
  min-width: 0;
}

.footer-col {
  min-width: 0;
}

/* Contact form status messages (hidden until triggered) */
.contact-form .loading,
.contact-form .error-message,
.contact-form .sent-message {
  display: none;
}

.contact-form .loading {
  color: var(--muted);
}

.contact-form .error-message {
  color: #dc2626;
}

.contact-form .sent-message {
  color: #059669;
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }



  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    gap: 0.25rem;
    display: none;
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav .nav-link {
    padding: 0.7rem 1rem;
    border-radius: var(--radius-sm);
  }

  .site-nav .btn {
    margin: 0.5rem 0 0;
    justify-content: center;
  }
}

@media (max-width: 767.98px) {
  .section {
    padding: 3.5rem 0;
  }

  .hero {
    padding: 3rem 0 3rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .page-hero {
    padding: 2.5rem 0 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

