/* Trust Cleaning Company — main stylesheet */
:root {
  --navy: #0b2545;
  --navy-2: #13315c;
  --blue: #1d6fd8;
  --blue-dark: #1558ad;
  --teal: #17b3a6;
  --sky: #eaf2fc;
  --ink: #1f2a3a;
  --muted: #5b6b80;
  --line: #e3e9f2;
  --bg: #ffffff;
  --radius: 14px;
  --shadow: 0 8px 30px rgba(11, 37, 69, 0.08);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.65; font-size: 16.5px; }
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 22px; }

h1, h2, h3, h4 { line-height: 1.2; color: var(--navy); font-weight: 800; letter-spacing: -0.02em; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.55rem, 3.4vw, 2.25rem); }
h3 { font-size: 1.2rem; }
p.lead { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy); color: #cfe0f5; font-size: 0.88rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; padding-top: 7px; padding-bottom: 7px; gap: 12px; flex-wrap: wrap; }
.topbar a { color: #fff; font-weight: 600; }
.topbar .areas { opacity: 0.85; }
@media (max-width: 700px) { .topbar .areas { display: none; } }

/* ---------- Header / nav ---------- */
header.site { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand .mark { width: 40px; height: 40px; border-radius: 10px; background: linear-gradient(135deg, var(--blue), var(--teal)); display: grid; place-items: center; color: #fff; flex-shrink: 0; }
.brand .name { font-weight: 800; color: var(--navy); font-size: 1.08rem; line-height: 1.15; }
.brand .tag { display: block; font-size: 0.7rem; font-weight: 600; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; }
nav.main ul { display: flex; list-style: none; gap: 26px; align-items: center; }
nav.main a { color: var(--ink); font-weight: 600; font-size: 0.95rem; }
nav.main a:hover, nav.main a[aria-current="page"] { color: var(--blue); text-decoration: none; }
.nav-cta { display: flex; gap: 10px; align-items: center; }
#nav-toggle { display: none; }
.hamburger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.hamburger span { display: block; width: 24px; height: 2.5px; background: var(--navy); margin: 5px 0; border-radius: 2px; }

@media (max-width: 920px) {
  .hamburger { display: block; }
  nav.main { position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); display: none; box-shadow: var(--shadow); }
  nav.main ul { flex-direction: column; gap: 0; padding: 10px 0; }
  nav.main li { width: 100%; }
  nav.main a { display: block; padding: 12px 24px; }
  #nav-toggle:checked ~ nav.main { display: block; }
  .nav-cta .btn-ghost { display: none; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-block; padding: 13px 26px; border-radius: 10px; font-weight: 700; font-size: 0.98rem; text-decoration: none; transition: all 0.18s ease; border: 2px solid transparent; cursor: pointer; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 4px 14px rgba(29,111,216,0.35); }
.btn-primary:hover { background: var(--blue-dark); }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: var(--sky); }
.btn-ghost { border-color: var(--line); color: var(--navy); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-lg { padding: 16px 34px; font-size: 1.05rem; }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(160deg, rgba(11,37,69,0.93) 0%, rgba(19,49,92,0.88) 55%, rgba(26,74,138,0.85) 100%), url('/images/hero.jpg') center/cover no-repeat; color: #fff; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -180px; top: -120px; width: 560px; height: 560px; border-radius: 50%; background: radial-gradient(circle, rgba(23,179,166,0.28), transparent 65%); }
.hero .container { position: relative; z-index: 1; padding-top: 84px; padding-bottom: 92px; }
.hero h1 { color: #fff; max-width: 18ch; }
.hero .kicker { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.22); padding: 6px 14px; border-radius: 100px; font-size: 0.85rem; font-weight: 600; margin-bottom: 22px; }
.hero p { color: #c9d8ec; font-size: 1.18rem; max-width: 56ch; margin: 20px 0 32px; }
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero .proof { display: flex; gap: 28px; margin-top: 44px; flex-wrap: wrap; }
.hero .proof div { font-size: 0.9rem; color: #c9d8ec; }
.hero .proof strong { display: block; font-size: 1.5rem; color: #fff; font-weight: 800; }

/* ---------- Sections ---------- */
section { padding: 72px 0; }
section.alt { background: #f6f9fd; }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head .eyebrow { color: var(--teal); font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.8rem; margin-bottom: 10px; }
.section-head p { color: var(--muted); margin-top: 12px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 920px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; } }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: box-shadow 0.2s ease, transform 0.2s ease; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card .icon { width: 48px; height: 48px; border-radius: 12px; background: var(--sky); color: var(--blue); display: grid; place-items: center; margin-bottom: 18px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 0.95rem; }
.card a.more { font-weight: 700; font-size: 0.9rem; display: inline-block; margin-top: 12px; }

/* ---------- Feature strip ---------- */
.strip { background: var(--navy); color: #fff; padding: 44px 0; }
.strip .grid-4 div { text-align: center; }
.strip .grid-4 strong { display: block; font-size: 1.05rem; margin-bottom: 4px; }
.strip .grid-4 span { color: #b7c9e2; font-size: 0.88rem; }
.strip svg { margin: 0 auto 10px; color: var(--teal); }

/* ---------- Industries chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chip { background: #fff; border: 1px solid var(--line); border-radius: 100px; padding: 10px 20px; font-weight: 600; font-size: 0.93rem; color: var(--navy); }

/* ---------- Industry image cards ---------- */
.industry-card { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; }
.industry-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.industry-card:hover img { transform: scale(1.05); }
.industry-card span { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 18px 14px; color: #fff; font-weight: 700; font-size: 1.02rem; background: linear-gradient(transparent, rgba(11,37,69,0.85)); }

/* ---------- Service block images ---------- */
.service-block .photo { width: 100%; border-radius: 12px; margin-top: 16px; aspect-ratio: 16/7; object-fit: cover; }
.card > img.thumb { width: calc(100% + 56px); margin: -28px -28px 20px; max-width: none; aspect-ratio: 16/8; object-fit: cover; border-radius: var(--radius) var(--radius) 0 0; }

/* ---------- Areas ---------- */
.area-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 900px) { .area-grid { grid-template-columns: repeat(2, 1fr); } }
.area { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; font-weight: 700; color: var(--navy); display: flex; align-items: center; gap: 10px; }
.area svg { color: var(--teal); flex-shrink: 0; }

/* ---------- Testimonial ---------- */
.quote { background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--teal); border-radius: var(--radius); padding: 34px 38px; max-width: 820px; margin: 0 auto; box-shadow: var(--shadow); }
.quote p { font-size: 1.12rem; color: var(--ink); font-style: italic; }
.quote footer { margin-top: 16px; font-weight: 700; color: var(--navy); font-style: normal; }
.stars { color: #f5a623; letter-spacing: 2px; margin-bottom: 12px; font-size: 1.1rem; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, var(--blue), var(--teal)); color: #fff; text-align: center; padding: 64px 0; }
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,0.9); margin-bottom: 28px; font-size: 1.1rem; }

/* ---------- Forms ---------- */
form.quote-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
label { display: block; font-weight: 600; font-size: 0.9rem; margin: 14px 0 6px; color: var(--navy); }
input, select, textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 9px; font-family: inherit; font-size: 1rem; background: #fbfdff; transition: border-color 0.15s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); }
textarea { min-height: 120px; resize: vertical; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
form .btn { margin-top: 22px; width: 100%; }

/* ---------- FAQ ---------- */
details { border: 1px solid var(--line); border-radius: 12px; padding: 18px 22px; margin-bottom: 12px; background: #fff; }
details summary { font-weight: 700; color: var(--navy); cursor: pointer; font-size: 1.02rem; }
details p { margin-top: 12px; color: var(--muted); }

/* ---------- Service detail ---------- */
.service-block { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.service-block:last-child { border-bottom: 0; }
.service-block .icon { width: 52px; height: 52px; border-radius: 13px; background: var(--sky); color: var(--blue); display: grid; place-items: center; }
.service-block h3 { font-size: 1.3rem; margin-bottom: 8px; }
.service-block p { color: var(--muted); }
.service-block ul { margin: 10px 0 0 20px; color: var(--muted); }

/* ---------- Page hero (interior pages) ---------- */
.page-hero { background: linear-gradient(160deg, var(--navy), var(--navy-2)); color: #fff; padding: 60px 0; }
.page-hero h1 { color: #fff; }
.page-hero p { color: #c9d8ec; margin-top: 12px; max-width: 62ch; font-size: 1.1rem; }
.breadcrumbs { font-size: 0.85rem; color: #9fb4d0; margin-bottom: 14px; }
.breadcrumbs a { color: #cfe0f5; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info .item { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 22px; }
.contact-info .item svg { color: var(--blue); flex-shrink: 0; margin-top: 3px; }
.contact-info .item strong { display: block; color: var(--navy); }
.contact-info .item a, .contact-info .item span { color: var(--muted); }

/* ---------- Footer ---------- */
footer.site { background: var(--navy); color: #b7c9e2; padding: 56px 0 28px; font-size: 0.93rem; }
footer.site h4 { color: #fff; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px; }
footer.site ul { list-style: none; }
footer.site li { margin-bottom: 9px; }
footer.site a { color: #b7c9e2; }
footer.site a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 40px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 22px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 0.85rem; }
.socials { display: flex; gap: 14px; margin-top: 16px; }
.socials a { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 9px; background: rgba(255,255,255,0.1); color: #fff; }
.socials a:hover { background: var(--blue); }

/* ---------- Small screens ---------- */
@media (max-width: 560px) {
  .topbar .container { justify-content: center; }
  .topbar a { white-space: nowrap; }
  .nav { padding: 10px 0; gap: 8px; }
  .brand { gap: 8px; min-width: 0; flex-shrink: 1; }
  .brand .name { font-size: 0.95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .brand .tag { display: none; }
  .brand .mark { width: 34px; height: 34px; border-radius: 9px; }
  .nav-cta { gap: 8px; flex-shrink: 0; }
  .nav-cta .btn { padding: 9px 13px; font-size: 0.82rem; white-space: nowrap; }
  .page-hero { padding: 44px 0; }
  section { padding: 52px 0; }
}
@media (max-width: 380px) {
  .brand .name { display: none; }
}

/* ---------- Utility ---------- */
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 32px; }
.badge-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.badge { background: rgba(23,179,166,0.14); color: var(--teal); border: 1px solid rgba(23,179,166,0.35); padding: 5px 14px; border-radius: 100px; font-size: 0.82rem; font-weight: 700; }
