/* --- ГЛОБАЛЬНЫЕ СТИЛИ --- */
:root {
    --bg-color: #121212;
    --surface-color: #1e1e1e;
    --primary-color: #00FF88;
    --primary-hover: #00d672;
    --text-main: #E0E0E0;
    --text-muted: #A0A0A0;
    --white: #ffffff;
    --font-main: 'Inter', sans-serif;
    --font-accent: 'Orbitron', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-accent);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn--outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn--outline:hover {
    background: var(--primary-color);
    color: var(--bg-color);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.4);
}

/* --- ХЕДЕР --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.header--scrolled {
    background: rgba(18, 18, 18, 0.85);
    backdrop-filter: blur(10px);
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-accent);
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--white);
}

.logo__dot {
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    border-radius: 2px;
    display: block;
}

.nav__list {
    display: flex;
    gap: 30px;
}

.nav__link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
}

.nav__link:hover {
    color: var(--primary-color);
}

.burger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.burger span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--primary-color);
    position: relative;
}

.burger span::before,
.burger span::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
    left: 0;
}

.burger span::before {
    top: -8px;
}

.burger span::after {
    bottom: -8px;
}

/* --- ФУТЕР --- */
.footer {
    background: var(--surface-color);
    padding: 80px 0 40px;
    margin-top: 100px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer__logo {
    margin-bottom: 20px;
}

.footer__description {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer__title {
    font-family: var(--font-accent);
    margin-bottom: 25px;
    color: var(--white);
    font-size: 1.1rem;
}

.footer__links li {
    margin-bottom: 12px;
}

.footer__links a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer__links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer__contacts li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text-muted);
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.icon-sm {
    width: 18px;
    color: var(--primary-color);
}

.footer__bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* --- Mobile Adaptivity --- */
@media (max-width: 992px) {
    .footer__grid {
        grid-template-columns: 1fr 1fr;
    }

    .nav {
        display: none;
    }

    .burger {
        display: block;
    }
}

@media (max-width: 576px) {
    .footer__grid {
        grid-template-columns: 1fr;
    }
}
/* --- HERO SECTION STYLES --- */
.hero {
    padding: 160px 0 100px;
    /* Отступ сверху с учетом фиксированного хедера */
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.hero__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.hero__content {
    flex: 1;
    max-width: 620px;
}

.hero__subtitle {
    display: inline-block;
    font-family: var(--font-accent);
    color: var(--primary-color);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.hero__title {
    font-family: var(--font-accent);
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
    color: var(--white);
}

.hero__title .highlight {
    color: var(--primary-color);
    text-shadow: 0 0 15px rgba(0, 255, 136, 0.3);
}

.hero__description {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 45px;
    max-width: 540px;
}

.hero__actions {
    display: flex;
    gap: 20px;
    align-items: center;
}

/* Specific Button Styles */
.btn--primary {
    background: var(--primary-color);
    color: var(--bg-color);
    border: 2px solid var(--primary-color);
}

.btn--primary:hover {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
    box-shadow: 0 0 25px rgba(0, 255, 136, 0.5);
    transform: translateY(-2px);
}

.btn--secondary {
    border: 2px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    background: transparent;
}

.btn--secondary:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

.icon-xs {
    width: 16px;
    height: 16px;
    margin-left: 8px;
}

/* --- Anime.js Visualizer Styles --- */
.hero__visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    min-height: 400px;
}

.anime-container {
    width: 400px;
    height: 400px;
    position: relative;
    /* Легкое свечение фона */
    background: radial-gradient(circle at center, rgba(0, 255, 136, 0.08) 0%, rgba(18, 18, 18, 0) 70%);
}

.tech-shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 255, 136, 0.2);
    transform-origin: center;
    opacity: 0;
    /* Изначально скрыты для anime.js */
}

.shape-1 {
    width: 180px;
    height: 180px;
    top: 50%;
    left: 50%;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.1) 0%, transparent 100%);
}

.shape-2 {
    width: 240px;
    height: 240px;
    top: calc(50% - 30px);
    left: calc(50% - 30px);
    border-radius: 50%;
    border-style: dashed;
}

.shape-3 {
    width: 120px;
    height: 120px;
    top: 10%;
    right: 10%;
    border-radius: 4px;
    border-color: rgba(255, 255, 255, 0.1);
}

.tech-dot {
    width: 24px;
    height: 24px;
    background: var(--primary-color);
    border-radius: 50%;
    position: absolute;
    top: calc(50% - 12px);
    left: calc(50% - 12px);
    box-shadow: 0 0 20px var(--primary-color);
    z-index: 2;
    opacity: 0;
}

.tech-line {
    position: absolute;
    background: rgba(0, 255, 136, 0.3);
    transform-origin: left center;
    opacity: 0;
}

.line-1 {
    width: 150px;
    height: 1px;
    top: 50%;
    left: 50%;
    transform: rotate(-45deg);
}

.line-2 {
    width: 200px;
    height: 1px;
    bottom: 20%;
    left: 10%;
    transform: rotate(15deg);
}

/* --- Mobile Adaptation HERO --- */
@media (max-width: 992px) {
    .hero {
        padding: 140px 0 80px;
    }

    .hero__container {
        flex-direction: column-reverse;
        text-align: center;
        gap: 50px;
    }

    .hero__content {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero__description {
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 35px;
    }

    .hero__actions {
        justify-content: center;
    }

    .hero__title {
        font-size: 3rem;
    }

    .anime-container {
        width: 300px;
        height: 300px;
    }
}

@media (max-width: 576px) {
    .hero__title {
        font-size: 2.4rem;
    }

    .hero__actions {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }

    .hero__actions .btn {
        width: 100%;
        justify-content: center;
    }

    .anime-container {
        width: 250px;
        height: 250px;
    }
}
/* --- ОБЩИЕ ЭЛЕМЕНТЫ СЕКЦИЙ --- */
.section-title {
    font-family: var(--font-accent);
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--white);
    line-height: 1.2;
}

.text-center {
    text-align: center;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 60px;
}

.highlight {
    color: var(--primary-color);
}

.icon-primary {
    color: var(--primary-color);
    width: 20px;
    flex-shrink: 0;
}

.icon-white {
    color: var(--white);
    width: 20px;
}

/* --- ABOUT SECTION --- */
.about {
    padding: 100px 0;
    background: var(--bg-color);
}

.about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about__image-box {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--surface-color);
}

.about__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    transition: var(--transition);
}

.about__image-box:hover .about__img {
    opacity: 0.8;
    transform: scale(1.05);
}

.experience-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: var(--primary-color);
    padding: 20px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.3);
}

.experience-badge__year {
    font-family: var(--font-accent);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--bg-color);
    line-height: 1;
}

.experience-badge__text {
    font-size: 0.7rem;
    color: var(--bg-color);
    text-transform: uppercase;
    font-weight: 700;
}

.about__text {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.about__features {
    margin-bottom: 40px;
}

.about__features li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-weight: 500;
}

.about__info-box {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-left: 3px solid var(--primary-color);
    border-radius: 0 10px 10px 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* --- COURSES SECTION --- */
.courses {
    padding: 100px 0;
    background: #161616;
}

.courses__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.course-card {
    background: var(--surface-color);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.course-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(0, 255, 136, 0.1), transparent 60%);
    opacity: 0;
    transition: var(--transition);
}

.course-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 255, 136, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.course-card:hover::before {
    opacity: 1;
}

.course-card.active {
    border-color: var(--primary-color);
}

.course-card__icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 255, 136, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.course-card__icon i {
    width: 30px;
    height: 30px;
}

.course-card__title {
    font-family: var(--font-accent);
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--white);
}

.course-card__description {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 30px;
    flex-grow: 1;
}

.course-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.course-tag {
    font-size: 0.75rem;
    color: var(--primary-color);
    background: rgba(0, 255, 136, 0.1);
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: 600;
}

.course-card__link {
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--white);
}

.course-card__link:hover {
    color: var(--primary-color);
}

.course-card__link i {
    width: 16px;
}

/* --- Mobile Adaptation --- */
@media (max-width: 992px) {
    .about__grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .courses__grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .courses__grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }
}
/* --- TECH SECTION --- */
.tech {
    padding: 120px 0;
    position: relative;
}

.tech__wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 100px;
    align-items: center;
}

.tech__lead {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.tech__list {
    display: grid;
    gap: 30px;
}

.tech-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.tech-item__num {
    font-family: var(--font-accent);
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 700;
    opacity: 0.5;
}

.tech-item__text h4 {
    font-family: var(--font-accent);
    color: var(--white);
    margin-bottom: 8px;
}

.tech-item__text p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.tech__visual {
    position: relative;
}

.tech-glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.glass-header {
    background: rgba(255, 255, 255, 0.05);
    padding: 12px 20px;
    display: flex;
    gap: 8px;
}

.glass-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.red {
    background: #ff5f56;
}

.yellow {
    background: #ffbd2e;
}

.green {
    background: #27c93f;
}

.glass-content {
    padding: 30px;
}

.code-snippet {
    font-family: 'Courier New', monospace;
    color: #d1d1d1;
    font-size: 0.9rem;
    line-height: 1.7;
}

.code-keyword {
    color: #c678dd;
}

.code-var {
    color: var(--primary-color);
}

.code-string {
    color: #98c379;
}

.code-func {
    color: #61afef;
}

.comment {
    color: #5c6370;
    font-style: italic;
}

.tech-floating-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    background: var(--surface-color);
    border: 1px solid var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(0, 255, 136, 0.2);
    animation: floating 3s ease-in-out infinite alternate;
}

@keyframes floating {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-15px);
    }
}

/* --- REVIEWS SECTION --- */
.reviews {
    padding: 100px 0;
    background: #1a1a1a;
}

.reviews__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.review-card {
    background: var(--surface-color);
    padding: 40px;
    border-radius: 20px;
    position: relative;
    border-bottom: 3px solid transparent;
    transition: var(--transition);
}

.review-card:hover {
    transform: translateY(-5px);
    border-bottom-color: var(--primary-color);
    background: #252525;
}

.review-card__quote {
    margin-bottom: 25px;
    opacity: 0.5;
}

.review-card__text {
    font-style: italic;
    color: var(--text-main);
    line-height: 1.8;
    margin-bottom: 30px;
}

.review-card__user {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    background: #333;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-name {
    display: block;
    font-weight: 700;
    color: var(--white);
    font-size: 0.95rem;
}

.user-status {
    font-size: 0.8rem;
    color: var(--primary-color);
}

/* --- Mobile Adaptation --- */
@media (max-width: 992px) {
    .tech__wrapper {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .reviews__grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .reviews__grid {
        grid-template-columns: 1fr;
    }
}
/* --- MOBILE MENU OVERLAY --- */
@media (max-width: 992px) {
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--surface-color);
        z-index: 999;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: var(--transition);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    }

    .nav--active {
        right: 0;
    }

    .nav__list {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .nav__link {
        font-size: 1.5rem;
    }
}

/* --- CONTACT SECTION --- */
.contact {
    padding: 100px 0;
    background: var(--bg-color);
}

.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: flex-start;
}

.contact__lead {
    color: var(--text-muted);
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.contact__methods {
    display: grid;
    gap: 30px;
}

.method-item {
    display: flex;
    gap: 20px;
    align-items: center;
}

.method-item i {
    color: var(--primary-color);
    width: 24px;
}

.method-item h5 {
    color: var(--white);
    font-family: var(--font-accent);
    margin-bottom: 5px;
}

.method-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Form Styles */
.contact__form-wrapper {
    background: var(--surface-color);
    padding: 50px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.form {
    display: grid;
    gap: 20px;
}

.form__input {
    width: 100%;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--white);
    font-family: var(--font-main);
    transition: var(--transition);
}

.form__input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(0, 255, 136, 0.05);
}

.form__input--sm {
    width: 100px;
    margin-top: 10px;
}

.form__captcha {
    border: 1px dashed rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 12px;
}

.captcha-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.form__checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.form__checkbox a {
    color: var(--primary-color);
    text-decoration: underline;
}

.btn--block {
    width: 100%;
    justify-content: center;
    padding: 18px;
}

.form__status {
    display: none;
    align-items: center;
    gap: 10px;
    padding: 15px;
    border-radius: 10px;
    font-size: 0.9rem;
    margin-top: 10px;
}

.form__status--success {
    background: rgba(0, 255, 136, 0.1);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

/* --- COOKIE POPUP --- */
.cookie-popup {
    position: fixed;
    bottom: -100px;
    left: 20px;
    right: 20px;
    background: var(--surface-color);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 30px;
    border-radius: 16px;
    z-index: 2000;
    transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.cookie-popup--active {
    transform: translateY(-120px);
}

.cookie-popup__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-popup p {
    font-size: 0.85rem;
    color: var(--text-muted);
    max-width: 70%;
}

.btn--sm {
    padding: 8px 20px;
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    .contact__grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .contact__form-wrapper {
        padding: 30px;
    }

    .cookie-popup__content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-popup p {
        max-width: 100%;
    }
}
/* --- PAGES & LEGAL CONTENT STYLES --- */
.pages {
    padding: 160px 0 100px;
    background: var(--bg-color);
    min-height: 80vh;
}

.pages h1 {
    font-family: var(--font-accent);
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 30px;
    line-height: 1.2;
}

.pages p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 25px;
    max-width: 800px;
    line-height: 1.8;
}

.pages h2 {
    font-family: var(--font-accent);
    color: var(--primary-color);
    font-size: 1.5rem;
    margin: 40px 0 20px;
}

.pages ul {
    margin-bottom: 30px;
}

.pages li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    color: var(--text-muted);
}

.pages li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* Contact Cards Grid */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 60px 0;
}

.contact-card {
    background: var(--surface-color);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.contact-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.contact-card__icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 255, 136, 0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin-bottom: 25px;
}

.contact-card h2 {
    margin-top: 0;
    font-size: 1.3rem;
    color: var(--white);
}

.contact-card p {
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.contact-link {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: var(--transition);
}

.contact-link:hover {
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

.contact-address {
    font-style: normal;
    color: var(--white);
    line-height: 1.6;
}

.contact-extra {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 40px;
}

.contact-extra a {
    color: var(--primary-color);
    font-weight: 600;
}

/* Адаптивность */
@media (max-width: 768px) {
    .pages h1 {
        font-size: 1.6rem;
    }

    .contact-card {
        padding: 30px;
    }
}