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

:root {
    --bg: #050816;
    --bg-alt: rgba(15, 23, 42, 0.85);
    --accent: #38bdf8;
    --accent-soft: rgba(56, 189, 248, 0.15);
    --text-main: #e5e7eb;
    --text-muted: #9ca3af;
    --border-subtle: rgba(148, 163, 184, 0.25);
    --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.55);
    --radius-xl: 24px;
}

html,
body {
    height: 100%;
}

body {
    font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: radial-gradient(circle at top left, #0f172a 0, #020617 45%, #020617 100%);
    color: var(--text-main);
    -webkit-font-smoothing: antialiased;
}

.background-gradient {
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at 10% 20%, rgba(56, 189, 248, 0.12), transparent 60%),
        radial-gradient(circle at 80% 0, rgba(94, 234, 212, 0.1), transparent 55%),
        radial-gradient(circle at 50% 90%, rgba(59, 130, 246, 0.18), transparent 55%);
    opacity: 0.9;
    pointer-events: none;
    z-index: -1;
}

.page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 32px 16px;
}

.hero {
    max-width: 1120px;
    margin: auto;
    width: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.98));
    border-radius: 32px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    box-shadow: var(--shadow-soft);
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
    gap: 40px;
    padding: 32px 32px 28px;
    backdrop-filter: blur(22px);
}

.hero-text {
    display: flex;
    flex-direction: column;
    gap: 18px;
    justify-content: center;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 4px 14px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.45);
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-muted);
    background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.18), transparent 65%);
}

.pill::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: radial-gradient(circle, var(--accent) 0, transparent 70%);
    box-shadow: 0 0 14px rgba(56, 189, 248, 0.95);
}

h1 {
    font-size: clamp(2.45rem, 3vw + 1rem, 3.2rem);
    line-height: 1.05;
    font-weight: 700;
}

.subtitle {
    font-size: 0.98rem;
    color: var(--accent);
    font-weight: 500;
}

.contact-card {
    margin-top: 8px;
    padding: 14px 16px 16px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.9));
    border: 1px solid var(--border-subtle);
    box-shadow: 0 16px 35px rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(24px);
}

.contact-card h2 {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.contact-item {
    display: flex;
    flex-direction: column;
    margin-bottom: 6px;
}

.contact-item:last-of-type {
    margin-bottom: 0;
}

.label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--text-muted);
}

.value {
    font-size: 0.96rem;
    font-weight: 500;
}

.link {
    text-decoration: none;
    color: var(--text-main);
    position: relative;
}

.link::after {
    content: "";
    position: absolute;
    inset-inline: 0;
    bottom: -2px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0.7;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.link:hover::after {
    transform: scaleX(1);
}

.note {
    font-size: 0.86rem;
    color: var(--text-muted);
    margin-top: 10px;
    max-width: 34rem;
}

.hero-gallery {
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    grid-template-rows: 1fr 0.65fr;
    gap: 12px;
    width: 100%;
}

.image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.45);
    background: radial-gradient(circle at top, rgba(15, 23, 42, 1), rgba(15, 23, 42, 0.85));
    position: relative;
    box-shadow: 0 18px 35px rgba(15, 23, 42, 0.75);
}

.image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top, rgba(15, 23, 42, 0.05), transparent 55%);
    pointer-events: none;
}

.image-main {
    grid-row: 1 / span 2;
}

.image-secondary {
    grid-column: 2 / 3;
    grid-row: 1 / span 1;
    align-self: flex-end;
}

.image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.03);
    transition: transform 0.9s ease;
}

.image:hover img {
    transform: scale(1.06);
}

.footer {
    max-width: 1120px;
    width: 100%;
    margin: 16px auto 0;
    padding-inline: 4px;
    display: flex;
    justify-content: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer p {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(107, 114, 128, 0.5);
    backdrop-filter: blur(14px);
}

@media (max-width: 860px) {
    .hero {
        grid-template-columns: minmax(0, 1fr);
        padding: 24px 20px 20px;
    }

    .hero-text {
        order: 1;
    }

    .hero-gallery {
        order: -1;
    }

    .image-grid {
        max-width: 460px;
    }
}

@media (max-width: 540px) {
    .page {
        padding: 20px 12px 28px;
    }

    .hero {
        border-radius: 24px;
        padding: 20px 16px 18px;
        gap: 24px;
    }

    .contact-card {
        padding: 12px 12px 13px;
    }

    .note {
        font-size: 0.8rem;
    }
}
