@import url('https://fonts.googleapis.com/css2?family=PT+Sans:wght@400;700&family=PT+Sans+Narrow:wght@700&family=Manrope:wght@300;400;500;600;700;800&display=swap');

/* ===== TOKENS ===== */
:root {
    --blue: #0A1F6E;
    --blue-mid: #1535A8;
    --blue-light: #E8EDFF;
    --green: #1D8348;
    --green-light: #D4EFDF;
    --gold: #F4C430;
    --gold-dark: #D4A017;
    --dark: #080F2A;
    --white: #FFFFFF;
    --off-white: #F7F8FC;
    --gray: #8A93AB;
    --text: #1A2035;
    --border: rgba(10,31,110,0.1);
    --shadow: 0 8px 32px rgba(10,31,110,0.1);
    --shadow-lg: 0 20px 60px rgba(10,31,110,0.15);
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --radius: 16px;
    --radius-sm: 10px;
}

/* ===== RESET ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: 'PT Sans', sans-serif;
    color: var(--text);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    background: var(--white);
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* ===== UTILS ===== */
.container { max-width: 1260px; margin: 0 auto; padding: 0 24px; }
.eyebrow {
    font-family: 'PT Sans Narrow', sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--green);
    margin-bottom: 14px;
}
.section-header { margin-bottom: 60px; }
.section-header h2 {
    font-family: 'PT Sans Narrow', sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 700;
    color: var(--blue);
    line-height: 1.2;
}
.section-header.light h2 { color: var(--white); }
.section-header.light .eyebrow { color: var(--gold); }
.section-header p { margin-top: 16px; color: var(--gray); font-size: 1.05rem; max-width: 600px; }
.section-header.light p { color: rgba(255,255,255,0.7); }

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow 0.3s var(--ease);
}
.header.scrolled { box-shadow: var(--shadow); }
.nav-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
    gap: 24px;
}
.logo-img { height: 40px; }
.nav-menu {
    display: flex;
    gap: 6px;
    list-style: none;
}
.nav-menu a {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    padding: 8px 14px;
    border-radius: 8px;
    transition: all 0.2s var(--ease);
    white-space: nowrap;
}
.nav-menu a:hover { background: var(--blue-light); color: var(--blue); }
.nav-menu .nav-cta {
    background: var(--blue);
    color: var(--white);
    padding: 9px 18px;
}
.nav-menu .nav-cta:hover { background: var(--blue-mid); color: var(--white); }
.header-right { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.lang-switcher {
    display: flex;
    background: var(--off-white);
    border-radius: 8px;
    padding: 3px;
    gap: 2px;
}
.lang-switcher button {
    background: transparent;
    border: none;
    color: var(--gray);
    padding: 6px 11px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.5px;
    transition: all 0.2s var(--ease);
}
.lang-switcher button.active {
    background: var(--white);
    color: var(--blue);
    box-shadow: 0 1px 4px rgba(0,0,0,0.12);
}
.burger { display: none; background: none; border: none; font-size: 22px; color: var(--blue); }

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 76px;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--dark) 0%, #0d2a8f 50%, #041550 100%);
    z-index: 0;
}
.hero-bg::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(244,196,48,0.12) 0%, transparent 70%);
    border-radius: 50%;
}
.hero-bg::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(29,131,72,0.15) 0%, transparent 65%);
    border-radius: 50%;
}
.hero-grid-overlay {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    padding: 100px 24px;
    max-width: 800px;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(244,196,48,0.15);
    border: 1px solid rgba(244,196,48,0.3);
    color: var(--gold);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 8px 16px;
    border-radius: 100px;
    margin-bottom: 32px;
}
.hero-badge::before {
    content: '';
    width: 6px; height: 6px;
    background: var(--gold);
    border-radius: 50%;
    animation: blink 2s infinite;
}
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}
.hero-content h1 {
    font-family: 'PT Sans Narrow', sans-serif;
    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 28px;
    letter-spacing: -1px;
}
.hero-content p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255,255,255,0.75);
    max-width: 560px;
    margin-bottom: 48px;
}
.hero-stats {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 48px;
    flex-wrap: wrap;
    gap: 8px;
}
.hstat {
    display: flex;
    flex-direction: column;
    padding: 16px 28px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-sm);
    min-width: 130px;
}
.hnum {
    font-family: 'PT Sans Narrow', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    color: var(--gold);
    line-height: 1;
}
.hlabel {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    margin-top: 4px;
    font-weight: 500;
}
.hstat-divider { display: none; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-primary {
    background: var(--gold);
    color: var(--dark);
    font-weight: 800;
    font-size: 14px;
    padding: 16px 32px;
    border-radius: 10px;
    letter-spacing: 0.5px;
    transition: all 0.25s var(--ease);
    display: inline-block;
}
.btn-primary:hover {
    background: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(244,196,48,0.4);
}
.btn-ghost {
    background: transparent;
    color: rgba(255,255,255,0.85);
    font-weight: 700;
    font-size: 14px;
    padding: 16px 32px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.25);
    transition: all 0.25s var(--ease);
    display: inline-block;
}
.btn-ghost:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.5);
    color: var(--white);
}
.hero-scroll-hint {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}
.hero-scroll-hint span {
    display: block;
    width: 2px;
    height: 50px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
    margin: 0 auto;
    animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
    0% { opacity: 0; transform: scaleY(0); transform-origin: top; }
    50% { opacity: 1; transform: scaleY(1); }
    100% { opacity: 0; transform: scaleY(0); transform-origin: bottom; }
}

/* ===== ABOUT ===== */
.section-about { padding: 120px 0; }
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}
.about-text h2 {
    font-family: 'PT Sans Narrow', sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 700;
    color: var(--blue);
    margin-bottom: 24px;
    line-height: 1.2;
}
.about-text p {
    color: #4A5568;
    font-size: 1.05rem;
    margin-bottom: 18px;
}
.about-licenses { margin-top: 36px; display: flex; flex-direction: column; gap: 12px; }
.lic-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: var(--off-white);
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--green);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
}
.lic-item i { color: var(--green); margin-top: 2px; font-size: 14px; flex-shrink: 0; }
.res-card-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 32px;
}
.res-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.25s var(--ease);
}
.res-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.res-icon { font-size: 1.6rem; color: var(--blue); margin-bottom: 10px; }
.res-num {
    font-family: 'PT Sans Narrow', sans-serif;
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--blue);
    line-height: 1;
}
.res-label {
    font-size: 0.82rem;
    color: var(--gray);
    margin-top: 6px;
    font-weight: 600;
    line-height: 1.4;
}
.res-label small { font-size: 0.75rem; }
.about-map-wrap { position: relative; }
.about-map {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}
.map-caption {
    text-align: center;
    font-size: 0.85rem;
    color: var(--gray);
    margin-top: 12px;
    font-weight: 600;
}

/* ===== SERVICES ===== */
.section-services {
    padding: 120px 0;
    background: var(--off-white);
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.srv-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 36px 32px;
    border: 1px solid var(--border);
    transition: all 0.3s var(--ease);
    position: relative;
    overflow: hidden;
}
.srv-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--border);
    transition: all 0.3s var(--ease);
}
.srv-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.srv-card:hover::before { background: var(--green); }
.srv-card.srv-main {
    grid-column: span 2;
    background: var(--blue);
    color: var(--white);
    border-color: transparent;
}
.srv-card.srv-main::before { background: var(--gold); }
.srv-number {
    font-family: 'PT Sans Narrow', sans-serif;
    font-size: 11px;
    font-weight: 900;
    color: var(--gray);
    letter-spacing: 2px;
    margin-bottom: 20px;
}
.srv-card.srv-main .srv-number { color: rgba(255,255,255,0.4); }
.srv-icon { font-size: 2rem; color: var(--blue); margin-bottom: 16px; }
.srv-card.srv-main .srv-icon { color: var(--gold); }
.srv-card h3 {
    font-family: 'PT Sans Narrow', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--blue);
    margin-bottom: 12px;
    line-height: 1.3;
}
.srv-card.srv-main h3 { color: var(--white); font-size: 1.3rem; }
.srv-card p { font-size: 0.92rem; color: var(--gray); line-height: 1.6; }
.srv-card.srv-main p { color: rgba(255,255,255,0.75); }
.srv-list {
    margin-top: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.srv-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.85);
    font-weight: 500;
}
.srv-list li::before {
    content: '→';
    color: var(--gold);
    font-weight: 900;
    flex-shrink: 0;
}

/* ===== PROJECTS ===== */
.section-projects {
    padding: 120px 0;
    background: var(--dark);
    position: relative;
    overflow: hidden;
}
.section-projects::before {
    content: '';
    position: absolute;
    top: -200px; right: -200px;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(10,31,110,0.5) 0%, transparent 65%);
    pointer-events: none;
}
.projects-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}
.tab-btn {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.6);
    padding: 10px 22px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 13px;
    transition: all 0.2s var(--ease);
}
.tab-btn:hover { background: rgba(255,255,255,0.1); color: var(--white); }
.tab-btn.active {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--dark);
}
.tab-content { display: none; }
.tab-content.active { display: block; }
.proj-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.proj-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    padding: 32px;
    transition: all 0.3s var(--ease);
}
.proj-card:hover {
    background: rgba(255,255,255,0.07);
    border-color: rgba(255,255,255,0.2);
    transform: translateY(-4px);
}
.proj-card.big { grid-column: span 2; }
.proj-client {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 12px;
}
.proj-scope {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 20px;
}
.proj-num {
    font-family: 'PT Sans Narrow', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1;
}
.proj-unit { color: rgba(255,255,255,0.5); font-size: 0.9rem; font-weight: 600; }
.proj-details li {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 8px;
    padding-left: 16px;
    position: relative;
}
.proj-details li::before {
    content: '–';
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: 700;
}
.proj-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 20px;
}
.proj-tags span {
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.6);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: 100px;
    border: 1px solid rgba(255,255,255,0.1);
}

/* ===== ADVANTAGES ===== */
.section-advantages { padding: 120px 0; background: var(--white); }
.adv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.adv-item {
    padding: 36px 32px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: all 0.3s var(--ease);
    position: relative;
}
.adv-item:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--blue-light);
    transform: translateY(-4px);
}
.adv-icon {
    width: 52px; height: 52px;
    background: var(--blue-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--blue);
    margin-bottom: 20px;
}
.adv-item h4 {
    font-family: 'PT Sans Narrow', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--blue);
    margin-bottom: 12px;
}
.adv-item p { font-size: 0.92rem; color: var(--gray); line-height: 1.65; }

/* ===== VENDORS ===== */
.section-vendors {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--blue) 0%, #0d2280 100%);
    position: relative;
    overflow: hidden;
}
.section-vendors::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}
.vendors-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}
.vlogo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: var(--radius-sm);
    padding: 20px 28px;
    min-width: 120px;
    transition: all 0.25s var(--ease);
}
.vlogo:hover {
    background: rgba(255,255,255,0.13);
    border-color: rgba(255,255,255,0.3);
    transform: translateY(-4px);
}
.vlogo img {
    max-width: 100px;
    max-height: 36px;
    object-fit: contain;
    filter: none;
    opacity: 0.75;
    transition: opacity 0.25s;
}
.vlogo:hover img { opacity: 1; filter: none; }
.vlogo span {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.45);
    text-transform: uppercase;
}
.vendors-note {
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 0.88rem;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* ===== FOOTER ===== */
.footer { background: var(--dark); }
.footer-top { padding: 80px 0 60px; }
.footer-top-inner {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 80px;
}
.footer-logo { height: 40px; margin-bottom: 20px; filter: brightness(0) invert(1); opacity: 0.9; }
.footer-brand p { color: rgba(255,255,255,0.55); font-size: 0.9rem; margin-bottom: 24px; }
.footer-contact-main { display: flex; flex-direction: column; gap: 8px; margin-bottom: 32px; }
.footer-contact-main a {
    color: rgba(255,255,255,0.65);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.2s;
}
.footer-contact-main a:hover { color: var(--gold); }
.footer-contact-main i { color: var(--gold); width: 14px; }
.director-block {
    padding: 20px;
    background: rgba(255,255,255,0.05);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255,255,255,0.08);
}
.director-name {
    font-weight: 800;
    color: var(--white);
    font-size: 1rem;
}
.director-title {
    color: rgba(255,255,255,0.5);
    font-size: 0.82rem;
    margin: 4px 0 12px;
}
.director-phone {
    color: var(--gold);
    font-weight: 700;
    font-size: 1.1rem;
    transition: opacity 0.2s;
}
.director-phone:hover { opacity: 0.8; }
.footer-offices h3 {
    font-family: 'PT Sans Narrow', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 24px;
}
.offices-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.office-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-sm);
    padding: 20px;
    transition: all 0.2s var(--ease);
}
.office-card:hover { background: rgba(255,255,255,0.07); }
.office-city {
    font-weight: 800;
    color: var(--white);
    font-size: 0.95rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.hq-badge {
    background: var(--gold);
    color: var(--dark);
    font-size: 10px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}
.office-addr, .office-phone {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.83rem;
    color: rgba(255,255,255,0.55);
    margin-bottom: 6px;
}
.office-addr i, .office-phone i { color: var(--gold); font-size: 11px; margin-top: 3px; flex-shrink: 0; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.07);
    padding: 24px 0;
}
.footer-bottom p {
    text-align: center;
    color: rgba(255,255,255,0.3);
    font-size: 0.85rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .srv-card.srv-main { grid-column: span 2; }
    .srv-list { grid-template-columns: 1fr 1fr; }
    .adv-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    .about-grid { grid-template-columns: 1fr; gap: 48px; }
    .proj-grid { grid-template-columns: 1fr; }
    .proj-card.big { grid-column: span 1; }
    .footer-top-inner { grid-template-columns: 1fr; gap: 48px; }
    .offices-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: fixed;
        top: 76px; left: 0; right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-lg);
        gap: 4px;
    }
    .nav-menu.active { display: flex; }
    .nav-menu a { padding: 12px 16px; }
    .burger { display: block; }
    .section-about, .section-services, .section-advantages { padding: 80px 0; }
    .section-projects, .section-vendors { padding: 80px 0; }
    .services-grid { grid-template-columns: 1fr; }
    .srv-card.srv-main { grid-column: span 1; }
    .srv-list { grid-template-columns: 1fr; }
    .adv-grid { grid-template-columns: 1fr; }
    .hero-stats { gap: 8px; }
    .hstat { min-width: unset; flex: 1; }
    .offices-grid { grid-template-columns: 1fr; }
    .res-card-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
    .hero-content h1 { font-size: 2.4rem; }
    .hero-stats { flex-direction: column; }
    .hstat { width: 100%; flex-direction: row; justify-content: space-between; align-items: center; }
    .footer-top { padding: 60px 0 40px; }
}

/* ===== INTERACTIVE MAP PINS ===== */
.interactive-map {
    position: relative;
    display: block;
    border-radius: var(--radius);
    overflow: visible;
}
.interactive-map .about-map {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    display: block;
}

.map-pin {
    position: absolute;
    transform: translate(-50%, -100%);
    z-index: 10;
    cursor: pointer;
}

/* Pin dot */
.pin-dot {
    width: 18px;
    height: 18px;
    background: var(--blue);
    border: 3px solid var(--white);
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    box-shadow: 0 2px 8px rgba(10,31,110,0.4);
    transition: transform 0.2s var(--ease), background 0.2s;
    margin: 0 auto;
    position: relative;
    left: -1px;
}
.pin-dot-hq {
    background: var(--gold);
    width: 22px;
    height: 22px;
    border-color: var(--white);
    box-shadow: 0 2px 12px rgba(244,196,48,0.5);
}
.map-pin:hover .pin-dot {
    background: var(--green);
    transform: rotate(-45deg) scale(1.2);
}
.map-pin:hover .pin-dot-hq {
    background: var(--gold-dark);
}

/* Pulse ring on HQ */
.pin-dot-hq::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid rgba(244,196,48,0.5);
    animation: pinPulse 2s ease-out infinite;
    transform: rotate(45deg);
}
@keyframes pinPulse {
    0% { transform: rotate(45deg) scale(1); opacity: 0.6; }
    100% { transform: rotate(45deg) scale(2.2); opacity: 0; }
}

/* Popup card */
.pin-popup {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    width: 220px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(10,31,110,0.18);
    border: 1px solid var(--border);
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s var(--ease), transform 0.22s var(--ease);
    z-index: 100;
}
.map-pin:hover .pin-popup,
.map-pin.active .pin-popup {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

/* Popup arrow */
.pin-popup::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px; height: 12px;
    background: var(--white);
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    rotate: 45deg;
}

/* Popup variants */
.pin-popup-right {
    left: 12px;
    transform: translateX(0) translateY(6px);
}
.map-pin:hover .pin-popup-right,
.map-pin.active .pin-popup-right {
    transform: translateX(0) translateY(0);
}
.pin-popup-right::after { left: 16px; transform: none; }

.pin-popup-left {
    left: auto;
    right: 12px;
    transform: translateX(0) translateY(6px);
}
.map-pin:hover .pin-popup-left,
.map-pin.active .pin-popup-left {
    transform: translateX(0) translateY(0);
}
.pin-popup-left::after { left: auto; right: 16px; transform: none; }

/* top popup: show below pin */
.pin-popup-top {
    bottom: auto;
    top: calc(100% + 10px);
    transform: translateX(-50%) translateY(-6px);
}
.map-pin:hover .pin-popup-top,
.map-pin.active .pin-popup-top {
    transform: translateX(-50%) translateY(0);
}
.pin-popup-top::after {
    bottom: auto;
    top: -6px;
    rotate: 225deg;
}
.pin-popup-top.pin-popup-left {
    top: calc(100% + 10px);
    bottom: auto;
    left: auto;
    right: 12px;
    transform: translateX(0) translateY(-6px);
}
.map-pin:hover .pin-popup-top.pin-popup-left,
.map-pin.active .pin-popup-top.pin-popup-left {
    transform: translateX(0) translateY(0);
}

/* Photo */
.pin-photo {
    width: 100%;
    height: 110px;
    object-fit: cover;
    display: block;
}

/* Info */
.pin-info {
    padding: 12px 14px;
}
.pin-city {
    font-weight: 800;
    font-size: 0.92rem;
    color: var(--blue);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.pin-hq-badge {
    background: var(--gold);
    color: var(--dark);
    font-size: 9px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 3px;
    letter-spacing: 0.3px;
}
.pin-addr, .pin-phone {
    font-size: 0.78rem;
    color: var(--gray);
    display: flex;
    align-items: flex-start;
    gap: 6px;
    margin-top: 4px;
}
.pin-addr i, .pin-phone i {
    color: var(--gold);
    font-size: 10px;
    margin-top: 2px;
    flex-shrink: 0;
}

/* PT Sans Narrow — full Kazakh Cyrillic (ұ қ ң ғ ә ө) */
h1, h2, h3, h4,
.hero-content h1,
.about-text h2,
.section-header h2,
.hnum,
.res-num,
.proj-num,
.srv-number {
    font-family: 'PT Sans Narrow', sans-serif;
    font-weight: 700 !important;
}

/* ===== LICENSES ===== */
.section-licenses {
    padding: 120px 0;
    background: var(--off-white);
}
.licenses-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.lic-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 32px 28px;
    text-decoration: none;
    color: var(--text);
    transition: all 0.3s var(--ease);
    position: relative;
    overflow: hidden;
}
.lic-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--border);
    transition: background 0.3s var(--ease);
}
.lic-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(10,31,110,0.15);
}
.lic-card:hover::before { background: var(--blue); }
.lic-card-icon {
    width: 56px; height: 56px;
    background: var(--blue-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--blue);
    margin-bottom: 24px;
    transition: all 0.3s var(--ease);
}
.lic-card:hover .lic-card-icon {
    background: var(--blue);
    color: var(--white);
}
.lic-card-body { flex: 1; }
.lic-card-num {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--gray);
    margin-bottom: 8px;
    text-transform: uppercase;
}
.lic-card-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--blue);
    margin-bottom: 6px;
    line-height: 1.3;
}
.lic-card-sub {
    font-size: 0.85rem;
    color: var(--gray);
    font-weight: 500;
    margin-bottom: 16px;
}
.lic-card-date {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    color: var(--green);
    background: var(--green-light);
    padding: 3px 10px;
    border-radius: 100px;
}
.lic-card-dl {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--blue);
    transition: color 0.2s;
}
.lic-card:hover .lic-card-dl { color: var(--green); }
.lic-card-dl i { font-size: 1rem; color: #e74c3c; }

@media (max-width: 900px) {
    .licenses-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .licenses-grid { grid-template-columns: 1fr; }
}

.galleries-wrap { display: flex; flex-direction: column; gap: 60px; }
.gallery-block { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius); padding: 32px; }
.gallery-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.gallery-title { font-family: 'PT Sans Narrow', sans-serif; font-size: 1.3rem; font-weight: 700; color: var(--white); }
.gal-nav { display: flex; gap: 8px; }
.gal-prev, .gal-next { width: 40px; height: 40px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); border-radius: 50%; color: var(--white); font-size: 14px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.2s; }
.gal-prev:hover, .gal-next:hover { background: var(--gold); border-color: var(--gold); color: var(--dark); }
.gal-track-wrap { overflow: hidden; border-radius: 12px; }
.gal-track { display: flex; transition: transform 0.45s ease; }
.gal-slide { min-width: 100%; }
.gal-slide img { width: 100%; height: 440px; object-fit: cover; display: block; border-radius: 12px; }
.gal-dots { display: flex; justify-content: center; gap: 6px; margin-top: 16px; flex-wrap: wrap; }
.gal-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.25); border: none; cursor: pointer; transition: all 0.2s; padding: 0; }
.gal-dot.active { background: var(--gold); width: 24px; border-radius: 4px; }
@media (max-width: 768px) { .gal-slide img { height: 260px; } .gallery-block { padding: 20px; } }

.section-gallery {
    padding: 120px 0;
    background: var(--white);
}
.section-gallery .gallery-block {
    background: var(--off-white);
    border: 1px solid var(--border);
}
.section-gallery .gallery-title { color: var(--blue); }
.section-gallery .gal-prev,
.section-gallery .gal-next {
    background: var(--blue-light);
    border-color: var(--border);
    color: var(--blue);
}
.section-gallery .gal-dot { background: rgba(10,31,110,0.2); }
.section-gallery .gal-dot.active { background: var(--blue); }

.gal-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 20px;
}
.gal-track-wrap { border-radius: 12px; }
.gal-slide img { height: 500px; border-radius: 12px; }
@media (max-width: 768px) { .gal-slide img { height: 260px; } }

#projects {
    padding-bottom: 0;
}

.proj-card .gal-slide img {
    height: 260px;
    border-radius: 8px;
}
.proj-card .gal-controls {
    margin-top: 12px;
}

#gallery {
    padding-top: 45px;
}