main {
    display: block;
    width: 98%;
    max-width: 1400px;
    margin: 0 auto;
}
.hero-description p {
    font-size: 1rem;           /* Nieco większy niż standard, aby był bardziej czytelny */
    line-height: 1.7;            /* Większa interlinia dla "oddechu" tekstu */
    color: var(--clr-subtelny);
    margin-bottom: 1.5rem;       /* Odstęp między paragrafem a linią "Projektujemy dla Ciebie" */
    max-width: 600px;            /* Zapobiega zbyt długim liniom, które męczą wzrok */
}
/* 1. SEKCJA HERO */
.hero {
    padding: clamp(2rem, 5vw, 3rem) 0;
    /*background-color: var(--clr-light);*/
}
.hero-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    max-width: 1600px;
    margin: 0 auto;
}
.hero-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 6px;
    color: #999;
    margin-bottom: 1.5rem;
    font-weight: 400;
}
.hero-title {
    font-size: clamp(2.25rem, 5.4vw, 3.78rem);
    font-weight: 200;
    text-transform: uppercase;
    line-height: 1.1;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    max-width: 900px;
}
.hero-description {
    max-width: 400px;
}
.hero-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 10px 10px 40px rgba(0,0,0,0.03);
}
.hero-signature {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    opacity: 0;
    animation: signatureEntrance 1.2s ease-out forwards 0.8s;
}
.signature-line {
    position: absolute;
    left: calc(48% - 165px); /* Zwiększono o 15px, aby przesunąć kreskę w lewo */
    width: 50px;
    height: 1px;
    background: linear-gradient(to right, #A10510, rgba(161, 5, 16, 0));
}
.signature-line::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background: #A10510;
    border-radius: 50%;
}
.signature-text {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.4rem;
    color: #060912;
    letter-spacing: 0.05em;
    text-align: center;
    margin: 0;
    padding-left: 20px;
}
@keyframes signatureEntrance {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}

/* 2. SEKCJA OFERTOWA */
.rooms-offer {
    padding: clamp(4rem, 10vw, 7rem) 0;
    /*background-color: #fafafa;*/
}

.rooms-header {
    text-align: center;
    margin-bottom: clamp(3rem, 6vw, 5rem);
}

.rooms-main-title {
    font-size: clamp(1.5rem, 3.5vw, 2.2rem);
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 6px;
    color: #060912;
}

.rooms-header p {
    font-size: clamp(0.95rem, 1.2vw, 1.05rem);
    font-weight: 300;
    color: #2f3338;
    line-height: 1.8;
    max-width: 70%;
    margin: 0 auto;
    letter-spacing: 0.02em;
    padding: 0 1.5rem;
    opacity: 0.9;
}

.rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.room-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 0;
}

.room-link-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
    width: 100%;
}

.room-image-wrapper {
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
}

.room-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.room-content {
    background-color: #fff;
    width: 85%;
    margin-top: -3rem;
    position: relative;
    z-index: 2;
    padding: 2.5rem 1.5rem;
    text-align: center;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.room-label {
    display: block;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--clr-accent);
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.room-title {
    font-size: 1.6rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1.5rem;
}

.room-action {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #666;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

/* 3. SEKCJA O MARCE */
.about-brand {
    padding: clamp(3rem, 8vw, 6rem) 0;
    background-color: #ffffff;
}
.about-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}
.about-header {
    text-align: center;
    margin-bottom: 3.5rem;
    border: none !important;
    position: relative;
    padding-bottom: 0 !important;
}
.about-header::before,
.about-header::after {
    content: none !important;
    display: none !important;
}
.about-title {
    /* clamp(min, preferred, max) */
    font-size: clamp(1.5rem, 4vw + 0.5rem, 3.5rem);
    letter-spacing: clamp(2px, 0.5vw + 1px, 8px);

    font-weight: 300;
    color: var(--clr-primary);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}
.about-subtitle {
    font-size: 0.88rem;
    font-weight: 400;
    color: var(--clr-accent);
    text-transform: uppercase;
    letter-spacing: 6px;
}
.about-content p {
    font-size: clamp(0.95rem, 1.2vw, 1.05rem);
    font-weight: 300;
    line-height: 1.8;
    color: var(--clr-subtelny);
    max-width: 70%;
    margin: 0 auto;
    text-align: center;
    letter-spacing: 0.02em;
}

/* 4. RESPONSYWNOŚĆ */

@media (min-width: 992px) {
    .hero {
        min-height: 50vh;
        display: flex;
        align-items: center;
    }
    .hero-grid {
        display: grid;
        grid-template-columns: 1fr 1.5fr;
        gap: 6vw;
        align-items: center;
    }
    .hero-text {
        order: 1;
    }
    .hero-image {
        order: 2;
    }
    .hero-img {
        max-height: 700px;
        aspect-ratio: 16 / 9;
    }
    .room-image-wrapper {
        aspect-ratio: 4 / 3;
    }
    .room-card {
        margin-bottom: 120px;
    }
    .room-content {
        width: 75%;
        padding: 1.5rem 1rem;
        margin-top: -2.5rem;
    }
    .room-title {
        font-size: 1.3rem;
    }
}

@media (max-width: 992px) {
    .hero-grid {
        display: flex;
        flex-direction: column;
        padding: 0;
        gap: 1.5rem;
    }
    .hero-image {
        width: 95%;
        margin: 0 auto;
        height: 50vh;
        min-height: 450px;
        overflow: hidden;
        order: 1;
        border-radius: 2px;
    }
    .hero-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        display: block;
    }
    .hero-text {
        width: 100%;
        padding: 40px 20px;
        order: 2;
        text-align: center;
    }
    .hero-description p {
        max-width: 100%;
        padding: 0 10px;
    }
}

/* 4. RESPONSYWNOŚĆ - MOBILE (max-width: 768px) */

/* 4. RESPONSYWNOŚĆ - MOBILE (max-width: 768px) */

@media (max-width: 768px) {

  .about-title {
    font-weight: 400;
  }
    .about-header {
        margin-bottom: 2rem;
    }

    .hero {
        padding-top: 2rem;
        padding-bottom: 1rem;
    }

    .hero-image {
        width: 95%;
        margin: 0 auto;
        height: 50vh;
        min-height: 450px;
        overflow: hidden;
        order: 1;
        border-radius: 2px;
    }

    .hero-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        display: block;
    }

    .hero-signature {
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
    }

    .signature-line {
        position: relative;
        left: auto;
        margin-right: 15px;
        flex-shrink: 0;
    }

    .signature-text {
        padding-left: 0;
        white-space: nowrap;
    }

    .rooms-offer {
        padding-top: 1rem;
    }

    .rooms-header p {
        max-width: 95%;
        font-size: 0.9rem;
        line-height: 1.65;
    }

    .rooms-grid {
        gap: 20px !important;
        margin-bottom: 40px !important;
    }

    /* Redukcja przestrzeni między sąsiadującymi grupami gridów */
    .rooms-offer .rooms-grid + .rooms-grid {
        margin-top: -20px !important;
    }

    .room-card {
          width: 100%; /* Zamiast 97% */
          margin-left: 0;
          margin-right: 0;
      }

    .room-content {
        width: 90%;
        padding: 2rem 1.2rem;
    }

    .room-title {
        font-size: 1.35rem;
        letter-spacing: 2px;
    }

    .about-brand {
        padding: 3rem 1.5rem;
    }


    .about-subtitle {
        font-size: 0.75rem;
        letter-spacing: 3px;
    }

    .about-content p {
        max-width: 90%;
        font-size: 0.95rem;
        line-height: 1.65;

    }
}
@media (max-width: 480px) {
    .rooms-main-title {
        font-size: 1.2rem !important;
    }
    .room-title {
        font-size: 1.1rem !important;
    }

}
@media (min-width: 1024px) {
    .hero-grid {
        flex-direction: row;
        align-items: center;
        gap: 5rem;
    }
    .hero-content {
        flex: 0 0 40%;
    }
    .hero-image-wrapper {
        flex: 0 0 60%;
    }
    .hero-img {
        aspect-ratio: 16 / 10;
    }
}
