:root {
  --navy: #0f2f78;
  --navy-deep: #0a2358;
  --blue: #1b56cc;
  --blue-soft: #edf4ff;
  --red: #dd1f26;
  --white: #ffffff;
  --text: #14213d;
  --muted: #65718b;
  --border: rgba(15, 47, 120, 0.12);
  --shadow: 0 28px 60px rgba(12, 37, 92, 0.12);
  --radius-xl: 28px;
  --radius-lg: 18px;
  --radius-md: 14px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(27, 86, 204, 0.12), transparent 30%),
    linear-gradient(180deg, #f4f8ff 0%, #eef3fb 100%);
}

body {
  min-height: 100vh;
}

a {
  color: var(--blue);
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.page-shell {
  width: min(1160px, calc(100% - 32px));
  margin: 28px auto 56px;
}

.hero-section {
  margin-bottom: 22px;
}

.hero-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.9fr);
  gap: 24px;
  padding: 34px 34px 78px;
  border: 1px solid rgba(15, 47, 120, 0.08);
  border-radius: var(--radius-xl);
  background: linear-gradient(90deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.95) 58%, rgba(232,240,251,0.9) 100%);
  box-shadow: var(--shadow);
}

.hero-card-image {
  display: block;
  padding: 0;
  background: #ffffff;
}

.hero-banner-image,
.footer-banner-image {
  width: 100%;
  height: auto;
  display: block;
}

.garuda-watermark {
  position: absolute;
  inset: auto auto 38px 34%;
  width: 240px;
  height: 240px;
  opacity: 0.06;
  background: radial-gradient(circle, rgba(15,47,120,0.18), transparent 62%);
  pointer-events: none;
}

.brand-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  margin-bottom: 18px;
}

.logo-frame,
.footer-logo {
  width: min(220px, 100%);
  min-height: 76px;
}

.section-label {
  margin: 0 0 12px;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}

.headline-wrap {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 14px;
}

.headline-accent {
  width: 8px;
  min-height: 86px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--red), #f36c73);
  flex: 0 0 auto;
}

.hero-title-small,
.hero-title-large {
  margin: 0;
  line-height: 1.04;
}

.hero-title-small {
  font-size: clamp(24px, 3vw, 42px);
  color: var(--navy-deep);
  font-weight: 800;
}

.hero-title-large {
  font-size: clamp(42px, 5vw, 68px);
  color: var(--blue);
  font-weight: 900;
  letter-spacing: 0.01em;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 16px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--navy), var(--blue));
  color: var(--white);
  font-weight: 700;
  box-shadow: 0 12px 26px rgba(15, 47, 120, 0.16);
}

.hero-badge-outline {
  background: rgba(255,255,255,0.9);
  color: var(--navy);
  border: 1px solid rgba(15, 47, 120, 0.16);
  box-shadow: none;
}

.hero-description {
  max-width: 560px;
  margin: 0;
  font-size: 18px;
  line-height: 1.65;
  color: #30415e;
}

.hero-media {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: stretch;
}

.hero-image-frame {
  width: 100%;
  min-height: 100%;
}

.hero-media-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  background: rgba(10, 35, 88, 0.74);
  color: var(--white);
  font-weight: 800;
  letter-spacing: 0.04em;
}

.hero-wave,
.footer-wave {
  position: absolute;
  right: 0;
  left: 0;
  height: 58px;
  bottom: 0;
  background:
    linear-gradient(176deg, transparent 0 44%, var(--red) 44% 52%, var(--white) 52% 63%, var(--blue) 63% 100%);
}

.content-card {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(15, 47, 120, 0.08);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  padding: 28px;
}

.content-card + .content-card {
  margin-top: 18px;
}

.section-title {
  margin: 0 0 8px;
  font-size: clamp(26px, 4vw, 36px);
  color: var(--navy-deep);
}

.section-subtitle {
  margin: 0 0 22px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 16px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.info-box {
  padding: 18px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #f8fbff, #eef5ff);
  border: 1px solid rgba(27, 86, 204, 0.08);
}

.info-box strong {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
}

.form-grid {
  display: grid;
  gap: 16px;
}

.field-group {
  display: grid;
  gap: 8px;
}

.field-group label {
  font-weight: 700;
  color: var(--navy-deep);
}

.field-input-shell {
  position: relative;
}

.field-icon {
  position: absolute;
  top: 50%;
  left: 16px;
  width: 28px;
  height: 28px;
  margin-top: -14px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  background: linear-gradient(180deg, rgba(27, 86, 204, 0.14), rgba(27, 86, 204, 0.08));
  border: 1px solid rgba(27, 86, 204, 0.12);
  pointer-events: none;
}

.field-icon svg {
  width: 16px;
  height: 16px;
}

.field-icon-city {
  color: #cf4c35;
  background: linear-gradient(180deg, rgba(221, 31, 38, 0.12), rgba(221, 31, 38, 0.06));
  border-color: rgba(221, 31, 38, 0.1);
}

.field-help {
  color: var(--muted);
  font-size: 13px;
}

.field-input,
.field-select,
.field-textarea {
  width: 100%;
  min-height: 58px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--text);
  font-size: 16px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field-textarea {
  min-height: 124px;
  resize: vertical;
}

.field-input:focus,
.field-select:focus,
.field-textarea:focus {
  border-color: rgba(27, 86, 204, 0.58);
  box-shadow: 0 0 0 4px rgba(27, 86, 204, 0.12);
}

.field-input[readonly] {
  background: #f8fbff;
}

.field-input-with-icon {
  padding-left: 56px;
}

.phone-stack {
  display: grid;
  gap: 12px;
}

.phone-entry {
  display: flex;
  align-items: stretch;
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--white);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.phone-entry:focus-within {
  border-color: rgba(27, 86, 204, 0.58);
  box-shadow: 0 0 0 4px rgba(27, 86, 204, 0.12);
}

.phone-prefix {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  background: linear-gradient(180deg, #f7faff, #edf4ff);
  border-right: 1px solid rgba(27, 86, 204, 0.12);
  color: var(--navy-deep);
  font-weight: 800;
  white-space: nowrap;
}

.phone-flag {
  width: 28px;
  height: 20px;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(15, 47, 120, 0.12);
  flex: 0 0 auto;
}

.phone-flag svg {
  width: 100%;
  height: 100%;
  display: block;
}

.phone-code {
  font-size: 15px;
  letter-spacing: 0.01em;
}

.phone-local-input {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.phone-local-input:focus {
  border-color: transparent;
  box-shadow: none;
}

.phone-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 178px;
  gap: 12px;
  align-items: stretch;
}

.otp-panel {
  display: none;
  padding: 18px;
  border-radius: var(--radius-lg);
  border: 1px dashed rgba(27, 86, 204, 0.24);
  background: rgba(237, 244, 255, 0.8);
}

.otp-panel.is-active {
  display: block;
}

.actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  border: 0;
  cursor: pointer;
  min-height: 58px;
  padding: 0 22px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.01em;
  transition: transform 0.16s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.btn-primary {
  color: var(--white);
  background: linear-gradient(180deg, var(--navy), var(--blue));
  box-shadow: 0 12px 22px rgba(15, 47, 120, 0.22);
}

.btn-secondary {
  color: #23437c;
  background: #f7faff;
  border: 1px solid rgba(27, 86, 204, 0.12);
}

.btn-danger {
  color: var(--white);
  background: linear-gradient(180deg, var(--red), #b2151d);
  box-shadow: 0 12px 22px rgba(221, 31, 38, 0.24);
}

.btn-link-soft {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(10, 35, 88, 0.52);
  z-index: 9999;
}

.modal-overlay.is-visible {
  display: flex;
}

.modal-card {
  width: min(100%, 560px);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 32px 28px;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid rgba(27, 86, 204, 0.1);
  box-shadow: 0 28px 68px rgba(10, 35, 88, 0.22);
  text-align: center;
}

.success-icon {
  width: 86px;
  height: 86px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #1ea45d, #15803d);
  color: #ffffff;
  box-shadow: 0 16px 34px rgba(21, 128, 61, 0.24);
}

.success-icon span {
  font-size: 42px;
  font-weight: 900;
  line-height: 1;
}

.modal-title {
  margin: 0 0 12px;
  color: var(--navy-deep);
  font-size: clamp(26px, 4vw, 34px);
}

.modal-text {
  margin: 0;
  color: #32435f;
  font-size: 16px;
  line-height: 1.75;
}

.modal-actions {
  justify-content: center;
  margin-top: 24px;
}

.message-box {
  display: none;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 16px;
}

.message-box.is-visible {
  display: block;
}

.message-box.info {
  background: rgba(27, 86, 204, 0.1);
  color: var(--navy);
  border: 1px solid rgba(27, 86, 204, 0.16);
}

.message-box.success {
  background: rgba(22, 163, 74, 0.1);
  color: #166534;
  border: 1px solid rgba(22, 163, 74, 0.16);
}

.message-box.error {
  background: rgba(221, 31, 38, 0.08);
  color: #991b1b;
  border: 1px solid rgba(221, 31, 38, 0.16);
}

.step-note {
  margin: -4px 0 18px;
  color: var(--muted);
}

.summary-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.summary-item {
  padding: 16px 18px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #f8fbff, #eef5ff);
  border: 1px solid rgba(15, 47, 120, 0.08);
}

.summary-item span {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 8px;
}

.summary-item strong {
  font-size: 16px;
  color: var(--navy-deep);
  overflow-wrap: anywhere;
}

.site-footer {
  position: relative;
  overflow: hidden;
  margin-top: 22px;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255,255,255,0.99), rgba(255,255,255,0.94));
  border: 1px solid rgba(15, 47, 120, 0.08);
  box-shadow: var(--shadow);
}

.site-footer-image {
  background: #ffffff;
}

.footer-top {
  position: relative;
  padding: 28px 28px 84px;
  text-align: center;
}

.footer-brand-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 18px;
}

.footer-title {
  margin: 0 0 8px;
  font-size: clamp(28px, 4vw, 46px);
  color: var(--navy-deep);
}

.footer-subtitle {
  margin: 0;
  font-size: 20px;
  color: var(--navy);
}

.footer-subtitle.second {
  margin-top: 6px;
  color: var(--muted);
  font-size: 17px;
}

.footer-trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 18px 24px 24px;
  background: linear-gradient(180deg, var(--navy), var(--blue));
  color: var(--white);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.trust-item strong,
.trust-item small {
  display: block;
}

.trust-item small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.82);
}

.trust-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.22);
  font-size: 22px;
  font-weight: 900;
  text-transform: uppercase;
}

.asset-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid rgba(15, 47, 120, 0.08);
  background: linear-gradient(135deg, #f8fbff, #ebf3ff);
}

.asset-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.asset-frame.is-missing {
  display: grid;
  place-items: center;
}

.asset-fallback {
  display: none;
  padding: 18px;
  text-align: center;
  color: var(--muted);
  font-weight: 700;
}

.asset-frame.is-missing .asset-fallback {
  display: block;
}

.list-compact {
  margin: 0;
  padding-left: 20px;
  color: #34435c;
  line-height: 1.7;
}

@media (max-width: 980px) {
  .hero-card,
  .info-grid,
  .summary-strip,
  .footer-trust {
    grid-template-columns: 1fr;
  }

  .hero-card {
    padding-bottom: 92px;
  }

  .hero-card-image {
    padding-bottom: 0;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 16px, 980px);
    margin-top: 10px;
    margin-bottom: 20px;
  }

  .hero-card,
  .content-card,
  .footer-top,
  .footer-trust {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-card {
    padding-top: 18px;
    gap: 16px;
  }

  .hero-card-image {
    padding-top: 0;
    gap: 0;
  }

  .headline-wrap {
    gap: 12px;
  }

  .headline-accent {
    min-height: 72px;
  }

  .phone-row {
    grid-template-columns: 1fr;
  }

  .summary-strip,
  .info-grid,
  .footer-trust {
    gap: 12px;
  }

  .summary-item,
  .info-box {
    padding: 14px;
  }

  .section-title {
    font-size: 24px;
  }

  .section-subtitle,
  .hero-description,
  .modal-text {
    font-size: 15px;
    line-height: 1.7;
  }

  .field-input,
  .field-select,
  .field-textarea {
    min-height: 54px;
    padding: 14px 16px;
  }

  .field-input-with-icon {
    padding-left: 52px;
  }

  .field-textarea {
    min-height: 112px;
  }

  .actions-row {
    flex-direction: column;
  }

  .btn {
    width: auto;
    min-height: 52px;
    padding-left: 18px;
    padding-right: 18px;
  }

  .modal-card {
    padding: 24px 18px;
  }

  .success-icon {
    width: 74px;
    height: 74px;
    margin-bottom: 16px;
  }

  .success-icon span {
    font-size: 36px;
  }

  .phone-row .btn,
  .modal-actions .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .page-shell {
    width: min(100% - 12px, 980px);
  }

  .hero-card,
  .content-card,
  .footer-top,
  .footer-trust,
  .modal-card {
    border-radius: 18px;
  }

  .section-title {
    font-size: 22px;
  }

  .summary-item strong {
    font-size: 15px;
  }

  .modal-overlay {
    padding: 12px;
  }

  .phone-prefix {
    padding-left: 12px;
    padding-right: 12px;
    gap: 8px;
  }

  .phone-code {
    font-size: 14px;
  }
}
