/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Dosis', sans-serif; font-weight: 400; font-size: 18px; color: #555; background: #fff; line-height: 1.55; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ── TOKENS ── */
:root {
  --pink:      #d52758;
  --pink-dark: #aa1741;
  --pink-light:#db4366;
  --pink-soft: #F8E7EC;
  --pink-gradient: linear-gradient(135deg, var(--pink-light) 0%, var(--pink) 52%, var(--pink-dark) 100%);
  --bg-light:  #eef2f8;
  --bg-gray:   #f4f5f7;
  --text:      #555;
  --text-dark: #333;
  --sh-sm:     0 2px 12px rgba(0,0,0,0.09);
  --sh-md:     0 4px 24px rgba(0,0,0,0.13);
  /* ── TYPE SCALE — minimum: 1rem (base), clamp a nagyobb méretekhez ── */
  --fs-small: 16px;  
  --fs-base: 18px;                                     /* body / legkisebb méret */
  --fs-ui:   clamp(1rem, 1.4vw + 0.65rem, 1.15rem);  /* nav, logo */
  --fs-300:  clamp(1rem, 2.5vw + 0.55rem, 1.45rem);  /* kisebb alcímek */
  --fs-400:  clamp(1.1rem, 3vw + 0.55rem, 1.75rem);  /* közepes fejlécek */
  --fs-500:  clamp(1.1rem, 3.5vw + 0.5rem, 1.85rem); /* nagyobb fejlécek */
  --fs-600:  clamp(1.5rem, 4.5vw + 0.5rem, 2.7rem);  /* szekciócímek */
  --fs-700:  clamp(1.5rem, 5.5vw + 0.5rem, 3rem);    /* hero h1 */
}

/* ── UTIL ── */
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 40px; }

/* ── BUTTON ── */
.btn {
  display: inline-block;
  background: var(--pink-gradient);
  color: #fff;
  font-family: 'Dosis', sans-serif;
  font-size: var(--fs-base);
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 11px 26px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: filter .2s, transform .2s;
}
.btn:hover { filter: saturate(1.06) brightness(1.03); transform: translateY(-1px); }

/* ── SECTION HEADING (light Dosis, pink, big) ── */
.sec-title {
  font-size: var(--fs-600);
  font-weight: 300;
  color: var(--pink);
  text-align: center;
  line-height: 1.2;
  margin-bottom: 10px;
}
.sec-sub {
  font-size: var(--fs-base);
  color: #888;
  text-align: center;
  margin-bottom: 50px;
  line-height: 1.6;
}

/* ── DASHED LINE ── */
.dash { border: none; border-bottom: 1px dashed #ddd; }


/* ════════════════════════════════
   NAV
════════════════════════════════ */
header {
  position: sticky; top: 0; z-index: 200;
  background: #fff;
  border-bottom: 1px solid #ebebeb;
}
.nav-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 40px;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.logo-block { display: flex; flex-direction: column; gap: 1px; }
.logo-name {
  font-size: var(--fs-300); font-weight: 500; color: var(--pink);
  letter-spacing: 0.03em; line-height: 1;
}
.logo-sub {
  font-size: var(--fs-base); font-weight: 400; color: #aaa;
  letter-spacing: 0.03em;
}
.nav-menu { display: flex; gap: 34px; }
.nav-menu a {
  font-size: var(--fs-ui); font-weight: 400; letter-spacing: 0.02em;
  text-transform: uppercase; color: #333;
  transition: color .2s;
}
.nav-menu a.active { color: var(--pink); }
.nav-menu a:hover  { color: var(--pink); }

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  width: 44px;
  height: 44px;
  border: 1px solid #eed1da;
  border-radius: 12px;
  background: #fff;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

.mobile-menu-btn span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--pink-dark);
  transition: transform .22s, opacity .22s;
}

.mobile-menu-btn span + span {
  margin-top: 5px;
}

.mobile-menu-btn[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}


/* ════════════════════════════════
   HERO
   – full-width bg image, text left, portrait right
════════════════════════════════ */
#kezdolap {
  /* Replace with: background-image: url('images/hero-bg.jpg'); */
  background: #eef1f5;
  background-size: cover;
  background-position: center;
  min-height: 620px;
  display: flex; align-items: center;
}
.hero-grid {
  max-width: 1280px; margin: 0 auto; padding: 70px 40px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}
.hero-eyebrow {
  font-size: var(--fs-base); font-weight: 400; color: #888;
  margin-bottom: 8px; line-height: 1.5;
}
.hero-line {
  width: 42px; height: 2px; background: var(--pink-gradient);
  margin-bottom: 24px;
}
.hero-h1 {
  font-size: var(--fs-700); font-weight: 300; color: var(--pink);
  line-height: 1.2; margin-bottom: 22px;
}
.hero-body {
  font-size: var(--fs-base); color: #555; line-height: 1.75;
  margin-bottom: 8px;
}
.hero-body + .hero-body { margin-bottom: 28px; }

/* portrait – no radius, subtle shadow */
.hero-img {
  width: 100%; max-width: 380px; height: 520px;
  object-fit: cover; object-position: top center;
  box-shadow: var(--sh-md);
  border-radius: 8px;
  margin-left: auto;
}
.hero-img-ph {
  width: 100%; max-width: 380px; height: 520px;
  background: #d5dce8; border-radius: 8px;
  box-shadow: var(--sh-md); margin-left: auto;
  display: flex; align-items: center; justify-content: center;
  color: #aaa; font-size: var(--fs-base); text-align: center; line-height: 1.6;
}


/* ════════════════════════════════
   INTRO  (white bg, image left, text right)
════════════════════════════════ */
#vamegoldas {
  background: #fff;
  padding: 90px 0;
}
.intro-grid {
  max-width: 1280px; margin: 0 auto; padding: 0 40px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 70px; align-items: center;
}
.intro-img {
  width: 100%; height: 380px;
  object-fit: cover; border-radius: 6px;
  box-shadow: var(--sh-md);
}
.intro-img-ph {
  width: 100%; height: 380px; background: #dce2ea;
  border-radius: 8px; box-shadow: var(--sh-md);
  display: flex; align-items: center; justify-content: center;
  color: #bbb; font-size: var(--fs-base);
}
.intro-lead {
  font-size: var(--fs-base); color: #666; line-height: 1.75;
  margin-bottom: 22px;
}
.intro-h2 {
  font-size: var(--fs-500); font-weight: 500; color: var(--pink);
  line-height: 1.3; margin-bottom: 20px;
}
.intro-body {
  font-size: var(--fs-base); color: #555; line-height: 1.75;
  margin-bottom: 10px;
}


/* ════════════════════════════════
   SERVICES  (light blue-gray bg)
════════════════════════════════ */
#szolgaltatasok {
  background: var(--bg-light);
  padding: 80px 0 90px;
}
.svc-grid {
  max-width: 1280px; margin: 0 auto; padding: 0 40px;
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 22px;
}
.svc-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
}
.svc-head {
  background: var(--pink-gradient); color: #fff;
  font-weight: 700; font-size: var(--fs-base);
  text-align: center; padding: 13px 16px;
  letter-spacing: 0.02em;
}
.svc-list { list-style: none; }
.svc-li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 13px 18px;
  font-size: var(--fs-base); color: var(--text); line-height: 1.55;
}
.svc-arr {
  color: var(--pink); font-weight: 700; font-size: var(--fs-base);
  flex-shrink: 0; line-height: 1.4;
}
.svc-center {
  max-width: 1280px; margin: 42px auto 0; padding: 0 40px;
  text-align: center;
}


/* ════════════════════════════════
   MIÉRT JÁRSZ JÓL  (white, text left, image right)
════════════════════════════════ */
#miertjarszjol {
  background: #fff;
  padding: 80px 0;
}
.mjj-grid {
  max-width: 1280px; margin: 0 auto; padding: 0 40px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 70px; align-items: center;
}
.mjj-h3 {
  font-size: var(--fs-300); font-weight: 500; color: var(--pink);
  line-height: 1.35; margin-bottom: 18px;
}
.mjj-body {
  font-size: var(--fs-base); color: var(--text); line-height: 1.75;
  margin-bottom: 14px;
}
.mjj-img {
    width: 100%; height: 340px; object-fit: cover;
    border-radius: 8px; box-shadow: var(--sh-md);
}
.mjj-img-ph {
  width: 100%; height: 340px; background: #dce2ea;
  border-radius: 8px; box-shadow: var(--sh-md);
  display: flex; align-items: center; justify-content: center;
  color: #bbb; font-size: var(--fs-base);
}


/* ════════════════════════════════
   KI VAGYOK  (gray bg, white card)
════════════════════════════════ */
#rolam {
  background: var(--bg-gray);
  padding: 80px 0;
}
.kv-wrap { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.kv-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: var(--sh-md);
  display: grid;
  grid-template-columns: 220px 1fr;
  overflow: hidden;
  max-width: 820px;
  margin: 42px auto 0;
}
/* portrait photo fills left column */
.kv-img {
  width: 220px; height: 100%;
  object-fit: cover; object-position: top;
  display: block;
}
.kv-img-ph {
  width: 220px; min-height: 340px;
  background: #d5dce8;
  display: flex; align-items: center; justify-content: center;
  color: #bbb; font-size: var(--fs-base); text-align: center; line-height: 1.6;
}
.kv-content {
  padding: 36px 36px 28px;
  display: flex; flex-direction: column;
}
.kv-name {
  font-size: var(--fs-400); font-weight: 300; color: var(--pink);
  margin-bottom: 5px; line-height: 1;
}
.kv-role {
  font-size: var(--fs-base); font-weight: 700; color: #bbb;
  letter-spacing: 0.14em; text-transform: uppercase;
  margin-bottom: 20px;
}
.kv-bio {
  font-size: var(--fs-base); color: #666; line-height: 1.75;
  flex: 1; margin-bottom: 28px;
}
.kv-footer {
  display: flex; align-items: center;
  justify-content: space-between;
}
.li-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; background: #0077b5;
  border-radius: 4px; color: #fff; flex-shrink: 0;
}
.li-btn svg { width: 17px; height: 17px; fill: currentColor; }


/* ════════════════════════════════
   REFERENCIÁK  (white bg)
════════════════════════════════ */
#referenciak {
  background: #fff;
  padding: 80px 0;
}
.ref-wrap { max-width: 1280px; margin: 0 auto; padding: 0 40px; }

/* Logo carousel */
.logo-carousel {
  margin: 34px 0 22px;
}
.logo-carousel__topbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-bottom: 18px;
}
.logo-embla {
  overflow: hidden;
  padding: 8px 0;
}
.logo-embla__container {
  display: flex;
  align-items: stretch;
}
.logo-embla__slide {
  flex: 0 0 28%;
  min-width: 0;
  padding: 0 12px;
}
.logo-card {
  height: 122px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px 26px;
  background: linear-gradient(180deg, #fff 0%, #fcf8f9 100%);
  border: 1px solid #eee3e7;
  border-radius: 8px;
  box-shadow: var(--sh-sm);
}
.logo-card img {
  height: 54px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  opacity: .75;
  filter: grayscale(1);
  transition: opacity .2s, filter .2s, transform .2s;
}
.logo-card:hover img {
  opacity: 1;
  filter: grayscale(0);
  transform: scale(1.03);
}
.logo-carousel__arrow {
  width: 44px;
  height: 44px;
  border: 1px solid #ead8de;
  border-radius: 999px;
  background: #fff;
  color: var(--pink-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--sh-sm);
  transition: transform .2s, border-color .2s, color .2s;
}
.logo-carousel__arrow:hover {
  transform: translateY(-1px);
  border-color: #d9bac4;
  color: var(--pink);
}
.logo-carousel__arrow:disabled {
  opacity: .45;
  cursor: default;
  transform: none;
}
.logo-carousel__arrow svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* text fallback logos */
.lx { opacity: .55; transition: opacity .2s; }
.lx:hover { opacity: 1; }

/* pagination dots */
.dots { display: flex; justify-content: center; gap: 6px; margin-bottom: 72px; }
.dot  {
  width: 8px; height: 8px; border-radius: 50%; background: #ccc;
  border: none; padding: 0; cursor: pointer;
}
.dot.on { background: var(--pink); }

@media (max-width: 1024px) {
  .logo-embla__slide { flex-basis: 38%; }
}

@media (max-width: 720px) {
  .logo-carousel__topbar {
    justify-content: center;
  }
  .logo-embla__slide { flex-basis: 68%; }
  .logo-card {
    height: 108px;
    padding: 18px 20px;
  }
  .logo-card img { height: 46px; }
}

/* testimonial 2-col grid */
.testi-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 22px;
  margin-top: 8px;
}
.testi-card {
  background: #fff; border: 1px solid #ebebeb;
  border-radius: 8px; box-shadow: var(--sh-sm);
  padding: 22px 22px 24px;
}
.testi-hd { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.testi-av {
  width: 50px; height: 50px; border-radius: 50%;
  object-fit: cover; flex-shrink: 0;
}
.testi-av-ph {
  width: 50px; height: 50px; border-radius: 50%;
  background: #e0e4ea; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: var(--fs-base); font-weight: 700; color: #aaa;
}
.testi-name { font-size: var(--fs-base); font-weight: 700; color: var(--text-dark); margin-bottom: 2px; }
.testi-stars { color: #f4a926; font-size: var(--fs-base); margin-bottom: 2px; letter-spacing: 1px; }
.testi-role { font-size: var(--fs-base); color: #aaa; line-height: 1.4; }
.testi-text { font-size: var(--fs-base); color: var(--text); line-height: 1.72; }


/* ════════════════════════════════
   HOGYAN DOLGOZUNK  (full pink bg)
════════════════════════════════ */
#dolgozzunkegyutt {
  background: var(--pink-gradient);
  padding: 80px 0;
}
.how-wrap { max-width: 960px; margin: 0 auto; padding: 0 40px; }
.how-title {
  font-size: var(--fs-600); font-weight: 300; color: #fff;
  text-align: center; margin-bottom: 42px; line-height: 1.2;
}
.how-p {
  font-size: var(--fs-base); color: rgba(255,255,255,.9);
  line-height: 1.8; margin-bottom: 14px;
}
.how-p.bold {
  font-weight: 700; color: #fff; margin-bottom: 28px;
}
.how-list { list-style: none; }
.how-item {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 16px 0;
  font-size: var(--fs-base); color: rgba(255,255,255,.92); line-height: 1.7;
}
.how-item:not(:last-child) { border-bottom: 1px dashed rgba(255,255,255,.35); }
.how-arr { color: #fff; font-weight: 700; font-size: var(--fs-base); flex-shrink: 0; margin-top: 1px; }
.how-dbl {
  display: flex; justify-content: center; margin-top: 38px;
  color: rgba(255,255,255,.75);
}
.how-dbl svg { width: 30px; height: 30px; }


/* ════════════════════════════════
   KAPCSOLAT  (white bg)
════════════════════════════════ */
#kapcsolat {
  background: #fff;
  padding: 80px 0;
}
.cnt-wrap { max-width: 640px; margin: 0 auto; padding: 0 40px; text-align: center; }
.cnt-title {
  font-size: var(--fs-400); font-weight: 500; color: var(--text-dark);
  margin-bottom: 8px; line-height: 1.3;
}
.cnt-sub { font-size: var(--fs-base); color: #aaa; margin-bottom: 40px; }
.cnt-cards { display: flex; gap: 18px; }
.cnt-card {
  width: 280px;
  display: flex; align-items: center; gap: 14px;
  background: #fff; border: 1px solid #ebebeb;
  border-radius: 8px; padding: 20px 22px;
  box-shadow: var(--sh-sm);
  transition: box-shadow .2s;
}
.cnt-card:hover { box-shadow: var(--sh-md); }
.cnt-icon {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--pink-soft); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.cnt-icon svg { width: 20px; height: 20px; stroke: var(--pink); fill: none; stroke-width: 2; }
.cnt-lbl { font-size: var(--fs-base); color: #bbb; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; margin-bottom: 3px; }
.cnt-val { font-size: var(--fs-base); font-weight: 700; color: var(--text-dark); }
.soc-row { display: flex; justify-content: center; gap: 10px; margin-top: 30px; }
.soc-btn {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--pink-gradient); color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: opacity .2s;
}
.soc-btn:hover { opacity: .8; }
.soc-btn svg { width: 15px; height: 15px; fill: currentColor; }


/* ════════════════════════════════
   FOOTER
════════════════════════════════ */
footer {
  background: #2d2d2d;
  padding: 12px 40px;
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 10px;
}
.ft-left { font-size: var(--fs-small); color: #888; }
.ft-left a { color: #888; transition: color .2s; }
.ft-left a:hover { color: #fff; }
.ft-right { display: flex; gap: 18px; }
.ft-right a { font-size: var(--fs-base); color: #777; text-transform: uppercase; letter-spacing: .09em; font-weight: 500; transition: color .2s; }
.ft-right a:hover { color: #fff; }


/* ════════════════════════════════
   GLOBAL RESPONSIVE
════════════════════════════════ */
@media (max-width: 1024px) {
  .wrap,
  .nav-inner,
  .hero-grid,
  .intro-grid,
  .mjj-grid,
  .kv-wrap,
  .ref-wrap,
  .how-wrap,
  .cnt-wrap,
  .svc-grid,
  .svc-center {
    padding-left: 24px;
    padding-right: 24px;
  }

  .hero-grid,
  .intro-grid,
  .mjj-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-img,
  .intro-img,
  .mjj-img {
    margin: 0 auto;
    max-width: 640px;
    width: 100%;
  }

  .svc-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testi-grid {
    grid-template-columns: 1fr;
  }

  .cnt-cards {
    flex-direction: column;
    align-items: center;
  }

  .cnt-card {
    width: 100%;
    max-width: 420px;
  }
}

@media (max-width: 720px) {
  .nav-inner {
    position: relative;
    height: 72px;
  }

  .logo-name {
    font-size: 1.12rem;
  }

  .logo-sub {
    font-size: .88rem;
  }

  .mobile-menu-btn {
    display: inline-flex;
  }

  .nav-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 18px;
    left: 18px;
    background: #fff;
    border: 1px solid #f1dfe5;
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(30, 18, 20, 0.16);
    display: flex;
    flex-direction: column;
    gap: 0;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity .2s, transform .2s;
    overflow: hidden;
  }

  .nav-menu a {
    padding: 14px 16px;
    border-bottom: 1px solid #f5ecef;
    font-size: 1rem;
    letter-spacing: .04em;
  }

  .nav-menu a:last-child {
    border-bottom: none;
  }

  .nav-menu.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .hero-grid {
    padding-top: 34px;
    padding-bottom: 40px;
  }

  .hero-img {
    height: 430px;
  }

  .intro-img,
  .mjj-img {
    height: 260px;
  }

  .svc-grid {
    grid-template-columns: 1fr;
  }

  .kv-card {
    grid-template-columns: 1fr;
  }

  .kv-img,
  .kv-img-ph {
    width: 100%;
    min-height: 280px;
    height: 280px;
  }

  .kv-content {
    padding: 24px 18px 20px;
  }

  .kv-footer {
    gap: 14px;
    flex-wrap: wrap;
  }

  .ft-left {
    text-align: center;
    line-height: 1.5;
  }

  #kapcsolat {
    background: linear-gradient(160deg, var(--pink-soft) 0%, #fff 55%);
    padding: 60px 0 72px;
  }

  .cnt-wrap {
    padding-left: 20px;
    padding-right: 20px;
  }

  .cnt-title {
    font-size: var(--fs-500);
  }

  .cnt-cards {
    gap: 14px;
    text-align: left;
  }

  .cnt-card {
    border: none;
    border-left: 4px solid var(--pink);
    border-radius: 14px;
    padding: 20px 20px 20px 18px;
    box-shadow: 0 4px 22px rgba(213, 39, 88, 0.10), 0 1px 4px rgba(0,0,0,0.05);
    transition: transform .2s, box-shadow .2s;
  }

  .cnt-card:active {
    transform: scale(0.98);
  }

  .cnt-icon {
    width: 52px;
    height: 52px;
    background: var(--pink-gradient);
    flex-shrink: 0;
  }

  .cnt-icon svg {
    width: 22px;
    height: 22px;
    stroke: #fff;
  }
}
