/* ===== index.php — estilos extraídos del inline <style> ===== */

/* ----- Footer & social icons ----- */
footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    border-top: 3px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

.social-media-section h6 {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
}

.social-icons {
    flex-wrap: wrap;
}

.social-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    animation: fadeInUp 0.6s ease forwards;
}

.social-icon:hover {
    transform: translateY(-5px) scale(1.1);
    color: #ffffff;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.social-icon.facebook:hover {
    background: linear-gradient(135deg, #1877f2 0%, #0d5dbf 100%);
    border-color: #1877f2;
    box-shadow: 0 8px 25px rgba(24, 119, 242, 0.4);
}

.social-icon.instagram:hover {
    background: linear-gradient(135deg, #e4405f 0%, #c13584 50%, #833ab4 100%);
    border-color: #e4405f;
    box-shadow: 0 8px 25px rgba(228, 64, 95, 0.4);
}

.social-icon.twitter:hover {
    background: linear-gradient(135deg, #1da1f2 0%, #0d8bd9 100%);
    border-color: #1da1f2;
    box-shadow: 0 8px 25px rgba(29, 161, 242, 0.4);
}

.social-icon.linkedin:hover {
    background: linear-gradient(135deg, #0077b5 0%, #005885 100%);
    border-color: #0077b5;
    box-shadow: 0 8px 25px rgba(0, 119, 181, 0.4);
}

.social-icon.youtube:hover {
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
    border-color: #ff0000;
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.4);
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.social-icon:nth-child(1) { animation-delay: 0.1s; }
.social-icon:nth-child(2) { animation-delay: 0.2s; }
.social-icon:nth-child(3) { animation-delay: 0.3s; }
.social-icon:nth-child(4) { animation-delay: 0.4s; }
.social-icon:nth-child(5) { animation-delay: 0.5s; }

@media (max-width: 768px) {
    .social-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    .social-media-section h6 {
        font-size: 0.85rem;
    }
}

/* ----- WhatsApp floating button ----- */
.button__ws {
    position: fixed;
    border-radius: 50%;
    left: 1rem;
    bottom: 7%;
    box-shadow: 0 4px 8px hsla(166, 85%, 8%, .4);
    color: white;
    background-color: white;
    padding: 6px;
    font-size: 1.25rem;
    z-index: 999;
}
.button__ws img {
    width: 3rem;
    height: auto;
}

/* ----- Service quality section ----- */
.service-quality-section {
    background: #001f3f;
    width: 100%;
    margin: 0;
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}
.quality-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}
.quality-number {
    color: #ffd700;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.quality-label {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 400;
    text-transform: none;
}
@media (max-width: 767.98px) {
    .quality-number { font-size: 2rem; }
    .quality-label  { font-size: 1rem; }
    .service-quality-section .row > div { margin-bottom: 1.5rem; }
}

/* ----- Lo que te ofrecemos section ----- */
.ofrecemos-section {
    background: #fff;
}
.ofrecemos-card {
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    transition: box-shadow 0.2s;
    margin: 0;
}
.ofrecemos-card:hover {
    box-shadow: 0 6px 24px rgba(0,0,0,0.12);
}
.ofrecemos-icon {
    font-size: 3rem;
    color: #1a448d;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    margin: 0 auto;
}
.ofrecemos-desc {
    font-size: 1.1rem;
    color: #222;
    font-weight: 500;
}
.ofrecemos-contact {
    font-size: 0.7rem;
    color: #222;
    font-weight: 500;
}
.ofrecemos-card-central {
    border-radius: 16px;
    height: 100%;
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ofrecemos-img-central {
    width: 100%;
    max-width: 350px;
    height: auto;
    object-fit: contain;
}
@media (max-width: 991.98px) {
    .ofrecemos-card-central { min-height: 220px; }
    .ofrecemos-img-central  { max-width: 220px; }
    .ofrecemos-card         { min-height: 140px; }
}
@media (max-width: 767.98px) {
    .ofrecemos-card, .ofrecemos-card-central { min-height: 120px; }
    .ofrecemos-img-central { max-width: 160px; }
    .ofrecemos-section .row { flex-direction: column !important; }
    .ofrecemos-card, .ofrecemos-card-central { margin-bottom: 1.5rem !important; }
    .carousel-caption h2 { font-size: 2.5rem; margin-bottom: 1rem; }
}

/* ----- Hero slider ----- */
.custom-slider {
    box-shadow: 0 8px 32px rgba(44, 44, 84, 0.18);
    position: relative;
}
.slider-bg-img {
    object-fit: cover;
    width: 100%;
    height: 420px;
    min-height: 320px;
    filter: brightness(0.85);
}
.custom-caption {
    position: absolute;
    left: 64px;
    top: 16px;
    z-index: 2;
    max-width: 50%;
    text-shadow: 0 2px 8px rgba(0,0,0,0.18);
}
.slider-title, .slider-desc, .slider-btn {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1);
}
.slider-title.animated {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.1s;
}
.slider-desc.animated {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.5s;
}
.slider-btn {
    left: 50%;
    transform: translateX(-50%) translateY(30px);
    position: absolute;
    bottom: 30px;
    z-index: 999;
    display: inline-block;
    text-align: center;
    background: #fff;
    color: #222;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 20px;
    padding: 12px 48px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.10);
    text-decoration: none;
    transition: background 0.2s, color 0.2s, opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1);
    border: none;
}
.slider-btn.animated {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    transition-delay: 0.9s;
}
.slider-btn:hover, .slider-btn:focus {
    background: #1a448d;
    color: #fff;
}
.custom-indicators {
    position: absolute;
    top: 24px;
    z-index: 3;
    display: flex;
    gap: 16px;
}
.custom-indicators button {
    width: 36px;
    height: 6px;
    border-radius: 6px;
    background: #fff;
    opacity: 0.5;
    border: none;
    transition: opacity 0.2s, background 0.2s;
}
.custom-indicators button.active {
    opacity: 1;
}
.custom-arrow {
    width: 56px;
    height: 56px;
    background: rgba(255,255,255,0.45);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.custom-arrow:hover {
    background: rgba(26,68,141,0.18);
}
.carousel-control-prev { left: 32px; }
.carousel-control-next { right: 32px; }

@media (max-width: 991.98px) {
    .slider-bg-img  { height: 320px; }
    .custom-caption { left: 24px; top: 32px; max-width: 70%; }
    .slider-title   { font-size: 2.1rem; }
    .slider-desc    { font-size: 1rem; }
    .slider-btn     { font-size: 1.1rem; padding: 10px 32px; }
    .custom-arrow   { width: 44px; height: 44px; }
    .carousel-control-prev { left: 12px; }
    .carousel-control-next { right: 12px; }
}
@media (max-width: 767.98px) {
    .slider-bg-img  { height: 200px; }
    .custom-caption { left: -35px; top: -20px; max-width: 100%; }
    .slider-title   { font-size: 1.2rem; }
    .slider-btn     { font-size: 1rem; padding: 8px 18px; border-radius: 12px; }
    .custom-arrow   { width: 32px; height: 32px; }
    .carousel-control-prev { left: 15px; }
    .carousel-control-next { right: 15px; }
}
