/*
Theme Name: AIAS Marine
Theme URI: https://aiasmarine.gr
Author: DataMarine
Description: Deep navy glass block theme with gold accents for AIAS Marine (child of Twenty Twenty-Five). Based on the Sotos Marine theme.
Template: twentytwentyfive
Version: 0.4.2
Requires at least: 6.7
Requires PHP: 8.1
License: GNU General Public License v2 or later
Text Domain: aiasmarine
*/

:root {
	--am-bg: #050d1a;
	--am-text: #eaf0f7;
	--am-muted: #9fb0c4;
	--am-crystal: #ffffff;
	--am-silver: #e2cf9c;
	--am-red: #c9a24a; /* gold accent (name kept from the Sotos Marine base) */
	--am-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.015));
	--am-glass-border: rgba(255, 255, 255, 0.12);
	--am-chrome: linear-gradient(135deg, #f6e3a8 0%, #d4ae5a 45%, #9c7429 100%);
	--am-radius: 22px;
	--am-header-h: 76px;
}

/* ---------- Background ---------- */
html {
	background-color: var(--am-bg);
	scroll-behavior: smooth;
}
body {
	background-color: transparent !important;
	color: var(--am-text);
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
}
body::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background:
		linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, 0.035) 48%, transparent 58%),
		radial-gradient(60vw 50vh at 8% -5%, rgba(120, 160, 220, 0.10), transparent 60%),
		radial-gradient(50vw 45vh at 100% 18%, rgba(255, 255, 255, 0.05), transparent 60%),
		radial-gradient(70vw 55vh at 50% 115%, rgba(201, 162, 74, 0.07), transparent 60%),
		linear-gradient(180deg, #050d1a 0%, #0b1a33 50%, #050d1a 100%);
}
::selection { background: rgba(255, 255, 255, 0.25); color: #fff; }

/* ---------- Glass / crystal ---------- */
.am-glass {
	position: relative;
	background: var(--am-glass);
	border: 1px solid var(--am-glass-border);
	border-radius: var(--am-radius);
	-webkit-backdrop-filter: blur(20px) saturate(120%);
	backdrop-filter: blur(20px) saturate(120%);
	box-shadow:
		0 24px 60px -24px rgba(0, 0, 0, 0.9),
		inset 0 1px 0 rgba(255, 255, 255, 0.16),
		inset 0 -1px 0 rgba(255, 255, 255, 0.03);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
	.am-glass { background: rgba(10, 24, 46, 0.94); }
}

/* ---------- Header ---------- */
header.wp-block-template-part {
	position: sticky;
	top: 0;
	z-index: 100;
}
.admin-bar header.wp-block-template-part { top: 32px; }
@media (max-width: 782px) { .admin-bar header.wp-block-template-part { top: 46px; } }
@media (max-width: 600px) { .admin-bar header.wp-block-template-part { top: 0; } }

/* The blur lives on a pseudo-element: backdrop-filter on .am-header itself would become the
   containing block of the fixed mobile menu overlay and trap it inside the header strip. */
.am-header {
	position: relative;
	padding-top: 10px !important;
	padding-bottom: 10px !important;
	margin-top: 0 !important;
}
.am-header::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background: rgba(5, 13, 26, 0.72);
	-webkit-backdrop-filter: blur(18px) saturate(140%);
	backdrop-filter: blur(18px) saturate(140%);
	border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}
.am-header-inner { gap: 20px; min-height: 56px; }
.am-brand { gap: 12px; align-items: center; }
.am-brand a { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.am-brand img { height: 54px; width: 54px; display: block; border-radius: 50%; box-shadow: 0 0 0 1px rgba(212, 174, 90, 0.35), 0 6px 18px rgba(0, 0, 0, 0.45); }
.am-brand .am-brand-name {
	color: #fff;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	font-size: 1rem;
	line-height: 1.1;
}
.am-brand .am-brand-name small {
	display: block;
	color: var(--am-muted);
	font-weight: 600;
	letter-spacing: 0.08em;
	font-size: 0.68rem;
	text-transform: none;
}
.am-nav { margin-left: auto; }
.am-nav .wp-block-navigation-item__content {
	color: #cfcfcf;
	text-decoration: none;
	font-weight: 600;
	font-size: 0.95rem;
	transition: color 0.2s;
}
.am-nav .wp-block-navigation-item__content:hover,
.am-nav .wp-block-navigation-item__content:focus { color: #fff; }
/* "Portal πελατών" — last menu item + footer button: glass pill with a user icon (→ /mysotos/). */
.am-portal-btn { font-weight: 600; font-size: 0.95rem; text-decoration: none; white-space: nowrap; }
.am-portal-cta a.am-portal-btn { color: #fff; text-decoration: none; }
.am-portal-cta a.am-portal-btn:hover, .am-portal-cta a.am-portal-btn:focus-visible { color: #0b0b0b; }
/* Contact page: "Είστε ήδη πελάτης μας;" panel under the contact buttons. */
.am-portal-cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem 1.25rem;
	margin-top: 1.75rem;
	padding: 1.1rem 1.3rem;
	transition: border-color 0.25s, box-shadow 0.25s;
}
.am-portal-cta:hover { border-color: rgba(255, 255, 255, 0.28); box-shadow: 0 0 28px rgba(255, 255, 255, 0.06); }
.am-portal-cta > div { display: flex; flex-direction: column; gap: 0.25rem; flex: 1 1 240px; }
.am-portal-cta strong { color: #fff; }
.am-portal-cta span { color: var(--am-muted); font-size: 0.92rem; line-height: 1.5; }
.am-nav .am-nav-portal .wp-block-navigation-item__content,
.am-portal-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.45em;
	padding: 0.5em 1.05em;
	border: 1px solid var(--am-glass-border);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.06);
	color: #fff;
	transition: background 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.am-nav .am-nav-portal .wp-block-navigation-item__content::before,
.am-portal-btn::before {
	content: "";
	width: 1em;
	height: 1em;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c0-4 3.6-7 8-7s8 3 8 7'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c0-4 3.6-7 8-7s8 3 8 7'/%3E%3C/svg%3E") center / contain no-repeat;
}
.am-nav .am-nav-portal .wp-block-navigation-item__content:hover,
.am-nav .am-nav-portal .wp-block-navigation-item__content:focus-visible,
.am-portal-btn:hover,
.am-portal-btn:focus-visible {
	background: var(--am-chrome);
	border-color: transparent;
	color: #0b0b0b;
	box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.1), 0 8px 24px rgba(255, 255, 255, 0.15);
	transform: translateY(-1px);
}
.am-nav .wp-block-navigation__responsive-container.is-menu-open .am-nav-portal { margin-top: 0.75rem; }
.am-nav .wp-block-navigation__responsive-container.is-menu-open .am-nav-portal .wp-block-navigation-item__content { padding: 0.45em 1.1em; font-size: 1.25rem; }
.am-nav .wp-block-navigation__responsive-container-open,
.am-nav .wp-block-navigation__responsive-container-close { color: #fff; }
.am-nav .wp-block-navigation__responsive-container.is-menu-open {
	background: rgba(5, 13, 26, 0.96) !important;
	color: #fff !important;
	-webkit-backdrop-filter: blur(20px);
	backdrop-filter: blur(20px);
	padding: 28px;
}
.am-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
	font-size: 1.5rem;
	padding: 8px 0;
}
@media (max-width: 600px) {
	.am-header-cta { display: none !important; }
	.am-brand img { height: 44px; }
	.am-brand .am-brand-name small { display: none; }
}

/* ---------- Buttons ---------- */
.wp-block-button .wp-block-button__link {
	border-radius: 999px;
	padding: 0.85em 1.5em;
	font-weight: 700;
	font-size: 1rem;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.am-btn-primary .wp-block-button__link,
.am-btn-primary .wp-block-button__link:visited {
	background: var(--am-chrome);
	color: #000;
	border: 0;
	box-shadow: 0 10px 30px -12px rgba(212, 174, 90, 0.55), inset 0 1px 0 rgba(255, 244, 214, 0.9);
}
.am-btn-primary .wp-block-button__link:hover,
.am-btn-primary .wp-block-button__link:focus {
	background: linear-gradient(135deg, #fff0c4 0%, #e0bd6c 50%, #a97f30 100%);
	color: #000;
	transform: translateY(-2px);
	box-shadow: 0 16px 36px -12px rgba(212, 174, 90, 0.7), inset 0 1px 0 #fff6dc;
}
.am-btn-ghost .wp-block-button__link,
.am-btn-ghost .wp-block-button__link:visited {
	background: rgba(255, 255, 255, 0.05);
	color: var(--am-text);
	border: 1px solid rgba(255, 255, 255, 0.2);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
}
.am-btn-ghost .wp-block-button__link:hover,
.am-btn-ghost .wp-block-button__link:focus {
	background: rgba(255, 255, 255, 0.11);
	color: #fff;
	border-color: rgba(255, 255, 255, 0.55);
	transform: translateY(-2px);
}
.am-header-cta .wp-block-button__link { padding: 0.6em 1.15em; font-size: 0.9rem; }

/* ---------- Sections ---------- */
.am-main { margin-top: 0 !important; }
.am-section {
	padding-top: clamp(56px, 8vw, 110px) !important;
	padding-bottom: clamp(56px, 8vw, 110px) !important;
	margin-top: 0 !important;
	scroll-margin-top: var(--am-header-h);
}
.am-section h2 {
	font-size: clamp(1.8rem, 4vw, 2.8rem);
	line-height: 1.15;
	margin-top: 0.3em;
}
.am-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--am-silver);
	text-transform: uppercase;
	letter-spacing: 0.16em;
	font-size: 0.8rem !important;
	font-weight: 700;
	margin-bottom: 0;
}
.am-eyebrow::before {
	content: "";
	width: 22px;
	height: 2px;
	border-radius: 2px;
	background: var(--am-red);
}
.am-muted, .am-card p, .am-lead { color: var(--am-muted); }
.am-section-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 48px) !important; }

/* ---------- Hero ---------- */
.am-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	overflow: clip;
	padding-top: clamp(64px, 11vw, 150px) !important;
	padding-bottom: clamp(56px, 8vw, 110px) !important;
	margin-top: 0 !important;
}
.am-hero::before,
.am-hero::after {
	content: "";
	position: absolute;
	z-index: -1;
	pointer-events: none;
}
/* Crystal orb */
.am-hero::before {
	right: -6%;
	top: 6%;
	width: min(540px, 75vw);
	aspect-ratio: 1;
	border-radius: 50%;
	background:
		radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.06) 30%, transparent 62%),
		conic-gradient(from 200deg, rgba(255, 255, 255, 0.0), rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.0) 40%, rgba(201, 162, 74, 0.10) 60%, rgba(255, 255, 255, 0.0) 80%);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), inset 0 0 80px rgba(255, 255, 255, 0.05);
	filter: blur(2px);
	animation: am-float 16s ease-in-out infinite;
}
/* Diagonal light facet */
.am-hero::after {
	left: -20%;
	top: -30%;
	width: 140%;
	height: 160%;
	background: linear-gradient(120deg, transparent 44%, rgba(255, 255, 255, 0.045) 50%, transparent 56%);
	animation: am-sheen 14s ease-in-out infinite;
}
@keyframes am-float {
	0%, 100% { transform: translate(0, 0) rotate(0deg); }
	50% { transform: translate(-3%, 4%) rotate(12deg); }
}
@keyframes am-sheen {
	0%, 100% { transform: translateX(-6%); }
	50% { transform: translateX(6%); }
}
.am-badge {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 0.45em 1.1em;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	background: rgba(255, 255, 255, 0.05);
	color: #e5e5e5;
	font-size: 0.85rem !important;
	font-weight: 600;
	letter-spacing: 0.04em;
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
}
.am-badge::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--am-red);
	box-shadow: 0 0 0 0 rgba(201, 162, 74, 0.6);
	animation: am-dot 2s ease-out infinite;
}
@keyframes am-dot {
	0% { box-shadow: 0 0 0 0 rgba(201, 162, 74, 0.6); }
	100% { box-shadow: 0 0 0 10px rgba(201, 162, 74, 0); }
}
.am-hero-title {
	font-size: clamp(2.3rem, 6.4vw, 4.8rem) !important;
	line-height: 1.04 !important;
	letter-spacing: -0.03em;
	max-width: 15ch;
	margin-top: 0.4em !important;
}
.am-grad {
	background: linear-gradient(100deg, #ffffff 0%, #8d9096 35%, #ffffff 55%, #a9acb2 80%, #ffffff 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.am-lead {
	font-size: clamp(1.05rem, 1.7vw, 1.3rem) !important;
	max-width: 56ch;
}
.am-hero .wp-block-buttons { margin-top: 2rem; gap: 14px; }
.am-stats { margin-top: clamp(40px, 6vw, 72px) !important; gap: 18px !important; }
.am-stat { padding: 22px 24px; }
.am-stat .am-stat-value {
	font-size: 1.6rem !important;
	font-weight: 800;
	color: #fff;
	margin: 0;
	line-height: 1.2;
}
.am-stat .am-stat-value span { color: var(--am-red); }
.am-stat .am-stat-label { color: var(--am-muted); margin: 0.3em 0 0; font-size: 0.95rem; }

/* ---------- Cards ---------- */
.am-grid { gap: 20px !important; }
/* Stretch grid cards to fill the row (core grid layout uses auto-fill, which leaves empty tracks) */
.am-grid.is-layout-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)) !important; }
.am-stats.is-layout-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)) !important; max-width: 900px; }
@media (min-width: 900px) {
	.am-grid-3.is-layout-grid { grid-template-columns: repeat(3, 1fr) !important; }
}
@media (min-width: 600px) and (max-width: 899px) {
	.am-grid-3.is-layout-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
.am-card {
	padding: 28px !important;
	overflow: hidden;
	transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
	height: 100%;
}
/* Crystal sheen sweeping across on hover */
.am-card::after {
	content: "";
	position: absolute;
	top: 0;
	left: -60%;
	width: 50%;
	height: 100%;
	background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.10), transparent);
	transform: skewX(-12deg);
	transition: left 0.7s ease;
	pointer-events: none;
}
.am-card:hover::after { left: 120%; }
.am-card:hover {
	transform: translateY(-4px);
	border-color: rgba(255, 255, 255, 0.32);
	box-shadow: 0 30px 60px -24px rgba(255, 255, 255, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.am-card h3 { font-size: 1.2rem; margin: 0 0 0.4em; color: #fff; }
.am-card p { margin: 0; font-size: 0.98rem; }
.am-icon {
	width: 52px;
	height: 52px;
	border-radius: 14px;
	display: grid;
	place-items: center;
	margin-bottom: 18px;
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.03));
	border: 1px solid rgba(255, 255, 255, 0.2);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
	color: #fff;
}
.am-icon svg { width: 26px; height: 26px; }

/* ---------- Parking feature ---------- */
.am-feature {
	padding: clamp(28px, 4.5vw, 60px) !important;
	overflow: hidden;
}
.am-feature::before {
	content: "";
	position: absolute;
	inset: -1px;
	border-radius: inherit;
	padding: 1px;
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0.06) 40%, rgba(255, 255, 255, 0.06) 70%, rgba(201, 162, 74, 0.5));
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	pointer-events: none;
}
.am-feature .wp-block-columns { gap: clamp(24px, 4vw, 56px); }
.am-checks { list-style: none; padding-left: 0 !important; margin: 1.4em 0 0; }
.am-checks li {
	position: relative;
	padding-left: 34px;
	margin-bottom: 0.75em;
	color: var(--am-text);
}
.am-checks li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.2em;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat;
	border: 1px solid rgba(255, 255, 255, 0.3);
}
.am-quote-card { padding: clamp(24px, 3vw, 36px) !important; text-align: left; }
.am-quote-card h3 { margin-top: 0; font-size: 1.35rem; color: #fff; }
.am-quote-card .wp-block-buttons { gap: 12px; margin-top: 1.4em; }
.am-quote-card .wp-block-button { width: 100%; }
.am-quote-card .wp-block-button__link { width: 100%; text-align: center; }

/* ---------- Contact ---------- */
.am-contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.am-contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.am-contact-list .am-icon { width: 44px; height: 44px; margin: 0; flex: 0 0 44px; border-radius: 12px; }
.am-contact-list .am-icon svg { width: 22px; height: 22px; }
.am-contact-list strong { display: block; color: #fff; font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; }
.am-contact-list span, .am-contact-list a { color: var(--am-muted); text-decoration: none; font-size: 1.02rem; }
.am-contact-list a:hover { color: #fff; }
.am-contact-card { padding: clamp(24px, 3.5vw, 44px) !important; }

/* ---------- Footer ---------- */
.am-footer {
	border-top: 1px solid rgba(255, 255, 255, 0.09);
	background: rgba(3, 9, 19, 0.82);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	padding-top: clamp(40px, 6vw, 64px) !important;
	padding-bottom: 28px !important;
	margin-top: 0 !important;
}
.am-footer img { height: 120px; width: 120px; border-radius: 50%; }
.am-footer h4 { color: #fff; font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 0.8em; }
.am-footer p, .am-footer li { color: var(--am-muted); font-size: 0.95rem; }
.am-footer a { color: var(--am-muted); text-decoration: none; }
.am-footer a:hover { color: #fff; }
.am-footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.09);
	margin-top: 36px !important;
	padding-top: 20px;
}
.am-footer-bottom p { font-size: 0.85rem; margin: 0; }

/* ---------- Legal text (Πολιτική Απορρήτου) ---------- */
.am-legal {
	max-width: 880px !important;
	margin-left: auto !important;
	margin-right: auto !important;
	padding: clamp(24px, 5vw, 56px) !important;
}
.am-legal > * + * { margin-top: 0 !important; }
.am-legal h2 {
	font-size: clamp(1.15rem, 2.4vw, 1.4rem) !important;
	line-height: 1.3;
	color: #fff;
	margin: 2.2em 0 0.7em !important;
	padding-top: 1.6em;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	scroll-margin-top: calc(var(--am-header-h) + 16px);
}
.am-legal h2::before {
	content: "";
	display: block;
	width: 22px;
	height: 2px;
	border-radius: 2px;
	background: var(--am-red);
	margin-bottom: 14px;
}
.am-legal p, .am-legal li { color: var(--am-silver); line-height: 1.75; font-size: 1rem; }
.am-legal p { margin: 0 0 1em !important; }
.am-legal .am-lead { color: var(--am-text); font-size: 1.08rem; }
.am-legal strong { color: #fff; }
.am-legal a { color: #fff; text-decoration: underline; text-decoration-color: var(--am-red); text-underline-offset: 3px; overflow-wrap: anywhere; }
.am-legal a:hover { text-decoration-color: #fff; }
.am-legal-date { font-size: 0.85rem !important; color: var(--am-muted) !important; letter-spacing: 0.04em; }
.am-legal-list { padding-left: 1.2em; margin: 0 0 1.2em !important; }
.am-legal-list li { margin-bottom: 0.55em; }
.am-legal-list li::marker { color: var(--am-red); }
.am-consent a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
/* Turnstile (interaction-only: invisible unless Cloudflare needs a check) */
.am-turnstile:empty, .am-turnstile .wpcf7-turnstile:empty { display: none; }
.am-turnstile { margin: 4px 0 2px; }
.am-turnstile iframe { max-width: 100%; border-radius: 10px; }

/* ---------- Floating call button (mobile) ---------- */
.am-fab {
	position: fixed;
	right: 18px;
	bottom: 18px;
	z-index: 200;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	display: none;
	place-items: center;
	color: #000;
	background: var(--am-chrome);
	box-shadow: 0 12px 30px -8px rgba(212, 174, 90, 0.55), inset 0 1px 0 #fff6dc;
}
.am-fab svg { width: 26px; height: 26px; }
.am-fab::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 50%;
	border: 2px solid rgba(212, 174, 90, 0.7);
	animation: am-pulse 2.4s ease-out infinite;
}
@keyframes am-pulse {
	0% { transform: scale(1); opacity: 0.9; }
	100% { transform: scale(1.6); opacity: 0; }
}
@media (max-width: 781px) {
	.am-fab { display: grid; }
}

/* =====================================================================
   v1.2 — multi-page layout (topbar, cover hero, overlapping features,
   staggered service cards, testimonials, banners, team, gallery, map)
   ===================================================================== */

/* ---------- Top bar ---------- */
.am-topbar {
	background: rgba(255, 255, 255, 0.035);
	border-bottom: 1px solid rgba(255, 255, 255, 0.07);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	padding-top: 7px !important;
	padding-bottom: 7px !important;
	margin: 0 !important;
	font-size: 0.82rem;
}
.am-topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.am-tb-right { display: flex; gap: 22px; align-items: center; }
.am-tb-item { display: inline-flex; align-items: center; gap: 7px; color: var(--am-muted); text-decoration: none; }
a.am-tb-item:hover { color: #fff; }
.am-tb-item svg { width: 15px; height: 15px; flex: 0 0 15px; }
.am-tb-247 { color: #fff; font-weight: 700; }
.am-tb-247 svg { color: var(--am-red); }
@media (max-width: 781px) { .am-topbar { display: none !important; } }

/* ---------- Covers (hero, page banners, CTA) ---------- */
.wp-block-cover.am-hero,
.wp-block-cover.am-banner,
.wp-block-cover.am-cta { color: #fff; margin-top: 0 !important; margin-bottom: 0 !important; }
.wp-block-cover.am-hero .wp-block-cover__inner-container,
.wp-block-cover.am-banner .wp-block-cover__inner-container,
.wp-block-cover.am-cta .wp-block-cover__inner-container { position: relative; z-index: 3; }
/* Left-align every element on the same 1200px content edge (constrained layout would centre
   narrower elements like the 15ch title). */
.wp-block-cover.am-hero .wp-block-cover__inner-container > *,
.wp-block-cover.am-banner .wp-block-cover__inner-container > * {
	margin-left: max(0px, calc((100% - 1200px) / 2)) !important;
	margin-right: auto !important;
}
.wp-block-cover.am-hero { padding-bottom: 170px !important; padding-top: 90px !important; align-items: center; }
.wp-block-cover.am-hero::before { z-index: 2; }
.wp-block-cover.am-hero::after,
.wp-block-cover.am-banner::after {
	content: "";
	position: absolute;
	inset: 0;
	left: 0; top: 0; width: auto; height: auto;
	z-index: 2;
	pointer-events: none;
	animation: none;
	background:
		linear-gradient(120deg, transparent 44%, rgba(255, 255, 255, 0.04) 50%, transparent 56%),
		linear-gradient(180deg, rgba(5, 13, 26, 0) 55%, #050d1a 100%);
}
.wp-block-cover.am-cta::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 2;
	pointer-events: none;
	background: linear-gradient(180deg, #050d1a 0%, rgba(5, 13, 26, 0) 28%, rgba(5, 13, 26, 0) 72%, #050d1a 100%);
}
.am-banner { padding-top: clamp(80px, 10vw, 130px) !important; padding-bottom: 56px !important; }
.am-banner-title { font-size: clamp(2.2rem, 5.5vw, 4rem) !important; line-height: 1.05 !important; margin: 0.15em 0 0.2em !important; }
.am-crumbs { font-size: 0.85rem !important; color: var(--am-silver); letter-spacing: 0.06em; margin: 0; }
.am-crumbs a { color: #fff; text-decoration: none; }
.am-crumbs span { opacity: 0.45; margin: 0 6px; }
.am-cta { text-align: center; }
.am-cta .am-eyebrow { justify-content: center; }
.am-cta-title { max-width: 22ch; margin-inline: auto !important; font-size: clamp(1.8rem, 4vw, 3rem) !important; line-height: 1.12 !important; }
.am-cta .am-lead { margin-inline: auto !important; }
.am-cta .wp-block-buttons { justify-content: center; margin-top: 1.6rem; gap: 14px; }

/* ---------- Features overlapping the hero ---------- */
.am-features { margin-top: -130px !important; position: relative; z-index: 5; padding: 0 !important; }
.am-features .wp-block-columns { gap: 24px; margin: 0; }
.am-features .wp-block-column { align-self: stretch; }
.am-feature-box { padding: clamp(26px, 3.5vw, 42px) !important; height: 100%; overflow: hidden; }
.am-feature-title { font-size: clamp(1.5rem, 2.4vw, 2rem) !important; margin: 0 !important; }
.am-feature-sub { color: var(--am-silver); font-weight: 600; margin: 0.25em 0 0.9em !important; }
@media (max-width: 781px) { .am-features { margin-top: -70px !important; } }

/* ---------- Split rows (text + photo) ---------- */
.am-split > .wp-block-columns { gap: clamp(28px, 5vw, 72px); margin: 0; }
@media (min-width: 782px) { .am-reverse > .wp-block-columns { flex-direction: row-reverse; } }
.am-split .am-icon { margin-bottom: 14px; }
.am-photo-frame { position: relative; isolation: isolate; margin: 0 !important; }
.am-photo-frame img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: var(--am-radius);
	border: 1px solid rgba(255, 255, 255, 0.12);
	box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.95);
}
.am-photo-frame::before {
	content: "";
	position: absolute;
	inset: 18px -18px -18px 18px;
	z-index: -1;
	border-radius: var(--am-radius);
	border: 1px solid rgba(255, 255, 255, 0.12);
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0));
}
@media (max-width: 781px) { .am-photo-frame::before { inset: 10px -10px -10px 10px; } }

/* ---------- Photo cards (services) ---------- */
.am-photo-card { padding: 0 !important; overflow: hidden; height: 100%; transition: transform 0.3s ease, border-color 0.3s ease; }
.am-photo-card:hover { transform: translateY(-4px); border-color: rgba(255, 255, 255, 0.3); }
.am-photo-card-img { margin: 0 !important; overflow: hidden; }
.am-photo-card-img img, .am-video-img img, .am-testimonial-img img, .am-team-img img, .am-gallery img {
	width: 100%;
	display: block;
	object-fit: cover;
	transition: transform 0.6s ease, filter 0.4s ease;
}
.am-photo-card-img img { aspect-ratio: 4 / 3; }
.am-photo-card:hover .am-photo-card-img img { transform: scale(1.05); }
.am-photo-card-body { padding: 22px 26px 26px !important; margin: 0 !important; }
.am-photo-card-body h3 { font-size: 1.2rem; margin: 0 0 0.4em; color: #fff; }
.am-photo-card-body p { color: var(--am-muted); margin: 0; font-size: 0.97rem; }
.am-more { margin-top: 0.9em !important; }
.am-more a { color: #fff !important; font-weight: 700; text-decoration: none; font-size: 0.92rem; letter-spacing: 0.02em; }
.am-more a:hover { color: var(--am-silver) !important; }
.am-card .am-more { margin-top: 1em !important; }
.am-center { justify-content: center; margin-top: 48px !important; }

/* ---------- Bands ---------- */
.am-band {
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.008));
	border-top: 1px solid rgba(255, 255, 255, 0.06);
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* ---------- Grid column counts ---------- */
@media (min-width: 1100px) { .am-grid-4.is-layout-grid { grid-template-columns: repeat(4, 1fr) !important; } }
@media (min-width: 600px) and (max-width: 1099px) { .am-grid-4.is-layout-grid { grid-template-columns: repeat(2, 1fr) !important; } }
@media (min-width: 782px) { .am-grid-2.is-layout-grid { grid-template-columns: repeat(2, 1fr) !important; } }

/* ---------- Testimonials ---------- */
.am-testimonial { padding: 0 !important; overflow: hidden; height: 100%; }
.am-testimonial > * { margin-top: 0 !important; }
.am-testimonial-img { margin: 0 !important; }
.am-testimonial-img img { aspect-ratio: 3 / 2; }
.am-quote-mark { font-family: Georgia, "Times New Roman", serif; font-size: 64px; line-height: 1; height: 36px; color: var(--am-red); padding: 18px 24px 0; }
.am-testimonial-text { padding: 0 24px; color: var(--am-text); font-style: italic; font-size: 0.97rem; margin-top: 8px !important; }
.am-testimonial-name { padding: 0 24px 24px; color: var(--am-silver); text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.78rem !important; font-weight: 700; margin-top: 14px !important; }

/* ---------- Timeline ---------- */
.am-timeline { position: relative; }
.am-milestone { padding: 30px !important; height: 100%; }
.am-milestone h3 { margin: 0.2em 0 0.4em; color: #fff; font-size: 1.2rem; }
.am-milestone p { color: var(--am-muted); margin: 0; }
.am-year {
	font-size: 2rem !important;
	font-weight: 800;
	margin: 0 !important;
	background: linear-gradient(100deg, #f6e3a8 0%, #b8892f 50%, #f6e3a8 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent !important;
}

/* ---------- Team ---------- */
.am-team { padding: 0 !important; overflow: hidden; text-align: center; height: 100%; }
.am-team > * { margin-top: 0 !important; }
.am-team-img { margin: 0 !important; }
.am-team-img img { aspect-ratio: 1; filter: grayscale(1); }
.am-team:hover .am-team-img img { filter: grayscale(0); transform: scale(1.04); }
.am-team h3 { margin: 18px 0 4px !important; font-size: 1.1rem; color: #fff; }
.am-team p { padding-bottom: 22px; margin: 0; font-size: 0.92rem; }

/* ---------- Gallery ---------- */
.am-gallery figure, .am-gallery .wp-block-image { margin: 0 !important; border-radius: 18px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.1); }
.am-gallery img { aspect-ratio: 4 / 3; }
.am-gallery figure:hover img { transform: scale(1.05); }

/* ---------- Video ---------- */
.am-video { padding: 0 !important; overflow: hidden; }
.am-video > * { margin-top: 0 !important; }
.am-video-media { position: relative; margin: 0 !important; }
.am-video-media > * { margin: 0 !important; }
.am-video-img img { aspect-ratio: 16 / 9; }
.am-play {
	position: absolute;
	inset: 0;
	margin: auto !important;
	width: 76px;
	height: 76px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	color: #fff;
	background: rgba(255, 255, 255, 0.14);
	border: 1px solid rgba(255, 255, 255, 0.45);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
.am-play svg { width: 30px; height: 30px; fill: currentColor; margin-left: 4px; }

/* ---------- Footer map ---------- */
.am-footer-map { margin: 0 !important; padding: 0 !important; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.am-map iframe {
	width: 100%;
	height: 380px;
	border: 0;
	display: block;
	filter: grayscale(0.6) invert(0.9) hue-rotate(180deg) contrast(0.85) brightness(0.9);
}

/* Click-to-load map placeholder (same height as the map → no layout jump) */
.am-map { position: relative; line-height: 1.5; }
.am-map:not(.is-loaded) {
	min-height: 380px;
	box-sizing: border-box;
	display: grid;
	place-items: center;
	padding: 24px 16px;
	overflow: hidden;
	isolation: isolate;
	background:
		radial-gradient(ellipse 60% 70% at 50% 50%, rgba(255, 255, 255, 0.06), transparent 70%),
		repeating-linear-gradient(0deg, transparent 0 47px, rgba(255, 255, 255, 0.04) 47px 48px),
		repeating-linear-gradient(90deg, transparent 0 47px, rgba(255, 255, 255, 0.04) 47px 48px),
		#071326;
}
/* faint "roads" so it reads as a map */
.am-map:not(.is-loaded)::before,
.am-map:not(.is-loaded)::after {
	content: "";
	position: absolute;
	z-index: -1;
	left: -10%;
	right: -10%;
	height: 10px;
	border-top: 1px solid rgba(255, 255, 255, 0.09);
	border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}
.am-map:not(.is-loaded)::before { top: 38%; transform: rotate(-8deg); }
.am-map:not(.is-loaded)::after { top: 64%; transform: rotate(14deg); }
.am-map-consent {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 14px;
	max-width: 520px;
}
.am-map-pin {
	width: 52px;
	height: 52px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	color: #fff;
	background: var(--am-glass);
	border: 1px solid var(--am-glass-border);
	box-shadow: 0 0 0 8px rgba(201, 162, 74, 0.08), 0 0 32px rgba(201, 162, 74, 0.25);
}
.am-map-pin svg { width: 24px; height: 24px; }
.am-map-pin svg path { stroke: var(--am-red); }
.am-map-addr { margin: 0; color: var(--am-silver); font-size: 0.95rem; }
.am-map-addr strong { display: block; color: #fff; font-size: 1.05rem; letter-spacing: 0.02em; }
.am-map-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 22px; }
.am-map-load {
	font: inherit;
	font-weight: 700;
	font-size: 0.95rem;
	color: #000;
	background: var(--am-chrome);
	border: 0;
	border-radius: 999px;
	padding: 0.8em 1.6em;
	cursor: pointer;
	box-shadow: 0 6px 24px rgba(255, 255, 255, 0.12);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.am-map-load:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(255, 255, 255, 0.22); }
.am-map-load:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.am-map-ext { color: var(--am-silver); font-size: 0.92rem; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, 0.25); }
.am-map-ext:hover { color: #fff; border-bottom-color: #fff; }
.am-map-note { margin: 2px 0 0; color: var(--am-muted); font-size: 0.8rem; max-width: 440px; }
.am-map-note a { color: var(--am-silver); text-decoration: underline; text-underline-offset: 2px; }
.am-map.is-loaded iframe { animation: am-map-in 0.5s ease; }
@keyframes am-map-in { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 781px) { .am-map:not(.is-loaded) { min-height: 300px; padding: 28px 16px; } .am-map-consent { gap: 12px; } }
@media (prefers-reduced-motion: reduce) { .am-map.is-loaded iframe { animation: none; } .am-map-load { transition: none; } }
.am-footer-cols { margin: 0; }
.am-footer-cols .wp-block-column { align-self: flex-start; }

/* ---------- Contact form (Contact Form 7) ---------- */
.am-form-card { padding: clamp(24px, 3.5vw, 40px) !important; }
.am-contact-split .wp-block-columns { align-items: flex-start !important; }
.am-contact-split .wp-block-column { align-self: flex-start !important; }
.am-form-card h3 { margin-top: 0; color: #fff; }
.am-form .wpcf7-form { display: grid; gap: 14px; margin: 0; }
.am-form .wpcf7-form > p { margin: 0; }
.am-form .wpcf7-form br { display: none; }
.am-form .hidden-fields-container { display: none; }
.am-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.am-form label { display: grid; gap: 6px; font-size: 0.85rem; color: var(--am-silver); font-weight: 600; }
.am-form .wpcf7-form-control-wrap { display: block; }
.am-form input[type="text"], .am-form input[type="tel"], .am-form input[type="email"],
.am-form select, .am-form textarea {
	width: 100%;
	box-sizing: border-box;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 12px;
	padding: 12px 14px;
	color: #fff;
	font: inherit;
	font-weight: 400;
	transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.am-form textarea { resize: vertical; min-height: 130px; }
.am-form select {
	appearance: none;
	-webkit-appearance: none;
	padding-right: 40px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23c9ccd1' stroke-width='1.6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 16px center;
}
.am-form select option { background: #0b1a33; color: #fff; }
.am-form ::placeholder { color: rgba(255, 255, 255, 0.35); }
.am-form input:focus, .am-form select:focus, .am-form textarea:focus {
	outline: none;
	border-color: rgba(255, 255, 255, 0.5);
	background: rgba(255, 255, 255, 0.07);
	box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.08);
}
.am-form .wpcf7-not-valid { border-color: var(--am-red) !important; }
.am-form .wpcf7-not-valid-tip { color: #f0c36a; font-size: 0.8rem; font-weight: 500; margin-top: 4px; }
.am-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.am-consent { font-size: 0.85rem; color: var(--am-muted); line-height: 1.5; }
.am-consent .wpcf7-list-item { margin: 0; }
.am-consent label { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--am-muted); }
.am-consent input[type="checkbox"] { accent-color: #fff; width: 18px; height: 18px; margin: 1px 0 0; flex: none; }
.am-form .wpcf7-submit {
	justify-self: start;
	background: var(--am-chrome);
	color: #000;
	border: 0;
	border-radius: 999px;
	padding: 14px 30px;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
	box-shadow: 0 10px 30px -12px rgba(212, 174, 90, 0.55), inset 0 1px 0 rgba(255, 244, 214, 0.9);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.am-form .wpcf7-submit:hover, .am-form .wpcf7-submit:focus-visible {
	transform: translateY(-2px);
	box-shadow: 0 16px 36px -12px rgba(212, 174, 90, 0.7), inset 0 1px 0 #fff6dc;
}
.am-form .wpcf7-submit:disabled { opacity: 0.6; cursor: wait; transform: none; }
.am-form .wpcf7-spinner { margin: 0 0 0 12px; vertical-align: middle; background-color: rgba(255, 255, 255, 0.5); }
.am-form .wpcf7 form .wpcf7-response-output {
	margin: 4px 0 0;
	padding: 12px 16px;
	border-radius: 12px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	background: rgba(255, 255, 255, 0.05);
	color: var(--am-text);
	font-size: 0.9rem;
}
.am-form .wpcf7 form.sent .wpcf7-response-output { border-color: rgba(74, 222, 128, 0.6); background: rgba(74, 222, 128, 0.08); }
.am-form .wpcf7 form.invalid .wpcf7-response-output,
.am-form .wpcf7 form.unaccepted .wpcf7-response-output,
.am-form .wpcf7 form.failed .wpcf7-response-output,
.am-form .wpcf7 form.spam .wpcf7-response-output { border-color: rgba(201, 162, 74, 0.7); background: rgba(201, 162, 74, 0.08); }
@media (max-width: 600px) {
	.am-form-row { grid-template-columns: 1fr; }
	.am-form .wpcf7-submit { justify-self: stretch; }
}

/* ---------- Mobile spacing ---------- */
@media (max-width: 781px) {
	.wp-block-cover.am-hero { padding-top: 60px !important; padding-bottom: 120px !important; min-height: 78vh !important; }
	.am-banner { min-height: 320px !important; }
	.am-map iframe { height: 300px; }
}

/* =========================================================
   v1.3 — straight grids, equal-height cards, hover effects
   ========================================================= */

/* Grids: every card in a row starts and ends on the same line */
.am-grid.is-layout-grid { align-items: stretch !important; }
.am-grid.is-layout-grid > * { margin: 0 !important; height: auto; }

/* Cards are flex columns so the "Περισσότερα" links / buttons sit on one baseline */
.am-photo-card, .am-video, .am-testimonial, .am-team, .am-card, .am-milestone, .am-feature-box {
	display: flex !important;
	flex-direction: column;
	position: relative;
	isolation: isolate;
	transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1), border-color 0.35s ease, box-shadow 0.45s ease, background-color 0.35s ease;
}
.am-photo-card > *, .am-video > *, .am-card > *, .am-milestone > *, .am-feature-box > * { margin-block: 0; }
.am-photo-card-body { flex: 1; display: flex !important; flex-direction: column; }
.am-photo-card-body > * { margin-block: 0 !important; }
.am-photo-card-body h3 { margin-bottom: 0.45em !important; }
.am-photo-card-body .am-more { margin-top: auto !important; padding-top: 1em; }
.am-card h3 { margin-bottom: 0.4em !important; }
.am-feature-box .am-icon { margin-bottom: 18px !important; }
.am-feature-box .wp-block-buttons { margin-top: auto !important; padding-top: 1.4em; }
.am-testimonial-name { margin-top: auto !important; padding-top: 14px; }
.am-team > p:last-child { margin-top: auto !important; }

/* Shared glass hover: lift, brighter edge, soft white glow */
.am-photo-card:hover, .am-video:hover, .am-testimonial:hover, .am-team:hover,
.am-card:hover, .am-milestone:hover {
	transform: translateY(-8px);
	border-color: rgba(255, 255, 255, 0.38);
	box-shadow: 0 34px 70px -30px rgba(255, 255, 255, 0.22), 0 0 0 1px rgba(255, 255, 255, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* Photo zoom + dark overlay + glass icon (services, team, video, gallery) */
.am-photo-card-img, .am-team-img, .am-video-media, .am-testimonial-img { position: relative; overflow: hidden; }
.am-photo-card-img::after, .am-team-img::after, .am-gallery figure::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.4s ease;
	background:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 22px no-repeat,
		radial-gradient(circle at center, rgba(255, 255, 255, 0.18) 0 34px, rgba(255, 255, 255, 0.55) 35px 36px, transparent 37px),
		linear-gradient(180deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.6));
}
.am-team-img::after {
	background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.65));
}
.am-gallery figure { position: relative; }
.am-gallery figure::after {
	background:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='M11 8v6M8 11h6M16 16l4 4'/%3E%3C/svg%3E") center / 24px no-repeat,
		radial-gradient(circle at center, rgba(255, 255, 255, 0.18) 0 34px, rgba(255, 255, 255, 0.55) 35px 36px, transparent 37px),
		rgba(0, 0, 0, 0.5);
}
.am-photo-card:hover .am-photo-card-img::after,
.am-team:hover .am-team-img::after,
.am-gallery figure:hover::after { opacity: 1; }
.am-photo-card:hover .am-photo-card-img img { transform: scale(1.12); }
.am-team:hover .am-team-img img { transform: scale(1.1); filter: grayscale(0); }
.am-gallery figure { transition: border-color 0.35s ease, box-shadow 0.45s ease; }
.am-gallery figure:hover { border-color: rgba(255, 255, 255, 0.4); box-shadow: 0 24px 60px -28px rgba(255, 255, 255, 0.25); }
.am-gallery figure:hover img { transform: scale(1.18); }
.am-video:hover .am-video-img img { transform: scale(1.08); }
.am-testimonial:hover .am-testimonial-img img { transform: scale(1.06); }

/* Title accent bar grows on hover */
.am-photo-card-body h3, .am-card h3, .am-milestone h3 { position: relative; padding-bottom: 12px; }
.am-photo-card-body h3::after, .am-card h3::after, .am-milestone h3::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 28px;
	height: 2px;
	border-radius: 2px;
	background: var(--am-red);
	transition: width 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.am-photo-card:hover h3::after, .am-card:hover h3::after, .am-milestone:hover h3::after { width: 72px; }
.am-more a span { display: inline-block; transition: transform 0.3s ease; }
.am-photo-card:hover .am-more a span { transform: translateX(6px); }

/* Icon tiles flip to solid crystal on hover */
.am-icon { transition: background 0.35s ease, color 0.35s ease, transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.35s ease; }
.am-card:hover .am-icon, .am-feature-box:hover .am-icon {
	background: var(--am-chrome);
	color: #000;
	transform: translateY(-3px) rotate(-6deg);
	box-shadow: 0 12px 30px -10px rgba(212, 174, 90, 0.6);
}

/* Feature boxes over the hero: glass turns brighter, top edge lights up */
.am-feature-box::before {
	content: "";
	position: absolute;
	inset: 0 0 auto 0;
	height: 2px;
	background: linear-gradient(90deg, transparent, var(--am-red), #fff, transparent);
	transform: scaleX(0);
	transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.am-feature-box:hover {
	background-color: rgba(255, 255, 255, 0.09) !important;
	border-color: rgba(255, 255, 255, 0.4);
	transform: translateY(-6px);
	box-shadow: 0 40px 80px -30px rgba(255, 255, 255, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.am-feature-box:hover::before { transform: scaleX(1); }

/* Video play button */
.am-play { transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1), background 0.3s ease, color 0.3s ease; }
.am-video:hover .am-play { transform: scale(1.15); background: #fff; color: #000; }

/* Split photos: frame shifts on hover */
.am-photo-frame img, .am-photo-frame::before { transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.am-photo-frame:hover img { transform: translate(-6px, -6px); }
.am-photo-frame:hover::before { transform: translate(6px, 6px); }

/* Scroll reveal (fade-in-up, staggered per row) — enabled by assets/reveal.js */
@keyframes am-rise {
	from { opacity: 0; transform: translate3d(0, 46px, 0); }
	to { opacity: 1; transform: none; }
}
.am-js .am-reveal:not(.is-in) { opacity: 0; }
.am-js .am-reveal.is-in { animation: am-rise 0.95s cubic-bezier(0.2, 0.7, 0.2, 1) backwards; animation-delay: var(--am-d, 0s); }

/* ---------- Hero slider (banners carry their own titles) ---------- */
.am-slider {
	position: relative;
	width: 100%;
	max-width: none !important;
	margin: 0 !important;
	aspect-ratio: 1672 / 941;
	max-height: calc(100vh - 60px);
	min-height: 200px;
	overflow: hidden;
	background: #050d1a;
	isolation: isolate;
}
.am-slides, .am-slide { position: absolute; inset: 0; }
.am-slide { opacity: 0; visibility: hidden; transition: opacity 1.1s ease, visibility 0s linear 1.1s; }
.am-slide.is-active { opacity: 1; visibility: visible; transition: opacity 1.1s ease, visibility 0s; z-index: 1; }
.am-slide img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; transform: scale(1.0); }
.am-slide.is-active img { animation: am-kenburns 7s ease-out both; }
@keyframes am-kenburns { from { transform: scale(1.06); } to { transform: scale(1); } }
/* soft black fade into the page + under the feature boxes */
.am-slider::after {
	content: "";
	position: absolute;
	inset: auto 0 0 0;
	height: 34%;
	z-index: 2;
	pointer-events: none;
	background: linear-gradient(180deg, rgba(5, 13, 26, 0), rgba(5, 13, 26, 0.85) 80%, #050d1a);
}
.am-arrow {
	position: absolute;
	top: 50%;
	z-index: 3;
	width: 52px;
	height: 52px;
	margin-top: -26px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	color: #fff;
	cursor: pointer;
	background: rgba(0, 0, 0, 0.35);
	border: 1px solid rgba(255, 255, 255, 0.35);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	opacity: 0;
	transition: opacity 0.3s ease, background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}
.am-arrow svg { width: 24px; height: 24px; }
.am-prev { left: 24px; }
.am-next { right: 24px; }
.am-slider:hover .am-arrow, .am-arrow:focus-visible { opacity: 1; }
.am-arrow:hover { background: #fff; color: #000; transform: scale(1.08); }
.am-dots { position: absolute; z-index: 3; left: 0; right: 0; bottom: 150px; display: flex; justify-content: center; gap: 10px; }
.am-dot {
	width: 10px; height: 10px; padding: 0; border-radius: 999px; cursor: pointer;
	background: rgba(255, 255, 255, 0.35); border: 1px solid rgba(255, 255, 255, 0.6);
	transition: width 0.35s ease, background 0.35s ease;
}
.am-dot.is-active { width: 30px; background: #fff; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (max-width: 781px) {
	.am-slider { max-height: none; }
	.am-slider::after { height: 22%; }
	.am-arrow { opacity: 1; width: 38px; height: 38px; margin-top: -19px; }
	.am-arrow svg { width: 18px; height: 18px; }
	.am-prev { left: 8px; }
	.am-next { right: 8px; }
	.am-dots { bottom: 10px; }
	.am-features { margin-top: 24px !important; }
}

/* ---------- Generic content pages ---------- */
.wp-block-post-content a { color: #fff; }
.wp-block-post-title { color: #fff; }

/* ---------- Accessibility ---------- */
a:focus-visible, .wp-block-button__link:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
	html { scroll-behavior: auto; }
}

/* =====================================================================
   AIAS Marine v0.1 — hero banner 3:1, gold accents, booking pill
   ===================================================================== */

/* Hero: the owner's banner is 2172x724 (3:1); on phones a crop around the logo (1040x724). */
.am-slider { aspect-ratio: 2172 / 724; max-height: none; }
.am-slide img { object-position: center center; }
.am-slide picture { display: block; width: 100%; height: 100%; }
.am-slider::after { height: 14%; }
@media (max-width: 700px) { .am-slider { aspect-ratio: 1040 / 724; } }
@media (min-width: 782px) { .am-features { margin-top: -64px !important; } }

/* Brand name in gold */
.am-brand .am-brand-name small { color: var(--am-silver); }
.am-brand a:hover img { box-shadow: 0 0 0 2px rgba(212, 174, 90, 0.7), 0 8px 22px rgba(0, 0, 0, 0.5); }

/* "Κράτηση" menu pill: same glass pill as the Sotos Marine portal link, calendar icon, gold border */
.am-nav .am-nav-book .wp-block-navigation-item__content { border-color: rgba(212, 174, 90, 0.55); }
.am-nav .am-nav-book .wp-block-navigation-item__content::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='M16 2v4M8 2v4M3 10h18'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='M16 2v4M8 2v4M3 10h18'/%3E%3C/svg%3E");
}
.am-nav .am-nav-book .wp-block-navigation-item__content:hover,
.am-nav .am-nav-book .wp-block-navigation-item__content:focus-visible { box-shadow: 0 0 0 4px rgba(212, 174, 90, 0.18), 0 8px 24px rgba(212, 174, 90, 0.25); }

/* Gold hover glow on glass cards (instead of white) */
.am-photo-card:hover, .am-testimonial:hover, .am-card:hover, .am-milestone:hover {
	border-color: rgba(212, 174, 90, 0.5);
	box-shadow: 0 34px 70px -30px rgba(212, 174, 90, 0.28), 0 0 0 1px rgba(212, 174, 90, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.am-feature-box:hover { border-color: rgba(212, 174, 90, 0.55); }
.am-icon { color: #f1dca2; }
.am-checks li::before { border-color: rgba(212, 174, 90, 0.55); background-color: rgba(212, 174, 90, 0.14); }
.am-more a:hover { color: #f1dca2 !important; }
.am-tb-247 { color: #f1dca2; font-weight: 600; }

/* Booking card on the contact page */
.am-anchor { display: block; position: relative; top: calc(-1 * var(--am-header-h) - 24px); visibility: hidden; }
.am-form-card .am-checks { margin-top: 0.6em; }
.am-form-card .wp-block-buttons { margin-top: 1.4em; gap: 12px; }
/* Page banners / CTA: lead text readable on the photo */
.am-banner .am-lead, .am-cta .am-lead { color: #dce4ee; text-shadow: 0 2px 12px rgba(5, 13, 26, 0.8); }
.am-banner-title, .am-cta-title { text-shadow: 0 4px 24px rgba(5, 13, 26, 0.6); }

/* =====================================================================
   AIAS Marine v0.3 — fleet: boat cards, licence badges, specs, price, comparison table
   ===================================================================== */
.am-boat-media { position: relative; margin: 0 !important; }
.am-boat-media > * { margin: 0 !important; }
.am-lic {
	display: inline-flex;
	align-items: center;
	gap: 0.45em;
	padding: 0.38em 0.9em;
	border-radius: 999px;
	font-size: 0.74rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	line-height: 1.2;
}
.am-lic::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.am-lic-free { background: rgba(52, 211, 153, 0.14); color: #8ef0c4; border: 1px solid rgba(52, 211, 153, 0.45); }
.am-lic-pro { background: rgba(212, 174, 90, 0.16); color: #f1dca2; border: 1px solid rgba(212, 174, 90, 0.5); }
.am-boat-media .am-lic {
	position: absolute;
	top: 14px;
	left: 14px;
	z-index: 2;
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	background-color: rgba(5, 13, 26, 0.62);
}
.am-boat .am-photo-card-body h3 { font-size: 1.45rem; letter-spacing: 0.04em; margin-bottom: 0.15em !important; }
.am-boat-model { color: var(--am-silver) !important; font-weight: 600; font-size: 0.95rem !important; }
.am-boat .am-photo-card-body > p:not(.am-boat-model):not(.am-more) { margin-top: 0.7em !important; }

.am-specs { list-style: none; margin: 1em 0 0; padding: 0; display: grid; gap: 0; }
.am-specs li {
	display: grid;
	grid-template-columns: 18px auto 1fr;
	align-items: center;
	gap: 10px;
	padding: 9px 0;
	font-size: 0.92rem;
	color: var(--am-muted);
	border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.am-specs li:last-child { border-bottom: 0; }
.am-specs svg { width: 18px; height: 18px; color: #d4ae5a; }
.am-specs strong { color: var(--am-text); font-weight: 600; text-align: right; }
.am-boat-row .am-specs { max-width: 560px; margin-top: 1.3em; }
.am-boat-row .am-lic { margin-bottom: 0.6em; }
.am-boat-row .wp-block-heading { margin-top: 0.2em !important; letter-spacing: 0.03em; }
.am-price { margin-top: 1.4em !important; font-size: 1.3rem !important; font-weight: 800; color: #f1dca2; }
.am-price span { display: block; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--am-muted); font-weight: 700; }

.am-table-wrap { overflow-x: auto; padding: 6px 4px !important; -webkit-overflow-scrolling: touch; }
.am-compare { width: 100%; min-width: 680px; border-collapse: collapse; font-size: 0.95rem; }
.am-compare th, .am-compare td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
.am-compare thead th { font-size: 1.1rem; font-weight: 800; letter-spacing: 0.04em; }
.am-compare thead th a { color: #f1dca2; text-decoration: none; }
.am-compare thead th a:hover { color: #fff; }
.am-compare tbody th { color: var(--am-muted); font-weight: 600; white-space: nowrap; font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; }
.am-compare td { color: var(--am-text); }
.am-compare tbody tr:last-child > * { border-bottom: 0; }
.am-compare tbody tr { transition: background 0.25s ease; }
.am-compare tbody tr:hover { background: rgba(212, 174, 90, 0.06); }
.am-section-head .am-muted a { color: #f1dca2; }
/* Header: 7 menu items — keep them on one line between the mobile menu (600px) and wide screens */
@media (max-width: 1180px) {
	.am-nav .wp-block-navigation__container { gap: 1.1em; }
	.am-nav .wp-block-navigation-item__content { font-size: 0.9rem; }
	.am-brand .am-brand-name small { display: none; }
}
@media (max-width: 1000px) {
	.am-brand .am-brand-name { display: none; }
	.am-nav .wp-block-navigation__container { gap: 0.85em; }
	.am-nav .wp-block-navigation-item__content { font-size: 0.86rem; }
	.am-nav .am-nav-portal .wp-block-navigation-item__content { padding: 0.45em 0.8em; }
}
@media (min-width: 600px) and (max-width: 781px) {
	.am-nav .wp-block-navigation__container { gap: 0.6em; }
	.am-nav .wp-block-navigation-item__content { font-size: 0.8rem; }
	.am-nav .am-nav-portal .wp-block-navigation-item__content { padding: 0.4em 0.65em; }
	.am-header-inner { gap: 12px !important; }
}

/* Round logo badge stays round on phones (the base rule only changed the height → oval) */
.am-brand img { object-fit: cover; aspect-ratio: 1; }
@media (max-width: 600px) { .am-brand img { width: 44px; height: 44px; } }
