:root {
    --primary: #0A1128;
    --primary-light: #122244;
    --accent: #C5A059;
    --accent-light: #D4B680;
    --accent-dark: #A68542;
    --text: #1A1A1A;
    --text-muted: #57606F;
    --bg: #FFFFFF;
    --bg-soft: #F4F7FA;
    --bg-dark: #0A1128;
    --font-heading: 'Spectral', serif;
    --font-body: 'Manrope', sans-serif;
    --section-spacing: 110px;
    --header-height: 80px;
    --container-width: 1280px;
    --shadow-premium: 0 18px 45px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 28px 70px rgba(0, 0, 0, 0.12);
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--primary); line-height: 1.15; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.container { max-width: var(--container-width); margin: 0 auto; padding: 0 32px; }
.section { padding: var(--section-spacing) 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--bg-dark); color: #FFF; }
.section--dark h2, .section--dark h3 { color: #FFF; }
.section-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent);
    margin-bottom: 1rem;
}
.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 4rem;
    letter-spacing: -0.02em;
}
.section-header { margin-bottom: 4rem; }

/* Header: второй вариант */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255,255,255,0.98);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    height: var(--header-height);
    display: flex;
    align-items: center;
}
.header__wrap { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.brand { text-decoration: none; }
.brand__name { font-family: var(--font-heading); font-size: 1.375rem; font-weight: 700; color: var(--primary); }
.nav { display: flex; align-items: center; gap: 3rem; }
.nav__links { display: flex; gap: 2.25rem; }
.nav__links a {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: var(--transition);
}
.nav__links a:hover { color: var(--accent); }
.btn-cta {
    background: var(--primary);
    color: #FFF;
    padding: 0.75rem 1.75rem;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    border-radius: 2px;
    transition: var(--transition);
}
.btn-cta:hover { background: var(--accent); color: #FFF; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.125rem 2.5rem;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 2px;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}
.btn--solid { background: var(--accent); color: #FFF; }
.btn--solid:hover { background: #B48E49; transform: translateY(-2px); }
.btn--outline { background: transparent; color: var(--primary); border: 1px solid rgba(10,17,40,0.18); }
.btn--outline:hover { background: var(--primary); color: #FFF; }
.section--dark .btn--outline { color: #FFF; border-color: rgba(255,255,255,0.3); }
.section--dark .btn--outline:hover { background: #FFF; color: var(--primary); }
.btn--small { padding: 0.875rem 1.35rem; font-size: 0.75rem; }
.btn--link {
    padding: 0;
    text-transform: none;
    letter-spacing: normal;
    color: var(--accent);
    text-decoration: underline;
    font-weight: 600;
    border: 0;
}

/* Hero: первый вариант */
.hero {
    padding-top: 150px;
    padding-bottom: 90px;
    background: radial-gradient(circle at 70% 30%, #F9FAFB 0%, #FFFFFF 100%);
    overflow: hidden;
}
.hero__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.hero__title {
    font-size: clamp(2.8rem, 6.2vw, 5.3rem);
    line-height: 0.97;
    margin-bottom: 1.75rem;
    letter-spacing: -0.03em;
}
.hero__description {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 560px;
    margin-bottom: 3rem;
}
.hero__pillars { display: flex; gap: 3rem; margin-bottom: 3.5rem; }
.pillar__num {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}
.pillar__label {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.hero__actions { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.hero__image-wrapper { position: relative; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-premium); }
.hero__image { width: 100%; display: block; filter: grayscale(8%); transition: var(--transition); }
.hero__image-wrapper:hover .hero__image { filter: grayscale(0%); transform: scale(1.015); }
.hero__experience-tag {
    position: absolute;
    bottom: 1.75rem;
    left: 1.75rem;
    right: 1.75rem;
    background: rgba(255,255,255,0.96);
    padding: 1.25rem 1.35rem;
    border-radius: 10px;
    box-shadow: var(--shadow-premium);
    border-left: 4px solid var(--accent);
}
.hero__experience-tag span {
    display: block;
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}
.hero__experience-tag strong { font-family: var(--font-heading); font-size: 1.15rem; color: var(--primary); }
.hero__footer { margin-top: 5rem; padding-top: 2.5rem; border-top: 1px solid rgba(0,0,0,0.06); }
.hero__editorial { display: flex; justify-content: center; gap: 2.5rem; font-weight: 800; font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; }
.hero__editorial .dot { width: 4px; height: 4px; background: var(--accent); border-radius: 50%; align-self: center; }

/* Appointment: первый вариант */
.appointment__layout { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 5rem; align-items: start; }
.appointment__lead { font-size: 1.15rem; opacity: 0.82; line-height: 1.5; max-width: 440px; }
.appointment__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.destination-card {
    background: var(--primary-light);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.06);
}
.destination-card:hover { transform: translateY(-6px); box-shadow: 0 26px 55px rgba(0,0,0,0.25); }
.destination-card__visual { position: relative; height: 225px; }
.destination-card__visual img { width: 100%; height: 100%; object-fit: cover; display: block; }
.destination-card__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,17,40,0) 0%, rgba(10,17,40,0.8) 100%); }
.destination-card__header { position: absolute; bottom: 1.35rem; left: 1.35rem; }
.destination-card__header h3 { font-size: 1.65rem; color: var(--bg); margin-bottom: 0.25rem; }
.destination-card__header span { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); font-weight: 800; }
.destination-card__content { padding: 1.75rem; }
.destination-card__actions { display: flex; flex-direction: column; gap: 0.85rem; }
.destination-card__drawer { margin-top: 1.5rem; display: none; animation: fadeIn 0.35s ease; }
.destination-card.expanded .destination-card__drawer { display: block; }
.miniMap { height: 230px; border-radius: 12px; overflow: hidden; margin-bottom: 1rem; border: 1px solid rgba(255,255,255,0.1); }
.miniMap iframe { width: 100%; height: 100%; border: none; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* Expertise: первый вариант */
.expertise__layout { display: grid; grid-template-columns: 0.9fr 1.4fr; gap: 5rem; align-items: start; }
.expertise__visual { margin-top: 2.5rem; max-width: 190px; }
.expertise__visual img { width: 100%; opacity: 0.85; filter: drop-shadow(0 12px 24px rgba(197,160,89,0.16)); }
.expertise-matrix { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem 3.25rem; }
.matrix-item { display: flex; gap: 1.25rem; }
.matrix-num { font-family: var(--font-heading); font-size: 1.35rem; font-weight: 700; color: var(--accent); min-width: 2.2rem; }
.matrix-text h3 { font-size: 1.35rem; margin-bottom: 1rem; }
.expertise-list { list-style: none; }
.expertise-list li { color: var(--text-muted); font-size: 0.925rem; margin-bottom: 0.7rem; padding-left: 1.15rem; position: relative; }
.expertise-list li::before { content: "—"; position: absolute; left: 0; color: var(--accent); }

/* Areas: второй вариант */
.practices-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(0,0,0,0.06); border: 1px solid rgba(0,0,0,0.06); }
.practice-item { background: #FFF; padding: 2.5rem; transition: var(--transition); cursor: default; min-height: 245px; }
.practice-item:hover { background: var(--bg-soft); }
.practice-item__icon { width: 36px; height: 36px; margin-bottom: 2rem; opacity: 0.75; }
.practice-item__icon img { width: 100%; height: 100%; object-fit: contain; display: block; }
.practice-item h3 { font-size: 1.45rem; margin-bottom: 1rem; }
.practice-item p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.5; }

/* Bio: второй вариант */
.bio-layout { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 5rem; align-items: start; }
.bio-timeline { border-left: 1px solid rgba(0,0,0,0.08); padding-left: 3rem; }
.timeline-event { margin-bottom: 3.25rem; position: relative; }
.timeline-event::before { content: ""; position: absolute; left: -3.35rem; top: 0.5rem; width: 9px; height: 9px; background: var(--accent); border-radius: 50%; }
.timeline-event .year { display: block; font-family: var(--font-heading); font-size: 1.45rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--primary); }
.timeline-event p { font-size: 0.9375rem; color: var(--text-muted); }
.bio-visual img { width: 100%; border-radius: 2px; display: block; box-shadow: var(--shadow-premium); }

/* Internships: второй вариант */
.internship-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.intern-card { padding: 2.25rem; border: 1px solid rgba(255,255,255,0.1); background: rgba(255,255,255,0.02); transition: var(--transition); }
.intern-card:hover { background: rgba(255,255,255,0.05); border-color: rgba(197,160,89,0.65); }
.intern-card .country { font-family: var(--font-heading); font-size: 1.45rem; color: var(--accent); display: block; }
.intern-card .city { font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; opacity: 0.58; margin-bottom: 1.35rem; display: block; }
.intern-card p { font-size: 1rem; font-weight: 300; color: rgba(255,255,255,0.84); }

/* Science: второй вариант */
.science-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3rem; }
.science-item { border-bottom: 1px solid rgba(0,0,0,0.06); padding-bottom: 2rem; }
.science-fact { margin-bottom: 1.5rem; }
.science-fact .num { font-family: var(--font-heading); font-size: 3rem; color: var(--accent); display: block; line-height: 1; }
.science-fact .label { font-size: 0.75rem; font-weight: 800; text-transform: uppercase; }
.science-item h3 { font-size: 1.25rem; margin-bottom: 1rem; }
.science-item p { font-size: 0.875rem; color: var(--text-muted); }

/* Footer: второй вариант */
.footer { padding: 4rem 0; background: var(--primary); color: #FFF; }
.footer__wrap { display: flex; justify-content: space-between; align-items: center; gap: 2rem; }
.footer__brand .name { font-family: var(--font-heading); font-size: 1.25rem; font-weight: 700; display: block; }
.footer__brand .sub { font-size: 0.75rem; opacity: 0.65; }
.footer__copy { font-size: 0.75rem; opacity: 0.5; text-align: center; }
.footer__top { color: var(--accent); font-size: 0.75rem; font-weight: 800; text-transform: uppercase; text-decoration: none; }

/* Burger & mobile */
.burger { display: none; flex-direction: column; gap: 6px; background: none; border: none; cursor: pointer; z-index: 2000; }
.burger span { width: 28px; height: 2px; background: var(--primary); transition: var(--transition); }
.burger.active span:nth-child(1) { transform: translateY(4px) rotate(45deg); background: #FFF; }
.burger.active span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); background: #FFF; }

.reveal-init { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.revealed { opacity: 1; transform: translateY(0); }

@media (max-width: 1100px) {
    .hero__container, .appointment__layout, .expertise__layout, .bio-layout { grid-template-columns: 1fr; gap: 3.5rem; }
    .hero__content { text-align: center; }
    .hero__description { margin-left: auto; margin-right: auto; }
    .hero__pillars, .hero__actions { justify-content: center; }
    .hero__visual { max-width: 560px; margin: 0 auto; }
    .appointment__grid { max-width: 760px; }
    .expertise__visual { display: none; }
    .practices-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    :root { --section-spacing: 84px; }
    .container { padding: 0 22px; }
    .header { height: 76px; }
    .nav {
        position: fixed;
        inset: 0;
        background: var(--primary);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.25rem;
        transform: translateX(100%);
        transition: var(--transition);
    }
    .nav.active { transform: translateX(0); }
    .nav__links { flex-direction: column; text-align: center; gap: 1.75rem; }
    .nav__links a { color: #FFF; font-size: 1.2rem; }
    .btn-cta { background: var(--accent); color: #FFF; }
    .burger { display: flex; }
    .hero { padding-top: 110px; padding-bottom: 68px; }
    .hero__title { font-size: clamp(2.4rem, 12vw, 4rem); }
    .hero__pillars { gap: 2rem; flex-wrap: wrap; }
    .hero__actions, .destination-card__actions { flex-direction: column; }
    .hero__actions .btn, .destination-card__actions .btn { width: 100%; }
    .hero__editorial { display: none; }
    .appointment__grid, .expertise-matrix, .practices-grid, .internship-grid, .science-grid { grid-template-columns: 1fr; }
    .appointment__grid { gap: 1.25rem; }
    .practice-item { min-height: auto; padding: 2rem; }
    .bio-visual { display: none; }
    .bio-timeline { padding-left: 2rem; }
    .timeline-event::before { left: -2.35rem; }
    .footer__wrap { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
    .hero__pillars { flex-direction: column; align-items: center; gap: 1.5rem; }
    .hero__experience-tag { position: static; border-radius: 0; border-left: 0; box-shadow: none; }
    .btn { padding: 1rem 1.4rem; }
    .destination-card__visual { height: 190px; }
}
