:root {
  --ink: #151c20;
  --blue: #082d4a;
  --blue-deep: #031a2b;
  --orange: #ef9d26;
  --paper: #f3f0e9;
  --paper-dark: #e8e3d9;
  --muted: #657078;
  --white: #fff;
  --line: rgba(21, 28, 32, .18);
  --shell: min(1320px, calc(100vw - 72px));
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
html {
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
  scroll-behavior: smooth;
}
body {
  max-width: 100%;
  margin: 0;
  overflow-x: hidden;
  overflow-x: clip;
  color: var(--ink);
  background: var(--paper);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  hyphens: none;
  overflow-wrap: normal;
  word-break: normal;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--blue);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }
.shell { width: var(--shell); margin-inline: auto; }
.section { padding-block: clamp(88px, 10vw, 160px); }
.section--compact { padding-block: clamp(68px, 7vw, 110px); }
.eyebrow {
  margin: 0 0 22px;
  color: var(--blue);
  font-size: .74rem;
  font-weight: 750;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.eyebrow--light { color: rgba(255, 255, 255, .72); }
.eyebrow--lg { font-size: 2.05rem; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3, p, li, dd, dt, blockquote, figcaption {
  max-width: 100%;
  hyphens: none;
  overflow-wrap: normal;
  word-break: normal;
}
main :where(section, article, div, aside, figure) { min-width: 0; }
h1, h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: normal;
}
h2 {
  margin-bottom: 0;
  font-size: clamp(2.7rem, 5vw, 5.5rem);
  line-height: .98;
}
h3 {
  margin-bottom: 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2.2vw, 2.25rem);
  font-weight: 400;
  line-height: 1.05;
}
h1 em, h2 em { color: var(--orange); font-weight: 400; }
.lead {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  line-height: 1.28;
}
.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 23px;
  border: 1px solid transparent;
  font-size: .78rem;
  font-weight: 750;
  letter-spacing: .065em;
  text-transform: uppercase;
  transition: color .25s ease, background .25s ease, border-color .25s ease;
}
.button--orange { color: var(--blue-deep); background: var(--orange); }
.button--orange:hover, .button--orange:focus-visible { background: #ffb743; }
.button--dark { color: var(--white); background: var(--blue); }
.button--dark:hover, .button--dark:focus-visible {
  color: var(--blue);
  background: transparent;
  border-color: var(--blue);
}
.text-link {
  display: inline-flex;
  gap: 14px;
  align-items: center;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  font-size: .78rem;
  font-weight: 750;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.text-link span { transition: transform .25s var(--ease); }
.text-link:hover span, .text-link:focus-visible span { transform: translate(3px, 3px); }
.text-link--light { color: var(--white); }

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  color: var(--ink);
  background: rgba(248, 246, 241, .95);
  box-shadow: 0 1px 0 rgba(21, 28, 32, .12);
  backdrop-filter: blur(16px);
}
.header-inner {
  display: flex;
  width: min(1460px, calc(100vw - 48px));
  min-height: 132px;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: clamp(40px, 6vw, 96px);
  margin-inline: auto;
  padding: 10px 0;
}
.brand-logo {
  width: 168px;
  height: auto;
  object-fit: contain;
  object-position: center;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(22px, 2.2vw, 38px);
}
.main-nav a {
  position: relative;
  padding-block: 8px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .055em;
  text-transform: uppercase;
}
.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--orange);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .3s var(--ease);
}
.main-nav a:hover::after,
.main-nav a:focus-visible::after,
.main-nav a.is-current::after {
  transform: scaleX(1);
  transform-origin: left;
}
.menu-toggle { display: none; }

.hero {
  position: relative;
  display: flex;
  min-height: clamp(483px, 54.6svh, 574px);
  align-items: flex-end;
  padding: clamp(58px, 6vw, 90px) 0 clamp(42px, 5vw, 68px);
  overflow: hidden;
  color: var(--ink);
  background: var(--paper-dark);
}
.hero-media, .hero-background { position: absolute; inset: 0; }
.hero-background {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
.hero-content {
  position: relative;
  z-index: 2;
}
.hero-panel {
  width: min(580px, 100%);
  padding: clamp(23px, 2.5vw, 34px);
  border-left: 3px solid var(--orange);
  background: rgba(243, 240, 233, .88);
  box-shadow: 0 18px 55px rgba(3, 26, 43, .12);
}
.hero h1 {
  max-width: 550px;
  margin-bottom: 18px;
  font-size: clamp(2.75rem, 4vw, 4.8rem);
  line-height: .96;
}
.hero-lead {
  max-width: 535px;
  margin-bottom: 20px;
  color: var(--ink);
  font-size: clamp(.95rem, 1.15vw, 1.08rem);
  line-height: 1.45;
}
.hero-assurance {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid rgba(21, 28, 32, .2);
  text-align: center;
}
.hero-service-title {
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 1.26rem;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.hero-quality-logos {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-quality-logo {
  display: block;
  flex: 0 0 auto;
  width: auto;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}
.hero-quality-logo--tuv { width: 169px; }
.hero-contact-link {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0 7px;
  margin-bottom: 18px;
  padding-bottom: 5px;
  border-bottom: 1px solid currentColor;
  color: var(--blue);
  font-size: clamp(1rem, 1.3vw, 1.15rem);
}
.hero-contact-link strong { color: var(--orange); font-weight: 800; }

.home-services { background: var(--paper-dark); }
.section-head {
  display: block;
  max-width: 900px;
  margin-bottom: 58px;
}
.home-services .section-head {
  margin-inline: auto;
  text-align: center;
}
.section-subtitle {
  max-width: 680px;
  margin: 24px 0 0;
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
}
.home-services .section-subtitle { margin-inline: auto; }
.teaser-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}
.teaser-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 510px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 34px;
  overflow: hidden;
  background: var(--paper);
  color: inherit;
  text-decoration: none;
}
a.teaser-card:focus-visible,
.teaser-half:focus-visible,
.teaser-half-cover:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: -3px;
}
.teaser-card--image { min-height: 570px; }
.teaser-card--wide {
  min-height: 430px;
  grid-column: 1 / -1;
}
.teaser-card--wide .teaser-card-content { max-width: 760px; }
.teaser-card--centered {
  align-items: center;
  justify-content: center;
  text-align: center;
}
.teaser-card--centered .teaser-card-content { max-width: 1080px; }
.teaser-card--centered h3 {
  margin-bottom: 24px;
  font-size: clamp(2.8rem, 5vw, 5.4rem);
}
.teaser-card--centered p {
  max-width: 980px;
  margin: 0 auto;
  font-size: clamp(1rem, 1.35vw, 1.22rem);
  line-height: 1.5;
}
.teaser-card--centered .teaser-card-shade { background: rgba(2, 19, 31, .52); }
.teaser-card--image,
.teaser-card--photo { color: var(--white); }
.teaser-card--image img,
.teaser-card--photo img,
.teaser-card-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.teaser-card--image img,
.teaser-card--photo img {
  object-fit: cover;
  transition: transform .8s var(--ease);
}
a.teaser-card--image:hover img,
a.teaser-card--photo:hover img { transform: scale(1.025); }
.teaser-card-shade { background: linear-gradient(0deg, rgba(2, 19, 31, .83), transparent 65%); }
.teaser-card-content { position: relative; z-index: 1; }
.teaser-card p { margin-bottom: 25px; }
.teaser-card .text-link { align-self: flex-start; }
.teaser-card--blue { color: var(--white); background: var(--blue); }

.teaser-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  padding: 0;
  overflow: hidden;
  background: var(--line);
}
.teaser-half {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: flex-end;
  padding: 34px;
  overflow: hidden;
  color: var(--white);
  background: var(--paper);
  text-decoration: none;
}
#rehabilitacion-fachadas { scroll-margin-top: 140px; }
.teaser-half img,
.teaser-half .teaser-card-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.teaser-half img { transition: transform .8s var(--ease); }
.teaser-half:hover img { transform: scale(1.025); }
.teaser-half .teaser-card-content { position: relative; z-index: 1; }
.teaser-half .text-link { position: relative; z-index: 3; margin-top: 12px; }
.teaser-half-cover { position: absolute; inset: 0; z-index: 2; }

.trust {
  padding-block: clamp(52px, 6vw, 84px);
  color: var(--white);
  background: var(--blue);
}
.trust-grid {
  display: grid;
  max-width: 1100px;
  grid-template-columns: .9fr 1.2fr .9fr;
  align-items: center;
}
.trust-grid > div {
  display: flex;
  min-height: 160px;
  align-items: center;
  padding: 0 clamp(14px, 1.8vw, 24px);
  border-left: 1px solid rgba(255, 255, 255, .18);
}
.trust-grid > div:first-child { padding-left: 0; border-left: 0; }
.trust-grid > div:last-child { padding-right: 0; }
.trust-message p {
  max-width: 280px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.2rem, 1.75vw, 1.55rem);
  line-height: 1.3;
}
.trust-message { justify-content: flex-end; text-align: right; }
.trust-center { justify-content: center; text-align: center; }
.trust-center h2 {
  max-width: 420px;
  font-size: clamp(2.5rem, 4.5vw, 4.8rem);
  line-height: .95;
}
.trust-certification { justify-content: flex-start; }
.trust-certification img { width: min(100%, 248px); }

.contact-cta {
  padding-block: clamp(100px, 13vw, 180px);
  color: var(--white);
  background: var(--blue-deep);
}
.contact-cta h2 { max-width: 980px; font-size: clamp(4rem, 8vw, 8rem); }
.contact-cta--home h2 { font-size: clamp(2.9rem, 6vw, 6.5rem); }
.contact-bottom {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-top: 60px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, .22);
}
.contact-bottom p { max-width: 460px; margin: 0; color: rgba(255, 255, 255, .68); }

.page-hero {
  display: flex;
  min-height: clamp(483px, 54.6svh, 574px);
  align-items: flex-end;
  padding: 90px 0;
  color: var(--white);
  background: var(--blue);
}
.page-hero--image {
  position: relative;
  overflow: hidden;
}
.page-hero--image > img, .page-hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.page-hero--image > img { object-fit: cover; }
.page-hero--contact > img {
  object-fit: cover;
  object-position: center;
}
.page-hero-overlay { background: linear-gradient(90deg, rgba(2, 19, 31, .9), rgba(2, 19, 31, .3)); }
.page-hero-copy {
  display: inline-block;
  max-width: min(100%, 1120px);
  padding: clamp(20px, 2.2vw, 30px) clamp(22px, 2.8vw, 40px);
  background: rgba(2, 19, 31, .68);
}
.page-hero--services > img { filter: brightness(1.14) contrast(.97); }
.page-hero--sate > img { object-position: 48% center; }
.page-hero-content { position: relative; z-index: 1; min-width: 0; }
.page-hero h1 {
  max-width: 1050px;
  margin: 0 0 28px;
  font-size: clamp(2.75rem, 4vw, 4.8rem);
  line-height: .96;
}
.page-hero--projects h1 {
  width: 100%;
  max-width: 950px;
}
.page-hero p:last-child { max-width: 650px; margin-bottom: 0; font-size: 1.16rem; }
.crumbs { font-size: .73rem; letter-spacing: .08em; text-transform: uppercase; }
.page-hero .crumbs { margin-bottom: 32px; color: rgba(255,255,255,.72); }
.page-hero .crumbs a { border-bottom: 1px solid rgba(255,255,255,.4); }
.page-breadcrumbs {
  padding-block: 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  background: var(--paper);
}
.page-breadcrumbs .crumbs { margin: 0; }
.page-breadcrumbs a { color: var(--blue); border-bottom: 1px solid rgba(8, 45, 74, .35); }
.page-breadcrumbs + .section { padding-top: clamp(30px, 3.3vw, 54px); }
.page-hero--legal { min-height: 540px; }

.legal-layout {
  display: grid;
  grid-template-columns: minmax(210px, .32fr) minmax(0, 1fr);
  gap: clamp(70px, 10vw, 150px);
  align-items: start;
}
.legal-index {
  position: sticky;
  top: 225px;
  padding-top: 5px;
}
.legal-index nav { display: grid; border-top: 1px solid var(--line); }
.legal-index a {
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: .82rem;
}
.legal-index a:hover,
.legal-index a:focus-visible { color: var(--blue); }
.legal-content { max-width: 880px; }
.legal-content section {
  padding-top: 42px;
  scroll-margin-top: 220px;
}
.legal-content section:first-of-type { padding-top: 0; }
.legal-content h2 {
  margin-bottom: 26px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: clamp(2rem, 3.6vw, 3.7rem);
  line-height: 1.02;
}
.legal-content h3 {
  margin-bottom: 11px;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
}
.legal-content p,
.legal-content li { max-width: 780px; }
.legal-content a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.legal-content ul { display: grid; gap: 11px; padding-left: 22px; }
.legal-updated {
  margin-bottom: 54px;
  color: var(--muted);
  font-size: .76rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.legal-lead {
  margin-bottom: 58px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  line-height: 1.35;
}
.legal-data { margin: 30px 0; border-top: 1px solid var(--line); }
.legal-data > div {
  display: grid;
  grid-template-columns: minmax(150px, .32fr) 1fr;
  gap: 25px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.legal-data dt { color: var(--blue); font-size: .76rem; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; }
.legal-data dd { margin: 0; }
.legal-purpose-list { display: grid; gap: 1px; margin: 32px 0; background: var(--line); }
.legal-purpose-list article { padding: 30px; background: var(--paper); }
.legal-purpose-list article p:last-child { margin-bottom: 0; }

.sate-summary { max-width: 1180px; }
.sate-intro { max-width: 920px; }
.sate-intro h2 { max-width: 820px; }
.sate-intro .lead { max-width: 860px; margin: 32px 0 0; }
.sate-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(30px, 4vw, 64px);
  margin: clamp(64px, 8vw, 110px) 0 54px;
}
.sate-summary-card {
  padding-top: 28px;
  border-top: 2px solid var(--orange);
}
.sate-summary-card h3 { color: var(--blue); }
.sate-summary-card p,
.sate-summary-card li { color: var(--muted); }
.sate-summary-card ul { display: grid; gap: 10px; padding-left: 20px; }
.sate-inline-link {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .16em;
}
.sate-inline-link:hover,
.sate-inline-link:focus-visible { color: var(--orange); }

.content-head {
  display: block;
  max-width: 900px;
  margin-bottom: 64px;
}
.content-head > :last-child {
  max-width: 900px;
  text-align: left;
}
.content-head--media {
  display: grid;
  max-width: none;
  grid-template-columns: minmax(0, .85fr) minmax(420px, 1.15fr);
  gap: clamp(56px, 8vw, 112px);
  align-items: center;
}
.content-head-media {
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 0;
  overflow: hidden;
}
.content-head-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.content-head--services { margin-bottom: 0; }
.content-head--services .content-head-media { aspect-ratio: 4 / 3; }
.content-head h2 + .lead { max-width: 760px; margin-top: 26px; }
.content-head .lead + p { max-width: 680px; }
.content-head > div p:last-child { margin-bottom: 0; }
.service-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
}
.service-item {
  min-height: 320px;
  padding: 42px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 220px;
}
.service-item:nth-child(2n) { border-right: 0; }
.service-item p { max-width: 500px; margin-bottom: 0; }
.feature-band { color: var(--white); background: var(--blue); }
.feature-band-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 8vw; align-items: center; }
.feature-band img { width: 100%; max-height: 600px; object-fit: cover; }
.feature-band-copy p:not(.eyebrow) { max-width: 560px; color: rgba(255,255,255,.76); }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 60px; border-top: 1px solid var(--line); }
.process-step { padding: 34px 32px 34px 0; border-bottom: 1px solid var(--line); }
.process-step:nth-child(3n+2), .process-step:nth-child(3n+3) { padding-left: 32px; border-left: 1px solid var(--line); }
.process-step p { margin-bottom: 0; }

.project-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 72px 32px; }
.project-card img { width: 100%; aspect-ratio: 1.3; object-fit: cover; }
.project-card-body { display: grid; grid-template-columns: 100px 1fr; gap: 24px; padding-top: 20px; }
.project-card-body span { color: var(--blue); font-size: .7rem; font-weight: 750; letter-spacing: .1em; }
.project-card-body p { margin-bottom: 0; }
.project-card--wide { grid-column: 1 / -1; }
.project-card--wide img { aspect-ratio: 2.1; object-position: center 52%; }

.before-after-list {
  display: grid;
  gap: clamp(90px, 10vw, 150px);
  margin-top: clamp(70px, 8vw, 120px);
}
.comparison-section-head {
  margin-bottom: 64px;
  text-align: center;
}
.comparison-section-head h2 { text-wrap: balance; }
.comparison-intro {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.comparison-intro .lead { margin-bottom: 18px; }
.comparison-intro p:last-child { margin-bottom: 0; }
.comparison-intro + .before-after-list { margin-top: clamp(48px, 6vw, 80px); }
.before-after-project { display: grid; gap: 30px; }
.project-heading {
  display: grid;
  grid-template-columns: minmax(120px, .3fr) 1fr;
  gap: 30px;
  align-items: end;
  border-top: 1px solid rgba(2, 19, 31, .18);
  padding-top: 22px;
}
.project-heading > span {
  color: var(--blue);
  font-size: .72rem;
  font-weight: 750;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.project-heading h3 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 3rem);
}
.comparison-grid {
  display: flex;
  gap: 22px;
  align-items: start;
  justify-content: center;
}
.comparison-figure {
  display: grid;
  width: fit-content;
  max-width: 100%;
  flex: 0 0 auto;
  gap: 12px;
  margin: 0;
}
.comparison-figure img {
  display: block;
  width: auto;
  max-width: 100%;
  height: var(--comparison-image-height, clamp(220px, 32vw, 520px));
  aspect-ratio: auto;
  object-fit: contain;
  background: transparent;
}
.comparison-figure figcaption {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.comparison-figure figcaption span {
  color: var(--ink);
  font-weight: 800;
}
.comparison-grid--portrait { --comparison-image-height: clamp(320px, 46vw, 650px); }
.completed-works { background: #edf0f1; }
.completed-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  align-items: start;
  margin-top: 70px;
}
.completed-grid figure { margin: 0; }
.completed-grid img {
  display: block;
  width: 100%;
  height: auto;
}
.completed-grid figcaption {
  margin-top: 12px;
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.rehabilitation-work { background: var(--paper); }
.rehabilitation-work-head {
  display: block;
  max-width: 920px;
}
.rehabilitation-work-head .lead { max-width: 700px; margin: 26px 0 0; text-align: left; }
.rehabilitation-gallery { display: grid; gap: clamp(85px, 10vw, 145px); margin-top: clamp(75px, 9vw, 125px); }
.rehabilitation-gallery-group { border-top: 1px solid var(--line); padding-top: 24px; }
.rehabilitation-group-head {
  display: block;
  margin-bottom: 34px;
}
.rehabilitation-group-head h3 { margin: 0; font-size: clamp(1.9rem, 3vw, 3.2rem); }
.rehabilitation-group-head p { max-width: 620px; margin: 14px 0 0; color: var(--muted); }
.rehabilitation-thumbnails {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.rehabilitation-thumbnail {
  position: relative;
  display: block;
  min-width: 0;
  overflow: hidden;
  background: #dfe3e4;
}
.rehabilitation-thumbnail img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: filter .35s ease, transform .55s var(--ease);
}
.rehabilitation-thumbnail > span {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 11px;
  color: var(--white);
  background: rgba(3,26,43,.88);
  font-size: .68rem;
  font-weight: 750;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.rehabilitation-thumbnail:hover img,
.rehabilitation-thumbnail:focus-visible img { filter: brightness(.82); transform: scale(1.025); }
.rehabilitation-thumbnail:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

.work-lightbox {
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 54px clamp(62px, 8vw, 140px) 34px;
  border: 0;
  color: var(--white);
  background: rgba(2,19,31,.96);
}
.work-lightbox[open] { display: grid; place-items: center; }
.work-lightbox::backdrop { background: rgba(2,19,31,.76); backdrop-filter: blur(7px); }
.work-lightbox figure { display: grid; justify-items: center; gap: 15px; margin: 0; }
.work-lightbox figure img {
  width: auto;
  max-width: calc(100vw - 220px);
  max-height: calc(100dvh - 125px);
  object-fit: contain;
  box-shadow: 0 18px 70px rgba(0,0,0,.3);
}
.work-lightbox figcaption { max-width: 900px; color: rgba(255,255,255,.72); font-size: .8rem; text-align: center; }
.work-lightbox button {
  position: fixed;
  z-index: 1;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.45);
  color: var(--white);
  background: rgba(3,26,43,.75);
  cursor: pointer;
}
.work-lightbox button:hover,
.work-lightbox button:focus-visible { border-color: var(--orange); color: var(--orange); outline: 0; }
.work-lightbox-close {
  top: 22px;
  right: 24px;
  grid-auto-flow: column;
  gap: 10px;
  min-height: 44px;
  padding: 9px 14px;
  font-size: .72rem;
  font-weight: 750;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.work-lightbox-close span { font-size: 1.4rem; font-weight: 400; line-height: 1; }
.work-lightbox-nav {
  top: 50%;
  width: 48px;
  height: 48px;
  transform: translateY(-50%);
  font-size: 1.35rem;
}
.work-lightbox-prev { left: 22px; }
.work-lightbox-next { right: 22px; }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 7vw; align-items: center; }
.about-media {
  width: 100%;
  aspect-ratio: 3 / 2;
  margin: 0;
  overflow: hidden;
}
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-section { padding-bottom: clamp(36px, 4.5vw, 70px); }
.about-copy h2 { font-size: clamp(2.6rem, 4.2vw, 4.6rem); }
.about-copy .lead { margin-bottom: 30px; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 58px; background: var(--line); }
.value-card { min-height: 250px; padding: 28px; background: var(--paper); }
.iso-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 56px; background: rgba(255,255,255,.2); }
.iso-card { min-height: 260px; padding: 35px; background: var(--blue); }
.iso-card span { display: block; margin-bottom: 70px; color: var(--orange); font-family: Georgia, serif; font-size: 2.2rem; }
.iso-card p { margin-bottom: 0; color: rgba(255,255,255,.72); }

.gallery-intro { display: block; max-width: 920px; }
.gallery-intro .lead { max-width: 700px; margin: 26px 0 0; text-align: left; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 28px;
  margin-top: 60px;
}
.gallery-grid figure { margin: 0; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; }
.gallery-grid figcaption { margin-top: 10px; font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; }
.gallery-a { grid-column: 1 / 8; }
.gallery-a img { aspect-ratio: 1.45; }
.gallery-b { grid-column: 8 / 13; margin-top: 120px !important; }
.gallery-b img { aspect-ratio: .9; }
.gallery-c { grid-column: 1 / 5; }
.gallery-c img { aspect-ratio: .9; }
.gallery-d { grid-column: 5 / 13; margin-top: 80px !important; }
.gallery-d img { aspect-ratio: 1.6; }
.gallery-e { grid-column: 2 / 9; }
.gallery-e img { aspect-ratio: 1.4; }
.gallery-f { grid-column: 9 / 13; margin-top: 110px !important; }
.gallery-f img { aspect-ratio: .82; }

.corporate-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 32px;
  row-gap: clamp(75px, 8vw, 115px);
  margin-top: 72px;
}
.corporate-gallery figure { margin: 0; }
.corporate-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.corporate-gallery figcaption {
  margin-top: 11px;
  font-size: .7rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.corporate-gallery-full { grid-column: 1 / -1; }
.corporate-gallery-full img { aspect-ratio: 1.85 / 1; }

.contact-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 10vw; }
.contact-details { display: grid; gap: 32px; }
.contact-block { padding-top: 22px; border-top: 1px solid var(--line); }
.contact-details .contact-block:first-child { border-top: 0; }
.contact-block h2 { margin-bottom: 20px; font-family: Georgia, serif; font-size: 2rem; letter-spacing: normal; }
.contact-block a { display: block; margin-bottom: 5px; }
.contact-block a:hover { color: var(--blue); text-decoration: underline; }
.contact-panel { padding: clamp(36px, 5vw, 72px); color: var(--white); background: var(--blue); }
.contact-panel h2 { margin-bottom: 25px; font-size: clamp(2.7rem, 4.5vw, 4.8rem); }
.contact-panel > p { max-width: 580px; color: rgba(255,255,255,.74); }
.contact-form { display: grid; gap: 22px; margin-top: 42px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: grid; gap: 8px; }
.form-field label, .form-privacy {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .025em;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 0;
  padding: 14px 15px;
  color: var(--ink);
  background: rgba(255,255,255,.97);
  outline: 0;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form-field textarea { min-height: 170px; resize: vertical; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(239,157,38,.24);
}
.form-privacy {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255,255,255,.84);
}
.form-privacy-summary {
  padding: 17px 18px;
  border: 1px solid rgba(255,255,255,.22);
  color: rgba(255,255,255,.78);
  font-size: .76rem;
  line-height: 1.5;
}
.form-privacy-summary p { margin: 0; }
.form-privacy-summary strong { color: var(--white); }
.form-privacy input { width: 17px; height: 17px; margin: 3px 0 0; accent-color: var(--orange); }
.form-privacy a { color: var(--white); border-bottom: 1px solid rgba(255,255,255,.5); }
.form-submit { justify-self: start; margin-top: 5px; cursor: pointer; }
.form-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
.form-message { margin-top: 28px; padding: 15px 17px; font-size: .9rem; }
.form-message p { margin-bottom: 0; }
.form-message p + p { margin-top: 6px; }
.form-message--error { color: #7f1515; background: #fff0f0; border-left: 4px solid #d23d3d; }
.contact-options { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 44px; background: rgba(255,255,255,.22); }
.contact-option { min-height: 170px; padding: 28px; background: var(--blue); }
.contact-option h3 { font-size: 1.55rem; }
.contact-option a { color: var(--orange); font-weight: 700; }
.contact-map-section { padding-top: 0; }
.static-map-link {
  display: block;
  margin-top: 56px;
  overflow: hidden;
  background: var(--paper-dark);
}
.static-map-link figure { margin: 0; }
.static-map-link img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform .6s var(--ease), filter .3s ease;
}
.static-map-link figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-top: 0;
  font-size: .82rem;
}
.static-map-link figcaption strong { color: var(--blue); white-space: nowrap; }
.static-map-link:hover img,
.static-map-link:focus-visible img { filter: saturate(1.08); transform: scale(1.015); }
.static-map-link:hover figcaption strong,
.static-map-link:focus-visible figcaption strong { color: var(--orange); }
.thanks-hero {
  min-height: clamp(460px, 55svh, 560px);
  align-items: center;
  padding-block: clamp(54px, 7vw, 76px);
}
.thanks-actions { display: flex; align-items: center; gap: 30px; margin-top: 38px; }

.site-footer { color: var(--ink); background: var(--paper-dark); }
.footer-certifications {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8vw;
  align-items: end;
  padding: 78px 0 56px;
  border-bottom: 1px solid var(--line);
}
.footer-brand-block p {
  max-width: 400px;
  margin: 24px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.18rem;
}
.footer-top {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8vw;
  padding-block: 52px;
}
.footer-logo {
  width: 270px;
  height: auto;
}
.footer-logo-link { display: inline-block; }
.footer-certification-block,
.footer-program-block {
  display: flex;
  min-height: 190px;
  min-width: 0;
  flex-direction: column;
  align-self: start;
  justify-content: flex-start;
}
.footer-certification-logo {
  width: min(100%, 360px);
  max-height: 105px;
  object-fit: contain;
  object-position: left bottom;
}
.footer-plan-logo {
  width: min(100%, 245px);
  max-height: 82px;
  object-fit: contain;
  object-position: left bottom;
}
.footer-certificate-links {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 18px;
  margin-top: 17px;
  font-size: .82rem;
}
.footer-certificate-links a {
  border-bottom: 1px solid currentColor;
}
.footer-certificate-links a:hover,
.footer-certificate-links a:focus-visible { color: var(--blue); }
.footer-title {
  margin-bottom: 20px;
  color: var(--blue);
  font-size: .78rem;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
  font-size: 1.02rem;
  font-style: normal;
}
.footer-column a:hover, .footer-column a:focus-visible { color: var(--blue); text-decoration: underline; }
.footer-column p { margin-bottom: 0; }
.footer-bottom {
  display: block;
  align-items: start;
  justify-content: space-between;
  gap: 24px;
  padding-block: 26px;
  border-top: 1px solid var(--line);
  font-size: .8rem;
}
.back-to-top {
  position: fixed;
  z-index: 90;
  right: clamp(18px, 2.5vw, 42px);
  bottom: clamp(18px, 2.5vw, 38px);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  border: 1px solid rgba(2,19,31,.16);
  color: var(--ink);
  background: rgba(247,246,242,.94);
  box-shadow: 0 10px 35px rgba(2,19,31,.14);
  font-size: .76rem;
  font-weight: 750;
  letter-spacing: .04em;
  backdrop-filter: blur(10px);
  transition: color .2s ease, background-color .2s ease, transform .2s ease;
}
.back-to-top:hover,
.back-to-top:focus-visible { color: var(--white); background: var(--blue); transform: translateY(-2px); }
.footer-bottom p { margin: 0; }
.footer-legal-area {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 24px;
}
.footer-legal-links { display: flex; flex-wrap: wrap; gap: 10px 24px; text-align: left; }
.footer-legal-links a:hover,
.footer-legal-links a:focus-visible { color: var(--blue); text-decoration: underline; }

@media (max-width: 1060px) {
  :root { --shell: min(100% - 44px, 920px); }
  .site-header {
    background: var(--paper);
    backdrop-filter: none;
  }
  .header-inner {
    width: calc(100vw - 36px);
    min-height: 96px;
    flex-direction: row;
    justify-content: space-between;
    gap: 20px;
    padding: 10px 0;
  }
  .brand-logo { width: 108px; height: auto; }
  .menu-toggle {
    position: relative;
    z-index: 102;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 46px;
    padding: 10px 13px;
    color: inherit;
    background: rgba(255,255,255,.32);
    border: 1px solid currentColor;
    font-size: .82rem;
    font-weight: 700;
    cursor: pointer;
    transition: color .2s ease, border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
  }
  .menu-toggle:hover,
  .menu-toggle:focus-visible {
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(239,157,38,.2);
    outline: 0;
  }
  .menu-open .menu-toggle { color: var(--white); background: rgba(255,255,255,.08); border-color: var(--orange); }
  .menu-lines,
  .menu-lines::before,
  .menu-lines::after {
    display: block;
    width: 25px;
    height: 2px;
    background: currentColor;
    transition: transform .3s var(--ease), background-color .2s ease;
  }
  .menu-lines { position: relative; }
  .menu-lines::before,
  .menu-lines::after { position: absolute; inset: 0; content: ""; }
  .menu-lines::before { transform: translateY(-7px); }
  .menu-lines::after { transform: translateY(7px); }
  .menu-open .menu-lines { background: transparent; }
  .menu-open .menu-lines::before { transform: rotate(45deg); }
  .menu-open .menu-lines::after { transform: rotate(-45deg); }
  .main-nav {
    position: fixed;
    z-index: 101;
    inset: 0;
    width: 100vw;
    min-height: 100dvh;
    height: 100dvh;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 19px;
    padding: max(122px, calc((100dvh - 410px) / 2)) 11vw max(44px, env(safe-area-inset-bottom));
    overflow-y: auto;
    color: var(--white);
    background: var(--blue-deep);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
  }
  .menu-open .main-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    transition: opacity .3s ease, transform .45s var(--ease);
  }
  .main-nav a {
    font-family: Georgia, serif;
    font-size: clamp(2.2rem, 7vw, 4rem);
    font-weight: 400;
    letter-spacing: normal;
    line-height: 1.08;
  }
  .content-head > :last-child {
    justify-self: start;
    text-align: left;
  }
  .content-head--media { grid-template-columns: 1fr; gap: 46px; }
  .teaser-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid { grid-template-columns: 1fr 1.2fr 1fr; }
  .feature-band-grid, .about-grid, .contact-layout { grid-template-columns: 1fr; }
  .sate-summary-grid { grid-template-columns: 1fr; gap: 42px; }
  .legal-layout { grid-template-columns: 1fr; gap: 55px; }
  .legal-index { position: static; }
  .legal-index nav { grid-template-columns: 1fr 1fr; column-gap: 28px; }
  .feature-band-copy { order: -1; }
  .project-grid { gap: 52px 24px; }
  .rehabilitation-thumbnails { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-certifications, .footer-top { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
}

@media (max-width: 700px) {
  :root { --shell: calc(100vw - 36px); }
  .section { padding-block: 80px; }
  .header-inner { min-height: 92px; padding-block: 10px; }
  .brand-logo { width: 99px; height: auto; }
  .menu-label { display: none; }
  .menu-toggle { width: 48px; min-height: 48px; justify-content: center; padding: 0; }
  .hero {
    min-height: 427px;
    padding: 54px 0 28px;
  }
  .hero-background { object-position: 54% center; }
  .hero-panel {
    padding: 18px 17px;
    background: rgba(243, 240, 233, .88);
  }
  .hero h1,
  .page-hero h1,
  .page-hero--projects h1 { font-size: clamp(1.9rem, 8.3vw, 3.1rem); line-height: 1; }
  .hero h1 { margin-bottom: 13px; }
  .hero-lead { margin-bottom: 14px; font-size: .9rem; line-height: 1.4; }
  .hero-assurance { padding-top: 11px; }
  .hero-service-title { margin-bottom: 8px; font-size: .98rem; }
  .hero-quality-logos { align-items: center; flex-direction: row; }
  .hero-quality-logo--tuv { width: min(52%, 143px); }
  .hero-contact-link { margin-bottom: 14px; font-size: .86rem; line-height: 1.35; }
  .section-head { align-items: flex-start; flex-direction: column; }
  .section-head > p { max-width: 100%; text-align: left; }
  .teaser-grid { grid-template-columns: 1fr; }
  .teaser-card, .teaser-card--image { min-height: 420px; }
  .teaser-card--wide { min-height: 430px; grid-column: auto; }
  .teaser-split { grid-template-columns: 1fr; }
  .teaser-half { min-height: 360px; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-grid > div, .trust-grid > div:first-child, .trust-grid > div:last-child {
    min-height: auto;
    padding: 42px 0;
    border-top: 1px solid rgba(255,255,255,.18);
    border-left: 0;
  }
  .trust-center { order: -1; padding-top: 0 !important; border-top: 0 !important; }
  .trust-message,
  .trust-certification { justify-content: center; text-align: center; }
  .trust-message p { max-width: 320px; }
  .contact-bottom { align-items: flex-start; flex-direction: column; }
  .contact-bottom .button { width: 100%; }
  .page-hero { min-height: 427px; padding: 54px 0 46px; }
  .page-hero--legal { min-height: 490px; }
  .service-list, .process-grid, .project-grid, .values-grid, .iso-grid, .contact-options, .form-grid { grid-template-columns: 1fr; }
  .service-item { min-height: 280px; border-right: 0; padding: 32px 0; }
  .service-item { scroll-margin-top: 120px; }
  .process-step, .process-step:nth-child(3n+2), .process-step:nth-child(3n+3) { padding: 30px 0; border-left: 0; }
  .project-card--wide { grid-column: auto; }
  .project-card--wide img, .project-card img { aspect-ratio: 1.05; }
  .project-card-body { grid-template-columns: 75px 1fr; }
  .project-heading { grid-template-columns: 1fr; gap: 12px; }
  .comparison-section-head h2 { white-space: normal; }
  .static-map-link figcaption { align-items: flex-start; flex-direction: column; gap: 8px; padding: 17px 18px; }
  .completed-grid { grid-template-columns: 1fr; }
  .comparison-grid {
    width: 100%;
    align-items: center;
    flex-direction: column;
    gap: 48px;
  }
  .comparison-figure,
  .comparison-grid--portrait .comparison-figure { max-width: 100%; }
  .completed-grid { gap: 52px; }
  .rehabilitation-work-head,
  .rehabilitation-group-head { grid-template-columns: 1fr; gap: 24px; }
  .rehabilitation-work-head .lead { text-align: left; }
  .rehabilitation-thumbnails { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .rehabilitation-thumbnail > span { right: 7px; bottom: 7px; padding: 6px 8px; font-size: .6rem; }
  .work-lightbox { padding: 70px 16px 86px; }
  .work-lightbox figure img { max-width: calc(100vw - 32px); max-height: calc(100dvh - 190px); }
  .work-lightbox-close { top: 14px; right: 16px; }
  .work-lightbox-nav { top: auto; bottom: 18px; transform: none; }
  .work-lightbox-prev { left: calc(50% - 58px); }
  .work-lightbox-next { right: calc(50% - 58px); }
  .gallery-intro { grid-template-columns: 1fr; gap: 36px; }
  .gallery-intro > :last-child { justify-self: start; text-align: left; }
  .legal-index nav { grid-template-columns: 1fr; }
  .legal-content section { scroll-margin-top: 100px; }
  .legal-data > div { grid-template-columns: 1fr; gap: 5px; }
  .legal-purpose-list article { padding: 24px 20px; }
  .gallery-grid { grid-template-columns: 1fr; gap: 50px; }
  .corporate-gallery { grid-template-columns: 1fr; row-gap: 58px; }
  .corporate-gallery-full { grid-column: auto; }
  .corporate-gallery img { aspect-ratio: 1.15 !important; }
  .gallery-a, .gallery-b, .gallery-c, .gallery-d, .gallery-e, .gallery-f {
    grid-column: auto;
    margin-top: 0 !important;
  }
  .gallery-grid img { aspect-ratio: 1.15 !important; }
  .iso-card { min-height: auto; padding: 34px 0; border-top: 1px solid rgba(255,255,255,.2); }
  .iso-card span { margin-bottom: 42px; }
  .footer-certifications, .footer-top { grid-template-columns: 1fr; gap: 45px; text-align: center; }
  .footer-brand-block p { margin-inline: auto; }
  .footer-certification-block, .footer-program-block { min-height: auto; align-items: center; }
  .footer-certification-logo { width: 300px; }
  .footer-plan-logo { width: 230px; }
  .footer-certification-logo,
  .footer-plan-logo { object-position: center bottom; }
  .footer-certificate-links { justify-content: center; }
  .footer-column { align-items: center; text-align: center; }
  .footer-bottom { grid-template-columns: 1fr; gap: 24px; text-align: center; }
  .footer-legal-area,
  .footer-legal-links { justify-content: center; }
  .footer-legal-links { gap: 10px 20px; }
  .form-submit { width: 100%; }
  .thanks-actions { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
