/*
Theme Name: BOX-PREP
Description: BOX-PREP brand theme (navy/orange design system) - base block theme for further page building with the block editor / Elementor.
Author: BOX-PREP
Version: 0.1.0
Requires at least: 6.4
Requires PHP: 8.0
*/

.eyebrow {
	display: block;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	font-weight: 700;
	font-size: 0.8rem;
	color: var(--wp--preset--color--orange);
	margin-bottom: 0.75rem;
}

.section-intro {
	max-width: 640px;
}

.card-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 1.5rem;
	margin-top: 2rem;
}

.card {
	background: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--light-grey);
	border-radius: 8px;
	padding: 1.75rem;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.card:hover {
	box-shadow: 0 12px 24px rgba(11, 37, 69, 0.08);
	transform: translateY(-2px);
}

.card h3 {
	margin-top: 0;
}

.card a {
	color: var(--wp--preset--color--navy);
	font-weight: 600;
	text-decoration: none;
}

.card a:hover {
	color: var(--wp--preset--color--orange);
}

.feature-strip {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 2rem;
}

.feature-strip .feature h4 {
	margin-bottom: 0.4rem;
}

.step-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 2rem;
	margin-top: 2.5rem;
}

.step-number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--wp--preset--color--navy);
	color: var(--wp--preset--color--white);
	font-weight: 700;
	margin-bottom: 1rem;
}

.facility-list {
	list-style: none;
	margin: 1.5rem 0;
	padding: 0;
}

.facility-list li {
	position: relative;
	padding-left: 1.75rem;
	margin-bottom: 0.75rem;
}

.facility-list li::before {
	content: "\2713";
	position: absolute;
	left: 0;
	color: var(--wp--preset--color--orange);
	font-weight: 700;
}

.wp-block-button__link {
	border-radius: 4px;
	font-weight: 600;
}

.wp-element-button, .wp-block-button__link {
	padding: 0.9rem 1.75rem !important;
}

/* ---- Site header ---- */
.site-header {
	background: var(--wp--preset--color--navy);
	padding: 18px 24px;
	position: sticky;
	top: 0;
	z-index: 50;
}

.site-header .inner {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.site-logo {
	display: flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	color: #fff;
}

.site-logo .mark {
	width: 34px;
	height: 34px;
	border-radius: 8px;
	background: var(--wp--preset--color--orange);
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--wp--preset--font-family--montserrat);
	font-weight: 800;
	color: #fff;
}

.site-logo .word {
	font-family: var(--wp--preset--font-family--montserrat);
	font-weight: 800;
	font-size: 1.15rem;
	line-height: 1;
}

.site-logo .word small {
	display: block;
	font-family: var(--wp--preset--font-family--inter);
	font-weight: 600;
	font-size: 0.6rem;
	letter-spacing: 0.1em;
	color: var(--wp--preset--color--orange);
}

.site-nav {
	display: flex;
	align-items: center;
	gap: 22px;
	flex-wrap: wrap;
}

.site-nav a {
	color: #fff;
	text-decoration: none;
	font-size: 0.92rem;
	font-weight: 500;
	opacity: 0.9;
}

.site-nav a:hover {
	opacity: 1;
	color: var(--wp--preset--color--orange);
}

.site-nav .btn-quote {
	background: var(--wp--preset--color--orange);
	padding: 10px 20px;
	border-radius: 4px;
	font-weight: 700;
	opacity: 1;
}

/* ---- Hero image placeholder (swap with real photography) ---- */
.hero-image {
	position: relative;
	background:
		linear-gradient(120deg, rgba(11,18,32,0.92), rgba(11,18,32,0.75)),
		repeating-linear-gradient(45deg, #1b2740 0, #1b2740 2px, #131c30 2px, #131c30 40px);
	color: #fff;
	padding: 110px 24px 70px;
}

.hero-image::after {
	content: "Placeholder \2014 replace with warehouse photography";
	position: absolute;
	bottom: 10px;
	right: 16px;
	font-size: 0.65rem;
	color: rgba(255,255,255,0.35);
	letter-spacing: 0.04em;
}

/* ---- Real photography hero (with dark overlay for text contrast) ---- */
.photo-hero {
	position: relative;
	background-size: cover;
	background-position: center;
	color: #fff;
	padding: 110px 24px 70px;
	min-height: 460px;
	display: flex;
	align-items: center;
}

.photo-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(11,18,32,0.95) 0%, rgba(11,18,32,0.85) 35%, rgba(11,18,32,0.35) 60%, rgba(11,18,32,0) 78%);
}

.photo-hero > * {
	position: relative;
	z-index: 1;
	width: 100%;
}

.photo-tile {
	width: 100%;
	height: 100%;
	min-height: 280px;
	object-fit: cover;
	border-radius: 12px;
	display: block;
}

/* ---- Icon badges ---- */
.icon-badge {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: rgba(255,106,0,0.12);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--wp--preset--color--orange);
	margin-bottom: 14px;
}

.icon-badge svg {
	width: 22px;
	height: 22px;
}

.icon-badge.on-dark {
	background: rgba(255,255,255,0.12);
}

/* ---- Stat bar ---- */
.stat-bar {
	background: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--light-grey);
	border-radius: 10px;
	box-shadow: 0 16px 32px rgba(11,18,32,0.12);
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	max-width: 1140px;
	margin: -56px auto 0;
	position: relative;
	z-index: 2;
}

.stat-bar .stat {
	padding: 28px 20px;
	text-align: center;
	border-right: 1px solid var(--wp--preset--color--light-grey);
}

.stat-bar .stat:last-child {
	border-right: none;
}

.stat-bar .stat strong {
	display: block;
	font-family: var(--wp--preset--font-family--montserrat);
	font-size: 1.3rem;
	color: var(--wp--preset--color--navy);
}

.stat-bar .stat span {
	display: block;
	font-size: 0.85rem;
	color: var(--wp--preset--color--grey);
	margin-top: 4px;
}

/* ---- Bullet check list ---- */
.bullet-check {
	list-style: none;
	margin: 1.5rem 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.9rem;
}

.bullet-check li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}

.bullet-check li .tick {
	flex: none;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: var(--wp--preset--color--orange);
	color: #fff;
	font-size: 0.7rem;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 2px;
}

/* ---- Tabs (pricing) ---- */
.tabs input[type="radio"] {
	display: none;
}

.tabs .tab-list {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	margin-bottom: 1.5rem;
}

.tabs .tab-list label {
	padding: 10px 18px;
	border-radius: 6px;
	background: var(--wp--preset--color--off-white);
	color: var(--wp--preset--color--navy);
	font-weight: 600;
	font-size: 0.9rem;
	cursor: pointer;
}

.tabs .tab-panel {
	display: none;
}

#tab-1:checked ~ .tab-panels #panel-1,
#tab-2:checked ~ .tab-panels #panel-2,
#tab-3:checked ~ .tab-panels #panel-3,
#tab-4:checked ~ .tab-panels #panel-4,
#tab-5:checked ~ .tab-panels #panel-5,
#tab-6:checked ~ .tab-panels #panel-6 {
	display: block;
}

#tab-1:checked ~ .tab-list label[for="tab-1"],
#tab-2:checked ~ .tab-list label[for="tab-2"],
#tab-3:checked ~ .tab-list label[for="tab-3"],
#tab-4:checked ~ .tab-list label[for="tab-4"],
#tab-5:checked ~ .tab-list label[for="tab-5"],
#tab-6:checked ~ .tab-list label[for="tab-6"] {
	background: var(--wp--preset--color--orange);
	color: #fff;
}

.price-table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 1.5rem;
}

.price-table th, .price-table td {
	text-align: left;
	padding: 12px 14px;
	border-bottom: 1px solid var(--wp--preset--color--light-grey);
	font-size: 0.92rem;
}

.price-table th {
	color: var(--wp--preset--color--grey);
	text-transform: uppercase;
	font-size: 0.72rem;
	letter-spacing: 0.06em;
}

.price-table td:last-child, .price-table th:last-child {
	text-align: right;
	font-weight: 700;
	color: var(--wp--preset--color--navy);
}

/* ---- Site footer ---- */
.site-footer {
	background: var(--wp--preset--color--navy);
	color: #fff;
	padding: 64px 24px 0;
}

.site-footer .inner {
	max-width: 1200px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1fr;
	gap: 32px;
	padding-bottom: 48px;
	border-bottom: 1px solid rgba(255,255,255,0.12);
}

.site-footer h4 {
	color: #fff;
	font-size: 0.95rem;
	margin-bottom: 16px;
}

.site-footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-footer ul li {
	margin-bottom: 10px;
}

.site-footer a {
	color: rgba(255,255,255,0.75);
	text-decoration: none;
	font-size: 0.9rem;
}

.site-footer a:hover {
	color: var(--wp--preset--color--orange);
}

.site-footer .bottom-bar {
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px 0;
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
	font-size: 0.8rem;
	color: rgba(255,255,255,0.6);
}

.trust-bar {
	background: var(--wp--preset--color--off-white);
	padding: 20px 24px;
	display: flex;
	justify-content: center;
	gap: 40px;
	flex-wrap: wrap;
}

.trust-bar .item {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--wp--preset--color--navy);
}

@media (max-width: 782px) {
	.site-nav { display: none; }
	.stat-bar { grid-template-columns: repeat(2, 1fr); }
	.site-footer .inner { grid-template-columns: 1fr 1fr; }
}

/* ---- WPForms: compact 2-column layout to match site design ---- */
.wpforms-container .wpforms-field-container {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 20px;
}

.wpforms-container .wpforms-field {
	margin-bottom: 16px !important;
	padding: 0 !important;
}

.wpforms-container .wpforms-field-checkbox,
.wpforms-container .wpforms-field-textarea,
.wpforms-container .wpforms-field-html {
	grid-column: 1 / -1;
}

.wpforms-container .wpforms-field-label {
	font-weight: 600;
	font-size: 0.88rem;
	color: var(--wp--preset--color--navy);
	margin-bottom: 6px !important;
}

.wpforms-container input[type="text"],
.wpforms-container input[type="email"],
.wpforms-container input[type="tel"],
.wpforms-container input[type="number"],
.wpforms-container select,
.wpforms-container textarea {
	background: var(--wp--preset--color--off-white) !important;
	border: 1px solid var(--wp--preset--color--light-grey) !important;
	border-radius: 6px !important;
	padding: 12px 14px !important;
	font-family: var(--wp--preset--font-family--inter) !important;
	width: 100% !important;
}

.wpforms-container input:focus,
.wpforms-container select:focus,
.wpforms-container textarea:focus {
	background: var(--wp--preset--color--white) !important;
	border-color: var(--wp--preset--color--orange) !important;
	outline: none !important;
	box-shadow: 0 0 0 3px rgba(255,106,0,0.15) !important;
}

.wpforms-container .wpforms-field-checkbox ul {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 24px;
	list-style: none;
	padding: 0;
	margin: 0;
}

.wpforms-container .wpforms-submit-container {
	grid-column: 1 / -1;
	margin-top: 8px;
}

.wpforms-container button[type="submit"] {
	background: var(--wp--preset--color--orange) !important;
	border: none !important;
	border-radius: 4px !important;
	padding: 12px 28px !important;
	font-weight: 700 !important;
}

@media (max-width: 640px) {
	.wpforms-container .wpforms-field-container {
		grid-template-columns: 1fr;
	}
}

/* ---- Contact page cards ---- */
.contact-card {
	background: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--light-grey);
	border-radius: 12px;
	padding: 32px;
}

.contact-info-row {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	margin-bottom: 20px;
}

.contact-info-row .icon {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: rgba(255,106,0,0.12);
	color: var(--wp--preset--color--orange);
	display: flex;
	align-items: center;
	justify-content: center;
	flex: none;
}

.contact-info-row .icon svg {
	width: 18px;
	height: 18px;
}

.contact-info-row .label {
	text-transform: uppercase;
	font-size: 0.7rem;
	letter-spacing: 0.06em;
	color: var(--wp--preset--color--grey);
	margin-bottom: 2px;
}

.map-embed {
	border-radius: 10px;
	overflow: hidden;
	margin-top: 18px;
	border: 1px solid var(--wp--preset--color--light-grey);
}

.map-embed iframe {
	width: 100%;
	height: 220px;
	border: 0;
	display: block;
}

@media (max-width: 900px) {
	.contact-columns {
		grid-template-columns: 1fr !important;
	}
}

