/*
Theme Name: Susan Merrick LMT
Theme URI: https://bestapollobeachmassage.com/
Description: GeneratePress child theme for Susan Merrick LMT (Best Apollo Beach Massage). Built by The Web Design Ninja. Page content lives in the block editor; this file holds tokens, utilities and a few component styles.
Author: The Web Design Ninja
Author URI: https://thewebdesignninja.com/
Template: generatepress
Version: 1.0.2
Text Domain: susan-merrick-lmt
*/

/* ---------- Tokens ---------- */
:root {
	--sm-teal: #177980;
	--sm-teal-dark: #0f5a60;
	--sm-aqua: #17afba;
	--sm-mist: #eef7f7;
	--sm-blush: #f8efec;
	--sm-rose: #b8476a;
	--sm-ink: #2b3a48;
	--sm-muted: #5f6f7d;
	--sm-white: #ffffff;
	--sm-radius: 14px;
	--sm-shadow: 0 12px 32px rgba(23, 50, 60, .12);
	--sm-font-head: "Cormorant Garamond", Georgia, "Times New Roman", serif;
	--sm-font-body: "Nunito Sans", "Segoe UI", Arial, sans-serif;
	--sm-wrap: 1140px;
	--sm-space: clamp(48px, 7vw, 92px);
}

/* ---------- Base ---------- */
body {
	font-family: var(--sm-font-body);
	font-size: 18px;
	line-height: 1.7;
	color: var(--sm-ink);
	background: var(--sm-white);
}
h1, h2, h3, h4, h5, h6, .main-title {
	font-family: var(--sm-font-head);
	color: var(--sm-teal-dark);
	line-height: 1.15;
	font-weight: 600;
}
h1 { font-size: clamp(2.5rem, 5.2vw, 4.2rem); }
h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); }
a { color: var(--sm-teal); }
a:hover, a:focus { color: var(--sm-rose); }

/* ---------- Top bar ---------- */
.sm-topbar { background: var(--sm-teal); color: #e6f4f4; font-size: 15px; }
.sm-topbar .inside {
	max-width: var(--sm-wrap); margin: 0 auto; padding: 7px 20px;
	display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: center; justify-content: space-between;
}
.sm-topbar p { margin: 0; }
.sm-topbar a { color: #fff; text-decoration: none; font-weight: 700; }
.sm-topbar a:hover { color: #ffe3ea; }
.sm-topbar .inside > .wp-block-group__inner-container { display: contents; }

/* ---------- Header ---------- */
.site-header { background: var(--sm-white); box-shadow: 0 2px 14px rgba(0,0,0,.05); }
.inside-header { padding-top: 12px; padding-bottom: 12px; }
.site-logo img, .header-image { max-height: 78px; width: auto; }
.site-branding { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.main-navigation, .main-navigation ul ul { background: transparent; }
.main-navigation .main-nav ul li a {
	font-size: 16px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
	color: var(--sm-ink); padding-left: 15px; padding-right: 15px;
}
.main-navigation .main-nav ul li:hover > a,
.main-navigation .main-nav ul li.current-menu-item > a { color: var(--sm-teal); }
.main-navigation .main-nav ul li.sm-nav-cta > a {
	background: var(--sm-teal); color: #fff; border-radius: 999px; line-height: 42px;
	margin: 0 0 0 10px; padding: 0 22px;
}
.main-navigation .main-nav ul li.sm-nav-cta > a:hover { background: var(--sm-teal-dark); color: #fff; }
.menu-toggle, .main-navigation .menu-toggle { color: var(--sm-teal); font-weight: 700; }

/* ---------- Buttons ---------- */
.wp-block-button .wp-block-button__link,
.wp-block-button .wp-block-button__link:visited {
	background-color: var(--sm-teal) !important; color: #fff !important;
	border: 2px solid var(--sm-teal); border-radius: 999px; padding: 13px 30px;
	font-family: var(--sm-font-body); font-weight: 700; letter-spacing: .05em; text-transform: uppercase; font-size: 15px;
	transition: background .2s, color .2s, border-color .2s;
}
.wp-block-button .wp-block-button__link:hover,
.wp-block-button .wp-block-button__link:focus { background-color: var(--sm-teal-dark) !important; border-color: var(--sm-teal-dark); color: #fff !important; }
.wp-block-button.is-style-outline .wp-block-button__link { background-color: transparent !important; color: #fff !important; border-color: rgba(255,255,255,.9) !important; }
.wp-block-button.is-style-outline .wp-block-button__link:hover { background-color: #fff !important; color: var(--sm-teal-dark) !important; border-color: #fff !important; }
.sm-on-light .wp-block-button.is-style-outline .wp-block-button__link { color: var(--sm-teal) !important; border-color: var(--sm-teal) !important; }
.sm-on-light .wp-block-button.is-style-outline .wp-block-button__link:hover { background-color: var(--sm-teal) !important; color: #fff !important; }

/* ---------- Full-width pages ---------- */
.sm-full .site-content { padding: 0 !important; }
.sm-full .site-content .content-area { width: 100%; }
.sm-full .inside-article { padding: 0 !important; }
.sm-full .entry-header { display: none; }
.sm-full .site-main { margin: 0 !important; }
.sm-full .entry-content > * { margin-top: 0; margin-bottom: 0; }
.sm-full .entry-content .alignfull { margin-left: 0 !important; margin-right: 0 !important; width: 100% !important; max-width: 100% !important; }
html, body { overflow-x: clip; }

/* ---------- Sections / utilities ---------- */
.sm-section { padding: var(--sm-space) 20px; }
.sm-section.is-layout-constrained > :not(.alignfull),
.sm-section > .wp-block-group__inner-container { max-width: var(--sm-wrap) !important; margin-left: auto; margin-right: auto; }
.sm-section .wp-block-group .wp-block-group > *,
.sm-section .wp-block-column > * { max-width: none !important; margin-left: 0 !important; margin-right: 0 !important; }
.sm-bg-mist { background: var(--sm-mist); }
.sm-bg-blush { background: var(--sm-blush); }
.sm-bg-teal { background: var(--sm-teal); color: #e8f5f5; }
.sm-bg-teal h2, .sm-bg-teal h3 { color: #fff; }
.sm-bg-teal p a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.sm-center { text-align: center; }
.sm-eyebrow {
	font-family: var(--sm-font-body); text-transform: uppercase; letter-spacing: .24em;
	font-size: 14px; font-weight: 700; color: var(--sm-rose); margin-bottom: 6px !important;
}
.sm-bg-teal .sm-eyebrow { color: #ffd9e3; }
.sm-lead { font-size: 1.2rem; color: var(--sm-muted); max-width: 740px !important; margin-left: auto !important; margin-right: auto !important; }
.sm-rule { width: 70px; height: 3px; border: 0; margin: 14px auto 26px !important; background: var(--sm-aqua); opacity: 1; max-width: 70px !important; }

/* ---------- Hero ---------- */
.wp-block-cover { position: relative; overflow: hidden; }
.wp-block-cover img.wp-block-cover__image-background {
	position: absolute !important; inset: 0; width: 100% !important; height: 100% !important;
	max-width: none !important; object-fit: cover !important; margin: 0 !important;
}
.wp-block-cover .wp-block-cover__inner-container { position: relative; z-index: 1; }
.sm-hero { min-height: min(82vh, 700px) !important; padding: 80px 20px !important; }
.sm-hero .wp-block-cover__inner-container { max-width: 820px; text-align: center; }
.sm-hero h1 { color: #fff; text-shadow: 0 3px 18px rgba(0,0,0,.4); margin-bottom: 12px; }
.sm-hero p { color: #fff; font-size: 1.25rem; text-shadow: 0 2px 10px rgba(0,0,0,.45); }
.sm-hero .sm-eyebrow { color: #fff; }
.sm-hero .wp-block-buttons { justify-content: center; margin-top: 26px; }
.sm-hero.sm-hero-short { min-height: 340px !important; }

/* ---------- Cards ---------- */
.sm-cards { gap: 28px !important; }
.sm-card {
	background: #fff; border-radius: var(--sm-radius); box-shadow: var(--sm-shadow);
	padding: 30px 28px 32px; height: 100%; border-top: 4px solid var(--sm-aqua);
}
.sm-card > .wp-block-group__inner-container { display: contents; }
.sm-card h3 { margin: 0 0 10px; }
.sm-card p { color: var(--sm-muted); }
.sm-price {
	display: inline-block; background: var(--sm-mist); color: var(--sm-teal-dark) !important;
	font-weight: 700; padding: 6px 14px; border-radius: 999px; font-size: 15px; margin-top: 6px;
}

/* ---------- Split (image + text) ---------- */
.sm-split { gap: 52px !important; align-items: center !important; }
.sm-split .wp-block-image img { border-radius: var(--sm-radius); box-shadow: var(--sm-shadow); width: 100%; object-fit: cover; }

/* ---------- Testimonials ---------- */
.sm-quotes { gap: 26px !important; }
.sm-quote {
	background: #fff; border-radius: var(--sm-radius); box-shadow: var(--sm-shadow);
	padding: 28px 28px 24px; margin: 0 !important; border: 0 !important; height: 100%;
}
.sm-quote p { font-family: var(--sm-font-head); font-size: 1.35rem; line-height: 1.45; color: var(--sm-ink); font-style: italic; }
.sm-quote cite { display: block; margin-top: 12px; font-style: normal; font-weight: 700; color: var(--sm-teal); font-size: 15px; letter-spacing: .03em; }
.sm-quote cite::before { content: "\2605\2605\2605\2605\2605  "; color: #e2a33b; letter-spacing: .1em; }

/* ---------- FAQ ---------- */
.sm-faq .wp-block-details {
	max-width: 860px !important; margin: 0 auto 12px !important; background: #fff;
	border-radius: var(--sm-radius); box-shadow: 0 4px 14px rgba(23,50,60,.08); padding: 0;
}
.sm-faq .wp-block-details summary {
	cursor: pointer; padding: 18px 54px 18px 22px; font-family: var(--sm-font-head);
	font-size: 1.3rem; font-weight: 600; color: var(--sm-teal-dark); list-style: none; position: relative;
}
.sm-faq .wp-block-details summary::-webkit-details-marker { display: none; }
.sm-faq .wp-block-details summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; color: var(--sm-aqua); }
.sm-faq .wp-block-details[open] summary::after { content: "\2013"; }
.sm-faq .wp-block-details > p { padding: 0 22px 18px; margin: 0; color: var(--sm-muted); }

/* ---------- Info list (hours / contact) ---------- */
.sm-info { list-style: none; margin: 0; padding: 0; }
.sm-info li { padding: 10px 0; border-bottom: 1px solid rgba(23,121,128,.15); display: flex; justify-content: space-between; gap: 16px; }
.sm-info li:last-child { border-bottom: 0; }
.sm-map iframe { width: 100%; min-height: 340px; border: 0; border-radius: var(--sm-radius); display: block; }

/* ---------- Forms ---------- */
.entry-content form input[type=text], .entry-content form input[type=email], .entry-content form input[type=tel],
.entry-content form input[type=number], .entry-content form textarea, .entry-content form select {
	width: 100%; border: 1px solid #c9d8dc; border-radius: 8px; padding: 11px 13px; background: #fff;
}
.entry-content form input[type=submit], .entry-content form button[type=submit] {
	background: var(--sm-teal); color: #fff; border: 2px solid var(--sm-teal); border-radius: 999px;
	padding: 12px 32px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; font-size: 15px; cursor: pointer;
}
.entry-content form input[type=submit]:hover, .entry-content form button[type=submit]:hover { background: var(--sm-teal-dark); border-color: var(--sm-teal-dark); }

/* ---------- Plain pages ---------- */
.page:not(.sm-full) .inside-article { padding: 48px 40px; }
.page:not(.sm-full) .entry-title { text-align: center; }

/* ---------- Footer ---------- */
.sm-footer { background: #183b42; color: #c8dcdf; font-size: 16px; }
.sm-footer .inside {
	max-width: var(--sm-wrap); margin: 0 auto; padding: 56px 20px 28px;
	display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px;
}
.sm-footer .inside > .wp-block-group__inner-container,
.sm-footer .sm-foot-col > .wp-block-group__inner-container,
.sm-footer .sm-bottom > .wp-block-group__inner-container { display: contents; }
.sm-footer h4 { color: #fff; font-family: var(--sm-font-head); font-size: 1.5rem; margin-bottom: 12px; }
.sm-footer a { color: #fff; text-decoration: none; }
.sm-footer a:hover { color: #ffd9e3; }
.sm-footer p { margin-bottom: 10px; }
.sm-footer .sm-foot-logo { max-width: 210px; background: #fff; padding: 10px 14px; border-radius: 10px; margin: 0 0 14px; }
.sm-footer .sm-bottom {
	border-top: 1px solid rgba(255,255,255,.12); max-width: var(--sm-wrap); margin: 0 auto;
	padding: 18px 20px 26px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px;
	font-size: 14px; color: #93b3b8;
}
.sm-footer .sm-bottom p { margin: 0; }
.sm-footer .sm-bottom a { color: #c8dcdf; }
.site-info { display: none; }

/* ---------- Fixes (1.0.1) ---------- */
.sm-center .wp-block-buttons { justify-content: center; }
.sm-section .wp-block-buttons { margin-top: 34px; }
.sm-info li > span, .sm-info li > a { text-align: right; }
.sm-price { white-space: nowrap; }
.sm-card .sm-price { margin-bottom: 0; }

/* Imported contact form carries old inline styles (1.0.2) */
.wn-form form > div[style] { max-width: none !important; margin: 0 !important; }
.wn-form p[style] { color: var(--sm-ink) !important; font-weight: 600; }
.wn-form .wpcf7-form-control-wrap { display: block; margin-top: 6px; }
.sm-split:has(.wn-form) { align-items: flex-start !important; }
.wn-form .wpcf7-response-output { margin: 16px 0 0; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
	.sm-footer .inside { grid-template-columns: 1fr; gap: 28px; }
	.sm-topbar .inside { justify-content: center; text-align: center; }
	.sm-hero { min-height: 66vh !important; }
}
@media (max-width: 768px) {
	body { font-size: 17px; }
	.main-navigation .main-nav ul li.sm-nav-cta > a { margin: 6px 0; display: inline-block; }
	.page:not(.sm-full) .inside-article { padding: 32px 18px; }
	.sm-card { padding: 24px 20px; }
}
