/*
Theme Name: Alameda Rentals
Theme URI: https://alameda.rentals
Author: Alameda Rentals
Description: A fast, responsive rental-company theme for Alameda Rentals, a licensed U-Haul dealer and equipment rental provider.
Version: 1.4.0
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: alameda-rentals
*/

:root {
	--orange: #f05a24;
	--orange-dark: #c4471c;
	--orange-dark: color-mix(in srgb, var(--orange), #000 20%);
	--ink: #17201d;
	--muted: #65706c;
	--paper: #f5f7f4;
	--white: #fff;
	--line: #dfe5e1;
	--green: #285b49;
	--radius: 24px;
	--shadow: 0 24px 70px rgba(28, 42, 37, .10);
	--wrap: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	color: var(--ink);
	background-color: var(--white);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
iframe, video, embed, object { max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
	outline: 3px solid color-mix(in srgb, var(--orange), transparent 55%);
	outline-offset: 3px;
}
.alignwide { width: min(1180px, calc(100vw - 40px)); max-width: none; margin-right: calc((820px - min(1180px, calc(100vw - 40px))) / 2); margin-left: calc((820px - min(1180px, calc(100vw - 40px))) / 2); }
.alignfull { width: 100vw; max-width: none; margin-left: calc(50% - 50vw); }
.wrap { width: var(--wrap); margin-inline: auto; }
.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
.skip-link:focus {
	z-index: 9999;
	top: 8px;
	left: 8px;
	width: auto;
	height: auto;
	padding: 10px 14px;
	clip: auto;
	background: var(--ink);
	color: var(--white);
}

.site-header {
	position: sticky;
	z-index: 100;
	top: 0;
	background: rgba(255,255,255,.90);
	border-bottom: 1px solid rgba(23,32,29,.07);
	backdrop-filter: blur(18px);
}
.header-inner {
	display: flex;
	align-items: center;
	min-height: 78px;
	gap: 28px;
}
.site-brand {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-right: auto;
}
.site-brand a { text-decoration: none; }
.custom-logo-link { display: block; }
.custom-logo-link img { width: auto; max-width: 170px; max-height: 46px; }
.brand-mark {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 10px;
	background: var(--orange);
	color: var(--white);
	font-size: 22px;
	font-weight: 900;
	letter-spacing: -.06em;
}
.brand-copy { line-height: 1.1; }
.brand-copy strong { display: block; font-size: 20px; letter-spacing: -.03em; }
.brand-copy span { color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.primary-menu { display: flex; align-items: center; gap: 28px; padding: 0; margin: 0; list-style: none; }
.primary-menu li { position: relative; }
.primary-menu a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	font-size: 14px;
	font-weight: 800;
	text-decoration: none;
}
.primary-menu a { position: relative; }
.primary-menu a::after { position: absolute; right: 0; bottom: -7px; left: 0; width: 0; height: 2px; margin: auto; content: ""; background: var(--orange); transition: width .2s ease; }
.primary-menu a:hover, .primary-menu .current-menu-item > a { color: var(--ink); }
.primary-menu a:hover::after, .primary-menu .current-menu-item > a::after { width: 100%; }
.primary-menu .sub-menu {
	position: absolute;
	top: calc(100% + 8px);
	left: 50%;
	z-index: 10;
	min-width: 210px;
	padding: 9px;
	margin: 0;
	visibility: hidden;
	list-style: none;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 14px;
	box-shadow: var(--shadow);
	opacity: 0;
	transform: translate(-50%, 6px);
	transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.primary-menu .sub-menu a { display: flex; min-height: 42px; padding: 7px 11px; border-radius: 8px; white-space: nowrap; }
.primary-menu .sub-menu a::after { display: none; }
.primary-menu .sub-menu a:hover, .primary-menu .sub-menu a:focus-visible { background: var(--paper); }
.primary-menu li:hover > .sub-menu, .primary-menu li:focus-within > .sub-menu { visibility: visible; opacity: 1; transform: translate(-50%, 0); }
.header-call {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 11px 16px;
	border: 1px solid var(--ink);
	border-radius: 999px;
	font-size: 14px;
	font-weight: 800;
	text-decoration: none;
	transition: background .2s ease, color .2s ease;
}
.header-call:hover { background: var(--ink); color: var(--white); }
.menu-toggle {
	display: none;
	width: 44px;
	height: 44px;
	border: 0;
	background: transparent;
}
.menu-toggle span, .menu-toggle::before, .menu-toggle::after {
	display: block;
	width: 24px;
	height: 2px;
	margin: 5px auto;
	content: "";
	background: var(--ink);
	transition: .2s ease;
}

.hero {
	position: relative;
	overflow: hidden;
	padding: 94px 0 28px;
	background: linear-gradient(180deg, #fff 0%, color-mix(in srgb, var(--paper), #fff 35%) 100%);
}
.hero-orb { position: absolute; border-radius: 50%; pointer-events: none; filter: blur(3px); }
.hero-orb-one { top: -220px; right: -180px; width: 620px; height: 620px; background: color-mix(in srgb, var(--orange), transparent 89%); }
.hero-orb-two { bottom: 40px; left: -220px; width: 430px; height: 430px; background: color-mix(in srgb, var(--green), transparent 94%); }
.hero-grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, .88fr) minmax(470px, 1.12fr);
	align-items: center;
	gap: 48px;
}
.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	margin: 0 0 22px;
	color: var(--orange-dark);
	font-size: 12px;
	font-weight: 850;
	letter-spacing: .14em;
	text-transform: uppercase;
}
.eyebrow::before { width: 28px; height: 3px; content: ""; background: var(--orange); }
h1, h2, h3 { margin: 0; font-weight: 850; line-height: 1; letter-spacing: -.052em; text-wrap: balance; }
h1 { max-width: 720px; font-size: clamp(54px, 6.7vw, 88px); }
h1 em { color: var(--orange); font-style: normal; }
.hero-copy > p:not(.eyebrow):not(.hero-note) { max-width: 590px; margin: 28px 0 0; color: var(--muted); font-size: clamp(18px, 2vw, 21px); }
.hero-note { margin: 22px 0 0; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 54px;
	gap: 10px;
	padding: 12px 24px;
	border: 1px solid var(--ink);
	border-radius: 999px;
	background: var(--ink);
	color: var(--white);
	font-size: 14px;
	font-weight: 800;
	text-decoration: none;
	transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(23,32,29,.16); }
.button-orange { border-color: var(--orange); background: var(--orange); }
.button-outline { background: transparent; color: var(--ink); }
.button-outline:hover { background: var(--white); }
.hero-art { align-self: center; padding-top: 10px; }
.hero-art-frame {
	position: relative;
	display: flex;
	min-height: 340px;
	align-items: center;
	justify-content: center;
	isolation: isolate;
	padding: 36px;
}
.hero-art-frame::before {
	position: absolute;
	z-index: -2;
	width: 82%;
	aspect-ratio: 1.75;
	border-radius: 48% 52% 55% 45% / 55% 38% 62% 45%;
	content: "";
	background:
		radial-gradient(circle at 26% 28%, rgba(240,90,36,.27), transparent 34%),
		linear-gradient(135deg, rgba(255,255,255,.94), rgba(245,247,244,.58));
	box-shadow: 0 35px 90px rgba(23,32,29,.10);
	transform: rotate(-4deg);
}
.hero-art-frame::after {
	position: absolute;
	z-index: -1;
	right: 8%;
	bottom: 12%;
	width: 38%;
	height: 22%;
	border: 1px solid rgba(240,90,36,.18);
	border-radius: 999px;
	content: "";
	background: rgba(240,90,36,.10);
	filter: blur(1px);
	transform: rotate(8deg);
}
.hero-art img {
	width: min(92%, 540px);
	max-height: 245px;
	object-fit: contain;
	mix-blend-mode: multiply;
	filter: drop-shadow(0 20px 17px rgba(20,30,26,.16));
	transform: rotate(1.2deg);
}
.trust-strip {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	margin-top: 62px;
	border: 1px solid var(--line);
	border-radius: 18px;
	background: rgba(255,255,255,.8);
	box-shadow: 0 15px 44px rgba(23,32,29,.06);
	color: var(--ink);
}
.trust-item { display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 84px; padding: 18px; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.trust-item svg { flex: 0 0 auto; color: var(--orange); }
.trust-item strong { display: block; font-size: 14px; line-height: 1.2; }
.trust-item span { color: var(--muted); font-size: 12px; }

.section { padding: 116px 0; }
.section-soft { background: var(--paper); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 50px; }
.section-head > div { max-width: 690px; }
.section h2 { font-size: clamp(40px, 5.2vw, 66px); }
.section-intro { max-width: 580px; margin: 22px 0 0; color: var(--muted); font-size: 18px; }

.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.service-card {
	position: relative;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--white);
	box-shadow: 0 12px 36px rgba(23,32,29,.045);
	transition: transform .25s ease, box-shadow .25s ease;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.service-card-body { display: flex; min-height: 280px; flex-direction: column; padding: 30px; }
.service-card-top { display: flex; align-items: center; justify-content: space-between; }
.service-number { display: grid; place-items: center; width: 39px; height: 39px; border-radius: 50%; background: color-mix(in srgb, var(--orange), transparent 88%); color: var(--orange); font-size: 12px; font-weight: 900; }
.service-card h3 { margin-top: 30px; font-size: 36px; }
.service-card p { margin: 20px 0; color: var(--muted); }
.service-link { z-index: 1; display: inline-flex; align-items: center; min-height: 44px; margin-top: auto; font-size: 14px; font-weight: 850; text-decoration: none; }
.service-link::after { margin-left: 7px; content: "→"; }
.service-visual {
	position: relative;
	display: grid;
	height: 310px;
	place-items: center;
	overflow: hidden;
	background: linear-gradient(145deg, #f7f8f6, #fff);
	border-bottom: 1px solid var(--line);
}
.service-visual::before {
	position: absolute;
	width: 68%;
	height: 55%;
	border-radius: 50%;
	content: "";
	background: rgba(240,90,36,.075);
	filter: blur(8px);
}
.service-visual img { position: relative; width: 88%; height: 88%; object-fit: contain; object-position: center; filter: drop-shadow(0 18px 13px rgba(23,32,29,.14)); }
.service-visual-truck img { width: 93%; height: 93%; }
.dealer-grid { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 84px; }
.dealer-grid-copy { grid-template-columns: minmax(0, 820px); justify-content: center; }
.dealer-grid-copy .dealer-copy { text-align: center; }
.dealer-grid-copy .section-intro { margin-inline: auto; }
.dealer-grid-copy .check-list { max-width: 620px; margin-inline: auto; text-align: left; }
.dealer-grid-copy .button-row { justify-content: center; }
.check-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 0; margin: 30px 0 0; list-style: none; }
.check-list li { position: relative; padding-left: 29px; font-size: 15px; font-weight: 800; }
.check-list li::before {
	position: absolute;
	top: 1px;
	left: 0;
	display: grid;
	place-items: center;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	content: "✓";
	background: var(--orange);
	color: var(--white);
	font-size: 12px;
}

.fleet-section { overflow: hidden; background: var(--white); }
.fleet-head { margin-bottom: 42px; }
.fleet-lineup-image { width: 100%; margin-top: 8px; filter: drop-shadow(0 20px 22px rgba(23,32,29,.10)); }

.process-section { border-top: 1px solid var(--line); background: var(--paper); }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 45px; counter-reset: process; }
.process-step { position: relative; padding: 86px 28px 28px; counter-increment: process; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.6); }
.process-step::before {
	position: absolute;
	top: 22px;
	left: 28px;
	content: "0" counter(process);
	color: var(--orange);
	font-size: 30px;
	font-weight: 900;
	letter-spacing: -.04em;
}
.process-step h3 { font-size: 26px; letter-spacing: -.03em; }
.process-step p { margin-bottom: 0; color: var(--muted); font-size: 15px; }

.contact-band { position: relative; overflow: hidden; padding: 100px 0; background: var(--orange); color: var(--white); }
.contact-band::after { position: absolute; top: -180px; right: -100px; width: 520px; height: 520px; border: 80px solid rgba(255,255,255,.08); border-radius: 50%; content: ""; }
.contact-grid { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 50px; }
.contact-band h2 { max-width: 760px; font-size: clamp(43px, 6vw, 72px); }
.contact-band p { max-width: 600px; margin: 20px 0 0; color: #ffe0d5; }
.contact-band .contact-kicker { margin: 0 0 14px; color: var(--white); font-size: 11px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.contact-band .button { min-width: 190px; background: var(--white); color: var(--ink); border-color: var(--white); }
.contact-actions { position: relative; z-index: 1; text-align: center; }
.contact-actions span { display: block; margin-top: 12px; color: #ffe0d5; font-size: 11px; }

.site-footer { padding: 65px 0 25px; background: var(--ink); color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 60px; }
.footer-logo { margin-bottom: 18px; font-size: 26px; font-weight: 900; letter-spacing: -.04em; }
.footer-copy { max-width: 430px; color: #a7a7a7; font-size: 14px; }
.site-footer h2 { margin-bottom: 18px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.footer-links { padding: 0; margin: 0; list-style: none; }
.footer-links li { margin: 8px 0; color: #c4c4c4; font-size: 14px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--orange); }
.footer-widgets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; padding-top: 42px; margin-top: 45px; border-top: 1px solid #333; }
.footer-widget, .footer-widget p, .footer-widget li { color: #a7a7a7; font-size: 14px; }
.footer-widget ul { padding-left: 18px; }
.footer-widget a { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 30px; margin-top: 50px; border-top: 1px solid #333; color: #777; font-size: 12px; }

.page-hero { padding: 100px 0 72px; background: linear-gradient(135deg, var(--paper), #fff); }
.page-hero h1 { font-size: clamp(45px, 7vw, 76px); }
.page-hero-copy { max-width: 590px; color: var(--muted); font-size: 19px; }
.content-area { padding: 70px 0 100px; }
.entry-content { max-width: 820px; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content h2 { margin: 1.4em 0 .6em; font-size: 40px; }
.entry-content a { color: var(--orange-dark); }
.entry-content img { border-radius: 12px; }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { padding: 12px; border: 1px solid var(--line); text-align: left; }
.entry-content .wp-caption, .entry-content .gallery, .entry-content figure { max-width: 100%; }
.entry-content .wp-caption-text, .entry-content figcaption { color: var(--muted); font-size: 13px; }
.entry-content blockquote { padding: 12px 0 12px 26px; margin: 2em 0; border-left: 4px solid var(--orange); color: var(--muted); font-size: 1.15em; }
.entry-content .wp-block-button__link { color: var(--white); }
.post-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: transform .2s ease, box-shadow .2s ease; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.post-card-body { padding: 24px; }
.post-card h2 { margin-bottom: 12px; font-size: 28px; }
.post-card h2 a { text-decoration: none; }
.post-meta { color: var(--muted); font-size: 13px; }
.pagination { margin-top: 40px; }
.search-form { display: flex; width: min(100%, 620px); gap: 10px; }
.search-form label { flex: 1; }
.search-field, input[type="text"], input[type="email"], input[type="url"], input[type="tel"], textarea, select {
	width: 100%;
	padding: 13px 16px;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: var(--white);
	color: var(--ink);
}
.search-field:focus, input:focus, textarea:focus, select:focus { outline: 3px solid color-mix(in srgb, var(--orange), transparent 75%); border-color: var(--orange); }
.search-submit, input[type="submit"] { padding: 12px 22px; border: 0; border-radius: 999px; background: var(--ink); color: var(--white); font-weight: 800; cursor: pointer; }
.comments-area { max-width: 820px; padding-top: 60px; margin-top: 60px; border-top: 1px solid var(--line); }
.comments-title, .comment-reply-title { font-size: 30px; }
.comment-list { padding: 0; list-style: none; }
.comment-list .children { list-style: none; }
.comment-body { padding: 24px 0; border-bottom: 1px solid var(--line); }
.comment-meta { font-size: 13px; }
.comment-content { color: var(--muted); }
.comment-form label { display: block; margin-bottom: 5px; font-size: 13px; font-weight: 700; }

@media (max-width: 960px) {
	.menu-toggle { display: block; }
	.header-call { margin-left: auto; }
	.site-nav {
		position: fixed;
		inset: 78px 0 auto;
		display: none;
		max-height: calc(100dvh - 78px);
		overflow-y: auto;
		padding: 30px 20px;
		background: var(--white);
		border-bottom: 1px solid var(--line);
		box-shadow: var(--shadow);
	}
	.site-nav.open { display: block; }
	.primary-menu { align-items: stretch; flex-direction: column; gap: 0; }
	.primary-menu a { display: block; padding: 14px 0; font-size: 18px; border-bottom: 1px solid var(--line); }
	.primary-menu a::after { display: none; }
	.primary-menu .sub-menu { position: static; min-width: 0; padding: 0 0 0 18px; visibility: visible; background: transparent; border: 0; border-radius: 0; box-shadow: none; opacity: 1; transform: none; transition: none; }
	.primary-menu .sub-menu a { min-height: 44px; padding: 10px 0; font-size: 15px; }
	.hero { padding-top: 70px; }
	.hero-grid { grid-template-columns: 1fr; }
	.hero-art { padding-top: 0; }
	.hero-art-frame { min-height: 300px; }
	.hero-art img { width: min(100%, 520px); margin-left: 0; }
	.trust-strip { margin-top: 40px; }
	.service-grid { grid-template-columns: 1fr 1fr; }
	.dealer-grid { gap: 40px; }
	.footer-grid { grid-template-columns: 1.5fr 1fr; }
	.footer-grid > :last-child { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
	:root { --wrap: min(100% - 28px, 1180px); }
	body { font-size: 16px; }
	.header-inner { min-height: 68px; }
	.brand-mark { width: 44px; height: 44px; font-size: 19px; }
	.brand-copy strong { font-size: 17px; }
	.brand-copy span { display: none; }
	.header-call { display: none; }
	.site-nav { top: 68px; }
	.hero { padding: 48px 0 18px; }
	.hero-grid { gap: 35px; }
	h1 { font-size: clamp(49px, 15vw, 68px); }
	.hero-copy > p:not(.eyebrow):not(.hero-note) { margin-top: 22px; font-size: 17px; }
	.button-row { align-items: stretch; flex-direction: column; }
	.button { width: 100%; }
	.hero-art-frame { min-height: 205px; padding: 26px; border-radius: 24px; }
	.hero-art img { width: 100%; max-height: 155px; }
	.trust-strip { grid-template-columns: 1fr; }
	.trust-item { justify-content: flex-start; min-height: 68px; padding-inline: 22px; border-right: 0; border-bottom: 1px solid var(--line); }
	.trust-item:last-child { border-bottom: 0; }
	.section { padding: 75px 0; }
	.section-head { align-items: start; flex-direction: column; margin-bottom: 35px; }
	.section h2 { font-size: 44px; }
	.service-grid, .dealer-grid, .process-grid, .contact-grid, .footer-grid, .post-list { grid-template-columns: 1fr; }
	.footer-grid > :last-child { grid-column: auto; }
	.service-card { min-height: 0; }
	.service-visual { height: 245px; }
	.service-card-body { min-height: 300px; padding: 24px; }
	.dealer-grid { gap: 38px; }
	.check-list { grid-template-columns: 1fr; }
	.process-grid { gap: 32px; }
	.process-step { padding-top: 80px; }
	.fleet-lineup-image { width: 100%; margin-left: 0; }
	.contact-grid { align-items: stretch; }
	.contact-band .button { width: 100%; }
	.footer-grid { gap: 38px; }
	.footer-widgets { grid-template-columns: 1fr; }
	.footer-bottom { flex-direction: column; }
	.search-form { flex-direction: column; }
}

@media (min-width: 783px) {
	body.admin-bar .site-header { top: 32px; }
	body.admin-bar .site-nav { top: 110px; }
}

@media (max-width: 782px) {
	body.admin-bar .site-header { top: 46px; }
	body.admin-bar .site-nav { top: 124px; max-height: calc(100dvh - 124px); }
}

@media (max-width: 680px) {
	body.admin-bar .site-nav { top: 114px; max-height: calc(100dvh - 114px); }
}

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