
    /* Estilos personalizados para la página de contacto */
    body {
      background: linear-gradient(135deg, #f0f4fa 0%, #e3eaf3 100%);
    }
    
    .contact-page .main {
      background: transparent;
    }
    
    /* Page Title mejorado */
    .page-title {
      background: linear-gradient(135deg, #0a1a3a 0%, #0d2a5a 100%);
      padding: 60px 0 40px;
      position: relative;
      overflow: hidden;
    }
    
    .page-title::before {
      content: '';
      position: absolute;
      top: -50%;
      left: -50%;
      width: 200%;
      height: 200%;
      background: radial-gradient(ellipse at center, rgba(13, 110, 253, 0.15) 0%, transparent 60%);
      animation: none;
    }
    
    @keyframes pulse-bg {
      0%, 100% { transform: scale(1); opacity: 0.5; }
      50% { transform: scale(1.1); opacity: 1; }
    }
    
    .page-title h1 {
      font-size: 2.5rem;
      font-weight: 700;
      color: #ffffff;
      font-family: 'Poppins', sans-serif;
      position: relative;
      z-index: 1;
      text-align: center;
    }
    
    /* Breadcrumb corregido y centrado */
    .breadcrumbs {
      position: relative;
      z-index: 1;
      text-align: center;
      margin-bottom: 20px;
    }
    
    .breadcrumbs ol {
      background: rgba(255,255,255,0.1);
      display: inline-flex;
      padding: 8px 20px;
      border-radius: 50px;
      margin: 0 auto;
      list-style: none;
      align-items: center;
      justify-content: center;
    }
    
    .breadcrumbs li {
      display: inline-flex;
      align-items: center;
      color: rgba(255,255,255,0.7);
    }
    
    .breadcrumbs li + li:before {
      content: "/";
      margin: 0 8px;
      color: rgba(255,255,255,0.5);
    }
    
    .breadcrumbs li a {
      color: rgba(255,255,255,0.7);
      text-decoration: none;
      transition: color 0.3s ease;
    }
    
    .breadcrumbs li a:hover {
      color: #ffffff;
    }
    
    .breadcrumbs .current {
      color: #ffffff;
    }
    
    /* Info Items - Tarjetas de contacto */
    .info-item {
      background: white;
      border-radius: 20px;
      padding: 35px 25px;
      text-align: center;
      transition: all 0.3s ease;
      box-shadow: 0 10px 30px rgba(0,0,0,0.08);
      border: 1px solid rgba(13, 110, 253, 0.1);
      height: 100%;
    }
    
    .info-item:hover {
      transform: translateY(-8px);
      box-shadow: 0 20px 40px rgba(13, 110, 253, 0.15);
      border-color: rgba(13, 110, 253, 0.3);
    }
    
    .info-item .icon-wrapper {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 70px;
      height: 70px;
      background: linear-gradient(135deg, #e8f0fe, #dce6f5);
      border-radius: 50%;
      margin-bottom: 20px;
      transition: all 0.3s ease;
    }
    
    .info-item:hover .icon-wrapper {
      background: linear-gradient(135deg, #0d6efd, #0a58ca);
      transform: scale(1.05);
    }
    
    .info-item i {
      font-size: 2rem;
      color: #0d6efd;
      transition: all 0.3s ease;
      display: block;
      line-height: 1;
    }
    
    .info-item:hover i {
      color: white;
    }
    
    .info-item h3 {
      font-size: 1.2rem;
      font-weight: 700;
      color: #1a3a6a;
      margin-bottom: 10px;
    }
    
    .info-item p {
      font-size: 0.95rem;
      color: #5a6e85;
      margin-bottom: 0;
    }
    
    /* Mapa - CON MARCADOR Y BOTÓN VER MAPA */
    .map-container {
      border-radius: 20px;
      overflow: hidden;
      box-shadow: 0 10px 30px rgba(0,0,0,0.1);
      background: #f8f9fa;
      position: relative;
    }
    
    .map-wrapper {
      position: relative;
      width: 100%;
      padding-bottom: 75%; /* Proporción 4:3 */
      height: 0;
      overflow: hidden;
    }
    
    .map-wrapper iframe {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      border: none;
    }
    
    .map-buttons {
      padding: 15px;
      text-align: center;
      background: white;
      border-top: 1px solid #e8ecf2;
    }
    
    .btn-ver-mapa {
      background: linear-gradient(135deg, #0d6efd, #0a58ca);
      color: white;
      border: none;
      padding: 10px 25px;
      border-radius: 50px;
      font-weight: 600;
      font-size: 0.9rem;
      transition: all 0.3s ease;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 8px;
    }
    
    .btn-ver-mapa:hover {
      transform: translateY(-2px);
      box-shadow: 0 10px 25px rgba(13, 110, 253, 0.3);
      color: white;
    }
    
    /* Formulario de contacto */
    .contact-form-container {
      background: white;
      border-radius: 20px;
      padding: 30px;
      box-shadow: 0 10px 30px rgba(0,0,0,0.08);
      height: 100%;
    }
    
    .contact-form-container h3 {
      font-size: 1.5rem;
      font-weight: 700;
      color: #1a3a6a;
      margin-bottom: 25px;
      padding-bottom: 15px;
      position: relative;
    }
    
    .contact-form-container h3:after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 60px;
      height: 3px;
      background: linear-gradient(90deg, #0d6efd, #0a58ca);
      border-radius: 3px;
    }
    
    .php-email-form .form-control {
      border-radius: 12px;
      border: 2px solid #e8ecf2;
      padding: 12px 18px;
      transition: all 0.3s ease;
      font-size: 0.95rem;
    }
    
    .php-email-form .form-control:focus {
      border-color: #0d6efd;
      box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.1);
    }
    
    .php-email-form textarea.form-control {
      resize: vertical;
    }
    
    .php-email-form button[type="submit"] {
      background: linear-gradient(135deg, #0d6efd, #0a58ca);
      color: white;
      border: none;
      padding: 12px 35px;
      border-radius: 50px;
      font-weight: 600;
      font-size: 1rem;
      transition: all 0.3s ease;
      cursor: pointer;
    }
    
    .php-email-form button[type="submit"]:hover {
      transform: translateY(-2px);
      box-shadow: 0 10px 25px rgba(13, 110, 253, 0.3);
    }
    
    .php-email-form button[type="submit"]:disabled {
      opacity: 0.7;
      transform: none;
    }
    
    .sent-message {
      background: #d4edda;
      color: #155724;
      padding: 12px 20px;
      border-radius: 12px;
      margin-top: 20px;
      font-size: 0.9rem;
      border-left: 4px solid #28a745;
    }
    
    .error-message {
      background: #f8d7da;
      color: #721c24;
      padding: 12px 20px;
      border-radius: 12px;
      margin-top: 20px;
      font-size: 0.9rem;
      border-left: 4px solid #dc3545;
    }
    
    /* Sección adicional de contacto */
    .contact-info-section {
      background: linear-gradient(135deg, #f8faff, #f0f4fa);
      border-radius: 25px;
      padding: 40px;
      margin-top: 50px;
      text-align: center;
    }
    
    .contact-info-section h3 {
      font-size: 1.8rem;
      color: #1a3a6a;
      font-weight: 700;
      margin-bottom: 20px;
    }
    
    .contact-info-section p {
      color: #5a6e85;
      max-width: 600px;
      margin: 0 auto 30px;
    }
    
    .social-links-contact {
      display: flex;
      justify-content: center;
      gap: 20px;
    }
    
    .social-links-contact a {
      width: 50px;
      height: 50px;
      background: white;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #0d6efd;
      font-size: 1.3rem;
      transition: all 0.3s ease;
      box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    }
    
    .social-links-contact a:hover {
      background: linear-gradient(135deg, #0d6efd, #0a58ca);
      color: white;
      transform: translateY(-3px);
      box-shadow: 0 10px 25px rgba(13, 110, 253, 0.3);
    }
    
    /* Responsive */
    @media (max-width: 992px) {
      .map-container {
        margin-bottom: 30px;
      }
      
      .map-wrapper {
        padding-bottom: 65%;
      }
      
      .contact-form-container {
        padding: 25px;
      }
    }
    
    @media (max-width: 768px) {
      .page-title h1 {
        font-size: 1.8rem;
      }
      
      .info-item {
        padding: 25px 20px;
      }
      
      .info-item .icon-wrapper {
        width: 55px;
        height: 55px;
      }
      
      .info-item i {
        font-size: 1.5rem;
      }
      
      .contact-info-section {
        padding: 30px 20px;
      }
      
      .contact-info-section h3 {
        font-size: 1.4rem;
      }
      
      .map-wrapper {
        padding-bottom: 70%;
      }
    }
    
    @media (max-width: 576px) {
      .page-title {
        padding: 40px 0 30px;
      }
      
      .contact-form-container {
        padding: 20px;
      }
      
      .php-email-form button[type="submit"] {
        width: 100%;
      }
      
      .map-wrapper {
        padding-bottom: 75%;
      }
    }
  
/* Encabezado limpio de Contactos, consistente con el estilo futurista equilibrado */
.contact-page .page-title.contact-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 230px;
  padding: 64px 20px;
  text-align: center;
}
.contact-page .page-title.contact-heading .container {
  position: relative;
  z-index: 2;
}
.contact-page .page-title.contact-heading h1 {
  margin: 0 auto;
  text-align: center;
  color: #fff;
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  line-height: 1.2;
}

/* Contacto: paneles del mismo alto, formulario sin salirse de su tarjeta */
.contact-page .contact-panels{align-items:stretch;}
.contact-page .contact-panel-col{display:flex;min-width:0;}
.contact-page .contact-panel-col > .map-container,
.contact-page .contact-panel-col > .contact-form-container{width:100%;min-width:0;height:100%;margin:0;box-sizing:border-box;}
.contact-page .contact-form-container{display:flex;flex-direction:column;padding:clamp(20px,2.5vw,34px);}
.contact-page .contact-form-container .php-email-form{width:100%;max-width:100%;margin:0;padding:0;box-shadow:none;background:transparent;flex:1;box-sizing:border-box;}
.contact-page .php-email-form .row{margin-left:calc(var(--bs-gutter-x)*-.5);margin-right:calc(var(--bs-gutter-x)*-.5);}
.contact-page .php-email-form .form-control{width:100%;max-width:100%;box-sizing:border-box;min-height:48px;}
.contact-page .php-email-form textarea.form-control{min-height:145px;resize:vertical;}
.contact-page .php-email-form button[type="submit"]{max-width:100%;white-space:normal;}
.contact-page .map-container{display:flex;flex-direction:column;}
.contact-page .map-wrapper{flex:1;min-height:430px;padding-bottom:0;height:auto;}
.contact-page .map-buttons{flex:none;}
.contact-page .form-mail-hint{color:#475a70;font-size:.84rem;line-height:1.5;margin:15px auto 6px;max-width:420px;}
.contact-page .contact-clear-draft{background:transparent;border:0;color:#195b93;font-size:.85rem;text-decoration:underline;cursor:pointer;padding:8px;}
@media(max-width:991px){.contact-page .map-wrapper{min-height:360px}.contact-page .contact-panel-col > .map-container,.contact-page .contact-panel-col > .contact-form-container{height:auto;}}
