:root {
  --color-navy: #0d1e46;
  --color-navy-dark: #071129;
  --color-yellow: #f6a821;
  --color-yellow-dark: #e08e0a;
  --color-light-blue: #4fb3e0;
  --color-light-blue-soft: #eaf6fc;
  --color-white: #ffffff;

  --bg: #eef6fb;
  --text: var(--color-navy);

  --font-display: "Poppins", "Arial Narrow", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --line: rgba(13, 30, 70, 0.1);
  --line-strong: rgba(13, 30, 70, 0.25);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
  overflow-y: auto;
  background: linear-gradient(180deg, #eaf5fc 0%, var(--bg) 55%, #ffffff 100%);
  color: var(--text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

/* ---------- Decorative bubbles ---------- */

.bg-bubbles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.bubble {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(79, 179, 224, 0.35);
  background: radial-gradient(circle at 32% 30%, rgba(255, 255, 255, 0.9), rgba(79, 179, 224, 0.12));
}

.bubble--1 {
  width: 2.2rem;
  height: 2.2rem;
  top: 3%;
  left: 6%;
}
.bubble--2 {
  width: 1.1rem;
  height: 1.1rem;
  top: 9%;
  left: 15%;
}
.bubble--3 {
  width: 1.6rem;
  height: 1.6rem;
  top: 4%;
  right: 8%;
}
.bubble--4 {
  width: 0.9rem;
  height: 0.9rem;
  top: 12%;
  right: 18%;
}
.bubble--5 {
  width: 1.3rem;
  height: 1.3rem;
  top: 18%;
  right: 6%;
}

/* ---------- Layout ---------- */

.wrap {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  max-width: 30rem;
  margin: 0 auto;
  padding: clamp(0.45rem, 1.3vh, 0.9rem) clamp(1.1rem, 5vw, 1.75rem) 0;
}

/* ---------- Masthead ---------- */

.masthead {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: clamp(0.35rem, 1.1vh, 0.7rem);
}

.masthead__logo-frame {
  display: grid;
  place-items: center;
  width: clamp(7rem, 23vh, 16rem);
  height: clamp(7rem, 23vh, 16rem);
  border-radius: 50%;
  background: var(--color-white);
  box-shadow: 0 10px 26px rgba(13, 30, 70, 0.16);
  margin-bottom: clamp(0.3rem, 0.9vh, 0.6rem);
  padding: 0.3rem;
}

.masthead__logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.masthead__name {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.01em;
  font-size: clamp(1.05rem, 2.6vh, 1.5rem);
  color: var(--color-navy);
  margin: 0 0 0.1rem;
}

.masthead__tagline {
  margin: 0;
  font-weight: 700;
  color: var(--color-yellow-dark);
  font-size: clamp(0.74rem, 1.5vh, 0.94rem);
}

/* ---------- Divider ---------- */

.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin: clamp(0.25rem, 0.7vh, 0.6rem) 0;
}

.divider__line {
  width: clamp(1.6rem, 6vw, 2.5rem);
  height: 1px;
  background: var(--line-strong);
}

.divider__drop {
  width: 0.85rem;
  height: 0.85rem;
  color: var(--color-light-blue);
}

/* ---------- Intro ---------- */

.intro {
  text-align: center;
  margin: 0 0 clamp(0.3rem, 0.8vh, 0.65rem);
  color: rgba(13, 30, 70, 0.72);
  font-size: clamp(0.7rem, 1.3vh, 0.85rem);
  line-height: 1.35;
}

/* ---------- Section title ---------- */

.section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(0.88rem, 1.9vh, 1.1rem);
  color: var(--color-navy);
  margin: 0 0 clamp(0.3rem, 0.8vh, 0.6rem);
}

.section-title .dot {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--color-yellow);
}

/* ---------- Services ---------- */

.services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(0.35rem, 0.9vh, 0.6rem);
  margin-bottom: clamp(0.5rem, 1.3vh, 1rem);
}

.service-card {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  text-align: left;
  background: var(--color-white);
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  padding: clamp(0.3rem, 0.8vh, 0.55rem) clamp(0.5rem, 1.8vw, 0.75rem);
  box-shadow: 0 4px 14px rgba(13, 30, 70, 0.06);
  font-family: inherit;
  cursor: pointer;
  transition: transform 0.15s var(--ease), box-shadow 0.15s var(--ease);
}

.service-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(13, 30, 70, 0.1);
}

.service-card:active {
  transform: translateY(0);
}

.service-card__icon {
  flex: none;
  width: clamp(1.6rem, 3.6vh, 2.2rem);
  height: clamp(1.6rem, 3.6vh, 2.2rem);
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--color-light-blue-soft);
  color: var(--color-navy);
}

.service-card__icon svg {
  width: 58%;
  height: 58%;
}

.service-card__label {
  flex: 1;
  font-size: clamp(0.72rem, 1.7vh, 0.82rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-navy);
}

.service-card__chevron {
  flex: none;
  width: 1rem;
  height: 1rem;
  color: rgba(13, 30, 70, 0.35);
}

/* ---------- CTA buttons ---------- */

.cta {
  display: flex;
  flex-direction: column;
  gap: clamp(0.3rem, 0.8vh, 0.55rem);
  margin-bottom: clamp(0.5rem, 1.3vh, 1rem);
}

.btn {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(2.1rem, 3.8vh, 2.7rem);
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(0.85rem, 1.8vh, 0.98rem);
  text-decoration: none;
  padding: 0.3rem 1rem 0.3rem 0.3rem;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn__icon-badge {
  flex: none;
  display: grid;
  place-items: center;
  width: clamp(2rem, 4.4vh, 2.4rem);
  height: clamp(2rem, 4.4vh, 2.4rem);
  border-radius: 50%;
  background: var(--color-white);
  color: var(--color-yellow-dark);
  margin-right: 0.75rem;
}

.btn__icon-badge--ghost {
  background: var(--color-light-blue-soft);
  color: var(--color-navy);
}

.btn__icon {
  width: 55%;
  height: 55%;
}

.btn__label {
  flex: 1;
  text-align: left;
}

.btn__chevron {
  flex: none;
  width: 1.1rem;
  height: 1.1rem;
  opacity: 0.7;
}

.btn--primary {
  background: linear-gradient(135deg, var(--color-yellow) 0%, var(--color-yellow-dark) 100%);
  color: var(--color-navy);
  box-shadow: 0 10px 22px rgba(224, 142, 10, 0.35);
}

.btn--primary:hover {
  box-shadow: 0 14px 26px rgba(224, 142, 10, 0.42);
}

.btn--secondary {
  background: var(--color-white);
  color: var(--color-navy);
  border: 1.5px solid var(--line-strong);
}

.btn--secondary:hover {
  border-color: var(--color-navy);
}

/* ---------- Footer / contact cards ---------- */

.foot {
  display: flex;
  flex-direction: column;
  gap: clamp(0.3rem, 0.8vh, 0.5rem);
  padding-bottom: clamp(0.4rem, 1vh, 0.9rem);
}

.credit {
  margin: 0.4rem 0 0;
  text-align: center;
  font-size: 0.75rem;
  color: var(--color-navy);
  opacity: 0.55;
}

.credit a {
  color: inherit;
  text-decoration: underline;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--color-white);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: clamp(0.35rem, 0.9vh, 0.6rem) clamp(0.65rem, 2vw, 0.9rem);
  text-decoration: none;
  color: var(--color-navy);
  margin: 0;
  box-shadow: 0 4px 14px rgba(13, 30, 70, 0.05);
}

.contact-card--address {
  background: var(--color-light-blue-soft);
  border-color: transparent;
}

.contact-card--address .service-card__chevron {
  color: var(--color-navy);
  opacity: 0.55;
}

a.contact-card {
  transition: transform 0.15s var(--ease);
}

a.contact-card:hover {
  transform: translateY(-1px);
}

.contact-card__icon {
  flex: none;
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--color-light-blue-soft);
  color: var(--color-light-blue);
}

.contact-card__icon--filled {
  background: var(--color-navy);
  color: var(--color-white);
}

.contact-card__icon svg {
  width: 55%;
  height: 55%;
}

.contact-card__text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
}

.contact-card__label {
  font-size: 0.7rem;
  color: rgba(13, 30, 70, 0.55);
}

.contact-card__value {
  font-size: clamp(0.78rem, 1.8vh, 0.9rem);
  font-weight: 700;
  line-height: 1.3;
}

/* ---------- Wave decoration ---------- */

.wave {
  margin-top: clamp(0.3rem, 1vh, 0.9rem);
  line-height: 0;
  color: rgba(79, 179, 224, 0.55);
}

.wave svg {
  width: 100%;
  height: clamp(1rem, 2.6vh, 2.5rem);
  display: block;
}

@media (max-height: 780px) {
  .wave {
    display: none;
  }
}

/* ---------- Credit ---------- */

.credit {
  display: block;
  text-align: center;
  margin: clamp(0.25rem, 0.7vh, 0.45rem) 0 clamp(0.3rem, 0.9vh, 0.6rem);
  font-size: 0.66rem;
  color: rgba(13, 30, 70, 0.4);
  text-decoration: none;
}

.credit:hover {
  color: rgba(13, 30, 70, 0.65);
  text-decoration: underline;
}

@media (max-height: 760px) {
  .masthead__tagline {
    display: none;
  }
}

/* ---------- Reveal animation fallback (CSS only) ---------- */

.reveal {
  opacity: 0;
  animation: rise 0.6s var(--ease-out-quint) forwards;
  animation-delay: var(--delay, 0s);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* ---------- Service modal ---------- */

.modal {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.modal[hidden] {
  display: none;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 17, 41, 0.55);
  animation: fadeIn 0.2s var(--ease);
}

.modal__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 26rem;
  background: var(--color-white);
  border-radius: 1.5rem 1.5rem 0 0;
  padding: 1.75rem 1.5rem calc(1.5rem + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -10px 40px rgba(7, 17, 41, 0.25);
  animation: slideUp 0.25s var(--ease-out-quint);
}

@media (min-height: 560px) {
  .modal {
    align-items: center;
    padding: 1.5rem;
  }

  .modal__panel {
    border-radius: 1.5rem;
    animation: popIn 0.22s var(--ease-out-quint);
  }
}

.modal__close {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--color-white);
  color: var(--color-navy);
  cursor: pointer;
}

.modal__close svg {
  width: 1rem;
  height: 1rem;
}

.modal__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-yellow-dark);
}

.modal__title {
  margin: 0 0 0.6rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--color-navy);
  padding-right: 2rem;
}

.modal__desc {
  margin: 0 0 1.25rem;
  color: rgba(13, 30, 70, 0.72);
  font-size: 0.9rem;
  line-height: 1.55;
}

.modal__cta {
  width: 100%;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes popIn {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(8px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

