/* ==========================================================
   XTC Components — buttons, cards, header, footer, fixed UI
   ========================================================== */

/* ----------------------------------------------------------
   1. BUTTONS
   ---------------------------------------------------------- */
.xtc-btn,
.xtc-contact-form__submit,
.xtc-newsletter-form__submit,
.xtc-site-footer__review,
.xtc-cookie-settings-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35em;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  text-decoration: none !important;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
  box-shadow: none;
}

.xtc-btn--primary,
.xtc-contact-form__submit,
.xtc-newsletter-form__submit {
  background: var(--xtc-accent);
  color: #ffffff !important;
  border-color: var(--xtc-accent-3);
  box-shadow: 0 3px 10px rgba(41, 92, 69, 0.14);
}

.xtc-btn--primary:hover,
.xtc-btn--primary:focus-visible,
.xtc-contact-form__submit:hover,
.xtc-contact-form__submit:focus-visible,
.xtc-newsletter-form__submit:hover,
.xtc-newsletter-form__submit:focus-visible {
  background: var(--xtc-accent-3);
  border-color: var(--xtc-accent-3);
  color: #ffffff !important;
  box-shadow: 0 8px 18px rgba(41, 92, 69, 0.20);
  outline: none;
}

.xtc-btn--secondary {
  background: var(--xtc-surface-1);
  color: var(--xtc-accent-3) !important;
  border-color: rgba(41, 92, 69, 0.18);
}

.xtc-btn--secondary:hover,
.xtc-btn--secondary:focus-visible {
  background: #fdfaf4;
  border-color: rgba(41, 92, 69, 0.26);
  outline: none;
}

.xtc-btn--ghost {
  background: transparent;
  color: var(--xtc-accent) !important;
  border-color: rgba(41, 92, 69, 0.22);
}

.xtc-btn--ghost:hover,
.xtc-btn--ghost:focus-visible {
  background: rgba(41, 92, 69, 0.05);
  border-color: rgba(41, 92, 69, 0.30);
  outline: none;
}

.xtc-btn--sm {
  min-height: 38px;
  padding: 0 14px;
  font-size: 0.88rem;
}

/* ----------------------------------------------------------
   2. SHARED CARDS / PANELS
   ---------------------------------------------------------- */
.xtc-card,
.xtc-step,
.xtc-stat,
.xtc-contact-box,
.xtc-faq details,
.xtc-shell .wp-block-jetpack-contact-form,
.xtc-article-cta,
.xtc-related-links {
  border: 1px solid var(--xtc-border);
  border-radius: var(--xtc-radius);
  background: var(--xtc-surface-1);
  box-shadow: var(--xtc-shadow-soft);
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
}

.xtc-card {
  background: var(--xtc-surface-1);
  box-shadow: var(--xtc-shadow-soft);
}

.xtc-card,
.xtc-step,
.xtc-stat {
  padding: clamp(20px, 2.6vw, 24px);
}

.xtc-contact-box {
  padding: clamp(20px, 2.4vw, 22px);
}

.xtc-faq details {
  padding: 20px 22px;
  box-shadow: var(--xtc-shadow-soft);
}

.xtc-shell .wp-block-jetpack-contact-form {
  padding: clamp(22px, 2.8vw, 28px);
}

.xtc-article-cta,
.xtc-related-links {
  padding: clamp(22px, 2.6vw, 26px);
}

.xtc-card:hover,
.xtc-step:hover,
.xtc-stat:hover,
.xtc-contact-box:hover {
  border-color: rgba(41, 92, 69, 0.18);
  box-shadow: 0 6px 16px rgba(20, 18, 14, 0.06);
  transform: none;
}

.xtc-card::before,
.xtc-step::before,
.xtc-stat::before,
.xtc-contact-box::before,
.xtc-faq details::before {
  display: none;
}

.xtc-card h3,
.xtc-step h3,
.xtc-stat strong {
  margin-bottom: 8px;
}

.xtc-card p,
.xtc-step p,
.xtc-contact-box p {
  margin-bottom: 0;
}

.xtc-grid > .xtc-card,
.xtc-trust-grid > .xtc-card,
.xtc-metrics > .xtc-stat {
  height: 100%;
  box-sizing: border-box;
}

.xtc-article-card {
  border: 1px solid var(--xtc-border);
  border-radius: var(--xtc-radius);
  background: var(--xtc-surface-1);
  overflow: hidden;
  box-shadow: var(--xtc-shadow-soft);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.xtc-article-card:hover {
  border-color: rgba(41, 92, 69, 0.16);
  box-shadow: var(--xtc-shadow-md);
}

.xtc-social-proof__reviews {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: var(--xtc-space-5);
}

.xtc-social-proof__review {
  margin: 0;
  padding: var(--xtc-space-4);
  border: 1px solid rgba(41, 92, 69, 0.16);
  border-radius: var(--xtc-radius);
  background: var(--xtc-surface-1);
  box-shadow: var(--xtc-shadow-soft);
  display: flex;
  flex-direction: column;
  gap: var(--xtc-space-2);
}

.xtc-shell .wp-block-jetpack-contact-form {
  background: linear-gradient(180deg, var(--xtc-surface-1) 0%, var(--xtc-surface-2) 100%);
  border-color: var(--xtc-border);
}

.xtc-social-proof__review {
  border-color: rgba(41, 92, 69, 0.18);
  box-shadow: 0 5px 14px rgba(17, 24, 39, 0.06);
}

.xtc-social-proof__stars {
  margin: 0;
  font-size: 0.9rem;
  color: #c49a22;
  letter-spacing: 0.04em;
}

.xtc-social-proof__text {
  margin: 0;
  font-size: 0.95rem;
  color: var(--xtc-ink-strong);
  line-height: 1.62;
  font-style: italic;
}

.xtc-social-proof__author {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--xtc-muted);
}

.xtc-social-proof__cta {
  margin-top: var(--xtc-space-4);
  font-size: 0.94rem;
}

/* ----------------------------------------------------------
   3. FAQ / CONTENT PANELS
   ---------------------------------------------------------- */
.xtc-faq details {
  transition: border-color 0.16s ease, background-color 0.16s ease;
}

.xtc-faq details[open] {
  background: var(--xtc-surface-1);
  border-color: rgba(41, 92, 69, 0.2);
}

.xtc-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--xtc-ink-strong);
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.xtc-faq summary::-webkit-details-marker {
  display: none;
}

.xtc-faq summary::after {
  content: "+";
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--xtc-border);
  background: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  color: var(--xtc-accent);
  transition: transform 0.18s ease, background-color 0.18s ease;
}

.xtc-faq details[open] summary::after {
  content: "−";
  background: var(--xtc-surface-soft);
  border-color: rgba(41, 92, 69, 0.20);
}

.xtc-faq summary:hover {
  color: var(--xtc-accent);
}

.xtc-faq p {
  margin: 16px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--xtc-border);
  color: var(--xtc-muted);
  font-size: 0.96rem;
  line-height: 1.65;
}

/* ----------------------------------------------------------
   4. CONTACT FORM
   ---------------------------------------------------------- */
.xtc-contact-form {
  display: grid;
  gap: 16px;
}

.xtc-contact-form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.xtc-contact-form label,
.xtc-shell .wp-block-jetpack-contact-form label {
  display: grid;
  gap: 7px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--xtc-ink-strong);
}

.xtc-contact-form input,
.xtc-contact-form textarea,
.xtc-shell .wp-block-jetpack-contact-form input,
.xtc-shell .wp-block-jetpack-contact-form textarea,
.xtc-shell .wp-block-jetpack-contact-form select,
.xtc-newsletter-form input[type="email"] {
  width: 100%;
  box-sizing: border-box;
  min-height: 48px;
  padding: 13px 15px;
  border: 1px solid rgba(41, 92, 69, 0.18);
  border-radius: var(--xtc-radius-sm);
  background: #f7f4ee;
  color: var(--xtc-ink-strong);
  font: inherit;
  font-size: 0.96rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
}

.xtc-contact-form button[type="submit"],
.xtc-newsletter-form button[type="submit"],
.xtc-shell .wp-block-jetpack-contact-form button[type="submit"],
.xtc-shell .wp-block-jetpack-contact-form .wp-block-button__link {
  transition:
    background-color 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    opacity 0.18s ease;
}

.xtc-contact-form textarea,
.xtc-shell .wp-block-jetpack-contact-form textarea {
  min-height: 190px;
  resize: vertical;
}

.xtc-contact-form input:focus,
.xtc-contact-form textarea:focus,
.xtc-shell .wp-block-jetpack-contact-form input:focus,
.xtc-shell .wp-block-jetpack-contact-form textarea:focus,
.xtc-shell .wp-block-jetpack-contact-form select:focus,
.xtc-newsletter-form input[type="email"]:focus {
  outline: none;
  border-color: var(--xtc-accent);
  background: var(--xtc-surface-1);
  box-shadow: 0 0 0 3px rgba(41, 92, 69, 0.10);
}

.xtc-contact-form__reassurance,
.xtc-contact-form__status,
.xtc-contact-form__fallback-phone {
  font-size: 0.94rem;
}

.xtc-contact-form__status {
  padding: 10px 12px;
  border: 1px solid var(--xtc-border);
  border-radius: 10px;
  line-height: 1.55;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.xtc-contact-form__status--success {
  background: #edf8f0;
  border-color: #b9d7c0;
  color: #214a31;
}

.xtc-contact-form__status--error {
  background: #fff3f1;
  border-color: #e0b8b1;
  color: #7a2a2a;
}

/* ----------------------------------------------------------
   5. HEADER / NAV / LOGO
   ---------------------------------------------------------- */
#masthead.site-header {
  position: sticky;
  top: 0;
  z-index: var(--xtc-z-header);
  width: min(var(--xtc-container-wide), calc(100% - (2 * var(--xtc-container-gutter))));
  margin: 0 auto;
  box-sizing: border-box;
  padding: 12px clamp(16px, 2vw, 20px);
  min-height: var(--xtc-header-height);
  display: flex;
  align-items: center;
  gap: 18px;
  background: rgba(245, 241, 232, 0.92);
  border: 1px solid rgba(229, 225, 216, 0.92);
  border-top: 0;
  border-radius: 0 0 var(--xtc-radius-lg) var(--xtc-radius-lg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: none;
  transition: box-shadow 0.18s ease, background-color 0.18s ease;
}

#masthead.site-header.is-scrolled {
  box-shadow: 0 4px 14px rgba(20, 18, 14, 0.07);
}

#masthead .site-branding {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  max-width: 248px;
  min-width: 0;
}

#masthead .custom-logo-link {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  text-decoration: none;
}

#masthead .custom-logo-link img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 66px;
  height: auto;
  filter: none;
  opacity: 1;
}

#masthead .site-title,
#masthead .site-description {
  margin: 0;
}

#masthead .menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  margin-left: auto;
  padding: 0;
  border: 1px solid var(--xtc-border-soft);
  border-radius: 10px;
  background: var(--xtc-surface-2);
  color: var(--xtc-ink-strong);
  box-shadow: none;
}

#masthead .menu-toggle:hover,
#masthead .menu-toggle:focus-visible {
  background: var(--xtc-surface-1);
  border-color: rgba(41, 92, 69, 0.22);
  outline: none;
}

#masthead .menu-toggle .dashicons {
  position: relative;
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  font-size: 0;
}

#masthead .menu-toggle .dashicons::before,
#masthead .menu-toggle .dashicons::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.16s ease, opacity 0.16s ease;
}

#masthead .menu-toggle .dashicons::before {
  top: -6px;
}

#masthead .menu-toggle .dashicons::after {
  top: 6px;
}

#masthead.is-menu-open .menu-toggle .dashicons {
  background: transparent;
}

#masthead.is-menu-open .menu-toggle .dashicons::before {
  transform: translateY(6px) rotate(45deg);
}

#masthead.is-menu-open .menu-toggle .dashicons::after {
  transform: translateY(-6px) rotate(-45deg);
}

#site-navigation {
  margin-left: auto;
}

#site-navigation .menu {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

#site-navigation .menu > li > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  color: var(--xtc-ink-strong);
  font-size: 0.94rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.18s ease, color 0.18s ease;
}

#site-navigation .menu > li > a:hover,
#site-navigation .menu > li > a:focus-visible,
#site-navigation .menu > li.current-menu-item > a,
#site-navigation .menu > li.current-menu-ancestor > a {
  background: rgba(41, 92, 69, 0.06);
  color: var(--xtc-accent);
  outline: none;
}

#site-navigation .menu > li.menu-item-has-children {
  position: relative;
}

#site-navigation .menu > li.menu-item-has-children > a {
  justify-content: flex-start;
}

#site-navigation .xtc-submenu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-left: 4px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--xtc-ink-strong);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: background-color 0.16s ease, color 0.16s ease;
}

#site-navigation .xtc-submenu-toggle::before {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  transition: transform 0.16s ease;
}

#site-navigation .xtc-submenu-toggle:hover,
#site-navigation .xtc-submenu-toggle:focus-visible,
#site-navigation .menu-item-has-children.is-open > .xtc-submenu-toggle {
  background: rgba(41, 92, 69, 0.06);
  color: var(--xtc-accent);
  outline: none;
}

#site-navigation .menu-item-has-children.is-open > .xtc-submenu-toggle::before {
  transform: rotate(-135deg) translate(-1px, -1px);
}

#site-navigation .sub-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  list-style: none;
  margin: 0;
  padding: 8px;
  min-width: 220px;
  border: 1px solid var(--xtc-border);
  border-radius: var(--xtc-radius);
  background: #ffffff;
  box-shadow: var(--xtc-shadow-md);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity 0.16s ease, visibility 0.16s ease, transform 0.16s ease;
  z-index: calc(var(--xtc-z-header) + 1);
}

#site-navigation .sub-menu li {
  list-style: none;
  margin: 0;
  padding: 0;
}

#site-navigation .sub-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: var(--xtc-radius-sm);
  text-decoration: none;
  color: var(--xtc-ink-strong);
  font-size: 0.94rem;
  font-weight: 600;
  transition: background-color 0.16s ease, color 0.16s ease;
}

#site-navigation .sub-menu a:hover,
#site-navigation .sub-menu a:focus-visible {
  background: var(--xtc-surface-soft);
  color: var(--xtc-accent);
  outline: none;
}

#site-navigation .menu-item-has-children:hover > .sub-menu,
#site-navigation .menu-item-has-children:focus-within > .sub-menu,
#site-navigation .menu-item-has-children.is-open > .sub-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

/* ----------------------------------------------------------
   6. HERO / BANDS
   ---------------------------------------------------------- */
.xtc-hero,
.xtc-band {
  border: 1px solid var(--xtc-border);
  border-radius: var(--xtc-radius-lg);
  box-shadow: var(--xtc-shadow-soft);
}

.xtc-hero {
  padding: clamp(32px, 4.6vw, 48px);
  background: linear-gradient(165deg, var(--xtc-surface-1) 0%, var(--xtc-surface-3) 100%);
  color: var(--xtc-ink-strong);
}

.xtc-hero::before,
.xtc-hero::after {
  display: none;
}

.xtc-hero h1,
.xtc-hero h2,
.xtc-hero h3,
.xtc-hero p,
.xtc-hero li,
.xtc-hero strong {
  color: var(--xtc-ink-strong);
}

.xtc-hero .xtc-lead {
  color: var(--xtc-muted);
}

.xtc-band {
  padding: clamp(22px, 2.8vw, 26px);
  background: var(--xtc-surface-1);
}

.xtc-band h2,
.xtc-band h3,
.xtc-band p,
.xtc-band li,
.xtc-band a {
  color: var(--xtc-ink-strong);
}

/* ----------------------------------------------------------
   7. FOOTER
   ---------------------------------------------------------- */
.xtc-site-footer {
  --xtc-footer-bg: linear-gradient(180deg, #15211b 0%, #1c2b22 100%);
  --xtc-footer-text: #f6f2ea;
  --xtc-footer-muted: rgba(246, 242, 234, 0.76);
  --xtc-footer-link: #e3eee8;
  --xtc-footer-line: rgba(246, 242, 234, 0.12);
  --xtc-footer-panel: rgba(255, 255, 255, 0.045);
  margin-top: 36px;
  padding: 0 0 10px;
  background: transparent;
}

.xtc-site-footer__inner {
  width: min(1080px, calc(100% - 24px));
  margin: 0 auto;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(240px, 0.95fr) minmax(280px, 1fr);
  gap: 20px;
  align-items: start;
  padding: 24px 22px 20px;
  border: 1px solid var(--xtc-footer-line);
  border-radius: 14px;
  background: var(--xtc-footer-bg);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
}

.xtc-site-footer h2,
.xtc-site-footer h3,
.xtc-site-footer p,
.xtc-site-footer li,
.xtc-site-footer a {
  color: var(--xtc-footer-text);
}

.xtc-site-footer__brand-note {
  max-width: 30ch;
  line-height: 1.65;
  color: var(--xtc-footer-muted);
}

.xtc-site-footer__contact-stack,
.xtc-site-footer__utility {
  display: grid;
  gap: 12px;
}

.xtc-site-footer__utility {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--xtc-footer-line);
}

.xtc-site-footer__contact-link {
  display: grid;
  gap: 4px;
  align-content: center;
  min-height: 48px;
  padding: 12px 15px;
  border: 1px solid rgba(246, 242, 234, 0.14);
  border-radius: 12px;
  background: var(--xtc-footer-panel);
  text-decoration: none;
  transition: border-color 0.16s ease, background-color 0.16s ease, transform 0.16s ease;
}

.xtc-site-footer__contact-link strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--xtc-footer-text);
}

.xtc-site-footer__contact-link:hover,
.xtc-site-footer__contact-link:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(246, 242, 234, 0.22);
  transform: translateY(-1px);
  outline: none;
}

.xtc-site-footer__contact-link p,
.xtc-site-footer__contact-link span,
.xtc-site-footer__bottom,
.xtc-site-footer__mini {
  color: var(--xtc-footer-muted);
}

.xtc-site-footer a {
  color: var(--xtc-footer-link);
  text-decoration: none;
}

.xtc-site-footer__review,
.xtc-cookie-settings-trigger {
  min-height: 42px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid rgba(246, 242, 234, 0.16);
  color: var(--xtc-footer-text) !important;
}

.xtc-site-footer__review:hover,
.xtc-site-footer__review:focus-visible,
.xtc-cookie-settings-trigger:hover,
.xtc-cookie-settings-trigger:focus-visible {
  background: rgba(246, 242, 234, 0.08);
  outline: none;
}

/* ----------------------------------------------------------
   8. FIXED UI
   ---------------------------------------------------------- */
.xtc-reading-progress {
  z-index: var(--xtc-z-progress);
}

.xtc-cookie-consent {
  position: fixed;
  right: 24px;
  bottom: 24px;
  left: auto;
  width: min(420px, calc(100% - 24px));
  z-index: var(--xtc-z-cookie);
  font-family: var(--xtc-font-sans);
}

.xtc-cookie-consent__card {
  padding: 18px 20px;
  border: 1px solid var(--xtc-border);
  border-radius: var(--xtc-radius);
  background: #ffffff;
  box-shadow: var(--xtc-shadow-md);
  max-width: 420px;
}

.xtc-cookie-consent__eyebrow {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--xtc-accent);
  margin-bottom: 6px;
}

.xtc-cookie-consent__copy h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--xtc-ink-strong);
  margin: 0 0 6px;
  line-height: 1.4;
}

.xtc-cookie-consent__copy p {
  font-size: 0.88rem;
  color: var(--xtc-muted);
  line-height: 1.6;
  margin: 0 0 14px;
}

.xtc-cookie-consent__copy p a {
  color: var(--xtc-accent);
  text-decoration: underline;
}

.xtc-cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.xtc-cookie-consent__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: var(--xtc-radius-sm);
  border: 1px solid var(--xtc-border);
  background: #ffffff;
  color: var(--xtc-ink-strong);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
  text-decoration: none;
}

.xtc-cookie-consent__button--primary {
  background: var(--xtc-accent);
  border-color: var(--xtc-accent);
  color: #ffffff;
}

.xtc-cookie-consent__button--primary:hover,
.xtc-cookie-consent__button--primary:focus-visible {
  background: var(--xtc-accent-3);
  border-color: var(--xtc-accent-3);
  outline: none;
}

.xtc-cookie-consent__button:not(.xtc-cookie-consent__button--primary):not(.xtc-cookie-consent__button--ghost):hover,
.xtc-cookie-consent__button:not(.xtc-cookie-consent__button--primary):not(.xtc-cookie-consent__button--ghost):focus-visible {
  background: var(--xtc-surface-soft);
  border-color: rgba(41, 92, 69, 0.20);
  outline: none;
}

.xtc-cookie-consent__button--ghost {
  background: transparent;
  border-color: transparent;
  color: var(--xtc-accent);
  padding: 0 8px;
}

.xtc-cookie-consent__button--ghost:hover,
.xtc-cookie-consent__button--ghost:focus-visible {
  background: rgba(41, 92, 69, 0.05);
  outline: none;
}

.xtc-cookie-consent__settings {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--xtc-border);
  display: grid;
  gap: 10px;
}

.xtc-cookie-consent__setting {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--xtc-radius-sm);
  border: 1px solid var(--xtc-border);
  background: var(--xtc-surface);
}

.xtc-cookie-consent__setting > div {
  display: grid;
  gap: 2px;
}

.xtc-cookie-consent__setting strong {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--xtc-ink-strong);
}

.xtc-cookie-consent__setting span {
  font-size: 0.82rem;
  color: var(--xtc-muted);
  line-height: 1.5;
}

.xtc-cookie-consent__toggle {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  accent-color: var(--xtc-accent);
  cursor: pointer;
}

.xtc-cookie-consent__settings-actions {
  margin-top: 4px;
}

.xtc-newsletter-popup {
  z-index: var(--xtc-z-popup);
  border: 1px solid var(--xtc-border);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(20, 18, 14, 0.12);
}

.xtc-newsletter-popup__inner {
  padding: 16px;
}

.xtc-back-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: var(--xtc-z-back-top);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(41, 92, 69, 0.18);
  border-radius: 12px;
  background: rgba(251, 249, 244, 0.96);
  color: var(--xtc-accent-3);
  box-shadow: 0 8px 20px rgba(20, 18, 14, 0.12);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.xtc-back-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.xtc-back-top:hover,
.xtc-back-top:focus-visible {
  background: #ffffff;
  border-color: rgba(41, 92, 69, 0.28);
  outline: none;
}

.xtc-back-top svg {
  display: block;
}

.xtc-floating-cta {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: var(--xtc-z-float-cta);
  display: grid;
  gap: 10px;
  max-width: 220px;
  padding: 16px;
  border: 1px solid var(--xtc-border);
  border-radius: 12px;
  background: rgba(251, 249, 244, 0.98);
  box-shadow: 0 8px 24px rgba(20, 18, 14, 0.10);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.xtc-floating-cta__eyebrow {
  margin: 0;
  color: var(--xtc-muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.xtc-floating-cta__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 10px;
  background: var(--xtc-accent);
  color: #ffffff !important;
  text-decoration: none !important;
  font-weight: 700;
}

.xtc-floating-cta__meta {
  color: var(--xtc-muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.xtc-mobile-bar {
  position: fixed;
  left: 10px;
  right: 10px;
  bottom: 10px;
  z-index: var(--xtc-z-mobile-bar);
  display: none;
  align-items: stretch;
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: var(--xtc-black);
  box-sizing: border-box;
}

.xtc-mobile-bar a {
  flex: 1;
  min-width: 0;
  min-height: 42px;
  border-radius: 10px;
  text-decoration: none !important;
  font-weight: 700;
}

.xtc-mobile-bar a:first-child {
  background: var(--xtc-accent);
  color: #ffffff !important;
}

.xtc-mobile-bar a:last-child {
  background: rgba(255, 255, 255, 0.10);
  color: #f5f1e8 !important;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.xtc-contact-form__honeypot {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.xtc-contact-form__submit,
.xtc-shell .wp-block-jetpack-contact-form .wp-block-button__link {
  min-height: 48px;
  padding: 0 20px;
  font-weight: 700;
  border-radius: var(--xtc-radius-sm);
}

/* Consent / checkbox row alignment */
label.xtc-contact-form__consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--xtc-muted);
  cursor: pointer;
}

.xtc-contact-form__consent span {
  flex: 1 1 auto;
}

.xtc-contact-form__consent input[type="checkbox"] {
  flex-shrink: 0;
  width: 18px;
  min-height: 18px;
  height: 18px;
  margin-top: 1px;
  accent-color: var(--xtc-accent);
}

/* ==========================================================
   POLISH — interaction and perception upgrades
   ========================================================== */

/* Focus states */
:where(a, button, .xtc-btn, input, textarea, select):focus-visible {
  outline: 2px solid rgba(41, 92, 69, 0.35);
  outline-offset: 2px;
}

/* Buttons */
.xtc-btn {
  transition:
    box-shadow 0.14s ease,
    background-color 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease;
}

.xtc-btn:hover {
  transform: none;
}

.xtc-btn--primary:hover,
.xtc-btn--primary:focus-visible {
  box-shadow: 0 10px 20px rgba(41, 92, 69, 0.18);
}

/* Links */
a {
  transition: color 0.14s ease;
}

/* Blog / article card images */
.xtc-article-card__media img {
  transition: transform 0.18s ease;
}

.xtc-article-card:hover img {
  transform: scale(1.01);
}

/* ----------------------------------------------------------
   9. STEP NUMBER BADGE
   ---------------------------------------------------------- */
.xtc-step {
  display: flex;
  flex-direction: column;
}

.xtc-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--xtc-accent);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-bottom: 12px;
}

/* ----------------------------------------------------------
   10. CHIPS / SERVICE LINK TAGS
   ---------------------------------------------------------- */
.xtc-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 15px;
  border: 1px solid var(--xtc-border);
  border-radius: 999px;
  background: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--xtc-ink-strong);
  text-decoration: none;
  transition: border-color 0.16s ease, background-color 0.16s ease;
}

.xtc-chip:hover {
  background: var(--xtc-surface-soft);
  border-color: rgba(41, 92, 69, 0.20);
}

.xtc-service-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

/* ----------------------------------------------------------
   11. CARD — PATH / SERVICE SURFACE
   ---------------------------------------------------------- */
.xtc-card--path {
  padding: 0;
  overflow: hidden;
}

.xtc-card__surface--service {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 24px;
  text-decoration: none;
  color: inherit;
  height: 100%;
  box-sizing: border-box;
  background: var(--xtc-surface-1);
  transition: background-color 0.16s ease;
}

.xtc-card__surface--service h3 {
  margin: 0;
  font-size: 1rem;
  color: var(--xtc-ink-strong);
  transition: color 0.16s ease;
}

.xtc-card__surface--service p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--xtc-muted);
  line-height: 1.55;
}

.xtc-card__surface--service .xtc-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--xtc-accent);
  text-decoration: none;
}

.xtc-card__surface--service .xtc-card__cta::after {
  content: "->";
  font-size: 0.82em;
  opacity: 0.72;
  transition: transform 0.16s ease, opacity 0.16s ease;
}

.xtc-card--path:hover .xtc-card__surface--service .xtc-card__cta::after,
.xtc-card__surface--service:hover .xtc-card__cta::after {
  transform: translateX(2px);
  opacity: 1;
}

.xtc-card--path:hover .xtc-card__surface--service {
  background-color: #fdfaf4;
}

.xtc-card--path:hover .xtc-card__surface--service h3 {
  color: var(--xtc-accent);
}

/* ----------------------------------------------------------
   12. CARD — LIST / CHECKS
   ---------------------------------------------------------- */
.xtc-card--list {
  padding: 22px 24px;
}

.xtc-checks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.xtc-checks li {
  list-style: none;
  margin: 0;
  padding-left: 24px;
  position: relative;
  font-size: 0.96rem;
  color: var(--xtc-ink-soft);
  line-height: 1.55;
}

.xtc-checks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.08em;
  color: var(--xtc-accent);
  font-weight: 700;
  line-height: 1;
}

/* ----------------------------------------------------------
   13. CARD EYEBROW / NOTE
   ---------------------------------------------------------- */
.xtc-card__eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--xtc-accent);
  margin: 0 0 8px;
}

.xtc-card__note {
  font-size: 0.88rem;
  color: var(--xtc-muted);
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid var(--xtc-border);
  line-height: 1.5;
}

.xtc-page__content :is(p, li, dd, td) > a,
.xtc-article-content :is(p, li, dd, td) > a,
.entry-content :is(p, li, dd, td) > a,
.xtc-privacy-policy__section :is(p, li, dd, td) > a {
  color: var(--xtc-accent-3);
  font-weight: 600;
  text-decoration: none;
  box-shadow: inset 0 -1px 0 rgba(41, 92, 69, 0.28);
  transition: color 0.16s ease, box-shadow 0.16s ease;
}

.xtc-page__content :is(p, li, dd, td) > a:visited,
.xtc-article-content :is(p, li, dd, td) > a:visited,
.entry-content :is(p, li, dd, td) > a:visited,
.xtc-privacy-policy__section :is(p, li, dd, td) > a:visited {
  color: var(--xtc-accent-3);
}

.xtc-page__content :is(p, li, dd, td) > a:hover,
.xtc-page__content :is(p, li, dd, td) > a:focus-visible,
.xtc-article-content :is(p, li, dd, td) > a:hover,
.xtc-article-content :is(p, li, dd, td) > a:focus-visible,
.entry-content :is(p, li, dd, td) > a:hover,
.entry-content :is(p, li, dd, td) > a:focus-visible,
.xtc-privacy-policy__section :is(p, li, dd, td) > a:hover,
.xtc-privacy-policy__section :is(p, li, dd, td) > a:focus-visible {
  color: var(--xtc-accent);
  box-shadow: inset 0 -2px 0 rgba(41, 92, 69, 0.5);
}

.xtc-article-cta :is(.xtc-btn, .xtc-btn:visited) {
  text-decoration: none;
}

/* ----------------------------------------------------------
   14. CARD HIERARCHY — supporting surface differentiation
   ---------------------------------------------------------- */

/* Step cards: flatter, softer background */
.xtc-step {
  background: var(--xtc-surface-2);
  box-shadow: none;
}

.xtc-step:hover {
  background: var(--xtc-surface-1);
  box-shadow: var(--xtc-shadow-soft);
}

/* Stat/metric cards: lighter still */
.xtc-stat {
  background: var(--xtc-surface-3);
  box-shadow: none;
  padding: 18px 20px;
}

.xtc-stat:hover {
  background: var(--xtc-surface-1);
}

/* Check-list / info cards: minimal, no shadow */
.xtc-card--list {
  background: var(--xtc-surface-2);
  box-shadow: none;
  border-color: var(--xtc-border);
}

/* Article CTA: intentional, slightly elevated */
.xtc-article-cta {
  background: linear-gradient(180deg, var(--xtc-surface-1) 0%, var(--xtc-surface-2) 100%);
  border-color: rgba(41, 92, 69, 0.16);
  box-shadow: var(--xtc-shadow-md);
}

/* Related links: lighter secondary card */
.xtc-related-links {
  background: var(--xtc-surface-2);
  border-color: rgba(41, 92, 69, 0.16);
  box-shadow: none;
}

/* Contact box: clean, no shadow, tighter */
.xtc-contact-box {
  background: var(--xtc-surface-2);
  box-shadow: none;
}

.xtc-contact-form.is-submitting,
.xtc-newsletter-form.is-submitting,
.xtc-shell .wp-block-jetpack-contact-form.is-submitting {
  cursor: progress;
}

.xtc-contact-form.is-submitting button[type="submit"],
.xtc-newsletter-form.is-submitting button[type="submit"],
.xtc-shell .wp-block-jetpack-contact-form.is-submitting button[type="submit"],
.xtc-shell .wp-block-jetpack-contact-form.is-submitting .wp-block-button__link {
  opacity: 0.92;
  box-shadow: 0 4px 12px rgba(41, 92, 69, 0.14);
}
