/* ===========================
   RESET
=========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:Arial, Helvetica, sans-serif;
    background:#f4f7fb;
    color:#333;
    line-height:1.8;
}

/* ===========================
   CONTENEDOR
=========================== */

.container{
    width:90%;
    max-width:1200px;
    margin:auto;
}

/* ===========================
   ENCABEZADO PRINCIPAL
=========================== */

header{
    background:linear-gradient(135deg,#14213d,#1d3557);
    color:white;
    text-align:center;
    padding:80px 20px;
}

header h1{
    font-size:46px;
    margin-bottom:20px;
}

header p{
    max-width:750px;
    margin:auto;
    font-size:18px;
}

/* Encabezado páginas internas */

.page-header{

    background:linear-gradient(135deg,#14213d,#274472);

    padding:60px 20px;

}

.page-header h1{

    font-size:40px;

}

/* ===========================
   BOTONES
=========================== */

.btn{

    display:inline-block;

    margin-top:30px;

    padding:14px 30px;

    background:#0d6efd;

    color:#fff;

    text-decoration:none;

    border-radius:8px;

    transition:.3s;

    font-weight:bold;

}

.btn:hover{

    background:#0b5ed7;

    transform:translateY(-2px);

}

/* ===========================
   MENÚ
=========================== */

nav{

    background:#ffffff;

    position:sticky;

    top:0;

    z-index:999;

    box-shadow:0 2px 10px rgba(0,0,0,.08);

}

nav ul{

    display:flex;

    justify-content:center;

    list-style:none;

    flex-wrap:wrap;

}

nav li{

    margin:0 10px;

}

nav a{

    display:block;

    padding:18px 10px;

    color:#1d3557;

    text-decoration:none;

    font-weight:bold;

    transition:.3s;

}

nav a:hover{

    color:#0d6efd;

}

/* ===========================
   SECCIONES
=========================== */

section{

    padding:70px 0;

}

section:nth-child(even){

    background:white;

}

section h2{

    color:#14213d;

    font-size:34px;

    margin-bottom:25px;

}

section h3{

    margin-top:25px;

    margin-bottom:12px;

    color:#1d3557;

}

section p{

    margin-bottom:20px;

    text-align:justify;

}

/* ===========================
   GRID
=========================== */

.grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));

    gap:30px;

    margin-top:40px;

}

/* ===========================
   TARJETAS
=========================== */

.card{

    background:white;

    border-radius:12px;

    padding:30px;

    box-shadow:0 8px 25px rgba(0,0,0,.08);

    transition:.3s;

}

.card:hover{

    transform:translateY(-8px);

    box-shadow:0 15px 35px rgba(0,0,0,.12);

}

.card h3{

    margin-top:0;

    color:#14213d;

}

.card a{

    display:inline-block;

    margin-top:15px;

    text-decoration:none;

    color:#0d6efd;

    font-weight:bold;

}

.card a:hover{

    text-decoration:underline;

}

/* ===========================
   LISTAS
=========================== */

ul{

    margin-left:25px;

    margin-bottom:25px;

}

ol{

    margin-left:25px;

    margin-bottom:25px;

}

li{

    margin-bottom:12px;

}

/* ===========================
   TABLAS
=========================== */

table{

    width:100%;

    border-collapse:collapse;

    margin-top:30px;

}

table th{

    background:#14213d;

    color:white;

    padding:15px;

}

table td{

    border:1px solid #ddd;

    padding:15px;

}

table tr:nth-child(even){

    background:#f8f8f8;

}

/* ===========================
   FAQ
=========================== */

.faq{

    margin-top:30px;

}

.faq h3{

    background:#14213d;

    color:white;

    padding:15px;

    border-radius:6px;

    margin-top:25px;

}

.faq p{

    background:white;

    padding:20px;

    border-left:5px solid #0d6efd;

    margin-bottom:20px;

    box-shadow:0 3px 10px rgba(0,0,0,.05);

}

/* ===========================
   CTA
=========================== */

.cta{

    background:#14213d;

    color:white;

    text-align:center;

}

.cta h2{

    color:white;

}

.cta p{

    text-align:center;

    max-width:800px;

    margin:auto;

}

/* ===========================
   FOOTER
=========================== */

footer{

    background:#111827;

    color:#d1d5db;

    text-align:center;

    padding:45px 20px;

}

footer p{

    margin-bottom:15px;

}

/* ===========================
   ENLACES
=========================== */

a{

    transition:.3s;

}

/* ===========================
   IMÁGENES
=========================== */

img{

    max-width:100%;

    display:block;

    border-radius:10px;

}

/* ===========================
   RESPONSIVE
=========================== */

@media(max-width:900px){

header h1{

    font-size:36px;

}

.page-header h1{

    font-size:34px;

}

section h2{

    font-size:30px;

}

}

@media(max-width:768px){

nav ul{

    flex-direction:column;

}

nav li{

    margin:0;

}

nav a{

    border-bottom:1px solid #eee;

    text-align:center;

}

header{

    padding:60px 20px;

}

header h1{

    font-size:30px;

}

header p{

    font-size:16px;

}

section{

    padding:50px 0;

}

section h2{

    font-size:28px;

}

.grid{

    grid-template-columns:1fr;

}

.card{

    padding:25px;

}

}

@media(max-width:480px){

header h1{

    font-size:26px;

}

.page-header h1{

    font-size:28px;

}

section h2{

    font-size:24px;

}

.btn{

    width:100%;

    text-align:center;

}

table{

    display:block;

    overflow-x:auto;

}

}

/* ==========================
   AVISO LEGAL
========================== */

.disclaimer{

background:#fff8e6;

border-top:5px solid #f4b400;

border-bottom:5px solid #f4b400;

padding:40px 0;

}

.disclaimer h2{

color:#8a5b00;

margin-bottom:15px;

}

.disclaimer p{

color:#555;

}

.legal-notice{

background:#1f2937;

padding:25px;

border-radius:10px;

margin-bottom:30px;

}

.legal-notice strong{

display:block;

font-size:20px;

margin-bottom:15px;

color:#fff;

}

.legal-notice p{

color:#d1d5db;

margin:0;

}

.nota-final{

background:#eef6ff;

border-left:5px solid #0d6efd;

padding:40px 0;

}

.site-badge{

display:inline-block;

margin-top:20px;

padding:8px 18px;

background:#ffffff22;

border:1px solid #ffffff55;

border-radius:30px;

font-size:14px;

font-weight:bold;

color:#fff;

}