body.screen-page {
  background: #fff;
}

.screen-shell .site-header .main-nav a.active {
  color: #fff;
}

.screen-hero {
  position: relative;
  min-height: 590px;
  display: grid;
  grid-template-columns: minmax(330px, 560px) 1fr;
  gap: 24px;
  padding: 70px clamp(26px, 5vw, 64px) 36px;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, #001025, #001d39);
}

.screen-hero::before {
  position: absolute;
  inset: 0 50% 0 0;
  z-index: 1;
  background: linear-gradient(110deg, rgba(0, 16, 37, .98), rgba(0, 16, 37, .98) 72%, transparent 73%);
  content: "";
}

.screen-hero-copy {
  position: relative;
  z-index: 2;
  align-self: center;
}

.screen-hero h1 {
  max-width: 590px;
  margin: 0;
  font-size: clamp(38px, 4.6vw, 58px);
  line-height: 1.06;
  font-weight: 950;
}

.screen-hero h1 span.green,
.screen-cta h2 span.green {
  color: var(--green);
}

.screen-hero h1 span.blue,
.screen-cta h2 span.blue {
  color: var(--blue);
}

.screen-hero p.hero-text {
  max-width: 510px;
  margin: 24px 0 24px;
  color: rgba(255, 255, 255, .86);
  font-size: 16px;
  line-height: 1.65;
}

.screen-hero-media {
  position: absolute;
  inset: 0 0 0 38%;
}

.screen-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .9;
}

.screen-hero-media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 16, 37, .75), rgba(0, 16, 37, .08) 42%, rgba(0, 16, 37, .36));
  content: "";
}

.screen-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(190px, 1fr));
  gap: 12px 28px;
  max-width: 620px;
  margin-top: 26px;
  font-size: 14px;
  font-weight: 750;
}

.screen-points span {
  position: relative;
  padding-left: 25px;
}

.screen-points span::before {
  position: absolute;
  top: 2px;
  left: 0;
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  color: #001025;
  background: var(--green);
  font-size: 11px;
  font-weight: 950;
  content: "✓";
}

.hero-panel {
  position: relative;
  z-index: 2;
  align-self: center;
  max-width: 390px;
  margin-left: auto;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 8px;
  background: rgba(2, 22, 42, .82);
  box-shadow: 0 20px 52px rgba(0, 0, 0, .25);
  backdrop-filter: blur(9px);
}

.hero-panel h2 {
  margin: 0 0 18px;
  font-size: 23px;
  line-height: 1.25;
}

.hero-panel ul,
.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hero-panel li,
.check-list li {
  position: relative;
  padding: 10px 0 10px 30px;
  color: rgba(255, 255, 255, .86);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.hero-panel li::before,
.check-list li::before {
  position: absolute;
  top: 12px;
  left: 0;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  color: #001025;
  background: var(--green);
  font-size: 12px;
  font-weight: 900;
  content: "✓";
}

.screen-section {
  padding: 58px clamp(28px, 6vw, 74px);
  background: #fff;
}

.screen-section.soft {
  background: radial-gradient(circle at top, #fff, #f6f8fb 72%);
}

.screen-section.dark {
  color: #fff;
  background:
    linear-gradient(rgba(0, 16, 37, .94), rgba(0, 16, 37, .94)),
    repeating-linear-gradient(35deg, rgba(30, 135, 200, .18) 0 1px, transparent 1px 34px);
}

.screen-section h2 {
  max-width: 860px;
  margin: 0 auto 16px;
  text-align: center;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.18;
  font-weight: 950;
}

.screen-section .intro {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
  color: #536174;
  line-height: 1.6;
}

.screen-section.dark .intro {
  color: rgba(255, 255, 255, .78);
}

.mini-grid,
.photo-grid,
.wide-grid,
.info-grid {
  display: grid;
  gap: 18px;
}

.mini-grid {
  grid-template-columns: repeat(4, 1fr);
}

.photo-grid {
  grid-template-columns: repeat(4, 1fr);
}

.wide-grid {
  grid-template-columns: repeat(3, 1fr);
}

.info-grid {
  grid-template-columns: repeat(2, 1fr);
}

.mini-card,
.info-card,
.photo-card,
.project-feature {
  border: 1px solid #e3e9ef;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(12, 32, 52, .09);
}

.mini-card,
.info-card {
  padding: 30px 24px;
  text-align: center;
}

.mini-card img,
.info-card img {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
}

.mini-card h3,
.info-card h3,
.photo-card h3,
.project-feature h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.25;
}

.mini-card p,
.info-card p,
.photo-card p,
.project-feature p {
  margin: 12px 0 0;
  color: #536174;
  line-height: 1.55;
  font-size: 14px;
}

.photo-card {
  overflow: hidden;
}

.photo-card .photo {
  position: relative;
}

.photo-card .photo > img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.photo-card .card-icon {
  position: absolute;
  left: 18px;
  bottom: -26px;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 12px 24px rgba(0, 0, 0, .18);
}

.photo-card .card-icon.solid-green {
  background: var(--green);
}

.photo-card .card-icon.solid-blue {
  background: var(--blue);
}

.photo-card .card-icon img {
  width: 34px;
  height: 34px;
}

.photo-card .body {
  min-height: 180px;
  padding: 42px 22px 22px;
}

.photo-card.dark-card {
  color: #fff;
  background: #001d39;
}

.photo-card.dark-card .body {
  background: linear-gradient(180deg, rgba(0, 29, 57, .96), #001025);
}

.photo-card.dark-card p {
  color: rgba(255, 255, 255, .82);
}

.card-link {
  display: inline-flex;
  gap: 10px;
  margin-top: 18px;
  color: var(--green);
  font-weight: 900;
  font-size: 14px;
}

.process-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 42px;
}

.process-row article {
  position: relative;
  min-height: 178px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 8px;
  background: rgba(0, 29, 57, .65);
}

.process-row article:not(:last-child)::after {
  position: absolute;
  top: 50%;
  right: -31px;
  width: 20px;
  height: 20px;
  border-top: 2px solid var(--green);
  border-right: 2px solid var(--green);
  transform: translateY(-50%) rotate(45deg);
  content: "";
}

@keyframes ecoluzScreenHorizontalDrift {
  0%,
  100% {
    transform: scale(1.045) translateX(-7px);
  }

  50% {
    transform: scale(1.045) translateX(7px);
  }
}

@keyframes ecoluzScreenFlowArrow {
  0%,
  100% {
    opacity: .42;
    transform: translateY(-50%) translateX(-4px) rotate(45deg);
  }

  50% {
    opacity: .95;
    transform: translateY(-50%) translateX(4px) rotate(45deg);
  }
}

.screen-hero-media img,
.photo-card .photo > img,
.feature-banner > img {
  animation: ecoluzScreenHorizontalDrift 18s ease-in-out infinite;
  will-change: transform;
}

.photo-card:nth-child(2) .photo > img {
  animation-delay: -5s;
}

.photo-card:nth-child(3) .photo > img {
  animation-delay: -9s;
}

.photo-card:nth-child(4) .photo > img {
  animation-delay: -13s;
}

.process-row article:not(:last-child)::after {
  animation: ecoluzScreenFlowArrow 2.8s ease-in-out infinite;
}

.process-row article:nth-child(2)::after {
  animation-delay: .35s;
}

.process-row article:nth-child(3)::after {
  animation-delay: .7s;
}

.process-row img {
  width: 42px;
  height: 42px;
}

.process-row span {
  display: inline-block;
  margin: 0 0 18px 12px;
  color: var(--green);
  font-size: 20px;
  font-weight: 950;
  vertical-align: top;
}

.process-row h3 {
  margin: 0;
}

.process-row p {
  color: rgba(255, 255, 255, .78);
  line-height: 1.55;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(280px, .9fr) 1.1fr;
  gap: 48px;
  align-items: center;
}

.split-section h2 {
  margin: 0 0 18px;
  text-align: left;
}

.split-section p {
  color: #536174;
  line-height: 1.65;
}

.dark-panel {
  padding: 30px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, #001025, #002a50);
  box-shadow: var(--shadow);
}

.dark-panel .check-list li {
  color: rgba(255, 255, 255, .86);
}

.feature-banner {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  border-radius: 8px;
  color: #fff;
  background: #001025;
  box-shadow: var(--shadow);
}

.feature-banner img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  opacity: .72;
}

.feature-banner div {
  position: absolute;
  left: 24px;
  bottom: 24px;
  max-width: 320px;
  padding: 20px;
  border-radius: 8px;
  background: rgba(0, 29, 57, .86);
}

.screen-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
  padding: 50px clamp(28px, 6vw, 82px);
  color: #fff;
  background:
    linear-gradient(90deg, #001025, #001d39),
    repeating-linear-gradient(30deg, rgba(30, 135, 200, .2) 0 1px, transparent 1px 36px);
}

.screen-cta h2 {
  max-width: 700px;
  margin: 0 0 12px;
  font-size: clamp(28px, 3.5vw, 42px);
  line-height: 1.14;
}

.screen-cta p {
  max-width: 620px;
  color: rgba(255, 255, 255, .82);
}

.screen-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
  max-width: 560px;
}

.screen-form {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 46px;
  align-items: start;
}

.form-card {
  padding: 28px;
  border: 1px solid #e3e9ef;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.form-grid label {
  display: grid;
  gap: 8px;
  color: #253246;
  font-size: 13px;
  font-weight: 800;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  min-height: 45px;
  padding: 12px 14px;
  border: 1px solid #dce4ec;
  border-radius: 6px;
  color: #0b1423;
  font: inherit;
}

.form-grid textarea,
.form-grid .full {
  grid-column: 1 / -1;
}

.form-grid textarea {
  min-height: 140px;
  resize: vertical;
}

.form-note {
  color: #536174;
  font-size: 12px;
}

@media (max-width: 1120px) {
  .screen-hero,
  .screen-cta,
  .screen-form,
  .split-section {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    margin: 20px 0 0;
  }

  .mini-grid,
  .photo-grid,
  .process-row,
  .real-work-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .real-work-card:nth-child(1),
  .real-work-card:nth-child(3) {
    grid-column: span 1;
  }

  .wide-grid {
    grid-template-columns: 1fr;
  }

  .process-row article::after {
    display: none;
  }
}

@media (max-width: 760px) {
  .screen-hero {
    display: block;
    min-height: auto;
    padding: 42px 20px 28px;
  }

  .screen-hero::before {
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 16, 37, .96), rgba(0, 16, 37, .84));
  }

  .screen-hero-media {
    inset: 0;
  }

  .screen-hero-media img {
    opacity: .34;
  }

  .screen-hero h1 {
    font-size: clamp(34px, 10vw, 48px);
  }

  .screen-points,
  .mini-grid,
  .photo-grid,
  .process-row,
  .info-grid,
  .real-work-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .screen-section,
  .screen-cta {
    padding-right: 20px;
    padding-left: 20px;
  }

  .screen-cta-actions {
    display: grid;
    grid-template-columns: 1fr;
    justify-content: stretch;
  }
}

/* Controlled personality pass per screen. Shared V2 system, page-specific rhythm. */
.page-servicios .screen-hero {
  min-height: 545px;
}

.page-servicios .hero-panel {
  max-width: 430px;
  border-left: 4px solid var(--green);
}

.page-servicios .screen-main-servicios > .screen-section:nth-of-type(2) .mini-grid {
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
}

.page-servicios .screen-main-servicios > .screen-section:nth-of-type(2) .mini-card {
  padding: 24px 18px;
  text-align: left;
}

.page-servicios .screen-main-servicios > .screen-section:nth-of-type(2) .mini-card img {
  margin-left: 0;
}

.page-servicios .screen-main-servicios > .screen-section:nth-of-type(3) .photo-grid {
  align-items: stretch;
}

.page-servicios .screen-main-servicios > .screen-section:nth-of-type(3) .photo-card {
  border-top: 3px solid var(--green);
}

.page-servicios .screen-main-servicios > .screen-section:nth-of-type(4) {
  background:
    linear-gradient(rgba(0, 16, 37, .92), rgba(0, 16, 37, .92)),
    repeating-linear-gradient(90deg, rgba(30, 135, 200, .18) 0 1px, transparent 1px 42px);
}

.page-servicios .screen-main-servicios > .screen-section:nth-of-type(5) .wide-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(100%, 1220px);
  max-width: 1220px;
  margin-right: auto;
  margin-left: auto;
}

.page-instalaciones .screen-hero {
  min-height: 575px;
}

.page-instalaciones .hero-panel {
  background: rgba(255, 255, 255, .1);
}

.page-instalaciones .screen-main-instalaciones > .screen-section:nth-of-type(2),
.page-instalaciones .screen-main-instalaciones > .screen-section:nth-of-type(3) {
  background: #fff;
}

.page-instalaciones .mini-card,
.page-instalaciones .photo-card {
  box-shadow: 0 10px 26px rgba(12, 32, 52, .07);
}

.page-instalaciones .mini-card {
  border-top: 3px solid rgba(140, 203, 42, .55);
}

.page-instalaciones .photo-card .body {
  min-height: 205px;
}

.page-instalaciones .split-section {
  grid-template-columns: .72fr 1.28fr;
}

.page-instalaciones .dark-panel {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 22px;
  background: #fff;
  color: var(--ink);
  border: 1px solid #dce4ec;
}

.page-instalaciones .dark-panel .check-list li {
  color: var(--ink);
  border-color: #e3e9ef;
}

.page-adecuaciones .screen-hero {
  min-height: 610px;
  background:
    radial-gradient(circle at 70% 40%, rgba(30, 135, 200, .35), transparent 28%),
    linear-gradient(135deg, #001025, #001d39);
}

.page-adecuaciones .screen-hero::before {
  inset: 0 46% 0 0;
}

.page-adecuaciones .hero-panel,
.page-adecuaciones .dark-panel {
  border-color: rgba(140, 203, 42, .35);
}

.page-adecuaciones .screen-main-adecuaciones > .screen-section:nth-of-type(3) {
  color: #fff;
  background:
    linear-gradient(rgba(0, 16, 37, .88), rgba(0, 16, 37, .88)),
    url("assets/img/home-v2/services/servicio-adecuaciones.webp") center / cover;
}

.page-adecuaciones .screen-main-adecuaciones > .screen-section:nth-of-type(3) h2,
.page-adecuaciones .screen-main-adecuaciones > .screen-section:nth-of-type(3) .eyebrow {
  color: #fff;
}

.page-adecuaciones .screen-main-adecuaciones > .screen-section:nth-of-type(3) .photo-card {
  border-color: rgba(255, 255, 255, .18);
}

.page-adecuaciones .process-row article {
  transform: skewX(-1deg);
}

.page-adecuaciones .wide-grid {
  grid-template-columns: 1.15fr 1fr 1.15fr;
}

.page-mantenimiento .screen-hero {
  min-height: 570px;
}

.page-mantenimiento .hero-panel {
  max-width: 470px;
}

.page-mantenimiento .hero-panel ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.page-mantenimiento .hero-panel li {
  min-height: 78px;
  padding: 16px 14px 14px 42px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
}

.page-mantenimiento .screen-main-mantenimiento > .screen-section:nth-of-type(3) .split-section {
  grid-template-columns: .78fr 1.22fr;
}

.page-mantenimiento .screen-main-mantenimiento > .screen-section:nth-of-type(3) .dark-panel {
  background:
    linear-gradient(135deg, rgba(0, 16, 37, .96), rgba(0, 42, 80, .9)),
    repeating-linear-gradient(0deg, rgba(140, 203, 42, .12) 0 1px, transparent 1px 36px);
}

.page-mantenimiento .photo-card .card-icon {
  border: 2px solid rgba(140, 203, 42, .32);
}

.page-mantenimiento .process-row article {
  min-height: 205px;
}

.page-legalizaciones .screen-hero {
  min-height: 560px;
}

.page-legalizaciones .hero-panel,
.page-legalizaciones .dark-panel {
  background: linear-gradient(135deg, #071a2b, #0a2136);
}

.page-legalizaciones .screen-section.soft {
  background: #fff;
}

.page-legalizaciones .mini-card {
  box-shadow: none;
  border-color: #dce4ec;
}

.page-legalizaciones .mini-card img {
  width: 48px;
  height: 48px;
}

.page-legalizaciones .screen-main-legalizaciones > .screen-section:nth-of-type(3) .mini-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.page-legalizaciones .process-row article {
  background: rgba(255, 255, 255, .045);
}

.page-legalizaciones .split-section {
  align-items: stretch;
}

.page-proyectos .screen-hero {
  min-height: 610px;
}

.page-proyectos .hero-panel {
  display: none;
}

.page-proyectos .screen-hero-copy {
  max-width: 650px;
}

.page-proyectos .screen-main-proyectos > .projects .photo-grid {
  grid-template-columns: 1.25fr 1fr 1fr;
}

.page-proyectos .screen-main-proyectos > .projects .photo-card:first-child {
  grid-row: span 2;
}

.page-proyectos .screen-main-proyectos > .projects .photo-card:first-child .photo > img {
  height: 330px;
}

.real-works .section-intro {
  max-width: 760px;
}

.real-work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 34px;
}

.real-work-card {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  border: 1px solid rgba(73, 145, 190, .18);
  border-radius: 10px;
  background: #001829;
  box-shadow: 0 18px 45px rgba(0, 24, 41, .13);
}

.real-work-card:nth-child(1),
.real-work-card:nth-child(3) {
  grid-column: span 2;
}

.real-work-card img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  transition: transform 520ms ease;
}

.real-work-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 24, 41, 0) 38%, rgba(0, 24, 41, .88) 100%);
  content: "";
}

.real-work-card div {
  position: absolute;
  right: 22px;
  bottom: 22px;
  left: 22px;
  z-index: 1;
}

.real-work-card span {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 8px 12px;
  border: 1px solid rgba(154, 205, 31, .42);
  border-radius: 999px;
  background: rgba(0, 24, 41, .74);
  color: #9acd1f;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.real-work-card p {
  max-width: 520px;
  margin: 0;
  color: #f4f7fa;
  font-size: 16px;
  line-height: 1.55;
}

.real-work-card:hover img {
  transform: scale(1.045);
}

.page-proyectos .feature-banner {
  min-height: 320px;
}

.page-proyectos .screen-main-proyectos > .screen-section:nth-of-type(4) .mini-grid {
  grid-template-columns: repeat(3, 1fr);
}

.page-ecoluz .screen-hero {
  min-height: 600px;
}

.page-ecoluz .hero-panel {
  background: rgba(0, 16, 37, .72);
}

.page-ecoluz .screen-main-ecoluz > .screen-section:nth-of-type(2) .split-section {
  grid-template-columns: 1.05fr .95fr;
}

.page-ecoluz .screen-main-ecoluz > .screen-section:nth-of-type(2) .dark-panel {
  background: #fff;
  color: var(--ink);
  border: 1px solid #dce4ec;
}

.page-ecoluz .screen-main-ecoluz > .screen-section:nth-of-type(2) .dark-panel .check-list li {
  color: var(--ink);
  border-color: #e3e9ef;
}

.page-ecoluz .screen-main-ecoluz > .screen-section:nth-of-type(3) .photo-card {
  border-bottom: 3px solid rgba(30, 135, 200, .38);
}

.page-ecoluz .screen-main-ecoluz > .screen-section:nth-of-type(6) .mini-grid {
  grid-template-columns: repeat(3, 1fr);
}

.page-contacto .screen-hero {
  min-height: 525px;
}

.page-contacto .hero-panel {
  max-width: 450px;
  background: rgba(0, 16, 37, .9);
}

.page-contacto .screen-points {
  grid-template-columns: 1fr;
}

.page-contacto .screen-main-contacto > .screen-section:nth-of-type(2) {
  padding-bottom: 38px;
}

.page-contacto .screen-main-contacto > .screen-section:nth-of-type(2) .wide-grid {
  grid-template-columns: repeat(3, 1fr);
}

.page-contacto .screen-main-contacto > .screen-section:nth-of-type(2) .photo-card {
  overflow: visible;
}

.page-contacto .screen-main-contacto > .screen-section:nth-of-type(2) .photo-card .body {
  min-height: 300px;
  padding: 34px 32px 30px;
}

.page-contacto .screen-main-contacto > .screen-section:nth-of-type(2) .contact-method-card .body {
  display: flex;
  min-height: 410px;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.page-contacto .screen-main-contacto > .screen-section:nth-of-type(2) .photo-card .body > .card-icon {
  position: static;
  width: 58px;
  height: 58px;
  margin: 0 0 24px;
}

.page-contacto .screen-main-contacto > .screen-section:nth-of-type(2) .photo-card .body > .card-icon img {
  width: 34px;
  height: 34px;
}

.page-contacto .screen-main-contacto > .screen-section:nth-of-type(2) .contact-method-card .body > .contact-method-icon {
  width: clamp(132px, 38%, 178px);
  height: auto;
  aspect-ratio: 1;
  margin: 0 auto 32px;
  box-shadow: 0 24px 58px rgba(140, 203, 42, .28);
}

.page-contacto .screen-main-contacto > .screen-section:nth-of-type(2) .contact-method-card .body > .contact-method-icon img {
  width: 58%;
  height: 58%;
}

.page-contacto .screen-main-contacto > .screen-section:nth-of-type(2) .contact-method-icon--whatsapp {
  background: #25d366;
}

.page-contacto .screen-main-contacto > .screen-section:nth-of-type(2) .contact-method-icon--whatsapp img {
  width: 64%;
  height: 64%;
}

.page-contacto .screen-main-contacto > .screen-section:nth-of-type(2) .contact-method-card--document .contact-method-icon {
  background: var(--blue);
  box-shadow: 0 24px 58px rgba(30, 135, 200, .24);
}

.page-contacto .screen-main-contacto > .screen-section:nth-of-type(2) .contact-method-card h3,
.page-contacto .screen-main-contacto > .screen-section:nth-of-type(2) .contact-method-card p,
.page-contacto .screen-main-contacto > .screen-section:nth-of-type(2) .contact-method-card .card-link {
  align-self: center;
}

.page-contacto .screen-main-contacto > .screen-section:nth-of-type(2) .contact-method-card p {
  max-width: 430px;
}

.page-contacto .screen-main-contacto > .screen-section:nth-of-type(2) .whatsapp-contact-card {
  background: linear-gradient(180deg, #fff, #fbfdf8);
}

.page-contacto .screen-main-contacto > .screen-section:nth-of-type(4) {
  padding-top: 42px;
}

.page-contacto .screen-main-contacto > .screen-section:nth-of-type(3) .dark-panel {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.page-contacto .screen-main-contacto > .screen-section:nth-of-type(3) .dark-panel .check-list {
  margin: 8px 0 28px;
}

.page-contacto .screen-main-contacto > .screen-section:nth-of-type(3) .dark-panel .check-list li {
  padding-top: 13px;
  padding-bottom: 13px;
}

.page-contacto .screen-main-contacto > .screen-section:nth-of-type(3) .dark-panel .btn {
  align-self: flex-start;
  min-width: 260px;
}

.page-contacto .form-card {
  border-top: 4px solid var(--green);
}

.page-contacto .screen-form {
  grid-template-columns: .72fr 1.28fr;
}

@media (max-width: 1120px) {
  .page-servicios .screen-main-servicios > .screen-section:nth-of-type(2) .mini-grid,
  .page-proyectos .screen-main-proyectos > .projects .photo-grid,
  .page-contacto .screen-main-contacto > .screen-section:nth-of-type(2) .wide-grid,
  .page-ecoluz .screen-main-ecoluz > .screen-section:nth-of-type(6) .mini-grid,
  .page-proyectos .screen-main-proyectos > .screen-section:nth-of-type(4) .mini-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-proyectos .screen-main-proyectos > .projects .photo-card:first-child {
    grid-row: auto;
  }

  .page-proyectos .screen-main-proyectos > .projects .photo-card:first-child .photo > img {
    height: 150px;
  }

  .page-instalaciones .split-section,
  .page-mantenimiento .screen-main-mantenimiento > .screen-section:nth-of-type(3) .split-section,
  .page-contacto .screen-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .page-servicios .screen-main-servicios > .screen-section:nth-of-type(2) .mini-grid,
  .page-contacto .screen-main-contacto > .screen-section:nth-of-type(2) .wide-grid,
  .page-ecoluz .screen-main-ecoluz > .screen-section:nth-of-type(6) .mini-grid,
  .page-proyectos .screen-main-proyectos > .screen-section:nth-of-type(4) .mini-grid,
  .page-adecuaciones .wide-grid {
    grid-template-columns: 1fr;
  }

  .page-mantenimiento .hero-panel ul {
    grid-template-columns: 1fr;
  }

  .page-ecoluz .screen-main-ecoluz > .screen-section:nth-of-type(2) .split-section,
  .page-instalaciones .split-section,
  .page-mantenimiento .screen-main-mantenimiento > .screen-section:nth-of-type(3) .split-section,
  .page-contacto .screen-form {
    grid-template-columns: 1fr;
  }

  .page-instalaciones .dark-panel {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .screen-hero-media img,
  .photo-card .photo > img,
  .feature-banner > img,
  .process-row article::after {
    animation: none !important;
  }
}

.page-ecoluz-history {
  color: #f4f7fa;
  background:
    radial-gradient(circle at 72% 12%, rgba(45, 141, 255, .16), transparent 30%),
    linear-gradient(180deg, #001829 0%, #001b2f 48%, #021527 100%);
}

.page-ecoluz-history .history-shell {
  overflow: hidden;
  background:
    radial-gradient(circle at 7% 35%, rgba(45, 141, 255, .12), transparent 24%),
    #001829;
}

.page-ecoluz-history .site-header {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 10;
  border-bottom: 0;
  background: linear-gradient(180deg, rgba(0, 15, 29, .9), rgba(0, 15, 29, .15));
  box-shadow: none;
}

.page-ecoluz-history .site-header .main-nav a {
  color: rgba(244, 247, 250, .88);
}

.page-ecoluz-history .site-header .main-nav a.active {
  color: #fff;
}

.page-ecoluz-history .site-header .header-cta {
  color: #fff;
  border-color: rgba(154, 205, 31, .7);
  background: rgba(0, 24, 41, .45);
}

.history-main {
  background:
    linear-gradient(135deg, rgba(73, 145, 190, .08) 0 1px, transparent 1px 72px),
    #001829;
}

.history-main .btn.primary {
  color: #fff;
  background: linear-gradient(135deg, #9acd1f, #79b71e);
  box-shadow: 0 14px 34px rgba(154, 205, 31, .22);
}

.history-main .btn.ghost {
  color: #f4f7fa;
  border-color: rgba(184, 199, 212, .45);
  background: rgba(2, 28, 49, .54);
}

.js-enabled .page-ecoluz-history.motion-ready .history-hero .hero-anim {
  opacity: 1;
  transform: translateY(0);
  animation: none;
  transition:
    opacity 680ms ease,
    transform 680ms ease;
}

.js-enabled .page-ecoluz-history.motion-ready .history-hero .hero-media-anim {
  opacity: 1;
  transform: scale(1);
  animation: none;
  transition:
    opacity 900ms ease,
    transform 900ms ease;
}

.js-enabled .page-ecoluz-history .history-hero .history-hero-image.hero-media-anim {
  opacity: 0;
  transform: translateX(34px) scale(.985);
  animation: historyFounderHeroIn 900ms ease 160ms forwards;
}

.js-enabled .page-ecoluz-history .history-founder-portrait.reveal {
  opacity: 0;
  transform: translateX(34px);
  transition:
    opacity 760ms ease,
    transform 760ms ease;
}

.js-enabled .page-ecoluz-history .history-founder-portrait.reveal.is-visible {
  opacity: 1;
  transform: translateX(0);
}

@keyframes historyFounderHeroIn {
  from {
    opacity: 0;
    transform: translateX(34px) scale(.985);
  }

  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

.history-hero {
  position: relative;
  min-height: 690px;
  padding: 118px clamp(30px, 4.2vw, 74px) 92px;
  display: grid;
  align-items: center;
  isolation: isolate;
  background: #001829;
}

.history-hero::before,
.history-hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
}

.history-hero::before {
  background:
    linear-gradient(90deg, #001829 0%, rgba(0, 24, 41, .98) 23%, rgba(0, 35, 61, .9) 36%, rgba(0, 56, 88, .56) 48%, rgba(0, 24, 41, .16) 66%, rgba(0, 24, 41, .34) 100%),
    radial-gradient(ellipse at 36% 48%, rgba(45, 141, 255, .28), rgba(45, 141, 255, .12) 24%, transparent 48%),
    radial-gradient(circle at 17% 75%, rgba(45, 141, 255, .17), transparent 28%);
}

.history-hero::after {
  background:
    linear-gradient(90deg, #001829 0%, #001829 26%, rgba(0, 24, 41, .96) 34%, rgba(0, 24, 41, .78) 43%, rgba(0, 24, 41, .38) 55%, rgba(0, 24, 41, 0) 70%),
    linear-gradient(180deg, transparent 68%, #001829 100%);
}

.history-hero-image {
  position: absolute;
  inset: 0 0 0 auto;
  z-index: -2;
  width: min(76vw, 1550px);
  min-width: 980px;
  height: 100%;
  object-fit: contain;
  object-position: right center;
  animation: none;
}

.history-hero-copy {
  width: min(100%, 570px);
}

.history-breadcrumb {
  margin: 0 0 36px;
  color: #b8c7d4;
  font-size: 13px;
}

.history-breadcrumb span {
  display: inline-block;
  margin: 0 10px;
  color: #5aaeff;
}

.history-hero h1,
.history-copy h2,
.history-cta-copy h2 {
  margin: 0;
  color: #f4f7fa;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: 0;
}

.history-hero h1 {
  max-width: 720px;
  font-size: clamp(52px, 6vw, 78px);
  line-height: .96;
}

.history-hero h1 span,
.history-copy h2 span,
.history-cta-copy h2 span {
  color: #9acd1f;
}

.history-subtitle {
  margin: 32px 0 22px;
  color: #2d8dff;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: .08em;
}

.history-intro {
  max-width: 475px;
  margin: 0;
  color: #d7e1ea;
  font-size: 17px;
  line-height: 1.72;
}

.history-signature {
  display: flex;
  gap: 22px;
  align-items: center;
  margin-top: 42px;
}

.history-signature-line {
  min-width: 118px;
  color: #f4f7fa;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 58px;
  font-style: italic;
  line-height: 1;
  opacity: .86;
}

.history-signature strong,
.history-author strong {
  display: block;
  color: #9acd1f;
  font-size: 18px;
}

.history-signature span:not(.history-signature-line),
.history-author span {
  color: #b8c7d4;
  font-size: 14px;
}

.history-quote,
.history-section,
.history-final-cta {
  width: min(calc(100% - 60px), 1320px);
  margin-right: auto;
  margin-left: auto;
}

.history-quote {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr minmax(210px, .32fr);
  gap: 28px;
  align-items: center;
  margin-top: -58px;
  padding: 34px 48px;
  border: 1px solid rgba(73, 145, 190, .35);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(2, 28, 49, .92), rgba(0, 40, 72, .78));
  box-shadow: 0 28px 80px rgba(0, 0, 0, .28);
}

.history-quote-mark {
  color: #9acd1f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 74px;
  line-height: .7;
}

.history-quote p {
  margin: 0;
  color: #f4f7fa;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(20px, 2vw, 27px);
  font-style: italic;
  line-height: 1.42;
}

.history-author {
  padding-left: 34px;
  border-left: 1px solid rgba(184, 199, 212, .38);
}

.history-section {
  padding: 64px 0;
  border-bottom: 1px solid rgba(73, 145, 190, .18);
}

.history-grid {
  display: grid;
  grid-template-columns: minmax(0, .98fr) minmax(0, 1.02fr);
  gap: clamp(44px, 7vw, 92px);
  align-items: center;
}

.history-grid--work {
  grid-template-columns: minmax(0, 1.18fr) minmax(360px, .82fr);
  gap: clamp(38px, 5vw, 68px);
}

.history-image-card {
  min-height: 370px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(73, 145, 190, .22);
  border-radius: 20px;
  background: rgba(2, 28, 49, .86);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .28);
}

.history-image-card img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 370px;
  object-fit: cover;
  animation: none;
}

.history-copy {
  max-width: 610px;
}

.history-copy--wide {
  max-width: none;
}

.history-eyebrow {
  display: flex;
  gap: 14px;
  align-items: center;
  margin: 0 0 18px;
  color: #7f95a8;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.history-eyebrow span {
  width: 28px;
  height: 3px;
  background: #9acd1f;
}

.history-copy h2 {
  margin-bottom: 26px;
  font-size: clamp(36px, 4vw, 55px);
  line-height: 1.02;
}

.history-copy p {
  margin: 0 0 18px;
  color: #b8c7d4;
  font-size: 16px;
  line-height: 1.7;
}

.history-copy .history-strong {
  margin-top: 28px;
  color: #f4f7fa;
  font-weight: 800;
}

.history-location {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
  gap: clamp(44px, 6vw, 86px);
  align-items: center;
  padding: 72px clamp(28px, 4vw, 56px);
  border: 1px solid rgba(73, 145, 190, .22);
  border-radius: 24px;
  background:
    radial-gradient(circle at 82% 25%, rgba(154, 205, 31, .14), transparent 28%),
    radial-gradient(circle at 25% 78%, rgba(45, 141, 255, .16), transparent 32%),
    linear-gradient(135deg, rgba(0, 32, 58, .96), rgba(0, 24, 41, .98));
  box-shadow: 0 28px 80px rgba(0, 0, 0, .22);
}

.history-location-copy {
  max-width: 620px;
}

.history-location-address {
  display: grid;
  gap: 8px;
  margin: 32px 0 26px;
  padding: 20px 22px;
  border: 1px solid rgba(154, 205, 31, .28);
  border-radius: 18px;
  background: rgba(0, 24, 41, .58);
}

.history-location-address span {
  color: #9acd1f;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.history-location-address strong {
  color: #f4f7fa;
  font-size: 18px;
}

.history-location-button {
  width: fit-content;
}

.history-location-button .icon-inline {
  filter: brightness(0) invert(1);
}

.history-map-card {
  position: relative;
  display: block;
  min-height: 390px;
  overflow: hidden;
  border: 1px solid rgba(73, 145, 190, .28);
  border-radius: 24px;
  background:
    radial-gradient(circle at 18% 24%, rgba(187, 223, 169, .9), transparent 18%),
    radial-gradient(circle at 80% 22%, rgba(180, 216, 246, .9), transparent 24%),
    radial-gradient(circle at 74% 78%, rgba(211, 232, 196, .88), transparent 22%),
    linear-gradient(135deg, #e9f1e5 0%, #dceaf6 48%, #edf3e4 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 24px 70px rgba(0, 0, 0, .26);
  color: inherit;
  text-decoration: none;
  isolation: isolate;
  transition:
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}

.history-map-card:hover,
.history-map-card:focus-visible {
  border-color: rgba(154, 205, 31, .62);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 30px 86px rgba(154, 205, 31, .18);
  transform: translateY(-3px);
}

.history-map-card::before,
.history-map-card::after,
.history-map-grid,
.history-map-route {
  position: absolute;
  inset: 0;
  content: "";
}

.history-map-card::before {
  background:
    linear-gradient(32deg, transparent 13%, rgba(255, 255, 255, .92) 13.4%, rgba(255, 255, 255, .92) 16.2%, transparent 16.6%),
    linear-gradient(-18deg, transparent 34%, rgba(255, 255, 255, .92) 34.4%, rgba(255, 255, 255, .92) 37.8%, transparent 38.2%),
    linear-gradient(82deg, transparent 54%, rgba(255, 255, 255, .86) 54.4%, rgba(255, 255, 255, .86) 56.8%, transparent 57.2%),
    linear-gradient(-58deg, transparent 66%, rgba(255, 255, 255, .78) 66.4%, rgba(255, 255, 255, .78) 68.4%, transparent 68.8%);
  z-index: -1;
}

.history-map-card::after {
  inset: auto 0 0;
  height: 34%;
  background: linear-gradient(180deg, transparent, rgba(0, 24, 41, .18));
  z-index: 1;
}

.history-map-grid {
  opacity: .42;
  background-image:
    linear-gradient(rgba(108, 137, 150, .24) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108, 137, 150, .2) 1px, transparent 1px);
  background-size: 72px 72px;
  transform: rotate(-6deg) scale(1.16);
}

.history-map-route {
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, #f7d767 12%, #f7d767 86%, transparent);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .72);
  transform-origin: left center;
  opacity: .9;
}

.history-map-route--one {
  top: 31%;
  transform: rotate(-19deg) scaleX(1.22);
}

.history-map-route--two {
  top: 68%;
  transform: rotate(12deg) scaleX(1.18);
}

.history-map-route--three {
  top: 50%;
  height: 8px;
  background: linear-gradient(90deg, transparent, #ffffff 10%, #ffffff 88%, transparent);
  transform: rotate(-5deg) scaleX(1.12);
  opacity: .86;
}

.history-map-marker {
  position: absolute;
  top: 50%;
  left: 52%;
  z-index: 2;
  display: grid;
  width: 96px;
  height: 96px;
  place-items: center;
  border: 1px solid rgba(154, 205, 31, .34);
  border-radius: 999px;
  background: #9acd1f;
  box-shadow: 0 0 0 18px rgba(154, 205, 31, .18), 0 28px 60px rgba(0, 24, 41, .2);
  transform: translate(-50%, -50%);
}

.history-map-marker img {
  width: 44px;
  height: 44px;
  filter: brightness(0) invert(1);
}

.history-map-label {
  position: absolute;
  right: 30px;
  bottom: 30px;
  z-index: 2;
  min-width: 260px;
  padding: 22px 24px;
  border: 1px solid rgba(73, 145, 190, .3);
  border-radius: 18px;
  background: rgba(0, 24, 41, .9);
  backdrop-filter: blur(12px);
}

.history-map-label span,
.history-map-chip {
  color: #b8c7d4;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.history-map-label strong {
  display: block;
  margin-top: 8px;
  color: #f4f7fa;
  font-size: 30px;
  line-height: 1;
}

.history-map-chip {
  position: absolute;
  top: 28px;
  left: 28px;
  z-index: 2;
  padding: 10px 14px;
  border: 1px solid rgba(154, 205, 31, .46);
  border-radius: 999px;
  background: rgba(0, 24, 41, .84);
  color: #9acd1f;
}

.history-values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 42px;
}

.history-values article {
  display: flex;
  min-height: 285px;
  flex-direction: column;
  align-items: center;
  padding: 0 20px;
  text-align: center;
  border-left: 1px solid rgba(73, 145, 190, .28);
}

.history-values article:first-child {
  padding-left: 20px;
  border-left: 0;
}

.history-values img {
  display: block;
  width: 72px;
  height: 72px;
  margin: 0 auto 22px;
  padding: 12px;
  object-fit: cover;
  border: 1px solid rgba(154, 205, 31, .28);
  border-radius: 16px;
  background: transparent;
  filter: drop-shadow(0 14px 28px rgba(154, 205, 31, .13));
}

.history-values h3,
.history-benefits h3 {
  margin: 0 0 10px;
  color: #f4f7fa;
  font-size: 16px;
}

.history-values h3 {
  width: 100%;
}

.history-values p,
.history-benefits p {
  margin: 0;
  color: #b8c7d4;
  font-size: 13px;
  line-height: 1.55;
}

.history-values p {
  max-width: 205px;
  margin-right: auto;
  margin-left: auto;
}

.history-quote--founder {
  grid-template-columns: 64px minmax(0, 1fr) 360px;
  gap: 34px;
  margin-top: 48px;
  margin-bottom: 76px;
  min-height: 370px;
  overflow: hidden;
  padding: 54px 400px 56px 56px;
  border-radius: 24px;
  border-right: 1px solid rgba(73, 145, 190, .35);
  border-left: 1px solid rgba(73, 145, 190, .35);
  background:
    radial-gradient(circle at 82% 42%, rgba(45, 141, 255, .32), transparent 28%),
    linear-gradient(90deg, rgba(0, 32, 58, .98) 0%, rgba(0, 32, 58, .94) 52%, rgba(0, 47, 82, .74) 72%, rgba(0, 32, 58, .42) 100%),
    #00203a;
}

.history-quote--founder::before,
.history-quote--founder::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
}

.history-quote--founder::before {
  z-index: 1;
  background:
    linear-gradient(90deg, transparent 0 56%, rgba(0, 24, 41, .68) 70%, rgba(0, 24, 41, .08) 100%),
    linear-gradient(180deg, rgba(0, 24, 41, .15), rgba(0, 24, 41, .72));
}

.history-quote--founder::after {
  z-index: 0;
  background: radial-gradient(circle at 30% 18%, rgba(154, 205, 31, .12), transparent 22%);
}

.history-quote--founder .history-quote-mark,
.history-quote--founder p,
.history-quote--founder .history-author {
  position: relative;
  z-index: 2;
}

.history-quote--founder p {
  max-width: 720px;
  font-size: clamp(23px, 2.35vw, 34px);
  line-height: 1.34;
}

.history-quote--founder .history-founder-portrait {
  position: absolute;
  z-index: 1;
  right: 32px;
  bottom: 0;
  width: 390px;
  height: 100%;
  object-fit: contain;
  object-position: right bottom;
}

.history-quote--founder .history-author {
  grid-column: 2;
  width: fit-content;
  min-width: 270px;
  min-height: 0;
  margin-right: 0;
  margin-top: 20px;
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgba(73, 145, 190, .28);
  border-left: 1px solid rgba(184, 199, 212, .38);
  border-radius: 14px;
  background: rgba(0, 24, 41, .72);
  backdrop-filter: blur(8px);
}

.history-final-cta {
  display: grid;
  grid-template-columns: minmax(300px, .85fr) 1.5fr;
  gap: 54px;
  align-items: center;
  padding: 54px 0 58px;
  border-top: 1px solid rgba(73, 145, 190, .28);
}

.history-cta-copy h2 {
  font-size: clamp(44px, 5.2vw, 68px);
  line-height: .95;
}

.history-cta-copy p {
  max-width: 420px;
  margin: 18px 0 24px;
  color: #c9d6e1;
  font-size: 16px;
  line-height: 1.55;
}

.history-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.history-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.history-benefits article {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 20px;
  align-items: start;
  padding: 0 26px;
  border-left: 1px solid rgba(73, 145, 190, .32);
}

.history-benefits img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

@media (max-width: 1120px) {
  .page-ecoluz-history .site-header {
    position: relative;
    background: #001829;
  }

  .history-hero {
    min-height: 640px;
    padding-top: 84px;
  }

  .history-grid,
  .history-grid--work,
  .history-final-cta,
  .history-location {
    grid-template-columns: 1fr;
  }

  .history-values,
  .history-benefits {
    grid-template-columns: repeat(2, 1fr);
  }

  .history-quote {
    grid-template-columns: auto 1fr;
  }

  .history-author {
    grid-column: 2;
  }

  .history-quote--founder .history-author {
    margin-right: 0;
  }

  .history-quote--founder {
    grid-template-columns: auto 1fr;
    min-height: 340px;
    padding-right: 48px;
  }

  .history-quote--founder .history-founder-portrait {
    right: 0;
    width: 300px;
    opacity: .22;
  }
}

@media (max-width: 720px) {
  .history-quote,
  .history-section,
  .history-final-cta {
    width: min(calc(100% - 36px), 1320px);
  }

  .history-hero {
    min-height: 600px;
    padding: 56px 22px 72px;
  }

  .history-hero::before {
    background: linear-gradient(180deg, rgba(0, 24, 41, .94), rgba(0, 24, 41, .78));
  }

  .history-hero-image {
    inset: 0;
    width: 100%;
    min-width: 0;
    opacity: .46;
    object-fit: cover;
    object-position: 65% center;
  }

  .history-hero h1 {
    font-size: clamp(40px, 11vw, 48px);
  }

  .history-subtitle {
    font-size: 15px;
  }

  .history-intro {
    font-size: 15px;
  }

  .history-signature-line {
    min-width: 86px;
    font-size: 42px;
  }

  .history-quote {
    grid-template-columns: 1fr;
    margin-top: -34px;
    padding: 28px 24px;
  }

  .history-quote-mark {
    font-size: 54px;
  }

  .history-quote p {
    font-size: 20px;
  }

  .history-author {
    grid-column: auto;
    padding-left: 18px;
  }

  .history-section {
    padding: 42px 0;
  }

  .history-location {
    padding: 34px 22px;
  }

  .history-location-button {
    width: 100%;
    justify-content: center;
  }

  .history-map-card {
    min-height: 320px;
    border-radius: 18px;
  }

  .history-map-marker {
    width: 76px;
    height: 76px;
  }

  .history-map-marker img {
    width: 34px;
    height: 34px;
  }

  .history-map-label {
    right: 18px;
    bottom: 18px;
    left: 18px;
    min-width: 0;
  }

  .history-map-chip {
    top: 18px;
    left: 18px;
    max-width: calc(100% - 36px);
  }

  .history-image-card,
  .history-image-card img {
    min-height: 260px;
  }

  .history-copy h2 {
    font-size: clamp(34px, 9vw, 42px);
  }

  .history-values,
  .history-benefits {
    grid-template-columns: 1fr;
  }

  .history-values article,
  .history-benefits article {
    padding: 22px 0;
    border-top: 1px solid rgba(73, 145, 190, .28);
    border-left: 0;
  }

  .history-values article:first-child {
    border-top: 0;
  }

  .history-quote--founder .history-founder-portrait {
    display: none;
  }

  .history-quote--founder {
    min-height: auto;
    padding-right: 24px;
  }

  .history-final-cta {
    gap: 34px;
    padding-bottom: 48px;
  }
}

.js-enabled .page-ecoluz-history.motion-ready .history-hero .history-hero-image.hero-media-anim {
  opacity: 1;
  transform: translateX(0) scale(1);
  animation: historyFounderHeroIn 900ms ease 160ms both;
}

.page-ecoluz-history .footer {
  margin-top: 0;
  border-top: 1px solid rgba(73, 145, 190, .28);
}

.page-ecoluz-history .screen-cta {
  margin-top: 0;
  padding-top: 70px;
  border-top: 1px solid rgba(73, 145, 190, .28);
}

@media (max-width: 1120px) {
  .history-quote--founder {
    grid-template-columns: auto 1fr;
    padding-right: 48px;
  }

  .history-quote--founder .history-founder-portrait {
    width: 300px;
  }
}

@media (max-width: 720px) {
  .history-quote--founder {
    padding-right: 24px;
  }
}

.page-ecoluz-history .history-quote--founder {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) minmax(280px, 330px);
  gap: 28px;
  align-items: center;
  min-height: 0;
  margin-top: 42px;
  margin-bottom: 44px;
  padding: 34px 38px;
  overflow: hidden;
  border: 1px solid rgba(73, 145, 190, .34);
  border-radius: 22px;
  background:
    radial-gradient(circle at 83% 30%, rgba(45, 141, 255, .24), transparent 26%),
    radial-gradient(circle at 18% 12%, rgba(154, 205, 31, .1), transparent 22%),
    linear-gradient(135deg, rgba(2, 28, 49, .96), rgba(0, 37, 66, .86));
}

.page-ecoluz-history .history-quote--founder::before {
  z-index: 1;
  background:
    linear-gradient(90deg, transparent 0 58%, rgba(0, 24, 41, .28) 72%, rgba(0, 24, 41, 0) 100%),
    linear-gradient(180deg, rgba(0, 24, 41, 0), rgba(0, 24, 41, .28));
}

.page-ecoluz-history .history-quote--founder::after {
  display: none;
}

.page-ecoluz-history .history-quote--founder .history-quote-mark {
  align-self: start;
  margin-top: 8px;
  font-size: 58px;
  line-height: 1;
}

.page-ecoluz-history .history-quote--founder p {
  max-width: 720px;
  font-size: clamp(20px, 1.75vw, 26px);
  line-height: 1.4;
}

.page-ecoluz-history .history-quote--founder .history-author {
  grid-column: 2;
  justify-self: start;
  width: auto;
  min-width: 250px;
  margin-top: 18px;
  padding: 16px 20px;
  border-radius: 12px;
  background: rgba(0, 24, 41, .56);
}

.page-ecoluz-history .history-quote--founder .history-founder-portrait {
  position: relative;
  right: auto;
  bottom: auto;
  z-index: 2;
  grid-column: 3;
  grid-row: 1 / span 2;
  width: 100%;
  height: 230px;
  object-fit: cover;
  object-position: 58% 36%;
  border: 1px solid rgba(73, 145, 190, .3);
  border-radius: 18px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, .28);
}

.page-ecoluz-history .screen-cta {
  margin-top: 44px;
  padding-top: 54px;
}

@media (max-width: 1120px) {
  .page-ecoluz-history .history-quote--founder {
    grid-template-columns: 46px minmax(0, 1fr);
    padding: 34px;
  }

  .page-ecoluz-history .history-quote--founder .history-founder-portrait {
    grid-column: 2;
    grid-row: auto;
    max-width: 360px;
    height: 220px;
    opacity: 1;
  }
}

@media (max-width: 720px) {
  .page-ecoluz-history .history-quote--founder {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 34px;
    margin-bottom: 40px;
    padding: 26px;
  }

  .page-ecoluz-history .history-quote--founder .history-quote-mark,
  .page-ecoluz-history .history-quote--founder .history-author,
  .page-ecoluz-history .history-quote--founder .history-founder-portrait {
    grid-column: auto;
  }

  .page-ecoluz-history .history-quote--founder .history-founder-portrait {
    display: block;
    max-width: none;
    height: 210px;
  }
}
