/* EYJ-EVOLUCION-20261112. Extiende la demo existente, sin importar plantillas. */
:root { --header-h: 104px; }
body { padding-top: var(--header-h); }
.site-header, .site-header.is-solid,
.nav-open .site-header, .nav-open .site-header.is-solid {
  background: #fff; color: var(--ink); border-bottom: 1px solid #dce7e2;
  backdrop-filter: none; -webkit-backdrop-filter: none;
}
.site-header::after { display: none; }
.header-inner { min-height: var(--header-h); gap: 28px; }
.site-header .brand { padding: 0; border-radius: 0; background: transparent; box-shadow: none; }
.site-header .brand-logo { width: 184px; height: auto; max-width: 100%; object-fit: contain; filter: none; }
.header-contact { display: none; }
.site-nav { gap: 30px; }
.nav-list { gap: 26px; }
.nav-list a { font-size: 14px; white-space: nowrap; }
.site-nav .nav-cta { min-height: 46px; padding: 13px 21px; font-family: var(--sans); font-size: 14px; font-weight: 600; letter-spacing: 0; text-transform: none; }
.site-header:not(.is-solid) .nav-cta:hover, .site-header.is-solid .nav-cta:hover { background: var(--ink); color: white; border-color: var(--ink); }
.service-hero { padding-top: 0; min-height: 0; display: block; background: #102f36; }
.hero-layout { display: grid; grid-template-columns: 1fr 1.05fr; gap: 50px; align-items: center; padding-block: 68px 44px; }
.service-hero .hero-content { margin: 0; padding: 0; min-width: 0; }
.hero-service { color: #b9e2cb; font-size: 15px; margin: 0 0 22px; }
.service-hero h1 { font-size: clamp(2.7rem,4.6vw,4rem); line-height: 1.04; max-width: 19ch; margin: 0 0 24px; min-height: 2.2em; }
.service-hero .hero-lead { font-size: 17px; line-height: 1.65; color: #e0ece5; min-height: 5em; max-width: 45ch; }
.service-hero .hero-actions { gap: 20px 24px; margin-top: 28px; }
.service-hero .hero-actions .btn { font-family: var(--sans); letter-spacing: 0; text-transform: none; font-size: 15px; padding: 16px 24px; min-height: 52px; }
.service-hero .hero-actions .link-arrow { font-family: var(--sans); letter-spacing: 0; text-transform: none; font-size: 14px; }
.hero-location { font-size: 12px; color: #b8cdc5; margin: 30px 0 0; }
.service-hero .hero-media { position: relative; inset: auto; z-index: 1; margin: 0; overflow: hidden; min-width: 0; }
.service-hero .hero-media img { display: block; width: 100%; height: auto; aspect-ratio: 16/11; object-fit: contain; object-position: center; background: #163a3d; transform-origin: center; }
.service-hero .hero-media figcaption { position: relative; z-index: 1; margin-top: 12px; color: #bfd3cb; font-size: 11px; line-height: 1.5; background: #102f36; }
.hero-navigation { display: flex; gap: 32px; align-items: center; justify-content: space-between; }
.hero-tabs { flex: 1; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 24px; }
.hero-tabs button { min-height: 60px; border: 0; border-top: 1px solid #4c6b67; padding: 16px 0; text-align: left; background: none; color: #d6e4de; font-size: 15px; }
.hero-tabs button[aria-selected="true"] { border-top: 2px solid #c4d991; color: #e4f1b7; font-weight: 600; }
.hero-switch { display: flex; align-items: center; gap: 12px; }
.hero-count { font-size: 13px; white-space: nowrap; color: #d6e4de; margin: 0 10px 0 0; font-variant-numeric: tabular-nums; }
.round-control { width: 44px; height: 44px; border: 1px solid #a2bdb3; border-radius: 50%; background: none; color: white; font-size: 22px; line-height: 1; }
.round-control:hover { background: #284b48; }
.service-hero .hero-foot { align-items: center; padding-block: 20px; margin-top: 18px; }
.service-hero .hero-credit { font-family: var(--sans); font-size: 11px; letter-spacing: 0; text-transform: none; color: #bed0c8; max-width: 80ch; }
.motion-toggle { font-size: 12px; }
.intro.section { padding-block: 65px; }
.intro .pillars { margin-top: 42px; }
.intro .facts { margin-top: 40px; }
.evolution-heading { display: grid; grid-template-columns: 1.15fr 1fr; align-items: end; gap: 60px; margin-bottom: 42px; }
.evolution-heading h2, .team-copy h2, .homolog-layout h2 { margin: 0; max-width: 24ch; font-size: clamp(2rem,3.3vw,3.2rem); line-height: 1.1; }
.evolution-heading em, .team-statement em { font-weight: 400; }
.evolution-heading > p { max-width: 48ch; margin: 0 0 4px; font-size: 17px; color: var(--ink-2); line-height: 1.65; }
.process-section { background: #f9faf5; }
.process-layout { display: grid; grid-template-columns: .8fr 1.6fr; gap: 50px; }
.process-tabs { display: flex; flex-direction: column; gap: 0; }
.process-tabs button { display: flex; align-items: flex-start; gap: 20px; min-height: 104px; padding: 24px 0; text-align: left; border: 0; border-top: 1px solid var(--line); background: none; color: var(--ink-2); }
.process-tabs button[aria-selected="true"] { color: var(--ink); border-top-color: var(--verde); }
.process-tabs button[aria-selected="true"] strong { color: var(--verde); }
.process-number { font-size: 13px; color: var(--verde); font-variant-numeric: tabular-nums; padding-top: 3px; }
.process-tabs strong { display: block; font-size: 20px; font-weight: 500; line-height: 1.25; }
.process-tabs small { display: block; font-size: 14px; line-height: 1.5; margin-top: 7px; }
.process-panel { margin: 0 0 30px; }
.js .process-panel { margin-bottom: 0; }
.process-visual { margin: 0; background: #123c35; }
.process-visual svg { display: block; width: 100%; height: auto; max-height: 360px; }
.process-visual figcaption { padding: 12px 22px; color: #d6e4cf; font-size: 12px; line-height: 1.5; background: #12362f; }
.process-copy { padding-top: 22px; }
.process-copy h3 { margin: 0 0 10px; font-size: 1.7rem; }
.process-copy > p { font-size: 16px; color: var(--ink-2); max-width: 65ch; margin: 0; }
.process-scope { border-top: 1px solid var(--line); margin-top: 32px; padding-top: 17px; }
.process-scope summary { min-height: 44px; cursor: pointer; font-size: 15px; color: var(--celeste); }
.process-scope p { max-width: 80ch; font-size: 15px; }
.process-note { margin-top: 16px; max-width: 105ch; font-size: 12px; }
.process-panel .scan-line { animation: process-scan 6s ease-in-out infinite paused; }
.process-panel .pulse { animation: process-pulse 3s ease-in-out infinite paused; }
.process-panel .draw { stroke-dasharray: 600; animation: process-draw 6s linear infinite paused; }
.is-motion-visible .process-panel .scan-line, .is-motion-visible .process-panel .pulse, .is-motion-visible .process-panel .draw { animation-play-state: running; }
.motion-paused .process-panel *, .page-hidden .process-panel * { animation-play-state: paused !important; }
@keyframes process-scan { 0%,100% { transform: translateY(-12px); opacity: .4; } 50% { transform: translateY(20px); opacity: 1; } }
@keyframes process-pulse { 50% { opacity: .35; } }
@keyframes process-draw { 0% { stroke-dashoffset: 600; } 80%,100% { stroke-dashoffset: 0; } }
.sectors-section { background: #e9f2ed; }
.sector-layout { display: grid; grid-template-columns: .65fr 2fr; gap: 46px; }
.sector-tabs { display: flex; flex-direction: column; }
.sector-tabs button { display: flex; align-items: center; justify-content: space-between; gap: 10px; text-align: left; min-height: 64px; background: none; border: 0; border-top: 1px solid #b4c9bd; color: var(--ink-2); font-size: 20px; }
.sector-tabs button[aria-selected="true"] { color: var(--verde); font-weight: 600; border-top-color: var(--verde); }
.sector-panel { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 30px; margin-bottom: 30px; }
.js .sector-panel { margin-bottom: 0; }
.sector-panel figure { margin: 0; }
.sector-panel img { width: 100%; height: 280px; object-fit: contain; background: #d4e4db; }
.sector-panel figcaption { font-size: 11px; line-height: 1.55; color: var(--ink-2); margin-top: 10px; }
.sector-copy h3 { font-size: 1.9rem; line-height: 1.1; margin: 0 0 18px; }
.sector-copy > p { font-size: 16px; color: var(--ink-2); margin: 0 0 18px; }
.sector-copy .small-note { font-size: 12px; }
.sector-copy .link-arrow { font-family: var(--sans); letter-spacing: 0; text-transform: none; font-size: 14px; margin-top: 12px; }
.team-section { background: #fff; }
.team-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.team-statement { background: #123a3b; color: #eef5ed; padding: 40px 46px; }
.team-statement > span { font-size: 13px; color: #b9d7c9; }
.team-statement > p { font-family: var(--serif); font-size: clamp(3rem,5.4vw,5rem); line-height: 1.06; letter-spacing: -.025em; margin: 35px 0 10px; }
.team-statement em { color: #d7e3ac; }
.team-copy .lead { font-size: 19px; margin-top: 25px; }
.team-copy > p { max-width: 65ch; }
.pending-content { margin-top: 28px; padding-block: 24px; border-block: 1px solid var(--line); }
.pending-content h3 { font-family: var(--sans); font-size: 16px; margin: 0 0 10px; font-weight: 600; }
.pending-content p { color: var(--ink-2); font-size: 14px; margin: 0; }
.team-copy .small-note { font-size: 12px; margin-top: 18px; }
.homolog-section { background: #f9f6e8; }
.homolog-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.homolog-layout > div > p { margin-top: 24px; max-width: 48ch; color: var(--ink-2); font-size: 17px; }
.document-state { border-top: 1px solid #b8ba9c; padding-top: 20px; }
.document-status { color: #52643c; font-size: 13px; }
.document-state h3 { font-size: 1.6rem; margin: 18px 0 12px; }
.document-state > p { font-size: 15px !important; }
.document-state .link-arrow { font-family: var(--sans); font-size: 14px; text-transform: none; letter-spacing: 0; margin-top: 20px; }
.site-footer .footer-nav { flex-wrap: wrap; }
@media (max-width:1100px) {
  .header-inner { gap: 20px; }
  .site-header .brand-logo { width: 160px; }
  .site-nav { gap: 22px; }
  .nav-list { gap: 20px; }
  .nav-list a { font-size: 13px; }
  .site-nav .nav-cta { padding: 12px 16px; font-size: 13px; }
  .hero-layout { gap: 30px; padding-block: 48px 36px; }
  .service-hero h1 { font-size: 3.4rem; }
  .service-hero .hero-lead { font-size: 16px; }
  .hero-tabs { gap: 16px; }
  .hero-tabs button { font-size: 13px; }
  .sector-layout { grid-template-columns: .6fr 2fr; gap: 30px; }
  .sector-panel { grid-template-columns: 1fr; gap: 22px; }
  .sector-panel img { height: 280px; }
  .sector-copy h3 { font-size: 1.7rem; }
  .team-layout, .homolog-layout { gap: 45px; }
}
@media (max-width:900px) {
  :root { --header-h: 88px; }
  .site-header .brand-logo { width: 148px; }
  .header-inner { gap: 18px; }
  .header-contact { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 15px; border: 1px solid var(--celeste); color: var(--celeste); margin-left: auto; font-size: 14px; z-index: 60; }
  .nav-open .header-contact { visibility: hidden; }
  .js .site-nav { top: var(--header-h); padding: 24px var(--pad) 34px; background: var(--petrol); color: var(--paper); }
  .js .site-nav .nav-cta { color: var(--paper); border-color: var(--paper); }
  .js .site-nav .nav-cta:hover { color: var(--ink); background: var(--paper); }
  .js .nav-list a { font-size: 1.8rem; white-space: normal; }
  .menu-toggle { z-index: 61; }
  .hero-layout { grid-template-columns: 1fr; gap: 30px; padding-top: 42px; }
  .service-hero h1 { font-size: clamp(2.8rem,7vw,4.4rem); min-height: 0; max-width: 20ch; }
  .service-hero .hero-lead { min-height: 0; max-width: 60ch; }
  .hero-location { margin-top: 25px; }
  .service-hero .hero-media img { aspect-ratio: 16/9; max-height: 360px; }
  .hero-navigation { gap: 20px; }
  .evolution-heading { grid-template-columns: 1fr; gap: 20px; margin-bottom: 30px; }
  .evolution-heading > p { max-width: 65ch; }
  .process-layout, .sector-layout { grid-template-columns: 1fr; gap: 25px; }
  .process-tabs { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
  .process-tabs button { min-height: 88px; padding: 16px 0; flex-direction: column; gap: 8px; }
  .process-tabs strong { font-size: 16px; }
  .process-tabs small { display: none; }
  .process-visual svg { max-height: 360px; }
  .sector-tabs { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
  .sector-tabs button { font-size: 17px; }
  .sector-tabs button > span { display: none; }
  .sector-panel { grid-template-columns: 1fr 1fr; gap: 30px; }
  .team-layout { gap: 36px; }
  .team-statement { padding: 30px; }
  .team-copy .lead { font-size: 17px; }
  html:not(.js) .site-header { position: relative; }
  html:not(.js) body { padding-top: 0; }
  html:not(.js) .header-contact { display: none; }
  html:not(.js) .process-layout, html:not(.js) .sector-layout { display: block; }
}
@media (max-width:600px) {
  :root { --header-h: 84px; }
  .site-header .brand-logo { width: 132px; }
  .header-inner { gap: 14px; }
  .header-contact { padding: 9px 11px; font-size: 13px; }
  .menu-toggle { gap: 8px; }
  .menu-toggle-text { font-size: 11px; }
  .hero-layout { padding-top: 32px; padding-bottom: 26px; gap: 26px; }
  .hero-service { font-size: 13px; margin-bottom: 17px; }
  .service-hero h1 { font-size: clamp(2.45rem,9vw,3.4rem); margin-bottom: 22px; line-height: 1.06; }
  .service-hero .hero-lead { font-size: 16px; line-height: 1.6; }
  .service-hero .hero-actions { gap: 18px; margin-top: 25px; }
  .service-hero .hero-actions .btn { font-size: 14px; padding: 14px 20px; }
  .hero-location { font-size: 11px; margin-top: 24px; }
  .service-hero .hero-media img { aspect-ratio: 16/10; }
  .service-hero .hero-media figcaption { font-size: 10px; margin-top: 10px; }
  .hero-navigation { flex-wrap: wrap; gap: 13px; }
  .hero-tabs { flex-basis: 100%; gap: 10px; }
  .hero-tabs button { font-size: 12px; min-height: 54px; padding-block: 12px; }
  .hero-switch { margin-left: auto; }
  .service-hero .hero-foot { margin-top: 14px; gap: 12px; align-items: flex-start; }
  .service-hero .hero-credit { font-size: 11px; }
  .service-hero .motion-toggle { align-self: flex-end; }
  .intro.section { padding-block: 50px; }
  .process-tabs { gap: 10px; }
  .process-tabs strong { font-size: 13px; line-height: 1.35; overflow-wrap: anywhere; }
  .process-tabs button { min-height: 90px; }
  .process-visual svg { max-height: 270px; }
  .process-visual figcaption { font-size: 11px; padding: 12px 16px; }
  .process-copy h3 { font-size: 1.6rem; }
  .sector-tabs { grid-template-columns: repeat(2,1fr); gap: 0 20px; }
  .sector-tabs button { font-size: 18px; min-height: 56px; }
  .sector-panel, .team-layout, .homolog-layout { grid-template-columns: 1fr; gap: 28px; }
  .sector-panel img { height: 240px; }
  .team-statement { padding: 30px; }
  .team-statement > p { font-size: 3.7rem; margin-top: 25px; }
}
@media (max-width:360px) {
  .site-header .brand-logo { width: 112px; }
  .header-inner { gap: 10px; }
  .header-contact { padding-inline: 9px; }
  .menu-toggle-text { display: none; }
}
@media (prefers-reduced-motion:reduce) {
  .process-panel *, .service-hero .hero-media img { animation: none !important; transform: none !important; }
}
@media print {
  body { padding-top: 0; }
  .hero-tabs, .hero-switch, .process-tabs, .sector-tabs, .header-contact { display: none !important; }
  .service-hero, .process-visual { background: white; color: black; }
  .hero-layout, .team-layout, .homolog-layout { display: block; }
  .process-panel[hidden], .sector-panel[hidden] { display: block !important; }
  .process-panel * { animation: none !important; }
}


/* La demostración visual se conecta al servicio, sin simular resultados de EYJ. */
.process-copy .process-output { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--ink); font-size: 15px; }
.process-output strong { display: block; font-family: var(--sans); color: var(--verde); font-size: 13px; font-weight: 600; margin-bottom: 7px; }
.case-placeholder { display: grid; grid-template-columns: 1.15fr 1fr; gap: 65px; padding-block: 32px; margin-top: 28px; border-top: 1px solid #a8c1b2; border-bottom: 1px solid #a8c1b2; }
.case-status { font-size: 12px; color: var(--verde); }
.case-placeholder h3 { font-size: 1.9rem; line-height: 1.15; max-width: 29ch; margin: 14px 0; }
.case-placeholder p { font-size: 16px; line-height: 1.65; max-width: 60ch; color: var(--ink-2); }
.case-placeholder .link-arrow { margin-top: 20px; font-family: var(--sans); font-size: 14px; letter-spacing: 0; text-transform: none; }
.case-fields { margin: 0; }
.case-fields > div { padding: 0 0 17px; margin: 0 0 17px; border-bottom: 1px solid #c8d8cb; }
.case-fields > div:last-child { border: 0; margin: 0; padding: 0; }
.case-fields dt { font-size: 15px; font-weight: 600; color: var(--ink); }
.case-fields dd { margin: 6px 0 0; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.reference-gallery-heading { padding-top: 35px; }
.reference-gallery-heading h3 { font-size: 1.5rem; margin: 0 0 10px; }
.reference-gallery-heading p { font-size: 14px; line-height: 1.6; color: var(--ink-2); margin: 0 0 20px; }
@media (max-width:900px) { .case-placeholder { gap: 35px; } }
@media (max-width:600px) { .case-placeholder { grid-template-columns: 1fr; gap: 28px; padding-block: 27px; } .case-placeholder h3 { font-size: 1.7rem; } }

/* Los controles se asocian a las fotos referenciales, no al marcador de proyectos. */
.registro-head { display: block; }
.reference-gallery-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
.reference-gallery-heading .gal-controls { margin-bottom: 20px; flex-shrink: 0; }
@media (max-width:600px) { .reference-gallery-heading { align-items: flex-start; flex-direction: column; gap: 0; } }


/* EYJ-PORTADA-20261112: navegación directa y fotografía a fondo completo. */
:root { --header-h:104px; }
html .site-header { --focus:var(--celeste); }
html .site-header .header-inner { flex-wrap:nowrap; justify-content:space-between; gap:30px; }
html .site-header .site-nav { display:flex; position:static; inset:auto; width:auto; margin:0 0 0 auto; padding:0; flex-direction:row; align-items:center; justify-content:flex-end; gap:32px; background:transparent; color:var(--ink); visibility:visible; opacity:1; transform:none; transition:none; overflow:visible; }
html .site-header .nav-list { display:flex; flex-direction:row; align-items:center; gap:30px; border:0; }
html .site-header .nav-list a { display:inline-flex; min-height:44px; align-items:center; gap:0; padding:10px 0; font-family:var(--sans); font-size:15px; line-height:1.3; letter-spacing:0; color:var(--ink); border-bottom:1px solid transparent; }
html .site-header .nav-list a:hover, html .site-header .nav-list a[aria-current] { color:var(--celeste); border-bottom-color:var(--celeste); }
html .site-header .nav-cta { width:auto; color:var(--ink); border-color:var(--ink); }
html .site-header .nav-cta:hover { color:white; border-color:var(--ink); background:var(--ink); }
.full-photo-hero { position:relative; display:flex; flex-direction:column; justify-content:flex-start; min-height:clamp(580px,calc(100svh - var(--header-h)),780px); overflow:hidden; padding:0; touch-action:pan-y; }
.full-photo-hero .hero-media { position:absolute; inset:0; z-index:0; width:100%; height:100%; margin:0; }
.full-photo-hero .hero-media img, .full-photo-hero .hero-outgoing { display:block; position:absolute; inset:0; width:100%; height:100%; max-height:none; aspect-ratio:auto; object-fit:cover; object-position:center; background:var(--petrol); pointer-events:none; }
.full-photo-hero .hero-outgoing { z-index:0; }
.full-photo-hero .hero-veil { display:block; position:absolute; inset:0; z-index:1; background:linear-gradient(90deg,rgba(7,25,32,.9),rgba(7,25,32,.65) 48%,rgba(7,25,32,.2)),linear-gradient(0deg,rgba(7,25,32,.66),transparent 40%); pointer-events:none; }
.hero-service-bar { position:relative; z-index:3; background:rgba(9,30,38,.55); border-bottom:1px solid rgba(235,247,239,.22); }
.hero-service-bar .hero-tabs { display:flex; width:100%; gap:30px; overflow-x:auto; overscroll-behavior-x:contain; scrollbar-width:thin; scrollbar-color:#adcac1 transparent; }
.hero-service-bar .hero-tabs button { flex:0 0 auto; min-height:64px; padding:18px 0; border:0; border-bottom:2px solid transparent; background:transparent; color:#edf5ef; text-align:center; font-size:15px; white-space:nowrap; }
.hero-service-bar .hero-tabs button[aria-selected="true"] { border-bottom-color:#d3e8a0; color:#e4f1b7; font-weight:600; }
.full-photo-hero .hero-layout { position:relative; z-index:2; display:block; padding:65px 22px 105px; margin-block:auto; }
.full-photo-hero .hero-content { max-width:800px; padding:0; margin:0; }
.full-photo-hero .hero-location { font-size:14px; color:#d7e7e0; margin:0 0 24px; }
.full-photo-hero h1 { font-size:clamp(2.7rem,5.5vw,5rem); line-height:1.04; max-width:19ch; margin:0 0 26px; min-height:0; }
.full-photo-hero .hero-lead { color:#ecf4ee; max-width:53ch; font-size:19px; line-height:1.6; min-height:0; margin:0; }
.full-photo-hero .hero-actions { margin-top:32px; gap:22px 32px; }
.full-photo-hero .hero-switch { display:contents; }
.hero-triangle { position:absolute; z-index:4; top:50%; transform:translateY(-50%); display:grid; place-items:center; width:48px; min-height:64px; padding:10px; color:white; background:transparent; border:0; border-radius:0; cursor:pointer; }
.hero-triangle svg { display:block; width:24px; height:32px; fill:currentColor; filter:drop-shadow(0 2px 4px rgba(0,0,0,.45)); }
.hero-triangle-prev { left:12px; }
.hero-triangle-next { right:12px; }
.hero-triangle:hover { color:#d8edb1; background:transparent; }
.full-photo-hero .hero-photo-credit { position:absolute; z-index:2; bottom:22px; left:max(var(--pad),calc((100% - 1280px)/2 + 22px)); right:85px; margin:0; font-size:11px; line-height:1.5; color:#e0eae3; max-width:80ch; }
.hero-motion-toggle { position:absolute; right:18px; bottom:12px; z-index:4; display:grid; place-items:center; min-width:44px; min-height:44px; padding:12px; border:0; background:transparent; color:white; }
@media (max-width:1100px) {
  html .site-header .header-inner { gap:24px; }
  html .site-header .site-nav { gap:25px; }
  html .site-header .nav-list { gap:25px; }
  html .site-header .nav-list a { font-size:14px; }
  .hero-service-bar .hero-tabs { gap:26px; }
  .full-photo-hero .hero-layout { padding-left:32px; padding-right:32px; }
  .full-photo-hero .hero-content { max-width:690px; }
  .full-photo-hero h1 { font-size:clamp(2.8rem,6vw,4.5rem); }
  .hero-triangle-prev { left:4px; }
  .hero-triangle-next { right:4px; }
  .hero-triangle { width:40px; }
}
@media (max-width:900px) {
  :root { --header-h:88px; }
  html .site-header .header-inner { gap:22px; }
  html .site-header .site-nav { gap:24px; }
  html .site-header .nav-list { gap:24px; }
  .hero-service-bar .hero-tabs button { min-height:58px; font-size:14px; }
  .full-photo-hero .hero-layout { padding-block:55px 100px; }
  .full-photo-hero .hero-lead { font-size:18px; }
  html:not(.js) .site-header { position:fixed; }
  html:not(.js) body { padding-top:var(--header-h); }
  html:not(.js) .site-header .header-inner { padding-block:0; }
}
@media (max-width:600px) {
  :root { --header-h:132px; }
  html .site-header .header-inner { flex-wrap:wrap; justify-content:center; gap:0; padding-block:6px 8px; }
  html .site-header .brand-logo { width:132px; }
  html .site-header .site-nav { width:100%; margin:0; justify-content:space-between; gap:14px; }
  html .site-header .nav-list { flex:1; justify-content:space-between; gap:12px; }
  html .site-header .nav-list a { font-size:13px; padding:10px 0; }
  html .site-header .nav-cta { min-height:44px; font-size:13px; padding:10px 12px; }
  .hero-service-bar .hero-tabs { gap:24px; }
  .hero-service-bar .hero-tabs button { font-size:13px; min-height:52px; padding-block:14px; }
  .full-photo-hero { min-height:620px; }
  .full-photo-hero .hero-layout { padding:48px 28px 95px; }
  .full-photo-hero h1 { font-size:clamp(2.15rem,9vw,3rem); max-width:18ch; margin-bottom:22px; }
  .full-photo-hero .hero-location { font-size:12px; margin-bottom:22px; }
  .full-photo-hero .hero-lead { font-size:16px; line-height:1.6; }
  .full-photo-hero .hero-actions { flex-direction:column; align-items:flex-start; gap:22px; margin-top:28px; }
  .full-photo-hero .hero-actions .btn { width:auto; padding:14px 18px; }
  .full-photo-hero .hero-actions .link-arrow { font-size:13px; }
  .hero-triangle { width:30px; min-height:56px; padding:5px; }
  .hero-triangle svg { width:17px; height:25px; }
  .hero-triangle-prev { left:0; }
  .hero-triangle-next { right:0; }
  .full-photo-hero .hero-photo-credit { font-size:10px; left:var(--pad); bottom:18px; right:65px; }
}
@media (max-width:360px) {
  html .site-header .brand-logo { width:120px; }
  html .site-header .site-nav, html .site-header .nav-list { gap:10px; }
  html .site-header .nav-list a, html .site-header .nav-cta { font-size:12px; }
  html .site-header .nav-cta { padding-inline:10px; }
}
@media (prefers-reduced-motion:reduce) { .full-photo-hero .hero-media { transform:none !important; } }
@media print { .hero-service-bar,.hero-triangle,.hero-motion-toggle { display:none !important; } }

/* Contacto mantiene contraste y disponibilidad, también en móvil sin JavaScript. */
html .site-header .site-nav .nav-cta { display:inline-flex; color:var(--ink); border-color:var(--ink); background:transparent; }
html .site-header .site-nav .nav-cta:hover { color:white; background:var(--ink); border-color:var(--ink); }
.full-photo-hero .hero-actions .btn { width:auto; }


/* EYJ-ACABADO-20261112: anotaciones de limpieza, color y altura. */
:root { --header-h:93.5px; --logo-green:#1ab31a; }
html .site-header .site-nav .nav-cta { border-radius:12px; background:var(--logo-green); border-color:var(--logo-green); color:var(--ink); }
html .site-header .site-nav .nav-cta:hover { background:#18a818; border-color:#18a818; color:var(--ink); }
.full-photo-hero { min-height:clamp(522px,calc(90svh - var(--header-h)),702px); }
.full-photo-hero .hero-layout { padding-top:58.5px; padding-bottom:90px; }
/* Sin control de pausa en portada, las fotos sólo se mueven al cambiar de servicio. */
.js .full-photo-hero .hero-media img { animation:none !important; transform:none !important; will-change:auto; }
/* Las escenas conceptuales realizan un único ciclo breve, no bucles sin control. */
.process-panel .scan-line,.process-panel .pulse,.process-panel .draw { animation-duration:4s; animation-iteration-count:1; animation-fill-mode:both; }
@media (max-width:900px) {
  :root { --header-h:79.1px; }
  .full-photo-hero .hero-layout { padding-top:49.5px; padding-bottom:85.5px; }
}
@media (max-width:600px) {
  :root { --header-h:118.7px; }
  .full-photo-hero { min-height:558px; }
  .full-photo-hero .hero-layout { padding-top:36px; padding-bottom:58px; }
}

/* EYJ-ESTABILIDAD-20261112: compactar sólo el espacio libre de cabecera.
   La reserva del documento conserva su altura para no desplazar el contenido. */
html .site-header .header-inner { transition:min-height 220ms ease-out,padding 220ms ease-out; }
html .site-header.is-compact .header-inner { min-height:86.5px; }
.full-photo-hero h1 { min-height:var(--hero-title-height,0px); }
.full-photo-hero .hero-lead { min-height:var(--hero-description-height,0px); }
.full-photo-hero .hero-measure { position:absolute; left:0; top:0; visibility:hidden; pointer-events:none; }
@media (max-width:900px) {
  html .site-header.is-compact .header-inner { min-height:73.1px; }
}
@media (max-width:600px) {
  html .site-header.is-compact .header-inner { min-height:108.7px; padding-block:2px 4px; }
}
@media (prefers-reduced-motion:reduce) {
  html .site-header .header-inner { transition:none; }
}
