/* Top Rated Carpet & Upholstery — shared styles */

:root {
	--navy: #0a2540;
	--navy-dark: #071a2e;
	--navy-light: #143b66;
	--accent: #e85d2a;
	--accent-dark: #c84a1c;
	--text: #1f2933;
	--text-muted: #5b6b7d;
	--bg: #ffffff;
	--bg-alt: #f6f8fb;
	--border: #e3e8ef;
	--success: #1f9d55;
	--radius: 12px;
	--shadow: 0 6px 24px rgba(10, 37, 64, 0.08);
	--shadow-lg: 0 16px 40px rgba(10, 37, 64, 0.12);
	--max: 1180px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
	color: var(--text);
	background: var(--bg);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1rem; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* ---------- Top call bar ---------- */
.top-bar {
	background: var(--navy-dark);
	color: #fff;
	font-size: .88rem;
	padding: 8px 0;
}
.top-bar .inner {
	max-width: var(--max); margin: 0 auto; padding: 0 20px;
	display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px;
}
.top-bar a { color: #fff; font-weight: 600; }
.top-bar .highlight { color: #ffd28a; }

/* ---------- Header / nav ---------- */
.site-header {
	background: var(--navy);
	color: #fff;
	position: sticky; top: 0; z-index: 50;
	box-shadow: 0 2px 12px rgba(0,0,0,.18);
}
.site-header .inner {
	max-width: var(--max); margin: 0 auto; padding: 4px 20px;
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand {
	display: flex; align-items: center; gap: 12px;
	color: #fff; font-weight: 800; font-size: 1.05rem; letter-spacing: .2px;
}
.brand-logo {
	height: 72px; width: auto; display: block;
}
@media (max-width: 480px) { .brand-logo { height: 56px; } }
/* Wordmark is already in the logo — hide redundant text */
.brand .brand-text { display: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text .sub { font-size: .72rem; font-weight: 500; color: #ffd28a; letter-spacing: 1px; text-transform: uppercase; }
@media (max-width: 480px) { .brand-text { display: none; } }

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.main-nav a {
	color: #fff; font-weight: 600; padding: 10px 14px; border-radius: 8px;
	transition: background .15s;
}
.main-nav a:hover, .main-nav a.active { background: rgba(255,255,255,.1); color: #fff; }

.nav-cta {
	background: var(--accent); color: #fff !important; font-weight: 700;
	padding: 10px 18px; border-radius: 8px;
}
.nav-cta:hover { background: var(--accent-dark); }

.nav-toggle {
	display: none; background: transparent; border: 0; color: #fff; font-size: 1.5rem; cursor: pointer; padding: 8px;
}

/* ---------- Buttons ---------- */
.btn {
	display: inline-block; padding: 14px 26px; border-radius: 10px;
	font-weight: 700; font-size: 1rem; border: 0; cursor: pointer; text-align: center;
	transition: background .15s, transform .05s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff !important; }
.btn-primary:hover { background: var(--accent-dark); color: #fff !important; }
.btn-secondary {
	background: transparent; color: #fff !important; border: 2px solid #fff;
}
.btn-secondary:hover { background: #fff; color: var(--navy) !important; }
.btn-dark { background: var(--navy); color: #fff !important; }
.btn-dark:hover { background: var(--navy-light); }

/* ---------- Hero ---------- */
.hero {
	background:
		linear-gradient(135deg, rgba(10,37,64,.88), rgba(7,26,46,.85)),
		url('images/hero.jpg') center/cover no-repeat;
	color: #fff; padding: 80px 0 90px; text-align: center;
}
.hero .badge {
	display: inline-block; background: rgba(232,93,42,.2); color: #ffd28a; border: 1px solid #ffd28a;
	padding: 6px 14px; border-radius: 999px; font-size: .85rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
	margin-bottom: 20px;
}
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero p.tagline { color: #ffd28a; font-size: 1.2rem; font-weight: 600; margin-bottom: 8px; }
.hero p.lead { color: rgba(255,255,255,.9); font-size: 1.1rem; max-width: 650px; margin: 0 auto 28px; }
.hero .cta-group { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- Sections ---------- */
section { padding: 70px 0; }
section.alt { background: var(--bg-alt); }
section h2 { text-align: center; margin-bottom: 12px; }
section .lead-text { text-align: center; color: var(--text-muted); max-width: 680px; margin: 0 auto 50px; font-size: 1.05rem; }

/* ---------- Services grid ---------- */
.services-grid {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px;
}
.service-card {
	background: #fff; border-radius: var(--radius); overflow: hidden;
	box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s;
	border: 1px solid var(--border);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-card .img-wrap { aspect-ratio: 4/3; background: #dde4ed; overflow: hidden; }
.service-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.service-card .body { padding: 22px 22px 26px; }
.service-card h3 { color: var(--navy); margin-bottom: 10px; }
.service-card p { color: var(--text-muted); margin-bottom: 14px; font-size: .95rem; }
.service-card .more { color: var(--accent); font-weight: 700; font-size: .9rem; }

/* ---------- Features / what-sets-us-apart ---------- */
.features {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 24px;
}
.feature {
	background: #fff; padding: 26px; border-radius: var(--radius);
	border: 1px solid var(--border);
}
.feature .icon {
	width: 48px; height: 48px; border-radius: 10px; background: rgba(232,93,42,.12);
	color: var(--accent); display: grid; place-items: center; font-size: 1.5rem; margin-bottom: 14px; font-weight: 800;
}
.feature h3 { margin-bottom: 6px; font-size: 1.05rem; }
.feature p { color: var(--text-muted); font-size: .92rem; margin: 0; }

/* ---------- Two-column content ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.two-col .media img { border-radius: var(--radius); box-shadow: var(--shadow); }
@media (max-width: 760px) { .two-col { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band {
	background: linear-gradient(135deg, var(--accent), #ff7a44);
	color: #fff; text-align: center; padding: 60px 20px;
}
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,.95); max-width: 560px; margin: 0 auto 24px; font-size: 1.05rem; }
.cta-band .btn-dark:hover { background: var(--navy-dark); }

/* ---------- Service areas list ---------- */
.areas-list {
	display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px;
}
.area-chip {
	background: #fff; border: 1px solid var(--border); padding: 12px 16px;
	border-radius: 8px; font-weight: 600; color: var(--navy); text-align: center;
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card {
	background: #fff; padding: 32px; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--border);
}
.contact-info .row {
	display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px;
}
.contact-info .icon {
	width: 42px; height: 42px; border-radius: 10px; background: rgba(232,93,42,.12); color: var(--accent);
	display: grid; place-items: center; font-size: 1.1rem; flex: 0 0 auto;
}
.contact-info .row .text strong { display: block; color: var(--navy); font-size: 1rem; }
.contact-info .row .text a, .contact-info .row .text span { color: var(--text-muted); }

form.contact-form label { display: block; font-weight: 600; color: var(--navy); margin-bottom: 6px; font-size: .9rem; }
form.contact-form input, form.contact-form textarea, form.contact-form select {
	width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 8px; font-family: inherit; font-size: 1rem; margin-bottom: 16px;
}
form.contact-form textarea { min-height: 120px; resize: vertical; }
form.contact-form input:focus, form.contact-form textarea:focus, form.contact-form select:focus {
	outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(232,93,42,.15);
}

/* ---------- Page header (inner pages) ---------- */
.page-head {
	background: linear-gradient(135deg, var(--navy), var(--navy-light));
	color: #fff; padding: 60px 0; text-align: center;
}
.page-head h1 { color: #fff; margin-bottom: 8px; }
.page-head p { color: rgba(255,255,255,.85); margin: 0; font-size: 1.05rem; }

/* ---------- Service row (services page) ---------- */
.service-row { padding: 50px 0; border-bottom: 1px solid var(--border); }
.service-row:last-child { border-bottom: 0; }
.service-row .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.service-row.reverse .grid { direction: rtl; }
.service-row.reverse .grid > * { direction: ltr; }
.service-row img { border-radius: var(--radius); box-shadow: var(--shadow); }
@media (max-width: 760px) { .service-row .grid, .service-row.reverse .grid { grid-template-columns: 1fr; direction: ltr; } }

/* ---------- Footer ---------- */
.site-footer {
	background: var(--navy-dark); color: rgba(255,255,255,.78);
	padding: 50px 0 24px;
	font-size: .92rem;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 30px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 12px; text-transform: uppercase; letter-spacing: 1px; }
.site-footer a { color: rgba(255,255,255,.82); font-weight: 500; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer ul li { margin-bottom: 6px; }
.footer-bottom {
	border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px;
	display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px;
	color: rgba(255,255,255,.55); font-size: .85rem;
}

/* ---------- Mobile tagline (inside header) ---------- */
.mobile-tagline { display: none; }

/* ---------- Mobile nav ---------- */
@media (max-width: 860px) {
	.top-bar { display: none; }
	.mobile-tagline {
		display: block; background: var(--navy-dark); color: #ffd28a;
		font-size: .78rem; font-weight: 600; text-align: center;
		padding: 6px 14px 8px; border-top: 1px solid rgba(255,255,255,.08);
		letter-spacing: .3px;
	}
	.mobile-tagline > div { line-height: 1.5; }
	.mobile-tagline > div + div { margin-top: 2px; }
	.mobile-tagline a { color: #fff; font-size: .85rem; }
	.nav-toggle { display: block; }
	.main-nav {
		position: absolute; top: 100%; right: 0; left: 0;
		background: var(--navy); padding: 10px 20px 16px;
		display: none; box-shadow: 0 6px 14px rgba(0,0,0,.2); z-index: 60;
	}
	.main-nav.open { display: block; }
	.main-nav ul { flex-direction: column; gap: 0; }
	.main-nav a { padding: 12px 14px; width: 100%; display: block; }
	.main-nav .nav-cta { margin-top: 6px; text-align: center; }
}

/* ---------- Small helpers ---------- */
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mb-0 { margin-bottom: 0; }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li {
	padding: 8px 0 8px 32px; position: relative; color: var(--text); font-weight: 500;
}
.checklist li::before {
	content: '✓'; position: absolute; left: 0; top: 8px;
	color: var(--success); font-weight: 800; font-size: 1.1rem;
}
