*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    navy:   #1a2755;
    gold:   #F5C842;
    border: #d9dde8;
    muted:  #6b7280;
    radius: 10px;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #fff;
    color: #1a2755;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ── NAVBAR ── */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #ffffff;
    height: 75px;
    padding: 0 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.logo-wrap img { height: 48px; display: block; }
.navbar-links { display: flex; list-style: none; gap: 35px; align-items: center; }
.navbar-links a {
    font-weight: 700; 
    color: #1a2755;
    font-size: 0.95rem;
    font-family: 'Poppins', sans-serif;
    text-decoration: none; 
}
.btn-nav-contactar {
    background: #F5C842;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 700 !important;
    color: #1a2755 !important;
}

/* ── MAIN ── */
main {
    flex: 1;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 60px 5% 80px;
}

.contact-wrapper {
    width: 100%;
    max-width: 900px;
}

/* ── HEADING ── */
.contact-title {
    font-size: clamp(2.4rem, 6vw, 3.6rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -1px;
    color: #1a2755;
    line-height: 1;
    margin-bottom: 14px;
}
.contact-subtitle {
    font-size: .95rem;
    color: #6b7280;
    margin-bottom: 40px;
    max-width: 620px;
    line-height: 1.6;
}

/* ── MENSAJES DE ESTADO ── */
.form-msg {
    display: none;
    padding: 14px 18px;
    border-radius: 10px;
    font-size: .9rem;
    font-weight: 500;
    margin-bottom: 24px;
}
.form-msg.success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}
.form-msg.error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}
.form-msg.error a {
    color: #991b1b;
    font-weight: 600;
}

/* ── FORMULARIO ── */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.field label {
    font-size: .85rem;
    font-weight: 600;
    color: #1a2755;
}

.field input,
.field textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid #d9dde8;
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: .9rem;
    color: #1a2755;
    background: #fff;
    transition: border-color .2s, box-shadow .2s;
    outline: none;
    resize: vertical;
}
.field input::placeholder,
.field textarea::placeholder {
    color: #b0b7c9;
}
.field input:focus,
.field textarea:focus {
    border-color: #1a2755;
    box-shadow: 0 0 0 3px rgba(26,39,85,.1);
}
.field textarea {
    min-height: 140px;
}

/* ── BOTÓN ── */
.btn-submit {
    width: 100%;
    padding: 17px;
    background: #1a2755;
    color: #fff;
    border: none;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    letter-spacing: .5px;
    transition: background .25s, transform .15s;
}
.btn-submit:hover {
    background: #0f1f4b;
    transform: translateY(-1px);
}
.btn-submit:active { transform: translateY(0); }

/* ── FOOTER ── */
footer {
    background: #1a2755;
    color: #fff;
    padding: 50px 5% 30px;
}

.footer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 40px;
}

.footer-logo img {
    height: 50px;
}

.footer-tagline {
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-cols {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #fff;
    font-family: , sans-serif;
}

/* Aplicamos text-decoration: none !important para quitar cualquier línea */
.footer-col p, 
.footer-col li, 
.footer-col a {
    font-size: 0.85rem;
    color: #fff;
    list-style: none;
    margin-bottom: 6px;
    opacity: 0.9;
    text-decoration: none !important; 
}

.footer-col a:hover {
    color: #F5C842;
    text-decoration: none !important;
}

.contact-highlight {
    font-weight: 600;
    font-size: 0.9rem !important;
}

.address-block {
    margin-top: 15px;
}

.footer-mapa-grid {
    display: flex;
    gap: 40px;
}

.map-group h5 {
    font-size: 0.9rem;
    margin-bottom: 10px;
    color: #fff;
}

.no-title {
    padding-top: 25px;
}

.social-links-container {
    margin-top: 30px;
}

.social-icons {
    display: flex;
    gap: 20px;
    margin-top: 10px;
    align-items: center;
}

.social-icons a {
    font-size: 1.4rem;
    color: #fff;
    transition: color 0.3s;
    text-decoration: none !important;
}

.social-icons a:hover {
    color: #F5C842;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}
/* ── RESPONSIVE ── */
@media (max-width: 640px) {
    .form-row { grid-template-columns: 1fr; }
    .footer-cols { flex-direction: column; }
    .footer-col.contact-info,
    .footer-col.client-social { flex: unset; width: 100%; }
    .footer-mapa-grid { flex-wrap: wrap; gap: 24px; }
}