* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    background-color: #1a1a1a;
    color: #ffffff;
    overflow-x: hidden;
    min-height: 100vh;
    opacity: 0;
    animation: pageFadeIn 0.5s ease-out forwards;
}

/* ===== ПЛАВНЫЕ ПЕРЕХОДЫ БЕЗ СКАЧКОВ ===== */
@keyframes pageFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes pageFadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

body.page-exit {
    animation: pageFadeOut 0.25s ease-in forwards;
}

/* Предотвращаем скачки при загрузке */
img, svg {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===== HEADER ===== */
.header {
    background-color: #ffffff;
    padding: 0;
    position: relative;
    width: 100%;
    overflow: hidden;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5px 20px 0;
    position: relative;
    width: 100%;
}

.header-top {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
    padding-left: 0;
    flex-wrap: wrap;
}

.phones {
    background-color: #ffffff;
    padding: 8px 20px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.phones a {
    color: #1a1a1a;
    text-decoration: none;
    font-size: 17px;
    font-weight: 400;
}

.phones a:hover {
    color: #ff6b35;
}

.telegram-icon {
    display: flex;
    gap: 10px;
    align-items: center;
}

.telegram-icon img {
    width: 20px;
    height: auto;
    cursor: pointer;
    display: block;
}

.header-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 0;
    position: relative;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
    min-height: 140px;
}

.logo {
    flex-shrink: 0;
    position: relative;
    margin-right: auto;
    margin-left: 0;
    order: 1;
    max-width: 100%;
    margin-top: -30px;
    margin-bottom: 10px;
}

.logo a {
    display: block;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.logo a:hover {
    transform: scale(1.02);
}

.logo a:active {
    transform: scale(0.95);
}

.logo img {
    width: 100%;
    max-width: 620px;
    height: auto;
    display: block;
}

.menu {
    flex-shrink: 0;
    margin-bottom: 5px;
    margin-left: auto;
    margin-right: 0;
    order: 2;
    max-width: 100%;
}

.menu ul {
    display: flex;
    list-style: none;
    gap: 40px;
    background-color: transparent;
    border-radius: 0;
    padding: 16px 50px;
    flex-wrap: wrap;
    justify-content: center;
}

.menu li {
    width: 80px;
    text-align: center;
    flex-shrink: 0;
}

.menu li a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #333333;
    font-size: 80px;
    font-weight: 400;
    padding: 10px 0;
    border-radius: 0px;
    width: 100%;
    position: relative;
}

.menu li a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background-color: #ff6b35;
    border-radius: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.menu li a:hover::before {
    opacity: 1;
}

.menu li a:hover {
    color: #ffffff;
}

.menu li a img {
    width: 80px;
    height: 80px;
    margin-bottom: 8px;
    display: block;
    position: relative;
    z-index: 1;
}

.menu li a span {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 12px;
    display: block;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    position: relative;
    z-index: 1;
}

.accent-bar {
    height: 8px;
    background-color: #ff6b35;
    width: 100%;
}


/* ===== HERO SECTION (главная) ===== */
.hero-section {
    background-color: #ffffff;
    padding: 30px 0 80px;
    width: 100%;
    overflow: hidden;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.hero-title {
    text-align: center;
    margin-bottom: 60px;
}

.hero-title h1 {
    display: inline-block;
    background-color: #1a1a1a;
    color: #ffffff;
    font-size: 36px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 3px;
    padding: 16px 60px;
    border-radius: 4px;
    max-width: 100%;
}

.hero-content {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
}

.hero-text {
    flex: 1 1 30%;
    max-width: 700px;
    min-width: 280px;
}

.hero-intro {
    font-size: 40px;
    line-height: 1.2;
    color: #333333;
    margin-bottom: 40px;
    margin-top: 20px;
    white-space: pre-line;
    text-align: left;
    word-wrap: break-word;
}

.hero-subtitle {
    font-size: 28px;
    color: #1a1a1a;
    margin-bottom: 30px;
    margin-top: 60px;
    font-weight: 700;
    text-align: left;
    word-wrap: break-word;
}

.advantages-list {
    list-style: none;
    padding: 0;
    margin-left: 0;
}

.advantages-list li {
    font-size: 22px;
    line-height: 1.4;
    color: #555555;
    margin-bottom: 8px;
    position: relative;
    padding-left: 40px;
    text-align: left;
    word-wrap: break-word;
}

.advantages-list li .num {
    color: #ff6b35;
    font-weight: 700;
    position: absolute;
    left: 0;
    font-size: 24px;
}

.advantages-list li strong {
    color: #ff6b35;
    font-weight: 700;
}

.hero-image-wrapper {
    flex: 1 1 47%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: transparent;
    min-width: 280px;
    max-width: 100%;
}

.hero-image-wrapper img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
}


/* ===== PRINTS SECTION (главная) ===== */
.prints-section {
    background: radial-gradient(ellipse at center, #ff6b35 0%, #e55a2b 25%, #3a2015 55%, #1a1a1a 85%);
    width: 100%;
    padding: 0;
    margin: 0;
    overflow: hidden;
}

.prints-header-btn {
    background-color: #ff6b35;
    text-align: center;
    padding: 20px;
    border: none;
    width: 100%;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: block;
}

.prints-header-btn h2 {
    display: inline-block;
    background-color: #1a1a1a;
    color: #ffffff;
    font-size: 18px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 12px 40px;
    border-radius: 25px;
    margin: 0;
    max-width: 90%;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.prints-header-btn:hover h2 {
    background-color: #f1eeee;
    color: #1a1a1a;
}

.prints-header-btn:active h2 {
    background-color: #1a1a1a;
    color: #ffffff;
}

.prints-grid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px 40px;
    width: 100%;
}

.print-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.print-image {
    width: 100%;
    max-width: 500px;
    aspect-ratio: 1 / 1;
    background-color: #ffffff;
    border-radius: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
    padding: 40px;
    margin-left: auto;
    margin-right: auto;
}

.print-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.print-label {
    background-color: #e8e8e8;
    color: #1a1a1a;
    padding: 15px 40px;
    border-radius: 30px;
    font-size: 18px;
    text-align: center;
    line-height: 1.5;
    width: 100%;
    max-width: 500px;
    box-sizing: border-box;
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
    word-wrap: break-word;
    margin-left: auto;
    margin-right: auto;
}


/* ===== ORDER SECTION (главная) ===== */
.order-section {
    background-color: #faf9f9;
    text-align: center;
    padding: 40px 20px 60px;
    width: 100%;
}

.order-section h2 {
    color: #888888;
    font-size: 22px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px;
}

.order-text {
    color: #888888;
    font-size: 16px;
    line-height: 1.6;
    text-align: center;
}


/* ===== FOOTER ===== */
.contacts-bar {
    background-color: #1a1a1a;
    padding: 15px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    width: 100%;
}

.contacts-bar p {
    color: #888888;
    font-size: 14px;
}

.contacts-bar a {
    color: #888888;
    text-decoration: none;
}

.contacts-bar a:hover {
    color: #ff6b35;
}

.contacts-bar img {
    width: 32px;
    height: 32px;
    display: block;
}

.site-footer {
    background-color: #1a1a1a;
    border-top: 8px solid #ff6b35;
    padding: 30px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
}

.footer-left {
    color: #888888;
    font-size: 12px;
}

.footer-left .date {
    margin-bottom: 5px;
}


/* ===== ОБЩИЕ СТИЛИ ДЛЯ ВНУТРЕННИХ СТРАНИЦ ===== */
.page-section {
    background-color: #ffffff;
    padding: 30px 0 80px;
    width: 100%;
    overflow: hidden;
}

.page-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.page-title {
    text-align: center;
    margin-bottom: 60px;
}

.page-title h1 {
    display: inline-block;
    background-color: #1a1a1a;
    color: #ffffff;
    font-size: 36px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 3px;
    padding: 16px 60px;
    border-radius: 4px;
    max-width: 100%;
}


/* ===== ГАЛЕРЕЯ ===== */
.gallery-section {
    background: radial-gradient(ellipse at center, #ff6b35 0%, #e55a2b 25%, #3a2015 55%, #1a1a1a 85%);
}

.gallery-intro {
    text-align: center;
    margin-bottom: 50px;
    color: #ffffff;
    font-size: 20px;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.gallery-grid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px 40px;
    width: 100%;
}

.gallery-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.gallery-image {
    width: 100%;
    max-width: 420px;
    aspect-ratio: 1 / 1;
    background-color: #ffffff;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    margin-bottom: 25px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
    padding: 35px;
    margin-left: auto;
    margin-right: auto;
    transition: transform 0.3s ease;
}

.gallery-image:hover {
    transform: scale(1.03);
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.gallery-caption {
    background-color: #e8e8e8;
    color: #1a1a1a;
    padding: 15px 30px;
    border-radius: 25px;
    font-size: 16px;
    text-align: center;
    line-height: 1.5;
    width: 100%;
    max-width: 420px;
    box-sizing: border-box;
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
    word-wrap: break-word;
    margin-left: auto;
    margin-right: auto;
}

.gallery-caption h3 {
    font-size: 18px;
    font-weight: 700;
    color: #ff6b35;
    margin-bottom: 5px;
}

.gallery-caption p {
    font-size: 14px;
    color: #555555;
}


/* ===== ЗАКАЗАТЬ ===== */
.order-page-section {
    background-color: #ffffff;
}

.order-intro {
    text-align: center;
    margin-bottom: 50px;
    color: #555555;
    font-size: 20px;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.order-form-wrapper {
    max-width: 700px;
    margin: 0 auto 50px;
    background-color: #faf9f9;
    border-radius: 20px;
    padding: 50px 40px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.order-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 16px;
    font-weight: 500;
    color: #1a1a1a;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 16px;
    color: #333333;
    background-color: #ffffff;
    transition: border-color 0.3s ease;
    width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ff6b35;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #aaaaaa;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    padding-right: 40px;
}

.form-group input[type="file"] {
    padding: 10px;
    border-style: dashed;
}

.form-submit-btn {
    background-color: #ff6b35;
    color: #ffffff;
    font-size: 18px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 16px 40px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top: 10px;
    width: 100%;
}

.form-submit-btn:hover {
    background-color: #e55a2b;
    transform: translateY(-2px);
}

.form-submit-btn:active {
    transform: translateY(0);
}

.order-contacts {
    text-align: center;
    color: #555555;
    font-size: 18px;
}

.order-contacts p {
    margin-bottom: 20px;
}

.order-contacts-list {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.order-contact-link {
    display: inline-block;
    background-color: #1a1a1a;
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 12px 30px;
    border-radius: 25px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.order-contact-link:hover {
    background-color: #ff6b35;
    transform: translateY(-2px);
}

.telegram-link {
    background-color: #0088cc;
}

.telegram-link:hover {
    background-color: #0077b3;
}


/* ===== О НАС ===== */
.about-section {
    background-color: #ffffff;
}

.about-content {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 50px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.about-text {
    flex: 1 1 45%;
    max-width: 700px;
    min-width: 280px;
}

.about-lead {
    font-size: 28px;
    line-height: 1.4;
    color: #1a1a1a;
    margin-bottom: 25px;
    font-weight: 500;
}

.about-text p {
    font-size: 18px;
    line-height: 1.7;
    color: #555555;
    margin-bottom: 15px;
}

.about-image-wrapper {
    flex: 1 1 40%;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 280px;
    max-width: 100%;
}

.about-image-wrapper img {
    width: 100%;
    height: auto;
    max-width: 500px;
    display: block;
}

.about-services {
    margin-bottom: 60px;
}

.about-services h2,
.about-why h2 {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.services-list {
    list-style: none;
    padding: 0;
    max-width: 900px;
    margin: 0 auto;
}

.services-list li {
    font-size: 20px;
    line-height: 1.6;
    color: #555555;
    margin-bottom: 18px;
    position: relative;
    padding-left: 45px;
    text-align: left;
    word-wrap: break-word;
}

.services-list li .service-num {
    color: #ff6b35;
    font-weight: 700;
    position: absolute;
    left: 0;
    font-size: 22px;
}

.services-list li strong {
    color: #ff6b35;
    font-weight: 700;
}

.about-why {
    background: radial-gradient(ellipse at center, #ff6b35 0%, #e55a2b 25%, #3a2015 55%, #1a1a1a 85%);
    margin: 0 -20px;
    padding: 60px 20px;
}

.about-why h2 {
    color: #ffffff;
}

.why-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.why-item {
    background-color: #ffffff;
    border-radius: 30px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
    transition: transform 0.3s ease;
}

.why-item:hover {
    transform: translateY(-5px);
}

.why-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.why-icon img {
    width: 100%;
    height: auto;
    max-width: 60px;
}

.why-item h3 {
    font-size: 20px;
    font-weight: 700;
    color: #ff6b35;
    margin-bottom: 15px;
}

.why-item p {
    font-size: 16px;
    color: #555555;
    line-height: 1.5;
}


/* ===== FORM STATUS MESSAGES ===== */
.form-status {
    margin-top: 20px;
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 16px;
    line-height: 1.6;
    text-align: center;
    display: none;
    transition: all 0.3s ease;
}

.form-status.status-loading {
    display: block;
    background-color: #fff3e0;
    color: #e65100;
    border: 2px solid #ff9800;
}

.form-status.status-success {
    display: block;
    background-color: #e8f5e9;
    color: #2e7d32;
    border: 2px solid #4caf50;
}

.form-status.status-error {
    display: block;
    background-color: #ffebee;
    color: #c62828;
    border: 2px solid #f44336;
}

.form-status.status-error a {
    color: #c62828;
    text-decoration: underline;
    font-weight: 700;
}

.form-status.status-error a:hover {
    color: #ff6b35;
}

.form-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}


/* ===== FILE UPLOAD STYLES ===== */
.file-info {
    font-size: 13px;
    color: #888888;
    margin-top: 6px;
}

.file-error {
    display: none;
    margin-top: 10px;
    padding: 10px 14px;
    background-color: #ffebee;
    color: #c62828;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    border-left: 4px solid #f44336;
}

.file-preview {
    margin-top: 12px;
}

.file-preview-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background-color: #e8f5e9;
    border-radius: 8px;
    border-left: 4px solid #4caf50;
}

.file-preview-icon {
    font-size: 20px;
}

.file-preview-name {
    flex: 1;
    font-size: 14px;
    color: #333333;
    word-break: break-all;
}

.file-preview-size {
    font-size: 12px;
    color: #888888;
    white-space: nowrap;
}

.file-preview-remove {
    background: none;
    border: none;
    color: #c62828;
    font-size: 16px;
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.file-preview-remove:hover {
    background-color: #ffebee;
}

.form-group input[type="file"] {
    padding: 10px;
    border: 2px dashed #cccccc;
    border-radius: 10px;
    background-color: #fafafa;
    cursor: pointer;
    transition: border-color 0.3s;
}

.form-group input[type="file"]:hover {
    border-color: #ff6b35;
}

.form-group input[type="file"]::file-selector-button {
    background-color: #ff6b35;
    color: #ffffff;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    margin-right: 12px;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 14px;
    transition: background-color 0.3s;
}

.form-group input[type="file"]::file-selector-button:hover {
    background-color: #e55a2b;
}


/* ═══════════════════════════════════════════════════════════
   МЕДИА-ЗАПРОСЫ — max-width: 1024px
   ═══════════════════════════════════════════════════════════ */
@media screen and (max-width: 1024px) {
    .header-container { padding: 10px 15px 0; }
    .header-top { justify-content: center; gap: 10px; }
    .logo { margin: 0 auto; }
    .logo img { max-width: 400px; }
    .menu { margin: 0 auto; width: 100%; }
    .menu ul { gap: 30px; padding: 16px 30px; justify-content: center; }
    .menu li { width: 80px; }
    .menu li a { font-size: 60px; padding: 12px 0px; }
    .menu li a img { width: 60px; height: 60px; }
    .menu li a span { font-size: 10px; }
    .hero-container, .page-container { padding: 0 15px; }
    .hero-title, .page-title { margin-bottom: 40px; }
    .hero-title h1, .page-title h1 { font-size: 28px; padding: 12px 40px; }
    .hero-content { gap: 30px; }
    .hero-text { flex: 1 1 100%; max-width: 100%; min-width: auto; }
    .hero-intro { font-size: 36px; margin-bottom: 30px; text-align: center; }
    .hero-subtitle { font-size: 24px; margin-bottom: 25px; margin-top: 40px; text-align: center; }
    .advantages-list li { font-size: 18px; padding-left: 35px; margin-bottom: 12px; }
    .advantages-list li .num { font-size: 20px; }
    .hero-image-wrapper { flex: 1 1 100%; order: -1; justify-content: center; }
    .hero-image-wrapper img { max-width: 500px; }
    .prints-grid { padding: 40px 15px; gap: 40px 30px; grid-template-columns: repeat(2, 1fr); }
    .print-image { max-width: 350px; padding: 25px; border-radius: 40px; }
    .print-label { padding: 12px 25px; font-size: 16px; max-width: 350px; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 35px 25px; }
    .gallery-image { max-width: 350px; padding: 25px; border-radius: 40px; }
    .gallery-caption { max-width: 350px; padding: 12px 25px; }
    .order-form-wrapper { padding: 35px 25px; }
    .about-content { gap: 30px; }
    .about-text { flex: 1 1 100%; max-width: 100%; }
    .about-lead { font-size: 24px; text-align: center; }
    .about-text p { text-align: center; }
    .about-image-wrapper { flex: 1 1 100%; order: -1; justify-content: center; }
    .about-image-wrapper img { max-width: 400px; }
    .about-services h2, .about-why h2 { font-size: 24px; }
    .services-list li { font-size: 18px; padding-left: 40px; }
    .why-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
    .site-footer { padding: 20px 15px; }
}


/* ═══════════════════════════════════════════════════════════
   МЕДИА-ЗАПРОСЫ — max-width: 768px
   ═══════════════════════════════════════════════════════════ */
@media screen and (max-width: 768px) {
    .header-container { padding: 8px 10px 0; }
    .header-top { flex-direction: row; align-items: center; justify-content: center; gap: 10px; margin-bottom: 8px; flex-wrap: wrap; }
    .phones { padding: 5px 10px; width: auto; justify-content: center; flex-shrink: 0; }
    .phones a { font-size: 12px; text-align: center; word-break: break-all; }
    .telegram-icon { display: flex; gap: 10px; align-items: center; justify-content: center; flex-shrink: 0; }
    .telegram-icon img { width: 24px; height: 24px; cursor: pointer; display: block; }
    .header-bottom { flex-direction: column; align-items: center; gap: 15px; min-height: auto; }
    .logo { margin: 0 auto; }
    .logo img { max-width: 280px; }
    .menu { margin: 0 auto; width: 100%; }
    .menu ul { padding: 10px 10px; gap: 10px; justify-content: center; flex-wrap: wrap; }
    .menu li { width: auto; flex-shrink: 0; }
    .menu li a { display: flex; flex-direction: column; align-items: center; justify-content: center; text-decoration: none; color: #333; font-size: 36px; padding: 12px; border-radius: 0px; transition: background 0.25s ease, transform 0.2s ease; background: transparent; min-width: 60px; min-height: 60px; }
    .menu li a::before { background: none; }
    .menu li a:hover { background: #ff6b35; color: #ffffff; transform: translateY(-2px); }
    .hero-title h1, .page-title h1 { font-size: 22px; padding: 10px 25px; letter-spacing: 2px; }
    .hero-intro { font-size: 28px; }
    .hero-subtitle { font-size: 20px; }
    .prints-grid { grid-template-columns: 1fr; gap: 30px; padding: 30px 15px; }
    .print-item { width: 100%; max-width: 320px; margin: 0 auto; }
    .print-image { width: 100%; max-width: 320px; padding: 20px; border-radius: 30px; margin-bottom: 15px; }
    .print-label { font-size: 14px; padding: 10px 20px; width: 100%; max-width: 320px; border-radius: 20px; }
    .gallery-grid { grid-template-columns: 1fr; gap: 30px; }
    .gallery-item { width: 100%; max-width: 320px; margin: 0 auto; }
    .gallery-image { width: 100%; max-width: 320px; padding: 20px; border-radius: 30px; margin-bottom: 15px; }
    .gallery-caption { font-size: 14px; padding: 10px 20px; width: 100%; max-width: 320px; border-radius: 20px; }
    .gallery-caption h3 { font-size: 16px; }
    .order-form-wrapper { padding: 25px 15px; border-radius: 15px; }
    .form-group input, .form-group select, .form-group textarea { padding: 12px 14px; font-size: 15px; }
    .form-submit-btn { font-size: 16px; padding: 14px 30px; }
    .order-contacts-list { flex-direction: column; align-items: center; }
    .order-contact-link { width: 100%; max-width: 280px; text-align: center; }
    .about-lead { font-size: 20px; }
    .about-text p { font-size: 16px; }
    .about-services h2, .about-why h2 { font-size: 20px; }
    .services-list li { font-size: 16px; padding-left: 35px; }
    .services-list li .service-num { font-size: 18px; }
    .why-grid { grid-template-columns: 1fr; gap: 25px; }
    .why-item { padding: 30px 20px; }
    .why-icon { width: 60px; height: 60px; }
    .why-icon img { max-width: 45px; }
    .why-item h3 { font-size: 18px; }
    .why-item p { font-size: 14px; }
    .site-footer { padding: 20px 15px; flex-direction: column; text-align: center; }
    .contacts-bar { flex-direction: column; gap: 10px; }
}


/* ═══════════════════════════════════════════════════════════
   МЕДИА-ЗАПРОСЫ — max-width: 480px (телефоны)
   ═══════════════════════════════════════════════════════════ */
@media screen and (max-width: 480px) {
    html { font-size: 14px; }

    .header-container { padding: 6px 8px 0; }
    .header-top { flex-direction: column; gap: 6px; margin-bottom: 6px; }
    .phones { padding: 4px 8px; width: 100%; justify-content: center; }
    .phones a { font-size: 11px; text-align: center; word-break: break-all; }
    .telegram-icon { gap: 8px; }
    .telegram-icon img { width: 20px; height: 20px; }
    .header-bottom { gap: 10px; min-height: auto; }
    .logo { margin: 0 auto; margin-top: -10px; }
    .logo img { max-width: 200px; }
    .menu { margin: 0 auto; width: 100%; }
    .menu ul { padding: 6px 4px; gap: 4px; justify-content: center; flex-wrap: wrap; }
    .menu li { width: auto; flex-shrink: 0; }
    .menu li a { font-size: 28px; padding: 8px 6px; min-width: 48px; min-height: 48px; }
    .menu li a img { width: 36px; height: 36px; margin-bottom: 4px; }
    .menu li a span { font-size: 9px; letter-spacing: 0.5px; }
    .accent-bar { height: 5px; }

    .hero-section { padding: 15px 0 40px; }
    .hero-container, .page-container { padding: 0 10px; }
    .hero-title, .page-title { margin-bottom: 25px; }
    .hero-title h1, .page-title h1 { font-size: 16px; padding: 8px 18px; letter-spacing: 1px; }
    .hero-content { gap: 20px; }
    .hero-text { flex: 1 1 100%; max-width: 100%; min-width: auto; }
    .hero-intro { font-size: 20px; margin-bottom: 20px; margin-top: 10px; text-align: center; }
    .hero-subtitle { font-size: 16px; margin-bottom: 15px; margin-top: 25px; text-align: center; }
    .advantages-list li { font-size: 14px; padding-left: 28px; margin-bottom: 6px; }
    .advantages-list li .num { font-size: 16px; }
    .hero-image-wrapper { flex: 1 1 100%; order: -1; justify-content: center; }
    .hero-image-wrapper img { max-width: 100%; }

    .prints-section { padding: 0; }
    .prints-header-btn { padding: 12px 8px; }
    .prints-header-btn h2 { font-size: 12px; padding: 8px 16px; letter-spacing: 1px; }
    .prints-grid { padding: 20px 10px; gap: 20px; grid-template-columns: 1fr; }
    .print-item { width: 100%; max-width: 260px; margin: 0 auto; }
    .print-image { width: 100%; max-width: 260px; padding: 12px; border-radius: 20px; margin-bottom: 10px; }
    .print-label { font-size: 12px; padding: 8px 14px; width: 100%; max-width: 260px; border-radius: 14px; }

    .order-section { padding: 25px 10px 35px; }
    .order-section h2 { font-size: 14px; margin-bottom: 15px; letter-spacing: 1px; }
    .order-text { font-size: 13px; }

    .site-footer { padding: 15px 10px; flex-direction: column; text-align: center; gap: 10px; }
    .footer-left { font-size: 10px; }
    .contacts-bar { padding: 10px; gap: 8px; flex-direction: column; }
    .contacts-bar p { font-size: 11px; text-align: center; }
    .contacts-bar img { width: 24px; height: 24px; }

    /* Внутренние страницы 480px */
    .page-section { padding: 15px 0 40px; }
    .page-title h1 { font-size: 16px; padding: 8px 18px; letter-spacing: 1px; }

    .gallery-intro { font-size: 14px; margin-bottom: 25px; padding: 0 5px; }
    .gallery-grid { grid-template-columns: 1fr; gap: 20px; padding: 0; }
    .gallery-item { width: 100%; max-width: 260px; margin: 0 auto; }
    .gallery-image { width: 100%; max-width: 260px; padding: 12px; border-radius: 20px; margin-bottom: 10px; }
    .gallery-caption { font-size: 12px; padding: 8px 14px; width: 100%; max-width: 260px; border-radius: 14px; }
    .gallery-caption h3 { font-size: 14px; }
    .gallery-caption p { font-size: 11px; }

    .order-intro { font-size: 14px; margin-bottom: 25px; padding: 0 5px; }
    .order-form-wrapper { padding: 20px 12px; border-radius: 12px; margin-bottom: 25px; }
    .order-form { gap: 15px; }
    .form-group { gap: 5px; }
    .form-group label { font-size: 13px; }
    .form-group input, .form-group select, .form-group textarea { padding: 10px 12px; font-size: 14px; border-radius: 8px; }
    .form-group textarea { min-height: 80px; }
    .form-group select { padding-right: 35px; background-position: right 12px center; }
    .form-submit-btn { font-size: 14px; padding: 12px 24px; border-radius: 18px; }
    .order-contacts { font-size: 14px; }
    .order-contacts p { margin-bottom: 12px; }
    .order-contacts-list { gap: 10px; }
    .order-contact-link { font-size: 13px; padding: 10px 20px; border-radius: 18px; }

    .about-content { gap: 20px; margin-bottom: 30px; }
    .about-text { flex: 1 1 100%; max-width: 100%; }
    .about-lead { font-size: 16px; margin-bottom: 12px; text-align: center; }
    .about-text p { font-size: 13px; line-height: 1.6; margin-bottom: 8px; text-align: center; }
    .about-image-wrapper { flex: 1 1 100%; order: -1; justify-content: center; }
    .about-image-wrapper img { max-width: 220px; }
    .about-services { margin-bottom: 30px; }
    .about-services h2, .about-why h2 { font-size: 16px; margin-bottom: 20px; letter-spacing: 1px; }
    .services-list { padding: 0 5px; }
    .services-list li { font-size: 13px; padding-left: 28px; margin-bottom: 10px; }
    .services-list li .service-num { font-size: 14px; }
    .about-why { margin: 0 -10px; padding: 30px 10px; }
    .why-grid { grid-template-columns: 1fr; gap: 15px; }
    .why-item { padding: 20px 15px; border-radius: 18px; }
    .why-icon { width: 48px; height: 48px; margin-bottom: 12px; }
    .why-icon img { max-width: 36px; }
    .why-item h3 { font-size: 14px; margin-bottom: 8px; }
    .why-item p { font-size: 12px; line-height: 1.4; }

    .form-status { padding: 10px 14px; font-size: 13px; border-radius: 8px; }
    .file-info { font-size: 11px; }
    .file-error { padding: 8px 10px; font-size: 12px; }
    .file-preview-item { padding: 8px 10px; gap: 6px; }
    .file-preview-icon { font-size: 16px; }
    .file-preview-name { font-size: 12px; }
    .file-preview-size { font-size: 10px; }
    .file-preview-remove { font-size: 14px; }
    .form-group input[type="file"] { padding: 6px; }
    .form-group input[type="file"]::file-selector-button { padding: 6px 10px; font-size: 12px; }
}