/* =========================================================================
   Fidensa Global — Design System
   Fully custom, no framework. Palette: Navy / White / Slate Blue-Grey / Light Grey.
   ========================================================================= */

:root {
	--navy: #0A2A4D;
	--navy-dark: #071c35;
	--white: #FFFFFF;
	--slate: #5C7A99;
	--slate-light: #8FA6BC;
	--grey: #F4F6F8;
	--grey-line: #E3E8ED;
	--ink: #1C2733;
	--ink-soft: #5B6776;
	--success: #1E7A4A;
	--error: #B3261E;

	--container: 1240px;
	--container-wide: 1440px;
	--radius: 8px;
	--radius-lg: 14px;
	--shadow-sm: 0 2px 8px rgba(10, 42, 77, 0.06);
	--shadow-md: 0 8px 28px rgba(10, 42, 77, 0.10);
	--shadow-lg: 0 18px 48px rgba(10, 42, 77, 0.14);

	--font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ---- Reset --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--font-sans);
	color: var(--ink);
	background: var(--white);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
	outline: 2px solid var(--slate);
	outline-offset: 2px;
	border-radius: 2px;
}
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; font-size: 1rem; }

h1, h2, h3, h4, h5 {
	font-family: var(--font-sans);
	color: var(--navy);
	font-weight: 700;
	line-height: 1.2;
	margin: 0 0 0.6em;
	letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); }
h2 { font-size: clamp(1.8rem, 2.6vw, 2.4rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; color: var(--ink-soft); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container--wide { max-width: var(--container-wide); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section--tight { padding: 56px 0; }
.section--grey { background: var(--grey); }
.section--navy { position: relative; overflow: hidden; background: var(--navy); color: var(--white); }
.section--navy h1, .section--navy h2, .section--navy h3 { color: var(--white); }
.section--navy p { color: rgba(255,255,255,0.78); }

.eyebrow {
	display: inline-block;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--slate);
	margin-bottom: 14px;
}

/* ---- Buttons -------------------------------------------------------------- */
.btn {
	position: relative;
	overflow: hidden;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 13px 26px;
	border-radius: 4px;
	font-weight: 600;
	font-size: 0.95rem;
	border: 1.5px solid transparent;
	transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s cubic-bezier(.16,1,.3,1);
	white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn--primary { background: var(--navy); color: var(--white); }
.btn--primary:hover { background: var(--navy-dark); }
/* Shine sweep on the primary CTA — a single light pass on hover, not a
   looping animation, so it reads as a deliberate response to the cursor
   rather than a distracting idle effect. */
.btn--primary::after {
	content: "";
	position: absolute;
	top: 0; left: -60%;
	width: 40%; height: 100%;
	background: linear-gradient(115deg, transparent, rgba(255,255,255,0.28), transparent);
	transform: skewX(-20deg);
	transition: left 0.65s cubic-bezier(.16,1,.3,1);
	pointer-events: none;
}
.btn--primary:hover::after { left: 130%; }
@media (prefers-reduced-motion: reduce) {
	.btn--primary::after { display: none; }
}
.btn--outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--outline:hover { background: var(--navy); color: var(--white); }
.btn--outline-light { border-color: rgba(255,255,255,0.6); color: var(--white); background: transparent; }
.btn--outline-light:hover { background: var(--white); color: var(--navy); }
.btn--slate { background: var(--slate); color: var(--white); }
.btn--slate:hover { background: var(--navy); }
.btn--sm { padding: 9px 18px; font-size: 0.85rem; }
.btn--block { width: 100%; }

/* =========================================================================
   Header
   ========================================================================= */
.site-header {
	position: sticky;
	top: 0;
	z-index: 500;
	background: var(--white);
	border-bottom: 1px solid var(--grey-line);
	box-shadow: 0 0 0 rgba(10, 42, 77, 0);
	transition: box-shadow 0.25s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }
.site-header__bar {
	max-width: var(--container-wide);
	margin: 0 auto;
	padding: 0 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 84px;
}
.site-header__logo img { height: 52px; width: auto; }

.site-nav { display: flex; align-items: center; gap: 36px; }
.site-nav__list { display: flex; align-items: center; gap: 32px; }
.site-nav__list > li { position: relative; }
.site-nav__list > li > a {
	font-weight: 600;
	font-size: 0.95rem;
	color: var(--navy);
	padding: 30px 0;
	display: inline-block;
	border-bottom: 2px solid transparent;
}
.site-nav__list > li > a:hover,
.site-nav__list > li.has-megamenu:hover > a {
	border-bottom-color: var(--slate);
}
.site-nav__list > li.has-megamenu > a::after {
	content: "";
	display: inline-block;
	width: 7px; height: 7px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg);
	margin-left: 7px;
	position: relative;
	top: -2px;
}

.header-actions { display: flex; align-items: center; gap: 14px; }
.header-actions__login {
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
	font-size: 0.9rem;
	color: var(--navy);
	padding: 8px 12px;
	border-radius: 4px;
	position: relative;
}
.header-actions__login:hover { background: var(--grey); }
.header-actions__login svg { width: 20px; height: 20px; }

.account-dropdown { position: relative; }
.account-dropdown__menu {
	position: absolute;
	right: 0;
	top: calc(100% + 8px);
	background: var(--white);
	box-shadow: var(--shadow-md);
	border-radius: var(--radius);
	min-width: 200px;
	padding: 10px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: all 0.15s ease;
	border: 1px solid var(--grey-line);
}
.account-dropdown:hover .account-dropdown__menu,
.account-dropdown.is-open .account-dropdown__menu {
	opacity: 1; visibility: visible; transform: translateY(0);
}
.account-dropdown__menu a {
	display: block;
	padding: 9px 12px;
	border-radius: 4px;
	font-size: 0.9rem;
	color: var(--ink);
}
.account-dropdown__menu a:hover { background: var(--grey); }

/* ---- Mega menu ------------------------------------------------------------ */
.megamenu {
	position: absolute;
	left: 50%;
	top: 100%;
	width: 920px;
	background: var(--white);
	box-shadow: var(--shadow-lg);
	border-top: 3px solid var(--navy);
	padding: 36px;
	display: flex;
	gap: 40px;
	z-index: 600;
	opacity: 0;
	visibility: hidden;
	transform: translate(-50%, 8px);
	transition: opacity 0.2s cubic-bezier(.16,1,.3,1), transform 0.2s cubic-bezier(.16,1,.3,1), visibility 0.2s;
}
.has-megamenu:hover .megamenu,
.has-megamenu.is-open .megamenu {
	opacity: 1;
	visibility: visible;
	transform: translate(-50%, 0);
}
@media (prefers-reduced-motion: reduce) {
	.megamenu { transition: opacity 0.01s linear; }
}

.megamenu__col { flex: 1; }
.megamenu__heading {
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--slate);
	margin-bottom: 16px;
}
.megamenu__list { display: grid; gap: 4px; }
.megamenu__item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 9px 10px;
	border-radius: 6px;
}
.megamenu__item:hover { background: var(--grey); }
.megamenu__item img { width: 28px; height: 28px; flex-shrink: 0; }
.megamenu__item-title { font-weight: 600; font-size: 0.88rem; color: var(--navy); display: block; }
.megamenu__item-sub { font-size: 0.78rem; color: var(--ink-soft); display: block; margin-top: 1px; }
.megamenu__price { font-size: 0.78rem; font-weight: 700; color: var(--slate); white-space: nowrap; }
.megamenu__footer {
	flex-basis: 100%;
	border-top: 1px solid var(--grey-line);
	margin-top: 18px;
	padding-top: 18px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

/* ---- Mobile nav ------------------------------------------------------------ */
.mobile-nav-toggle { display: none; background: none; border: none; padding: 8px; }
.mobile-nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; }

@media (max-width: 980px) {
	.site-nav { display: none; }
	.site-nav.is-open-mobile {
		display: block;
		position: absolute;
		top: 84px; left: 0; right: 0;
		background: var(--white);
		border-bottom: 1px solid var(--grey-line);
		box-shadow: var(--shadow-md);
		max-height: calc(100vh - 84px);
		overflow-y: auto;
		padding: 12px 24px 28px;
	}
	.site-nav.is-open-mobile .site-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.site-nav.is-open-mobile .site-nav__list > li > a { padding: 16px 0; border-bottom: 1px solid var(--grey-line); }
	.site-nav.is-open-mobile .megamenu {
		display: none;
		position: static;
		transform: none;
		width: auto;
		box-shadow: none;
		border-top: none;
		flex-direction: column;
		padding: 8px 0 16px 16px;
	}
	.site-nav.is-open-mobile .has-megamenu.is-open .megamenu { display: flex; }
	.site-nav.is-open-mobile .megamenu__col { flex: none; }
	.mobile-nav-toggle { display: block; }
	.header-actions .btn--outline { display: none; }
}

/* =========================================================================
   Reveal-on-scroll / reveal-on-load ("blur fade")
   Elements are fully visible by default — JS (main.js) opts elements
   marked [data-reveal] into the hidden starting state, so a visitor with
   JS disabled (or before main.js executes) always sees normal content.
   No layout shift: only opacity/filter/transform change.
   ========================================================================= */
.reveal-armed {
	opacity: 0;
	filter: blur(8px);
	transform: translateY(16px);
	transition: opacity 0.7s cubic-bezier(.16,1,.3,1), filter 0.7s cubic-bezier(.16,1,.3,1), transform 0.7s cubic-bezier(.16,1,.3,1);
	will-change: opacity, transform, filter;
}
.reveal-armed.reveal-visible {
	opacity: 1;
	filter: blur(0);
	transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
	.reveal-armed, .reveal-armed.reveal-visible {
		opacity: 1 !important;
		filter: none !important;
		transform: none !important;
		transition: none !important;
	}
}

/* =========================================================================
   Decorative section backgrounds — subtle animated gradient blobs ("aurora")
   over a faint structural grid, kept in the brand palette and low-opacity
   so it reads as premium texture, not decoration competing with content.
   Used behind hero panels and CTA bands across the site.
   ========================================================================= */
.bg-decor {
	position: absolute;
	inset: 0;
	overflow: hidden;
	pointer-events: none;
	z-index: 0;
}
.bg-decor ~ * { position: relative; z-index: 1; }

.bg-decor__grid {
	position: absolute;
	inset: -1px;
	background-image:
		linear-gradient(to right, rgba(10, 42, 77, 0.07) 1px, transparent 1px),
		linear-gradient(to bottom, rgba(10, 42, 77, 0.07) 1px, transparent 1px);
	background-size: 48px 48px;
	-webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 25%, #000 35%, transparent 80%);
	mask-image: radial-gradient(ellipse 75% 65% at 50% 25%, #000 35%, transparent 80%);
}
.bg-decor--navy .bg-decor__grid {
	background-image:
		linear-gradient(to right, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
		linear-gradient(to bottom, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
}

.bg-decor__blob {
	position: absolute;
	width: 520px;
	height: 520px;
	border-radius: 50%;
	filter: blur(90px);
	will-change: transform;
	animation: fidensaFloat 18s ease-in-out infinite alternate;
}
.bg-decor__blob--1 { top: -180px; left: -140px; background: var(--slate); opacity: 0.30; }
.bg-decor__blob--2 { top: 30%; right: -200px; background: var(--navy); opacity: 0.18; animation-delay: -6s; }
.bg-decor__blob--3 { bottom: -220px; left: 28%; background: var(--slate-light); opacity: 0.26; animation-delay: -11s; }

.bg-decor--navy .bg-decor__blob--1 { background: var(--slate-light); opacity: 0.20; }
.bg-decor--navy .bg-decor__blob--2 { background: var(--white); opacity: 0.07; }
.bg-decor--navy .bg-decor__blob--3 { background: var(--slate); opacity: 0.28; }

@keyframes fidensaFloat {
	0%   { transform: translate(0, 0) scale(1); }
	50%  { transform: translate(36px, -24px) scale(1.08); }
	100% { transform: translate(-24px, 18px) scale(0.95); }
}
@media (prefers-reduced-motion: reduce) {
	.bg-decor__blob { animation: none; }
}

/* =========================================================================
   Hero
   ========================================================================= */
.hero {
	position: relative;
	overflow: hidden;
	background: linear-gradient(180deg, var(--grey) 0%, var(--white) 100%);
	padding: 64px 0 0;
}
.hero__grid {
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	gap: 40px;
	align-items: center;
}
.hero__eyebrow { color: var(--slate); }
.hero__lede { font-size: 1.15rem; max-width: 520px; }
.hero__ctas { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.hero__stats {
	display: flex;
	gap: 36px;
	margin-top: 48px;
	padding-top: 28px;
	border-top: 1px solid var(--grey-line);
}
.hero__stat-number { font-size: 1.6rem; font-weight: 700; color: var(--navy); display: block; }
.hero__stat-label { font-size: 0.8rem; color: var(--ink-soft); }
.hero__art { position: relative; }

@media (max-width: 900px) {
	.hero__grid { grid-template-columns: 1fr; }
	.hero__stats { flex-wrap: wrap; gap: 24px; }
}

/* =========================================================================
   Value props ("Why Fidensa Global")
   ========================================================================= */
.value-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	margin-top: 48px;
}
.value-card {
	background: var(--white);
	border: 1px solid var(--grey-line);
	border-radius: var(--radius-lg);
	padding: 28px 24px;
	transition: box-shadow 0.3s cubic-bezier(.16,1,.3,1), transform 0.3s cubic-bezier(.16,1,.3,1), border-color 0.3s ease;
}
.value-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: var(--slate-light); }
.value-card img { width: 52px; height: 52px; margin-bottom: 18px; }
.value-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.value-card p { font-size: 0.9rem; margin: 0; }

@media (max-width: 980px) { .value-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .value-grid { grid-template-columns: 1fr; } }

/* =========================================================================
   Services grids & cards
   ========================================================================= */
.services-tabs { display: flex; gap: 10px; margin-bottom: 36px; }
.services-tabs button {
	background: var(--grey);
	border: none;
	padding: 10px 20px;
	border-radius: 30px;
	font-weight: 600;
	font-size: 0.88rem;
	color: var(--ink-soft);
}
.services-tabs button.is-active { background: var(--navy); color: var(--white); }

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
	display: flex;
	flex-direction: column;
	background: var(--white);
	border: 1px solid var(--grey-line);
	border-radius: var(--radius-lg);
	padding: 28px;
	transition: box-shadow 0.3s cubic-bezier(.16,1,.3,1), transform 0.3s cubic-bezier(.16,1,.3,1), border-color 0.3s ease;
}
.service-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: var(--slate-light); }
.service-card img.service-card__icon { width: 48px; height: 48px; margin-bottom: 18px; }
.service-card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.service-card p { font-size: 0.88rem; flex-grow: 1; }
.service-card__footer { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--grey-line); }
.service-card__price { font-weight: 700; color: var(--navy); }
.service-card__price small { display: block; font-weight: 400; color: var(--ink-soft); font-size: 0.72rem; }

@media (max-width: 980px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .service-grid { grid-template-columns: 1fr; } .services-tabs { flex-wrap: wrap; } }

/* ---- Single advisory service page ----------------------------------------- */
.service-single__hero {
	position: relative;
	overflow: hidden;
	background: var(--navy);
	color: var(--white);
	padding: 64px 0;
}
.service-single__hero .eyebrow { color: var(--slate-light); }
.service-single__hero h1 { color: var(--white); }
.service-single__hero p { color: rgba(255,255,255,0.78); max-width: 640px; }
.service-single__body {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 56px;
	padding: 64px 0;
}
.service-single__content :is(h2, h3) { margin-top: 1.6em; }
.service-single__content ul { display: grid; gap: 10px; margin: 1.2em 0; }
.service-single__content li {
	padding-left: 28px;
	position: relative;
	color: var(--ink);
}
.service-single__content li::before {
	content: "";
	position: absolute;
	left: 0; top: 7px;
	width: 14px; height: 14px;
	border: 2px solid var(--slate);
	border-radius: 50%;
}
.service-single__sidebar {
	background: var(--grey);
	border-radius: var(--radius-lg);
	padding: 28px;
	align-self: start;
	position: sticky;
	top: 110px;
}
.service-single__sidebar h3 { font-size: 1rem; }

@media (max-width: 900px) {
	.service-single__body { grid-template-columns: 1fr; }
	.service-single__sidebar { position: static; }
}

/* =========================================================================
   Forms (contact / enquiry / auth)
   ========================================================================= */
.fidensa-form { display: grid; gap: 18px; }
.fidensa-form__row { display: grid; gap: 6px; }
.fidensa-form__row--wide { grid-column: 1 / -1; }
.fidensa-form label { font-size: 0.85rem; font-weight: 600; color: var(--navy); }
.fidensa-form input,
.fidensa-form select,
.fidensa-form textarea {
	border: 1.5px solid var(--grey-line);
	border-radius: 6px;
	padding: 12px 14px;
	background: var(--white);
	color: var(--ink);
}
.fidensa-form input:focus,
.fidensa-form select:focus,
.fidensa-form textarea:focus { outline: none; border-color: var(--slate); }
.fidensa-form__static {
	padding: 12px 14px;
	background: var(--grey);
	border-radius: 6px;
	font-weight: 600;
	color: var(--navy);
}
.fidensa-form__notice { margin-top: 16px; padding: 12px 16px; border-radius: 6px; font-size: 0.9rem; }
.fidensa-form__notice--success { background: #e8f5ee; color: var(--success); }
.fidensa-form__notice--error { background: #fbeaea; color: var(--error); }

/* =========================================================================
   Footer
   ========================================================================= */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.78); padding: 72px 0 0; }
.site-footer a { color: rgba(255,255,255,0.78); }
.site-footer a:hover { color: var(--white); }
.footer-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr;
	gap: 32px;
	padding-bottom: 48px;
	border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand img { height: 30px; margin-bottom: 16px; }
.footer-brand p { color: rgba(255,255,255,0.6); font-size: 0.85rem; max-width: 280px; }
.footer-col h4 {
	color: var(--white);
	font-size: 0.82rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin-bottom: 18px;
}
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { font-size: 0.88rem; }
.footer-contact li { font-size: 0.88rem; margin-bottom: 10px; }
.footer-bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 22px 0;
	font-size: 0.78rem;
	color: rgba(255,255,255,0.5);
	flex-wrap: wrap;
	gap: 10px;
}
.footer-legal { display: flex; gap: 18px; }

@media (max-width: 980px) {
	.footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
	.footer-grid { grid-template-columns: 1fr; }
}

/* =========================================================================
   Insights / blog
   ========================================================================= */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card { border: 1px solid var(--grey-line); border-radius: var(--radius-lg); overflow: hidden; }
.post-card__thumb { aspect-ratio: 16/10; background: var(--grey); overflow: hidden; }
.post-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { padding: 22px; }
.post-card__meta { font-size: 0.75rem; color: var(--slate); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 8px; }
.post-card h3 { font-size: 1.05rem; }

@media (max-width: 980px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .post-grid { grid-template-columns: 1fr; } }

.single-post .container { max-width: 760px; }
.single-post .post-meta { color: var(--slate); font-size: 0.85rem; margin-bottom: 24px; }

/* =========================================================================
   About page
   ========================================================================= */
.founder {
	display: grid;
	grid-template-columns: 320px 1fr;
	gap: 48px;
	align-items: start;
}
.founder__photo {
	aspect-ratio: 4/5;
	background: var(--grey);
	border-radius: var(--radius-lg);
	display: flex;
	align-items: center;
	justify-content: center;
}
.founder__credentials { color: var(--slate); font-weight: 600; font-size: 0.9rem; margin-bottom: 14px; }
.founder__contact { display: flex; gap: 18px; margin-top: 20px; flex-wrap: wrap; }
.founder__contact a { font-weight: 600; font-size: 0.9rem; display: flex; align-items: center; gap: 6px; color: var(--navy); }

@media (max-width: 760px) { .founder { grid-template-columns: 1fr; } }

.company-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 16px; }
.company-fact { padding: 20px; background: var(--grey); border-radius: var(--radius); }
.company-fact strong { display: block; color: var(--navy); font-size: 1.3rem; }
.company-fact span { font-size: 0.8rem; color: var(--ink-soft); }

@media (max-width: 760px) { .company-facts { grid-template-columns: repeat(2, 1fr); } }

/* =========================================================================
   WooCommerce overrides
   ========================================================================= */
.woocommerce ul.products,
.woocommerce-page ul.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; list-style: none; }
.woocommerce ul.products li.product {
	border: 1px solid var(--grey-line);
	border-radius: var(--radius-lg);
	padding: 24px;
}
.woocommerce span.price { color: var(--navy); font-weight: 700; }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button {
	background: var(--navy) !important;
	color: var(--white) !important;
	border-radius: 4px !important;
	font-weight: 600 !important;
	padding: 12px 22px !important;
	border: none !important;
}
.woocommerce a.button:hover, .woocommerce button.button:hover { background: var(--navy-dark) !important; }
.woocommerce-checkout .form-row input, .woocommerce-checkout .form-row select,
.woocommerce form .form-row input, .woocommerce form .form-row select {
	border: 1.5px solid var(--grey-line);
	border-radius: 6px;
	padding: 10px 12px;
}
.woocommerce-MyAccount-navigation ul { display: grid; gap: 6px; }
.woocommerce-MyAccount-navigation a { display: block; padding: 10px 14px; border-radius: 6px; }
.woocommerce-MyAccount-navigation .is-active a { background: var(--grey); color: var(--navy); font-weight: 600; }

@media (max-width: 980px) { .woocommerce ul.products, .woocommerce-page ul.products { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .woocommerce ul.products, .woocommerce-page ul.products { grid-template-columns: 1fr; } }

/* =========================================================================
   CTA band (reused across pages)
   ========================================================================= */
.cta-band {
	position: relative;
	overflow: hidden;
	background: var(--navy);
	color: var(--white);
	border-radius: var(--radius-lg);
	padding: 56px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	flex-wrap: wrap;
}
.cta-band h2 { color: var(--white); margin-bottom: 6px; }
.cta-band p { color: rgba(255,255,255,0.78); margin: 0; }

/* =========================================================================
   Legal / draft pages
   ========================================================================= */
.legal-page .container { max-width: 760px; }
.legal-draft-notice {
	background: #FFF7E6;
	border: 1px solid #F0C36D;
	color: #6B4E12;
	padding: 14px 18px;
	border-radius: var(--radius);
	font-size: 0.88rem;
	margin-bottom: 32px;
}
