/* Raleway alojada en la propia web (assets/fonts): sin conexión a Google Fonts (privacidad, 2026-09-07). */
@font-face {
  font-family: "Raleway";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("assets/fonts/raleway-latin.woff2?v=b1bef1f03a") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Defensa legal: los ámbitos se presentan como una familia principal. */
.defense-decisions-live .defense-decision-item h3 {
  text-transform: uppercase;
}
@font-face {
  font-family: "Raleway";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("assets/fonts/raleway-latin-ext.woff2?v=2d603982ca") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}


:root {
  --wine: #702c36;
  --wine-dark: #4f1d27;
  --graphite: #2b2b2b;
  --gray: #616160;
  --line: #e1e1e1;
  --paper: #ffffff;
  --soft: #f6f6f4;
  --surface-content: var(--paper);
  --surface-page: var(--soft);
  --text-editorial: #231f20;
  --border-editorial: rgba(35, 31, 32, 0.24);
  --page-gutter: clamp(22px, 6vw, 84px);
  --mist: #eef3f1;
  --teal: #195b5b;
  --brand-gradient: linear-gradient(120deg, rgba(112, 44, 54, 0.1), rgba(25, 91, 91, 0.1));
  --shadow: 0 18px 50px rgba(43, 43, 43, 0.12);
  --radius: 6px;
  --font-display: Raleway, "Segoe UI", Arial, sans-serif;
  --font-body: Raleway, "Segoe UI", Arial, sans-serif;
  --tree-wash-image: none;
  color: var(--graphite);
  background: var(--paper);
}

@media (max-width: 620px) {
  :root { --page-gutter: 22px; }
}

@media (max-width: 600px) {
  .eir-benefit-card:nth-child(n) {
    clip-path: none;
  }

  .eir-benefits-isotype {
    position: static;
    justify-self: center;
    width: 48px;
    margin: 2px 0;
    transform: none;
  }
}

/* GUIEX: ajustes finales de la web. */
body.home-page .solar-core-mark {
  background: url("assets/guiex-icon-arboles.png?v=58b8ac37df") center / contain no-repeat;
  -webkit-mask: none;
  mask: none;
}

.site-footer,
.site-footer .footer-brand p,
.site-footer .footer-block,
.site-footer .footer-block a,
.site-footer .footer-block span,
.site-footer .footer-bottom {
  font-family: "Segoe UI", "Aptos", Raleway, Arial, sans-serif;
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1, "tnum" 1;
}

.site-footer .footer-block h2 {
  font-family: Raleway, "Segoe UI", Arial, sans-serif;
}

body.defense-page-redesign .solution-visual-media.solution-profile-media img {
  filter: saturate(0.76) contrast(0.95) brightness(0.96) drop-shadow(0 22px 28px rgba(35, 31, 32, 0.14));
  opacity: 0.92;
}

body.defense-page-redesign .solution-visual-story:hover .solution-visual-media.solution-profile-media img {
  filter: saturate(0.82) contrast(0.98) brightness(0.98) drop-shadow(0 26px 32px rgba(112, 44, 54, 0.18));
  transform: translateY(-2px) scale(1.01);
}

body.defense-page-redesign .solution-visual-copy p + p,
body.process-page .hand-feature-copy p + p,
body.process-page .solution-visual-copy p + p,
body.process-page .process-interactive-intro p + p,
body.eir-page .solution-visual-copy p + p,
body.eir-page .eir-process-intro p + p {
  margin-top: 14px;
}

.defense-risk-compliance {
  padding: clamp(56px, 7vw, 98px) clamp(22px, 7vw, 96px);
  background: linear-gradient(135deg, #f6f1ec 0%, #eef1ee 100%);
}

.defense-risk-compliance-inner,
.eir-workflow-inner {
  width: min(100%, 1240px);
  margin-inline: auto;
}

.defense-risk-compliance-inner {
  display: grid;
  gap: clamp(26px, 4vw, 48px);
}

.defense-risk-compliance-heading,
.eir-workflow-header {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(320px, 1.08fr);
  gap: clamp(24px, 6vw, 72px);
  align-items: end;
}

.defense-risk-compliance-heading h2,
.eir-workflow-header h2 {
  margin: 0;
  color: var(--wine);
  font-size: clamp(2.3rem, 4.6vw, 5rem);
  line-height: 0.92;
  text-transform: uppercase;
  text-wrap: balance;
}

.defense-risk-compliance-heading p,
.eir-workflow-header p {
  margin: 0;
  color: rgba(35, 31, 32, 0.74);
  font-size: clamp(1rem, 1.28vw, 1.16rem);
  line-height: 1.65;
}

.defense-risk-compliance-grid,
.eir-workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.defense-risk-card,
.eir-workflow-card {
  padding: clamp(22px, 2.8vw, 34px);
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(112, 44, 54, 0.12);
  box-shadow: 0 18px 42px rgba(79, 29, 39, 0.08);
}

.defense-risk-card span,
.eir-workflow-card span {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--wine);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.defense-risk-card h3,
.eir-workflow-card h3 {
  margin: 0 0 10px;
  color: #231f20;
  font-size: clamp(1.1rem, 1.9vw, 1.5rem);
  line-height: 1.08;
  text-transform: uppercase;
}

.defense-risk-card p,
.eir-workflow-card p {
  margin: 0;
  color: rgba(35, 31, 32, 0.72);
  line-height: 1.55;
}

.eir-workflow-strip {
  padding: 0 clamp(24px, 7vw, 104px) clamp(56px, 7vw, 96px);
  background: #f3f1ed;
}

.eir-workflow-inner {
  padding: clamp(28px, 4vw, 46px);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(112, 44, 54, 0.12);
  box-shadow: 0 22px 56px rgba(79, 29, 39, 0.09);
}

body.eir-page .eir-process-flow {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

body.eir-page .eir-process-step h3 {
  max-width: 11ch;
}

body.process-page .process-interactive-panel p + p {
  margin-top: 10px;
}

body.process-page .process-interactive-panel p {
  max-width: 58ch;
}

@media (max-width: 980px) {
  .defense-risk-compliance-heading,
  .eir-workflow-header {
    grid-template-columns: 1fr;
  }

  .defense-risk-compliance-grid,
  .eir-workflow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .defense-risk-compliance-grid,
  .eir-workflow-grid {
    grid-template-columns: 1fr;
  }
}

/* GUIEX: ajustes finales de la web. */
body.home-page .solar-core-mark {
  background: url("assets/guiex-icon-arboles.png?v=58b8ac37df") center / contain no-repeat;
  -webkit-mask: none;
  mask: none;
}

.site-footer,
.site-footer .footer-brand p,
.site-footer .footer-block,
.site-footer .footer-block a,
.site-footer .footer-block span,
.site-footer .footer-bottom {
  font-family: "Segoe UI", "Aptos", Raleway, Arial, sans-serif;
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1, "tnum" 1;
}

.site-footer .footer-block h2 {
  font-family: Raleway, "Segoe UI", Arial, sans-serif;
}

body.defense-page-redesign .solution-visual-media.solution-profile-media img {
  filter: saturate(0.76) contrast(0.95) brightness(0.96) drop-shadow(0 22px 28px rgba(35, 31, 32, 0.14));
  opacity: 0.92;
}

body.defense-page-redesign .solution-visual-story:hover .solution-visual-media.solution-profile-media img {
  filter: saturate(0.82) contrast(0.98) brightness(0.98) drop-shadow(0 26px 32px rgba(112, 44, 54, 0.18));
  transform: translateY(-2px) scale(1.01);
}

body.defense-page-redesign .solution-visual-copy p + p,
body.process-page .hand-feature-copy p + p,
body.process-page .solution-visual-copy p + p,
body.process-page .process-interactive-intro p + p,
body.eir-page .solution-visual-copy p + p,
body.eir-page .eir-process-intro p + p {
  margin-top: 14px;
}

.defense-risk-compliance {
  padding: clamp(56px, 7vw, 98px) clamp(22px, 7vw, 96px);
  background: linear-gradient(135deg, #f6f1ec 0%, #eef1ee 100%);
}

.defense-risk-compliance-inner,
.eir-workflow-inner {
  width: min(100%, 1240px);
  margin-inline: auto;
}

.defense-risk-compliance-inner {
  display: grid;
  gap: clamp(26px, 4vw, 48px);
}

.defense-risk-compliance-heading,
.eir-workflow-header {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(320px, 1.08fr);
  gap: clamp(24px, 6vw, 72px);
  align-items: end;
}

.defense-risk-compliance-heading h2,
.eir-workflow-header h2 {
  margin: 0;
  color: var(--wine);
  font-size: clamp(2.3rem, 4.6vw, 5rem);
  line-height: 0.92;
  text-transform: uppercase;
  text-wrap: balance;
}

.defense-risk-compliance-heading p,
.eir-workflow-header p {
  margin: 0;
  color: rgba(35, 31, 32, 0.74);
  font-size: clamp(1rem, 1.28vw, 1.16rem);
  line-height: 1.65;
}

.defense-risk-compliance-grid,
.eir-workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.defense-risk-card,
.eir-workflow-card {
  padding: clamp(22px, 2.8vw, 34px);
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(112, 44, 54, 0.12);
  box-shadow: 0 18px 42px rgba(79, 29, 39, 0.08);
}

.defense-risk-card span,
.eir-workflow-card span {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--wine);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.defense-risk-card h3,
.eir-workflow-card h3 {
  margin: 0 0 10px;
  color: #231f20;
  font-size: clamp(1.1rem, 1.9vw, 1.5rem);
  line-height: 1.08;
  text-transform: uppercase;
}

.defense-risk-card p,
.eir-workflow-card p {
  margin: 0;
  color: rgba(35, 31, 32, 0.72);
  line-height: 1.55;
}

.eir-workflow-strip {
  padding: 0 clamp(24px, 7vw, 104px) clamp(56px, 7vw, 96px);
  background: #f3f1ed;
}

.eir-workflow-inner {
  padding: clamp(28px, 4vw, 46px);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(112, 44, 54, 0.12);
  box-shadow: 0 22px 56px rgba(79, 29, 39, 0.09);
}

body.eir-page .eir-process-flow {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

body.eir-page .eir-process-step h3 {
  max-width: 11ch;
}

body.process-page .process-interactive-panel p + p {
  margin-top: 10px;
}

body.process-page .process-interactive-panel p {
  max-width: 58ch;
}

@media (max-width: 980px) {
  .defense-risk-compliance-heading,
  .eir-workflow-header {
    grid-template-columns: 1fr;
  }

  .defense-risk-compliance-grid,
  .eir-workflow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .defense-risk-compliance-grid,
  .eir-workflow-grid {
    grid-template-columns: 1fr;
  }
}

/* Ajustes de Soluciones y EIR · agosto 2026 */
.solution-overview-grid .solution-tile > div {
  min-width: 0;
  padding: clamp(20px, 2.1vw, 28px);
}

.solution-overview-grid .solution-tile h3 {
  max-width: 100%;
  font-size: clamp(1.45rem, 2vw, 2.25rem);
  line-height: 1.02;
  overflow-wrap: break-word;
  hyphens: auto;
}

.solution-overview-grid .solution-tile span {
  max-width: 100%;
  font-size: clamp(0.88rem, 1vw, 1rem);
  overflow-wrap: anywhere;
}

.consulting-query-button {
  margin-top: 18px;
}

body.eir-page .eir-benefit-card {
  min-height: 198px;
  padding: clamp(22px, 2.3vw, 32px);
}

body.eir-page .eir-benefit-card > span {
  margin-bottom: clamp(16px, 2vw, 24px);
}

body.eir-page .eir-benefit-card h3 {
  margin-bottom: 10px;
  font-size: clamp(1.3rem, 1.75vw, 1.9rem);
}

body.eir-page .eir-benefit-card p {
  font-size: 0.92rem;
  line-height: 1.45;
}

.eir-benefits-cta {
  position: relative;
  z-index: 2;
  grid-column: 2;
  display: grid;
  min-height: 64px;
  margin-top: 18px;
  padding: 16px 24px;
  place-items: center;
  color: #fff;
  background: var(--wine);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-align: center;
  text-decoration: none;
  transition: background 180ms ease, transform 180ms ease;
}

.eir-benefits-cta:hover {
  color: #fff;
  background: #4f1d27;
  transform: translateY(-2px);
}

.service-carousel-section.solution-switcher-section {
  padding: clamp(58px, 7vw, 96px) clamp(24px, 6vw, 92px);
  background:
    radial-gradient(circle at 84% 12%, rgba(112, 44, 54, 0.17), transparent 30%),
    linear-gradient(145deg, #f7f2ee 0%, #e9e2de 100%);
}

.solution-switcher-section .service-carousel-header {
  width: min(100%, 1240px);
  margin: 0 auto 22px;
}

.solution-switcher-section .service-carousel-header .eyebrow {
  color: var(--wine);
}

.solution-switcher-section .service-carousel {
  width: min(100%, 1240px);
  min-height: 0;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 2.15fr) repeat(3, minmax(145px, 0.62fr));
  gap: 12px;
  align-items: stretch;
}

.solution-switcher-section .service-slide,
.solution-switcher-section .service-slide.is-active {
  inset: auto;
  width: auto;
  height: auto;
  min-height: 390px;
  aspect-ratio: auto;
  border: 0;
  border-radius: 0;
  transform: none;
  box-shadow: none;
}

.solution-switcher-section .service-slide:not(.is-active) {
  min-height: 390px;
  border: 1px solid rgba(112, 44, 54, 0.2);
}

.solution-switcher-section .service-slide:not(.is-active):hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 42px rgba(79, 29, 39, 0.13);
}

.solution-switcher-section .service-slide.is-active {
  cursor: default;
  box-shadow: 0 24px 56px rgba(79, 29, 39, 0.18);
}

.solution-switcher-section .service-slide-copy,
.solution-switcher-section .service-slide.is-active .service-slide-copy {
  position: absolute;
  inset: auto 22px 24px;
  width: auto;
  padding: 0;
  justify-items: start;
  align-content: end;
  text-align: left;
}

.solution-switcher-section .service-slide:not(.is-active) .service-slide-copy span {
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}

.solution-switcher-section .service-slide:not(.is-active) .service-slide-copy h2 {
  display: block;
  margin: 0;
  color: #fff;
  font-size: clamp(1rem, 1.3vw, 1.35rem);
  line-height: 1.05;
  text-transform: none;
  text-wrap: balance;
}

.solution-switcher-section .service-slide:not(.is-active) .service-orb-link {
  position: absolute;
  inset: -24px -22px;
  z-index: 5;
  display: block;
  width: auto;
  height: auto;
}

.solution-switcher-section .service-slide.is-active .service-slide-copy {
  inset: auto clamp(28px, 4vw, 56px) clamp(28px, 4vw, 50px);
}

.solution-switcher-section .service-slide.is-active .service-slide-copy h2 {
  max-width: 430px;
  font-size: clamp(2rem, 3.4vw, 3.8rem);
  text-transform: none;
}

.solution-switcher-section .service-slide.is-active .service-slide-copy p {
  display: block;
  max-width: 52ch;
  margin-bottom: 18px;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* El selector de soluciones sustituye al carrusel antiguo también en Defensa Legal. */
.defense-page-redesign main > .service-carousel-section.solution-switcher-section {
  display: grid;
}

@media (max-width: 980px) {
  .solution-switcher-section .service-carousel {
    grid-template-columns: minmax(0, 1.8fr) repeat(3, minmax(110px, 0.55fr));
  }

  .solution-switcher-section .service-slide,
  .solution-switcher-section .service-slide.is-active,
  .solution-switcher-section .service-slide:not(.is-active) {
    min-height: 340px;
  }
}

@media (max-width: 720px) {
  .solution-overview-grid .solution-tile h3 {
    font-size: clamp(1.6rem, 8vw, 2.35rem);
  }

  .solution-switcher-section .service-carousel {
    grid-template-columns: 1fr;
  }

  .solution-switcher-section .service-slide.is-active {
    min-height: 360px;
  }

  .solution-switcher-section .service-slide:not(.is-active) {
    min-height: 104px;
  }

  .solution-switcher-section .service-slide:not(.is-active) .service-slide-video {
    opacity: 0.48;
  }

  .solution-switcher-section .service-slide:not(.is-active) .service-slide-copy {
    inset: auto 20px 20px;
  }

  .eir-benefits-cta {
    grid-column: 1;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: Raleway, "Segoe UI", Arial, sans-serif;
  color: var(--graphite);
  background: var(--surface-page);
}

.brand-name {
  color: var(--wine);
  font-weight: 900;
}

.footer-cta .brand-name,
.media-hero .brand-name,
.home-hero .brand-name,
.contact-barcelona-hero .brand-name {
  color: #fff;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 15px clamp(20px, 5vw, 72px) 12px;
  color: #fff;
  background: rgba(79, 29, 39, 0.98);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, backdrop-filter 180ms ease;
}

.home-page .site-header:not(.is-scrolled):not(.is-open):not(.is-pointer-active):not(:hover):not(:focus-within) {
  background: transparent;
  border-bottom-color: transparent;
  backdrop-filter: none;
}

.home-page .site-header:not(.is-scrolled):not(.is-open):not(.is-pointer-active):not(:hover):not(:focus-within) .site-nav a.is-active {
  background: transparent;
}

.site-header.is-hidden {
  transform: translateY(-100%);
}

.home-page .site-header {
  position: fixed;
  left: 0;
  right: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  font-weight: 800;
  text-decoration: none;
  justify-self: center;
}

.brand-logo {
  width: 172px;
  height: auto;
  max-height: 42px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 750;
}

.site-nav a,
.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  border-radius: var(--radius);
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  list-style: none;
}

.site-nav a:hover,
.site-nav a.is-active,
.nav-dropdown-trigger:hover,
.nav-dropdown.is-active .nav-dropdown-trigger,
.nav-dropdown:focus-within .nav-dropdown-trigger,
.nav-dropdown:hover .nav-dropdown-trigger {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-left: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  min-width: 260px;
  display: none;
  gap: 4px;
  padding: 10px;
  border-radius: var(--radius);
  color: var(--graphite);
  background: #fff;
  box-shadow: var(--shadow);
  transform: translateX(-50%);
}

.nav-dropdown-trigger:hover + .dropdown-menu,
.nav-dropdown:has(.nav-dropdown-trigger:focus-visible) .dropdown-menu,
.dropdown-menu:hover,
.dropdown-menu:focus-within {
  display: grid;
}

.dropdown-menu a {
  min-height: 36px;
  color: var(--graphite);
  font-size: 0.78rem;
}

.dropdown-menu a:hover {
  color: var(--wine);
  background: rgba(112, 44, 54, 0.08);
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-left: 10px;
  padding-left: 12px;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.language-switcher a {
  min-height: 32px;
  padding: 6px 8px;
  font-size: 0.74rem;
}

.language-switcher a.is-current {
  color: var(--wine-dark);
  background: #fff;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(97, 97, 96, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  color: inherit;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
}

.menu-button span + span {
  margin-top: 5px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: Raleway, "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(2.65rem, 6vw, 5.7rem);
  line-height: 0.96;
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(2rem, 4.2vw, 4rem);
  line-height: 1.03;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.03rem;
  line-height: 1.25;
}

p {
  line-height: 1.7;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--wine);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #fff;
  text-align: center;
}

.home-hero-video,
.home-hero-overlay {
  position: absolute;
  inset: 0;
}

.home-hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #1f171a;
}

/* Alternativa decorativa MP4: conserva las clases y el encuadre del vídeo. */
.guiex-video-image { pointer-events: none; }
.guiex-video-image[hidden] { display: none; }

/* Si no hay reproducción automática disponible, ofrece un gesto explícito. */
.guiex-video-play {
  position: absolute;
  right: 22px;
  bottom: 22px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  max-width: calc(100% - 44px);
  box-sizing: border-box;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--wine);
  font: 500 14px/1.4 Raleway, "Segoe UI", Arial, sans-serif;
  cursor: pointer;
  overflow-wrap: anywhere;
}
.guiex-video-play::before {
  content: "";
  flex: 0 0 auto;
  width: 0;
  height: 0;
  border-block: 6px solid transparent;
  border-left: 9px solid currentColor;
}
.guiex-video-play[hidden] { display: none; }
.guiex-video-play:disabled { cursor: progress; }
.guiex-video-play:focus-visible { outline: 2px solid var(--paper); outline-offset: 3px; }

.home-hero-overlay {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.22)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.04) 58%);
}

.home-hero-content {
  position: relative;
  z-index: 2;
  width: min(980px, 100%);
  display: grid;
  justify-items: center;
  padding: 110px clamp(22px, 6vw, 84px) 72px;
}

.home-hero .eyebrow {
  color: #f0d7dc;
}

.home-hero h1 {
  color: #fff;
  max-width: 860px;
  margin-bottom: 18px;
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  line-height: 0.96;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-service-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 760px;
  margin-bottom: 30px;
}

.hero-service-strip span {
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  animation: soft-rise 650ms ease forwards;
}

.hero-service-strip span:nth-child(2) {
  animation-delay: 100ms;
}

.hero-service-strip span:nth-child(3) {
  animation-delay: 200ms;
}

.hero-service-strip span:nth-child(4) {
  animation-delay: 300ms;
}

@keyframes soft-rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-lead {
  margin-bottom: 24px;
  max-width: 650px;
  font-size: clamp(1.05rem, 2.1vw, 1.42rem);
  line-height: 1.35;
  font-weight: 700;
}

.hero-copy {
  max-width: 660px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.03rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  color: #fff;
  background: var(--wine);
}

.button.primary:hover {
  background: var(--wine-dark);
}

.button.ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.1);
}

.button.ghost:hover {
  background: rgba(255, 255, 255, 0.18);
}

.text-link {
  display: inline-flex;
  margin-top: 10px;
  color: var(--wine);
  font-weight: 800;
  text-decoration: none;
}

.text-link:hover {
  color: var(--wine-dark);
}

.key-figures,
.intro-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 18px);
  padding: clamp(22px, 4vw, 44px) clamp(22px, 6vw, 84px);
  background:
    linear-gradient(90deg, rgba(112, 44, 54, 0.92), rgba(43, 43, 43, 0.98)),
    var(--graphite);
}

.key-figure,
.intro-stat {
  position: relative;
  min-height: 158px;
  display: grid;
  align-content: end;
  gap: 10px;
  overflow: hidden;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  animation: figure-drift 7s ease-in-out infinite;
}

.key-figure:nth-child(2) {
  animation-delay: 500ms;
}

.key-figure:nth-child(3) {
  animation-delay: 1000ms;
}

.key-figure:nth-child(4) {
  animation-delay: 1500ms;
}

.key-figure::before,
.intro-stat::before {
  content: "";
  position: absolute;
  inset: auto -20% -60% -20%;
  height: 120px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 62%);
}

.figure-index {
  position: absolute;
  top: 18px;
  right: 20px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.78rem;
  font-weight: 900;
}

@keyframes figure-drift {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

.key-figure strong,
.intro-stat strong {
  position: relative;
  color: #fff;
  font-size: clamp(1.55rem, 3.3vw, 2.45rem);
}

.key-figure span,
.intro-stat span {
  position: relative;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.45;
}

.home-video-story {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding: clamp(72px, 8vw, 118px) clamp(22px, 6vw, 84px);
  color: #fff;
  background:
    linear-gradient(120deg, rgba(79, 29, 39, 0.98), rgba(25, 91, 91, 0.7), rgba(43, 43, 43, 0.98)),
    var(--graphite);
}

.home-video-frame {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.home-video-frame video {
  width: 100%;
  height: 100%;
  min-height: clamp(300px, 31vw, 440px);
  display: block;
  object-fit: cover;
}

.video-caption-panel {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: clamp(18px, 3vw, 28px);
  color: #fff;
  background:
    linear-gradient(120deg, rgba(112, 44, 54, 0.92), rgba(25, 91, 91, 0.82));
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  backdrop-filter: blur(14px);
}

.video-caption-panel h2 {
  max-width: 640px;
  margin: 0;
  color: #fff;
  font-size: clamp(1.45rem, 3vw, 2.7rem);
}

.home-video-copy {
  max-width: 620px;
}

.home-video-copy .eyebrow {
  color: #f0d7dc;
}

.home-video-copy h2 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.7rem);
}

.home-video-copy p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.02rem;
}

.story-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.story-points span {
  padding: 9px 11px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.08);
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(78px, 10vw, 140px) clamp(22px, 6vw, 84px) clamp(58px, 7vw, 92px);
  background:
    var(--brand-gradient),
    var(--soft);
}

.page-hero-content {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  max-width: 980px;
  color: var(--graphite);
  font-size: clamp(3.1rem, 9vw, 8rem);
  line-height: 0.9;
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  color: var(--gray);
  font-size: 1.06rem;
}

.media-hero {
  min-height: calc(62vh - 71px);
  display: grid;
  align-content: end;
  color: #fff;
  background: var(--graphite);
}

.page-hero-video,
.page-hero-overlay {
  position: absolute;
  inset: 0;
}

.page-hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero-overlay {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.64), rgba(0, 0, 0, 0.28)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.52), rgba(0, 0, 0, 0.06));
}

.media-hero h1 {
  color: #fff;
}

.media-hero .eyebrow {
  color: #f0d7dc;
}

.media-hero p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.84);
}

.media-hero h1 {
  max-width: 900px;
  font-size: clamp(3.4rem, 10vw, 9rem);
  line-height: 0.86;
}

.services-hero {
  margin-bottom: clamp(28px, 4vw, 56px);
}

.section {
  padding: clamp(68px, 8vw, 118px) max(var(--page-gutter), calc((100% - 1440px) / 2));
  background: var(--surface-content);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  gap: clamp(38px, 7vw, 92px);
  align-items: center;
}

.section-copy {
  max-width: 650px;
}

.about-text-only .section-copy {
  max-width: 920px;
}

.about-text-only h2 {
  color: var(--wine);
}

.section-copy p {
  color: var(--gray);
  font-size: 1rem;
}

.section-copy strong {
  color: var(--wine);
  font-weight: 800;
}

.image-pair {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 16px;
  align-items: end;
}

.image-pair img,
.image-break img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.image-pair img:first-child {
  aspect-ratio: 4 / 5;
}

.image-pair img:last-child {
  aspect-ratio: 3 / 4;
  margin-bottom: 42px;
}

.assembly-section {
  min-height: 105vh;
  display: grid;
  align-content: center;
  gap: clamp(28px, 5vw, 52px);
  padding: clamp(72px, 9vw, 132px) clamp(22px, 6vw, 84px);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(112, 44, 54, 0.04), rgba(25, 91, 91, 0.04)),
    var(--soft);
}

.about-statement {
  min-height: 105vh;
  gap: 24px;
  color: #fff;
  background:
    linear-gradient(120deg, rgba(79, 29, 39, 0.98), rgba(25, 91, 91, 0.72), rgba(43, 43, 43, 0.98)),
    var(--graphite);
}

.about-statement .eyebrow {
  color: #f0d7dc;
}

.about-statement h2,
.about-statement .assembly-phrase {
  color: #fff;
}

.about-statement .assembly-phrase {
  justify-self: start;
  max-width: 820px;
  text-align: left;
  opacity: 0;
  transform: translateY(18px);
}

.about-statement.is-assembled .assembly-phrase {
  opacity: 1;
  transform: translateY(0);
}

.assembly-copy {
  max-width: 860px;
}

.assembly-copy h2 {
  margin-bottom: 0;
}

.assembly-image {
  width: min(1120px, 100%);
  aspect-ratio: 4 / 1;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(14px, 4vw, 64px);
  justify-self: center;
  overflow: visible;
}

.assembly-slice {
  min-width: 0;
  border-radius: var(--radius);
  background-image: url("assets/foto-quienes-somos-bloques.png?v=1a77100128");
  background-repeat: no-repeat;
  background-size: 500% 100%;
  box-shadow: var(--shadow);
  opacity: 0.82;
  transition: transform 760ms ease, opacity 760ms ease, filter 760ms ease;
}

.assembly-slice:nth-child(1) {
  background-position: 0% 50%;
  transform: translate(-42px, 34px) rotate(-1.2deg);
}

.assembly-slice:nth-child(2) {
  background-position: 25% 50%;
  transform: translate(-24px, -30px) rotate(0.8deg);
}

.assembly-slice:nth-child(3) {
  background-position: 50% 50%;
  transform: translate(0, 42px) rotate(-0.5deg);
}

.assembly-slice:nth-child(4) {
  background-position: 75% 50%;
  transform: translate(24px, -28px) rotate(0.7deg);
}

.assembly-slice:nth-child(5) {
  background-position: 100% 50%;
  transform: translate(42px, 34px) rotate(1.1deg);
}

.assembly-section.is-assembled .assembly-image {
  gap: 0;
}

.assembly-section.is-assembled .assembly-slice {
  opacity: 1;
  filter: saturate(1.04) contrast(1.02);
  transform: translate(0, 0) rotate(0);
}

.assembly-phrase {
  max-width: 840px;
  justify-self: center;
  margin: 0;
  color: var(--wine);
  font-size: clamp(1.45rem, 3vw, 2.6rem);
  line-height: 1.12;
  font-weight: 850;
  text-align: center;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease 430ms, transform 520ms ease 430ms;
}

.assembly-section.is-assembled .assembly-phrase {
  opacity: 1;
  transform: translateY(0);
}

.services-section,
.method-section {
  background:
    var(--brand-gradient),
    var(--soft);
}

.section-heading {
  max-width: 890px;
  margin-bottom: 42px;
}

.section-heading p {
  max-width: 760px;
  color: var(--gray);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  min-height: 255px;
  padding: 28px;
  border: 1px solid rgba(97, 97, 96, 0.16);
  border-radius: var(--radius);
  color: inherit;
  background: #fff;
  text-decoration: none;
}

.service-card:hover {
  border-color: rgba(112, 44, 54, 0.35);
  box-shadow: var(--shadow);
}

.service-card img {
  width: 42px;
  height: 42px;
  margin-bottom: 24px;
}

.service-card p {
  margin-bottom: 0;
  color: var(--gray);
  font-size: 0.95rem;
}

.service-detail-list {
  display: grid;
  gap: 22px;
  padding-top: clamp(82px, 9vw, 132px);
  background:
    linear-gradient(90deg, rgba(112, 44, 54, 0.04), rgba(25, 91, 91, 0.04)),
    var(--soft);
}

.service-visual-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding: clamp(18px, 3vw, 34px) clamp(22px, 6vw, 84px) 0;
  background: var(--graphite);
}

.service-visual-band article {
  position: relative;
  min-height: 360px;
  display: grid;
  align-content: end;
  overflow: hidden;
  border-radius: var(--radius);
  color: #fff;
}

.service-visual-band img,
.service-visual-band video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-visual-band article::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.12)),
    linear-gradient(90deg, rgba(79, 29, 39, 0.42), rgba(0, 0, 0, 0));
}

.service-visual-band div {
  position: relative;
  z-index: 1;
  padding: clamp(24px, 4vw, 38px);
}

.service-visual-band .eyebrow {
  color: #f0d7dc;
}

.service-visual-band h2 {
  max-width: 440px;
  margin-bottom: 0;
  color: #fff;
  font-size: clamp(1.6rem, 2.5vw, 2.6rem);
}

.solution-index-intro {
  background: linear-gradient(180deg, #f8f6f2 0%, #e9e7e3 100%);
}

.solution-overview-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  width: min(1200px, 100%);
  margin: clamp(36px, 5vw, 68px) auto 0;
  border: 0;
}

.solution-tile {
  position: relative;
  min-height: min(72vh, 620px);
  display: grid;
  align-content: end;
  overflow: hidden;
  color: #fff;
  background: var(--wine-dark);
  text-decoration: none;
  box-shadow: none;
}

.solution-tile:nth-child(2) {
  background: var(--wine);
}

.solution-tile:nth-child(3) {
  background: var(--graphite);
}

.solution-tile:nth-child(4) {
  background: var(--gray);
}

.solution-tile video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  filter: none;
  transition: transform 420ms ease, opacity 420ms ease, filter 420ms ease;
}

.solution-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.03) 62%);
}

.solution-tile:hover video {
  transform: scale(1.04);
  opacity: 1;
  filter: none;
}

.solution-tile div {
  position: relative;
  z-index: 1;
  padding: 28px;
}

.solution-tile .eyebrow {
  color: #f0d7dc;
}

.solution-tile h3 {
  max-width: 360px;
  color: #fff;
  font-size: clamp(1.55rem, 2.5vw, 2.5rem);
}

.solution-tile span {
  display: block;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.5;
}

.solution-page-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.68fr);
  gap: clamp(34px, 6vw, 82px);
  align-items: start;
  background:
    var(--brand-gradient),
    var(--soft);
}

.solution-main-copy {
  max-width: 820px;
}

.solution-main-copy p {
  color: var(--gray);
  font-size: 1.04rem;
}

.solution-side-panel {
  padding: clamp(24px, 4vw, 38px);
  border-left: 4px solid var(--wine);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.solution-side-panel h3 {
  margin-bottom: 18px;
  font-size: 1.2rem;
}

.service-detail {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: clamp(24px, 5vw, 58px);
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid rgba(97, 97, 96, 0.16);
  border-radius: var(--radius);
  background: #fff;
}

.service-number {
  color: var(--wine);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1;
}

.service-detail h2 {
  font-size: clamp(1.8rem, 3.2vw, 3.2rem);
}

.service-detail p {
  max-width: 860px;
  color: var(--gray);
}

.check-list {
  display: grid;
  gap: 10px;
  max-width: 820px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 24px;
  color: var(--graphite);
  line-height: 1.55;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--wine);
}

.service-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 34px);
  max-width: 980px;
  margin-top: 30px;
}

.service-flow div {
  padding-top: 18px;
  border-top: 1px solid rgba(112, 44, 54, 0.24);
}

.service-flow strong {
  display: block;
  margin-bottom: 10px;
  color: var(--wine);
  font-size: 0.84rem;
  font-weight: 900;
  text-transform: uppercase;
}

.service-flow span {
  display: block;
  color: var(--graphite);
  line-height: 1.55;
}

.service-note {
  margin-top: 26px;
  padding-left: 18px;
  border-left: 3px solid var(--wine);
  font-weight: 650;
}

.method-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(97, 97, 96, 0.18);
  border: 1px solid rgba(97, 97, 96, 0.18);
}

.method-list article {
  min-height: 250px;
  padding: 28px;
  background: #fff;
}

.method-list span {
  display: inline-block;
  margin-bottom: 54px;
  color: var(--teal);
  font-weight: 900;
}

.method-list p {
  margin-bottom: 0;
  color: var(--gray);
  font-size: 0.94rem;
}

.image-break {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: clamp(32px, 6vw, 76px);
  align-items: center;
  padding: clamp(72px, 8vw, 112px) clamp(22px, 6vw, 84px);
  color: #fff;
  background: var(--graphite);
}

.image-break img {
  aspect-ratio: 16 / 10;
  box-shadow: none;
}

.image-break p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.78);
}

.image-break .eyebrow {
  color: #e7c9cf;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.62fr);
  gap: clamp(34px, 6vw, 88px);
  align-items: start;
  background:
    linear-gradient(90deg, rgba(112, 44, 54, 0.06), rgba(25, 91, 91, 0.06)),
    var(--soft);
}

.contact-barcelona-hero {
  position: relative;
  min-height: calc(78vh - 71px);
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: clamp(92px, 10vw, 150px) clamp(22px, 6vw, 84px) clamp(58px, 7vw, 90px);
  color: #fff;
  background: var(--graphite);
}

.contact-barcelona-video,
.contact-barcelona-image,
.contact-barcelona-overlay {
  position: absolute;
  inset: 0;
}

.contact-barcelona-video,
.contact-barcelona-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-barcelona-overlay {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.28)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.1));
}

.contact-barcelona-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.74fr);
  gap: clamp(32px, 6vw, 82px);
  align-items: end;
}

.contact-barcelona-content h1 {
  max-width: 700px;
  color: #fff;
  font-size: clamp(3.2rem, 8vw, 7.8rem);
}

.contact-barcelona-content p:not(.eyebrow) {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
}

.contact-barcelona-content .eyebrow {
  color: #f0d7dc;
}

.contact-map {
  min-height: 330px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  background: rgba(255, 255, 255, 0.12);
}

.contact-map-link {
  display: block;
  position: relative;
  height: 100%;
  min-height: 330px;
}

.contact-map-link img {
  width: 100%;
  height: 100%;
  min-height: 330px;
  display: block;
  object-fit: cover;
  filter: grayscale(0.15) contrast(1.02);
}

.contact-map-link span {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 8px 14px;
  background: var(--wine);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 330px;
  display: block;
  border: 0;
  filter: grayscale(0.15) contrast(1.02);
}

.contact-copy p {
  max-width: 660px;
  color: var(--gray);
}

.contact-panel {
  display: grid;
  gap: 16px;
  padding: 30px;
  border-left: 4px solid var(--wine);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  font-style: normal;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: clamp(26px, 4vw, 38px);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field {
  display: grid;
  gap: 8px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  color: var(--graphite);
  font-size: 0.86rem;
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  border: 1px solid rgba(97, 97, 96, 0.28);
  border-radius: var(--radius);
  color: var(--graphite);
  background: #fff;
  font: inherit;
}

.field textarea {
  min-height: 138px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid rgba(112, 44, 54, 0.28);
  border-color: var(--wine);
}

.form-note {
  margin: 0;
  color: var(--gray);
  font-size: 0.88rem;
}

/* Formularios con envío directo (forms.js, 2026-11-09): campo trampa para robots y estado del envío. */
.form-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--wine);
}

.form-status.is-error {
  color: var(--wine-dark);
  font-weight: 700;
}

form[aria-busy="true"] button[type="submit"] {
  opacity: 0.7;
  cursor: progress;
}

.field input[type="file"] {
  padding: 10px 0;
  border: 0;
  background: none;
  font: inherit;
}

.contact-panel a,
.contact-panel span {
  overflow-wrap: anywhere;
  color: var(--graphite);
  text-decoration: none;
  line-height: 1.5;
}

.contact-panel a {
  font-weight: 800;
}

.contact-panel a:hover {
  color: var(--wine);
}

.contact-panel-image {
  display: block;
  width: 100%;
  height: clamp(220px, 22vw, 320px);
  margin-top: 6px;
  object-fit: cover;
  object-position: center;
}

.footer-cta {
  position: relative;
  min-height: clamp(380px, 48vw, 620px);
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: clamp(46px, 7vw, 96px) clamp(22px, 6vw, 84px);
  color: #fff;
  background: var(--ink);
}

.footer-cta img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.footer-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.74), rgba(0, 0, 0, 0.18)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.64), rgba(0, 0, 0, 0.06));
}

.footer-cta div {
  position: relative;
  z-index: 1;
  max-width: 880px;
}

.footer-cta .eyebrow {
  color: #f0d7dc;
}

.footer-cta h2 {
  color: #fff;
  font-size: clamp(2rem, 6vw, 6rem);
  line-height: 0.9;
}

.value-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.value-row span {
  padding: 10px 12px;
  border: 1px solid rgba(112, 44, 54, 0.2);
  border-radius: var(--radius);
  color: var(--wine);
  font-size: 0.88rem;
  font-weight: 800;
  background: rgba(112, 44, 54, 0.06);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(260px, 1.3fr) minmax(180px, 0.75fr) minmax(180px, 0.75fr);
  gap: clamp(28px, 6vw, 80px);
  padding: 46px clamp(22px, 6vw, 84px) 24px;
  color: #fff;
  background: var(--wine-dark);
  font-size: 0.9rem;
}

.footer-brand,
.footer-block {
  display: grid;
  align-content: start;
  gap: 12px;
}

.footer-brand img {
  width: 156px;
  height: auto;
  margin-bottom: 8px;
}

.footer-brand p,
.footer-block span {
  max-width: 390px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.6;
}

.footer-block h2 {
  margin: 0 0 6px;
  color: #fff;
  font-family: Raleway, "Segoe UI", Arial, sans-serif;
  font-size: 0.78rem;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-block a,
.social-link {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
}

.footer-block a:hover,
.social-link:hover {
  color: #fff;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  font-weight: 800;
}

.social-link span {
  display: inline-grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: var(--radius);
  color: var(--wine-dark);
  background: #fff;
  font-weight: 900;
}

/* Franja legal del pie (2026-09-07): copyright a la izquierda, políticas a la derecha. */
.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.82rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-copyright a {
  color: var(--wine);
  font-weight: 900;
  text-decoration: none;
}

.footer-copyright a:hover,
.footer-legal a:hover {
  text-decoration: underline;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-legal li + li::before {
  content: "·";
  margin: 0 10px;
  color: currentColor;
  opacity: 0.45;
}

.footer-legal a {
  color: inherit;
  text-decoration: none;
}

/* Página legal única (legal.html): composición a toda la anchura, numerales lining. */
.legal-page .page-hero {
  padding-bottom: clamp(40px, 5vw, 64px);
}

.legal-page .page-hero h1 {
  max-width: 1100px;
  font-size: clamp(2.4rem, 5.6vw, 4.6rem);
  line-height: 0.98;
}

.legal-page .page-hero p:not(.eyebrow),
.legal-section,
.legal-index {
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1, "tnum" 1;
}

.legal-index {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.legal-index a {
  display: inline-block;
  padding: 10px 16px;
  border: 1px solid rgba(112, 44, 54, 0.32);
  border-radius: 999px;
  color: var(--wine);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.legal-index a:hover,
.legal-index a:focus-visible {
  background: var(--wine);
  color: #fff;
}

.section.legal-section {
  display: grid;
  grid-template-columns: minmax(220px, 0.85fr) minmax(0, 2.15fr);
  gap: 0 clamp(28px, 5vw, 72px);
  align-items: start;
  max-width: none;
  padding-top: clamp(48px, 6vw, 84px);
  padding-bottom: clamp(48px, 6vw, 84px);
  scroll-margin-top: 96px;
  border-top: 1px solid rgba(97, 97, 96, 0.16);
}

.section.legal-section:nth-of-type(even) {
  background: var(--soft);
}

.legal-section > article {
  grid-column: 2;
  padding: 22px 0 26px;
  border-bottom: 1px solid rgba(97, 97, 96, 0.14);
}

.legal-section > article:last-child {
  border-bottom: 0;
}

.legal-section > .legal-title {
  grid-column: 1;
  grid-row: 1 / span 40;
  position: sticky;
  top: 110px;
  padding: 0;
  border: 0;
}

.legal-section .legal-title h2 {
  margin: 0;
  padding-top: 16px;
  border-top: 3px solid var(--wine);
  font-size: clamp(1.5rem, 2.3vw, 2.1rem);
  line-height: 1.05;
  color: var(--wine);
}

.legal-section article h2 {
  margin: 0 0 12px;
  font-size: 1.22rem;
  line-height: 1.25;
  color: var(--wine);
}

.legal-section article h3 {
  margin: 16px 0 8px;
  font-size: 1rem;
  color: var(--graphite);
}

.legal-section p,
.legal-section li {
  max-width: 78ch;
  color: var(--gray);
  line-height: 1.6;
}

.legal-section ul {
  margin: 8px 0 12px;
  padding-left: 20px;
}

.legal-section li + li {
  margin-top: 6px;
}

.legal-section li strong,
.legal-section p strong,
.legal-section td strong {
  color: var(--wine);
}

.legal-section .table-wrap,
.legal-section table {
  width: 100%;
}

.legal-section table {
  border-collapse: separate;
  border-spacing: 0;
  margin: 14px 0 8px;
  overflow: hidden;
  border: 1px solid rgba(97, 97, 96, 0.18);
  border-radius: var(--radius);
  font-size: 0.9rem;
}

.legal-section thead th {
  padding: 12px 14px;
  background: var(--wine);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: left;
}

.legal-section td {
  padding: 12px 14px;
  border-top: 1px solid rgba(97, 97, 96, 0.14);
  color: var(--gray);
  vertical-align: top;
  line-height: 1.5;
}

.legal-section tbody tr:nth-child(even) td {
  background: rgba(112, 44, 54, 0.035);
}

.legal-section td:first-child {
  color: var(--wine);
  font-weight: 700;
}

.legal-section code {
  padding: 1px 6px;
  background: rgba(97, 97, 96, 0.1);
  border-radius: 4px;
  font-size: 0.86em;
}

@media (max-width: 1100px) {
  .section.legal-section {
    grid-template-columns: 1fr;
  }

  .legal-section > .legal-title {
    grid-row: auto;
    position: static;
  }

  .legal-section > article,
  .legal-section > .legal-title {
    grid-column: 1;
  }

}

@media (max-width: 700px) {
  .legal-section table,
  .legal-section tbody,
  .legal-section tr,
  .legal-section td {
    display: block;
    width: 100%;
  }

  .legal-section thead {
    display: none;
  }

  .legal-section tr {
    padding: 4px 0 10px;
    border-top: 1px solid rgba(97, 97, 96, 0.16);
  }

  .legal-section tbody tr:nth-child(even) td {
    background: transparent;
  }

  .legal-section td {
    padding: 8px 14px;
    border-top: 0;
  }

  .legal-section td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 2px;
    color: var(--wine);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .legal-section td:first-child {
    padding-top: 12px;
    font-size: 1rem;
  }
}

.policy-section {
  display: grid;
  gap: 18px;
  max-width: 960px;
}

.policy-section article {
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(97, 97, 96, 0.16);
}

.policy-section h2 {
  margin-bottom: 12px;
  font-size: clamp(1.45rem, 2.2vw, 2.2rem);
}

.policy-section p {
  max-width: 820px;
  color: var(--gray);
}

.policy-section a {
  color: var(--wine);
  font-weight: 800;
}

.blog-section {
  display: grid;
  gap: 28px;
  background: var(--soft);
}

.featured-post {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
  padding: clamp(28px, 5vw, 52px);
  border-radius: var(--radius);
  color: #fff;
  background:
    linear-gradient(90deg, rgba(79, 29, 39, 0.98), rgba(112, 44, 54, 0.88)),
    var(--wine-dark);
}

.featured-post h2 {
  max-width: 760px;
  margin-bottom: 16px;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.6rem);
}

.featured-post p:not(.post-meta) {
  max-width: 760px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
}

.post-meta {
  margin-bottom: 12px;
  color: var(--wine);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.featured-post .post-meta {
  color: #f0d7dc;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.blog-card {
  min-height: 270px;
  display: grid;
  align-content: start;
  padding: 28px;
  border: 1px solid rgba(97, 97, 96, 0.16);
  border-radius: var(--radius);
  background: #fff;
}

.blog-card h3 {
  font-size: 1.16rem;
}

.blog-card p:not(.post-meta) {
  color: var(--gray);
}

.blog-card span {
  width: fit-content;
  margin-top: auto;
  padding: 8px 10px;
  border-radius: var(--radius);
  color: var(--wine);
  background: rgba(112, 44, 54, 0.08);
  font-size: 0.78rem;
  font-weight: 800;
}

@media (max-width: 1080px) {
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .key-figures {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .featured-post {
    grid-template-columns: 1fr;
  }

  .service-visual-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .solution-overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-visual-band article {
    min-height: 280px;
  }

  .method-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split,
  .home-video-story,
  .image-break,
  .contact-barcelona-content,
  .solution-page-section,
  .contact-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 14px 18px;
  }

  .menu-button {
    position: absolute;
    top: 14px;
    right: 18px;
    display: grid;
  }

  .site-nav {
    position: absolute;
    top: calc(100% - 1px);
    left: 0;
    right: 0;
    display: none;
    padding: 16px 18px 22px;
    color: #fff;
    background: rgba(79, 29, 39, 0.98);
    box-shadow: 0 18px 32px rgba(43, 43, 43, 0.08);
  }

  .site-header.is-open .site-nav {
    display: grid;
    gap: 8px;
  }

  .nav-dropdown {
    width: 100%;
  }

  .nav-dropdown-trigger {
    justify-content: space-between;
    width: 100%;
  }

  .dropdown-menu {
    position: static;
    min-width: 0;
    margin-top: 6px;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: none;
    transform: none;
  }

  .nav-dropdown .dropdown-menu {
    display: grid;
  }

  .dropdown-menu a {
    color: #fff;
  }

  .dropdown-menu a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
  }

  .language-switcher {
    width: fit-content;
    margin-left: 0;
    padding-left: 0;
    border-left: 0;
  }

  .home-hero {
    min-height: calc(88vh - 71px);
  }

  .home-hero-video {
    background-position: 58% center;
  }

  .home-hero-overlay {
    background:
      linear-gradient(90deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.48) 62%, rgba(0, 0, 0, 0.12) 100%),
      linear-gradient(0deg, rgba(0, 0, 0, 0.58) 0%, rgba(0, 0, 0, 0.08) 60%);
  }

  .home-hero-content {
    padding: 104px 20px 54px;
  }

  .home-hero h1 {
    font-size: clamp(2.35rem, 11vw, 4.1rem);
  }

  .hero-subtitle {
    font-size: clamp(0.92rem, 4.8vw, 1.22rem);
  }

  .home-video-story {
    padding: 58px 20px;
  }

  .contact-barcelona-hero {
    padding: 96px 20px 58px;
  }

  .contact-barcelona-content h1 {
    font-size: clamp(3rem, 18vw, 5.8rem);
  }

  .home-video-frame,
  .home-video-frame video {
    min-height: 300px;
  }

  .hero-copy {
    font-size: 0.98rem;
  }

  .button {
    width: 100%;
  }

  .key-figures,
  .intro-band,
  .service-grid,
  .service-visual-band,
  .solution-overview-grid,
  .method-list,
  .blog-grid,
  .field-grid {
    grid-template-columns: 1fr;
  }

  .field.full {
    grid-column: auto;
  }

  .section,
  .page-hero {
    padding-left: 20px;
    padding-right: 20px;
  }

  .image-pair {
    grid-template-columns: 1fr;
  }

  .image-pair img:first-child,
  .image-pair img:last-child {
    aspect-ratio: 16 / 11;
    margin-bottom: 0;
  }

  .assembly-section {
    min-height: 78vh;
    padding: 64px 20px;
  }

  .assembly-image {
    aspect-ratio: 2.6 / 1;
    gap: 10px;
  }

  .assembly-slice:nth-child(1) {
    transform: translate(-18px, 18px);
  }

  .assembly-slice:nth-child(2) {
    transform: translate(-10px, -16px);
  }

  .assembly-slice:nth-child(3) {
    transform: translate(0, 20px);
  }

  .assembly-slice:nth-child(4) {
    transform: translate(10px, -16px);
  }

  .assembly-slice:nth-child(5) {
    transform: translate(18px, 18px);
  }

  .service-card,
  .method-list article {
    min-height: auto;
    padding: 24px;
  }

  .service-detail {
    grid-template-columns: 1fr;
  }

  .solution-page-section {
    grid-template-columns: 1fr;
  }

  .service-flow {
    grid-template-columns: 1fr;
  }

  .method-list span {
    margin-bottom: 28px;
  }

  .image-break {
    padding: 64px 20px;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    display: grid;
  }
}

/* Revisión 14-09 · equipo, órbitas y contacto directo. */
.team-card .team-info,
.team-card .team-info *,
.team-card .team-actions a,
.team-card .team-actions a:hover,
.team-card .team-actions a:focus-visible {
  text-decoration: none !important;
  text-decoration-line: none !important;
}

body.home-page .solar-orbit-defense,
body.home-page .solar-orbit-consulting,
body.home-page .solar-orbit-eir,
body.home-page .solar-orbit-process {
  border-color: rgba(112, 44, 54, .23);
}

.team-cv-cta > button {
  display: inline-flex;
  gap: 18px;
  align-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--wine);
  font: inherit;
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  font-weight: 800;
  cursor: pointer;
}
.team-cv-cta > button span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(112, 44, 54, .38);
  border-radius: 50%;
  font-size: 1.2em;
  line-height: 1;
}
.team-cv-cta > button:hover,
.team-cv-cta > button:focus-visible { color: var(--wine-dark); }
.team-cv-form {
  max-width: 760px;
  margin-top: 24px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(112, 44, 54, .18);
  background: rgba(255, 255, 255, .72);
}
.team-cv-form[hidden] { display: none; }
.team-cv-form .field-grid { margin-bottom: 20px; }

body.contact-page .contact-side { display: block; }
body.contact-page .contact-panel {
  position: static;
  display: grid;
  gap: clamp(14px, 1.6vw, 20px);
}
body.contact-page .contact-panel .contact-map {
  order: 5;
  width: 100%;
  min-height: 0;
  aspect-ratio: 1;
  margin-top: 8px;
  border: 1px solid rgba(112, 44, 54, .18);
  background: #ded9cf;
}
body.contact-page .contact-panel .mg-label {
  font-size: 34px;
  stroke-width: 8px;
}
body.contact-page .contact-panel .mapa-guiex .mg-pin-shape { transform: scale(1.55) !important; }
@media (max-width: 760px) {
  body.contact-page .contact-panel .contact-map { min-height: 0; }
  body.contact-page .contact-panel .mg-label { font-size: 28px; stroke-width: 7px; }
  body.contact-page .contact-panel .mapa-guiex .mg-pin-shape { transform: scale(1.42) !important; }
}

/* Ajustes de composici&oacute;n solicitados para Home y Soluciones. */
body.home-page .home-values-intro {
  position: relative;
  z-index: 2;
}

body.home-page .home-values-technology {
  z-index: 1;
  justify-self: end;
}

body.home-page .home-values-technology img {
  left: auto;
  right: 0;
  width: min(100%, 178px);
  height: clamp(190px, 18vw, 230px);
  transform: none;
}

.defense-hammer-break blockquote {
  width: min(80%, 1040px);
  padding: clamp(20px, 2.7vw, 38px) clamp(22px, 3.2vw, 46px);
  color: rgba(255, 255, 255, 0.92);
  background: rgba(112, 36, 51, 0.7);
  border-left: 4px solid rgba(255, 255, 255, 0.72);
  font-size: clamp(2.1rem, 4.2vw, 5.2rem);
  font-style: italic;
  font-weight: 800;
  line-height: 1.02;
  text-transform: uppercase;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

body.consulting-page #enfoque-visual.solution-visual-story {
  min-height: clamp(420px, 46vw, 560px);
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(24px, 4vw, 58px);
}

body.consulting-page #enfoque-visual .solution-profile-media {
  min-height: clamp(330px, 38vw, 460px);
  justify-content: center;
}

body.consulting-page #enfoque-visual .solution-profile-media img {
  width: min(86%, 430px);
  height: auto;
  max-height: clamp(300px, 36vw, 440px);
  object-position: center;
  transform: none;
}

body.consulting-page #enfoque-visual:hover .solution-profile-media img {
  transform: translateY(-3px) scale(1.01);
}

body.consulting-page .consulting-expertise {
  padding-block: clamp(40px, 5vw, 68px);
}

body.consulting-page .consulting-expertise-intro {
  margin-bottom: clamp(14px, 2vw, 24px);
}

body.consulting-page .consulting-expertise-intro h2 {
  width: min(100%, 16ch);
  font-size: clamp(2.7rem, 5vw, 5.4rem);
  line-height: 0.94;
}

body.consulting-page .consulting-expertise-list {
  width: min(100%, 1120px);
  margin-inline: auto;
}

body.consulting-page .consulting-expertise-item {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.52fr);
  gap: clamp(22px, 4vw, 54px);
  min-height: clamp(118px, 12vw, 164px);
  padding: clamp(14px, 2vw, 24px) 0;
}

body.consulting-page .consulting-expertise-item h3 {
  font-size: clamp(3.2rem, 8vw, 7.6rem);
  line-height: 0.84;
}

body.consulting-page .consulting-expertise-item--depositos h3 {
  font-size: clamp(2.9rem, 6.6vw, 6.6rem);
}

.solutions-keyword-marquee {
  width: 100%;
  overflow: hidden;
  padding-block: clamp(18px, 2.4vw, 30px);
  color: #fff;
  background: var(--wine);
  border-block: 1px solid rgba(255, 255, 255, 0.24);
}

.solutions-keyword-track {
  display: flex;
  width: max-content;
  white-space: nowrap;
  animation: solutionsKeywordFlow 46s linear infinite;
  will-change: transform;
}

.solutions-keyword-track span {
  flex: none;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.4rem, 3.4vw, 3.8rem);
  font-weight: 900;
  line-height: 0.95;
  word-spacing: clamp(0.9rem, 2vw, 2.4rem);
  text-transform: uppercase;
}

@keyframes solutionsKeywordFlow {
  from { transform: translateX(0); }
  to { transform: translateX(-25%); }
}

@media (max-width: 900px) {
  body.home-page .home-values-technology {
    justify-self: start;
  }

  body.home-page .home-values-technology img {
    width: min(62vw, 230px);
    height: 250px;
  }

  body.consulting-page #enfoque-visual.solution-visual-story {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  body.consulting-page .consulting-expertise-item {
    grid-template-columns: 1fr;
    min-height: 0;
  }
}

@media (max-width: 600px) {
  .defense-hammer-break blockquote {
    top: 24px;
    width: calc(100% - 44px);
    padding: 18px 20px;
  }

  body.consulting-page #enfoque-visual .solution-profile-media {
    min-height: 270px;
  }

  body.consulting-page #enfoque-visual .solution-profile-media img {
    width: min(82vw, 340px);
    max-height: 320px;
  }
}

body.solutions-page main > .solutions-keyword-marquee {
  color: #fff !important;
  background: var(--wine) !important;
}

@media (prefers-reduced-motion: reduce) {
  .solutions-keyword-track {
    animation-play-state: paused;
  }
}

main > section.solution-visual-story {
  background:
    radial-gradient(circle at 78% 22%, rgba(112, 44, 54, 0.1), transparent 29%),
    linear-gradient(135deg, #f8f6f2 0%, #eceae6 54%, #f4f5f2 100%);
}

main > section.solution-visual-story.is-reverse {
  background:
    radial-gradient(circle at 20% 72%, rgba(97, 97, 96, 0.13), transparent 31%),
    linear-gradient(225deg, #faf8f4 0%, #ebe8e4 52%, #f0f2ef 100%);
}

/* Paginas especificas: banda visual editorial para cada solucion. */
.solution-visual-story {
  position: relative;
  min-height: clamp(440px, 50vw, 600px);
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.82fr);
  align-items: center;
  gap: clamp(28px, 5vw, 78px);
  padding: clamp(44px, 6vw, 78px) clamp(22px, 6vw, 92px);
  overflow: hidden;
  color: #231f20;
  background:
    radial-gradient(circle at 78% 22%, rgba(112, 44, 54, 0.1), transparent 29%),
    linear-gradient(135deg, #f8f6f2 0%, #eceae6 54%, #f4f5f2 100%);
}

.solution-visual-story.is-reverse {
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr);
  background:
    radial-gradient(circle at 20% 72%, rgba(97, 97, 96, 0.13), transparent 31%),
    linear-gradient(225deg, #faf8f4 0%, #ebe8e4 52%, #f0f2ef 100%);
}

.solution-visual-media {
  position: relative;
  min-width: 0;
  margin: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, #000 0 82%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 0 82%, transparent 100%);
}

.solution-visual-story.is-reverse .solution-visual-media {
  grid-column: 2;
  -webkit-mask-image: linear-gradient(270deg, #000 0 82%, transparent 100%);
  mask-image: linear-gradient(270deg, #000 0 82%, transparent 100%);
}

.solution-visual-story.is-reverse .solution-visual-copy {
  grid-column: 1;
  grid-row: 1;
}

.solution-visual-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.04);
  transform: scale(1.015);
  transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1), filter 420ms ease;
}

.solution-visual-story:hover .solution-visual-media img {
  filter: saturate(1) contrast(1.03);
  transform: scale(1.045);
}

.solution-visual-media.solution-profile-media,
.solution-visual-story.is-reverse .solution-visual-media.solution-profile-media {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  -webkit-mask-image: none;
  mask-image: none;
}

.solution-visual-media.solution-profile-media img {
  width: 100%;
  height: 100%;
  max-height: clamp(340px, 39vw, 500px);
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 24px 30px rgba(35, 31, 32, 0.16));
  transform: none;
}

.solution-visual-story:hover .solution-visual-media.solution-profile-media img {
  filter: drop-shadow(0 30px 34px rgba(112, 44, 54, 0.22));
  transform: translateY(-4px) scale(1.015);
}

.solution-visual-copy {
  position: relative;
  z-index: 2;
  max-width: 560px;
}

.solution-visual-copy .eyebrow {
  color: var(--wine);
}

.solution-visual-copy h2 {
  max-width: 13ch;
  margin: 0;
  color: var(--wine);
  font-size: clamp(2.35rem, 4.2vw, 4.8rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.solution-visual-copy > p:not(.eyebrow) {
  max-width: 48ch;
  margin: clamp(22px, 3vw, 36px) 0 0;
  color: rgba(35, 31, 32, 0.72);
  font-size: clamp(1rem, 1.3vw, 1.18rem);
  line-height: 1.65;
}

.solution-visual-keys {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(28px, 4vw, 48px);
  border-top: 1px solid rgba(35, 31, 32, 0.24);
  border-bottom: 1px solid rgba(35, 31, 32, 0.24);
}

.solution-visual-keys span {
  min-width: 0;
  padding: 14px 8px;
  color: #231f20;
  font-size: clamp(0.68rem, 0.9vw, 0.82rem);
  font-weight: 850;
  text-align: center;
  text-transform: uppercase;
}

.solution-visual-keys span + span {
  border-left: 1px solid rgba(35, 31, 32, 0.2);
}

@media (max-width: 600px) {
  .solution-visual-story,
  .solution-visual-story.is-reverse {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 18px;
    padding-block: 36px;
  }

  .solution-visual-story .solution-visual-media,
  .solution-visual-story.is-reverse .solution-visual-media {
    grid-column: 1;
    grid-row: 1;
    -webkit-mask-image: linear-gradient(180deg, #000 0 82%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0 82%, transparent 100%);
  }

  .solution-visual-story .solution-visual-media.solution-profile-media,
  .solution-visual-story.is-reverse .solution-visual-media.solution-profile-media {
    aspect-ratio: 16 / 8;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .solution-visual-story .solution-visual-copy,
  .solution-visual-story.is-reverse .solution-visual-copy {
    grid-column: 1;
    grid-row: 2;
  }

  .solution-visual-copy h2 {
    max-width: 12ch;
    font-size: 2.3rem;
  }
}

@media (max-width: 430px) {
  .solution-visual-copy h2 {
    font-size: 2.15rem;
  }

  .solution-visual-keys {
    grid-template-columns: 1fr;
  }

  .solution-visual-keys span + span {
    border-top: 1px solid rgba(35, 31, 32, 0.2);
    border-left: 0;
  }
}

/* Rebuild visual inspirado en 512: editorial, logistico, alto contraste. */
:root {
  --accent: var(--wine);
  --ink: #060606;
  --ink-2: #121212;
  --steel: #d9dedc;
  --smoke: #f2f2ef;
  --brand-gradient: linear-gradient(135deg, rgba(112, 44, 54, 0.28), rgba(79, 29, 39, 0.2), rgba(25, 91, 91, 0.18));
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.22);
  --radius: 0;
}

body {
  color: var(--ink);
  background: var(--ink);
}

.site-header {
  grid-template-columns: auto 1fr;
  justify-items: stretch;
  align-items: center;
  gap: clamp(18px, 4vw, 48px);
  padding: 18px clamp(18px, 4vw, 56px);
  color: #fff;
  background: rgba(6, 6, 6, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(18px);
}

.home-page .site-header:not(.is-scrolled):not(.is-open):not(.is-pointer-active):not(:hover):not(:focus-within) {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.58), transparent);
}

.brand {
  justify-self: start;
}

.brand-logo {
  width: clamp(136px, 14vw, 210px);
  max-height: 54px;
}

.site-nav {
  justify-content: end;
  gap: 3px;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav a,
.nav-dropdown-trigger {
  min-height: 42px;
  padding: 10px 12px;
  border-radius: 0;
  border: 1px solid transparent;
}

.site-nav a:hover,
.site-nav a.is-active,
.nav-dropdown-trigger:hover,
.nav-dropdown.is-active .nav-dropdown-trigger,
.nav-dropdown:focus-within .nav-dropdown-trigger,
.nav-dropdown:hover .nav-dropdown-trigger {
  color: #fff;
  background: var(--accent);
}

.dropdown-menu {
  left: auto;
  right: 0;
  min-width: 310px;
  padding: 12px;
  color: #fff;
  background: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.38);
  transform: none;
}

.dropdown-menu a {
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dropdown-menu a:hover {
  color: #fff;
  background: var(--accent);
}

.language-switcher {
  border-left-color: rgba(112, 44, 54, 0.62);
}

.language-switcher a.is-current {
  color: #fff;
  background: var(--accent);
}

h1,
h2 {
  font-weight: 900;
  text-transform: uppercase;
}

.eyebrow,
.post-meta {
  color: var(--wine);
  letter-spacing: 0.14em;
}

.home-hero {
  min-height: 100svh;
  align-items: end;
  justify-content: start;
  text-align: left;
  background: var(--ink);
}

.home-hero-overlay {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.36) 46%, rgba(0, 0, 0, 0.04) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.58) 0%, rgba(0, 0, 0, 0.04) 58%);
}

.home-hero-content {
  width: min(1180px, 100%);
  justify-items: start;
  padding: clamp(150px, 18vw, 240px) clamp(22px, 6vw, 84px) clamp(52px, 8vw, 110px);
}

.home-hero h1 {
  max-width: 980px;
  margin-bottom: 24px;
  color: #fff;
  font-size: clamp(3.1rem, 11vw, 10.8rem);
  line-height: 0.78;
  letter-spacing: -0.02em;
}

.home-hero h1::after {
  content: "";
  display: block;
  width: min(360px, 62vw);
  height: 10px;
  margin-top: 24px;
  background: var(--accent);
  transform-origin: left center;
  animation: hero-line-pulse 2.8s ease-in-out infinite;
}

.hero-muted {
  color: #8f8f8c;
}

@keyframes hero-line-pulse {
  0%,
  100% {
    transform: scaleX(0.42);
    opacity: 0.62;
  }

  50% {
    transform: scaleX(1);
    opacity: 1;
  }
}

.hero-service-strip {
  justify-content: flex-start;
  max-width: 860px;
  margin-bottom: 34px;
}

.hero-service-strip span {
  border-color: rgba(112, 44, 54, 0.72);
  color: #fff;
  background: rgba(112, 44, 54, 0.26);
}

.button {
  min-height: 52px;
  border-radius: 0;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.button.ghost,
.button.primary {
  color: #fff;
  border-color: var(--accent);
  background: var(--accent);
}

.button.ghost:hover,
.button.primary:hover {
  color: #fff;
  background: transparent;
}

.hero-link-button {
  min-height: auto;
  padding: 0;
  color: var(--accent);
  border-color: transparent;
  background: transparent;
  font-size: 0.98rem;
}

.hero-link-button:hover {
  padding: 13px 20px;
  color: #fff;
  border-color: var(--accent);
  background: var(--accent);
}

.key-figures {
  gap: 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  background: var(--ink);
}

.key-figure {
  min-height: 210px;
  padding: clamp(24px, 4vw, 46px);
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  background: var(--ink);
}

.key-figure:hover {
  background: var(--accent);
}

.key-figure:hover strong,
.key-figure:hover span,
.key-figure:hover .figure-index {
  color: var(--ink);
}

.key-figure strong {
  font-size: clamp(2.1rem, 5vw, 4.8rem);
  line-height: 0.9;
}

.figure-index {
  left: 24px;
  right: auto;
  color: #d9a7b0;
}

.home-video-story,
.home-focus-section,
.to-be-video-section,
.image-break,
.about-statement,
.contact-section,
.solution-page-section,
.solution-index-intro,
.blog-section,
.services-section,
.service-detail-list {
  background:
    radial-gradient(circle at 90% 10%, rgba(112, 44, 54, 0.14), transparent 24%),
    linear-gradient(135deg, #fbfaf7 0%, #f1ece7 48%, #eef3f1 100%);
}

.home-video-story {
  color: #fff;
}

.home-video-frame {
  min-height: 420px;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.video-caption-panel {
  left: 0;
  right: 0;
  bottom: 0;
  border-width: 1px 0 0;
  background: rgba(6, 6, 6, 0.84);
}

.video-caption-panel h2 {
  color: #f0d7dc;
}

.section-heading h2 {
  color: var(--ink);
}

.section-heading p,
.section-copy p {
  color: var(--gray);
}

.home-video-story,
.to-be-video-section,
.image-break,
.about-statement {
  background:
    radial-gradient(circle at 86% 12%, rgba(112, 44, 54, 0.24), transparent 28%),
    linear-gradient(135deg, #141414 0%, #241218 52%, #163030 100%);
}

.home-focus-section {
  position: relative;
  overflow: hidden;
  padding-top: clamp(82px, 9vw, 132px);
  padding-bottom: clamp(58px, 7vw, 96px);
}

.home-focus-section::before {
  content: "";
  position: absolute;
  inset: -30% -20% auto auto;
  width: 52vw;
  height: 52vw;
  background: radial-gradient(circle, rgba(112, 44, 54, 0.18), transparent 64%);
  pointer-events: none;
}

.home-focus-section .section-heading {
  position: relative;
  z-index: 1;
  max-width: 1020px;
}

.home-focus-section .section-heading h2 {
  color: var(--wine);
}

.to-be-video-section {
  padding: 0 clamp(22px, 6vw, 84px) clamp(72px, 8vw, 118px);
}

.to-be-video-section .home-video-frame {
  min-height: clamp(420px, 56vw, 720px);
}

.home-video-copy h2,
.assembly-copy h2,
.image-break h2 {
  color: #fff;
}

.home-video-copy p,
.image-break p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.78);
}

.story-points span,
.value-row span {
  border-color: rgba(112, 44, 54, 0.54);
  color: #f0d7dc;
  background: rgba(112, 44, 54, 0.2);
}

.page-hero {
  color: #fff;
  background:
    radial-gradient(circle at 84% 14%, rgba(112, 44, 54, 0.3), transparent 28%),
    linear-gradient(135deg, #060606, #1e1115 52%, #111c1c);
}

.page-hero h1,
.media-hero h1 {
  color: #fff;
  max-width: 1040px;
  font-size: clamp(3.6rem, 12vw, 11rem);
  line-height: 0.78;
  letter-spacing: -0.02em;
}

.page-hero p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
}

.page-hero-overlay {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.24)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.52), rgba(0, 0, 0, 0.04));
}

.section {
  background: var(--smoke);
}

.service-card,
.blog-card,
.service-detail,
.solution-side-panel,
.contact-form,
.contact-panel {
  border: 1px solid rgba(6, 6, 6, 0.14);
  border-radius: 0;
  box-shadow: none;
}

.service-card {
  background: #fff;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.service-card:hover {
  color: var(--ink);
  color: #fff;
  background: var(--accent);
  transform: translateY(-8px);
  box-shadow: none;
}

.solution-overview-grid {
  gap: 0;
  border: 1px solid rgba(112, 44, 54, 0.32);
}

.solution-tile {
  min-height: 520px;
  border-radius: 0;
  box-shadow: none;
}

.solution-tile + .solution-tile {
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.solution-tile h3 {
  font-size: clamp(1.9rem, 3vw, 3.4rem);
  line-height: 0.96;
  text-transform: uppercase;
}

.solution-tile:hover h3 {
  color: #fff;
}

.solution-main-copy h2 {
  color: var(--ink);
}

.solution-main-copy p {
  color: var(--gray);
}

.solution-side-panel {
  border-left: 8px solid var(--accent);
  background: #fff;
}

.blog-card:hover,
.featured-post:hover {
  outline: 6px solid var(--accent);
  outline-offset: -6px;
}

.featured-post {
  border-radius: 0;
  background: var(--ink);
}

.contact-barcelona-overlay {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0.28)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.48), rgba(0, 0, 0, 0.04));
}

.site-footer {
  background: var(--ink);
  border-top: 10px solid var(--accent);
}

.social-link span {
  color: var(--ink);
  background: var(--accent);
}

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    background: var(--ink);
  }

  .home-hero {
    min-height: 92svh;
  }

  .home-hero-content {
    padding-top: 136px;
  }

  .home-hero h1,
  .page-hero h1,
  .media-hero h1 {
    font-size: clamp(3rem, 17vw, 5.4rem);
    line-height: 0.82;
  }

  .key-figure {
    min-height: 160px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .solution-tile {
    min-height: 390px;
  }
}

/* Ajustes finales de direccion visual */
body {
  background:
    radial-gradient(circle at 12% 8%, rgba(112, 44, 54, 0.12), transparent 30%),
    radial-gradient(circle at 86% 28%, rgba(25, 91, 91, 0.08), transparent 28%),
    linear-gradient(135deg, #fbfaf7 0%, #f1ece7 45%, #eef3f1 100%);
}

.nav-dropdown::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 18px;
}

.dropdown-menu {
  top: calc(100% + 1px);
}

.home-hero h1::after {
  transform: scaleX(calc(0.18 + (var(--hero-line-progress, 0) * 0.82)));
  transform-origin: left center;
  animation: none;
}

.hero-link-button,
.hero-link-button:hover {
  min-height: auto;
  padding: 0;
  color: var(--wine);
  border-color: transparent;
  background: transparent;
  text-decoration: none;
}

.hero-link-button:hover {
  color: var(--wine-dark);
  text-decoration: none;
}

.home-focus-section,
.to-be-video-section,
.services-section,
.blog-section,
.contact-section,
.solution-page-section,
.solution-index-intro,
.service-detail-list,
.section {
  background:
    radial-gradient(circle at 88% 12%, rgba(112, 44, 54, 0.16), transparent 28%),
    radial-gradient(circle at 12% 72%, rgba(25, 91, 91, 0.08), transparent 32%),
    linear-gradient(135deg, #fbfaf7 0%, #f2ede8 48%, #eef3f1 100%);
}

.to-be-video-section {
  padding-top: clamp(34px, 5vw, 76px);
}

.home-video-story,
.to-be-video-section,
.image-break,
.about-statement {
  background:
    radial-gradient(circle at 86% 12%, rgba(112, 44, 54, 0.2), transparent 28%),
    linear-gradient(135deg, #171717 0%, #26141a 52%, #183030 100%);
}

.page-hero,
.media-hero {
  min-height: calc(54vh - 71px);
}

.page-hero h1,
.media-hero h1 {
  max-width: 820px;
  font-size: clamp(2.55rem, 7vw, 6.7rem);
  line-height: 0.9;
}

.page-hero-overlay {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.48), rgba(0, 0, 0, 0.1)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.02));
}

.contact-barcelona-overlay {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.52), rgba(0, 0, 0, 0.18)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.34), rgba(0, 0, 0, 0.02));
}

.contact-barcelona-content h1 {
  font-size: clamp(2.55rem, 7vw, 6.7rem);
  line-height: 0.9;
}

.footer-cta {
  min-height: clamp(250px, 30vw, 390px);
  padding: clamp(30px, 4.5vw, 58px) clamp(22px, 6vw, 84px);
}

.footer-cta::after {
  background:
    linear-gradient(90deg, rgba(79, 29, 39, 0.54), rgba(0, 0, 0, 0.1)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.34), rgba(0, 0, 0, 0.02));
}

.footer-cta h2 {
  max-width: 780px;
  font-size: clamp(1.45rem, 3.1vw, 3.25rem);
  line-height: 1;
}

.footer-cta .button {
  min-height: 44px;
  padding: 10px 16px;
  font-size: 0.82rem;
}

@media (max-width: 760px) {
  .page-hero h1,
  .media-hero h1 {
    font-size: clamp(2.55rem, 13vw, 4.4rem);
  }
}

/* Ajuste blog y contacto */
.blog-section {
  gap: clamp(28px, 4vw, 52px);
}

.blog-intro {
  max-width: 940px;
}

.blog-intro h2 {
  max-width: 760px;
  margin-bottom: 18px;
  color: var(--wine);
  font-size: clamp(2rem, 4.6vw, 5rem);
  line-height: 0.96;
}

.blog-intro p:not(.eyebrow) {
  max-width: 680px;
  color: var(--gray);
  font-size: 1.05rem;
}

.featured-post {
  background:
    linear-gradient(135deg, rgba(79, 29, 39, 0.94), rgba(20, 20, 20, 0.92)),
    radial-gradient(circle at 92% 20%, rgba(240, 215, 220, 0.22), transparent 28%);
  color: #fff;
}

.featured-post h2,
.featured-post p {
  color: #fff;
}

.featured-post .post-meta {
  color: #f0d7dc;
}

.featured-post .button {
  color: var(--wine);
  background: #fff;
  border-color: #fff;
}

.blog-card {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(246, 241, 235, 0.68)),
    radial-gradient(circle at 92% 10%, rgba(112, 44, 54, 0.2), transparent 30%);
  transition: transform 220ms ease, background 220ms ease;
}

.blog-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-top: 8px solid var(--wine);
  opacity: 0.92;
  pointer-events: none;
}

.blog-card strong {
  color: rgba(112, 44, 54, 0.22);
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 0.78;
}

.blog-card:hover {
  transform: translateY(-8px);
}

.contact-barcelona-hero {
  min-height: calc(66vh - 71px);
  align-items: end;
}

.contact-barcelona-content {
  align-items: end;
}

.contact-barcelona-content p:not(.eyebrow) {
  max-width: 560px;
}

.contact-map-card {
  min-height: 270px;
  display: grid;
  align-content: end;
  gap: 8px;
  padding: clamp(22px, 3vw, 34px);
  color: var(--wine);
  text-decoration: none;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(246, 241, 235, 0.72)),
    radial-gradient(circle at 86% 16%, rgba(112, 44, 54, 0.22), transparent 34%);
  border: 1px solid rgba(255, 255, 255, 0.48);
}

.contact-map-card span {
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-map-card strong {
  max-width: 340px;
  color: var(--wine);
  font-size: clamp(1.35rem, 3vw, 2.25rem);
  line-height: 1;
}

.contact-map-card small {
  color: var(--graphite);
  font-style: normal;
}

.contact-map-card em {
  width: fit-content;
  margin-top: 18px;
  color: var(--wine);
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-bottom: 2px solid currentColor;
}

.contact-section {
  align-items: stretch;
}

.contact-form,
.contact-panel {
  background: rgba(255, 255, 255, 0.7);
}

.contact-panel {
  position: sticky;
  top: 106px;
  min-height: 280px;
  align-content: start;
}

@media (max-width: 980px) {
  .contact-panel {
    position: static;
  }
}

.home-hero .hero-actions .hero-link-button,
.home-hero .hero-actions .hero-link-button:visited,
.home-hero .hero-actions .hero-link-button:hover,
.home-hero .hero-actions .hero-link-button:focus-visible {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  min-height: 44px !important;
  padding: 10px 16px !important;
  color: #fff !important;
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
  outline: 0 !important;
  text-decoration: none !important;
  font-weight: 900 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.home-hero .hero-actions .hero-link-button::after {
  content: "";
  display: inline-block;
  width: 34px;
  height: 14px;
  background-color: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg width='34' height='14' viewBox='0 0 34 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 7H31M31 7L24.5 1M31 7L24.5 13' stroke='black' stroke-width='2'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg width='34' height='14' viewBox='0 0 34 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 7H31M31 7L24.5 1M31 7L24.5 13' stroke='black' stroke-width='2'/%3E%3C/svg%3E") center / contain no-repeat;
  transform: translateX(0);
  transition: background-color 180ms ease, transform 180ms ease;
}

.home-hero .hero-actions .hero-link-button:hover,
.home-hero .hero-actions .hero-link-button:focus-visible {
  color: #fff !important;
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  text-decoration: none !important;
}

.home-hero .hero-actions .hero-link-button:hover::after,
.home-hero .hero-actions .hero-link-button:focus-visible::after {
  background-color: #fff;
  transform: translateX(4px);
}

/* Transiciones difundidas entre bloques */
main > section,
.footer-cta,
.site-footer {
  position: relative;
}

main > section:not(.home-hero)::before,
.footer-cta::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  height: clamp(70px, 9vw, 150px);
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(6, 6, 6, 0.16), rgba(251, 250, 247, 0));
}

main > section > *,
.footer-cta > * {
  position: relative;
  z-index: 2;
}

.home-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: clamp(110px, 16vw, 240px);
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(6, 6, 6, 0), rgba(6, 6, 6, 0.96) 78%, rgba(6, 6, 6, 1));
}

.home-diamond-section {
  min-height: clamp(620px, 78vw, 940px);
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(420px, 1fr);
  align-items: center;
  gap: clamp(34px, 6vw, 96px);
  overflow: hidden;
  padding: clamp(96px, 12vw, 170px) clamp(22px, 6vw, 84px) clamp(82px, 9vw, 140px);
  color: #fff;
  background:
    linear-gradient(180deg, #060606 0%, rgba(6, 6, 6, 0.88) 14%, rgba(79, 29, 39, 0.2) 48%, rgba(251, 250, 247, 0.96) 100%),
    linear-gradient(110deg, rgba(6, 6, 6, 0.96) 0%, rgba(6, 6, 6, 0.82) 37%, rgba(112, 44, 54, 0.34) 100%),
    url("assets/foto-arboles-home.png?v=1f80be31aa") center / cover no-repeat;
}

.home-diamond-section::before {
  content: "";
  position: absolute;
  inset: 0;
  width: auto;
  height: auto;
  z-index: 1;
  background:
    radial-gradient(circle at 74% 35%, rgba(112, 44, 54, 0.44), transparent 32%),
    radial-gradient(circle at 20% 78%, rgba(251, 250, 247, 0.62), transparent 34%),
    linear-gradient(90deg, rgba(6, 6, 6, 0.78), rgba(6, 6, 6, 0.18));
  pointer-events: none;
}

.home-focus-copy {
  max-width: 620px;
}

.home-focus-copy .eyebrow {
  color: #f0d7dc;
}

.home-focus-copy h2 {
  margin-bottom: 22px;
  color: #fff;
  font-size: clamp(2.55rem, 6vw, 6.4rem);
  line-height: 0.9;
  text-transform: uppercase;
}

.home-focus-copy p:not(.eyebrow) {
  max-width: 500px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
}

.diamond-service-field {
  min-height: clamp(430px, 48vw, 680px);
  display: grid;
  grid-template-columns: repeat(3, minmax(118px, 1fr));
  grid-template-rows: repeat(3, minmax(118px, 1fr));
  gap: clamp(12px, 1.7vw, 24px);
  align-items: center;
  justify-items: center;
}

.honeycomb-field {
  --hex: clamp(108px, 11vw, 168px);
  --hex-gap: clamp(8px, 0.9vw, 14px);
  min-height: calc(var(--hex) * 4.7);
  width: min(100%, calc(var(--hex) * 4.95));
  justify-self: center;
  display: block;
  position: relative;
}

.honeycomb-cell {
  position: absolute;
  width: var(--hex);
  aspect-ratio: 1.12 / 1;
  display: grid;
  place-items: center;
  clip-path: polygon(25% 4%, 75% 4%, 100% 50%, 75% 96%, 25% 96%, 0% 50%);
}

.honeycomb-photo {
  background-image: url("assets/foto-arboles-home.png?v=1f80be31aa");
  background-size: calc(var(--hex) * 5.2) calc(var(--hex) * 4.8);
  background-repeat: no-repeat;
  filter: saturate(0.92) contrast(1.04);
}

.honeycomb-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(112, 44, 54, 0.12));
}

.honeycomb-photo-one {
  left: calc(var(--hex) * 1.05);
  top: 0;
  background-position: 18% 8%;
}

.honeycomb-photo-two {
  left: calc(var(--hex) * 2.28);
  top: 0;
  background-position: 48% 8%;
}

.honeycomb-photo-three {
  left: calc(var(--hex) * 0.43);
  top: calc(var(--hex) * 0.88);
  background-position: 6% 28%;
}

.honeycomb-photo-four {
  left: calc(var(--hex) * 1.66);
  top: calc(var(--hex) * 0.88);
  background-position: 35% 28%;
}

.honeycomb-photo-five {
  left: calc(var(--hex) * 2.89);
  top: calc(var(--hex) * 0.88);
  background-position: 66% 28%;
}

.honeycomb-photo-six {
  left: calc(var(--hex) * 0);
  top: calc(var(--hex) * 1.76);
  background-position: 0% 52%;
}

.honeycomb-photo-seven {
  left: calc(var(--hex) * 1.05);
  top: calc(var(--hex) * 3.52);
  background-position: 24% 94%;
}

.honeycomb-photo-eight {
  left: calc(var(--hex) * 2.28);
  top: calc(var(--hex) * 3.52);
  background-position: 54% 94%;
}

.diamond-service {
  width: var(--hex);
  padding: clamp(16px, 2vw, 24px);
  color: #fff;
  text-align: center;
  text-decoration: none;
  background:
    radial-gradient(circle at 50% 50%, rgba(240, 110, 38, 0.2), transparent 44%),
    linear-gradient(135deg, rgba(30, 45, 48, 0.96), rgba(19, 25, 27, 0.94));
  border: 0;
  backdrop-filter: blur(8px);
  transition: transform 220ms ease, background 220ms ease;
}

.diamond-service::before {
  content: "";
  position: absolute;
  inset: 22%;
  border: 8px dotted var(--accent);
  clip-path: inherit;
  opacity: 0.9;
}

.diamond-service span {
  position: relative;
  z-index: 1;
  max-width: 116px;
  font-size: clamp(0.66rem, 0.95vw, 0.82rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.diamond-service:hover {
  transform: translateY(-8px) scale(1.03);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(240, 215, 220, 0.86));
  color: var(--wine);
}

.diamond-service-one {
  left: calc(var(--hex) * 3.51);
  top: calc(var(--hex) * 1.76);
}

.diamond-service-two {
  left: calc(var(--hex) * 0.43);
  top: calc(var(--hex) * 2.64);
}

.diamond-service-three {
  left: calc(var(--hex) * 1.66);
  top: calc(var(--hex) * 2.64);
}

.diamond-service-four {
  left: calc(var(--hex) * 2.89);
  top: calc(var(--hex) * 2.64);
}

.to-be-video-section {
  margin-top: -1px;
  background:
    linear-gradient(180deg, rgba(251, 250, 247, 0.95), rgba(23, 23, 23, 0.96) 18%, #171717 100%),
    radial-gradient(circle at 80% 12%, rgba(112, 44, 54, 0.2), transparent 28%);
}

.services-section,
.blog-section,
.contact-section,
.solution-page-section,
.solution-index-intro,
.service-detail-list,
.section {
  background:
    linear-gradient(180deg, rgba(251, 250, 247, 0.1), rgba(251, 250, 247, 0.72) 12%, rgba(238, 243, 241, 0.78) 100%),
    radial-gradient(circle at 88% 12%, rgba(112, 44, 54, 0.15), transparent 30%),
    radial-gradient(circle at 12% 78%, rgba(25, 91, 91, 0.08), transparent 34%),
    linear-gradient(135deg, #fbfaf7 0%, #f2ede8 48%, #eef3f1 100%);
}

@media (max-width: 980px) {
  .home-diamond-section {
    grid-template-columns: 1fr;
  }

  .diamond-service-field {
    min-height: auto;
    grid-template-columns: repeat(2, minmax(130px, 1fr));
    grid-template-rows: auto;
  }

  .honeycomb-field {
    min-height: calc(var(--hex) * 5);
  }

  .diamond-service-one,
  .diamond-service-two,
  .diamond-service-three,
  .diamond-service-four {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 620px) {
  .home-diamond-section {
    padding-top: 110px;
  }

  .diamond-service-field {
    grid-template-columns: 1fr;
  }

  .honeycomb-field {
    --hex: min(28vw, 118px);
    min-height: calc(var(--hex) * 5.1);
  }
}

/* Home enfoque: composicion tipo referencia Figma */
.home-diamond-section {
  min-height: clamp(520px, 58vw, 760px);
  grid-template-columns: minmax(300px, 0.78fr) minmax(460px, 1.05fr);
  gap: 0;
  padding: clamp(78px, 9vw, 118px) clamp(22px, 6vw, 84px) clamp(72px, 8vw, 110px);
  color: var(--graphite);
  background:
    linear-gradient(180deg, rgba(6, 6, 6, 0.98) 0%, rgba(6, 6, 6, 0) 13%),
    linear-gradient(180deg, rgba(251, 250, 247, 0) 74%, rgba(79, 29, 39, 0.96) 100%),
    linear-gradient(90deg, #f7f3ee 0%, #f7f3ee 43%, #fff 43%, #fff 100%);
}

.home-diamond-section::before {
  inset: 0;
  width: auto;
  height: auto;
  background:
    radial-gradient(circle at 92% 16%, rgba(112, 44, 54, 0.08), transparent 24%),
    linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(238, 243, 241, 0.38) 100%);
}

.home-focus-copy {
  max-width: 610px;
  padding-right: clamp(28px, 4vw, 70px);
}

.home-focus-copy .eyebrow {
  color: var(--wine);
}

.home-focus-copy h2 {
  margin-bottom: 20px;
  color: var(--wine);
  font-size: clamp(2.25rem, 4.5vw, 4.9rem);
  line-height: 0.86;
}

.home-focus-copy p:not(.eyebrow) {
  max-width: 520px;
  color: rgba(43, 43, 43, 0.72);
  font-size: 0.96rem;
}

.honeycomb-field {
  --hex: clamp(86px, 8.8vw, 132px);
  min-height: calc(var(--hex) * 3.95);
  width: min(100%, calc(var(--hex) * 5.15));
  transform: translateX(clamp(-18px, -1.2vw, -8px));
}

.honeycomb-field::before {
  content: "";
  position: absolute;
  inset: -42px -7vw -42px -42px;
  z-index: -1;
  background: #fff;
}

.honeycomb-photo-one {
  left: calc(var(--hex) * 0.92);
  top: 0;
  background-position: 18% 6%;
}

.honeycomb-photo-two {
  left: calc(var(--hex) * 2.02);
  top: 0;
  background-position: 42% 6%;
}

.honeycomb-photo-three {
  left: calc(var(--hex) * 0.36);
  top: calc(var(--hex) * 0.82);
  background-position: 6% 28%;
}

.honeycomb-photo-four {
  left: calc(var(--hex) * 1.46);
  top: calc(var(--hex) * 0.82);
  background-position: 30% 28%;
}

.honeycomb-photo-five {
  left: calc(var(--hex) * 2.56);
  top: calc(var(--hex) * 0.82);
  background-position: 54% 28%;
}

.honeycomb-photo-six {
  left: 0;
  top: calc(var(--hex) * 1.64);
  background-position: 0% 52%;
}

.honeycomb-photo-seven {
  left: calc(var(--hex) * 1.1);
  top: calc(var(--hex) * 1.64);
  background-position: 24% 52%;
}

.honeycomb-photo-eight {
  left: calc(var(--hex) * 2.2);
  top: calc(var(--hex) * 1.64);
  background-position: 48% 52%;
}

.honeycomb-photo-nine {
  left: calc(var(--hex) * 3.3);
  top: calc(var(--hex) * 1.64);
  background-position: 72% 52%;
}

.honeycomb-photo-ten {
  left: calc(var(--hex) * 0.92);
  top: calc(var(--hex) * 2.46);
  background-position: 18% 78%;
}

.honeycomb-photo-eleven {
  left: calc(var(--hex) * 2.02);
  top: calc(var(--hex) * 2.46);
  background-position: 42% 78%;
}

.honeycomb-photo-twelve {
  left: calc(var(--hex) * 3.12);
  top: calc(var(--hex) * 2.46);
  background-position: 66% 78%;
}

.diamond-service span {
  max-width: 104px;
  font-size: clamp(0.58rem, 0.82vw, 0.76rem);
}

.diamond-service-one {
  left: calc(var(--hex) * 2.58);
  top: 0;
}

.diamond-service-two {
  left: calc(var(--hex) * 2.58);
  top: calc(var(--hex) * 0.82);
}

.diamond-service-three {
  left: calc(var(--hex) * 1.48);
  top: calc(var(--hex) * 1.64);
}

.diamond-service-four {
  left: calc(var(--hex) * 2.58);
  top: calc(var(--hex) * 1.64);
}

@media (max-width: 980px) {
  .home-diamond-section {
    grid-template-columns: 1fr;
    background:
      linear-gradient(180deg, rgba(6, 6, 6, 0.98) 0%, rgba(6, 6, 6, 0) 10%),
      linear-gradient(180deg, rgba(251, 250, 247, 0) 82%, rgba(79, 29, 39, 0.96) 100%),
      #f7f3ee;
  }

  .honeycomb-field {
    justify-self: start;
    transform: none;
  }
}

/* Ajuste limpio del bloque enfoque/panal */
.home-diamond-section {
  min-height: auto;
  grid-template-columns: minmax(300px, 0.82fr) minmax(420px, 1fr);
  align-items: center;
  gap: clamp(30px, 5vw, 76px);
  padding: clamp(82px, 9vw, 120px) clamp(22px, 6vw, 84px);
  background: #f7f3ee;
}

.home-diamond-section::before,
.home-diamond-section::after {
  display: none;
}

main > section:not(.home-hero)::before {
  display: none;
}

.home-focus-copy {
  align-self: center;
  max-width: 650px;
  padding-right: 0;
}

.honeycomb-field {
  --hex: clamp(78px, 8.2vw, 122px);
  width: min(100%, calc(var(--hex) * 4.75));
  min-height: calc(var(--hex) * 3.85);
  justify-self: center;
  align-self: center;
  transform: none;
}

.honeycomb-field::before {
  display: none;
}

.honeycomb-cell {
  width: var(--hex);
  aspect-ratio: 1.12 / 1;
  filter: drop-shadow(0 12px 18px rgba(6, 6, 6, 0.08));
}

.honeycomb-photo {
  background-size: calc(var(--hex) * 4.35) calc(var(--hex) * 3.45);
}

.honeycomb-photo-one {
  left: calc(var(--hex) * 0.9);
  top: calc(var(--hex) * 0.02);
  background-position: 18% 0%;
}

.honeycomb-photo-two {
  left: calc(var(--hex) * 2.02);
  top: calc(var(--hex) * 0.08);
  background-position: 42% 0%;
}

.honeycomb-photo-three {
  left: calc(var(--hex) * 0.24);
  top: calc(var(--hex) * 0.86);
  background-position: 6% 26%;
}

.honeycomb-photo-four {
  left: calc(var(--hex) * 1.36);
  top: calc(var(--hex) * 0.78);
  background-position: 30% 26%;
}

.honeycomb-photo-five {
  left: calc(var(--hex) * 2.48);
  top: calc(var(--hex) * 0.92);
  background-position: 54% 26%;
}

.honeycomb-photo-six {
  left: calc(var(--hex) * -0.1);
  top: calc(var(--hex) * 1.78);
  background-position: 0% 52%;
}

.honeycomb-photo-seven {
  left: calc(var(--hex) * 1.02);
  top: calc(var(--hex) * 1.68);
  background-position: 24% 52%;
}

.honeycomb-photo-eight {
  left: calc(var(--hex) * 2.14);
  top: calc(var(--hex) * 1.76);
  background-position: 48% 52%;
}

.honeycomb-photo-nine {
  left: calc(var(--hex) * 3.26);
  top: calc(var(--hex) * 1.52);
  background-position: 72% 52%;
}

.honeycomb-photo-ten {
  left: calc(var(--hex) * 0.72);
  top: calc(var(--hex) * 2.62);
  background-position: 12% 78%;
}

.honeycomb-photo-eleven {
  left: calc(var(--hex) * 1.84);
  top: calc(var(--hex) * 2.52);
  background-position: 38% 78%;
}

.honeycomb-photo-twelve {
  left: calc(var(--hex) * 2.96);
  top: calc(var(--hex) * 2.62);
  background-position: 64% 78%;
}

@media (max-width: 980px) {
  .home-diamond-section {
    grid-template-columns: minmax(0, 0.9fr) minmax(240px, 0.8fr);
    gap: 18px;
  }

  .honeycomb-field {
    --hex: clamp(54px, 8vw, 88px);
    justify-self: end;
  }
}

@media (max-width: 620px) {
  .home-diamond-section {
    grid-template-columns: minmax(0, 0.9fr) minmax(170px, 0.8fr);
    gap: 12px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .home-focus-copy h2 {
    font-size: clamp(1.45rem, 7vw, 2.3rem);
  }

  .home-focus-copy p:not(.eyebrow) {
    font-size: 0.82rem;
    line-height: 1.45;
  }

  .honeycomb-field {
    --hex: clamp(38px, 10vw, 62px);
  }
}

/* Panal ordenado y de mayor tamano */
.honeycomb-field {
  --hex: clamp(98px, 9.2vw, 148px);
  --step-x: calc(var(--hex) * 0.76);
  --step-y: calc(var(--hex) * 0.45);
  width: min(100%, calc(var(--hex) * 4.35));
  min-height: calc(var(--hex) * 3.65);
}

.honeycomb-photo {
  background-size: calc(var(--hex) * 4.72) calc(var(--hex) * 3.78);
}

.honeycomb-photo-one {
  left: calc(var(--step-x) * 1);
  top: 0;
  background-position: 18% 0%;
}

.honeycomb-photo-two {
  left: calc(var(--step-x) * 2);
  top: var(--step-y);
  background-position: 42% 0%;
}

.honeycomb-photo-three {
  left: calc(var(--step-x) * 3);
  top: 0;
  background-position: 6% 26%;
}

.honeycomb-photo-four {
  left: calc(var(--step-x) * 0);
  top: calc(var(--step-y) * 2);
  background-position: 30% 26%;
}

.honeycomb-photo-five {
  left: calc(var(--step-x) * 1);
  top: calc(var(--step-y) * 3);
  background-position: 54% 26%;
}

.honeycomb-photo-six {
  left: calc(var(--step-x) * 2);
  top: calc(var(--step-y) * 4);
  background-position: 0% 52%;
}

.honeycomb-photo-seven {
  left: calc(var(--step-x) * 3);
  top: calc(var(--step-y) * 3);
  background-position: 24% 52%;
}

.honeycomb-photo-eight {
  left: calc(var(--step-x) * 4);
  top: calc(var(--step-y) * 2);
  background-position: 48% 52%;
}

.honeycomb-photo-nine {
  left: calc(var(--step-x) * 0);
  top: calc(var(--step-y) * 6);
  background-position: 72% 52%;
}

.honeycomb-photo-ten {
  left: calc(var(--step-x) * 1);
  top: calc(var(--step-y) * 7);
  background-position: 12% 78%;
}

.honeycomb-photo-eleven {
  left: calc(var(--step-x) * 2);
  top: calc(var(--step-y) * 8);
  background-position: 38% 78%;
}

.honeycomb-photo-twelve {
  left: calc(var(--step-x) * 3);
  top: calc(var(--step-y) * 7);
  background-position: 64% 78%;
}

@media (max-width: 980px) {
  .honeycomb-field {
    --hex: clamp(64px, 8.6vw, 96px);
  }
}

@media (max-width: 620px) {
  .honeycomb-field {
    --hex: clamp(44px, 11vw, 68px);
  }
}

/* Panal compacto: piezas alineadas y con sentido visual */
.honeycomb-field {
  --hex: clamp(96px, 8.8vw, 138px);
  --step-x: calc(var(--hex) * 0.84);
  --step-y: calc(var(--hex) * 0.72);
  width: min(100%, calc(var(--hex) * 3.96));
  min-height: calc(var(--hex) * 3.16);
}

.honeycomb-photo {
  background-size: calc(var(--hex) * 3.96) calc(var(--hex) * 3.16);
}

.honeycomb-photo-one {
  left: calc(var(--step-x) * 0.5);
  top: 0;
  background-position: 10% 0%;
}

.honeycomb-photo-two {
  left: calc(var(--step-x) * 1.5);
  top: 0;
  background-position: 38% 0%;
}

.honeycomb-photo-three {
  left: calc(var(--step-x) * 2.5);
  top: 0;
  background-position: 66% 0%;
}

.honeycomb-photo-four {
  left: 0;
  top: var(--step-y);
  background-position: 0% 32%;
}

.honeycomb-photo-five {
  left: var(--step-x);
  top: var(--step-y);
  background-position: 28% 32%;
}

.honeycomb-photo-six {
  left: calc(var(--step-x) * 2);
  top: var(--step-y);
  background-position: 56% 32%;
}

.honeycomb-photo-seven {
  left: calc(var(--step-x) * 3);
  top: var(--step-y);
  background-position: 84% 32%;
}

.honeycomb-photo-eight {
  left: calc(var(--step-x) * 0.5);
  top: calc(var(--step-y) * 2);
  background-position: 10% 64%;
}

.honeycomb-photo-nine {
  left: calc(var(--step-x) * 1.5);
  top: calc(var(--step-y) * 2);
  background-position: 38% 64%;
}

.honeycomb-photo-ten {
  left: calc(var(--step-x) * 2.5);
  top: calc(var(--step-y) * 2);
  background-position: 66% 64%;
}

.honeycomb-photo-eleven {
  left: var(--step-x);
  top: calc(var(--step-y) * 3);
  background-position: 28% 100%;
}

.honeycomb-photo-twelve {
  left: calc(var(--step-x) * 2);
  top: calc(var(--step-y) * 3);
  background-position: 56% 100%;
}

@media (max-width: 980px) {
  .honeycomb-field {
    --hex: clamp(62px, 8.2vw, 92px);
  }
}

@media (max-width: 620px) {
  .honeycomb-field {
    --hex: clamp(42px, 10.6vw, 64px);
  }
}

/* Panal ampliado, menos alineado y mas natural */
.honeycomb-field {
  --hex: clamp(82px, 7.8vw, 122px);
  --step-x: calc(var(--hex) * 0.82);
  --step-y: calc(var(--hex) * 0.69);
  width: min(100%, calc(var(--hex) * 5.05));
  min-height: calc(var(--hex) * 4.1);
}

.honeycomb-photo {
  background-size: calc(var(--hex) * 5.05) calc(var(--hex) * 4.1);
}

.honeycomb-photo-one {
  left: calc(var(--step-x) * 1.1);
  top: 0;
  background-position: 15% 0%;
}

.honeycomb-photo-two {
  left: calc(var(--step-x) * 2.15);
  top: calc(var(--step-y) * 0.08);
  background-position: 35% 0%;
}

.honeycomb-photo-three {
  left: calc(var(--step-x) * 3.2);
  top: calc(var(--step-y) * 0.02);
  background-position: 55% 0%;
}

.honeycomb-photo-four {
  left: calc(var(--step-x) * 0.55);
  top: calc(var(--step-y) * 0.92);
  background-position: 6% 24%;
}

.honeycomb-photo-five {
  left: calc(var(--step-x) * 1.6);
  top: var(--step-y);
  background-position: 26% 24%;
}

.honeycomb-photo-six {
  left: calc(var(--step-x) * 2.65);
  top: calc(var(--step-y) * 0.94);
  background-position: 46% 24%;
}

.honeycomb-photo-seven {
  left: calc(var(--step-x) * 3.7);
  top: calc(var(--step-y) * 1.02);
  background-position: 66% 24%;
}

.honeycomb-photo-eight {
  left: 0;
  top: calc(var(--step-y) * 1.86);
  background-position: 0% 50%;
}

.honeycomb-photo-nine {
  left: calc(var(--step-x) * 1.05);
  top: calc(var(--step-y) * 1.94);
  background-position: 20% 50%;
}

.honeycomb-photo-ten {
  left: calc(var(--step-x) * 2.1);
  top: calc(var(--step-y) * 1.86);
  background-position: 40% 50%;
}

.honeycomb-photo-eleven {
  left: calc(var(--step-x) * 3.15);
  top: calc(var(--step-y) * 1.94);
  background-position: 60% 50%;
}

.honeycomb-photo-twelve {
  left: calc(var(--step-x) * 4.2);
  top: calc(var(--step-y) * 1.86);
  background-position: 80% 50%;
}

.honeycomb-photo-thirteen {
  left: calc(var(--step-x) * 0.62);
  top: calc(var(--step-y) * 2.85);
  background-position: 10% 76%;
}

.honeycomb-photo-fourteen {
  left: calc(var(--step-x) * 1.68);
  top: calc(var(--step-y) * 2.78);
  background-position: 32% 76%;
}

.honeycomb-photo-fifteen {
  left: calc(var(--step-x) * 2.74);
  top: calc(var(--step-y) * 2.86);
  background-position: 54% 76%;
}

.honeycomb-photo-sixteen {
  left: calc(var(--step-x) * 3.8);
  top: calc(var(--step-y) * 2.76);
  background-position: 76% 76%;
}

@media (max-width: 980px) {
  .honeycomb-field {
    --hex: clamp(54px, 7.4vw, 82px);
  }
}

@media (max-width: 620px) {
  .honeycomb-field {
    --hex: clamp(36px, 9.2vw, 54px);
  }
}

/* Seccion To Be compacta */
.to-be-video-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(320px, 0.88fr);
  align-items: center;
  gap: clamp(30px, 5vw, 78px);
  padding: clamp(78px, 9vw, 125px) clamp(22px, 6vw, 84px);
  background:
    linear-gradient(180deg, #f7f3ee 0%, #3d242c 34%, #171717 100%);
}

.to-be-copy {
  max-width: 650px;
}

.to-be-copy .eyebrow {
  color: #f0d7dc;
}

.to-be-copy h2 {
  max-width: 640px;
  margin: 0;
  color: #fff;
  font-size: clamp(2.1rem, 4.7vw, 5.4rem);
  line-height: 0.92;
  text-transform: uppercase;
}

.to-be-video-section .home-video-frame {
  min-height: 0;
  width: min(100%, 560px);
  justify-self: end;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
}

.to-be-video-section .home-video-frame video {
  width: 100%;
  min-height: 0;
  height: clamp(240px, 28vw, 380px);
  object-fit: cover;
}

.to-be-video-section .video-caption-panel {
  display: none;
}

@media (max-width: 820px) {
  .to-be-video-section {
    grid-template-columns: 1fr;
  }

  .to-be-video-section .home-video-frame {
    justify-self: start;
  }
}

/* Nosotros: arbol del conocimiento */
.knowledge-tree-section {
  --tree-green: #616160;
  --tree-green-light: #8f8c8c;
  position: relative;
  padding: clamp(56px, 6.5vw, 92px) clamp(22px, 6vw, 92px);
  overflow: clip;
  color: #231f20;
  background:
    radial-gradient(circle at 74% 31%, rgba(83, 120, 102, 0.09), transparent 28%),
    linear-gradient(180deg, #f8f7f4 0%, #fff 44%, #f4f5f1 100%);
}

.knowledge-tree-header {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto clamp(16px, 2vw, 28px);
  text-align: center;
}

.knowledge-tree-header .eyebrow {
  color: var(--tree-green);
}

.knowledge-tree-header h2 {
  max-width: none;
  margin: 0;
  color: var(--wine);
  font-size: clamp(3.1rem, 6.6vw, 6.8rem);
  line-height: 0.88;
  letter-spacing: 0;
}

.knowledge-tree-header > p:last-child {
  max-width: 650px;
  margin: clamp(18px, 2vw, 28px) auto 0;
  color: rgba(35, 31, 32, 0.7);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.65;
}

.knowledge-tree-layout {
  width: min(1380px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
  align-items: center;
  gap: clamp(26px, 4vw, 62px);
  margin: 0 auto;
}

.knowledge-tree-visual {
  position: relative;
  width: min(620px, 92%);
  aspect-ratio: 820 / 900;
  justify-self: center;
  isolation: isolate;
}

.knowledge-tree-visual::before {
  content: "";
  position: absolute;
  inset: 9% 10% 3%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(83, 120, 102, 0.075), transparent 66%);
  opacity: 0;
  transform: scale(0.88);
  transition: opacity 900ms ease 300ms, transform 1200ms cubic-bezier(0.22, 1, 0.36, 1) 200ms;
}

.knowledge-tree-section.is-visible .knowledge-tree-visual::before {
  opacity: 1;
  transform: scale(1);
}

.knowledge-tree-svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

.tree-part path {
  fill: none;
  stroke: #777c78;
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 980;
  stroke-dashoffset: 980;
  transition: stroke 320ms ease, stroke-width 320ms ease, filter 320ms ease;
}

.knowledge-tree-section.is-visible .tree-part path {
  animation: knowledgeTreeDraw 1.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.knowledge-tree-section.is-visible .tree-part-trunk path {
  animation-delay: 180ms;
}

.knowledge-tree-section.is-visible .tree-part-branches path {
  animation-delay: 430ms;
}

.tree-organic-roots path,
.tree-organic-branches path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1100;
  stroke-dashoffset: 1100;
}

.tree-organic-roots path {
  stroke: rgba(54, 50, 51, 0.82);
  stroke-width: 10;
}

.tree-organic-roots path:nth-child(2n) {
  stroke: rgba(112, 44, 54, 0.78);
  stroke-width: 7;
}

.tree-organic-trunk path {
  fill: rgba(112, 44, 54, 0.9);
  opacity: 0;
  transform-box: fill-box;
  transform-origin: 50% 100%;
  transform: scaleY(0.2);
}

.tree-organic-branches path {
  stroke: rgba(112, 44, 54, 0.78);
  stroke-width: 13;
}

.tree-organic-branches path:nth-child(even) {
  stroke: rgba(97, 97, 96, 0.74);
  stroke-width: 9;
}

.tree-organic-branches path:nth-child(3n) {
  stroke-width: 7;
}

.knowledge-tree-section.is-visible .tree-organic-roots path,
.knowledge-tree-section.is-visible .tree-organic-branches path {
  animation: treeOrganicDraw 1.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.knowledge-tree-section.is-visible .tree-organic-branches path {
  animation-delay: 260ms;
}

.knowledge-tree-section.is-visible .tree-organic-trunk path {
  animation: treeTrunkGrow 1.05s cubic-bezier(0.22, 1, 0.36, 1) 80ms forwards;
}

.tree-part-leaves circle {
  --leaf-rotation: -32deg;
  fill: var(--tree-green-light);
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  clip-path: polygon(0 50%, 12% 25%, 38% 6%, 68% 9%, 100% 50%, 68% 91%, 38% 94%, 12% 75%);
  transform: rotate(var(--leaf-rotation)) scaleX(0.24) scaleY(0.12);
  transition: fill 320ms ease, filter 320ms ease;
}

.tree-part-leaves circle:nth-child(4n + 2) {
  --leaf-rotation: 34deg;
}

.tree-part-leaves circle:nth-child(4n + 3) {
  --leaf-rotation: -8deg;
}

.tree-part-leaves circle:nth-child(4n) {
  --leaf-rotation: 56deg;
}

.knowledge-tree-section.is-visible .tree-part-leaves circle {
  animation: knowledgeLeafIn 620ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(680ms + var(--leaf-delay, 0ms));
}

.tree-part-leaves circle:nth-child(3n + 1) {
  --leaf-delay: 80ms;
}

.tree-part-leaves circle:nth-child(3n + 2) {
  --leaf-delay: 190ms;
}

.tree-part-leaves circle:nth-child(3n) {
  --leaf-delay: 300ms;
}

.tree-node-network circle {
  fill: var(--wine);
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}

.knowledge-tree-section.is-visible .tree-node-network circle {
  animation: knowledgeNodeIn 520ms ease forwards, knowledgeNodePulse 3.8s ease-in-out 1.5s infinite;
  animation-delay: 880ms, 1.5s;
}

.knowledge-tree-section[data-active-zone="roots"] [data-tree-part="roots"] path,
.knowledge-tree-section[data-active-zone="trunk"] [data-tree-part="trunk"] path,
.knowledge-tree-section[data-active-zone="branches"] [data-tree-part="branches"] path {
  stroke: var(--wine);
  stroke-width: 5.4;
  filter: drop-shadow(0 0 8px rgba(112, 44, 54, 0.24));
}

.knowledge-tree-section[data-active-zone="roots"] [data-tree-organic="roots"] path,
.knowledge-tree-section[data-active-zone="branches"] [data-tree-organic="branches"] path {
  stroke: var(--wine);
  filter: drop-shadow(0 0 8px rgba(112, 44, 54, 0.22));
}

.knowledge-tree-section[data-active-zone="trunk"] [data-tree-organic="trunk"] path {
  fill: var(--wine);
  filter: drop-shadow(0 0 8px rgba(112, 44, 54, 0.2));
}

.knowledge-tree-section[data-active-zone="leaves"] [data-tree-part="leaves"] circle {
  fill: var(--wine);
  filter: drop-shadow(0 0 8px rgba(112, 44, 54, 0.22));
}

.tree-zone {
  position: absolute;
  z-index: 5;
  width: min(230px, 34%);
  display: grid;
  gap: 3px;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid rgba(35, 31, 32, 0.24);
  color: #231f20;
  text-align: left;
  background: transparent;
  cursor: pointer;
  transition: color 200ms ease, border-color 200ms ease, transform 200ms ease;
}

.tree-zone span {
  color: var(--tree-green);
  font-size: 0.68rem;
  font-weight: 850;
  text-transform: uppercase;
}

.tree-zone strong {
  font-size: clamp(0.78rem, 1.2vw, 1rem);
  line-height: 1.15;
}

.tree-zone:hover,
.tree-zone:focus-visible,
.tree-zone[aria-pressed="true"] {
  border-color: var(--wine);
  color: var(--wine);
  outline: none;
  transform: translateY(-3px);
}

.tree-zone-roots {
  right: 3%;
  bottom: 6%;
}

.tree-zone-trunk {
  right: 4%;
  bottom: 36%;
}

.tree-zone-branches {
  left: 0;
  top: 40%;
}

.tree-zone-leaves {
  right: 2%;
  top: 10%;
}

.knowledge-tree-visual > .tree-zone {
  width: min(205px, 31%);
  padding: 8px 0;
  border-bottom: 0;
  font-family: Raleway, "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
  text-shadow: 0 1px 12px rgba(247, 244, 240, 0.92);
}

.knowledge-tree-visual > .tree-zone span,
.knowledge-tree-visual > .tree-zone strong {
  font-family: Raleway, "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
}

.knowledge-tree-visual > .tree-zone::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 30px;
  border-top: 1px solid rgba(35, 31, 32, 0.34);
  transition: width 240ms ease, border-color 240ms ease;
}

.knowledge-tree-visual > .tree-zone:hover::after,
.knowledge-tree-visual > .tree-zone:focus-visible::after,
.knowledge-tree-visual > .tree-zone[aria-pressed="true"]::after {
  width: 40px;
  border-color: var(--wine);
}

.knowledge-tree-visual > .tree-zone-roots {
  right: auto;
  left: 1%;
  bottom: 5%;
}

.knowledge-tree-visual > .tree-zone-branches {
  left: 0;
  top: 43%;
}

.knowledge-tree-visual > .tree-zone-trunk {
  right: 0;
  bottom: 31%;
}

.knowledge-tree-visual > .tree-zone-leaves {
  right: 0;
  top: 10%;
}

.knowledge-tree-visual > .tree-zone-roots::after,
.knowledge-tree-visual > .tree-zone-branches::after {
  right: -34px;
}

.knowledge-tree-visual > .tree-zone-trunk::after,
.knowledge-tree-visual > .tree-zone-leaves::after {
  left: -34px;
}

.tree-people {
  position: absolute;
  z-index: 7;
  display: flex;
  gap: 12px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 260ms ease, transform 320ms cubic-bezier(0.22, 1, 0.36, 1), visibility 260ms;
}

.knowledge-tree-section[data-active-zone="roots"] [data-tree-people="roots"],
.knowledge-tree-section[data-active-zone="trunk"] [data-tree-people="trunk"],
.knowledge-tree-section[data-active-zone="branches"] [data-tree-people="branches"],
.knowledge-tree-section[data-active-zone="leaves"] [data-tree-people="leaves"] {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.tree-people-roots {
  left: 20%;
  bottom: 4%;
}

.tree-people-trunk {
  left: 25%;
  bottom: 35%;
}

.tree-people-branches {
  left: 3%;
  top: 28%;
}

.tree-people-leaves {
  right: 22%;
  top: 4%;
}

.tree-person {
  width: 78px;
  display: grid;
  justify-items: center;
  gap: 7px;
  padding: 0;
  border: 0;
  color: rgba(35, 31, 32, 0.72);
  font: inherit;
  font-size: 0.66rem;
  font-weight: 800;
  background: transparent;
  cursor: pointer;
}

.tree-person-portrait {
  position: relative;
  width: 54px;
  aspect-ratio: 1;
  display: block;
  border: 1px solid rgba(83, 120, 102, 0.48);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 28px rgba(35, 31, 32, 0.09);
  transition: transform 200ms ease, border-color 200ms ease, background 200ms ease;
}

.tree-person-portrait::before {
  content: none;
}

.tree-person-portrait::after {
  content: none;
}

.tree-person-portrait {
  display: grid;
  place-items: center;
}

.tree-person-portrait svg {
  width: 27px;
  height: 27px;
  stroke: var(--tree-green);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 200ms ease, transform 200ms ease;
}

.tree-person:hover .tree-person-portrait,
.tree-person:focus-visible .tree-person-portrait {
  border-color: var(--wine);
  background: #fff;
  transform: translateY(-4px);
}

.tree-person:hover .tree-person-portrait svg,
.tree-person:focus-visible .tree-person-portrait svg {
  stroke: var(--wine);
  transform: scale(1.08);
}

.tree-person:focus-visible {
  outline: 2px solid var(--wine);
  outline-offset: 5px;
}

.knowledge-tree-panel {
  position: relative;
  max-width: 390px;
  padding-left: clamp(24px, 3vw, 42px);
  border-left: 1px solid rgba(35, 31, 32, 0.18);
}

.knowledge-tree-kicker {
  display: block;
  margin-bottom: 18px;
  color: var(--tree-green);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.knowledge-tree-panel h3 {
  margin: 0;
  color: var(--wine);
  font-size: clamp(2rem, 3.4vw, 4.2rem);
  line-height: 0.95;
}

.knowledge-tree-panel p {
  margin: 24px 0 0;
  color: rgba(35, 31, 32, 0.68);
  line-height: 1.65;
}

.team-profile-dialog {
  position: fixed;
  inset: 0;
  width: min(680px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  grid-template-columns: 180px 1fr;
  align-items: center;
  gap: clamp(28px, 5vw, 56px);
  margin: auto;
  padding: clamp(28px, 5vw, 58px);
  overflow: auto;
  border: 0;
  border-radius: 4px;
  color: #231f20;
  background: #f9f8f5;
  box-shadow: 0 32px 100px rgba(35, 31, 32, 0.24);
}

.team-profile-dialog[open] {
  display: grid;
  animation: teamDialogIn 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.team-profile-dialog::backdrop {
  background: rgba(35, 31, 32, 0.48);
  backdrop-filter: blur(6px);
}

.team-profile-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  aspect-ratio: 1;
  padding: 0;
  border: 1px solid rgba(35, 31, 32, 0.2);
  border-radius: 50%;
  color: #231f20;
  font-size: 1.5rem;
  line-height: 1;
  background: transparent;
  cursor: pointer;
}

.team-profile-illustration {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background:
    linear-gradient(150deg, transparent 0 38%, rgba(83, 120, 102, 0.16) 38.4% 62%, transparent 62.4%),
    #eceeea;
}

.team-profile-illustration::before {
  content: "";
  position: absolute;
  width: 52px;
  aspect-ratio: 1;
  left: 50%;
  top: 25%;
  border: 2px solid var(--tree-green);
  border-radius: 50%;
  transform: translateX(-50%);
}

.team-profile-illustration::after {
  content: "";
  position: absolute;
  width: 108px;
  height: 102px;
  left: 50%;
  bottom: 18%;
  border: 2px solid var(--tree-green);
  border-bottom: 0;
  border-radius: 70px 70px 0 0;
  transform: translateX(-50%);
}

.team-profile-dialog h3 {
  margin: 0;
  color: var(--wine);
  font-size: clamp(1.8rem, 4vw, 3.5rem);
  line-height: 0.98;
}

.team-profile-dialog [data-team-profile-description] {
  margin: 22px 0 0;
  color: rgba(35, 31, 32, 0.7);
  line-height: 1.65;
}

@keyframes knowledgeTreeDraw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes knowledgeLeafIn {
  to {
    opacity: 0.94;
    transform: rotate(var(--leaf-rotation)) scaleX(2.15) scaleY(1.08);
  }
}

@keyframes treeOrganicDraw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes treeTrunkGrow {
  to {
    opacity: 1;
    transform: scaleY(1);
  }
}

@keyframes knowledgeNodeIn {
  to {
    opacity: 0.85;
    transform: scale(1);
  }
}

@keyframes knowledgeNodePulse {
  0%,
  100% {
    opacity: 0.55;
  }
  50% {
    opacity: 1;
  }
}

@keyframes teamDialogIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 760px) {
  .knowledge-tree-layout {
    grid-template-columns: 1fr;
  }

  .knowledge-tree-panel {
    width: min(680px, 100%);
    max-width: none;
    margin: 0 auto;
  }
}

@media (max-width: 680px) {
  .knowledge-tree-section {
    padding-block: 42px;
    padding-inline: 18px;
  }

  .knowledge-tree-layout {
    gap: 18px;
  }

  .knowledge-tree-header {
    text-align: left;
  }

  .knowledge-tree-header h2 {
    font-size: 3.5rem;
    line-height: 0.9;
  }

  .knowledge-tree-header > p:last-child {
    margin-top: 14px;
    margin-left: 0;
  }

  .knowledge-tree-visual {
    width: 100%;
    min-height: 420px;
    aspect-ratio: auto;
  }

  .knowledge-tree-svg {
    position: absolute;
    inset: 0;
  }

  .tree-zone {
    width: 42%;
  }

  .tree-zone-leaves {
    top: 6%;
  }

  .tree-zone-branches {
    top: 32%;
  }

  .tree-zone-trunk {
    bottom: 31%;
  }

  .tree-zone-roots {
    bottom: 1%;
  }

  .tree-people {
    gap: 4px;
  }

  .tree-people-roots {
    left: 3%;
    bottom: 0;
  }

  .tree-people-trunk {
    left: 3%;
    bottom: 26%;
  }

  .tree-people-branches {
    left: 1%;
    top: 22%;
  }

  .tree-people-leaves {
    right: 6%;
    top: 0;
  }

  .tree-person {
    width: 62px;
    font-size: 0.58rem;
  }

  .tree-person-portrait {
    width: 46px;
  }

  .knowledge-tree-panel {
    padding: 18px 0 0;
    border-top: 1px solid rgba(35, 31, 32, 0.18);
    border-left: 0;
  }

  .knowledge-tree-panel h3 {
    font-size: 2.45rem;
  }

  .knowledge-tree-panel p {
    margin-top: 16px;
  }

  .team-profile-dialog[open] {
    grid-template-columns: 1fr;
  }

  .team-profile-illustration {
    width: 128px;
    aspect-ratio: 1;
  }
}

@media (max-width: 430px) {
  .knowledge-tree-header h2 {
    font-size: 2.85rem;
  }

  .knowledge-tree-visual {
    min-height: 390px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .knowledge-tree-section.is-visible .tree-part path,
  .knowledge-tree-section.is-visible .tree-part-leaves circle,
  .knowledge-tree-section.is-visible .tree-node-network circle {
    animation-duration: 1ms;
    animation-delay: 0ms;
  }
}

/* Correccion To Be: video izquierda, texto derecha, sin recorte */
.to-be-video-section {
  grid-template-columns: minmax(560px, 1.45fr) minmax(260px, 0.55fr);
  background:
    radial-gradient(circle at 18% 28%, rgba(112, 44, 54, 0.18), transparent 46%),
    linear-gradient(135deg, #24181d 0%, #181315 100%);
}

.to-be-video-section .home-video-frame {
  width: min(100%, 980px);
  justify-self: start;
  background: #050505;
  box-shadow: none;
}

.to-be-video-section .home-video-frame video {
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
  aspect-ratio: auto;
  object-fit: contain;
}

.to-be-copy {
  justify-self: start;
  max-width: 480px;
}

.to-be-copy h2 {
  font-size: clamp(1.85rem, 3.7vw, 4.35rem);
}

@media (max-width: 820px) {
  .to-be-video-section {
    grid-template-columns: 1fr;
  }
}

.corridor-break {
  position: relative;
  overflow: hidden;
  min-height: clamp(260px, 34vw, 520px);
  background: #171012;
}

.corridor-break img {
  width: 100%;
  height: 100%;
  min-height: clamp(260px, 34vw, 520px);
  display: block;
  object-fit: cover;
  filter: saturate(0.94) contrast(1.04);
}

.corridor-break::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(23, 16, 18, 0.46), rgba(23, 16, 18, 0.04)),
    linear-gradient(0deg, rgba(23, 16, 18, 0.28), rgba(23, 16, 18, 0));
  pointer-events: none;
}

.corridor-break blockquote {
  position: absolute;
  left: clamp(22px, 6vw, 84px);
  bottom: clamp(28px, 5vw, 72px);
  z-index: 1;
  max-width: 780px;
  margin: 0;
  color: #fff;
  font-size: clamp(1.7rem, 4vw, 4.5rem);
  font-weight: 900;
  line-height: 0.96;
  text-transform: uppercase;
  text-shadow: 0 16px 42px rgba(0, 0, 0, 0.38);
}

.footer-cta {
  min-height: clamp(150px, 18vw, 230px);
  padding-top: clamp(20px, 2.4vw, 34px);
  padding-bottom: clamp(20px, 2.4vw, 34px);
}

.footer-cta img {
  object-position: center 24%;
}

.footer-cta::after,
.footer-cta::before {
  display: none;
}

.footer-cta h2 {
  max-width: 620px;
  margin: 0;
  color: #fff;
  font-size: clamp(1.45rem, 3vw, 3.4rem);
  line-height: 0.96;
  text-shadow: 0 12px 34px rgba(0, 0, 0, 0.52);
}

.footer-cta .button {
  margin-top: 14px;
}

.footer-cta-content {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 920px !important;
}

.footer-cta-copy {
  max-width: 720px !important;
}

.footer-contact-card {
  display: grid;
  gap: 9px;
  padding: clamp(18px, 2.5vw, 26px);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(18, 16, 17, 0.72);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(16px);
}

.footer-contact-card p {
  margin: 0 0 4px;
  color: #f0d7dc;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-contact-card a,
.footer-contact-card span {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.9rem;
  line-height: 1.45;
  text-decoration: none;
}

.footer-contact-card a:not(.button):hover {
  color: #fff;
}

.footer-contact-card .button {
  justify-self: start;
  margin-top: 10px;
}

.footer-cta-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 16px;
}

.footer-cta-contact {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.footer-cta-contact a,
.footer-cta-contact span {
  color: inherit;
  text-decoration: none;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
}

.footer-cta-contact a:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(112, 44, 54, 0.48);
}

@media (max-width: 780px) {
  .footer-cta-content {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .footer-contact-card {
    max-width: 420px;
  }
}

/* Asegurar cita visible sobre foto corredor */
.corridor-break img {
  position: relative;
  z-index: 0;
}

.corridor-break::after {
  z-index: 1;
}

.corridor-break blockquote {
  z-index: 2;
  top: clamp(26px, 5vw, 70px);
  left: clamp(22px, 6vw, 84px);
  right: auto;
  bottom: auto;
  max-width: min(58vw, 820px);
  transform: none;
  font-size: clamp(1.9rem, 4.2vw, 5.2rem);
  line-height: 0.94;
  background: linear-gradient(90deg, #ffffff 0%, #ffffff 30%, #f0d7dc 42%, #b94858 50%, #f0d7dc 58%, #ffffff 70%, #ffffff 100%);
  background-size: 300% 100%;
  background-position: var(--quote-x, 50%) 0;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: quoteReveal 900ms ease both;
  animation-name: quoteReveal, quoteShine;
  filter: drop-shadow(0 16px 24px rgba(0, 0, 0, 0.42));
  animation-duration: 900ms, 2200ms;
  animation-delay: 0ms, 650ms;
  animation-timing-function: ease, ease-in-out;
  animation-fill-mode: both, both;
  cursor: grab;
  transition: filter 220ms ease;
}

.corridor-break blockquote:active {
  cursor: grabbing;
}

.corridor-break blockquote::after {
  content: "";
  display: block;
  width: min(180px, 34vw);
  height: 3px;
  margin-top: 18px;
  background: var(--wine);
  transform-origin: left center;
  animation: quoteLine 900ms ease 260ms both;
}

.corridor-break:hover blockquote,
.corridor-break blockquote:hover {
  background-size: 210% 100%;
  filter: drop-shadow(0 18px 30px rgba(112, 44, 54, 0.46));
}

@keyframes quoteReveal {
  from {
    opacity: 0;
    transform: translateY(-18px);
    filter: blur(7px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes quoteLine {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

@keyframes quoteShine {
  from {
    background-position: 140% 0;
  }

  to {
    background-position: -120% 0;
  }
}

/* Soluciones como mosaico corporativo */
.services-section {
  padding: clamp(74px, 8vw, 120px) 0 0;
  overflow: hidden;
  background: #171012;
}

.services-section .section-heading {
  max-width: 980px;
  margin: 0;
  padding: 0 clamp(22px, 6vw, 84px) clamp(38px, 5vw, 68px);
}

.services-section .eyebrow {
  color: #f0d7dc;
}

.services-section .section-heading h2 {
  max-width: 860px;
  color: #fff;
  font-size: clamp(2.1rem, 4.6vw, 5.1rem);
  line-height: 0.94;
  text-transform: uppercase;
}

.solutions-mosaic {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  width: 100%;
  min-height: clamp(420px, 46vw, 680px);
}

.mosaic-tile {
  min-height: clamp(150px, 15vw, 250px);
  display: grid;
  align-content: end;
  padding: clamp(18px, 2.4vw, 34px);
  color: #fff;
  text-decoration: none;
  transition: filter 180ms ease, transform 180ms ease;
}

.mosaic-link h3 {
  max-width: 260px;
  margin: 0 0 12px;
  color: inherit;
  font-size: clamp(1.05rem, 1.6vw, 1.65rem);
  line-height: 1;
  text-transform: uppercase;
}

.mosaic-link p {
  max-width: 250px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.92rem;
  line-height: 1.35;
}

.mosaic-link:hover {
  filter: brightness(1.08);
  transform: translateY(-6px);
  z-index: 2;
}

.tile-wine {
  background: #702c36;
}

.tile-wine-soft {
  background: #5b2530;
}

.tile-graphite {
  background: #2b2b2b;
}

.tile-gray {
  background: #616160;
}

.tile-gray-dark {
  background: #3f4444;
}

.tile-ink {
  background: #111111;
}

.tile-deep {
  background: #211016;
}

.tile-muted {
  background: #4b4b49;
}

.tile-paper {
  background: #d8ccc8;
}

@media (min-width: 981px) {
  .solutions-mosaic .mosaic-tile:nth-child(2),
  .solutions-mosaic .mosaic-tile:nth-child(5),
  .solutions-mosaic .mosaic-tile:nth-child(8),
  .solutions-mosaic .mosaic-tile:nth-child(11) {
    grid-column: span 2;
  }
}

@media (max-width: 980px) {
  .solutions-mosaic {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 620px) {
  .solutions-mosaic {
    grid-template-columns: repeat(2, 1fr);
  }

  .mosaic-tile {
    min-height: 165px;
  }
}

/* Mosaico de soluciones con video */
.solutions-mosaic {
  grid-template-columns: repeat(8, minmax(0, 1fr));
  min-height: auto;
}

.mosaic-tile {
  position: relative;
  aspect-ratio: 1;
  min-height: 0;
  overflow: hidden;
  padding: clamp(14px, 1.8vw, 24px);
}

.tile-wine {
  background: linear-gradient(135deg, rgba(112, 44, 54, 0.58), rgba(112, 44, 54, 0.24));
}

.tile-wine-soft {
  background: linear-gradient(135deg, rgba(91, 37, 48, 0.52), rgba(91, 37, 48, 0.22));
}

.tile-graphite {
  background: linear-gradient(135deg, rgba(43, 43, 43, 0.52), rgba(43, 43, 43, 0.24));
}

.tile-gray {
  background: linear-gradient(135deg, rgba(97, 97, 96, 0.48), rgba(97, 97, 96, 0.2));
}

.tile-gray-dark {
  background: linear-gradient(135deg, rgba(63, 68, 68, 0.5), rgba(63, 68, 68, 0.24));
}

.tile-ink {
  background: linear-gradient(135deg, rgba(17, 17, 17, 0.54), rgba(17, 17, 17, 0.28));
}

.tile-deep {
  background: linear-gradient(135deg, rgba(33, 16, 22, 0.55), rgba(33, 16, 22, 0.26));
}

.tile-muted {
  background: linear-gradient(135deg, rgba(75, 75, 73, 0.46), rgba(75, 75, 73, 0.2));
}

.tile-paper {
  background: linear-gradient(135deg, rgba(216, 204, 200, 0.82), rgba(216, 204, 200, 0.5));
}

.mosaic-video-tile {
  grid-column: span 2;
  color: #fff;
  background: #d8ccc8;
}

.mosaic-video-tile video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: saturate(1) contrast(1.02) brightness(1.08);
  opacity: 1;
  transition: transform 280ms ease, filter 280ms ease;
}

.mosaic-video-tile .mosaic-motion {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1) contrast(1.03) brightness(1.08);
  transition: transform 280ms ease, filter 280ms ease;
}

.mosaic-video-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.04)),
    linear-gradient(90deg, rgba(112, 44, 54, 0.12), rgba(0, 0, 0, 0));
}

.mosaic-video-tile h3 {
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.42);
}

.mosaic-video-tile:hover video {
  transform: scale(1.05);
  filter: saturate(1) contrast(1.08);
}

.mosaic-video-tile.is-video-active video {
  transform: scale(1.05);
  filter: saturate(1) contrast(1.08) brightness(1.12);
}

.mosaic-video-tile:hover .mosaic-motion,
.mosaic-video-tile.is-video-active .mosaic-motion {
  transform: scale(1.05);
  filter: saturate(1.04) contrast(1.08) brightness(1.12);
}

.mosaic-link p {
  display: none;
}

@media (max-width: 980px) {
  .solutions-mosaic {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .solutions-mosaic {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mosaic-video-tile {
    grid-column: span 2;
  }
}

/* Compactar seccion de soluciones */
.services-section {
  padding-top: clamp(52px, 6vw, 84px);
}

.services-section .section-heading {
  padding-bottom: clamp(24px, 3.4vw, 42px);
}

.solutions-mosaic .mosaic-tile {
  aspect-ratio: 1.18 / 1;
  padding: clamp(12px, 1.4vw, 20px);
}

.solutions-mosaic .mosaic-link h3 {
  font-size: clamp(0.92rem, 1.28vw, 1.35rem);
}

.solutions-mosaic {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.solutions-mosaic .mosaic-tile {
  aspect-ratio: 1;
  padding: clamp(8px, 1vw, 14px);
}

.solutions-mosaic .mosaic-video-tile {
  grid-column: span 2;
}

.solutions-mosaic .mosaic-link h3 {
  max-width: 150px;
  font-size: clamp(0.72rem, 0.92vw, 1rem);
  line-height: 1.04;
}

@media (max-width: 980px) {
  .solutions-mosaic {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .solutions-mosaic {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .solutions-mosaic .mosaic-video-tile {
    grid-column: span 2;
  }
}

/* Sustitucion del panal por icono GUIEX con imagen */
.guiex-texture-mark {
  width: min(100%, clamp(380px, 44vw, 720px));
  margin: 0;
  justify-self: center;
  align-self: center;
}

.guiex-texture-mark img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 22px 34px rgba(6, 6, 6, 0.12));
}

@media (max-width: 980px) {
  .guiex-texture-mark {
    width: min(100%, clamp(240px, 36vw, 430px));
    justify-self: end;
  }
}

@media (max-width: 620px) {
  .guiex-texture-mark {
    width: min(100%, 220px);
  }
}

/* Icono protagonista con texto envolvente */
.home-diamond-section {
  display: block;
  min-height: clamp(640px, 70vw, 920px);
  padding-top: clamp(92px, 10vw, 150px);
  padding-bottom: clamp(80px, 9vw, 130px);
  overflow: hidden;
}

.home-diamond-section::after {
  content: "";
  display: block;
  clear: both;
}

.home-diamond-section .home-focus-copy {
  max-width: none;
  padding-right: 0;
}

.home-diamond-section .home-focus-copy h2 {
  max-width: 980px;
  font-size: clamp(2.65rem, 5.8vw, 7.2rem);
}

.home-diamond-section .home-focus-copy p:not(.eyebrow) {
  max-width: 640px;
}

.guiex-texture-mark {
  float: right;
  width: min(58vw, 860px);
  margin: clamp(-26px, -2vw, -12px) clamp(-90px, -5vw, -46px) 28px clamp(24px, 4vw, 70px);
  shape-outside: circle(48% at 52% 50%);
  shape-margin: clamp(16px, 2vw, 34px);
}

@media (max-width: 980px) {
  .home-diamond-section {
    min-height: auto;
  }

  .guiex-texture-mark {
    width: min(46vw, 430px);
    margin-right: -34px;
    margin-left: 22px;
  }
}

@media (max-width: 620px) {
  .home-diamond-section {
    display: grid;
    grid-template-columns: 1fr;
  }

  .guiex-texture-mark {
    float: none;
    width: min(82vw, 340px);
    margin: 0 auto 26px;
    justify-self: center;
    shape-outside: none;
  }
}

/* Forzar mosaico pequeno */
.services-section .solutions-mosaic {
  grid-template-columns: repeat(14, minmax(0, 1fr));
}

.services-section .solutions-mosaic .mosaic-tile {
  min-height: 0;
  aspect-ratio: 1;
  padding: clamp(7px, 0.85vw, 12px);
}

.services-section .solutions-mosaic .mosaic-video-tile {
  grid-column: span 2;
}

.services-section .solutions-mosaic .mosaic-link h3 {
  max-width: 130px;
  font-size: clamp(0.66rem, 0.78vw, 0.9rem);
}

@media (min-width: 981px) {
  .services-section .solutions-mosaic .mosaic-tile:nth-child(2),
  .services-section .solutions-mosaic .mosaic-tile:nth-child(5),
  .services-section .solutions-mosaic .mosaic-tile:nth-child(8),
  .services-section .solutions-mosaic .mosaic-tile:nth-child(11) {
    grid-column: span 2;
  }
}

@media (max-width: 980px) {
  .services-section .solutions-mosaic {
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .services-section .solutions-mosaic {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Override definitivo: fondo difundido de Soluciones en home */
.service-carousel-section {
  background:
    radial-gradient(circle at 80% 18%, rgba(112, 44, 54, 0.2), transparent 34%),
    radial-gradient(circle at 18% 78%, rgba(97, 97, 96, 0.18), transparent 38%),
    linear-gradient(145deg, #f7f1ed 0%, #eee4df 42%, #dde1df 100%);
}

.service-carousel-section .service-carousel::before {
  content: "";
  position: absolute;
  inset: -10% -6%;
  z-index: -1;
  background-image: url("data:image/svg+xml,%3Csvg width='760' height='360' viewBox='0 0 760 360' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg opacity='.62' stroke='%23702c36' stroke-width='1.4'%3E%3Cpath d='M74 220L154 132L274 166L370 86L502 150L632 90'/%3E%3Cpath d='M154 132L218 268L370 86L448 252L632 90L690 214'/%3E%3Cpath d='M274 166L448 252L580 238L690 214'/%3E%3C/g%3E%3Cg fill='%23702c36'%3E%3Ccircle cx='74' cy='220' r='5'/%3E%3Ccircle cx='154' cy='132' r='6'/%3E%3Ccircle cx='274' cy='166' r='5'/%3E%3Ccircle cx='370' cy='86' r='6'/%3E%3Ccircle cx='448' cy='252' r='5'/%3E%3Ccircle cx='502' cy='150' r='5'/%3E%3Ccircle cx='632' cy='90' r='6'/%3E%3Ccircle cx='690' cy='214' r='5'/%3E%3Ccircle cx='218' cy='268' r='4'/%3E%3Ccircle cx='580' cy='238' r='4'/%3E%3C/g%3E%3Cg opacity='.42' stroke='%23616160' stroke-width='1.2'%3E%3Cpath d='M96 70L154 132L236 58L370 86'/%3E%3Cpath d='M502 150L580 238L690 214'/%3E%3C/g%3E%3Cg fill='%23616160'%3E%3Ccircle cx='96' cy='70' r='4'/%3E%3Ccircle cx='236' cy='58' r='4'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: min(84vw, 780px) auto;
  opacity: 0.46;
}

/* Override final: cabeceras interiores mas bajas; la home no cambia */
body:not(.home-page) .page-hero,
body:not(.home-page) .media-hero {
  min-height: clamp(360px, 46vh, 520px);
  padding-top: clamp(110px, 10vw, 150px);
  padding-bottom: clamp(42px, 5vw, 70px);
}

body:not(.home-page) .contact-barcelona-hero {
  min-height: clamp(420px, 52vh, 580px);
  padding-top: clamp(110px, 10vw, 150px);
  padding-bottom: clamp(42px, 5vw, 74px);
}

body:not(.home-page) .page-hero h1,
body:not(.home-page) .media-hero h1,
body:not(.home-page) .contact-barcelona-content h1 {
  font-size: clamp(2.7rem, 7.5vw, 6.2rem);
  line-height: 0.88;
}

@media (max-width: 760px) {
  body:not(.home-page) .page-hero,
  body:not(.home-page) .media-hero,
  body:not(.home-page) .contact-barcelona-hero {
    min-height: clamp(340px, 50vh, 480px);
    padding-top: 104px;
    padding-bottom: 44px;
  }
}

/* GUIEX ajuste definitivo 2026-07-14 */
.site-header .nav-dropdown {
  position: static;
}

.site-header .dropdown-menu {
  position: fixed;
  top: clamp(74px, 8vw, 92px);
  left: 0;
  right: 0;
  width: 100vw;
  min-width: 0;
  transform: none;
  grid-template-columns: minmax(280px, 0.85fr) repeat(4, minmax(140px, 1fr));
  gap: 0;
  padding: 0 clamp(18px, 4vw, 56px);
  border: 0;
  border-radius: 0;
  background: #111;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.site-header .dropdown-menu::before {
  content: "";
  min-height: clamp(148px, 17vw, 220px);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.46)),
    url("assets/donut-soluciones.jpg?v=6fc98220c3") center / cover no-repeat;
}

.site-header .dropdown-menu a {
  min-height: clamp(148px, 17vw, 220px);
  align-items: flex-end;
  justify-content: flex-start;
  padding: clamp(18px, 2.4vw, 30px);
  border: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0;
  color: #fff;
  background: transparent;
  font-size: clamp(0.78rem, 0.95vw, 0.98rem);
  letter-spacing: 0.05em;
}

.site-header .dropdown-menu a:hover,
.site-header.is-scrolled .dropdown-menu a:hover,
.site-header.is-open .dropdown-menu a:hover {
  color: var(--wine);
  background: #fff;
  border-color: rgba(112, 44, 54, 0.22);
}

.about-objectives .objectives-grid article:nth-child(1) .objective-card-front,
.about-objectives .objectives-grid article:nth-child(4) .objective-card-front {
  background: var(--wine);
}

.about-objectives .objectives-grid article:nth-child(2) .objective-card-front,
.about-objectives .objectives-grid article:nth-child(3) .objective-card-front {
  background: var(--gray);
}

.about-objectives .objective-card-front {
  color: #fff;
}

.about-objectives .objective-card-front .objective-icon,
.about-objectives .objective-card-front::after {
  display: none;
}

.about-objectives .objective-card-front h3 {
  max-width: 11ch;
  color: #fff;
  font-size: clamp(2rem, 3.3vw, 3.65rem);
  line-height: 0.92;
  text-transform: uppercase;
}

.about-objectives .objective-card-back::after {
  color: var(--wine);
  opacity: 0.08;
}

@media (max-width: 760px) {
  .site-header .nav-dropdown {
    position: relative;
  }

  .site-header .dropdown-menu {
    position: static;
    width: auto;
    grid-template-columns: 1fr;
    padding: 10px;
    border-radius: 0;
  }

  .site-header .dropdown-menu::before {
    display: none;
  }

  .site-header .dropdown-menu a {
    min-height: 44px;
    padding: 12px 14px;
    border-left: 0;
  }
}

/* GUIEX mega menu: imagen izquierda + lista derecha */
.site-header .dropdown-menu {
  top: clamp(58px, 6.2vw, 76px);
  grid-template-columns: minmax(360px, 42vw) minmax(280px, 1fr);
  align-items: stretch;
  padding: 0;
}

.site-header .dropdown-menu::before {
  min-height: clamp(190px, 23vw, 300px);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.26)),
    url("assets/donut-soluciones.jpg?v=6fc98220c3") center / cover no-repeat;
}

.site-header .dropdown-menu a {
  grid-column: 2;
  min-height: auto;
  align-items: center;
  justify-content: flex-start;
  padding: 18px clamp(28px, 4vw, 56px);
  border-left: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  font-size: clamp(0.95rem, 1.2vw, 1.2rem);
}

.site-header .dropdown-menu a:first-of-type {
  padding-top: clamp(26px, 3vw, 42px);
}

.site-header .dropdown-menu a:last-of-type {
  border-bottom: 0;
  padding-bottom: clamp(26px, 3vw, 42px);
}

@media (max-width: 760px) {
  .site-header .dropdown-menu {
    grid-template-columns: 1fr;
    padding: 10px;
  }

  .site-header .dropdown-menu a {
    grid-column: auto;
    padding: 12px 14px;
    border-bottom: 0;
  }
}

/* Ajustes finales: mega menu, objetivos y carga visual */
.site-header .nav-dropdown {
  position: static;
}

.site-header .dropdown-menu {
  position: fixed;
  top: clamp(74px, 8vw, 92px);
  left: 0;
  right: 0;
  width: 100vw;
  min-width: 0;
  transform: none;
  grid-template-columns: minmax(280px, 0.85fr) repeat(4, minmax(140px, 1fr));
  gap: 0;
  padding: 0 clamp(18px, 4vw, 56px);
  border: 0;
  border-radius: 0;
  background: #111;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.site-header .dropdown-menu::before {
  content: "";
  min-height: clamp(148px, 17vw, 220px);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.46)),
    url("assets/donut-soluciones.jpg?v=6fc98220c3") center / cover no-repeat;
}

.site-header .dropdown-menu a {
  min-height: clamp(148px, 17vw, 220px);
  align-items: flex-end;
  justify-content: flex-start;
  padding: clamp(18px, 2.4vw, 30px);
  border: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0;
  color: #fff;
  background: transparent;
  font-size: clamp(0.78rem, 0.95vw, 0.98rem);
  letter-spacing: 0.05em;
}

.site-header .dropdown-menu a:hover,
.site-header.is-scrolled .dropdown-menu a:hover,
.site-header.is-open .dropdown-menu a:hover {
  color: var(--wine);
  background: #fff;
  border-color: rgba(112, 44, 54, 0.22);
}

.about-objectives .objectives-grid article:nth-child(1) .objective-card-front,
.about-objectives .objectives-grid article:nth-child(4) .objective-card-front {
  background: var(--wine);
}

.about-objectives .objectives-grid article:nth-child(2) .objective-card-front,
.about-objectives .objectives-grid article:nth-child(3) .objective-card-front {
  background: var(--gray);
}

.about-objectives .objective-card-front {
  color: #fff;
}

.about-objectives .objective-card-front .objective-icon,
.about-objectives .objective-card-front::after {
  display: none;
}

.about-objectives .objective-card-front h3 {
  max-width: 11ch;
  color: #fff;
  font-size: clamp(2rem, 3.3vw, 3.65rem);
  line-height: 0.92;
  text-transform: uppercase;
}

.about-objectives .objective-card-back::after {
  color: var(--wine);
  opacity: 0.08;
}

@media (max-width: 760px) {
  .site-header .nav-dropdown {
    position: relative;
  }

  .site-header .dropdown-menu {
    position: static;
    width: auto;
    grid-template-columns: 1fr;
    padding: 10px;
    border-radius: 0;
  }

  .site-header .dropdown-menu::before {
    display: none;
  }

  .site-header .dropdown-menu a {
    min-height: 44px;
    padding: 12px 14px;
    border-left: 0;
  }
}

/* Ajustes finales solicitados */
.site-header.is-scrolled .site-nav a.is-active,
.site-header.is-open .site-nav a.is-active,
.site-header.is-scrolled .nav-dropdown.is-active .nav-dropdown-trigger,
.site-header.is-open .nav-dropdown.is-active .nav-dropdown-trigger,
.site-header.is-scrolled .language-switcher a.is-current,
.site-header.is-open .language-switcher a.is-current {
  color: #fff;
}

.site-footer .footer-brand img {
  content: image-set(url("assets/responsive/logo-guiex-color-192w.webp?v=780daf1f8f") 1x, url("assets/responsive/logo-guiex-color-384w.webp?v=a28c8dd4b3") 2x, url("assets/responsive/logo-guiex-color-576w.webp?v=c7381d319e") 3x);
}

.about-objectives .objectives-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.8vw, 34px);
  background: transparent;
}

.about-objectives .objectives-grid article {
  min-height: clamp(240px, 24vw, 320px);
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  perspective: 1100px;
}

.objective-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: inherit;
  transform-style: preserve-3d;
  transition: transform 640ms cubic-bezier(0.22, 1, 0.36, 1);
}

.about-objectives .objectives-grid article:hover .objective-card-inner {
  transform: rotateY(180deg);
}

.objective-card-face {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: space-between;
  gap: 22px;
  padding: clamp(22px, 3vw, 38px);
  border-radius: 8px;
  overflow: hidden;
  backface-visibility: hidden;
}

.objective-card-face::after {
  content: "";
  position: absolute;
  width: 44%;
  aspect-ratio: 1;
  right: -12%;
  bottom: -18%;
  opacity: 0.12;
  background: currentColor;
  -webkit-mask: url("assets/guiex-icon-mask.png?v=d0e508fc83") center / contain no-repeat;
  mask: url("assets/guiex-icon-mask.png?v=d0e508fc83") center / contain no-repeat;
}

.objective-card-front {
  color: #fff;
  background: var(--wine);
}

.about-objectives .objectives-grid article:nth-child(2n) .objective-card-front {
  background: var(--gray);
}

.objective-card-back {
  color: #231f20;
  background: #f8f2ee;
  border: 1px solid rgba(112, 44, 54, 0.16);
  transform: rotateY(180deg);
}

.objective-icon {
  width: 52px;
  aspect-ratio: 1;
  display: block;
  color: currentColor;
  background: currentColor;
  -webkit-mask: url("assets/guiex-icon-mask.png?v=d0e508fc83") center / contain no-repeat;
  mask: url("assets/guiex-icon-mask.png?v=d0e508fc83") center / contain no-repeat;
}

.objective-card-front h3,
.objective-card-back p {
  position: relative;
  z-index: 1;
  margin: 0;
}

.objective-card-front h3 {
  max-width: 360px;
  color: #fff;
  font-size: clamp(1.45rem, 2.5vw, 2.45rem);
  line-height: 0.98;
  text-transform: uppercase;
}

.objective-card-back span {
  position: relative;
  z-index: 1;
  color: var(--wine);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.objective-card-back p {
  color: rgba(35, 31, 32, 0.76);
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  line-height: 1.48;
}

@media (max-width: 760px) {
  .about-objectives .objectives-grid {
    grid-template-columns: 1fr;
  }
}

/* Soluciones general: imagenes visibles en las tarjetas de seleccion */
.solution-index-intro .solution-tile video {
  opacity: 1;
  filter: none;
}

.solution-index-intro .solution-tile::after {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0.03) 62%);
}

.solution-index-intro .solution-tile:hover video {
  opacity: 1;
  filter: none;
}

.solution-index-intro .solution-tile:hover::after {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.01) 62%);
}

/* Override final de navbar, footer y objetivos */
.site-header.is-scrolled .site-nav a.is-active,
.site-header.is-open .site-nav a.is-active,
.site-header.is-scrolled .nav-dropdown.is-active .nav-dropdown-trigger,
.site-header.is-open .nav-dropdown.is-active .nav-dropdown-trigger,
.site-header.is-scrolled .language-switcher a.is-current,
.site-header.is-open .language-switcher a.is-current {
  color: #fff;
}

.site-footer .footer-brand img {
  content: image-set(url("assets/responsive/logo-guiex-color-192w.webp?v=780daf1f8f") 1x, url("assets/responsive/logo-guiex-color-384w.webp?v=a28c8dd4b3") 2x, url("assets/responsive/logo-guiex-color-576w.webp?v=c7381d319e") 3x);
}

.about-objectives .objectives-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.8vw, 34px);
  background: transparent;
}

.about-objectives .objectives-grid article {
  min-height: clamp(240px, 24vw, 320px);
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  perspective: 1100px;
}

.about-objectives .objectives-grid article:hover .objective-card-inner {
  transform: rotateY(180deg);
}

@media (max-width: 760px) {
  .about-objectives .objectives-grid {
    grid-template-columns: 1fr;
  }
}

/* Nosotros: lectura y datos clave mejor integrados */
.about-text-only .value-row {
  margin-top: clamp(26px, 3vw, 38px);
  gap: 12px;
}

.about-text-only .value-row span {
  color: #fff;
  background: var(--wine);
  border-color: var(--wine);
  box-shadow: 0 12px 28px rgba(112, 44, 54, 0.18);
}

.about-text-only .about-key-data {
  position: absolute;
  right: clamp(-18px, -2vw, -8px);
  bottom: clamp(18px, 3vw, 36px);
  z-index: 3;
  width: min(86%, 390px);
  grid-template-columns: 1fr;
  margin: 0;
  padding: 0;
  gap: 1px;
  overflow: hidden;
  background: rgba(112, 44, 54, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 6px;
  box-shadow: 0 24px 60px rgba(35, 31, 32, 0.2);
}

.about-text-only .about-key-data article {
  min-height: 0;
  grid-template-columns: 0.42fr 1fr;
  align-items: center;
  align-content: center;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.94);
  border: 0;
  box-shadow: none;
}

.about-text-only .about-key-data strong {
  color: var(--wine);
  font-size: clamp(1.35rem, 2.3vw, 2.25rem);
}

.about-text-only .about-key-data span {
  color: rgba(35, 31, 32, 0.76);
  font-size: 0.82rem;
}

.about-text-only .about-walking-visual {
  position: relative;
  overflow: visible;
}

.about-text-only .about-walking-visual img {
  position: relative;
  z-index: 1;
}

@media (max-width: 860px) {
  .about-text-only .about-key-data {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 18px;
  }
}

/* Cabeceras interiores mas contenidas; la home mantiene su altura */
.page-hero,
.media-hero {
  min-height: clamp(360px, 46vh, 520px);
  padding-top: clamp(110px, 10vw, 150px);
  padding-bottom: clamp(42px, 5vw, 70px);
}

.contact-barcelona-hero {
  min-height: clamp(420px, 52vh, 580px);
  padding-top: clamp(110px, 10vw, 150px);
  padding-bottom: clamp(42px, 5vw, 74px);
}

.page-hero h1,
.media-hero h1,
.contact-barcelona-content h1 {
  font-size: clamp(2.7rem, 7.5vw, 6.2rem);
  line-height: 0.88;
}

@media (max-width: 760px) {
  .page-hero,
  .media-hero,
  .contact-barcelona-hero {
    min-height: clamp(340px, 50vh, 480px);
    padding-top: 104px;
    padding-bottom: 44px;
  }
}

/* Donut visual de navegacion */
.site-donut-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(360px, 1fr);
  align-items: center;
  gap: clamp(36px, 7vw, 110px);
  padding: clamp(76px, 9vw, 130px) max(var(--page-gutter), calc((100% - 1440px) / 2));
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 28%, rgba(112, 44, 54, 0.16), transparent 34%),
    radial-gradient(circle at 16% 78%, rgba(97, 97, 96, 0.14), transparent 38%),
    linear-gradient(145deg, #f8f2ee 0%, #eee5df 48%, #dde1df 100%);
}

.site-donut-copy {
  max-width: 520px;
}

.site-donut-copy h2 {
  margin: 0;
  color: var(--wine);
  font-size: clamp(2.2rem, 5vw, 5.4rem);
  line-height: 0.92;
  text-transform: uppercase;
}

.site-donut-copy p {
  max-width: 48ch;
  margin: clamp(24px, 3vw, 38px) 0 0;
  color: rgba(35, 31, 32, 0.72);
  font-size: clamp(1rem, 1.25vw, 1.16rem);
  line-height: 1.65;
}

.site-donut {
  position: relative;
  justify-self: center;
  width: min(64vw, 480px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(112, 44, 54, 0.08), transparent 28%),
    radial-gradient(circle at 50% 50%, transparent 0 37%, rgba(112, 44, 54, 0.16) 37.4% 38.2%, transparent 38.6%);
  box-shadow: none;
}

.site-donut::before,
.site-donut::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  pointer-events: none;
}

.site-donut::before {
  background:
    radial-gradient(circle at 50% 50%, transparent 0 37%, rgba(97, 97, 96, 0.18) 37.4% 38%, transparent 38.4%),
    radial-gradient(circle at 50% 50%, transparent 0 48%, rgba(112, 44, 54, 0.1) 48.4% 49%, transparent 49.4%);
  opacity: 1;
}

.site-donut::after {
  inset: 30%;
  background: #f8f2ee;
  box-shadow: inset 0 0 0 1px rgba(112, 44, 54, 0.16), 0 18px 48px rgba(79, 29, 39, 0.12);
}

.donut-core {
  position: absolute;
  inset: 35%;
  z-index: 3;
  display: grid;
  place-items: center;
  border-radius: 50%;
}

.donut-core img {
  display: none;
}

.donut-core::before {
  content: "";
  width: 72%;
  aspect-ratio: 1;
  background: var(--wine);
  -webkit-mask: url("assets/guiex-icon-mask.png?v=d0e508fc83") center / contain no-repeat;
  mask: url("assets/guiex-icon-mask.png?v=d0e508fc83") center / contain no-repeat;
}

.donut-segment {
  position: absolute;
  z-index: 4;
  display: grid;
  place-items: center;
  width: clamp(88px, 11vw, 120px);
  aspect-ratio: 1;
  color: #fff;
  font-size: clamp(0.58rem, 0.85vw, 0.74rem);
  font-weight: 900;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 0;
  line-height: 1.08;
  text-align: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  background: #231f20 center / cover no-repeat;
  box-shadow: 0 20px 56px rgba(79, 29, 39, 0.16);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.donut-segment::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.54), rgba(0, 0, 0, 0.1)),
    radial-gradient(circle at 72% 18%, rgba(112, 44, 54, 0.28), transparent 42%);
}

.donut-segment span {
  display: inline-block;
  max-width: 86%;
  padding: 4px;
  overflow-wrap: anywhere;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.28);
}

.donut-segment:hover {
  box-shadow: 0 28px 72px rgba(79, 29, 39, 0.24);
}

.donut-home {
  top: 2%;
  left: 50%;
  transform: translateX(-50%);
  background-image: url("assets/donut-home.jpg?v=30122d1d57");
}

.donut-nosotros {
  top: 2%;
  left: 50%;
  transform: translateX(-50%);
  background-image: url("assets/donut-nosotros.jpg?v=1d115bf2cc");
}

.donut-soluciones {
  top: 50%;
  right: -2%;
  transform: translateY(-50%);
  background-image: url("assets/donut-soluciones.jpg?v=6fc98220c3");
}

.donut-blog {
  bottom: 2%;
  left: 50%;
  transform: translateX(-50%);
  background-image: url("assets/donut-blog.jpg?v=b47c199c4b");
}

.donut-contacto {
  top: 50%;
  left: -2%;
  transform: translateY(-50%);
  background-image: url("assets/donut-contacto.jpg?v=ed54f4c848");
}

.donut-home:hover {
  transform: translateX(-50%) scale(1.08);
}

.donut-nosotros:hover,
.donut-blog:hover {
  transform: translateX(-50%) scale(1.08);
}

.donut-soluciones:hover,
.donut-contacto:hover {
  transform: translateY(-50%) scale(1.08);
}

@media (max-width: 860px) {
  .site-donut-section {
    grid-template-columns: 1fr;
  }

  .site-donut-copy {
    max-width: 620px;
  }
}

@media (max-width: 560px) {
  .site-donut {
    width: min(72vw, 360px);
  }

  .donut-segment {
    width: 70px;
    font-size: 0.62rem;
  }
}

/* Asegura que el video secundario de home siempre sea visible */
body.home-page .to-be-video-section .home-video-frame {
  display: block;
  min-height: clamp(280px, 30vw, 430px);
}

body.home-page .to-be-video-section .home-video-frame video {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  object-fit: contain;
  opacity: 1;
  visibility: visible;
}

/* Fondo final de la seccion Soluciones en home */
.service-carousel-section {
  background:
    radial-gradient(circle at 82% 18%, rgba(112, 44, 54, 0.42) 0%, rgba(112, 44, 54, 0.18) 24%, transparent 48%),
    radial-gradient(circle at 16% 72%, rgba(97, 97, 96, 0.32) 0%, rgba(97, 97, 96, 0.12) 26%, transparent 54%),
    linear-gradient(145deg, #f6eee9 0%, #ead4d3 34%, #dce0de 68%, #f7f2ed 100%);
}

.service-carousel-section .service-carousel::before {
  content: "";
  position: absolute;
  inset: 4% 6%;
  z-index: -1;
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.52), transparent 58%),
    linear-gradient(90deg, rgba(112, 44, 54, 0.16), rgba(97, 97, 96, 0.1));
  filter: blur(28px);
}

/* Cabeceras internas: navbar flotante sobre el video */
.site-header {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
}

.site-header:not(.is-scrolled):not(.is-open):not(:focus-within) .brand-logo {
  content: image-set(url("assets/responsive/logo-guiex-color-192w.webp?v=780daf1f8f") 1x, url("assets/responsive/logo-guiex-color-384w.webp?v=a28c8dd4b3") 2x, url("assets/responsive/logo-guiex-color-576w.webp?v=c7381d319e") 3x);
}

.site-header.is-scrolled .brand-logo,
.site-header.is-open .brand-logo,
.site-header:focus-within .brand-logo {
  content: image-set(url("assets/responsive/logo-guiex-blanco-192w.webp?v=c91f80abc1") 1x, url("assets/responsive/logo-guiex-blanco-384w.webp?v=17062e8ec9") 2x, url("assets/responsive/logo-guiex-blanco-576w.webp?v=e1f975050c") 3x);
}

.page-hero,
.media-hero {
  min-height: clamp(560px, 72vh, 820px);
  padding-top: clamp(132px, 13vw, 190px);
}

.contact-barcelona-hero {
  min-height: clamp(620px, 78vh, 900px);
  padding-top: clamp(132px, 13vw, 190px);
}

/* Navbar: seleccion con perfil negro solo cuando la barra esta roja */
.site-header:not(.is-scrolled):not(.is-open):not(:focus-within) .site-nav a:hover,
.site-header:not(.is-scrolled):not(.is-open):not(:focus-within) .site-nav a.is-active,
.site-header:not(.is-scrolled):not(.is-open):not(:focus-within) .nav-dropdown-trigger:hover,
.site-header:not(.is-scrolled):not(.is-open):not(:focus-within) .nav-dropdown.is-active .nav-dropdown-trigger,
.site-header:not(.is-scrolled):not(.is-open):not(:focus-within) .nav-dropdown:hover .nav-dropdown-trigger,
.site-header:not(.is-scrolled):not(.is-open):not(:focus-within) .language-switcher a:hover,
.site-header:not(.is-scrolled):not(.is-open):not(:focus-within) .language-switcher a.is-current {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border-color: transparent;
}

.site-header.is-scrolled .site-nav a:hover,
.site-header.is-scrolled .site-nav a.is-active,
.site-header.is-scrolled .nav-dropdown-trigger:hover,
.site-header.is-scrolled .nav-dropdown.is-active .nav-dropdown-trigger,
.site-header.is-scrolled .nav-dropdown:focus-within .nav-dropdown-trigger,
.site-header.is-scrolled .nav-dropdown:hover .nav-dropdown-trigger,
.site-header.is-open .site-nav a:hover,
.site-header.is-open .site-nav a.is-active,
.site-header.is-open .nav-dropdown-trigger:hover,
.site-header.is-open .nav-dropdown.is-active .nav-dropdown-trigger,
.site-header.is-open .nav-dropdown:focus-within .nav-dropdown-trigger,
.site-header.is-open .nav-dropdown:hover .nav-dropdown-trigger,
.site-header.is-scrolled .language-switcher a:hover,
.site-header.is-scrolled .language-switcher a.is-current,
.site-header.is-open .language-switcher a:hover,
.site-header.is-open .language-switcher a.is-current {
  color: #111;
  background: transparent;
  border-color: #111;
}

.site-header.is-scrolled .dropdown-menu a:hover,
.site-header.is-open .dropdown-menu a:hover {
  color: #111;
  background: transparent;
  border-color: #111;
}

/* Ajuste general: version mas clara y menos pesada */
body {
  color: #231f20;
  background:
    radial-gradient(circle at 12% 8%, rgba(112, 44, 54, 0.08), transparent 28%),
    radial-gradient(circle at 86% 24%, rgba(97, 97, 96, 0.1), transparent 30%),
    linear-gradient(135deg, #fbfaf7 0%, #f3eee9 48%, #edf1ef 100%);
}

.home-hero {
  background: #f3eee9;
}

.home-hero-overlay {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.44) 0%, rgba(0, 0, 0, 0.2) 52%, rgba(0, 0, 0, 0.02) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.36) 0%, rgba(0, 0, 0, 0.02) 58%);
}

.home-hero::after {
  background: linear-gradient(0deg, #fbfaf7 0%, rgba(251, 250, 247, 0) 100%);
}

.home-diamond-section,
.home-focus-section {
  background:
    radial-gradient(circle at 82% 18%, rgba(112, 44, 54, 0.1), transparent 28%),
    linear-gradient(135deg, #fbfaf7 0%, #f4eee9 54%, #eef3f1 100%);
}

.to-be-video-section {
  background:
    radial-gradient(circle at 18% 28%, rgba(112, 44, 54, 0.11), transparent 42%),
    radial-gradient(circle at 88% 80%, rgba(43, 54, 53, 0.09), transparent 30%),
    linear-gradient(135deg, #f3eee9 0%, #e6ded8 100%);
}

.to-be-video-section .home-video-frame {
  background: transparent;
  box-shadow: 0 24px 70px rgba(79, 29, 39, 0.14);
}

.to-be-video-section .home-video-copy h2,
.to-be-video-section .home-video-copy p {
  color: var(--wine);
}

.corridor-break {
  background: #f3eee9;
}

.service-carousel-section {
  background:
    radial-gradient(circle at 86% 8%, rgba(112, 44, 54, 0.12), transparent 28%),
    radial-gradient(circle at 12% 86%, rgba(43, 54, 53, 0.1), transparent 32%),
    linear-gradient(135deg, #f7f3ee 0%, #ebe2dc 52%, #e8eeee 100%);
  color: #231f20;
}

.service-carousel-section .eyebrow,
.service-carousel-header h2,
.service-slide-content h3 {
  color: var(--wine);
}

.service-slide {
  background: rgba(255, 255, 255, 0.66);
  border-color: rgba(112, 44, 54, 0.14);
  box-shadow: 0 24px 72px rgba(79, 29, 39, 0.14);
}

.service-slide-content p {
  color: rgba(35, 31, 32, 0.72);
}

.carousel-button {
  color: var(--wine);
  border-color: rgba(112, 44, 54, 0.24);
  background: rgba(255, 255, 255, 0.58);
}

.carousel-button:hover {
  color: #fff;
  background: var(--wine);
}

.site-footer {
  background:
    linear-gradient(135deg, #4f1d27 0%, #702c36 100%);
  border-top: 0;
}

.site-header.is-scrolled,
.site-header.is-open,
.site-header:focus-within {
  background: rgba(112, 44, 54, 0.96);
  border-bottom-color: rgba(255, 255, 255, 0.18);
}

.site-header:not(.is-scrolled):not(.is-open):not(:focus-within) {
  background: transparent;
  border-bottom-color: transparent;
  backdrop-filter: none;
}

.site-header:hover {
  border-bottom-color: rgba(255, 255, 255, 0.18);
}

.home-page .site-header:not(.is-scrolled):not(.is-open):not(:focus-within):hover,
.home-page .site-header:not(.is-scrolled):not(.is-open).is-pointer-active {
  background: transparent;
  border-bottom-color: transparent;
  backdrop-filter: none;
}

@media (max-width: 760px) {
  .site-header.is-open .site-nav,
  .site-nav {
    background: rgba(112, 44, 54, 0.98);
  }
}

.contact-barcelona-content {
  z-index: 4;
}

.contact-barcelona-content h1 {
  display: block;
  color: #fff;
  text-shadow: 0 18px 42px rgba(0, 0, 0, 0.42);
}

.contact-map {
  min-height: clamp(260px, 32vw, 390px);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 22px 64px rgba(0, 0, 0, 0.24);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: clamp(260px, 32vw, 390px);
  display: block;
  border: 0;
}

.about-page {
  background:
    linear-gradient(180deg, #171013 0%, #2a151a 24%, #4f1d27 48%, #7a4a53 74%, #c8b8b2 92%, #efe9e5 100%);
}

.about-page main {
  background: transparent;
}

.about-page .page-hero,
.about-page .section,
.about-page .about-objectives,
.about-page .about-statement,
.about-page .footer-cta {
  background: transparent;
}

.about-page main > section::before,
.about-page .footer-cta::before {
  display: none;
}

.about-page .page-hero-overlay {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.12)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0));
}

.about-page .about-text-only,
.about-page .about-objectives {
  color: #fff;
}

.about-page .about-text-only h2,
.about-page .about-objectives .section-heading h2,
.about-page .about-objectives .eyebrow {
  color: #fff;
}

.about-page .section-copy p,
.about-page .objectives-grid p {
  color: rgba(255, 255, 255, 0.74);
}

.about-page .value-row span,
.about-page .about-key-data article,
.about-page .objectives-grid article {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
}

.about-page .about-key-data,
.about-page .objectives-grid {
  background: rgba(255, 255, 255, 0.18);
}

.about-page .about-key-data strong,
.about-page .objectives-grid span,
.about-page .objectives-grid h3 {
  color: #fff;
}

.about-page .about-truck-break {
  background: transparent;
}

.about-page .about-truck-break::before,
.about-page .about-text-only::after {
  display: none;
}

.home-diamond-section .guiex-texture-mark {
  width: min(30vw, 430px);
  margin-right: clamp(-26px, -1.6vw, -12px);
  margin-left: clamp(18px, 2.4vw, 42px);
}

.home-hero-video {
  background-image: none;
  background-color: #1f171a;
  opacity: 0;
  transition: opacity 180ms ease;
}

.home-hero {
  background: #1f171a;
}

.home-hero.is-video-ready .home-hero-video {
  opacity: 1;
}

.home-diamond-section {
  min-height: auto;
  padding-bottom: clamp(36px, 4vw, 58px);
}

@media (max-width: 980px) {
  .home-diamond-section .guiex-texture-mark {
    width: min(32vw, 280px);
    margin-right: -12px;
  }
}

@media (max-width: 620px) {
  .home-diamond-section .guiex-texture-mark {
    width: min(58vw, 210px);
    margin: 0 auto 24px;
  }
}

.about-text-only {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 0.78fr);
  align-items: center;
  gap: clamp(32px, 6vw, 92px);
  padding-bottom: clamp(70px, 8vw, 118px);
  margin-bottom: 0;
  z-index: 2;
}

.about-text-only::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: clamp(-70px, -8vw, -118px);
  z-index: 3;
  height: clamp(90px, 11vw, 150px);
  pointer-events: none;
  background: linear-gradient(180deg, rgba(251, 250, 247, 0) 0%, #fbfaf7 48%, rgba(251, 250, 247, 0) 100%);
}

.about-text-only .section-copy {
  max-width: 720px;
}

.about-walking-visual {
  margin: 0;
  width: 100%;
  overflow: hidden;
  background: rgba(112, 44, 54, 0.08);
  box-shadow: 0 24px 70px rgba(79, 29, 39, 0.14);
}

.about-walking-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
}

.about-key-data {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(24px, 4vw, 42px);
  background: rgba(112, 44, 54, 0.18);
}

.about-key-data article {
  min-height: 132px;
  display: grid;
  align-content: space-between;
  gap: 18px;
  padding: clamp(16px, 2.2vw, 24px);
  background: rgba(255, 255, 255, 0.72);
}

.about-key-data strong {
  color: var(--wine);
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 0.86;
  font-weight: 900;
}

.about-key-data span {
  color: rgba(35, 31, 32, 0.72);
  font-size: 0.88rem;
  line-height: 1.35;
}

.about-truck-break {
  position: relative;
  margin-top: 0;
  z-index: 1;
  height: clamp(260px, 38vw, 480px);
  overflow: hidden;
  background: #f3eee9;
}

.about-truck-break::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(251, 250, 247, 0.34) 0%, rgba(251, 250, 247, 0) 42%);
}

.about-truck-break img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.about-objectives {
  background:
    radial-gradient(circle at 88% 12%, rgba(112, 44, 54, 0.1), transparent 28%),
    linear-gradient(135deg, #fbfaf7 0%, #efe8e2 100%);
}

.about-objectives .section-heading {
  max-width: 760px;
  margin-bottom: clamp(28px, 5vw, 58px);
}

.about-objectives .section-heading h2 {
  color: var(--wine);
}

.objectives-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(112, 44, 54, 0.2);
}

.objectives-grid article {
  min-height: 270px;
  display: grid;
  align-content: space-between;
  gap: 24px;
  padding: clamp(20px, 2.8vw, 34px);
  background: rgba(255, 255, 255, 0.74);
}

.objectives-grid span {
  color: var(--wine);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.objectives-grid h3 {
  max-width: 240px;
  margin: 0;
  color: #231f20;
  font-size: clamp(1.15rem, 1.7vw, 1.75rem);
  line-height: 1.02;
}

.objectives-grid p {
  margin: 0;
  color: rgba(35, 31, 32, 0.7);
  font-size: 0.92rem;
  line-height: 1.5;
}

@media (max-width: 860px) {
  .about-text-only {
    grid-template-columns: 1fr;
  }

  .about-walking-visual {
    max-width: 520px;
  }

  .about-key-data {
    grid-template-columns: 1fr;
  }

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

  .objectives-grid article {
    min-height: 210px;
  }
}

/* Reparto mas equilibrado del mosaico */
.services-section .solutions-mosaic .mosaic-image-tile {
  grid-column: span 3;
}

@media (max-width: 980px) {
  .services-section .solutions-mosaic .mosaic-image-tile {
    grid-column: span 2;
  }
}

/* Distribucion aleatoria controlada de soluciones */
.services-section .solutions-mosaic {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.services-section .solutions-mosaic .mosaic-image-tile {
  grid-column: span 2;
}

@media (max-width: 980px) {
  .services-section .solutions-mosaic {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

/* Carrusel de servicios en home */
.service-carousel-section {
  padding: clamp(54px, 7vw, 100px) clamp(22px, 6vw, 84px);
  background:
    radial-gradient(circle at 90% 12%, rgba(112, 44, 54, 0.18), transparent 30%),
    radial-gradient(circle at 12% 84%, rgba(216, 204, 200, 0.18), transparent 30%),
    linear-gradient(135deg, #3a252b 0%, #4f1d27 48%, #2b3635 100%);
  color: #fff;
}

.service-carousel-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(24px, 3vw, 40px);
}

.service-carousel-header .eyebrow {
  color: #f0d7dc;
}

.carousel-controls {
  display: flex;
  gap: 10px;
}

.carousel-button {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.34);
  color: #fff;
  background: transparent;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease;
}

.carousel-button:hover {
  background: var(--wine);
  border-color: var(--wine);
}

.service-carousel {
  position: relative;
  min-height: clamp(390px, 42vw, 560px);
}

.service-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(320px, 1.02fr) minmax(300px, 0.78fr);
  align-items: stretch;
  gap: clamp(22px, 3vw, 46px);
  padding: clamp(18px, 2.4vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    rgba(255, 255, 255, 0.04);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
  opacity: 0;
  pointer-events: none;
  transform: translateX(20px);
  transition: opacity 260ms ease, transform 260ms ease;
}

.service-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.service-slide-video {
  overflow: hidden;
  align-self: center;
  background: #080808;
}

.service-slide-video video {
  width: 100%;
  height: clamp(280px, 32vw, 420px);
  min-height: 0;
  display: block;
  object-fit: cover;
}

.service-slide-copy {
  align-self: center;
  max-width: 540px;
}

.service-slide-copy span {
  display: inline-block;
  margin-bottom: 18px;
  color: #f0d7dc;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.service-slide-copy h2 {
  margin-bottom: 20px;
  color: #fff;
  font-size: clamp(2rem, 4.4vw, 5rem);
  line-height: 0.92;
  text-transform: uppercase;
}

.service-slide-copy p {
  max-width: 500px;
  color: rgba(255, 255, 255, 0.76);
}

.service-slide-copy .text-link {
  color: #fff;
}

@media (max-width: 860px) {
  .service-carousel {
    min-height: 760px;
  }

  .service-slide {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .services-section .solutions-mosaic {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Reset estable del mosaico de soluciones */
.services-section {
  background:
    radial-gradient(circle at 82% 12%, rgba(112, 44, 54, 0.1), transparent 28%),
    linear-gradient(135deg, #f7f3ee 0%, #e9dfda 48%, #e2e8e6 100%);
}

.services-section .solutions-mosaic {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0;
}

.services-section .solutions-mosaic .mosaic-tile {
  min-height: 0;
  aspect-ratio: 1;
  padding: clamp(8px, 1vw, 15px);
}

.services-section .solutions-mosaic .mosaic-image-tile {
  grid-column: span 2;
  color: #fff;
  background: #171012;
}

.mosaic-image-tile .mosaic-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.96) contrast(1.04) brightness(1.02);
  transition: transform 240ms ease, filter 240ms ease;
}

.mosaic-image-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.54), rgba(0, 0, 0, 0.08)),
    linear-gradient(90deg, rgba(112, 44, 54, 0.18), rgba(0, 0, 0, 0));
}

.mosaic-image-tile h3 {
  position: relative;
  z-index: 2;
  max-width: 145px;
  color: #fff;
  font-size: clamp(0.72rem, 0.9vw, 1rem);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.38);
}

.mosaic-image-tile:hover .mosaic-image {
  transform: scale(1.05);
  filter: saturate(1.04) contrast(1.08) brightness(1.08);
}

@media (max-width: 980px) {
  .services-section .solutions-mosaic {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .services-section .solutions-mosaic {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .services-section .solutions-mosaic .mosaic-image-tile {
    grid-column: span 2;
  }
}

/* Mosaico final: color solido, sin video ni transparencias */
.services-section .solutions-mosaic {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.services-section .solutions-mosaic .mosaic-tile {
  min-height: 0;
  aspect-ratio: 1;
  padding: clamp(8px, 1vw, 15px);
  background-image: none;
}

.services-section .solutions-mosaic .mosaic-link {
  grid-column: span 2;
}

.services-section .solutions-mosaic .mosaic-link h3 {
  max-width: 145px;
  color: #fff;
  font-size: clamp(0.72rem, 0.9vw, 1rem);
  text-shadow: none;
}

.services-section .solutions-mosaic .mosaic-tile:not(.mosaic-image-tile)::before {
  content: "";
  position: absolute;
  width: 46%;
  aspect-ratio: 1;
  right: -12%;
  bottom: -14%;
  opacity: 0.055;
  background: currentColor;
  -webkit-mask: url("assets/guiex-icon-mask.png?v=d0e508fc83") center / contain no-repeat;
  mask: url("assets/guiex-icon-mask.png?v=d0e508fc83") center / contain no-repeat;
}

.services-section .solutions-mosaic .mosaic-tile:not(.mosaic-image-tile):nth-child(3n)::before {
  display: none;
}

.services-section .solutions-mosaic .mosaic-tile:not(.mosaic-image-tile):nth-child(4n)::before {
  width: 38%;
  right: 8%;
  bottom: 8%;
  opacity: 0.07;
}

.services-section .solutions-mosaic .mosaic-tile:not(.mosaic-image-tile):nth-child(5n)::before {
  width: 54%;
  right: auto;
  left: -18%;
  bottom: -18%;
  opacity: 0.045;
}

.services-section .solutions-mosaic .mosaic-tile:not(.mosaic-image-tile):nth-child(2n)::before {
  display: none;
}

.services-section .solutions-mosaic .tile-wine {
  background: #702c36;
}

.services-section .solutions-mosaic .tile-wine-soft {
  background: #5b2530;
}

.services-section .solutions-mosaic .tile-graphite {
  background: #2b2b2b;
}

.services-section .solutions-mosaic .tile-gray {
  background: #616160;
}

.services-section .solutions-mosaic .tile-gray-dark {
  background: #3f4444;
}

.services-section .solutions-mosaic .tile-ink {
  background: #111111;
}

.services-section .solutions-mosaic .tile-deep {
  background: #211016;
}

.services-section .solutions-mosaic .tile-muted {
  background: #4b4b49;
}

.services-section .solutions-mosaic .tile-paper {
  background: #d8ccc8;
  color: #702c36;
}

.services-section .solutions-mosaic .tile-wine,
.services-section .solutions-mosaic .tile-wine-soft,
.services-section .solutions-mosaic .tile-graphite,
.services-section .solutions-mosaic .tile-gray,
.services-section .solutions-mosaic .tile-gray-dark,
.services-section .solutions-mosaic .tile-ink,
.services-section .solutions-mosaic .tile-deep,
.services-section .solutions-mosaic .tile-muted {
  color: rgba(255, 255, 255, 0.9);
}

.services-section .solutions-mosaic .mosaic-link:hover {
  filter: brightness(1.08);
  transform: translateY(-4px);
}

@media (max-width: 980px) {
  .services-section .solutions-mosaic {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .services-section .solutions-mosaic {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Soluciones con imagen, resto con color solido */
.services-section .solutions-mosaic .mosaic-image-tile {
  position: relative;
  grid-column: span 2;
  overflow: hidden;
  color: #fff;
  background: #111;
}

.services-section .solutions-mosaic .mosaic-image-tile .mosaic-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.98) contrast(1.04) brightness(1.04);
  transition: transform 240ms ease, filter 240ms ease;
}

.services-section .solutions-mosaic .mosaic-image-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.08)),
    linear-gradient(90deg, rgba(112, 44, 54, 0.18), rgba(0, 0, 0, 0));
}

.services-section .solutions-mosaic .mosaic-image-tile h3 {
  position: relative;
  z-index: 2;
}

.services-section .solutions-mosaic .mosaic-image-tile:hover .mosaic-image {
  transform: scale(1.05);
  filter: saturate(1.04) contrast(1.08) brightness(1.08);
}

/* Aclarar bloque Soluciones en home */
.services-section {
  background:
    radial-gradient(circle at 88% 16%, rgba(112, 44, 54, 0.12), transparent 26%),
    linear-gradient(135deg, #f7f3ee 0%, #e7ded9 48%, #dfe7e5 100%);
}

.services-section .eyebrow {
  color: var(--wine);
}

.services-section .section-heading h2 {
  color: var(--wine);
}

/* Escala mas contenida para soluciones */
.services-section {
  padding-top: clamp(28px, 3.5vw, 48px);
}

.services-section .section-heading {
  padding-bottom: clamp(12px, 1.6vw, 20px);
}

.services-section .section-heading h2 {
  max-width: 720px;
  font-size: clamp(1.35rem, 2.7vw, 3rem);
}

.services-section .solutions-mosaic {
  grid-template-columns: repeat(20, minmax(0, 1fr));
}

.services-section .solutions-mosaic .mosaic-tile {
  padding: clamp(5px, 0.55vw, 9px);
}

.services-section .solutions-mosaic .mosaic-video-tile {
  grid-column: span 2;
}

.services-section .solutions-mosaic .mosaic-link h3 {
  max-width: 105px;
  font-size: clamp(0.56rem, 0.65vw, 0.78rem);
}

/* Direccion visual: fondos claros salvo piezas visuales a pantalla completa */
main > section:not(.home-hero):not(.page-hero):not(.media-hero):not(.contact-barcelona-hero):not(.corridor-break),
.section,
.home-focus-section,
.home-diamond-section,
.to-be-video-section,
.service-carousel-section,
.services-section,
.blog-section,
.contact-section,
.solution-page-section,
.solution-index-intro,
.service-detail-list,
.about-statement,
.about-objectives {
  background:
    radial-gradient(circle at 86% 12%, rgba(112, 44, 54, 0.08), transparent 28%),
    radial-gradient(circle at 14% 82%, rgba(97, 97, 96, 0.1), transparent 32%),
    linear-gradient(135deg, #fbfaf7 0%, #f1ece7 52%, #eef1ef 100%);
  color: #231f20;
}

.to-be-video-section .to-be-copy h2,
.to-be-video-section .home-video-copy h2,
.service-carousel-header h2,
.service-slide-content h3,
.section-heading h2,
.section-copy h2,
.about-statement h2,
.about-statement .assembly-phrase,
.blog-intro h2,
.contact-copy h2,
.solution-main-copy h2,
.solution-side-panel h3 {
  color: var(--wine);
}

.to-be-video-section .to-be-copy p,
.to-be-video-section .home-video-copy p,
.service-slide-content p,
.section-heading p,
.section-copy p,
.about-statement p,
.blog-intro p,
.contact-copy p,
.solution-main-copy p,
.solution-side-panel p,
.solution-side-panel li {
  color: rgba(35, 31, 32, 0.72);
}

.about-statement .eyebrow,
.service-carousel-section .eyebrow,
.services-section .eyebrow,
.blog-section .eyebrow,
.contact-section .eyebrow,
.solution-page-section .eyebrow {
  color: var(--wine);
}

.service-slide,
.blog-card,
.featured-post,
.contact-form,
.contact-panel,
.solution-side-panel,
.about-key-data article,
.objectives-grid article {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(112, 44, 54, 0.12);
  box-shadow: 0 22px 70px rgba(79, 29, 39, 0.1);
}

.site-footer {
  color: #231f20;
  background:
    radial-gradient(circle at 90% 10%, rgba(112, 44, 54, 0.1), transparent 26%),
    linear-gradient(135deg, #f7f3ee 0%, #e8e2dd 100%);
  border-top: 1px solid rgba(112, 44, 54, 0.18);
}

.site-footer .footer-brand p,
.site-footer .footer-block span,
.site-footer .footer-block a,
.site-footer .social-link,
.site-footer .footer-bottom {
  color: rgba(35, 31, 32, 0.72);
}

.site-footer .footer-block h2,
.site-footer .footer-bottom span:first-child {
  color: var(--wine);
}

.site-footer .social-link span {
  color: #fff;
  background: var(--wine);
}

/* Home soluciones: bolas con solucion activa */
.service-carousel-section {
  position: relative;
  padding-top: clamp(18px, 2.4vw, 36px);
  padding-bottom: clamp(44px, 6vw, 82px);
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 18%, rgba(112, 44, 54, 0.28), transparent 34%),
    radial-gradient(circle at 18% 78%, rgba(97, 97, 96, 0.24), transparent 38%),
    linear-gradient(150deg, #f8f1ec 0%, #ead9d7 36%, #d7dddc 72%, #f4f1ec 100%);
}

.service-carousel-section::before,
.service-carousel-section::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.service-carousel-section::before {
  inset: 10% 4% 8% auto;
  width: min(48vw, 620px);
  aspect-ratio: 1;
  border: 1px solid rgba(112, 44, 54, 0.1);
  border-radius: 50%;
  background:
    radial-gradient(circle, transparent 0 36%, rgba(112, 44, 54, 0.045) 36.4% 37.2%, transparent 37.6% 52%, rgba(97, 97, 96, 0.055) 52.4% 53.2%, transparent 53.6%),
    repeating-linear-gradient(120deg, transparent 0 24px, rgba(112, 44, 54, 0.04) 25px 26px);
  opacity: 0.9;
}

.service-carousel-section::after {
  left: clamp(22px, 6vw, 92px);
  bottom: clamp(28px, 5vw, 70px);
  width: min(28vw, 340px);
  height: 1px;
  background: linear-gradient(90deg, rgba(112, 44, 54, 0), rgba(112, 44, 54, 0.34), rgba(112, 44, 54, 0));
}

.service-carousel-header {
  position: relative;
  z-index: 2;
  margin-bottom: clamp(6px, 1vw, 14px);
}

.service-carousel-section .carousel-controls {
  position: absolute;
  z-index: 5;
  top: 50%;
  left: 50%;
  width: min(88vw, 780px);
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.service-carousel-section .carousel-button {
  pointer-events: auto;
  color: var(--wine);
  border: 0;
  background: transparent;
  box-shadow: none;
  font-size: clamp(2.4rem, 4vw, 4.2rem);
  line-height: 1;
  opacity: 0.92;
  transition: transform 180ms ease, opacity 180ms ease, color 180ms ease;
}

.service-carousel-section .carousel-button:hover {
  color: #231f20;
  background: transparent;
  transform: scale(1.12);
  opacity: 1;
}

.service-carousel {
  position: relative;
  z-index: 2;
  min-height: clamp(330px, 38vw, 520px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2vw, 34px);
}

.service-slide {
  position: relative;
  inset: auto;
  flex: 0 0 clamp(74px, 7.4vw, 112px);
  width: clamp(74px, 7.4vw, 112px);
  height: clamp(74px, 7.4vw, 112px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(112, 44, 54, 0.48);
  border-radius: 50%;
  opacity: 1;
  pointer-events: auto;
  transform: none;
  background: transparent;
  box-shadow: 0 12px 30px rgba(79, 29, 39, 0.08);
  cursor: pointer;
  transition: flex-basis 520ms ease, width 520ms ease, height 520ms ease, transform 520ms ease, box-shadow 520ms ease;
}

.service-slide:not(.is-active):hover {
  transform: scale(1.08);
  box-shadow: 0 18px 44px rgba(79, 29, 39, 0.16);
}

.service-slide.is-active {
  flex-basis: clamp(300px, 34vw, 520px);
  width: clamp(300px, 34vw, 520px);
  height: clamp(300px, 34vw, 520px);
  transform: translateY(0);
  border-color: transparent;
  box-shadow: 0 34px 90px rgba(79, 29, 39, 0.2);
  cursor: default;
}

.service-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.04) 56%),
    radial-gradient(circle at 68% 24%, rgba(112, 44, 54, 0.26), transparent 36%);
  opacity: 0;
  transition: opacity 380ms ease;
}

.service-slide.is-active::after {
  opacity: 1;
}

.service-slide:not(.is-active)::after {
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.34), rgba(0, 0, 0, 0.06)),
    radial-gradient(circle at 52% 30%, rgba(255, 255, 255, 0.12), transparent 48%);
  opacity: 1;
}

.service-slide-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  opacity: 1;
  transition: opacity 380ms ease;
}

.service-slide.is-active .service-slide-video {
  opacity: 1;
}

.service-slide-video video {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.service-slide-copy {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: none;
  display: grid;
  justify-items: center;
  align-content: center;
  padding: 0;
  text-align: center;
}

.service-slide-copy span {
  margin: 0;
  color: var(--wine);
  font-size: clamp(1.6rem, 3vw, 3.5rem);
  line-height: 0.86;
  font-weight: 900;
  letter-spacing: 0;
}

.service-slide:not(.is-active) .service-slide-copy span {
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.48);
}

.service-slide-copy h2,
.service-slide-copy p,
.service-slide-copy .text-link {
  display: none;
}

.service-slide.is-active .service-slide-copy {
  position: absolute;
  inset: auto clamp(46px, 5.4vw, 76px) clamp(44px, 5.6vw, 76px);
  width: auto;
  justify-items: start;
  align-content: end;
  text-align: left;
}

.service-slide.is-active .service-slide-copy span {
  margin-bottom: 14px;
  color: #f0d7dc;
  font-size: 0.8rem;
  line-height: 1;
  letter-spacing: 0.14em;
}

.service-slide.is-active .service-slide-copy h2,
.service-slide.is-active .service-slide-copy .text-link {
  display: block;
}

.service-slide.is-active .service-slide-copy p {
  display: none;
}

.service-slide.is-active .service-slide-copy h2 {
  max-width: 280px;
  margin: 0 0 12px;
  color: #fff;
  font-size: clamp(1.45rem, 2.5vw, 2.8rem);
  line-height: 0.98;
  text-transform: uppercase;
}

.service-slide.is-active .service-slide-copy p {
  max-width: 300px;
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.82);
}

.service-slide.is-active .service-slide-copy .text-link {
  color: #fff;
}

.service-slide.is-active .service-slide-copy .service-orb-link {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.service-slide.is-active .service-slide-copy .service-orb-link::before {
  content: "→";
  font-size: 1.25rem;
  line-height: 1;
}

.service-slide.is-active .service-slide-copy .service-orb-link:hover {
  transform: translateX(4px);
  background: rgba(255, 255, 255, 0.14);
  border-color: #fff;
}

@media (max-width: 860px) {
  .service-carousel {
    min-height: auto;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .service-slide.is-active {
    flex-basis: min(100%, 520px);
    width: min(100%, 520px);
    height: min(86vw, 520px);
  }
}

@media (max-width: 620px) {
  .service-slide {
    flex-basis: 74px;
    width: 74px;
    height: 74px;
  }

  .service-slide-copy span {
    font-size: 1.75rem;
  }
}

@media (max-width: 980px) {
  .services-section .solutions-mosaic {
    grid-template-columns: repeat(10, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .services-section .solutions-mosaic {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Override definitivo: fondo conectado de Soluciones */
.service-carousel-section {
  background:
    radial-gradient(circle at 80% 18%, rgba(112, 44, 54, 0.2), transparent 34%),
    radial-gradient(circle at 18% 78%, rgba(97, 97, 96, 0.18), transparent 38%),
    linear-gradient(145deg, #f7f1ed 0%, #eee4df 42%, #dde1df 100%);
}

.service-carousel-section .service-carousel::before {
  content: "";
  position: absolute;
  inset: -10% -6%;
  z-index: -1;
  background-image: url("data:image/svg+xml,%3Csvg width='760' height='360' viewBox='0 0 760 360' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg opacity='.62' stroke='%23702c36' stroke-width='1.4'%3E%3Cpath d='M74 220L154 132L274 166L370 86L502 150L632 90'/%3E%3Cpath d='M154 132L218 268L370 86L448 252L632 90L690 214'/%3E%3Cpath d='M274 166L448 252L580 238L690 214'/%3E%3C/g%3E%3Cg fill='%23702c36'%3E%3Ccircle cx='74' cy='220' r='5'/%3E%3Ccircle cx='154' cy='132' r='6'/%3E%3Ccircle cx='274' cy='166' r='5'/%3E%3Ccircle cx='370' cy='86' r='6'/%3E%3Ccircle cx='448' cy='252' r='5'/%3E%3Ccircle cx='502' cy='150' r='5'/%3E%3Ccircle cx='632' cy='90' r='6'/%3E%3Ccircle cx='690' cy='214' r='5'/%3E%3Ccircle cx='218' cy='268' r='4'/%3E%3Ccircle cx='580' cy='238' r='4'/%3E%3C/g%3E%3Cg opacity='.42' stroke='%23616160' stroke-width='1.2'%3E%3Cpath d='M96 70L154 132L236 58L370 86'/%3E%3Cpath d='M502 150L580 238L690 214'/%3E%3C/g%3E%3Cg fill='%23616160'%3E%3Ccircle cx='96' cy='70' r='4'/%3E%3Ccircle cx='236' cy='58' r='4'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: min(84vw, 780px) auto;
  opacity: 0.46;
}

/* Override final: cabeceras interiores mas bajas; la home no cambia */
body:not(.home-page) .page-hero,
body:not(.home-page) .media-hero {
  min-height: clamp(360px, 46vh, 520px);
  padding-top: clamp(110px, 10vw, 150px);
  padding-bottom: clamp(42px, 5vw, 70px);
}

body:not(.home-page) .contact-barcelona-hero {
  min-height: clamp(420px, 52vh, 580px);
  padding-top: clamp(110px, 10vw, 150px);
  padding-bottom: clamp(42px, 5vw, 74px);
}

body:not(.home-page) .page-hero h1,
body:not(.home-page) .media-hero h1,
body:not(.home-page) .contact-barcelona-content h1 {
  font-size: clamp(2.7rem, 7.5vw, 6.2rem);
  line-height: 0.88;
}

@media (max-width: 760px) {
  body:not(.home-page) .page-hero,
  body:not(.home-page) .media-hero,
  body:not(.home-page) .contact-barcelona-hero {
    min-height: clamp(340px, 50vh, 480px);
    padding-top: 104px;
    padding-bottom: 44px;
  }
}
/* GUIEX override al final real: menu y objetivos */
.site-header .nav-dropdown {
  position: static;
}

.site-header .dropdown-menu {
  position: fixed;
  top: clamp(74px, 8vw, 92px);
  left: 0;
  right: 0;
  width: 100vw;
  min-width: 0;
  transform: none;
  grid-template-columns: minmax(280px, 0.85fr) repeat(4, minmax(140px, 1fr));
  gap: 0;
  padding: 0 clamp(18px, 4vw, 56px);
  border: 0;
  border-radius: 0;
  background: #111;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.site-header .dropdown-menu::before {
  content: "";
  min-height: clamp(148px, 17vw, 220px);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.46)),
    url("assets/donut-soluciones.jpg?v=6fc98220c3") center / cover no-repeat;
}

.site-header .dropdown-menu a {
  min-height: clamp(148px, 17vw, 220px);
  align-items: flex-end;
  justify-content: flex-start;
  padding: clamp(18px, 2.4vw, 30px);
  border: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0;
  color: #fff;
  background: transparent;
  font-size: clamp(0.78rem, 0.95vw, 0.98rem);
  letter-spacing: 0.05em;
}

.site-header .dropdown-menu a:hover,
.site-header.is-scrolled .dropdown-menu a:hover,
.site-header.is-open .dropdown-menu a:hover {
  color: var(--wine);
  background: #fff;
  border-color: rgba(112, 44, 54, 0.22);
}

.about-objectives .objectives-grid article:nth-child(1) .objective-card-front,
.about-objectives .objectives-grid article:nth-child(4) .objective-card-front {
  background: var(--wine);
}

.about-objectives .objectives-grid article:nth-child(2) .objective-card-front,
.about-objectives .objectives-grid article:nth-child(3) .objective-card-front {
  background: var(--gray);
}

.about-objectives .objective-card-front .objective-icon,
.about-objectives .objective-card-front::after {
  display: none;
}

.about-objectives .objective-card-front h3 {
  max-width: 11ch;
  color: #fff;
  font-size: clamp(2rem, 3.3vw, 3.65rem);
  line-height: 0.92;
  text-transform: uppercase;
}

.about-objectives .objective-card-back::after {
  color: var(--wine);
  opacity: 0.08;
}

@media (max-width: 760px) {
  .site-header .nav-dropdown {
    position: relative;
  }

  .site-header .dropdown-menu {
    position: static;
    width: auto;
    grid-template-columns: 1fr;
    padding: 10px;
    border-radius: 0;
  }

  .site-header .dropdown-menu::before {
    display: none;
  }

  .site-header .dropdown-menu a {
    min-height: 44px;
    padding: 12px 14px;
    border-left: 0;
  }
}
/* GUIEX mega menu final: pegado a navbar, imagen izquierda y lista derecha */
.site-header .dropdown-menu {
  top: clamp(58px, 6.2vw, 76px);
  grid-template-columns: minmax(360px, 42vw) minmax(280px, 1fr);
  align-items: stretch;
  padding: 0;
}

.site-header .dropdown-menu::before {
  min-height: clamp(190px, 23vw, 300px);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.26)),
    url("assets/donut-soluciones.jpg?v=6fc98220c3") center / cover no-repeat;
}

.site-header .dropdown-menu a {
  grid-column: 2;
  min-height: auto;
  align-items: center;
  justify-content: flex-start;
  padding: 18px clamp(28px, 4vw, 56px);
  border-left: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  font-size: clamp(0.95rem, 1.2vw, 1.2rem);
}

.site-header .dropdown-menu a:first-of-type {
  padding-top: clamp(26px, 3vw, 42px);
}

.site-header .dropdown-menu a:last-of-type {
  border-bottom: 0;
  padding-bottom: clamp(26px, 3vw, 42px);
}

@media (max-width: 760px) {
  .site-header .dropdown-menu {
    grid-template-columns: 1fr;
    padding: 10px;
  }

  .site-header .dropdown-menu a {
    grid-column: auto;
    padding: 12px 14px;
    border-bottom: 0;
  }
}
/* GUIEX ajuste final enfoque home */
.home-diamond-section .home-focus-copy h2,
.home-focus-copy h2 {
  letter-spacing: 0 !important;
  word-spacing: 0 !important;
  line-height: 0.96 !important;
}
/* GUIEX ajuste global de titulos: letras mas juntas */
h1,
h2,
h3,
.section-heading h2,
.home-focus-copy h2,
.home-diamond-section .home-focus-copy h2,
.page-hero h1,
.media-hero h1,
.contact-barcelona-content h1,
.service-slide-copy h2,
.footer-cta h2 {
  letter-spacing: 0 !important;
  word-spacing: 0 !important;
}

.home-focus-copy h2,
.home-diamond-section .home-focus-copy h2 {
  line-height: 0.94 !important;
}

/* GUIEX ajuste final: titulos mas compactos y mega menu completo */
h1,
h2,
h3,
.section-heading h2,
.home-focus-copy h2,
.home-diamond-section .home-focus-copy h2,
.page-hero h1,
.media-hero h1,
.contact-barcelona-content h1,
.service-slide-copy h2,
.footer-cta h2 {
  letter-spacing: 0 !important;
  word-spacing: 0 !important;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
}

.home-focus-copy h2,
.home-diamond-section .home-focus-copy h2 {
  max-width: 760px !important;
  font-size: clamp(2.05rem, 4.1vw, 4.35rem) !important;
  line-height: 0.9 !important;
  font-weight: 900 !important;
}

.site-header .dropdown-menu {
  grid-template-columns: minmax(390px, 44vw) minmax(280px, 1fr);
  grid-auto-rows: minmax(58px, auto);
}

.site-header .dropdown-menu::before {
  grid-column: 1;
  grid-row: 1 / span 4;
  height: 100%;
  min-height: 100%;
  align-self: stretch;
}

.site-header .dropdown-menu a {
  grid-column: 2;
  min-height: clamp(58px, 5.4vw, 78px);
}

/* GUIEX ajuste final: tarjetas soluciones, flechas y foto navbar */
.solution-index-intro .solution-tile,
.services-section .solution-tile,
.solution-tile {
  border-radius: 0 !important;
}

.solution-index-intro .solution-tile h3,
.services-section .solution-tile h3,
.solution-tile h3 {
  color: rgba(255, 255, 255, 0.82) !important;
  font-weight: 950 !important;
  text-transform: uppercase;
  letter-spacing: 0 !important;
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.solution-index-intro .solution-tile .eyebrow,
.solution-index-intro .solution-tile span {
  color: rgba(255, 255, 255, 0.58) !important;
  font-weight: 800;
}

.site-header .dropdown-menu::before {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.22)),
    url("assets/responsive/foto-soluciones-navbar-1920w.webp?v=6fe0cb6dad") center / cover no-repeat !important;
}

.carousel-button {
  font-family: Raleway, "Segoe UI", Arial, sans-serif !important;
  font-size: clamp(1.25rem, 1.8vw, 1.7rem) !important;
  line-height: 1 !important;
}

.service-slide.is-active .service-slide-copy .service-orb-link::before {
  content: "\2192" !important;
  font-family: Raleway, "Segoe UI", Arial, sans-serif !important;
}

/* GUIEX mega menu en rojo corporativo */
.site-header .dropdown-menu {
  background: var(--wine) !important;
}

.site-header .dropdown-menu a {
  border-bottom-color: rgba(255, 255, 255, 0.18) !important;
}

.site-header .dropdown-menu a:hover,
.site-header.is-scrolled .dropdown-menu a:hover,
.site-header.is-open .dropdown-menu a:hover {
  color: var(--wine) !important;
  background: #fff !important;
}

/* GUIEX objetivos: tarjetas rectas y titulo mas fuerte */
.about-objectives .objectives-grid article,
.about-objectives .objective-card-inner,
.about-objectives .objective-card-face {
  border-radius: 0 !important;
}

.about-objectives .objective-card-front h3 {
  color: rgba(255, 255, 255, 0.82) !important;
  font-weight: 950 !important;
  letter-spacing: 0 !important;
  text-transform: uppercase;
}

/* GUIEX objetivos: iconos sobrios en portada */
.about-objectives .objective-card-front .objective-icon {
  display: grid !important;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  place-items: center;
  border: 1.5px solid rgba(255, 255, 255, 0.58);
  color: rgba(255, 255, 255, 0.72);
}

.about-objectives .objective-card-front .objective-icon::before {
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 1;
}

.about-objectives .objectives-grid article:nth-child(1) .objective-icon::before {
  content: "!";
}

.about-objectives .objectives-grid article:nth-child(2) .objective-icon::before {
  content: "+";
}

.about-objectives .objectives-grid article:nth-child(3) .objective-icon::before {
  content: ">";
}

.about-objectives .objectives-grid article:nth-child(4) .objective-icon::before {
  content: "=";
}

/* GUIEX objetivos: iconos especificos */
.about-objectives .objective-card-front .objective-icon {
  border: 0 !important;
  background-color: rgba(255, 255, 255, 0.18);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 58%;
  filter: brightness(0) invert(1);
  opacity: 0.78;
}

.about-objectives .objective-card-front .objective-icon::before {
  content: "" !important;
}

.about-objectives .objectives-grid article:nth-child(1) .objective-icon {
  background-image: url("assets/icon-riesgos.svg?v=1f182775c6");
}

.about-objectives .objectives-grid article:nth-child(2) .objective-icon {
  background-image: url("assets/icon-lista.svg?v=a487ed7c71");
}

.about-objectives .objectives-grid article:nth-child(3) .objective-icon {
  background-image: url("assets/icon-agilidad.svg?v=fd2ad189fc");
}

.about-objectives .objectives-grid article:nth-child(4) .objective-icon {
  background-image: url("assets/icon-asistencia.svg?v=f13474a566");
}

/* GUIEX objetivos: icono especifico por encima del logo de fondo */
.about-objectives .objective-card-front .objective-icon {
  position: relative;
  z-index: 3;
}

.about-objectives .objective-card-front h3 {
  position: relative;
  z-index: 3;
}

.about-objectives .objective-card-front::after {
  display: block !important;
  z-index: 1;
  opacity: 0.08 !important;
  filter: none;
}

/* GUIEX objetivos: solo iconos especificos, sin logo grande */
.about-objectives .objective-card-front::after {
  display: none !important;
}

.about-objectives .objective-card-front .objective-icon {
  width: 76px;
  height: 76px;
  margin-bottom: 28px;
  background-color: rgba(255, 255, 255, 0.22);
  background-size: 68%;
  opacity: 1;
}

/* GUIEX objetivos: quitar cualquier logo GUIEX de las tarjetas */
.about-objectives .objective-card-face::after,
.about-objectives .objective-card-front::after,
.about-objectives .objective-card-back::after {
  display: none !important;
  content: none !important;
  background-image: none !important;
}

/* GUIEX objetivos: eliminar mascara del icono corporativo */
.about-objectives .objective-card-front .objective-icon {
  -webkit-mask: none !important;
  mask: none !important;
  background-color: rgba(255, 255, 255, 0.22) !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

/* GUIEX objetivos: aire interior de tarjetas */
.about-objectives .objective-card-face {
  padding: clamp(28px, 3.2vw, 46px) !important;
}

.about-objectives .objective-card-front {
  align-content: end;
}

.about-objectives .objective-card-front h3 {
  margin-bottom: 0 !important;
  padding-bottom: clamp(4px, 0.8vw, 12px);
}

.about-objectives .objective-card-back p {
  max-width: 92%;
}

/* GUIEX defensa legal: ambitos mas visuales */
.defense-visual-panel {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.defense-visual-panel > h3 {
  margin: 0 0 clamp(18px, 2.4vw, 30px);
  color: var(--wine);
  font-size: clamp(1.55rem, 2.6vw, 2.65rem);
  font-weight: 900;
  line-height: 0.95;
}

.defense-visual-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
}

.defense-visual-grid article {
  min-height: clamp(170px, 14vw, 230px);
  display: grid;
  align-content: space-between;
  gap: 20px;
  padding: clamp(22px, 2.6vw, 34px);
  color: #fff;
  background: var(--wine);
}

.defense-visual-grid article:nth-child(2),
.defense-visual-grid article:nth-child(3) {
  background: var(--gray);
}

.defense-visual-grid article:nth-child(5) {
  grid-column: 1 / -1;
  min-height: clamp(132px, 11vw, 180px);
  background:
    linear-gradient(90deg, rgba(112, 44, 54, 0.94), rgba(97, 97, 96, 0.92)),
    url("assets/poster-defensa-v2.jpg?v=2c5ac228be") center / cover no-repeat;
}

.defense-visual-grid span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.82rem;
  font-weight: 900;
}

.defense-visual-grid h4 {
  max-width: 12ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.35rem, 2.2vw, 2.25rem);
  font-weight: 950;
  line-height: 0.96;
  text-transform: uppercase;
}

.defense-visual-grid p {
  max-width: 30ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.94rem;
  line-height: 1.45;
}

@media (max-width: 760px) {
  .defense-visual-grid {
    grid-template-columns: 1fr;
  }

  .defense-visual-grid article:nth-child(5) {
    grid-column: auto;
  }
}

/* GUIEX defensa legal: composicion menos plana */
.defense-visual-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(10px, 1.2vw, 18px);
  align-items: stretch;
}

.defense-visual-grid article {
  position: relative;
  overflow: hidden;
  min-height: clamp(190px, 15vw, 250px);
  isolation: isolate;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background:
    radial-gradient(circle at 88% 8%, rgba(255, 255, 255, 0.26), transparent 24%),
    linear-gradient(135deg, var(--wine), #4f1d27);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 28px), calc(100% - 28px) 100%, 0 100%);
}

.defense-visual-grid article::before {
  content: "";
  position: absolute;
  inset: auto -18% -34% auto;
  width: 62%;
  aspect-ratio: 1;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, 0.24);
  transform: rotate(45deg);
}

.defense-visual-grid article::after {
  content: "";
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  z-index: -1;
  border-top: 2px solid rgba(255, 255, 255, 0.36);
  border-right: 2px solid rgba(255, 255, 255, 0.36);
}

.defense-visual-grid article:nth-child(1) {
  grid-column: span 3;
}

.defense-visual-grid article:nth-child(2) {
  grid-column: span 3;
  margin-top: clamp(24px, 3vw, 42px);
  background:
    radial-gradient(circle at 86% 12%, rgba(255, 255, 255, 0.22), transparent 25%),
    linear-gradient(135deg, #616160, #383838);
}

.defense-visual-grid article:nth-child(3) {
  grid-column: span 2;
  margin-top: clamp(-8px, -0.6vw, -4px);
  background:
    radial-gradient(circle at 16% 16%, rgba(255, 255, 255, 0.2), transparent 26%),
    linear-gradient(135deg, #616160, #2f3635);
}

.defense-visual-grid article:nth-child(4) {
  grid-column: span 2;
  margin-top: clamp(32px, 4vw, 58px);
}

.defense-visual-grid article:nth-child(5) {
  grid-column: span 2;
  min-height: clamp(210px, 16vw, 270px);
  margin-top: clamp(8px, 1vw, 18px);
  background:
    linear-gradient(135deg, rgba(112, 44, 54, 0.88), rgba(97, 97, 96, 0.78)),
    url("assets/poster-defensa-v2.jpg?v=2c5ac228be") center / cover no-repeat;
}

.defense-visual-grid span {
  position: relative;
  display: inline-grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.36);
}

.defense-visual-grid span::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  transform: rotate(45deg);
}

@media (max-width: 900px) {
  .defense-visual-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .defense-visual-grid article,
  .defense-visual-grid article:nth-child(1),
  .defense-visual-grid article:nth-child(2),
  .defense-visual-grid article:nth-child(3),
  .defense-visual-grid article:nth-child(4),
  .defense-visual-grid article:nth-child(5) {
    grid-column: span 1;
    margin-top: 0;
  }
}

@media (max-width: 620px) {
  .defense-visual-grid {
    grid-template-columns: 1fr;
  }
}

/* GUIEX defensa legal: nueva pieza visual clara */
.defense-page-section {
  grid-template-columns: minmax(280px, 0.82fr) minmax(420px, 1.18fr);
  align-items: start;
  gap: clamp(38px, 6vw, 92px);
}

.defense-page-section .solution-main-copy {
  position: sticky;
  top: 118px;
}

.defense-visual-panel {
  display: grid;
  gap: clamp(18px, 2vw, 28px);
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.defense-focus-card {
  position: relative;
  min-height: clamp(220px, 22vw, 330px);
  display: grid;
  align-content: end;
  padding: clamp(28px, 4vw, 54px);
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(112, 44, 54, 0.96), rgba(112, 44, 54, 0.72)),
    url("assets/poster-defensa-v2.jpg?v=2c5ac228be") center / cover no-repeat;
}

.defense-focus-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, transparent 0 54%, rgba(255, 255, 255, 0.14) 54% 55%, transparent 55%),
    radial-gradient(circle at 88% 18%, rgba(255, 255, 255, 0.24), transparent 24%);
}

.defense-focus-card span,
.defense-focus-card h3 {
  position: relative;
  z-index: 1;
}

.defense-focus-card span {
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.defense-focus-card h3 {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(2rem, 4vw, 4.6rem);
  font-weight: 950;
  line-height: 0.9;
}

.defense-scroll-quote {
  position: relative;
  margin: clamp(8px, 1vw, 14px) 0 clamp(18px, 2.2vw, 30px);
  padding: clamp(30px, 4vw, 54px) clamp(28px, 4.8vw, 68px);
  overflow: hidden;
  color: var(--wine);
  background:
    linear-gradient(135deg, rgba(112, 44, 54, 0.08), rgba(255, 255, 255, 0.72)),
    #f8f2ee;
  border-left: 4px solid var(--wine);
  font-size: clamp(1.75rem, 3.4vw, 4rem);
  font-weight: 950;
  line-height: 0.95;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.defense-scroll-quote::before {
  content: "";
  position: absolute;
  left: clamp(28px, 4.8vw, 68px);
  right: clamp(28px, 4.8vw, 68px);
  bottom: clamp(18px, 2.2vw, 28px);
  height: 2px;
  background: var(--wine);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 900ms ease 180ms;
}

.defense-scroll-quote::after {
  content: "“";
  position: absolute;
  top: -0.28em;
  right: clamp(20px, 4vw, 54px);
  color: rgba(112, 44, 54, 0.1);
  font-size: clamp(7rem, 14vw, 13rem);
  line-height: 1;
}

.defense-scroll-quote.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.defense-scroll-quote.is-visible::before {
  transform: scaleX(1);
}

.defense-flow {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(112, 44, 54, 0.14);
}

.defense-flow article {
  min-height: clamp(210px, 18vw, 280px);
  display: grid;
  grid-template-rows: auto auto 1fr;
  align-content: start;
  gap: 14px;
  padding: clamp(24px, 3vw, 42px);
  background: rgba(255, 255, 255, 0.82);
  border: 0;
}

.defense-flow article:nth-child(2),
.defense-flow article:nth-child(3) {
  background: #f1ece7;
}

.defense-flow img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  opacity: 0.78;
  filter: invert(18%) sepia(18%) saturate(1612%) hue-rotate(300deg) brightness(87%) contrast(88%);
}

.defense-flow span {
  color: rgba(112, 44, 54, 0.62);
  font-size: 0.76rem;
  font-weight: 900;
}

.defense-flow h3,
.defense-flow h4 {
  max-width: 11ch;
  margin: 0;
  color: var(--wine);
  font-size: clamp(1.35rem, 2.2vw, 2.2rem);
  font-weight: 950;
  line-height: 0.94;
  text-transform: uppercase;
}

.defense-flow p {
  max-width: 28ch;
  margin: 0;
  color: rgba(35, 31, 32, 0.7);
  font-size: 0.94rem;
  line-height: 1.48;
}

.defense-scope-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.defense-scope-list span {
  padding: 12px 16px;
  color: var(--wine);
  background: rgba(112, 44, 54, 0.09);
  border: 1px solid rgba(112, 44, 54, 0.18);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .defense-page-section {
    grid-template-columns: 1fr;
  }

  .defense-page-section .solution-main-copy {
    position: static;
  }
}

@media (max-width: 620px) {
  .defense-flow {
    grid-template-columns: 1fr;
  }
}

/* Legal: divisor visual dentro del bloque */
.defense-flow img.defense-real-icon {
  width: 62px;
  height: 62px;
  object-fit: cover;
  object-position: center;
  opacity: 1;
  filter: none;
  border: 1px solid rgba(112, 44, 54, 0.18);
  box-shadow: 0 16px 34px rgba(35, 31, 32, 0.12);
}

.defense-head-divider {
  position: relative;
  display: grid;
  grid-template-columns: minmax(190px, 0.9fr) minmax(180px, 1fr);
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  overflow: hidden;
  padding: clamp(18px, 2.6vw, 30px);
  color: var(--wine);
  background: #f4eee9;
  border: 1px solid rgba(112, 44, 54, 0.12);
}

.defense-head-divider img {
  width: 100%;
  height: auto;
  max-height: clamp(180px, 24vw, 270px);
  object-fit: contain;
  object-position: center;
  display: block;
}

.defense-head-divider::after {
  content: none;
}

.defense-head-divider-copy {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.defense-head-divider .eyebrow,
.defense-head-divider h2 {
  color: var(--wine);
}

.defense-head-divider h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3.6vw, 3.4rem);
  font-weight: 950;
  line-height: 0.92;
  letter-spacing: 0;
  text-transform: uppercase;
}

@media (max-width: 620px) {
  .defense-head-divider {
    grid-template-columns: 1fr;
  }
}

/* Legal: formulario corto de consulta */
.defense-short-contact {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(320px, 1fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  padding: clamp(48px, 7vw, 92px) clamp(22px, 7vw, 96px);
  background:
    radial-gradient(circle at 84% 20%, rgba(112, 44, 54, 0.12), transparent 34%),
    linear-gradient(135deg, #f8f3ef 0%, #ebe2dc 56%, #eef0ef 100%);
}

.defense-short-contact h2 {
  max-width: 10ch;
  margin: 0 0 18px;
  color: var(--wine);
  font-size: clamp(2.3rem, 5.8vw, 5.8rem);
  font-weight: 950;
  line-height: 0.88;
  letter-spacing: 0;
  text-transform: uppercase;
}

.defense-short-contact p:not(.eyebrow) {
  max-width: 42ch;
  margin: 0;
  color: rgba(35, 31, 32, 0.72);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  line-height: 1.55;
}

.defense-mini-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: clamp(20px, 3vw, 34px);
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(112, 44, 54, 0.14);
  box-shadow: 0 22px 60px rgba(79, 29, 39, 0.12);
}

.defense-mini-form label {
  display: grid;
  gap: 7px;
}

.defense-mini-form .full {
  grid-column: 1 / -1;
}

.defense-mini-form span {
  color: var(--wine);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.defense-mini-form input,
.defense-mini-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 13px;
  border: 1px solid rgba(97, 97, 96, 0.28);
  border-radius: 0;
  color: var(--graphite);
  background: rgba(255, 255, 255, 0.9);
  font: inherit;
}

.defense-mini-form textarea {
  min-height: 92px;
  resize: vertical;
}

.defense-mini-form input:focus,
.defense-mini-form textarea:focus {
  outline: 2px solid rgba(112, 44, 54, 0.24);
  border-color: var(--wine);
}

.defense-mini-form .button {
  grid-column: 1 / -1;
  justify-self: start;
}

@media (max-width: 820px) {
  .defense-short-contact {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .defense-mini-form {
    grid-template-columns: 1fr;
  }
}

/* Legal: rediseño interactivo */
.defense-page-redesign .defense-page-section,
.defense-page-redesign main > .service-carousel-section,
.defense-page-redesign .defense-method-section,
.defense-page-redesign .defense-redesign-intro,
.defense-page-redesign .defense-switch-section,
.defense-page-redesign .defense-scope-redesign {
  display: none;
}

.defense-redesign-intro {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 86px);
  align-items: end;
  padding: clamp(58px, 8vw, 112px) clamp(22px, 7vw, 96px) clamp(34px, 5vw, 72px);
  background:
    radial-gradient(circle at 88% 18%, rgba(112, 44, 54, 0.11), transparent 34%),
    linear-gradient(135deg, #f8f3ef 0%, #ede4de 55%, #eef0ef 100%);
}

.defense-redesign-intro h2,
.defense-switch-heading h2 {
  margin: 0;
  color: var(--wine);
  font-size: clamp(2.8rem, 7vw, 7.2rem);
  font-weight: 950;
  line-height: 0.86;
  letter-spacing: 0;
  text-transform: uppercase;
}

.defense-redesign-intro p:not(.eyebrow) {
  max-width: 56ch;
  margin: 0;
  color: rgba(35, 31, 32, 0.74);
  font-size: clamp(1.05rem, 1.45vw, 1.25rem);
  line-height: 1.62;
}

.defense-method-section {
  padding: clamp(48px, 8vw, 112px) clamp(22px, 7vw, 96px);
  background:
    radial-gradient(circle at 82% 8%, rgba(112, 44, 54, 0.1), transparent 32%),
    linear-gradient(180deg, #f8f3ef 0%, #eee6df 58%, #f7f3ef 100%);
}

.defense-method-heading {
  display: grid;
  grid-template-columns: minmax(300px, 0.92fr) minmax(320px, 1fr);
  gap: clamp(28px, 7vw, 104px);
  align-items: end;
  margin-bottom: clamp(34px, 6vw, 82px);
}

.defense-method-heading h2 {
  max-width: 10ch;
  margin: 0;
  color: var(--wine);
  font-size: clamp(3rem, 7.8vw, 8.2rem);
  font-weight: 950;
  line-height: 0.84;
  letter-spacing: 0;
  text-transform: uppercase;
}

.defense-method-heading p {
  max-width: 44ch;
  margin: 0 0 10px;
  color: rgba(35, 31, 32, 0.72);
  font-size: clamp(1.05rem, 1.45vw, 1.24rem);
  line-height: 1.58;
}

.defense-method-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(112, 44, 54, 0.14);
  border: 1px solid rgba(112, 44, 54, 0.14);
}

.defense-method-card {
  min-height: clamp(250px, 24vw, 340px);
  display: grid;
  grid-template-columns: minmax(210px, 0.55fr) minmax(220px, 1fr);
  gap: clamp(20px, 4vw, 58px);
  align-items: center;
  padding: clamp(26px, 4vw, 54px);
  background: rgba(255, 255, 255, 0.78);
  transition: background 180ms ease, transform 180ms ease;
}

.defense-method-card:nth-child(2),
.defense-method-card:nth-child(3) {
  background: #f1ebe5;
}

.defense-method-card:hover {
  background: #fff;
  transform: translateY(-4px);
}

.defense-method-icon {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
}

.defense-method-icon::before {
  content: none;
}

.defense-method-icon img {
  position: relative;
  z-index: 1;
  width: min(17vw, 210px);
  min-width: 132px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 14px 24px rgba(35, 31, 32, 0.12));
}

.defense-method-card:nth-child(odd) .defense-method-icon {
  grid-column: 2;
  grid-row: 1;
}

.defense-method-card:nth-child(odd) > div:not(.defense-method-icon) {
  grid-column: 1;
  grid-row: 1;
}

.defense-method-card span {
  display: block;
  margin-bottom: 14px;
  color: rgba(112, 44, 54, 0.58);
  font-size: 0.78rem;
  font-weight: 950;
}

.defense-method-card h3 {
  max-width: 11ch;
  margin: 0 0 16px;
  color: var(--wine);
  font-size: clamp(1.65rem, 3.1vw, 3.4rem);
  font-weight: 950;
  line-height: 0.9;
  letter-spacing: 0;
  text-transform: uppercase;
}

.defense-method-card p {
  max-width: 32ch;
  margin: 0;
  color: rgba(35, 31, 32, 0.72);
  font-size: 0.98rem;
  line-height: 1.52;
}

.defense-switch-section {
  padding: clamp(38px, 7vw, 96px) clamp(22px, 7vw, 96px);
  background:
    linear-gradient(180deg, rgba(248, 243, 239, 0) 0%, rgba(112, 44, 54, 0.08) 100%),
    #f8f3ef;
}

.defense-switch-heading {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 1fr);
  gap: clamp(22px, 5vw, 70px);
  align-items: end;
  margin-bottom: clamp(28px, 5vw, 64px);
}

.defense-switch-heading h2 {
  grid-column: 2;
  max-width: 10ch;
  font-size: clamp(2.4rem, 6.2vw, 6.4rem);
}

.defense-switch-layout {
  display: grid;
  grid-template-columns: 1fr;
  min-height: auto;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.defense-switch-menu {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-bottom: clamp(26px, 4vw, 54px);
  background: rgba(112, 44, 54, 0.16);
  border: 1px solid rgba(112, 44, 54, 0.16);
}

.defense-switch-menu button {
  position: relative;
  z-index: 6;
  pointer-events: auto;
  min-height: 82px;
  display: grid;
  align-items: center;
  align-content: center;
  gap: 10px;
  width: 100%;
  padding: clamp(18px, 3vw, 34px);
  border: 0;
  color: rgba(35, 31, 32, 0.68);
  background: rgba(255, 255, 255, 0.62);
  font: inherit;
  font-size: clamp(1.05rem, 1.4vw, 1.28rem);
  font-weight: 900;
  text-align: left;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, padding-left 180ms ease;
}

.defense-switch-menu button:last-child {
  border-right: 0;
}

.defense-switch-menu button span {
  color: rgba(112, 44, 54, 0.6);
  font-size: 0.76rem;
  font-weight: 950;
}

.defense-switch-menu button:hover,
.defense-switch-menu button.is-active {
  color: #fff;
  background: var(--wine);
}

.defense-switch-menu button:hover span,
.defense-switch-menu button.is-active span {
  color: rgba(255, 255, 255, 0.72);
}

.defense-switch-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(320px, 1fr);
  gap: clamp(34px, 7vw, 104px);
  align-items: center;
  overflow: hidden;
  padding: clamp(12px, 2vw, 22px) 0 clamp(26px, 5vw, 62px);
}

.defense-switch-card::before {
  content: none;
}

.defense-switch-icon {
  position: relative;
  display: grid;
  place-items: center;
  justify-self: center;
  width: clamp(260px, 32vw, 430px);
  height: clamp(260px, 32vw, 430px);
  min-height: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.18) 34%, transparent 54%),
    linear-gradient(135deg, rgba(112, 44, 54, 0.18), rgba(97, 97, 96, 0.1));
  border-radius: 50%;
  transition: border-radius 420ms ease, clip-path 420ms ease, background 420ms ease;
}

.defense-switch-icon::before {
  content: none;
}

.defense-switch-card.shape-0 .defense-switch-icon {
  border-radius: 50%;
  clip-path: circle(50% at 50% 50%);
}

.defense-switch-card.shape-1 .defense-switch-icon {
  border-radius: 38% 62% 48% 52% / 54% 38% 62% 46%;
  clip-path: ellipse(48% 50% at 50% 50%);
}

.defense-switch-card.shape-2 .defense-switch-icon {
  border-radius: 32% 68% 66% 34% / 42% 34% 66% 58%;
  clip-path: polygon(50% 0%, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
}

.defense-switch-card.shape-3 .defense-switch-icon {
  border-radius: 62% 38% 42% 58% / 36% 58% 42% 64%;
  clip-path: ellipse(50% 43% at 50% 50%);
}

.defense-switch-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(112, 44, 54, 0.14);
  border-radius: inherit;
  pointer-events: none;
}

.defense-switch-icon img {
  position: relative;
  z-index: 1;
  width: min(22vw, 260px);
  min-width: 150px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 24px 34px rgba(35, 31, 32, 0.14));
  transition: opacity 180ms ease, transform 240ms ease;
}

.defense-switch-card.is-changing .defense-switch-icon img,
.defense-switch-card.is-changing .defense-switch-copy {
  opacity: 0;
  transform: translateY(10px);
}

.defense-switch-copy {
  position: relative;
  z-index: 1;
  transition: opacity 180ms ease, transform 180ms ease;
}

.defense-switch-copy span {
  display: block;
  margin-bottom: 16px;
  color: rgba(112, 44, 54, 0.62);
  font-size: 0.82rem;
  font-weight: 950;
}

.defense-switch-copy h3 {
  max-width: 10ch;
  margin: 0 0 22px;
  color: var(--wine);
  font-size: clamp(2.3rem, 5.2vw, 5.7rem);
  font-weight: 950;
  line-height: 0.86;
  letter-spacing: 0;
  text-transform: uppercase;
}

.defense-switch-copy p {
  max-width: 42ch;
  margin: 0;
  color: rgba(35, 31, 32, 0.72);
  font-size: clamp(1rem, 1.3vw, 1.18rem);
  line-height: 1.58;
}

.defense-scope-redesign {
  padding: clamp(28px, 5vw, 64px) clamp(22px, 7vw, 96px) clamp(54px, 7vw, 92px);
  background: #f8f3ef;
}

.defense-scope-redesign div {
  display: grid;
  grid-template-columns: repeat(6, minmax(110px, 1fr));
  border: 1px solid rgba(112, 44, 54, 0.16);
}

.defense-scope-redesign span {
  min-height: 112px;
  display: grid;
  place-items: center;
  padding: 18px;
  border-right: 1px solid rgba(112, 44, 54, 0.12);
  color: var(--wine);
  background: rgba(255, 255, 255, 0.58);
  font-weight: 950;
  text-align: center;
  text-transform: uppercase;
}

.defense-scope-redesign span:last-child {
  border-right: 0;
}

@media (max-width: 980px) {
  .defense-redesign-intro,
  .defense-method-heading,
  .defense-switch-heading,
  .defense-switch-card {
    grid-template-columns: 1fr;
  }

  .defense-switch-heading h2 {
    grid-column: auto;
  }

  .defense-switch-menu {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .defense-scope-redesign div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .defense-method-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .defense-switch-menu {
    grid-template-columns: 1fr;
  }

  .defense-switch-menu button {
    font-size: 0.94rem;
    min-height: 84px;
  }

  .defense-scope-redesign div {
    grid-template-columns: 1fr;
  }

  .defense-method-card {
    grid-template-columns: 1fr;
  }

  .defense-method-icon {
    max-width: 150px;
  }

  .defense-method-card:nth-child(odd) .defense-method-icon,
  .defense-method-card:nth-child(odd) > div:not(.defense-method-icon) {
    grid-column: auto;
    grid-row: auto;
  }
}

/* Legal: cambio de fase sin JavaScript */
.defense-switch-radio {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.defense-switch-menu label {
  position: relative;
  z-index: 6;
  min-height: 82px;
  display: grid;
  align-items: center;
  align-content: center;
  gap: 10px;
  width: 100%;
  padding: clamp(18px, 3vw, 34px);
  color: rgba(35, 31, 32, 0.68);
  background: rgba(255, 255, 255, 0.62);
  font-size: clamp(1.05rem, 1.4vw, 1.28rem);
  font-weight: 900;
  text-align: left;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease;
}

.defense-switch-menu label span {
  color: rgba(112, 44, 54, 0.6);
  font-size: 0.76rem;
  font-weight: 950;
}

.defense-switch-menu label:hover,
#defense-phase-1:checked ~ .defense-switch-layout label[for="defense-phase-1"],
#defense-phase-2:checked ~ .defense-switch-layout label[for="defense-phase-2"],
#defense-phase-3:checked ~ .defense-switch-layout label[for="defense-phase-3"],
#defense-phase-4:checked ~ .defense-switch-layout label[for="defense-phase-4"] {
  color: #fff;
  background: var(--wine);
}

.defense-switch-menu label:hover span,
#defense-phase-1:checked ~ .defense-switch-layout label[for="defense-phase-1"] span,
#defense-phase-2:checked ~ .defense-switch-layout label[for="defense-phase-2"] span,
#defense-phase-3:checked ~ .defense-switch-layout label[for="defense-phase-3"] span,
#defense-phase-4:checked ~ .defense-switch-layout label[for="defense-phase-4"] span {
  color: rgba(255, 255, 255, 0.72);
}

.defense-switch-panels .defense-switch-card {
  display: none;
}

#defense-phase-1:checked ~ .defense-switch-layout .defense-switch-panels .shape-0,
#defense-phase-2:checked ~ .defense-switch-layout .defense-switch-panels .shape-1,
#defense-phase-3:checked ~ .defense-switch-layout .defense-switch-panels .shape-2,
#defense-phase-4:checked ~ .defense-switch-layout .defense-switch-panels .shape-3 {
  display: grid;
}

/* Consultoría aduanera: efecto tipo expertise */
.consulting-expertise {
  padding: clamp(58px, 8vw, 118px) clamp(22px, 7vw, 96px);
  background:
    radial-gradient(circle at 86% 12%, rgba(112, 44, 54, 0.09), transparent 30%),
    linear-gradient(180deg, #f8f3ef 0%, #eee6df 58%, #f7f3ef 100%);
  overflow: hidden;
}

.consulting-expertise-intro {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(26px, 6vw, 92px);
  align-items: center;
  margin-bottom: clamp(34px, 6vw, 82px);
}

.consulting-expertise-intro h2 {
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  min-width: 0;
  max-width: none;
  margin: 0 0 0 auto;
  padding-right: clamp(8px, 1vw, 18px);
  box-sizing: border-box;
  color: var(--wine);
  font-size: clamp(2.6rem, 4.4vw, 5.5rem);
  font-weight: 950;
  line-height: 0.94;
  letter-spacing: 0;
  text-align: right;
  text-transform: uppercase;
}

.consulting-expertise-intro p:not(.eyebrow) {
  grid-column: 1;
  grid-row: 1;
  max-width: 46ch;
  margin: 0 0 10px 0;
  color: rgba(35, 31, 32, 0.72);
  font-size: clamp(1.05rem, 1.45vw, 1.24rem);
  line-height: 1.58;
}

.consulting-expertise-list {
  display: grid;
  border-top: 1px solid rgba(112, 44, 54, 0.22);
}

.consulting-expertise-item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.45fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  min-height: clamp(170px, 18vw, 260px);
  padding: clamp(22px, 4vw, 52px) 0;
  border-bottom: 1px solid rgba(112, 44, 54, 0.18);
}

.consulting-expertise-item a {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: clamp(16px, 3vw, 42px);
  color: var(--wine);
  text-decoration: none;
}

.consulting-counter,
.consulting-total {
  display: none;
}

.consulting-counter {
  color: rgba(112, 44, 54, 0.58);
  font-size: 0.82rem;
  font-weight: 950;
}

.consulting-expertise-item h3 {
  margin: 0;
  color: var(--wine);
  font-size: clamp(3.8rem, 13vw, 13rem);
  font-weight: 950;
  line-height: 0.75;
  letter-spacing: 0;
  text-transform: uppercase;
  transition: opacity 180ms ease;
}

.consulting-expertise-item--depositos {
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
}

.consulting-expertise-item--depositos h3 {
  font-size: clamp(3.5rem, 9.5vw, 9.5rem);
}

.consulting-expertise-item--long h3 {
  font-size: clamp(3rem, 5.8vw, 7rem);
}

.consulting-expertise-item:hover h3 {
  opacity: 0.56;
}

.consulting-total {
  align-self: start;
  color: rgba(112, 44, 54, 0.48);
  font-size: clamp(1rem, 1.8vw, 1.45rem);
  font-weight: 850;
  transform: translateY(-0.35em);
}

.consulting-expertise-item img {
  display: none;
}

.consulting-expertise-item:hover img {
  display: none;
}

.consulting-expertise-item p {
  max-width: 40ch;
  margin: 0;
  color: rgba(35, 31, 32, 0.68);
  font-size: clamp(0.98rem, 1.2vw, 1.12rem);
  line-height: 1.55;
  opacity: 0;
  visibility: hidden;
  transform: translateX(14px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.consulting-expertise-item:hover p {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.solution-expertise-section .consulting-expertise-item {
  display: flex;
  align-items: center;
  min-height: clamp(180px, 20vw, 280px);
}

.solution-expertise-section .consulting-expertise-item > a {
  z-index: 1;
  width: 100%;
}

.solution-expertise-section .consulting-expertise-item h3 {
  max-width: 100%;
  font-size: clamp(4rem, 10.5vw, 11.5rem);
  line-height: 0.8;
  font-kerning: normal;
  font-feature-settings: "kern" 1, "liga" 1;
}

.solution-expertise-section .consulting-expertise-item--long h3 {
  font-size: clamp(4rem, 8.5vw, 10rem);
}

.solution-expertise-section .consulting-expertise-item p {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: min(44ch, 58%);
  max-width: none;
  text-align: center;
  transform: translate(-50%, -40%);
}

.solution-expertise-section .consulting-expertise-item:hover p {
  transform: translate(-50%, -50%);
}

.solution-expertise-section .consulting-expertise-item:hover h3 {
  opacity: 0.1;
}

@media (max-width: 900px) {
  .consulting-expertise-intro,
  .consulting-expertise-item {
    grid-template-columns: 1fr;
  }

  .solution-expertise-section .consulting-expertise-item {
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 22px;
    min-height: 0;
  }

  .solution-expertise-section .consulting-expertise-item h3,
  .solution-expertise-section .consulting-expertise-item--long h3 {
    font-size: clamp(3rem, 15vw, 5.8rem);
    line-height: 0.86;
  }

  .solution-expertise-section .consulting-expertise-item p {
    position: static;
    width: auto;
    max-width: 40ch;
    text-align: left;
    transform: none;
  }

  .consulting-expertise-item--depositos {
    grid-template-columns: 1fr;
  }

  .consulting-expertise-intro h2 {
    grid-column: 1;
    grid-row: 1;
  }

  .consulting-expertise-intro p:not(.eyebrow) {
    grid-column: 1;
    grid-row: 2;
  }

  .consulting-expertise-item img {
    display: none;
  }

  .solution-expertise-section .consulting-expertise-item p {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
}

@media (max-width: 560px) {
  .consulting-expertise-item a {
    align-items: center;
    gap: 14px;
  }

  .consulting-expertise-item h3 {
    font-size: clamp(3rem, 18vw, 5.6rem);
  }
}

/* Soluciones específicas: lectura más compacta tras el perfil principal. */
.solution-page-details {
  padding: clamp(46px, 6vw, 76px) clamp(22px, 6vw, 86px);
}

.solution-page-details .consulting-expertise-intro {
  margin-bottom: clamp(26px, 4vw, 48px);
}

.solution-page-details .consulting-expertise-intro h2 {
  font-size: clamp(2.2rem, 3.6vw, 4.1rem);
  line-height: 0.98;
}

.solution-page-details .consulting-expertise-item,
.solution-page-details.solution-expertise-section .consulting-expertise-item {
  min-height: clamp(118px, 13vw, 176px);
  padding: clamp(20px, 2.8vw, 34px) 0;
}

.solution-page-details .consulting-expertise-item h3,
.solution-page-details.solution-expertise-section .consulting-expertise-item h3 {
  font-size: clamp(2.9rem, 6.3vw, 6.2rem);
  line-height: 0.88;
}

.solution-page-details .consulting-expertise-item--long h3,
.solution-page-details.solution-expertise-section .consulting-expertise-item--long h3 {
  font-size: clamp(2.55rem, 5vw, 5rem);
}

.solution-page-details .consulting-expertise-item--depositos h3 {
  font-size: clamp(2.7rem, 5.4vw, 5.4rem);
}

@media (max-width: 900px) {
  .solution-page-details {
    padding: 42px 22px 50px;
  }

  .solution-page-details .consulting-expertise-intro h2 {
    font-size: clamp(2rem, 9vw, 3.35rem);
  }

  .solution-page-details .consulting-expertise-item,
  .solution-page-details.solution-expertise-section .consulting-expertise-item {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    min-height: 0;
    padding: 18px 0;
  }

  .solution-page-details .consulting-expertise-item h3,
  .solution-page-details .consulting-expertise-item--long h3,
  .solution-page-details.solution-expertise-section .consulting-expertise-item h3,
  .solution-page-details.solution-expertise-section .consulting-expertise-item--long h3 {
    font-size: clamp(2.3rem, 7vw, 3.25rem);
    line-height: 0.92;
  }

  .solution-page-details .consulting-expertise-item p {
    position: static;
    width: auto;
    max-width: 42ch;
    text-align: left;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
}

/* Nosotros: recurso guardado como "letras relineadas". */
.objectives-outline-mode {
  overflow: hidden;
  background: #f7f4ef !important;
  color: #231f20 !important;
}

.objectives-outline-mode .section-heading h2,
.objectives-outline-mode .section-heading .eyebrow {
  color: var(--wine) !important;
}

.objectives-outline-list {
  margin-inline: calc(clamp(22px, 7vw, 96px) * -1);
  border-top: 1px solid rgba(35, 31, 32, 0.72);
}

.objective-outline-item {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: center;
  min-height: clamp(270px, 28vw, 410px);
  padding: clamp(30px, 5vw, 72px) clamp(22px, 7vw, 96px);
  border-bottom: 1px solid rgba(35, 31, 32, 0.72);
  isolation: isolate;
}

.objective-outline-item h3 {
  z-index: 2;
  grid-column: 1 / 10;
  margin: 0;
  color: transparent !important;
  font-size: clamp(3.5rem, 7.8vw, 9rem);
  font-weight: 900;
  line-height: 0.82;
  letter-spacing: 0;
  text-transform: uppercase;
  -webkit-text-stroke: 1.5px var(--wine);
  paint-order: stroke fill;
  transition: color 220ms ease, opacity 220ms ease, transform 220ms ease;
}

.objective-outline-item > img {
  z-index: 1;
  grid-column: 10 / 13;
  grid-row: 1;
  justify-self: center;
  width: min(100%, 190px);
  height: clamp(150px, 17vw, 230px);
  object-fit: contain;
  padding: 0;
  background: transparent;
  filter: none;
  transition: opacity 220ms ease, transform 220ms ease;
}

.objective-outline-item:nth-child(even) > img {
  background: transparent;
}

.objective-outline-number {
  position: absolute;
  z-index: 3;
  top: clamp(24px, 4vw, 54px);
  right: clamp(22px, 7vw, 96px);
  color: #231f20 !important;
  font-size: 0.9rem;
  font-weight: 900;
}

.objective-outline-item > p {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 50%;
  width: min(50ch, 58%);
  margin: 0;
  color: #231f20 !important;
  font-size: clamp(1.08rem, 1.5vw, 1.34rem);
  font-weight: 600;
  line-height: 1.45;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -42%);
  transition: opacity 220ms ease, transform 220ms ease;
}

.objective-outline-item:nth-child(even) h3 {
  grid-column: 4 / 13;
  text-align: right;
}

.objective-outline-item:nth-child(even) > img {
  grid-column: 1 / 4;
}

.objective-outline-item:nth-child(even) .objective-outline-number {
  right: auto;
  left: clamp(22px, 7vw, 96px);
}

.objective-outline-item:nth-child(even) > p {
  right: auto;
  left: 50%;
}

.objective-outline-item:hover h3 {
  color: var(--wine) !important;
  opacity: 0.06;
  transform: translateX(6px);
}

.objective-outline-item:hover > img {
  opacity: 0.12;
  transform: scale(0.96);
}

.objective-outline-item:hover > p {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%);
}

@media (max-width: 820px) {
  .objectives-outline-list {
    margin-inline: 0;
  }

  .objective-outline-item,
  .objective-outline-item:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 22px;
    min-height: 0;
    padding: 34px 0;
  }

  .objective-outline-item h3,
  .objective-outline-item:nth-child(even) h3 {
    grid-column: 1;
    grid-row: 1;
    color: var(--wine) !important;
    font-size: clamp(2.7rem, 12vw, 5rem);
    line-height: 0.88;
    text-align: left;
    -webkit-text-stroke: 0;
  }

  .objective-outline-item > img,
  .objective-outline-item:nth-child(even) > img {
    grid-column: 1;
    grid-row: 2;
    width: min(70vw, 220px);
    height: clamp(170px, 46vw, 260px);
  }

  .objective-outline-number,
  .objective-outline-item:nth-child(even) .objective-outline-number {
    top: 38px;
    right: 0;
    left: auto;
  }

  .objective-outline-item > p,
  .objective-outline-item:nth-child(even) > p {
    position: static;
    grid-column: 1;
    grid-row: 3;
    width: auto;
    max-width: 46ch;
    color: rgba(35, 31, 32, 0.74) !important;
    text-align: left;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
}

main > section.knowledge-tree-section {
  color: #231f20;
  background:
    radial-gradient(circle at 74% 31%, rgba(83, 120, 102, 0.09), transparent 28%),
    linear-gradient(180deg, #f8f7f4 0%, #fff 44%, #f4f5f1 100%);
}

/* Objetivos: tres mensajes, con una presencia mas compacta. */
.about-objectives {
  padding-block: clamp(30px, 3.5vw, 46px) !important;
}

.about-objectives .section-heading {
  margin-bottom: clamp(10px, 1.8vw, 20px);
}

.objectives-outline-list {
  border-top: 0;
}

.objective-outline-item {
  min-height: clamp(145px, 15vw, 195px);
  padding-block: clamp(14px, 2vw, 26px);
  border-bottom: 0;
}

.objective-outline-item h3 {
  width: 100%;
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.5vw, 36px);
  font-size: clamp(3rem, 6.4vw, 7.1rem);
}

.objective-outline-item h3::before,
.objective-outline-item h3::after {
  content: "";
  height: 1px;
  flex: 1 1 auto;
  min-width: 0;
  background: rgba(35, 31, 32, 0.72);
}

.objective-outline-item:nth-child(1) h3::before,
.objective-outline-item:nth-child(2) h3::after {
  flex: 0 0 0;
}

.objective-outline-item:nth-child(1) h3 {
  grid-column: 1 / 13;
  justify-self: start;
  text-align: left;
}

.objective-outline-item:nth-child(2) h3 {
  grid-column: 1 / 13;
  justify-self: end;
  text-align: right;
}

.objective-outline-item:nth-child(3) h3 {
  grid-column: 1 / 13;
  justify-self: center;
  text-align: center;
}

@media (max-width: 820px) {
  .about-objectives {
    padding-block: 34px !important;
  }

  .objective-outline-item,
  .objective-outline-item:nth-child(even) {
    gap: 16px;
    min-height: 0;
    padding-block: 24px;
  }

  .objective-outline-item h3,
  .objective-outline-item:nth-child(even) h3 {
    width: 100%;
    font-size: 2.8rem;
    line-height: 0.92;
  }

  .objective-outline-item:nth-child(1) h3 {
    text-align: left;
  }

  .objective-outline-item:nth-child(2) h3 {
    text-align: right;
  }

  .objective-outline-item:nth-child(3) h3 {
    text-align: center;
  }

  .objective-outline-number,
  .objective-outline-item:nth-child(even) .objective-outline-number {
    top: 10px;
  }
}

@media (max-width: 430px) {
  .objective-outline-item h3,
  .objective-outline-item:nth-child(even) h3 {
    font-size: 2.2rem;
  }
}

/* Arbol: una segunda capa de conexiones aporta profundidad sin recargarlo. */
.tree-canopy-network path {
  fill: none;
  stroke: rgba(97, 97, 96, 0.4);
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-dasharray: 5 10;
  opacity: 0;
}

.knowledge-tree-section.is-visible .tree-canopy-network path {
  animation: canopyNetworkIn 1.1s ease 820ms forwards;
}

.tree-canopy-orbits path {
  fill: none;
  stroke: rgba(112, 44, 54, 0.2);
  stroke-width: 1.1;
  stroke-linecap: round;
  stroke-dasharray: 2 13;
  opacity: 0;
}

.tree-canopy-orbits path:nth-child(even) {
  stroke: rgba(97, 97, 96, 0.26);
  stroke-dasharray: 8 14;
}

.knowledge-tree-section.is-visible .tree-canopy-orbits path {
  animation: canopyNetworkIn 1.35s ease 1040ms forwards;
}

.tree-part-leaves circle:nth-child(4n) {
  fill: rgba(112, 44, 54, 0.82);
}

.tree-part-leaves circle:nth-child(4n + 2) {
  fill: rgba(112, 44, 54, 0.46);
}

.tree-part-leaves circle:nth-child(4n + 3) {
  fill: #363233;
}

.knowledge-tree-visual::after {
  content: "";
  position: absolute;
  inset: 7% 7% 5%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 46%, transparent 0 31%, rgba(97, 97, 96, 0.075) 31.3% 31.7%, transparent 32%),
    radial-gradient(circle at 50% 46%, transparent 0 46%, rgba(112, 44, 54, 0.055) 46.3% 46.7%, transparent 47%);
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 900ms ease 480ms, transform 1100ms ease 480ms;
}

.knowledge-tree-section.is-visible .knowledge-tree-visual::after {
  opacity: 1;
  transform: scale(1);
}

/* Los perfiles viven en el panel lateral para no tapar ramas ni etiquetas. */
.knowledge-tree-panel .tree-people {
  position: static;
  display: none;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(35, 31, 32, 0.14);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
}

.knowledge-tree-section[data-active-zone="roots"] .knowledge-tree-panel [data-tree-people="roots"],
.knowledge-tree-section[data-active-zone="trunk"] .knowledge-tree-panel [data-tree-people="trunk"],
.knowledge-tree-section[data-active-zone="branches"] .knowledge-tree-panel [data-tree-people="branches"],
.knowledge-tree-section[data-active-zone="leaves"] .knowledge-tree-panel [data-tree-people="leaves"] {
  display: flex;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.knowledge-tree-panel .tree-person {
  flex: 0 0 82px;
}

@keyframes canopyNetworkIn {
  from {
    opacity: 0;
    stroke-dashoffset: 32;
  }
  to {
    opacity: 1;
    stroke-dashoffset: 0;
  }
}

/* Arbol vectorial interactivo: cada zona es una parte real del dibujo. */
.knowledge-tree-visual {
  width: min(660px, 100%);
  overflow: visible;
}

.knowledge-tree-layout {
  gap: clamp(14px, 1.8vw, 28px);
}

.knowledge-tree-svg {
  display: block;
  opacity: 0;
  transform: translateY(18px) scale(0.975);
  transform-origin: 50% 72%;
  transition:
    opacity 700ms ease,
    transform 1.15s cubic-bezier(0.22, 1, 0.36, 1);
}

.knowledge-tree-section.is-visible .knowledge-tree-svg {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.knowledge-tree-visual::before {
  display: block;
  inset: 8% 8% 4%;
  background:
    radial-gradient(circle at 50% 43%, rgba(112, 44, 54, 0.07), transparent 44%),
    radial-gradient(circle at 50% 72%, rgba(97, 97, 96, 0.06), transparent 34%);
}

.knowledge-tree-visual::after,
.tree-canopy-network,
.tree-canopy-orbits,
.tree-node-network {
  display: none;
}

.tree-organic-roots path {
  stroke: #74471f;
  stroke-width: 7;
  opacity: 0.72;
  transition: stroke 360ms ease, opacity 360ms ease, filter 360ms ease;
}

.tree-organic-roots path:nth-child(2n) {
  stroke: #8a603b;
  stroke-width: 5;
}

.tree-organic-trunk path {
  fill: #74471f;
  transition: fill 360ms ease, filter 360ms ease;
}

.tree-organic-trunk .tree-trunk-grain {
  fill: none !important;
  stroke: rgba(239, 229, 219, 0.34);
  stroke-width: 2;
  stroke-linecap: round;
  opacity: 0.72;
}

.tree-organic-trunk .tree-trunk-grain-short {
  stroke-width: 1.4;
  opacity: 0.52;
}

.tree-organic-branches path,
.tree-organic-branches path:nth-child(even) {
  stroke: #74471f;
  stroke-width: 9;
  opacity: 0.82;
  transition: stroke 360ms ease, opacity 360ms ease, filter 360ms ease;
}

.tree-organic-branches path:nth-child(3n) {
  stroke-width: 6;
}

.tree-organic-branches .tree-branch-major {
  stroke-width: 10.5;
  opacity: 0.9;
}

.tree-organic-branches .tree-branch-secondary {
  stroke-width: 6;
  opacity: 0.78;
}

.tree-organic-branches .tree-branch-twig {
  stroke-width: 3.2;
  opacity: 0.64;
}

.tree-part path {
  stroke: rgba(97, 97, 96, 0.58);
  stroke-width: 2;
}

.tree-part-trunk {
  display: none;
}

.tree-part-leaves circle {
  fill: #747574;
  clip-path: polygon(0 50%, 18% 20%, 48% 4%, 78% 17%, 100% 50%, 78% 83%, 48% 96%, 18% 80%);
  transition: fill 360ms ease, opacity 360ms ease, filter 360ms ease;
}

.tree-part-leaves circle:nth-child(4n),
.tree-part-leaves circle:nth-child(4n + 2) {
  fill: #702c36;
}

.tree-part-leaves circle:nth-child(4n + 2) {
  fill: rgba(112, 44, 54, 0.7);
}

.tree-part-leaves circle:nth-child(4n + 3) {
  fill: #5d5e5d;
}

.knowledge-tree-section[data-active-zone="roots"] [data-tree-organic="roots"] path,
.knowledge-tree-section[data-active-zone="roots"] [data-tree-part="roots"] path {
  stroke: #a94150;
  opacity: 1;
  filter: drop-shadow(0 0 7px rgba(112, 44, 54, 0.55));
  animation: treeVectorPulse 2.2s ease-in-out infinite;
}

.knowledge-tree-section[data-active-zone="trunk"] [data-tree-organic="trunk"] path {
  fill: #a94150;
  filter: drop-shadow(0 0 9px rgba(112, 44, 54, 0.58));
  animation: treeVectorPulse 2.2s ease-in-out infinite;
}

.knowledge-tree-section[data-active-zone="branches"] [data-tree-organic="branches"] path,
.knowledge-tree-section[data-active-zone="branches"] [data-tree-part="branches"] path {
  stroke: #a94150;
  opacity: 1;
  filter: drop-shadow(0 0 8px rgba(112, 44, 54, 0.58));
  animation: treeVectorPulse 2.2s ease-in-out infinite;
}

.knowledge-tree-section[data-active-zone="leaves"] [data-tree-part="leaves"] circle {
  fill: #b94858;
  opacity: 1;
  filter: drop-shadow(0 0 6px rgba(112, 44, 54, 0.64));
  animation: treeLeafPulse 2s ease-in-out infinite;
}

@keyframes treeVectorPulse {
  0%,
  100% {
    filter: drop-shadow(0 0 4px rgba(112, 44, 54, 0.32));
  }
  50% {
    filter: drop-shadow(0 0 12px rgba(112, 44, 54, 0.72));
  }
}

@keyframes treeLeafPulse {
  0%,
  100% {
    transform: rotate(var(--leaf-rotation)) scaleX(2.05) scaleY(1.02);
    filter: drop-shadow(0 0 3px rgba(112, 44, 54, 0.32));
  }
  50% {
    transform: rotate(var(--leaf-rotation)) scaleX(2.2) scaleY(1.1);
    filter: drop-shadow(0 0 9px rgba(112, 44, 54, 0.72));
  }
}

.knowledge-tree-departments {
  display: grid;
  margin-top: 28px;
  border-top: 1px solid rgba(35, 31, 32, 0.18);
}

.knowledge-tree-panel .tree-zone {
  position: static;
  width: 100%;
  min-width: 0;
  display: grid;
  gap: 4px;
  padding: 14px 0;
  border-right: 0;
  border-bottom: 1px solid rgba(35, 31, 32, 0.16);
  font: inherit;
  text-align: left;
  transform: none;
}

.knowledge-tree-panel .tree-zone:hover,
.knowledge-tree-panel .tree-zone:focus-visible,
.knowledge-tree-panel .tree-zone[aria-pressed="true"] {
  padding-left: 10px;
  transform: none;
}

.knowledge-tree-panel .tree-zone span {
  font-family: inherit;
  letter-spacing: 0;
}

.knowledge-tree-panel .tree-zone strong {
  font-family: inherit;
  font-size: 0.92rem;
  letter-spacing: 0;
}

@media (max-width: 760px) {
  .knowledge-tree-reference {
    width: 188%;
    transform: translate(-23.5%, calc(-50% + 16px));
  }

  .knowledge-tree-section.is-visible .knowledge-tree-reference {
    transform: translate(-23.5%, -50%);
  }

  .knowledge-tree-highlights img {
    width: 188%;
    transform: translate(-23.5%, -50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .knowledge-tree-section.is-visible .knowledge-tree-reference,
  .knowledge-tree-section[data-active-zone] [data-tree-highlight] {
    animation: none;
  }
}

main > section.solution-visual-story {
  background:
    radial-gradient(circle at 78% 22%, rgba(112, 44, 54, 0.1), transparent 29%),
    linear-gradient(135deg, #f8f6f2 0%, #eceae6 54%, #f4f5f2 100%) !important;
}

main > section.solution-visual-story.is-reverse {
  background:
    radial-gradient(circle at 20% 72%, rgba(97, 97, 96, 0.13), transparent 31%),
    linear-gradient(225deg, #faf8f4 0%, #ebe8e4 52%, #f0f2ef 100%) !important;
}

/* Blog: contraste alto y visual editorial sin marco. */
.blog-page .blog-section {
  color: #231f20;
}

.blog-intro-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.92fr) minmax(360px, 1.08fr);
  gap: clamp(28px, 6vw, 88px);
  align-items: center;
  padding-bottom: clamp(18px, 3vw, 38px);
}

.blog-page .blog-intro h2,
.blog-page .blog-card h3,
.blog-page .featured-post h2 {
  color: #231f20 !important;
}

.blog-page .blog-intro > p:last-child,
.blog-page .blog-card p:not(.post-meta),
.blog-page .featured-post p:not(.post-meta) {
  color: #3d393a !important;
}

.blog-page .featured-post .post-meta {
  color: #702c36 !important;
}

.blog-page .blog-card > strong {
  color: #702c36;
}

.blog-page .blog-card span {
  color: #5b202a;
}

.blog-intro-art {
  min-width: 0;
  margin: 0;
}

.blog-intro-art img {
  width: 100%;
  max-height: clamp(300px, 38vw, 480px);
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 24px 30px rgba(35, 31, 32, 0.18));
}

/* Legal: imagen transparente completa, orientada hacia el contenido. */
.solution-visual-media.defense-head-visual {
  aspect-ratio: 16 / 10;
  overflow: visible;
  -webkit-mask-image: none;
  mask-image: none;
}

.solution-visual-media.defense-head-visual img {
  object-fit: contain;
  object-position: center right;
  filter: drop-shadow(0 24px 28px rgba(35, 31, 32, 0.2));
  transform: none;
}

.solution-visual-story:hover .solution-visual-media.defense-head-visual img {
  filter: drop-shadow(0 30px 34px rgba(112, 44, 54, 0.24));
  transform: translateX(6px);
}

@media (max-width: 820px) {
  .blog-intro-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .blog-intro-art img {
    max-height: 360px;
  }

  .solution-visual-media.defense-head-visual {
    -webkit-mask-image: none;
    mask-image: none;
  }
}

/* Knowledge Graph: red abstracta y tecnológica, sin árbol ilustrado. */
.knowledge-tree-section {
  --graph-green: #3f8068;
  --graph-green-soft: #77a895;
  --graph-ink: #202624;
  --graph-line: #8d9692;
}

.knowledge-tree-header h2,
.knowledge-tree-panel h3 {
  color: var(--graph-ink);
}

.knowledge-tree-header .eyebrow,
.knowledge-tree-panel .knowledge-tree-kicker {
  color: var(--graph-green);
}

.knowledge-tree-visual::before {
  display: none;
}

.knowledge-tree-svg > g:not(.tech-tree-graph) {
  display: none;
}

.tech-tree-graph {
  opacity: 1;
}

.tech-tree-graph .tech-zone path {
  fill: none;
  stroke: var(--graph-line);
  stroke-width: 1.45;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 920;
  stroke-dashoffset: 920;
  vector-effect: non-scaling-stroke;
  transition:
    stroke 420ms ease,
    stroke-width 420ms ease,
    opacity 420ms ease,
    filter 420ms ease;
}

.tech-tree-graph .tech-zone .tech-spine {
  stroke: #343b38;
  stroke-width: 2.2;
}

.knowledge-tree-section.is-visible .tech-zone-roots path {
  animation: techGraphDraw 1.25s cubic-bezier(0.22, 1, 0.36, 1) 80ms forwards;
}

.knowledge-tree-section.is-visible .tech-zone-trunk path {
  animation: techGraphDraw 1.35s cubic-bezier(0.22, 1, 0.36, 1) 260ms forwards;
}

.knowledge-tree-section.is-visible .tech-zone-branches path {
  animation: techGraphDraw 1.55s cubic-bezier(0.22, 1, 0.36, 1) 480ms forwards;
}

.knowledge-tree-section.is-visible .tech-zone-leaves path {
  animation: techGraphDraw 1.7s cubic-bezier(0.22, 1, 0.36, 1) 720ms forwards;
}

.tech-tree-graph .tech-node {
  fill: #f7f7f4;
  stroke: #59615e;
  stroke-width: 1.5;
  opacity: 0;
  transform: scale(0.5);
  transform-box: fill-box;
  transform-origin: center;
  vector-effect: non-scaling-stroke;
  transition:
    fill 360ms ease,
    stroke 360ms ease,
    filter 360ms ease,
    transform 360ms ease;
}

.tech-tree-graph .tech-node-accent {
  fill: var(--graph-green);
  stroke: var(--graph-green);
}

.knowledge-tree-section.is-visible .tech-node {
  animation: techNodeAppear 480ms cubic-bezier(0.22, 1, 0.36, 1) 950ms forwards;
}

.knowledge-tree-section.is-visible .tech-node-accent {
  animation:
    techNodeAppear 480ms cubic-bezier(0.22, 1, 0.36, 1) 950ms forwards,
    techNodeAmbientPulse 4.6s ease-in-out 1.8s infinite;
}

.knowledge-tree-section[data-active-zone="roots"] [data-tech-zone="roots"] path,
.knowledge-tree-section[data-active-zone="trunk"] [data-tech-zone="trunk"] path,
.knowledge-tree-section[data-active-zone="branches"] [data-tech-zone="branches"] path,
.knowledge-tree-section[data-active-zone="leaves"] [data-tech-zone="leaves"] path {
  stroke: var(--graph-green);
  stroke-width: 2.15;
  filter: drop-shadow(0 0 5px rgba(63, 128, 104, 0.28));
}

.knowledge-tree-section[data-active-zone="roots"] [data-tech-zone="roots"] .tech-node,
.knowledge-tree-section[data-active-zone="trunk"] [data-tech-zone="trunk"] .tech-node,
.knowledge-tree-section[data-active-zone="branches"] [data-tech-zone="branches"] .tech-node,
.knowledge-tree-section[data-active-zone="leaves"] [data-tech-zone="leaves"] .tech-node {
  fill: var(--graph-green);
  stroke: var(--graph-green);
  transform: scale(1.08);
  filter: drop-shadow(0 0 6px rgba(63, 128, 104, 0.4));
}

.knowledge-tree-panel .tree-zone[aria-pressed="true"] {
  color: var(--graph-ink);
  border-color: rgba(63, 128, 104, 0.48);
}

.knowledge-tree-panel .tree-zone[aria-pressed="true"] span {
  color: var(--graph-green);
}

.knowledge-tree-panel [data-tree-title] {
  min-height: 3.8em;
}

.knowledge-tree-panel [data-tree-description] {
  min-height: 7.1em;
}

@keyframes techGraphDraw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes techNodeAppear {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes techNodeAmbientPulse {
  0%,
  100% {
    opacity: 0.72;
    filter: drop-shadow(0 0 0 rgba(63, 128, 104, 0));
  }
  50% {
    opacity: 1;
    filter: drop-shadow(0 0 7px rgba(63, 128, 104, 0.42));
  }
}

@media (prefers-reduced-motion: reduce) {
  .knowledge-tree-section.is-visible .tech-zone path,
  .knowledge-tree-section.is-visible .tech-node,
  .knowledge-tree-section.is-visible .tech-node-accent {
    animation-duration: 1ms;
    animation-delay: 0ms;
    animation-iteration-count: 1;
  }
}

@media (max-width: 760px) {
  .knowledge-tree-panel [data-tree-title],
  .knowledge-tree-panel [data-tree-description] {
    min-height: 0;
  }
}

/* Visuales de manos GUIEX */
.hand-visual {
  position: relative;
  isolation: isolate;
  margin: 0;
}

.hand-visual img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 700ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.hand-visual:hover img {
  transform: translateY(-8px) scale(1.025);
}

.hand-visual-word {
  position: absolute;
  z-index: 0;
  inset: 50% auto auto 50%;
  color: rgba(112, 44, 54, 0.09);
  font-size: clamp(4.2rem, 9vw, 10rem);
  font-weight: 900;
  line-height: 0.78;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
  transform: translate(-50%, -50%);
}

.home-company-section {
  grid-template-columns: minmax(280px, 0.85fr) minmax(380px, 1.15fr);
  gap: clamp(22px, 4vw, 64px) clamp(36px, 6vw, 96px);
  overflow: hidden;
}

.home-company-heading,
.home-company-copy {
  grid-column: 1;
}

.home-company-copy {
  align-self: start;
}

.home-company-hand {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  width: min(100%, 720px);
  height: clamp(360px, 42vw, 570px);
  margin-inline: auto;
}

.home-company-principles {
  position: relative;
  z-index: 2;
}

.hand-feature-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(380px, 1.18fr);
  align-items: center;
  min-height: 560px;
  padding: clamp(54px, 7vw, 104px) clamp(24px, 7vw, 112px);
  overflow: hidden;
  color: #231f20;
  background:
    linear-gradient(112deg, rgba(112, 44, 54, 0.08), transparent 34%),
    #eeece7;
}

.hand-feature-section.is-reverse {
  grid-template-columns: minmax(380px, 1.18fr) minmax(300px, 0.82fr);
}

.hand-feature-section.is-reverse .hand-feature-copy {
  grid-column: 2;
}

.hand-feature-section.is-reverse .hand-feature-media {
  grid-column: 1;
  grid-row: 1;
}

.hand-feature-copy {
  position: relative;
  z-index: 2;
  max-width: 660px;
}

.hand-feature-copy h2 {
  max-width: 11ch;
  margin: 0 0 24px;
  color: var(--wine);
  font-size: clamp(2.45rem, 4.8vw, 5.3rem);
  font-weight: 900;
  line-height: 0.96;
  letter-spacing: 0;
}

.hand-feature-copy > p:last-child {
  max-width: 54ch;
  margin: 0;
  color: rgba(35, 31, 32, 0.74);
  font-size: clamp(1rem, 1.2vw, 1.18rem);
  line-height: 1.65;
}

.hand-feature-media {
  width: min(100%, 720px);
  height: clamp(380px, 43vw, 590px);
  margin-inline: auto;
}

.hand-collection-section {
  display: grid;
  width: 100%;
  overflow: hidden;
  color: #231f20;
  background: #e8e6e1;
  border-block: 1px solid rgba(35, 31, 32, 0.12);
}

.hand-collection-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hand-collection-four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hand-collection-item {
  position: relative;
  min-width: 0;
  min-height: 430px;
  padding: clamp(28px, 3vw, 48px);
  overflow: hidden;
  background: #f3f1ed;
  border-right: 1px solid rgba(35, 31, 32, 0.14);
}

.hand-collection-two .hand-collection-item {
  min-height: 500px;
}

.hand-collection-item:last-child {
  border-right: 0;
}

.hand-collection-item.is-gray {
  background: #d4d4d0;
}

.hand-collection-item.is-light {
  background: #e8e4dc;
}

.hand-collection-item.is-wine {
  color: #fff;
  background: var(--wine);
}

.hand-collection-copy {
  position: relative;
  z-index: 2;
}

.hand-collection-copy > span {
  display: block;
  margin-bottom: 12px;
  color: currentColor;
  font-size: 0.78rem;
  font-weight: 850;
  opacity: 0.56;
}

.hand-collection-copy h2 {
  max-width: 9ch;
  margin: 0;
  color: currentColor;
  font-size: clamp(2rem, 3.5vw, 4.5rem);
  font-weight: 900;
  line-height: 0.94;
  letter-spacing: 0;
}

.hand-collection-four .hand-collection-copy h2 {
  font-size: clamp(1.55rem, 2.25vw, 2.8rem);
}

.hand-collection-copy p {
  max-width: 38ch;
  margin: 18px 0 0;
  color: currentColor;
  font-size: 1rem;
  line-height: 1.55;
  opacity: 0.72;
}

.hand-collection-item img {
  position: absolute;
  z-index: 1;
  right: -4%;
  bottom: -4%;
  display: block;
  width: 88%;
  height: 76%;
  object-fit: contain;
  object-position: right bottom;
  transition: transform 650ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.hand-collection-two .hand-collection-item img {
  width: 76%;
  height: 72%;
}

.hand-collection-item:hover img {
  transform: translate(-8px, -7px) scale(1.035);
}

@media (max-width: 980px) {
  .home-company-section,
  .hand-feature-section,
  .hand-feature-section.is-reverse {
    grid-template-columns: 1fr;
  }

  .home-company-heading,
  .home-company-copy,
  .home-company-hand,
  .hand-feature-section.is-reverse .hand-feature-copy,
  .hand-feature-section.is-reverse .hand-feature-media {
    grid-column: 1;
    grid-row: auto;
  }

  .home-company-hand {
    height: clamp(320px, 66vw, 520px);
  }

  .hand-feature-section {
    min-height: 0;
  }

  .hand-feature-media {
    height: clamp(350px, 66vw, 520px);
  }

  .hand-collection-four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hand-collection-four .hand-collection-item:nth-child(2) {
    border-right: 0;
  }
}

@media (max-width: 680px) {
  .hand-visual-word {
    font-size: clamp(2.35rem, 11vw, 4.8rem);
  }

  .hand-collection-two,
  .hand-collection-four {
    grid-template-columns: 1fr;
  }

  .hand-collection-item,
  .hand-collection-two .hand-collection-item {
    min-height: 390px;
    border-right: 0;
    border-bottom: 1px solid rgba(35, 31, 32, 0.14);
  }

  .hand-collection-item:last-child {
    border-bottom: 0;
  }

  .hand-collection-item img,
  .hand-collection-two .hand-collection-item img {
    width: 78%;
    height: 70%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hand-visual img,
  .hand-collection-item img {
    transition: none;
  }
}

/* Legal destacada en las soluciones de la Home */
body.home-page .home-solutions-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(35, 31, 32, 0.18);
  background: rgba(35, 31, 32, 0.18);
}

body.home-page .home-solution-row {
  position: relative;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) 28px;
  grid-template-rows: auto 1fr;
  gap: 18px 14px;
  align-content: start;
  min-height: 255px;
  padding: clamp(26px, 3vw, 42px);
  background: #f4f2ee;
  border: 0;
  border-radius: 0;
  font: inherit;
  text-align: left;
}

body.home-page button.home-solution-row {
  width: 100%;
  cursor: pointer;
}

body.home-page .home-solution-option:focus {
  outline: none;
}

body.home-page .home-solution-option:focus-visible {
  outline: 2px solid var(--wine);
  outline-offset: -3px;
}

body.home-page .home-solution-row:nth-child(3) {
  background: #deded9;
}

body.home-page .home-solution-row:nth-child(4) {
  background: #ece9e3;
}

body.home-page .home-solution-row h3 {
  align-self: start;
  font-size: clamp(1.55rem, 2.2vw, 2.65rem);
}

body.home-page .home-solution-row p {
  grid-column: 2 / -1;
  align-self: end;
  font-size: clamp(0.92rem, 1vw, 1.04rem);
}

body.home-page .home-solution-row:not(.is-featured) p {
  grid-column: 2 / -1;
  grid-row: 2;
  align-self: start;
}

body.home-page .home-solution-option h3 {
  grid-column: 2 / -1;
  grid-row: 1;
  padding-right: 54px;
}

body.home-page .home-solution-row .home-solution-arrow {
  position: absolute;
  z-index: 5;
  top: 30px;
  right: 30px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
}

body.home-page .home-solution-row .home-solution-number {
  position: absolute;
  z-index: 5;
  top: 30px;
  left: 30px;
}

body.home-page .home-solution-row:hover,
body.home-page .home-solution-row:focus-visible {
  padding: clamp(26px, 3vw, 42px);
  color: #231f20;
  background: #fff;
}

body.home-page .home-solution-row.is-featured {
  position: relative;
  grid-column: 1 / -1;
  grid-template-columns: 42px minmax(260px, 0.78fr) minmax(340px, 1.22fr) 34px;
  grid-template-rows: auto 1fr auto;
  min-height: clamp(390px, 39vw, 545px);
  padding: clamp(34px, 5vw, 72px);
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(ellipse at 88% 8%, rgba(18, 16, 17, 0.78) 0%, rgba(31, 25, 27, 0.48) 34%, transparent 67%),
    linear-gradient(118deg, #883744 0%, #702c36 52%, #292426 100%);
}

body.home-page .home-solution-row.is-featured h3 {
  position: relative;
  z-index: 2;
  grid-column: 2;
  max-width: 8ch;
  color: #fff;
  font-size: clamp(3.2rem, 6.2vw, 7.2rem);
  line-height: 0.88;
}

body.home-page .home-solution-row.is-featured p {
  position: relative;
  z-index: 2;
  grid-column: 2;
  align-self: end;
  max-width: 46ch;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.3vw, 1.2rem);
}

.home-solution-cta {
  position: relative;
  z-index: 4;
  grid-column: 2;
  grid-row: 3;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: fit-content;
  min-width: 190px;
  margin-top: 20px;
  padding: 13px 17px;
  color: #fff;
  font-size: 0.84rem;
  font-weight: 850;
  text-decoration: none;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.78);
  transition: color 220ms ease, background-color 220ms ease;
}

.home-solution-cta:hover,
.home-solution-cta:focus-visible {
  color: var(--wine);
  background: #fff;
}

body.home-page .home-solution-row.is-featured .home-solution-number,
body.home-page .home-solution-row.is-featured .home-solution-arrow {
  position: absolute;
  z-index: 3;
  color: #fff;
}

body.home-page button.home-solution-arrow {
  width: 42px;
  height: 42px;
  padding: 0;
  cursor: pointer;
  background: transparent;
  border: 0;
  border-radius: 50%;
}

body.home-page button.home-solution-arrow:hover,
body.home-page button.home-solution-arrow:focus-visible {
  color: var(--wine);
  background: #fff;
  transform: translateX(5px);
}

body.home-page .home-solution-option .home-solution-arrow {
  pointer-events: none;
}

body.home-page .home-solution-row.is-featured .home-solution-arrow {
  top: 30px;
  right: 30px;
}

.home-solution-feature-visual {
  position: absolute;
  z-index: 1;
  inset: 3% 3% 0 auto;
  width: 53%;
  height: 97%;
  margin: 0;
}

.home-solution-feature-visual::before {
  content: "";
  position: absolute;
  inset: 12% 4% 5% 20%;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
}

.home-solution-feature-visual img {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  transition: transform 700ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

body.home-page .home-solution-row.is-featured:hover,
body.home-page .home-solution-row.is-featured:focus-visible {
  padding: clamp(34px, 5vw, 72px);
  color: #fff;
  background:
    radial-gradient(ellipse at 84% 10%, rgba(14, 13, 14, 0.72) 0%, rgba(34, 27, 29, 0.4) 38%, transparent 70%),
    linear-gradient(118deg, #943d4b 0%, #77313d 52%, #302a2c 100%);
}

body.home-page .home-solution-row.is-featured:hover .home-solution-feature-visual img,
body.home-page .home-solution-row.is-featured:focus-visible .home-solution-feature-visual img {
  transform: translateY(-7px) scale(1.025);
}

body.home-page .home-solution-row.is-featured.is-switching h3,
body.home-page .home-solution-row.is-featured.is-switching p,
body.home-page .home-solution-row.is-featured.is-switching .home-solution-cta,
body.home-page .home-solution-row.is-featured.is-switching .home-solution-feature-visual img {
  animation: home-solution-change 480ms cubic-bezier(0.2, 0.75, 0.2, 1) both;
}

@keyframes home-solution-change {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  body.home-page .home-solutions-list {
    grid-template-columns: 1fr;
  }

  body.home-page .home-solution-row,
  body.home-page .home-solution-row.is-featured {
    grid-column: 1;
  }

  body.home-page .home-solution-row.is-featured {
    grid-template-columns: 34px minmax(0, 1fr) 30px;
    grid-template-rows: auto auto auto 1fr;
    min-height: 610px;
  }

  body.home-page .home-solution-row.is-featured h3,
  body.home-page .home-solution-row.is-featured p {
    grid-column: 2 / -1;
  }

  .home-solution-cta {
    grid-column: 2 / -1;
    grid-row: 3;
    margin-top: 0;
  }

  body.home-page .home-solution-row.is-featured h3,
  body.home-page .home-solution-row.is-featured .home-solution-number,
  body.home-page .home-solution-row.is-featured .home-solution-arrow {
    grid-row: 1;
  }

  body.home-page .home-solution-row.is-featured p {
    grid-row: 2;
    align-self: start;
    max-width: 29ch;
  }

  body.home-page .home-solution-row.is-featured .home-solution-arrow {
    top: 30px;
    right: 30px;
  }

  .home-solution-feature-visual {
    inset: auto 3% 0 18%;
    width: 79%;
    height: 50%;
  }
}

@media (max-width: 620px) {
  body.home-page .home-solution-row {
    min-height: 230px;
    padding: 26px 22px;
  }

  body.home-page .home-solution-row:hover,
  body.home-page .home-solution-row:focus-visible {
    padding: 26px 22px;
  }

  body.home-page .home-solution-row.is-featured {
    min-height: 590px;
    padding: 30px 22px;
  }

  body.home-page .home-solution-row.is-featured:hover,
  body.home-page .home-solution-row.is-featured:focus-visible {
    padding: 30px 22px;
  }

  body.home-page .home-solution-row.is-featured h3 {
    font-size: clamp(2.8rem, 13vw, 4.2rem);
  }
}

/* Home: contenido actualizado y composición visual invertida */
body.home-page .home-focus-copy p:not(.eyebrow) {
  max-width: 720px;
  color: rgba(35, 31, 32, 0.76);
  font-size: clamp(1.02rem, 1.3vw, 1.18rem);
  line-height: 1.68;
}

body.home-page .home-company-section {
  grid-template-columns: minmax(390px, 1.08fr) minmax(330px, 0.92fr);
  grid-template-rows: auto auto auto;
  column-gap: clamp(42px, 6vw, 96px);
  row-gap: 12px;
  align-items: center;
}

body.home-page .home-company-hand {
  grid-column: 1;
  grid-row: 1 / span 2;
  align-self: center;
  height: clamp(350px, 39vw, 530px);
}

body.home-page .home-company-heading {
  grid-column: 2;
  grid-row: 1;
  align-self: end;
}

body.home-page .home-company-copy {
  grid-column: 2;
  grid-row: 2;
  align-self: start;
}

body.home-page .home-company-heading h2,
body.home-page .home-company-copy p {
  margin: 0;
}

body.home-page .home-company-principles {
  grid-column: 1 / -1;
  grid-row: 3;
}

@media (max-width: 980px) {
  body.home-page .home-company-section {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto auto;
    row-gap: 18px;
  }

  body.home-page .home-company-hand {
    grid-column: 1;
    grid-row: 1;
    height: clamp(300px, 68vw, 500px);
  }

  body.home-page .home-company-heading {
    grid-column: 1;
    grid-row: 2;
  }

  body.home-page .home-company-copy {
    grid-column: 1;
    grid-row: 3;
  }

  body.home-page .home-company-principles {
    grid-column: 1;
    grid-row: 4;
  }
}

/* Nosotros: objetivos compactos y divisores visuales */
.about-objectives {
  padding-block: clamp(24px, 2.8vw, 38px) !important;
}

.about-objectives .section-heading {
  margin-bottom: clamp(6px, 1vw, 12px);
}

.objective-outline-item {
  min-height: clamp(102px, 10vw, 132px);
  padding-block: clamp(6px, 1vw, 12px);
}

.objective-outline-item h3 {
  gap: clamp(12px, 1.8vw, 24px);
  font-size: clamp(2.15rem, 4.6vw, 5rem);
  line-height: 0.88;
}

.objective-outline-item > p {
  max-width: 52ch;
  font-size: clamp(1.2rem, 1.55vw, 1.42rem);
  line-height: 1.48;
}

.about-truck-break blockquote {
  position: absolute;
  z-index: 2;
  inset: 50% auto auto 50%;
  width: min(82%, 980px);
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1.7rem, 4.4vw, 4.9rem);
  font-weight: 850;
  line-height: 1.02;
  letter-spacing: 0;
  text-align: center;
  text-wrap: balance;
  text-shadow: 0 3px 24px rgba(0, 0, 0, 0.42);
  transform: translate(-50%, -50%);
}

.assembly-section.is-image-only {
  display: block;
  min-height: 0;
  padding: 0;
  background: #f7f4ef;
}

.assembly-section.is-image-only .assembly-image {
  width: 100%;
  max-width: none;
  aspect-ratio: 4 / 1;
}

@media (max-width: 760px) {
  .about-objectives {
    padding-block: 24px !important;
  }

  .objective-outline-item {
    min-height: 96px;
    padding: 8px 14px;
  }

  .objective-outline-item h3 {
    font-size: clamp(2rem, 10vw, 3.3rem);
  }

  .about-truck-break blockquote {
    width: 88%;
    font-size: clamp(1.45rem, 7vw, 2.5rem);
  }

  .assembly-section.is-image-only .assembly-image {
    aspect-ratio: 16 / 5;
  }
}

/* Home: contenido corporativo y resumen de soluciones. */
.home-company-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(36px, 7vw, 110px);
  padding: clamp(72px, 9vw, 132px) max(var(--page-gutter), calc((100% - 1440px) / 2)) clamp(58px, 7vw, 96px);
  color: var(--text-editorial);
  background: #f3f1ed;
}

.home-company-heading h2,
.home-solutions-heading h2,
.home-values-intro h2 {
  margin: 0;
  color: var(--wine);
  font-size: clamp(2.35rem, 4.2vw, 4.8rem);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: 0;
}

.home-company-copy {
  align-self: end;
  max-width: 64ch;
}

.home-company-copy p {
  margin: 0;
  color: rgba(35, 31, 32, 0.76);
  font-size: clamp(1.04rem, 1.35vw, 1.22rem);
  line-height: 1.68;
}

.home-company-copy p + p {
  margin-top: 22px;
}

.home-company-principles {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(14px, 2vw, 28px);
  border-top: 1px solid rgba(112, 44, 54, 0.32);
  border-bottom: 1px solid rgba(112, 44, 54, 0.32);
}

.home-company-principles span {
  padding: 22px clamp(12px, 2vw, 28px);
  color: var(--wine);
  font-size: clamp(0.85rem, 1vw, 1rem);
  font-weight: 850;
  text-align: center;
  text-transform: uppercase;
}

.home-company-principles span + span {
  border-left: 1px solid rgba(112, 44, 54, 0.24);
}

.home-solutions-summary {
  padding: clamp(72px, 9vw, 124px) max(var(--page-gutter), calc((100% - 1440px) / 2));
  color: var(--text-editorial);
  background: #e3e3e0;
}

.home-solutions-heading {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 7vw, 104px);
  align-items: end;
  margin-bottom: clamp(44px, 6vw, 76px);
}

.home-solutions-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -8px;
}

.home-solutions-heading > p:not(.eyebrow) {
  max-width: 56ch;
  margin: 0;
  color: rgba(35, 31, 32, 0.72);
  font-size: clamp(1rem, 1.25vw, 1.16rem);
  line-height: 1.65;
}

.home-solutions-list {
  border-top: 1px solid rgba(35, 31, 32, 0.28);
}

.home-solution-row {
  display: grid;
  grid-template-columns: 54px minmax(220px, 0.8fr) minmax(300px, 1.2fr) 42px;
  gap: clamp(18px, 3vw, 48px);
  align-items: center;
  min-height: 126px;
  padding: 24px 18px;
  color: var(--text-editorial);
  text-decoration: none;
  border-bottom: 1px solid var(--border-editorial);
  transition: color 220ms ease, background-color 220ms ease, padding 220ms ease;
}

.home-solution-number {
  color: rgba(112, 44, 54, 0.66);
  font-size: 0.78rem;
  font-weight: 900;
}

.home-solution-row h3 {
  margin: 0;
  color: var(--wine);
  font-size: clamp(1.45rem, 2.25vw, 2.5rem);
  font-weight: 900;
  line-height: 1.02;
}

.home-solution-row p {
  max-width: 60ch;
  margin: 0;
  color: rgba(35, 31, 32, 0.7);
  font-size: clamp(0.94rem, 1.05vw, 1.06rem);
  line-height: 1.55;
}

.home-solution-arrow {
  color: var(--wine);
  font-size: 1.75rem;
  line-height: 1;
  transition: transform 220ms ease;
}

.home-solution-row:hover,
.home-solution-row:focus-visible {
  padding-inline: 28px 12px;
  background: rgba(112, 44, 54, 0.08);
}

.home-solution-row:hover .home-solution-arrow,
.home-solution-row:focus-visible .home-solution-arrow {
  transform: translateX(7px);
}

.home-values-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(36px, 7vw, 104px);
  padding: clamp(68px, 8vw, 112px) max(var(--page-gutter), calc((100% - 1440px) / 2));
  color: var(--text-editorial);
  background: #f6f4f0;
}

.home-values-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(112, 44, 54, 0.28);
  border-bottom: 1px solid rgba(112, 44, 54, 0.28);
}

.home-values-lead {
  max-width: 28ch;
  margin: 24px 0 0;
  color: rgba(35, 31, 32, 0.68);
  font-size: clamp(1.05rem, 1.35vw, 1.22rem);
  line-height: 1.5;
}

.home-values-list article {
  padding: clamp(24px, 3vw, 42px) clamp(16px, 2.4vw, 34px);
}

.home-values-list article + article {
  border-left: 1px solid rgba(112, 44, 54, 0.24);
}

.home-values-list h3 {
  margin: 0 0 18px;
  color: var(--wine);
  font-size: clamp(1.2rem, 1.6vw, 1.65rem);
  line-height: 1.05;
}

.home-values-list p {
  margin: 0;
  color: rgba(35, 31, 32, 0.7);
  font-size: 0.98rem;
  line-height: 1.58;
}

@media (max-width: 900px) {
  .home-company-section,
  .home-solutions-heading,
  .home-values-section {
    grid-template-columns: 1fr;
  }

  .home-company-copy {
    max-width: 66ch;
  }

  .home-solutions-heading .eyebrow {
    grid-column: 1;
  }

  .home-solution-row {
    grid-template-columns: 40px minmax(180px, 0.8fr) minmax(230px, 1.2fr) 32px;
    gap: 16px;
  }

  .home-values-list {
    grid-template-columns: 1fr;
  }

  .home-values-list article + article {
    border-top: 1px solid rgba(112, 44, 54, 0.24);
    border-left: 0;
  }
}

@media (max-width: 620px) {
  .home-company-heading h2,
  .home-solutions-heading h2,
  .home-values-intro h2 {
    font-size: clamp(2.15rem, 10vw, 3.25rem);
  }

  .home-company-principles {
    grid-template-columns: 1fr;
  }

  .home-company-principles span + span {
    border-top: 1px solid rgba(112, 44, 54, 0.24);
    border-left: 0;
  }

  .home-solution-row {
    grid-template-columns: 32px minmax(0, 1fr) 28px;
    min-height: 0;
    padding: 22px 4px;
  }

  .home-solution-row h3 {
    font-size: 1.55rem;
  }

  .home-solution-row p {
    grid-column: 2 / 4;
  }

  .home-solution-arrow {
    grid-column: 3;
    grid-row: 1;
  }

  .home-solution-row:hover,
  .home-solution-row:focus-visible {
    padding-inline: 10px 0;
  }
}

@media (max-width: 1080px) {
  body.home-page .home-company-section,
  body.home-page .home-solutions-heading,
  body.home-page .home-values-section,
  body.home-page .to-be-video-section,
  body.home-page .site-donut-section {
    grid-template-columns: minmax(0, 1fr);
  }

  body.home-page .to-be-video-section .home-video-frame {
    width: min(100%, 760px);
    justify-self: start;
  }

  body.home-page .to-be-video-section .to-be-copy {
    max-width: 680px;
  }

  body.home-page .site-donut {
    width: min(68vw, 460px);
    max-width: 100%;
    justify-self: center;
  }
}

@media (min-width: 761px) and (max-width: 1080px) {
  body.home-page .site-donut-section {
    grid-template-columns: minmax(240px, 0.72fr) minmax(360px, 1fr);
    gap: 32px;
    padding: 72px 36px;
  }

  body.home-page .site-donut {
    width: min(40vw, 420px);
  }

  body.home-page .site-donut-copy h2 {
    font-size: clamp(2.35rem, 5vw, 3.8rem);
  }
}

/* Home: sistema solar de soluciones. */
.site-solar-system {
  position: relative;
  justify-self: center;
  width: min(64vw, 480px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(112, 44, 54, 0.13), transparent 16%),
    radial-gradient(circle at 50% 50%, transparent 0 22%, rgba(112, 44, 54, 0.08) 22.3% 22.6%, transparent 22.9%),
    radial-gradient(circle at 50% 50%, transparent 0 31%, rgba(97, 97, 96, 0.11) 31.3% 31.6%, transparent 31.9%),
    radial-gradient(circle at 50% 50%, transparent 0 40%, rgba(112, 44, 54, 0.09) 40.3% 40.6%, transparent 40.9%),
    radial-gradient(circle at 50% 50%, transparent 0 48%, rgba(97, 97, 96, 0.12) 48.3% 48.6%, transparent 48.9%);
}

.solar-core {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 6;
  display: grid;
  place-items: center;
  width: clamp(94px, 10vw, 116px);
  aspect-ratio: 1;
  padding: clamp(18px, 2vw, 23px);
  border: 1px solid rgba(112, 44, 54, 0.16);
  border-radius: 50%;
  background: rgba(248, 242, 238, 0.96);
  box-shadow: 0 14px 42px rgba(79, 29, 39, 0.18);
  transform: translate(-50%, -50%);
}

.solar-core-mark {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  background: var(--wine);
  -webkit-mask: url("assets/guiex-icon-mask.png?v=d0e508fc83") center / contain no-repeat;
  mask: url("assets/guiex-icon-mask.png?v=d0e508fc83") center / contain no-repeat;
}

.solar-orbit {
  --duration: 32s;
  --delay: 0s;
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 4;
  width: var(--orbit-size);
  aspect-ratio: 1;
  border: 1px solid rgba(112, 44, 54, 0.18);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.solar-orbit-runner {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  animation: solar-runner-spin var(--duration) linear var(--delay) infinite;
}

.solar-orbit.is-reverse .solar-orbit-runner {
  animation-direction: reverse;
}

.solar-main-orbit {
  --orbit-size: 100%;
  --duration: 76s;
  --delay: -18s;
  z-index: 5;
  border-color: rgba(112, 44, 54, 0.24);
}

.solar-orbit-defense {
  --orbit-size: 76%;
  --duration: 42s;
  --delay: -9s;
}

.solar-orbit-consulting {
  --orbit-size: 64%;
  --duration: 35s;
  --delay: -22s;
}

.solar-orbit-eir {
  --orbit-size: 52%;
  --duration: 28s;
  --delay: -13s;
}

.solar-orbit-process {
  --orbit-size: 40%;
  --duration: 22s;
  --delay: -17s;
}

.solar-area {
  position: absolute;
  z-index: 7;
  display: grid;
  place-items: center;
  width: clamp(102px, 12vw, 118px);
  aspect-ratio: 1;
  padding: 10px;
  color: #fff;
  font-size: clamp(0.62rem, 0.9vw, 0.76rem);
  font-weight: 900;
  line-height: 1.05;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 50%;
  background: #231f20 center / cover no-repeat;
  box-shadow: 0 18px 42px rgba(35, 31, 32, 0.24);
  pointer-events: auto;
  transition: scale 180ms ease, box-shadow 180ms ease;
}

.solar-area::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(35, 31, 32, 0.68), rgba(35, 31, 32, 0.08));
}

.solar-area span {
  display: inline-grid;
  max-width: 100%;
  overflow-wrap: anywhere;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.42);
  animation: solar-content-counter var(--duration) linear var(--delay) infinite reverse;
}

.solar-orbit.is-reverse .solar-area span,
.solar-orbit.is-reverse .solar-planet span {
  animation-direction: normal;
}

.solar-area-nosotros {
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background-image: url("assets/donut-nosotros.jpg?v=1d115bf2cc");
}

.solar-area-soluciones {
  top: 50%;
  left: 100%;
  transform: translate(-50%, -50%);
  background-image: url("assets/donut-soluciones.jpg?v=6fc98220c3");
}

.solar-area-blog {
  top: 100%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-image: url("assets/donut-blog.jpg?v=b47c199c4b");
}

.solar-area-contacto {
  top: 50%;
  left: 0;
  transform: translate(-50%, -50%);
  background-image: url("assets/donut-contacto.jpg?v=ed54f4c848");
}

.solar-area:hover,
.solar-area:focus-visible {
  scale: 1.08;
  box-shadow: 0 24px 54px rgba(112, 44, 54, 0.3);
}

.solar-planet {
  position: absolute;
  top: 50%;
  left: 100%;
  display: grid;
  place-items: center;
  width: clamp(56px, 7vw, 70px);
  aspect-ratio: 1;
  padding: 6px;
  color: #fff;
  font-size: clamp(0.52rem, 0.68vw, 0.64rem);
  font-weight: 900;
  line-height: 1.05;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 50%;
  background: #231f20 center / cover no-repeat;
  box-shadow: 0 12px 32px rgba(35, 31, 32, 0.22);
  pointer-events: auto;
  transform: translate(-50%, -50%);
  transition: box-shadow 180ms ease, width 180ms ease;
}

.solar-planet::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(35, 31, 32, 0.72), rgba(35, 31, 32, 0.12));
}

.solar-planet span {
  display: inline-grid;
  max-width: 100%;
  overflow-wrap: anywhere;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.38);
  animation: solar-content-counter var(--duration) linear var(--delay) infinite reverse;
}

.solar-defense {
  background-image: url("assets/poster-defensa-v2.jpg?v=2c5ac228be");
}

.solar-consulting {
  background-image: url("assets/poster-consultoria-v2.jpg?v=2978d454ee");
}

.solar-eir {
  background-image: url("assets/poster-eir-v2.jpg?v=19ecb10a1a");
}

.solar-process {
  background-image: url("assets/poster-mejora-procesos-v2.jpg?v=946397dbb7");
}

.site-solar-system:hover .solar-orbit-runner,
.site-solar-system:hover .solar-planet span,
.site-solar-system:hover .solar-area span,
.site-solar-system:focus-within .solar-orbit-runner,
.site-solar-system:focus-within .solar-planet span,
.site-solar-system:focus-within .solar-area span {
  animation-play-state: paused;
}

.solar-planet:hover,
.solar-planet:focus-visible {
  width: clamp(62px, 7.6vw, 76px);
  box-shadow: 0 18px 42px rgba(112, 44, 54, 0.3);
}

@keyframes solar-runner-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes solar-content-counter {
  from {
    rotate: 0deg;
  }
  to {
    rotate: 360deg;
  }
}

@media (max-width: 1080px) {
  body.home-page .site-solar-system {
    width: min(68vw, 460px);
  }
}

@media (min-width: 761px) and (max-width: 1080px) {
  body.home-page .site-solar-system {
    width: min(40vw, 420px);
  }
}

@media (max-width: 560px) {
  .site-solar-system {
    width: min(78vw, 360px);
  }

  .solar-planet {
    width: 48px;
    padding: 5px;
    font-size: 0.46rem;
  }

  .solar-planet:hover,
  .solar-planet:focus-visible {
    width: 52px;
  }

  .solar-area {
    width: 82px;
    padding: 7px;
    font-size: 0.54rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .solar-orbit-runner,
  .solar-planet span,
  .solar-area span {
    animation-play-state: paused;
  }
}

/* Prioridad final: la selección siempre aparece más luminosa que el árbol base. */
.knowledge-tree-section[data-active-zone="roots"] .tree-organic-roots .tree-root-primary,
.knowledge-tree-section[data-active-zone="roots"] .tree-organic-roots .tree-root-secondary,
.knowledge-tree-section[data-active-zone="branches"] .tree-organic-branches path,
.knowledge-tree-section[data-active-zone="branches"] .tree-part-branches path {
  stroke: #b94858 !important;
}

.knowledge-tree-section[data-active-zone="roots"] .tree-organic-roots .tree-root-flare,
.knowledge-tree-section[data-active-zone="trunk"] .tree-organic-trunk path,
.knowledge-tree-section[data-active-zone="leaves"] .tree-part-leaves circle {
  fill: #b94858 !important;
}

/* El hover ilumina la zona seleccionada sin reiniciar ni ocultar el SVG. */
.knowledge-tree-section.is-visible .tree-organic-roots .tree-root-primary,
.knowledge-tree-section.is-visible .tree-organic-roots .tree-root-secondary,
.knowledge-tree-section.is-visible .tree-organic-branches path,
.knowledge-tree-section.is-visible .tree-part-branches path {
  transition:
    stroke 360ms ease,
    opacity 360ms ease,
    filter 360ms ease;
}

.knowledge-tree-section.is-visible .tree-organic-trunk path {
  transition:
    fill 360ms ease,
    opacity 360ms ease,
    filter 360ms ease;
}

.knowledge-tree-section.is-visible .tree-part-leaves circle {
  transition:
    fill 360ms ease,
    opacity 360ms ease,
    filter 360ms ease,
    transform 360ms ease;
}

.knowledge-tree-section[data-active-zone="roots"] .tree-organic-roots .tree-root-primary,
.knowledge-tree-section[data-active-zone="roots"] .tree-organic-roots .tree-root-secondary {
  animation: none !important;
  stroke: #b94858 !important;
  stroke-dashoffset: 0 !important;
  opacity: 1 !important;
  filter:
    drop-shadow(0 0 4px rgba(185, 72, 88, 0.72))
    drop-shadow(0 0 11px rgba(112, 44, 54, 0.42)) !important;
}

.knowledge-tree-section[data-active-zone="roots"] .tree-organic-roots .tree-root-flare {
  animation: none !important;
  fill: #b94858 !important;
  opacity: 1 !important;
  filter: drop-shadow(0 0 9px rgba(112, 44, 54, 0.46)) !important;
}

.knowledge-tree-section[data-active-zone="trunk"] .tree-organic-trunk path {
  animation: none !important;
  fill: #b94858 !important;
  opacity: 1 !important;
  transform: scaleY(1) !important;
  filter:
    drop-shadow(0 0 5px rgba(185, 72, 88, 0.7))
    drop-shadow(0 0 13px rgba(112, 44, 54, 0.4)) !important;
}

.knowledge-tree-section[data-active-zone="branches"] .tree-organic-branches path,
.knowledge-tree-section[data-active-zone="branches"] .tree-part-branches path {
  animation: none !important;
  stroke: #b94858 !important;
  stroke-dashoffset: 0 !important;
  opacity: 1 !important;
  filter:
    drop-shadow(0 0 4px rgba(185, 72, 88, 0.68))
    drop-shadow(0 0 10px rgba(112, 44, 54, 0.38)) !important;
}

.knowledge-tree-section[data-active-zone="leaves"] .tree-part-leaves circle {
  animation: none !important;
  fill: #c85767 !important;
  opacity: 1 !important;
  transform: rotate(var(--leaf-rotation)) scaleX(2.18) scaleY(1.1) !important;
  filter:
    drop-shadow(0 0 4px rgba(200, 87, 103, 0.72))
    drop-shadow(0 0 10px rgba(112, 44, 54, 0.42)) !important;
}

/* Correspondencia estricta entre departamento y parte física del árbol. */
.knowledge-tree-section[data-active-zone="roots"] .tree-organic-roots path {
  stroke: #b94858 !important;
  filter: drop-shadow(0 0 8px rgba(112, 44, 54, 0.34));
}

.knowledge-tree-section[data-active-zone="trunk"] .tree-organic-trunk path {
  fill: #b94858 !important;
  filter: drop-shadow(0 0 9px rgba(112, 44, 54, 0.34));
}

.knowledge-tree-section[data-active-zone="branches"] .tree-organic-branches path,
.knowledge-tree-section[data-active-zone="branches"] .tree-part-branches path {
  stroke: #b94858 !important;
  filter: drop-shadow(0 0 8px rgba(112, 44, 54, 0.34));
}

.knowledge-tree-section[data-active-zone="leaves"] .tree-part-leaves circle {
  fill: #b94858 !important;
  filter: drop-shadow(0 0 7px rgba(112, 44, 54, 0.38));
}

/* Raices realistas: suelo, base ensanchada y ramificaciones subterraneas. */
.tree-organic-roots .tree-ground-line {
  fill: none !important;
  stroke: rgba(35, 31, 32, 0.2) !important;
  stroke-width: 1.2 !important;
  opacity: 1 !important;
  filter: none !important;
}

.tree-organic-roots .tree-root-flare {
  fill: #74471f !important;
  stroke: none !important;
  opacity: 1 !important;
  filter: none;
}

.tree-organic-roots .tree-root-primary {
  fill: none;
  stroke: #74471f;
  stroke-width: 6.2 !important;
  opacity: 0.82;
}

.tree-organic-roots .tree-root-secondary {
  fill: none;
  stroke: #74471f;
  stroke-width: 3.2 !important;
  opacity: 0.62;
}

.tree-organic-roots .tree-root-tertiary {
  fill: none;
  stroke: #74471f;
  stroke-width: 1.7 !important;
  opacity: 0.48;
}

.tree-organic-trunk .tree-trunk-grain {
  fill: none !important;
  stroke: rgba(244, 232, 220, 0.4) !important;
  filter: none;
}

.knowledge-tree-section[data-active-zone="trunk"] .tree-organic-trunk .tree-trunk-grain {
  fill: none !important;
  stroke: rgba(255, 239, 241, 0.82) !important;
  opacity: 0.9 !important;
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.24)) !important;
}

.knowledge-tree-section[data-active-zone="roots"] .tree-organic-roots .tree-root-flare {
  fill: #b94858 !important;
  stroke: none !important;
}

.knowledge-tree-section[data-active-zone="roots"] .tree-organic-roots .tree-root-primary,
.knowledge-tree-section[data-active-zone="roots"] .tree-organic-roots .tree-root-secondary,
.knowledge-tree-section[data-active-zone="roots"] .tree-organic-roots .tree-root-tertiary {
  stroke: #b94858 !important;
  stroke-dashoffset: 0 !important;
  opacity: 1 !important;
  animation: none !important;
  filter: drop-shadow(0 0 7px rgba(112, 44, 54, 0.34));
}

.knowledge-tree-section[data-active-zone="roots"] .tree-organic-roots .tree-ground-line {
  stroke: rgba(35, 31, 32, 0.2) !important;
  filter: none !important;
}

/* Retorno al arbol vectorial organico anterior. */
.tech-tree-graph {
  display: none;
}

.knowledge-tree-svg > .tree-organic-roots,
.knowledge-tree-svg > .tree-organic-trunk,
.knowledge-tree-svg > .tree-organic-branches,
.knowledge-tree-svg > .tree-part-branches,
.knowledge-tree-svg > .tree-part-leaves {
  display: block !important;
}

.knowledge-tree-svg > .tree-part-roots,
.knowledge-tree-svg > .tree-part-trunk,
.knowledge-tree-svg > .tree-canopy-network,
.knowledge-tree-svg > .tree-canopy-orbits,
.knowledge-tree-svg > .tree-node-network {
  display: none;
}

.knowledge-tree-header h2,
.knowledge-tree-panel h3 {
  color: var(--wine);
}

.knowledge-tree-header .eyebrow,
.knowledge-tree-panel .knowledge-tree-kicker {
  color: var(--tree-green);
}

.knowledge-tree-visual::before {
  display: block;
}

.tree-organic-roots path,
.tree-organic-roots path:nth-child(2n) {
  stroke: #74471f;
  stroke-width: 5.5;
  opacity: 0.76;
}

.knowledge-tree-section[data-active-zone="roots"] .tree-organic-roots path {
  stroke: var(--wine);
  opacity: 1;
}

.knowledge-tree-panel [data-tree-title],
.knowledge-tree-panel [data-tree-description] {
  min-height: 7.1em;
}

.knowledge-tree-panel [data-tree-title] {
  min-height: 3.8em;
}

@media (max-width: 760px) {
  .knowledge-tree-panel [data-tree-title],
  .knowledge-tree-panel [data-tree-description] {
    min-height: 0;
  }
}

/* Negritas editoriales: acento corporativo en textos de lectura. */
main :where(p, li, blockquote, figcaption) :where(strong:not(.brand-name), b) {
  color: var(--wine);
  font-weight: 800;
}

/* En fondos oscuros prevalece el contraste en blanco. */
main :where(
  .eir-requirements,
  .featured-post,
  .about-truck-break,
  .defense-hammer-break,
  .consulting-aircraft-break,
  .corridor-break,
  .contact-barcelona-hero,
  .solution-hero,
  .contact-cta,
  .site-footer
) :is(p, li, blockquote, figcaption) :is(strong, b) {
  color: #fff;
}

/* Arbol del conocimiento: volumen organico, corteza y copa natural. */
.knowledge-tree-svg > .tree-canopy-volume {
  display: block !important;
  pointer-events: none;
}

.tree-canopy-volume path {
  transform-box: fill-box;
  transform-origin: center;
  transition:
    fill 420ms ease,
    opacity 420ms ease,
    filter 420ms ease;
}

.tree-canopy-silhouette {
  fill: url(#tree-foliage-gradient);
  opacity: 0.16;
}

.tree-canopy-cluster {
  fill: url(#tree-foliage-gradient);
  opacity: 0.27;
}

.tree-canopy-cluster-b,
.tree-canopy-cluster-d,
.tree-canopy-cluster-f {
  fill: url(#tree-foliage-light);
  opacity: 0.24;
}

.tree-ground-shadow {
  fill: rgba(57, 47, 38, 0.12);
  filter: blur(6px);
  opacity: 0.86;
}

.tree-organic-trunk .tree-trunk-shape {
  fill: url(#tree-bark-gradient) !important;
  filter: drop-shadow(6px 8px 7px rgba(45, 35, 28, 0.2));
}

.tree-organic-trunk .tree-trunk-grain,
.tree-organic-trunk .tree-trunk-grain-short,
.tree-organic-trunk .tree-trunk-grain-fine {
  fill: none !important;
  stroke: rgba(239, 218, 194, 0.34) !important;
  stroke-linecap: round;
  filter: none !important;
}

.tree-organic-trunk .tree-trunk-grain {
  stroke-width: 2.2 !important;
}

.tree-organic-trunk .tree-trunk-grain-fine {
  stroke-width: 1.25 !important;
  opacity: 0.72 !important;
}

.tree-organic-branches path,
.tree-part-branches path {
  fill: none;
  stroke: url(#tree-branch-gradient) !important;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tree-organic-branches .tree-branch-major {
  stroke-width: 10.5 !important;
  opacity: 0.96 !important;
  filter: drop-shadow(3px 5px 4px rgba(52, 39, 30, 0.14));
}

.tree-organic-branches .tree-branch-secondary {
  stroke-width: 5.8 !important;
  opacity: 0.9 !important;
}

.tree-organic-branches .tree-branch-twig {
  stroke-width: 3.2 !important;
  opacity: 0.8 !important;
}

.tree-part-branches path {
  stroke: rgba(198, 153, 111, 0.42) !important;
  stroke-width: 2.2 !important;
  opacity: 0.5 !important;
}

.tree-organic-roots .tree-root-flare {
  fill: url(#tree-bark-gradient) !important;
  filter: drop-shadow(0 5px 5px rgba(45, 35, 28, 0.14));
}

.tree-organic-roots .tree-root-primary,
.tree-organic-roots .tree-root-secondary,
.tree-organic-roots .tree-root-tertiary {
  stroke: url(#tree-branch-gradient) !important;
  stroke-linecap: round;
}

.tree-part-leaves circle {
  fill: #526150 !important;
  stroke: rgba(39, 55, 44, 0.2);
  stroke-width: 0.7;
  opacity: 0.92 !important;
  transform: rotate(var(--leaf-rotation)) scaleX(1.72) scaleY(0.9) !important;
  transform-box: fill-box;
  transform-origin: center;
  filter: none;
}

.tree-part-leaves circle:nth-child(5n + 2),
.tree-part-leaves circle:nth-child(7n + 1) {
  fill: #74806c !important;
}

.tree-part-leaves circle:nth-child(6n + 3) {
  fill: #a3a991 !important;
}

.tree-part-leaves circle:nth-child(11n + 4),
.tree-part-leaves circle:nth-child(13n + 6) {
  fill: #7f2d3a !important;
}

.knowledge-tree-section[data-active-zone="leaves"] .tree-canopy-volume path {
  fill: #7f2d3a !important;
  opacity: 0.34 !important;
  filter: drop-shadow(0 0 10px rgba(112, 44, 54, 0.18));
}

.knowledge-tree-section[data-active-zone="leaves"] .tree-part-leaves circle {
  fill: #b94858 !important;
  stroke: rgba(112, 44, 54, 0.32);
  opacity: 1 !important;
  transform: rotate(var(--leaf-rotation)) scaleX(1.88) scaleY(0.98) !important;
}

.knowledge-tree-section[data-active-zone="trunk"] .tree-organic-trunk .tree-trunk-shape,
.knowledge-tree-section[data-active-zone="roots"] .tree-organic-roots .tree-root-flare {
  fill: #b94858 !important;
}

.knowledge-tree-section[data-active-zone="branches"] .tree-organic-branches path,
.knowledge-tree-section[data-active-zone="branches"] .tree-part-branches path,
.knowledge-tree-section[data-active-zone="roots"] .tree-organic-roots .tree-root-primary,
.knowledge-tree-section[data-active-zone="roots"] .tree-organic-roots .tree-root-secondary,
.knowledge-tree-section[data-active-zone="roots"] .tree-organic-roots .tree-root-tertiary {
  stroke: #b94858 !important;
}

@media (max-width: 760px) {
  .tree-canopy-silhouette {
    opacity: 0.19;
  }

  .tree-canopy-cluster {
    opacity: 0.3;
  }

  .tree-part-leaves circle {
    stroke-width: 0.9;
  }
}

/* Home: copy rhythm, contact action and compact solar-system labels. */
.home-focus-copy p + p {
  margin-top: 14px;
}

.home-focus-contact {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 24px;
  padding: 13px 18px;
  border: 1px solid var(--wine);
  color: var(--wine);
  background: transparent;
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 180ms ease, background-color 180ms ease;
}

.home-focus-contact:hover,
.home-focus-contact:focus-visible {
  color: #fff;
  background: var(--wine);
}

.solar-consulting span {
  max-width: none;
  white-space: nowrap;
  overflow-wrap: normal;
  font-size: 0.78em;
}

/* Nosotros: cita alta y divisor de equipo de nuevo en piezas tipo tarjeta. */
.about-truck-break blockquote {
  inset: 29% auto auto 50%;
}

.assembly-section.about-statement.is-image-only {
  padding: clamp(54px, 6vw, 86px) clamp(24px, 6vw, 88px) clamp(64px, 7vw, 104px);
  background: #f7f4ef;
}

.assembly-section.about-statement.is-image-only .assembly-image {
  width: min(1120px, 100%);
  max-width: 1120px;
  aspect-ratio: 4 / 1;
  gap: clamp(9px, 1.2vw, 16px);
}

.assembly-section.about-statement.is-image-only .assembly-slice,
.assembly-section.about-statement.is-image-only.is-assembled .assembly-slice {
  border-radius: 4px;
  box-shadow: 0 18px 42px rgba(35, 31, 32, 0.14);
}

.assembly-section.about-statement.is-image-only.is-assembled .assembly-image {
  gap: clamp(9px, 1.2vw, 16px);
}

@media (max-width: 760px) {
  .about-truck-break blockquote {
    inset: 25% auto auto 50%;
  }

  .assembly-section.about-statement.is-image-only {
    padding: 42px 18px 56px;
  }

  .assembly-section.about-statement.is-image-only .assembly-image {
    gap: 6px;
  }

  .assembly-section.about-statement.is-image-only.is-assembled .assembly-image {
    gap: 6px;
  }
}

/* Ajustes coordinados: Nosotros, Home y Defensa Legal. */
.about-objectives .section-heading {
  width: min(760px, 100%);
  margin-left: auto;
  text-align: right;
}

.home-values-section {
  grid-template-columns: minmax(250px, 0.68fr) minmax(190px, 0.46fr) minmax(0, 1.36fr);
  gap: clamp(26px, 4vw, 64px);
  align-items: center;
}

.home-values-technology {
  width: 100%;
  margin: 0;
  display: grid;
  place-items: center;
  align-self: stretch;
}

.home-values-technology img {
  display: block;
  width: min(100%, 300px);
  height: clamp(250px, 28vw, 390px);
  object-fit: contain;
  filter: drop-shadow(0 22px 30px rgba(35, 31, 32, 0.13));
}

.defense-principle-lead {
  padding: clamp(42px, 5vw, 72px) clamp(24px, 8vw, 124px);
  background: #f3f1ed;
}

.defense-principle-lead p {
  max-width: 1020px;
  margin: 0;
  color: var(--wine);
  font-size: clamp(1.55rem, 3vw, 3.2rem);
  font-weight: 800;
  line-height: 1.12;
  text-wrap: balance;
}

.defense-relocated-copy {
  display: none;
}

.defense-page-redesign .hand-collection-four .hand-collection-item:nth-child(4) img {
  right: -2%;
  bottom: 5%;
  width: 104%;
  height: 68%;
  object-position: center;
}

.defense-keyword-marquee {
  width: 100%;
  overflow: hidden;
  padding-block: clamp(22px, 2.8vw, 36px);
  color: #fff;
  background: var(--wine);
  border-block: 1px solid rgba(255, 255, 255, 0.24);
}

body.defense-page-redesign main > .defense-keyword-marquee {
  color: #fff !important;
  background: var(--wine) !important;
}

.defense-keyword-track {
  display: flex;
  width: max-content;
  white-space: nowrap;
  animation: defenseKeywordFlow 22s linear infinite;
  will-change: transform;
}

.defense-keyword-track span {
  flex: none;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.4rem, 3.4vw, 3.8rem);
  font-weight: 850;
  line-height: 0.9;
  letter-spacing: 0;
  word-spacing: clamp(0.9rem, 2vw, 2.4rem);
  text-transform: uppercase;
}

@keyframes defenseKeywordFlow {
  from { transform: translateX(0); }
  to { transform: translateX(-25%); }
}

@media (max-width: 900px) {
  .home-values-section {
    grid-template-columns: 1fr;
  }

  .home-values-technology {
    justify-items: start;
  }

  .home-values-technology img {
    width: min(72vw, 320px);
    height: clamp(240px, 62vw, 350px);
  }
}

@media (max-width: 680px) {
  .defense-page-redesign .hand-collection-four .hand-collection-item:nth-child(4) img {
    right: 1%;
    bottom: 7%;
    width: 94%;
    height: 66%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .defense-keyword-track {
    animation-play-state: paused;
  }
}

/* Home: lectura compacta de soluciones y visual de IA apoyado en la base. */
body.home-page .home-solution-row.is-featured {
  grid-template-rows: auto auto 1fr;
  row-gap: 0;
}

body.home-page .home-solution-row.is-featured h3 {
  grid-row: 1;
  align-self: end;
}

body.home-page .home-solution-row.is-featured p {
  grid-row: 2;
  align-self: start;
  margin-top: clamp(12px, 1.4vw, 20px);
}

body.home-page .home-solution-row.is-featured .home-solution-cta {
  grid-row: 3;
  align-self: start;
}

body.home-page .home-values-section {
  overflow: hidden;
}

body.home-page .home-values-technology {
  align-self: end;
}

body.home-page .home-values-technology img {
  transform: translateY(clamp(72px, 8vw, 110px));
}

/* Legal: frase al inicio, cabecera algo más alta y flujo sin duplicados. */
body.defense-page-redesign .solution-hero {
  min-height: clamp(430px, 58vh, 630px);
}

@media (max-width: 1080px) {
  body.home-page .home-values-technology img {
    transform: none;
  }
}

@media (max-width: 760px) {
  body.defense-page-redesign .solution-hero {
    min-height: clamp(400px, 56vh, 520px);
  }
}

/* Consultoría aduanera: perfil con más presencia y bloque de autorizaciones editorial. */
body.consulting-page #enfoque-visual.solution-visual-story.is-reverse {
  min-height: clamp(520px, 58vw, 700px);
  grid-template-columns: minmax(330px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(12px, 2vw, 30px);
  padding-right: 0;
}

body.consulting-page #enfoque-visual .solution-profile-media {
  align-self: stretch;
  height: 100%;
  min-height: clamp(480px, 54vw, 680px);
  justify-content: end;
}

body.consulting-page #enfoque-visual .solution-profile-media img {
  width: 118%;
  height: 112%;
  max-height: none;
  object-position: right center;
  transform: translateX(4%);
}

body.consulting-page #enfoque-visual:hover .solution-profile-media img {
  transform: translateX(2%) scale(1.015);
}

body.consulting-page .consulting-authorization-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(320px, 1.06fr) minmax(320px, 0.94fr);
  gap: clamp(34px, 7vw, 110px);
  padding: clamp(72px, 9vw, 128px) clamp(24px, 7vw, 108px);
  overflow: hidden;
  border-top: 10px solid var(--wine);
  background:
    linear-gradient(90deg, rgba(112, 44, 54, 0.06) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(0deg, rgba(112, 44, 54, 0.06) 1px, transparent 1px) 0 0 / 64px 64px,
    #f4f1ec !important;
}

body.consulting-page .consulting-authorization-section .solution-main-copy::before {
  content: "OEA · EA · REX · DA";
  display: block;
  margin-bottom: clamp(28px, 4vw, 54px);
  color: rgba(112, 44, 54, 0.48);
  font-size: clamp(1.35rem, 2.5vw, 3rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
}

body.consulting-page .consulting-authorization-section .solution-main-copy h2 {
  max-width: 11ch;
  color: var(--wine);
  font-size: clamp(2.8rem, 5.8vw, 6.5rem);
  line-height: 0.9;
}

body.consulting-page .consulting-authorization-section .solution-side-panel {
  align-self: stretch;
  display: grid;
  align-content: center;
  padding: clamp(30px, 4vw, 54px);
  color: var(--ink);
  background: #fff;
  border: 0;
  border-radius: 0;
  box-shadow: 18px 18px 0 rgba(112, 44, 54, 0.16);
}

body.consulting-page .consulting-authorization-section .solution-side-panel h3 {
  color: var(--wine);
}

body.consulting-page .consulting-authorization-section .check-list {
  display: grid;
  gap: 0;
  margin: 16px 0 0;
}

body.consulting-page .consulting-authorization-section .check-list li {
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
}

body.consulting-page .consulting-authorization-section .check-list li:last-child {
  border-bottom: 0;
}

body.consulting-page main > .consulting-keyword-marquee {
  color: #fff !important;
  background: var(--wine) !important;
}

body.consulting-page .solution-short-contact,
body.eir-page .solution-short-contact,
body.process-page .solution-short-contact {
  border-top: 1px solid rgba(112, 44, 54, 0.16);
}

@media (max-width: 900px) {
  body.consulting-page #enfoque-visual.solution-visual-story.is-reverse {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 18px;
    padding-right: clamp(22px, 6vw, 92px);
  }

  body.consulting-page #enfoque-visual .solution-profile-media {
    min-height: 380px;
  }

  body.consulting-page #enfoque-visual .solution-profile-media img {
    width: 100%;
    height: 100%;
    transform: none;
  }

  body.consulting-page .consulting-authorization-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  body.consulting-page #enfoque-visual .solution-profile-media {
    min-height: 300px;
  }

  body.consulting-page .consulting-authorization-section {
    padding-inline: 22px;
  }
}

/* Home: el visual de IA baja hasta el borde sin alterar la altura de la sección. */
body.home-page .home-values-technology {
  position: relative;
  align-self: stretch;
  min-height: 0;
}

body.home-page .home-values-technology img {
  position: absolute;
  left: 50%;
  bottom: calc(-1 * clamp(68px, 8vw, 112px));
  width: min(100%, 240px);
  height: clamp(215px, 21vw, 260px);
  object-position: center bottom;
  transform: translateX(-50%);
}

/* Cabeceras de todas las soluciones específicas con mayor presencia. */
body.defense-page-redesign .solution-hero,
body.consulting-page .solution-hero,
body.eir-page .solution-hero,
body.process-page .solution-hero {
  min-height: clamp(500px, 64vh, 700px) !important;
}

body.solutions-page .services-hero {
  min-height: clamp(500px, 64vh, 700px) !important;
}

/* Defensa: secuencia editorial tras la cabecera. */
body.defense-page-redesign .defense-intro-marquee {
  margin-bottom: clamp(48px, 6vw, 84px);
}

.defense-hammer-break {
  position: relative;
  height: clamp(380px, 46vw, 620px);
  margin: 0 clamp(24px, 6vw, 88px) clamp(54px, 7vw, 96px);
  overflow: hidden;
  background: #231f20;
}

.defense-hammer-break img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.defense-hammer-break blockquote {
  position: absolute;
  z-index: 2;
  top: clamp(30px, 5vw, 72px);
  left: clamp(26px, 5vw, 76px);
  width: min(74%, 900px);
  margin: 0;
  color: #fff;
  font-size: clamp(1.65rem, 3.8vw, 4.6rem);
  font-weight: 850;
  line-height: 1.03;
  text-wrap: balance;
  text-shadow: 0 3px 22px rgba(0, 0, 0, 0.72);
}

/* Consultoría: perfil más contenido y cabecera de autorizaciones compacta. */
body.consulting-page #enfoque-visual .solution-profile-media img {
  width: 96%;
  height: 96%;
  transform: translateX(2%);
}

body.consulting-page #enfoque-visual:hover .solution-profile-media img {
  transform: translateX(1%) scale(1.01);
}

body.consulting-page .consulting-expertise {
  padding-top: clamp(44px, 5vw, 68px);
}

body.consulting-page .consulting-expertise-intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-bottom: clamp(18px, 2.5vw, 30px);
  text-align: center;
}

body.consulting-page .consulting-expertise-intro h2 {
  width: min(100%, 14ch);
  margin: 0;
  padding: 0;
  font-size: clamp(3.2rem, 6.8vw, 7.4rem);
  line-height: 0.9;
  text-align: center;
}

body.consulting-page .consulting-expertise-intro p:not(.eyebrow) {
  max-width: 56ch;
  margin: 0;
  text-align: center;
}

/* Carrusel final: tarjetas rectangulares y bajas en lugar de bolas. */
body.consulting-page .service-carousel,
body.eir-page .service-carousel,
body.process-page .service-carousel {
  min-height: clamp(280px, 32vw, 410px);
  gap: clamp(10px, 1.4vw, 20px);
}

body.consulting-page .service-slide,
body.eir-page .service-slide,
body.process-page .service-slide {
  flex-basis: clamp(118px, 13vw, 176px);
  width: clamp(118px, 13vw, 176px);
  height: clamp(62px, 6.5vw, 84px);
  aspect-ratio: auto;
  border-radius: 0;
}

body.consulting-page .service-slide.is-active,
body.eir-page .service-slide.is-active,
body.process-page .service-slide.is-active {
  flex-basis: clamp(390px, 44vw, 620px);
  width: clamp(390px, 44vw, 620px);
  height: clamp(230px, 26vw, 350px);
  border-radius: 0;
}

body.consulting-page .service-slide.is-active .service-slide-copy .service-orb-link,
body.eir-page .service-slide.is-active .service-slide-copy .service-orb-link,
body.process-page .service-slide.is-active .service-slide-copy .service-orb-link {
  width: 72px;
  height: 36px;
  border-radius: 0;
}

body.consulting-page .service-slide:not(.is-active) .service-slide-copy,
body.eir-page .service-slide:not(.is-active) .service-slide-copy,
body.process-page .service-slide:not(.is-active) .service-slide-copy {
  position: absolute;
  inset: 0;
  width: auto;
  max-width: none;
  place-content: center;
}

@media (max-width: 900px) {
  body.home-page .home-values-technology {
    min-height: 290px;
  }

  body.home-page .home-values-technology img {
    position: static;
    width: min(72vw, 300px);
    height: 290px;
    transform: none;
  }

  body.consulting-page .service-slide.is-active,
  body.eir-page .service-slide.is-active,
  body.process-page .service-slide.is-active {
    flex-basis: min(100%, 620px);
    width: min(100%, 620px);
    height: min(58vw, 350px);
  }
}

@media (max-width: 760px) {
  body.defense-page-redesign .solution-hero,
  body.consulting-page .solution-hero,
  body.eir-page .solution-hero,
  body.process-page .solution-hero {
    min-height: clamp(430px, 60vh, 540px) !important;
  }

  body.solutions-page .services-hero {
    min-height: clamp(430px, 60vh, 540px) !important;
  }

  .defense-hammer-break {
    height: 430px;
    margin-inline: 18px;
  }

  .defense-hammer-break blockquote {
    width: calc(100% - 44px);
    left: 22px;
    font-size: clamp(1.45rem, 7vw, 2.5rem);
  }
}

/* Cierre de cascada: composici&oacute;n final de Home y Soluciones. */
body.home-page .home-values-intro {
  position: relative;
  z-index: 2;
  align-self: start;
}

body.home-page .home-values-technology {
  z-index: 1;
  justify-self: end;
}

body.home-page .home-values-technology img {
  left: auto;
  right: 0;
  width: min(100%, 205px);
  height: clamp(215px, 20vw, 260px);
  transform: none;
}

.defense-hammer-break blockquote {
  width: min(80%, 1040px);
  padding: 0 !important;
  color: rgba(255, 255, 255, 0.78);
  background: transparent !important;
  border: 0 !important;
  font-size: clamp(2.1rem, 4.2vw, 5.2rem);
  font-style: italic;
  font-weight: 900;
  line-height: 1.02;
  text-transform: uppercase;
  text-shadow: 0 3px 24px rgba(0, 0, 0, 0.88);
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

body.defense-page-redesign main > .defense-keyword-marquee {
  background: var(--gray) !important;
}

body.defense-page-redesign .defense-keyword-track {
  animation-duration: 46s;
}

body.defense-page-redesign .defense-hammer-break {
  width: 100%;
  height: clamp(460px, 50vw, 720px);
  margin: 0 0 clamp(54px, 7vw, 96px);
}

.hand-collection-section[aria-label="Confianza y crecimiento"] .hand-collection-item:first-child img {
  right: 0;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 68%;
  object-fit: cover;
  object-position: center bottom;
  transform: none;
}

.hand-collection-section[aria-label="Confianza y crecimiento"] .hand-collection-item:first-child:hover img {
  transform: scale(1.025);
}

body.consulting-page #enfoque-visual.solution-visual-story {
  min-height: clamp(480px, 48vw, 600px);
  grid-template-columns: minmax(390px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 4vw, 58px);
  padding-right: clamp(22px, 6vw, 92px);
}

body.consulting-page #enfoque-visual .solution-profile-media {
  position: relative;
  align-self: stretch;
  min-height: 0;
  height: auto;
  aspect-ratio: auto;
  justify-content: center;
}

body.consulting-page #enfoque-visual .solution-profile-media img {
  position: absolute;
  top: 0;
  left: 50%;
  width: auto;
  height: 100%;
  max-width: none;
  max-height: none;
  object-position: center;
  transform: translateX(-58%);
}

body.consulting-page #enfoque-visual:hover .solution-profile-media img {
  transform: translateX(-58%);
}

.consulting-aircraft-break {
  position: relative;
  width: 100%;
  height: clamp(480px, 56vw, 760px);
  overflow: hidden;
  background: #d8d8d6;
}

.consulting-aircraft-break::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.2), transparent 58%);
  pointer-events: none;
}

.consulting-aircraft-break img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.consulting-aircraft-break blockquote {
  position: absolute;
  z-index: 2;
  top: clamp(48px, 7vw, 100px);
  left: clamp(28px, 7vw, 108px);
  width: min(62%, 820px);
  margin: 0;
  color: var(--wine);
  font-size: clamp(2.8rem, 6vw, 7rem);
  font-weight: 900;
  line-height: 0.9;
  text-transform: uppercase;
  text-wrap: balance;
  text-shadow: 0 2px 18px rgba(255, 255, 255, 0.72);
}

.eir-process-section {
  padding: clamp(58px, 7vw, 96px) clamp(24px, 7vw, 104px) clamp(72px, 8vw, 118px);
  color: #231f20;
  background:
    radial-gradient(circle at 86% 12%, rgba(112, 44, 54, 0.08), transparent 28%),
    #f3f1ed;
}

.eir-process-intro {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(28px, 6vw, 86px);
  align-items: end;
  margin-bottom: clamp(70px, 8vw, 112px);
}

.eir-process-intro h2 {
  grid-column: 2;
  grid-row: 1;
  max-width: 13ch;
  margin: 0;
  color: var(--wine);
  font-size: clamp(2.8rem, 5.4vw, 6rem);
  line-height: 0.92;
  text-align: right;
}

.eir-process-intro p {
  grid-column: 1;
  grid-row: 1;
  max-width: 48ch;
  margin: 0;
  color: rgba(35, 31, 32, 0.72);
  font-size: clamp(1rem, 1.3vw, 1.18rem);
  line-height: 1.6;
}

.eir-process-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 1.5vw, 22px);
  margin: 0;
  padding: 68px 0 0;
  list-style: none;
}

.eir-process-flow::before {
  content: "";
  position: absolute;
  top: 31px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--wine), var(--gray));
}

.eir-process-step {
  position: relative;
  min-height: clamp(230px, 22vw, 310px);
  padding: clamp(26px, 3vw, 40px);
  background: rgba(255, 255, 255, 0.74);
  border-top: 4px solid var(--wine);
}

.eir-process-step:nth-child(even) {
  background: rgba(221, 221, 216, 0.74);
}

.eir-process-number {
  position: absolute;
  top: -71px;
  left: 50%;
  z-index: 2;
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  color: #fff;
  background: var(--wine);
  border-radius: 50%;
  box-shadow: 0 0 0 10px #f3f1ed;
  font-size: 0.82rem;
  font-weight: 900;
  transform: translateX(-50%);
}

.eir-process-step h3 {
  margin: 0 0 20px;
  color: var(--wine);
  font-size: clamp(1.65rem, 2.6vw, 3rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.eir-process-step p {
  margin: 0;
  color: rgba(35, 31, 32, 0.72);
  font-size: clamp(0.94rem, 1.05vw, 1.05rem);
  line-height: 1.55;
}

body.process-page .solution-expertise-section {
  padding-block: clamp(44px, 5vw, 68px);
}

body.process-page .solution-expertise-section .consulting-expertise-intro {
  margin-bottom: clamp(22px, 3vw, 38px);
}

body.process-page .solution-expertise-section .consulting-expertise-item {
  min-height: clamp(104px, 10vw, 136px);
  padding: clamp(12px, 1.5vw, 18px) 0;
}

body.process-page .solution-expertise-section .consulting-expertise-item h3 {
  font-size: clamp(2.7rem, 5.2vw, 5.6rem);
  line-height: 0.84;
}

body.process-page .solution-expertise-section .consulting-expertise-item--long h3 {
  font-size: clamp(2.45rem, 4.5vw, 4.8rem);
}

body.process-page .solution-expertise-section .consulting-expertise-item p {
  font-size: clamp(0.92rem, 1vw, 1rem);
}

body.consulting-page .consulting-expertise {
  padding-block: clamp(40px, 5vw, 68px);
}

body.consulting-page .consulting-expertise-intro {
  margin-bottom: clamp(14px, 2vw, 24px);
}

body.consulting-page .consulting-expertise-intro h2 {
  width: min(100%, 16ch);
  font-size: clamp(2.7rem, 5vw, 5.4rem);
  line-height: 0.94;
}

body.consulting-page .consulting-expertise-list {
  width: min(100%, 1120px);
  margin-inline: auto;
}

body.consulting-page .consulting-expertise-item {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.52fr);
  gap: clamp(22px, 4vw, 54px);
  min-height: clamp(118px, 12vw, 164px);
  padding: clamp(14px, 2vw, 24px) 0;
}

body.consulting-page .consulting-expertise-item h3 {
  font-size: clamp(3.2rem, 8vw, 7.6rem);
  line-height: 0.84;
}

body.consulting-page .consulting-expertise-item--depositos h3 {
  font-size: clamp(2.9rem, 6.6vw, 6.6rem);
}

@media (max-width: 900px) {
  body.home-page .home-values-technology {
    justify-self: start;
  }

  body.home-page .home-values-technology img {
    position: static;
    width: min(62vw, 230px);
    height: 250px;
  }

  body.consulting-page #enfoque-visual.solution-visual-story {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .eir-process-intro {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-bottom: 74px;
  }

  .eir-process-intro h2,
  .eir-process-intro p {
    grid-column: 1;
    grid-row: auto;
    text-align: left;
  }

  .eir-process-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 88px;
  }

  .eir-process-flow::before {
    display: none;
  }

  body.consulting-page .consulting-expertise-item {
    grid-template-columns: 1fr;
    min-height: 0;
  }
}

@media (max-width: 600px) {
  .defense-hammer-break blockquote {
    top: 24px;
    width: calc(100% - 44px);
    padding: 18px 20px;
  }

  body.consulting-page #enfoque-visual .solution-profile-media {
    min-height: 270px;
    height: 270px;
  }

  body.consulting-page #enfoque-visual .solution-profile-media img {
    width: min(82vw, 340px);
    height: 100%;
    max-width: 100%;
    max-height: 320px;
    transform: translateX(-50%);
  }

  body.consulting-page #enfoque-visual:hover .solution-profile-media img {
    transform: translateX(-50%);
  }

  .consulting-aircraft-break {
    height: 500px;
  }

  .consulting-aircraft-break img {
    object-position: 57% center;
  }

  .consulting-aircraft-break blockquote {
    top: 34px;
    left: 22px;
    width: calc(100% - 44px);
    font-size: clamp(2.2rem, 12vw, 3.5rem);
  }

  .eir-process-section {
    padding-inline: 22px;
  }

  .eir-process-intro {
    margin-bottom: 42px;
  }

  .eir-process-flow {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 0 0 0 68px;
  }

  .eir-process-flow::before {
    display: block;
    top: 26px;
    right: auto;
    bottom: 26px;
    left: 29px;
    width: 2px;
    height: auto;
  }

  .eir-process-step {
    min-height: 0;
    padding: 24px;
    border-top: 0;
    border-left: 4px solid var(--wine);
  }

  .eir-process-number {
    top: 22px;
    left: -68px;
    width: 56px;
    height: 56px;
    box-shadow: 0 0 0 7px #f3f1ed;
    transform: none;
  }

  body.process-page .solution-expertise-section .consulting-expertise-item {
    min-height: 104px;
  }

  body.process-page .solution-expertise-section .consulting-expertise-item h3,
  body.process-page .solution-expertise-section .consulting-expertise-item--long h3 {
    font-size: clamp(2rem, 9vw, 2.6rem);
  }
}

/* Ajustes finales: iconos de defensa, proceso EIR y selector de mejora */
body.defense-page-redesign .hand-collection-four .hand-collection-item img,
body.defense-page-redesign .hand-collection-four .hand-collection-item:nth-child(4) img {
  right: auto;
  bottom: 0;
  left: 50%;
  width: 88%;
  height: 66%;
  object-position: center bottom;
  transform: translateX(-50%);
}

body.defense-page-redesign .hand-collection-four .hand-collection-item:hover img,
body.defense-page-redesign .hand-collection-four .hand-collection-item:nth-child(4):hover img {
  transform: translate(-50%, -7px) scale(1.025);
}

.eir-process-section {
  padding-inline: clamp(28px, 6vw, 96px);
}

.eir-process-intro {
  display: flex;
  width: min(100%, 1240px);
  margin: 0 auto clamp(72px, 8vw, 112px);
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(20px, 2.5vw, 32px);
}

.eir-process-intro h2 {
  width: min(100%, 18ch);
  max-width: none;
  margin: 0;
  text-align: left;
  text-wrap: balance;
}

.eir-process-intro p {
  width: min(100%, 82ch);
  max-width: none;
  margin: 0;
  text-align: left;
}

.eir-process-flow {
  width: min(100%, 1240px);
  margin-inline: auto;
}

.eir-process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
}

.eir-process-step h3 {
  width: 100%;
  margin-bottom: 18px;
  font-size: clamp(1.35rem, 1.8vw, 2.15rem);
  line-height: 1;
  text-align: center;
  overflow-wrap: anywhere;
}

.eir-process-step p {
  width: min(100%, 29ch);
  margin-inline: auto;
  text-align: center;
}

.process-interactive-section {
  padding: clamp(84px, 10vw, 150px) clamp(28px, 6vw, 96px);
  background: #f3f1ed;
}

.process-interactive-intro,
.process-interactive-layout {
  width: min(100%, 1240px);
  margin-inline: auto;
}

.process-interactive-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: clamp(36px, 7vw, 110px);
  align-items: end;
  margin-bottom: clamp(48px, 6vw, 82px);
}

.process-interactive-intro h2 {
  max-width: 15ch;
  margin: 0;
  color: var(--wine);
  font-size: clamp(2.8rem, 5.4vw, 6rem);
  line-height: 0.92;
  text-wrap: balance;
}

.process-interactive-intro p {
  max-width: 49ch;
  margin: 0;
  color: #383333;
  font-size: clamp(1rem, 1.35vw, 1.22rem);
  line-height: 1.65;
}

.process-interactive-layout {
  border-top: 1px solid rgba(130, 36, 51, 0.28);
}

.process-interactive-nav {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.process-interactive-step {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 116px;
  padding: 22px clamp(12px, 1.8vw, 25px);
  border: 0;
  border-right: 1px solid rgba(130, 36, 51, 0.18);
  border-bottom: 1px solid rgba(130, 36, 51, 0.28);
  background: transparent;
  color: #4b4445;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: color 220ms ease, background-color 220ms ease, transform 220ms ease;
}

.process-interactive-step:first-child {
  border-left: 1px solid rgba(130, 36, 51, 0.18);
}

.process-interactive-step::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 4px;
  background: var(--wine);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

.process-interactive-step span {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.process-interactive-step strong {
  font-size: clamp(0.9rem, 1.28vw, 1.14rem);
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.process-interactive-step:hover,
.process-interactive-step:focus-visible,
.process-interactive-step.is-active {
  background: #ffffff;
  color: var(--wine);
}

.process-interactive-step:hover {
  transform: translateY(-3px);
}

.process-interactive-step:focus-visible {
  z-index: 1;
  outline: 2px solid var(--wine);
  outline-offset: -2px;
}

.process-interactive-step.is-active::after {
  transform: scaleX(1);
}

.process-interactive-panels {
  min-height: clamp(270px, 29vw, 390px);
  background: var(--wine);
  color: #ffffff;
}

.process-interactive-panel {
  display: grid;
  min-height: inherit;
  padding: clamp(40px, 6vw, 84px);
  grid-template-columns: min-content minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: clamp(24px, 4vw, 62px);
  align-items: center;
  animation: processPanelIn 320ms ease both;
}

.process-interactive-panel[hidden] {
  display: none;
}

.process-interactive-panel > span {
  align-self: start;
  padding-top: 0.55em;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.process-interactive-panel h3 {
  margin: 0;
  font-size: clamp(2.7rem, 5vw, 5.4rem);
  line-height: 0.9;
  overflow-wrap: normal;
}

.process-interactive-panel p {
  max-width: 48ch;
  margin: 0;
  font-size: clamp(1rem, 1.35vw, 1.25rem);
  line-height: 1.65;
}

@keyframes processPanelIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
  body.defense-page-redesign .hand-collection-four .hand-collection-item img,
  body.defense-page-redesign .hand-collection-four .hand-collection-item:nth-child(4) img {
    width: 86%;
    height: 64%;
  }

  .eir-process-intro {
    margin-bottom: 74px;
  }

  .process-interactive-intro {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .process-interactive-intro h2 {
    max-width: 16ch;
  }

  .process-interactive-nav {
    grid-template-columns: repeat(5, minmax(148px, 1fr));
    overflow-x: auto;
    scrollbar-width: thin;
  }

  .process-interactive-panel {
    grid-template-columns: min-content minmax(0, 1fr);
  }

  .process-interactive-panel p {
    grid-column: 2;
  }
}

@media (max-width: 600px) {
  body.defense-page-redesign .hand-collection-four .hand-collection-item img,
  body.defense-page-redesign .hand-collection-four .hand-collection-item:nth-child(4) img {
    bottom: 0;
    width: 82%;
    height: 62%;
  }

  .eir-process-section,
  .process-interactive-section {
    padding-inline: 22px;
  }

  .eir-process-intro {
    margin-bottom: 42px;
  }

  .eir-process-step {
    align-items: flex-start;
    text-align: left;
  }

  .eir-process-step h3,
  .eir-process-step p {
    width: 100%;
    margin-inline: 0;
    text-align: left;
  }

  .process-interactive-nav {
    grid-template-columns: repeat(5, minmax(160px, 1fr));
  }

  .process-interactive-step {
    min-height: 104px;
    padding: 18px 16px;
  }

  .process-interactive-panel {
    min-height: 330px;
    padding: 34px 26px 40px;
    grid-template-columns: 1fr;
    gap: 14px;
    align-content: center;
  }

  .process-interactive-panel > span,
  .process-interactive-panel p {
    grid-column: 1;
  }

  .process-interactive-panel > span {
    padding-top: 0;
  }

  .process-interactive-panel h3 {
    font-size: clamp(2.45rem, 11vw, 3.6rem);
    overflow-wrap: anywhere;
  }
}

@media (prefers-reduced-motion: reduce) {
  .process-interactive-step,
  .process-interactive-step::after,
  .process-interactive-panel {
    animation: none;
    transition: none;
  }
}

/* Refinamiento de Soluciones · agosto 2026 */
body.defense-page-redesign .hand-collection-four .hand-collection-item {
  cursor: pointer;
}

body.defense-page-redesign .hand-collection-four .hand-collection-item::after {
  position: absolute;
  z-index: 5;
  top: 24px;
  right: 24px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  content: "+";
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1;
  opacity: 0.58;
  transition: opacity 220ms ease, transform 220ms ease;
}

body.defense-page-redesign .hand-collection-four .hand-collection-item.is-open::after {
  content: "−";
  opacity: 1;
  transform: rotate(180deg);
}

body.defense-page-redesign .hand-collection-four .hand-collection-item:focus-visible {
  z-index: 2;
  outline: 3px solid var(--wine);
  outline-offset: -3px;
}

.hand-phase-description {
  position: absolute;
  z-index: 4;
  right: clamp(20px, 2.2vw, 32px);
  bottom: clamp(20px, 2.2vw, 32px);
  left: clamp(20px, 2.2vw, 32px);
  margin: 0;
  padding: 18px 20px;
  color: #2f2a2b;
  background: rgba(255, 255, 255, 0.93);
  box-shadow: 0 14px 38px rgba(35, 31, 32, 0.13);
  font-size: clamp(0.88rem, 1vw, 1rem);
  line-height: 1.5;
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px);
  transition: opacity 260ms ease, transform 260ms ease;
}

body.defense-page-redesign .hand-collection-four .hand-collection-item:hover .hand-phase-description,
body.defense-page-redesign .hand-collection-four .hand-collection-item:focus .hand-phase-description,
body.defense-page-redesign .hand-collection-four .hand-collection-item.is-open .hand-phase-description {
  opacity: 1;
  transform: translateY(0);
}

body.defense-page-redesign .hand-collection-four .hand-collection-item:hover::after,
body.defense-page-redesign .hand-collection-four .hand-collection-item:focus::after {
  opacity: 1;
}

.eir-process-section {
  position: relative;
  overflow: hidden;
  padding-top: clamp(42px, 5vw, 68px);
  background: #f5f2ed;
}

.eir-process-watermark {
  position: absolute;
  z-index: 0;
  top: clamp(24px, 3.6vw, 54px);
  right: clamp(24px, 5vw, 82px);
  width: clamp(132px, 16vw, 238px);
  height: auto;
  opacity: 0.1;
  pointer-events: none;
}

.eir-process-intro,
.eir-process-flow {
  position: relative;
  z-index: 1;
}

.eir-process-intro {
  margin-bottom: clamp(44px, 5vw, 68px);
}

.eir-process-intro h2 {
  width: min(100%, 15ch);
}

.eir-process-intro p {
  width: min(100%, 72ch);
}

.eir-process-flow {
  padding-top: 60px;
}

.eir-process-step,
.eir-process-step:nth-child(even) {
  min-height: clamp(220px, 19vw, 280px);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: inset 0 0 0 1px rgba(130, 36, 51, 0.1);
}

.eir-process-step:nth-child(even) {
  background: rgba(130, 36, 51, 0.045);
}

.eir-process-flow::before {
  background: rgba(130, 36, 51, 0.5);
}

.process-interactive-layout {
  border-top-color: rgba(130, 36, 51, 0.18);
}

.process-interactive-step {
  background: rgba(255, 255, 255, 0.42);
  border-color: rgba(130, 36, 51, 0.14);
}

.process-interactive-step:hover,
.process-interactive-step:focus-visible,
.process-interactive-step.is-active {
  background: rgba(255, 255, 255, 0.96);
}

.process-interactive-step.is-active {
  box-shadow: inset 0 0 0 1px rgba(130, 36, 51, 0.18);
}

.process-interactive-panels {
  position: relative;
  overflow: hidden;
  color: #2e292a;
  background:
    linear-gradient(120deg, rgba(130, 36, 51, 0.055), transparent 48%),
    #fff;
  border: 1px solid rgba(130, 36, 51, 0.16);
  border-top: 0;
}

.process-interactive-panels::before {
  position: absolute;
  top: -115px;
  right: -78px;
  width: 330px;
  height: 330px;
  border: 58px solid rgba(130, 36, 51, 0.055);
  border-radius: 50%;
  content: "";
}

.process-interactive-panels::after {
  position: absolute;
  right: 14%;
  bottom: -40px;
  width: 1px;
  height: 230px;
  background: rgba(130, 36, 51, 0.12);
  content: "";
  transform: rotate(34deg);
  transform-origin: bottom;
}

.process-interactive-panel {
  position: relative;
  z-index: 1;
}

.process-interactive-panel > span {
  display: grid;
  width: 52px;
  height: 52px;
  padding: 0;
  place-items: center;
  color: var(--wine);
  border: 1px solid rgba(130, 36, 51, 0.34);
  border-radius: 50%;
}

.process-interactive-panel h3 {
  color: var(--wine);
}

.process-interactive-panel p {
  color: rgba(35, 31, 32, 0.78);
}

@media (max-width: 600px) {
  body.defense-page-redesign .hand-collection-four .hand-collection-item::after {
    top: 20px;
    right: 20px;
  }

  .hand-phase-description {
    font-size: 0.94rem;
  }

  .eir-process-watermark {
    top: 28px;
    right: 14px;
    width: 118px;
    opacity: 0.075;
  }

  .eir-process-flow {
    padding-top: 0;
  }

  .eir-process-step,
  .eir-process-step:nth-child(even) {
    min-height: 0;
    background: rgba(255, 255, 255, 0.86);
  }

  .eir-process-step:nth-child(even) {
    background: rgba(130, 36, 51, 0.045);
  }

  .process-interactive-panels::before {
    top: -100px;
    right: -140px;
  }

  .process-interactive-panel > span {
    width: 44px;
    height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hand-phase-description,
  body.defense-page-redesign .hand-collection-four .hand-collection-item::after {
    transition: none;
  }
}

/* Ajustes de marca, separación y contraste · agosto 2026 */
body.defense-page-redesign .hand-collection-four .hand-collection-item:nth-child(4) img {
  bottom: 6%;
}

.eir-process-watermark {
  display: block;
  aspect-ratio: 1;
  height: auto;
  background: var(--wine);
  -webkit-mask: url("assets/guiex-icon-mask.png?v=d0e508fc83") center / contain no-repeat;
  mask: url("assets/guiex-icon-mask.png?v=d0e508fc83") center / contain no-repeat;
}

.eir-process-number {
  top: -64px;
}

.process-interactive-panels::before,
.process-interactive-panels::after {
  display: none;
}

.process-interactive-panel {
  grid-template-columns: min-content minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: clamp(28px, 4vw, 58px);
  row-gap: clamp(20px, 2.2vw, 30px);
  align-content: center;
  align-items: start;
}

.process-interactive-panel::after {
  position: absolute;
  z-index: 0;
  width: clamp(180px, 22vw, 300px);
  aspect-ratio: 1;
  background: var(--wine);
  content: "";
  opacity: 0.055;
  pointer-events: none;
  -webkit-mask: url("assets/guiex-icon-mask.png?v=d0e508fc83") center / contain no-repeat;
  mask: url("assets/guiex-icon-mask.png?v=d0e508fc83") center / contain no-repeat;
}

.process-interactive-panel:nth-child(1)::after {
  top: -18%;
  right: 4%;
}

.process-interactive-panel:nth-child(2)::after {
  bottom: -24%;
  left: 7%;
}

.process-interactive-panel:nth-child(3)::after {
  top: -26%;
  left: 42%;
}

.process-interactive-panel:nth-child(4)::after {
  right: 3%;
  bottom: -22%;
}

.process-interactive-panel:nth-child(5)::after {
  top: 4%;
  left: 52%;
}

.process-interactive-panel > span,
.process-interactive-panel h3,
.process-interactive-panel p {
  position: relative;
  z-index: 1;
}

.process-interactive-panel > span {
  grid-row: 1 / span 2;
}

.process-interactive-panel h3,
.process-interactive-panel p {
  grid-column: 2;
}

.process-interactive-panel p {
  width: min(100%, 66ch);
  max-width: 66ch;
}

.service-carousel-section .carousel-controls {
  display: none;
}

/* Texto secundario legible sobre superficies claras. */
.solution-visual-copy > p:not(.eyebrow),
.hand-feature-copy > p:not(.eyebrow),
.defense-redesign-intro > p,
.defense-method-heading > p,
.defense-method-card > p,
.consulting-expertise-intro > p:not(.eyebrow),
.consulting-expertise-item > p,
.eir-process-intro > p,
.eir-process-step > p,
.process-interactive-intro > p,
.process-interactive-panel > p,
.solution-short-contact p,
.footer-brand p,
.footer-block a,
.footer-block p {
  color: #4a4445;
  opacity: 1;
}

/* Texto sobre fondos oscuros o fotográficos. */
.is-wine .hand-collection-copy,
.service-slide.is-active .service-slide-copy p,
.footer-cta > div > p,
.footer-cta > div > h2,
.site-header.is-scrolled a,
.site-header.is-scrolled button {
  color: rgba(255, 255, 255, 0.94);
}

@media (max-width: 600px) {
  body.defense-page-redesign .hand-collection-four .hand-collection-item:nth-child(4) img {
    bottom: 4%;
  }

  .process-interactive-panel {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    row-gap: 16px;
  }

  .process-interactive-panel > span {
    grid-row: auto;
  }

  .process-interactive-panel h3,
  .process-interactive-panel p {
    grid-column: 1;
  }

  .process-interactive-panel::after {
    width: 190px;
  }

  .eir-process-number {
    top: 22px;
  }

  .process-interactive-panel h3 {
    font-size: clamp(2.25rem, 9.2vw, 3.2rem);
  }

  .process-interactive-nav {
    overflow-x: auto;
    overflow-y: hidden;
  }
}

/* Adaptación móvil integral · agosto 2026 */
@media (max-width: 600px) {
  :root {
    --mobile-gutter: 22px;
  }

  html,
  body {
    min-width: 0;
    max-width: 100%;
    overflow-x: clip;
  }

  .site-header {
    min-height: 68px;
    padding: 10px 18px;
  }

  .site-header .brand-logo {
    width: min(136px, 40vw);
    height: auto;
  }

  .menu-button {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
  }

  .site-nav {
    max-height: calc(100dvh - 68px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-bottom: 18px;
  }

  .site-nav > a,
  .site-nav .nav-dropdown-trigger,
  .site-nav .dropdown-menu a,
  .site-nav .language-switcher a {
    min-height: 46px;
  }

  .home-hero {
    min-height: min(100svh, 780px);
  }

  .home-hero-content {
    inset: auto;
    width: 100%;
    max-width: 100%;
    padding: 120px var(--mobile-gutter) 82px;
  }

  .home-hero-content h1 {
    width: 100%;
    max-width: 100%;
    margin: 0;
    font-size: clamp(1.75rem, 9vw, 2.4rem);
    line-height: 0.92;
    letter-spacing: -0.025em;
    overflow-wrap: break-word;
    text-wrap: balance;
  }

  .home-hero-content .hero-muted {
    display: block;
    width: 100%;
    max-width: 100%;
  }

  .hero-actions {
    width: 100%;
    margin-top: 26px;
  }

  .hero-link-button {
    width: 100%;
    min-height: 50px;
    padding: 15px 18px;
    justify-content: center;
    font-size: 0.8rem;
    line-height: 1.2;
    text-align: center;
  }

  .page-hero,
  .media-hero,
  body.solutions-page .services-hero,
  body.defense-page-redesign .solution-hero,
  body.consulting-page .solution-hero,
  body.eir-page .solution-hero,
  body.process-page .solution-hero {
    min-height: clamp(430px, 60svh, 520px) !important;
    padding: 118px var(--mobile-gutter) 42px;
  }

  .page-hero-content,
  .contact-barcelona-content {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .page-hero-content h1,
  .contact-barcelona-content h1 {
    max-width: 100%;
    font-size: clamp(2.45rem, 11.5vw, 3.15rem);
    line-height: 0.92;
    letter-spacing: -0.02em;
    overflow-wrap: break-word;
    text-wrap: balance;
  }

  .section,
  .solution-page-section,
  .solution-index-intro,
  .hand-feature-section,
  .solution-visual-story,
  .eir-process-section,
  .process-interactive-section,
  .knowledge-tree-section,
  .contact-section,
  .blog-section {
    padding-inline: var(--mobile-gutter);
  }

  .section-copy,
  .solution-main-copy,
  .solution-side-panel,
  .hand-feature-copy,
  .solution-visual-copy,
  .eir-process-intro,
  .process-interactive-intro,
  .knowledge-tree-header,
  .contact-copy,
  .contact-form {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .section-copy h2,
  .hand-feature-copy h2,
  .solution-visual-copy h2,
  .solution-main-copy h2,
  .eir-process-intro h2,
  .process-interactive-intro h2,
  .knowledge-tree-header h2,
  .blog-intro h2,
  .contact-copy h2 {
    width: 100%;
    max-width: 100%;
    font-size: clamp(2.25rem, 10.4vw, 2.85rem);
    line-height: 0.94;
    letter-spacing: -0.015em;
    overflow-wrap: break-word;
    text-wrap: balance;
  }

  .about-text-only {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
    padding-top: 54px;
    padding-bottom: 60px;
  }

  .about-text-only .value-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .about-text-only .value-row span {
    min-height: 46px;
    padding: 12px 16px;
    text-align: center;
  }

  .about-text-only .about-key-data {
    margin-top: 14px;
  }

  .hand-feature-section,
  .hand-feature-section.is-reverse,
  .solution-visual-story,
  .solution-visual-story.is-reverse {
    gap: 26px;
    padding-top: 52px;
    padding-bottom: 52px;
  }

  .hand-feature-media,
  .solution-profile-media {
    width: 100%;
    max-width: 100%;
    height: clamp(300px, 86vw, 360px);
    min-height: 0;
  }

  .hand-collection-two,
  .hand-collection-four {
    grid-template-columns: minmax(0, 1fr);
  }

  .hand-collection-item,
  .hand-collection-two .hand-collection-item {
    min-height: 390px;
    padding: 28px var(--mobile-gutter);
  }

  .hand-collection-copy {
    width: 100%;
    max-width: 100%;
  }

  .hand-collection-copy h2,
  .hand-collection-four .hand-collection-copy h2 {
    width: 100%;
    max-width: 100%;
    font-size: clamp(1.9rem, 8.7vw, 2.35rem);
    line-height: 0.96;
    overflow-wrap: break-word;
  }

  .hand-collection-item img,
  .hand-collection-two .hand-collection-item img,
  body.defense-page-redesign .hand-collection-four .hand-collection-item img,
  body.defense-page-redesign .hand-collection-four .hand-collection-item:nth-child(4) img {
    right: 0;
    bottom: 0;
    width: 88%;
    height: 66%;
    object-position: center bottom;
  }

  .hand-phase-description {
    right: 18px;
    bottom: 18px;
    left: 18px;
    padding: 16px 17px;
  }

  .solution-index-intro {
    padding-top: 54px;
    padding-bottom: 62px;
  }

  .solution-index-intro .solution-tile {
    width: 100%;
    min-width: 0;
    min-height: 420px;
  }

  .blog-intro-layout,
  .blog-intro,
  .featured-post,
  .blog-grid {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .featured-post {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    padding: 24px;
  }

  .featured-post > * {
    width: auto;
    max-width: 100%;
    min-width: 0;
  }

  .featured-post h2 {
    max-width: 100%;
    font-size: clamp(1.75rem, 8.2vw, 2.15rem);
    line-height: 0.96;
    overflow-wrap: anywhere;
  }

  .featured-post .button {
    width: 100%;
    min-width: 0;
    padding-inline: 12px;
    font-size: 0.76rem;
    text-align: center;
  }

  .blog-card {
    min-width: 0;
    padding: 24px;
  }

  .defense-hammer-break {
    width: 100%;
    height: 420px;
    margin-inline: 0;
  }

  .defense-hammer-break blockquote {
    top: 22px;
    left: var(--mobile-gutter);
    width: calc(100% - (var(--mobile-gutter) + var(--mobile-gutter)));
    padding: 0;
    font-size: clamp(1.55rem, 7.4vw, 2.15rem);
  }

  body.consulting-page .consulting-authorization-section {
    gap: 34px;
    padding: 52px var(--mobile-gutter) 60px;
    border-top-width: 7px;
  }

  body.consulting-page .consulting-authorization-section .solution-main-copy h2 {
    max-width: 100%;
    font-size: clamp(2.35rem, 10.8vw, 3rem);
    line-height: 0.94;
  }

  body.consulting-page .consulting-authorization-section .solution-side-panel {
    width: 100%;
    padding: 26px 24px;
    box-shadow: 8px 8px 0 rgba(97, 97, 96, 0.2);
  }

  .consulting-aircraft-break blockquote {
    font-size: clamp(2rem, 10.5vw, 2.8rem);
  }

  .eir-process-intro,
  .process-interactive-intro {
    gap: 18px;
    margin-bottom: 38px;
  }

  .eir-process-flow {
    padding-left: 58px;
  }

  .eir-process-flow::before {
    left: 25px;
  }

  .eir-process-number {
    left: -58px;
    width: 54px;
    height: 54px;
    box-shadow: 0 0 0 7px #f3f1ed;
  }

  .eir-process-step {
    padding: 26px 22px;
  }

  .process-interactive-layout {
    width: 100%;
  }

  .process-interactive-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible;
    scrollbar-width: none;
  }

  .process-interactive-step {
    width: auto;
    min-width: 0;
    min-height: 86px;
    padding: 14px 13px;
    gap: 10px;
  }

  .process-interactive-step:nth-child(5) {
    grid-column: 1 / -1;
  }

  .process-interactive-step strong {
    font-size: clamp(0.78rem, 3.7vw, 0.92rem);
    overflow-wrap: break-word;
  }

  .process-interactive-panels {
    min-height: 0;
  }

  .process-interactive-panel {
    min-height: 0;
    padding: 30px 22px 34px;
    align-content: start;
  }

  .process-interactive-panel h3 {
    max-width: 100%;
    font-size: clamp(2.15rem, 9.4vw, 2.8rem);
    line-height: 0.94;
  }

  .knowledge-tree-header h2 {
    font-size: clamp(2.25rem, 10.5vw, 2.65rem);
  }

  .knowledge-tree-panel .tree-zone {
    min-height: 54px;
    padding: 13px 0;
  }

  .solar-consulting span {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    font-size: 0.68em;
  }

  .service-carousel-section {
    padding-inline: var(--mobile-gutter);
  }

  body.consulting-page .service-slide.is-active,
  body.eir-page .service-slide.is-active,
  body.process-page .service-slide.is-active {
    flex-basis: 100%;
    width: 100%;
    height: 310px;
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea,
  .contact-form button {
    width: 100%;
    min-height: 50px;
    font-size: 1rem;
  }

  .contact-form textarea {
    min-height: 138px;
  }

  .footer-cta {
    min-height: 0;
    padding: 34px var(--mobile-gutter);
  }

  .footer-cta h2 {
    font-size: clamp(1.9rem, 8.8vw, 2.5rem);
    line-height: 0.96;
  }

  .site-footer {
    padding-inline: var(--mobile-gutter);
  }
}

@media (max-width: 380px) {
  :root {
    --mobile-gutter: 18px;
  }

  .page-hero-content h1,
  .contact-barcelona-content h1 {
    font-size: clamp(2.25rem, 10.9vw, 2.65rem);
  }

  .process-interactive-step {
    padding-inline: 11px;
  }

  .objective-outline-item h3,
  .objective-outline-item:nth-child(even) h3 {
    min-width: 0;
    max-width: 100%;
    font-size: 2rem;
    overflow-wrap: break-word;
  }
}

/* EIR: contenido fiel al procedimiento y bloque de requisitos y beneficios. */
body.eir-page .hand-feature-copy h2 {
  max-width: 13ch;
  font-size: clamp(2.8rem, 5.3vw, 5.8rem);
}

body.eir-page .solution-visual-copy h2 {
  max-width: 14ch;
}

body.eir-page .eir-process-step h3 {
  min-height: 2em;
  font-size: clamp(1.2rem, 1.55vw, 1.8rem);
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.eir-value-section {
  padding: clamp(76px, 9vw, 138px) clamp(28px, 7vw, 108px);
  color: #231f20;
  background:
    radial-gradient(circle at 90% 7%, rgba(130, 36, 51, 0.07), transparent 24%),
    #fff;
}

.eir-value-heading,
.eir-value-grid,
.eir-scope-note {
  width: min(100%, 1240px);
  margin-inline: auto;
}

.eir-value-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  gap: clamp(30px, 6vw, 88px);
  align-items: end;
  margin-bottom: clamp(46px, 6vw, 82px);
}

.eir-value-heading h2 {
  max-width: 11ch;
  margin: 0;
  color: var(--wine);
  font-size: clamp(3rem, 6vw, 6.7rem);
  line-height: 0.9;
  text-wrap: balance;
}

.eir-value-heading p {
  max-width: 52ch;
  margin: 0;
  color: #393435;
  font-size: clamp(1rem, 1.25vw, 1.18rem);
  line-height: 1.65;
}

.eir-value-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(22px, 3vw, 42px);
  align-items: stretch;
}

.eir-requirements {
  padding: clamp(34px, 4vw, 56px);
  color: #fff;
  background:
    radial-gradient(circle at 92% 6%, rgba(255, 255, 255, 0.14), transparent 25%),
    #616160;
}

.eir-requirements h3 {
  max-width: 12ch;
  margin: 0 0 clamp(30px, 4vw, 48px);
  color: #fff;
  font-size: clamp(2rem, 3.5vw, 3.8rem);
  line-height: 0.94;
  text-wrap: balance;
}

.eir-requirements ul {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.eir-requirements li {
  display: grid;
  gap: 8px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.eir-requirements li:last-child {
  padding-bottom: 0;
}

.eir-requirements strong {
  color: #fff;
  font-size: 1rem;
  line-height: 1.35;
}

.eir-requirements span {
  color: rgba(255, 255, 255, 0.77);
  font-size: 0.93rem;
  line-height: 1.55;
}

.eir-benefits {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 1.7vw, 24px);
  isolation: isolate;
}

.eir-benefits::before {
  display: none;
}

.eir-benefit-card {
  position: relative;
  z-index: 1;
  min-height: 255px;
  padding: clamp(28px, 3.2vw, 44px);
  overflow: hidden;
  border: 1px solid rgba(35, 31, 32, 0.12);
  background: rgba(243, 241, 237, 0.84);
}

.eir-benefit-card > span {
  display: block;
  margin-bottom: clamp(28px, 4vw, 52px);
  color: var(--wine);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.eir-benefit-card h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 16px;
  color: var(--wine);
  font-size: clamp(1.45rem, 2.2vw, 2.45rem);
  line-height: 0.98;
  text-wrap: balance;
}

.eir-benefit-card p {
  position: relative;
  z-index: 1;
  max-width: 34ch;
  margin: 0;
  color: #393435;
  font-size: 0.96rem;
  line-height: 1.55;
}

.eir-benefit-card:nth-child(1) {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 34px), calc(100% - 34px) 100%, 0 100%);
}

.eir-benefit-card:nth-child(2) {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 34px 100%, 0 calc(100% - 34px));
}

.eir-benefit-card:nth-child(3) {
  clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 34px, 100% 100%, 0 100%);
}

.eir-benefit-card:nth-child(4) {
  clip-path: polygon(34px 0, 100% 0, 100% 100%, 0 100%, 0 34px);
}

.eir-benefits-isotype {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: clamp(54px, 5vw, 76px);
  aspect-ratio: 1;
  background: var(--wine);
  pointer-events: none;
  transform: translate(-50%, -50%);
  -webkit-mask: url("assets/guiex-icon-mask.png?v=d0e508fc83") center / contain no-repeat;
  mask: url("assets/guiex-icon-mask.png?v=d0e508fc83") center / contain no-repeat;
}

.eir-scope-note {
  margin-top: clamp(30px, 4vw, 48px);
  padding: 22px 0;
  border-top: 1px solid rgba(130, 36, 51, 0.24);
  border-bottom: 1px solid rgba(130, 36, 51, 0.24);
  color: #393435;
  font-size: 0.96rem;
  line-height: 1.6;
}

.eir-scope-note strong {
  color: var(--wine);
}

@media (max-width: 900px) {
  .eir-value-heading,
  .eir-value-grid {
    grid-template-columns: 1fr;
  }

  .eir-value-heading h2,
  .eir-value-heading p {
    max-width: 100%;
  }

  .eir-value-grid {
    gap: 22px;
  }

  body.eir-page .eir-process-step h3 {
    min-height: 0;
  }
}

@media (max-width: 600px) {
  body.eir-page .hand-feature-copy h2,
  body.eir-page .solution-visual-copy h2 {
    max-width: 100%;
    font-size: clamp(2.25rem, 10.6vw, 3rem);
  }

  body.eir-page .solution-visual-keys span {
    overflow-wrap: anywhere;
  }

  .eir-value-section {
    padding: 62px var(--mobile-gutter) 72px;
  }

  .eir-value-heading {
    gap: 22px;
    margin-bottom: 38px;
  }

  .eir-value-heading h2 {
    font-size: clamp(2.55rem, 12vw, 3.45rem);
  }

  .eir-requirements {
    padding: 30px 24px;
  }

  .eir-requirements h3 {
    max-width: 100%;
    font-size: clamp(2rem, 9.4vw, 2.55rem);
  }

  .eir-benefits {
    grid-template-columns: 1fr;
  }

  .eir-benefit-card {
    min-height: 0;
    padding: 28px 24px 32px;
  }

  .eir-benefit-card > span {
    margin-bottom: 24px;
  }

  .eir-benefit-card h3 {
    font-size: clamp(1.65rem, 8vw, 2.15rem);
  }
}

/* Ajustes de lectura e interacción en móvil · agosto 2026 */
@media (max-width: 600px) {
  .site-header.is-open .site-nav {
    display: grid;
    gap: 5px;
  }

  .site-nav > a,
  .site-nav .nav-dropdown-trigger,
  .site-nav .language-switcher a {
    display: flex;
    width: 100%;
    color: #fff !important;
    font-size: 0.84rem;
    line-height: 1.2;
  }

  .site-nav .nav-dropdown .dropdown-menu {
    display: none !important;
    margin: 2px 0 7px;
    padding: 6px;
  }

  .site-nav .nav-dropdown.is-open .dropdown-menu {
    display: grid !important;
  }

  .site-nav .dropdown-menu a {
    display: flex;
    width: 100%;
    min-height: 42px;
    color: #fff !important;
  }

  .site-nav .language-switcher {
    width: 100%;
  }

  .site-nav .language-switcher a {
    width: auto;
  }

  .menu-button {
    grid-auto-rows: 2px;
    align-content: center;
    gap: 5px;
  }

  .menu-button span + span {
    margin-top: 0;
  }

  body.home-page .home-focus-section {
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
  }

  body.home-page .guiex-texture-mark {
    width: 86px;
    height: 86px;
    margin: 0;
    align-self: start;
  }

  body.home-page .guiex-texture-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  body.home-page .home-focus-copy h2 {
    font-size: clamp(1.9rem, 8.2vw, 2.5rem) !important;
    line-height: 0.94 !important;
  }

  .home-focus-contact-arrow {
    font-family: Arial, sans-serif;
    font-size: 1.12rem;
    line-height: 1;
  }

  body.home-page .to-be-video-section {
    display: flex;
    flex-direction: column;
  }

  body.home-page .to-be-video-section .to-be-copy {
    order: -1;
    margin-bottom: 24px;
  }

  body.home-page .corridor-break blockquote {
    width: min(60%, 240px);
    font-size: clamp(1.45rem, 7vw, 2.15rem);
    line-height: 0.94;
  }

  body.home-page .home-solutions-list {
    display: block;
    overflow: visible;
    border: 0;
    background: transparent;
  }

  body.home-page .home-solution-option {
    display: none !important;
  }

  body.home-page .home-solution-row.is-featured {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto minmax(230px, auto) auto;
    min-height: 0;
    gap: 16px;
    padding: 28px 22px;
  }

  body.home-page .home-solution-row.is-featured .home-solution-number {
    position: static;
    grid-column: 1;
    grid-row: 1;
  }

  body.home-page .home-solution-row.is-featured h3 {
    grid-column: 1;
    grid-row: 2;
    max-width: 100%;
    font-size: clamp(2.75rem, 14vw, 4.25rem);
  }

  body.home-page .home-solution-row.is-featured p {
    grid-column: 1;
    grid-row: 3;
    max-width: 100%;
  }

  body.home-page .home-solution-feature-visual {
    position: relative;
    inset: auto;
    grid-column: 1;
    grid-row: 4;
    width: 100%;
    height: 250px;
  }

  body.home-page .home-solution-feature-visual::before {
    inset: 8% 12%;
  }

  body.home-page .home-solution-row.is-featured .home-solution-cta {
    grid-column: 1;
    grid-row: 5;
    width: 100%;
    margin: 0;
  }

  body.home-page .home-solution-row.is-featured .home-solution-arrow {
    position: relative;
    top: auto;
    right: auto;
    z-index: 4;
    grid-column: 1;
    grid-row: 4;
    align-self: center;
    width: 42px;
    height: 42px;
    color: var(--wine);
    background: rgba(255, 255, 255, 0.9);
  }

  body.home-page .home-solution-row.is-featured .home-solution-arrow--prev {
    justify-self: start;
  }

  body.home-page .home-solution-row.is-featured .home-solution-arrow:not(.home-solution-arrow--prev) {
    justify-self: end;
  }

  body.home-page .home-values-section {
    grid-template-columns: minmax(0, 1fr) minmax(88px, 0.42fr);
    gap: 18px;
  }

  body.home-page .home-values-intro {
    grid-column: 1;
    grid-row: 1;
  }

  body.home-page .home-values-technology {
    grid-column: 2;
    grid-row: 1;
    min-height: 0;
    align-self: start;
  }

  body.home-page .home-values-technology img {
    width: 100%;
    height: 132px;
    object-fit: contain;
  }

  body.home-page .home-values-list {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  body.home-page .home-values-list article {
    padding: 18px 0;
  }

  body.home-page .home-values-list h3 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin: 0;
    font-size: 1.15rem;
    cursor: pointer;
  }

  body.home-page .home-values-list h3::after {
    content: "+";
    color: var(--wine);
    font-size: 1.4rem;
    font-weight: 500;
  }

  body.home-page .home-values-list article.is-open h3::after {
    content: "−";
  }

  body.home-page .home-values-list p {
    display: none;
    padding-top: 13px;
  }

  body.home-page .home-values-list article.is-open p {
    display: block;
  }

  .about-walking-visual {
    position: relative;
    min-height: 355px;
    overflow: hidden;
  }

  .about-walking-visual > img {
    width: 100%;
    height: 355px;
    object-fit: cover;
  }

  .about-text-only .about-key-data {
    position: absolute;
    right: 12px;
    bottom: 12px;
    left: 12px;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin: 0;
  }

  .about-text-only .about-key-data article {
    min-width: 0;
    padding: 10px 7px;
    color: #fff;
    background: rgba(45, 28, 31, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: none;
  }

  .about-text-only .about-key-data strong {
    font-size: 1.5rem;
  }

  .about-text-only .about-key-data span {
    min-height: 0;
    padding: 0;
    color: rgba(255, 255, 255, 0.86);
    background: transparent;
    font-size: 0.58rem;
    line-height: 1.25;
    text-align: left;
  }

  .hand-collection-section[aria-label="Confianza y crecimiento"] .hand-collection-item {
    min-height: 335px;
  }

  .hand-collection-section[aria-label="Confianza y crecimiento"] .hand-collection-item:first-child img {
    right: 0;
    bottom: 0;
    width: 100%;
    height: 60%;
    object-fit: cover;
    object-position: center;
  }

  .hand-collection-section[aria-label="Confianza y crecimiento"] .hand-collection-item:nth-child(2) img {
    right: auto;
    bottom: 0;
    left: -6%;
    width: 82%;
    object-position: left bottom;
  }

  .about-objectives .section-heading {
    width: 100%;
    margin-left: 0;
    text-align: left;
  }

  .objective-outline-item,
  .objective-outline-item:nth-child(even) {
    min-height: 0;
    padding: 18px 0;
    border-bottom: 1px solid rgba(35, 31, 32, 0.28);
  }

  .objective-outline-item h3,
  .objective-outline-item:nth-child(even) h3 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0;
    color: transparent !important;
    font-size: clamp(1.45rem, 7.1vw, 2.05rem);
    line-height: 1;
    text-align: left;
    -webkit-text-stroke: 1px var(--wine);
    cursor: pointer;
  }

  .objective-outline-item h3::before,
  .objective-outline-item h3::after {
    flex: 1 1 auto !important;
    height: 1px;
    background: rgba(35, 31, 32, 0.44);
  }

  .objective-outline-item h3::after {
    content: "+";
    flex: 0 0 auto !important;
    width: 24px;
    height: auto;
    color: var(--wine);
    font-size: 1.35rem;
    -webkit-text-stroke: 0;
  }

  .objective-outline-item.is-open h3 {
    color: var(--wine) !important;
    -webkit-text-stroke: 0;
  }

  .objective-outline-item.is-open h3::after {
    content: "−";
  }

  .objective-outline-item > p,
  .objective-outline-item:nth-child(even) > p {
    position: static;
    display: none;
    width: auto;
    max-width: 42ch;
    margin: 12px 0 0;
    padding: 0;
    color: #4a4445;
    font-size: 0.96rem;
    line-height: 1.5;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .objective-outline-item.is-open > p {
    display: block;
  }

  body.defense-page-redesign #enfoque-visual.solution-visual-story {
    grid-template-columns: minmax(105px, 0.56fr) minmax(0, 1.44fr);
    align-items: start;
  }

  body.defense-page-redesign #enfoque-visual .solution-profile-media {
    grid-column: 1;
    grid-row: 1;
    height: 178px;
  }

  body.defense-page-redesign #enfoque-visual .solution-visual-copy {
    grid-column: 2;
    grid-row: 1;
  }

  body.defense-page-redesign #enfoque-visual .solution-visual-copy h2 {
    font-size: clamp(1.85rem, 8.6vw, 2.5rem);
  }

  body.defense-page-redesign #enfoque-visual .solution-visual-keys,
  body.consulting-page #enfoque-visual .solution-visual-keys {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.defense-page-redesign .hand-collection-four .hand-collection-item:nth-child(4) img {
    bottom: 10%;
    height: 72%;
  }

  body.consulting-page #enfoque-visual.solution-visual-story {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(108px, 0.62fr);
    gap: 16px;
    padding-right: var(--mobile-gutter);
  }

  body.consulting-page #enfoque-visual .solution-visual-copy {
    display: contents;
  }

  body.consulting-page #enfoque-visual .solution-visual-copy h2 {
    grid-column: 1 / -1;
    grid-row: 1;
    max-width: 100%;
  }

  body.consulting-page #enfoque-visual .solution-visual-copy > p {
    grid-column: 1;
    grid-row: 2;
    margin: 0;
  }

  body.consulting-page #enfoque-visual .solution-profile-media {
    grid-column: 2;
    grid-row: 2;
    width: 100%;
    min-height: 190px;
    height: 190px;
  }

  body.consulting-page #enfoque-visual .solution-visual-keys {
    grid-column: 1 / -1;
    grid-row: 3;
  }

  body.eir-page #enfoque-visual.solution-visual-story,
  body.process-page #enfoque-visual.solution-visual-story {
    grid-template-columns: minmax(108px, 0.62fr) minmax(0, 1.38fr);
    align-items: start;
  }

  body.eir-page #enfoque-visual .solution-profile-media,
  body.process-page #enfoque-visual .solution-profile-media {
    grid-column: 1;
    grid-row: 1;
    height: 190px;
  }

  body.eir-page #enfoque-visual .solution-visual-copy,
  body.process-page #enfoque-visual .solution-visual-copy {
    grid-column: 2;
    grid-row: 1;
  }

  body.eir-page #enfoque-visual .solution-visual-copy h2,
  body.process-page #enfoque-visual .solution-visual-copy h2 {
    font-size: clamp(1.8rem, 8.4vw, 2.45rem);
  }

  body.eir-page .eir-process-flow::before {
    display: none;
  }

  body.eir-page .eir-process-step:not(:last-child)::after {
    position: absolute;
    z-index: 0;
    top: 50px;
    bottom: -18px;
    left: -43px;
    width: 2px;
    background: rgba(130, 36, 51, 0.5);
    content: "";
  }

  body.eir-page .eir-process-number {
    z-index: 1;
  }
}

/* Blog editorial: tres articulos por fila y lectura larga */
.blog-page .blog-section {
  padding-top: clamp(74px, 8vw, 118px);
  padding-bottom: clamp(92px, 10vw, 150px);
}

.blog-page .blog-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: clamp(22px, 2.4vw, 34px);
  align-items: stretch;
  margin-top: clamp(52px, 6vw, 86px);
}

.blog-page .blog-card {
  display: block;
  min-height: 0;
  padding: 0 !important;
  overflow: hidden;
  border: 1px solid rgba(35, 31, 32, 0.13);
  border-radius: 0;
  background: #fff;
  box-shadow: 0 20px 50px rgba(35, 31, 32, 0.07);
}

.blog-page .blog-card::before {
  display: none;
}

.blog-card-link {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}

.blog-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 0;
  overflow: hidden;
}

.blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 450ms ease;
}

.blog-image-placeholder {
  isolation: isolate;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 72% 22%, rgba(255, 255, 255, 0.18), transparent 27%),
    linear-gradient(135deg, #481721 0%, var(--wine) 55%, #9a5360 100%);
}

.blog-image-placeholder::before {
  position: absolute;
  z-index: -1;
  inset: 12%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  content: "";
  transform: translateX(22%);
}

.blog-image-placeholder > span {
  padding: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(2.8rem, 5.4vw, 5.7rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 1;
}

.blog-image-placeholder small {
  position: absolute;
  right: 18px;
  bottom: 16px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.blog-image-placeholder.is-muted {
  background:
    radial-gradient(circle at 78% 20%, rgba(130, 36, 51, 0.1), transparent 28%),
    linear-gradient(145deg, #e5e2dd, #f5f3ef);
}

.blog-image-placeholder.is-muted::before {
  border-color: rgba(130, 36, 51, 0.18);
}

.blog-image-placeholder.is-muted > span {
  color: rgba(130, 36, 51, 0.54);
}

.blog-image-placeholder.is-muted small {
  color: rgba(35, 31, 32, 0.54);
}

.blog-card-body {
  display: flex;
  min-height: 310px;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(24px, 2.4vw, 34px);
}

.blog-card-meta {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 22px;
}

.blog-page .blog-card .blog-card-meta span,
.blog-page .blog-card .blog-card-meta time {
  padding: 0;
  background: transparent;
  color: var(--wine);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.35;
  text-transform: uppercase;
}

.blog-page .blog-card .blog-card-meta time {
  color: #696365;
  white-space: nowrap;
}

.blog-page .blog-card h3 {
  margin: 0 0 16px;
  color: #272223;
  font-size: clamp(1.45rem, 1.8vw, 2.05rem);
  line-height: 1.06;
  text-wrap: balance;
}

.blog-page .blog-card p {
  margin: 0 0 28px;
  color: #4b4546;
  font-size: 0.96rem;
  line-height: 1.62;
}

.blog-page .blog-card .blog-card-action,
.blog-page .blog-card .blog-card-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: auto;
  padding: 0 0 5px;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: var(--wine);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blog-page .blog-card .blog-card-status {
  border-color: rgba(75, 69, 70, 0.34);
  color: #625c5d;
}

.blog-card-published {
  transition: border-color 250ms ease, box-shadow 250ms ease, transform 250ms ease;
}

.blog-card-published:hover,
.blog-card-published:focus-within {
  border-color: rgba(130, 36, 51, 0.46);
  box-shadow: 0 25px 58px rgba(35, 31, 32, 0.13);
  transform: translateY(-5px);
}

.blog-card-published:hover .blog-card-media img,
.blog-card-published:focus-within .blog-card-media img {
  transform: scale(1.035);
}

/* Articulo del blog */
.blog-article-page main {
  background: #f7f5f1;
}

.blog-article-page {
  overflow-x: clip;
}

.blog-article {
  box-sizing: border-box;
  width: min(100%, 1440px);
  margin: 0 auto;
  padding: clamp(138px, 14vw, 196px) clamp(24px, 5vw, 72px) clamp(96px, 10vw, 150px);
}

.blog-article-header {
  width: min(100%, 1130px);
  margin: 0 auto clamp(50px, 6vw, 82px);
}

.blog-back-link {
  display: inline-block;
  margin-bottom: clamp(42px, 6vw, 76px);
  border-bottom: 1px solid rgba(130, 36, 51, 0.46);
  color: var(--wine);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-decoration: none;
  text-transform: uppercase;
}

.blog-article-header h1 {
  max-width: 1100px;
  margin: 14px 0 28px;
  color: #272223;
  font-size: clamp(3rem, 5.8vw, 6.35rem);
  letter-spacing: -0.055em;
  line-height: 0.92;
  text-wrap: balance;
}

.blog-article-byline {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(35, 31, 32, 0.17);
  color: #5d5658;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.blog-article-image {
  width: min(100%, 1230px);
  aspect-ratio: 16 / 9;
  margin: 0 auto clamp(66px, 8vw, 112px);
  overflow: hidden;
  background: #dedbd6;
}

.blog-article-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.blog-article-image > span {
  font-size: clamp(5rem, 14vw, 12rem);
}

.blog-article-layout {
  display: grid;
  width: min(100%, 1120px);
  grid-template-columns: minmax(0, 760px) minmax(230px, 300px);
  gap: clamp(56px, 8vw, 110px);
  align-items: start;
  margin: 0 auto;
}

.blog-article-content {
  min-width: 0;
}

.blog-article-content p,
.blog-article-content li {
  color: #403a3b;
  font-size: clamp(1rem, 1.15vw, 1.1rem);
  line-height: 1.78;
}

.blog-article-content p {
  margin: 0 0 24px;
}

.blog-article-content strong {
  color: var(--wine);
}

.blog-article-lead {
  margin-bottom: 32px !important;
  color: #2d2829 !important;
  font-size: clamp(1.28rem, 1.9vw, 1.7rem) !important;
  line-height: 1.46 !important;
}

.blog-article-content h2 {
  margin: clamp(56px, 7vw, 86px) 0 22px;
  color: #272223;
  font-size: clamp(2rem, 3.2vw, 3.35rem);
  letter-spacing: -0.035em;
  line-height: 1;
  text-wrap: balance;
}

.blog-article-content ul {
  display: grid;
  gap: 12px;
  margin: 0 0 30px;
  padding-left: 23px;
}

.blog-article-content li::marker {
  color: var(--wine);
}

.blog-article-note {
  margin: 42px 0 10px;
  padding: 28px 30px;
  border-top: 4px solid var(--wine);
  background: var(--soft);
}

.blog-article-note > strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.blog-article-note p {
  margin: 0;
}

.blog-retention-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 34px 0;
}

.blog-retention-grid article {
  padding: 28px;
  border: 1px solid rgba(130, 36, 51, 0.22);
  background: #fff;
}

.blog-retention-grid span {
  display: block;
  margin-bottom: 8px;
  color: var(--wine);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
}

.blog-retention-grid p {
  margin: 0;
  font-size: 0.92rem;
}

.blog-article-aside {
  position: sticky;
  top: 124px;
  padding: 30px;
  border-top: 4px solid var(--wine);
  background: #e8e5e0;
}

.blog-article-aside > p {
  margin: 20px 0 28px;
  color: #3c3738;
  font-size: 1.02rem;
  line-height: 1.62;
}

.blog-article-aside strong {
  color: var(--wine);
}

.blog-article-sources {
  margin-top: clamp(68px, 8vw, 104px);
  padding-top: 10px;
  border-top: 1px solid rgba(35, 31, 32, 0.18);
}

.blog-article-sources h2 {
  font-size: clamp(1.65rem, 2.5vw, 2.45rem);
}

.blog-article-sources a {
  color: var(--wine);
  font-weight: 700;
  text-underline-offset: 4px;
}

@media (max-width: 1050px) {
  .blog-page .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .blog-article-layout {
    grid-template-columns: 1fr;
  }

  .blog-article-aside {
    position: static;
    max-width: 620px;
  }
}

@media (max-width: 700px) {
  .blog-page .blog-grid {
    grid-template-columns: 1fr !important;
    gap: 24px;
  }

  .blog-card-body {
    min-height: 0;
    padding: 25px 22px 28px;
  }

  .blog-card-media {
    aspect-ratio: 16 / 9;
  }

  .blog-article {
    padding: 114px var(--mobile-gutter) 78px;
  }

  .blog-back-link {
    margin-bottom: 38px;
  }

  .blog-article-header h1 {
    font-size: clamp(2.45rem, 12vw, 3.6rem);
    line-height: 0.98;
  }

  .blog-article-byline {
    flex-direction: column;
    gap: 7px;
  }

  .blog-article-image {
    aspect-ratio: 16 / 9;
    margin-bottom: 58px;
  }

  .blog-article-layout {
    gap: 48px;
  }

  .blog-article-content h2 {
    margin-top: 56px;
  }

  .blog-article-note,
  .blog-article-aside {
    padding: 24px 22px;
  }

  .blog-retention-grid {
    grid-template-columns: 1fr;
  }
}

/* EIR: el isotipo se sitúa en el centro de las cuatro cajas. */
@media (max-width: 900px) {
  .eir-value-grid > .eir-benefits-cta {
    grid-column: 1;
  }
}

@media (max-width: 600px) {
  .eir-benefits {
    row-gap: 72px;
  }

  .eir-benefits-isotype {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    width: 48px;
    margin: 0;
    transform: translate(-50%, -50%);
  }
}

/* EIR: flujo legible en móvil y selector final sin solapamientos. */
body.eir-page .service-carousel {
  display: flex;
  grid-template-columns: none;
  justify-content: flex-start;
  min-height: clamp(300px, 29vw, 360px);
}

body.eir-page .service-slide {
  flex: 0 0 clamp(116px, 12vw, 164px);
  width: clamp(116px, 12vw, 164px);
  min-width: 0;
  height: clamp(260px, 25vw, 330px);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

body.eir-page .service-slide.is-active {
  flex: 1 1 0;
  width: 0;
  min-width: min(360px, 38vw);
  height: clamp(260px, 25vw, 330px);
}

body.eir-page .service-slide .service-slide-copy {
  overflow: hidden;
}

body.eir-page .service-slide.is-active .service-slide-copy {
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 12px;
  padding: clamp(24px, 3.2vw, 44px);
}

body.eir-page .service-slide.is-active .service-slide-copy span,
body.eir-page .service-slide.is-active .service-slide-copy h2,
body.eir-page .service-slide.is-active .service-slide-copy p {
  width: 100%;
  max-width: 32ch;
  margin: 0;
  overflow-wrap: anywhere;
}

body.eir-page .service-slide.is-active .service-slide-copy h2 {
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 0.94;
}

body.eir-page .service-slide.is-active .service-slide-copy p {
  display: block;
  font-size: clamp(0.9rem, 1.05vw, 1rem);
  line-height: 1.45;
}

body.eir-page .service-slide:not(.is-active) .service-slide-copy {
  padding: 16px;
}

body.eir-page .service-slide:not(.is-active) .service-slide-copy span {
  display: none;
}

body.eir-page .service-slide:not(.is-active) .service-slide-copy h2 {
  display: block;
  max-width: 100%;
  margin: 0;
  color: #fff;
  font-size: clamp(0.88rem, 1.1vw, 1.05rem);
  line-height: 1.08;
  overflow-wrap: anywhere;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.52);
}

body.eir-page .service-slide:not(.is-active) .service-orb-link {
  display: none !important;
  pointer-events: none;
}

@media (max-width: 760px) {
  body.eir-page .eir-process-flow {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    padding: 0 0 0 68px;
  }

  body.eir-page .eir-process-step {
    width: 100%;
    min-width: 0;
    overflow: visible;
  }

  body.eir-page .eir-process-step h3,
  body.eir-page .eir-process-step p {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-wrap: anywhere;
  }

  body.eir-page .service-carousel {
    min-height: 0;
    flex-direction: column;
    align-items: stretch;
  }

  body.eir-page .service-slide,
  body.eir-page .service-slide.is-active {
    width: 100%;
    min-width: 0;
  }

  body.eir-page .service-slide {
    flex: 0 0 82px;
    height: 82px;
  }

  body.eir-page .service-slide.is-active {
    flex-basis: 310px;
    height: 310px;
  }

  body.eir-page .service-slide.is-active .service-slide-copy {
    padding: 24px;
  }

  body.eir-page .solution-switcher-section .service-slide {
    min-height: 82px;
  }

  body.eir-page .solution-switcher-section .service-slide.is-active {
    min-height: 310px;
  }

body.eir-page .service-carousel {
  overflow-x: clip;
}
}

/* Revisión de estructura, legibilidad y proporciones · septiembre 2026 */
.site-header .dropdown-menu a {
  align-items: center;
  line-height: 1;
}

:where(
  .home-solution-number,
  .service-slide-copy > span,
  .eir-process-number,
  .eir-benefit-card > span,
  .eir-workflow-card > span,
  .hand-collection-copy > span,
  .defense-method-card span,
  .defense-risk-card > span,
  .site-footer .footer-block span,
  .site-footer .footer-bottom
) {
  font-family: "Segoe UI", Aptos, Arial, sans-serif;
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1, "tnum" 1;
  line-height: 1;
}

body.eir-page .solution-visual-keys {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

body.eir-page .solution-visual-keys span {
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: center;
}

body.eir-page .eir-value-grid {
  align-items: start;
}

body.eir-page .eir-benefits-panel {
  display: grid;
  gap: 14px;
  align-content: start;
}

body.eir-page .eir-benefits {
  align-content: start;
  gap: 14px;
}

body.eir-page .eir-benefit-card {
  min-height: 0;
  padding: clamp(20px, 2.2vw, 30px);
}

body.eir-page .eir-benefit-card > span {
  margin-bottom: 14px;
}

body.eir-page .eir-benefit-card h3 {
  margin-bottom: 8px;
}

body.eir-page .eir-benefits-panel .eir-benefits-cta {
  grid-column: auto;
  min-height: 58px;
  margin: 0;
}

body.eir-page .eir-process-flow {
  --eir-flow-gap: clamp(12px, 1.5vw, 22px);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--eir-flow-gap);
}

body.eir-page .eir-process-flow::before {
  left: calc((100% - (3 * var(--eir-flow-gap))) / 8);
  right: calc((100% - (3 * var(--eir-flow-gap))) / 8);
}

/* El selector usa una sola fila flexible: al seleccionar otra solución,
   la tarjeta anterior se contrae y la nueva ocupa exactamente ese espacio. */
.solution-switcher-section .service-carousel,
body.eir-page .solution-switcher-section .service-carousel {
  display: flex !important;
  min-height: clamp(330px, 31vw, 400px);
  gap: 12px;
  align-items: stretch;
  overflow: hidden;
}

.solution-switcher-section .service-slide,
.solution-switcher-section .service-slide.is-active,
body.eir-page .solution-switcher-section .service-slide,
body.eir-page .solution-switcher-section .service-slide.is-active {
  position: relative !important;
  flex: 0 1 clamp(118px, 12vw, 168px);
  width: auto !important;
  min-width: 0 !important;
  height: clamp(330px, 31vw, 400px);
  min-height: clamp(330px, 31vw, 400px);
  overflow: hidden;
  border: 1px solid rgba(112, 44, 54, 0.2);
  transition: flex-basis 280ms ease, flex-grow 280ms ease, box-shadow 220ms ease;
}

.solution-switcher-section .service-slide.is-active,
body.eir-page .solution-switcher-section .service-slide.is-active {
  flex: 1 1 0;
  min-width: min(430px, 42vw) !important;
  border-color: transparent;
}

.solution-switcher-section .service-slide:not(.is-active) {
  cursor: pointer;
}

.solution-switcher-section .service-slide .service-slide-copy {
  z-index: 3;
  overflow: hidden;
}

.solution-switcher-section .service-slide:not(.is-active) .service-slide-copy {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: end;
  padding: 20px;
}

.solution-switcher-section .service-slide:not(.is-active) .service-slide-copy h2 {
  width: 100%;
  overflow-wrap: anywhere;
}

.solution-switcher-section .service-slide:not(.is-active) .service-slide-copy p {
  display: none;
}

.solution-switcher-section .service-slide:not(.is-active) .service-orb-link {
  position: absolute;
  inset: 0;
  z-index: 4;
}

.solution-switcher-section .service-slide.is-active .service-slide-copy,
body.eir-page .solution-switcher-section .service-slide.is-active .service-slide-copy {
  inset: auto clamp(24px, 3.8vw, 48px) clamp(24px, 3.8vw, 42px);
}

.solution-switcher-section .service-slide.is-active .service-slide-copy h2,
body.eir-page .solution-switcher-section .service-slide.is-active .service-slide-copy h2 {
  max-width: 18ch;
  overflow-wrap: normal;
}

.solution-switcher-section .service-slide.is-active .service-slide-copy p,
body.eir-page .solution-switcher-section .service-slide.is-active .service-slide-copy p {
  display: block;
  max-width: 48ch;
  overflow-wrap: normal;
}

@media (max-width: 760px) {
  body.eir-page .eir-process-flow {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    padding: 0 0 0 68px;
  }

  body.eir-page .eir-process-flow::before {
    top: 50px;
    right: auto;
    bottom: 50px;
    left: 29px;
    width: 2px;
    height: auto;
  }

  body.eir-page .eir-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.eir-page .eir-benefit-card {
    padding: 18px 16px 20px;
  }

  body.eir-page .eir-benefit-card h3 {
    font-size: clamp(1.15rem, 5.6vw, 1.55rem);
  }

  body.eir-page .eir-benefit-card p {
    font-size: 0.84rem;
    line-height: 1.4;
  }

  .solution-switcher-section .service-carousel,
  body.eir-page .solution-switcher-section .service-carousel {
    min-height: 0;
    flex-direction: column;
    overflow: visible;
  }

  .solution-switcher-section .service-slide,
  .solution-switcher-section .service-slide.is-active,
  body.eir-page .solution-switcher-section .service-slide,
  body.eir-page .solution-switcher-section .service-slide.is-active {
    width: 100% !important;
    min-width: 0 !important;
    height: 82px;
    min-height: 82px;
    flex: 0 0 82px;
  }

  .solution-switcher-section .service-slide.is-active,
  body.eir-page .solution-switcher-section .service-slide.is-active {
    height: 320px;
    min-height: 320px;
    flex-basis: 320px;
  }
}

/* Previsualización CENTRAL · responsive y ajustes editoriales 2026-09-01 */
html,
body {
  max-width: 100%;
  overflow-x: clip;
}

img,
video {
  max-width: 100%;
}

:where(
  main,
  main > section,
  .home-solutions-list,
  .solution-overview-grid,
  .service-carousel,
  .solution-visual-story,
  .defense-risk-compliance-grid,
  .eir-process-flow,
  .eir-value-grid,
  .eir-benefits-panel,
  .eir-benefits,
  .eir-workflow-grid,
  .process-interactive-layout,
  .process-interactive-nav,
  .process-interactive-panels,
  .site-footer
) > * {
  min-width: 0;
}

@media (min-width: 761px) {
  body.home-page .home-hero-content h1 {
    max-width: min(900px, 76vw);
    font-size: clamp(3.4rem, 7.8vw, 5.8rem);
    line-height: 0.82;
  }
}

.solution-hero-subtitle {
  max-width: min(100%, 42ch);
  margin: clamp(12px, 1.6vw, 20px) 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 1.7vw, 1.45rem);
  font-weight: 600;
  line-height: 1.3;
  text-wrap: balance;
}

body.home-page .home-solution-row h3,
.solution-overview-grid .solution-tile h3 {
  max-width: 100%;
  font-size: clamp(1.35rem, 2vw, 2.1rem);
  line-height: 1.08;
  overflow-wrap: break-word;
  text-wrap: balance;
}

.service-slide-copy .eir-selector-label {
  max-width: 100%;
  overflow-wrap: normal;
}

.service-slide-copy .eir-selector-label small {
  display: block;
  margin-top: 0.34em;
  font-size: clamp(0.56rem, 0.72vw, 0.78rem);
  font-weight: 650;
  line-height: 1.28;
  text-transform: none;
  text-wrap: balance;
}

.service-slide.is-active .service-slide-copy .eir-selector-label small {
  max-width: 38ch;
  font-size: clamp(0.78rem, 1vw, 1rem);
}

body.process-page .hand-feature-copy > p:not(.eyebrow) {
  max-width: 54ch;
  margin: 0;
  color: rgba(35, 31, 32, 0.74);
  font-size: clamp(1rem, 1.2vw, 1.18rem);
  line-height: 1.65;
}

body.process-page .hand-feature-copy > p:not(.eyebrow) + p {
  margin-top: 14px;
}

.footer-cta .footer-cta-content {
  width: min(100%, 920px);
  max-width: 100% !important;
  min-width: 0;
}

.footer-cta .footer-cta-copy {
  width: min(100%, 720px);
  max-width: 100% !important;
  min-width: 0;
}

.footer-cta h2.footer-cta-title {
  width: max-content;
  max-width: 100%;
  margin-bottom: clamp(24px, 3vw, 34px);
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 0.98;
}

.footer-cta h2.footer-cta-title span {
  display: block;
  white-space: normal;
  text-wrap: balance;
}

body > .site-footer {
  margin: 0;
}

.site-footer .footer-bottom {
  margin-bottom: 0;
}

body.eir-page .eir-value-section {
  padding-bottom: clamp(28px, 3.2vw, 46px);
}

body.eir-page .eir-value-grid {
  align-items: stretch;
}

body.eir-page .eir-benefits-panel {
  height: 100%;
  grid-template-rows: minmax(0, 1fr) auto;
  align-content: stretch;
}

body.eir-page .eir-benefits {
  height: 100%;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  align-content: stretch;
}

body.eir-page .eir-benefit-card {
  display: flex;
  min-height: 0;
  height: 100%;
  flex-direction: column;
}

body.eir-page .eir-benefits-panel .eir-benefits-cta {
  min-height: 58px;
  height: auto;
  padding-block: 15px;
}

body.eir-page .eir-workflow-strip {
  padding-top: clamp(14px, 1.8vw, 26px);
}

body.eir-page .eir-workflow-inner {
  padding-top: clamp(42px, 4.6vw, 62px);
}

body.eir-page .eir-workflow-header {
  margin-bottom: clamp(30px, 3.8vw, 52px);
  align-items: end;
}

body.eir-page .eir-workflow-header h2 {
  max-width: 11ch;
  font-size: clamp(2.35rem, 4.2vw, 4.6rem);
  line-height: 0.94;
}

body.eir-page .eir-workflow-grid {
  align-items: stretch;
}

body.eir-page .eir-workflow-card h3 {
  font-size: clamp(1.05rem, 1.45vw, 1.45rem);
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

body.eir-page .eir-workflow-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
}

body.eir-page .eir-workflow-card h3,
body.eir-page .eir-workflow-card p {
  overflow-wrap: break-word;
}

@media (max-width: 980px) {
  .solution-hero-subtitle {
    max-width: 34ch;
  }

  body.eir-page .eir-benefits-panel,
  body.eir-page .eir-benefits {
    height: auto;
  }

  body.eir-page .eir-benefits {
    grid-auto-rows: minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  .solution-hero-subtitle {
    max-width: 28ch;
    font-size: clamp(0.94rem, 4.3vw, 1.12rem);
  }

  body.home-page .home-solution-row h3,
  .solution-overview-grid .solution-tile h3 {
    font-size: clamp(1.3rem, 6.2vw, 1.85rem);
  }

  .service-slide-copy .eir-selector-label small,
  .service-slide.is-active .service-slide-copy .eir-selector-label small {
    font-size: clamp(0.64rem, 2.8vw, 0.8rem);
  }

  .footer-cta h2.footer-cta-title {
    width: 100%;
    font-size: clamp(1rem, 4.65vw, 1.22rem);
    line-height: 1.08;
  }

  body.eir-page .eir-workflow-inner {
    padding: 38px var(--mobile-gutter) 42px;
  }

  body.eir-page .eir-workflow-header {
    margin-bottom: 28px;
  }

  body.eir-page .eir-workflow-header h2 {
    max-width: 100%;
    font-size: clamp(2.2rem, 10.5vw, 3.25rem);
  }
}

@media (max-width: 420px) {
  body.eir-page .eir-benefits {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  body.eir-page .eir-benefit-card {
    height: auto;
    min-height: 0;
  }
}

/* Segunda previsualización CENTRAL · jerarquía, contenido y responsive 2026-09-02 */
body.home-page .home-solution-row h3.eir-solution-title small {
  display: block;
  max-width: 40ch;
  margin-top: 0.45em;
  color: currentColor;
  font-size: clamp(0.62rem, 0.72vw, 0.82rem);
  font-weight: 650;
  line-height: 1.35;
  text-transform: none;
  text-wrap: balance;
}

body.home-page .home-solution-row.is-featured h3.eir-solution-title small {
  max-width: 34ch;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(0.7rem, 0.82vw, 0.9rem);
}

body.home-page .home-values-list h3 {
  margin-bottom: clamp(16px, 1.6vw, 22px);
  font-size: clamp(1.4rem, 1.85vw, 1.9rem);
  font-weight: 900;
  letter-spacing: 0.01em;
}

body.home-page .home-values-list p strong {
  font-weight: 700;
}

body.home-page .corridor-break blockquote {
  animation-name: quoteReveal, quoteShine, quoteRedShadow;
  animation-duration: 900ms, 5.6s, 5.6s;
  animation-delay: 0ms, 650ms, 650ms;
  animation-timing-function: ease, ease-in-out, ease-in-out;
  animation-fill-mode: both, both, both;
  animation-iteration-count: 1, infinite, infinite;
  will-change: background-position, text-shadow;
}

@keyframes quoteRedShadow {
  0%,
  100% {
    text-shadow: -8px 10px 26px rgba(112, 44, 54, 0.18), 0 16px 42px rgba(0, 0, 0, 0.48);
  }

  50% {
    text-shadow: 10px 8px 30px rgba(185, 72, 88, 0.46), 0 16px 42px rgba(0, 0, 0, 0.48);
  }
}

.hand-collection-section[aria-label="Confianza y crecimiento"] .hand-collection-item {
  min-height: clamp(560px, calc(25vw + 260px), 900px);
  padding-bottom: clamp(340px, 25vw, 640px);
}

.hand-collection-section[aria-label="Confianza y crecimiento"] .hand-collection-copy {
  width: min(100%, 46ch);
  max-width: 100%;
}

.hand-collection-section[aria-label="Confianza y crecimiento"] .hand-collection-item img,
.hand-collection-section[aria-label="Confianza y crecimiento"] .hand-collection-item:first-child img,
.hand-collection-section[aria-label="Confianza y crecimiento"] .hand-collection-item:nth-child(2) img {
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: clamp(340px, 25vw, 640px);
  object-fit: contain;
  object-position: center bottom;
}

.hand-collection-section[aria-label="Confianza y crecimiento"] .hand-collection-item:nth-child(2) img {
  object-position: right bottom;
}

.about-truck-break blockquote {
  inset: 47% auto auto 50%;
  width: min(82%, 1040px);
  font-size: clamp(1.35rem, 2.15vw, 2.75rem);
  line-height: 1.08;
}

body.defense-page-redesign .defense-hammer-break {
  margin-top: clamp(42px, 5vw, 76px);
  margin-bottom: 0;
}

body.defense-page-redesign .defense-risk-compliance {
  padding-top: clamp(38px, 3.6vw, 54px);
}

body.consulting-page .consulting-authorization-section {
  grid-template-columns: minmax(320px, 0.72fr) minmax(520px, 1.28fr);
  gap: clamp(44px, 5vw, 76px);
}

body.consulting-page .consulting-authorization-section .solution-main-copy h2 {
  max-width: 12ch;
  font-size: clamp(2.7rem, 4.45vw, 5.7rem);
  line-height: 0.92;
}

body.consulting-page .consulting-services-detail {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
}

body.consulting-page .consulting-services-detail details {
  overflow: hidden;
  color: var(--ink);
  background: #ebeae8;
  border: 1px solid transparent;
  transition: background-color 180ms ease, border-color 180ms ease;
}

body.consulting-page .consulting-services-detail details:hover,
body.consulting-page .consulting-services-detail details[open] {
  background: #f4f2ef;
  border-color: rgba(112, 44, 54, 0.2);
}

body.consulting-page .consulting-services-detail summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  min-height: 66px;
  padding: 16px 20px;
  color: var(--ink);
  font-size: clamp(1rem, 1.1vw, 1.14rem);
  font-weight: 800;
  line-height: 1.25;
  cursor: pointer;
  list-style: none;
}

body.consulting-page .consulting-services-detail summary::-webkit-details-marker {
  display: none;
}

body.consulting-page .consulting-services-detail summary::after {
  content: "+";
  color: var(--ink);
  font-size: 1.65rem;
  font-weight: 400;
  line-height: 1;
  transition: transform 180ms ease;
}

body.consulting-page .consulting-services-detail details[open] summary::after {
  transform: rotate(45deg);
}

body.consulting-page .consulting-services-detail summary:focus-visible {
  outline: 2px solid var(--wine);
  outline-offset: -3px;
}

body.consulting-page .consulting-services-detail details > div {
  padding: 0 20px 20px;
}

body.consulting-page .consulting-services-detail p {
  margin: 0;
  color: var(--gray);
  font-size: clamp(0.92rem, 1vw, 1.02rem);
  line-height: 1.55;
}

body.eir-page :where(
  .solution-visual-keys span,
  .eir-process-step,
  .eir-process-step h3,
  .eir-process-step p,
  .eir-benefit-card,
  .eir-benefit-card h3,
  .eir-benefit-card p,
  .eir-workflow-card,
  .eir-workflow-card h3,
  .eir-workflow-card p
) {
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}

body.eir-page .eir-process-step h3,
body.eir-page .eir-workflow-card h3 {
  max-width: 100%;
}

body.eir-page .eir-process-step h3,
body.eir-page .eir-process-step p,
body.eir-page .eir-workflow-card h3,
body.eir-page .eir-workflow-card p {
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}

body.process-page .process-interactive-section {
  padding-top: clamp(48px, 5.5vw, 76px);
}

body.process-page .process-interactive-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(20px, 2.4vw, 32px);
  align-items: start;
  margin-bottom: clamp(34px, 4.2vw, 56px);
}

body.process-page .process-interactive-intro h2 {
  width: 100%;
  max-width: none;
  font-size: clamp(2.55rem, 4.9vw, 5.7rem);
  line-height: 0.94;
  text-transform: uppercase;
}

body.process-page .process-interactive-intro h2 span {
  display: block;
}

body.process-page .process-interactive-copy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(26px, 6vw, 88px);
  align-items: start;
}

body.process-page .process-interactive-copy-grid p {
  width: 100%;
  max-width: 52ch;
  margin: 0;
  color: #383333;
  font-size: clamp(1rem, 1.25vw, 1.18rem);
  line-height: 1.62;
}

/* El CTA de contacto conserva contraste sobre el formulario claro. */
body.contact-page .contact-form .button.primary:hover,
body.contact-page .contact-form .button.primary:focus-visible {
  color: #fff;
  background: var(--wine-dark);
}

body.contact-page .contact-section {
  grid-template-columns: minmax(0, 1.35fr) minmax(270px, 0.65fr);
  gap: clamp(34px, 5vw, 76px);
  align-items: start;
}

body.contact-page .contact-panel {
  min-height: 0;
  height: auto;
  align-self: start;
  gap: clamp(18px, 2vw, 26px);
  padding: clamp(28px, 3.2vw, 44px);
  align-content: start;
  background:
    linear-gradient(145deg, rgba(112, 44, 54, 0.06), transparent 58%),
    #ffffff;
}

body.contact-page .contact-panel-label {
  margin: 0 0 clamp(4px, 0.8vw, 10px);
  color: var(--wine);
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

body.contact-page .contact-panel a {
  font-size: clamp(1.2rem, 1.7vw, 1.55rem);
  line-height: 1.2;
}

body.contact-page .contact-panel-address {
  max-width: 30ch;
  padding-top: clamp(20px, 2.2vw, 30px);
  border-top: 1px solid rgba(112, 44, 54, 0.22);
  font-size: clamp(1rem, 1.15vw, 1.12rem);
}

body.contact-page .contact-panel-note {
  max-width: 34ch;
  margin: 0;
  color: rgba(35, 31, 32, 0.68);
  font-size: 0.96rem;
  font-style: normal;
  line-height: 1.6;
}

@media (max-width: 1100px) {
  body.consulting-page .consulting-authorization-section {
    grid-template-columns: minmax(0, 1fr);
  }

  body.eir-page .eir-process-flow,
  body.eir-page .eir-workflow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.eir-page .eir-process-flow::before {
    display: none;
  }
}

@media (max-width: 980px) {
  body.contact-page .contact-section {
    grid-template-columns: minmax(0, 1fr);
  }

  body.contact-page .contact-panel {
    width: min(100%, 680px);
  }
}

@media (max-width: 820px) {
  body.process-page .process-interactive-copy-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
}

@media (min-width: 621px) and (max-width: 900px) {
  body.process-page .process-interactive-nav {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    overflow: visible;
    scrollbar-width: none;
  }

  body.process-page .process-interactive-step {
    min-width: 0;
    padding: 18px clamp(8px, 1.4vw, 14px);
  }

  body.process-page .process-interactive-step strong {
    font-size: clamp(0.78rem, 1.85vw, 0.92rem);
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }
}

@media (max-width: 680px) {
  .hand-collection-section[aria-label="Confianza y crecimiento"] .hand-collection-item {
    min-height: 480px;
    padding-bottom: 250px;
  }

  .hand-collection-section[aria-label="Confianza y crecimiento"] .hand-collection-item img,
  .hand-collection-section[aria-label="Confianza y crecimiento"] .hand-collection-item:first-child img,
  .hand-collection-section[aria-label="Confianza y crecimiento"] .hand-collection-item:nth-child(2) img {
    height: 230px;
  }

  .about-truck-break blockquote {
    inset: 46% auto auto 50%;
    width: calc(100% - 44px);
    font-size: clamp(1.15rem, 5vw, 1.55rem);
    line-height: 1.12;
  }

  body.defense-page-redesign .defense-hammer-break {
    margin-top: 28px;
  }

  body.defense-page-redesign .defense-risk-compliance {
    padding-top: 38px;
  }

  body.process-page .process-interactive-section {
    padding-top: 44px;
  }

  body.process-page .process-interactive-intro h2 {
    font-size: clamp(2.35rem, 10.2vw, 3.15rem);
  }
}

@media (max-width: 620px) {
  body.eir-page .eir-process-flow,
  body.eir-page .eir-workflow-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 600px) {
  body.home-page .home-values-list h3 {
    font-size: clamp(1.28rem, 6.2vw, 1.55rem);
  }

  body.home-page .home-solution-row h3.eir-solution-title small,
  body.home-page .home-solution-row.is-featured h3.eir-solution-title small {
    max-width: 34ch;
    font-size: clamp(0.64rem, 3vw, 0.76rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.home-page .corridor-break blockquote {
    animation: none;
    background-position: 50% 0;
    text-shadow: 0 16px 42px rgba(0, 0, 0, 0.48);
    will-change: auto;
  }
}

/* Tercera previsualización CENTRAL · ajustes visuales y explorador de Blog 2026-09-02 */
[data-solution-switcher-disabled],
[data-solution-switcher-disabled][hidden] {
  display: none !important;
}

.site-header {
  will-change: transform;
}

body.home-page .home-values-list {
  position: relative;
  min-width: 0;
  border-top: 0;
  border-bottom: 0;
}

body.home-page .home-values-list::before {
  position: absolute;
  z-index: 3;
  top: 0;
  right: calc(-1 * clamp(22px, 2.4vw, 44px));
  bottom: 0;
  left: 0;
  border-top: 1px solid rgba(112, 44, 54, 0.28);
  border-right: 1px solid rgba(112, 44, 54, 0.28);
  border-bottom: 1px solid rgba(112, 44, 54, 0.28);
  content: "";
  pointer-events: none;
}

body.home-page .home-values-list article:last-child {
  padding-right: clamp(42px, 3.4vw, 64px);
}

@media (min-width: 901px) and (max-width: 1500px) {
  body.home-page .home-values-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.home-page .home-values-list article,
  body.home-page .home-values-list article:last-child {
    min-width: 0;
    padding-right: clamp(22px, 2vw, 30px);
    padding-left: clamp(16px, 1.5vw, 22px);
  }

  body.home-page .home-values-list h3 {
    font-size: clamp(1.18rem, 1.48vw, 1.4rem);
  }
}

.about-truck-break blockquote {
  width: min(86%, 1120px);
  font-size: clamp(1.65rem, 2.7vw, 3.35rem);
  line-height: 1.07;
}

body.defense-page-redesign .hand-collection-four .hand-collection-item:nth-child(4) {
  padding-right: clamp(52px, 4vw, 72px);
}

body.defense-page-redesign .hand-collection-four .hand-collection-item:nth-child(4) .hand-collection-copy h2 {
  width: 100%;
  max-width: 100%;
  font-size: clamp(1.45rem, 1.82vw, 2.45rem);
  letter-spacing: -0.015em;
}

body.eir-page .eir-process-step h3 {
  font-size: clamp(1.1rem, 1.18vw, 1.38rem);
}

body.eir-page .eir-workflow-card h3 {
  font-size: clamp(1rem, 1.25vw, 1.4rem);
}

body.process-page .hand-feature-section {
  min-height: 0;
  padding-bottom: clamp(28px, 2.4vw, 42px);
}

.blog-page .blog-section {
  gap: 0;
  padding-top: clamp(48px, 5vw, 76px);
}

.blog-page .blog-intro-art img {
  height: clamp(260px, 28vw, 360px);
  max-height: 360px;
  object-position: center top;
}

.blog-explorer {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: clamp(18px, 2.4vw, 34px);
  margin-top: clamp(24px, 2.5vw, 38px);
  padding: clamp(22px, 2.6vw, 34px);
  border: 1px solid rgba(35, 31, 32, 0.13);
  background: #efede8;
}

.blog-filter-panel,
.blog-search-panel {
  display: grid;
  min-width: 0;
  align-content: start;
  gap: 13px;
}

.blog-control-label {
  color: var(--wine);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-transform: uppercase;
}

.blog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.blog-filters button {
  min-height: 40px;
  padding: 9px 14px;
  border: 1px solid rgba(112, 44, 54, 0.3);
  border-radius: 999px;
  color: var(--wine);
  background: transparent;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 750;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.blog-filters button:hover,
.blog-filters button:focus-visible,
.blog-filters button[aria-pressed="true"] {
  border-color: var(--wine);
  color: #fff;
  background: var(--wine);
}

.blog-filters button:focus-visible,
.blog-search-field input:focus-visible {
  outline: 3px solid rgba(112, 44, 54, 0.24);
  outline-offset: 3px;
}

.blog-results-count {
  color: rgba(35, 31, 32, 0.62);
  font-size: 0.82rem;
  line-height: 1.4;
}

.blog-search-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  border-bottom: 2px solid var(--wine);
  background: #fff;
}

.blog-search-field input {
  width: 100%;
  min-width: 0;
  min-height: 54px;
  padding: 12px 16px;
  border: 0;
  outline: 0;
  color: #272223;
  background: transparent;
  font: inherit;
  font-size: 1rem;
}

.blog-search-field > span {
  padding: 0 16px;
  color: var(--wine);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blog-empty-state {
  margin: clamp(28px, 3vw, 42px) 0 0;
  padding: 22px;
  border-left: 4px solid var(--wine);
  color: #433d3e;
  background: #fff;
}

.blog-page .blog-grid {
  margin-top: clamp(28px, 3vw, 44px);
}

.blog-page .blog-card[hidden],
.blog-empty-state[hidden] {
  display: none !important;
}

@media (max-width: 900px) {
  body.home-page .home-values-list::before {
    right: 0;
  }

  body.home-page .home-values-list article:last-child {
    padding-right: clamp(24px, 4vw, 34px);
  }

  .blog-explorer {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 680px) {
  .about-truck-break blockquote {
    width: calc(100% - 40px);
    font-size: clamp(1.35rem, 5.8vw, 1.9rem);
    line-height: 1.1;
  }

  body.defense-page-redesign .hand-collection-four .hand-collection-item:nth-child(4) {
    padding-right: clamp(34px, 10vw, 52px);
  }

  body.defense-page-redesign .hand-collection-four .hand-collection-item:nth-child(4) .hand-collection-copy h2 {
    font-size: clamp(1.8rem, 8vw, 2.2rem);
  }
}

@media (max-width: 600px) {
  body.home-page .home-values-list article,
  body.home-page .home-values-list article:last-child {
    padding-right: 18px;
    padding-left: 18px;
  }

  body.process-page .hand-feature-section {
    padding-bottom: 30px;
  }

  body.eir-page .eir-process-step h3,
  body.eir-page .eir-workflow-card h3 {
    font-size: clamp(1.18rem, 5vw, 1.35rem);
  }

  .blog-page .blog-section {
    padding-top: 44px;
  }

  .blog-page .blog-intro-art img {
    height: 240px;
  }

  .blog-explorer {
    margin-top: 30px;
    padding: 20px 18px;
  }

  .blog-filters {
    gap: 7px;
  }

  .blog-filters button {
    min-height: 42px;
    padding-inline: 12px;
    font-size: 0.74rem;
  }

  .blog-search-field {
    grid-template-columns: minmax(0, 1fr);
  }

  .blog-search-field > span {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header,
  .blog-filters button {
    transition: none;
  }
}

/* Ajustes de revisión visual · 2 septiembre 2026 · ronda v9 */
.about-truck-break blockquote {
  inset: clamp(48px, 6vw, 86px) auto auto 50%;
  width: min(calc(100% - clamp(84px, 13vw, 220px)), 1400px);
  font-size: clamp(2.75rem, 4.4vw, 5.5rem);
  line-height: 1.03;
  transform: translateX(-50%);
}

body.defense-page-redesign .defense-risk-compliance-heading > p strong,
body.defense-page-redesign .defense-risk-card p strong {
  color: #4f1d27;
  font-weight: 780;
}

body.defense-page-redesign .defense-risk-card p strong {
  font-size: inherit;
}

body.eir-page #enfoque-visual.solution-visual-story {
  min-height: 0;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  grid-template-rows: auto auto;
  column-gap: clamp(30px, 5vw, 78px);
  row-gap: clamp(22px, 2.8vw, 34px);
  align-items: start;
}

body.eir-page #enfoque-visual .solution-visual-copy {
  grid-column: 1;
  grid-row: 1;
  align-self: start;
  max-width: 620px;
}

body.eir-page #enfoque-visual .solution-profile-media {
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  height: clamp(310px, 31vw, 430px);
  min-height: 0;
  align-self: start;
  align-items: flex-start;
  aspect-ratio: auto;
}

body.eir-page #enfoque-visual .solution-profile-media img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-position: center top;
}

body.eir-page #enfoque-visual > .solution-visual-keys {
  grid-column: 1 / -1;
  grid-row: 2;
  width: 100%;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 0;
}

body.eir-page #enfoque-visual > .solution-visual-keys span {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

body.process-page .process-interactive-copy-grid {
  align-items: start;
}

body.process-page .process-interactive-copy-grid > p,
body.process-page .process-interactive-copy-grid > p + p {
  align-self: start;
  margin-top: 0;
}

body.contact-page .contact-panel-note {
  margin-bottom: clamp(2px, 0.5vw, 7px);
  color: rgba(35, 31, 32, 0.78);
  font-size: clamp(1rem, 1.08vw, 1.08rem);
  line-height: 1.52;
}

body.contact-page .contact-panel-phone {
  display: inline-flex;
  align-items: baseline;
  width: max-content;
  max-width: 100%;
  white-space: nowrap;
  font-family: "Segoe UI", "Aptos", Raleway, Arial, sans-serif;
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1, "tnum" 1;
  font-synthesis: none;
  letter-spacing: 0.01em;
}

@media (max-width: 900px) {
  body.eir-page #enfoque-visual > .solution-visual-keys {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.eir-page #enfoque-visual > .solution-visual-keys span:nth-child(3) {
    border-left: 0;
    border-top: 1px solid rgba(35, 31, 32, 0.2);
  }

  body.eir-page #enfoque-visual > .solution-visual-keys span:nth-child(4) {
    border-top: 1px solid rgba(35, 31, 32, 0.2);
  }
}

@media (max-width: 680px) {
  .about-truck-break blockquote {
    inset: clamp(26px, 8vw, 38px) auto auto 50%;
    width: calc(100% - 44px);
    font-size: clamp(1.75rem, 7vw, 2.4rem);
    line-height: 1.08;
  }

  body.eir-page #enfoque-visual.solution-visual-story {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    gap: 24px;
  }

  body.eir-page #enfoque-visual .solution-visual-copy {
    grid-column: 1;
    grid-row: 1;
  }

  body.eir-page #enfoque-visual .solution-profile-media {
    grid-column: 1;
    grid-row: 2;
    height: clamp(230px, 68vw, 320px);
  }

  body.eir-page #enfoque-visual > .solution-visual-keys {
    grid-column: 1;
    grid-row: 3;
  }
}

@media (max-width: 520px) {
  body.eir-page #enfoque-visual > .solution-visual-keys {
    grid-template-columns: minmax(0, 1fr);
  }

  body.eir-page #enfoque-visual > .solution-visual-keys span + span {
    border-top: 1px solid rgba(35, 31, 32, 0.2);
    border-left: 0;
  }

  body.process-page #enfoque-visual .solution-visual-copy h2 {
    font-size: clamp(1.5rem, 7vw, 1.75rem);
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }
}

@media (max-width: 360px) {
  body.process-page #enfoque-visual.solution-visual-story {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto;
  }

  body.process-page #enfoque-visual .solution-profile-media {
    grid-column: 1;
    grid-row: 1;
    height: 150px;
  }

  body.process-page #enfoque-visual .solution-visual-copy {
    grid-column: 1;
    grid-row: 2;
  }
}

/* Entrada editorial de titulares, introducciones y CTA principales. */
[data-text-reveal] {
  --text-reveal-delay: 0ms;
}

.text-reveal-ready [data-text-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 560ms cubic-bezier(.22, 1, .36, 1),
    transform 560ms cubic-bezier(.22, 1, .36, 1);
  transition-delay: var(--text-reveal-delay);
}

.text-reveal-ready [data-text-reveal].is-text-revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .text-reveal-ready [data-text-reveal] {
    opacity: 1;
    transform: none;
        transition: none;
  }
}

/* Revisión Home · preview 2026-09-03 · ronda 13 */
body.home-page .solar-core {
  padding: clamp(14px, 1.6vw, 19px);
  border-color: rgba(255, 255, 255, 0.34);
  background: var(--wine);
}

body.home-page .solar-core-mark {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  background: none;
  -webkit-mask: none;
  mask: none;
}

body.home-page .home-values-list::before {
  border-right: 0;
}

@media (max-width: 600px) {
  body.home-page .home-hero {
    min-height: clamp(580px, 74svh, 660px);
  }

  body.home-page .home-hero-content {
    padding-top: 104px;
    padding-bottom: 56px;
  }

  body.home-page .home-hero-overlay {
    background:
      linear-gradient(90deg, rgba(0, 0, 0, 0.66) 0%, rgba(0, 0, 0, 0.4) 68%, rgba(0, 0, 0, 0.12) 100%),
      linear-gradient(0deg, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.08) 70%);
  }

  body.home-page .home-hero-content h1 {
    text-shadow: 0 3px 24px rgba(0, 0, 0, 0.58);
  }

  body.home-page .to-be-video-section .home-video-frame {
    min-height: 0;
  }

  body.home-page .home-values-section {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  body.home-page .home-values-intro {
    grid-column: 1;
    grid-row: 1;
  }

  body.home-page .home-values-technology {
    grid-column: 1;
    grid-row: 2;
    justify-self: end;
    width: min(48vw, 170px);
    margin-top: 2px;
  }

  body.home-page .home-values-technology img {
    width: 100%;
    height: clamp(140px, 39vw, 168px);
  }

  body.home-page .home-values-list {
    grid-column: 1;
    grid-row: 3;
    margin-top: 2px;
  }

  body.home-page .site-solar-system {
    width: min(60vw, 228px);
  }

  body.home-page .solar-core {
    width: 68px;
    padding: 13px;
  }

  body.home-page .solar-area {
    width: 78px;
    padding: 7px;
    font-size: 0.51rem;
  }

  body.home-page .solar-planet {
    width: 44px;
    padding: 4px;
    font-size: 0.43rem;
  }

  body.home-page .solar-planet:hover,
  body.home-page .solar-planet:focus-visible {
    width: 48px;
  }
}

/* Revisión Nosotros, Legal y Blog · preview 2026-09-03 · ronda 14 */
@media (min-width: 761px) {
  /* El menú solo nace del activador real; mantiene continuidad al entrar en el panel. */
  .site-header .nav-dropdown:hover .dropdown-menu,
  .site-header .nav-dropdown:focus-within .dropdown-menu {
    display: none;
  }

  .site-header .nav-dropdown-trigger:hover + .dropdown-menu,
  .site-header .nav-dropdown:has(.nav-dropdown-trigger:focus-visible) .dropdown-menu,
  .site-header .dropdown-menu:hover,
  .site-header .dropdown-menu:focus-within {
    display: grid;
  }
}

@media (min-width: 821px) {
  .knowledge-tree-section {
    padding-bottom: clamp(34px, 3.2vw, 58px);
  }
}

.blog-card-published .blog-card-media img {
  object-fit: contain;
  object-position: center;
}

.blog-card-published:hover .blog-card-media img,
.blog-card-published:focus-within .blog-card-media img {
  transform: none;
}

/* Los objetivos conservan siempre su contenido; no dependen del reveal editorial. */
.text-reveal-ready .about-objectives [data-text-reveal] {
  opacity: 1;
  transform: none;
  transition: none;
}

@media (max-width: 680px) {
  .about-text-only h2 {
    max-width: 100%;
    font-size: clamp(2rem, 9.2vw, 2.35rem);
    line-height: 0.98;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
    text-wrap: balance;
  }

  .about-walking-visual {
    display: grid;
    min-height: 0;
    overflow: visible;
    background: #f3f1ed;
  }

  .about-walking-visual > img {
    width: 100%;
    height: clamp(250px, 78vw, 310px);
    object-fit: cover;
    object-position: center;
  }

  .about-text-only .about-key-data {
    position: static;
    display: grid;
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    margin: 0;
    overflow: visible;
    background: rgba(255, 255, 255, 0.24);
  }

  .about-text-only .about-key-data article {
    display: flex;
    min-width: 0;
    min-height: 154px;
    flex-direction: column;
    justify-content: flex-start;
    gap: 8px;
    padding: 15px 10px 16px;
    background: #702c36;
    border: 0;
  }

  .about-text-only .about-key-data strong {
    font-size: clamp(1.45rem, 6.5vw, 1.8rem);
    line-height: 1;
  }

  .about-text-only .about-key-data span {
    font-size: clamp(0.66rem, 2.75vw, 0.74rem);
    line-height: 1.36;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }

  .hand-collection-section[aria-label="Confianza y crecimiento"] .hand-collection-item {
    min-height: clamp(350px, 96vw, 390px);
    padding: 26px var(--mobile-gutter) clamp(172px, 47vw, 198px);
  }

  .hand-collection-section[aria-label="Confianza y crecimiento"] .hand-collection-item img,
  .hand-collection-section[aria-label="Confianza y crecimiento"] .hand-collection-item:first-child img,
  .hand-collection-section[aria-label="Confianza y crecimiento"] .hand-collection-item:nth-child(2) img {
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: clamp(172px, 47vw, 198px);
    object-fit: contain;
    object-position: center bottom;
  }

  .hand-collection-section[aria-label="Confianza y crecimiento"] .hand-collection-item:nth-child(2) img {
    object-position: right bottom;
  }

  .objective-outline-item,
  .objective-outline-item:nth-child(even) {
    grid-template-columns: minmax(0, 1fr);
    padding: 16px 0;
  }

  .objective-outline-item h3,
  .objective-outline-item:nth-child(even) h3 {
    display: grid;
    grid-column: 1 !important;
    width: 100%;
    grid-template-columns: minmax(0, 1fr) 42px;
    align-items: center;
    gap: 14px;
    color: transparent !important;
    font-size: clamp(1.45rem, 7vw, 2rem);
    line-height: 1.05;
    text-align: left;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }

  .objective-outline-item h3:focus-visible {
    outline: 2px solid var(--wine);
    outline-offset: 5px;
  }

  .objective-outline-item h3::before,
  .objective-outline-item:nth-child(even) h3::before {
    display: none;
  }

  .objective-outline-item h3::after,
  .objective-outline-item:nth-child(even) h3::after {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    justify-self: end;
    color: var(--wine);
    background: transparent;
    border: 0;
    font-size: 1.35rem;
    line-height: 1;
    -webkit-text-stroke: 0;
  }

  .objective-outline-item.is-open h3 {
    color: var(--wine) !important;
    opacity: 1;
    transform: none;
  }

  .objective-outline-item > p,
  .objective-outline-item:nth-child(even) > p {
    width: 100%;
    max-width: 42ch;
    margin: 10px 0 0;
    padding: 0 56px 0 0;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  html:not(.compact-accordion-ready) .objective-outline-item > p,
  html:not(.compact-accordion-ready) .objective-outline-item:nth-child(even) > p {
    display: block;
  }

  body.defense-page-redesign #enfoque-visual.solution-visual-story {
    grid-template-columns: minmax(94px, 0.44fr) minmax(0, 1.56fr);
    grid-template-rows: auto auto auto auto;
    column-gap: 12px;
    row-gap: 18px;
    padding: 46px var(--mobile-gutter) 52px;
  }

  body.defense-page-redesign #enfoque-visual .solution-profile-media {
    grid-column: 1;
    grid-row: 1 / 4;
    width: 100%;
    height: clamp(205px, 58vw, 235px);
    overflow: visible;
  }

  body.defense-page-redesign #enfoque-visual .solution-profile-media img {
    width: 120%;
    max-width: none;
    height: 100%;
    object-fit: contain;
    object-position: left top;
    transform: translateX(-5%);
  }

  body.defense-page-redesign #enfoque-visual .solution-visual-copy {
    display: contents;
  }

  body.defense-page-redesign #enfoque-visual .solution-visual-copy h2 {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    margin: 0;
    font-size: clamp(1.75rem, 8vw, 2.25rem);
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }

  body.defense-page-redesign #enfoque-visual .solution-visual-copy > p {
    grid-column: 2;
    min-width: 0;
    margin: 0;
    overflow-wrap: break-word;
  }

  body.defense-page-redesign #enfoque-visual .solution-visual-copy > p:first-of-type {
    grid-row: 2;
  }

  body.defense-page-redesign #enfoque-visual .solution-visual-copy > p:nth-of-type(2) {
    grid-row: 3;
  }

  body.defense-page-redesign #enfoque-visual .solution-visual-keys {
    grid-column: 1 / -1;
    grid-row: 4;
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 4px 0 0;
  }

  body.defense-page-redesign #enfoque-visual .solution-visual-keys span {
    min-width: 0;
    min-height: 50px;
    padding: 10px 7px;
    font-size: clamp(0.66rem, 2.8vw, 0.76rem);
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }
}

@media (max-width: 350px) {
  .about-text-only h2 {
    font-size: clamp(1.85rem, 9vw, 2rem);
  }

  .about-text-only .about-key-data {
    grid-template-columns: 1fr;
  }

  .about-text-only .about-key-data article {
    min-height: 0;
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    align-items: center;
    padding: 13px 14px;
  }

  body.defense-page-redesign #enfoque-visual.solution-visual-story {
    grid-template-columns: minmax(0, 1fr);
  }

  body.defense-page-redesign #enfoque-visual .solution-profile-media,
  body.defense-page-redesign #enfoque-visual .solution-visual-copy h2,
  body.defense-page-redesign #enfoque-visual .solution-visual-copy > p,
  body.defense-page-redesign #enfoque-visual .solution-visual-keys {
    grid-column: 1;
  }

  body.defense-page-redesign #enfoque-visual .solution-profile-media {
    grid-row: 1;
    height: 210px;
  }

  body.defense-page-redesign #enfoque-visual .solution-profile-media img {
    width: 100%;
    transform: none;
  }

  body.defense-page-redesign #enfoque-visual .solution-visual-copy h2 {
    grid-row: 2;
  }

  body.defense-page-redesign #enfoque-visual .solution-visual-copy > p:first-of-type {
    grid-row: 3;
  }

  body.defense-page-redesign #enfoque-visual .solution-visual-copy > p:nth-of-type(2) {
    grid-row: 4;
  }

  body.defense-page-redesign #enfoque-visual .solution-visual-keys {
    grid-row: 5;
  }
}

/* Consultoría, Soluciones, EIR y navegación · preview 2026-09-03 · ronda 18 */
@media (min-width: 761px) {
  /* El área sensible coincide con el activador; el pseudo-elemento solo salva el hueco hasta el panel. */
  .site-header .nav-dropdown {
    position: relative;
  }

  .site-header .nav-dropdown::after {
    top: 100%;
    left: 0;
    right: 0;
    height: clamp(29px, 2.4vw, 36px);
  }

  .site-header .nav-dropdown:hover .dropdown-menu,
  .site-header .nav-dropdown:focus-within .dropdown-menu {
    display: grid;
  }
}

body.solutions-page .solution-overview-grid .solution-tile h3,
body.solutions-page .solution-overview-grid .solution-tile span {
  max-width: 100%;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}

body.solutions-page .solution-overview-grid .solution-tile h3 {
  font-size: clamp(1.25rem, 1.7vw, 2rem);
  line-height: 1.04;
  text-wrap: balance;
}

body.solutions-page .solution-overview-grid .solution-tile:nth-child(2) h3,
body.solutions-page .solution-overview-grid .solution-tile:nth-child(3) h3 {
  font-size: clamp(1.15rem, 1.48vw, 1.75rem);
}

body.solutions-page main > .solutions-keyword-marquee {
  display: none;
}

/* Sin línea horizontal entre los pasos en escritorio. */
body.eir-page .eir-process-flow::before {
  display: none;
}

body.eir-page .eir-process-step {
  border-top: 0;
}

@media (min-width: 901px) {
  body.eir-page .eir-requirements h3 {
    margin-bottom: clamp(42px, 4.8vw, 64px);
  }

  body.eir-page .eir-benefit-card h3 {
    margin-bottom: clamp(14px, 1.4vw, 22px);
  }
}

@media (max-width: 680px) {
  body.consulting-page #enfoque-visual.solution-visual-story {
    grid-template-columns: minmax(0, 1.08fr) minmax(132px, 0.92fr);
    grid-template-rows: auto auto auto;
    column-gap: clamp(14px, 4vw, 20px);
    row-gap: 24px;
    padding-right: var(--mobile-gutter);
  }

  body.consulting-page #enfoque-visual .solution-visual-copy {
    display: contents;
  }

  body.consulting-page #enfoque-visual .solution-visual-copy h2 {
    grid-column: 1 / -1;
    grid-row: 1;
    max-width: 100%;
    font-size: clamp(2rem, 9.2vw, 2.55rem);
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
  }

  body.consulting-page #enfoque-visual .solution-visual-copy > p {
    grid-column: 1;
    grid-row: 2;
    min-width: 0;
    margin: 0;
  }

  body.consulting-page #enfoque-visual .solution-profile-media {
    position: relative;
    grid-column: 2;
    grid-row: 2;
    width: 100%;
    min-height: 0;
    height: clamp(235px, 66vw, 270px);
    align-self: start;
    overflow: hidden;
  }

  body.consulting-page #enfoque-visual .solution-profile-media img,
  body.consulting-page #enfoque-visual:hover .solution-profile-media img {
    position: absolute;
    top: 8px;
    left: 50%;
    width: 240%;
    height: auto;
    max-width: none;
    max-height: none;
    transform: translateX(-50%);
  }

  body.consulting-page #enfoque-visual .solution-visual-keys {
    grid-column: 1 / -1;
    grid-row: 3;
    width: 100%;
  }

  .consulting-aircraft-break {
    height: clamp(440px, 122vw, 500px);
  }

  .consulting-aircraft-break img {
    object-position: center;
  }

  .consulting-aircraft-break blockquote {
    top: clamp(28px, 8vw, 36px);
    left: var(--mobile-gutter);
    width: calc(100% - (2 * var(--mobile-gutter)));
    font-size: clamp(1.9rem, 9vw, 2.85rem);
    line-height: 0.94;
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
  }

  body.solutions-page .solution-overview-grid .solution-tile h3,
  body.solutions-page .solution-overview-grid .solution-tile:nth-child(2) h3,
  body.solutions-page .solution-overview-grid .solution-tile:nth-child(3) h3 {
    font-size: clamp(1.22rem, 5.8vw, 1.65rem);
    line-height: 1.06;
  }

  body.eir-page #enfoque-visual.solution-visual-story {
    grid-template-columns: minmax(102px, 0.46fr) minmax(0, 1.54fr);
    grid-template-rows: auto auto auto auto;
    column-gap: clamp(14px, 4vw, 20px);
    row-gap: 16px;
    align-items: start;
  }

  body.eir-page #enfoque-visual .solution-visual-copy {
    display: contents;
  }

  body.eir-page #enfoque-visual .solution-visual-copy h2 {
    grid-column: 2;
    grid-row: 1;
    max-width: 100%;
    margin: 0;
    font-size: clamp(1.68rem, 7.2vw, 2.15rem);
    line-height: 0.96;
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
  }

  body.eir-page #enfoque-visual .solution-visual-copy > p {
    grid-column: 2;
    min-width: 0;
    margin: 0;
    overflow-wrap: break-word;
  }

  body.eir-page #enfoque-visual .solution-visual-copy > p:first-of-type {
    grid-row: 2;
  }

  body.eir-page #enfoque-visual .solution-visual-copy > p:nth-of-type(2) {
    grid-row: 3;
  }

  body.eir-page #enfoque-visual .solution-profile-media {
    position: relative;
    grid-column: 1;
    grid-row: 1 / 4;
    width: 100%;
    height: clamp(230px, 66vw, 280px);
    align-self: start;
    overflow: hidden;
  }

  body.eir-page #enfoque-visual .solution-profile-media img {
    position: absolute;
    top: 8px;
    left: 50%;
    width: 300%;
    height: auto;
    max-width: none;
    max-height: none;
    object-fit: initial;
    transform: translateX(-50%);
  }

  body.eir-page #enfoque-visual > .solution-visual-keys {
    grid-column: 1 / -1;
    grid-row: 4;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    margin-top: 4px;
  }

  body.eir-page .eir-process-flow {
    padding-left: 68px;
  }

  body.eir-page .eir-process-flow::before {
    display: block;
    top: 28px;
    right: auto;
    bottom: 28px;
    left: 29px;
    width: 2px;
    height: auto;
    background: #b9b6b2;
  }

  body.eir-page .eir-process-step,
  body.eir-page .eir-process-step:nth-child(even) {
    min-height: 0;
    height: auto;
    padding: 26px 24px;
    overflow: visible;
    border: 1px solid rgba(35, 31, 32, 0.08);
    background: #fff;
  }

  body.eir-page .eir-process-step:nth-child(even) {
    background: #efefec;
  }

  body.eir-page .eir-process-number {
    top: 24px;
    left: -68px;
  }

  body.eir-page .eir-benefit-card {
    height: auto;
    min-height: 0;
    overflow: visible;
    clip-path: none;
  }

  body.eir-page .eir-requirements,
  body.eir-page .eir-benefits-panel,
  body.eir-page .eir-benefits {
    height: auto;
    min-height: 0;
  }
}

@media (max-width: 340px) {
  body.consulting-page #enfoque-visual.solution-visual-story {
    grid-template-columns: minmax(0, 1fr) minmax(108px, 0.78fr);
  }

  body.consulting-page #enfoque-visual .solution-visual-copy h2 {
    font-size: clamp(1.82rem, 9vw, 2rem);
  }

  body.eir-page #enfoque-visual.solution-visual-story {
    grid-template-columns: minmax(88px, 0.45fr) minmax(0, 1.55fr);
  }

  body.eir-page #enfoque-visual > .solution-visual-keys {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* EIR, Mejora, Blog y zonas seguras · preview 2026-09-03 · ronda 19 */
body.eir-page .eir-workflow-strip {
  padding-top: clamp(44px, 4.5vw, 68px);
}

body.process-page .hand-feature-section {
  padding-bottom: 0;
}

/* La cabecera corporativa usa un único color compartido en sus estados sólidos. */
.site-header.is-scrolled,
.site-header.is-open,
.site-header:focus-within,
.site-header.is-solid {
  background-color: var(--wine);
}

.site-header.is-solid,
.site-header.is-solid:not(.is-scrolled):not(.is-open):not(:focus-within) {
  background: var(--wine);
  background-image: none;
  border-bottom-color: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(16px);
}

.site-header.is-solid .brand-logo,
.site-header.is-solid:not(.is-scrolled):not(.is-open):not(:focus-within) .brand-logo {
  content: image-set(url("assets/responsive/logo-guiex-blanco-192w.webp?v=c91f80abc1") 1x, url("assets/responsive/logo-guiex-blanco-384w.webp?v=17062e8ec9") 2x, url("assets/responsive/logo-guiex-blanco-576w.webp?v=e1f975050c") 3x);
}

/* Safe areas: env() vale cero en dispositivos sin muesca y no añade aire artificial. */
.site-header {
  padding-top: calc(18px + env(safe-area-inset-top, 0px));
  padding-right: max(clamp(18px, 4vw, 56px), env(safe-area-inset-right, 0px));
  padding-left: max(clamp(18px, 4vw, 56px), env(safe-area-inset-left, 0px));
}

@media (max-width: 760px) {
  .site-header {
    min-height: calc(68px + env(safe-area-inset-top, 0px));
    padding-top: calc(10px + env(safe-area-inset-top, 0px));
    padding-right: max(18px, env(safe-area-inset-right, 0px));
    padding-bottom: 10px;
    padding-left: max(18px, env(safe-area-inset-left, 0px));
  }

  .site-nav {
    max-height: calc(100dvh - 68px - env(safe-area-inset-top, 0px));
    padding-right: max(18px, env(safe-area-inset-right, 0px));
    padding-bottom: calc(18px + env(safe-area-inset-bottom, 0px));
    padding-left: max(18px, env(safe-area-inset-left, 0px));
    background-color: var(--wine);
  }

  .menu-button {
    top: calc(14px + env(safe-area-inset-top, 0px));
    right: max(18px, env(safe-area-inset-right, 0px));
  }

  body.process-page #enfoque-visual.solution-visual-story {
    grid-template-columns: minmax(108px, 0.52fr) minmax(0, 1.48fr);
    grid-template-rows: auto auto auto auto;
    column-gap: clamp(16px, 4.8vw, 22px);
    row-gap: 18px;
    align-items: start;
  }

  body.process-page #enfoque-visual .solution-visual-copy {
    display: contents;
  }

  body.process-page #enfoque-visual .solution-profile-media {
    position: relative;
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    height: clamp(185px, 52vw, 225px);
    overflow: hidden;
  }

  body.process-page #enfoque-visual .solution-profile-media img {
    position: absolute;
    top: 0;
    left: 50%;
    width: 250%;
    height: auto;
    max-width: none;
    max-height: none;
    object-fit: initial;
    transform: translateX(-50%);
  }

  body.process-page #enfoque-visual .solution-visual-copy h2 {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    max-width: 100%;
    margin: 0;
    font-size: clamp(1.65rem, 7.6vw, 2.15rem);
    line-height: 0.98;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }

  body.process-page #enfoque-visual .solution-visual-copy > p {
    grid-column: 1 / -1;
    width: 100%;
    max-width: none;
    min-width: 0;
    margin: 0;
  }

  body.process-page #enfoque-visual .solution-visual-copy > p:first-of-type {
    grid-row: 2;
  }

  body.process-page #enfoque-visual .solution-visual-copy > p:nth-of-type(2) {
    grid-row: 3;
  }

  body.process-page #enfoque-visual .solution-visual-keys {
    grid-column: 1 / -1;
    grid-row: 4;
    width: 100%;
    max-width: none;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 4px 0 0;
  }

  .blog-article-header h1 {
    max-width: 100%;
    font-size: clamp(2rem, 10.2vw, 3rem);
    text-wrap: wrap;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }

  body.policy-page .page-hero h1 {
    max-width: 100%;
    font-size: clamp(1.65rem, 8.6vw, 2.4rem);
    text-wrap: wrap;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }
}

@media (max-width: 340px) {
  body.process-page #enfoque-visual.solution-visual-story {
    grid-template-columns: minmax(92px, 0.48fr) minmax(0, 1.52fr);
  }

  body.process-page #enfoque-visual .solution-profile-media {
    grid-column: 1;
    grid-row: 1;
    height: 178px;
  }

  body.process-page #enfoque-visual .solution-visual-copy {
    display: contents;
  }

  body.process-page #enfoque-visual .solution-visual-copy h2 {
    grid-column: 2;
    grid-row: 1;
    font-size: clamp(1.45rem, 7.5vw, 1.7rem);
  }

  body.process-page #enfoque-visual .solution-visual-keys {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Home, Nosotros, navegación y Consultoría · preview 2026-09-03 · ronda 20 */
body.home-page .solar-core {
  border-color: rgba(112, 44, 54, 0.22);
  background: rgba(248, 242, 238, 0.98);
}

body.home-page .solar-core-mark {
  background: transparent;
}

@media (min-width: 761px) {
  .site-header .dropdown-menu {
    grid-template-rows: repeat(4, minmax(clamp(64px, 5vw, 76px), auto));
  }

  .site-header .dropdown-menu a,
  .site-header .dropdown-menu a:first-of-type,
  .site-header .dropdown-menu a:last-of-type {
    min-height: 0;
    align-items: center;
    padding: 18px clamp(28px, 4vw, 56px);
  }

  body.consulting-page #enfoque-visual.solution-visual-story {
    grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.22fr);
  }

  body.consulting-page #enfoque-visual .solution-visual-copy {
    width: 100%;
    max-width: none;
  }

  body.consulting-page #enfoque-visual .solution-visual-copy h2 {
    max-width: 17ch;
  }

  body.consulting-page #enfoque-visual .solution-visual-copy > p {
    max-width: 60ch;
  }

  body.consulting-page #enfoque-visual .solution-visual-keys {
    width: 100%;
    max-width: none;
  }
}

@media (max-width: 760px) {
  .site-header.is-open .site-nav {
    width: 100%;
    grid-template-columns: minmax(0, 1fr);
    justify-content: stretch;
    align-items: stretch;
    gap: 2px;
    padding-top: 10px;
  }

  .site-nav > a,
  .site-nav > .nav-dropdown,
  .site-nav > .language-switcher {
    width: 100%;
    min-width: 0;
    justify-self: stretch;
  }

  .site-nav > a,
  .site-nav .nav-dropdown-trigger {
    min-height: 44px;
    padding: 10px 12px;
  }

  .site-nav .nav-dropdown .dropdown-menu {
    position: static;
    left: auto;
    right: auto;
    width: 100%;
    min-width: 0;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    margin: 2px 0 4px;
    padding: 2px 0 4px;
    overflow: visible;
  }

  .site-nav .nav-dropdown .dropdown-menu::before {
    display: none;
  }

  .site-nav .nav-dropdown .dropdown-menu a,
  .site-nav .nav-dropdown .dropdown-menu a:first-of-type,
  .site-nav .nav-dropdown .dropdown-menu a:last-of-type {
    grid-column: 1;
    min-height: 46px;
    padding: 12px;
  }

  .site-nav .nav-dropdown.is-open .nav-dropdown-trigger {
    color: #fff !important;
    text-transform: uppercase;
  }

  .site-nav:has(.nav-dropdown.is-open) > a,
  .site-nav:has(.nav-dropdown.is-open) > .language-switcher {
    display: none;
  }
}

@media (max-width: 680px) {
  .about-text-only .about-walking-visual {
    position: relative;
    display: block;
    min-height: clamp(390px, 112vw, 440px);
    overflow: hidden;
    background: #f3f1ed;
  }

  .about-text-only .about-walking-visual > img {
    width: 100%;
    height: 100%;
    min-height: clamp(390px, 112vw, 440px);
    object-fit: cover;
    object-position: center;
  }

  .about-text-only .about-key-data {
    position: absolute;
    right: 12px;
    bottom: 12px;
    left: 12px;
    z-index: 2;
    display: grid;
    width: auto;
    grid-template-columns: minmax(0, 1fr);
    gap: 1px;
    margin: 0;
    overflow: hidden;
    background: rgba(112, 44, 54, 0.34);
    border: 1px solid rgba(112, 44, 54, 0.48);
    box-shadow: 0 18px 42px rgba(35, 31, 32, 0.16);
  }

  .about-text-only .about-key-data article {
    display: grid;
    min-width: 0;
    min-height: 0;
    grid-template-columns: clamp(62px, 19vw, 74px) minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    color: #231f20;
    background: rgba(251, 250, 247, 0.94);
    border: 0;
    box-shadow: none;
  }

  .about-text-only .about-key-data strong {
    color: var(--wine);
    font-size: clamp(1.4rem, 6.4vw, 1.7rem);
    line-height: 1;
  }

  .about-text-only .about-key-data span {
    min-height: 0;
    padding: 0;
    color: rgba(35, 31, 32, 0.76);
    background: transparent;
    font-size: clamp(0.68rem, 2.8vw, 0.76rem);
    line-height: 1.3;
    text-align: left;
  }

  .objective-outline-item:hover h3,
  .objective-outline-item:focus-within h3,
  .objective-outline-item.is-open h3 {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .objective-outline-item:hover > img,
  .objective-outline-item:focus-within > img,
  .objective-outline-item.is-open > img {
    opacity: 1;
    transform: none;
  }

  .objective-outline-item:nth-child(3) h3 {
    text-align: right;
  }

  .objective-outline-item.is-open > p {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  body.consulting-page #enfoque-visual .solution-profile-media,
  body.consulting-page #enfoque-visual .solution-profile-media img,
  body.consulting-page #enfoque-visual:hover .solution-profile-media img {
    box-shadow: none;
    filter: none;
  }

  body.consulting-page #enfoque-visual:hover .solution-profile-media img {
    transform: translateX(-50%);
  }
}

/* EIR, Mejora y Home · preview 2026-09-04 · ronda 21 */
body.eir-page .eir-process-step:nth-child(odd) {
  background: #fff;
}

body.eir-page .eir-process-step:nth-child(even) {
  background: #efefec;
}

@media (min-width: 681px) {
  body.eir-page #enfoque-visual.solution-visual-story {
    grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.96fr);
    row-gap: clamp(16px, 1.5vw, 22px);
  }

  body.eir-page #enfoque-visual .solution-visual-copy h2 {
    font-size: clamp(3.4rem, 4.7vw, 5.15rem);
    line-height: 0.91;
  }

  body.eir-page #enfoque-visual .solution-profile-media {
    height: clamp(360px, 27vw, 430px);
  }

  body.eir-page #enfoque-visual .solution-profile-media img {
    flex: 0 0 auto;
    width: min(120%, 760px);
    height: auto;
    max-width: none;
    max-height: none;
    object-fit: initial;
  }

  body.eir-page .eir-process-flow::before {
    display: block;
    top: 28px;
    z-index: 0;
    height: 2px;
    background: rgba(130, 36, 51, 0.48);
  }

  body.eir-page .eir-process-step::after {
    display: none;
  }
}

@media (min-width: 761px) {
  body.process-page #enfoque-visual .solution-visual-copy h2 {
    font-size: clamp(3.6rem, 5.1vw, 5.8rem);
    line-height: 0.9;
  }

  body.process-page #enfoque-visual .solution-profile-media {
    height: clamp(420px, 33vw, 500px);
  }

  body.process-page #enfoque-visual .solution-profile-media img {
    flex: 0 0 auto;
    width: min(116%, 820px);
    height: auto;
    max-width: none;
    max-height: none;
    object-fit: initial;
  }
}

@media (max-width: 680px) {
  body.eir-page #enfoque-visual.solution-visual-story {
    grid-template-columns: minmax(112px, 0.78fr) minmax(0, 1.22fr);
    grid-template-rows: auto auto auto auto;
    column-gap: clamp(14px, 4.5vw, 18px);
    row-gap: clamp(16px, 4.5vw, 20px);
  }

  body.eir-page #enfoque-visual .solution-visual-copy {
    display: contents;
  }

  body.eir-page #enfoque-visual .solution-visual-copy h2 {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    font-size: clamp(1.72rem, 7.35vw, 2.1rem);
    line-height: 0.96;
  }

  body.eir-page #enfoque-visual .solution-visual-copy > p {
    grid-column: 1 / -1;
    width: 100%;
    max-width: none;
  }

  body.eir-page #enfoque-visual .solution-visual-copy > p:first-of-type {
    grid-row: 2;
  }

  body.eir-page #enfoque-visual .solution-visual-copy > p:nth-of-type(2) {
    grid-row: 3;
  }

  body.eir-page #enfoque-visual .solution-profile-media {
    grid-column: 1;
    grid-row: 1;
    height: clamp(158px, 45vw, 190px);
    overflow: hidden;
  }

  body.eir-page #enfoque-visual .solution-profile-media img {
    top: 0;
    width: 250%;
    height: auto;
  }

  body.eir-page #enfoque-visual > .solution-visual-keys {
    grid-column: 1 / -1;
    grid-row: 4;
  }

  body.eir-page .eir-process-flow {
    --eir-mobile-flow-gap: clamp(18px, 5vw, 22px);
    gap: var(--eir-mobile-flow-gap);
  }

  body.eir-page .eir-process-flow::before {
    display: none;
  }

  body.eir-page .eir-process-step:not(:last-child)::after {
    display: block;
    top: 51px;
    bottom: calc(-1 * (var(--eir-mobile-flow-gap) + 51px));
    left: -41px;
    z-index: 0;
    width: 2px;
    border: 0;
    background: #b9b6b2;
    content: "";
  }

  body.eir-page .eir-process-step:last-child::after {
    display: none;
  }
}

@media (max-width: 760px) {
  body.process-page .hand-feature-section {
    background-color: #f3f1ed;
    background-image: linear-gradient(180deg, #fbfaf7 0%, #f3f1ed 100%);
  }

  body.process-page #enfoque-visual.solution-visual-story {
    border-top: 0;
    background-color: #f3f1ed;
    background-image: linear-gradient(180deg, #f3f1ed 0%, #f4f3f0 100%);
    box-shadow: none;
  }

  body.process-page #enfoque-visual.solution-visual-story::before {
    display: none;
  }
}

@media (max-width: 600px) {
  body.home-page .home-values-section {
    row-gap: 8px;
  }

  body.home-page .home-values-technology,
  body.home-page .home-values-list {
    margin-top: 0;
  }
}

/* Nosotros · Árbol del Conocimiento realista · preview 2026-09-04 · ronda 22 */
.knowledge-tree-layout {
  grid-template-columns: minmax(0, 1.65fr) minmax(290px, 0.55fr);
  gap: clamp(24px, 3vw, 48px);
}

.knowledge-tree-visual {
  width: min(850px, 100%);
  aspect-ratio: 3 / 2;
}

.knowledge-tree-photo,
.knowledge-tree-highlight {
  position: absolute;
  inset: 0;
}

.knowledge-tree-photo {
  z-index: 1;
  isolation: isolate;
}

.knowledge-tree-photo-base,
.knowledge-tree-highlight img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter: grayscale(1);
  mix-blend-mode: multiply;
}

.knowledge-tree-photo-base {
  opacity: 0.86;
  filter: grayscale(1) contrast(1.04);
}

.knowledge-tree-highlight {
  z-index: 2;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 360ms ease;
}

.knowledge-tree-highlight img {
  filter: grayscale(1) brightness(1.58) contrast(0.9);
}

.knowledge-tree-highlight[data-tree-highlight="roots"] {
  clip-path: polygon(14% 82%, 86% 82%, 94% 100%, 6% 100%);
}

.knowledge-tree-highlight[data-tree-highlight="trunk"] {
  clip-path: polygon(36% 38%, 63% 38%, 67% 93%, 32% 93%);
}

.knowledge-tree-highlight[data-tree-highlight="branches"] {
  clip-path: polygon(4% 19%, 96% 19%, 96% 78%, 62% 84%, 38% 84%, 4% 78%);
}

.knowledge-tree-highlight[data-tree-highlight="leaves"] {
  clip-path: polygon(3% 0, 97% 0, 100% 73%, 65% 82%, 35% 82%, 0 73%);
}

.knowledge-tree-section[data-active-zone="roots"] [data-tree-highlight="roots"],
.knowledge-tree-section[data-active-zone="trunk"] [data-tree-highlight="trunk"],
.knowledge-tree-section[data-active-zone="branches"] [data-tree-highlight="branches"],
.knowledge-tree-section[data-active-zone="leaves"] [data-tree-highlight="leaves"] {
  opacity: 0.56;
}

.knowledge-tree-svg--legacy {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0 !important;
  visibility: hidden;
  pointer-events: none;
}

.knowledge-tree-visual::before {
  inset: 4% 4% 0;
  z-index: 0;
  background: radial-gradient(ellipse at 50% 58%, rgba(97, 97, 96, 0.08), transparent 66%);
}

.knowledge-tree-visual > .tree-zone {
  z-index: 5;
  width: min(190px, 24%);
  min-height: 44px;
  padding: 7px 9px;
  background: rgba(248, 247, 244, 0.78);
  border-bottom: 1px solid rgba(35, 31, 32, 0.22);
  text-shadow: none;
  backdrop-filter: blur(5px);
}

.knowledge-tree-visual > .tree-zone-roots {
  left: 2%;
  bottom: 1%;
}

.knowledge-tree-visual > .tree-zone-branches {
  left: 0;
  top: 45%;
}

.knowledge-tree-visual > .tree-zone-trunk {
  right: 0;
  bottom: 16%;
}

.knowledge-tree-visual > .tree-zone-leaves {
  right: 1%;
  top: 8%;
}

@media (max-width: 900px) {
  .knowledge-tree-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .knowledge-tree-panel {
    width: 100%;
    max-width: none;
  }
}

@media (max-width: 760px) {
  .knowledge-tree-visual {
    width: 100%;
    aspect-ratio: 3 / 2;
    margin-block: 8px 18px;
  }

  .knowledge-tree-photo-base {
    opacity: 0.9;
  }

  .knowledge-tree-visual > .tree-zone {
    width: min(126px, 36%);
    min-height: 46px;
    padding: 6px 7px;
    background: rgba(248, 247, 244, 0.84);
  }

  .knowledge-tree-visual > .tree-zone span {
    font-size: 0.6rem;
  }

  .knowledge-tree-visual > .tree-zone strong {
    font-size: clamp(0.68rem, 3vw, 0.78rem);
  }

  .knowledge-tree-visual > .tree-zone-roots {
    left: 0;
    bottom: -4%;
  }

  .knowledge-tree-visual > .tree-zone-branches {
    top: 43%;
  }

  .knowledge-tree-visual > .tree-zone-trunk {
    right: 0;
    bottom: 7%;
  }

  .knowledge-tree-visual > .tree-zone-leaves {
    right: 0;
    top: 2%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .knowledge-tree-highlight {
    transition: none;
  }
}

/* Nosotros · Árbol del Conocimiento anatómico · preview 2026-09-04 · ronda 26 */
.knowledge-tree-photo--v1-backup {
  display: none !important;
}

.knowledge-tree-visual {
  overflow: visible;
}

.knowledge-tree-photo-v2,
.knowledge-tree-v2-layer {
  position: absolute;
  inset: 0;
}

.knowledge-tree-photo-v2 {
  z-index: 1;
  pointer-events: none;
  transform: scale(1.04);
  transform-origin: 50% 100%;
}

.knowledge-tree-v2-base,
.knowledge-tree-v2-stage {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.knowledge-tree-v2-layer {
  z-index: 2;
  pointer-events: none;
  filter: none;
  box-shadow: none;
  backdrop-filter: none;
  mix-blend-mode: normal;
}

.knowledge-tree-v2-stage {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  filter: none;
  box-shadow: none;
  backdrop-filter: none;
  mix-blend-mode: normal;
  transition: opacity 460ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: 0ms;
}

.knowledge-tree-v2-stage[data-tree-stage="1"] {
  --tree-stage-delay: 0ms;
}

.knowledge-tree-v2-stage[data-tree-stage="2"] {
  --tree-stage-delay: 32ms;
}

.knowledge-tree-v2-stage[data-tree-stage="3"] {
  --tree-stage-delay: 64ms;
}

.knowledge-tree-v2-stage[data-tree-stage="4"] {
  --tree-stage-delay: 96ms;
}

.knowledge-tree-v2-stage[data-tree-stage="5"] {
  --tree-stage-delay: 128ms;
}

.knowledge-tree-v2-stage[data-tree-stage="6"] {
  --tree-stage-delay: 160ms;
}

.knowledge-tree-v2-stage[data-tree-stage="7"] {
  --tree-stage-delay: 192ms;
}

.knowledge-tree-v2-stage[data-tree-stage="8"] {
  --tree-stage-delay: 224ms;
}

.knowledge-tree-section[data-preview-zone="roots"] [data-tree-layer="roots"],
.knowledge-tree-section[data-preview-zone="trunk"] [data-tree-layer="trunk"],
.knowledge-tree-section[data-preview-zone="branches"] [data-tree-layer="branches"],
.knowledge-tree-section[data-preview-zone="leaves"] [data-tree-layer="leaves"],
.knowledge-tree-section[data-active-zone="roots"]:not([data-preview-zone]) [data-tree-layer="roots"],
.knowledge-tree-section[data-active-zone="trunk"]:not([data-preview-zone]) [data-tree-layer="trunk"],
.knowledge-tree-section[data-active-zone="branches"]:not([data-preview-zone]) [data-tree-layer="branches"],
.knowledge-tree-section[data-active-zone="leaves"]:not([data-preview-zone]) [data-tree-layer="leaves"] {
  filter: none;
  box-shadow: none;
}

.knowledge-tree-section[data-preview-zone="roots"] [data-tree-layer="roots"] .knowledge-tree-v2-stage,
.knowledge-tree-section[data-preview-zone="trunk"] [data-tree-layer="trunk"] .knowledge-tree-v2-stage,
.knowledge-tree-section[data-preview-zone="branches"] [data-tree-layer="branches"] .knowledge-tree-v2-stage,
.knowledge-tree-section[data-preview-zone="leaves"] [data-tree-layer="leaves"] .knowledge-tree-v2-stage,
.knowledge-tree-section[data-active-zone="roots"]:not([data-preview-zone]) [data-tree-layer="roots"] .knowledge-tree-v2-stage,
.knowledge-tree-section[data-active-zone="trunk"]:not([data-preview-zone]) [data-tree-layer="trunk"] .knowledge-tree-v2-stage,
.knowledge-tree-section[data-active-zone="branches"]:not([data-preview-zone]) [data-tree-layer="branches"] .knowledge-tree-v2-stage,
.knowledge-tree-section[data-active-zone="leaves"]:not([data-preview-zone]) [data-tree-layer="leaves"] .knowledge-tree-v2-stage {
  opacity: 1;
  transition-delay: var(--tree-stage-delay);
}

@media (max-width: 760px) {
  .knowledge-tree-photo-v2 {
    transform: scale(1.035);
  }
}

@media (prefers-reduced-motion: reduce) {
  .knowledge-tree-v2-stage[data-tree-stage] {
    --tree-stage-delay: 0ms;
    transition: none;
    transition-delay: 0ms;
  }
}

/* ── El equipo (Nosotros): carrusel horizontal con realce al pasar el ratón (2026-09-07) ── */
.team-section {
  overflow: hidden;
  background: var(--paper);
}

.team-heading {
  max-width: 890px;
}

.team-heading .eyebrow {
  margin-bottom: 14px;
}

.team-heading p:not(.eyebrow) {
  max-width: 640px;
  color: var(--gray);
}

.team-carousel {
  position: relative;
}

.team-track {
  display: flex;
  gap: clamp(16px, 2vw, 28px);
  margin-right: calc(-1 * clamp(22px, 6vw, 84px));
  padding: 12px 0 18px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 0;
  scrollbar-width: none;
  cursor: grab;
  -webkit-overflow-scrolling: touch;
}

.team-track::-webkit-scrollbar {
  display: none;
}

.team-track.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  user-select: none;
}

.team-track:focus-visible {
  outline: 2px solid var(--wine);
  outline-offset: 6px;
}

.team-card {
  flex: 0 0 clamp(220px, 22vw, 300px);
  scroll-snap-align: start;
  transition: opacity 0.45s ease, transform 0.45s ease;
}

@media (hover: hover) {
  .team-track:hover .team-card:not(:hover) {
    opacity: 0.55;
  }
}

.team-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--soft);
}

.team-track img {
  -webkit-user-drag: none;
  user-select: none;
  pointer-events: none;
}

.team-track,
.team-card {
  user-select: none;
  -webkit-user-select: none;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(1);
  transform: scale(1.001);
  transition: filter 0.5s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.team-photo::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 4px;
  background: var(--wine);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.team-card:focus-within .team-photo img {
  filter: grayscale(0);
  transform: scale(1.05);
}

.team-card:focus-within .team-photo::after {
  transform: scaleX(1);
}

@media (hover: hover) {
  .team-card:hover .team-photo img {
    filter: grayscale(0);
    transform: scale(1.05);
  }

  .team-card:hover .team-photo::after {
    transform: scaleX(1);
  }

  .team-card:hover {
    transform: translateY(-6px);
  }
}

.team-card h3 {
  margin: 16px 0 4px;
  font-size: 1.05rem;
  line-height: 1.2;
  color: var(--graphite);
}

.team-card > p {
  margin: 0;
  color: var(--gray);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.team-controls {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 22px;
}

.team-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--gray);
  cursor: pointer;
  transition: color 0.25s ease, opacity 0.25s ease;
}

.team-arrow svg {
  width: 22px;
  height: 22px;
}

.team-arrow svg path {
  stroke-width: 1.6;
  transition: stroke-width 0.2s ease;
}

.team-arrow:hover:not(:disabled),
.team-arrow:focus-visible {
  color: var(--wine);
  outline: none;
}

.team-arrow:hover:not(:disabled) svg path,
.team-arrow:focus-visible svg path {
  stroke-width: 3;
}

.team-arrow:disabled {
  opacity: 0.3;
  cursor: default;
}

.team-progress {
  position: relative;
  flex: 1 1 auto;
  height: 2px;
  background: rgba(97, 97, 96, 0.18);
  cursor: grab;
}

.team-progress::before {
  content: "";
  position: absolute;
  inset: -14px 0;
}

.team-progress.is-scrubbing {
  cursor: grabbing;
}

.team-progress.is-scrubbing span {
  transition: none;
}

.team-progress span {
  display: block;
  height: 100%;
  background: var(--wine);
  transform: scaleX(0.08);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.team-hint {
  color: var(--gray);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 760px) {
  .team-hint {
    display: none;
  }

  .team-controls {
    gap: 10px;
    margin-top: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .team-card,
  .team-photo img,
  .team-photo::after,
  .team-progress span {
    transition: none;
  }

  .team-card:hover {
    transform: none;
  }
}

/* ── Ficha del equipo (opción A): la tarjeta se ensancha dentro del carril ── */
.team-card {
  position: relative; /* contenedor de la ficha absoluta (sin esto solo lo era al pasar el raton, por el transform) */
  --team-w: clamp(220px, 22vw, 300px);
  flex-basis: var(--team-w);
  transition: opacity 0.35s ease, flex-basis 0.55s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.45s ease;
}

.team-photo {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--soft);
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
  border-radius: var(--radius);
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
}

.team-photo:focus {
  outline: none;
}

.team-photo:focus-visible {
  outline: 2px solid var(--wine);
  outline-offset: 4px;
}

.team-card h3 {
  color: var(--wine);
}

.team-card > h3,
.team-card > p {
  transition: opacity 0.3s ease;
}

.team-card.is-open > h3,
.team-card.is-open > p {
  opacity: 0;
}

.team-info-name {
  margin: 0;
  color: var(--wine);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.2;
}

.team-info-role {
  margin: -8px 0 4px;
  color: var(--gray);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.team-card.is-open .team-photo img,
.team-card.is-open .team-photo::after {
  filter: grayscale(0);
}

.team-card.is-open .team-photo::after {
  transform: scaleX(1);
}

.team-card.is-open .team-photo img {
  transform: none;
}

.team-card.is-open {
  flex-basis: calc(var(--team-w) + 460px);
  z-index: 2;
}

.team-card.is-open:hover {
  transform: none;
}

.team-track.has-open .team-card:not(.is-open) {
  opacity: 0.35;
}

.team-photo {
  width: var(--team-w);
}

.team-track.has-open,
.team-track.is-settling {
  scroll-snap-type: none;
}

.team-info[hidden] {
  display: none;
}

.team-info {
  position: absolute;
  top: 0;
  left: calc(var(--team-w) + 24px);
  width: 436px;
  min-height: calc(var(--team-w) * 1.25);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  opacity: 0;
  transform: translateX(10px);
  transition: opacity 0.4s ease, transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.team-card.is-open .team-info {
  opacity: 1;
  transform: none;
  transition-delay: 0.22s;
}

.team-bio {
  margin: 0;
  color: var(--graphite);
  font-size: 1.02rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.55;
}

.team-bio strong {
  color: var(--wine);
}

.team-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-top: 4px;
}

.team-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--wine);
  font-weight: 800;
  font-size: 0.9rem;
  text-decoration: none;
}

.team-link:hover {
  text-decoration: underline;
}

.team-link span {
  display: inline-grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: var(--radius);
  color: #fff;
  background: var(--wine);
  font-weight: 900;
  font-size: 0.85rem;
}

.team-link span svg {
  width: 15px;
  height: 15px;
}

@media (max-width: 900px) {
  .team-card {
    --team-w: min(50vw, 220px); /* una tarjeta y media a la vista: invita a deslizar */
  }

  .team-card.is-open {
    flex-basis: calc(100vw - 2 * clamp(22px, 6vw, 84px));
    display: grid;
    grid-template-columns: var(--team-w) minmax(0, 1fr);
    grid-template-rows: auto auto 1fr auto auto;
    column-gap: 14px;
    align-items: start;
  }

  .team-card.is-open > h3,
  .team-card.is-open > p {
    display: none;
  }

  .team-card.is-open .team-photo {
    grid-column: 1;
    grid-row: 1 / 4;
  }

  /* La ficha reparte sus piezas en la rejilla de la tarjeta (sin caja propia) */
  .team-card.is-open .team-info {
    display: contents;
  }

  .team-card.is-open .team-info > * {
    animation: team-fade-in 0.45s ease 0.2s both;
  }

  .team-card.is-open .team-info-name {
    grid-column: 2;
    grid-row: 1;
    margin-top: 2px;
    font-size: 1.08rem;
  }

  .team-card.is-open .team-info-role {
    grid-column: 2;
    grid-row: 2;
    margin: 6px 0 0;
    font-size: 0.72rem;
  }

  .team-card.is-open .team-bio {
    grid-column: 1 / -1;
    grid-row: 4;
    margin-top: 14px;
    font-size: 0.95rem;
  }

  .team-card.is-open .team-actions {
    grid-column: 1 / -1;
    grid-row: 5;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin-top: 12px;
  }

  .team-card.is-open .team-link {
    font-size: 0.86rem;
  }
}

@keyframes team-fade-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .team-card,
  .team-info {
    transition: none;
  }

  .team-card.is-open .team-info > * {
    animation: none;
  }
}

/* Nosotros · Árbol del Conocimiento v8 · color corporativo progresivo y llamadas sin caja */
.knowledge-tree-section {
  --tree-rise-stop: 0%;
}

.knowledge-tree-photo-v2 {
  overflow: visible;
}

.knowledge-tree-v2-base {
  opacity: 0.84;
  filter: grayscale(1) contrast(1.08);
}

.knowledge-tree-v2-wash {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
  background: var(--wine);
  opacity: 0;
  pointer-events: none;
  -webkit-mask-image: var(--tree-wash-image);
  mask-image: var(--tree-wash-image);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  clip-path: inset(calc(100% - var(--tree-rise-stop)) 0 0);
  -webkit-clip-path: inset(calc(100% - var(--tree-rise-stop)) 0 0);
  transition: clip-path 720ms cubic-bezier(0.22, 1, 0.36, 1), opacity 260ms ease;
}

.knowledge-tree-v2-layer {
  z-index: 3;
}

.knowledge-tree-section[data-preview-zone] .knowledge-tree-v2-wash,
.knowledge-tree-section[data-active-zone]:not([data-preview-zone]) .knowledge-tree-v2-wash {
  opacity: 0.42;
}

.knowledge-tree-visual > .tree-zone {
  width: min(205px, 30%);
  min-height: 0;
  padding: 0;
  gap: 6px;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none;
  backdrop-filter: none;
  text-shadow: 0 1px 12px rgba(247, 244, 240, 0.96);
  transition: transform 220ms ease;
}

.knowledge-tree-visual > .tree-zone span {
  color: rgba(35, 31, 32, 0.62);
  font-size: 0.58rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  line-height: 1;
}

.knowledge-tree-visual > .tree-zone strong {
  color: var(--wine);
  font-size: clamp(0.96rem, 1.55vw, 1.2rem);
  font-weight: 780;
  line-height: 1.08;
}

.knowledge-tree-visual > .tree-zone::after {
  top: 0.62rem;
  width: clamp(34px, 5vw, 70px);
  border-top: 1px solid rgba(35, 31, 32, 0.34);
  transition: width 220ms ease, border-color 220ms ease;
}

.knowledge-tree-visual > .tree-zone:hover,
.knowledge-tree-visual > .tree-zone:focus-visible,
.knowledge-tree-visual > .tree-zone[aria-pressed="true"] {
  transform: translateY(-2px);
  outline: none;
}

.knowledge-tree-visual > .tree-zone:hover span,
.knowledge-tree-visual > .tree-zone:focus-visible span,
.knowledge-tree-visual > .tree-zone[aria-pressed="true"] span {
  color: var(--wine);
}

.knowledge-tree-visual > .tree-zone:hover::after,
.knowledge-tree-visual > .tree-zone:focus-visible::after,
.knowledge-tree-visual > .tree-zone[aria-pressed="true"]::after {
  width: clamp(46px, 6vw, 82px);
  border-color: var(--wine);
}

.knowledge-tree-visual > .tree-zone-roots {
  left: 1%;
  right: auto;
  bottom: 5%;
}

.knowledge-tree-visual > .tree-zone-branches {
  left: 0;
  right: auto;
  top: 43%;
}

.knowledge-tree-visual > .tree-zone-trunk {
  right: 0;
  left: auto;
  bottom: 31%;
}

.knowledge-tree-visual > .tree-zone-leaves {
  right: 0;
  left: auto;
  top: 10%;
}

.knowledge-tree-visual > .tree-zone-roots::after,
.knowledge-tree-visual > .tree-zone-branches::after {
  right: -46px;
}

.knowledge-tree-visual > .tree-zone-trunk::after,
.knowledge-tree-visual > .tree-zone-leaves::after {
  left: -46px;
}

@media (max-width: 760px) {
  .knowledge-tree-v2-wash {
    transition-duration: 620ms;
  }

  .knowledge-tree-visual > .tree-zone {
    width: min(154px, 36%);
    gap: 5px;
  }

  .knowledge-tree-visual > .tree-zone span {
    font-size: 0.52rem;
    letter-spacing: 0.1em;
  }

  .knowledge-tree-visual > .tree-zone strong {
    font-size: clamp(0.82rem, 3.3vw, 1rem);
  }

  .knowledge-tree-visual > .tree-zone::after {
    top: 0.52rem;
    width: 26px;
  }

  .knowledge-tree-visual > .tree-zone:hover::after,
  .knowledge-tree-visual > .tree-zone:focus-visible::after,
  .knowledge-tree-visual > .tree-zone[aria-pressed="true"]::after {
    width: 36px;
  }

  .knowledge-tree-visual > .tree-zone-roots::after,
  .knowledge-tree-visual > .tree-zone-branches::after {
    right: -30px;
  }

  .knowledge-tree-visual > .tree-zone-trunk::after,
  .knowledge-tree-visual > .tree-zone-leaves::after {
    left: -30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .knowledge-tree-v2-wash,
  .knowledge-tree-visual > .tree-zone {
    transition: none;
  }
}
/* Claves de Defensa Legal. El encaje del parallax vive en styles-parallax-visual-v1.css. */
body.defense-page-redesign #enfoque-visual .solution-visual-keys {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.home-page .site-solar-system {
  background: radial-gradient(circle at 50% 50%, rgba(112, 44, 54, 0.13), transparent 16%);
}

body.home-page .solar-core-mark {
  background: none;
  -webkit-mask: none;
  mask: none;
}

body.home-page .solar-orbit-defense,
body.home-page .solar-orbit-consulting,
body.home-page .solar-orbit-eir,
body.home-page .solar-orbit-process {
  --orbit-size: 64%;
  --duration: 40s;
}

body.home-page .solar-orbit-defense { --delay: 0s; }
body.home-page .solar-orbit-consulting { --delay: -10s; border-color: transparent; }
body.home-page .solar-orbit-eir { --delay: -20s; border-color: transparent; }
body.home-page .solar-orbit-process { --delay: -30s; border-color: transparent; }

body.home-page .solar-orbit-defense .solar-orbit-runner,
body.home-page .solar-orbit-consulting .solar-orbit-runner,
body.home-page .solar-orbit-eir .solar-orbit-runner,
body.home-page .solar-orbit-process .solar-orbit-runner {
  animation-direction: normal;
}

body.defense-page-redesign .defense-hammer-break blockquote {
  color: rgba(112, 44, 54, 0.62);
  font-family: Raleway, "Segoe UI", Arial, sans-serif;
  font-style: normal;
  font-weight: 850;
  letter-spacing: -0.035em;
  text-shadow: none;
}

/* Preview 2026-09-10 · defensa legal: decisiones aduaneras */
.defense-decisions {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(16rem, 0.78fr) minmax(0, 1.35fr);
  gap: clamp(3rem, 7vw, 8rem);
  width: 100%;
  margin-top: clamp(1.5rem, 3vw, 3rem);
  box-sizing: border-box;
  padding: clamp(3rem, 6vw, 6.5rem) clamp(1.4rem, 6vw, 6rem);
  border-top: 1px solid rgba(112, 44, 54, 0.22);
  border-bottom: 1px solid rgba(112, 44, 54, 0.14);
}

.defense-decisions-intro { max-width: 34rem; }

.defense-decisions-intro h2 {
  margin: 0 0 clamp(1.25rem, 2vw, 2rem);
  color: var(--wine);
  font-size: clamp(2.25rem, 4.2vw, 4.9rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.defense-decisions-intro p,
.defense-decision-item p {
  margin: 0;
  color: rgba(43, 37, 39, 0.78);
  font-size: clamp(1rem, 1.15vw, 1.18rem);
  line-height: 1.62;
}

.defense-decisions-timeline {
  --timeline-padding: clamp(2rem, 4vw, 4.5rem);
  --timeline-axis: 0.5rem;
  --timeline-node-size: 0.75rem;
  --timeline-node-radius: calc(0.375rem + 2px);
  position: relative;
  display: grid;
  margin: 0;
  padding: 0 0 0 var(--timeline-padding);
  list-style: none;
}

.defense-decision-item {
  position: relative;
  display: grid;
  grid-template-columns: 2.5rem clamp(3.5rem, 5vw, 4.75rem) minmax(0, 1fr);
  gap: clamp(1rem, 2vw, 2rem);
  padding: 0 0 clamp(2.25rem, 4vw, 4rem);
}

.defense-decision-item:last-child { padding-bottom: 0; }

.defense-decision-item::before {
  content: "";
  position: absolute;
  top: 0.48rem;
  left: calc((var(--timeline-padding) * -1) + var(--timeline-axis) - var(--timeline-node-radius));
  z-index: 1;
  width: var(--timeline-node-size);
  height: var(--timeline-node-size);
  border: 2px solid var(--wine);
  border-radius: 50%;
  background: #f6f2ef;
}

.defense-decision-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: calc(0.48rem + var(--timeline-node-radius));
  left: calc((var(--timeline-padding) * -1) + var(--timeline-axis) - 0.5px);
  width: 1px;
  height: 100%;
  background: rgba(112, 44, 54, 0.34);
}

.defense-decision-item > span {
  color: var(--wine);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.defense-decision-icon {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  box-sizing: border-box;
  padding: clamp(0.45rem, 0.8vw, 0.7rem);
  border: 1px solid rgba(112, 44, 54, 0.2);
  border-radius: 50%;
  background: radial-gradient(circle at 36% 30%, rgba(255, 255, 255, 0.92), rgba(112, 44, 54, 0.1));
  object-fit: contain;
  opacity: 0.86;
}

.defense-decision-item h3 {
  margin: 0 0 0.65rem;
  color: var(--wine);
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.08;
}

@media (max-width: 760px) {
  .defense-decisions {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
    padding: 3rem 0;
  }

  .defense-decisions-intro h2 { font-size: clamp(2.25rem, 11vw, 3.4rem); }
  .defense-decisions-timeline {
    --timeline-padding: 2.25rem;
    padding-left: var(--timeline-padding);
  }

  .defense-decision-item {
    grid-template-columns: 2rem 3.25rem minmax(0, 1fr);
    gap: 0.8rem;
    padding-bottom: 2.4rem;
  }

}

/* Preview 2026-09-10 · secuencia de hitos de Defensa Legal */
.defense-decisions-sequence-stage {
  min-width: 0;
  align-self: center;
}

.defense-decisions-timeline.is-sequenced {
  display: grid;
  padding-left: 0;
}

.defense-decisions-timeline.is-sequenced .defense-decision-item {
  grid-area: 1 / 1;
  grid-template-columns: clamp(3.5rem, 5vw, 4.75rem) minmax(0, 1fr);
  align-self: center;
  padding: clamp(1rem, 2vw, 1.75rem) 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition: opacity 480ms cubic-bezier(.22, 1, .36, 1), transform 480ms cubic-bezier(.22, 1, .36, 1);
}

.defense-decisions-timeline.is-sequenced .defense-decision-item > span:not(.defense-decision-icon-frame) {
  display: none;
}

.defense-decisions-timeline.is-sequenced .defense-decision-item.is-active {
  z-index: 1;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.defense-decisions-timeline.is-sequenced .defense-decision-item.is-active .defense-decision-icon {
  animation: defense-decision-icon-in 560ms cubic-bezier(.22, 1, .36, 1) both;
}

@keyframes defense-decision-icon-in {
  0% {
    opacity: 0;
    filter: drop-shadow(0 0 0 rgba(112, 44, 54, 0));
    transform: translateY(6px) scale(0.96);
  }
  52% {
    opacity: 0.96;
    filter: drop-shadow(0 6px 10px rgba(112, 44, 54, 0.16));
    transform: translateY(0) scale(1.025);
  }
  100% {
    opacity: 0.86;
    filter: drop-shadow(0 0 0 rgba(112, 44, 54, 0));
    transform: translateY(0) scale(1);
  }
}

.defense-decisions-timeline.is-sequenced .defense-decision-item::before,
.defense-decisions-timeline.is-sequenced .defense-decision-item::after {
  display: none;
}

.defense-decisions-controls {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: clamp(1rem, 2vw, 1.5rem) 0 0;
}

.defense-decisions-control {
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  padding: 0;
  border: 1px solid rgba(112, 44, 54, 0.3);
  border-radius: 50%;
  background: transparent;
  color: var(--wine);
  font: 700 0.68rem/1 var(--font-body);
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.defense-decisions-control:hover,
.defense-decisions-control.is-active {
  border-color: var(--wine);
  background: var(--wine);
  color: #fff;
}

.defense-decisions-control:focus-visible {
  outline: 2px solid var(--wine);
  outline-offset: 3px;
}

@media (max-width: 760px) {
  .defense-decisions-timeline.is-sequenced { padding-left: 0; }
  .defense-decisions-timeline.is-sequenced .defense-decision-item {
    grid-template-columns: 4rem minmax(0, 1fr);
    gap: 0.85rem;
    min-height: 15rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .defense-decisions-timeline.is-sequenced .defense-decision-item,
  .defense-decisions-control { transition: none; }
  .defense-decisions-timeline.is-sequenced .defense-decision-item.is-active .defense-decision-icon { animation: none; }
}

@media (max-width: 980px) {
  body.defense-page-redesign .defense-risk-compliance-heading {
    gap: clamp(0.9rem, 2.5vw, 1.4rem);
  }
}

/* Preview 2026-09-10 · revisión legal de Lola */
body.defense-page-redesign .solution-visual-keys {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.defense-page-redesign .defense-hammer-break blockquote {
  top: clamp(48px, 6vw, 86px);
  left: 50%;
  width: min(calc(100% - clamp(84px, 13vw, 220px)), 1400px);
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 850;
  font-size: clamp(2.75rem, 4.4vw, 5.5rem);
  line-height: 1.03;
  letter-spacing: 0;
  text-align: center;
  text-transform: none;
  text-wrap: balance;
  text-shadow: 0 3px 24px rgba(0, 0, 0, 0.42);
  transform: translateX(-50%);
}

@media (max-width: 680px) {
  body.defense-page-redesign .defense-hammer-break blockquote {
    top: clamp(26px, 8vw, 38px);
    left: 50%;
    width: calc(100% - 44px);
    font-size: clamp(1.75rem, 7vw, 2.4rem);
    line-height: 1.08;
  }
}

body.defense-page-redesign .defense-risk-compliance-heading {
  align-items: start;
}

body.defense-page-redesign .defense-decision-icon {
  padding: clamp(0.72rem, 1.15vw, 1rem);
  border: 1px solid rgba(112, 44, 54, 0.34);
  background:
    radial-gradient(circle at 50% 50%, rgba(112, 44, 54, 0.12) 0 54%, transparent 55%),
    #f8f5f2;
}

body.defense-page-redesign .defense-decision-icon-frame {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1;
  box-sizing: border-box;
  border: 1px solid rgba(112, 44, 54, 0.34);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(112, 44, 54, 0.12) 0 54%, transparent 55%),
    #f8f5f2;
}

body.defense-page-redesign .defense-decision-icon-frame .defense-decision-icon {
  width: 54%;
  height: 54%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  object-fit: contain;
}

/* Preview 2026-09-10 · preguntas frecuentes de Mejora de Procesos */
.process-faq {
  width: min(100%, 112rem);
  margin-inline: auto;
  padding: clamp(4.5rem, 8vw, 8rem) clamp(1.25rem, 6vw, 6rem);
  background: linear-gradient(135deg, #f8f5f2 0%, #f2eeeb 100%);
}

/* Las FAQ cierran cada Solución, inmediatamente antes del bloque de contacto general. */
body.process-page main {
  display: flex;
  flex-direction: column;
}

body.process-page main > .process-faq { order: 1; }
body.process-page main > .solution-short-contact { order: 2; }

/* Consultoría: título panorámico y opciones alineadas con el cuerpo de texto. */
body.consulting-page .consulting-authorization-section {
  grid-template-columns: minmax(300px, 0.82fr) minmax(420px, 1.18fr);
  grid-template-areas:
    "title title"
    "copy options";
  column-gap: clamp(36px, 6vw, 92px);
  row-gap: clamp(34px, 4vw, 56px);
  padding-block: clamp(58px, 7vw, 92px);
}

body.consulting-page .consulting-authorization-title {
  grid-area: title;
  width: 100%;
  max-width: none;
  margin: 0;
  color: var(--wine);
  font-size: clamp(3.25rem, 6vw, 7rem);
  line-height: 0.9;
  text-wrap: balance;
}

body.consulting-page .consulting-authorization-section .solution-main-copy {
  grid-area: copy;
}

body.consulting-page .consulting-authorization-section .solution-main-copy::before {
  display: none;
}

body.consulting-page .consulting-authorization-section .solution-side-panel {
  grid-area: options;
  align-self: start;
  align-content: start;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

body.consulting-page .consulting-authorization-section .solution-side-panel h3 {
  margin: 0 0 20px;
}

/* Legal: las FAQ cierran el contenido y preceden al formulario de consulta. */
body.defense-page-redesign main {
  display: flex;
  flex-direction: column;
}

body.defense-page-redesign main > .process-faq { order: 1; }
body.defense-page-redesign main > .defense-short-contact { order: 2; }

/* FAQ: filas compactas, manteniendo el tratamiento editorial y los divisores. */
.process-faq-item summary {
  min-height: clamp(4.7rem, 5vw, 5.4rem);
  padding-block: clamp(0.8rem, 1.15vw, 1rem);
}

@media (max-width: 1100px) {
  body.consulting-page .consulting-authorization-section {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "title"
      "copy"
      "options";
  }

  body.consulting-page .consulting-authorization-title {
    max-width: 15ch;
  }
}

@media (max-width: 560px) {
  .process-faq-item summary {
    min-height: 4.8rem;
    padding-block: 0.9rem;
  }
}

.process-faq > h2 {
  max-width: 12ch;
  margin: 0 0 clamp(2.25rem, 5vw, 4.5rem);
  color: var(--wine);
  font-size: clamp(2.7rem, 6vw, 6.2rem);
  line-height: 0.92;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}

.process-faq-list {
  border-top: 1px solid rgba(112, 44, 54, 0.3);
}

.process-faq-item {
  position: relative;
  border-bottom: 1px solid rgba(112, 44, 54, 0.3);
}

.process-faq-item[open] {
  background: rgba(112, 44, 54, 0.035);
}

.process-faq-item summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 2.5rem;
  gap: 1.25rem;
  align-items: center;
  min-height: clamp(4.7rem, 5vw, 5.4rem);
  padding: clamp(0.8rem, 1.15vw, 1rem) clamp(0.55rem, 1.4vw, 1.15rem);
  color: var(--ink);
  font-size: clamp(1.25rem, 2vw, 1.9rem);
  font-weight: 750;
  line-height: 1.15;
  cursor: pointer;
  list-style: none;
}

.process-faq-item summary::-webkit-details-marker { display: none; }

.process-faq-item summary > span {
  position: relative;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(112, 44, 54, 0.45);
  border-radius: 50%;
}

.process-faq-item summary > span::before,
.process-faq-item summary > span::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.85rem;
  height: 1px;
  background: var(--wine);
  transform: translate(-50%, -50%);
  transition: transform 220ms cubic-bezier(.22, 1, .36, 1);
}

.process-faq-item summary > span::after { transform: translate(-50%, -50%) rotate(90deg); }
.process-faq-item[open] summary > span::after { transform: translate(-50%, -50%) rotate(0); }

.process-faq-answer {
  max-width: 70ch;
  padding: clamp(0.15rem, 0.6vw, 0.45rem) clamp(4rem, 7vw, 6rem) clamp(1.8rem, 3.4vw, 2.7rem) clamp(0.55rem, 1.4vw, 1.15rem);
}

.process-faq-answer p {
  margin: 0;
  color: rgba(35, 31, 32, 0.76);
  font-size: clamp(1rem, 1.35vw, 1.25rem);
  line-height: 1.65;
}

.process-faq-item[open] .process-faq-answer {
  animation: process-faq-answer-in 320ms cubic-bezier(.22, 1, .36, 1) both;
}

@keyframes process-faq-answer-in {
  from { opacity: 0; transform: translateY(-0.4rem); }
  to { opacity: 1; transform: translateY(0); }
}

.process-faq-item summary:focus-visible {
  outline: none;
}

.process-faq-item:has(> summary:focus-visible) {
  z-index: 1;
  outline: 2px solid var(--wine);
  outline-offset: 0.3rem;
}

@media (max-width: 560px) {
  .process-faq { padding-block: 3rem 4rem; }
  .process-faq > h2 { max-width: 10ch; }
  .process-faq-item summary {
    grid-template-columns: minmax(0, 1fr) 2.25rem;
    min-height: 4.8rem;
    padding-block: 0.9rem;
  }
  .process-faq-item summary > span { width: 2.25rem; height: 2.25rem; }
  .process-faq-answer { padding-right: 3.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  .process-faq-item summary > span::before,
  .process-faq-item summary > span::after { transition: none; }
  .process-faq-item[open] .process-faq-answer { animation: none; }
}

@media (max-width: 980px) {
  body.defense-page-redesign .defense-risk-compliance-heading {
    gap: clamp(0.65rem, 1.6vw, 1rem);
  }
}

/* Preview 2026-09-10 · Defensa Legal: cronología horizontal 01–04 */
.defense-decisions-live {
  display: block;
}

.defense-decisions-live .defense-decisions-intro {
  max-width: 58rem;
  margin-inline: auto;
  text-align: center;
}

.defense-decisions-live .defense-decisions-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.5vw, 2.75rem);
  width: min(100%, 78rem);
  margin: clamp(3.5rem, 7vw, 7rem) auto 0;
  padding: 0;
}

.defense-decisions-live .defense-decisions-timeline::before {
  content: "";
  position: absolute;
  top: calc(15.5rem + 1.45rem);
  left: 12.5%;
  right: 12.5%;
  height: 1px;
  background: rgba(112, 44, 54, 0.42);
}

.defense-decisions-live .defense-decision-item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: 15.5rem 2.9rem 15.5rem;
  gap: 0;
  min-width: 0;
  padding: 0;
  text-align: center;
}

.defense-decisions-live .defense-decision-item::before,
.defense-decisions-live .defense-decision-item::after {
  display: none;
}

.defense-decisions-live .defense-decision-item > span:not(.defense-decision-icon-frame) {
  z-index: 2;
  grid-row: 2;
  align-self: center;
  justify-self: center;
  display: grid;
  place-items: center;
  width: 2.9rem;
  height: 2.9rem;
  border: 1px solid var(--wine);
  border-radius: 50%;
  background: #f6f2ef;
  color: var(--wine);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.08em;
}

body.defense-page-redesign .defense-decisions-live .defense-decision-icon-frame {
  align-self: end;
  justify-self: center;
  display: grid;
  place-items: center;
  width: clamp(4.5rem, 6vw, 5.75rem);
  height: clamp(4.5rem, 6vw, 5.75rem);
  margin-bottom: 1.75rem;
}

body.defense-page-redesign .defense-decisions-live .defense-decision-icon-frame .defense-decision-icon {
  width: 100%;
  height: 100%;
  padding: clamp(0.75rem, 1vw, 1rem);
}

.defense-decisions-live .defense-decision-item > div {
  align-self: start;
  margin-top: 1.75rem;
}

.defense-decisions-live .defense-decision-item:nth-child(even) .defense-decision-icon-frame {
  grid-row: 3;
  align-self: start;
  margin-top: 1.75rem;
  margin-bottom: 0;
}

.defense-decisions-live .defense-decision-item:nth-child(even) > div {
  grid-row: 1;
  align-self: end;
  margin-top: 0;
  margin-bottom: 1.75rem;
}

.defense-decisions-live .defense-decision-item h3 {
  font-size: clamp(1.3rem, 1.65vw, 1.8rem);
}

.defense-decisions-live .defense-decision-item p {
  font-size: clamp(0.94rem, 1vw, 1.06rem);
  line-height: 1.55;
}

@media (max-width: 760px) {
  .defense-decisions-live .defense-decisions-intro { text-align: left; }

  .defense-decisions-live .defense-decisions-timeline {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
    margin-top: 3.25rem;
    box-sizing: border-box;
    padding-right: 1rem;
    padding-left: 3.5rem;
  }

  .defense-decisions-live .defense-decisions-timeline::before {
    top: 1.45rem;
    right: auto;
    bottom: 1.45rem;
    left: 1.45rem;
    width: 1px;
    height: auto;
  }

  .defense-decisions-live .defense-decision-item {
    display: grid;
    grid-template-columns: 4.5rem minmax(0, 1fr);
    grid-template-rows: auto auto;
    gap: 0.8rem 1rem;
    text-align: left;
  }

  .defense-decisions-live .defense-decision-item > span:not(.defense-decision-icon-frame) {
    position: absolute;
    top: 0;
    left: -3.5rem;
    grid-row: auto;
  }

  body.defense-page-redesign .defense-decisions-live .defense-decision-icon-frame,
  body.defense-page-redesign .defense-decisions-live .defense-decision-item:nth-child(even) .defense-decision-icon-frame {
    grid-row: 1 / span 2;
    align-self: start;
    width: 4.5rem;
    height: 4.5rem;
    margin: 0;
  }

  .defense-decisions-live .defense-decision-item > div,
  .defense-decisions-live .defense-decision-item:nth-child(even) > div {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: start;
    margin: 0;
  }

  .defense-decisions-live .defense-decision-item h3 {
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

/* Ajustes de revisión: más líneas en áreas clave, menos aire móvil y numeración auxiliar oculta. */
.site-donut-section .solar-planet::before,.site-donut-section .solar-planet::after{content:"";position:absolute;pointer-events:none;background:rgba(112,44,54,.42)}
.site-donut-section .solar-planet::before{width:3.5rem;height:1px;left:-3.5rem;top:50%}.site-donut-section .solar-planet::after{width:1px;height:2.25rem;left:50%;top:-2.25rem}
.hand-collection-two .hand-collection-copy > span{display:none}
body.home-page .site-donut-section{padding-block:clamp(44px,6vw,88px)}
@media (max-width:760px){body.home-page .home-values-section{padding-block:34px 26px}body.home-page .home-values-section .home-values-intro{margin-bottom:16px}body.home-page .site-donut-section{padding-block:34px 42px}body.home-page .site-donut-copy{margin-bottom:20px} #objetivos .objectives-outline-list, #objetivos .objective-outline-item, #objetivos .objective-outline-item h3, #objetivos .objective-outline-item p{text-align:left}body.defense-page-redesign .defense-decisions-live .defense-decision-icon-frame{overflow:visible}body.defense-page-redesign .defense-decisions-live .defense-decision-icon-frame .defense-decision-icon{object-fit:contain}}

/* Cierre del equipo: enlace de candidatura, no botón. */
.team-cv-cta{margin:28px 0 0;text-align:center}.team-cv-cta a{display:inline-flex;gap:10px;align-items:center;padding-bottom:5px;border-bottom:1px solid currentColor;color:var(--wine);font-weight:800;text-decoration:none}.team-cv-cta a:hover,.team-cv-cta a:focus-visible{color:var(--wine-dark)}.team-cv-cta span{font-size:1.2em;line-height:1}

/* Contacto: mapa colocado antes de los datos directos y con espacio propio. */
body.contact-page .contact-side{display:grid;gap:clamp(26px,3vw,42px);align-content:start}body.contact-page .contact-side .contact-map{min-height:clamp(360px,34vw,520px);border-color:rgba(112,44,54,.22);box-shadow:0 18px 48px rgba(30,20,20,.12)}body.contact-page .contact-side .mg-label{fill:#702c36;font-family:Raleway,"Segoe UI",Arial,sans-serif;font-size:20px;font-weight:900;letter-spacing:.02em;paint-order:stroke;stroke:#f8f6f1;stroke-width:5px;stroke-linejoin:round;pointer-events:none}@media(max-width:980px){body.contact-page .contact-side{width:min(100%,680px)}body.contact-page .contact-side .contact-map{min-height:360px}}@media(max-width:760px){body.contact-page .contact-side .contact-map{min-height:320px}body.contact-page .contact-side .mg-label{font-size:17px;stroke-width:4px}}

/* Contacto: mapa sin marco y puntos de localización con mayor presencia. */
body.contact-page .contact-side .contact-map{border:0;border-radius:0;box-shadow:none}body.contact-page .contact-side .mapa-guiex .mg-pin-shape{transform:scale(1.72)!important}
@media(max-width:760px){body.contact-page .contact-side .mapa-guiex .mg-pin-shape{transform:scale(1.56)!important}}

/* Revisión 14-09: Nosotros compacto, candidatura integrada y mapa más legible. */
.hand-collection-section[aria-label="Confianza y crecimiento"] .hand-collection-item {
  min-height: clamp(430px, 38vw, 590px);
  padding-bottom: clamp(245px, 24vw, 370px);
}

.hand-collection-section[aria-label="Confianza y crecimiento"] .hand-collection-item img,
.hand-collection-section[aria-label="Confianza y crecimiento"] .hand-collection-item:first-child img,
.hand-collection-section[aria-label="Confianza y crecimiento"] .hand-collection-item:nth-child(2) img {
  height: clamp(245px, 24vw, 370px);
}

.team-carousel { display: flex; flex-direction: column; }
.team-track { order: 1; }
.team-controls { order: 2; }
.team-cv-cta {
  order: 3;
  margin: clamp(24px, 3vw, 38px) 0 0;
  padding-top: clamp(18px, 2vw, 26px);
  border-top: 1px solid rgba(112, 44, 54, .2);
  text-align: left;
}
.team-cv-cta a {
  width: auto;
  max-width: 100%;
  justify-content: flex-start;
  gap: 18px;
  padding: 0;
  border: 0;
  font-size: clamp(1rem, 1.35vw, 1.18rem);
}
.team-cv-cta span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(112, 44, 54, .38);
  border-radius: 50%;
}
.team-bio strong { color: inherit; font-weight: inherit; text-decoration: none; }

body.contact-page .contact-section {
  grid-template-columns: minmax(0, 1.08fr) minmax(410px, .92fr);
  gap: clamp(34px, 4vw, 62px);
}
body.contact-page .contact-side { gap: clamp(18px, 2vw, 28px); }
body.contact-page .contact-side .contact-map {
  min-height: clamp(430px, 40vw, 560px);
  background: #ded9cf;
}
body.contact-page .contact-side .mapa-guiex .mg-pin-shape { transform: scale(1.82) !important; }
body.contact-page .contact-side .mg-label {
  font-size: 46px;
  letter-spacing: .01em;
  stroke-width: 10px;
}
body.contact-page .contact-side .mg-zoom { gap: 6px; }
body.contact-page .contact-side .mg-zoom button {
  background: rgba(112, 44, 54, .92);
  box-shadow: 0 3px 12px rgba(35, 31, 32, .12);
}

@media (max-width: 980px) {
  body.contact-page .contact-section { grid-template-columns: 1fr; }
  body.contact-page .contact-side { width: 100%; }
}

@media (max-width: 760px) {
  .hand-collection-section[aria-label="Confianza y crecimiento"] .hand-collection-item {
    min-height: 0;
    padding-bottom: 215px;
  }
  .hand-collection-section[aria-label="Confianza y crecimiento"] .hand-collection-item img,
  .hand-collection-section[aria-label="Confianza y crecimiento"] .hand-collection-item:first-child img,
  .hand-collection-section[aria-label="Confianza y crecimiento"] .hand-collection-item:nth-child(2) img {
    height: 215px;
  }
  body.contact-page .contact-side .contact-map { min-height: 390px; }
  body.contact-page .contact-side .mg-label { font-size: 42px; stroke-width: 9px; }
}

/* Cierre de cascada para la revisión 14-09. */
.team-card .team-info,
.team-card .team-info *,
.team-card .team-actions a,
.team-card .team-actions a:hover,
.team-card .team-actions a:focus-visible { text-decoration: none !important; text-decoration-line: none !important; }

body.home-page .solar-orbit-defense,
body.home-page .solar-orbit-consulting,
body.home-page .solar-orbit-eir,
body.home-page .solar-orbit-process { border-color: rgba(112, 44, 54, .2); }
body.home-page .solar-orbit-defense { --orbit-size: 78%; }
body.home-page .solar-orbit-consulting { --orbit-size: 64%; }
body.home-page .solar-orbit-eir { --orbit-size: 50%; }
body.home-page .solar-orbit-process { --orbit-size: 36%; }

body.contact-page .contact-side { display: block; }
body.contact-page .contact-panel { position: static; display: grid; gap: clamp(14px, 1.6vw, 20px); }
body.contact-page .contact-panel-contact-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(10px, 1.5vw, 18px);
  align-items: center;
  min-width: 0;
}
body.contact-page .contact-panel-contact-links {
  display: grid;
  gap: 9px;
  min-width: 0;
}
body.contact-page .contact-panel .contact-map {
  order: 5;
  width: 100%;
  min-height: 0;
  aspect-ratio: 1;
  margin-top: 8px;
  border: 1px solid rgba(112, 44, 54, .18);
  background: #ded9cf;
}
body.contact-page .contact-panel .mg-label { font-size: 34px; stroke-width: 8px; }
body.contact-page .contact-panel .mapa-guiex .mg-pin-shape { transform: scale(1.55) !important; }
@media (max-width: 760px) {
  body.contact-page .contact-panel .contact-map { min-height: 0; }
  body.contact-page .contact-panel .mg-label { font-size: 28px; stroke-width: 7px; }
  body.contact-page .contact-panel .mapa-guiex .mg-pin-shape { transform: scale(1.42) !important; }
}

/* Ronda 14-09-3: candidatura completa y mapa alineado con el formulario. */
.team-cv-cta > button { width: 100%; justify-content: space-between; padding-inline: 2px; text-align: left; }
.team-cv-form { width: 100%; max-width: none; }
.team-cv-file input[type="file"] { padding: 9px 10px; cursor: pointer; }
.team-cv-file input[type="file"]::file-selector-button {
  margin-right: 12px;
  padding: 8px 12px;
  border: 0;
  border-radius: var(--radius);
  background: var(--wine);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
@media (min-width: 981px) {
  body.contact-page .contact-section { align-items: stretch; }
  body.contact-page .contact-side,
  body.contact-page .contact-panel { height: 100%; }
  body.contact-page .contact-panel { grid-template-rows: auto auto auto auto minmax(0, 1fr); }
  body.contact-page .contact-panel .contact-map {
    height: 100%;
    min-height: 360px;
    aspect-ratio: auto;
  }
}

/* Marco de cabeceras: fondos a sangre y contenido interior común de hasta 1440 px. */
:root {
  --header-frame-gutter: var(--page-gutter);
}

body .site-header,
body main > .page-hero.media-hero,
body main > .contact-barcelona-hero,
body.home-page .home-hero-content {
  padding-left: max(var(--header-frame-gutter), calc((100% - 1440px) / 2), env(safe-area-inset-left, 0px));
  padding-right: max(var(--header-frame-gutter), calc((100% - 1440px) / 2), env(safe-area-inset-right, 0px));
}

body.home-page .home-hero-content {
  width: 100%;
}

body main > .page-hero.media-hero > .page-hero-content,
body main > .contact-barcelona-hero > .contact-barcelona-content {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
}

/* El primer bloque editorial continúa los mismos bordes interiores del hero. */
body main > :is(.home-hero, .page-hero.media-hero, .contact-barcelona-hero) + section {
  padding-left: max(var(--header-frame-gutter), calc((100% - 1440px) / 2), env(safe-area-inset-left, 0px));
  padding-right: max(var(--header-frame-gutter), calc((100% - 1440px) / 2), env(safe-area-inset-right, 0px));
}

/* Revisión 15-09: ajustes dirigidos de Home, Soluciones y Legal. */
body.home-page #hand-comercio-internacional .hand-visual-word {
  inset: 50% -9% auto;
  width: 118%;
  font-size: clamp(3.2rem, 5.5vw, 6.3rem);
  letter-spacing: -0.035em;
  text-align: center;
  transform: translateY(-50%);
}

body.home-page .home-solutions-heading {
  display: block;
}

body.home-page .home-solutions-heading h2 {
  white-space: normal;
  text-wrap: balance;
}

body.home-page .home-solutions-heading > p:not(.eyebrow) {
  width: 100%;
  max-width: none;
  margin-top: clamp(18px, 2vw, 28px);
}

/* Mejora de procesos: cada fase muestra su propio visual editorial. */
body.process-page .process-interactive-step {
  z-index: 1;
  min-height: 96px;
  justify-content: center;
  gap: 0;
  background: var(--wine);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.24);
}

body.process-page .process-interactive-nav {
  background: var(--wine);
}

body.process-page .process-interactive-step:hover,
body.process-page .process-interactive-step:focus-visible,
body.process-page .process-interactive-step.is-active {
  background: var(--wine-dark);
  color: #fff;
}

body.process-page .process-interactive-step span,
body.process-page .process-interactive-step strong {
  color: inherit;
}

body.process-page .process-interactive-step::after {
  background: #fff;
}

body.process-page .process-interactive-step:focus-visible {
  outline-color: #fff;
  outline-offset: -4px;
}

body.process-page .process-interactive-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(260px, 28%, 380px);
  align-items: center;
  column-gap: clamp(20px, 3vw, 42px);
  overflow: hidden;
  background: var(--surface-content);
  border: 1px solid rgba(130, 36, 51, 0.16);
  border-top: 0;
}

body.process-page .process-interactive-content .process-interactive-panels {
  min-height: 0;
  border: 0;
}

body.process-page .process-interactive-content .process-interactive-panel {
  height: 100%;
  min-height: 100%;
  padding: clamp(34px, 4.4vw, 62px);
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto;
  gap: clamp(14px, 1.7vw, 22px);
  align-content: center;
}

body.process-page .process-interactive-content .process-interactive-panel::after {
  display: none;
}

body.process-page .process-interactive-content .process-interactive-panel > span,
body.process-page .process-interactive-content .process-interactive-panel h3,
body.process-page .process-interactive-content .process-interactive-panel p {
  grid-column: 1;
  grid-row: auto;
}

body.process-page .process-interactive-content .process-interactive-panel h3 {
  max-width: 100%;
  font-size: clamp(2.3rem, 3.4vw, 3.8rem);
  line-height: 0.94;
}

body.process-page .process-interactive-visual {
  width: 100%;
  min-width: 0;
  margin: clamp(20px, 2.8vw, 36px) clamp(22px, 3vw, 42px) clamp(20px, 2.8vw, 36px) 0;
  align-self: center;
  justify-self: center;
  overflow: hidden;
  background: transparent;
  border: 0;
}

body.process-page .process-interactive-visual img {
  width: 100%;
  height: auto;
  min-height: 0;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  opacity: 1;
  transform: scale(1);
  transition: opacity 180ms ease, transform 360ms ease;
}

body.process-page .process-interactive-visual img.is-changing {
  opacity: 0.3;
  transform: scale(1.015);
}

body.defense-page-redesign .defense-risk-compliance-heading > p {
  align-self: start;
  margin-top: clamp(32px, 3.8vw, 52px);
}

body.defense-page-redesign .defense-decisions-live .defense-decision-item h3 {
  color: var(--graphite);
}

@media (max-width: 620px) {
  body.process-page .process-interactive-step {
    min-height: 78px;
  }
}

@media (max-width: 900px) {
  body.process-page .process-interactive-content {
    grid-template-columns: minmax(0, 1fr);
    column-gap: 0;
  }

  body.process-page .process-interactive-visual {
    order: -1;
    width: clamp(160px, 56vw, 220px);
    margin: clamp(22px, 6vw, 34px) auto 0;
    border: 0;
  }

  body.process-page .process-interactive-visual img {
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.process-page .process-interactive-visual img {
    transition: none;
  }
}

@media (max-width: 980px) {
  body.defense-page-redesign .defense-risk-compliance-heading > p {
    margin-top: 0;
  }
}

/* Legales: texto corrido sin palabras ni enlaces subrayados o destacados. */
body.policy-page main strong {
  color: inherit;
  font-weight: inherit;
  text-decoration: none;
}

body.policy-page main a,
body.policy-page main a:is(:hover, :focus-visible),
body.policy-page main .glossary-term,
body.policy-page main .glossary-term:is(:hover, :focus-visible) {
  text-decoration: none;
  text-decoration-line: none;
}

.footer-legal a:is(:hover, :focus-visible) {
  text-decoration: none;
  text-decoration-line: none;
}

/* Las secciones editoriales que ya comparten el margen del hero conservan ese eje. */
@media (min-width: 1600px) {
  body:has(main > :is(.home-hero, .page-hero.media-hero, .contact-barcelona-hero)) main > .section {
    padding-inline: max(84px, calc((100% - 1440px) / 2));
  }
}

/* Contacto: el gesto del teléfono acompaña al titular del formulario. */
body.contact-page .contact-copy-heading {
  display: grid;
  grid-template-columns: minmax(220px, .92fr) minmax(250px, 1.08fr);
  gap: clamp(14px, 2vw, 28px);
  align-items: center;
  margin-bottom: clamp(22px, 2.8vw, 36px);
}

body.contact-page .contact-copy-heading h2 {
  min-width: 0;
  margin: 0;
  font-size: clamp(2.9rem, 4.7vw, 5.25rem);
  line-height: .92;
}

body.contact-page .contact-heading-phone-visual {
  width: 100%;
  min-width: 0;
  margin: 0;
  overflow: visible;
  aspect-ratio: 1920 / 878;
}

body.contact-page .contact-heading-phone-visual img {
  display: block;
  width: 116%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: right center;
  transform: translateX(-14%);
}

@media (max-width: 760px) {
  body.contact-page .contact-copy-heading {
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    gap: 12px;
  }

  body.contact-page .contact-copy-heading h2 {
    width: auto;
    font-size: clamp(2.25rem, 10.4vw, 3.2rem);
  }
}

@media (max-width: 600px) {
  body.contact-page .contact-copy-heading {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  body.contact-page .contact-heading-phone-visual {
    width: min(88%, 330px);
  }

  body.contact-page .contact-heading-phone-visual img {
    width: 112%;
    transform: translateX(-10%);
  }
}
/* Reubicación editorial TARIC: razonamiento en Consultoría y acompañamiento en Contacto. */
.consulting-taric-process {
  margin-top: 0;
  padding: clamp(42px, 5vw, 68px) max(5vw, calc((100vw - 1240px) / 2)) clamp(46px, 5.5vw, 76px);
  background:
    radial-gradient(circle at 88% 10%, rgba(112, 44, 54, .08), transparent 30%),
    linear-gradient(135deg, #f7f3ef 0%, #eef0ef 100%);
}

.consulting-taric-process .eir-process-intro {
  display: grid;
  grid-template-columns: minmax(280px, .9fr) minmax(360px, 1.1fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: end;
  width: min(100%, 1180px);
  margin: 0 auto clamp(28px, 3.5vw, 44px);
}

.consulting-taric-process .eir-process-intro h2,
.consulting-taric-process .eir-process-intro p {
  width: 100%;
  margin: 0;
}

.consulting-taric-process .taric-step-icon {
  position: static;
  z-index: 1;
  display: block;
  width: clamp(94px, 9vw, 122px);
  aspect-ratio: 1;
}

.consulting-taric-process .taric-step-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.consulting-taric-process .taric-step-copy {
  width: 100%;
}

@media (min-width: 981px) {
  .consulting-taric-process .eir-process-flow {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    width: min(100%, 1180px);
    margin: 0 auto;
    padding: 1px;
    border: 1px solid rgba(112, 44, 54, .14);
    background: rgba(112, 44, 54, .14);
  }

  .consulting-taric-process .eir-process-flow::before {
    display: none;
  }

  .consulting-taric-process .eir-process-step,
  .consulting-taric-process .eir-process-step:nth-child(even) {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto 1fr;
    gap: 18px;
    min-height: 0;
    padding: clamp(24px, 2.8vw, 36px);
    border: 0;
    border-radius: 0;
    background: rgba(255, 255, 255, .8);
    box-shadow: none;
    transition: background 180ms ease, transform 180ms ease;
  }

  .consulting-taric-process .eir-process-step:nth-child(2),
  .consulting-taric-process .eir-process-step:nth-child(4) {
    background: rgba(241, 235, 229, .92);
  }

  .consulting-taric-process .eir-process-step:hover {
    z-index: 1;
    background: #fff;
    transform: translateY(-4px);
  }

  .consulting-taric-process .taric-step-marker {
    position: static;
    inset: auto;
    display: block;
    grid-column: 1;
    grid-row: 1;
    width: auto;
    height: auto;
    border: 0;
    background: transparent;
    color: var(--wine);
    font-size: .76rem;
    font-weight: 900;
    letter-spacing: .14em;
  }

  .consulting-taric-process .eir-process-step:nth-child(n) .taric-step-icon,
  .consulting-taric-process .eir-process-step:nth-child(n) .taric-step-copy {
    grid-column: 1;
    justify-self: start;
    text-align: left;
  }

  .consulting-taric-process .eir-process-step:nth-child(n) .taric-step-icon {
    grid-row: 2;
    width: clamp(74px, 6vw, 92px);
  }

  .consulting-taric-process .eir-process-step:nth-child(n) .taric-step-copy {
    grid-row: 3;
    align-self: start;
    width: 100%;
    max-width: 30ch;
  }
}

@media (max-width: 980px) {
  .consulting-taric-process .eir-process-intro {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .consulting-taric-process .eir-process-flow {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    width: 100%;
    padding: 1px;
    border: 1px solid rgba(112, 44, 54, .14);
    background: rgba(112, 44, 54, .14);
  }

  .consulting-taric-process .eir-process-flow::before {
    display: none;
  }

  .consulting-taric-process .eir-process-step,
  .consulting-taric-process .eir-process-step:nth-child(even) {
    position: relative;
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 12px 20px;
    min-height: 0;
    padding: clamp(22px, 4vw, 32px);
    border: 0;
    background: rgba(255, 255, 255, .84);
    box-shadow: none;
  }

  .consulting-taric-process .eir-process-step:nth-child(2),
  .consulting-taric-process .eir-process-step:nth-child(3) {
    background: rgba(241, 235, 229, .92);
  }

  .consulting-taric-process .taric-step-marker {
    position: static;
    grid-column: 1 / -1;
    grid-row: 1;
    width: auto;
    height: auto;
    border: 0;
    background: transparent;
    color: var(--wine);
    font-size: .76rem;
    font-weight: 900;
    letter-spacing: .14em;
  }

  .consulting-taric-process .eir-process-step:nth-child(n) .taric-step-icon {
    grid-column: 1;
    grid-row: 2;
    width: 76px;
    justify-self: start;
  }

  .consulting-taric-process .eir-process-step:nth-child(n) .taric-step-copy {
    grid-column: 2;
    grid-row: 2;
    width: 100%;
    justify-self: start;
    text-align: left;
  }
}

@media (max-width: 620px) {
  .consulting-taric-process {
    padding-block: 36px 42px;
  }

  .consulting-taric-process .eir-process-intro {
    margin-bottom: 24px;
  }

  .consulting-taric-process .eir-process-flow {
    grid-template-columns: 1fr;
  }

  .consulting-taric-process .eir-process-step:nth-child(even) {
    background: rgba(241, 235, 229, .92);
  }

  .consulting-taric-process .eir-process-step:nth-child(3) {
    background: rgba(255, 255, 255, .84);
  }
}

body.contact-page .contact-taric-guidance {
  padding: clamp(64px, 8vw, 116px) max(5vw, calc((100vw - 1240px) / 2));
  background: #fff;
}

body.contact-page .contact-taric-heading {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(280px, 1.1fr);
  gap: clamp(30px, 6vw, 90px);
  align-items: end;
  margin-bottom: clamp(36px, 5vw, 72px);
}

body.contact-page .contact-taric-heading h2 {
  margin: 0;
  color: #702c36;
  font-size: clamp(2.8rem, 5.8vw, 6rem);
  line-height: .92;
}

body.contact-page .contact-taric-heading p,
body.contact-page .contact-taric-cases > p {
  margin: 0;
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  line-height: 1.65;
}

body.contact-page .contact-taric-layout {
  display: grid;
  grid-template-columns: minmax(280px, .82fr) minmax(0, 1.18fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: stretch;
}

body.contact-page .contact-taric-phone-visual {
  min-height: 340px;
  margin: 0;
  overflow: hidden;
  background: #f4f0ed;
}

body.contact-page .contact-taric-phone-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
}

body.contact-page .contact-taric-cases {
  padding: clamp(30px, 4vw, 58px);
  background: #f4f0ed;
}

body.contact-page .contact-taric-cases h3 {
  margin: 0 0 18px;
  color: #2b2b2b;
  font-size: clamp(1.8rem, 3vw, 3rem);
}

body.contact-page .contact-taric-cases ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

body.contact-page .contact-taric-cases li {
  position: relative;
  padding: 18px 22px 18px 28px;
  border-top: 1px solid rgba(112, 44, 54, .24);
  line-height: 1.55;
}

body.contact-page .contact-taric-cases li::before {
  content: "";
  position: absolute;
  top: 25px;
  left: 4px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #702c36;
}

/* Revisión responsive de Lola · 22-09-2026
   Ajustes específicos para pantallas panorámicas sin alterar el flujo móvil. */
@media (min-width: 981px) {
  /* La marca y la navegación permanecen junto a sus márgenes, también por encima de 1440 px. */
  body .site-header {
    padding-left: max(var(--header-frame-gutter), env(safe-area-inset-left, 0px));
    padding-right: max(var(--header-frame-gutter), env(safe-area-inset-right, 0px));
  }

  /* Home: el titular crece con el vídeo y aprovecha la segunda columna completa. */
  body.home-page .to-be-video-section {
    grid-template-columns: minmax(0, 2fr) minmax(22rem, 1fr);
    gap: clamp(2rem, 3vw, 3rem);
    padding-block: clamp(6rem, 7vw, 8rem);
    padding-inline: clamp(2.25rem, 4.25vw, 5rem);
  }

  body.home-page .to-be-video-section .home-video-frame {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  body.home-page .to-be-video-section .home-video-frame video {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  body.home-page .to-be-video-section .to-be-copy {
    width: 100%;
    max-width: none;
  }

  body.home-page .to-be-video-section .to-be-copy h2 {
    max-width: 11ch;
    font-size: clamp(3.25rem, 3.55vw, 4.8rem);
    line-height: 0.94;
    text-wrap: balance;
  }

  /* Nosotros: recupera la fotografía protagonista con la caja de cifras superpuesta. */
  body .about-text-only {
    grid-template-columns: minmax(0, 1.05fr) minmax(32rem, 0.95fr);
    align-items: center;
    gap: clamp(4rem, 6vw, 8rem);
  }

  body .about-walking-visual {
    position: relative;
    display: block;
    min-height: clamp(34rem, 36vw, 43rem);
    overflow: visible;
  }

  body .about-walking-visual > img {
    width: 100%;
    height: clamp(34rem, 36vw, 43rem);
    object-fit: cover;
    object-position: center;
  }

  body .about-text-only .about-key-data {
    position: absolute;
    right: clamp(-1rem, -0.8vw, 0rem);
    bottom: clamp(1.25rem, 2vw, 2.25rem);
    left: clamp(1.25rem, 2vw, 2.25rem);
    z-index: 2;
    display: grid;
    width: auto;
    grid-template-columns: minmax(0, 1fr);
    gap: 1px;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(112, 44, 54, 0.42);
    background: rgba(112, 44, 54, 0.32);
    box-shadow: 0 18px 42px rgba(35, 31, 32, 0.18);
  }

  body .about-text-only .about-key-data article {
    display: grid;
    min-height: 0;
    grid-template-columns: clamp(5.5rem, 6vw, 7rem) minmax(0, 1fr);
    align-items: center;
    gap: 1rem;
    padding: clamp(0.8rem, 1vw, 1rem) clamp(1rem, 1.4vw, 1.5rem);
    border: 0;
    background: rgba(251, 250, 247, 0.95);
    box-shadow: none;
  }

  body .about-text-only .about-key-data strong {
    font-size: clamp(1.75rem, 2vw, 2.35rem);
  }

  body .about-text-only .about-key-data span {
    min-height: 0;
    padding: 0;
    background: transparent;
    font-size: clamp(0.76rem, 0.8vw, 0.92rem);
    line-height: 1.3;
    text-align: left;
  }
}

/* Las dos citas fotográficas comparten jerarquía, contraste y alineación. */
body .about-truck-break blockquote {
  top: clamp(3rem, 6vw, 5.4rem);
  left: 50%;
  width: min(calc(100% - clamp(5.25rem, 13vw, 13.75rem)), 87.5rem);
  color: rgba(255, 255, 255, 0.78);
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 850;
  font-size: clamp(2.75rem, 4.4vw, 5.5rem);
  line-height: 1.03;
  letter-spacing: 0;
  text-align: center;
  text-transform: none;
  text-wrap: balance;
  text-shadow: 0 3px 24px rgba(0, 0, 0, 0.42);
  transform: translateX(-50%);
}

/* Legal: conserva la imagen completa en vez de recortarla dentro de una altura fija. */
body.defense-page-redesign .defense-hammer-break {
  height: auto;
  min-height: 0;
  aspect-ratio: 16 / 9;
}

body.defense-page-redesign .defense-hammer-break img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

/* FAQ: fondo continuo y difuminado, con una medida de lectura más generosa. */
.process-faq {
  width: 100%;
  max-width: none;
  padding-inline: max(var(--page-gutter), calc((100% - 1440px) / 2));
  background:
    radial-gradient(ellipse at 54% 42%, rgba(112, 44, 54, 0.075), transparent 66%),
    linear-gradient(90deg, rgba(248, 245, 242, 0) 0%, #f8f5f2 8%, #f2eeeb 50%, #f8f5f2 92%, rgba(248, 245, 242, 0) 100%);
}

.process-faq-answer {
  width: 100%;
  max-width: none;
  padding-right: clamp(3.25rem, 5vw, 5.5rem);
}

@media (max-width: 680px) {
  body .about-truck-break blockquote {
    top: clamp(1.6rem, 8vw, 2.4rem);
    width: calc(100% - 2.75rem);
    font-size: clamp(1.75rem, 7vw, 2.4rem);
    line-height: 1.08;
  }

  body.defense-page-redesign .defense-hammer-break {
    aspect-ratio: 16 / 9;
  }

  .process-faq {
    padding-inline: var(--page-gutter);
  }
}

@media (max-width: 800px) {
  body.contact-page .contact-taric-heading,
  body.contact-page .contact-taric-layout {
    grid-template-columns: 1fr;
  }

  body.contact-page .contact-taric-phone-visual {
    min-height: 220px;
  }

  body.contact-page .contact-taric-cases ul {
    grid-template-columns: 1fr;
  }
}

/* Consultoría: acceso breve a la herramienta TARIC. */
body.consulting-page .consulting-taric-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(3.75rem, 5.5vw, 5.75rem) max(var(--page-gutter), calc((100% - 1440px) / 2));
  background:
    radial-gradient(circle at 14% 18%, rgba(112, 44, 54, 0.075), transparent 27rem),
    radial-gradient(circle at 86% 82%, rgba(97, 97, 96, 0.08), transparent 24rem),
    linear-gradient(135deg, #edf1f4 0%, #f3f4f3 52%, #f4efed 100%);
}

body.consulting-page .consulting-taric-cta-inner {
  position: relative;
  z-index: 1;
  width: min(100%, 62rem);
  margin: 0 auto;
  text-align: center;
}

body.consulting-page .consulting-taric-cta-inner::before {
  content: "";
  display: block;
  width: 3.5rem;
  height: 0.25rem;
  margin: 0 auto clamp(1.5rem, 2.5vw, 2rem);
  background: var(--accent);
}

/* Revisión Lola 29-09: las cifras quedan dentro de la caja, que sobresale de la fotografía. */
@media (min-width: 981px) {
  body .about-text-only .about-key-data {
    right: clamp(-2.5rem, -2.25vw, -2rem);
    left: clamp(3rem, 4.5vw, 4rem);
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    overflow: hidden;
    border: 1px solid rgba(112, 44, 54, 0.48);
    background: rgba(251, 250, 247, 0.97);
    box-shadow: 0 18px 42px rgba(35, 31, 32, 0.18);
  }

  body .about-text-only .about-key-data article {
    display: grid;
    grid-template-columns: clamp(5.75rem, 6vw, 7rem) minmax(0, 1fr);
    align-items: stretch;
    gap: 0;
    padding: 0;
    background: transparent;
  }

  body .about-text-only .about-key-data strong,
  body .about-text-only .about-key-data span {
    display: flex;
    min-height: clamp(3.4rem, 4.4vw, 4.35rem);
    align-items: center;
    box-sizing: border-box;
  }

  body .about-text-only .about-key-data strong {
    padding: 0 clamp(0.85rem, 1.2vw, 1.25rem);
    border-right: 1px solid rgba(112, 44, 54, 0.22);
    background: rgba(251, 250, 247, 0.99);
  }

  body .about-text-only .about-key-data span {
    padding: 0 clamp(1.25rem, 2vw, 2.25rem);
    border: 0;
    background: transparent;
  }

  body .about-text-only .about-key-data article:not(:first-child) {
    border-top: 1px solid rgba(112, 44, 54, 0.18);
  }
}

body.consulting-page .consulting-aircraft-break blockquote {
  top: clamp(24px, 4vw, 56px);
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

body.eir-page .eir-hand-collection .hand-collection-copy h2 {
  max-width: 100%;
  font-size: clamp(1.35rem, 1.7vw, 2rem);
  line-height: 1.02;
}

body.eir-page .eir-hand-collection .hand-collection-item {
  min-height: clamp(360px, 32vw, 450px);
  padding: clamp(24px, 2.4vw, 34px) clamp(20px, 2.2vw, 30px) clamp(218px, 20vw, 285px);
}

body.eir-page .eir-hand-collection .hand-collection-item img {
  right: auto;
  bottom: 0;
  left: 50%;
  width: calc(100% - clamp(24px, 3vw, 44px));
  height: 66%;
  object-fit: contain;
  object-position: center bottom;
  transform: translateX(-50%);
}

body.eir-page .eir-hand-collection .hand-collection-item:nth-child(4) img {
  bottom: 10px;
  height: 58%;
}

@media (hover: hover) and (pointer: fine) {
  body.eir-page .eir-hand-collection .hand-collection-item:hover img {
    transform: translate(-50%, -4px) scale(1.015);
  }
}

@media (max-width: 680px) {
  body.eir-page .eir-hand-collection .hand-collection-item {
    min-height: 350px;
    padding: 24px 22px 210px;
  }

  body.eir-page .eir-hand-collection .hand-collection-item img {
    width: min(86%, 22rem);
    height: 64%;
  }
}

@media (max-width: 680px) {
  body.consulting-page .consulting-aircraft-break blockquote {
    top: 18px;
  }
}

body.consulting-page .consulting-taric-cta h2 {
  max-width: 24ch;
  margin: 0 auto;
  color: var(--accent);
  font-size: clamp(2.15rem, 3.2vw, 3.4rem);
  line-height: 1.02;
  text-wrap: balance;
}

body.consulting-page .consulting-taric-cta p {
  max-width: 60ch;
  margin: clamp(1.35rem, 2.4vw, 2rem) auto 0;
  color: #4f4d4d;
  font-size: clamp(1.05rem, 1.35vw, 1.3rem);
  line-height: 1.65;
  text-wrap: balance;
}

body.consulting-page .consulting-taric-cta .button {
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
  padding-inline: clamp(1.5rem, 3vw, 2.5rem);
}

body.consulting-page .consulting-taric-cta .button.primary:hover,
body.consulting-page .consulting-taric-cta .button.primary:focus-visible {
  color: var(--accent);
  border-color: var(--accent);
  background: transparent;
}

@media (max-width: 620px) {
  body.consulting-page .consulting-taric-cta {
    padding-block: 3.75rem 4rem;
  }

  body.consulting-page .consulting-taric-cta h2 {
    max-width: 13ch;
    font-size: clamp(2.05rem, 10vw, 2.8rem);
  }

  body.consulting-page .consulting-taric-cta p {
    font-size: 1rem;
    line-height: 1.6;
  }
}

/* Consultoría: perfil completo y con más presencia en escritorio. */
body.consulting-page #enfoque-visual .solution-profile-media img,
body.consulting-page #enfoque-visual:hover .solution-profile-media img {
  left: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: left center;
  transform: none;
}

@media (min-width: 681px) {
  body.consulting-page #enfoque-visual .solution-profile-media {
    overflow: visible;
  }

  body.consulting-page #enfoque-visual .solution-profile-media img,
  body.consulting-page #enfoque-visual:hover .solution-profile-media img {
    top: 50%;
    left: 50%;
    width: 132%;
    height: 132%;
    max-width: none;
    max-height: none;
    object-position: center;
    transform: translate(-50%, -50%);
  }
}

@media (max-width: 680px) {
  body.consulting-page #enfoque-visual .solution-profile-media img,
  body.consulting-page #enfoque-visual:hover .solution-profile-media img {
    top: 0;
    object-position: center;
  }
}
