/* =========================================================
   ABOUT INTRO SECTION
   Premium font system: Sora + Inter
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Sora:wght@500;600;700;800&display=swap');

.apm-about-intro-section {
  position: relative;
  overflow: hidden;
  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 10% 86%, rgba(11, 22, 63, 0.08) 0%, rgba(11, 22, 63, 0) 28%),
    linear-gradient(135deg, #F8FAFF 0%, #EEF4FF 52%, #FFFFFF 100%);
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #10182F;
  letter-spacing: -0.01em;
}

.apm-about-intro-section * {
  box-sizing: border-box;
}

.apm-about-intro-section::before {
  content: "";
  position: absolute;
  right: 8%;
  top: 54px;
  width: 130px;
  height: 130px;
  background-image: radial-gradient(rgba(217, 154, 74, 0.36) 2px, transparent 2px);
  background-size: 18px 18px;
  z-index: 0;
}

.apm-about-intro-section::after {
  content: "";
  position: absolute;
  right: -180px;
  top: 180px;
  width: 460px;
  height: 460px;
  background: #0B163F;
  border-radius: 0 0 0 48%;
  z-index: 0;
  opacity: 0.08;
}

.apm-about-intro-wrap {
  position: relative;
  z-index: 2;
  max-width: 1420px;
  margin: 0 auto;
}

.apm-about-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.9fr);
  gap: 60px;
  align-items: center;
  margin-bottom: 58px;
}

.apm-about-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 20px;
  margin-bottom: 22px;
  border: 1px solid rgba(217, 154, 74, 0.85);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #0B163F;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.apm-about-title {
  margin: 0;
  color: #0B163F;
  font-family: 'Sora', system-ui, sans-serif;
  font-size: clamp(50px, 5.6vw, 80px);
  line-height: 1.04;
  font-weight: 700;
  letter-spacing: -0.045em;
}

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

.apm-about-text {
  max-width: 720px;
  margin: 0 0 22px;
  color: #25334D;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.66;
  font-weight: 400;
  letter-spacing: -0.005em;
}

.apm-about-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 62px;
  margin-top: 10px;
  padding: 17px 32px;
  border-radius: 13px;
  background: linear-gradient(135deg, #D99A4A 0%, #E8B46C 100%);
  color: #FFFFFF;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  text-decoration: none;
  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-about-cta:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #C98532 0%, #D99A4A 100%);
  color: #FFFFFF;
  box-shadow: 0 22px 44px rgba(217, 154, 74, 0.40);
}

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

.apm-about-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.04), rgba(11,22,63,0.14));
}

.apm-value-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  padding: 28px 26px;
  border: 1px solid rgba(221, 229, 242, 0.95);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 18px 44px rgba(11, 22, 63, 0.08);
  backdrop-filter: blur(10px);
}

.apm-value-item {
  padding: 18px 20px;
  text-align: center;
}

.apm-value-item:not(:last-child) {
  border-right: 1px solid #DDE5F2;
}

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

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

.apm-value-title {
  margin: 0 0 8px;
  color: #0B163F;
  font-family: 'Sora', system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -0.035em;
}

.apm-value-text {
  margin: 0;
  color: #596579;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.52;
  font-weight: 400;
  letter-spacing: -0.005em;
}

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

  .apm-value-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .apm-value-item {
    border-right: none !important;
    border-bottom: 1px solid #DDE5F2;
  }

  .apm-value-item:last-child {
    border-bottom: none;
  }
}

@media (max-width: 767px) {
  .apm-about-intro-section {
    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-about-intro-wrap {
    width: 100% !important;
    max-width: none !important;
    padding-left: 22px !important;
    padding-right: 22px !important;
    margin: 0 auto !important;
  }

  .apm-about-title {
    font-size: clamp(44px, 14vw, 62px);
    line-height: 1.06;
    letter-spacing: -0.04em;
  }

  .apm-about-text {
    font-size: 17px;
    line-height: 1.6;
  }

  .apm-about-cta {
    font-size: 14px;
    letter-spacing: 0.045em;
  }

  .apm-about-visual {
    min-height: 320px;
  }

  .apm-value-row {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .apm-value-item {
    display: grid;
    grid-template-columns: 62px 1fr;
    gap: 16px;
    text-align: left;
    align-items: center;
    padding: 20px 6px;
  }

  .apm-value-icon {
    width: 62px;
    height: 62px;
    margin: 0;
  }
}

/* ABOUT SECTION - mobilos sortörés javítása */

@media (max-width: 767px) {
  .apm-about-intro-section,
  .apm-about-intro-wrap,
  .apm-about-hero,
  .apm-about-content {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow-x: hidden !important;
  }

  .apm-about-hero {
    display: block !important;
  }

  .apm-about-title {
    width: 100% !important;
    max-width: 100% !important;
    font-size: clamp(38px, 11vw, 52px) !important;
    line-height: 1.08 !important;
    letter-spacing: -0.04em !important;

    white-space: normal !important;
    overflow-wrap: break-word !important;
    word-break: normal !important;
  }

  .apm-mobile-break {
    display: block !important;
    max-width: 100% !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
  }

  .apm-about-text {
    width: 100% !important;
    max-width: 100% !important;
    font-size: 17px !important;
    line-height: 1.58 !important;

    white-space: normal !important;
    overflow-wrap: break-word !important;
    word-break: normal !important;
  }

  .apm-about-cta {
    max-width: 100% !important;
    white-space: normal !important;
    text-align: center !important;
    text-decoration: none !important;
  }
}