@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* ========================================
   CERVENTRA — style.css
   ======================================== */

/* Service Group Headings */
.svc-group { margin-bottom: 3.5rem; }
.svc-group-heading {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}
.svc-group-heading::before,
.svc-group-heading::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--slate-200);
}
.svc-group-label {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(30,79,192,0.08);
  border: 1px solid rgba(30,79,192,0.2);
  border-radius: 999px;
  padding: 0.35rem 1rem;
  white-space: nowrap;
}

/* Service card badge */
.svc-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  z-index: 2;
}

/* About page styles */
.about-hero {
  position: relative;
  background: var(--slate-900);
  color: #fff;
  padding: 9rem 0 6rem;
  text-align: center;
  overflow: hidden;
}
.about-hero-bg {
  position: absolute; inset: 0;
  background-image: url('assets/img-medical-coding.png');
  background-size: cover; background-position: center;
  opacity: 0.3;
}
.about-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(15,45,107,0.9) 0%, rgba(30,79,192,0.75) 50%, rgba(15,45,107,0.9) 100%);
}
.about-hero .container { position: relative; z-index: 1; max-width: 900px; }
.about-hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.4rem 1.1rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(4px);
}
.about-hero h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.18; margin-bottom: 1.25rem; }
.about-hero p { font-size: 1.2rem; color: rgba(255,255,255,0.8); max-width: 640px; margin: 0 auto 2.5rem; }
.about-ctas { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.about-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
@media (max-width: 860px) {
  .about-two-col { grid-template-columns: 1fr; gap: 2.5rem; }
}
.about-img-wrap {
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  aspect-ratio: 4/3;
}
.about-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.about-img-badge {
  position: absolute;
  bottom: -1.5rem; left: -1.5rem;
  background: #fff;
  border-radius: 1rem;
  box-shadow: var(--shadow-lg);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid var(--slate-100);
}
.about-img-badge-icon {
  width: 2.5rem; height: 2.5rem;
  background: rgba(30,79,192,0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  font-size: 1.1rem;
}
.about-img-badge-text small { display: block; font-size: 0.7rem; color: var(--slate-500); font-weight: 600; }
.about-img-badge-text strong { font-size: 0.9rem; color: var(--slate-900); font-weight: 800; }

.section-badge {
  display: inline-block;
  background: rgba(30,79,192,0.1);
  color: var(--primary);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  max-width: 1000px;
  margin: 2.5rem auto 2rem;
}
@media (max-width: 900px) { .solutions-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .solutions-grid { grid-template-columns: 1fr 1fr; } }

.solution-card {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: 0.875rem;
  padding: 1.25rem;
  text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.solution-card:hover { border-color: rgba(30,79,192,0.3); box-shadow: var(--shadow-md); }
.solution-card-icon {
  width: 2.5rem; height: 2.5rem;
  background: rgba(30,79,192,0.1);
  border-radius: 0.5rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 0.75rem;
  color: var(--primary);
}
.solution-card span { font-size: 0.85rem; font-weight: 700; color: var(--slate-800); }

.stats-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.stat-card {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: 1.25rem;
  padding: 1.75rem;
  text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.stat-card:hover { border-color: rgba(30,79,192,0.25); box-shadow: var(--shadow-md); }
.stat-card-value { font-size: 2.25rem; font-weight: 900; color: var(--primary); margin-bottom: 0.5rem; }
.stat-card-label { font-size: 0.85rem; font-weight: 600; color: var(--slate-600); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  max-width: 1200px;
  margin: 0 auto;
}
@media (max-width: 1024px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } }

.why-card {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: 0.875rem;
  padding: 1.5rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.why-card:hover { border-color: rgba(30,79,192,0.3); box-shadow: var(--shadow-md); }
.why-card-icon {
  width: 2.75rem; height: 2.75rem;
  background: rgba(30,79,192,0.1);
  border-radius: 0.5rem;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}
.why-card h3 { font-size: 0.95rem; font-weight: 800; color: var(--slate-900); margin-bottom: 0.5rem; }
.why-card p { font-size: 0.82rem; color: var(--slate-500); line-height: 1.6; }

.about-partner-section {
  position: relative;
  background: var(--slate-900);
  color: #fff;
  padding: 6rem 0;
  text-align: center;
  overflow: hidden;
}
.about-partner-bg {
  position: absolute; inset: 0;
  background-image: url('assets/img-why-choose.png');
  background-size: cover; background-position: center;
  opacity: 0.2;
}
.about-partner-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(15,45,107,0.95) 0%, rgba(30,79,192,0.8) 50%, rgba(15,45,107,0.95) 100%);
}
.about-partner-section .container { position: relative; z-index: 1; max-width: 750px; }
.about-partner-section h2 { font-size: clamp(1.75rem, 4vw, 3rem); font-weight: 800; margin-bottom: 1.5rem; }
.about-partner-section p { font-size: 1.1rem; color: rgba(255,255,255,0.8); line-height: 1.7; }

.about-cta-section {
  background: var(--primary);
  color: #fff;
  padding: 5rem 0;
  text-align: center;
}
.about-cta-section h2 { font-size: 2.25rem; font-weight: 800; margin-bottom: 1rem; }
.about-cta-section p { font-size: 1.1rem; color: rgba(255,255,255,0.85); margin-bottom: 2.5rem; max-width: 600px; margin-left: auto; margin-right: auto; }

.check-list { list-style: none; padding: 0; margin-bottom: 2rem; }
.check-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--slate-700);
  margin-bottom: 0.75rem;
}
.check-list li::before {
  content: '✓';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem; height: 1.5rem;
  background: rgba(30,79,192,0.1);
  color: var(--primary);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 900;
  flex-shrink: 0;
}

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

:root {
  --primary:       #1e4fc0;
  --primary-dark:  #163a96;
  --primary-light: #4baee8;
  --navy:          #0f2d6b;
  --white:         #ffffff;
  --slate-50:      #f8fafc;
  --slate-100:     #f1f5f9;
  --slate-200:     #e2e8f0;
  --slate-300:     #cbd5e1;
  --slate-400:     #94a3b8;
  --slate-500:     #64748b;
  --slate-600:     #475569;
  --slate-700:     #334155;
  --slate-800:     #1e293b;
  --slate-900:     #0f172a;
  --amber:         #f59e0b;
  --green:         #22c55e;
  --red:           #ef4444;
  --radius:        0.5rem;
  --shadow-sm:     0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:     0 4px 12px rgba(0,0,0,0.10), 0 2px 4px rgba(0,0,0,0.06);
  --shadow-lg:     0 10px 30px rgba(0,0,0,0.12), 0 4px 8px rgba(0,0,0,0.06);
  --shadow-xl:     0 20px 50px rgba(0,0,0,0.15);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--slate-800);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

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

/* ========================================
   BUTTONS
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: inherit;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.875rem 2rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary { background: var(--primary); color: #ffffff !important; border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--slate-700); border-color: var(--slate-300); }
.btn-outline:hover { background: var(--slate-50); transform: translateY(-1px); }
.btn-white { background: var(--white); color: var(--primary); border-color: var(--white); }
.btn-white:hover { background: #f0f4ff; }
.btn-lg { padding: 1rem 2.5rem; font-size: 1.0625rem; }

/* ========================================
   TOP BAR
   ======================================== */
.topbar {
  background: var(--primary);
  color: rgba(255,255,255,0.95);
  padding: 0.5rem 0;
  font-size: 0.875rem;
  font-weight: 500;
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; }
.topbar-brand { display: none; }
.topbar-contacts { display: flex; align-items: center; gap: 1.5rem; margin-left: auto; }
.topbar-contacts a { display: flex; align-items: center; gap: 0.4rem; color: rgba(255,255,255,0.9); transition: color 0.2s; }
.topbar-contacts a:hover { color: #fff; }
.topbar-contacts svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ========================================
   NAVBAR
   ======================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--slate-100);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s;
}
.navbar.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
.navbar .container { display: flex; align-items: center; justify-content: space-between; padding-top: 0.875rem; padding-bottom: 0.875rem; }

.nav-logo { display: flex; align-items: center; gap: 0.5rem; }
.nav-logo img { height: 40px; width: 40px; object-fit: contain; }
.nav-logo-text { font-size: 1.5rem; font-weight: 800; color: var(--navy); letter-spacing: -0.02em; }
.nav-logo-text span { color: var(--primary-light); }

.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a { font-weight: 600; color: var(--slate-600); font-size: 0.9375rem; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--primary); }

.nav-dropdown { position: relative; }
.nav-dropdown-btn {
  display: flex; align-items: center; gap: 0.25rem;
  font-weight: 600; color: var(--slate-600); font-size: 0.9375rem;
  background: none; border: none; cursor: pointer; font-family: inherit;
  transition: color 0.2s; padding: 0;
}
.nav-dropdown-btn:hover { color: var(--primary); }
.nav-dropdown-btn svg { width: 16px; height: 16px; transition: transform 0.2s; }
.nav-dropdown:hover .nav-dropdown-btn svg { transform: rotate(180deg); }

.dropdown-menu {
  position: absolute;
  top: calc(100% + 0.75rem);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  overflow: hidden;
}
.nav-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown-menu a { display: block; padding: 0.75rem 1.25rem; font-weight: 600; color: var(--slate-700); font-size: 0.9375rem; transition: background 0.15s, color 0.15s; }
.dropdown-menu a:hover { background: var(--slate-50); color: var(--primary); }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--slate-700); border-radius: 2px; transition: all 0.3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  background: var(--white);
  border-top: 1px solid var(--slate-100);
  padding: 1rem 1.5rem 1.5rem;
  flex-direction: column;
  gap: 0.25rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a, .mobile-menu-service {
  display: block; padding: 0.65rem 0;
  font-weight: 600; color: var(--slate-700);
  border-bottom: 1px solid var(--slate-100); font-size: 0.9375rem;
}
.mobile-menu-service { cursor: pointer; user-select: none; }
.mobile-menu-services { padding-left: 1rem; display: none; }
.mobile-menu-services.open { display: block; }
.mobile-menu-services a { color: var(--slate-600); font-size: 0.9rem; border-color: var(--slate-50); }
.mobile-menu .btn { margin-top: 0.75rem; text-align: center; }

/* ========================================
   HERO (homepage)
   ======================================== */
.hero {
  background: linear-gradient(135deg, #f0f5ff 0%, #e8f0fe 60%, #dbeafe 100%);
  padding: 5rem 0 6rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(30,79,192,0.08) 0%, transparent 70%);
  top: -200px; right: -100px; border-radius: 50%;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(30,79,192,0.1); color: var(--primary);
  font-weight: 700; font-size: 0.8125rem;
  padding: 0.35rem 1rem; border-radius: 50px;
  margin-bottom: 1.5rem; letter-spacing: 0.04em; text-transform: uppercase;
}
.hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 800;
  color: var(--slate-900); line-height: 1.15; letter-spacing: -0.02em;
  margin-bottom: 1.25rem; max-width: 860px; margin-left: auto; margin-right: auto;
}
.hero h1 .highlight { color: var(--primary); }
.hero p { font-size: 1.125rem; color: var(--slate-600); max-width: 600px; margin: 0 auto 2.5rem; line-height: 1.7; }
.hero-ctas { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 3.5rem; }

.stats-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--white); border-radius: 1rem;
  box-shadow: var(--shadow-xl); border: 1px solid var(--slate-100);
  max-width: 860px; margin: 0 auto; overflow: hidden;
}
.stat { padding: 1.75rem 1rem; text-align: center; border-right: 1px solid var(--slate-100); }
.stat:last-child { border-right: none; }
.stat-value { font-size: 2rem; font-weight: 800; color: var(--primary); margin-bottom: 0.25rem; display: flex; align-items: center; justify-content: center; }
.stat-label { font-size: 0.75rem; font-weight: 600; color: var(--slate-500); text-transform: uppercase; letter-spacing: 0.05em; }

/* ========================================
   SECTION UTILITIES
   ======================================== */
.section { padding: 5rem 0; }
.section-alt { background: var(--slate-50); }
.section-dark { background: var(--slate-900); color: var(--white); }

.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 800; color: var(--slate-900); letter-spacing: -0.02em; margin-bottom: 0.75rem; }
.section-dark .section-header h2 { color: var(--white); }
.section-header p { font-size: 1.0625rem; color: var(--slate-500); max-width: 560px; margin: 0 auto; }
.section-dark .section-header p { color: rgba(255,255,255,0.6); }

.tag {
  display: inline-block; background: rgba(30,79,192,0.1); color: var(--primary);
  font-size: 0.8125rem; font-weight: 700; padding: 0.3rem 0.9rem;
  border-radius: 50px; margin-bottom: 1rem; letter-spacing: 0.04em; text-transform: uppercase;
}

/* ========================================
   SERVICE CARDS (homepage overview)
   ======================================== */
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; max-width: 900px; margin: 0 auto; }
.service-card {
  background: var(--white); border: 1px solid var(--slate-200);
  border-radius: 1rem; overflow: hidden;
  box-shadow: var(--shadow-md); transition: all 0.25s ease; display: block; color: inherit;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-xl); border-color: rgba(30,79,192,0.2); }
.service-card-img { height: 200px; position: relative; overflow: hidden; }
.service-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.service-card:hover .service-card-img img { transform: scale(1.06); }
.service-card-img-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,45,107,0.65) 0%, transparent 55%); }
.service-card-img-badge {
  position: absolute; bottom: 0.75rem; left: 0.75rem;
  background: rgba(30,79,192,0.9); color: #fff;
  font-size: 0.75rem; font-weight: 700; padding: 0.3rem 0.8rem;
  border-radius: 50px; text-transform: uppercase; letter-spacing: 0.04em; backdrop-filter: blur(4px);
}
.service-card-body { padding: 2rem; }
.service-card-body h3 { font-size: 1.375rem; font-weight: 800; color: var(--slate-900); margin-bottom: 0.75rem; }
.service-card-body p { color: var(--slate-500); margin-bottom: 1.25rem; }
.service-card-link { display: flex; align-items: center; gap: 0.4rem; color: var(--primary); font-weight: 700; transition: gap 0.2s; }
.service-card:hover .service-card-link { gap: 0.6rem; }

/* ========================================
   ABOUT SECTION
   ======================================== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.about-text h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 800; color: var(--slate-900); letter-spacing: -0.02em; margin-bottom: 1rem; line-height: 1.2; }
.about-text p { color: var(--slate-600); font-size: 1.0625rem; margin-bottom: 1.75rem; line-height: 1.7; }
.checklist { display: flex; flex-direction: column; gap: 0.875rem; }
.checklist li { display: flex; align-items: flex-start; gap: 0.75rem; color: var(--slate-700); font-weight: 500; }
.checklist li svg { width: 22px; height: 22px; color: var(--primary); flex-shrink: 0; margin-top: 1px; }
.about-visual { position: relative; }
.about-visual-box { aspect-ratio: 4/3; border-radius: 1.25rem; overflow: hidden; box-shadow: var(--shadow-xl); }
.about-visual-box img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-badge {
  position: absolute; bottom: -2rem; left: -2rem;
  background: var(--white); padding: 1rem 1.5rem; border-radius: 0.875rem;
  box-shadow: var(--shadow-lg); border: 1px solid var(--slate-100);
  display: flex; align-items: center; gap: 0.875rem;
}
.about-badge-icon { width: 44px; height: 44px; background: rgba(30,79,192,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.about-badge-icon svg { width: 22px; height: 22px; color: var(--primary); }
.about-badge-label { font-size: 0.8125rem; color: var(--slate-500); }
.about-badge-value { font-weight: 800; color: var(--slate-900); font-size: 0.9375rem; }

/* ========================================
   SERVICE SECTION HERO (within index.html)
   ======================================== */
.service-section-hero {
  background-color: var(--navy);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 6rem 0 5rem;
  position: relative;
  color: var(--white);
  text-align: center;
}
.service-section-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(15,45,107,0.82) 0%, rgba(30,79,192,0.65) 100%);
}
.service-section-hero h1,
.service-section-hero h2 { font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 800; margin-bottom: 1rem; letter-spacing: -0.02em; }
.service-section-hero p { font-size: 1.125rem; color: rgba(255,255,255,0.8); max-width: 600px; margin: 0 auto 2rem; }
.page-hero-icon {
  width: 64px; height: 64px; margin: 0 auto 1.5rem;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%; display: flex; align-items: center; justify-content: center; backdrop-filter: blur(4px);
}
.page-hero-icon svg { width: 32px; height: 32px; color: var(--white); }

/* ========================================
   SERVICE BLOCKS (image + content cards)
   ======================================== */
.services-blocks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.service-block-img { background: var(--white); border-radius: 1rem; overflow: hidden; box-shadow: var(--shadow-md); }
.service-block-photo { height: 176px; overflow: hidden; }
.service-block-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; display: block; }
.service-block-img:hover .service-block-photo img { transform: scale(1.05); }
.service-block-content { padding: 1.75rem; }
.service-block-content h3 {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 1.0625rem; font-weight: 800; color: var(--slate-900); margin-bottom: 1rem;
}
.service-block-content h3 svg { width: 20px; height: 20px; color: var(--primary); flex-shrink: 0; }
.service-block-content ul { display: flex; flex-direction: column; gap: 0.5rem; }
.service-block-content li {
  display: flex; align-items: flex-start; gap: 0.6rem;
  color: var(--slate-600); font-size: 0.9375rem;
}
.service-block-content li::before {
  content: ''; width: 7px; height: 7px; background: var(--primary);
  border-radius: 50%; flex-shrink: 0; margin-top: 0.45rem;
}

/* Specialties */
.specialties-grid { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.specialty-tag {
  background: var(--white); border: 1px solid var(--slate-200);
  border-radius: 50px; padding: 0.4rem 1rem;
  font-size: 0.875rem; font-weight: 600; color: var(--slate-700); transition: all 0.2s;
}
.specialty-tag:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }

/* ========================================
   WHY CERVENTRA — bg image section
   ======================================== */
.why-bg-section {
  background-color: var(--slate-800);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}
.why-bg-section::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(248,250,252,0.97);
}
.why-bg-section .container { position: relative; z-index: 1; }

.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.feature-card {
  background: var(--white); border: 1px solid var(--slate-100);
  border-radius: 1rem; padding: 1.75rem 1.5rem; text-align: center; transition: all 0.2s;
}
.feature-card:hover { border-color: rgba(30,79,192,0.25); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.feature-icon {
  width: 56px; height: 56px; background: var(--white); border-radius: 0.75rem;
  box-shadow: var(--shadow-sm); display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem; color: var(--primary);
}
.feature-icon svg { width: 26px; height: 26px; }
.feature-card h3 { font-size: 1.0625rem; font-weight: 800; color: var(--slate-900); margin-bottom: 0.5rem; }
.feature-card p { font-size: 0.9375rem; color: var(--slate-500); }

/* ========================================
   HOW IT WORKS
   ======================================== */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; max-width: 900px; margin: 0 auto; position: relative; }
.steps-grid::before { content: ''; position: absolute; top: 3rem; left: 16%; right: 16%; height: 2px; background: rgba(255,255,255,0.1); }
.step { text-align: center; position: relative; z-index: 1; }
.step-number {
  width: 88px; height: 88px; background: rgba(255,255,255,0.06);
  border: 3px solid rgba(255,255,255,0.1); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.75rem; font-size: 1.75rem; font-weight: 800; color: var(--primary-light);
}
.step h3 { font-size: 1.125rem; font-weight: 700; color: var(--white); margin-bottom: 0.75rem; }
.step p { color: rgba(255,255,255,0.55); font-size: 0.9375rem; }

/* ========================================
   TESTIMONIALS
   ======================================== */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.testimonial-card { background: var(--white); border: 1px solid var(--slate-200); border-radius: 1rem; padding: 2rem; box-shadow: var(--shadow-md); }
.stars { color: var(--amber); font-size: 1.125rem; margin-bottom: 1rem; letter-spacing: 2px; }
.testimonial-card blockquote { font-style: italic; color: var(--slate-600); line-height: 1.7; margin-bottom: 1.5rem; }
.testimonial-author { font-weight: 800; color: var(--slate-900); }
.testimonial-role { font-size: 0.875rem; color: var(--slate-500); }

/* ========================================
   TRUST BAR
   ======================================== */
.trust-bar { padding: 2rem 0; border-top: 1px solid var(--slate-200); border-bottom: 1px solid var(--slate-200); background: var(--white); }
.trust-badges { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 2.5rem; }
.trust-badge { display: flex; align-items: center; gap: 0.6rem; font-weight: 700; font-size: 1rem; color: var(--slate-700); opacity: 0.6; transition: opacity 0.3s; }
.trust-badges:hover .trust-badge { opacity: 0.4; }
.trust-badges:hover .trust-badge:hover { opacity: 1; }
.trust-badge svg { width: 28px; height: 28px; color: var(--primary); }

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section { background: var(--primary); padding: 5rem 0; text-align: center; }
.cta-section h2 { font-size: clamp(1.75rem, 3vw, 2.75rem); font-weight: 800; color: var(--white); margin-bottom: 1rem; letter-spacing: -0.02em; }
.cta-section p { font-size: 1.125rem; color: rgba(255,255,255,0.8); max-width: 560px; margin: 0 auto 2rem; }

/* ========================================
   CONTACT PAGE
   ======================================== */
.contact-split {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
}
.contact-info-col { display: flex; flex-direction: column; gap: 2rem; }
.contact-info h2 { font-size: 1.5rem; font-weight: 800; color: var(--slate-900); margin-bottom: 1.75rem; }
.info-items { display: flex; flex-direction: column; gap: 1.5rem; }
.info-item { display: flex; align-items: flex-start; gap: 1rem; }
.info-icon { width: 42px; height: 42px; background: rgba(30,79,192,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--primary); }
.info-icon svg { width: 18px; height: 18px; }
.info-label { font-weight: 700; color: var(--slate-900); margin-bottom: 0.2rem; font-size: 0.9375rem; }
.info-value { color: var(--slate-500); font-size: 0.9375rem; line-height: 1.5; }
.info-value a { color: var(--slate-500); transition: color 0.2s; }
.info-value a:hover { color: var(--primary); }

.hours-block { padding-top: 1.5rem; border-top: 1px solid var(--slate-100); }
.hours-block h3 { font-size: 1rem; font-weight: 800; color: var(--slate-900); margin-bottom: 1rem; }
.hours-row { display: flex; justify-content: space-between; font-size: 0.9rem; color: var(--slate-600); padding: 0.4rem 0; border-bottom: 1px solid var(--slate-100); }

/* Form card */
.form-card { background: var(--white); border: 1px solid var(--slate-200); border-radius: 1rem; padding: 2.5rem; box-shadow: var(--shadow-md); }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-weight: 700; font-size: 0.9rem; color: var(--slate-700); margin-bottom: 0.4rem; }
.req { color: var(--red); }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 0.75rem 1rem; font-family: inherit; font-size: 0.9375rem; color: var(--slate-800); border: 1.5px solid var(--slate-200); border-radius: var(--radius); background: var(--white); transition: border-color 0.2s, box-shadow 0.2s; outline: none; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(30,79,192,0.08); }
.form-group textarea { min-height: 130px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.select-wrapper { position: relative; }
.select-wrapper select { appearance: none; cursor: pointer; padding-right: 2.5rem; }
.select-wrapper::after { content: '▾'; position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); color: var(--slate-500); pointer-events: none; font-size: 0.85rem; }
.form-btn { width: 100%; margin-top: 0.5rem; padding: 1rem; font-size: 1rem; }

.alert { display: flex; align-items: flex-start; gap: 0.75rem; padding: 1rem 1.25rem; border-radius: var(--radius); margin-bottom: 1.25rem; font-size: 0.9375rem; }
.alert svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 1px; }
.alert-success { background: #f0fdf4; border: 1px solid #bbf7d0; color: #166534; }
.alert-success svg { color: var(--green); }
.alert-error { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }
.alert-error svg { color: var(--red); }
.hidden { display: none !important; }

/* Map */
.map-section { height: 380px; width: 100%; }
.map-section iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ========================================
   FOOTER
   ======================================== */
.footer { background: var(--slate-900); color: rgba(255,255,255,0.7); padding: 4rem 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 3rem; margin-bottom: 3rem; }
.footer-logo { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem; }
.footer-logo img { height: 36px; width: 36px; object-fit: contain; }
.footer-logo-text { font-size: 1.375rem; font-weight: 800; color: var(--white); letter-spacing: -0.02em; }
.footer-logo-text span { color: var(--primary-light); }
.footer-brand p { font-size: 0.9rem; line-height: 1.6; color: rgba(255,255,255,0.5); }
.footer-col h4 { font-size: 0.875rem; font-weight: 800; color: var(--white); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 1.25rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-col a { color: rgba(255,255,255,0.5); font-size: 0.9375rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--white); }
.footer-contact { display: flex; flex-direction: column; gap: 0.875rem; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.9rem; color: rgba(255,255,255,0.5); }
.footer-contact-item svg, .footer-contact svg { width: 18px; height: 18px; color: var(--primary-light); flex-shrink: 0; margin-top: 1px; }
.footer-contact-item a { color: rgba(255,255,255,0.5); }
.footer-contact-item a:hover { color: var(--white); }
.sms-consent { font-size: 0.78rem; color: var(--slate-500, #64748b); line-height: 1.6; margin-top: 0.875rem; }
.sms-consent a { color: var(--primary); text-decoration: underline; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.5rem 0;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.875rem; color: rgba(255,255,255,0.35);
}
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { color: rgba(255,255,255,0.35); transition: color 0.2s; }
.footer-bottom-links a:hover { color: rgba(255,255,255,0.7); }

/* ========================================
   PERFORMANCE CHARTS SECTION
   ======================================== */
.charts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
}
.chart-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 1rem;
  padding: 1.75rem;
  box-shadow: var(--shadow-md);
}
.chart-header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.chart-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--slate-900);
}
.chart-legend {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  color: var(--slate-500);
  font-weight: 500;
}
.legend-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}
.legend-blue     { background: #1e4fc0; }
.legend-gray     { background: #94a3b8; border: 2px solid #94a3b8; background: transparent; }
.legend-lightgray { background: #e2e8f0; }
.legend-green    { background: #22c55e; }
.chart-wrap {
  width: 100%;
  overflow-x: auto;
}
.chart-svg {
  width: 100%;
  height: auto;
  display: block;
  min-width: 320px;
}
.chart-caption {
  margin-top: 1rem;
  font-size: 1.0625rem;
  color: var(--slate-700);
  line-height: 1.5;
}
.chart-caption strong {
  color: var(--primary);
}

/* ========================================
   SERVICE ITEM DESCRIPTIONS
   ======================================== */
.service-block-content li {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  padding-left: 1rem;
  position: relative;
}
.service-block-content li::before {
  position: absolute;
  left: 0;
  top: 0.45rem;
}
.svc-name {
  font-weight: 700;
  color: var(--slate-800);
  font-size: 0.9rem;
  display: block;
}
.svc-desc {
  font-size: 0.8125rem;
  color: var(--slate-500);
  display: block;
  line-height: 1.5;
}

/* ========================================
   SERVICE ACCORDION CARDS
   ======================================== */
.svc-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.svc-card {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: box-shadow 0.3s ease, outline 0.2s ease;
  background: #fff;
  cursor: pointer;
}
.svc-card:hover { box-shadow: var(--shadow-xl); }
.svc-card.open { outline: 2px solid var(--primary); box-shadow: var(--shadow-xl); }
.svc-card-img-wrap {
  position: relative;
  height: 224px;
  overflow: hidden;
}
.svc-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.svc-card:hover .svc-card-img-wrap img { transform: scale(1.05); }
.svc-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(15,45,107,0.40) 0%, rgba(15,45,107,0.65) 45%, rgba(15,45,107,0.92) 100%);
}
.svc-card-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.4rem;
}
.svc-card-text h3 {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.4rem;
}
.svc-card-text p {
  color: rgba(226,232,240,0.9);
  font-size: 0.8125rem;
  line-height: 1.5;
  margin-bottom: 0.85rem;
}
.svc-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(30,79,192,0.80);
  color: #fff;
  border: none;
  border-radius: 9999px;
  padding: 0.4rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
  font-family: inherit;
  backdrop-filter: blur(4px);
  width: fit-content;
}
.svc-card-btn:hover { background: var(--primary); }
.svc-chevron {
  font-size: 0.65rem;
  transition: transform 0.3s ease;
  display: inline-block;
}
.svc-card.open .svc-chevron { transform: rotate(180deg); }
.svc-card-expand {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s ease;
  background: #fff;
  border-top: 1px solid var(--slate-100);
}
.svc-card.open .svc-card-expand { max-height: 600px; }
.svc-card-expand ul {
  padding: 1.25rem 1.25rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.svc-card-expand ul li {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
}
.svc-card-expand ul li::before {
  content: "✓";
  color: var(--primary);
  font-weight: 700;
  font-size: 0.8rem;
  margin-top: 0.1rem;
  flex-shrink: 0;
}
.svc-card-cta {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem 1.25rem;
  flex-wrap: wrap;
}
.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.8125rem;
  height: auto;
}
.btn-outline {
  background: transparent;
  border: 1.5px solid var(--primary);
  color: var(--primary);
}
.btn-outline:hover { background: var(--primary); color: #fff; }

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

/* ========================================
   ANIMATIONS
   ======================================== */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-badge { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .charts-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .topbar-brand { display: block; font-size: 0.8rem; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(3) { border-right: 1px solid var(--slate-100); }
  .services-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .steps-grid::before { display: none; }
  .services-blocks { grid-template-columns: 1fr; }
  .contact-split { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.75rem; text-align: center; }
  .hero { padding: 3.5rem 0 4rem; }
  .section { padding: 3.5rem 0; }
  .service-section-hero { padding: 4rem 0 3.5rem; }
  .trust-badges { gap: 1.5rem; }
}

@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { text-align: center; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
}
