/*paginas que utilizar form para página contacto.*/

.page-id-23 .col-full {
max-width: 1360px;
}

.page-id-23 .hfeed.site {
overflow: hidden;
}

.page-id-23 .entry-title {
text-align: center;
margin: 2rem 0;
}

.page-id-23 .contact-form-container {
padding: 2rem 1rem;
}

.page-id-23 label {
color: #06038d;
margin-bottom: 0;
}

.page-id-23 input[type="text"] {
padding: .6180469716em;
background-color: #f6f6f6;
color: #43454b;
border: 0;
-webkit-appearance: none;
box-sizing: border-box;
font-weight: 400;
box-shadow: inset 0 1px 1px rgb(0 0 0 / 13%);
}

.page-id-23 .form-control {
display: block;
width: 100%;
height: calc(1.5em + 0.75rem + 2px);
padding: 0.375rem 0.75rem;
font-size: 1rem;
font-weight: 400;
line-height: 1.5;
color: #495057;
background-color: #f6f6f6;
background-clip: padding-box;
border: 1px solid #ced4da;
border-radius: 0.25rem;
transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.page-id-23 .wpcf7-textarea {
height: 150px;
}

.form-check-input {
position: absolute;
margin-top: .3rem;
margin-left: 0rem !important;
display: inline-block;
width: 120px;
margin-top: 1px;
}

.trabaja_bloques {
border: 1px solid #0b0180;
border-radius: 10px;
padding: 18px;
}

.trabaja_bloques h3 {
color: #001580;
font-size: 20px;
}

.trabaja_bloques ul {
color: #001580;
font-size: 15px;
}

#wpcf7-f39-o1 form span {
font-size: 14px;
color: #0b0180;
line-height: 13px;
text-align: right;
}

.titulo_azul h3 {
color: #061680;
font-weight: 700;
font-size: 15px;
margin: 30px 0 0 0;
display: flex;
white-space: pre;
}

.titulo_azul h3::after {
content: "";
display: inline-flex;
width: 100%;
height: 1px;
background: #061680;
margin: 9px 0 0 15px;
}

#wpcf7-f39-o1 .form-control {
display: inline-block;
width: 68%;
float: right;
border: solid 1px #0b0180 !important;
border-radius: 8px !important;
color: #0b0180;
font-size: 14px;
}

span.wpcf7-list-item {
display: inline-block;
margin: 0 0 0 1em;
}

.col-full.contenedor-page-formularios {
width: 100%;
margin: 0px;
padding: 0px;
max-width: 100%;
}

.col-full.contenedor-page-formularios #primary {
width: 100%;
margin: 0px;
padding: 0px;
max-width: 100%;
}

#wpcf7-f39-p40-o1.wpcf7 {
width: 90%;
display: flex;
justify-content: center;
align-items: center;
margin: auto;
}

.header-base .entry-title {
color: #ec1c24;
font-weight: 700;
font-size: 20px;
margin: 30px auto;
display: flex;
white-space: pre;
max-width: 95%;
}

.header-base .entry-title::after {
content: "";
display: inline-flex;
width: 100%;
height: 2px;
background: #ec1c24;
margin: 14px 0 0 15px;
}

.page-id-23 .wpcf7-form-control.wpcf7-submit {
float: right;
color: #06038d;
border: 2px solid #06038d;
background-color: #ffffff;
border-radius: 8px;
padding: 5px 16px;
width: 100%;
height: 45px;
}

.page-id-23 .wpcf7-form-control.wpcf7-submit:hover {
float: right;
color: #ffffff;
border: 1px solid #ec1c24;
background-color: #ec1c24;
border-radius: 8px;
padding: 5px 16px;
width: 100%;
height: 45px;
}

.interna_full {
width: 90%;
max-width: 95%;
margin: auto;
padding: 0px;
}

.wpcf7-form-control-wrap {
width: 100%;
display: block;
}

.wapf-input {
display: none;
}

.page-id-23 .wpcf7-spinner .ajax-loader {
display: inline-block !important;
background-color: #06048d;
opacity: 1;
width: 100%;
height: 100%;
border: none;
border-radius: .5rem;
padding: 0;
margin: 0;
position: absolute;
}

.page-id-23 .wpcf7-spinner .ajax-loader::before {
content: "Enviando mensaje...";
position: absolute;
background-color: #06048d;
color: white;
text-align: center;
padding: .5rem;
font-weight: bold;
top: unset;
left: unset;
width: 100%;
height: 100%;
border: none;
border-radius: .5rem;
transform-origin: none;
animation-name: none;
animation-duration: none;
animation-timing-function: none;
animation-iteration-count: none;
}

.page-id-23 .wpcf7-spinner form.sent .wpcf7-response-output {
color: #06038d;
border: none;
margin: 1rem 5rem 0 0;
padding: 0;
text-align: center;
background: none;
width: 100%;
}

#email {
text-transform: lowercase;
}

.page-id-23 .wpcf7-spinner {
display: block;
background-color: #fcfcfc;
border: 2px solid #06048d;
opacity: 1;
width: 100%;
height: 46px;
border-radius: 0.5rem;
padding: 0;
margin: 0;
position: relative;
}

.page-id-23 .wpcf7-spinner::before {
content: "Enviando mensaje...";
position: absolute;
background-color: white;
color: #06028d;
top: 8px;
text-align: center;
width: 100%;
height: 25px;
border: none;
border-radius: none;
-webkit-animation: none;
animation: none;
}

#contacto .wpcf7 form .wpcf7-response-output {
border: none !important;
}

/* Form Contact Javier */
/* Titulo de la pagina */
#contacto .entry-title {
display: none;
}
/* Porcentaje del Form */
#contacto
.wp-block-column.is-vertically-aligned-stretch.contacto-formulario.is-layout-flow.wp-block-column-is-layout-flow {
flex-basis: 55% !important;
padding: 0rem 2rem;
margin: 0;
}
/* Caja de la imagen */
#contacto
.wp-block-column.is-vertically-aligned-stretch.bx-imagen-contacto.is-layout-flow.wp-block-column-is-layout-flow {
flex-basis: 45% !important;
margin: 0;
}
/* Quitar espaciados */
#main {
padding: 0;
margin: 0;
}
#contacto .aligncenter.size-full {
margin: 0;
padding: 0;
}
#contacto
.wp-block-columns.alignfull.contacto-pabre-bx.is-layout-flex.wp-container-core-columns-is-layout-28f84493.wp-block-columns-is-layout-flex {
gap: 0;
}
#contacto .col-md-6 {
padding: 0;
margin: 0;
width: 48%;
}
#contacto .col-12 {
flex: 0 0 auto;
padding: 0;
margin: 0;
width: 100%;
}
.wpcf7-form .row {
padding: 0.1rem 0rem;
justify-content: space-between;
margin: 0;
}
.wpcf7-form .row.mt-3 {
padding: 0;
margin: 0;
}
.mt-3 {
margin: 0 !important;
}
#contacto #formTabs {
margin: 0.8rem 0rem 0rem 0rem;
padding: 0;
border-width: 0;
}
#contacto #wpcf7-f1279432-p1279430-o3 .col-md-12,
#wpcf7-f1279443-p1279430-o4 .col-md-12 {
flex: 0 0 auto;
padding: 0;
margin: 0;
width: 100%;
}
#contacto .col-md-12 {
padding: 0;
}
#contacto .nota-info {
display: flex;
font-family: "AvenirNextLTPro";
}
#contacto .nota-info p {
margin: 0;
padding: 0;
font-size: 14px;
justify-content: flex-start;
display: flex;
}
#contacto .wpcf7-spinner {
display: none;
}
/* Titulo del Form */
#contacto .wp-block-heading {
font-weight: 400;
}
/* Sub titulo del Form */
#contacto .wp-block-heading.has-text-align-left {
display: flex;
font-weight: 300;
font-size: 1.2rem;
padding: 0;
margin: 0;
font-family: "AvenirNextLTPro";
}
/* Titulos de los input */
#contacto .wpcf7-form label {
margin: 0px 0px 0px 1px;
z-index: 99;
background: #fafafa;
color: #001e79;
font-weight: 400;
font-size: 13px;
text-transform: initial;
font-family: "AvenirNextLTPro";
}
/* Textos de los input */
#contacto .wpcf7-form-control.wpcf7-text {
margin: 0;
padding: 0.4rem 1rem;
font-size: 16px;
color: #000084;
background-color: #fff;
font-weight: 400;
font-family: "AvenirNextLTPro";
}
#contacto .wpcf7-form-control.wpcf7-text:focus {
color: #1a1a1ad4;
background-color: #edededc4;
box-shadow: 0 0 0 .1rem rgba(13, 110, 253, 0.25);
}
.wpcf7 form.sent .wpcf7-response-output::before {
content: "\2713";
background-color: #06038d;
padding: .2rem .5rem .2rem;
border-radius: 2rem;
margin: 0 .5rem 0 0;
text-align: center;
font-size: 1.1rem;
font-weight: 700;
color: white;
}
/* Textos de los selec */
#contacto .wpcf7-form-control.wpcf7-select {
margin: 0;
padding: 0.4rem 2rem 0.4rem 1rem;
font-size: 16px;
color: #5f5f5f;
background-color: #fff;
font-weight: 400;
font-family: "AvenirNextLTPro";
border: 1px solid #08068d;
}
#contacto .wpcf7-form-control.wpcf7-select:focus {
color: #1a1a1ad4;
background-color: #edededc4;
box-shadow: 0 0 0 .1rem rgba(13, 110, 253, 0.25);
}
/* Mensaje input incorrecto */
#contacto .wpcf7-not-valid-tip {
color: #da3832;
font-size: .8rem;
}
/* Barra de pestañas */
#contacto .nav-tabs .nav-link {
color: #a7a7a7;
font-weight: 400;
background: #fff;
font-family: "AvenirNextLTPro";
text-decoration: none;
}
#contacto .nav-tabs .nav-link.active {
color: #001e79;
font-weight: 400;
}
/* Input´s del Form */
#contacto input#fecha {
color: #808080;
height: 35px;
}
#contacto textarea::placeholder,
#contacto input::placeholder {
color: #808080;
}
#contacto input {
color: #2b2b2b;
}
/* Boton formulario */
#contacto .boton-enviar.d-flex {
justify-content: end;
margin: 0;
padding: 0;
}
#contacto .btn-enviar {
width: 7rem;
font-size: .8rem;
font-weight: bold;
text-align: center;
text-decoration: none;
color: #ffffff;
background-color: #000084;
border-radius: 7px;
cursor: pointer;
transition: .2s all;
margin: 0.8rem 0rem 0rem 0rem;
}
#contacto .btn-enviar:hover {
color: #fafafa;
background: #0032c8;
border-radius: 7px;
}
.page-id-1279430 #contacto,
.page-id-1279430 .page.type-page,
.page-id-1279430 .contacto-pabre-bx {
margin-bottom: 0;
}
#content {
min-height: 0;
}
#contacto textarea.form-control {
min-height: 4rem;
height: 6rem;
}
/* Contenedor imagen responsive */
#contacto .contenedor-imagen-foto {
position: relative;
overflow: hidden;
display: flex;
width: 100%;
height: 100%;
min-height: 300px;
}
#contacto .contenedor-imagen-foto img {
position: absolute;
width: 100%;
height: 100%;
object-fit: cover;
object-position: center;
}

/* Agregando asteriscos para campos requeridos */
.required::after {
content: " *";
color: #da3832;
font-weight: 700;
}

/* Agregando iconos para el navbar usando Unicode */
.icon-building::before {
content: "🏢";
margin-right: 0.5rem;
font-size: 1.1em;
}
.icon-calendar::before {
content: "📅";
margin-right: 0.5rem;
font-size: 1.1em;
}
.icon-message::before {
content: "💬";
margin-right: 0.5rem;
font-size: 1.1em;
}
.icon-suggestion::before {
content: "💡";
margin-right: 0.5rem;
font-size: 1.1em;
}

/* Mejorando el diseño responsivo con viewport units y clamp() */
/* Layout principal con escalado responsivo */
.main-container {
display: flex;
min-height: 100vh;
width: 100vw;
max-width: none;
}

.image-section {
flex: 1;
min-width: 50vw;
background: url("https://www.pizzapizza.cl/wp-content/uploads/2025/08/pizza-contact1.png") center / cover;
display: flex;
align-items: center;
justify-content: center;
position: relative;
padding: clamp(1rem, 4vw, 3rem);
}

.form-section {
flex: 1;
min-width: 50vw;
display: flex;
align-items: center;
justify-content: center;
padding: clamp(1rem, 4vw, 3rem);
background: white;
}

/* Contenedor del formulario con escalado */
.contact-container {
width: 100%;
max-width: clamp(400px, 90vw, 700px);
background: white;
border-radius: 16px;
box-shadow: 0 20px 40px rgba(0, 0, 132, 0.08), 0 8px 16px rgba(218, 56, 50, 0.04);
overflow: hidden;
border: 1px solid rgba(0, 0, 132, 0.1);
}

/* Mejorando media queries para mejor responsividad */
@media (min-width: 768px) and (max-width: 1024px) {
.form-row {
    grid-template-columns: 1fr 1fr;
    gap: clamp(1rem, 2vw, 1.5rem);
}

.contact-container {
    max-width: clamp(500px, 85vw, 650px);
}
}

@media (min-width: 1025px) {
.form-row {
    grid-template-columns: 1fr 1fr;
    gap: clamp(1.5rem, 2vw, 2rem);
}

.contact-container {
    max-width: clamp(600px, 80vw, 800px);
}
}

/* sacpp@pizzapizza.cl */
@media (max-width: 900px) {
/* Mejorando responsividad para móviles */
.main-container {
    flex-direction: column;
    min-height: 100vh;
}

.image-section {
    min-height: clamp(35vh, 40vh, 45vh);
    min-width: 100vw;
}

.form-section {
    min-width: 100vw;
    padding: clamp(1rem, 4vw, 2rem);
}

.contact-container {
    max-width: 95vw;
}

#contacto .contenedor-imagen-foto {
    height: auto;
    min-height: auto;
}

#contacto .contenedor-imagen-foto img {
    position: relative;
    height: auto;
    width: 100%;
}

.page-id-23 .mobile-contact-image {
    display: none;
}

.page-id-23 #pgc-23-0-0 {
    display: none !important;
}

.page-id-23 .entry-title {
    text-align: center;
    margin: 2rem 0 0;
}

.page-id-23 .wpcf7-form .col-12.col-md-3 {
    margin-bottom: .5rem;
}

.page-id-23 .wpcf7-form-control.wpcf7-submit:hover {
    float: right;
    color: #06038d;
    border: 2px solid #06038d;
    background-color: #ffffff;
    border-radius: 8px;
    padding: 5px 16px;
    width: 100%;
    height: 45px;
}

.page-id-23 .wpcf7-form-control.wpcf7-submit:active {
    float: right;
    color: #ffffff;
    border: 1px solid #ec1c24;
    background-color: #ec1c24;
    border-radius: 8px;
    padding: 5px 16px;
    width: 100%;
    height: 45px;
}

.page-id-23 .promotions {
    display: none !important;
}

.page-id-23 form.wpcf7-form .col-12 {
    padding: 0;
    margin-bottom: .5rem;
}
}

/* Agregando media query adicional para pantallas muy pequeñas */
@media (max-width: 480px) {
.form-container {
    padding: clamp(1rem, 4vw, 1.5rem);
}

.form-row {
    grid-template-columns: 1fr;
    gap: clamp(1rem, 3vw, 1.25rem);
}

.submit-btn {
    width: 100%;
    padding: clamp(1rem, 3vw, 1.2rem);
}

.submit-container {
    align-items: stretch;
}
}
