*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family: Times New Roman;
}

body{
    background:#f4f4f4;
    color:#333;
}

/* ENCABEZADO */

header{
    background:#6d071a;
    color:white;
    padding:25px;
    text-align:center;
    border-bottom:6px solid #d4af37;
}

header h1{
    margin-bottom:20px;
    font-size:32px;
}

/* MENU */

nav ul{
    list-style:none;
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:15px;
}

nav ul li a{
    text-decoration:none;
    color:white;
    background:#444;
    padding:12px 20px;
    border-radius:8px;
    transition:0.3s;
    font-weight:bold;
}

nav ul li a:hover{
    background:#d4af37;
    color:black;
}

/* INTRO */

.intro{
    width:90%;
    margin:40px auto;
    background:white;
    padding:30px;
    border-left:10px solid #6d071a;
    border-radius:10px;
}

.intro h2{
    color:#6d071a;
    margin-bottom:15px;
}

/* SECCIONES */

.categoria{
    width:90%;
    margin:40px auto;
}

.categoria h2{
    background:#6d071a;
    color:white;
    padding:15px;
    border-radius:10px;
    margin-bottom:25px;
    border-left:8px solid #d4af37;
}

/* TARJETAS */

.tarjeta{
    background:white;
    padding:25px;
    margin-bottom:25px;
    border-radius:12px;
    box-shadow:0px 4px 10px rgba(0,0,0,0.2);
    transition:0.3s;
}

.tarjeta:hover{
    transform:scale(1.01);
}

.tarjeta h3{
    color:#6d071a;
    margin-bottom:15px;
    font-size:25px;
}

.tarjeta h4{
    color:#d4af37;
    margin-top:15px;
    margin-bottom:10px;
}

.tarjeta p{
    text-align:justify;
    line-height:1.8;
}

/* FORMULARIO */

.formulario{
    width:90%;
    margin:40px auto;
    background:white;
    padding:30px;
    border-radius:12px;
}

.formulario h2{
    color:#6d071a;
    margin-bottom:20px;
}

form{
    display:flex;
    flex-direction:column;
}

label{
    margin-top:15px;
    margin-bottom:10px;
    font-weight:bold;
}

select,
textarea{
    padding:12px;
    border:2px solid #999;
    border-radius:8px;
    font-size:16px;
}

button{
    margin-top:20px;
    padding:15px;
    background:#6d071a;
    color:white;
    border:none;
    border-radius:8px;
    font-size:16px;
    cursor:pointer;
    transition:0.3s;
}

button:hover{
    background:#d4af37;
    color:black;
}

/* FOOTER */

footer{
    background:#333;
    color:white;
    text-align:center;
    padding:30px;
    margin-top:40px;
}

footer h3{
    color:#d4af37;
    margin-bottom:15px;
}

footer p{
    margin:8px 0;
}

.copy{
    margin-top:20px;
    color:#ccc;
}