@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@500;600;700&display=swap');

:root {
    --bg: #111111;
    --card: #171717;
    --surface: #1f1f1f;
    --ink: #f7f4ef;
    --muted: #c6beb3;
    --accent: #e42320;
    --line: rgba(255, 255, 255, 0.1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    min-height: 100vh;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background:
        radial-gradient(circle at top left, rgba(228, 35, 32, 0.18), transparent 24%),
        linear-gradient(160deg, #090909 0%, #121212 55%, #0b0b0b 100%);
    color: var(--ink);
}

.contact-slide {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 2rem 1rem;
    position: relative;
    overflow: hidden;
}

.contact-slide::before,
.contact-slide::after {
    content: "";
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

.contact-slide::before {
    inset: 0;
    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: 32px 32px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 92%);
}

.contact-slide::after {
    width: 380px;
    height: 380px;
    right: -120px;
    bottom: -120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(228, 35, 32, 0.18) 0%, rgba(228, 35, 32, 0) 68%);
}

.contact-card {
    width: min(92vw, 490px);
    min-height: min(92vh, 860px);
    border-radius: 1.75rem;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #1a1a1a 0%, #141414 100%);
    box-shadow:
        0 26px 60px rgba(0, 0, 0, 0.42),
        0 10px 24px rgba(228, 35, 32, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    animation: cardIn 500ms ease both;
    z-index: 1;
}

.contact-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(228, 35, 32, 1) 0, rgba(228, 35, 32, 1) 136px, rgba(228, 35, 32, 0) 136px),
        linear-gradient(145deg, rgba(255, 255, 255, 0.08), transparent 34%);
    opacity: 1;
    pointer-events: none;
    z-index: 0;
}

.contact-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
    pointer-events: none;
    z-index: 1;
}

.contact-card > * {
    position: relative;
    z-index: 2;
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.2rem 1.4rem 0.9rem;
    flex: 0 0 auto;
}

.card-body {
    display: flex;
    flex-direction: column;
    gap: 1.45rem;
    padding: 1.35rem 1.4rem 1.1rem;
    flex: 1 1 auto;
}

.card-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1.4rem 1.2rem;
    flex: 0 0 auto;
}

.brand-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    width: 100%;
    animation: riseFade 450ms ease-out 80ms both;
}

.brand-logo {
    width: min(66%, 250px);
    max-width: 250px;
    filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.24));
}

.brand-kicker {
    font-size: clamp(0.72rem, 1.75vw, 0.98rem);
    font-family: 'Oswald', sans-serif;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-align: center;
    color: rgba(255, 245, 236, 0.88);
    text-transform: uppercase;
    line-height: 1.1;
}

.title-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.7rem;
    text-align: center;
    flex: 0 0 auto;
}

h1 {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(2rem, 5vw, 2.95rem);
    font-weight: 600;
    letter-spacing: 0.05em;
    color: #ffffff;
    text-transform: uppercase;
    animation: riseFade 450ms ease-out 140ms both;
}

.title-copy {
    max-width: 30ch;
    margin: 0 auto;
    font-size: clamp(0.92rem, 2vw, 1rem);
    line-height: 1.65;
    color: var(--muted);
    padding: 0;
    animation: riseFade 450ms ease-out 200ms both;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    flex: 1 1 auto;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    width: 100%;
    max-width: 100%;
    padding: 0.9rem 1rem;
    text-decoration: none;
    color: var(--ink);
    border-radius: 0.95rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    min-height: 82px;
    opacity: 0;
    transform: translateY(12px);
    animation: itemIn 420ms ease both;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.contact-item:nth-child(1) {
    animation-delay: 420ms;
}

.contact-item:nth-child(2) {
    animation-delay: 520ms;
}

.contact-item:nth-child(3) {
    animation-delay: 620ms;
}

.contact-item:nth-child(4) {
    animation-delay: 720ms;
}

.contact-item:nth-child(5) {
    animation-delay: 820ms;
}

.contact-item:hover {
    transform: translateY(-1px);
    border-color: rgba(228, 35, 32, 0.48);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.16);
}

.contact-item:focus-visible {
    outline: 2px solid rgba(228, 35, 32, 0.34);
    outline-offset: 4px;
}

.icon-circle {
    width: clamp(2.8rem, 6vw, 3.25rem);
    height: clamp(2.8rem, 6vw, 3.25rem);
    border-radius: 0.9rem;
    border: 1px solid rgba(228, 35, 32, 0.28);
    display: grid;
    place-items: center;
    flex-shrink: 0;
    background: rgba(228, 35, 32, 0.12);
    transition: background-color 0.18s ease, border-color 0.18s ease;
}

.contact-item:hover .icon-circle {
    background: rgba(228, 35, 32, 0.18);
    border-color: rgba(228, 35, 32, 0.5);
}

.icon-circle ion-icon {
    font-size: 1.35rem;
    color: #ffffff;
}

.contact-text {
    min-width: 0;
    font-size: clamp(0.88rem, 2.05vw, 1.05rem);
    font-family: 'Oswald', sans-serif;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-wrap: balance;
    line-height: 1.2;
}

.contact-claim {
    text-align: center;
    font-size: clamp(0.92rem, 2vw, 1.05rem);
    font-family: 'Oswald', sans-serif;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: var(--muted);
    text-transform: uppercase;
    width: 100%;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    animation: riseFade 450ms ease-out 420ms both;
}

@keyframes cardIn {
    0% {
        opacity: 0;
        transform: translateY(16px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes itemIn {
    0% {
        opacity: 0;
        transform: translateY(12px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes riseFade {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 560px) {
    .contact-card {
        border-radius: 1.2rem;
        min-height: auto;
    }

    .card-header {
        padding: 1rem 1rem 0.8rem;
    }

    .card-body {
        padding: 1.15rem 1rem 1rem;
        gap: 1.25rem;
    }

    .card-footer {
        padding: 0 1rem 1rem;
    }

    .brand-logo {
        width: min(64%, 210px);
    }

    .brand-kicker {
        letter-spacing: 0.06em;
    }

    .title-copy {
        max-width: 24ch;
        font-size: 0.92rem;
    }

    .contact-item {
        gap: 0.72rem;
        padding: 0.8rem 0.78rem;
        min-height: 76px;
    }

    .contact-text {
        font-size: clamp(0.82rem, 3.6vw, 0.98rem);
    }

    .contact-claim {
        font-size: 0.92rem;
        letter-spacing: 0.06em;
    }
}
