
/* ================================================================
   Strata Family Law — Contact Page Styles (Rebuilt)
   Template: page-templates/contact.php
   Prefix: sfl | Built by Legal Guardian Digital

   Rebuilt from approved HTML: contact-page.html
   Date: 2026-04-14

   NOTE: Base resets, header, footer, pill nav are in global.css.
   This file is page-specific only.
   ================================================================ */
a {
	color: inherit;
	text-decoration: none;
}

img {
	max-width: 100%;
	display: block;
}

button {
	font-family: inherit;
	cursor: pointer;
}

.container {
	max-width: 1560px;
	margin: 0 auto;
	padding: 0 40px;
}

.eyebrow {
	font-family: "Geraldton", sans-serif;
	font-weight: 600;
	font-size: .8rem;
	letter-spacing: .15em;
	text-transform: uppercase;
	color: var(--copper);
	display: block;
	margin-bottom: 1.25rem;
}

.contact-hero {
	position: relative;
	background: #0f1a28;
	border-top: 4px solid #c5a377;
	padding: 200px 0 120px;
	color: var(--cream-text);
	overflow: hidden;
}

.contact-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse at 30% 40%, rgba(197, 163, 119, .06), transparent 60%);
	pointer-events: none;
}

.contact-hero-grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 80px;
	align-items: start;
}

.contact-hero-left {
	max-width: 560px;
}

.contact-hero-left .eyebrow {
	color: var(--copper);
}

.contact-hero-left h1 {
	font-size: 4.5rem;
	color: var(--cream-text);
	line-height: 1.08;
	margin-bottom: 2rem;
	letter-spacing: -.01em;
}

.contact-hero-left h1 .accent {
	color: var(--copper);
}

.contact-hero-left .hero-sub {
	font-family: "DM Sans", sans-serif;
	font-size: 1.2rem;
	line-height: 1.75;
	color: rgba(237, 230, 220, .8);
	max-width: 520px;
	margin-bottom: 2.75rem;
}

.trust-pills {
	display: flex;
	flex-direction: column;
	gap: 0;
	margin-bottom: 2.75rem;
	max-width: 440px;
}

.trust-pills li {
	list-style: none;
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 16px 0;
	border-bottom: 1px solid rgba(197, 163, 119, .18);
	font-family: "Geraldton", sans-serif;
	font-size: .95rem;
	font-weight: 500;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--cream-text);
}

.trust-pills li:last-child {
	border-bottom: none;
}

.trust-pills .check {
	color: var(--copper);
	font-size: 1.1rem;
	font-weight: 700;
}

.hero-phone-cta {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-family: "Geraldton", sans-serif;
	font-size: 1.15rem;
	font-weight: 600;
	color: var(--copper);
	letter-spacing: .02em;
	border-bottom: 1px solid rgba(197, 163, 119, .35);
	padding-bottom: 6px;
	transition: color .25s ease, border-color .25s ease;
}

.hero-phone-cta:hover {
	color: var(--copper-light);
	border-bottom-color: var(--copper-light);
}

.hero-phone-cta svg {
	width: 20px;
	height: 20px;
	fill: var(--copper);
}

.contact-form-card {
	background: #152640;
	border: 1px solid rgba(197, 163, 119, .15);
	padding: 48px 44px;
	position: relative;
}

.contact-form-card .eyebrow {
	color: var(--copper);
	margin-bottom: .75rem;
}

.contact-form-card h3 {
	font-family: "Geraldton", sans-serif;
	font-size: 1.8rem;
	color: var(--cream-text);
	margin-bottom: 2rem;
	line-height: 1.2;
}

.form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
}

.form-group {
	margin-bottom: 1.6rem;
}

.form-group label {
	display: block;
	font-family: "Geraldton", sans-serif;
	font-size: .7rem;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: rgba(197, 163, 119, .75);
	margin-bottom: .5rem;
}

.form-group input, .form-group select, .form-group textarea {
	width: 100%;
	background: transparent;
	border: none;
	border-bottom: 1px solid rgba(197, 163, 119, .2);
	padding: 14px 0;
	color: var(--cream-text);
	font-family: "DM Sans", sans-serif;
	font-size: 1rem;
	outline: none;
	transition: border-color .25s ease;
	appearance: none;
	-webkit-appearance: none;
	border-radius: 0;
}

.form-group textarea {
	resize: vertical;
	min-height: 120px;
	line-height: 1.65;
}

.form-group input::placeholder, .form-group textarea::placeholder {
	color: rgba(237, 230, 220, .35);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
	border-bottom-color: var(--copper);
}

.form-group select {
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%23c5a377' d='M6 8L0 0h12z'/></svg>");
	background-repeat: no-repeat;
	background-position: right 4px center;
	padding-right: 24px;
	cursor: pointer;
}

.form-group select.nitro-lazy {
	background-image: none !important;
}

.form-group select option {
	background: #0f1a28;
	color: var(--cream-text);
}

.form-submit {
	width: 100%;
	margin-top: .5rem;
	padding: 20px 32px;
	background: var(--copper);
	color: var(--deep-navy);
	border: none;
	font-family: "Geraldton", sans-serif;
	font-weight: 600;
	font-size: .92rem;
	letter-spacing: .14em;
	text-transform: uppercase;
	transition: background .25s ease, transform .2s ease;
	border-radius: 0;
}

.form-submit:hover {
	background: var(--copper-light);
}

.form-trust {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin-top: 1.25rem;
	font-size: .78rem;
	color: rgba(237, 230, 220, .55);
	letter-spacing: .04em;
	text-align: center;
}

.form-trust svg {
	width: 14px;
	height: 14px;
	fill: rgba(197, 163, 119, .7);
	flex-shrink: 0;
}

/* GF overrides removed — .contact-form-card now has .consult-cta .dark-section
   classes in PHP, so it inherits all dark form styling from global.css */

/* Contact form field layout — inherits styling from global.css .consult-cta */
.contact-form-card .gform_wrapper .gform_fields {
	display: grid !important;
	grid-template-columns: 1fr 1fr !important;
	gap: 16px !important;
	padding: 0 !important;
	margin: 0 !important;
	list-style: none !important;
}

.contact-form-card .gform_wrapper .gfield {
	margin: 0 !important;
	padding: 0 !important;
	grid-column: 1/-1 !important;
}

/* Half-width fields — target GF classes AND nth-child as fallback */
.contact-form-card .gform_wrapper .gfield--width-half, .contact-form-card .gform_wrapper .gf_left_half, .contact-form-card .gform_wrapper .gf_right_half, .contact-form-card .gform_wrapper .gfield:nth-child(1), .contact-form-card .gform_wrapper .gfield:nth-child(2), .contact-form-card .gform_wrapper .gfield:nth-child(3), .contact-form-card .gform_wrapper .gfield:nth-child(4) {
	grid-column: span 1 !important;
	min-width: 0 !important;
}

.contact-form-card .gform_wrapper .gform_footer {
	grid-column: 1/-1 !important;
	margin-top: 8px !important;
	padding: 0 !important;
}

@media (max-width: 768px) {
	.contact-form-card .gform_wrapper .gfield {
		grid-column: 1/-1 !important;
	}
}

/* ================================================================ */
.office-locations {
	background: linear-gradient(135deg, #faf7f2 0%, #f5efe5 50%, #efe4d2 100%);
	padding: 120px 0;
	border-bottom: 1px solid var(--border);
}

.office-head {
	text-align: center;
	max-width: 820px;
	margin: 0 auto 70px;
}

.office-head h2 {
	font-size: 3.6rem;
	color: var(--ink);
	margin-bottom: 1.25rem;
	line-height: 1.1;
}

.office-head h2 .accent {
	color: var(--copper);
}

.office-head p {
	color: var(--ink-soft);
	font-size: 1.15rem;
	line-height: 1.75;
	max-width: 640px;
	margin: 0 auto;
}

.page-template-contact .office-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	max-width: 1200px;
	margin: 0 auto;
	background: transparent !important;
}

.office-card {
	background: transparent;
	border: 1px solid rgba(29, 40, 54, .2);
	padding: 64px 56px;
	transition: border-color .3s ease;
}

.page-template-contact .office-card:hover {
	background: transparent !important;
}

.office-card .eyebrow {
	color: var(--copper);
	margin-bottom: 1rem;
}

.page-template-contact .office-card h3 {
	font-family: "Geraldton", sans-serif;
	font-size: 2rem;
	color: var(--ink) !important;
	margin-bottom: 1.25rem;
	line-height: 1.15;
}

.office-card .address {
	color: var(--ink-soft);
	font-size: 1.05rem;
	line-height: 1.75;
	margin-bottom: 2rem;
}

.office-card-divider {
	height: 2px;
	width: 48px;
	background: var(--copper);
	margin: 2rem 0;
}

.office-card .direct-eyebrow {
	font-family: "Geraldton", sans-serif;
	font-size: .72rem;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--ink-muted);
	display: block;
	margin-bottom: .4rem;
}

.office-card .phone-link {
	font-family: "Geraldton", sans-serif;
	font-size: 1.3rem;
	font-weight: 600;
	color: var(--ink);
	display: inline-block;
	margin-bottom: 1.5rem;
	transition: color .25s ease;
}

.office-card .phone-link:hover {
	color: var(--copper);
}

.office-card .directions-link {
	display: inline-block;
	margin-top: .5rem;
	font-family: "Geraldton", sans-serif;
	font-size: .88rem;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--copper);
	border-bottom: 1px solid var(--copper);
	padding-bottom: 4px;
	transition: color .25s ease, border-color .25s ease;
}

.office-card .directions-link:hover {
	color: var(--copper-light);
	border-bottom-color: var(--copper-light);
}

.office-hours {
	background: var(--cream);
	padding: 120px 0;
	border-bottom: 1px solid var(--border);
}

.hours-inner {
	max-width: 900px;
	margin: 0 auto;
}

.hours-head {
	margin-bottom: 60px;
}

.hours-head h3 {
	font-size: 2.6rem;
	color: var(--ink);
	line-height: 1.1;
}

.hours-head h3 .accent {
	color: var(--copper);
}

.hours-split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 80px;
	align-items: start;
}

.hours-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.hours-list li {
	display: flex;
	justify-content: space-between;
	padding: 18px 0;
	border-bottom: 1px solid var(--border);
	font-family: "DM Sans", sans-serif;
	font-size: 1.02rem;
}

.hours-list li:last-child {
	border-bottom: none;
}

.hours-list .day {
	font-weight: 600;
	color: var(--ink);
	letter-spacing: .02em;
}

.hours-list .time {
	color: var(--ink-soft);
}

.hours-note p {
	color: var(--ink-soft);
	font-size: 1.05rem;
	line-height: 1.8;
}

.in-person-note {
	margin-top: 60px;
	padding-top: 30px;
	border-top: 1px solid var(--border);
	text-align: center;
	font-family: "Geraldton", sans-serif;
	font-size: .88rem;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--copper);
}

.why-talk {
	background: #0f1a28;
	color: var(--cream-text);
	padding: 100px 0;
	border-top: 4px solid var(--copper);
	border-bottom: 4px solid var(--copper);
	position: relative;
	overflow: hidden;
}

.why-talk::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse at 70% 30%, rgba(197, 163, 119, .06), transparent 60%);
	pointer-events: none;
}

.why-talk-inner {
	position: relative;
	z-index: 1;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 40px;
}

.why-talk-head {
	text-align: center;
	max-width: 780px;
	margin: 0 auto 70px;
}

.why-talk-head .eyebrow {
	color: var(--copper);
}

.why-talk-head h2 {
	font-size: 3rem;
	color: var(--cream-text);
	line-height: 1.1;
}

.why-talk-head h2 .accent {
	color: var(--copper);
}

.why-talk-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px;
}

.why-card {
	background: transparent;
	border-top: 2px solid var(--copper);
	padding: 48px 36px;
}

.why-card h4 {
	font-family: "Geraldton", sans-serif;
	font-size: 1.5rem;
	color: var(--warm-white);
	margin-bottom: 1.25rem;
	line-height: 1.25;
}

.why-card p {
	color: rgba(237, 230, 220, .78);
	font-size: 1rem;
	line-height: 1.78;
}

.faq-preview {
	background: var(--cream);
	padding: 120px 0;
	border-bottom: 1px solid var(--border);
}

.faq-inner {
	max-width: 900px;
	margin: 0 auto;
}

.faq-inner h3 {
	font-size: 2.4rem;
	color: var(--ink);
	line-height: 1.15;
	margin-bottom: 3rem;
	max-width: 720px;
}

.faq-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.faq-item {
	padding: 36px 0;
	border-top: 1px solid var(--border);
}

.faq-item:last-child {
	border-bottom: 1px solid var(--border);
}

.faq-item h4 {
	font-family: "Geraldton", sans-serif;
	font-size: 1.35rem;
	color: var(--ink);
	margin-bottom: .9rem;
	line-height: 1.3;
}

.faq-item p {
	color: var(--ink-soft);
	font-size: 1.05rem;
	line-height: 1.78;
	max-width: 720px;
}

.footer-lgd-credit {
	color: #c5a377;
	border-bottom: 1px solid rgba(197, 163, 119, .25);
	padding-bottom: 1px;
	transition: color .3s ease, border-color .3s ease;
}

.footer-lgd-credit:hover {
	color: #ede6dc;
	border-bottom-color: #ede6dc;
}

@media (max-width:1024px) {
	.contact-hero {
		padding: 170px 0 90px;
	}
	
	.contact-hero-grid {
		grid-template-columns: 1fr;
		gap: 70px;
	}
	
	.contact-hero-left h1 {
		font-size: 3.4rem;
	}
	
	.contact-form-card {
		padding: 40px 32px;
	}
	
	.office-head h2 {
		font-size: 2.8rem;
	}
	
	.office-grid {
		grid-template-columns: 1fr;
		gap: 30px;
	}
	
	.office-card {
		padding: 48px 40px;
	}
	
	.hours-head h3 {
		font-size: 2rem;
	}
	
	.hours-split {
		grid-template-columns: 1fr;
		gap: 48px;
	}
	
	.why-talk-head h2 {
		font-size: 2.2rem;
	}
	
	.why-talk-grid {
		grid-template-columns: 1fr;
		gap: 24px;
	}
	
	.faq-inner h3 {
		font-size: 2rem;
	}
}

@media (max-width:768px) {
	.container {
		padding: 0 24px;
	}
	
	.contact-hero {
		padding: 150px 0 70px;
	}
	
	.contact-hero-left h1 {
		font-size: 2.6rem;
	}
	
	.contact-hero-left .hero-sub {
		font-size: 1.05rem;
	}
	
	.contact-form-card {
		padding: 32px 24px;
	}
	
	.contact-form-card h3 {
		font-size: 1.5rem;
	}
	
	.form-row {
		grid-template-columns: 1fr;
		gap: 0;
	}
	
	.office-locations, .office-hours, .faq-preview {
		padding: 80px 0;
	}
	
	.office-head h2 {
		font-size: 2.2rem;
	}
	
	.office-card {
		padding: 40px 32px;
	}
	
	.office-card h3 {
		font-size: 1.6rem;
	}
	
	.why-talk {
		padding: 80px 0;
	}
	
	.why-talk-head h2 {
		font-size: 1.9rem;
	}
	
	.faq-inner h3 {
		font-size: 1.7rem;
	}
}

@media (max-width:480px) {
	.container {
		padding: 0 20px;
	}
	
	.contact-hero-left h1 {
		font-size: 2.2rem;
	}
	
	.office-head h2 {
		font-size: 1.8rem;
	}
	
	.office-card {
		padding: 36px 26px;
	}
	
	.office-card h3 {
		font-size: 1.4rem;
	}
	
	.why-card {
		padding: 36px 28px;
	}
	
	.trust-pills li {
		font-size: .82rem;
	}
}
