/*
 * Project detail /proyectos-1/<slug>/ (U12). Sizes, colours, timing and easing follow the public
 * project-detail component P02 (`2801d6_aaf1eaa3…`) at a 16px root; the rules are written for this
 * theme. The component loads Outfit and Playfair Display from Google Fonts: they are named first,
 * so a local copy wins, and the site's own Century Gothic stack (self-hosted look-alike) and a
 * local serif follow, because nothing is requested from Google.
 */
.eiatec-pd {
	--pd-dark: #013036;
	--pd-dark-2: #011e22;
	--pd-teal: #2C6957;
	--pd-green: #62B455;
	--pd-blue: #1B81C3;
	--pd-yellow: #EAAD26;
	--pd-off-white: #f5f8f6;
	--pd-text: #1a2e28;
	--pd-text-2: #4a6b62;
	--pd-muted: #9ab5ae;
	--pd-border: rgba(44, 105, 87, .15);
	--pd-ease: cubic-bezier(.25, 1, .5, 1);
	--pd-r: 14px;
	--pd-r-sm: 8px;
	--pd-sans: 'Outfit', "Century Gothic", CenturyGothic, AppleGothic, Arial, sans-serif;
	--pd-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
	background: var(--pd-off-white);
	color: var(--pd-text);
	font-family: var(--pd-sans);
	overflow-x: clip;
}
.eiatec-pd *, .eiatec-pd *::before, .eiatec-pd *::after { box-sizing: border-box; }
/* :where() keeps this reset at one class of specificity, so each component rule below wins. */
.eiatec-pd :where(h1, h2, p, ul, dl, dd, figure) { margin: 0; padding: 0; }
.eiatec-pd img { display: block; max-width: 100%; }
.eiatec-pd a { color: inherit; text-decoration: none; }
.eiatec-pd a:focus-visible, .eiatec-pd button:focus-visible { outline: 2px solid var(--pd-green); outline-offset: 3px; }
.eiatec-pd-icon { width: 1em; height: 1em; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
@keyframes eiatec-pd-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes eiatec-pd-zoom { from { transform: scale(.9); } to { transform: scale(1); } }

/* ---- 1. Hero ---- */
.eiatec-pd-hero {
	position: relative; display: flex; align-items: flex-end; overflow: hidden;
	/* P02 fixes the height; a minimum lets a long title and the breadcrumb stay visible on phones. */
	min-height: clamp(260px, 38vw, 420px);
	background: linear-gradient(135deg, #011e22, #013036, #0a3040);
}
.eiatec-pd-hero-bg {
	position: absolute; inset: 0; width: 100%; height: 100%; max-width: none;
	object-fit: cover; object-position: center; transition: transform 8s ease;
}
.eiatec-pd-hero:hover .eiatec-pd-hero-bg { transform: scale(1.04); }
.eiatec-pd-hero::before {
	content: ''; position: absolute; inset: 0; z-index: 1;
	background:
		linear-gradient(to top, rgba(1, 30, 36, .96) 0%, rgba(1, 30, 36, .4) 50%, rgba(1, 30, 36, .15) 100%),
		linear-gradient(to right, rgba(1, 30, 36, .6) 0%, transparent 60%);
}
.eiatec-pd-hero::after {
	content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; z-index: 3;
	background: linear-gradient(90deg, var(--pd-teal), var(--pd-green), var(--pd-yellow));
}
.eiatec-pd-hero-body {
	position: relative; z-index: 2; display: flex; flex-direction: column; gap: 14px;
	width: min(1180px, 94%); margin: 0 auto; padding: 28px 0 clamp(28px, 5vw, 52px);
}
.eiatec-pd-breadcrumb {
	display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
	font-size: .68rem; letter-spacing: 2px; text-transform: uppercase; color: rgba(255, 255, 255, .5);
}
.eiatec-pd-breadcrumb a { display: inline-flex; align-items: center; gap: 6px; color: rgba(255, 255, 255, .5); transition: color .2s; }
.eiatec-pd-breadcrumb a:hover { color: var(--pd-green); }
.eiatec-pd-breadcrumb .eiatec-pd-icon { font-size: .6rem; color: var(--pd-green); stroke-width: 3; }
.eiatec-pd-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.eiatec-pd-badge {
	display: inline-flex; align-items: center; gap: 6px; padding: 4px 13px; border-radius: 99px;
	font-size: .64rem; font-weight: 700; letter-spacing: .8px; text-transform: uppercase;
}
.eiatec-pd-badge-cat { background: var(--pd-green); color: #011e22; }
.eiatec-pd-badge-date { background: rgba(234, 173, 38, .18); border: 1px solid rgba(234, 173, 38, .35); color: var(--pd-yellow); }
.eiatec-pd-badge-loc { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); color: rgba(255, 255, 255, .8); }
.eiatec-pd-title {
	max-width: 780px; color: #fff; font-family: var(--pd-serif);
	font-size: clamp(1.6rem, 4.5vw, 3.4rem); font-weight: 900; line-height: 1.08; letter-spacing: -.3px;
}
.eiatec-pd-tagline { max-width: 520px; color: rgba(255, 255, 255, .65); font-size: clamp(.85rem, 1.4vw, 1rem); font-weight: 400; line-height: 1.65; }

/* ---- 2. Layout ---- */
.eiatec-pd-layout {
	display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; align-items: start;
	width: min(1180px, 94%); margin: 0 auto; padding: clamp(32px, 5vw, 64px) 0 clamp(40px, 6vw, 80px);
}
.eiatec-pd-main { display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.eiatec-pd-side { position: sticky; top: calc(var(--eiatec-header-height, 0px) + 20px); display: flex; flex-direction: column; gap: 20px; }

/* ---- 3. Intro card ---- */
.eiatec-pd-intro {
	overflow: hidden; background: #fff; border: 1px solid var(--pd-border); border-radius: var(--pd-r);
	box-shadow: 0 2px 12px rgba(1, 48, 54, .06); animation: eiatec-pd-up .5s var(--pd-ease) both;
}
.eiatec-pd-intro-top { display: flex; flex-direction: column; gap: 6px; padding: 22px 28px 18px; border-bottom: 1px solid var(--pd-border); }
.eiatec-pd-type { color: var(--pd-teal); font-size: .64rem; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; }
.eiatec-pd-intro h2 { color: var(--pd-dark); font-family: var(--pd-serif); font-size: clamp(1.2rem, 2.5vw, 1.65rem); font-weight: 900; line-height: 1.15; }
.eiatec-pd-intro-text { margin-top: 6px; color: var(--pd-text-2); font-size: .875rem; line-height: 1.75; }
.eiatec-pd-bar { height: 4px; background: linear-gradient(90deg, var(--pd-teal), var(--pd-green), var(--pd-yellow)); }
.eiatec-pd-password { margin-top: 6px; color: var(--pd-text-2); font-size: .875rem; line-height: 1.75; }
.eiatec-pd-password input[type="password"] { margin: 6px 0; padding: 8px 10px; border: 1px solid var(--pd-border); border-radius: var(--pd-r-sm); font: inherit; }
.eiatec-pd-password input[type="submit"] { padding: 8px 16px; border: 0; border-radius: 99px; background: var(--pd-green); color: #011e22; font: inherit; font-weight: 700; cursor: pointer; }

/* ---- 4. Content cards ---- */
.eiatec-pd-sec {
	overflow: hidden; background: #fff; border: 1px solid var(--pd-border); border-radius: var(--pd-r);
	box-shadow: 0 2px 12px rgba(1, 48, 54, .05); animation: eiatec-pd-up .5s var(--pd-ease) both;
}
/* The component's fixed column order gives Alcance .08s, Resultados .2s and Objetivos no delay. */
.eiatec-pd-sec-scope { animation-delay: .08s; }
.eiatec-pd-sec-results { animation-delay: .2s; }
.eiatec-pd-sec-head {
	display: flex; align-items: center; gap: 12px; padding: 16px 28px; border-bottom: 1px solid var(--pd-border);
	background: linear-gradient(to right, rgba(44, 105, 87, .04), transparent);
}
.eiatec-pd-sec-icon {
	display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 34px; height: 34px;
	border-radius: 9px; color: #fff; font-size: .88rem; box-shadow: 0 4px 12px rgba(0, 0, 0, .15);
}
.eiatec-pd-sec-icon-teal { background: linear-gradient(135deg, var(--pd-teal), #3d8a72); }
.eiatec-pd-sec-icon-green { background: linear-gradient(135deg, var(--pd-green), #83c976); }
.eiatec-pd-sec-icon-blue { background: linear-gradient(135deg, var(--pd-blue), #3d9ed6); }
.eiatec-pd-sec-icon-yellow { background: linear-gradient(135deg, var(--pd-yellow), #f0c040); }
.eiatec-pd-sec-head-text { display: flex; flex-direction: column; gap: 2px; }
.eiatec-pd-eyebrow { color: var(--pd-teal); font-size: .6rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; }
.eiatec-pd-sec-title { color: var(--pd-dark); font-family: var(--pd-sans); font-size: .98rem; font-weight: 700; line-height: 1.3; }
.eiatec-pd-sec-body { padding: 22px 28px; }
.eiatec-pd-prose { color: var(--pd-text-2); font-size: .88rem; line-height: 1.82; }
.eiatec-pd-prose > * + * { margin-top: .9em; }
.eiatec-pd-prose ul, .eiatec-pd-prose ol { padding-left: 1.3em; }
.eiatec-pd-prose a { color: var(--pd-teal); text-decoration: underline; }
.eiatec-pd-intro-top .eiatec-pd-prose { margin-top: 6px; }
.eiatec-pd-objectives { display: flex; flex-direction: column; gap: 10px; list-style: none; }
.eiatec-pd-objective {
	display: flex; align-items: flex-start; gap: 11px; padding: 11px 14px; border-radius: var(--pd-r-sm);
	background: rgba(44, 105, 87, .04); border: 1px solid var(--pd-border); transition: border-color .2s;
}
.eiatec-pd-objective:hover { border-color: rgba(44, 105, 87, .3); }
.eiatec-pd-check {
	display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 20px; height: 20px; margin-top: 1px;
	border-radius: 50%; background: rgba(44, 105, 87, .1); border: 1.5px solid rgba(44, 105, 87, .25); color: var(--pd-teal); font-size: .55rem;
}
.eiatec-pd-check .eiatec-pd-icon { stroke-width: 3.4; }
.eiatec-pd-objective-text { color: var(--pd-text-2); font-size: .84rem; line-height: 1.6; }

/* ---- 5. Project image ---- */
.eiatec-pd-banner {
	position: relative; overflow: hidden; aspect-ratio: 16 / 7; border: 1px solid var(--pd-border); border-radius: var(--pd-r);
	background: #c8d9d4; animation: eiatec-pd-up .5s .22s var(--pd-ease) both;
}
.eiatec-pd-banner img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--pd-ease); }
.eiatec-pd-banner:hover img { transform: scale(1.03); }
.eiatec-pd-banner::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, rgba(1, 30, 36, .25) 0%, transparent 60%); }

/* ---- 6. Gallery ---- */
.eiatec-pd-gallery { animation-delay: .28s; }
.eiatec-pd-gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr)); gap: 10px; padding: 20px; list-style: none; }
.eiatec-pd-gallery-item {
	position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; padding: 0; overflow: hidden; cursor: zoom-in;
	border: 1px solid var(--pd-border); border-radius: var(--pd-r-sm); background: #d8e8e2; font: inherit;
}
.eiatec-pd-gallery-item img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.88); transition: transform .5s var(--pd-ease), filter .3s; }
.eiatec-pd-gallery-item:hover img, .eiatec-pd-gallery-item:focus-visible img { transform: scale(1.08); filter: brightness(1); }
.eiatec-pd-gallery-zoom {
	position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
	color: #fff; font-size: .85rem; background: rgba(44, 105, 87, .4); opacity: 0; transition: opacity .3s;
}
.eiatec-pd-gallery-item:hover .eiatec-pd-gallery-zoom, .eiatec-pd-gallery-item:focus-visible .eiatec-pd-gallery-zoom { opacity: 1; }

/* ---- 7. Sidebar: technical sheet, location, contact ---- */
.eiatec-pd-info, .eiatec-pd-map {
	overflow: hidden; background: #fff; border: 1px solid var(--pd-border); border-radius: var(--pd-r);
	box-shadow: 0 2px 12px rgba(1, 48, 54, .06); animation: eiatec-pd-up .5s .06s var(--pd-ease) both;
}
.eiatec-pd-map { box-shadow: 0 2px 12px rgba(1, 48, 54, .05); animation-delay: .12s; }
.eiatec-pd-info-head, .eiatec-pd-map-head {
	display: flex; align-items: center; gap: 8px; padding: 14px 20px; border-bottom: 1px solid var(--pd-border);
	background: linear-gradient(to right, rgba(44, 105, 87, .06), transparent);
	color: var(--pd-teal); font-family: var(--pd-sans); font-size: .62rem; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase;
}
.eiatec-pd-map-head { padding: 13px 20px; }
.eiatec-pd-info-head .eiatec-pd-icon { stroke-width: 2.6; }
.eiatec-pd-info-list { padding: 4px 0; }
.eiatec-pd-info-row {
	display: grid; grid-template-columns: 16px minmax(0, 1fr); column-gap: 13px; row-gap: 1px;
	padding: 11px 20px; border-bottom: 1px solid var(--pd-border); transition: background .2s;
}
.eiatec-pd-info-row:last-child { border-bottom: 0; }
.eiatec-pd-info-row:hover { background: rgba(44, 105, 87, .03); }
.eiatec-pd-info-row::before {
	content: ''; grid-row: 1 / span 2; width: 16px; height: 16px; margin-top: 2px; background: var(--pd-teal);
	-webkit-mask: var(--pd-row-icon) center / contain no-repeat; mask: var(--pd-row-icon) center / contain no-repeat;
}
.eiatec-pd-info-client { --pd-row-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 2h14a1 1 0 0 1 1 1v19h-6v-4h-4v4H4V3a1 1 0 0 1 1-1Zm3 4v2.2h2.2V6Zm5.8 0v2.2H16V6ZM8 11v2.2h2.2V11Zm5.8 0v2.2H16V11Z' fill-rule='evenodd'/%3E%3C/svg%3E"); }
.eiatec-pd-info-category { --pd-row-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 4.5A1.5 1.5 0 0 1 4.5 3h7.4a1.5 1.5 0 0 1 1 .4l8.2 8.2a1.5 1.5 0 0 1 0 2.1l-7.4 7.4a1.5 1.5 0 0 1-2.1 0l-8.2-8.2a1.5 1.5 0 0 1-.4-1ZM8 9.8a1.8 1.8 0 1 0 0-3.6 1.8 1.8 0 0 0 0 3.6Z' fill-rule='evenodd'/%3E%3C/svg%3E"); }
.eiatec-pd-info-duration { --pd-row-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 2h2v2h6V2h2v2h2.5A1.5 1.5 0 0 1 21 5.5v14a1.5 1.5 0 0 1-1.5 1.5h-15A1.5 1.5 0 0 1 3 19.5v-14A1.5 1.5 0 0 1 4.5 4H7Zm-2 7v10h14V9Zm2 2h3v3H7Zm5 0h3v3h-3Z' fill-rule='evenodd'/%3E%3C/svg%3E"); }
.eiatec-pd-info-date { --pd-row-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 2h2v2h6V2h2v2h2.5A1.5 1.5 0 0 1 21 5.5v14a1.5 1.5 0 0 1-1.5 1.5h-15A1.5 1.5 0 0 1 3 19.5v-14A1.5 1.5 0 0 1 4.5 4H7Zm-2 7v10h14V9Zm10.3 2.3 1.4 1.4-5.2 5.2-3.2-3.2 1.4-1.4 1.8 1.8Z' fill-rule='evenodd'/%3E%3C/svg%3E"); }
.eiatec-pd-info-location { --pd-row-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.2 7 13 7 13s7-7.8 7-13a7 7 0 0 0-7-7Zm0 4.4a2.6 2.6 0 1 1 0 5.2 2.6 2.6 0 0 1 0-5.2Z' fill-rule='evenodd'/%3E%3C/svg%3E"); }
.eiatec-pd-info-row dt { grid-column: 2; color: var(--pd-muted); font-size: .6rem; letter-spacing: 1.5px; text-transform: uppercase; }
.eiatec-pd-info-row dd { grid-column: 2; min-width: 0; color: var(--pd-text); font-size: .84rem; font-weight: 600; overflow-wrap: anywhere; }
.eiatec-pd-map-body { height: 200px; overflow: hidden; background: #d0e2dc; }
.eiatec-pd-map-body img { width: 100%; height: 100%; object-fit: cover; }
.eiatec-pd-cta {
	display: flex; flex-direction: column; gap: 12px; padding: 22px 20px; border: 1px solid rgba(44, 105, 87, .2); border-radius: var(--pd-r);
	background: linear-gradient(135deg, rgba(44, 105, 87, .08), rgba(98, 180, 85, .05)); animation: eiatec-pd-up .5s .18s var(--pd-ease) both;
}
.eiatec-pd-cta-title { color: var(--pd-dark); font-family: var(--pd-serif); font-size: .95rem; font-weight: 700; line-height: 1.3; }
.eiatec-pd-cta-sub { color: var(--pd-text-2); font-size: .76rem; line-height: 1.6; }
.eiatec-pd-btn-green, .eiatec-pd-btn-ghost { display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: 99px; }
.eiatec-pd-btn-green {
	padding: 11px 18px; background: var(--pd-green); color: #011e22; font-size: .78rem; font-weight: 800; letter-spacing: .5px; text-transform: uppercase;
	box-shadow: 0 5px 16px rgba(98, 180, 85, .28); transition: all .25s var(--pd-ease);
}
.eiatec-pd-btn-green:hover { background: #73c666; transform: translateY(-2px); box-shadow: 0 8px 22px rgba(98, 180, 85, .4); }
.eiatec-pd-btn-ghost { padding: 10px 18px; border: 1.5px solid var(--pd-border); background: transparent; color: var(--pd-text-2); font-size: .76rem; font-weight: 600; transition: all .2s; }
.eiatec-pd-btn-ghost:hover { border-color: var(--pd-teal); color: var(--pd-teal); }

/* ---- 8. Leaf strip ---- */
.eiatec-pd-strip { position: relative; width: 100%; height: clamp(130px, 20vw, 210px); overflow: hidden; background: linear-gradient(to bottom, #e8f3ee, #d0e8de); }
.eiatec-pd-strip-leaves {
	display: flex; align-items: center; justify-content: center; gap: 24px; width: 100%; height: 100%;
	background: linear-gradient(135deg, #c5dfd7 0%, #9dc9ba 50%, #b5d8ca 100%); font-size: 2.8rem; line-height: 1;
}
.eiatec-pd-strip-overlay {
	position: absolute; inset: 0; pointer-events: none;
	background: linear-gradient(to bottom, var(--pd-off-white) 0%, transparent 20%), linear-gradient(to top, var(--pd-off-white) 0%, transparent 20%);
}

/* ---- 9. Previous / all / next ---- */
.eiatec-pd-nav {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px;
	padding: 16px clamp(16px, 5vw, 40px); background: var(--pd-dark); border-top: 1px solid rgba(44, 105, 87, .2);
}
.eiatec-pd-nav-btn {
	display: inline-flex; align-items: center; gap: 8px; padding: 10px 22px; border-radius: 99px;
	font-size: .78rem; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; transition: all .25s var(--pd-ease);
}
.eiatec-pd-nav-btn .eiatec-pd-icon { font-size: .8rem; stroke-width: 2.8; }
.eiatec-pd .eiatec-pd-nav-arrow { background: rgba(255, 255, 255, .07); border: 1.5px solid rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .75); }
.eiatec-pd .eiatec-pd-nav-arrow:hover { background: rgba(255, 255, 255, .14); border-color: var(--pd-green); color: #fff; }
.eiatec-pd .eiatec-pd-nav-home { background: rgba(234, 173, 38, .15); border: 1.5px solid rgba(234, 173, 38, .3); color: var(--pd-yellow); }
.eiatec-pd .eiatec-pd-nav-home:hover { background: rgba(234, 173, 38, .25); }

/* ---- 10. Related projects ---- */
.eiatec-pd-related { padding: clamp(36px, 5vw, 60px) 0; background: #fff; border-top: 1px solid var(--pd-border); }
.eiatec-pd-related-inner { display: flex; flex-direction: column; gap: 28px; width: min(1180px, 94%); margin: 0 auto; }
.eiatec-pd-related-header { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.eiatec-pd-related-title-block { display: flex; flex-direction: column; gap: 5px; }
.eiatec-pd-related-eyebrow { color: var(--pd-teal); font-size: .63rem; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; }
.eiatec-pd-related-title { color: var(--pd-dark); font-family: var(--pd-serif); font-size: clamp(1.1rem, 2.5vw, 1.5rem); font-weight: 900; }
.eiatec-pd .eiatec-pd-see-all {
	display: inline-flex; align-items: center; gap: 7px; padding: 8px 18px; border: 1.5px solid var(--pd-border); border-radius: 99px;
	color: var(--pd-teal); font-size: .74rem; font-weight: 700; transition: all .2s;
}
.eiatec-pd .eiatec-pd-see-all:hover { border-color: var(--pd-teal); background: rgba(44, 105, 87, .05); }
.eiatec-pd-related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 20px; list-style: none; }
.eiatec-pd-rel-card {
	display: flex; flex-direction: column; height: 100%; overflow: hidden; border: 1px solid var(--pd-border); border-radius: var(--pd-r);
	background: #fff; box-shadow: 0 2px 10px rgba(1, 48, 54, .06); transition: all .3s var(--pd-ease);
}
.eiatec-pd-rel-card:hover { transform: translateY(-5px); box-shadow: 0 14px 30px rgba(1, 48, 54, .12); border-color: rgba(44, 105, 87, .3); }
.eiatec-pd-rel-img { position: relative; display: block; height: 170px; overflow: hidden; background: #c8d9d4; }
.eiatec-pd-rel-img img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.88); transition: transform .55s var(--pd-ease); }
.eiatec-pd-rel-card:hover .eiatec-pd-rel-img img { transform: scale(1.07); filter: brightness(1); }
.eiatec-pd-rel-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(1, 30, 36, .65), transparent 55%); }
.eiatec-pd-rel-badge {
	position: absolute; bottom: 12px; left: 13px; padding: 3px 10px; border: 1px solid rgba(98, 180, 85, .35); border-radius: 99px;
	background: rgba(1, 48, 54, .75); backdrop-filter: blur(8px); color: #83c976; font-size: .6rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
}
.eiatec-pd-rel-expand {
	position: absolute; bottom: 12px; right: 12px; display: flex; align-items: center; justify-content: center; width: 30px; height: 30px;
	border: 1px solid rgba(255, 255, 255, .2); border-radius: 50%; background: rgba(255, 255, 255, .1); backdrop-filter: blur(6px);
	color: #fff; font-size: .75rem; opacity: 0; transform: scale(.8); transition: opacity .3s, transform .3s;
}
.eiatec-pd-rel-card:hover .eiatec-pd-rel-expand, .eiatec-pd-rel-card:focus-visible .eiatec-pd-rel-expand { opacity: 1; transform: scale(1); }
.eiatec-pd-rel-body { display: flex; flex: 1; flex-direction: column; gap: 7px; padding: 16px 18px; }
.eiatec-pd-rel-title { color: var(--pd-dark); font-size: .9rem; font-weight: 700; line-height: 1.3; }
.eiatec-pd-rel-date { display: flex; align-items: center; gap: 5px; color: var(--pd-muted); font-size: .68rem; }
.eiatec-pd-rel-date .eiatec-pd-icon { font-size: .7rem; }

/* ---- 11. Lightbox (native modal dialog) ---- */
.eiatec-pd-lightbox {
	position: fixed; inset: 0; z-index: 1000; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 20px;
	border: 0; background: rgba(1, 14, 10, .93); backdrop-filter: blur(14px); color: #fff; opacity: 0; transition: opacity .3s;
}
.eiatec-pd-lightbox[open] { display: flex; align-items: center; justify-content: center; }
.eiatec-pd-lightbox.is-visible { opacity: 1; }
.eiatec-pd-lightbox::backdrop { background: transparent; }
.eiatec-pd-lb-figure { margin: 0; }
.eiatec-pd-lb-image { max-width: 90vw; max-height: 85vh; border-radius: 10px; box-shadow: 0 30px 70px rgba(0, 0, 0, .6); animation: eiatec-pd-zoom .35s var(--pd-ease); }
.eiatec-pd-lb-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.eiatec-pd-lb-close, .eiatec-pd-lb-nav {
	position: absolute; display: flex; align-items: center; justify-content: center; border-radius: 50%; padding: 0; cursor: pointer;
	border: 1px solid rgba(255, 255, 255, .18); color: #fff; font-size: 1rem; transition: background .2s;
}
.eiatec-pd-lb-close { top: 18px; right: 22px; width: 38px; height: 38px; background: rgba(255, 255, 255, .1); }
.eiatec-pd-lb-close:hover { background: #c43; }
.eiatec-pd-lb-nav { top: 50%; width: 44px; height: 44px; transform: translateY(-50%); background: rgba(255, 255, 255, .08); }
.eiatec-pd-lb-nav:hover { background: rgba(44, 105, 87, .5); border-color: var(--pd-green); }
.eiatec-pd-lb-prev { left: 16px; }
.eiatec-pd-lb-next { right: 16px; }
.eiatec-pd-lightbox button:focus-visible { outline: 2px solid var(--pd-green); outline-offset: 3px; }
html.eiatec-pd-locked { overflow: hidden; }

/* ---- Responsive (component breakpoints 860 and 540px) ---- */
@media (max-width: 860px) {
	.eiatec-pd-layout { grid-template-columns: minmax(0, 1fr); }
	.eiatec-pd-side { position: static; }
	.eiatec-pd-hero { min-height: clamp(220px, 50vw, 320px); }
	/* Accessibility (deviation from P02): on a short hero the breadcrumb sits near the top of the
	   photo, where P02's gradient is lightest, so it gets its own dark scrim and brighter text
	   (4.5:1 even over a white photo). Desktop keeps P02's transparent breadcrumb. */
	.eiatec-pd-breadcrumb {
		align-self: flex-start; padding: 5px 12px; border-radius: 99px;
		background: rgba(1, 30, 36, .72); color: rgba(255, 255, 255, .82);
		-webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
	}
	.eiatec-pd-breadcrumb a { color: rgba(255, 255, 255, .82); }
}
@media (max-width: 540px) {
	.eiatec-pd-related-grid { grid-template-columns: 1fr; }
	.eiatec-pd-gallery-grid { grid-template-columns: repeat(2, 1fr); }
	.eiatec-pd-nav { gap: 8px; }
	.eiatec-pd-nav-btn { padding: 9px 14px; font-size: .72rem; }
}
@media (prefers-reduced-motion: reduce) {
	.eiatec-pd *, .eiatec-pd *::before, .eiatec-pd *::after { animation: none !important; transition: none !important; }
	.eiatec-pd-hero:hover .eiatec-pd-hero-bg, .eiatec-pd-banner:hover img, .eiatec-pd-gallery-item:hover img,
	.eiatec-pd-rel-card:hover, .eiatec-pd-rel-card:hover .eiatec-pd-rel-img img, .eiatec-pd-btn-green:hover { transform: none; }
}
