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

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-100%); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLogo {
    from { opacity: 0; transform: scale(0.7); }
    to   { opacity: 1; transform: scale(1); }
}
@keyframes fadeInLink {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(124,252,152,0.35); }
    50%       { box-shadow: 0 0 0 8px rgba(124,252,152,0); }
}
@keyframes shimmer {
    0%   { left: -100%; }
    100% { left: 200%; }
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes cardIn {
    from { opacity: 0; transform: translateY(20px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes fadeSlide {
    from { opacity: 0; transform: scale(1.03); }
    to   { opacity: 1; transform: scale(1); }
}

body {
    font-family: 'Segoe UI', Arial, Helvetica, sans-serif;
    background-color: transparent;
    min-height: 100vh;
}


html {
    scrollbar-width: none; 
    -ms-overflow-style: none; 
}

html::-webkit-scrollbar { 
    display: none;
}


#bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.header {
    background-color: rgba(10, 61, 36, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 3px solid #1a7a4a;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 50px;
    position: sticky;
    top: 0;
    z-index: 100;
    animation: slideDown 0.6s cubic-bezier(0.22,1,0.36,1) both;
}

.logo {
    animation: fadeInLogo 0.7s 0.3s cubic-bezier(0.34,1.56,0.64,1) both;
}
.logo img {
    width: 90px;
    animation: pulse 3s 1s infinite;
    border-radius: 8px;
}

.navbar ul { display: flex; list-style: none; gap: 10px; }

.navbar li:nth-child(1) a { animation: fadeInLink 0.5s 0.4s both; }
.navbar li:nth-child(2) a { animation: fadeInLink 0.5s 0.55s both; }
.navbar li:nth-child(3) a { animation: fadeInLink 0.5s 0.7s both; }
.navbar li:nth-child(4) a { animation: fadeInLink 0.5s 0.85s both; }

.navbar a {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #d4f5e0;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.3px;
    padding: 8px 14px;
    border-radius: 8px;
    position: relative;
    transition: color 0.25s, background 0.25s, transform 0.2s;
}
.navbar a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 14px;
    width: 0;
    height: 2px;
    background: #7CFC98;
    border-radius: 2px;
    transition: width 0.3s cubic-bezier(0.22,1,0.36,1);
}
.navbar a:hover,
.navbar a[aria-current="page"] {
    color: #7CFC98;
    background: rgba(124,252,152,0.1);
}
.navbar a:hover { transform: translateY(-2px); }
.navbar a:hover::after,
.navbar a[aria-current="page"]::after { width: calc(100% - 28px); }

.icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    stroke: currentColor;
    transition: transform 0.3s;
}
.navbar a:hover .icon { transform: scale(1.2) rotate(-5deg); }

.carrusel {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 24px 0;
}
.slider {
    width: 90%;
    position: relative;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
    overflow: hidden;
}
.slide {
    display: none;
    width: 100%;
}
.slide.active {
    display: block;
    animation: fadeSlide 0.6s ease both;
}
.slide img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
    display: block;
}
.prev, .next {
    position: absolute;
    top: calc(50% - 22px);
    transform: translateY(-50%);
    background: rgba(15,81,50,0.75);
    color: #7CFC98;
    border: 2px solid rgba(124,252,152,0.3);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    border-radius: 50%;
    backdrop-filter: blur(4px);
    transition: background 0.25s, transform 0.2s, border-color 0.25s;
}
.prev { left: 16px; }
.next { right: 16px; }
.prev:hover, .next:hover {
    background: #0f5132;
    border-color: #7CFC98;
    transform: translateY(-50%) scale(1.1);
    color: white;
}
.dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 10px 0 4px;
}
.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    border: 1.5px solid rgba(255,255,255,0.6);
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}
.dot.active {
    background: #7CFC98;
    transform: scale(1.3);
    border-color: #7CFC98;
}

.info {
    width: 90%;
    margin: 50px auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    animation: fadeUp 0.7s ease both;
    background: rgba(10,26,15,0.75);
    backdrop-filter: blur(12px);
    border: 1.5px solid rgba(124,252,152,0.15);
    border-radius: 20px;
    padding: 40px;
}
.info-text { flex: 1; }
.info-badge {
    display: inline-block;
    background: #0f5132;
    color: #7CFC98;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 14px;
}
.info-text h2 {
    font-size: 34px;
    color: #ffffff;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 16px;
}
.info-text h2 em { color: #7CFC98; font-style: normal; }
.info-text p {
    font-size: 15px;
    color: #d4f5e0;
    line-height: 1.8;
    margin-bottom: 10px;
}
.info button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #0f5132;
    color: #7CFC98;
    border: 2px solid #7CFC98;
    padding: 14px 30px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    margin-top: 10px;
    transition: background 0.25s, color 0.25s, transform 0.2s;
}
.info button:hover {
    background: #7CFC98;
    color: #0a3d24;
    transform: translateY(-2px);
}
.info-stats {
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: #0f5132;
    border-radius: 16px;
    padding: 28px 32px;
    min-width: 200px;
    border: 1.5px solid rgba(124,252,152,0.3);
}
.stat { text-align: center; }
.stat-num { font-size: 30px; font-weight: 800; color: #7CFC98; }
.stat-label { font-size: 11px; color: #d4f5e0; letter-spacing: 1.5px; margin-top: 2px; }
.stat-divider { border: none; border-top: 1px solid rgba(124,252,152,0.2); }

.divider {
    width: 90%;
    margin: 0 auto;
    border: none;
    border-top: 1.5px solid rgba(124,252,152,0.15);
}

.servicios-header {
    width: 90%;
    margin: 50px auto 24px;
    border-left: 4px solid #7CFC98;
    padding-left: 16px;
}
.servicios-header h2 { font-size: 26px; color: #ffffff; font-weight: 800; }
.servicios-header p  { font-size: 14px; color: #d4f5e0; margin-top: 4px; }

.servicios {
    width: 90%;
    margin: 0 auto 60px;
    display: flex;
    gap: 24px;
    flex-wrap: nowrap;
    justify-content: center;
}

.card {
    flex: 1;
    max-width: 340px;
    background: rgba(10,26,15,0.85);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    overflow: hidden;
    border: 1.5px solid rgba(124,252,152,0.25);
    transition: transform 0.3s, box-shadow 0.3s;
    animation: cardIn 0.6s ease both;
    text-align: center;
}
.card:nth-child(2) { animation-delay: 0.12s; }
.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(124,252,152,0.15);
    border-color: rgba(124,252,152,0.5);
}
.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}
.card-body { padding: 20px 22px 24px; }
.card-tag {
    display: inline-block;
    background: #0f5132;
    color: #7CFC98;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
}
.card h3 { color: #ffffff; font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.card p  { font-size: 14px; color: #d4f5e0; line-height: 1.65; margin-bottom: 20px; }
.card button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #0f5132;
    color: #7CFC98;
    border: 2px solid #7CFC98;
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.25s, color 0.25s, transform 0.2s;
}
.card button:hover {
    background: #7CFC98;
    color: #0a3d24;
    transform: translateY(-1px);
}

footer {
    background: rgba(10,61,36,0.92);
    backdrop-filter: blur(10px);
    border-top: 3px solid #1a7a4a;
    color: #d4f5e0;
    text-align: center;
    padding: 24px 40px;
    position: relative;
    overflow: hidden;
}
footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: rgba(124,252,152,0.05);
    transform: skewX(-20deg);
    animation: shimmer 4s 1s infinite;
}
footer p {
    font-size: 14px;
    letter-spacing: 1.5px;
    font-weight: 500;
    position: relative;
}

@media (max-width: 768px) {
    .header {
        padding: 12px 20px;
        flex-direction: column;
        gap: 12px;
    }
    .navbar ul { gap: 4px; flex-wrap: wrap; justify-content: center; }
    .navbar a { font-size: 13px; padding: 6px 10px; }
    .info {
        flex-direction: column;
        padding: 24px;
    }
    .info-stats {
        flex-direction: row;
        min-width: unset;
        width: 100%;
        justify-content: space-around;
        gap: 8px;
        padding: 16px;
    }
    .stat-divider { display: none; }
    .servicios { flex-wrap: wrap; }
    .card { max-width: 100%; }
    .slider img { max-height: 280px; }
}