/* Componentes comunes: cabecera, footer, navegación, controles y cookies. */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--ink:#1c1e20;--muted:#777b81;--magenta:#b71872;--magenta-dark:#93125a;--soft:#f5f6f7;--line:#e8e9eb;--container:1200px}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:95px}body{margin:0;color:var(--ink);background:#fff;font-family:'DM Sans',Arial,sans-serif;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}button{font:inherit}img{display:block;max-width:100%}.container{width:min(var(--container),calc(100% - 80px));margin-inline:auto}.container-wide{width:min(1440px,calc(100% - 74px));margin-inline:auto}.skip-link{position:absolute;top:-50px;left:12px;background:#fff;z-index:1000;padding:12px}.skip-link:focus{top:10px}.site-header{position:relative;z-index:30;background:#fff;height:78px}.header-inner{height:100%;display:flex;align-items:center;justify-content:space-between;gap:35px}.brand{display:inline-flex;gap:8px;align-items:center;min-width:150px}.brand-mark{width:42px;height:32px;display:flex;align-items:center;position:relative}.brand-mark i{height:17px;width:17px;border:2.5px solid var(--magenta);transform:rotate(45deg);display:block;margin-right:-5px}.brand-mark i:first-child,.brand-mark i:last-child{border-color:#222}.brand-type{display:flex;flex-direction:column;line-height:.94;letter-spacing:-.5px}.brand-type small{font-size:9px;font-weight:700;margin-left:28px}.brand-type strong{font-size:22px;font-weight:800}.site-nav{display:flex;align-items:center;gap:clamp(12px,1.65vw,29px)}.site-nav>a:not(.btn){font-size:12px;font-weight:700;white-space:nowrap;transition:color .2s}.site-nav>a:not(.btn):hover{color:var(--magenta)}.btn{display:inline-flex;align-items:center;justify-content:center;gap:15px;padding:15px 22px;border:1px solid transparent;font-size:13px;font-weight:700;line-height:1.1;transition:background .25s,transform .25s,border .25s;white-space:nowrap}.btn:hover{transform:translateY(-2px)}.btn-primary{background:var(--magenta);color:#fff}.btn-primary:hover{background:var(--magenta-dark)}.btn-outline-light{color:#fff;border-color:rgba(255,255,255,.8);background:rgba(255,255,255,.07)}.btn-outline-light:hover{background:rgba(255,255,255,.22)}.nav-cta{font-size:12px;padding:13px 18px}.menu-toggle{display:none}.hero{height:clamp(550px,52vw,710px);position:relative;background:#222;overflow:hidden;color:white}.hero-slides,.hero-image,.hero-overlay{position:absolute;inset:0}.hero-image{background-position:center;background-size:cover;opacity:0;transform:scale(1.045);transition:opacity 1.25s ease,transform 7s ease}.hero-image.is-active{opacity:1;transform:scale(1)}.hero-overlay{background:linear-gradient(90deg,rgba(0,0,0,.72) 0%,rgba(0,0,0,.46) 46%,rgba(0,0,0,.16) 100%)}.hero-inner{height:100%;display:flex;align-items:center;position:relative;z-index:2}.hero-copy{max-width:685px;transition:opacity .42s ease,transform .42s ease}.hero-copy.is-leaving{opacity:0;transform:translateY(-18px)}.hero-copy.is-entering{animation:hero-reveal .75s ease both}@keyframes hero-reveal{from{opacity:0;transform:translateY(22px)}to{opacity:1;transform:translateY(0)}}.eyebrow{font-size:10px;color:#8d8f93;font-weight:800;letter-spacing:2px;margin:0 0 17px}.eyebrow.light{color:rgba(255,255,255,.83)}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-family:Manrope,'DM Sans',sans-serif}h1{font-size:clamp(40px,5vw,70px);line-height:1.12;letter-spacing:-2.8px;font-weight:800;margin-bottom:22px}h1 em{font-style:normal;color:#fff}h1 em:after{content:'';display:inline-block;width:9px;height:9px;background:var(--magenta);border-radius:50%;margin-left:6px}h2{font-size:clamp(28px,3.1vw,42px);line-height:1.2;letter-spacing:-1.5px;font-weight:800;margin-bottom:24px}h3{font-weight:800;letter-spacing:-.4px}.hero-description{font-size:16px;line-height:1.65;max-width:530px;color:#f5f5f5;margin-bottom:28px}.hero-actions{display:flex;gap:12px;flex-wrap:wrap}.hero-controls{position:absolute;bottom:35px;left:50%;transform:translateX(-50%);z-index:4;display:flex;gap:16px;align-items:center}.slide-arrow,.slide-pause,.slide-dot{border:0;cursor:pointer;background:transparent;color:white}.slide-arrow{font-size:22px;padding:5px}.slide-pause{font-size:13px;opacity:.8;margin-left:12px}.slide-dots{display:flex;align-items:center;gap:9px}.slide-dot{height:3px;width:28px;padding:0;background:rgba(255,255,255,.4);transition:background .25s,width .25s}.slide-dot.is-active{background:white;width:51px}.section{padding:100px 0}.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:82px;align-items:center}.about-content>p:not(.eyebrow){font-size:15px;line-height:1.85;color:#76797d;max-width:540px}.accent{color:var(--magenta)}.about-visual{height:490px;position:relative}.about-visual>img{width:100%;height:100%;object-fit:cover}.experience-tag{position:absolute;bottom:0;right:0;background:white;display:flex;align-items:center;gap:12px;padding:18px 25px;box-shadow:0 10px 30px #0001}.experience-tag strong{font-size:39px;letter-spacing:-2px}.experience-tag span{font-size:11px;color:#666;line-height:1.6}.values{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:35px 0}.values>div{display:flex;flex-direction:column;gap:12px}.values strong{font-size:11px;line-height:1.5}.value-icon{font-size:28px;line-height:1;color:#292929}.text-link{font-weight:800;font-size:13px;color:var(--magenta);display:inline-flex;gap:10px;align-items:center;transition:gap .2s}.text-link:hover{gap:16px}.section-soft{background:var(--soft)}.section-heading{margin-bottom:38px}.section-heading h2{margin-bottom:8px}.section-heading>p:last-child{font-size:15px;color:var(--muted);margin-bottom:0}.service-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.service-card{background:#fff;box-shadow:0 8px 30px #00000008;transition:transform .25s,box-shadow .25s}.service-card:hover{transform:translateY(-5px);box-shadow:0 18px 35px #00000012}.service-card img{width:100%;height:200px;object-fit:cover}.service-content{padding:24px 23px 27px;min-height:210px;display:flex;flex-direction:column}.service-content h3{font-size:19px;margin-bottom:12px}.service-content p{font-size:13px;line-height:1.7;color:var(--muted);margin-bottom:25px}.service-content .text-link{margin-top:auto}.section-heading-row{display:flex;align-items:end;justify-content:space-between;gap:30px}.project-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:16px}.project-card{position:relative;overflow:hidden;min-height:228px;grid-column:span 2;color:#fff;background:#272727}.project-large,.project-wide{grid-column:span 3;min-height:300px}.project-card > img{height:100%;width:100%;position:absolute;inset:0;object-fit:cover;transition:transform .6s}.project-card:hover > img{transform:scale(1.065)}.project-card:after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.07) 20%,rgba(0,0,0,.73) 100%)}.project-category{position:absolute;top:18px;left:18px;background:white;color:#333;padding:8px 11px;font-weight:800;font-size:9px;letter-spacing:1px;z-index:2}.project-caption{position:absolute;bottom:20px;left:20px;right:20px;display:flex;align-items:end;justify-content:space-between;z-index:2}.project-caption h3{font-size:19px;margin-bottom:5px}.project-caption p{font-size:12px;margin:0;color:#e8e8e8}.project-caption>span{font-size:22px}.content-note{font-size:11px;color:#97999c;margin:18px 0 0}.method-heading{display:flex;justify-content:space-between;align-items:end;gap:50px;margin-bottom:55px}.method-heading h2{margin:0}.method-heading>p{max-width:340px;color:var(--muted);line-height:1.7;font-size:15px}.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:40px}.step:not(:last-child){border-right:1px solid #dcdee1;padding-right:25px}.step-top{display:flex;align-items:center;gap:20px;margin-bottom:22px}.step-top>span:first-child{color:var(--magenta);font-size:16px;font-weight:800}.step-icon{font-size:36px;line-height:1;color:#333}.step h3{font-size:18px;margin-bottom:10px}.step p{color:var(--muted);font-size:13px;line-height:1.65;max-width:210px}.financing{display:grid;grid-template-columns:1fr 1fr;min-height:330px}.financing-image img{width:100%;height:100%;object-fit:cover}.financing-content{padding:58px max(45px,calc((100vw - 1200px)/2)) 55px 65px;align-self:center}.financing-content h2{font-size:34px}.financing-content p:not(.eyebrow){color:var(--muted);font-size:14px;line-height:1.7;max-width:500px}.blog-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.blog-card{border:1px solid var(--line);background:white}.blog-card>img{width:100%;height:205px;object-fit:cover}.blog-content{padding:25px}.blog-meta{color:var(--muted);font-weight:800;font-size:10px;letter-spacing:.6px}.blog-content h3{font-size:19px;line-height:1.4;margin:12px 0}.blog-content p{font-size:13px;line-height:1.7;color:var(--muted);min-height:44px}.final-cta{background:#1e2224 url('../img/construcciones-a-coruna-galicia.jpg') center 45%/cover;color:white;position:relative}.final-cta:before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(12,15,17,.88),rgba(12,15,17,.65))}.final-cta-inner{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:35px;padding-block:75px}.final-cta h2{font-size:clamp(32px,4vw,52px);margin-bottom:16px}.final-cta p:not(.eyebrow){font-size:15px;line-height:1.7;max-width:525px;color:#e5e5e5;margin-bottom:0}.footer{background:#1b1e20;color:white;padding-top:67px}.footer-grid{display:grid;grid-template-columns:2fr 2fr 1.6fr .8fr;gap:40px;padding-bottom:65px}.brand-footer{color:white}.brand-footer .brand-mark i:first-child,.brand-footer .brand-mark i:last-child{border-color:white}.footer-brand p{font-size:13px;line-height:1.75;color:#c3c5c7;margin-top:24px}.footer h3{font:800 13px 'DM Sans',sans-serif;margin:0 0 17px}.footer a:not(.brand),.footer p{font-size:12px;line-height:2;color:#c3c5c7}.footer a:hover{color:#fff}.footer-links{display:grid;grid-template-columns:repeat(2,1fr);gap:3px 18px}.footer-grid>div:nth-child(3){display:flex;flex-direction:column;align-items:flex-start}.footer-grid>div:nth-child(3) h3{margin-bottom:12px}.footer-grid>div:nth-child(3) p{margin:0}.footer-social{font-weight:800;font-size:22px!important}.footer-bottom{display:flex;justify-content:space-between;gap:20px;border-top:1px solid #3e4143;padding:22px 0 27px;color:#96999c}.footer-bottom small,.footer-bottom a{font-size:10px!important}.footer-bottom>div{display:flex;flex-wrap:wrap;gap:15px}
@media(max-width:1100px){.site-nav{gap:12px}.site-nav>a:not(.btn){font-size:11px}.nav-cta{padding:12px}.about-grid{gap:40px}.service-grid{gap:14px}.service-content{padding:20px 16px}.container{width:min(var(--container),calc(100% - 54px))}}
@media(max-width:900px){.site-header{height:70px}.menu-toggle{display:flex;flex-direction:column;gap:5px;padding:10px;border:0;background:none;cursor:pointer}.menu-toggle span{width:25px;height:2px;background:#222}.site-nav{position:absolute;top:70px;left:0;right:0;background:#fff;padding:20px 28px 28px;display:none;flex-direction:column;align-items:stretch;gap:0;box-shadow:0 15px 20px #0002}.site-nav.is-open{display:flex}.site-nav>a:not(.btn){font-size:14px;padding:12px;border-bottom:1px solid var(--line)}.site-nav .nav-cta{margin-top:16px}.hero{height:620px}.about-grid{grid-template-columns:1fr}.about-visual{height:360px}.service-grid{grid-template-columns:repeat(2,1fr)}.method-heading{align-items:start}.financing-content{padding:45px}.footer-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.container,.container-wide{width:calc(100% - 40px)}.hero{height:640px;max-height:calc(100svh - 65px);min-height:530px}.hero-overlay{background:linear-gradient(90deg,rgba(0,0,0,.74),rgba(0,0,0,.36))}.hero-copy{padding-bottom:40px}h1{font-size:41px;letter-spacing:-1.8px}.hero-description{font-size:14px}.hero-controls{bottom:21px}.section{padding:66px 0}h2{font-size:30px}.values{grid-template-columns:repeat(2,1fr);row-gap:24px}.about-visual{height:310px}.service-grid,.blog-grid{grid-template-columns:1fr}.service-card img{height:210px}.service-content{min-height:unset}.section-heading-row,.method-heading{align-items:start;flex-direction:column;gap:10px}.project-grid{grid-template-columns:1fr 1fr;gap:10px}.project-card,.project-large,.project-wide{grid-column:span 2;min-height:265px}.steps{grid-template-columns:repeat(2,1fr);gap:25px}.step:not(:last-child){border:0;padding:0}.financing{grid-template-columns:1fr}.financing-image{height:200px}.financing-content{padding:35px 25px 45px}.financing-content h2{font-size:30px}.final-cta-inner{padding-block:55px;align-items:start;flex-direction:column}.footer-grid{grid-template-columns:1fr 1fr;gap:30px}.footer-bottom{flex-direction:column}.footer-links{grid-template-columns:1fr}.eyebrow{font-size:9px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important}}

/* Ajustes de la segunda revisión: identidad, legibilidad, hero y Kit Digital. */
.brand{min-width:0;flex-shrink:0}.brand-logo{display:block;width:196px;height:auto;max-height:56px;object-fit:contain}
.brand-footer .brand-logo{width:220px;filter:brightness(0) invert(1)}
.site-nav>a:not(.btn){font-size:14px}.nav-cta{font-size:14px}
.btn{font-size:16px;min-height:48px}.eyebrow{font-size:12px}.text-link{font-size:16px}
.hero{height:100vh;height:100svh;min-height:700px;max-height:none}
.hero-slides{inset:-110px 0;transform:translate3d(0,var(--parallax-y,0px),0);will-change:transform;pointer-events:none}
.hero-image{background-position:center center}
.hero-description{font-size:19px;max-width:630px}
.about-content>p:not(.eyebrow){font-size:18px}.experience-tag span{font-size:14px}
.values strong{font-size:14px}.section-heading>p:last-child{font-size:18px}
.service-content h3{font-size:23px}.service-content p{font-size:16px}.service-content{min-height:255px}
.project-category{font-size:11px}.project-caption h3{font-size:23px}.project-caption p{font-size:15px}
.content-note{font-size:13px}.method-heading>p{font-size:18px;max-width:440px}
.step-top>span:first-child{font-size:19px}.step h3{font-size:22px}.step p{font-size:16px;max-width:245px}
.financing-content p:not(.eyebrow){font-size:17px}.blog-meta{font-size:12px}
.blog-content h3{font-size:22px}.blog-content p{font-size:16px}
.final-cta p:not(.eyebrow){font-size:18px}
.footer-brand p{font-size:16px}.footer h3{font-size:17px}.footer a:not(.brand),.footer p{font-size:15px}.footer-bottom small,.footer-bottom a{font-size:13px!important}
.kit-digital{background:#f1f1f1;padding:28px 22px;color:#5c5c5c}
.kit-digital-inner{max-width:1440px;margin:auto;display:grid;grid-template-columns:210px minmax(0,1fr);gap:42px;align-items:center;background:#fff;border:1px solid #e9e2de;border-radius:25px;padding:35px 38px;box-shadow:0 2px 16px rgba(0,0,0,.025)}
.kit-logos{display:flex;flex-direction:column;gap:14px;align-items:flex-start}.kit-logos img:first-child{width:170px;height:auto}.kit-logos img:last-child{width:168px;height:auto}
.kit-digital p{font-size:16px;line-height:1.65;margin:0}
.luv-credit{background:#1b1e20;text-align:center;padding:34px 20px 40px;color:#d1d1d1}
.luv-credit a{display:inline-flex;flex-direction:column;align-items:center;gap:14px;font-size:15px;line-height:1.5;transition:color .2s}
.luv-credit a:hover{color:#fff}.luv-credit img{width:85px;height:auto}
@media(max-width:1100px){.site-nav>a:not(.btn){font-size:13px}.brand-logo{width:170px}}
@media(max-width:900px){.hero{height:100vh;height:100svh;min-height:700px;max-height:none}.site-nav>a:not(.btn){font-size:17px}.brand-logo{width:185px}.kit-digital-inner{grid-template-columns:165px 1fr;gap:24px;padding:26px}.kit-logos img:first-child,.kit-logos img:last-child{width:145px}}
@media(max-width:600px){.hero{height:100vh;height:100svh;min-height:700px;max-height:none}.hero-copy{padding-bottom:28px}.hero-description{font-size:18px}.btn{font-size:15px;white-space:normal;text-align:center}.about-content>p:not(.eyebrow){font-size:17px}.eyebrow{font-size:11px}.kit-digital{padding:16px}.kit-digital-inner{grid-template-columns:1fr;gap:23px;padding:24px 22px;border-radius:20px}.kit-logos{flex-direction:row;align-items:center;flex-wrap:wrap;gap:18px}.kit-logos img:first-child{width:145px}.kit-logos img:last-child{width:140px}.kit-digital p{font-size:14px}.footer-grid{grid-template-columns:1fr 1fr}.footer a:not(.brand),.footer p{font-size:14px}.brand-footer .brand-logo{width:180px}}
@media(prefers-reduced-motion:reduce){.hero-slides{transform:none!important}}

.brand-footer .brand-logo{filter:none}

/* Destacados de Grupo Arquigés: iconografía propia */
.values{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;align-items:start}
.values .value-item{min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:13px}
.values .value-icon{display:block;width:34px;height:34px;object-fit:contain;object-position:left center}
.values strong{font-size:14px;line-height:1.55}
/* La flecha original se usa como máscara: hereda el color del enlace o botón. */
.link-arrow{display:inline-block;flex:none;width:1em;height:1em;background-color:currentColor;-webkit-mask:url('../img/flecha-arriba-derecha.png') center/contain no-repeat;mask:url('../img/flecha-arriba-derecha.png') center/contain no-repeat;vertical-align:-.1em;transition:transform .2s ease}
.text-link:hover .link-arrow,.btn:hover .link-arrow,.project-card:hover .link-arrow{transform:translate(2px,-2px)}
.project-caption>.link-arrow{font-size:22px;color:#fff}
@media(max-width:600px){.values{grid-template-columns:repeat(2,minmax(0,1fr));gap:25px 18px}.values .value-icon{width:36px;height:36px}}

/* Ajustes v4: destacados más amplios y flechas de los botones */
@media (min-width: 901px) {
  .about-grid {grid-template-columns:minmax(0, 1.32fr) minmax(0, .88fr);gap:54px;}
  .about-content {min-width:0;}
  .about-visual {min-width:0;}
  .values {gap:12px;}
  .values strong {font-size:14px;line-height:1.48;}
}
@media (min-width: 901px) and (max-width: 1100px) {
  .about-grid {grid-template-columns:minmax(0, 1.2fr) minmax(0,.8fr);gap:30px;}
  .values {gap:8px;}
  .values strong {font-size:12.5px;}
}
/* Siempre del tamaño de la letra y con color independiente del texto */
.btn .link-arrow, .text-link .link-arrow {width:1em;height:1em;}
.btn-primary .link-arrow {background-color:#fff;}
.btn:not(.btn-primary) .link-arrow, .text-link .link-arrow {background-color:var(--magenta);}
@media (max-width:600px) {
  .values {gap:25px 18px;}
  .values strong {font-size:14px;}
}


/* ===== Ajustes finales v5 ===== */
/* Flechas robustas con PNG en color, evitando problemas de renderizado de máscaras CSS */
.link-arrow{
  display:inline-block;
  width:1em;
  height:1em;
  flex:0 0 1em;
  vertical-align:-0.08em;
  background-position:center;
  background-repeat:no-repeat;
  background-size:contain;
  background-image:url('../img/flecha-arriba-derecha-rosa.png');
  background-color:transparent;
  -webkit-mask:none;
  mask:none;
}
.btn-primary .link-arrow,
.btn-outline-light .link-arrow,
.project-card .link-arrow,
.final-cta .link-arrow{
  background-image:url('../img/flecha-arriba-derecha-blanca.png');
}
.text-link .link-arrow,
.btn:not(.btn-primary):not(.btn-outline-light) .link-arrow{
  background-image:url('../img/flecha-arriba-derecha-rosa.png');
}
.text-link,
.btn{gap:.55em;}

/* Menú principal ligeramente mayor */
.site-nav > a:not(.btn){font-size:15px;}
.nav-cta{
  font-size:14px;
  text-transform:uppercase;
  letter-spacing:.04em;
}

/* Destacados de Nosotros: 4 columnas en desktop, 2x2 en tablet y móvil */
.values{
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:22px 18px;
}
.values .value-item{gap:12px;}
.values strong{font-size:15px;line-height:1.5;}

/* Servicio cards con nuevas imágenes */
.service-card img{height:198px;object-position:center;}

@media (max-width: 900px){
  .site-nav > a:not(.btn){font-size:16px;}
  .values{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:28px 20px;
  }
  .values strong{font-size:15px;}
}

@media (max-width: 600px){
  .nav-cta{font-size:14px;}
  .values{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 18px;}
  .values strong{font-size:14px;line-height:1.55;}
  .service-card img{height:220px;}
}


/* ===== Ajustes finales v6 ===== */
/* Flechas como imágenes reales para evitar cuadros o problemas de máscara */
.link-arrow{
  display:inline-block !important;
  width:1em !important;
  height:1em !important;
  flex:0 0 1em !important;
  object-fit:contain !important;
  vertical-align:-0.08em !important;
  background:none !important;
  background-image:none !important;
  background-color:transparent !important;
  -webkit-mask:none !important;
  mask:none !important;
}
.text-link, .btn{gap:.55em;}
.text-link:hover .link-arrow,.btn:hover .link-arrow,.project-card:hover .link-arrow{transform:translate(2px,-2px)}
.project-caption .link-arrow{width:20px !important;height:20px !important;align-self:flex-end;}

/* Valores nosotros */
.values{grid-template-columns:repeat(4,minmax(0,1fr));gap:24px 20px;}
.values > div{min-width:0;}
.values strong{font-size:15px !important;line-height:1.5 !important;word-break:normal;hyphens:none;}
.value-item:last-child strong{font-size:14px !important;}

/* Metodología con iconos reales */
.step-top{display:flex;align-items:center;gap:20px;margin-bottom:22px;}
.step-icon,.step-icon-img{display:block;}
.step-icon{display:none !important;}
.step-icon-img{width:34px;height:34px;object-fit:contain;flex:0 0 34px;}

/* Botón outline del hero: solo flecha blanca, sin fondo */
.btn-outline-light{background:transparent;}

@media (max-width: 900px){
  .values{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 22px;}
  .values strong{font-size:15px !important;}
  .value-item:last-child strong{font-size:15px !important;}
}

@media (max-width: 600px){
  .values{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 18px;}
  .values strong{font-size:15px !important;line-height:1.55 !important;}
  .value-item:last-child strong{font-size:14px !important;}
  .step-icon-img{width:30px;height:30px;flex-basis:30px;}
}


/* ===== Ajustes finales v7 ===== */
/* Flecha nueva: un poco más presente */
.link-arrow{
  width:0.92em !important;
  height:0.92em !important;
  flex:0 0 0.92em !important;
}
.btn .link-arrow{width:0.95em !important;height:0.95em !important;flex-basis:0.95em !important;}
.text-link .link-arrow{width:0.88em !important;height:0.88em !important;flex-basis:0.88em !important;}

/* Proyectos destacados: flecha abajo a la derecha */
.project-caption{
  right:24px !important;
  display:block !important;
  padding-right:44px !important;
}
.project-caption > div{
  max-width:calc(100% - 20px);
}
.project-caption .link-arrow{
  position:absolute !important;
  right:0 !important;
  bottom:6px !important;
  width:18px !important;
  height:18px !important;
  flex:none !important;
}
.project-large .project-caption .link-arrow,
.project-wide .project-caption .link-arrow{
  width:20px !important;
  height:20px !important;
  bottom:7px !important;
}

/* Metodología: iconos más grandes */
.step-icon-img{
  width:42px !important;
  height:42px !important;
  flex-basis:42px !important;
}

@media (max-width: 900px){
  .step-icon-img{
    width:38px !important;
    height:38px !important;
    flex-basis:38px !important;
  }
}

@media (max-width: 600px){
  .project-caption{
    right:20px !important;
    padding-right:38px !important;
  }
  .project-caption .link-arrow{
    width:17px !important;
    height:17px !important;
    bottom:5px !important;
  }
  .step-icon-img{
    width:36px !important;
    height:36px !important;
    flex-basis:36px !important;
  }
}


/* Ajustes v8: flechas proporcionales y posicionadas correctamente */
.link-arrow,
.btn .link-arrow,
.text-link .link-arrow {
  width: .82em !important;
  height: .82em !important;
  flex: 0 0 .82em !important;
  object-fit: contain;
}
.project-card .project-caption {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px !important;
  padding-right: 34px !important;
}
.project-card .project-caption > .link-arrow {
  position: absolute !important;
  top: auto !important;
  left: auto !important;
  right: 0 !important;
  bottom: 2px !important;
  inset: auto 0 2px auto !important;
  width: 18px !important;
  height: 18px !important;
  max-width: 18px;
  max-height: 18px;
  transform: none;
  object-fit: contain;
  z-index: 3;
}
.project-card:hover .project-caption > .link-arrow {
  transform: translate(2px, -2px);
}
@media(max-width:600px){
  .project-card .project-caption{left:18px;right:18px !important;padding-right:34px !important;}
  .project-card .project-caption > .link-arrow{width:17px !important;height:17px !important;}
}


/* ===== Revisión v9: CTA y footer centrado inspirado en AquaPro ===== */
/* Las flechas de las tarjetas de proyectos mantienen su tamaño y posición. */
.btn .link-arrow,
.text-link .link-arrow {
  width: .69em !important;
  height: .69em !important;
  flex: 0 0 .69em !important;
}
.project-card .project-caption > .link-arrow {
  width: 18px !important;
  height: 18px !important;
  flex: none !important;
}
@media(max-width:600px){
  .project-card .project-caption > .link-arrow{width:17px !important;height:17px !important;}
}

/* Footer corporativo en composición centrada */
.footer.footer-centered {
  position:relative;
  background:#1b1d21;
  color:#fff;
  padding:72px 0 54px;
  text-align:center;
}
.footer.footer-centered::before{
  content:'';
  position:absolute;
  inset:0 0 auto;
  height:3px;
  background:var(--magenta);
}
.footer-center-inner{display:flex;flex-direction:column;align-items:center;gap:0;}
.footer-main-logo{display:inline-block;}
.footer-main-logo img{width:294px;max-width:min(294px,75vw);height:auto;}
.footer.footer-centered .footer-motto{font-size:17px;line-height:1.5;margin:20px 0 25px;color:#e5e4e6;}
.footer-contact-line{
  display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:13px;
  font-size:16px;font-weight:600;line-height:1.6;
}
.footer.footer-centered .footer-contact-line a,
.footer.footer-centered .footer-contact-line span:not(.footer-separator){color:#f6f6f6;font-size:16px;line-height:1.6;}
.footer.footer-centered .footer-contact-line a:hover{color:#f5a7d0;}
.footer-separator{height:17px;width:1px;background:#7b7f85;display:inline-block;}
.footer-social-icons{display:flex;align-items:center;justify-content:center;gap:21px;margin:35px 0 34px;}
.footer-social-icons span{width:39px;height:39px;display:flex;align-items:center;justify-content:center;}
.footer-social-icons img{width:34px;height:34px;object-fit:contain;filter:brightness(0) invert(1);}
.footer-nav-centered{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:12px 22px;max-width:920px;padding:0 0 34px;}
.footer.footer-centered .footer-nav-centered a{color:#e1e2e4;font-size:15px;line-height:1.4;font-weight:600;}
.footer.footer-centered .footer-nav-centered a:hover{color:#f2a0ca;}
.footer-center-legal{width:min(900px,100%);border-top:1px solid #44474d;padding-top:28px;}
.footer.footer-centered .footer-center-legal p{color:#c3c5c9;font-size:14px;line-height:1.6;margin:0 0 8px;}
.footer-legal-links{display:flex;justify-content:center;align-items:center;gap:11px;flex-wrap:wrap;}
.footer.footer-centered .footer-legal-links a,
.footer.footer-centered .footer-legal-links span{color:#bfc1c6;font-size:14px;line-height:1.5;}
.footer.footer-centered .footer-legal-links a:hover{color:#fff;}
@media(max-width:700px){
  .footer.footer-centered{padding:58px 0 44px;}
  .footer-main-logo img{width:255px;}
  .footer.footer-centered .footer-motto{font-size:16px;margin:15px 0 25px;}
  .footer-contact-line{flex-direction:column;gap:8px;}
  .footer-separator{display:none;}
  .footer-social-icons{margin:28px 0;}
  .footer-nav-centered{gap:11px 18px;padding-bottom:29px;}
  .footer.footer-centered .footer-nav-centered a{font-size:14px;}
  .footer.footer-centered .footer-center-legal p,
  .footer.footer-centered .footer-legal-links a,
  .footer.footer-centered .footer-legal-links span{font-size:13px;}
}


/* SEO y semántica: H1 único y estable, titulares del carrusel visuales */
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important;clip-path:inset(50%)!important}
.hero-title{font-family:Manrope,'DM Sans',sans-serif;font-size:clamp(40px,5vw,70px);line-height:1.12;letter-spacing:-2.8px;font-weight:800;margin:0 0 22px;color:#fff}
.hero-title em{font-style:normal;color:#fff}
.hero-title em::after{content:'';display:inline-block;width:9px;height:9px;background:var(--magenta);border-radius:50%;margin-left:6px}
.about-title{font-family:Manrope,'DM Sans',sans-serif;font-size:clamp(28px,3.1vw,42px);line-height:1.2;letter-spacing:-1.5px;font-weight:800;margin:0 0 24px;color:var(--ink)}
@media(max-width:600px){.hero-title{font-size:41px;letter-spacing:-1.8px}.about-title{font-size:30px}}
/* La regla de párrafos corporativos no debe reducir el título visual de Nosotros. */
.about-content > p.about-title{font-family:Manrope,'DM Sans',sans-serif;font-size:clamp(28px,3.1vw,42px);line-height:1.2;letter-spacing:-1.5px;font-weight:800;color:var(--ink);max-width:none;margin:0 0 24px}
@media(max-width:600px){.about-content > p.about-title{font-size:30px}}

/* Auditoría accesibilidad / rendimiento — ajustes sobre estilos existentes */
:root{--muted:#656970}
.about-content>p:not(.eyebrow),.service-content p,.blog-content p,.step p,
.financing-content p:not(.eyebrow),.section-heading>p:last-child{color:#656970}
.eyebrow{color:#686b71}
.content-note{color:#656970}
:where(a,button):focus-visible{outline:3px solid #d93a93;outline-offset:4px}
.hero :where(a,button):focus-visible,.final-cta :where(a,button):focus-visible{outline-color:#fff;box-shadow:0 0 0 6px #93125a}
.slide-dot{min-height:24px;min-width:36px;position:relative;background:transparent !important}
.slide-dot::after{content:'';position:absolute;left:0;right:0;top:calc(50% - 2px);height:4px;background:rgba(255,255,255,.48)}
.slide-dot.is-active::after{background:#fff}
.slide-arrow,.slide-pause{min-width:44px;min-height:44px;display:inline-flex;justify-content:center;align-items:center}
.menu-toggle{min-width:44px;min-height:44px;align-items:center;justify-content:center}
/* Imagen inicial del hero y fondos con interacción teclado estables */
.hero{isolation:isolate}
.hero-copy{position:relative}
/* Pantallas de poco ancho y texto ampliado: evitar recortes horizontales */
@media(max-width:600px){.hero-actions{gap:10px}.hero-actions .btn{white-space:normal}.hero-controls{gap:7px}.slide-dots{gap:2px}}
@media(prefers-reduced-motion:reduce){
 html{scroll-behavior:auto}
 .hero-image,.hero-copy,.hero-copy.is-entering,.project-card img,.service-card,.link-arrow,.btn{animation:none !important;transition:none !important;transform:none !important}
}

/* Overrides globales PHP */
.footer-centered{text-align:center}.footer-centered .brand{justify-content:center}.footer-navigation{display:flex;gap:18px;flex-wrap:wrap;justify-content:center;margin:30px auto}.footer-socials{display:flex;gap:18px;justify-content:center;margin:24px auto}.footer-socials img{width:30px;height:30px;object-fit:contain}.footer-bottom{align-items:center}.footer-bottom>div{justify-content:center}.cookie-settings-link{color:inherit;background:transparent;border:0;text-decoration:underline;cursor:pointer;font:inherit}.cookie-banner[hidden],.cookie-dialog[hidden]{display:none!important}.cookie-banner{position:fixed;bottom:0;left:0;width:100%;z-index:99;background:#fff;box-shadow:0 -6px 40px #0003;color:#232323}.cookie-banner-inner{max-width:1200px;margin:auto;padding:20px;display:flex;align-items:center;justify-content:space-between;gap:20px}.cookie-banner p{margin:8px 0 0;font-size:15px;line-height:1.5}.cookie-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.cookie-actions button:not(.btn){background:transparent;border:1px solid #777;color:#222;padding:12px 18px;cursor:pointer}.cookie-dialog{position:fixed;inset:0;background:#000a;z-index:100;display:grid;place-items:center;padding:20px}.cookie-dialog-content{width:min(540px,100%);background:white;color:#222;padding:34px;box-shadow:0 10px 40px #0005}.cookie-dialog label{display:block;margin:20px 0}.cookie-dialog .cookie-actions{margin-top:25px}a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid #ed63b7;outline-offset:3px}.footer .brand-logo{width:196px}.header-inner{gap:20px}
@media(max-width:900px){.cookie-banner-inner{display:block}.cookie-actions{margin-top:15px}}

/* Consentimiento: tres botones siempre a la misma altura y alineados.
   En movil pueden ocupar una fila completa sin romper los controles. */
.cookie-banner-inner > .cookie-actions{display:grid;grid-template-columns:repeat(3,max-content);align-items:stretch;justify-content:end;gap:10px;flex:none;margin:0;}
.cookie-banner-inner > .cookie-actions > button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;min-width:108px;margin:0!important;padding:11px 16px!important;line-height:1.25;font:inherit;font-size:14px;white-space:nowrap;border-radius:3px;box-sizing:border-box;}
.cookie-banner-inner > .cookie-actions > button.btn-primary{border:1px solid var(--magenta);background:var(--magenta);color:#fff;font-weight:700;}
.cookie-banner-inner > .cookie-actions > button:not(.btn-primary){font-weight:500;color:#303239;border:1px solid #adb0b3;background:#fff;}
.cookie-banner-inner > .cookie-actions > button:not(.btn-primary):hover{background:#f2f2f2;border-color:#5c5c5c;}
@media(max-width:900px){.cookie-banner-inner > .cookie-actions{margin-top:18px;justify-content:start;}}
@media(max-width:430px){.cookie-banner-inner > .cookie-actions{grid-template-columns:repeat(3,minmax(0,1fr));width:100%;gap:7px}.cookie-banner-inner > .cookie-actions > button{min-width:0;padding:11px 6px!important;font-size:13px;}}


/* Ajuste puntual v10: CTA claro y redes del footer en blanco */
.nos-cta .eyebrow{color:#686b71 !important;}
.footer-socials img,
.footer-social-icons img{
  width:30px;
  height:30px;
  object-fit:contain;
  filter:brightness(0) invert(1) !important;
  opacity:1;
}
.footer-socials a:hover img,
.footer-social-icons a:hover img{filter:brightness(0) invert(79%) sepia(28%) saturate(1296%) hue-rotate(286deg) brightness(95%) contrast(96%) !important;}

/* Animaciones de entrada comunes: respetan reduce motion y no afectan al layout. */
@media (prefers-reduced-motion: no-preference) {
  .reveal-item {opacity:0;transform:translate3d(0,18px,0);transition:opacity .7s ease,transform .7s cubic-bezier(.22,1,.36,1);transition-delay:var(--reveal-delay,0ms);}
  .reveal-item[data-reveal="left"] {transform:translate3d(-34px,0,0);}
  .reveal-item[data-reveal="right"] {transform:translate3d(34px,0,0);}
  .reveal-item.is-visible {opacity:1;transform:translate3d(0,0,0);}
}
@media (prefers-reduced-motion: reduce) {
  .reveal-item {opacity:1!important;transform:none!important;transition:none!important;}
}


/* Acabados generales 2026-10: cabecera visible y pie legal accesible */
.site-header{position:sticky !important;top:0;z-index:150;background:#fff;box-shadow:0 1px 0 rgba(19,24,28,.08);}
html{scroll-padding-top:92px;}
[id]{scroll-margin-top:92px;}
.footer.footer-centered .footer-center-legal{
  width:min(1060px,100%);padding-top:27px;display:flex;flex-direction:column;
  justify-content:center;align-items:center;text-align:center;gap:18px;
}
.footer.footer-centered .footer-center-legal .footer-copy{display:block;text-align:center;color:#c6c8cd;font-size:13px !important;line-height:1.6;}
.footer-legal-navigation{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;column-gap:24px;row-gap:13px;width:100%;}
.footer.footer-centered .footer-legal-navigation a,
.footer.footer-centered .footer-legal-navigation button{font-size:14px !important;line-height:1.45;color:#dadbe0;display:inline-flex;align-items:center;padding:5px 0;text-decoration:none;white-space:normal;}
.footer.footer-centered .footer-legal-navigation a:hover,
.footer.footer-centered .footer-legal-navigation button:hover{text-decoration:underline;color:#fff;}
.footer-legal-navigation .cookie-settings-link{border:none;background:none;cursor:pointer;font-weight:inherit;margin:0;}
.footer.footer-centered .footer-center-legal>div{justify-content:center;}
@media(max-width:900px){html{scroll-padding-top:78px;}[id]{scroll-margin-top:78px;}}
@media(max-width:640px){.footer-legal-navigation{column-gap:17px;row-gap:10px;}.footer.footer-centered .footer-legal-navigation a,.footer.footer-centered .footer-legal-navigation button{font-size:13px !important;}}


/* Accesibilidad transversal: WCAG 2.2 AA como objetivo.
   El foco nunca depende del color de un fondo variable. */
:where(a,button,input,select,textarea,[tabindex]):focus-visible{outline:3px solid #b71872;outline-offset:3px;}
.hero :where(a,button):focus-visible,.inner-hero :where(a,button):focus-visible,
.nos-hero :where(a,button):focus-visible,.inner-cta :where(a,button):focus-visible{outline:3px solid #fff;outline-offset:3px;box-shadow:0 0 0 6px #83124e;}
.skip-link{position:fixed;z-index:1000;top:8px;left:12px;transform:translateY(-160%);background:#fff;color:#151515;box-shadow:0 4px 14px #0003;font-size:16px;font-weight:700;border:2px solid #b71872;}
.skip-link:focus{top:8px;transform:translateY(0);}
:where(button,a){-webkit-tap-highlight-color:rgba(183,24,114,.18);}
.menu-toggle{min-height:44px;min-width:44px;}
.footer-legal-navigation :is(a,button){min-height:44px;justify-content:center;}
.cookie-dialog-content{max-height:min(90dvh,720px);overflow-y:auto;}
.cookie-dialog:focus{outline:none;}
@media(max-width:900px){.site-nav>a:not(.btn){min-height:44px;display:flex;align-items:center;}
.site-nav .nav-cta{min-height:48px;} }
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important;}
.hero-copy,.hero-image,.reveal-item,.service-card,.project-card img,.btn,.link-arrow{animation:none!important;transition:none!important;} }


/* Revisión accesibilidad 2026-10: legibilidad de CTA en todas las páginas.
   Un enlace puede heredar color de reglas más específicas; el CTA nunca debe
   mostrar texto del mismo color que el fondo magenta. */
a.btn.btn-primary, a.btn.btn-primary:link, a.btn.btn-primary:visited,
a.btn.btn-primary:hover, a.btn.btn-primary:active,
.btn.btn-primary, .btn.btn-primary:hover, .btn.btn-primary:focus-visible,
.nos-cta a.btn-primary, .inner-cta a.btn-primary, .final-cta a.btn-primary,
.financing a.btn-primary, .site-nav a.btn-primary {
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
  text-decoration:none;
  opacity:1;
}
a.btn.btn-primary:hover, a.btn.btn-primary:focus-visible,
.btn.btn-primary:hover {background-color:#93125a !important;}
a.btn.btn-primary .link-arrow{opacity:1;}
/* El H2 semántico de presentación conserva las reglas tipográficas del diseño. */
.about-content > h2.about-title{font-family:Manrope,'DM Sans',sans-serif;font-size:clamp(28px,3.1vw,42px);line-height:1.2;letter-spacing:-1.5px;font-weight:800;color:var(--ink);max-width:none;margin:0 0 24px;}
@media(max-width:600px){.about-content > h2.about-title{font-size:30px;}}
