/* ── Fonts (self-hosted) ── */
@font-face {
	font-family: 'Addington CF';
	src: url('../fonts/AddingtonCF-Regular.ttf') format('truetype');
	font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
	font-family: 'Addington CF';
	src: url('../fonts/AddingtonCF-Medium.ttf') format('truetype');
	font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
	font-family: 'Addington CF';
	src: url('../fonts/AddingtonCF-DemiBold.ttf') format('truetype');
	font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
	font-family: 'Addington CF';
	src: url('../fonts/AddingtonCF-Bold.ttf') format('truetype');
	font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
	font-family: 'Avenir Next LT Pro';
	src: url('../fonts/AvenirNextLTPro-Regular.otf') format('opentype');
	font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
	font-family: 'Avenir Next LT Pro';
	src: url('../fonts/AvenirNextLTPro-It.otf') format('opentype');
	font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
	font-family: 'Avenir Next LT Pro';
	src: url('../fonts/AvenirNextLTPro-Bold.otf') format('opentype');
	font-weight: 700; font-style: normal; font-display: swap;
}

/* ── Variables ── */
:root {
	--green:       #15463F;
	--navy:        #1E2D43;
	--sage:        #8BA281;
	--brown:       #70442C;
	--gold:        #C9A24C;
	--light-green: #a6d994;
	--cream:       #F0EFEB;
	--brown:       #70442C;
	--frame:       #15463F;   /* wide-screen side gutters; audition: green / navy / brown */
	--white:       #FFFFFF;

	--font-serif: 'Addington CF', Georgia, serif;
	--font-sans:  'Avenir Next LT Pro', 'Helvetica Neue', Arial, sans-serif;

	--max-w: 1200px;
	--nav-h: 72px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; background-color: var(--frame); }
body  { font-family: var(--font-sans); font-size: 16px; color: var(--navy); background-color: var(--cream); background-image: url('../img/practice-bg.png'); background-size: cover; background-position: center; background-attachment: fixed; -webkit-font-smoothing: antialiased; }
img   { display: block; max-width: 100%; }
a     { color: inherit; text-decoration: none; }

.container {
	width: 100%;
	max-width: var(--max-w);
	margin-inline: auto;
	padding-inline: 2rem;
}

/* Header */
header {
	position: fixed;
	top: 0; left: 0; right: 0;
	z-index: 100;
	height: var(--nav-h);
	background-color: var(--green);
}

header .container {
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
}

.nav-logo img { height: 42px; width: auto; }
.nav-logo--wide { display: none; }
@media (min-width: 1301px) {
	.nav-logo--compact { display: none; }
	.nav-logo--wide    { display: block; }
}

/* Language toggle */
.toggle-wrap {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-family: var(--font-sans);
	font-size: 0.82rem;
	font-weight: 700;
	color: var(--white);
	letter-spacing: 0.06em;
	cursor: pointer;
}
.toggle-wrap input { display: none; }
.toggle-track {
	position: relative;
	width: 42px; height: 22px;
	background: var(--white);
	border-radius: 11px;
}
.toggle-track::after {
	content: '';
	position: absolute;
	top: 3px; left: 3px;
	width: 16px; height: 16px;
	background: var(--light-green);
	border-radius: 50%;
	transition: transform .2s;
}
.toggle-wrap input:checked + .toggle-track::after { transform: translateX(20px); }

.nav-right {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	color: var(--white);
	font-size: 1rem;
}
.nav-book-link { display: flex; align-items: center; gap: 0.6rem; transition: opacity .2s; }
.nav-book-link:hover { opacity: 0.75; }
.nav-book { opacity: 0.85; font-size: 1.05rem; }
.nav-tel  { font-weight: 700; font-size: 1.1rem; color: var(--light-green); }

.nav-hamburger {
	display: none;
	flex-direction: column;
	gap: 5px;
	cursor: pointer;
	background: none;
	border: none;
	padding: 4px;
}
.nav-hamburger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; }

/* Wrapper: transparent on desktop, dropdown panel on mobile */
.nav-collapse { display: contents; }

/* Hero */
#hero {
	position: relative;
	min-height: 100vh;
	padding-top: var(--nav-h);
	overflow: hidden;
	background-color: var(--navy);
}

/* Wall photo: always glued to right, full section height, auto width */
.hero-wall {
	position: absolute;
	top: 72px;
	right: 0;
	height: 100%;
	width: auto;
	z-index: 0;
	display: block;
	pointer-events: none;
	/* Ensure it covers from header bottom down */
	object-fit: cover;
	object-position: left center;
}

/* Dark shape over wall, left side only, top-right radius */
.hero-shape {
	position: absolute;
	top: 0;
	left: 0;
	width: 45%;
	height: 100%;
	background-color: var(--navy);
	background-image: url('../img/bg-hero-dark.png');
	background-size: cover;
	background-position: center;
	border-top-right-radius: 40% 50%;
	z-index: 1;
	pointer-events: none;
}

/* Content: left side, inside the shape */
.hero-content {
	position: relative;
	z-index: 3;
	display: flex;
	flex-direction: column;
	justify-content: center;
	width: 48%;
	min-height: calc(100vh - var(--nav-h));
	padding: 4rem 3rem 4rem 4rem;
	color: var(--white);
}

.hero-photo {
	position: absolute;
	bottom: -32px;
	left: 33%;
	width: 83vmin;
	z-index: 2;
	display: block;
}
.hero-photo img {
	width: 100%;
	height: auto;
	display: block;
	object-fit: contain;
	object-position: bottom center;
}

.hero-content h1 {
	font-family: var(--font-serif);
	font-size: clamp(2.4rem, 4vw, 3.8rem);
	font-weight: 700;
	line-height: 1.12;
	margin-bottom: 1.25rem;
}

.hero-body {
	font-size: clamp(1rem, 1.4vw, 1.15rem);
	font-weight: 600;
	line-height: 1.75;
	max-width: 44ch;
	opacity: 0.95;
	margin-bottom: 0.75rem;
}

.hero-bilingual {
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--light-green);
	margin-bottom: 2rem;
}

.btn-cta {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	align-self: flex-start;
	background: rgba(21, 70, 63, 0.8);
	color: var(--white);
	font-family: var(--font-sans);
	font-size: 0.95rem;
	font-weight: 600;
	padding: 0.8rem 1.5rem;
	border-radius: 50px;
	border: 1px solid rgba(139,162,129,0.4);
	transition: background .2s, transform .15s;
}
.btn-cta:hover { background: var(--green); transform: translateY(-1px); }

.btn-arrow {
	display: flex; align-items: center; justify-content: center;
	width: 30px; height: 30px;
	background: var(--sage);
	border-radius: 50%;
	flex-shrink: 0;
}
/* Practice Areas */
#practice-areas {
	background-color: transparent;
	padding: 5rem 0;
}

.section-title {
	font-family: var(--font-serif);
	font-size: clamp(1.8rem, 2.8vw, 2.6rem);
	font-weight: 600;
	text-align: center;
	color: var(--navy);
	margin-bottom: 3rem;
}
.section-title::after {
	content: '';
	display: block;
	width: 56px; height: 3px;
	margin: 1rem auto 0;
	background: var(--brown);
	border-radius: 2px;
}

.cards-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.5rem;
}

/* All cards identical — white bg, navy text, hover = green */
.card {
	background-color: var(--white);
	border: 1px solid rgba(21,70,63,0.12);
	border-radius: 3px;
	padding: 2.25rem 1.75rem;
	text-align: center;
	transition: background-color .25s, color .25s, border-color .25s, transform .2s, box-shadow .2s;
}
.card:hover {
	background-color: var(--green);
	background-image: url('../img/bg-practice-green.png');
	background-size: cover;
	background-position: center;
	border-color: var(--green);
	transform: translateY(-2px);
	box-shadow: 0 8px 28px rgba(21,70,63,0.2);
}

.card-icon {
	width: 48px; height: 48px;
	margin: 0 auto 1.25rem;
	color: var(--green);
	transition: color .25s;
}
.card:hover .card-icon { color: var(--sage); }

.card-icon svg { width: 100%; height: 100%; stroke: currentColor; fill: none; stroke-width: 1.5; }
.card-icon--fill svg { stroke: none; fill: currentColor; }

.card h3 {
	font-family: var(--font-serif);
	font-size: 1.25rem;
	font-weight: 600;
	color: var(--navy);
	margin-bottom: 0.75rem;
	transition: color .25s;
}
.card:hover h3 { color: var(--gold); }

.card p {
	font-size: 0.95rem;
	line-height: 1.7;
	color: #555;
	transition: color .25s;
}
.card:hover p { color: rgba(255,255,255,0.85); }

/* Why Choose */
#why-choose {
	background-color: var(--green);
	background-image: url('../img/bg-why-green.png');
	background-size: cover;
	background-position: center;
	padding: 5rem 0;
	color: var(--white);
}

#why-choose .section-title { color: var(--white); }
#why-choose .section-title::after { background: var(--gold); }

.why-layout {
	display: grid;
	grid-template-columns: 1fr 220px 1fr;
	gap: 3rem;
	align-items: center;
}

.why-col { display: flex; flex-direction: column; }

.why-item {
	padding-bottom: 2rem;
	margin-bottom: 2rem;
	border-bottom: 1px solid rgba(255,255,255,0.1);
}
.why-item:last-child { padding-bottom: 0; margin-bottom: 0; border-bottom: none; }

.why-item p.why-item-title {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	font-family: var(--font-serif);
	font-size: 1.45rem;
	font-weight: 600;
	color: var(--sage);
	margin-bottom: 0.65rem;
	opacity: 1;
}
.why-icon {
	flex-shrink: 0;
	width: 26px; height: 26px;
	object-fit: contain;
}

.why-item p { font-size: 1.08rem; line-height: 1.65; opacity: 0.85; }

.why-center {
	background: var(--navy);
	aspect-ratio: 2/3;
	border-radius: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 12% 14%;
	box-shadow: 0 22px 50px rgba(0,0,0,0.34);
}
.why-mark { width: 62%; height: auto; object-fit: contain; }

/* Get Started */
#get-started {
	background-color: transparent;
	padding: 5rem 0;
}

.gs-layout {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4rem;
	align-items: center;
}

.gs-left h2 {
	font-family: var(--font-serif);
	font-size: clamp(2rem, 3vw, 2.8rem);
	font-weight: 600;
	color: var(--navy);
	line-height: 1.2;
	margin-bottom: 1rem;
}
.gs-left h2::after {
	content: '';
	display: block;
	width: 56px; height: 3px;
	margin-top: 1rem;
	background: var(--brown);
	border-radius: 2px;
}

.gs-left p.gs-sub {
	font-size: 0.95rem;
	line-height: 1.75;
	color: #444;
	max-width: 38ch;
	margin-bottom: 1.75rem;
}

.btn-call {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	background-color: var(--green);
	color: var(--white);
	font-family: var(--font-sans);
	font-size: 0.95rem;
	font-weight: 700;
	padding: 0.8rem 1.6rem;
	border-radius: 50px;
	transition: background-color .2s, transform .15s;
}
.btn-call:hover { background-color: #0f3329; transform: translateY(-1px); }

.contact-list {
	list-style: none;
	margin-top: 2rem;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}
.contact-list li {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	font-weight: 600;
	font-size: 0.95rem;
	color: var(--navy);
}
.contact-list a { transition: color .15s; }
.contact-list a:hover { color: var(--green); }
.contact-icon { color: var(--green); flex-shrink: 0; }

.gs-right { display: flex; flex-direction: column; gap: 1.25rem; }

.office-photo {
	border-radius: 3px;
	overflow: hidden;
	aspect-ratio: 16/9;
}
.office-photo img { width: 100%; height: 100%; object-fit: cover; }

/* Compact branded Instagram card — green + gold */
.ig-card {
	display: flex;
	align-items: center;
	gap: 0.9rem;
	text-decoration: none;
	background-color: var(--green);
	border: 1px solid var(--gold);
	border-radius: 6px;
	padding: 0.85rem 1rem;
	transition: box-shadow .2s ease, transform .2s ease;
}
.ig-card:hover { box-shadow: 0 10px 26px rgba(21,70,63,.28); transform: translateY(-2px); }
.ig-card__mark { flex-shrink: 0; width: 38px; height: 38px; display: grid; place-items: center; }
.ig-card__mark img { width: 100%; height: 100%; object-fit: contain; }
.ig-card__mark--avatar { border-radius: 50%; overflow: hidden; border: 1.5px solid var(--gold); }
.ig-card__mark--avatar img { object-fit: cover; }
.ig-card__body { display: flex; flex-direction: column; gap: 3px; margin-right: auto; }
.ig-card__name {
	font-family: var(--font-serif);
	font-weight: 600; font-size: 1.02rem;
	color: var(--cream); letter-spacing: .01em; line-height: 1;
}
.ig-card__follow {
	display: flex; align-items: center; gap: .4rem;
	font-size: .68rem; font-weight: 700;
	letter-spacing: .14em; text-transform: uppercase;
	color: var(--gold);
}
.ig-card__follow svg { width: 13px; height: 13px; }
.ig-card__handle {
	flex-shrink: 0;
	font-weight: 700; font-size: .82rem;
	color: var(--green); background: var(--gold);
	padding: .42rem .8rem; border-radius: 999px;
	white-space: nowrap;
}

/* Footer */
footer {
	background-color: var(--green);
	padding: 2.5rem 1rem 1.5rem;
	color: var(--white);
	text-align: center;
}
.footer-logo   { width: auto; max-width: 88%; margin: 0 auto 1.25rem; height: 32px; }
.footer-copy   { font-size: 0.78rem; opacity: 0.7; margin-bottom: 0.875rem; }
.footer-disc   { font-size: 0.68rem; opacity: 0.5; max-width: 70ch; margin-inline: auto; line-height: 1.65; }
.footer-links  { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; margin-top: 1.25rem; }
.footer-links a { font-size: 0.78rem; opacity: 0.7; color: var(--white); transition: color .15s, opacity .15s; }
.footer-links a:hover { color: var(--sage); opacity: 1; }
.footer-adv { font-size: 0.62rem; opacity: 0.45; max-width: 70ch; margin: 1rem auto 0; line-height: 1.6; letter-spacing: 0.02em; }

/* ── Responsive — 4 tiers ──
   ① Mobile  ≤ 850px
   ② Mid     851–1300px
   ③ Normal  1301–3100px  (base styles, no query)
   ④ Wide    > 3100px
   ─────────────────────────── */

/* ① Mobile ≤ 850px — office-wall hero scene, hamburger, single column */
@media (max-width: 850px) {
	#hero { min-height: 100svh; overflow: hidden; }

	.hero-wall {
		display: block;
		top: var(--nav-h);
		left: 0; right: auto;
		width: 100%;
		height: 56svh;
		object-fit: cover;
		object-position: center 82%;
		z-index: 0;
	}
	.hero-photo {
		left: 50%;
		transform: translateX(-50%);
		top: calc(var(--nav-h) + 15svh);
		bottom: auto;
		width: 110vw;
		max-width: 560px;
		z-index: 2;
	}
	.hero-shape { display: none; }
	.hero-content {
		width: 100%;
		min-height: auto;
		margin-top: 56svh;
		padding: 1.75rem 1.5rem 3rem;
		text-align: center;
		align-items: center;
		justify-content: flex-start;
		background-color: var(--navy);
		background-image: url('../img/bg-hero-dark.png');
		background-size: cover;
		background-position: center;
	}
	.hero-body { max-width: 100%; }
	.btn-cta   { align-self: center; }

	.nav-hamburger { display: flex; }
	.nav-collapse {
		display: none;
		position: absolute;
		top: var(--nav-h); left: 0; right: 0;
		flex-direction: column;
		align-items: center;
		gap: 1.1rem;
		background: var(--green);
		padding: 1.5rem 0 1.75rem;
		box-shadow: 0 14px 26px rgba(0,0,0,0.18);
	}
	header.nav-open .nav-collapse { display: flex; }
	.nav-right { flex-direction: column; gap: 0.5rem; }

	.container  { padding-inline: 1.5rem; }
	.cards-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
	.why-layout { grid-template-columns: 1fr; }
	.why-center { max-width: 260px; margin-inline: auto; order: -1; }
	.gs-layout  { grid-template-columns: 1fr; }
	
	@media (max-width: 850px) {
		.why-center  { width: 100%; padding: 0; }
		.why-mark    { width: 62%; height: auto; }
	}
}

/* ② Mid 851–1300px — normal header, mobile-style hero scene, cards to 2 columns */
@media (min-width: 851px) and (max-width: 1300px) {
	.cards-grid { grid-template-columns: repeat(2, 1fr); max-width: 760px; margin-inline: auto; }

	/* hero: office-wall scene (same as mobile), but header stays normal */
	#hero { min-height: 100svh; overflow: hidden; }
	.hero-wall {
		display: block;
		top: var(--nav-h);
		left: 0; right: auto;
		width: 100%;
		height: 56svh;
		object-fit: cover;
		object-position: center 82%;
		z-index: 0;
	}
	.hero-photo {
		left: 30%;
		transform: translateX(-50%);
		top: calc(var(--nav-h) + 12svh);
		bottom: auto;
		width: auto;
		max-width: none;
		z-index: 2;
	}
	.hero-photo img { height: 46svh; width: auto; max-width: 92vw; }
	.hero-shape { display: none; }
	.hero-content {
		width: 100%;
		min-height: auto;
		margin-top: 56svh;
		padding: 1.75rem 1.5rem 3rem;
		text-align: center;
		align-items: center;
		justify-content: flex-start;
		background-color: var(--navy);
		background-image: url('../img/bg-hero-dark.png');
		background-size: cover;
		background-position: center;
	}
	.hero-body { max-width: 100%; }
	.btn-cta   { align-self: center; }
}

/* ③ Large 1301–1600px — keep desktop split hero, but frame the wall as a
   fixed-width cover box so the brand logo stays clear of the navy shape */
@media (min-width: 1301px) and (max-width: 1600px) {
	.hero-wall { width: 76%; object-position: center 32%; }
}

/* ④ Wide > 1920px — cap and center; --frame fills the side gutters */
@media (min-width: 1921px) {
	body { max-width: 1920px; margin-inline: auto; box-shadow: 0 0 60px rgba(0,0,0,0.28); }
	header { left: 50%; right: auto; transform: translateX(-50%); width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after    { transition: none !important; }
	html                      { scroll-behavior: auto; }
}
