

/* css/public/home/home_page_filter.css */

/* ============================================================
   HOME SEO CONTENT — FLAT, CLEAN, RESPONSIVE DESIGN
   ============================================================ */

.home-seo-content {
    --seo-section-space: 30px;
    position: relative;
    z-index: 2;

    width: calc(100% - 39vw);
    min-height: 100vh;
    margin: 40px 0 0 19.5vw;
    padding: 0 32px 48px;

    background: var(--color-surface);
    border: 0;
    border-top: 1px solid var(--color-border-light);
    border-radius: 0;
    box-shadow: none;

    color: var(--color-text);
    box-sizing: border-box;
}


.home-seo-content *,
.home-seo-content *::before,
.home-seo-content *::after {
    box-sizing: border-box;
}

/* ============================================================
   CONTENT WIDTH
   ============================================================ */

.home-seo-content > * {
    width: 100%;
    max-width: var(--seo-content-width);
    margin-right: auto;
    margin-left: auto;
}

/* ============================================================
   INTRODUCTION
   ============================================================ */

.seo-content-intro {
    padding: 38px 0 32px;
    text-align: left;
    animation: seoContentFadeIn 0.5s ease both;
}

.seo-content-intro h1 {
    width: 100%;
    max-width: none;
    margin: 0 0 16px;

    color: var(--color-text);

    font-size: clamp(28px, 3.2vw, 40px);
    font-weight: var(--font-weight-extrabold);
    line-height: 1.2;
    letter-spacing: -0.03em;
    text-align: left;
}

.seo-content-intro p {
    width: 100%;
    max-width: none;
    margin: 0 0 13px;

    color: var(--color-text-secondary);

    font-size: 15px;
    font-weight: var(--font-weight-medium);
    line-height: 1.8;
    letter-spacing: 0;

    text-align: left;
    overflow-wrap: break-word;
}

.seo-content-intro p:last-of-type {
    margin-bottom: 0;
}

/* ============================================================
   INTRO CTA
   ============================================================ */

.seo-content-cta {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-top: 22px;
}

/* ============================================================
   REGISTER BUTTON
   ============================================================ */

.seo-register-button {
    position: relative;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 164px;
    min-height: 46px;
    padding: 0 23px;

    border: 1px solid var(--color-primary);
    border-radius: var(--radius-pill);

    background: var(--color-primary);
    color: #fff;

    font-size: 13px;
    font-weight: var(--font-weight-bold);
    line-height: 1;

    text-decoration: none;
    box-shadow: var(--shadow-login);

    overflow: hidden;

    transition:
        transform var(--transition-fast),
        background-color var(--transition-fast),
        border-color var(--transition-fast),
        box-shadow var(--transition-fast);
}

.seo-register-button::before {
    content: "";

    position: absolute;
    inset: 0;

    background: linear-gradient(
        115deg,
        transparent 20%,
        rgba(255, 255, 255, 0.14) 45%,
        transparent 70%
    );

    transform: translateX(-120%);
    transition: transform 0.6s ease;

    pointer-events: none;
}

.seo-register-button:hover::before {
    transform: translateX(120%);
}

.seo-register-button:hover {
    background: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-login-hover);
}

.seo-register-button:active {
    transform: translateY(0);
    box-shadow: var(--shadow-login-active);
}

.seo-register-button:focus-visible {
    outline: var(--focus-width) solid var(--focus-color);
    outline-offset: var(--focus-offset);
}

/* ============================================================
   SEO CONTENT SECTIONS
   No cards, no inner backgrounds, no inner containers.
   ============================================================ */

.seo-content-block {
    position: relative;

    width: 100%;
    max-width: none;

    margin: 0;
    padding: var(--seo-section-space) 0;

    background: transparent;
    border: 0;
    border-top: 1px solid var(--color-border-light);
    border-radius: 0;
    box-shadow: none;

    animation: seoContentFadeUp 0.5s ease both;
}

.seo-content-block h2 {
    width: 100%;
    max-width: none;

    margin: 0 0 14px;

    color: var(--color-text);

    font-size: clamp(21px, 2.2vw, 28px);
    font-weight: var(--font-weight-extrabold);
    line-height: 1.3;
    letter-spacing: -0.02em;

    text-align: left;
}

.seo-content-block p {
    width: 100%;
    max-width: none;

    margin: 0 0 13px;

    color: var(--color-text-secondary);

    font-size: 14px;
    font-weight: var(--font-weight-medium);
    line-height: 1.8;
    letter-spacing: 0;

    text-align: left;
    overflow-wrap: break-word;
}

.seo-content-block p:last-of-type {
    margin-bottom: 0;
}

/* ============================================================
   LOCATION LINKS
   ============================================================ */

.seo-location-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;

    gap: 9px;

    width: 100%;
    max-width: none;

    margin-top: 20px;
}

.seo-location-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 35px;
    padding: 0 14px;

    border: 1px solid var(--color-border);
    border-radius: var(--radius-pill);

    background: var(--color-surface-soft);
    color: var(--color-primary);

    font-size: 12px;
    font-weight: var(--font-weight-semibold);
    line-height: 1;

    text-decoration: none;
    white-space: nowrap;

    transition:
        transform var(--transition-fast),
        color var(--transition-fast),
        background-color var(--transition-fast),
        border-color var(--transition-fast),
        box-shadow var(--transition-fast);
}

.seo-location-links a:hover {
    background: var(--color-primary-soft);
    border-color: rgba(37, 99, 235, 0.28);
    color: var(--color-primary-dark);

    transform: translateY(-2px);
    box-shadow: 0 5px 14px rgba(37, 99, 235, 0.08);
}

.seo-location-links a:focus-visible {
    outline: var(--focus-width) solid var(--focus-color);
    outline-offset: var(--focus-offset);
}

/* ============================================================
   FINAL CTA
   Flat section — NOT a card.
   ============================================================ */

.seo-content-final {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;

    width: 100%;
    max-width: none;

    margin-top: 24px;
    padding: 30px 0 0;

    background: transparent;

    border: 0;
    border-top: 1px solid var(--color-border-light);
    border-radius: 0;
    box-shadow: none;

    text-align: left;
    animation: seoContentFadeUp 0.55s ease both;
}

.seo-content-final h2 {
    width: 100%;
    max-width: none;

    margin: 0 0 13px;

    color: var(--color-text);

    font-size: clamp(23px, 2.6vw, 30px);
    font-weight: var(--font-weight-extrabold);
    line-height: 1.25;
    letter-spacing: -0.025em;

    text-align: left;
}

.seo-content-final p {
    width: 100%;
    max-width: none;

    margin: 0 0 12px;

    color: var(--color-text-secondary);

    font-size: 14px;
    font-weight: var(--font-weight-medium);
    line-height: 1.8;

    text-align: left;
    overflow-wrap: break-word;
}

.seo-content-final p:last-of-type {
    margin-bottom: 20px;
}

.seo-content-final .seo-register-button {
    min-width: 170px;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */

@keyframes seoContentFadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes seoContentFadeUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================================
   LAPTOP
   ============================================================ */

@media (max-width: 1200px) {
    .home-seo-content {
        width: var(--header-width-laptop);
        padding-right: 28px;
        padding-left: 28px;
        margin-top: 36px;
    }

    .seo-content-intro {
        padding-top: 34px;
        padding-bottom: 30px;
    }

    .seo-content-block {
        padding-top: 28px;
        padding-bottom: 28px;
    }

    .seo-content-final {
        padding-top: 26px;
    }
}

/* ============================================================
   TABLET
   ============================================================ */

@media (max-width: 900px) {
    .home-seo-content {
        width: var(--header-width-tablet);
        padding-right: 24px;
        padding-left: 24px;
        margin-top: 32px;
    }

    .seo-content-intro {
        padding-top: 30px;
        padding-bottom: 27px;
    }

    .seo-content-intro h1 {
        font-size: 32px;
    }

    .seo-content-block {
        padding-top: 26px;
        padding-bottom: 26px;
    }

    .seo-content-block h2 {
        font-size: 24px;
    }

    .seo-content-final {
        padding-top: 24px;
    }
}

/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 768px) {
    .home-seo-content {
        width: calc(100% - 32px);
        margin: 28px 16px 0;
        padding: 0 18px 30px;
    }

    .seo-content-intro {
        padding-top: 26px;
        padding-bottom: 24px;
    }

    .seo-content-intro h1 {
        margin-bottom: 13px;
        font-size: 27px;
        line-height: 1.22;
        letter-spacing: -0.025em;
    }

    .seo-content-intro p {
        margin-bottom: 11px;
        font-size: 14px;
        line-height: 1.75;
    }

    .seo-content-cta {
        margin-top: 18px;
    }

    .seo-register-button {
        min-height: 44px;
        padding: 0 20px;
        font-size: 12px;
    }

    .seo-content-block {
        padding-top: 23px;
        padding-bottom: 23px;
    }

    .seo-content-block h2 {
        margin-bottom: 12px;
        font-size: 21px;
        line-height: 1.3;
    }

    .seo-content-block p {
        margin-bottom: 11px;
        font-size: 13.5px;
        line-height: 1.75;
    }

    .seo-location-links {
        gap: 8px;
        margin-top: 17px;
    }

    .seo-location-links a {
        min-height: 34px;
        padding: 0 12px;
        font-size: 11px;
    }

    .seo-content-final {
        margin-top: 20px;
        padding-top: 23px;
    }

    .seo-content-final h2 {
        font-size: 24px;
    }

    .seo-content-final p {
        font-size: 13.5px;
        line-height: 1.75;
    }
}

/* ============================================================
   SMALL MOBILE
   ============================================================ */

@media (max-width: 480px) {
    .home-seo-content {
        width: calc(100% - 24px);
        margin: 24px 12px 0;
        padding: 0 14px 24px;
    }

    .seo-content-intro {
        padding-top: 23px;
        padding-bottom: 21px;
    }

    .seo-content-intro h1 {
        margin-bottom: 11px;
        font-size: 24px;
        line-height: 1.25;
    }

    .seo-content-intro p {
        font-size: 13px;
        line-height: 1.75;
    }

    .seo-register-button {
        width: 100%;
        max-width: 280px;
    }

    .seo-content-block {
        padding-top: 21px;
        padding-bottom: 21px;
    }

    .seo-content-block h2 {
        margin-bottom: 10px;
        font-size: 20px;
    }

    .seo-content-block p {
        font-size: 13px;
        line-height: 1.75;
    }

    .seo-location-links {
        gap: 7px;
        margin-top: 15px;
    }

    .seo-location-links a {
        min-height: 33px;
        padding: 0 10px;
        font-size: 10.5px;
    }

    .seo-content-final {
        padding-top: 21px;
    }

    .seo-content-final h2 {
        font-size: 22px;
    }

    .seo-content-final p {
        font-size: 13px;
        line-height: 1.75;
    }

    .seo-content-final p:last-of-type {
        margin-bottom: 18px;
    }
}

/* ============================================================
   VERY SMALL PHONES
   ============================================================ */

@media (max-width: 360px) {
    .home-seo-content {
        width: calc(100% - 20px);
        margin-right: 10px;
        margin-left: 10px;
        padding-right: 12px;
        padding-left: 12px;
    }

    .seo-content-intro h1 {
        font-size: 22px;
    }

    .seo-content-intro p,
    .seo-content-block p,
    .seo-content-final p {
        font-size: 12.5px;
    }

    .seo-content-block h2 {
        font-size: 19px;
    }

    .seo-location-links {
        gap: 6px;
    }

    .seo-location-links a {
        min-height: 32px;
        padding: 0 9px;
        font-size: 10px;
    }

    .seo-content-final h2 {
        font-size: 20px;
    }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
    .seo-content-intro,
    .seo-content-block,
    .seo-content-final {
        animation: none;
    }

    .seo-register-button,
    .seo-location-links a,
    .seo-register-button::before {
        transition: none;
    }

    .seo-register-button:hover,
    .seo-location-links a:hover {
        transform: none;
    }
}