/**
 * Homepage Styles
 *
 * Specific styles for the Nyaderm homepage.
 * BEM naming: .nyaderm-hp-{section}__{element}--{modifier}
 */

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

/* ========================================
   Base
   ======================================== */
.nyaderm-homepage {
    width: 100%;
    overflow-x: hidden;
}

.nyaderm-homepage-main {
    background: #fff;
}

/* ========================================
   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 10px 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(1.6rem, 5vw, 3.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: 1rem;
    color: var(--hp-text-dark);
    line-height: 1.5;
}

.nyaderm-hp-hero__list li::before {
    content: '►';
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1rem;
    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__container {
        text-align: left;
    }

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

.nyaderm-hp-hero__image {
    display: none; /* Hidden on desktop, shown on mobile */
    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 VÁS TRÁPÍ SECTION
   ======================================== */
.nyaderm-hp-problems {
    padding: var(--hp-spacing) 10px;
    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: 500;
    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: 12px;
    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;
}

/* ========================================
   NAŠE PRODUKTY SECTION
   ======================================== */
.nyaderm-hp-products {
    padding: var(--hp-spacing) 10px;
}

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

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

.nyaderm-hp-products__grid {
    /* Override nyaderm_cards shortcode styles for homepage */
}

/* Override nyaderm_cards grid to 5 columns */
.nyaderm-hp-products__grid .nyaderm-widget {
    padding: 0;
    background: transparent;
}

.nyaderm-hp-products__grid .nyaderm-cards {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}

.nyaderm-hp-products__grid .card {
    max-width: none;
    padding: 24px 16px 32px;
}

.nyaderm-hp-products__grid .card__image {
    height: 180px;
    width: 110%;
    margin-left: -20px;
}

.nyaderm-hp-products__grid .nadpis-nyaderm {
    font-size: 14px;
    margin-top: -8px;
}

.nyaderm-hp-products__grid .nadpis-produkt {
    font-size: 2rem;
    letter-spacing: 0.1rem;
    margin-bottom: 4px;
}

.nyaderm-hp-products__grid .nadpis-produkt-antiAging {
    font-size: 1.7rem;
}

.nyaderm-hp-products__grid .lead {
    font-size: 0.8rem;
    width: 90%;
    margin-bottom: 12px;
    line-height: 1.2;
}

.nyaderm-hp-products__grid .copy {
    font-size: 12px;
    margin-bottom: 20px;
    line-height: 1.25;
}

.nyaderm-hp-products__grid .cta {
    padding: 10px 14px;
    font-size: 0.85rem;
}

/* ========================================
   PÉČE PRO CELOU RODINU SECTION
   ======================================== */
.nyaderm-hp-family {
    padding: var(--hp-spacing) 10px;
    background-image: url('https://stage.nyaderm.com/wp-content/uploads/2025/03/Group-19-2.svg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

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

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

/* Hero image - family photo */
.nyaderm-hp-family__hero {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.nyaderm-hp-family__hero-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Main grid - 2 columns */
.nyaderm-hp-family__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

/* Column styles */
.nyaderm-hp-family__col {

    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
}

.nyaderm-hp-family__col--right{
    justify-self: right;
}

/* Decorative arrows - absolutely positioned */
.nyaderm-hp-family__arrow {
    position: absolute;
    display: block;
    max-width: 100%;
    height: auto;
    z-index: 10;
    pointer-events: none;
}

.nyaderm-hp-family__arrow--tata {
    width: 220px;
    /* Adjust these values to position the arrow */
    top: 25%;
    left: 30%;
}

.nyaderm-hp-family__arrow--mama {
    width: 140px;
    /* Adjust these values to position the arrow */
    top: 40%;
    right: 30%;
}

/* Bubble cards - base */
.nyaderm-hp-family__bubble {
    display: flex;
    width: 350px;
    align-items: center;
    gap: 12px;
    background: #fff;
    border-radius: 20px;
    padding: 16px 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.nyaderm-hp-family__bubble:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* Reverse order bubble (image first) */
.nyaderm-hp-family__bubble--reverse {
    margin-left: -100px;
}

/* Reverse order bubble (image first) */
.nyaderm-hp-family_left__bubble--reverse {
    margin-left: 100px;
    flex-direction: row-reverse;
}

/* Bubble content (icon + text) */
.nyaderm-hp-family__bubble-content {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.nyaderm-hp-family__bubble-icon {
    flex-shrink: 0;
    color: var(--hp-text-dark);
    margin-top: 2px;
}

.nyaderm-hp-family__bubble-text {
    font-size: 0.9rem;
    color: var(--hp-text-dark);
    line-height: 1.4;
}

.nyaderm-hp-family__bubble-text strong {
    font-weight: 700;
}

/* Bubble product image */
.nyaderm-hp-family__bubble-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    flex-shrink: 0;
}

/* Children section */
.nyaderm-hp-family__children {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

/* Child bubble - gradient background */
.nyaderm-hp-family__bubble--child {
    background: linear-gradient(180deg, #CC987CB8 0%, #CC967985 100%);
    color: #fff;
}

.nyaderm-hp-family__bubble--child .nyaderm-hp-family__bubble-icon {
    color: #fff;
}

.nyaderm-hp-family__bubble--child .nyaderm-hp-family__bubble-text {
    color: #fff;
}

/* Arrow positioning for children */
.nyaderm-hp-family__arrow--anicka {
    width: 180px;
    /* Adjust these values to position the arrow */
    bottom: 120px;
    left: 25%;
}

.nyaderm-hp-family__arrow--bracha {
    width: 200px;
    /* Adjust these values to position the arrow */
    bottom: 10%;
    right: 30%;
}

/* ========================================
   NYADERM SI OBLÍBILI SECTION
   ======================================== */
.nyaderm-hp-testimonials {
    padding: var(--hp-spacing) 10px;
    background: #fff;
}

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

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

.nyaderm-hp-testimonials__content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

/* Left side - text */
.nyaderm-hp-testimonials__text {
    max-width: 480px;
}

.nyaderm-hp-testimonials__quote {
    width: 80px;
    height: auto;
    margin-bottom: 24px;
    display: block;
}

.nyaderm-hp-testimonials__name {
        font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--hp-text-dark);
    margin: 0 0 20px 0;
    line-height: 1.2;
}

.nyaderm-hp-testimonials__bio {
    font-size: 1rem;
    font-style: italic;
    color: var(--hp-text-dark);
    line-height: 1.6;
    margin: 0;
}

.nyaderm-hp-testimonials__bio a {
    color: var(--hp-text-dark);
    text-decoration: underline;
    font-weight: 600;
}

.nyaderm-hp-testimonials__bio a:hover {
    color: var(--hp-text-orange);
}

/* Right side - image */
.nyaderm-hp-testimonials__images {
    display: flex;
    align-items: center;
    justify-content: center;
}

.nyaderm-hp-testimonials__img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ========================================
   VELKÝ OBJEV ČESKÝCH VĚDCŮ SECTION
   ======================================== */
.nyaderm-hp-discovery {
    padding: var(--hp-spacing) 10px;
}

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

.nyaderm-hp-discovery__content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Left side - video/image */
.nyaderm-hp-discovery__media {
    position: relative;
}

.nyaderm-hp-discovery__video-link {
    display: block;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nyaderm-hp-discovery__video-link:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

.nyaderm-hp-discovery__img {
    width: 100%;
    height: auto;
    display: block;
}

.nyaderm-hp-discovery__play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 72px;
    height: 72px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--hp-text-dark);
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.nyaderm-hp-discovery__video-link:hover .nyaderm-hp-discovery__play-btn {
    background: #fff;
    transform: translate(-50%, -50%) scale(1.1);
}

.nyaderm-hp-discovery__play-btn svg {
    margin-left: 4px;
}

/* Right side - text */

.nyaderm-hp-discovery__title {
        font-size: clamp(1.6rem, 5vw, 3.5rem);
    font-weight: 500;
    color: var(--hp-text-dark);
    margin: 0 0 48px 0;
}

.nyaderm-hp-discovery__desc {
    font-size: 1rem;
    color: var(--hp-text-dark);
    line-height: 1.6;
    margin: 0 0 20px 0;
}

.nyaderm-hp-discovery__desc strong {
    font-weight: 700;
}

.nyaderm-hp-discovery__btn {
    display: inline-block;
    padding: 14px 32px;
    background-image: linear-gradient(90deg, #9A7A60 0%, #D1A785 100%);
    color: #fff;
    text-decoration: none;
    font-size: clamp(1rem, 0.598rem + 1.071vw, 1.563rem);
    font-weight: 400;
    transition: all 0.3s ease;
    margin-top: 12px;
}

/* ========================================
   ŘEKLI JSTE O NÁS SECTION
   ======================================== */
.nyaderm-hp-reviews {
    padding: var(--hp-spacing) 10px;
    background: #fff;
}

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

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

.nyaderm-hp-reviews__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    align-items: start;
}

.nyaderm-hp-reviews__img {
    width: 100%;
    height: auto;
    display: block;
}

/* ========================================
   KONTAKTNÍ FORMULÁŘ SECTION
   ======================================== */
.nyaderm-hp-contact {
    padding: var(--hp-spacing) 10px;
    max-width: var(--hp-container);
    margin: 0 auto;
}

/* ========================================
   KDO ZA PRODUKTY NYADERM STOJÍ SECTION
   ======================================== */
.nyaderm-hp-founder {
    min-height: 1000px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    position: relative;
}

.nyaderm-hp-founder__container {
    width: 100%;
    max-width: var(--hp-container);
    margin: 0 auto;
    padding: 80px 10px;
}

.nyaderm-hp-founder__content {
    max-width: 580px;
}

.nyaderm-hp-founder__title {
    font-size: clamp(1.6rem, 5vw, 3.5rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin: 0 0 32px 0;
}

.nyaderm-hp-founder__text {
    font-size: 1.05rem;
    color: #fff;
    line-height: 1.7;
    margin: 0;
    font-style: italic;
}

.nyaderm-hp-founder__text strong {
    font-weight: 700;
    font-style: normal;
}

.nyaderm-hp-founder__text sup {
    font-size: 0.65em;
}

/* ========================================
   DŮKAZY MÍSTO SLIBŮ SECTION (Mobile only)
   ======================================== */
.nyaderm-hp-proof {
    display: none; /* Hidden by default, shown on mobile */
    padding: var(--hp-spacing) 10px;
    background: var(--hp-bg-cream-light);
}

.nyaderm-hp-proof__container {
    max-width: 500px;
    margin: 0 auto;
    text-align: left;
}

.nyaderm-hp-proof__title {
    font-size: clamp(1.6rem, 5vw, 3.5rem);
    font-weight: 600;
    color: var(--hp-text-dark);
    margin: 0 0 32px 0;
    letter-spacing: 0.02em;
}

.nyaderm-hp-proof__slider {
    margin-bottom: 24px;
}

.nyaderm-hp-proof__text {
    font-size: 1rem;
    color: var(--hp-text-dark);
    line-height: 1.6;
    margin: 0 0 24px 0;
}

.nyaderm-hp-proof__text strong {
    font-weight: 700;
}

.nyaderm-hp-proof__btn {
    display: inline-block;
    padding: 14px 32px;
    background-image: linear-gradient(90deg, #9A7A60 0%, #D1A785 100%);
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nyaderm-hp-proof__btn:hover {
    opacity: 0.9;
    color: #fff;
}

/* ========================================
   ROZHOVORY S ODBORNÍKEM SECTION (Mobile only)
   ======================================== */
.nyaderm-hp-interviews {
    display: none; /* Hidden by default, shown on mobile */
    padding: var(--hp-spacing) 10px;
    background: #fff;
}

.nyaderm-hp-interviews__container {
    max-width: 500px;
    margin: 0 auto;
    text-align: left;
}

.nyaderm-hp-interviews__title {
    font-size: clamp(1.6rem, 5vw, 3.5rem);
    font-weight: 600;
    color: var(--hp-text-dark);
    margin: 0 0 24px 0;
    letter-spacing: 0.02em;
}

.nyaderm-hp-interviews__image {
    margin-bottom: 24px;
    border-radius: 16px;
    overflow: hidden;
}

.nyaderm-hp-interviews__image img {
    width: 100%;
    height: auto;
    display: block;
}

.nyaderm-hp-interviews__text {
    font-size: 1rem;
    color: var(--hp-text-dark);
    line-height: 1.6;
    margin: 0 0 24px 0;
}

.nyaderm-hp-interviews__btn {
    display: inline-block;
    padding: 14px 32px;
    background-image: linear-gradient(90deg, #9A7A60 0%, #D1A785 100%);
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nyaderm-hp-interviews__btn:hover {
    opacity: 0.9;
    color: #fff;
}

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

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

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

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

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

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

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

    .nyaderm-hp-products__grid .nyaderm-cards {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .nyaderm-hp-products__grid .nadpis-produkt {
        font-size: 2.5rem;
    }

    .nyaderm-hp-products__grid .nadpis-produkt-antiAging {
        font-size: 2rem;
    }

    /* Family section - tablet */
    .nyaderm-hp-family__hero-img {
        max-width: 450px;
    }

    .nyaderm-hp-family__grid {
        gap: 24px;
    }

    .nyaderm-hp-family__arrow--tata,
    .nyaderm-hp-family__arrow--mama {
        display: none;
    }

    .nyaderm-hp-family__bubble-img {
        width: 70px;
        height: 70px;
    }

    .nyaderm-hp-family__children {
        gap: 16px;
    }

    .nyaderm-hp-family__arrow--anicka,
    .nyaderm-hp-family__arrow--bracha {
        display: none;
    }

    /* Testimonials section - tablet */
    .nyaderm-hp-testimonials__content {
        display: flex;
        flex-direction: column-reverse;
        gap: 40px;
    }

    .nyaderm-hp-testimonials__text {
        max-width: 100%;
        text-align: center;
    }

    .nyaderm-hp-testimonials__quote {
        margin: 0 auto 24px;
    }

    .nyaderm-hp-testimonials__images {
        width: 100%;
    }

    .nyaderm-hp-testimonials__img {
        width: 100%;
        max-width: 100%;
    }

    /* Discovery section - tablet */
    .nyaderm-hp-discovery__content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .nyaderm-hp-discovery__media {
        order: 1;
    }

    .nyaderm-hp-discovery__text {
        order: 2;
        max-width: 100%;
        text-align: center;
    }

    .nyaderm-hp-discovery__title {
        margin-bottom: 20px;
    }

    .nyaderm-hp-discovery__btn {
        margin-top: 8px;
    }

    .nyaderm-hp-discovery__play-btn {
        width: 64px;
        height: 64px;
    }

    /* Reviews section - tablet */
    .nyaderm-hp-reviews__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    /* Founder section - tablet */
    .nyaderm-hp-founder {
        min-height: 700px;
        background-position: 70% center;
    }

    .nyaderm-hp-founder__content {
        max-width: 50%;
    }
}

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

    /* Hide family section on mobile */
    .nyaderm-hp-family {
        display: none;
    }

    /* Show proof section on mobile */
    .nyaderm-hp-proof {
        display: block;
    }

    /* Show interviews section on mobile */
    .nyaderm-hp-interviews {
        display: block;
    }

    /* Section titles - uppercase and centered */
    .nyaderm-hp-proof__title,
    .nyaderm-hp-interviews__title,
    .nyaderm-hp-problems__title,
    .nyaderm-hp-products__title,
    .nyaderm-hp-testimonials__title,
    .nyaderm-hp-discovery__title,
    .nyaderm-hp-reviews__title,
    .nyaderm-hp-founder__title {
        text-transform: uppercase;
        text-align: center;
    }

    /* Buttons - full width */
    .nyaderm-hp-proof__btn,
    .nyaderm-hp-interviews__btn,
    .nyaderm-hp-discovery__btn {
        display: block;
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }

    .nyaderm-hp-hero {
        padding: 40px 10px 0;
        background-image: url('img/hero-background-mobile.webp');
        min-height: 600px;
    }

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

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

    .nyaderm-hp-hero__image {
        display: none;
        max-width: 300px;
    }

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

    .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;
    }

    /* Products section - mobile carousel */

    .nyaderm-hp-products__container {
        max-width: 100%;
        padding: 0;
    }

    .nyaderm-hp-products__title {
        padding: 0 10px;
        margin-bottom: 32px;
    }

    .nyaderm-hp-products__grid .nyaderm-widget {
        padding: 0;
    }

    .nyaderm-hp-products__grid .nyaderm-cards {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
        gap: 16px;
        padding: 16px 10px;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .nyaderm-hp-products__grid .nyaderm-cards::-webkit-scrollbar {
        display: none;
    }

    .nyaderm-hp-products__grid .card {
        flex: 0 0 75%;
        max-width: 280px;
        scroll-snap-align: start;
    }

    /* Family section - mobile */
    .nyaderm-hp-family__hero {
        margin-bottom: 32px;
    }

    .nyaderm-hp-family__hero-img {
        max-width: 350px;
    }

    .nyaderm-hp-family__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .nyaderm-hp-family__bubble {
        padding: 12px 16px;
    }

    .nyaderm-hp-family__bubble-img {
        width: 60px;
        height: 60px;
    }

    .nyaderm-hp-family__bubble-text {
        font-size: 0.85rem;
    }

    .nyaderm-hp-family__children {
        flex-direction: column;
        gap: 12px;
    }

    .nyaderm-hp-family__bubble--child {
        width: 100%;
    }

    /* Testimonials section - mobile */
    .nyaderm-hp-testimonials__title {
        margin-bottom: 40px;
    }

    .nyaderm-hp-testimonials__quote {
        width: 60px;
    }

    /* Discovery section - mobile */
    .nyaderm-hp-discovery__content {
        gap: 32px;
    }

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

    .nyaderm-hp-discovery__play-btn {
        width: 56px;
        height: 56px;
    }

    .nyaderm-hp-discovery__play-btn svg {
        width: 20px;
        height: 20px;
    }

    .nyaderm-hp-discovery__btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }

    /* Reviews section - mobile carousel */
    .nyaderm-hp-reviews {
        padding-left: 0;
        padding-right: 0;
    }

    .nyaderm-hp-reviews__container {
        max-width: 100%;
        padding: 0;
    }

    .nyaderm-hp-reviews__title {
        margin-bottom: 32px;
        padding: 0 10px;
    }

    .nyaderm-hp-reviews__grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
        gap: 16px;
        padding: 0 10px 16px;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .nyaderm-hp-reviews__grid::-webkit-scrollbar {
        display: none;
    }

    .nyaderm-hp-reviews__card {
        flex: 0 0 75%;
        max-width: 280px;
        scroll-snap-align: start;
    }

    /* Founder section - mobile */
    .nyaderm-hp-founder {
        min-height: 600px;
        background-position: 75% center;
    }

    .nyaderm-hp-founder__container {
        padding: 60px 10px;
    }

    .nyaderm-hp-founder__content {
        max-width: 60%;
    }

    .nyaderm-hp-founder__title {
        margin-bottom: 24px;
    }

    .nyaderm-hp-founder__text {
        font-size: 0.95rem;
    }
}

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

    .nyaderm-hp-hero__subtitle {
        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;
    }

    /* Products carousel - small mobile adjustments */
    .nyaderm-hp-products__grid .card {
        flex: 0 0 85%;
        max-width: 260px;
    }

    .nyaderm-hp-products__grid .card__image {
        height: 180px;
        width: 100%;
        margin-left: 0;
    }

    .nyaderm-hp-products__grid .nadpis-produkt {
        font-size: 2.5rem;
    }

    /* Family section - small mobile */
    .nyaderm-hp-family__hero {
        margin-bottom: 24px;
    }

    .nyaderm-hp-family__hero-img {
        max-width: 280px;
    }

    .nyaderm-hp-family__bubble {
        padding: 10px 12px;
        gap: 8px;
    }

    .nyaderm-hp-family__bubble-img {
        width: 50px;
        height: 50px;
    }

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

    /* Discovery section - small mobile */
    .nyaderm-hp-discovery__content {
        gap: 24px;
    }

    .nyaderm-hp-discovery__video-link {
        border-radius: 12px;
    }

    .nyaderm-hp-discovery__play-btn {
        width: 48px;
        height: 48px;
    }

    .nyaderm-hp-discovery__play-btn svg {
        width: 18px;
        height: 18px;
    }
    
    .nyaderm-hp-testimonials__bio{
        text-align: left;
    }

    .nyaderm-hp-discovery__desc {
        font-size: 0.95rem;
        margin-bottom: 16px;
        text-align: left;
    }

    .nyaderm-hp-discovery__btn {
        padding: 10px 10px;
        font-size: 0.9rem;
    }

    /* Reviews section - small mobile carousel adjustments */
    .nyaderm-hp-reviews__card {
        flex: 0 0 85%;
        max-width: 260px;
        border-radius: 8px;
    }

    /* Founder section - small mobile */
    .nyaderm-hp-founder {
        min-height: 500px;

    }

    .nyaderm-hp-founder__container {
        padding: 40px 10px;
    }

    .nyaderm-hp-founder__content {
        max-width: 100%;
        text-align: center;
    }

    .nyaderm-hp-founder__title {
        font-size: 1.75rem;
        margin-bottom: 20px;
    }

    .nyaderm-hp-founder__text {
        font-size: 0.9rem;
        line-height: 1.6;
    }
}
