:root {
  --navy: #151f28;
  --yellow: #f8cd22;
  --ink: #17232c;
  --muted: #647079;
  --line: #dce1e3;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: #fff;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea,
select {
  font: inherit;
}
a,
button,
input,
textarea,
select {
  outline-offset: 5px;
}
header {
  min-height: 98px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 5%;
  background: var(--navy);
  color: #fff;
  border-bottom: 1px solid #ffffff20;
}
.brand {
  display: flex;
  gap: 9px;
  align-items: center;
  font-size: 30px;
  font-weight: 900;
  letter-spacing: 1px;
}
.brand small {
  display: block;
  font-size: 8px;
  letter-spacing: 2px;
  margin-top: 2px;
}
.brand-logo {
  display: block;
  width: 90px;
  height: 90px;
  object-fit: contain;
  border-radius: 80%;
}
header.scrolled .brand-logo {
  width: 50px;
  height: 50px;
}
footer .brand-logo {
  width: 110px;
  height: 110px;
}
.bolt {
  font-size: 48px;
  color: var(--yellow);
  line-height: 1;
}
nav {
  display: flex;
  gap: 26px;
  align-items: center;
  font-size: 13px;

  position: static;
  top: 0;
  z-index: 1000;
}
nav > a:not(.button):hover {
  color: var(--yellow);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  background: var(--yellow);
  color: var(--navy);
  padding: 19px 23px;
  font-size: 14px;
  font-weight: 700;
  border: 0;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.2s;
}
.button:hover {
  background: #ffdf57;
  transform: translateY(-2px);
}
.compact {
  padding: 15px 18px;
}
.menu {
  display: none;
}
.hero {
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  background: #151F28;
  color: #fff;
  min-height: 660px;
}
.hero-copy {
  padding: 64px 7% 36px 9%;
}
.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.eyebrow i {
  height: 7px;
  width: 7px;
  background: var(--yellow);
  border-radius: 50%;
}
h1 {
  font-size: clamp(36px, 3.7vw, 59px);
  line-height: 1.07;
  letter-spacing: -2px;
  margin: 0 0 25px;
  max-width: 720px;
}
em {
  font-style: normal;
  color: var(--yellow);
}
.hero p {
  color: #b8c3ca;
  max-width: 530px;
  font-size: 15px;
  line-height: 1.8;
}
.actions {
  display: flex;
  gap: 25px;
  align-items: center;
  margin-top: 30px;
}
.text-link {
  font-size: 13px;
  font-weight: 700;
  display: inline-block;
  padding: 14px 0;
  border-bottom: 1px solid currentColor;
  background-color: #ffad00;
}
.hero .actions {
  gap: 32px;
}
.hero .actions > .button {
  border-radius: 10px;
  padding: 19px 25px;
  gap: 32px;
}
.hero .actions > .text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #3d4b57;
  padding: 19px 25px;
  border-radius: 10px;
  color: #fff;
  border: 1px solid #71808c;
  transition: color 0.2s, border-color 0.2s;
}
.hero .actions > .text-link:hover,
.hero .actions > .text-link:focus-visible {
  color: var(--yellow);
  border-bottom-color: currentColor;
}
@media (max-width: 1050px) {
  .hero .actions { gap: 14px; }
}
.hero-foot {
  margin-top: 45px;
  font-size: 9px;
  letter-spacing: 1.7px;
  color: #abb5bc;
}
.hero-art {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at 60% 40%, #44535b, #202d36 68%);
  border-left: 1px solid #ffffff15;
  min-height: 610px;
}
.hero-art:before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(#fff03 1px, transparent 1px),
    linear-gradient(90deg, #ffffff05 1px, transparent 1px);
  background-size: 40px 40px;
}
.art-top,
.art-caption {
  position: absolute;
  left: 30px;
  right: 30px;
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  letter-spacing: 1.3px;
  color: #bfccd2;
}
.art-top {
  top: 30px;
}
.art-caption {
  bottom: 24px;
}
.art-caption span:last-child {
  font-size: 30px;
  color: var(--yellow);
}
.panel {
  width: 70%;
  max-width: 370px;
  background: linear-gradient(110deg, #c3c9c6, #8b989a);
  padding: 26px 25px 18px;
  border: 9px solid #57656a;
  box-shadow: 24px 35px 40px #0005;
  transform: perspective(1000px) rotateY(-13deg) rotateZ(-5deg);
}
.panel-head {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #25353c;
  padding: 12px;
  color: #fff;
  font-size: 8px;
  letter-spacing: 2px;
}
.panel-head b {
  font-size: 28px;
  color: var(--yellow);
}
.panel-head i {
  margin-left: auto;
  border-radius: 50%;
  background: var(--yellow);
  height: 7px;
  width: 7px;
}
.wires {
  height: 65px;
  display: flex;
  justify-content: space-around;
}
.wires i {
  width: 8px;
  border: 2px solid #3b444c;
  border-bottom: 0;
}
.wires i:nth-child(2) {
  border-color: #c1a330;
}
.wires i:nth-child(3) {
  border-color: #467a96;
}
.wires i:nth-child(4) {
  border-color: #8a5146;
}
.breakers {
  display: flex;
  gap: 6px;
  background: #657378;
  padding: 7px;
}
.breakers b {
  flex: 1;
  height: 67px;
  background: linear-gradient(#dbe0dd 20%, #9aa6a7 22%, #dae0dd 25%);
  border: 1px solid #546469;
  position: relative;
}
.breakers b:after {
  content: "";
  position: absolute;
  width: 14px;
  height: 24px;
  left: calc(50% - 7px);
  top: 18px;
  background: #25353c;
  border-top: 5px solid var(--yellow);
}
.rail {
  height: 23px;
}
.bottom {
  transform: rotate(180deg);
  height: 50px;
}
.panel-label {
  border-top: 1px solid #617278;
  padding-top: 12px;
  font-weight: 900;
  font-size: 15px;
}
.panel-label span {
  float: right;
  font-size: 6px;
  letter-spacing: 1px;
  padding-top: 5px;
}
.audiences {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 5%;
  background: #f4f5f3;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.audiences > span {
  color: var(--muted);
}
.section {
  padding: 90px 6%;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  align-items: end;
  margin-bottom: 40px;
}
h2 {
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1.12;
  letter-spacing: -1.6px;
  margin: 0;
}
.section-heading p {
  max-width: 350px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 14px;
}
.services {
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
}
.service {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 5vw, 80px);
}
.service-photo {
  aspect-ratio: 4 / 3;
  border-radius: 28px;
  overflow: hidden;
  background: #edf0ee;
  border: 1px dashed #aeb9ba;
  display: grid;
  place-items: center;
  color: var(--muted);
  text-align: center;
}
.service-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service-copy {
  padding: clamp(24px, 3vw, 40px);
  border: 1px solid var(--line);
  background: #fff;
  min-width: 0;
}
.service:nth-child(even) .service-photo {
  grid-column: 2;
  grid-row: 1;
}
.service:nth-child(even) .service-copy {
  grid-column: 1;
  grid-row: 1;
}
.service-number {
  display: flex;
  justify-content: space-between;
  color: #7f8990;
  font-size: 11px;
}
/* Entrada al hacer scroll: cada bloque parte desde su lado de la fila. */
#servicios { overflow-x: clip; }
.service-photo { --reveal-x: -60px; }
.service-copy { --reveal-x: 60px; }
.service:nth-child(even) .service-photo { --reveal-x: 60px; }
.service:nth-child(even) .service-copy { --reveal-x: -60px; }
.service-reveal {
  opacity: 0;
  transform: translateX(var(--reveal-x));
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.service-reveal.is-visible {
  opacity: 1;
  transform: translateX(0);
}
@media (max-width: 700px) {
  .service-photo,
  .service-copy,
  .service:nth-child(even) .service-photo,
  .service:nth-child(even) .service-copy { --reveal-x: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .service-reveal { opacity: 1; transform: none; transition: none; }
}
.service-icon {
  color: var(--ink);
  font-size: 26px;
  line-height: 1;
}
.service h3 {
  font-size: 18px;
  line-height: 1.3;
  margin: 27px 0 12px;
}
.service p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  background: #f1f3f1;
  border-block: 1px solid var(--line);
}
.about h2 span {
  color: #6e797e;
}
.about p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
}
.about .lead {
  font-size: 23px;
  color: var(--ink);
  margin-top: 0;
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}
.photo-placeholder {
  height: 245px;
  background: #edf0ee;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  border: 1px dashed #aeb9ba;
}
.photo-placeholder > span {
  font-size: 11px;
  color: #7d898c;
}
.photo-placeholder b {
  align-self: center;
  font-size: 55px;
  font-weight: 100;
  color: #8d999c;
}
.photo-placeholder small {
  font-size: 9px;
  letter-spacing: 2px;
  color: #6a777d;
}
.alt {
  background: #e7ebeb;
}
.third {
  background: #f3f1e8;
}
.projects h3 {
  font-size: 17px;
  margin-bottom: 8px;
}
.projects article > p {
  font-size: 12px;
  color: var(--muted);
}
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9%;
  background: var(--navy);
  color: #fff;
}
.contact > div > p {
  color: #bcc6cc;
  line-height: 1.7;
  font-size: 14px;
}
.location {
  margin: 35px 0;
  font-size: 19px;
}
.location small {
  display: block;
  color: #abb6be;
  font-size: 13px;
  margin-top: 10px;
}
.contact .note {
  max-width: 350px;
  font-size: 12px;
  border-left: 2px solid var(--yellow);
  padding-left: 15px;
}
form label {
  display: block;
  font-size: 12px;
  margin: 0 0 10px;
}
input,
select,
textarea {
  display: block;
  width: 100%;
  border: 1px solid #52606b;
  color: #fff;
  background: #202d37;
  padding: 14px;
  margin-bottom: 20px;
  border-radius: 0;
  min-width: 0;
}
textarea {
  resize: vertical;
}
input::placeholder,
textarea::placeholder {
  color: #aab5be;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
form .button {
  width: 100%;
}
.form-note {
  display: block;
  color: #b2bec5;
  font-size: 11px;
  margin-top: 14px;
}
#form-status {
  font-size: 14px;
  line-height: 1.6;
  color: var(--yellow);
}
footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 40px 6%;
  background: #101920;
  color: #fff;
}
footer p,
footer > a:not(.brand) {
  font-size: 12px;
  color: #b5c0c7;
}
footer > small {
  width: 100%;
  border-top: 1px solid #ffffff20;
  padding-top: 23px;
  font-size: 10px;
  color: #929fa8;
}
.skip {
  position: absolute;
  left: 10px;
  top: -60px;
  background: var(--yellow);
  padding: 15px;
  z-index: 10;
}
.skip:focus {
  top: 10px;
}
@media (min-width: 1600px) {
  header,
  .hero,
  .audiences,
  .section,
  footer {
    padding-left: max(6%, calc((100vw - 1450px) / 2));
    padding-right: max(6%, calc((100vw - 1450px) / 2));
  }
  .hero {
    padding: 0;
  }
  .hero-copy {
    padding-left: max(9%, calc((100vw - 1450px) / 2));
  }
}
@media (max-width: 1050px) {
  nav {
    gap: 15px;
  }
  .compact {
    display: none;
  }
  .services {
    grid-template-columns: 1fr;
  }
  .hero-copy {
    padding-top: 45px;
  }
  .actions {
    align-items: start;
    flex-direction: column;
    gap: 10px;
  }
  .hero-art {
    min-height: 640px;
  }
  .audiences {
    flex-wrap: wrap;
  }
  .section {
    padding: 65px 6%;
  }
}
@media (max-width: 700px) {
  header {
    min-height: 80px;
    position: relative;
  }
  .brand {
    font-size: 25px;
  }
  .menu {
    display: block;
    background: transparent;
    border: 1px solid #62717b;
    color: white;
    padding: 8px 12px;
    font-size: 21px;
  }
  nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 25px;
    background: var(--navy);
    z-index: 5;
    align-items: stretch;
  }
  nav.open {
    display: flex;
    flex-direction: column;
  }
  nav .compact {
    display: flex;
  }
  .hero {
    grid-template-columns: 1fr;
  }
  .hero-copy {
    padding: 42px 6%;
  }
  h1 {
    font-size: 41px;
  }
  .hero-art {
    min-height: 480px;
  }
  .panel {
    max-width: 300px;
  }
  .hero-foot {
    line-height: 1.8;
    margin-top: 30px;
  }
  .audiences {
    gap: 17px 25px;
    font-size: 11px;
  }
  .audiences > span {
    width: 100%;
  }
  .section-heading {
    display: block;
  }
  .section-heading p {
    margin-top: 22px;
  }
  .services {
    grid-template-columns: 1fr;
  }
  .service {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .service:nth-child(even) .service-photo,
  .service:nth-child(even) .service-copy {
    grid-column: auto;
    grid-row: auto;
  }
  .services {
    gap: 40px;
  }
  .about,
  .contact {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .project-grid {
    grid-template-columns: 1fr;
  }
  .photo-placeholder {
    height: 240px;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  footer {
    align-items: start;
    flex-direction: column;
  }
  .eyebrow {
    font-size: 10px;
  }
  h2 {
    font-size: 36px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}

/* Barra de navegación fija */
header {
  position: fixed;
  top: 20px;
  left: 5%;
  width: 90%;
  min-height: 70px;
  padding: 10px 24px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  background: var(--navy);
  border: 1px solid #ffffff15;
  border-radius: 50px;
  z-index: 1000;
  box-shadow: 0 5px 20px #00000030;
  transition: top 0.25s, left 0.25s, width 0.25s, padding 0.25s,
    border-radius 0.25s, background 0.25s, box-shadow 0.25s;
}

header:not(.scrolled) {
  top: 0;
  left: 0;
  width: 100%;
  min-height: 98px;
  padding: 20px 5%;
  background: var(--navy);
  border: 0;
  border-bottom: 2px solid var(--yellow);
  height: 98px;
  border-radius: 0;
  box-shadow: none;
}

@media (min-width: 761px) {
  header:not(.scrolled) nav {
    flex: initial;
    gap: 26px;
    font-size: 13px;
  }

  header:not(.scrolled) nav a:not(.button) {
    flex: initial;
    padding: 0;
    border-radius: 0;
  }

  header:not(.scrolled) nav a:not(.button):hover {
    background: none;
    color: var(--yellow);
  }
}

header .brand {
  flex-shrink: 0;
  color: white;
}

header nav {
  display: flex;
  flex: 1;
  justify-content: center;
  align-items: center;
  gap: 8px;
  position: static;
  font-size: 14px;
}

header nav a:not(.button) {
  flex: 1;
  text-align: center;
  padding: 16px 20px;
  border-radius: 40px;
  color: white;
  white-space: nowrap;
  transition: background 0.25s, color 0.25s;
}

header nav a:not(.button):hover {
  background: var(--yellow);
  color: #111;
}

header nav .button {
  display: inline-flex;
  flex-shrink: 0;
  white-space: nowrap;
}

header nav .button[hidden] {
  display: none;
}

section[id] {
  scroll-margin-top: 115px;
}

@media (max-width: 760px) {
  header {
    top: 10px;
    left: 3%;
    width: 94%;
    padding: 12px 18px;
  }

  header nav {
    display: none;
  }

  header .menu {
    display: block;
  }

  header nav.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
    background: var(--navy);
    border-radius: 24px;
  }
}

body {
  padding-top: 98px;
}

/* Carrusel de fotografías de inicio */
.hero-carousel {
  position: relative;
  min-width: 0;
  min-height: 610px;
  background: #fff;
  color: var(--navy);
  border: 0;
  touch-action: pan-y;
}
.carousel-window {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.45s ease;
}
.carousel-slide {
  position: relative;
  flex: 0 0 100%;
  min-width: 0;
  background: #fff;
  border: 0;
}
.carousel-slide > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: cover;
}
.carousel-caption {
  position: absolute;
  inset: auto 0 0;
  padding: 90px 32px 80px;
  background: linear-gradient(transparent, rgba(7, 16, 24, 0.92));
  color: #fff;
  pointer-events: none;
}
.carousel-caption > span {
  color: var(--yellow);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
}
.carousel-caption h3 {
  margin: 12px 0;
  font-size: clamp(24px, 2.5vw, 38px);
  line-height: 1.15;
}
.carousel-caption p {
  margin: 0;
  max-width: 420px;
  color: #e0e6ea;
  font-size: 14px;
  line-height: 1.6;
}
.hero-carousel:has(.carousel-slide:first-child[aria-hidden="false"]) .carousel-count,
.hero-carousel:has(.carousel-slide:first-child:not([aria-hidden])) .carousel-count {
  color: #fff;
}
@media (max-width: 700px) {
  .carousel-caption { padding: 70px 24px 72px; }
  .carousel-caption p { font-size: 13px; }
}
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--navy);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}
.carousel-arrow:hover {
  background: var(--yellow);
  color: var(--navy);
}
.carousel-prev { left: 20px; }
.carousel-next { right: 20px; }
.carousel-controls {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.carousel-count {
  font-size: 12px;
  letter-spacing: 2px;
}
.carousel-dots { display: flex; gap: 6px; }
.carousel-playback {
  border: 1px solid #ffffff60;
  border-radius: 20px;
  padding: 9px 12px;
  background: var(--navy);
  color: #fff;
  font-size: 11px;
  cursor: pointer;
}
.carousel-playback:hover { color: var(--yellow); }
.carousel-dots button {
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.carousel-dots button::before {
  content: "";
  display: block;
  width: 9px;
  height: 9px;
  margin: auto;
  border-radius: 50%;
  background: #a8b0b5;
}
.carousel-dots button[aria-current="true"]::before {
  background: var(--yellow);
  box-shadow: 0 0 0 3px var(--navy);
}
.service-request {
  margin-top: 22px;
  padding: 10px 0;
  background: transparent;
  color: var(--ink);
  border: 0;
  border-bottom: 2px solid var(--yellow);
  font-weight: 700;
  cursor: pointer;
}
.service-request:hover { color: #756000; }
.contact-request { align-self: center; }
.contact-request p { color: #bcc6cc; line-height: 1.7; }
body.request-open { overflow: hidden; }
.request-dialog {
  width: min(640px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  padding: 40px;
  border: 1px solid #52606b;
  border-top: 4px solid var(--yellow);
  background: var(--navy);
  color: #fff;
  box-shadow: 0 24px 80px #0006;
  overscroll-behavior: contain;
}
.request-dialog::backdrop { background: #071018bd; }
.request-dialog .eyebrow { color: var(--yellow); padding-right: 28px; }
.request-dialog h2 { font-size: clamp(28px, 5vw, 36px); }
.request-dialog #request-description { color: #bcc6cc; line-height: 1.6; margin-bottom: 28px; }
.request-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  border: 1px solid #52606b;
  background: transparent;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
}
.request-close:hover { background: #34434e; }
@media (max-width: 700px) {
  .request-dialog { padding: 48px 22px 24px; }
}
@media (max-width: 700px) {
  .hero-carousel { min-height: 360px; }
}
.la{ color: orange;}

/* Botón centrado al final de los servicios desplegados. */
.more-services { margin-top: 48px; }
.more-services > .services[hidden] { display: none; }
.more-services-toggle {
  display: flex;
  width: fit-content;
  max-width: 100%;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 auto;
  padding: 13px 23px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  scroll-margin-block: 140px 32px;
}
.more-services-toggle:hover { color: var(--yellow); }
.more-services-icon { color: var(--yellow); font-size: 22px; line-height: 1; }
.more-services-toggle[aria-expanded="true"] { margin-top: 40px; }
/* Cuadrícula corporativa de servicios RELEK. */
.services-section { background: #f5f6f6; }
.services-section .section-heading { margin-bottom: 22px; align-items: center; }
.services-section h2 span { color: #6c7379; }
.services-intro { max-width: 800px; margin: 0 0 40px; color: var(--muted); line-height: 1.8; }
.services-section .services { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: start; }
.services-section .service-card { display: flex; flex-direction: column; gap: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #fff; transition: box-shadow .2s, border-color .2s; }
.services-section .service-card:hover { border-color: #c4a51e; box-shadow: 0 12px 30px #151f2810; }
.services-section .service-photo { width: 100%; aspect-ratio: 16 / 10; border: 0; border-radius: 0; background: var(--navy); }
.services-section .service-photo img { transition: transform .35s; }
.services-section .service-card:hover img { transform: scale(1.025); }
.services-section .service-copy { width: 100%; padding: 26px; border: 0; border-top: 3px solid var(--yellow); }
.services-section .service-number { color: #687279; font-size: 10px; letter-spacing: 1.7px; font-weight: 700; }
.services-section .service h3 { margin: 16px 0 14px; font-size: 21px; letter-spacing: -.4px; }
.services-section .service p { font-size: 14px; line-height: 1.75; }
.service-detail { margin-top: 24px; border-top: 1px solid var(--line); }
.service-detail > summary { display: flex; justify-content: space-between; align-items: center; padding: 16px 0 0; font-weight: 700; font-size: 14px; list-style: none; cursor: pointer; }
.service-detail > summary::-webkit-details-marker { display: none; }
.service-detail > summary span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--yellow); color: var(--navy); font-size: 20px; }
.service-detail[open] > summary span { transform: rotate(45deg); }
.service-detail-body h4 { font-size: 14px; margin: 22px 0 12px; }
.service-detail-body ul { padding-left: 18px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.service-detail-body li { margin-bottom: 9px; }
.service-detail-body li::marker { color: #a48708; }
.services-cta { display: flex; align-items: center; justify-content: space-between; gap: 36px; margin-top: 64px; padding: clamp(28px, 4vw, 48px); background: var(--navy); color: #fff; border-radius: 20px; border-top: 4px solid var(--yellow); }
.services-cta .eyebrow { color: var(--yellow); font-size: 10px; margin-bottom: 16px; }
.services-cta h3 { max-width: 650px; font-size: clamp(22px, 2.3vw, 30px); margin: 0; line-height: 1.35; }
.services-cta .button { flex-shrink: 0; border-radius: 999px; }
@media (max-width: 1050px) { .services-section .services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .services-section .services { grid-template-columns: 1fr; } .services-cta { flex-direction: column; align-items: flex-start; gap: 24px; } }
/* Servicios en filas alternadas, conservando la composición original. */
.services-section .services {
  grid-template-columns: 1fr;
  gap: 64px;
}
.services-section .service-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 5vw, 80px);
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.services-section .service-card:hover { box-shadow: none; }
.services-section .service-photo {
  aspect-ratio: 4 / 3;
  border-radius: 28px;
  overflow: hidden;
}
.services-section .service-copy {
  padding: clamp(24px, 3vw, 40px);
  border: 1px solid var(--line);
  background: #fff;
}
/* La cuarta fila continúa la alternancia de las tres primeras. */
#more-service-list .service:nth-child(odd) .service-photo { grid-column: 2; grid-row: 1; --reveal-x: 60px; }
#more-service-list .service:nth-child(odd) .service-copy { grid-column: 1; grid-row: 1; --reveal-x: -60px; }
#more-service-list .service:nth-child(even) .service-photo { grid-column: 1; grid-row: 1; --reveal-x: -60px; }
#more-service-list .service:nth-child(even) .service-copy { grid-column: 2; grid-row: 1; --reveal-x: 60px; }
@media (max-width: 700px) {
  .services-section .services { gap: 40px; }
  .services-section .service-card { grid-template-columns: 1fr; gap: 20px; }
  .services-section .service .service-photo,
  .services-section .service .service-copy,
  #more-service-list .service .service-photo,
  #more-service-list .service .service-copy {
    grid-column: auto;
    grid-row: auto;
    --reveal-x: 24px;
  }
}
/* Fondo azul corporativo de Nuestros Servicios. */
.services-section { background: #151F28; color: #fff; }
.services-section h2 span { color: var(--yellow); }
.services-section > .services-intro,
.services-section .section-heading p { color: #bcc6cc; }
.services-section .section-heading .eyebrow { color: var(--yellow); }
.services-section .service-copy { color: var(--ink); }
.services-section .more-services-toggle { border-color: #647079; }
/* Temporalmente desactivado: fondo blanco y bordes redondeados por servicio.
.services-section .service-card {
  background: #FFFFFF;
  border-radius: 24px;
  padding: clamp(24px, 3vw, 40px);
  color: var(--ink);
}
@media (max-width: 700px) {
  .services-section .service-card {
    border-radius: 24px;
    padding: 20px;
  }
}
*/

/* Fotos más compactas y texto ligeramente más grande. */
.services-section .service-photo {
  width: 90%;
  justify-self: center;
}
.services-section .service-copy {
  border-radius: 18px;
}
.services-section .service h3 { font-size: 23px; }
.services-section .service p { font-size: 15px; }
.services-section .service-detail-body ul { font-size: 14px; }
.services-section .service-detail > summary { font-size: 15px; }
@media (max-width: 700px) {
  .services-section .service-photo { width: 100%; }
}
/* Pie de página: contacto, servicios y QR corporativo. */
footer.site-footer { display: block; padding: 0 6%; background: #151F28; color: #fff; border-top: 3px solid var(--yellow); }
.footer-heading { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding: 48px 0; border-bottom: 0; }
.footer-heading .eyebrow { color: var(--yellow); margin-bottom: 16px; }
.footer-heading h2 { font-size: clamp(26px, 3vw, 38px); letter-spacing: -1px; }
.site-footer p { color: #bcc6cc; font-size: 14px; line-height: 1.75; }
.footer-heading p { margin-bottom: 0; }
.footer-heading .button { border-radius: 999px; flex-shrink: 0; }
.footer-columns { display: grid; grid-template-columns: 1.1fr 1fr 1.1fr 1fr; gap: 40px; padding: 48px 0; }
.site-footer .brand-logo { width: 100px; height: 100px; }
.footer-company p { max-width: 240px; }
.footer-company .footer-person { color: #fff; font-size: 13px; }
.footer-column h3 { margin: 0 0 24px; font-size: 15px; color: #fff; }
.footer-column ul { list-style: none; padding: 0; margin: 0; }
.footer-column li { margin-bottom: 14px; font-size: 13px; line-height: 1.6; color: #bcc6cc; }
.site-footer a:not(.button):hover { color: var(--yellow); }
.footer-location { padding-top: 10px; }
.footer-location strong, .footer-location span { display: block; }
.footer-location strong { color: #fff; font-weight: 500; }
.footer-location a { display: inline-block; margin-top: 10px; }
.footer-form-link { display: inline-block; font-size: 13px; color: var(--yellow); padding-bottom: 6px; border-bottom: 1px solid var(--yellow); }
.footer-qr-link { display: inline-block; background: #fff; padding: 8px; border-radius: 12px; }
.footer-qr img { display: block; width: 144px; height: auto; }
.footer-qr p { font-size: 12px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid #ffffff25; padding: 24px 0; color: #aebbc4; font-size: 12px; }
.footer-bottom small { font-size: 12px; }
@media (max-width: 1050px) { .footer-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-heading { align-items: flex-start; flex-direction: column; } }
@media (max-width: 560px) { .footer-columns { grid-template-columns: 1fr; gap: 32px; } .footer-heading .button { width: 100%; gap: 12px; } .footer-bottom { flex-direction: column; } }
/* Carrusel: fotografías completas, sin recortes. */
.hero-carousel { min-height: 480px; background: var(--navy); }
.carousel-slide { background: var(--navy); }
.carousel-slide > img {
  object-fit: contain;
  object-position: center;
  padding: 10px 10px 56px;
}
.hero-carousel .carousel-count { color: #fff; }
@media (max-width: 700px) {
  .hero-carousel { min-height: 340px; }
  .carousel-slide > img { padding: 8px 8px 56px; }
}
/* Indicadores centrados del carrusel. */
.carousel-controls { justify-content: center; }

/* Encuadre más ancho, con una ampliación leve de las fotografías. */
.carousel-slide > img {
  padding: 0 0 52px;
  transform: scale(1.06);
}
@media (max-width: 700px) {
  .carousel-slide > img { padding: 0 0 52px; }
}
/* Controles laterales discretos: conservan el clic y el acceso con teclado. */
.carousel-arrow {
  width: 64px;
  height: 45%;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: transparent;
  font-size: 0;
  z-index: 2;
}
.carousel-arrow:hover { background: transparent; color: transparent; }
.carousel-arrow:focus-visible { outline: 2px solid var(--yellow); }
.carousel-prev { left: 0; }
.carousel-next { right: 0; }
/* Espacio equilibrado arriba y abajo del encuadre. */
.carousel-slide > img {
  padding: 38px 10px;
  transform: none;
}
@media (max-width: 700px) {
  .carousel-slide > img { padding: 28px 8px; }
  .carousel-arrow { width: 48px; }
}
/* Amplía las fotos desde el centro, conservando sus proporciones. */
.carousel-slide > img {
  padding-inline: 0;
  transform: scale(1.1);
  transform-origin: center;
}
/* Fotos a todo el ancho, centradas y con margen superior e inferior. */
.carousel-slide > img {
  height: calc(100% - 76px);
  margin-block: 38px;
  padding: 0;
  object-fit: cover;
  object-position: center;
  transform: none;
}
@media (max-width: 700px) {
  .carousel-slide > img {
    height: calc(100% - 56px);
    margin-block: 28px;
    padding: 0;
  }
}
/* Encuadre suave: foto completa con una ampliación mínima. */
.carousel-slide > img {
  object-fit: contain;
  transform: scale(1.08);
  transform-origin: center;
}
/* Texto principal con mayor presencia y mejor uso del espacio. */
.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 6% 44px 9%;
}
.hero-copy h1 {
  max-width: none;
  font-size: clamp(40px, 4.1vw, 66px);
  line-height: 1.1;
}
.hero-copy > p {
  max-width: none;
  font-size: 17px;
  line-height: 1.85;
  margin: 0;
}
.hero-copy .hero-foot { font-size: 11px; line-height: 1.7; margin-top: 36px; }
@media (max-width: 700px) {
  .hero-copy { padding: 40px 6%; }
  .hero-copy h1 { font-size: clamp(34px, 8vw, 44px); }
  .hero-copy > p { font-size: 16px; }
}
/* Esquinas suaves en las fotografías del carrusel. */
.carousel-slide > img {
  border-radius: 24px;
}/* Ajusta el borde a la foto real, incluso cuando quedan espacios laterales. */
.carousel-slide > img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(100% - 76px);
  margin: 0;
  padding: 0;
  transform: translate(-50%, -50%) scale(1.08);
  border-radius: 24px;
}
@media (max-width: 700px) {
  .carousel-slide > img { max-height: calc(100% - 56px); }
}
/* Textos de ejemplo sobre las cuatro fotografías del carrusel. */
.carousel-example-caption {
  position: absolute;
  left: 7%;
  right: 7%;
  bottom: 58px;
  padding: 48px 24px 22px;
  border-radius: 0 0 20px 20px;
  background: linear-gradient(transparent, #09121ce8);
  color: #fff;
  pointer-events: none;
}
.carousel-example-caption > span { color: var(--yellow); font-size: 10px; font-weight: 700; letter-spacing: 1.3px; }
.carousel-example-caption h3 { margin: 10px 0; font-size: clamp(22px, 2.4vw, 34px); line-height: 1.15; }
.hero .carousel-example-caption p { margin: 0; color: #e1e7ec; font-size: 14px; line-height: 1.6; }
@media (max-width: 700px) {
  .carousel-example-caption { left: 5%; right: 5%; bottom: 44px; padding: 38px 18px 18px; }
  .carousel-example-caption h3 { font-size: 23px; }
  .hero .carousel-example-caption p { font-size: 12px; }
}
/* Mantiene el texto por delante de las fotos transformadas. */
.carousel-slide { isolation: isolate; }
.carousel-slide > img { z-index: 0; }
.carousel-example-caption { z-index: 1; }
.carousel-controls { z-index: 3; }
/* El texto queda contenido dentro de cada fotografía. */
.carousel-photo-frame {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 24px;
  overflow: hidden;
  isolation: isolate;
}
.carousel-photo-frame > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.carousel-photo-frame .carousel-example-caption {
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 0;
  padding: 64px 24px 28px;
}
.carousel-photo-frame .carousel-example-caption h3 { font-size: clamp(22px, 2vw, 30px); }
@media (max-width: 700px) {
  .carousel-photo-frame .carousel-example-caption { padding: 44px 18px 24px; }
  .carousel-photo-frame .carousel-example-caption h3 { font-size: 22px; }
}
/* Encuadre un poco más ancho sin deformar la imagen. */
.carousel-photo-frame > img { object-fit: cover; object-position: center; }

/* Navegación móvil: icono limpio y desplegable unido a la barra. */
@media (max-width: 760px) {
  header .menu {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    appearance: none;
  }
  header:has(nav.open) {
    border-radius: 0;
    border-bottom: 0;
  }
  header nav.open {
    top: 100%;
    left: -1px;
    right: -1px;
    margin: 0;
    border: 1px solid #ffffff15;
    border-top: 0;
    border-radius: 0;
    background: var(--navy);
    gap: 4px;
  }
  header nav.open a:not(.button) {
    border-radius: 0;
    text-align: left;
    padding: 14px 18px;
  }
}
/* Navegación adaptable: evita desbordes y mantiene unido el menú móvil. */
header { background: var(--navy); }
header .brand-logo { width: 64px; height: 64px; }
header.scrolled .brand-logo { width: 48px; height: 48px; }
@media (min-width: 1051px) {
  header .menu { display: none; }
  header nav { display: flex; min-width: 0; }
  header nav a:not(.button) { padding: 14px 16px; }
}
@media (max-width: 1050px) {
  header, header:not(.scrolled) {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    min-height: 80px;
    padding: 8px 6%;
    border: 0;
    border-bottom: 2px solid var(--yellow);
    border-radius: 0;
    gap: 16px;
    background: var(--navy);
  }
  body { padding-top: 80px; }
  header .brand-logo, header.scrolled .brand-logo { width: 60px; height: 60px; }
  header .menu {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    appearance: none;
  }
  header nav { display: none; }
  header nav.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    margin: 0;
    padding: 16px 6% 24px;
    max-height: calc(100dvh - 80px);
    overflow-y: auto;
    background: var(--navy);
    border: 0;
    border-bottom: 2px solid var(--yellow);
    border-radius: 0;
    box-shadow: 0 12px 20px #0003;
  }
  header:has(nav.open) { border-bottom-color: transparent; }
  header nav.open a:not(.button) { flex: none; text-align: left; padding: 14px 12px; border-radius: 0; }
  header nav.open .button:not([hidden]) { display: flex; margin-top: 8px; }
}
/* Nosotros: composición limpia y enlace sin fondo amarillo. */
.about { background: #f5f6f5; align-items: start; gap: clamp(36px, 6vw, 96px); }
.about-heading { padding-top: 6px; }
.about-heading .eyebrow { color: var(--muted); }
.about h2 { line-height: 1.2; }
.about h2 span { color: #647079; }
.about-location { display: flex; align-items: center; gap: 12px; margin-top: 30px; color: var(--muted); font-size: 13px; }
.about-location > span { color: var(--ink); font-size: 20px; }
.about-content { border-left: 1px solid var(--line); padding-left: clamp(24px, 3vw, 44px); }
.about .lead { font-size: clamp(22px, 2.2vw, 30px); line-height: 1.35; margin-bottom: 24px; letter-spacing: -.5px; }
.about-content > p:not(.lead) { margin: 0 0 16px; }
.about-pillars { display: flex; flex-wrap: wrap; gap: 16px 24px; list-style: none; margin: 28px 0 22px; padding: 22px 0; border-block: 1px solid var(--line); }
.about-pillars li { font-size: 12px; font-weight: 700; color: var(--ink); }
.about-pillars li span { margin-right: 8px; color: var(--muted); font-size: 10px; }
.about .text-link { display: inline-flex; align-items: center; gap: 20px; background: transparent; border-bottom: 1px solid var(--ink); padding: 10px 0; }
.about .text-link:hover { color: #756000; }
@media (max-width: 700px) {
  .about-content { border-left: 0; border-top: 1px solid var(--line); padding: 28px 0 0; }
}
/* Nosotros: presentación breve, propósito y valores. */
.about-project-photo { margin: 30px 0 0; }
.about-project-photo img { display: block; width: 100%; height: 240px; object-fit: cover; border-radius: 18px; }
.about-project-photo figcaption { margin-top: 12px; color: var(--muted); font-size: 12px; }
.about-purpose { margin-top: 28px; display: grid; gap: 22px; }
.about-purpose article { border-top: 1px solid var(--line); padding-top: 20px; }
.about-purpose h3 { margin: 0 0 8px; font-size: 18px; }
.about-purpose p { margin: 0; font-size: 14px; line-height: 1.75; }
.about-values { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.about-values article { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.value-symbol { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--yellow); color: var(--navy); font-size: 22px; }
.about-values h3 { margin: 18px 0 10px; font-size: 18px; }
.about-values p { margin: 0; font-size: 13px; line-height: 1.75; }
/* Clientes: nombres y enlaces, sin sustituir sus identidades por logos inventados. */
.clients-section { background: #fff; }
.clients-heading { max-width: 720px; }
.clients-heading .eyebrow { color: var(--muted); }
.clients-heading h2 span { color: var(--muted); }
.clients-heading p { color: var(--muted); line-height: 1.75; font-size: 15px; margin: 24px 0 36px; }
.clients-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.client-card { display: flex; flex-direction: column; justify-content: space-between; gap: 28px; min-height: 190px; padding: 32px; border: 1px solid var(--line); border-radius: 16px; background: #f8f9f8; transition: border-color .2s, transform .2s; }
.client-card:hover { border-color: #b79a18; transform: translateY(-3px); }
.client-name { font-size: clamp(23px, 2.3vw, 32px); font-weight: 700; color: var(--navy); letter-spacing: -.6px; line-height: 1.2; }
.client-name strong { font-weight: 700; }
.client-visit { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }
.client-visit > span { color: var(--ink); }
@media (max-width: 1050px) { .about-values { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .clients-grid { grid-template-columns: 1fr; } .client-card { min-height: 150px; padding: 26px; } }
@media (max-width: 420px) { .about-values { grid-template-columns: 1fr; } }
/* Valores en dos columnas, en lugar de la fotografía. */
.about-heading .about-values { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 30px; }
.about-values article { border-top: 3px solid var(--yellow); }
.about h2 .about-brand > span:nth-child(odd) { color: var(--ink); }
.about h2 .about-brand > span:nth-child(even) { color: #F8CD22; }
.about-heading > .eyebrow { border-left: 4px solid var(--yellow); padding-left: 12px; }
.about-purpose h3 { display: flex; align-items: center; gap: 10px; }
.about-purpose h3::before { content: ''; width: 7px; height: 18px; background: var(--yellow); border-radius: 2px; }
/* Clientes con logos y navegación horizontal. */
.clients-heading { text-align: center; margin-inline: auto; }
.clients-heading .eyebrow { justify-content: center; }
.clients-carousel { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; align-items: center; gap: 20px; max-width: 1040px; margin: 0 auto; }
.clients-window { overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; }
.clients-window::-webkit-scrollbar { display: none; }
.clients-track { display: flex; gap: 24px; }
.clients-track .client-card { flex: 0 0 calc((100% - 24px) / 2); min-width: 0; flex-direction: row; align-items: center; justify-content: center; gap: 22px; min-height: 180px; padding: 26px; scroll-snap-align: start; background: #fff; }
.clients-track .client-card:hover { transform: none; border-color: var(--line); }
.clients-track .client-card img { width: 45%; max-width: 160px; height: 82px; object-fit: contain; }
.clients-track .client-name { font-size: 21px; }
.clients-prev, .clients-next { width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--yellow); color: var(--navy); font-size: 22px; cursor: pointer; }
@media (max-width: 700px) {
  .clients-carousel { gap: 10px; grid-template-columns: 36px minmax(0, 1fr) 36px; }
  .clients-prev, .clients-next { width: 36px; height: 36px; }
  .clients-track .client-card { flex-basis: 100%; padding: 20px; gap: 16px; }
  .clients-track .client-name { font-size: 18px; }
}
@media (max-width: 420px) { .about-heading .about-values { gap: 12px; } .about-heading .about-values article { padding: 16px; } }
/* Marca en títulos: RE negro y LEK amarillo corporativo. */
.about h2 .relek-re, .clients-heading h2 .relek-re { color: #000000; }
.about h2 .relek-lek, .clients-heading h2 .relek-lek { color: #F8CD22; }
/* Texto del título de clientes en negro. */
.clients-heading h2 > span { color: #000000; }

/* Títulos sobre fondos claros: negro, conservando el amarillo de la marca. */
.about h2, .about h2 > span,
.about h3,
.clients-heading h2, .clients-heading h2 > span,
.service-copy h3, .service-copy h4 {
  color: #000000;
}
.about h2 .relek-re, .clients-heading h2 .relek-re { color: #000000; }
.about h2 .relek-lek, .clients-heading h2 .relek-lek { color: #F8CD22; }/* Textos que antes eran grises en las secciones claras. */
.about p, .about .eyebrow, .about-location,
.about-project-photo figcaption, .about-pillars li span,
.clients-heading p, .clients-heading .eyebrow,
.clients-track .client-name,
.services-section .service-copy p,
.services-section .service-number,
.services-section .service-detail-body ul {
  color: #000000;
}
/* Enlaces en el mismo orden de las secciones de la página. */
@media (min-width: 1051px) {
  header nav, header:not(.scrolled) nav {
    flex: 1;
    justify-content: flex-end;
    gap: clamp(8px, 1.3vw, 22px);
    font-size: 14px;
  }
  header nav a:not(.button), header:not(.scrolled) nav a:not(.button) {
    flex: 0 0 auto;
    padding: 12px 16px;
    border-radius: 999px;
    text-align: center;
  }
  header nav a:not(.button):hover,
  header:not(.scrolled) nav a:not(.button):hover {
    background: var(--yellow);
    color: var(--navy);
  }
  header nav .button { margin-left: 8px; }
}
/* Navegación de escritorio amplia y distribuida por toda la barra. */
@media (min-width: 1051px) {
  header nav, header:not(.scrolled) nav {
    flex: 1;
    justify-content: space-between;
    gap: 8px;
    font-size: 16px;
  }
  header nav a:not(.button), header:not(.scrolled) nav a:not(.button) {
    flex: 1;
    padding: 16px 20px;
    text-align: center;
  }
}
#contact-form button:disabled { opacity: .65; cursor: wait; transform: none; }

/* Bombas y remodelaciones: marco más alto y fotografía sin recortes. */
.services-section .service-photo:has(.service-photo-full) {
  aspect-ratio: 1 / 1;
  background: #fff;
}
.services-section .service-photo img.service-photo-full {
  object-fit: contain;
  transform: none;
}