/* =========================================================
   Alessandro Gulia PT — Foglio di stile principale
   Basato sul tema originale (verde neon / nero), reso
   configurabile via variabili CSS per i due percorsi.
   Le variabili --primary / --primary-dim / --bg-dark vengono
   impostate nell'head di ogni pagina (vedi includes/header.php)
   in base alle Impostazioni salvate dal pannello admin.
   ========================================================= */

:root {
    --primary: #00FF00;
    --primary-dim: #00cc00;

    --bg-dark: #050505;
    --bg-card: #0F0F0F;
    --text-main: #FFFFFF;
    --text-muted: #A3A3A3;
    --border: #262626;

    --container-padding: 2rem;
    --max-width: 1280px;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.text-neon {
    color: var(--primary);
    text-shadow: 0 0 20px rgba(0, 255, 0, 0.15);
}

.section-padding { padding: 6rem 0; }

.bg-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0,255,0,0.06) 0%, rgba(0,0,0,0) 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
}

/* Header & Nav */
header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(5, 5, 5, 0.90);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: all 0.3s ease;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.25rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.05em;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
    text-decoration: none;
    z-index: 1002;
}

@media (min-width: 640px) { .logo { font-size: 1.5rem; } }

.logo span { color: var(--primary); }

.logo img {
    height: 45px; width: 45px; object-fit: cover;
    border-radius: 50%; border: 1px solid rgba(255,255,255,0.1);
}

.nav-links { display: flex; gap: 2.5rem; list-style: none; }

.nav-links a {
    color: var(--text-muted); text-decoration: none;
    font-weight: 500; font-size: 0.95rem; transition: color 0.3s; position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--text-main); }
.nav-links a::after {
    content: ''; position: absolute; bottom: -4px; left: 0;
    width: 0; height: 2px; background: var(--primary);
    transition: width 0.3s ease;
}
.nav-links a:hover::after { width: 100%; }

.menu-btn { display: none; background: none; border: none; color: white; cursor: pointer; padding: 0.5rem; z-index: 1002; }

/* Hero */
.hero {
    min-height: 100vh; display: flex; align-items: center;
    position: relative; padding-top: 100px; padding-bottom: 4rem; overflow: hidden;
}
.hero-container { display: grid; gap: 3rem; align-items: center; position: relative; z-index: 10; }
@media (min-width: 969px) {
    .hero-container { grid-template-columns: 1fr 1fr; }
    .hero-content { text-align: left; }
}
.hero-image-wrapper {
    position: relative; border-radius: 24px; overflow: hidden;
    border: 1px solid var(--border); box-shadow: 0 0 40px rgba(0, 255, 0, 0.05);
}
.hero-image-wrapper img { width: 100%; height: auto; display: block; object-fit: cover; }

.badge {
    display: inline-flex; align-items: center; padding: 0.5rem 1rem;
    background: rgba(0, 255, 0, 0.1); border: 1px solid rgba(0, 255, 0, 0.2);
    border-radius: 999px; font-size: 0.875rem; color: var(--primary);
    margin-bottom: 2rem; font-weight: 600;
}
.badge-dot {
    width: 8px; height: 8px; background: var(--primary); border-radius: 50%;
    margin-right: 0.75rem; box-shadow: 0 0 10px var(--primary); animation: pulse 2s infinite;
}

h1 { font-size: clamp(3rem, 6vw, 5rem); line-height: 1.1; font-weight: 800; margin-bottom: 1.5rem; letter-spacing: -0.02em; }
.hero-text { font-size: clamp(1.1rem, 2vw, 1.25rem); color: #d4d4d4; max-width: 600px; margin-bottom: 3rem; }

.btn-group { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.75rem;
    padding: 1rem 2rem; border-radius: 12px; font-weight: 600; text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); font-size: 1rem; cursor: pointer; border: none;
}
.btn-primary { background: var(--primary); color: #000; border: 1px solid var(--primary); }
.btn-primary:hover { background: var(--primary-dim); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0, 255, 0, 0.3); }
.btn-outline { background: transparent; color: white; border: 1px solid rgba(255,255,255,0.2); }
.btn-outline:hover { border-color: var(--text-main); background: rgba(255, 255, 255, 0.05); }
.btn-whatsapp { background: #25D366; color: white; border: 1px solid #25D366; }
.btn-whatsapp:hover { background: #1faf53; box-shadow: 0 8px 24px rgba(37, 211, 102, 0.25); transform: translateY(-2px); }

.floating-wa {
    position: fixed; bottom: 2rem; right: 2rem; width: 60px; height: 60px;
    background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    color: white; box-shadow: 0 4px 12px rgba(0,0,0,0.3); z-index: 100;
    transition: all 0.3s ease; animation: pulse-green 3s infinite;
}
.floating-wa:hover { transform: scale(1.1); }
@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Services / cards grid */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; margin-top: 4rem; }
.card {
    background: var(--bg-card); border: 1px solid var(--border); padding: 2.5rem; border-radius: 24px;
    transition: all 0.3s ease; position: relative; overflow: hidden; height: 100%;
}
.card:hover { transform: translateY(-5px); border-color: var(--primary); box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5); }
.card-icon {
    width: 60px; height: 60px; background: rgba(0, 255, 0, 0.05); border-radius: 16px;
    display: flex; align-items: center; justify-content: center; color: var(--primary);
    margin-bottom: 1.5rem; transition: all 0.3s ease;
}
.card:hover .card-icon { background: var(--primary); color: #000; }
.card h3 { font-size: 1.5rem; margin-bottom: 1rem; font-weight: 700; color: white; }
.card p { color: var(--text-muted); font-size: 1.05rem; line-height: 1.7; }

.badge-icon { width: 32px; height: 32px; }
.card-icon .badge-icon { width: 34px; height: 34px; }

/* Selettore due percorsi (home) */
.path-selector {
    display: grid; gap: 2rem; margin-top: 3rem;
    grid-template-columns: 1fr;
}
@media (min-width: 800px) { .path-selector { grid-template-columns: 1fr 1fr; } }
.path-card {
    position: relative; border-radius: 28px; padding: 3rem 2.5rem; overflow: hidden;
    border: 1px solid var(--border); text-decoration: none; display: flex; flex-direction: column;
    min-height: 320px; transition: all 0.35s ease;
}
.path-card--onetoone { background: linear-gradient(155deg, rgba(0,255,0,0.08) 0%, #0F0F0F 60%); }
.path-card--online { background: linear-gradient(155deg, rgba(255,212,0,0.08) 0%, #0F0F0F 60%); }
.path-card:hover { transform: translateY(-6px); }
.path-card--onetoone:hover { border-color: #00FF00; box-shadow: 0 15px 50px -12px rgba(0,255,0,0.25); }
.path-card--online:hover { border-color: #FFD400; box-shadow: 0 15px 50px -12px rgba(255,212,0,0.25); }
.path-card .path-icon { width: 56px; height: 56px; margin-bottom: 1.5rem; }
.path-card--onetoone .path-icon { color: #00FF00; }
.path-card--online .path-icon { color: #FFD400; }
.path-card h3 { font-size: 1.8rem; color: white; margin-bottom: 0.75rem; font-weight: 800; }
.path-card p { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 2rem; flex-grow: 1; }
.path-card .path-cta { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 700; }
.path-card--onetoone .path-cta { color: #00FF00; }
.path-card--online .path-cta { color: #FFD400; }

/* Percorsi (tabs durata) */
.percorsi-tabs { display: flex; justify-content: center; gap: 1rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.tab-btn {
    background: transparent; border: 1px solid var(--border); color: var(--text-muted);
    padding: 0.75rem 2rem; border-radius: 100px; font-size: 1rem; cursor: pointer; transition: all 0.3s ease;
}
.tab-btn:hover { border-color: var(--primary); color: white; }
.tab-btn.active {
    background: var(--primary); color: black; border-color: var(--primary);
    font-weight: 700; box-shadow: 0 0 20px rgba(0,255,0,0.3);
}

.motivational-text {
    text-align: center; color: white; font-weight: 600; font-size: 1.1rem;
    margin-bottom: 3rem; min-height: 1.6em; text-transform: uppercase; letter-spacing: 0.05em;
}

.percorsi-content { display: none; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; animation: fadeIn 0.5s ease; }
.percorsi-content.active { display: grid; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.plan-card {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: 24px;
    padding: 2.5rem; position: relative; display: flex; flex-direction: column; transition: all 0.3s ease;
}
.plan-card:hover { transform: translateY(-5px); border-color: var(--primary); }
.plan-card.highlight { border: 2px solid var(--primary); background: linear-gradient(180deg, rgba(0,255,0,0.05) 0%, rgba(0,0,0,0) 100%); }
.plan-badge {
    position: absolute; top: 1.5rem; right: 1.5rem; background: rgba(0,255,0,0.1); color: var(--primary);
    padding: 0.25rem 0.75rem; border-radius: 8px; font-size: 0.8rem; font-weight: 600; text-transform: uppercase;
}
.plan-header { margin-bottom: 2rem; padding-bottom: 2rem; border-bottom: 1px solid var(--border); }
.plan-name { font-size: 1.75rem; font-weight: 700; margin-bottom: 0.5rem; color: white; }
.plan-desc { color: var(--text-muted); font-size: 0.95rem; }
.plan-features { list-style: none; margin-bottom: 2rem; flex-grow: 1; }
.plan-features li { display: flex; gap: 0.75rem; margin-bottom: 1rem; color: #d4d4d4; font-size: 0.95rem; }
.plan-features li i { color: var(--primary); flex-shrink: 0; width: 20px; }

.info-trigger-btn {
    display: inline-flex; align-items: center; gap: 0.5rem; background: transparent; border: 1px solid var(--border);
    color: var(--text-muted); padding: 0.8rem 1.5rem; border-radius: 12px; cursor: pointer; margin-top: 3rem;
    transition: all 0.3s ease; font-size: 0.95rem;
}
.info-trigger-btn:hover { border-color: var(--primary); color: white; }

/* Program section */
.program-section { background: var(--bg-card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.program-box { background: rgba(255,255,255,0.03); border: 1px solid var(--border); border-radius: 32px; padding: 4rem; }
.feature-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; margin: 3rem 0; }
.feature-item { display: flex; align-items: flex-start; gap: 1rem; }
.check-icon {
    color: var(--primary); flex-shrink: 0; background: rgba(0,255,0,0.1); border-radius: 50%;
    width: 32px; height: 32px; display: flex; align-items: center; justify-content: center;
}
.feature-content h4 { font-size: 1.1rem; margin-bottom: 0.5rem; color: white; }
.feature-content p { font-size: 0.95rem; color: var(--text-muted); }

/* About */
.about-layout { display: grid; grid-template-columns: 1fr; gap: 4rem; }
@media (min-width: 969px) { .about-layout { grid-template-columns: 400px 1fr; } }
.about-img-wrapper { position: relative; border-radius: 32px; overflow: hidden; border: 1px solid var(--border); height: 100%; min-height: 400px; }
.about-img-wrapper img { width: 100%; height: 100%; object-fit: cover; display: block; }
.resume-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2.5rem; margin-top: 3rem; }
.resume-col h3 { color: white; font-size: 1.25rem; margin-bottom: 1.5rem; border-bottom: 1px solid var(--border); padding-bottom: 0.5rem; display: inline-block; }
.resume-list { list-style: none; }
.resume-list li { margin-bottom: 1rem; color: var(--text-muted); display: flex; align-items: start; gap: 0.75rem; font-size: 0.95rem; }
.resume-list li::before { content: '•'; color: var(--primary); font-weight: bold; font-size: 1.2rem; line-height: 1rem; }

/* Carousel */
.carousel-section { background: #000; position: relative; padding: 8rem 0; border-top: 1px solid rgba(255,255,255,0.05); border-bottom: 1px solid rgba(255,255,255,0.05); overflow: hidden; }
.mask-gradient-sides {
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    position: relative; width: 100%;
}
.hide-scrollbar::-webkit-scrollbar { display: none; }
.hide-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }
.carousel-viewport { display: flex; overflow-x: auto; gap: 2rem; padding: 0 2rem 4rem 2rem; cursor: grab; }
.carousel-viewport:active { cursor: grabbing; }
.transform-card-new {
    flex: 0 0 300px; height: 480px; border-radius: 4px; overflow: hidden; position: relative;
    background: #111; border: 1px solid rgba(255,255,255,0.1); transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    user-select: none;
}
.transform-card-new:hover { border-color: rgba(0, 255, 0, 0.5); box-shadow: 0 0 40px rgba(0, 255, 0, 0.15); transform: translateY(-10px); z-index: 10; }
.transform-card-new img {
    width: 100%; height: 100%; object-fit: contain; display: block; opacity: 0.85;
    transition: transform 0.7s ease, opacity 0.5s ease; filter: grayscale(20%); background-color: #000;
}
.transform-card-new:hover img { transform: scale(1.1); opacity: 1; filter: grayscale(0%); }
.card-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 40%); pointer-events: none; }
.slider-control-container { max-width: 400px; margin: 2rem auto 0 auto; padding: 0 2rem; position: relative; z-index: 20; }
.custom-range { -webkit-appearance: none; width: 100%; height: 2px; background: rgba(255, 255, 255, 0.1); border-radius: 2px; outline: none; cursor: pointer; display: block; }
.custom-range::-webkit-slider-thumb {
    -webkit-appearance: none; appearance: none; width: 12px; height: 12px; border-radius: 50%; background: var(--primary);
    cursor: pointer; transition: transform 0.2s, box-shadow 0.2s; box-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
}
.custom-range::-webkit-slider-thumb:hover { transform: scale(1.5); box-shadow: 0 0 15px rgba(0, 255, 0, 0.8); }
.swipe-hint {
    text-align: center; color: var(--text-muted); font-size: 0.75rem; margin-top: 1rem; text-transform: uppercase;
    letter-spacing: 0.2em; opacity: 0.6; display: flex; align-items: center; justify-content: center; gap: 0.5rem;
}
@media (max-width: 768px) { .transform-card-new { flex: 0 0 260px; height: 400px; } .carousel-section { padding: 4rem 0; } }

/* Contact */
.contact-wrapper { background: var(--bg-card); border: 1px solid var(--border); border-radius: 32px; padding: 4rem; margin-top: 4rem; }
.form-grid { display: grid; gap: 1.5rem; }
.input-group { position: relative; }
.input-field {
    width: 100%; background: rgba(0, 0, 0, 0.3); border: 1px solid var(--border); padding: 1.25rem 1rem;
    border-radius: 12px; color: white; font-family: inherit; font-size: 1rem; transition: all 0.3s;
}
.input-field:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(0, 255, 0, 0.1); background: rgba(0, 0, 0, 0.5); }
label { position: absolute; left: 1rem; top: 1.25rem; color: var(--text-muted); pointer-events: none; transition: all 0.3s ease; font-size: 1rem; background: transparent; }
.input-field:focus ~ label, .input-field:not(:placeholder-shown) ~ label {
    top: -0.6rem; left: 0.8rem; font-size: 0.8rem; background: var(--bg-card); padding: 0 0.4rem; color: var(--primary);
}
.static-label { position: static; display: block; margin-bottom: 0.6rem; font-size: 0.9rem; color: var(--text-muted); }

.checkbox-wrapper { display: flex; align-items: center; gap: 0.75rem; font-size: 0.9rem; color: var(--text-muted); }
.checkbox-wrapper input[type="checkbox"] { accent-color: var(--primary); width: 18px; height: 18px; cursor: pointer; }
.checkbox-wrapper a { color: var(--primary); text-decoration: none; cursor: pointer; }
.checkbox-wrapper a:hover { text-decoration: underline; }

/* Modal */
.modal-overlay {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.85); backdrop-filter: blur(5px);
    z-index: 2000; display: none; justify-content: center; align-items: center; padding: 2rem; opacity: 0; transition: opacity 0.3s ease;
}
.modal-overlay.active { display: flex; opacity: 1; }
.modal-content {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: 24px; max-width: 600px; width: 100%;
    max-height: 80vh; overflow-y: auto; position: relative; transform: translateY(20px); transition: transform 0.3s ease;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
.modal-overlay.active .modal-content { transform: translateY(0); }
.modal-header {
    padding: 1.5rem 2rem; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between;
    align-items: center; position: sticky; top: 0; background: var(--bg-card); z-index: 10;
}
.modal-header h3 { font-size: 1.25rem; color: white; font-weight: 700; }
.close-modal { background: none; border: none; color: var(--text-muted); cursor: pointer; padding: 0.5rem; transition: color 0.3s; }
.close-modal:hover { color: var(--primary); }
.modal-body { padding: 2rem; color: var(--text-muted); font-size: 0.95rem; }
.modal-body h4 { color: white; margin-top: 1.5rem; margin-bottom: 0.5rem; font-size: 1.1rem; }
.modal-body ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1rem; }
.alert-item { display: flex; gap: 1rem; margin-bottom: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--border); }
.alert-item:last-child { border-bottom: none; }
.alert-icon { color: var(--primary); flex-shrink: 0; margin-top: 0.2rem; }

/* ===================== Wizard / Form multistep ===================== */
.wizard-wrapper { background: var(--bg-card); border: 1px solid var(--border); border-radius: 32px; padding: 3rem; margin-top: 3rem; }
@media (max-width: 640px) { .wizard-wrapper { padding: 1.75rem; } }

.wizard-progress { display: flex; align-items: center; gap: 0.4rem; margin-bottom: 2.5rem; }
.wizard-progress-bar { flex-grow: 1; height: 4px; background: var(--border); border-radius: 4px; overflow: hidden; }
.wizard-progress-fill { height: 100%; width: 0%; background: var(--primary); transition: width 0.35s ease; }
.wizard-step-count { font-size: 0.85rem; color: var(--text-muted); white-space: nowrap; }

.wizard-step { display: none; animation: fadeIn 0.4s ease; }
.wizard-step.active { display: block; }
.wizard-step h3 { font-size: 1.5rem; margin-bottom: 0.5rem; color: white; }
.wizard-step .wizard-step-hint { color: var(--text-muted); margin-bottom: 2rem; font-size: 0.95rem; }

.option-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.option-card {
    border: 1px solid var(--border); border-radius: 16px; padding: 1.25rem; text-align: center; cursor: pointer;
    background: rgba(255,255,255,0.02); transition: all 0.25s ease; user-select: none;
}
.option-card:hover { border-color: var(--primary); }
.option-card.selected { border-color: var(--primary); background: rgba(0,255,0,0.08); box-shadow: 0 0 0 1px var(--primary) inset; }
.option-card .option-icon { width: 30px; height: 30px; margin: 0 auto 0.75rem; color: var(--primary); }
.option-card span { font-size: 0.9rem; color: white; font-weight: 500; }

.wizard-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 2.5rem; gap: 1rem; }
.wizard-error { color: #ff8888; background: rgba(255,0,0,0.08); border: 1px solid #ff4444; padding: 0.9rem 1.1rem; border-radius: 10px; font-size: 0.9rem; margin-bottom: 1.5rem; display: none; }
.wizard-error.active { display: block; }

.wizard-success { text-align: center; padding: 2rem 0; }
.wizard-success .success-icon { width: 70px; height: 70px; color: var(--primary); margin: 0 auto 1.5rem; }
.wizard-success h3 { font-size: 1.6rem; margin-bottom: 0.75rem; }
.wizard-success p { color: var(--text-muted); margin-bottom: 2rem; }

.summary-list { list-style: none; margin-bottom: 1.5rem; }
.summary-list li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.75rem 0; border-bottom: 1px solid var(--border); font-size: 0.92rem; }
.summary-list li span:first-child { color: var(--text-muted); }
.summary-list li span:last-child { color: white; text-align: right; }

textarea.input-field { font-family: inherit; }

/* Footer */
footer { border-top: 1px solid var(--border); padding: 4rem 0 2rem; background: #000; margin-top: 4rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 4rem; margin-bottom: 4rem; }
.social-links { display: flex; gap: 1rem; margin-top: 1.5rem; }
.social-btn {
    width: 44px; height: 44px; border-radius: 50%; background: var(--bg-card); border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center; color: white; transition: all 0.3s;
}
.social-btn:hover { background: var(--primary); color: #000; border-color: var(--primary); transform: translateY(-3px); }

/* Mobile */
@media (max-width: 968px) {
    :root { --container-padding: 1.5rem; }
    .menu-btn { display: block; }
    .nav-links {
        position: fixed; top: 0; right: -100%; width: 100%; height: 100vh;
        background: rgba(5, 5, 5, 0.98); backdrop-filter: blur(10px);
        flex-direction: column; justify-content: center; align-items: center;
        gap: 3rem; transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1); z-index: 1001;
    }
    .nav-links a { font-size: 1.5rem; }
    .nav-links.active { right: 0; }
    .hero-container { display: flex; flex-direction: column; gap: 2rem; }
    .hero-content { order: 1; text-align: center; }
    .hero-image-wrapper { order: 2; }
    .btn-group { justify-content: center; }
    .resume-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .contact-wrapper, .program-box { padding: 2rem; }
    .floating-wa { bottom: 1.5rem; right: 1.5rem; }
    .modal-content { max-height: 90vh; }
}
@media (max-width: 640px) { h1 { font-size: 2.5rem; } .btn { width: 100%; } }

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 255, 0, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(0, 255, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 255, 0, 0); }
}

.fade-in-up { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.fade-in-up.visible { opacity: 1; transform: translateY(0); }
