:root {
    --bg: #050816;
    --bg-alt: #0b1020;
    --accent: #4f46e5;
    --accent-soft: rgba(79, 70, 229, 0.12);
    --text: #f9fafb;
    --muted: #9ca3af;
    --border: rgba(148, 163, 184, 0.35);
    --card-bg: rgba(15, 23, 42, 0.85);
    --radius-lg: 18px;
    --radius-xl: 24px;
    --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.7);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
        "Segoe UI", sans-serif;
    background: radial-gradient(circle at top, #111827 0, #020617 55%, #020617 100%);
    color: var(--text);
    line-height: 1.5;
    scroll-behavior: smooth;
}

/* Layout */

.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    position: sticky;
    top: 0;
    z-index: 40;
    backdrop-filter: blur(18px);
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.95), transparent);
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.nav-inner {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0.6rem 1.2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 0%, #a855f7, #4f46e5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(79, 70, 229, 0.7);
    position: relative;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    padding: 0.2rem 0;
}

.brand-mark-em {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    font-size: 0.9rem;
    font-weight: 900;
    letter-spacing: -0.05em;
    color: white;
    margin-bottom: 0.1rem;
}

.brand-mark-e {
    display: inline-block;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    font-weight: 900;
    opacity: 1;
}

.brand-mark-m {
    display: inline-block;
    color: rgba(255, 255, 255, 0.98);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    font-weight: 900;
    opacity: 0.98;
}

.brand-mark-dev {
    font-size: 0.55rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.02em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    line-height: 1;
    margin-top: 0.05rem;
    text-align: center;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 0.98rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    display: flex;
    gap: 0.3rem;
}

.brand-name-first {
    color: #4f46e5;
    background: linear-gradient(135deg, #4f46e5, #6366f1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
}

.brand-name-last {
    color: #a855f7;
    background: linear-gradient(135deg, #a855f7, #c084fc);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
}

.brand-role {
    font-size: 0.72rem;
    color: var(--muted);
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-top: 0.1rem;
    opacity: 0.85;
}

nav {
    display: flex;
    align-items: center;
    gap: 1.4rem;
}

.nav-link {
    font-size: 0.9rem;
    color: var(--muted);
    text-decoration: none;
    position: relative;
    padding-bottom: 0.15rem;
}

.nav-link:hover {
    color: var(--text);
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 0;
    background: linear-gradient(to right, #a855f7, #4f46e5);
    transition: width 0.2s ease-out;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    border-radius: 999px;
    padding: 0.4rem 0.9rem;
    border: 1px solid rgba(129, 140, 248, 0.6);
    background: radial-gradient(circle at top left, rgba(129, 140, 248, 0.18), transparent);
    color: var(--text);
    font-size: 0.86rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.nav-cta span {
    font-size: 1.05rem;
}

.lang-selector {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.5);
    cursor: pointer;
    font-size: 0.85rem;
    color: var(--muted);
    transition: all 0.2s;
}

.lang-selector:hover {
    color: var(--text);
    border-color: rgba(129, 140, 248, 0.6);
}

.lang-selector select {
    background: transparent;
    border: none;
    color: var(--text);
    font-size: 0.85rem;
    cursor: pointer;
    outline: none;
}

.lang-selector select option {
    background: var(--card-bg);
    color: var(--text);
}

.hamburger {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.4rem;
    cursor: pointer;
}

/* Hero */

main {
    flex: 1;
}

.section {
    max-width: 1080px;
    margin: 0 auto;
    padding: 3rem 1.2rem;
}

.hero {
    display: grid;
    grid-template-columns: auto minmax(0, 1.5fr) minmax(0, 1.2fr);
    gap: 2.5rem;
    align-items: start;
    padding-top: 3rem;
    padding-bottom: 2.5rem;
}

.hero-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.hero-content {
    display: flex;
    flex-direction: column;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.18rem 0.65rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(148, 163, 184, 0.5);
    font-size: 0.72rem;
    color: var(--muted);
    margin-bottom: 0.8rem;
}

.eyebrow-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #22c55e;
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.85);
}

.hero-title {
    font-size: clamp(2.1rem, 4vw, 2.8rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0 0 0.8rem;
}

.hero-title span {
    background: linear-gradient(to right, #a855f7, #4f46e5);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-subtitle {
    font-size: 0.98rem;
    color: var(--muted);
    max-width: 32rem;
    margin-bottom: 1.5rem;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.7rem;
}

.tag {
    font-size: 0.75rem;
    color: var(--muted);
    border-radius: 999px;
    padding: 0.22rem 0.7rem;
    border: 1px solid rgba(148, 163, 184, 0.4);
    background: radial-gradient(circle at top, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.6));
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.btn-primary {
    border-radius: 999px;
    padding: 0.65rem 1.3rem;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    background: linear-gradient(135deg, #4f46e5, #a855f7);
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    box-shadow: 0 15px 35px rgba(79, 70, 229, 0.65);
}

.btn-secondary {
    border-radius: 999px;
    padding: 0.6rem 1.1rem;
    font-size: 0.88rem;
    border: 1px solid rgba(148, 163, 184, 0.5);
    background: rgba(15, 23, 42, 0.9);
    color: var(--muted);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.hero-right {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.hero-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid rgba(129, 140, 248, 0.4);
    box-shadow: 0 15px 35px rgba(79, 70, 229, 0.5);
    background: radial-gradient(circle at 30% 0%, #a855f7, #4f46e5);
    padding: 4px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.hero-photo:hover {
    transform: scale(1.05);
}

.hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.hero-name-location {
    text-align: center;
    margin-top: 1.2rem;
}

.hero-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #e5e7eb;
    margin-bottom: 0.3rem;
    letter-spacing: 0.02em;
}

.hero-location {
    font-size: 0.85rem;
    color: var(--muted);
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.location-icon {
    width: 14px;
    height: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.location-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    fill: none;
}

.hero-social {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.2rem;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.3);
    color: var(--muted);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.social-link:hover {
    background: linear-gradient(135deg, #4f46e5, #a855f7);
    border-color: rgba(129, 140, 248, 0.5);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.4);
}

.hero-card {
    border-radius: var(--radius-xl);
    padding: 1.3rem 1.2rem;
    background: radial-gradient(circle at top left, rgba(129, 140, 248, 0.18), rgba(15, 23, 42, 0.98));
    border: 1px solid rgba(129, 140, 248, 0.4);
    box-shadow: var(--shadow-soft);
    width: 100%;
}

.hero-card-title {
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.3rem;
}

.hero-card-sub {
    font-size: 0.8rem;
    color: var(--muted);
    margin-bottom: 0.8rem;
}

.hero-highlights {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
}

.highlight {
    padding: 0.6rem 0.7rem;
    border-radius: 0.9rem;
    background: rgba(15, 23, 42, 0.96);
    border: 1px solid rgba(148, 163, 184, 0.4);
    font-size: 0.78rem;
}

.highlight-label {
    color: var(--muted);
    font-size: 0.72rem;
}

.highlight-value {
    margin-top: 0.15rem;
    font-weight: 500;
}

/* Services */

.section-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.section-subtitle {
    font-size: 0.9rem;
    color: var(--muted);
    max-width: 32rem;
    margin-bottom: 1.6rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.3rem;
}

.card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 1rem 1rem;
    border: 1px solid var(--border);
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.8);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.4rem;
}

.card-title {
    font-size: 0.98rem;
    font-weight: 500;
}

.card-pill {
    font-size: 0.75rem;
    padding: 0.18rem 0.55rem;
    border-radius: 999px;
    background: var(--accent-soft);
    color: #c7d2fe;
}

.card-body {
    font-size: 0.85rem;
    color: var(--muted);
}

.card-list {
    margin: 0.5rem 0 0;
    padding-left: 1rem;
    font-size: 0.82rem;
}

.card-list li {
    margin-bottom: 0.18rem;
}

/* Portfolio */

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.3rem;
}

.project-tag {
    font-size: 0.72rem;
    color: #a5b4fc;
    margin-bottom: 0.2rem;
}

.project-name {
    font-size: 0.98rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.project-name a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.project-name a:hover {
    color: #a5b4fc;
    border-bottom-color: currentColor;
}

.project-desc {
    font-size: 0.83rem;
    color: var(--muted);
    margin-bottom: 0.4rem;
}

.project-meta {
    font-size: 0.78rem;
    color: var(--muted);
}

/* Contact */

.contact-wrapper {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 1.8rem;
}

.contact-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    padding: 1.2rem 1.1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    margin-bottom: 0.7rem;
    font-size: 0.85rem;
}

.contact-label {
    color: var(--muted);
    font-size: 0.8rem;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border-radius: 999px;
    padding: 0.3rem 0.7rem;
    font-size: 0.8rem;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.5);
    color: var(--text);
    text-decoration: none;
}

.icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    display: inline-block;
}

.icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.icon-sm {
    width: 14px;
    height: 14px;
}

.icon-xs {
    width: 10px;
    height: 10px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.field label {
    font-size: 0.8rem;
    color: var(--muted);
}

.field input,
.field textarea {
    border-radius: 0.75rem;
    border: 1px solid rgba(148, 163, 184, 0.5);
    background: rgba(15, 23, 42, 0.9);
    padding: 0.6rem 0.75rem;
    font-size: 0.85rem;
    color: var(--text);
    outline: none;
}

.field input:focus,
.field textarea:focus {
    border-color: rgba(129, 140, 248, 0.9);
    box-shadow: 0 0 0 1px rgba(129, 140, 248, 0.3);
}

.field textarea {
    min-height: 110px;
    resize: vertical;
}

.form-note {
    font-size: 0.75rem;
    color: var(--muted);
}

.form-consent {
    font-size: 0.7rem;
    color: var(--muted);
    margin: 0;
    line-height: 1.5;
}

.form-consent a {
    color: #a5b4fc;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

/* Honeypot: invisible to humans, present in DOM for bots */
.hp-field {
    position: absolute !important;
    left: -10000px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

footer {
    padding: 1.5rem 1.2rem 2rem;
    font-size: 0.75rem;
    color: var(--muted);
    text-align: center;
}

/* Policy pages */
.section.policy {
    max-width: 820px;
}

.policy-body {
    color: var(--text);
    line-height: 1.7;
    font-size: 0.95rem;
}

.policy-body h1 {
    font-size: 2rem;
    margin: 0 0 0.5rem;
    background: linear-gradient(135deg, #c7d2fe, #f5d0fe);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.policy-body h2 {
    font-size: 1.15rem;
    margin: 2rem 0 0.6rem;
    color: var(--text);
}

.policy-body p,
.policy-body ul,
.policy-body ol {
    color: rgba(229, 231, 235, 0.88);
}

.policy-body ul {
    padding-left: 1.2rem;
}

.policy-body li {
    margin-bottom: 0.3rem;
}

.policy-body strong {
    color: var(--text);
}

.policy-body code {
    background: rgba(79, 70, 229, 0.18);
    border: 1px solid rgba(129, 140, 248, 0.35);
    color: #c7d2fe;
    padding: 0.05rem 0.4rem;
    border-radius: 6px;
    font-size: 0.85em;
}

.policy-body a {
    color: #a5b4fc;
}

.policy-meta {
    color: var(--muted);
    font-size: 0.8rem;
    margin-bottom: 1.5rem;
}

.policy-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0 1.5rem;
    font-size: 0.85rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
}

.policy-table th,
.policy-table td {
    text-align: left;
    padding: 0.6rem 0.8rem;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
}

.policy-table th {
    background: rgba(79, 70, 229, 0.12);
    color: var(--text);
    font-weight: 600;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.policy-table tr:last-child td {
    border-bottom: none;
}

/* Cookie consent banner */
.cookie-banner {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 9998;
    max-width: 720px;
    margin: 0 auto;
    background: rgba(11, 16, 32, 0.96);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1rem 1.1rem;
    color: var(--text);
    box-shadow: 0 24px 60px rgba(2, 6, 23, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.9rem 1rem;
    transform: translateY(140%);
    opacity: 0;
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.cookie-banner.show {
    transform: translateY(0);
    opacity: 1;
}

.cookie-banner-text {
    flex: 1 1 280px;
    font-size: 0.82rem;
    line-height: 1.5;
    color: rgba(229, 231, 235, 0.9);
}

.cookie-banner-text strong {
    color: var(--text);
    display: block;
    margin-bottom: 0.2rem;
    font-size: 0.9rem;
}

.cookie-banner-text a {
    color: #a5b4fc;
}

.cookie-banner-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.cookie-btn {
    border-radius: 999px;
    padding: 0.5rem 1rem;
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    border: 1px solid rgba(148, 163, 184, 0.5);
    background: rgba(15, 23, 42, 0.9);
    color: var(--text);
    transition: border-color 0.2s, transform 0.1s;
}

.cookie-btn:hover {
    border-color: rgba(129, 140, 248, 0.8);
}

.cookie-btn.primary {
    border: none;
    background: linear-gradient(135deg, #4f46e5, #a855f7);
    color: white;
    box-shadow: 0 10px 25px rgba(79, 70, 229, 0.45);
}

@media (max-width: 520px) {
    .cookie-banner {
        flex-direction: column;
        align-items: stretch;
    }
    .cookie-banner-actions {
        justify-content: stretch;
    }
    .cookie-btn {
        flex: 1;
        text-align: center;
    }
}

/* Toast notification */
.toast-container {
    position: fixed;
    top: 1.25rem;
    right: 1.25rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    pointer-events: none;
    max-width: min(380px, calc(100vw - 2.5rem));
}

.toast {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    padding: 0.85rem 1rem;
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid var(--border);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    color: var(--text);
    box-shadow: 0 18px 45px rgba(2, 6, 23, 0.55);
    font-size: 0.85rem;
    line-height: 1.4;
    pointer-events: auto;
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    position: relative;
    overflow: hidden;
}

.toast.show {
    opacity: 1;
    transform: translateX(0);
}

.toast::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--accent);
}

.toast.success::before {
    background: linear-gradient(180deg, #34d399, #10b981);
}

.toast.error::before {
    background: linear-gradient(180deg, #f87171, #ef4444);
}

.toast-icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    color: white;
    margin-top: 1px;
}

.toast.success .toast-icon {
    background: linear-gradient(135deg, #34d399, #10b981);
}

.toast.error .toast-icon {
    background: linear-gradient(135deg, #f87171, #ef4444);
}

.toast-body {
    flex: 1;
    min-width: 0;
}

.toast-title {
    font-weight: 600;
    margin-bottom: 0.15rem;
}

.toast-message {
    color: var(--muted);
    font-size: 0.8rem;
    word-wrap: break-word;
}

.toast-close {
    background: transparent;
    border: none;
    color: var(--muted);
    cursor: pointer;
    font-size: 1.1rem;
    line-height: 1;
    padding: 0 0.15rem;
    margin: -0.15rem -0.15rem 0 0;
}

.toast-close:hover {
    color: var(--text);
}

@media (max-width: 480px) {
    .toast-container {
        top: 1rem;
        bottom: auto;
        left: 1rem;
        right: 1rem;
        max-width: none;
    }
}

a {
    color: #a5b4fc;
}

a:hover {
    color: #e5e7eb;
}

/* Mobile */

@media (max-width: 768px) {
    .hero {
        grid-template-columns: minmax(0, 1fr);
        padding-top: 2.3rem;
        gap: 2rem;
    }

    .hero-left {
        order: 1;
        margin-bottom: 1rem;
    }

    .hero-content {
        order: 2;
    }

    .hero-right {
        order: 3;
    }

    .hero-photo {
        width: 160px;
        height: 160px;
        margin: 0 auto;
    }

    .hero-name-location {
        margin-top: 1rem;
    }

    .hero-name {
        font-size: 1rem;
    }

    .hero-location {
        font-size: 0.8rem;
    }

    .hero-social {
        margin-top: 1rem;
        gap: 0.8rem;
    }

    .social-link {
        width: 36px;
        height: 36px;
    }

    .social-link svg {
        width: 18px;
        height: 18px;
    }

    nav {
        display: none;
        position: absolute;
        right: 1.2rem;
        top: 3.2rem;
        flex-direction: column;
        align-items: flex-start;
        padding: 0.8rem;
        border-radius: 1rem;
        background: rgba(15, 23, 42, 0.98);
        border: 1px solid rgba(148, 163, 184, 0.6);
        box-shadow: 0 18px 35px rgba(15, 23, 42, 0.9);
    }

    nav.open {
        display: flex;
    }

    .hamburger {
        display: block;
    }

    .contact-wrapper {
        grid-template-columns: minmax(0, 1fr);
    }
}
    </style>
