/* CA Header Component Styles */
/* Custom CSS with CSS Variables - Following form-registration pattern */

/* ============================================================================ */
/* GLOBAL BOX-SIZING RESET */
/* ============================================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* ============================================================================ */
/* HEADER CUSTOM STYLES - Extracted from working build */
/* ============================================================================ */

:host {
  --mobile-header-height: 80px;
  --desktop-header-height: 80px;
}
.ca-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 9999;
  background: #fff;
  font-family:
    PingPong-Regular,
    Ping Pong,
    system-ui,
    -apple-system,
    Arial,
    sans-serif;
  overflow: visible;
  height: var(--mobile-header-height);
}
@media (min-width: 1024px) {
  .ca-header {
    height: var(--desktop-header-height);
  }
}
.ca-header-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 0 0 32px 32px;
}
@media (min-width: 1024px) {
  .ca-header-wrapper {
    border-radius: 0;
    overflow: visible;
  }
}
.ca-header-bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: #fff;
  transition: all 0.2s;
  will-change: transform, opacity;
}
@media (min-width: 1024px) {
  .ca-header-bg {
    background: #f1f4f9;
  }
}
.ca-header[data-mobile-transparency='true'] .ca-header-bg {
  transform: translateY(-100%);
  opacity: 0;
}
@media (min-width: 1024px) {
  .ca-header[data-desktop-transparency='true'] .ca-header-bg {
    transform: translateY(-100%);
    opacity: 0;
  }
  .ca-header[data-desktop-transparency='false'] .ca-header-bg {
    transform: translateY(0) !important;
    opacity: 1 !important;
  }
}
.ca-header-container {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  height: 100%;
  width: 100%;
  max-width: 1672px;
  margin: 0 auto;
  padding: 0 24px;
}
@media (min-width: 768px) {
  .ca-header-container {
    padding: 0 24px;
  }
}
@media (min-width: 1024px) {
  .ca-header-container {
    padding: 0 20px;
  }
}
.ca-header-logo {
  flex-shrink: 0;
  text-decoration: none;
}
.ca-header-logo-img {
  height: 24px;
  width: 167px;
  max-width: 167px;
  transition:
    transform 0.2s,
    opacity 0.2s;
}
@media (min-width: 1024px) {
  .ca-header-logo-img {
    width: 120px;
    max-width: 120px;
    transform: translateY(0) !important;
    opacity: 1 !important;
  }
}
@media (min-width: 1280px) {
  .ca-header-logo-img {
    width: 167px;
    max-width: 167px;
  }
}
.ca-header[data-mobile-transparency='true'] .ca-header-logo-img {
  transform: translateY(-100%);
  opacity: 0;
}
.ca-header-logo-white {
  display: none;
}
@media (min-width: 1024px) {
  .ca-header[data-desktop-transparency='true'][data-text-color='white'] .ca-header-logo-img {
    display: none;
  }
  .ca-header[data-desktop-transparency='true'][data-text-color='white'] .ca-header-logo-white {
    display: block;
    height: 24px;
    width: 120px;
    max-width: 120px;
    transform: translateY(0) !important;
    opacity: 1 !important;
  }
  @media (min-width: 1280px) {
    .ca-header[data-desktop-transparency='true'][data-text-color='white'] .ca-header-logo-white {
      width: 167px;
      max-width: 167px;
    }
  }
}
.ca-header-nav {
  display: none;
  flex-shrink: 0;
}
@media (min-width: 1024px) {
  .ca-header-nav {
    display: flex;
    overflow: visible;
  }
}
.ca-header-nav-list {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 16px;
  margin: 0;
  padding: 0;
  overflow: visible;
}
@media (min-width: 1024px) {
  .ca-header-nav-list {
    gap: 16px;
  }
}
@media (min-width: 1280px) {
  .ca-header-nav-list {
    gap: 32px;
  }
}
.ca-header-nav-item {
  position: relative;
}
.ca-header-nav-link {
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  letter-spacing: 0;
  color: #595959;
  text-decoration: none;
  transition: color 0.2s;
}
.ca-header-nav-link:hover {
  color: #2687e9;
}
.ca-header[data-desktop-transparency='true'][data-text-color='white'] .ca-header-nav-link {
  color: #fff;
}
.ca-header[data-desktop-transparency='true'][data-text-color='white'] .ca-header-nav-link:hover {
  color: #b9c8d5;
}
.ca-header-dropdown {
  position: relative;
}
.ca-header-dropdown:after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 8px;
  background: transparent;
  pointer-events: auto;
}
.ca-header-dropdown-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  letter-spacing: 0;
  color: #595959;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s;
}
.ca-header-dropdown-btn:hover {
  color: #2687e9;
}
.ca-header[data-desktop-transparency='true'][data-text-color='white'] .ca-header-dropdown-btn {
  color: #fff;
}
.ca-header[data-desktop-transparency='true'][data-text-color='white']
  .ca-header-dropdown-btn:hover {
  color: #b9c8d5;
}
.ca-header-dropdown-icon {
  width: 24px;
  height: 24px;
  transition: transform 0.2s ease-in;
}
.ca-header-dropdown[data-open='true'] .ca-header-dropdown-icon {
  transform: rotate(180deg);
}
.ca-header-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 450px;
  background: #fff;
  border-radius: 8px;
  padding: 24px 16px;
  box-shadow: 0 16px 24px #57575729;
  z-index: 100;
}
.ca-header-dropdown-menu.multi-column {
  min-width: 700px;
  max-width: 700px;
}
.ca-header-dropdown-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.ca-header-dropdown-list.grid-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  -moz-column-gap: 24px;
       column-gap: 24px;
  row-gap: 14px;
}
.ca-header-dropdown-link {
  display: block;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  letter-spacing: 0;
  color: #595959;
  text-decoration: none;
  transition: color 0.2s;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.ca-header-dropdown-link:hover {
  color: #2687e9;
  text-decoration: underline;
}
.ca-header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
@media (min-width: 1024px) {
  .ca-header-actions {
    gap: 16px;
  }
}
@media (min-width: 1280px) {
  .ca-header-actions {
    gap: 32px;
  }
}
.ca-header-whatsapp {
  display: none;
}
@media (min-width: 1024px) {
  .ca-header-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    flex-shrink: 0;
    background: #25d366;
    color: #fff;
    border-radius: 0 17.037px 17.037px;
    text-decoration: none;
    transition: background 0.2s;
  }
  .ca-header-whatsapp:hover {
    background: #128c7e;
  }
}
.ca-header-whatsapp-icon {
  width: 23px;
  height: 23px;
}
.ca-header-whatsapp-mobile {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  text-decoration: none;
  transition: background 0.2s;
}
.ca-header-whatsapp-mobile:hover {
  background: #128c7e;
}
.ca-header-whatsapp-mobile svg {
  width: 20px;
  height: 20px;
  color: #fff;
}
@media (min-width: 1024px) {
  .ca-header-whatsapp-mobile {
    display: none;
  }
}
.ca-header-login {
  display: none;
}
@media (min-width: 1024px) {
  .ca-header-login {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    letter-spacing: 0;
    color: #2687e9;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: color 0.2s;
  }
}
.ca-header[data-desktop-transparency='true'][data-text-color='white'] .ca-header-login {
  color: #fff;
}
.ca-header-login-icon {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease-in;
}
.ca-header-login-dropdown {
  position: relative;
}
.ca-header-login-dropdown:after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 8px;
  background: transparent;
  pointer-events: auto;
}
.ca-header-login-dropdown[data-open='true'] .ca-header-login-icon {
  transform: rotate(180deg);
}
.ca-header-login-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 380px;
  background: #fff;
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 16px 24px #57575729;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ca-header-login-dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.2s;
}
.ca-header-login-dropdown-item:hover {
  background-color: #f1f4f9;
}
.ca-header-login-dropdown-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background-color: #e8f1fb;
}
.ca-header-login-dropdown-icon svg {
  width: 32px;
  height: 32px;
}
.ca-header-login-dropdown-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ca-header-login-dropdown-title {
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  color: #333;
}
.ca-header-login-dropdown-desc {
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  color: #595959;
}
.ca-header-cta {
  display: none;
}
@media (min-width: 1024px) {
  .ca-header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    height: 45px;
    flex-shrink: 0;
    padding: 10px 18px;
    border-radius: 9999px;
    border: 1px solid transparent;
    font-family:
      PingPong-XBold,
      Ping Pong,
      system-ui,
      -apple-system,
      Arial,
      sans-serif;
    font-size: 16px;
    line-height: 1;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition:
      filter 0.2s,
      transform 0.1s;
  }
  .ca-header-cta:hover {
    filter: brightness(0.9);
  }
  .ca-header-cta:active {
    filter: brightness(0.75);
    transform: scale(0.95);
  }
  .ca-header-cta:focus-visible {
    outline: 2px solid;
    outline-offset: 2px;
  }
}
.ca-header-cta[data-color='blue'] {
  background: #2687e9;
  color: #fff;
  fill: #fff;
}
.ca-header-cta[data-color='blue-pe'] {
  background: #00aff0;
  color: #fff;
  fill: #fff;
}
.ca-header-cta[data-color='yellow'] {
  background: #f9bd1d;
  color: #333;
  fill: #333;
}
.ca-header-cta[data-color='yellow-gradient'] {
  background: linear-gradient(to right, #f9bd1d, #f0a700);
  color: #333;
  fill: #333;
}
.ca-header-cta-icon {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  stroke-width: 2px;
}
.ca-header-hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 32px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.ca-header-hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #595959;
  border-radius: 2px;
  transition: all 0.3s ease;
}
.ca-header[data-desktop-transparency='true'][data-text-color='white'] .ca-header-hamburger span {
  background-color: #fff;
}
@media (min-width: 1024px) {
  .ca-header-hamburger {
    display: none;
  }
}
.ca-header-mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  display: flex;
  animation: fadeIn 0.3s ease;
}
.ca-header-mobile-nav {
  position: relative;
  width: 100%;
  height: 100%;
  background: #fff;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding-top: var(--mobile-header-height);
}
.ca-header-mobile-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 32px 24px;
  height: var(--mobile-header-height);
  background: #fff;
  z-index: 10001;
  border-bottom: 1px solid #dadee3;
}
.ca-header-mobile-logo {
  flex-shrink: 0;
  text-decoration: none;
}
.ca-header-mobile-logo-img {
  height: 24px;
  width: 167px;
}
.ca-header-mobile-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  text-decoration: none;
  transition: background 0.2s;
}
.ca-header-mobile-whatsapp:hover {
  background: #128c7e;
}
.ca-header-mobile-whatsapp svg {
  width: 20px;
  height: 20px;
  color: #fff;
}
.ca-header-mobile-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #2687e9;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  color: #fff;
  flex-shrink: 0;
  transition: background-color 0.2s ease;
}
.ca-header-mobile-close:hover {
  background-color: #1e6bc7;
}
.ca-header-mobile-close:active {
  background-color: #1557a8;
}
.ca-header-mobile-close svg {
  width: 20px;
  height: 20px;
  stroke: #fff;
}
.ca-header-mobile-list {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
  overflow-y: auto;
}
.ca-header-mobile-item {
  border-bottom: 1px solid #dadee3;
}
.ca-header-mobile-item:first-child {
  border-top: 1px solid #dadee3;
}
.ca-header-mobile-link {
  display: block;
  padding: 24px;
  font-family:
    PingPong-Regular,
    Ping Pong,
    system-ui,
    -apple-system,
    Arial,
    sans-serif;
  font-size: 20px;
  line-height: 28px;
  font-weight: 400;
  color: #595959;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}
.ca-header-mobile-link:hover {
  background-color: #f9fafb;
  color: #2687e9;
}
.ca-header-mobile-dropdown {
  width: 100%;
}
.ca-header-mobile-dropdown-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 24px;
  background: none;
  border: none;
  font-family:
    PingPong-Regular,
    Ping Pong,
    system-ui,
    -apple-system,
    Arial,
    sans-serif;
  font-size: 20px;
  line-height: 28px;
  font-weight: 400;
  color: #595959;
  text-align: left;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}
.ca-header-mobile-dropdown-btn:hover {
  background-color: #f9fafb;
  color: #2687e9;
}
.ca-header-mobile-dropdown-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  stroke: #595959;
}
.ca-header-mobile-dropdown-icon.open {
  transform: rotate(180deg);
}
.ca-header-mobile-dropdown-list {
  list-style: none;
  padding: 0 24px 16px;
  margin: 0;
  background-color: #fff;
  animation: slideDown 0.3s ease;
}
.ca-header-mobile-dropdown-link {
  display: block;
  padding: 12px 0;
  font-family:
    PingPong-Regular,
    Ping Pong,
    system-ui,
    -apple-system,
    Arial,
    sans-serif;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  color: #595959;
  text-decoration: none;
  transition: color 0.2s ease;
}
.ca-header-mobile-dropdown-link:hover {
  color: #2687e9;
}
.ca-header-mobile-actions {
  position: sticky;
  bottom: 0;
  padding: 24px;
  background: #fff;
  border-top: 1px solid #dadee3;
  margin-top: auto;
}
.ca-header-mobile-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  height: 56px;
  padding: 14px 24px;
  background: #2687e9;
  border: none;
  border-radius: 9999px;
  font-family:
    PingPong-XBold,
    Ping Pong,
    system-ui,
    -apple-system,
    Arial,
    sans-serif;
  font-size: 18px;
  line-height: normal;
  font-weight: 800;
  color: #fff;
  fill: #fff;
  text-decoration: none;
  cursor: pointer;
  transition:
    filter 0.2s,
    transform 0.1s;
}
.ca-header-mobile-cta:hover {
  filter: brightness(0.9);
}
.ca-header-mobile-cta:active {
  filter: brightness(0.75);
  transform: scale(0.98);
}
.ca-header-mobile-cta-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  stroke-width: 2px;
}
.ca-header-mobile-cta[data-color='blue-pe'] {
  background: #00aff0;
}
.ca-header-mobile-cta[data-color='yellow'] {
  background: #f9bd1d;
  color: #333;
  fill: #333;
}
.ca-header-mobile-cta[data-color='yellow-gradient'] {
  background: linear-gradient(to right, #f9bd1d, #f0a700);
  color: #333;
  fill: #333;
}
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes slideInRight {
  0% {
    transform: translate(100%);
  }
  to {
    transform: translate(0);
  }
}
@keyframes slideDown {
  0% {
    max-height: 0;
    opacity: 0;
  }
  to {
    max-height: 1000px;
    opacity: 1;
  }
}
body:has(.ca-header-mobile-menu) {
  overflow: hidden;
}
@media (min-width: 1024px) {
  .ca-header-mobile-menu {
    display: none;
  }
}

