/* ══════════════════════════════════════════
   BASE
══════════════════════════════════════════ */
*,
*::before,
*::after {
    padding: 0;
    margin: 0;
    outline: 0;
    box-sizing: border-box;
}

:root {
    --bg-cream: #F7F0E8;
    --bg-white: #ffffff;
    --bg-dark: #0d0d0d;
    --text-dark: #111111;
    --text-body: #333333;
    --text-muted: rgba(255, 255, 255, 0.55);
    --accent-cyan: #00C8D0;
    --font-bold: "Gilroy-Bold", "Gilroy", sans-serif;
    --psd-width: 1296px;
    --title-size: 29.6px;
    --body-size: 19.6px;
    --small-size: 13.2px;
}

body {
    font-family: var(--font-bold);
    overflow-x: hidden;
    background: var(--bg-cream);
    color: var(--text-dark);
}

h1, h2, h3, h4, h5, h6, ul, ol, p {
    margin: 0;
    cursor: default;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

.page-wrap {
    max-width: var(--psd-width);
    margin: 0 auto;
    background: var(--bg-cream);
    overflow-x: hidden;
}

.container {
    max-width: var(--psd-width);
    padding-left: 19px;
    padding-right: 19px;
}

.section-intro h2 {
    font-family: var(--font-bold);
    font-size: var(--title-size);
    font-weight: bold;
    line-height: 1.25;
    margin-bottom: 12px;
}

.section-intro h3 {
    font-family: var(--font-bold);
    font-size: var(--title-size);
    font-weight: bold;
    line-height: 1.25;
    margin-bottom: 16px;
}

.section-intro p {
    font-family: var(--font-bold);
    font-size: var(--body-size);
    font-weight: normal;
    line-height: 1.55;
    color: var(--text-body);
    max-width: 972px;
    margin: 0 auto;
}


.zoom-title-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 12px;
}

.zoom-title-wrapper h2 {
    margin-bottom: 0;
}

/* ══════════════════════════════════════════
   СЕКЦИЯ 1: ХЕДЪР
══════════════════════════════════════════ */
.promo_header {
    position: relative;
    background: #fff;
    overflow: hidden;
    min-height: 530px;
    padding: 0 0 50px;
}

.header-phones {
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding-left: 19px;
}

.header_img {
    width: 100%;
    max-width: 620px;
}

.header_info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 14px;
    padding: 162px 19px 20px 40px;
}

.header-logo {
    max-width: 453px;
    width: 100%;
}

.header-camera-line {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 10px;
}

.header-camera-title,
.header-camera-sub {
    font-family: var(--font-bold);
    font-size: var(--title-size);
    font-weight: bold;
    line-height: 1.1;
}

.ai-icon {
    height: 20px;
    width: auto;
    flex-shrink: 0;
}

.header-hashtag {
    font-family: var(--font-bold);
    font-size: var(--body-size);
    color: var(--text-body);
}

.header-magicos {
    position: absolute;
    bottom: 62px;
    right: 48px;
    width: 105px;
    height: auto;
}


/* ══════════════════════════════════════════
   FULL WIDTH IMAGE SECTIONS
══════════════════════════════════════════ */
.section-full {
    display: block;
    line-height: 0;
    font-size: 0;
}

.section-full img {
    display: block;
    width: 100%;
    height: auto;
}


/* ══════════════════════════════════════════
   СЕКЦИЯ 2: ДИЗАЙН
══════════════════════════════════════════ */
.section-design {
    background: var(--bg-cream);
    padding-top: 14px;
}

.section-design .section-intro {
    padding: 0 19px 40px;
}


/* ══════════════════════════════════════════
   СЕКЦИЯ 3: СПЕЦИФИКАЦИИ
══════════════════════════════════════════ */
.section-specs {
    background: var(--bg-cream);
    padding: 78px 0 40px;
}

.specs-content {
    padding: 0 40px 40px 56px;
}

.specs-weight {
    font-family: var(--font-bold);
    font-size: var(--title-size);
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 12px;
}

.specs-lead {
    font-family: var(--font-bold);
    font-size: var(--body-size);
    line-height: 1.55;
    color: var(--text-body);
    margin-bottom: 32px;
    max-width: 480px;
}

.specs-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.specs-list li {
    font-family: var(--font-bold);
    font-size: var(--title-size);
    font-weight: bold;
    line-height: 1.3;
    padding-left: 16px;
    border-left: 3px solid var(--text-dark);
}

.specs-list li.specs-sub {
    font-size: var(--body-size);
    font-weight: normal;
    color: var(--text-body);
    border-left: none;
    padding-left: 19px;
    margin-top: -12px;
}

.specs-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 19px 20px;
}

.specs-phone img {
    max-width: 530px;
    width: 100%;
}


/* ══════════════════════════════════════════
   СЕКЦИЯ 4: ОСНОВНА КАМЕРА (ТЪМНА)
══════════════════════════════════════════ */
.section-main-camera {
    background: var(--bg-white);
   
    overflow: hidden;
    max-height: auto;
    border-radius: 20px;
}

.main-camera-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main-camera-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 50px 40px 50px 30px;
    /* min-height: 502px; */
    color: #111;
}

.main-camera-text h2 {
    font-family: var(--font-bold);
    font-size: var(--title-size);
    font-weight: bold;
    color: #111;
    line-height: 1.25;
    margin-bottom: 20px;
}

.main-camera-text p {
    font-family: 'Girloy', sans-serif;
    font-size: 24px;
    font-weight: normal;
    color: var(--text-dark);
    line-height: 1.55;
}


/* ══════════════════════════════════════════
   СЕКЦИЯ 5: СУПЕР ЗУУМ
══════════════════════════════════════════ */
.section-zoom {
    background: var(--bg-cream);
    padding: 60px 0 0;
}

.section-zoom .section-intro {
    padding: 0 19px 40px;
}


/* ══════════════════════════════════════════
   СЕКЦИЯ 6: ПОРТРЕТ
══════════════════════════════════════════ */
.section-portrait {
    background: var(--bg-cream);
    overflow: hidden;
}

.portrait-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 50px 60px 60px;
}

.portrait-text h2,
.portrait-text h3 {
    font-family: var(--font-bold);
    font-size: var(--title-size);
    font-weight: bold;
    line-height: 1.25;
}

.portrait-text h3 {
    margin: 8px 0 20px;
}

.portrait-text p {
    font-family: var(--font-bold);
    font-size: var(--body-size);
    font-weight: normal;
    line-height: 1.55;
    color: var(--text-body);
    max-width: 480px;
}

.portrait-img {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 19px;
}

.portrait-img img {
    max-width: 471px;
    width: 100%;
}


/* ══════════════════════════════════════════
   СЕКЦИЯ 7: НОЩЕН ПОРТРЕТ
══════════════════════════════════════════ */
.section-night {
    background: var(--bg-cream);
    overflow: hidden;
}

.night-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.night-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 50px 50px 50px 40px;
}

.night-text h2,
.night-text h3 {
    font-family: var(--font-bold);
    font-size: var(--title-size);
    font-weight: bold;
    line-height: 1.25;
}

.night-text h3 {
    margin: 8px 0 20px;
}

.night-text p {
    font-family: var(--font-bold);
    font-size: var(--body-size);
    font-weight: normal;
    line-height: 1.55;
    color: var(--text-body);
    max-width: 480px;
}


/* ══════════════════════════════════════════
   СЕКЦИЯ 8: 5000 НИТ ДИСПЛЕЙ
══════════════════════════════════════════ */
.section-display {
    background: var(--bg-white);
    overflow: hidden;
}

.display-specs-bar {
    background: var(--bg-cream);
    padding: 28px 0 20px;
}

.specs-row {
    display: flex;
    flex-wrap: nowrap;
}

.specs-row .spec-item {
    flex: 1 1 20%;
    text-align: center;
    padding: 14px 10px;
    border-right: 1px solid rgba(0, 0, 0, 0.08);
}

.specs-row .spec-item:last-child {
    border-right: none;
}

.spec-value {
    font-family: var(--font-bold);
    font-size: var(--title-size);
    font-weight: bold;
    color: var(--text-dark);
    line-height: 1;
}

.spec-unit {
    font-family: var(--font-bold);
    font-size: var(--body-size);
    color: var(--text-dark);
    line-height: 1.5;
    min-height: 1.5em;
}

.spec-label {
    font-family: var(--font-bold);
    font-size: var(--small-size);
    color: var(--text-body);
    line-height: 1.4;
    margin-top: 4px;
}

.certs-row {
    display: flex;
    flex-wrap: nowrap;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    margin-top: 8px;
}

.cert-item {
    flex: 1 1 25%;
    text-align: center;
    padding: 16px 8px;
    font-family: var(--font-bold);
    font-size: var(--title-size);
    font-weight: bold;
    color: var(--text-dark);
    border-right: 1px solid rgba(0, 0, 0, 0.08);
}

.cert-item:last-child {
    border-right: none;
}

.cert-label {
    font-family: var(--font-bold);
    font-size: var(--small-size);
    font-weight: normal;
    color: var(--text-body);
    line-height: 1.4;
    margin-top: 4px;
}


/* ══════════════════════════════════════════
   СЕКЦИЯ 9: СЛЪНЧЕВА СВЕТЛИНА
══════════════════════════════════════════ */
.section-sunlight {
    background: var(--bg-cream);
    padding: 60px 0 30px;
}

.section-sunlight .section-intro {
    padding: 0 19px 40px;
}

.section-sunlight .section-full img,
.section-eye-comfort .section-full img,
.section-battery .section-full img,
.section-snapdragon .section-full img {
    border-radius: 20px;
}

/* ══════════════════════════════════════════
   СЕКЦИЯ 10: ДИСПЛЕЙ ЗА ОЧИ
══════════════════════════════════════════ */
.section-eye-comfort {
    background: var(--bg-cream);
    overflow: hidden;
    padding-top: 30px;
    margin-bottom: 30px;
}

.eye-comfort-cards {
    background: var(--bg-cream);
    padding: 19px;
}


/* ══════════════════════════════════════════
   СЕКЦИЯ 11: БАТЕРИЯ
══════════════════════════════════════════ */
.section-battery {
    background: var(--bg-cream);
}


/* ══════════════════════════════════════════
   СЕКЦИЯ 12: SNAPDRAGON
══════════════════════════════════════════ */
.section-snapdragon {
    background: var(--bg-cream);
}

.overlay-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 30px;
}

.overlay-card-text {
    position: absolute;
    top: 50px;
    left: 19px;
    right: 19px;
    z-index: 10;
    text-align: center;
}

.overlay-card-text h2 {
    font-family: var(--font-bold);
    font-size: var(--title-size);
    font-weight: bold;
    line-height: 1.25;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.overlay-card-text h3 {
    font-family: var(--font-bold);
    font-size: var(--title-size);
    font-weight: bold;
    line-height: 1.25;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.overlay-card-text p {
    font-family: var(--font-bold);
    font-size: var(--body-size);
    font-weight: normal;
    line-height: 1.55;
    color: var(--text-body);
    max-width: 800px;
    margin: 0 auto;
}


/* ══════════════════════════════════════════
   RESPONSIVE — TABLET (< 992px)
══════════════════════════════════════════ */
@media (max-width: 991px) {

    :root {
        --title-size: clamp(22px, 3.2vw, 29.6px);
        --body-size: clamp(15px, 2.2vw, 19.6px);
        --small-size: clamp(11px, 1.5vw, 13.2px);
    }

    .promo_header {
        min-height: auto;
        padding: 30px 0 70px;
        text-align: center;
    }

    .header-phones {
        justify-content: center;
        padding-left: 0;
    }

    .header_info {
        align-items: center;
        padding: 30px 19px;
    }

    .header-magicos {
        right: 20px;
        bottom: 16px;
    }

    .section-main-camera {
        max-height: none;
    }

    .main-camera-text {
        min-height: auto;
    }

    .specs-content {
        padding: 30px 19px;
        text-align: center;
    }

    .specs-lead,
    .portrait-text p,
    .night-text p {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .specs-list li {
        text-align: left;
    }

    .main-camera-text {
        padding: 40px 30px;
        text-align: center;
    }

    .portrait-text,
    .night-text {
        padding: 40px 30px;
        text-align: center;
    }

    .specs-row {
        flex-wrap: wrap;
    }

    .specs-row .spec-item {
        flex: 1 1 50%;
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    }

    .specs-row .spec-item:nth-child(5) {
        flex: 1 1 100%;
        border-bottom: none;
    }

    .certs-row {
        flex-wrap: wrap;
    }

    .cert-item {
        flex: 1 1 50%;
        border-right: none;
        font-size: clamp(16px, 2.5vw, 22px);
        padding: 12px 6px;
    }
}


/* ══════════════════════════════════════════
   RESPONSIVE — MOBILE (< 768px)
══════════════════════════════════════════ */
@media (max-width: 767px) {

    .header-magicos {
        position: static;
        margin: 0 auto 10px;
    }

    .promo_header {
        padding-bottom: 30px;
    }

    .section-design,
    .section-zoom,
    .section-sunlight,
    .section-battery,
    .section-snapdragon {
        padding-top: 40px;
    }

    .overlay-card-text {
        top: 20px;
    }
    .overlay-card-text h2,
    .overlay-card-text h3 {
        margin-bottom: 4px;
    }
    .overlay-card-text p {
        font-size: 13px;
        line-height: 1.4;
    }

    .section-specs {
        padding: 40px 0 20px;
    }

    .specs-content {
        padding: 20px 16px 10px;
    }

    .specs-phone {
        padding: 10px 16px 30px;
    }

    .portrait-text,
    .night-text,
    .main-camera-text {
        padding: 32px 20px;
    }

    .display-specs-bar {
        padding: 20px 0 12px;
    }

    .eye-comfort-cards {
        padding: 10px;
    }
}


/* ══════════════════════════════════════════
   RESPONSIVE — SMALL MOBILE (< 478px)
══════════════════════════════════════════ */
@media (max-width: 478px) {

    .header_info {
        padding: 20px 15px;
        gap: 12px;
    }

    .header-camera-line {
        justify-content: center;
    }

    .specs-list {
        gap: 14px;
    }

    .specs-list li {
        font-size: clamp(18px, 5vw, 22px);
    }

    .cert-item {
        font-size: 14px;
    }
}
