/*
Theme Name: Dilek Wise Luxe Warmth
Theme URI: https://dilekwise.org
Author: Dr. Dilek Wise
Author URI: https://dilekwise.org
Description: Premium therapy practice theme for Dr. Dilek Wise, PhD, LMFT-S. Hybrid B+C Luxe Warmth design - pure white backgrounds, blueberry blue palette, rounded cards, editorial typography. Version 9.4 includes all 6 custom page templates.
Version: 9.4
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dilekwise-luxe-warmth
*/

:root {
    --blue-primary: #5e96c3;
    --blue-deep: #6b8fb2;
    --blue-soft: #7eabcf;
    --blue-pale: #bfd5e7;
    --blue-mist: #dfeaf3;
    --blue-whisper: #eef5fa;
    --white: #ffffff;
    --slate: #2C3E50;
    --slate-muted: #6B7A87;
    --hairline: #E5ECEF;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 999px;
    --ease: cubic-bezier(0.33, 1, 0.68, 1);
    --dur: 300ms;
}
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: "Source Sans 3", -apple-system, sans-serif; color: var(--slate); line-height: 1.70; background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-primary); text-decoration: none; transition: color var(--dur) var(--ease); }
a:hover { color: var(--blue-deep); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
h1, h2, h3, h4, h5, h6 { color: var(--blue-primary); font-weight: 800; line-height: 1.15; letter-spacing: -0.01em; }
p { margin-bottom: 1rem; }

.eyebrow { display: inline-block; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--blue-primary); margin-bottom: 1rem; }
.pill-badge { display: inline-block; background: var(--blue-pale); color: var(--blue-deep); padding: 0.5rem 1.25rem; border-radius: var(--radius-pill); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 1.5rem; }
.signature { font-family: "Brush Script MT", cursive; font-size: 1.5rem; color: var(--slate); text-align: center; margin-top: 1rem; font-style: italic; }

.site-header { position: sticky; top: 0; z-index: 100; background: var(--white); }
.tier-1 { background: var(--blue-primary); color: rgba(255,255,255,0.95); padding: 0.5rem 1.5rem; text-align: center; font-size: 0.8125rem; }
.tier-2 { background: rgba(255,255,255,0.97); border-bottom: 1px solid var(--hairline); }
.nav-wrapper { max-width: 1320px; margin: 0 auto; padding: 1.125rem 1.5rem; display: flex; align-items: center; gap: 2rem; }
.nav-brand { display: flex; flex-direction: column; margin-right: auto; text-decoration: none; }
.nav-brand-name { font-size: 1.25rem; color: var(--blue-primary); font-weight: 600; line-height: 1; }
.nav-brand-tagline { font-size: 0.6875rem; color: var(--slate-muted); letter-spacing: 0.18em; text-transform: uppercase; margin-top: 0.3rem; }
.nav-links { display: flex; gap: 2rem; align-items: center; list-style: none; }
.nav-links a { color: var(--slate); font-size: 0.875rem; font-weight: 500; padding: 0.5rem 0; }
.nav-links a:hover, .nav-links a.current { color: var(--blue-primary); }
.nav-cta { background: var(--blue-primary); color: var(--white) !important; padding: 0.75rem 1.5rem; border-radius: var(--radius-pill); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap; }
.nav-cta:hover { background: var(--blue-deep); }

.tier-3 { background: var(--white); border-bottom: 1px solid var(--hairline); padding: 0.5rem 1.5rem; }
.social-wrapper { max-width: 1320px; margin: 0 auto; display: flex; justify-content: flex-end; align-items: center; gap: 0.75rem; }
.social-label { font-size: 0.8125rem; color: var(--slate-muted); letter-spacing: 0.14em; text-transform: uppercase; margin-right: 0.5rem; }
.social-icon { width: 22px; height: 22px; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; }
.social-substack { color: #FF6719; }
.social-tiktok { color: #000; }
.social-instagram { color: #E4405F; }
.social-youtube { color: #FF0000; }
.social-linkedin { color: #0A66C2; }
.social-facebook { color: #1877F2; }
.social-email { color: #6B7A87; }

.mobile-toggle { display: none; background: none; border: none; padding: 0.5rem; color: var(--blue-primary); }
.mobile-toggle span { display: block; width: 24px; height: 2px; background: currentColor; margin: 5px 0; border-radius: 2px; }

.btn { display: inline-block; padding: 1rem 2.25rem; border-radius: var(--radius-pill); font-size: 0.875rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; text-align: center; cursor: pointer; border: 2px solid transparent; text-decoration: none; transition: all var(--dur) var(--ease); }
.btn-primary { background: var(--blue-primary); color: var(--white); border-color: var(--blue-primary); }
.btn-primary:hover { background: var(--blue-deep); color: var(--white); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--blue-primary); border-color: var(--blue-primary); }
.btn-outline:hover { background: var(--blue-primary); color: var(--white); }
.btn-soft { background: var(--blue-soft); color: var(--white); border-color: var(--blue-soft); }
.btn-white { background: var(--white); color: var(--blue-primary); border-color: var(--white); }

.hero { padding: 5rem 1.5rem; background: var(--white); overflow: hidden; }
.hero-inner { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 55fr 45fr; gap: 4rem; align-items: center; }
.hero-visual { background: linear-gradient(135deg, var(--blue-mist), var(--blue-whisper)); border-radius: var(--radius-lg); padding: 3rem 2rem; display: flex; flex-direction: column; align-items: center; min-height: 500px; justify-content: center; }
.hero-photo { width: 320px; height: 320px; border-radius: 50%; object-fit: cover; object-position: center top; box-shadow: 0 4px 20px rgba(94,150,195,0.15); }
.hero-photo-placeholder { width: 320px; height: 320px; border-radius: 50%; background: var(--blue-pale); display: flex; align-items: center; justify-content: center; color: var(--blue-deep); font-size: 0.875rem; text-align: center; padding: 1rem; }
.hero-content { text-align: right; }
.hero-content h1 { font-size: clamp(2.5rem, 5vw, 4rem); color: var(--blue-primary); font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; margin-bottom: 1.5rem; }
.hero-subheading { font-size: 1.125rem; color: var(--slate-muted); line-height: 1.6; margin-bottom: 2rem; }
.hero-ctas { display: flex; gap: 1rem; justify-content: flex-end; margin-bottom: 2rem; flex-wrap: wrap; }
.hero-divider { height: 1px; background: var(--hairline); margin: 2rem 0; }
.hero-credentials { font-size: 0.8125rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--slate-muted); font-weight: 600; }

.featured-in { background: var(--blue-mist); padding: 2.5rem 1.5rem; text-align: center; }
.featured-in-label { font-size: 0.8125rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--slate-muted); font-weight: 600; margin-bottom: 1.25rem; }
.featured-logos { display: flex; justify-content: center; gap: 3rem; flex-wrap: wrap; color: var(--slate-muted); font-weight: 500; }

.section { padding: 5rem 1.5rem; }
.section-white { background: var(--white); }
.section-mist { background: var(--blue-mist); }
.container { max-width: 1180px; margin: 0 auto; }
.container-narrow { max-width: 820px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-title { font-size: clamp(2rem, 4vw, 3rem); color: var(--blue-primary); margin-bottom: 1rem; }
.section-intro { max-width: 640px; margin: 0 auto; color: var(--slate-muted); font-size: 1.125rem; line-height: 1.7; }

.cards-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .cards-grid-2 { grid-template-columns: repeat(2, 1fr); } .cards-grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards-grid-3 { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--white); padding: 2.25rem 1.875rem; border-radius: var(--radius-lg); border-top: 3px solid var(--blue-primary); box-shadow: 0 2px 12px rgba(94,150,195,0.08); display: flex; flex-direction: column; position: relative; transition: all var(--dur) var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(94,150,195,0.15); }
.card-label { display: inline-block; background: var(--blue-soft); color: var(--white); padding: 0.25rem 0.75rem; border-radius: var(--radius-pill); font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1rem; align-self: flex-start; }
.card-badge { position: absolute; top: -12px; right: 1.5rem; background: linear-gradient(135deg, #d4af37, #f4d03f); color: var(--slate); padding: 0.375rem 1rem; border-radius: var(--radius-pill); font-size: 0.625rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.card h3 { font-size: 1.5rem; color: var(--blue-primary); margin-bottom: 0.75rem; line-height: 1.2; }
.card p { color: var(--slate-muted); line-height: 1.6; margin-bottom: 1.25rem; flex: 1; }
.card-link { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue-primary); align-self: flex-start; }

.stats-pill { display: table; background: var(--blue-pale); padding: 0.75rem 2rem; border-radius: var(--radius-pill); font-size: 0.875rem; color: var(--blue-deep); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; margin: 2rem auto 0; }

.mobile-sticky-cta { display: none; position: fixed; bottom: 0; left: 0; right: 0; background: var(--white); border-top: 1px solid var(--hairline); padding: 0.625rem 0.75rem; z-index: 90; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.mobile-sticky-cta .btn { padding: 0.875rem 0.5rem; font-size: 0.75rem; }

.cta-banner { background: linear-gradient(135deg, var(--blue-primary), var(--blue-deep)); color: var(--white); padding: 5rem 1.5rem; text-align: center; }
.cta-banner h2 { color: var(--white); font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; }
.cta-banner p { color: rgba(255,255,255,0.9); font-size: 1.125rem; margin-bottom: 2rem; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-group { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.site-footer { background: var(--blue-primary); color: rgba(255,255,255,0.9); padding: 4rem 1.5rem 2rem; font-size: 0.875rem; }
.footer-grid { max-width: 1180px; margin: 0 auto 3rem; display: grid; gap: 3rem 2rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.5fr repeat(3, 1fr); } }
.footer-col h4 { color: var(--white); font-weight: 600; margin-bottom: 1.25rem; padding-bottom: 0.5rem; border-bottom: 1px solid rgba(255,255,255,0.2); }
.footer-col p { color: rgba(255,255,255,0.85); line-height: 1.7; margin-bottom: 0.75rem; }
.footer-col a { color: rgba(255,255,255,0.85); display: block; margin-bottom: 0.625rem; }
.footer-col a:hover { color: var(--white); }
.footer-aamft { margin-top: 1.5rem; background: var(--white); border-radius: var(--radius-md); padding: 1rem; max-width: 140px; text-align: center; }
.footer-aamft-inner { width: 100px; height: 100px; margin: 0 auto; border-radius: 50%; background: #1a365d; color: var(--white); display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 0.55rem; font-weight: 700; padding: 0.5rem; border: 3px solid #d4af37; }
.footer-aamft-inner .aamft-top { font-size: 0.75rem; letter-spacing: 0.15em; margin-bottom: 0.25rem; }
.footer-aamft-inner .aamft-mid { background: var(--white); color: #1a365d; padding: 0.15rem 0.5rem; border-radius: 2px; font-size: 0.6rem; }
.footer-bottom { max-width: 1180px; margin: 0 auto; border-top: 1px solid rgba(255,255,255,0.15); padding-top: 1.5rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: 0.8125rem; color: rgba(255,255,255,0.7); }
.footer-legal { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-legal a, .footer-legal button { color: rgba(255,255,255,0.85); text-decoration: underline; background: none; border: none; padding: 0; font: inherit; cursor: pointer; }
.footer-legal a:hover, .footer-legal button:hover { color: var(--white); }

.modal-backdrop { position: fixed; inset: 0; background: rgba(44,62,80,0.7); z-index: 200; opacity: 0; pointer-events: none; transition: opacity var(--dur) var(--ease); display: flex; align-items: center; justify-content: center; padding: 1.5rem; }
.modal-backdrop.visible { opacity: 1; pointer-events: all; }
.modal { background: var(--white); border-radius: var(--radius-lg); max-width: 480px; width: 100%; padding: 2.5rem 2rem; position: relative; text-align: center; }
.modal-close { position: absolute; top: 1rem; right: 1rem; width: 32px; height: 32px; border-radius: 50%; background: var(--blue-mist); color: var(--blue-primary); font-size: 1.25rem; display: flex; align-items: center; justify-content: center; }
.modal h3 { font-size: 1.5rem; margin-bottom: 0.75rem; color: var(--blue-primary); }
.modal p { color: var(--slate-muted); margin-bottom: 1.75rem; line-height: 1.6; }
.modal-actions { display: flex; flex-direction: column; gap: 0.75rem; }
.modal-action { display: block; padding: 0.875rem 1.25rem; background: var(--blue-mist); color: var(--blue-primary); border-radius: var(--radius-md); text-decoration: none; font-weight: 600; font-size: 0.875rem; border: 1px solid transparent; }
.modal-action:hover { background: var(--blue-pale); color: var(--blue-deep); }
.modal-action.placeholder { opacity: 0.5; cursor: not-allowed; font-style: italic; }

.mobile-drawer { position: fixed; top: 0; right: -100%; width: 85%; max-width: 360px; height: 100vh; background: var(--white); padding: 2rem 1.5rem; z-index: 200; transition: right var(--dur) var(--ease); overflow-y: auto; box-shadow: -8px 0 32px rgba(94,150,195,0.15); }
.mobile-drawer.open { right: 0; }
.mobile-drawer .nav-links { flex-direction: column; align-items: stretch; gap: 0; margin-top: 3rem; }
.mobile-drawer .nav-links a { padding: 1rem 0; border-bottom: 1px solid var(--hairline); font-size: 1.125rem; }
.mobile-drawer .nav-cta { display: inline-block; margin-top: 2rem; text-align: center; }
.drawer-close { position: absolute; top: 1.25rem; right: 1.25rem; font-size: 1.5rem; color: var(--blue-primary); }
.backdrop { position: fixed; inset: 0; background: rgba(44,62,80,0.4); z-index: 150; opacity: 0; pointer-events: none; transition: opacity var(--dur) var(--ease); }
.backdrop.visible { opacity: 1; pointer-events: all; }

.form-field { width: 100%; padding: 0.875rem 1rem; border: 1px solid var(--hairline); border-radius: var(--radius-pill); font-family: inherit; font-size: 0.9375rem; }
.newsletter-form { display: flex; gap: 0.75rem; max-width: 460px; margin: 0 auto; flex-wrap: wrap; justify-content: center; }
.newsletter-form .form-field { flex: 1; min-width: 240px; }
.newsletter-trust { font-size: 0.8125rem; color: var(--slate-muted); margin-top: 1rem; text-align: center; }

.faq-item { background: var(--white); border-radius: var(--radius-md); margin-bottom: 0.75rem; padding: 1.25rem 1.5rem; box-shadow: 0 2px 12px rgba(94,150,195,0.08); }
.faq-question { width: 100%; text-align: left; font-weight: 600; color: var(--blue-primary); font-size: 1rem; display: flex; justify-content: space-between; align-items: center; }
.faq-answer { display: none; padding-top: 1rem; color: var(--slate-muted); line-height: 1.6; }
.faq-item.open .faq-answer { display: block; }
.faq-item.open .faq-toggle { transform: rotate(45deg); }
.faq-toggle { transition: transform 0.3s ease; display: inline-block; font-size: 1.25rem; color: var(--blue-primary); }

.text-center { text-align: center; }
.mt-2 { margin-top: 1rem; }

@media (max-width: 1024px) {
    .nav-links, .nav-cta { display: none; }
    .mobile-toggle { display: block; }
    .tier-3 { display: none; }
    .hero-inner { grid-template-columns: 1fr; gap: 2rem; }
    .hero-content { text-align: center; }
    .hero-ctas { justify-content: center; }
    .hero-visual { min-height: auto; padding: 2rem 1.5rem; }
    .hero-photo, .hero-photo-placeholder { width: 220px; height: 220px; }
    .contact-split { grid-template-columns: 1fr !important; }
}
@media (max-width: 767px) {
    body { padding-bottom: 72px; }
    .mobile-sticky-cta { display: grid; }
    .hero-photo, .hero-photo-placeholder { width: 180px; height: 180px; }
    .hero-content h1 { font-size: 2rem; }
    .hero-ctas { flex-direction: column; align-items: stretch; }
    .hero-ctas .btn { width: 100%; }
    .footer-bottom { flex-direction: column; text-align: center; }
}
