/*
 Theme Name:   Euro Seniors Club – Divi Child
 Description:  Tema hijo de Divi para Euro Seniors Club
 Author:       WorkSpace Coworking Almería
 Author URI:   https://workspace.es
 Template:     Divi
 Version:      1.1.0
 Text Domain:  divi-child
*/

/* =========================================================
   1. Variables y base
   ========================================================= */
:root{
	--esc-ink:#202224;
	--esc-ink2:#34383b;
	--esc-gold:#b89352;
	--esc-gold-dark:#9d7e32;
	--esc-cream:#f4f1ea;
	--esc-paper:#fbfaf7;
	--esc-muted:#6f716f;
	--esc-line:#ddd7cc;
}
body{color:var(--esc-ink);font-family:Arial,Helvetica,sans-serif;font-size:15px;line-height:1.6}
body,#page-container{background:#fff}
#main-content .container:before{display:none}
h1,h2,h3,h4,h5,h6,
.et_pb_module h1,.et_pb_module h2,.et_pb_module h3,.et_pb_module h4{
	font-family:Georgia,"Times New Roman",serif;font-weight:400;color:inherit;padding-bottom:0}
h1,.et_pb_module h1{font-size:62px;line-height:1.04;margin:0 0 .3em}
h2,.et_pb_module h2{font-size:45px;line-height:1.12;margin:0 0 .45em}
h3,.et_pb_module h3{line-height:1.25}
a{color:inherit}
.et_pb_text a:hover{color:var(--esc-gold)}
p{padding-bottom:1em}
p:last-of-type{padding-bottom:0}

/* Ancho de contenido como el borrador */
.et_pb_row{width:92%;max-width:1200px}
.et_pb_section{padding:76px 0}
.et_pb_row{padding:0}
.et_pb_row + .et_pb_row{padding-top:30px}

/* Tipos de texto del borrador */
.kicker{letter-spacing:2.7px;text-transform:uppercase;font-size:11px;color:var(--esc-gold);font-weight:bold;margin-bottom:12px;line-height:1.5}
.lead{font-family:Georgia,serif;font-size:20px;line-height:1.55}
.copy{max-width:880px;font-family:Georgia,serif;font-size:19px;line-height:1.72}
.small,p.small{font-size:12px;color:var(--esc-muted);line-height:1.6}

/* Fondos de sección (también se pueden elegir en Divi) */
.esc-cream{background-color:var(--esc-cream)!important}
.esc-paper{background-color:var(--esc-paper)!important}
.esc-dark{background-color:var(--esc-gold)!important;color:#fff}
.esc-dark h1,.esc-dark h2,.esc-dark h3{color:#fff}
.esc-dark .kicker,.esc-pagehero .kicker{color:#2d2a25}
.esc-dark .lead{color:#fff}

/* =========================================================
   2. Botones (módulo Botón de Divi y enlaces .btn)
   ========================================================= */
.btn,
body #page-container .et_pb_button.esc-btn,
body #page-container .et_pb_contact_form_container .et_pb_contact_submit{
	display:inline-block;background:var(--esc-gold);color:#fff!important;padding:14px 21px!important;
	letter-spacing:1.1px;font-size:11px!important;line-height:1.3!important;text-transform:uppercase;
	border:1px solid var(--esc-gold)!important;border-radius:0!important;font-family:Arial,Helvetica,sans-serif!important;font-weight:400}
body #page-container .et_pb_button.esc-btn:after,
body #page-container .et_pb_contact_submit:after{display:none}
body #page-container .et_pb_button.esc-btn:hover{background:var(--esc-gold-dark);border-color:var(--esc-gold-dark)!important;padding:14px 21px!important}
.btn.outline,body #page-container .et_pb_button.esc-btn.esc-outline{background:transparent;color:var(--esc-ink)!important;border-color:#aaa!important}
.btn.outline:hover,body #page-container .et_pb_button.esc-btn.esc-outline:hover{background:transparent;border-color:var(--esc-gold)!important;color:var(--esc-gold)!important}
body #page-container .et_pb_button.esc-btn.esc-light{background:transparent;color:#fff!important;border-color:#fff!important}
body #page-container .et_pb_button.esc-btn.esc-light:hover{background:rgba(255,255,255,.12)}
body #page-container .et_pb_button.esc-btn.esc-light-muted{background:transparent;color:#fff!important;border-color:#777!important}
/* Botones en línea uno al lado de otro */
.et_pb_button_module_wrapper.esc-inline{display:inline-block;margin:16px 8px 0 0!important}
.et_pb_button_module_wrapper.esc-stack{margin:0 0 10px!important}

/* =========================================================
   3. Cabecera
   ========================================================= */
#main-header{box-shadow:none!important;border-bottom:1px solid #ebe6dd;background:rgba(255,255,255,.97)!important}
#main-header .container{width:92%;max-width:1200px}
#logo{max-height:54px!important;width:auto;height:auto;vertical-align:middle}
.logo_container a{display:inline-flex;align-items:center;height:100%;vertical-align:middle}
.logo_helper{display:none}
#top-menu li a{font-size:13px;font-weight:400;color:var(--esc-ink)!important;letter-spacing:0}
#top-menu li.current-menu-item>a,#top-menu li a:hover{color:var(--esc-gold)!important;opacity:1!important}
#top-menu li{padding-right:27px}
#top-menu li:last-child{padding-right:0}
.et_header_style_left #et-top-navigation{padding-top:33px!important}
.et_header_style_left .logo_container{height:84px}
.et_header_style_left #et-top-navigation nav>ul>li>a{padding-bottom:33px!important}
.et-fixed-header#main-header #logo{max-height:44px!important}
@media (max-width:1180px){#top-menu li{padding-right:18px}}
@media (max-width:980px){
	.et_header_style_left .logo_container{height:70px}
	#logo{max-height:44px!important}
	.mobile_menu_bar:before{color:var(--esc-gold)!important}
	.et_mobile_menu{border-top-color:var(--esc-gold)!important}
}

/* =========================================================
   4. Pie
   ========================================================= */
#main-footer{background:var(--esc-gold)!important}
#footer-bottom{background:transparent!important;padding:44px 0!important;text-align:center}
#footer-bottom .container{width:92%;max-width:1200px}
#footer-info{float:none!important;text-align:center!important;color:#fff!important;padding:0;font-size:15px}
#footer-info a{color:#fff!important}
#footer-info .brandfoot{display:flex;justify-content:center;align-items:center;gap:10px;font-family:Georgia,serif;font-size:24px;margin-bottom:12px}
#footer-info .brandfoot img{width:30px;height:auto}
#footer-bottom .et-social-icons{display:none}

/* =========================================================
   5. Cabeceras de página
   ========================================================= */
/* Portada con imagen y degradado lateral */
.et_pb_section.esc-hero{min-height:620px;display:flex;align-items:center;position:relative;color:#fff;padding:60px 0}
.esc-hero:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(20,22,24,.83),rgba(20,22,24,.18));z-index:0}
.esc-hero .et_pb_row{position:relative;z-index:1}
.esc-hero .et_pb_column{max-width:800px}
.esc-hero h1{color:#fff}
.esc-hero .lead{color:#fff}

/* Cabecera dorada de páginas interiores */
.et_pb_section.esc-pagehero{background-color:var(--esc-gold);color:#fff;padding:100px 0}
.esc-pagehero h1{font-size:54px;color:#fff}
.esc-pagehero .lead{color:#fff}

/* Cabecera de proyecto con degradado inferior */
.et_pb_section.esc-projhero{min-height:530px;display:flex;align-items:flex-end;position:relative;color:#fff;padding:0}
.esc-projhero:before{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(20,22,24,.82),rgba(20,22,24,.08));z-index:0}
.esc-projhero .et_pb_row{position:relative;z-index:1;padding:50px 0!important}
.esc-projhero h1{font-size:58px;color:#fff}
.esc-projhero .lead,.esc-projhero p{color:#fff}
.esc-projhero .price{font-family:Georgia,serif;font-size:34px;margin-top:16px}

/* =========================================================
   6. Bloques del borrador
   ========================================================= */
/* Cuatro pasos / características */
.esc-features{gap:0}
.esc-feature{text-align:center;padding:24px 18px;border-right:1px solid var(--esc-line);height:100%}
.et_pb_column:last-child .esc-feature{border-right:0}
.esc-feature h3{letter-spacing:1.5px;font-size:11px!important;font-family:Arial,Helvetica,sans-serif!important;font-weight:bold!important;margin:0 0 10px}
.esc-feature p{color:var(--esc-muted);line-height:1.6;font-size:14px}
.esc-row-features .et_pb_column{margin-right:0!important;width:25%!important}
.esc-row-features{margin-top:20px}

/* Tarjetas con foto (portada) */
.et_pb_text.esc-card{min-height:390px;background-size:cover;background-position:center;position:relative;color:#fff;display:flex;align-items:flex-end;padding:24px;cursor:pointer;margin-bottom:0}
.esc-card:before{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(20,22,24,.78),transparent 66%)}
.esc-card .et_pb_text_inner{position:relative}
.esc-card h3{font-family:Georgia,serif;font-size:30px!important;margin:0 0 6px;color:#fff}
.esc-card p{color:#fff}
.esc-row-projects{display:grid!important;grid-template-columns:.75fr 1fr 1fr;gap:18px}
.esc-row-projects .et_pb_column{width:auto!important;margin:0!important}
.esc-row-projects .et_pb_column .et_pb_module:last-child{margin-bottom:0}

/* Imagen de bloque dividido */
.esc-cover img,.esc-cover .et_pb_image_wrap{width:100%;height:470px;object-fit:cover;display:block}
.esc-cover .et_pb_image_wrap{display:block}
.esc-split{display:flex!important;align-items:center}
.esc-split .et_pb_column{float:none}

/* Fila de datos */
.esc-info-row{border:1px solid var(--esc-line);display:grid!important;grid-template-columns:repeat(4,1fr)}
.esc-info-row .et_pb_column{width:auto!important;margin:0!important;padding:22px;border-right:1px solid var(--esc-line)}
.esc-info-row .et_pb_column:last-child{border-right:0}
.esc-info b{display:block;font-family:Georgia,serif;color:var(--esc-gold);font-size:27px;font-weight:400;line-height:1.3}
.esc-info span{font-size:10px;text-transform:uppercase;letter-spacing:1px;color:var(--esc-muted)}

/* Fichas (módulo Propaganda / Blurb) */
.esc-tiles{display:grid!important;grid-template-columns:repeat(3,1fr);gap:18px}
.esc-tiles.esc-two{grid-template-columns:repeat(2,1fr)}
.esc-tiles .et_pb_column{width:auto!important;margin:0!important}
.et_pb_blurb.esc-tile{border:1px solid var(--esc-line);background:#fff;transition:.2s;margin:0!important;height:100%}
.et_pb_blurb.esc-tile:hover{transform:translateY(-3px);box-shadow:0 10px 30px rgba(0,0,0,.08)}
.esc-tile .et_pb_main_blurb_image{margin:0!important;width:100%;max-width:none!important}
.esc-tile .et_pb_main_blurb_image .et_pb_image_wrap,.esc-tile .et_pb_main_blurb_image img{width:100%;max-width:none}
.esc-tile .et_pb_main_blurb_image img{height:235px;object-fit:cover;display:block}
.esc-tile .et_pb_blurb_container{padding:18px}
.esc-tile h4.et_pb_module_header{font-family:Georgia,serif;font-size:24px;font-weight:400;margin:0 0 5px;padding:0;line-height:1.25}
.esc-tile .et_pb_blurb_description p,.esc-tile .et_pb_blurb_description{color:var(--esc-muted);font-size:13px;line-height:1.55}
.esc-tile .price{font-family:Georgia,serif;font-size:24px;color:var(--esc-ink);margin-top:14px}
.esc-tile .btn{margin-top:14px}
.esc-tile.esc-plan .et_pb_main_blurb_image img{height:360px;object-fit:contain;background:var(--esc-cream)}

/* Galerías */
.esc-gallery .et_pb_gallery_items{display:grid!important;grid-template-columns:repeat(3,1fr);gap:12px}
.esc-gallery .et_pb_gallery_item{width:auto!important;margin:0!important;clear:none!important;float:none!important}
.esc-gallery .et_pb_gallery_image img{width:100%;height:290px;object-fit:cover}
.esc-gallery .et_pb_gallery_pagination{display:none}
/* Galería de proyecto: primera foto grande */
.esc-photogrid .et_pb_gallery_items{display:grid!important;grid-template-columns:2fr 1fr 1fr;gap:12px}
.esc-photogrid .et_pb_gallery_item{width:auto!important;margin:0!important;clear:none!important;float:none!important}
.esc-photogrid .et_pb_gallery_image img{width:100%;height:300px;object-fit:cover}
.esc-photogrid .et_pb_gallery_item:first-child{grid-row:span 2}
.esc-photogrid .et_pb_gallery_item:first-child img{height:612px}
.esc-photogrid .et_pb_gallery_pagination{display:none}
.et_pb_gallery_image .et_overlay{display:none}

/* Tarjetas de calidades */
.esc-qrow{display:grid!important;grid-template-columns:repeat(4,1fr);gap:14px}
.esc-qrow .et_pb_column{width:auto!important;margin:0!important}
.esc-qcard{background:#fff;border:1px solid var(--esc-line);padding:22px;min-height:145px;height:100%;margin:0!important}
.esc-qcard .qnum{font-size:10px;letter-spacing:1.4px;color:#a88755;text-transform:uppercase}
.esc-qcard h3{font-family:Georgia,serif;font-weight:400;font-size:21px!important;margin:7px 0}
.esc-qcard p{font-size:13px;line-height:1.55;color:#666;margin:0}
.esc-qvisual img,.esc-qvisual .et_pb_image_wrap{width:100%;height:300px;object-fit:cover;display:block}

/* Memoria completa (módulo Conmutador / Toggle) */
.et_pb_toggle.esc-toggle{background:transparent!important;border:0;border-top:1px solid var(--esc-line);padding:22px 0 0}
.esc-toggle .et_pb_toggle_title{color:#a88755!important;text-transform:uppercase;letter-spacing:1.2px;font-size:12px!important;font-weight:bold;font-family:Arial,Helvetica,sans-serif!important;padding-right:30px}
.esc-toggle .et_pb_toggle_title:before{color:#a88755}
.qcols{columns:2;column-gap:44px;margin-top:26px}
.qblock{break-inside:avoid;margin:0 0 26px}
.qblock h3{font-family:Georgia,serif;font-weight:400;font-size:22px!important;margin:0 0 8px}
.qblock p{font-size:14px;line-height:1.65;color:#555;margin:0}
.qlegal{font-size:10px;line-height:1.55;color:#777;border-top:1px solid var(--esc-line);padding-top:18px;margin-top:24px}

/* Recuadro discontinuo */
.placeholder{border:1px dashed #b5aa99;padding:28px;background:#faf7f0;color:#72695d}
.placeholder strong{color:var(--esc-gold)}
.esc-video-ph{border:1px dashed #b5aa99;background:#faf7f0;color:#72695d;aspect-ratio:16/9;display:flex;align-items:center;justify-content:center;text-align:center;padding:20px}

/* Mapas */
.esc-map iframe{width:100%;height:350px;border:0;display:block}
.esc-mapbox{border:1px solid var(--esc-line);display:grid!important;grid-template-columns:1.1fr .9fr;background:#fff}
.esc-mapbox .et_pb_column{width:auto!important;margin:0!important}
.esc-mapbox .mapcopy{padding:34px}
.esc-mapbox h3{font-size:28px!important}

/* Localización premium Chafarinas */
.esc-loc{border:1px solid var(--esc-line);background:#fff}
.esc-loc-head{text-align:center;padding:32px 20px 27px;background:#f8f6f0}
.esc-loc-head .kicker{color:#9b7b35;letter-spacing:3px}
.esc-loc-head h3{font-size:48px!important;margin:10px 0 5px;color:#252525}
.esc-loc-head p{font-size:16px;color:#454545}
.esc-loc-head .tag{display:inline-block;margin-top:17px;color:#8a743e;font-size:13px}
.esc-loc-map iframe{width:100%;height:440px;border:0;display:block}
.esc-loc-bottom{display:grid!important;grid-template-columns:.85fr 1.15fr;border:1px solid var(--esc-line);border-top:0}
.esc-loc-bottom .et_pb_column{width:auto!important;margin:0!important;padding:38px 40px}
.esc-loc-bottom .et_pb_column:first-child{background:#faf9f5}
.esc-loc-bottom h4{font:normal 28px/1.25 Georgia,serif;margin:13px 0 17px}
.esc-loc-bottom p{font-size:15px;line-height:1.75;color:#555}
.esc-loc-row-top{border:1px solid var(--esc-line);border-bottom:0}

/* Panel de contacto dorado */
.esc-contact-panel{background:var(--esc-gold);color:#fff;padding:38px 42px!important;display:grid!important;grid-template-columns:1fr auto;gap:50px;align-items:center;margin-top:58px}
.esc-contact-panel .et_pb_column{width:auto!important;margin:0!important}
.esc-contact-panel h2{font-size:38px;color:#fff}
.esc-contact-panel p{color:#f3efe6}
.esc-contact-panel .kicker{color:#2d2a25}

/* Formulario de contacto */
.esc-formbox{background:var(--esc-paper);padding:35px!important;border:1px solid var(--esc-line)}
.esc-form .et_pb_contact_field input,.esc-form .et_pb_contact_field textarea,.esc-form .et_pb_contact_field select{background:#fff!important;border:1px solid var(--esc-line)!important;color:var(--esc-ink)!important;font-size:14px;padding:12px!important}
.esc-form .et_pb_contact_field_options_title,.esc-form label{font-size:13px;color:var(--esc-ink)}
.esc-form .et_contact_bottom_container{float:none;text-align:left;margin-top:10px}

/* =========================================================
   7. Móvil
   ========================================================= */
@media (max-width:980px){
	h1,.et_pb_module h1{font-size:44px}
	h2,.et_pb_module h2{font-size:34px}
	.esc-pagehero h1{font-size:40px}
	.esc-projhero h1{font-size:42px}
	.et_pb_section.esc-hero{min-height:550px}
	.et_pb_section{padding:56px 0}
	.esc-row-projects,.esc-info-row,.esc-tiles,.esc-tiles.esc-two,.esc-qrow,.esc-mapbox,.esc-loc-bottom,.esc-contact-panel{grid-template-columns:1fr}
	.esc-qrow{grid-template-columns:1fr 1fr}
	.esc-split{display:block!important}
	.esc-cover img,.esc-cover .et_pb_image_wrap{height:330px}
	.esc-row-features .et_pb_column{width:100%!important}
	.esc-feature{border-right:0;border-bottom:1px solid var(--esc-line)}
	.esc-info-row .et_pb_column{border-right:0;border-bottom:1px solid var(--esc-line)}
	.esc-info-row .et_pb_column:last-child{border-bottom:0}
	.esc-gallery .et_pb_gallery_items,.esc-photogrid .et_pb_gallery_items{grid-template-columns:1fr}
	.esc-photogrid .et_pb_gallery_item:first-child{grid-row:auto}
	.esc-photogrid .et_pb_gallery_item:first-child img{height:300px}
	.qcols{columns:1}
	.esc-loc-bottom .et_pb_column{padding:27px}
	.esc-loc-head h3{font-size:37px!important}
	.esc-loc-map iframe{height:350px}
	.esc-contact-panel{gap:20px}
}
@media (max-width:560px){
	.esc-qrow{grid-template-columns:1fr}
}

/* =========================================================
8. Páginas interiores (nov. 2026) — solo clases nuevas
========================================================= */
.et_pb_row.esc-tiles + .et_pb_row.esc-tiles{padding-top:18px!important}
.esc-btns .et_pb_button_module_wrapper{display:inline-block;margin:16px 8px 0 0}
.esc-stackbtns .et_pb_button_module_wrapper{margin:0 0 10px}
.esc-planimg .esc-cover img{object-fit:contain;background:var(--esc-cream)}
.esc-wideimg img{width:100%;max-height:620px;object-fit:cover;display:block}
.esc-planwide img{width:100%;max-height:520px;object-fit:contain;background:var(--esc-cream);margin-top:20px;display:block}
.esc-loc-row-top{padding:0!important}
.esc-loc-row-top .et_pb_column{padding:0!important}
.esc-loc-row-top .et_pb_module{margin-bottom:0!important}
.et_pb_row.esc-loc-bottom{padding-top:0!important}
.esc-mapbox .et_pb_module{margin-bottom:0!important}
.esc-video-card{background:#fff;padding:16px;border:1px solid var(--esc-line)}
.esc-contact-panel .et_pb_module{margin-bottom:10px}

/* Mapa ilustrado sin recursos de Google */
.esc-mapfake{position:relative;overflow:hidden;background:linear-gradient(145deg,#e7e2d8,#f7f4ed);min-height:300px}
.esc-mapfake:before,.esc-mapfake:after{content:"";position:absolute;background:#fff;width:130%;height:38px;left:-15%;top:48%;transform:rotate(-19deg);box-shadow:0 0 0 1px #e7e2d8}
.esc-mapfake:after{height:24px;top:29%;transform:rotate(32deg)}
.esc-mapfake .esc-route{position:absolute;border-top:2px dashed var(--esc-gold);width:58%;z-index:2}
.esc-mapfake .r1{left:16%;top:60%;transform:rotate(23deg)}
.esc-mapfake .r2{left:42%;top:37%;transform:rotate(-28deg)}
.esc-mapfake .esc-pin{position:absolute;z-index:5;left:50%;top:50%;transform:translate(-50%,-50%);background:var(--esc-ink);color:#fff;padding:12px 14px;font-size:11px;letter-spacing:1.2px;white-space:nowrap}

/* Galeria de proyecto con 2 o 3 fotos: sin huecos */
.esc-photogrid .et_pb_gallery_item:first-child:nth-last-child(3) ~ .et_pb_gallery_item{grid-column:2 / 4}
.esc-photogrid .et_pb_gallery_item:first-child:nth-last-child(2) ~ .et_pb_gallery_item{grid-column:2 / 4;grid-row:1 / 3}
.esc-photogrid .et_pb_gallery_item:first-child:nth-last-child(2) ~ .et_pb_gallery_item img{height:612px}
@media (max-width:980px){.esc-photogrid .et_pb_gallery_item:first-child:nth-last-child(3) ~ .et_pb_gallery_item,.esc-photogrid .et_pb_gallery_item:first-child:nth-last-child(2) ~ .et_pb_gallery_item{grid-column:auto;grid-row:auto}.esc-photogrid .et_pb_gallery_item:first-child:nth-last-child(2) ~ .et_pb_gallery_item img{height:300px}}

/* Galeria de proyecto con 4 fotos: la ultima ocupa el ancho de abajo */
.esc-photogrid .et_pb_gallery_item:first-child:nth-last-child(4) ~ .et_pb_gallery_item:last-child{grid-column:2 / 4}
@media (max-width:980px){.esc-photogrid .et_pb_gallery_item:first-child:nth-last-child(4) ~ .et_pb_gallery_item:last-child{grid-column:auto}}
