/* ==========================================================================
   Jed Glick Law Firm – Contact Page Layout Styles
   Covers: Contact Hero · Contact Info Bar
   ========================================================================== */

/* ==========================================================================
   Layout: Contact Hero
   Fixed 500px height. Video fills the container via object-fit: cover —
   it shows as much of the video as possible within that 500px.
   ========================================================================== */
.section-contact-hero {
	position: relative;
	height: 350px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	background-color: var(--color-navy);
	background-size: cover;
	background-position: center;
}

/* Video fills the 500px box — whatever fits within the height is shown */
.section-contact-hero__video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	z-index: 0;
}

/* Dark overlay */
.section-contact-hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(
		160deg,
		rgba(10, 18, 28, 0.75) 0%,
		rgba(15, 30, 48, 0.60) 100%
	);
	pointer-events: none;
	z-index: 1;
}

.section-contact-hero__inner {
	position: relative;
	z-index: 2;
	text-align: center;
	max-width: 720px;
	padding: 0 2rem;
	width: 100%;
}

.section-contact-hero__heading {
	font-family: var(--font-serif);
	font-size: clamp(2rem, 4.5vw, 3.5rem);
	font-weight: 500;
	color: var(--color-white);
	margin: 0 0 1rem;
	line-height: 1.15;
	letter-spacing: -0.02em;
}

.section-contact-hero__subheading {
	font-size: clamp(1rem, 1.8vw, 1.15rem);
	line-height: 1.75;
	color: rgba(255, 255, 255, 0.72);
	margin: 0;
	max-width: 520px;
	margin-inline: auto;
}

@media (max-width: 600px) {
	.section-contact-hero { height: 260px; }
}

/* ==========================================================================
   Layout: Contact Info Bar
   Dark navy strip that sits between the hero and the contact form.
   ========================================================================== */
.section-contact-bar {
	background: var(--color-navy-2);
	padding: 0 2rem;
}

.section-contact-bar__inner {
	max-width: var(--max-width);
	margin: 0 auto;
	display: flex;
	align-items: stretch;
	justify-content: space-between;
}

.section-contact-bar__item {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	padding: 2.25rem 2rem;
	border-right: 1px solid rgba(255, 255, 255, 0.07);
}

.section-contact-bar__item:first-child { padding-left: 0; }
.section-contact-bar__item:last-child  { border-right: none; }

.section-contact-bar__label {
	font-size: 0.6rem;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--color-gold);
}

.section-contact-bar__value {
	font-size: 0.9rem;
	color: rgba(255, 255, 255, 0.7);
	text-decoration: none;
	line-height: 1.6;
	transition: color 0.18s ease;
}

a.section-contact-bar__value:hover {
	color: var(--color-white);
}

@media (max-width: 780px) {
	.section-contact-bar__inner {
		flex-wrap: wrap;
	}
	.section-contact-bar__item {
		flex: 1 1 45%;
		padding: 1.75rem 1.5rem;
		border-right: none;
		border-bottom: 1px solid rgba(255, 255, 255, 0.07);
	}
	.section-contact-bar__item:first-child { padding-left: 1.5rem; }
	.section-contact-bar__item:nth-last-child(-n+2):last-child,
	.section-contact-bar__item:nth-last-child(-n+2) { border-bottom: none; }
}

@media (max-width: 480px) {
	.section-contact-bar__item { flex: 1 1 100%; }
	.section-contact-bar__item:last-child { border-bottom: none; }
}

/* ==========================================================================
   Jed Glick Law Firm – About Page Layout Styles
   Covers: Attorney Profile · Firm Values · Credentials · Why Choose Us
   Requires global.css + home.css for CSS custom properties and animations.
   ========================================================================== */

/* ==========================================================================
   Layout: Attorney Profile
   ========================================================================== */
.section-atty-profile {
	background: var(--color-white);
	padding: var(--section-v-pad) 2rem;
}

.section-atty-profile__inner {
	max-width: var(--max-width);
	margin: 0 auto;
	display: grid;
	grid-template-columns: 420px 1fr;
	gap: 6rem;
	align-items: start;
}

/* Photo column */
.section-atty-profile__photo-col {
	position: sticky;
	top: calc(var(--header-height) + 2rem);
}

.section-atty-profile__photo-wrap {
	position: relative;
	line-height: 0;
}

/* Decorative offset border behind photo */
.section-atty-profile__photo-wrap::before {
	content: '';
	position: absolute;
	inset: 1.5rem -1.5rem -1.5rem 1.5rem;
	border: 1px solid rgba(15, 25, 35, 0.12);
	z-index: 0;
}

.section-atty-profile__photo {
	position: relative;
	z-index: 1;
	width: 100%;
	height: auto;
	object-fit: cover;
	display: block;
	aspect-ratio: 4 / 5;
	object-position: top;
}

/* Content column */
.section-atty-profile__name {
	font-family: var(--font-serif);
	font-size: clamp(2rem, 3.5vw, 3rem);
	font-weight: 500;
	color: var(--color-navy);
	margin: 0 0 0.5rem;
	letter-spacing: -0.01em;
	line-height: 1.15;
}

.section-atty-profile__title {
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--color-gold);
	margin: 0 0 2.5rem;
}

.section-atty-profile__bio {
	font-size: 1.05rem;
	line-height: 1.9;
	color: var(--color-text-md);
	margin-bottom: 3rem;
}

.section-atty-profile__bio p { margin: 0 0 1.25rem; }
.section-atty-profile__bio p:last-child { margin-bottom: 0; }

/* Credentials */
.section-atty-profile__credentials {
	border-top: 1px solid rgba(15, 25, 35, 0.1);
	padding-top: 2rem;
}

.section-atty-profile__cred-label {
	display: block;
	font-size: 0.65rem;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--color-gold);
	margin-bottom: 1.25rem;
}

.section-atty-profile__cred-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
}

.section-atty-profile__cred-item {
	font-size: 0.9rem;
	color: var(--color-text-md);
	padding-left: 1.1rem;
	position: relative;
	line-height: 1.5;
}

.section-atty-profile__cred-item::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0.55em;
	width: 4px;
	height: 4px;
	background: var(--color-navy-2);
	border-radius: 50%;
}

@media (max-width: 900px) {
	.section-atty-profile__inner {
		grid-template-columns: 1fr;
		gap: 3rem;
	}
	.section-atty-profile__photo-col {
		position: static;
		max-width: 400px;
	}
	.section-atty-profile__photo-wrap::before {
		inset: 1rem -1rem -1rem 1rem;
	}
}

/* ==========================================================================
   Layout: Firm Values
   ========================================================================== */
.section-firm-values {
	background: var(--color-warm-bg);
	padding: var(--section-v-pad) 2rem;
}

.section-firm-values__inner {
	max-width: var(--max-width);
	margin: 0 auto;
}

.section-firm-values__header {
	text-align: center;
	max-width: 600px;
	margin: 0 auto 4rem;
}

.section-firm-values__heading {
	font-family: var(--font-serif);
	font-size: clamp(1.9rem, 3.5vw, 2.75rem);
	font-weight: 500;
	color: var(--color-navy);
	margin: 0 0 1.5rem;
	line-height: 1.2;
	position: relative;
	padding-bottom: 1.5rem;
}

.section-firm-values__heading::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 44px;
	height: 2px;
	background: var(--color-navy-2);
}

.section-firm-values__intro {
	font-size: 1.05rem;
	line-height: 1.8;
	color: var(--color-text-md);
	margin: 0;
}

.section-firm-values__grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 0;
}

.section-firm-values__card {
	padding: 3rem 3rem 3rem 0;
	border-right: 1px solid rgba(15, 25, 35, 0.12);
}

.section-firm-values__card:first-child { padding-left: 0; }
.section-firm-values__card:last-child  { border-right: none; padding-right: 0; }

.section-firm-values__num {
	display: block;
	font-family: var(--font-serif);
	font-size: clamp(3.5rem, 5vw, 5.5rem);
	font-weight: 300;
	line-height: 1;
	color: var(--color-navy);
	opacity: 0.15;
	margin-bottom: 1.5rem;
	letter-spacing: -0.03em;
}

.section-firm-values__card-title {
	font-family: var(--font-serif);
	font-size: 1.4rem;
	font-weight: 500;
	color: var(--color-navy);
	margin: 0 0 0.85rem;
	line-height: 1.3;
}

.section-firm-values__card-desc {
	font-size: 0.9rem;
	line-height: 1.8;
	color: var(--color-text-md);
	margin: 0;
}

@media (max-width: 700px) {
	.section-firm-values__grid { grid-template-columns: 1fr; }
	.section-firm-values__card {
		padding: 2.5rem 0;
		border-right: none;
		border-bottom: 1px solid rgba(15, 25, 35, 0.12);
	}
	.section-firm-values__card:first-child { padding-top: 0; }
	.section-firm-values__card:last-child  { border-bottom: none; padding-bottom: 0; }
}

/* ==========================================================================
   Layout: Credentials
   ========================================================================== */
.section-credentials {
	background: var(--color-navy);
	padding: var(--section-v-pad) 2rem;
}

.section-credentials__inner {
	max-width: var(--max-width);
	margin: 0 auto;
}

.section-credentials__heading {
	font-family: var(--font-serif);
	font-size: clamp(1.9rem, 3.5vw, 2.75rem);
	font-weight: 500;
	color: var(--color-white);
	margin: 0 0 3.5rem;
	line-height: 1.2;
	text-align: center;
	position: relative;
	padding-bottom: 1.5rem;
}

.section-credentials__heading::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 44px;
	height: 2px;
	background: var(--color-gold);
}

.section-credentials__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 3rem 4rem;
}

.section-credentials__group-label {
	font-size: 0.65rem;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--color-gold);
	margin: 0 0 1.5rem;
	padding-bottom: 0.85rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.section-credentials__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.section-credentials__item {
	font-size: 0.9rem;
	color: rgba(255, 255, 255, 0.65);
	line-height: 1.55;
	padding-left: 1rem;
	position: relative;
}

.section-credentials__item::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0.6em;
	width: 4px;
	height: 1px;
	background: var(--color-gold);
}

@media (max-width: 600px) {
	.section-credentials__grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

@media (max-width: 400px) {
	.section-credentials__grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Layout: Why Choose Us
   ========================================================================== */
.section-why-choose {
	background: var(--color-white);
	padding: var(--section-v-pad) 2rem;
}

.section-why-choose__inner {
	max-width: var(--max-width);
	margin: 0 auto;
}

.section-why-choose__header {
	max-width: 600px;
	margin: 0 auto 4rem;
	text-align: center;
}

.section-why-choose__heading {
	font-family: var(--font-serif);
	font-size: clamp(1.9rem, 3.5vw, 2.75rem);
	font-weight: 500;
	color: var(--color-navy);
	margin: 0 0 1.5rem;
	line-height: 1.2;
	position: relative;
	padding-bottom: 1.5rem;
}

.section-why-choose__heading::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 44px;
	height: 2px;
	background: var(--color-navy-2);
}

.section-why-choose__intro {
	font-size: 1.05rem;
	line-height: 1.8;
	color: var(--color-text-md);
	margin: 0;
}

.section-why-choose__grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.75rem;
}

.section-why-choose__card {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 3rem 2.5rem;
	border: 1px solid rgba(15, 25, 35, 0.09);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.section-why-choose__card:hover {
	border-color: rgba(15, 25, 35, 0.2);
	box-shadow: 0 4px 24px rgba(15, 25, 35, 0.07);
}

.section-why-choose__card-icon {
	width: 72px;
	height: 72px;
	margin-bottom: 1.75rem;
	flex-shrink: 0;
}

.section-why-choose__card-icon img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}

.section-why-choose__card-title {
	font-family: var(--font-serif);
	font-size: 1.35rem;
	font-weight: 500;
	color: var(--color-navy);
	margin: 0 0 0.85rem;
	line-height: 1.3;
}

.section-why-choose__card-desc {
	font-size: 0.9rem;
	line-height: 1.8;
	color: var(--color-text-md);
	margin: 0;
}

@media (max-width: 700px) {
	.section-why-choose__grid { grid-template-columns: 1fr; }
}
