* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}
 
body {
    background-color: #0a0a0f;
}
 
.fish {
    color: #1a8cff;
}

.contenidog {
    padding-top: 40px;
    padding-bottom: 100px;
    min-height: 100vh;
    padding-left: 20px;
    padding-right: 20px;
}
 
.garantia-inner {
    max-width: 800px;
    margin: 0 auto;
}
 
.titulog {
    color: #f0f4ff;
    font-size: 60px;
    font-family: "Bricolage Grotesque", sans-serif;
    text-align: center;
    margin-bottom: 10px;
}

.titulog span {
    display: inline-block;
}
 
.fechag {
    color: #f0f4ff;
    font-size: 16px;
    font-family: "Bricolage Grotesque", sans-serif;
    text-align: center;
    margin-bottom: 60px;
}
 
.secciong {
    background-color: #1d1d1f;
    border-radius: 15px;
    border: 1px solid #1a8cff;
    padding: 30px 36px;
    margin-bottom: 24px;
    color: #f0f4ff;
    font-family: "Bricolage Grotesque", sans-serif;
}
 
.secciong h2 {
    font-size: 22px;
    margin-bottom: 14px;
    color: #1a8cff;
}
 
.secciong p {
    font-size: 16px;
    line-height: 1.7;
    opacity: 0.85;
}
 
.secciong ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 4px;
}
 
.secciong ul li {
    font-size: 16px;
    line-height: 1.6;
    opacity: 0.85;
    padding-left: 20px;
    position: relative;
}
 
.secciong ul li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: #1a8cff;
    font-weight: 700;
}
 
.volver {
    display: inline-block;
    color: #f0f4ff;
    font-size: 18px;
    font-family: "Bricolage Grotesque", sans-serif;
    padding: 10px 20px;
    background-color: #1a8cff;
    border: 1px solid #1a8cff;
    border-radius: 10px;
    cursor: pointer;
    text-decoration: none;
    margin-bottom: 40px;
}
 
.volver:active {
    background-color: #105294;
    border-color: #105294;
}

/*Estilo para el Footer*/
.contacto p{
    color: #f0f4ff;
    font-family: "Bricolage Grotesque", sans-serif;
    padding-top: 50px;
}

footer {
    background-color: #0a0a0f;
    padding: 20px 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top: 1px solid #1a8cff;
}

.derechosf {
    color: rgba(255,255,255,0.4);
    font-size: 14px;
    font-family: "Bricolage Grotesque", sans-serif;
}

.contactof {
    display: flex;
    gap: 24px;
    align-items: center;
}

.linkf {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    font-family: "Bricolage Grotesque", sans-serif;
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.linkf i {
    font-size: 16px;
    color: #1a8cff;
}

.linkf:hover {
    color: #1a8cff;
}

/* ================================================
   BOTÓN DE TEMA FLOTANTE (FIJO)
   ================================================ */
#btn-tema {
    position: fixed;
    top: 20px;
    right: 40px;
    background: transparent;
    border: 1px solid rgba(26, 140, 255, 0.4);
    border-radius: 12px;
    color: #1a8cff;
    font-size: 18px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(26, 140, 255, 0.15);
    z-index: 1000; /* Para que quede siempre por encima del contenido */
}

#btn-tema:hover {
    background-color: #1a8cff;
    border-color: #1a8cff;
    color: #ffffff;
    box-shadow: 0 0 18px rgba(26, 140, 255, 0.5);
    transform: scale(1.08);
}

#btn-tema:active {
    background-color: #105294;
    border-color: #105294;
    transform: scale(0.97);
}

/* ================================================
   TRANSICIÓN SUAVE DE TEMA
   ================================================ */
.theme-transition,
.theme-transition *,
.theme-transition *::before,
.theme-transition *::after {
    transition: background-color 0.5s ease, background 0.5s ease, color 0.5s ease, border-color 0.5s ease !important;
}

/* ================================================
   MODO CLARO — se activa con body.light-mode
   ================================================ */
body.light-mode {
    background-color: #f0f4ff;
}

body.light-mode .titulog,
body.light-mode .fechag {
    color: #1a1a2e;
}

body.light-mode .secciong {
    background-color: #ffffff;
    color: #1a1a2e;
    border-color: #1a8cff;
}

body.light-mode .volver {
    color: #ffffff;
    background-color: #1a8cff;
}

body.light-mode .volver:active {
    background-color: #105294;
    border-color: #105294;
}

body.light-mode footer {
    background-color: #ffffff;
    border-top-color: #1a8cff;
}

body.light-mode .derechosf {
    color: rgba(26, 26, 46, 0.5);
}

body.light-mode #btn-tema {
    background-color: #ffffff !important;
    color: #1a8cff !important;
    border-color: rgba(26, 140, 255, 0.4) !important;
}

body.light-mode #btn-tema:hover {
    background-color: #1a8cff !important;
    color: #ffffff !important;
}

/* ==============================================
   DISEÑO RESPONSIVO (MÓVILES)
   ============================================== */
@media (max-width: 768px) {
    /* 1. Achicamos el título gigante y la fecha */
    .titulog { 
        font-size: 34px !important; 
        line-height: 1.2;
        margin-bottom: 8px !important;
    }
    
    .fechag { 
        margin-bottom: 30px !important; 
        font-size: 14px !important;
    }

    /* 2. Ajustamos el botón flotante de tema para que no sature la pantalla */
    #btn-tema {
        top: 15px !important;
        left: 15px !important;
        width: 36px !important;
        height: 36px !important;
        font-size: 16px !important;
        background-color: #0a0a0f;
    }

    /* 3. Centramos y acomodamos el botón "Volver al inicio" para el dedo */
    .volver {
        display: block !important;
        width: 100% !important;
        max-width: 200px !important;
        margin: 0 auto 30px auto !important; /* Centrado absoluto */
        text-align: center !important;
        font-size: 15px !important;
        padding: 10px !important;
    }

    /* 4. Optimizamos el contenedor principal y las secciones */
    .contenidog {
        padding-top: 85px !important; /* Margen superior para que el botón de la lunita no tape el título */
        padding-bottom: 40px !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
     
    .secciong {
        padding: 20px 22px !important; /* Reducimos el padding para ganar espacio en los bordes */
        margin-bottom: 16px !important;
        border-radius: 12px !important;
    }
     
    .secciong h2 {
        font-size: 19px !important;
        margin-bottom: 10px !important;
    }
     
    .secciong p, 
    .secciong ul li {
        font-size: 14px !important;
        line-height: 1.6 !important;
    }

    /* 5. Ajustamos el footer en celulares */
    footer {
        padding: 20px !important;
        text-align: center !important;
    }
}