/* SMJ Property Maintenance Service — main styles. Version 1.0.0.
   Unique design: deep navy + gold (from the SMJ logo), parchment paper,
   ledger-style numbered service rows, diagonal hero cut. */

:root {
	--smj-ink: #101c2e;
	--smj-navy: #14263e;
	--smj-navy-2: #0c1626;
	--smj-gold: #c1932f;
	--smj-gold-2: #e0b64a;
	--smj-parchment: #f6f1e7;
	--smj-paper: #fffdf8;
	--smj-text: #1c2733;
	--smj-muted: #5b6b7c;
	--smj-line: #d9d2c2;
	--smj-radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--smj-paper);
	color: var(--smj-text);
	font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
	font-size: 17px;
	line-height: 1.6;
}
img { max-width: 100%; height: auto; }
a { color: var(--smj-navy); }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.01em; }
.smj-wrap { max-width: 1160px; margin: 0 auto; padding: 0 22px; }
.smj-skip { position: absolute; left: -9999px; }
.smj-skip:focus { left: 12px; top: 12px; background: var(--smj-gold); color: #111; padding: 8px 12px; z-index: 99; }

/* Buttons */
.smj-btn {
	display: inline-block;
	padding: 13px 22px;
	border-radius: 999px;
	font-weight: 700;
	text-decoration: none;
	border: 2px solid transparent;
	cursor: pointer;
	font-size: 16px;
}
.smj-btn--gold { background: var(--smj-gold); color: #141005; border-color: var(--smj-gold); }
.smj-btn--gold:hover { background: var(--smj-gold-2); border-color: var(--smj-gold-2); }
.smj-btn--ghost { border-color: rgba(255, 255, 255, 0.55); color: #fff; }
.smj-btn--ghost:hover { border-color: #fff; }
.smj-btn--ghost-light { border-color: rgba(255, 255, 255, 0.55); color: #fff; padding: 9px 16px; font-size: 14px; }
.smj-btn--block { width: 100%; text-align: center; }

/* Top bar */
.smj-top { background: #fff; border-bottom: 3px solid var(--smj-gold); position: sticky; top: 0; z-index: 50; }
.smj-top__inner { display: flex; align-items: center; gap: 18px; min-height: 78px; }
.smj-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--smj-ink); }
.smj-brand__logo { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 2px solid var(--smj-gold); background: #fff; }
.smj-brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.smj-brand__name { font-size: 30px; font-weight: 900; letter-spacing: 0.06em; }
.smj-brand__sub { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--smj-muted); }
.smj-nav { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.smj-menu { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.smj-menu a { display: block; padding: 9px 12px; text-decoration: none; font-weight: 600; color: var(--smj-ink); border-radius: 8px; }
.smj-menu a:hover { background: var(--smj-parchment); }
.smj-nav-toggle { display: none; margin-left: auto; padding: 10px 14px; border: 2px solid var(--smj-navy); background: #fff; border-radius: 10px; font-weight: 700; cursor: pointer; }

/* Hero */
.smj-hero { background: var(--smj-navy-2); color: #fff; position: relative; overflow: hidden; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 34px), 0 100%); padding: 84px 0 120px; }
.smj-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 320px at 85% 10%, rgba(193, 147, 47, 0.28), transparent 60%), radial-gradient(500px 300px at 10% 90%, rgba(20, 38, 62, 0.9), transparent 60%); pointer-events: none; }
.smj-hero__inner { position: relative; max-width: 780px; }
.smj-eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: 13px; color: #cfd8e3; }
.smj-eyebrow__ticket { display: inline-block; background: var(--smj-gold); color: #141005; font-weight: 800; padding: 4px 10px; border-radius: 6px; margin-right: 8px; letter-spacing: 0.08em; }
.smj-hero__title { font-size: clamp(42px, 7vw, 76px); margin: 18px 0; font-weight: 900; text-transform: uppercase; }
.smj-hero__title em { font-style: normal; color: var(--smj-gold-2); }
.smj-hero__sub { font-size: 19px; color: #d7dee8; max-width: 640px; }
.smj-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 22px; }
.smj-hero__tick { list-style: none; display: flex; gap: 10px 22px; flex-wrap: wrap; margin: 0; padding: 0; color: #b9c4d2; font-size: 15px; }
.smj-hero__tick li::before { content: "\2713  "; color: var(--smj-gold-2); font-weight: 800; }
.smj-hero__rail { position: absolute; right: 26px; top: 50%; transform: translateY(-50%) rotate(180deg); writing-mode: vertical-rl; letter-spacing: 0.35em; text-transform: uppercase; font-size: 12px; color: rgba(255, 255, 255, 0.35); }

/* Facts */
.smj-facts { background: var(--smj-parchment); border-bottom: 2px dashed var(--smj-line); }
.smj-facts__inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.smj-fact { padding: 30px 22px; text-align: center; border-left: 2px dashed var(--smj-line); }
.smj-fact:first-child { border-left: 0; }
.smj-fact__num { display: block; font-size: 40px; font-weight: 900; color: var(--smj-navy); }
.smj-fact__label { color: var(--smj-muted); font-size: 15px; }

/* Sections */
.smj-services, .smj-how { padding: 72px 0; }
.smj-section-head { max-width: 680px; margin-bottom: 36px; }
.smj-section-head h2 { font-size: clamp(30px, 4.5vw, 44px); margin: 8px 0 10px; text-transform: uppercase; font-weight: 900; }
.smj-kicker { text-transform: uppercase; letter-spacing: 0.18em; font-size: 13px; font-weight: 800; color: var(--smj-gold); margin: 0; }

/* Admin link in the menubar — rendered only for logged-in admins (see header.php). */
.smj-admin-link { display: inline-block; padding: 9px 14px; border: 2px solid var(--smj-gold); border-radius: 999px; font-weight: 800; font-size: 14px; color: var(--smj-navy); text-decoration: none; white-space: nowrap; }
.smj-admin-link:hover { background: var(--smj-gold); color: #141005; }

/* Service cards — photo on top, clickable to the service detail page */
.smj-service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.smj-services__more { margin-top: 28px; text-align: center; }
.smj-services__more a { font-weight: 800; font-size: 18px; }
.smj-card { background: #fff; border: 1px solid var(--smj-line); border-radius: var(--smj-radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 8px 22px rgba(16, 28, 46, 0.07); transition: transform 0.18s ease, box-shadow 0.18s ease; }
.smj-card:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(16, 28, 46, 0.16); }
.smj-card__media { display: block; position: relative; aspect-ratio: 8 / 5; overflow: hidden; background: var(--smj-parchment); }
.smj-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.35s ease; }
.smj-card:hover .smj-card__media img { transform: scale(1.05); }
.smj-card__num { position: absolute; left: 14px; top: 14px; background: var(--smj-gold); color: #141005; font-weight: 900; font-size: 14px; padding: 5px 11px; border-radius: 999px; }
.smj-card__body { padding: 20px 20px 18px; display: flex; flex-direction: column; flex: 1; }
.smj-card h3 { margin: 0 0 6px; font-size: 22px; }
.smj-card h3 a { color: var(--smj-ink); text-decoration: none; }
.smj-card h3 a:hover { color: var(--smj-gold); text-decoration: underline; }
.smj-card__tagline { margin: 0 0 14px; color: var(--smj-muted); font-size: 15px; }
.smj-service__items { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.smj-service__items li { background: var(--smj-parchment); border-left: 4px solid var(--smj-gold); padding: 6px 12px; border-radius: 6px; font-size: 14px; font-weight: 600; }
.smj-card__foot { display: flex; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 16px; border-top: 1px dashed var(--smj-line); }
.smj-card__foot a { font-weight: 800; text-decoration: none; }
.smj-card__link { color: var(--smj-navy); }
.smj-card__req { color: var(--smj-gold); }

/* Service detail page */
.smj-detail-hero { position: relative; background: var(--smj-navy-2); color: #fff; }
.smj-detail-hero__img { width: 100%; height: 380px; object-fit: cover; display: block; opacity: 0.9; }
.smj-detail-hero__inner { position: relative; margin-top: -150px; padding-bottom: 34px; }
.smj-detail-hero__num { display: inline-block; background: var(--smj-gold); color: #141005; font-weight: 900; padding: 5px 12px; border-radius: 999px; margin-top: 10px; }
.smj-detail-hero__inner h1 { font-size: clamp(34px, 5.5vw, 56px); margin: 10px 0 8px; text-transform: uppercase; font-weight: 900; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55); }
.smj-detail-hero__tagline { font-size: 19px; color: #e6ebf1; margin: 0; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6); max-width: 640px; }
.smj-detail__grid { display: grid; grid-template-columns: 1.7fr 1fr; gap: 44px; padding: 48px 22px 20px; }
.smj-detail__intro { font-size: 19px; line-height: 1.65; }
.smj-detail__main h2 { font-size: 26px; text-transform: uppercase; font-weight: 900; margin: 36px 0 14px; }
.smj-checklist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.smj-checklist li { background: var(--smj-parchment); border-left: 4px solid var(--smj-gold); padding: 12px 14px; border-radius: 8px; font-weight: 700; }
.smj-checklist li::before { content: "\2713  "; color: var(--smj-gold); font-weight: 900; }
.smj-detail-points { margin: 0; padding-left: 20px; }
.smj-detail-points li { margin-bottom: 12px; }
.smj-detail-steps { margin: 0; padding-left: 0; list-style: none; counter-reset: smj-step; }
.smj-detail-steps li { counter-increment: smj-step; padding: 14px 0 14px 56px; position: relative; border-top: 1px dashed var(--smj-line); }
.smj-detail-steps li::before { content: counter(smj-step); position: absolute; left: 0; top: 12px; width: 38px; height: 38px; border-radius: 50%; background: var(--smj-gold); color: #141005; font-weight: 900; display: flex; align-items: center; justify-content: center; }
.smj-detail__cta { background: var(--smj-navy); color: #fff; border-radius: var(--smj-radius); padding: 26px; position: sticky; top: 100px; }
.smj-detail__cta h2 { margin-top: 0; color: #fff; font-size: 22px; }
.smj-detail__cta p { color: #c9d3df; }
.smj-btn--ghost-dark { border-color: rgba(255, 255, 255, 0.55); color: #fff; background: transparent; }
.smj-btn--ghost-dark:hover { border-color: #fff; }
.smj-detail__facts { margin-top: 18px; background: var(--smj-parchment); border-radius: var(--smj-radius); padding: 18px 22px; }
.smj-detail__facts p { margin: 8px 0; }
.smj-others { padding: 56px 0 72px; background: var(--smj-parchment); margin-top: 40px; }
.smj-archive { padding-top: 40px; }
.smj-archive h1 { font-size: clamp(30px, 4.5vw, 44px); text-transform: uppercase; font-weight: 900; margin: 8px 0 10px; }
.smj-archive__cta { text-align: center; margin-top: 44px; background: #fff; border-top: 6px solid var(--smj-gold); border-radius: var(--smj-radius); padding: 30px; box-shadow: 0 14px 30px rgba(16, 28, 46, 0.1); }

/* How it works */
.smj-how { background: var(--smj-navy); color: #fff; }
.smj-how .smj-section-head h2 { color: #fff; }
.smj-steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 0; padding: 0; }
.smj-steps li { background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.16); border-radius: var(--smj-radius); padding: 26px; }
.smj-step__num { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; background: var(--smj-gold); color: #141005; font-weight: 900; font-size: 20px; border-radius: 50%; margin-bottom: 12px; }
.smj-steps h3 { margin: 0 0 6px; }
.smj-steps p { margin: 0; color: #c9d3df; }

/* Request / contact */
.smj-request { padding: 72px 0; background: var(--smj-parchment); }
.smj-request__inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 44px; align-items: start; }
.smj-request h2 { font-size: clamp(28px, 4vw, 40px); text-transform: uppercase; font-weight: 900; margin: 8px 0 12px; }
.smj-contact-list { margin: 26px 0 0; }
.smj-contact-list div { display: grid; grid-template-columns: 90px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--smj-line); }
.smj-contact-list dt { font-weight: 800; text-transform: uppercase; font-size: 13px; letter-spacing: 0.08em; color: var(--smj-muted); }
.smj-contact-list dd { margin: 0; }
.smj-form-card { background: #fff; border-radius: var(--smj-radius); border-top: 6px solid var(--smj-gold); box-shadow: 0 18px 40px rgba(16, 28, 46, 0.14); padding: 28px; }
.smj-form { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.smj-field { margin: 0 0 14px; grid-column: 1 / -1; }
.smj-field--half { grid-column: auto; }
.smj-field label { display: block; font-weight: 700; margin-bottom: 6px; font-size: 14px; }
.smj-field input, .smj-field select, .smj-field textarea { width: 100%; padding: 12px; border: 1.5px solid #c8cfd8; border-radius: 9px; font: inherit; background: #fff; }
.smj-field input:focus, .smj-field select:focus, .smj-field textarea:focus { outline: 3px solid rgba(193, 147, 47, 0.35); border-color: var(--smj-gold); }
.smj-honeypot { position: absolute; left: -9999px; }
.smj-notice { border-radius: 10px; padding: 14px 16px; margin-bottom: 16px; }
.smj-notice--ok { background: #e6f4ea; border: 1px solid #7fc08f; }
.smj-notice--error { background: #fdecea; border: 1px solid #e0a49e; }
.smj-notice ul { margin: 8px 0 0; }

/* Pages, posts */
.smj-page { padding: 56px 0 72px; }
.smj-page__inner { max-width: 780px; }
.smj-post { border-bottom: 1px solid var(--smj-line); padding-bottom: 22px; margin-bottom: 22px; }
.smj-post__meta { color: var(--smj-muted); font-size: 14px; }

/* Footer */
.smj-footer { background: var(--smj-navy-2); color: #d7dee8; }
.smj-footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; padding: 56px 22px 40px; max-width: 1160px; margin: 0 auto; }
.smj-footer__logo { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; border: 2px solid var(--smj-gold); background: #fff; }
.smj-footer__name { font-weight: 800; color: #fff; margin: 12px 0 2px; }
.smj-footer__tag { margin: 0; color: #9fb0c2; }
.smj-footer h3 { color: #fff; text-transform: uppercase; font-size: 14px; letter-spacing: 0.12em; }
.smj-footer ul { list-style: none; margin: 0; padding: 0; }
.smj-footer li { margin-bottom: 8px; }
.smj-footer a { color: #d7dee8; text-decoration: none; }
.smj-footer a:hover { color: var(--smj-gold-2); }
.smj-footer__base { border-top: 1px solid rgba(255, 255, 255, 0.14); padding: 18px 0; font-size: 14px; }
.smj-footer__base-inner { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }

@media (max-width: 900px) {
	.smj-hero__rail { display: none; }
	.smj-service-grid { grid-template-columns: repeat(2, 1fr); }
	.smj-detail__grid { grid-template-columns: 1fr; }
	.smj-detail__cta { position: static; }
	.smj-detail-hero__img { height: 260px; }
	.smj-detail-hero__inner { margin-top: -120px; }
	.smj-steps { grid-template-columns: 1fr; }
	.smj-request__inner { grid-template-columns: 1fr; }
	.smj-footer__inner { grid-template-columns: 1fr 1fr; }
	.smj-nav-toggle { display: block; }
	.smj-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 14px 22px 20px; border-bottom: 3px solid var(--smj-gold); box-shadow: 0 18px 30px rgba(0, 0, 0, 0.14); }
	.smj-nav.is-open { display: flex; }
	.smj-menu { flex-direction: column; }
	.smj-nav__cta { text-align: center; }
}
@media (max-width: 640px) {
	body { font-size: 16px; }
	.smj-service-grid { grid-template-columns: 1fr; }
	.smj-checklist { grid-template-columns: 1fr; }
	.smj-facts__inner { grid-template-columns: 1fr; }
	.smj-fact { border-left: 0; border-top: 2px dashed var(--smj-line); padding: 20px; }
	.smj-fact:first-child { border-top: 0; }
	.smj-form { grid-template-columns: 1fr; }
	.smj-field--half { grid-column: 1 / -1; }
	.smj-footer__inner { grid-template-columns: 1fr; }
	.smj-hero { padding: 56px 0 96px; }
}

/* --- Contact page (1.2.0) --- */
.smj-contact-page{padding-bottom:72px}
.smj-edit-bar{background:#fff7e0;border-bottom:1px solid #ead9a0;padding:10px 0}
.smj-edit-bar .smj-wrap{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.smj-contact-hero{background:var(--smj-navy);color:#fff;padding:56px 0 44px}
.smj-contact-hero h1{font-size:clamp(32px,5vw,48px);margin:0 0 10px}
.smj-contact-hero__sub{font-size:18px;color:#d8e0ec;margin:0;max-width:720px}
.smj-contact__grid{display:grid;grid-template-columns:1.2fr .8fr;gap:40px;margin-top:40px}
.smj-contact__intro{font-size:18px;line-height:1.6;margin:0 0 28px}
.smj-contact-cards{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:0 0 32px}
.smj-contact-card{border:1px solid var(--smj-line);border-radius:12px;padding:18px;background:#fff}
.smj-contact-card h3{margin:0 0 6px;font-size:15px;text-transform:uppercase;letter-spacing:.06em;color:var(--smj-gold)}
.smj-contact-card p{margin:0}
.smj-contact__services{list-style:none;padding:0;margin:0 0 24px;display:grid;gap:8px}
.smj-contact__services a{color:var(--smj-navy);font-weight:600}
.smj-form-card__contact-link{margin-top:16px;text-align:center}
@media (max-width:860px){.smj-contact__grid{grid-template-columns:1fr}.smj-contact-cards{grid-template-columns:1fr}}

/* --- About + Terms pages (1.2.2) --- */
.smj-narrow{max-width:780px;margin:0 auto;padding:40px 20px 72px}
.smj-about__story p{font-size:17px;line-height:1.7}
.smj-about__closing{font-size:18px;line-height:1.6;margin:32px 0 20px}
.smj-about__cta{margin:24px 0}
.smj-terms__body h2{font-size:22px;margin:32px 0 10px}
.smj-terms__body p{line-height:1.7}
