/* Rapid Response Towing — service & service-area pages (Oct 2026).
   Works on top of main.css (HTML5 UP Solid State). */

#wrapper > header h1 {
	border-bottom: solid 2px rgba(255, 255, 255, 0.125);
	font-size: 2em;
	margin-bottom: 0.8em;
	padding-bottom: 0.4em;
	line-height: 1.4;
}

.rrt-crumbs { font-size: 0.8em; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 1.5em; opacity: 0.75; }
.rrt-crumbs a { border-bottom: 0; }
.rrt-crumbs span { margin: 0 0.5em; }

.rrt-cta { display: flex; flex-wrap: wrap; gap: 0.75em; margin: 1.5em 0 0 0; padding: 0; list-style: none; }
.rrt-cta li { padding: 0; }
.rrt-cta .button { margin: 0; }
.rrt-cta .button.rrt-call { background-color: #d9363e; box-shadow: none; color: #fff !important; }
.rrt-cta .button.rrt-call:hover { background-color: #e5474f; }

.rrt-hero-img { margin: 0 0 2em 0; border-radius: 6px; overflow: hidden; }
.rrt-hero-img img { display: block; width: 100%; height: auto; max-height: 520px; object-fit: cover; }

.rrt-two { display: grid; grid-template-columns: 3fr 2fr; gap: 2.5em; align-items: start; margin-bottom: 2.5em; }
@media screen and (max-width: 980px) { .rrt-two { grid-template-columns: 1fr; gap: 1em; } }

.rrt-box { background: rgba(255, 255, 255, 0.05); border: solid 1px rgba(255, 255, 255, 0.125); border-radius: 6px; padding: 1.5em 1.75em; margin-bottom: 2em; }
.rrt-box h3 { margin-bottom: 0.75em; }
.rrt-box ul { margin-bottom: 0; }

.rrt-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1em; margin: 0 0 2.5em 0; }
.rrt-gallery figure { margin: 0; }
.rrt-gallery img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; }
.rrt-gallery figcaption { font-size: 0.75em; opacity: 0.75; margin-top: 0.4em; line-height: 1.5; }

.rrt-steps { counter-reset: step; list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1em; }
.rrt-steps li { counter-increment: step; background: rgba(255, 255, 255, 0.05); border-radius: 6px; padding: 1.25em 1.25em 1.25em 3.5em; position: relative; line-height: 1.6; }
.rrt-steps li::before { content: counter(step); position: absolute; left: 1em; top: 1.1em; width: 1.8em; height: 1.8em; border-radius: 50%; background: #4c5c96; color: #fff; text-align: center; line-height: 1.8em; font-weight: 700; font-size: 0.9em; }

.rrt-faq details { border-bottom: solid 1px rgba(255, 255, 255, 0.125); padding: 1em 0; }
.rrt-faq summary { cursor: pointer; font-weight: 700; color: #fff; list-style: none; }
.rrt-faq summary::-webkit-details-marker { display: none; }
.rrt-faq summary::after { content: "+"; float: right; opacity: 0.7; }
.rrt-faq details[open] summary::after { content: "–"; }
.rrt-faq details p { margin: 0.75em 0 0 0; }

.rrt-chips { display: flex; flex-wrap: wrap; gap: 0.5em; list-style: none; padding: 0; margin: 0 0 2em 0; }
.rrt-chips li { padding: 0; }
.rrt-chips a { display: inline-block; border: solid 1px rgba(255, 255, 255, 0.25); border-radius: 999px; padding: 0.35em 1em; font-size: 0.85em; border-bottom-width: 1px; }
.rrt-chips a:hover { background: rgba(255, 255, 255, 0.08); }

.rrt-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.25em; margin-bottom: 2.5em; }
.rrt-card { display: block; background: #353849; border-radius: 6px; overflow: hidden; border-bottom: 0; transition: transform 0.2s ease, box-shadow 0.2s ease; color: inherit; }
.rrt-card:hover { transform: translateY(-4px); box-shadow: 0 14px 28px rgba(0, 0, 0, 0.3); }
.rrt-card img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.rrt-card div { padding: 1.1em 1.25em 1.3em; }
.rrt-card h3 { margin: 0 0 0.4em 0; font-size: 1em; }
.rrt-card p { margin: 0; font-size: 0.85em; line-height: 1.6; }

.rrt-band { background: #4c5c96; border-radius: 6px; padding: 2em; text-align: center; margin: 1em 0 0 0; }
.rrt-band h2 { border: 0; margin-bottom: 0.4em; }
.rrt-band p { margin-bottom: 0; }
.rrt-band .rrt-cta { justify-content: center; }

/* Sticky call bar on phones (same as homepage) */
.rrt-call-bar { display: none; }
@media screen and (max-width: 736px) {
	.rrt-call-bar { display: flex; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 10002; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(30, 33, 48, 0.97); box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.35); }
	.rrt-call-bar a { flex: 1; text-align: center; border-radius: 6px; padding: 12px 8px; font-weight: 700; letter-spacing: 0.04em; border: 0; color: #fff; font-size: 0.85em; }
	.rrt-call-bar .rrt-call { background: #d9363e; }
	.rrt-call-bar .rrt-text { background: #4c5c96; }
	body { padding-bottom: 72px; }
}

.rrt-footer-links { columns: 2; column-gap: 2em; list-style: none; padding: 0; margin: 0 0 2em 0; font-size: 0.9em; }
.rrt-footer-links li { padding: 0.15em 0; break-inside: avoid; }
@media screen and (max-width: 736px) { .rrt-footer-links { columns: 1; } }

@media screen and (max-width: 736px) {
	.rrt-hero-img img { max-height: 300px; }
	.rrt-cta { flex-direction: column; }
	.rrt-cta li, .rrt-cta .button { width: 100%; }
	.rrt-cta .button { padding: 0 1em; }
}
