/*
 Theme Name:  Enfoque Fiscal 360
 Description: Tema hijo de Divi 5 para Enfoque Fiscal 360
 Author:      Grupo iNova
 Author URI:  https://grupoinova.es
 Template:    Divi
 Version:     1.0.0
 Text Domain: efs360
*/

/* =========================================================================
   Enfoque Fiscal 360 · Estilos globales
   ========================================================================= */
@font-face{font-family:"Inter";font-style:normal;font-weight:100 900;font-display:swap;
	src:url("assets/fonts/inter-latin-wght-normal.woff2") format("woff2");}

:root{
	--efs-navy:#0E2238; --efs-navy-2:#16324F; --efs-navy-3:#0B1B2D;
	--efs-gold:#B89B5E; --efs-gold-2:#9C8047;
	--efs-bg:#F4F5F7; --efs-text:#2A3140; --efs-muted:#5E6878; --efs-line:#E1E4EA;
	--efs-radius:14px; --efs-shadow:0 10px 30px rgba(14,34,56,.08);
	--efs-font:"Inter",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
}

/* ---------- Base ---------- */
body.efs-site,body.efs-site input,body.efs-site textarea,body.efs-site select,body.efs-site button{font-family:var(--efs-font);}
body.efs-site{color:var(--efs-text);font-size:17px;line-height:1.7;-webkit-font-smoothing:antialiased;background:#fff;}
body.efs-site h1,body.efs-site h2,body.efs-site h3,body.efs-site h4,body.efs-site h5,body.efs-site h6{font-family:var(--efs-font);color:var(--efs-navy);font-weight:700;letter-spacing:-.02em;line-height:1.2;padding-bottom:0;}
body.efs-site a{color:var(--efs-navy-2);transition:color .2s;}
body.efs-site a:hover{color:var(--efs-gold-2);}
body.efs-site p{padding-bottom:0;}
body.efs-site p + p{margin-top:1em;}

/* ---------- Secciones y filas ---------- */
body.efs-site .et_pb_section.efs-sec{padding:96px 0;background-color:#fff;}
body.efs-site .et_pb_section.efs-sec--alt{background-color:var(--efs-bg);}
body.efs-site .et_pb_section.efs-sec--dark{background-color:var(--efs-navy);}
body.efs-site .et_pb_row.efs-row{width:88%;max-width:1200px;margin:0 auto;padding:0;}
body.efs-site .et_pb_row.efs-row + .et_pb_row.efs-row{margin-top:48px;}
body.efs-site .et_pb_row.efs-row--narrow{max-width:780px;}
body.efs-site .efs-center,body.efs-site .efs-center .et_pb_text_inner,body.efs-site .efs-center .et_pb_heading_container{text-align:center;}
body.efs-site .et_pb_module{margin-bottom:0;}
body.efs-site .efs-col > .et_pb_module + .et_pb_module{margin-top:20px;}

/* Filas flexibles: tarjetas, ventajas, pasos y columnas centradas verticalmente */
@media (min-width:981px){
	body.efs-site .et_pb_row.efs-row{display:flex;gap:48px;align-items:stretch;}
	body.efs-site .et_pb_row.efs-row::after{display:none;}
	body.efs-site .et_pb_row.efs-row > .et_pb_column{margin-right:0!important;float:none;flex:1 1 0;min-width:0;}
	body.efs-site .et_pb_row.efs-row > .et_pb_column_2_3{flex:2 1 0;}
	body.efs-site .et_pb_row.efs-cards,body.efs-site .et_pb_row.efs-steps,body.efs-site .et_pb_row.efs-highlights__row{gap:28px;}
	body.efs-site .efs-vcenter{display:flex;flex-direction:column;justify-content:center;}
}

/* ---------- Tipografía de módulos ---------- */
body.efs-site .efs-h h1.et_pb_module_header{font-size:clamp(34px,4.6vw,58px);line-height:1.1;}
body.efs-site .efs-h h2.et_pb_module_header{font-size:clamp(28px,3.2vw,42px);}
body.efs-site .efs-h--sm h2.et_pb_module_header{font-size:26px;}
body.efs-site .efs-sec--dark .efs-h .et_pb_module_header,body.efs-site .efs-cta .efs-h .et_pb_module_header{color:#fff;}
body.efs-site .efs-eyebrow p{font-size:13px;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:var(--efs-gold-2);}
body.efs-site .efs-eyebrow--light p{color:var(--efs-gold);}
body.efs-site .efs-col > .efs-eyebrow + .et_pb_module{margin-top:12px;}
body.efs-site .efs-lead p{font-size:19px;line-height:1.65;color:var(--efs-muted);}
body.efs-site .efs-lead--light p{color:rgba(255,255,255,.82);}
body.efs-site .efs-sec--dark .efs-text p{color:rgba(255,255,255,.78);}

/* Listas con check */
body.efs-site ul.efs-checks{list-style:none;padding:0;margin:22px 0 0;}
body.efs-site ul.efs-checks li{position:relative;padding:6px 0 6px 34px;}
body.efs-site ul.efs-checks li::before{content:"";position:absolute;left:0;top:11px;width:20px;height:20px;border-radius:50%;background:var(--efs-navy) no-repeat center/12px
	url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B89B5E' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L19 7'/%3E%3C/svg%3E");}
@media (min-width:768px){ body.efs-site .efs-twocol-list ul.efs-checks{columns:2;column-gap:28px;} body.efs-site .efs-twocol-list ul.efs-checks li{break-inside:avoid;} }

/* ---------- Botones ---------- */
body.efs-site .et_pb_button_module_wrapper{display:inline-block;margin:28px 12px 0 0!important;}
body #page-container .et_pb_section .et_pb_button.efs-btn{font-family:var(--efs-font);font-size:16px;font-weight:600;letter-spacing:0;line-height:1.2;
	padding:16px 30px!important;border-radius:999px;border:2px solid var(--efs-navy);background:var(--efs-navy);color:#fff;transition:all .25s ease;}
body #page-container .et_pb_section .et_pb_button.efs-btn:hover{background:var(--efs-navy-2);border-color:var(--efs-navy-2);color:#fff;padding:16px 30px!important;transform:translateY(-2px);box-shadow:0 10px 24px rgba(14,34,56,.18);}
body #page-container .et_pb_section .et_pb_button.efs-btn::after{display:none;}
body #page-container .et_pb_section .et_pb_button.efs-btn--gold{background:var(--efs-gold);border-color:var(--efs-gold);color:var(--efs-navy-3);}
body #page-container .et_pb_section .et_pb_button.efs-btn--gold:hover{background:#C9AE74;border-color:#C9AE74;color:var(--efs-navy-3);}
body #page-container .et_pb_section .et_pb_button.efs-btn--ghost{background:transparent;border-color:rgba(255,255,255,.55);color:#fff;}
body #page-container .et_pb_section .et_pb_button.efs-btn--ghost:hover{background:#fff;border-color:#fff;color:var(--efs-navy);}
body.efs-site .efs-center .et_pb_button_module_wrapper{margin-left:6px!important;margin-right:6px!important;}
body.efs-site .efs-link{font-weight:600;text-decoration:none;color:var(--efs-navy);}
body.efs-site .efs-link::after{content:" →";color:var(--efs-gold-2);transition:margin .2s;}
body.efs-site .efs-link:hover::after{margin-left:4px;}

/* ---------- Cabecera ---------- */
body.efs-site #main-header{box-shadow:0 1px 0 var(--efs-line);}
body.efs-site #main-header.et-fixed-header{box-shadow:0 6px 24px rgba(14,34,56,.08)!important;}
body.efs-site #logo{max-height:64%;}
body.efs-site #top-menu li a{font-size:15px;font-weight:500;color:var(--efs-navy-2);}
body.efs-site #top-menu li.current-menu-item > a{color:var(--efs-gold-2)!important;}
body.efs-site #top-menu li{padding-right:30px;}
body.efs-site #top-menu li.efs-menu-cta{padding-right:0;}
body.efs-site #top-menu li.efs-menu-cta > a{background:var(--efs-navy);color:#fff!important;padding:12px 24px!important;border-radius:999px;margin-top:-12px;}
body.efs-site #top-menu li.efs-menu-cta > a:hover{background:var(--efs-gold);color:var(--efs-navy-3)!important;opacity:1;}
body.efs-site #main-header.et-fixed-header #top-menu li.efs-menu-cta > a{padding:12px 24px!important;}
body.efs-site .et_mobile_menu{border-top-color:var(--efs-gold);}
body.efs-site .mobile_menu_bar::before{color:var(--efs-navy);}
body.efs-site .et_mobile_menu li.efs-menu-cta a{background:var(--efs-navy);color:#fff;border-radius:8px;text-align:center;margin-top:8px;}

/* ---------- Hero y cabeceras de página ---------- */
body.efs-site .et_pb_section.efs-hero,body.efs-site .et_pb_section.efs-pagehero{background-size:cover;background-position:center;position:relative;overflow:hidden;}
body.efs-site .et_pb_section.efs-hero::before,body.efs-site .et_pb_section.efs-pagehero::before{content:"";position:absolute;inset:0;z-index:1;
	background:linear-gradient(100deg,rgba(11,27,45,.94) 0%,rgba(14,34,56,.86) 45%,rgba(14,34,56,.55) 100%);}
body.efs-site .efs-hero .et_pb_row,body.efs-site .efs-pagehero .et_pb_row{z-index:2;}
body.efs-site .et_pb_section.efs-hero{min-height:88vh;display:flex;align-items:center;padding:140px 0 110px;}
body.efs-site .et_pb_section.efs-hero > .et_pb_row{width:88%;}
body.efs-site .efs-hero__content{max-width:760px;}
body.efs-site .efs-hero .efs-hero__title h1,body.efs-site .efs-pagehero .efs-hero__title h1{color:#fff;}
body.efs-site .efs-hero__tags p{display:flex;flex-wrap:wrap;gap:10px 22px;margin-top:14px;}
body.efs-site .efs-hero__tags span{font-size:14px;color:rgba(255,255,255,.8);position:relative;padding-left:18px;}
body.efs-site .efs-hero__tags span::before{content:"";position:absolute;left:0;top:50%;width:7px;height:7px;border-radius:50%;background:var(--efs-gold);transform:translateY(-50%);}
body.efs-site .et_pb_section.efs-pagehero{padding:120px 0 90px;}
body.efs-site .efs-pagehero__content{max-width:720px;}

/* ---------- Ventajas (bajo el hero) ---------- */
body.efs-site .et_pb_section.efs-highlights{padding:0;background:transparent;margin-top:-64px;z-index:5;}
body.efs-site .efs-highlights__row{background:#fff;border-radius:var(--efs-radius);box-shadow:var(--efs-shadow);padding:36px 40px!important;}

/* ---------- Blurbs ---------- */
body.efs-site .efs-blurb .et_pb_main_blurb_image{margin-bottom:18px;}
body.efs-site .efs-blurb .et-pb-icon{font-size:22px!important;color:var(--efs-gold)!important;width:52px;height:52px;line-height:52px;text-align:center;border-radius:12px;background:var(--efs-navy);display:inline-block;}
body.efs-site .efs-blurb h3.et_pb_module_header{font-size:19px;margin-bottom:8px;padding:0;}
body.efs-site .efs-blurb .et_pb_blurb_description p{color:var(--efs-muted);font-size:16px;line-height:1.6;}
body.efs-site .et_pb_blurb.efs-blurb .et_pb_blurb_content{max-width:none;text-align:left;margin:0;}
body.efs-site .efs-blurb--mini .et-pb-icon{width:44px;height:44px;line-height:44px;font-size:18px!important;border-radius:10px;}
body.efs-site .efs-blurb--mini h3.et_pb_module_header{font-size:17px;}
body.efs-site .efs-blurb--mini .et_pb_blurb_description p{font-size:15px;}
/* Blurb en fila: icono a la izquierda */
body.efs-site .efs-blurb--row .et_pb_blurb_content{display:flex;gap:18px;align-items:flex-start;}
body.efs-site .efs-blurb--row .et_pb_main_blurb_image{margin:0;flex:0 0 auto;width:auto;}
body.efs-site .efs-col > .efs-blurb--row + .efs-blurb--row{margin-top:26px;}
body.efs-site .efs-col > .efs-h + .efs-blurb--row{margin-top:30px;}
body.efs-site .efs-blurb--contact .et-pb-icon{width:44px;height:44px;line-height:44px;font-size:17px!important;}
body.efs-site .efs-blurb--contact h3.et_pb_module_header{font-size:15px;text-transform:uppercase;letter-spacing:.08em;color:var(--efs-muted);margin-bottom:2px;}
body.efs-site .efs-blurb--contact .et_pb_blurb_description p{color:var(--efs-navy);font-size:16px;font-weight:500;}
body.efs-site .efs-blurb--contact a{color:var(--efs-navy);text-decoration:none;}

/* Tarjetas */
body.efs-site .et_pb_column.efs-card{background:#fff;border:1px solid var(--efs-line);border-radius:var(--efs-radius);padding:36px 32px;transition:transform .25s,box-shadow .25s,border-color .25s;display:flex;flex-direction:column;}
body.efs-site .et_pb_column.efs-card:hover{transform:translateY(-4px);box-shadow:var(--efs-shadow);border-color:transparent;}
body.efs-site .et_pb_column.efs-card > .efs-text:last-child{margin-top:auto;padding-top:18px;}
body.efs-site .efs-sec--alt .et_pb_column.efs-card{border-color:transparent;}

/* ---------- Imágenes ---------- */
body.efs-site .efs-img img,body.efs-site .efs-img .et_pb_image_wrap{border-radius:var(--efs-radius);width:100%;display:block;}
body.efs-site .efs-img img{aspect-ratio:4/3;object-fit:cover;}
body.efs-site .efs-img .et_pb_image_wrap{box-shadow:var(--efs-shadow);overflow:hidden;}
body.efs-site .efs-media{position:relative;}

/* ---------- Pasos ---------- */
body.efs-site .efs-step{border-top:1px solid rgba(255,255,255,.16);padding-top:26px;}
body.efs-site .efs-step .efs-step__n{display:block;font-size:40px;font-weight:700;color:var(--efs-gold);line-height:1;margin-bottom:16px;letter-spacing:-.03em;}
body.efs-site .efs-step h3{color:#fff;font-size:20px;margin-bottom:8px;}
body.efs-site .efs-step p{color:rgba(255,255,255,.72)!important;font-size:16px;line-height:1.6;}

/* ---------- CTA ---------- */
body.efs-site .et_pb_section.efs-cta{padding:0 0 96px;background:transparent;}
body.efs-site .efs-sec--alt + .efs-cta{background:var(--efs-bg);}
body.efs-site .efs-cta__box{background:var(--efs-navy) radial-gradient(circle at 85% 20%,rgba(184,155,94,.22),transparent 45%);border-radius:24px;padding:72px 48px!important;}
body.efs-site .efs-cta__box .efs-col{max-width:720px;margin:0 auto!important;}

/* ---------- Subnavegación de servicios ---------- */
body.efs-site .et_pb_section.efs-subnav__sec{padding:0;background:#fff;border-bottom:1px solid var(--efs-line);position:sticky;top:0;z-index:20;}
body.efs-site .efs-subnav p{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;padding:18px 0;}
body.efs-site .efs-subnav a{padding:8px 18px;border-radius:999px;font-size:15px;font-weight:500;text-decoration:none;color:var(--efs-navy-2);border:1px solid var(--efs-line);}
body.efs-site .efs-subnav a:hover{background:var(--efs-navy);border-color:var(--efs-navy);color:#fff;}
body.efs-site [id]{scroll-margin-top:110px;}

/* ---------- FAQ ---------- */
body.efs-site .efs-faq .et_pb_toggle{border:1px solid var(--efs-line);border-radius:12px;background:#fff;padding:22px 26px;margin-bottom:12px;}
body.efs-site .efs-faq .et_pb_toggle_open{border-color:var(--efs-navy);box-shadow:var(--efs-shadow);}
body.efs-site .efs-faq .et_pb_toggle_title{font-size:17px;font-weight:600;color:var(--efs-navy);padding-right:36px;}
body.efs-site .efs-faq .et_pb_toggle_title::before{color:var(--efs-gold-2);right:0;}
body.efs-site .efs-faq .et_pb_toggle_content{padding-top:12px;color:var(--efs-muted);}

/* ---------- Contacto ---------- */
body.efs-site .et_pb_section.efs-contact{padding-top:80px;}
body.efs-site .et_pb_column.efs-contact-info{background:var(--efs-bg);border-radius:var(--efs-radius);padding:40px 34px;}
body.efs-site .et_pb_column.efs-form-card{background:#fff;border:1px solid var(--efs-line);border-radius:var(--efs-radius);padding:44px 44px;box-shadow:var(--efs-shadow);}
body.efs-site .efs-form .et_pb_contact_form{display:flex;flex-wrap:wrap;gap:18px 20px;margin:0!important;}
body.efs-site .efs-form .et_pb_contact_field{width:100%!important;margin:0!important;padding:0!important;float:none!important;}
@media (min-width:768px){ body.efs-site .efs-form .et_pb_contact_field.efs-field--half{width:calc(50% - 10px)!important;} }
body.efs-site .efs-form .et_pb_contact_form_label{display:block!important;font-size:14px;font-weight:600;color:var(--efs-navy);margin-bottom:6px;}
body.efs-site .efs-form .input,body.efs-site .efs-form select.input,body.efs-site .efs-form textarea.input{background:#fff!important;border:1px solid #CFD5DE!important;border-radius:10px!important;padding:14px 16px!important;font-size:16px!important;color:var(--efs-text)!important;width:100%;transition:border-color .2s,box-shadow .2s;}
body.efs-site .efs-form textarea.input{min-height:150px;}
body.efs-site .efs-form .input:focus{border-color:var(--efs-navy)!important;box-shadow:0 0 0 3px rgba(14,34,56,.12);outline:none;}
body.efs-site .efs-form .input::placeholder{color:#8A93A3;}
body.efs-site .efs-form .efs-field--privacy .et_pb_contact_form_label{display:none!important;}
body.efs-site .efs-form .et_pb_contact_field_checkbox label{font-size:15px;color:var(--efs-muted);}
body.efs-site .efs-form .et_pb_contact_field_checkbox label i{border:1px solid #CFD5DE;border-radius:4px;background:#fff!important;}
body.efs-site .efs-form .et_contact_bottom_container{width:100%;margin:6px 0 0;float:none;justify-content:flex-start;display:flex;align-items:center;gap:16px;}
body.efs-site .efs-form .et_pb_contact_submit.et_pb_button{background:var(--efs-navy)!important;color:#fff!important;border:0!important;border-radius:999px!important;padding:15px 34px!important;font-size:16px!important;font-weight:600;margin:0!important;}
body.efs-site .efs-form .et_pb_contact_submit.et_pb_button:hover{background:var(--efs-gold)!important;color:var(--efs-navy-3)!important;}
body.efs-site .efs-form .et_pb_contact_submit.et_pb_button::after{display:none;}
body.efs-site .efs-legal-note p{font-size:13px;line-height:1.55;color:var(--efs-muted);}
body.efs-site .efs-col > .efs-form + .efs-legal-note{margin-top:22px;}

/* ---------- Pie ---------- */
body.efs-site #main-footer{background:var(--efs-navy-3);}
body.efs-site #footer-bottom{display:none;}
.efs-footer{color:rgba(255,255,255,.72);font-size:15px;}
.efs-footer__inner{width:88%;max-width:1200px;margin:0 auto;}
.efs-footer > .efs-footer__inner{display:grid;grid-template-columns:1.4fr 1fr 1.2fr 1.1fr;gap:48px;padding:80px 0 56px;}
.efs-footer h4{color:#fff;font-size:15px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;margin-bottom:18px;}
.efs-footer ul{list-style:none;padding:0;margin:0;}
.efs-footer li{padding:5px 0;}
.efs-footer a{color:rgba(255,255,255,.8)!important;text-decoration:none;}
.efs-footer a:hover{color:var(--efs-gold)!important;}
.efs-footer__logo img{height:44px;width:auto;margin-bottom:18px;}
.efs-footer__brand p{max-width:340px;line-height:1.65;}
.efs-footer__btn{display:inline-block;margin-top:16px;padding:12px 24px;border-radius:999px;background:var(--efs-gold);color:var(--efs-navy-3)!important;font-weight:600;}
.efs-footer__btn:hover{background:#fff;color:var(--efs-navy)!important;}
.efs-footer__bottom{border-top:1px solid rgba(255,255,255,.1);padding:22px 0;font-size:14px;}
.efs-footer__bottom .efs-footer__inner{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;}
.efs-footer__legal ul{display:flex;flex-wrap:wrap;gap:6px 22px;}
.efs-footer__legal li{padding:0;}

/* ---------- Páginas legales (sin Divi) ---------- */
body.efs-site:not(.et_pb_pagebuilder_layout) #main-content .container{max-width:860px;padding-top:70px;padding-bottom:70px;}
body.efs-site:not(.et_pb_pagebuilder_layout) #main-content .container::before{display:none;}
body.efs-site:not(.et_pb_pagebuilder_layout) h1.entry-title{font-size:40px;margin-bottom:28px;}

/* ---------- Responsive ---------- */
@media (max-width:980px){
	body.efs-site .et_pb_section.efs-sec{padding:72px 0;}
	body.efs-site .et_pb_row.efs-row > .et_pb_column{margin-bottom:28px;}
	body.efs-site .et_pb_row.efs-row > .et_pb_column:last-child{margin-bottom:0;}
	body.efs-site .efs-row--reverse-mobile{display:flex;flex-direction:column-reverse;}
	body.efs-site .efs-row--reverse-mobile > .et_pb_column:last-child{margin-bottom:28px;}
	body.efs-site .efs-row--reverse-mobile > .et_pb_column:first-child{margin-bottom:0;}
	body.efs-site .et_pb_section.efs-hero{min-height:auto;padding:120px 0 120px;}
	body.efs-site .et_pb_section.efs-highlights{margin-top:-56px;}
	body.efs-site .efs-highlights__row{padding:28px 26px!important;}
	body.efs-site .efs-cta__box{padding:52px 26px!important;}
	body.efs-site .et_pb_column.efs-form-card{padding:30px 22px;}
	body.efs-site .efs-subnav__sec{position:relative!important;}
	.efs-footer > .efs-footer__inner{grid-template-columns:1fr 1fr;gap:36px;padding:60px 0 40px;}
}
@media (max-width:600px){
	body.efs-site{font-size:16px;}
	body.efs-site .efs-lead p{font-size:17px;}
	.efs-footer > .efs-footer__inner{grid-template-columns:1fr;}
	body.efs-site .et_pb_button_module_wrapper{display:block;margin-right:0!important;}
	body #page-container .et_pb_section .et_pb_button.efs-btn{display:block;text-align:center;}
}
@media (prefers-reduced-motion:reduce){ *{transition:none!important;scroll-behavior:auto!important;} }

/* Ajustes */
body.efs-site .efs-footer h4{color:#fff;}
body.efs-site .et_pb_row.efs-cta__box{justify-content:center;}
body.efs-site .efs-cta__box > .et_pb_column{flex:0 1 720px!important;}
body.efs-site .efs-h .et_pb_module_header{margin-bottom:0;}
body.efs-site .efs-form .et_contact_bottom_container .et_pb_contact_right{width:auto!important;display:flex;align-items:center;}
body.efs-site .efs-form .et_pb_contact_right label{display:flex;align-items:center;gap:8px;font-weight:600;color:var(--efs-navy);white-space:nowrap;}
body.efs-site .efs-form .et_pb_contact_right .et_pb_contact_captcha{width:70px!important;text-align:center;padding:12px 8px!important;}
body.efs-site .efs-form .et_pb_contact_submit.et_pb_button{white-space:nowrap;}
body.efs-site .efs-form .efs-field--privacy > label,body.efs-site .efs-form .efs-field--privacy .et_pb_contact_field_options_title{display:none!important;}
body.efs-site .efs-col > .efs-h + .et_pb_module{margin-top:18px;}
body.efs-site .et_pb_heading.efs-h{margin-bottom:0!important;padding-bottom:0!important;}
body.efs-site #page-container .efs-form .efs-field--privacy > label.et_pb_contact_form_label{display:none!important;}
