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

:root {
  --primary: #E72797;
  --secondary: #8AD61F;
  --accent: #5AACE7;
  --bg: #F8F5FA;
  --bg-alt: #F0EBF5;
  --text: #221A2D;
  --text-muted: #5D4F6B;
  --section-dark: #221A2D;
  --section-accent: #EEE5F8;
  --white: #ffffff;
  --border: #D8D0E2;
  --primary-rgb: 231, 39, 151;
  --secondary-rgb: 138, 214, 31;
  --accent-rgb: 90, 172, 231;
}

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

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

body {
  font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

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

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

h1 { font-size: 2rem; margin-bottom: 1rem; }
h2 { font-size: 1.5rem; margin-bottom: 0.875rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.75rem; }
h4 { font-size: 1.125rem; margin-bottom: 0.5rem; }

p {
  margin-bottom: 1rem;
  color: var(--text);
}

ul, ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

blockquote {
  border-left: 3px solid var(--primary);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--text-muted);
  background: var(--bg-alt);
}

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

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

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

.row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.grid-2 {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.grid-2 > * {
  flex: 1 1 calc(50% - 12px);
  min-width: 280px;
}

.grid-3 {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.grid-3 > * {
  flex: 1 1 calc(33.333% - 16px);
  min-width: 260px;
}

.grid-4 {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.grid-4 > * {
  flex: 1 1 calc(25% - 18px);
  min-width: 220px;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(248, 245, 250, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
  background: rgba(248, 245, 250, 0.98);
  box-shadow: 0 2px 16px rgba(34, 26, 45, 0.08);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0;
  padding-bottom: 0;
  height: 72px;
}

.logo {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
  transition: color 0.25s ease;
}

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

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-block;
  padding: 8px 16px;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  border-radius: 6px;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
  background: rgba(231, 39, 151, 0.06);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text);
  cursor: pointer;
  padding: 8px;
  line-height: 1;
  z-index: 1001;
  position: relative;
}

.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(34, 26, 45, 0.97);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.35s ease;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

body.menu-open .mobile-nav-overlay {
  display: flex;
  opacity: 1;
}

body.menu-open {
  overflow: hidden;
}

.mobile-nav-overlay .nav-link {
  font-size: 1.5rem;
  color: var(--white);
  padding: 12px 32px;
  text-align: center;
}

.mobile-nav-overlay .nav-link:hover {
  color: var(--primary);
  background: rgba(231, 39, 151, 0.12);
}

main {
  padding-top: 72px;
}

.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--section-dark) 0%, #3A2052 60%, var(--section-dark) 100%);
  background-size: 200% 200%;
  animation: gradientShift 14s ease infinite;
}

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

.hero::after {
  content: '';
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.12) 0%, transparent 70%);
  bottom: -80px;
  left: -60px;
  z-index: 0;
  animation: float 9s ease-in-out infinite reverse;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 48px;
  width: 100%;
}

.hero-content {
  flex: 1 1 55%;
  color: var(--white);
}

.hero-content h1 {
  font-size: 2.5rem;
  color: var(--white);
  margin-bottom: 1.25rem;
  line-height: 1.15;
}

.hero-content p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 2rem;
  max-width: 520px;
  line-height: 1.65;
}

.hero-image {
  flex: 1 1 40%;
  position: relative;
}

.hero-image img {
  border-radius: 10px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  width: 100%;
  object-fit: cover;
}

.header-hero {
  position: relative;
  padding: 80px 0 60px;
  background: linear-gradient(135deg, var(--section-dark), #3A2052);
  text-align: center;
  overflow: hidden;
}

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

.header-hero h1 {
  color: var(--white);
  font-size: 2rem;
  position: relative;
  z-index: 2;
}

.header-hero p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.0625rem;
  max-width: 600px;
  margin: 0.75rem auto 0;
  position: relative;
  z-index: 2;
}

.content-section {
  padding: 64px 0;
}

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

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

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

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

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: 1.75rem;
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
}

.section-header p {
  color: var(--text-muted);
  max-width: 560px;
  margin: 1rem auto 0;
  font-size: 1.0625rem;
}

.section-dark .section-header h2::after {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(34, 26, 45, 0.12);
  border-color: var(--primary);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.45s ease;
}

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

.card-body {
  padding: 24px;
}

.card-body h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.card-body p {
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.feature {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 32px 24px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(34, 26, 45, 0.1);
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1), rgba(var(--accent-rgb), 0.08));
  font-size: 1.75rem;
  color: var(--primary);
}

.feature h3 {
  font-size: 1.0625rem;
  margin-bottom: 0.625rem;
}

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

.section-dark .feature {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
}

.section-dark .feature-icon {
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.2), rgba(var(--accent-rgb), 0.15));
  color: var(--accent);
}

.section-dark .feature h3 {
  color: var(--white);
}

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

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

.testimonial-card::before {
  content: '\201C';
  font-family: 'Merriweather', serif;
  font-size: 4rem;
  color: var(--primary);
  opacity: 0.15;
  position: absolute;
  top: 12px;
  left: 20px;
  line-height: 1;
}

.testimonial-card p {
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 1;
}

.testimonial-card .author {
  font-weight: 600;
  color: var(--text);
  font-style: normal;
  font-size: 0.9375rem;
}

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

.section-dark .testimonial-card {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

.section-dark .testimonial-card p {
  color: rgba(255, 255, 255, 0.75);
}

.section-dark .testimonial-card .author {
  color: var(--white);
}

.pricing-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 40px 32px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(34, 26, 45, 0.12);
}

.pricing-card.featured {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(var(--primary-rgb), 0.15);
}

.pricing-card.featured::before {
  content: 'Popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary), #C01E7E);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 16px;
  border-radius: 20px;
}

.pricing-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.pricing-card .price {
  font-size: 2.25rem;
  font-weight: 900;
  font-family: 'Source Sans Pro', sans-serif;
  color: var(--primary);
  margin: 16px 0;
}

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

.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  text-align: left;
}

.pricing-card li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9375rem;
  color: var(--text-muted);
  padding-left: 24px;
  position: relative;
}

.pricing-card li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--secondary);
  font-weight: 700;
}

.two-col-layout {
  display: flex;
  align-items: center;
  gap: 48px;
}

.two-col-layout > * {
  flex: 1;
}

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

.two-col-layout img {
  border-radius: 10px;
  width: 100%;
  object-fit: cover;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  line-height: 1.4;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #C01E7E);
  color: var(--white);
  border-color: transparent;
  animation: pulseGlow 3s ease-in-out infinite;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(var(--primary-rgb), 0.4);
  animation: none;
  color: var(--white);
}

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

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(var(--secondary-rgb), 0.35);
  color: var(--section-dark);
}

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

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

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

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

.btn-lg {
  padding: 16px 36px;
  font-size: 1.0625rem;
}

.hero .btn-primary {
  animation: pulseGlow 2.5s ease-in-out infinite;
}

form {
  max-width: 640px;
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 0.9375rem;
  color: var(--text);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
textarea,
select {
  width: 100%;
  padding: 12px 16px;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 1rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--white);
  color: var(--text);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  margin-bottom: 20px;
}

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

textarea {
  min-height: 140px;
  resize: vertical;
}

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

.form-group {
  margin-bottom: 4px;
}

.form-row {
  display: flex;
  gap: 16px;
}

.form-row > * {
  flex: 1;
}

.section-dark label {
  color: rgba(255, 255, 255, 0.9);
}

.section-dark input,
.section-dark textarea,
.section-dark select {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  color: var(--white);
}

.section-dark input:focus,
.section-dark textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.15);
}

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

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--text);
  gap: 16px;
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--primary);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 400px;
  padding-top: 12px;
}

.faq-answer p {
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.portfolio-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.portfolio-item {
  flex: 1 1 calc(33.333% - 11px);
  min-width: 260px;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.portfolio-item img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.5s ease;
  border-radius: 8px;
}

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

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(var(--primary-rgb), 0.85) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.35s ease;
  display: flex;
  align-items: flex-end;
  padding: 24px;
  border-radius: 8px;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-overlay h3 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 4px;
}

.portfolio-overlay p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
}

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

.team-card img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
  border: 3px solid var(--border);
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.team-card:hover img {
  border-color: var(--primary);
  transform: scale(1.05);
}

.team-card h3 {
  font-size: 1.0625rem;
  margin-bottom: 4px;
}

.team-card .team-role {
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.team-card p {
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.stats-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
}

.stat-item {
  text-align: center;
  flex: 1 1 180px;
}

.stat-number {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1.1;
  margin-bottom: 4px;
}

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

.stat-label {
  font-size: 0.9375rem;
  color: var(--text-muted);
  font-weight: 600;
}

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

.cta-banner {
  background: linear-gradient(135deg, var(--primary), #C01E7E);
  padding: 56px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  top: -80px;
  right: -40px;
}

.cta-banner::after {
  content: '';
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  bottom: -60px;
  left: 10%;
}

.cta-banner h2 {
  color: var(--white);
  font-size: 1.75rem;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.cta-banner .btn {
  position: relative;
  z-index: 1;
}

.cta-banner .btn-primary {
  background: var(--white);
  color: var(--primary);
  animation: none;
}

.cta-banner .btn-primary:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.badge {
  display: inline-block;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 20px;
  background: rgba(var(--primary-rgb), 0.1);
  color: var(--primary);
}

.badge-secondary {
  background: rgba(var(--secondary-rgb), 0.12);
  color: #5A8A12;
}

.badge-accent {
  background: rgba(var(--accent-rgb), 0.12);
  color: #3280B0;
}

.tag {
  display: inline-block;
  padding: 4px 10px;
  font-size: 0.8125rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text-muted);
  margin: 2px;
}

.divider {
  border: none;
  height: 1px;
  background: var(--border);
  margin: 32px 0;
}

.section-dark .divider {
  background: rgba(255, 255, 255, 0.12);
}

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

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

.section-dark .text-muted {
  color: rgba(255, 255, 255, 0.6);
}

[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(-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-animate="scale-in"] {
  transform: scale(0.92);
}

[data-animate="scale-in"].visible {
  opacity: 1;
  transform: scale(1);
}

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

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

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

footer.footer-minimal {
  padding: 32px 24px;
  background: var(--section-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

footer.footer-minimal .footer-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

footer.footer-minimal .footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

footer.footer-minimal .footer-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s ease;
}

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

footer.footer-minimal p {
  margin: 0;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.8125rem;
}

footer .footer-logo {
  font-family: 'Merriweather', serif;
  font-weight: 700;
  color: var(--white);
  font-size: 1.125rem;
}

.article-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(34, 26, 45, 0.1);
}

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

.article-card .card-body {
  padding: 24px;
}

.article-card .card-meta {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.article-card h3 {
  font-size: 1.0625rem;
  margin-bottom: 8px;
}

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

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

.article-card p {
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.breadcrumb {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 12px;
  position: relative;
  z-index: 2;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.65);
}

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

.process-step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}

.process-step:last-child {
  border-bottom: none;
}

.step-number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #C01E7E);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.125rem;
  font-family: 'Source Sans Pro', sans-serif;
}

.process-step h3 {
  margin-bottom: 4px;
}

.process-step p {
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.contact-info-block {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-item i {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--primary-rgb), 0.08);
  border-radius: 8px;
  color: var(--primary);
  flex-shrink: 0;
}

.contact-item h4 {
  font-size: 0.9375rem;
  margin-bottom: 2px;
}

.contact-item p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  margin-bottom: 0;
}

.map-embed {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.map-embed iframe {
  width: 100%;
  height: 360px;
  display: block;
  border: none;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 32px 28px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(34, 26, 45, 0.1);
}

.service-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  transition: transform 0.4s ease;
  overflow: hidden;
}

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

.service-card h3 {
  font-size: 1.125rem;
  margin-bottom: 8px;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.accordion-container {
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}

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

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 20px 24px;
  background: var(--white);
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  transition: background 0.3s ease, color 0.3s ease;
  text-align: left;
  font-family: 'Source Sans Pro', sans-serif;
}

.accordion-header:hover {
  background: var(--bg-alt);
  color: var(--primary);
}

.accordion-header i {
  transition: transform 0.35s ease;
  color: var(--primary);
  flex-shrink: 0;
  margin-left: 16px;
}

.accordion-item.active .accordion-header {
  background: var(--bg-alt);
  color: var(--primary);
}

.accordion-item.active .accordion-header i {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 24px;
}

.accordion-item.active .accordion-content {
  max-height: 600px;
  padding: 0 24px 20px 24px;
}

.accordion-content p {
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.split-layout {
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}

.split-content {
  flex: 1 1 45%;
  min-width: 280px;
}

.split-image {
  flex: 1 1 45%;
  min-width: 280px;
}

.split-img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 12px 36px rgba(34, 26, 45, 0.12);
}

.credentials-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 32px;
}

.credential-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px 24px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.credential-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(34, 26, 45, 0.1);
}

.credential-card i {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 12px;
  display: block;
}

.credential-card h3 {
  font-size: 1.0625rem;
  margin-bottom: 12px;
}

.credential-card p {
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 24px;
}

.footer-nav .nav-link {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9375rem;
  transition: color 0.2s ease;
}

.footer-nav .nav-link:hover {
  color: var(--primary);
}

.footer-info {
  text-align: center;
}

.footer-info p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  margin-bottom: 8px;
}

.video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 10px;
}

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

table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
}

th, td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}

th {
  font-weight: 700;
  color: var(--text);
  font-size: 0.9375rem;
  background: var(--bg-alt);
}

td {
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.alert {
  padding: 16px 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 0.9375rem;
}

.alert-info {
  background: rgba(var(--accent-rgb), 0.1);
  border: 1px solid rgba(var(--accent-rgb), 0.2);
  color: #2E6F9E;
}

.alert-success {
  background: rgba(var(--secondary-rgb), 0.1);
  border: 1px solid rgba(var(--secondary-rgb), 0.2);
  color: #4A7210;
}

.icon-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1 1 140px;
  max-width: 180px;
}

.icon-item i {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 8px;
}

.icon-item span {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 600;
}

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

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

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

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

@media screen and (max-width: 1280px) {
  .hero-content h1 {
    font-size: 2.25rem;
  }

  .container {
    padding: 0 20px;
  }
}

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

  .nav-menu {
    display: none;
  }

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

  .hero-content {
    flex: none;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

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

  .hero-image {
    flex: none;
    max-width: 480px;
    width: 100%;
  }

  .two-col-layout {
    flex-direction: column;
    gap: 32px;
  }

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

  .grid-3 > * {
    flex: 1 1 calc(50% - 12px);
  }

  .grid-4 > * {
    flex: 1 1 calc(50% - 12px);
  }

  .content-section {
    padding: 48px 0;
  }

  .stats-grid {
    gap: 24px;
  }
}

@media screen and (max-width: 768px) {
  h1 { font-size: 1.625rem; }
  h2 { font-size: 1.375rem; }
  h3 { font-size: 1.125rem; }

  .hero {
    min-height: 70vh;
  }

  .hero-content h1 {
    font-size: 1.75rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .header-hero {
    padding: 60px 0 48px;
  }

  .header-hero h1 {
    font-size: 1.625rem;
  }

  .section-header h2 {
    font-size: 1.5rem;
  }

  .section-header {
    margin-bottom: 36px;
  }

  .content-section {
    padding: 40px 0;
  }

  .grid-2 > * {
    flex: 1 1 100%;
  }

  .grid-3 > * {
    flex: 1 1 100%;
  }

  .grid-4 > * {
    flex: 1 1 100%;
  }

  .portfolio-item {
    flex: 1 1 calc(50% - 8px);
    min-width: 200px;
  }

  .portfolio-item img {
    height: 200px;
  }

  .pricing-card {
    padding: 32px 24px;
  }

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

  .cta-banner {
    padding: 40px 0;
  }

  .cta-banner h2 {
    font-size: 1.375rem;
  }

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

  .process-step {
    flex-direction: column;
    gap: 12px;
  }

  .team-card img {
    width: 120px;
    height: 120px;
  }

  footer.footer-minimal .footer-content {
    flex-direction: column;
    gap: 16px;
  }

  footer.footer-minimal .footer-links {
    gap: 12px;
  }
}

@media screen and (max-width: 480px) {
  body {
    font-size: 0.9375rem;
  }

  .container {
    padding: 0 16px;
  }

  .hero {
    min-height: auto;
    padding: 48px 0;
  }

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

  .hero::before {
    width: 200px;
    height: 200px;
  }

  .hero::after {
    width: 150px;
    height: 150px;
  }

  .header-hero {
    padding: 48px 0 36px;
  }

  .header-hero h1 {
    font-size: 1.375rem;
  }

  .content-section {
    padding: 32px 0;
  }

  .section-header {
    margin-bottom: 28px;
  }

  .btn {
    padding: 10px 22px;
    font-size: 0.875rem;
  }

  .btn-lg {
    padding: 12px 28px;
    font-size: 1rem;
  }

  .nav-container {
    height: 60px;
  }

  main {
    padding-top: 60px;
  }

  .card img {
    height: 160px;
  }

  .portfolio-item {
    flex: 1 1 100%;
  }

  .portfolio-item img {
    height: 180px;
  }

  .feature {
    padding: 24px 20px;
  }

  .feature-icon {
    width: 52px;
    height: 52px;
    font-size: 1.5rem;
  }

  .testimonial-card {
    padding: 24px 20px;
  }

  .testimonial-card::before {
    font-size: 3rem;
  }

  .map-embed iframe {
    height: 260px;
  }

  .stats-grid {
    gap: 16px;
  }

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

  .mobile-nav-overlay .nav-link {
    font-size: 1.25rem;
    padding: 10px 24px;
  }
}

@media print {
  .navbar,
  .mobile-menu-toggle,
  .mobile-nav-overlay,
  .cta-banner {
    display: none;
  }

  main {
    padding-top: 0;
  }

  body {
    color: #000;
    background: #fff;
  }

  a {
    color: #000;
    text-decoration: underline;
  }
}
