/* ===== BASE ===== */

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    color: #1f2937;
    background-color: #ffffff;
    line-height: 1.6;
}

/* ===== ACCESIBILIDAD ===== */

.skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

    .skip-link:focus {
        left: 1rem;
        top: 1rem;
        width: auto;
        height: auto;
        background: #fff;
        color: #000;
        padding: 0.75rem 1rem;
        z-index: 5000;
        border: 2px solid #000;
    }

/* ===== HERO ===== */

.hero-section img {
    max-height: 380px;
    object-fit: cover;
    width: 100%;
    border-radius: 0.5rem;
}

/* ===== TARJETAS ===== */

.card {
    border-radius: 0.75rem;
}



/* ===== CONTENIDO LEGAL ===== */

.legal-content p,
.content-block p {
    margin-bottom: 1rem;
}

.legal-content ul,
.content-block ul {
    margin-bottom: 1rem;
    padding-left: 1.25rem;
}

.legal-content li,
.content-block li {
    margin-bottom: 0.35rem;
}

/* ===== COOKIE BANNER ===== */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #111827;
    color: #ffffff;
    padding: 1rem 0;
    z-index: 3000;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.2);
}

    .cookie-banner a {
        color: #ffffff;
        text-decoration: underline;
    }

/* Evita que el banner tape contenido en pantallas pequeñas */
@media (max-width: 576px) {
    .cookie-banner {
        font-size: 0.9rem;
        padding: 0.75rem;
    }
}

/* ===== FORMULARIOS ===== */

input,
textarea {
    border-radius: 0.5rem !important;
}

/* ===== BOTONES ===== */

.btn {
    border-radius: 0.5rem;
}

/* ===== UTILIDADES ===== */

img {
    max-width: 100%;
    height: auto;
}

.content-section {
    padding: 1.5rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    margin-bottom: 2rem;
}

.content-section h2 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.content-section p {
    margin-bottom: 1rem;
}

.content-section ul {
    margin-bottom: 0;
    padding-left: 1.25rem;
}

.content-section li {
    margin-bottom: 0.4rem;
}

.about-wide-image {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
}

.content-block p,
.legal-content p,
.service-content-block p,
.service-highlights-block p {
    margin-bottom: 1rem;
}

.content-block ul,
.legal-content ul,
.service-content-block ul,
.service-highlights-block ul {
    margin-bottom: 1rem;
    padding-left: 1.25rem;
}

.content-block li,
.legal-content li,
.service-content-block li,
.service-highlights-block li {
    margin-bottom: 0.4rem;
}

.service-content-block,
.service-highlights-block {
    padding: 1.5rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.service-highlights-block h2 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}


/* ===== FOOTER ===== */

.footer {
    font-size: 0.95rem;
}

.footer-company {
    color: #111827;
    font-weight: 500;
}

.footer-links {
    line-height: 1.9;
}

.footer-separator {
    color: #9ca3af;
    margin: 0 0.35rem;
}

.footer a {
    color: #374151;
    text-decoration: none;
    position: relative;
    transition: color 0.2s ease;
}

.footer a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 1px;
    background: #2563eb;
    transition: width 0.2s ease;
}

.footer a:hover {
    color: #2563eb;
}

.footer a:hover::after {
    width: 100%;
}

.footer a:focus {
    outline: none;
    color: #2563eb;
}

.footer a:active {
    opacity: 0.7;
}

.btn-link-custom {
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    color: #374151;
    cursor: pointer;
    position: relative;
    transition: color 0.2s ease;
}

.btn-link-custom::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 1px;
    background: #2563eb;
    transition: width 0.2s ease;
}

.btn-link-custom:hover {
    color: #2563eb;
}

    .btn-link-custom:hover::after {
        width: 100%;
    }

.btn-link-custom:focus {
    outline: none;
    color: #2563eb;
}

.btn-link-custom:active {
    opacity: 0.7;
}

.footer-contact-center {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem 2rem;
}

.footer-contact-item {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: #374151;
    text-decoration: none;
}

.footer-contact-item::after {
    display: none;
}

.footer-contact-item:hover {
    color: #2563eb;
}

.footer-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.1rem;
    height: 1.1rem;
    color: #2563eb;
    flex: 0 0 auto;
}

.footer-icon svg {
    width: 100%;
    height: 100%;
}

.footer-kitdigital {
    text-align: center;
}

.footer-kitdigital a::after {
    display: none;
}

.footer-kitdigital-banner {
    max-height: 86px;
    width: auto;
}

@media (max-width: 767.98px) {
    .footer-links {
        text-align: left;
    }

    .footer-contact-center {
        justify-content: flex-start;
    }
}

.navbar-logo {
    height: 42px; 
    width: auto; 
    object-fit: contain;
}

@media (max-width: 576px) {
    .navbar-logo {
        height: 36px;
    }
}
