/* Calisayas shared navigation, search, and footer shell. */
:root {
  --shell-forest: #002a22;
  --shell-forest-deep: #001f19;
  --shell-forest-soft: #0c463a;
  --shell-cream: #fff8ea;
  --shell-cream-muted: rgba(255, 248, 234, 0.72);
  --shell-line: rgba(255, 248, 234, 0.13);
  --shell-mint: #cfe2cf;
  --footer-charcoal: #171d1b;
  --footer-charcoal-deep: #111614;
  --footer-line: rgba(255, 248, 234, 0.12);
}

.site-shell-header {
  border-bottom: 1px solid var(--shell-line);
  background: rgba(0, 35, 29, 0.97);
  color: var(--shell-cream);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(16px) saturate(115%);
  -webkit-backdrop-filter: blur(16px) saturate(115%);
}

.site-shell-header__inner {
  min-height: var(--site-header-height, 52px);
}

.site-shell-header__desktop-nav a {
  position: relative;
}

.site-shell-header__desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: -0.48rem;
  left: 0;
  height: 1px;
  background: var(--shell-cream);
  content: "";
  opacity: 0;
  transform: scaleX(0.35);
  transition: opacity 160ms ease, transform 160ms ease;
}

.site-shell-header__desktop-nav a:hover::after,
.site-shell-header__desktop-nav a:focus-visible::after {
  opacity: 0.7;
  transform: scaleX(1);
}

.site-shell-header__mobile-controls {
  display: none;
  align-items: center;
  gap: 0.12rem;
  padding: 0.16rem;
  border: 1px solid rgba(255, 248, 234, 0.14);
  border-radius: 999px;
  background: rgba(255, 248, 234, 0.055);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.site-shell-header__icon-button {
  display: inline-flex;
  width: 2.35rem;
  height: 2.35rem;
  min-height: 0;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--shell-cream);
  cursor: pointer;
  transition: background 150ms ease, color 150ms ease, transform 150ms ease;
}

.site-shell-header__icon-button:hover,
.site-shell-header__icon-button:focus-visible,
.site-shell-header__icon-button[aria-expanded="true"] {
  background: rgba(255, 248, 234, 0.12);
}

.site-shell-header__icon-button:active {
  transform: scale(0.94);
}

.site-shell-header__icon-button svg {
  width: 1.22rem;
  height: 1.22rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.site-shell-header__mobile-nav {
  display: none;
  border-top: 1px solid var(--shell-line);
  background: rgba(0, 31, 25, 0.99);
}

.site-shell-header__mobile-nav.is-open {
  display: block;
  animation: shell-menu-in 170ms ease-out both;
}

.site-shell-header__mobile-nav > div,
.site-shell-header__mobile-nav {
  grid-template-columns: 1fr;
}

.site-shell-header__mobile-nav a {
  display: flex;
  min-height: 2.9rem;
  align-items: center;
  border-radius: 0.5rem;
  color: rgba(255, 248, 234, 0.92);
  text-decoration: none;
}

.site-shell-header__mobile-nav a:hover,
.site-shell-header__mobile-nav a:focus-visible {
  background: rgba(255, 248, 234, 0.09);
  color: var(--shell-cream);
}

@keyframes shell-menu-in {
  from { opacity: 0; transform: translateY(-0.35rem); }
  to { opacity: 1; transform: translateY(0); }
}

body.site-search-open {
  overflow: hidden;
}

.site-search {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  align-items: start;
  justify-items: center;
  padding: clamp(4.5rem, 11vh, 7rem) 1rem 1rem;
  background: rgba(0, 25, 20, 0.74);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.site-search[hidden] {
  display: none;
}

.site-search__dialog {
  width: min(42rem, 100%);
  max-height: min(43rem, calc(100vh - 6rem));
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 1rem;
  background: var(--shell-cream);
  color: #062e27;
  box-shadow: 0 2rem 5rem rgba(0, 20, 16, 0.34);
  animation: shell-search-in 190ms ease-out both;
}

@keyframes shell-search-in {
  from { opacity: 0; transform: translateY(-0.75rem) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.site-search__field-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 0.9rem 0.85rem 1.1rem;
  border-bottom: 1px solid rgba(0, 42, 34, 0.12);
}

.site-search__field-row > svg {
  width: 1.2rem;
  height: 1.2rem;
  fill: none;
  stroke: #256457;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.site-search__input {
  width: 100%;
  min-height: 2.75rem;
  border: 0;
  outline: 0;
  background: transparent;
  color: #062e27;
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
}

.site-search__input::placeholder {
  color: rgba(6, 46, 39, 0.55);
}

.site-search__close {
  display: inline-flex;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 42, 34, 0.07);
  color: #063c32;
  cursor: pointer;
}

.site-search__close:hover,
.site-search__close:focus-visible {
  background: rgba(0, 42, 34, 0.13);
}

.site-search__close svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 2;
}

.site-search__results {
  max-height: min(32rem, calc(100vh - 13rem));
  overflow-y: auto;
  padding: 0.75rem;
}

.site-search__hint {
  margin: 0;
  padding: 0.4rem 0.65rem 0.65rem;
  color: rgba(6, 46, 39, 0.58);
  font-size: 0.71rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-search__list {
  display: grid;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-search__result {
  display: block;
  padding: 0.85rem 0.9rem;
  border: 1px solid transparent;
  border-radius: 0.65rem;
  color: #062e27;
  text-decoration: none;
  transition: border-color 140ms ease, background 140ms ease;
}

.site-search__result:hover,
.site-search__result:focus-visible {
  border-color: rgba(0, 42, 34, 0.12);
  outline: 0;
  background: rgba(255, 255, 255, 0.68);
}

.site-search__type {
  display: block;
  color: #347266;
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.site-search__title {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.98rem;
  font-weight: 850;
  line-height: 1.35;
}

.site-search__description {
  display: block;
  margin-top: 0.25rem;
  color: rgba(6, 46, 39, 0.66);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.55;
}

.site-search__empty {
  margin: 0;
  padding: 2.25rem 1rem;
  color: rgba(6, 46, 39, 0.65);
  font-size: 0.92rem;
  font-weight: 700;
  text-align: center;
}

.partner-outline-cta {
  display: inline-flex;
  box-sizing: border-box;
  max-width: 100%;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 0.68rem 1.15rem;
  border: 1px solid rgba(255, 248, 234, 0.42);
  border-radius: 999px;
  background: rgba(255, 248, 234, 0.055);
  color: var(--shell-cream);
  font-size: 0.85rem;
  font-weight: 800;
  line-height: 1.35;
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.partner-outline-cta:hover,
.partner-outline-cta:focus-visible {
  border-color: rgba(255, 248, 234, 0.72);
  background: rgba(255, 248, 234, 0.11);
  transform: translateY(-1px);
}

.home-supporting-bridge {
  display: grid;
  gap: 1rem;
  margin-top: clamp(2rem, 4vw, 3rem);
}

.home-partner-callout {
  display: grid;
  box-sizing: border-box;
  min-width: 0;
  max-width: 100%;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.75rem;
  padding: clamp(1.25rem, 3vw, 1.8rem);
  border: 1px solid rgba(5, 52, 42, 0.12);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 18px 46px rgba(17, 45, 38, 0.07);
  text-align: left;
}

.home-supporting-label {
  margin: 0;
  color: #286b5b;
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  line-height: 1.35;
  text-transform: uppercase;
}

.home-partner-copy h3 {
  margin: 0.4rem 0 0;
  color: #073f34;
  font-size: clamp(1.12rem, 2vw, 1.38rem);
  font-weight: 850;
  line-height: 1.25;
}

.home-partner-copy {
  min-width: 0;
}

.home-partner-copy > p:last-child {
  max-width: 48rem;
  margin: 0.5rem 0 0;
  color: rgba(8, 52, 43, 0.7);
  font-size: 0.9rem;
  font-weight: 650;
  line-height: 1.7;
}

.home-partner-link {
  display: inline-flex;
  box-sizing: border-box;
  max-width: 100%;
  min-height: 2.8rem;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  background: #073f34;
  color: var(--shell-cream);
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition: background 160ms ease, transform 160ms ease;
}

.home-partner-link:hover,
.home-partner-link:focus-visible {
  background: #052f27;
  transform: translateY(-1px);
}

.home-technology-band {
  display: grid;
  box-sizing: border-box;
  min-width: 0;
  max-width: 100%;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 1.2rem;
  padding: 1.15rem 1.35rem;
  border-top: 1px solid rgba(5, 52, 42, 0.12);
  border-bottom: 1px solid rgba(5, 52, 42, 0.12);
}

.home-technology-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.48rem;
}

.home-technology-list span {
  padding: 0.34rem 0.64rem;
  border: 1px solid rgba(5, 52, 42, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  color: rgba(7, 63, 52, 0.78);
  font-size: 0.7rem;
  font-weight: 750;
  line-height: 1.35;
}

.contact-phone-strip {
  display: grid;
  box-sizing: border-box;
  min-width: 0;
  max-width: 100%;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid rgba(5, 52, 42, 0.12);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 46px rgba(17, 45, 38, 0.07);
}

.contact-phone-copy h2 {
  max-width: 48rem;
  margin: 0.45rem 0 0;
  color: #073f34;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  font-weight: 850;
  line-height: 1.2;
}

.contact-layout,
.contact-phone-copy,
.contact-phone-details {
  min-width: 0;
  max-width: 100%;
}

.contact-phone-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem 1.5rem;
  max-width: 52rem;
  margin-top: 0.9rem;
  color: rgba(17, 45, 38, 0.68);
  font-size: 0.84rem;
  font-weight: 650;
  line-height: 1.65;
}

.contact-phone-details p {
  margin: 0;
}

.contact-phone-button {
  display: inline-flex;
  box-sizing: border-box;
  max-width: 100%;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  background: #073f34;
  color: var(--shell-cream);
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  transition: background 160ms ease, transform 160ms ease;
}

.contact-phone-button:hover,
.contact-phone-button:focus-visible {
  background: #052f27;
  transform: translateY(-1px);
}

.contact-form-card {
  box-sizing: border-box;
  min-width: 0;
  max-width: 100%;
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid rgba(5, 52, 42, 0.12);
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 22px 56px rgba(17, 45, 38, 0.08);
}

.legal-section {
  background:
    radial-gradient(circle at 50% 0%, rgba(54, 105, 88, 0.06), transparent 34rem),
    #fff8ea;
}

.legal-document {
  box-sizing: border-box;
  max-width: 100%;
  padding: clamp(1.5rem, 4.5vw, 3.5rem);
  border: 1px solid rgba(5, 52, 42, 0.11);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 22px 58px rgba(17, 45, 38, 0.075);
}

.legal-document h2:not(:first-child) {
  padding-top: 1.7rem;
  border-top: 1px solid rgba(5, 52, 42, 0.09);
}

.site-footer {
  border-top: 1px solid rgba(255, 248, 234, 0.13);
  background: var(--shell-forest);
  color: var(--shell-cream);
}

.site-footer::before {
  content: none;
}

.site-footer__main {
  display: grid;
  grid-template-columns: minmax(18rem, 0.72fr) minmax(0, 1.28fr);
  align-items: start;
  gap: clamp(4rem, 6vw, 6rem);
  padding-block: clamp(3.75rem, 5vw, 4.75rem);
}

.site-footer__brand {
  max-width: 31rem;
}

.site-footer__brand > p:first-child {
  margin: 0;
  color: var(--shell-cream);
  font-size: 1.18rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.site-footer__statement {
  max-width: 30rem;
  margin-top: 1.35rem;
  color: rgba(255, 248, 234, 0.74);
  font-size: 0.94rem;
  line-height: 1.75;
}

.site-footer__location {
  max-width: 30rem;
  margin-top: 1.25rem;
  color: rgba(255, 248, 234, 0.9);
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.65;
}

.site-footer__navigation {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(9rem, 0.55fr);
  gap: clamp(2.5rem, 4vw, 4.5rem);
  min-width: 0;
}

.site-footer__nav {
  min-width: 0;
}

.site-footer__nav > p {
  margin: 0;
  color: rgba(255, 248, 234, 0.58);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer__links {
  display: grid;
  gap: 0.78rem;
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
}

.site-footer__nav:first-child .site-footer__links {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(1.5rem, 3vw, 3rem);
}

.site-footer__links a {
  display: inline-block;
  color: rgba(255, 248, 234, 0.78);
  font-size: 0.875rem;
  font-weight: 620;
  line-height: 1.5;
  text-decoration: none;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22rem;
  transition: color 140ms ease;
}

.site-footer__links a:hover,
.site-footer__links a:focus-visible {
  color: var(--shell-cream);
  text-decoration: underline;
}

.site-footer__bar {
  border-top: 1px solid rgba(255, 248, 234, 0.13);
  background: var(--shell-forest);
}

.site-footer__bar-inner {
  display: flex;
  min-height: 4.4rem;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 0.95rem;
  font-size: 0.76rem;
  font-weight: 620;
}

.site-footer__copyright {
  margin: 0;
  color: rgba(255, 248, 234, 0.58);
  white-space: nowrap;
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.7rem 1.25rem;
}

.site-footer__legal a {
  color: rgba(255, 248, 234, 0.72);
  font-weight: 650;
  line-height: 1.5;
  text-decoration: none;
  text-underline-offset: 0.2rem;
}

.site-footer__legal a:hover,
.site-footer__legal a:focus-visible {
  color: var(--shell-cream);
  text-decoration: underline;
}

.site-footer__conversation {
  color: var(--shell-cream) !important;
  font-weight: 780 !important;
}

.site-footer__conversation::after {
  content: none;
}

@media (max-width: 960px) {
  .site-footer__main {
    grid-template-columns: 1fr;
    gap: 3.2rem;
  }

  .site-footer__brand {
    max-width: 36rem;
  }

  .site-footer__navigation {
    grid-template-columns: minmax(0, 1.4fr) minmax(10rem, 0.6fr);
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 248, 234, 0.13);
  }
}

@media (max-width: 767.98px) {
  .site-shell-header__desktop-nav {
    display: none !important;
  }

  .site-shell-header__mobile-controls {
    display: flex !important;
  }

  .site-shell-header__mobile-nav {
    padding: 0.75rem 1.1rem 1rem;
  }

  .site-shell-header__mobile-nav > div {
    display: grid;
    gap: 0.18rem;
  }

  .site-shell-header__mobile-nav a {
    padding: 0.7rem 0.9rem;
    font-size: 0.98rem;
    font-weight: 750;
  }

  .home-partner-callout,
  .contact-phone-strip {
    grid-template-columns: 1fr;
  }

  .home-partner-callout {
    gap: 1.15rem;
  }

  .home-partner-link,
  .contact-phone-button {
    width: fit-content;
  }

  .home-technology-band {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding-inline: 0.25rem;
  }

  .contact-phone-details {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  .site-footer__main {
    gap: 2.5rem;
    padding-block: 3rem 2.5rem;
  }

  .site-footer__statement {
    margin-top: 1.15rem;
    font-size: 0.9rem;
    line-height: 1.7;
  }

  .site-footer__location {
    margin-top: 1.15rem;
    font-size: 0.84rem;
  }

  .site-footer__navigation {
    grid-template-columns: minmax(0, 1.35fr) minmax(8.5rem, 0.65fr);
    gap: 2rem;
    padding-top: 1.8rem;
  }

  .site-footer__nav + .site-footer__nav {
    padding-top: 0;
    border-top: 0;
  }

  .site-footer__links {
    gap: 0.7rem 1rem;
    margin-top: 1rem;
  }

  .site-footer__nav:first-child .site-footer__links {
    grid-template-columns: 1fr;
  }

  .site-footer__links a[href^="tel:"] {
    white-space: nowrap;
  }

  .site-footer__bar-inner {
    display: grid;
    gap: 0.85rem;
    padding-block: 1.15rem 1.3rem;
  }

  .site-footer__copyright {
    white-space: normal;
  }

  .site-footer__legal {
    display: flex;
    justify-content: start;
    gap: 0.65rem 1.1rem;
  }

  .site-footer__conversation {
    margin-top: 0;
  }
}

@media (max-width: 520px) {
  .site-search {
    align-items: start;
    padding: 3.7rem 0.6rem 0.6rem;
  }

  .site-search__dialog {
    max-height: calc(100vh - 4.3rem);
    border-radius: 0.85rem;
  }

  .site-search__field-row {
    gap: 0.55rem;
    padding-right: 0.65rem;
    padding-left: 0.85rem;
  }

  .partner-outline-cta,
  .home-partner-link,
  .contact-phone-button {
    width: 100%;
  }

  .home-partner-callout,
  .contact-phone-strip,
  .contact-form-card,
  .legal-document {
    border-radius: 0.85rem;
  }

  .home-technology-list span {
    font-size: 0.67rem;
  }

  .site-search__results {
    max-height: calc(100vh - 9.8rem);
  }

  .site-search__description {
    display: none;
  }

  .site-footer__navigation {
    grid-template-columns: 1fr;
    gap: 2.1rem;
  }

  .site-footer__nav + .site-footer__nav {
    padding-top: 1.7rem;
    border-top: 1px solid rgba(255, 248, 234, 0.11);
  }

  .site-footer__nav:last-child .site-footer__links {
    grid-template-columns: repeat(2, minmax(0, max-content));
    gap: 0.72rem 1.35rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-shell-header__desktop-nav a::after,
  .site-shell-header__icon-button,
  .site-footer__links a,
  .site-search__dialog,
  .site-shell-header__mobile-nav.is-open {
    animation: none;
    transition: none;
  }
}
