body {
    margin: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #f7f7f7;
}

.navbar-brand-link {
    text-decoration: none;
}

.navbar {
    width: 100%;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.navbar-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    height: 96px;
    padding: 0 24px;
    box-sizing: border-box;
    position: relative;
}

.navbar-left {
    display: flex;
    align-items: center;
    margin-right: 40px;
    flex-shrink: 0;
}

.navbar-logo {
    height: 92px;
    margin-right: 12px;
    max-width: 240px;
    object-fit: contain;
}

.navbar-logo--large {
    height: 92px;
    max-width: 240px;
}

.navbar-title {
    display: none;
}

.navbar-links {
    display: flex;
    gap: 28px;
    margin-left: 0;
}

.navbar-links a {
    text-decoration: none;
    color: #222;
    font-weight: 500;
    font-size: 0.97em;
    transition: color 0.2s;
}

.navbar-links a:hover {
    color: #ff9800;
}

.navbar-toggle {
    display: none;
    background: none;
    border: none;
    color: #222;
    font-size: 1.5em;
    cursor: pointer;
}

.hero {
    background: #6d6d6d;
    color: #fff;
    text-align: center;
    padding: 140px 0 140px 0;
    background-image: url('image/Imagen de WhatsApp 2025-09-22 a las 16.25.17_6a9a723c.jpg');
    background-size: cover;
    background-position: center 35%;
    background-repeat: no-repeat;
    position: relative;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(109, 109, 109, 0.85);
    z-index: 0;
}

.hero-title,
.hero-desc,
.hero-btn {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 2.2em;
    font-weight: bold;
    margin-bottom: 16px;
}

.hero-desc {
    font-size: 1.2em;
    margin-bottom: 28px;

}

.hero-btn {
    background: #ff9800;
    color: #fff;
    border: none;
    padding: 12px 24px;
    font-size: 1.1em;
    border-radius: 3px;
    cursor: pointer;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    text-decoration: none;
}

.section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px 0 20px;
}

.section-title {
    color: #1976d2;
    font-size: 1.3em;
    font-weight: bold;
    margin-bottom: 0;
    display: block;
}

.section-underline {
    height: 4px;
    width: 48px;
    background: #ffb300;
    border-radius: 2px;
    margin: 12px 0 24px 0;
}

.about {
    display: block;
    margin-bottom: 24px;
}

.about-text {
    font-size: 1.05em;
    color: #444;
    text-align: justify;
}

.about-img {
    display: none;
}

.carousel-container {
    width: 100%;
    margin-bottom: 40px;
}

.carousel {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.carousel-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    box-sizing: border-box;
}

.carousel-slide img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.4);
    color: white;
    border: none;
    cursor: pointer;
    padding: 12px;
    font-size: 1.5em;
    z-index: 10;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
}

.carousel-btn:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

.carousel-btn.prev {
    left: 16px;
}

.carousel-btn.next {
    right: 16px;
}

.carousel-dots {
    text-align: center;
    padding: 12px 0;
}

.carousel-dot {
    cursor: pointer;
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.carousel-dot.active {
    background-color: #1976d2;
}


.products-list {
    display: flex;
    gap: 24px;
    margin-bottom: 40px;
}

.product-card {
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
    flex: 1;
    padding: 18px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.product-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 12px;
}

.product-title {
    font-weight: bold;
    color: #1976d2;
    margin-bottom: 6px;
}

.product-desc {
    font-size: 0.98em;
    color: #444;
    margin-bottom: 8px;
    text-align: justify;
}

.product-link {
    color: #ff9800;
    font-weight: bold;
    text-decoration: none;
    font-size: 0.97em;
}

.ver-mas-container {
    text-align: center;
    margin: 24px 0 40px 0;
}

.btn-ver-mas {
    background: #ff9800;
    color: #fff;
    border: none;
    padding: 12px 32px;
    font-size: 1em;
    border-radius: 3px;
    cursor: pointer;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    text-decoration: none;
    display: inline-block;
}

.products-grid-full {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.services-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin-bottom: 40px;
}

.service-card {
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
    padding: 18px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 16px;
}

.service-icon {
    width: 64px;
    height: 64px;
    background: #e3f2fd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 18px;
    font-size: 2.2em;
    color: #1976d2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.service-icon i {
    font-size: 1em;
    color: #1976d2;
    margin: 0;
    padding: 0;
}

.service-title {
    color: #222;
    font-weight: bold;
    font-size: 1em;
}

.service-desc {
    color: #444;
    font-size: 0.97em;
    text-align: justify;
}

.contact-form {
    display: flex;
    gap: 32px;
    align-items: flex-start;
}

.contact-fields {
    width: 60%;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-fields label {
    font-weight: 500;
    color: #222;
    margin-bottom: 2px;
}

.contact-fields input,
.contact-fields textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1em;
    font-family: 'Segoe UI', Arial, sans-serif;
}

.contact-fields textarea {
    resize: vertical;
    min-height: 80px;
}

.contact-btn {
    width: 100%;
    box-sizing: border-box;
    background: #1976d2;
    color: #fff;
    border: none;
    padding: 14px;
    font-size: 1.1em;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    margin-top: 12px;
}

.contact-map-custom {
    flex: 1;
    min-width: 300px;
    height: 420px;
}

.contact-map-custom iframe {
    width: 100%;
    height: 100%;
    border-radius: 6px;
    border: none;
}

.footer {
    background: #222;
    color: #eee;
    padding: 32px 0 18px 0;
    margin-top: 48px;
    font-size: 0.97em;
}

.footer-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}

.footer-section {
    flex: 1;
    min-width: 180px;
    text-align: justify;
}

.footer-title {
    color: #ff9800;
    font-weight: bold;
    margin-bottom: 8px;
}

.footer-links a {
    color: #eee;
    text-decoration: none;
    display: block;
    margin-bottom: 4px;
}

.footer-links a:hover {
    color: #ff9800;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.footer-social a {
    color: #eee;
    font-size: 1.3em;
    text-decoration: none;
}

.footer-social a:hover {
    color: #ff9800;
}

.footer-bottom {
    text-align: center;
    margin-top: 18px;
    color: #aaa;
    font-size: 0.93em;
}

.fundacion-content {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    padding: 28px 24px;
    margin-bottom: 32px;
}

.fundacion-text {
    font-size: 1.08em;
    color: #444;
    margin-bottom: 18px;
    text-align: justify;
}

.fundacion-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 24px;
    margin-top: 18px;
}

.fundacion-link-card {
    background: #f0f0f0;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: center;
    min-height: 110px;
    padding: 16px;
    gap: 16px;
    transition: box-shadow 0.2s;
    border: 1px solid #e0e0e0;
}

.fundacion-link-card:hover {
    box-shadow: 0 4px 16px rgba(25, 118, 210, 0.10);
}

.fundacion-link-imgbox {
    width: 72px;
    height: 72px;
    background: #eaeaea;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.fundacion-link-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fundacion-link-img-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eee;
    width: 100%;
    height: 100%;
}

.fundacion-link-img-fallback i {
    font-size: 2em;
    color: #bbb;
}

.fundacion-link-info {
    flex: 1;
    min-width: 0;
}

.fundacion-link-title {
    font-weight: bold;
    color: #1976d2;
    font-size: 1.05em;
    line-height: 1.3;
    margin-bottom: 4px;
}

.fundacion-link-domain {
    color: #888;
    font-size: 0.95em;
    margin-bottom: 4px;
}

.fundacion-link-url {
    color: #ff9800;
    font-size: 0.95em;
    text-decoration: none;
    font-weight: 500;
}

.fundacion-link-url:hover {
    text-decoration: underline;
}

.nav-toggle-checkbox {
    display: none;
}

@media (max-width: 900px) {
    .navbar {
        flex-wrap: wrap;
        padding: 12px 16px;
        height: auto;
    }

    .navbar-toggle {
        display: block;
        background: none;
        border: none;
        color: #222;
        font-size: 1.5em;
        cursor: pointer;
        z-index: 45;
    }

    .navbar-logo--large {
        height: 72px;
    }

    .navbar-left {
        margin-right: 0;
    }

    .navbar-content {
        padding: 0 12px;
    }

    .navbar-links {
        display: none;
        position: absolute;
        top: calc(100% + 8px);
        left: 12px;
        right: 12px;
        margin: 0;
        width: auto;
        max-width: none;
        background: #fff;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 6px 0;
        box-shadow: none;
        border: none;
        z-index: 1400;
        border-radius: 0;
        transform: none;
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
    }

    .navbar-links a {
        border-bottom: 1px solid rgba(0, 0, 0, 0.02);
        background: transparent;
    }

    .navbar-links a {
        display: block;
        width: 100%;
        padding: 12px 20px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.03);
        text-align: center;
        color: #222;
        background: transparent;
    }

    .navbar-links a:last-child {
        border-bottom: none;
    }

    .nav-toggle-checkbox:checked+.navbar-toggle+.navbar-links {
        display: flex;
    }

    .hero-title {
        font-size: 1.8em;
    }

    .hero-desc {
        font-size: 1em;
        padding: 0 10px;
    }

    .section {
        padding: 30px 15px 0 15px;
    }

    .about {
        flex-direction: column;
        gap: 24px;
    }

    .about-img {
        max-width: 100%;
    }

    .products-list {
        flex-direction: column;
        gap: 24px;
    }

    .services-list {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .contact-form {
        flex-direction: column;
        gap: 28px;
    }

    .contact-fields textarea {
        min-height: 120px;
    }

    .contact-map-custom {
        width: 100%;
        height: 350px;
        margin-top: 18px;
    }

    .footer-content {
        flex-direction: column;
        gap: 24px;
        padding: 0 20px;
    }

    .fundacion-content {
        padding: 24px 16px;
    }

    .fundacion-links-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .navbar-links {
        gap: 12px;
    }

    .navbar-links a {
        font-size: 0.9em;
    }

    .services-list {
        gap: 16px;
    }

    .service-card {
        padding: 16px;
    }

    .fundacion-link-title {
        font-size: 1em;
    }

    .fundacion-link-domain,
    .fundacion-link-url {
        font-size: 0.9em;
    }
}

.animate {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(.77, 0, .175, 1), transform 0.8s cubic-bezier(.77, 0, .175, 1);
}

.animate.visible {
    opacity: 1;
    transform: none;
}

html {
    box-sizing: border-box;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

body {
    overflow-x: hidden;
}