/* ===== БАЗА ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Manrope', sans-serif;
    background: #060a12;
    color: #e2e8f0;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.text-accent {
    color: #f5a623;
}

/* ===== ШАПКА ===== */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(6, 10, 18, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(22, 36, 63, 0.6);
    padding: 0px 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0px 20px; /* чуть меньше отступов */
    max-width: 1500px; /* ограничиваем ширину */
    margin: 0 auto;
}

/* ===== ЛОГОТИПЫ (общие) ===== */
.logo {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    flex-shrink: 0;
}

.logo-text {
    font-family: 'Oswald', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1.5px;
    line-height: 1.1;
}

.logo-sub {
    font-size: 11px;
    color: #94a3b8;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    display: block;
    margin-top: -2px;
}

/* ===== ПРАВЫЙ ЛОГОТИП ===== */
.logo-right {
    gap: 16px;
}

.logo-right .logo-img-right {
    width: 88px;
    height: 88px;
}

.logo-text-drone {
    font-size: 22px;
    letter-spacing: 1px;
    text-align: right;
}

.logo-right .logo-sub {
    text-align: right;
}

/* ===== МЕНЮ ===== */
.nav {
    display: none;
    gap: 36px;
}

.nav a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.2s;
}

.nav a:hover {
    color: #f5a623;
}

/* ===== ПРАВАЯ ЧАСТЬ ===== */
.header-right {
    display: flex;
    align-items: center;
    gap: 32px; /* увеличен отступ между телефоном и Академией */
    flex-shrink: 0;
}

.phone-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f5a623;
    color: #060a12;
    padding: 10px 22px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: background 0.2s, transform 0.1s;
    white-space: nowrap;
}

.phone-btn:hover {
    background: #ffc24d;
}

.phone-btn:active {
    transform: scale(0.96);
}

/* ===== АДАПТИВ ===== */
@media (min-width: 1024px) {
    .nav {
        display: flex;
    }
}

@media (max-width: 1024px) {
    .logo-right {
        display: none !important;
    }
    .logo-img {
        width: 64px;
        height: 64px;
    }
    .logo-text {
        font-size: 20px;
    }
    .header-inner {
        padding: 8px 16px;
    }
    .header-right {
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .logo-img {
        width: 56px;
        height: 56px;
    }
    .logo-text {
        font-size: 16px;
    }
    .logo-sub {
        font-size: 9px;
        letter-spacing: 1.5px;
    }
    .phone-btn {
        font-size: 12px;
        padding: 6px 12px;
    }
    .header-right {
        gap: 12px;
    }
    .header-inner {
        padding: 8px 12px;
    }
}

@media (max-width: 480px) {
    .logo-img {
        width: 44px;
        height: 44px;
    }
    .logo-text {
        font-size: 14px;
    }
    .logo-sub {
        font-size: 8px;
        letter-spacing: 1px;
    }
    .phone-btn {
        font-size: 11px;
        padding: 4px 10px;
    }
    .header-right {
        gap: 8px;
    }
}

/* ===== СЕКЦИИ ===== */
section {
    padding: 80px 0;
}
.section-header {
    max-width: 600px;
    margin-bottom: 48px;
}
.section-tag {
    font-size: 14px;
    font-weight: 600;
    color: #f5a623;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 8px;
}
.section-title {
    font-family: 'Oswald', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}
.section-sub {
    color: #94a3b8;
    font-size: 18px;
    line-height: 1.6;
}

/* ===== ГЛАВНЫЙ ЭКРАН ===== */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background: linear-gradient(135deg, #060a12 0%, #0a1120 50%, #060a12 100%);
}
#hero h1 {
    font-family: 'Oswald', sans-serif;
    font-size: 40px;
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 20px;
}
#hero h1 span {
    color: #f5a623;
}
#hero p {
    color: #94a3b8;
    font-size: 18px;
    max-width: 600px;
    margin-bottom: 32px;
    line-height: 1.6;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(245, 166, 35, 0.3);
    background: rgba(245, 166, 35, 0.08);
    padding: 6px 16px;
    border-radius: 9999px;
    font-size: 14px;
    color: #ffc24d;
    margin-bottom: 24px;
}
.hero-badge .dot {
    width: 8px;
    height: 8px;
    background: #f5a623;
    border-radius: 50%;
    display: inline-block;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.3);
    }
}
.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f5a623;
    color: #060a12;
    padding: 14px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    transition: background 0.2s, transform 0.1s;
}
.btn-primary:hover {
    background: #ffc24d;
}
.btn-primary:active {
    transform: scale(0.96);
}
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #2a4168;
    background: rgba(15, 26, 46, 0.5);
    color: #fff;
    padding: 14px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s;
}
.btn-secondary:hover {
    background: #16243f;
}
.stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 48px;
}
.stats-item {
    font-family: 'Oswald', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #fff;
}
.stats-item span {
    display: block;
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #64748b;
}
@media (min-width: 640px) {
    #hero h1 {
        font-size: 56px;
    }
    .stats {
        grid-template-columns: repeat(4, 1fr);
    }
}
@media (min-width: 1024px) {
    #hero h1 {
        font-size: 72px;
    }
}

/* ===== О НАС ===== */
#about {
    background: #0a1120;
    padding: 80px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: start;
}

/* Видео — УВЕЛИЧЕНО */
.about-video-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: #060a12;
    border: 1px solid #1e3252;
    aspect-ratio: 16 / 9;
    cursor: pointer;
    transition: border-color 0.3s;
    min-height: 340px; /* ← добавил минимальную высоту */
}

.about-video-wrapper:hover {
    border-color: rgba(245, 166, 35, 0.5);
}

.about-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: #0a1120;
}

/* Оверлей с кнопкой */
.video-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(6, 10, 18, 0.5);
    transition: background 0.3s;
    pointer-events: none;
}

.video-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.about-video-wrapper:hover .video-overlay:not(.hidden) {
    background: rgba(6, 10, 18, 0.3);
}

.play-btn {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(245, 166, 35, 0.9);
    border: none;
    color: #060a12;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto;
    transition: transform 0.2s, background 0.2s;
    box-shadow: 0 0 40px rgba(245, 166, 35, 0.3);
}

.play-btn:hover {
    transform: scale(1.08);
    background: #ffc24d;
}

.play-btn svg {
    width: 32px;
    height: 32px;
    margin-left: 4px;
}

.video-hint {
    margin-top: 16px;
    color: #cbd5e1;
    font-size: 14px;
    letter-spacing: 1px;
    background: rgba(6, 10, 18, 0.6);
    padding: 6px 16px;
    border-radius: 9999px;
    pointer-events: none;
}

/* Текст */
.about-text {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.about-text p {
    color: #cbd5e1;
    font-size: 17px;
    line-height: 1.8;
}

.about-text p strong {
    color: #f5a623;
    font-weight: 600;
}

.about-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
}

.about-badge {
    display: inline-block;
    background: rgba(245, 166, 35, 0.08);
    border: 1px solid rgba(245, 166, 35, 0.2);
    color: #ffc24d;
    font-size: 13px;
    font-weight: 500;
    padding: 6px 16px;
    border-radius: 9999px;
    letter-spacing: 0.3px;
}

/* ===== АДАПТИВ ===== */
@media (min-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
        gap: 50px;
        align-items: center;
    }
    .about-video-wrapper {
        min-height: 460px; /* ← на десктопе ещё выше */
    }
    .play-btn {
        width: 80px;
        height: 80px;
    }
    .play-btn svg {
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 1024px) {
    .about-video-wrapper {
        min-height: 300px;
    }
}

@media (max-width: 640px) {
    .about-video-wrapper {
        min-height: 220px;
    }
    .play-btn {
        width: 56px;
        height: 56px;
    }
    .play-btn svg {
        width: 24px;
        height: 24px;
    }
    .video-hint {
        font-size: 12px;
        padding: 4px 12px;
        margin-top: 12px;
    }
    .about-text p {
        font-size: 15px;
    }
    .about-badge {
        font-size: 12px;
        padding: 4px 12px;
    }
}

/* ===== УСЛУГИ С КАРТИНКАМИ ===== */
#services {
    background: #0a1120;
}
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}
.service-card {
    background: rgba(15, 26, 46, 0.6);
    border: 1px solid #1e3252;
    border-radius: 20px;
    overflow: hidden;
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(4px);
}
.service-card:hover {
    border-color: #f5a623;
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(245, 166, 35, 0.08);
}
.service-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #0a1120;
    position: relative;
}
.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}
.service-card:hover .service-image img {
    transform: scale(1.06);
}
.service-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(6, 10, 18, 0.7), transparent);
    pointer-events: none;
}
.service-content {
    padding: 24px 26px 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
    background: rgba(6, 10, 18, 0.3);
}
.service-content h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 22px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 10px;
    letter-spacing: 0.3px;
}
.service-content p {
    color: #cbd5e1;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 18px;
    flex: 1;
}
.service-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.service-content ul li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #e2e8f0;
    font-size: 14px;
    padding: 5px 0;
    border-bottom: 1px solid rgba(30, 50, 82, 0.25);
}
.service-content ul li:last-child {
    border-bottom: none;
}
.service-content ul li::before {
    content: "✓";
    color: #f5a623;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
    width: 20px;
    text-align: center;
}


/* ===== ОТЗЫВЫ ===== */
#testimonials {
    background: #0a1120;
}
.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
.testimonial-card {
    background: rgba(15, 26, 46, 0.5);
    border: 1px solid #16243f;
    border-radius: 16px;
    padding: 28px;
    transition: border-color 0.3s;
}
.testimonial-card:hover {
    border-color: rgba(245, 166, 35, 0.3);
}
.testimonial-card .stars {
    color: #f5a623;
    font-size: 18px;
    letter-spacing: 2px;
    margin-bottom: 12px;
}
.testimonial-card p {
    color: #cbd5e1;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
}
.testimonial-card .author {
    border-top: 1px solid #16243f;
    padding-top: 16px;
}
.testimonial-card .author strong {
    display: block;
    color: #fff;
    font-size: 14px;
}
.testimonial-card .author span {
    color: #64748b;
    font-size: 13px;
}
@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ===== ВИДЖЕТ ОТЗЫВОВ (SmartWidgets) ===== */
.widget-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 4px;
}
.widget-wrapper:not(:last-child) {
    margin-bottom: 32px;
}
.widget-wrapper .sw-app {
    background: transparent !important;
}
.widget-wrapper .sw-review-item {
    background: rgba(15, 26, 46, 0.6) !important;
    border: 1px solid #16243f !important;
    border-radius: 16px !important;
    padding: 24px !important;
    transition: border-color 0.3s ease, transform 0.2s ease !important;
}
.widget-wrapper .sw-review-item:hover {
    border-color: rgba(245, 166, 35, 0.4) !important;
    transform: translateY(-4px) !important;
}
.widget-wrapper .sw-review-author {
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 16px !important;
}
.widget-wrapper .sw-review-text {
    color: #cbd5e1 !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
}
.widget-wrapper .sw-review-meta {
    color: #64748b !important;
    font-size: 13px !important;
}
.widget-wrapper .sw-stars {
    color: #f5a623 !important;
}
.widget-wrapper .sw-button {
    background: #f5a623 !important;
    color: #060a12 !important;
    border-radius: 12px !important;
    padding: 12px 28px !important;
    font-weight: 700 !important;
    transition: background 0.2s !important;
}
.widget-wrapper .sw-button:hover {
    background: #ffc24d !important;
}
@media (max-width: 768px) {
    .widget-wrapper .sw-review-item {
        padding: 16px !important;
    }
    .widget-wrapper .sw-review-text {
        font-size: 13px !important;
    }
}

/* ===== КОНТАКТЫ ===== */
#contacts {
    background: #060a12;
}
.contacts-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    background: linear-gradient(135deg, #0f1a2e, #060a12);
    border: 1px solid #16243f;
    border-radius: 24px;
    padding: 40px;
}
.contacts-wrapper .section-sub {
    max-width: 500px;
}
.contacts-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 24px;
}
.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    color: inherit;
}
.contact-icon {
    width: 48px;
    height: 48px;
    background: rgba(15, 26, 46, 0.5);
    border: 1px solid #1e3252;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    transition: background 0.3s, border-color 0.3s;
}
.contact-item:hover .contact-icon {
    background: #f5a623;
    border-color: #f5a623;
}
.contact-label {
    display: block;
    font-size: 12px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.contact-value {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}
.contact-item:hover .contact-value {
    color: #ffc24d;
}
.btn-large {
    padding: 18px 40px;
    font-size: 18px;
    justify-content: center;
    width: 100%;
    margin-bottom: 20px;
}
.work-schedule {
    background: rgba(15, 26, 46, 0.5);
    border: 1px solid #16243f;
    border-radius: 16px;
    padding: 20px 24px;
}
.work-schedule h4 {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
}
.work-schedule div {
    display: flex;
    justify-content: space-between;
    color: #94a3b8;
    font-size: 14px;
    padding: 4px 0;
}
.work-schedule div span:last-child {
    color: #ffc24d;
    font-weight: 600;
}
@media (min-width: 1024px) {
    .contacts-wrapper {
        grid-template-columns: 1fr 1fr;
    }
}

/* ===== ПОДВАЛ ===== */
footer {
    background: #060a12;
    border-top: 1px solid #16243f;
    padding: 48px 0 24px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 32px;
}
.footer-grid h4 {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}
.footer-grid ul {
    list-style: none;
    padding: 0;
}
.footer-grid ul li {
    padding: 4px 0;
}
.footer-grid ul li a {
    color: #64748b;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}
.footer-grid ul li a:hover {
    color: #ffc24d;
}
.footer-grid ul li:not(:has(a)) {
    color: #64748b;
    font-size: 14px;
}
.footer-bottom {
    border-top: 1px solid #16243f;
    padding-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 12px;
    color: #475569;
    text-align: center;
}
/* ===== ССЫЛКА НА ЛИЦЕНЗИЮ ===== */
.license-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #94a3b8;
    font-size: 13px;
    text-decoration: none;
    margin-top: 10px;
    padding: 6px 14px;
    border: 1px solid #1e3252;
    border-radius: 8px;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.license-link:hover {
    color: #f5a623;
    border-color: #f5a623;
    background: rgba(245, 166, 35, 0.06);
}
@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

/* ===== АДАПТИВ ДЛЯ УСЛУГ (планшеты/десктопы) ===== */
@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    .service-image {
        height: 200px;
    }
}
@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 28px;
    }
    .service-image {
        height: 220px;
    }
    .service-content {
        padding: 26px 28px 30px;
    }
    .service-content h3 {
        font-size: 24px;
    }
}
@media (max-width: 640px) {
    .service-image {
        height: 170px;
    }
    .service-content {
        padding: 18px 18px 22px;
    }
    .service-content h3 {
        font-size: 19px;
    }
    .service-content p {
        font-size: 14px;
    }
    .service-content ul li {
        font-size: 13px;
        padding: 4px 0;
    }
}