/*
Theme Name: Mainstream Support Enterprises
Theme URI: https://mainstreamsupport.net
Author: Mainstream Support Enterprises, LLC
Author URI: https://mainstreamsupport.net
Description: Custom WordPress theme for Mainstream Support Enterprises, LLC — home health care, companionship, appointments, mobile personal care and personal support across Middle Georgia. Includes a built-in inquiry form that emails submissions and stores them in the dashboard.
Version: 2.0.0
Requires at least: 6.2
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mainstream-support
Tags: one-column, custom-menu, custom-logo, featured-images
*/

/* ------------------------------------------------------------------
   1. Tokens & base
------------------------------------------------------------------ */
:root {
	--accent: #15A3A3;        /* teal – primary action colour */
	--accent-dark: #0F8484;
	--accent-soft: #E6F6F6;
	--navy: #0B2C5F;
	--gold: #D9A520;
	--gold-soft: #FBF3DC;
	--ink: #111111;
	--text: #3A3A3A;
	--muted: #6B6B6B;
	--line: #E9E9E9;
	--gray: #FAFAFA;
	--gray-2: #F4F4F4;
	--white: #FFFFFF;
	--font: "Poppins", "Segoe UI", system-ui, sans-serif;
	--container: 1140px;
	--radius: 4px;
	--shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
	--shadow-lg: 0 14px 40px rgba(0, 0, 0, 0.14);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; overflow-x: hidden; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--text); background: #fff; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--accent-dark); }
h1, h2, h3, h4 { font-family: var(--font); color: var(--ink); line-height: 1.3; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2rem, 3.6vw, 2.5rem); line-height: 1.3; }
h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
strong { color: var(--ink); }
ul, ol { padding-left: 1.3em; }
.screen-reader-text { position: absolute !important; clip: rect(1px,1px,1px,1px); width: 1px; height: 1px; overflow: hidden; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 1000; }
.skip-link:focus { left: 8px; color: #fff; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: 70px 0; }
.section--gray { background: var(--gray); }
.section--soft { background: var(--accent-soft); }
.section--tight { padding: 50px 0; }
.text-center { text-align: center; }
.eyebrow { display: block; font-weight: 700; font-size: 1rem; color: var(--accent); margin-bottom: 10px; letter-spacing: .02em; text-transform: uppercase; }
.eyebrow--plain { text-transform: none; }
.lead { font-size: 1.05rem; color: var(--text); }
.section-head { max-width: 820px; margin: 0 auto 40px; text-align: center; }
.section-head h2 { margin-bottom: 14px; }
.section-head p { margin: 0; }
.mse-icon { width: 22px; height: 22px; flex: none; }
.two-tone span { color: var(--accent); }

/* Buttons – flat, small radius like the reference */
.mse-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 26px; border-radius: 3px; font-family: var(--font); font-weight: 500; font-size: 16px; line-height: 1.2; border: 1px solid transparent; cursor: pointer; transition: background .2s ease, color .2s ease, transform .15s ease; text-decoration: none; }
.mse-btn:hover { transform: translateY(-1px); }
.mse-btn--primary { background: var(--accent); color: #fff; }
.mse-btn--primary:hover { background: var(--accent-dark); color: #fff; }
.mse-btn--gold { background: var(--gold); color: var(--ink); }
.mse-btn--gold:hover { background: #c4931a; color: var(--ink); }
.mse-btn--outline { border-color: var(--accent); color: var(--accent); background: transparent; }
.mse-btn--outline:hover { background: var(--accent); color: #fff; }
.mse-btn--sm { padding: 9px 20px; font-size: 14px; text-transform: uppercase; letter-spacing: .04em; }
.mse-btn--block { width: 100%; }
.mse-btn .mse-icon { width: 16px; height: 16px; }
.text-link { font-weight: 600; color: var(--accent); font-size: .95rem; }
.text-link:hover { color: var(--accent-dark); text-decoration: underline; }

/* ------------------------------------------------------------------
   2. Top bar + header
------------------------------------------------------------------ */
.topbar { background: linear-gradient(90deg, #D8F1F1 0%, #EAF6F6 45%, #FBEFD2 100%); font-size: 13px; color: var(--ink); }
.topbar .container { display: flex; align-items: center; justify-content: space-between; min-height: 34px; gap: 16px; }
.topbar__left { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.topbar__pill { display: inline-block; background: var(--accent); color: #fff; font-weight: 600; padding: 2px 10px; border-radius: 3px; font-size: 13px; border: 1px solid var(--accent-dark); }
.topbar__pill:hover { background: var(--accent-dark); color: #fff; }
.topbar__right { display: flex; align-items: center; gap: 12px; }
.topbar__right a { color: var(--ink); display: inline-flex; }
.topbar__right a:hover { color: var(--accent); }
.topbar__right svg { width: 15px; height: 15px; fill: currentColor; }
.topbar__right .mse-icon { width: 15px; height: 15px; fill: none; }

.site-header { position: sticky; top: 0; z-index: 900; background: #fff; box-shadow: 0 1px 0 var(--line); transition: box-shadow .2s ease; }
.site-header.is-stuck { box-shadow: 0 4px 18px rgba(0,0,0,.08); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 86px; }
.brand { display: flex; align-items: center; position: relative; z-index: 895; }
.brand img, .brand .custom-logo { height: 66px; width: auto; }
.nav-primary ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.nav-primary li { position: relative; }
.nav-primary a { display: block; padding: 10px 14px; font-size: 17px; font-weight: 400; color: var(--ink); }
.nav-primary a:hover, .nav-primary .current-menu-item > a, .nav-primary .current-menu-ancestor > a, .nav-primary .current_page_parent > a, .nav-primary .current-menu-parent > a { color: var(--accent); }
.nav-primary .menu-item-has-children > a::after { content: ""; display: inline-block; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-3px); margin-left: 8px; }
.nav-primary .sub-menu { position: absolute; top: 100%; left: 0; min-width: 250px; background: #fff; box-shadow: var(--shadow-lg); padding: 8px 0; opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .2s ease; border-top: 3px solid var(--accent); }
.nav-primary li:hover > .sub-menu, .nav-primary li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.nav-primary ul.sub-menu { flex-direction: column; align-items: stretch; gap: 0; }
.nav-primary .sub-menu li { display: block; }
.nav-primary .sub-menu a { padding: 9px 18px; font-size: 15px; white-space: nowrap; }
.nav-primary .sub-menu a:hover { background: var(--gray-2); }
.header-right { display: flex; align-items: center; gap: 16px; position: relative; z-index: 895; }
.nav-toggle { display: none; background: transparent; color: var(--ink); border: 0; width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; }
.nav-toggle .mse-icon { width: 26px; height: 26px; }
.nav-toggle .icon-close { display: none; }
body.nav-open .nav-toggle .icon-close { display: block; }
body.nav-open .nav-toggle .icon-menu { display: none; }

/* ------------------------------------------------------------------
   3. Home hero (photo + form card)
------------------------------------------------------------------ */
.hero { position: relative; background: #DDEFF0 center 30% / cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(214,240,240,.94) 0%, rgba(214,240,240,.86) 38%, rgba(214,240,240,.35) 62%, rgba(214,240,240,.1) 100%); }
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; min-height: 640px; padding-top: 50px; padding-bottom: 50px; }
.hero h1 { color: var(--ink); font-size: clamp(2rem, 3.4vw, 2.6rem); line-height: 1.3; margin-bottom: 14px; }
.hero h1 .light { font-weight: 500; }
.hero h1 .accent { color: var(--accent); }
.hero__text { font-size: 1.05rem; color: var(--text); margin-bottom: 24px; max-width: 580px; text-align: justify; }
.hero__text strong { color: var(--ink); }

.mse-form-card { background: #fff; padding: 26px 26px 24px; box-shadow: var(--shadow); color: var(--text); }
.mse-form-card--hero { max-width: 420px; margin-left: auto; }
.mse-form-card__head h3 { font-size: 1.25rem; margin: 0 0 4px; }
.mse-form-card__head p { font-size: .9rem; color: var(--muted); margin: 0 0 14px; }
.mse-radios { display: flex; gap: 16px; font-size: 14px; margin-bottom: 10px; flex-wrap: wrap; }
.mse-radios label { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.mse-radios input { accent-color: var(--accent); width: 15px; height: 15px; margin: 0; }
.mse-form__grid { display: grid; grid-template-columns: 1fr; gap: 10px; margin-bottom: 14px; }
.mse-form-card--contact .mse-form__grid { grid-template-columns: 1fr 1fr; gap: 14px; }
.mse-field { display: flex; flex-direction: column; gap: 4px; }
.mse-field--full { grid-column: 1 / -1; }
.mse-field label { font-size: 13px; font-weight: 500; color: var(--text); }
.mse-field label span { color: #E0245E; margin-right: 2px; }
.mse-field input, .mse-field select, .mse-field textarea { width: 100%; font: inherit; font-size: 15px; padding: 8px 12px; border: 1px solid #CFCFCF; border-radius: 3px; background: #fff; color: var(--ink); transition: border-color .2s ease, box-shadow .2s ease; }
.mse-field input:focus, .mse-field select:focus, .mse-field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(21,163,163,.15); }
.mse-field textarea { resize: vertical; min-height: 70px; }
.mse-field select { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23555' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><path d='m6 9 6 6 6-6'/></svg>"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 34px; }
.mse-field.is-invalid input, .mse-field.is-invalid select { border-color: #E0245E; }
.mse-hp { position: absolute; left: -9999px; top: -9999px; }
.mse-form__note { font-size: 12px; color: var(--muted); margin: 10px 0 0; display: flex; gap: 6px; align-items: center; }
.mse-form__note .mse-icon { width: 14px; height: 14px; color: var(--accent); }
.mse-alert { display: flex; gap: 10px; padding: 12px 14px; border-radius: 3px; margin-bottom: 14px; font-size: 14px; }
.mse-alert--success { background: #E8F7EE; color: #11552B; border: 1px solid #BFE8CE; }
.mse-alert--error { background: #FDECEC; color: #7A1F1F; border: 1px solid #F5C2C2; }
.mse-form.is-sending { opacity: .6; pointer-events: none; }

/* ------------------------------------------------------------------
   4. Home sections
------------------------------------------------------------------ */
.why { display: grid; grid-template-columns: 460px 1fr; gap: 56px; align-items: center; }
.why__img img { width: 100%; height: 580px; object-fit: cover; border-radius: 20px; }
.why h2 { margin-bottom: 22px; }
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; }
.feature-list h3 { display: flex; align-items: center; gap: 8px; font-size: 1.05rem; margin: 0 0 6px; }
.feature-list h3 .mse-icon { width: 18px; height: 18px; color: var(--accent); fill: var(--accent); }
.feature-list p { margin: 0; text-align: justify; font-size: 16px; }

.trust { display: grid; grid-template-columns: 240px 1fr; gap: 30px; align-items: center; }
.trust__badge { text-align: center; }
.trust__badge strong { display: block; font-size: 1.15rem; letter-spacing: .08em; color: var(--ink); }
.trust__badge .stars { color: var(--gold); font-size: 1.4rem; letter-spacing: 2px; line-height: 1.2; }
.trust__badge small { display: block; font-size: 13px; color: var(--muted); }
.trust__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.trust__card { background: var(--gray); border: 1px solid var(--line); border-radius: 6px; padding: 18px 18px 16px; display: flex; gap: 12px; align-items: flex-start; }
.trust__card .ico { width: 40px; height: 40px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; flex: none; }
.trust__card .ico .mse-icon { width: 20px; height: 20px; }
.trust__card strong { display: block; font-size: 15px; color: var(--ink); }
.trust__card span { font-size: 13px; color: var(--muted); }

.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 28px 24px; text-align: center; box-shadow: 0 2px 10px rgba(0,0,0,.04); }
.card__icon { width: 60px; height: 60px; margin: 0 auto 14px; color: var(--ink); display: grid; place-items: center; }
.card__icon .mse-icon { width: 54px; height: 54px; stroke-width: 1.3; }
.card__icon--accent { color: var(--accent); }
.card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.card p { font-size: 15px; margin: 0 0 14px; }
.card .text-link { font-size: 14px; }

.offer-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 40px; }
.offer-head h2 { margin: 0; }
.offer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 34px 60px; }
.offer h3 { display: flex; align-items: center; gap: 8px; font-size: 1rem; margin-bottom: 8px; }
.offer h3 .mse-icon { width: 16px; height: 16px; color: var(--accent); fill: var(--accent); }
.offer p { font-size: 15px; margin: 0; }
.offer a { font-weight: 600; font-size: 14px; }

.commit { position: relative; background: center / cover no-repeat; }
.commit::before { content: ""; position: absolute; inset: 0; background: rgba(255,255,255,.84); }
.commit .container { position: relative; z-index: 1; }
.commit .card { box-shadow: var(--shadow); border: 0; }
.commit .card p { margin: 0; }
.commit__cta { text-align: center; margin-top: 36px; }

.mission { position: relative; background: #111 center / cover no-repeat; color: #fff; text-align: center; }
.mission::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.62); }
.mission .container { position: relative; z-index: 1; padding-top: 90px; padding-bottom: 90px; max-width: 980px; }
.mission h2 { color: #fff; font-size: clamp(1.4rem, 2.4vw, 1.85rem); font-weight: 700; margin: 0; line-height: 1.45; }
.mission p { color: rgba(255,255,255,.9); margin: 14px auto 0; max-width: 840px; font-weight: 600; font-size: 15px; }
.mission .mse-btn { margin-top: 22px; }

/* ------------------------------------------------------------------
   5. Inner pages
------------------------------------------------------------------ */
.page-hero { position: relative; background: #DDEFF0 center 30% / cover no-repeat; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(190,232,232,.96) 0%, rgba(205,236,236,.9) 40%, rgba(205,236,236,.4) 62%, rgba(205,236,236,.08) 100%); }
.page-hero .container { position: relative; z-index: 1; min-height: 500px; display: flex; align-items: center; padding-top: 50px; padding-bottom: 50px; }
.page-hero__inner { max-width: 620px; }
.page-hero h1 { color: var(--ink); margin-bottom: 16px; }
.page-hero p { color: var(--text); font-size: 1.05rem; margin: 0; text-align: justify; }
.page-hero p strong { color: var(--ink); }

.narrow { max-width: 900px; margin: 0 auto; }
.narrow p { text-align: justify; }

.values-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.value { display: flex; gap: 18px; align-items: flex-start; border: 1px solid var(--line); background: #fff; padding: 26px 24px; border-radius: 4px; }
.value .ico { width: 54px; height: 54px; color: var(--accent); flex: none; display: grid; place-items: center; }
.value .ico .mse-icon { width: 44px; height: 44px; stroke-width: 1.4; }
.value h3 { font-size: 1.15rem; margin-bottom: 6px; }
.value p { margin: 0; font-size: 15px; text-align: justify; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.split--img-left .split__img { order: -1; }
.split__img img { width: 100%; height: 440px; object-fit: cover; border-radius: 12px; box-shadow: var(--shadow); }
.split h2 { margin-bottom: 18px; }
.split p { font-size: 16px; text-align: justify; }
.split .tagline { color: var(--accent); font-weight: 700; margin-top: 10px; }
.bullets { list-style: disc; padding-left: 1.2em; font-size: 16px; margin: 0 0 18px; }
.bullets li { margin-bottom: 4px; }

.pill-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; max-width: 1000px; margin: 0 auto; }
.pill { display: flex; align-items: center; gap: 14px; background: #fff; border-left: 4px solid var(--accent); box-shadow: var(--shadow); padding: 16px 18px; font-weight: 600; color: var(--ink); font-size: 15px; border-radius: 4px; }
.pill .mse-icon { width: 24px; height: 24px; color: var(--accent); }
.pill-stack { max-width: 560px; margin: 0 auto; display: grid; gap: 14px; }
.pill-stack .pill .mse-icon { width: 26px; height: 26px; background: var(--accent); color: #fff; border-radius: 50%; padding: 5px; }
.note { text-align: center; font-size: 15px; margin-top: 22px; }

.contact-points { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 30px; max-width: 980px; margin: 0 auto; text-align: center; }
.contact-point .ico { width: 54px; height: 54px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; margin: 0 auto 12px; }
.contact-point .ico .mse-icon { width: 24px; height: 24px; }
.contact-point h3 { font-size: 1.25rem; margin-bottom: 6px; }
.contact-point h3 a { color: var(--ink); }
.contact-point h3 a:hover { color: var(--accent); }
.contact-point p { margin: 0; font-size: 15px; }
.contact-form-wrap { max-width: 760px; margin: 0 auto; }

.areas-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; }
.county-box { background: var(--gray-2); padding: 24px 26px; border-radius: 4px; margin-bottom: 20px; }
.county-box h4 { font-size: 1rem; margin-bottom: 10px; }
.county-box ul { columns: 2; margin: 0; padding-left: 1.2em; font-size: 15px; }
.county-box li { margin-bottom: 4px; }
.county-box .highlight { color: var(--accent); font-weight: 600; }
.map-embed { border: 1px solid var(--line); border-radius: 4px; overflow: hidden; background: var(--accent-soft); }
.map-embed iframe { display: block; width: 100%; height: 460px; border: 0; }

.faq-group { max-width: 900px; margin: 0 auto 26px; }
.faq-group h3 { display: flex; align-items: center; gap: 10px; font-size: 1.2rem; margin-bottom: 8px; }
.faq-group h3::before { content: ""; width: 9px; height: 9px; background: var(--accent); transform: rotate(45deg); flex: none; }
.faq-group details { border-bottom: 1px solid var(--line); }
.faq-group summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 14px 6px; font-weight: 600; font-size: 15px; color: var(--ink); }
.faq-group summary::-webkit-details-marker { display: none; }
.faq-group summary::before { content: "+"; font-size: 1.2rem; color: var(--ink); width: 16px; }
.faq-group details[open] summary::before { content: "–"; }
.faq-group summary::after { content: ""; margin-left: auto; width: 7px; height: 7px; border-right: 1.5px solid var(--ink); border-top: 1.5px solid var(--ink); transform: rotate(45deg); transition: transform .2s ease; }
.faq-group details[open] summary::after { transform: rotate(135deg); }
.faq-group details p { padding: 0 6px 16px 34px; margin: 0; font-size: 15px; }

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; justify-content: center; }
.team-grid--center { grid-template-columns: repeat(auto-fit, 250px); }
.team-card { text-align: center; }
.team-card__photo { aspect-ratio: 4 / 5; background: #EAF3F3; display: grid; place-items: center; margin-bottom: 14px; overflow: hidden; }
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card__photo .initials { font-size: 3rem; font-weight: 700; color: var(--accent); }
.team-card h3 { font-size: .95rem; text-transform: uppercase; letter-spacing: .04em; margin: 0 0 2px; }
.team-card span { font-size: 12px; text-transform: uppercase; color: var(--muted); letter-spacing: .04em; }

.cta-band { position: relative; background: #222 center / cover no-repeat; color: #fff; text-align: center; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: rgba(20,10,8,.68); }
.cta-band .container { position: relative; z-index: 1; padding-top: 70px; padding-bottom: 70px; max-width: 980px; }
.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-band p { color: #fff; font-weight: 600; font-size: 15px; margin: 0 auto 18px; max-width: 900px; }

.prose { max-width: 860px; margin: 0 auto; }
.prose h2 { font-size: 1.4rem; margin-top: 1.5em; }
.prose p, .prose li { color: var(--text); font-size: 16px; }
.entry-content > * { max-width: 860px; margin-left: auto; margin-right: auto; }
.entry-content .alignwide { max-width: 1100px; }
.entry-content .alignfull { max-width: none; }
.page-content { margin-top: 30px; }
.post-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.post-card img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.post-card__body { padding: 20px; }
.post-card__meta { font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.pagination .page-numbers { padding: 8px 14px; border: 1px solid var(--line); color: var(--ink); }
.pagination .current { background: var(--accent); color: #fff; border-color: var(--accent); }
.error-404 { text-align: center; padding: 100px 20px; }
.error-404 .big { font-size: 5rem; font-weight: 700; color: var(--accent-soft); line-height: 1; }

/* ------------------------------------------------------------------
   6. Footer
------------------------------------------------------------------ */
.site-footer { background: #fff; border-top: 1px solid var(--line); color: var(--text); font-size: 15px; }
.footer-top { padding: 56px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; }
.site-footer h3 { font-size: 18px; margin-bottom: 20px; position: relative; padding-bottom: 10px; }
.site-footer h3::after { content: ""; position: absolute; left: 0; bottom: 0; width: 110px; height: 2px; background: var(--accent); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer li a { color: var(--text); }
.site-footer li a:hover { color: var(--accent); }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 8px; }
.footer-contact .mse-icon { width: 18px; height: 18px; color: var(--accent); margin-top: 3px; }
.footer-contact strong { display: block; font-size: 14px; color: var(--ink); }
.footer-contact a { color: var(--text); }
.footer-contact small { display: block; font-size: 13px; color: var(--muted); }
.footer-logo { height: 70px; width: auto; margin-bottom: 14px; }
.footer-bottom { background: var(--gray-2); padding: 18px 0; font-size: 14px; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer-bottom a { color: var(--text); }
.footer-bottom a:hover { color: var(--accent); }
.call-fab { display: none; position: fixed; right: 16px; bottom: 16px; z-index: 950; background: var(--accent); color: #fff; border-radius: 3px; padding: 12px 18px; font-weight: 600; box-shadow: var(--shadow-lg); align-items: center; gap: 8px; font-size: 15px; }
.call-fab .mse-icon { width: 18px; height: 18px; }

/* ------------------------------------------------------------------
   7. Responsive
------------------------------------------------------------------ */
@media (max-width: 1024px) {
	.why { grid-template-columns: 1fr; gap: 32px; }
	.why__img img { height: 420px; }
	.team-grid { grid-template-columns: repeat(3, 1fr); }
	.hero .container { grid-template-columns: 1fr 1fr; }
	.trust { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
	.section { padding: 56px 0; }
	.hero .container { grid-template-columns: 1fr; min-height: 0; padding-top: 40px; padding-bottom: 40px; }
	.hero::before { background: linear-gradient(180deg, rgba(214,240,240,.92), rgba(214,240,240,.88)); }
	.mse-form-card--hero { max-width: none; margin: 0; }
	.cards-3, .trust__cards, .values-grid, .pill-grid, .offer-grid, .areas-layout, .split, .post-list { grid-template-columns: 1fr; }
	.split--img-left .split__img { order: 0; }
	.split__img img { height: 320px; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.offer-head { flex-direction: column; align-items: flex-start; }
	.page-hero .container { min-height: 400px; }
	.page-hero::before { background: linear-gradient(180deg, rgba(205,236,236,.95), rgba(205,236,236,.8)); }
	.nav-toggle { display: inline-flex; }
	.header-right .mse-btn { display: none; }
	.nav-primary { position: fixed; inset: 0; background: #fff; padding: 150px 24px 40px; overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .3s ease, visibility 0s linear .3s; z-index: 890; }
	body.nav-open .nav-primary { transform: none; visibility: visible; transition: transform .3s ease; box-shadow: var(--shadow-lg); }
	.nav-primary ul { flex-direction: column; align-items: stretch; gap: 0; }
	.nav-primary a { font-size: 1.1rem; padding: 12px 8px; border-bottom: 1px solid var(--line); }
	.nav-primary .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 6px 16px; min-width: 0; }
	.nav-primary .sub-menu a { font-size: 1rem; border: 0; }
	.nav-primary .menu-item-has-children > a::after { display: none; }
	body.nav-open { overflow: hidden; }
	.site-header .container { min-height: 76px; }
	.brand img, .brand .custom-logo { height: 54px; }
	.topbar__right { display: none; }
	.call-fab { display: inline-flex; }
}
@media (max-width: 600px) {
	body { font-size: 16px; }
	.mse-form-card--contact .mse-form__grid, .contact-points, .team-grid, .team-grid--center, .footer-grid { grid-template-columns: 1fr; }
	.mse-form-card { padding: 20px; }
	.hero__text, .page-hero p, .split p, .feature-list p, .value p, .narrow p { text-align: left; }
	.topbar .container { justify-content: center; text-align: center; }
	.footer-bottom .container { justify-content: center; text-align: center; }
	.map-embed iframe { height: 340px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
