  /* =========================================================
   AMBIANCE BY EPISTLE
   ABOUT PAGE
========================================================= */

:root {
    --dark: #17191b;
    --dark-soft: #222528;
    --cream: #f6f3ed;
    --white: #ffffff;
    --accent: #c66a3d;
    --accent-dark: #a9532e;
    --text: #25282a;
    --muted: #737474;
    --border: #dedbd4;

    --container: 1180px;
    --transition: 0.35s ease;
}


/* RESET */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "DM Sans", sans-serif;
    background: var(--cream);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
}

.container {
    width: min(92%, var(--container));
    margin: auto;
}

.section {
    padding: 110px 0;
}

.eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    color: var(--accent);
}

.section-number {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--accent);
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 22px 0;
    transition:
        background var(--transition),
        padding var(--transition),
        box-shadow var(--transition);
}

.site-header.scrolled {
    background: rgba(23, 25, 27, 0.96);
    backdrop-filter: blur(14px);
    padding: 14px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* BRAND */

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: var(--white);
}

.brand-mark {
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,0.6);
    font-family: "Manrope", sans-serif;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: -1px;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.brand-text strong {
    font-family: "Manrope", sans-serif;
    font-size: 17px;
    font-weight: 800;
}

.brand-text small {
    margin-top: 5px;
    font-size: 9px;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.7;
}


/* NAV */

.main-nav {
    display: flex;
    align-items: center;
    gap: 29px;
}

.nav-link {
    position: relative;
    color: rgba(255,255,255,0.8);
    font-size: 13px;
    font-weight: 500;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-cta {
    padding: 12px 18px;
    background: var(--accent);
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
    transition: var(--transition);
}

.nav-cta:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
}


/* MOBILE MENU */

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    margin: 5px auto;
    background: var(--white);
    transition: var(--transition);
}


/* =========================================================
   PAGE HERO
========================================================= */

.page-hero {
    position: relative;
    min-height: 76vh;
    display: flex;
    align-items: center;
    background: var(--dark);
    color: var(--white);
    overflow: hidden;
}

.page-hero-pattern {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            circle at 80% 35%,
            rgba(198,106,61,0.18),
            transparent 28%
        ),
        linear-gradient(
            125deg,
            #17191b,
            #202326
        );
}

.page-hero-pattern::before {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    right: -160px;
    top: -120px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 50%;
}

.page-hero-pattern::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    right: 60px;
    bottom: -180px;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 50%;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding-top: 90px;
}

.page-hero-content .eyebrow {
    margin-bottom: 22px;
}

.page-hero h1 {
    font-family: "Manrope", sans-serif;
    font-size: clamp(48px, 7vw, 82px);
    line-height: 1.02;
    letter-spacing: -4px;
}

.page-hero h1 span {
    display: block;
    color: var(--accent);
}

.page-hero-content > p:last-child {
    max-width: 650px;
    margin-top: 28px;
    color: rgba(255,255,255,0.62);
    font-size: 17px;
    line-height: 1.8;
}

.hero-label {
    position: absolute;
    z-index: 3;
    right: 4%;
    bottom: 35px;
    display: flex;
    gap: 25px;
    color: rgba(255,255,255,0.35);
    font-size: 9px;
    letter-spacing: 2px;
}


/* =========================================================
   ABOUT INTRO
========================================================= */

.about-intro {
    background: var(--cream);
}

.about-intro-grid {
    display: grid;
    grid-template-columns: 0.25fr 1fr;
    gap: 80px;
}

.section-label {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.section-label span {
    color: var(--accent);
    font-size: 11px;
    font-weight: 700;
}

.section-label p {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
}

.about-intro-content {
    max-width: 820px;
}

.about-intro-content h2 {
    font-family: "Manrope", sans-serif;
    font-size: clamp(36px, 4.5vw, 60px);
    line-height: 1.08;
    letter-spacing: -2.5px;
}

.about-intro-content p {
    max-width: 720px;
    margin-top: 23px;
    color: var(--muted);
    font-size: 14px;
}

.about-intro-content .lead {
    color: var(--text);
    font-size: 20px;
    line-height: 1.7;
}


/* =========================================================
   APPROACH
========================================================= */

.approach {
    background: var(--white);
}

.approach-heading {
    display: grid;
    grid-template-columns: 0.35fr 1fr;
    gap: 70px;
    margin-bottom: 60px;
}

.approach-heading h2 {
    margin-top: 12px;
    font-family: "Manrope", sans-serif;
    font-size: clamp(38px, 4.5vw, 60px);
    line-height: 1.05;
    letter-spacing: -2.5px;
}

.heading-description {
    max-width: 600px;
    margin-top: 20px;
    color: var(--muted);
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
}

.approach-card {
    min-height: 270px;
    padding: 30px;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    transition:
        background var(--transition),
        transform var(--transition);
}

.approach-card:hover {
    background: var(--cream);
    transform: translateY(-4px);
}

.approach-card > span {
    color: var(--accent);
    font-size: 11px;
    font-weight: 700;
}

.approach-card h3 {
    margin-top: 65px;
    font-family: "Manrope", sans-serif;
    font-size: 22px;
}

.approach-card p {
    margin-top: 12px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.75;
}

.approach-card-accent {
    background: var(--accent);
    color: var(--white);
}

.approach-card-accent > span {
    color: rgba(255,255,255,0.65);
}

.approach-card-accent p {
    color: rgba(255,255,255,0.72);
}

.approach-card-accent:hover {
    background: var(--accent);
}


/* =========================================================
   PURPOSE
========================================================= */

.purpose {
    background: var(--cream);
}

.purpose-heading {
    max-width: 850px;
    margin-bottom: 55px;
}

.purpose-heading .eyebrow {
    margin-top: 10px;
}

.purpose-heading h2 {
    margin-top: 18px;
    font-family: "Manrope", sans-serif;
    font-size: clamp(38px, 4.5vw, 60px);
    line-height: 1.08;
    letter-spacing: -2.5px;
}

.purpose-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.purpose-card {
    min-height: 420px;
    padding: 40px;
    background: var(--white);
    border: 1px solid var(--border);
}

.purpose-card-dark {
    background: var(--dark);
    color: var(--white);
    border-color: var(--dark);
}

.purpose-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.purpose-number {
    color: var(--accent);
    font-size: 11px;
    font-weight: 700;
}

.purpose-tag {
    font-size: 9px;
    letter-spacing: 2px;
    font-weight: 700;
}

.purpose-card h3 {
    max-width: 450px;
    margin-top: 100px;
    font-family: "Manrope", sans-serif;
    font-size: 30px;
    line-height: 1.15;
    letter-spacing: -1px;
}

.purpose-card p {
    max-width: 520px;
    margin-top: 22px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.8;
}

.purpose-card-dark p {
    color: rgba(255,255,255,0.55);
}


/* =========================================================
   VALUES
========================================================= */

.values {
    background: var(--white);
}

.values-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 100px;
}

.values-intro h2 {
    margin-top: 18px;
    font-family: "Manrope", sans-serif;
    font-size: clamp(38px, 4vw, 56px);
    line-height: 1.08;
    letter-spacing: -2.5px;
}

.values-intro h2 span {
    display: block;
    color: var(--muted);
}

.values-list {
    border-top: 1px solid var(--border);
}

.value-item {
    display: grid;
    grid-template-columns: 65px 1fr;
    gap: 25px;
    padding: 27px 0;
    border-bottom: 1px solid var(--border);
}

.value-icon {
    color: var(--accent);
    font-size: 10px;
    font-weight: 700;
}

.value-item h3 {
    font-family: "Manrope", sans-serif;
    font-size: 20px;
}

.value-item p {
    max-width: 530px;
    margin-top: 8px;
    color: var(--muted);
    font-size: 13px;
}


/* =========================================================
   CTA
========================================================= */

.about-cta {
    padding: 105px 0;
    background: var(--accent);
    color: var(--white);
}

.about-cta-content {
    max-width: 800px;
}

.about-cta .eyebrow {
    color: rgba(255,255,255,0.65);
}

.about-cta h2 {
    margin-top: 18px;
    font-family: "Manrope", sans-serif;
    font-size: clamp(42px, 5vw, 67px);
    line-height: 1.04;
    letter-spacing: -3px;
}

.about-cta h2 span {
    display: block;
}

.about-cta-content > p:not(.eyebrow) {
    max-width: 600px;
    margin-top: 22px;
    color: rgba(255,255,255,0.75);
}

.cta-actions {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-top: 35px;
}

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 50px;
    padding: 0 24px;
    font-size: 12px;
    font-weight: 700;
    transition: var(--transition);
}

.btn:hover {
    transform: translateY(-3px);
}

.btn-light {
    background: var(--white);
    color: var(--dark);
}

.cta-whatsapp {
    font-size: 12px;
    font-weight: 700;
}

.cta-whatsapp:hover {
    text-decoration: underline;
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    background: var(--dark);
    color: var(--white);
    padding: 75px 0 25px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.4fr 0.7fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 65px;
}

.footer-brand {
    max-width: 330px;
}

.footer-brand .brand {
    margin-bottom: 25px;
}

.footer-brand > p {
    color: rgba(255,255,255,0.5);
    font-size: 12px;
    line-height: 1.8;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.footer-column h4 {
    margin-bottom: 10px;
    color: var(--accent);
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.footer-column a,
.footer-column p {
    color: rgba(255,255,255,0.55);
    font-size: 11px;
    line-height: 1.7;
}

.footer-column a:hover {
    color: var(--white);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    color: rgba(255,255,255,0.35);
    font-size: 9px;
}


/* =========================================================
   BACK TO TOP
========================================================= */

.back-to-top {
    position: fixed;
    right: 25px;
    bottom: 25px;
    z-index: 900;
    width: 44px;
    height: 44px;
    border: 0;
    background: var(--dark);
    color: var(--white);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: var(--transition);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--accent);
}


/* =========================================================
   REVEAL
========================================================= */

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 900px) {

    .main-nav {
        gap: 18px;
    }

    .about-intro-grid,
    .approach-heading,
    .values-grid {
        gap: 45px;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}


@media (max-width: 800px) {

    .menu-toggle {
        display: block;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(85%, 360px);
        height: 100vh;
        padding: 110px 35px 40px;
        background: var(--dark);
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 25px;
        box-shadow: -20px 0 60px rgba(0,0,0,0.25);
        transition: right 0.4s ease;
    }

    .main-nav.open {
        right: 0;
    }

    .nav-link {
        font-size: 16px;
    }

    .nav-cta {
        margin-top: 10px;
    }

    .page-hero {
        min-height: 70vh;
    }

    .page-hero h1 {
        letter-spacing: -2.5px;
    }

    .about-intro-grid,
    .approach-heading,
    .values-grid {
        grid-template-columns: 1fr;
    }

    .approach-grid {
        grid-template-columns: 1fr 1fr;
    }

    .purpose-grid {
        grid-template-columns: 1fr;
    }

    .purpose-card {
        min-height: 380px;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}


@media (max-width: 520px) {

    .section {
        padding: 80px 0;
    }

    .container {
        width: min(90%, var(--container));
    }

    .page-hero {
        min-height: 75vh;
    }

    .page-hero h1 {
        font-size: 46px;
    }

    .page-hero-content > p:last-child {
        font-size: 15px;
    }

    .approach-grid {
        grid-template-columns: 1fr;
    }

    .approach-card {
        min-height: 240px;
    }

    .purpose-card {
        padding: 28px;
        min-height: 360px;
    }

    .purpose-card h3 {
        margin-top: 75px;
        font-size: 25px;
    }

    .about-cta {
        padding: 80px 0;
    }

    .about-cta h2 {
        letter-spacing: -2px;
    }

    .cta-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
    }
}


@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}