/*
Theme Name: Cerrajeros Campello
Theme URI: https://cerrajeroscampello.es/
Author: Sitio local de Cerrajeros Campello
Description: Theme WordPress ligero, accesible y responsive para servicios de cerrajería en El Campello.
Version: 1.0.1
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: cerrajeros-campello
*/
:root{--ink:#20383a;--ink-soft:#385252;--paper:#f5f1e8;--white:#fffdf8;--rust:#d46d4f;--rust-dark:#b9573e;--sage:#aabd9b;--line:#ded8ca;--muted:#6b7771;--display:Georgia,"Times New Roman",serif;--body:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;--wrap:1180px;--radius:22px;--shadow:0 24px 70px rgba(32,56,58,.12)}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:90px}body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--body);font-size:16px;line-height:1.65;-webkit-font-smoothing:antialiased}img{display:block;max-width:100%;height:auto}a{color:inherit}button{font:inherit}.wrap{width:min(var(--wrap),calc(100% - 48px));margin-inline:auto}.skip-link{position:absolute;left:-999px;top:8px;z-index:100;background:var(--white);padding:12px 16px}.skip-link:focus{left:12px}
.topline{background:var(--ink);color:#eae5d8;font-size:12px;letter-spacing:.12em;text-transform:uppercase}.topline-inner{min-height:34px;display:flex;align-items:center;justify-content:space-between;gap:16px}.topline-label{display:flex;align-items:center;gap:9px}.topline-dot{width:6px;height:6px;border-radius:50%;background:var(--rust)}.topline a{text-decoration:none;color:#fff}.site-header{position:relative;z-index:10;background:rgba(245,241,232,.96);border-bottom:1px solid rgba(32,56,58,.08)}.header-inner{height:82px;display:flex;align-items:center;justify-content:space-between;gap:28px}.brand{display:flex;align-items:center;gap:11px;text-decoration:none;min-width:max-content}.brand-mark{width:41px;height:41px;display:grid;place-items:center;background:var(--rust);border-radius:14px 14px 14px 4px;color:#fff}.brand-mark svg{width:25px;height:25px}.brand-name{display:flex;flex-direction:column;font-size:14px;line-height:1.08;letter-spacing:.08em;text-transform:uppercase;font-weight:750}.brand-name span:last-child{font-size:10px;letter-spacing:.18em;color:var(--muted);margin-top:4px}.main-nav{display:flex;align-items:center;gap:28px}.main-nav a,.footer-nav a{font-size:13px;font-weight:650;text-decoration:none;color:var(--ink-soft);transition:color .2s}.main-nav a:hover,.main-nav a:focus,.footer-nav a:hover{color:var(--rust-dark)}.main-nav .menu,.footer-nav .menu{display:contents}.main-nav li,.footer-nav li{list-style:none}.header-actions{display:flex;align-items:center;gap:16px}.header-phone{text-decoration:none;font-size:14px;font-weight:750;white-space:nowrap}.header-phone small{display:block;color:var(--muted);font-size:10px;letter-spacing:.11em;text-transform:uppercase;font-weight:600}.button{min-height:48px;display:inline-flex;align-items:center;justify-content:center;gap:9px;border:1px solid transparent;border-radius:999px;padding:0 20px;text-decoration:none;font-size:13px;font-weight:750;transition:transform .2s,background .2s,color .2s,border-color .2s}.button:hover{transform:translateY(-2px)}.button-primary{background:var(--rust);color:#fff}.button-primary:hover{background:var(--rust-dark)}.button-outline{border-color:rgba(32,56,58,.25);color:var(--ink)}.button-outline:hover{border-color:var(--ink);background:rgba(255,255,255,.35)}.button-dark{background:var(--ink);color:#fff}.button-dark:hover{background:var(--ink-soft)}.button svg{width:16px;height:16px}.menu-toggle{display:none;border:0;background:transparent;color:var(--ink);padding:8px}
.hero{padding:56px 0 74px;overflow:hidden}.hero-grid{display:grid;grid-template-columns:.94fr 1.06fr;align-items:center;gap:clamp(28px,5vw,76px)}.eyebrow{display:inline-flex;align-items:center;gap:10px;color:var(--rust-dark);font-size:11px;font-weight:800;letter-spacing:.16em;text-transform:uppercase}.eyebrow:before{content:"";width:24px;height:1px;background:currentColor}.hero h1{max-width:590px;margin:19px 0 18px;font-family:var(--display);font-size:clamp(46px,6.2vw,78px);font-weight:500;letter-spacing:-.055em;line-height:.98}.hero h1 em{color:var(--rust);font-weight:500}.hero-copy{max-width:500px;color:var(--ink-soft);font-size:17px;line-height:1.7}.hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}.hero-note{display:flex;align-items:center;gap:10px;margin-top:22px;color:var(--muted);font-size:12px}.hero-note strong{color:var(--ink)}.hero-note-mark{width:26px;height:26px;display:grid;place-items:center;border:1px solid var(--line);border-radius:50%;color:var(--rust);font-size:12px}.hero-visual{position:relative;min-height:500px}.hero-photo{position:absolute;inset:0 14px 12px 28px;width:calc(100% - 42px);height:calc(100% - 12px);object-fit:cover;object-position:center;border-radius:46% 46% 24px 24px;box-shadow:var(--shadow)}.photo-index{position:absolute;right:0;bottom:48px;width:138px;height:138px;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-direction:column;background:var(--sage);color:var(--ink);text-align:center;transform:rotate(7deg);box-shadow:0 16px 36px rgba(32,56,58,.14)}.photo-index b{font-family:var(--display);font-size:35px;line-height:1}.photo-index span{max-width:90px;margin-top:5px;font-size:10px;line-height:1.3;text-transform:uppercase;letter-spacing:.12em;font-weight:750}.image-caption{position:absolute;left:0;bottom:0;padding:12px 16px;background:var(--white);border-radius:12px;box-shadow:0 8px 24px rgba(32,56,58,.08);font-size:11px;color:var(--muted)}.image-caption strong{color:var(--ink)}
.trust-strip{border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:rgba(255,253,248,.55)}.trust-inner{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;padding:22px 0}.trust-item{display:flex;align-items:center;justify-content:center;gap:12px}.trust-icon{width:36px;height:36px;display:grid;place-items:center;border:1px solid var(--line);border-radius:50%;color:var(--rust);font-size:16px}.trust-item strong{display:block;font-size:13px;line-height:1.3}.trust-item span:last-child{display:block;color:var(--muted);font-size:11px;margin-top:3px}.section{padding:92px 0}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:30px;margin-bottom:38px}.section-heading h2,.local-copy h2,.contact-copy h2{margin:12px 0 0;font-family:var(--display);font-size:clamp(36px,4.7vw,58px);font-weight:500;letter-spacing:-.045em;line-height:1.02}.section-heading p{max-width:360px;margin:0;color:var(--muted);font-size:14px}.service-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.service-card{min-height:214px;padding:25px;background:var(--white);border:1px solid rgba(32,56,58,.07);border-radius:var(--radius);transition:transform .2s,box-shadow .2s}.service-card:hover{transform:translateY(-4px);box-shadow:0 16px 34px rgba(32,56,58,.08)}.service-number{width:36px;height:36px;display:grid;place-items:center;border-radius:12px;background:#f3e2d9;color:var(--rust-dark);font-family:var(--display);font-size:18px}.service-card h3{margin:23px 0 8px;font-family:var(--display);font-weight:500;font-size:25px;letter-spacing:-.02em}.service-card p{margin:0;color:var(--muted);font-size:13px;line-height:1.6}
.craft-section{padding:0 0 94px}.craft-panel{display:grid;grid-template-columns:.78fr 1.22fr;min-height:350px;background:var(--ink);color:var(--white);border-radius:30px;overflow:hidden}.craft-accent{position:relative;min-height:300px;background:var(--sage);overflow:hidden}.craft-accent:before,.craft-accent:after{content:"";position:absolute;border:1px solid rgba(32,56,58,.32);border-radius:50%}.craft-accent:before{width:320px;height:320px;left:-40px;top:48px}.craft-accent:after{width:220px;height:220px;left:10px;top:98px}.craft-mark{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:106px;height:132px;border:4px solid var(--ink);border-bottom-width:7px;border-radius:54px 54px 5px 5px;display:grid;place-items:center}.craft-mark:after{content:"";position:absolute;right:15px;top:65px;width:7px;height:7px;border-radius:50%;background:var(--rust)}.craft-copy{padding:55px clamp(30px,6vw,80px);align-self:center}.craft-copy .eyebrow{color:#e69b7f}.craft-copy h2{max-width:520px;margin:14px 0 18px;font-family:var(--display);font-size:clamp(34px,4.1vw,50px);font-weight:500;line-height:1.04;letter-spacing:-.04em}.craft-copy p{max-width:540px;margin:0;color:#d8e0d8;font-size:15px}.craft-points{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}.craft-points span{padding:7px 12px;border:1px solid rgba(255,255,255,.2);border-radius:999px;color:#e8eee7;font-size:11px}
.local-section{padding:0 0 100px}.local-grid{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:55px}.local-copy p{max-width:500px;color:var(--muted);font-size:15px}.zone-list{display:flex;flex-wrap:wrap;gap:10px;margin:24px 0}.zone-pill{display:inline-flex;align-items:center;gap:9px;padding:10px 14px;background:var(--white);border:1px solid var(--line);border-radius:999px;font-size:12px;font-weight:700}.zone-pill i{width:7px;height:7px;background:var(--rust);border-radius:50%}.local-card{position:relative;min-height:330px;padding:28px;background:#e7e9dc;border-radius:28px;overflow:hidden}.local-card:before{content:"";position:absolute;inset:18% -10% -25% 34%;background:#b7c9b3;border-radius:56% 0 0 0;transform:rotate(-10deg)}.local-card:after{content:"";position:absolute;inset:0;background:linear-gradient(130deg,transparent 48%,rgba(255,255,255,.45) 48.4%,transparent 49%,transparent 65%,rgba(255,255,255,.32) 65.4%,transparent 66%);opacity:.7}.local-card-label{position:relative;z-index:2;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.15em;color:var(--muted)}.local-point{position:absolute;z-index:2;display:flex;align-items:center;gap:8px;font-size:12px;font-weight:750}.local-point:before{content:"";width:10px;height:10px;border:3px solid var(--white);border-radius:50%;background:var(--rust);box-shadow:0 0 0 1px var(--rust)}.point-centre{left:22%;top:43%}.point-muchavista{left:48%;top:66%}.point-coveta{right:11%;top:28%}.local-route{position:absolute;z-index:1;left:26%;top:48%;width:54%;height:28%;border-top:1px dashed rgba(32,56,58,.55);border-radius:50%;transform:rotate(-18deg)}.local-caption{position:absolute;z-index:2;right:21px;bottom:18px;padding:10px 13px;background:rgba(255,253,248,.84);border-radius:12px;color:var(--muted);font-size:10px}
.faq-section{background:#ebe7dd;padding:85px 0}.faq-layout{display:grid;grid-template-columns:.74fr 1.26fr;gap:70px}.faq-intro h2{margin:12px 0;font-family:var(--display);font-weight:500;font-size:clamp(35px,4.5vw,52px);letter-spacing:-.04em;line-height:1.02}.faq-intro p{color:var(--muted);font-size:14px}.faq-list details{border-bottom:1px solid #d0cbbf;padding:19px 0}.faq-list details:first-child{border-top:1px solid #d0cbbf}.faq-list summary{display:flex;justify-content:space-between;gap:20px;cursor:pointer;list-style:none;font-weight:700;font-size:14px}.faq-list summary::-webkit-details-marker{display:none}.faq-list summary:after{content:"+";color:var(--rust);font-size:20px;line-height:1}.faq-list details[open] summary:after{content:"−"}.faq-list details p{max-width:600px;color:var(--muted);font-size:13px;margin:13px 25px 0 0}
.contact-section{padding:86px 0}.contact-panel{display:flex;align-items:center;justify-content:space-between;gap:30px;padding:42px 48px;background:var(--rust);color:#fff;border-radius:28px}.contact-copy .eyebrow{color:#fbe2d7}.contact-copy h2{max-width:550px;font-size:clamp(32px,4.4vw,52px)}.contact-copy p{margin:12px 0 0;color:#fff0e9;font-size:14px}.contact-actions{display:flex;flex-direction:column;align-items:flex-start;gap:12px;min-width:220px}.contact-actions .button-primary{background:var(--white);color:var(--ink)}.contact-actions .button-primary:hover{background:#f3e8dc}.contact-actions .button-outline{border-color:rgba(255,255,255,.5);color:white}.contact-actions .button-outline:hover{background:rgba(255,255,255,.12);border-color:white}.contact-phone{font-weight:750;text-decoration:none;font-size:16px;margin-top:4px}.site-footer{background:var(--ink);color:#e8eee7;padding:34px 0 25px}.footer-main{display:flex;align-items:center;justify-content:space-between;gap:30px;padding-bottom:25px;border-bottom:1px solid rgba(255,255,255,.17)}.footer-brand .brand-mark{background:var(--sage);color:var(--ink)}.footer-brand .brand-name span:last-child{color:#bac7bd}.footer-nav{display:flex;flex-wrap:wrap;gap:20px}.footer-nav a{color:#d2ddd5;font-size:12px}.footer-bottom{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-top:17px;color:#aebdb3;font-size:11px}.footer-bottom p{margin:0}.footer-bottom a{color:inherit}.content-shell{padding:70px 0 100px;min-height:55vh}.content-shell h1,.entry-title{font-family:var(--display);font-weight:500;letter-spacing:-.04em;font-size:clamp(38px,5vw,58px);line-height:1.05}.content-shell .entry-content{max-width:760px;color:var(--ink-soft)}.content-shell .entry-content a{color:var(--rust-dark)}.post-meta{font-size:12px;color:var(--muted)}.pagination{margin-top:30px}.pagination a{color:var(--rust-dark)}.error-404{text-align:center;padding:100px 0}
@media(max-width:980px){.main-nav{gap:17px}.header-actions{gap:10px}.header-phone{display:none}.hero{padding-top:44px}.hero-grid{gap:30px}.hero-visual{min-height:430px}.photo-index{width:120px;height:120px}.service-card{padding:22px;min-height:205px}.craft-panel{grid-template-columns:.65fr 1.35fr}.local-grid{gap:35px}.faq-layout{gap:40px}}
@media(max-width:760px){.wrap{width:min(var(--wrap),calc(100% - 36px))}.topline-inner{min-height:32px}.topline{font-size:10px}.topline-inner>span:last-child{display:none}.header-inner{height:72px}.brand-mark{width:38px;height:38px}.menu-toggle{display:grid;place-items:center}.menu-toggle svg{width:23px;height:23px}.main-nav{display:none;position:absolute;left:0;right:0;top:72px;background:var(--paper);padding:14px 18px 20px;border-bottom:1px solid var(--line);box-shadow:0 15px 24px rgba(32,56,58,.08);align-items:stretch;flex-direction:column;gap:0}.main-nav.is-open{display:flex}.main-nav a{padding:12px 4px;border-bottom:1px solid rgba(32,56,58,.09)}.header-actions .button{display:none}.hero{padding:37px 0 55px}.hero-grid{grid-template-columns:1fr;gap:28px}.hero h1{font-size:clamp(48px,13vw,68px);max-width:520px;margin-top:15px}.hero-copy{font-size:15px}.hero-visual{min-height:360px;max-height:500px}.hero-photo{inset:0 12px 12px 22px;width:calc(100% - 34px);height:calc(100% - 12px);border-radius:45% 45% 20px 20px}.photo-index{width:106px;height:106px;right:-1px;bottom:33px}.photo-index b{font-size:29px}.photo-index span{font-size:9px}.image-caption{font-size:10px}.trust-inner{grid-template-columns:1fr;gap:14px;padding:18px 0}.trust-item{justify-content:flex-start}.section{padding:66px 0}.section-heading{display:block;margin-bottom:26px}.section-heading h2,.local-copy h2,.contact-copy h2{font-size:clamp(38px,10vw,50px)}.section-heading p{margin-top:14px}.service-grid{grid-template-columns:1fr 1fr;gap:10px}.service-card{min-height:190px;padding:18px}.service-card h3{font-size:20px;margin-top:18px}.service-card p{font-size:12px}.service-number{width:32px;height:32px}.craft-section{padding-bottom:66px}.craft-panel{grid-template-columns:1fr}.craft-accent{min-height:190px}.craft-accent:before{width:260px;height:260px;left:calc(50% - 130px);top:12px}.craft-accent:after{width:180px;height:180px;left:calc(50% - 90px);top:50px}.craft-mark{width:84px;height:105px}.craft-mark:after{top:49px;right:12px}.craft-copy{padding:32px 26px 36px}.craft-copy h2{font-size:38px}.craft-copy p{font-size:14px}.local-section{padding-bottom:68px}.local-grid{grid-template-columns:1fr;gap:25px}.local-card{min-height:290px}.faq-section{padding:66px 0}.faq-layout{grid-template-columns:1fr;gap:20px}.faq-intro h2{font-size:42px}.contact-section{padding:58px 0}.contact-panel{display:block;padding:31px 25px}.contact-copy h2{font-size:39px}.contact-actions{margin-top:25px}.contact-actions .button{width:100%}.contact-phone{margin-top:4px}.footer-main{align-items:flex-start;flex-direction:column}.footer-nav{gap:12px 18px}.footer-bottom{align-items:flex-start;flex-direction:column;gap:6px}.content-shell{padding:48px 0 70px}}
@media(max-width:400px){.hero-actions{flex-direction:column;align-items:stretch}.hero-actions .button{width:100%}.service-grid{grid-template-columns:1fr}.service-card{min-height:auto}.service-card h3{margin-top:14px}.hero-visual{min-height:320px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}}
