/*
 * Contact Us page — Mithila Center USA
 * Prefix: ctc-
 * Version: 1.0.0
 */

/* ─── Google Font ─── */
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@600&display=swap');

/* ─── Reset & base ─── */
.ctc-page *,
.ctc-page *::before,
.ctc-page *::after { box-sizing: border-box; }
.ctc-page img  { display: block; max-width: 100%; height: auto; }
.ctc-page ul   { list-style: none; margin: 0; padding: 0; }
.ctc-page p    { margin-top: 0; }
.ctc-page a    { text-decoration: none; }

/* ─── Container ─── */
.ctc-container {
	width: 100%;
	max-width: 1200px;
	margin-inline: auto;
	padding-inline: clamp(1rem, 4vw, 3rem);
}

/* ─── Typography helpers ─── */
.ctc-h2 {
	font-family: var(--wdtFontTypo_Alt, 'Oswald', sans-serif);
	font-size: clamp(1.75rem, 3.5vw, 2.75rem);
	line-height: 1.15;
	color: #1a0f08;
	margin: 0 0 .5rem;
}
.ctc-h2--center { text-align: center; }
.ctc-h2--light  { color: #fff; }

.ctc-script-kicker {
	display: block;
	font-family: 'Dancing Script', cursive;
	font-size: clamp(1.2rem, 2vw, 1.5rem);
	color: #834d22;
	margin: 0 0 .5rem;
}
.ctc-script-kicker--center { text-align: center; }
.ctc-script-kicker--light  { color: #fdf6e3; }

.ctc-divider {
	width: 3rem;
	height: 3px;
	background: #834d22;
	border-radius: 2px;
	margin: 0 0 clamp(1.5rem, 3vw, 2.25rem);
}
.ctc-divider--center { margin-inline: auto; margin-bottom: clamp(1.5rem, 3vw, 2.25rem); }
.ctc-divider--light  { background: rgba(255,255,255,.55); }

/* ─── Buttons ─── */
.ctc-btn {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	padding: .8rem 1.75rem;
	border-radius: var(--wdtRadius_Part, 2.5em);
	font-family: var(--wdtFontTypo_Alt, 'Oswald', sans-serif);
	font-size: .9rem;
	letter-spacing: .04em;
	text-transform: uppercase;
	background: #834d22;
	color: #fff;
	border: 2px solid #834d22;
	cursor: pointer;
	line-height: 1;
	transition: background .22s, border-color .22s, transform .15s;
}
.ctc-btn:hover { background: #6b3d1a; border-color: #6b3d1a; transform: translateY(-2px); }

/* ════════════════════════════════════════════════
   1. INTRO — cream banner with Mithila pattern
════════════════════════════════════════════════ */
.ctc-intro {
	background: var(--wdtTertiaryColor, #fdf6e3);
	padding-block: clamp(4rem, 8vw, 7rem);
	position: relative;
	overflow: hidden;
}
.ctc-intro__pattern {
	position: absolute;
	inset: 0;
	background-image:
		radial-gradient(circle, rgba(131,77,34,.12) 2px, transparent 2px),
		radial-gradient(circle, rgba(26,15,8,.05) 1px, transparent 1px);
	background-size: 40px 40px, 20px 20px;
	background-position: 0 0, 10px 10px;
	pointer-events: none;
}
.ctc-intro__inner {
	position: relative;
	z-index: 1;
	text-align: center;
	max-width: 780px;
	margin-inline: auto;
}
.ctc-intro__lead {
	font-size: clamp(1rem, 1.8vw, 1.15rem);
	line-height: 1.8;
	color: #1a0f08;
	opacity: .82;
	margin-bottom: 0;
}

/* ════════════════════════════════════════════════
   2. MAIN CONTACT — info + CF7 form
════════════════════════════════════════════════ */
.ctc-contact {
	background: #fff;
	padding-block: clamp(4rem, 7vw, 6.5rem);
}
.ctc-contact__grid {
	display: grid;
	grid-template-columns: 1fr 1.35fr;
	gap: clamp(3rem, 6vw, 5rem);
	align-items: start;
}

/* ── Contact info column ── */
.ctc-info__heading {
	font-family: var(--wdtFontTypo_Alt, 'Oswald', sans-serif);
	font-size: clamp(1.3rem, 2.5vw, 1.75rem);
	color: #1a0f08;
	margin: 0 0 .4rem;
}
.ctc-info__sub {
	font-size: clamp(.95rem, 1.6vw, 1.05rem);
	line-height: 1.75;
	color: #555;
	margin-bottom: 2rem;
}
.ctc-info__cards {
	display: flex;
	flex-direction: column;
	gap: 1.1rem;
}
.ctc-info__card {
	display: grid;
	grid-template-columns: 3rem 1fr;
	gap: .9rem;
	align-items: start;
	padding: 1.2rem 1.4rem;
	background: #fdf6e3;
	border-radius: .65rem;
	border-left: 4px solid #834d22;
	transition: box-shadow .2s;
}
.ctc-info__card:hover {
	box-shadow: 0 4px 18px rgba(26,15,8,.1);
}
.ctc-info__card-icon {
	width: 3rem;
	height: 3rem;
	background: #834d22;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	flex-shrink: 0;
}
.ctc-info__card-label {
	display: block;
	font-family: var(--wdtFontTypo_Alt, 'Oswald', sans-serif);
	font-size: .8rem;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: #834d22;
	margin-bottom: .25rem;
}
.ctc-info__card-value {
	font-size: .95rem;
	line-height: 1.6;
	color: #1a0f08;
	margin: 0;
}
.ctc-info__card-value a {
	color: #1a0f08;
	transition: color .2s;
}
.ctc-info__card-value a:hover { color: #834d22; }

/* Social links */
.ctc-info__social {
	margin-top: 1.75rem;
}
.ctc-info__social-label {
	font-family: var(--wdtFontTypo_Alt, 'Oswald', sans-serif);
	font-size: .82rem;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: #834d22;
	margin-bottom: .75rem;
}
.ctc-info__social-links {
	display: flex;
	gap: .65rem;
	flex-wrap: wrap;
}
.ctc-info__social-link {
	width: 2.4rem;
	height: 2.4rem;
	border-radius: 50%;
	background: #834d22;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background .2s, transform .15s;
}
.ctc-info__social-link:hover {
	background: #6b3d1a;
	transform: translateY(-2px);
}

/* ── CF7 form column ── */
.ctc-form-wrap {
	background: #fff;
	border: 1px solid rgba(131,77,34,.15);
	border-radius: .85rem;
	padding: clamp(1.75rem, 4vw, 2.75rem);
	box-shadow: 0 6px 36px rgba(26,15,8,.08);
}
.ctc-form-wrap .ctc-h2 { margin-bottom: .3rem; }
.ctc-form-wrap .ctc-divider { margin-top: .6rem; }

/* CF7 field resets & Mithila palette */
.ctc-form-wrap .wpcf7 { margin: 0; }
.ctc-form-wrap .wpcf7-form { display: flex; flex-direction: column; gap: 1.1rem; }

.ctc-form-wrap .wpcf7 p {
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: .35rem;
}
.ctc-form-wrap .wpcf7 label {
	font-family: var(--wdtFontTypo_Alt, 'Oswald', sans-serif);
	font-size: .82rem;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: #834d22;
}
.ctc-form-wrap .wpcf7 input[type="text"],
.ctc-form-wrap .wpcf7 input[type="email"],
.ctc-form-wrap .wpcf7 input[type="tel"],
.ctc-form-wrap .wpcf7 input[type="url"],
.ctc-form-wrap .wpcf7 input[type="number"],
.ctc-form-wrap .wpcf7 select,
.ctc-form-wrap .wpcf7 textarea {
	width: 100%;
	padding: .75rem 1.1rem;
	border: 2px solid rgba(131,77,34,.22);
	border-radius: .5rem;
	font-size: .95rem;
	font-family: var(--wdtFontTypo_Base, 'Roboto', sans-serif);
	color: #1a0f08;
	background: #fff;
	outline: none;
	transition: border-color .2s, box-shadow .2s;
	line-height: 1.5;
}
.ctc-form-wrap .wpcf7 input[type="text"]:focus,
.ctc-form-wrap .wpcf7 input[type="email"]:focus,
.ctc-form-wrap .wpcf7 input[type="tel"]:focus,
.ctc-form-wrap .wpcf7 input[type="url"]:focus,
.ctc-form-wrap .wpcf7 input[type="number"]:focus,
.ctc-form-wrap .wpcf7 select:focus,
.ctc-form-wrap .wpcf7 textarea:focus {
	border-color: #834d22;
	box-shadow: 0 0 0 3px rgba(131,77,34,.15);
}
.ctc-form-wrap .wpcf7 input::placeholder,
.ctc-form-wrap .wpcf7 textarea::placeholder { color: rgba(26,15,8,.38); }
.ctc-form-wrap .wpcf7 textarea { resize: vertical; min-height: 130px; }

/* Submit button */
.ctc-form-wrap .wpcf7 input[type="submit"],
.ctc-form-wrap .wpcf7 .wpcf7-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: .85rem 2.25rem;
	background: #834d22;
	color: #fff;
	border: 2px solid #834d22;
	border-radius: var(--wdtRadius_Part, 2.5em);
	font-family: var(--wdtFontTypo_Alt, 'Oswald', sans-serif);
	font-size: .95rem;
	letter-spacing: .06em;
	text-transform: uppercase;
	cursor: pointer;
	line-height: 1;
	transition: background .22s, border-color .22s, transform .15s;
	width: 100%;
	margin-top: .4rem;
}
.ctc-form-wrap .wpcf7 input[type="submit"]:hover,
.ctc-form-wrap .wpcf7 .wpcf7-submit:hover {
	background: #6b3d1a;
	border-color: #6b3d1a;
	transform: translateY(-2px);
}

/* Validation */
.ctc-form-wrap .wpcf7 .wpcf7-not-valid-tip {
	color: #c0392b;
	font-size: .8rem;
	margin-top: .25rem;
}
.ctc-form-wrap .wpcf7 .wpcf7-not-valid {
	border-color: #c0392b !important;
}
.ctc-form-wrap .wpcf7-response-output {
	margin: .75rem 0 0 !important;
	padding: .85rem 1.2rem !important;
	border-radius: .5rem !important;
	font-size: .9rem !important;
	border: none !important;
}
.ctc-form-wrap .wpcf7 .wpcf7-mail-sent-ok {
	background: rgba(131,77,34,.1);
	color: #6b3d1a;
	border-left: 4px solid #834d22 !important;
}
.ctc-form-wrap .wpcf7 .wpcf7-validation-errors,
.ctc-form-wrap .wpcf7 .wpcf7-mail-sent-ng,
.ctc-form-wrap .wpcf7 .wpcf7-spam-blocked {
	background: rgba(192,57,43,.07);
	color: #c0392b;
	border-left: 4px solid #c0392b !important;
}

/* ════════════════════════════════════════════════
   3. FIND US — cream band with map + social
════════════════════════════════════════════════ */
.ctc-find {
	background: var(--wdtTertiaryColor, #fdf6e3);
	padding-block: clamp(4rem, 7vw, 6rem);
}
.ctc-find__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(2.5rem, 5vw, 4rem);
	align-items: start;
	margin-top: clamp(2rem, 4vw, 3rem);
}

/* Office details card */
.ctc-find__office {
	background: #fff;
	border-radius: .85rem;
	padding: 2rem 2rem 2.25rem;
	box-shadow: 0 4px 24px rgba(26,15,8,.08);
	border-top: 4px solid #834d22;
}
.ctc-find__office-title {
	font-family: var(--wdtFontTypo_Alt, 'Oswald', sans-serif);
	font-size: 1.2rem;
	font-weight: 700;
	color: #1a0f08;
	margin: 0 0 1.25rem;
}
.ctc-find__office-list {
	display: flex;
	flex-direction: column;
	gap: .9rem;
}
.ctc-find__office-row {
	display: flex;
	gap: .75rem;
	align-items: flex-start;
	font-size: .93rem;
	color: #555;
	line-height: 1.6;
}
.ctc-find__office-row svg {
	flex-shrink: 0;
	margin-top: .15rem;
	color: #834d22;
}
.ctc-find__office-row strong {
	display: block;
	font-family: var(--wdtFontTypo_Alt, 'Oswald', sans-serif);
	font-size: .78rem;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: #834d22;
	margin-bottom: .15rem;
}

/* Map embed */
.ctc-find__map {
	border-radius: .85rem;
	overflow: hidden;
	box-shadow: 0 4px 24px rgba(26,15,8,.1);
	height: 340px;
	background: rgba(131,77,34,.08);
	display: flex;
	align-items: center;
	justify-content: center;
}
.ctc-find__map iframe {
	width: 100%;
	height: 100%;
	border: none;
	display: block;
}

/* ════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════ */
@media (max-width: 900px) {
	.ctc-contact__grid { grid-template-columns: 1fr; }
	.ctc-find__grid    { grid-template-columns: 1fr; }
	.ctc-find__map     { height: 260px; }
}
@media (max-width: 480px) {
	.ctc-form-wrap { padding: 1.5rem 1.25rem; }
	.ctc-info__card { grid-template-columns: 2.5rem 1fr; }
}
