/* --- Estilos del Banner de Contacto --- */
.contact-intro-banner {
    background-color: #00264e;
    color: #ffffff;
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}
.contact-banner-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.contact-banner-text {
    flex: 1;
    z-index: 2;
}
.banner-title {
    font-size: 3.5rem; 
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: -1px;
    color: #ffffff;
}
.banner-subtext {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 5px;
}
.banner-description {
    font-size: 1.1rem;
    opacity: 0.9; 
    font-weight: 300;
}
.contact-banner-icon {
    flex: 0 0 200px;
    display: flex;
    justify-content: flex-end;
}
.decorative-box {
    width: 150px;
    height: auto;
    opacity: 0.2; 
    filter: brightness(0) invert(1);
}
@media (max-width: 768px) {
    .contact-banner-container {
        flex-direction: column;
        text-align: center;
    }
    .banner-title {
        font-size: 2.5rem;
    }
    .contact-banner-icon {
        margin-top: 30px;
        justify-content: center;
        opacity: 0.1;
    }
}
.contact-details-section {
    background-color: #f4f7f9;
    padding: 60px 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.contact-grid-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr; 
    gap: 30px;
}
.info-card, .form-card {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.info-card {
    border-top: 5px solid #d93025; 
}
.card-title, .form-title {
    font-size: 1.8rem;
    color: #1a1a1a;
    margin-bottom: 10px;
}
.card-subtitle, .form-subtitle {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 30px;
    line-height: 1.4;
}
.info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}
.icon-box {
    width: 40px;
    height: 40px;
    background: #eef2ff;
    color: #00264e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.info-text strong {
    display: block;
    color: #333;
    margin-bottom: 5px;
}
.info-text p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

.info-text a {
    color: #666;
}
.divider {
    border: 0;
    border-top: 1px solid #eee;
    margin: 30px 0;
}
.schedule-title {
    font-size: 0.85rem;
    letter-spacing: 1px;
    color: #888;
    margin-bottom: 15px;
}
.schedule-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    margin-bottom: 8px;
    color: #444;
}
.form-row {
    display: flex;
    gap: 20px;
}
.form-group {
    margin-bottom: 20px;
    width: 100%;
}
.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: #333;
    margin-bottom: 8px;
}
input, select, textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.95rem;
    background: #fdfdfd;
}
textarea {
    height: 120px;
    resize: none;
}
.phone-input {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
}
.flag {
    padding: 0 15px;
    background: #f8f8f8;
    border-right: 1px solid #ddd;
    color: #777;
    font-size: 0.8rem;
}
.phone-input input {
    border: none;
}
.submit-btn {
    width: 100%;
    background-color: #00264e;
    color: white;
    padding: 15px;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background 0.3s;
}
.submit-btn:hover {
    background-color: #001f5c;
}
@media (max-width: 900px) {
    .contact-grid-container {
        grid-template-columns: 1fr;
    }
    .form-row {
        flex-direction: column;
        gap: 0;
    }
}
/* --- Estilos de la Sección de Ubicación --- */
.location-section {
    background-color: #f4f7f9; /* Gris claro de fondo */
    padding: 60px 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.location-container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.location-header {
    padding: 20px 30px;
    border-bottom: 1px solid #eee;
}
.header-content {
    display: flex;
    align-items: center;
    gap: 15px;
}
.map-title-icon {
    color: #d81b35; 
    font-size: 1.5rem;
}
.location-title {
    font-size: 1.25rem;
    color: #333;
    margin: 0;
    font-weight: 700;
}
.map-wrapper {
    position: relative;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.map-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.map-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(0.2) opacity(0.6); 
}
.location-overlay-card {
    position: relative;
    z-index: 2;
    background: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    width: 280px;
}
.pin-icon {
    color: #d81b35;
    font-size: 2.5rem;
    margin-bottom: 15px;
}
.company-name {
    font-size: 1.1rem;
    color: #1a1a1a;
    margin: 0 0 5px 0;
    font-weight: 800;
}
.location-label {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 20px;
}
.btn-google-maps {
    display: inline-block;
    background-color: #002e86;
    color: white;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: background 0.3s;
}
.btn-google-maps:hover {
    background-color: #001f5c;
}
@media (max-width: 768px) {
    .map-wrapper {
        height: 400px;
    }
    .location-overlay-card {
        width: 80%;
        max-width: 280px;
        padding: 20px;
    }
}

.info-card {
  overflow: hidden;
}

.info-carousel {
  width: 100%;
}

.info-sede {
  padding-right: 5px;
}

.sede-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 25px;
}

.locations {
  padding: 80px 20px;
  background: linear-gradient(180deg, #f5f7fa, #ffffff);
  font-family: 'Segoe UI', system-ui, sans-serif;
}

.locations-container {
  max-width: 1200px;
  margin: auto;
}

/* HEADER */
.locations-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}

.locations-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #eef2ff;
  color: #002e86;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.locations-header h2 {
  font-size: 2rem;
  margin: 15px 0 10px;
  color: #1a1a1a;
}

.locations-header p {
  color: #666;
  font-size: 1rem;
}

/* CONTENT */
.locations-content {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: center;
}

/* MAP */
.locations-map {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  height: 420px;
}

.locations-map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.map-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,46,134,.65), rgba(0,0,0,.3));
}

/* CAROUSEL */
.locations-carousel {
  max-width: 360px;
}

.location-card {
  background: white;
  padding: 30px;
  border-radius: 18px;
  box-shadow: inset 0px 1px 40px rgba(0, 0, 0, .15);
  text-align: center;
}

.location-icon {
  width: 60px;
  height: 60px;
  background: #00264e;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  font-size: 1.4rem;
}

.location-card h3 {
  margin: 10px 0;
  font-size: 1.1rem;
  font-weight: 700;
}

.location-card p {
  font-size: .95rem;
  color: #555;
  margin-bottom: 20px;
}

.location-card a {
  display: inline-block;
  color: #002e86;
  font-weight: 600;
  text-decoration: none;
}

.location-card a:hover {
  text-decoration: underline;
}

/* DOTS */
.locations-carousel .owl-dots {
  margin-top: 20px;
  text-align: center;
}

.locations-carousel .owl-dot span {
  width: 8px;
  height: 8px;
  background: #ccc;
  border-radius: 50%;
}

.locations-carousel .owl-dot.active span {
  background: #002e86;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .locations-content {
    grid-template-columns: 1fr;
  }
  .locations-carousel {
    margin: auto;
  }
}
