/*
Theme Name: Hello Yordas
Description: Tema hijo de Hello Elementor para yezraelperez.es
Author: Nubedocs
Template: hello-elementor
Version: 1.0.0
Text Domain: hello-yezrael
*/

/* Los estilos de diseño viven en el kit de Elementor (colores, tipografías, botones).
   Aquí solo van ajustes mínimos que Elementor no puede cubrir. */
   
   
   /* Yordas Psicología - CSS global
   Pegar en: Elementor > Ajustes del sitio > CSS personalizado
   Si alojas las fuentes en local (Elementor > Ajustes > Rendimiento), borra la línea @import. */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=DM+Sans:wght@400;500;600&display=swap');

body{background:#FAF6F1;color:#3A3340;font-family:'DM Sans',system-ui,sans-serif}

/* Títulos: la parte en cursiva lleva el color de acento */
.yp-h em,.yp-cta .yp-h em{font-style:italic;color:#7A2182}
.yp-h-w em{color:inherit}
.yp-num{font-style:italic}
.yp-t p{margin:0}
.yp-mw-520{max-width:520px}
.yp-mw-640{max-width:640px}

/* Ondas entre secciones */
.yp-wave{padding:0!important;background-repeat:no-repeat;background-size:100% 100%;background-position:center;margin-block-end:-1px}
.yp-wave-a{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'%3E%3Cpath d='M0 60 C 240 10, 480 10, 720 50 S 1200 95, 1440 40 L1440 90 L0 90 Z' fill='%23FFFFFF'/%3E%3C/svg%3E");min-height:90px}
.yp-wave-b{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 110' preserveAspectRatio='none'%3E%3Cpath d='M0 70 C 300 120, 560 10, 860 50 S 1260 100, 1440 30 L1440 110 L0 110 Z' fill='%237A2182'/%3E%3C/svg%3E");min-height:110px}
.yp-wave-c{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 110' preserveAspectRatio='none'%3E%3Cpath d='M0 0 L1440 0 L1440 50 C 1180 110, 900 20, 620 60 S 200 100, 0 40 Z' fill='%237A2182'/%3E%3C/svg%3E");min-height:110px}
.yp-wave-d{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'%3E%3Cpath d='M0 50 C 360 0, 720 100, 1080 40 S 1360 30, 1440 50 L1440 90 L0 90 Z' fill='%23EFE4EF'/%3E%3C/svg%3E");min-height:90px}
.yp-wave-e{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'%3E%3Cpath d='M0 0 L1440 0 L1440 40 C 1100 100, 760 0, 420 50 S 80 70, 0 30 Z' fill='%23EFE4EF'/%3E%3C/svg%3E");min-height:90px}
.yp-wave-f{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'%3E%3Cpath d='M0 60 C 320 0, 640 90, 980 40 S 1340 20, 1440 50 L1440 90 L0 90 Z' fill='%234A1550'/%3E%3C/svg%3E");min-height:90px}
.yp-wave-g{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'%3E%3Cpath d='M0 60 C 240 10, 480 10, 720 50 S 1200 95, 1440 40 L1440 90 L0 90 Z' fill='%23F3E9F3'/%3E%3C/svg%3E");min-height:90px}
.yp-wave-h{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'%3E%3Cpath d='M0 0 L1440 0 L1440 40 C 1100 100, 760 0, 420 50 S 80 70, 0 30 Z' fill='%23F3E9F3'/%3E%3C/svg%3E");min-height:90px}
.yp-wave-i{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'%3E%3Cpath d='M0 60 C 240 10, 480 10, 720 50 S 1200 95, 1440 40 L1440 90 L0 90 Z' fill='%23EFE4EF'/%3E%3C/svg%3E");min-height:90px}
@media (max-width:767px){.yp-wave{min-height:50px!important;height:50px}}

/* Fotos con formas orgánicas */
.yp-foto img{display:block;width:100%;object-fit:cover;background:#E4D3E5}
.yp-foto-hero img{height:560px;border-radius:62% 38% 55% 45% / 48% 58% 42% 52%;box-shadow:24px 24px 0 #EFE1EF}
.yp-foto-band img{height:440px;border-radius:50% 50% 46% 54% / 60% 58% 42% 40%;border:10px solid rgba(255,255,255,.14);box-sizing:border-box}
.yp-foto-arco img{height:580px;max-width:480px;border-radius:240px 240px 32px 32px;box-shadow:24px 24px 0 #F3E9F3}
@media (max-width:767px){
  .yp-foto-hero img{height:380px}
  .yp-foto-band img{height:320px}
  .yp-foto-arco img{height:420px;border-radius:180px 180px 28px 28px}
}

/* Cabecera */
.yp-nav .elementor-item{font-family:'DM Sans',sans-serif;font-size:12px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:#3A3340}
.yp-nav .elementor-item:hover,.yp-nav .elementor-item.elementor-item-active{color:#7A2182}

/* Pie */
.yp-logo-pie img{width:220px;height:auto}
.yp-legal a{color:#D9BEDC;margin-left:20px;text-decoration:underline}
.yp-legal a:first-child{margin-left:0}

/* ---- Añadidos paquete 2 ---- */
.yp-mw-540{max-width:540px}
.yp-mw-560{max-width:560px}
.yp-mw-660{max-width:660px}
.yp-mw-900{max-width:900px}
.yp-quote{font-style:italic;max-width:900px;margin-inline:auto!important}

/* Menú: tipografía forzada */
.yp-nav .elementor-nav-menu a.elementor-item{font-family:'DM Sans',sans-serif!important;font-size:12px!important;font-weight:600!important;letter-spacing:.14em!important;text-transform:uppercase!important;color:#3A3340!important}
.yp-nav .elementor-nav-menu a.elementor-item:hover,.yp-nav .elementor-nav-menu a.elementor-item.elementor-item-active{color:#7A2182!important}

/* Fotos */
.yp-foto-blob img{height:320px;border-radius:58% 42% 50% 50% / 46% 54% 46% 54%}
.yp-foto-hero2 img{height:380px;border-radius:46% 54% 42% 58% / 52% 44% 56% 48%;box-shadow:24px 24px 0 #EFE1EF}
@media (max-width:767px){.yp-foto-blob img{height:240px}.yp-foto-hero2 img{height:280px}}

/* Áreas de trabajo */
.yp-pill{background:#fff;border-radius:999px;padding:18px 28px}

/* Preguntas frecuentes */
.yp-faq details{border-bottom:1px solid #D9C6D9;padding:24px 0}
.yp-faq summary{cursor:pointer;list-style:none;font-family:'Cormorant Garamond',Georgia,serif;font-size:26px;font-weight:500;color:#2E2433;min-height:44px;display:flex;align-items:center;gap:16px}
.yp-faq summary::-webkit-details-marker{display:none}
.yp-faq summary::after{content:'+';margin-left:auto;font-family:'DM Sans',sans-serif;font-size:24px;color:#7A2182}
.yp-faq details[open] summary::after{content:'\2212'}
.yp-faq p{margin:12px 0 0;font-size:17px;line-height:1.7;color:#5B5560}

/* Mapa provisional */
.yp-mapa{border-radius:58% 42% 52% 48% / 44% 56% 44% 56%!important}

/* Contact Form 7 */
.yp-cf7 p{margin:0 0 22px}
.yp-cf7 label{display:block;font-size:14px;font-weight:600;color:#2E2433;margin-bottom:8px}
.yp-cf7 input[type=text],.yp-cf7 input[type=email],.yp-cf7 input[type=tel],.yp-cf7 select,.yp-cf7 textarea{width:100%;font:inherit;font-size:16px;color:#2E2433;background:#fff;border:1px solid #D9C6D9;border-radius:16px;padding:14px 18px;min-height:48px;box-sizing:border-box}
.yp-cf7 textarea{min-height:140px;resize:vertical}
.yp-cf7 input:focus,.yp-cf7 select:focus,.yp-cf7 textarea:focus{outline:2px solid #7A2182;outline-offset:2px;border-color:#7A2182}
.yp-cf7-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));column-gap:22px}
.yp-cf7 .wpcf7-acceptance label{display:flex;gap:12px;align-items:flex-start;font-size:14px;font-weight:400;line-height:1.55;color:#4A4350}
.yp-cf7 .wpcf7-acceptance a{color:#7A2182}
.yp-cf7 input[type=checkbox]{width:22px;height:22px;flex:0 0 22px;margin:2px 0 0;accent-color:#7A2182}
.yp-cf7 .wpcf7-submit{cursor:pointer;border:0;background:#7A2182;color:#fff;font-family:'DM Sans',sans-serif;font-size:12px;font-weight:600;letter-spacing:.16em;text-transform:uppercase;padding:18px 36px;border-radius:999px;min-height:48px}
.yp-cf7 .wpcf7-submit:hover{background:#5A1761}
.yp-cf7 .wpcf7-not-valid-tip{color:#9B1C4B;font-size:13px;margin-top:6px}
.yp-cf7 .wpcf7-response-output{border-radius:16px;margin:22px 0 0!important;padding:14px 18px!important}
.yp-cf7 .wpcf7-spinner{margin:0 0 0 12px}

/* Preguntas frecuentes (acordeón de Elementor) */
.yp-acc.yp-acc .e-n-accordion-item{border:0!important;border-bottom:1px solid #D9C6D9!important;border-radius:0!important;padding:8px 0}
.yp-acc.yp-acc .e-n-accordion-item-title{min-height:44px;padding:16px 0!important;cursor:pointer;gap:16px}
.yp-acc.yp-acc .e-n-accordion-item-title-text{font-family:'Cormorant Garamond',Georgia,serif!important;font-size:26px!important;font-weight:500!important;line-height:1.3!important;color:#2E2433!important}
.yp-acc.yp-acc .e-n-accordion-item-title-icon{color:#7A2182!important;font-size:18px}
.yp-acc.yp-acc .e-n-accordion-item-title-icon svg{fill:#7A2182!important}
@media (max-width:767px){.yp-acc.yp-acc .e-n-accordion-item-title-text{font-size:22px!important}}