/* =========================================================================
   Header
========================================================================= */
.c-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-header);
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
  transition:
    background-color var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out);
}

.c-header[data-header-theme="transparent"] {
  background: transparent;
  box-shadow: none;
}

.c-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 68px;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--gutter-mobile);
}

.c-header__logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.c-header__logo img {
  height: 60px;
  width: auto;
}

.c-header__nav {
  display: none;
}

.c-header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.c-header__icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: inherit;
  background: transparent;
  border: none;
  border-radius: 50%;
  transition: background-color var(--dur-fast) var(--ease-out);
}

.c-header__icon-btn:hover {
  background: rgba(0, 75, 135, 0.08);
}

.c-header[data-header-theme="transparent"] .c-header__icon-btn:hover {
  background: rgba(255, 255, 255, 0.16);
}

.c-header__icon-btn svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.c-header__quote {
  display: none;
}

.c-header__burger {
  display: inline-flex;
}

.c-header__search {
  display: none;
  align-items: center;
  gap: 6px;
  width: 200px;
  height: 42px;
  padding: 0 6px 0 16px;
  background: var(--color-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  color: var(--header-fg);
  transition:
    background-color var(--dur-base) var(--ease-out),
    border-color var(--dur-base) var(--ease-out);
}

.c-header[data-header-theme="transparent"] .c-header__search {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.28);
}

.c-header.is-scrolled .c-header__search {
  background: var(--color-light);
  border-color: var(--color-border);
}

.c-header__search-input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  font-size: 0.9rem;
  color: var(--header-fg);
}

.c-header__search-input::placeholder {
  color: var(--color-muted);
}

.c-header[data-header-theme="transparent"]
  .c-header__search-input::placeholder {
  color: rgba(255, 255, 255, 0.65);
}

.c-header.is-scrolled .c-header__search-input::placeholder {
  color: var(--color-muted);
}

.c-header__search-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  background: transparent;
  border: none;
  border-radius: 50%;
  color: var(--header-fg);
  transition: background-color var(--dur-fast) var(--ease-out);
}

.c-header__search-submit:hover {
  background: rgba(0, 75, 135, 0.1);
}

.c-header[data-header-theme="transparent"] .c-header__search-submit:hover {
  background: rgba(255, 255, 255, 0.16);
}

.c-header__search-submit svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

@media (min-width: 1440px) {
  .c-header__search {
    display: flex;
  }

  .c-header__actions .js-search-open {
    display: none;
  }
}

@media (min-width: 768px) {
  .c-header__inner {
    height: 80px;
    padding-inline: var(--gutter-desktop);
  }

  .c-header__quote {
    display: inline-flex;
  }
}

@media (min-width: 1024px) {
  .c-header__nav {
    display: block;
  }

  .c-header__burger {
    display: none;
  }
}

/* Header text color themes */
.c-header {
  --header-fg: var(--color-dark);
  color: var(--header-fg);
}

.c-header[data-header-theme="transparent"] {
  --header-fg: var(--color-white);
}

/* Scrolled header turns solid */
.c-header.is-scrolled {
  background: var(--color-white);
  box-shadow: var(--shadow-md);
  --header-fg: var(--color-dark);
}

/* -------------------------------------------------------------------------
   Navbar
------------------------------------------------------------------------- */
.c-navbar__menu {
  display: flex;
  align-items: center;
  gap: 6px;
}

.c-navbar__item {
  position: relative;
}

.c-navbar__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 10px 14px;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--header-fg);
  border-radius: var(--radius-sm);
  transition: color var(--dur-fast) var(--ease-out);
}

.c-navbar__link:hover {
  color: var(--color-primary);
}

.c-navbar__link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.c-navbar__link.is-active {
  color: var(--color-primary);
}

.c-navbar__dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 300px;
  padding: 12px;
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition:
    opacity var(--dur-fast) var(--ease-out),
    transform var(--dur-fast) var(--ease-out),
    visibility var(--dur-fast) var(--ease-out);
}

.c-navbar__item:hover .c-navbar__dropdown,
.c-navbar__item:focus-within .c-navbar__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.c-navbar__dropdown-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  font-size: 0.92rem;
  color: var(--color-text);
  border-radius: var(--radius-sm);
  transition:
    background-color var(--dur-fast) var(--ease-out),
    color var(--dur-fast) var(--ease-out);
}

.c-navbar__dropdown-link svg {
  flex-shrink: 0;
  fill: currentColor;
}

.c-navbar__dropdown-link:hover {
  background: var(--color-primary-soft);
  color: var(--color-primary);
}

.c-navbar__dropdown-item {
  position: relative;
}

.c-navbar__dropdown-item:hover .c-navbar__dropdown-link,
.c-navbar__dropdown-item:focus-within .c-navbar__dropdown-link {
  background: var(--color-primary-soft);
  color: var(--color-primary);
}

.c-navbar__submenu {
  position: absolute;
  top: -12px;
  left: 100%;
  min-width: 320px;
  padding: 12px;
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateX(8px);
  transition:
    opacity var(--dur-fast) var(--ease-out),
    transform var(--dur-fast) var(--ease-out),
    visibility var(--dur-fast) var(--ease-out);
}

.c-navbar__dropdown-item:hover .c-navbar__submenu,
.c-navbar__dropdown-item:focus-within .c-navbar__submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.c-navbar__submenu-link {
  display: block;
  padding: 9px 14px;
  font-size: 0.88rem;
  color: var(--color-muted);
  border-radius: var(--radius-sm);
  transition:
    background-color var(--dur-fast) var(--ease-out),
    color var(--dur-fast) var(--ease-out);
}

.c-navbar__submenu-link:hover {
  background: var(--color-primary-soft);
  color: var(--color-primary);
}

/* -------------------------------------------------------------------------
   Mobile drawer
------------------------------------------------------------------------- */
.c-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: var(--z-drawer);
  width: min(360px, 86vw);
  height: 100vh;
  height: 100dvh;
  background: var(--color-white);
  box-shadow: var(--shadow-lg);
  transform: translateX(100%);
  transition: transform var(--dur-slow) var(--ease-out);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.c-drawer.is-open {
  transform: translateX(0);
}

.c-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px var(--gutter-mobile);
  border-bottom: 1px solid var(--color-border);
}

.c-drawer__logo img {
  height: 36px;
  width: auto;
}

.c-drawer__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  border-radius: 50%;
  color: var(--color-dark);
}

.c-drawer__close:hover {
  background: var(--color-light);
}

.c-drawer__close svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.c-drawer__nav {
  padding: 12px 0;
}

.c-drawer__item {
  border-bottom: 1px solid var(--color-light);
}

.c-drawer__row {
  display: flex;
  align-items: center;
}

.c-drawer__row .c-drawer__link {
  flex: 1;
}

.c-drawer__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px var(--gutter-mobile);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-dark);
}

.c-drawer__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  background: transparent;
  border: none;
  color: var(--color-muted);
}

.c-drawer__toggle svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  transition: transform var(--dur-base) var(--ease-out);
}

.c-drawer__sub {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--dur-base) var(--ease-out);
}

.c-drawer__item.is-expanded .c-drawer__sub {
  max-height: 500px;
}

.c-drawer__item.is-expanded .c-drawer__toggle svg {
  transform: rotate(180deg);
}

.c-drawer__sub-link {
  display: block;
  padding: 12px var(--gutter-mobile) 12px 40px;
  font-size: 0.94rem;
  color: var(--color-muted);
}

.c-drawer__sub-link:hover {
  color: var(--color-primary);
}

.c-drawer__cta {
  padding: 20px var(--gutter-mobile) 28px;
}

.c-drawer__cta .c-btn {
  width: 100%;
}

.c-drawer__overlay {
  position: fixed;
  inset: 0;
  z-index: calc(var(--z-drawer) - 1);
  background: rgba(14, 34, 51, 0.55);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity var(--dur-base) var(--ease-out),
    visibility var(--dur-base) var(--ease-out);
}

.c-drawer__overlay.is-visible {
  opacity: 1;
  visibility: visible;
}

/* -------------------------------------------------------------------------
   Search layer
------------------------------------------------------------------------- */
.c-search-layer {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 14vh;
  background: rgba(14, 34, 51, 0.72);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity var(--dur-base) var(--ease-out),
    visibility var(--dur-base) var(--ease-out);
}

.c-search-layer.is-open {
  opacity: 1;
  visibility: visible;
}

.c-search-layer__panel {
  width: min(720px, 92vw);
  transform: translateY(-20px);
  transition: transform var(--dur-base) var(--ease-out);
}

.c-search-layer.is-open .c-search-layer__panel {
  transform: translateY(0);
}

.c-search-layer__form {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 8px 8px 20px;
  background: var(--color-white);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-lg);
}

.c-search-layer__input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 1.05rem;
  color: var(--color-text);
  background: transparent;
}

.c-search-layer__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  background: var(--color-primary);
  color: var(--color-white);
  border: none;
  border-radius: 50%;
}

.c-search-layer__submit svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.c-search-layer__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-left: 12px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.14);
  color: var(--color-primary);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
}

.c-search-layer__close svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* -------------------------------------------------------------------------
   Footer
------------------------------------------------------------------------- */
.c-footer {
  position: relative;
  overflow: hidden;
  background: var(--color-white);
  color: var(--color-muted);
  padding-top: 72px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

.c-footer::after {
  content: "";
  position: absolute;
  bottom: -160px;
  right: -160px;
  width: 320px;
  height: 320px;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cg fill='none' stroke='%23004b87' stroke-opacity='0.07'%3E%3Ccircle cx='100' cy='100' r='96'/%3E%3Ccircle cx='100' cy='100' r='70'/%3E%3Ccircle cx='100' cy='100' r='44'/%3E%3Cpath d='M4 100h192'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}

.c-footer > .container,
.c-footer > .c-footer__bottom {
  position: relative;
  z-index: 1;
}

.c-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 56px;
}

.c-footer__brand p {
  margin: 18px 0 22px;
  font-size: 0.95rem;
  max-width: 90%;
  line-height: 1.8;
  color: var(--color-muted);
}

.c-footer__logo img {
  height: 60px;
  width: auto;
}

.c-footer__socials {
  display: flex;
  gap: 10px;
}

.c-footer__social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: var(--color-white);
  background: var(--color-primary);
  border-radius: 50%;
  transition:
    opacity var(--dur-fast) var(--ease-out),
    transform var(--dur-fast) var(--ease-out);
}

.c-footer__social:hover {
  transform: translateY(-3px);
  color: var(--color-white);
}

.c-footer__social svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.c-footer__social--facebook {
  background: #1877f2;
}

.c-footer__social--twitter {
  background: #1da1f2;
}

.c-footer__social--linkedin {
  background: #0a66c2;
}

.c-footer__social--youtube {
  background: #ff0000;
}

.c-footer__social--instagram {
  background: #e4405f;
}

.c-footer__title {
  margin-bottom: 20px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-dark);
}

.c-footer__list li + li {
  margin-top: 12px;
}

.c-footer__list .c-footer__link {
  display: inline-flex;
  align-items: center;
  transition:
    color var(--dur-fast) var(--ease-out),
    transform var(--dur-fast) var(--ease-out);
}

.c-footer__list .c-footer__link::before {
  content: "";
  width: 0;
  height: 2px;
  margin-right: 0;
  background: var(--color-primary);
  border-radius: var(--radius-pill);
  transition:
    width var(--dur-fast) var(--ease-out),
    margin-right var(--dur-fast) var(--ease-out);
}

.c-footer__list li:hover .c-footer__link {
  color: var(--color-primary);
  transform: translateX(6px);
}

.c-footer__list li:hover .c-footer__link::before {
  width: 14px;
  margin-right: 8px;
}

.c-footer__link {
  color: var(--color-muted);
  font-size: 0.94rem;
  transition: color var(--dur-fast) var(--ease-out);
}

.c-footer__link:hover {
  color: var(--color-primary);
}

.c-footer__contact {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-white);
  overflow: hidden;
}

.c-footer__contact li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  transition: background-color var(--dur-fast) var(--ease-out);
}

.c-footer__contact li:hover {
  background: var(--color-off-white);
}

.c-footer__contact li + li {
  border-top: 1px solid var(--color-border);
}

.c-footer__contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: var(--color-primary-soft);
  border-radius: var(--radius-md);
  transition: background-color var(--dur-fast) var(--ease-out);
}

.c-footer__contact-icon svg {
  width: 18px;
  height: 18px;
  fill: var(--color-primary);
  transition: fill var(--dur-fast) var(--ease-out);
}

.c-footer__contact li:hover .c-footer__contact-icon {
  background: var(--color-primary);
}

.c-footer__contact li:hover .c-footer__contact-icon svg {
  fill: var(--color-white);
}

.c-footer__contact-text {
  flex: 1;
  color: var(--color-muted);
}

.c-footer__bottom {
  border-top: 1px solid var(--color-border);
  padding-block: 24px;
}

.c-footer__bottom-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  font-size: 0.88rem;
}

.c-footer__copy a {
  color: var(--color-primary);
  font-weight: 600;
}

.c-footer__copy a:hover {
  color: var(--color-accent);
}

.c-footer__legal {
  display: flex;
  gap: 24px;
}

@media (min-width: 640px) {
  .c-footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .c-footer__grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  }

  .c-footer__bottom-inner {
    flex-direction: row;
    text-align: left;
  }
}

/* -------------------------------------------------------------------------
   Modal (quote + generic)
------------------------------------------------------------------------- */
.c-modal {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: var(--z-modal);
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0s linear var(--dur-base);
}

.c-modal.is-open {
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

.c-modal__overlay {
  position: fixed;
  inset: 0;
  background: transparent;
}

.c-modal__dialog {
  position: relative;
  width: min(340px, calc(100vw - 40px));
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 22px 20px;
  opacity: 0;
  transform: translateY(16px) scale(0.96);
  transition:
    opacity var(--dur-base) var(--ease-out),
    transform var(--dur-base) var(--ease-out);
}

.c-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--color-light);
  color: var(--color-dark);
  border: none;
  border-radius: 50%;
  transition:
    background-color var(--dur-fast) var(--ease-out),
    color var(--dur-fast) var(--ease-out);
}

.c-modal__close:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.c-modal__close svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.c-modal__title {
  margin-bottom: 20px;
  padding-right: 32px;
  font-size: 1.05rem;
}

.c-modal__form {
  display: grid;
  gap: 12px;
}

.c-modal__form-row {
  display: grid;
  gap: 12px;
}

.c-modal .c-field__label {
  font-size: 0.78rem;
}

.c-modal .c-field__input,
.c-modal .c-field__select,
.c-modal .c-field__textarea {
  padding: 9px 12px;
  font-size: 0.9rem;
}

.c-modal .c-field__textarea {
  min-height: 88px;
}

.c-modal .c-btn {
  min-height: 40px;
  padding: 10px 20px;
  font-size: 0.85rem;
}

.c-modal__success {
  display: none;
  padding: 10px 14px;
  margin: 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-accent-dark);
  background: var(--color-accent-soft);
  border-radius: var(--radius-md);
}

.c-modal__success.is-visible {
  display: block;
}

.c-modal.is-open .c-modal__dialog {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@media (max-width: 767px) {
  .c-modal {
    right: 16px;
    bottom: 16px;
  }

  .c-modal__dialog {
    width: min(340px, calc(100vw - 32px));
  }

  .c-footer__brand p{
    max-width: 100%;
  }
}

/* Video modal with expand transition */
.c-video-modal {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  pointer-events: none;
}

.c-video-modal.is-open {
  pointer-events: auto;
}

.c-video-modal__surface {
  position: absolute;
  background: #06121e;
}

.c-video-modal__inner {
  position: relative;
  width: min(1200px, 92vw);
  aspect-ratio: 16 / 9;
  z-index: 2;
  opacity: 0;
  transition: opacity var(--dur-slow) var(--ease-out);
}

.c-video-modal.is-open .c-video-modal__inner {
  opacity: 1;
  transition-delay: 0.5s;
}

.c-video-modal__inner video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 12px;
}

.c-video-modal__close {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.14);
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  opacity: 0;
  transition:
    opacity var(--dur-fast) var(--ease-out),
    background-color var(--dur-fast) var(--ease-out);
}

.c-video-modal.is-open .c-video-modal__close {
  opacity: 1;
  transition-delay: 0.6s;
}

.c-video-modal__close:hover {
  background: var(--color-primary);
}

.c-video-modal__close svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* -------------------------------------------------------------------------
   Breadcrumb
------------------------------------------------------------------------- */

.c-breadcrumb__list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.88rem;
}

.c-breadcrumb__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.c-breadcrumb__item a {
  color: var(--color-muted);
}

.c-breadcrumb__item a:hover {
  color: var(--color-primary);
}

.c-breadcrumb__item.is-current {
  color: var(--color-primary);
  font-weight: 600;
}

.c-breadcrumb__separator {
  display: inline-flex;
  color: var(--color-border);
}

.c-breadcrumb__separator svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* -------------------------------------------------------------------------
   Sidebar
------------------------------------------------------------------------- */
.c-sidebar {
  background: var(--color-white);
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.c-sidebar__group {
  border-bottom: 1px solid var(--color-light);
}

.c-sidebar__group:last-child {
  border-bottom: none;
}

.c-sidebar__title-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  transition: background-color var(--dur-fast) var(--ease-out);
}

.c-sidebar__title-wrap:hover {
  background: var(--color-primary-soft);
}

.c-sidebar__title {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-primary);
  transition: color var(--dur-fast) var(--ease-out);
}

.c-sidebar__title:hover {
  color: var(--color-primary);
}

.c-sidebar__expand-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-right: 8px;
  flex-shrink: 0;
  background: transparent;
  border: none;
  border-radius: 50%;
  color: var(--color-muted);
  transition:
    background-color var(--dur-fast) var(--ease-out),
    color var(--dur-fast) var(--ease-out);
}

.c-sidebar__expand-btn:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.c-sidebar__expand-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  transition: transform var(--dur-base) var(--ease-out);
}

.c-sidebar__group.is-expanded .c-sidebar__expand-btn svg {
  transform: rotate(180deg);
}

.c-sidebar__sub-list {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  background: var(--color-off-white);
  transition:
    max-height var(--dur-base) var(--ease-out),
    opacity var(--dur-base) var(--ease-out);
}

.c-sidebar__group.is-expanded .c-sidebar__sub-list {
  max-height: 500px;
  opacity: 1;
}

.c-sidebar__link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 22px 11px 40px;
  font-size: 0.92rem;
  color: var(--color-muted);
  border-left: 3px solid transparent;
  transition:
    color var(--dur-fast) var(--ease-out),
    background-color var(--dur-fast) var(--ease-out),
    border-color var(--dur-fast) var(--ease-out),
    padding-left var(--dur-fast) var(--ease-out);
}

.c-sidebar__link::before {
  content: "";
  width: 5px;
  height: 5px;
  flex-shrink: 0;
  background: currentColor;
  border-radius: 50%;
  opacity: 0.5;
}

.c-sidebar__link:hover,
.c-sidebar__link.is-active {
  color: var(--color-primary);
  background: var(--color-primary-soft);
  border-left-color: var(--color-primary);
  padding-left: 46px;
}

.c-sidebar__cta {
  margin: 20px 22px 22px;
  padding: 24px;
  text-align: center;
  background: linear-gradient(
    135deg,
    var(--color-primary),
    var(--color-primary-dark)
  );
  border-radius: var(--radius-md);
  color: var(--color-white);
}

.c-sidebar__cta-title {
  margin-bottom: 10px;
  font-size: 1.1rem;
  color: var(--color-white);
}

.c-sidebar__cta p {
  margin-bottom: 18px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
}

/* Mobile sidebar: fixed slide-in */
.c-sidebar__close,
.c-sidebar__toggle,
.c-sidebar__overlay {
  display: none;
}

@media (max-width: 767px) {
  .c-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    z-index: var(--z-sidebar);
    width: min(320px, 84vw);
    height: 100vh;
    height: 100dvh;
    overflow-y: auto;
    border: none;
    border-radius: 0;
    transform: translateX(-100%);
    transition: transform var(--dur-slow) var(--ease-out);
  }

  .c-sidebar.is-open {
    transform: translateX(0);
    padding-top: 70px;
  }

  .c-sidebar__close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--color-light);
    color: var(--color-dark);
    border: none;
    border-radius: 50%;
  }

  .c-sidebar__close svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
  }

  .c-sidebar__toggle {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: var(--z-sidebar);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: var(--color-primary);
    color: var(--color-white);
    border: none;
    border-radius: 50%;
    box-shadow: var(--shadow-primary);
    transition:
      opacity var(--dur-fast) var(--ease-out),
      transform var(--dur-fast) var(--ease-out);
  }

  .c-sidebar__toggle svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
  }

  .c-sidebar__toggle.is-hidden {
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8);
  }

  .c-sidebar__overlay {
    position: fixed;
    inset: 0;
    z-index: calc(var(--z-sidebar) - 1);
    background: rgba(14, 34, 51, 0.55);
    opacity: 0;
    visibility: hidden;
    transition:
      opacity var(--dur-base) var(--ease-out),
      visibility var(--dur-base) var(--ease-out);
  }

  .c-sidebar__overlay.is-visible {
    display: block;
    opacity: 1;
    visibility: visible;
  }
}

/* -------------------------------------------------------------------------
   FAQ
------------------------------------------------------------------------- */
.c-faq__item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-white);
  overflow: hidden;
}

.c-faq__item + .c-faq__item {
  margin-top: 14px;
}

.c-faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 20px 24px;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--color-dark);
  background: transparent;
  border: none;
}

.c-faq__question:hover {
  color: var(--color-primary);
}

.c-faq__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  color: var(--color-primary);
  background: var(--color-primary-soft);
  border-radius: 50%;
  transition:
    transform var(--dur-base) var(--ease-out),
    background-color var(--dur-base) var(--ease-out),
    color var(--dur-base) var(--ease-out);
}

.c-faq__icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.c-faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--dur-base) var(--ease-out);
}

.c-faq__answer-inner {
  padding: 0 24px 22px;
  color: var(--color-muted);
}

.c-faq__item.is-open .c-faq__icon {
  transform: rotate(45deg);
  background: var(--color-accent);
  color: var(--color-white);
}

.c-faq__item.is-open .c-faq__answer {
  max-height: 400px;
}

/* -------------------------------------------------------------------------
   Tabs
------------------------------------------------------------------------- */
.c-tabs__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.c-tabs__btn {
  padding: 12px 24px;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-muted);
  background: var(--color-light);
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  transition:
    background-color var(--dur-fast) var(--ease-out),
    color var(--dur-fast) var(--ease-out),
    border-color var(--dur-fast) var(--ease-out);
}

.c-tabs__btn:hover {
  color: var(--color-primary);
}

.c-tabs__btn.is-active {
  background: var(--color-primary);
  color: var(--color-white);
}

.c-tabs__panel {
  display: none;
}

.c-tabs__panel.is-active {
  display: block;
  animation: tabsFadeIn var(--dur-base) var(--ease-out);
}

@keyframes tabsFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* -------------------------------------------------------------------------
   Carousel
------------------------------------------------------------------------- */
.c-carousel {
  position: relative;
}

.c-carousel__viewport {
  overflow: hidden;
}

.c-carousel__track {
  display: flex;
  transition: transform var(--dur-slow) var(--ease-in-out);
}

.c-carousel__slide {
  flex: 0 0 100%;
  padding-inline: 8px;
}

.c-carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--color-white);
  color: var(--color-primary);
  border: none;
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  transition:
    background-color var(--dur-fast) var(--ease-out),
    color var(--dur-fast) var(--ease-out),
    opacity var(--dur-fast) var(--ease-out),
    visibility var(--dur-fast) var(--ease-out);
}

.c-carousel__btn:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.c-carousel__btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.c-carousel__btn--prev {
  left: 15px;
}

.c-carousel__btn--next {
  right: 15px;
}

.c-carousel__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.c-carousel__dot {
  width: 9px;
  height: 9px;
  padding: 0;
  background: var(--color-border);
  border: none;
  border-radius: var(--radius-pill);
  transition:
    background-color var(--dur-fast) var(--ease-out),
    width var(--dur-fast) var(--ease-out);
}

.c-carousel__dot.is-active {
  width: 26px;
  background: var(--color-primary);
}

/* -------------------------------------------------------------------------
   Pagination
------------------------------------------------------------------------- */
.c-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 48px;
}

.c-pagination__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 8px;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-text);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition:
    background-color var(--dur-fast) var(--ease-out),
    color var(--dur-fast) var(--ease-out),
    border-color var(--dur-fast) var(--ease-out);
}

.c-pagination__btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.c-pagination__btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
}

.c-pagination__btn.is-active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
}

.c-pagination__btn.is-disabled {
  pointer-events: none;
  opacity: 0.4;
}

@media (min-width: 480px) {
  .c-pagination__btn:nth-child(n + 8) {
    display: none;
  }
}

/* -------------------------------------------------------------------------
   Product card
------------------------------------------------------------------------- */
.c-product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition:
    transform var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out);
}

.c-product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.c-product-card__link {
  position: static;
}

.c-product-card__link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
}

.c-product-card__img-wrap {
  position: relative;
  /* aspect-ratio: 4 / 3; */
  overflow: hidden;
  background: var(--color-light);
}

.c-product-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}

.c-product-card:hover .c-product-card__img {
  transform: scale(1.06);
}

.c-product-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px;
}

.c-product-card__category {
  margin-bottom: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.c-product-card__title {
  margin-bottom: 10px;
  font-size: 1.12rem;
  font-weight: 700;
}

.c-product-card__desc {
  flex: 1;
  margin-bottom: 18px;
  font-size: 0.92rem;
  color: var(--color-muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.c-product-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-primary);
}

.c-product-card__btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  transition: transform var(--dur-fast) var(--ease-out);
}

.c-product-card:hover .c-product-card__btn svg {
  transform: translateX(4px);
}

/* -------------------------------------------------------------------------
   Blog cards
------------------------------------------------------------------------- */
.c-blog-item {
  position: relative;
  display: flex;
  padding: 20px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition:
    transform var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out);
}

.c-blog-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.c-blog-item__link {
  position: static;
}

.c-blog-item__link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
}

.c-blog-item__img-wrap {
  flex: 0 0 40%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--color-light);
}

.c-blog-item__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}

.c-blog-item:hover .c-blog-item__img {
  transform: scale(1.06);
}

.c-blog-item__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-left: 24px;
}

.c-blog-item__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 0.82rem;
  color: var(--color-muted);
}

.c-blog-item__date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.c-blog-item__date svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.c-blog-item__category {
  color: var(--color-accent);
  font-weight: 600;
}

.c-blog-item__title {
  margin-bottom: 10px;
  font-size: 1.1rem;
  font-weight: 700;
}

.c-blog-item__excerpt {
  margin-bottom: 0;
  font-size: 0.92rem;
  color: var(--color-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.c-blog-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition:
    transform var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out);
}

.c-blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.c-blog-card__link {
  position: static;
}

.c-blog-card__link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
}

.c-blog-card__img-wrap {
  /* aspect-ratio: 16 / 10; */
  overflow: hidden;
  background: var(--color-light);
}

.c-blog-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}

.c-blog-card:hover .c-blog-card__img {
  transform: scale(1.06);
}

.c-blog-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px;
}

.c-blog-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 0.82rem;
  color: var(--color-muted);
}

.c-blog-card__title {
  margin-bottom: 10px;
  font-size: 1.1rem;
  font-weight: 700;
}

.c-blog-card__excerpt {
  flex: 1;
  margin-bottom: 16px;
  font-size: 0.92rem;
  color: var(--color-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.c-blog-card__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-primary);
}

.c-blog-card__more svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  transition: transform var(--dur-fast) var(--ease-out);
}

.c-blog-card:hover .c-blog-card__more svg {
  transform: translateX(4px);
}
form.fluent_form_1 .ff-btn-submit:not(.ff_btn_no_style){
  background-color: var(--color-primary) !important;
}
@media (max-width: 768px) {
  .c-blog-item {
    flex-direction: column;
  }
  .c-blog-item__img-wrap {
    margin-bottom: 20px;
  }
  .c-blog-item__img-wrap {
    flex: 1;
  }
  .c-blog-item__body {
    margin-left: 0;
  }
  .c-header__logo img,
  .c-footer__logo img {
    height: 50px;
  }
}
/* ==========================================================================
   SEO 发布说明区域 (.l-section.seo-section) 专属重构 CSS
   ========================================================================== */

/* 1. 外层 section 布局与多列网格排版 */
.l-section.seo-section {
  width: 100%;
  max-width: var(--container-max, 1600px);
  margin: 0 auto;
  padding: 0 var(--gutter-desktop, 3vw) var(--section-pad-desktop, 60px);
  box-sizing: border-box;
  display: grid;
  gap: 50px;
  align-items: stretch;
}

/* 2. 独立卡片容器 (.seo-container) */
.l-section.seo-section .seo-container {
  background-color: var(--color-white, #ffffff);
  border: 1px solid var(--color-border, #e2e8ee);
  border-radius: var(--radius-lg, 16px);
  box-shadow: var(--shadow-sm, 0 1px 3px rgba(14, 34, 51, 0.08));
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--dur-base, 0.35s) var(--ease-out, cubic-bezier(0.22, 1, 0.36, 1)),
              box-shadow var(--dur-base, 0.35s) var(--ease-out, cubic-bezier(0.22, 1, 0.36, 1)),
              border-color var(--dur-base, 0.35s) var(--ease-out, cubic-bezier(0.22, 1, 0.36, 1));
}

.l-section.seo-section .seo-container:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md, 0 8px 24px rgba(14, 34, 51, 0.1));
  border-color: var(--color-accent, #0d9488);
}

/* 3. 内层容器间距规范 (.container) */
.l-section.seo-section .seo-container .container {
  padding: var(--space-8, 32px);
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
}

/* 4. 标题 (H2) 品牌风格重构 */
.l-section.seo-section h2 {
  font-family: var(--font-heading, Arial), sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-dark, #0e2233);
  margin-top: 0;
  margin-bottom: 16px;
  padding-bottom: 10px;
  padding-left: 12px;
  border-left: 4px solid var(--color-primary, #004b87);
  border-bottom: 1px solid var(--color-border, #e2e8ee);
  line-height: 1.4;
  letter-spacing: -0.01em;
  position: relative;
}

.l-section.seo-section h2::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  width: 32px;
  height: 2px;
  background-color: var(--color-accent, #0d9488);
}

/* 5. 正文与段落文本排版 */
.l-section.seo-section p,
.l-section.seo-section div {
  font-family: var(--font-body, Arial), sans-serif;
  font-size: 0.95rem;
  color: var(--color-muted, #5a6b7a);
  line-height: 1.75;
  margin: 0;
  flex-grow: 1;
}

/* 6. 响应式移动端与平板端断点适配 */
@media (max-width: 1024px) {
  .l-section.seo-section {
    padding: 0 var(--gutter-desktop, 3vw) var(--section-pad-tablet, 50px);
  }
}

@media (max-width: 768px) {
  .l-section.seo-section {
    padding: 0 var(--gutter-mobile, 5vw) var(--section-pad-mobile, 40px);
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .l-section.seo-section .seo-container .container {
    padding: 24px;
  }

  .l-section.seo-section h2 {
    font-size: 1.05rem;
    margin-bottom: 12px;
    padding-left: 10px;
  }

  .l-section.seo-section p,
  .l-section.seo-section div {
    font-size: 0.9rem;
  }
}
.wp-block-table td, .wp-block-table th{
  border: none !important;
}