/*
Theme Name: Decor Styl Tarragona
Theme URI: https://example.com/
Author: Decor Styl
Description: Tema ligero para empresa de pintura decorativa en Tarragona.
Version: 1.6.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: decor-styl
*/
:root{--ink:#191c1b;--muted:#66706c;--cream:#f7f6f2;--green:#748773;--dark:#283a32;--line:#e6e7e2}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);font:16px/1.65 system-ui,-apple-system,Segoe UI,sans-serif;background:white}a{color:inherit;text-decoration:none}img{max-width:100%;height:auto}.wrap{width:min(1180px,calc(100% - 40px));margin:auto}.site-header{background:#fff;position:sticky;top:0;z-index:20;box-shadow:0 5px 30px #15251b0c}.header-inner{min-height:94px;display:flex;align-items:center;gap:28px;justify-content:space-between}.brand img{display:block;width:215px;max-height:76px;object-fit:contain}.nav{display:flex;align-items:center;gap:28px}.nav ul{display:flex;gap:27px;list-style:none;margin:0;padding:0}.nav a:hover,.footer a:hover{color:var(--green)}.btn{display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--dark);border-radius:5px;padding:13px 21px;background:var(--dark);color:white;font-weight:650;line-height:1.25;transition:.2s}.btn:hover{background:#476052;color:white}.btn.light{background:white;color:var(--dark);border-color:white}.btn.outline{background:transparent;color:var(--dark)}.menu-toggle{display:none;border:0;background:transparent;font-size:28px;cursor:pointer}.hero{position:relative;min-height:590px;display:grid;align-items:center;color:white;background:linear-gradient(90deg,#172720e8 0%,#263f32b6 56%,#2d3e3333 100%),linear-gradient(130deg,#667b69,#afaaa0)}.hero-content{padding:100px 0}.eyebrow{font-size:12px;text-transform:uppercase;font-weight:750;letter-spacing:.2em;color:#ccd7c8}.hero h1{font-family:Georgia,serif;font-size:clamp(42px,5.7vw,76px);line-height:1.07;letter-spacing:-.04em;max-width:770px;margin:18px 0}.hero p{max-width:600px;font-size:19px;color:#e5e9e3}.hero-actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:30px}.section{padding:95px 0}.section.alt{background:var(--cream)}.section-heading{max-width:680px;margin-bottom:40px}.section-heading h2{font:normal clamp(32px,4vw,49px)/1.15 Georgia,serif;letter-spacing:-.035em;margin:8px 0 14px}.section-heading p{color:var(--muted);margin:0}.label{font-size:12px;letter-spacing:.16em;text-transform:uppercase;font-weight:800;color:var(--green)}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.card{border:1px solid var(--line);padding:30px;background:white;border-radius:9px;box-shadow:0 12px 35px #17272008}.card .number{font:38px Georgia,serif;color:var(--green)}.card h3{font-size:21px;margin:18px 0 9px}.card p{color:var(--muted);margin:0}.split{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:75px}.visual{min-height:430px;border-radius:9px;background:linear-gradient(135deg,#d6d7ca,#99a895 50%,#425849);position:relative}.visual:after{content:'Decor Styl';position:absolute;bottom:30px;left:30px;background:white;padding:13px 24px;font:italic 31px Georgia,serif}.bullets{padding:0;list-style:none}.bullets li{padding:10px 0;border-bottom:1px solid var(--line)}.bullets li:before{content:'✓';color:var(--green);font-weight:900;margin-right:13px}.cta{background:var(--dark);color:white;padding:75px 0}.cta-inner{display:flex;align-items:center;justify-content:space-between;gap:35px}.cta h2{font:normal 44px Georgia,serif;margin:0 0 10px}.cta p{margin:0;color:#d5dfd8}.footer{background:#18261f;color:#dce5dd;padding:55px 0 25px}.footer-top{display:flex;justify-content:space-between;gap:30px}.footer-logo{background:#fff;width:180px}.footer p{max-width:470px}.footer-bottom{border-top:1px solid #ffffff24;margin-top:35px;padding-top:22px;font-size:13px}.page-title{background:var(--cream);padding:70px 0}.page-title h1{font:normal 48px Georgia,serif;margin:0}.content{padding:55px 0;max-width:850px}.entry-list{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}.entry-list article{border:1px solid var(--line);border-radius:8px;padding:24px}.screen-reader-text{position:absolute;clip:rect(1px,1px,1px,1px)}@media(max-width:800px){.header-inner{min-height:78px}.brand img{width:170px}.menu-toggle{display:block}.nav{display:none;position:absolute;left:0;right:0;top:100%;background:white;box-shadow:0 15px 20px #0002;padding:20px}.nav.open{display:block}.nav ul{display:block}.nav li{padding:9px 0}.nav .btn{margin-top:10px}.hero{min-height:560px}.hero-content{padding:75px 0}.section{padding:65px 0}.grid,.split{grid-template-columns:1fr}.split{gap:32px}.visual{min-height:300px}.cta-inner,.footer-top{display:block}.cta .btn{margin-top:25px}.entry-list{grid-template-columns:1fr}}@media(max-width:480px){.hero h1{font-size:43px}.hero p{font-size:17px}.hero-actions .btn{width:100%}.section-heading h2{font-size:34px}}
/* Layout based on the approved visual reference. */
:root{--gold:#d39507;--ink:#0b0b0b}body{color:#111;font-family:Arial,Helvetica,sans-serif;line-height:1.45}.wrap{width:min(900px,calc(100% - 70px))}.wide{width:min(970px,calc(100% - 55px));margin:auto}.site-header{position:relative;box-shadow:none}.header-inner{min-height:77px;width:min(900px,calc(100% - 70px));gap:30px}.brand img{width:240px;height:68px;object-fit:contain}.nav{display:block;margin:auto}.nav ul{gap:22px;align-items:center}.nav a{font-size:10px;text-transform:uppercase;font-weight:800;white-space:nowrap}.nav a:hover,.nav li:first-child a{color:#111;border-bottom:2px solid var(--gold);padding-bottom:7px}.header-call{white-space:nowrap;color:#fff;background:var(--gold);border-radius:7px;font-size:14px;font-weight:800;padding:12px 17px}.hero{min-height:395px;color:#080808;background:linear-gradient(90deg,#f8f8f8 0%,#f6f6f6ec 37%,#ffffff00 63%),url('assets/hero-worker.webp') right center/auto 100% no-repeat,#ddd}.hero-content{padding:48px 0 27px}.hero .eyebrow{color:#111;font-size:11px;letter-spacing:0;font-weight:800}.hero .eyebrow:before,.kicker:before{content:'';display:inline-block;width:27px;border-top:2px solid var(--gold);vertical-align:middle;margin-right:12px}.hero h1{font-family:Arial,Helvetica,sans-serif;max-width:620px;font-size:37px;line-height:1.06;letter-spacing:-.035em;margin:14px 0}.hero h1 em{font-style:normal;color:var(--gold)}.hero p{font-size:14px;color:#222;max-width:470px;line-height:1.48;margin:0}.hero-actions{margin-top:20px;gap:16px}.btn{font-size:12px;border-radius:6px;padding:14px 19px}.btn.gold{color:#111;background:#e5a711;border-color:#d29a10}.btn.gold:hover{background:#f6c446}.btn.dark{background:#111;border-color:#111}.btn.outline{background:#fff;color:#111;border-color:#111}.btn.small{font-size:10px;padding:10px 15px}.trust{display:flex;gap:22px;margin-top:33px;font-size:10px;line-height:1.3;font-weight:500}.trust span{white-space:nowrap}.services{padding:18px 0 16px}.section-top{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:17px}.section-top h2,.zones h2,.cta h2{font:800 26px/1.05 Arial,Helvetica,sans-serif;letter-spacing:-.03em;margin:6px 0}.section-top p{font-size:12px;margin:5px 0 0;line-height:1.4}.kicker{font-size:10px;font-weight:800}.service-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}.service-card{border:1px solid #eee;border-radius:5px;overflow:hidden;box-shadow:0 3px 12px #0000000a;position:relative}.service-card>img{width:100%;height:124px;object-fit:cover;display:block}.service-icon{position:absolute;top:97px;left:15px;width:47px;height:47px;background:white;border-radius:50%;display:grid;place-items:center;box-shadow:0 2px 8px #0002;font-size:26px}.service-copy{padding:17px 14px 11px}.service-copy h3{font-size:12px;margin:0 0 2px}.service-copy p{font-size:11px;margin:0 0 9px}.service-copy a{font-size:10px}.service-copy b{color:var(--gold)}.zones{height:236px;color:#fff;background:linear-gradient(90deg,#121212 0%,#151515 43%,#15151500 62%),url('assets/tarragona.webp') right center/auto 100% no-repeat,#222}.zones-inner{height:100%;display:flex;align-items:center}.zones-inner>div{max-width:435px}.light-kicker{color:#fff}.zones h2{font-size:27px;margin:7px 0}.zones p{font-size:13px;line-height:1.35;margin:7px 0 12px}.zones .btn{padding:12px 16px}.works{padding:17px 0 9px}.works .section-top{margin-bottom:12px}.work-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:6px}.work-grid img{width:100%;height:147px;object-fit:cover}.cta{background:#151515;padding:16px 0}.cta-inner{display:flex;text-align:center;justify-content:space-between}.cta h2{font-size:24px}.cta p{font-size:12px;color:#fff}.footer{background:#111;padding:20px 0 10px;color:#fff;font-size:10px}.footer-cols{display:grid;grid-template-columns:1.8fr 1fr 1.2fr 1.5fr;gap:28px}.footer-logo{background:transparent;filter:invert(1);width:215px}.footer p{margin:7px 0;line-height:1.35}.footer-bottom{font-size:9px;margin-top:13px;padding-top:9px;display:flex;justify-content:space-between}.footer a:hover{color:#e5a711}@media(max-width:900px){.header-inner,.wrap{width:calc(100% - 36px)}.brand img{width:180px}.header-call{font-size:11px;padding:10px}.nav ul{gap:10px}.nav a{font-size:9px}.service-grid{grid-template-columns:repeat(3,1fr)}.hero{background-position:right center}}@media(max-width:700px){.header-inner{min-height:70px}.brand img{width:190px}.menu-toggle{display:block;margin-left:auto}.nav{display:none;position:absolute;left:0;right:0;top:100%;background:#fff;padding:20px;z-index:5;box-shadow:0 15px 20px #0002}.nav.open{display:block}.nav ul{display:block}.nav li{padding:8px}.nav a{font-size:13px}.header-call{display:none}.hero{background:linear-gradient(90deg,#f7f7f7ed,#f7f7f7c0),url('assets/hero-worker.webp') right center/auto 100% no-repeat}.hero h1{font-size:32px}.trust{gap:10px;flex-wrap:wrap}.service-grid{grid-template-columns:repeat(2,1fr)}.section-top h2{font-size:24px}.zones{background:linear-gradient(90deg,#151515ef,#151515ba),url('assets/tarragona.webp') right center/auto 100% no-repeat;height:auto;padding:32px 0}.work-grid{grid-template-columns:repeat(3,1fr)}.footer-cols{grid-template-columns:repeat(2,1fr)}.cta-inner{display:block}.cta-inner .btn{margin-top:13px}.footer-bottom{display:block}}@media(max-width:400px){.service-grid{grid-template-columns:1fr}.service-card>img{height:180px}.service-icon{top:153px}.work-grid{grid-template-columns:repeat(2,1fr)}}

/* Final alignment and responsive improvements. */
.cta{background:linear-gradient(90deg,#0000 0%,#161616 31%),url('assets/paint-roller.webp') left center/auto 100% no-repeat,#161616}
.hero h1{font-weight:800}.header-call:hover{background:#bb8100;color:#fff}.service-card:hover{transform:translateY(-2px);box-shadow:0 6px 18px #00000018}.service-card{transition:transform .2s,box-shadow .2s}.work-grid img{display:block}.menu-toggle{line-height:1;color:#111}
@media(min-width:901px){.header-inner{width:min(900px,calc(100% - 70px))}.hero-content{width:min(900px,calc(100% - 70px))}}
@media(max-width:700px){.hero{min-height:auto}.hero-content{padding:42px 0 26px}.hero h1{font-size:clamp(29px,7vw,39px)}.hero h1 br{display:none}.hero p{max-width:430px}.service-grid{gap:12px}.service-card>img{height:115px}.service-icon{top:88px}.work-grid img{height:110px}.zones h2{font-size:25px}.cta{background:linear-gradient(90deg,#161616e8,#161616ee),url('assets/paint-roller.webp') left center/auto 100% no-repeat}.footer-logo{max-width:180px}}
@media(max-width:400px){.service-card>img{height:165px}.service-icon{top:138px}}

/* Clear brand image at every breakpoint. */
.brand{display:block;flex-shrink:0}.brand img{display:block;width:240px;height:auto;max-height:70px;object-fit:contain}.footer-logo{filter:invert(1);background:transparent;height:auto;max-height:80px;object-fit:contain}.hero{background-color:#e5e3df}
@media(max-width:900px){.brand img{width:180px}}@media(max-width:700px){.brand img{width:185px}}

/* Preserve the approved hero composition pixel for pixel on desktop. */
.hero-reference,.hero-hit{display:none}
@media(min-width:701px){.hero{display:block;position:relative;min-height:0;background:none}.hero-reference{display:block;width:100%;height:auto}.hero .hero-content{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;padding:0}.hero-hit{display:block;position:absolute;top:64%;height:12%;z-index:2}.hero-hit-quote{left:6.1%;width:17%}.hero-hit-call{left:24.6%;width:14%}.hero-hit:focus-visible{outline:3px solid #111;outline-offset:2px}}

/* Crisp text treatment for the header logo. */
.site-header .brand{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;width:260px;min-width:260px;gap:0}.site-header .brand img{display:block;width:260px;height:62px;max-height:none;object-fit:contain;object-position:left center}.brand-tagline{display:inline-block;background:#080808;color:#fff;border-radius:20px;font:bold 9px/1.15 Arial,Helvetica,sans-serif;letter-spacing:.025em;padding:4px 9px;margin-top:-6px;margin-left:3px;white-space:nowrap}.header-inner{min-height:85px;gap:16px}.nav ul{gap:15px}.nav a{font-size:9px}.header-call{font-size:12px;padding:11px 12px}
@media(max-width:900px){.site-header .brand{width:210px;min-width:210px}.site-header .brand img{width:210px;height:55px}.brand-tagline{font-size:8px}.header-inner{gap:11px}.nav ul{gap:8px}}
@media(max-width:700px){.site-header .brand{width:215px;min-width:215px}.site-header .brand img{width:215px;height:57px}.brand-tagline{font-size:8px}.header-inner{min-height:80px}}

/* Single complete brand mark and legible navigation. */
.site-header .header-inner{width:min(1120px,calc(100% - 48px));gap:20px;min-height:90px}.site-header .brand{width:275px;min-width:275px;display:block}.site-header .brand img{width:275px;height:auto;max-height:83px;object-fit:contain}.brand-tagline{display:none}.site-header .nav{margin:auto}.site-header .nav ul{gap:19px}.site-header .nav a{font-size:11px;line-height:1.4}.site-header .header-call{font-size:13px;padding:12px 16px}
@media(max-width:1040px){.site-header .header-inner{gap:13px;width:calc(100% - 36px)}.site-header .brand{width:225px;min-width:225px}.site-header .brand img{width:225px;max-height:72px}.site-header .nav ul{gap:11px}.site-header .nav a{font-size:10px}.site-header .header-call{font-size:11px;padding:10px 11px}}
@media(max-width:800px){.site-header .header-inner{min-height:80px}.site-header .brand{width:225px;min-width:225px}.site-header .brand img{width:225px;max-height:72px}.site-header .menu-toggle{display:block;margin-left:auto}.site-header .nav{display:none;position:absolute;top:100%;left:0;right:0;background:#fff;padding:18px 24px;z-index:10;box-shadow:0 15px 20px #0002}.site-header .nav.open{display:block}.site-header .nav ul{display:block}.site-header .nav li{padding:7px 0}.site-header .nav a{font-size:14px}.site-header .header-call{display:none}}
@media(max-width:380px){.site-header .brand,.site-header .brand img{width:195px;min-width:195px}}
