/*
Theme Name: Kissire Law
Theme URI: https://kissirelaw.com
Author: Kissire Law Group
Author URI: https://kissirelaw.com
Description: A professional WordPress theme for Kissire Law Group, a personal injury law firm. Clean, trustworthy design with red and black brand colors.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kissire-law
Tags: one-column, two-columns, custom-logo, custom-menu, featured-images, footer-widgets, full-width-template
*/

/* ==========================================================================
   CSS Custom Properties
   ========================================================================== */

:root {
	--primary: #9B1B1E;
	--primary-dark: #7A1517;
	--black: #2D2D2D;
	--dark: #2D2D2D;
	--gray: #555;
	--light-gray: #F0EEEB;
	--white: #FAF8F5;
	--accent: #D4A574;
	--pure-white: #fff;
	--font-heading: 'Raleway', sans-serif;
	--font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	--max-width: 1200px;
	--header-height: 130px;
	--transition: 0.3s ease;
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */

*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	font-size: 16px;
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body {
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.6;
	color: var(--dark);
	background-color: var(--white);
	overflow-x: hidden;
}

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

a {
	color: var(--primary);
	text-decoration: none;
	transition: color var(--transition);
}

a:hover {
	color: var(--primary-dark);
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-heading);
	font-weight: 700;
	line-height: 1.2;
	color: var(--black);
	margin-bottom: 0.5em;
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
	margin-bottom: 1em;
}

ul, ol {
	margin-bottom: 1em;
	padding-left: 1.5em;
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.container {
	width: 100%;
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 0 20px;
}

.section-padding {
	padding: 80px 0;
}

.section-header {
	text-align: center;
	margin-bottom: 50px;
}

.section-header h2 {
	font-size: 2.25rem;
	margin-bottom: 15px;
	color: var(--black);
}

.section-header p {
	font-size: 1.125rem;
	color: var(--gray);
	max-width: 600px;
	margin: 0 auto;
}

.text-center {
	text-align: center;
}

.text-primary {
	color: var(--primary);
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
	display: inline-block;
	padding: 14px 32px;
	font-size: 1rem;
	font-weight: 600;
	font-family: var(--font-body);
	text-align: center;
	text-decoration: none;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	transition: all var(--transition);
	line-height: 1.4;
}

.btn-primary {
	background-color: var(--primary);
	color: var(--white);
}

.btn-primary:hover {
	background-color: var(--primary-dark);
	color: var(--white);
}

.btn-secondary {
	background-color: var(--black);
	color: var(--white);
}

.btn-secondary:hover {
	background-color: #333;
	color: var(--white);
}

.btn-outline {
	background-color: transparent;
	color: var(--white);
	border: 2px solid var(--white);
}

.btn-outline:hover {
	background-color: var(--white);
	color: var(--black);
}

.btn-large {
	padding: 18px 40px;
	font-size: 1.125rem;
}

/* ==========================================================================
   Top Bar
   ========================================================================== */

.top-bar {
	background-color: var(--black);
	color: var(--white);
	padding: 8px 0;
	font-size: 0.875rem;
	border-bottom: 1px solid #333;
}

.top-bar .container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 15px;
}

.top-bar a {
	color: var(--white);
	text-decoration: none;
}

.top-bar a:hover {
	color: var(--primary);
}

.top-bar__phone {
	font-weight: 600;
}

.top-bar__phone span {
	color: var(--primary);
	margin-right: 5px;
}

.top-bar__consult {
	background-color: var(--primary);
	color: var(--white);
	padding: 4px 16px;
	border-radius: 3px;
	font-weight: 600;
	transition: background-color var(--transition);
}

.top-bar__consult:hover {
	background-color: var(--primary-dark);
	color: var(--white);
}

/* ==========================================================================
   Header / Navigation
   ========================================================================== */

/* Logo Bar */
.logo-bar {
	background-color: var(--pure-white);
	padding: 10px 0;
	text-align: center;
	border-bottom: 1px solid #e8e6e3;
}

.logo-bar .site-logo-link {
	display: inline-block;
}

.logo-bar .site-logo {
	max-height: 160px;
	width: auto;
	transition: opacity var(--transition);
}

.logo-bar .site-logo-link:hover .site-logo {
	opacity: 0.85;
}

/* Navigation Bar */
.site-header {
	background-color: var(--black);
	position: sticky;
	top: 0;
	z-index: 1000;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
	border-top: 2px solid var(--accent);
}

.site-header .container {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 50px;
}

.primary-navigation {
	display: flex;
	align-items: center;
}

.primary-navigation .menu {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 5px;
}

.primary-navigation .menu li {
	position: relative;
}

.primary-navigation .menu a {
	display: block;
	padding: 10px 15px;
	color: var(--white);
	font-size: 0.9375rem;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	transition: color var(--transition);
}

.primary-navigation .menu a:hover,
.primary-navigation .menu .current-menu-item > a {
	color: var(--primary);
}

.primary-navigation .menu .sub-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	background-color: var(--black);
	min-width: 220px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
	z-index: 100;
	padding: 8px 0;
}

.primary-navigation .menu li:hover > .sub-menu {
	display: block;
}

.primary-navigation .menu .sub-menu a {
	padding: 8px 20px;
	font-size: 0.875rem;
	text-transform: none;
}

/* Header Phone */
.header-phone {
	display: none;
	align-items: center;
	gap: 8px;
	margin-left: 20px;
	color: var(--white);
	font-weight: 600;
	font-size: 1rem;
}

.header-phone span {
	color: var(--primary);
}

/* Mobile Menu Toggle */
.menu-toggle {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	padding: 10px;
	z-index: 1001;
}

.menu-toggle .bar {
	display: block;
	width: 25px;
	height: 3px;
	background-color: var(--white);
	margin: 5px 0;
	transition: all var(--transition);
	border-radius: 2px;
}

.menu-toggle.active .bar:nth-child(1) {
	transform: rotate(45deg) translate(5px, 6px);
}

.menu-toggle.active .bar:nth-child(2) {
	opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
	transform: rotate(-45deg) translate(5px, -6px);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
	position: relative;
	min-height: 600px;
	display: flex;
	align-items: center;
	background: linear-gradient(135deg, rgba(45, 45, 45, 0.95) 0%, rgba(155, 27, 30, 0.08) 100%),
		linear-gradient(to bottom, #2D2D2D, #3a3a3a);
	background-size: cover;
	background-position: center;
	color: var(--white);
	overflow: hidden;
}

.hero::before {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 100px;
	background: linear-gradient(to top, var(--white), transparent);
	z-index: 1;
}

.hero .container {
	position: relative;
	z-index: 2;
}

.hero__content {
	max-width: 700px;
}

.hero h1 {
	font-size: 3.5rem;
	color: var(--white);
	margin-bottom: 20px;
	line-height: 1.1;
}

.hero__title-bold {
	font-weight: 800;
	color: var(--white);
}

.hero__title-light {
	font-weight: 100;
	color: rgba(255, 255, 255, 0.55);
}

.hero__subtitle {
	font-size: 1.25rem;
	color: rgba(255, 255, 255, 0.85);
	margin-bottom: 35px;
	line-height: 1.6;
}

.hero__actions {
	display: flex;
	align-items: center;
	gap: 20px;
	flex-wrap: wrap;
}

.hero__phone {
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--white);
}

.hero__phone:hover {
	color: var(--primary);
}

/* ==========================================================================
   Trust Bar
   ========================================================================== */

.trust-bar {
	background-color: var(--black);
	padding: 25px 0;
	border-bottom: 3px solid var(--accent);
}

.trust-bar__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	text-align: center;
}

.trust-bar__item {
	color: var(--white);
	padding: 10px;
}

.trust-bar__number {
	display: block;
	font-family: var(--font-heading);
	font-size: 1.75rem;
	font-weight: 700;
	color: var(--accent);
	margin-bottom: 5px;
}

.trust-bar__label {
	font-size: 0.875rem;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: rgba(255, 255, 255, 0.8);
}

/* ==========================================================================
   Practice Areas
   ========================================================================== */

.practice-areas {
	background-color: var(--white);
}

.practice-areas__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
}

.practice-card {
	background-color: var(--white);
	border: 1px solid #e5e5e5;
	border-top: 4px solid transparent;
	border-radius: 4px;
	padding: 35px 30px;
	text-align: center;
	transition: all var(--transition);
}

.practice-card:hover {
	border-top-color: var(--accent);
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
	transform: translateY(-5px);
}

.practice-card__icon {
	font-size: 2.5rem;
	margin-bottom: 20px;
	display: block;
}

.practice-card h3 {
	font-size: 1.25rem;
	margin-bottom: 12px;
	color: var(--black);
}

.practice-card p {
	font-size: 0.9375rem;
	color: var(--gray);
	margin-bottom: 20px;
}

.practice-card__link {
	font-size: 0.875rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: var(--primary);
}

.practice-card__link:hover {
	color: var(--primary-dark);
}

/* ==========================================================================
   Case Results
   ========================================================================== */

.case-results {
	background-color: var(--light-gray);
}

.case-results__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
}

.result-card {
	background-color: var(--white);
	padding: 40px 30px;
	text-align: center;
	border-radius: 4px;
	box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
	transition: all var(--transition);
}

.result-card:hover {
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
	transform: translateY(-3px);
}

.result-card__amount {
	font-family: var(--font-heading);
	font-size: 2.5rem;
	font-weight: 700;
	color: var(--primary);
	margin-bottom: 10px;
	line-height: 1;
}

.result-card__type {
	font-size: 1.125rem;
	font-weight: 600;
	color: var(--black);
	margin-bottom: 8px;
}

.result-card__desc {
	font-size: 0.875rem;
	color: var(--gray);
	margin: 0;
}

/* ==========================================================================
   About / Attorney Section
   ========================================================================== */

.about-attorney {
	background-color: var(--white);
}

.about-attorney__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	align-items: center;
}

.about-attorney__image {
	background-color: #ddd;
	border-radius: 4px;
	overflow: hidden;
	aspect-ratio: 4 / 5;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--gray);
	font-size: 1.125rem;
	border: 2px solid #e5e5e5;
}

.about-attorney__content h2 {
	font-size: 2.25rem;
	margin-bottom: 20px;
}

.about-attorney__content p {
	color: var(--gray);
	margin-bottom: 15px;
}

.credentials-list {
	list-style: none;
	padding: 0;
	margin-bottom: 30px;
}

.credentials-list li {
	position: relative;
	padding-left: 25px;
	margin-bottom: 10px;
	color: var(--dark);
	font-weight: 500;
}

.credentials-list li::before {
	content: '\2713';
	position: absolute;
	left: 0;
	color: var(--accent);
	font-weight: 700;
}

/* ==========================================================================
   Testimonials
   ========================================================================== */

.testimonials {
	background-color: var(--light-gray);
}

.testimonials__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
}

.testimonial-card {
	background-color: var(--white);
	padding: 35px 30px;
	border-radius: 4px;
	box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
	position: relative;
}

.testimonial-card::before {
	content: '\201C';
	font-family: var(--font-heading);
	font-size: 4rem;
	color: var(--primary);
	opacity: 0.2;
	position: absolute;
	top: 10px;
	left: 20px;
	line-height: 1;
}

.testimonial-card__stars {
	margin-bottom: 15px;
}

.testimonial-card__stars .star {
	color: var(--accent);
	font-size: 1.125rem;
}

.testimonial-card__quote {
	font-style: italic;
	color: var(--gray);
	margin-bottom: 20px;
	line-height: 1.7;
	position: relative;
	z-index: 1;
}

.testimonial-card__author {
	font-weight: 700;
	color: var(--black);
	margin-bottom: 3px;
}

.testimonial-card__case {
	font-size: 0.8125rem;
	color: var(--gray);
	margin: 0;
}

/* ==========================================================================
   Trust Badges
   ========================================================================== */

.trust-badges {
	background-color: var(--white);
	text-align: center;
}

.trust-badges__grid {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 40px;
	flex-wrap: wrap;
	margin-top: 30px;
}

.badge-placeholder {
	width: 120px;
	height: 80px;
	background-color: var(--light-gray);
	border: 1px solid #e5e5e5;
	border-radius: 4px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.75rem;
	color: var(--gray);
	text-align: center;
	padding: 10px;
}

/* ==========================================================================
   CTA Banner
   ========================================================================== */

.cta-banner {
	background-color: var(--primary);
	color: var(--white);
	padding: 60px 0;
	text-align: center;
}

.cta-banner h2 {
	color: var(--white);
	font-size: 2.25rem;
	margin-bottom: 15px;
}

.cta-banner p {
	font-size: 1.125rem;
	opacity: 0.9;
	margin-bottom: 30px;
}

.cta-banner__phone {
	display: block;
	font-family: var(--font-heading);
	font-size: 2rem;
	font-weight: 700;
	color: var(--white);
	margin-bottom: 25px;
}

.cta-banner__phone:hover {
	color: var(--black);
}

.cta-banner .btn-outline {
	border-width: 2px;
	padding: 16px 40px;
	font-size: 1.0625rem;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */

.contact-section {
	background-color: var(--light-gray);
}

.contact-section__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
}

.contact-info h2 {
	margin-bottom: 20px;
}

.contact-info p {
	color: var(--gray);
	margin-bottom: 25px;
}

.contact-details {
	list-style: none;
	padding: 0;
}

.contact-details li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin-bottom: 18px;
	color: var(--dark);
}

.contact-details li strong {
	min-width: 60px;
	color: var(--black);
}

.contact-form {
	background-color: var(--white);
	padding: 40px;
	border-radius: 4px;
	box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
}

.contact-form h3 {
	margin-bottom: 25px;
	color: var(--black);
}

.form-group {
	margin-bottom: 20px;
}

.form-group label {
	display: block;
	font-weight: 600;
	font-size: 0.875rem;
	margin-bottom: 6px;
	color: var(--dark);
}

.form-group input,
.form-group textarea,
.form-group select {
	width: 100%;
	padding: 12px 16px;
	font-size: 1rem;
	font-family: var(--font-body);
	border: 1px solid #ddd;
	border-radius: 4px;
	transition: border-color var(--transition);
	background-color: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
	outline: none;
	border-color: var(--primary);
	box-shadow: 0 0 0 3px rgba(155, 27, 30, 0.1);
}

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

.form-submit {
	margin-top: 10px;
}

.form-submit .btn {
	width: 100%;
	padding: 16px;
	font-size: 1.0625rem;
}

.form-group select {
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23555' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 16px center;
	padding-right: 40px;
}

.form-message {
	padding: 16px 20px;
	border-radius: 4px;
	margin-bottom: 25px;
	font-size: 0.9375rem;
	line-height: 1.5;
}

.form-message--success {
	background-color: #eaf7ee;
	border: 1px solid #4caf50;
	color: #2e7d32;
}

.form-message--error {
	background-color: #fdecea;
	border: 1px solid #f44336;
	color: #c62828;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
	background-color: var(--black);
	color: rgba(255, 255, 255, 0.7);
}

.footer-main {
	padding: 60px 0 40px;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr;
	gap: 40px;
}

.footer-col h4 {
	color: var(--white);
	font-family: var(--font-body);
	font-size: 1rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin-bottom: 20px;
	position: relative;
	padding-bottom: 12px;
}

.footer-col h4::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 40px;
	height: 2px;
	background-color: var(--accent);
}

.footer-logo {
	max-height: 100px;
	width: auto;
	margin-bottom: 15px;
	border-radius: 6px;
}

.footer-logo-link:hover .footer-logo {
	opacity: 0.8;
}

.footer-about p {
	font-size: 0.9375rem;
	line-height: 1.7;
	margin-bottom: 15px;
}

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

.footer-contact-list li {
	margin-bottom: 10px;
	font-size: 0.9375rem;
}

.footer-contact-list a {
	color: rgba(255, 255, 255, 0.7);
}

.footer-contact-list a:hover {
	color: var(--primary);
}

.footer-col ul:not(.footer-contact-list) {
	list-style: none;
	padding: 0;
	margin: 0;
}

.footer-col ul:not(.footer-contact-list) li {
	margin-bottom: 10px;
}

.footer-col ul:not(.footer-contact-list) a {
	color: rgba(255, 255, 255, 0.7);
	font-size: 0.9375rem;
	transition: all var(--transition);
	position: relative;
	padding-left: 15px;
}

.footer-col ul:not(.footer-contact-list) a::before {
	content: '\203A';
	position: absolute;
	left: 0;
	color: var(--primary);
	font-weight: 700;
}

.footer-col ul:not(.footer-contact-list) a:hover {
	color: var(--primary);
	padding-left: 20px;
}

.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding: 20px 0;
	text-align: center;
	font-size: 0.8125rem;
}

.footer-bottom p {
	margin-bottom: 5px;
}

.footer-disclaimer {
	font-size: 0.75rem;
	opacity: 0.5;
	max-width: 700px;
	margin: 0 auto;
}

/* ==========================================================================
   Mobile Fixed Bottom Nav
   ========================================================================== */

.mobile-bottom-nav {
	display: none;
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background-color: var(--black);
	z-index: 9999;
	box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
	border-top: 2px solid var(--primary);
}

.mobile-bottom-nav__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
}

.mobile-bottom-nav__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 10px 5px;
	color: var(--white);
	text-decoration: none;
	font-size: 0.6875rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	transition: background-color var(--transition);
	border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-bottom-nav__item:last-child {
	border-right: none;
}

.mobile-bottom-nav__item:hover {
	background-color: var(--primary);
	color: var(--white);
}

.mobile-bottom-nav__item .dashicons {
	font-size: 1.25rem;
	margin-bottom: 3px;
	width: 20px;
	height: 20px;
}

.mobile-bottom-nav__item--consult {
	background-color: var(--primary);
}

.mobile-bottom-nav__item--consult:hover {
	background-color: var(--primary-dark);
}

/* ==========================================================================
   Blog / Archive Styles
   ========================================================================== */

.content-area {
	padding: 60px 0;
}

.content-wrapper {
	max-width: 800px;
	margin: 0 auto;
}

.page-header {
	margin-bottom: 40px;
	padding-bottom: 20px;
	border-bottom: 2px solid var(--light-gray);
}

article.post {
	margin-bottom: 50px;
	padding-bottom: 50px;
	border-bottom: 1px solid #e5e5e5;
}

article.post:last-child {
	border-bottom: none;
}

.entry-title {
	font-size: 2rem;
	margin-bottom: 10px;
}

.entry-title a {
	color: var(--black);
}

.entry-title a:hover {
	color: var(--primary);
}

.entry-meta {
	font-size: 0.875rem;
	color: var(--gray);
	margin-bottom: 20px;
}

.entry-meta span {
	margin-right: 15px;
}

.entry-content {
	line-height: 1.8;
}

.entry-content h2 {
	margin-top: 1.5em;
}

.entry-content blockquote {
	border-left: 4px solid var(--primary);
	padding: 15px 25px;
	margin: 25px 0;
	background-color: var(--light-gray);
	font-style: italic;
}

.read-more {
	display: inline-block;
	font-weight: 600;
	color: var(--primary);
	text-transform: uppercase;
	font-size: 0.875rem;
	letter-spacing: 1px;
}

.read-more:hover {
	color: var(--primary-dark);
}

/* Page Navigation */
.posts-navigation,
.post-navigation {
	margin-top: 40px;
	padding-top: 30px;
	border-top: 1px solid #e5e5e5;
}

.nav-links {
	display: flex;
	justify-content: space-between;
}

.nav-links a {
	font-weight: 600;
	color: var(--primary);
}

.nav-links a:hover {
	color: var(--primary-dark);
}

/* ==========================================================================
   Single Post
   ========================================================================== */

.single-post-header {
	background-color: var(--black);
	color: var(--white);
	padding: 60px 0;
	text-align: center;
}

.single-post-header .entry-title {
	color: var(--white);
	font-size: 2.5rem;
	max-width: 800px;
	margin: 0 auto 15px;
}

.single-post-header .entry-meta {
	color: rgba(255, 255, 255, 0.7);
}

/* ==========================================================================
   Page Template
   ========================================================================== */

.page-banner {
	background-color: var(--black);
	color: var(--white);
	padding: 60px 0;
	text-align: center;
}

.page-banner h1 {
	color: var(--white);
	margin-bottom: 0;
}

/* ==========================================================================
   404 Page
   ========================================================================== */

.error-404 {
	text-align: center;
	padding: 80px 0;
}

.error-404 h1 {
	font-size: 6rem;
	color: var(--primary);
	margin-bottom: 10px;
}

.error-404 h2 {
	margin-bottom: 20px;
}

.error-404 p {
	color: var(--gray);
	margin-bottom: 30px;
}

.error-404 .search-form {
	max-width: 400px;
	margin: 0 auto;
	display: flex;
	gap: 10px;
}

.error-404 .search-form .search-field {
	flex: 1;
	padding: 12px 16px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 1rem;
}

.error-404 .search-form .search-submit {
	padding: 12px 24px;
	background-color: var(--primary);
	color: var(--white);
	border: none;
	border-radius: 4px;
	cursor: pointer;
	font-weight: 600;
	transition: background-color var(--transition);
}

.error-404 .search-form .search-submit:hover {
	background-color: var(--primary-dark);
}

/* ==========================================================================
   Scroll Reveal Animation
   ========================================================================== */

.scroll-reveal {
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-reveal.revealed {
	opacity: 1;
	transform: translateY(0);
}

/* ==========================================================================
   Accessibility
   ========================================================================== */

:focus-visible {
	outline: 3px solid var(--primary);
	outline-offset: 2px;
}

a:focus:not(:focus-visible) {
	outline: none;
}

.skip-link {
	position: absolute;
	top: -100%;
	left: 10px;
	background-color: var(--primary);
	color: var(--white);
	padding: 10px 20px;
	z-index: 10000;
	font-weight: 600;
	border-radius: 0 0 4px 4px;
}

.skip-link:focus {
	top: 0;
}

/* ==========================================================================
   Page Hero (inner pages)
   ========================================================================== */

.page-hero {
	background-color: var(--black);
	color: var(--white);
	padding: 120px 0 60px;
	text-align: center;
}

.page-hero h1 {
	font-size: 2.5rem;
	margin-bottom: 10px;
}

.page-hero__subtitle {
	color: var(--gray);
	font-size: 1.1rem;
}

/* ==========================================================================
   Practice Area Single Page
   ========================================================================== */

.practice-area-single__grid {
	display: grid;
	grid-template-columns: 1fr 360px;
	gap: 50px;
	align-items: start;
}

.practice-area-single__content h2,
.practice-area-single__content h3 {
	margin-top: 2rem;
	margin-bottom: 1rem;
}

.practice-area-single__content p {
	margin-bottom: 1rem;
	line-height: 1.8;
}

.practice-area-single__content ul,
.practice-area-single__content ol {
	margin: 1rem 0;
	padding-left: 1.5rem;
}

.practice-area-single__content li {
	margin-bottom: 0.5rem;
	line-height: 1.7;
}

.sidebar-cta {
	background-color: var(--black);
	color: var(--white);
	padding: 30px;
	border-radius: 8px;
	text-align: center;
	margin-bottom: 30px;
}

.sidebar-cta h3 {
	color: var(--primary);
	margin-bottom: 10px;
}

.sidebar-cta p {
	font-size: 0.9375rem;
	margin-bottom: 20px;
	color: #ccc;
}

.sidebar-cta .btn {
	display: block;
	margin-bottom: 10px;
	width: 100%;
}

.sidebar-areas {
	background-color: var(--light-gray);
	padding: 25px;
	border-radius: 8px;
}

.sidebar-areas h4 {
	font-family: var(--font-heading);
	margin-bottom: 15px;
	font-size: 1.2rem;
}

.sidebar-areas ul {
	list-style: none;
	padding: 0;
}

.sidebar-areas li {
	border-bottom: 1px solid #ddd;
}

.sidebar-areas li:last-child {
	border-bottom: none;
}

.sidebar-areas a {
	display: block;
	padding: 10px 0;
	color: var(--dark);
	font-weight: 500;
	transition: color var(--transition);
}

.sidebar-areas a:hover {
	color: var(--primary);
}

/* ==========================================================================
   No Fee Badge
   ========================================================================== */

.promise-tagline {
	font-family: var(--font-heading);
	font-size: 1.125rem;
	font-weight: 600;
	font-style: italic;
	color: var(--accent);
	margin-top: 25px;
	padding-left: 20px;
	border-left: 3px solid var(--accent);
	line-height: 1.4;
}

.hero__promise {
	color: var(--accent);
	border-left-color: rgba(212, 165, 116, 0.5);
	margin-top: 20px;
}

.hero__availability {
	font-size: 0.9375rem;
	font-weight: 600;
	color: #4caf50;
	margin-top: 10px;
	letter-spacing: 0.5px;
}

/* ==========================================================================
   Hero Tagline
   ========================================================================== */

.hero__tagline {
	font-size: 0.9375rem;
	text-transform: uppercase;
	letter-spacing: 2px;
	color: var(--accent);
	margin-bottom: 10px;
	font-weight: 600;
}

/* ==========================================================================
   Section Warm Variant
   ========================================================================== */

.section-warm {
	background-color: var(--pure-white);
}

/* ==========================================================================
   Top Bar Serving Text
   ========================================================================== */

.top-bar__serving {
	font-size: 0.8125rem;
	color: rgba(255, 255, 255, 0.7);
	letter-spacing: 0.5px;
}

/* ==========================================================================
   Prefers Reduced Motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}

	.scroll-reveal {
		opacity: 1;
		transform: none;
	}
}

/* ==========================================================================
   Responsive: Tablet (max-width: 768px)
   ========================================================================== */

@media screen and (max-width: 768px) {
	h1 { font-size: 1.75rem; }
	h2 { font-size: 1.5rem; }
	h3 { font-size: 1.2rem; }

	.section-padding {
		padding: 40px 0;
	}

	.section-header {
		margin-bottom: 30px;
	}

	.section-header p {
		font-size: 1rem;
	}

	/* Top Bar - simplified on mobile */
	.top-bar {
		padding: 6px 0;
		font-size: 0.8125rem;
	}

	.top-bar .container {
		justify-content: center;
		gap: 10px;
		flex-wrap: wrap;
	}

	.top-bar__serving {
		display: none;
	}

	/* Header Wrapper - flip logo below nav on mobile */
	.header-wrapper {
		display: flex;
		flex-direction: column;
	}

	.logo-bar {
		order: 2;
		padding: 20px 0;
		border-bottom: none;
	}

	.site-header {
		order: 1;
	}

	.logo-bar .site-logo {
		max-height: 100px;
	}

	/* Header */
	.site-header .container {
		height: 45px;
		justify-content: flex-end;
	}

	.menu-toggle {
		display: block;
	}

	.primary-navigation {
		display: none;
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		background-color: rgba(26, 26, 26, 0.98);
		flex-direction: column;
		justify-content: center;
		align-items: center;
		z-index: 999;
	}

	.primary-navigation.active {
		display: flex;
	}

	.primary-navigation .menu {
		flex-direction: column;
		align-items: center;
		gap: 5px;
	}

	.primary-navigation .menu a {
		font-size: 1.25rem;
		padding: 12px 20px;
	}

	.primary-navigation .menu .sub-menu {
		position: static;
		display: block;
		box-shadow: none;
		min-width: 0;
	}

	/* Practice Area Single */
	.practice-area-single__grid {
		grid-template-columns: 1fr;
	}

	/* Hero */
	.hero {
		min-height: auto;
		padding: 50px 0 60px;
	}

	.hero h1 {
		font-size: 1.75rem;
	}

	.hero__tagline {
		font-size: 0.75rem;
		letter-spacing: 2px;
	}

	.hero__subtitle {
		font-size: 0.9375rem;
		margin-bottom: 25px;
	}

	.hero__actions {
		flex-direction: column;
		align-items: stretch;
		gap: 12px;
	}

	.hero__actions .btn {
		text-align: center;
	}

	.hero__phone {
		text-align: center;
	}

	.promise-tagline {
		font-size: 1rem;
		padding-left: 15px;
	}

	.hero__availability {
		font-size: 0.8125rem;
	}

	/* Trust Bar */
	.trust-bar {
		padding: 20px 0;
	}

	.trust-bar__grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 10px;
	}

	.trust-bar__number {
		font-size: 1.25rem;
	}

	.trust-bar__label {
		font-size: 0.75rem;
	}

	/* Practice Areas */
	.practice-areas__grid {
		grid-template-columns: 1fr;
		gap: 15px;
	}

	.practice-card {
		padding: 25px 20px;
	}

	/* Case Results */
	.case-results__grid {
		grid-template-columns: 1fr;
		gap: 15px;
	}

	.result-card {
		padding: 30px 20px;
	}

	.result-card__amount {
		font-size: 1.75rem;
	}

	/* About Attorney */
	.about-attorney__grid {
		grid-template-columns: 1fr;
		gap: 25px;
	}

	.about-attorney__image {
		max-height: 300px;
		aspect-ratio: auto;
	}

	/* Testimonials */
	.testimonials__grid {
		grid-template-columns: 1fr;
		gap: 15px;
	}

	.testimonial-card {
		padding: 25px 20px;
	}

	/* Trust Badges */
	.trust-badges__grid {
		gap: 15px;
	}

	.badge-placeholder {
		width: 100px;
		height: 65px;
		font-size: 0.6875rem;
	}

	/* CTA Banner */
	.cta-banner {
		padding: 40px 0;
	}

	.cta-banner h2 {
		font-size: 1.5rem;
	}

	.cta-banner__phone {
		font-size: 1.25rem;
	}

	/* Contact */
	.contact-section__grid {
		grid-template-columns: 1fr;
		gap: 25px;
	}

	.contact-form {
		padding: 25px 20px;
	}

	/* Page Hero */
	.page-hero {
		padding: 80px 0 40px;
	}

	.page-hero h1 {
		font-size: 1.75rem;
	}

	/* Footer */
	.footer-main {
		padding: 40px 0 30px;
	}

	.footer-grid {
		grid-template-columns: 1fr;
		gap: 25px;
	}

	.footer-logo {
		max-height: 80px;
	}

	/* Mobile Bottom Nav */
	.mobile-bottom-nav {
		display: block;
	}

	body {
		padding-bottom: 60px;
	}

	/* Single Post */
	.single-post-header .entry-title {
		font-size: 1.5rem;
	}
}

/* ==========================================================================
   Responsive: Mobile (max-width: 480px)
   ========================================================================== */

@media screen and (max-width: 480px) {
	h1 { font-size: 1.5rem; }
	h2 { font-size: 1.3rem; }

	.container {
		padding: 0 15px;
	}

	.section-padding {
		padding: 30px 0;
	}

	.logo-bar .site-logo {
		max-height: 85px;
	}

	.hero {
		padding: 35px 0 45px;
	}

	.hero h1 {
		font-size: 1.5rem;
	}

	.hero__subtitle {
		font-size: 0.875rem;
	}

	/* Trust Bar */
	.trust-bar {
		padding: 15px 0;
	}

	.trust-bar__grid {
		grid-template-columns: 1fr 1fr;
		gap: 8px;
	}

	.trust-bar__number {
		font-size: 1.125rem;
	}

	.trust-bar__label {
		font-size: 0.6875rem;
	}

	/* Buttons */
	.btn {
		padding: 12px 24px;
		font-size: 0.9375rem;
	}

	.btn-large {
		padding: 14px 28px;
		font-size: 0.9375rem;
	}

	/* CTA Banner */
	.cta-banner {
		padding: 30px 0;
	}

	.cta-banner h2 {
		font-size: 1.3rem;
	}

	.cta-banner__phone {
		font-size: 1.125rem;
	}

	/* 404 */
	.error-404 h1 {
		font-size: 3rem;
	}

	.error-404 .search-form {
		flex-direction: column;
	}
}
