@import url('https://fonts.googleapis.com/css2?family=Inter:wght@500;700;800&display=swap');

:root {
    --color-bg: #111113;
    --color-bg-light: #1A1A1D;
    --color-text: #E0E0E0;
    --color-text-muted: #888;
    --color-border: #2A2A2F;
    --color-accent: #008278; /* <--- ВАШ НОВИЙ АКЦЕНТНИЙ КОЛІР */
    --header-height: 80px;
    --font-primary: 'Inter', sans-serif;
    --z-header: 100;
    --z-modal: 1000;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-bg);
    color: var(--color-text);
}

.body-no-scroll {
    overflow: hidden;
}

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

.header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: var(--z-header);
    height: var(--header-height);
    transition: background-color 0.4s, border-color 0.4s;
}

.header.is-scrolled {
    background-color: rgba(17, 17, 19, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--color-border);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.nav__logo img {
    height: 30px;
    display: block;
}

.nav__list--desktop {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav__link {
    font-weight: 500;
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.nav__link:hover, .nav__link.is-active {
    color: var(--color-accent);
}

.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(17, 17, 19, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: calc(var(--z-header) - 1);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s, visibility 0.4s;
}

.mobile-nav.is-open {
    opacity: 1;
    visibility: visible;
}

.nav__list--mobile {
    list-style: none;
    text-align: center;
}

.nav__list--mobile li {
    margin-bottom: 2rem;
}

.nav__list--mobile .nav__link {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-text);
}

.nav__toggle {
    display: none;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 10px;
    z-index: var(--z-header);
}

.nav__toggle-box {
    width: 30px;
    height: 24px;
    display: inline-block;
    position: relative;
}

.nav__toggle-inner {
    width: 100%; height: 3px; background-color: var(--color-text);
    border-radius: 3px; position: absolute; left: 0; top: 50%;
    transform: translateY(-50%);
    transition: background-color 0.1s 0.2s ease-in-out;
}
.nav__toggle-inner::before, .nav__toggle-inner::after {
    content: ''; width: 100%; height: 3px; background-color: var(--color-text);
    border-radius: 3px; position: absolute; left: 0;
    transition: transform 0.2s 0.2s ease-in-out, background-color 0.3s;
}
.nav__toggle-inner::before { top: -10px; }
.nav__toggle-inner::after { bottom: -10px; }
.nav__toggle.is-active .nav__toggle-inner { background-color: transparent; }
.nav__toggle.is-active .nav__toggle-inner::before { transform: translateY(10px) rotate(45deg); }
.nav__toggle.is-active .nav__toggle-inner::after { transform: translateY(-10px) rotate(-45deg); }
.nav__toggle.is-active .nav__toggle-inner::before, 
.nav__toggle.is-active .nav__toggle-inner::after {
    background-color: var(--color-accent);
}

@media (max-width: 768px) {
    .nav__list--desktop { display: none; }
    .nav__toggle { display: block; }
}

.button {
    display: inline-block;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    padding: 16px 32px;
    border-radius: 8px;
    transition: all 0.3s ease-in-out;
    border: 2px solid var(--color-border);
    cursor: pointer;
    background: transparent;
    color: var(--color-text);
}

.button:hover {
    transform: translateY(-3px);
    background-color: var(--color-border);
}

.button--primary {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: #fff;
    box-shadow: 0 0 0 0 rgba(0, 130, 120, 0.4);
    animation: pulse 2.5s infinite;
}

.button--primary:hover {
    background: #006a62; /* Darker shade of accent */
    border-color: #006a62;
    animation-play-state: paused;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 130, 120, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(0, 130, 120, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 130, 120, 0); }
}

.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding: calc(var(--header-height) + 60px) 0 60px 0; overflow: hidden; }
.hero__grid-background { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; background-image: linear-gradient(to right, rgba(42, 42, 47, 0.5) 1px, transparent 1px), linear-gradient(to bottom, rgba(42, 42, 47, 0.5) 1px, transparent 1px); background-size: 60px 60px; animation: moveGrid 30s linear infinite; }
@keyframes moveGrid { from { background-position: 0 0; } to { background-position: 60px 60px; } }
.hero::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; background: radial-gradient(circle 500px at 25% 50%, rgba(0, 130, 120, 0.1), transparent 70%); }
.hero__container { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 60px; width: 100%; }
.hero__content { text-align: left; }
.hero__title { font-size: 3.8rem; font-weight: 800; line-height: 1.2; margin-bottom: 2rem; display: flex; flex-direction: column; }
.hero__title-line { display: block; overflow: hidden; }
.hero__title-line span { display: block; transform: translateY(110%); animation: revealText 1s forwards; }
.hero__title-line:nth-child(1) span { animation-delay: 0.3s; }
.hero__title-line:nth-child(2) span { animation-delay: 0.5s; }
.hero__title-line--accent span { color: var(--color-accent); }
@keyframes revealText { to { transform: translateY(0); } }
.hero__description { font-size: 1.1rem; color: var(--color-text-muted); margin-bottom: 2.5rem; line-height: 1.7; animation: fadeIn 1s 0.8s forwards; opacity: 0; max-width: 500px; }
.hero__cta { animation: fadeIn 1s 1s forwards; opacity: 0; }
.hero__visual { display: flex; justify-content: center; align-items: center; }
.hero__image { 
    max-width: 100%; 
    border-radius: 0;
    box-shadow: none;
}
@keyframes fadeIn { to { opacity: 1; } }

@media (max-width: 992px) {
    .hero__container { grid-template-columns: 1fr; gap: 60px; text-align: center; }
    .hero__content { order: 2; }
    .hero__visual { order: 1; }
    .hero__description { margin-left: auto; margin-right: auto; }
}
@media (max-width: 768px) {
    .hero__title { font-size: 2.5rem; }
    .hero__description { font-size: 1rem; }
    .hero__image { width: 80%; }
}

.services-overview, .premium-services, .testimonials-section, .careers-section {
    padding: 100px 0;
}
.services-overview, .testimonials-section {
    background-color: var(--color-bg-light);
}
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}
.section-header h2 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
}
.section-header .section-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.service-card {
    background: rgba(26, 26, 29, 0.6);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.4s, box-shadow 0.4s, border-color 0.4s;
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--color-accent);
}
.service-card__icon {
    margin: 0 auto 1.5rem auto;
    width: 64px; height: 64px;
    display: flex; justify-content: center; align-items: center;
    background: rgba(0, 130, 120, 0.1);
    border-radius: 50%;
    color: var(--color-accent);
}
.service-card__icon svg { width: 32px; height: 32px; }
.service-card__title { font-size: 1.5rem; color: #fff; margin-bottom: 0.5rem; }
.service-card__description { color: var(--color-text-muted); line-height: 1.6; }

@media (max-width: 768px) {
    .section-header h2 { font-size: 2.2rem; }
}

.feature-layout {
    display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
    align-items: center; margin-bottom: 100px;
}
.feature-layout:last-child { margin-bottom: 0; }
.feature-layout__image img {
    width: 100%; border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5); border: 1px solid var(--color-border);
}
.feature-layout__content h3 {
    font-size: 2.2rem; color: #fff; margin-bottom: 1.5rem;
    position: relative; padding-bottom: 1rem;
}
.feature-layout__content h3::after {
    content: ''; position: absolute; bottom: 0; left: 0;
    width: 50px; height: 3px; background-color: var(--color-accent);
}
.feature-layout__content p { font-size: 1.1rem; line-height: 1.8; color: var(--color-text-muted); }
.feature-layout--reversed .feature-layout__image { grid-column: 2 / 3; grid-row: 1 / 2; }
.feature-layout--reversed .feature-layout__content { grid-column: 1 / 2; grid-row: 1 / 2; }

@media (max-width: 992px) {
    .feature-layout { grid-template-columns: 1fr; gap: 40px; margin-bottom: 60px; }
    .feature-layout--reversed .feature-layout__image,
    .feature-layout--reversed .feature-layout__content { grid-column: auto; grid-row: auto; }
}

.testimonials-slider-container { position: relative; max-width: 1200px; margin: 0 auto; }
.testimonials-slider { padding: 10px 10px 50px 10px; }
.testimonial-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.testimonial-quote {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--color-text);
    margin-bottom: 2rem;
    font-style: italic;
    position: relative;
    padding-left: 35px;
}
.testimonial-quote::before {
    content: '“';
    font-family: Georgia, serif;
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 4rem;
    color: var(--color-accent);
    opacity: 0.5;
}

.testimonial-author {
    border-top: 1px solid var(--color-border);
    padding-top: 1.5rem;
    text-align: left;
}
.author-name { display: block; font-weight: 700; color: #fff; }
.author-title { display: block; color: var(--color-text-muted); font-size: 0.9rem; }
.swiper-slide { background: transparent; height: auto; }
.swiper-button-next, .swiper-button-prev { color: var(--color-accent); }
.swiper-button-next:after, .swiper-button-prev:after {
    font-size: 20px; font-weight: 800; padding: 20px;
    background: rgba(26, 26, 29, 0.8);
    border-radius: 50%; backdrop-filter: blur(5px);
    transition: background-color 0.3s;
}
.swiper-button-next:hover:after, .swiper-button-prev:hover:after { background-color: var(--color-border); }
.swiper-pagination { bottom: 0px !important; }
.swiper-pagination-bullet { background: var(--color-text-muted); width: 10px; height: 10px; opacity: 1; transition: background-color 0.3s, transform 0.3s; }
.swiper-pagination-bullet-active { background: var(--color-accent); transform: scale(1.2); }

.careers-section { position: relative; min-height: 70vh; display: flex; justify-content: center; align-items: center; text-align: center; overflow: hidden; }
.careers-video-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -2; }
.careers-video-bg video { width: 100%; height: 100%; object-fit: cover; }
.careers-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(17, 17, 19, 0.8); z-index: -1; }
.careers-content { position: relative; z-index: 1; }
.careers-content h2 { font-size: 3rem; color: #fff; margin-bottom: 1.5rem; }
.careers-content .section-subtitle { color: var(--color-text); font-size: 1.2rem; max-width: 700px; margin: 0 auto 2.5rem auto; }

.footer { padding-top: 80px; background-color: var(--color-bg-light); }
.footer-container { display: grid; grid-template-columns: 1.5fr 1fr; gap: 50px; padding-bottom: 60px; }
.footer-title { font-size: 2rem; font-weight: 800; color: #fff; margin-bottom: 2rem; }
.contact-details p { font-size: 1rem; color: var(--color-text-muted); line-height: 1.6; margin-bottom: 1rem; }
.contact-details strong { color: var(--color-accent); }
.footer-subtitle { font-size: 1.5rem; font-weight: 700; color: var(--color-text); margin-bottom: 1.5rem; }
.footer-bottom { padding: 20px 0; border-top: 1px solid var(--color-border); }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; color: var(--color-text-muted); font-size: 0.9rem; }
.privacy-policy-button { background: none; border: none; color: var(--color-text-muted); cursor: pointer; text-decoration: underline; transition: color 0.3s; }
.privacy-policy-button:hover { color: var(--color-accent); }

@media (max-width: 768px) {
    .footer-container { grid-template-columns: 1fr; text-align: center; }
    .footer-bottom .container { flex-direction: column; gap: 10px; }
}

.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    display: flex; justify-content: center; align-items: center;
    z-index: var(--z-modal);
    opacity: 0; visibility: hidden;
    transition: opacity 0.4s, visibility 0.4s;
}
.modal-overlay.is-open { opacity: 1; visibility: visible; }
.modal-content {
    background: var(--color-bg-light); padding: 40px;
    border-radius: 16px; border: 1px solid var(--color-border);
    width: 90%; max-width: 700px; max-height: 80vh;
    overflow-y: auto; position: relative;
    transform: scale(0.95); transition: transform 0.4s;
}
.modal-overlay.is-open .modal-content { transform: scale(1); }
.modal-close {
    position: absolute; top: 15px; right: 20px; background: none; border: none;
    font-size: 2rem; color: var(--color-text-muted); cursor: pointer; transition: color 0.3s;
}
.modal-close:hover { color: var(--color-accent); }
.modal-content h2 { color: #fff; margin-bottom: 2rem; }
.modal-text p { color: var(--color-text-muted); margin-bottom: 1rem; line-height: 1.6; }
.cookie-banner {
    position: fixed; bottom: 0; left: 0; width: 100%;
    background-color: rgba(17, 17, 19, 0.85);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--color-border);
    padding: 20px 0; z-index: calc(var(--z-modal) - 1);
    transform: translateY(100%);
    transition: transform 0.5s ease-in-out;
}
.cookie-banner.is-visible { transform: translateY(0); }
.cookie-banner__content { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.cookie-banner__text { margin: 0; color: var(--color-text-muted); font-size: 0.9rem; }
.cookie-banner__policy-link {
    background: none; border: none; color: var(--color-accent);
    text-decoration: underline; cursor: pointer; padding: 0; font-size: inherit; font-family: inherit;
}
.cookie-banner__policy-link:hover { text-decoration: none; opacity: 0.8; }
.cookie-banner__button { padding: 12px 24px; font-size: 0.9rem; flex-shrink: 0; }

@media (max-width: 768px) {
    .cookie-banner__content { flex-direction: column; text-align: center; }
    .cookie-banner__text { margin-bottom: 15px; }
}