/*
Theme Name: Focus & Flow Therapeutics
Theme URI: https://focusandflowtherapeutics.com
Author: Focus & Flow Therapeutics, PLLC
Description: A calm, modern custom WordPress theme for a therapy practice. Includes an editable homepage (hero, services overview, values, services, and consultation call-to-action), a primary navigation menu, and a footer widget area.
Version: 1.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: focus-flow
*/

/* -----------------------------------------------------------
   0. Tokens
----------------------------------------------------------- */
:root {
	--ff-purple-dark: #3a2a63;
	--ff-purple: #5b3696;
	--ff-blue: #4a90d6;
	--ff-eyebrow: #4a90c9;
	--ff-text: #4a4a52;
	--ff-text-light: #6b6b76;
	--ff-bg: #ffffff;
	--ff-bg-soft: #f7f5fc;
	--ff-border: #ece8f5;
	--ff-gradient: linear-gradient(135deg, #6a3f9e 0%, #4a90d6 100%);
	--ff-gradient-soft: linear-gradient(135deg, #7748ac 0%, #4a90d6 100%);
	--ff-radius: 20px;
	--ff-radius-sm: 12px;
	--ff-max-width: 1280px;
	--ff-font-heading: 'Poppins', 'Segoe UI', sans-serif;
	--ff-font-body: 'Nunito Sans', 'Segoe UI', sans-serif;
}

/* -----------------------------------------------------------
   1. Reset & base
----------------------------------------------------------- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--ff-font-body);
	color: var(--ff-text);
	background: var(--ff-bg);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; margin: 0; padding: 0; }

h1, h2, h3, h4 {
	font-family: var(--ff-font-heading);
	color: var(--ff-purple-dark);
	line-height: 1.15;
	margin: 0 0 20px;
	font-weight: 700;
}

.ff-container {
	max-width: var(--ff-max-width);
	margin: 0 auto;
	padding: 0 40px;
}

.ff-eyebrow {
	display: inline-block;
	font-family: var(--ff-font-heading);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--ff-eyebrow);
	margin-bottom: 14px;
}

.screen-reader-text { position: absolute; left: -9999px; }

/* Focus visibility for accessibility */
a:focus-visible, button:focus-visible, input:focus-visible {
	outline: 3px solid var(--ff-blue);
	outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
	* { animation: none !important; transition: none !important; }
}

/* -----------------------------------------------------------
   2. Buttons
----------------------------------------------------------- */
.ff-btn {
	display: inline-block;
	padding: 16px 36px;
	border-radius: 999px;
	font-family: var(--ff-font-heading);
	font-weight: 600;
	font-size: 16px;
	border: 2px solid transparent;
	transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
	cursor: pointer;
}

.ff-btn:hover { transform: translateY(-2px); }

.ff-btn-primary {
	background: var(--ff-gradient);
	color: #fff;
	box-shadow: 0 10px 24px rgba(90, 62, 158, .28);
}

.ff-btn-primary:hover { box-shadow: 0 14px 28px rgba(90, 62, 158, .38); color: #fff; }

.ff-btn-secondary {
	background: #fff;
	color: var(--ff-purple-dark);
	border-color: var(--ff-purple-dark);
}

.ff-btn-secondary:hover { background: var(--ff-purple-dark); color: #fff; }

.ff-btn-inverse {
	background: #fff;
	color: var(--ff-purple);
}

.ff-btn-inverse:hover { color: var(--ff-blue); }

/* -----------------------------------------------------------
   3. Header
----------------------------------------------------------- */
.site-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 26px 40px;
	max-width: var(--ff-max-width);
	margin: 0 auto;
}

.site-branding { display: flex; align-items: center; gap: 14px; }

.site-branding img.custom-logo { max-height: 68px; width: auto; height: auto; object-fit: contain; }

/* Prevent WordPress's custom-logo width/height attributes (based on the
   theme's registered logo box) from stretching logos whose real aspect
   ratio doesn't match that box. */
img.custom-logo {
	width: auto !important;
	height: auto !important;
	object-fit: contain;
}

.site-branding .site-title {
	font-family: var(--ff-font-heading);
	font-weight: 700;
	font-size: 20px;
	color: var(--ff-purple-dark);
	margin: 0;
}

.site-branding .site-title a { color: inherit; }

.site-branding .site-description {
	margin: 0;
	font-size: 11px;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var(--ff-text-light);
}

.main-navigation ul {
	display: flex;
	gap: 40px;
	align-items: center;
}

.main-navigation a {
	font-family: var(--ff-font-heading);
	font-weight: 600;
	font-size: 16px;
	color: var(--ff-purple-dark);
}

.main-navigation a:hover { color: var(--ff-blue); }

.menu-toggle {
	display: none;
	background: none;
	border: none;
	font-size: 26px;
	color: var(--ff-purple-dark);
	cursor: pointer;
}

@media (max-width: 880px) {
	.main-navigation { display: none; width: 100%; }
	.main-navigation.is-open { display: block; }
	.main-navigation ul { flex-direction: column; gap: 18px; padding: 20px 0; }
	.menu-toggle { display: block; }
	.site-header { flex-wrap: wrap; padding: 20px; }
}

/* -----------------------------------------------------------
   4. Hero
----------------------------------------------------------- */
.ff-hero {
	padding: 60px 0 100px;
}

.ff-hero .ff-container {
	display: grid;
	grid-template-columns: 1.05fr .95fr;
	gap: 60px;
	align-items: center;
}

.ff-hero h1 {
	font-size: 56px;
	letter-spacing: -1px;
}

.ff-hero h1 .accent {
	background: var(--ff-gradient);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.ff-hero p.ff-lead {
	font-size: 19px;
	color: var(--ff-text-light);
	max-width: 520px;
	margin-bottom: 36px;
}

.ff-hero .ff-hero-buttons { display: flex; gap: 18px; flex-wrap: wrap; }

.ff-hero-card {
	background: #ffffff;
	border-radius: var(--ff-radius);
	padding: 60px 40px;
	text-align: center;
	box-shadow: 0 30px 60px rgba(60, 40, 110, .10);
	border: 1px solid var(--ff-border);
}

.ff-hero-card img { max-width: 220px; max-height: 220px; width: auto; height: auto; object-fit: contain; margin: 0 auto 26px; }

.ff-hero-card p {
	font-family: var(--ff-font-heading);
	font-weight: 700;
	color: var(--ff-purple-dark);
	font-size: 20px;
	margin: 6px 0;
}

@media (max-width: 960px) {
	.ff-hero .ff-container { grid-template-columns: 1fr; }
	.ff-hero h1 { font-size: 40px; }
}

/* -----------------------------------------------------------
   5. Section: Services overview ("A Space For You")
----------------------------------------------------------- */
.ff-section { padding: 90px 0; }

.ff-section-soft { background: var(--ff-bg-soft); }

.ff-section h2 { font-size: 42px; max-width: 780px; }

.ff-section > .ff-container > p.ff-intro {
	font-size: 18px;
	color: var(--ff-text-light);
	max-width: 760px;
	margin-bottom: 50px;
}

.ff-cards-3 {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
	margin-top: 50px;
}

.ff-card {
	background: #fff;
	border: 1px solid var(--ff-border);
	border-radius: var(--ff-radius);
	padding: 40px 34px;
	box-shadow: 0 18px 40px rgba(60, 40, 110, .06);
}

.ff-card-number {
	width: 52px;
	height: 52px;
	border-radius: 14px;
	background: var(--ff-gradient);
	color: #fff;
	font-family: var(--ff-font-heading);
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 24px;
	font-size: 15px;
}

.ff-card h3 { font-size: 22px; margin-bottom: 12px; }

.ff-card p { color: var(--ff-text-light); margin: 0; }

@media (max-width: 900px) {
	.ff-cards-3 { grid-template-columns: 1fr; }
}

/* -----------------------------------------------------------
   6. Section: Our Values
----------------------------------------------------------- */
.ff-values-wrap {
	display: grid;
	grid-template-columns: 1.1fr .9fr;
	gap: 60px;
	align-items: start;
}

.ff-values-list { margin-top: 30px; display: grid; gap: 18px; }

.ff-values-list li {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	font-size: 17px;
	color: var(--ff-text);
}

.ff-values-list .ff-check {
	flex: none;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--ff-gradient);
	color: #fff;
	font-size: 13px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 2px;
}

.ff-cta-box {
	background: var(--ff-gradient-soft);
	border-radius: var(--ff-radius);
	padding: 50px 44px;
	color: #fff;
	align-self: stretch;
}

.ff-cta-box h3 {
	color: #fff;
	font-size: 32px;
	margin-bottom: 20px;
}

.ff-cta-box p { color: rgba(255,255,255,.9); margin-bottom: 26px; }

.ff-cta-box .ff-btn-inverse { background: #fff; }

@media (max-width: 960px) {
	.ff-values-wrap { grid-template-columns: 1fr; }
}

/* -----------------------------------------------------------
   7. Section: Services (formerly "Areas of Support")
----------------------------------------------------------- */
.ff-services-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
	margin-top: 50px;
}

.ff-service-card {
	background: #fff;
	border: 1px solid var(--ff-border);
	border-radius: var(--ff-radius);
	padding: 42px 34px;
	box-shadow: 0 18px 40px rgba(60, 40, 110, .06);
}

.ff-service-card h3 {
	font-size: 23px;
	margin-bottom: 14px;
	background: var(--ff-gradient);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	display: inline-block;
}

.ff-service-card p { color: var(--ff-text-light); margin: 0; }

@media (max-width: 900px) {
	.ff-services-grid { grid-template-columns: 1fr; }
}

/* -----------------------------------------------------------
   8. Final CTA
----------------------------------------------------------- */
.ff-final-cta {
	max-width: var(--ff-max-width);
	margin: 0 auto 0;
	padding: 0 40px;
}

.ff-final-cta-inner {
	background: var(--ff-gradient);
	border-radius: var(--ff-radius);
	padding: 90px 60px;
	text-align: center;
	color: #fff;
}

.ff-final-cta-inner h2 { color: #fff; font-size: 40px; }

.ff-final-cta-inner p {
	font-size: 18px;
	color: rgba(255,255,255,.92);
	max-width: 640px;
	margin: 0 auto 34px;
}

@media (max-width: 700px) {
	.ff-final-cta-inner { padding: 60px 30px; }
	.ff-final-cta-inner h2 { font-size: 30px; }
}

/* -----------------------------------------------------------
   9. Footer
----------------------------------------------------------- */
.site-footer {
	background: var(--ff-purple-dark);
	color: rgba(255,255,255,.85);
	margin-top: 90px;
	padding: 80px 0 30px;
}

.footer-widgets {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr;
	gap: 50px;
	margin-bottom: 50px;
}

.footer-widgets h2, .footer-widgets h3 {
	color: #fff;
	font-size: 19px;
	margin-bottom: 18px;
}

.footer-widgets p { color: rgba(255,255,255,.75); }

.footer-widgets ul li { margin-bottom: 10px; }

.footer-widgets a:hover { color: #fff; text-decoration: underline; }

.site-footer .footer-bottom {
	border-top: 1px solid rgba(255,255,255,.15);
	padding-top: 24px;
	font-size: 14px;
	color: rgba(255,255,255,.6);
}

@media (max-width: 800px) {
	.footer-widgets { grid-template-columns: 1fr; }
}

/* -----------------------------------------------------------
   10. Generic page/post content (fallback templates)
----------------------------------------------------------- */
.ff-page-content {
	max-width: 860px;
	margin: 0 auto;
	padding: 80px 40px 100px;
}

.ff-page-content h1 { font-size: 44px; }
