/* ============================================================
   Prémium Klinika — Fizikoterápia kampány, V3
   ============================================================ */

:root {
  /* Navy (elsődleges brand szín) */
  --color-primary:      #1A2E5C;
  --color-primary-dark: #0F1F42;
  --color-primary-light:#2A4378;

  /* Arany (akcent, CTA) */
  --color-accent:       #C9A876;
  --color-accent-dark:  #A88A5C;
  --color-accent-light: #DDC397;

  /* Krém háttér variációk */
  --color-bg-light: #FAF8F4;
  --color-bg-alt:   #F1ECE2;
  --color-surface:  #FFFFFF;

  /* Szöveg */
  --color-text-primary:   #1A1A1A;
  --color-text-secondary: #4A4A4A;
  --color-text-muted:     #7A7A7A;
  --color-text-on-dark:   #FFFFFF;
  --color-text-on-dark-muted: rgba(255,255,255,0.70);

  /* Funkcionális */
  --color-success: #2D7A4F;
  --color-error:   #B83232;
  --color-border:  #E5DED1;
  --color-divider: #D9D0C0;

  /* Egyebek */
  --shadow-card: 0 4px 24px rgba(26, 46, 92, 0.08);
  --radius: 10px;
}

/* === Alap === */
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  background: var(--color-bg-light);
  color: var(--color-text-primary);
}
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text-primary);
}

/* === Fókusz === */
:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 2px; border-radius: 4px; }

/* === Gombok === */
.btn-accent {
  display: inline-block;
  background: var(--color-accent);
  color: var(--color-primary-dark);
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  padding: 16px 32px;
  border-radius: var(--radius);
  box-shadow: 0 4px 16px rgba(201,168,118,0.35);
  transition: background 0.18s, transform 0.15s, box-shadow 0.15s;
  text-decoration: none;
  cursor: pointer;
  border: none;
  line-height: 1.3;
}
.btn-accent:hover { background: var(--color-accent-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,168,118,0.4); }
.btn-accent:active { transform: translateY(0); }

.btn-primary {
  display: inline-block;
  background: var(--color-primary);
  color: #fff;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius);
  transition: background 0.18s, transform 0.15s;
  text-decoration: none;
  border: none;
}
.btn-primary:hover { background: var(--color-primary-dark); transform: translateY(-1px); }

.btn-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-accent);
  color: var(--color-primary-dark);
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  padding: 10px 20px;
  border-radius: var(--radius);
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.18s;
}
.btn-phone:hover { background: var(--color-accent-dark); }

/* === Kártyák === */
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 1.75rem;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover { box-shadow: 0 8px 32px rgba(26,46,92,0.12); transform: translateY(-2px); }

/* === Hero kép === */
.hero-image { aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); display: block; width: 100%; }
#hero-placeholder { min-height: 260px; aspect-ratio: 4/3; display: none; border-radius: var(--radius); }

/* === FAQ accordion === */
.faq-answer {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.32s ease, opacity 0.24s ease;
}
.faq-icon { transition: transform 0.2s ease; }
.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(180deg); }
.faq-question[aria-expanded="true"] { background-color: var(--color-bg-alt); }

/* === Sticky mobil CTA (csak mobil) === */
#sticky-cta-mobile {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 50;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}
#sticky-cta-mobile.visible { transform: translateY(0); }

/* === Doktorfotó placeholder === */
.doctor-photo {
  width: 100px; height: 100px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 2px solid rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 0.75rem;
}

/* === Szakorvos-csempe (sötét bg-n) === */
.doctor-card-dark {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 1.5rem 1rem;
  text-align: center;
}

/* === Pillér (hero értékek) === */
.value-pillar {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
}

/* === Panasz-csempe (szakterületi oszlop) === */
.specialty-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
}

/* === Progress bar === */
.progress-bar { height: 28px; border-radius: 999px; background: var(--color-divider); overflow: hidden; }
.progress-bar-fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--color-success), var(--color-accent)); }

/* === Szekció padding === */
.section-py { padding-top: 64px; padding-bottom: 64px; }
@media (max-width: 768px) { .section-py { padding-top: 44px; padding-bottom: 44px; } }

/* === Eyebrow === */
.eyebrow {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}
.eyebrow-light {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

/* === INGYEN kiemelés === */
.ingyen-highlight {
  color: var(--color-accent);
  font-weight: 900;
  letter-spacing: 0.02em;
  font-size: 1.05em;
}

/* === Forgatókönyv oszlopok === */
.scenario-dim {
  background: #EDE8E0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 2rem;
}
.scenario-bright {
  background: var(--color-surface);
  border: 2px solid var(--color-accent);
  border-radius: var(--radius);
  padding: 2rem;
}

/* === Form hibaállapot === */
input.error, textarea.error {
  border-color: var(--color-error) !important;
  box-shadow: 0 0 0 2px rgba(184,50,50,0.15);
}

/* === Success kör (thank-you) === */
.success-circle {
  width: 80px; height: 80px; border-radius: 50%;
  background: rgba(45,122,79,0.12);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
}

/* Mobilon padding bottom a sticky CTA miatt */
@media (max-width: 767px) { body { padding-bottom: 68px; } }
@media print { #sticky-cta-mobile { display: none !important; } }

/* === Header (V3 összevont sáv) === */
.header-logo-wrapper {
  height: 80px;
  width: 400px;          /* explicit szélesség — a logó uralja a bal oldalt */
  display: flex;
  align-items: center;
  overflow: hidden;
  flex-shrink: 0;
}
.header-logo {
  height: 100%;
  width: auto;
  transform: scale(3.5);
  transform-origin: left center;
  display: block;
}
@media (max-width: 767px) {
  .header-logo-wrapper { height: 46px; width: 200px; }
  .header-logo { transform: scale(2.5); }
}

.header-slots {
  background: var(--color-accent-light);
  color: var(--color-primary);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.header-cta-secondary {
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  background: transparent;
  padding: 9px 18px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 13px;
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
  white-space: nowrap;
}
.header-cta-secondary:hover {
  background: var(--color-primary);
  color: var(--color-text-on-dark);
}

.header-cta-primary {
  background: var(--color-accent);
  color: var(--color-primary-dark);
  padding: 9px 18px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 13px;
  transition: background 0.18s;
  text-decoration: none;
  white-space: nowrap;
}
.header-cta-primary:hover { background: var(--color-accent-dark); }
