@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Manrope:wght@400;500;600;650;700;750;800&display=swap");
:root {
  --ink: #292b2e;
  --ash: #292b2e;
  --ash-deep: #202225;
  --blue: #246f94;
  --ice: #9bd7ef;
  --blue-soft: #e7f2f7;
  --red-soft: #f7e9e9;
  --muted: #646a70;
  --red: #bb2532;
  --paper: #f6f7f7;
  --line: #dce0e3;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
}
a,
button {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
a:focus-visible,
button:focus-visible {
  outline: 3px solid #cf5760;
  outline-offset: 6px;
}
header {
  height: 106px;
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  gap: 25px;
}
.brand {
  display: flex;
  flex-direction: column;
  line-height: 0.85;
  width: 104px;
  color: var(--red);
}
.brand > span {
  font-family: "Manrope", sans-serif;
  font-size: 66px;
  letter-spacing: -6px;
  font-weight: 600;
}
.brand small {
  font-size: 12px;
  letter-spacing: 0;
  line-height: 1.6;
  margin-top: 6px;
  color: var(--ink);
  text-align: center;
}
nav {
  display: flex;
  gap: 28px;
  font-size: 14px;
}
nav a:hover,
.text-link:hover {
  color: var(--red);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 25px;
}
.languages {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
}
.languages button {
  border: 0;
  background: none;
  padding: 7px 2px;
  color: #747977;
  cursor: pointer;
}
.languages button[aria-pressed="true"] {
  font-weight: 700;
  color: var(--ink);
}
.languages span {
  color: #babfbb;
}
.button {
  background: var(--red);
  color: white;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  padding: 17px 26px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s;
}
.button:hover {
  background: #941d28;
}
.button.small {
  padding: 11px 19px;
}
.menu {
  display: none;
}
.hero {
  padding: 58px 5% 60px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4%;
  align-items: stretch;
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 1.6px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 11px;
}
.line {
  width: 25px;
  height: 2px;
  background: var(--red);
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  font-family: "Manrope", sans-serif;
}
h1 {
  font-size: clamp(40px, 3.6vw, 62px);
  line-height: 1.14;
  letter-spacing: -2.5px;
  font-weight: 600;
  margin: 28px 0 24px;
}
h1 em {
  color: var(--red);
  font-style: normal;
}
.hero-copy > p {
  max-width: 410px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
  margin-bottom: 30px;
}
.text-link {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-top: 21px;
}
.facts {
  margin: 0 5%;
  padding: 28px 0 32px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr 1fr;
}
.facts > div {
  display: flex;
  align-items: center;
  gap: 17px;
  padding-left: 28px;
  border-left: 1px solid var(--line);
}
.facts > div:first-child {
  padding-left: 0;
  border: 0;
}
.facts p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
}
.facts strong {
  font-family: Manrope, sans-serif;
  font-size: 48px;
  line-height: 1;
  letter-spacing: -3px;
}
.facts strong span {
  color: var(--red);
  font-size: 28px;
  vertical-align: top;
}
.fact-symbol {
  font-size: 33px;
  color: var(--red);
}
.facts > div:last-child {
  display: block;
}
.island {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.6px;
}
.section {
  padding: 100px 5%;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 60px;
  margin-bottom: 45px;
}
.section-heading > p {
  width: 360px;
  color: var(--muted);
  font-size: 15px;
  margin: 0 0 7px;
}
h2 {
  font-size: clamp(32px, 3.3vw, 50px);
  line-height: 1.18;
  letter-spacing: -1.9px;
  font-weight: 700;
  margin: 20px 0 0;
}
.services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.services article {
  padding: 28px 25px 26px;
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.services article:first-child {
  padding-left: 0;
  border-left: 0;
}
.service-number {
  font-size: 13px;
  color: var(--red);
  margin-bottom: 33px;
}
.services h3 {
  font-size: 21px;
  letter-spacing: -0.6px;
  line-height: 1.35;
  font-weight: 600;
  margin-bottom: 16px;
}
.services p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
}
.services a {
  font-size: 13px;
  font-weight: 600;
  margin-top: auto;
  padding-top: 12px;
}
.services a:hover {
  color: var(--red);
}
.sectors {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding-top: 24px;
}
.sectors span {
  font-size: 11px;
  letter-spacing: 1.4px;
  color: var(--muted);
}
.sectors p {
  font-size: 14px;
  margin: 0;
}
.about {
  background: #e9eeea;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 12%;
}
.about h2 {
  margin-bottom: 28px;
}
.about p {
  font-size: 15px;
  color: #515d56;
}
.approach {
  padding-top: 32px;
}
.approach > div {
  display: flex;
  gap: 22px;
  padding: 23px 0;
  border-bottom: 1px solid #c8d2ca;
}
.approach > div > span {
  font-size: 12px;
  color: var(--red);
  padding-top: 5px;
}
.approach h3 {
  font-size: 21px;
  margin-bottom: 6px;
  font-weight: 550;
}
.approach p {
  margin: 0;
}
.projects {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.projects figure {
  margin: 0;
  min-width: 0;
}
.projects img {
  width: 100%;
  aspect-ratio: 1.3;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}
.projects figcaption {
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
}
.projects figcaption > span:last-child {
  color: #7d837d;
  font-size: 12px;
}
.facility {
  margin: 0 5% 95px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #eeefea;
  border-radius: 5px;
  overflow: hidden;
}
.facility > img {
  width: 100%;
  height: 100%;
  min-height: 390px;
  object-fit: cover;
}
.facility > div {
  padding: 45px;
}
.facility h2 {
  font-size: 36px;
  margin-bottom: 22px;
}
.facility p {
  font-size: 15px;
  color: var(--muted);
}
.contact {
  background: var(--red);
  color: white;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 15%;
}
.contact h2 {
  font-size: 60px;
  margin-bottom: 25px;
}
.contact > div > p {
  max-width: 380px;
  color: #ffe5e6;
}
.button.light {
  background: white;
  color: var(--red);
}
.button.light:hover {
  background: #f3e6e7;
}
.form-note {
  display: block;
  font-size: 12px;
  margin-top: 12px;
  color: #ffe0e3;
}
.contact-details {
  display: grid;
  gap: 27px;
  padding-top: 24px;
}
.contact-details > div {
  border-top: 1px solid #ffffff50;
  padding-top: 20px;
}
.contact-details span {
  display: block;
  font-size: 11px;
  letter-spacing: 1.6px;
  margin-bottom: 12px;
}
.contact-details a {
  font-size: 31px;
  letter-spacing: -1px;
  line-height: 1.4;
  display: block;
}
.contact-details .secondary-phone {
  font-size: 23px;
}
.contact-details p {
  font-size: 14px;
  color: #ffe0e3;
  margin: 3px 0 14px;
}
footer {
  padding: 50px 5% 25px;
}
.footer-top {
  display: flex;
  align-items: center;
  gap: 70px;
  padding-bottom: 40px;
}
.footer-top p {
  font-size: 17px;
  line-height: 1.5;
  margin: 0;
}
.back-top {
  margin-left: auto;
  font-size: 13px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
  font-size: 12px;
  color: var(--muted);
}
.footer-bottom > div {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
}
.skip {
  position: absolute;
  left: 15px;
  top: -60px;
  background: white;
  padding: 10px;
  z-index: 10;
}
.skip:focus {
  top: 10px;
}
@media (min-width: 1600px) {
  body {
    max-width: 1600px;
    margin: auto;
  }
}
@media (max-width: 1000px) {
  header {
    gap: 15px;
  }
  nav {
    gap: 16px;
    font-size: 13px;
  }
  .header-actions {
    gap: 14px;
  }
  h1 {
    font-size: clamp(34px, 4.4vw, 40px);
    letter-spacing: -1.5px;
  }
  .hero {
    grid-template-columns: 1fr 1.6fr;
    gap: 30px;
  }
  .facts > div {
    padding-left: 15px;
    gap: 12px;
  }
  .facts p {
    font-size: 12px;
  }
  .services {
    grid-template-columns: repeat(2, 1fr);
  }
  .services article {
    border-bottom: 1px solid var(--line);
  }
  .services article:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }
  .about {
    gap: 7%;
  }
  .contact {
    gap: 8%;
  }
  .facility > div {
    padding: 30px;
  }
  .facility h2 {
    font-size: 30px;
  }
}
@media (max-width: 760px) {
  header {
    height: 86px;
    padding: 0 6%;
  }
  .brand {
    width: 77px;
  }
  .brand > span {
    font-size: 51px;
    letter-spacing: -4px;
  }
  .brand small {
    font-size: 10px;
  }
  nav {
    display: none;
    position: absolute;
    top: 86px;
    left: 0;
    right: 0;
    background: var(--paper);
    padding: 25px 6%;
    border-bottom: 1px solid var(--line);
    z-index: 5;
    flex-direction: column;
    font-size: 16px;
  }
  nav.open {
    display: flex;
  }
  .menu {
    display: block;
    border: 0;
    background: transparent;
    font-size: 23px;
    padding: 6px;
    cursor: pointer;
  }
  .header-actions {
    gap: 15px;
  }
  .header-actions .button {
    display: none;
  }
  .languages {
    font-size: 14px;
  }
  .hero {
    padding: 38px 6%;
    grid-template-columns: 1fr;
    gap: 32px;
  }
  h1 {
    font-size: clamp(39px, 8.7vw, 60px);
    letter-spacing: -2px;
    margin-top: 24px;
  }
  .hero-copy > p {
    font-size: 16px;
    max-width: 100%;
  }
  .facts {
    margin: 0 6%;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    padding: 24px 0;
  }
  .facts > div {
    border: 0;
    padding-left: 0;
  }
  .facts strong {
    font-size: 40px;
  }
  .facts p {
    font-size: 12px;
  }
  .facts > div:last-child {
    border-left: 0;
  }
  .section {
    padding: 65px 6%;
  }
  .section-heading {
    display: block;
    margin-bottom: 30px;
  }
  .section-heading > p {
    width: auto;
    margin-top: 22px;
    font-size: 15px;
  }
  .services {
    grid-template-columns: 1fr 1fr;
  }
  .services article {
    padding: 22px 16px;
  }
  .services article:nth-child(2n) {
    padding-right: 0;
  }
  .services h3 {
    font-size: 19px;
  }
  .service-number {
    margin-bottom: 22px;
  }
  .sectors {
    display: block;
  }
  .sectors p {
    margin-top: 9px;
    line-height: 1.8;
  }
  .about {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .approach {
    padding-top: 0;
  }
  .projects {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .projects img {
    aspect-ratio: 1.5;
  }
  .facility {
    margin: 0 6% 60px;
    grid-template-columns: 1fr;
  }
  .facility > img {
    min-height: 0;
    aspect-ratio: 1.5;
  }
  .facility > div {
    padding: 30px 25px;
  }
  .contact {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .contact h2 {
    font-size: 49px;
  }
  .contact-details {
    padding-top: 0;
  }
  .footer-top {
    flex-wrap: wrap;
    gap: 30px;
  }
  .footer-top p {
    font-size: 14px;
  }
  .back-top {
    margin-left: 0;
    width: 100%;
  }
  .footer-bottom {
    display: block;
  }
  .footer-bottom > div {
    margin-top: 18px;
    gap: 18px;
  }
  .eyebrow {
    font-size: 11px;
    letter-spacing: 1.3px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}

/* Geographic coastline: NordNordWest, Wikimedia Commons, CC BY 3.0. */
.hero-copy {
  position: relative;
  isolation: isolate;
}
.hero-copy::before {
  content: "";
  position: absolute;
  inset: 0 -20px 0 8%;
  z-index: -1;
  background: url("./assets/lanzarote-outline.svg") no-repeat center right;
  background-size: contain;
  opacity: 0.12;
  pointer-events: none;
}
@media (max-width: 760px) {
  .hero-copy::before {
    inset: 15px -8px 0 5%;
    opacity: 0.1;
    background-position: center;
  }
}
/* Original identity and additional project media */
.brand {
  width: 120px;
  flex-shrink: 0;
}
.brand img {
  width: 100%;
  height: auto;
  display: block;
}
.contact-team {
  display: block;
  width: 100%;
  max-height: 270px;
  aspect-ratio: 1.6;
  object-fit: cover;
  border-radius: 5px;
}
.contact-details {
  gap: 22px;
}
.contact {
  align-items: start;
}
@media (max-width: 760px) {
  .brand {
    width: 100px;
  }
  .contact-team {
    max-height: 330px;
  }
}
/* Team context, reference-style refrigeration schematic and full-bleed footer. */
.about-team {
  display: block;
  width: 100%;
  aspect-ratio: 1.7;
  object-fit: cover;
  border-radius: 5px;
  margin-top: 30px;
}
.about .approach {
  align-self: center;
}
.contact > div:first-child {
  align-self: center;
}

footer {
  background: #292e30;
  color: #f5f6f4;
  box-shadow: 0 0 0 100vmax #292e30;
  clip-path: inset(0 -100vmax);
  padding-top: 55px;
  padding-bottom: 30px;
}
footer .footer-bottom {
  border-color: #555c5d;
  color: #c7cece;
}
footer a:hover {
  color: #fff;
}
footer .footer-top {
  padding-bottom: 25px;
}
.footer-funding {
  display: flex;
  align-items: center;
  gap: 65px;
  padding: 5px 0 35px;
}
.footer-funding img {
  display: block;
  object-fit: contain;
  max-width: 100%;
  height: auto;
}
.footer-funding img:first-child {
  width: 270px;
}
.footer-funding img:last-child {
  width: 220px;
}
@media (max-width: 760px) {
  .footer-funding {
    flex-wrap: wrap;
    gap: 25px;
  }
  .footer-funding img:first-child {
    width: 240px;
  }
  .footer-funding img:last-child {
    width: 190px;
  }
  .about-team {
    margin-top: 25px;
  }
}
/* Balanced editorial rows and readable original brand. */
header {
  background: #454c4f;
  color: #f7f8f6;
  border-bottom-color: #555e61;
  box-shadow: 0 0 0 100vmax #454c4f;
  clip-path: inset(0 -100vmax);
}
header nav a:hover {
  color: #ffc1c6;
}
header .languages button {
  color: #cfd5d5;
}
header .languages button[aria-pressed="true"] {
  color: white;
}
header .languages span {
  color: #a7b1b3;
}
header .menu {
  color: white;
}
.about {
  grid-template-columns: 1fr 1fr;
  gap: 40px 6%;
  align-items: center;
}
.about-team {
  margin: 0;
  width: 100%;
  aspect-ratio: 1.35;
  height: auto;
  max-height: 460px;
  object-fit: cover;
}
.about .approach {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
  padding-top: 10px;
}
.approach > div {
  border-bottom: 0;
  border-top: 1px solid #bccbc0;
  padding: 25px 0 0;
}
.about > div:first-child p:last-child {
  margin-bottom: 0;
}
.contact {
  grid-template-columns: 1fr 1fr;
  gap: 40px 7%;
  align-items: center;
  box-shadow: 0 0 0 100vmax var(--red);
  clip-path: inset(0 -100vmax);
}
.contact > div:first-child {
  align-self: center;
}
.contact > .contact-team {
  width: 100%;
  max-height: 390px;
  aspect-ratio: 1.5;
  object-fit: cover;
}
.contact-details {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7%;
  padding-top: 0;
}
.contact-details > div {
  padding-top: 23px;
}
.contact-details a {
  font-size: 27px;
}
.contact-details .secondary-phone {
  font-size: 22px;
}
.footer-top {
  display: grid;
  grid-template-columns: 120px minmax(150px, 1fr) auto auto;
  gap: 35px;
  align-items: center;
}
.footer-top .footer-funding {
  display: flex;
  gap: 30px;
  padding: 0;
  align-items: center;
}
.footer-top .footer-funding img:first-child {
  width: 240px;
}
.footer-top .footer-funding img:last-child {
  width: 185px;
}
.footer-top .back-top {
  margin: 0;
  white-space: nowrap;
}
.footer-top p {
  font-size: 16px;
}
@media (max-width: 1100px) {
  .footer-top {
    grid-template-columns: 100px 1fr auto;
    gap: 25px;
  }
  .footer-top .footer-funding {
    gap: 18px;
  }
  .footer-top .footer-funding img:first-child {
    width: 185px;
  }
  .footer-top .footer-funding img:last-child {
    width: 145px;
  }
  .footer-top .back-top {
    grid-column: 3;
    justify-self: end;
  }
  .about {
    gap: 35px 5%;
  }
  .about .approach {
    gap: 25px;
  }
}
@media (max-width: 760px) {
  header {
    clip-path: none;
    box-shadow: none;
  }
  header nav {
    background: #454c4f;
    border-color: #667074;
  }
  .about {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .about-team {
    aspect-ratio: 1.6;
    max-height: none;
  }
  .about .approach {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .contact {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .contact-details {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .contact > .contact-team {
    max-height: none;
    aspect-ratio: 1.6;
  }
  .footer-top {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
  }
  .footer-top .footer-funding {
    width: 100%;
    flex-wrap: wrap;
    gap: 25px;
  }
  .footer-top .footer-funding img:first-child {
    width: 210px;
  }
  .footer-top .footer-funding img:last-child {
    width: 170px;
  }
  .footer-top .back-top {
    width: auto;
  }
}

/* Red header with a white logo and contrasting grey contact button. */
header {
  background: var(--red);
  border-bottom-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 0 0 100vmax var(--red);
}
header .brand img {
  filter: saturate(0) brightness(7);
}
header .header-actions .button {
  background: #454c4f;
  color: #fff;
}
header .header-actions .button:hover {
  background: #343b3e;
}
@media (max-width: 760px) {
  header {
    box-shadow: none;
  }
  header nav {
    background: var(--red);
    border-color: rgba(255, 255, 255, 0.18);
  }
}

/* Facts strip: icon badges and a clear title/description rhythm. */
.facts {
  margin: 0 5%;
  padding: 26px 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 18px 40px -28px rgba(37, 43, 44, 0.35);
}
.facts > .fact {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 4px 24px;
  border-left: 1px solid var(--line);
}
.facts > .fact:first-child {
  padding-left: 0;
  border-left: 0;
}
.facts > .fact:last-child {
  display: flex;
  padding-right: 0;
}
.fact-number {
  font-family: Manrope, sans-serif;
  font-size: 54px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -3px;
  color: var(--red);
}
.fact-number span {
  font-size: 30px;
  vertical-align: top;
  letter-spacing: 0;
}
.fact-badge,
.service-icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f8e3e4;
  color: var(--red);
}
.fact-badge {
  width: 52px;
  height: 52px;
}
.icon {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.facts .fact-title {
  display: block;
  font-family: Manrope, sans-serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.3px;
  line-height: 1.3;
}
.facts .fact p {
  margin: 3px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

/* Service cards. */
.services {
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  border: 0;
}
.services article,
.services article:first-child,
.services article:nth-child(n) {
  position: relative;
  padding: 28px 26px 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  transition:
    transform 0.25s,
    box-shadow 0.25s,
    border-color 0.25s;
}
.services article::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s;
}
.services article:hover {
  transform: translateY(-4px);
  border-color: #e6c3c6;
  box-shadow: 0 22px 40px -26px rgba(37, 43, 44, 0.4);
}
.services article:hover::before {
  transform: scaleX(1);
}
.service-top {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 26px;
}
.service-icon {
  width: 56px;
  height: 56px;
  transition:
    background 0.25s,
    color 0.25s;
}
.service-icon .icon {
  width: 26px;
  height: 26px;
}
.services article:hover .service-icon {
  background: var(--red);
  color: #fff;
}
.services .service-number {
  margin: 0;
  font-family: Manrope, sans-serif;
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -2px;
  color: #e9ebe6;
}
.services h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}
.services a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--red);
  font-size: 14px;
  font-weight: 600;
}
.services a span {
  transition: transform 0.25s;
}
.services article:hover a span {
  transform: translateX(4px);
}
.services a::after {
  content: "";
  position: absolute;
  inset: 0;
}

/* Sector chips. */
.sectors {
  padding-top: 30px;
}
.sectors ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.sectors li {
  font-size: 14px;
  padding: 7px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}

@media (max-width: 1100px) {
  .facts {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 22px;
  }
  .facts > .fact:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }
  .services {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 760px) {
  .facts {
    margin: 0 6%;
    padding: 22px;
  }
  .facts > .fact,
  .facts > .fact:nth-child(n) {
    padding: 0;
    border: 0;
  }
  .fact-number {
    font-size: 44px;
  }
  .fact-badge {
    width: 46px;
    height: 46px;
  }
  .services article,
  .services article:nth-child(n) {
    padding: 24px 22px;
  }
  .sectors ul {
    margin-top: 14px;
  }
}
@media (max-width: 560px) {
  .facts,
  .services {
    grid-template-columns: 1fr;
  }
}

/* Shared card language across the remaining sections. */
.section .eyebrow::before,
.facility .eyebrow::before {
  content: "";
  width: 25px;
  height: 2px;
  background: var(--red);
  flex-shrink: 0;
}
.contact .eyebrow::before {
  background: #fff;
}

/* About: rounded photo and step cards. */
.about-team {
  border-radius: 10px;
  box-shadow: 0 24px 48px -30px rgba(37, 43, 44, 0.45);
}
.about .approach {
  gap: 20px;
}
.about .approach > div {
  position: relative;
  display: flex;
  align-items: start;
  gap: 18px;
  padding: 26px 24px;
  background: #fff;
  border: 1px solid #d5ddd6;
  border-radius: 10px;
  transition:
    transform 0.25s,
    box-shadow 0.25s;
}
.about .approach > div:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 40px -26px rgba(37, 43, 44, 0.4);
}
.about .approach .service-icon {
  width: 52px;
  height: 52px;
  padding: 0;
}
.about .approach .step-number {
  position: absolute;
  top: 18px;
  right: 22px;
  padding: 0;
  font-family: Manrope, sans-serif;
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -2px;
  color: #e9ebe6;
}
.about .approach h3 {
  font-size: 19px;
  font-weight: 700;
  margin: 4px 0 6px;
  padding-right: 40px;
  line-height: 1.3;
}

/* Work: project and video cards. */
.projects figure {
  padding: 10px 10px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  transition:
    transform 0.25s,
    box-shadow 0.25s;
}
.projects figure:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 40px -26px rgba(37, 43, 44, 0.4);
}
.projects figure > img {
  border-radius: 6px;
  transition: filter 0.3s;
}
.projects figure:hover > img {
  filter: saturate(1.15) contrast(1.05);
}
.projects figcaption {
  align-items: center;
  padding: 0 8px;
  font-family: Manrope, sans-serif;
  font-size: 16px;
  font-weight: 700;
}
.projects figcaption > span:last-child {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #f8e3e4;
  color: var(--red);
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 700;
}

/* Facilities: white card with shadow. */
.facility {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 24px 48px -32px rgba(37, 43, 44, 0.4);
}
.facility > div {
  align-self: center;
  padding: 50px;
}
.facility .text-link,
.hero .text-link {
  color: var(--red);
}

/* Contact: rounded photo and translucent detail cards. */
.contact > .contact-team {
  border-radius: 10px;
  box-shadow: 0 24px 48px -28px rgba(0, 0, 0, 0.5);
}
.contact .button.light {
  border-radius: 6px;
}
.contact-details {
  gap: 20px;
}
.contact-details > div {
  padding: 26px 28px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
}
.contact-details .contact-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: #fff;
  color: var(--red);
}
.contact-details a {
  font-family: Manrope, sans-serif;
  font-weight: 700;
}

@media (max-width: 1000px) {
  .about .approach {
    grid-template-columns: 1fr;
  }
  .facility > div {
    padding: 34px;
  }
}
@media (max-width: 760px) {
  .about .approach > div {
    padding: 22px 20px;
  }
  .facility > div {
    padding: 28px 24px;
  }
  .contact-details > div {
    padding: 22px;
  }
}

/* Map inside the "Ven a vernos" card. */
.contact-map {
  margin-top: 18px;
  border-radius: 8px;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.9);
  background: #f3e6e7;
  aspect-ratio: 16 / 9;
  max-height: 220px;
  width: 100%;
}
.contact-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.contact-details a.map-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 9px 16px;
  border-radius: 999px;
  background: #fff;
  color: var(--red);
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.4;
}
.contact-details a.map-link span {
  display: inline-block;
  margin: 0;
  font-size: inherit;
  letter-spacing: 0;
  transition: transform 0.25s;
}
.contact-details a.map-link:hover span {
  transform: translateX(4px);
}

/* Ash stone, lava red and ice blue. */
header {
  background: var(--ash);
  box-shadow: 0 0 0 100vmax var(--ash);
}
header nav a:hover,
header .languages button[aria-pressed="true"] { color: var(--ice); }
header .header-actions .button { background: var(--red); }
header .header-actions .button:hover { background: #941d28; }
a:focus-visible, button:focus-visible { outline-color: var(--blue); }
header a:focus-visible, header button:focus-visible,
.contact a:focus-visible, footer a:focus-visible { outline-color: var(--ice); }
h1 em { color: var(--ink); }
.hero .text-link, .facility .text-link { color: var(--blue); }
.hero-copy::before { filter: grayscale(1); opacity: .08; }
.fact-number { color: var(--ash); }
.fact-number span { color: var(--red); }
.fact-badge, .service-icon {
  background: var(--blue-soft);
  color: var(--blue);
  border-radius: 14px;
}
.services article { --service-accent: var(--blue); --service-soft: var(--blue-soft); }
.services article:nth-child(2) { --service-accent: var(--red); --service-soft: var(--red-soft); }
.services article:nth-child(4) { --service-accent: var(--ash); --service-soft: #eceef0; }
.services .service-icon { color: var(--service-accent); background: var(--service-soft); }
.services article::before { background: var(--service-accent); }
.services article:hover { border-color: var(--service-accent); }
.services article:hover .service-icon { background: var(--service-accent); color: #fff; }
.services a { color: var(--service-accent); }
.services .service-number, .about .approach .step-number { color: #dadee2; }
.about { background: #eaecee; }
.about p { color: var(--muted); }
.about .approach > div { border-color: var(--line); }
.about .approach > div:nth-child(2) .service-icon { background: var(--red-soft); color: var(--red); }
.projects figcaption > span:last-child { color: var(--blue); background: var(--blue-soft); }
.contact {
  background: var(--ash);
  box-shadow: 0 0 0 100vmax var(--ash);
}
.contact .eyebrow { color: var(--ice); }
.contact .eyebrow::before { background: var(--ice); }
.contact > div > p, .contact-details p, .form-note { color: #cbd0d5; }
.contact .button.light { background: var(--red); color: #fff; }
.contact .button.light:hover { background: #941d28; }
.contact-details > div { background: #ffffff05; border-color: #ffffff24; }
.contact-details .contact-icon { background: #9bd7ef18; color: var(--ice); border-radius: 14px; }
.contact-details a:hover { color: var(--ice); }
.contact-details a.map-link { background: var(--ice); color: var(--ash-deep); }
.contact-details a.map-link:hover { background: #c4eafa; color: var(--ash-deep); }
.contact-map { background: #edf2f5; border-color: #ffffff30; }
footer { background: var(--ash-deep); box-shadow: 0 0 0 100vmax var(--ash-deep); }
footer .brand img { filter: grayscale(1) brightness(7); }
footer .back-top { color: var(--ice); }
.ui-icon { display: inline-block; width: 1.1em; height: 1.1em; flex-shrink: 0; vertical-align: -.17em; }
.menu .ui-icon { width: 24px; height: 24px; }
@media (max-width: 760px) {
  header { box-shadow: none; }
  header nav { background: var(--ash); }
}

/* Full-width ash background with readable dark-section content. */
#nosotros {
  --ink: #f5f6f7;
  --muted: #cbd0d5;
  --line: #51555a;
  background: var(--ash);
  color: var(--ink);
  box-shadow: 0 0 0 100vmax var(--ash);
  clip-path: inset(0 -100vmax);
}
#nosotros .eyebrow { color: var(--ice); }
#nosotros .eyebrow::before { background: var(--ice); }
#nosotros p { color: var(--muted); }
#nosotros .approach > div {
  background: #33363a;
  border-color: var(--line);
}
#nosotros .approach .step-number { color: #a5adb5; }
#nosotros .service-icon {
  background: #9bd7ef18;
  color: var(--ice);
}
#nosotros .approach > div:nth-child(2) .service-icon {
  background: #ed7c871a;
  color: #f29aa2;
}
#nosotros a:focus-visible,
#nosotros button:focus-visible { outline-color: var(--ice); }

/* Keep the service accents filled at rest and on hover. */
#servicios .services article .service-icon,
#servicios .services article:hover .service-icon {
  background: var(--service-accent);
  color: #fff;
  transition: none;
}
#servicios .services article::before,
#servicios .services article:hover::before {
  transform: scaleX(1);
  transition: none;
}

/* Hero: refrigeration cycle drawn straight on the page background. */
.hero {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  align-items: center;
}
.hero-cycle {
  --cycle-hot: #c62939;
  --cycle-warm: #e3a3a8;
  --cycle-cold: #1875b4;
  --cycle-cool: #8bc8e1;
  min-width: 0;
  width: 100%;
  max-width: 720px;
  justify-self: center;
}
.hero-cycle svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
/* Pipes */
.hero-cycle #flow0 { stroke: var(--cycle-hot); }
.hero-cycle #flow2 { stroke: var(--cycle-cold); }
.hero-cycle #condense-color stop:first-child { stop-color: var(--cycle-hot); }
.hero-cycle #condense-color stop:last-child { stop-color: var(--cycle-warm); }
.hero-cycle #evaporate-color stop:first-child { stop-color: var(--cycle-cold); }
.hero-cycle #evaporate-color stop:last-child { stop-color: var(--cycle-cool); }
/* Equipment: soft tinted coils, slate compressor */
.hero-cycle .equipment rect { transition: stroke 0.25s, stroke-width 0.25s; }
.hero-cycle .equipment[data-cycle-node="1"] rect { fill: #f7e3e4; stroke: #e0aab0; }
.hero-cycle .equipment[data-cycle-node="3"] rect { fill: #e2f0f7; stroke: #9cc8dc; }
.hero-cycle .equipment.active rect { stroke-width: 3; }
.hero-cycle .equipment[data-cycle-node="1"].active rect { stroke: var(--cycle-hot); }
.hero-cycle .equipment[data-cycle-node="3"].active rect { stroke: var(--cycle-cold); }
/* Light grey compressor, outlined in the page color in every state */
.hero-cycle .compressor rect,
.hero-cycle .compressor.active rect { fill: #a3acb2; stroke: var(--paper); }
.hero-cycle .compressor > path { stroke: #a3acb2; }
.hero-cycle .compressor circle { fill: #f6f7f7; }
/* Flow arrows */
.hero-cycle .direction-arrows path:nth-child(1) { fill: var(--cycle-hot); }
.hero-cycle .direction-arrows path:nth-child(2) { fill: var(--cycle-cool); }
.hero-cycle .direction-arrows path:nth-child(3) { fill: var(--cycle-warm); }
.hero-cycle .direction-arrows path:nth-child(4) { fill: var(--cycle-cold); }
/* Refrigerant particles: segment-colored, ringed in white so they read on the pipe */
.hero-cycle .cycle-dots circle {
  stroke: rgba(255, 255, 255, 0.75);
  stroke-width: 1.5;
}
/* Never show particles until both coordinates have been initialized. */
.hero-cycle .cycle-dots circle:not([cx]),
.hero-cycle .cycle-dots circle:not([cy]) { visibility: hidden; }
/* Beating heart (expansion valve), outlined in the page color */
.hero-cycle .heart-beat {
  fill: var(--cycle-hot);
  stroke: var(--paper);
  transform-box: fill-box;
  transform-origin: center;
  animation: heart-beat 1.3s ease-in-out infinite;
}
@keyframes heart-beat {
  0%, 28%, 70%, 100% { transform: scale(1); }
  14% { transform: scale(1.18); }
  42% { transform: scale(1.12); }
}

@media (max-width: 1000px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
}
@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-cycle .heart-beat { animation: none; }
}

/* About: white Lanzarote outline in place of the team photo. */
.about .about-outline,
.about .about-outline:hover {
  aspect-ratio: 1.35;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
  filter: brightness(0) invert(1);
}
@media (max-width: 760px) {
  .about .about-outline {
    aspect-ratio: 1.6;
    max-height: 320px;
  }
}

/* Contact without the team photo: intro on the left, the two detail cards on the right. */
.contact {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 40px 6%;
  align-items: center;
}
.contact-details {
  grid-column: auto;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: stretch;
}
@media (max-width: 1100px) {
  .contact { grid-template-columns: 1fr; }
  .contact > div:first-child { max-width: 640px; }
}
@media (max-width: 760px) {
  .contact-details { grid-template-columns: 1fr; }
}

/* Soluciones: autoplaying showcase video under the sector chips. */
.services-video {
  margin-top: 40px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--ash);
  box-shadow: 0 24px 48px -32px rgba(37, 43, 44, 0.45);
}
.services-video iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border: 0;
}

/* Nuestros trabajos: video features with their own text, then the photo gallery. */
.project-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: 32px 6%;
  align-items: center;
}
.project-feature + .project-feature { margin-top: 64px; }
.project-feature.reverse { grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr); }
.project-feature.reverse .project-media { order: 2; }
.project-media {
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 24px 48px -34px rgba(37, 43, 44, 0.45);
}
.project-media video,
.project-media iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border: 0;
  border-radius: 6px;
  background: var(--ash);
}
.project-text h3 {
  margin: 16px 0 14px;
  font-size: clamp(24px, 2.2vw, 32px);
  font-weight: 700;
  letter-spacing: -0.8px;
  line-height: 1.2;
}
.project-text p {
  margin: 0;
  max-width: 440px;
  color: var(--muted);
  font-size: 15px;
}
.project-text .text-link { color: var(--blue); }
.project-text .text-link:hover { color: var(--red); }
.projects-label {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 80px 0 24px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.6px;
  color: var(--muted);
}
.projects-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
@media (max-width: 1000px) {
  .project-feature,
  .project-feature.reverse { grid-template-columns: 1fr; }
  .project-feature.reverse .project-media { order: 0; }
  .project-text p { max-width: 600px; }
}
@media (max-width: 760px) {
  .services-video { margin-top: 30px; }
  .project-feature + .project-feature { margin-top: 48px; }
  .projects-label { margin-top: 56px; }
}

/* Full-bleed 3D viewer: spans the whole page width, ignoring the content margins. */
body { overflow-x: clip; }
.viewer-embed {
  margin: 80px calc(50% - 50vw) 0;
}
.viewer-embed iframe {
  display: block;
  width: 100%;
  height: clamp(450px, 80vh, 860px);
  border: 0;
  background: var(--ash);
}
@media (max-width: 760px) {
  .viewer-embed { margin-top: 56px; }
  .viewer-embed iframe { height: clamp(360px, 70vh, 600px); }
}
