:root {
  --navy: #071c4d;
  --navy-soft: #0f2d69;
  --gold: #d4af37;
  --gold-light: #f5d96b;
  --ink: #122044;
  --muted: #667085;
  --paper: #fbfaf7;
  --line: #e6e9f0;
  --white: #ffffff;
  --serif: "DM Serif Display", Georgia, serif;
  --sans: "Poppins", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--sans);
}

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

.flexi-container {
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
}

/* Navigation */

.flexi-nav {
  min-height: 86px;
  display: flex;
  align-items: center;
  gap: 36px;
  padding: 15px max(32px, calc((100vw - 1320px) / 2));
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid #edf0f4;
  position: sticky;
  top: 0;
  z-index: 100;
}

.flexi-brand {
  line-height: 0.85;
  color: var(--navy);
  letter-spacing: 3px;
  font-family: var(--serif);
  font-size: 26px;
}

.flexi-brand small {
  display: block;
  margin-top: 8px;
  color: var(--gold);
  font-family: var(--sans);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 4px;
}

.flexi-nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  flex: 1;
}

.flexi-nav-links a {
  color: #28364f;
  font-size: 13px;
  font-weight: 700;
}

.flexi-nav-links a:hover,
.flexi-nav-links a.active {
  color: var(--gold);
}

.flexi-nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.flexi-nav-cta {
  min-width: 145px;
  padding: 15px 22px;
  border-radius: 999px;
  color: var(--navy);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
}

.flexi-nav-cta:hover,
.button:hover {
  transform: translateY(-3px);
}

.flexi-menu-button {
  display: none;
  border: 0;
  background: transparent;
  color: var(--navy);
  font-size: 22px;
}

/* Hero */

.flexi-hero {
  min-height: 665px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  color: var(--white);
  background:
    linear-gradient(115deg, #06163c 0%, #09265d 51%, #0b3477 100%);
}

.flexi-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.3;
  background-image:
    linear-gradient(rgba(255,255,255,.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.09) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: linear-gradient(to right, black, transparent);
}

.flexi-hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(4px);
}

.orb-one {
  width: 580px;
  height: 580px;
  right: -135px;
  top: -210px;
  opacity: 0.22;
  background: radial-gradient(circle, var(--gold-light), transparent 68%);
}

.orb-two {
  width: 540px;
  height: 540px;
  left: 34%;
  bottom: -460px;
  opacity: 0.16;
  background: radial-gradient(circle, #7fb1ff, transparent 65%);
}

.flexi-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(330px, 0.65fr);
  align-items: center;
  gap: 80px;
  padding: 105px 0 90px;
  position: relative;
  z-index: 1;
}

.flexi-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 46px;
  color: rgba(255,255,255,.72);
  font-size: 12px;
}

.flexi-breadcrumb a:hover {
  color: var(--gold-light);
}

.plan-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  margin-bottom: 25px;
  border: 1px solid rgba(245,217,107,.44);
  border-radius: 999px;
  color: var(--gold-light);
  background: rgba(255,255,255,.07);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.flexi-eyebrow,
.section-kicker {
  margin: 0 0 15px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

.flexi-hero h1,
.section-heading h2,
.why-flexi-copy h2,
.enquiry-copy h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  line-height: 0.98;
}

.flexi-hero h1 {
  max-width: 720px;
  font-size: clamp(57px, 6vw, 88px);
  letter-spacing: -1.5px;
}

.flexi-hero h1 em,
.section-heading h2 em,
.why-flexi-copy h2 em,
.enquiry-copy h2 em {
  color: var(--gold-light);
  font-style: italic;
}

.flexi-description {
  max-width: 620px;
  margin: 28px 0 36px;
  color: rgba(255,255,255,.77);
  font-size: 16px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}

.button {
  min-height: 55px;
  padding: 0 25px;
  border-radius: 999px;
}

.button-gold {
  color: var(--navy);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  box-shadow: 0 15px 35px rgba(0,0,0,.18);
}

.button-text {
  color: var(--white);
  background: transparent;
}

.button-text:hover {
  color: var(--gold-light);
}

.flexi-summary-card {
  padding: 32px;
  border-top: 3px solid var(--gold-light);
  color: var(--navy);
  background: rgba(255,255,255,.97);
  box-shadow: 0 35px 75px rgba(0,0,0,.23);
}

.summary-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #a87d0a;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.8px;
}

.summary-card-top i {
  color: var(--gold);
  font-size: 26px;
}

.flexi-summary-card h2 {
  margin: 32px 0 11px;
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 400;
}

.flexi-summary-card > p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.summary-stats {
  display: grid;
  gap: 0;
  margin: 30px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.summary-stats div {
  display: flex;
  gap: 13px;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  color: #34415c;
  font-size: 13px;
  font-weight: 600;
}

.summary-stats div:last-child {
  border-bottom: 0;
}

.summary-stats i {
  width: 17px;
  color: var(--gold);
}

.summary-link,
.text-arrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
}

.summary-link:hover,
.text-arrow:hover {
  color: var(--gold-dark);
}

/* Plan switcher */

.plan-switcher-section {
  padding: 25px 0;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.plan-switcher {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.plan-switcher p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.plan-switcher > div {
  display: flex;
  gap: 7px;
  padding: 5px;
  border-radius: 999px;
  background: #edf0f5;
}

.plan-switcher a {
  padding: 11px 18px;
  border-radius: 999px;
  color: #69758b;
  font-size: 12px;
  font-weight: 800;
}

.plan-switcher a.selected {
  color: var(--navy);
  background: var(--white);
  box-shadow: 0 5px 15px rgba(7,28,77,.1);
}

/* Shared sections */

.plan-details-section,
.steps-section {
  padding: 125px 0;
}

.inclusions-section {
  padding: 120px 0;
  background: #f7f9fc;
}

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

.split-heading {
  display: grid;
  grid-template-columns: 1.05fr .65fr;
  justify-content: space-between;
  align-items: end;
  gap: 60px;
}

.section-heading h2,
.why-flexi-copy h2,
.enquiry-copy h2 {
  color: var(--navy);
  font-size: clamp(45px, 4.5vw, 68px);
}

.section-heading h2 em {
  color: var(--gold-dark);
}

.section-heading > p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

.centered-heading {
  max-width: 780px;
  margin: 0 auto 58px;
  text-align: center;
}

.centered-heading > p {
  max-width: 600px;
  margin: 23px auto 0;
}

.plan-overview-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 18px;
}

.plan-overview-card {
  min-height: 315px;
  position: relative;
  padding: 32px;
  border: 1px solid var(--line);
  background: var(--white);
  transition: transform .25s ease, box-shadow .25s ease;
}

.plan-overview-card:hover,
.inclusion-card:hover,
.step-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 20px 45px rgba(7,28,77,.1);
}

.main-overview-card {
  color: var(--white);
  border: 0;
  background: var(--navy);
}

.card-number {
  position: absolute;
  right: 24px;
  top: 19px;
  color: rgba(255,255,255,.1);
  font-family: var(--serif);
  font-size: 74px;
}

.plan-overview-card > i {
  display: inline-grid;
  width: 53px;
  height: 53px;
  place-items: center;
  border-radius: 50%;
  color: var(--gold);
  background: #fff8e5;
  font-size: 21px;
}

.main-overview-card > i {
  color: var(--gold-light);
  background: rgba(255,255,255,.11);
}

.plan-overview-card h3 {
  margin: 26px 0 11px;
  font-family: var(--serif);
  font-size: 31px;
  font-weight: 400;
}

.plan-overview-card p {
  max-width: 310px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.main-overview-card p {
  color: rgba(255,255,255,.7);
}

/* Inclusions */

.inclusions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 17px;
}

.inclusion-card {
  padding: 28px;
  border: 1px solid #e8edf4;
  background: var(--white);
  transition: transform .25s ease, box-shadow .25s ease;
}

.inclusion-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 50%;
  color: var(--gold-dark);
  background: #fff8e5;
  font-size: 18px;
}

.inclusion-card h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 17px;
}

.inclusion-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

/* Why flexi */

.why-flexi-section {
  padding: 120px 0;
  color: var(--white);
  background: var(--navy);
}

.why-flexi-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  align-items: center;
  gap: 110px;
}

.why-flexi-visual {
  min-height: 490px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 39px;
  border: 1px solid rgba(255,255,255,.16);
  background:
    radial-gradient(circle at 77% 23%, rgba(245,217,107,.46), transparent 0 19%),
    linear-gradient(145deg, #103b8c, #06173f);
}

.why-flexi-visual::before {
  content: "";
  position: absolute;
  width: 410px;
  height: 410px;
  top: -120px;
  right: -140px;
  border: 1px solid rgba(255,255,255,.19);
  border-radius: 50%;
  box-shadow: 0 0 0 35px rgba(255,255,255,.035), 0 0 0 70px rgba(255,255,255,.025);
}

.visual-topline {
  position: absolute;
  top: 39px;
  left: 39px;
  color: var(--gold-light);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
}

.visual-mark {
  position: relative;
  color: var(--white);
  font-family: var(--serif);
  font-size: clamp(90px, 10vw, 140px);
  line-height: .75;
}

.visual-mark span {
  display: block;
  margin: 16px 0 0 8px;
  color: var(--gold-light);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.why-flexi-visual p {
  position: relative;
  margin: 32px 0 0;
  color: rgba(255,255,255,.72);
  font-size: 16px;
  line-height: 1.7;
}

.visual-dots {
  position: absolute;
  right: 39px;
  bottom: 44px;
  display: flex;
  gap: 10px;
}

.visual-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-light);
}

.why-flexi-copy .section-kicker {
  color: var(--gold-light);
}

.why-flexi-copy h2 {
  color: var(--white);
  max-width: 650px;
}

.why-flexi-copy h2 em {
  color: var(--gold-light);
}

.why-flexi-copy > p {
  max-width: 650px;
  margin: 25px 0 32px;
  color: rgba(255,255,255,.69);
  font-size: 15px;
  line-height: 1.9;
}

.why-flexi-copy ul {
  display: grid;
  gap: 16px;
  margin: 0 0 37px;
  padding: 0;
  list-style: none;
}

.why-flexi-copy li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: rgba(255,255,255,.9);
  font-size: 13px;
  line-height: 1.7;
}

.why-flexi-copy li i {
  margin-top: 4px;
  color: var(--gold-light);
}

.why-flexi-copy .text-arrow {
  color: var(--gold-light);
}

/* Steps */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.step-card {
  min-height: 245px;
  padding: 31px;
  border-top: 3px solid var(--gold);
  background: var(--paper);
  transition: transform .25s ease, box-shadow .25s ease;
}

.step-card > span {
  display: block;
  margin-bottom: 42px;
  color: var(--gold-dark);
  font-family: var(--serif);
  font-size: 30px;
}

.step-card h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 18px;
}

.step-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

/* Enquiry */

.flexi-enquiry {
  padding: 115px 0;
  background: #f4f6fa;
}

.enquiry-layout {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 90px;
  align-items: center;
}

.enquiry-copy p:not(.section-kicker) {
  margin: 25px 0 32px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
}

.enquiry-trust {
  display: grid;
  gap: 13px;
}

.enquiry-trust span {
  color: #40506c;
  font-size: 13px;
  font-weight: 600;
}

.enquiry-trust i {
  width: 23px;
  color: var(--gold-dark);
}

.flexi-enquiry-form {
  padding: 35px;
  box-shadow: 0 20px 50px rgba(7,28,77,.09);
  background: var(--white);
}

.flexi-enquiry-form label {
  display: grid;
  gap: 8px;
  margin-bottom: 17px;
  color: #34415c;
  font-size: 12px;
  font-weight: 700;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.flexi-enquiry-form input,
.flexi-enquiry-form select {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  outline: none;
  border: 1px solid #dfe5ed;
  border-radius: 6px;
  color: var(--navy);
  background: #fff;
  font: inherit;
  font-size: 13px;
}

.flexi-enquiry-form input:focus,
.flexi-enquiry-form select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212,175,55,.13);
}

.form-submit {
  width: 100%;
  margin-top: 7px;
}

.form-note,
.form-success {
  margin: 16px 0 0;
  text-align: center;
  font-size: 11px;
  line-height: 1.6;
}

.form-note {
  color: #8490a4;
}

.form-success {
  min-height: 18px;
  color: #168150;
  font-weight: 600;
}

/* Responsive */

@media (max-width: 1050px) {
  .flexi-nav {
    gap: 20px;
  }

  .flexi-nav-links {
    gap: 18px;
  }

  .flexi-hero-grid,
  .why-flexi-grid,
  .enquiry-layout {
    gap: 50px;
  }
}

@media (max-width: 850px) {
  .flexi-nav {
    min-height: 72px;
    justify-content: space-between;
    padding: 13px 24px;
  }

  .flexi-menu-button {
    display: block;
    order: 2;
  }

  .flexi-nav-cta {
    display: none;
  }

  .flexi-nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    padding: 24px;
    flex-direction: column;
    align-items: flex-start;
    background: var(--white);
    box-shadow: 0 15px 25px rgba(7,28,77,.1);
  }

  .flexi-nav-links.is-open {
    display: flex;
  }

  .flexi-hero-grid,
  .why-flexi-grid,
  .enquiry-layout,
  .split-heading {
    grid-template-columns: 1fr;
  }

  .flexi-hero-grid {
    padding: 70px 0;
  }

  .flexi-summary-card {
    max-width: 480px;
  }

  .plan-overview-grid,
  .inclusions-grid,
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-flexi-grid,
  .enquiry-layout,
  .split-heading {
    gap: 40px;
  }
}

@media (max-width: 580px) {
  .flexi-container {
    width: min(100% - 32px, 1320px);
  }

  .flexi-hero {
    min-height: auto;
  }

  .flexi-hero h1 {
    font-size: 53px;
  }

  .flexi-breadcrumb {
    margin-bottom: 35px;
  }

  .plan-switcher {
    align-items: flex-start;
    flex-direction: column;
  }

  .plan-switcher > div {
    width: 100%;
  }

  .plan-switcher a {
    flex: 1;
    padding: 11px 8px;
    text-align: center;
  }

  .plan-details-section,
  .inclusions-section,
  .why-flexi-section,
  .steps-section,
  .flexi-enquiry {
    padding: 78px 0;
  }

  .section-heading h2,
  .why-flexi-copy h2,
  .enquiry-copy h2 {
    font-size: 45px;
  }

  .plan-overview-grid,
  .inclusions-grid,
  .steps-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .plan-overview-card,
  .step-card {
    min-height: auto;
  }

  .why-flexi-visual {
    min-height: 380px;
    padding: 27px;
  }

  .visual-topline {
    top: 27px;
    left: 27px;
  }

  .visual-dots {
    right: 27px;
    bottom: 30px;
  }

  .flexi-enquiry-form {
    padding: 24px 19px;
  }
}

.plan-price {
  margin: 27px 0 0;
  padding: 19px 0 23px;
  border-top: 1px solid var(--line);
}

.plan-price span {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.plan-price strong {
  color: var(--navy);
  font-family: var(--serif);
  font-size: 42px;
  font-weight: 400;
}