/* Nyaderm Homepage Sections - Variables */
.nyaderm-homepage-section {
    --hp-bg-cream: #f5f0e8;
    --hp-bg-cream-light: #faf7f2;
    --hp-text-dark: #1a1a1a;
    --hp-text-orange: #996B50;
    --hp-accent: #8b5cf6;
    --hp-border: #e0dcd4;
    --hp-container: 1280px;
    --hp-spacing: 80px;
}

/* ========================================
   HERO SECTION
   ======================================== */
.nyaderm-hp-hero {
    background: linear-gradient(135deg, var(--hp-bg-cream) 0%, var(--hp-bg-cream-light) 100%);
    background-image: url('../img/nyaderm-hero.webp');
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    padding: 60px 20px 0;
    position: relative;
    overflow: hidden;
    min-height: 600px;
}

.nyaderm-hp-hero__container {
    max-width: var(--hp-container);
    margin: 0 auto;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
}

.nyaderm-hp-hero__content {
    flex: 1;
    max-width: 600px;
    padding-bottom: 80px;
}

.nyaderm-hp-hero__title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 300;
    color: var(--hp-text-dark);
    line-height: 1.15;
    margin: 0 0 28px 0;
    letter-spacing: 0.02em;
}

.nyaderm-hp-hero__subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.8rem);
    color: var(--hp-text-orange);
    margin: 0 0 28px 0;
    line-height: 1.4;
    font-weight: 800;
    font-style: italic;
}

.nyaderm-hp-hero__list {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
}

.nyaderm-hp-hero__list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 8px;
    font-size: 1.25rem;
    color: var(--hp-text-dark);
    line-height: 1.5;
}

.nyaderm-hp-hero__list li::before {
    content: '\25B6';
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.25rem;
    color: var(--hp-text-orange);
}

.nyaderm-hp-hero__btn {
    display: inline-block;
    padding: 10px 28px;
    color: var(--hp-text-dark);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    border: 2px solid var(--hp-text-dark);
    border-radius: 24px;
    transition: all 0.3s ease;
}

.nyaderm-hp-hero__btn:hover {
    background: transparent;
    color: var(--hp-text-dark);
}

.nyaderm-hp-hero__image {
    display: none;
    flex: 0 0 auto;
    max-width: 500px;
    align-self: flex-end;
}

.nyaderm-hp-hero__image img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* ========================================
   CO VAS TRAPI SECTION
   ======================================== */
.nyaderm-hp-problems {
    padding: var(--hp-spacing) 20px;
    background: #fff;
}

.nyaderm-hp-problems__container {
    max-width: var(--hp-container);
    margin: 0 auto;
}

.nyaderm-hp-problems__title {
    font-size: clamp(1.6rem, 5vw, 3.5rem);
    font-weight: 300;
    color: var(--hp-text-dark);
    text-align: center;
    margin: 0 0 48px 0;
    letter-spacing: 0.05em;
}

.nyaderm-hp-problems__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.nyaderm-hp-problems__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px 16px;
    background: #F7F2EE;
    border: 1px solid var(--hp-border);
    border-radius: 0;
    text-decoration: none;
    transition: all 0.3s ease;
    min-height: 160px;
}

.nyaderm-hp-problems__card:hover {
    border-color: var(--hp-text-orange);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.nyaderm-hp-problems__icon {
    width: 96px;
    height: 96px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nyaderm-hp-problems__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.nyaderm-hp-problems__label {
    font-size: 1rem;
    font-weight: 800;
    color: var(--hp-text-dark);
    text-align: center;
    line-height: 1.3;
}

/* ========================================
   RESPONSIVE - Tablet
   ======================================== */
@media (max-width: 1024px) {
    .nyaderm-hp-hero__container {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .nyaderm-hp-hero__content {
        padding-bottom: 40px;
        order: 1;
    }

    .nyaderm-hp-hero__image {
        order: 2;
        max-width: 400px;
    }

    .nyaderm-hp-hero__list {
        text-align: left;
    }

    .nyaderm-hp-problems__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ========================================
   RESPONSIVE - Mobile
   ======================================== */
@media (max-width: 768px) {
    .nyaderm-homepage-section {
        --hp-spacing: 48px;
    }

    .nyaderm-hp-problems__title {
        text-transform: uppercase;
        text-align: center;
    }

    .nyaderm-hp-hero__btn {
        display: inline-block;
        width: auto;
    }

    .nyaderm-hp-hero {
        padding: 40px 16px 20px;
        background-image: url('../img/hero-background-mobile.jpg');
        background-size: cover;
        background-position: center bottom;
        min-height: 600px;
    }

    .nyaderm-hp-hero__image {
        display: none;
    }

    .nyaderm-hp-hero__content {
        padding-bottom: 32px;
    }

    .nyaderm-hp-hero__list li {
        font-size: 1.1rem;
    }

    .nyaderm-hp-hero__list li::before {
        font-size: 1.1rem;
    }

    .nyaderm-hp-problems__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .nyaderm-hp-problems__card {
        padding: 24px 12px;
        min-height: 140px;
    }

    .nyaderm-hp-problems__icon {
        width: 44px;
        height: 44px;
    }
}

/* ========================================
   RESPONSIVE - Small Mobile
   ======================================== */
@media (max-width: 480px) {
    .nyaderm-hp-hero__title {
        font-size: 2.25rem;
    }

    .nyaderm-hp-hero__subtitle {
        font-size: 1.15rem;
    }

    .nyaderm-hp-hero__list li {
        font-size: 1rem;
    }

    .nyaderm-hp-hero__list li::before {
        font-size: 1rem;
    }

    .nyaderm-hp-problems__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .nyaderm-hp-problems__card {
        padding: 20px 8px;
        min-height: 120px;
    }

    .nyaderm-hp-problems__icon {
        width: 36px;
        height: 36px;
        margin-bottom: 12px;
    }

    .nyaderm-hp-problems__label {
        font-size: 0.8rem;
    }
}
