/* css/global.css */

:root {
  /* Brand blues */
  --c-title: #308dc4; /* Content Titles + Section Titles */
  --c-client-title: #2a88b5; /* Our client Titles */
  --card-bg: #f6f6f8; /* Grayed Cards */

  /* Your palette (from the other image you sent earlier) */
  --c-sky-100: #9be3f9;
  --c-sky-200: #5ec3ea;
  --c-blue-500: #48a0f6;
  --c-blue-800: #1b71a3;
  --c-green-500: #16a34a; /* "after" / validated state, pairs with the blues */

  /* Text */
  --text: #000000; /* headings in that design look basically black */
  --text-muted: #505355; /* body text looks like a dark gray (approx) */

  --bg: #ffffff; /* white background */

  /* Horizontal page column. Every section container uses these two, so all
     content lines up on one grid regardless of viewport. */
  --page-max: 1400px;
  --page-gutter: clamp(1.25rem, 4vw, 4rem);

  /* Vertical rhythm between page sections. Every section applies this as
     padding-block, so the gap between any two is exactly twice this value. */
  --section-space: clamp(2.25rem, 4.5vh, 3.25rem);

  /* Typography */
  --font-main: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial,
    sans-serif;
}

[hidden] {
  display: none !important;
}

/* Inter is loaded from Google Fonts in each page <head>.
   The family is set once in --font-main above — never hard-code it. */

body {
  font-family: var(--font-main);
  margin: 0;
  padding: 0;
  padding-top: 90px; /* Space for fixed navbar */
  background: var(--bg);
  color: var(--text);
}

html {
  scroll-padding-top: 100px; /* Offset for anchor links with fixed navbar */
}

/* reusable single line */
.sectionLine {
  width: 100%;
  height: 2px;
  background: #000;
  opacity: 0.12;
  display: flex;
  align-items: center; /* centers the line vertically */
}

/* the actual line */
.sectionLine::before {
  content: "";
  width: 100%;
  height: 2px;
  background: #000;
  opacity: 0.12;
  display: block;
}

.primary-button {
  background-color: var(--c-blue-500);
  color: var(--bg);
  border: none;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
}
.primary-accent-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(90deg, #4193bd 0%, #80cbe7 100%);
  color: var(--bg);
  border: none;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  box-shadow: 0 10px 20px rgba(27, 113, 163, 0.25);
}

#bookDemo img,
#bookDemoFooter img{
  width: 1.65rem;
}

#sendresume{
    padding: .5rem 2rem !important;
}

#sendresume img {
    width: 2rem;
    transform: rotate(45deg);
}

.footerLinks {
  width: max-content;
}

main.page-main {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.sectionHeader2col {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 3rem;
  padding: 0 4vw 0rem 4vw;
  border-top: 1px solid #19638e25;
  border-bottom: 1px solid #19638e25;
  width: 100%;
  align-self: stretch;
  box-sizing: border-box;
  padding: 2.5rem 8vw;
}

/* left block: bar + title */
.sectionHeaderLeft {
  display: flex;
  align-items: flex-start;
  gap: 18px; /* matches .clientsTitle gap vibe */
}

.f-aligned-items-center {
  display: flex;
  align-items: center;
}

/* IMPORTANT: your .titleBar is already styled in .clientsHeader;
   this makes sure it still works here too */
.titleBar {
  width: 10px;
  height: 90px;
  background: var(--c-blue-500);
  flex: 0 0 auto;
}

/* title */
.sectionHeaderTitle {
  margin: 0;
  font-size: clamp(2.4rem, 4.2vw, 3.6rem);
  line-height: 0.95;
  color: var(--text);
  font-weight: 800;
}

/* blue word */
.blueTitle {
  color: var(--c-blue-800);
}

/* subtitle on the right */
.sectionHeaderSubtitle {
  margin: 0;
  max-width: 30%; /* gives line breaks like your image */
  color: var(--text-muted);
  font-size: 1.2rem;
}

/* responsive stack */
@media (max-width: 900px) {
    .sectionHeader2col{
        flex-direction: row;
        align-items: start;
        padding: .75rem 1rem !important;
    }
    .sectionHeaderSubtitle{
        max-width: 100%;
        display: none;
    }
    .sectionHeaderLeft{
        margin-left: 2rem;
        align-items: center;
    }
}

@media (max-width: 450px) {
    .solutionsHeadline{
    font-size: 2rem !important;
    }
    .heroTitle h3{
        font-size: 1.3rem !important;
        width: 60% !important;
    }
    .sectionHeaderTitle{
        font-size: 1.9rem !important;
    }
    .titleBar{
        height: 70px !important;
    }
}

blue-title{
    color: #1b71a3 !important;
}

/* ===================================================== */
/* Responsive breakpoints                               */
/* ===================================================== */

/* @media (max-width: 1400px) {
    .homeHero {
        align-items: flex-start;
    }
    .sectionTitle.leftTitle {
        width: 65%;
    }
    .clientsDetail {
        width: 75%;
    }
    .clientTextBlock {
        width: 90%;
    }
    .clientsGraphic {
        width: 35%;
        background-size: contain;
    }
    .aboutHero .heroTitle h2 {
        font-size: 2.5rem;
    }
    .featuresList {
        padding: 2.5rem 2.5rem 3rem 3rem;
    }
}

@media (max-width: 1200px) {
    #navbar {
        width: 95%;
    }
    .linksNavbar {
        width: 40%;
    }
    .featuresSolutions {
        flex-direction: column;
        height: auto;
        
    }
    .featuresList,
    .featuresGraphic {
        width: 100%;
    }
    .featuresGraphic img {
        max-width: 480px;
        margin: 0 auto;
        display: block;
    }
    .howItWorksSolutionsGraphic,
    .howItWorksSolutionsSteps {
        width: 100%;
    }
}

@media (max-width: 1024px) {
    #navbar {
        flex-wrap: wrap;
        gap: 1rem;
    }
    .logoNavbar,
    .linksNavbar,
    .supportButtonsNavbar {
        width: auto;
    }
    .howItWorksSolutionsGraphic {
        width: 60%;
        margin: 0 auto 2rem auto;
    }
    .howItWorksSolutionsGraphic img {
        transform: none;
        width: 100%;
    }
    .howItWorksSolutionsContainer {
        flex-direction: column;
        gap: 2rem;
    }
    .howItWorksSolutionsSteps {
        display: flex;
        flex-direction: column;
        width: 100%;
    }
    .hiwStep {
        width: 100%;
    }
    .career-descriptions {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .careersSection {
        padding: 3rem 0;
    }
    .foundersTeam {
        grid-template-columns: repeat(2, 1fr);
    }
    .developmentTeam {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .content.contact-grid {
        grid-template-columns: 1fr;
    }
    .form-row.two {
        flex-direction: column;
    }
    .footerInfo {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
        text-align: center;
    }
    .footer-c,
    .footer-r,
    .footer-buttons {
        width: 100%;
        align-items: center;
    }
    .footerLinks ul {
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    #navbar {
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem;
    }
    .logoNavbar,
    .linksNavbar,
    .supportButtonsNavbar {
        width: 100%;
        justify-content: flex-start;
    }
    #navbar ul {
        flex-wrap: wrap;
        gap: 0.5rem;
        justify-content: flex-start;
    }
    .sectionTitle.rightTitle,
    .sectionTitle.leftTitle,
    .sectionTitle.centerTitle {
        width: 100%;
        text-align: left;
        align-items: flex-start;
    }
    .sectionTitle.centerTitle p {
        text-align: left;
    }
    .heroGraphics {
        flex-direction: column;
        gap: 1.5rem;
    }
    .heroGifContainer,
    .heroGifContainer:nth-of-type(2) {
        width: 80%;
        transform: none;
        animation: none;
    }
    .featuresList {
        border-radius: 2rem;
        padding: 2rem;
    }
    .featuresList ul {
        margin-left: 0;
    }
    .aboutValuesContainer {
        grid-template-columns: 1fr;
    }
    .expertiseContainer {
        flex-direction: column;
        gap: 2rem;
    }
    .verticalHR {
        display: none;
    }
    .career-desc {
        padding: 1.5rem 1rem;
    }
    .teamContainer {
        padding: 1rem 0;
    }
}

@media (max-width: 600px) {
    .homeHero .sectionTitle {
        position: relative;
        width: 100%;
        margin-left: 0;
    }
    .featuresList {
        padding: 1.75rem;
    }
    .howItWorksSolutionsGraphic {
        width: 100%;
    }
    .content.contact-grid,
    main.page-main {
        padding: 0 1rem;
    }
    .foundersTeam,
    .developmentTeam {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    .contact-wrap {
        margin-top: 6rem;
    }
}

@media (max-width: 480px) {
    #navbar {
        padding: 0.75rem 1rem;
    }
    .logoNavbar img {
        width: 45%;
    }
    .featuresList {
        border-radius: 1.5rem;
    }
    .contact-map iframe.gmap-frame {
        height: 220px;
    }
    main.page-main {
        padding: 2rem 0;
    }
}

@media (max-width: 768px) {
  .aboutHero {
    height: auto;              
    align-items: flex-start;   
  }

  .aboutHero .heroTitle {
    width: 100%;               
    align-items: flex-start;
  }

  .aboutHero .heroTitle h2 {
    width: 100%;               
    font-size: 2.2rem;         
  }

  .aboutHero .heroTitle p {
    width: 100%;
    font-size: 1rem;           
  }
}

@media (max-width: 950px){
  .clientsHeader{
    grid-template-columns: 1fr;
    row-gap: 1.25rem;
  }

  .clientsRadarPlaceholder{
    width: min(420px, 95%);
  }
}
 */

/* css/footer.css */
/* =========================
   FOOTER
   ========================= */

footer {
  width: 100%;
  margin-top: 4rem;
  background: transparent;
  color: var(--text);
}

.footerInfo {
  width: 100%;
  margin: 0;
  padding: 3rem clamp(1.5rem, 6vw, 5rem) 2rem;
  border-radius: 0;
  background: #f3f5f7;
  box-shadow: none;
  filter: none;
  overflow: hidden;
  box-sizing: border-box;
  position: relative;
}

/* TOP ROW: 4 columns */
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}

/* col 1: brand */
.footer-c {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-c .footer-brand img {
  width: 220px;
  margin: 0;
}

.footer-c p {
  margin: 0;
  max-width: 36ch;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.55;
  color: var(--text);
}

.footer-c .primary-accent-button {
  align-self: flex-start;
  margin-top: 0.5rem;
}

/* link columns */
.footerLinks h4,
.footer-contact h4 {
  margin: 0 0 1.25rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.footerLinks ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.footerLinks a {
  text-decoration: none;
  color: #2a8fd0;
  font-weight: 500;
  font-size: 0.95rem;
}

.footerLinks a:hover {
  text-decoration: underline;
}

/* col 4: contact */
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footerData {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.4;
}

.footerData img {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
}

.footerSocials {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

.footerSocials a {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid #cbd5dd;
  background: #fff;
  color: #2a8fd0;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.footerSocials a:hover {
  background: #eaf2fc;
  border-color: #2a8fd0;
  transform: translateY(-1px);
}

/* DIVIDER */
.footer-divider {
  border: none;
  border-top: 1px solid #d8dde2;
  margin: 2.5rem 0 1.25rem;
}

/* BOTTOM ROW */
.footer-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-bottom-row p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.patent-badge {
  height: auto;
  width: 140px;
  max-width: 100%;
  display: block;
}

.footer-badge {
  margin: 0;
  flex-shrink: 0;
}

.cookie-preferences-link {
  border: 0;
  background: transparent;
  color: #236ea3;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.cookie-consent {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  width: min(920px, calc(100% - 24px));
  background: #ffffff;
  border: 1px solid #d7e0e8;
  border-radius: 14px;
  box-shadow: 0 14px 40px rgba(18, 47, 73, 0.2);
  padding: 1rem 1.1rem;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 1rem;
}

/* Ensure hidden elements are strictly hidden and do not override display */
.cookie-consent[hidden],
.cookie-consent__groups[hidden],
.cookie-consent__btn[hidden],
[hidden] {
  display: none !important;
}

.cookie-consent.is-visible {
  animation: cookieSlideUp 0.25s ease-out;
}

.cookie-consent__text {
  margin: 0;
  color: #1c364a;
  font-size: 0.94rem;
  line-height: 1.5;
}

.cookie-consent__text a {
  color: #1a79b8;
  font-weight: 600;
}

.cookie-consent__actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.cookie-consent__groups {
  display: grid;
  gap: 0.6rem;
}

.cookie-toggle {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.8rem;
  padding: 0.65rem 0.7rem;
  border: 1px solid #d7e0e8;
  border-radius: 10px;
  background: #f8fbfd;
}

.cookie-toggle__text {
  display: grid;
  gap: 0.15rem;
}

.cookie-toggle__text strong {
  color: #17364a;
  font-size: 0.92rem;
}

.cookie-toggle__text small {
  color: #4e6575;
  font-size: 0.82rem;
  line-height: 1.35;
}

.cookie-toggle input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #1f7bb8;
  cursor: pointer;
}

.cookie-toggle--locked {
  background: #f1f4f7;
}

.cookie-toggle--locked input[type="checkbox"] {
  cursor: not-allowed;
}

.cookie-consent__btn {
  border-radius: 10px;
  border: 1px solid transparent;
  padding: 0.56rem 1rem;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.cookie-consent__btn--primary {
  background: #1f7bb8;
  border-color: #1f7bb8;
  color: #ffffff;
}

.cookie-consent__btn--secondary {
  background: #f4f7fa;
  border-color: #c3d1dc;
  color: #1b3b52;
}

.cookie-consent__btn--neutral {
  background: #ffffff;
  border-color: #9eb4c5;
  color: #1f567a;
}

@keyframes cookieSlideUp {
  from {
    opacity: 0;
    transform: translate(-50%, 14px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

/* legacy hides */
.footerGraphic { display: none; }
.footerCopyright { display: none; }

.footerInfo__soc2-badge {
  width: 7rem;
  position: absolute;
  right: 30px;
  top: 14px;
  opacity: .65;
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 1100px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  .footer-c {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .footerInfo {
    padding: 2.5rem 1.25rem 1.5rem;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .cookie-consent {
    width: calc(100% - 16px);
    bottom: 8px;
    padding: 0.85rem;
    align-items: stretch;
  }

  .cookie-consent__actions {
    width: 100%;
    justify-content: stretch;
  }

  .cookie-consent__btn {
    flex: 1;
  }

  .cookie-toggle {
    grid-template-columns: 1fr;
  }
}

/* css/navbar.css */
/* NAVBAR CONTAINER */
:root{
  --navbar-height: 80px;
}

#navbar{
  position: fixed;
  display: flex;
  justify-content: space-evenly;
  align-items: center;

  width: 100%;
  top: 0;
  padding: 1rem 0;

  background: rgba(255, 255, 255, 0.10);
  border-radius: 0;        
  /* box-shadow: 0 4px 30px rgba(10, 10, 10, 0.20);  */
  backdrop-filter: blur(14.8px);
  -webkit-backdrop-filter: blur(14.8px);
  border-bottom: 1px solid rgba(15, 94, 139, 0.10);

  z-index: 999;
}

/* LOGO */
.logoNavbar{
  width: 15%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logoNavbar img{
  width: 55%;
}

/* LINKS */
.linksNavbar{
  /* Six page links at 1.1rem need ~410px plus gaps; 30% was too narrow
     below ~1400px and the labels ran together. */
  width: 44%;
  display: flex;
  align-items: center;
  justify-content: center;
}

#navbar ul{
  list-style: none;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  gap: clamp(0.5rem, 1vw, 1.25rem);

  width: 100%;
  max-width: 720px;
  margin: 0;
  padding: 0;
  font-size: 1.1rem;
}

#navbar li{
  padding: 0;
  position: relative;
}

/* Hover sections dropdown (desktop navbar only) */
#navbar .linksNavbar li .sectionsMenu{
  display: none;
  position: absolute;
  top: 100%;
  /* Left-aligned with the link text: pull back by the menu padding plus
     the item padding so the first item's text lines up with the link. */
  left: calc(-0.5rem - 0.75rem);
  transform: none;

  min-width: 200px;
  padding: 0.5rem;

  background: rgba(255, 255, 255, 1);
  border: 1px solid rgba(15, 94, 139, 0.10);
  border-radius: 12px;

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

  z-index: 2000;
}

/* JS-controlled close state (used after clicking a section on the same page) */
#navbar .linksNavbar li.sectionsMenuForceClosed .sectionsMenu{
  display: none !important;
}

/* Invisible hover-bridge so moving from link -> menu doesn't drop :hover */
#navbar .linksNavbar li .sectionsMenu::before{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -12px;
  height: 12px;
}

#navbar .linksNavbar li:hover .sectionsMenu,
#navbar .linksNavbar li:focus-within .sectionsMenu{
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* If hover is briefly lost on the parent li, keep menu open while hovering it */
#navbar .linksNavbar li .sectionsMenu:hover{
  display: flex;
  flex-direction: column;
}

#navbar .linksNavbar li .sectionsMenuItem{
  display: block;
  padding: 0.5rem 0.75rem;
  border-radius: 10px;
  text-decoration: none;
  color: var(--text);
  font-family: var(--font-main);
  font-weight: 500;
  white-space: nowrap;
}

#navbar .linksNavbar li .sectionsMenuItem:hover{
  background: rgba(255, 255, 255, 0.08);
}

/* NORMAL LINKS (NO PILL) */
#navbar li a{
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  /* padding: 8px 16px; */
  border-radius: 999px;
  transition: color .15s ease;
}

/* ACTIVE PAGE ONLY (THE BUBBLE) */
/* ACTIVE PAGE ONLY (underline) */
#navbar li.active a{
  background: transparent;
  border: none;
  box-shadow: none;

  color: var(--text);
  border-radius: 0;

  position: relative;
}

/* underline */
#navbar li.active a:not(.sectionsMenuItem)::after{
  content: "";
  position: absolute;
  left: -5px;      /* matches your link padding */
  right: -5px;     /* matches your link padding */
  bottom: -6px;    /* distance under text */
  height: 5px;
  /* border-radius: 999px; */
  background: #2a88b5; /* your blue */
}

.linksNavbarMenu{
  display: none;
}

#navbar .mobile-careers-link{
  display: none;
}

.hidden{
  display: none !important;
}

.linksNavbarMenu{
  width: 10%;
  position: relative;
}

#hamburgerBtn{
  background-color: #ffffff;
  border: 1px solid rgba(157, 157, 157, 0.25);
  border-radius: .015rem;
}

/* HAMBURGER ICON LINES */
#hamburgerBtn svg rect{
  fill: rgb(157, 157, 157);
  transition: fill .15s ease;
}

#mobileMenu{
  background: rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(12.4px);
  -webkit-backdrop-filter: blur(12.4px);
  padding: .5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  position: fixed;
  width: 100dvw;
  height: 100dvh;
  left: 0;
  top: 0;
  z-index: 1000;
}

/* Controlled by JS via the `hidden` attribute */
#mobileMenu[hidden]{
  display: none;
}

#mobileMenu ul{
  list-style: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 0;
  font-size: 1.5rem;
  width: 40%;
  padding: 2rem 1rem;
}

#mobileMenu li{
  width: 100%;
  text-align: right;
  padding: 2rem;
  position: relative;
}
#mobileMenu li::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(15,94,139,0) 0%, rgba(15,94,139,0.335) 100%);
  pointer-events: none;
}


#mobileMenu ul a{
  text-decoration: none;
  color: var(--text);
}

@media (max-width: 450px) or (max-width: 1100px) {
  :root{
    --navbar-height: 72px;
  }

  #navbar{
    justify-content: space-between;
    width: 100% !important;
    display: flex;
  }
  .logoNavbar{
    margin-left: 1rem;
  }
  .logoNavbar{
    width: 40%;
  }
  .linksNavbarMenu{
    position: relative;
    width: 20%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .supportButtonsNavbar{
    display: none;
  }
  .linksNavbar{
    display: none !important;
  }
  .linksNavbarMenu{
    display: flex;
  }
}

/* css/section-header.css */
/* ==========================================================================
   Centred section header — eyebrow pill + two-tone title + optional subtitle.
   Shared by #whyColosoSection and #ourClientsSection; add the classes to any
   further section that adopts the same structure.
   Palette and type come from global.css / index.css tokens.
   ========================================================================== */

.sectionHeaderCentered {
  box-sizing: border-box;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding-inline: clamp(1.25rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

.sectionEyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(94, 195, 234, 0.16);
  color: var(--c-blue-800);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.sectionEyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-blue-500);
}

.sectionHeaderTitle--centered {
  line-height: 1.12;
  font-size: clamp(2rem, 3.4vw, 3rem);
  max-width: 26ch;
}

/* For one-line statement titles that should not wrap at 26ch. */
.sectionHeaderTitle--wide {
  max-width: none;
}

.sectionHeaderSubtitle--centered {
  max-width: 46ch;
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  line-height: 1.5;
}

/* global.css hides .sectionHeaderSubtitle below 900px — that suited the old
   two-column header where it sat in a side column. In a centred header it
   carries the section's copy, so keep it. */
@media (max-width: 900px) {
  /* For one-line statement titles that should not wrap at 26ch. */
.sectionHeaderTitle--wide {
  max-width: none;
}

.sectionHeaderSubtitle--centered {
    display: block;
    max-width: 46ch;
  }
}

@media (max-width: 640px) {
  .sectionHeaderTitle--centered,
  /* For one-line statement titles that should not wrap at 26ch. */
.sectionHeaderTitle--wide {
  max-width: none;
}

.sectionHeaderSubtitle--centered {
    max-width: none;
  }
}

/* css/contact.css */
/* ==========================================================================
   Contact page
   Hero (copy + form) → routes → what happens next → office → closing band.
   Tokens (--page-max, --page-gutter, --section-space, palette) come from
   global.css; the eyebrow pill comes from section-header.css.
   ========================================================================== */

.contactPage {
  box-sizing: border-box;
  /* global.css already pads <body> to clear the fixed navbar. */
  overflow-x: clip;
  background: var(--bg);
}

.contactPage section {
  box-sizing: border-box;
  width: 100%;
}

/* Shared page-width wrappers. The first group carries its own gutters; the
   second sits inside a section that already pads, so it takes the same
   visible width via the subtracted max-width. Keeping both in step is what
   stops one band reading wider than the rest. */
.contactHero__inner,
.contactRoutes__grid,
.contactSteps__list {
  box-sizing: border-box;
  width: 100%;
  max-width: var(--page-max);
  margin-inline: auto;
}

.contactOffice__card,
.contactBand__inner {
  box-sizing: border-box;
  width: 100%;
  max-width: calc(var(--page-max) - var(--page-gutter) * 2);
  margin-inline: auto;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.contactHero {
  position: relative;
  padding-block: clamp(2rem, 5vh, 3.5rem) var(--section-space);
  background:
    radial-gradient(70% 60% at 12% 30%, rgba(94, 195, 234, 0.1) 0%, rgba(255, 255, 255, 0) 60%),
    linear-gradient(180deg, #fbfcfe 0%, #ffffff 55%);
}

.contactHero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(2rem, 4.5vw, 4rem);
  padding-inline: var(--page-gutter);
}

.contactHero__copy {
  min-width: 0;
}

.contactHero__title {
  margin: 1.25rem 0 0;
  max-width: 14ch;
  font-size: clamp(2.3rem, 3.6vw, 3.25rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--text);
}

.contactHero__lead {
  margin: 1.1rem 0 0;
  max-width: 44ch;
  color: var(--text-muted);
  font-size: clamp(1rem, 1.1vw, 1.1rem);
  line-height: 1.55;
}

/* ---------- Reassurance list ---------- */

.contactPromise {
  list-style: none;
  margin: clamp(1.5rem, 3.5vh, 2.25rem) 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contactPromise li {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-size: 0.98rem;
  font-weight: 600;
  color: #33505f;
}

.contactPromise__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: rgba(72, 160, 246, 0.12);
  color: var(--c-blue-500);
}

.contactPromise__icon svg {
  width: 19px;
  height: 19px;
}

/* ---------- Decorative network ---------- */

.contactNet {
  container-type: inline-size;
  position: relative;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 520 / 300;
  margin-top: clamp(1.5rem, 4vh, 2.75rem);
  color: var(--c-blue-500);
}

.contactNet__wires {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.contactNet__wires path,
.contactNet__wires circle {
  vector-effect: non-scaling-stroke;
}

.contactNet__mark {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 9cqw;
  height: auto;
  transform: translate(-50%, -50%);
}

.contactNet__chip {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 8cqw;
  height: 8cqw;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1.4cqw 3cqw rgba(15, 43, 61, 0.1);
}

.contactNet__chip svg {
  width: 52%;
  height: 52%;
}

.contactNet__chip--a { left: 15%; top: 66%; }
.contactNet__chip--b { left: 92%; top: 16%; }
.contactNet__chip--c { left: 96%; top: 68%; }
.contactNet__chip--d { left: 84%; top: 88%; }
.contactNet__chip--e { left: 23%; top: 26%; }

/* ==========================================================================
   Form card
   ========================================================================== */

.contactCard {
  box-sizing: border-box;
  padding: clamp(1.75rem, 2.6vw, 2.5rem);
  border-radius: 18px;
  border: 1px solid rgba(48, 141, 196, 0.11);
  background: var(--bg);
  box-shadow: 0 2px 4px rgba(15, 43, 61, 0.04), 0 22px 50px rgba(15, 43, 61, 0.09);
  /* Sits above the decorative network when the columns overlap. */
  position: relative;
  z-index: 1;
}

.contactCard__title {
  margin: 0 0 1.5rem;
  font-size: clamp(1.25rem, 1.6vw, 1.5rem);
  font-weight: 700;
  color: var(--text);
}

.contactForm {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.contactForm__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}

.contactField {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 0;
}

.contactField label {
  font-size: 0.92rem;
  font-weight: 600;
  color: #33505f;
}

.contactField input,
.contactField select,
.contactField textarea {
  box-sizing: border-box;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(48, 141, 196, 0.22);
  border-radius: 10px;
  background: var(--bg);
  font-family: inherit;
  font-size: 0.98rem;
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contactField textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.5;
}

.contactField input::placeholder,
.contactField textarea::placeholder {
  color: #9aa9b4;
}

.contactField input:focus,
.contactField select:focus,
.contactField textarea:focus {
  outline: none;
  border-color: var(--c-blue-500);
  box-shadow: 0 0 0 3px rgba(72, 160, 246, 0.16);
}

/* Native select arrow varies by platform, so draw our own. */
.contactField select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2.6 4.5 6 7.9l3.4-3.4' stroke='%2333505f' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 14px 14px;
  cursor: pointer;
}

/* Honeypot — off-screen rather than display:none, which some bots skip. */
.contactForm__trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contactForm__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  padding: 15px 24px;
  border: none;
  border-radius: 10px;
  background: #1668d6;
  color: #fff;
  font-family: inherit;
  font-size: 1.02rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.contactForm__submit svg {
  width: 1.1em;
  height: 1.1em;
  flex: 0 0 auto;
}

.contactForm__submit:hover {
  background: #1257b5;
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(22, 104, 214, 0.28);
}

.contactForm__status {
  margin: 0;
  min-height: 1.2em;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--c-blue-800);
}

.contactForm__status:empty {
  min-height: 0;
}

.contactForm__legal {
  margin: 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.contactForm__legal a {
  color: var(--c-blue-500);
  font-weight: 600;
}

/* ==========================================================================
   Form / booking switch
   ========================================================================== */

.contactSwitch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  margin-bottom: clamp(1.25rem, 2vw, 1.75rem);
  padding: 4px;
  border-radius: 12px;
  background: #eef3f9;
}

.contactSwitch__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 11px 12px;
  border: none;
  border-radius: 9px;
  background: transparent;
  color: #5a7183;
  font-family: inherit;
  font-size: 0.94rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.contactSwitch__btn svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.contactSwitch__btn:hover {
  color: var(--c-blue-800);
}

.contactSwitch__btn.is-active {
  background: var(--bg);
  color: #1668d6;
  box-shadow: 0 1px 2px rgba(15, 43, 61, 0.08), 0 4px 10px rgba(15, 43, 61, 0.06);
}

.contactPanel[hidden] {
  display: none;
}

/* ==========================================================================
   Booking panel — UI only (see contact-booking.js)
   ========================================================================== */

.bookLead {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: clamp(1.25rem, 2vw, 1.6rem);
}

.bookLead__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  flex: 0 0 auto;
  border-radius: 50%;
  border: 1px solid rgba(48, 141, 196, 0.16);
  background: var(--bg);
  color: #1668d6;
}

.bookLead__icon svg {
  width: 26px;
  height: 26px;
}

.bookLead .contactCard__title {
  margin: 0 0 0.35rem;
}

.bookLead__sub {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.93rem;
  line-height: 1.5;
}

.bookPanel {
  border: 1px solid rgba(48, 141, 196, 0.16);
  border-radius: 14px;
  overflow: hidden;
}

.bookPanel__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  border-bottom: 1px solid rgba(48, 141, 196, 0.16);
}

.bookPanel__head h3 {
  margin: 0 0 0.4rem;
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--text);
}

.bookPanel__head p {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.bookPanel__head p svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

/* Stand-in mark. Swap for the official Microsoft Teams asset before launch. */
.bookPanel__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  color: #5b5fc7;
}

.bookPanel__brand svg {
  width: 100%;
  height: 100%;
}

/* ---------- Calendar ---------- */

.bookCal {
  padding: 1.15rem 1.25rem 1.25rem;
  border-bottom: 1px solid rgba(48, 141, 196, 0.16);
}

.bookCal__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.bookCal__nav strong {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.bookCal__arrows {
  display: flex;
  gap: 0.25rem;
}

.bookCal__arrows button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #33505f;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.bookCal__arrows button svg {
  width: 17px;
  height: 17px;
}

.bookCal__arrows button:hover:not(:disabled) {
  background: rgba(72, 160, 246, 0.12);
  color: #1668d6;
}

.bookCal__arrows button:disabled {
  opacity: 0.3;
  cursor: default;
}

.bookCal__dow,
.bookCal__grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 2px;
}

.bookCal__dow span {
  padding: 0.35rem 0;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  color: #8b9aa6;
}

.bookCal__day {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: transparent;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.bookCal__day:hover:not(:disabled) {
  background: rgba(72, 160, 246, 0.14);
  color: #1668d6;
}

.bookCal__day:disabled {
  color: #c2cdd6;
  font-weight: 500;
  cursor: default;
}

.bookCal__day.is-outside {
  color: #d6dee5;
}

.bookCal__day.is-today:not(.is-selected) {
  box-shadow: inset 0 0 0 1px rgba(72, 160, 246, 0.5);
}

.bookCal__day.is-selected,
.bookCal__day.is-selected:hover {
  background: #1668d6;
  color: #fff;
}

/* ---------- Time slots ---------- */

.bookSlots {
  padding: 1.15rem 1.25rem 1.25rem;
}

.bookSlots__title {
  margin: 0 0 0.85rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text);
}

.bookSlots__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
}

.bookSlot {
  padding: 10px 6px;
  border: 1px solid rgba(72, 160, 246, 0.45);
  border-radius: 9px;
  background: var(--bg);
  color: #1668d6;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.bookSlot:hover {
  background: rgba(72, 160, 246, 0.1);
}

.bookSlot.is-selected {
  background: #1668d6;
  border-color: #1668d6;
  color: #fff;
}

/* A slot the calendar owner already has taken. */
.bookSlot.is-busy,
.bookSlot:disabled {
  border-color: rgba(72, 160, 246, 0.18);
  background: rgba(72, 160, 246, 0.05);
  color: #9aa9b4;
  text-decoration: line-through;
  cursor: not-allowed;
}

.bookSlot.is-busy:hover,
.bookSlot:disabled:hover {
  background: rgba(72, 160, 246, 0.05);
}

.bookSlots__loading,
.bookSlots__empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 0.6rem 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.bookSlots__loading::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 0.5rem;
  border: 2px solid rgba(72, 160, 246, 0.3);
  border-top-color: var(--c-blue-500);
  border-radius: 50%;
  vertical-align: -2px;
  animation: bookSpin 0.8s linear infinite;
}

@keyframes bookSpin {
  to { transform: rotate(360deg); }
}

/* Visitor-zone extras: next-day tag on a slot, ET reminder under the grid. */
.bookSlot__date {
  display: block;
  margin-top: 2px;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-muted);
}

.bookSlot.is-selected .bookSlot__date {
  color: rgba(255, 255, 255, 0.85);
}

.bookSlots__tz {
  grid-column: 1 / -1;
  margin: 0.25rem 0 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ---------- Booking details ---------- */

.bookForm {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin-top: 1.25rem;
}

.contactField__opt {
  font-weight: 500;
  color: var(--text-muted);
}

.bookCaptcha {
  min-height: 78px;
}

.bookCaptcha:empty {
  display: none;
}

.bookLegal {
  text-align: center;
}

/* ---------- Booking CTA ---------- */

.bookCta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  margin-top: 1.25rem;
  padding: 15px 24px;
  border: none;
  border-radius: 10px;
  background: #1668d6;
  color: #fff;
  font-family: inherit;
  font-size: 1.02rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.bookCta svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.bookCta:hover:not(:disabled) {
  background: #1257b5;
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(22, 104, 214, 0.28);
}

.bookCta:disabled {
  background: #b9cbe2;
  cursor: default;
}

.bookStatus {
  margin: 0.85rem 0 0;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--c-blue-800);
}

.bookStatus:empty {
  display: none;
}

.bookStatus.is-error {
  color: #b42318;
}

.bookStatus.is-success {
  color: var(--c-green-500);
}

.bookCta.is-loading {
  opacity: 0.7;
  pointer-events: none;
}

/* ---------- Booking states ---------- */

.bookSuccess {
  margin-top: 1.25rem;
  padding: 1.6rem 1.25rem;
  border: 1px solid rgba(22, 163, 74, 0.35);
  border-radius: 12px;
  background: rgba(22, 163, 74, 0.06);
  text-align: center;
}

.bookSuccess h3 {
  margin: 0 0 0.4rem;
  font-size: 1.3rem;
  color: var(--c-title);
  outline: none;
}

.bookSuccess p {
  margin: 0.3rem 0;
  color: var(--text);
}

.bookSuccess__when {
  font-weight: 700;
}

.bookSuccess__et {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.bookSuccess__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 12px 22px;
  border-radius: 10px;
  background: #1668d6;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.25s ease;
}

.bookSuccess__link:hover {
  background: #1257b5;
}

.bookUnavailable {
  margin-top: 1.25rem;
  padding: 1.25rem;
  border-radius: 12px;
  background: rgba(72, 160, 246, 0.08);
  color: var(--text);
  text-align: center;
  line-height: 1.55;
}

.bookUnavailable a {
  color: #1668d6;
  font-weight: 600;
}

.bookNote {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin: 0.85rem 0 0;
  color: var(--text-muted);
  font-size: 0.84rem;
}

.bookNote svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
}

/* ==========================================================================
   Routes
   ========================================================================== */

.contactRoutes {
  padding-block: var(--section-space);
  background: #f7f9fc;
}

.contactRoutes__grid {
  list-style: none;
  padding: 0 var(--page-gutter);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 1.5vw, 1.75rem);
}

.routeCard {
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 2vw, 1.9rem);
  border-radius: 14px;
  border: 1px solid rgba(48, 141, 196, 0.11);
  background: var(--bg);
  box-shadow: 0 1px 2px rgba(15, 43, 61, 0.04), 0 12px 28px rgba(15, 43, 61, 0.06);
}

.routeCard__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: rgba(72, 160, 246, 0.12);
  color: var(--c-blue-500);
}

.routeCard__icon svg {
  width: 26px;
  height: 26px;
}

.routeCard h3 {
  margin: 1.15rem 0 0.5rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
}

.routeCard p {
  margin: 0 0 1.35rem;
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.5;
}

.routeCard__link {
  margin-top: auto;
  align-self: flex-start;
  color: var(--c-blue-500);
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.routeCard__link:hover {
  color: var(--c-blue-800);
}

/* ==========================================================================
   What happens next
   ========================================================================== */

.contactSteps {
  padding-block: var(--section-space);
  background: #f7f9fc;
}

.contactSteps__title {
  margin: 0 0 clamp(2rem, 4vh, 3rem);
  text-align: center;
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  font-weight: 700;
  color: var(--text);
}

.contactSteps__list {
  --step-gap: clamp(1.5rem, 3vw, 2.5rem);
  list-style: none;
  padding: 0 var(--page-gutter);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--step-gap);
}

.stepItem {
  position: relative;
  text-align: center;
}

.stepItem__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1.5px solid rgba(72, 160, 246, 0.45);
  background: #f7f9fc;
  color: var(--c-blue-500);
  font-size: 1.15rem;
  font-weight: 700;
}

/* Connector between consecutive steps. Circles are centred in equal columns,
   so adjacent centres sit (column + gap) apart; the rule spans that minus a
   28px radius and 8px of breathing room at each end. */
.stepItem + .stepItem::before {
  content: "";
  position: absolute;
  top: 28px;
  left: calc(36px - 50% - var(--step-gap));
  width: calc(100% + var(--step-gap) - 72px);
  height: 1px;
  background: rgba(48, 141, 196, 0.3);
}

.stepItem h3 {
  margin: 1.35rem 0 0.5rem;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text);
}

.stepItem p {
  margin: 0 auto;
  max-width: 30ch;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

/* ==========================================================================
   Office
   ========================================================================== */

.contactOffice {
  padding: var(--section-space) var(--page-gutter);
  background: #f7f9fc;
}

.contactOffice__card {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: stretch;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  padding: clamp(1.5rem, 2.2vw, 2rem);
  border-radius: 16px;
  border: 1px solid rgba(48, 141, 196, 0.11);
  background: var(--bg);
  box-shadow: 0 1px 2px rgba(15, 43, 61, 0.04), 0 14px 32px rgba(15, 43, 61, 0.06);
}

.contactOffice__details {
  display: flex;
  flex-direction: column;
  padding: clamp(0.5rem, 1vw, 1rem);
}

.contactOffice__pin {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(72, 160, 246, 0.12);
  color: var(--c-blue-500);
}

.contactOffice__pin svg {
  width: 24px;
  height: 24px;
}

.contactOffice__details h2 {
  margin: 1.1rem 0 0.75rem;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
}

.contactOffice__details address {
  margin: 0 0 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(48, 141, 196, 0.16);
  font-style: normal;
  color: var(--text-muted);
  line-height: 1.6;
}

.contactOffice__email {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1.5rem;
  color: var(--text-muted);
}

.contactOffice__email svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  color: var(--c-blue-500);
}

.contactOffice__email a {
  color: var(--text-muted);
  text-decoration: none;
}

.contactOffice__email a:hover {
  color: var(--c-blue-800);
}

.contactOffice__map {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: auto;
  align-self: flex-start;
  color: var(--c-blue-500);
  font-weight: 700;
  text-decoration: none;
}

.contactOffice__map svg {
  width: 1em;
  height: 1em;
}

.contactOffice__map:hover {
  color: var(--c-blue-800);
}

.contactOffice__map-embed {
  min-height: 320px;
  border-radius: 12px;
  overflow: hidden;
}

.contactOffice__map-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
}

/* ==========================================================================
   Closing band
   ========================================================================== */

.contactBand {
  padding: var(--section-space) var(--page-gutter);
  background: #f7f9fc;
}

.contactBand__inner {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(105deg, #0f57b5 0%, #1668d6 45%, #2f86ea 100%);
  color: #fff;
}

.contactBand__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 84px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 0 0 14px rgba(255, 255, 255, 0.07);
}

.contactBand__mark img {
  width: 44px;
  height: 44px;
  filter: brightness(0) invert(1);
}

.contactBand__copy h2 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 700;
}

.contactBand__copy p {
  margin: 0;
  max-width: 46ch;
  font-size: 0.98rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.86);
}

.contactBand__actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.contactBand__ghost,
.contactBand__solid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 13px 22px;
  border-radius: 10px;
  font-size: 0.98rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.contactBand__ghost {
  border: 1.5px solid rgba(255, 255, 255, 0.65);
  color: #fff;
}

.contactBand__ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-1px);
}

.contactBand__solid {
  background: #fff;
  color: #1257b5;
}

.contactBand__solid svg {
  width: 1.05em;
  height: 1.05em;
}

.contactBand__solid:hover {
  background: #eef4fd;
  transform: translateY(-1px);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

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

  .contactHero__title,
  .contactHero__lead {
    max-width: none;
  }

  /* Decorative only — it costs height without adding meaning once stacked. */
  .contactNet {
    display: none;
  }

  .contactRoutes__grid,
  .contactSteps__list {
    grid-template-columns: minmax(0, 1fr);
  }

  /* Connectors only make sense on the 3-up row. */
  .stepItem + .stepItem::before {
    display: none;
  }

  .contactOffice__card {
    grid-template-columns: minmax(0, 1fr);
  }

  .contactBand__inner {
    grid-template-columns: minmax(0, 1fr);
    text-align: center;
    justify-items: center;
  }

  .contactBand__copy p {
    margin-inline: auto;
  }
}

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

  .bookSlots__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contactSwitch__btn {
    font-size: 0.88rem;
    padding: 11px 8px;
  }

  /* The icons push "Send a message" onto a second line and the two pills stop
     matching in height, so drop them once the card is phone-width. */
  .contactSwitch__btn svg {
    display: none;
  }

  .contactBand__actions {
    flex-direction: column;
    width: 100%;
  }

  .contactBand__ghost,
  .contactBand__solid {
    width: 100%;
  }
}

/* Google renders the reCAPTCHA widget at a fixed 304px. Below ~380px the card
   is narrower than that, so scale it down; the height keeps the layout honest
   since transforms do not affect flow. */
@media (max-width: 380px) {
  .g-recaptcha,
  .bookCaptcha:not(:empty) {
    transform: scale(0.72);
    transform-origin: left top;
    height: 57px;
    min-height: 0;
  }
}

/* css/reveal.css */
/* ==========================================================================
   Entrance animations.

   Elements marked [data-reveal] start offset and transparent, then settle
   when they scroll into view (reveal.js). Everything here is gated on
   html.has-reveal, which reveal.js only adds when JavaScript runs AND the
   visitor has not asked for reduced motion — so with JS off, or motion
   turned down, the page renders fully visible with no animation at all.

   Only opacity/transform are animated, so every reveal stays on the
   compositor and never triggers layout.
   ========================================================================== */

@media (prefers-reduced-motion: no-preference) {

  html.has-reveal [data-reveal] {
    opacity: 0;
    transform: translate3d(0, 22px, 0);
    transition:
      opacity var(--reveal-duration, 720ms) cubic-bezier(.22, .68, .28, 1) var(--reveal-delay, 0ms),
      transform var(--reveal-duration, 720ms) cubic-bezier(.22, .68, .28, 1) var(--reveal-delay, 0ms);
    will-change: opacity, transform;
  }

  /* ---------- Direction variants ---------- */

  html.has-reveal [data-reveal="fade"]  { transform: none; }
  html.has-reveal [data-reveal="left"]  { transform: translate3d(-26px, 0, 0); }
  html.has-reveal [data-reveal="right"] { transform: translate3d(26px, 0, 0); }
  html.has-reveal [data-reveal="zoom"]  { transform: scale(.94); }

  /* A longer, softer entrance for the big decorative pieces. */
  html.has-reveal [data-reveal="art"] {
    transform: translate3d(0, 26px, 0) scale(.97);
    --reveal-duration: 1000ms;
  }

  html.has-reveal [data-reveal].is-in {
    opacity: 1;
    transform: none;
    will-change: auto;
  }

  /* ---------- Hero backdrop ---------- */

  /* The arc field washes in on its own slower clock, behind the copy. */
  html.has-reveal .heroBg {
    opacity: 0;
    transform: scale(1.04);
    transition: opacity 1500ms ease-out, transform 2200ms cubic-bezier(.16, .8, .3, 1);
  }

  html.has-reveal .heroBg.is-in {
    opacity: 1;
    transform: none;
  }

  /* ---------- Drawn lines ---------- */

  /* [data-draw] on an <svg>: reveal.js measures each path/polyline and sets
     --draw-len, then the dash retracts so the line draws itself. Filled marks
     (the junction dot, sparkline arrowheads) fade in behind the line instead. */
  html.has-reveal [data-draw] path,
  html.has-reveal [data-draw] polyline {
    stroke-dasharray: var(--draw-len, 0);
    stroke-dashoffset: var(--draw-len, 0);
    transition: stroke-dashoffset 900ms cubic-bezier(.4, 0, .2, 1) var(--reveal-delay, 0ms);
  }

  html.has-reveal [data-draw].is-in path,
  html.has-reveal [data-draw].is-in polyline {
    stroke-dashoffset: 0;
  }

  html.has-reveal [data-draw] circle,
  html.has-reveal [data-draw] polygon {
    opacity: 0;
    transition: opacity 400ms ease-out var(--mark-delay, 260ms);
  }

  /* --mark-opacity carries the mark's authored opacity, so a dot the designer
     set to 45% fades up to 45% rather than being forced to full. */
  html.has-reveal [data-draw].is-in circle,
  html.has-reveal [data-draw].is-in polygon {
    opacity: var(--mark-opacity, 1);
  }

}
