:root {
  --navy: #15233c;
  --blue: #1d5fd1;
  --blue-dark: #1246a8;
  --blue-tint: #eaf2fc;
  --blue-tint-2: #e3edfa;
  --gray: #5b6472;
  --white: #ffffff;
  --radius-lg: 20px;
  --radius-md: 14px;
  --container: 1080px;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo",
    "Malgun Gothic", "Noto Sans KR", sans-serif;
  color: var(--navy);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
  overflow-wrap: break-word;
  padding-bottom: calc(104px + env(safe-area-inset-bottom)); /* space for floating mobile call button */
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.accent {
  color: var(--blue);
}

.dot-char {
  display: inline-grid;
  grid-template-rows: auto auto;
  justify-items: center;
  row-gap: 0.12em;
  vertical-align: bottom;
}

.dot-char::before {
  content: '';
  width: 0.16em;
  height: 0.16em;
  background: var(--blue);
  border-radius: 50%;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--blue);
  margin: 0 0 14px;
  text-transform: uppercase;
}

.eyebrow__bar {
  display: inline-block;
  width: 22px;
  height: 2px;
  background: var(--blue);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 32px 24px 44px;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 88%);
  min-height: 460px;
  display: flex;
  align-items: center;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: 66% 35%;
  background-repeat: no-repeat;
  z-index: 0;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(255, 255, 255, 0.96) 0%,
    rgba(255, 255, 255, 0.86) 28%,
    rgba(255, 255, 255, 0.35) 52%,
    rgba(255, 255, 255, 0) 72%
  ),
  linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.55) 100%
  );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
}

.hero__title {
  margin: 0 0 18px;
  line-height: 0;
}

.hero__logo {
  display: block;
  width: clamp(230px, 46vw, 420px);
  height: auto;
}

.hero__desc {
  font-size: clamp(15px, 3.6vw, 18px);
  line-height: 1.55;
  color: var(--navy);
  opacity: 0.85;
  margin: 0 0 28px;
  font-weight: 500;
}

.phone-pill {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  border-radius: 100px;
  padding: 14px 28px 14px 14px;
  box-shadow: 0 10px 30px rgba(21, 35, 60, 0.12);
  max-width: 100%;
}

.phone-pill__icon {
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
}

.blink {
  animation: phone-blink 1s ease-in-out infinite;
}

@keyframes phone-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}

@media (prefers-reduced-motion: reduce) {
  .blink {
    animation: none;
    opacity: 1;
  }
}

.phone-pill__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.phone-pill__number {
  font-size: clamp(24px, 6vw, 30px);
  font-weight: 800;
  color: var(--blue);
  line-height: 1.1;
}

.phone-pill__hint {
  font-size: 13px;
  color: var(--gray);
  font-weight: 500;
}

/* ---------- Equipment ---------- */

.equipment {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px 40px;
}

.equipment__title {
  font-size: clamp(24px, 6vw, 32px);
  font-weight: 800;
  line-height: 1.35;
  margin: 0 0 12px;
}

.equipment__desc {
  font-size: 15px;
  color: var(--gray);
  margin: 0 0 28px;
  line-height: 1.5;
}

.equipment__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.equipment__card {
  background: var(--blue-tint);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.equipment__card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.equipment__card-body {
  padding: 16px 12px;
  text-align: center;
}

.equipment__name {
  font-size: 18px;
  font-weight: 800;
  margin: 0;
  color: var(--navy);
}

.equipment__card--gongtu img {
  object-position: 40% center;
}

/* ---------- Info bar ---------- */

.info-bar {
  background: var(--blue-tint-2);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 28px 16px;
}

.info-item {
  text-align: center;
  padding: 0 4px;
  border-right: 1px solid rgba(21, 35, 60, 0.1);
}

.info-item:last-child {
  border-right: none;
}

.info-item__icon {
  margin-bottom: 8px;
}

.info-item__title {
  font-size: 13.5px;
  font-weight: 700;
  margin: 0 0 2px;
  color: var(--navy);
}

.info-item__sub {
  font-size: 11.5px;
  color: var(--gray);
  margin: 0;
}

/* ---------- Fixed mobile call button ---------- */

.call-fab {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: calc(17px + env(safe-area-inset-bottom));
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 56px;
  border-radius: 9999px;
  background: rgba(225, 230, 236, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.75);
  color: #203a60;
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(21, 35, 60, 0.14);
}

.call-fab svg path {
  fill: #203a60;
}

.call-fab:active {
  background: rgba(210, 216, 224, 0.92);
}

/* ---------- Mobile-only spacing tightening ---------- */

@media (max-width: 719px) {
  .hero__title {
    margin-bottom: 10px;
  }

  .hero__desc {
    margin-bottom: 16px;
  }
}

/* ---------- Responsive: tablet / desktop ---------- */

@media (min-width: 720px) {
  .hero {
    padding: 72px 40px 96px;
    min-height: 640px;
  }

  .hero__bg {
    background-position: center center;
  }

  .equipment {
    padding: 50px 40px 56px;
  }

  .equipment__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }

  .info-bar {
    padding: 36px 40px;
  }

  .info-item__title {
    font-size: 15px;
  }

  .info-item__sub {
    font-size: 12.5px;
  }
}

@media (min-width: 1024px) {
  body {
    padding-bottom: 0;
  }

  .call-fab {
    display: none;
  }

  .hero {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 82%);
  }
}
