:root {
  --color-navy: #0c2f56;
  --color-blue: #1668c7;
  --color-blue-dark: #0f5cae;
  --color-text: #527089;
  --color-muted: #7890a3;
  --color-bg: #f3f9ff;
  --color-card: #ffffff;
  --color-line: #dcecf8;
  --color-whatsapp: #24c064;
  --shadow-card: 0 18px 45px rgba(35, 92, 145, 0.08);
  --shadow-cta: 0 20px 48px rgba(40, 103, 160, 0.10);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--color-text);
  background: #ffffff;
}

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

.checkups-section {
  position: relative;
  overflow: hidden;
  padding: 88px 24px;
  background:
    radial-gradient(circle at 8% 18%, rgba(83, 174, 232, 0.14), transparent 30%),
    radial-gradient(circle at 91% 72%, rgba(44, 139, 219, 0.10), transparent 28%),
    linear-gradient(180deg, #f7fbff 0%, var(--color-bg) 100%);
}

.checkups-section::before,
.checkups-section::after {
  position: absolute;
  content: "";
  border-radius: 999px;
  pointer-events: none;
}

.checkups-section::before {
  width: 420px;
  height: 420px;
  top: -210px;
  right: -130px;
  background: rgba(53, 154, 225, 0.08);
}

.checkups-section::after {
  width: 300px;
  height: 300px;
  bottom: -160px;
  left: -105px;
  border: 1px solid rgba(81, 155, 216, 0.18);
}

.checkups-shell {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.section-heading {
  max-width: 1120px;
  margin: 0 auto 48px;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-bottom: 16px;
  color: #4978a7;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.28em;
}

.eyebrow::before,
.eyebrow::after {
  width: 50px;
  height: 1px;
  content: "";
  background: #6e98bc;
}

.section-heading h1 {
  margin: 0;
  color: #082f5a;
  font-size: clamp(2.25rem, 3.45vw, 3.2rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: 0;
}

.section-heading p {
  max-width: 760px;
  margin: 10px auto 0;
  font-size: 1.15rem;
  line-height: 1.5;
  color: #65788d;
}

.checkups-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}

.checkup-card {
  min-height: 294px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 18px 16px;
  border: 1px solid rgba(222, 235, 245, 0.62);
  border-radius: 20px;
  background: var(--color-card);
  box-shadow: 0 10px 30px rgba(39, 78, 119, 0.045);
  text-align: center;
}

.icon-badge {
  width: 102px;
  height: 102px;
  flex: 0 0 102px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  border-radius: 50%;
  overflow: hidden;
}

.icon-badge img {
  width: 80px;
  height: 80px;
  display: block;
  object-fit: contain;
}

.icon-rose {
  background: #fff0f5;
}

.icon-amber {
  background: #fbf2e8;
}

.icon-blue {
  background: #e8f5fc;
}

.icon-violet {
  background: #f1effd;
}

.icon-green {
  background: #e4faf2;
}

.checkup-card h2 {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 5px;
  color: #082f5a;
  font-size: 1rem;
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: 0;
}

.checkup-card p {
  margin: 0;
  color: #65758a;
  font-size: 0.84rem;
  line-height: 1.42;
}

.card-action {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  border-radius: 50%;
  border: 0;
  padding: 0;
  color: #0e64d8;
  background: #eef5ff;
  box-shadow: none;
  cursor: pointer;
  font: inherit;
  transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.card-action svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.6;
}

.card-action:hover,
.card-action:focus-visible {
  color: #ffffff;
  background: #0e64d8;
  box-shadow: 0 8px 18px rgba(14, 100, 216, 0.2);
  transform: translateY(-2px);
}
.card-action:focus-visible,
.whatsapp-button:focus-visible {
  outline: 3px solid rgba(22, 104, 199, 0.28);
  outline-offset: 4px;
}

.whatsapp-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 28px;
  padding: 26px 30px;
  border: 1px solid var(--color-line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-cta);
  backdrop-filter: blur(10px);
}

.whatsapp-copy {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.whatsapp-mark {
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  color: var(--color-whatsapp);
  background: #e9fbf1;
}

.whatsapp-mark svg,
.whatsapp-button svg {
  width: 25px;
  height: 25px;
  fill: currentColor;
}

.whatsapp-copy strong {
  display: block;
  margin-bottom: 7px;
  color: var(--color-navy);
  font-size: 1.18rem;
  line-height: 1.3;
  font-weight: 800;
}

.whatsapp-copy p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.whatsapp-button {
  min-height: 54px;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 24px;
  border-radius: 999px;
  color: #ffffff;
  background: var(--color-whatsapp);
  font-size: 0.98rem;
  font-weight: 800;
  box-shadow: 0 16px 28px rgba(36, 192, 100, 0.24);
  transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
  white-space: nowrap;
}

.whatsapp-button:hover,
.whatsapp-button:focus-visible {
  background: #1eaa56;
  box-shadow: 0 18px 32px rgba(36, 192, 100, 0.30);
  transform: translateY(-2px);
}

.package-modal {
  width: min(560px, calc(100% - 32px));
  max-height: min(760px, calc(100% - 32px));
  padding: 0;
  border: 1px solid var(--color-line);
  border-radius: 24px;
  color: var(--color-text);
  background: #ffffff;
  box-shadow: 0 24px 80px rgba(12, 47, 86, 0.24);
}

.package-modal::backdrop {
  background: rgba(5, 27, 49, 0.56);
  backdrop-filter: blur(3px);
}

.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 28px 20px;
  border-bottom: 1px solid #e8f0f6;
}

.modal-eyebrow {
  color: #4978a7;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.modal-header h2 {
  margin: 8px 0 6px;
  color: var(--color-navy);
  font-size: 1.45rem;
  line-height: 1.2;
}

.modal-description {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
}

.modal-close {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  border: 0;
  border-radius: 50%;
  color: #527089;
  background: #eef5fb;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.package-form {
  padding: 20px 28px 28px;
}

.exam-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: minmax(48px, auto);
  align-items: stretch;
  gap: 10px;
  max-height: 340px;
  overflow-y: auto;
}

.exam-option {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  height: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  color: #345570;
  font-size: 0.88rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
  cursor: pointer;
}

.exam-option span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.exam-option input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  accent-color: var(--color-blue);
}

.selection-hint {
  min-height: 20px;
  margin: 14px 0;
  color: var(--color-muted);
  font-size: 0.82rem;
}

.acquire-button {
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: var(--color-whatsapp);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: background-color 180ms ease, opacity 180ms ease;
}

.acquire-button:hover:not(:disabled) {
  background: #1eaa56;
}

.acquire-button:disabled {
  opacity: 0.48;
  cursor: not-allowed;
}

.modal-close:focus-visible,
.exam-option input:focus-visible,
.acquire-button:focus-visible {
  outline: 3px solid rgba(22, 104, 199, 0.35);
  outline-offset: 3px;
}

@media (max-width: 1120px) {
  .checkups-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .checkups-section {
    padding: 68px 18px;
  }

  .section-heading {
    margin-bottom: 32px;
  }

  .eyebrow {
    gap: 18px;
    margin-bottom: 14px;
    font-size: 0.75rem;
    letter-spacing: 0.22em;
  }

  .eyebrow::before,
  .eyebrow::after {
    width: 34px;
  }

  .section-heading h1 {
    font-size: clamp(2rem, 9vw, 2.65rem);
    line-height: 1.12;
  }

  .section-heading p {
    font-size: 1rem;
    line-height: 1.55;
  }

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

  .checkup-card {
    min-height: 294px;
    padding: 20px 18px 16px;
    border-radius: 20px;
  }

  .whatsapp-cta {
    align-items: flex-start;
    flex-direction: column;
    padding: 24px;
    border-radius: 24px;
  }

  .whatsapp-button {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .checkups-section {
    padding: 56px 16px;
  }

  .checkups-grid {
    grid-template-columns: 1fr;
  }

  .eyebrow {
    gap: 14px;
  }

  .eyebrow::before,
  .eyebrow::after {
    width: 26px;
  }

  .checkup-card {
    min-height: 284px;
  }

  .checkup-card h2 {
    min-height: 24px;
  }

  .whatsapp-copy {
    align-items: flex-start;
  }

  .whatsapp-mark {
    width: 52px;
    height: 52px;
    border-radius: 18px;
  }

  .modal-header {
    padding: 22px 20px 16px;
  }

  .package-form {
    padding: 16px 20px 22px;
  }

  .exam-list {
    grid-template-columns: minmax(0, 1fr);
    grid-auto-rows: minmax(48px, auto);
    max-height: 44vh;
  }
}
