/*
Theme Name: Outlive Homes
Theme URI: https://outlivehomes.com
Description: Custom child theme for Outlive Homes, built on Kadence. Aging-in-place home solutions with accessibility-first design.
Author: Outlive Homes
Author URI: https://outlivehomes.com
Template: kadence
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: outlive-homes
*/

/* ============================================
   Brand Color System — v1.0
   See brand-color-guidelines.html for full spec
   ============================================ */

:root {
	--color-anchor: #051C2C;
	--color-navy: #24477F;
	--color-blue: #1A6FAD;
	--color-warm: #C4724A;
	--color-warm-hover: #A85D3A;
	--color-bg: #F2F4F7;
	--color-gray: #B0A99F;
	--color-text: #1F2937;
	--color-white: #FFFFFF;
}

/* ============================================
   One-Page Layout
   ============================================ */

html {
	scroll-behavior: smooth;
}

/* Offset anchor targets for fixed header */
[id] {
	scroll-margin-top: 80px;
}

/* ============================================
   Section Eyebrow Labels
   ============================================ */

.outlive-eyebrow {
	font-family: var(--font-body, 'DM Sans', sans-serif);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 2px;
	text-transform: uppercase;
	margin-bottom: 12px;
}

/* ============================================
   Section Subtitles
   ============================================ */

.outlive-subtitle {
	max-width: 640px;
	margin-left: auto;
	margin-right: auto;
}

/* ============================================
   Value Proposition Cards
   ============================================ */

.outlive-value-card {
	text-align: center;
	padding: 40px 24px;
}

.outlive-value-card h3 {
	margin-bottom: 12px;
}

/* ============================================
   Service Cards
   ============================================ */

.outlive-service-card {
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	padding: 32px 28px;
	border-radius: 12px;
	background: var(--color-white);
	border: 1px solid rgba(5, 28, 44, 0.06);
	text-align: center;
}

.outlive-service-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 32px rgba(5, 28, 44, 0.08);
}

.outlive-service-card h3 {
	margin-bottom: 8px;
}

/* ============================================
   Process Steps
   ============================================ */

.outlive-step {
	text-align: center;
	padding: 24px 16px;
}

.outlive-step-number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background-color: var(--color-warm);
	color: var(--color-white);
	font-family: var(--font-body, 'DM Sans', sans-serif);
	font-size: 18px;
	font-weight: 700;
	margin-bottom: 16px;
}

.outlive-step h3 {
	margin-bottom: 8px;
}

/* ============================================
   Contact Form Section
   ============================================ */

.outlive-form-wrapper {
	max-width: 560px;
	margin-left: auto;
	margin-right: auto;
}

/* ============================================
   WPForms Brand Styling
   ============================================ */

.wpforms-container .wpforms-field-label {
	color: var(--color-white);
	font-family: var(--font-body, 'DM Sans', sans-serif);
	font-size: 15px;
	font-weight: 500;
}

.wpforms-container .wpforms-field input,
.wpforms-container .wpforms-field textarea {
	font-family: var(--font-body, 'DM Sans', sans-serif);
	font-size: 16px;
	border: 2px solid rgba(255, 255, 255, 0.2);
	border-radius: 8px;
	padding: 14px 16px;
	background: rgba(255, 255, 255, 0.95);
	transition: border-color 0.2s ease;
}

.wpforms-container .wpforms-field input:focus,
.wpforms-container .wpforms-field textarea:focus {
	border-color: var(--color-warm);
	outline: none;
}

.wpforms-container .wpforms-submit-container button {
	width: 100%;
	background-color: var(--color-warm);
	color: var(--color-white);
	font-family: var(--font-body, 'DM Sans', sans-serif);
	font-weight: 600;
	font-size: 17px;
	padding: 16px 32px;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	transition: background-color 0.2s ease, transform 0.1s ease;
}

.wpforms-container .wpforms-submit-container button:hover {
	background-color: var(--color-warm-hover);
	transform: translateY(-1px);
}

/* ============================================
   Floating CTA — mobile only
   ============================================ */

.outlive-floating-cta {
	display: none;
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background-color: var(--color-warm);
	color: var(--color-white);
	padding: 16px 24px;
	font-family: var(--font-body, 'DM Sans', sans-serif);
	font-weight: 600;
	font-size: 16px;
	text-align: center;
	text-decoration: none;
	box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.15);
	z-index: 9999;
	transition: background-color 0.2s ease;
}

.outlive-floating-cta:hover,
.outlive-floating-cta:focus {
	background-color: var(--color-warm-hover);
	color: var(--color-white);
}

@media (max-width: 768px) {
	.outlive-floating-cta {
		display: block;
	}

	body {
		padding-bottom: 56px;
	}
}

/* ============================================
   Responsive Adjustments
   ============================================ */

@media (max-width: 782px) {
	.outlive-service-card,
	.outlive-step,
	.outlive-value-card {
		padding: 24px 20px;
	}
}
