:root {
  --primary: #2EDC76;
  --primary-rgb: 46, 220, 118;
  --secondary: #2AACA2;
  --secondary-rgb: 42, 172, 162;
  --accent: #87F17E;
  --accent-rgb: 135, 241, 126;
  --bg: #FAFAFA;
  --bg-alt: #F3F4F6;
  --text: #1F2937;
  --text-muted: #6B7280;
  --section-dark: #1F2937;
  --section-accent: #F0F2F5;
  --border-color: #E2E5E9;
  --white: #FFFFFF;

  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 32px;
  --space-xl: 48px;
  --space-xxl: 64px;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-xxl: 1.5rem;
  --text-hero: 2.75rem;

  --font-primary: 'Inter', system-ui, -apple-system, sans-serif;
  --font-secondary: system-ui, -apple-system, sans-serif;

  --max-width: 1200px;
  --radius: 0;
  --transition: 0.3s ease;

  --mobile: 480px;
  --tablet: 768px;
  --desktop: 1024px;
  --wide: 1280px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  font-size: var(--text-base);
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

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

a {
  color: var(--secondary);
  text-decoration: none;
  transition: color var(--transition);
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}

h1 { font-size: var(--text-hero); }
h2 { font-size: var(--text-xxl); }
h3 { font-size: var(--text-xl); }
h4 { font-size: var(--text-lg); }

p { margin-bottom: var(--space-md); }

ul, ol { list-style: none; }

button { font-family: inherit; cursor: pointer; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
}

.grid-2 {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
}
.grid-2 > * { flex: 1 1 calc(50% - var(--space-lg)); }

.grid-3 {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
}
.grid-3 > * { flex: 1 1 calc(33.333% - var(--space-lg)); }

.grid-4 {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}
.grid-4 > * { flex: 1 1 calc(25% - var(--space-md)); }

/* one-large-two-small featured grid */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
}
.feature-grid .card.featured {
  flex: 1 1 100%;
  order: -1;
}
.feature-grid .card:not(.featured) {
  flex: 1 1 calc(50% - var(--space-lg));
}
@media (min-width: 768px) {
  .feature-grid .card.featured {
    flex: 1 1 calc(66.666% - var(--space-lg));
    order: 0;
  }
  .feature-grid .card:not(.featured) {
    flex: 1 1 calc(33.333% - var(--space-lg));
  }
}

.grid-column-span-2 { flex-basis: 100% !important; }

.navbar {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border-color);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-sm) var(--space-md);
}

.logo {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.logo span { color: var(--primary); }

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav-item { position: relative; }

.nav-link {
  color: var(--text);
  font-size: var(--text-sm);
  font-weight: 500;
  padding: var(--space-xs) 0;
  border-bottom: 2px solid transparent;
  transition: border-color var(--transition), color var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text);
  z-index: 1100;
}

@media (max-width: 768px) {
  .mobile-menu-toggle { display: block; }

  .nav-menu {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-xl);
    background: var(--white);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition), visibility var(--transition);
  }

  body.menu-open .nav-menu {
    opacity: 1;
    visibility: visible;
  }

  body.menu-open { overflow: hidden; }

  .nav-link { font-size: var(--text-xl); }
}

.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: var(--section-dark);
  background-size: cover;
  background-position: center;
  color: var(--white);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(31,41,55,0.75) 0%, rgba(31,41,55,0.55) 50%, rgba(31,41,55,0.85) 100%);
  z-index: 1;
}

.hero::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--primary-rgb), 0.25) 0%, transparent 70%);
  top: -120px;
  right: -80px;
  z-index: 1;
  animation: float 7s ease-in-out infinite;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: var(--space-lg);
}

.hero-content h1 {
  color: var(--white);
  margin-bottom: var(--space-md);
  animation: fadeInUp 0.8s ease-out;
}

.hero-content p {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.9);
  margin-bottom: var(--space-lg);
  animation: fadeInUp 0.8s ease-out 0.15s both;
}

.hero-content .btn {
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

.scroll-indicator {
  position: absolute;
  bottom: var(--space-lg);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.5);
  animation: scrollLine 2s ease-in-out infinite;
}

.header-hero {
  position: relative;
  min-height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: var(--section-dark);
  background-size: cover;
  background-position: center;
  color: var(--white);
}

.header-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(31,41,55,0.7);
}

.header-hero h1 {
  position: relative;
  z-index: 1;
  color: var(--white);
}

.header-hero p {
  position: relative;
  z-index: 1;
  color: rgba(255,255,255,0.85);
}

.content-section {
  padding: var(--space-xxl) 0;
  border-bottom: 1px solid var(--border-color);
}

.content-section:nth-of-type(even) { background: var(--bg-alt); }

.section-dark {
  background: var(--section-dark);
  color: var(--white);
  padding: var(--space-xxl) 0;
}

.section-dark h2, .section-dark h3, .section-dark h4 { color: var(--white); }
.section-dark p { color: rgba(255,255,255,0.75); }
.section-dark a { color: var(--accent); }
.section-dark .btn-outline {
  border-color: rgba(255,255,255,0.4);
  color: var(--white);
}
.section-dark .btn-outline:hover {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--section-dark);
}

.section-accent {
  background: var(--section-accent);
  padding: var(--space-xxl) 0;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-xl);
}

.section-header h2 {
  position: relative;
  padding-bottom: var(--space-sm);
  margin-bottom: var(--space-sm);
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--primary);
}

.section-header p { color: var(--text-muted); }

.two-col-layout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-xl);
}

.two-col-layout > * { flex: 1 1 calc(50% - var(--space-xl)); min-width: 280px; }

.two-col-layout.reverse { flex-direction: row-reverse; }

.two-col-layout img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border: 1px solid var(--border-color);
}

.card {
  background: var(--white);
  border: 1px solid var(--border-color);
  padding: var(--space-lg);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(31,41,55,0.08);
}

.card.featured {
  background: var(--section-dark);
  color: var(--white);
  border-color: var(--section-dark);
}

.card.featured h3, .card.featured h4 { color: var(--white); }
.card.featured p { color: rgba(255,255,255,0.75); }

.card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  margin-bottom: var(--space-md);
  transition: transform 0.4s ease;
}

.card:hover img { transform: scale(1.04); }

.feature {
  text-align: center;
  padding: var(--space-lg);
}

.feature-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
  background: var(--section-accent);
  border: 1px solid var(--border-color);
  color: var(--primary);
  font-size: var(--text-xl);
  border-radius: 50%;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-left: 3px solid var(--secondary);
  padding: var(--space-lg);
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  font-size: 3rem;
  color: var(--accent);
  line-height: 1;
  display: block;
  margin-bottom: var(--space-xs);
  font-family: Georgia, serif;
}

.testimonial-card .author {
  margin-top: var(--space-md);
  font-weight: 600;
  color: var(--text);
}

.testimonial-card .role {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.pricing-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  padding: var(--space-xl) var(--space-lg);
  text-align: center;
}

.pricing-card.highlighted {
  border: 2px solid var(--primary);
  position: relative;
}

.pricing-card .price {
  font-size: var(--text-hero);
  font-weight: 700;
  color: var(--primary);
  margin: var(--space-md) 0;
}

.btn {
  display: inline-block;
  padding: 0.875rem 1.75rem;
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 2px solid transparent;
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
  text-align: center;
}

.btn-primary {
  background: var(--primary);
  color: var(--section-dark);
  border-color: var(--primary);
}

.btn-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--section-dark);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--secondary);
  color: var(--white);
  border-color: var(--secondary);
}

.btn-secondary:hover {
  background: var(--text);
  border-color: var(--text);
  transform: translateY(-2px);
}

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

.btn-outline:hover {
  background: var(--text);
  color: var(--white);
}

.btn-lg { padding: 1.125rem 2.25rem; font-size: var(--text-base); }

.faq-item {
  border-bottom: 1px solid var(--border-color);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-md) 0;
  cursor: pointer;
  font-weight: 600;
}

.faq-question::after {
  content: '+';
  font-size: var(--text-xl);
  color: var(--primary);
  transition: transform var(--transition);
}

.faq-item.active .faq-question::after { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition);
  color: var(--text-muted);
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding-bottom: var(--space-md);
}

form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.form-group { display: flex; flex-direction: column; gap: var(--space-xs); }

label { font-size: var(--text-sm); font-weight: 600; }

input, textarea, select {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  background: var(--white);
  font-family: inherit;
  font-size: var(--text-base);
  transition: border-color var(--transition);
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--primary);
}

::placeholder { color: var(--text-muted); }

.video-embed, .image-embed {
  position: relative;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.video-embed { aspect-ratio: 16 / 9; }

.video-embed iframe, .video-embed video {
  width: 100%;
  height: 100%;
  border: none;
}

.image-embed img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.business-info-card {
  background: var(--section-accent);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: var(--space-lg);
  margin: var(--space-xl) 0;
}

.gmb-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 12px 0;
}

.resource-box {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: var(--space-lg);
}

.resource-box h4 {
  margin-bottom: var(--space-md);
  color: var(--text);
}

footer.footer-minimal {
  background: var(--section-dark);
  color: rgba(255,255,255,0.75);
  padding: var(--space-xl) 0 var(--space-lg);
}

footer.footer-minimal .footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: var(--space-md);
}

footer.footer-minimal .footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

footer.footer-minimal .footer-links a {
  color: rgba(255,255,255,0.75);
  font-size: var(--text-sm);
}

footer.footer-minimal .footer-links a:hover { color: var(--primary); }

footer.footer-minimal p {
  margin: 0;
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.5);
}

.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }

.section-divider {
  display: block;
  width: 100%;
  height: auto;
  margin: -1px 0;
  line-height: 0;
}

.section-divider svg { display: block; width: 100%; height: 60px; }
.section-divider.flip { transform: scaleY(-1); }

[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

[data-animate="fade-in"] { transform: none; }
[data-animate="fade-in"].visible { opacity: 1; }

[data-animate="slide-left"] { transform: translateX(-30px); }
[data-animate="slide-left"].visible { opacity: 1; transform: translateX(0); }

[data-animate="slide-right"] { transform: translateX(30px); }
[data-animate="slide-right"].visible { opacity: 1; transform: translateX(0); }

[data-stagger] > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

[data-stagger] > *.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes scrollLine {
  0% { transform: translateX(-50%) scaleY(0); opacity: 0; }
  50% { transform: translateX(-50%) scaleY(1); opacity: 1; }
  100% { transform: translateX(-50%) scaleY(0); opacity: 0; transform-origin: bottom; }
}

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
  background-size: 200% auto;
  color: var(--section-dark);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  animation: shimmer 3s linear infinite;
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.gallery img {
  flex: 1 1 calc(33.333% - var(--space-sm));
  height: 220px;
  object-fit: cover;
  border: 1px solid var(--border-color);
  transition: transform var(--transition);
}

.gallery img:hover { transform: scale(1.03); }

.stat-block {
  text-align: center;
  padding: var(--space-lg);
  border-right: 1px solid var(--border-color);
}

.stat-block:last-child { border-right: none; }

.stat-block .number {
  font-size: var(--text-hero);
  font-weight: 700;
  color: var(--primary);
}

.stat-block .label {
  font-size: var(--text-sm);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

blockquote {
  border-left: 3px solid var(--secondary);
  padding-left: var(--space-md);
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: var(--space-md);
}

hr {
  border: none;
  border-top: 1px solid var(--border-color);
  margin: var(--space-lg) 0;
}

table {
  width: 100%;
  border-collapse: collapse;
}

table th, table td {
  padding: var(--space-sm);
  border: 1px solid var(--border-color);
  text-align: left;
}

table th {
  background: var(--section-accent);
  font-weight: 600;
}

.breadcrumbs {
  font-size: var(--text-sm);
  color: var(--text-muted);
  padding: var(--space-sm) 0;
}

.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--primary); }

@media (max-width: 1280px) {
  :root { --max-width: 1140px; }
}

@media (max-width: 1024px) {
  :root { --max-width: 960px; }
  .hero-content h1 { font-size: 2.25rem; }
  .feature-grid .card.featured,
  .feature-grid .card:not(.featured) { flex-basis: calc(50% - var(--space-lg)); }
}

@media (max-width: 768px) {
  :root {
    --text-hero: 2rem;
    --text-xxl: 1.35rem;
    --space-xxl: 48px;
    --space-xl: 32px;
  }

  .two-col-layout, .two-col-layout.reverse { flex-direction: column; }
  .two-col-layout > * { flex-basis: 100%; }

  .grid-2 > *, .grid-3 > *, .grid-4 > * { flex-basis: 100%; }

  .feature-grid .card.featured,
  .feature-grid .card:not(.featured) { flex-basis: 100%; }

  .gallery img { flex-basis: calc(50% - var(--space-sm)); }

  .stat-block {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
  }
  .stat-block:last-child { border-bottom: none; }

  footer.footer-minimal .footer-content {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .container { padding: 0 var(--space-sm); }
  .hero-content h1 { font-size: 1.75rem; }
  .card, .testimonial-card, .pricing-card { padding: var(--space-md); }
  .gallery img { flex-basis: 100%; }
}
