/* HairHungary latvanyterv - csak a bemutatohoz hozzaadott elemek stilusa.
   Az oldal tobbi reszet valtozatlanul az eredeti brand CSS hajtja. */

:root {
  --hh-gold: #c1a764;
  --hh-gold-dark: #a68d52;
  --hh-ink: #4c4d4f;
  --hh-line: #d6d6d6;
}

/* --- A statikus hero. A slide.js nelkul az animaciok felbeszakadhatnak,
       ezert a latvanyterven az elso slide allo kepkent all. ------------- */
#slider .slide_wrapper > li,
#slider .slide_wrapper > li > img,
#slider .slide_caption,
#slider .slide_caption .text,
#slider .slide_caption .caption_cimdiv,
#slider .slide_caption a {
  animation: none !important;
  -webkit-animation: none !important;
}
#slider .slide_wrapper > li.slide_active,
#slider .slide_wrapper > li.slide_active > img,
#slider .slide_caption { opacity: 1 !important; }

/* --- YouTube boritokepek az eltavolitott iframe-ek helyen ------------- */
.hh-yt { display: block; position: relative; width: 100%; height: 100%; background: #000; overflow: hidden; }
.hh-yt img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hh-yt-play {
  position: absolute; left: 50%; top: 50%; width: 76px; height: 54px; margin: -27px 0 0 -38px;
  background: rgba(0, 0, 0, .65); border-radius: 12px;
}
.hh-yt-play:after {
  content: ""; position: absolute; left: 30px; top: 16px;
  border-left: 20px solid #fff; border-top: 11px solid transparent; border-bottom: 11px solid transparent;
}
.hh-yt:hover .hh-yt-play { background: #c00; }
.yt-short .hh-yt { position: absolute; top: 0; left: 10px; width: calc(100% - 20px); height: 100%; z-index: 21; }
.hirl_cont .yt-bg-video .hh-yt { position: absolute; inset: 0; }
@media (max-width: 768px) { .yt-short .hh-yt { left: 0; width: 100%; } }

/* --- Sajat blokkok. Az eredeti #cikk tipografiajat orokolik. ---------- */
.hh-wrap { max-width: 1170px; margin: 0 auto; padding: 0 15px; }
.hh-standalone { padding-top: 60px; padding-bottom: 20px; }
.hh-block { padding: 70px 0; clear: both; }
.hh-block .hh-h2 {
  border-left: 1px solid var(--hh-gold); margin: 0 auto 45px 0; text-align: left; padding-left: 50px;
  font-size: 44px; line-height: 1.15; color: var(--hh-ink); font-family: 'Montserrat', sans-serif; font-weight: 300;
}
.hh-page-home .hh-block { background: #fff; position: relative; z-index: 5; }

.hh-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 45px; }
.hh-cols-2 { grid-template-columns: repeat(2, 1fr); }
.hh-cols article { border-top: 1px solid var(--hh-gold); padding-top: 25px; }
.hh-cols h3, .hh-steps h3 {
  font-family: 'Montserrat', sans-serif; font-weight: 400; font-size: 22px; line-height: 1.35;
  color: var(--hh-ink); margin: 0 0 16px; padding: 0; border: 0;
}
.hh-cols p, .hh-steps p, .hh-box p, .hh-price-wrap p, .hh-fees, .hh-lead, .hh-breadcrumb, .hh-small {
  font-family: 'Montserrat', sans-serif; color: var(--hh-ink);
}
.hh-cols p, .hh-steps p { font-size: 17px; line-height: 1.75; margin: 0 0 14px; }
.hh-cols a, .hh-steps a { color: var(--hh-gold-dark); }

.hh-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 45px; margin: 0 0 35px; }
.hh-steps article { border-top: 1px solid var(--hh-gold); padding-top: 25px; }
.hh-steps article > span { display: block; font: 300 38px/1 'Montserrat', sans-serif; color: var(--hh-gold); margin-bottom: 14px; }

.hh-breadcrumb { font-size: 14px !important; color: #8b8b8b !important; margin-bottom: 30px !important; }
.hh-breadcrumb a { color: var(--hh-gold-dark); }
.hh-lead { font-size: 20px !important; line-height: 1.8 !important; }

.hh-box { border: 1px solid var(--hh-gold); background: #fbfaf7; padding: 34px 38px; margin: 0 0 35px; }
.hh-box p { font-size: 17px; line-height: 1.75; margin: 0 0 16px; }
.hh-box p:last-child { margin-bottom: 0; }
.hh-eyebrow {
  text-transform: uppercase; letter-spacing: 2px; font-size: 12px !important;
  color: var(--hh-gold-dark) !important; margin: 0 0 12px !important; font-weight: 500 !important;
}
.hh-phone { font-size: 24px; color: var(--hh-gold-dark) !important; display: inline-block; margin-top: 6px; }
.hh-maps { font-size: 15px !important; }
.hh-small { font-size: 14px !important; line-height: 1.7 !important; color: #6f6f6f !important; }

.hh-jumps { display: flex; flex-wrap: wrap; gap: 12px 30px; margin: 0 0 45px; padding-bottom: 22px; border-bottom: 1px solid var(--hh-line); }
.hh-jumps a { font-family: 'Montserrat', sans-serif; font-size: 16px; color: var(--hh-gold-dark); }

.hh-prices { width: 100%; border-collapse: collapse; font-family: 'Montserrat', sans-serif; font-size: 17px; margin: 0 0 18px; }
.hh-prices thead { background: var(--hh-ink); color: #fff; }
.hh-prices th, .hh-prices td { text-align: left; padding: 15px 22px; border-bottom: 1px solid #e3e3e3; font-weight: 400; color: inherit; }
.hh-prices tbody tr:nth-child(odd) { background: #f6f4ef; }
/* Az oldal sajat table th szabalya sotet hattert ad; a sorfejlecen ez olvashatatlan. */
.hh-prices tbody th { background: transparent !important; color: var(--hh-ink) !important; font-weight: 500; }
.hh-prices thead th { background: var(--hh-ink) !important; color: #fff !important; }
.hh-prices td strong { display: block; font-size: 20px; font-weight: 600; color: var(--hh-gold-dark); }
.hh-prices td span { display: block; font-size: 12px; line-height: 1.4; color: #777; }

.hh-fees > div { display: flex; justify-content: space-between; align-items: center; gap: 25px; padding: 18px 0; border-bottom: 1px solid var(--hh-line); font-size: 17px; }
.hh-fees strong { white-space: nowrap; color: var(--hh-gold-dark); font-size: 22px; font-weight: 500; }
.hh-amount { font-size: 32px !important; line-height: 1.3 !important; color: var(--hh-gold-dark) !important; }

/* --- Szakertoi blokk -------------------------------------------------- */
.hh-expert {
  display: grid; grid-template-columns: 336px 1fr; gap: 60px; align-items: center;
  margin: 55px 0; padding-bottom: 45px; border-bottom: 1px solid var(--hh-gold);
  font-family: 'Montserrat', sans-serif; color: var(--hh-ink);
}
.hh-expert-photo { align-self: end; line-height: 0; }
.hh-expert-photo img { width: 100%; height: auto; display: block; }
.hh-expert-name { font: 300 38px/1.2 'Montserrat', sans-serif; color: var(--hh-ink); margin: 0 0 14px; }
.hh-expert p { font-size: 17px; line-height: 1.8; margin: 0 0 16px; color: var(--hh-ink); }
.hh-role { color: var(--hh-gold-dark) !important; }
.hh-compact { grid-template-columns: 220px 1fr; gap: 45px; }

.hh-btn {
  display: inline-block; background: var(--hh-gold-dark); color: #fff !important; text-decoration: none !important;
  padding: 0 24px; line-height: 48px; font: 400 15px/48px 'Montserrat', sans-serif; text-transform: uppercase;
  letter-spacing: .5px; transition: background .25s; border: 1px solid var(--hh-gold-dark);
}
.hh-btn:hover { background: #8d7742; }
.hh-btn-outline { background: transparent; color: var(--hh-gold-dark) !important; }
.hh-btn-outline:hover { background: #f1ece0; color: var(--hh-gold-dark) !important; }
.hh-expert-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px !important; }

/* --- Uj reszek jelolese ---------------------------------------------- */
.hh-change {
  display: none; background: #fff7e0; border: 1px solid #d0b56e; color: #6f561c;
  font: 500 11px/1.6 'Montserrat', sans-serif; padding: 4px 10px; margin-bottom: 16px; text-transform: none;
}
.hh-show-changes [data-change] { outline: 2px dashed var(--hh-gold-dark); outline-offset: 4px; }
.hh-show-changes .hh-change { display: inline-block; }

/* --- Bemutato urlap --------------------------------------------------- */
.hh-form-note {
  display: block; clear: both; width: 100%; text-align: center; padding: 22px 0 0; margin: 0;
  background: none !important; border: 0 !important; box-shadow: none !important; height: auto !important;
  font: 400 13px/1.6 'Montserrat', sans-serif; color: #555 !important;
}
.hivas .response:empty { display: none !important; }

/* --- Felugro ablakok -------------------------------------------------- */
dialog { border: 1px solid var(--hh-gold); box-shadow: 0 15px 80px rgba(0, 0, 0, .3); padding: 45px; max-width: min(900px, 92vw); max-height: 88dvh; overflow: auto; font-family: 'Montserrat', sans-serif; color: var(--hh-ink); }
dialog::backdrop { background: rgba(0, 0, 0, .6); }
dialog h2 { font: 300 30px/1.3 'Montserrat', sans-serif; margin: 0 0 18px; color: var(--hh-ink); border: 0; padding: 0; }
dialog h3 { font: 400 20px/1.4 'Montserrat', sans-serif; margin: 26px 0 12px; color: var(--hh-ink); border: 0; padding: 0; }
dialog p { font-size: 16px; line-height: 1.8; margin: 0 0 14px; }
dialog a:not(.hh-btn) { color: var(--hh-gold-dark); text-decoration: underline; }
dialog small { font-size: 13px; line-height: 1.5; color: #777; }
dialog#david-profil[open] { display: grid; grid-template-columns: 240px 1fr; gap: 38px; }
dialog#david-profil > img { width: 100%; height: auto; }
.hh-close { position: absolute; right: 14px; top: 8px; font: 300 32px/1 Arial, sans-serif; border: 0; background: none; color: #666; cursor: pointer; padding: 4px 10px; }

/* --- Latvanyterv-savok ------------------------------------------------ */
.hh-planbar {
  position: fixed; z-index: 2000000; left: 50%; bottom: 14px; transform: translateX(-50%);
  display: flex; align-items: center; gap: 2px; background: #303133; color: #fff; padding: 6px 8px;
  box-shadow: 0 4px 25px rgba(0, 0, 0, .3); border: 1px solid #626262; max-width: 98%;
  font: 400 13px/1.4 'Montserrat', sans-serif;
}
.hh-planbar strong { font-size: 10px; font-weight: 500; letter-spacing: 1px; padding: 0 9px; color: #d5c393; }
.hh-planbar a, .hh-planbar button { white-space: nowrap; background: none; border: 0; color: #fff; padding: 10px 13px; font: inherit; text-decoration: none; cursor: pointer; }
.hh-planbar a[aria-current="page"] { background: var(--hh-gold-dark); }
.hh-planbar button { border-left: 1px solid #666; margin-left: 4px; font-size: 11px; }
.hh-planbar button[aria-pressed="true"] { color: #e5cf95; }
body { padding-bottom: 74px; }
.tel_fix { bottom: 92px !important; }

html { scroll-behavior: smooth; scroll-padding-top: 120px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--hh-gold); outline-offset: 4px; }

/* --- Reszponziv ------------------------------------------------------- */
@media (max-width: 1024px) {
  .hh-block .hh-h2 { font-size: 34px; padding-left: 30px; }
  .hh-cols, .hh-steps { grid-template-columns: 1fr; gap: 30px; }
  .hh-cols-2 { grid-template-columns: 1fr; }
  .hh-expert { grid-template-columns: 240px 1fr; gap: 35px; }
  .hh-expert-name { font-size: 30px; }
}
@media (max-width: 800px) {
  .hh-block { padding: 45px 0; }
  .hh-block .hh-h2 { font-size: 28px; padding-left: 24px; }
  .hh-expert, .hh-compact { grid-template-columns: 1fr; gap: 0; }
  .hh-expert-photo { max-width: 230px; margin: 0 auto 26px; }
  .hh-expert-name { font-size: 27px; }
  .hh-lead { font-size: 17px !important; }
  .hh-box { padding: 24px 22px; }
  .hh-prices { font-size: 15px; }
  .hh-prices th, .hh-prices td { padding: 12px 14px; }
  .hh-prices td strong { font-size: 18px; }
  .hh-fees > div { align-items: flex-start; gap: 14px; font-size: 15px; }
  .hh-fees strong { font-size: 19px; }
  .hh-amount { font-size: 27px !important; }
  .hh-btn { width: 100%; text-align: center; }
  .hh-expert-actions { display: block; }
  .hh-expert-actions .hh-btn { margin-bottom: 10px; }
  dialog { padding: 32px 22px; }
  dialog#david-profil[open] { display: block; }
  dialog#david-profil > img { width: 170px; float: left; margin: 0 20px 14px 0; }
  dialog h3 { clear: both; }
  .hh-planbar { left: 0; right: 0; bottom: 0; width: 100%; max-width: 100%; transform: none; justify-content: center; border-left: 0; border-right: 0; padding: 4px 2px; }
  .hh-planbar strong { display: none; }
  .hh-planbar a { padding: 9px 8px; font-size: 12px; }
  .hh-planbar button { font-size: 10px; padding: 6px 8px; white-space: normal; max-width: 92px; line-height: 1.2; }
  body { padding-bottom: 58px; }
  .tel_fix { bottom: 74px !important; }
  html { scroll-padding-top: 95px; }
}
/* A cimsav fix magassagu; a hosszabb megyei cim mobilon kilogna belole. */
@media (max-width: 900px) {
  .hh-page-county .cikk_title, .hh-page-prices .cikk_title {
    height: auto; min-height: 130px; display: flex; align-items: center; justify-content: center;
    padding: 26px 18px;
  }
  .hh-page-county .cikk_title span, .hh-page-prices .cikk_title span {
    position: static; transform: none; -webkit-transform: none; width: 100%; max-width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print { .hh-planbar, .tel_fix, dialog { display: none !important; } }
