/* ==========================================================================
   Contact page (page-contact.php)
   Reuses the site-wide decoration vocabulary:
   - light teal page hero (same as About / FAQ / Privacy)
   - 8-chamber SVG section divider (#ds-8chamber)
   - custom footer with 8-chamber mark
   Loaded only on the Contact template.
   ========================================================================== */

/* Kill Astra's default content padding / flex so our layout controls the page */
.depthslide-contact #primary {
	padding: 0 !important;
	margin: 0 !important;
}

.depthslide-contact .ast-container {
	max-width: 100% !important;
	padding: 0 !important;
	flex-direction: column !important;
}

/* Hide Astra's default footer */
body.depthslide-contact #colophon {
	display: none !important;
}

.depthslide-contact *,
.depthslide-contact *::before,
.depthslide-contact *::after {
	box-sizing: border-box;
}

/* Shared centered container */
.depthslide-contact .ds-container {
	max-width: var(--ds-max-width);
	margin: 0 auto;
	padding: 0 24px;
}

/* --- Inner-page hero (light teal band, identical to About/FAQ/Privacy) --- */
.ds-page-hero {
	background: linear-gradient(135deg, #e8f4f6 0%, #f7f9fa 100%);
	padding: clamp(56px, 9vw, 96px) 0 clamp(36px, 6vw, 56px);
	border-bottom: 1px solid var(--ds-border);
	text-align: center;
}

.ds-page-hero h1 {
	font-size: clamp(1.8rem, 4vw, 2.6rem);
	font-weight: 800;
	color: var(--ds-text);
	letter-spacing: -0.02em;
	margin: 0 0 16px;
	line-height: 1.2;
}

.ds-page-hero p {
	max-width: 640px;
	margin: 0 auto;
	font-size: clamp(0.95rem, 1.6vw, 1.1rem);
	color: var(--ds-text-muted);
	line-height: 1.6;
}

/* --- Tighten the 8-chamber divider --- */
.depthslide-contact .ds-divider {
	padding: 16px 24px;
}

.depthslide-contact .ds-divider-icon {
	width: 40px;
	opacity: 0.25;
}

/* --- Contact card grid --- */
.ds-contact-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	max-width: 960px;
	margin: 0 auto;
}

/* --- Individual contact card --- */
.ds-contact-card {
	background: #ffffff;
	border: 1px solid var(--ds-border);
	border-radius: var(--ds-radius);
	padding: clamp(24px, 4vw, 36px) clamp(20px, 3vw, 28px);
	text-align: center;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.ds-contact-card:hover {
	border-color: var(--ds-accent);
	box-shadow: 0 4px 16px rgba(10, 110, 125, 0.08);
}

/* Contact icon */
.ds-contact-card-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	margin: 0 auto 16px;
}

.ds-contact-card-icon svg {
	width: 28px;
	height: 28px;
}

.ds-contact-icon-whatsapp {
	background: #dcf8c6;
	color: #25d366;
}

.ds-contact-icon-phone {
	background: #e8f4f6;
	color: var(--ds-accent);
}

.ds-contact-icon-email {
	background: #fef0e0;
	color: #e67e22;
}

/* Card title */
.ds-contact-card-title {
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--ds-text);
	margin: 0 0 8px;
	line-height: 1.3;
}

/* Card description */
.ds-contact-card-desc {
	font-size: 0.875rem;
	color: var(--ds-text-muted);
	margin: 0 0 12px;
	line-height: 1.5;
}

/* Card contact name */
.ds-contact-card-name {
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--ds-text);
	margin: 0 0 16px;
	line-height: 1.4;
}

/* Card link (phone number / email) */
.ds-contact-card-link {
	display: inline-block;
	font-size: 1rem;
	font-weight: 600;
	color: var(--ds-accent);
	text-decoration: none;
	padding: 6px 16px;
	border-radius: 6px;
	background: var(--ds-bg-alt);
	transition: background 0.2s, color 0.2s;
	word-break: break-all;
}

.ds-contact-card-link:hover {
	background: var(--ds-accent);
	color: #ffffff;
}

/* --- Additional info note --- */
.ds-contact-note {
	max-width: 720px;
	margin: 0 auto;
	text-align: center;
}

.ds-contact-note h3 {
	margin-bottom: 12px;
}

.ds-contact-note p {
	color: var(--ds-text-muted);
	line-height: 1.7;
	font-size: 0.95rem;
}

.ds-contact-note a {
	color: var(--ds-accent);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.ds-contact-note a:hover {
	color: #08616e;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 768px) {
	.ds-contact-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.ds-contact-card {
		padding: 28px 24px;
	}

	.ds-contact-card-link {
		font-size: 0.95rem;
	}
}
