* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: #f4f7f9;
}

.hero-carousel {
    position: relative;
    width: 100%;
    height: 520px;
    overflow: hidden;
    background: #0B1F2E;
}

.carousel-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.7s cubic-bezier(0.77, 0, 0.175, 1);
}

.slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 8%;
}

.slide-1 { background: linear-gradient(135deg, #060d16 0%, #0e2a4a 45%, #1E5FA8 100%); }
.slide-2 { background: linear-gradient(135deg, #091929 0%, #0f3a6e 50%, #2FA4E7 100%); }
.slide-3 { background: linear-gradient(135deg, #0a0f1e 0%, #1a1f4e 45%, #2340a0 100%); }

.slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 75% 50%, rgba(47,164,231,0.18) 0%, transparent 55%),
        radial-gradient(ellipse at 20% 80%, rgba(30,95,168,0.25) 0%, transparent 45%);
}

.slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(110,193,228,0.07) 1px, transparent 1px);
    background-size: 28px 28px;
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(6,13,22,0.75) 0%, rgba(6,13,22,0.3) 60%, transparent 100%);
}

.slide-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.slide-content h1 {
    font-size: 3rem;
    font-weight: 900;
    color: white;
    line-height: 1.15;
    margin-bottom: 16px;
}

.slide-content p {
    color: rgba(255,255,255,0.75);
    font-size: 1.05rem;
    margin-bottom: 28px;
}

.slide-btns {
    display: flex;
    gap: 14px;
}

.btn-hero {
    background: #1E5FA8;
    color: white;
    padding: 13px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
}

.btn-hero:hover {
    background: #2FA4E7;
}

.btn-hero-outline {
    border: 2px solid rgba(255,255,255,0.5);
    color: white;
    padding: 11px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
}

.btn-hero-outline:hover {
    border-color: #2FA4E7;
    background: rgba(47,164,231,0.15);
}

.slide-img {
    position: absolute;
    right: 8%;
    bottom: 0;
    height: 80%;
    display: flex;
    align-items: flex-end;
}


.slide-img img {
  max-height: 100%;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    border: none;
    color: white;
    font-size: 2rem;
    width: 45px;
    height: 45px;
    cursor: pointer;
}

.carousel-btn.prev { left: 15px; }
.carousel-btn.next { right: 15px; }

.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.dot {
    width: 10px;
    height: 10px;
    background: rgba(255,255,255,0.4);
    border-radius: 50%;
    display: inline-block;
    margin: 0 5px;
    cursor: pointer;
}

.dot.active {
    background: #2FA4E7;
}

.servicios {
    display: flex;
     flex-wrap: wrap;
    gap: 20px;
    padding: 40px 5%;
}
.titulo-seccion {
    width: 100%;
    text-align: center;
    color: #0B1F2E;
    font-size: 2.5rem;
    font-weight: 900;
}
.card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    flex: 1;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.card h3 {
    color: #0B1F2E;
}

.card p {
    color: #6B7280;
}

.card a {
    color: #1E5FA8;
    font-weight: bold;
    text-decoration: none;
}

.card a:hover {
    color: #2FA4E7;
}
