.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    height: auto;
    min-height: max(740px, 100svh);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    padding: 170px 10% 95px;
    text-align: left;
    background: #081d1d;
}
.hero .hero-copy {
    position: relative;
    z-index: 2;
    width: 62%;
    max-width: 740px;
}
.hero .hero-copy h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(35px, 3.65vw, 58px);
    line-height: 1.3;
    font-weight: 600;
    letter-spacing: .035em;
    color: #f0ece3;
    margin: 0 0 24px;
}
.hero .hero-copy h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(27px, 2.75vw, 43px);
    line-height: 1.4;
    font-weight: 500;
    letter-spacing: .025em;
    color: var(--gold);
    margin: 0;
}
.hero .hero-rule {
    display: block;
    width: 52px;
    height: 1px;
    margin-bottom: 31px;
    background: var(--gold);
    opacity: .75;
}
.hero .hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 27px;
    margin-top: 43px;
}
.hero .hero-primary,
.hero .hero-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 23px;
    font-family: 'Raleway', Arial, sans-serif;
    font-size: 11px;
    line-height: 1.7;
    letter-spacing: .015em;
    font-weight: 600;
    text-transform: none;
    text-decoration: none;
    transition: color .25s, background .25s, border-color .25s;
}
.hero .hero-primary {
    padding: 16px 23px;
    color: #0c2725;
    background: #d5a16a;
    border: 1px solid #d5a16a;
}
.hero .hero-primary:hover {
    color: #0c2725;
    background: #e0b17b;
    border-color: #e0b17b;
}
.hero .hero-secondary {
    padding: 13px 0 10px;
    color: #e5e5d9;
    border-bottom: 1px solid rgba(209, 154, 86, .5);
}
.hero .hero-secondary:hover {color: var(--gold);border-color: var(--gold);}
.hero .hero-arrow {
    width: 20px;
    height: 20px;
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.2;
    transition: transform .25s;
}
.hero .hero-actions a:hover .hero-arrow {transform: translateX(4px);}
.hero .hero-actions a:focus-visible {outline: 2px solid #e0b17b;outline-offset: 6px;}
.hero .hero-architecture {
    position: absolute;
    z-index: 0;
    top: 103px;
    right: 0;
    bottom: 0;
    left: 48%;
    pointer-events: none;
}
.hero .hero-architecture img {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 53% 45%;
    filter: saturate(.65);
}
.hero .hero-architecture::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #081d1d, rgba(8,29,29,.45) 20%, transparent 58%),
                linear-gradient(0deg, rgba(8,29,29,.72), transparent 33%);
}
@media (min-width: 1600px) {
    .hero {padding-left: max(10%, calc((100% - 1400px)/2));}
}
@media (max-width: 1100px) {
    .hero .hero-copy {width: 67%;}
    .hero .hero-copy h1 {font-size: 39px;}
    .hero .hero-copy h2 {font-size: 31px;}
    .hero .hero-actions {gap: 22px;}
    .hero .hero-primary, .hero .hero-secondary {font-size: 10px;gap: 17px;}
}
@media (max-width: 900px) {
    .hero {padding: 160px 5% 85px;min-height: max(700px, 100svh);}
    .hero .hero-copy {width: 74%;}
    .hero .hero-copy h1 {font-size: 39px;line-height: 1.3;margin-top: 0;}
    .hero .hero-copy h2 {font-size: 30px;margin-bottom: 0;}
    .hero .hero-architecture {top: 90px;left: 40%;}
}
@media (max-width: 600px) {
    .hero {min-height: max(690px, 100svh);padding: 150px 6% 90px;}
    .hero .hero-copy {width: 100%;}
    .hero .hero-copy h1 {max-width: 370px;font-size: clamp(25px, 6.9vw, 39px);line-height: 1.4;letter-spacing: .025em;margin: 0 0 22px;}
    .hero .hero-copy h2 {font-size: clamp(20px, 5.8vw, 29px);line-height: 1.5;letter-spacing: .01em;}
    .hero .hero-rule {width: 35px;margin-bottom: 25px;}
    .hero .hero-actions {margin-top: 32px;gap: 18px;}
    .hero .hero-primary {padding: 15px 17px;gap: 17px;}
    .hero .hero-secondary {padding: 12px 0 9px;gap: 12px;}
    .hero .hero-primary, .hero .hero-secondary {font-size: 10px;}
    .hero .hero-arrow {width: 17px;height: 17px;}
    .hero .hero-architecture {left: 18%;opacity: .65;}
    .hero .hero-architecture::after {background: linear-gradient(90deg,#081d1d,rgba(8,29,29,.72) 35%,rgba(8,29,29,.16)),linear-gradient(0deg,#081d1d,transparent 50%);}
}
@media (prefers-reduced-motion: reduce) {
    .hero .hero-primary, .hero .hero-secondary, .hero .hero-arrow {transition: none;}
}

#oblasti {
    background: #e7e0d5;
    color: var(--dark-green, #002b2b);
    padding-top: 90px;
    padding-bottom: 100px;
}
#oblasti .section-title {
    color: var(--dark-green, #002b2b);
    text-align: left;
    font-size: clamp(2rem, 3.2vw, 2.8rem);
    line-height: 1.25;
    letter-spacing: 1px;
    margin-bottom: 48px;
}
#oblasti .practice-accordion {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    column-gap: 0;
    align-items: start;
}
#oblasti .practice-item {
    min-width: 0;
    border-top: 1px solid rgba(113, 86, 54, 0.34);
}
#oblasti .practice-item:last-child {
    border-bottom: 1px solid rgba(113, 86, 54, 0.34);
}
#oblasti .practice-item summary {
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr) 30px;
    align-items: center;
    gap: 17px;
    min-height: 104px;
    padding: 24px 0;
    cursor: pointer;
    list-style: none;
    -webkit-tap-highlight-color: transparent;
}
#oblasti .practice-item summary::-webkit-details-marker {
    display: none;
}
#oblasti .practice-item summary::marker {
    content: '';
}
#oblasti .practice-item summary:focus-visible {
    outline: 2px solid #8e683f;
    outline-offset: 5px;
}
#oblasti .practice-number {
    color: #8b6b47;
    font-family: 'Raleway', sans-serif;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 1px;
    align-self: start;
    padding-top: 7px;
}
#oblasti .practice-title {
    color: var(--dark-green, #002b2b);
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.25rem, 1.55vw, 1.65rem);
    font-weight: 600;
    line-height: 1.38;
}
#oblasti .practice-toggle {
    position: relative;
    width: 30px;
    height: 30px;
    border: 1px solid rgba(113, 86, 54, 0.4);
    border-radius: 50%;
    color: #795934;
    transition: background-color 180ms ease, border-color 180ms ease;
}
#oblasti .practice-toggle::before,
#oblasti .practice-toggle::after {
    content: '';
    position: absolute;
    left: 9px;
    top: 13px;
    width: 10px;
    height: 1px;
    background: currentColor;
}
#oblasti .practice-toggle::after {
    transform: rotate(90deg);
    transition: transform 180ms ease;
}
#oblasti .practice-item[open] .practice-toggle::after {
    transform: rotate(0);
}
#oblasti .practice-item summary:hover .practice-toggle,
#oblasti .practice-item[open] .practice-toggle {
    background-color: rgba(139, 107, 71, 0.09);
    border-color: #8b6b47;
}
#oblasti .practice-description {
    padding: 0 42px 32px 43px;
}
#oblasti .practice-description p {
    color: #45534d;
    font-family: 'Raleway', sans-serif;
    font-weight: 400;
    font-size: 0.96rem;
    line-height: 1.85;
    margin: 0;
}
@media (max-width: 780px) {
    #oblasti {
        padding-top: 58px;
        padding-bottom: 64px;
    }
    #oblasti .section-title {
        font-size: 1.9rem;
        margin-bottom: 32px;
    }
    #oblasti .practice-accordion {
        grid-template-columns: minmax(0, 1fr);
        column-gap: 0;
    }
    #oblasti .practice-item:last-child {
        border-bottom: 1px solid rgba(113, 86, 54, 0.34);
    }
    #oblasti .practice-item summary {
        grid-template-columns: 24px minmax(0, 1fr) 28px;
        gap: 12px;
        min-height: 101px;
        padding: 23px 0;
    }
    #oblasti .practice-title {
        font-size: 1.3rem;
    }
    #oblasti .practice-number {
        padding-top: 5px;
    }
    #oblasti .practice-toggle {
        width: 28px;
        height: 28px;
    }
    #oblasti .practice-toggle::before,
    #oblasti .practice-toggle::after {
        left: 8px;
        top: 12px;
    }
    #oblasti .practice-description {
        padding: 0 8px 27px 36px;
    }
    #oblasti .practice-description p {
        font-size: 0.92rem;
        line-height: 1.8;
    }
}
@media (prefers-reduced-motion: reduce) {
    #oblasti .practice-toggle,
    #oblasti .practice-toggle::after {
        transition: none;
    }
}

#kontakt {
    padding-bottom: 58px;
}
#kontakt .contact-wrapper {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
}
#kontakt .contact-details,
#kontakt .contact-header-group h4 {
    min-width: 0;
}
#kontakt .contact-details p {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    column-gap: 12px;
    align-items: baseline;
    text-align: left;
    overflow-wrap: anywhere;
}
#kontakt .info-label,
#kontakt .hours-label {
    width: auto;
    min-width: 0;
}
#kontakt .map-box {
    min-width: 0;
    background: #242424;
    overflow: hidden;
}
#kontakt .map-box iframe {
    display: block;
    color-scheme: light;
    filter: grayscale(1) invert(.90) contrast(.90) brightness(.88);
}
@media (max-width: 1100px) {
    #kontakt .contact-wrapper {
        grid-template-columns: minmax(0, 1fr);
    }
    #kontakt .contact-header-group {
        flex-direction: column;
        text-align: center;
    }
    #kontakt .contact-header-group h4 {
        margin-left: 0;
    }
    #kontakt .contact-details {
        text-align: center;
    }
    #kontakt .contact-details p {
        display: block;
        text-align: center;
    }
    #kontakt .info-label,
    #kontakt .hours-label {
        display: block;
        width: 100%;
        text-align: center;
    }
    #kontakt .contact-apps {
        justify-content: center;
    }
    #kontakt .map-box {
        min-width: 0;
        width: 100%;
        height: 320px;
    }
}
@media (max-width: 900px) {
    #kontakt {
        padding-bottom: 44px !important;
    }
    #kontakt .map-box {
        height: 250px;
    }
}

.integrity-section > p,
.bio-info > p,
.security-banner > p {
    font-family: 'Source Sans 3', 'Segoe UI', Arial, sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.85;
    letter-spacing: .008em;
    color: #c5c9c2;
    -webkit-font-smoothing: antialiased;
}
@media (max-width: 900px) {
    .integrity-section > p,
    .bio-info > p,
    .security-banner > p {
        font-size: 17px;
        line-height: 1.8;
        letter-spacing: .005em;
    }
}

.hero::after {
    content: '';
    position: absolute;
    z-index: 1;
    pointer-events: none;
    bottom: 0;
    left: 0;
    right: 0;
    height: 48px;
    background: linear-gradient(180deg, rgba(8,29,29,0), #081d1d);
}
.integrity-section {
    background-color: #080808;
    background-image: linear-gradient(180deg, #081d1d, rgba(8,29,29,0) 48px);
}
.security-banner {
    position: relative;
    border: 0;
    background-image: linear-gradient(180deg, #080808 12px, rgba(8,8,8,0) 96px),
                      var(--pattern-texture);
    background-repeat: no-repeat, repeat;
}
.security-banner::after,
#oblasti::after {
    content: '';
    position: absolute;
    z-index: 1;
    pointer-events: none;
    left: 0;
    right: 0;
    bottom: -18px;
    height: 36px;
}
.security-banner::after {
    background: linear-gradient(180deg, #002b2b, #e7e0d5);
}
#oblasti {
    position: relative;
    background-image: none;
}
#oblasti::after {
    height: 52px;
    background: linear-gradient(180deg, #e7e0d5, #002b2b);
}
#osnivac .bio-container {
    background: linear-gradient(180deg, #080808, #131313 88px, #131313 calc(100% - 88px), #080808);
    border-left: 3px solid rgba(209,154,86,.72);
    border-image: linear-gradient(180deg, transparent, rgba(209,154,86,.72) 10%, rgba(209,154,86,.72) 78%, transparent) 1;
    box-shadow: inset -12px 0 24px -12px rgba(8,8,8,.45),
                inset 0 0 64px 14px rgba(8,8,8,.97),
                0 10px 28px rgba(0,0,0,.12);
}
footer {
    border-top: 0;
    background-image: linear-gradient(180deg, #002b2b, rgba(0,43,43,0) 54px);
    background-repeat: no-repeat;
}
@media (max-width: 900px) {
    .hero::after {height: 36px;}
    .integrity-section {background-image: linear-gradient(180deg, #081d1d, rgba(8,29,29,0) 32px);}
    .security-banner {background-image: linear-gradient(180deg, #080808 8px, rgba(8,8,8,0) 64px), var(--pattern-texture);}
    .security-banner::after,
    #oblasti::after {bottom: -14px; height: 28px;}
    #oblasti::after {height: 40px;}
    #osnivac .bio-container {
        background: linear-gradient(180deg, #080808, #131313 56px, #131313 calc(100% - 56px), #080808);
        box-shadow: inset -8px 0 18px -8px rgba(8,8,8,.4), inset 0 0 42px 8px rgba(8,8,8,.97), 0 10px 28px rgba(0,0,0,.12);
    }
    footer {background-image: linear-gradient(180deg, #002b2b, rgba(0,43,43,0) 46px);}
}
