/* ========================================
   GENERAL STYLES & RESET
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette */
    --primary-blue: #1e90ff;
    --accent-orange: #ff7f50;
    --gradient-start: #0f2027;
    --gradient-end: #2c5364;
    --text-white: #ffffff;
    --text-light: #f0f0f0;
    --text-dark: #2a2a2a;
    --bg-light: #f8f9fa;
    --shadow-color: rgba(30, 144, 255, 0.3);
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-secondary: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Spacing */
    --container-padding: 0 20px;
    --section-padding: 80px 0;
    --element-spacing: 2rem;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

/* ========================================
   TYPOGRAPHY
   ======================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 4vw, 4rem);
    font-weight: 700;
}

h2 {
    font-size: clamp(2rem, 3.5vw, 3rem);
    margin-bottom: 1.5rem;
}

h3 {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
}

h4 {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
}

p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 30px;
    border: 2px solid transparent;
    border-radius: var(--border-radius);
    font-family: var(--font-secondary);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
    z-index: -1;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-orange));
    color: var(--text-white);
    box-shadow: 0 8px 25px var(--shadow-color);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px var(--shadow-color);
}

.btn-secondary {
    background: transparent;
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

.btn-secondary:hover {
    background: var(--primary-blue);
    color: var(--text-white);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border-color: var(--accent-orange);
    color: var(--accent-orange);
}

.btn-outline:hover {
    background: var(--accent-orange);
    color: var(--text-white);
    transform: translateY(-2px);
}

/* ========================================
   COOKIE BANNER
   ======================================== */

.cookie-banner {
    position: fixed;
    bottom: -100%;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    backdrop-filter: blur(20px);
    border-top: 2px solid var(--primary-blue);
    padding: 20px;
    z-index: 10000;
    transition: bottom 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.3);
}

.cookie-banner.show {
    bottom: 0;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cookie-text h4 {
    color: var(--accent-orange);
    margin-bottom: 0.5rem;
}

.cookie-text p {
    opacity: 0.9;
    margin: 0;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-accept, .cookie-decline {
    padding: 10px 20px;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.cookie-accept {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-orange));
    color: var(--text-white);
}

.cookie-decline {
    background: transparent;
    color: var(--text-light);
    border: 1px solid var(--text-light);
}

.cookie-accept:hover, .cookie-decline:hover {
    transform: translateY(-2px);
}

/* ========================================
   HEADER
   ======================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 32, 39, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(30, 144, 255, 0.2);
    transition: var(--transition);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo svg {
    transition: var(--transition);
}

.logo:hover svg {
    transform: scale(1.05);
}

.navigation {
    display: flex;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: var(--transition);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-orange));
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary-blue);
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
}

.mobile-menu-button {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-button span {
    display: block;
    height: 3px;
    width: 100%;
    background: var(--primary-blue);
    border-radius: 3px;
    transition: var(--transition);
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    backdrop-filter: blur(20px);
    border-left: 2px solid var(--primary-blue);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    padding-top: 80px;
}

.mobile-menu-toggle:checked ~ .mobile-nav {
    right: 0;
}

.mobile-nav-menu {
    list-style: none;
    padding: 2rem;
}

.mobile-nav-menu li {
    margin-bottom: 1.5rem;
}

.mobile-nav-menu a {
    color: var(--text-white);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    transition: var(--transition);
}

.mobile-nav-menu a:hover {
    color: var(--primary-blue);
}

/* ========================================
   MAIN CONTENT
   ======================================== */

.main-content {
    margin-top: 80px;
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    padding: var(--section-padding);
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(30, 144, 255, 0.1) 0%, transparent 50%);
    z-index: -1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-orange);
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
    z-index: 1;
}

.hero-img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.hero-img:hover {
    transform: scale(1.02);
}

.hero-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.floating-element {
    position: absolute;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-orange));
    border-radius: 50%;
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
}

.floating-element:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    top: 70%;
    right: 10%;
    animation-delay: 2s;
}

.floating-element:nth-child(3) {
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* ========================================
   SECTION HEADERS
   ======================================== */

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-subtitle {
    font-size: 1.2rem;
    opacity: 0.8;
    margin-bottom: 0;
}

/* ========================================
   ABOUT SECTION
   ======================================== */

.about {
    padding: var(--section-padding);
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    color: var(--accent-orange);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.about-text h3:first-child {
    margin-top: 0;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(30, 144, 255, 0.1);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-blue);
    transition: var(--transition);
}

.feature-item:hover {
    background: rgba(30, 144, 255, 0.2);
    transform: translateX(10px);
}

.feature-icon {
    font-size: 1.5rem;
}

.about-img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.about-img:hover {
    transform: scale(1.02);
}

/* ========================================
   SERVICES SECTION
   ======================================== */

.services {
    padding: var(--section-padding);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(30, 144, 255, 0.3);
    border-radius: var(--border-radius);
    padding: 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-orange));
    transition: left 0.5s ease;
}

.service-card:hover::before {
    left: 0;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-blue);
    box-shadow: 0 20px 60px rgba(30, 144, 255, 0.2);
}

.service-card.featured {
    border-color: var(--accent-orange);
    position: relative;
}

.service-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, var(--accent-orange), var(--primary-blue));
    color: var(--text-white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.service-image {
    margin-bottom: 1.5rem;
}

.service-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--border-radius);
}

.service-content h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.service-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-orange);
    margin: 1rem 0;
}

.service-features {
    list-style: none;
    padding: 0;
}

.service-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-weight: 600;
}

/* ========================================
   ADVANTAGES SECTION
   ======================================== */

.advantages {
    padding: var(--section-padding);
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.advantage-item {
    text-align: center;
    padding: 2rem;
    background: rgba(30, 144, 255, 0.05);
    border-radius: var(--border-radius);
    border: 1px solid rgba(30, 144, 255, 0.2);
    transition: var(--transition);
}

.advantage-item:hover {
    transform: translateY(-5px);
    background: rgba(30, 144, 255, 0.1);
    border-color: var(--primary-blue);
}

.advantage-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-orange));
    border-radius: 50%;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.advantage-item h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    line-height: 1.4;
    font-size: 1.15rem;
}

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */

.testimonials {
    padding: var(--section-padding);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 127, 80, 0.3);
    border-radius: var(--border-radius);
    padding: 2rem;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-orange);
    box-shadow: 0 15px 40px rgba(255, 127, 80, 0.2);
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.author-info h4 {
    color: var(--accent-orange);
    margin-bottom: 0.25rem;
}

.author-info p {
    opacity: 0.8;
    margin: 0;
    font-size: 0.9rem;
}

.testimonial-rating {
    font-size: 1.2rem;
}

/* ========================================
   PROCESS SECTION
   ======================================== */

.process {
    padding: var(--section-padding);
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.process-step {
    text-align: center;
    position: relative;
}

.process-step::after {
    content: '';
    position: absolute;
    top: 50px;
    right: -1.5rem;
    width: 3rem;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-orange));
    opacity: 0.5;
}

.process-step:last-child::after {
    display: none;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-orange));
    border-radius: 50%;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.step-number::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 2px solid var(--primary-blue);
    border-radius: 50%;
    opacity: 0.3;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.1); opacity: 0.1; }
    100% { transform: scale(1); opacity: 0.3; }
}

.step-content h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

/* ========================================
   CONTACT FORM SECTION
   ======================================== */

.contact-form {
    padding: var(--section-padding);
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
}

.contact-form-content {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(30, 144, 255, 0.3);
    border-radius: var(--border-radius);
    padding: 3rem;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary-blue);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    color: var(--text-white);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group select {
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff7f50' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(30, 144, 255, 0.2);
}

.form-group select:focus {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-group select option {
    background: #2c5364;
    color: #ffffff;
    padding: 8px 12px;
    border: none;
    font-size: 1rem;
    font-weight: 500;
}

.form-group select option:hover,
.form-group select option:focus,
.form-group select option:checked {
    background: #1e90ff;
    color: #ffffff;
    font-weight: 600;
}

.form-group select option:first-child {
    color: rgba(255, 255, 255, 0.7);
    background: #0f2027;
    font-style: italic;
}

/* Для браузеров Webkit */
.form-group select option {
    background-color: #2c5364 !important;
    color: #ffffff !important;
}

.form-group select option:hover {
    background-color: #1e90ff !important;
    color: #ffffff !important;
}

.form-checkboxes {
    margin: 2rem 0;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin: 0;
    accent-color: var(--primary-blue);
}

.checkbox-group label {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.checkbox-group a {
    color: var(--accent-orange);
    text-decoration: none;
}

.checkbox-group a:hover {
    text-decoration: underline;
}

.btn-submit {
    width: 100%;
    justify-content: center;
    padding: 16px 30px;
    font-size: 1.1rem;
    margin-top: 1rem;
}

.btn-arrow {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.btn-submit:hover .btn-arrow {
    transform: translateX(5px);
}

/* ========================================
   THANK YOU PAGE
   ======================================== */

.thank-you-hero {
    padding: var(--section-padding);
    min-height: 60vh;
    display: flex;
    align-items: center;
    text-align: center;
}

.thank-you-content {
    max-width: 800px;
    margin: 0 auto;
}

.success-animation {
    margin-bottom: 2rem;
}

.success-icon {
    animation: successScale 1s ease-out;
}

.circle-animate {
    stroke-dasharray: 314;
    stroke-dashoffset: 314;
    animation: drawCircle 1.5s ease-out forwards;
}

.check-animate {
    stroke-dasharray: 50;
    stroke-dashoffset: 50;
    animation: drawCheck 1s ease-out 1s forwards;
}

@keyframes successScale {
    0% { transform: scale(0); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

@keyframes drawCircle {
    to { stroke-dashoffset: 0; }
}

@keyframes drawCheck {
    to { stroke-dashoffset: 0; }
}

.thank-you-title {
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}

.thank-you-description {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.next-steps {
    margin: 3rem 0;
}

.next-steps h3 {
    color: var(--accent-orange);
    margin-bottom: 2rem;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.step-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    padding: 2rem 1rem;
    border: 1px solid rgba(30, 144, 255, 0.2);
}

.step-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.step-item h4 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.thank-you-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Thank You Page Additional Sections */
.emergency-contact {
    padding: 4rem 0;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
}

.emergency-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.emergency-content h2 {
    color: var(--accent-orange);
    margin-bottom: 1rem;
}

.emergency-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(30, 144, 255, 0.05);
    border-radius: var(--border-radius);
    border: 1px solid rgba(30, 144, 255, 0.2);
}

.contact-icon {
    font-size: 1.5rem;
}

.contact-details h4 {
    color: var(--primary-blue);
    margin-bottom: 0.25rem;
}

.contact-details a {
    color: var(--accent-orange);
    text-decoration: none;
}

.contact-details a:hover {
    text-decoration: underline;
}

.team-section {
    padding: var(--section-padding);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.team-member {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 127, 80, 0.2);
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-5px);
    border-color: var(--accent-orange);
}

.member-avatar {
    margin-bottom: 1.5rem;
}

.avatar-placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-orange));
    border-radius: 50%;
    font-size: 2rem;
    margin: 0 auto;
}

.member-info h3 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.member-role {
    color: var(--accent-orange);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.member-description {
    font-size: 0.9rem;
    opacity: 0.8;
}

.additional-info {
    padding: 4rem 0;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.info-card {
    text-align: center;
    padding: 2rem;
    background: rgba(30, 144, 255, 0.05);
    border-radius: var(--border-radius);
    border: 1px solid rgba(30, 144, 255, 0.2);
    transition: var(--transition);
}

.info-card:hover {
    transform: translateY(-5px);
    background: rgba(30, 144, 255, 0.1);
}

.info-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.info-card h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

/* ========================================
   LEGAL PAGES
   ======================================== */

.legal-page {
    padding: var(--section-padding);
    margin-top: 80px;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(30, 144, 255, 0.3);
    border-radius: var(--border-radius);
    padding: 3rem;
}

.legal-content h1 {
    color: var(--primary-blue);
    text-align: center;
    margin-bottom: 0.5rem;
}

.last-updated {
    text-align: center;
    color: var(--accent-orange);
    font-style: italic;
    margin-bottom: 3rem;
}

.legal-section {
    margin-bottom: 3rem;
}

.legal-section h2 {
    color: var(--primary-blue);
    border-bottom: 2px solid var(--primary-blue);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.legal-section h3 {
    color: var(--accent-orange);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-section ul {
    padding-left: 2rem;
    margin-bottom: 1rem;
}

.legal-section li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.legal-section a {
    color: var(--accent-orange);
    text-decoration: none;
}

.legal-section a:hover {
    text-decoration: underline;
}

.warning-text {
    background: rgba(255, 127, 80, 0.1);
    border-left: 4px solid var(--accent-orange);
    padding: 1rem;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    margin: 1rem 0;
}

.cookie-table table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.cookie-table td {
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    vertical-align: top;
}

.cookie-table td:first-child {
    background: rgba(30, 144, 255, 0.1);
    font-weight: 600;
    color: var(--primary-blue);
}

.cookie-controls {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.legal-navigation {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    border-top: 2px solid var(--primary-blue);
    padding: 4rem 0 2rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-description {
    opacity: 0.8;
    line-height: 1.6;
}

.footer-services {
    list-style: none;
    padding: 0;
}

.footer-services li {
    padding: 0.5rem 0;
    color: var(--text-white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-info p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.contact-info a {
    color: var(--accent-orange);
    text-decoration: none;
    transition: var(--transition);
}

.contact-info a:hover {
    color: var(--primary-blue);
    text-decoration: underline;
}

.legal-links {
    list-style: none;
    padding: 0;
}

.legal-links li {
    margin-bottom: 0.5rem;
}

.legal-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.legal-links a:hover {
    color: var(--primary-blue);
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
}

.footer-bottom-content {
    text-align: center;
}

.footer-bottom p {
    opacity: 0.8;
    margin-bottom: 0.5rem;
}

.footer-note {
    color: var(--accent-orange);
    font-style: italic;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 768px) {
    :root {
        --container-padding: 0 15px;
        --section-padding: 60px 0;
    }
    
    .navigation {
        display: none;
    }
    
    .mobile-menu-button {
        display: flex;
    }
    
    .form-group select {
        font-size: 16px; /* Предотвращает zoom на iOS */
        min-height: 44px; /* Увеличивает область касания */
    }
    
    .form-group select option {
        font-size: 16px;
        padding: 12px 16px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .advantages-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .process-step::after {
        display: none;
    }
    
    .contact-form-content {
        padding: 2rem;
    }
    
    .cookie-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cookie-buttons {
        justify-content: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .thank-you-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .emergency-info {
        grid-template-columns: 1fr;
    }
    
    .contact-method {
        flex-direction: column;
        text-align: center;
    }
    
    .legal-content {
        padding: 2rem;
    }
    
    .legal-navigation {
        flex-direction: column;
        align-items: center;
    }
    
    .cookie-controls {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .form-group select {
        background: rgba(255, 255, 255, 0.2);
        color: #ffffff;
        border: 2px solid rgba(255, 127, 80, 0.3);
    }
    
    .form-group select option {
        background: #1e3a8a !important;
        color: #ffffff !important;
        font-weight: 600;
    }
} 