/******************************************
 * GLOBAL CSS (reset, typography, layout)
 ******************************************/


/******************************************
 * 1. RESET / NORMALIZE
 ******************************************/

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

html,
body {
  height: 100%;
}


/******************************************
 * 2. ROOT VARIABLES & GLOBAL TOKENS
 ******************************************/

:root {
  --color-background: #f8fbfd;
  --color-surface: #f8fbfd;
  --color-text: #020e38;
  --color-text-muted: #66697c;
  --color-hero-text: #020e38;
  --color-navbar-text: #020e38;
  --color-navbar-border: rgba(2, 14, 56, 0.3);
  --color-mobile-menu-bg: rgba(2, 14, 56, 0.95);
  --color-grid-line: rgba(23, 41, 84, 0.18);
  --color-cta-bg: #172954;
  --color-cta-text: #f8fbfd;
  --feature-progress-duration: 6s;
  --header-height: 90px;
}


/******************************************
 * 3. BASE TYPOGRAPHY
 ******************************************/

body {
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  background: linear-gradient(to bottom left, #f8fbfd, #b4b7c3);
  color: var(--color-text);
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  display: flex;          /* 👈 NEW */
  flex-direction: column; /* 👈 NEW */
  transition: background-color .3s ease, color .3s ease;
}

/******************************************
 * 4. GLOBAL LAYOUT
 ******************************************/

.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 15px;
}

.navbar-area .container {
  max-width: 100%;
  padding-left: 30px;
  padding-right: 30px;
}

.page-about {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.page-about main {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.page-about .page-hero,
.page-about .page-content {
  flex: 0 0 auto;
}

.page-about .site-footer {
  flex: 0 0 auto;
  margin-top: auto;
}

main {
  flex: 1 0 auto;            /* 👈 main grows to fill space above footer */
  display: flex;
  flex-direction: column;
}

main.scroll-stack {
  height: 100%;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  scroll-b​ehavior: smooth;
  padding-top: var(--header-height);
  scroll-padding-top: var(--header-height);
}

.page-screen {
  min-height: calc(100vh - var(--header-height));
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  background: transparent;
  padding: 40px 0;
}

.page-screen--hero {
  padding-top: 20px;
}

.page-screen--partners,
.page-screen--contact {
  gap: 16px;
}

.page-screen--partners {
  justify-content: flex-start;
  padding-top: 0px;
  padding-bottom: 10px;
}

.page-screen--contact {
  justify-content: flex-start;
  padding-top: 10px;
  min-height: calc(100vh - var(--header-height));
}

.page-screen--partners > *,
.page-screen--contact > * {
  flex: 0 0 auto;
}

.page-screen--contact .find-us {
  flex: 1 0 auto;
}

.page-screen--contact .site-footer {
  margin-top: auto;
  width: 100%;
}

.page-screen--partners .logo-marquee,
.page-screen--partners .approach,
.page-screen--contact .find-us {
  padding: 10px 0;
  margin-top: 0;
}

/* Make the contact screen use NO bottom padding */
.page-screen--contact {
  justify-content: flex-start;
  min-height: calc(100vh - var(--header-height));
  padding: 10px 0 0;   /* 10px top, 0 bottom */
  gap: 20px;
}

/******************************************
 * 5. HEADER (SITE-WIDE)
 ******************************************/
.header-area {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;

.header-area {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: none !important;
  box-shadow: none !important;
}


  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  color: var(--color-hero-text);
  z-index: 1000;

  /* smooth change when scrolling */
  transition: background 0.3s ease, backdrop-filter 0.3s ease;
}

/* when user has scrolled down – make the background transparent */
.header-area.header--scrolled {
  background: transparent;
  /* keep the blur so content under it is still softened */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}


/* navbar regular css start */
.navbar-area {
  background: transparent;
  border-bottom: none;
  box-shadow: none;
  padding-top: 5px;
  padding-bottom: 5px;
}

.site-navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  width: 100%;
}

a.site-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.site-logo img {
  max-height: 60px;
  height: auto;
  width: auto;
  padding-top: 10px;
}

.site-navbar ul {
  margin: 0;
  margin-left: auto;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
}

.site-navbar ul li a {
  color: var(--color-navbar-text);
  padding: 20px;
  display: block;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .08em;
  transition: color .3s ease, background-color .3s ease;
}

.site-navbar ul li a:hover {
  background: transparent;
color: #8db9ed;
}
/* navbar regular css end */


/******************************************
 * 6. GLOBAL FOOTER
 ******************************************/

.footer-refresh {
  padding: 16px 32px 12px;
  position: relative;
  background: rgba(15, 23, 42, 0.45); /* semi-transparent dark */
  color: #f9fafb;
  font-family: "Open Sans", sans-serif; /* lock footer to global font */
  font-size: 14px;
  line-height: 1.6;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 -12px 30px rgba(0, 0, 0, 0.35);
}

/* Generic footer link behaviour */
.footer-refresh a {
  color: inherit;
  text-decoration: none;
}

.footer-refresh a:hover {
  color: #8DB9ED;
}

/* Optional generic footer anchor (used for social icons etc.) */
.generic-anchor,
.generic-anchor:visited {
  color: #172954;
}

.generic-anchor:hover {
  color: #ccc;
}

/* Layout helpers */
.flex-rw {
  display: flex;
  flex-flow: row wrap;
}

/* ---------- TOP BAR: logo + page links ---------- */

.footer-top-bar {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0;
  margin-bottom: 0;
  padding-top: 0;
}

.footer-top-bar__logo {
  display: flex;
  align-items: flex-start;
  margin-top: 0;
}

.footer-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 0;
}

.footer-logo-img {
  max-width: 140px;
  max-height: 85px; /* compact */
  width: auto;
  height: auto;
}

.footer-page-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-left: auto;
  align-self: flex-start;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-family: "Open Sans", sans-serif;
  font-size: 13px;       /* align with global footer scale */
}

.footer-page-links a {
  color: inherit;
  opacity: 0.9;
}

.footer-page-links a:hover {
  opacity: 1;
}

/* ---------- MIDDLE ROW: “CONNECT with ADAM” + icons ---------- */

.footer-social-section {
  width: 100%;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-top: 0; /* tightened */
  gap: 8px;
}

.footer-social-line {
  flex: 1 1 auto;
  height: 1px;
  background: #ccc;
  opacity: 0.8;
}

.footer-social-line--left {
  max-width: 40%;
}

.footer-social-line--middle {
  max-width: 8%;
}

.footer-social-line--right {
  max-width: 40%;
}

.footer-social-overlap {
  position: relative;
  z-index: 2;
  background: transparent;
  padding: 0 20px;
}

.footer-social-connect {
  display: flex;
  align-items: center;
  font-family: "Oswald", sans-serif;
  font-size: 24px;     /* match global footer sizing */
  line-height: 1;
  color: #f9fafb;
}

.footer-social-small {
  font-size: 0.6em;
  padding: 0 16px;
  font-weight: 300;
}

/* Social icons */
.footer-social-overlap > a {
  font-size: 25px; /* compact, consistent */
  color: #172954;
}

.footer-social-overlap > a:not(:first-child) {
  margin-left: 0.38em;
}

/* ---------- BOTTOM STRIP: copyrights + policy links ---------- */

.footer-bottom-section {
  width: 100%;
  padding: 6px 10px 2px;
  border-top: 1px solid #ccc;
  margin-top: 2px;
  gap: 10px;
}

.footer-bottom-wrapper {
  font-size: 13px;        /* align with global footer scale */
  color: #172954;
  flex: 1 1 33%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Defend footer typography from page-level overrides */
.footer-refresh .footer-page-links,
.footer-refresh .footer-bottom-wrapper {
  font-family: "Open Sans", sans-serif;
  font-size: 13px;
  line-height: 1.4;
}

.footer-bottom-wrapper span[data-footer-year] {
  margin: 0 0.25em;   /* space before and after the year */
}

.footer-bottom-wrapper--left {
  text-align: left;
  justify-content: flex-start;
}

.footer-bottom-wrapper--center {
  justify-content: center;
}

.footer-bottom-wrapper--right {
  text-align: right;
  justify-content: flex-end;
}

/* Left side (on darker gradient) must be white */
.footer-bottom-wrapper--left,
.footer-bottom-wrapper--left * {
  color: #f8fbfd !important;
}

/* Right side (on lighter gradient) stays dark navy */
.footer-bottom-wrapper--right,
.footer-bottom-wrapper--right * {
  color: #172954 !important;
}

.footer-bottom-highlight {
  color: #f8fbfd;
}

.footer-bottom-links {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-bottom-links a {
  color: inherit;
}

.footer-bottom-links a::after {
  content: "|";
  margin-left: 12px;
  color: currentColor;
}

.footer-bottom-links a:last-child::after {
  content: "";
  margin: 0;
}

.footer-address {
  display: inline;
  font-style: normal;
}

/* ---------- Column utilities (if you use them) ---------- */

.footer-list-top {
  width: 33.333%;
}

.footer-list-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-list-top > li {
  text-align: center;
  padding-bottom: 0;
}

.footer-list-header {
  padding: 10px 0 5px 0;
  color: #fff;
  font: 2.3vw "Oswald", sans-serif;
}

.footer-list-anchor {
  font: 1.3em "Open Sans", sans-serif;
}

.footer-columns-row {
  width: 100%;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.footer-columns-row__spacer {
  width: 33.333%;
  min-height: 1px;
}

/* ---------- Footer responsive tweaks ---------- */

@media (max-width: 768px) {
  .footer-page-links {
    justify-content: center;
    margin-left: 0;
  }

  .footer-columns-row__spacer {
    display: none;
  }

  .footer-columns-row {
    justify-content: center;
  }

  .footer-social-connect {
    font-size: 2.5em;
  }

  .footer-social-overlap > a {
    font-size: 2.24em;
  }

  .footer-bottom-wrapper {
    font-size: 1.3em;
  }
}

@media (max-width: 568px) {
  .footer-list-top {
    width: 100%;
  }

  .footer-list-header {
    font-size: 3em;
  }

  .footer-list-anchor {
    font-size: 1.5em;
  }

  .footer-social-section {
    justify-content: center;
    flex-direction: column;
  }

  .footer-social-connect {
    margin-bottom: 20px;
    padding: 0 10px;
  }

  .footer-social-overlap {
    display: flex;
    justify-content: center;
  }

  .footer-social-line {
    width: 100%;
    max-width: none;
  }

.footer-social-icons-wrapper {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-social-icons-wrapper > a {
  font-size: 1.4rem;              /* slightly smaller icons */
  color: #f9fafb;
}

.footer-social-icons-wrapper > a:hover {
  color: #8db9ed;
}

/* X “icon” */
.icon-x {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1;
}

/* Custom “other brand” icon */
.icon-custom {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: transparent; /* Changed to transparent */
  border: 1px solid rgba(255, 255, 255, 0.4);
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: 0;
  color: #f9fafb;
  line-height: 1;
}

.icon-custom i {
  color: #f9fafb;
  font-size: 1em;
  line-height: 1;
}

/* Screen-reader-only helper */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

  .footer-social-overlap > a:not(:first-child) {
    margin-left: 20px;
  }

  .footer-bottom-section {
    padding: 0 5px 10px 5px;
  }

  .footer-bottom-wrapper {
    text-align: center;
    width: 100%;
    flex: 1 1 100%;
    justify-content: center;
    margin-top: 10px;
  }
}

@media (max-width: 480px) {
  .footer-social-overlap > a {
    margin: auto;
  }

  .footer-social-overlap > a:not(:first-child) {
    margin-left: 0;
  }

  .footer-bottom-rights {
    display: block;
  }
}

@media (max-width: 320px) {
  .footer-list-header {
    font-size: 2.2em;
  }

  .footer-list-anchor {
    font-size: 1.2em;
  }

  .footer-social-connect {
    font-size: 2.4em;
  }

  .footer-social-overlap > a {
    font-size: 2.24em;
  }

  .footer-bottom-wrapper {
    font-size: 1.3em;
  }
}

/******************************************
 * 7. GLOBAL COMPONENTS (IF NOT IN components.css)
 ******************************************/

/* Screen-reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Hero scroll label */
.hero-scroll-tag {
  display: flex;
  justify-content: center;
  text-align: center;
  margin: 24px auto 0;
  padding: 0;
  opacity: 1;
  width: fit-content;
  max-width: 100%;
  background: transparent;
}

.scroll-shine {
  display: inline-block;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.25em;
  background: linear-gradient(to right, #172954 0, #66697c 35%, #020e38 50%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: scroll-shine 3s infinite linear;
}

@keyframes scroll-shine {
  0% {
    background-position: 0;
  }
  60% {
    background-position: 180px;
  }
  100% {
    background-position: 180px;
  }
}

/* Eyebrow / section labels */
.page-eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 12px;
  color: var(--color-navbar-text);
  margin-bottom: 18px;
}

.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 12px;
  color: var(--color-navbar-text);
  margin-bottom: 18px;
}


/******************************************
 * 8. UTILITIES / HELPER CLASSES
 ******************************************/

.page-cta-stack {
  margin-top: 5px;
  display: inline-flex;
  justify-content: flex-start;
}

.swing {
  animation: polaroid-sway var(--swing-duration) ease-in-out infinite alternate;
}


/******************************************
 * 9. GLOBAL MEDIA QUERIES (shell)
 ******************************************/
@media screen and (max-width: 767px) {
  .page-screen--partners,
  .page-screen--contact {
    padding: 12px 0;
  }

  .steps-cards {
    margin: 12px auto;
  }

  /* This is the fix for the Find Us section */
  .find-us__layout {
    grid-template-columns: minmax(0, 1fr); /* Force it to a single column */
    gap: 20px; /* Reduce gap on mobile */
    margin-top: 40px; /* Less space from the heading on mobile */
  }

  .find-card.find-us__single {
    margin-bottom: 0; /* Clear the extra margin if it was set */
  }

  .find-us__map {
    margin-top: 0; /* Clear the extra margin if it was set */
  }
}
/******************************************
 * COMPONENTS (buttons, cards, utilities)
 ******************************************/

/* FEATURE SLIDER & CONTROLS */

.feature-slider {
  min-height: calc(100vh - var(--header-height) - 60px);
  padding: 0;
  display: flex;
  align-items: center;
  background: none);
}

.feature-slider .container {
  max-width: 100%;
  padding-left: 30px;
  padding-right: 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}

.feature-swiper-shell {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  border: 1px solid rgba(2, 14, 56, 0.15);
  padding: 24px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 15px 35px rgba(2, 14, 56, 0.12), 0 5px 15px rgba(2, 14, 56, 0.08);
}

.feature-swiper {
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom left, #f8fbfd, #b4b7c3);
  aspect-ratio: 8 / 3;
  overflow: hidden;
}

.feature-slide {
  display: flex;
  gap: 30px;
  height: 100%;
}

.feature-slide__content,
.feature-slide__image {
  flex: 1 1 50%;
}

.feature-slide__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  padding: 40px;
  align-items: flex-start;
  text-align: left;
}

.feature-slide__eyebrow {
  text-transform: uppercase;
  letter-spacing: .28em;
  font-size: 11px;
  color: var(--color-navbar-text);
}

.feature-slide__content h3 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.1;
}

.feature-slide__content p {
  color: var(--color-text-muted);
  font-size: 16px;
}

.feature-slide__cta {
  margin-top: 10px;
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: 12px;
  color: #172954;
  text-decoration: none;
  padding: 12px 32px;
  border-radius: 0;
  border: 1px solid rgba(23, 41, 84, 0.65);
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: color .3s ease, transform .2s ease;
}

.feature-slide__cta span {
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(23, 41, 84, 0.95), rgba(2, 14, 56, 0.95));
  transform: translate(-50%, -50%);
  transition: width .4s ease-in-out, height .4s ease-in-out;
  z-index: -1;
  pointer-events: none;
}

.feature-slide__cta:hover {
  color: #f8fbfd;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(23, 41, 84, 0.35);
}

.feature-slide__cta:hover span {
  width: 170%;
  height: 170%;
}

.feature-slide__cta:active {
  color: #f8fbfd;
}

.feature-slide__image {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-slide__image img {
  width: 90%;
  height: 90%;
  object-fit: cover;
  border: 6px solid rgba(255, 255, 255, 0.8);
}

.feature-swiper__controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.feature-swiper__arrow {
  width: 48px;
  height: 48px;
  border: none;
  background: transparent;
  cursor: pointer;
  position: relative;
}

.feature-swiper__arrow::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 12px;
  border-left: 2px solid var(--color-navbar-text);
  border-bottom: 2px solid var(--color-navbar-text);
  transform: translate(-50%, -50%) rotate(45deg);
}

.feature-swiper__arrow--prev::after {
  transform: translate(-50%, -50%) rotate(225deg);
}

.feature-swiper__arrow--next::after {
  transform: translate(-50%, -50%) rotate(45deg);
}

.feature-progress-column {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.feature-progress-dot {
  background: transparent;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.feature-progress-dot span {
  display: none;
}

.feature-progress-dot svg {
  width: 32px;
  height: 32px;
}

.ring-bg {
  fill: none;
  stroke: rgba(2, 14, 56, 0.2);
  stroke-width: 2;
}

.ring-progress {
  fill: none;
  stroke: var(--color-navbar-text);
  stroke-width: 2;
  stroke-dasharray: 138;
  stroke-dashoffset: 138;
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
}

.ring-dot {
  fill: var(--color-navbar-text);
}

.feature-progress-dot.is-animating .ring-progress {
  animation: ringFill var(--feature-progress-duration) linear forwards;
}

@keyframes ringFill {
  to {
    stroke-dashoffset: 0;
  }
}


/* LOGO MARQUEE */

.logo-marquee {
  padding: 20px 0;
  overflow: hidden;
  background: transparent;
}

.logo-marquee__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  margin-bottom: 16px;
}

.logo-marquee__title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 600;
  color: var(--color-hero-text);
  margin: 0;
  text-align: center;
  line-height: 1.25;
}

.logo-marquee__subtitle {
  margin-top: 16px;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  text-align: center;
}

.logo-marquee__track {
  display: flex;
  gap: 60px;
  animation: marquee 24s linear infinite;
  width: max-content;
}

.logo-marquee__group {
  display: flex;
  gap: 60px;
}

.logo-marquee__track img {
  opacity: 0.8;
  height: 120px;
  width: auto;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}


/* APPROACH CARDS */

.approach {
  padding: 10px 0;
  background: transparent;
}

.approach__header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.approach h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem) !important;
  line-height: 1.2;
  margin: 0;
  text-align: center;
}

.logo-marquee__header .section-eyebrow,
.approach__header .section-eyebrow,
.find-us__header .section-eyebrow {
  margin: 0;
}

.approach__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.approach__card {
  padding: 28px;
  background: rgba(255, 255, 255, 0.8);
  border: 6px solid rgba(2, 14, 56, 0.12);
  backdrop-filter: blur(8px);
  box-shadow: 0 15px 35px rgba(2, 14, 56, 0.08);
}

.approach__card h3 {
  font-size: 16px;
  letter-spacing: .2em;
  text-transform: uppercase;
  margin-bottom: 12px;
  color: var(--color-navbar-text);
}

.approach__card p {
  color: var(--color-text-muted);
  line-height: 1.5;
}


/******************************************
 * PAGE: HOME (index)
 ******************************************/

.page-hero {
  padding: 50px 0 25px;
  color: var(--color-hero-text);
}

.page-hero h1 {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  margin-bottom: 14px;
  line-height: 1.1;
}

.page-hero__subtitle {
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text-muted);
  max-width: 680px;
  margin: 0;
}

/* APPROACH CARDS INDEX */

/* Wrapper layout */
.steps-cards {
  display: flex;
  gap: 30px;
  justify-content: center;
  align-items: stretch;
  flex-wrap: nowrap;
  max-width: none;
  margin: 16px auto;
  min-height: 262px; /* Set a minimum height based on the card's original height + border */
}

/* Card base */
.step-card {
  width: 350px;
  min-height: 238px; /* New: minimum height for the inner content */
  perspective: 1200px;
  cursor: pointer;
  position: relative;
  z-index: 1;

  /* MATCH map frame */
  border: 6px solid rgba(255, 255, 255, 0.8);  /* same as .find-us__map */
  padding: 6px;                                 /* same as .find-us__map */
  box-sizing: border-box;
}

/* Inner flipping element */
.step-card .inner {
  width: 100%;
  height: 100%;
  position: relative;
  transition: transform 0.8s ease;
  transform-style: preserve-3d;
}

/* Flip on click */
.step-card.is-flipped {
  z-index: 2;
}
.step-card.is-flipped .inner {
  transform: rotateY(180deg);
}

/* Front + back shared styles */
.step-card .front,
.step-card .back {
  position: absolute;
  inset: 0;
  border-radius: 0;
  background: linear-gradient(to bottom left, #f8fbfd, #b4b7c3);
  border: 1px solid rgba(2, 14, 56, 0.15);   /* subtle inner line (optional) */
  box-shadow: 
    0 15px 35px rgba(2, 14, 56, 0.12),
    0 5px 15px rgba(2, 14, 56, 0.08);
  padding: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  backface-visibility: hidden;
}

/* Front side */
.step-card .front {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-hero-text);
}

/* Back side */
.step-card .back {
  transform: rotateY(180deg);
  text-align: left;
  padding: 40px 30px;

  /* NEW: stack heading and text nicely */
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 10px;
}

.step-card .back h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: var(--color-hero-text);
}

.step-card .back p {
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Step text styling */
.step-number {
  font-size: 2rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-hero-text);
}

/* Mobile responsive */
@media (max-width: 900px) {
  .steps-cards {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .step-card {
    width: 85%;
    max-width: 360px;
  }
}


/******************************************
 * PAGE: ABOUT
 ******************************************/

/* Make sure About page can scroll, even if something else set overflow */
body.page-about {
  overflow-y: auto;
  background: linear-gradient(to bottom left, #f8fbfd, #b4b7c3);
  color: var(--color-text);
}

/* Layout for About main content (header is fixed) */
.page-about main {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: var(--header-height);
  padding-bottom: 40px;
}

/* Hero on About – like the first edit, not the centred gal.css hero */
.page-about .page-hero {
  padding: 40px 0 24px;
  text-align: left;
  color: var(--color-hero-text);
}

.page-about .page-hero h1 {
  margin-bottom: 12px;
  font-size: clamp(2.4rem, 4.5vw, 3.2rem);
}

.page-about .page-hero__subtitle {
  max-width: 580px;
  color: var(--color-text-muted);
}

/* Body content alignment */
.page-about .page-content {
  padding: 0 0 60px;
}

.page-about .page-content__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(260px, 1fr);
  gap: 40px;
  align-items: flex-start;
}

/* Text column */
.page-about__copy {
  max-width: 680px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.page-about__copy p {
  color: var(--color-text-muted);
  line-height: 1.6;
}

.page-about .page-content h2 {
  font-size: 28px;
  margin: 24px 0 8px;
  color: var(--color-hero-text);
}

/* Quote styling */
.page-about .page-content blockquote {
  margin: 12px 0 16px;
  padding-left: 18px;
  border-left: 2px solid rgba(23, 41, 84, 0.4);
  color: var(--color-text-muted);
  font-style: italic;
}

/* Gallery column – let gal.css handle the internals,
   we just control how it sits next to the copy */
.page-about__gallery {
  max-width: 360px;
  margin-left: auto;
}

.page-about__gallery #gallery {
  padding: 0;
}

/* Slightly smaller caption on About */
.page-about__gallery figure figcaption {
  font-size: 13px;
}

/* Stack columns on smaller screens */
@media (max-width: 900px) {
  .page-about .page-content__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-about__gallery {
    max-width: 100%;
    margin: 24px 0 0;
  }

  .page-about__gallery #gallery {
    max-width: 480px;
    margin: 0 auto;
  }
}
/******************************************
 * ABOUT HERO – FINAL POSITIONING
 ******************************************/

/* 1. Control where the whole About content starts
   (header is fixed, so we offset by its height + extra breathing room) */
.page-about main {
  padding-top: calc(var(--header-height) + 40px); /* roughly matches home hero offset */
  padding-bottom: 0;
}

/* 2. Make the About hero itself a slim band – no extra top padding,
      so the vertical offset is entirely controlled by main’s padding-top */
.page-about .page-hero {
  padding: 0 0 24px;  /* top 0, bottom 24px */
}

/* 3. Keep the hero typography consistent */
.page-about .page-hero h1 {
  margin-bottom: 12px;
  font-size: clamp(2.4rem, 4.5vw, 3.2rem);
}

.page-about .page-hero__subtitle {
  max-width: 580px;
  color: var(--color-text-muted);
}
/* ABOUT hero subtitle – align under the heading instead of centered */
.page-about .page-hero__subtitle {
  max-width: 680px;          /* matches gallery hero width */
  margin: 0 0 10px;          /* override gal.css "0 auto 10px" */
  color: var(--color-text-muted);
  text-align: left;
}
/******************************************
 * ABOUT PAGE — MATCH HERO TYPOGRAPHY TO HOME
 ******************************************/

/* Hero wrapper */
.page-about .page-hero {
  padding-top: 10px;                     /* minimal — spacing comes from main */
  padding-bottom: 30px;
  max-width: 900px;                      /* match home hero width */
  margin: 0 auto;
  text-align: left !important;           /* override gal.css center alignment */
}

/* Eyebrow (ABOUT at the top) */
.page-about .page-hero .page-eyebrow {
  font-size: 12px;
  letter-spacing: 0.25em;                /* match “WELCOME TO ADAM VINCENT HAIR” spacing */
  text-transform: uppercase;
  margin-bottom: 18px;
  color: var(--color-navbar-text);
}

/* Main H1 — match home hero exact styling */
.page-about .page-hero h1 {
  font-family: "Poppins", sans-serif;  
  font-weight: 700;
  font-size: clamp(2.5rem, 5vw, 3.8rem); /* identical to home */
  line-height: 1.1;
  margin-bottom: 14px;
  color: var(--color-hero-text);
}

/* Subtitle */
.page-about .page-hero__subtitle {
  font-size: 16px;
  color: var(--color-text-muted);
  max-width: 650px;
  margin: 0 0 20px;
  line-height: 1.6;
  text-align: left;
}

/* ABOUT: hero title + subtitle left aligned, overriding gal.css */
.page-about .page-hero {
  text-align: left !important;
}

.page-about .page-hero__subtitle,
.page-about .page-hero p {
  max-width: 680px;
  margin-left: 0 !important;
  margin-right: 0 !important;
  text-align: left !important;
}

 /******************************************
 * PAGE: SERVICES
 ******************************************/

/* Layout */
.page-services main {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  padding-top: calc(var(--header-height) + 30px);
  padding-bottom: 40px;
  gap: 40px;
}

/* Hero – same system as other heroes */
.page-services .page-hero--services {
  padding: 0 0 32px;
  color: var(--color-hero-text);
}

.page-services .page-hero--services h1 {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  line-height: 1.1;
  margin-bottom: 14px;
}

.page-services .page-hero--services .page-hero__subtitle {
  font-size: 16px;
  line-height: 1.6;
  max-width: 680px;
  margin: 0;
  color: var(--color-text-muted);
}

/* PRICING SECTION */
.services-pricing {
  padding: 10px 0 40px;
}

.services-pricing__header {
  max-width: 720px;
  margin-bottom: 24px;
}

.services-pricing__header h2 {
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  margin-bottom: 8px;
}

.services-pricing__intro {
  color: var(--color-text-muted);
  max-width: 560px;
}

.services-pricing__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

/* Cards – framed like approach cards, square corners */
.services-pricing__card {
  padding: 24px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(2, 14, 56, 0.12);
  box-shadow: 0 15px 35px rgba(2, 14, 56, 0.08);
}

.services-pricing__card h3 {
  font-size: 16px;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: var(--color-navbar-text);
}

.services-pricing__price {
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--color-hero-text);
}

.services-pricing__list {
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--color-text-muted);
}

.services-pricing__list li + li {
  margin-top: 6px;
}

/* FAQ SECTION */
.services-faq {
  padding: 10px 0 20px;
}

.services-faq__header {
  text-align: left;
  max-width: 720px;
  margin: 0 auto 16px;
}

.services-faq__header h2 {
  font-size: clamp(1.9rem, 3vw, 2.4rem);
}

/* Accordion core */
.accordion {
  list-style: none;
  max-width: 720px;
  margin: 0 auto;
  padding: 0;
  border-top: 1px solid var(--color-grid-line);
}

.accordion li {
  border-bottom: 1px solid var(--color-grid-line);
  padding: 0;
}

/* Question row */
.accordion li > a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  color: var(--color-hero-text);
  cursor: pointer;
  position: relative;
}

/* Arrow icon */
.accordion li > a::after {
  content: "+";
  font-weight: 400;
  margin-left: 12px;
  transition: transform 0.25s ease, opacity 0.25s ease;
  opacity: 0.7;
}

/* Answer text */
.accordion li > p {
  margin: 0;
  color: var(--color-text-muted);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease, padding-bottom 0.25s ease;
}

/* Open state */
.accordion li.is-open > a::after {
  content: "–";
  transform: rotate(180deg);
}

.accordion li.is-open > p {
  max-height: 200px;
  padding-bottom: 10px;
}

/* Small-screen tweaks */
@media (max-width: 768px) {
  .services-pricing__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .accordion li > a {
    align-items: flex-start;
  }
}

/******************************************
 * SERVICES — MODAL BUTTON GRID
 ******************************************/

.services-modals {
  padding: 20px 0 40px;
}

.services-modals__header {
  max-width: 600px;
  margin: 0 auto 20px;
}

.services-modals__grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.services-modal-btn {
  padding: 14px 20px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 13px;
  color: var(--color-hero-text);
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(2,14,56,0.15);

  /* SAME two-tier frame as index.html cards */
  box-shadow:
    0 0 0 3px rgba(255,255,255,0.9),         /* white outer frame */
    0 0 0 6px rgba(2,14,56,0.12),            /* darker inset */
    0 15px 35px rgba(2,14,56,0.10);          /* soft shadow */

  cursor: pointer;
  transition: all .3s ease;
}

.services-modal-btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 0 3px rgba(248,251,253,1),
    0 0 0 6px rgba(23,41,84,0.25),
    0 18px 40px rgba(2,14,56,0.18);
}

/******************************************
 * SERVICES — MODAL WINDOWS
 ******************************************/

.avh-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 5000;
}

.avh-modal.active {
  display: flex;
}

.avh-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(4px);
}

.avh-modal__content {
  position: relative;
  max-width: 520px;
  width: 92%;
  padding: 30px;
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(2,14,56,0.15);

  /* TWO-TIER FRAME (matches index.html) */
  box-shadow:
    0 0 0 4px rgba(255,255,255,0.95),
    0 0 0 8px rgba(2,14,56,0.15),
    0 20px 40px rgba(2,14,56,0.20);

  animation: modalFade .25s ease-out;
}

@keyframes modalFade {
  from { opacity: 0; transform: scale(.96); }
  to   { opacity: 1; transform: scale(1); }
}

.avh-modal__content h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.2;
  color: var(--color-hero-text);
}

.avh-modal__content p {
  color: var(--color-text-muted);
  line-height: 1.6;
}

.avh-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 26px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-hero-text);
  opacity: .7;
  transition: opacity .3s ease;
}

.avh-modal__close:hover {
  opacity: 1;
}

/******************************************
 * PAGE: GALLERY
 ******************************************/

/* Layout: header is fixed, so offset main, similar to About */
.page-gallery .gallery-main {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 40px;
}

/* Hero for Gallery – reuse global hero styles but adjust width */
.page-gallery .page-hero {
  padding: 0 0 32px;
  color: var(--color-hero-text);
  text-align: left;
}

.page-gallery .page-hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  margin-bottom: 14px;
  line-height: 1.1;
}

.page-gallery .page-hero__subtitle {
  font-size: 16px;
  color: var(--color-text-muted);
  max-width: 650px;
}

/* Sections */
.gallery-section {
  padding: 30px 0 40px;
}

.gallery-section__header {
  max-width: 720px;
  margin-bottom: 24px;
}

.gallery-section__header h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin-bottom: 8px;
}

.gallery-section__intro {
  color: var(--color-text-muted);
  max-width: 560px;
}

/* Polaroid-style gallery grid (from gal.css, scoped) */

:root {
  --gallery-adjust-size: 0px;
}

.page-gallery .gallery-grid {
  position: relative;
  left: calc(-1 * var(--gallery-adjust-size));
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  max-width: 100vw;
  padding: 20px 0;
  perspective: 0;
}

/* For large screens, slightly bigger cards */
@media (min-width: 800px) {
  .page-gallery .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }
}

/* Per-card animation values */
.page-gallery .gallery-grid figure:nth-child(7n)     { --duration: 1s;   --pin-color: #172954; }
.page-gallery .gallery-grid figure:nth-child(7n + 1) { --duration: 1.8s; --pin-color: #172954; }
.page-gallery .gallery-grid figure:nth-child(7n + 2) { --duration: 1.3s; --pin-color: #172954; }
.page-gallery .gallery-grid figure:nth-child(7n + 3) { --duration: 1.5s; --pin-color: #172954; }
.page-gallery .gallery-grid figure:nth-child(7n + 4) { --duration: 1.1s; --pin-color: #172954; }
.page-gallery .gallery-grid figure:nth-child(7n + 5) { --duration: 1.6s; --pin-color: #172954; }
.page-gallery .gallery-grid figure:nth-child(7n + 6) { --duration: 1.2s; --pin-color: #172954; }

.page-gallery .gallery-grid figure:nth-child(3n)     { --angle: 3deg; }
.page-gallery .gallery-grid figure:nth-child(3n + 1) { --angle: -3.3deg; }
.page-gallery .gallery-grid figure:nth-child(3n + 2) { --angle: 2.4deg; }

.page-gallery .gallery-grid figure:nth-child(odd)  { --direction: alternate; }
.page-gallery .gallery-grid figure:nth-child(even) { --direction: alternate-reverse; }

/* Polaroid figure styling */
.page-gallery .gallery-grid figure {
  --angle: 3deg;
  --count: 5;
  --duration: 1s;
  --delay: calc(-0.5 * var(--duration));
  --direction: alternate;
  --pin-color: #172954;

  position: relative;
  z-index: 1;
  display: inline-block;
  margin: var(--gallery-adjust-size);
  padding: 0.5rem;
  border-radius: 5px;
  box-shadow: 0 7px 8px rgba(0, 0, 0, 0.4);
  width: 100%;
  height: auto;
  text-align: center;
  background-color: ghostwhite;
  background-size: cover;
  background-position: center;
  background-blend-mode: multiply;

  transform-origin: center 0.22rem;
  will-change: transform;
  break-inside: avoid;
  overflow: hidden;
  outline: 1px solid transparent;
  backface-visibility: hidden;
}

/* Optional animation trigger – if you add "active" via JS */
.page-gallery .gallery-grid.active figure {
  animation-duration: var(--duration), 1.5s;
  animation-delay: var(--delay), calc(var(--delay) + var(--duration) * var(--count));
  animation-timing-function: ease-in-out;
  animation-iteration-count: var(--count), 1;
  animation-direction: var(--direction), normal;
  animation-fill-mode: both;
  animation-name: swing, swingEnd;
}

/* Pin at the top of each polaroid */
.page-gallery .gallery-grid figure::after {
  position: absolute;
  top: 0.22rem;
  left: 50%;
  width: 0.7rem;
  height: 0.7rem;
  content: "";
  background: var(--pin-color);
  border-radius: 50%;
  box-shadow: -0.1rem -0.1rem 0.3rem 0.02rem rgba(0, 0, 0, 0.5) inset;
  filter: drop-shadow(0.3rem 0.15rem 0.2rem rgba(0, 0, 0, 0.5));
  transform: translateZ(0);
  z-index: 2;
}

/* Image & caption */
.page-gallery .gallery-grid figure img {
  aspect-ratio: 1 / 1;
  width: 100%;
  object-fit: cover;
  display: block;
  border-radius: 5px;
  margin-bottom: 10px;
  z-index: 1;
}

.page-gallery .gallery-grid figure figcaption {
  font-size: 14px;
  font-weight: 400;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  z-index: 1;
}

/* Swing animation keyframes */
@keyframes swing {
  0%   { transform: rotate3d(0, 0, 1, calc(-1 * var(--angle))); }
  100% { transform: rotate3d(0, 0, 1, var(--angle)); }
}

@keyframes swingEnd {
  to { transform: rotate3d(0, 0, 1, 0deg); }
}

/* Subtle grid overlay for gallery page only */
.page-gallery::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(to right, rgba(23,41,84,0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(23,41,84,0.08) 1px, transparent 1px);
  background-size: 14px 24px;
  mask-image: radial-gradient(ellipse 80% 50% at 50% 0%, #000 70%, transparent 110%);
  -webkit-mask-image: radial-gradient(ellipse 80% 50% at 50% 0%, #000 70%, transparent 110%);
  mix-blend-mode: overlay;
  opacity: 0.85;
}

/******************************************
 * PAGE: GALLERY (integrated from gal.css)
 ******************************************/

/* Smooth scrolling for anchor links */
html {
  scroll-behavior: smooth;
}

/* Layout: header is fixed, so offset main a bit */
.page-gallery .gallery-main {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 40px;
}

/* Gallery hero – consistent with other heroes */
.page-gallery .page-hero {
  padding: 0 0 32px;
  text-align: left;
  color: var(--color-hero-text);
}

.page-gallery .page-hero .page-eyebrow {
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 18px;
  color: var(--color-navbar-text);
}

.page-gallery .page-hero h1 {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  line-height: 1.1;
  margin-bottom: 14px;
}

.page-gallery .page-hero__subtitle {
  font-size: 16px;
  max-width: 650px;
  color: var(--color-text-muted);
}

/* Anchor nav under hero */
.gallery-anchor-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
}

.gallery-anchor-nav a {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 12px;
  text-decoration: none;
  color: var(--color-navbar-text);
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}

.gallery-anchor-nav a:hover {
  border-bottom-color: var(--color-navbar-text);
}

/* Sections */
.gallery-section {
  padding: 30px 0 40px;
}

.gallery-section__header {
  max-width: 720px;
  margin-bottom: 24px;
}

.gallery-section__header h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin-bottom: 8px;
}

.gallery-section__intro {
  color: var(--color-text-muted);
  max-width: 560px;
}

/* ---- POLAROID GRID (from gal.css, scoped) ---- */

:root {
  --gallery-adjust-size: 0px;
}

.page-gallery .gallery-grid {
  position: relative;
  left: calc(-1 * var(--gallery-adjust-size));
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  max-width: 100vw;
  padding: 20px 0;
  perspective: 0;
}

@media (min-width: 800px) {
  .page-gallery .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }
}

/* per-card animation variables, same pattern as gal.css */
.page-gallery .gallery-grid figure:nth-child(7n)     { --duration: 1s;   --pin-color: #172954; }
.page-gallery .gallery-grid figure:nth-child(7n + 1) { --duration: 1.8s; --pin-color: #172954; }
.page-gallery .gallery-grid figure:nth-child(7n + 2) { --duration: 1.3s; --pin-color: #172954; }
.page-gallery .gallery-grid figure:nth-child(7n + 3) { --duration: 1.5s; --pin-color: #172954; }
.page-gallery .gallery-grid figure:nth-child(7n + 4) { --duration: 1.1s; --pin-color: #172954; }
.page-gallery .gallery-grid figure:nth-child(7n + 5) { --duration: 1.6s; --pin-color: #172954; }
.page-gallery .gallery-grid figure:nth-child(7n + 6) { --duration: 1.2s; --pin-color: #172954; }

.page-gallery .gallery-grid figure:nth-child(3n)     { --angle: 3deg; }
.page-gallery .gallery-grid figure:nth-child(3n + 1) { --angle: -3.3deg; }
.page-gallery .gallery-grid figure:nth-child(3n + 2) { --angle: 2.4deg; }

.page-gallery .gallery-grid figure:nth-child(odd)  { --direction: alternate; }
.page-gallery .gallery-grid figure:nth-child(even) { --direction: alternate-reverse; }

.page-gallery .gallery-grid figure {
  --angle: 3deg;
  --count: 5;
  --duration: 1s;
  --delay: calc(-0.5 * var(--duration));
  --direction: alternate;
  --pin-color: #172954;

  position: relative;
  z-index: 1;
  display: inline-block;
  margin: var(--gallery-adjust-size);
  padding: 0.5rem;
  border-radius: 5px;
  box-shadow: 0 7px 8px rgba(0, 0, 0, 0.4);
  width: 100%;
  height: auto;
  text-align: center;
  background-color: ghostwhite;
  background-size: cover;
  background-position: center;
  background-blend-mode: multiply;

  transform-origin: center 0.22rem;
  will-change: transform;
  break-inside: avoid;
  overflow: hidden;
}

/* if you later add JS to toggle .active on a grid, the swing animation will run */
.page-gallery .gallery-grid.active figure {
  animation-duration: var(--duration), 1.5s;
  animation-delay: var(--delay), calc(var(--delay) + var(--duration) * var(--count));
  animation-timing-function: ease-in-out;
  animation-iteration-count: var(--count), 1;
  animation-direction: var(--direction), normal;
  animation-fill-mode: both;
  animation-name: swing, swingEnd;
}

/* pin */
.page-gallery .gallery-grid figure::after {
  position: absolute;
  top: 0.22rem;
  left: 50%;
  width: 0.7rem;
  height: 0.7rem;
  content: "";
  background: var(--pin-color);
  border-radius: 50%;
  box-shadow: -0.1rem -0.1rem 0.3rem 0.02rem rgba(0, 0, 0, 0.5) inset;
  filter: drop-shadow(0.3rem 0.15rem 0.2rem rgba(0, 0, 0, 0.5));
  transform: translateZ(0);
  z-index: 2;
}

/* image + caption */
.page-gallery .gallery-grid figure img {
  aspect-ratio: 1 / 1;
  width: 100%;
  object-fit: cover;
  display: block;
  border-radius: 5px;
  margin-bottom: 10px;
}

.page-gallery .gallery-grid figure figcaption {
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* swing animation (from gal.css) */
@keyframes swing {
  0%   { transform: rotate3d(0, 0, 1, calc(-1 * var(--angle))); }
  100% { transform: rotate3d(0, 0, 1, var(--angle)); }
}

@keyframes swingEnd {
  to { transform: rotate3d(0, 0, 1, 0deg); }
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .gallery-anchor-nav {
    justify-content: flex-start;
  }
}

/******************************************
 * PAGE: GALLERY (integrated from gal.css)
 ******************************************/

/* Smooth scrolling for anchor links */
html {
  scroll-behavior: smooth;
}

/* Layout: header is fixed, so offset main a bit */
.page-gallery .gallery-main {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 40px;
}

/* Gallery hero – consistent with other heroes */
.page-gallery .page-hero {
  padding: 0 0 32px;
  text-align: left;
  color: var(--color-hero-text);
}

.page-gallery .page-hero .page-eyebrow {
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 18px;
  color: var(--color-navbar-text);
}

.page-gallery .page-hero h1 {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  line-height: 1.1;
  margin-bottom: 14px;
}

.page-gallery .page-hero__subtitle {
  font-size: 16px;
  max-width: 650px;
  color: var(--color-text-muted);
}

/* Anchor nav under hero */
.gallery-anchor-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
}

.gallery-anchor-nav a {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 12px;
  text-decoration: none;
  color: var(--color-navbar-text);
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}

.gallery-anchor-nav a:hover {
  border-bottom-color: var(--color-navbar-text);
}

/* Sections */
.gallery-section {
  padding: 30px 0 40px;
}

.gallery-section__header {
  max-width: 720px;
  margin-bottom: 24px;
}

.gallery-section__header h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin-bottom: 8px;
}

.gallery-section__intro {
  color: var(--color-text-muted);
  max-width: 560px;
}

/* ---- POLAROID GRID (from gal.css, scoped) ---- */

:root {
  --gallery-adjust-size: 0px;
}

.page-gallery .gallery-grid {
  position: relative;
  left: calc(-1 * var(--gallery-adjust-size));
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  max-width: 100vw;
  padding: 20px 0;
  perspective: 0;
}

@media (min-width: 800px) {
  .page-gallery .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }
}

/* per-card animation variables, same pattern as gal.css */
.page-gallery .gallery-grid figure:nth-child(7n)     { --duration: 1s;   --pin-color: #172954; }
.page-gallery .gallery-grid figure:nth-child(7n + 1) { --duration: 1.8s; --pin-color: #172954; }
.page-gallery .gallery-grid figure:nth-child(7n + 2) { --duration: 1.3s; --pin-color: #172954; }
.page-gallery .gallery-grid figure:nth-child(7n + 3) { --duration: 1.5s; --pin-color: #172954; }
.page-gallery .gallery-grid figure:nth-child(7n + 4) { --duration: 1.1s; --pin-color: #172954; }
.page-gallery .gallery-grid figure:nth-child(7n + 5) { --duration: 1.6s; --pin-color: #172954; }
.page-gallery .gallery-grid figure:nth-child(7n + 6) { --duration: 1.2s; --pin-color: #172954; }

.page-gallery .gallery-grid figure:nth-child(3n)     { --angle: 3deg; }
.page-gallery .gallery-grid figure:nth-child(3n + 1) { --angle: -3.3deg; }
.page-gallery .gallery-grid figure:nth-child(3n + 2) { --angle: 2.4deg; }

.page-gallery .gallery-grid figure:nth-child(odd)  { --direction: alternate; }
.page-gallery .gallery-grid figure:nth-child(even) { --direction: alternate-reverse; }

.page-gallery .gallery-grid figure {
  --angle: 3deg;
  --count: 5;
  --duration: 1s;
  --delay: calc(-0.5 * var(--duration));
  --direction: alternate;
  --pin-color: #172954;

  position: relative;
  z-index: 1;
  display: inline-block;
  margin: var(--gallery-adjust-size);
  padding: 0.5rem;
  border-radius: 5px;
  box-shadow: 0 7px 8px rgba(0, 0, 0, 0.4);
  width: 100%;
  height: auto;
  text-align: center;
  background-color: ghostwhite;
  background-size: cover;
  background-position: center;
  background-blend-mode: multiply;

  transform-origin: center 0.22rem;
  will-change: transform;
  break-inside: avoid;
  overflow: hidden;
}

/* if you later add JS to toggle .active on a grid, the swing animation will run */
.page-gallery .gallery-grid.active figure {
  animation-duration: var(--duration), 1.5s;
  animation-delay: var(--delay), calc(var(--delay) + var(--duration) * var(--count));
  animation-timing-function: ease-in-out;
  animation-iteration-count: var(--count), 1;
  animation-direction: var(--direction), normal;
  animation-fill-mode: both;
  animation-name: swing, swingEnd;
}

/* pin */
.page-gallery .gallery-grid figure::after {
  position: absolute;
  top: 0.22rem;
  left: 50%;
  width: 0.7rem;
  height: 0.7rem;
  content: "";
  background: var(--pin-color);
  border-radius: 50%;
  box-shadow: -0.1rem -0.1rem 0.3rem 0.02rem rgba(0, 0, 0, 0.5) inset;
  filter: drop-shadow(0.3rem 0.15rem 0.2rem rgba(0, 0, 0, 0.5));
  transform: translateZ(0);
  z-index: 2;
}

/* image + caption */
.page-gallery .gallery-grid figure img {
  aspect-ratio: 1 / 1;
  width: 100%;
  object-fit: cover;
  display: block;
  border-radius: 5px;
  margin-bottom: 10px;
}

.page-gallery .gallery-grid figure figcaption {
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* swing animation (from gal.css) */
@keyframes swing {
  0%   { transform: rotate3d(0, 0, 1, calc(-1 * var(--angle))); }
  100% { transform: rotate3d(0, 0, 1, var(--angle)); }
}

@keyframes swingEnd {
  to { transform: rotate3d(0, 0, 1, 0deg); }
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .gallery-anchor-nav {
    justify-content: flex-start;
  }
}
/* Make anchor jumps land with the heading visible below the fixed header */
.page-gallery .gallery-hero,
.page-gallery .gallery-section {
  scroll-margin-top: var(--header-height);
}

/* CTA section at the bottom of the gallery */
.gallery-section--cta {
  padding-top: 40px;
  padding-bottom: 60px;
}

.gallery-cta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 20px;
}

.gallery-cta-card {
  padding: 24px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(2, 14, 56, 0.12);
  box-shadow: 0 15px 35px rgba(2, 14, 56, 0.08);
}

.gallery-cta-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--color-hero-text);
}

.gallery-cta-card p {
  color: var(--color-text-muted);
  margin-bottom: 16px;
  line-height: 1.6;
}
 
/******************************************
 * PAGE: OFFERS
 ******************************************/

.page-offers main {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  padding-top: calc(var(--header-height) + 30px);
  padding-bottom: 40px;
  gap: 30px;
}

/* Small hero for offers */
.page-offers .page-hero--offers {
  padding: 0 0 24px;
  color: var(--color-hero-text);
}

.page-offers .page-hero--offers h1 {
  font-size: clamp(2.1rem, 4vw, 2.8rem);
  line-height: 1.1;
  margin-bottom: 12px;
}

.page-offers .page-hero--offers .page-hero__subtitle {
  font-size: 15px;
  max-width: 640px;
  color: var(--color-text-muted);
}

/* Gift voucher section */
/******************************************
 * OFFERS – GIFT VOUCHER CARDS (QGC)
 ******************************************/

/* Each voucher block */
.qgc-section {
  padding: 16px 0;
}

/* Keep width in line with .container layout */
.qgc-container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Card layout: image + info */
.qgc-content {
  display: flex;
  align-items: stretch;
  gap: 24px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(2, 14, 56, 0.12);
  box-shadow: 0 15px 35px rgba(2, 14, 56, 0.08);
  padding: 24px 24px 32px;
  position: relative;
}

/* Image area */
.qgc-image {
  display: flex;
  flex: 0 0 30%;
  min-width: 220px;
}

.qgc-image img {
  max-width: 260px;
  width: 100%;
  height: auto;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
  transform: rotate(-4deg);
  margin-left: -40px;
  align-self: center;
}

/* Info column */
.qgc-info {
  flex: 1 1 auto;
  margin: 6px 0;
}

/* Title */
.qgc-title {
  font-family: "Open Sans", sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.4;
  color: var(--color-navbar-text);
  text-align: left;
  margin-bottom: 8px;
}

/* Main copy */
.qgc-copy {
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  max-width: 460px;
  color: var(--color-text-muted);
  text-align: left;
  margin-bottom: 14px;
}

/* Prices list */
.qgc-prices ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0 0 16px;
}

.qgc-prices li {
  list-style: none;
  text-align: center;
  background: #ffffff;
  border-radius: 4px;
  border: 1px solid rgba(2, 14, 56, 0.15);
  box-shadow: 0 2px 4px rgba(2, 14, 56, 0.15);
  padding: 8px 14px 10px;
  min-width: 120px;
}

/* Price label (e.g. 'Welcome Gift', 'You', 'Your VIP') */
.qgc-prices-title {
  font-family: "Open Sans", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--color-navbar-text);
  margin-bottom: 4px;
}

/* Price amount */
.qgc-prices-price {
  font-family: "Open Sans", sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--color-hero-text);
}

/* CTA link bottom-right */
.qgc-findmore {
  position: absolute;
  right: 24px;
  bottom: 18px;
  font-family: "Open Sans", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-navbar-text);
  text-decoration: none;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 0;
  border-bottom: 1px solid rgba(2, 14, 56, 0.3);
  background: transparent;
  transition: color .2s ease, border-color .2s ease, transform .2s ease;
}

.qgc-findmore:hover {
  color: var(--color-hero-text);
  border-bottom-color: rgba(2, 14, 56, 0.6);
  transform: translateY(-1px);
}

/* MOBILE */
@media (max-width: 768px) {
  .qgc-content {
    flex-direction: column;
    padding: 20px 18px 50px;
  }

  .qgc-image {
    justify-content: center;
    flex: 0 0 auto;
    min-width: 0;
  }

  .qgc-image img {
    margin: -20px auto 10px;
    max-width: 70%;
    transform: rotate(-2deg);
  }

  .qgc-info {
    width: 100%;
    margin: 0;
  }

  .qgc-title {
    text-align: center;
  }

  .qgc-copy {
    max-width: none;
    text-align: center;
    margin: 0 auto 14px;
  }

  .qgc-prices ul {
    justify-content: center;
  }

  .qgc-prices li {
    margin: 4px;
  }

  .qgc-findmore {
    left: 0;
    right: 0;
    bottom: 14px;
    margin: 0 auto;
    text-align: center;
    border-bottom-color: rgba(2, 14, 56, 0.4);
  }
}

/******************************************
 * PAGE: CONTACT
 ******************************************/

.find-us {
  padding: 80px 0;
  position: relative;
  z-index: 2;
  background: transparent;
}

.find-us__header {
  text-align: center;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.find-us__header h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin: 0;
}

.find-us__layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  align-items: stretch;

  /* 👇 this pushes the card + map down from the heading */
  margin-top: 80px;
}


.find-card {
  padding: 24px;
  border-radius: 0; /* square edges */
  background: linear-gradient(to bottom right, #f8fbfd, #b4b7c3);
  
  /* same border as your map */
  border: 12px solid white;

  /* subtle shadow to match */
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);

  /* prevents stretching */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}


.find-card__inner {
  padding: 24px;
  background: linear-gradient(to bottom left, #f8fbfd, #b4b7c3);
  height: 100%;
}


.find-card h3 {
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: 14px;
  margin-bottom: 12px;
}

.find-card__address {
  margin-bottom: 10px;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.find-card {
  padding: 24px;
  border-radius: 0;
  background: linear-gradient(to bottom right, #f8fbfd, #b4b7c3);
  border: 12px solid #fff;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
}

.find-card__contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--color-text-muted);
}

.find-card__contact .feature-slide__cta {
  align-self: flex-start;
}

.find-us__map {
  border: 12px solid #fff;                          /* same as card */
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);          /* same shadow */
  background: none;
  padding: 0;
  display: flex;
}

.find-us__map iframe {
  width: 100%;
  height: 100%;
  min-height: 260px;
  border: 0;
  display: block;
}




/******************************************
 * PAGE: CONTACT US
 ******************************************/

.page-contact main {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  padding-top: calc(var(--header-height) + 30px);
  padding-bottom: 40px;
  gap: 40px;
}

/* Hero tweaks */
.page-contact .page-hero--contact {
  padding: 0 0 24px;
  color: var(--color-hero-text);
}

.page-contact .page-hero--contact h1 {
  font-size: clamp(2.4rem, 4.5vw, 3.2rem);
  line-height: 1.1;
  margin-bottom: 12px;
}

.page-contact .page-hero--contact .page-hero__subtitle {
  font-size: 16px;
  max-width: 640px;
  color: var(--color-text-muted);
}

/* CONTACT CARD */
.contact-shell {
  padding: 10px 0 30px;
}

.contact-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(260px, 0.9fr);
  gap: 0;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(2, 14, 56, 0.12);
  box-shadow: 0 18px 40px rgba(2, 14, 56, 0.16);
}

/* Left side – form */
.contact-panel__form {
  padding: 40px 40px 50px;
}

.contact-panel__heading h2 {
  font-size: 24px;
  margin-bottom: 8px;
  color: var(--color-hero-text);
}

.contact-panel__heading p {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 24px;
}

.contact-form__row + .contact-form__row {
  margin-top: 16px;
}

.contact-input {
  width: 100%;
  border: none;
  border-bottom: 1px solid rgba(2, 14, 56, 0.2);
  padding: 8px 0;
  background: transparent;
  font-family: inherit;
  font-size: 14px;
  color: var(--color-hero-text);
}

.contact-input::placeholder {
  color: rgba(2, 14, 56, 0.5);
}

.contact-input:focus {
  outline: none;
  border-bottom-color: var(--color-navbar-text);
}

.contact-input--textarea {
  resize: vertical;
  min-height: 110px;
}

/* Submit button – reuse CTA style */
.contact-submit {
  margin-top: 24px;
  width: 100%;
  border: none;
  padding: 12px 20px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  color: #f8fbfd;
  background: linear-gradient(135deg, #172954, #020e38);
  box-shadow: 0 12px 24px rgba(2, 14, 56, 0.35);
  transition: transform .2s ease, box-shadow .2s ease;
}

.contact-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(2, 14, 56, 0.45);
}

/* Right side – info panel */
.contact-panel__info {
  background: #101215;
  color: #f8fbfd;
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-panel__info h3 {
  font-size: 18px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 8px;
}

.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
}

.contact-info__item i {
  margin-top: 3px;
}

.contact-info__item span {
  line-height: 1.5;
}

/* Social icons */
.contact-info__social {
  margin-top: auto;
  display: flex;
  gap: 12px;
}

.contact-info__social a {
  font-size: 20px;
  color: #8DB9ED;
  text-decoration: none;
}

.contact-info__social a:hover {
  color: #ffffff;
}

/* MAP SECTION */
.contact-map {
  padding: 10px 0 0;
}

.contact-map__inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

.contact-map__inner h2 {
  font-size: 20px;
  margin-bottom: 8px;
  color: var(--color-hero-text);
}

.contact-map__inner p {
  font-size: 14px;
  color: var(--color-text-muted);
  max-width: 520px;
  margin-bottom: 18px;
}

.contact-map__frame {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(2, 14, 56, 0.18);
  box-shadow: 0 15px 35px rgba(2, 14, 56, 0.16);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .contact-panel {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-panel__form {
    padding: 30px 20px 40px;
  }

  .contact-panel__info {
    padding: 24px 20px;
  }
}


/******************************************
 * PAGE: COMMUNITY
 ******************************************/

.page-community main {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  padding-top: calc(var(--header-height) + 30px);
  padding-bottom: 40px;
  gap: 40px;
}

/* Hero */
.page-community .page-hero--community {
  padding: 0 0 28px;
  color: var(--color-hero-text);
}

.page-community .page-hero--community h1 {
  font-size: clamp(2.5rem, 5vw, 3.2rem);
  line-height: 1.1;
  margin-bottom: 12px;
}

.page-community .page-hero--community .page-hero__subtitle {
  font-size: 16px;
  max-width: 640px;
  color: var(--color-text-muted);
}

/* INTRO */
.community-intro {
  padding: 10px 0 20px;
}

.community-intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(260px, 0.9fr);
  gap: 24px;
}

.community-intro__copy h2 {
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  margin-bottom: 8px;
}

.community-intro__copy p {
  color: var(--color-text-muted);
  max-width: 580px;
  margin-bottom: 10px;
}

.community-intro__highlights {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(2, 14, 56, 0.12);
  box-shadow: 0 15px 35px rgba(2, 14, 56, 0.08);
  padding: 18px 20px;
}

.community-intro__highlights ul {
  margin: 0;
  padding-left: 18px;
  color: var(--color-text-muted);
}

.community-intro__highlights li + li {
  margin-top: 6px;
}

/* RATES GRID (similar to services-pricing) */
.community-rates {
  padding: 10px 0 30px;
}

.community-rates__header {
  max-width: 720px;
  margin-bottom: 20px;
}

.community-rates__header h2 {
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  margin-bottom: 6px;
}

.community-rates__intro {
  color: var(--color-text-muted);
  max-width: 560px;
}

.community-rates__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.community-rate-card {
  padding: 24px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(2, 14, 56, 0.12);
  box-shadow: 0 15px 35px rgba(2, 14, 56, 0.08);
}

.community-rate-card h3 {
  font-size: 15px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 6px;
  color: var(--color-navbar-text);
}

.community-rate-card__price {
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--color-hero-text);
}

.community-rate-card__detail {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 10px;
}

.community-rate-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--color-text-muted);
}

.community-rate-card__list li + li {
  margin-top: 4px;
}

/* TERMS */
.community-terms {
  padding: 10px 0 10px;
}

.community-terms__inner {
  max-width: 720px;
}

.community-terms__inner h2 {
  font-size: 18px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--color-navbar-text);
}

.community-terms__inner ul {
  margin: 0;
  padding-left: 18px;
  color: var(--color-text-muted);
}

.community-terms__inner li + li {
  margin-top: 6px;
}

/* CTA */
.community-cta {
  padding: 10px 0 0;
}

.community-cta__shell {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(2, 14, 56, 0.15);
  box-shadow: 0 15px 35px rgba(2, 14, 56, 0.12);
}

.community-cta__content h2 {
  font-size: 20px;
  margin-bottom: 8px;
}

.community-cta__content p {
  color: var(--color-text-muted);
  max-width: 480px;
  margin: 0;
}

.community-cta__actions {
  flex-shrink: 0;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .community-intro__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 768px) {
  .community-rates__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .community-cta__shell {
    flex-direction: column;
    align-items: flex-start;
  }

  .community-cta__actions {
    width: 100%;
  }

  .community-cta__actions .feature-slide__cta {
    width: 100%;
    text-align: center;
  }
}



/******************************************
 * NAV TOGGLER (MOBILE MENU BUTTON)
 ******************************************/

.nav-toggler {
  border: 3px solid var(--color-navbar-text);
  padding: 5px;
  background-color: transparent;
  cursor: pointer;
  height: 39px;
  display: none;
}

.nav-toggler span,
.nav-toggler span:before,
.nav-toggler span:after {
  width: 28px;
  height: 3px;
  background-color: var(--color-navbar-text);
  display: block;
  transition: .3s;
}

.nav-toggler span:before {
  content: '';
  transform: translateY(-9px);
}

.nav-toggler span:after {
  content: '';
  transform: translateY(6px);
}

.nav-toggler.toggler-open span {
  background-color: transparent;
}

.nav-toggler.toggler-open span:before {
  transform: translateY(0px) rotate(45deg);
}

.nav-toggler.toggler-open span:after {
  transform: translateY(-3px) rotate(-45deg);
}


/******************************************
 * GLOBAL MEDIA QUERIES
 ******************************************/

/* MOBILE (GLOBAL NAV / HERO / MARQUEE) */
@media screen and (max-width: 991px) {
  .container {
    max-width: 720px;
  }

  /* navbar css for mobile start */
  .nav-toggler {
    display: block;
    margin-right: 15px;
  }

  .site-navbar {
    min-height: 60px;
  }

  .site-navbar ul {
    position: absolute;
    width: 100%;
    left: 0;
    top: 80px; /* Adjusted for header height */
    flex-direction: column;
    align-items: center;
    background-color: var(--color-mobile-menu-bg);
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s;
    border-top: none;
  }

  .site-navbar ul li {
    width: 100%;
    text-align: center;
  }

  .site-navbar ul li a {
    padding: 20px;
    color: #fff;
  }

  .site-navbar ul li a:hover {
    background-color: rgba(248, 251, 253, .1);
  }

  .site-navbar ul.open {
    max-height: 100vh;
    overflow: visible;
  }
  /* navbar css for mobile end */

  /* Feature slider */
  .feature-swiper-shell {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .feature-slide {
    flex-direction: column;
  }

  .feature-slide__content {
    padding: 24px;
    order: 2;
    text-align: center;
    align-items: center;
  }

  .feature-slide__image {
    order: 1;
  }

  .feature-swiper__controls {
    flex-direction: row;
    justify-content: center;
  }

  .feature-progress-column {
    flex-direction: row;
  }

  /* Approach cards */
  .steps-cards {
    flex-direction: column;
    align-items: center;
  }

  /* Find us */
  .find-us__layout {
    flex-direction: column;
  }

  .find-us__map {
    margin-top: 20px;
  }

  .logo-marquee__track {
    animation-duration: 15s;
  }
}

@media screen and (max-width: 767px) {
  .page-screen--partners,
  .page-screen--contact {
    padding: 12px 0;
  }

  .steps-cards {
    margin: 12px auto;
  }

  .find-us__layout {
    display: flex;
    flex-direction: column;
  }

  .find-card.find-us__single {
    margin-bottom: 20px;
  }
}

/* FOOTER RESPONSIVE BREAKPOINTS */
@media only screen and (max-width: 768px) {
  .footer-list-header {
    font-size: 2em;
  }

  .footer-list-anchor {
    font-size: 1.1em;
  }

  .footer-social-connect {
    font-size: 2.5em;
  }

  .footer-social-overlap > a {
    font-size: 2.24em;
  }

  .footer-bottom-wrapper {
    font-size: 1.3em;
  }
}

@media only screen and (max-width: 568px) {
  .footer-list-top {
    width: 100%;
  }

  .footer-list-header {
    font-size: 3em;
  }

  .footer-list-anchor {
    font-size: 1.5em;
  }

  .footer-social-section {
    justify-content: center;
    flex-direction: column;
  }

  .footer-social-connect {
    margin-bottom: 20px;
    padding: 0 10px;
  }

  .footer-social-overlap {
    display: flex;
    justify-content: center;
  }

  .footer-social-line {
    width: 100%;
    max-width: none;
  }

  .footer-social-icons-wrapper {
    width: 100%;
    padding: 0;
  }

  .footer-social-overlap > a:not(:first-child) {
    margin-left: 20px;
  }

  .footer-bottom-section {
    padding: 0 5px 10px 5px;
  }

  .footer-bottom-wrapper {
    text-align: center;
    width: 100%;
    flex: 1 1 100%;
    justify-content: center;
    margin-top: 10px;
  }
}

@media only screen and (max-width: 480px) {
  .footer-social-overlap > a {
    margin: auto;
  }

  .footer-social-overlap > a:not(:first-child) {
    margin-left: 0;
  }

  .footer-bottom-rights {
    display: block;
  }
}

@media only screen and (max-width: 320px) {
  .footer-list-header {
    font-size: 2.2em;
  }

  .footer-list-anchor {
    font-size: 1.2em;
  }

  .footer-social-connect {
    font-size: 2.4em;
  }

  .footer-social-overlap > a {
    font-size: 2.24em;
  }

  .footer-bottom-wrapper {
    font-size: 1.3em;
  }
}
/* Remove all unwanted background boxes on the Services page */
.page-services main,
.page-services section,
.page-services .container,
.page-services .services-pricing,
.page-services .services-modals,
.page-services .services-faq {
  background: transparent !important;
}

/* Also remove inherited grey backgrounds */
.page-services .services-pricing__header,
.page-services .services-modals__header,
.page-services .services-faq__header {
  background: transparent !important;
}

/* Make sure the main wrapper does not create its own block */
.page-services #main-content {
  background: transparent !important;
}
