:root {
    --charcoal: #323232;
    --gold: #c09b3f;
    --gold-hover: #a98530;
    --body: #0b0b0b;
    --header-height: 74px;
    --container: 1160px
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height)
}

body {
    margin: 0;
    background: #fff;
    color: var(--body);
    font-family: Arial, Helvetica, sans-serif;
    -webkit-font-smoothing: antialiased;
    font-size: 17px;
    line-height: 1.55
}

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

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

button {
    font: inherit
}

button, a {
    -webkit-tap-highlight-color: transparent
}

button:focus-visible, a:focus-visible, summary:focus-visible {
    outline: 3px solid #d5b65b;
    outline-offset: 3px
}

.container {
    width: min(calc(100% - 44px), var(--container));
    margin-inline: auto
}

.skip-link {
    position: absolute;
    top: -80px;
    left: 16px;
    z-index: 1000;
    background: #fff;
    padding: 12px 16px
}

.skip-link:focus {
    top: 10px
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: rgba(48, 48, 48, .97);
    color: #f7f7f7;
    z-index: 100;
    box-shadow: 0 1px 3px #0002
}

.header-inner {
    min-height: 100%;
    display: grid;
    grid-template-columns:minmax(260px, 1fr) auto minmax(260px, 1fr);
    align-items: center;
    gap: 20px;
    padding: 0 36px
}

.brand {
    font-size: 20px;
    font-weight: 600;
    white-space: nowrap;
    line-height: 1.25
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 29px
}

.nav-link {
    font-size: 18px;
    white-space: nowrap;
    transition: color .2s
}

.nav-link:hover, .nav-link.is-active {
    color: #bbb
}

.header-contact {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 28px;
    white-space: nowrap
}

.header-phone {
    font-size: 18px;
    font-weight: 600
}

.header-phone:hover, .contact-lines a:hover, .founder-phone a:hover, .lawyer-phone a:hover {
    text-decoration: underline
}

.social-icons, .footer-socials {
    display: flex;
    align-items: center;
    gap: 12px
}

.social-icon {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #090909;
    color: #090909;
    border: 0;
    border-radius: 100%;
    cursor: pointer;
    flex: none;
    transition: transform .2s, background .2s
}

.social-icon svg {
    width: 21px;
    height: 21px;
    fill: #0a0a0a
}

.social-icon svg path {
    fill: #dadada
}

.social-icon:has(svg) svg {
    color: #090909
}

.social-icon:hover {
    transform: translateY(-2px);
    background: var(--gold)
}

.social-icon:nth-child(1) svg {
    fill: #fff;
    opacity: .75;
    width: 26px;
    height: 26px
}

.social-button svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: #ddd;
    color: #ddd
}

.social-button svg rect, .social-button svg circle {
    stroke: #ddd
}

.social-button svg circle:last-child {
    fill: #ddd
}

.menu-toggle {
    display: none
}

main {
    padding-top: var(--header-height)
}

.hero {
    min-height: calc(100svh - var(--header-height));
    min-height: max(640px, calc(100svh - var(--header-height)));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(90deg, rgba(0, 0, 0, .19), rgba(0, 0, 0, .07)), url('../images/hero.png') center center / cover no-repeat
}

.hero-content {
    position: relative;
    z-index: 1;
    transform: translateY(-9px)
}

.hero h1 {
    font-size: clamp(32px, 2.65vw, 46px);
    line-height: 1.2;
    letter-spacing: .2px;
    margin: 0 auto 36px;
    font-weight: 700
}

.hero p {
    font-size: clamp(17px, 1.25vw, 22px);
    line-height: 1.65;
    max-width: 890px;
    margin: 0 auto 65px
}

.button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 56px;
    padding: 15px 33px;
    border: 0;
    text-align: center;
    line-height: 1.25;
    font-size: 19px;
    font-weight: 700;
    transition: background-color .2s, transform .2s
}

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

.button-gold {
    color: #fff;
    background: #bfa15e
}

.button-gold:hover {
    background: var(--gold-hover)
}

.hero-button {
    min-width: 340px
}

.section {
    padding: 85px 0 105px;
    scroll-margin-top: var(--header-height)
}

.section-title {
    font-weight: 700;
    text-align: center;
    font-size: clamp(35px, 4vw, 58px);
    line-height: 1.18;
    margin: 0 0 65px;
    letter-spacing: -1px
}

.section-title-large {
    font-size: clamp(42px, 5vw, 74px);
    margin-bottom: 48px
}

.team-section {
    padding-top: 43px
}

.team-container {
    max-width: 1080px
}

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

.founder-image {
    width: 100%;
    height: 518px;
    object-fit: cover;
    object-position: 50% 50%;
    background: #dce0e8
}

.founder-info {
    background: #f0f0f0;
    min-height: 518px;
    padding: 70px 54px 45px;
    display: flex;
    flex-direction: column;
    align-items: flex-start
}

.founder-info h3 {
    font-size: 31px;
    line-height: 1.25;
    margin: 9px 0 10px;
    font-weight: 700
}

.founder-role {
    font-size: 12px;
    letter-spacing: .2px;
    color: #777;
    line-height: 1.6;
    margin: 0 0 31px;
    text-transform: uppercase
}

.founder-info > p:not(.founder-role) {
    font-size: 16px;
    line-height: 1.65;
    margin-top: 0
}

.founder-phone {
    margin: 18px 0 19px !important
}

.person-socials {
    display: flex;
    align-items: center;
    gap: 18px
}

.icon-minimal, .facebook-letter {
    display: inline-grid;
    place-items: center;
    border: 0;
    background: transparent;
    color: #111;
    cursor: pointer;
    height: 22px;
    width: 22px;
    padding: 0
}


.icon-minimal svg {
    width: 19px;
    height: 19px
}

.icon-minimal svg path {
    fill: #111
}


.person-socials .icon-minimal svg {
    width: 26px;
    height: 26px;
    display: block;
}

.person-socials .icon-minimal {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.lawyers-grid {
    display: grid;
    grid-template-columns:repeat(4, minmax(0, 1fr));
    gap: 36px;
    margin-top: 95px
}

.lawyer-card {
    text-align: center;
    min-width: 0
}

.lawyer-card img {
    width: 234px;
    height: 234px;
    max-width: 100%;
    aspect-ratio: 1;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 25%;
    margin: 0 auto 19px
}

.lawyer-card h3 {
    font-size: 23px;
    line-height: 1.35;
    margin: 0 0 20px;
    font-weight: 700
}

.lawyer-card p {
    font-size: 18px;
    line-height: 1.58;
    margin: 0 auto 18px;
    max-width: 240px
}

.lawyer-card .lawyer-phone {
    font-size: 16px;
    margin-top: 24px
}

.consult-section {
    background: linear-gradient(#0009, #0009), url('../images/consult-bg.jpg') center center / cover no-repeat;
    color: #fff;
    text-align: center;
    padding: 100px 0;
    min-height: 470px;
    display: flex;
    align-items: center
}

.consult-content h2 {
    font-size: clamp(35px, 4vw, 54px);
    line-height: 1.2;
    margin: 0 0 18px
}

.consult-content p {
    font-size: 22px;
    margin: 0 0 22px
}

.consult-content .consult-address {
    font-size: 18px;
    margin-bottom: 32px
}

.media-section {
    padding-top: 105px;
    padding-bottom: 90px
}

.media-container {
    max-width: 1180px
}

.section-intro {
    font-size: 21px;
    line-height: 1.6;
    text-align: center;
    margin: 0 auto
}

.media-intro {
    max-width: 1020px;
    margin: -10px auto 62px
}

.media-grid {
    display: grid;
    grid-template-columns:repeat(3, 1fr);
    gap: 22px
}

.media-photo {
    position: relative;
    aspect-ratio: 1.13;
    overflow: hidden;
    display: block;
    padding: 0;
    background: #eee;
    border: 0;
    cursor: zoom-in
}

.media-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s
}

.media-photo:hover img {
    transform: scale(1.055)
}

.photo-zoom {
    position: absolute;
    right: 15px;
    bottom: 12px;
    color: #fff;
    font-size: 28px;
    text-shadow: 0 1px 7px #000a;
    line-height: 1
}

.video-grid {
    display: grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap: 26px;
    margin: 42px auto 0;
    max-width: 1010px
}

.video-card {
    aspect-ratio: 16/9;
    position: relative;
    overflow: hidden;
    background: #222;
    color: #fff
}

.video-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 34%, #000b)
}

.video-card > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(.7);
    transition: transform .3s
}

.video-card:hover > img {
    transform: scale(1.04)
}

.video-play {
    position: absolute;
    z-index: 1;
    top: 42%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 13px;
    padding: 12px 20px;
    background: #e82117;
    color: #fff;
    font-size: 22px;
    line-height: 1
}

.video-caption {
    position: absolute;
    z-index: 1;
    bottom: 18px;
    left: 20px;
    right: 18px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    font-size: 17px
}

.video-caption small {
    font-size: 13px;
    color: #ddd
}

.services-section {
    padding-top: 98px;
    padding-bottom: 55px
}

.service-intro {
    max-width: 900px;
    margin: 0 auto 45px;
    font-size: 21px;
    line-height: 1.7
}

.services-accordion {
    max-width: 700px;
    margin: 0 auto
}

.service-item {
    border-top: 1px solid #ededed
}

.service-item:last-child {
    border-bottom: 1px solid #ededed
}

.service-item summary {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    cursor: pointer;
    font-weight: 700;
    font-size: 21px;
    min-height: 81px;
    padding: 18px 8px 18px 0
}

.service-item summary::-webkit-details-marker {
    display: none
}

.plus-icon {
    position: relative;
    display: block;
    flex: none;
    width: 24px;
    height: 24px
}

.plus-icon:before, .plus-icon:after {
    content: '';
    position: absolute;
    background: var(--gold);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 1px;
    width: 22px;
    transition: transform .2s
}

.plus-icon:after {
    transform: translate(-50%, -50%) rotate(90deg)
}

.service-item[open] .plus-icon:after {
    transform: translate(-50%, -50%) rotate(0)
}

.service-panel {
    padding: 0 18px 26px 0;
    font-size: 17px;
    line-height: 1.7
}

.service-panel ul {
    margin: 0;
    padding-left: 22px
}

.service-panel li {
    padding: 3px 0
}

.stats-section {
    background: linear-gradient(rgba(0, 0, 0, .83), rgba(0, 0, 0, .83)), url('../images/stats-bg.png') center / cover no-repeat;
    color: #fff;
    min-height: 460px;
    display: flex;
    align-items: center;
    padding: 95px 0
}

.stats-grid {
    max-width: 1100px;
    display: grid;
    grid-template-columns:repeat(3, 1fr);
    gap: 30px;
    text-align: center
}

.stat strong {
    font-size: clamp(50px, 4.2vw, 74px);
    font-weight: 700;
    line-height: 1.1;
    display: block
}

.stat p {
    font-size: 21px;
    line-height: 1.55;
    margin: 24px auto 0
}

.advantages-section {
    padding-top: 128px;
    padding-bottom: 125px
}

.advantages-container {
    max-width: 1090px
}

.advantages-section .section-title {
    font-size: clamp(36px, 3.1vw, 45px);
    margin-bottom: 43px;
    letter-spacing: 0
}

.advantages-intro {
    font-size: 21px;
    line-height: 1.6;
    margin-bottom: 90px
}

.advantages-grid {
    display: grid;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    column-gap: 72px;
    row-gap: 76px
}

.advantage {
    text-align: center
}

.advantage img {
    height: 92px;
    width: 92px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 40px
}

.advantage h3 {
    font-size: 21px;
    margin: 0 0 26px;
    font-weight: 700;
    line-height: 1.3
}

.advantage p {
    font-size: 18px;
    line-height: 1.6;
    margin: 0 auto;
    max-width: 265px
}

.contact-section {
    background: #303030;
    color: #fff;
    display: grid;
    grid-template-columns:1fr 1fr;
    min-height: 600px
}

.map-wrap {
    min-height: 600px;
    position: relative;
    background: #525252
}

.map-wrap iframe {
    height: 100%;
    width: 100%;
    border: 0;
    display: block;
    position: absolute;
    inset: 0;
    filter: grayscale(.1) brightness(.82)
}

.map-open {
    position: absolute;
    bottom: 18px;
    left: 20px;
    padding: 8px 14px;
    background: #fff;
    color: #222;
    border-radius: 4px;
    font-size: 14px;
    box-shadow: 0 1px 5px #0003
}

.map-open:hover {
    text-decoration: underline
}

.contact-details {
    padding: 112px 8% 90px 62px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    font-size: 23px;
    line-height: 1.52
}

.contact-details address {
    font-style: normal;
    margin-bottom: 34px
}

.contact-lines {
    margin-bottom: 37px
}

.contact-lines a:hover {
    color: #e5c674
}

.footer-socials {
    gap: 11px
}

.footer-socials .social-icon {
    width: 28px;
    height: 28px
}

.image-modal {
    position: fixed;
    max-width: min(1100px, 93vw);
    max-height: 94vh;
    border: 0;
    background: #191919;
    color: #fff;
    padding: 48px 12px 12px;
    box-shadow: 0 20px 70px #0009;
    overflow: auto
}

.image-modal::backdrop {
    background: #000c
}

.modal-image {
    max-height: 75vh;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    margin: auto
}

.modal-close {
    position: absolute;
    top: 3px;
    right: 13px;
    color: #fff;
    background: none;
    border: 0;
    font-size: 38px;
    cursor: pointer
}

.modal-caption {
    text-align: center;
    margin: 10px 0 0;
    font-size: 14px
}

.toast {
    position: fixed;
    bottom: 22px;
    left: 50%;
    z-index: 200;
    transform: translate(-50%, 15px);
    background: #2c2c2c;
    color: #fff;
    padding: 12px 18px;
    border-radius: 7px;
    box-shadow: 0 4px 30px #0004;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s, transform .25s;
    text-align: center;
    min-width: min(400px, 90vw)
}

.toast.is-visible {
    opacity: 1;
    transform: translate(-50%, 0)
}

@media (max-width: 1350px) {
    .header-inner {
        grid-template-columns:minmax(235px, 1fr) auto minmax(235px, 1fr);
        gap: 14px;
        padding-inline: 26px
    }

    .brand {
        font-size: 17px
    }

    .main-nav {
        gap: 20px
    }

    .nav-link {
        font-size: 16px
    }

    .header-phone {
        font-size: 17px
    }

    .header-contact {
        gap: 16px
    }
}

@media (max-width: 1100px) {
    .header-inner {
        grid-template-columns:1fr auto auto
    }

    .brand {
        font-size: 19px
    }

    .main-nav {
        position: fixed;
        top: var(--header-height);
        right: 0;
        left: 0;
        background: #323232;
        padding: 20px 22px 28px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        max-height: calc(100svh - var(--header-height));
        overflow: auto;
        box-shadow: 0 10px 20px #0002;
        visibility: hidden;
        opacity: 0;
        transform: translateY(-8px);
        transition: transform .2s, opacity .2s, visibility .2s
    }

    .main-nav.is-open {
        visibility: visible;
        opacity: 1;
        transform: translateY(0)
    }

    .nav-link {
        font-size: 19px
    }

    .menu-toggle {
        width: 40px;
        height: 36px;
        padding: 6px;
        background: transparent;
        border: 0;
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        cursor: pointer;
        grid-column: 3
    }

    .menu-toggle span {
        display: block;
        width: 26px;
        height: 2px;
        background: #fff;
        transition: transform .2s, opacity .2s
    }

    .menu-toggle[aria-expanded="true"] span:nth-child(1) {
        transform: translateY(8px) rotate(45deg)
    }

    .menu-toggle[aria-expanded="true"] span:nth-child(2) {
        opacity: 0
    }

    .menu-toggle[aria-expanded="true"] span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg)
    }

    .header-contact {
        grid-column: 2
    }

    .lawyers-grid {
        gap: 21px
    }

    .founder-layout {
        gap: 24px
    }

    .founder-info {
        padding: 45px 30px 35px
    }

    .advantages-grid {
        gap: 60px 32px
    }

    .contact-details {
        padding: 70px 7%;
        font-size: 21px
    }
}

@media (max-width: 780px) {
    :root {
        --header-height: 67px
    }

    .container {
        width: min(calc(100% - 32px), 650px)
    }

    .header-inner {
        padding: 0 16px;
        gap: 12px
    }

    .brand {
        font-size: 16px;
        white-space: normal;
        max-width: 210px
    }

    .header-contact .social-icons {
        display: none
    }

    .header-phone {
        font-size: 15px
    }

    .hero {
        min-height: 650px;
        max-height: none;
        background-position: 58% center
    }

    .hero-content {
        transform: none
    }

    .hero h1 {
        font-size: 36px;
        line-height: 1.25;
        margin-bottom: 26px
    }

    .hero p {
        font-size: 18px;
        margin-bottom: 41px;
        line-height: 1.6
    }

    .desktop-only {
        display: none
    }

    .hero-button {
        min-width: min(100%, 320px)
    }

    .section {
        padding: 70px 0 78px
    }

    .section-title {
        font-size: 42px;
        margin-bottom: 38px
    }

    .section-title-large {
        font-size: 53px
    }

    .team-section {
        padding-top: 48px
    }

    .founder-layout {
        grid-template-columns:1fr;
        gap: 0;
        max-width: 570px;
        margin: 0 auto
    }

    .founder-image {
        height: 480px
    }

    .founder-info {
        min-height: 0;
        padding: 32px
    }

    .lawyers-grid {
        grid-template-columns:repeat(2, minmax(0, 1fr));
        column-gap: 25px;
        row-gap: 60px;
        margin-top: 62px
    }

    .lawyer-card p {
        font-size: 16px;
        line-height: 1.55
    }

    .lawyer-card img {
        width: 220px;
        height: 220px;
        max-width: 100%
    }

    .lawyer-card h3 {
        font-size: 21px
    }

    .consult-section {
        padding: 80px 0;
        min-height: 380px
    }

    .consult-content h2 {
        font-size: 36px
    }

    .consult-content p {
        font-size: 19px
    }

    .media-intro, .service-intro, .advantages-intro {
        font-size: 18px
    }

    .media-grid {
        gap: 12px
    }

    .media-photo {
        aspect-ratio: 1
    }

    .video-grid {
        gap: 15px
    }

    .services-section {
        padding-bottom: 50px
    }

    .service-item summary {
        font-size: 19px
    }

    .stats-section {
        min-height: 330px;
        padding: 55px 0
    }

    .stats-grid {
        gap: 20px
    }

    .stat strong {
        font-size: 48px
    }

    .stat p {
        font-size: 16px
    }

    .advantages-grid {
        grid-template-columns:repeat(2, minmax(0, 1fr));
        row-gap: 55px
    }

    .advantages-section .section-title {
        font-size: 38px
    }

    .advantages-intro {
        margin-bottom: 65px
    }

    .advantage img {
        margin-bottom: 24px
    }

    .advantage h3 {
        margin-bottom: 18px;
        font-size: 19px
    }

    .advantage p {
        font-size: 16px
    }

    .contact-section {
        grid-template-columns:1fr
    }

    .map-wrap {
        min-height: 390px
    }

    .contact-details {
        padding: 54px 30px;
        font-size: 21px
    }
}

@media (max-width: 510px) {
    .header-inner {
        grid-template-columns:1fr auto
    }

    .brand {
        font-size: 14px;
        max-width: 195px
    }

    .header-contact {
        grid-column: unset
    }

    .header-phone {
        display: none
    }

    .menu-toggle {
        grid-column: 2
    }

    .hero {
        min-height: 590px;
        background-position: 58% center
    }

    .hero h1 {
        font-size: 31px
    }

    .hero p {
        font-size: 17px
    }

    .button {
        font-size: 17px;
        min-height: 52px
    }

    .section-title {
        font-size: 37px
    }

    .section-title-large {
        font-size: 45px
    }

    .founder-image {
        height: 390px
    }

    .founder-info {
        padding: 28px 24px
    }

    .founder-info h3 {
        font-size: 26px
    }

    .founder-role {
        margin-bottom: 21px
    }

    .lawyers-grid {
        gap: 45px 15px
    }

    .lawyer-card img {
        width: min(100%, 170px);
        height: min(calc(50vw - 23.5px), 170px)
    }

    .lawyer-card h3 {
        font-size: 19px
    }

    .lawyer-card p {
        font-size: 15px;
        line-height: 1.52
    }

    .lawyer-card .lawyer-phone {
        font-size: 14px
    }

    .consult-content h2 {
        font-size: 30px
    }

    .consult-content p {
        font-size: 17px
    }

    .section-intro {
        font-size: 17px
    }

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

    .media-photo:nth-child(3) {
        grid-column: 1/-1;
        aspect-ratio: 1.65
    }

    .video-grid {
        grid-template-columns:1fr
    }

    .service-item summary {
        font-size: 18px;
        min-height: 74px
    }

    .service-panel {
        font-size: 15px
    }

    .stats-section {
        padding: 52px 0
    }

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

    .stat p {
        margin-top: 7px;
        font-size: 17px
    }

    .stat strong {
        font-size: 48px
    }

    .advantages-section .section-title {
        font-size: 33px
    }

    .advantages-grid {
        grid-template-columns:1fr;
        gap: 48px
    }

    .advantage p {
        max-width: 320px
    }

    .contact-details {
        font-size: 18px;
        padding: 45px 22px
    }

    .contact-details address {
        margin-bottom: 26px
    }

    .contact-lines {
        margin-bottom: 23px
    }

    .map-wrap {
        min-height: 320px
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto
    }

    *, *::before, *::after {
        transition: none !important;
        animation: none !important
    }
}

/* ISKANDER v2 — revised tablet and phone layout */
.mobile-call, .mobile-nav-phone {
    display: none
}

@media (min-width: 1101px) {
    .lawyers-grid {
        grid-template-columns:repeat(3, minmax(0, 1fr));
        max-width: 975px;
        margin: 88px auto 0;
        column-gap: 58px;
        align-items: start
    }

    .lawyer-card img {
        width: 230px;
        height: 230px;
        min-height: 230px;
        flex-shrink: 0
    }

    .lawyer-card p {
        max-width: 285px
    }
}

@media (min-width: 781px) and (max-width: 1100px) {
    .lawyers-grid {
        grid-template-columns:repeat(3, minmax(0, 1fr));
        gap: 22px
    }

    .lawyer-card img {
        width: clamp(150px, 19vw, 210px);
        height: clamp(150px, 19vw, 210px);
        min-height: 0
    }

    .lawyer-card p {
        font-size: 16px
    }

    .brand {
        font-size: 17px
    }
}

@media (max-width: 1100px) {
    .header-inner {
        grid-template-columns:minmax(0, 1fr) auto auto;
        gap: 12px
    }

    .header-contact {
        grid-column: 2
    }

    .menu-toggle {
        grid-column: 3;
        grid-row: 1;
        width: 44px;
        height: 44px;
        align-items: center;
        justify-content: center;
        gap: 5px;
        padding: 10px;
        border-radius: 6px
    }

    .menu-toggle span {
        width: 23px;
        height: 2px;
        flex: none;
        transition: transform .2s ease, opacity .2s ease
    }

    .menu-toggle[aria-expanded="true"] span:nth-child(1) {
        transform: translateY(7px) rotate(45deg)
    }

    .menu-toggle[aria-expanded="true"] span:nth-child(2) {
        opacity: 0
    }

    .menu-toggle[aria-expanded="true"] span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg)
    }

    .main-nav {
        align-items: stretch;
        gap: 0;
        padding: 12px 24px 24px;
        border-top: 1px solid #ffffff21;
        max-height: calc(100dvh - var(--header-height));
        box-shadow: 0 16px 22px #0005
    }

    .main-nav .nav-link {
        padding: 14px 3px;
        border-bottom: 1px solid #ffffff1c;
        text-align: left;
        font-size: 18px
    }

    .main-nav .nav-link.is-active {
        color: #e9c67d
    }

    .mobile-nav-phone {
        display: block;
        margin-top: 20px;
        padding: 12px 16px;
        background: #bfa15e;
        text-align: center;
        color: #fff;
        font-size: 15px;
        font-weight: 700;
        border-radius: 4px
    }
}

@media (max-width: 780px) {
    :root {
        --header-height: 64px
    }

    .site-header {
        height: var(--header-height)
    }

    .header-inner {
        height: 100%;
        padding-inline: 18px
    }

    .brand {
        min-width: 0;
        max-width: none;
        white-space: normal;
        overflow-wrap: normal;
        font-size: clamp(12.5px, 3.45vw, 17px);
        line-height: 1.18;
        letter-spacing: -.1px
    }

    .header-contact {
        display: none
    }

    .mobile-call {
        display: grid;
        place-items: center;
        grid-column: 2;
        width: 42px;
        height: 42px;
        color: #fff;
        border: 1px solid #ffffff4f;
        border-radius: 50%;
        flex: none
    }

    .mobile-call svg {
        width: 19px;
        height: 19px
    }

    .main-nav {
        top: var(--header-height)
    }

    .container {
        width: min(calc(100% - 40px), 620px)
    }

    .hero {
        min-height: clamp(525px, 78svh, 730px);
        height: auto;
        padding: 70px 0 75px;
        background-image: linear-gradient(90deg, rgba(0, 0, 0, .56), rgba(0, 0, 0, .2)), linear-gradient(0deg, rgba(0, 0, 0, .23), rgba(0, 0, 0, .1)), url('../images/hero.png');
        background-position: 61% 50%
    }

    .hero-content {
        transform: none;
        max-width: 600px
    }

    .hero h1 {
        max-width: 560px;
        font-size: clamp(29px, 5.7vw, 40px);
        line-height: 1.22;
        letter-spacing: -.6px;
        margin-bottom: 22px;
        text-wrap: balance
    }

    .hero p {
        max-width: 510px;
        font-size: clamp(16px, 2.4vw, 19px);
        line-height: 1.6;
        margin-bottom: 34px;
        text-wrap: pretty
    }

    .hero-button {
        width: min(100%, 328px);
        min-width: 0
    }

    .section {
        padding-top: 68px;
        padding-bottom: 76px
    }

    .section-title {
        font-size: clamp(33px, 6.5vw, 43px);
        letter-spacing: -.7px;
        margin-bottom: 32px
    }

    .section-title-large {
        font-size: clamp(36px, 7vw, 49px)
    }

    .team-section {
        padding-top: 54px
    }

    .founder-layout {
        grid-template-columns:1fr;
        max-width: 540px;
        gap: 0;
        overflow: hidden;
        border-radius: 4px
    }

    .founder-image {
        display: block;
        width: 100%;
        height: auto;
        aspect-ratio: 1.14;
        object-fit: cover;
        object-position: center 43%
    }

    .founder-info {
        min-height: 0;
        padding: 32px 31px 34px
    }

    .founder-info h3 {
        font-size: clamp(24px, 4.4vw, 30px);
        margin-top: 0
    }

    .founder-role {
        margin-bottom: 20px
    }

    .founder-info > p:not(.founder-role) {
        font-size: 16px;
        line-height: 1.7
    }

    .founder-phone {
        margin-top: 15px !important
    }

    .lawyers-grid {
        display: grid;
        grid-template-columns:repeat(2, minmax(0, 1fr));
        gap: 22px;
        max-width: 610px;
        margin: 45px auto 0
    }

    .lawyer-card {
        min-width: 0;
        background: #f7f7f7;
        border: 1px solid #eaeaea;
        border-radius: 6px;
        padding: 28px 22px 24px;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: left
    }

    .lawyer-card img {
        display: block;
        width: clamp(135px, 25vw, 186px);
        height: clamp(135px, 25vw, 186px);
        max-width: 100%;
        min-height: 0;
        aspect-ratio: 1 / 1;
        border-radius: 50%;
        object-fit: cover;
        object-position: center 28%;
        flex: 0 0 auto;
        margin: 0 auto 18px
    }

    .lawyer-card h3 {
        text-align: center;
        font-size: 22px;
        line-height: 1.28;
        margin: 0 0 15px
    }

    .lawyer-card h3 br {
        display: none
    }

    .lawyer-card p {
        font-size: 15.5px;
        line-height: 1.65;
        max-width: none;
        width: 100%;
        margin-bottom: 16px
    }

    .lawyer-card .lawyer-phone {
        margin-top: auto;
        padding-top: 14px;
        border-top: 1px solid #ddd;
        font-size: 15px;
        text-align: left;
        line-height: 1.6
    }

    .lawyer-phone a {
        color: #96711e;
        text-decoration: underline;
        text-underline-offset: 3px
    }

    .consult-section {
        min-height: 340px;
        padding: 62px 0
    }

    .consult-content h2 {
        font-size: clamp(28px, 5.5vw, 38px)
    }

    .consult-content p {
        font-size: 17px
    }

    .consult-content .consult-address {
        font-size: 16px
    }

    .media-section {
        padding-top: 72px
    }

    .media-intro, .service-intro, .advantages-intro {
        font-size: 17px;
        line-height: 1.65
    }

    .media-intro {
        margin: 0 auto 34px
    }

    .media-grid {
        gap: 12px
    }

    .media-photo {
        aspect-ratio: 1 / 1
    }

    .video-grid {
        gap: 16px;
        margin-top: 20px
    }

    .video-caption {
        left: 15px;
        right: 15px;
        bottom: 14px;
        font-size: 15px
    }

    .video-caption small {
        font-size: 12px
    }

    .services-section {
        padding-top: 70px
    }

    .service-intro {
        margin-bottom: 30px
    }

    .service-item summary {
        min-height: 68px;
        padding: 15px 2px 15px 0;
        font-size: 18px;
        gap: 12px
    }

    .service-panel {
        font-size: 15.5px
    }

    .stats-section {
        min-height: 0;
        padding: 65px 0
    }

    .stats-grid {
        gap: 24px
    }

    .stat strong {
        font-size: clamp(45px, 6vw, 59px)
    }

    .stat p {
        font-size: 16px;
        line-height: 1.5;
        margin-top: 12px
    }

    .advantages-section {
        padding-top: 73px;
        padding-bottom: 80px
    }

    .advantages-section .section-title {
        font-size: clamp(31px, 5.7vw, 39px);
        margin-bottom: 26px
    }

    .advantages-intro {
        margin: 0 auto 44px
    }

    .advantages-grid {
        column-gap: 20px;
        row-gap: 38px
    }

    .advantage img {
        width: 75px;
        height: 75px;
        margin-bottom: 18px
    }

    .advantage h3 {
        font-size: 19px;
        margin-bottom: 14px
    }

    .advantage p {
        font-size: 15.5px;
        line-height: 1.6
    }

    .map-wrap {
        min-height: 350px
    }

    .contact-details {
        padding: 42px 26px 52px;
        font-size: 18px;
        overflow-wrap: anywhere
    }
}

@media (max-width: 580px) {
    .lawyers-grid {
        grid-template-columns:1fr;
        gap: 22px;
        max-width: 440px;
        margin-top: 34px
    }

    .lawyer-card {
        padding: 29px 24px 22px
    }

    .lawyer-card img {
        width: 164px;
        height: 164px;
        max-width: none;
        flex: 0 0 164px;
        margin-bottom: 17px
    }

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

    .lawyer-card p {
        font-size: 16px;
        line-height: 1.65
    }

    .lawyer-card .lawyer-phone {
        font-size: 16px;
        margin-bottom: 0
    }

    .media-grid {
        grid-template-columns:repeat(2, minmax(0, 1fr));
        gap: 10px
    }

    .media-photo:first-child {
        grid-column: 1/-1;
        aspect-ratio: 1.65
    }

    .media-photo:nth-child(3) {
        grid-column: auto;
        aspect-ratio: 1
    }

    .video-grid {
        grid-template-columns:1fr
    }

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

    .stat strong {
        font-size: 49px
    }

    .advantages-grid {
        grid-template-columns:1fr;
        gap: 14px;
        max-width: 480px;
        margin-inline: auto
    }

    .advantage {
        display: grid;
        grid-template-columns:66px minmax(0, 1fr);
        grid-template-rows:auto auto;
        gap: 2px 16px;
        align-items: start;
        text-align: left;
        background: #f9f9f9;
        border: 1px solid #ececec;
        border-radius: 6px;
        padding: 19px 17px
    }

    .advantage img {
        grid-column: 1;
        grid-row: 1/span 2;
        width: 64px;
        height: 64px;
        margin: 0
    }

    .advantage h3 {
        grid-column: 2;
        grid-row: 1;
        font-size: 18px;
        margin: 0 0 6px
    }

    .advantage p {
        grid-column: 2;
        grid-row: 2;
        text-align: left;
        font-size: 15px;
        margin: 0;
        max-width: none
    }
}

@media (max-width: 410px) {
    :root {
        --header-height: 62px
    }

    .header-inner {
        padding-inline: 14px;
        gap: 7px
    }

    .brand {
        font-size: 13.3px;
        letter-spacing: -.15px
    }

    .mobile-call {
        width: 38px;
        height: 38px
    }

    .menu-toggle {
        width: 40px;
        height: 42px;
        padding: 9px
    }

    .container {
        width: calc(100% - 34px)
    }

    .hero {
        min-height: 545px;
        padding: 68px 0;
        background-position: 59% center
    }

    .hero h1 {
        font-size: clamp(28px, 7.65vw, 32px);
        margin-bottom: 22px
    }

    .hero p {
        font-size: 16px;
        line-height: 1.56;
        margin-bottom: 31px
    }

    .button {
        font-size: 16px;
        min-height: 52px;
        padding: 13px 19px
    }

    .section-title {
        font-size: 34px
    }

    .section-title-large {
        font-size: 38px
    }

    .founder-info {
        padding: 27px 24px 29px
    }

    .founder-info h3 {
        font-size: 25px
    }

    .media-intro, .service-intro, .advantages-intro {
        font-size: 16px
    }

    .consult-content h2 {
        font-size: 29px
    }

    .contact-details {
        padding: 38px 20px 47px;
        font-size: 17px
    }

    .map-wrap {
        min-height: 300px
    }
}

@media (max-width: 340px) {
    .brand {
        font-size: 12px
    }

    .container {
        width: calc(100% - 28px)
    }

    .hero h1 {
        font-size: 27px
    }

    .lawyer-card {
        padding-inline: 17px
    }

    .founder-info {
        padding-inline: 20px
    }

    .advantage {
        gap: 2px 12px;
        padding: 17px 13px
    }

    .advantage img {
        width: 55px;
        height: 55px
    }

    .advantage {
        grid-template-columns:55px minmax(0, 1fr)
    }
}


/* ISKANDER v3 — restrained premium navigation and fixed WhatsApp contact */
:root {
    --header-height: 82px
}

.site-header {
    height: var(--header-height);
    background: rgba(29, 29, 30, .91);
    -webkit-backdrop-filter: blur(18px) saturate(130%);
    backdrop-filter: blur(18px) saturate(130%);
    border-bottom: 1px solid rgba(194, 160, 87, .37);
    box-shadow: 0 8px 25px rgba(0, 0, 0, .15);
    isolation: isolate;
}

.site-header::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 50%;
    width: min(42%, 620px);
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(215, 181, 105, .75), transparent);
    transform: translateX(-50%);
    pointer-events: none;
}

.header-inner {
    height: 100%;
    grid-template-columns:minmax(255px, 1fr) auto minmax(270px, 1fr);
    padding-inline: clamp(18px, 2.3vw, 40px);
    gap: clamp(12px, 2vw, 27px)
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    width: max-content;
    max-width: 100%;
    white-space: normal;
    color: #f8f5ed;
    text-decoration: none
}

.brand-seal {
    display: grid;
    place-items: center;
    width: 41px;
    height: 41px;
    flex: 0 0 41px;
    font: 28px/1 Georgia, 'Times New Roman', serif;
    color: #d8b66f;
    border: 1px solid rgba(211, 176, 103, .85);
    border-radius: 2px;
    box-shadow: inset 0 0 0 4px rgba(28, 28, 29, .95), inset 0 0 0 5px rgba(211, 176, 103, .26);
}

.brand-copy {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0
}

.brand-eyebrow {
    display: block;
    color: #c5c2b9;
    font: 500 10px/1.35 Arial, Helvetica, sans-serif;
    letter-spacing: 2.1px;
    text-transform: uppercase;
    white-space: nowrap
}

.brand-name {
    display: block;
    font: 600 23px/1.1 Georgia, 'Times New Roman', serif;
    letter-spacing: 2.2px;
    white-space: nowrap
}

.main-nav {
    gap: clamp(15px, 2vw, 31px)
}

.nav-link {
    position: relative;
    padding: 29px 0 28px;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: .15px;
    color: rgba(248, 247, 244, .87);
    transition: color .2s
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 21px;
    height: 2px;
    background: #c8a565;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .22s ease
}

.nav-link:hover, .nav-link.is-active {
    color: #f4dba1
}

.nav-link:hover::after, .nav-link.is-active::after {
    transform: scaleX(1)
}

.header-contact {
    gap: 13px
}

.header-phone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 1px solid rgba(213, 178, 107, .53);
    border-radius: 4px;
    background: rgba(199, 164, 93, .09);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .1px;
    padding: 10px 12px;
    color: #f5efe1;
    transition: background .22s, color .22s, border-color .22s;
}

.header-phone svg {
    width: 17px;
    height: 17px;
    color: #d4b476;
    flex: none
}

.header-phone:hover {
    background: rgba(194, 158, 82, .24);
    border-color: #d3b170;
    text-decoration: none
}

.header-contact .social-icons {
    gap: 8px
}

.header-contact .social-icon {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .24);
    background: rgba(255, 255, 255, .035);
    color: #f8f6ef;
}

.header-contact .social-icon:hover {
    background: rgba(193, 156, 78, .2);
    border-color: #c9a360;
    transform: translateY(-2px)
}

.header-contact .social-icon svg, .header-contact .social-icon:nth-child(1) svg {
    width: 23px;
    height: 23px;
    opacity: 1;
    fill: #f8f6ef;
    color: #f8f6ef
}

.header-contact .social-icon svg path {
    fill: #f8f6ef
}

.header-contact .social-button svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: #f8f6ef;
    color: #f8f6ef
}

.header-contact .social-button svg rect, .header-contact .social-button svg circle {
    stroke: #f8f6ef
}

.header-contact .social-button svg circle:last-child {
    fill: #f8f6ef
}

.mobile-call {
    transition: border-color .22s, background .22s, color .22s
}

.mobile-call:hover {
    border-color: #d1b277;
    background: rgba(197, 158, 76, .15);
    color: #ebcd90
}

.menu-toggle {
    transition: background .22s
}

.menu-toggle:hover {
    background: rgba(255, 255, 255, .07)
}

.whatsapp-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 120;
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    border: 0;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .20);
    transition: transform .2s ease, background .2s, box-shadow .2s;
}

.whatsapp-float svg {
    width: 34px;
    height: 34px
}

.whatsapp-float:hover {
    transform: translateY(-4px) scale(1.035);
    background: #20bd5b;
    box-shadow: 0 11px 28px rgba(0, 0, 0, .3)
}

.whatsapp-float:active {
    transform: scale(.96)
}

@media (max-width: 1350px) and (min-width: 1101px) {
    .header-inner {
        grid-template-columns:minmax(220px, 1fr) auto minmax(235px, 1fr);
        gap: 12px
    }

    .brand-seal {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
        font-size: 25px
    }

    .brand {
        gap: 9px
    }

    .brand-name {
        font-size: 20px;
        letter-spacing: 1.8px
    }

    .brand-eyebrow {
        font-size: 9px;
        letter-spacing: 1.55px
    }

    .nav-link {
        font-size: 14px
    }

    .header-phone {
        font-size: 14px;
        padding: 9px 10px
    }

    .header-contact .social-icon {
        width: 32px;
        height: 32px
    }
}

@media (max-width: 1100px) {
    :root {
        --header-height: 74px
    }

    .header-inner {
        grid-template-columns:minmax(0, 1fr) auto auto;
        gap: 10px;
        padding-inline: 21px
    }

    .brand-seal {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
        font-size: 26px
    }

    .brand-name {
        font-size: 22px
    }

    .brand-eyebrow {
        font-size: 10px
    }

    .header-contact {
        grid-column: 2
    }

    .menu-toggle {
        grid-column: 3;
        grid-row: 1;
        border: 1px solid rgba(255, 255, 255, .2);
        border-radius: 50%;
        width: 44px;
        height: 44px
    }

    .main-nav {
        top: var(--header-height);
        left: 0;
        right: 0;
        background: rgba(29, 29, 30, .98);
        -webkit-backdrop-filter: blur(16px);
        backdrop-filter: blur(16px);
        border-top: 1px solid rgba(206, 165, 91, .27);
        padding: 12px 24px 25px;
    }

    .main-nav .nav-link {
        padding: 14px 3px;
        font-size: 17px
    }

    .main-nav .nav-link::after {
        display: none
    }

    .main-nav .nav-link.is-active {
        color: #e7c98d
    }

    .mobile-nav-phone {
        background: #b79a60;
        color: #151515;
        border-radius: 3px
    }
}

@media (max-width: 780px) {
    :root {
        --header-height: 70px
    }

    .header-inner {
        height: 100%;
        padding-inline: 17px;
        gap: 9px
    }

    .brand {
        gap: 9px
    }

    .brand-seal {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
        font-size: 23px
    }

    .brand-eyebrow {
        font-size: 9px;
        letter-spacing: 1.25px;
        line-height: 1.2
    }

    .brand-name {
        font-size: 20px;
        letter-spacing: 1.8px;
        line-height: 1.15
    }

    .mobile-call {
        width: 42px;
        height: 42px;
        border-color: rgba(218, 185, 115, .53)
    }

    .menu-toggle {
        width: 42px;
        height: 42px;
        padding: 9px
    }

    .main-nav {
        top: var(--header-height)
    }

    .whatsapp-float {
        right: 17px;
        bottom: max(17px, env(safe-area-inset-bottom));
        width: 57px;
        height: 57px
    }

    .whatsapp-float svg {
        width: 32px;
        height: 32px
    }
}

@media (max-width: 410px) {
    :root {
        --header-height: 66px
    }

    .header-inner {
        padding-inline: 12px;
        gap: 7px
    }

    .brand {
        gap: 7px
    }

    .brand-seal {
        width: 31px;
        height: 31px;
        flex-basis: 31px;
        font-size: 21px
    }

    .brand-eyebrow {
        font-size: 8px;
        letter-spacing: 1px
    }

    .brand-name {
        font-size: 18px;
        letter-spacing: 1.5px
    }

    .mobile-call {
        width: 38px;
        height: 38px
    }

    .menu-toggle {
        width: 38px;
        height: 38px;
        padding: 8px
    }
}

@media (max-width: 350px) {
    .header-inner {
        padding-inline: 10px;
        gap: 5px
    }

    .brand-seal {
        width: 28px;
        height: 28px;
        flex-basis: 28px;
        font-size: 19px
    }

    .brand-eyebrow {
        font-size: 7.5px;
        letter-spacing: .75px
    }

    .brand-name {
        font-size: 17px
    }

    .mobile-call {
        width: 36px;
        height: 36px
    }

    .menu-toggle {
        width: 36px;
        height: 36px
    }
}

@media (prefers-reduced-motion: reduce) {
    .whatsapp-float, .site-header, .header-phone, .nav-link, .nav-link::after {
        transition: none !important
    }
}

/* ISKANDER v4 — clickable gold founder phone, matching lawyer contact links */
.founder-phone a {
    color: #96711e;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
    transition: color .2s ease
}

.founder-phone a:hover {
    color: #715515
}


/* ISKANDER v6 — three-language switcher (ҚАЗ / РУС / ENG) */
.header-inner {
    grid-template-columns:minmax(225px, 1fr) auto minmax(230px, 1fr) auto;
    gap: clamp(10px, 1.25vw, 20px)
}

.lang-switcher {
    grid-column: 4;
    grid-row: 1;
    justify-self: end;
    display: flex;
    align-items: center;
    z-index: 2
}

.lang-select {
    appearance: none;
    -webkit-appearance: none;
    background: linear-gradient(45deg, transparent 50%, #d2b574 50%) calc(100% - 13px) 51%/5px 5px no-repeat, linear-gradient(135deg, #d2b574 50%, transparent 50%) calc(100% - 9px) 51%/5px 5px no-repeat, rgba(201, 165, 97, .12);
    border: 1px solid rgba(213, 178, 107, .59);
    border-radius: 5px;
    color: #f5e6c5;
    min-height: 39px;
    width: 72px;
    padding: 0 24px 0 12px;
    font: 700 12px/1 Arial, Helvetica, sans-serif;
    letter-spacing: .5px;
    cursor: pointer;
    transition: background-color .2s, border-color .2s
}

.lang-select:hover {
    background-color: rgba(201, 165, 97, .25);
    border-color: #dfc28a
}

.lang-select:focus-visible {
    outline: 2px solid #e4c888;
    outline-offset: 3px
}

.lang-select option {
    background: #2e2e2f;
    color: #fff;
    font-size: 14px
}

@media (max-width: 1350px) and (min-width: 1101px) {
    .header-inner {
        grid-template-columns:minmax(190px, 1fr) auto minmax(205px, 1fr) auto;
        gap: 9px
    }

    .lang-select {
        width: 64px;
        min-height: 36px;
        font-size: 11px;
        padding-left: 8px
    }
}

@media (max-width: 1100px) {
    .header-inner {
        grid-template-columns:minmax(0, 1fr) auto auto auto;
        gap: 9px
    }

    .header-contact {
        display: none
    }

    .lang-switcher {
        grid-column: 2;
        grid-row: 1
    }

    .mobile-call {
        display: grid;
        grid-column: 3;
        grid-row: 1
    }

    .menu-toggle {
        display: flex;
        grid-column: 4;
        grid-row: 1
    }

    .lang-select {
        min-height: 39px;
        width: 70px
    }
}

@media (max-width: 780px) {
    .header-inner {
        grid-template-columns:minmax(0, 1fr) auto auto auto;
        gap: 8px
    }

    .lang-select {
        width: 66px;
        min-height: 38px;
        font-size: 11px;
        padding-left: 9px;
        padding-right: 21px
    }

    .mobile-call {
        grid-column: 3
    }

    .menu-toggle {
        grid-column: 4
    }
}

@media (max-width: 410px) {
    .header-inner {
        gap: 6px;
        padding-inline: 11px
    }

    .brand {
        gap: 5px
    }

    .brand-seal {
        width: 29px;
        height: 29px;
        flex-basis: 29px
    }

    .brand-eyebrow {
        font-size: 7.4px;
        letter-spacing: .7px
    }

    .brand-name {
        font-size: 16.5px;
        letter-spacing: 1.3px
    }

    .lang-select {
        width: 59px;
        min-height: 35px;
        padding: 0 18px 0 7px;
        font-size: 10px;
        letter-spacing: 0
    }

    .mobile-call, .menu-toggle {
        width: 35px;
        height: 35px
    }

    .menu-toggle {
        padding: 7px
    }
}

@media (max-width: 350px) {
    .header-inner {
        gap: 4px;
        padding-inline: 8px
    }

    .brand-name {
        font-size: 15px
    }

    .brand-eyebrow {
        font-size: 6.8px;
        letter-spacing: .6px
    }

    .brand-seal {
        width: 25px;
        height: 25px;
        flex-basis: 25px;
        font-size: 17px
    }

    .lang-select {
        width: 55px;
        min-height: 33px;
        font-size: 10px;
        padding-left: 6px
    }

    .mobile-call, .menu-toggle {
        width: 33px;
        height: 33px
    }
}

/* Keep long Kazakh headings inside very narrow phone viewports. */
@media (max-width: 410px) {
    .advantages-section .section-title {
        font-size: clamp(25px, 7.4vw, 33px);
        letter-spacing: -.85px
    }
}


/* ISKANDER v7 — stronger premium header and consistent golden clickable phones */
.site-header {
    background: rgba(24, 24, 25, .96);
    border-bottom: 2px solid rgba(201, 163, 86, .64);
    box-shadow: 0 9px 27px rgba(0, 0, 0, .24);
}

.brand-name {
    font-weight: 700;
    letter-spacing: 1.85px;
    color: #fff9ed
}

.brand-eyebrow {
    font-weight: 700;
    color: #e3d5b7
}

.brand-seal {
    border-color: #e0be78;
    box-shadow: inset 0 0 0 4px rgba(28, 28, 29, .95), inset 0 0 0 5px rgba(225, 185, 99, .39)
}

.nav-link {
    font-size: 15.5px;
    font-weight: 700;
    color: #f6f1e7
}

.nav-link:hover, .nav-link.is-active {
    color: #f5d69b
}

.header-phone {
    font-weight: 750;
    color: #e7c781;
    border-color: rgba(225, 189, 114, .75);
    background: rgba(201, 165, 97, .15);
}

.header-phone svg {
    color: #e7c781
}

.header-phone:hover {
    color: #ffe4a7;
    background: rgba(201, 165, 97, .23)
}

/* The gold link treatment previously applied only to mobile lawyer cards. */
.founder-phone a, .lawyer-phone a {
    color: #96711e;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
    font-weight: 600;
    transition: color .2s ease;
}

.founder-phone a:hover, .lawyer-phone a:hover {
    color: #715515
}

.contact-lines a[href^="tel:"] {
    color: #e7c781;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px
}

.contact-lines a[href^="tel:"]:hover {
    color: #ffe0a0
}

.mobile-call {
    color: #e7c781
}

@media (max-width: 1350px) and (min-width: 1101px) {
    .brand-name {
        letter-spacing: 1.55px
    }

    .nav-link {
        font-size: 14px
    }
}

@media (max-width: 1100px) {
    .main-nav .nav-link {
        font-weight: 700
    }

    .brand-name {
        letter-spacing: 1.5px
    }
}

@media (max-width: 780px) {
    .brand-name {
        font-weight: 700
    }

    .brand-eyebrow {
        font-weight: 700
    }
}

@media (max-width: 410px) {
    .brand-name {
        letter-spacing: 1.05px
    }
}

/* ISKANDER v9 — on-page YouTube players with exact start timestamps */
.video-embed-card {
    min-width: 0;
    overflow: hidden;
    background: #202021;
    border: 1px solid rgba(199, 162, 87, .36);
    border-radius: 5px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, .11)
}

.video-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background: #101010
}

.video-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block
}

.video-embed-meta {
    padding: 18px 20px 19px;
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 9px
}

.video-embed-meta strong {
    font-size: 18px;
    line-height: 1.4;
    font-weight: 700
}

.video-embed-details {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    column-gap: 12px;
    row-gap: 9px
}

.video-embed-details span {
    font-size: 14px;
    color: #ead4a1;
    font-weight: 600
}

.video-embed-details a {
    font-size: 13px;
    color: #e8c681;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color .2s
}

.video-embed-details a:hover {
    color: #fff0c4
}

@media (max-width: 780px) {
    .video-embed-meta {
        padding: 16px
    }

    .video-embed-meta strong {
        font-size: 16px
    }
}

@media (max-width: 510px) {
    .video-grid {
        gap: 21px
    }

    .video-embed-meta {
        padding: 14px 15px 16px
    }

    .video-embed-meta strong {
        font-size: 16px
    }

    .video-embed-details span {
        font-size: 13px
    }
}


/* v10 — embedded YouTube videos, with a poster and graceful local preview */
.video-frame {
    isolation: isolate
}

.video-poster {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(.52);
    transition: filter .25s, transform .3s
}

.video-frame:not(.is-playing):hover .video-poster {
    filter: brightness(.62);
    transform: scale(1.015)
}

.video-play-button {
    position: absolute;
    z-index: 2;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 9px;
    min-width: 170px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    text-shadow: 0 2px 6px #0008
}

.video-play-button svg {
    box-sizing: content-box;
    width: 38px;
    height: 38px;
    padding: 12px 22px;
    border-radius: 14px;
    background: #e52026;
    box-shadow: 0 6px 25px #0006;
    transition: transform .2s, background .2s
}

.video-play-button:hover svg {
    background: #c91b21;
    transform: scale(1.08)
}

.video-play-button:focus-visible {
    outline: 3px solid #d7b466;
    outline-offset: 8px;
    border-radius: 4px
}

.video-frame.is-playing .video-poster, .video-frame.is-playing .video-play-button, .video-frame.is-playing .video-local-hint {
    display: none
}

.video-frame iframe {
    z-index: 3
}

.video-play-button[hidden], .video-local-hint[hidden] {
    display: none !important
}

.video-local-hint {
    position: absolute;
    z-index: 2;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(92%, 440px);
    padding: 16px 20px;
    color: #fff;
    background: #151516e8;
    border: 1px solid #b89b57;
    border-radius: 5px;
    line-height: 1.55;
    font-size: 14px;
    text-align: center;
    box-shadow: 0 8px 25px #0008
}

@media (max-width: 510px) {
    .video-local-hint {
        font-size: 12px;
        padding: 11px 13px
    }

    .video-play-button {
        font-size: 14px
    }

    .video-play-button svg {
        width: 29px;
        height: 29px;
        padding: 10px 16px
    }
}
