/* --- Variables & Reset --- */
:root {
    --primary: #FFC100;
    --primary-hover: #e6ad00;
    --text-main: #1a1a1a;
    --text-light: #555;
    --bg-light: #ffffff;
    --bg-gray: #f8f9fa;
    --bg-dark: #222;
    --white: #ffffff;
    --spacing-section: 80px;
    --transition: 0.3s ease;
    --shadow: 0 10px 30px rgba(0,0,0,0.08);
    --radius: 12px;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Offset for sticky header */
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--bg-light);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* --- Utilities --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 60px 0;
}

.section--gray {
    background-color: var(--bg-gray);
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
    text-transform: uppercase; /* ЗАГЛАВНЫЕ БУКВЫ */
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--primary);
    border-radius: 2px;
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    text-align: center;
}

/* Primary Button (Filled) */
.btn--primary {
    background-color: var(--primary);
    color: var(--text-main);
    box-shadow: 0 4px 15px rgba(255, 193, 0, 0.4);
}

.btn--primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 193, 0, 0.6);
}

/* Outline Button (Transparent with border) */
.btn--outline {
    background-color: transparent;
    border-color: var(--primary);
    color: var(--text-main); /* Using dark text for better readability on light bg */
}

/* If background is dark, we might need different color, but hero is light */
.btn--outline:hover {
    background-color: var(--primary);
    color: var(--text-main);
    box-shadow: 0 4px 15px rgba(255, 193, 0, 0.3);
    transform: translateY(-2px);
}

/* --- Header --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    height: 70px;
    display: flex;
    align-items: center;
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__phone {
    font-weight: 700;
    font-size: 1rem;
    margin-right: 20px;
    display: none; /* Hidden on very small screens */
}

/* Mobile Menu */
.nav {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--white);
    padding: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transform: translateY(-150%);
    transition: transform 0.4s ease;
    z-index: 999;
}

.nav.active {
    transform: translateY(0);
}

.nav__list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: center;
}

.nav__link {
    font-weight: 600;
    font-size: 1.1rem;
}

.nav__link:hover {
    color: var(--primary-hover);
}

/* Burger Button */
.burger {
    display: block;
    width: 30px;
    height: 20px;
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
}

.burger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-main);
    position: absolute;
    transition: var(--transition);
}

.burger span:nth-child(1) { top: 0; }
.burger span:nth-child(2) { top: 9px; }
.burger span:nth-child(3) { bottom: 0; }

.burger.active span:nth-child(1) { transform: rotate(45deg); top: 9px; }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: rotate(-45deg); bottom: 9px; }

/* Desktop Header */
@media (min-width: 992px) {
    .header { height: 80px; }
    .header__phone { display: block; font-size: 1.1rem; }
    .burger { display: none; }
    
    .nav {
        position: static;
        transform: none;
        background: none;
        box-shadow: none;
        padding: 0;
        width: auto;
    }
    
    .nav__list {
        flex-direction: row;
        gap: 30px;
    }
}

/* --- Hero Section --- */
.hero {
    padding-top: 120px; /* Header height + spacing */
    padding-bottom: 60px;
    background: linear-gradient(135deg, #fff 0%, #f0f0f0 100%);
    overflow: hidden;
}

.hero__container {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 40px;
}

.hero__content {
    text-align: center;
}

.hero__title {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 15px;
    text-transform: uppercase; /* ЗАГЛАВНЫЕ БУКВЫ */
}

.hero__subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

.hero__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.hero__image img {
    max-width: 100%;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.15));
    transform: scale(1);
    transition: transform 0.5s ease;
}

.hero__image:hover img {
    transform: scale(1.02);
}

@media (min-width: 768px) {
    .hero { min-height: 90vh; display: flex; align-items: center; }
    .hero__container {
        flex-direction: row;
        text-align: left;
    }
    .hero__content {
        flex: 1;
        text-align: left;
    }
    .hero__buttons {
        justify-content: flex-start;
    }
    .hero__title { font-size: 3rem; }
    .hero__image { flex: 1; }
}

/* --- Advantages --- */
.advantages__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.advantage-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.advantage-card:hover {
    transform: translateY(-5px);
}

.advantage-card__icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.advantage-card__title {
    margin-bottom: 10px;
    font-weight: 700;
}

@media (min-width: 768px) {
    .advantages__grid { grid-template-columns: repeat(3, 1fr); }
}

/* --- Services --- */
.services__wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.services__group {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.services__subtitle {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--primary-hover);
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

.services__list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    font-weight: 500;
}

.services__list li::before {
    content: '✔';
    position: absolute;
    left: 0;
    color: var(--primary);
}

@media (min-width: 768px) {
    .services__wrapper { grid-template-columns: 1fr 1fr; }
}

/* --- Pricing --- */
.pricing__base {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-bottom: 50px;
}

.pricing__card {
    background: var(--white);
    border: 2px solid var(--primary);
    border-radius: var(--radius);
    padding: 25px;
    text-align: center;
    flex: 1;
    min-width: 280px;
}

.pricing__label {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.pricing__value {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-hover);
    margin-bottom: 5px;
}

.pricing__note {
    font-size: 0.9rem;
    color: var(--text-light);
}

.pricing__table-title {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.5rem;
}

.pricing__destinations {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    background: var(--white);
    padding: 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.dest-item {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.dest-item:last-child { border-bottom: none; }

@media (min-width: 600px) {
    .pricing__destinations {
        grid-template-columns: repeat(2, 1fr);
        column-gap: 40px;
    }
}
@media (min-width: 992px) {
    .pricing__destinations {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* --- Gallery --- */
.gallery__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.gallery__img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: var(--radius);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.gallery__img:hover {
    transform: scale(1.03);
}

@media (min-width: 768px) {
    .gallery__grid { grid-template-columns: repeat(3, 1fr); }
}

/* --- Contacts --- */
.contacts__wrapper {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.contacts__desc {
    font-size: 1.2rem;
    margin-bottom: 40px;
}

/* Grid Layout for Buttons */
.contacts__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    justify-items: center;
}

/* Social Buttons Styling */
.btn-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 20px;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    width: 100%; /* Full width in grid cell */
    max-width: 300px; /* Limit width on large screens */
    transition: transform 0.2s, box-shadow 0.2s;
    text-transform: none; /* Reset uppercase from .btn if needed */
}

.btn-social:hover { 
    transform: translateY(-3px); 
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Colors */
.btn-whatsapp { background-color: #25D366; }
.btn-telegram { background-color: #0088cc; }
.btn-viber { background-color: #665CAC; }
.btn-vk { background-color: #0077FF; }
.btn-vk-group { background-color: #4a76a8; }
.btn-email { background-color: #333; } /* Dark gray for email */

/* Responsive Grid */
@media (min-width: 600px) {
    .contacts__grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablet */
    }
}

@media (min-width: 992px) {
    .contacts__grid {
        grid-template-columns: repeat(3, 1fr); /* 3 columns on desktop */
    }
}

/* --- Footer --- */
.footer {
    background-color: var(--bg-dark);
    color: #888;
    padding: 40px 0;
    font-size: 0.85rem;
}

.footer__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
}

@media (min-width: 768px) {
    .footer__container {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

/* --- Animations (JS Triggered) --- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}