/* ============================================================
   SMARTVET — PREMIUM DESIGN SYSTEM
   Primary brand: #157E3D
============================================================ */

:root {
  --brand: #157E3D;
  --brand-hover: #126b34;
  --brand-dark: #0f5a2c;
  --brand-light: #3daa6a;
  --brand-50: #f0f9f4;
  --brand-100: #dcf0e4;
  --brand-200: #b8dfc8;
  --brand-glow: rgba(21, 126, 61, 0.18);

  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;

  --glass-bg: rgba(255, 255, 255, 0.74);
  --glass-border: rgba(255, 255, 255, 0.58);
  --glass-shadow: 0 8px 40px rgba(21, 126, 61, 0.06);
  --glass-blur: blur(18px);

  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --duration: 0.26s;
  --transition: var(--duration) var(--ease);
  --section-y: 5.5rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--slate-50);
  color: var(--slate-800);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

a {
  text-decoration: none;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: clamp(1.65rem, 3.2vw, 2.4rem);
  font-weight: 800;
  color: var(--slate-900);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 0.6rem;
}

.section-title h2 span {
  color: var(--brand);
}

.section-title p {
  font-size: 1rem;
  color: var(--slate-600);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius-md);
  font-family: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: none;
  white-space: nowrap;
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  transition: left 0.45s var(--ease);
}

.btn:hover::before {
  left: 100%;
}

.btn-primary,
.btn-highlight {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-light) 100%);
  color: #fff;
  box-shadow: 0 4px 16px var(--brand-glow);
}

.btn-primary:hover,
.btn-highlight:hover {
  background: linear-gradient(135deg, var(--brand-hover) 0%, var(--brand) 100%);
  box-shadow: 0 8px 24px rgba(21, 126, 61, 0.28);
  transform: translateY(-2px);
  color: #fff;
}

.btn-outline {
  background: rgba(255, 255, 255, 0.12);
  border: 1.5px solid rgba(255, 255, 255, 0.75);
  color: #fff;
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  color: #fff;
}

.btn:focus-visible,
.nav-link:focus-visible {
  outline: 2px solid var(--brand-light);
  outline-offset: 3px;
}

/* ── NAVBAR ── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0.7rem 0;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--glass-border);
  border-radius: 0 0 16px 16px;
  box-shadow: var(--glass-shadow);
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 6px 32px rgba(21, 126, 61, 0.08);
  padding: 0.5rem 0;
}

.navbar .container,
.container.nav-bar-inner,
#mainNav .container {
  width: 100% !important;
  max-width: 1200px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 1.5rem !important;
  padding-right: 1.5rem !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 1rem !important;
  min-height: 2.75rem !important;
  box-sizing: border-box !important;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  flex-shrink: 0;
  transition: transform var(--transition);
}

.nav-brand:hover {
  transform: translateY(-1px);
}

.nav-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.08));
  transition: transform var(--transition);
}

.nav-brand:hover .nav-logo {
  transform: scale(1.04);
}

.brand-text {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  width: fit-content;
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1;
  background: linear-gradient(135deg, var(--brand-dark), var(--brand));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.brand-region {
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--brand);
  margin-top: 4px;
  padding-left: 1px;
  line-height: 1;
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: 0.1rem;
  min-width: 0;
  margin-left: auto;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.4rem 0.7rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--slate-700);
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--transition), background var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--brand);
  border-radius: 2px;
  transition: width var(--transition);
  transform: translateX(-50%);
}

.nav-link:hover {
  color: var(--brand);
  background: rgba(21, 126, 61, 0.06);
}

.nav-link:hover::after {
  width: 50%;
}

/* Shared pill style for Signup / Login (and Logout shape) */
.nav-link.nav-highlight,
.nav-link.nav-action-logout {
  font-weight: 600;
  border: 1px solid transparent;
}

.nav-link.nav-highlight::after,
.nav-link.nav-action-logout::after {
  display: none;
}

.nav-link.nav-highlight {
  color: var(--brand);
  background: rgba(21, 126, 61, 0.08);
  border-color: rgba(21, 126, 61, 0.2);
}

.nav-link.nav-highlight:hover {
  color: var(--brand-hover);
  background: rgba(21, 126, 61, 0.14);
  border-color: rgba(21, 126, 61, 0.32);
}

/* Account cluster: Dashboard + Logout only (no wallet on public pages) */
.nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: 0.45rem;
  padding-left: 0.7rem;
  border-left: 1px solid rgba(21, 126, 61, 0.14);
  flex-shrink: 0;
}

.nav-link.nav-action-dashboard {
  color: var(--brand);
  font-weight: 600;
  background: rgba(21, 126, 61, 0.09);
  border: 1px solid rgba(21, 126, 61, 0.16);
}

.nav-link.nav-action-dashboard::after {
  display: none;
}

.nav-link.nav-action-dashboard:hover {
  color: #fff;
  background: var(--brand);
  border-color: var(--brand);
}

/* Same pill design as Signup/Login, red palette kept for Logout */
.nav-link.nav-action-logout {
  color: #e11d48;
  background: rgba(225, 29, 72, 0.08);
  border-color: rgba(225, 29, 72, 0.22);
}

.nav-link.nav-action-logout:hover {
  color: #be123c;
  background: rgba(225, 29, 72, 0.14);
  border-color: rgba(225, 29, 72, 0.35);
}

.nav-mobile-controls {
  display: none;
  align-items: center;
  gap: 0.35rem;
  margin-left: auto;
}

.nav-mobile-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(21, 126, 61, 0.08);
  color: var(--brand);
  text-decoration: none;
  font-size: 0.92rem;
  transition: all 0.2s ease;
  border: 1px solid rgba(21, 126, 61, 0.15);
}

.nav-mobile-icon-btn:hover {
  background: rgba(21, 126, 61, 0.16);
  color: var(--brand-hover);
  transform: translateY(-1px);
}

.nav-mobile-icon-btn.is-active {
  background: linear-gradient(135deg, var(--brand), #3daa6a);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 2px 8px rgba(21, 126, 61, 0.25);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  margin-left: 0.25rem;
  border-radius: var(--radius-sm);
  border: none;
  background: transparent;
  flex-shrink: 0;
  transition: background var(--transition);
}

.nav-toggle:hover {
  background: rgba(21, 126, 61, 0.06);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--slate-700);
  border-radius: 4px;
  transition: transform var(--transition), opacity var(--transition);
  transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 1024px) {
  .nav-menu {
    display: none !important;
  }
  .nav-mobile-controls {
    display: inline-flex !important;
  }
  .nav-toggle {
    display: flex !important;
  }
}

/* ── SUPPORT / CONTACT SECTION ── */
.support-contact-section {
  padding: var(--section-y) 0;
  background: linear-gradient(180deg, rgba(240, 249, 244, 0.75) 0%, rgba(255, 255, 255, 0.95) 100%);
}

.support-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2rem;
  align-items: start;
}

.support-contact-column--info {
  display: grid;
  gap: 1.2rem;
}

.support-contact-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.support-contact-item--full {
  grid-column: 1 / -1;
}

.support-contact-item--half {
  padding: 1.25rem;
}



.support-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(21, 126, 61, 0.12);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

.support-contact-item__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  background: rgba(21, 126, 61, 0.1);
  flex-shrink: 0;
  font-size: 1.2rem;
}

.support-contact-item h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--slate-900);
  margin: 0 0 0.3rem;
}

.support-contact-item p {
  margin: 0;
  color: var(--slate-600);
  font-size: 0.9rem;
  line-height: 1.6;
}

.support-contact-item a {
  color: var(--brand);
  text-decoration: none;
}

.support-contact-item a:hover {
  text-decoration: underline;
}

.support-contact-form {
  display: grid;
  gap: 1.2rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(21, 126, 61, 0.12);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

.support-contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.support-contact-field {
  display: grid;
  gap: 0.4rem;
}

.support-contact-input {
  width: 100%;
  border: 1px solid rgba(21, 126, 61, 0.16);
  border-radius: var(--radius-md);
  background: var(--slate-50);
  color: var(--slate-800);
  padding: 0.85rem 1rem;
  font: inherit;
  font-size: 0.95rem;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.support-contact-input::placeholder {
  color: rgba(107, 114, 99, 0.6);
}

.support-contact-input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(21, 126, 61, 0.12);
  background: #fff;
}

.support-contact-textarea {
  min-height: 130px;
  resize: vertical;
  font-family: inherit;
}

.support-contact-actions {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

.support-contact-actions .btn {
  border-radius: 50px;
  padding: 0.8rem 2.5rem;
  font-size: 1rem;
}

.support-contact-feedback {
  min-height: 1.2rem;
  font-size: 0.9rem;
  color: var(--slate-600);
  text-align: center;
}

.support-contact-feedback .error-message {
  display: none;
  color: #dc2626;
  background: rgba(220, 38, 38, 0.1);
  padding: 10px;
  border-radius: 4px;
}

.support-contact-feedback .sent-message {
  display: none;
  color: var(--brand);
  font-weight: 600;
  background: rgba(21, 126, 61, 0.1);
  padding: 10px;
  border-radius: 4px;
}

@media (max-width: 1024px) {
  .support-contact-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .support-contact-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .support-contact-form {
    padding: 1.25rem;
  }

  .support-contact-form__row {
    grid-template-columns: 1fr;
  }

  .support-contact-row {
    grid-template-columns: 1fr;
  }

  .support-contact-item {
    padding: 1rem;
  }
}

/* Landing mobile drawer (same pattern as marketplace) */
.landing-mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.3);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.landing-mobile-menu-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.landing-mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  /* Compact: sized to labels, not a wide sheet */
  width: max-content;
  max-width: min(88vw, 13.75rem);
  min-width: 10rem;
  height: 100vh;
  height: 100dvh;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1101;
  transform: translateX(105%);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: -20px 0 40px rgba(0, 0, 0, 0.08);
  border-radius: 22px 0 0 22px;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}

.landing-mobile-menu.active {
  transform: translateX(0);
}

.landing-mobile-menu-inner {
  padding: 0.95rem 0.75rem 1.35rem;
  width: max-content;
  min-width: 100%;
  max-width: min(88vw, 13.75rem);
  box-sizing: border-box;
}

.landing-mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
  width: 100%;
  min-width: 0;
}

.landing-mobile-menu-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 12px;
  background: transparent;
  color: #64748b;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s ease, color 0.2s ease;
}

.landing-mobile-menu-close:hover {
  background: #f1f5f9;
  color: #334155;
}

.landing-mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.landing-mobile-menu-divider {
  height: 1px;
  margin: 0.65rem 0.35rem;
  background: rgba(21, 126, 61, 0.12);
}

.landing-mobile-menu-link {
  display: flex;
  align-items: center;
  white-space: nowrap;
  width: 100%;
  gap: 0.4rem;
  padding: 0.55rem 0.7rem;
  border-radius: 12px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #334155;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
  box-sizing: border-box;
}

.landing-mobile-menu-header .nav-brand {
  min-width: 0;
  gap: 0.4rem;
}

.landing-mobile-menu-header .nav-logo {
  width: 28px !important;
  height: 28px !important;
}

.landing-mobile-menu-header .brand-name {
  font-size: 0.95rem !important;
}

.landing-mobile-menu-header .brand-region {
  display: none;
}

/* Keep highlight pills compact so they don’t force a wider drawer */
.landing-mobile-menu-link-highlight,
.landing-mobile-menu-link-dashboard,
.landing-mobile-menu-link-danger {
  padding: 0.5rem 0.7rem;
  font-size: 0.8125rem;
}

.landing-mobile-menu-link:hover {
  background: #f0f9f4;
  color: #157E3D;
}

.landing-mobile-menu-link-highlight {
  color: #157E3D;
  font-weight: 600;
  background: rgba(21, 126, 61, 0.08);
  border: 1px solid rgba(21, 126, 61, 0.15);
}

.landing-mobile-menu-link-highlight:hover {
  background: rgba(21, 126, 61, 0.14);
  color: #126b34;
}

.landing-mobile-menu-link-dashboard {
  color: #157E3D;
  font-weight: 600;
  background: rgba(21, 126, 61, 0.08);
  border: 1px solid rgba(21, 126, 61, 0.14);
}

.landing-mobile-menu-link-dashboard:hover {
  background: rgba(21, 126, 61, 0.14);
  color: #126b34;
}

/* Same pill design as Signup/Login highlight, red color kept */
.landing-mobile-menu-link-danger {
  color: #e11d48;
  font-weight: 600;
  background: rgba(225, 29, 72, 0.08);
  border: 1px solid rgba(225, 29, 72, 0.2);
}

.landing-mobile-menu-link-danger:hover {
  background: rgba(225, 29, 72, 0.14);
  color: #be123c;
  border-color: rgba(225, 29, 72, 0.32);
}

.landing-mobile-menu-link-cta {
  margin-top: 0.75rem;
  justify-content: center;
  background: linear-gradient(135deg, #157E3D, #126b34);
  color: #fff !important;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(21, 126, 61, 0.22);
}

.landing-mobile-menu-link-cta:hover {
  background: linear-gradient(135deg, #126b34, #0f5a2c);
  color: #fff !important;
}

/* Collapse earlier so links never crowd or wrap awkwardly */
@media (max-width: 1024px) {
  .nav-toggle {
    display: flex;
  }

  .navbar .nav-menu {
    display: none !important;
  }
}

/* Slightly tighter desktop links on mid-width laptops */
@media (min-width: 1025px) and (max-width: 1240px) {
  .nav-link {
    padding: 0.35rem 0.5rem;
    font-size: 0.8125rem;
  }

  .nav-actions {
    margin-left: 0.3rem;
    padding-left: 0.5rem;
  }
}

@media (max-width: 420px) {
  .brand-region {
    letter-spacing: 0.28em;
  }

  .brand-name {
    font-size: 1.1rem;
  }

  .nav-logo {
    width: 32px;
    height: 32px;
  }
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 6.5rem 0 4.5rem;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Directional scrim: darker behind left-aligned copy, lighter so image breathes on the right */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg,
      rgba(0, 0, 0, 0.72) 0%,
      rgba(0, 0, 0, 0.55) 38%,
      rgba(0, 0, 0, 0.28) 68%,
      rgba(0, 0, 0, 0.12) 100%);
}

.hero::after {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(21, 126, 61, 0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 2;
}

.hero .container {
  position: relative;
  z-index: 3;
  width: 100%;
}

.hero-content {
  max-width: 640px;
}

.hero-text h1 {
  font-size: clamp(1.9rem, 5vw, 3.4rem);
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 1.1rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.55), 0 1px 4px rgba(0, 0, 0, 0.4);
}

.hero-text h1 span {
  color: var(--brand);
  position: relative;
  text-shadow:
    0 0 18px rgba(21, 126, 61, 0.55),
    0 2px 10px rgba(0, 0, 0, 0.45);
}

.hero-text h1 span::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), rgba(21, 126, 61, 0.25));
  border-radius: 2px;
}

.hero-subtitle {
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 2rem;
  max-width: 500px;
  line-height: 1.65;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

.hero-buttons .btn {
  min-height: 3rem;
  padding: 0.85rem 1.65rem;
  font-size: 0.925rem;
  font-weight: 600;
  border-radius: 14px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.22);
  line-height: 1.3;
}

.hero-buttons .btn i {
  flex-shrink: 0;
  font-size: 0.95em;
}

.hero-buttons .btn-highlight {
  background: var(--brand);
  box-shadow: 0 4px 20px rgba(21, 126, 61, 0.38);
}

.hero-buttons .btn-highlight:hover {
  background: var(--brand-hover);
  box-shadow: 0 8px 28px rgba(21, 126, 61, 0.42);
  color: #fff;
}

.hero-buttons .btn:hover {
  transform: translateY(-2px);
}

/* ── STATS ── */
.stats-section {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  background: linear-gradient(180deg, #fff 0%, var(--brand-50) 55%, #fff 100%);
  position: relative;
  z-index: 10;
}

.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 50%, rgba(21, 126, 61, 0.06) 0%, transparent 42%),
    radial-gradient(circle at 85% 50%, rgba(61, 170, 106, 0.08) 0%, transparent 40%);
  pointer-events: none;
}

.stats-section .container {
  position: relative;
  z-index: 1;
}

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

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  padding: 2rem 1.5rem;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--glass-shadow);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.stat-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--brand-light));
  transform: scaleX(0.35);
  transform-origin: center;
  transition: transform var(--transition);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.stat-item::after {
  content: '';
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(21, 126, 61, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 44px var(--brand-glow);
  border-color: rgba(21, 126, 61, 0.22);
}

.stat-item:hover::before {
  transform: scaleX(1);
}

.stat-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-light) 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  box-shadow: 0 8px 22px var(--brand-glow);
}

.stat-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.stat-number {
  font-size: clamp(2.1rem, 3.8vw, 2.85rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  display: block;
  background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand) 50%, var(--brand-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--slate-600);
  line-height: 1.35;
  max-width: 14ch;
}

/* ── SERVICES ── */
.services {
  padding: var(--section-y) 0;
  background: var(--slate-50);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.service-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--glass-shadow);
  padding: 1.75rem 1.5rem;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--brand-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 48px var(--brand-glow);
  border-color: rgba(21, 126, 61, 0.25);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--brand-100), var(--brand-50));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.25rem;
  color: var(--brand);
  box-shadow: 0 3px 12px var(--brand-glow);
  flex-shrink: 0;
}

.service-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.service-card p {
  font-size: 0.875rem;
  color: var(--slate-600);
  line-height: 1.65;
}

.service-card .btn {
  margin-top: 1.1rem;
  font-size: 0.85rem;
  padding: 0.5rem 1.1rem;
}

/* ── HOW IT WORKS ── */
.how-it-works {
  padding: var(--section-y) 0;
  background: linear-gradient(180deg, #fff 0%, var(--brand-50) 100%);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
  position: relative;
}

@media (min-width: 900px) {
  .steps-grid::after {
    content: '';
    position: absolute;
    top: 36px;
    left: 8%;
    right: 8%;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--brand-200) 15%, var(--brand-200) 85%, transparent 100%);
    z-index: 0;
    pointer-events: none;
  }
}

.step-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 22px rgba(0, 0, 0, 0.05);
  padding: 1.5rem 1.25rem;
  text-align: center;
  position: relative;
  z-index: 1;
  transition: transform var(--transition), box-shadow var(--transition);
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 40px var(--brand-glow);
}

.step-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}

.step-number {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-light) 100%);
  color: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 800;
  box-shadow: 0 4px 16px var(--brand-glow);
}

.step-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--slate-900);
}

.step-card p {
  font-size: 0.85rem;
  color: var(--slate-600);
  line-height: 1.6;
}

/* ── TESTIMONIALS ── */
.testimonials {
  padding: var(--section-y) 0;
  background: var(--slate-900);
  position: relative;
  overflow: hidden;
}

.testimonials::before {
  content: '';
  position: absolute;
  top: -160px;
  right: -60px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(21, 126, 61, 0.1) 0%, transparent 65%);
  pointer-events: none;
}

.testimonials .section-title h2 {
  color: #fff;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: -8px;
  left: 16px;
  font-size: 5rem;
  font-weight: 900;
  font-family: Georgia, serif;
  color: rgba(21, 126, 61, 0.12);
  line-height: 1;
  pointer-events: none;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: rgba(21, 126, 61, 0.28);
  box-shadow: 0 14px 40px rgba(21, 126, 61, 0.1);
}

.testimonial-text {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
  font-style: italic;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: auto;
}

.author-avatar {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-light) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 3px 12px var(--brand-glow);
}

.author-info h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
}

.author-info p {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
  margin: 0;
}

/* ── GROUP TRAINING ── */
.group-training-cta {
  padding: var(--section-y) 0;
  background: var(--slate-50);
}

.group-training-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.group-training-text h2 {
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 800;
  color: var(--slate-900);
  letter-spacing: -0.03em;
  margin-bottom: 0.9rem;
  line-height: 1.2;
}

.group-training-text>p {
  color: var(--slate-600);
  margin-bottom: 1.35rem;
  line-height: 1.7;
}

.group-training-features {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 1.5rem;
}

.group-training-features .feature {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.9rem;
  color: var(--slate-700);
  font-weight: 500;
}

.group-training-features .feature i {
  color: var(--brand);
  font-size: 0.95rem;
  flex-shrink: 0;
}

.group-training-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.1);
  position: relative;
}

.group-training-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-xl);
  pointer-events: none;
  z-index: 1;
}

.group-training-image img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  transition: transform 0.5s var(--ease);
}

.group-training-image:hover img {
  transform: scale(1.03);
}

/* ── CTA ── */
.cta {
  padding: var(--section-y) 0;
  background: linear-gradient(140deg, var(--brand-dark) 0%, #0a3d20 100%);
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: -140px;
  left: -140px;
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}

.cta .section-title h2 {
  color: #fff;
}

.cta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.25rem;
  position: relative;
  z-index: 1;
}

.cta-card {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform var(--transition), background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.cta-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.18);
}

.cta-icon {
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: var(--brand-light);
  margin: 0 auto 1.1rem;
  transition: background var(--transition);
}

.cta-card:hover .cta-icon {
  background: rgba(21, 126, 61, 0.2);
}

.cta-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.cta-card p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.65;
}

.cta-card .btn {
  background: rgba(255, 255, 255, 0.12) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  color: #fff !important;
  box-shadow: none !important;
  width: 100%;
  justify-content: center;
}

.cta-card .btn:hover {
  background: var(--brand) !important;
  border-color: var(--brand) !important;
  box-shadow: 0 4px 20px var(--brand-glow) !important;
  transform: translateY(-2px);
}

/* ── FOOTER ── */
footer {
  background: linear-gradient(160deg, var(--slate-900) 0%, var(--slate-800) 100%);
  color: rgba(255, 255, 255, 0.72);
  padding: 4rem 0 0;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1.2fr;
  gap: 2.25rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-logo {
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  margin-bottom: 0.65rem;
}

.footer-section h3 {
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-section p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
  margin-bottom: 0.4rem;
}

.footer-section a {
  display: block;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  margin-bottom: 0.4rem;
  transition: color var(--transition);
}

.footer-section a:hover {
  color: var(--brand-light);
}

.social-links {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  color: rgba(255, 255, 255, 0.55) !important;
  font-size: 0.85rem;
  transition: background var(--transition), border-color var(--transition), color var(--transition), transform var(--transition);
}

.social-links a:hover {
  background: var(--brand);
  border-color: var(--brand-light);
  color: #fff !important;
  transform: translateY(-2px);
}

.footer-bottom {
  padding: 1.35rem 0;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.3);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-bottom a:hover {
  color: var(--brand-light);
}

/* ── REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.08s;
}

.reveal-delay-2 {
  transition-delay: 0.16s;
}

.reveal-delay-3 {
  transition-delay: 0.24s;
}

.reveal-delay-4 {
  transition-delay: 0.32s;
}

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: all 0.55s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
  }

  .group-training-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .group-training-image img {
    height: 260px;
  }
}

@media (max-width: 900px) {
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.85rem;
  }

  .stat-item {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.35rem 0.85rem;
    gap: 0.85rem;
    border-radius: 16px;
  }

  .stat-content {
    align-items: center;
  }

  .stat-icon {
    width: 44px;
    height: 44px;
    font-size: 1rem;
    border-radius: 12px;
  }

  .stat-number {
    font-size: clamp(1.65rem, 4.5vw, 2.1rem);
  }

  .stat-label {
    font-size: 0.75rem;
    max-width: none;
    margin-inline: auto;
  }
}

@media (max-width: 768px) {
  :root {
    --section-y: 4rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
    width: min(100%, 20rem);
    margin-inline: auto;
  }

  .stat-item {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.5rem 1.35rem;
    gap: 0.85rem;
    border-radius: 16px;
  }

  .stat-content {
    align-items: center;
    flex: unset;
    width: 100%;
  }

  .stat-label {
    font-size: 0.85rem;
    max-width: none;
    margin-inline: auto;
  }

  .hero-subtitle {
    margin-bottom: 1.65rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
    width: min(100%, 22rem);
    margin-inline: auto;
    gap: 0.75rem;
  }

  .hero-buttons .btn {
    width: 100%;
    min-height: 3.125rem;
    padding: 0.85rem 1.25rem;
    border-radius: 14px;
    justify-content: center;
    text-align: center;
    white-space: normal;
    line-height: 1.35;
    font-size: 0.9rem;
  }

  .testimonials-grid,
  .services-grid,
  .cta-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 600px) {
  :root {
    --section-y: 3.25rem;
  }

  .stats-section {
    padding: 2rem 0;
  }

  .stats-grid {
    width: min(100%, 17.5rem);
    gap: 0.75rem;
  }

  .stat-item {
    padding: 1.35rem 1.15rem;
    border-radius: 16px;
    min-height: 8.75rem;
  }

  .stat-icon {
    width: 48px;
    height: 48px;
    font-size: 1.05rem;
    border-radius: 14px;
  }

  .stat-number {
    font-size: 1.85rem;
  }

  .stat-label {
    font-size: 0.8rem;
    line-height: 1.4;
  }

  .hero {
    padding: 5.5rem 0 3.5rem;
  }

  .hero-text h1 {
    font-size: 1.9rem;
  }

  /* On small screens copy can sit over different image regions — keep a stronger left-biased scrim */
  .hero-overlay {
    background: linear-gradient(180deg,
        rgba(0, 0, 0, 0.58) 0%,
        rgba(0, 0, 0, 0.5) 45%,
        rgba(0, 0, 0, 0.42) 100%),
      linear-gradient(90deg,
        rgba(0, 0, 0, 0.45) 0%,
        rgba(0, 0, 0, 0.2) 100%);
  }

  .hero-buttons {
    width: min(100%, 19rem);
    gap: 0.7rem;
  }

  .hero-buttons .btn {
    min-height: 3rem;
    border-radius: 16px;
    padding: 0.8rem 1.1rem;
    font-size: 0.875rem;
  }

  .step-header {
    flex-direction: row;
    text-align: left;
  }

  .step-card {
    text-align: left;
  }
}

@media (min-width: 1400px) {
  .container {
    max-width: 1280px;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

@media print {

  .navbar,
  .cta,
  .social-links,
  .nav-toggle {
    display: none !important;
  }

  .hero {
    min-height: auto;
    padding: 2rem 0;
  }
}