:root {
  --ink: #171b2a;
  --blue: #1fa7ff;
  --panel-shadow: 0 10px 24px rgba(18, 124, 196, 0.22);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  position: relative;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background-color: #eefbff;
  background: url("img/bgpc.webp");
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-position: center top;
}

.hero {
  width: min(100%, 1920px);
  min-height: 100vh;
  margin: 0 auto;
  position: relative;
}



.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
}

.brand__kjc {
  position: relative;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 700;
  font-size: clamp(3.7rem, 4.4vw, 5rem);
  line-height: 0.8;
}

.brand__kjc::after {
  content: "";
  position: absolute;
  left: 0.2em;
  right: -0.02em;
  bottom: -0.2em;
  height: 0.12em;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff7a00 6%, #ff8d00 78%);
  transform: skewX(-26deg);
}



.headline h1,
.headline p {
  margin: 0;
  text-transform: uppercase;
}

.headline h1 {
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(6rem, 9vw, 8.7rem);
  line-height: 0.86;
  letter-spacing: 0.02em;
  color: #1a1d2b;
  text-shadow:
    0 2px 0 rgba(255, 255, 255, 0.98),
    0 4px 0 rgba(255, 255, 255, 0.92),
    0 10px 22px rgba(26, 34, 66, 0.12);
}

.headline p {
  margin-top: 12px;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(2.65rem, 4vw, 4rem);
  line-height: 0.9;
  color: var(--blue);
  text-shadow: 0 4px 10px rgba(255, 255, 255, 0.8);
}
section.hero__content {
  width: 46%;
  height: 312px;
  position: absolute;
  bottom: 17%;
  left: 12%;
}
.cta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(240px, 1fr));
  gap: 16px 18px;
  width: 100%;

  margin-top: 38px;
}

.cta-card {
  display: block;
  text-decoration: none;
  filter: drop-shadow(var(--panel-shadow));
  transition: transform 180ms ease, filter 180ms ease;
}

.cta-card img {
  display: block;
  width: 100%;
  height: auto;
}

.cta-card:hover {
  transform: translateY(-2px);
  filter: drop-shadow(0 14px 26px rgba(12, 122, 189, 0.28));
}

@media (max-width: 900px) {
  body {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(54, 189, 245, 0.12)),
      url("img/bgmb.png") center top / cover no-repeat;
  }

  .hero {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 48px 22px 28px;
  }

  section.hero__content {
    width: 74%;
    height: auto;
    position: static;
  }

  .brand {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 18px;
  }

  .brand__kjc {
    font-size: 4.2rem;
  }

  .brand__divider {
    height: 66px;
  }

  .brand__jj {
    font-size: 4.2rem;
  }

  .headline {
    text-align: center;
  }

  .headline h1 {
    font-size: clamp(4.6rem, 16vw, 5.8rem);
  }

  .headline p {
    margin-top: 8px;
    font-size: clamp(1.95rem, 7vw, 2.7rem);
  }

  .cta-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 251px;
  }
}
@media (max-width: 390px) {
  .cta-grid {
    margin-top: 230px;
  }
}

@media (max-width: 375px) {
  .cta-grid {
    margin-top: 160px;
  }
}

@media (max-width: 360px) {
  .cta-grid {
    margin-top: 190px;
  }
}
