/* =============================================================
   BaytiPro — Contact page
   Loaded only on page-contact.php.
   Reuses main.css + services.css tokens (--navy, --gold, etc.).
   ============================================================= */

/* --------------- HERO --------------- */
.ct-hero {
	--ct-hero-image: none;
	position: relative;
	min-height: clamp(420px, 52vh, 560px);
	background: linear-gradient(135deg, var(--navy-deep), var(--navy));
	color: var(--cream);
	overflow: hidden;
	isolation: isolate;
}
.ct-hero::before {
	content: '';
	position: absolute; inset: 0;
	background-image: var(--ct-hero-image);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	z-index: 0;
}
.ct-hero__overlay {
	position: absolute; inset: 0;
	background:
		linear-gradient(180deg, rgba(10, 31, 56, .78) 0%, rgba(10, 31, 56, .88) 100%),
		radial-gradient(circle at 20% 30%, rgba(184, 144, 82, .18), transparent 55%),
		radial-gradient(circle at 85% 80%, rgba(184, 144, 82, .12), transparent 45%);
	pointer-events: none;
	z-index: 1;
}
.ct-hero__ornament {
	position: absolute;
	right: -20px; bottom: -20px;
	color: var(--gold);
	opacity: .18;
	pointer-events: none;
	z-index: 2;
}
.ct-hero__inner {
	position: relative;
	z-index: 3;
	display: flex; flex-direction: column;
	justify-content: center;
	min-height: clamp(420px, 52vh, 560px);
	padding-block: clamp(3rem, 8vw, 5rem);
	max-width: 820px;
}

/* --------------- MAIN GRID --------------- */
.ct-main {
	background: var(--cream);
	padding-block: clamp(3rem, 6vw, 5rem);
	position: relative;
}
.ct-main::before {
	content: '';
	position: absolute; inset: 0;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'><g fill='none' stroke='%23B89052' stroke-opacity='.06' stroke-width='1'><polygon points='70,10 82,34 108,34 88,52 96,80 70,64 44,80 52,52 32,34 58,34'/></g></svg>");
	background-size: 220px;
	opacity: .55;
	pointer-events: none;
}
.ct-main__grid {
	position: relative;
	display: grid;
	grid-template-columns: 1fr 1.4fr;
	gap: clamp(2rem, 4vw, 3.25rem);
	align-items: start;
}

/* --------------- INFO COLUMN --------------- */
.ct-info { position: sticky; top: 100px; }
.ct-info__title {
	font-family: var(--font-serif);
	font-size: clamp(1.6rem, 2.4vw, 2rem);
	color: var(--navy);
	margin: 0 0 1.25rem;
	font-weight: 500;
	line-height: 1.2;
}
.ct-info__list {
	list-style: none; padding: 0; margin: 0 0 2rem;
	display: flex; flex-direction: column; gap: 1rem;
}
.ct-info__item {
	display: flex; align-items: flex-start; gap: 1rem;
	padding: 1rem 1.15rem;
	background: rgba(255, 255, 255, .7);
	border: 1px solid rgba(184, 144, 82, .22);
	border-radius: var(--radius);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	transition: border-color var(--t), transform var(--t);
}
.ct-info__item:hover {
	border-color: var(--gold);
	transform: translateX(2px);
}
.ct-info__icon {
	flex: 0 0 auto;
	width: 44px; height: 44px;
	display: grid; place-items: center;
	border-radius: 50%;
	border: 1.4px solid var(--gold);
	color: var(--gold);
	background: rgba(184, 144, 82, .08);
}
.ct-info__label {
	display: block;
	font-family: var(--font-sans);
	font-weight: 600;
	font-size: .75rem;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--gold);
	margin-bottom: 2px;
}
.ct-info__value {
	color: var(--navy);
	font-family: var(--font-serif);
	font-size: 1.08rem;
	text-decoration: none;
	line-height: 1.4;
}
a.ct-info__value:hover { color: var(--gold); }

.ct-info__trust {
	display: flex; align-items: center; gap: .75rem;
	padding: 1rem 1.25rem;
	background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
	color: var(--cream);
	border-radius: var(--radius);
	box-shadow: 0 12px 32px rgba(15, 44, 77, .12);
}
.ct-info__trust .ornament { color: var(--gold); flex: 0 0 auto; }
.ct-info__trust p {
	margin: 0;
	font-family: var(--font-serif);
	font-size: .98rem;
	color: rgba(248, 244, 237, .95);
	line-height: 1.4;
}

/* --------------- FORM CARD --------------- */
.ct-form-card {
	background: var(--white);
	border: 1px solid rgba(184, 144, 82, .3);
	border-radius: var(--radius-lg);
	padding: clamp(1.6rem, 3.5vw, 2.5rem);
	box-shadow: 0 20px 44px rgba(15, 44, 77, .1);
}
.ct-form__title {
	font-family: var(--font-serif);
	font-size: clamp(1.5rem, 2.4vw, 2rem);
	color: var(--navy);
	margin: 0 0 .5rem;
	font-weight: 500;
	line-height: 1.2;
}
.ct-form__lede {
	color: var(--muted);
	font-family: var(--font-serif);
	font-style: italic;
	margin: 0 0 1.5rem;
	font-size: 1.05rem;
}

/* --------------- ALERTS --------------- */
.ct-alert {
	display: flex; flex-direction: column; gap: 2px;
	padding: 1rem 1.15rem;
	border-radius: var(--radius);
	margin-bottom: 1.5rem;
	font-family: var(--font-sans);
	font-size: .95rem;
}
.ct-alert strong { font-family: var(--font-serif); font-size: 1.05rem; font-weight: 500; }
.ct-alert--success {
	background: rgba(90, 107, 58, .10);
	border: 1px solid rgba(90, 107, 58, .35);
	color: #3a4a26;
}
.ct-alert--success strong { color: #2f3d1f; }
.ct-alert--error {
	background: rgba(181, 98, 60, .10);
	border: 1px solid rgba(181, 98, 60, .35);
	color: #7a3d24;
}
.ct-alert--error strong { color: #582712; }

/* --------------- FORM FIELDS --------------- */
.ct-form { display: flex; flex-direction: column; gap: 1.1rem; }
.ct-form__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.1rem;
}
.ct-form__field { display: flex; flex-direction: column; gap: .35rem; }
.ct-form__field label {
	font-family: var(--font-sans);
	font-weight: 600;
	font-size: .78rem;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--navy);
}
.ct-form__field input,
.ct-form__field select,
.ct-form__field textarea {
	width: 100%;
	padding: .85rem 1rem;
	background: var(--ivory);
	border: 1px solid rgba(184, 144, 82, .28);
	border-radius: var(--radius);
	font-family: var(--font-sans);
	font-size: 1rem;
	color: var(--navy);
	transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
}
.ct-form__field input:focus,
.ct-form__field select:focus,
.ct-form__field textarea:focus {
	outline: 0;
	background: var(--white);
	border-color: var(--gold);
	box-shadow: 0 0 0 3px rgba(184, 144, 82, .18);
}
.ct-form__field textarea { resize: vertical; min-height: 130px; }
.ct-form__field select {
	appearance: none;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23B89052' stroke-width='2'><path d='M6 9l6 6 6-6'/></svg>");
	background-repeat: no-repeat;
	background-position: right 1rem center;
	padding-right: 2.5rem;
}
.ct-form__submit {
	display: flex; flex-wrap: wrap; align-items: center; gap: 1rem;
	margin-top: .5rem;
}
.ct-form__note {
	font-size: .82rem;
	color: var(--muted);
	font-family: var(--font-sans);
	line-height: 1.4;
}

/* --------------- RESPONSIVE --------------- */
@media (max-width: 900px) {
	.ct-main__grid { grid-template-columns: 1fr; }
	.ct-info { position: static; }
	.ct-form__row { grid-template-columns: 1fr; }
	.ct-hero__inner { padding-inline: 0; }
}

@media (max-width: 640px) {
	.ct-info__item { padding: .85rem 1rem; }
	.ct-form-card { padding: 1.35rem; }
	.ct-form__submit .btn { width: 100%; }
	.ct-form__note { width: 100%; text-align: center; }
}
