/**
 * HYDA global design system.
 */

:root {
	--hyda-navy: #061b49;
	--hyda-deep-navy: #03112f;
	--hyda-blue: #0a2f72;
	--hyda-gold: #f5a800;
	--hyda-gold-text: #a95f00;
	--hyda-gold-hover: #ffba21;
	--hyda-white: #ffffff;
	--hyda-off-white: #f7f8fb;
	--hyda-light-grey: #e9edf3;
	--hyda-border: #d8dfe9;
	--hyda-text: #26334a;
	--hyda-muted: #68738a;
	--hyda-success: #218a5a;
	--hyda-error: #c53b3b;
	--hyda-content-width: 760px;
	--hyda-wide-width: 1200px;
	--hyda-page-gutter: clamp(1.25rem, 4vw, 2.5rem);
	--hyda-section-space: clamp(4.5rem, 9vw, 8rem);
	--hyda-radius: 1.25rem;
	--hyda-shadow: 0 24px 70px rgba(6, 27, 73, 0.11);
	--hyda-font-body: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--hyda-font-heading: Manrope, Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

html { scroll-behavior: smooth; }

body {
	background: var(--hyda-white);
	color: var(--hyda-text);
	font-family: var(--hyda-font-body);
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

body.admin-bar .hyda-site-header { top: 32px; }

:where(h1, h2, h3, h4, h5, h6) {
	color: var(--hyda-navy);
	font-family: var(--hyda-font-heading);
	letter-spacing: -0.035em;
	line-height: 1.08;
}

:where(p, li) { text-wrap: pretty; }

a { text-underline-offset: 0.2em; }

img { height: auto; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
	outline: 3px solid var(--hyda-gold);
	outline-offset: 3px;
}

::selection {
	background: var(--hyda-gold);
	color: var(--hyda-deep-navy);
}

.hyda-main { overflow: clip; }

.hyda-site-header {
	background: rgba(255, 255, 255, 0.97) !important;
	border-bottom: 1px solid rgba(6, 27, 73, 0.08);
	padding: 0 !important;
	box-shadow: 0 6px 30px rgba(6, 27, 73, 0.04);
	position: sticky;
	top: 0;
	z-index: 100;
}

.hyda-header-inner {
	min-height: 0;
	padding: 10px var(--hyda-page-gutter);
}

.hyda-header-logo,
.hyda-footer-logo {
	height: 88px;
	overflow: hidden;
	position: relative;
	width: 230px !important;
}

.hyda-header-logo img,
.hyda-footer-logo img {
	height: 230px !important;
	left: 0;
	max-width: none !important;
	position: absolute;
	top: -66px;
	width: 230px !important;
}

.hyda-primary-navigation { font-size: 0.9rem; font-weight: 700; }

.hyda-primary-navigation .wp-block-navigation-item__content {
	color: var(--hyda-navy);
	padding: 0.45rem 0.1rem;
	text-decoration: none;
}

.hyda-primary-navigation .current-menu-item > .wp-block-navigation-item__content,
.hyda-primary-navigation .wp-block-navigation-item__content:hover { color: var(--hyda-blue); }

.hyda-primary-navigation .current-menu-item > .wp-block-navigation-item__content {
	text-decoration: underline;
	text-decoration-color: var(--hyda-gold-text);
	text-decoration-thickness: 3px;
	text-underline-offset: .45rem;
}

.hyda-primary-navigation .hyda-nav-cta .wp-block-navigation-item__content {
	background: var(--hyda-gold);
	border-radius: 999px;
	box-shadow: 0 8px 24px rgba(245, 168, 0, 0.24);
	color: var(--hyda-deep-navy);
	padding: 0.65rem 1rem;
}

.hyda-site-footer { padding: clamp(4rem, 7vw, 6rem) var(--hyda-page-gutter) 1.5rem; }
.hyda-site-footer :where(h2, h3, p, a, li) { color: var(--hyda-white); }
.hyda-site-footer a { text-decoration-color: rgba(255,255,255,.4); }
.hyda-site-footer a:hover { color: var(--hyda-gold); }
.hyda-footer-grid { gap: clamp(2.5rem, 6vw, 5rem); }
.hyda-footer-brand { max-width: 31rem; }
.hyda-footer-logo { margin-bottom: 1.25rem; }
.hyda-footer-grid > .wp-block-group > h3 { margin: .2rem 0 1.25rem; }
.hyda-footer-motto { color: var(--hyda-gold) !important; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.hyda-footer-links { display: grid; gap: .8rem; list-style: none; margin: 0; padding: 0; }
.hyda-footer-links li { margin: 0; }
.hyda-footer-grid > .wp-block-group:not(.hyda-footer-brand) > p { margin: 0 0 .8rem; }
.hyda-footer-bottom { border-top: 1px solid rgba(255,255,255,.18); margin-top: 3rem; padding-top: 1.5rem; }
.hyda-footer-bottom p { margin: 0; opacity: .78; }

.hyda-section {
	padding: var(--hyda-section-space) var(--hyda-page-gutter);
}

.hyda-section-compact { padding: clamp(3rem, 6vw, 5rem) var(--hyda-page-gutter); }
.hyda-section-cloud { background: var(--hyda-off-white); }
.hyda-section-navy { background: var(--hyda-navy); color: var(--hyda-white); }
.hyda-section-navy :where(h1, h2, h3, p, li) { color: var(--hyda-white); }
.hyda-section-gold { background: var(--hyda-gold); color: var(--hyda-deep-navy); }
.hyda-section-gold :where(h2, h3, p) { color: var(--hyda-deep-navy); }

.hyda-hero {
	background: radial-gradient(circle at 83% 20%, rgba(10,47,114,.9), transparent 42%), linear-gradient(125deg, var(--hyda-deep-navy), var(--hyda-navy));
	color: var(--hyda-white);
	min-height: min(780px, calc(100vh - 96px));
	padding: clamp(5rem, 10vw, 9rem) var(--hyda-page-gutter);
}

.hyda-hero :where(h1, p) { color: var(--hyda-white); }
.hyda-hero h1 { font-size: clamp(2.7rem, 7vw, 5.7rem); max-width: 13ch; }
.hyda-hero .hyda-lead { color: rgba(255,255,255,.82); max-width: 64ch; }
.hyda-hero-grid { gap: clamp(2.5rem, 7vw, 6rem); }
.hyda-hero-brand { background: rgba(255,255,255,.97); border: 1px solid rgba(255,255,255,.2); border-radius: 2rem; box-shadow: 0 32px 90px rgba(0,0,0,.25); padding: clamp(1.5rem, 4vw, 3rem); }
.hyda-hero-brand img { width: 100%; }

.hyda-page-hero {
	background: linear-gradient(135deg, var(--hyda-deep-navy), var(--hyda-blue));
	padding: clamp(4.5rem, 8vw, 7.5rem) var(--hyda-page-gutter);
}
.hyda-page-hero :where(h1, p) { color: var(--hyda-white); }
.hyda-page-hero h1 { max-width: 15ch; }
.hyda-page-hero p { color: rgba(255,255,255,.8); max-width: 65ch; }

.hyda-eyebrow {
	color: var(--hyda-gold-text) !important;
	font-size: .78rem;
	font-weight: 800;
	letter-spacing: .16em;
	margin-bottom: 1rem;
	text-transform: uppercase;
}

.hyda-hero .hyda-eyebrow,
.hyda-page-hero .hyda-eyebrow,
.hyda-section-navy .hyda-eyebrow { color: var(--hyda-gold) !important; }

.hyda-section-heading { margin-bottom: clamp(2.25rem, 5vw, 4rem); max-width: 760px; }
.hyda-section-heading h2 { max-width: 18ch; }
.hyda-lead { font-size: clamp(1.05rem, 2vw, 1.28rem); line-height: 1.65; }
.hyda-muted { color: var(--hyda-muted); }
.hyda-gold-text { color: var(--hyda-gold-text) !important; }
.hyda-section-navy .hyda-gold-text,
.hyda-site-footer .hyda-gold-text { color: var(--hyda-gold) !important; }
.hyda-max-copy { max-width: var(--hyda-content-width); }
.hyda-center { margin-left: auto; margin-right: auto; text-align: center; }
.hyda-grid { gap: clamp(1.25rem, 3vw, 2rem); }

.hyda-whatsapp-float {
	align-items: center;
	border-radius: 50%;
	bottom: 5.25rem;
	display: inline-flex;
	height: 4.65rem;
	justify-content: center;
	position: fixed;
	right: 1.4rem;
	transition: transform .2s ease, filter .2s ease;
	width: 4.65rem;
	z-index: 110;
}

.hyda-whatsapp-float img {
	display: block;
	height: 100%;
	object-fit: contain;
	width: 100%;
}

.hyda-whatsapp-float:hover {
	filter: drop-shadow(0 .65rem 1rem rgba(3, 17, 47, .28));
	transform: translateY(-.25rem) scale(1.04);
}

.hyda-whatsapp-float:focus-visible {
	border-radius: 50%;
	outline: 3px solid var(--hyda-gold);
	outline-offset: 4px;
}

@media (max-width: 782px) { body.admin-bar .hyda-site-header { top: 46px; } }

@media (max-width: 600px) {
	.hyda-whatsapp-float {
		bottom: 4.75rem;
		height: 3.9rem;
		right: 1rem;
		width: 3.9rem;
	}
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
