/* Homepage sections (inc/home.php), 2026-10-23. Palette: cream page, khaki #968a6a, near-black #1f1e1b, Inter light headings. */
.hm-eyebrow { margin: 0 0 10px; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: #968a6a; }
.hm-h2 { margin: 0 0 34px; font-size: 2.4rem; font-weight: 300; line-height: 1.15; text-align: center; text-wrap: balance; }
.hm-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 26px; }
.hm-actions .btn { margin: 0; }
.hm-link { font-weight: 500; color: #7c7155 !important; text-decoration: none !important; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.hm-link:hover { color: #1f1e1b !important; }
/* intro + video */
.hm-intro-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: center; }
.hm-intro-text h2 { margin: 0 0 18px; font-size: 2.5rem; font-weight: 300; line-height: 1.12; text-wrap: balance; }
.hm-intro-text p { font-size: 1.05rem; line-height: 1.7; color: #4a473f; margin: 0; }
.hm-video { position: relative; padding-top: 56.25%; border-radius: 10px; overflow: hidden; background: #2b2a27; box-shadow: 0 18px 40px rgba(40, 32, 10, 0.18); }
.hm-video .mc-box { border-radius: 10px; }
/* facts strip */
.hm-facts { background: #1f1e1b; color: #f3f1ea; padding: 34px 0; }
.hm-facts ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.hm-facts li { margin: 0; padding: 0 0 0 18px; border-left: 2px solid #968a6a; display: grid; gap: 4px; }
.hm-facts li:before { display: none; }
.hm-facts strong { font-size: 1.25rem; font-weight: 400; color: #fff; letter-spacing: 0.01em; }
.hm-facts span { font-size: 0.9rem; line-height: 1.45; color: #c9c3b2; }
/* service cards */
.hm-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.hm-card { display: flex; flex-direction: column; background: #fff; border: 1px solid #e6e0d0; border-radius: 10px; overflow: hidden; color: inherit !important; text-decoration: none !important; transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s; }
.hm-card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(60, 50, 20, 0.12); border-color: #d2c8ad; }
.hm-card-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #e9e4d6; }
.hm-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.hm-card:hover .hm-card-img img { transform: scale(1.04); }
.hm-card-body { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 22px; flex: 1; }
.hm-card h3 { margin: 0; font-size: 1.3rem; font-weight: 400; color: #1f1e1b; }
.hm-card p { margin: 0; font-size: 0.95rem; line-height: 1.55; color: #5a564c; }
.hm-more { margin-top: auto; padding-top: 8px; font-size: 0.88rem; font-weight: 500; color: #7c7155; }
.hm-ketra { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 18px 24px; border: 1px solid #e6e0d0; border-radius: 10px; background: #f6f2e7; }
.hm-ketra div { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline; }
.hm-ketra strong { font-weight: 600; color: #1f1e1b; }
.hm-ketra span { color: #5a564c; }
/* experience center */
.hm-visit { background: #f6f3eb; }
.hm-visit-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: stretch; }
.hm-visit .hm-h2 { text-align: left; margin-bottom: 16px; }
.hm-visit-text > p { font-size: 1.02rem; line-height: 1.7; color: #4a473f; margin: 0 0 26px; }
.hm-visit-info { display: grid; grid-template-columns: 1fr 1.2fr; gap: 24px; }
.hm-visit-info h3 { margin: 0 0 6px; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: #968a6a; }
.hm-visit-info p { margin: 0 0 18px; line-height: 1.6; }
.hm-visit-info a { color: inherit; }
.hm-visit-info dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-size: 0.95rem; }
.hm-visit-info dt { color: #5a564c; }
.hm-visit-info dd { margin: 0; color: #1f1e1b; }
.hm-map { min-height: 420px; border-radius: 10px; overflow: hidden; background: #2b2a27; }
.hm-map .mc-box { height: 100% !important; min-height: 420px; }
/* closing call to action */
.hm-end { background: #1f1e1b url('../../images/smart-home-automation-contact.jpg') center / cover no-repeat; position: relative; color: #fff; text-align: center; padding: 90px 0; }
.hm-end:before { content: ''; position: absolute; inset: 0; background: rgba(20, 18, 14, 0.72); }
.hm-end .container { position: relative; }
.hm-end h2 { margin: 0 0 12px; font-size: 2.3rem; font-weight: 300; color: #fff; text-wrap: balance; }
.hm-end p { margin: 0 auto; max-width: 560px; color: #e6e1d4; font-size: 1.05rem; }
.hm-end .hm-actions { justify-content: center; }
.hm-link.hm-light { color: #fff !important; }
@media (max-width: 991px) {
	.hm-intro-grid, .hm-visit-grid { grid-template-columns: 1fr; gap: 32px; }
	.hm-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.hm-facts ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
	.hm-cards, .hm-facts ul, .hm-visit-info { grid-template-columns: 1fr; }
	.hm-intro-text h2, .hm-h2, .hm-end h2 { font-size: 1.8rem; }
	.hm-map, .hm-map .mc-box { min-height: 300px; }
	.hm-end { padding: 60px 0; }
}

/* Hero slides (2026-10-23): label, sentence-case headline, one supporting line, solid button + text link */
.hero-copy { max-width: 860px; text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35); }
.hero-copy .hero-eyebrow { margin: 0 0 14px; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: #e8dfc4; line-height: 1.3; }
.hero-copy .banner-text { text-transform: none; font-weight: 300; font-size: 3.6rem; line-height: 1.08; letter-spacing: -0.01em; margin: 0 0 16px; text-wrap: balance; }
.hero-copy .hero-sub { margin: 0 auto 28px; max-width: 620px; font-size: 1.2rem; font-weight: 400; line-height: 1.5; color: #f3efe4; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 28px; }
.hero-actions .btn.btn-secondary { background: #968a6b; color: #fff; border-radius: 4px; padding: 0.95em 1.9em; text-shadow: none; transition: background 0.25s; }
.hero-actions .btn.btn-secondary:hover { background: #7f7458; }
.hero-link { color: #fff !important; text-decoration: none !important; font-weight: 500; border-bottom: 1px solid rgba(255, 255, 255, 0.7); padding-bottom: 2px; }
.hero-link:hover { border-bottom-color: #fff; }
.slide_img:after { background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.2) 40%, rgba(0, 0, 0, 0.45) 100%); }
@media (max-width: 991px) {
	.hero-copy .banner-text { font-size: 2.6rem; }
	.hero-copy .hero-sub { font-size: 1.05rem; }
}
@media (max-width: 600px) {
	.hero-copy .hero-eyebrow { font-size: 0.72rem; margin-bottom: 10px; }
	.hero-copy .banner-text { font-size: 1.9rem; }
	.hero-copy .hero-sub { font-size: 0.98rem; margin-bottom: 20px; }
	.hero-actions { flex-direction: column; gap: 14px; }
}
@media (max-width: 767px) {
	/* phones: taller slides so the headline, line and buttons all fit on the photo */
	.slider_outer_wrap .simple_slider, .simple_slider { height: 500px !important; }
	.hero-copy.banner-text-wrap { padding-top: 5.5em; }
	.hero-actions .btn.btn-secondary { display: inline-block; width: auto; }
}
