/* Human Performance Edge – egyedi stílusok (Bootstrap 5 kiegészítés) */

:root {
  --hpe-navy: #121a38;
  --hpe-navy-dark: #0b1128;
  --hpe-navy-light: #1a2448;
  --hpe-gold: #f4a62a;
  --hpe-gold-soft: #d8b26a;
  --hpe-text: #f4f1ea;
  --hpe-muted: #d6d3cc;
  --hpe-serif: "EB Garamond", Georgia, "Times New Roman", serif;
  --hpe-sans: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
}

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  background-color: var(--hpe-navy);
  color: var(--hpe-text);
  font-family: var(--hpe-sans);
  font-size: 1.125rem;
  line-height: 1.5;
}

/* Akadálymentesség: fókuszjelzés és ugrólink */
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--hpe-gold);
  outline-offset: 3px;
  box-shadow: none;
}

.skip-link {
  position: absolute;
  top: .5rem;
  left: .5rem;
  z-index: 2000;
  padding: .6rem 1rem;
  background: var(--hpe-gold);
  color: var(--hpe-navy-dark);
  font-weight: 700;
  text-decoration: none;
  border-radius: .25rem;
}

/* ---------- Fejléc ---------- */
.site-header {
  background-color: var(--hpe-navy-dark);
  border-bottom: 1px solid rgba(216, 178, 106, .35);
}

.brand-logo {
  border-radius: 2px;
}

.brand-text {
  font-family: var(--hpe-sans);
  font-size: .78rem;
  line-height: 1.15;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--hpe-text);
  border-left: 1px solid var(--hpe-gold-soft);
  padding-left: .75rem;
}

.site-header .nav-link {
  color: var(--hpe-text);
  font-weight: 600;
  letter-spacing: .04em;
  padding-inline: 1rem !important;
}

.site-header .nav-link:hover {
  color: var(--hpe-gold);
}

.site-header .nav-cta {
  color: var(--hpe-gold);
  border: 1px solid var(--hpe-gold);
  border-radius: 2rem;
}

.site-header .nav-cta:hover {
  background: var(--hpe-gold);
  color: var(--hpe-navy-dark);
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(180deg, var(--hpe-navy-dark) 0%, var(--hpe-navy) 100%);
  padding-top: 3.5rem;
}

.hero-title {
  font-family: var(--hpe-serif);
  font-weight: 700;
  font-size: clamp(2.4rem, 7vw, 5.25rem);
  line-height: 1.05;
  color: #fff;
  margin-bottom: 1.5rem;
}

.hero-title em,
.section-title em {
  color: var(--hpe-gold);
}

.hero-lead {
  max-width: 40rem;
  margin: 0 auto;
}

.hero-lead p {
  font-size: clamp(1.1rem, 2.4vw, 1.5rem);
  font-weight: 600;
  color: var(--hpe-text);
  margin-bottom: 0;
}

.gold-rule {
  display: block;
  width: min(380px, 70%);
  height: 2px;
  margin: 2rem auto 0;
  background: var(--hpe-gold-soft);
}

.hero-image {
  position: relative;
  margin-top: 2rem;
}

.hero-image img {
  display: block;
  object-fit: cover;
  max-height: 560px;
}

/* Lágy átmenet a kép tetején és alján */
.hero-image::before,
.hero-image::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 30%;
  pointer-events: none;
}

.hero-image::before {
  top: 0;
  background: linear-gradient(180deg, var(--hpe-navy) 0%, transparent 100%);
}

.hero-image::after {
  bottom: 0;
  background: linear-gradient(0deg, var(--hpe-navy) 0%, transparent 100%);
}

/* ---------- Szekciók ---------- */
.section {
  padding: 4rem 0;
}

.section-alt {
  background-color: var(--hpe-navy-light);
}

.section-title {
  font-family: var(--hpe-serif);
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--hpe-gold);
}

.section-title em {
  color: #fff;
}

.caps-title {
  font-family: var(--hpe-sans);
  font-weight: 700;
  font-size: clamp(1.1rem, 2.4vw, 1.6rem);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #fff;
  max-width: 52rem;
  margin: 0 auto;
}

/* Célcsoportok */
.audience-item h3 {
  font-family: var(--hpe-sans);
  font-weight: 700;
  font-size: 1.6rem;
  text-transform: uppercase;
  margin: 1rem 0 .5rem;
}

.audience-item p {
  font-style: italic;
  color: var(--hpe-muted);
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .audience-item + .audience-item {
    border-left: 2px solid var(--hpe-gold);
  }
}

.icon {
  width: 84px;
  height: 72px;
  fill: none;
  stroke: var(--hpe-gold);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Lépések */
.step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 104px;
  height: 104px;
  border: 3px solid var(--hpe-gold);
  border-radius: 50%;
}

.step-icon svg {
  width: 56px;
  height: 56px;
  fill: none;
  stroke: var(--hpe-gold);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.step {
  position: relative;
}

.step h3 {
  font-family: var(--hpe-sans);
  font-weight: 700;
  font-size: clamp(1rem, 4vw, 1.3rem);
  text-transform: uppercase;
  overflow-wrap: anywhere;
  margin: 1rem 0 .25rem;
}

@media (max-width: 575.98px) {
  .step-icon { width: 84px; height: 84px; }
  .step-icon svg { width: 46px; height: 46px; }
}

.step p {
  font-style: italic;
  font-size: 1rem;
  color: var(--hpe-muted);
  margin-bottom: 0;
}

/* Nyilak a lépések között (csak nagy kijelzőn) */
@media (min-width: 992px) {
  .step:not(:last-child)::after {
    content: "\2192";
    position: absolute;
    top: 52px;
    right: -1.4rem;
    transform: translateY(-50%);
    font-size: 2rem;
    color: var(--hpe-gold);
  }
}

/* Szolgáltatások sáv */
.services {
  padding: 2.5rem 0;
  background-color: var(--hpe-navy);
}

.services-list {
  gap: .5rem 0;
}

.services-list li {
  font-weight: 700;
  font-size: clamp(1.2rem, 2.6vw, 1.75rem);
  color: var(--hpe-gold);
  padding: 0 1rem;
}

.services-list li + li {
  border-left: 2px solid var(--hpe-text);
}

/* ---------- Lábléc / kapcsolat ---------- */
.site-footer {
  background-color: var(--hpe-navy-dark);
  padding-top: 3rem;
}

.footer-image {
  display: block;
  border-radius: .25rem;
}

.footer-contact {
  padding: 2rem 1rem;
}

.cta-title {
  font-family: var(--hpe-serif);
  font-weight: 500;
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.1;
  margin-bottom: 1.75rem;
  color: #fff;
}

.contact-list a {
  display: block;
  color: var(--hpe-text);
  font-weight: 700;
  font-size: 1.3rem;
  text-decoration: none;
  margin-bottom: .35rem;
}

.contact-list a:hover {
  color: var(--hpe-gold);
  text-decoration: underline;
}

.contact-list .phone {
  letter-spacing: .3em;
  margin-top: .5rem;
}

.footer-bottom {
  padding: 2rem 0 1.5rem;
  border-top: 1px solid rgba(216, 178, 106, .25);
  margin-top: 3rem;
}

.footer-bottom p {
  font-size: .9rem;
  color: var(--hpe-muted);
  margin-bottom: 0;
}
