@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@600;700&family=Montserrat:wght@400;500;600;700&display=swap");

:root {
	/* Brand palette */
	--ap-navy: #0A1E3A;
	--ap-navy-deep: #071731;
	--ap-gold: #CFA462;
	--ap-gold-light: #E8C374;
	--ap-ivory: #F5F2EC;
	--ap-graphite: #1E1E1E;
	--ap-font-display: "Cormorant Garamond", Georgia, serif;
	--ap-font-ui: "Montserrat", sans-serif;

	/* Semantic tokens */
	--ap-primary: #071731;
	--ap-secondary: #0A1E3A;
	--ap-foreground: #1E1E1E;
	--ap-muted-foreground: #5a6672;
	--ap-background: #ffffff;
	--ap-surface: #F5F2EC;
	--ap-brand-light: #eae5db;
	--ap-border: #e0dbd3;

	/* Shadows (navy-based) */
	--ap-shadow-soft: 0 2px 12px -4px rgba(7, 23, 49, 0.1);
	--ap-shadow-card: 0 4px 24px -8px rgba(7, 23, 49, 0.18);
	--ap-shadow-hover: 0 12px 40px -12px rgba(7, 23, 49, 0.24);

	/* WhatsApp (unchanged - brand identity) */
	--ap-whatsapp: #25d366;
	--ap-whatsapp-hover: #1fb856;

	/* Layout */
	--ap-radius: 16px;
}

html {
	scroll-behavior: smooth;
}

body {
	background: var(--ap-background);
	color: var(--ap-foreground);
	font-family: var(--ap-font-ui);
	-webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
	font-family: var(--ap-font-display);
	letter-spacing: 0;
}

.ap-site-header,
.ap-site-footer {
	font-family: var(--ap-font-ui);
}

body .wp-site-blocks {
	padding-top: 0;
	padding-bottom: 0;
}

body .wp-site-blocks > header,
body .wp-site-blocks > footer {
	margin-block-start: 0;
}

body.ap-landing-canvas .wp-site-blocks,
body.ap-landing-canvas main,
body.ap-landing-canvas .wp-block-post-content,
body.ap-landing-canvas .entry-content {
	margin-block-start: 0;
	max-width: none;
	padding-left: 0;
	padding-right: 0;
	width: 100%;
}

body.ap-landing-canvas .wp-block-post-content > * {
	margin-block-start: 0;
	max-width: none;
}

body.ap-landing-canvas .wp-block-post-content > :where(.alignwide, .alignfull) {
	margin-left: 0;
	margin-right: 0;
	max-width: none;
	width: 100%;
}

body.ap-landing-canvas .wp-block-post-title,
body.ap-landing-canvas .entry-title {
	display: none;
}

.ap-button {
	align-items: center;
	border: 0;
	border-radius: 999px;
	cursor: pointer;
	display: inline-flex;
	font-size: 14px;
	font-weight: 700;
	gap: 8px;
	justify-content: center;
	line-height: 1;
	min-height: 40px;
	padding: 10px 16px;
	text-decoration: none;
	transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
	white-space: nowrap;
}

.ap-button svg,
.ap-site-header svg,
.ap-site-footer svg {
	fill: none;
	height: 20px;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 2.4;
	width: 20px;
}

.ap-button .ap-icon--whatsapp,
.ap-floating-whatsapp .ap-icon--whatsapp {
	fill: currentColor;
	stroke: none;
}

.ap-site-header .ap-icon--lucide {
	stroke-width: 2;
}

.ap-button--whatsapp {
	background: var(--ap-primary, #071731);
	box-shadow: var(--ap-shadow-soft);
	color: #ffffff;
}

.ap-button--whatsapp:hover,
.ap-button--whatsapp:focus-visible {
	background: var(--ap-gold, #CFA462);
	color: var(--ap-primary, #071731);
}

.ap-site-header {
	background: var(--ap-navy-deep);
	border-bottom: 1px solid rgba(245, 242, 236, 0.08);
	box-sizing: border-box;
	color: var(--ap-ivory);
	position: sticky;
	top: 0;
	z-index: 50;
}

.ap-site-header *,
.ap-site-footer * {
	box-sizing: border-box;
}

.ap-site-header__inner {
	align-items: center;
	display: flex;
	height: 80px;
	justify-content: space-between;
	margin: 0 auto;
	max-width: 1280px;
	padding: 0 16px;
	width: 100%;
}

.ap-site-header__brand {
	align-items: center;
	display: inline-flex;
	flex: 0 0 auto;
	text-decoration: none;
}

.ap-site-header__logo {
	display: block;
	height: 52px;
	max-width: 250px;
	object-fit: contain;
	width: auto;
}

.ap-site-header__nav {
	align-items: center;
	display: none;
	gap: 32px;
}

.ap-site-header__link {
	color: rgba(245, 242, 236, 0.78);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	transition: color 180ms ease;
}

.ap-site-header__link:hover,
.ap-site-header__link:focus-visible {
	color: var(--ap-gold);
}

.ap-site-header__actions {
	align-items: center;
	display: flex;
	gap: 10px;
}

.ap-site-header__cta {
	display: none;
}

.ap-site-header__toggle {
	align-items: center;
	appearance: none;
	background: transparent;
	border: 0;
	border-radius: 8px;
	color: var(--ap-ivory);
	cursor: pointer;
	display: inline-flex;
	height: 44px;
	justify-content: center;
	padding: 0;
	width: 44px;
}

.ap-site-header__toggle:hover,
.ap-site-header__toggle:focus-visible {
	background: rgba(245, 242, 236, 0.08);
	outline: none;
}

.ap-site-header__mobile {
	background: var(--ap-navy-deep);
	border-top: 1px solid rgba(245, 242, 236, 0.08);
	display: block;
}

.ap-site-header__mobile[hidden] {
	display: none;
}

.ap-site-header__mobile-nav {
	display: grid;
	gap: 4px;
	margin: 0 auto;
	max-width: 1280px;
	padding: 16px;
}

.ap-site-header__mobile-link {
	border-radius: 8px;
	color: rgba(245, 242, 236, 0.78);
	display: block;
	font-size: 14px;
	font-weight: 600;
	padding: 10px 12px;
	text-decoration: none;
}

.ap-site-header__mobile-link:hover,
.ap-site-header__mobile-link:focus-visible {
	background: rgba(245, 242, 236, 0.06);
	color: var(--ap-gold);
}

.ap-site-header__mobile-cta {
	margin-top: 8px;
	width: 100%;
}

.ap-site-footer {
	background: var(--ap-navy-deep);
	color: var(--ap-ivory);
	margin-block-start: 0;
}

.ap-site-footer__inner {
	display: grid;
	gap: 40px;
	margin: 0 auto;
	max-width: 1280px;
	padding: 64px 16px;
}

.ap-site-footer__brand-column {
	min-width: 0;
}

.ap-site-footer__logo {
	display: block;
	filter: brightness(0) invert(1);
	height: 52px;
	max-width: 280px;
	object-fit: contain;
	width: auto;
}

.ap-site-footer__description {
	color: rgba(245, 242, 236, 0.72);
	font-size: 14px;
	line-height: 1.7;
	margin: 20px 0 0;
	max-width: 390px;
}

.ap-site-footer__social {
	display: flex;
	gap: 12px;
	margin-top: 24px;
}

.ap-site-footer__social-link {
	align-items: center;
	background: rgba(245, 242, 236, 0.1);
	border-radius: 999px;
	color: var(--ap-ivory);
	display: inline-flex;
	height: 40px;
	justify-content: center;
	text-decoration: none;
	transition: background-color 180ms ease;
	width: 40px;
}

.ap-site-footer__social-link:hover,
.ap-site-footer__social-link:focus-visible {
	background: rgba(245, 242, 236, 0.2);
	color: var(--ap-ivory);
}

.ap-site-footer__heading {
	color: var(--ap-ivory);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1.2;
	margin: 0;
	text-transform: uppercase;
}

.ap-site-footer__list {
	color: rgba(245, 242, 236, 0.72);
	display: grid;
	font-size: 14px;
	gap: 8px;
	line-height: 1.5;
	list-style: none;
	margin: 16px 0 0;
	padding: 0;
}

.ap-site-footer__list a {
	color: rgba(245, 242, 236, 0.72);
	text-decoration: none;
	transition: color 180ms ease;
}

.ap-site-footer__list a:hover,
.ap-site-footer__list a:focus-visible {
	color: var(--ap-ivory);
}

.ap-site-footer__cta {
	margin-top: 20px;
}

.ap-site-footer__bottom {
	border-top: 1px solid rgba(245, 242, 236, 0.1);
}

.ap-site-footer__bottom p {
	color: rgba(245, 242, 236, 0.62);
	font-size: 12px;
	line-height: 1.5;
	margin: 0 auto;
	max-width: 1280px;
	padding: 20px 16px;
	text-align: center;
}

.ap-floating-whatsapp {
	align-items: center;
	background: var(--ap-primary, #071731);
	border-radius: 999px;
	box-shadow: var(--ap-shadow-hover);
	bottom: 20px;
	color: #ffffff;
	display: inline-flex;
	height: 56px;
	justify-content: center;
	position: fixed;
	right: 20px;
	text-decoration: none;
	transition: background-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
	width: 56px;
	z-index: 60;
}

.ap-floating-whatsapp:hover,
.ap-floating-whatsapp:focus-visible {
	background: var(--ap-gold, #CFA462);
	box-shadow: 0 16px 36px -14px rgba(7, 23, 49, 0.3);
	transform: translateY(-2px);
}

.ap-floating-whatsapp svg {
	fill: currentColor;
	height: 26px;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 2.1;
	width: 26px;
}

@media (min-width: 640px) {
	.ap-site-header__inner,
	.ap-site-header__mobile-nav,
	.ap-site-footer__inner,
	.ap-site-footer__bottom p {
		padding-left: 24px;
		padding-right: 24px;
	}

	.ap-site-footer__inner {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ap-floating-whatsapp {
		bottom: 24px;
		height: 60px;
		right: 24px;
		width: 60px;
	}
}

@media (min-width: 768px) {
	.ap-site-header__inner {
		height: 88px;
	}

	.ap-site-header__logo {
		height: 52px;
		max-width: 280px;
	}

	.ap-site-header__nav {
		display: flex;
	}

	.ap-site-header__cta {
		display: inline-flex;
	}

	.ap-site-header__toggle,
	.ap-site-header__mobile {
		display: none;
	}

	.ap-site-footer__inner {
		grid-template-columns: 2fr 1fr 1fr;
	}

	.ap-site-footer__logo {
		height: 52px;
		max-width: 280px;
	}
}

@media (min-width: 1024px) {
	.ap-site-header__inner {
		height: 104px;
	}

	.ap-site-header__logo {
		height: 70px;
		max-width: 360px;
	}

	.ap-site-footer__logo {
		height: 64px;
		max-width: 340px;
	}

	.ap-site-header__inner,
	.ap-site-header__mobile-nav,
	.ap-site-footer__inner,
	.ap-site-footer__bottom p {
		padding-left: 32px;
		padding-right: 32px;
	}

	.ap-floating-whatsapp {
		bottom: 28px;
		height: 64px;
		right: 28px;
		width: 64px;
	}
}
