/* Configuración básica */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
}

body {
    background-color: #d1d5db;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

/* Simulación de Marco de Tableta */
.tablet-frame {
    background-color: #ffffff;
    border-radius: 24px;
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 950px;
    padding: 15px;
    border: 12px solid #e5e7eb;
}

.tablet-screen {
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
}

/* 1. Barra de Navegación Superior */
.top-bar {
    background-color: #0d2847;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 25px;
    color: white;
}

.menu-icon {
    display: flex;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.menu-icon span {
    width: 22px;
    height: 3px;
    background-color: white;
    border-radius: 2px;
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a {
    color: #d1d5db;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.nav-links a:hover,
.nav-links a.active {
    color: #ffffff;
    font-weight: bold;
}

/* Contenido Principal (Inicio) */
.content {
    padding: 25px;
}

.header-section {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.logo-container {
    width: 90px;
    height: 90px;
    background-color: #ffffff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.logo-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.title-container h1 {
    font-size: 26px;
    color: #111827;
    margin-bottom: 4px;
}

.title-container h2 {
    font-size: 15px;
    color: #4b5563;
    font-weight: normal;
}

.main-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.poster-card, .trucks-image-container, .about-us-section {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.poster-card img, .trucks-image-container img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    display: block;
}

.about-us-section h3 {
    font-size: 18px;
    color: #111827;
    margin-bottom: 8px;
}

.about-us-section p {
    font-size: 13px;
    color: #4b5563;
    line-height: 1.5;
}


/* --- ESTILOS PÁGINA NOSOTROS (3 TARJETAS) --- */
.about-page-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 15px 40px;
}

.about-page-title {
    text-align: center;
    color: #1a2b4c;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    width: 100%;
    max-width: 950px;
}

.info-card {
    background-color: #f7f7f7;
    border: 1.5px solid #333333;
    border-radius: 4px;
    position: relative;
    padding: 30px 15px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.card-wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    pointer-events: none;
}

.card-wave svg {
    height: 100%;
    width: 100%;
}

.wave-blue svg path { fill: #3a648b; }
.wave-yellow svg path { fill: #f0d079; }
.wave-red svg path { fill: #a33b38; }

.card-icon {
    position: relative;
    z-index: 2;
    font-size: 2.2rem;
    margin-top: 10px;
    margin-bottom: 10px;
}

.card-blue .card-icon { color: #1a2b4c; }
.card-yellow .card-icon { color: #cca028; }
.card-red .card-icon { color: #8c1e1a; }

.info-card h2 {
    position: relative;
    z-index: 2;
    color: #1a2b4c;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.2;
}

.info-card p {
    position: relative;
    z-index: 2;
    color: #111111;
    font-size: 0.78rem;
    line-height: 1.35;
    font-weight: 600;
}

/* --- ESTILOS DE LA PÁGINA CONTACTO --- */
.contact-page {
    padding: 15px 25px 25px;
}

.contact-title {
    text-align: center;
    color: #1a2b4c;
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.contact-top-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
    align-items: start;
}

.contact-info-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px 10px;
}

.info-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-icon {
    font-size: 1.4rem;
    color: #8c1e1a;
    width: 25px;
    text-align: center;
}

.info-row div {
    display: flex;
    flex-direction: column;
}

.info-row strong {
    font-size: 0.82rem;
    color: #1a2b4c;
}

.info-row span {
    font-size: 0.8rem;
    color: #333;
    font-weight: 600;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #1a2b4c;
    margin-bottom: 4px;
    text-align: center;
}

.pill-input {
    background-color: #8c3b38;
    color: #ffffff;
    border: none;
    border-radius: 20px;
    padding: 8px 15px;
    font-size: 0.85rem;
    outline: none;
}

.pill-input::placeholder {
    color: #e0d0d0;
}

.box-input {
    background-color: #8c3b38;
    color: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 10px 15px;
    font-size: 0.85rem;
    resize: none;
    outline: none;
}

.box-input::placeholder {
    color: #e0d0d0;
}

.map-container {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border: 1px solid #ccc;
}

