/* ============================================================
   Фотон Принт — ПОЛНЫЙ ФАЙЛ СТИЛЕЙ
   Версия: 8.1
   Последнее обновление: 2026-07-08
   ============================================================ */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #0d1b3e;
    --accent: #ff8c3a;
    --white: #ffffff;
    --text: #333333;
    --muted: #6b7280;
    --border: #e5e7eb;
    --bg: #f9fafb;
    --radius: 8px;
    --radius-lg: 16px;
    --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
    --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.3;
    color: var(--primary);
}

/* Кнопки */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    font-family: var(--font-body);
    text-decoration: none;
    transition: all 0.25s ease;
    white-space: nowrap;
    line-height: 1.4;
}

.btn--primary {
    background: var(--accent);
    color: var(--white);
    box-shadow: 0 2px 8px rgba(255, 140, 58, 0.3);
}
.btn--primary:hover {
    background: #e67a2e;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(255, 140, 58, 0.4);
}
.btn--primary:active { transform: translateY(0); }

.btn--outline {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}
.btn--outline:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-1px);
}

.btn--large { padding: 16px 32px; font-size: 1.05rem; }

.btn--map, .btn--contact {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    text-decoration: none;
    border-radius: var(--radius);
    font-size: 0.88rem;
    transition: all 0.3s;
    margin: 4px;
}
.btn--map:hover, .btn--contact:hover {
    background: var(--accent);
    transform: translateY(-1px);
}

/* Шапка */
.header {
    background: var(--primary);
    color: var(--white);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.15);
}

.header__inner { display: flex; align-items: center; gap: 16px; min-height: 48px; }
.header__logo { flex-shrink: 0; display: flex; align-items: center; }
.header__logo img { width: 48px; height: 48px; border-radius: 8px; }
.header__brand { flex: 1; min-width: 0; }
.header__title { font-family: var(--font-heading); font-size: 1.3rem; font-weight: 800; line-height: 1.2; }
.header__slogan { font-size: 0.78rem; opacity: 0.7; line-height: 1.4; }
.header__nav { display: flex; align-items: center; gap: 16px; }

.header__nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    opacity: 0.85;
    padding: 6px 12px;
    border-radius: var(--radius);
    transition: all 0.2s;
}
.header__nav-link:hover, .header__nav-link--active {
    opacity: 1;
    background: rgba(255, 255, 255, 0.1);
}

/* Hero */
.hero {
    background: linear-gradient(135deg, #0d1b3e 0%, #1a2f5f 50%, #0d1b3e 100%);
    color: var(--white);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 140, 58, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero__content { max-width: 700px; position: relative; z-index: 2; }

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--accent);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 140, 58, 0.4); }
    50% { box-shadow: 0 0 0 12px rgba(255, 140, 58, 0); }
}

.hero__schedule { list-style: none; margin: 0 0 28px; padding: 0; opacity: 0.88; font-size: 0.95rem; line-height: 1.9; }

.hero__title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--white);
}
.hero__title span { color: var(--accent); display: inline-block; }

.hero__subtitle { font-size: 1.15rem; opacity: 0.9; margin-bottom: 36px; max-width: 560px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Секции */
.section { padding: 80px 0; }
.section--white { background: var(--white); }

.section__label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 16px;
}

.section__title { font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 800; margin-bottom: 12px; }
.section__subtitle { color: var(--muted); font-size: 1.1rem; margin-bottom: 48px; }

/* Сетка услуг */
.services__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--border);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card__icon { font-size: 44px; margin-bottom: 16px; display: block; }
.service-card__title { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; }
.service-card__desc { color: var(--muted); font-size: 0.92rem; line-height: 1.6; }

/* CTA */
.order-cta { text-align: center; padding: 80px 20px; background: var(--primary); border-radius: var(--radius-lg); color: var(--white); }
.order-cta__icon { font-size: 56px; margin-bottom: 24px; }
.order-cta__title { font-size: 2.2rem; font-weight: 800; color: var(--white); margin-bottom: 16px; }
.order-cta__text { color: rgba(255, 255, 255, 0.75); font-size: 1.1rem; margin-bottom: 32px; }

/* Подвал */
.footer { background: var(--primary); color: var(--white); padding: 60px 0 32px; }
.footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer__col-title { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 700; margin-bottom: 16px; color: var(--white); }
.footer__address { font-style: normal; opacity: 0.85; line-height: 1.7; margin-bottom: 12px; }
.footer__map-buttons { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.footer__contacts, .footer__social { display: flex; flex-direction: column; gap: 8px; }
.footer__bottom { text-align: center; border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 28px; font-size: 0.88rem; opacity: 0.7; }
.footer__bottom p { margin: 6px 0; }
.footer__privacy-link { color: var(--accent); text-decoration: underline; font-weight: 600; }
.footer__privacy-link:hover { text-decoration: none; }

/* FAB */
.fab { display: none; position: fixed; bottom: 24px; right: 24px; z-index: 99; }
.fab .btn { padding: 16px 28px; font-size: 1rem; box-shadow: 0 4px 24px rgba(255, 140, 58, 0.4); }

/* Форма */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 700; margin-bottom: 8px; color: var(--primary); font-size: 0.9rem; }
.required { color: #e74c3c; font-weight: 400; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 12px 16px; border: 2px solid var(--border);
    border-radius: var(--radius); font-family: var(--font-body);
    font-size: 0.95rem; transition: all 0.2s; background: var(--white); color: var(--text);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255, 140, 58, 0.15);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-error { display: none; color: #e74c3c; font-size: 0.82rem; margin-top: 6px; font-weight: 500; }
.form-error.is-visible { display: block; }
input.error, select.error, textarea.error { border-color: #e74c3c !important; }

/* Согласие */
.form-agreement { margin: 24px 0; }
.form-agreement__label { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; line-height: 1.5; }
.form-agreement__checkbox { flex-shrink: 0; width: 20px; height: 20px; margin-top: 2px; cursor: pointer; accent-color: var(--accent); }
.form-agreement__text { font-size: 0.84rem; color: var(--muted); }
.form-agreement__text a { color: var(--accent); text-decoration: underline; }
.form-agreement__text a:hover { text-decoration: none; }
.form-submit { width: 100%; padding: 16px; font-size: 1.05rem; margin-top: 8px; }

/* Успех */
.form-success { display: none; text-align: center; padding: 48px 28px; }
.form-success.is-visible { display: block; }
.form-success__icon { font-size: 64px; margin-bottom: 24px; animation: successBounce 0.6s ease; }
@keyframes successBounce { 0% { transform: scale(0); } 50% { transform: scale(1.2); } 100% { transform: scale(1); } }
.form-success__title { font-size: 1.6rem; font-weight: 800; margin-bottom: 12px; }
.form-success__text { color: var(--muted); font-size: 1rem; }

/* Honeypot */
.hp-field { position: absolute; left: -99999px; top: -99999px; opacity: 0; height: 0; width: 0; overflow: hidden; pointer-events: none; }

/* Cookie */
.cookie-banner {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
    background: var(--primary); color: var(--white); padding: 20px 24px;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.4);
    transform: translateY(100%); transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.cookie-banner.is-visible { transform: translateY(0); }
.cookie-banner__inner { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.cookie-banner__text { margin: 0; font-size: 0.9rem; line-height: 1.6; flex: 1; opacity: 0.92; }
.cookie-banner__text a { color: var(--accent); text-decoration: underline; }
.cookie-banner__text a:hover { text-decoration: none; }
.cookie-banner__btn { flex-shrink: 0; padding: 12px 28px; font-size: 0.9rem; }

/* Privacy back */
.privacy-back { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-weight: 700; font-size: 0.92rem; margin-bottom: 24px; text-decoration: none; transition: all 0.2s; }
.privacy-back:hover { text-decoration: underline; opacity: 0.8; }

/* Focus */
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* Адаптивность */
@media (max-width: 1024px) { .services__grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); } }

@media (max-width: 768px) {
    .fab { display: block; }
    .header__cta { display: none; }
    .header__nav-link { font-size: 0.8rem; }
    .hero { padding: 48px 0; }
    .hero__actions { flex-direction: column; }
    .hero__actions .btn { width: 100%; }
    .section { padding: 48px 0; }
    .services__grid { grid-template-columns: 1fr; }
    .cookie-banner { bottom: 80px; padding: 16px 20px; }
    .cookie-banner__inner { flex-direction: column; text-align: center; gap: 16px; }
    .cookie-banner__btn { width: 100%; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .header { padding: 12px 0; }
    .header__title { font-size: 1.1rem; }
    .header__slogan { font-size: 0.7rem; }
    .hero { padding: 36px 0; }
}

@media print {
    .header, .footer, .fab, .cookie-banner { display: none !important; }
    body { background: #fff; color: #000; }
}