/*
Theme Name: StrivX Pro
Theme URI: https://strivx.de
Author: StrivX
Description: Professional WordPress Theme with Page Builder
Version: 3.6.0
Text Domain: strivx-pro
*/

/* ============================================
   CSS VARIABLES
   ============================================ */

:root {
    --sx-lime: #B8E600;
    --sx-lime-dark: #9BC700;
    --sx-dark: #2C3E50;
    --sx-primary: #5B7C99;
    --sx-grey: #8A9BAE;
    --sx-anthracite: #4A5D6E;
    --sx-light: #E8E9EB;
    --sx-bg: #F5F6F8;
    --sx-white: #FFFFFF;

    --sx-font: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    --sx-header-height: 80px;
    --sx-radius: 8px;
    --sx-radius-lg: 16px;
    --sx-shadow: 0 4px 20px rgba(0,0,0,0.08);
    --sx-shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
    --sx-transition: 0.2s ease;

    --sx-space-xs: 8px;
    --sx-space-sm: 16px;
    --sx-space-md: 24px;
    --sx-space-lg: 48px;
    --sx-space-xl: 80px;
    --sx-space-xxl: 120px;

    --sx-width-narrow: 720px;
    --sx-width-medium: 960px;
    --sx-width-wide: 1200px;
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--sx-font); font-size: 16px; line-height: 1.7; color: var(--sx-anthracite); background: var(--sx-white); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
h1,h2,h3,h4,h5,h6 { font-weight: 700; color: var(--sx-dark); line-height: 1.2; }

/* CONTAINER */
.sx-container { width: 100%; max-width: var(--sx-width-wide); margin: 0 auto; padding: 0 var(--sx-space-md); }
.sx-container--narrow { max-width: var(--sx-width-narrow); }
.sx-container--medium { max-width: var(--sx-width-medium); }
.sx-container--full { max-width: 100%; padding: 0 var(--sx-space-md); }

/* SECTION SYSTEM */
.sx-section { position: relative; }
.sx-pt--none { padding-top: 0; }
.sx-pt--small { padding-top: var(--sx-space-lg); }
.sx-pt--normal { padding-top: var(--sx-space-xl); }
.sx-pt--large { padding-top: var(--sx-space-xxl); }
.sx-pb--none { padding-bottom: 0; }
.sx-pb--small { padding-bottom: var(--sx-space-lg); }
.sx-pb--normal { padding-bottom: var(--sx-space-xl); }
.sx-pb--large { padding-bottom: var(--sx-space-xxl); }

.sx-bg--white { background: var(--sx-white); }
.sx-bg--light { background: var(--sx-bg); }
.sx-bg--dark { background: var(--sx-dark); }
.sx-bg--primary { background: var(--sx-primary); }
.sx-bg--lime { background: var(--sx-lime); }
.sx-bg--transparent { background: transparent; }

.sx-bg--dark, .sx-bg--primary { color: var(--sx-white); }
.sx-bg--dark .sx-section-header__title, .sx-bg--dark .sx-hero__title, .sx-bg--dark .sx-cta__title,
.sx-bg--primary .sx-section-header__title, .sx-bg--primary .sx-stat__number,
.sx-bg--dark .sx-process__title, .sx-bg--dark .sx-feature__title { color: var(--sx-white); }
.sx-bg--dark .sx-section-header__subtitle, .sx-bg--dark .sx-hero__subtitle,
.sx-bg--primary .sx-section-header__subtitle { color: var(--sx-grey); }
.sx-bg--lime { color: var(--sx-dark); }

/* GRID */
.sx-grid { display: grid; gap: var(--sx-space-md); }
.sx-grid--2 { grid-template-columns: repeat(2, 1fr); }
.sx-grid--3 { grid-template-columns: repeat(3, 1fr); }
.sx-grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) { .sx-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .sx-grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .sx-grid--2, .sx-grid--3, .sx-grid--4 { grid-template-columns: 1fr; } }

/* TYPOGRAPHY */
.sx-highlight { color: var(--sx-lime); }
.sx-label { display: inline-block; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; color: var(--sx-lime); margin-bottom: var(--sx-space-sm); }

/* BUTTONS */
.sx-btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 28px; font-family: var(--sx-font); font-size: 15px; font-weight: 600; border-radius: var(--sx-radius); cursor: pointer; transition: all var(--sx-transition); text-decoration: none; border: none; }
.sx-btn--primary { background: var(--sx-lime); color: var(--sx-dark); }
.sx-btn--primary:hover { background: var(--sx-lime-dark); transform: translateY(-2px); }
.sx-btn--secondary { background: transparent; color: var(--sx-white); border: 2px solid rgba(255,255,255,0.3); }
.sx-btn--secondary:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.5); }
.sx-btn svg { width: 18px; height: 18px; transition: transform var(--sx-transition); }
.sx-btn:hover svg { transform: translateX(4px); }

/* HEADER */
.sx-header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; height: var(--sx-header-height); background: rgba(44,62,80,0.95); backdrop-filter: blur(10px); transition: all var(--sx-transition); }
.sx-header.is-scrolled { height: 70px; box-shadow: var(--sx-shadow); }
.sx-header__inner { display: flex; align-items: center; justify-content: space-between; height: 100%; max-width: var(--sx-width-wide); margin: 0 auto; padding: 0 var(--sx-space-md); }
.sx-logo { font-size: 24px; font-weight: 700; color: var(--sx-white); }
.sx-logo span { color: var(--sx-lime); }
.sx-header__back { display: flex; align-items: center; color: var(--sx-white); margin-right: var(--sx-space-sm); opacity: 0.7; transition: opacity var(--sx-transition); flex-shrink: 0; }
.sx-header__back:hover { opacity: 1; }
.sx-nav { display: flex; align-items: center; gap: var(--sx-space-md); }
.sx-nav a { color: var(--sx-white); font-weight: 500; transition: color var(--sx-transition); }
.sx-nav a:hover { color: var(--sx-lime); }
.sx-nav .sx-btn { padding: 10px 20px; }
.sx-menu-toggle { display: none; flex-direction: column; gap: 5px; padding: 10px; background: none; border: none; cursor: pointer; }
.sx-menu-toggle span { display: block; width: 24px; height: 2px; background: var(--sx-white); transition: var(--sx-transition); }
@media (max-width: 768px) {
    .sx-menu-toggle { display: flex; }
    .sx-nav { position: fixed; top: var(--sx-header-height); left: 0; right: 0; background: var(--sx-dark); flex-direction: column; padding: var(--sx-space-md); transform: translateY(-100%); opacity: 0; visibility: hidden; transition: all var(--sx-transition); }
    .sx-nav.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
}

/* SECTION HEADER */
.sx-section-header { text-align: center; max-width: 700px; margin: 0 auto var(--sx-space-lg); }
.sx-section-header__title { font-size: clamp(28px, 4vw, 40px); margin-bottom: var(--sx-space-sm); }
.sx-section-header__subtitle { font-size: 17px; color: var(--sx-anthracite); }

/* HERO */
.sx-section--hero { min-height: 100vh; display: flex; align-items: center; padding-top: var(--sx-header-height); }
.sx-section--hero > .sx-container { position: relative; z-index: 2; }
.sx-hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0.2; }
.sx-hero__grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(184,230,0,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(184,230,0,0.03) 1px, transparent 1px); background-size: 60px 60px; pointer-events: none; }
.sx-hero__content { max-width: 800px; }
.sx-hero__label { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: var(--sx-lime); margin-bottom: var(--sx-space-md); }
.sx-hero__label-dot { width: 8px; height: 8px; background: var(--sx-lime); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
.sx-hero__title { font-size: clamp(36px, 6vw, 64px); color: var(--sx-white); margin-bottom: var(--sx-space-md); }
.sx-hero__subtitle { font-size: clamp(16px, 2vw, 20px); color: var(--sx-grey); max-width: 600px; margin-bottom: var(--sx-space-lg); }
.sx-hero__buttons { display: flex; gap: var(--sx-space-sm); flex-wrap: wrap; }

/* TEXT */
.sx-text__title { font-size: clamp(26px, 4vw, 36px); margin-bottom: var(--sx-space-md); }
.sx-text__content { font-size: 17px; line-height: 1.8; }
.sx-text__content > * { margin-bottom: 1.5em; }
.sx-text__content > *:last-child { margin-bottom: 0; }
.sx-text__content h2 { font-size: clamp(24px, 3vw, 32px); margin-top: 2em; }
.sx-text__content h3 { font-size: clamp(20px, 2.5vw, 26px); margin-top: 1.5em; }
.sx-text__content a { color: var(--sx-primary); text-decoration: underline; }
.sx-text__content ul, .sx-text__content ol { padding-left: 1.5em; }
.sx-text__content blockquote { border-left: 4px solid var(--sx-lime); padding-left: var(--sx-space-md); font-style: italic; color: var(--sx-dark); }

/* TEXT + IMAGE */
.sx-text-image { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sx-space-xl); align-items: center; }
.sx-text-image--image-right .sx-text-image__media { order: 2; }
.sx-text-image__media img { border-radius: var(--sx-radius-lg); width: 100%; height: auto; image-rendering: -webkit-optimize-contrast; image-rendering: crisp-edges; }
.sx-text-image__title { font-size: clamp(26px, 4vw, 38px); margin-bottom: var(--sx-space-md); }
.sx-text-image__text { font-size: 17px; line-height: 1.8; color: var(--sx-anthracite); margin-bottom: var(--sx-space-md); }
@media (max-width: 768px) { .sx-text-image { grid-template-columns: 1fr; gap: var(--sx-space-lg); } .sx-text-image--image-right .sx-text-image__media { order: 0; } }

/* FEATURES */
.sx-feature { background: var(--sx-white); padding: var(--sx-space-lg); border-radius: var(--sx-radius-lg); box-shadow: var(--sx-shadow); transition: transform var(--sx-transition), box-shadow var(--sx-transition); display: flex; flex-direction: column; }
.sx-feature:hover { transform: translateY(-4px); box-shadow: var(--sx-shadow-lg); }
.sx-feature__icon { font-size: 40px; margin-bottom: var(--sx-space-sm); }
.sx-feature__icon svg { color: var(--sx-primary); stroke: var(--sx-primary); }
.sx-feature__title { font-size: 20px; margin-bottom: var(--sx-space-xs); }
.sx-feature__text { color: var(--sx-anthracite); font-size: 15px; flex-grow: 1; }
.sx-feature__cta { margin-top: var(--sx-space-md); padding-top: var(--sx-space-sm); }

/* Button: Outline variant */
.sx-btn--outline { background: transparent; color: var(--sx-primary); border: 2px solid var(--sx-primary); }
.sx-btn--outline:hover { background: var(--sx-primary); color: var(--sx-white); }
.sx-btn--outline svg { stroke: currentColor; transition: all var(--sx-transition); }
.sx-btn--sm { padding: 10px 20px; font-size: 14px; }

/* STATS */
.sx-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sx-space-md); text-align: center; }
.sx-stat__number { font-size: clamp(36px, 5vw, 56px); font-weight: 700; color: var(--sx-lime); line-height: 1; margin-bottom: var(--sx-space-xs); }
.sx-stat__label { font-size: 17px; font-weight: 600; color: var(--sx-lime); letter-spacing: 0.02em; }
@media (max-width: 768px) { .sx-stats { grid-template-columns: repeat(2, 1fr); } }

/* PROCESS */
.sx-process { display: grid; gap: var(--sx-space-md); max-width: var(--sx-width-wide); margin-left: auto; margin-right: auto; }
.sx-process--cols-1 { grid-template-columns: 1fr; max-width: 400px; }
.sx-process--cols-2 { grid-template-columns: repeat(2, 1fr); max-width: 700px; }
.sx-process--cols-3 { grid-template-columns: repeat(3, 1fr); max-width: 960px; }
.sx-process--cols-4 { grid-template-columns: repeat(4, 1fr); }
.sx-process__step { text-align: center; }
.sx-process__number { width: 60px; height: 60px; display: flex; align-items: center; justify-content: center; margin: 0 auto var(--sx-space-sm); background: var(--sx-lime); color: var(--sx-dark); font-size: 24px; font-weight: 700; border-radius: 50%; }
.sx-process__title { font-size: 18px; margin-bottom: var(--sx-space-xs); }
.sx-process__text { font-size: 14px; color: var(--sx-grey); }
@media (max-width: 768px) { .sx-process, .sx-process--cols-2, .sx-process--cols-3, .sx-process--cols-4 { grid-template-columns: 1fr; gap: var(--sx-space-lg); max-width: 100%; } .sx-process__step { display: flex; text-align: left; gap: var(--sx-space-md); } .sx-process__number { flex-shrink: 0; margin: 0; } }

/* TESTIMONIAL */
.sx-testimonial { text-align: center; max-width: 800px; margin: 0 auto; }
.sx-testimonial__quote { font-size: clamp(20px, 3vw, 28px); font-style: italic; line-height: 1.6; margin-bottom: var(--sx-space-lg); }
.sx-testimonial__author { display: flex; align-items: center; justify-content: center; gap: var(--sx-space-sm); }
.sx-testimonial__avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.sx-testimonial__avatar--initials { display: flex; align-items: center; justify-content: center; background: var(--sx-lime); color: var(--sx-dark); font-weight: 700; }
.sx-testimonial__name { font-weight: 600; }
.sx-testimonial__role { font-size: 14px; color: var(--sx-grey); }

/* TEAM */
.sx-team { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sx-space-md); }
.sx-team__member { text-align: center; }
.sx-team__photo { width: 160px; height: 160px; margin: 0 auto var(--sx-space-sm); border-radius: 50%; overflow: hidden; }
.sx-team__photo img { width: 100%; height: 100%; object-fit: cover; }
.sx-team__name { font-size: 18px; margin-bottom: 4px; }
.sx-team__role { font-size: 14px; color: var(--sx-grey); margin-bottom: var(--sx-space-sm); }
.sx-team__social { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; background: var(--sx-bg); color: var(--sx-primary); border-radius: 50%; transition: all var(--sx-transition); }
.sx-team__social:hover { background: var(--sx-lime); color: var(--sx-dark); }
@media (max-width: 1024px) { .sx-team { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .sx-team { grid-template-columns: 1fr; } }

/* GALLERY */
.sx-gallery__item { display: block; border-radius: var(--sx-radius); overflow: hidden; aspect-ratio: 4/3; }
.sx-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.sx-gallery__item:hover img { transform: scale(1.05); }

/* VIDEO */
.sx-video { position: relative; padding-bottom: 56.25%; border-radius: var(--sx-radius-lg); overflow: hidden; }
.sx-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; }

/* FAQ */
.sx-faq { max-width: 800px; margin: 0 auto; }
.sx-faq__item { background: var(--sx-white); border-radius: var(--sx-radius); margin-bottom: var(--sx-space-sm); box-shadow: var(--sx-shadow); }
.sx-faq__question { padding: var(--sx-space-md); font-weight: 600; color: var(--sx-dark); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.sx-faq__question::-webkit-details-marker { display: none; }
.sx-faq__question::after { content: '+'; font-size: 24px; color: var(--sx-lime-dark); transition: transform var(--sx-transition); }
.sx-faq__item[open] .sx-faq__question::after { transform: rotate(45deg); }
.sx-faq__answer { padding: 0 var(--sx-space-md) var(--sx-space-md); color: var(--sx-anthracite); line-height: 1.7; }

/* CTA */
.sx-cta { text-align: center; max-width: 700px; margin: 0 auto; }
.sx-cta__title { font-size: clamp(28px, 4vw, 40px); margin-bottom: var(--sx-space-sm); }
.sx-cta__text { font-size: 17px; margin-bottom: var(--sx-space-lg); }

/* LOGOS */
.sx-logos__title { text-align: center; font-size: 14px; color: var(--sx-grey); text-transform: uppercase; letter-spacing: 2px; margin-bottom: var(--sx-space-lg); }
.sx-logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: var(--sx-space-lg); }
.sx-logos__item { max-width: 140px; opacity: 0.6; filter: grayscale(100%); transition: all var(--sx-transition); }
.sx-logos__item:hover { opacity: 1; filter: none; }

/* CONTACT */
.sx-contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: var(--sx-space-xl); }
.sx-contact__title { font-size: clamp(28px, 4vw, 36px); margin-bottom: var(--sx-space-sm); }
.sx-contact__text { margin-bottom: var(--sx-space-lg); }
.sx-contact__details { display: flex; flex-direction: column; gap: var(--sx-space-sm); }
.sx-contact__item { display: flex; align-items: center; gap: var(--sx-space-sm); }
.sx-contact__item svg { color: var(--sx-lime-dark); }
.sx-contact__item a { color: var(--sx-dark); transition: color var(--sx-transition); }
.sx-contact__item a:hover { color: var(--sx-lime-dark); }
.sx-contact__form { background: var(--sx-bg); padding: var(--sx-space-lg); border-radius: var(--sx-radius-lg); }
.sx-contact__cta { text-align: center; }
.sx-contact__cta p { margin-bottom: var(--sx-space-md); }
@media (max-width: 768px) { .sx-contact { grid-template-columns: 1fr; gap: var(--sx-space-lg); } }

/* SPACER & DIVIDER */
.sx-divider--line { border-top: 1px solid var(--sx-light); }
.sx-divider--dots { text-align: center; }
.sx-divider--dots::before { content: '•••'; letter-spacing: 8px; color: var(--sx-lime); }
.sx-divider--gradient { height: 4px; background: linear-gradient(90deg, transparent, var(--sx-lime), transparent); }

/* FOOTER */
.sx-footer { background: var(--sx-dark); padding: var(--sx-space-xl) 0 var(--sx-space-lg); }
.sx-footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--sx-space-lg); margin-bottom: var(--sx-space-lg); }
.sx-footer__brand .sx-logo { margin-bottom: var(--sx-space-sm); }
.sx-footer__desc { color: var(--sx-grey); font-size: 15px; max-width: 300px; }
.sx-footer__title { font-size: 14px; font-weight: 600; color: var(--sx-white); text-transform: uppercase; letter-spacing: 1px; margin-bottom: var(--sx-space-sm); }
.sx-footer__links { list-style: none; }
.sx-footer__links li { margin-bottom: 8px; }
.sx-footer__links a { color: var(--sx-grey); font-size: 15px; transition: color var(--sx-transition); }
.sx-footer__links a:hover { color: var(--sx-lime); }
.sx-footer__bottom { padding-top: var(--sx-space-md); border-top: 1px solid rgba(255,255,255,0.1); display: flex; justify-content: space-between; align-items: center; }
.sx-footer__copyright { color: var(--sx-grey); font-size: 14px; }
.sx-footer__social { display: flex; gap: var(--sx-space-sm); }
.sx-footer__social a { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: rgba(255,255,255,0.05); color: var(--sx-grey); border-radius: 50%; transition: all var(--sx-transition); }
.sx-footer__social a:hover { background: var(--sx-lime); color: var(--sx-dark); }
@media (max-width: 1024px) { .sx-footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .sx-footer__grid { grid-template-columns: 1fr; } .sx-footer__bottom { flex-direction: column; gap: var(--sx-space-sm); text-align: center; } }

/* ============================================
   TEXT COLOR CLASSES
   ============================================ */

/* TITLE COLORS */
.sx-title--dark h1, .sx-title--dark h2, .sx-title--dark h3, .sx-title--dark h4,
.sx-title--dark .sx-hero__title, .sx-title--dark .sx-cta__title,
.sx-title--dark .sx-section-header__title, .sx-title--dark .sx-feature__title,
.sx-title--dark .sx-process__title, .sx-title--dark .sx-page-header__title,
.sx-title--dark .sx-text__title, .sx-title--dark .sx-text-image__title { 
    color: var(--sx-dark); 
}

.sx-title--anthracite h1, .sx-title--anthracite h2, .sx-title--anthracite h3, .sx-title--anthracite h4,
.sx-title--anthracite .sx-hero__title, .sx-title--anthracite .sx-cta__title,
.sx-title--anthracite .sx-section-header__title, .sx-title--anthracite .sx-feature__title,
.sx-title--anthracite .sx-process__title, .sx-title--anthracite .sx-page-header__title,
.sx-title--anthracite .sx-text__title, .sx-title--anthracite .sx-text-image__title { 
    color: var(--sx-anthracite); 
}

.sx-title--grey h1, .sx-title--grey h2, .sx-title--grey h3, .sx-title--grey h4,
.sx-title--grey .sx-hero__title, .sx-title--grey .sx-cta__title,
.sx-title--grey .sx-section-header__title, .sx-title--grey .sx-feature__title,
.sx-title--grey .sx-process__title, .sx-title--grey .sx-page-header__title,
.sx-title--grey .sx-text__title, .sx-title--grey .sx-text-image__title { 
    color: var(--sx-grey); 
}

.sx-title--primary h1, .sx-title--primary h2, .sx-title--primary h3, .sx-title--primary h4,
.sx-title--primary .sx-hero__title, .sx-title--primary .sx-cta__title,
.sx-title--primary .sx-section-header__title, .sx-title--primary .sx-feature__title,
.sx-title--primary .sx-process__title, .sx-title--primary .sx-page-header__title,
.sx-title--primary .sx-text__title, .sx-title--primary .sx-text-image__title { 
    color: var(--sx-primary); 
}

.sx-title--light h1, .sx-title--light h2, .sx-title--light h3, .sx-title--light h4,
.sx-title--light .sx-hero__title, .sx-title--light .sx-cta__title,
.sx-title--light .sx-section-header__title, .sx-title--light .sx-feature__title,
.sx-title--light .sx-process__title, .sx-title--light .sx-page-header__title,
.sx-title--light .sx-text__title, .sx-title--light .sx-text-image__title { 
    color: var(--sx-light); 
}

.sx-title--white h1, .sx-title--white h2, .sx-title--white h3, .sx-title--white h4,
.sx-title--white .sx-hero__title, .sx-title--white .sx-cta__title,
.sx-title--white .sx-section-header__title, .sx-title--white .sx-feature__title,
.sx-title--white .sx-process__title, .sx-title--white .sx-page-header__title,
.sx-title--white .sx-text__title, .sx-title--white .sx-text-image__title { 
    color: var(--sx-white); 
}

.sx-title--lime h1, .sx-title--lime h2, .sx-title--lime h3, .sx-title--lime h4,
.sx-title--lime .sx-hero__title, .sx-title--lime .sx-cta__title,
.sx-title--lime .sx-section-header__title, .sx-title--lime .sx-feature__title,
.sx-title--lime .sx-process__title, .sx-title--lime .sx-page-header__title,
.sx-title--lime .sx-text__title, .sx-title--lime .sx-text-image__title { 
    color: var(--sx-lime); 
}

.sx-title--custom h1, .sx-title--custom h2, .sx-title--custom h3, .sx-title--custom h4,
.sx-title--custom .sx-hero__title, .sx-title--custom .sx-cta__title,
.sx-title--custom .sx-section-header__title, .sx-title--custom .sx-feature__title,
.sx-title--custom .sx-process__title, .sx-title--custom .sx-page-header__title,
.sx-title--custom .sx-text__title, .sx-title--custom .sx-text-image__title { 
    color: var(--sx-custom-title, #8A9BAE); 
}

/* TEXT COLORS */
.sx-text--dark,
.sx-text--dark p, .sx-text--dark li, .sx-text--dark span,
.sx-text--dark .sx-hero__subtitle, .sx-text--dark .sx-cta__text,
.sx-text--dark .sx-section-header__subtitle, .sx-text--dark .sx-feature__text,
.sx-text--dark .sx-process__text, .sx-text--dark .sx-page-header__subtitle,
.sx-text--dark .sx-text__content, .sx-text--dark .sx-text-image__text { 
    color: var(--sx-dark); 
}

.sx-text--anthracite,
.sx-text--anthracite p, .sx-text--anthracite li, .sx-text--anthracite span,
.sx-text--anthracite .sx-hero__subtitle, .sx-text--anthracite .sx-cta__text,
.sx-text--anthracite .sx-section-header__subtitle, .sx-text--anthracite .sx-feature__text,
.sx-text--anthracite .sx-process__text, .sx-text--anthracite .sx-page-header__subtitle,
.sx-text--anthracite .sx-text__content, .sx-text--anthracite .sx-text-image__text { 
    color: var(--sx-anthracite); 
}

.sx-text--grey,
.sx-text--grey p, .sx-text--grey li, .sx-text--grey span,
.sx-text--grey .sx-hero__subtitle, .sx-text--grey .sx-cta__text,
.sx-text--grey .sx-section-header__subtitle, .sx-text--grey .sx-feature__text,
.sx-text--grey .sx-process__text, .sx-text--grey .sx-page-header__subtitle,
.sx-text--grey .sx-text__content, .sx-text--grey .sx-text-image__text { 
    color: var(--sx-grey); 
}

.sx-text--primary,
.sx-text--primary p, .sx-text--primary li, .sx-text--primary span,
.sx-text--primary .sx-hero__subtitle, .sx-text--primary .sx-cta__text,
.sx-text--primary .sx-section-header__subtitle, .sx-text--primary .sx-feature__text,
.sx-text--primary .sx-process__text, .sx-text--primary .sx-page-header__subtitle,
.sx-text--primary .sx-text__content, .sx-text--primary .sx-text-image__text { 
    color: var(--sx-primary); 
}

.sx-text--light,
.sx-text--light p, .sx-text--light li, .sx-text--light span,
.sx-text--light .sx-hero__subtitle, .sx-text--light .sx-cta__text,
.sx-text--light .sx-section-header__subtitle, .sx-text--light .sx-feature__text,
.sx-text--light .sx-process__text, .sx-text--light .sx-page-header__subtitle,
.sx-text--light .sx-text__content, .sx-text--light .sx-text-image__text { 
    color: var(--sx-light); 
}

.sx-text--white,
.sx-text--white p, .sx-text--white li, .sx-text--white span,
.sx-text--white .sx-hero__subtitle, .sx-text--white .sx-cta__text,
.sx-text--white .sx-section-header__subtitle, .sx-text--white .sx-feature__text,
.sx-text--white .sx-process__text, .sx-text--white .sx-page-header__subtitle,
.sx-text--white .sx-text__content, .sx-text--white .sx-text-image__text { 
    color: rgba(255,255,255,0.9); 
}
.sx-text--white .sx-btn--secondary { border-color: rgba(255,255,255,0.4); color: var(--sx-white); }

.sx-text--lime,
.sx-text--lime p, .sx-text--lime li, .sx-text--lime span,
.sx-text--lime .sx-hero__subtitle, .sx-text--lime .sx-cta__text,
.sx-text--lime .sx-section-header__subtitle, .sx-text--lime .sx-feature__text,
.sx-text--lime .sx-process__text, .sx-text--lime .sx-page-header__subtitle,
.sx-text--lime .sx-text__content, .sx-text--lime .sx-text-image__text { 
    color: var(--sx-lime); 
}

.sx-text--custom,
.sx-text--custom p, .sx-text--custom li, .sx-text--custom span,
.sx-text--custom .sx-hero__subtitle, .sx-text--custom .sx-cta__text,
.sx-text--custom .sx-section-header__subtitle, .sx-text--custom .sx-feature__text,
.sx-text--custom .sx-process__text, .sx-text--custom .sx-page-header__subtitle,
.sx-text--custom .sx-text__content, .sx-text--custom .sx-text-image__text { 
    color: var(--sx-custom-text, #8A9BAE); 
}

/* ============================================
   PAGE HEADER (Compact)
   ============================================ */

.sx-section--page_header { min-height: auto; padding-top: calc(var(--sx-header-height) + var(--sx-space-lg)); }
.sx-page-header { text-align: center; max-width: 800px; margin: 0 auto; }
.sx-page-header__label { display: inline-block; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; color: var(--sx-lime); margin-bottom: var(--sx-space-sm); }
.sx-page-header__title { font-size: clamp(32px, 5vw, 48px); margin-bottom: var(--sx-space-sm); }
.sx-page-header__subtitle { font-size: clamp(16px, 2vw, 18px); color: var(--sx-grey); max-width: 600px; margin: 0 auto; }
.sx-page-header__breadcrumb { margin-top: var(--sx-space-md); font-size: 14px; color: var(--sx-grey); }
.sx-page-header__breadcrumb a { color: var(--sx-lime); text-decoration: none; transition: opacity var(--sx-transition); }
.sx-page-header__breadcrumb a:hover { opacity: 0.8; }
.sx-breadcrumb-sep { margin: 0 8px; opacity: 0.5; }

/* Dark background page header */
.sx-bg--dark .sx-page-header__title { color: var(--sx-white); }
.sx-bg--dark .sx-page-header__subtitle { color: var(--sx-grey); }

/* ============================================
   HEADER BACK BUTTON
   ============================================ */

.sx-header__back {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    color: var(--sx-white);
    margin-right: var(--sx-space-sm);
    transition: all var(--sx-transition);
}

.sx-header__back:hover {
    background: var(--sx-lime);
    color: var(--sx-dark);
}

.sx-header__back svg {
    width: 20px;
    height: 20px;
}

@media (max-width: 768px) {
    .sx-header__back {
        width: 36px;
        height: 36px;
    }
    .sx-header__back svg {
        width: 18px;
        height: 18px;
    }
}
