/* Reescríbete brand landing. Loaded only on the front page, after wheel styles. */

body.home {
    display: block;
    min-height: 100vh;
    background: #fffaf8;
    color: #263238;
}

body.home .wp-site-blocks {
    overflow: clip;
}

.brand-home {
    --brand-ink: #263238;
    --brand-muted: #667277;
    --brand-surface: #fffaf8;
    --brand-card: #ffffff;
    --brand-accent: #d38688;
    --brand-accent-strong: #b8676a;
    --brand-soft: #fbe8e5;
    --brand-line: rgba(38, 50, 56, 0.11);
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 0 0 96px;
    font-family: 'Sora', Arial, sans-serif;
}

.brand-header {
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    border-bottom: 1px solid var(--brand-line);
}

.brand-wordmark {
    color: var(--brand-ink);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-decoration: none;
}

.brand-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.brand-nav a,
.brand-inline-link {
    color: var(--brand-ink);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
}

.brand-nav a:hover,
.brand-inline-link:hover {
    color: var(--brand-accent-strong);
}

.brand-nav a:focus-visible,
.brand-wordmark:focus-visible,
.brand-button:focus-visible,
.brand-tool-card a:focus-visible,
.brand-inline-link:focus-visible {
    outline: 3px solid #1f5eff;
    outline-offset: 4px;
}

.brand-hero {
    min-height: 680px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    max-width: 940px;
    padding: 88px 0 96px;
}

.brand-eyebrow {
    margin: 0 0 18px;
    color: var(--brand-accent-strong);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.brand-hero h1 {
    max-width: 900px;
    margin: 0;
    color: var(--brand-ink);
    font-size: clamp(2.7rem, 7vw, 5.9rem);
    font-weight: 700;
    line-height: 0.98;
    letter-spacing: -0.055em;
}

.brand-hero-copy {
    max-width: 680px;
    margin: 30px 0 0;
    color: var(--brand-muted);
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    line-height: 1.7;
}

.brand-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 36px;
}

.brand-button {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 22px;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.brand-button:hover {
    transform: translateY(-2px);
}

.brand-button-primary {
    background: var(--brand-ink);
    color: #fff;
    box-shadow: 0 12px 30px rgba(38, 50, 56, 0.16);
}

.brand-button-primary:hover {
    color: #fff;
    box-shadow: 0 15px 36px rgba(38, 50, 56, 0.2);
}

.brand-button-secondary {
    border: 1px solid var(--brand-line);
    background: rgba(255, 255, 255, 0.72);
    color: var(--brand-ink);
}

.brand-tools {
    padding: 92px 0;
    border-top: 1px solid var(--brand-line);
}

.brand-section-heading {
    max-width: 760px;
    margin-bottom: 42px;
}

.brand-section-heading h2,
.brand-manifesto h2,
.brand-creator h2 {
    margin: 0;
    color: var(--brand-ink);
    font-size: clamp(2rem, 4.6vw, 3.65rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.brand-tool-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.brand-tool-card {
    min-height: 330px;
    display: flex;
    flex-direction: column;
    padding: 30px;
    border: 1px solid var(--brand-line);
    border-radius: 28px;
    background: var(--brand-card);
    box-shadow: 0 12px 38px rgba(38, 50, 56, 0.05);
}

.brand-tool-card-featured {
    background: var(--brand-soft);
    border-color: transparent;
}

.brand-tool-number {
    margin: 0 0 60px;
    color: var(--brand-accent-strong);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.brand-tool-card h3 {
    margin: 0 0 14px;
    color: var(--brand-ink);
    font-size: 1.45rem;
    line-height: 1.15;
}

.brand-tool-card p:not(.brand-tool-number) {
    margin: 0 0 26px;
    color: var(--brand-muted);
    font-size: 0.94rem;
    line-height: 1.65;
}

.brand-tool-card a {
    margin-top: auto;
    color: var(--brand-ink);
    font-size: 0.9rem;
    font-weight: 800;
    text-decoration: none;
}

.brand-manifesto {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.75fr);
    gap: 28px;
    padding: 100px 0;
    border-top: 1px solid var(--brand-line);
}

.brand-manifesto-copy > p:last-child {
    max-width: 720px;
    margin: 28px 0 0;
    color: var(--brand-muted);
    font-size: 1rem;
    line-height: 1.75;
}

.brand-manifesto-card {
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 32px;
    border-radius: 30px;
    background: var(--brand-ink);
    color: #fff;
}

.brand-manifesto-mark {
    font-size: 5rem;
    line-height: 0.8;
    color: var(--brand-accent);
}

.brand-manifesto-card p {
    margin: 0;
    font-size: 1.25rem;
    line-height: 1.45;
    font-weight: 600;
}

.brand-creator {
    display: grid;
    grid-template-columns: minmax(180px, 0.45fr) minmax(0, 1.2fr);
    align-items: center;
    gap: 56px;
    padding: 88px 0 24px;
    border-top: 1px solid var(--brand-line);
}

.brand-creator-logo {
    min-height: 180px;
    display: grid;
    place-items: center;
    padding: 32px;
    border-radius: 30px;
    background: #fff;
    border: 1px solid var(--brand-line);
}

.brand-creator-logo img {
    width: min(220px, 100%);
    height: auto;
    object-fit: contain;
}

.brand-creator > div:last-child > p:not(.brand-eyebrow) {
    max-width: 620px;
    margin: 22px 0 18px;
    color: var(--brand-muted);
    line-height: 1.7;
}

.wheel-tool-section {
    width: 100%;
    max-width: none !important;
    margin: 0 !important;
    padding: 92px 20px 70px !important;
    background: var(--color-primary);
}

.wheel-tool-section .wheel-app {
    width: 100%;
}

.wheel-tool-section #global-header .main-title {
    margin: 0 0 12px;
}

.wheel-tool-section .logo {
    margin-bottom: 0;
}

@media (max-width: 860px) {
    .brand-header {
        min-height: 76px;
    }

    .brand-nav a:not(:last-child) {
        display: none;
    }

    .brand-hero {
        min-height: 590px;
        padding: 70px 0 80px;
    }

    .brand-tool-grid {
        grid-template-columns: 1fr;
    }

    .brand-tool-card {
        min-height: 270px;
    }

    .brand-tool-number {
        margin-bottom: 36px;
    }

    .brand-manifesto,
    .brand-creator {
        grid-template-columns: 1fr;
    }

    .brand-manifesto-card {
        min-height: 250px;
    }

    .brand-creator {
        gap: 28px;
    }

    .brand-creator-logo {
        min-height: 130px;
    }
}

@media (max-width: 520px) {
    .brand-home {
        width: min(100% - 28px, 1180px);
        padding-bottom: 68px;
    }

    .brand-header {
        min-height: 70px;
    }

    .brand-nav {
        gap: 12px;
    }

    .brand-nav a {
        font-size: 0.78rem;
    }

    .brand-hero {
        min-height: auto;
        padding: 72px 0 78px;
    }

    .brand-hero h1 {
        font-size: clamp(2.7rem, 14vw, 4.2rem);
    }

    .brand-hero-actions {
        width: 100%;
    }

    .brand-button {
        width: 100%;
    }

    .brand-tools,
    .brand-manifesto {
        padding: 72px 0;
    }

    .brand-tool-card {
        padding: 24px;
        border-radius: 24px;
    }

    .brand-creator {
        padding-top: 72px;
    }

    .wheel-tool-section {
        padding: 70px 0 48px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .brand-button {
        transition: none;
    }

    .brand-button:hover {
        transform: none;
    }
}
