/*
Theme Name: Team Mato Logistics
Theme URI: https://teammatologistics.com/
Author: Team Mato Logistics
Description: A professional hauling-services homepage with moderated customer reviews.
Version: 1.1.0
Text Domain: team-mato-logistics
*/

:root {
	--ink: #06080c;
	--ink-soft: #2f3946;
	--paper: #eef1f5;
	--white: #fff;
	--blue: #1677d8;
	--blue-dark: #0759aa;
	--silver: #cbd3dc;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Arial, Helvetica, sans-serif; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.basic-page { min-height: 60vh; padding: 8vw; }

.site-header {
	align-items: center;
	background: #030406;
	border-bottom: 1px solid rgba(255,255,255,.1);
	color: var(--white);
	display: flex;
	height: 108px;
	justify-content: space-between;
	padding: 0 6vw;
	position: relative;
	z-index: 10;
}

.brand { align-items: center; display: inline-flex; gap: 13px; }
.brand-logo { border: 1px solid rgba(255,255,255,.15); border-radius: 50%; height: 72px; object-fit: cover; width: 72px; }
.brand-copy { display: flex; flex-direction: column; line-height: 1; }
.brand-copy strong { font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; font-size: 25px; letter-spacing: .04em; }
.brand-copy small { color: var(--blue); font-size: 9px; font-weight: 800; letter-spacing: .33em; margin-top: 5px; }
.desktop-nav { align-items: center; display: flex; gap: 32px; }
.desktop-nav a { font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.desktop-nav a:hover, .desktop-nav a:focus-visible { color: #55a7f5; }

.header-cta,
.button {
	align-items: center;
	border: 2px solid var(--ink);
	border-radius: 5px;
	display: inline-flex;
	font-size: 11px;
	font-weight: 900;
	justify-content: center;
	letter-spacing: .08em;
	min-height: 50px;
	padding: 0 21px;
	text-transform: uppercase;
	transition: transform .16s ease, background .16s ease;
}

.header-cta { background: var(--blue); border: 0; box-shadow: 5px 5px 0 var(--silver); min-height: 45px; }
.header-cta:hover, .header-cta:focus-visible, .button:hover, .button:focus-visible { transform: translateY(-2px); }

.hero {
	background: linear-gradient(120deg, rgba(4,7,12,.99), rgba(8,15,25,.96));
	color: var(--white);
	display: grid;
	grid-template-columns: minmax(0,.96fr) minmax(420px,1.04fr);
	min-height: 720px;
	overflow: hidden;
	padding: 45px 6vw 85px;
}

.hero-copy { align-self: center; padding-right: 5vw; position: relative; z-index: 2; }
.eyebrow { align-items: center; color: #55a7f5; display: flex; font-size: 12px; font-weight: 900; gap: 16px; letter-spacing: .18em; margin: 0 0 24px; text-transform: uppercase; }
.road-mark { display: inline-flex; gap: 5px; }
.road-mark span { background: var(--blue); display: block; height: 3px; transform: skew(-28deg); width: 15px; }
h1, h2, h3 { font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; }
h1 { font-size: clamp(68px,7.4vw,112px); letter-spacing: -.025em; line-height: .84; margin: 0; text-transform: uppercase; }
h1 em { background: linear-gradient(180deg,#55adff,#0866c5); background-clip: text; color: transparent; font-style: normal; -webkit-background-clip: text; }
.hero-intro { color: #c0c9d3; font-size: 18px; line-height: 1.65; margin: 31px 0 0; max-width: 550px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.button-primary { background: var(--blue); box-shadow: 6px 6px 0 #aeb8c3; color: var(--white); }
.button-primary:hover { background: var(--blue-dark); }
.button-secondary { border-color: rgba(255,255,255,.45); color: var(--white); }
.hero-points { border-top: 1px solid rgba(255,255,255,.18); display: grid; gap: 18px; grid-template-columns: repeat(3,1fr); margin-top: 48px; padding-top: 20px; }
.hero-points div { display: flex; flex-direction: column; gap: 5px; }
.hero-points strong { font-size: 11px; letter-spacing: .05em; text-transform: uppercase; }
.hero-points span { color: #909ca9; font-size: 11px; line-height: 1.35; }
.hero-visual { min-height: 560px; position: relative; }
.sun-glow { background: radial-gradient(circle,rgba(22,119,216,.62),rgba(22,119,216,.07) 68%,transparent 69%); border-radius: 50%; height: min(38vw,500px); left: 10%; position: absolute; top: 1%; width: min(38vw,500px); }
.logo-stage { align-items: center; background: #000; border: 2px solid rgba(203,211,220,.55); border-radius: 50%; bottom: 24px; box-shadow: 0 30px 80px rgba(0,0,0,.56),0 0 0 12px rgba(22,119,216,.1); display: flex; justify-content: center; left: 4%; overflow: hidden; position: absolute; right: 4%; top: 22px; }
.logo-stage img { height: 100%; object-fit: contain; width: 100%; }
.route-card { align-items: center; background: var(--ink); border-radius: 6px; bottom: 0; box-shadow: 7px 7px 0 var(--silver); display: flex; gap: 13px; left: -5%; padding: 18px 22px; position: absolute; }
.route-card > div { display: flex; flex-direction: column; gap: 3px; }
.route-card strong { font-size: 12px; letter-spacing: .05em; text-transform: uppercase; }
.route-card span { color: #b7c0ca; font-size: 11px; }
.route-dot { background: #55a7f5; border: 4px solid rgba(85,167,245,.22); border-radius: 50%; height: 13px; width: 13px; }
.hero-edge { background: linear-gradient(90deg,#064789,#1680e5,#064789); color: white; display: flex; font-size: 11px; font-weight: 900; gap: 28px; justify-content: center; letter-spacing: .2em; overflow: hidden; padding: 16px 24px; text-transform: uppercase; white-space: nowrap; }

.services-section { background: var(--white); padding: 110px 6vw 125px; }
.section-heading, .reviews-heading { align-items: end; display: grid; gap: 8vw; grid-template-columns: 1.2fr .8fr; margin: 0 auto 55px; max-width: 1260px; }
.section-heading h2, .reviews-heading h2, .trust-panel h2, .contact-panel h2 { font-size: clamp(42px,5.1vw,72px); letter-spacing: -.01em; line-height: .98; margin: 0; text-transform: uppercase; }
.section-heading > p, .reviews-heading > p { color: #616b78; font-size: 16px; line-height: 1.7; margin: 0; max-width: 470px; }
.services-grid { display: grid; gap: 20px; grid-template-columns: repeat(3,1fr); margin: 0 auto; max-width: 1260px; }
.service-card { background: var(--paper); border: 1px solid #dce1e6; border-radius: 8px; overflow: hidden; padding: 14px 14px 26px; position: relative; transition: transform .18s ease,box-shadow .18s ease; }
.service-card:hover { box-shadow: 9px 9px 0 var(--ink); transform: translate(-3px,-3px); }
.service-number { align-items: center; background: var(--blue); border-radius: 5px; color: white; display: flex; font-family: Impact,sans-serif; font-size: 18px; height: 44px; justify-content: center; left: 27px; position: absolute; top: 27px; width: 44px; z-index: 2; }
.service-photo { border-radius: 4px; height: 220px; overflow: hidden; }
.service-photo img { height: 100%; object-fit: cover; width: 100%; }
.service-card h3 { font-size: 28px; letter-spacing: .01em; margin: 25px 14px 10px; text-transform: uppercase; }
.service-card > p { color: #606a76; font-size: 14px; line-height: 1.65; margin: 0 14px; }
.service-card > a { border-top: 1px solid #d9d4cb; display: block; font-size: 10px; font-weight: 900; letter-spacing: .09em; margin: 22px 14px 0; padding-top: 18px; text-transform: uppercase; }
.showcase-heading { align-items: end; border-top: 1px solid #d8dde3; display: flex; justify-content: space-between; margin: 70px auto 22px; max-width: 1260px; padding-top: 24px; }
.showcase-heading span { font-family: Impact,sans-serif; font-size: 29px; text-transform: uppercase; }
.showcase-heading p { color: #67717d; font-size: 13px; margin: 0; }
.showcase-grid { display: grid; gap: 12px; grid-template-columns: repeat(5,1fr); margin: 0 auto; max-width: 1260px; }
.showcase-item { border-radius: 5px; height: 185px; margin: 0; overflow: hidden; position: relative; }
.showcase-item:after { background: linear-gradient(transparent 45%,rgba(3,5,8,.86)); content: ""; inset: 0; position: absolute; }
.showcase-item img { height: 100%; object-fit: cover; width: 100%; }
.showcase-item figcaption { bottom: 15px; color: white; font-size: 10px; font-weight: 900; left: 15px; letter-spacing: .08em; position: absolute; text-transform: uppercase; z-index: 1; }

.reviews-section { background: radial-gradient(circle at 90% 10%,rgba(22,119,216,.12),transparent 24%),var(--paper); padding: 105px 6vw; }
.reviews-heading { margin-bottom: 38px; }
.review-notice { border-radius: 5px; font-size: 14px; font-weight: 700; margin: 0 auto 24px; max-width: 1260px; padding: 16px 18px; }
.review-notice.success { background: #e1f4e8; border: 1px solid #9bd4ae; color: #145f2f; }
.review-notice.error { background: #fde7e7; border: 1px solid #e9a8a8; color: #8c1e1e; }
.approved-reviews { display: grid; gap: 18px; grid-template-columns: repeat(3,1fr); margin: 0 auto 28px; max-width: 1260px; }
.reviews-empty { background: linear-gradient(145deg,#172231,var(--ink)); border-radius: 8px; color: white; grid-column: 1/-1; padding: 50px 35px; text-align: center; }
.empty-stars { color: #4c5969; font-size: 28px; letter-spacing: .12em; }
.reviews-empty h3 { font-size: 34px; margin: 22px 0 10px; text-transform: uppercase; }
.reviews-empty p { color: #aeb8c3; font-size: 14px; line-height: 1.7; margin: 0; }
.review-card { background: linear-gradient(145deg,#172231,var(--ink)); border-radius: 8px; color: white; min-height: 270px; padding: 30px; }
.review-stars { color: #49a5fa; font-size: 23px; letter-spacing: .06em; }
.review-stars .unfilled { color: #526070; }
.review-card blockquote { font-size: 17px; line-height: 1.6; margin: 22px 0; overflow-wrap: anywhere; }
.review-card strong { color: #b8c2cd; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.review-form { background: white; border: 1px solid #d9dfe6; border-radius: 8px; box-shadow: 8px 8px 0 var(--silver); display: grid; gap: 22px; margin: 0 auto; max-width: 830px; padding: 36px; }
.review-form-heading { align-items: end; border-bottom: 1px solid #d9dfe6; display: flex; justify-content: space-between; padding-bottom: 20px; }
.review-form-heading span { font-family: Impact,sans-serif; font-size: 30px; text-transform: uppercase; }
.review-form-heading p, .review-privacy { color: #707b88; font-size: 11px; margin: 0; }
.name-fields { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.review-form label, .review-form legend { color: #303a47; display: grid; font-size: 10px; font-weight: 900; gap: 8px; letter-spacing: .09em; text-transform: uppercase; }
.review-form input, .review-form textarea { background: #f7f9fb; border: 1px solid var(--silver); border-radius: 4px; color: var(--ink); font: inherit; font-size: 15px; padding: 13px 14px; text-transform: none; width: 100%; }
.review-form textarea { line-height: 1.55; resize: vertical; }
.review-form fieldset { border: 0; margin: 0; padding: 0; }
.review-form legend { margin-bottom: 8px; }
.star-picker { display: flex; gap: 3px; }
.star-picker button { background: transparent; border: 0; color: #b9c1ca; cursor: pointer; font-size: 34px; line-height: 1; padding: 2px; }
.star-picker button.selected { color: var(--blue); }
.review-submit { background: var(--blue); box-shadow: 6px 6px 0 var(--ink); color: white; cursor: pointer; width: fit-content; }
.review-submit:hover { background: var(--blue-dark); }
.honeypot { height: 0; left: -9999px; overflow: hidden; position: absolute; width: 0; }

.trust-contact { display: grid; grid-template-columns: 1.1fr .9fr; }
.trust-panel { background: radial-gradient(circle at 12% 85%,rgba(22,119,216,.28),transparent 24%),linear-gradient(145deg,#172231,var(--ink)); color: white; padding: 100px 6vw 105px; }
.eyebrow-light { color: var(--silver); }
.trust-intro { color: #bdc6d0; font-size: 16px; line-height: 1.7; margin: 25px 0 40px; max-width: 610px; }
.trust-list { display: grid; gap: 3px; }
.trust-list > div { background: rgba(255,255,255,.055); display: grid; gap: 19px; grid-template-columns: 35px 1fr; padding: 18px 20px; }
.trust-list > div > span { color: var(--blue); font-family: Impact,sans-serif; font-size: 20px; }
.trust-list strong { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.trust-list p { color: #aeb8c3; font-size: 13px; margin: 5px 0 0; }
.contact-panel { background: linear-gradient(145deg,#1680e5,#0755a2); color: white; display: flex; flex-direction: column; justify-content: center; padding: 100px 6vw; }
.contact-kicker { font-size: 11px; font-weight: 900; letter-spacing: .14em; margin-bottom: 16px; text-transform: uppercase; }
.contact-panel > p { color: #dbeafa; font-size: 14px; line-height: 1.65; margin: 20px 0 27px; }
.contact-details { background: rgba(255,255,255,.94); border: 2px solid var(--ink); border-radius: 6px; box-shadow: 7px 7px 0 var(--silver); color: var(--ink); }
.contact-details > div { display: flex; flex-direction: column; gap: 5px; padding: 14px 17px; }
.contact-details > div + div { border-top: 1px solid rgba(16,23,34,.2); }
.contact-details span, .quote-prompt strong { font-size: 9px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.contact-details strong { font-size: 14px; overflow-wrap: anywhere; }
.quote-prompt { margin-top: 26px; }
.quote-prompt p { font-size: 12px; line-height: 1.65; margin: 7px 0 0; }
.contact-button { background: var(--ink); box-shadow: 6px 6px 0 var(--silver); color: white; margin-top: 26px; width: fit-content; }
.site-footer { align-items: center; background: #030406; color: white; display: grid; gap: 30px; grid-template-columns: 1fr auto 1fr; padding: 45px 6vw; }
.site-footer p { color: #aeb8c3; font-size: 11px; line-height: 1.7; margin: 0; text-align: center; }
.back-to-top { font-size: 10px; font-weight: 900; justify-self: end; letter-spacing: .1em; text-transform: uppercase; }

:focus-visible { outline: 3px solid var(--silver); outline-offset: 4px; }

@media (max-width: 980px) {
	.desktop-nav { display: none; }
	.hero { grid-template-columns: 1fr; }
	.hero-copy { padding-right: 0; }
	.hero-visual { margin-top: 55px; min-height: 500px; }
	.section-heading, .reviews-heading { align-items: start; gap: 25px; grid-template-columns: 1fr; }
	.services-grid { grid-template-columns: repeat(2,1fr); }
	.service-card:last-child { grid-column: 1/-1; justify-self: center; max-width: 50%; }
	.showcase-grid { grid-template-columns: repeat(3,1fr); }
	.approved-reviews { grid-template-columns: repeat(2,1fr); }
	.trust-contact { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
	.site-header { height: 82px; padding: 0 22px; }
	.brand-logo { height: 54px; width: 54px; }
	.brand-copy strong { font-size: 18px; }
	.brand-copy small { font-size: 7px; }
	.header-cta { font-size: 9px; padding: 0 12px; }
	.hero { min-height: 0; padding: 42px 22px 70px; }
	h1 { font-size: clamp(58px,19vw,82px); }
	.hero-intro { font-size: 16px; }
	.hero-points { grid-template-columns: 1fr; }
	.hero-visual { min-height: 390px; }
	.logo-stage { left: 0; right: 0; }
	.route-card { left: 14px; }
	.services-section, .reviews-section { padding: 78px 22px; }
	.services-grid, .approved-reviews { grid-template-columns: 1fr; }
	.service-card:last-child { grid-column: auto; max-width: none; }
	.showcase-heading { align-items: start; flex-direction: column; }
	.showcase-grid { grid-template-columns: 1fr 1fr; }
	.showcase-item { height: 150px; }
	.showcase-item:last-child { grid-column: 1/-1; height: 210px; }
	.review-form { padding: 27px 22px; }
	.name-fields { grid-template-columns: 1fr; }
	.review-form-heading { align-items: start; flex-direction: column; gap: 5px; }
	.trust-panel, .contact-panel { padding: 78px 22px; }
	.site-footer { grid-template-columns: 1fr; justify-items: center; padding: 42px 22px; }
	.back-to-top { justify-self: center; }
}

@media (max-width: 430px) {
	.site-header .brand-copy { display: none; }
}

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

