/* Hero section */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #e9f2fb, #fff);
}

.hero .container {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  align-items: center;
  min-height: 560px;
  padding-block: 2rem;
}

@media (max-width: 1000px) {
  .hero .container {
    grid-template-columns: 1fr;
    min-height: unset;
  }
}

.headline {
  font-size: clamp(28px, 4.2vw, 48px);
  line-height: 1.1;
  margin: 0 0 .75rem 0;
  color: var(--navy);
}

.subhead {
  font-size: 1.125rem;
  color: #3a516b;
  max-width: 50ch;
}

.hero-meta {
  margin-top: 1.75rem;
  color: #64748b;
  font-size: 1rem;
  line-height: 1.6;
}

.hero-meta strong {
  color: #334861;
  font-weight: 700;
}

.hero-cta {
  display: flex;
  gap: 12px;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}

.badges {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}

.badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: .5rem .75rem;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e8edf4;
  box-shadow: var(--shadow);
}

.badge .crown {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: conic-gradient(from 180deg, var(--gold), #f6e7c8);
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #7a622e;
}

/* Hero media */
.visual {
  position: relative;
  width: 100%;
  height: min(520px, 70vh);
  border-radius: 36px;
  overflow: hidden;
  box-shadow:
    inset 0 -120px 180px rgba(0, 0, 0, .35),
    0 24px 40px rgba(15, 32, 60, .25);
}

.visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
}

.hero-media__image {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(27, 44, 69, .85) 0%, rgba(48, 83, 126, .35) 55%, rgba(26, 41, 64, .25) 85%),
    url('../media/hero-overlay.png') center/cover no-repeat;
  transform: scale(1.05);
  transition: transform .6s ease;
}

.hero-media__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 12, 24, .1) 0%, rgba(6, 12, 24, .7) 100%);
}

.hero-media__accent {
  position: relative;
  display: flex;
  gap: 18px;
  padding: 48px;
  z-index: 1;
}

.hero-media__accent span {
  display: block;
  width: 4px;
  height: 210px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(91, 192, 255, .85), rgba(18, 216, 133, .75));
  opacity: .8;
}

.hero-media__accent span:nth-child(2) {
  height: 250px;
  background: linear-gradient(180deg, rgba(198, 139, 255, .9), rgba(82, 160, 255, .7));
}

.hero-media__accent span:nth-child(3) {
  height: 180px;
  background: linear-gradient(180deg, rgba(255, 214, 102, .8), rgba(255, 112, 122, .65));
}

.visual:hover .hero-media__image {
  transform: scale(1.08);
}

@media (max-width: 900px) {
  .visual {
    height: auto;
    min-height: 420px;
  }

  .hero-media__accent {
    padding: 32px;
    gap: 12px;
  }

  .hero-media__accent span {
    height: 160px;
  }
}

/* KPI strip */
.kpis {
  background: #fff;
  border-top: 1px solid #eef2f7;
  border-bottom: 1px solid #eef2f7;
}

.kpis .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-block: 24px;
}

@media (max-width: 900px) {
  .kpis .container {
    grid-template-columns: 1fr;
  }
}

.kpis .kpi-note {
  display: block;
  margin-top: .75rem;
  margin-bottom: .75rem;
  padding-block: 0;
}

.kpis .kpi-note p {
  margin: 0;
  font-size: .85rem;
}

/* Expectations section */
.expectations-list {
  list-style: none;
  margin: 28px 0 0 0;
  padding: 0;
  display: grid;
  gap: 18px;
}

.expectations-list li {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 26px;
  background: #fff;
  border: 1px solid #e4ebf5;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.expectations-list .flag {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy), var(--navy-700));
  color: #fff;
  font-weight: 800;
  letter-spacing: .08em;
  font-size: .9rem;
  flex-shrink: 0;
}

.expectations-list p {
  margin: 0;
  color: #3a4d66;
  line-height: 1.6;
}

.contact {
  background: linear-gradient(180deg, #f3f7fc 0%, #fff 60%);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: start;
}

.contact-intro h1 {
  margin-top: .5rem;
  margin-bottom: 1rem;
  color: var(--navy);
}

/* .contact-intro {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
} */

.contact-visual {
  margin-top: auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.contact-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.contact-form {
  background: #fff;
  border: 1px solid #e5edf7;
  border-radius: 20px;
  padding: 28px 32px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 18px;
}

.contact-form .form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.contact-form .field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-form label {
  font-weight: 600;
  color: #2a3b4f;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #d7e2f0;
  border-radius: 12px;
  padding: .75rem .9rem;
  font-size: 1rem;
  transition: border-color .2s ease, box-shadow .2s ease;
  font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(15, 42, 68, .15);
  outline: none;
}

.contact-form textarea {
  resize: vertical;
  min-height: 140px;
}

.contact-form .textarea-field {
  align-items: flex-start;
}

.contact-form .form-grid .textarea-field {
  grid-column: 1 / -1;
}

.contact-form .textarea-field textarea {
  min-height: 160px;
}

.contact-form .form-divider {
  border: 0;
  border-top: 1px solid #e5edf7;
  margin: 8px 0 4px;
}

.contact-form .form-status {
  margin: 0;
  min-height: 1.25rem;
}

.contact-form .btn {
  justify-self: flex-start;
}

@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-visual {
    display: none;
  }

  .contact-form .form-grid {
    grid-template-columns: 1fr;
  }
}

.modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(13, 30, 50, .65);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
  z-index: 100;
}

.modal.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: #fff;
  border-radius: 20px;
  padding: 32px 36px;
  max-width: 420px;
  width: min(100%, 420px);
  text-align: center;
  box-shadow: var(--shadow);
}

.modal-content h2 {
  margin-top: 0;
  color: var(--navy);
}

body.modal-open {
  overflow: hidden;
}

.kpi {
  background: #fff;
  border: 1px solid #e9eef6;
  border-radius: 16px;
  padding: 22px;
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  text-align: center;
}

.kpi h3 {
  margin: 0 0 .5rem 0;
  font-size: .95rem;
  color: #50627a;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.kpi .value {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  justify-content: center;
}

.kpi .num {
  font-size: 40px;
  font-weight: 800;
  color: var(--navy);
}

.kpi .unit {
  color: var(--muted);
  margin-bottom: 6px;
  font-weight: 700;
}

.kpi p {
  margin: .5rem 0 0 0;
  color: #5c6f86;
}

/* Fee structure section */
.fees {
  padding-top: 56px;
  padding-bottom: 72px;
  background: linear-gradient(#e9f2fb 0 100px, transparent 100px 100%);
}

.fees-header {
  max-width: 760px;
  margin: 0 auto 22px auto;
  text-align: center;
}

.fees-header h2 {
  color: var(--navy);
  margin: 0 0 10px 0;
}

.fees-header p {
  line-height: 1.7;
}

.table-wrap {
  margin-top: 18px;
  background: #fff;
  border: 1px solid #e4ebf5;
  border-radius: 14px;
  box-shadow: var(--shadow);
  overflow: auto;
}

.fees-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: .95rem;
}

.fees-table th,
.fees-table td {
  padding: 16px 16px;
  border-right: 1px solid #e9eef6;
  border-bottom: 1px solid #e9eef6;
  vertical-align: middle;
  background: #fff;
}

.fees-table thead th {
  background: #f7fbff;
  color: #274464;
  font-weight: 800;
  text-align: center;
}

.fees-table .col-blank {
  background: #f7fbff;
}

.fees-table .highlight {
  background: var(--navy);
  color: #fff;
}

.fees-table .highlight .check {
  display: inline-block;
  width: 1.1rem;
  height: .65rem;
  border-left: .2rem solid #fff;
  border-bottom: .2rem solid #fff;
  transform: rotate(-45deg);
  margin-inline: auto;
}

.fees-table .strong {
  font-weight: 800;
}

.fees-table tr:last-child th,
.fees-table tr:last-child td {
  border-bottom: none;
}

.fees-table th:first-child,
.fees-table td:first-child {
  border-left: none;
}

.fees-table th:last-child,
.fees-table td:last-child {
  border-right: none;
}

.fees-table th[scope="row"] {
  width: 28%;
  font-weight: 700;
  color: #2a3b4f;
  background: #f5f8fc;
}

.center {
  text-align: center;
}

.dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
}

.footnote {
  font-size: .8em;
  color: #8aa0b8;
}

.fees-cta {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.fees-btn {
  min-width: 320px;
}

@media (max-width: 900px) {
  .fees-table th[scope="row"] {
    width: auto;
  }

  .fees-btn {
    width: 100%;
  }
}

/* Reasons section */
.reason {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 28px;
  align-items: stretch;
  background: var(--card);
  color: #fff;
  border-radius: 20px;
  overflow: hidden;
}

.reason .pic {
  position: relative;
  min-height: 240px;
  background-color: #0e253e;
  overflow: hidden;
}

.reason .pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}

.reason:hover .pic img,
.reason.light:hover .pic img {
  transform: scale(1.05);
}

.reason .body {
  padding: 28px;
}

.reason h3 {
  margin: 0 0 .5rem 0;
  font-size: 22px;
}

.reason p {
  color: #d7e2f0;
  line-height: 1.6;
}

.reason .btn {
  background: #0f2033;
  color: #cfe0f5;
  border-color: #204165;
}

.reason .btn:hover {
  transform: none;
}

.reason.light {
  background: #fff;
  color: #142436;
  border: 1px solid #e5edf7;
}

.reason.light .pic {
  background-color: #e8eff8;
}

.reason.light .body p {
  color: #50627a;
}

.reason .flag {
  font-weight: 800;
  letter-spacing: .08em;
  color: #fffb;
  display: inline-block;
  margin-bottom: .75rem;
}

.reason.light .flag {
  color: #142436;
}

@media (max-width: 900px) {
  .reason {
    grid-template-columns: 1fr;
  }

  .reason .pic {
    min-height: 200px;
  }
}
