/* Restyling Casas Rurales La Palma · página de Contacto (Píxel & Roi) */

/* ---------- Estructura ---------- */
body .elementor-section.crh-contact{padding:72px 0 112px}
.crh-contact > .elementor-container{align-items:flex-start}
.crh-contact > .elementor-container > .elementor-column + .elementor-column{padding-left:72px}
body .crh .crh-h1 .elementor-heading-title{font-family:var(--crh-serif);font-weight:500;font-size:52px;line-height:1.08;letter-spacing:-.01em;color:var(--crh-tinta);text-transform:none;margin:0 0 24px}
body .crh .crh-contact-text .elementor-widget.crh-lead{margin-block-end:32px !important}

/* ---------- WhatsApp y correo ---------- */
body .crh .crh-contact-box{background:var(--crh-blanco);border:1px solid var(--crh-linea);border-radius:18px;box-shadow:var(--crh-sombra);overflow:hidden;margin:0 0 16px}
body .crh .crh-contact-box > .elementor-container{padding:0 !important}
body .crh .crh-contact-box .elementor-column > .elementor-widget-wrap{display:grid !important;grid-template-columns:minmax(0,1fr) auto;align-items:center;padding:0 !important}
body .crh .crh-contact-box .elementor-widget-wrap > .elementor-element{margin:0 !important;width:auto;max-width:none}
body .crh .crh-contact-box .elementor-widget-wrap > .elementor-element:nth-child(-n+2){border-bottom:1px solid var(--crh-linea)}
body .crh .crh-cbox-item{padding:24px 0 24px 28px;align-self:stretch;display:flex;align-items:center}
body .crh .crh-cbox-item > .elementor-widget-container{width:100%}
body .crh .crh-cbox-btn{padding:24px 28px 24px 12px;align-self:stretch;display:flex;align-items:center;justify-content:flex-end}
body .crh .crh-cbox-item .elementor-icon-box-wrapper{display:flex;flex-direction:row;align-items:center;gap:20px;text-align:left}
body .crh .crh-cbox-item .elementor-icon-box-icon{margin:0 !important;flex:none;display:flex}
body .crh .crh-cbox-item .elementor-icon{width:56px;height:56px;border-radius:999px;background:var(--crh-verde);color:#fff;fill:#fff;font-size:24px;display:inline-flex;align-items:center;justify-content:center;padding:0;border:0}
body .crh .crh-cbox-item .elementor-icon svg{width:24px;height:24px;fill:#fff}
body .crh .crh-cbox-item .elementor-icon i{color:#fff}
body .crh .crh-cbox-item .elementor-icon-box-content{min-width:0}
body .crh .crh-cbox-item .elementor-icon-box-title{font:500 24px/1.2 var(--crh-serif);color:var(--crh-tinta);margin:0 0 2px}
body .crh .crh-cbox-item .elementor-icon-box-title a{color:inherit;text-decoration:none}
body .crh .crh-cbox-item .elementor-icon-box-title a:hover{text-decoration:underline}
body .crh .crh-cbox-item .elementor-icon-box-description{font:600 17px/1.4 var(--crh-sans);color:var(--crh-tinta-2);margin:0;overflow-wrap:anywhere}
body .crh .crh-cbox-btn .elementor-button{min-height:44px;padding:0 18px;font-size:15px}

/* Foto */
body .crh .elementor-widget.crh-contact-photo{margin-block-start:16px !important}
body .crh .crh-contact-photo img{width:100% !important;height:300px !important;object-fit:cover;border-radius:20px}

/* ---------- Tarjeta del formulario (Contact Form 7: solo aspecto) ---------- */
body .crh .crh-form-card > .elementor-widget-wrap{background:var(--crh-blanco);border-radius:16px;box-shadow:var(--crh-sombra);padding:40px !important}
body .crh .crh-form-card .crh-h3 .elementor-heading-title{margin:0 0 20px}
body .crh .wpcf7 form > p{margin:0 0 20px}
body .crh .wpcf7 form label{display:flex;flex-direction:column;gap:6px;font:700 14px/1.3 var(--crh-sans);color:var(--crh-tinta);margin:0}
body .crh .wpcf7 form label br{display:none}
body .crh .wpcf7 input[type="text"],
body .crh .wpcf7 input[type="email"],
body .crh .wpcf7 input[type="tel"],
body .crh .wpcf7 textarea{width:100%;height:50px;border:1px solid #CFC6B6;border-radius:10px;background:#fff;padding:0 14px;font:400 16px/1.4 var(--crh-sans);color:var(--crh-tinta);box-shadow:none;margin:0}
body .crh .wpcf7 textarea{height:auto;min-height:160px;padding:12px 14px;resize:vertical}
body .crh .wpcf7 input:focus,
body .crh .wpcf7 textarea:focus{border-color:var(--crh-verde);outline:3px solid #8DB89A;outline-offset:1px}
body .crh .wpcf7 .wpcf7-acceptance .wpcf7-list-item{margin:0}
body .crh .wpcf7 .wpcf7-acceptance label{flex-direction:row;align-items:center;gap:12px;min-height:44px;font:400 16px/1.4 var(--crh-sans)}
body .crh .wpcf7 .wpcf7-acceptance input[type="checkbox"]{width:22px;height:22px;margin:0;flex:none;accent-color:var(--crh-verde)}
body .crh .wpcf7 .wpcf7-submit{display:inline-flex;align-items:center;justify-content:center;min-height:50px;min-width:180px;padding:0 24px;border:0;border-radius:10px;background:var(--crh-verde);color:#fff;font:700 16px/1 var(--crh-sans);text-transform:none;letter-spacing:0;cursor:pointer;margin:0}
body .crh .wpcf7 .wpcf7-submit:hover{background:var(--crh-verde-osc)}
body .crh .wpcf7 .wpcf7-submit:focus-visible{outline:3px solid #8DB89A;outline-offset:3px}
/* Mensajes de Contact Form 7 (sin cambiar sus textos) */
body .crh .wpcf7 .wpcf7-not-valid-tip{color:#9A3D21;font:600 14px/1.4 var(--crh-sans);margin-top:4px}
body .crh .wpcf7 form .wpcf7-response-output{margin:16px 0 0;padding:12px 16px;border-radius:10px;border-width:1px;font:400 15px/1.5 var(--crh-sans)}
body .crh .wpcf7 form.sent .wpcf7-response-output{background:#E3ECE1;border-color:var(--crh-verde);color:#1F4B2C}
body .crh .wpcf7 form.invalid .wpcf7-response-output,
body .crh .wpcf7 form.unaccepted .wpcf7-response-output,
body .crh .wpcf7 form.failed .wpcf7-response-output,
body .crh .wpcf7 form.spam .wpcf7-response-output{background:#F6E6DD;border-color:#B5603F;color:#7B3A21}

/* ---------- Nuestras casas ---------- */
body .elementor-section.crh-houses{padding:72px 0}
.crh-houses > .elementor-container > .elementor-column:first-child{padding-right:12px}
.crh-houses > .elementor-container > .elementor-column:last-child{padding-left:12px}
body .crh .crh-house > .elementor-widget-wrap{display:grid !important;grid-template-columns:180px minmax(0,1fr);grid-template-rows:auto auto auto;align-content:center;column-gap:24px;background:var(--crh-blanco);border-radius:16px;box-shadow:var(--crh-sombra);overflow:hidden;padding:0 24px 0 0 !important;min-height:150px}
body .crh .crh-house .elementor-widget-wrap > .elementor-element{margin:0 !important;width:auto;max-width:none}
body .crh .crh-house .crh-house-img{grid-row:1 / span 3;align-self:stretch;height:100%}
body .crh .crh-house .crh-house-img .elementor-widget-container,
body .crh .crh-house .crh-house-img a{height:100%;display:block}
body .crh .crh-house .crh-house-img img{width:100% !important;height:100% !important;min-height:150px;object-fit:cover;border-radius:0}
body .crh .crh-house .crh-h3 .elementor-heading-title{font-size:22px;margin:24px 0 6px}
body .crh .crh-house .crh-h3 .elementor-heading-title a{color:inherit;text-decoration:none}
body .crh .crh-house .crh-small{margin:0 0 6px}
body .crh .crh-house .crh-small p{margin:0;color:var(--crh-tinta-2)}
body .crh .crh-house .crh-btn-link{margin-bottom:18px !important}

/* ---------- Tableta y móvil ---------- */
@media (max-width:1024px){
  .crh-contact > .elementor-container > .elementor-column + .elementor-column{padding-left:40px}
  body .crh .crh-h1 .elementor-heading-title{font-size:44px}
}
@media (max-width:767px){
  body .elementor-section.crh-contact{padding:32px 0 56px}
  .crh-contact > .elementor-container > .elementor-column + .elementor-column{padding-left:0;margin-top:20px}
  body .crh .crh-h1 .elementor-heading-title{font-size:34px;margin-bottom:16px}
  body .crh .crh-contact-text .elementor-widget.crh-lead{margin-block-end:20px !important}
  body .crh .crh-contact-box{border-radius:16px}
  body .crh .crh-cbox-item{padding:18px 0 18px 18px}
  body .crh .crh-cbox-item .elementor-icon-box-wrapper{gap:14px}
  body .crh .crh-cbox-item .elementor-icon{width:48px;height:48px}
  body .crh .crh-cbox-item .elementor-icon-box-title{font-size:20px}
  body .crh .crh-cbox-item .elementor-icon-box-description{font-size:15px}
  body .crh .crh-cbox-btn{padding:18px 18px 18px 8px}
  body .crh .crh-cbox-btn .elementor-button{padding:0 12px;font-size:14px}
  body .crh .elementor-widget.crh-contact-photo{display:none}
  body .crh .crh-form-card > .elementor-widget-wrap{padding:22px !important}
  body .crh .wpcf7 form > p{margin-bottom:16px}
  body .crh .wpcf7 textarea{min-height:140px}
  body .crh .wpcf7 .wpcf7-submit{width:100%}
  body .elementor-section.crh-houses{padding:40px 0 56px}
  .crh-houses > .elementor-container > .elementor-column:first-child{padding-right:0;margin-bottom:12px}
  .crh-houses > .elementor-container > .elementor-column:last-child{padding-left:0}
  body .crh .crh-house > .elementor-widget-wrap{grid-template-columns:110px minmax(0,1fr);column-gap:16px;padding-right:16px !important;min-height:96px}
  body .crh .crh-house .crh-house-img img{min-height:96px}
  body .crh .crh-house .crh-h3 .elementor-heading-title{font-size:18px;margin:14px 0 4px}
  body .crh .crh-house .crh-btn-link{margin-bottom:10px !important}
}

/* Ajustes tras la primera revisión (3 nov) */
body .crh .wpcf7 .wpcf7-form-control-wrap{display:block;width:100%}
body .crh .wpcf7 form label{width:100%}
body .crh .crh-form-card .elementor-widget-shortcode,
body .crh .crh-form-card .elementor-shortcode{width:100%}
body .crh .crh-cbox-item .elementor-icon-box-title{font-size:22px}
body .crh .wpcf7 input[type="text"],body .crh .wpcf7 input[type="email"],body .crh .wpcf7 input[type="tel"],body .crh .wpcf7 textarea{width:100% !important;max-width:100%;box-sizing:border-box}
body .crh .wpcf7 .wpcf7-form-control-wrap{padding:0 !important}

/* ---------- Texto legal del formulario ---------- */
body .crh .wpcf7 .wpcf7-acceptance a,
body .crh .wpcf7 .crh-rgpd a{color:var(--crh-verde);text-decoration:underline;text-underline-offset:2px}
body .crh .wpcf7 .crh-rgpd{display:block;font:400 13px/1.5 var(--crh-sans);color:var(--crh-tinta-2);padding:12px 14px;background:var(--crh-cal);border-radius:10px}
body .crh .wpcf7 .crh-rgpd strong{color:var(--crh-tinta);font-weight:600}

/* ---------- Mapa con las dos casas ---------- */
body .elementor-section.crh-map-sec{padding:0 0 88px}
body .crh .crh-map{position:relative;height:440px;border-radius:18px;overflow:hidden;box-shadow:var(--crh-sombra);background:var(--crh-arena);z-index:0}
body .crh .crh-map .leaflet-tile-pane{filter:saturate(.55) sepia(.12) contrast(.96)}
body .crh .crh-map .leaflet-div-icon{background:none;border:0}
body .crh .crh-pin{width:36px;height:36px;border-radius:999px 999px 999px 0;transform:rotate(-45deg);background:var(--crh-verde);border:3px solid #fff;box-shadow:0 4px 10px rgba(0,0,0,.25);display:flex;align-items:center;justify-content:center;box-sizing:border-box}
body .crh .crh-pin span{transform:rotate(45deg);color:#fff;font:700 14px/1 var(--crh-sans)}
body .crh .crh-pin.crh-pin-2{background:var(--crh-tea)}
body .crh .crh-map .leaflet-popup-content-wrapper{border-radius:12px}
body .crh .crh-map .leaflet-popup-content{margin:14px 16px;font:400 14px/1.4 var(--crh-sans);color:var(--crh-tinta-2)}
body .crh .crh-map .leaflet-popup-content strong{display:block;font:500 18px/1.2 var(--crh-serif);color:var(--crh-tinta);margin-bottom:4px}
body .crh .crh-map .leaflet-popup-content a{color:var(--crh-verde);font-weight:700}
body .crh .crh-map-legend{display:flex;flex-wrap:wrap;gap:12px 28px;margin-top:16px;font:600 15px/1.4 var(--crh-sans);color:var(--crh-tinta)}
body .crh .crh-map-legend a{color:var(--crh-verde);font-weight:700;margin-left:6px}
body .crh .crh-map-legend i{display:inline-block;width:12px;height:12px;border-radius:99px;background:var(--crh-verde);margin-right:8px;vertical-align:-1px}
body .crh .crh-map-legend .crh-l2 i{background:var(--crh-tea)}
@media (max-width:767px){
  body .elementor-section.crh-map-sec{padding:0 0 56px}
  body .crh .crh-map{height:340px;border-radius:14px}
  body .crh .crh-map-legend{flex-direction:column;gap:8px}
}

/* ---------- WhatsApp y correo: versión ligera (3 nov, sin caja ni botones) ---------- */
body .crh .crh-contact-box{background:none;border:0;border-radius:0;box-shadow:none;overflow:visible;margin:0 0 8px}
body .crh .crh-contact-box .elementor-column > .elementor-widget-wrap{display:block !important}
body .crh .crh-contact-box .elementor-widget-wrap > .elementor-element{width:100%;border-bottom:1px solid var(--crh-linea) !important}
body .crh .crh-contact-box .elementor-widget-wrap > .elementor-element:first-child{border-top:1px solid var(--crh-linea)}
body .crh .crh-cbox-item{position:relative;display:block;padding:20px 48px 20px 0 !important}
body .crh .crh-cbox-item::after{content:"";position:absolute;right:8px;top:50%;width:10px;height:10px;border-top:2px solid var(--crh-verde);border-right:2px solid var(--crh-verde);transform:translateY(-50%) rotate(45deg);transition:right .2s}
body .crh .crh-cbox-item:hover::after{right:2px}
body .crh .crh-cbox-item .elementor-icon-box-title a::after{content:"";position:absolute;inset:0}
body .crh .crh-cbox-item .elementor-icon-box-wrapper{gap:18px}
body .crh .crh-cbox-item .elementor-icon{width:48px;height:48px;background:#E3ECE1;color:var(--crh-verde);fill:var(--crh-verde);font-size:22px}
body .crh .crh-cbox-item .elementor-icon svg{width:22px;height:22px;fill:var(--crh-verde)}
body .crh .crh-cbox-item .elementor-icon i{color:var(--crh-verde)}
body .crh .crh-cbox-item .elementor-icon-box-title{font:500 21px/1.25 var(--crh-serif);margin:0 0 2px}
body .crh .crh-cbox-item:hover .elementor-icon-box-title a{color:var(--crh-verde);text-decoration:none}
body .crh .crh-cbox-item .elementor-icon-box-description{font:400 16px/1.4 var(--crh-sans);color:var(--crh-tinta-2)}
body .crh .crh-cbox-item:focus-within{outline:3px solid #8DB89A;outline-offset:2px;border-radius:8px}
@media (max-width:767px){
  body .crh .crh-cbox-item{padding:16px 40px 16px 0 !important}
  body .crh .crh-cbox-item .elementor-icon{width:44px;height:44px}
  body .crh .crh-cbox-item .elementor-icon-box-title{font-size:19px}
  body .crh .crh-cbox-item .elementor-icon-box-description{font-size:15px}
}
