* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f4f6f8;
    color: #222;
}

.navbar {
    background-color: #ff8605;
    color: white;
    padding: 20px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar h1 {
    font-size: 25px;
}

.menu {
    display: flex;
    gap: 25px;
}

.menu a {
    color: white;
    text-decoration: none;
    font-size: 16px;
}

.menu a:hover {
    color: #c38d0f;
}

.hero {
    min-height: 450px;
    background: linear-gradient(
        rgba(205, 101, 10, 0.85),
        rgba(84, 45, 10, 0.85)
    ),
    url("../imagenes/envios.jpg");

    background-size: cover;
    background-position: center;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;
    color: white;
    padding: 40px;
}

.hero-text {
    max-width: 700px;
}

.hero h2 {
    font-size: 45px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
}

.botones {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    background-color: #c06d0f;
    color: white;
    border: none;
    padding: 12px 22px;
    border-radius: 6px;
    text-decoration: none;
    cursor: pointer;
    display: inline-block;
}

.btn:hover {
    background-color: #985508;
}

.btn-secundario {
    background-color: white;
    color: #b87011;
}

.contenedor {
    width: 90%;
    max-width: 1100px;
    margin: 50px auto;
}

.contenedor > h2 {
    text-align: center;
    margin-bottom: 30px;
}

.tarjetas {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.tarjeta {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.tarjeta h3 {
    margin-bottom: 15px;
    color: #ee8413;
}

.informacion {
    text-align: center;
}

.entregas {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.entregas div {
    background-color: white;
    padding: 25px;
    border-radius: 10px;
}

.formulario,
.seguimiento {
    background-color: white;
    padding: 35px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.formulario h2,
.seguimiento h2 {
    margin-bottom: 25px;
    color: #e3650b;
}

.formulario h3 {
    margin-top: 25px;
    margin-bottom: 15px;
    color: #d59311;
}

.formulario label {
    display: block;
    margin-top: 15px;
    margin-bottom: 6px;
}

.formulario input,
.formulario select,
.busqueda input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
}

.formulario button {
    margin-top: 25px;
}

.resultado {
    margin-top: 25px;
}

.busqueda {
    display: flex;
    gap: 10px;
    margin-top: 25px;
}

.busqueda input {
    flex: 1;
}

.datos-envio {
    margin-top: 30px;
    background-color: #f4f6f8;
    padding: 25px;
    border-radius: 8px;
}

.datos-envio p {
    margin: 10px 0;
}

.historial {
    margin-top: 25px;
}

.estado {
    background-color: white;
    border-left: 5px solid #d68306;
    padding: 15px;
    margin-top: 10px;
}

footer {
    background-color: #ff8605;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 50px;
}

@media (max-width: 768px) {

    .navbar {
        flex-direction: column;
        gap: 15px;
    }

    .menu {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .hero h2 {
        font-size: 32px;
    }

    .tarjetas {
        grid-template-columns: 1fr;
    }

    .entregas {
        grid-template-columns: 1fr;
    }

    .busqueda {
        flex-direction: column;
    }

}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.log {
    display: flex;
    align-items: center;
    gap: 12px;
}

.log img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.log h1 {
    margin: 0;
    font-size: 24px;
    color: white;
}