* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #141412;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', Arial, sans-serif;
    color: #fff;
}

header {
    background: linear-gradient(380deg, #ffd500 0%, #927900 100%);
    color: #2B2B2B;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
}

header h1 {
    font-weight: bold;
    padding-bottom: 10px;
    font-size: 28px;
}

header p {
    font-weight: bold;
    font-size: 18px;
}

.about-section {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 40px;
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.photo-wrapper {
    flex-shrink: 0;
}

.imgs {
    width: 500px;
    height: auto;
    border-radius: 10px;
    display: block;
}

.right-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
    flex: 1;
    min-width: 250px;
}

.card {
    background: #2B2B2B;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 0 12px #000000;
}

.card h2 {
    margin-bottom: 15px;
    color: #ffd500;
}

.card p {
    line-height: 1.6;
    color: #b4b4b4;
}

.card span {
    color: #ffd500;
    font-weight: bold;
}

.mini-cards-wrapper {
    display: flex;
    gap: 20px;
}

.min-card {
    background: transparent;
    border-radius: 10px;
    padding: 20px 25px;
    border: 2px dashed #2B2B2B;
    box-shadow: 0 2px 5px #000000;
    text-align: center;
    flex: 1;
}

.rez p {
    font-size: 32px;
    font-weight: bold;
    color: #ffd500;
    line-height: 1.2;
}

.names h3 {
    font-size: 14px;
    color: #b4b4b4;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: normal;
}

.lene {
    border: 2px solid #927900;
    margin: 30px 20px 50px;
    border-radius: 50px;
}

.skills-name h4 {
    color: #ffd500;
    font-weight: bold;
    font-size: 28px;
    padding-left: 20px;
    margin-bottom: 30px;
}

.skills-span {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    padding: 0 20px;
}

.skills {
    background: transparent;
    border-radius: 40px;
    padding: 12px 25px;
    border: 2px solid #ffd500;
    box-shadow: 0 2px 5px #000000;
    text-align: center;
    transition: 0.3s;
    font-size: 15px;
}

.skills:hover {
    background: linear-gradient(380deg, #ffff21 0%, #c1a100 100%);
    color: #141412;
}

.project-name h5 {
    color: #ffd500;
    font-weight: bold;
    font-size: 28px;
    padding-left: 20px;
    margin-bottom: 30px;
}

.projects-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    padding: 0 20px;
}

.card-project {
    background: #2B2B2B;
    border-radius: 10px;
    padding: 25px;
    max-width: 320px;
    text-align: center;
    box-shadow: 0 3px 8px #000000;
    flex: 1;
    min-width: 250px;
}

.stic {
    font-size: 50px;
    margin-bottom: 10px;
}

.card-project h3 {
    color: #ffd500;
    margin-bottom: 10px;
}

.card-project p {
    color: #b4b4b4;
    margin-bottom: 15px;
}

.project-link {
    display: inline-block;
    background: #ffd500;
    color: #2B2B2B;
    padding: 10px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.project-link:hover {
    background: #cdab00;
    transform: scale(1.05);
}

.prices-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.prices-title {
    text-align: center;
    font-size: 32px;
    color: #ffd500;
    margin-bottom: 10px;
}

.prices-subtitle {
    text-align: center;
    color: #b4b4b4;
    font-size: 16px;
    margin-bottom: 30px;
}

.prices-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    align-items: stretch;
}

.price-card {
    background: #2B2B2B;
    border-radius: 12px;
    padding: 25px 20px;
    text-align: center;
    box-shadow: 0 0 15px #00000055;
    border: 2px solid transparent;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
}

.price-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 30px #ffd50033;
    border-color: #ffd50088;
}

.price-card.popular {
    border-color: #ffd500;
    background: #1f1f1f;
    position: relative;
    padding-top: 45px;
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #ffd500;
    color: #141412;
    font-weight: bold;
    font-size: 13px;
    padding: 4px 16px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.price-card-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 5px;
}

.price-icon {
    font-size: 26px;
}

.price-name {
    font-size: 20px;
    color: #fff;
    margin: 0;
}

.price-amount {
    font-size: 32px;
    font-weight: bold;
    color: #ffd500;
    margin: 12px 0 18px 0;
}

.price-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    text-align: left;
    flex: 1;
}

.price-features li {
    color: #b4b4b4;
    font-size: 14px;
    padding: 5px 0;
    border-bottom: 1px solid #3a3a3a;
}

.price-features li:last-child {
    border-bottom: none;
}

.price-btn {
    display: inline-block;
    background: #ffd500;
    color: #141412;
    font-weight: bold;
    font-size: 15px;
    padding: 10px 25px;
    border-radius: 8px;
    text-decoration: none;
    transition: 0.3s;
    border: none;
    cursor: pointer;
    margin-top: auto;
}

.price-btn:hover {
    background: #e6c000;
    transform: scale(1.04);
}

.price-card.popular .price-btn {
    background: #ffd500;
    box-shadow: 0 0 20px #ffd50055;
}

.price-card.popular .price-btn:hover {
    background: #ffe44d;
    box-shadow: 0 0 30px #ffd50088;
}

.prices-note {
    text-align: center;
    color: #888;
    font-size: 13px;
    margin-top: 30px;
    line-height: 1.6;
}

.contacts-section {
    max-width: 1200px;
    margin: 40px auto 60px;
    padding: 0 20px;
}

.contacts-title {
    text-align: center;
    font-size: 32px;
    color: #ffd500;
    margin-bottom: 10px;
}

.contacts-subtitle {
    text-align: center;
    color: #b4b4b4;
    font-size: 16px;
    margin-bottom: 30px;
}

.contacts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.contact-card {
    background: #2B2B2B;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    text-decoration: none;
    color: #fff;
    transition: 0.3s;
    border: 2px solid transparent;
    box-shadow: 0 0 12px #00000044;
}

.contact-card:hover {
    transform: translateY(-5px);
    border-color: #ffd500;
    box-shadow: 0 0 25px #ffd50033;
}

.contact-icon {
    font-size: 36px;
    display: block;
    margin-bottom: 8px;
}

.contact-name {
    font-size: 15px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 4px;
}

.contact-text {
    font-size: 13px;
    color: #b4b4b4;
    word-break: break-all;
}

/* ===== АДАПТИВ ===== */
@media (max-width: 992px) {
    .about-section {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    .imgs {
        width: 300px;
    }
    .right-column {
        min-width: unset;
        width: 100%;
    }
    .prices-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .contacts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .skills-span {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    header h1 {
        font-size: 22px;
    }
    header p {
        font-size: 15px;
    }
    .imgs {
        width: 100%;
        max-width: 280px;
    }
    .about-section {
        margin: 30px auto;
        padding: 0 15px;
        gap: 20px;
    }
    .card {
        padding: 20px;
    }
    .card h2 {
        font-size: 20px;
    }
    .card p {
        font-size: 14px;
    }
    .mini-cards-wrapper {
        flex-direction: column;
        gap: 12px;
    }
    .min-card {
        padding: 15px 20px;
    }
    .rez p {
        font-size: 26px;
    }
    .lene {
        margin: 20px 15px 30px;
    }
    .skills-name h4 {
        font-size: 22px;
        padding-left: 15px;
        text-align: center;
    }
    .skills-span {
        padding: 0 15px;
        justify-content: center;
    }
    .skills {
        font-size: 13px;
        padding: 10px 18px;
    }
    .project-name h5 {
        font-size: 22px;
        padding-left: 15px;
        text-align: center;
    }
    .projects-grid {
        padding: 0 15px;
        justify-content: center;
    }
    .card-project {
        max-width: 100%;
        min-width: unset;
        padding: 20px;
    }
    .prices-title {
        font-size: 24px;
    }
    .prices-subtitle {
        font-size: 14px;
    }
    .prices-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
        gap: 20px;
    }
    .price-card {
        padding: 20px 18px;
    }
    .price-card.popular {
        padding-top: 38px;
    }
    .popular-badge {
        font-size: 11px;
        padding: 3px 12px;
        top: -10px;
    }
    .price-name {
        font-size: 18px;
    }
    .price-amount {
        font-size: 28px;
    }
    .price-features li {
        font-size: 13px;
    }
    .prices-note {
        font-size: 12px;
        padding: 0 10px;
    }
    .contacts-title {
        font-size: 24px;
    }
    .contacts-subtitle {
        font-size: 14px;
    }
    .contacts-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        max-width: 400px;
        margin: 0 auto;
    }
    .contact-card {
        padding: 15px 10px;
    }
    .contact-icon {
        font-size: 28px;
    }
    .contact-name {
        font-size: 13px;
    }
    .contact-text {
        font-size: 11px;
    }
}

@media (max-width: 400px) {
    .contacts-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    .contact-card {
        padding: 12px 8px;
    }
    .contact-icon {
        font-size: 24px;
    }
    .price-card {
        padding: 15px 12px;
    }
    .price-amount {
        font-size: 24px;
    }
    .price-btn {
        font-size: 13px;
        padding: 8px 18px;
    }
}
