/*
Theme Name: Repara Málaga
Theme URI: https://reparamalaga.wp03.codeum.app/
Author: Win Innovación
Description: Web de servicios y cobertura local, gestionada con Flat Theme Manager.
Version: 1.2.0
Requires at least: 6.2
Requires PHP: 8.0
License: GPL-2.0-or-later
Text Domain: repara-malaga
*/
@font-face{font-family:Barlow;src:url(assets/fonts/barlow-semi-condensed-600.ttf) format('truetype');font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:Barlow;src:url(assets/fonts/barlow-semi-condensed-700.ttf) format('truetype');font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:Inter;src:url(assets/fonts/inter-variable.ttf) format('truetype');font-weight:100 900;font-style:normal;font-display:swap}
:root{--rm-paper:#fff;--rm-ink:#08284d;--rm-action:#0756b8;--rm-wash:#edf5ff;--rm-line:#c6d8eb;--rm-width:1240px;--rm-edge:clamp(20px,4.2vw,64px);--rm-ease:cubic-bezier(.23,1,.32,1);color-scheme:light;scrollbar-color:var(--rm-action) var(--rm-wash);scrollbar-gutter:stable}
*,*::before,*::after{box-sizing:border-box}
body{margin:0;background:var(--rm-paper);color:var(--rm-ink);font:400 18px/1.65 Inter,Arial,sans-serif;-webkit-font-smoothing:antialiased}
::selection{background:var(--rm-action);color:var(--rm-paper)}
::-webkit-scrollbar{width:12px;height:12px}::-webkit-scrollbar-track{background:var(--rm-wash)}::-webkit-scrollbar-thumb{background:var(--rm-action);border:3px solid var(--rm-wash)}::-webkit-scrollbar-thumb:hover{background:var(--rm-ink)}
a{color:var(--rm-action);text-underline-offset:.22em;text-decoration-thickness:1px}
a:hover{text-decoration-thickness:2px}a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid var(--rm-action);outline-offset:5px}
button,summary,a{-webkit-tap-highlight-color:transparent}button,summary{cursor:pointer}button{font:inherit}a,button{touch-action:manipulation}
img{display:block;max-width:100%;height:auto}figure{margin:0}p{margin:0 0 1.25em;text-wrap:pretty}p:last-child{margin-bottom:0}
h1,h2,h3{font-family:Barlow,'Arial Narrow',Arial,sans-serif;line-height:1.08;letter-spacing:-.025em;font-weight:600;text-wrap:balance;margin:0}
h1{font-size:clamp(38px,4.15vw,66px)}h2{font-size:clamp(34px,3.7vw,54px)}h3{font-size:30px}
ul{padding-left:1.25em}li+li{margin-top:.55em}main{min-height:50vh;overflow:clip}section{scroll-margin-top:32px}
.wrap{width:min(var(--rm-width),100% - var(--rm-edge)*2);margin-inline:auto}
.skip-link{position:fixed;z-index:100;top:12px;left:12px;background:var(--rm-paper);padding:12px 20px;transform:translateY(-180%)}.skip-link:focus{transform:none}
.site-header{position:relative;z-index:30;background:var(--rm-paper);border-bottom:1px solid var(--rm-line)}
.header-inner{min-height:116px;display:flex;align-items:center;justify-content:space-between;gap:40px;padding-block:17px}
.brand{display:block;flex-shrink:0;width:260px;max-width:48vw}.brand img{width:100%;height:auto}
.menu-toggle{display:none;background:var(--rm-paper);color:var(--rm-ink);border:1px solid var(--rm-line);min-height:46px;padding:8px 16px;font-weight:600}
.nav-list,.nav-list ul,.footer-menu{list-style:none;margin:0;padding:0}
.nav-list{display:flex;align-items:center;gap:36px;font-size:16px;font-weight:500}.nav-list li{margin:0}.nav-list a,.nav-list summary{display:block;padding:13px 0;color:var(--rm-ink);text-decoration:none;min-height:48px}
.nav-list a:hover,.nav-list summary:hover,.nav-list a[aria-current=page]{color:var(--rm-action);text-decoration:underline}
.nav-list details{position:relative}.nav-list summary{list-style:none;display:flex;align-items:center;gap:13px}.nav-list summary::-webkit-details-marker{display:none}.nav-list summary::after{content:'';width:7px;height:7px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);margin-top:-4px}.nav-list details[open]>summary::after{transform:rotate(225deg);margin-top:4px}
.nav-list .sub-menu{position:absolute;top:100%;left:-24px;width:270px;background:var(--rm-paper);border:1px solid var(--rm-line);padding:12px 24px;z-index:20}.nav-list .sub-menu a{padding-block:10px}
.home-hero{background:var(--rm-wash)}.home-hero-inner{display:grid;grid-template-columns:44% 56%;max-width:1680px;margin-inline:auto;min-height:560px;align-items:center}
.home-hero-copy{background:var(--rm-ink);color:var(--rm-paper);padding:64px clamp(32px,4.2vw,72px) 64px max(var(--rm-edge),calc((100vw - var(--rm-width))/2));min-height:100%;display:flex;flex-direction:column;justify-content:center;position:relative;clip-path:polygon(0 0,100% 0,100% calc(100% - 44px),calc(100% - 60px) 100%,0 100%)}
.home-hero h1{font-size:clamp(40px,3.7vw,62px);max-width:17ch}.hero-action{align-self:flex-start;margin-top:36px;background:var(--rm-paper);color:var(--rm-ink);padding:14px 24px;min-height:52px;font-size:16px;font-weight:600;text-decoration:none;border:1px solid transparent}
.home-hero-image{padding-block:36px}.home-hero-image img{width:100%;height:auto;aspect-ratio:1672/941;object-fit:contain}
.section-space{padding-block:clamp(64px,7.5vw,112px)}.home-intro{display:grid;grid-template-columns:1fr 1.25fr;gap:clamp(40px,7vw,110px);align-items:start}
.home-intro .brand-line{font:600 clamp(34px,3.3vw,48px)/1.12 Barlow,'Arial Narrow',sans-serif;max-width:17ch}.home-intro .brand-line p{margin:0}.home-intro .prose{max-width:68ch}
.service-section{background:var(--rm-wash)}.section-heading{margin-bottom:44px}.service-composition{display:grid;grid-template-columns:1.1fr 1fr;gap:clamp(32px,6vw,88px);align-items:center}
.service-photo img{width:100%;height:auto;outline:1px solid rgb(0 0 0 / .1);outline-offset:-1px}.service-list{list-style:none;padding:0;margin:0}.service-list li{margin:0;border-top:1px solid var(--rm-line)}.service-list li:last-child{border-bottom:1px solid var(--rm-line)}
.service-list a{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:21px 0;min-height:76px;text-decoration:none;color:var(--rm-ink);font:600 clamp(28px,2.7vw,40px)/1.15 Barlow,'Arial Narrow',sans-serif}
.service-list a::after,.zone-list a::after{content:'';width:12px;height:12px;border-top:1.5px solid currentColor;border-right:1.5px solid currentColor;transform:rotate(45deg);margin-right:5px;flex-shrink:0}.service-list a:hover{color:var(--rm-action);text-decoration:underline}
.home-detail{max-width:68ch;margin-top:64px}.home-zones{position:relative;background:var(--rm-action);color:var(--rm-paper)}.home-zones::before{content:'';position:absolute;left:0;top:-27px;background:var(--rm-action);width:160px;height:28px;clip-path:polygon(0 100%,100% 0,100% 100%)}
.zones-layout{display:grid;grid-template-columns:.8fr 1.2fr;gap:70px;align-items:start}.zones-layout h2{max-width:9ch;font-size:clamp(44px,4.5vw,68px)}.zone-list{display:grid;grid-template-columns:1fr 1fr;column-gap:40px;list-style:none;padding:0;margin:0}.zone-list li{margin:0;border-top:1px solid rgb(255 255 255 / .38)}.zone-list a{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:21px 0;min-height:72px;color:inherit;text-decoration:none;font:600 clamp(25px,2.5vw,36px)/1.2 Barlow,'Arial Narrow',sans-serif}.zone-list a:hover{text-decoration:underline}.home-zones a:focus-visible{outline-color:var(--rm-paper)}
.home-closing{max-width:68ch}.home-closing p:last-child{font-family:Barlow,'Arial Narrow',sans-serif;font-size:32px;line-height:1.2;font-weight:600;margin-top:32px}
.breadcrumbs{font-size:14px;display:flex;flex-wrap:wrap;gap:12px;padding-block:27px;color:var(--rm-ink)}.breadcrumbs a{color:inherit}.breadcrumbs span{min-width:0}
.page-hero{background:var(--rm-wash);padding-block:52px 64px}.page-hero-layout{display:grid;grid-template-columns:1fr 1.05fr;align-items:center;gap:64px}.page-hero h1{max-width:20ch}.page-hero img{width:100%;height:auto;aspect-ratio:1672/941;object-fit:contain;outline:1px solid rgb(0 0 0 / .1);outline-offset:-1px}
.page-hero--type{background:var(--rm-ink);color:var(--rm-paper);position:relative;overflow:hidden;padding-block:80px}.page-hero--type h1{max-width:22ch;font-size:clamp(44px,5.5vw,78px);position:relative;z-index:1}.page-hero--type::after{content:'';position:absolute;right:0;top:0;bottom:0;width:25%;background:var(--rm-action);clip-path:polygon(100% 0,100% 100%,0 100%)}
.article-layout{display:grid;grid-template-columns:260px minmax(0,1fr);gap:clamp(48px,7vw,108px);align-items:start}.article-index{position:sticky;top:32px;font-size:14px}.article-index p{font-weight:600;font-size:16px;margin-bottom:18px}.article-index ul{list-style:none;margin:0;padding:0}.article-index li{margin:0;border-top:1px solid var(--rm-line)}.article-index a{display:block;color:var(--rm-ink);text-decoration:none;padding:12px 0;line-height:1.4;min-height:44px}.article-index a:hover{text-decoration:underline;color:var(--rm-action)}
.article-body{max-width:68ch;min-width:0}.article-intro{font-size:19px;line-height:1.7;margin-bottom:64px}.article-section{padding-top:48px;margin-top:48px;border-top:1px solid var(--rm-line)}.article-section:first-of-type{margin-top:0}.article-section h2{font-size:clamp(32px,3vw,42px);margin-bottom:26px;max-width:28ch}.article-section ul{margin-block:28px}.article-section li{padding-left:5px}.article-section figure{margin-top:32px}.article-section img{width:100%;height:auto}
.page-wayfinding{background:var(--rm-wash);padding-block:40px}.wayfinding-inner{display:flex;justify-content:space-between;align-items:center;gap:24px}.wayfinding-inner a{font-weight:600;min-height:44px;display:flex;align-items:center}
.site-footer{border-top:1px solid var(--rm-line);padding-top:64px}.footer-top{display:grid;grid-template-columns:1.35fr 1fr 1fr;gap:60px;padding-bottom:64px}.footer-brand{max-width:280px}.footer-heading{font-family:Inter,Arial,sans-serif;font-size:16px;line-height:1.4;font-weight:600;letter-spacing:0;margin-bottom:20px}.footer-menu li{margin:0}.footer-menu a{display:inline-flex;align-items:center;min-height:44px;color:var(--rm-ink);font-size:15px;text-decoration:none}.footer-menu a:hover{text-decoration:underline;color:var(--rm-action)}.footer-bottom{border-top:1px solid var(--rm-line);padding-block:24px;font-size:13px;display:flex;justify-content:space-between;gap:24px}.footer-bottom p{margin:0}.footer-bottom a{color:inherit}
.generic-page{max-width:68ch;padding-block:64px 100px}.generic-page h1{margin-bottom:40px}.generic-page h2{margin-block:48px 24px}.error-page{padding-block:100px}.error-page h1{margin-bottom:24px}
.service-stage{position:relative;aspect-ratio:1672/941;isolation:isolate;overflow:clip}
.service-frame{position:absolute;inset:0;background:var(--rm-wash)}.service-frame[hidden]{display:none!important}.service-frame img{width:100%;height:100%;object-fit:contain}
@media(min-width:900px) and (min-height:650px) and (prefers-reduced-motion:no-preference){
    .rm-motion-enabled .service-composition{align-items:start}
    .rm-motion-enabled .service-photo{position:sticky;top:22vh;align-self:start}
    .rm-motion-enabled .service-list a{min-height:clamp(134px,23vh,220px);padding-block:34px}
    .rm-motion-enabled .service-list a.is-scroll-active{color:var(--rm-action);text-decoration:underline;text-decoration-thickness:1px}
}
@media(hover:hover) and (prefers-reduced-motion:no-preference){a,button{transition:color 140ms var(--rm-ease),background-color 140ms var(--rm-ease),transform 140ms var(--rm-ease)}.hero-action:hover{background:var(--rm-wash);transform:translateY(-2px)}button:active,.hero-action:active{transform:scale(.96)}}
@media(min-width:1680px){.home-hero-copy{padding-left:80px}}
@media(max-width:1100px){.header-inner{min-height:100px}.brand{width:225px}.nav-list{gap:24px}.home-hero-inner{min-height:510px;grid-template-columns:46% 54%}.home-hero-copy{padding:48px 34px 60px var(--rm-edge)}.home-hero h1{font-size:clamp(40px,4.2vw,52px)}.zones-layout{gap:44px}.page-hero-layout{gap:40px}.article-layout{grid-template-columns:210px minmax(0,1fr);gap:48px}.footer-top{gap:40px}}
@media(max-width:767px){body{font-size:17px}.header-inner{min-height:91px;padding-block:14px;gap:20px;flex-wrap:wrap}.brand{width:205px;max-width:61vw}.menu-toggle:not([hidden]){display:block}.site-nav{width:100%}.nav-list{display:block}.nav-list>li{border-top:1px solid var(--rm-line)}.nav-list a,.nav-list summary{padding:14px 2px;min-height:48px}.nav-list .sub-menu{position:static;border:0;border-top:1px solid var(--rm-line);width:100%;padding:8px 16px 12px}.js .site-nav:not(.is-open){display:none}
.home-hero-inner{display:flex;flex-direction:column;min-height:0}.home-hero-copy{padding:44px var(--rm-edge) 56px;width:100%;clip-path:polygon(0 0,100% 0,100% calc(100% - 22px),calc(100% - 42px) 100%,0 100%)}.home-hero h1{font-size:clamp(38px,7.7vw,55px);max-width:24ch}.hero-action{margin-top:28px}.home-hero-image{width:100%;padding:20px 0 0}.home-intro{grid-template-columns:1fr;gap:32px}.home-intro .brand-line{max-width:21ch}.service-composition{grid-template-columns:1fr;gap:36px}.service-photo{order:2}.section-heading{margin-bottom:30px}.home-detail{margin-top:40px}.zones-layout{grid-template-columns:1fr;gap:36px}.zones-layout h2{max-width:18ch}.zone-list{column-gap:28px}.zone-list a{font-size:27px;padding-block:22px}.home-zones::before{width:110px}.page-hero{padding-block:34px 40px}.page-hero-layout{grid-template-columns:1fr;gap:32px}.page-hero h1{max-width:24ch;font-size:clamp(38px,7.8vw,54px)}.page-hero--type{padding-block:56px}.page-hero--type h1{font-size:clamp(42px,8.5vw,62px);max-width:18ch}.breadcrumbs{padding-block:21px;gap:8px;font-size:13px}.article-layout{grid-template-columns:1fr;gap:40px}.article-index{position:static;border-bottom:1px solid var(--rm-line);padding-bottom:22px}.article-index ul{display:flex;flex-wrap:wrap;gap:0 24px}.article-index li{border:0}.article-index a{padding-block:9px}.article-index p{margin-bottom:8px}.article-intro{font-size:18px;margin-bottom:44px}.article-section{padding-top:34px;margin-top:34px}.article-section h2{font-size:34px;margin-bottom:22px}.wayfinding-inner{align-items:flex-start;flex-direction:column;gap:12px}.footer-top{grid-template-columns:1fr 1fr;gap:38px 28px;padding-bottom:40px}.footer-brand{grid-column:1/-1;max-width:240px}.footer-bottom{flex-direction:column;gap:12px}.site-footer{padding-top:48px}}
@media(max-width:380px){.zone-list{grid-template-columns:1fr}.footer-top{grid-template-columns:1fr}.home-hero h1{font-size:36px}.article-section h2{font-size:31px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
@media(forced-colors:active){:root{scrollbar-color:auto}.hero-action,.menu-toggle{border:1px solid ButtonText}.home-hero-copy,.page-hero--type{clip-path:none}.home-zones::before,.page-hero--type::after{display:none}}
/* Cabeceras: la pendiente del tejado de la marca organiza los planos, sin cortar la foto. */
.header-inner{min-height:104px}.brand{width:240px}.site-header{border-bottom:0}
.home-hero{position:relative;background:var(--rm-paper);isolation:isolate;overflow:clip}
.home-hero::after{content:'';position:absolute;inset:auto 0 0 auto;width:51%;height:64%;background:var(--rm-ink);clip-path:polygon(72px 0,100% 0,100% 100%,0 100%,0 72px);z-index:-1}
.home-hero-inner{position:relative;grid-template-columns:.88fr 1.12fr;gap:24px;min-height:660px;align-items:center;max-width:var(--rm-width)}
.home-hero-copy{background:transparent;color:var(--rm-ink);padding:48px 32px 80px 0;clip-path:none;min-height:0;z-index:2;align-self:center}
.home-hero h1{max-width:none;font-size:46px}.hero-title-main{display:block}.home-hero .hero-title-main{font-size:clamp(76px,8vw,112px);font-weight:700;line-height:.93;letter-spacing:-.035em;max-width:8.2ch;color:var(--rm-action);text-wrap:balance}
.hero-title-join{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:pre;border:0}
.hero-title-detail{display:block;font-family:Inter,Arial,sans-serif;font-size:clamp(23px,2.05vw,30px);font-weight:400;line-height:1.42;letter-spacing:-.02em;margin-top:27px;max-width:25ch;text-wrap:pretty}
.home-hero .hero-title-detail{font-family:Barlow,'Arial Narrow',Arial,sans-serif;font-size:clamp(29px,2.75vw,39px);font-weight:600;line-height:1.15;max-width:23ch;margin-top:28px}
.home-hero .hero-action{background:var(--rm-action);color:var(--rm-paper);margin-top:32px;padding-inline:28px}
.home-hero-image{width:calc(100% + var(--rm-edge));max-width:none;padding:0;margin:0 0 72px;align-self:end;position:relative;z-index:1}
.home-hero-image img{width:100%;aspect-ratio:1672/941;object-fit:contain;outline:1px solid rgb(0 0 0 / .08);outline-offset:-1px}
.page-hero{position:relative;isolation:isolate;background:var(--rm-paper);padding-block:36px 76px;overflow:clip}
.page-hero::before{content:'';position:absolute;inset:auto 0 0 auto;width:44%;height:80%;background:var(--rm-ink);clip-path:polygon(70px 0,100% 0,100% 100%,0 100%,0 70px);z-index:-1}
.page-hero-layout{grid-template-columns:.9fr 1.1fr;gap:52px;align-items:center}
.page-hero h1{max-width:none;font-size:clamp(54px,5.7vw,82px)}.page-hero .hero-title-main{line-height:1;max-width:17ch;color:var(--rm-action);font-weight:600;letter-spacing:-.035em}
.page-hero-layout figure{position:relative;width:calc(100% + var(--rm-edge));max-width:none;align-self:center;margin-block:12px 0}
.page-hero-layout img{width:100%;height:auto;object-fit:contain}
.page-hero--type{padding-block:64px}.page-hero--type h1{position:relative;max-width:23ch}.page-hero--type::after{display:none}
.breadcrumbs{padding-block:20px 18px;color:var(--rm-ink)}.breadcrumbs a{color:var(--rm-action)}
@media(hover:hover) and (prefers-reduced-motion:no-preference){.home-hero .hero-action:hover{background:var(--rm-ink)}}
@media(min-width:1680px){.home-hero-copy{padding-left:0}}
@media(max-width:1100px){.home-hero-inner{min-height:620px;gap:16px}.home-hero-copy{padding-right:20px}.home-hero .hero-title-main{font-size:clamp(72px,8.7vw,100px)}.home-hero .hero-title-detail{font-size:31px}.page-hero-layout{gap:34px}.page-hero h1{font-size:62px}.hero-title-detail{font-size:23px}.home-hero-image{margin-bottom:64px}}
@media(max-width:767px){
    .header-inner{min-height:88px}.brand{width:205px}.home-hero::after{width:100%;height:27%;clip-path:polygon(40px 0,100% 0,100% 100%,0 100%,0 40px)}
    .home-hero-inner{display:flex;min-height:0;gap:0;width:100%;max-width:none}.home-hero-copy{padding:32px var(--rm-edge) 38px;width:100%;align-self:stretch}
    .home-hero .hero-title-main{font-size:clamp(67px,13vw,92px);max-width:none;line-height:.96;letter-spacing:-.035em}.home-hero .hero-title-detail{font-size:clamp(28px,5.8vw,35px);max-width:27ch;margin-top:23px}.home-hero .hero-action{margin-top:25px;min-height:50px}
    .home-hero-image{width:calc(100% - var(--rm-edge));margin:0 0 38px var(--rm-edge);padding:0;align-self:flex-end}.home-hero-image img{aspect-ratio:1672/941}
    .page-hero{padding-block:20px 38px}.page-hero::before{width:100%;height:33%;clip-path:polygon(36px 0,100% 0,100% 100%,0 100%,0 36px)}.page-hero-layout{grid-template-columns:1fr;gap:32px}.page-hero h1{font-size:clamp(50px,10.8vw,70px);max-width:22ch}.page-hero .hero-title-main{max-width:21ch}.page-hero .hero-title-detail{font-size:22px;line-height:1.45;max-width:31ch;margin-top:22px}
    .page-hero-layout figure{width:calc(100% + var(--rm-edge));margin:0}.page-hero--type{padding-block:36px 55px}.breadcrumbs{padding-block:16px 12px;font-size:13px}
}
@media(max-width:380px){.home-hero .hero-title-main{font-size:62px}.home-hero .hero-title-detail{font-size:27px}.page-hero h1{font-size:48px}.page-hero .hero-title-detail{font-size:21px}}
@media(forced-colors:active){.home-hero::after,.page-hero::before{display:none}}
@media print{.site-header,.site-footer,.article-index,.page-wayfinding,.hero-action{display:none}body{font-size:11pt;color:#000}.article-layout,.page-hero-layout{display:block}.page-hero{background:none}.page-hero img{max-width:12cm;margin-top:24px}.section-space{padding-block:24px}.article-section{break-inside:avoid}.wrap{width:100%}.home-hero::after,.page-hero::before{display:none}}
