/*
Theme Name: CEM Consulting
Theme URI: https://cem-consulting.ch
Author: CEM Consulting Sarl
Author URI: https://cem-consulting.ch
Description: Theme premium pour CEM Consulting - Conseil strategique et transformation digitale
Version: 1.0.0
License: Proprietary
Text Domain: cem-consulting
*/

/* ==================== BASE RESET ==================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Barlow', sans-serif; font-weight: 400; color: #1D1D1B; background: #F7FBFD; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; }

/* ==================== TYPOGRAPHY ==================== */
.font-barlow { font-family: 'Barlow', sans-serif; }
.font-barlow-condensed { font-family: 'Barlow Condensed', sans-serif; }
.fw-400 { font-weight: 400; }
.fw-500 { font-weight: 500; }
.fw-600 { font-weight: 600; }
.fw-900 { font-weight: 900; }

/* ==================== COLORS ==================== */
:root {
  --primary: #58B2D6;
  --primary-light: #C5E1E8;
  --dark: #1D1D1B;
  --light: #F7FBFD;
  --muted: #8A9BAA;
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(60px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-100px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-60px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(60px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInScale {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes float {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.3; }
  50% { transform: scale(1.2) rotate(90deg); opacity: 0.5; }
}
@keyframes floatReverse {
  0%, 100% { transform: scale(1.2) rotate(90deg); opacity: 0.5; }
  50% { transform: scale(1) rotate(0deg); opacity: 0.3; }
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}
@keyframes scrollDotFade {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
@keyframes slideUnderline {
  from { width: 0; }
  to { width: 100%; }
}

/* ==================== UTILITY ==================== */
/* Default: everything visible. JS adds .aos-init to <html> when ready. */
.animate-on-scroll {
  opacity: 1;
  transform: none;
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
/* Only hide elements when JS has confirmed it's running */
html.aos-init .animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
}
html.aos-init .animate-on-scroll.animate-left {
  transform: translateX(-60px);
}
html.aos-init .animate-on-scroll.animate-right {
  transform: translateX(60px);
}
html.aos-init .animate-on-scroll.animate-scale {
  transform: scale(0.8);
}
html.aos-init .animate-on-scroll.is-visible,
.animate-on-scroll.is-visible {
  opacity: 1;
  transform: none;
}

/* Stagger children */
.stagger-children .animate-on-scroll:nth-child(1) { transition-delay: 0.1s; }
.stagger-children .animate-on-scroll:nth-child(2) { transition-delay: 0.2s; }
.stagger-children .animate-on-scroll:nth-child(3) { transition-delay: 0.3s; }
.stagger-children .animate-on-scroll:nth-child(4) { transition-delay: 0.4s; }
.stagger-children .animate-on-scroll:nth-child(5) { transition-delay: 0.5s; }
.stagger-children .animate-on-scroll:nth-child(6) { transition-delay: 0.6s; }

/* ==================== NAVBAR ==================== */
.cem-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: all 0.5s ease;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  animation: fadeInDown 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.cem-navbar.scrolled {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 4px 30px rgba(0,0,0,0.08);
  border-bottom: 1px solid rgba(197, 225, 232, 0.3);
}
.nav-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
}
@media (min-width: 1024px) { .nav-inner { padding: 0 3rem; } }

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: transform 0.3s ease;
}
.nav-logo:hover { transform: scale(1.05); }
.nav-logo-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 1.1rem;
}
.nav-logo-text {
  font-family: 'Barlow', sans-serif;
  font-weight: 600;
  color: var(--dark);
  display: none;
}
@media (min-width: 640px) { .nav-logo-text { display: block; } }

.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
}
@media (min-width: 768px) { .nav-links { display: flex; } }

.nav-link {
  position: relative;
  font-family: 'Barlow', sans-serif;
  font-weight: 500;
  color: var(--dark);
  transition: color 0.3s ease;
}
.nav-link:hover, .nav-link.active { color: var(--primary); }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  height: 2px;
  width: 0;
  background: var(--primary);
  transition: width 0.3s ease;
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.nav-cta {
  display: inline-block;
  padding: 0.625rem 1.5rem;
  border-radius: 9999px;
  background: var(--primary);
  color: #fff;
  font-family: 'Barlow', sans-serif;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(88, 178, 214, 0.3);
  transition: all 0.3s ease;
}
.nav-cta:hover {
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 15px 35px rgba(88, 178, 214, 0.4);
}

/* Mobile menu button */
.mobile-menu-btn {
  display: block;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--dark);
  padding: 0.5rem;
}
@media (min-width: 768px) { .mobile-menu-btn { display: none; } }
.mobile-menu-btn svg { width: 28px; height: 28px; }

/* Mobile menu */
.mobile-menu {
  display: none;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(197, 225, 232, 0.3);
  padding: 1.5rem;
}
.mobile-menu.is-open { display: block; }
@media (min-width: 768px) { .mobile-menu { display: none !important; } }
.mobile-menu a {
  display: block;
  padding: 0.75rem 0;
  font-family: 'Barlow', sans-serif;
  font-weight: 500;
  color: var(--dark);
  transition: color 0.3s ease;
}
.mobile-menu a:hover, .mobile-menu a.active { color: var(--primary); }
.mobile-menu .nav-cta {
  display: block;
  text-align: center;
  margin-top: 1rem;
}

/* ==================== LOGO ==================== */
.nav-logo-img {
  height: 40px;
  width: auto;
  display: block;
}

/* ==================== HERO ==================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #1D1D1B, #2a2a28, #1D1D1B);
  padding-top: 5rem;
  color: #fff;
}
.hero-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
}
.hero-bg-orb-1 {
  top: 5rem;
  right: 5rem;
  width: 24rem;
  height: 24rem;
  background: linear-gradient(135deg, rgba(88, 178, 214, 0.15), rgba(88, 178, 214, 0.05));
  animation: float 20s linear infinite;
}
.hero-bg-orb-2 {
  bottom: 5rem;
  left: 5rem;
  width: 24rem;
  height: 24rem;
  background: linear-gradient(225deg, rgba(88, 178, 214, 0.1), rgba(88, 178, 214, 0.08));
  animation: floatReverse 15s linear infinite;
}
.hero-content {
  position: relative;
  z-index: 10;
  max-width: 80rem;
  margin: 0 auto;
  padding: 5rem 1.5rem;
  text-align: center;
}
@media (min-width: 1024px) { .hero-content { padding: 5rem 3rem; } }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background: rgba(88, 178, 214, 0.15);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(88, 178, 214, 0.3);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  margin-bottom: 2rem;
  animation: fadeInScale 0.6s 0.2s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero-badge svg { color: var(--primary); }
.hero-badge span {
  font-family: 'Barlow', sans-serif;
  font-weight: 500;
  font-size: 0.875rem;
  color: #fff;
}

.hero-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: clamp(2.75rem, 8vw, 6rem);
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero-title .highlight { color: var(--primary); }

.hero-subtitle {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  color: rgba(255, 255, 255, 0.75);
  max-width: 48rem;
  margin: 0 auto 3rem;
  line-height: 1.6;
  animation: fadeInUp 0.8s 0.2s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  animation: fadeInUp 0.8s 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@media (min-width: 640px) { .hero-buttons { flex-direction: row; } }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, var(--primary), rgba(88, 178, 214, 0.8));
  color: #fff;
  font-family: 'Barlow', sans-serif;
  font-weight: 600;
  box-shadow: 0 20px 40px rgba(88, 178, 214, 0.4);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 25px 50px rgba(88, 178, 214, 0.5);
}
.btn-primary svg { transition: transform 0.3s ease; }
.btn-primary:hover svg { transform: translateX(4px); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 1rem 2rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(4px);
  color: var(--dark);
  font-family: 'Barlow', sans-serif;
  font-weight: 600;
  border: 1px solid var(--primary-light);
  box-shadow: 0 4px 15px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
  cursor: pointer;
}
.btn-secondary:hover {
  transform: scale(1.05) translateY(-2px);
  border-color: var(--primary);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* Stats */
.hero-stats {
  margin-top: 5rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 0.8s 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@media (min-width: 768px) { .hero-stats { grid-template-columns: repeat(4, 1fr); } }

.stat-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(4px);
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid rgba(88, 178, 214, 0.2);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}
.stat-card:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.stat-value {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: var(--primary);
  margin-bottom: 0.5rem;
}
.stat-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Override stat cards outside hero (about page etc) to light style */
.section .hero-stats .stat-card {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(197, 225, 232, 0.3);
  box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}
.section .hero-stats .stat-label {
  color: rgba(29, 29, 27, 0.7);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: fadeInUp 1s 1.5s both;
}
.scroll-mouse {
  width: 1.5rem;
  height: 2.5rem;
  border: 2px solid var(--primary);
  border-radius: 9999px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 0.5rem;
  animation: scrollBounce 2s ease-in-out infinite;
}
.scroll-dot {
  width: 0.375rem;
  height: 0.375rem;
  background: var(--primary);
  border-radius: 50%;
  animation: scrollDotFade 2s ease-in-out infinite;
}

/* ==================== SECTIONS COMMON ==================== */
.section {
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}
@media (min-width: 768px) { .section { padding: 8rem 0; } }
.section-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 10;
}
@media (min-width: 1024px) { .section-inner { padding: 0 3rem; } }

.section-label {
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-family: 'Barlow', sans-serif;
  font-weight: 600;
  margin-bottom: 1rem;
}
.section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: clamp(2rem, 5vw, 3.75rem);
  color: var(--dark);
  margin-bottom: 1.5rem;
}
.section-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(29, 29, 27, 0.7);
  max-width: 42rem;
  margin: 0 auto;
  line-height: 1.6;
}

.bg-decoration {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  pointer-events: none;
}

/* ==================== SERVICES ==================== */
.services-section {
  background: linear-gradient(180deg, #F7FBFD, #fff);
}
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) { .services-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

.service-card {
  position: relative;
  background: #fff;
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.06);
  border: 1px solid rgba(197, 225, 232, 0.3);
  overflow: hidden;
  transition: all 0.5s ease;
}
.service-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.service-card-overlay {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.service-card:hover .service-card-overlay { opacity: 0.05; }
.service-card-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.6s ease;
  color: #fff;
}
.service-card:hover .service-card-icon { transform: rotate(360deg) scale(1.1); }
.service-card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--dark);
  margin-bottom: 1rem;
  transition: color 0.3s ease;
}
.service-card:hover h3 { color: var(--primary); }
.service-card p {
  color: rgba(29, 29, 27, 0.7);
  line-height: 1.6;
}
.service-card-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 4px;
  width: 0;
  transition: width 0.3s ease;
}
.service-card:hover .service-card-bar { width: 100%; }

/* ==================== ABOUT ==================== */
.about-section {
  background: linear-gradient(135deg, #fff, rgba(197, 225, 232, 0.1), #F7FBFD);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) { .about-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }

.about-text .highlight { color: var(--primary); }
.about-text p.desc {
  font-size: 1.125rem;
  color: rgba(29, 29, 27, 0.7);
  margin-bottom: 2rem;
  line-height: 1.7;
}
.achievement-list { margin-bottom: 2.5rem; }
.achievement-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}
.achievement-item:hover { transform: translateX(4px); }
.achievement-item svg { color: var(--primary); flex-shrink: 0; transition: transform 0.3s ease; }
.achievement-item:hover svg { transform: scale(1.1); }

.value-card {
  position: relative;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(4px);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.06);
  border: 1px solid rgba(197, 225, 232, 0.3);
  overflow: hidden;
  transition: all 0.5s ease;
  margin-bottom: 1.5rem;
}
.value-card:hover {
  transform: translateX(10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.value-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(88, 178, 214, 0.05), transparent);
  opacity: 0;
  transition: opacity 0.5s ease;
}
.value-card:hover .value-card-overlay { opacity: 1; }
.value-card-inner {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}
.value-card-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, var(--primary), rgba(88, 178, 214, 0.7));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  color: #fff;
  transition: transform 0.6s ease;
}
.value-card:hover .value-card-icon { transform: rotate(360deg); }
.value-card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--dark);
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}
.value-card:hover h3 { color: var(--primary); }
.value-card p { color: rgba(29, 29, 27, 0.7); }
.value-card-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 4px;
  width: 0;
  background: linear-gradient(90deg, var(--primary), rgba(88, 178, 214, 0.7));
  transition: width 0.3s ease;
}
.value-card:hover .value-card-bar { width: 100%; }

/* ==================== EXPERTISE ==================== */
.expertise-section {
  background: linear-gradient(180deg, #F7FBFD, #fff);
}
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
@media (min-width: 768px) { .expertise-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .expertise-grid { grid-template-columns: repeat(6, 1fr); } }

.expertise-card {
  position: relative;
  background: #fff;
  border-radius: 1.5rem;
  padding: 1.5rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.06);
  border: 1px solid rgba(197, 225, 232, 0.3);
  text-align: center;
  overflow: hidden;
  transition: all 0.5s ease;
}
.expertise-card:hover {
  transform: translateY(-12px) scale(1.05);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.expertise-card-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(88, 178, 214, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.5s ease;
  border-radius: 1.5rem;
}
.expertise-card:hover .expertise-card-bg { opacity: 1; }
.expertise-card-icon {
  position: relative;
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, var(--primary), rgba(88, 178, 214, 0.7));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  color: #fff;
  transition: transform 0.6s ease;
}
.expertise-card:hover .expertise-card-icon { transform: rotate(360deg); }
.expertise-card h3 {
  position: relative;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 1.125rem;
  color: var(--dark);
  margin-bottom: 0.75rem;
  transition: color 0.3s ease;
}
.expertise-card:hover h3 { color: var(--primary); }
.expertise-card .skill {
  position: relative;
  font-size: 0.875rem;
  color: rgba(29, 29, 27, 0.6);
  line-height: 1.6;
}
.expertise-card-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), rgba(88, 178, 214, 0.7));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.expertise-card:hover .expertise-card-bar { transform: scaleX(1); }

/* ==================== CONTACT ==================== */
.contact-section {
  background: linear-gradient(135deg, #F7FBFD, rgba(197, 225, 232, 0.2), #fff);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }

.contact-form-wrapper {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(4px);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  border: 1px solid rgba(197, 225, 232, 0.3);
}
.form-group { margin-bottom: 1.5rem; }
.form-group label {
  display: block;
  font-family: 'Barlow', sans-serif;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.5rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  background: #F7FBFD;
  border: 1px solid var(--primary-light);
  font-family: 'Barlow', sans-serif;
  font-weight: 400;
  color: var(--dark);
  outline: none;
  transition: all 0.3s ease;
  font-size: 1rem;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(88, 178, 214, 0.2);
}
.form-group textarea { resize: none; min-height: 140px; }

/* CF7 overrides */
.wpcf7 .wpcf7-form-control-wrap { display: block; margin-bottom: 1.5rem; }
.wpcf7 input.wpcf7-form-control,
.wpcf7 textarea.wpcf7-form-control,
.wpcf7 select.wpcf7-form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  background: #F7FBFD;
  border: 1px solid var(--primary-light);
  font-family: 'Barlow', sans-serif;
  font-weight: 400;
  color: var(--dark);
  outline: none;
  transition: all 0.3s ease;
  font-size: 1rem;
}
.wpcf7 input.wpcf7-form-control:focus,
.wpcf7 textarea.wpcf7-form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(88, 178, 214, 0.2);
}
.wpcf7 textarea.wpcf7-form-control { resize: none; min-height: 140px; }
.wpcf7 input.wpcf7-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 1rem 2rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, var(--primary), rgba(88, 178, 214, 0.8));
  color: #fff;
  font-family: 'Barlow', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 20px 40px rgba(88, 178, 214, 0.4);
  transition: all 0.3s ease;
}
.wpcf7 input.wpcf7-submit:hover {
  transform: scale(1.02) translateY(-2px);
  box-shadow: 0 25px 50px rgba(88, 178, 214, 0.5);
}
.wpcf7 .wpcf7-response-output {
  border-radius: 0.75rem !important;
  margin: 1rem 0 0 !important;
  padding: 1rem !important;
  font-family: 'Barlow', sans-serif;
}
.wpcf7 label {
  display: block;
  font-family: 'Barlow', sans-serif;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.contact-info-card {
  display: block;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(4px);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.06);
  border: 1px solid rgba(197, 225, 232, 0.3);
  transition: all 0.5s ease;
  margin-bottom: 1.5rem;
}
.contact-info-card:hover {
  transform: translateX(10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.contact-info-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.contact-info-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, var(--primary), rgba(88, 178, 214, 0.7));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  color: #fff;
  transition: all 0.6s ease;
}
.contact-info-card:hover .contact-info-icon { transform: rotate(360deg) scale(1.1); }
.contact-info-label {
  font-size: 1.125rem;
  color: rgba(29, 29, 27, 0.6);
  margin-bottom: 0.25rem;
}
.contact-info-value {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 1.25rem;
  color: var(--dark);
  transition: color 0.3s ease;
}
.contact-info-card:hover .contact-info-value { color: var(--primary); }
.contact-info-arrow {
  margin-left: auto;
  color: var(--primary);
  opacity: 0;
  transition: all 0.3s ease;
}
.contact-info-card:hover .contact-info-arrow { opacity: 1; transform: translateX(8px); }

.cta-card {
  background: linear-gradient(135deg, var(--primary), rgba(88, 178, 214, 0.8));
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 20px 40px rgba(88, 178, 214, 0.4);
}
.cta-card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 1.875rem;
  color: #fff;
  margin-bottom: 1rem;
}
.cta-card p {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.btn-white {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  background: #fff;
  color: var(--primary);
  font-family: 'Barlow', sans-serif;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}
.btn-white:hover {
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* ==================== FOOTER ==================== */
.site-footer {
  background: var(--dark);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.footer-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 4rem 1.5rem 2rem;
  position: relative;
  z-index: 10;
}
@media (min-width: 1024px) { .footer-inner { padding: 5rem 3rem 2rem; } }

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }

.footer-brand-desc {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.footer-contact-item svg { color: var(--primary); flex-shrink: 0; margin-top: 2px; }
.footer-contact-item a,
.footer-contact-item span {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease;
}
.footer-contact-item a:hover { color: var(--primary); }

.footer-col h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  margin-bottom: 1rem;
}
.footer-col ul li { margin-bottom: 0.75rem; }
.footer-col ul li a {
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
  display: inline-block;
}
.footer-col ul li a:hover {
  color: var(--primary);
  transform: translateX(4px);
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}
.footer-social a {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
}
.footer-social a:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.footer-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  margin-bottom: 2rem;
}
.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}
@media (min-width: 768px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}
.footer-bottom p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
}
.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}
.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  transition: color 0.3s ease;
}
.footer-bottom-links a:hover { color: var(--primary); }

/* ==================== LEGAL PAGES ==================== */
.legal-page {
  padding: 8rem 0 4rem;
  min-height: 100vh;
}
.legal-page .section-inner {
  max-width: 56rem;
}
.legal-page h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--dark);
  margin-bottom: 2rem;
}
.legal-page h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--dark);
  margin: 2rem 0 1rem;
}
.legal-page p {
  color: rgba(29, 29, 27, 0.7);
  line-height: 1.8;
  margin-bottom: 1rem;
}
.legal-page ul { margin: 1rem 0; padding-left: 1.5rem; }
.legal-page ul li {
  color: rgba(29, 29, 27, 0.7);
  line-height: 1.8;
  margin-bottom: 0.5rem;
  list-style: disc;
}

/* ==================== FAQ ==================== */
.faq-item {
  background: #fff;
  border-radius: 1rem;
  border: 1px solid rgba(197, 225, 232, 0.3);
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
}
.faq-item:hover {
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 1.125rem;
  color: var(--dark);
  transition: color 0.3s ease;
}
.faq-item:hover .faq-question { color: var(--primary); }
.faq-toggle {
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--primary);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 1rem;
}
.faq-open .faq-toggle { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 1.5rem;
}
.faq-open .faq-answer {
  max-height: 300px;
  padding: 0 1.5rem 1.25rem;
}
.faq-answer p {
  color: rgba(29, 29, 27, 0.7);
  line-height: 1.7;
}

/* ==================== PROCESS STEPS RESPONSIVE ==================== */
@media (max-width: 767px) {
  .services-grid[style*="repeat(4"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .services-grid[style*="repeat(3"] {
    grid-template-columns: 1fr !important;
  }
}

/* ==================== WORDPRESS SPECIFIC ==================== */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}
