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

html {
  background: #FAFAF7;
  scroll-behavior: smooth;
}

body {
  font-family: 'Figtree', sans-serif;
  background: #FAFAF7;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  padding: 0;
}

.page-wrap {
  position: relative;
  z-index: 1;
  background: #FAFAF7;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 10px 0;
}

.content-area {
  position: relative;
  width: 100%;
  max-width: 1440px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.grid-overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1309px;
  max-width: calc(100% - 110px);
  pointer-events: none;
  z-index: 0;
  background-image: repeating-linear-gradient(
    to right,
    rgba(15, 22, 32, 0.07) 0,
    rgba(15, 22, 32, 0.07) 1px,
    transparent 1px,
    transparent calc((100% - 1px) / 6)
  );
}

.content-area .grid-overlay {
  bottom: -50px;
}


/* ─── Fixed Logo ─── */
@keyframes hero-fade-in {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.fixed-logo {
  position: fixed;
  top: 50px;
  left: 30px;
  z-index: 100;
  border-radius: 10px;
  height: 58px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  text-decoration: none;
  background: transparent;
  transition: background 0.3s ease;
  animation: hero-fade-in 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

.fixed-logo.scrolled {
  background: white;
}

.fixed-logo img {
  width: 182px;
  height: auto;
  display: block;
  transition: opacity 0.3s ease, width 0.3s ease;
}

.fixed-logo.scrolled img {
  width: 120px;
}

.logo-dark {
  position: absolute;
  opacity: 0;
}

.fixed-logo.scrolled .logo-white {
  opacity: 0;
}

.fixed-logo.scrolled .logo-dark {
  opacity: 1;
}


/* ─── Fixed Navigation ─── */
.fixed-nav {
  position: fixed;
  top: 45px;
  right: 40px;
  z-index: 100;
  display: flex;
  align-items: center;
  background: white;
  border-radius: 100px;
  padding: 6px;
  animation: hero-fade-in 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

.nav-links {
  position: relative;
  display: flex;
  align-items: center;
  gap: 30px;
  padding-left: 30px;
  padding-right: 20px;
}

.nav-link {
  font-weight: 400;
  font-size: 17px;
  color: black;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #70A6C8;
}

.nav-link-active {
  color: #70A6C8;
}

.nav-cta {
  background: #0b1b33;
  color: white;
  font-weight: 400;
  font-size: 17px;
  text-decoration: none;
  white-space: nowrap;
  padding: 14px 24px;
  border-radius: 100px;
  transition: background 0.3s ease;
}

.nav-cta:hover {
  background: #1E3A6B;
}

.nav-cta-active {
  background: #0b1b33;
}


/* ─── Page Hero ─── */
.page-hero {
  position: relative;
  width: 100vw;
  margin-left: -10px;
  height: 640px;
  background: #0b1b33;
  overflow: hidden;
  color: white;
}

.page-hero-vector {
  position: absolute;
  pointer-events: none;
  opacity: 0;
  --parallax-y: 0px;
  transform: translateY(var(--parallax-y));
  transition: opacity 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-ready .page-hero-vector {
  opacity: 1;
  transition-delay: 0.2s;
}

.page-hero-vector img {
  width: 100%;
  height: 100%;
  display: block;
}

/* Large dark blue vector — covers left side */
.page-hero-vector-dark {
  inset: -41.83% 20.14% -84.33% -141.81%;
}

/* Lighter blue accent vector — right side */
.page-hero-vector-light {
  inset: 33.17% -116.04% -132.5% 26.11%;
}

/* Stroke outline vector — bottom center */
.page-hero-vector-stroke {
  top: 28%;
  left: calc(50% - 435.5px);
  bottom: -39.5%;
  width: 1399px;
  transform: translateX(-50%) translateY(var(--parallax-y));
}

/* Logo mark — hidden, using fixed logo instead */
.page-hero-mark {
  display: none;
}

/* Tag — inside hero content */
.page-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: white;
  border-radius: 8px;
  padding: 10px;
  width: fit-content;
  opacity: 0;
  transform: translateY(20px);
  margin-bottom: 10px;
}

.hero-ready .page-hero-tag {
  animation: hero-fade-in 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

.page-hero-tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #70A6C8;
}

.page-hero-tag span:last-child {
  font-size: 15px;
  font-weight: 400;
  color: #0b1b33;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

/* Content — positioned bottom left */
.page-hero-content {
  position: absolute;
  left: 65px;
  bottom: 85px;
  width: 872px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.page-hero-heading {
  font-size: 60px;
  line-height: 1;
  color: white;
  opacity: 0;
  transform: translateY(30px);
}

.hero-ready .page-hero-heading {
  animation: hero-fade-in 1s cubic-bezier(0.16, 1, 0.3, 1) 0.35s both;
}

.heading-light {
  font-weight: 300;
}

.heading-accent {
  font-weight: 400;
  color: #dcf2fd;
}

.page-hero-subtitle {
  font-weight: 300;
  font-size: 24px;
  line-height: 1.3;
  color: white;
  opacity: 0;
  transform: translateY(30px);
}

.hero-ready .page-hero-subtitle {
  animation: hero-fade-in 1s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
}


/* ─── Contact Section ─── */
.contact-section {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1440px;
  padding: 100px 55px 100px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  column-gap: 0;
  align-items: start;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-section.in-view {
  opacity: 1;
  transform: translateY(0);
}

.contact-left {
  grid-column: 1 / 3;
  position: sticky;
  top: 120px;
}

.contact-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: white;
  border-radius: 8px;
  padding: 10px;
  margin-bottom: 30px;
}

.contact-tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #70A6C8;
}

.contact-tag span:last-child {
  font-size: 15px;
  font-weight: 400;
  color: #0b1b33;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.contact-heading {
  font-size: 50px;
  font-weight: 300;
  line-height: 1.1;
  color: #0b1b33;
  margin-bottom: 25px;
}

.contact-highlight {
  color: #70A6C8;
}

.contact-intro {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.65;
  color: rgba(11, 27, 51, 0.7);
  max-width: 320px;
  margin-bottom: 50px;
}

/* Contact Details */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 50px;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: #70A6C8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-icon img {
  opacity: 0.7;
}

.contact-detail-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: rgba(11, 27, 51, 0.4);
  margin-bottom: 4px;
}

.contact-detail-value {
  font-size: 17px;
  font-weight: 400;
  color: #0b1b33;
  text-decoration: none;
  transition: color 0.3s ease;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.contact-detail-value:hover {
  color: #1E3A6B;
}

/* Office Location */
.contact-office {
  padding-top: 30px;
  border-top: 1px solid rgba(15, 22, 32, 0.08);
}

.contact-office-title {
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: rgba(11, 27, 51, 0.4);
  margin-bottom: 16px;
}

.contact-office-address {
  font-style: normal;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.8;
  color: #0b1b33;
}


/* ─── Contact Form ─── */
.contact-form-wrap {
  grid-column: 3 / 7;
  background: white;
  border-radius: 0;
  padding: 50px;
  border: none;
  position: relative;
  z-index: 1;
}

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

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

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

.form-group label {
  font-size: 14px;
  font-weight: 500;
  color: #0b1b33;
  letter-spacing: 0.3px;
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: 'Figtree', sans-serif;
  font-size: 16px;
  font-weight: 300;
  color: #0b1b33;
  background: #FAFAF7;
  border: 1px solid rgba(15, 22, 32, 0.1);
  border-radius: 100px;
  padding: 16px 24px;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group textarea {
  border-radius: 24px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(11, 27, 51, 0.3);
}

.form-group select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%230b1b33' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 20px center;
  padding-right: 48px;
  cursor: pointer;
}

.form-group select option[disabled] {
  color: rgba(11, 27, 51, 0.3);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #70A6C8;
  box-shadow: 0 0 0 3px rgba(112, 166, 200, 0.12);
}

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

.form-submit {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0;
  border-radius: 50px;
  overflow: hidden;
  align-self: flex-start;
  margin-top: 8px;
}

.form-submit::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #b41020;
  border-radius: 50px;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 0;
}

.form-submit:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.form-submit > * {
  position: relative;
  z-index: 1;
}

.form-submit:hover .btn-submit-arrow svg {
  transform: rotate(45deg);
}

.btn-submit {
  border: none;
  cursor: pointer;
  font-family: 'Figtree', sans-serif;
  background: #b41020 !important;
  transition: background 0.3s ease;
}

.btn-submit-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-left: -4px;
  cursor: pointer;
}

.btn-submit-arrow .arrow-bg {
  fill: #b41020;
}

.btn-submit-arrow svg {
  width: 100%;
  height: 100%;
  display: block;
  transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}


/* ─── Office Location Section ─── */
.office-section {
  width: 100%;
  max-width: 1440px;
  padding: 0 55px 80px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  column-gap: 0;
  align-items: stretch;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.office-section.in-view {
  opacity: 1;
  transform: translateY(0);
}

.office-left {
  grid-column: 1 / 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 50px 60px 0;
}

.office-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: white;
  border-radius: 8px;
  padding: 10px;
  margin-bottom: 30px;
  width: fit-content;
}

.office-tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #70A6C8;
}

.office-tag span:last-child {
  font-size: 15px;
  font-weight: 400;
  color: #0b1b33;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.office-address {
  font-style: normal;
  font-size: 20px;
  font-weight: 300;
  line-height: 1.8;
  color: #0b1b33;
  margin-bottom: 40px;
}

.office-maps-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
  color: #B41020;
  text-decoration: none;
  padding: 14px 24px;
  border: 1px solid rgba(180, 16, 32, 0.25);
  border-radius: 200px;
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
  width: fit-content;
}

.office-maps-link:hover {
  background: #B41020;
  border-color: #B41020;
  color: white;
}

.office-image {
  grid-column: 3 / 7;
  overflow: hidden;
  min-height: 420px;
}

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


/* ─── Section 07 — CTA ─── */
.section-07 {
  position: relative;
  width: 100vw;
  padding: 50px 65px 150px;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  overflow: visible;
  background: #FAFAF7;
  z-index: 2;
}

.s07-decoration {
  position: absolute;
  left: calc(50% - 633.5px);
  bottom: -150px;
  width: 1267px;
  aspect-ratio: 1550 / 678;
  pointer-events: none;
  will-change: transform;
  z-index: 2;
}

.s07-decoration img {
  width: 100%;
  height: 100%;
  display: block;
}

.s07-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.s07-heading {
  font-size: 60px;
  font-weight: 300;
  line-height: 1.1;
  color: #0b1b33;
  text-align: center;
  white-space: nowrap;
}

.s07-highlight {
  color: #70A6C8;
}

.char-reveal {
  color: #C8CDD6;
  transition: color 0.15s ease;
}

.char-reveal.revealed {
  color: #0b1b33;
}

.s07-heading .char-reveal {
  color: #C8CDD6;
}

.s07-heading .s07-highlight .char-reveal {
  color: #C8CDD6;
}

.s07-heading .char-reveal.revealed {
  color: #0b1b33;
}

.s07-heading .s07-highlight .char-reveal.revealed {
  color: #70A6C8;
}

.s07-body {
  font-size: 20px;
  font-weight: 300;
  line-height: 1.55;
  color: #0b1b33;
  max-width: 625px;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: 0.2s;
}

.s07-body.in-view {
  opacity: 1;
  transform: translateY(0);
}

.s07-actions {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
  border-radius: 50px;
  overflow: hidden;
  margin-top: 10px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: 0.4s;
}

.s07-actions.in-view {
  opacity: 1;
  transform: translateY(0);
}

.s07-actions::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #b41020;
  border-radius: 50px;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 0;
}

.s07-actions:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.s07-actions > * {
  position: relative;
  z-index: 1;
}

.s07-actions:hover .btn-arrow svg {
  transform: rotate(45deg);
}

.s07-actions .btn-get-started {
  background: #b41020;
}

.s07-actions .arrow-bg {
  fill: #b41020;
}

.btn-get-started {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  background: #70a6c8;
  color: white;
  font-weight: 400;
  font-size: 17px;
  padding: 0 30px;
  border-radius: 50px;
  text-decoration: none;
  white-space: nowrap;
}

.btn-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-left: -4px;
}

.btn-arrow svg {
  width: 100%;
  height: 100%;
  display: block;
  transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.arrow-bg {
  fill: #70a6c8;
}


/* ─── Section 08 — Footer ─── */
.section-08 {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #0f1620;
  overflow: hidden;
  color: white;
  z-index: 0;
}

.page-hero,
.contact-section {
  position: relative;
  z-index: 1;
}

.s08-vector-tl {
  position: absolute;
  top: -130px;
  left: -600px;
  width: 1267px;
  pointer-events: none;
  opacity: 0.35;
}

.s08-vector-tl img {
  width: 100%;
  height: auto;
  display: block;
}

.s08-vector-br {
  position: absolute;
  bottom: -130px;
  right: -600px;
  width: 1267px;
  pointer-events: none;
  opacity: 0.35;
}

.s08-vector-br img {
  width: 100%;
  height: auto;
  display: block;
}

.s08-inner {
  position: relative;
  max-width: 1440px;
  margin: 0 auto;
  padding: 140px 65px 150px;
  z-index: 1;
}

.s08-cols {
  display: grid;
  grid-template-columns: 240px auto auto auto auto;
  gap: 70px;
  margin-bottom: 100px;
}

.s08-col-logo .s08-logo img {
  width: 182px;
  height: 48px;
  display: block;
}

.s08-col-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: white;
  margin-bottom: 30px;
}

.s08-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 23px;
}

.s08-list a {
  font-size: 16px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.s08-list a:hover {
  color: rgba(255, 255, 255, 1);
}

.s08-col-contact {
  position: relative;
}

.s08-socials {
  display: flex;
  gap: 20px;
  margin-top: 40px;
}

.s08-socials a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
}

.s08-socials a:hover {
  opacity: 0.7;
}

.s08-socials img {
  width: 100%;
  height: 100%;
  display: block;
}

.s08-address {
  font-style: normal;
  font-size: 16px;
  font-weight: 300;
  line-height: 2;
  color: white;
  margin-bottom: 18px;
}

.s08-contact-item {
  font-size: 16px;
  font-weight: 300;
  line-height: 2;
  color: white;
  display: flex;
  align-items: center;
  gap: 10px;
}

.s08-contact-icon {
  flex-shrink: 0;
  color: white;
}

.s08-contact-item a {
  color: white;
  text-decoration: none;
  transition: opacity 0.3s ease;
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 4px 0;
}

.s08-contact-item a:hover {
  opacity: 0.7;
}

.s08-bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
}

.s08-copyright {
  font-size: 15px;
  font-weight: 300;
  color: white;
}

.s08-legal {
  list-style: none;
  display: flex;
  gap: 43px;
  justify-content: center;
}

.s08-legal a {
  font-size: 15px;
  font-weight: 300;
  color: white;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.s08-legal a:hover {
  opacity: 0.7;
}

.s08-credit {
  font-size: 15px;
  font-weight: 400;
  color: white;
  text-align: right;
}

.s08-credit a {
  font-weight: 600;
  color: white;
  text-decoration: none;
}

.footer-spacer {
  height: 684px;
  width: 100%;
  pointer-events: none;
  margin-top: -20px;
}


/* ─── Intro Loader ─── */
.intro-loader {
  position: fixed;
  inset: 0;
  background: #0b1b33;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.9s cubic-bezier(0.76, 0, 0.24, 1), opacity 0.5s ease;
}

.intro-loader.hide {
  transform: translateY(-100%);
}

.intro-loader-logo {
  width: 560px;
  height: auto;
  display: block;
  overflow: visible;
}

.intro-logo-text {
  opacity: 0;
  animation: intro-text-in 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
}

.intro-logo-caret {
  opacity: 0;
  transform: translateY(-12px);
  animation: intro-caret-in 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 0.6s forwards;
  transform-box: fill-box;
  transform-origin: center;
}

@keyframes intro-text-in {
  to {
    opacity: 1;
  }
}

@keyframes intro-caret-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* ─── Hamburger button (hidden on desktop) ─── */
.nav-hamburger {
  display: none;
  width: 48px;
  height: 48px;
  border: none;
  background: #0b1b33;
  border-radius: 50%;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
}

.hamburger-line {
  display: block;
  width: 18px;
  height: 1.5px;
  background: white;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  transition: transform 0.3s ease, top 0.3s ease, bottom 0.3s ease;
}

.hamburger-line:first-child { top: 19px; }
.hamburger-line:last-child { bottom: 19px; }

.nav-hamburger.is-open .hamburger-line:first-child {
  top: 50%;
  transform: translateX(-50%) translateY(-50%) rotate(45deg);
}

.nav-hamburger.is-open .hamburger-line:last-child {
  bottom: 50%;
  transform: translateX(-50%) translateY(50%) rotate(-45deg);
}

/* ─── Mobile menu overlay (hidden on desktop) ─── */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: #0b1b33;
  z-index: 99;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 30px;
}

.mobile-menu-link {
  font-size: 32px;
  font-weight: 300;
  color: white;
  text-decoration: none;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease 0.1s, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.1s;
}

.mobile-menu-link:nth-child(2) {
  transition-delay: 0.2s;
}

.mobile-menu.is-open .mobile-menu-link {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  background: #70A6C8;
  color: white;
  font-weight: 400;
  font-size: 18px;
  padding: 0 36px;
  border-radius: 50px;
  text-decoration: none;
  margin-top: 10px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease 0.3s, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
}

.mobile-menu.is-open .mobile-menu-cta {
  opacity: 1;
  transform: translateY(0);
}


/* ═══════════════════════════════════════════
   TABLET — max-width: 1024px
   ═══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .page-hero-content {
    left: 40px;
    width: 700px;
  }

  .page-hero-heading {
    font-size: 50px;
  }

  .page-hero-subtitle {
    font-size: 20px;
  }

  /* Contact section — stack to single column */
  .contact-section {
    padding: 80px 30px;
    grid-template-columns: 1fr;
  }

  .contact-left {
    grid-column: 1;
    position: static;
    margin-bottom: 50px;
  }

  .contact-form-wrap {
    grid-column: 1;
  }

  /* Office section — stack to single column */
  .office-section {
    padding: 0 30px 80px;
    grid-template-columns: 1fr;
  }

  .office-left {
    grid-column: 1;
    padding: 40px 0;
  }

  .office-image {
    grid-column: 1;
    min-height: 300px;
  }

  /* Section 07 */
  .section-07 {
    padding-left: 30px;
    padding-right: 30px;
  }

  .s07-heading {
    font-size: 44px;
    white-space: normal;
  }

  /* Footer */
  .s08-inner {
    padding-left: 30px;
    padding-right: 30px;
  }

  .s08-cols {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 50px 40px;
  }

  .s08-col-logo {
    grid-column: 1 / -1;
  }

  .footer-spacer {
    height: 900px;
  }
}


/* ═══════════════════════════════════════════
   MOBILE — max-width: 768px
   ═══════════════════════════════════════════ */
@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
  }

  /* Navigation: show hamburger, hide desktop links */
  .nav-links {
    display: none;
  }

  .nav-cta {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .fixed-nav {
    padding: 4px;
    top: 30px;
    right: 20px;
    background: transparent;
  }

  .fixed-logo {
    top: 30px;
    left: 20px;
    height: 48px;
    padding: 0 10px;
  }

  .fixed-logo img {
    width: 140px;
  }

  .fixed-logo.menu-open {
    background: transparent;
  }

  .fixed-logo.scrolled img {
    width: 110px;
  }

  .mobile-menu {
    display: block;
  }

  /* Page wrap */
  .page-wrap {
    padding: 6px 6px 0;
  }

  /* Hero */
  .page-hero {
    width: calc(100% + 12px);
    margin-left: -6px;
    height: 500px;
  }

  .page-hero-vector-dark {
    inset: auto;
    top: -20px;
    left: -2042px;
    width: 3192px;
    height: 1357px;
    transform: translateY(var(--parallax-y)) rotate(-16.42deg);
  }

  .page-hero-vector-light {
    inset: auto;
    top: 60px;
    left: -62px;
    width: 1597px;
    height: 698px;
    transform: translateY(var(--parallax-y));
  }

  .page-hero-vector-stroke {
    top: 200px;
    left: calc(50% - 699.5px);
    bottom: auto;
    width: 1399px;
    height: 612px;
    transform: translateY(var(--parallax-y));
  }

  .page-hero-content {
    left: 24px;
    bottom: 50px;
    width: calc(100% - 48px);
    max-width: none;
    gap: 20px;
  }

  .page-hero-heading {
    font-size: 36px;
  }

  .page-hero-subtitle {
    font-size: 17px;
    max-width: 100%;
  }

  .page-hero-mark {
    display: none;
  }

  /* Tags — smaller on mobile */
  .page-hero-tag span:last-child,
  .contact-tag span:last-child,
  .office-tag span:last-child {
    font-size: 12px;
    letter-spacing: 1.2px;
  }

  .page-hero-tag,
  .contact-tag,
  .office-tag {
    padding: 8px;
    gap: 8px;
    border-radius: 6px;
  }

  .page-hero-tag-dot,
  .contact-tag-dot,
  .office-tag-dot {
    width: 5px;
    height: 5px;
  }

  /* Grid overlay — fewer lines on mobile */
  .grid-overlay {
    max-width: calc(100% - 40px);
    background-image: repeating-linear-gradient(
      to right,
      rgba(15, 22, 32, 0.07) 0,
      rgba(15, 22, 32, 0.07) 1px,
      transparent 1px,
      transparent calc((100% - 1px) / 3)
    );
  }

  /* Contact section */
  .contact-section {
    padding: 60px 20px;
    grid-template-columns: 1fr;
  }

  .contact-left {
    grid-column: 1;
    position: static;
    margin-bottom: 40px;
  }

  .contact-heading {
    font-size: 38px;
  }

  .contact-intro {
    font-size: 17px;
    max-width: none;
    margin-bottom: 35px;
  }

  .contact-form-wrap {
    grid-column: 1;
    padding: 30px 20px;
  }

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

  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 16px;
    padding: 14px 20px;
  }

  .form-group select {
    background-position: right 16px center;
    padding-right: 40px;
  }

  /* Office section */
  .office-section {
    padding: 0 20px 60px;
    grid-template-columns: 1fr;
  }

  .office-left {
    grid-column: 1;
    padding: 30px 0;
  }

  .office-address {
    font-size: 18px;
    margin-bottom: 30px;
  }

  .office-image {
    grid-column: 1;
    min-height: 250px;
  }

  /* Section 07 */
  .section-07 {
    padding: 40px 20px 120px;
    overflow: hidden;
  }

  .s07-heading {
    font-size: 34px;
    white-space: normal;
  }

  .s07-body {
    font-size: 17px;
  }

  .s07-decoration {
    left: calc(50% - 400px);
    width: 800px;
  }

  /* Footer — switch from fixed to static on mobile */
  .section-08 {
    position: relative;
    z-index: 1;
  }

  .footer-spacer {
    display: none;
  }

  .s08-inner {
    padding: 80px 20px 60px;
  }

  .s08-cols {
    grid-template-columns: 1fr 1fr;
    gap: 40px 30px;
  }

  .s08-col-logo {
    grid-column: 1 / -1;
  }

  .s08-col-logo .s08-logo img {
    width: 140px;
    height: 37px;
  }

  .s08-bottom {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 20px;
  }

  .s08-legal {
    justify-content: center;
    gap: 24px;
  }

  .s08-credit {
    text-align: center;
  }

  /* Intro loader */
  .intro-loader-logo {
    width: 280px;
  }
}


/* ═══════════════════════════════════════════
   SMALL MOBILE — max-width: 480px
   ═══════════════════════════════════════════ */
@media (max-width: 480px) {
  .page-hero {
    height: 440px;
  }

  .page-hero-heading {
    font-size: 30px;
  }

  .page-hero-subtitle {
    font-size: 16px;
  }

  .page-hero-content {
    bottom: 40px;
    gap: 16px;
  }

  /* Contact section */
  .contact-heading {
    font-size: 32px;
  }

  .contact-intro {
    font-size: 16px;
  }

  .contact-form-wrap {
    padding: 24px 16px;
  }

  .contact-form {
    gap: 22px;
  }

  /* Office section */
  .office-address {
    font-size: 17px;
  }

  .office-image {
    min-height: 200px;
  }

  /* Section 07 */
  .s07-heading {
    font-size: 28px;
  }

  .s07-body {
    font-size: 16px;
  }

  .s07-inner {
    gap: 30px;
  }

  /* Footer */
  .s08-cols {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .s08-col-logo {
    grid-column: 1;
  }

  .s08-address {
    font-size: 15px;
  }

  .footer-spacer {
    height: 1400px;
  }

  .btn-get-started {
    font-size: 15px;
    padding: 0 24px;
    height: 44px;
  }

  .btn-arrow {
    width: 44px;
    height: 44px;
  }
}

/* ─── Fluent Forms overrides — match the static .contact-form design ─── */
.contact-form-wrap .frm-fluent-form {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-form-wrap .frm-fluent-form .ff-el-group {
  margin-bottom: 0;
}

/* 28px vertical rhythm between top-level form fields. FF nests the real
   fields inside a <fieldset>, so the flex gap on .frm-fluent-form never
   applies — space the direct field wrappers instead (the nested name
   first/last groups inside .ff-t-container keep margin-bottom: 0 above). */
.contact-form-wrap .frm-fluent-form > fieldset > .ff-el-group,
.contact-form-wrap .frm-fluent-form > fieldset > .ff-field_container {
  margin-bottom: 28px;
}

.contact-form-wrap .frm-fluent-form > fieldset > .ff_submit_btn_wrapper {
  margin-bottom: 0;
}

.contact-form-wrap .frm-fluent-form .ff-t-container {
  gap: 24px;
}

.contact-form-wrap .frm-fluent-form .ff-el-input--label label {
  font-size: 14px;
  font-weight: 500;
  color: #0b1b33;
  letter-spacing: 0.3px;
  margin-bottom: 8px;
}

.contact-form-wrap .frm-fluent-form .ff-el-input--label.ff-el-is-required.asterisk-right label:after {
  color: #b41020;
}

.contact-form-wrap .frm-fluent-form .ff-el-form-control {
  font-family: 'Figtree', sans-serif;
  font-size: 16px;
  font-weight: 300;
  color: #0b1b33;
  background: #FAFAF7;
  border: 1px solid rgba(15, 22, 32, 0.1);
  border-radius: 100px;
  padding: 16px 24px;
  height: auto;
  line-height: 1.3;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form-wrap .frm-fluent-form textarea.ff-el-form-control {
  border-radius: 24px;
  resize: vertical;
  min-height: 140px;
}

.contact-form-wrap .frm-fluent-form .ff-el-form-control::placeholder {
  color: rgba(11, 27, 51, 0.3);
}

.contact-form-wrap .frm-fluent-form select.ff-el-form-control {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%230b1b33' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 20px center;
  padding-right: 48px;
  cursor: pointer;
}

.contact-form-wrap .frm-fluent-form .ff-el-form-control:focus {
  border-color: #70A6C8;
  box-shadow: 0 0 0 3px rgba(112, 166, 200, 0.12);
}

.contact-form-wrap .ff_submit_btn_wrapper {
  margin-top: 8px;
}

.contact-form-wrap .frm-fluent-form .ff-btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  background: #b41020 !important;
  color: white;
  font-family: 'Figtree', sans-serif;
  font-weight: 400;
  font-size: 17px;
  padding: 0 30px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form-wrap .frm-fluent-form .ff-btn-submit:hover {
  background: #1E3A6B !important;
}

.contact-form-wrap .frm-fluent-form .ff-message-success {
  font-family: 'Figtree', sans-serif;
  color: #0b1b33;
  background: #eaf3f8;
  border: 1px solid #70A6C8;
  border-radius: 12px;
  padding: 16px 20px;
  margin-top: 16px;
}
