:root {
  /* Brand primaries — aligned with full-color EticaHealth wordmark */
  --blue: #0039a6;
  --blue-hover: #002e82;
  --green: #a2d345;
  --green-hover: #8eb835;
  --green-dark: #4d6220;
  --blue-light: #e2ebf9;
  --green-light: #f2f8ea;
  --text-dark: #1a1a2e;
  --text-body: #4a5568;
  --text-light: #718096;
  --bg-light: #f7f9fc;
  --white: #ffffff;
  --elements-roundness: 8px;
  /* Footer: match media/logo-footer.png canvas so the mark sits flush */
  --footer-bg: #180f2e;
  --footer-text: rgba(255, 255, 255, 0.9);
  --footer-text-muted: rgba(255, 255, 255, 0.68);
  --footer-text-subtle: rgba(255, 255, 255, 0.52);
  --footer-border: rgba(255, 255, 255, 0.12);
}

* { box-sizing: border-box; }

body {
  font-family: "Plus Jakarta Sans", "Segoe UI", Arial, sans-serif;
  color: var(--text-dark);
  margin: 0;
  padding: 0;
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: color 0.2s; }

img { max-width: 100%; }

/* ===========================
   NAVIGATION
   =========================== */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  transition: box-shadow 0.3s;
}

.site-nav.scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo img {
  display: block;
  height: 63.36px;
  width: auto;
  max-width: min(403.2px, 100.8vw);
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dark);
  opacity: 0.85;
}

.nav-links a:hover { color: var(--blue); opacity: 1; }

.nav-cta {
  display: inline-block;
  background: var(--green);
  color: var(--white) !important;
  padding: 10px 24px;
  border-radius: var(--elements-roundness);
  font-weight: 600;
  font-size: 0.95rem;
  opacity: 1 !important;
  transition: background 0.2s, transform 0.2s;
}

.nav-cta:hover {
  background: var(--green-hover);
  transform: translateY(-1px);
  color: var(--white) !important;
}

.nav-mobile-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-dark);
  padding: 8px;
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-mobile-btn { display: block; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    gap: 16px;
  }
}

/* ===========================
   HERO SECTION
   =========================== */
.hero-section {
  padding: 140px 24px 80px;
  background: linear-gradient(135deg, var(--bg-light) 0%, var(--white) 50%, var(--blue-light) 100%);
  position: relative;
  overflow: hidden;
}

.hero-section::after {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(162, 211, 69, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 60px;
}

.hero-text { flex: 1; }

.hero-badge {
  display: inline-block;
  background: var(--green-light);
  color: var(--green-dark);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 20px;
  color: var(--text-dark);
}

.hero-title span { color: var(--blue); }

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-body);
  line-height: 1.7;
  margin: 0 0 32px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--elements-roundness);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  text-align: center;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 57, 166, 0.35);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--blue);
  color: var(--blue);
}

.btn-outline:hover {
  background: var(--blue);
  color: var(--white);
}

.btn-green {
  background: var(--green);
  color: var(--white);
}

.btn-green:hover {
  background: var(--green-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(162, 211, 69, 0.35);
}

.hero-visual {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-graphic {
  width: 100%;
  max-width: 480px;
  background: linear-gradient(135deg, var(--blue-light) 0%, var(--green-light) 100%);
  border-radius: 24px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-stat-card {
  background: var(--white);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.hero-stat-card .stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.stat-icon.blue { background: var(--blue-light); color: var(--blue); }
.stat-icon.green { background: var(--green-light); color: var(--green-dark); }

.hero-stat-card h4 {
  margin: 0 0 4px;
  font-size: 1rem;
  font-weight: 700;
}

.hero-stat-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-light);
}

@media (max-width: 992px) {
  .hero-inner { flex-direction: column; gap: 40px; }
  .hero-title { font-size: 2.4rem; }
  .hero-visual { width: 100%; }
}

@media (max-width: 576px) {
  .hero-section { padding: 120px 16px 60px; }
  .hero-title { font-size: 2rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
}

/* ===========================
   STATS BAR
   =========================== */
.stats-bar {
  background: var(--blue);
  color: var(--white);
  padding: 40px 24px;
}

.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 24px;
}

.stat-item {
  text-align: center;
  flex: 1;
  min-width: 150px;
}

.stat-number {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 4px;
  color: var(--green);
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.85;
}

/* ===========================
   SECTION COMMON
   =========================== */
.section {
  padding: 80px 24px;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--green);
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin: 0 0 16px;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-body);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .section { padding: 60px 16px; }
  .section-title { font-size: 1.8rem; }
}

/* ===========================
   SOLUTIONS / SERVICES
   =========================== */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

@media (max-width: 992px) { .solutions-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 576px) { .solutions-grid { grid-template-columns: 1fr; } }

.solution-card {
  background: var(--white);
  border: 1px solid #e8ecf1;
  border-radius: 16px;
  padding: 32px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.solution-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--green);
  transform: scaleX(0);
  transition: transform 0.3s;
}

.solution-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
  border-color: transparent;
}

.solution-card:hover::before { transform: scaleX(1); }

.solution-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  background: var(--blue-light);
  color: var(--blue);
}

.solution-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 12px;
}

.solution-card p {
  font-size: 0.95rem;
  color: var(--text-body);
  margin: 0 0 20px;
  line-height: 1.6;
}

.solution-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.solution-link:hover { color: var(--green); }

.solution-link svg {
  transition: transform 0.2s;
}

.solution-link:hover svg { transform: translateX(4px); }

/* ===========================
   VALUE PROPOSITION
   =========================== */
.value-section {
  background: var(--bg-light);
}

.value-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 768px) { .value-grid { grid-template-columns: 1fr; gap: 32px; } }

.value-content h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin: 0 0 20px;
  line-height: 1.2;
}

.value-content > p {
  font-size: 1.05rem;
  color: var(--text-body);
  line-height: 1.7;
  margin: 0 0 32px;
}

.value-list { list-style: none; padding: 0; margin: 0; }

.value-list li {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  align-items: flex-start;
}

.value-check {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  margin-top: 2px;
}

.value-list li div h4 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 4px;
}

.value-list li div p {
  font-size: 0.92rem;
  color: var(--text-body);
  margin: 0;
  line-height: 1.5;
}

.value-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.value-card {
  background: var(--white);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

.value-card:nth-child(2) { margin-top: 40px; }
.value-card:nth-child(3) { margin-top: -20px; }

.value-card-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.value-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--blue);
}

.value-card p {
  font-size: 0.85rem;
  color: var(--text-light);
  margin: 0;
  line-height: 1.5;
}

/* ===========================
   PROGRAMS SECTION
   =========================== */
.programs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

@media (max-width: 768px) { .programs-grid { grid-template-columns: 1fr; } }

.program-card {
  background: var(--white);
  border-radius: 16px;
  padding: 40px;
  border: 1px solid #e8ecf1;
  transition: all 0.3s;
}

.program-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.06);
  border-color: var(--green);
}

.program-tag {
  display: inline-block;
  background: var(--blue-light);
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 16px;
}

.program-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 0 12px;
}

.program-card p {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.7;
  margin: 0;
}

/* ===========================
   CONTACT SECTION
   =========================== */
.contact-section {
  background: var(--bg-light);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; gap: 32px; } }

.contact-info h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin: 0 0 16px;
}

.contact-info > p {
  font-size: 1.05rem;
  color: var(--text-body);
  line-height: 1.7;
  margin: 0 0 32px;
}

.contact-detail {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--blue-light);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}

.contact-detail h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 4px;
}

.contact-detail p {
  font-size: 0.92rem;
  color: var(--text-body);
  margin: 0;
}

.contact-form {
  background: var(--white);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 4px 30px rgba(0,0,0,0.06);
}

.contact-form h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 0 24px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-dark);
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  font-size: 0.95rem;
  border: 1px solid #dce1e8;
  border-radius: var(--elements-roundness);
  background: var(--bg-light);
  transition: border-color 0.2s;
  font-family: inherit;
}

.form-input:focus {
  outline: none;
  border-color: var(--blue);
  background: var(--white);
}

textarea.form-input { resize: vertical; min-height: 100px; }

.form-submit {
  width: 100%;
  padding: 14px;
  background: var(--blue);
  color: var(--white);
  border: none;
  border-radius: var(--elements-roundness);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
  font-family: inherit;
}

.form-submit:hover { background: var(--blue-hover); }

/* ===========================
   FOOTER
   =========================== */
.site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 60px 24px 24px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--footer-border);
}

.footer-brand img {
  display: block;
  height: 60px;
  margin-bottom: 16px;
  width: auto;
  max-width: min(400px, 85vw);
  object-fit: contain;
}

.footer-brand p {
  font-size: 0.92rem;
  color: var(--footer-text-muted);
  max-width: 300px;
  line-height: 1.6;
  margin: 0;
}

.footer-links-group h4 {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 16px;
  color: var(--footer-text-subtle);
}

.footer-links-group ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links-group li { margin-bottom: 10px; }

.footer-links-group a {
  font-size: 0.92rem;
  color: var(--footer-text);
  transition: color 0.2s;
}

.footer-links-group a:hover { color: var(--green); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--footer-text-subtle);
  margin: 0;
}

/* Full-width rule; inner text stays readable (border must not sit on max-width box) */
.footer-fine-print-wrap {
  border-top: 1px solid var(--footer-border);
  padding-top: 20px;
  margin-top: 4px;
}

.footer-fine-print {
  font-size: 0.72rem;
  line-height: 1.55;
  color: var(--footer-text-subtle);
  margin: 0;
  max-width: 52rem;
}

/* ===========================
   SERVICE DETAIL PAGES
   =========================== */
.service-hero {
  padding: 120px 24px 60px;
  background: linear-gradient(135deg, var(--bg-light), var(--blue-light));
  text-align: center;
}

.service-hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  margin: 0 0 16px;
  color: var(--blue);
}

.service-hero p {
  font-size: 1.1rem;
  color: var(--text-body);
  max-width: 600px;
  margin: 0 auto;
}

.service-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 24px 80px;
}

.service-content p {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--text-body);
  margin-bottom: 20px;
}

.service-content h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 40px 0 16px;
  color: var(--text-dark);
}

.service-content ul {
  padding-left: 0;
  list-style: none;
}

.service-content ul li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 14px;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-body);
}

.service-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
}

.service-cta {
  background: var(--blue);
  border-radius: 16px;
  padding: 40px;
  text-align: center;
  margin-top: 40px;
}

.service-cta h3 {
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 12px;
}

.service-cta p {
  color: rgba(255,255,255,0.8) !important;
  margin-bottom: 24px !important;
}

.service-cta .btn { display: inline-block; }

/* ===========================
   PRIVACY POLICY PAGE
   =========================== */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 24px 80px;
}

.legal-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 36px 0 12px;
  color: var(--text-dark);
}

.legal-content h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 28px 0 10px;
  color: var(--text-dark);
}

.legal-content p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-body);
  margin-bottom: 16px;
}

.legal-content ul {
  padding-left: 24px;
  margin-bottom: 16px;
}

.legal-content ul li {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-body);
  margin-bottom: 8px;
}

.disclaimer-box {
  background: var(--blue-light);
  border-left: 4px solid var(--blue);
  padding: 24px;
  border-radius: 0 8px 8px 0;
  margin: 24px 0;
}

.disclaimer-box p {
  margin: 0;
  font-weight: 500;
}

/* ===========================
   UTILITIES
   =========================== */
.text-blue { color: var(--blue); }
.text-green { color: var(--green); }
.bg-light { background: var(--bg-light); }
.mb-0 { margin-bottom: 0 !important; }
