/*
Theme Name: Estructuralia
Theme URI: https://estructuralia.es/
Author: Ecoality
Author URI: https://ecoality.info/
Description: Tema de bloques corporativo para Estructuralia, con una interfaz limpia inspirada en la claridad y ligereza visual de Chrome.
Requires at least: 6.5
Tested up to: 6.9
Requires PHP: 8.0
Version: 2.1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: estructuralia
Tags: block-patterns, full-site-editing, custom-colors, custom-logo, featured-images, wide-blocks
*/

:root {
	--e-white:#fff;
	--e-surface:#f8fafc;
	--e-soft:#f2f6ff;
	--e-ink:#202b45;
	--e-muted:#667085;
	--e-blue:#1a73e8;
	--e-blue-2:#0b57d0;
	--e-accent:#d45a3b;
	--e-accent-dark:#b94b31;
	--e-line:#e5eaf1;
	--e-shadow:0 16px 42px rgba(33,53,85,.08);
	--e-radius:20px;
}

html{scroll-behavior:smooth}body{overflow-x:hidden;background:#fff}.wp-site-blocks{padding:0}a{text-underline-offset:.18em}.wp-block-image{margin:0}
.site-header-shell{position:sticky;top:0;z-index:100;background:rgba(255,255,255,.92);backdrop-filter:blur(16px);border-bottom:1px solid var(--e-line)}
.site-header{min-height:72px;padding-inline:22px}.site-header .wp-block-site-title{white-space:nowrap;letter-spacing:-.035em}.site-header .wp-block-site-title a{color:var(--e-ink);text-decoration:none}.site-header .wp-block-navigation{gap:18px}.site-header .wp-block-navigation-item__content{font-size:.78rem;font-weight:560;color:#49536a;text-decoration:none}.site-header .wp-block-navigation-item__content:hover,.site-header .current-menu-item>.wp-block-navigation-item__content{color:var(--e-accent)}
.site-header .wp-block-button__link,.estructuralia-button .wp-block-button__link{box-shadow:none;transition:transform .18s ease,background-color .18s ease}.site-header .wp-block-button__link:hover,.estructuralia-button .wp-block-button__link:hover{background:var(--e-accent-dark);transform:translateY(-1px)}
.section-shell{padding:58px 24px}.section-shell--compact{padding-top:28px;padding-bottom:42px}
.chrome-hero{padding-top:18px;padding-bottom:28px}.chrome-hero__columns{padding:46px 42px;border:1px solid var(--e-line);border-radius:24px;background:linear-gradient(135deg,#fff 0%,#fff 60%,#fbfcff 100%);box-shadow:0 1px 0 rgba(20,35,60,.02)}
.chrome-badge{display:inline-flex;width:auto;padding:7px 13px;border-radius:999px;background:var(--e-soft);color:var(--e-blue-2);font-size:.72rem;font-weight:650;margin:0 0 20px}.chrome-hero h1{font-size:clamp(2.7rem,5.2vw,5.25rem);line-height:.98;letter-spacing:-.06em;max-width:650px;margin-bottom:20px}.chrome-hero__copy{max-width:560px;color:var(--e-muted);font-size:1.04rem;line-height:1.65}.chrome-hero .wp-block-buttons{margin-top:28px;gap:12px}.estructuralia-outline .wp-block-button__link{background:#fff!important;color:var(--e-accent)!important;border:1px solid rgba(212,90,59,.6)}.estructuralia-outline .wp-block-button__link:hover{background:#fff6f3!important;border-color:var(--e-accent)}
.chrome-hero__image img{width:100%;height:370px;object-fit:cover;border-radius:19px;box-shadow:0 10px 30px rgba(31,48,78,.08)}
.benefits-area{padding:0 24px 8px}.benefits-grid{gap:14px}.benefit-card{height:100%;gap:14px;padding:18px 18px;border:1px solid var(--e-line);border-radius:17px;background:#fff;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}.benefit-card:hover{transform:translateY(-2px);border-color:#d7e2f4;box-shadow:0 10px 24px rgba(37,58,92,.06)}.mini-icon{width:44px!important;height:44px!important;min-width:44px;display:grid!important;place-items:center;background:var(--e-soft);border-radius:50%;padding:8px}.benefit-card h3{font-size:.89rem;margin:0 0 6px;letter-spacing:-.01em}.benefit-card p{font-size:.76rem;line-height:1.45;color:var(--e-muted);margin:0}
.chrome-section-heading{margin-bottom:28px}.estructuralia-eyebrow{font-size:.68rem;font-weight:700;letter-spacing:.11em;text-transform:uppercase;color:var(--e-blue);margin-bottom:8px}.chrome-section-heading h2{font-size:clamp(1.75rem,3vw,2.7rem);margin:0}.services-grid{gap:16px}.chrome-card{background:#fff;border:1px solid var(--e-line);border-radius:18px;overflow:hidden;box-shadow:0 1px 0 rgba(15,30,55,.02);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.chrome-card:hover{transform:translateY(-3px);box-shadow:var(--e-shadow);border-color:#dbe3ef}.service-card{height:100%;position:relative}.service-card>figure:first-child img{width:100%;height:175px;object-fit:cover}.service-icon{position:absolute;left:18px;top:145px;width:46px!important;height:46px!important;padding:9px;border-radius:50%;background:#fff;box-shadow:0 6px 20px rgba(33,53,85,.13);z-index:2}.service-card__body{padding:30px 18px 17px}.service-card h3{font-size:1.05rem;margin:0 0 9px}.service-card p{font-size:.79rem;color:var(--e-muted);line-height:1.55}.card-arrow{text-align:right;margin:12px 0 0!important}.card-arrow a{font-size:1.35rem;text-decoration:none;color:var(--e-blue)}
.criterion-card{padding:0;border:1px solid var(--e-line);border-radius:22px;background:linear-gradient(90deg,#f7f9fc,#fff);overflow:hidden;box-shadow:0 4px 20px rgba(31,48,78,.035)}.criterion-image img{width:100%;min-height:280px;height:100%;object-fit:cover}.criterion-card>.wp-block-column:nth-child(2){padding:34px 32px}.criterion-card>.wp-block-column:nth-child(3){padding:34px 28px;border-left:1px solid var(--e-line)}.criterion-card h2{font-size:clamp(1.55rem,2.5vw,2.3rem);margin:0 0 14px}.criterion-card p{font-size:.84rem;color:var(--e-muted)}.check-list p{position:relative;padding-left:30px;margin:16px 0;color:#46536d!important;font-weight:550}.check-list p:before{content:"✓";position:absolute;left:0;top:-1px;width:20px;height:20px;display:grid;place-items:center;border:1.5px solid var(--e-blue);border-radius:50%;font-size:.68rem;color:var(--e-blue)}
.problem-grid{gap:10px}.problem-card{height:100%;gap:10px;padding:13px 13px;border:1px solid var(--e-line);border-radius:14px;background:#fff}.problem-icon-img{min-width:30px}.problem-card p{font-size:.72rem;color:#4d5b74;margin:0;line-height:1.35}
.cases-section{padding-top:26px}.cases-grid{gap:14px}.case-card{height:100%}.case-card figure img{width:100%;height:128px;object-fit:cover}.case-card__body{padding:13px 14px}.case-card h3{font-size:.82rem;margin:0 0 7px;line-height:1.3}.case-small{font-size:.68rem!important;color:var(--e-blue)!important;margin:0}.all-cases-card{height:100%;min-height:188px;border:1px solid var(--e-line);border-radius:18px;background:linear-gradient(145deg,#fff,#f7f9fd);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:20px}.all-cases-card a{font-size:.78rem;font-weight:600;text-decoration:none;color:#46536d}
.process-section{padding-top:28px}.process-grid{gap:12px}.process-card{height:100%;position:relative;padding:18px 16px 18px 52px;border:1px solid var(--e-line);border-radius:16px;background:#fff}.process-step__number{position:absolute;left:14px;top:15px;width:25px;height:25px;display:grid;place-items:center;border-radius:50%;background:var(--e-blue);color:#fff;font-size:.72rem;font-weight:700;margin:0}.process-card h3{font-size:.84rem;margin:0 0 7px}.process-card p:not(.process-step__number){font-size:.7rem;color:var(--e-muted);line-height:1.45;margin:0}
.chrome-cta{gap:28px;padding:24px 36px;border-radius:18px;background:linear-gradient(90deg,#eef4ff,#f7f9ff);border:1px solid #e1e9f8}.chrome-cta h2{font-size:clamp(1.35rem,2.4vw,2rem);max-width:520px;margin:0}.chrome-cta>p{max-width:220px;color:var(--e-muted);font-size:.86rem}.chrome-cta .wp-block-button__link{min-width:170px;text-align:center}
.site-footer{background:#fff;border-top:1px solid var(--e-line);color:var(--e-muted)}.site-footer__inner{padding:34px 24px 22px}.site-footer .wp-block-site-title a,.site-footer h3{color:var(--e-ink);text-decoration:none}.site-footer a{color:#4f5f7b;text-decoration:none}.site-footer a:hover{color:var(--e-blue)}.site-footer__legal{border-top:1px solid var(--e-line);margin-top:24px;padding-top:18px;font-size:.68rem}
.page-hero{background:linear-gradient(180deg,#fff,#f9fbfe);border-bottom:1px solid var(--e-line)}.page-hero__inner{padding:66px 24px 52px}.page-hero h1{font-size:clamp(2.5rem,5vw,4.8rem);letter-spacing:-.055em;max-width:900px}.content-shell{padding:64px 24px}.content-shell>*{max-width:840px;margin-inline:auto}.content-shell>.alignwide{max-width:1220px}.content-shell>.alignfull{max-width:none}.case-meta{display:flex;flex-wrap:wrap;gap:10px;margin:14px 0 30px}.case-meta span{padding:7px 11px;border:1px solid var(--e-line);border-radius:999px;font-size:.78rem;background:var(--e-surface)}.archive-grid .wp-block-post-template{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.archive-grid .wp-block-post{border:1px solid var(--e-line);border-radius:18px;background:#fff;overflow:hidden}.archive-grid .wp-block-post-featured-image img{aspect-ratio:16/10;object-fit:cover}.archive-card-copy{padding:20px}
@media(max-width:1080px){.site-header .wp-block-buttons{display:none}.site-header{min-height:66px}.chrome-hero__columns{padding:36px 30px}.chrome-hero__image img{height:330px}.benefits-grid{flex-wrap:wrap!important}.benefits-grid>.wp-block-column{flex-basis:calc(50% - 10px)!important}.problem-grid{flex-wrap:wrap!important}.problem-grid>.wp-block-column{flex-basis:calc(33.333% - 10px)!important}.archive-grid .wp-block-post-template{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:781px){.section-shell{padding:46px 20px}.chrome-hero{padding-top:14px}.chrome-hero__columns{padding:28px 22px}.chrome-hero__image img{height:270px}.chrome-hero h1{font-size:clamp(2.45rem,11vw,4.15rem)}.services-grid,.cases-grid,.process-grid{gap:14px}.criterion-card>.wp-block-column:nth-child(2),.criterion-card>.wp-block-column:nth-child(3){padding:28px 24px}.criterion-card>.wp-block-column:nth-child(3){border-left:0;border-top:1px solid var(--e-line)}.problem-grid>.wp-block-column{flex-basis:calc(50% - 8px)!important}.all-cases-card{min-height:140px}.archive-grid .wp-block-post-template{grid-template-columns:1fr}.chrome-cta{padding:24px}.chrome-cta>p{max-width:none}}
@media(max-width:560px){.site-header{padding-inline:16px}.site-header .wp-block-site-title{font-size:1.35rem!important}.chrome-hero__columns{border-radius:18px}.chrome-hero .wp-block-button{width:100%}.chrome-hero .wp-block-button__link{width:100%;text-align:center}.benefits-area{padding-inline:20px}.benefits-grid>.wp-block-column,.problem-grid>.wp-block-column{flex-basis:100%!important}.benefit-card{padding:15px}.service-card>figure:first-child img{height:160px}.service-icon{top:130px}.site-footer__inner{padding-inline:20px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}


/* Estructuralia 2.1 — fidelity pass against the approved Chrome-style mockup */
.section-shell{padding:38px 24px}
.section-shell--compact{padding-top:20px;padding-bottom:26px}
.chrome-hero{padding-top:16px;padding-bottom:24px}
.chrome-hero__columns{padding:38px 36px;border-radius:22px;gap:34px}
.chrome-hero h1{
	font-size:clamp(2.75rem,4.15vw,4.15rem);
	line-height:1.01;
	letter-spacing:-.047em;
	max-width:590px;
	margin-bottom:18px;
	word-break:normal;
	overflow-wrap:normal;
	hyphens:none;
}
.chrome-hero__copy{max-width:510px;font-size:.98rem;line-height:1.58}
.chrome-hero .wp-block-buttons{margin-top:24px}
.chrome-hero__image img{height:350px;border-radius:18px;box-shadow:none}
.benefits-area{padding-bottom:12px}
.benefit-card{padding:16px 17px;min-height:96px}
.mini-icon{width:42px!important;height:42px!important;min-width:42px;padding:8px}
.chrome-section-heading{margin-bottom:20px}
.chrome-section-heading h2{font-size:clamp(1.55rem,2.35vw,2.2rem)}
.service-section{padding-top:34px;padding-bottom:24px}
.services-grid{gap:14px}
.service-card>figure:first-child img{height:150px}
.service-icon{left:16px;top:122px;width:44px!important;height:44px!important;padding:9px}
.service-card__body{padding:27px 17px 14px}
.service-card h3{font-size:.98rem;margin-bottom:8px}
.service-card p{font-size:.76rem;line-height:1.48}
.card-arrow{margin-top:8px!important}
#servicios{scroll-margin-top:92px}
#forjados,#fachadas,#rehabilitacion-integral{scroll-margin-top:185px}
#diagnostico{scroll-margin-top:92px}
#diagnostico.section-shell{padding-top:24px;padding-bottom:22px}
.criterion-card{border-radius:18px}
.criterion-image img{min-height:220px}
.criterion-card>.wp-block-column:nth-child(2){padding:25px 26px}
.criterion-card>.wp-block-column:nth-child(3){padding:25px 24px}
.criterion-card h2{font-size:clamp(1.45rem,2.15vw,2rem);margin-bottom:11px;line-height:1.08}
.criterion-card p{font-size:.8rem;line-height:1.48}
.check-list p{margin:12px 0;padding-left:28px;font-size:.78rem}
.problem-grid{gap:9px}
.problem-card{padding:11px 12px;border-radius:13px}
.cases-section{padding-top:20px;padding-bottom:24px}
.process-section{padding-top:20px;padding-bottom:24px}
.chrome-cta{padding:22px 30px}
.site-footer__inner{padding-top:28px}

@media(max-width:1080px){
	.chrome-hero__columns{padding:32px 28px;gap:26px}
	.chrome-hero h1{font-size:clamp(2.55rem,5vw,3.55rem);max-width:520px}
	.chrome-hero__image img{height:315px}
	#forjados,#fachadas,#rehabilitacion-integral{scroll-margin-top:165px}
}
@media(max-width:781px){
	.section-shell{padding:34px 20px}
	.section-shell--compact{padding-top:18px;padding-bottom:22px}
	.chrome-hero__columns{padding:26px 22px;gap:24px}
	.chrome-hero h1{font-size:clamp(2.35rem,9.6vw,3.6rem);line-height:1.02;letter-spacing:-.045em;max-width:none}
	.chrome-hero__image img{height:280px}
	.service-section{padding-top:30px;padding-bottom:20px}
	#diagnostico.section-shell{padding-top:20px;padding-bottom:18px}
	#forjados,#fachadas,#rehabilitacion-integral{scroll-margin-top:118px}
	.criterion-image img{min-height:205px}
}
@media(max-width:560px){
	.chrome-hero h1{font-size:clamp(2.25rem,12vw,3.25rem);overflow-wrap:normal;word-break:normal}
	.chrome-hero__image img{height:235px}
	.benefit-card{min-height:0}
	.service-card>figure:first-child img{height:150px}
	.service-icon{top:122px}
}
