html, body{
    margin: 0;
    font-family: "Playfair", serif;
    background-color: #FAF9F6;
}

* {
    font-family: 'Playfair Display', serif;
}

/* Picture элементы должны быть прозрачными для стилей */
picture {
    display: contents;
    margin: 0;
    padding: 0;
    width: auto;
    height: auto;
}

/* Убеждаемся, что img внутри picture наследует все стили */
picture > img {
    display: block;
}

/* Fallback для браузеров без поддержки display: contents */
@supports not (display: contents) {
    picture {
        display: block;
        width: 100%;
        height: 100%;
    }
    
    picture > img {
        width: 100%;
        height: 100%;
        display: block;
    }
}

/*SECTION 1*/
.about-section-1{
    margin-top: 40px;
    margin-bottom: 0;
}

.div-split2{
    display: flex;
    align-items: stretch;
    width: 100%;
}

.div-left{
    width: 50%;
}

.main-about-img{
    width: 100%;
    height: 100%;
    max-height: 1200px;
    object-fit: cover;
    object-position: center top;
}

.div-right{
    width: 50%;
    background-color: #FAF9F6;
}

.div-main-about-text{
    align-items: center;
    display: flex;
    flex-direction: column;
}

.main-about-text{
    margin: clamp(5.7vh, 3vw, 90px) 0 0 0;
    font-size: clamp(28px, 2.5vw, 45px);
    color: #4C3B34;
    font-weight: normal;
    font-family: 'Playfair';
    font-style: normal;
    font-weight: 500;
    line-height: 1.94;
    letter-spacing: 0.1em;
}

.main-about-subtext{
    font-size: clamp(16px, 1.3vw, 24px);
    letter-spacing: 0.1em;
    line-height: 1.94;
    color: #817773;
    max-width: 62ch;
    font-family: 'Playfair';
    font-style: normal;
    font-weight: 400;
    color: #817773;
}

.btn-read-more{
    display: none;
    margin-top: 1vh;
    padding: 0;
    font-size: clamp(16px, 1.3vw, 24px);
    color: #817773;
    background-color: transparent;
    border: none;
    border-radius: 0;
    cursor: pointer;
    font-family: 'Playfair';
    font-style: normal;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.2em;
    transition: transform 0.25s ease, text-shadow 0.25s ease;
    align-self: flex-start;
}

.btn-read-more:hover {
    transform: scale(1.04);
    text-shadow: 0 0 1px currentColor;
}


/*SECTION 2*/
.about-section-2{
    margin-top: -5px;
}

.div-left-info-about{
    width: 50%;
    background-color: #4C3B34;
    color: #FAF9F6;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.first-info-about{
    font-size: clamp(24px, 1.8vw, 36px);
    line-height: 1.6;
    font-style: italic;
    max-width: 42ch;
    font-family: "Playfair", serif;
    font-style: italic;
    font-weight: 400;
}

.div-right-imgs-about{
    width: 50%;
}

.div-two-imgs-about{
    display: flex;
}

.img-info-about{
    width: 50%;
    object-fit: cover;
}

.div-left-imgs-about{
    width: 50%;
}

.div-right-info-about{
    width: 50%;
    background-color: #4C3B34;
    color: #FAF9F6;
    display: flex;
    align-items: center;
    justify-content: center;
}

.div-info-numbers{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.div-info-numbers:first-child{
    margin-right: clamp(50px, 5vw, 120px);
}

.number-about-info{
    font-size: clamp(28px, 3.5vw, 70px);
    margin-bottom: clamp(20px, 1.9vh, 40px);
    font-family: 'Montagu Slab';
    font-style: normal;
    font-weight: 400;
}

.text-number-about-info{
    font-size: clamp(16px, 1.5vw, 32px);
    font-family: 'Playfair';
    font-style: normal;
    font-weight: 700;
}


/*SECTION 3*/
.div-left-facts-about{
    width: 50%;
    padding: clamp(50px, 8.5vh, 120px) 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main-text-facts{
    margin: 0 0 clamp(3vh, 2vw, 50px) 0;
    font-size: clamp(20px, 2.5vw, 43px);
    color: #4C3B34;
    line-height: 1.9;
    letter-spacing: 0.05em;
    font-family: 'Playfair';
    font-style: normal;
    font-weight: 500;
}

.div-fact-item{
    border: 1px solid #817773;
    display: flex;
    align-items: center;
    width: 80%;
}

.div-fact-item-number{
    width: 15%;
    background: #4C3B34;

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

}

.div-left-facts-about .div-fact-item:not(:last-child) {
     margin-bottom: clamp(30px, 9vh, 100px);
}

.fact-item-number{
    font-family: 'Montagu Slab';
    font-style: normal;
    font-weight: 500;
    font-size: clamp(24px, 3vw, 64px);
    line-height: 1.9;
    letter-spacing: 0.05em;
    color: #FFFFFF;
}

.div-fact-item-text{
    display: flex;
    align-items: center;
    padding-left: clamp(20px, 3vh, 50px);
    width: 85%;
}
.fact-item-text {
    font-family: "Playfair", serif; /* именно так */
    font-style: normal;
    font-weight: 300;               /* light */
    font-variation-settings: "wdth" 112.5, "opsz" 5;
    font-size: clamp(16px, 1.2vw, 24px);
    line-height: 1.3;
    letter-spacing: 0.1em;
    color: #817773;
    display: inline-block;
    max-width: 45ch;
}

.btn-second-non-active{
    width: clamp(130px, 10vw, 245px);
    height: clamp(40px, 7vh, 56px);
    font-size: clamp(18px, 2vw, 36px);
    color: #FAF9F6;
    background-color: #4C3B34;
    border: 1.5px solid #FAF9F6;
    border-radius: 30px;
    cursor: pointer;

    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-second-non-active:hover {
    color: #FAF9F6;
    background-color: #817773;
}

.div-right-fact-about{
    width: 50%;
}

.img-fact-about{
    width: 100%;
    object-fit: cover;
    height: 100%;
    max-height: 950px;
}

/*SECTION 4*/

.about-section-4 .div-split2{
    flex-direction: row-reverse;
}

.about-section-4 .div-fact-item{
    flex-direction: row-reverse;
    text-align: end;
}

.about-section-4 .div-fact-item-text{
    padding: 0;
    display: contents;
}

.about-section-4 .fact-item-text{
    padding-right: clamp(20px, 3vh, 50px);
}


/*FOOTER*/
footer{
     background-color: #817773;
     padding: clamp(30px, 5vh, 55px) clamp(50px, 10vw, 120px);
     color: #FAF9F6;
 }

 .div-split-footer{
    display: flex;
    justify-content: space-between;
 }

 .div-left-footer{
     display: flex;
 }

 .footer-logo {
    width: clamp(160px, 12vw, 280px);
    height: auto;
    fill: none;
}

.div-name-footer{
    margin-left: clamp(10px, 2vw, 30px);
}

.text-name-footer{
    margin: 0;
    font-size: clamp(24px, 2.1vw, 40px);
}

.text-wedding-host-footer{
    margin: 0;
    font-size: clamp(18px, 1.2vw, 24px);
    max-width: 30ch;
}

 .div-bottom-footer{
    display: flex;
    justify-content: space-between;
    margin-top: clamp(20px, 3vh, 35px);
 }

.left-bottom-footer{
    display: flex;
    align-items: center;
    justify-content: center;
}

.link-footer{
    color: #FAF9F6;
    font-size: clamp(16px, 1.8vw, 32px);
}

.left-bottom-footer .link-footer:not(:last-child) {
     margin-right: clamp(50px, 5vw, 140px);
}

.center-bottom-footer{
    display: flex;
    align-items: center;
    justify-content: center;
}

.year-created-footer{
    font-size: clamp(16px, 1.6vw, 30px);
}

.right-bottom-footer{
    display: flex;
    align-items: center;
    justify-content: center;
}

.div-social-media-footer .social-media:not(:last-child) {
     margin-right: clamp(40px, 5vw, 100px);
}

.social-media {
    display: inline-block;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.social-media:hover {
    transform: scale(1.1);
}


.phone-footer, .mail-footer{
    margin: 0;
    font-size: clamp(16px, 1.8vw, 32px);
}

@media (max-width: 1024px) {
    br {
        display: none;
    }
    .btn-read-more{
        display: none;
    }
    .main-about-text{
        margin: clamp(4vh, 3vw, 90px) 0 0 0;
    }
    .main-about-subtext-wrapper{
        padding-left: 15px;
    }
    .first-info-about{
        font-size: clamp(16px, 1.9vw, 24px);
        max-width: 38ch;
    }
    .div-left-facts-about{
        padding: clamp(4vh, 3vw, 90px) 0;
    }
    .div-left-facts-about .div-fact-item:not(:last-child){
        margin-bottom: clamp(30px, 3.5vh, 100px);
    }
    .div-fact-item-number{
        min-width: 55px;
    }
    .fact-item-number{
        line-height: 2.2;
    }
}

@media (min-width: 481px) and (max-width: 1023px) {
    
    br {
        display: none;
    }

    /* ---------- SECTION 1 ---------- */
    .about-section-1 {
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
        box-sizing: border-box;
        padding-top: clamp(40px, 8vh, 80px);
        padding-bottom: 0;
        padding-left: 0;
        padding-right: 0;
    }

    .div-left{
        display: none;
    }

    .div-right{
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .div-main-about-text {
        padding: clamp(40px, 8vh, 80px) clamp(20px, 4vw, 40px);
        margin: 0;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: clamp(20px, 3vh, 30px);
        box-sizing: border-box;
        overflow-wrap: break-word;
        word-wrap: break-word;
    }

    .main-about-text{
        font-size: clamp(44px, 6.25vw, 67px);
        margin: 0;
        line-height: 1.3;
        letter-spacing: 0.05em;
        font-weight: 500;
        text-align: center;
        width: 100%;
        max-width: 100%;
        overflow-wrap: break-word;
        word-wrap: break-word;
        box-sizing: border-box;
    }

    .main-about-subtext-wrapper{
        padding: 0;
        max-width: 100%;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        box-sizing: border-box;
    }

    .main-about-subtext{
        padding: 0;
        font-size: clamp(25px, 3.4vw, 40px);
        line-height: 1.7;
        letter-spacing: 0.08em;
        margin: 0;
        max-width: 100%;
        width: 100%;
        text-align: center;
        overflow-wrap: break-word;
        word-wrap: break-word;
        box-sizing: border-box;
        display: -webkit-box;
        -webkit-line-clamp: 6;
        line-clamp: 6;
        -webkit-box-orient: vertical;
        overflow: hidden;
        transition: all 0.3s ease;
    }

    .main-about-subtext.expanded{
        display: block;
        -webkit-line-clamp: unset;
        line-clamp: unset;
    }

    .btn-read-more{
        display: block;
        margin: clamp(10px, 1.5vh, 20px) 0 0 0;
        padding: 0;
        font-size: clamp(25px, 3.4vw, 40px);
        align-self: center;
    }
    .about-section-2 .div-split2:first-child{
        flex-direction: column-reverse;
    }
    .about-section-2 .div-split2:last-child{
        flex-direction: column;
    }
    .div-right-imgs-about{
        width: 100%;
    }
    .div-left-imgs-about{
        width: 100%;
    }
    /* ---------- SECTION 2 ---------- */
    .div-left-info-about{
        width: 100%;
        max-width: 100%;
        padding: clamp(40px, 8vh, 80px) clamp(20px, 4vw, 40px);
        margin: 0;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
        overflow-wrap: break-word;
        word-wrap: break-word;
    }

    .first-info-about{
        font-size: clamp(25px, 3.4vw, 40px);
        line-height: 1.7;
        letter-spacing: 0.08em;
        margin: 0;
        max-width: 100%;
        width: 100%;
        text-align: center;
        overflow-wrap: break-word;
        word-wrap: break-word;
        box-sizing: border-box;
    }

    .div-right-info-about{
        width: 100%;
        max-width: 100%;
        padding: clamp(40px, 8vh, 80px) clamp(20px, 4vw, 40px);
        margin: 0;
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        align-items: center;
        gap: clamp(30px, 6vw, 60px);
        box-sizing: border-box;
    }

    .div-info-numbers{
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: clamp(10px, 1.5vh, 20px);
        margin: 0;
    }

    .div-info-numbers:first-child{
        margin-right: 0;
    }

    .number-about-info{
        font-size: clamp(36px, 5vw, 56px);
        margin: 0;
        text-align: center;
        line-height: 1.3;
        letter-spacing: 0.05em;
        font-weight: 500;
    }

    .text-number-about-info{
        font-size: clamp(25px, 3.4vw, 40px);
        line-height: 1.7;
        letter-spacing: 0.08em;
        margin: 0;
        text-align: center;
        overflow-wrap: break-word;
        word-wrap: break-word;
        box-sizing: border-box;
    }
    .about-section-3 .div-split{
        flex-direction: column-reverse;
    }
    .about-section-3 .div-split2{
        flex-direction: column-reverse;
    }
    .div-right-fact-about{
        width: 100%;
    }
    .img-fact-about{
        height: 35vh;
        object-fit: cover;
    }
    .about-section-4 .div-split2{
        flex-direction: column-reverse;
    }
    .about-section-4 .div-fact-item{
        flex-direction: row;
        text-align: start;
    }
    .div-left-facts-about{
        width: 100%;
    }
    .div-left-facts-about{
        padding: 2vh 0;
    }
    .main-text-facts{
        font-size: clamp(28px, 5vw, 50px);
        margin: 0 0 2vh 0;
    }
    .div-left-facts-about .div-fact-item:not(:last-child){
        margin-bottom: 2vh;
    }
    .fact-item-text{
        font-size: clamp(25px, 3.5vw, 40px);
        max-width: 30ch;
    }
    .fact-item-number{
        font-size: clamp(32px, 6vw, 60px);
        line-height: 3.5;
    }
    .about-section-4 .fact-item-text {
        padding-right: 0;
        padding-left: clamp(20px, 3vh, 50px);
    }
    .btn-second-non-active{
        width: clamp(300px, 35vw, 400px);
        font-size: clamp(28px, 5vw, 50px);
    }
}

/* ---------- MOBILE DEVICES (max-width: 480px) ---------- */
@media (max-width: 480px) {
  /* общий контроль */
  html {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
  }

  body {
    overflow-x: hidden;
    overflow-y: auto;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
  }

  br {
    display: none;
  }

  section {
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
    overflow-x: hidden;
  }

  /* ---------- SECTION 1 ---------- */
  .about-section-1 {
    margin-top: 0;
    margin-bottom: 0;
    padding-top: clamp(75px, 8vh, 100px);
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    box-sizing: border-box;
  }

  .div-split2 {
    flex-direction: column;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
  }

  .div-left {
    display: none;
  }

  .div-right {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .div-main-about-text {
    padding: 2vh 4vw;
    margin: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2vh;
    box-sizing: border-box;
    overflow-wrap: break-word;
    word-wrap: break-word;
  }

  .main-about-text {
    font-size: clamp(32px, 8vw, 48px);
    margin: 0;
    line-height: 1.3;
    letter-spacing: 0.05em;
    font-weight: 500;
    text-align: center;
    width: 100%;
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
    box-sizing: border-box;
  }

  .main-about-subtext-wrapper {
    padding: 0;
    max-width: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
  }

  .main-about-subtext {
    padding: 0;
    font-size: clamp(18px, 4.5vw, 28px);
    line-height: 1.6;
    letter-spacing: 0.08em;
    margin: 0;
    max-width: 100%;
    width: 100%;
    text-align: left;
    overflow-wrap: break-word;
    word-wrap: break-word;
    box-sizing: border-box;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: all 0.3s ease;
  }

  .main-about-subtext.expanded {
    display: block;
    -webkit-line-clamp: unset;
    line-clamp: unset;
  }

  .btn-read-more {
    display: block;
    margin: 1vh 0 0 0;
    padding: 0;
    font-size: clamp(18px, 4.5vw, 28px);
    align-self: center;
  }

  /* ---------- SECTION 2 ---------- */
  .about-section-2 {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    box-sizing: border-box;
    margin-top: 0;
  }

  .about-section-2 .div-split2:first-child {
    flex-direction: column-reverse;
  }

  .about-section-2 .div-split2:last-child {
    flex-direction: column;
  }

  .div-left-info-about {
    width: 100%;
    max-width: 100%;
    padding: 2vh 4vw;
    margin: 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    overflow-wrap: break-word;
    word-wrap: break-word;
  }

  .first-info-about {
    font-size: clamp(18px, 4.5vw, 28px);
    line-height: 1.6;
    letter-spacing: 0.08em;
    margin: 0;
    max-width: 100%;
    width: 100%;
    text-align: center;
    overflow-wrap: break-word;
    word-wrap: break-word;
    box-sizing: border-box;
  }

  .div-right-imgs-about,
  .div-left-imgs-about {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .div-two-imgs-about {
    display: flex;
    width: 100%;
  }

  .img-info-about {
    width: 50%;
    max-height: 25vh;
    height: clamp(200px, 40vh, 300px);
    object-fit: cover;
    box-sizing: border-box;
  }

  .div-right-info-about {
    width: 100%;
    max-width: 100%;
    padding: 2vh 4vw;
    margin: 0;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    gap: 4vw;
    box-sizing: border-box;
  }

  .div-info-numbers {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1vh;
    margin: 0;
  }

  .div-info-numbers:first-child {
    margin-right: 0;
  }

  .number-about-info {
    font-size: clamp(28px, 7vw, 42px);
    margin: 0;
    text-align: center;
    line-height: 1.3;
  }

  .text-number-about-info {
    font-size: clamp(16px, 4vw, 24px);
    line-height: 1.4;
    margin: 0;
    text-align: center;
    overflow-wrap: break-word;
    word-wrap: break-word;
    box-sizing: border-box;
  }

  /* ---------- SECTION 3 & 4 ---------- */
  .about-section-3,
  .about-section-4 {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    box-sizing: border-box;
  }

  .about-section-3 .div-split2,
  .about-section-4 .div-split2 {
    flex-direction: column-reverse;
  }

  .div-right-fact-about {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .img-fact-about {
    width: 100%;
    height: clamp(250px, 30vh, 350px);
    object-fit: cover;
    max-height: none;
  }

  .div-left-facts-about {
    width: 100%;
    max-width: 100%;
    padding: 2vh 4vw;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
  }

  .main-text-facts {
    font-size: clamp(28px, 7vw, 40px);
    margin: 0 0 2vh 0;
    text-align: center;
    line-height: 1.3;
    letter-spacing: 0.05em;
    font-weight: 500;
  }

  .div-fact-item {
    width: 100%;
    max-width: 100%;
    margin: 0;
    box-sizing: border-box;
  }

  .div-left-facts-about .div-fact-item:not(:last-child) {
    margin-bottom: 2vh;
  }

  .div-fact-item-number {
    width: 15%;
    min-width: 50px;
    box-sizing: border-box;
  }

  .fact-item-number {
    font-size: clamp(24px, 6vw, 40px);
    line-height: 3;
  }

  .div-fact-item-text {
    width: 85%;
    padding-left: clamp(15px, 3vw, 25px);
    box-sizing: border-box;
  }

  .fact-item-text {
    font-size: clamp(14px, 3.6vw, 24px);
    line-height: 1.4;
    letter-spacing: 0.08em;
    max-width: 100%;
    width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
    box-sizing: border-box;
  }

  .about-section-4 .div-fact-item {
    flex-direction: row;
    text-align: start;
  }

  .about-section-4 .div-fact-item-text {
    padding: 0;
    padding-left: clamp(15px, 3vw, 25px);
  }

  .about-section-4 .fact-item-text {
    padding-right: 0;
    padding-left: clamp(15px, 3vw, 25px);
  }

  .btn-second-non-active {
    width: clamp(220px, 75vw, 320px);
    height: clamp(50px, 7vh, 65px);
    font-size: clamp(20px, 5vw, 28px);
    border-radius: 30px;
  }
}