@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@300;400;600;700&family=Merriweather:wght@400;700&display=swap');

:root {
  --primary: #41C858;
  --primary-rgb: 65, 200, 88;
  --secondary: #503CB4;
  --secondary-rgb: 80, 60, 180;
  --accent: #CF7E6E;
  --accent-rgb: 207, 126, 110;
  --bg: #F8FBFC;
  --bg-alt: #EFF5F7;
  --text: #1A2B2E;
  --text-muted: #4A6B70;
  --section-dark: #1A2B2E;
  --section-accent: #E5F2F5;
  --white: #ffffff;
  --border: #d4dfe2;
  --sidebar-w: 280px;
  --max-w: 1200px;
  --font-primary: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-secondary: 'Merriweather', Georgia, serif;
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-lg: 1.125rem;
  --fs-xl: 1.25rem;
  --fs-xxl: 1.5rem;
  --fs-hero: 2rem;
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-xxl: 48px;
  --radius: 0;
  --radius-sm: 0;
  --transition: 0.3s ease;
}

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

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

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 8px rgba(var(--primary-rgb), 0.35); }
  50% { box-shadow: 0 0 22px rgba(var(--primary-rgb), 0.55); }
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

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

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

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

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

h1 { font-size: var(--fs-hero); margin-bottom: var(--space-lg); }
h2 { font-size: var(--fs-xxl); margin-bottom: var(--space-md); }
h3 { font-size: var(--fs-xl); margin-bottom: var(--space-md); }
h4 { font-size: var(--fs-lg); margin-bottom: var(--space-sm); }

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

ul, ol {
  padding-left: var(--space-lg);
  margin-bottom: var(--space-md);
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--space-lg);
  width: 100%;
}

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

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

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

.nav {
  position: fixed;
  left: 0;
  top: 0;
  width: var(--sidebar-w);
  height: 100vh;
  background: var(--white);
  border-right: 1px solid var(--border);
  padding: var(--space-xl) var(--space-lg);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.navbar {
  position: fixed;
  left: 0;
  top: 0;
  width: var(--sidebar-w);
  height: 100vh;
  background: var(--white);
  border-right: 1px solid var(--border);
  padding: var(--space-xl) var(--space-lg);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.nav-logo,
.logo {
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--space-xxl);
  display: block;
  text-decoration: none;
  line-height: 1.3;
}

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

.nav-menu {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
}

.nav-item {
  width: 100%;
}

.nav-link {
  display: block;
  padding: var(--space-sm) var(--space-md);
  color: var(--text-muted);
  font-size: var(--fs-sm);
  font-weight: 600;
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: all var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
  background: var(--section-accent);
  border-left-color: var(--primary);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text);
  cursor: pointer;
  padding: var(--space-sm);
  position: fixed;
  top: var(--space-md);
  left: var(--space-md);
  z-index: 1100;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
}

main {
  margin-left: var(--sidebar-w);
  min-height: 100vh;
}

.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background: var(--section-dark);
  color: var(--white);
  overflow: hidden;
  padding: var(--space-xxl) var(--space-xl);
}

.hero::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: rgba(var(--primary-rgb), 0.12);
  z-index: 0;
  animation: float 7s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: 10%;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: rgba(var(--accent-rgb), 0.09);
  z-index: 0;
  animation: float 9s ease-in-out infinite reverse;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: var(--space-xxl);
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}

.hero-text {
  flex: 1;
  min-width: 0;
}

.hero-text h1 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--white);
  margin-bottom: var(--space-md);
  line-height: 1.2;
}

.hero-text p {
  font-family: var(--font-secondary);
  font-size: var(--fs-lg);
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-xl);
  max-width: 520px;
}

.hero-image {
  flex: 0 0 45%;
  position: relative;
  z-index: 2;
}

.hero-image img {
  width: 100%;
  height: auto;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.header-hero {
  position: relative;
  padding: var(--space-xxl) var(--space-xl);
  background: linear-gradient(135deg, var(--section-dark) 0%, #243438 100%);
  color: var(--white);
  text-align: center;
  overflow: hidden;
}

.header-hero::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(var(--primary-rgb), 0.08);
  top: -100px;
  right: -60px;
  animation: float 8s ease-in-out infinite;
}

.header-hero h1 {
  color: var(--white);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  position: relative;
  z-index: 1;
}

.header-hero p {
  color: rgba(255, 255, 255, 0.75);
  font-family: var(--font-secondary);
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

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

.content-section:last-of-type {
  border-bottom: none;
}

.section-dark {
  background: var(--section-dark);
  color: var(--white);
  border-bottom-color: #2a3d41;
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--white);
}

.section-dark p {
  color: rgba(255, 255, 255, 0.8);
}

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

.section-dark a:hover {
  color: #5dd96e;
}

.section-accent {
  background: var(--section-accent);
}

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

.section-header h2 {
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: var(--primary);
  margin: var(--space-sm) auto 0;
}

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

.section-fade {
  position: relative;
}

.section-fade::before {
  content: '';
  position: absolute;
  top: -60px;
  left: 0;
  width: 100%;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
}

.section-fade::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: 0;
  width: 100%;
  height: 60px;
  background: linear-gradient(to top, transparent, var(--bg));
  pointer-events: none;
}

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

.two-col-layout > * {
  flex: 1;
  min-width: 280px;
}

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

.two-col-layout img {
  width: 100%;
  height: auto;
  border: 1px solid var(--border);
  transition: transform 0.4s ease;
}

.two-col-layout img:hover {
  transform: scale(1.03);
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: var(--space-xl);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.35s ease, border-color 0.35s ease;
}

.card:hover {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.12), 0 4px 16px rgba(0, 0, 0, 0.08);
}

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

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

.card h3 {
  font-size: var(--fs-lg);
}

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

.feature {
  background: var(--white);
  border: 1px solid var(--border);
  padding: var(--space-xl);
  text-align: center;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.feature:hover {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(var(--primary-rgb), 0.1);
}

.feature-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
  font-size: 1.5rem;
  color: var(--primary);
  border: 2px solid var(--primary);
  border-radius: 50%;
  background: rgba(var(--primary-rgb), 0.06);
}

.feature h3 {
  font-size: var(--fs-lg);
  margin-bottom: var(--space-sm);
}

.feature p {
  color: var(--text-muted);
  font-size: var(--fs-sm);
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: var(--space-xl);
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  font-family: var(--font-secondary);
  font-size: 3rem;
  color: var(--accent);
  line-height: 1;
  position: absolute;
  top: var(--space-md);
  left: var(--space-lg);
}

.testimonial-card blockquote {
  font-family: var(--font-secondary);
  font-style: italic;
  font-size: var(--fs-base);
  color: var(--text);
  margin-bottom: var(--space-md);
  padding-top: var(--space-lg);
  border: none;
}

.testimonial-card cite {
  font-style: normal;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

.testimonial-card cite span {
  display: block;
  color: var(--primary);
  font-weight: 400;
  font-size: var(--fs-xs);
  margin-top: 2px;
}

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

.pricing-card:hover {
  border-color: var(--primary);
}

.pricing-card.featured {
  border-color: var(--primary);
  border-width: 2px;
  position: relative;
}

.pricing-card.featured::after {
  content: 'Popular';
  position: absolute;
  top: 0;
  right: var(--space-md);
  background: var(--primary);
  color: var(--white);
  font-size: var(--fs-xs);
  font-weight: 700;
  padding: 2px var(--space-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

.pricing-card .price span {
  font-size: var(--fs-sm);
  font-weight: 400;
  color: var(--text-muted);
}

.pricing-card ul {
  list-style: none;
  padding: 0;
  margin-bottom: var(--space-lg);
  text-align: left;
}

.pricing-card li {
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--border);
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

.pricing-card li:last-child {
  border-bottom: none;
}

.btn {
  display: inline-block;
  padding: 0.65rem 1.75rem;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: var(--fs-sm);
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  line-height: 1.4;
}

.btn-primary {
  display: inline-block;
  padding: 0.65rem 1.75rem;
  border: 2px solid var(--primary);
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--primary);
  background: linear-gradient(to right, var(--primary) 50%, transparent 50%);
  background-size: 200% 100%;
  background-position: right;
  transition: background-position 0.35s ease, color 0.35s ease, box-shadow 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  line-height: 1.4;
}

.btn-primary:hover {
  background-position: left;
  color: var(--white);
  box-shadow: 0 4px 14px rgba(var(--primary-rgb), 0.3);
}

.btn-secondary {
  display: inline-block;
  padding: 0.65rem 1.75rem;
  background: var(--secondary);
  color: var(--white);
  border: 2px solid var(--secondary);
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: var(--fs-sm);
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  line-height: 1.4;
  transition: all var(--transition);
}

.btn-secondary:hover {
  background: transparent;
  color: var(--secondary);
}

.btn-outline {
  display: inline-block;
  padding: 0.65rem 1.75rem;
  background: transparent;
  color: var(--text);
  border: 2px solid var(--border);
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: var(--fs-sm);
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  line-height: 1.4;
  transition: all var(--transition);
}

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

.btn-lg {
  padding: 0.85rem 2.5rem;
  font-size: var(--fs-base);
}

.section-dark .btn-primary {
  border-color: var(--primary);
  color: var(--white);
  background: linear-gradient(to right, var(--primary) 50%, transparent 50%);
  background-size: 200% 100%;
  background-position: left;
}

.section-dark .btn-primary:hover {
  background-position: right;
  color: var(--primary);
}

.section-dark .btn-outline {
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--white);
}

.section-dark .btn-outline:hover {
  border-color: var(--white);
}

form {
  max-width: 600px;
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: var(--fs-sm);
  margin-bottom: var(--space-xs);
  color: var(--text);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: var(--space-sm) var(--space-md);
  font-family: var(--font-primary);
  font-size: var(--fs-base);
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--border);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.6;
}

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

.form-row .form-group {
  flex: 1;
}

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

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-md) var(--space-lg);
  cursor: pointer;
  font-weight: 600;
  font-size: var(--fs-base);
  color: var(--text);
  background: var(--white);
  border: none;
  width: 100%;
  text-align: left;
  font-family: var(--font-primary);
  transition: background var(--transition);
}

.faq-question:hover {
  background: var(--bg-alt);
}

.faq-question::after {
  content: '+';
  font-size: var(--fs-xl);
  color: var(--primary);
  font-weight: 400;
  transition: transform var(--transition);
  flex-shrink: 0;
  margin-left: var(--space-md);
}

.faq-item.active .faq-question::after {
  content: '\2212';
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 var(--space-lg);
}

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

.faq-answer p {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  font-family: var(--font-secondary);
}

.testimonial-slider {
  position: relative;
  overflow: hidden;
  padding: var(--space-md) 0;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s ease;
}

.testimonial-slide {
  min-width: 100%;
  padding: 0 var(--space-md);
}

.testimonial-controls {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.testimonial-controls button {
  background: var(--white);
  border: 1px solid var(--border);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: var(--fs-lg);
  color: var(--text-muted);
  transition: all var(--transition);
}

.testimonial-controls button:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.testimonial-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  cursor: pointer;
  padding: 0;
  transition: all var(--transition);
}

.testimonial-dots button.active {
  background: var(--primary);
  border-color: var(--primary);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: var(--space-md);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 4/3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-md);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  color: var(--white);
  font-size: var(--fs-sm);
  font-weight: 600;
  transform: translateY(100%);
  transition: transform 0.35s ease;
}

.gallery-item:hover figcaption {
  transform: translateY(0);
}

.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s ease;
}

.blog-card:hover {
  border-color: var(--primary);
}

.blog-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.blog-card-body {
  padding: var(--space-lg);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-meta {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.blog-card h3 {
  font-size: var(--fs-base);
  margin-bottom: var(--space-sm);
}

.blog-card h3 a {
  color: var(--text);
  text-decoration: none;
}

.blog-card h3 a:hover {
  color: var(--primary);
}

.blog-card p {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  flex: 1;
}

.location-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: var(--space-xl);
}

.location-card h3 {
  font-size: var(--fs-lg);
  margin-bottom: var(--space-md);
  color: var(--primary);
}

.location-card address {
  font-style: normal;
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.location-card .hours {
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

.location-card .hours strong {
  color: var(--text);
}

.partners-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl);
  padding: var(--space-lg) 0;
}

.partners-bar img {
  max-height: 40px;
  opacity: 0.5;
  transition: opacity var(--transition);
  filter: grayscale(1);
}

.partners-bar img:hover {
  opacity: 1;
  filter: grayscale(0);
}

.cta-banner {
  background: linear-gradient(135deg, var(--primary), #36a84a);
  color: var(--white);
  padding: var(--space-xxl) var(--space-xl);
  text-align: center;
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: var(--space-sm);
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 500px;
  margin: 0 auto var(--space-lg);
  font-family: var(--font-secondary);
}

.cta-banner .btn-primary {
  border-color: var(--white);
  color: var(--white);
  background: linear-gradient(to right, var(--white) 50%, transparent 50%);
  background-size: 200% 100%;
  background-position: right;
}

.cta-banner .btn-primary:hover {
  background-position: left;
  color: var(--primary);
}

.stats-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-xl);
  text-align: center;
}

.stat-item {
  flex: 1;
  min-width: 120px;
}

.stat-item .number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  display: block;
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.stat-item .label {
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

.section-dark .stat-item .number {
  color: var(--primary);
}

.section-dark .stat-item .label {
  color: rgba(255, 255, 255, 0.7);
}

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

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

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

.breadcrumb span {
  margin: 0 var(--space-sm);
  color: var(--border);
}

.tag {
  display: inline-block;
  padding: 2px var(--space-sm);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--primary);
  border: 1px solid var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.tag-accent {
  color: var(--accent);
  border-color: var(--accent);
}

.tag-secondary {
  color: var(--secondary);
  border-color: var(--secondary);
}

.alert {
  padding: var(--space-md) var(--space-lg);
  border: 1px solid var(--border);
  margin-bottom: var(--space-md);
  font-size: var(--fs-sm);
}

.alert-success {
  border-left: 4px solid var(--primary);
  background: rgba(var(--primary-rgb), 0.04);
}

.alert-info {
  border-left: 4px solid var(--secondary);
  background: rgba(var(--secondary-rgb), 0.04);
}

.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);
}

.map-embed {
  width: 100%;
  height: 350px;
  border: 1px solid var(--border);
}

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

.team-member {
  text-align: center;
}

.team-member img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto var(--space-md);
  border: 3px solid var(--border);
}

.team-member h4 {
  margin-bottom: 2px;
}

.team-member p {
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

.service-detail {
  display: flex;
  gap: var(--space-xxl);
  align-items: flex-start;
  padding: var(--space-xl) 0;
  border-bottom: 1px solid var(--border);
}

.service-detail:last-child {
  border-bottom: none;
}

.service-detail-icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--primary);
  border: 2px solid var(--primary);
  border-radius: 50%;
  background: rgba(var(--primary-rgb), 0.04);
}

.service-detail-body h3 {
  margin-bottom: var(--space-sm);
}

.service-detail-body p {
  color: var(--text-muted);
  font-size: var(--fs-sm);
  margin-bottom: var(--space-sm);
}

.service-detail-body ul {
  list-style: none;
  padding: 0;
}

.service-detail-body li {
  padding: var(--space-xs) 0;
  font-size: var(--fs-sm);
  color: var(--text-muted);
  position: relative;
  padding-left: var(--space-lg);
}

.service-detail-body li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

footer.footer-mega {
  background: var(--section-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: var(--space-xxl) var(--space-xl) var(--space-lg);
  margin-left: var(--sidebar-w);
}

footer.footer-mega .footer-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

footer.footer-mega .footer-column h4 {
  color: var(--white);
  font-size: var(--fs-base);
  margin-bottom: var(--space-md);
  font-weight: 600;
}

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

footer.footer-mega .footer-column li {
  margin-bottom: var(--space-sm);
}

footer.footer-mega .footer-column a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  font-size: var(--fs-sm);
  transition: color 0.2s ease;
}

footer.footer-mega .footer-column a:hover {
  color: var(--primary);
}

footer.footer-mega .footer-column p {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
}

footer.footer-mega .footer-copyright {
  text-align: center;
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.35);
  font-size: var(--fs-xs);
}

footer.footer-mega .social-links {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

footer.footer-mega .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--fs-sm);
  transition: all 0.2s ease;
}

footer.footer-mega .social-links a:hover {
  border-color: var(--primary);
  color: var(--primary);
}

[data-animate] {
  opacity: 0;
  transform: translateY(28px);
  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(-28px);
}

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

[data-animate="slide-right"] {
  transform: translateX(28px);
}

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

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

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

.video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border: 1px solid var(--border);
}

.video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.news-list .news-item {
  display: flex;
  gap: var(--space-lg);
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}

.news-item .news-date {
  flex-shrink: 0;
  text-align: center;
  padding: var(--space-sm) var(--space-md);
  background: var(--section-accent);
  border: 1px solid var(--border);
  min-width: 70px;
}

.news-item .news-date .day {
  display: block;
  font-size: var(--fs-xxl);
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

.news-item .news-date .month {
  display: block;
  font-size: var(--fs-xs);
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.news-item h3 {
  font-size: var(--fs-base);
  margin-bottom: var(--space-xs);
}

.news-item h3 a {
  color: var(--text);
}

.news-item h3 a:hover {
  color: var(--primary);
}

.news-item p {
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

.sidebar-widget {
  padding: var(--space-lg);
  border: 1px solid var(--border);
  background: var(--white);
  margin-bottom: var(--space-lg);
}

.sidebar-widget h4 {
  font-size: var(--fs-base);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--primary);
}

.sidebar-widget ul {
  list-style: none;
  padding: 0;
}

.sidebar-widget li {
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--border);
  font-size: var(--fs-sm);
}

.sidebar-widget li:last-child {
  border-bottom: none;
}

.sidebar-widget a {
  color: var(--text-muted);
}

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

.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-md);
  background: var(--primary);
  color: var(--white);
  padding: var(--space-sm) var(--space-md);
  z-index: 9999;
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: var(--space-md);
}

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

  [data-animate] {
    opacity: 1;
    transform: none;
  }

  [data-stagger] > * {
    opacity: 1;
    transform: none;
  }
}

@media screen and (max-width: 1024px) {
  .navbar,
  .nav {
    transform: translateX(-100%);
    transition: transform 0.35s ease;
    width: 280px;
    z-index: 1050;
    box-shadow: none;
  }

  .navbar.open,
  .nav.open {
    transform: translateX(0);
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.15);
  }

  .mobile-menu-toggle {
    display: flex;
  }

  main {
    margin-left: 0;
    padding-top: 60px;
  }

  footer.footer-mega {
    margin-left: 0;
  }

  .hero-content {
    flex-direction: column;
    text-align: center;
  }

  .hero-text p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-image {
    flex: 0 0 auto;
    max-width: 400px;
    margin: 0 auto;
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-row {
    gap: var(--space-lg);
  }

  .service-detail {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .service-detail-body li {
    padding-left: 0;
    text-align: left;
  }
}

@media screen and (max-width: 768px) {
  :root {
    --fs-hero: 1.625rem;
    --fs-xxl: 1.25rem;
    --fs-xl: 1.125rem;
  }

  .container {
    padding: 0 var(--space-md);
  }

  .hero {
    min-height: 70vh;
    padding: var(--space-xl) var(--space-md);
  }

  .header-hero {
    padding: var(--space-xl) var(--space-md);
  }

  .content-section {
    padding: var(--space-xl) var(--space-md);
  }

  .two-col-layout {
    flex-direction: column;
    gap: var(--space-lg);
  }

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

  .two-col-layout > * {
    min-width: 100%;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .form-row {
    flex-direction: column;
    gap: 0;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
  }

  footer.footer-mega .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .news-list .news-item {
    flex-direction: column;
    gap: var(--space-md);
  }

  .stats-row {
    flex-direction: column;
    gap: var(--space-md);
  }

  .cta-banner {
    padding: var(--space-xl) var(--space-md);
  }

  .testimonial-slide {
    padding: 0;
  }
}

@media screen and (max-width: 480px) {
  .hero {
    min-height: auto;
    padding: var(--space-xl) var(--space-md);
  }

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

  .hero-image {
    max-width: 100%;
  }

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

  .btn-lg {
    width: 100%;
  }

  .pricing-card .price {
    font-size: 2rem;
  }

  .stat-item .number {
    font-size: 1.5rem;
  }

  .team-member img {
    width: 90px;
    height: 90px;
  }
}

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1040;
}

.nav-overlay.active {
  display: block;
}

.nav-cta {
  margin-top: auto;
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border);
}

.nav-cta .btn {
  width: 100%;
  text-align: center;
}

.accent-bar {
  height: 4px;
  background: linear-gradient(to right, var(--primary), var(--secondary), var(--accent));
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

::selection {
  background: rgba(var(--primary-rgb), 0.2);
  color: var(--text);
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
