/* Frontend v1 · dynamic shell + About page ----------------------- */

html.como-menu-open,
html.como-menu-open body {
  overflow: hidden;
}

.como-site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255,255,255,.72);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  box-shadow: inset 0 -1px 0 rgba(3,46,77,.05);
  transition: background .3s ease, box-shadow .3s ease;
}

.como-site-header.is-static {
  position: relative;
}

.como-header-inner {
  width: 100%;
  max-width: 1340px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.como-header-brand {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
}

.como-desktop-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.como-nav-item {
  position: relative;
}

.como-nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #3a5563;
  font: 500 15px "Work Sans", sans-serif;
  letter-spacing: .01em;
  transition: color .2s ease;
}

.como-nav-link:hover,
.como-nav-item:focus-within > .como-nav-link {
  color: #032E4D;
}

.como-nav-link.is-button {
  min-height: 40px;
  padding: 0 18px;
  color: #fff;
  background: #054D7F;
  border-radius: 999px;
}

.como-nav-link.is-button:hover {
  color: #fff;
  background: #032E4D;
}

.como-nav-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: -18px;
  min-width: 230px;
  padding: 9px;
  visibility: hidden;
  opacity: 0;
  transform: translateY(8px);
  background: rgba(255,255,255,.98);
  border: 1px solid rgba(3,46,77,.09);
  border-radius: 14px;
  box-shadow: 0 22px 54px -26px rgba(3,46,77,.45);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.como-nav-item:hover > .como-nav-dropdown,
.como-nav-item:focus-within > .como-nav-dropdown {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.como-nav-dropdown .como-nav-item {
  width: 100%;
}

.como-nav-dropdown .como-nav-link {
  width: 100%;
  min-height: 40px;
  padding: 7px 10px;
  border-radius: 8px;
}

.como-nav-dropdown .como-nav-link:hover {
  background: #f2f6f8;
}

.como-nav-dropdown .como-nav-dropdown {
  top: 0;
  left: calc(100% + 8px);
}

.como-header-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 22px;
}

.como-language-switcher {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #c6ced3;
  font: 500 14px "Work Sans", sans-serif;
}

.como-language-link {
  color: #9aa7ad;
}

.como-language-link.is-active {
  color: #032E4D;
  font-weight: 600;
}

.como-header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 26px;
  color: #fff;
  background: #F28D01;
  border-radius: 999px;
  font: 500 15px "Work Sans", sans-serif;
  white-space: nowrap;
  transition: background .2s ease;
}

.como-burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  background: #fff;
  border: 1px solid rgba(3,46,77,.14);
  border-radius: 12px;
  cursor: pointer;
}

.como-mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding: 24px;
  color: #fff;
  background: #032E4D;
  animation: como-fade .25s ease;
}

.como-mobile-menu[hidden] {
  display: none !important;
}

.como-mobile-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 34px;
}

.como-mobile-brand {
  display: inline-flex;
  align-items: center;
  padding: 9px 12px;
  background: #fff;
  border-radius: 10px;
}

.como-mobile-close {
  width: 46px;
  height: 46px;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 12px;
  cursor: pointer;
  font-size: 20px;
}

.como-mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.como-mobile-nav-link,
.como-mobile-nav-group summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 13px 0;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.10);
  font: 500 25px/1.2 "Barlow", sans-serif;
}

.como-mobile-nav-group summary {
  cursor: pointer;
  list-style: none;
}

.como-mobile-nav-group summary::-webkit-details-marker {
  display: none;
}

.como-mobile-nav-group[open] summary > span:last-child {
  transform: rotate(45deg);
}

.como-mobile-nav-group summary > span:last-child {
  color: #7fc7e8;
  transition: transform .2s ease;
}

.como-mobile-nav-children {
  margin-left: 16px;
  padding: 7px 0 11px;
  border-left: 1px solid rgba(255,255,255,.16);
}

.como-mobile-nav-children .como-mobile-nav-link {
  padding: 10px 0 10px 18px;
  border: 0;
  color: rgba(255,255,255,.78);
  font-size: 18px;
}

.como-mobile-nav-link.is-parent-destination {
  color: #7fc7e8;
}

.como-mobile-languages {
  display: flex;
  gap: 10px;
  margin-top: 26px;
}

.como-mobile-languages a {
  padding: 8px 12px;
  color: rgba(255,255,255,.68);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  font: 500 13px "Work Sans", sans-serif;
}

.como-mobile-languages a.is-active {
  color: #032E4D;
  background: #fff;
}

.como-mobile-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  margin-top: 24px;
  padding: 0 24px;
  color: #fff;
  background: #F28D01;
  border-radius: 999px;
  font: 500 17px "Work Sans", sans-serif;
}

.como-site-footer {
  border-top: 3px solid var(--footer-accent, #F28E30);
  color: var(--footer-text, #fff);
  background: var(--footer-background, #04263f);
}

.como-footer-inner {
  width: 100%;
  max-width: 1340px;
  margin: 0 auto;
  padding: clamp(56px,7vw,88px) 24px clamp(28px,3vw,40px);
}

.como-footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 40px 32px;
}

.como-site-footer,
.como-site-footer a,
.como-site-footer address,
.como-site-footer button {
  color: var(--footer-text, #fff);
}

.como-site-footer .como-footer-description,
.como-site-footer .como-footer-muted,
.como-site-footer .como-footer-bottom {
  color: color-mix(in srgb, var(--footer-text, #fff) 68%, transparent);
}

.como-footer-logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 18px;
  padding: 12px 18px;
  background: #fff;
  border-radius: 12px;
}

.como-footer-description {
  max-width: 34ch;
  margin: 0 0 22px;
  color: rgba(255,255,255,.68);
  font: 400 15px/1.6 "Work Sans", sans-serif;
}

.como-social-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.como-social-list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 8px;
  color: #fff;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  font: 600 12px "Work Sans", sans-serif;
}

.como-footer-heading {
  margin-bottom: 18px;
  color: var(--footer-accent, #7f97a6);
  font: 500 13px "Work Sans", sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.como-footer-nav {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.como-footer-nav a {
  color: rgba(255,255,255,.80);
  font: 400 15px "Work Sans", sans-serif;
}

.como-footer-nav a:hover {
  color: #fff;
}

.como-footer-nav a.is-child {
  padding-left: 10px;
  color: rgba(255,255,255,.62);
  font-size: 14px;
}

.como-footer-address {
  color: rgba(255,255,255,.80);
  font: 400 15px/1.7 "Work Sans", sans-serif;
  font-style: normal;
}

.como-footer-address a {
  color: rgba(255,255,255,.80);
}

.como-footer-muted {
  color: rgba(255,255,255,.55);
}

.como-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  margin-top: clamp(40px,5vw,64px);
  padding-top: 26px;
  color: rgba(255,255,255,.55);
  border-top: 1px solid rgba(255,255,255,.12);
  font: 400 14px "Work Sans", sans-serif;
}

.como-footer-bottom-right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 16px 24px;
}

.como-footer-bottom-right .como-footer-nav {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 14px;
}

.como-footer-bottom-right .como-footer-nav a {
  color: rgba(255,255,255,.55);
  font-size: 14px;
}

/* About page ---------------------------------------------------- */

.como-about-container {
  width: 100%;
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 24px;
}

.como-about-kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  color: #054D7F;
  font: 500 14px "Work Sans", sans-serif;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.como-about-kicker > span {
  width: 28px;
  height: 2px;
  background: #054D7F;
}

.como-about-kicker.is-light {
  color: #7fc7e8;
}

.como-about-kicker.is-light > span {
  background: #04A0DD;
}

.como-about-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: #032E4D;
}

.como-about-hero-pattern {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg,rgba(255,255,255,.028) 0 1px,transparent 1px 26px),
    repeating-linear-gradient(-45deg,rgba(255,255,255,.028) 0 1px,transparent 1px 26px);
  pointer-events: none;
}

.como-about-hero-orbit {
  position: absolute;
  top: -90px;
  right: -150px;
  width: 540px;
  height: 540px;
  border: 1.5px solid rgba(255,255,255,.07);
  border-radius: 96px;
  animation: como-spin 90s linear infinite;
  pointer-events: none;
}

.como-about-hero-line {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 150px;
  pointer-events: none;
  animation: como-float 8s ease-in-out infinite;
}

.como-about-hero-line [data-line] {
  stroke-dasharray: 2600;
  stroke-dashoffset: 2600;
  animation: como-draw 2.4s cubic-bezier(.4,0,.2,1) .4s forwards;
}

.como-about-hero .como-about-container {
  position: relative;
  z-index: 2;
  padding-top: clamp(48px,7vw,96px);
  padding-bottom: clamp(64px,9vw,120px);
}

.como-about-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(36px,5vw,80px);
  align-items: center;
}

.como-about-hero h1 {
  max-width: 22ch;
  margin: 0 0 20px;
  color: #fff;
  font: 500 clamp(34px,4.8vw,64px)/1.05 "Barlow", sans-serif;
  text-wrap: balance;
}

.como-about-lead {
  max-width: 56ch;
  color: rgba(255,255,255,.82);
  font: 400 clamp(17px,1.4vw,21px)/1.55 "Work Sans", sans-serif;
}

.como-about-lead .trix-content,
.como-about-story-copy .trix-content {
  color: inherit;
  font: inherit;
}

.como-about-lead p,
.como-about-story-copy p {
  margin: 0 0 1em;
}

.como-about-lead p:last-child,
.como-about-story-copy p:last-child {
  margin-bottom: 0;
}

.como-about-hero-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #0a3a5c;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 20px;
  box-shadow: 0 50px 90px -50px rgba(0,0,0,.7);
}

.como-about-hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.como-about-hero-media > div {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,rgba(3,46,77,0) 45%,rgba(3,46,77,.55) 100%);
}

.como-about-stats {
  padding: clamp(44px,6vw,80px) 0 0;
}

.como-about-section-heading {
  max-width: 760px;
  margin-bottom: clamp(32px,4vw,52px);
}

.como-about-section-heading h2,
.como-about-team-heading h2 {
  margin: 0;
  color: #032E4D;
  font: 500 clamp(28px,3.4vw,46px)/1.1 "Barlow", sans-serif;
  text-wrap: balance;
}

.como-about-stats-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 24px;
}

.como-about-stats-grid article {
  padding: 30px 26px;
  background: #F6F8F9;
  border: 1px solid #e6ecef;
  border-radius: 16px;
}

.como-about-stats-grid strong {
  display: block;
  margin-bottom: 10px;
  color: #054D7F;
  font: 500 clamp(34px,3.4vw,46px)/1 "Barlow", sans-serif;
}

.como-about-stats-grid span {
  color: #4a606b;
  font: 400 16px/1.5 "Work Sans", sans-serif;
}

.como-about-story {
  padding: clamp(64px,9vw,130px) 0 0;
}

.como-about-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px,5vw,80px);
  align-items: center;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s cubic-bezier(.22,.61,.36,1), transform .8s cubic-bezier(.22,.61,.36,1);
}

.como-about-story h2 {
  margin: 0 0 20px;
  color: #032E4D;
  font: 500 clamp(28px,3.4vw,46px)/1.1 "Barlow", sans-serif;
  text-wrap: balance;
}

.como-about-story-copy {
  max-width: 54ch;
  color: #4a606b;
  font: 400 clamp(17px,1.3vw,19px)/1.7 "Work Sans", sans-serif;
}

.como-about-story-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #e8edf0;
  border-radius: 16px;
  box-shadow: 0 40px 70px -50px rgba(3,46,77,.55);
}

.como-about-story-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.como-about-team {
  padding: clamp(56px,8vw,110px) 0;
  background: #F6F8F9;
}

.como-about-team-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 40px;
  margin-bottom: clamp(32px,4vw,52px);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s cubic-bezier(.22,.61,.36,1), transform .8s cubic-bezier(.22,.61,.36,1);
}

.como-about-text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #0066A6;
  font: 600 16px "Work Sans", sans-serif;
  transition: gap .2s ease;
}

.como-about-team-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 24px;
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s cubic-bezier(.22,.61,.36,1), transform .8s cubic-bezier(.22,.61,.36,1);
}

.como-about-team-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid #e6ecef;
  border-radius: 16px;
  transition: transform .25s ease, box-shadow .25s ease;
}

.como-about-team-photo {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1/1;
}

.como-about-team-photo > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.como-about-team-pattern {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg,rgba(255,255,255,.05) 0 1px,transparent 1px 22px),
    repeating-linear-gradient(-45deg,rgba(255,255,255,.05) 0 1px,transparent 1px 22px);
}

.como-about-team-photo > span {
  position: relative;
  color: rgba(255,255,255,.92);
  font: 600 clamp(28px,3vw,38px) "Barlow", sans-serif;
}

.como-about-team-copy {
  padding: 22px 22px 24px;
}

.como-about-team-copy h3 {
  margin: 0 0 5px;
  color: #032E4D;
  font: 500 19px/1.25 "Barlow", sans-serif;
}

.como-about-team-copy strong {
  display: block;
  margin-bottom: 12px;
  color: #054D7F;
  font: 500 14px "Work Sans", sans-serif;
}

.como-about-team-copy p {
  margin: 0;
  color: #4a606b;
  font: 400 15px/1.55 "Work Sans", sans-serif;
}

@media (max-width: 1080px) {
  .como-desktop-nav {
    gap: 22px;
  }

  .como-header-actions {
    gap: 14px;
  }
}

@media (max-width: 960px) {
  .como-desktop-nav,
  .como-header-actions {
    display: none !important;
  }

  .como-burger {
    display: inline-flex;
  }

  .como-footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .como-about-hero-grid,
  .como-about-story-grid {
    grid-template-columns: 1fr;
  }

  .como-about-story-media {
    order: -1;
  }

  .como-about-stats-grid,
  .como-about-team-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .como-header-inner,
  .como-about-container,
  .como-footer-inner {
    padding-left: 18px;
    padding-right: 18px;
  }

  .como-about-stats-grid,
  .como-about-team-grid,
  .como-footer-grid {
    grid-template-columns: 1fr;
  }

  .como-footer-bottom-right {
    justify-content: flex-start;
  }
}

/* CMS section palette overrides */
[data-cms-section].como-about-hero {
  background: var(--cms-main, #032E4D);
}
[data-cms-section].como-about-hero .como-about-kicker,
[data-cms-section].como-about-story .como-about-kicker,
[data-cms-section].como-about-team .como-about-kicker {
  color: var(--cms-accent, #054D7F);
}
[data-cms-section].como-about-story h2,
[data-cms-section].como-about-stats .como-about-section-heading h2,
[data-cms-section].como-about-team .como-about-team-heading h2 {
  color: var(--cms-main, #032E4D);
}
[data-cms-section].como-about-stats .como-about-stats-grid strong {
  color: var(--cms-accent, #054D7F);
}

/* Process Steps: the template has inline desktop grid styles, so the
   responsive column rules intentionally use !important. */
.cms-process-steps,
.cms-process-steps__container,
.cms-process-steps__heading,
.cms-process-steps__grid,
.cms-process-steps__card {
  min-width: 0;
  max-width: 100%;
}

.cms-process-steps__grid {
  width: 100%;
}

.cms-process-steps__card,
.cms-process-steps__card h3,
.cms-process-steps__card p,
.cms-process-steps__card li {
  overflow-wrap: anywhere;
  word-break: normal;
}

@media (max-width: 1023px) {
  .cms-process-steps__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px !important;
  }
}

@media (max-width: 640px) {
  .cms-process-steps {
    width: 100%;
    overflow: hidden;
    padding: 52px 0 !important;
  }

  .cms-process-steps__container {
    width: 100% !important;
    padding-right: 16px !important;
    padding-left: 16px !important;
  }

  .cms-process-steps__heading {
    width: 100%;
    margin-bottom: 30px !important;
  }

  .cms-process-steps__heading h2 {
    font-size: clamp(30px, 9vw, 38px) !important;
    line-height: 1.08 !important;
  }

  .cms-process-steps__heading > div:last-child {
    max-width: 100% !important;
  }

  .cms-process-steps__grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 14px !important;
    width: 100% !important;
  }

  .cms-process-steps__card {
    width: 100% !important;
    min-height: 0 !important;
    padding: 22px 20px !important;
    border-radius: 15px !important;
  }

  .cms-process-steps__card-top {
    margin-bottom: 16px !important;
  }

  .cms-process-steps__card h3 {
    font-size: 20px !important;
  }

  .cms-process-steps__card p,
  .cms-process-steps__card li {
    font-size: 15px !important;
  }
}

/* Footer theme values are deliberately last so CMS colours win. */
.como-site-footer .como-footer-description,
.como-site-footer .como-footer-nav a,
.como-site-footer .como-footer-address,
.como-site-footer .como-footer-address a,
.como-site-footer .como-footer-legal-links a,
.como-site-footer .como-footer-cookie-button,
.como-site-footer .como-footer-bottom,
.como-site-footer .como-footer-bottom-right .como-footer-nav a {
  color: color-mix(in srgb, var(--footer-text, #fff) 80%, transparent);
}

.como-site-footer .como-footer-nav a:hover,
.como-site-footer .como-footer-address a:hover,
.como-site-footer .como-footer-legal-links a:hover {
  color: var(--footer-text, #fff);
}

.como-site-footer .como-social-list a {
  color: var(--footer-text, #fff);
  border-color: color-mix(in srgb, var(--footer-text, #fff) 24%, transparent);
}

/* CMS interaction and responsive fixes shared by dynamic layouts. */
.cms-project-card-link[href],
.cms-contact-method[href] {
  cursor: pointer;
}

.cms-project-card-link:focus-visible,
.cms-contact-method:focus-visible {
  outline: 3px solid var(--cms-accent, #04a0dd);
  outline-offset: 3px;
}

.cms-contact-method[href]:hover {
  border-color: rgba(255, 255, 255, 0.42) !important;
  background: var(--cms-card-background, rgba(255, 255, 255, 0.14)) !important;
  transform: translateY(-2px);
}

@media (max-width: 640px) {
  .cms-contact-methods {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}
