:root {
    --ink: #0d1b2a;
    --ink-soft: #18334a;
    --paper: #f3f5f2;
    --paper-deep: #e8ece8;
    --white: #ffffff;
    --accent: #55e6c1;
    --accent-strong: #27cfab;
    --cyan: #a9f4e3;
    --blue: #1b66e3;
    --muted: #63707c;
    --line: rgba(13, 27, 42, 0.12);
    --shadow: 0 28px 80px rgba(7, 23, 38, 0.14);
    --radius-lg: 36px;
    --radius-md: 24px;
    --radius-sm: 16px;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 96px;
}

body {
    overflow-x: hidden;
    color: var(--ink);
    background: var(--paper);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

::selection {
    color: var(--ink);
    background: var(--accent);
}

a {
    color: inherit;
}

.skip-link {
    position: fixed;
    z-index: 2000;
    top: 10px;
    left: 10px;
    padding: 10px 16px;
    color: var(--ink);
    background: var(--accent);
    border-radius: 10px;
    transform: translateY(-160%);
    transition: transform 0.2s ease;
}

.skip-link:focus {
    transform: translateY(0);
}

.navbar {
    padding: 18px 0;
    color: var(--white);
    background: transparent;
    transition: padding 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.navbar.is-scrolled {
    padding: 10px 0;
    color: var(--ink);
    background: rgba(243, 245, 242, 0.94);
    box-shadow: 0 12px 36px rgba(7, 23, 38, 0.08);
    backdrop-filter: blur(18px);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    color: inherit;
}

.navbar-brand:hover,
.navbar-brand:focus {
    color: inherit;
}

.navbar-brand img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    padding: 5px;
    background: var(--white);
    border-radius: 50%;
}

.navbar-brand span {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.navbar-brand strong {
    font-size: 0.94rem;
    letter-spacing: 0.01em;
}

.navbar-brand small {
    margin-top: 5px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.67rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.navbar.is-scrolled .navbar-brand small {
    color: var(--muted);
}

.navbar .nav-link {
    position: relative;
    margin: 0 4px;
    padding: 10px 12px !important;
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.9rem;
    font-weight: 600;
}

.navbar .nav-link::after {
    content: "";
    position: absolute;
    right: 12px;
    bottom: 5px;
    left: 12px;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.2s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
    color: var(--white);
}

.navbar .nav-link:hover::after,
.navbar .nav-link:focus::after {
    transform: scaleX(1);
    transform-origin: left;
}

.navbar.is-scrolled .nav-link {
    color: var(--ink-soft);
}

.navbar.is-scrolled .nav-link:hover,
.navbar.is-scrolled .nav-link:focus {
    color: var(--ink);
}

.navbar-toggler {
    border: 0;
    background: var(--white);
    box-shadow: none !important;
}

.btn {
    border-radius: 999px;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

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

.btn-accent {
    color: var(--ink);
    border: 1px solid var(--accent);
    background: var(--accent);
    box-shadow: 0 12px 28px rgba(85, 230, 193, 0.22);
}

.btn-accent:hover,
.btn-accent:focus {
    color: var(--ink);
    border-color: var(--accent-strong);
    background: var(--accent-strong);
    box-shadow: 0 16px 34px rgba(85, 230, 193, 0.28);
}

.btn-lg {
    padding: 14px 24px;
    font-size: 0.96rem;
}

.hero {
    position: relative;
    overflow: hidden;
    color: var(--white);
    background:
        radial-gradient(circle at 10% 80%, rgba(27, 102, 227, 0.34), transparent 34%),
        radial-gradient(circle at 92% 18%, rgba(85, 230, 193, 0.16), transparent 28%),
        var(--ink);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.5;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 54px 54px;
    mask-image: linear-gradient(to bottom, #000, transparent 86%);
}

.hero-orbit {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 50%;
}

.hero-orbit-one {
    top: -26vw;
    right: -17vw;
    width: 68vw;
    height: 68vw;
}

.hero-orbit-two {
    right: 17vw;
    bottom: -24vw;
    width: 42vw;
    height: 42vw;
}

.hero .container {
    z-index: 1;
}

.hero-copy {
    padding-top: 112px;
    padding-bottom: 112px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    color: var(--accent);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 28px;
    height: 2px;
    background: currentColor;
}

.eyebrow-dark {
    color: var(--blue);
}

.hero h1 {
    max-width: 720px;
    margin-bottom: 26px;
    font-size: clamp(3rem, 5.4vw, 5.8rem);
    font-weight: 750;
    letter-spacing: -0.064em;
    line-height: 0.96;
}

.hero h1 span {
    color: var(--accent);
}

.hero-lead {
    max-width: 650px;
    margin-bottom: 34px;
    color: rgba(255, 255, 255, 0.7);
    font-size: clamp(1rem, 1.4vw, 1.2rem);
    line-height: 1.75;
}

.hero .btn-outline-light {
    border-color: rgba(255, 255, 255, 0.32);
    background: rgba(255, 255, 255, 0.04);
}

.hero .btn-outline-light:hover {
    color: var(--ink);
    background: var(--white);
}

.hero-social {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 18px;
    margin-top: 22px;
    color: rgba(255, 255, 255, 0.46);
    font-size: 0.78rem;
}

.hero-social a {
    color: var(--white);
    font-weight: 750;
    text-decoration: none;
    border-bottom: 1px solid rgba(85, 230, 193, 0.55);
}

.hero-social a:hover,
.hero-social a:focus {
    color: var(--accent);
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 680px;
    margin-top: 52px;
    padding-top: 26px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-metrics > div {
    padding-right: 18px;
}

.hero-metrics strong,
.hero-metrics span {
    display: block;
}

.hero-metrics strong {
    color: var(--white);
    font-size: 1.45rem;
    letter-spacing: -0.04em;
}

.hero-metrics span {
    margin-top: 5px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.77rem;
    line-height: 1.4;
}

.hero-visual {
    position: relative;
    max-width: 610px;
    margin: 90px 0 70px auto;
}

.hero-image-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 0.84;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 260px 260px 34px 34px;
    box-shadow: 0 42px 110px rgba(0, 0, 0, 0.38);
}

.hero-image-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(4, 14, 24, 0.58), transparent 52%);
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% center;
    transform: scale(1.02);
}

.floating-card {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 16px;
    background: rgba(10, 29, 45, 0.78);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(18px);
}

.floating-card-top {
    top: 21%;
    left: -58px;
    font-size: 0.8rem;
    font-weight: 700;
}

.floating-card-bottom {
    right: -36px;
    bottom: 52px;
    display: block;
}

.floating-card-bottom small,
.floating-card-bottom strong {
    display: block;
}

.floating-card-bottom small {
    margin-bottom: 3px;
    color: rgba(255, 255, 255, 0.56);
    font-size: 0.7rem;
    text-transform: uppercase;
}

.floating-card-bottom strong {
    font-size: 0.82rem;
}

.pulse-dot {
    position: relative;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 7px rgba(85, 230, 193, 0.14);
}

.scroll-cue {
    position: absolute;
    z-index: 2;
    bottom: 28px;
    left: 50%;
    display: flex;
    align-items: center;
    gap: 14px;
    color: rgba(255, 255, 255, 0.48);
    font-size: 0.65rem;
    letter-spacing: 0.14em;
    text-decoration: none;
    text-transform: uppercase;
    transform: translateX(-50%);
}

.scroll-line {
    position: relative;
    display: block;
    overflow: hidden;
    width: 58px;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.scroll-line::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--accent);
    animation: scrollLine 2.3s ease-in-out infinite;
}

@keyframes scrollLine {
    0% { transform: translateX(-100%); }
    55%, 100% { transform: translateX(100%); }
}

.section-pad {
    padding: 118px 0;
}

.section-title {
    margin: 0;
    font-size: clamp(2.7rem, 5vw, 5rem);
    font-weight: 760;
    letter-spacing: -0.06em;
    line-height: 0.98;
}

.section-intro {
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.8;
}

.services-section {
    background:
        radial-gradient(circle at 92% 3%, rgba(85, 230, 193, 0.2), transparent 22%),
        var(--paper);
}

.service-card {
    position: relative;
    overflow: hidden;
    min-height: 430px;
    color: var(--white);
    border-radius: var(--radius-md);
    background: var(--ink);
    box-shadow: 0 12px 40px rgba(13, 27, 42, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow);
}

.service-card > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-card:hover > img {
    transform: scale(1.045);
}

.service-card-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(7, 24, 39, 0.94) 0%, rgba(7, 24, 39, 0.72) 50%, rgba(7, 24, 39, 0.15) 100%),
        linear-gradient(to top, rgba(7, 24, 39, 0.5), transparent);
}

.service-card-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 34px;
}

.service-card-wide .service-card-content {
    position: absolute;
    inset: 0;
    max-width: 62%;
}

.service-index {
    margin-bottom: auto;
    color: var(--accent);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.service-card h3 {
    margin: 52px 0 16px;
    font-size: clamp(1.7rem, 2.5vw, 2.45rem);
    font-weight: 740;
    letter-spacing: -0.045em;
}

.service-card p {
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.66);
    line-height: 1.65;
}

.service-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.service-meta > span {
    font-size: 0.85rem;
    font-weight: 700;
}

.service-link {
    color: inherit;
    font-size: 0.85rem;
    font-weight: 800;
    text-decoration: none;
}

.service-link span {
    display: inline-block;
    margin-left: 5px;
    transition: transform 0.2s ease;
}

.service-link:hover span {
    transform: translate(3px, -3px);
}

.service-card-tall {
    display: flex;
    flex-direction: column;
    min-height: 430px;
    color: var(--ink);
    background: var(--white);
}

.service-card-tall .service-card-content {
    flex: 1 1 auto;
}

.service-card-tall img {
    flex: 0 0 160px;
    height: 160px;
    object-position: center 38%;
}

.service-card-light .service-index {
    color: var(--blue);
}

.service-card-light p {
    color: var(--muted);
}

.service-card-light .service-meta {
    border-color: var(--line);
}

.service-card-compact {
    min-height: 390px;
}

.service-card-cyan {
    color: var(--ink);
    background:
        radial-gradient(circle at 88% 12%, rgba(255, 255, 255, 0.65), transparent 28%),
        var(--cyan);
}

.service-card-cyan .service-index {
    color: #087d69;
}

.service-card-cyan p {
    color: rgba(13, 27, 42, 0.68);
}

.service-card-cyan .service-meta {
    border-color: rgba(13, 27, 42, 0.16);
}

.service-card-navy {
    background:
        radial-gradient(circle at 86% 8%, rgba(27, 102, 227, 0.55), transparent 34%),
        var(--ink);
}

.service-card-image-top {
    min-height: 390px;
    color: var(--ink);
    background: var(--white);
}

.service-card-image-top > img {
    display: block;
    height: 150px;
    object-position: center;
}

.service-card-image-top .service-card-content {
    height: calc(100% - 150px);
    padding-top: 25px;
}

.service-card-image-top .service-index {
    color: var(--blue);
}

.service-card-image-top h3 {
    margin-top: 34px;
}

.service-card-image-top p {
    color: var(--muted);
}

.service-card-image-top .service-meta {
    border-color: var(--line);
}

.photo-section {
    overflow: hidden;
    color: var(--white);
    background: #071827;
}

.photo-image-col,
.photo-copy-col {
    min-height: 760px;
}

.photo-image {
    width: 100%;
    height: 100%;
    min-height: 760px;
    background:
        linear-gradient(to right, transparent 62%, #071827 100%),
        linear-gradient(to top, rgba(7, 24, 39, 0.45), transparent 45%),
        url("../img/main-personal-warm.jpg") 45% center / cover no-repeat;
    filter: saturate(0.94) contrast(1.02);
}

.photo-copy-col {
    position: relative;
    display: flex;
    align-items: center;
    background:
        radial-gradient(circle at 90% 20%, rgba(85, 230, 193, 0.12), transparent 26%),
        #071827;
}

.photo-copy-col::before {
    content: "PHOTO";
    position: absolute;
    top: 42px;
    right: -20px;
    color: rgba(255, 255, 255, 0.025);
    font-size: clamp(6rem, 12vw, 12rem);
    font-weight: 900;
    letter-spacing: -0.06em;
}

.photo-copy {
    position: relative;
    z-index: 2;
    max-width: 680px;
    padding: 100px clamp(36px, 7vw, 110px);
}

.photo-copy h2 {
    margin-bottom: 28px;
    font-size: clamp(3rem, 5.7vw, 6rem);
    font-weight: 760;
    letter-spacing: -0.066em;
    line-height: 0.94;
}

.photo-copy > p {
    margin-bottom: 34px;
    color: rgba(255, 255, 255, 0.67);
    font-size: 1.08rem;
    line-height: 1.75;
}

.photo-list {
    margin: 0 0 38px;
    padding: 0;
    list-style: none;
}

.photo-list li {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 0;
    color: rgba(255, 255, 255, 0.86);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.photo-list span {
    color: var(--accent);
    font-size: 0.68rem;
    font-weight: 800;
}

.photo-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.photo-actions .btn-outline-light {
    border-color: rgba(255, 255, 255, 0.3);
}

.approach-section {
    background: var(--white);
}

.steps {
    border-top: 1px solid var(--line);
}

.step-item {
    display: grid;
    grid-template-columns: 88px 1fr;
    gap: 28px;
    padding: 32px 0;
    border-bottom: 1px solid var(--line);
}

.step-number {
    color: var(--blue);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.step-item h3 {
    margin-bottom: 10px;
    font-size: 1.35rem;
    font-weight: 750;
    letter-spacing: -0.025em;
}

.step-item p {
    max-width: 650px;
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.contact-section {
    padding: 110px 0;
    background:
        radial-gradient(circle at 15% 10%, rgba(27, 102, 227, 0.12), transparent 24%),
        var(--paper-deep);
}

.contact-shell {
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow);
}

.contact-info {
    position: relative;
    overflow: hidden;
    padding: clamp(42px, 6vw, 78px);
    color: var(--white);
    background:
        radial-gradient(circle at 84% 15%, rgba(85, 230, 193, 0.2), transparent 25%),
        var(--ink);
}

.contact-info::after {
    content: "";
    position: absolute;
    right: -120px;
    bottom: -120px;
    width: 300px;
    height: 300px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    box-shadow:
        0 0 0 45px rgba(255, 255, 255, 0.025),
        0 0 0 90px rgba(255, 255, 255, 0.018);
}

.contact-info h2 {
    margin-bottom: 24px;
    font-size: clamp(2.7rem, 4.6vw, 4.8rem);
    font-weight: 760;
    letter-spacing: -0.06em;
    line-height: 0.96;
}

.contact-info > p {
    position: relative;
    z-index: 1;
    color: rgba(255, 255, 255, 0.64);
    line-height: 1.75;
}

.contact-direct {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 20px;
    margin-top: 56px;
}

.contact-direct a {
    text-decoration: none;
}

.contact-direct small,
.contact-direct strong {
    display: block;
}

.contact-direct small {
    margin-bottom: 5px;
    color: var(--accent);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.contact-direct strong {
    font-size: 1.05rem;
}

.contact-form-col {
    padding: clamp(36px, 6vw, 74px);
}

.form-label {
    margin-bottom: 9px;
    font-size: 0.78rem;
    font-weight: 800;
}

.form-label span {
    color: #8d979f;
    font-weight: 500;
}

.form-control,
.form-select {
    min-height: 54px;
    padding: 12px 15px;
    color: var(--ink);
    border: 1px solid #dfe4e1;
    border-radius: 12px;
    background-color: #f8faf8;
    box-shadow: none !important;
}

textarea.form-control {
    min-height: 116px;
    resize: vertical;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--blue);
    background: var(--white);
}

.form-check-input {
    width: 1.15em;
    height: 1.15em;
    margin-top: 0.16em;
    border-color: #bec7c2;
    box-shadow: none !important;
}

.form-check-input:checked {
    border-color: var(--blue);
    background-color: var(--blue);
}

.form-check-label {
    color: var(--muted);
    font-size: 0.76rem;
    line-height: 1.55;
}

.form-check-label a,
.consent-link {
    color: var(--blue);
    font: inherit;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.consent-link {
    display: inline;
    padding: 0;
    border: 0;
    background: transparent;
}

.consent-link:hover,
.consent-link:focus,
.form-check-label a:hover,
.form-check-label a:focus {
    color: var(--ink);
}

.consent-modal {
    overflow: hidden;
    border: 0;
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.consent-modal .modal-header,
.consent-modal .modal-body,
.consent-modal .modal-footer {
    padding-right: clamp(24px, 5vw, 50px);
    padding-left: clamp(24px, 5vw, 50px);
}

.consent-modal .modal-header {
    align-items: flex-start;
    padding-top: 34px;
    padding-bottom: 20px;
    border-bottom-color: var(--line);
}

.consent-modal .modal-title {
    max-width: 640px;
    font-size: clamp(1.65rem, 3vw, 2.35rem);
    font-weight: 760;
    letter-spacing: -0.04em;
}

.consent-modal .modal-body {
    padding-top: 28px;
    padding-bottom: 28px;
    color: var(--muted);
    line-height: 1.72;
}

.consent-modal .modal-body h3 {
    margin: 24px 0 8px;
    color: var(--ink);
    font-size: 1rem;
    font-weight: 800;
}

.consent-modal .modal-body a {
    color: var(--blue);
}

.consent-modal .modal-footer {
    padding-top: 18px;
    padding-bottom: 24px;
    border-top-color: var(--line);
}

.btn-dark-submit {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-right: 22px;
    padding-left: 22px;
    color: var(--white);
    border-color: var(--ink);
    background: var(--ink);
}

.btn-dark-submit:hover,
.btn-dark-submit:focus {
    color: var(--ink);
    border-color: var(--accent);
    background: var(--accent);
}

.btn-dark-submit span {
    font-size: 1.15rem;
}

.alert {
    margin-bottom: 28px;
    border: 0;
    border-radius: 14px;
}

.site-footer {
    padding: 84px 0 26px;
    color: rgba(255, 255, 255, 0.7);
    background: #07131f;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: var(--white);
    font-weight: 750;
    text-decoration: none;
}

.footer-brand img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    padding: 5px;
    background: var(--white);
    border-radius: 50%;
}

.footer-note {
    max-width: 320px;
    margin-top: 22px;
    color: rgba(255, 255, 255, 0.48);
    line-height: 1.7;
}

.site-footer h3 {
    margin-bottom: 20px;
    color: var(--white);
    font-size: 0.77rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

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

.site-footer li + li {
    margin-top: 12px;
}

.site-footer li a {
    color: rgba(255, 255, 255, 0.56);
    font-size: 0.86rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-footer li a:hover {
    color: var(--accent);
}

.requisites {
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.025);
}

.requisites-title {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
}

.requisites-title h3 {
    margin-bottom: 18px;
}

.requisites-title span {
    color: var(--accent);
    font-size: 0.62rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.requisites dl {
    display: grid;
    gap: 10px;
    margin: 0;
}

.requisites dl > div {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 12px;
}

.requisites dt {
    color: rgba(255, 255, 255, 0.36);
    font-size: 0.72rem;
    font-weight: 500;
}

.requisites dd {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.76rem;
    text-align: right;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    margin-top: 62px;
    padding-top: 22px;
    color: rgba(255, 255, 255, 0.34);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.7rem;
}

.footer-bottom a {
    color: inherit;
    text-underline-offset: 3px;
}

.footer-bottom a:hover {
    color: var(--accent);
}

.policy-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at 88% 4%, rgba(85, 230, 193, 0.18), transparent 22%),
        var(--paper);
}

.policy-header {
    padding: 28px 0;
    color: var(--white);
    background: var(--ink);
}

.policy-header .footer-brand {
    font-size: 0.92rem;
}

.policy-header .policy-back {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
}

.policy-header .policy-back:hover {
    color: var(--accent);
}

.policy-hero {
    padding: 92px 0 54px;
}

.policy-hero h1 {
    max-width: 980px;
    margin-bottom: 22px;
    font-size: clamp(2.6rem, 6.6vw, 6.3rem);
    font-weight: 780;
    letter-spacing: -0.065em;
    line-height: 0.95;
}

.policy-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 28px;
    color: var(--muted);
    font-size: 0.8rem;
}

.policy-layout {
    padding-bottom: 100px;
}

.policy-nav {
    position: sticky;
    top: 28px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(14px);
}

.policy-nav strong {
    display: block;
    margin-bottom: 15px;
    font-size: 0.7rem;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.policy-nav a {
    display: block;
    padding: 7px 0;
    color: var(--muted);
    font-size: 0.8rem;
    text-decoration: none;
}

.policy-nav a:hover {
    color: var(--blue);
}

.policy-document {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: var(--white);
    box-shadow: 0 20px 70px rgba(7, 23, 38, 0.08);
}

.policy-section {
    padding: clamp(30px, 5vw, 58px);
    scroll-margin-top: 24px;
}

.policy-section + .policy-section {
    border-top: 1px solid var(--line);
}

.policy-section h2 {
    margin-bottom: 24px;
    font-size: clamp(1.65rem, 3vw, 2.4rem);
    font-weight: 760;
    letter-spacing: -0.04em;
}

.policy-section h3 {
    margin: 30px 0 12px;
    font-size: 1rem;
    font-weight: 800;
}

.policy-section p,
.policy-section li {
    color: var(--muted);
    line-height: 1.78;
}

.policy-section li + li {
    margin-top: 8px;
}

.policy-section a {
    color: var(--blue);
}

.operator-card {
    display: grid;
    gap: 12px;
    margin-top: 24px;
    padding: 22px;
    border-radius: 18px;
    background: var(--paper);
}

.operator-card div {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 18px;
}

.operator-card dt,
.operator-card dd {
    margin: 0;
    font-size: 0.82rem;
}

.operator-card dt {
    color: var(--muted);
}

.operator-card dd {
    color: var(--ink);
    font-weight: 700;
}

.back-to-top {
    position: fixed;
    z-index: 1000;
    right: 24px;
    bottom: 24px;
    display: grid;
    width: 48px;
    height: 48px;
    color: var(--ink);
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 14px 34px rgba(7, 23, 38, 0.24);
    opacity: 0;
    place-items: center;
    text-decoration: none;
    transform: translateY(20px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.back-to-top.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

@media (max-width: 1199.98px) {
    .hero h1 {
        font-size: clamp(3rem, 5.8vw, 4.7rem);
    }

    .hero-visual {
        max-width: 520px;
    }

    .floating-card-top {
        left: -25px;
    }

    .floating-card-bottom {
        right: -12px;
    }

    .service-card-wide .service-card-content {
        max-width: 72%;
    }
}

@media (max-width: 991.98px) {
    html {
        scroll-padding-top: 82px;
    }

    .navbar {
        padding: 11px 0;
        color: var(--ink);
        background: rgba(243, 245, 242, 0.96);
        box-shadow: 0 10px 28px rgba(7, 23, 38, 0.08);
        backdrop-filter: blur(18px);
    }

    .navbar-brand small {
        color: var(--muted);
    }

    .navbar-collapse {
        margin-top: 11px;
        padding: 14px;
        border: 1px solid var(--line);
        border-radius: 18px;
        background: var(--white);
        box-shadow: 0 18px 38px rgba(7, 23, 38, 0.12);
    }

    .navbar .nav-link,
    .navbar.is-scrolled .nav-link {
        color: var(--ink);
    }

    .hero .row {
        padding-top: 100px;
        padding-bottom: 70px;
    }

    .hero-copy {
        padding-top: 30px;
        padding-bottom: 0;
    }

    .hero-visual {
        max-width: 610px;
        margin: 20px auto 40px;
    }

    .hero-image-wrap {
        aspect-ratio: 1.12;
        border-radius: 220px 220px 30px 30px;
    }

    .hero-image {
        object-position: 50% 42%;
    }

    .scroll-cue {
        display: none;
    }

    .section-pad {
        padding: 92px 0;
    }

    .service-card-wide .service-card-content {
        max-width: 72%;
    }

    .photo-image-col,
    .photo-copy-col,
    .photo-image {
        min-height: 620px;
    }

    .photo-image {
        background:
            linear-gradient(to bottom, transparent 62%, #071827 100%),
            url("../img/main-personal-warm.jpg") 45% center / cover no-repeat;
    }

    .photo-copy {
        max-width: 760px;
        margin: 0 auto;
    }

    .contact-section {
        padding: 90px 0;
    }

    .policy-nav {
        position: static;
        margin-bottom: 24px;
    }
}

@media (max-width: 767.98px) {
    .navbar-brand strong {
        font-size: 0.85rem;
    }

    .navbar-brand small {
        font-size: 0.58rem;
    }

    .hero h1 {
        font-size: clamp(2.8rem, 13vw, 4.5rem);
    }

    .hero-lead {
        font-size: 0.98rem;
    }

    .hero-metrics {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .hero-metrics > div {
        display: grid;
        grid-template-columns: 130px 1fr;
        align-items: center;
    }

    .hero-metrics span {
        margin-top: 0;
    }

    .hero-image-wrap {
        aspect-ratio: 0.9;
    }

    .floating-card-top {
        top: 18%;
        left: 12px;
    }

    .floating-card-bottom {
        right: 12px;
        bottom: 20px;
    }

    .section-pad {
        padding: 76px 0;
    }

    .section-title {
        font-size: clamp(2.55rem, 12vw, 4.4rem);
    }

    .service-card,
    .service-card-tall,
    .service-card-compact,
    .service-card-image-top {
        min-height: 420px;
    }

    .service-card-wide .service-card-content {
        max-width: 100%;
    }

    .service-card-overlay {
        background: linear-gradient(to top, rgba(7, 24, 39, 0.98), rgba(7, 24, 39, 0.32));
    }

    .service-card-content {
        padding: 28px;
    }

    .service-card h3 {
        font-size: 2rem;
    }

    .photo-image-col,
    .photo-image {
        min-height: 520px;
    }

    .photo-copy-col {
        min-height: auto;
    }

    .photo-copy {
        padding: 76px 24px;
    }

    .photo-copy h2 {
        font-size: clamp(2.8rem, 13vw, 4.5rem);
    }

    .step-item {
        grid-template-columns: 55px 1fr;
        gap: 16px;
    }

    .contact-section {
        padding: 72px 0;
    }

    .contact-shell {
        border-radius: 24px;
    }

    .contact-info,
    .contact-form-col {
        padding: 38px 24px;
    }

    .policy-hero {
        padding: 64px 0 40px;
    }

    .policy-layout {
        padding-bottom: 72px;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 575.98px) {
    .container {
        --bs-gutter-x: 2rem;
    }

    .navbar-brand img {
        width: 44px;
        height: 44px;
    }

    .hero .row {
        padding-top: 92px;
        padding-bottom: 48px;
    }

    .hero .btn {
        width: 100%;
    }

    .hero-image-wrap {
        aspect-ratio: 0.78;
        border-radius: 180px 180px 24px 24px;
    }

    .floating-card {
        padding: 11px 13px;
    }

    .floating-card-top {
        font-size: 0.7rem;
    }

    .floating-card-bottom {
        display: none;
    }

    .photo-actions .btn {
        width: 100%;
    }

    .service-card-content {
        padding: 25px;
    }

    .service-meta {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .photo-image-col,
    .photo-image {
        min-height: 430px;
    }

    .photo-list li {
        align-items: flex-start;
    }

    .requisites dl > div {
        grid-template-columns: 90px 1fr;
    }

    .operator-card div {
        grid-template-columns: 1fr;
        gap: 3px;
    }
}

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

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
