/*
Theme Name: Todo Reformas Murcia
Theme URI: http://www.coweb.es
Author: Pepe Romero
Author URI: http://www.coweb.es
Description: Child Theme del tema Divi para configurar caracterÌsticas personalizadas. 
Version: 1.0
Template: Divi
*/

@import url("/assets/theme/style.css");


#et-info {
    float: right;
}




input[type="tel"], input[type="email"], input[type="text"], input.text, input.title, textarea, select {
    background-color: #eee;
    border: 1px solid #eee;
    color: #999;
    padding: 15px;
    width: 95%
}
input[type="submit"] {
	
	background-color: #eee;
    border: 1px solid #eee;
    color: #999;
    padding: 15px;

}
input[type="submit"]:hover{
	color: #999; border: 2px solid #2ea3f2; 

}

input[type="tel"]:focus, input[type="email"]:focus, input[type=text]:focus, input.text:focus, input.title:focus, textarea:focus, select:focus 
{ color: #999; border: 2px solid #2ea3f2; }






/* Evita desbordes horizontales en movil por textos largos (emails, URLs) */
body p, body li, body a, body td { overflow-wrap: anywhere; }

/* Móvil y tablet: aprovecha el ancho (Divi deja filas al 80%) */
@media (max-width: 980px) {
  .et_pb_row,
  .et_pb_fullwidth_header .et_pb_fullwidth_header_container,
  #main-footer .container,
  #top-header .container {
    width: 92% !important;
  }
  .et_pb_promo {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}

/* Preguntas frecuentes desplegables */
.faq-section { max-width: 860px; margin: 0 auto; padding: 40px 16px; }
.faq-section h2 { text-align: center; margin-bottom: 20px; }
.faq-section details { border: 1px solid #ddd; border-radius: 6px; margin-bottom: 10px; background: #fff; }
.faq-section summary { cursor: pointer; padding: 14px 16px; font-weight: 600; color: #333; list-style: none; position: relative; padding-right: 44px; }
.faq-section summary::-webkit-details-marker { display: none; }
.faq-section summary::after { content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: 22px; color: #43d11e; }
.faq-section details[open] summary::after { content: "\2212"; }
.faq-section details p { margin: 0 !important; padding: 0 16px 18px !important; color: #555; }

/* Páginas de servicio (svc-*) */
.svc-page { color: #333; }
.svc-page h1, .svc-page h2, .svc-page h3 { line-height: 1.25; }
.svc-hero { background: #2b2b2b; color: #fff; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; padding: 60px max(16px, calc((100% - 1080px) / 2)); }
.svc-hero h1 { color: #fff; font-size: 40px; margin: 0 0 16px; padding: 0; }
.svc-lead { font-size: 18px; line-height: 1.6; color: #eee; padding-bottom: 20px; }
.svc-hero-pic img, .svc-compare img, .svc-two img { width: 100%; height: auto; display: block; border-radius: 8px; }
.svc-btn { display: inline-block; background: #43d11e; color: #fff !important; padding: 13px 24px; border-radius: 4px; font-weight: 600; text-decoration: none; margin: 0 8px 10px 0; }
.svc-btn:hover { background: #38b318; }
.svc-btn-alt { background: transparent; border: 2px solid #43d11e; color: #43d11e !important; padding: 11px 22px; }
.svc-contact .svc-btn-alt { color: #2b7a12 !important; border-color: #43d11e; }
.svc-section { max-width: 1080px; margin: 0 auto; padding: 50px 16px; }
.svc-alt { max-width: none; background: #f4f4f4; padding-left: max(16px, calc((100% - 1080px) / 2)); padding-right: max(16px, calc((100% - 1080px) / 2)); }
.svc-section h2 { font-size: 30px; margin: 0 0 20px; padding: 0; text-align: center; }
.svc-checks { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.svc-checks li { padding-left: 28px; position: relative; }
.svc-checks li::before { content: "\2713"; position: absolute; left: 0; color: #43d11e; font-weight: 700; }
.svc-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.svc-compare figure { margin: 0; }
.svc-compare figcaption { text-align: center; padding-top: 10px; color: #666; font-size: 14px; }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc-grid > div { background: #fff; border: 1px solid #e3e3e3; border-radius: 8px; padding: 20px; }
.svc-grid h3 { font-size: 18px; margin: 0 0 8px; padding: 0; }
.svc-grid p { padding-bottom: 0; }
.svc-steps { max-width: 820px; margin: 0 auto; padding-left: 22px; list-style: decimal; }
.svc-steps li { padding: 6px 0 6px 6px; }
.svc-two { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.svc-contact { text-align: center; }
.svc-contact .svc-links { margin-top: 20px; }
@media (max-width: 980px) {
  .svc-hero { grid-template-columns: 1fr; gap: 24px; padding: 40px 16px; }
  .svc-hero h1 { font-size: 30px; }
  .svc-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .svc-checks, .svc-compare, .svc-two, .svc-grid { grid-template-columns: 1fr; }
  .svc-section h2 { font-size: 24px; }
}
