﻿:root {
    --orange-900: #6a2f00;
    --orange-800: #c95e0a;
    --orange-700: #ff7a18;
    --orange-600: #fd910d;
    --orange-500: #ff9a3d;
    --orange-100: #fff8f1;
    --white: #ffffff;
    --ink: #111827;
    --muted: #4b5563;
    --card: rgba(255, 255, 255, 0.96);
    --shadow: 0 20px 54px rgba(28, 37, 58, 0.12);
    --focus-ring: #7d3200;
}

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

html {
    -webkit-text-size-adjust: 100%;
    height: 100%;
    overflow: hidden;
}

body {
    margin: 0;
    width: 100%;
    height: 100dvh;
    min-height: 100dvh;
    padding: clamp(14px, 2.4vw, 28px);
    font-family: "Manrope", "Segoe UI", Tahoma, sans-serif;
    text-rendering: optimizeLegibility;
    color: var(--ink);
    display: grid;
    place-items: center;
    background: url("img/background.jpg") center / cover no-repeat;
    position: relative;
    overflow: hidden;
    overscroll-behavior: none;
}

body::before,
body::after {
    display: none;
}

.skip-link {
    position: absolute;
    left: 12px;
    top: -56px;
    z-index: 30;
    padding: 10px 14px;
    border-radius: 12px;
    background: var(--orange-900);
    color: var(--white);
    font-weight: 700;
    text-decoration: none;
    transition: top 180ms ease;
}

.skip-link:focus-visible {
    top: 12px;
    outline: 3px solid #fff;
    outline-offset: 2px;
}

.page-stack {
    width: min(960px, 100%);
    position: relative;
    z-index: 1;
}

.link-card {
    width: 100%;
    padding: clamp(20px, 4vw, 36px);
    border-radius: 28px;
    border: 1px solid rgba(255, 122, 24, 0.22);
    border-top: 4px solid rgba(255, 122, 24, 0.6);
    background: var(--card);
    box-shadow: var(--shadow);
    text-align: center;
    position: relative;
    overflow: hidden;
    animation: rise-in 480ms ease-out both;
}

@supports (backdrop-filter: blur(10px)) {
    .link-card {
        backdrop-filter: blur(10px);
    }
}

.link-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.2));
}

.link-card::after {
    content: "";
    position: absolute;
    left: -20%;
    right: -20%;
    top: -46px;
    height: 94px;
    background: radial-gradient(circle at center, rgba(255, 122, 24, 0.18), rgba(255, 122, 24, 0));
    pointer-events: none;
}

.avatar-wrap,
.company-title,
.headline,
.links-nav,
.social-list,
.credit {
    position: relative;
    z-index: 1;
}

.avatar-wrap {
    width: clamp(96px, 15vw, 140px);
    height: clamp(96px, 15vw, 140px);
    margin: 0 auto 18px;
    border-radius: 50%;
    padding: 4px;
    background: linear-gradient(145deg, var(--orange-500), var(--orange-700));
}

.avatar {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background: var(--orange-100);
}

.company-title {
    margin: 0;
    color: var(--ink);
    font-size: clamp(1.5rem, 3.2vw, 2.2rem);
    font-weight: 800;
}

.headline {
    margin: 8px 0 24px;
    color: var(--muted);
    font-size: clamp(1rem, 1.9vw, 1.1rem);
    font-weight: 600;
}

.links-nav {
    margin: 0;
}

.link-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    max-width: min(720px, 100%);
    margin-inline: auto;
}

.link-item {
    min-width: 0;
}

.link-btn {
    min-height: 56px;
    width: 100%;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 15px 28px;
    border-radius: 999px;
    border: 1px solid rgba(255, 122, 24, 0.25);
    text-decoration: none;
    color: var(--white);
    font-weight: 700;
    letter-spacing: 0.25px;
    background:
        linear-gradient(135deg, rgba(255, 122, 24, 0.96), rgba(255, 154, 61, 0.96)),
        url("img/background.jpg") center / cover no-repeat;
    box-shadow: 0 10px 22px rgba(255, 122, 24, 0.28);
    transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.link-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    transform: translateX(-120%);
    background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.35) 48%, transparent 72%);
    transition: transform 350ms ease;
    z-index: -1;
}

.link-btn:hover,
.link-btn:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 14px 25px rgba(255, 122, 24, 0.34);
    filter: brightness(1.04);
}

.link-btn:hover::before,
.link-btn:focus-visible::before {
    transform: translateX(120%);
}

.social-list {
    margin-top: 22px;
}

.social-grid {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.social-btn {
    width: 46px;
    height: 46px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    text-decoration: none;
    color: var(--orange-700);
    background: rgba(255, 241, 229, 0.78);
    border: 1px solid rgba(255, 122, 24, 0.28);
    box-shadow: 0 8px 18px rgba(255, 122, 24, 0.14);
    transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, color 180ms ease;
}

.social-btn:hover,
.social-btn:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 14px 24px rgba(255, 122, 24, 0.22);
    background: linear-gradient(135deg, var(--orange-700), var(--orange-500));
    color: var(--white);
}

.social-icon {
    font-size: 1.1rem;
    line-height: 1;
}

.credit {
    margin: 18px 0 0;
    color: #000000;
    font-size: clamp(0.86rem, 1.6vw, 0.95rem);
    font-weight: 700;
    letter-spacing: 0.2px;
}

.credit-link {
    color: inherit;
    text-decoration: none;
}

.credit-link:hover,
.credit-link:focus-visible {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.heart-icon {
    display: inline-block;
    color: #000000;
    margin: 0 4px;
    animation: credit-pulse 1.6s ease-in-out infinite;
}

.link-btn:focus-visible,
.social-btn:focus-visible {
    outline: 3px solid var(--focus-ring);
    outline-offset: 2px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@keyframes rise-in {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes credit-pulse {
    0% {
        transform: scale(0.95);
    }

    50% {
        transform: scale(1.14);
    }

    100% {
        transform: scale(0.95);
    }
}

@media (max-width: 960px) {
    .page-stack {
        width: min(760px, 100%);
    }
}

@media (max-width: 760px) {
    .link-card {
        border-radius: 24px;
    }
}

@media (max-width: 520px) {
    body {
        padding: 12px;
    }

    .link-card {
        padding: 22px 14px 18px;
    }

    .avatar-wrap {
        width: 104px;
        height: 104px;
    }

    .link-btn {
        min-height: 48px;
        padding: 12px 14px;
    }

    .social-btn {
        width: 42px;
        height: 42px;
    }

    .credit {
        margin-top: 16px;
        line-height: 1.35;
    }
}

@media (max-height: 760px) {
    body {
        padding: 10px;
    }

    .link-card {
        padding: 16px 12px 14px;
    }

    .avatar-wrap {
        width: 86px;
        height: 86px;
        margin-bottom: 10px;
    }

    .headline {
        margin: 4px 0 12px;
        font-size: 0.95rem;
    }

    .link-list {
        gap: 10px;
    }

    .link-btn {
        min-height: 42px;
        padding: 10px 12px;
        font-size: 0.92rem;
    }

    .social-list {
        margin-top: 12px;
    }

    .social-btn {
        width: 38px;
        height: 38px;
    }

    .credit {
        margin-top: 10px;
        font-size: 0.82rem;
    }
}

@media (max-width: 360px) {
    .social-grid {
        gap: 8px;
    }

    .link-btn {
        font-size: 0.94rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .link-card {
        animation: none;
    }

    .link-btn::before {
        transition: none;
    }

    .heart-icon {
        animation: credit-pulse 1.6s ease-in-out infinite !important;
    }
}
.vb-signature {
    margin: px clamp(16px, 3vw, 28px) clamp(18px, 3vw, 24px);
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: center;
    align-items: center;
}

.vb-signature a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--orange-700);
    text-decoration: none;
    font-weight: 700;
}

.vb-signature span {
    color: inherit;
    font-size: 0.92rem;
}

.vb-signature img {
    height: 12px;
    display: block;
}

.vb-heart {
    --size: 10px;
    width: var(--size);
    height: var(--size);
    display: inline-block;
    position: relative;
    margin: 0 2px;
    background: var(--orange-700);
    transform: rotate(-45deg);
    border-radius: 2px;
    vertical-align: middle;
    animation: vbPulse 1.2s ease-in-out infinite;
}

.vb-heart::before,
.vb-heart::after {
    content: "";
    position: absolute;
    width: var(--size);
    height: var(--size);
    background: var(--orange-700);
    border-radius: 50%;
}

.vb-heart::before {
    top: -50%;
    left: 0;
}

.vb-heart::after {
    top: 0;
    left: 50%;
}

.actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin: 18px 0 6px;
}

.link-back {
    color: var(--orange-900);
    text-decoration: none;
    font-weight: 700;
}

.link-back:hover,
.link-back:focus-visible,
.vb-signature a:hover,
.vb-signature a:focus-visible {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.small {
    font-size: 0.84rem;
    color: var(--muted);
}

.divider {
    height: 1px;
    width: min(100%, 460px);
    margin: 18px auto;
    background: rgba(17, 24, 39, 0.08);
}

button:focus-visible,
#submitBtn:focus-visible,
.cta:focus-visible,
textarea:focus-visible,
input:focus-visible,
.chip:focus-within,
.nps label:focus-visible,
.star:focus-visible,
.link-back:focus-visible,
.vb-signature a:focus-visible {
    outline: 3px solid var(--focus-ring);
    outline-offset: 2px;
}

@keyframes fade {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes rise-in {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes vbPulse {
    0%,
    100% {
        transform: rotate(-45deg) scale(1);
    }

    50% {
        transform: rotate(-45deg) scale(1.18);
    }
}

@media (max-width: 900px) {
    .card {
        width: min(760px, 100%);
    }

    .nps {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    body {
        padding: 12px;
    }

    .card {
        border-radius: 22px;
    }

    .header,
    .content {
        padding-left: 14px;
        padding-right: 14px;
    }

    .nav {
        padding-left: 14px;
        padding-right: 14px;
        flex-direction: column;
        align-items: stretch;
    }

    .left,
    .right {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

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

    .nps {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .nps-scale {
        font-size: 0.76rem;
    }

    button,
    #submitBtn,
    .cta,
    .btn-outline,
    .btn-accent {
        width: 100%;
        justify-content: center;
    }

    .vb-signature {
        margin-left: 14px;
        margin-right: 14px;
    }

    .vb-signature a {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 420px) {
    .nps {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .stars {
        font-size: 1.8rem;
    }

    .chip {
        width: 100%;
        justify-content: center;
    }

    .kbd {
        width: 100%;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .vb-heart {
        animation: vbPulse 1.2s ease-in-out infinite !important;
    }
}
