/* ══════════════════════════════════════════
   VARIABLES
══════════════════════════════════════════ */
:root {
    --bg: #06080f;
    --bg-2: #0c1120;
    --bg-3: #131c30;
    --bg-4: #1a2540;
    --accent: #4f8ef7;
    --accent-2: #7ab0ff;
    --accent-glow: rgba(79, 142, 247, 0.25);
    --text: #eef2ff;
    --text-2: #8899bb;
    --text-3: #4a5a7a;
    --border: rgba(255, 255, 255, 0.07);
    --border-2: rgba(79, 142, 247, 0.2);
    --font-head: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --r: 14px;
    --r-lg: 22px;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --t: 0.3s var(--ease);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    overflow-x: hidden;
    cursor: none;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
}

strong {
    color: var(--text);
    font-weight: 600;
}

/* ══════════════════════════════════════════
   CURSOR
══════════════════════════════════════════ */
.cursor {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.08s, width 0.2s, height 0.2s, background 0.2s;
    mix-blend-mode: normal;
}

.cursor-ring {
    width: 32px;
    height: 32px;
    border: 1.5px solid rgba(79, 142, 247, 0.5);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: left 0.12s var(--ease), top 0.12s var(--ease),
        width 0.25s, height 0.25s, border-color 0.2s;
}

body.cursor-hover .cursor {
    transform: translate(-50%, -50%) scale(2.5);
    background: var(--accent-2);
}

body.cursor-hover .cursor-ring {
    width: 48px;
    height: 48px;
    border-color: rgba(79, 142, 247, 0.8);
}

/* ══════════════════════════════════════════
   HEADER
══════════════════════════════════════════ */
#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 60px;
    background: rgba(6, 8, 15, 0);
    backdrop-filter: blur(0px);
    border-bottom: 1px solid transparent;
    transition: padding 0.4s var(--ease), background 0.4s, backdrop-filter 0.4s, border-color 0.4s;
}

#header.scrolled {
    padding: 14px 60px;
    background: rgba(6, 8, 15, 0.88);
    backdrop-filter: blur(20px);
    border-bottom-color: var(--border);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: -0.3px;
}

.logo:hover {
    opacity: 0.8;
}

.nav-desktop {
    display: flex;
    gap: 4px;
}

.nav-link {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-2);
    padding: 8px 18px;
    border-radius: 100px;
    transition: var(--t);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text);
    background: rgba(79, 142, 247, 0.1);
}

.btn-header {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
    padding: 8px 20px;
    border: 1px solid var(--border-2);
    border-radius: 100px;
    transition: var(--t);
}

.btn-header:hover {
    background: rgba(79, 142, 247, 0.1);
    transform: translateY(-1px);
}

/* Burger */
.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.burger span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--t);
}

.burger.open span:nth-child(1) {
    transform: rotate(45deg) translate(4.5px, 4.5px);
}

.burger.open span:nth-child(2) {
    opacity: 0;
}

.burger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(4.5px, -4.5px);
}

/* Mobile overlay */
.mob-overlay {
    position: fixed;
    inset: 0;
    z-index: 990;
    background: rgba(6, 8, 15, 0.97);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s var(--ease);
}

.mob-overlay.open {
    opacity: 1;
    pointer-events: all;
}

.mob-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: center;
}

.mob-link {
    font-family: var(--font-head);
    font-size: clamp(2rem, 8vw, 3.5rem);
    font-weight: 700;
    color: var(--text-2);
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 16px;
}

.mob-link::before {
    content: attr(data-i);
    font-size: 0.75rem;
    color: var(--accent);
    font-family: var(--font-body);
    font-weight: 500;
    letter-spacing: 1px;
}

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

/* ══════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: 100px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--t);
    cursor: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 0 28px rgba(79, 142, 247, 0.3);
}

.btn-primary:hover {
    background: #3a7ae8;
    transform: translateY(-2px);
    box-shadow: 0 10px 36px rgba(79, 142, 247, 0.45);
}

.btn-ghost {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.18);
    transform: translateY(-2px);
}

/* ══════════════════════════════════════════
   HERO
══════════════════════════════════════════ */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

/* Background */
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.14;
    animation: orbFloat 10s ease-in-out infinite;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: #1a4ecc;
    top: -150px;
    left: -200px;
}

.orb-2 {
    width: 450px;
    height: 450px;
    background: #2d3fbb;
    bottom: -100px;
    right: -150px;
    animation-delay: -5s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: #0f2e8a;
    top: 40%;
    left: 45%;
    animation-delay: -2.5s;
    opacity: 0.08;
}

@keyframes orbFloat {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(25px, -18px) scale(1.04);
    }

    66% {
        transform: translate(-18px, 22px) scale(0.97);
    }
}

.noise {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
    opacity: 0.4;
    pointer-events: none;
}

.grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 70px 70px;
}

/* Hero inner layout */
.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    padding: 60px 80px 80px;
    display: flex;
    align-items: center;
    gap: 90px;
}

/* Photo */
.hero-photo-wrap {
    flex-shrink: 0;
}

.photo-frame {
    position: relative;
    width: 280px;
    padding: 3px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--accent) 0%, #6366f1 50%, var(--accent) 100%);
    background-size: 200% 200%;
    animation: gradSpin 4s ease infinite;
}

@keyframes gradSpin {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.hero-photo {
    width: 100%;
    height: 340px;
    object-fit: cover;
    border-radius: 17px;
    display: block;
}

/* Corner decorations */
.frame-corner {
    position: absolute;
    width: 14px;
    height: 14px;
    border-color: var(--accent);
    border-style: solid;
}

.fc-tl {
    top: -8px;
    left: -8px;
    border-width: 2px 0 0 2px;
    border-radius: 3px 0 0 0;
}

.fc-tr {
    top: -8px;
    right: -8px;
    border-width: 2px 2px 0 0;
    border-radius: 0 3px 0 0;
}

.fc-bl {
    bottom: -8px;
    left: -8px;
    border-width: 0 0 2px 2px;
    border-radius: 0 0 0 3px;
}

.fc-br {
    bottom: -8px;
    right: -8px;
    border-width: 0 2px 2px 0;
    border-radius: 0 0 3px 0;
}

.photo-badge {
    position: absolute;
    bottom: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-3);
    border: 1px solid var(--border);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.76rem;
    font-weight: 600;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 7px;
    letter-spacing: 0.3px;
}

.badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
    animation: blink-dot 2s ease-in-out infinite;
}

@keyframes blink-dot {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

/* Hero text */
.hero-text {
    flex: 1;
}

.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.eyebrow-line {
    display: inline-block;
    width: 32px;
    height: 1.5px;
    background: var(--accent);
}

.hero-title {
    font-family: var(--font-head);
    font-size: clamp(3rem, 5.5vw, 5rem);
    font-weight: 800;
    line-height: 1.0;
    letter-spacing: -3px;
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
}

.name-accent {
    color: var(--accent);
}

.hero-role {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(79, 142, 247, 0.08);
    border: 1px solid var(--border-2);
    padding: 9px 22px;
    border-radius: 100px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--accent-2);
    margin-bottom: 24px;
    letter-spacing: 0.2px;
}

.tw-cursor {
    color: var(--accent);
    animation: twBlink 1s step-end infinite;
}

@keyframes twBlink {

    0%,
    100% {
        opacity: 1
    }

    50% {
        opacity: 0
    }
}

.hero-desc {
    color: var(--text-2);
    font-size: 1rem;
    max-width: 460px;
    line-height: 1.85;
    margin-bottom: 32px;
}

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

/* Scroll cue */
.scroll-cue {
    position: absolute;
    bottom: 32px;
    left: 80px;
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--text-3);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    z-index: 1;
    animation: scrollCueFade 2s ease-in-out infinite;
}

.scroll-line {
    width: 40px;
    height: 1px;
    background: var(--text-3);
    position: relative;
    overflow: hidden;
}

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

@keyframes scanLine {
    0% {
        transform: translateX(-100%);
    }

    50% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(100%);
    }
}

@keyframes scrollCueFade {

    0%,
    100% {
        opacity: 0.4
    }

    50% {
        opacity: 0.9
    }
}

/* ══════════════════════════════════════════
   SECTIONS SHARED
══════════════════════════════════════════ */
.section {
    padding: 110px 0;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 80px;
}

.section-head {
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 14px;
}

.section-title {
    font-family: var(--font-head);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.5px;
}

.section-title em {
    font-style: normal;
    color: var(--accent);
}

/* ══════════════════════════════════════════
   ABOUT
══════════════════════════════════════════ */
.about-section {
    background: linear-gradient(180deg, transparent 0%, rgba(79, 142, 247, 0.03) 50%, transparent 100%);
}

.about-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: start;
}

.about-left p {
    color: var(--text-2);
    margin-bottom: 16px;
    font-size: 1rem;
    line-height: 1.9;
}

.skill-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 28px;
}

.chip {
    background: rgba(79, 142, 247, 0.08);
    border: 1px solid rgba(79, 142, 247, 0.18);
    color: var(--accent-2);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.82rem;
    font-weight: 500;
    transition: var(--t);
}

.chip:hover {
    background: rgba(79, 142, 247, 0.18);
    transform: translateY(-2px);
}

.about-right {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.about-card {
    background: var(--bg-3);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 26px 28px;
    transition: var(--t);
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--accent);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.3s var(--ease);
}

.about-card:hover {
    transform: translateX(6px);
    border-color: var(--border-2);
}

.about-card:hover::before {
    transform: scaleY(1);
}

.card-icon {
    margin-bottom: 14px;
    width: 42px;
    height: 42px;
    background: rgba(79, 142, 247, 0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-card h3 {
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.about-card p {
    color: var(--text-2);
    font-size: 0.88rem;
    line-height: 1.6;
}

/* ══════════════════════════════════════════
   CERTIFICATES
══════════════════════════════════════════ */
.certs-section {
    background: var(--bg-2);
}

.cert-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cert-row {
    display: grid;
    grid-template-columns: 44px 48px 1fr auto auto;
    align-items: center;
    gap: 20px;
    background: var(--bg-3);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 24px 28px;
    transition: var(--t);
    position: relative;
    overflow: hidden;
}

.cert-row::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--accent);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.3s var(--ease);
}

.cert-row:hover {
    transform: translateX(6px);
    border-color: var(--border-2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.cert-row:hover::after {
    transform: scaleY(1);
}

.cert-num {
    font-family: var(--font-head);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-3);
    letter-spacing: 1px;
}

.cert-emoji {
    font-size: 1.8rem;
    line-height: 1;
}

.cert-info h3 {
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 3px;
}

.cert-org {
    color: var(--accent-2);
    font-size: 0.83rem;
    font-weight: 600;
    margin-bottom: 3px;
}

.cert-desc {
    color: var(--text-2);
    font-size: 0.83rem;
}

.cert-year {
    background: rgba(79, 142, 247, 0.1);
    color: var(--accent-2);
    padding: 5px 14px;
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.cert-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--accent);
    font-size: 0.86rem;
    font-weight: 600;
    padding: 9px 18px;
    border: 1px solid var(--border-2);
    border-radius: 100px;
    transition: var(--t);
    white-space: nowrap;
}

.cert-btn:hover {
    background: rgba(79, 142, 247, 0.1);
    transform: translateX(3px);
}

/* ══════════════════════════════════════════
   CONTACT
══════════════════════════════════════════ */
.contact-section {
    background: linear-gradient(180deg, transparent 0%, rgba(79, 142, 247, 0.04) 100%);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.contact-intro {
    color: var(--text-2);
    font-size: 1.05rem;
    line-height: 1.85;
    margin-bottom: 32px;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--bg-3);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 16px 20px;
    transition: var(--t);
}

.contact-item:hover {
    border-color: var(--border-2);
    transform: translateX(6px);
    background: var(--bg-4);
}

.ci-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    background: rgba(79, 142, 247, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

.ci-text {
    flex: 1;
}

.ci-label {
    display: block;
    font-size: 0.73rem;
    color: var(--text-3);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.ci-value {
    font-size: 0.9rem;
    color: var(--text-2);
    font-weight: 400;
}

.ci-arrow {
    color: var(--text-3);
    flex-shrink: 0;
    transition: transform 0.2s;
}

.contact-item:hover .ci-arrow {
    transform: translateX(3px);
    color: var(--accent);
}

/* CV Card */
.cv-card {
    background: var(--bg-3);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 44px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cv-bg-text {
    position: absolute;
    top: -20px;
    right: -10px;
    font-family: var(--font-head);
    font-size: 9rem;
    font-weight: 800;
    color: rgba(79, 142, 247, 0.04);
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

.cv-inner {
    position: relative;
    z-index: 1;
}

.cv-doc-icon {
    margin: 0 auto 20px;
    display: inline-block;
}

.cv-card h3 {
    font-family: var(--font-head);
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.cv-card p {
    color: var(--text-2);
    font-size: 0.9rem;
    margin-bottom: 28px;
}

.cv-btns {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cv-btns .btn {
    justify-content: center;
}

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
.footer {
    border-top: 1px solid var(--border);
    padding: 28px 0;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 9px;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.95rem;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.footer-logo:hover {
    opacity: 1;
}

.footer-copy {
    color: var(--text-3);
    font-size: 0.82rem;
}

.back-top {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--bg-3);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-2);
    transition: var(--t);
}

.back-top:hover {
    border-color: var(--border-2);
    color: var(--accent);
    transform: translateY(-2px);
}

/* ══════════════════════════════════════════
   REVEAL ANIMATION
══════════════════════════════════════════ */
.reveal {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-d1 {
    transition-delay: 0.1s;
}

.reveal-d2 {
    transition-delay: 0.2s;
}

.reveal-d3 {
    transition-delay: 0.3s;
}

.reveal-d4 {
    transition-delay: 0.4s;
}

.reveal-d5 {
    transition-delay: 0.5s;
}

/* ══════════════════════════════════════════
   RESPONSIVE — TABLET (≤ 900px)
══════════════════════════════════════════ */
@media (max-width: 900px) {
    #header {
        padding: 16px 24px;
    }

    #header.scrolled {
        padding: 12px 24px;
    }

    .nav-desktop {
        display: none;
    }

    .btn-header {
        display: none;
    }

    .burger {
        display: flex;
    }

    .hero-inner {
        flex-direction: column;
        padding: 80px 24px 60px;
        gap: 40px;
        text-align: center;
    }

    .hero-desc {
        max-width: 100%;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-eyebrow {
        justify-content: center;
    }

    .hero-title {
        align-items: center;
    }

    .scroll-cue {
        left: 50%;
        transform: translateX(-50%);
    }

    .photo-frame {
        width: 220px;
    }

    .hero-photo {
        height: 270px;
    }

    .container {
        padding: 0 24px;
    }

    .about-layout {
        grid-template-columns: 1fr;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .cert-row {
        grid-template-columns: 36px 40px 1fr;
        grid-template-rows: auto auto;
    }

    .cert-year {
        grid-column: 3;
        grid-row: 2;
        justify-self: start;
    }

    .cert-btn {
        grid-column: 3;
        grid-row: 2;
        justify-self: end;
    }

    .footer-inner {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

/* ══════════════════════════════════════════
   RESPONSIVE — MOBILE (≤ 480px)
══════════════════════════════════════════ */
@media (max-width: 480px) {
    .section {
        padding: 80px 0;
    }

    .section-title {
        letter-spacing: -1px;
    }

    .cert-row {
        grid-template-columns: 32px 1fr;
        gap: 12px;
    }

    .cert-num {
        display: none;
    }

    .cert-emoji {
        grid-column: 1;
        grid-row: 1;
    }

    .cert-info {
        grid-column: 2;
        grid-row: 1;
    }

    .cert-year {
        grid-column: 2;
        grid-row: 2;
        justify-self: start;
    }

    .cert-btn {
        grid-column: 1 / -1;
        grid-row: 3;
        justify-self: start;
    }

    .cv-card {
        padding: 32px 24px;
    }

    .cv-btns {
        flex-direction: row;
    }

    .cv-btns .btn {
        flex: 1;
        justify-content: center;
    }
}