/* ==========================================================================
   ISLAM D. — Эколог CV · Green + Earth palette
   ========================================================================== */

:root {
    --bg:            #fafaf5;
    --bg-2:          #f0efe4;
    --bg-3:          #e5e4d3;
    --surface:       #ffffff;

    --primary:       #2d6a4f;      /* deep green */
    --primary-2:     #1b4332;
    --primary-3:     #40916c;      /* lighter green */
    --accent:        #b08968;      /* warm earth */
    --accent-2:      #7f5539;      /* darker earth */
    --accent-3:      #ddb892;      /* light earth */

    --text:          #1e2a20;
    --text-2:        #4a5a4f;
    --text-3:        #7a8a80;

    --border:        #e0dfcd;
    --border-strong: #c9c8b0;

    --wa:            #25d366;

    --radius:        6px;
    --radius-lg:     12px;
    --radius-xl:     20px;
    --shadow-sm:     0 2px 8px rgba(45, 106, 79, .06);
    --shadow-md:     0 12px 30px -10px rgba(45, 106, 79, .18);
    --shadow-lg:     0 30px 60px -20px rgba(45, 106, 79, .28);
    --shadow-primary:0 12px 28px -8px rgba(45, 106, 79, .38);

    --grad-green:    linear-gradient(135deg, #2d6a4f 0%, #40916c 100%);
    --grad-earth:    linear-gradient(135deg, #b08968 0%, #7f5539 100%);

    --container:     1200px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Manrope', system-ui, sans-serif;
    background:
        radial-gradient(600px 400px at 90% 10%, rgba(64, 145, 108, .07), transparent 60%),
        radial-gradient(500px 400px at 5% 40%, rgba(176, 137, 104, .06), transparent 60%),
        var(--bg);
    color: var(--text);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; transition: color .2s; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font: inherit; }
ul { list-style: none; }

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

h1, h2, h3, h4, h5 {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 600;
    letter-spacing: -.015em;
    line-height: 1.15;
    color: var(--primary);
}
h1 em, h2 em, h3 em {
    font-style: italic;
    font-weight: 500;
    color: var(--accent-2);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    font-size: .92rem;
    letter-spacing: .01em;
    border-radius: var(--radius);
    border: 1px solid transparent;
    transition: transform .2s, background .2s, color .2s, border-color .2s, box-shadow .2s;
    white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; }
.btn-primary {
    background: var(--grad-green);
    color: #fff;
    box-shadow: var(--shadow-primary);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px -10px rgba(45, 106, 79, .5);
}
.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--border-strong);
}
.btn-outline:hover {
    border-color: var(--primary);
    background: var(--surface);
}
.btn-sm { padding: 10px 20px; font-size: .85rem; }
.btn-block { width: 100%; }

/* Topbar */
.topbar {
    background: var(--primary);
    color: rgba(255, 255, 255, .85);
    font-size: .82rem;
    padding: 10px 0;
}
.topbar-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.topbar-left { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; }
.topbar span, .topbar a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color .2s;
}
.topbar svg { width: 14px; height: 14px; opacity: .7; }
.tb-phone { color: var(--accent-3); font-weight: 700; }
.tb-phone:hover { color: #fff; }

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 90;
    background: rgba(250, 250, 245, .96);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow .2s;
}
.header.scrolled { box-shadow: var(--shadow-sm); }
.header-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
    width: 48px; height: 48px;
    display: grid; place-items: center;
    color: var(--primary);
    background: transparent;
}
.brand-mark svg { width: 100%; height: 100%; }
.brand-mark-light { color: var(--accent-3); }
.brand-text b {
    display: block;
    font-family: 'Fraunces', serif;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: .12em;
    color: var(--primary);
    line-height: 1;
}
.brand-text span {
    display: block;
    font-size: .72rem;
    color: var(--text-3);
    letter-spacing: .06em;
    margin-top: 4px;
    font-style: italic;
}
.footer .brand-text b { color: var(--accent-3); }
.footer .brand-text span { color: rgba(255, 255, 255, .5); }

.nav { display: flex; gap: 2px; }
.nav a {
    padding: 8px 14px;
    font-size: .9rem;
    font-weight: 500;
    color: var(--text-2);
    border-radius: var(--radius);
    transition: color .2s, background .2s;
}
.nav a:hover { color: var(--primary); background: rgba(45, 106, 79, .06); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.menu-toggle {
    display: none;
    width: 40px; height: 40px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    background: transparent;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
}
.menu-toggle span {
    display: block;
    width: 18px; height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: .2s;
}
.menu-toggle.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Hero */
.hero {
    position: relative;
    padding: 60px 0 100px;
    overflow: hidden;
}
.hero-leaves {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}
.leaf {
    position: absolute;
    font-size: 2rem;
    opacity: .35;
    animation: leaf-float 10s ease-in-out infinite;
}
.leaf.l1 { top: 8%; left: 6%; font-size: 2.4rem; animation-delay: 0s; }
.leaf.l2 { top: 20%; right: 10%; font-size: 2.6rem; animation-delay: -3s; }
.leaf.l3 { top: 65%; left: 4%; font-size: 1.8rem; animation-delay: -6s; }
.leaf.l4 { bottom: 15%; right: 8%; font-size: 2.2rem; animation-delay: -2s; }
.leaf.l5 { top: 45%; left: 45%; font-size: 1.4rem; animation-delay: -5s; opacity: .2; }
@keyframes leaf-float {
    0%, 100% { transform: translateY(0) rotate(-3deg); }
    50%      { transform: translateY(-30px) rotate(6deg); }
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 60px;
    align-items: center;
    padding-top: 20px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 16px;
    background: #fff;
    border: 1px solid var(--border-strong);
    border-radius: 100px;
    font-size: .78rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: .02em;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
}
.hero-eyebrow .dot {
    width: 8px; height: 8px;
    background: var(--primary-3);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary-3);
    animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot { 50% { transform: scale(1.4); opacity: .5; } }

.hero-role {
    font-family: 'Manrope', sans-serif;
    font-size: .95rem;
    font-weight: 600;
    color: var(--accent-2);
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.hero-content h1 {
    font-size: clamp(2.4rem, 5vw, 4.2rem);
    line-height: 1.02;
    margin-bottom: 24px;
}

.hero-lead {
    font-size: 1.1rem;
    color: var(--text-2);
    max-width: 540px;
    margin-bottom: 32px;
    line-height: 1.7;
}
.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}
.hero-facts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 540px;
    padding-top: 24px;
    border-top: 1px solid var(--border-strong);
}
.fact b {
    display: block;
    font-family: 'Fraunces', serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}
.fact span {
    display: block;
    margin-top: 4px;
    font-size: .78rem;
    color: var(--text-3);
    letter-spacing: .02em;
}

/* Portrait */
.hero-visual {
    position: relative;
    height: 460px;
    display: grid;
    place-items: center;
}
.portrait {
    position: relative;
    width: 300px;
    height: 300px;
    display: grid;
    place-items: center;
}
.portrait-inner {
    width: 260px;
    height: 260px;
    background: var(--grad-green);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    font-family: 'Fraunces', serif;
    font-size: 6rem;
    font-weight: 700;
    box-shadow: 0 30px 70px -20px rgba(45, 106, 79, .5);
    position: relative;
    z-index: 2;
    animation: bob 5s ease-in-out infinite;
}
@keyframes bob { 50% { transform: translateY(-14px); } }
.portrait-ring {
    position: absolute;
    inset: -20px;
    border: 2px dashed var(--accent);
    border-radius: 50%;
    opacity: .5;
    animation: rotate 40s linear infinite;
}
@keyframes rotate { to { transform: rotate(360deg); } }
.portrait-orbit {
    position: absolute;
    inset: 0;
    animation: rotate 30s linear infinite;
}
.o {
    position: absolute;
    width: 50px; height: 50px;
    background: #fff;
    border: 2px solid var(--accent-3);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 1.4rem;
    box-shadow: var(--shadow-md);
    animation: rotate-back 30s linear infinite;
}
@keyframes rotate-back { to { transform: rotate(-360deg); } }
.o.o1 { top: -5%; left: 40%; }
.o.o2 { top: 40%; right: -5%; }
.o.o3 { bottom: -5%; left: 40%; }
.o.o4 { top: 40%; left: -5%; }

.hero-badge {
    position: absolute;
    top: 20px;
    right: -20px;
    background: #fff;
    padding: 12px 20px;
    border-radius: 100px;
    border: 2px solid var(--primary-3);
    box-shadow: var(--shadow-md);
    transform: rotate(6deg);
    text-align: center;
    line-height: 1;
    animation: bob 4s ease-in-out infinite -2s;
}
.hero-badge b {
    display: block;
    font-family: 'Fraunces', serif;
    font-size: 1rem;
    color: var(--primary);
    font-weight: 700;
}
.hero-badge span {
    font-size: .7rem;
    color: var(--text-3);
    letter-spacing: .04em;
}

/* Sections */
.section { padding: 90px 0; position: relative; }
.section-alt { background: linear-gradient(180deg, transparent, rgba(45, 106, 79, .04), transparent); }
.section-dark { background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: rgba(255, 255, 255, .9); }
.section-dark h2 { color: #fff; }

.section-head {
    max-width: 720px;
    margin: 0 auto 50px;
    text-align: center;
}
.section-caps {
    display: inline-block;
    font-size: .78rem;
    font-weight: 700;
    color: var(--accent-2);
    letter-spacing: .16em;
    text-transform: uppercase;
    padding: 0 40px;
    position: relative;
    margin-bottom: 18px;
}
.section-caps::before,
.section-caps::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30px; height: 1px;
    background: var(--accent);
}
.section-caps::before { left: 0; }
.section-caps::after { right: 0; }
.section-caps.light { color: var(--accent-3); }
.section-caps.light::before,
.section-caps.light::after { background: var(--accent-3); }

.section-head h2 {
    font-size: clamp(1.9rem, 3.5vw, 2.8rem);
    line-height: 1.1;
}

.sub-title {
    font-family: 'Fraunces', serif;
    font-size: 1.4rem;
    color: var(--primary);
    text-align: center;
    margin: 60px 0 30px;
    font-weight: 700;
}

/* About */
.about-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.about-item {
    padding: 32px 26px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform .25s, border-color .25s, box-shadow .25s;
}
.about-item:hover { transform: translateY(-6px); border-color: var(--primary-3); box-shadow: var(--shadow-md); }
.about-icon {
    font-size: 3rem;
    margin-bottom: 18px;
}
.about-item h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}
.about-item p {
    color: var(--text-2);
    font-size: .95rem;
    line-height: 1.6;
}

/* Experience */
.exp-timeline {
    max-width: 950px;
    margin: 0 auto;
}
.exp-item {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 40px;
    padding: 40px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    position: relative;
    transition: transform .25s;
}
.exp-item:hover { transform: translateY(-4px); }
.exp-item.current {
    border-left: 4px solid var(--primary-3);
    background: linear-gradient(135deg, #fff, rgba(45, 106, 79, .04));
}
.exp-side {
    padding-top: 4px;
}
.exp-year {
    font-family: 'Fraunces', serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.3;
    margin-bottom: 6px;
}
.exp-duration {
    font-size: .78rem;
    color: var(--text-3);
    letter-spacing: .04em;
}
.exp-company {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px dashed var(--border-strong);
}
.company-badge {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(64, 145, 108, .12);
    color: var(--primary);
    border-radius: 100px;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    width: fit-content;
}
.exp-company h3 {
    font-size: 1.55rem;
    color: var(--primary);
    line-height: 1.1;
}
.exp-city {
    font-size: .88rem;
    color: var(--text-3);
    font-weight: 500;
}
.exp-role {
    margin-bottom: 16px;
}
.role-label {
    display: block;
    font-size: .72rem;
    color: var(--text-3);
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 4px;
    font-weight: 600;
}
.exp-role b {
    font-family: 'Fraunces', serif;
    font-size: 1.15rem;
    color: var(--primary);
    font-weight: 700;
}
.exp-description {
    color: var(--text-2);
    margin-bottom: 20px;
    line-height: 1.6;
}
.exp-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.tag {
    padding: 5px 12px;
    background: rgba(176, 137, 104, .12);
    border: 1px solid rgba(176, 137, 104, .3);
    border-radius: 100px;
    font-size: .78rem;
    color: var(--accent-2);
    font-weight: 600;
}

/* Education */
.edu-card {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 40px;
    padding: 40px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    align-items: center;
}
.edu-side {
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, rgba(45, 106, 79, .08), transparent);
    border-radius: var(--radius-lg);
}
.edu-icon { font-size: 4rem; margin-bottom: 12px; }
.edu-year {
    font-family: 'Fraunces', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}
.edu-level {
    display: inline-block;
    padding: 4px 12px;
    background: var(--primary);
    color: #fff;
    border-radius: 100px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.edu-body h3 {
    font-size: 1.5rem;
    color: var(--primary);
    line-height: 1.1;
    margin-bottom: 6px;
}
.edu-city {
    font-size: .88rem;
    color: var(--text-3);
    margin-bottom: 14px;
    font-weight: 500;
}
.edu-specialty {
    padding: 14px 18px;
    background: rgba(64, 145, 108, .06);
    border-radius: 8px;
    margin-bottom: 14px;
}
.spec-label {
    display: block;
    font-size: .72rem;
    color: var(--text-3);
    letter-spacing: .04em;
    margin-bottom: 2px;
}
.edu-specialty b {
    font-family: 'Fraunces', serif;
    font-size: 1.05rem;
    color: var(--primary);
}
.edu-desc {
    color: var(--text-2);
    font-size: .93rem;
    line-height: 1.6;
}

/* Skills */
.skills-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}
.skill-card {
    padding: 26px 22px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform .25s, border-color .25s, box-shadow .25s;
}
.skill-card:hover { transform: translateY(-4px); border-color: var(--primary-3); box-shadow: var(--shadow-md); }
.skill-icon {
    width: 60px; height: 60px;
    display: grid; place-items: center;
    background: linear-gradient(135deg, var(--primary-3), var(--primary));
    color: #fff;
    border-radius: 50%;
    font-size: 1.6rem;
    margin: 0 auto 14px;
    box-shadow: var(--shadow-primary);
}
.skill-card h4 {
    font-size: 1.05rem;
    color: var(--primary);
    margin-bottom: 8px;
    font-weight: 700;
}
.skill-card p {
    color: var(--text-2);
    font-size: .88rem;
    line-height: 1.5;
}

/* PC skills */
.pc-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 14px;
}
.pc-card {
    padding: 22px 18px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform .25s, border-color .25s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.pc-card:hover { transform: translateY(-4px); border-color: var(--primary-3); }
.pc-logo {
    width: 54px; height: 54px;
    display: grid; place-items: center;
    color: #fff;
    font-family: 'Fraunces', serif;
    font-weight: 800;
    font-size: 1.4rem;
    border-radius: 12px;
    margin-bottom: 8px;
}
.pc-word     { background: linear-gradient(135deg, #2b579a, #1e3f6b); }
.pc-excel    { background: linear-gradient(135deg, #217346, #124e2b); }
.pc-ppt      { background: linear-gradient(135deg, #c43e1c, #8a2a13); }
.pc-outlook  { background: linear-gradient(135deg, #0078d4, #005a9e); }
.pc-internet { background: linear-gradient(135deg, #4285f4, #ea4335); font-size: 1.6rem; }
.pc-pc       { background: linear-gradient(135deg, #64748b, #334155); font-size: 1.6rem; }
.pc-card b {
    font-family: 'Fraunces', serif;
    font-size: .95rem;
    color: var(--primary);
    font-weight: 700;
}
.pc-card span {
    font-size: .75rem;
    color: var(--text-3);
    letter-spacing: .02em;
}

/* Languages */
.langs {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.lang-card {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 20px;
    align-items: center;
    padding: 22px 26px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: transform .25s, border-color .25s;
}
.lang-card:hover { transform: translateX(4px); border-color: var(--primary-3); }
.lang-flag {
    font-size: 3rem;
    text-align: center;
}
.lang-info b {
    display: block;
    font-family: 'Fraunces', serif;
    font-size: 1.15rem;
    color: var(--primary);
    margin-bottom: 8px;
    font-weight: 700;
}
.lang-bar {
    height: 8px;
    background: var(--bg-2);
    border-radius: 100px;
    overflow: hidden;
    margin-bottom: 6px;
}
.lang-fill {
    height: 100%;
    background: var(--grad-green);
    border-radius: 100px;
    transition: width 1s ease;
}
.lang-info span {
    font-size: .82rem;
    color: var(--text-3);
    font-style: italic;
}

/* Personal qualities */
.qualities-grid {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}
.quality {
    padding: 16px 22px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    color: var(--primary);
    font-weight: 600;
    font-size: .95rem;
    transition: transform .2s, border-color .2s;
}
.quality:hover { transform: translateX(4px); border-color: var(--primary-3); }

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}
.contact-info h2 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    margin: 16px 0 20px;
}
.contact-info > p {
    color: rgba(255, 255, 255, .8);
    margin-bottom: 30px;
    font-size: 1rem;
}
.contact-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.c-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: var(--radius-lg);
    color: #fff;
    transition: transform .2s, background .2s;
}
.c-item:hover { transform: translateY(-3px); background: rgba(255, 255, 255, .1); }
.c-icon {
    width: 44px; height: 44px;
    background: rgba(255, 255, 255, .1);
    border-radius: 50%;
    display: grid; place-items: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}
.c-item small {
    display: block;
    font-size: .72rem;
    color: rgba(255, 255, 255, .55);
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-bottom: 2px;
}
.c-item b {
    font-family: 'Fraunces', serif;
    font-size: .95rem;
    color: #fff;
    font-weight: 700;
}

.contact-form {
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: var(--radius-lg);
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
    font-size: .78rem;
    font-weight: 700;
    color: rgba(255, 255, 255, .8);
    letter-spacing: .04em;
    text-transform: uppercase;
}
.field input, .field textarea {
    padding: 12px 14px;
    background: rgba(0, 0, 0, .2);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: var(--radius);
    color: #fff;
    font-size: .95rem;
    font-family: inherit;
    transition: border-color .2s, background .2s;
}
.field input:focus, .field textarea:focus {
    outline: none;
    border-color: var(--accent-3);
    background: rgba(0, 0, 0, .3);
}
.field input::placeholder, .field textarea::placeholder { color: rgba(255, 255, 255, .3); }
.field textarea { resize: vertical; min-height: 80px; }
.contact-form .btn { padding: 16px; background: var(--grad-earth); color: #fff; }
.contact-form .btn:hover { transform: translateY(-2px); }
.form-note {
    text-align: center;
    font-size: .78rem;
    color: rgba(255, 255, 255, .5);
}
.form-success {
    display: none;
    padding: 12px;
    background: rgba(74, 222, 128, .12);
    border: 1px solid rgba(74, 222, 128, .3);
    border-radius: var(--radius);
    color: #86efac;
    text-align: center;
    font-weight: 600;
    font-size: .9rem;
}
.form-success.show { display: block; }

/* Footer */
.footer {
    padding: 60px 0 24px;
    background: var(--primary-2);
    color: rgba(255, 255, 255, .7);
    font-size: .9rem;
}
.footer .brand-mark { color: var(--accent-3); }
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    margin-bottom: 24px;
}
.footer h4 {
    color: var(--accent-3);
    font-size: .82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-bottom: 16px;
    font-family: 'Manrope', sans-serif;
}
.footer > .container > .footer-grid > div:first-child p {
    color: rgba(255, 255, 255, .6);
    max-width: 320px;
    font-size: .88rem;
    margin-top: 14px;
}
.footer ul { display: flex; flex-direction: column; gap: 10px; }
.footer ul li, .footer ul a {
    color: rgba(255, 255, 255, .6);
    font-size: .88rem;
    transition: color .2s;
}
.footer ul a:hover { color: var(--accent-3); }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    color: rgba(255, 255, 255, .4);
    font-size: .78rem;
    flex-wrap: wrap;
    gap: 12px;
}

/* Floating */
.fab-wa {
    position: fixed;
    bottom: 90px;
    right: 24px;
    width: 54px; height: 54px;
    display: grid; place-items: center;
    background: var(--wa);
    color: #fff;
    border-radius: 50%;
    box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .5);
    z-index: 80;
    transition: transform .2s;
    animation: bob 3s ease-in-out infinite;
}
.fab-wa svg { width: 28px; height: 28px; }
.fab-wa:hover { transform: scale(1.1); animation: none; }

.to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 46px; height: 46px;
    display: grid; place-items: center;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: opacity .3s, transform .3s;
    z-index: 80;
}
.to-top svg { width: 18px; height: 18px; }
.to-top.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.to-top:hover { background: var(--primary-3); }

/* Responsive */
@media (max-width: 1000px) {
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero-visual { order: -1; height: 340px; }
    .portrait, .portrait-inner { width: 240px; height: 240px; font-size: 5rem; }
    .about-grid { grid-template-columns: 1fr; }
    .exp-item, .edu-card { grid-template-columns: 1fr; gap: 20px; }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .contact-list { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 800px) {
    .nav {
        position: absolute;
        top: calc(100% + 8px);
        left: 20px; right: 20px;
        flex-direction: column;
        background: #fff;
        border: 1px solid var(--border);
        border-radius: var(--radius-lg);
        padding: 14px;
        gap: 4px;
        box-shadow: var(--shadow-lg);
        opacity: 0;
        transform: translateY(-10px);
        pointer-events: none;
        transition: all .25s;
    }
    .nav.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
    .nav a { padding: 12px 16px; }
    .menu-toggle { display: flex; }
    .hide-md { display: none; }
    .hero-facts { grid-template-columns: 1fr 1fr; }
    .section { padding: 60px 0; }
    .exp-item, .edu-card { padding: 26px; }
    .contact-form { padding: 24px; }
}
@media (max-width: 500px) {
    .container { padding: 0 16px; }
    .btn { padding: 12px 20px; font-size: .87rem; }
    .header-inner { padding: 12px 16px; }
    .brand-text span { display: none; }
    .hero-badge { right: 0; transform: rotate(4deg); }
    .footer-bottom { flex-direction: column; text-align: center; }
}

/* ==================== Рекомендации ==================== */
.rec-grid { display: grid; gap: 24px; }
.rec-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}
.rec-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--primary), var(--primary-3));
}
.rec-badge {
    position: absolute;
    top: 24px; right: 24px;
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, rgba(45,106,79,.08), rgba(45,106,79,.02));
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--primary);
}
.rec-badge svg { width: 22px; height: 22px; }
.rec-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 22px;
    padding-right: 60px;
}
.rec-meta { flex: 1; min-width: 0; }
.rec-num {
    display: inline-block;
    font-size: .75rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 2px;
    text-transform: uppercase;
    background: rgba(45,106,79,.08);
    padding: 4px 10px;
    border-radius: 6px;
    margin-bottom: 10px;
}
.rec-meta h3 {
    font-family: 'Fraunces', serif;
    font-size: 1.6rem;
    color: var(--primary-2);
    margin: 0 0 6px;
    line-height: 1.2;
}
.rec-city {
    font-size: .88rem;
    color: var(--text-dim);
}
.rec-quote {
    background: linear-gradient(180deg, rgba(45,106,79,.04), rgba(45,106,79,.01));
    border-left: 3px solid var(--primary-3);
    border-radius: 0 12px 12px 0;
    padding: 20px 24px;
    margin: 0 0 22px;
    font-family: 'Fraunces', serif;
    font-size: 1.05rem;
    color: var(--text);
    line-height: 1.65;
}
.rec-quote p { margin: 0 0 10px; }
.rec-quote p:last-child { margin-bottom: 0; }
.rec-quote b {
    color: var(--primary);
    font-weight: 600;
    background: rgba(45,106,79,.08);
    padding: 1px 5px;
    border-radius: 3px;
}
.rec-foot {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    padding-top: 20px;
    border-top: 1px dashed var(--border-strong);
    flex-wrap: wrap;
}
.rec-signer b {
    display: block;
    font-family: 'Fraunces', serif;
    font-size: 1.15rem;
    color: var(--primary-2);
    margin-bottom: 2px;
}
.rec-signer span {
    font-size: .82rem;
    color: var(--text-dim);
}
.rec-contacts {
    display: flex; flex-direction: column;
    gap: 4px;
    font-size: .82rem;
    color: var(--text-dim);
    text-align: right;
}
@media (max-width: 700px) {
    .rec-card { padding: 24px 20px; }
    .rec-head { flex-direction: column; padding-right: 50px; }
    .rec-badge { top: 20px; right: 20px; width: 38px; height: 38px; }
    .rec-badge svg { width: 18px; height: 18px; }
    .rec-meta h3 { font-size: 1.35rem; }
    .rec-quote { padding: 16px 18px; font-size: .98rem; }
    .rec-foot { flex-direction: column; align-items: flex-start; }
    .rec-contacts { text-align: left; }
}

/* ==================== Photo portrait ==================== */
.portrait-photo {
    width: 260px;
    height: 260px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 30%;
    box-shadow: 0 30px 70px -20px rgba(45, 106, 79, .5), 0 0 0 6px rgba(45, 106, 79, .1);
    border: 4px solid #fff;
    position: relative;
    z-index: 2;
    animation: bob 5s ease-in-out infinite;
}
@media (max-width: 780px) {
    .portrait-photo { width: 220px; height: 220px; }
}

/* Достижения списком в experience */
.exp-achievements {
    list-style: none;
    padding: 14px 0 0;
    margin: 12px 0 16px;
    border-top: 1px dashed var(--border-strong);
}
.exp-achievements li {
    position: relative;
    padding: 6px 0 6px 24px;
    font-size: .95rem;
    color: var(--text);
    line-height: 1.5;
}
.exp-achievements li::before {
    content: '✓';
    position: absolute;
    left: 0; top: 6px;
    color: var(--primary);
    font-weight: 700;
}
.exp-achievements b { color: var(--primary-2); font-weight: 600; }

/* Дополнительная информация карточками */
.extra-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin-top: 32px;
    padding-top: 28px;
    border-top: 1px dashed var(--border-strong);
}
.extra-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
.extra-icon {
    font-size: 1.8rem;
    line-height: 1;
    width: 44px; height: 44px;
    display: grid; place-items: center;
    background: linear-gradient(135deg, rgba(45,106,79,.08), rgba(45,106,79,.02));
    border-radius: 10px;
}
.extra-text b {
    display: block;
    font-family: 'Fraunces', serif;
    font-size: 1rem;
    color: var(--primary-2);
    margin-bottom: 2px;
}
.extra-text span {
    font-size: .85rem;
    color: var(--text-dim);
}

/* ==================== Language switcher ==================== */
.lang-switch {
    display: inline-flex;
    gap: 2px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 8px;
    padding: 2px;
    margin-right: 12px;
}
.lang-switch button {
    background: transparent;
    color: rgba(255,255,255,.65);
    border: none;
    padding: 4px 10px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 6px;
    cursor: pointer;
    transition: all .15s;
    font-family: 'Manrope', sans-serif;
}
.lang-switch button:hover { color: #fff; }
.lang-switch button.active {
    background: var(--accent);
    color: #fff;
}
@media (max-width: 500px) {
    .lang-switch { margin-right: 8px; }
    .lang-switch button { padding: 4px 7px; font-size: .68rem; }
}
