/* =========================
   RESET
========================= */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #f5f5f5;
    color: #111;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

/* =========================
   CONTAINER
========================= */
.container {
    width: min(1200px, 92%);
    margin: 0 auto;
}

/* =========================
   HEADER
========================= */
.header {
    background: #0d0d0d;
    border-bottom: 3px solid #f2c300;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: inline-flex;
    align-items: center;
}

.logo img {
    display: block;
    max-height: 60px;
    width: auto;
}

nav {
    display: flex;
    gap: 28px;
}

nav a {
    color: #fff;
    font-weight: 600;
    position: relative;
}

nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: #f2c300;
    transition: 0.3s;
}

nav a:hover::after {
    width: 100%;
}

/* LANG */
.lang {
    display: flex;
    gap: 10px;
}

.lang a {
    color: #aaa;
    font-size: 13px;
}

.lang a:hover {
    color: #f2c300;
}

/* =========================
   HERO
========================= */
.hero {
    position: relative;
    height: 85vh;
    display: flex;
    align-items: center;
    color: #fff;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('/gallery/14.jpeg') center/cover no-repeat;
    z-index: 1;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.6) 40%, rgba(0,0,0,0.2) 100%);
    z-index: 2;
}

.hero .container {
    position: relative;
    z-index: 3;
    max-width: 700px;
}

.hero h1 {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    color: #ddd;
}

/* =========================
   BUTTON
========================= */
.btn {
    display: inline-block;
    background: #f2c300;
    color: #111;
    padding: 14px 28px;
    border-radius: 6px;
    font-weight: 700;
    transition: 0.3s;
}

.btn:hover {
    background: #d9ae00;
    transform: translateY(-2px);
}

/* =========================
   SECTIONS
========================= */
section {
    padding: 80px 0;
}

h1 {
    font-size: 38px;
    margin-bottom: 20px;
}

h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

/* =========================
   CARDS / SERVICES
========================= */
.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 30px;
}

.card {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #eee;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.card h3 {
    margin-bottom: 10px;
    color: #111;
}

/* =========================
   GALLERY
========================= */
.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.gallery img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 10px;
    transition: 0.3s;
}

.gallery img:hover {
    transform: scale(1.05);
}

/* =========================
   CONTACT
========================= */
form {
    max-width: 520px;
    display: grid;
    gap: 14px;
    margin-top: 20px;
}

input,
textarea {
    padding: 14px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 15px;
    transition: 0.2s;
}

input:focus,
textarea:focus {
    border-color: #f2c300;
    outline: none;
}

/* =========================
   FOOTER
========================= */
.footer {
    background: #0d0d0d;
    color: #fff;
    text-align: center;
    padding: 25px;
    border-top: 3px solid #f2c300;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 900px) {

    .cards,
    .gallery {
        grid-template-columns: 1fr;
    }

    .hero {
        height: auto;
        padding: 80px 0;
    }

    .hero h1 {
        font-size: 32px;
    }

    nav {
        display: none;
    }
}

/* =========================
   GALLERY PRO
========================= */
.gallery-section h1 {
    margin-bottom: 20px;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: 0.4s;
}

/* hover эффект */
.gallery-item:hover img {
    transform: scale(1.1);
}

/* overlay */
.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.3s;
}

.overlay span {
    color: #fff;
    background: #f2c300;
    padding: 10px 18px;
    border-radius: 6px;
    font-weight: bold;
}

.gallery-item:hover .overlay {
    opacity: 1;
}

/* =========================
   LIGHTBOX
========================= */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
}

/* =========================
   CONTACT PAGE PRO
========================= */
.contact-section h1 {
    margin-bottom: 30px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

/* форма */
.contact-form-box {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* контакты */
.contact-info-box {
    background: #111;
    color: #fff;
    padding: 30px;
    border-radius: 12px;
}

.contact-info-box h3 {
    margin-bottom: 15px;
}

.contact-info-box p {
    margin-bottom: 15px;
    color: #ccc;
}

.contact-benefits {
    margin-top: 20px;
}

.contact-benefits div {
    margin-bottom: 10px;
    color: #f2c300;
    font-weight: 600;
}

/* success */
.success {
    background: #d4edda;
    padding: 12px;
    margin-bottom: 20px;
    border-radius: 6px;
    color: #155724;
}

/* адаптив */
@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.about-section {
    padding: 80px 0;
}

.about-intro {
    max-width: 900px;
    margin-bottom: 40px;
}

.about-intro p {
    margin-bottom: 16px;
    color: #333;
}

.about-block {
    margin-top: 36px;
}

.about-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-top: 20px;
}

.about-list div {
    background: #fff;
    border-left: 4px solid #f2c300;
    padding: 16px 18px;
    border-radius: 8px;
    box-shadow: 0 8px 22px rgba(0,0,0,0.06);
}

.about-advantages {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 22px;
}

.adv-box {
    background: #111;
    color: #fff;
    padding: 24px 20px;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.14);
}

.adv-box h3 {
    color: #f2c300;
    margin-bottom: 10px;
}

.adv-box p {
    color: #d7d7d7;
    font-size: 15px;
}

@media (max-width: 900px) {
    .about-list,
    .about-advantages {
        grid-template-columns: 1fr;
    }
}

.contact-section {
    padding: 80px 0;
}

.contact-section h1 {
    margin-bottom: 30px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: stretch;
}

.contact-form-box {
    background: #fff;
    padding: 32px;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.contact-form-box h3,
.contact-info-box h3 {
    margin-bottom: 18px;
}

.contact-info-box {
    background: #111;
    color: #fff;
    padding: 32px;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.14);
}

.contact-info-box p {
    margin-bottom: 16px;
    color: #d7d7d7;
}

.contact-info-box a {
    color: #fff;
}

.contact-info-box a:hover {
    color: #f2c300;
}

.contact-benefits {
    margin-top: 24px;
}

.contact-benefits div {
    margin-bottom: 10px;
    color: #f2c300;
    font-weight: 600;
}

form {
    display: grid;
    gap: 14px;
}

input,
textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: 8px;
    border: 1px solid #d4d4d4;
    font-size: 15px;
    transition: 0.2s ease;
    background: #fff;
}

textarea {
    min-height: 140px;
    resize: vertical;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: #f2c300;
    box-shadow: 0 0 0 3px rgba(242, 195, 0, 0.14);
}

.success,
.error-message {
    padding: 14px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 600;
}

.success {
    background: #e7f6ea;
    color: #176b2c;
    border: 1px solid #b9e2c2;
}

.error-message {
    background: #fdeaea;
    color: #a12626;
    border: 1px solid #f2b9b9;
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.hero-content {
    max-width: 760px;
}

.hero-badge {
    display: inline-block;
    margin-bottom: 18px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(242, 195, 0, 0.14);
    color: #f2c300;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.4px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.35);
}

.btn-outline:hover {
    background: #fff;
    color: #111;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 28px;
}

.section-label {
    display: inline-block;
    margin-bottom: 12px;
    color: #f2c300;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 13px;
}

.stats-section {
    margin-top: -55px;
    position: relative;
    z-index: 5;
    padding: 0 0 30px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.stat-box {
    background: #fff;
    border-radius: 14px;
    padding: 22px 20px;
    box-shadow: 0 14px 35px rgba(0,0,0,0.10);
    text-align: center;
}

.stat-box strong {
    display: block;
    font-size: 28px;
    color: #111;
    margin-bottom: 8px;
}

.stat-box span {
    color: #666;
    font-size: 14px;
}

.services-section,
.why-section,
.process-section,
.cta-section {
    padding: 70px 0;
}

.why-grid,
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.why-item,
.process-item {
    background: #fff;
    border-radius: 14px;
    padding: 24px 20px;
    box-shadow: 0 10px 28px rgba(0,0,0,0.08);
}

.why-item h3,
.process-item h3 {
    margin-bottom: 10px;
    font-size: 20px;
}

.why-item p,
.process-item p {
    color: #555;
    font-size: 15px;
}

.step-num {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f2c300;
    color: #111;
    font-weight: 800;
    margin-bottom: 14px;
}

.cta-box {
    background: #111;
    color: #fff;
    border-radius: 18px;
    padding: 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    box-shadow: 0 14px 36px rgba(0,0,0,0.16);
}

.cta-box p {
    color: #d5d5d5;
    margin-top: 8px;
    max-width: 700px;
}

@media (max-width: 900px) {
    .stats-grid,
    .why-grid,
    .process-grid {
        grid-template-columns: 1fr;
    }

    .cta-box {
        flex-direction: column;
        align-items: flex-start;
    }

    .stats-section {
        margin-top: 0;
        padding-top: 30px;
    }
}

.about-section {
    padding: 80px 0;
}

.about-hero-card {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr;
    gap: 24px;
    align-items: stretch;
    margin-bottom: 40px;
}

.about-hero-text,
.about-hero-side,
.about-info-card,
.about-cta {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.about-hero-text {
    padding: 34px;
}

.about-intro {
    margin-top: 18px;
}

.about-intro p {
    margin-bottom: 14px;
    color: #333;
}

.about-hero-side {
    padding: 22px;
    display: grid;
    gap: 16px;
    background: #111;
}

.about-mini-stat {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    padding: 20px;
}

.about-mini-stat strong {
    display: block;
    color: #f2c300;
    font-size: 28px;
    margin-bottom: 8px;
}

.about-mini-stat span {
    color: #fff;
    font-size: 14px;
}

.about-block {
    margin-top: 36px;
}

.about-info-card {
    padding: 30px;
}

.about-info-card p {
    margin-bottom: 20px;
    color: #333;
}

.about-points {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.about-points div,
.about-list div {
    background: #fff;
    border-left: 4px solid #f2c300;
    padding: 16px 18px;
    border-radius: 10px;
    box-shadow: 0 8px 22px rgba(0,0,0,0.06);
}

.about-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-top: 20px;
}

.about-advantages {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 22px;
}

.adv-box {
    background: #111;
    color: #fff;
    padding: 24px 20px;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.14);
}

.adv-box h3 {
    color: #f2c300;
    margin-bottom: 10px;
}

.adv-box p {
    color: #d7d7d7;
    font-size: 15px;
}

.about-process {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.process-card {
    background: #fff;
    border-radius: 14px;
    padding: 24px 20px;
    box-shadow: 0 10px 28px rgba(0,0,0,0.08);
}

.process-num {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f2c300;
    color: #111;
    font-weight: 800;
    margin-bottom: 14px;
}

.process-card h3 {
    margin-bottom: 10px;
    font-size: 20px;
}

.process-card p {
    color: #555;
    font-size: 15px;
}

.about-cta {
    margin-top: 40px;
    padding: 32px;
    background: #111;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.about-cta p {
    color: #d7d7d7;
    margin-top: 8px;
    max-width: 720px;
}

@media (max-width: 900px) {
    .about-hero-card,
    .about-points,
    .about-list,
    .about-advantages,
    .about-process {
        grid-template-columns: 1fr;
    }

    .about-cta {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* =========================
   WHY SECTION (PRO)
========================= */
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 25px;
}

.why-card {
    background: #fff;
    border-radius: 14px;
    padding: 26px 22px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

.why-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* номер */
.why-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #f2c300;
    color: #111;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

/* заголовок */
.why-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

/* текст */
.why-card p {
    color: #555;
    font-size: 14px;
    line-height: 1.5;
}

/* адаптив */
@media (max-width: 900px) {
    .why-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================
   ABOUT STATS — FIXED
========================= */
.about-stats {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 30px;
    padding: 25px 30px;
    background: #111;
    border-radius: 16px;
}

.about-stat {
    text-align: center;
    flex: 1;
}

.about-stat strong {
    display: block;
    font-size: 32px;
    font-weight: 800;
    color: #f2c300;
    margin-bottom: 6px;
}

.about-stat span {
    color: #aaa;
    font-size: 14px;
}

/* адаптив */
@media (max-width: 900px) {
    .about-stats {
        flex-direction: column;
        text-align: center;
    }
}

.messages-section {
    padding: 80px 0;
}

.messages-head {
    margin-bottom: 24px;
}

.messages-note {
    color: #777;
    margin-top: 8px;
}

.messages-empty {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.messages-list {
    display: grid;
    gap: 20px;
}

.message-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    border-left: 5px solid transparent;
}

.message-card.is-unread {
    border-left-color: #f2c300;
}

.message-card.is-read {
    border-left-color: #cfcfcf;
}

.message-card-top {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 16px;
}

.message-card-top h3 {
    margin-bottom: 8px;
    font-size: 22px;
}

.message-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: #666;
    font-size: 14px;
}

.message-status {
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.message-status.unread {
    background: rgba(242,195,0,0.14);
    color: #9b7700;
}

.message-status.read {
    background: #f0f0f0;
    color: #666;
}

.message-body {
    color: #222;
    line-height: 1.7;
    margin-bottom: 18px;
}

.message-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-small {
    padding: 10px 16px;
    font-size: 14px;
}

.btn-dark {
    background: #111;
    color: #fff;
}

.btn-dark:hover {
    background: #222;
}

.btn-danger {
    background: #c62828;
    color: #fff;
}

.btn-danger:hover {
    background: #a91f1f;
}

@media (max-width: 900px) {
    .message-card-top {
        flex-direction: column;
    }
}

.footer .logo img {
    max-height: 40px;
}