/**
 * Inner pages hero — Figma 737:2325
 */

.gt-inner-hero {
	--gt-iph-color-below: #fff;
	--gt-iph-accent: #7edaff;
	--gt-iph-eyebrow: #c3eeff;
	--gt-iph-min-height: 560px;
	--gt-iph-below-menu: var(--gt-inner-hero-below-menu, 40px);
	--gt-iph-bottom-pad: clamp(2.75rem, 5vw, 5rem);
	--gt-iph-bg: none;
	--gt-glow-x: 0px;
	--gt-glow-y: 0px;
	/* Figma 737:2325 — λευκό τρίγωνο κάτω δεξιά */
	--gt-iph-clip: polygon(0 0, 100% 0, 100% 79.95%, 0 100%);
	position: relative;
	width: 100%;
	height: auto;
	min-height: 0;
	overflow: hidden;
	color: #fff;
	background-color: var(--gt-iph-color-below);
	-webkit-tap-highlight-color: transparent;
}

.gt-inner-hero--h-375 {
	--gt-iph-min-height: 375px;
	min-height: var(--gt-iph-min-height, 375px);
}

.gt-inner-hero--h-425 {
	--gt-iph-min-height: 425px;
	min-height: var(--gt-iph-min-height, 425px);
}

.gt-inner-hero--h-560 {
	--gt-iph-min-height: 560px;
	min-height: var(--gt-iph-min-height, 560px);
}

.gt-inner-hero--has-image,
.gt-inner-hero--h-780 {
	--gt-iph-min-height: 780px;
	min-height: var(--gt-iph-min-height, 780px);
}

/* Σταθερό ύψος + κάθετο κέντρο περιεχομένου */
.gt-inner-hero--v-center {
	display: flex;
	flex-direction: column;
}

.gt-inner-hero--v-center .gt-inner-hero__align {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 0;
	padding-top: 0;
	padding-bottom: 0;
}

.gt-inner-hero--v-center .gt-inner-hero__container.container {
	width: 100%;
}

/* Με φωτογραφία: η εικόνα είναι το background — το gradient μόνο ως ημιδιαφανές overlay */
.gt-inner-hero--has-image .gt-inner-hero__bg {
	background-color: #002d52;
	background-image: var(--gt-iph-bg);
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
}

.gt-inner-hero--has-image .gt-inner-hero__bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(
		118deg,
		rgb(0 45 82 / 0.5) 0%,
		rgb(0 82 130 / 0.28) 42%,
		rgb(10 160 227 / 0.12) 100%
	);
	pointer-events: none;
}

/* Drift/glow πάνω από φωτό — αλλιώς κρύβει την εικόνα */
.gt-inner-hero--has-image .gt-inner-hero__ambient {
	opacity: 0.25;
}

.gt-inner-hero:not(.gt-inner-hero--no-fx):hover {
	cursor: all-scroll;
}

.gt-inner-hero__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	background-color: #002d52;
	background-image:
		linear-gradient(118deg, #002d52 0%, #005282 38%, #0aa0e3 100%),
		var(--gt-iph-bg);
	background-repeat: no-repeat;
	background-position: center top;
	background-size: 100% 100%, cover;
	-webkit-clip-path: var(--gt-iph-clip);
	clip-path: var(--gt-iph-clip);
	pointer-events: none;
}

/* Ίδια ambient στρώματα με Statement / Commercial Access */
.gt-inner-hero__ambient {
	position: absolute;
	inset: 0;
	z-index: 1;
	overflow: hidden;
	pointer-events: none;
	-webkit-clip-path: var(--gt-iph-clip);
	clip-path: var(--gt-iph-clip);
}

.gt-inner-hero__ambient-drift {
	position: absolute;
	inset: 0;
	isolation: isolate;
}

.gt-inner-hero__ambient-drift::before {
	content: "";
	position: absolute;
	inset: -22%;
	z-index: 1;
	pointer-events: none;
	background: var(--gt-statement-radial-a);
	mix-blend-mode: soft-light;
	animation: gt-statement-bg-drift-a 18s ease-in-out infinite alternate;
}

.gt-inner-hero__ambient-drift::after {
	content: "";
	position: absolute;
	inset: -25%;
	z-index: 2;
	pointer-events: none;
	background: var(--gt-statement-radial-b);
	mix-blend-mode: soft-light;
	animation: gt-statement-bg-drift-b 22s ease-in-out infinite alternate-reverse;
}

.gt-inner-hero__ambient-orb {
	position: absolute;
	left: 50%;
	top: 50%;
	z-index: 3;
	width: max(340px, min(90vw, 1080px));
	height: max(340px, min(90vw, 1080px));
	transform: translate(calc(-50% + var(--gt-glow-x)), calc(-50% + var(--gt-glow-y)));
	will-change: transform, opacity;
	transition: transform 150ms ease-out;
	opacity: 0;
	animation: gt-statement-glow-fade 250ms ease-out 750ms forwards;
	border-radius: 50%;
	background: radial-gradient(
		ellipse at center,
		rgb(10 160 227 / 0.55) 0%,
		rgb(0 45 82 / 0) 68%,
		rgb(0 45 82 / 0) 100%
	);
	pointer-events: none;
}

.gt-inner-hero--no-fx .gt-inner-hero__ambient {
	display: none;
}

/* Τίτλος: 100px κάτω από menu — padding-top στο :is() block στο gastrade.css */
.gt-inner-hero__align {
	position: relative;
	z-index: 2;
	display: block;
	padding-bottom: var(--gt-iph-bottom-pad);
	pointer-events: none;
}

.gt-inner-hero .gt-inner-hero__container.container {
	position: relative;
	top: auto;
	left: auto;
	transform: none;
	box-sizing: border-box;
	width: 100%;
	max-width: var(--gt-container-max, 1520px);
	margin-inline: auto;
	padding-inline: calc(var(--bs-gutter-x, 1.25rem) * 0.5);
	pointer-events: auto;
}

.gt-inner-hero__copy {
	max-width: 45.125rem; /* 722px @ Figma */
}

.gt-inner-hero__eyebrow {
	margin: 0 0 1.75rem;
	font-family: var(--gt-display-font, var(--gt-font-saira));
	font-size: 13px;
	font-weight: 600;
	line-height: 13px;
	letter-spacing: 5px;
	text-transform: uppercase;
	color: var(--gt-iph-eyebrow);
}

.gt-inner-hero__title {
	/* Reset global base.css h1 (min-height 15rem, width 80rem, weight 300) */
	min-height: 0;
	width: auto;
	max-width: 100%;
	margin: 0;
	font-family: var(--gt-display-font, var(--gt-font-saira));
	font-size: clamp(2.25rem, 5.5vw, 64px);
	font-weight: 600;
	line-height: 1.125;
	letter-spacing: 0;
	word-break: break-word;
}

.gt-inner-hero__title-line {
	display: block;
	color: #fff;
}

.gt-inner-hero__title-line .gt-inner-hero__title-accent,
.gt-inner-hero__title-accent {
	color: var(--gt-iph-accent, #7edaff);
}

/* Legacy ACF: δύο ξεχωριστά πεδία (λευκό + accent block) */
.gt-inner-hero__title-main {
	display: block;
	color: #fff;
}

.gt-inner-hero__lead {
	max-width: 42rem;
	margin: 1.25rem 0 0;
	font-family: var(--gt-ui-font, var(--gt-font-inter));
	font-size: clamp(1rem, 1.2vw, 1.125rem);
	line-height: 1.6;
	color: rgb(255 255 255 / 0.92);
}

.gt-inner-hero__title + .gt-inner-hero__actions {
	margin: 50px 0 0;
}

.gt-inner-hero__lead + .gt-inner-hero__actions {
	margin-top: 1.75rem;
}

/* CTA: .gt-btn .gt-btn--nav + primary | white | outline | outline-white (ACF iph_cta_button_style) */

@media (min-width: 1024px) {
	.gt-inner-hero__title {
		font-size: 64px;
		line-height: 1.125;
	}
}

@media (prefers-reduced-motion: reduce) {
	.gt-inner-hero:not(.gt-inner-hero--no-fx):hover {
		cursor: default;
	}

	.gt-inner-hero__ambient-drift::before,
	.gt-inner-hero__ambient-drift::after {
		animation: none;
		transform: none;
		opacity: 0.85;
	}

	.gt-inner-hero__ambient-orb {
		animation: none;
		opacity: 0.35;
		transform: translate(-50%, -50%);
		transition: none;
	}

	.gt-inner-hero.gt-reveal {
		opacity: 1;
		transform: none;
	}
}
