/* Carolina Core Nutrition - Botanical Elegance Theme */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,400;1,9..144,500&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&display=swap');

/* ========================================
   CSS Variables & Theme
======================================== */
:root {
  /* Brand Colors */
  --primary: #54B435;
  --primary-dark: #3d8a27;
  --primary-light: #d4edda;
  --primary-pale: #f0f9f1;

  /* Neutrals */
  --black: #1a1a2e;
  --dark-gray: #3a3a4a;
  --medium-gray: #6b6b7b;
  --light-gray: #e8e8ec;
  --off-white: #faf9f7;
  --white: #ffffff;
  --cream: #fdfcf9;

  /* Accent */
  --accent-warm: #f5e6d3;
  --accent-sage: #9cb89c;

  /* Typography */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 10rem;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 40px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(26, 26, 46, 0.06);
  --shadow-md: 0 8px 30px rgba(26, 26, 46, 0.08);
  --shadow-lg: 0 20px 60px rgba(26, 26, 46, 0.12);
  --shadow-glow: 0 0 40px rgba(84, 180, 53, 0.15);

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --duration-fast: 0.2s;
  --duration-normal: 0.4s;
  --duration-slow: 0.6s;
}

/* ========================================
   Reset & Base
======================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--black);
  background-color: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Subtle grain texture overlay */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.03;
  z-index: 9999;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* ========================================
   Typography
======================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.2;
  color: var(--black);
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 400;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 500;
}

h4 {
  font-size: 1.25rem;
  font-weight: 600;
}

h5 {
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
}

p {
  color: var(--dark-gray);
  max-width: 65ch;
}

.lead {
  font-size: 1.25rem;
  line-height: 1.8;
  color: var(--medium-gray);
}

.italic {
  font-style: italic;
}

/* ========================================
   Layout Utilities
======================================== */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.container--narrow {
  max-width: 900px;
}

.container--wide {
  max-width: 1600px;
}

.section {
  padding: var(--space-3xl) 0;
  position: relative;
}

.section--sm {
  padding: var(--space-2xl) 0;
}

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

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

.section--green p {
  color: rgba(255, 255, 255, 0.9);
}

.section--pale {
  background-color: var(--primary-pale);
}

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

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

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

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }
.gap-xl { gap: var(--space-xl); }

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

.mx-auto { margin-left: auto; margin-right: auto; }

/* ========================================
   Buttons
======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: 1rem 2rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: var(--radius-full);
  transition: all var(--duration-normal) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background-color: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow-sm), var(--shadow-glow);
}

.btn--primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md), 0 0 50px rgba(84, 180, 53, 0.25);
}

.btn--secondary {
  background-color: var(--white);
  color: var(--black);
  border: 1px solid var(--light-gray);
}

.btn--secondary:hover {
  background-color: var(--primary-pale);
  border-color: var(--primary);
  color: var(--primary-dark);
}

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

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

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

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

.btn--lg {
  padding: 1.25rem 2.5rem;
  font-size: 1rem;
}

.btn-icon {
  width: 20px;
  height: 20px;
  transition: transform var(--duration-fast) var(--ease-out);
}

.btn:hover .btn-icon {
  transform: translateX(4px);
}

/* ========================================
   Navigation
======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--space-md) 0;
  transition: all var(--duration-normal) var(--ease-out);
}

.navbar.scrolled {
  background-color: rgba(253, 252, 249, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
  padding: var(--space-sm) 0;
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary);
}

.navbar__logo-icon {
  width: 40px;
  height: 40px;
  background: var(--primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1.25rem;
}

.navbar__logo-img {
  height: 96px;
  width: auto;
}

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

.navbar__link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--dark-gray);
  position: relative;
  padding: var(--space-xs) 0;
  transition: color var(--duration-fast);
}

.navbar__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: width var(--duration-normal) var(--ease-out);
}

.navbar__link:hover,
.navbar__link.active {
  color: var(--primary);
}

.navbar__link:hover::after,
.navbar__link.active::after {
  width: 100%;
}

.navbar__cta {
  margin-left: var(--space-md);
}

/* Mobile Menu */
.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: var(--space-xs);
  cursor: pointer;
}

.navbar__toggle span {
  width: 24px;
  height: 2px;
  background-color: var(--black);
  transition: all var(--duration-fast);
}

@media (max-width: 768px) {
  .navbar__toggle {
    display: flex;
  }

  .navbar__nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: var(--space-3xl) var(--space-lg);
    gap: var(--space-md);
    transition: right var(--duration-normal) var(--ease-out);
    box-shadow: var(--shadow-lg);
  }

  .navbar__nav.open {
    right: 0;
  }

  .navbar__cta {
    margin-left: 0;
    margin-top: var(--space-md);
  }
}

/* ========================================
   Hero Section
======================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  position: relative;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-pale) 0%, var(--primary-light) 100%);
  border-radius: 0 0 0 40%;
  z-index: -1;
}

.hero__bg::before {
  content: '';
  position: absolute;
  top: 20%;
  right: 10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(84, 180, 53, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite;
}

.hero__bg::after {
  content: '';
  position: absolute;
  bottom: 15%;
  right: 25%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(84, 180, 53, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}

.hero__content {
  max-width: 650px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-xs) var(--space-md);
  background: var(--primary-pale);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary-dark);
  margin-bottom: var(--space-lg);
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero__title {
  margin-bottom: var(--space-lg);
}

.hero__title em {
  font-style: italic;
  color: var(--primary);
}

.hero__subtitle {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--medium-gray);
  margin-bottom: var(--space-xl);
}

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

.hero__image {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: 45%;
  max-width: 600px;
}

.hero__image-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero__image-wrapper img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Placeholder image styling */
.placeholder-image {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent-sage) 50%, var(--primary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.25rem;
  text-align: center;
  padding: var(--space-lg);
}

.placeholder-image--hero {
  aspect-ratio: 4/5;
}

.placeholder-image--square {
  aspect-ratio: 1;
}

.placeholder-image--wide {
  aspect-ratio: 16/9;
}

.placeholder-image--portrait {
  aspect-ratio: 3/4;
}

/* Page Hero (interior pages) */
.page-hero {
  padding: calc(100px + var(--space-3xl)) 0 var(--space-2xl);
  background: linear-gradient(180deg, var(--primary-pale) 0%, var(--cream) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(84, 180, 53, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.page-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-xs) var(--space-md);
  background: var(--white);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary-dark);
  margin-bottom: var(--space-md);
  box-shadow: var(--shadow-sm);
}

.page-hero__title {
  margin-bottom: var(--space-md);
}

.page-hero__subtitle {
  font-size: 1.25rem;
  color: var(--medium-gray);
  max-width: 600px;
  margin: 0 auto;
}

@media (max-width: 1024px) {
  .hero {
    min-height: auto;
    padding: calc(100px + var(--space-xl)) 0 var(--space-xl);
  }

  .hero__bg {
    width: 100%;
    height: 50%;
    top: auto;
    bottom: 0;
    border-radius: 40% 40% 0 0;
  }

  .hero__image {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    width: 100%;
    max-width: 500px;
    margin: var(--space-xl) auto 0;
  }
}

@media (max-width: 768px) {
  .hero__image {
    display: none;
  }
}

/* ========================================
   Feature Cards (Alternating Layout)
======================================== */
.features {
  position: relative;
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
  margin-bottom: var(--space-3xl);
}

.feature-row:last-child {
  margin-bottom: 0;
}

.feature-row--reverse {
  direction: rtl;
}

.feature-row--reverse > * {
  direction: ltr;
}

.feature__content {
  padding: var(--space-lg);
}

.feature__icon {
  width: 64px;
  height: 64px;
  background: var(--primary-pale);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
}

.feature__icon svg {
  width: 32px;
  height: 32px;
  color: var(--primary);
}

.feature__label {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: var(--space-sm);
}

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

.feature__title em {
  font-style: italic;
  color: var(--primary);
}

.feature__text {
  margin-bottom: var(--space-lg);
}

.feature__text--quote {
  font-style: italic;
  color: var(--primary-dark);
  margin-top: var(--space-sm);
}

.feature__image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.feature__img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.feature__image::before {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100px;
  height: 100px;
  background: var(--primary);
  border-radius: 50%;
  opacity: 0.1;
  z-index: -1;
}

.feature__stat {
  position: absolute;
  bottom: var(--space-lg);
  left: var(--space-lg);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.feature__stat-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--primary);
  line-height: 1;
}

.feature__stat-label {
  font-size: 0.875rem;
  color: var(--medium-gray);
  margin-top: var(--space-xs);
}

@media (max-width: 768px) {
  .feature-row {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .feature-row--reverse {
    direction: ltr;
  }

  .feature__content {
    padding: 0;
  }
}

/* ========================================
   Metrics Section
======================================== */
.metrics {
  position: relative;
  overflow: hidden;
}

.metrics::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.metrics__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  text-align: center;
  position: relative;
}

.metric {
  padding: var(--space-lg);
}

.metric__value {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 400;
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.metric__value sup {
  font-size: 0.4em;
  vertical-align: super;
}

.metric__label {
  font-size: 1.1rem;
  opacity: 0.9;
}

@media (max-width: 768px) {
  .metrics__grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
}

/* ========================================
   Video Section
======================================== */
.video-section {
  position: relative;
  overflow: hidden;
}

.video-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.video-wrapper {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

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

.video-subtitle {
  text-align: center;
  margin-top: var(--space-md);
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--text-sm);
  font-style: italic;
}

/* ========================================
   Services Tabs
======================================== */
.services-tabs {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.services-tabs__nav {
  display: flex;
  border-bottom: 1px solid var(--light-gray);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.services-tabs__btn {
  flex: 1;
  min-width: 200px;
  padding: var(--space-lg);
  font-size: 1rem;
  font-weight: 500;
  color: var(--medium-gray);
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  transition: all var(--duration-fast);
  white-space: nowrap;
}

.services-tabs__btn:hover {
  color: var(--primary);
  background: var(--primary-pale);
}

.services-tabs__btn.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
  background: var(--primary-pale);
}

.services-tabs__content {
  display: none;
  padding: var(--space-xl);
  animation: fadeIn 0.4s ease;
}

.services-tabs__content.active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.services-tabs__content--centered.active {
  display: flex;
  justify-content: center;
}

.services-tabs__content--centered .services-tabs__text {
  max-width: 600px;
  text-align: center;
}

.services-tabs__content--centered .services-tabs__features {
  align-items: center;
}

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

.services-tabs__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.services-tabs__text h3 {
  margin-bottom: var(--space-md);
}

.services-tabs__text p {
  margin-bottom: var(--space-lg);
}

.services-tabs__features {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.services-tabs__feature {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.services-tabs__feature-icon {
  width: 24px;
  height: 24px;
  background: var(--primary-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.services-tabs__feature-icon svg {
  width: 14px;
  height: 14px;
  color: var(--primary);
}

@media (max-width: 768px) {
  .services-tabs__content.active {
    grid-template-columns: 1fr;
  }

  .services-tabs__btn {
    min-width: 150px;
    padding: var(--space-md);
    font-size: 0.9rem;
  }
}

/* ========================================
   Services Grid (Services Page)
======================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  transition: all var(--duration-normal) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration-normal) var(--ease-out);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

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

.service-card__icon {
  width: 72px;
  height: 72px;
  background: var(--primary-pale);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
  transition: all var(--duration-normal) var(--ease-out);
}

.service-card:hover .service-card__icon {
  background: var(--primary);
}

.service-card__icon svg {
  width: 36px;
  height: 36px;
  color: var(--primary);
  transition: color var(--duration-normal);
}

.service-card:hover .service-card__icon svg {
  color: var(--white);
}

.service-card__title {
  margin-bottom: var(--space-sm);
}

.service-card__subtitle {
  font-size: 0.9rem;
  color: var(--primary);
  font-weight: 500;
  margin-bottom: var(--space-md);
}

.service-card__text {
  margin-bottom: var(--space-lg);
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-weight: 500;
  color: var(--primary);
  transition: gap var(--duration-fast);
}

.service-card__link:hover {
  gap: var(--space-sm);
}

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

/* ========================================
   Testimonials
======================================== */
.testimonials {
  position: relative;
}

.testimonials__slider {
  overflow: hidden;
  position: relative;
}

.testimonials__track {
  display: flex;
  transition: transform 0.5s var(--ease-out);
}

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

.testimonial__card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
  max-width: 800px;
  margin: 0 auto;
}

.testimonial__quote {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--black);
  margin-bottom: var(--space-lg);
  position: relative;
}

.testimonial__quote::before {
  content: '"';
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--primary);
  opacity: 0.3;
  position: absolute;
  top: -20px;
  left: -10px;
  line-height: 1;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.testimonial__avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--primary-light);
}

.testimonial__avatar-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--primary);
  font-size: 1.25rem;
}

.testimonial__name {
  font-weight: 600;
  color: var(--black);
  margin-bottom: 2px;
}

.testimonial__role {
  font-size: 0.9rem;
  color: var(--medium-gray);
}

.testimonials__controls {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.testimonials__btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--duration-fast);
}

.testimonials__btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.testimonials__btn svg {
  width: 20px;
  height: 20px;
}

.testimonials__dots {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.testimonials__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--light-gray);
  border: none;
  cursor: pointer;
  transition: all var(--duration-fast);
}

.testimonials__dot.active {
  background: var(--primary);
  transform: scale(1.2);
}

/* ========================================
   FAQ Accordion
======================================== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow var(--duration-fast);
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
}

.faq-item__header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg);
  font-size: 1.1rem;
  font-weight: 500;
  text-align: left;
  color: var(--black);
  background: transparent;
  cursor: pointer;
  transition: background var(--duration-fast);
}

.faq-item__header:hover {
  background: var(--primary-pale);
}

.faq-item.open .faq-item__header {
  background: var(--primary-pale);
}

.faq-item__icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--duration-fast);
}

.faq-item.open .faq-item__icon {
  transform: rotate(45deg);
}

.faq-item__content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--duration-normal) var(--ease-out);
}

.faq-item.open .faq-item__content {
  max-height: 500px;
}

.faq-item__answer {
  padding: var(--space-md) var(--space-lg) var(--space-lg);
  color: var(--dark-gray);
  line-height: 1.8;
}

/* ========================================
   CTA Section
======================================== */
.cta {
  text-align: center;
  position: relative;
}

.cta__card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-3xl) var(--space-xl);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.cta__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(84, 180, 53, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

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

.cta__title em {
  font-style: italic;
  color: var(--primary);
}

.cta__text {
  font-size: 1.2rem;
  max-width: 500px;
  margin: 0 auto var(--space-xl);
}

/* ========================================
   Footer
======================================== */
.footer {
  background: var(--black);
  color: var(--white);
  padding: var(--space-3xl) 0 var(--space-lg);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
}

.footer__brand {
  max-width: 300px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: var(--space-md);
}

.footer__logo-icon {
  width: 40px;
  height: 40px;
  background: var(--primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
}

.footer__logo-img {
  height: 96px;
  width: auto;
}

.footer__tagline {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-lg);
}

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

.footer__social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--duration-fast);
}

.footer__social-link:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.footer__social-link svg {
  width: 18px;
  height: 18px;
}

.footer__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: var(--space-lg);
  color: var(--white);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer__link {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--duration-fast);
}

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

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-sm);
}

.footer__contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 3px;
}

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

.footer__copyright {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

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

.footer__legal a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  transition: color var(--duration-fast);
}

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

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

  .footer__brand {
    grid-column: span 2;
    max-width: 100%;
  }
}

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

  .footer__brand {
    grid-column: span 1;
  }

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

/* ========================================
   Values Grid
======================================== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

.value-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--duration-normal) var(--ease-out);
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.value-card__icon {
  width: 64px;
  height: 64px;
  background: var(--primary-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
}

.value-card__icon svg {
  width: 28px;
  height: 28px;
  color: var(--primary);
}

.value-card__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.value-card__text {
  font-size: 0.9rem;
  color: var(--medium-gray);
}

@media (max-width: 1024px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* ========================================
   Team Section
======================================== */
.team-card {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--space-xl);
  align-items: center;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  box-shadow: var(--shadow-lg);
}

.team-card__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.team-card__content {
  padding: var(--space-md);
}

.team-card__name {
  margin-bottom: var(--space-xs);
}

.team-card__role {
  color: var(--primary);
  font-weight: 500;
  margin-bottom: var(--space-md);
}

.team-card__bio {
  margin-bottom: var(--space-lg);
}

.team-card__quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--primary);
  padding-left: var(--space-md);
  border-left: 3px solid var(--primary);
}

.team-card--centered {
  display: block;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.team-card--centered .team-card__content {
  padding: var(--space-xl);
}

.team-card--centered .team-card__quote {
  border-left: none;
  padding-left: 0;
  padding: var(--space-md) var(--space-lg);
  border-top: 3px solid var(--primary);
  border-bottom: 3px solid var(--primary);
  margin-top: var(--space-lg);
}

@media (max-width: 768px) {
  .team-card {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   Contact Form
======================================== */
.contact-form {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  box-shadow: var(--shadow-lg);
}

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

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

.form-group--full {
  grid-column: span 2;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--black);
  margin-bottom: var(--space-xs);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: var(--space-md);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--black);
  background: var(--off-white);
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  transition: all var(--duration-fast);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(84, 180, 53, 0.1);
}

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

.form-submit {
  width: 100%;
}

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

  .form-group--full {
    grid-column: span 1;
  }
}

/* Contact Info Cards */
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
}

.contact-info-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.contact-info-card__icon {
  width: 56px;
  height: 56px;
  background: var(--primary-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
}

.contact-info-card__icon svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
}

.contact-info-card__title {
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.contact-info-card__text {
  color: var(--medium-gray);
  font-size: 0.95rem;
}

.contact-info-card__text a {
  color: var(--primary);
  transition: color var(--duration-fast);
}

.contact-info-card__text a:hover {
  color: var(--primary-dark);
}

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

/* ========================================
   Animations
======================================== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

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

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

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

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

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

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }

/* Scale on scroll */
.scale-in {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* ========================================
   Utility Classes
======================================== */
.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;
}

.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }

.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }

.pt-sm { padding-top: var(--space-sm); }
.pt-md { padding-top: var(--space-md); }
.pt-lg { padding-top: var(--space-lg); }
.pt-xl { padding-top: var(--space-xl); }

.pb-sm { padding-bottom: var(--space-sm); }
.pb-md { padding-bottom: var(--space-md); }
.pb-lg { padding-bottom: var(--space-lg); }
.pb-xl { padding-bottom: var(--space-xl); }

/* ========================================
   Print Styles
======================================== */
@media print {
  .navbar,
  .footer,
  .btn {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }

  .section {
    padding: 2rem 0;
  }
}
