/* Citidoorz footer — 4-column brand layout */

#colophon.cdz-footer {
	--cdz-gold: #b89461;
	--cdz-gold-soft: #e8d7b8;
	--cdz-ink: #1d1d1d;
	--cdz-muted: #6a6a6a;
	--cdz-line: #e6e2dc;
	--cdz-card: #efe6d8;
	background: #f8f6f2;
	color: var(--cdz-ink);
	font-family: "Be Vietnam Pro", "Nunito Sans", system-ui, sans-serif;
}

#colophon.cdz-footer a,
#colophon.cdz-footer li a {
	color: var(--cdz-ink);
}

.cdz-footer .footer-content {
	background: transparent;
	overflow: visible;
}

.cdz-footer .footer-content .my-container {
	max-width: 1240px;
	padding: 0 24px;
}

.cdz-footer-grid,
#colophon.cdz-footer #footer-widget-area.cdz-footer-grid {
	display: grid;
	grid-template-columns: 1.15fr 1.2fr 0.95fr 1.05fr;
	gap: 40px 36px;
	padding: 64px 0 48px;
	align-items: start;
	margin: 0;
	width: 100%;
	max-width: none;
	box-sizing: border-box;
}

.cdz-footer-heading {
	margin: 0 0 14px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--cdz-ink);
	font-family: inherit;
}

.cdz-footer-brand {
	margin: 0 0 10px;
	font-size: 28px;
	line-height: 1;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--cdz-ink);
}

.cdz-footer-brand::after {
	content: "";
	display: block;
	width: 42px;
	height: 3px;
	margin-top: 12px;
	background: var(--cdz-gold);
}

.cdz-footer-lead {
	margin: 0 0 28px;
	font-size: 13.5px;
	line-height: 1.65;
	color: var(--cdz-muted);
	max-width: 280px;
}

.cdz-footer-col--social .cdz-footer-lead,
.cdz-footer-col--cta .cdz-footer-lead {
	max-width: none;
	margin-bottom: 18px;
}

.cdz-footer-menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.cdz-footer-menu li {
	margin: 0 0 8px;
}

.cdz-footer-menu a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	text-decoration: none;
	font-size: 14px;
	line-height: 1.4;
	color: var(--cdz-ink);
}

.cdz-footer-menu a::before {
	content: "›";
	color: var(--cdz-gold);
	font-size: 16px;
	line-height: 1;
}

.cdz-footer-menu a:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.cdz-footer-caret {
	display: inline-block;
	width: 0;
	height: 0;
	margin-left: 2px;
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	border-top: 5px solid var(--cdz-ink);
}

.cdz-footer-contact {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.cdz-footer-contact__item.is-split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

.cdz-footer-contact__row {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	text-decoration: none;
	color: inherit;
}

a.cdz-footer-contact__row:hover .cdz-footer-contact__text {
	text-decoration: underline;
	text-underline-offset: 2px;
}

.cdz-footer-contact__icon {
	flex: 0 0 28px;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--cdz-gold-soft);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: 1px;
}

.cdz-footer-contact__icon img {
	width: 14px;
	height: 14px;
	object-fit: contain;
	display: block;
	filter: invert(42%) sepia(28%) saturate(500%) hue-rotate(6deg) brightness(90%);
}

.cdz-footer-contact__body {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 1px;
}

.cdz-footer-contact__label {
	font-size: 10px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #999;
}

.cdz-footer-contact__text {
	font-size: 13px;
	line-height: 1.45;
	color: #555;
	word-break: break-word;
}

.cdz-footer-col--social {
	position: relative;
	min-height: 220px;
}

.cdz-footer-skyline {
	position: absolute;
	left: -12px;
	right: -12px;
	bottom: 0;
	z-index: 0;
	pointer-events: none;
	opacity: 0.55;
}

.cdz-footer-skyline img {
	display: block;
	width: 100%;
	height: auto;
}

.cdz-footer-col--social > *:not(.cdz-footer-skyline) {
	position: relative;
	z-index: 1;
}

.cdz-footer-social {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
}

.cdz-footer-social__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 1px solid #1d1d1d;
	background: transparent;
	text-decoration: none;
	transition: background 0.2s, transform 0.2s;
}

.cdz-footer-social__link:hover {
	background: #fff;
	transform: translateY(-1px);
}

.cdz-footer-social__link img {
	width: 16px;
	height: 16px;
	object-fit: contain;
}

.cdz-footer-subscribe {
	margin: 0 0 22px;
}

.cdz-footer-subscribe__row {
	display: flex;
	align-items: stretch;
	background: #fff;
	border: 1px solid #ddd8d0;
	overflow: hidden;
}

.cdz-footer-subscribe__row input[type="email"] {
	flex: 1 1 auto;
	min-width: 0;
	border: 0;
	background: transparent;
	height: 46px;
	padding: 0 14px;
	font-size: 13px;
	color: var(--cdz-ink);
	outline: none;
	box-shadow: none;
}

.cdz-footer-subscribe__row input::placeholder {
	color: #9a9a9a;
}

.cdz-footer-subscribe__btn {
	flex: 0 0 46px;
	width: 46px;
	border: 0;
	background: var(--cdz-gold);
	color: #fff;
	font-size: 18px;
	cursor: pointer;
	line-height: 1;
}

.cdz-footer-subscribe__btn:hover {
	filter: brightness(0.95);
}

.cdz-footer-subscribe__btn:disabled {
	opacity: 0.7;
	cursor: wait;
}

.cdz-footer-subscribe__cat {
	display: block;
	margin-top: 8px;
}

.cdz-footer-subscribe__cat select {
	width: 100%;
	height: 38px;
	border: 1px solid #ddd8d0;
	background: #fff;
	padding: 0 10px;
	font-size: 12px;
	color: #555;
	appearance: auto;
}

.cdz-footer-subscribe__msg {
	margin: 8px 0 0;
	font-size: 12px;
	line-height: 1.4;
}

.cdz-footer-subscribe__msg.is-ok {
	color: #2f6b3a;
}

.cdz-footer-subscribe__msg.is-error {
	color: #b42318;
}

.cdz-footer-consult {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	padding: 18px 16px;
	background: var(--cdz-card);
	border-radius: 10px;
}

.cdz-footer-consult__icon {
	flex: 0 0 32px;
	width: 32px;
	height: 32px;
	border-radius: 6px;
	background: var(--cdz-gold-soft);
	color: var(--cdz-gold);
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.cdz-footer-consult__title {
	margin: 0 0 4px;
	font-size: 15px;
	font-weight: 700;
	color: var(--cdz-ink);
}

.cdz-footer-consult__text {
	margin: 0 0 10px;
	font-size: 12.5px;
	line-height: 1.5;
	color: var(--cdz-muted);
}

.cdz-footer-consult__cta {
	border: 0;
	background: none;
	padding: 0;
	font-size: 13px;
	font-weight: 700;
	color: var(--cdz-gold);
	cursor: pointer;
}

.cdz-footer-consult__cta:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.cdz-footer .sub_footer {
	background: transparent;
	border-top: 1px solid var(--cdz-line);
}

.cdz-footer .sub_footer_content {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 0 28px;
	font-size: 12px;
	color: #8a8a8a;
}

.cdz-footer .copyright {
	color: #8a8a8a;
}

.cdz-footer .subfooter_menu {
	display: flex;
	align-items: center;
	gap: 10px;
}

.cdz-footer .subfooter_menu a {
	color: #8a8a8a;
	text-decoration: none;
}

.cdz-footer .subfooter_menu a:hover {
	color: var(--cdz-ink);
	text-decoration: underline;
}

.cdz-hp {
	position: absolute !important;
	left: -9999px !important;
	height: 0 !important;
	width: 0 !important;
	opacity: 0 !important;
}

.cdz-footer .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

/* Modal */
body.cdz-modal-open {
	overflow: hidden;
}

.cdz-modal[hidden] {
	display: none !important;
}

.cdz-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
}

.cdz-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(20, 18, 14, 0.48);
}

.cdz-modal__dialog {
	position: relative;
	z-index: 1;
	width: min(560px, 100%);
	max-height: calc(100vh - 48px);
	overflow: auto;
	background: #fff;
	padding: 36px 32px 28px;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
}

.cdz-modal__close {
	position: absolute;
	top: 12px;
	right: 14px;
	border: 0;
	background: none;
	font-size: 28px;
	line-height: 1;
	color: #888;
	cursor: pointer;
}

.cdz-modal__eyebrow {
	margin: 0 0 8px;
	font-size: 11px;
	letter-spacing: 0.28em;
	font-weight: 700;
	text-transform: uppercase;
}

.cdz-modal__eyebrow::after {
	content: "";
	display: block;
	width: 36px;
	height: 2px;
	margin-top: 10px;
	background: var(--cdz-gold, #b89461);
}

.cdz-modal__title {
	margin: 16px 0 8px;
	font-size: 26px;
	font-weight: 600;
	font-family: "Playfair Display", Georgia, serif;
	color: #1d1d1d;
}

.cdz-modal__lead {
	margin: 0 0 22px;
	font-size: 14px;
	line-height: 1.55;
	color: #666;
}

.cdz-modal__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}

.cdz-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-size: 12px;
	font-weight: 600;
	color: #444;
}

.cdz-field em {
	color: #b89461;
	font-style: normal;
}

.cdz-field--full {
	grid-column: 1 / -1;
}

.cdz-field input,
.cdz-field textarea {
	width: 100%;
	border: 1px solid #e2ddd6;
	background: #faf8f5;
	padding: 10px 12px;
	font-size: 14px;
	font-weight: 400;
	color: #1d1d1d;
	outline: none;
	box-sizing: border-box;
}

.cdz-field input:focus,
.cdz-field textarea:focus {
	border-color: #b89461;
	background: #fff;
}

.cdz-modal__note {
	margin: 14px 0 18px;
	font-size: 12px;
	color: #8a8a8a;
}

.cdz-modal__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 0 22px;
	border: 0;
	background: #b89461;
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	cursor: pointer;
}

.cdz-modal__submit:hover {
	filter: brightness(0.96);
}

.cdz-modal__submit:disabled {
	opacity: 0.7;
	cursor: wait;
}

.cdz-modal__msg {
	margin: 12px 0 0;
	font-size: 13px;
}

.cdz-modal__msg.is-error {
	color: #b42318;
}

.cdz-modal__success {
	text-align: center;
	padding: 12px 0 8px;
}

.cdz-modal__success-mark {
	width: 48px;
	height: 48px;
	margin: 0 auto 16px;
	border-radius: 50%;
	background: #efe6d8;
	color: #b89461;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
}

.cdz-modal__success h3 {
	margin: 0 0 8px;
	font-size: 22px;
	font-family: "Playfair Display", Georgia, serif;
}

.cdz-modal__success p {
	margin: 0 0 20px;
	color: #666;
	font-size: 14px;
}

@media (max-width: 1100px) {
	.cdz-footer-grid,
	#colophon.cdz-footer #footer-widget-area.cdz-footer-grid {
		grid-template-columns: 1fr 1fr;
		gap: 36px 28px;
		padding: 48px 0 36px;
	}
}

@media (max-width: 767px) {
	.cdz-footer-grid,
	#colophon.cdz-footer #footer-widget-area.cdz-footer-grid {
		grid-template-columns: 1fr;
		gap: 32px;
		padding: 36px 0 24px;
	}

	.cdz-footer-col--social {
		min-height: 0;
	}

	.cdz-footer-skyline {
		display: none;
	}

	.cdz-footer .sub_footer_content {
		flex-direction: column;
		align-items: flex-start;
		padding: 16px 0 24px;
	}

	.cdz-modal__dialog {
		padding: 28px 20px 22px;
	}

	.cdz-modal__grid {
		grid-template-columns: 1fr;
	}

	.cdz-footer-contact__item.is-split {
		grid-template-columns: 1fr;
	}
}
