 /*
 Theme Name:   petrosantander
 Theme URI:    https://wordpress.org/themes/twentytwentyfour/
 Description:  Tema hijo de Twenty Twenty-Four
 Author:       fraiberP
 Author URI:   https://petrosantander.com
 Template:     twentytwentyfour
 Version:      1.3.0
 Text Domain:  twentytwentyfour-child
 */

/* Importa los estilos del tema padre */
@import url("../twentytwentyfour/style.css");

/* Tus estilos personalizados aquí */
body {
    font-family: 'Arial', sans-serif;
}

.header {
    background-color: #f8f9fa;
}

.wp-block-template-part.site-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 9999 !important;
    width: 100% !important;
    background-color: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease !important;
    animation: slideDown 0.5s ease-out !important;
}

.header_petro{
    position: fixed !important;
    width: 100vw !important;
    z-index: 999 !important;
}

.no_magen_inicio{
      margin-block-start: 0;
}

.z-index-1 {
    z-index: 999 !important;
}

.elemento-1 { order: 1; }
.elemento-2 { order: 2; }


/* Cambio de orden solo en móviles */
@media (max-width: 768px) {
  .elemento-1 { order: 2; }
  .elemento-2 { order: 1; }
  .text-center-mv{
    width: 100%;
  text-align: center !important;
  }
  .boton_group_mv{
    flex-direction: column;
  }

  .boton_group_mv>div{
    width: 100% !important;
  }

  .boton_centro_mv{
    justify-content: center;
  }

}

.image_fondo{
    background-image: url("https://petrosantander.co/wp-content/uploads/2025/12/g6.png");
    background-position: bottom;
    background-size: contain;
  background-repeat: no-repeat;
}

.maximo_titulo{
    max-width: 1280px !important;
}

.maximo_tarjeta{
    max-width: 400px !important;
}

.texto-justificado {
    text-align: justify;
    max-width: 900px !important;
}

.texto-600{
    max-width: 600px !important;
}

body{
    font-family: var(--wp--preset--font-family--lato) !important;
}


.imagen_fondo_social{
    background-image: url("https://petrosantander.co/wp-content/uploads/2025/12/social_fondo_1.png");
    background-position: bottom;
    background-size: cover;
  background-repeat: no-repeat;
    
}


.icono_1 {
    background-image: url("https://petrosantander.co/wp-content/uploads/2025/12/path187.png");
    width: 80px;
    height: 80px;
    margin-right: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}


.icono_2 {
    background-image: url("https://petrosantander.co/wp-content/uploads/2025/12/path191.png");
    width: 80px;
    height: 80px;
    margin-right: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}


.icono_3 {
    background-image: url("https://petrosantander.co/wp-content/uploads/2025/12/path139.png");
    width: 80px;
    margin-right: 20px;
    height: 80px;
    background-size: contain;
}

.icono_4 {
    background-image: url("https://petrosantander.co/wp-content/uploads/2025/12/path147.png");
    width: 80px;
    margin-right: 20px;
    height: 80px;
    background-size: contain;
}

.icono_5 {
    background-image: url("https://petrosantander.co/wp-content/uploads/2025/12/path159.png");
    width: 80px;
    height: 80px;
    margin-right: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Estilos para los campos de entrada */
.wpcf7-form-control {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #023763;
    border-radius: 10px;
    font-size: 16px;
    box-sizing: border-box;
}

/* Estilo específico para el select (grupos de interés) */
.wpcf7-form-control.wpcf7-select {
    appearance: none;
    background-color: white;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23333%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 12px top 50%;
    background-size: 12px auto;
    padding-right: 40px;
    cursor: pointer;
}

/* Estilo para el textarea (mensaje) */
.wpcf7-form-control.wpcf7-textarea {
    min-height: 120px;
    resize: vertical;
}

/* Contenedor para el checkbox de política de datos */
.wpcf7-form p:has(.wpcf7-acceptance) {
    margin: 20px 0 25px 0;
}

.wpcf7-form .wpcf7-list-item {
    margin: 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.wpcf7-form .wpcf7-list-item-label {
    font-weight: normal;
    margin-left: 8px;
    font-size: 1.5rem;
    line-height: 1.5;
}

/* Estilo para el checkbox */
.wpcf7-form-control.wpcf7-checkbox {
    margin-top: 2px;
    width: auto;
}

/* Estilo para el botón de enviar */
.wpcf7-submit {
background-color: #023763;
  color: white;
  border: none;
  padding: 14px 60px;
  font-size: 1.05rem;
  font-weight: bolder;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
  width: auto;
  margin-bottom: 30px;
}

.wpcf7-submit:hover {
    background-color: #3fa5f1ff;
}


/* Estilos para estados de validación */
.wpcf7-form .wpcf7-not-valid-tip {
    color: #dc3232;
    font-size: 12px;
    margin-top: -15px;
    margin-bottom: 15px;
}

.wpcf7-form .wpcf7-response-output {
    padding: 15px;
    margin: 20px 0;
    border-radius: 4px;
}

.wpcf7-form p:has(.wpcf7-submit) {
    text-align: center !important;
}

/* Estilos responsive */
@media (max-width: 768px) {
    .wpcf7-form {
        padding: 0 15px;
    }
    
    .wpcf7-form-control {
        padding: 10px;
    }
}

.wpcf7-form-control-wrap[data-name="politica"] .wpcf7-form-control{
    border: none;
}

/* Estilos para el checkbox de política en Contact Form 7 */
.wpcf7-form-control-wrap[data-name="politica"] input[type="checkbox"] {
    /* Oculta el checkbox nativo */
    opacity: 0;
    position: absolute;
    width: 0;
    height: 0;
}

.wpcf7-form-control-wrap[data-name="politica"] .wpcf7-list-item-label {
    /* Estilo del texto/label */
    display: inline-block;
    padding: 12px 20px 12px 50px;
   /* border: 2px solid #023763;*/
    border-radius: 10px;
    font-size: 16px;
    /*background: white;*/
    cursor: pointer;
    position: relative;
    transition: all 0.3s;
    width: 100%;
    box-sizing: border-box;
    text-align: left;
    line-height: 1.4;
}

/* Crear el checkbox personalizado */
.wpcf7-form-control-wrap[data-name="politica"] .wpcf7-list-item-label:before {
    content: '';
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    border: 2px solid #023763;
    border-radius: 14px;
    background: white;
    transition: all 0.3s;
}

/* Crear el checkmark */
.wpcf7-form-control-wrap[data-name="politica"] .wpcf7-list-item-label:after {
    content: '✓';
    position: absolute;
    left: 22px;
    top: 50%;
    transform: translateY(-50%);
    color: #3fa5f1ff;
    font-size: 16px;
    font-weight: bold;
    opacity: 0;
    transition: all 0.3s;
}

/* Estado checked */
.wpcf7-form-control-wrap[data-name="politica"] input[type="checkbox"]:checked + .wpcf7-list-item-label:before {
    border-color: #3fa5f1ff;
}

.wpcf7-form-control-wrap[data-name="politica"] input[type="checkbox"]:checked + .wpcf7-list-item-label:after {
    opacity: 1;
}

/* Hover effect */
.wpcf7-form-control-wrap[data-name="politica"] .wpcf7-list-item-label:hover:before {
    border-color: #022a4d;
    box-shadow: 0 0 5px rgba(2, 55, 99, 0.3);
}

/* Estado focus para accesibilidad */
.wpcf7-form-control-wrap[data-name="politica"] input[type="checkbox"]:focus + .wpcf7-list-item-label:before {
    box-shadow: 0 0 0 3px rgba(2, 55, 99, 0.2);
    outline: none;
}

.imagen_interactiva{
    width: 80vw;
    max-width: 900px;
    height: auto;
}