:root {
    --primary: #ef4444; /* Lighter Logo Red */
    --primary-hover: #dc2626;
    --secondary: #2563eb; /* Trust Blue */
    --bg-dark: #000000; /* Black */
    --bg-darker: #000000; /* Black */
    --text-light: #f8fafc;
    --text-muted: #94a3b8;
    --glass-bg: rgba(0, 0, 0, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-sans: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-darker);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.highlight {
    color: var(--primary);
}

.section {
    padding: 100px 0;
}

.dark-bg {
    background-color: var(--bg-dark);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--primary);
    border-radius: 2px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 1.5rem auto 0;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.4s ease;
    background: transparent;
}

.navbar.scrolled {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    padding: 0.5rem 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 65px;
    transform: scale(1.1);
    transform-origin: left center;
    transition: transform 0.3s;
}

.logo img:hover {
    transform: scale(1.15);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-links a {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    white-space: nowrap;
}

.nav-links a:not(.btn-nav)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.nav-links a:hover:not(.btn-nav)::after {
    width: 100%;
}

.btn-nav {
    background-color: var(--primary);
    color: #fff !important;
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

.btn-nav:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    z-index: -2;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(2, 6, 23, 0.6);
    z-index: -1;
}

.hero-content {
    max-width: 1000px;
    text-align: center;
    padding: 0 2rem;
    margin: 0 auto;
    z-index: 1;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.hero-desc {
    font-size: 1.1rem;
    color: #e2e8f0;
    margin-bottom: 2.5rem;
    max-width: 600px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}



.hero-actions {
    display: flex;
    gap: 1rem;
}

.btn-primary, .btn-secondary {
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.btn-primary {
    background-color: var(--primary);
    color: #fff;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.5);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.stats-container {
    position: absolute;
    bottom: 50px;
    right: 10%;
    display: flex;
    gap: 2rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    padding: 1.5rem 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.stat-box {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
}

/* Quiénes Somos */
.about-content {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 3rem;
    align-items: center;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #cbd5e1;
}

.about-text strong {
    color: var(--primary);
    font-size: 1.2rem;
}

.vision-box {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(239, 68, 68, 0.02) 100%);
    border-left: 4px solid var(--primary);
    padding: 2.5rem;
    border-radius: 0 15px 15px 0;
    text-align: center;
}

.vision-box i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.vision-box h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.vision-box p {
    color: #94a3b8;
    font-size: 1.1rem;
    font-style: italic;
}

.functions-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.accordion-item {
    display: block;
    background: rgba(255, 255, 255, 0.02);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.3s;
    cursor: pointer;
}

.accordion-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-title {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.accordion-title i {
    font-size: 1.5rem;
    color: var(--primary);
}

.accordion-title strong {
    color: #fff;
    font-size: 1.1rem;
}

.accordion-icon {
    font-size: 1.2rem;
    color: #94a3b8;
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, margin-top 0.4s ease;
}

.accordion-item.active .accordion-content {
    max-height: 300px;
    margin-top: 1rem;
}

.accordion-content p {
    color: #94a3b8;
    font-size: 0.95rem;
    margin-left: 3rem;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 3rem 2rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: var(--primary);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

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

.service-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 0;
}

.service-card p {
    display: none; /* Hidden on card, shown in modal */
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--bg-dark);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3rem;
    max-width: 600px;
    width: 90%;
    position: relative;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.4s ease;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
    opacity: 1;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal:hover {
    color: var(--primary);
}

.modal-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
    color: #fff;
}

.modal-desc {
    color: #cbd5e1;
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: center;
}

.expert-note {
    background: rgba(37, 99, 235, 0.1);
    border-left: 4px solid var(--secondary);
    padding: 1rem 1.5rem;
    border-radius: 0 10px 10px 0;
    display: inline-block;
    color: #93c5fd;
    font-size: 0.9rem;
}

.expert-note i {
    margin-right: 0.5rem;
}

/* Ventaja Competitiva */
.advantages-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.adv-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: rgba(0,0,0,0.2);
    padding: 1.5rem;
    border-radius: 12px;
    transition: background 0.3s;
}

.adv-item:hover {
    background: rgba(255,255,255,0.05);
}

.adv-item i {
    color: var(--primary);
    font-size: 1.5rem;
    margin-top: 3px;
}

.adv-item p {
    font-size: 0.95rem;
    color: #cbd5e1;
}

/* Proyectos */
.marquee-wrapper {
    display: flex;
    overflow: hidden;
    width: 100%;
    gap: 2rem;
    padding: 1rem 0;
}

.marquee-track {
    display: flex;
    gap: 2rem;
    min-width: 100%;
    animation: scroll-left 25s linear infinite;
}

.marquee-wrapper:hover .marquee-track {
    animation-play-state: paused;
}

@keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-100% - 2rem)); }
}

.project-card {
    min-width: 350px;
    flex: 1;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.project-image {
    height: 350px;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
    display: flex;
    align-items: flex-end;
    padding: 2rem;
}

.project-card:hover .project-image {
    transform: scale(1.05);
}

.project-info {
    position: relative;
    z-index: 2;
    transform: translateY(20px);
    opacity: 0.9;
    transition: all 0.4s ease;
}

.project-card:hover .project-info {
    transform: translateY(0);
    opacity: 1;
}

.project-info h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.project-info p {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Video Project Card */
.video-card .project-image {
    position: relative;
    overflow: hidden;
    padding: 2rem;
    display: flex;
    align-items: flex-end;
    height: 350px;
    background-color: #000;
}

.project-video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150%; /* Make wider to avoid black bars */
    height: 150%;
    z-index: 0;
    pointer-events: none;
    border: none;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.8));
    z-index: 1;
}

.video-card .project-info {
    z-index: 2;
}

/* Ingeniería */
.engineering-content {
    background: url('https://images.unsplash.com/photo-1541888086225-f6741477e68d?q=80&w=1200&auto=format&fit=crop') center/cover fixed;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.eng-text {
    background: linear-gradient(to right, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.7) 100%);
    padding: 4rem;
    max-width: 800px;
}

.eng-text p {
    margin-bottom: 1.5rem;
    color: #cbd5e1;
    font-size: 1.05rem;
}

/* Clientes */
.clients-section {
    background-color: var(--bg-darker);
    overflow: hidden;
    padding-top: 40px;
    padding-bottom: 40px;
}

.clients-section .section-header {
    margin-bottom: 2rem;
}

.clients-marquee-wrapper {
    overflow: hidden;
    width: 100%;
    padding: 1rem 0;
    margin-top: 1rem;
}

.clients-marquee-track {
    display: flex;
    gap: 3rem;
    width: max-content;
    animation: scroll-left-clients 25s linear infinite;
}

.clients-marquee-wrapper:hover .clients-marquee-track {
    animation-play-state: paused;
}

@keyframes scroll-left-clients {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.client-logo {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    width: 200px;
    height: 110px;
    flex-shrink: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.client-logo:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    border-color: rgba(255, 255, 255, 0.15);
}

.client-logo img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.client-logo:hover img {
    transform: scale(1.05);
}


.client-logo:hover img {
    transform: scale(1.05);
}

/* Footer */
.footer {
    background-color: #000;
    padding: 80px 0 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-logo {
    height: 101px;
    margin-bottom: 1.5rem;
}

.footer-about p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.05);
    color: #fff;
    transition: all 0.3s;
}

.social-links a:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

.footer h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: #fff;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul li a {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-links ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-contact ul li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.footer-contact ul li i {
    color: var(--primary);
    margin-top: 4px;
}

.footer-contact ul li a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #64748b;
    font-size: 0.85rem;
}

/* Animations */
.reveal-text {
    opacity: 0;
    transform: translateY(30px);
    animation: reveal 0.8s forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

@keyframes reveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.slide-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Responsive */
@media (max-width: 992px) {
    .hero-title { font-size: 3rem; }
    .hero-content { margin-left: 5%; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .eng-text { padding: 3rem 2rem; }
    .about-content { grid-template-columns: 1fr; gap: 2rem; }
    .vision-box { border-left: none; border-top: 4px solid var(--primary); border-radius: 15px; }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: var(--bg-dark);
        flex-direction: column;
        justify-content: center;
        transition: 0.4s;
        box-shadow: -5px 0 20px rgba(0,0,0,0.5);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .mobile-menu-btn {
        display: block;
        z-index: 1001;
    }
    
    .hero-title { font-size: 2.5rem; }
    .hero-content { margin-left: 0; text-align: center; }
    .hero-actions { justify-content: center; }
    .stats-container {
        right: 50%;
        transform: translateX(50%);
        bottom: 30px;
        width: 90%;
        justify-content: space-around;
        padding: 1rem;
    }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* WhatsApp Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 35px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    color: #FFF;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

@keyframes pulse {
    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);
    }
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 30px;
    }
}

/* Instructivo Page */
.instructivo-page {
    background-color: var(--bg-dark);
}

.instructivo-content {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-darker);
    padding: 3rem;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.instructivo-step {
    margin-bottom: 3.5rem;
}

.instructivo-step:last-child {
    margin-bottom: 0;
}

.instructivo-step h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

.instructivo-step p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.instructivo-list {
    color: var(--text-muted);
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.instructivo-img {
    margin-top: 1.5rem;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
}

.instructivo-img img {
    width: 100%;
    display: block;
    height: auto;
}

/* Generator Page */
.generator-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group-row {
    display: flex;
    gap: 1.5rem;
}

.form-group-row .form-group {
    flex: 1;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    color: var(--text-light);
    font-size: 0.95rem;
    font-weight: 600;
}

.form-group input, .form-group select {
    padding: 0.8rem 1rem;
    border-radius: 8px;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 1rem;
    font-family: var(--font-sans);
    outline: none;
    transition: all 0.3s ease;
}

.form-group input:focus, .form-group select:focus {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.1);
}

.form-group select option {
    background: var(--bg-dark);
    color: #fff;
}

.btn-generate {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    align-self: center;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-generate:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

.footer-bottom p {
    margin: 0 auto;
    max-width: 100%;
}

.footer-logos {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.footer-logo {
    height: 101px;
    margin-bottom: 0;
}

.footer-ministerio-logo {
    height: 101px;
    width: auto;
    display: inline-block;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

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

@media (max-width: 768px) {
    .form-group-row {
        flex-direction: column;
        gap: 1.5rem;
    }
}

.profile-pic {
    transition: filter 0.3s ease;
    filter: grayscale(100%);
}

.profile-pic:hover {
    filter: grayscale(0%);
}
