/**
 * Public site theme — Premium Redesign v3
 * Deep forest green · Warm serif headings · Dramatic dark hero
 */

/* ========== DESIGN TOKENS ========== */
:root {
  --theme-bg:            #FAFAF8;
  --theme-bg-alt:        #F2EFE9;
  --theme-card:          #FFFFFF;
  --theme-text:          #1A1A18;
  --theme-text-muted:    #78746E;
  --theme-border:        #E5E0D8;
  --theme-primary:       var(--primary, #3D6B50);
  --theme-primary-light: rgba(61, 107, 80, 0.10);
  --theme-shadow-soft:   0 1px 4px rgba(0,0,0,0.04), 0 6px 24px rgba(0,0,0,0.07);
  --theme-shadow-med:    0 4px 16px rgba(0,0,0,0.07), 0 16px 48px rgba(0,0,0,0.10);
  --theme-shadow-strong: 0 8px 24px rgba(0,0,0,0.10), 0 32px 64px rgba(0,0,0,0.14);
  --theme-shadow:        var(--theme-shadow-soft);
  --theme-radius:        var(--card-radius, 16px);
  --theme-radius-btn:    50px;
  --theme-font-heading:  var(--heading-font, 'Cormorant Garamond'), Georgia, serif;
  --theme-font-body:     var(--body-font, 'DM Sans'), system-ui, -apple-system, sans-serif;
  --theme-transition:    0.35s ease;
  --theme-label-spacing: 0.14em;

  /* Hero */
  --hero-bg-image:        none;
  --hero-overlay-opacity: 0.55;
  --hero-text-align:      center;
  --hero-title-color:     #ffffff;
  --hero-desc-color:      rgba(255,255,255,0.78);
  --hero-badge-color:     #ffffff;
  --hero-stat-color:      #8BC4A0;
}

/* ========== DB OVERRIDE — overrides :root inline from header.php ========== */
body.theme-site {
  background: var(--theme-bg);
  color: var(--theme-text);
  font-family: var(--theme-font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;

  /* Force our palette regardless of DB values */
  --primary:           #3D6B50;
  --tblr-primary:      #3D6B50;
  --theme-primary:     #3D6B50;
  --theme-primary-light: rgba(61, 107, 80, 0.10);
  --section-alt-bg:    #F2EFE9;
  --hero-text-align:   center;
  --hero-title-color:  #ffffff;
  --hero-desc-color:   rgba(255,255,255,0.80);
  --hero-stat-color:   #8BC4A0;
}

.theme-site main { min-height: 50vh; }

/* ========== TYPOGRAPHY ========== */
.theme-site .theme-heading {
  font-family: var(--theme-font-heading);
  font-weight: 400;
  color: var(--theme-text);
  line-height: 1.15;
}

.theme-site .theme-heading-xl {
  font-size: clamp(3rem, 6.5vw, 5.8rem);
  letter-spacing: -0.01em;
  line-height: 1.07;
}

.theme-site .theme-heading-lg {
  font-size: clamp(2.1rem, 3.8vw, 3.2rem);
  letter-spacing: -0.01em;
}

.theme-site .theme-heading-md {
  font-size: clamp(1.3rem, 2vw, 1.65rem);
  line-height: 1.3;
}

.theme-site .theme-label {
  font-family: var(--theme-font-body);
  font-size: 0.7rem;
  letter-spacing: var(--theme-label-spacing);
  text-transform: uppercase;
  color: var(--theme-primary);
  font-weight: 700;
  display: inline-block;
}

.theme-site .theme-body {
  color: var(--theme-text-muted);
  line-height: 1.75;
}

/* ========== LAYOUT ========== */
.theme-container {
  width: 100%;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media (min-width: 768px) {
  .theme-container { padding-left: 2.5rem; padding-right: 2.5rem; }
}

.theme-section {
  padding-top: 5.5rem;
  padding-bottom: 5.5rem;
}

@media (min-width: 768px) {
  .theme-section { padding-top: 7rem; padding-bottom: 7rem; }
}

.theme-section-alt { background: var(--theme-bg-alt, #F2EFE9); }

/* ========== NAVBAR ========== */
.theme-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background var(--theme-transition), box-shadow 0.3s ease;
}

.theme-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 4.75rem;
}

@media (min-width: 768px) { .theme-nav-inner { padding: 0 2.5rem; } }

/* Brand */
.theme-nav .theme-nav-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: inherit;
  text-decoration: none;
  font-family: var(--theme-font-heading);
  font-weight: 600;
  font-size: 1.3rem;
  letter-spacing: 0.01em;
  flex-shrink: 0;
}

.theme-nav-brand-logos {
  display: inline-flex;
  align-items: center;
  height: 3rem;
}

.theme-nav .theme-nav-brand img {
  max-height: 100%; width: auto;
  object-fit: contain; vertical-align: middle;
}

/* Dual logo: light on transparent, dark on scrolled */
.theme-nav-transparent .theme-nav-logo-light { display: inline-block; }
.theme-nav-transparent .theme-nav-logo-dark  { display: none; }
.theme-nav-scrolled   .theme-nav-logo-light  { display: none; }
.theme-nav-scrolled   .theme-nav-logo-dark   { display: inline-block; }

/* Nav links */
.theme-nav .theme-nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 992px) { .theme-nav .theme-nav-links { display: flex; } }

.theme-nav .theme-nav-links a {
  color: inherit;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  opacity: 0.85;
  transition: opacity 0.2s ease;
  position: relative;
  white-space: nowrap;
}

.theme-nav .theme-nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 1.5px;
  background: currentColor;
  transform: scaleX(0);
  transition: transform 0.25s ease;
  transform-origin: left;
}

.theme-nav .theme-nav-links a:hover,
.theme-nav .theme-nav-links a.theme-nav-active { opacity: 1; }

.theme-nav .theme-nav-links a:hover::after,
.theme-nav .theme-nav-links a.theme-nav-active::after { transform: scaleX(1); }

/* CTA in nav */
.theme-nav .theme-btn-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.4rem;
  border-radius: var(--theme-radius-btn);
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  border: 1.5px solid transparent;
  cursor: pointer;
  letter-spacing: 0.02em;
}

.theme-nav .theme-btn-cta.theme-btn-primary {
  background: var(--theme-primary);
  color: #fff;
  border-color: var(--theme-primary);
}

.theme-nav .theme-btn-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(61,107,80,0.28);
}

/* Transparent nav (over hero) */
.theme-nav-transparent { background: transparent; color: #fff; }
.theme-nav-transparent .theme-nav-links a { color: #fff; }

.theme-nav-transparent .theme-btn-cta.theme-btn-primary {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.40);
  color: #fff;
}

.theme-nav-transparent .theme-btn-cta.theme-btn-primary:hover {
  background: #fff;
  color: var(--theme-primary);
  border-color: #fff;
}

/* Scrolled nav */
.theme-nav-scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: var(--theme-text);
  box-shadow: 0 1px 0 var(--theme-border);
}

.theme-nav-scrolled .theme-nav-links a { color: var(--theme-text); }

/* Hamburger */
.theme-nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  background: transparent;
  border: none;
  color: inherit;
  cursor: pointer;
  padding: 0;
}

@media (min-width: 992px) { .theme-nav-toggle { display: none; } }
.theme-nav-toggle svg { width: 24px; height: 24px; }

/* Social icons in nav */
.theme-nav-social {
  display: none;
  align-items: center;
  gap: 0.8rem;
  margin-left: 0.5rem;
  padding-left: 1rem;
  border-left: 1px solid rgba(255,255,255,0.2);
}

@media (min-width: 992px) { .theme-nav-social { display: flex; } }

.theme-nav-scrolled .theme-nav-social { border-left-color: var(--theme-border); }

.theme-nav-social a {
  color: inherit;
  opacity: 0.7;
  transition: opacity 0.2s, transform 0.2s;
  display: flex;
  align-items: center;
  line-height: 1;
}

.theme-nav-social a:hover { opacity: 1; transform: translateY(-1px); }

/* Mobile overlay */
.theme-nav-overlay {
  position: fixed;
  inset: 0;
  background: var(--theme-bg);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.theme-nav-overlay.theme-nav-open { opacity: 1; visibility: visible; }

.theme-nav-overlay a {
  font-family: var(--theme-font-heading);
  font-size: 1.85rem;
  color: var(--theme-text);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.2s;
}

.theme-nav-overlay a:hover { color: var(--theme-primary); }
.theme-nav-overlay .theme-btn-cta { margin-top: 0.5rem; }

/* ========== BUTTONS ========== */
.theme-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2.2rem;
  border-radius: var(--theme-radius-btn);
  font-family: var(--theme-font-body);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  border: 1.5px solid transparent;
  cursor: pointer;
  letter-spacing: 0.03em;
}

.theme-btn-primary {
  background: var(--theme-primary);
  color: #fff;
  border-color: var(--theme-primary);
}

.theme-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(61,107,80,0.32);
  color: #fff;
}

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

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

.theme-btn-white {
  background: #fff;
  color: var(--theme-primary);
  border-color: #fff;
}

.theme-btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.15);
  color: var(--theme-primary);
}

.theme-btn.btn-sm { padding: 0.4rem 1.1rem; font-size: 0.85rem; }

/* ========== HERO — FULL-SCREEN ========== */
.theme-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 5.5rem;
  padding-bottom: 5rem;
  background-color: #0C1A12;
  background-image: var(--hero-bg-image, none);
  background-size: cover;
  background-position: center;
  color: #fff;
}

/* Dark overlay for photo bg */
.theme-hero-overlay {
  position: absolute;
  inset: 0;
  background: #0C1A12;
  opacity: var(--hero-overlay-opacity, 0.55);
  pointer-events: none;
  z-index: 0;
}

/* Ambient light orbs */
.theme-hero-blob {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 75% at 20% 60%, rgba(61,107,80,0.40) 0%, transparent 60%),
    radial-gradient(ellipse 55% 55% at 80% 30%, rgba(100,155,115,0.22) 0%, transparent 55%),
    radial-gradient(ellipse 45% 50% at 90% 85%, rgba(30,75,50,0.30) 0%, transparent 50%);
}

/* Content sits above overlay */
.theme-hero > .theme-container {
  position: relative;
  z-index: 1;
  width: 100%;
}

.theme-hero .theme-heading {
  color: var(--hero-title-color, #fff);
  text-shadow: 0 2px 24px rgba(0,0,0,0.25);
}

/* Subtitle tag above title */
.theme-hero-subtitle-top {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.60);
  margin-bottom: 1.4rem;
}

/* Fullscreen title */
.theme-hero-fullscreen .theme-heading-xl {
  font-size: clamp(3.2rem, 7vw, 6.2rem);
  font-weight: 600;
  line-height: 1.07;
}

/* Desc paragraph */
.theme-hero-desc {
  font-size: 1.1rem;
  line-height: 1.72;
  max-width: 36rem;
  margin-bottom: 2.75rem;
  color: var(--hero-desc-color, rgba(255,255,255,0.80));
}

.theme-hero-center .theme-hero-desc { margin-left: auto; margin-right: auto; }
.theme-hero-fullscreen .theme-hero-desc { max-width: 44rem; }

/* Button row */
.theme-hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.theme-hero-center .theme-hero-btns { justify-content: center; }

/* Hero main CTA button */
.theme-btn-hero {
  background: rgba(255,255,255,0.96);
  color: #1A1A18;
  border: 2px solid rgba(255,255,255,0.90);
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 0.95rem 2.5rem;
}

.theme-btn-hero:hover {
  background: #fff;
  color: #1A1A18;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.28);
}

/* Stats row at bottom of hero */
.theme-hero-stats {
  display: flex;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 2.5rem;
  gap: 0;
  justify-content: center;
}

.theme-hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 2.25rem;
  border-right: 1px solid rgba(255,255,255,0.12);
}

.theme-hero-stat:last-child { border-right: 0; }

@media (max-width: 575px) {
  .theme-hero-stats { gap: 1.5rem; }
  .theme-hero-stat { border-right: 0; padding: 0 1.25rem; }
}

.theme-hero-stat-num {
  font-family: var(--theme-font-heading);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--hero-stat-color, #8BC4A0);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.theme-hero-stat-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

/* Outline btn in hero */
.theme-hero .theme-btn-outline {
  border-color: rgba(255,255,255,0.55);
  color: #fff;
  background: rgba(255,255,255,0.08);
}

.theme-hero .theme-btn-outline:hover {
  background: rgba(255,255,255,0.18);
  color: #fff;
  border-color: #fff;
}

/* Hero image col (split layout) */
.theme-hero-visual { position: relative; margin-top: 3rem; }

@media (min-width: 992px) { .theme-hero-visual { margin-top: 0; } }

.theme-hero-img-wrap {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--theme-shadow-strong);
}

.theme-hero-img-wrap img { width: 100%; height: auto; display: block; }

.theme-hero-img-bg {
  position: absolute;
  width: 120%; height: 120%;
  top: -10%; right: -20%;
  background: var(--theme-primary);
  opacity: 0.08;
  border-radius: 50%;
  pointer-events: none;
}

.theme-hero-float-card {
  position: absolute;
  background: rgba(255,255,255,0.96);
  color: var(--theme-text);
  padding: 0.75rem 1.1rem;
  border-radius: 14px;
  box-shadow: var(--theme-shadow-med);
  font-size: 0.88rem;
  font-weight: 600;
  animation: theme-float 6s ease-in-out infinite;
  backdrop-filter: blur(8px);
}

.theme-hero-float-card:nth-child(2) { animation-delay: -2s; }
.theme-hero-float-card:nth-child(3) { animation-delay: -4s; }

@keyframes theme-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

/* Fullscreen: hide image column */
.theme-hero-fullscreen .theme-hero-visual { display: none; }
.theme-hero-fullscreen .col-lg-6 { flex: 0 0 100%; max-width: 100%; }

/* ========== TRUST BAR ========== */
.theme-trust-bar {
  background: var(--theme-bg-alt);
  padding: 1.5rem 0;
  overflow: hidden;
  border-top: 1px solid var(--theme-border);
  border-bottom: 1px solid var(--theme-border);
}

.theme-trust-bar p {
  text-align: center;
  font-size: 0.76rem;
  color: var(--theme-text-muted);
  margin-bottom: 0.85rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-weight: 600;
}

.theme-marquee-wrap { overflow: hidden; white-space: nowrap; }

.theme-marquee {
  display: inline-flex;
  gap: 4rem;
  animation: theme-marquee 35s linear infinite;
}

.theme-marquee span {
  font-size: 0.88rem;
  color: var(--theme-text-muted);
  font-weight: 500;
  letter-spacing: 0.04em;
}

@keyframes theme-marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ========== SECTION HEADERS ========== */
.theme-section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.theme-section-header .theme-label { display: block; margin-bottom: 0.85rem; }
.theme-section-header .theme-heading { margin-bottom: 1rem; }
.theme-section-header .theme-body {
  max-width: 38rem;
  margin-left: auto; margin-right: auto;
  font-size: 1.05rem;
}

/* ========== SERVICE CARDS ========== */
.theme-services-grid {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px)  { .theme-services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .theme-services-grid { grid-template-columns: repeat(4, 1fr); } }

.theme-service-card {
  background: var(--theme-card);
  border-radius: var(--theme-radius);
  box-shadow: var(--theme-shadow);
  padding: 2rem 2rem 2rem 2.25rem;
  border: 1px solid var(--theme-border);
  border-left: 3px solid var(--theme-primary);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.theme-service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--theme-shadow-med);
}

.theme-service-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: var(--theme-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.theme-service-card h3 { margin-bottom: 0.6rem; }
.theme-service-card .theme-body { margin-bottom: 1.25rem; font-size: 0.95rem; }

.theme-service-card a.theme-link {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--theme-primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: gap 0.2s ease;
}

.theme-service-card a.theme-link:hover { gap: 0.65rem; }

/* ========== ABOUT BLOCK ========== */
.theme-about-grid {
  display: grid;
  gap: 3.5rem;
  align-items: center;
}

@media (min-width: 992px) {
  .theme-about-grid { grid-template-columns: 1fr 1fr; gap: 5rem; }
}

.theme-about-img-wrap {
  position: relative;
  border-radius: var(--theme-radius);
  overflow: hidden;
  box-shadow: var(--theme-shadow-med);
}

.theme-about-img-wrap img { width: 100%; height: auto; display: block; }

.theme-about-badge {
  position: absolute;
  bottom: 1.5rem; left: 1.5rem;
  background: rgba(255,255,255,0.97);
  color: var(--theme-text);
  padding: 0.7rem 1.2rem;
  border-radius: 12px;
  box-shadow: var(--theme-shadow-soft);
  font-size: 0.88rem;
  font-weight: 700;
  backdrop-filter: blur(10px);
  letter-spacing: 0.01em;
  border-left: 3px solid var(--theme-primary);
}

.theme-about-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}

.theme-about-list li {
  padding: 0.6rem 0 0.6rem 1.75rem;
  position: relative;
  font-size: 0.95rem;
  color: var(--theme-text-muted);
  border-bottom: 1px solid var(--theme-border);
}

.theme-about-list li:last-child { border-bottom: 0; }

.theme-about-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--theme-primary);
  font-weight: 700;
}

/* Arrow link */
.theme-arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--theme-text);
  text-decoration: none;
  transition: color 0.2s, gap 0.2s;
}

.theme-arrow-link::after {
  content: '→';
  font-size: 1.1rem;
  transition: transform 0.25s;
}

.theme-arrow-link-line {
  display: inline-block;
  width: 2.5rem;
  height: 1.5px;
  background: currentColor;
  transition: width 0.3s;
  vertical-align: middle;
}

.theme-arrow-link:hover { color: var(--theme-primary); gap: 1rem; }
.theme-arrow-link:hover .theme-arrow-link-line { width: 3.5rem; }

.theme-about-links {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
}

/* ========== ONLINE TERAPI SECTION ========== */
.theme-online-section {
  background: linear-gradient(135deg, #0C1A12 0%, #1E3828 100%);
  color: #fff;
  padding: 6rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.theme-online-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 15% 55%, rgba(61,107,80,0.40) 0%, transparent 60%),
    radial-gradient(ellipse 45% 55% at 85% 45%, rgba(100,155,100,0.22) 0%, transparent 60%);
  pointer-events: none;
}

.theme-online-section > .theme-container { position: relative; z-index: 1; }

.theme-online-section .theme-label {
  color: #8BC4A0;
  margin-bottom: 1.25rem;
}

.theme-online-section .theme-heading {
  color: #fff;
  max-width: 54rem;
  margin: 0 auto 2.25rem;
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  line-height: 1.35;
}

/* ========== PROCESS STEPS ========== */
.theme-process {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
  position: relative;
}

@media (min-width: 768px) {
  .theme-process { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
  .theme-process::before {
    content: '';
    position: absolute;
    top: 2.25rem;
    left: 12%;
    right: 12%;
    height: 1px;
    background: var(--theme-border);
    z-index: 0;
  }
}

.theme-process-step {
  text-align: center;
  padding: 2.25rem 1.25rem;
  background: var(--theme-card);
  border-radius: var(--theme-radius);
  border: 1px solid var(--theme-border);
  box-shadow: var(--theme-shadow);
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
  z-index: 1;
}

.theme-process-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--theme-shadow-med);
}

.theme-process-step-num {
  width: 3rem; height: 3rem;
  border-radius: 50%;
  background: var(--theme-primary);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-family: var(--theme-font-heading);
  box-shadow: 0 4px 16px rgba(61,107,80,0.25);
}

.theme-process-step h4 { margin-bottom: 0.5rem; font-size: 1.05rem; }
.theme-process-step .theme-body { font-size: 0.9rem; }

/* ========== TEST CARDS ========== */
.theme-tests-bg { background: var(--theme-bg-alt); }

.theme-test-cards {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) { .theme-test-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .theme-test-cards { grid-template-columns: repeat(3, 1fr); } }

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

.theme-test-card:hover { transform: translateY(-5px); box-shadow: var(--theme-shadow-med); }

.theme-test-card-band {
  height: 4px;
  background: linear-gradient(90deg, var(--theme-primary), #7CB88A);
}

.theme-test-card-body { padding: 1.5rem; color: var(--theme-text); }
.theme-test-card h3 { margin-bottom: 0.4rem; font-size: 1.1rem; color: var(--theme-text); }
.theme-test-card-meta { font-size: 0.82rem; color: var(--theme-text-muted); margin-bottom: 0.85rem; }
.theme-test-card .theme-btn { width: 100%; justify-content: center; }
.theme-test-card .theme-body { color: var(--theme-text-muted); font-size: 0.9rem; }

/* ========== TESTIMONIALS ========== */
.theme-testimonial-card {
  background: var(--theme-card);
  border-radius: var(--theme-radius);
  padding: 3rem 2.5rem;
  box-shadow: var(--theme-shadow-med);
  border: 1px solid var(--theme-border);
  text-align: center;
  position: relative;
}

.theme-testimonial-quote {
  font-family: var(--theme-font-heading);
  font-size: 5rem;
  line-height: 0.8;
  color: var(--theme-primary);
  opacity: 0.18;
  margin-bottom: -1.5rem;
  display: block;
}

.theme-testimonial-card .theme-body {
  font-family: var(--theme-font-heading);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--theme-text);
  margin-bottom: 1.75rem;
  line-height: 1.65;
}

.theme-testimonial-author { font-weight: 700; color: var(--theme-text); font-size: 0.95rem; }
.theme-testimonial-meta { font-size: 0.82rem; color: var(--theme-text-muted); margin-top: 0.3rem; }

/* Multiple testimonials grid */
.theme-testimonials-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .theme-testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .theme-testimonials-grid { grid-template-columns: repeat(3, 1fr); }
}
.theme-testimonials-grid .theme-testimonial-card {
  padding: 2rem 1.75rem;
  text-align: left;
}
.theme-testimonials-grid .theme-testimonial-card .theme-body {
  font-size: 1rem;
  margin-bottom: 1.25rem;
}

/* ========== BLOG GRID ========== */
.theme-blog-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) { .theme-blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .theme-blog-grid { grid-template-columns: repeat(3, 1fr); } }

.theme-blog-card {
  background: var(--theme-card);
  border-radius: var(--theme-radius);
  overflow: hidden;
  box-shadow: var(--theme-shadow);
  border: 1px solid var(--theme-border);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.theme-blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--theme-shadow-med);
  color: inherit;
}

.theme-blog-card-img {
  height: 220px;
  overflow: hidden;
  background: var(--theme-bg-alt);
}

.theme-blog-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
  display: block;
}

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

.theme-blog-card-body {
  padding: 1.5rem;
  color: var(--theme-text);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.theme-blog-card .theme-badge { margin-bottom: 0.65rem; }

.theme-blog-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.15rem;
  color: var(--theme-text);
  line-height: 1.35;
  flex: 1;
}

.theme-blog-card-meta { font-size: 0.8rem; color: var(--theme-text-muted); margin-bottom: 0.75rem; }

.theme-blog-card .theme-body {
  font-size: 0.88rem;
  color: var(--theme-primary);
  font-weight: 600;
}

/* Blog heading accent */
.theme-heading-pink { color: #B07C6E !important; }

/* ========== CTA BLOCK ========== */
.theme-cta {
  background: linear-gradient(135deg, #142B1E 0%, var(--theme-primary) 100%);
  color: #fff;
  padding: 5.5rem 2.5rem;
  border-radius: var(--theme-radius);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.theme-cta::before {
  content: '';
  position: absolute;
  inset: -50%;
  background: radial-gradient(ellipse 55% 55% at 80% 15%, rgba(255,255,255,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.theme-cta .theme-heading { color: #fff; margin-bottom: 0.75rem; }
.theme-cta .theme-body { color: rgba(255,255,255,0.88); margin-bottom: 2rem; font-size: 1.05rem; }
.theme-cta .theme-phone { font-family: var(--theme-font-heading); font-size: 1.75rem; font-weight: 700; margin-top: 1.5rem; }
.theme-cta .theme-phone a { color: #fff; text-decoration: none; }
.theme-cta .theme-phone a:hover { text-decoration: underline; }
.theme-cta .theme-btns { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

.theme-cta .theme-btn-outline {
  border-color: rgba(255,255,255,0.60);
  color: #fff;
  background: rgba(255,255,255,0.10);
}

.theme-cta .theme-btn-outline:hover {
  background: rgba(255,255,255,0.22);
  border-color: #fff;
  color: #fff;
}

/* ========== FOOTER ========== */
.theme-footer {
  background: #0E150F;
  color: rgba(255,255,255,0.75);
  padding: 5rem 0 2.5rem;
}

.theme-footer-light {
  background: var(--theme-bg-alt);
  color: var(--theme-text-muted);
  border-top: 1px solid var(--theme-border);
}

.theme-footer-light .theme-footer-brand a { color: var(--theme-text); }
.theme-footer-light h4 { color: var(--theme-text-muted); }
.theme-footer-light ul a { color: var(--theme-text-muted); }
.theme-footer-light ul a:hover { color: var(--theme-text); }
.theme-footer-light .theme-footer-bottom { border-color: var(--theme-border); color: var(--theme-text-muted); }
.theme-footer-light .theme-footer-bottom a { color: var(--theme-text-muted); }

.theme-footer-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .theme-footer-grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; }
}

.theme-footer-brand { margin-bottom: 1rem; }

.theme-footer-brand a {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  font-family: var(--theme-font-heading);
  font-size: 1.3rem;
}

/* Social links in footer */
.theme-footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.theme-footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.60);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.theme-footer-social a:hover {
  background: var(--theme-primary);
  border-color: var(--theme-primary);
  color: #fff;
}

.theme-footer p { font-size: 0.9rem; line-height: 1.7; margin-bottom: 0; }

.theme-footer h4 {
  font-size: 0.7rem;
  letter-spacing: var(--theme-label-spacing);
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
  margin-bottom: 1.25rem;
  font-weight: 700;
}

.theme-footer ul { list-style: none; padding: 0; margin: 0; }
.theme-footer ul li { margin-bottom: 0.65rem; }

.theme-footer ul a {
  color: rgba(255,255,255,0.62);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.theme-footer ul a:hover { color: #fff; }

.theme-footer-bottom {
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
}

.theme-footer-bottom a { color: inherit; text-decoration: none; transition: color 0.2s; }
.theme-footer-bottom a:hover { color: rgba(255,255,255,0.85); }

/* ========== SCROLL REVEAL ========== */
.theme-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.theme-reveal.theme-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays */
.theme-stagger > .theme-reveal:nth-child(1) { transition-delay: 0.05s; }
.theme-stagger > .theme-reveal:nth-child(2) { transition-delay: 0.15s; }
.theme-stagger > .theme-reveal:nth-child(3) { transition-delay: 0.25s; }
.theme-stagger > .theme-reveal:nth-child(4) { transition-delay: 0.35s; }
.theme-stagger > .theme-reveal:nth-child(5) { transition-delay: 0.45s; }
.theme-stagger > .theme-reveal:nth-child(6) { transition-delay: 0.55s; }

/* JS-rendered content always visible */
.theme-site .theme-blog-card,
.theme-site .theme-test-card,
.theme-site .theme-blog-grid a,
.theme-site #blog-grid .theme-blog-card,
.theme-site #index-blog-cards .theme-blog-card,
.theme-site #index-test-cards .theme-test-card,
.theme-site #test-cards-container .theme-test-card {
  opacity: 1 !important;
  visibility: visible !important;
}

/* ========== FORMS ========== */
.theme-input,
.theme-select,
.theme-textarea {
  width: 100%;
  padding: 0.9rem 1.1rem;
  border-radius: 12px;
  border: 1.5px solid var(--theme-border);
  font-family: var(--theme-font-body);
  font-size: 1rem;
  background: #fff;
  color: var(--theme-text);
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
}

.theme-input:focus,
.theme-select:focus,
.theme-textarea:focus {
  outline: none;
  border-color: var(--theme-primary);
  box-shadow: 0 0 0 3px rgba(61,107,80,0.12);
}

.theme-form-label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--theme-text);
}

/* ========== PAGE HERO (inner pages) ========== */
.theme-page-hero {
  padding-top: 7rem;
  padding-bottom: 3.5rem;
  background: linear-gradient(180deg, var(--theme-bg-alt) 0%, transparent 100%);
  border-bottom: 1px solid var(--theme-border);
}

.theme-page-hero .theme-label { margin-bottom: 0.65rem; }
.theme-page-hero .theme-heading { margin-bottom: 0.5rem; }
.theme-page-hero .theme-body { margin-bottom: 0; }

/* ========== UTILITIES ========== */
.theme-badge {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  background: rgba(61,107,80,0.10);
  color: var(--theme-primary);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.theme-divider { height: 1px; background: var(--theme-border); margin: 3rem 0; }

.theme-card {
  background: var(--theme-card);
  border-radius: var(--theme-radius);
  box-shadow: var(--theme-shadow);
  padding: 2rem;
  border: 1px solid var(--theme-border);
  transition: transform var(--theme-transition), box-shadow var(--theme-transition);
}

.theme-card:hover { transform: translateY(-4px); box-shadow: var(--theme-shadow-med); }
.theme-card-link { text-decoration: none; color: inherit; display: block; height: 100%; }
.theme-card-link:hover { color: inherit; }

.theme-shadow-medium { --theme-shadow: var(--theme-shadow-med); }
.theme-shadow-strong  { --theme-shadow: var(--theme-shadow-strong); }

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

/* ========== TEST DETAIL ========== */
.theme-test-detail .theme-test-box {
  background: var(--theme-card);
  color: var(--theme-text);
  padding: 2rem 2.5rem;
  border-radius: var(--theme-radius);
  box-shadow: var(--theme-shadow-med);
  border: 1px solid var(--theme-border);
}

.theme-test-detail .theme-question-block {
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--theme-border);
}

.theme-test-detail .theme-question-block:last-of-type { border-bottom: 0; }
.theme-test-detail .theme-question-text { color: var(--theme-text); font-size: 1rem; line-height: 1.55; font-weight: 500; }
.theme-test-detail .theme-options { display: flex; flex-direction: column; gap: 0.65rem; }

.theme-test-detail .theme-option-label {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  cursor: pointer;
  color: var(--theme-text);
  font-size: 0.95rem;
  padding: 0.5rem 0.75rem;
  border-radius: 10px;
  transition: background 0.15s;
}

.theme-test-detail .theme-option-label:hover { background: var(--theme-bg-alt); }

.theme-test-detail .theme-option-label input[type="radio"] {
  margin-top: 0.2rem;
  flex-shrink: 0;
  accent-color: var(--theme-primary);
}

.theme-test-detail #test-title,
.theme-test-detail #test-desc,
.theme-test-detail #test-meta,
.theme-test-detail #result-title,
.theme-test-detail #result-desc,
.theme-test-detail #result-recommendation { color: var(--theme-text); }

.theme-site .theme-test-detail #test-questions,
.theme-site .theme-test-detail .theme-question-block,
.theme-site .theme-test-detail .theme-option-label {
  opacity: 1 !important;
  visibility: visible !important;
}

/* ========== RANDEVU PAGE ========== */
.theme-randevu-step {
  background: var(--theme-card);
  padding: 1.75rem;
  border-radius: var(--theme-radius);
  box-shadow: var(--theme-shadow);
  border: 1px solid var(--theme-border);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.theme-randevu-step-num {
  width: 2.75rem; height: 2.75rem;
  border-radius: 50%;
  background: var(--theme-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 1.1rem;
}

.theme-randevu-step h3 { color: var(--theme-text); margin-bottom: 0.5rem; font-size: 1.05rem; }
.theme-randevu-step .theme-body { color: var(--theme-text-muted); flex: 1; font-size: 0.92rem; }

.theme-randevu-card {
  padding: 1.75rem;
  border-radius: var(--theme-radius);
  box-shadow: var(--theme-shadow);
  border: 1px solid var(--theme-border);
  background: var(--theme-card);
  height: 100%;
  transition: box-shadow 0.3s, transform 0.3s;
}

.theme-randevu-card:hover { transform: translateY(-3px); box-shadow: var(--theme-shadow-med); }
.theme-randevu-card-icon { font-size: 2rem; margin-bottom: 0.85rem; }
.theme-randevu-card h3 { color: var(--theme-text); font-size: 1.1rem; }
.theme-randevu-card .theme-body { color: var(--theme-text-muted); }
.theme-randevu-link { color: var(--theme-primary); text-decoration: none; font-weight: 600; }
.theme-randevu-link:hover { text-decoration: underline; }

/* ========== FLOATING RANDEVU BUTTON ========== */
.theme-float-cta {
  position: fixed;
  bottom: 2rem;
  right: 1.75rem;
  z-index: 998;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 74px; height: 74px;
  border-radius: 50%;
  background: var(--theme-primary);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 22px rgba(61,107,80,0.45);
  transition: transform 0.2s, box-shadow 0.2s;
  text-align: center;
  padding: 0.5rem;
  gap: 0.15rem;
}

.theme-float-cta:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 32px rgba(61,107,80,0.55);
  color: #fff;
}

.theme-float-cta svg { width: 22px; height: 22px; flex-shrink: 0; }

.theme-float-cta-text {
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.25;
  font-family: var(--theme-font-body);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 767px) {
  .theme-hero-btns { flex-direction: column; }
  .theme-hero-btns .theme-btn { width: 100%; justify-content: center; }
  .theme-cta { padding: 3rem 1.5rem; }
}

/* ========== FEATURED BANNER (3'lü: 1 büyük sol + 2 küçük sağ) ========== */
.theme-feature-banner {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 320px 320px;
}

/* Sol büyük kart — her iki satırı kaplar */
.theme-banner-main {
  grid-row: 1 / 3;
}

/* Sağ iki küçük kart zaten otomatik yerleşir */

.theme-banner-card {
  position: relative;
  border-radius: var(--theme-radius);
  overflow: hidden;
  display: block;
  text-decoration: none;
  background: #1A3025;            /* fotoğraf yoksa koyu yeşil zemin */
  background-size: cover;
  background-position: center;
  transition: transform 0.35s ease;
}

.theme-banner-card:hover { transform: scale(1.015); }

.theme-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
    rgba(0,0,0,0.80) 0%,
    rgba(0,0,0,0.15) 50%,
    transparent 100%);
  display: flex;
  align-items: flex-end;
  padding: 1.75rem;
  transition: background 0.3s ease;
}

.theme-banner-card:hover .theme-banner-overlay {
  background: linear-gradient(to top,
    rgba(0,0,0,0.88) 0%,
    rgba(0,0,0,0.30) 55%,
    transparent 100%);
}

.theme-banner-title {
  color: #fff;
  font-family: var(--theme-font-heading);
  font-weight: 600;
  line-height: 1.25;
  margin: 0;
  text-shadow: 0 1px 10px rgba(0,0,0,0.5);
}

.theme-banner-main .theme-banner-title {
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
}

.theme-banner-side .theme-banner-title {
  font-size: clamp(1rem, 1.4vw, 1.3rem);
}

.theme-banner-loading {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 0;
  color: var(--theme-text-muted);
  font-size: 0.95rem;
}

@media (max-width: 767px) {
  .theme-feature-banner {
    grid-template-columns: 1fr;
    grid-template-rows: 260px 200px 200px;
  }
  .theme-banner-main { grid-row: auto; }
}

/* ========== SCHEMA ========== */
[itemscope] { display: block; }
