/* =========================================
   BYALL AUTOMATION — MANAGED SERVICES PAGE
   managed-services.css
   ========================================= */

/* ── HERO ── */

.managed-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: #020b1a;
}

.managed-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://byallautomation.com/wp-content/uploads/2026/04/ba-securty-6.jpg') center/cover no-repeat;
  z-index: 0;
}

.managed-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(2,11,26,.94)  0%,
    rgba(10,22,40,.86) 40%,
    rgba(13,27,62,.78) 70%,
    rgba(13,27,62,.70) 100%
  );
  z-index: 1;
}

.managed-hero .hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 190px 24px 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Kicker */
.managed-hero .hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(26,159,224,.12);
  border: 1px solid rgba(26,159,224,.30);
  border-radius: 999px;
  padding: 8px 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 28px;
}

/* Hero title */
.managed-hero .hero-title {
  font-family: var(--font-display);
  font-size: clamp(44px, 6.5vw, 82px);
  line-height: 1.03;
  font-weight: 800;
  letter-spacing: -2px;
  margin-bottom: 24px;
  display: block;
  width: 100%;
  text-align: center;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}

.managed-hero .hero-title .gradient {
  display: inline;
  background: linear-gradient(105deg, #ffffff 0%, #7dd4f8 40%, #1a9fe0 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.managed-hero .hero-title .white {
  display: inline;
  color: #fff !important;
  -webkit-text-fill-color: #fff;
  text-shadow: 0 4px 24px rgba(0,0,0,.55);
}

.managed-hero .hero-title .gold {
  display: inline;
  color: var(--gold) !important;
  -webkit-text-fill-color: var(--gold);
  text-shadow: 0 4px 28px rgba(245,197,24,.35);
}

/* Hero desc */
.managed-hero .hero-desc {
  max-width: 760px;
  margin: 0 auto 40px;
  font-size: 18px;
  line-height: 1.72;
  color: rgba(255,255,255,.84);
  font-weight: 300;
  text-shadow: 0 2px 14px rgba(0,0,0,.55);
}

/* Hero buttons */
.managed-hero .hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ── WHY CARDS (blue-section içinde location-card override) ── */

.blue-section .location-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.blue-section .location-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 24px;
  padding: 36px 28px;
  text-align: center;
  transition: background .3s ease,
              transform .3s var(--ease-spring),
              border-color .3s;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}

.blue-section .location-card:hover {
  background: rgba(26,159,224,.12);
  border-color: rgba(26,159,224,.35);
  transform: translateY(-6px);
}

.blue-section .location-card i {
  font-size: 36px;
  color: var(--gold);
  margin-bottom: 16px;
  display: block;
  transition: transform .3s var(--ease-spring);
}

.blue-section .location-card:hover i {
  transform: scale(1.15);
  color: #fff;
}

.blue-section .location-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0;
}

/* ── WORKFLOW CARDS (step numaraları) ── */

.workflow-num {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
  color: var(--blue);
  margin-bottom: 12px;
  display: block;
}

/* info-card içindeki h3 çift yazımını önle */
.info-card .workflow-num + h3 {
  margin-top: 0;
}

/* ── BLUE SECTION HEADINGS ── */

.blue-section h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 16px;
  letter-spacing: -.5px;
}

.blue-section > .section-container > p {
  font-size: 17px;
  line-height: 1.72;
  color: rgba(255,255,255,.72);
  max-width: 760px;
  margin: 0 auto;
  font-weight: 300;
}

/* ── TABLET ── */

@media (max-width: 900px) {
  .blue-section .location-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ── MOBİL ── */

@media (max-width: 768px) {

  .managed-hero .hero-content {
    padding: 150px 18px 80px;
  }

  .managed-hero .hero-title {
    font-size: clamp(32px, 9vw, 48px) !important;
    letter-spacing: -1px;
  }

  .managed-hero .hero-desc {
    font-size: 15px;
    line-height: 1.62;
    margin-bottom: 30px;
  }

  .managed-hero .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
  }

  .managed-hero .hero-buttons .btn-primary,
  .managed-hero .hero-buttons .btn-secondary {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  .blue-section .location-card {
    padding: 26px 20px;
    border-radius: 20px;
  }

  .blue-section .location-card i {
    font-size: 28px;
  }

  .workflow-num {
    font-size: 34px;
  }
}

@media (max-width: 480px) {
  .managed-hero .hero-title {
    font-size: 28px !important;
  }
}