/* =====================================================================
   Iconic Travel — main.css
   Theme chrome: reset, tokens, typography, header, footer, buttons,
   floating CTAs, 404, and responsive utilities. No external CSS framework.
   Palette: Premium Navy + Gold. Dashboard-style density.
   ===================================================================== */

/* ---------- 1. Reset (modern, minimal) ----------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body, h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, picture, svg, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; padding: 0; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; border-radius: 4px; }

/* ---------- 2. Design tokens (Navy + Gold) ------------------------- */
:root {
	--primary: #0A2540;
	--primary-dark: #061A30;
	--primary-light: #1E3A5F;
	--accent: #D4A24C;
	--accent-dark: #B8862E;
	--accent-light: #E8C176;
	--text: #0A1929;
	--text-muted: #5A6B7A;
	--bg: #FFFFFF;
	--bg-soft: #F7F4ED;
	--bg-tint: #FAF8F2;
	--border: #E6E0D0;

	--footer-bg: #061A30;
	--footer-text: #C9D6E3;
	--footer-title: #FFFFFF;

	--success: #2D7D5F;
	--danger: #C6383C;

	--whatsapp: #25D366;
	--whatsapp-dark: #1FB955;

	--radius-sm: 6px;
	--radius: 10px;
	--radius-lg: 12px;
	--radius-xl: 16px;

	--shadow-xs: 0 1px 2px rgba(10, 37, 64, 0.06);
	--shadow-sm: 0 2px 6px rgba(10, 37, 64, 0.08);
	--shadow-md: 0 8px 24px rgba(10, 37, 64, 0.10);
	--shadow-lg: 0 18px 44px rgba(10, 37, 64, 0.15);

	--ease: cubic-bezier(.4,.2,.2,1);
	--transition: 180ms var(--ease);

	--container-max: 1200px;
	--header-h: 74px;
	--topbar-h: 34px;
}

/* ---------- 3. Base typography ------------------------------------- */
html { font-size: 16px; }
body {
	font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Noto Sans Bengali", sans-serif;
	color: var(--text);
	background: var(--bg);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}
.site-content { flex: 1 0 auto; }
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.2; color: var(--text); letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.25rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.5rem); }
h4 { font-size: 1.15rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.06em; }
p { color: var(--text); }
p + p { margin-top: 1em; }
a:hover { color: var(--primary); }
::selection { background: var(--primary); color: #fff; }

/* Headings inside dark-bg hero/banner sections inherit white from parent
   (overrides the global h1..h6 dark text color above) */
.hero h1, .hero h2, .hero h3, .hero h4,
.visa-hero h1, .visa-hero h2, .visa-hero h3,
.offers-hero h1, .offers-hero h2, .offers-hero h3,
.blog-hero h1, .blog-hero h2, .blog-hero h3,
.post-hero h1, .post-hero h2, .post-hero h3,
.faq-hero h1, .faq-hero h2, .faq-hero h3,
.page-hero h1, .page-hero h2, .page-hero h3,
.archive-hero h1, .archive-hero h2, .archive-hero h3,
.newsletter-section h1, .newsletter-section h2, .newsletter-section h3 { color: inherit; }

/* ---------- 4. Layout helpers -------------------------------------- */
.container {
	max-width: var(--container-max);
	margin: 0 auto;
	padding: 0 20px;
	width: 100%;
}
.section { padding: 72px 0; }
.section--soft { background: var(--bg-soft); }
.section--tight { padding: 44px 0; }

.screen-reader-text {
	position: absolute !important;
	clip: rect(1px,1px,1px,1px);
	overflow: hidden;
	width: 1px; height: 1px;
	word-wrap: normal !important;
}
.skip-link {
	position: absolute;
	left: -9999px; top: 8px;
	background: var(--primary);
	color: #fff;
	padding: 10px 18px;
	border-radius: var(--radius);
	z-index: 100000;
}
.skip-link:focus { left: 8px; }

/* ---------- 5. Buttons --------------------------------------------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 26px;
	border-radius: var(--radius);
	font-weight: 600;
	font-size: 0.95rem;
	line-height: 1.2;
	transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
	border: 2px solid transparent;
	cursor: pointer;
	text-align: center;
	white-space: nowrap;
	letter-spacing: 0.01em;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }

.btn-primary {
	background: var(--primary);
	color: #fff;
	border: 1px solid rgba(212, 162, 76, 0.20);
}
.btn-primary:hover { background: var(--primary-dark); color: #fff; }

.btn-accent {
	background: var(--accent);
	color: var(--primary);
	font-weight: 700;
}
.btn-accent:hover { background: var(--accent-dark); color: var(--primary); }

.btn-outline {
	background: transparent;
	color: var(--primary);
	border: 1.5px solid var(--primary);
}
.btn-outline:hover { background: var(--primary); color: #fff; }

.btn-outline--light {
	color: #fff;
	border-color: rgba(255,255,255,0.85);
}
.btn-outline--light:hover { background: #fff; color: var(--primary); }

.btn-gradient {
	background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
	color: #fff;
	border: none;
}
.btn-gradient:hover { color: #fff; }

.btn-block { display: flex; width: 100%; }
.btn-block-md { width: 100%; }
@media (min-width: 768px) {
	.btn-block-md { width: auto; min-width: 220px; }
}
.btn-sm { padding: 8px 18px; font-size: 0.85rem; }

/* ---------- 6. Site header ----------------------------------------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: transparent;
	transition: background var(--transition), box-shadow var(--transition);
}
.site-header.is-scrolled .mainbar { box-shadow: var(--shadow-md); }

/* Topbar — slim, premium navy */
.topbar {
	background: var(--primary);
	color: #fff;
	font-size: 0.8rem;
	min-height: var(--topbar-h);
}
.topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding-top: 6px;
	padding-bottom: 6px;
}
.topbar__left, .topbar__right { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.topbar__item, .topbar__social {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #fff;
	opacity: 0.92;
	transition: color var(--transition), opacity var(--transition);
}
.topbar__item:hover, .topbar__social:hover { opacity: 1; color: var(--accent-light); }
.topbar__tagline {
	font-family: 'Fraunces', Georgia, serif;
	font-style: italic;
	color: var(--accent-light);
	font-size: 0.85rem;
	letter-spacing: 0.01em;
}

/* Main bar */
.mainbar {
	background: var(--bg);
	border-bottom: 1px solid var(--border);
	transition: box-shadow var(--transition);
}
.mainbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: var(--header-h);
	gap: 20px;
}
.site-branding { display: flex; align-items: center; gap: 10px; flex-shrink: 0; min-width: 0; }
.site-branding .custom-logo-link img,
.site-brand-logo {
	display: block;
	height: 52px;
	width: auto;
	max-width: 70px;
	object-fit: contain;
	/* JPG has white padding around the artwork — multiply blend lets the
	   logo sit cleanly on the white/light header. */
	mix-blend-mode: multiply;
}
.site-brand-link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	transition: transform 0.25s ease, filter 0.25s ease;
	color: inherit;
}
.site-brand-link:hover { transform: translateY(-1px); filter: saturate(1.05); color: inherit; }
.site-brand-text {
	display: inline-flex;
	flex-direction: column;
	line-height: 1.1;
}
.site-brand-text__name {
	font-family: 'Fraunces', Georgia, serif;
	font-size: 1.1rem;
	font-weight: 700;
	letter-spacing: -0.015em;
	color: var(--text);
	white-space: nowrap;
}
.site-brand-text__tagline {
	font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
	font-size: 0.62rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--accent-dark);
	margin-top: 3px;
	white-space: nowrap;
}

/* Hide the Since 2022 badge under medium widths so the nav has room */
@media (max-width: 1480px) {
	.site-branding__badge { display: none; }
}

/* Tight desktop (901–1400px): compress the header so Book Now stays visible. */
@media (min-width: 901px) and (max-width: 1400px) {
	.mainbar__inner { gap: 12px; }
	.site-nav { gap: 10px; }
	.primary-menu { gap: 0; }
	.primary-menu > li > a { padding: 10px 10px; font-size: 0.92rem; }
	.primary-menu > li > a::after { left: 10px; right: 10px; }
	.site-nav__cta { margin-left: 4px; padding: 9px 16px; font-size: 0.86rem; }
	.nav-search-btn, .theme-toggle { width: 36px; height: 36px; }

	/* Auth chips: drop the gold "Sign up" pill (keep only "Log in" text + Book Now)
	   so we don't have two gold pills competing on a tight bar. */
	.menu-item.iconic-menu-register { display: none; }
	.menu-item.iconic-menu-login > a { padding: 6px 10px !important; font-size: 13px; }
}

@media (max-width: 1180px) {
	.site-brand-text__tagline { display: none; }
	.site-brand-text__name { font-size: 0.98rem; }
	.site-brand-logo, .site-branding .custom-logo-link img { height: 44px; }
}

/* Very tight desktop: hide brand text label entirely, keep just the logo. */
@media (min-width: 901px) and (max-width: 1080px) {
	.site-brand-text { display: none; }
	.primary-menu > li > a { padding: 8px 8px; font-size: 0.88rem; }
	.menu-item.iconic-menu-login { display: none; }
}
.site-title {
	font-size: 1.4rem;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: var(--text);
	line-height: 1;
	font-family: 'Fraunces', Georgia, serif;
}
.site-title__mark { color: var(--primary); }
.site-title__rest { color: var(--text); }
.site-branding__badge {
	display: inline-flex;
	align-items: center;
	padding: 3px 10px;
	font-size: 0.65rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--accent-dark);
	background: rgba(212, 162, 76, 0.12);
	border: 1px solid rgba(212, 162, 76, 0.30);
	border-radius: 999px;
	white-space: nowrap;
	flex-shrink: 0;
}
.site-branding { flex-shrink: 0; min-width: 0; }

/* Primary nav */
.site-nav { display: flex; align-items: center; gap: 20px; }
.site-nav__close { display: none; font-size: 2rem; line-height: 1; color: var(--text); }
.primary-menu { display: flex; align-items: center; gap: 4px; }
.primary-menu > li > a {
	display: inline-block;
	padding: 10px 14px;
	font-weight: 500;
	color: var(--text);
	border-radius: var(--radius-sm);
	transition: color var(--transition), background var(--transition);
	position: relative;
	white-space: nowrap;
}
.primary-menu > li > a:hover,
.primary-menu > li.current-menu-item > a,
.primary-menu > li.current_page_item > a {
	color: var(--primary);
}
.primary-menu > li > a::after {
	content: "";
	position: absolute;
	left: 14px; right: 14px;
	bottom: 4px;
	height: 2px;
	background: var(--accent);
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform var(--transition);
	border-radius: 2px;
}
.primary-menu > li > a:hover::after,
.primary-menu > li.current-menu-item > a::after,
.primary-menu > li.current_page_item > a::after { transform: scaleX(1); }
.site-nav__cta { margin-left: 8px; padding: 10px 22px; font-size: 0.9rem; }
.site-nav__cta--login { display: inline-flex; align-items: center; gap: 6px; }
.site-nav__cta--login svg { flex-shrink: 0; }

/* ---------- Logged-in user dropdown ---------- */
.site-nav__user { position: relative; margin-left: 8px; }
.site-nav__user-toggle {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 6px 12px 6px 6px;
	background: linear-gradient(135deg, rgba(212,162,76,0.10), rgba(212,162,76,0.04));
	border: 1px solid rgba(212,162,76,0.35);
	border-radius: 999px;
	color: var(--text);
	font-weight: 600; font-size: 0.85rem;
	cursor: pointer;
	transition: background var(--transition), border-color var(--transition), transform var(--transition);
}
.site-nav__user-toggle:hover {
	background: linear-gradient(135deg, var(--accent), var(--accent-dark));
	border-color: var(--accent-dark);
	color: var(--primary);
}
.site-nav__user-toggle[aria-expanded="true"] {
	background: linear-gradient(135deg, var(--accent), var(--accent-dark));
	border-color: var(--accent-dark); color: var(--primary);
}
.site-nav__user-avatar {
	display: inline-flex; align-items: center; justify-content: center;
	width: 32px; height: 32px; border-radius: 50%;
	background: var(--primary); color: #fff;
	overflow: hidden;
	font-size: 0.85rem; font-weight: 700;
	box-shadow: inset 0 0 0 2px #fff;
	flex-shrink: 0;
}
.site-nav__user-avatar img {
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover;
	display: block;
	border-radius: 50%;
}
.site-nav__user-name {
	max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.site-nav__user-chev { transition: transform var(--transition); opacity: 0.8; }
.site-nav__user-toggle[aria-expanded="true"] .site-nav__user-chev { transform: rotate(180deg); }

.site-nav__user-menu {
	position: absolute; top: calc(100% + 10px); right: 0;
	min-width: 260px;
	background: #fff;
	border: 1px solid var(--border);
	border-radius: 12px;
	box-shadow: var(--shadow-lg);
	padding: 6px;
	z-index: 1100;
	animation: iconic-um-in 0.18s ease;
}
.site-nav__user-menu[hidden] { display: none; }
@keyframes iconic-um-in {
	from { opacity: 0; transform: translateY(-6px); }
	to   { opacity: 1; transform: translateY(0); }
}
.site-nav__user-head {
	padding: 12px 14px 10px;
	border-bottom: 1px solid var(--border);
	margin-bottom: 6px;
	position: relative;
}
.site-nav__user-head-name { font-weight: 700; color: var(--primary); font-size: 0.95rem; }
.site-nav__user-head-meta { font-size: 0.78rem; color: var(--text-muted); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.site-nav__user-badge {
	position: absolute; top: 12px; right: 12px;
	background: linear-gradient(135deg, var(--accent), var(--accent-dark));
	color: var(--primary);
	font-size: 0.62rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
	padding: 2px 8px; border-radius: 999px;
}
.site-nav__user-link {
	display: flex; align-items: center; gap: 10px;
	padding: 9px 12px; border-radius: 8px;
	color: var(--text); font-size: 0.88rem; font-weight: 500;
	transition: background var(--transition), color var(--transition);
}
.site-nav__user-link:hover { background: var(--bg-soft); color: var(--accent-dark); }
.site-nav__user-link svg { color: var(--accent-dark); flex-shrink: 0; }
.site-nav__user-link--danger { color: var(--danger); }
.site-nav__user-link--danger svg { color: var(--danger); }
.site-nav__user-link--danger:hover { background: rgba(198, 56, 60, 0.08); color: var(--danger); }
.site-nav__user-sep { height: 1px; background: var(--border); margin: 6px 0; }

@media (max-width: 900px) {
	.site-nav__user { margin: 16px 0 0; width: 100%; }
	.site-nav__user-toggle { width: 100%; justify-content: center; padding: 10px 14px; }
	.site-nav__user-name { max-width: none; }
	.site-nav__user-menu {
		position: static; margin-top: 8px; width: 100%;
		box-shadow: none; border: 1px solid var(--border);
		animation: none;
	}
}

/* Hamburger */
.menu-toggle {
	display: none;
	width: 44px;
	height: 44px;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 5px;
	border-radius: var(--radius-sm);
}
.menu-toggle__bar { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: transform var(--transition), opacity var(--transition); }

/* ---------- 7. Mobile nav ------------------------------------------ */
@media (max-width: 900px) {
	.menu-toggle { display: inline-flex; }
	.site-nav {
		position: fixed;
		top: 0; right: 0;
		height: 100vh; height: 100dvh;
		width: min(86vw, 360px);
		background: linear-gradient(165deg, var(--primary) 0%, var(--primary-dark) 100%);
		flex-direction: column;
		align-items: stretch;
		justify-content: flex-start;
		padding: 80px 28px 32px;
		box-shadow: var(--shadow-lg);
		transform: translateX(100%);
		transition: transform 240ms var(--ease);
		z-index: 1100;
		overflow-y: auto;
	}
	.site-nav.is-open { transform: translateX(0); }
	.site-nav__close {
		display: inline-flex;
		position: absolute;
		top: 16px; right: 18px;
		width: 40px; height: 40px;
		color: #fff;
		align-items: center;
		justify-content: center;
	}
	.primary-menu { flex-direction: column; align-items: stretch; gap: 2px; width: 100%; }
	.primary-menu > li > a {
		display: block;
		padding: 14px 12px;
		font-size: 1.05rem;
		color: #fff;
		border-bottom: 1px solid rgba(255,255,255,0.10);
		border-radius: 0;
	}
	.primary-menu > li > a:hover,
	.primary-menu > li.current-menu-item > a,
	.primary-menu > li.current_page_item > a {
		color: var(--accent-light);
	}
	.primary-menu > li > a::after { display: none; }
	.site-nav__cta { margin: 20px 0 0; width: 100%; }

	body.nav-open { overflow: hidden; }
	body.nav-open::after {
		content: "";
		position: fixed; inset: 0;
		background: rgba(6, 26, 48, 0.55);
		z-index: 1050;
		animation: iconic-fade-in 200ms ease;
	}
}
@keyframes iconic-fade-in { from { opacity: 0; } to { opacity: 1; } }

/* ---------- 8. Page hero & cards (used by index/page/404 chrome) --- */
.page-hero {
	background: linear-gradient(135deg, var(--bg-soft) 0%, #fff 100%);
	padding: 56px 0 40px;
	border-bottom: 1px solid var(--border);
}
.page-hero__title { color: var(--text); }
.page-hero__desc { margin-top: 12px; color: var(--text-muted); max-width: 720px; }

.card-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 24px;
}
.card {
	background: var(--bg);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	overflow: hidden;
	transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color var(--transition);
	display: flex;
	flex-direction: column;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: rgba(10, 37, 64, 0.18); }
.card__media { display: block; overflow: hidden; aspect-ratio: 16 / 10; background: var(--bg-soft); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms var(--ease); }
.card:hover .card__media img { transform: scale(1.04); }
.card__body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card__title { font-size: 1.1rem; line-height: 1.35; }
.card__title a { color: var(--text); }
.card__title a:hover { color: var(--primary); }
.card__meta { color: var(--text-muted); font-size: 0.85rem; }
.card__excerpt { color: var(--text-muted); font-size: 0.95rem; flex: 1; }
.card__cta { align-self: flex-start; margin-top: 8px; }

.page-article { max-width: 820px; margin: 0 auto; }
.page-content { font-size: 1.05rem; color: var(--text); }
.page-content h2 { margin-top: 1.5em; margin-bottom: 0.5em; }
.page-content h3 { margin-top: 1.4em; margin-bottom: 0.5em; }
.page-content p, .page-content ul, .page-content ol { margin-top: 1em; }
.page-content ul, .page-content ol { padding-left: 1.4em; }
.page-content ul li { list-style: disc; }
.page-content ol li { list-style: decimal; }
.page-content a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.page-content img { border-radius: var(--radius); margin: 1em 0; }

.pagination-wrap { margin-top: 40px; display: flex; justify-content: center; }
.pagination-wrap .nav-links { display: inline-flex; gap: 6px; flex-wrap: wrap; }
.pagination-wrap .page-numbers {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 40px; height: 40px;
	padding: 0 12px;
	border-radius: var(--radius);
	border: 1px solid var(--border);
	font-weight: 600;
	color: var(--text);
	background: var(--bg);
	transition: var(--transition);
}
.pagination-wrap .page-numbers:hover { border-color: var(--primary); color: var(--primary); }
.pagination-wrap .page-numbers.current { background: var(--primary); color: #fff; border-color: var(--primary); }

.empty-state { text-align: center; padding: 56px 20px; }
.empty-state h2 { margin-bottom: 12px; }
.empty-state p { color: var(--text-muted); margin-bottom: 24px; }

/* ---------- 9. Search form ----------------------------------------- */
.search-form { width: 100%; max-width: 560px; margin: 0 auto; }
.search-form__row {
	display: flex;
	gap: 8px;
	background: var(--bg);
	border: 1px solid var(--border);
	border-radius: 999px;
	padding: 6px;
	box-shadow: var(--shadow-xs);
	transition: border-color var(--transition), box-shadow var(--transition);
}
.search-form__row:focus-within { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(10, 37, 64, 0.12); }
.search-form__field {
	flex: 1;
	border: 0;
	outline: none;
	background: transparent;
	padding: 10px 18px;
	font-size: 1rem;
	color: var(--text);
}
.search-form__field::placeholder { color: var(--text-muted); }
.search-form__submit { border-radius: 999px; padding: 10px 22px; }

/* ---------- 10. Footer --------------------------------------------- */
.site-footer {
	background: var(--footer-bg);
	color: var(--footer-text);
	padding: 60px 0 22px;
	margin-top: 72px;
	flex-shrink: 0;
}
.footer-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1.1fr 1fr;
	gap: 38px;
	margin-bottom: 44px;
}
.footer-title {
	color: var(--footer-title);
	font-size: 1.05rem;
	font-weight: 700;
	margin-bottom: 16px;
	text-transform: none;
	letter-spacing: 0.01em;
}
.footer-text { color: var(--footer-text); font-size: 0.95rem; line-height: 1.7; }
.footer-links li + li { margin-top: 8px; }
.footer-links a { color: var(--footer-text); transition: color var(--transition), padding-left var(--transition); }
.footer-links a:hover { color: var(--accent-light); padding-left: 4px; }
.footer-contact { font-style: normal; color: var(--footer-text); font-size: 0.92rem; line-height: 1.65; display: flex; flex-direction: column; gap: 14px; }
.footer-contact a { color: var(--footer-text); }
.footer-contact a:hover { color: var(--accent-light); }
.footer-contact__line { display: block; margin-bottom: 2px; }
.footer-contact__line a { display: inline-block; }
.footer-contact__group { display: flex; align-items: flex-start; gap: 10px; }
.footer-contact__icon { color: var(--accent); flex-shrink: 0; margin-top: 3px; opacity: 0.9; }
.footer-tagline { color: var(--accent); font-family: 'Fraunces', Georgia, serif; font-style: italic; font-size: 1.05rem; margin: -6px 0 12px; letter-spacing: 0.01em; }

/* Footer brand logo (JPG has a white background, so we pad it onto a
   light card so it reads cleanly on the dark footer). */
.footer-brand-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 14px;
	background: #fff;
	border-radius: 14px;
	box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.6);
	margin-bottom: 14px;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.footer-brand-link:hover {
	transform: translateY(-2px);
	box-shadow: 0 14px 30px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}
.footer-brand-logo {
	display: block;
	height: 64px;
	width: auto;
	max-width: 220px;
	object-fit: contain;
}
.footer-trust { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.footer-trust__badge { display: inline-flex; align-items: center; gap: 4px; padding: 6px 12px; background: rgba(255,255,255,0.08); border-radius: 999px; font-size: 0.78rem; font-weight: 600; color: #fff; }

.footer-fb {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 14px;
	padding: 8px 16px;
	background: #1877F2;
	color: #fff;
	border-radius: 999px;
	font-size: 0.875rem;
	font-weight: 600;
	transition: transform var(--transition), background var(--transition);
}
.footer-fb:hover { background: #166FE5; color: #fff; transform: translateY(-2px); }

.footer-social { display: flex; gap: 10px; margin-top: 12px; }
.footer-social__icon {
	display: inline-flex; align-items: center; justify-content: center;
	width: 40px; height: 40px;
	border-radius: 50%;
	background: rgba(255,255,255,0.08);
	color: #fff;
	transition: background var(--transition), transform var(--transition);
}
.footer-social__icon:hover { background: var(--accent); color: var(--primary); transform: translateY(-2px); }

.footer-bottom {
	border-top: 1px solid rgba(255,255,255,0.10);
	padding-top: 20px;
	color: rgba(255,255,255,0.65);
	font-size: 0.85rem;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
}
.footer-bottom__copy { margin: 0; }
.footer-legal {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 10px;
	font-size: 0.84rem;
}
.footer-legal a {
	color: rgba(255, 255, 255, 0.75);
	text-decoration: none;
	transition: color 0.2s ease;
}
.footer-legal a:hover { color: var(--accent-light, #E8C176); }
.footer-legal__sep { color: rgba(255, 255, 255, 0.30); }

@media (max-width: 640px) {
	.footer-bottom { justify-content: center; text-align: center; }
	.footer-legal { justify-content: center; }
}

/* ---------- 11. Floating buttons ----------------------------------- */
.floating-buttons {
	position: fixed;
	right: 24px;
	bottom: 24px;
	display: flex;
	flex-direction: column;
	gap: 14px;
	z-index: 9999;
}
.float-btn {
	position: relative;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	box-shadow:
		var(--shadow-md),
		inset 0 1px 0 rgba(255, 255, 255, 0.25);
	transition: transform var(--transition),
				box-shadow var(--transition),
				background var(--transition),
				filter var(--transition);
}
.float-btn::after {
	content: attr(aria-label);
	position: absolute;
	right: calc(100% + 12px);
	top: 50%;
	transform: translateY(-50%) translateX(6px);
	background: #0A2540;
	color: #fff;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.01em;
	padding: 7px 12px;
	border-radius: 8px;
	white-space: nowrap;
	box-shadow: 0 10px 24px rgba(10, 37, 64, 0.28);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.2s ease, transform 0.25s ease;
}
.float-btn::before {
	content: '';
	position: absolute;
	right: calc(100% + 6px);
	top: 50%;
	transform: translateY(-50%) translateX(6px);
	width: 0;
	height: 0;
	border-top: 6px solid transparent;
	border-bottom: 6px solid transparent;
	border-left: 6px solid #0A2540;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.2s ease, transform 0.25s ease;
}
.float-btn:hover {
	transform: translateY(-3px) scale(1.06);
	box-shadow:
		var(--shadow-lg),
		inset 0 1px 0 rgba(255, 255, 255, 0.3);
	color: #fff;
	filter: saturate(1.1);
}
.float-btn:hover::after,
.float-btn:hover::before,
.float-btn:focus-visible::after,
.float-btn:focus-visible::before {
	opacity: 1;
	transform: translateY(-50%) translateX(0);
}
.float-btn--whatsapp { background: var(--whatsapp); }
.float-btn--whatsapp:hover { background: var(--whatsapp-dark); }
.float-btn--phone { background: var(--primary); }
.float-btn--phone:hover { background: var(--primary-dark); }

.float-btn__pulse {
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background: var(--whatsapp);
	opacity: 0.5;
	z-index: -1;
	animation: iconic-pulse 2.4s ease-out infinite;
}
@keyframes iconic-pulse {
	0%   { transform: scale(1);   opacity: 0.5; }
	70%  { transform: scale(1.7); opacity: 0; }
	100% { transform: scale(1.7); opacity: 0; }
}

@media (hover: none) {
	.float-btn::after,
	.float-btn::before { display: none; }
}

@media print {
	.floating-buttons, .site-header, .site-footer { display: none !important; }
}

/* ---------- 12. 404 page ------------------------------------------- */
.error-404 {
	padding: 72px 0;
	background: linear-gradient(135deg, var(--bg-soft) 0%, #fff 100%);
	min-height: 60vh;
	display: flex;
	align-items: center;
}
.error-404__inner { max-width: 640px; margin: 0 auto; text-align: center; }
.error-404__art { display: flex; justify-content: center; margin-bottom: 24px; }
.error-404__eyebrow {
	display: inline-block;
	color: var(--accent-dark);
	font-weight: 700;
	font-size: 0.85rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	margin-bottom: 10px;
}
.error-404__title { margin-bottom: 16px; }
.error-404__text { color: var(--text-muted); margin-bottom: 32px; font-size: 1.05rem; }
.error-404__actions {
	display: flex;
	gap: 14px;
	justify-content: center;
	flex-wrap: wrap;
	margin-bottom: 40px;
}
.error-404__search { margin-top: 16px; }

/* ---------- 13. Responsive breakpoints ----------------------------- */
@media (max-width: 1200px) {
	:root { --container-max: 100%; }
}
@media (max-width: 900px) {
	.section { padding: 56px 0; }
	.footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
	.topbar__left { display: none; }
	.topbar { font-size: 0.78rem; }
	.topbar__right { gap: 14px; justify-content: flex-end; width: 100%; }
}
@media (max-width: 600px) {
	html { font-size: 15.5px; }
	.section { padding: 44px 0; }
	.container { padding: 0 16px; }
	.footer-grid { grid-template-columns: 1fr; gap: 30px; margin-bottom: 30px; }
	.site-footer { padding: 44px 0 18px; margin-top: 48px; }
	.floating-buttons { right: 16px; bottom: 16px; gap: 12px; }
	.float-btn { width: 52px; height: 52px; }
	.topbar { display: none; }
	.error-404 { padding: 56px 0; }
	.error-404__actions { flex-direction: column; }
	.error-404__actions .btn { width: 100%; }
	.btn { padding: 11px 22px; font-size: 0.9rem; }
	.site-title { font-size: 1.15rem; }
	.site-brand-logo,
	.site-branding .custom-logo-link img { height: 48px; max-width: 64px; }
	.site-brand-text__name { font-size: 1.05rem; }
	.site-brand-text__tagline { display: none; }
	.site-branding__badge { display: none; }
	.footer-brand-logo { height: 56px; max-width: 200px; }
}
