/* ==================== GUIDES PAGE STYLES ==================== */

body {
    background: var(--color-bg-light);
    color: var(--color-text-primary);
}

/* ==================== TYPOGRAPHY ==================== */

h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--color-text-primary);
    margin-bottom: 1rem;
}

h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-text-primary);
    margin-bottom: 1.5rem;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    line-height: 1.3;
    color: var(--color-text-primary);
    margin-bottom: 1rem;
}

p {
    font-size: clamp(1rem, 2vw, 1.125rem);
    color: var(--color-text-secondary);
}

main>section:nth-of-type(odd) {
    background-color: var(--color-bg-warm);
}

main>section:nth-of-type(even) {
    background-color: var(--color-bg-light);
}

/* ==================== HERO SECTION ==================== */

.section-hero {
    background-color: #ffe8d1 !important;
    padding: 3rem 1rem;
    min-height: auto;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: var(--max-width);
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-content {
    text-align: center;
}

.hero-brand {
    display: flex;
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 600;
    margin-bottom: 1rem;
}

.brand-guide {
    color: var(--color-brand);
}

.brand-via {
    color: var(--color-accent);
}

.hero-description {
    font-size: clamp(1.125rem, 2.5vw, 1.375rem);
    color: var(--color-text-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2.5rem;
    background: var(--color-brand);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.25rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
}

.cta-button:hover {
    background: #c68647;
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.hero-features {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    color: var(--color-text-light);
    font-size: 0.8rem;
    padding: 0.8em 0.4em;
}

.hero-features span {
    color: var(--color-text-secondary);
}

.hero-media {
    position: relative;
    order: 2;
}

.hero-media video {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

@media (min-width: 769px) {
    .section-hero {
        padding: var(--section-padding) clamp(1rem, 4vw, 2rem);
        min-height: 95vh;
    }

    .hero-container {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    .hero-content {
        text-align: left;
    }

    .hero-description {
        margin-left: 0;
        margin-right: 0;
    }

    .hero-features {
        justify-content: flex-start;
    }

    .hero-media {
        order: 0;
    }
}

@media (min-width: 1024px) {
    .hero-container {
        gap: 4rem;
    }
}

/* ==================== ABOUT SECTION ==================== */

.section-about {
    padding: var(--section-padding) clamp(1rem, 4vw, 2rem);
}

.about-container {
    max-width: var(--max-width);
    margin: 0 auto;
    text-align: center;
}

.about-container h2 {
    margin-bottom: 1rem;
}

.about-intro {
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: clamp(1.125rem, 2.5vw, 1.25rem);
}

.about-cards {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 2rem;
    margin-top: 3rem;
}

.about-card {
    position: relative;
    max-width: 500px;
    background: var(--color-bg-card);
    border-radius: 12px;
    padding: var(--card-padding);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
}

.about-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.about-card h3 {
    color: var(--color-brand);
    margin-bottom: 1rem;
}

.about-card p {
    margin-bottom: 1rem;
}

.about-card img,
.about-card video {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: auto;
}

@media (min-width: 769px) {
    .about-cards {
        grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    }
}

/* ==================== EDITOR SECTION ==================== */
.section-editor {
    padding: var(--section-padding) clamp(1rem, 4vw, 2rem);
}

.editor-container {
    max-width: var(--max-width);
    margin: 0 auto;
    text-align: center;
}

.editor-container h2 {
    margin-bottom: 1rem;
}

.editor-intro {
    max-width: 800px;
    margin: 0 auto 4rem;
    font-size: clamp(1.125rem, 2.5vw, 1.25rem);
}

.editor-item {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
    margin-bottom: 3rem;
    padding: 1rem;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
    border-radius: 16px;
}

.editor-item:last-child {
    margin-bottom: 0;
}

.editor-text {
    text-align: center;
    order: 2;
}

.editor-text p {
    font-size: clamp(1.125rem, 2.5vw, 1.375rem);
    line-height: 1.7;
}

.editor-media img,
.editor-media video {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    order: 1;
}

.editor-media img {
    box-shadow: none;
}

@media (min-width: 769px) {
    .editor-item {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        padding: 0;
        box-shadow: none;
        border-radius: 0;
    }

    .editor-item:nth-child(even) {
        grid-template-columns: 1fr 1fr;
    }

    .editor-item:nth-child(even) .editor-text {
        order: 1;
    }

    .editor-item:nth-child(even) .editor-media {
        order: 2;
    }

    .editor-text {
        text-align: left;
    }
}

@media (min-width: 1024px) {
    .editor-item {
        gap: 5rem;
        margin-bottom: 5rem;
    }
}

/* ==================== TEAM SECTION ==================== */

.section-team {
    padding: var(--section-padding) clamp(1rem, 4vw, 2rem);
}

.team-container {
    max-width: 900px;
    margin: 0 auto;
}

.team-container h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.team-member {
    background: var(--color-bg-card);
    border-radius: 16px;
    padding: var(--card-padding);
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.team-member-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.team-member h3 {
    color: var(--color-brand);
    text-align: center;
    margin-bottom: 0;
}

.team-member img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0px 0px 6px 0px #00000055;
}

.team-member-bio {
    line-height: 1.8;
    text-align: left;
    max-width: 100%;
}

.team-member-bio b {
    color: var(--color-brand);
    font-weight: 600;
}

/* ==================== PILLARS SECTION ==================== */

.section-principles {
    padding: var(--section-padding) clamp(1rem, 4vw, 2rem);
    position: relative;
    overflow: hidden;
}

.section-principles::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-brand) 0%, var(--color-accent) 100%);
}

.principles-container {
    max-width: var(--max-width);
    margin: 0 auto;
    text-align: center;
}

.principles-container h2 {
    margin-bottom: 3rem;
}

.principles-list {
    display: grid;
    justify-items: center;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    list-style: none;
}

.principles-list li {
    position: relative;
    max-width: 360px;
    background: var(--color-bg-card);
    border-radius: 12px;
    padding: var(--card-padding);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.principles-list li::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--color-brand);
    transform: scaleX(0);
    transition: var(--transition-smooth);
}

.principles-list li:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.principles-list li:hover::before {
    transform: scaleX(1);
}

.principles-list h3 {
    color: var(--color-brand);
    margin-bottom: 1rem;
}

.principles-list p {
    text-align: left;
    margin-bottom: 0.5rem;
}

.principles-list p:last-child {
    margin-bottom: 0;
}

@media (min-width: 769px) {
    .principles-list {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}