/* CRE shared header/footer — matches Elementor chrome look */
@font-face {
  font-family: "PT Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../../wp-content/uploads/2025/05/PTSans-Regular.ttf") format("truetype");
}
@font-face {
  font-family: "PT Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../../wp-content/uploads/2025/05/PTSans-Bold-1.ttf") format("truetype");
}
@font-face {
  font-family: "PT Sans";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../../wp-content/uploads/2025/05/PTSans-Italic-1.ttf") format("truetype");
}

:root {
  --cre-green: #0c4133;
  --cre-mint: #29c4a9;
  --cre-mint-soft: #aad7cb;
  --cre-cream: #fffaed;
  --cre-gray: #ebebeb;
  --cre-text: #1a1a1a;
  --cre-white: #ffffff;
  --cre-radius-pill: 999px;
  --cre-header-h: 88px;
  --cre-font: "PT Sans", "Segoe UI", sans-serif;
}

.cre-header,
.cre-footer,
.cre-header *,
.cre-footer * {
  box-sizing: border-box;
}

.cre-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbf9 100%);
  border-bottom: 1px solid rgba(12, 65, 51, 0.08);
  font-family: var(--cre-font);
}

.cre-header__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 24px;
  min-height: var(--cre-header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cre-header__left {
  display: flex;
  align-items: center;
  gap: 28px;
  min-width: 0;
  flex: 1;
}

.cre-header__logo img {
  display: block;
  width: 150px;
  height: auto;
}

.cre-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cre-nav__list > li {
  position: relative;
}

.cre-nav__list > li > a {
  display: inline-flex;
  align-items: center;
  padding: 10px 12px;
  color: var(--cre-green);
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  border-radius: 6px;
  transition: color 0.2s ease, background 0.2s ease;
}

.cre-nav__list > li > a:hover,
.cre-nav__list > li > a.is-active {
  color: var(--cre-mint);
}

.cre-dropdown {
  display: none;
  position: absolute;
  top: calc(100% - 2px);
  left: 0;
  min-width: 240px;
  margin: 0;
  padding: 10px 0;
  list-style: none;
  background: var(--cre-white);
  border: 1px solid var(--cre-gray);
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(12, 65, 51, 0.12);
  z-index: 20;
}

.cre-nav__list > li.has-dropdown:hover > .cre-dropdown,
.cre-nav__list > li.has-dropdown:focus-within > .cre-dropdown {
  display: block;
}

.cre-dropdown a {
  display: block;
  padding: 10px 16px;
  color: var(--cre-green);
  text-decoration: none;
  font-size: 15px;
  font-weight: 400;
}

.cre-dropdown a:hover {
  background: rgba(170, 215, 203, 0.35);
  color: var(--cre-mint);
}

.cre-header__right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.cre-kiyoh img {
  display: block;
  height: 42px;
  width: auto;
  border-radius: 4px;
}

.cre-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--cre-radius-pill);
  font-family: var(--cre-font);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.cre-btn:hover {
  transform: translateY(-1px);
}

.cre-btn--outline {
  color: var(--cre-green);
  border-color: var(--cre-green);
  background: transparent;
}

.cre-btn--outline:hover {
  background: var(--cre-green);
  color: var(--cre-white);
}

.cre-btn--solid {
  color: var(--cre-white);
  background: var(--cre-mint);
  border-color: var(--cre-mint);
}

.cre-btn--solid:hover {
  background: #22b197;
  border-color: #22b197;
}

.cre-btn--cream {
  color: var(--cre-green);
  background: var(--cre-cream);
  border-color: var(--cre-cream);
}

.cre-btn--cream:hover {
  background: #fff6db;
}

.cre-burger {
  display: none;
  box-sizing: border-box;
  width: 44px;
  height: 44px;
  padding: 0;
  margin: 0;
  border: 0 !important;
  border-radius: 8px !important;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  color: #0c4133 !important;
  opacity: 1 !important;
  visibility: visible !important;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  align-items: center;
  justify-content: center;
}

.cre-burger__icon {
  display: block !important;
  width: 26px !important;
  height: 26px !important;
  fill: currentColor !important;
  color: #0c4133 !important;
  opacity: 1 !important;
  visibility: visible !important;
  flex-shrink: 0;
}

.cre-offcanvas {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(12, 65, 51, 0.45);
}

.cre-offcanvas[hidden] {
  display: none !important;
}

.cre-offcanvas__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(360px, 92vw);
  height: 100%;
  background: var(--cre-white);
  padding: 24px 20px 40px;
  overflow: auto;
  font-family: var(--cre-font);
  box-shadow: -8px 0 30px rgba(0, 0, 0, 0.15);
}

.cre-offcanvas__close {
  position: absolute;
  top: 12px;
  right: 14px;
  border: 0;
  background: transparent;
  font-size: 32px;
  line-height: 1;
  color: var(--cre-green);
  cursor: pointer;
}

.cre-offcanvas__ctas {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 36px 0 24px;
}

.cre-offcanvas nav ul {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
}

.cre-offcanvas nav a {
  display: block;
  padding: 12px 4px;
  color: var(--cre-green);
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
  border-bottom: 1px solid var(--cre-gray);
}

.cre-offcanvas__promo {
  color: var(--cre-green);
  font-size: 16px;
  margin: 0 0 14px;
}

/* Footer */
.cre-footer {
  background: var(--cre-green);
  color: var(--cre-mint-soft);
  font-family: var(--cre-font);
  padding: 56px 24px 28px;
}

.cre-footer__inner {
  max-width: 1160px;
  margin: 0 auto;
}

.cre-footer__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.cre-footer__cta-title {
  margin: 0;
  color: var(--cre-cream);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  line-height: 1.25;
}

.cre-footer__rule {
  border: 0;
  border-top: 1px solid rgba(170, 215, 203, 0.28);
  margin: 0 0 28px;
}

.cre-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 28px;
}

.cre-footer h3 {
  margin: 0 0 14px;
  color: var(--cre-cream);
  font-size: 18px;
  font-weight: 700;
}

.cre-footer p {
  margin: 0;
  line-height: 1.6;
  font-size: 15px;
}

.cre-footer a {
  color: var(--cre-mint-soft);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cre-footer a:hover {
  color: var(--cre-cream);
}

.cre-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cre-footer__links li + li {
  margin-top: 8px;
}

.cre-footer__links a {
  text-decoration: none;
  font-size: 15px;
}

.cre-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  font-size: 14px;
}

.cre-footer__bottom ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 18px;
}

.cre-footer__bottom a {
  text-decoration: none;
}

@media (max-width: 1100px) {
  .cre-nav {
    display: none;
  }
  .cre-kiyoh {
    display: none;
  }
  .cre-header__right .cre-btn {
    display: none !important;
  }
  .cre-burger {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 800px) {
  .cre-footer__grid {
    grid-template-columns: 1fr;
  }
  .cre-footer__cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Homepage Phase 1 refinements */
.elementor-2525 .elementor-element-5ef9908 {
  --spacer-size: 72px !important;
}
.elementor-2525 .elementor-element-5ef9908 .elementor-spacer-inner {
  height: 72px !important;
}
@media (max-width: 1024px) {
  .elementor-2525 .elementor-element-5ef9908 {
    --spacer-size: 56px !important;
  }
  .elementor-2525 .elementor-element-5ef9908 .elementor-spacer-inner {
    height: 56px !important;
  }
}
.elementor-2525 .elementor-element-herosupport1 {
  width: 100% !important;
  text-align: center !important;
  margin-top: 0.75rem;
}
.elementor-2525 .elementor-element-herosupport1 .elementor-heading-title {
  font-size: 1.05rem !important;
  line-height: 1.45 !important;
  max-width: 36rem;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
  opacity: 0.92;
}
.elementor-2525 .elementor-element-12a67f1 .elementor-heading-title {
  font-size: clamp(1.75rem, 3.2vw, 2.45rem) !important;
  line-height: 1.2 !important;
  max-width: 22ch;
  margin-left: auto !important;
  margin-right: auto !important;
}
.elementor-2525 .elementor-element-creherobrand {
  width: 100% !important;
  text-align: center !important;
  margin-top: 0.4rem;
}
.elementor-2525 .cre-hero-brand,
.elementor-2525 .elementor-element-creherobrand .elementor-heading-title {
  color: #1a8f7a !important;
  font-size: clamp(1.05rem, 1.8vw, 1.35rem) !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em;
  line-height: 1.3 !important;
  margin: 0 auto !important;
}
.elementor-2525 .elementor-element-382f9cc:not(.elementor-motion-effects-element-type-background),
.elementor-2525 .elementor-element-382f9cc > .elementor-motion-effects-container > .elementor-motion-effects-layer {
  background-color: #ffe4b8 !important;
}
.elementor-2525 .elementor-element-871f5ae .elementor-heading-title {
  font-size: clamp(1.5rem, 2.5vw, 2.1rem) !important;
}
.elementor-2525 .elementor-element-422be73 {
  min-height: 360px;
}
.elementor-2525 .elementor-element-typescases1 {
  width: 100%;
  margin-bottom: 1rem;
  text-align: center !important;
}
.elementor-2525 .elementor-element-typescases1 .elementor-heading-title {
  text-align: center !important;
  width: 100%;
}

/* Worldwide support — country flags */
.cre-country-flag {
  display: block;
  width: 48px;
  height: auto;
  border-radius: 4px;
  object-fit: cover;
  box-shadow: 0 1px 3px rgba(12, 65, 51, 0.12);
}

.cre-country-cta {
  text-align: center;
}

/* Recovery page — live chat CTA matches normal button width */
.elementor-element-cre-livechat {
  width: auto !important;
  max-width: max-content;
  align-self: flex-start;
  text-align: left;
}

.elementor-element-cre-livechat .elementor-button {
  width: auto !important;
  display: inline-flex;
}

/* Homepage hero CTAs — stack, compact, centered on mobile */
@media (max-width: 767px) {
  .elementor-2525 .elementor-element-b65dbb6 {
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .elementor-2525 .elementor-element-b65dbb6 > .elementor-element {
    width: auto !important;
    max-width: 100% !important;
    margin: 0 !important;
    align-self: center !important;
  }

  .elementor-2525 .elementor-element-00bceae,
  .elementor-2525 .elementor-element-a385204 {
    text-align: center !important;
  }

  .elementor-2525 .elementor-element-00bceae .elementor-button,
  .elementor-2525 .elementor-element-a385204 .elementor-button,
  .elementor-2525 .elementor-element-00bceae.elementor-mobile-align-justify .elementor-button,
  .elementor-2525 .elementor-element-a385204.elementor-mobile-align-justify .elementor-button {
    width: auto !important;
    min-width: 12.5rem;
    max-width: 15.5rem;
    margin-left: auto !important;
    margin-right: auto !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 11px 22px !important;
    font-size: 14px !important;
    line-height: 1.25 !important;
    min-height: 0 !important;
  }

  .elementor-2525 .elementor-element-00bceae .elementor-button-content-wrapper,
  .elementor-2525 .elementor-element-a385204 .elementor-button-content-wrapper {
    justify-content: center !important;
    width: 100%;
    text-align: center !important;
  }

  .elementor-2525 .elementor-element-00bceae .elementor-button-text,
  .elementor-2525 .elementor-element-a385204 .elementor-button-text {
    text-align: center !important;
  }

  .elementor-2525 .elementor-element-00bceae .elementor-button-icon,
  .elementor-2525 .elementor-element-a385204 .elementor-button-icon {
    display: none !important;
  }
}

/* Recovery form — side-by-side on desktop, full width on mobile */
.elementor-809 .cre-form-col {
  min-width: 0;
}

.cre-form-section {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.cre-form-section .cre-invoice-form-wrap,
.cre-form-section .cre-ms-form {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

@media (max-width: 1024px) {
  .elementor-809 .elementor-element-4867603 > .e-con-inner,
  .elementor-809 .elementor-element-36dfcae {
    flex-direction: column !important;
    flex-wrap: nowrap !important;
  }

  .elementor-809 .elementor-element-36dfcae,
  .elementor-809 .elementor-element-6dda5a2,
  .elementor-809 .elementor-element-08a6f24,
  .elementor-809 .cre-form-col {
    --width: 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    flex: 1 1 100% !important;
    align-self: stretch !important;
  }

  .elementor-809 .elementor-element-4867603 > .e-con-inner {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .cre-form-section {
    width: 100%;
    max-width: 100%;
    padding: 0 0 28px;
  }
}
