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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #ffffff;
    color: #333;
    line-height: 1.6;
	overflow-x: hidden;
}

/* Top Bar */
.top-bar {
    background-color: #1a365d;
    color: white;
    padding: 14px 0;
    font-size: 15px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.top-bar-content {
    display: flex;
    justify-content: flex-end;
    gap: 30px;
}

.top-bar a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
}

.top-bar a:hover {
    opacity: 0.8;
}

.top-bar i {
    margin-right: 1px;
}

/* Header */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

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

.logo img {
    height: 80px;           /* высота логотипа */
    width: auto;            /* сохраняет пропорции */
    max-width: 350px;       /* максимальная ширина */
    object-fit: contain;    /* корректное отображение */
    transition: transform 0.3s;
}

.logo:hover img {
    transform: scale(1.05);
}
/* Мобильная версия */
@media (max-width: 768px) {
    .logo img {
        height: 40px;
        max-width: 150px;
    }
}

nav {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links > li {
    position: relative;
}

.nav-links a {
    text-decoration: none;
    color: #2d3748;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-links a:hover {
    color: #1a365d;
}

.nav-links > li > a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #c53030;
    transition: width 0.3s;
}

.nav-links > li > a:hover::after {
    width: 100%;
}

/* Dropdown Menu Styles */
.has-dropdown {
    position: relative;
}

.has-dropdown > a i {
    font-size: 12px;
    transition: transform 0.3s;
}

.has-dropdown:hover > a i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 250px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-radius: 8px;
    padding: 15px 0;
    margin-top: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 100;
    list-style: none;
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 12px 25px;
    color: #2d3748;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s;
    border-left: 3px solid transparent;
}

.dropdown-menu a:hover {
    background-color: #f7fafc;
    color: #c53030;
    border-left-color: #c53030;
    padding-left: 30px;
}

.dropdown-menu a::after {
    display: none;
}

/* Language Switcher - Круглые иконки */
.lang-switcher {
    display: flex;
    gap: 12px;
    align-items: center;
}

.lang-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid #e2e8f0;
    background: white;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.lang-btn:hover {
    transform: scale(1.1);
    border-color: #1a365d;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.lang-btn.active {
    border-color: #1a365d;
    background-color: #1a365d;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(26, 54, 93, 0.3);
}

/* Для текстовых круглых кнопок (ET/RU/EN) */
.lang-btn-text {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid #e2e8f0;
    background: white;
    cursor: pointer;
    font-size: 12px;
    font-weight: bold;
    color: #718096;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.lang-btn-text:hover {
    transform: scale(1.1);
    border-color: #1a365d;
    color: #1a365d;
}

.lang-btn-text.active {
    background-color: #1a365d;
    border-color: #1a365d;
    color: white;
    transform: scale(1.1);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #1a365d;
}

/* Hero Section */
.hero {
    min-height: 500px;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: rgba(26, 54, 93, 0.03);
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}
@media (max-width: 768px) {
    .hero-content {
        margin-left: 20px !important;  /* на телефоне меньше отступ */
    }
    .hero-content h1 {
        font-size: 36px !important;     /* меньше размер */
    }
    .hero-content p {
        font-size: 18px !important;
    }
}
.hero h1 {
    color: white !important;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.4);
}


.hero p {
    color: rgba(255,255,255,0.95) !important;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.4);
}
.hero-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 60%;  /* затемняем только левую часть */
    height: 100%;
    background: linear-gradient(to right, rgba(26, 54, 93, 0.6), transparent);
}
.btn-primary {
    display: inline-block;
    background-color: #c53030;
    color: white;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(197, 48, 48, 0.2);
}

/* About Section */
.about {
    padding: 40px 0;
    background-color: #fff;
}

.section-title {
    font-size: 36px;
    color: #1a365d;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: #c53030;
    margin: 15px auto 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text {
    font-size: 16px;
    line-height: 1.8;
    color: #4a5568;
}

.about-text p {
    margin-bottom: 20px;
}

.about-text ul {
    margin-top: 20px;
    padding-left: 20px;
}

.about-text li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
    list-style: none;
}

.about-text li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #c53030;
}

.about-image {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}
/* Links inside service cards */
.service-card a,
.service-card a:visited,
.service-card a:hover,
.service-card a:active {
    text-decoration: none; /* убрать подчёркивание */
    color: inherit;        /* брать цвет текста как у h3/p */
}


.services {
    padding: 80px 0;
    background-color: #f7fafc;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #e2e8f0;
}

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

.service-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-card h3 {
    font-size: 22px;
    color: #4a5568;
    margin: 20px 20px 15px;
    /* Иконка убрана */
}

.service-card p {
    color: #4a5568;
    line-height: 1.6;
    margin: 0 20px 20px;
    font-size: 15px;
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-image {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .service-image {
        height: 180px;
    }
    
    .service-card h3 {
        margin: 20px 20px 12px;
        font-size: 20px;
    }
    
    .service-card p {
        margin: 0 20px 25px;
    }
}

/* Contact Section */
.contact {
    padding: 60px 0;
    background-color: #fff;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;  /* левая колонка уже, правая шире */
    gap: 60px;
    margin-top: 50px;
    align-items: start;
}

.contact-info h3 {
    font-size: 28px;
    color: #1a365d;
    margin-bottom: 30px;
    border-bottom: 3px solid #c53030;
    padding-bottom: 15px;
    display: inline-block;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
    font-size: 16px;
    line-height: 1.6;
    color: #4a5568;
}

.contact-item i {
    font-size: 22px;
    color: #c53030;
    margin-top: 3px;
    width: 30px;
    text-align: center;
    flex-shrink: 0;
}

.contact-details strong {
    color: #1a365d;
    font-weight: 600;
}

.contact-details a {
    color: #4a5568;
    text-decoration: none;
    transition: color 0.3s;
    border-bottom: 1px solid transparent;
}

.contact-details a:hover {
    color: #c53030;
    border-bottom-color: #c53030;
}

.contact-map iframe {
    width: 100%;
    height: 450px;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    filter: grayscale(20%);  /* легкий эффект */
    transition: filter 0.3s;
}

.contact-map iframe:hover {
    filter: grayscale(0%);
}

/* Адаптивность */
@media (max-width: 968px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-map iframe {
        height: 350px;
    }
}

@media (max-width: 480px) {
    .contact-item {
        font-size: 15px;
    }
    
    .contact-info h3 {
        font-size: 24px;
    }
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #2d3748;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1a365d;
}

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

/* Footer */
footer {
    background-color: #1a365d;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    margin-bottom: 20px;
    font-size: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: #c53030;
}

.footer-section p,
.footer-section a {
    color: #cbd5e0;
    text-decoration: none;
    line-height: 1.8;
    display: block;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    text-align: center;
    color: #a0aec0;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .top-bar-content {
        justify-content: center;
        font-size: 12px;
    }

    .header-content {
        flex-wrap: wrap;
    }

    .mobile-menu-btn {
        display: block;
    }

    nav {
        display: none;
        width: 100%;
        flex-direction: column;
        padding-top: 20px;
    }

    nav.active {
        display: flex;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }
    
    /* Dropdown для мобильных */
    .dropdown-menu {
        position: static;
        box-shadow: none;
        padding: 10px 0 10px 20px;
        margin-top: 5px;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: #f7fafc;
        border-radius: 5px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .has-dropdown.mobile-active .dropdown-menu {
        max-height: 400px;
    }
    
    .dropdown-menu a {
        padding: 10px 15px;
        font-size: 14px;
    }
    
    .dropdown-menu a:hover {
        padding-left: 20px;
    }

    .lang-switcher {
        margin-top: 15px;
    }

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

    .about-content {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 30px;
    }
}
/* Quote Section */
.quote-section {
    padding: 40px 0;
    background-color: #f7fafc;
}

.section-subtitle {
    text-align: center;
    color: #718096;
    font-size: 18px;
    margin-top: -30px;
    margin-bottom: 40px;
}

.quote-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.quote-form {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

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

.form-group {
    margin-bottom: 25px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: #1a365d;
    font-weight: 600;
    font-size: 15px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper i {
    position: absolute;
    left: 15px;
    color: #c53030;
    font-size: 16px;
    z-index: 2;
}

.input-wrapper input,
.input-wrapper select,
.input-wrapper textarea {
    width: 100%;
    padding: 14px 15px 14px 45px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    color: #2d3748;
    background-color: #fff;
    transition: all 0.3s ease;
}

.input-wrapper input:focus,
.input-wrapper select:focus,
.input-wrapper textarea:focus {
    outline: none;
    border-color: #1a365d;
    box-shadow: 0 0 0 3px rgba(26, 54, 93, 0.1);
}

/* Стили для select */
.input-wrapper select {
    appearance: none;
    cursor: pointer;
    padding-right: 40px;
}

.select-arrow {
    position: absolute;
    right: 15px;
    left: auto;
    color: #718096;
    pointer-events: none;
    font-size: 12px;
}

/* Textarea */
.textarea-wrapper {
    align-items: flex-start;
}

.textarea-wrapper i {
    top: 17px;
}

.input-wrapper textarea {
    resize: vertical;
    min-height: 120px;
    padding-top: 14px;
}

/* Placeholder цвет */
::placeholder {
    color: #a0aec0;
}

/* Кнопка отправки */
.form-submit {
    text-align: center;
    margin-top: 20px;
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #c53030;
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(197, 48, 48, 0.3);
}

.btn-submit:hover {
    background-color: #9b2c2c;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(197, 48, 48, 0.4);
}

.btn-submit i {
    font-size: 16px;
    transition: transform 0.3s;
}

.btn-submit:hover i {
    transform: translateX(3px);
}

/* Адаптивность */
@media (max-width: 768px) {
    .quote-form {
        padding: 30px 25px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .btn-submit {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .quote-section {
        padding: 60px 0;
    }
    
    .quote-form {
        padding: 25px 20px;
    }
}
@media (max-width: 768px) {
  .hero{
    background-position: right center !important; /* показать камеру справа */
    background-size: cover;
    min-height: 70vh; /* можно 100vh, если хочешь на весь экран */
  }
}
