html, body {
    width: 100vw;
    max-width: 100vw;
    overflow-x: hidden;
}

* {
    margin: 0;
    padding: 0;
}

:root {
    --primary-color: #fcd446;
    --secondary-color: #000000;
    --tertiary-color: #ffa600;
    --white-color: #FFFFFF;
    --gray-light: #F5F5F5;
    --gray-dark: #333333;
    --transition: all 0.3s ease;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--secondary-color);
    overflow-x: hidden;
}


.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 1s ease forwards;
}

.fade-in-up.delay-1 {
    animation-delay: 0.2s;
    opacity: 0;
}

.fade-in-up.delay-2 {
    animation-delay: 0.4s;
    opacity: 0;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    font-family: inherit;
    font-size: 16px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white-color);
    border-color: var(--white-color);
}

.btn-secondary:hover {
    background-color: var(--white-color);
    color: var(--secondary-color);
}

.btn-full {
    width: 100%;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: var(--transition);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 20px;
}

.logo {
    display: flex;
    align-items: center; 
    gap: 10px; 
}

.logo img {
    max-height: 100px; 
    width: auto;
}

.logo h1 {
    background: linear-gradient(90deg, #000000, #FFD700); 
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    font-size: 1.5rem;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-menu a:hover::after {
    width: 100%;
}

.navbar-topbar {
    position: absolute;
    bottom: 0;  
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(
        to bottom,
        #ffa600 0%,
        #ffa600 50%,
        #ffa600 80%,
        transparent 100%
    );
    box-shadow: 0 0 24px 2px #ffa600;
    pointer-events: none;
    z-index: 1001;
    
}
.navbar {
    position: relative;
    z-index: 1000;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}


.mobile-overlay.active {
    opacity: 1; 
    visibility: visible;
}

.mobile-menu {
    position: fixed;
    top: 110px;
    right: 0;
    width: 40vw;
    min-width: 220px;
    max-width: 340px;
    height: auto;
    max-height: 70vh;
    background-color: #111; 
    z-index: 999;
    box-shadow: 0 8px 32px #0002;
    transform: translateX(100%);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-y: auto;
    border-radius: 0 0 32px 32px; 
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.mobile-menu a {
    color: var(--white-color);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: var(--transition);
}

.mobile-menu a:hover {
    color: var(--primary-color);
}

.hero {
    min-height: 80vh;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
                url('/img/banner.jpg') no-repeat center center;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--white-color);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
}

.section-header h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.section-header p {
    font-size: 1rem;
    color: var(--gray-dark);
    max-width: 600px;
    margin: 0 auto;
}

.services {
    padding: 40px 0 30px 0;
    background-color: var(--white-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 18px;
}

.service-card {
    padding: 28px 18px;
    background-color: var(--white-color);
    border-radius: 15px;
    box-shadow: 0 4px 15px 0 #ffd90056;
    text-align: center;
    transition: var(--transition);
    border: 1px solid #f0f0f0;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px 0 #ffd9008e; 
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.service-icon img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    border-radius: 60px;
    margin-bottom: 1.5rem;
    display: block;   
    margin-left: auto;
    margin-right: auto;
}

.service-card h3 {
    font-size: 1.08rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.service-card p {
    color: var(--gray-dark);
    line-height: 1.6;
}

.cta {
    padding: 80px 0;
    background-color: var(--secondary-color);
    color: var(--white-color);
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.projects {
    padding: 100px 0;
    background-color: var(--gray-light);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.project-card {
    background-color: var(--white-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.project-image {
    height: 250px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-info {
    padding: 30px;
}

.project-info h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.project-info p {
    color: var(--gray-dark);
    line-height: 1.6;
}

.about {
    padding: 100px 0;
    background-color: var(--white-color);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text {
    max-width: 520px;
    width: 100%;
}

.about-image img {
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
}

.about-text h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    bottom: 0;
    left: 0;
}

.about-text p {
    color: var(--gray-dark);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 2rem 0;
    max-width: 100%;      
    width: 100%;
}

.value-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background-color: var(--gray-light);
    border-radius: 10px;
    transition: var(--transition);
}

.value-item:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.value-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    transition: var(--transition);
}

.value-item:hover i {
    color: var(--secondary-color);
}

.value-item span {
    font-weight: 500;
}

.slider-container {
  width: 100%;
  overflow: hidden;
  position: relative;
}
.slider-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(.4,0,.2,1);
}
.slider-track img {
  width: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 900px) {
    .slider-container {
        max-width: 100%;
        height: 400px;
    }
}
@media (max-width: 600px) {
    .slider-container {
        max-width: 100%;
        height: 220px;
    }
}

/* Footer */
.footer {
    background-color: var(--gray-dark);
    color: var(--white-color);
    padding: 60px 0 20px;
    position: relative;
}

.footer-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(
        to bottom,
        #ffa600 0%,
        #ffa600 40%,
        #ffa600 70%,
        transparent 100%
    );
    box-shadow: 0 0 24px 2px #ffa600;
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 0px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center; 
    gap: 0px;
    margin-left: 0px;
}

.footer-logo img {
    max-height: 150px; 
    width: auto;
}

.footer-logo h1 {
    font-size: 1rem;
    background: linear-gradient(90deg, #ff6600, #FFD700); 
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 20px;
    text-align: left; 
}
.footer-tagline {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-left: 50px; 
}

.footer-section h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
    bottom: 0;
    left: 0;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact p {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact i {
    color: var(--primary-color);
    margin-right: 10px;
    width: 20px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white-color);
    text-decoration: none;
    transition: var(--transition);
}

.social-icon:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    background: linear-gradient(135deg, #000000, #FFD700);
}

@keyframes whatsapp-bounce {
    0%, 100% { transform: scale(1); }
    20% { transform: scale(1.15); }
    40% { transform: scale(0.95); }
    60% { transform: scale(1.10); }
    80% { transform: scale(0.98); }
}

.whatsapp-float {
    position: fixed;
    bottom: 16px;
    right: 16px;
    background: #FFD700;
    color: #000000;
    width: 64px;         
    height: 64px;       
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem; 
    box-shadow: 0 4px 16px #0002;
    z-index: 1200;
    transition: background 0.2s, transform 0.2s;
    text-decoration: none;
    border: none;
    overflow: hidden;
    animation: whatsapp-bounce 1.6s infinite;
}

.whatsapp-float:hover {
    background: #ffbb00b2;
    animation: whatsapp-bounce 0.8s infinite;
}

@media (max-width: 480px) {
    .whatsapp-float {
        right: 8px;
        bottom: 8px;
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        max-width: 40px;
        max-height: 40px;
        animation: whatsapp-bounce 1.2s infinite;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-image {
        order: -1;
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .service-card,
    .contact-form {
        padding: 30px 20px;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .mobile-menu {
        width: 100%;
        padding: 40px 8px;
        box-sizing: border-box;
    }
    .container {
        padding: 0 8px;
        box-sizing: border-box;
    }
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text {
    max-width: 520px;
    width: 100%;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 2rem 0;
    max-width: 100%;      
    width: 100%;
}

@media (max-width: 900px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about-image.slider-container {
        order: -1;
        margin: 0 auto;
    }
    .about-text {
        max-width: 100%;
    }
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .values-grid {
        grid-template-columns: 1fr;
    }
}

.contact-section {
    padding: 80px 0 60px 0;
    background: var(--gray-light);
}

.contact-row {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 48px;
    max-width: 900px;
    margin: 0 auto;
}

.contact-info {
    flex: 1;
    min-width: 220px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding-top: 10px;
}

.contact-info .section-header {
    margin-bottom: 0;
    text-align: left;
}

.contact-form {
    max-width: 370px;
    width: 100%;
    margin: 0 auto;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 32px #ffd90022;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    font-family: 'Montserrat', Arial, sans-serif;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contact-form label {
    font-weight: 600;
    color: #222;
    font-size: 1rem;
    margin-bottom: 2px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    padding: 12px 14px;
    border: 1.5px solid #e6e6e6;
    border-radius: 8px;
    font-size: 1rem;
    background: #fafafa;
    transition: border 0.3s, box-shadow 0.3s;
    outline: none;
    font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    border-color: var(--primary-color, #ffd900);
    box-shadow: 0 0 0 2px #ffe06655;
}

.contact-form select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='16' height='10' viewBox='0 0 16 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L8 8L15 1' stroke='%23fcd446' stroke-width='2'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 18px 12px;
}

.contact-form textarea {
    min-height: 90px;
    resize: vertical;
}

.btn-animado {
    background: var(--primary-color, #ffd900);
    color: #222;
    border: none;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 14px 0;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 4px 16px #ffd90033;
    transition: background 0.3s, color 0.3s, transform 0.25s;
    width: 100%;
    margin-top: 10px;
}

.btn-animado:hover {
    background: #ffe066;
    color: #000;
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 8px 24px #ffd90055;
}

.certificaciones-grid {
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 24px;
}
.certificacion-item img {
    width: 140px;
    height: 140px;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0);
    background: #ffffff00;
    padding: 12px;
}

.mobile-menu,
.mobile-overlay {
    transform: translateX(100%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.nav-toggle-checkbox:checked ~ .mobile-menu,
.nav-toggle-checkbox:checked ~ .mobile-overlay {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
}

.nav-toggle {
    display: none;
}
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
        position: fixed;
        top: 20px;
        right: 20px;
        z-index: 1001;
        flex-direction: column;
        gap: 4px;
        cursor: pointer;
        background: none;
        border: none;
        width: 40px;
        height: 40px;
        justify-content: center;
        align-items: center;
    }
    .nav-toggle span {
        width: 25px;
        height: 3px;
        background-color: var(--secondary-color);
        transition: var(--transition);
        display: block;
    }
    .nav-toggle-checkbox:checked + .nav-toggle span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .nav-toggle-checkbox:checked + .nav-toggle span:nth-child(2) {
        opacity: 0;
    }
    .nav-toggle-checkbox:checked + .nav-toggle span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    .mobile-menu,
    .mobile-overlay {
        display: block;
    }
    .nav-menu {
        display: none !important;
    }
    .nav-toggle-checkbox:checked + .nav-toggle span {
        background-color: #000000;
    }
}

@media (max-width: 768px) {

    .mobile-menu {
        width: 100vw;
        min-width: 0;
        max-width: 99vw;
        padding: 32px 0px 24px 8px;
    }

    .contact-section {
        padding: 30px;
    }
    .contact-row {
        flex-direction: column;
        gap: 24px;
        max-width: 100%;
        width: 100%;
        padding: 10px 0;
    }
    .contact-info {
        width: 100%;
        min-width: 10px;
        padding-top: 0;
        align-items: center;
        text-align: center;
    }
    .contact-form {
        max-width: 98%;
        width: 90%;
        padding: 20px 20px;
        box-shadow: 20px #ffd90022;
    }
}

@media (max-width: 480px) {
    .contact-section {
        padding: 24px 0 18px 0;
    }
    .contact-form {
        padding: 16px 4px;
        font-size: 0.98rem;
    }
    .form-group label {
        font-size: 0.98rem;
    }
    .contact-form input,
    .contact-form textarea,
    .contact-form select {
        font-size: 0.98rem;
        padding: 10px 8px;
    }
}


@media (max-width: 768px) {
    .footer {
        padding: 12px 0 6px 0;
        text-align: center;
    }
    .footer-content {
        gap: 10px;
        padding: 0 4px;
        text-align: center;
    }
    .footer-section {
        margin-bottom: 8px;
        font-size: 0.85rem;
    }
    .footer-logo img {
        max-width: 70px;
        margin-bottom: 4px;
    }
    .footer-logo h1 {
        font-size: 0.85rem;
        margin: 4px 0 0 0;
    }
    .footer-tagline {
        font-size: 0.8rem;
        margin-bottom: 4px;
    }
    .footer-section h4 {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
        padding-bottom: 0.1rem;
    }
    .footer-section ul li {
        margin-bottom: 0.3rem;
    }
    .footer-contact p {
        font-size: 0.85rem;
        margin-bottom: 4px;
    }
    .footer-social {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 6px;
        margin-bottom: 4px;
        width: 100%;
    }
    .social-icon {
        width: 28px;
        height: 28px;
        font-size: 1rem;
    }
    .footer-bottom {
        padding-top: 6px;
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    .footer-logo {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 10px;
        margin-bottom: 0;
    }
    .footer-tagline {
        margin-left: 0;
        margin-bottom: 0;
        font-size: 0.85rem;
        text-align: left;
        display: inline-block;
    }
}

.back-to-top {
    bottom: 90px !important; /* Ajusta este valor según el tamaño del botón de WhatsApp y el espacio deseado */
    right: 16px;
    z-index: 1300 !important;
    /* Si ya tienes otras reglas para .back-to-top, solo agrega o modifica bottom y right */
}

.section-header.certificaciones-header {
    margin-top: 56px; /* Espacio extra arriba del título de certificaciones */
    margin-bottom: 4rem;
}

@media (max-width: 600px) {
    .section-header.certificaciones-header {
        margin-top: 32px;
        margin-bottom: 2.5rem;
    }
}