* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 20px;
}

body {
    font-family: 'Inter', sans-serif;
    background: #0a0c12;
    color: #e9eef3;
    line-height: 1.5;
    overflow-x: hidden;
    cursor: default;
    overflow-anchor: none;
}

/* Кастомный курсор (десктоп) */
.custom-cursor {
    width: 24px;
    height: 24px;
    border: 2px solid #f7b05e;
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease, width 0.2s, height 0.2s;
    transform: translate(-50%, -50%);
    backdrop-filter: invert(0.2);
    display: none;
}

@media (min-width: 1024px) {
    .custom-cursor {
        display: block;
    }
}

/* Звёздный фон */
.stars-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 20% 30%, #1a1f2a, #03050a);
    z-index: -2;
}

.stars-bg::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 15% 30%, #fff, rgba(0,0,0,0)),
        radial-gradient(3px 3px at 75% 60%, #ffe6b3, rgba(0,0,0,0)),
        radial-gradient(1px 1px at 95% 20%, #ffd966, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 40% 85%, #fff, rgba(0,0,0,0)),
        radial-gradient(4px 4px at 5% 45%, #ffb347, rgba(0,0,0,0));
    background-size: 250px 250px;
    background-repeat: repeat;
    opacity: 0.5;
    animation: starTwinkle 8s infinite alternate;
}

@keyframes starTwinkle {
    0% { opacity: 0.4; }
    100% { opacity: 0.9; }
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Hero секция */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0a0c12e6 0%, #1e2a2fe6 100%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
}

.badge {
    display: inline-block;
    background: rgba(247, 176, 94, 0.2);
    backdrop-filter: blur(8px);
    padding: 6px 18px;
    border-radius: 60px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: #f7b05e;
    margin-bottom: 24px;
    border: 1px solid rgba(247, 176, 94, 0.4);
}

.hero-title {
    font-size: clamp(2.8rem, 8vw, 5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
}

.hero-title span {
    background: linear-gradient(135deg, #f7b05e, #e0a158);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.hero-desc {
    font-size: 1.2rem;
    opacity: 0.85;
    max-width: 560px;
    margin: 0 auto 36px;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 48px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.25s ease;
    border: none;
    font-family: inherit;
    background: none;
}

.btn-primary {
    background: linear-gradient(95deg, #f7b05e, #dc8e3a);
    color: #0a0c12;
    box-shadow: 0 8px 20px rgba(247, 176, 94, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 28px rgba(247, 176, 94, 0.5);
}

.btn-outline {
    border: 1.5px solid #f7b05e;
    color: #f7b05e;
    background: transparent;
    margin-left: 16px;
}

.btn-outline:hover {
    background: rgba(247, 176, 94, 0.1);
    transform: translateY(-2px);
}

/* летающая капибара */
.floating-capy {
    position: absolute;
    bottom: 40px;
    right: 5%;
    width: 120px;
    height: 120px;
    z-index: 2;
    pointer-events: none;
}

.capy-float {
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="55" r="28" fill="%23b97f44"/><circle cx="35" cy="48" r="5" fill="black"/><circle cx="65" cy="48" r="5" fill="black"/><ellipse cx="50" cy="68" rx="12" ry="6" fill="%23945c2e"/><path d="M40 75 Q50 82 60 75" stroke="%236b3e1a" fill="none" stroke-width="2"/><rect x="44" y="30" width="12" height="8" fill="%238b5a2b"/></svg>') center/contain no-repeat;
    filter: drop-shadow(0 10px 12px rgba(0,0,0,0.3));
    animation: floatCapy 4s infinite alternate ease-in-out;
}

@keyframes floatCapy {
    0% { transform: translateY(0px) rotate(0deg); }
    100% { transform: translateY(-20px) rotate(4deg); }
}

/* секции общие */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-tag {
    font-size: 0.85rem;
    letter-spacing: 2px;
    color: #f7b05e;
    margin-bottom: 12px;
    display: inline-block;
}

.section-header h2 {
    font-size: clamp(2rem, 5vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 16px;
}

/* карточки направлений */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.destination-card {
    background: rgba(20, 25, 35, 0.7);
    backdrop-filter: blur(12px);
    border-radius: 32px;
    padding: 28px;
    transition: all 0.3s;
    border: 1px solid rgba(247, 176, 94, 0.2);
    cursor: pointer;
}

.destination-card:hover {
    transform: translateY(-10px);
    border-color: #f7b05e;
    box-shadow: 0 20px 35px -12px rgba(0,0,0,0.5);
}

.card-icon {
    font-size: 3.2rem;
    margin-bottom: 20px;
}

.destination-card h3 {
    font-size: 1.7rem;
    margin-bottom: 12px;
}

.destination-card p {
    opacity: 0.75;
    margin-bottom: 20px;
}

.distance {
    font-size: 0.85rem;
    color: #f7b05e;
    font-weight: 600;
}

/* секция спутники */
.companions {
    background: linear-gradient(120deg, #0f121b, #10141f);
}

.companions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.companion-text h2 {
    font-size: 2.4rem;
    margin: 16px 0 20px;
}

.capy-features {
    list-style: none;
    margin: 28px 0 32px;
}

.capy-features li {
    margin-bottom: 14px;
    font-size: 1.05rem;
}

.companion-media {
    position: relative;
    display: flex;
    justify-content: center;
}

.capy-portrait {
    width: 100%;
    max-width: 380px;
    aspect-ratio: 1/1;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><ellipse cx="100" cy="110" rx="65" ry="55" fill="%23c28a4b"/><circle cx="70" cy="85" r="8" fill="white"/><circle cx="130" cy="85" r="8" fill="white"/><circle cx="72" cy="86" r="4" fill="black"/><circle cx="132" cy="86" r="4" fill="black"/><path d="M85 125 Q100 138 115 125" stroke="%237a481e" fill="none" stroke-width="4"/><rect x="88" y="58" width="24" height="12" fill="%23a5703a" rx="4"/></svg>') center/contain no-repeat;
    border-radius: 60% 40% 50% 50%;
    animation: gentleSway 5s infinite alternate;
}

@keyframes gentleSway {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(3deg); }
}

.capy-shadow {
    width: 80%;
    height: 20px;
    background: radial-gradient(ellipse, rgba(0,0,0,0.5), transparent);
    filter: blur(12px);
    margin-top: -20px;
}

/* слайдер отзывов */
.testimonial-slider {
    display: flex;
    overflow: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    gap: 24px;
    padding: 8px 4px;
}

.testimonial-card {
    flex: 0 0 100%;
    scroll-snap-align: start;
    background: rgba(30, 35, 48, 0.6);
    backdrop-filter: blur(8px);
    border-radius: 40px;
    padding: 32px;
    border: 1px solid rgba(247, 176, 94, 0.3);
}

.testimonial-text {
    font-size: 1.25rem;
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    font-weight: 700;
    color: #f7b05e;
}

.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 32px;
}

.slider-btn {
    background: rgba(247, 176, 94, 0.2);
    border: none;
    font-size: 1.8rem;
    padding: 8px 20px;
    border-radius: 60px;
    color: #f7b05e;
    cursor: pointer;
    transition: 0.2s;
}

.slider-dots {
    display: flex;
    gap: 12px;
}

.dot {
    width: 10px;
    height: 10px;
    background: #4a5568;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.2s;
}

.dot.active {
    background: #f7b05e;
    width: 28px;
    border-radius: 12px;
}

/* форма бронирования */
.booking-card {
    background: radial-gradient(circle at 20% 30%, #1a1f2e, #0c0f17);
    border-radius: 56px;
    padding: 48px 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(247, 176, 94, 0.3);
}

.booking-form {
    max-width: 500px;
    margin: 32px auto 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.booking-form input,
.booking-form select {
    padding: 16px 24px;
    border-radius: 60px;
    border: none;
    background: rgba(255,255,255,0.08);
    color: #fff;
    font-size: 1rem;
    outline: none;
    transition: 0.2s;
}

.booking-form input:focus,
.booking-form select:focus {
    border: 1px solid #f7b05e;
    background: rgba(0,0,0,0.5);
}

.form-message {
    margin-top: 20px;
    font-size: 0.9rem;
    color: #d4c5a7;
}

/* футер */
.footer {
    border-top: 1px solid rgba(247, 176, 94, 0.2);
    padding: 40px 0;
    text-align: center;
    color: #8f9bb3;
}

/* тост уведомление */
.toast-notification {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) scale(0.9);
    background: #1e2a2fcc;
    backdrop-filter: blur(16px);
    padding: 14px 28px;
    border-radius: 60px;
    color: #f7b05e;
    font-weight: 500;
    opacity: 0;
    transition: 0.3s;
    pointer-events: none;
    z-index: 1000;
    border: 1px solid #f7b05e;
}

.toast-notification.show {
    opacity: 1;
    transform: translateX(-50%) scale(1);
}

@media (max-width: 768px) {
    .companions-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-cta .btn {
        margin: 8px;
    }
    .btn-outline {
        margin-left: 0;
    }
}
