/* --------------------------------- Home-Section 8-Corporate Agile Training ------------------------------------------------- */
/* =========================================================
   HOME - Corporate Training Section
   Csak a Home oldalon szereplő Corporate Training blokkhoz
   ========================================================= */

/* =========================================================
   Alap szekció
   ========================================================= */

.apm-home-corporate-training,
.apm-home-corporate-training * {
  box-sizing: border-box;
  font-family: "Barlow", "Inter", Arial, sans-serif;
}

.apm-home-corporate-training {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 90px 6vw;
  background:
    radial-gradient(circle at 88% 8%, rgba(217, 154, 74, 0.12) 0%, rgba(217, 154, 74, 0) 26%),
    radial-gradient(circle at 8% 88%, rgba(11, 22, 63, 0.08) 0%, rgba(11, 22, 63, 0) 28%),
    linear-gradient(135deg, #F8FAFF 0%, #EEF4FF 52%, #FFFFFF 100%);
  color: #10182F;
}

.apm-home-corporate-training::before {
  content: "";
  position: absolute;
  right: 4%;
  top: 50px;
  width: 140px;
  height: 140px;
  background-image: radial-gradient(
    rgba(217, 154, 74, 0.36) 2px,
    transparent 2px
  );
  background-size: 18px 18px;
  z-index: 0;
}

.apm-home-corporate-training::after {
  content: "";
  position: absolute;
  right: -170px;
  bottom: -200px;
  width: 460px;
  height: 460px;
  border-radius: 48% 0 0 0;
  background: #0B163F;
  opacity: 0.08;
  z-index: 0;
}

/* =========================================================
   Belső tartalmi keret
   ========================================================= */

.apm-home-corporate-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1420px;
  margin: 0 auto;
}

/* =========================================================
   Hero rész
   ========================================================= */

.apm-home-corp-hero {
  display: grid;
  grid-template-columns: minmax(420px, 0.95fr) minmax(0, 1.05fr);
  gap: 58px;
  align-items: center;
  margin-bottom: 58px;
}

.apm-home-corp-visual-group {
  display: grid;
  gap: 18px;
}

.apm-home-corp-visual {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(11, 22, 63, 0.16), rgba(217, 154, 74, 0.12)),
    url("https://images.unsplash.com/photo-1556761175-b413da4baf72?auto=format&fit=crop&w=1200&q=80");
  background-position: center;
  background-size: cover;
  box-shadow: 0 26px 70px rgba(11, 22, 63, 0.18);
}

.apm-home-corp-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(11, 22, 63, 0.10),
    rgba(11, 22, 63, 0.02)
  );
}

/* =========================================================
   Kép alatti információs doboz
   ========================================================= */

.apm-home-corp-image-note {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 16px;
  align-items: center;
  padding: 20px 22px;
  border: 1px solid rgba(217, 154, 74, 0.24);
  border-left: 5px solid #D99A4A;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 16px 36px rgba(11, 22, 63, 0.08);
  backdrop-filter: blur(10px);
}

.apm-home-corp-image-note-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: linear-gradient(135deg, #0B163F 0%, #135C68 100%);
  color: #FFFFFF;
}

.apm-home-corp-image-note-title {
  margin: 0 0 6px;
  color: #0B163F;
  font-size: 25px;
  font-weight: 800;
  line-height: 1.2;
}

.apm-home-corp-image-note-text {
  margin: 0;
  color: #0B163F;
  font-size: 20px;
  line-height: 1.45;
}

/* =========================================================
   Hero szöveges tartalom
   ========================================================= */

.apm-home-corp-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  padding: 9px 20px;
  border: 1px solid rgba(217, 154, 74, 0.85);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #0B163F;
  font-size: 25px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.apm-home-corp-title {
  margin: 0;
  color: #0B163F;
  font-size: clamp(42px, 4.8vw, 72px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.apm-home-corp-line {
  width: 76px;
  height: 4px;
  margin: 28px 0 26px;
  border-radius: 999px;
  background: linear-gradient(90deg, #D99A4A, #E8B46C);
}

.apm-home-corp-subtitle {
  max-width: 700px;
  margin: 0 0 22px;
  color: #0B163F;
  font-size: clamp(20px, 1.7vw, 26px);
  line-height: 1.48;
  font-weight: 500;
}

.apm-home-corp-intro {
  max-width: 700px;
  margin: 0 0 34px;
  color: #0B163F;
  font-size: 20px;
  line-height: 1.62;
}

/* =========================================================
   Közönség / Who is it for? rész
   ========================================================= */

.apm-home-audience-box {
  margin-bottom: 60px;
  padding: 38px 34px;
  border: 1px solid rgba(221, 229, 242, 0.95);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 44px rgba(11, 22, 63, 0.08);
  backdrop-filter: blur(10px);
}

.apm-home-audience-title {
  margin: 0;
  color: #0B163F;
  text-align: center;
  font-size: clamp(38px, 4vw, 56px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.apm-home-audience-line {
  width: 62px;
  height: 4px;
  margin: 18px auto 34px;
  border-radius: 999px;
  background: linear-gradient(90deg, #D99A4A, #E8B46C);
}

.apm-home-audience-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.apm-home-audience-item {
  min-height: 138px;
  padding: 22px 16px;
  border: 1px solid #DDE5F2;
  border-radius: 20px;
  background: rgba(248, 250, 255, 0.88);
  text-align: center;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.apm-home-audience-item:hover {
  transform: translateY(-4px);
  border-color: rgba(217, 154, 74, 0.55);
  box-shadow: 0 16px 32px rgba(11, 22, 63, 0.08);
}

.apm-home-audience-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: #F1F5FB;
  color: #0B163F;
}

.apm-home-audience-item:nth-child(2n) .apm-home-audience-icon {
  background: rgba(217, 154, 74, 0.14);
  color: #D99A4A;
}

.apm-home-audience-label {
  margin: 0;
  color: #0B163F;
  font-size: 20px !important;
  line-height: 1.28;
  font-weight: 800;
}

/* =========================================================
   Alsó CTA blokk
   ========================================================= */

.apm-home-final-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
  padding: 34px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 8% 40%, rgba(217, 154, 74, 0.16) 0%, rgba(217, 154, 74, 0) 30%),
    linear-gradient(135deg, #0B163F 0%, #111F4D 100%);
  color: #FFFFFF;
  box-shadow: 0 24px 58px rgba(11, 22, 63, 0.20);
}

.apm-home-final-title {
  margin: 0 0 8px;
  color: #FFFFFF !important;
  font-size: 25px;
  line-height: 1.2;
  font-weight: 800;
}

.apm-home-final-text {
  margin: 0;
  color: #FFFFFF !important;
  font-size: 20px;
  line-height: 1.5;
}

.apm-home-corp-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 64px;
  padding: 18px 30px;
  border-radius: 14px;
  background: linear-gradient(135deg, #D99A4A 0%, #E8B46C 100%);
  color: #FFFFFF !important;
  font-size: 18px;
  font-weight: 800;
  text-decoration: none !important;
  box-shadow: 0 18px 36px rgba(217, 154, 74, 0.30);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

.apm-home-corp-cta:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #C98532 0%, #D99A4A 100%);
  color: #FFFFFF !important;
  box-shadow: 0 22px 44px rgba(217, 154, 74, 0.40);
}

.apm-home-final-cta .apm-home-corp-cta {
  box-shadow: none;
  white-space: nowrap;
}

/* =========================================================
   Tablet nézet
   ========================================================= */

@media (max-width: 1150px) {
  .apm-home-corp-hero {
    grid-template-columns: 1fr;
  }

  .apm-home-corp-visual {
    min-height: 360px;
  }

  .apm-home-audience-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .apm-home-final-cta {
    grid-template-columns: 1fr;
  }

  .apm-home-final-cta .apm-home-corp-cta {
    width: 100%;
  }
}

/* =========================================================
   Mobil nézet
   ========================================================= */

@media (max-width: 767px) {
  .apm-home-corporate-training {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    padding: 64px 0 !important;
    overflow-x: hidden !important;
  }

  .apm-home-corporate-training::before {
    display: none;
  }

  .apm-home-corporate-training::after {
    right: -145px;
    bottom: -150px;
    width: 320px;
    height: 320px;
  }

  .apm-home-corporate-wrap {
    width: 100% !important;
    max-width: none !important;
    margin: 0 auto !important;
    padding-left: 22px !important;
    padding-right: 22px !important;
  }

  .apm-home-corp-hero {
    gap: 38px;
    margin-bottom: 42px;
  }

  .apm-home-corp-visual {
    min-height: 320px;
    border-radius: 22px;
  }

  .apm-home-corp-image-note {
    grid-template-columns: 52px 1fr;
    gap: 14px;
    padding: 18px 20px;
  }

  .apm-home-corp-image-note-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
  }

  .apm-home-corp-image-note-title {
    font-size: 20px;
  }

  .apm-home-corp-image-note-text {
    font-size: 16px;
  }

  .apm-home-corp-eyebrow {
    padding: 8px 16px;
    margin-bottom: 18px;
    font-size: 16px;
  }

  .apm-home-corp-title {
    font-size: clamp(38px, 11vw, 52px);
  }

  .apm-home-corp-subtitle {
    font-size: 19px;
  }

  .apm-home-corp-intro {
    margin-bottom: 0;
    font-size: 17px;
  }

  .apm-home-audience-box {
    margin-bottom: 46px;
    padding: 28px 20px;
  }

  .apm-home-audience-title {
    text-align: left;
    font-size: clamp(32px, 9vw, 42px);
  }

  .apm-home-audience-line {
    margin-left: 0;
  }

  .apm-home-audience-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .apm-home-audience-item {
    min-height: 128px;
    padding: 18px 12px;
  }

  .apm-home-audience-icon {
    width: 52px;
    height: 52px;
  }

  .apm-home-audience-label {
    font-size: 16px !important;
  }

  .apm-home-final-cta {
    gap: 22px;
    padding: 26px;
    border-radius: 20px;
  }

  .apm-home-final-title {
    font-size: 22px;
  }

  .apm-home-final-text {
    font-size: 17px;
  }

  .apm-home-corp-cta {
    width: 100%;
    min-height: 58px;
    padding: 16px 20px;
    font-size: 16px;
  }
}

/* =========================================================
   Nagyon keskeny mobil nézet
   ========================================================= */

@media (max-width: 390px) {
  .apm-home-corporate-wrap {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  .apm-home-audience-grid {
    grid-template-columns: 1fr;
  }

  .apm-home-corp-title {
    font-size: 36px;
  }
}
