/* CSS для страниц экскурсий - Best Spain Tours */

/* Импорт шрифтов */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

/* Глобальные стили футера для страниц экскурсий */
.footer-description {
    font-size: 0.85rem !important;
    line-height: 1.5;
}

.footer .footer-description {
    font-size: 0.85rem !important;
}

/* ===== HERO SECTION ===== */
.excursion-hero {
    background: transparent;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.excursion-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

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

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
    text-shadow: none;
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.3rem;
    color: #666;
    font-weight: 400;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.2s both;
}

/* ===== EXCURSION OVERVIEW ===== */
.excursion-overview {
    padding: 80px 0;
    background: #ffffff;
}

/* ===== EXCURSION TITLE ===== */
.excursion-title-section {
    text-align: center;
    margin-top: 80px;
    margin-bottom: 30px;
    padding-top: 20px;
}

.excursion-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.8rem;
    background: linear-gradient(135deg, #006994 0%, #00bfff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.excursion-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.3rem;
    color: #666;
    font-weight: 400;
    margin: 0;
}

.overview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* ===== PHOTOS GALLERY ===== */
.photos-gallery {
    position: relative;
    margin-bottom: 40px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    max-width: 800px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

.gallery-item.main-photo {
    grid-column: 1;
    grid-row: 1;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.05);
}

/* ===== DESCRIPTION AND PRICING ===== */
.description-pricing {
    display: grid;
    grid-template-columns: 60% 40%;
    gap: 40px;
    align-items: start;
    margin-bottom: 40px;
}

.description {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-left: 5px solid #006994;
}

.description h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: #333;
    margin-bottom: 1.2rem;
    position: relative;
}

.description h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #006994 0%, #00bfff 100%);
    border-radius: 2px;
}

.description p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #666;
    margin-bottom: 1.2rem;
}

.highlights {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

.highlights h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 0.8rem;
}

.highlights ul {
    list-style: none;
    padding: 0;
}

.highlights li {
    padding: 0.4rem 0;
    padding-left: 2rem;
    position: relative;
    font-size: 1rem;
    color: #555;
}

.highlights li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0.4rem;
    color: #006994;
    font-weight: bold;
    font-size: 1.1rem;
}

/* ===== PRICING CARD ===== */
.pricing-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    color: #333;
    box-shadow: 0 15px 35px rgba(0, 105, 148, 0.1);
    position: relative;
    overflow: hidden;
    border: 2px solid #e9ecef;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 105, 148, 0.05) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.price-info {
    position: relative;
    z-index: 2;
}

.price-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
    color: #333;
}

.price-details {
    margin-bottom: 1.5rem;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
    border-bottom: 1px solid #e9ecef;
}

.price-item:last-child {
    border-bottom: none;
}

.price-label {
    font-size: 1rem;
    font-weight: 500;
    color: #555;
}

.price-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: #006994;
}

.price-note {
    text-align: center;
    margin-top: 1rem;
}

.price-note p {
    font-size: 0.95rem;
    color: #666;
    margin: 0;
}

.book-btn {
    display: inline-flex;
    align-items: center;
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    background: linear-gradient(135deg, #006994 0%, #00bfff 100%);
    border: none;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 105, 148, 0.3);
    margin-top: 1rem;
}

.book-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 105, 148, 0.4);
    background: linear-gradient(135deg, #005a7a 0%, #0099cc 100%);
}

/* ===== EXCURSION DETAILS ===== */
.excursion-details {
    padding: 60px 0;
    background: #ffffff;
}

.excursion-details:nth-child(even) {
    background: #f8f9fa;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 40px;
    color: #333;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #006994 0%, #00bfff 100%);
    border-radius: 2px;
}

.details-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.detail-block {
    background: white;
    padding: 25px 0;
    margin-bottom: 1.5rem;
    border-left: 4px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.detail-block:last-child {
    margin-bottom: 0;
}

.detail-block:hover {
    padding-left: 15px;
    border-left-color: #006994;
    background: #f8f9fa;
}

.detail-block h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: #333;
    margin-bottom: 0.8rem;
    position: relative;
}

.detail-block h3::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(135deg, #006994 0%, #00bfff 100%);
    transition: width 0.3s ease;
}

.detail-block:hover h3::after {
    width: 60px;
}

.detail-block p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 0;
}

.detail-block p strong {
    color: #333;
    font-weight: 600;
}

.details-content ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.details-content li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    font-size: 1rem;
    color: #555;
}

.details-content li::before {
    content: '•';
    position: absolute;
    left: 0;
    top: 0.5rem;
    color: #006994;
    font-weight: bold;
    font-size: 1.2rem;
}

.details-content li strong {
    color: #333;
    font-weight: 600;
}

.additional-info {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 1.5rem;
}

.info-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #006994;
}

.info-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 0.8rem;
    position: relative;
}

.info-card h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(135deg, #006994 0%, #00bfff 100%);
}

.info-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-card li {
    padding: 0.3rem 0;
    padding-left: 1.2rem;
    position: relative;
    font-size: 0.95rem;
    color: #555;
}

.info-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0.3rem;
    color: #006994;
    font-weight: bold;
    font-size: 0.9rem;
}

.info-card li strong {
    color: #333;
    font-weight: 600;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
    .gallery-grid {
        height: 400px;
    }
    
    .details-grid {
        gap: 25px;
    }
}

@media (max-width: 1024px) {
    .gallery-grid {
        height: 350px;
    }
    
    .description-pricing {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .special-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .details-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .excursion-hero {
        padding: 80px 0 60px;
        min-height: 50vh;
    }
    
    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 0.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }
    
    .excursion-overview {
        padding: 50px 0;
    }
    
    .excursion-title-section {
        margin-top: 100px;
        margin-bottom: 25px;
        padding-top: 15px;
    }
    
    .excursion-title {
        font-size: 2.2rem !important;
        line-height: 1.3;
        margin-bottom: 0.8rem;
    }
    
    .excursion-subtitle {
        font-size: 1.1rem !important;
        line-height: 1.5;
    }
    
    .photos-gallery,
    .gallery-grid,
    .gallery-item,
    .gallery-item.main-photo {
        background: none !important;
        padding: 0 !important;
        min-height: 0 !important;
        height: auto !important;
        margin: 0 !important;
        box-shadow: none !important;
    }
    .gallery-grid {
        justify-items: center;
        grid-template-columns: 1fr 1fr !important;
        gap: 8px;
        max-width: 100%;
    }
    .gallery-item,
    .gallery-item.main-photo {
        border-radius: 12px;
        width: 100%;
    }
    .gallery-image {
        display: block;
        margin: 0 auto;
        width: 100%;
        max-width: 100%;
    }
    
    .description-pricing {
        gap: 20px;
        margin-top: 15px;
        margin-bottom: 30px;
    }
    
    .description {
        padding: 25px 15px;
        margin-bottom: 15px;
    }
    
    .description h2 {
        font-size: 1.8rem !important;
        line-height: 1.3;
        margin-bottom: 1rem;
        text-align: center;
    }
    
    .pricing-card {
        padding: 25px 15px;
        margin-bottom: 15px;
    }
    
    .price-info h3 {
        font-size: 1.4rem !important;
        line-height: 1.3;
        margin-bottom: 0.8rem;
    }
    
    .details-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .detail-card {
        padding: 25px 15px;
    }
    
    .detail-card h3 {
        font-size: 1.3rem;
    }
    
    .section-title {
        font-size: 1.8rem !important;
        line-height: 1.3;
        margin-bottom: 1.2rem;
        text-align: center;
    }
    
    .info-card {
        padding: 25px 15px;
    }
    
    .info-card h3 {
        font-size: 1.5rem;
    }
    
    .detail-block {
        padding: 15px 0;
        margin-bottom: 1.2rem;
    }
    
    .detail-block:hover {
        padding-left: 12px;
    }
    
    .detail-block h3 {
        font-size: 1.3rem !important;
        line-height: 1.4;
        margin-bottom: 0.6rem;
    }
    
    .detail-block h3::after {
        width: 25px;
        height: 2px;
        bottom: -4px;
    }
    
    .detail-block:hover h3::after {
        width: 35px;
    }
    
    .detail-block p {
        font-size: 1rem !important;
        line-height: 1.6;
    }
    
    /* Универсальное правило для всех h2 на мобильных */
    h2 {
        font-size: 1.8rem !important;
        line-height: 1.3;
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .description p,
    .detail-block p,
    .feature-item p,
    .excursion-detail-item .detail-description {
        color: #444 !important;
    }
    
    .excursion-subtitle {
        color: #555 !important;
    }
    
    /* Footer styles for mobile */
    .footer-description {
        font-size: 0.85rem !important;
        line-height: 1.5;
    }
    
    .footer .footer-description {
        font-size: 0.85rem !important;
    }
}

@media (max-width: 480px) {
    .excursion-hero {
        padding: 60px 0 40px;
        min-height: 40vh;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 0.6rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.2rem;
    }
    
    .excursion-overview {
        padding: 40px 0;
    }
    
    .excursion-title-section {
        margin-top: 80px;
        margin-bottom: 20px;
        padding-top: 10px;
    }
    
    .excursion-title {
        font-size: 1.8rem !important;
        line-height: 1.2;
        margin-bottom: 0.5rem;
    }
    
    .excursion-subtitle {
        font-size: 1rem !important;
        line-height: 1.4;
    }
    
    .photos-gallery,
    .gallery-grid,
    .gallery-item,
    .gallery-item.main-photo {
        background: none !important;
        padding: 0 !important;
        min-height: 0 !important;
        height: auto !important;
        margin: 0 !important;
        box-shadow: none !important;
    }
    .gallery-grid {
        justify-items: center;
        grid-template-columns: 1fr 1fr !important;
        gap: 6px;
        max-width: 100%;
    }
    .gallery-item,
    .gallery-item.main-photo {
        border-radius: 10px;
        width: 100%;
    }
    .gallery-image {
        display: block;
        margin: 0 auto;
        width: 100%;
        max-width: 100%;
    }
    
    .description-pricing {
        gap: 15px;
        margin-top: 10px;
        margin-bottom: 25px;
    }
    
    .description {
        padding: 20px 12px;
        margin-bottom: 10px;
    }
    
    .description h2 {
        font-size: 1.5rem !important;
        line-height: 1.3;
        margin-bottom: 0.8rem;
        text-align: center;
    }
    
    .description p {
        font-size: 0.95rem !important;
        line-height: 1.6;
        margin-bottom: 0.8rem;
    }
    
    .pricing-card {
        padding: 20px 12px;
        margin-bottom: 10px;
    }
    
    .price-info h3 {
        font-size: 1.3rem !important;
        line-height: 1.3;
        margin-bottom: 0.6rem;
    }
    
    .price-value {
        font-size: 1.1rem !important;
    }
    
    .detail-card {
        padding: 20px 12px;
    }
    
    .detail-card h3 {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 1.5rem !important;
        line-height: 1.3;
        margin-bottom: 1rem;
        text-align: center;
    }
    
    .info-card {
        padding: 20px 12px;
    }
    
    .info-card h3 {
        font-size: 1.3rem;
    }
    
    .book-btn {
        padding: 12px 24px;
        font-size: 1rem;
    }
    
    .detail-block {
        padding: 12px 0;
        margin-bottom: 1rem;
    }
    
    .detail-block:hover {
        padding-left: 8px;
    }
    
    .detail-block h3 {
        font-size: 1.2rem !important;
        line-height: 1.3;
        margin-bottom: 0.5rem;
    }
    
    .detail-block h3::after {
        width: 20px;
        height: 2px;
        bottom: -3px;
    }
    
    .detail-block:hover h3::after {
        width: 25px;
    }
    
    .detail-block p {
        font-size: 0.9rem !important;
        line-height: 1.5;
    }
    
    /* Универсальное правило для всех h2 на маленьких экранах */
    h2 {
        font-size: 1.5rem !important;
        line-height: 1.3;
        text-align: center;
        margin-bottom: 0.8rem;
    }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    .excursion-hero::before,
    .pricing-card::before {
        animation: none;
    }
    
    .gallery-item:hover,
    .detail-card:hover,
    .book-btn:hover {
        transform: none;
    }
    
    .gallery-image {
        transition: none;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    .excursion-hero {
        background: white !important;
        color: black !important;
        padding: 20px 0;
    }
    
    .hero-title {
        color: black !important;
        text-shadow: none;
    }
    
    .hero-subtitle {
        color: black !important;
    }
    
    .pricing-card {
        background: white !important;
        color: black !important;
        box-shadow: none;
        border: 2px solid #333;
    }
    
    .book-btn {
        display: none;
    }
}

/* ===== SPECIAL FEATURES ===== */
.special-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
    margin-top: 32px;
}

.feature-item {
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.13);
    padding: 32px 18px 24px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: box-shadow 0.3s;
}

.feature-item:hover {
    box-shadow: 0 16px 40px rgba(0,0,0,0.18);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
    font-size: 2.5rem;
}

.feature-item:nth-child(1) .feature-icon {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
}

.feature-item:nth-child(2) .feature-icon {
    background: linear-gradient(135deg, #4834d4 0%, #686de0 100%);
}

.feature-item:nth-child(3) .feature-icon {
    background: linear-gradient(135deg, #feca57 0%, #ff9ff3 100%);
}

.feature-item:nth-child(4) .feature-icon {
    background: linear-gradient(135deg, #48dbfb 0%, #0abde3 100%);
}

.feature-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
    text-align: center;
    font-family: inherit;
}

.feature-item p {
    font-size: 0.95rem;
    color: #666;
    text-align: center;
    line-height: 1.5;
    margin: 0;
    font-family: inherit;
}

.excursion-details .special-features {
    margin-top: 32px;
}

.excursion-details:has(.special-features) {
    background: white !important;
}

@media (max-width: 600px) {
  .excursion-details .special-features {
    padding: 24px 4px;
    border-radius: 16px;
  }
}

.slider-album {
    position: relative;
    max-width: 1000px;
    margin: 40px auto 0 auto;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    padding: 32px 0 24px 0;
    overflow: hidden;
}
.slider-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(.4,1.3,.5,1);
}
.slide {
    min-width: 100%;
    opacity: 0;
    transition: opacity 0.5s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 0; top: 0;
    width: 100%;
    height: 100%;
}
.slide.active {
    opacity: 1;
    position: relative;
    z-index: 2;
}
.slide img {
    width: 100%;
    max-height: 340px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.10);
}
.slide-caption {
    margin-top: 18px;
    font-size: 1.08rem;
    color: #444;
    text-align: center;
    background: rgba(255,255,255,0.85);
    border-radius: 8px;
    padding: 8px 16px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    color: #006994;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    cursor: pointer;
    z-index: 10;
    transition: background 0.2s, color 0.2s;
}
.slider-btn:hover {
    background: #006994;
    color: #fff;
}
.slider-btn.prev { left: 16px; }
.slider-btn.next { right: 16px; }

@media (max-width: 1100px) {
  .slider-album { max-width: 98vw; }
}

@media (max-width: 700px) {
  .slide img { max-height: 200px; }
  .slider-btn { width: 32px; height: 32px; font-size: 1.1rem; }
}

.gallery-link-block {
    text-align: right;
    margin-bottom: 10px;
}
.gallery-link {
    color: #006994;
    font-weight: 600;
    text-decoration: none;
    font-size: 1.08rem;
    transition: color 0.2s;
}
.gallery-link:hover {
    color: #ee5a24;
    text-decoration: underline;
}

.excursion-details-block {
    padding: 60px 0;
    background: #ffffff;
}
.excursion-details-block .section-title {
    margin-bottom: 28px;
    text-align: center;
}
.excursion-details-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
    justify-content: center;
    width: 100%;
    text-align: center;
}
.excursion-detail-item {
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.13);
    padding: 32px 18px 24px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: box-shadow 0.3s;
    font-size: 0.95rem;
    max-width: 100%;
    font-family: 'Inter', sans-serif;
}
.excursion-detail-item:hover {
    box-shadow: 0 16px 40px rgba(0,0,0,0.18);
}
.detail-emoji {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
    font-size: 2.5rem;
}

.excursion-detail-item:nth-child(1) .detail-emoji {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
}

.excursion-detail-item:nth-child(2) .detail-emoji {
    background: linear-gradient(135deg, #4834d4 0%, #686de0 100%);
}

.excursion-detail-item:nth-child(3) .detail-emoji {
    background: linear-gradient(135deg, #feca57 0%, #ff9ff3 100%);
}

.excursion-detail-item:nth-child(4) .detail-emoji {
    background: linear-gradient(135deg, #48dbfb 0%, #0abde3 100%);
}

.excursion-detail-item:nth-child(5) .detail-emoji {
    background: linear-gradient(135deg, #1dd1a1 0%, #10ac84 100%);
}

.detail-label {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
    text-align: center;
    font-family: 'Inter', sans-serif;
}
.detail-description {
    font-size: 0.95rem;
    color: #666;
    text-align: center;
    line-height: 1.5;
    margin: 0;
    font-family: 'Inter', sans-serif;
}
@media (max-width: 700px) {
  .excursion-details-list { gap: 18px 8px; grid-template-columns: 1fr; }
  .excursion-detail-item { padding: 20px 8px 16px 8px; }
  .detail-emoji { font-size: 2rem; width: 60px; height: 60px; margin-bottom: 12px; }
  .detail-label { font-size: 1rem; }
  .detail-description { font-size: 0.85rem; }
}

/* ===== PHOTO COLLAGE ===== */
.photo-collage {
    margin: 40px 0;
}

.collage-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 200px);
    gap: 15px;
    margin-bottom: 30px;
}

.collage-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.collage-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.collage-item:nth-child(1) {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
}

.collage-item:nth-child(2) {
    grid-column: 3 / 4;
    grid-row: 1 / 2;
}

.collage-item:nth-child(3) {
    grid-column: 3 / 4;
    grid-row: 2 / 3;
}

.collage-item:nth-child(4) {
    grid-column: 1 / 2;
    grid-row: 3 / 4;
}

.collage-item:nth-child(5) {
    grid-column: 2 / 4;
    grid-row: 3 / 4;
}

.collage-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.collage-item:hover img {
    transform: scale(1.05);
}

.gallery-button-container {
    text-align: center;
    margin-top: 30px;
}

.gallery-btn {
    display: inline-flex;
    align-items: center;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 105, 148, 0.3);
}

.gallery-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 105, 148, 0.4);
}

/* Responsive для коллажа */
@media (max-width: 768px) {
    .collage-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 150px);
        gap: 10px;
    }
    
    .collage-item:nth-child(1) {
        grid-column: 1 / 3;
        grid-row: 1 / 2;
    }
    
    .collage-item:nth-child(2) {
        grid-column: 1 / 2;
        grid-row: 2 / 3;
    }
    
    .collage-item:nth-child(3) {
        grid-column: 2 / 3;
        grid-row: 2 / 3;
    }
    
    .collage-item:nth-child(4) {
        grid-column: 1 / 2;
        grid-row: 3 / 4;
    }
    
    .collage-item:nth-child(5) {
        grid-column: 2 / 3;
        grid-row: 3 / 4;
    }
}

@media (max-width: 480px) {
    .collage-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(5, 180px);
        gap: 10px;
    }
    
    .collage-item:nth-child(1),
    .collage-item:nth-child(2),
    .collage-item:nth-child(3),
    .collage-item:nth-child(4),
    .collage-item:nth-child(5) {
        grid-column: 1 / 2;
        grid-row: auto;
    }
    
    .gallery-btn {
        padding: 12px 24px;
        font-size: 1rem;
    }
}

/* ===== MODAL WINDOW ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.modal-show {
    opacity: 1;
}

.modal-close {
    color: #f1f1f1;
    font-size: 30px;
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 15px;
    cursor: pointer;
    z-index: 10000;
    transition: color 0.3s ease;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover,
.modal-close:focus {
    color: #fff;
    background: rgba(0, 0, 0, 0.9);
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 80%;
    max-height: 80%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    object-fit: contain;
    background: white;
    padding: 10px;
}

.modal-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 600px;
    text-align: center;
    color: #333;
    padding: 15px;
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1rem;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Курсор для кликабельных фотографий */
.collage-item {
    cursor: pointer;
}

/* Анимация для модального окна */
@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-content {
    animation: modalFadeIn 0.3s ease;
}

/* Responsive для модального окна */
@media (max-width: 768px) {
    .modal-close {
        top: 5px;
        right: 10px;
        font-size: 24px;
        width: 35px;
        height: 35px;
    }
    
    .modal-content {
        max-width: 90%;
        max-height: 85%;
        padding: 8px;
    }
    
    .modal-caption {
        width: 90%;
        font-size: 0.9rem;
        bottom: -50px;
        padding: 12px;
    }
}

@media (max-width: 480px) {
    .modal-close {
        top: 3px;
        right: 8px;
        font-size: 20px;
        width: 30px;
        height: 30px;
    }
    
    .modal-content {
        max-width: 95%;
        max-height: 80%;
        padding: 5px;
    }
    
    .modal-caption {
        width: 95%;
        font-size: 0.8rem;
        bottom: -45px;
        padding: 10px;
    }
}

/* ===== WHAT AWAITS US ===== */
/* Стили удалены - используется оригинальный detail-block дизайн */

/* ===== WHAT AWAITS US ===== */
/* Стили удалены - используется оригинальный detail-block дизайн */

/* ===== АДАПТИВНЫЕ СТИЛИ ДЛЯ ТЕКСТА ===== */
@media (max-width: 768px) {
    /* Основные заголовки */
    .excursion-title {
        font-size: 2.2rem !important;
        line-height: 1.2;
        margin-bottom: 0.8rem;
    }
    
    .excursion-subtitle {
        font-size: 1.1rem !important;
        line-height: 1.4;
    }
    
    .section-title {
        font-size: 1.8rem !important;
        line-height: 1.3;
        margin-bottom: 1.5rem;
    }
    
    /* Заголовки в блоках */
    .detail-block h3 {
        font-size: 1.3rem !important;
        line-height: 1.4;
        margin-bottom: 0.8rem;
    }
    
    .feature-item h3 {
        font-size: 1.2rem !important;
        line-height: 1.3;
        margin-bottom: 0.6rem;
    }
    
    .excursion-detail-item .detail-label {
        font-size: 1.1rem !important;
        line-height: 1.3;
        margin-bottom: 0.5rem;
    }
    
    /* Основной текст */
    .description p {
        font-size: 1rem !important;
        line-height: 1.6;
        margin-bottom: 1.2rem;
    }
    
    .detail-block p {
        font-size: 1rem !important;
        line-height: 1.6;
        margin-bottom: 1.2rem;
    }
    
    .feature-item p {
        font-size: 0.95rem !important;
        line-height: 1.5;
    }
    
    .excursion-detail-item .detail-description {
        font-size: 0.9rem !important;
        line-height: 1.5;
    }
    
    /* Цены */
    .price-label {
        font-size: 0.95rem !important;
        line-height: 1.4;
    }
    
    .price-value {
        font-size: 1.1rem !important;
        line-height: 1.3;
    }
    
    .price-info h3 {
        font-size: 1.4rem !important;
        line-height: 1.3;
        margin-bottom: 1rem;
    }
    
    /* Форма */
    .form-content h2 {
        font-size: 1.8rem !important;
        line-height: 1.3;
        margin-bottom: 1rem;
    }
    
    .form-content p {
        font-size: 1rem !important;
        line-height: 1.5;
        margin-bottom: 1.5rem;
    }
    
    .form-header h3 {
        font-size: 1.6rem !important;
        line-height: 1.3;
        margin-bottom: 0.8rem;
    }
    
    .form-header p {
        font-size: 0.9rem !important;
        line-height: 1.5;
    }
    
    /* Footer */
    .footer-title {
        font-size: 1.1rem !important;
        line-height: 1.3;
        margin-bottom: 0.8rem;
    }
    
    .footer-links a {
        font-size: 0.9rem !important;
        line-height: 1.5;
    }
    
    .footer-description {
        font-size: 0.85rem !important;
        line-height: 1.5;
    }
    
    /* Принудительно применяем стили футера */
    .footer .footer-description {
        font-size: 0.85rem !important;
    }
}

@media (max-width: 480px) {
    /* Еще более мелкие экраны */
    .excursion-title {
        font-size: 1.8rem !important;
        line-height: 1.2;
        margin-bottom: 0.6rem;
    }
    
    .excursion-subtitle {
        font-size: 1rem !important;
        line-height: 1.4;
    }
    
    .section-title {
        font-size: 1.5rem !important;
        line-height: 1.3;
        margin-bottom: 1.2rem;
    }
    
    .detail-block h3 {
        font-size: 1.2rem !important;
        line-height: 1.3;
        margin-bottom: 0.6rem;
    }
    
    .feature-item h3 {
        font-size: 1.1rem !important;
        line-height: 1.3;
        margin-bottom: 0.5rem;
    }
    
    .excursion-detail-item .detail-label {
        font-size: 1rem !important;
        line-height: 1.3;
        margin-bottom: 0.4rem;
    }
    
    /* Основной текст */
    .description p {
        font-size: 0.95rem !important;
        line-height: 1.6;
        margin-bottom: 1rem;
    }
    
    .detail-block p {
        font-size: 0.95rem !important;
        line-height: 1.6;
        margin-bottom: 1rem;
    }
    
    .feature-item p {
        font-size: 0.9rem !important;
        line-height: 1.5;
    }
    
    .excursion-detail-item .detail-description {
        font-size: 0.85rem !important;
        line-height: 1.5;
    }
    
    /* Цены */
    .price-label {
        font-size: 0.9rem !important;
        line-height: 1.4;
    }
    
    .price-value {
        font-size: 1rem !important;
        line-height: 1.3;
    }
    
    .price-info h3 {
        font-size: 1.3rem !important;
        line-height: 1.3;
        margin-bottom: 0.8rem;
    }
    
    /* Форма */
    .form-content h2 {
        font-size: 1.5rem !important;
        line-height: 1.3;
        margin-bottom: 0.8rem;
    }
    
    .form-content p {
        font-size: 0.95rem !important;
        line-height: 1.5;
        margin-bottom: 1.2rem;
    }
    
    .form-header h3 {
        font-size: 1.3rem !important;
        line-height: 1.3;
        margin-bottom: 0.4rem;
    }
    
    .form-header p {
        font-size: 0.9rem !important;
        line-height: 1.5;
    }
    
    /* Footer */
    .footer-title {
        font-size: 1.1rem !important;
        line-height: 1.3;
        margin-bottom: 0.8rem;
    }
    
    .footer-links a {
        font-size: 0.9rem !important;
        line-height: 1.5;
    }
    
    .footer-description {
        font-size: 0.85rem !important;
        line-height: 1.5;
    }
}

/* Улучшение читаемости на всех устройствах */
.excursion-title,
.excursion-subtitle,
.section-title,
.detail-block h3,
.feature-item h3,
.price-info h3,
.form-content h2,
.form-header h3 {
    word-wrap: break-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
}

.description p,
.detail-block p,
.feature-item p,
.excursion-detail-item .detail-description,
.form-content p,
.form-header p,
.footer-description {
    word-wrap: break-word;
    text-justify: inter-word;
}

/* Улучшение контрастности для лучшей читаемости */
@media (max-width: 768px) {
    .description p,
    .detail-block p,
    .feature-item p,
    .excursion-detail-item .detail-description {
        color: #444 !important;
    }
    
    .excursion-subtitle {
        color: #555 !important;
    }
}

/* ===== PHOTO ALBUMS FOR EXCURSION PAGES ===== */
.photo-albums {
    margin: 40px 0;
}

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

.album-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.album-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.album-cover {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.album-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.album-card:hover .album-cover img {
    transform: scale(1.05);
}

.album-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 105, 148, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.album-card:hover .album-overlay {
    opacity: 1;
}

.view-text {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
}

.album-info {
    padding: 20px;
}

.album-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 8px;
    font-weight: 600;
}

.album-info p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 12px;
    line-height: 1.4;
}

.photo-count {
    display: inline-block;
    background: linear-gradient(135deg, #006994 0%, #00bfff 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 1.2rem;
    font-weight: 700;
}

@media (max-width: 768px) {
    .photo-count {
        padding: 6px 16px;
        font-size: 1rem;
        border-radius: 20px;
    }
}

/* Responsive для альбомов */
@media (max-width: 1024px) {
    .albums-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .albums-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .album-cover {
        height: 220px;
    }
    
    .album-info {
        padding: 15px;
    }
    
    .album-info h3 {
        font-size: 1.1rem;
    }
    
    .album-info p {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .albums-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .album-cover {
        height: 250px;
    }
    
    .album-info {
        padding: 20px;
    }
    
    .album-info h3 {
        font-size: 1.2rem;
    }
}

/* Album Modal Styles */
.album-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.album-modal .modal-content {
    background-color: #1a1a1a;
    margin: 2% auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 1200px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.album-modal .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    border-radius: 15px 15px 0 0;
}

.album-modal .modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.album-modal .close-modal {
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.album-modal .close-modal:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.album-modal .modal-body {
    padding: 30px;
    max-height: 70vh;
    overflow-y: auto;
}

.album-modal .album-photos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    padding: 0;
}

.album-modal .album-photo {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.album-modal .album-photo:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.album-modal .album-photo img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.album-modal .album-photo:hover img {
    transform: scale(1.05);
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
}

.lightbox-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.lightbox-content img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
}

.lightbox-close,
.lightbox-nav {
    position: absolute;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
    backdrop-filter: blur(10px);
}

.lightbox-close:hover,
.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.3);
}

.lightbox-close {
    top: 20px;
    right: 20px;
}

.lightbox-prev {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

/* Responsive adjustments for album modal */
@media (max-width: 768px) {
    .album-modal .modal-content {
        width: 95%;
        margin: 5% auto;
        max-height: 95vh;
    }
    
    .album-modal .modal-header {
        padding: 15px 20px;
    }
    
    .album-modal .modal-header h2 {
        font-size: 1.2rem;
    }
    
    .album-modal .modal-body {
        padding: 20px;
        max-height: 75vh;
    }
    
    .album-modal .album-photos {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
    }
    
    .album-modal .album-photo img {
        height: 220px;
    }
    
    .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .lightbox-close {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .album-modal .album-photos {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 15px;
    }
    
    .album-modal .album-photo img {
        height: 180px;
    }
    
    .album-modal .modal-header {
        padding: 10px 15px;
    }
    
    .album-modal .modal-body {
        padding: 15px;
    }
}

/* ===== FORM STYLES (как на главной странице) ===== */
.form-content {
    max-width: 100%;
    margin: 0 auto 3rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

.form-content h2 {
    margin-bottom: 1.5rem;
    font-size: 3rem;
    color: #333;
    font-weight: 700;
    letter-spacing: -1px;
}

.form-content p {
    margin-bottom: 3rem;
    font-size: 1.2rem;
    color: #666;
    line-height: 1.6;
    font-weight: 400;
}

.form-header {
    text-align: center;
    margin-bottom: 1rem;
}

.form-header h3 {
    color: #333;
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
    text-align: center;
}

.form-header p {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    text-align: center;
}

.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    background: white;
    color: #333;
    transition: all 0.3s ease;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #006994;
    box-shadow: 0 0 0 3px rgba(0, 105, 148, 0.1);
    transform: translateY(-2px);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 40px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9ca3af;
    transition: color 0.3s ease;
}

.form-group input:focus::placeholder,
.form-group textarea:focus::placeholder {
    color: #d1d5db;
}

.form-fields {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Мобильные стили для форм */
@media (max-width: 768px) {
    .form-content h2 {
        font-size: 2.2rem !important;
        line-height: 1.3;
        margin-bottom: 1rem;
    }
    
    .form-content p {
        font-size: 1rem !important;
        line-height: 1.6;
        margin-bottom: 2rem;
    }
    
    .form-header h3 {
        font-size: 1.6rem !important;
        line-height: 1.3;
        margin-bottom: 0.8rem;
    }
    
    .form-header p {
        font-size: 0.9rem !important;
        line-height: 1.5;
        margin-bottom: 1.5rem;
    }
    
    .contact-form {
        padding: 2rem 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 14px 16px;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .form-content h2 {
        font-size: 1.8rem !important;
        line-height: 1.2;
        margin-bottom: 0.8rem;
    }
    
    .form-content p {
        font-size: 0.9rem !important;
        line-height: 1.5;
        margin-bottom: 1.5rem;
    }
    
    .form-header h3 {
        font-size: 1.4rem !important;
        line-height: 1.3;
        margin-bottom: 0.6rem;
    }
    
    .form-header p {
        font-size: 0.85rem !important;
        line-height: 1.4;
        margin-bottom: 1.2rem;
    }
    
    .contact-form {
        padding: 1.5rem 1rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px 14px;
        font-size: 0.9rem;
    }
} 