/* 
   PREMIUM ARCHITECTURAL DESIGN SYSTEM 
   Brand Colors: #991B3F (Accent), #E8E6E6 (Base), #111111 (Text)
   Typography: 'Outfit' (Geometric Sans) - Fallback for Nexa
*/

:root {
    --color-accent: #991B3F;
    --color-bg: #E8E6E6;
    --color-white: #FFFFFF;
    --color-text: #1a1a1a;
    --color-text-light: #444444;
    --color-border: #D1D1D1;
    --color-border-dark: #333;

    --font-main: 'Nexa', 'Outfit', sans-serif;

    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    --transition-fast: 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

/* RESET & BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: var(--spacing-sm);
}

p {
    font-size: 1.125rem;
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
    font-weight: 300;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    display: block;
}

li {
    list-style: none;
}

/* UTILS */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
}

.container-fluid {
    width: 100%;
    padding: 0;
}

.narrow {
    max-width: 800px;
}

.highlight-text {
    color: var(--color-accent);
}

.small-margin-top {
    margin-top: 1rem;
}

/* BUTTONS */
.btn {
    display: inline-block;
    padding: 1.25rem 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    text-align: center;
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-white);
    transition: all 0.2s ease;
}

.btn-primary:hover {
    background-color: #7a1532;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-block {
    display: block;
    width: 100%;
}

.big-btn {
    font-size: 1.1rem;
    padding: 1.5rem;
}

/* SECTION STYLES WITH ARCHITECTURAL MARKERS */
.section {
    padding: var(--spacing-xl) 0;
    position: relative;
}

.section-marker {
    font-family: var(--font-main);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #888;
    margin-bottom: 2rem;
    display: block;
    position: relative;
    padding-left: 3rem;
}

.section-marker::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 2rem;
    height: 1px;
    background-color: var(--color-accent);
}

.section-marker.white {
    color: rgba(255, 255, 255, 0.6);
}

.section-marker.white::before {
    background-color: rgba(255, 255, 255, 0.3);
}

.section-title {
    font-size: 3rem;
    margin-bottom: 3rem;
    color: var(--color-text);
}

.section-title span.light {
    display: block;
    font-weight: 300;
    color: var(--color-text-light);
}

/* HERO SECTION - 60/40 Split */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: stretch;
    background-color: var(--color-bg);
}

.hero-grid {
    display: grid;
    grid-template-columns: 55% 45%;
    width: 100%;
}

.hero-content {
    padding: 6rem 6rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid rgba(0, 0, 0, 0.05);
    /* Architectural thin line */
}

.brand-tag {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 2rem;
    color: var(--color-text);
}

.hero-headline {
    font-size: 3.5rem;
    color: var(--color-text);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-headline .highlight {
    color: var(--color-accent);
}

.hero-subhead {
    max-width: 550px;
    margin-bottom: 3rem;
    font-size: 1.2rem;
    line-height: 1.6;
}

.hero-cta-wrapper {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 4rem;
}

.trust-indicator {
    border-left: 2px solid var(--color-accent);
    padding-left: 1rem;
    display: flex;
    flex-direction: column;
}

.small-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-light);
    max-width: 150px;
}

.client-logos-hero {
    margin-top: auto;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #666;
}

.separator {
    color: var(--color-accent);
    font-weight: 300;
    margin: 0 0.25rem;
}

.hero-visual {
    background-color: #ddd;
    position: relative;
    overflow: hidden;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

/* PROBLEM SECTION */
.problem-section {
    background-color: var(--color-white);
}

.text-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.alert-box.error {
    background-color: rgba(153, 27, 63, 0.05);
    /* very light accent */
    border-left: 4px solid var(--color-accent);
    padding: 1.5rem;
    margin: 2rem 0;
    color: var(--color-text);
    font-size: 1.1rem;
}

.arrow-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.arrow-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: 700;
}

.architectural-rule {
    border: 0;
    height: 1px;
    background-color: #ddd;
    margin: 3rem 0;
    width: 100px;
    /* Short decorative line */
}

.insight-box {
    margin-top: 3rem;
    padding: 2rem;
    background: #f9f9f9;
    border: 1px solid #eee;
}

/* SOLUTION SECTION */
.solution-section {
    background-color: var(--color-bg);
}

/* Layout for Solution Header */
.col-right {
    padding-left: 2rem;
}

.method-introduction {
    font-size: 1.35rem;
    max-width: 900px;
    margin: 4rem 0;
    font-weight: 500;
    border-top: 1px solid #ccc;
    padding-top: 2rem;
}

.method-steps-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
}

.step-card {
    background: var(--color-white);
    padding: 3rem;
    border: 1px solid transparent;
    transition: var(--transition-fast);
}

.step-card:hover {
    border-color: var(--color-accent);
    transform: translateY(-5px);
}

.highlight-step {
    border-top: 4px solid var(--color-accent);
}

.step-header {
    margin-bottom: 2rem;
}

.step-num {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-text-light);
    margin-bottom: 0.5rem;
}

.step-card h3 {
    font-size: 2rem;
    margin: 0;
}

.step-objective {
    font-style: italic;
    color: #666;
    margin-bottom: 2rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 1rem;
}

.check-list li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: bold;
}

.why-it-works {
    margin-top: 6rem;
}

.subsection-title {
    font-size: 2rem;
    margin-bottom: 3rem;
    text-align: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

/* PROOF SECTION */
.proof-section {
    background-color: var(--color-white);
}

.clients-logos-container {
    margin: 4rem 0;
    padding: 3rem 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    text-align: center;
}

.logos-img-block {
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    filter: grayscale(100%);
    /* Optional: keep it clean/architectural if the image is colored */
    opacity: 0.8;
    transition: opacity 0.3s;
}

.logos-img-block:hover {
    opacity: 1;
    filter: none;
}

.project-types-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 6rem;
}

.project-types-grid span {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: #f5f5f5;
    color: #555;
    border-radius: 50px;
    font-size: 0.9rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background: #f9f9f9;
    padding: 2.5rem;
    position: relative;
}

.testimonial-card p {
    color: #333;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.author strong {
    display: block;
    color: var(--color-accent);
    font-size: 0.9rem;
}

.author span {
    font-size: 0.8rem;
    color: #777;
}

/* ABOUT SECTION */
.about-section {
    background-color: var(--color-bg);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 900px;
    margin: 0 auto;
}

/* OFFER SECTION (Variants) */
.offer-section {
    background-color: #111;
    color: #fff;
}

.offer-header {
    text-align: center;
    margin-bottom: 4rem;
}

.offer-eyebrow {
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.9rem;
    font-weight: 700;
    display: block;
    margin-bottom: 1rem;
}

.offer-header h2 {
    font-size: 3.5rem;
    color: #fff;
}

/* VARIANT A (Default Card Style) needs to be cleaner now */
.offer-body-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 4rem;
    max-width: 1100px;
    margin: 0 auto;
    border-top: 1px solid #333;
    padding-top: 4rem;
}

.offer-main h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #fff;
}

/* Offer Section Contrast Fixes */
.check-list.white-check li {
    color: #eee;
    /* Lighter than #ccc */
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.check-list.white-check li strong {
    color: #fff;
}

.bonus-box {
    margin-top: 3rem;
    background: rgba(255, 255, 255, 0.05);
    /* Architectural glass effect */
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.bonus-box h4 {
    margin-bottom: 1rem;
    color: var(--color-accent);
}

.bonus-box ul {
    list-style: none;
    color: #ddd;
    /* Lighter than #bbb */
}

.bonus-box li {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

/* Sidebar styling for Offer */
.price-display {
    text-align: center;
    margin-bottom: 2rem;
}

.amount {
    font-size: 5rem;
    font-weight: 700;
    line-height: 1;
    color: #fff;
}

.currency {
    font-size: 2rem;
    vertical-align: top;
    color: #ccc;
    /* Lighter than #aaa */
}

.period {
    display: block;
    color: #ccc;
    /* Lighter than #777 */
    margin-top: 0.5rem;
}

.payment-methods {
    text-align: center;
    font-size: 0.8rem;
    color: #ccc;
    /* Lighter than #555 */
    margin-top: 1rem;
    margin-bottom: 3rem;
    font-weight: 300;
}

.comparison-box {
    border-top: 1px solid #333;
    padding-top: 2rem;
}

.compare-row {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #ddd;
    /* Lighter than #999 */
}

.compare-row span {
    display: block;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.compare-row.bad span {
    color: #f44;
}

.compare-row.good span {
    color: #4f4;
}

.impact-text {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: #fff;
    font-weight: 700;
    text-align: center;
}

.offer-footer {
    text-align: center;
    max-width: 700px;
    margin: 4rem auto 0;
    border-top: 1px solid #333;
    padding-top: 3rem;
}

.offer-footer p {
    color: #ccc;
    /* Lighter than #777 */
}

/* VARIANT B Override for "Editorial" look */
/* To use this, change class on section to 'offer--variant-b' */
.offer--variant-b .offer-body-grid {
    grid-template-columns: 1fr;
    text-align: center;
}

.offer--variant-b .bonus-box {
    text-align: left;
    max-width: 600px;
    margin: 3rem auto;
}

/* FAQ */
.faq-section .accordion-item {
    border-bottom: 1px solid #ccc;
}

.accordion-header {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 1.5rem 0;
    font-family: var(--font-main);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text);
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: color 0.3s;
}

.accordion-header:hover {
    color: var(--color-accent);
}

.accordion-content {
    display: none;
    /* Hide by default */
    padding-bottom: 1.5rem;
    padding-left: 2rem;
    font-size: 1rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

.q-icon {
    font-weight: bold;
    color: var(--color-accent);
    margin-right: 1rem;
}

/* FOOTER */
/* FOOTER */
.footer {
    background-color: #111;
    color: #ddd;
    /* Global Footer Text Lightened */
    padding-top: 6rem;
    border-top: 5px solid var(--color-accent);
}

.footer p {
    color: #ccc;
    /* Force all footer paragraphs to be light */
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer h4 {
    color: #fff;
    margin-bottom: 1.5rem;
}

.footer-clients strong {
    display: block;
    color: #fff;
    margin-bottom: 0.5rem;
}

.footer-clients p {
    font-size: 0.85rem;
    line-height: 1.8;
    color: #ccc;
    /* Lightened from default inheritance */
}

.footer-legal {
    border-top: 1px solid #333;
    padding: 2rem 0;
    font-size: 0.8rem;
    text-align: center;
    color: #aaa;
    /* Slightly darker for legal, but legible */
}

/* MEDIA QUERIES & MOBILE OPTIMIZATION */
@media (max-width: 960px) {

    /* GLOBAL */
    .container,
    .hero-content,
    .offer-body-grid {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }

    .section-title {
        font-size: 2.25rem;
        /* Reduced from 3rem */
        word-wrap: break-word;
        /* Prevent overflow */
    }

    /* HERO SECTION */
    .hero-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        /* Content then Image */
    }

    .hero-content {
        padding: 4rem 1.5rem;
        /* More vertical breathing room */
        border-right: none;
        text-align: left;
        /* Keep left alignment for authority */
    }

    .hero-headline {
        font-size: 2.5rem;
        /* Reduced from 3.5rem */
    }

    .hero-visual {
        height: 400px;
        /* Fixed height for image on mobile */
        width: 100%;
    }

    /* SECTIONS GRID STACKING */
    .method-steps-grid,
    .grid-3,
    .testimonials-grid,
    .footer-grid,
    .offer-body-grid,
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .col-left,
    .col-right {
        width: 100%;
        padding: 0;
    }

    /* METHOD SECTION */
    .step-card {
        padding: 2rem;
        /* Reduce padding */
    }

    /* OFFER SECTION */
    .offer-body-grid {
        display: flex;
        flex-direction: column;
        gap: 0;
        border-top: none;
        padding-top: 0;
    }

    .offer-main {
        border-bottom: 1px solid #333;
        padding-bottom: 3rem;
        margin-bottom: 3rem;
    }

    .offer-sidebar {
        background: #1a1a1a;
        padding: 2rem;
        border-radius: 8px;
    }

    /* FOOTER */
    .footer-grid {
        gap: 3rem;
    }

    .footer {
        text-align: left;
    }

    /* FAQ adjustment for touch targets */
    .accordion-header {
        padding: 1.25rem 0;
    }
}

/* Landscape Mobile Fix */
@media (max-width: 480px) {
    .hero-headline {
        font-size: 2rem;
    }
}

/* ARCHITECTURAL EXTRAS */
.solution-section {
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    /* Technical Grid Pattern */
}

/* FADE ANIMATION FOR FAQ */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.accordion-content.active {
    display: block;
    animation: fadeIn 0.3s ease-out;
}