/**
 * MIDHATI — Contact page styles (Phase 6)
 * Migrated from Contact page inline styles (post ID 33).
 */

:root {
	--navy: var(--color-navy-section);
	--navy-hover: var(--color-navy-hover);
	--gold: var(--color-gold);
	--gold-hover: var(--color-gold-hover);
	--white: var(--color-white);
	--bg-light: var(--color-off-white);
	--text-dark: var(--color-text-dark);
	--text-secondary: var(--color-text-muted);
	--border: var(--color-border);
	--gold-tint: rgba(201, 163, 45, 0.1);
	--radius-sm: var(--border-radius-md);
	--radius-md: 14px;
	--transition: var(--transition-base);
}

.section {
	padding: 88px 0;
}

.bg-light {
	background: var(--bg-light);
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--font-body);
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--navy);
	margin: 0 0 14px;
}

.eyebrow-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--gold);
	display: inline-block;
	flex: none;
}

/* Page hero — contact variant (extra bottom padding for overlapping cards) */
.page-hero {
	background: linear-gradient(135deg, var(--navy) 0%, var(--navy-hover) 100%);
	padding: 52px 0 80px;
	text-align: center;
	position: relative;
	overflow: hidden;
}

.page-hero-bg {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.breadcrumb-nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-size: 0.82rem;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.6);
	margin-bottom: 22px;
	letter-spacing: 0.04em;
}

.breadcrumb-nav a {
	color: rgba(255, 255, 255, 0.7);
}

.breadcrumb-nav a:hover {
	color: var(--gold);
}

.breadcrumb-sep {
	color: rgba(255, 255, 255, 0.3);
}

.page-hero-eyebrow {
	color: var(--gold);
	margin-bottom: 14px;
}

.page-hero-eyebrow .eyebrow-dot {
	background: var(--gold);
}

.page-hero h1 {
	font-size: clamp(1.9rem, 1.3rem + 2.2vw, 3rem);
	color: var(--white);
	margin-bottom: 0.5em;
	line-height: 1.15;
}

.page-hero-sub {
	font-size: 1.05rem;
	color: rgba(255, 255, 255, 0.82);
	max-width: 620px;
	margin: 0 auto;
	line-height: 1.7;
}

/* Floating contact cards */
.contact-cards-wrap {
	margin-top: -52px;
	position: relative;
	z-index: 10;
	padding-bottom: 0;
}

.contact-cards-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}

.ccard {
	background: var(--white);
	border-radius: var(--radius-md);
	padding: 28px 22px;
	text-align: center;
	box-shadow: var(--shadow-lg);
	border-bottom: 3px solid var(--gold);
	transition: transform var(--transition), box-shadow var(--transition);
}

.ccard:hover {
	transform: translateY(-4px);
	box-shadow: 0 24px 56px rgba(12, 31, 57, 0.18);
}

.ccard-icon {
	width: 52px;
	height: 52px;
	background: var(--gold-tint);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 14px;
}

.ccard-icon svg {
	width: 24px;
	height: 24px;
}

.ccard h3 {
	font-size: 0.95rem;
	margin-bottom: 8px;
}

.ccard p,
.ccard a {
	font-size: 0.9rem;
	color: var(--text-secondary);
	line-height: 1.6;
}

.ccard a:hover {
	color: var(--navy);
}

.ccard-label {
	display: inline-block;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--gold);
	margin-bottom: 6px;
}

/* Main two-column layout */
.contact-main {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 56px;
	align-items: start;
}

.contact-form-card {
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	padding: 40px 36px;
	box-shadow: var(--shadow-sm);
}

.contact-form-card h2 {
	font-size: 1.5rem;
	margin-bottom: 6px;
}

.contact-form-card > p {
	font-size: 0.95rem;
	margin-bottom: 28px;
}

.form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.form-group {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-bottom: 16px;
}

.form-group label {
	font-size: 0.82rem;
	font-weight: 700;
	color: var(--navy);
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.form-input,
.form-select,
.form-textarea {
	width: 100%;
	padding: 12px 16px;
	border: 1.5px solid var(--border);
	border-radius: var(--radius-sm);
	font-family: var(--font-body);
	font-size: 0.95rem;
	color: var(--text-dark);
	background: var(--white);
	transition: border-color var(--transition), box-shadow var(--transition);
	appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
	outline: none;
	border-color: var(--gold);
	box-shadow: 0 0 0 3px rgba(201, 163, 45, 0.15);
}

.form-textarea {
	resize: vertical;
	min-height: 120px;
}

.form-select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%230C1F39' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	padding-right: 40px;
}

.form-note {
	font-size: 0.8rem;
	color: var(--text-secondary);
	margin-top: 8px;
}

.form-submit .btn,
.form-submit input[type="submit"],
.form-submit button {
	width: 100%;
	margin-top: 8px;
	border-radius: var(--border-radius-pill);
	padding: 14px 28px;
	font-family: var(--font-ui);
	font-weight: 600;
	font-size: 0.95rem;
	background: var(--gold);
	color: var(--color-navy-dark);
	border: 2px solid var(--gold);
	cursor: pointer;
	transition: background var(--transition), transform var(--transition);
}

.form-submit .btn:hover,
.form-submit input[type="submit"]:hover,
.form-submit button:hover {
	background: var(--gold-hover);
	border-color: var(--gold-hover);
	transform: translateY(-1px);
}

.contact-side {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.map-card {
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	overflow: hidden;
	box-shadow: var(--shadow-sm);
}

.map-frame {
	width: 100%;
	height: 240px;
	border: none;
	display: block;
}

.map-footer {
	padding: 14px 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	border-top: 1px solid var(--border);
}

.map-address {
	font-size: 0.85rem;
	color: var(--text-secondary);
	line-height: 1.5;
	flex: 1;
}

.map-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 0.82rem;
	font-weight: 700;
	color: var(--navy);
	white-space: nowrap;
	flex: none;
}

.map-link:hover {
	color: var(--navy-hover);
}

.map-link svg {
	width: 14px;
	height: 14px;
}

.hours-card {
	background: var(--bg-light);
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	padding: 24px 24px 20px;
}

.hours-card h3 {
	font-size: 1rem;
	margin-bottom: 14px;
	display: flex;
	align-items: center;
	gap: 10px;
}

.hours-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--gold);
}

.hours-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 9px 0;
	font-size: 0.9rem;
	border-bottom: 1px solid var(--border);
}

.hours-row:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.hours-day {
	color: var(--text-secondary);
}

.hours-time {
	font-weight: 600;
	color: var(--navy);
}

.hours-badge {
	display: inline-block;
	background: var(--gold-tint);
	color: var(--navy);
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	padding: 2px 8px;
	border-radius: 999px;
}

/* FAQ */
.faq-list {
	max-width: 860px;
	margin: 0 auto;
}

.faq-item {
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	margin-bottom: 12px;
	box-shadow: var(--shadow-sm);
	transition: box-shadow var(--transition);
	overflow: hidden;
}

.faq-item:hover {
	box-shadow: var(--shadow-md);
}

.faq-question {
	width: 100%;
	padding: 20px 26px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	background: var(--white);
	border: none;
	cursor: pointer;
	font-family: var(--font-body);
	font-size: 0.98rem;
	font-weight: 600;
	color: var(--navy);
	text-align: left;
	gap: 16px;
	transition: background var(--transition);
}

.faq-question:hover {
	background: var(--bg-light);
}

.faq-chevron {
	width: 28px;
	height: 28px;
	flex: none;
	background: var(--gold-tint);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background var(--transition), transform var(--transition);
}

.faq-chevron svg {
	width: 14px;
	height: 14px;
	transition: transform var(--transition);
}

.faq-item.is-open .faq-chevron {
	background: var(--gold);
}

.faq-item.is-open .faq-chevron svg {
	transform: rotate(180deg);
}

.faq-answer {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.32s ease;
	padding: 0 26px;
}

.faq-answer-inner {
	padding: 0 0 20px;
	border-top: 1px solid var(--border);
	padding-top: 16px;
}

.faq-item.is-open .faq-answer {
	max-height: 400px;
}

.faq-answer p {
	font-size: 0.95rem;
	color: var(--text-secondary);
	line-height: 1.75;
	margin: 0;
}

/* CTA banner (contact page bottom) */
.cta-banner {
	background: linear-gradient(120deg, var(--navy) 0%, var(--navy-hover) 100%);
	padding: 80px 0;
	text-align: center;
}

.cta-heading {
	color: var(--white);
	margin-bottom: 14px;
	font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.3rem);
}

.cta-sub {
	color: rgba(255, 255, 255, 0.85);
	max-width: 52ch;
	margin: 0 auto 30px;
	font-family: var(--font-body);
	line-height: 1.76;
}

.contact-text p {
	text-align: justify;
	text-justify: inter-word;
}
