:root {
    --gray-900: #111111;
    --gray-800: #1f1f1f;
    --gray-750: #262626;
    --gray-700: #2f2f2f;
    --gray-600: #3a3a3a;
    --gray-500: #505050;
    --gray-400: #6a6a6a;
    --gray-300: #8a8a8a;
    --gray-200: #b1b1b1;
    --gray-150: #d1d1d1;
    --gray-100: #e6e6e6;
    --gray-75: #f1f1f1;
    --white: #ffffff;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    z-index: 1000;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    padding: 6px 0;
}

.nav-logo img {
    max-height: 28px;
    max-width: 160px;
    width: auto;
    display: block;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    position: relative;
    font-weight: 500;
    color: var(--gray-500);
    padding: 6px 0;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 2px;
    background-color: var(--gray-800);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link:focus {
    color: var(--gray-800);
}

.nav-link:hover::after,
.nav-link:focus::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 8px 0;
}

.bar {
    width: 26px;
    height: 2px;
    background-color: var(--gray-700);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Hero */
.hero {
    padding: 140px 0 90px;
    color: var(--white);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: url('img/frontpage.png') center/cover no-repeat;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(17, 17, 17, 0.85) 0%, rgba(17, 17, 17, 0.68) 45%, rgba(17, 17, 17, 0.35) 100%);
}

.hero-container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2.4rem;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 640px;
    position: relative;
    z-index: 1;
}

.hero-kicker {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
}

.hero-title {
    font-size: 3.3rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.85;
    margin-bottom: 1.5rem;
    max-width: 520px;
}

.hero-points {
    display: grid;
    gap: 1.1rem;
    margin: 2.3rem 0 2.6rem;
    max-width: 560px;
}

.hero-point {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.15rem 1.35rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(6px);
}

.hero-point-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.hero-point h3 {
    font-size: 1.05rem;
    color: var(--white);
    margin-bottom: 0.35rem;
}

.hero-point p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.78);
    margin: 0;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.btn {
    padding: 12px 30px;
    border-radius: 999px;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--white);
    color: var(--gray-900);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.25);
}

.btn-secondary {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.6);
    color: var(--white);
}

.btn-secondary:hover {
    border-color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.08);
}

.hero-meta {
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.7);
}

/* Project highlight */
.project-highlight {
    padding: 88px 0;
    background: var(--gray-75);
}

.highlight-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(260px, 360px);
    gap: 2.5rem;
    align-items: center;
}

.highlight-copy h2 {
    font-size: 2.2rem;
    color: var(--gray-800);
    margin-bottom: 1.25rem;
}

.highlight-copy p {
    color: var(--gray-500);
    font-size: 1.05rem;
    max-width: 520px;
    margin-bottom: 1.75rem;
}

.highlight-points {
    display: grid;
    gap: 1.25rem;
}

.point {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.15rem 1.35rem;
    border-radius: 18px;
    border: 1px solid var(--gray-150);
    background: var(--white);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.point-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: rgba(32, 32, 32, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.05rem;
}

.point h3 {
    font-size: 1.05rem;
    color: var(--gray-800);
    margin-bottom: 0.35rem;
}

.point p {
    font-size: 0.95rem;
    color: var(--gray-500);
    margin: 0;
}

.highlight-media {
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--gray-150);
    background: var(--white);
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.12);
}

.highlight-media img {
    width: 100%;
    display: block;
    filter: grayscale(40%);
}

.highlight-media figcaption {
    padding: 16px 18px;
    font-size: 0.85rem;
    color: var(--gray-500);
    background: var(--gray-75);
}

/* Section headers */
.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--gray-500);
    max-width: 640px;
    margin: 0 auto;
}

/* Services */
.services {
    padding: 90px 0;
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.4rem;
}

.service-card {
    background: var(--white);
    padding: 2.5rem 2.3rem;
    border-radius: 22px;
    border: 1px solid var(--gray-150);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gray-700);
    opacity: 0;
    transition: opacity 0.35s ease;
}

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

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    background: rgba(40, 40, 40, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.6rem;
    box-shadow: 0 18px 32px rgba(0, 0, 0, 0.15);
}

.service-icon i {
    font-size: 1.75rem;
    color: var(--white);
}

.service-title {
    font-size: 1.35rem;
    color: var(--gray-800);
    margin-bottom: 1rem;
}

.service-description {
    color: var(--gray-500);
    margin-bottom: 1.75rem;
    line-height: 1.65;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 1.8rem 0 0;
    display: grid;
    gap: 1rem;
}

.service-list li {
    display: grid;
    grid-template-columns: 44px auto;
    gap: 0.85rem;
    align-items: center;
    font-size: 0.97rem;
    line-height: 1.5;
    color: var(--gray-600);
    padding: 0.85rem 1rem;
    background: var(--gray-100);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-list li i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(32, 32, 32, 0.9);
    color: var(--white);
    font-size: 1.1rem;
}

.service-list li span {
    display: block;
    font-weight: 500;
}

.service-list li:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.08);
}

/* Benefits */
.benefits {
    padding: 90px 0;
    background: var(--gray-75);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.75rem;
}

.benefit-card {
    background: var(--white);
    border-radius: 18px;
    border: 1px solid var(--gray-150);
    padding: 2rem;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.1);
}

.benefit-card h3 {
    font-size: 1.25rem;
    color: var(--gray-800);
    margin-bottom: 1.1rem;
}

.benefit-card ul {
    list-style: none;
    display: grid;
    gap: 0.6rem;
    color: var(--gray-500);
}

.benefit-card li {
    position: relative;
    padding-left: 1.4rem;
    font-size: 0.95rem;
}

.benefit-card li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--gray-400);
}

/* Detailed services */
.detailed-services {
    padding: 90px 0;
    background: var(--white);
}

.service-tabs {
    margin-top: 3rem;
}

.tab-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.6rem;
    border-radius: 14px;
    border: 1px solid var(--gray-150);
    background: var(--white);
    color: var(--gray-500);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    border-color: var(--gray-300);
    color: var(--gray-700);
    transform: translateY(-2px);
}

.tab-btn.active {
    background: linear-gradient(135deg, var(--gray-800), var(--gray-600));
    color: var(--white);
    border-color: transparent;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.15);
}

.tab-content {
    margin-top: 2.5rem;
    background: var(--white);
    border: 1px solid var(--gray-150);
    border-radius: 22px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.tab-panel {
    display: none;
    padding: 3rem;
}

.tab-panel.active {
    display: block;
}

.service-summary {
    text-align: center;
    margin-bottom: 2.5rem;
}

.service-summary h3 {
    font-size: 2rem;
    color: var(--gray-800);
    margin-bottom: 1rem;
}

.service-summary p {
    color: var(--gray-500);
    max-width: 620px;
    margin: 0 auto;
}

.service-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.6rem;
    background: var(--gray-75);
    border-radius: 16px;
    border: 1px solid var(--gray-150);
    color: var(--gray-500);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-4px);
    background: var(--white);
    border-color: var(--gray-200);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.1);
}

.feature-item i {
    color: var(--gray-700);
    font-size: 1.4rem;
}

/* Process */
.process {
    padding: 90px 0;
    background: var(--gray-75);
}

.process-timeline {
    position: relative;
    max-width: 880px;
    margin: 0 auto;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--gray-700), var(--gray-500));
    opacity: 0.45;
}

.timeline-item {
    position: relative;
    margin-bottom: 3.5rem;
    padding-left: 90px;
}

.timeline-marker {
    position: absolute;
    left: 0;
    top: 0;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--white);
    border: 3px solid var(--gray-700);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--gray-700);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.timeline-content {
    background: var(--white);
    border-radius: 18px;
    border: 1px solid var(--gray-150);
    padding: 2.2rem;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

.timeline-title {
    font-size: 1.5rem;
    color: var(--gray-800);
    margin-bottom: 1rem;
}

.timeline-description {
    color: var(--gray-500);
    margin-bottom: 1.5rem;
}

.timeline-activities {
    margin-top: 1rem;
}

.activity-dropdown-btn {
    background: var(--gray-75);
    border: 1px solid var(--gray-150);
    color: var(--gray-500);
    padding: 0.75rem 1rem;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    text-align: left;
}

.activity-dropdown-btn:hover {
    background: var(--gray-100);
    border-color: var(--gray-200);
}

.activity-dropdown-btn i {
    transition: transform 0.3s ease;
}

.activity-dropdown-btn.active i {
    transform: rotate(180deg);
}

.activity-dropdown {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    margin-top: 0.5rem;
}

.activity-dropdown.active {
    max-height: 1000px;
}

.activity-group {
    margin-bottom: 1.5rem;
}

.activity-group:last-child {
    margin-bottom: 0;
}

.activity-group h4 {
    color: var(--gray-700);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--gray-150);
}

.activity-group ul {
    list-style: none;
}

.activity-group li {
    padding: 0.5rem 0;
    color: var(--gray-500);
    font-size: 0.9rem;
    line-height: 1.5;
    position: relative;
    padding-left: 1.5rem;
}

.activity-group li::before {
    content: '•';
    position: absolute;
    left: 0;
    top: 0.35rem;
    color: var(--gray-700);
    font-weight: bold;
    font-size: 1.1rem;
}

/* About */
.about {
    padding: 90px 0;
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.about-description {
    color: var(--gray-500);
    margin-bottom: 1.5rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 1rem;
}

.stat-number {
    font-size: 2.7rem;
    font-weight: 700;
    color: var(--gray-800);
}

.stat-label {
    color: var(--gray-400);
    letter-spacing: 0.02em;
}

.about-graphic {
    position: relative;
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.graphic-element {
    position: absolute;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(31, 31, 31, 0.75), rgba(90, 90, 90, 0.65));
    opacity: 0.8;
    animation: float 6s ease-in-out infinite;
}

.graphic-element:nth-child(1) {
    width: 120px;
    height: 180px;
    top: 18%;
    left: 25%;
}

.graphic-element:nth-child(2) {
    width: 160px;
    height: 120px;
    bottom: 18%;
    right: 20%;
    animation-delay: 1.8s;
}

.graphic-element:nth-child(3) {
    width: 90px;
    height: 200px;
    top: 34%;
    right: 35%;
    animation-delay: 3.1s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}

/* Contact */
.contact {
    padding: 90px 0;
    background: var(--gray-75);
}

.contact-content {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.contact-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--gray-800), var(--gray-600));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.contact-details h4 {
    font-size: 1.05rem;
    color: var(--gray-800);
    margin-bottom: 0.3rem;
}

.contact-details p {
    color: var(--gray-500);
}

.contact-form {
    background: var(--white);
    border-radius: 18px;
    border: 1px solid var(--gray-150);
    padding: 2.4rem;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid var(--gray-150);
    background: var(--gray-75);
    color: var(--gray-700);
    font-size: 1rem;
    transition: border 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gray-400);
    box-shadow: 0 0 0 4px rgba(47, 47, 47, 0.08);
}

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

/* Footer */
.footer {
    background: var(--gray-900);
    color: rgba(255, 255, 255, 0.82);
    padding: 60px 0 24px;
}

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

.footer-section h3,
.footer-section h4 {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.65);
}

.footer-section ul {
    list-style: none;
    display: grid;
    gap: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.55);
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1.2rem;
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.55);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-container,
    .about-content,
    .contact-content,
    .highlight-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 120px;
        text-align: center;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .about-graphic {
        height: 340px;
    }

    .highlight-media {
        max-width: 460px;
        margin: 0 auto;
    }

    .hero-content {
        margin: 0 auto;
    }

    .hero-points {
        text-align: left;
    }

}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(18px);
        padding: 2.5rem 1.5rem;
        gap: 1.4rem;
        transition: left 0.3s ease;
        box-shadow: 0 24px 60px rgba(0, 0, 0, 0.12);
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-container {
        text-align: center;
        gap: 2.5rem;
    }

    .hero-points {
        text-align: left;
    }

    .hero-point {
        grid-template-columns: 1fr;
    }

    .hero-point-icon {
        width: 42px;
        height: 42px;
        margin-bottom: 0.35rem;
    }

    .services-grid,
    .service-features,
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .tab-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .tab-panel {
        padding: 2.2rem 1.6rem;
    }

    .timeline-item {
        padding-left: 70px;
    }

    .timeline-marker {
        width: 46px;
        height: 46px;
    }

    .highlight-copy h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.35rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .media-frame {
        padding: 10px;
    }

    .section-title {
        font-size: 2.1rem;
    }

    .highlight-media figcaption {
        font-size: 0.8rem;
    }

}
