/* =========================================================
   André de Carvalho Salazar — style.css
   ========================================================= */

:root {
    --ink-900: #0b1622;
    --ink-800: #0f1e2e;
    --ink-600: #24384c;
    --ink-400: #5b6b7d;

    --paper: #ffffff;
    --paper-soft: #f6f8fa;
    --paper-alt: #eef2f6;

    --line: #dde4ec;
    --line-soft: #e9eef4;

    --accent: #0f6d78;
    --accent-strong: #0b545d;
    --accent-soft: #e6f2f3;

    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 22px;

    --shadow-sm: 0 1px 2px rgba(15, 30, 46, 0.06), 0 2px 8px rgba(15, 30, 46, 0.05);
    --shadow-md: 0 8px 24px rgba(15, 30, 46, 0.08);
    --shadow-lg: 0 24px 60px rgba(15, 30, 46, 0.14);

    --container: 1180px;
    --header-h: 72px;

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 16px);
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    padding: 0;
    background: var(--paper);
    color: var(--ink-800);
    font-family: var(--font-sans);
    font-size: 17px;
    line-height: 1.7;
    font-weight: 400;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    display: block;
}

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

h1, h2, h3 {
    margin: 0;
    line-height: 1.18;
    letter-spacing: -0.02em;
    color: var(--ink-900);
    font-weight: 600;
    overflow-wrap: break-word;
}

p {
    margin: 0 0 1.1em 0;
    overflow-wrap: break-word;
}

p:last-child {
    margin-bottom: 0;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

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

.skip-link {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

.skip-link:focus {
    position: fixed;
    top: 12px;
    left: 12px;
    width: auto;
    height: auto;
    margin: 0;
    padding: 12px 20px;
    clip: auto;
    clip-path: none;
    background: var(--ink-900);
    color: #fff;
    border-radius: var(--radius-sm);
    z-index: 300;
}

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 6px;
}

/* =========================================================
   HEADER / NAVEGAÇÃO
   ========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 120;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--line-soft);
}

.nav-toggle {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    pointer-events: none;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: var(--header-h);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    color: var(--ink-900);
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: var(--ink-900);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    flex: 0 0 auto;
}

.brand-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.brand-name {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.brand-role {
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink-400);
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-left: auto;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 26px;
}

.nav-list a {
    position: relative;
    display: inline-block;
    font-size: 14.5px;
    font-weight: 500;
    color: var(--ink-400);
    padding: 6px 0;
    transition: color 0.2s ease;
}

.nav-list a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1.5px;
    background: var(--accent);
    transition: width 0.25s ease;
}

.nav-list a:hover {
    color: var(--ink-900);
}

.nav-list a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: #fff;
    font-size: 14px;
    font-weight: 500;
    color: var(--ink-800);
    white-space: nowrap;
    transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-action:hover {
    border-color: var(--accent);
    color: var(--accent-strong);
    box-shadow: var(--shadow-sm);
    transform: translateY(-1px);
}

.nav-action-primary {
    background: var(--ink-900);
    border-color: var(--ink-900);
    color: #fff;
}

.nav-action-primary:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.nav-button {
    display: none;
    width: 46px;
    height: 46px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    flex: 0 0 auto;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.nav-button:hover {
    border-color: var(--accent);
}

.nav-button-bar {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: var(--ink-900);
    transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-overlay {
    display: none;
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: rgba(11, 22, 34, 0.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 110;
}

/* =========================================================
   SWITCH DE IDIOMA (PT / EN)
   ========================================================= */

.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 4px 6px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: #fff;
    box-shadow: var(--shadow-sm);
    flex: 0 0 auto;
    margin-left: 12px;
}

.lang-btn {
    appearance: none;
    -webkit-appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    padding: 6px 10px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--ink-400);
    font-family: inherit;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.08em;
    line-height: 1;
    cursor: pointer;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.lang-btn:hover {
    color: var(--ink-900);
}

.lang-btn.is-active {
    background: var(--ink-900);
    color: #fff;
}

.lang-btn.is-active:hover {
    background: var(--accent);
}

.lang-sep {
    display: inline-block;
    width: 1px;
    height: 14px;
    background: var(--line);
    margin: 0 2px;
}

/* =========================================================
   HERO
   ========================================================= */

.hero {
    position: relative;
    overflow: hidden;
    padding: 96px 0 88px;
    background: radial-gradient(1000px 520px at 50% -10%, #16334a 0%, #0e2033 45%, #0b1622 100%);
    color: #eef3f8;
    text-align: center;
    isolation: isolate;
}

.hero-glow {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -40%;
    height: 70%;
    background: radial-gradient(600px 300px at 50% 0%, rgba(15, 109, 120, 0.38), transparent 70%);
    pointer-events: none;
    z-index: -1;
}

.hero-grid-lines {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 72px 72px;
    -webkit-mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 72%);
    mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 72%);
    pointer-events: none;
    z-index: -1;
}

.hero-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 900px;
}

.hero-photo-wrap {
    padding: 6px;
    border-radius: 50%;
    background: linear-gradient(140deg, rgba(255, 255, 255, 0.35), rgba(15, 109, 120, 0.55));
    box-shadow: var(--shadow-lg);
    margin-bottom: 32px;
}

.profile-photo {
    width: 168px;
    height: 168px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.92);
    display: block;
}

.hero-eyebrow {
    margin: 0 0 18px 0;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(226, 240, 242, 0.72);
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(32px, 6vw, 62px);
    font-weight: 600;
    color: #ffffff;
    letter-spacing: -0.025em;
    margin-bottom: 14px;
}

.hero-role {
    margin: 0 0 24px 0;
    font-size: clamp(17px, 2.4vw, 23px);
    font-weight: 500;
    color: #8fd3d9;
}

.hero-lead {
    max-width: 720px;
    margin: 0 auto 30px auto;
    font-size: 17.5px;
    line-height: 1.75;
    color: rgba(226, 236, 244, 0.86);
    font-weight: 300;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 38px;
}

.hero-meta li {
    padding: 7px 15px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.05);
    font-size: 13px;
    font-weight: 500;
    color: rgba(233, 242, 248, 0.9);
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    width: 100%;
}

/* =========================================================
   BOTÕES
   ========================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 26px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 500;
    border: 1px solid transparent;
    transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--accent);
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(15, 109, 120, 0.28);
}

.btn-primary:hover {
    background: var(--accent-strong);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.22);
    color: #f2f7fa;
}

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

.btn-ghost {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.22);
    color: rgba(233, 242, 248, 0.85);
}

.btn-ghost:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.5);
}

/* =========================================================
   INDICADORES
   ========================================================= */

.stats {
    background: var(--ink-900);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: rgba(255, 255, 255, 0.08);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.stat {
    background: var(--ink-900);
    padding: 30px 26px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.stat-value {
    font-family: var(--font-display);
    font-size: 21px;
    font-weight: 600;
    color: #ffffff;
}

.stat-label {
    font-size: 13.5px;
    color: rgba(214, 228, 238, 0.6);
    line-height: 1.5;
}

/* =========================================================
   SECÇÕES
   ========================================================= */

.section {
    padding: 104px 0;
    background: var(--paper);
}

.section-alt {
    background: var(--paper-soft);
    border-top: 1px solid var(--line-soft);
    border-bottom: 1px solid var(--line-soft);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 4.2vw, 44px);
    font-weight: 600;
    margin-bottom: 18px;
}

.section-title::after {
    content: "";
    display: block;
    width: 56px;
    height: 3px;
    border-radius: 3px;
    background: var(--accent);
    margin-top: 20px;
}

.section-intro {
    max-width: 680px;
    font-size: 18px;
    font-weight: 300;
    color: var(--ink-400);
    margin-bottom: 56px;
}

/* =========================================================
   SOBRE MIM
   ========================================================= */

.about-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
    gap: 56px;
    align-items: start;
}

.about-text p {
    color: var(--ink-600);
    font-size: 17px;
    line-height: 1.85;
    margin-bottom: 20px;
}

.about-panel {
    background: var(--paper-soft);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 34px 32px;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: calc(var(--header-h) + 24px);
}

.about-panel h3 {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-400);
    margin-bottom: 22px;
}

.principles li {
    padding: 16px 0;
    border-top: 1px solid var(--line-soft);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.principles li:first-child {
    border-top: none;
    padding-top: 0;
}

.principles li:last-child {
    padding-bottom: 0;
}

.principle-title {
    font-size: 15.5px;
    font-weight: 600;
    color: var(--ink-900);
}

.principle-text {
    font-size: 14.5px;
    color: var(--ink-400);
    line-height: 1.6;
}

/* =========================================================
   CORE EXPERTISE
   ========================================================= */

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 22px;
}

.card {
    position: relative;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 32px 28px 30px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    overflow: hidden;
}

.card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), #4aa9b3);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: #cdd9e4;
}

.card:hover::before {
    transform: scaleX(1);
}

.card h3 {
    font-size: 19px;
    margin-bottom: 12px;
}

.card p {
    font-size: 15.5px;
    line-height: 1.7;
    color: var(--ink-400);
}

/* =========================================================
   STRATEGIC FOCUS
   ========================================================= */

.focus-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
}

.focus-item {
    background: var(--paper);
    padding: 36px 32px;
    transition: background-color 0.25s ease;
}

.focus-item:hover {
    background: var(--accent-soft);
}

.focus-item h3 {
    font-size: 18px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.focus-item h3::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    flex: 0 0 auto;
}

.focus-item p {
    font-size: 15.5px;
    line-height: 1.7;
    color: var(--ink-400);
}

/* =========================================================
   DOCUMENTOS
   ========================================================= */

.document-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 34px 36px;
    box-shadow: var(--shadow-sm);
}

.document-info h3 {
    font-size: 21px;
    margin-bottom: 8px;
}

.document-info p {
    font-size: 15.5px;
    color: var(--ink-400);
    max-width: 560px;
}

.document-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: flex-end;
}

.btn-outline {
    background: var(--accent-strong);
    border-color: var(--accent-strong);
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(11, 84, 93, 0.28);
}

.btn-outline:hover {
    background: #083f47;
    border-color: #083f47;
    color: #ffffff;
}

/* =========================================================
   CONTACTO
   ========================================================= */

.contact-section {
    background: linear-gradient(180deg, var(--paper) 0%, var(--paper-alt) 100%);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 22px;
    align-items: stretch;
}

.contact-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px 28px;
    box-shadow: var(--shadow-sm);
    min-width: 0;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.contact-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
}

.contact-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
}

.contact-value {
    display: block;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.45;
    color: var(--ink-900);
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: none;
}

.contact-hint {
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--ink-400);
    margin-top: auto;
}

/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    background: var(--ink-900);
    color: rgba(219, 231, 240, 0.72);
    padding: 56px 0 40px;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 18px;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
    font-weight: 600;
    font-size: 15px;
}

.footer-brand .brand-mark {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.footer-statement {
    max-width: 560px;
    margin: 0;
    font-size: 15.5px;
    font-weight: 300;
    font-style: italic;
    color: rgba(219, 231, 240, 0.62);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 22px;
    padding-top: 8px;
}

.footer-links a {
    font-size: 14px;
    color: rgba(219, 231, 240, 0.72);
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-copy {
    margin: 0;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    width: 100%;
    max-width: 760px;
    font-size: 13.5px;
    color: rgba(219, 231, 240, 0.5);
}

/* =========================================================
   RESPONSIVE — TABLET
   ========================================================= */

@media (max-width: 1120px) {

    .nav-list {
        gap: 20px;
    }

    .site-nav {
        gap: 20px;
    }

    .nav-action {
        padding: 9px 15px;
        font-size: 13.5px;
    }

    .lang-switch {
        margin-left: 8px;
    }

}

@media (max-width: 1024px) {

    .about-layout {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .about-panel {
        position: static;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section {
        padding: 88px 0;
    }

}

/* =========================================================
   RESPONSIVE — MENU MOBILE
   ========================================================= */

@media (max-width: 960px) {

    .nav-button {
        display: flex;
    }

    .nav-overlay {
        display: block;
    }

    .lang-switch {
        margin-left: auto;
        margin-right: 6px;
    }

    .site-nav {
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        max-height: calc(100vh - var(--header-h));
        overflow-y: auto;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        margin-left: 0;
        padding: 12px 24px 28px;
        background: #ffffff;
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow-md);
        transform: translateY(-12px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
        z-index: 115;
    }

    .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .nav-list li {
        border-bottom: 1px solid var(--line-soft);
    }

    .nav-list a {
        display: block;
        padding: 16px 2px;
        font-size: 16px;
        color: var(--ink-800);
    }

    .nav-list a::after {
        display: none;
    }

    .nav-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding-top: 20px;
    }

    .nav-action {
        width: 100%;
        padding: 14px 20px;
        font-size: 15px;
    }

    .nav-toggle:checked ~ .container .site-nav {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

    .nav-toggle:checked ~ .nav-overlay {
        opacity: 1;
        pointer-events: auto;
    }

    .nav-toggle:checked ~ .container .nav-button {
        border-color: var(--accent);
    }

    .nav-toggle:checked ~ .container .nav-button .nav-button-bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .nav-toggle:checked ~ .container .nav-button .nav-button-bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle:checked ~ .container .nav-button .nav-button-bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

}

/* =========================================================
   RESPONSIVE — MOBILE
   ========================================================= */

@media (max-width: 768px) {

    body {
        font-size: 16px;
    }

    .container {
        padding: 0 20px;
    }

    .hero {
        padding: 64px 0 60px;
    }

    .profile-photo {
        width: 132px;
        height: 132px;
    }

    .hero-photo-wrap {
        margin-bottom: 26px;
    }

    .hero-eyebrow {
        font-size: 11px;
        letter-spacing: 0.12em;
    }

    .hero-lead {
        font-size: 16px;
        line-height: 1.7;
        margin-bottom: 26px;
    }

    .hero-meta {
        gap: 8px;
        margin-bottom: 30px;
    }

    .hero-meta li {
        font-size: 12.5px;
        padding: 6px 13px;
    }

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

    .btn {
        width: 100%;
        padding: 15px 22px;
        font-size: 15.5px;
    }

    .section {
        padding: 64px 0;
    }

    .section-title::after {
        margin-top: 16px;
    }

    .section-intro {
        font-size: 16.5px;
        margin-bottom: 36px;
    }

    .about-text p {
        font-size: 16px;
        line-height: 1.8;
    }

    .about-panel {
        padding: 26px 22px;
    }

    .cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .card {
        padding: 26px 22px;
    }

    .focus-list {
        grid-template-columns: 1fr;
    }

    .focus-item {
        padding: 26px 22px;
    }

    .document-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 22px;
        padding: 26px 22px;
    }

    .document-actions {
        width: 100%;
        justify-content: stretch;
    }

    .document-actions .btn {
        flex: 1 1 auto;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .contact-card {
        padding: 24px 22px;
    }

    .contact-value {
        font-size: 16px;
    }

    .site-footer {
        padding: 44px 0 34px;
    }

}

@media (max-width: 520px) {

    :root {
        --header-h: 66px;
    }

    .container {
        padding: 0 18px;
    }

    .brand-mark {
        width: 34px;
        height: 34px;
        border-radius: 10px;
        font-size: 11px;
    }

    .brand-name {
        font-size: 13.5px;
        max-width: 46vw;
    }

    .brand-role {
        font-size: 10.5px;
        max-width: 46vw;
    }

    .lang-switch {
        padding: 3px 4px;
        margin-right: 4px;
    }

    .lang-btn {
        min-width: 30px;
        padding: 5px 8px;
        font-size: 11.5px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat {
        padding: 22px 20px;
    }

    .contact-value {
        font-size: 15.5px;
    }

    .footer-links {
        flex-direction: column;
        gap: 12px;
    }

}

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        transition-duration: 0.001ms !important;
    }

}
