/* ==========================================================
   SCALING SYSTEM  (same as the other pages)
   1rem = 100px of the Figma design (frame width 1440px).
   (desktop only – tablet/mobile override this below)
   ========================================================== */
html {
  font-size: calc(100vw / 14.4);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --navy: #0b4a6f;
  --green: #7ac143;
  --line: #bcd8ee;
  --footer-bg: #0a2a4a;
}

body {
  font-family: "Inter", sans-serif;
  font-size: 0.16rem;
  color: var(--navy);
  background: #ffffff;
  overflow-x: hidden;
}

img {
  display: block;
}
a {
  text-decoration: none;
}
.green {
  color: var(--green);
}

/* icons from the sprite */
.icon {
  width: 0.24rem;
  height: 0.24rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

/* ============ HEADER ============ */
.site-header {
  position: absolute;
  top: 0.55rem;
  left: 0.36rem;
  right: 0.36rem;
  height: 0.71rem;
  z-index: 20;
  background: #ffffff;
  border-radius: 0.2rem;
  padding: 0 0.17rem;
  display: flex;
  align-items: center;
  box-shadow: 0 0.04rem 0.18rem rgba(11, 74, 111, 0.08);
}

.logo {
  height: 0.54rem;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.08rem;
  margin-left: 0.84rem;
  margin-right: auto;
}

.main-nav a {
  font-size: 0.18rem;
  line-height: 1.2;
  font-weight: 500;
  color: var(--navy);
  padding: 0.11rem 0.2rem;
  border-radius: 999px;
  transition: background 0.3s;
}

.main-nav a:hover {
  background: #e8f2fc;
}
.main-nav a.active {
  background: var(--navy);
  color: #ffffff;
}

.btn-green {
  display: inline-flex;
  align-items: center;
  gap: 0.1rem;
  background: var(--green);
  color: #ffffff;
  font-size: 0.2rem;
  font-weight: 500;
  padding: 0.11rem 0.18rem 0.11rem 0.2rem;
  border-radius: 999px;
  transition: transform 0.3s;
}

.btn-green .icon {
  width: 0.2rem;
  height: 0.2rem;
}

.btn-green:hover {
  transform: translateY(-0.02rem);
}

.menu-toggle,
.menu-icon {
  display: none;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  height: 6.78rem;
  background:
    radial-gradient(
      ellipse 16% 12% at 10% 30%,
      rgba(255, 255, 255, 0.9),
      transparent 70%
    ),
    radial-gradient(
      ellipse 22% 14% at 45% 10%,
      rgba(255, 255, 255, 0.85),
      transparent 70%
    ),
    radial-gradient(
      ellipse 20% 16% at 30% 75%,
      rgba(255, 255, 255, 0.85),
      transparent 70%
    ),
    linear-gradient(180deg, #b9ddf6 0%, #d6ebfa 45%, #eaf5fd 80%, #ffffff 100%);
}

.hero-img {
  position: absolute;
  top: 1.26rem;
  right: 0;
  width: 7.03rem;
  height: 5.52rem;
  object-fit: cover;
  z-index: 1;
}

.hero-leaf {
  position: absolute;
  mix-blend-mode: multiply;
  z-index: 2;
}

.hero-leaf-top {
  top: 1.05rem;
  left: -0.35rem;
  width: 1.1rem;
  transform: rotate(-20deg);
}

.hero-leaf-bottom {
  top: 6.2rem;
  left: -0.25rem;
  width: 1.6rem;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 6;
  padding: 1.64rem 0 0 0.3rem;
}

.hero-tag {
  display: flex;
  align-items: center;
  gap: 0.11rem;
  margin-left: 0.14rem;
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  height: 0.4rem;
  padding: 0 0.21rem;
  background: var(--navy);
  color: #ffffff;
  font-size: 0.2rem;
  font-weight: 500;
  border-radius: 999px;
}

.tag-line {
  width: 0.74rem;
  height: 0.01rem;
  background: #8fb3cf;
}

.hero h1 {
  margin-top: 0.06rem;
  font-size: 0.6rem;
  line-height: 0.6rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--navy);
}

.hero h2 {
  margin-top: 0.3rem;
  font-size: 0.31rem;
  line-height: 0.39rem;
  font-weight: 700;
  color: var(--navy);
}

.hero-sub {
  margin: 0.3rem 0 0 0.1rem;
  font-size: 0.18rem;
  line-height: 0.22rem;
  font-weight: 600;
  color: #0a2a4a;
}

.btn-navy {
  display: inline-flex;
  align-items: center;
  gap: 0.1rem;
  margin: 0.36rem 0 0 0.06rem;
  height: 0.4rem;
  padding: 0 0.23rem;
  background: var(--navy);
  color: #ffffff;
  font-size: 0.18rem;
  font-weight: 500;
  border-radius: 999px;
  transition: transform 0.3s;
}

.btn-navy .icon {
  width: 0.22rem;
  height: 0.22rem;
}

.btn-navy:hover {
  transform: translateY(-0.02rem);
}

/* ============ ENQUIRY CARDS ============ */
.enquiry {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 6.92rem 6.71rem;
  gap: 0.15rem;
  padding: 0 0.32rem 0 0.3rem;
  margin-top: 0.55rem;
}

.card {
  position: relative;
  min-height: 9.68rem;
  background: linear-gradient(180deg, #f1f7fe 0%, #fbfdff 100%);
  border: 0.02rem solid #cfe2f4;
  border-radius: 0.3rem;
  box-shadow: 0 0.04rem 0.12rem rgba(11, 74, 111, 0.14);
}

.pill {
  display: inline-flex;
  align-items: center;
  height: 0.54rem;
  padding: 0 0.36rem;
  background: var(--navy);
  color: #ffffff;
  font-size: 0.28rem;
  font-weight: 700;
  border-radius: 999px;
}

/* ---- left card ---- */
.card-info {
  display: flex;
  flex-direction: column;
  padding: 0.21rem 0 0 0.24rem;
}

.card-info .pill {
  align-self: flex-start;
}

.info-title {
  margin: 0.34rem 0 0 0.06rem;
  font-size: 0.24rem;
  line-height: 0.28rem;
  font-weight: 700;
  color: var(--navy);
}

.info-text {
  margin: 0.3rem 0 0 0.06rem;
  font-size: 0.24rem;
  line-height: 0.28rem;
  font-weight: 500;
  color: var(--navy);
}

.send-row {
  display: flex;
  align-items: center;
  margin: 0.5rem 0 0 0.05rem;
}

.pill-green {
  display: inline-flex;
  align-items: center;
  height: 0.58rem;
  padding: 0 0.22rem;
  background: #a9d77b;
  border: 0.01rem solid #3f6d1d;
  border-radius: 999px;
  color: var(--navy);
  font-size: 0.26rem;
  font-weight: 600;
}

.send-line {
  width: 0.75rem;
  height: 0.01rem;
  margin-left: 0.29rem;
  background: var(--green);
}

.share-title {
  margin: 0.26rem 0 0 0.06rem;
  font-size: 0.24rem;
  line-height: 0.28rem;
  font-weight: 700;
  color: var(--navy);
}

.checklist {
  display: grid;
  grid-template-columns: 3.28rem 1fr;
  margin: 0.27rem 0 0 0.06rem;
}

.checklist ul {
  list-style: none;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.09rem;
  font-size: 0.16rem;
  line-height: 0.19rem;
  font-weight: 500;
  color: var(--navy);
}

.checklist .icon {
  width: 0.17rem;
  height: 0.17rem;
  margin-top: 0.01rem;
  color: var(--green);
  stroke-width: 2;
}

.info-img {
  width: 6.96rem;
  height: 3.19rem;
  margin: auto 0 -0.02rem -0.3rem;
  object-fit: cover;
  border-radius: 0.3rem;
  box-shadow: 0 0.04rem 0.12rem rgba(11, 74, 111, 0.18);
}

/* ---- right card ---- */
.card-form {
  padding: 0.21rem 0.23rem 0.28rem 0.21rem;
}

.form-lead {
  margin-top: 0.34rem;
  font-size: 0.24rem;
  line-height: 0.3rem;
  font-weight: 700;
  color: var(--navy);
}

.enquiry-form {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  margin-top: 0.2rem;
}

.field {
  display: flex;
  align-items: center;
  height: 0.6rem;
  background: #ffffff;
  border: 0.01rem solid var(--line);
  border-radius: 0.2rem;
  overflow: hidden;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}

.field:focus-within {
  border-color: var(--green);
  box-shadow: 0 0 0 0.03rem rgba(122, 193, 67, 0.25);
}

.field-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 0.64rem;
  height: 100%;
  border-right: 0.01rem solid var(--line);
  color: var(--navy);
}

.field input,
.field textarea {
  flex: 1;
  height: 100%;
  min-width: 0;
  padding: 0 0.16rem;
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
  font-size: 0.2rem;
  font-weight: 400;
  color: var(--navy);
}

.field ::placeholder {
  color: var(--navy);
  opacity: 1;
}

.field-area {
  align-items: flex-start;
  height: 1.68rem;
}

.field-area .field-icon {
  height: 0.6rem;
  border-bottom: 0.01rem solid var(--line);
  border-bottom-right-radius: 0.2rem;
}

.field-area textarea {
  padding-top: 0.15rem;
  resize: none;
}

.btn-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  width: 100%;
  height: 0.59rem;
  margin-top: 0.37rem;
  border: 0;
  border-radius: 0.2rem;
  background: var(--green);
  color: #ffffff;
  font: inherit;
  font-size: 0.24rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 0.03rem 0.08rem rgba(11, 74, 111, 0.2);
  transition: transform 0.3s;
}

.btn-submit .icon {
  width: 0.28rem;
  height: 0.28rem;
}

.btn-submit:hover {
  transform: translateY(-0.02rem);
}

/* ============ PARTNER STRIP ============ */
.partner-strip {
  display: flex;
  align-items: center;
  height: 1.23rem;
  margin: 0.54rem 0.32rem 0 0.32rem;
  background: #fbfdff;
  border: 0.015rem solid #cfe2f4;
  border-radius: 0.3rem;
}

.strip-img {
  height: 0.8rem;
  width: auto;
  margin-left: 0.4rem;
  mix-blend-mode: multiply;
}

.strip-divider {
  flex: none;
  width: 0.01rem;
  height: 0.77rem;
  background: var(--navy);
}

.strip-img + .strip-divider {
  margin-left: 0.58rem;
}

.strip-brand {
  width: 4.9rem;
  margin-left: 0.41rem;
}

.strip-brand h3 {
  font-size: 0.3rem;
  line-height: 0.38rem;
  font-weight: 700;
  color: var(--navy);
}

.strip-brand p {
  margin-top: 0.04rem;
  font-size: 0.16rem;
  font-style: italic;
  font-weight: 500;
  color: var(--navy);
}

.strip-brand + .strip-divider {
  margin-left: 0.12rem;
}

.strip-cta {
  margin-left: 0.34rem;
  font-size: 0.24rem;
  line-height: 0.28rem;
  font-weight: 500;
  color: var(--navy);
}

/* ============ FOOTER ============ */
/* 1rem = 100px of the Figma frame (1440px wide) */
.site-footer {
  margin-top: 0.39rem;
  background: #0a2a4a;
  color: #fff;
  overflow: hidden;
  font-family: "Inter", sans-serif;
}

.site-footer .footer-top {
  display: grid;
  grid-template-columns: 2.84rem 3.41rem 4.58rem 1fr;
  align-items: center;
  height: 1.1rem;
}

.site-footer .footer-logo {
  display: block;
  height: 0.9rem;
  width: auto;
  margin-left: 0.15rem;
  mix-blend-mode: lighten;
}

.site-footer .footer-block {
  display: flex;
  align-items: center;
  height: 0.59rem;
  border-left: 1px solid rgba(255, 255, 255, 0.7);
  font-size: 0.14rem;
  line-height: 1.4;
  white-space: nowrap;
}

.site-footer .footer-company {
  flex-direction: column;
  justify-content: center;
  text-align: center;
}
.site-footer .footer-company strong {
  font-weight: 700;
}

.site-footer .footer-copy {
  padding-left: 0.31rem;
  font-size: 0.13rem;
}

.site-footer .footer-tagline {
  justify-content: center;
  gap: 0.1rem;
}

.site-footer .tag-leaf {
  flex: 0 0 0.18rem;
  width: 0.18rem;
  height: 0.18rem;
  fill: none;
  stroke: #7ac143;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-footer .footer-wave {
  width: 100%;
  height: 1.3rem;
  background:
    linear-gradient(180deg, rgba(10, 42, 74, 0.45) 0%, rgba(10, 42, 74, 0) 65%),
    url("../assets/footer_boarder.jpg") center 60% / 100% auto no-repeat;
}

/* ==========================================================
   TABLET + MOBILE  (<= 1024px)
   Stops the rem scaling and switches to a stacked, fluid layout
   ========================================================== */
@media (max-width: 1024px) {
  html {
    font-size: 16px; /* reset rem scaling */
  }

  body {
    font-size: 16px;
    line-height: 1.5;
  }

  img {
    max-width: 100%;
  }

  /* sprite icons: back to fixed px sizes */
  .icon {
    width: 22px;
    height: 22px;
  }

  /* hide hard line breaks that have whitespace around them */
  .hero h2 br,
  .hero-sub br,
  .info-title br,
  .info-text br,
  .share-title br,
  .strip-cta br {
    display: none;
  }

  /* ---------- HEADER + HAMBURGER ---------- */
  .site-header {
    top: 16px;
    left: 16px;
    right: 16px;
    height: 64px;
    padding: 0 12px;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(11, 74, 111, 0.12);
  }

  .logo-link {
    order: 1;
    display: flex;
    align-items: center;
  }

  .logo {
    height: 44px;
  }

  .btn-green {
    order: 2;
    margin-left: auto;
    font-size: 15px;
    padding: 10px 16px 10px 18px;
    gap: 6px;
  }

  .btn-green .icon {
    width: 18px;
    height: 18px;
  }

  .menu-icon {
    order: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-left: 8px;
    font-size: 28px;
    line-height: 1;
    color: var(--navy);
    cursor: pointer;
    border-radius: 12px;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
  }

  .menu-icon:active {
    background: #e8f2fc;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    margin: 0;
    padding: 10px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(11, 74, 111, 0.2);
    z-index: 30;
  }

  .menu-toggle:checked ~ .main-nav {
    display: flex;
  }

  .main-nav a {
    display: block;
    font-size: 17px;
    line-height: 1.3;
    padding: 14px 18px;
    border-radius: 12px;
  }

  /* ---------- HERO ---------- */
  .hero {
    height: auto;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }

  .hero-content {
    order: 1;
    padding: 118px 24px 24px;
  }

  .hero-img {
    order: 2;
    position: relative;
    top: auto;
    right: auto;
    width: calc(100% - 48px);
    height: auto;
    aspect-ratio: 16 / 9;
    max-height: 360px;
    margin: 0 24px 36px;
    border-radius: 24px;
    z-index: 3;
  }

  .hero-leaf-top {
    top: 90px;
    left: -10px;
    width: 64px;
    opacity: 0.7;
  }

  .hero-leaf-bottom {
    display: none;
  }

  .hero-tag {
    margin-left: 0;
    gap: 10px;
  }

  .tag-pill {
    height: 36px;
    padding: 0 18px;
    font-size: 16px;
  }

  .tag-line {
    width: 56px;
  }

  .hero h1 {
    margin-top: 14px;
    font-size: 42px;
    line-height: 1.15;
  }

  .hero h2 {
    margin-top: 18px;
    font-size: 22px;
    line-height: 1.4;
  }

  .hero-sub {
    margin: 16px 0 0;
    font-size: 17px;
    line-height: 1.6;
  }

  .btn-navy {
    margin: 26px 0 0;
    height: auto;
    padding: 13px 26px;
    font-size: 16px;
    gap: 10px;
  }

  .btn-navy .icon {
    width: 20px;
    height: 20px;
  }

  /* ---------- ENQUIRY CARDS ---------- */
  .enquiry {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 16px;
    margin-top: 40px;
  }

  .card {
    min-height: 0;
    border-radius: 24px;
  }

  .pill {
    height: auto;
    padding: 10px 24px;
    font-size: 20px;
    line-height: 1.3;
  }

  /* left card */
  .card-info {
    padding: 24px;
  }

  .info-title {
    margin: 22px 0 0;
    font-size: 20px;
    line-height: 1.4;
  }

  .info-text {
    margin: 14px 0 0;
    font-size: 17px;
    line-height: 1.6;
    font-weight: 500;
  }

  .send-row {
    margin: 30px 0 0;
  }

  .pill-green {
    height: auto;
    padding: 10px 20px;
    font-size: 18px;
    line-height: 1.3;
  }

  .send-line {
    width: 48px;
    margin-left: 14px;
    flex: none;
  }

  .share-title {
    margin: 18px 0 0;
    font-size: 18px;
    line-height: 1.45;
  }

  .checklist {
    grid-template-columns: 1fr 1fr;
    gap: 0 20px;
    margin: 16px 0 0;
  }

  .checklist li {
    gap: 10px;
    margin-bottom: 12px;
    font-size: 15px;
    line-height: 1.5;
  }

  .checklist .icon {
    width: 20px;
    height: 20px;
    margin-top: 1px;
  }

  .info-img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    max-height: 340px;
    margin: 20px 0 0;
    border-radius: 20px;
  }

  /* right card (form) */
  .card-form {
    padding: 24px;
  }

  .form-lead {
    margin-top: 20px;
    font-size: 19px;
    line-height: 1.4;
  }

  .enquiry-form {
    gap: 12px;
    margin-top: 18px;
  }

  .field {
    height: 56px;
    border-radius: 14px;
  }

  .field:focus-within {
    box-shadow: 0 0 0 3px rgba(122, 193, 67, 0.25);
  }

  .field-icon {
    width: 54px;
  }

  .field input,
  .field textarea {
    padding: 0 14px;
    font-size: 16px; /* 16px stops iOS zoom on focus */
  }

  .field-area {
    height: 150px;
  }

  .field-area .field-icon {
    height: 56px;
    border-bottom-right-radius: 14px;
  }

  .field-area textarea {
    padding-top: 16px;
  }

  .btn-submit {
    height: 56px;
    margin-top: 24px;
    gap: 12px;
    border-radius: 14px;
    font-size: 18px;
  }

  .btn-submit .icon {
    width: 22px;
    height: 22px;
  }

  /* ---------- PARTNER STRIP ---------- */
  .partner-strip {
    flex-direction: column;
    height: auto;
    margin: 28px 16px 0;
    padding: 28px 22px;
    text-align: center;
    border-radius: 24px;
  }

  .strip-img {
    height: 72px;
    margin: 0;
  }

  .strip-divider,
  .strip-img + .strip-divider,
  .strip-brand + .strip-divider {
    width: 64px;
    height: 2px;
    margin: 18px 0;
  }

  .strip-brand {
    width: 100%;
    margin: 0;
  }

  .strip-brand h3 {
    font-size: 24px;
    line-height: 1.3;
  }

  .strip-brand p {
    margin-top: 6px;
    font-size: 15px;
    line-height: 1.5;
  }

  .strip-cta {
    margin: 0;
    font-size: 18px;
    line-height: 1.5;
  }

  /* ---------- FOOTER ---------- */
  .site-footer {
    margin-top: 36px;
  }

  .site-footer .footer-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    height: auto;
    padding: 28px 20px 24px;
    text-align: center;
  }

  .site-footer .footer-logo {
    height: 64px;
    margin: 0;
  }

  .site-footer .footer-block {
    height: auto;
    padding: 0;
    border: 0;
    justify-content: center;
    font-size: 14px;
    white-space: normal;
    text-align: center;
  }

  .site-footer .footer-copy {
    padding-left: 0;
    font-size: 13px;
  }

  .site-footer .tag-leaf {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
  }

  .site-footer .footer-wave {
    height: 100px;
    background:
      linear-gradient(
        180deg,
        rgba(10, 42, 74, 0.45) 0%,
        rgba(10, 42, 74, 0) 65%
      ),
      url("../assets/footer_boarder.jpg") center 60% / cover no-repeat;
  }
}

/* ==========================================================
   PHONES  (<= 700px)
   ========================================================== */
@media (max-width: 700px) {
  .hero-content {
    padding: 106px 20px 20px;
  }

  .hero-img {
    width: calc(100% - 40px);
    margin: 0 20px 28px;
    aspect-ratio: 4 / 3;
    border-radius: 20px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero h2 {
    font-size: 19px;
  }

  .hero-sub {
    font-size: 16px;
  }

  .enquiry {
    padding: 0 14px;
    margin-top: 32px;
  }

  .card-info,
  .card-form {
    padding: 20px;
  }

  .pill {
    padding: 9px 20px;
    font-size: 18px;
  }

  .info-title {
    font-size: 18px;
  }

  .info-text {
    font-size: 16px;
  }

  .pill-green {
    font-size: 16px;
  }

  .share-title {
    font-size: 16px;
  }

  .checklist {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .info-img {
    aspect-ratio: 4 / 3;
    border-radius: 16px;
  }

  .form-lead {
    font-size: 17px;
  }

  .field-icon {
    width: 48px;
  }

  .partner-strip {
    margin: 24px 14px 0;
    padding: 24px 18px;
  }

  .strip-brand h3 {
    font-size: 21px;
  }

  .strip-cta {
    font-size: 16px;
  }

  .site-footer .footer-wave {
    height: 80px;
  }
}

/* ==========================================================
   SMALL PHONES  (<= 400px)
   ========================================================== */
@media (max-width: 400px) {
  .site-header {
    top: 12px;
    left: 12px;
    right: 12px;
    height: 58px;
    padding: 0 8px;
  }

  .logo {
    height: 38px;
  }

  .btn-green {
    font-size: 14px;
    padding: 9px 14px;
  }

  .btn-green .icon {
    display: none; /* hide arrow to save space */
  }

  .menu-icon {
    width: 40px;
    height: 40px;
    font-size: 26px;
  }

  .hero-content {
    padding: 96px 16px 16px;
  }

  .hero-img {
    width: calc(100% - 32px);
    margin: 0 16px 24px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero h2 {
    font-size: 17px;
  }

  .pill {
    font-size: 16px;
  }

  .send-line {
    display: none;
  }

  .field-icon {
    width: 44px;
  }

  .btn-submit {
    font-size: 16px;
  }
}

.info-title a {
  color: inherit;
  text-decoration: none;
}
