/* Variables y Reset */
:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --text-color: #333;
    --bg-color: #fff;
    --bg-light: #f3f4f6;
    --footer-bg: #111111;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth; 
}

body {
    color: var(--text-color);
    background-color: var(--bg-color);
    overflow-x: hidden;
}

/* =========================================
   Navegación
   ========================================= */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 25px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    z-index: 1000;
    transition: all 0.4s ease;
    will-change: background, padding, box-shadow;
}

.logo-link {
    text-decoration: none;
    display: inline-block;
}

.logo-link:hover .logo-img {
    opacity: 0.8;
    transform: scale(1.05);
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff; 
    transition: color 0.4s ease;
    z-index: 1002; 
    display: flex;
    align-items: center;
}

.logo-img {
    height: 45px;
    width: auto;
    transition: all 0.4s ease;
    will-change: transform, opacity;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: #ffffff; 
    font-weight: 600;
    transition: color 0.3s ease;
    position: relative; 
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #ffffff;
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover {
    color: #cbd5e1; 
}

nav.scrolled {
    background: #ffffff; 
    padding: 15px 50px; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.05); 
}

nav.scrolled .logo { color: #000000; }
nav.scrolled .logo-img { filter: brightness(0); }
nav.scrolled .nav-links a { color: var(--text-color); }
nav.scrolled .nav-links a:hover { color: var(--primary-color); }

nav.scrolled .nav-links a.active { color: var(--primary-color); }
nav.scrolled .nav-links a::after { background-color: var(--primary-color); }

/* RESET Y ESTILO MENU HAMBURGUESA */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 1001;
    background: none;
    border: none;
    padding: 0;
    outline: none;
    box-shadow: none;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: #ffffff; 
    transition: all 0.3s ease-in-out;
    border-radius: 3px;
    will-change: transform, opacity;
}

nav.scrolled .menu-toggle .bar { background-color: var(--primary-color); }
.menu-toggle.is-active .bar:nth-child(2) { opacity: 0; }
.menu-toggle.is-active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); background-color: var(--primary-color); }
.menu-toggle.is-active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); background-color: var(--primary-color); }

/* =========================================
   Hero Section
   ========================================= */
.hero {
    position: relative;
    width: 100%;
    height: 100vh; 
    height: 115dvh; 
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../img/foto/bg.webp') center/cover no-repeat;
    color: white;
    padding: 0 20px;
}

.hero h1 { font-size: 3.5rem; margin-bottom: 15px; }
.hero p { font-size: 1.2rem; margin-bottom: 30px; }

.btn-cta {
    display: inline-block;
    padding: 18px 35px;
    background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.4);
    position: relative;
    overflow: hidden;
    will-change: transform, box-shadow;
}

.btn-cta:hover {
    transform: translateY(-3px) scale(1.05) !important;
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.6) !important;
    background: linear-gradient(135deg, #7C3AED 0%, #4F46E5 100%);
    animation-play-state: paused !important; /* Pausa el latido al hacer hover */
}

/* =========================================
   ANIMACIONES DEL HERO (Al cargar la página)
   ========================================= */

.typing-text {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    border-right: 4px solid white;
    width: 0;
    animation: typing 2s steps(12) 0.5s forwards, blink-cursor 0.75s step-end infinite;
}

.fade-in-delay {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease-out 2.5s forwards;
}

/* Animación encadenada: Sube y luego empieza a latir */
.slide-up-btn {
    opacity: 0;
    transform: translateY(30px);
    animation: 
        fadeInUp 1s cubic-bezier(0.175, 0.885, 0.32, 1.275) 3s forwards,
        pulseCta 2.5s ease-in-out 4s infinite; /* Inicia a los 4s (3s delay + 1s de entrada) */
}

@keyframes typing {
    from { width: 0; }
    to { width: 12ch; } 
}

@keyframes blink-cursor {
    from, to { border-color: transparent; }
    50% { border-color: white; }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* NUEVA Animación: Latido del Botón CTA */
@keyframes pulseCta {
    0%, 100% { transform: scale(1); box-shadow: 0 4px 15px rgba(79, 70, 229, 0.4); }
    50% { transform: scale(1.04); box-shadow: 0 10px 25px rgba(79, 70, 229, 0.7); }
}

/* =========================================
   BASE ANIMACIONES DE SCROLL
   ========================================= */
.hidden {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.show {
    opacity: 1;
}

/* =========================================
   Secciones Generales
   ========================================= */
.section { padding: 100px 20px 50px; }

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin: 0 0 60px; 
    color: black;
}

.container { max-width: 1100px; margin: 0 auto; }

/* =========================================
   QUIÉN SOY
   ========================================= */
.about-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: flex-start;
}

.hidden .about-info-block {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    will-change: opacity, transform;
}

.show .about-info-block {
    opacity: 1;
    transform: translateX(0);
}

.hidden .skills-inner-grid {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.2s;
    will-change: opacity, transform;
}

.show .skills-inner-grid {
    opacity: 1;
    transform: translateX(0);
}

.about-info-block { display: flex; flex-direction: column; text-align: left; }

.author-name { 
    font-size: 3rem; 
    font-weight: 700; 
    margin: 0 0 10px;
    background: linear-gradient(135deg, #4c1d95, #2563eb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.label-wrapper { margin-bottom: 25px; }

@keyframes pulse-glow {
    0% { box-shadow: 0 0 0 0 rgba(109, 40, 217, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(109, 40, 217, 0); }
    100% { box-shadow: 0 0 0 0 rgba(109, 40, 217, 0); }
}

.role-label {
    display: inline-block; background-color: #ede9fe; color: #6d28d9;
    padding: 8px 16px; border-radius: 50px; font-size: 0.9rem; font-weight: 500;
    animation: pulse-glow 2s infinite; 
}

.about-description { color: #555; font-size: 1.1rem; line-height: 1.8; margin: 0 0 20px; }

.skills-inner-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; width: 100%;
}

.skill-item {
    background-color: var(--bg-light); padding: 30px 20px; border-radius: 12px;
    display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; 
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
    border: 1px solid transparent;
    will-change: transform, box-shadow;
}

.skill-item:hover { 
    background-color: #ffffff; 
    transform: translateY(-10px) scale(1.03); 
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.1); 
    border: 1px solid rgba(37, 99, 235, 0.2);
}

@keyframes float-icon {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0px); }
}

.skill-icon, .skill-card-icon { 
    font-size: 2.5rem; margin-bottom: 15px; display: block; 
    animation: float-icon 3s ease-in-out infinite; 
}

.skill-item:nth-child(1) .skill-icon { animation-delay: 0s; }
.skill-item:nth-child(2) .skill-icon { animation-delay: 0.5s; }
.skill-item:nth-child(3) .skill-icon { animation-delay: 1s; }
.skill-item:nth-child(4) .skill-icon { animation-delay: 1.5s; }

.skill-text { color: #1f2937; }

/* =========================================
   SERVICIOS
   ========================================= */
.grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 40px;
    margin-top: 60px;
    perspective: 1000px;
}

.hidden .card {
    opacity: 0;
    translate: 0 60px;
    scale: 0.8;
    will-change: translate, scale, opacity, transform, box-shadow;
}

.show .card {
    animation: 
        cardEntrance 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards,
        cardBreathe 4s ease-in-out infinite; 
}

@keyframes cardEntrance {
    0% { opacity: 0; translate: 0 60px; scale: 0.8; }
    100% { opacity: 1; translate: 0 0; scale: 1; }
}

@keyframes cardBreathe {
    0%, 100% { translate: 0 0; scale: 1; }
    50% { translate: 0 -6px; scale: 1.02; }
}

.show .card:nth-child(1) { animation-delay: 0.1s, 0.9s; }
.show .card:nth-child(2) { animation-delay: 0.2s, 1.0s; }
.show .card:nth-child(3) { animation-delay: 0.3s, 1.1s; }
.show .card:nth-child(4) { animation-delay: 0.4s, 1.2s; }
.show .card:nth-child(5) { animation-delay: 0.5s, 1.3s; }
.show .card:nth-child(6) { animation-delay: 0.6s, 1.4s; }
.show .card:nth-child(7) { animation-delay: 0.7s, 1.5s; }
.show .card:nth-child(8) { animation-delay: 0.8s, 1.6s; }

.card {
    background-color: #ffffff; padding: 40px 30px; border-radius: 16px; 
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04); display: flex; flex-direction: column; align-items: center; justify-content: flex-start; text-align: center; border: 1px solid rgba(0, 0, 0, 0.03); 
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    will-change: translate, scale, transform, box-shadow; 
}

.card:hover { 
    transform: translateY(-10px) scale(1.02); 
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.1); 
    animation-play-state: paused; 
}

.card-icon { font-size: 2.8rem; color: var(--primary-color); margin-bottom: 20px; }

.card h3 {
    color: var(--secondary-color); font-size: 1.3rem; font-weight: 700; margin-bottom: 20px; position: relative; padding-bottom: 15px; 
}

.card h3::after {
    content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 40px; height: 3px; background: var(--primary-color); border-radius: 2px;
}

.card p { color: #555555; line-height: 1.6; font-size: 0.95rem; margin: 0; }

/* =========================================
   PORTAFOLIO (CLIENTES)
   ========================================= */
.hidden .portfolio-item-link {
    opacity: 0;
    transform: scale(0.85) translateY(40px); 
    will-change: transform, opacity;
}

.show .portfolio-item-link {
    opacity: 1;
    transform: scale(1) translateY(0);
    transition: 
        opacity 0.7s ease-out, 
        transform 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
}

.show .portfolio-item-link:nth-child(1) { transition-delay: 0.1s; }
.show .portfolio-item-link:nth-child(2) { transition-delay: 0.3s; }
.show .portfolio-item-link:nth-child(3) { transition-delay: 0.5s; }

.portfolio-item-link { text-decoration: none; color: inherit; display: block; transition: all 0.3s ease; }

.portfolio-item {
    border-radius: 20px; overflow: hidden; box-shadow: 0 15px 40px rgba(0,0,0,0.12);
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%); transition: all 0.5s ease;
    position: relative; border: 1px solid rgba(102, 126, 234, 0.1); cursor: pointer; display: flex; flex-direction: column; height: 100%;
}

.portfolio-img {
    height: 220px; background-position: center; background-size: cover; background-repeat: no-repeat; 
    background-color: var(--bg-proyecto, #f3f4f6); transition: transform 0.6s ease; position: relative; overflow: hidden;
    will-change: transform; 
}

.portfolio-item:hover .portfolio-img { transform: scale(1.08); }

.portfolio-info {
    padding: 35px 25px; text-align: center; position: relative; background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    min-height: 160px; display: flex; flex-direction: column; justify-content: space-between; align-items: center; flex-grow: 1;
}

.portfolio-info h3 { font-size: 1.3rem; font-weight: 700; color: #667eea; margin-bottom: 8px; position: relative; display: inline-block; }

.portfolio-info p {
    font-size: 0.95rem; color: #555555; margin-bottom: 25px; opacity: 0.8; line-height: 1.6; 
}

.project-link {
    background: transparent; color: #667eea; padding: 10px 20px; border-radius: 12px; font-size: 0.85rem; font-weight: 600;
    text-decoration: none; display: inline-flex; align-items: center; gap: 8px; border: 2px solid #667eea; transition: 0.3s;
}

.portfolio-item:hover .project-link { background: var(--primary-color); color: white; border-color: transparent; }

/* =========================================
   CONTACTO
   ========================================= */
#contacto { 
    background-color: #ffffff; 
    padding: 100px 20px; 
    position: relative; 
}

.contact-grid { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 60px; 
    align-items: center; 
}

.hidden .contact-info {
    opacity: 0;
    transform: translateX(-40px);
    will-change: opacity, transform;
}

.show .contact-info {
    opacity: 1;
    transform: translateX(0);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hidden .contact-form-wrapper {
    opacity: 0;
    transform: perspective(1000px) rotateY(-15deg) scale(0.95) translateY(30px);
    will-change: opacity, transform;
}

.show .contact-form-wrapper {
    opacity: 1;
    transform: perspective(1000px) rotateY(0deg) scale(1) translateY(0);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.3s; 
}

.contact-info { text-align: left; }
#contacto .section-title { text-align: left; margin-bottom: 20px; font-size: 3rem; color: #333; }
#contacto .section-title::after { content: ''; display: block; width: 60px; height: 4px; background-color: var(--primary-color); margin-top: 15px; border-radius: 2px; }
.contact-desc { color: #666; font-size: 1.1rem; line-height: 1.7; margin-bottom: 40px; }

.contact-list { list-style: none; padding: 0; }
.contact-list li { margin-bottom: 25px; }

.contact-link {
    display: flex; 
    align-items: center; 
    gap: 20px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
    will-change: transform;
}

.contact-link:hover {
    transform: translateX(10px);
}

.contact-icon { 
    width: 45px; 
    height: 45px; 
    background-color: rgba(37, 99, 235, 0.08); 
    color: var(--primary-color); 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-size: 1.2rem; 
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-link:hover .contact-icon {
    background-color: var(--primary-color);
    color: white;
}

.contact-text { font-size: 1.05rem; color: #444; font-weight: 500; }

.contact-form-wrapper { background: #ffffff; padding: 40px; border-radius: 12px; box-shadow: 0 10px 40px rgba(0,0,0,0.06); border: 1px solid rgba(0,0,0,0.03); }
.contact-form input, .contact-form textarea { width: 100%; padding: 16px 20px; margin-bottom: 20px; border: 1px solid #e5e7eb; border-radius: 8px; font-family: 'Poppins', sans-serif; font-size: 1rem; color: #333; background-color: #fafafa; outline: none; transition: 0.3s; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--primary-color); background-color: #ffffff; }
.contact-form textarea { resize: none; min-height: 120px; overflow: auto; }

.btn-submit { width: 100%; background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%); color: #ffffff; border: none; padding: 18px; font-size: 1.1rem; font-weight: 600; border-radius: 8px; cursor: pointer; transition: 0.3s; }
.btn-submit:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3); }

/* =========================================
   FOOTER
   ========================================= */
.main-footer {
    background-color: var(--footer-bg);
    color: #ffffff;
    padding: 80px 0 30px;
    font-family: 'Poppins', sans-serif;
}

.hidden .footer-col {
    opacity: 0;
    transform: translateY(40px);
    will-change: opacity, transform;
}

.show .footer-col {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.show .footer-col:nth-child(1) { transition-delay: 0.1s; }
.show .footer-col:nth-child(2) { transition-delay: 0.3s; }
.show .footer-col:nth-child(3) { transition-delay: 0.5s; }

.hidden .footer-bottom-line {
    opacity: 0;
    will-change: opacity;
}

.show .footer-bottom-line {
    opacity: 1;
    transition: opacity 0.8s ease 0.7s;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo-box { margin-bottom: 20px; }
.footer-logo { height: 50px; width: auto; }

.footer-about { color: #cbd5e1; line-height: 1.6; font-size: 0.95rem; margin-bottom: 25px; }

.footer-social-circles { display: flex; gap: 15px; }
.footer-social-circles a {
    width: 40px; height: 40px; background: rgba(255, 255, 255, 0.1); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; color: #fff; text-decoration: none; transition: 0.3s; font-size: 1.1rem;
    will-change: transform, background;
}
.footer-social-circles a:hover { background: var(--primary-color); transform: translateY(-3px); }

.footer-title {
    font-size: 1.2rem; font-weight: 600; margin-bottom: 25px; position: relative; padding-bottom: 10px;
}
.footer-title::after { content: ''; position: absolute; left: 0; bottom: 0; width: 40px; height: 3px; background: var(--primary-color); }

.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: #cbd5e1; text-decoration: none; transition: 0.3s; font-size: 0.95rem; }
.footer-links a:hover { color: var(--primary-color); padding-left: 5px; }

.footer-contact-info { list-style: none; padding: 0; }
.footer-contact-info li { display: flex; align-items: center; gap: 15px; margin-bottom: 15px; color: #cbd5e1; font-size: 0.95rem; }
.footer-contact-info i { color: var(--primary-color); width: 20px; }

.footer-bottom-line { border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 30px; text-align: center; font-size: 0.85rem; color: #94a3b8; }
.brand-accent { color: var(--primary-color); font-weight: 600; }

/* =========================================
   Responsive (Móvil)
   ========================================= */
@media (max-width: 992px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    nav, nav.scrolled { padding: 15px 25px; }
    .logo-img { height: 32px; max-width: 180px; object-fit: contain; }
    
    .menu-toggle { display: flex; }
    
    .nav-links {
        position: absolute; top: 0; left: 0; width: 100%; height: 100vh;
        background-color: rgba(255, 255, 255, 0.98); flex-direction: column; justify-content: center; align-items: center; gap: 30px;
        transform: translateY(-100%); transition: transform 0.4s ease; z-index: 1000;
        will-change: transform; 
    }
    
    .nav-links.active { transform: translateY(0); }
    .nav-links a { color: var(--text-color); font-size: 1.5rem; }
    
    .hero h1 { font-size: 2.2rem; }
    
    .about-content-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-info-block { text-align: center; align-items: center; }
    
    #contacto { padding: 60px 20px; }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    #contacto .section-title { text-align: center; font-size: 2.5rem; }
    #contacto .section-title::after { margin: 15px auto 0; }
    .contact-info { text-align: center; display: flex; flex-direction: column; align-items: center; }
    
    .contact-list { display: inline-block; text-align: left; }
    .contact-form-wrapper { padding: 30px 20px; }
    .grid-cards { grid-template-columns: 1fr; gap: 20px; padding: 0 15px; }

    /* Footer Responsive */
    .main-footer { padding: 60px 20px 30px; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; gap: 50px; }
    .footer-title::after { left: 50%; transform: translateX(-50%); }
    .footer-social-circles, .footer-contact-info li { justify-content: center; }
}

@media (max-width: 480px) {
    .skills-inner-grid { grid-template-columns: 1fr; }
}

/* =========================================
   MODAL DE ÉXITO (Contacto)
   ========================================= */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex; align-items: center; justify-content: center;
    z-index: 2000;
    opacity: 0; visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px); /* Desenfoque elegante de fondo */
}

.modal-overlay.active-modal {
    opacity: 1; visibility: visible;
}

.modal-content {
    background: #fff;
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    transform: translateY(30px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.modal-overlay.active-modal .modal-content {
    transform: translateY(0) scale(1);
}

.modal-icon {
    font-size: 4.5rem; color: #10b981; /* Verde éxito */ margin-bottom: 15px;
}

.modal-content h3 {
    font-size: 1.5rem; color: #1f2937; margin-bottom: 10px; font-weight: 700;
}

.modal-content p {
    color: #6b7280; font-size: 1rem; line-height: 1.6; margin-bottom: 25px;
}

.btn-modal {
    background: var(--primary-color); color: white; border: none;
    padding: 12px 30px; border-radius: 8px; font-size: 1rem; font-weight: 600;
    cursor: pointer; transition: 0.3s; width: 100%;
}

.btn-modal:hover { background: var(--secondary-color); }