/*
Theme Name: Prime Madrid Construcción
Author: Prime Madrid Group
Version: 1.0.23
Text Domain: prime-madrid-construccion
*/

/* Consentimiento de cookies: patrón común del ecosistema. */
.cookie-banner {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 9999;
  display: none;
  width: min(580px, calc(100vw - 48px));
  padding: 20px 22px;
  gap: 20px;
  align-items: center;
  background: #0D1B2A;
  color: #FFFFFF;
  font: 400 13px/1.6 Montserrat, sans-serif;
  box-shadow: 0 12px 32px rgba(13, 27, 42, .22);
}


/* Local form preparation: anti-spam trap and explicit privacy consent. */
.pmg-form-trap {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.pmg-form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #0D1B2A;
  font-size: 11px;
  line-height: 1.45;
}

.contact-system__form .pmg-form-consent input[type="checkbox"] {
  flex: 0 0 auto;
  width: auto;
  height: auto;
  min-height: 0;
  margin: 3px 0 0;
  padding: 0;
  accent-color: #B8945A;
}

.pmg-form-consent a {
  color: #0D1B2A;
  text-decoration: underline;
  text-decoration-color: #B8945A;
  text-underline-offset: 3px;
}
.cookie-banner.is-visible { display: flex; }
.cookie-banner p { margin: 0; color: #FFFFFF; }
.cookie-banner a { color: #FFFFFF; text-decoration: underline; }
.cookie-banner__actions { display: flex; flex: 0 0 auto; gap: 10px; }
.cookie-banner button { min-height: 40px; padding: 9px 16px; border: 2px solid #B8945A; font: 700 12px/1 Montserrat, sans-serif; letter-spacing: 1px; cursor: pointer; }
.cookie-btn-accept { background: #B8945A; color: #0D1B2A; }
.cookie-btn-decline { background: transparent; color: #FFFFFF; }
.cookie-banner button:focus-visible { outline: 3px solid #FFFFFF; outline-offset: 3px; }
@media (max-width: 560px) {
  .cookie-banner { left: 16px; bottom: 16px; width: calc(100vw - 32px); flex-direction: column; align-items: flex-start; }
}
@font-face{font-family:"Montserrat";src:url("fonts/montserrat-latin-400-500.woff2") format("woff2");font-style:normal;font-weight:400 500;font-display:swap}
:root{--navy:#0D1B2A;--gold:#B8945A;--white:#FFFFFF;--container:1204.367px;--ecosystem-header-height:144px}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:#fff;color:var(--navy);font-family:"Montserrat",Arial,sans-serif}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%;height:auto}
.container{width:min(var(--container),calc(100% - 48px));margin-inline:auto}
.skip-link{position:absolute;left:-9999px;top:auto}
.skip-link:focus{left:16px;top:16px;z-index:9999;background:#fff;color:var(--navy);padding:10px 14px}

.site-header{position:fixed;z-index:1000;inset:0 0 auto;width:100%;height:var(--ecosystem-header-height);padding:0;background:var(--navy);color:#fff;border-bottom:1px solid rgba(184,148,90,.22)}
.site-header .header-inner{display:grid;grid-template-columns:minmax(250px,1fr) auto minmax(250px,1fr);align-items:center;width:100%;max-width:none;height:100%;padding:0 clamp(28px,3vw,52px);gap:32px;overflow:visible}
.site-header .site-logo{display:block;width:310px;height:auto;margin:0;padding:0;overflow:visible}
.site-header .site-logo__image{width:355.3px;max-width:none;height:auto;transform:translate(-28.5px,-18.9px)}
.site-header .site-nav{position:static;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3.7px;margin:0;padding:0}
.site-header .site-nav__primary{position:relative;top:-16px;display:flex;align-items:center;justify-content:center;gap:27px;white-space:nowrap}
.site-header .site-nav__primary>a{display:inline-flex;min-height:44px;align-items:center;color:#fff;font-size:10.88px;font-weight:500;line-height:1.3;letter-spacing:.14em;text-transform:uppercase}
.site-header .site-nav__primary>a:hover,.site-header .site-nav__corporate:hover{color:var(--gold)}
.site-header .site-nav__corporate{display:inline-flex;min-height:14px;align-items:center;justify-content:center;color:#fff;font-size:9.5px;font-weight:400;line-height:1;letter-spacing:.13em;text-transform:uppercase}
.site-header .header-actions{position:relative;top:-17.490472441px;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;justify-self:end;width:228px;min-width:228px;gap:3.7px}
.site-header .header-language{display:block;min-height:14px;color:#fff;font-size:9.5px;font-weight:700;line-height:14px;letter-spacing:.13em;text-align:center}
.site-header .nav-cta{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;width:228px;min-width:228px;height:44px;min-height:44px;padding:0 18px;gap:4px;border:1px solid #000;background:#fff;color:#000;text-align:center;text-transform:uppercase}
.site-header .nav-cta__platform,.site-header .nav-cta__label{display:block;font-family:"Montserrat",sans-serif;font-size:10.88px;line-height:1}
.site-header .nav-cta__platform{font-weight:600;letter-spacing:.14em}
.site-header .nav-cta__label{font-weight:400;letter-spacing:.1em}
.site-header .nav-cta:hover{background:#000;color:#fff}
.site-header .nav-cta--mobile,.site-header .nav-toggle{display:none}
.site-header .nav-toggle{width:42px;height:42px;margin:0;padding:9px;flex-direction:column;align-items:center;justify-content:center;gap:5px;border:0;background:transparent}
.site-header .nav-toggle span{display:block;width:24px;height:1px;background:#fff;transition:.2s}
.site-header .nav-toggle[aria-expanded="true"] span:nth-child(1){transform:translateY(6px) rotate(45deg)}
.site-header .nav-toggle[aria-expanded="true"] span:nth-child(2){opacity:0}
.site-header .nav-toggle[aria-expanded="true"] span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}

.construction-placeholder{min-height:100vh;background:#fff}
.hero{position:relative;display:block;height:calc(100vh - var(--ecosystem-header-height));margin-top:var(--ecosystem-header-height);overflow:hidden;background:var(--navy)}
.hero-image{display:block;width:100%;height:100%;margin:0;object-fit:cover;object-position:center center}

.services-system{min-height:100vh;box-sizing:border-box;scroll-margin-top:calc(var(--ecosystem-header-height) - 4px);padding:52.759528px 0 44.166px;color:var(--navy);background:var(--white);font-family:"Montserrat",sans-serif}
.services-system>.container{width:1204.367px;max-width:none;padding-right:66.909px;padding-left:66.909px}
.services-system__label,.services-system__heading{display:block;width:fit-content;margin:0;color:var(--navy);font-family:"Montserrat",sans-serif;font-size:.68rem;font-weight:700;line-height:1.2;letter-spacing:.24em;text-transform:uppercase}
.services-system__label-group{width:fit-content}
.services-system__label-line{display:block;width:100%;height:2px;margin:8.5px 0 18.9px;background:var(--gold)}
.services-system__title{margin:0;color:var(--navy);font-family:"Montserrat",sans-serif;font-size:clamp(2.35rem,3.1vw,3.15rem);font-weight:400;line-height:1.02;letter-spacing:-.025em}
.services-system__title span{display:block}
.services-system__copy{width:100%;max-width:1000px;margin:26.457px 0 0;color:var(--navy);font-family:"Montserrat",sans-serif;font-size:.92rem;font-weight:400;line-height:1.7;text-align:left}
.services-system__services{margin-top:49.133417px}
.services-system__heading{margin-bottom:22.677px}
.services-system__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:18px;row-gap:30.236px}
.services-system__item{min-width:0}
.services-system__item h3{margin:0;color:var(--navy);font-family:"Montserrat",sans-serif;font-size:.75rem;font-weight:500;line-height:1.45;letter-spacing:.14em;text-transform:uppercase}
.services-system__item-line{display:block;width:100%;max-width:238px;height:2px;margin:11.338px 0;background:var(--gold)}
.services-system__item p{margin:0;color:var(--navy);font-family:"Montserrat",sans-serif;font-size:.84rem;font-weight:400;line-height:1.65;text-align:left}

@media(max-width:1204px){.services-system>.container{width:100%;max-width:1204.367px;padding-right:40px;padding-left:40px}}
@media(max-width:900px){.services-system{min-height:auto}.services-system__grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.services-system{padding:52.759528px 0 44.166px}.services-system>.container{padding-right:20px;padding-left:20px}.services-system__title{font-size:clamp(2rem,10vw,2.7rem)}.services-system__copy{margin-top:22.677px}.services-system__services{margin-top:45.354px}.services-system__grid{grid-template-columns:1fr}}

.projects-system{min-height:100vh;box-sizing:border-box;scroll-margin-top:calc(var(--ecosystem-header-height) - 4px);padding:52.759528px 0 44.166px;color:var(--navy);background:var(--white);font-family:"Montserrat",sans-serif;text-align:left}
.projects-system>.container{width:1204.367px;max-width:none;padding-right:66.909px;padding-left:66.909px}
.projects-system__intro{max-width:1000px;margin:0 auto 49.133417px 0;text-align:left}
.projects-system__label-group{width:fit-content}
.projects-system__label,.projects-system__heading{display:block;width:fit-content;margin:0;color:var(--navy);font-family:"Montserrat",sans-serif;font-size:.68rem;font-weight:700;line-height:1.2;letter-spacing:.24em;text-transform:uppercase}
.projects-system__label-line{display:block;width:100%;height:2px;margin:8.5px 0 18.9px;background:var(--gold)}
.projects-system__title{margin:0;color:var(--navy);font-family:"Montserrat",sans-serif;font-size:clamp(2.35rem,3.1vw,3.15rem);font-weight:400;line-height:1.02;letter-spacing:-.025em}
.projects-system__title span{display:block}
.projects-system__copy{max-width:1000px;margin:26.457px 0 0;color:var(--navy);font-size:.92rem;font-weight:400;line-height:1.7;text-align:left}
.projects-system__heading{margin-bottom:22.677px}
.projects-system__list{display:grid;width:100%;margin:0;gap:18.897638px}
.project-entry{margin:0;color:var(--navy)}
.project-entry__summary{display:block;list-style:none;cursor:pointer}
.project-entry__summary::-webkit-details-marker{display:none}
.project-entry__summary::marker{display:none;content:""}
.project-entry__boundary{display:block;width:100%;height:2px;margin:0 0 11.338583px;background:var(--gold)}
.project-entry__reference{display:block;margin:0;color:var(--gold);font-size:.72rem;font-weight:700;letter-spacing:.2em;line-height:1.4;text-transform:uppercase}
.project-entry__name{display:block;margin:11.338583px 0 0;color:var(--navy);font-size:clamp(1.85rem,2.5vw,2.5rem);font-weight:400;line-height:1.08}
.project-entry__action{display:inline-flex;width:228px;height:44px;margin-top:22.677165px;align-items:center;justify-content:center;border:2px solid var(--navy);color:var(--navy);background:var(--white);font-size:.72rem;font-weight:600;letter-spacing:.16em;text-transform:uppercase}
.project-entry__action::after{content:" +";margin-left:8px}
.project-entry[open] .project-entry__action::after{content:" −"}
.project-entry__boundary--bottom{margin:22.677165px 0 0}
.project-entry[open] .project-entry__boundary--collapsed{display:none}
.project-entry__content{padding-top:22.677165px}
.project-entry__content p{max-width:1000px;margin:0;color:var(--navy);font-size:.92rem;font-weight:400;line-height:1.7}
.project-entry__media-grid{display:grid;width:100%;margin-top:22.677165px;grid-template-columns:repeat(2,minmax(0,1fr));gap:22.677165px}
.project-entry__media-placeholder{display:flex;aspect-ratio:8/5;align-items:center;justify-content:center;box-sizing:border-box;border:2px solid var(--gold);color:var(--navy);background:#f7f5f1;font-size:.68rem;font-weight:700;letter-spacing:.2em;text-transform:uppercase}
.project-entry__media-image{display:block;width:100%;height:auto;aspect-ratio:8/5;object-fit:cover;background:#f7f5f1}
@media(max-width:1204px){.projects-system>.container{width:100%;max-width:1204.367px;padding-right:40px;padding-left:40px}}
@media(max-width:640px){.projects-system{min-height:auto;padding:52.759528px 0 44.166px}.projects-system>.container{padding-right:20px;padding-left:20px}.projects-system__title{font-size:clamp(2rem,10vw,2.7rem)}.projects-system__intro{margin-bottom:45.354331px}.project-entry__action{width:100%}.project-entry__media-grid{grid-template-columns:1fr}}

.process-system{min-height:100vh;box-sizing:border-box;scroll-margin-top:calc(var(--ecosystem-header-height) - 4px);padding:52.759528px 0 44.166px;color:var(--navy);background:var(--white);font-family:"Montserrat",sans-serif}
.process-system>.container{width:1204.367px;max-width:none;padding-right:66.909px;padding-left:66.909px}
.process-system__label,.process-system__heading{display:block;width:fit-content;margin:0;color:var(--navy);font-family:"Montserrat",sans-serif;font-size:.68rem;font-weight:700;line-height:1.2;letter-spacing:.24em;text-transform:uppercase}
.process-system__label-group{width:fit-content}
.process-system__label-line{display:block;width:100%;height:2px;margin:8.5px 0 18.9px;background:var(--gold)}
.process-system__title{margin:0;color:var(--navy);font-family:"Montserrat",sans-serif;font-size:clamp(2.35rem,3.1vw,3.15rem);font-weight:400;line-height:1.02;letter-spacing:-.025em}
.process-system__title span{display:block}
.process-system__copy{width:100%;max-width:1000px;margin:26.457px 0 0;color:var(--navy);font-family:"Montserrat",sans-serif;font-size:.92rem;font-weight:400;line-height:1.7;text-align:left}
.process-system__steps{margin-top:49.133417px}
.process-system__heading{margin-bottom:22.677px}
.process-system__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:18px;row-gap:30.236px}
.process-system__item{min-width:0}
.process-system__item h4{margin:0;color:var(--navy);font-family:"Montserrat",sans-serif;font-size:.75rem;font-weight:500;line-height:1.45;letter-spacing:.14em;text-transform:uppercase}
.process-system__item-line{display:block;width:100%;max-width:238px;height:2px;margin:11.338px 0;background:var(--gold)}
.process-system__item p{margin:0;color:var(--navy);font-family:"Montserrat",sans-serif;font-size:.84rem;font-weight:400;line-height:1.65;text-align:left}
@media(max-width:1204px){.process-system>.container{width:100%;max-width:1204.367px;padding-right:40px;padding-left:40px}}
@media(max-width:900px){.process-system{min-height:auto}.process-system__grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.process-system{padding:52.759528px 0 44.166px}.process-system>.container{padding-right:20px;padding-left:20px}.process-system__title{font-size:clamp(2rem,10vw,2.7rem)}.process-system__copy{margin-top:22.677px}.process-system__steps{margin-top:45.354px}.process-system__grid{grid-template-columns:1fr}}

.company-system{min-height:100vh;box-sizing:border-box;scroll-margin-top:calc(var(--ecosystem-header-height) - 4px);padding:52.759528px 0 44.166px;color:var(--navy);background:var(--white);font-family:"Montserrat",sans-serif}
.company-system>.container{width:1204.367px;max-width:none;padding-right:66.909px;padding-left:66.909px}
.company-system__label,.company-system__heading{display:block;width:fit-content;margin:0;color:var(--navy);font-family:"Montserrat",sans-serif;font-size:.68rem;font-weight:700;line-height:1.2;letter-spacing:.24em;text-transform:uppercase}
.company-system__label-group{width:fit-content}
.company-system__label-line{display:block;width:100%;height:2px;margin:8.5px 0 18.9px;background:var(--gold)}
.company-system__title{margin:0;color:var(--navy);font-family:"Montserrat",sans-serif;font-size:clamp(2.35rem,3.1vw,3.15rem);font-weight:400;line-height:1.02;letter-spacing:-.025em}
.company-system__title span{display:block}
.company-system__copy{width:100%;max-width:1000px;margin:26.457px 0 0;color:var(--navy);font-family:"Montserrat",sans-serif;font-size:.92rem;font-weight:400;line-height:1.7;text-align:left}
.company-system__copy p{margin:0}
.company-system__copy p+p{margin-top:22.677165px}
.company-system__principles{margin-top:49.133417px}
.company-system__heading{margin-bottom:22.677px}
.company-system__grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));column-gap:18px;row-gap:30.236px}
.company-system__item{min-width:0}
.company-system__item h4{margin:0;color:var(--navy);font-family:"Montserrat",sans-serif;font-size:.75rem;font-weight:500;line-height:1.45;letter-spacing:.14em;text-transform:uppercase}
.company-system__item-line{display:block;width:100%;max-width:238px;height:2px;margin:11.338px 0;background:var(--gold)}
.company-system__item p{margin:0;color:var(--navy);font-family:"Montserrat",sans-serif;font-size:.84rem;font-weight:400;line-height:1.65;text-align:left}
@media(max-width:1204px){.company-system>.container{width:100%;max-width:1204.367px;padding-right:40px;padding-left:40px}}
@media(max-width:900px){.company-system{min-height:auto}.company-system__grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.company-system{padding:52.759528px 0 44.166px}.company-system>.container{padding-right:20px;padding-left:20px}.company-system__title{font-size:clamp(2rem,10vw,2.7rem)}.company-system__copy{margin-top:22.677px}.company-system__principles{margin-top:45.354px}.company-system__grid{grid-template-columns:1fr}}

.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.contact-system{min-height:100vh;box-sizing:border-box;scroll-margin-top:calc(var(--ecosystem-header-height) - 4px);padding:52.759528px 0 44.166px;color:var(--navy);background:var(--white);font-family:"Montserrat",sans-serif}
.contact-system>.container{width:1204.367px;max-width:none;padding-right:66.909px;padding-left:66.909px}
.contact-system__grid{display:grid;grid-template-columns:1fr 1fr;gap:80px;align-items:start}
.contact-system__label-group{width:fit-content}
.contact-system__label{display:block;width:fit-content;margin:0;color:var(--navy);font-family:"Montserrat",sans-serif;font-size:.68rem;font-weight:700;line-height:1.2;letter-spacing:.24em;text-transform:uppercase}
.contact-system__label-line{display:block;width:100%;height:2px;margin:8.5px 0 15.120472px;background:var(--gold)}
.contact-system__title{margin:0;color:var(--navy);font-family:"Montserrat",sans-serif;font-size:clamp(1.72rem,2.45vw,2.48rem);font-weight:400;line-height:1.14;letter-spacing:normal}
.contact-system__title span{display:block}
.contact-system__copy{max-width:500px;margin:26.457px 0 0;color:var(--navy);font-size:1rem;font-weight:400;line-height:1.8}
.contact-system__details{margin-top:22.677px}
.contact-system__detail+.contact-system__detail{margin-top:22.677px}
.contact-system__detail-label{margin:0 0 4px;color:var(--navy);font-size:.68rem;font-weight:600;line-height:1.7;letter-spacing:.18em;text-transform:uppercase}
.contact-system__detail-value{max-width:500px;margin:0;color:var(--navy);font-size:.95rem;font-weight:400;line-height:1.7;text-decoration:none}
.contact-system__email{display:inline-block;border-bottom:2px solid var(--gold)}
.contact-system__form{display:flex;flex-direction:column;gap:16px}
.contact-system__form input,.contact-system__form select,.contact-system__form textarea{width:100%;min-height:44px;box-sizing:border-box;padding:13px 16px;border:1.5px solid #ece7de;border-radius:0;color:var(--navy);background:var(--white);font-family:"Montserrat",sans-serif;font-size:.9rem;font-weight:400;line-height:1.4}
.contact-system__form input,.contact-system__form select{height:44px}
.contact-system__form textarea{height:143.500724px;min-height:143.500724px;resize:vertical}
.contact-system__form button{width:228px;height:44px;padding:0;border:2px solid var(--navy);border-radius:0;color:var(--navy);background:var(--white);font-family:"Montserrat",sans-serif;font-size:.72rem;font-weight:600;line-height:1;letter-spacing:.16em;text-transform:uppercase;cursor:pointer}
@media(max-width:1204px){.contact-system>.container{width:100%;max-width:1204.367px;padding-right:40px;padding-left:40px}}
@media(max-width:900px){.contact-system{min-height:auto}.contact-system__grid{grid-template-columns:1fr;gap:45.354px}}
@media(max-width:768px){.contact-system{padding:52.759528px 0 44.166px}.contact-system>.container{padding-right:20px;padding-left:20px}.contact-system__title{font-size:clamp(1.65rem,8vw,2.25rem)}.contact-system__copy{margin-top:22.677px}.contact-system__form button{width:100%}}

.site-footer,.site-footer a,.site-footer p,.site-footer span,.site-footer li,.site-footer .footer-heading{color:var(--white);font-family:"Montserrat",Arial,sans-serif}
.site-footer{padding:40px 0 24px;border-top:0;color:var(--white);background:var(--navy);line-height:1.7}
.site-footer>.container{width:1160px;max-width:1160px;padding-right:32px;padding-left:32px}
.site-footer .footer-grid{display:grid;grid-template-columns:minmax(280px,1.4fr) repeat(3,minmax(0,1fr));gap:48px;margin-bottom:28px}
.site-footer .footer-brand__desc{max-width:340px;margin:0;font-size:12.5px;line-height:1.7}
.site-footer .footer-heading{margin:0 0 18px;font-size:10.5px;font-weight:600;letter-spacing:.18em;text-transform:uppercase}
.site-footer .footer-col ul{display:flex;flex-direction:column;gap:0;margin:0;padding:0;list-style:none}
.site-footer .footer-col ul li{margin:0 0 9px;padding:0}
.site-footer .footer-col ul li a{font-size:12.5px;line-height:1.45}
.site-footer a:hover,.site-footer a:focus{color:var(--white);opacity:1}
.site-footer .footer-bottom{display:flex;align-items:center;justify-content:space-between;flex-direction:row;flex-wrap:wrap;gap:12px;padding-top:16px;border-top:1px solid var(--gold);text-align:left}
.site-footer .footer-bottom p{margin:0}
.site-footer .footer-bottom p,.site-footer .footer-bottom a,.site-footer .footer-language{font-size:11px;line-height:1.4}
.site-footer .footer-language{letter-spacing:.13em;white-space:nowrap}
.site-footer .footer-links{display:flex;align-items:center;gap:24px}
.site-footer .footer-brand__logo{position:relative;width:min(340px,100%);height:auto;aspect-ratio:1677/635;margin-bottom:35.071px;overflow:hidden}
.site-footer .footer-brand__logo img{position:absolute;top:0;left:0;display:block;width:116.040549791%;max-width:none;height:auto;transform:translate(-8.581706064%,-17.782217782%);filter:grayscale(1) brightness(0) invert(1)}
@media(max-width:1160px){.site-footer>.container{width:100%;max-width:1160px}}
@media(max-width:900px){.site-footer .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:36px 40px}}
@media(max-width:560px){.site-footer{padding:40px 0 24px}.site-footer .container{padding-right:18px;padding-left:18px}.site-footer .footer-grid{grid-template-columns:1fr;gap:30px;margin-bottom:34px}.site-footer .footer-bottom{align-items:flex-start}.site-footer .footer-links{flex-wrap:wrap;gap:12px 20px}}

@media(max-width:1350px){
  :root{--ecosystem-header-height:106px}
  .site-header .header-inner{display:flex;width:100%;padding:0 24px;justify-content:space-between;align-items:center}
  .site-header .site-logo{width:230px}
  .site-header .site-logo__image{width:263.6px;transform:translate(-21.1px,-14px)}
  .site-header .header-actions{display:none}
  .site-header .nav-toggle{display:flex;margin-left:auto;cursor:pointer}
  .site-header .site-nav{position:absolute;top:100%;right:24px;display:none;width:min(360px,calc(100vw - 48px));height:auto;padding:24px;background:var(--navy);box-shadow:0 14px 30px rgba(0,0,0,.2)}
  .site-header .site-nav.is-open{display:grid}
  .site-header .site-nav__primary{position:static;display:grid;gap:0;align-items:stretch;justify-content:stretch}
  .site-header .site-nav__primary>a{display:flex;min-height:44px;padding:8px 0}
  .site-header .site-nav__corporate{justify-content:flex-start;min-height:36px;margin:8px 0 0}
  .site-header .site-nav .nav-cta--mobile{display:inline-flex;width:100%;margin-top:12px;padding:0 18px}
}

@media(max-width:480px){.container{width:calc(100% - 40px)}.site-header .header-inner{padding:0 20px}}
.language-switcher { display:inline-flex!important; align-items:center; justify-content:center; gap:6px; white-space:nowrap; }
.language-choice { display:inline-flex; align-items:center; gap:4px; color:inherit; text-decoration:none; }
.language-choice:hover, .language-choice:focus { color:inherit; opacity:1; }
.language-flag { display:block; width:18px; height:12px; flex:0 0 18px; }
.language-separator { display:inline-block; letter-spacing:0; }

/* PMG Construccion audit normalization — 22 August 2026. */
.site-header .header-language {
  font-weight: 800;
}

.site-header .nav-cta__label {
  font-weight: 500;
}

.contact-system__form button {
  font-size: 12.48px;
  font-weight: 700;
  letter-spacing: 1.4976px;
}

.contact-system__form button:hover,
.contact-system__form button:focus,
.project-entry__action:hover,
.project-entry__action:focus {
  color: var(--white);
  background: var(--navy);
}

/* Definitive PMG footer geometry shared across the ecosystem. */
.site-footer {
  padding: 40px 0 8.881890px;
  border-top: 0;
  color: var(--white);
  background: var(--navy);
  font-family: "Montserrat", Arial, sans-serif;
  overflow-x: hidden;
}
.site-footer > .container {
  max-width: 1160px;
  padding-right: 32px;
  padding-left: 32px;
}
.site-footer .footer-grid {
  display: grid;
  grid-template-columns: minmax(280px,1.4fr) repeat(3,minmax(0,1fr));
  gap: 48px;
  margin-bottom: 50.677165px;
  align-items: start;
}
.site-footer .footer-heading {
  margin: 0 0 18px;
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.site-footer .footer-col ul li {
  margin: 0 0 9px;
  font-size: 12.5px;
  line-height: 1.45;
}
.site-footer .footer-col ul li a {
  color: var(--white);
  font-size: 12.5px;
  line-height: 1.45;
}
.site-footer .footer-bottom {
  padding-top: 16px;
  transform: translateY(-11.338583px);
}
.site-footer .footer-bottom p,
.site-footer .footer-bottom a,
.site-footer .footer-language {
  margin: 0;
  color: var(--white);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 11px;
  line-height: 1.4;
}
.site-footer .footer-brand__logo {
  overflow: visible;
}

@media (min-width: 901px) {
  .site-footer {
    min-height: 368.09px;
  }
}

@media (max-width: 900px) {
  .services-system > .container,
  .projects-system > .container,
  .process-system > .container,
  .company-system > .container,
  .contact-system > .container {
    width: 100%;
    max-width: none;
    padding-right: 32px;
    padding-left: 32px;
  }

  .site-footer .footer-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 36px 40px;
  }
}

@media (max-width: 560px) {
  .services-system > .container,
  .projects-system > .container,
  .process-system > .container,
  .company-system > .container,
  .contact-system > .container {
    padding-right: 18px;
    padding-left: 18px;
  }

  .site-footer {
    padding: 40px 0 24px;
  }
  .site-footer .container {
    padding-right: 18px;
    padding-left: 18px;
  }
  .site-footer .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 34px;
  }
  .site-footer .footer-bottom {
    align-items: flex-start;
  }
  .site-footer .footer-links {
    flex-wrap: wrap;
    gap: 12px 20px;
  }
}

/* PMG master functional-button treatment — ecosystem point 5. */
.contact-system__form button,
.project-entry__action { border:2px solid var(--navy); color:var(--navy); background:var(--white); font-family:"Montserrat",Arial,sans-serif; font-size:12.48px; font-weight:700; line-height:1; letter-spacing:1.4976px; text-transform:uppercase; box-shadow:none; transform:none; transition:color .25s ease,background-color .25s ease,border-color .25s ease; }
.contact-system__form button:hover,
.contact-system__form button:focus,
.project-entry__action:hover,
.project-entry__action:focus { border-color:var(--navy); color:var(--white); background:var(--navy); }
.contact-system__form button:focus-visible,
.project-entry__action:focus-visible { outline:2px solid var(--gold); outline-offset:3px; }

/* PMG mobile Footer normalization — ecosystem point 7. */
@media (max-width: 900px) {
  .site-footer .footer-brand__logo {
    width: auto;
    height: auto;
    aspect-ratio: auto;
    margin-bottom: -5.39px;
    overflow: visible;
  }
  .site-footer .footer-brand__logo img {
    position: static;
    width: 180px;
    max-width: 100%;
    height: auto;
    transform: none;
  }
  .site-footer .footer-bottom {
    transform: none;
  }

}
@media (max-width: 560px) {
  .site-footer .footer-bottom {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    text-align: left;
  }
}
/* PMG master horizontal axis: common content bounds across the ecosystem. */
/* PMG master section-title scale. */
.services-system__title,
.projects-system__title,
.process-system__title,
.company-system__title,
.contact-system__title {
  font-size: 35.28px !important;
  line-height: 39.5136px !important;
}

.page-shell h1 {
  font-size: 35.28px !important;
  line-height: 39.5136px !important;
}

@media (min-width: 1240px) {
  .site-footer .footer-brand__desc {
    min-height: 85px;
  }
}

/* PMG Footer vertical geometry: natural Group/International model. */
@media (min-width: 901px) {
  .site-footer {
    padding: 40px 0 24px;
    min-height: 0;
  }

  .site-footer .footer-grid {
    margin-bottom: 28px;
  }

  .site-footer .footer-bottom {
    transform: none;
  }

}

@media (min-width: 1240px) {
  section:not(.hero) > .container,
  main > .container,
  .site-footer > .container {
    --pmg-axis-margin: min(55mm, max(24px, calc((100vw - 1096px) / 2)));
    box-sizing: border-box !important;
    width: calc(100vw - var(--pmg-axis-margin) - var(--pmg-axis-margin)) !important;
    max-width: none !important;
    margin-right: auto !important;
    margin-left: auto !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
    position: relative !important;
    left: calc((100vw - 100%) / 2) !important;
    transform: none !important;
  }
}

/* PMG Footer desktop parity: shared internal height at the common four-column layout. */
@media (min-width: 1240px) {
  .site-footer .footer-grid {
    min-height: 244.03125px;
  }
}

@media (min-width: 901px) and (max-width: 1239px) {
  .site-footer .footer-grid {
    min-height: 352.822937px;
  }
}

@media (min-width: 561px) and (max-width: 900px) {
  .site-footer {
    padding: 40px 0 24px;
  }

  .site-footer .footer-grid {
    min-height: 480.385437px;
    margin-bottom: 28px;
  }
}

/* PMG common legal-page system. */
.legal-page {
  min-height: 70vh;
  padding: calc(var(--ecosystem-header-height) + 49px) 0 80px;
  color: #444;
  background: #fff;
  font-family: "Montserrat", Arial, sans-serif;
}
.legal-page__inner {
  width: min(calc(100% - 110px), 1080px);
  margin-inline: auto;
}
.legal-page__eyebrow {
  margin: 0 0 14px;
  color: #B8945A;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 11.2px;
  font-weight: 600;
  line-height: 1.7;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.legal-page__title {
  margin: 0;
  color: #0D1B2A;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 48px;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0;
}
.legal-page__line {
  width: 72px;
  height: 1px;
  margin: 18px 0 32px;
  background: #B8945A;
}
.legal-page__content {
  max-width: 900px;
  color: #444;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.9;
}
.legal-page__content p { margin: 0 0 20px; }
.legal-page__content h2,
.legal-page__content h3 {
  margin: 34px 0 12px;
  color: #0D1B2A;
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 500;
  line-height: 1.3;
}
.legal-page__content h2 { font-size: 24px; }
.legal-page__content h3 { font-size: 20px; }
.legal-page__content ul,
.legal-page__content ol { margin: 0 0 20px; padding-left: 24px; }
.legal-page__content li + li { margin-top: 8px; }
.legal-page__content a {
  color: #0D1B2A;
  text-decoration: underline;
  text-decoration-color: #B8945A;
  text-underline-offset: 3px;
}
.legal-page__back {
  margin-top: 48px;
  padding-top: 30px;
  border-top: 1px solid rgba(184,148,90,.45);
}
.legal-page__back-link {
  display: inline-flex;
  width: 228px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid #0D1B2A;
  color: #0D1B2A;
  background: #fff;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 10.88px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .12em;
  text-align: center;
  text-transform: uppercase;
}
.legal-page__back-link:hover,
.legal-page__back-link:focus-visible {
  color: #fff;
  background: #0D1B2A;
}
@media (max-width: 1199px) {
  .legal-page { padding-top: calc(var(--ecosystem-header-height) + 40px); }
}
@media (max-width: 800px) {
  .legal-page { padding: calc(var(--ecosystem-header-height) + 32px) 0 64px; }
  .legal-page__inner { width: calc(100% - 48px); }
  .legal-page__title { font-size: 40px; }
  .legal-page__content { font-size: 15px; line-height: 1.8; }
}
@media (max-width: 560px) {
  .legal-page { padding-bottom: 52px; }
  .legal-page__inner { width: calc(100% - 32px); }
  .legal-page__title { font-size: 34px; }
  .legal-page__line { margin-bottom: 26px; }
  .legal-page__back-link { width: 100%; }
}

/* PMG common mobile footer geometry. */
@media (max-width: 900px) {
  .site-footer .footer-brand__logo { width:auto; height:auto; aspect-ratio:auto; margin-bottom:-5.39px; overflow:visible; }
  .site-footer .footer-brand__logo img { position:static; width:180px; max-width:100%; height:auto; transform:none; }
  .site-footer .footer-heading { line-height:1.2; }
  .site-footer .footer-col ul li { font-size:12.5px; line-height:1.45; }
  .site-footer .footer-bottom { transform:none; }
}
@media (max-width: 560px) {
  .site-footer .footer-bottom { flex-direction:row; flex-wrap:wrap; justify-content:space-between; align-items:flex-start; gap:12px; text-align:left; }
}

/* Keyboard focus and reduced-motion support, without changing resting layout. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
  box-shadow: 0 0 0 5px var(--navy);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
/* Mobile navigation visited-link visibility — 16 September 2026.
   Prevents browsers from restoring their default blue visited-link colour
   over the dark mobile navigation and submenu backgrounds. */
@media (max-width: 900px) {
  .site-header .site-nav a:visited,
  .site-header .nav-dropdown__menu a:visited {
    color: var(--white) !important;
  }

  .site-header .nav-dropdown.is-open .nav-dropdown__trigger > a,
  .site-header .nav-dropdown.is-open .nav-dropdown__trigger > a:visited {
    color: var(--gold) !important;
  }

  .site-header .site-nav .nav-cta--mobile:visited,
  .site-header .site-nav .nav-cta--mobile:visited span {
    color: var(--navy) !important;
  }
}
