/* --- CSS VARIABLES & GLOBAL STYLES --- */
:root {
    --color-bg: #FFFBF5;
    --color-text: #1A1A1A;
    --color-accent: #FF4A1C;
    --color-border: #E6DED5;
    --font-sans: 'Poppins', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-sans);
    background-color: var(--color-bg);
    color: var(--color-text);
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden; /* Prevent horizontal scroll from animation */
}
.page-wrapper {
    width: 100%;
}
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1.5rem;
    text-align: center;
}
h2 { 
    font-size: clamp(1.8rem, 5vw, 2.5rem); 
    line-height: 1.3; 
    margin-bottom: 1rem; 
    color: var(--color-accent); 
    font-weight: 600;
}
h3 { color: var(--color-text); font-weight: 600; font-size: 1.25rem; }
p { max-width: 65ch; margin-left: auto; margin-right: auto; }
p + p { margin-top: 1rem; }

/* --- HEADER --- */
.site-header { 
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1rem 2rem; 
    border-bottom: 1px solid var(--color-border);
    text-align: center;
}
.header-logo { font-weight: 800; font-size: 1.5rem; }
.logo-plus { color: var(--color-accent); }
.header-description { font-size: 0.9rem; max-width: 40ch; margin: 0 auto; }
.header-nav { display: flex; gap: 2rem; justify-content: center; }
.header-nav a { text-decoration: none; font-weight: 600; color: var(--color-text); }
.header-nav a:hover { color: var(--color-accent); }

/* --- ANIMATED HERO SECTION --- */
.hero-section {
    padding: 0;
    min-height: 68vh;
    background-color: var(--color-bg);
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-bottom: 1px solid var(--color-border);
}
.background-pattern-container {
    position: absolute;
    top: -20%; left: -20%;
    width: 140%; height: 140%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}
.pattern-logo {
    position: absolute;
    display: block;
    width: 150px; /* From JS config */
    height: auto;
    opacity: 0.1; /* From JS config */
    will-change: transform;
    -webkit-user-drag: none;
    user-select: none;
}
.main-logo {
    position: relative;
    z-index: 1;
    width: 40vw;
    max-width: 300px;
    min-width: 240px;
    height: auto;
}

/* --- HERO TICKERS --- */
.ticker-section {
    border-bottom: 1px solid var(--color-border);
}
.ticker-wrap {
    width: 100%;
    overflow: hidden;
    padding: 1rem 0;
}
.ticker-wrap:first-child {
    border-bottom: 1px solid var(--color-border);
}
.ticker-content {
    display: flex;
    flex-shrink: 0;
    width: fit-content;
}
.ticker-scroll-left {
    animation: scroll-left 40s linear infinite;
}
.ticker-scroll-right {
    animation: scroll-right 40s linear infinite;
}
.ticker-content span {
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    white-space: nowrap;
    padding: 0 1.5rem;
}
.ticker-content .plus {
    color: var(--color-accent);
}

@keyframes scroll-left { 
    0% { transform: translateX(0); } 
    100% { transform: translateX(-50%); } 
}
@keyframes scroll-right { 
    0% { transform: translateX(-50%); } 
    100% { transform: translateX(0); } 
}

/* --- CONTENT SECTIONS --- */
.intro-section, .approach-section, .process-section, .good-fit-section, .contact-section {
    padding: 6rem 0;
    border-bottom: 1px solid var(--color-border);
}
.contact-section { border-bottom: none; }

/* --- APPROACH SECTION --- */
.approach-section .container { text-align: left; }
.approach-section h2 { text-align: center; margin-bottom: 3rem; }
.benefits-list { display: grid; gap: 2.5rem; }
.benefit-item h3 { margin-bottom: 0.5rem; }
.benefit-item p { margin: 0; max-width: 100%; }

/* --- PROCESS SECTION --- */
.process-section h2 { margin-bottom: 3rem; }
.process-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: left;
}
.process-step {
    padding: 2rem;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background-color: var(--color-bg);
    transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
}
.process-step:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(26, 26, 26, 0.07);
}
.process-step .step-number {
    font-size: 1rem;
    font-weight: 800;
    color: var(--color-accent);
    display: block;
    margin-bottom: 0.5rem;
}
.process-step .step-number::before { content: 'Step '; }
.process-step h3 { margin-bottom: 0.5rem; }
.process-step p { margin: 0; max-width: 100%; }

/* --- GOOD FIT SECTION --- */
.good-fit-section p { margin-bottom: 2rem; }
.good-fit-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; }
.good-fit-list span {
    font-weight: 600;
    padding: 0.5rem 1.25rem;
    border: 1px solid var(--color-border);
    border-radius: 30px;
    background-color: var(--color-bg);
    cursor: default;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}
.good-fit-list span:hover {
    background-color: var(--color-accent);
    color: var(--color-bg);
    border-color: var(--color-accent);
}

/* --- CONTACT SECTION --- */
.contact-section p {
    margin-bottom: 2.5rem;
}
.cta-button {
    display: inline-block;
    background: var(--color-accent); 
    color: var(--color-bg);
    border: none; 
    font-weight: 600; 
    padding: 1rem 2.5rem;
    cursor: pointer; 
    transition: background-color 0.3s;
    font-size: 1rem;
    text-decoration: none;
    text-align: center;
}
.cta-button:hover { 
    background-color: var(--color-text); 
    color: var(--color-bg);
}

/* --- FOOTER --- */
.site-footer {
    padding: 2rem 0;
    font-size: 0.9rem;
}
.site-footer .container {
    display: flex; 
    flex-wrap: wrap;
    justify-content: center; 
    align-items: center;
    gap: 1rem 2rem;
}
.footer-left {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 2rem; /* Vertical and horizontal gap */
    text-align: center;
}
.footer-left a, .footer-right {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 600;
}
.footer-left a:hover, .footer-right:hover {
    color: var(--color-accent);
}

/* --- MEDIA QUERIES --- */
@media (min-width: 768px) {
    .site-header {
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
        text-align: left;
    }
    .header-logo { justify-self: start; }
    .header-nav { justify-self: end; }
    .header-description {
        border-left: 1px solid var(--color-border);
        padding-left: 2rem;
        text-align: left;
        margin: 0;
    }
    .process-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
    
    .site-footer .container {
        justify-content: space-between;
    }
    .footer-left {
        justify-content: flex-start;
    }
}

@media (min-width: 1024px) {
    .intro-section, .approach-section, .process-section, .good-fit-section, .contact-section {
        padding: 8rem 0;
    }
}