/*
Theme Name: Radiate Unbound
Theme URI: https://unboundpath.com
Description: A child theme for Radiate, customized for The Unbound Path spiritual coaching website.
Author: Ronen Sberlo
Author URI: https://unboundpath.com
Template: radiate
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: radiate-unbound
*/

/* ===================================
   CSS Variables - The Unbound Path Theme
   =================================== */
:root {
    /* Warm earth tone palette */
    --color-primary: #8B7355;       /* Warm earth */
    --color-primary-light: #A89076;
    --color-primary-dark: #6B5745;

    --color-secondary: #C9B896;     /* Soft sand */
    --color-accent: #9AA68A;        /* Subtle sage */

    --color-dark: #2C2416;
    --color-text: #4A4A4A;
    --color-text-light: #6B6B6B;
    --color-cream: #FAF7F2;
    --color-white: #FFFFFF;
    --color-border: #E1E4E6;

    --shadow-soft: 0 4px 20px rgba(44, 36, 22, 0.08);
    --shadow-medium: 0 8px 30px rgba(44, 36, 22, 0.12);
    --shadow-strong: 0 15px 50px rgba(44, 36, 22, 0.15);

    --transition: all 0.3s ease;
    --transition-slow: all 0.5s ease;
}

/* ===================================
   Base Typography
   =================================== */
html {
    font-size: 100% !important; /* Reset from parent theme's 62.5% to standard 16px base */
    scroll-behavior: smooth;
}

body,
button,
input,
select,
textarea {
    font-family: 'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-cream);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6,
.site-title,
.entry-title,
.page-title,
.widget-title, 
.wp-block-search__label {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 500;
    line-height: 1.3;
    color: var(--color-dark);
}

p {
    color: var(--color-text);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover,
a:focus,
a:active {
    color: var(--color-accent);
}

/* ===================================
   Header Styles
   =================================== */
.header-wrap {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999999;
    padding: 20px 0;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
    border-bottom: none;
    transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

/* Header scrolled state - background fades in */
.header-wrap.scrolled {
    padding: 15px 0;
    background: rgba(250, 247, 242, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-soft);
}

/* Header on Internal Pages (Solid by default) */
body:not(.home):not(.page-template-front-page) .header-wrap {
    padding: 15px 0;
    background: rgba(250, 247, 242, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-soft);
}

/* Header on hero (Home Page Only) (transparent) - white text */
.home .header-wrap:not(.scrolled) .site-title,
.home .header-wrap:not(.scrolled) .site-title a,
.page-template-front-page .header-wrap:not(.scrolled) .site-title,
.page-template-front-page .header-wrap:not(.scrolled) .site-title a {
    color: var(--color-white);
}

.home .header-wrap:not(.scrolled) .main-navigation a,
.page-template-front-page .header-wrap:not(.scrolled) .main-navigation a {
    color: var(--color-white);
}

.home .header-wrap:not(.scrolled) .main-navigation a:hover,
.page-template-front-page .header-wrap:not(.scrolled) .main-navigation a:hover {
    color: var(--color-secondary);
}

.home .header-wrap:not(.scrolled) .menu-item-cta a,
.home .header-wrap:not(.scrolled) .main-navigation .menu-item-cta a,
.page-template-front-page .header-wrap:not(.scrolled) .menu-item-cta a,
.page-template-front-page .header-wrap:not(.scrolled) .main-navigation .menu-item-cta a {
    background: var(--color-white) !important;
    color: var(--color-dark) !important;
}

.home .header-wrap:not(.scrolled) .menu-item-cta a:hover,
.home .header-wrap:not(.scrolled) .main-navigation .menu-item-cta a:hover,
.page-template-front-page .header-wrap:not(.scrolled) .menu-item-cta a:hover,
.page-template-front-page .header-wrap:not(.scrolled) .main-navigation .menu-item-cta a:hover {
    background: var(--color-secondary) !important;
    color: var(--color-dark) !important;
}

/* Mobile menu toggle - white on transparent header (Home Page Only) */
.home .header-wrap:not(.scrolled) .site-header .menu-toggle::before,
.page-template-front-page .header-wrap:not(.scrolled) .site-header .menu-toggle::before {
    color: var(--color-white);
}

/* Hide parallax background on non-front pages or when not needed */
#parallax-bg {
    display: none !important;
}

/* If using custom header image on front page, style it properly */
.home #parallax-bg,
.front-page #parallax-bg {
    display: block !important;
}

body.admin-bar .header-wrap {
    top: 32px;
}

.header-wrap .inner-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Site Branding / Logo */
.site-branding {
    float: none;
    margin: 0;
}

.site-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-dark);
    letter-spacing: 1px;
    padding: 0;
    margin: 0;
    line-height: 1.3;
}

.site-title a {
    color: var(--color-dark);
    transition: var(--transition);
}

.site-title a:hover {
    color: var(--color-accent);
    text-decoration: none;
}

.site-description {
    display: none;
}

/* Hide header search icon */
.header-search-icon,
#masthead .search-form {
    display: none !important;
}

/* ===================================
   Navigation Styles
   =================================== */
.main-navigation {
    float: none;
    max-width: none;
}

.main-navigation ul {
    display: flex;
    align-items: center;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-navigation li {
    font-family: 'Nunito Sans', sans-serif;
    float: none;
    position: relative;
    font-size: 0.95rem;
    line-height: 1.5;
    border-left: none;
    margin: 0;
}

.main-navigation a {
    font-family: 'Nunito Sans', sans-serif;
    padding: 10px 20px;
    display: block;
    text-decoration: none !important;
    color: var(--color-text);
    font-weight: 400;
    letter-spacing: 0.5px;
    position: relative;
    transition: var(--transition);
    border-bottom: none !important;
}

.main-navigation a:hover,
.main-navigation a:focus,
.main-navigation a:active,
.main-navigation a:visited {
    text-decoration: none !important;
    border-bottom: none !important;
}

/* Navigation Underline Styles */
.main-navigation a {
    position: relative;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 20px; /* Align with text (matching padding) */
    right: 20px; /* Align with text (matching padding) */
    height: 2px;
    background-color: var(--color-accent);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease-in-out;
}

.main-navigation a:hover::after,
.main-navigation a.active::after {
    transform: scaleX(1);
}

.main-navigation a::before {
    display: none !important;
    content: none !important;
}

.main-navigation a:hover,
.main-navigation a.active,
.main-navigation ul li.current-menu-item a,
.main-navigation ul li.current_page_ancestor a,
.main-navigation ul li.current-menu-ancestor a,
.main-navigation ul li.current_page_item a,
.main-navigation ul li:hover > a {
    background-color: transparent;
    color: var(--color-accent);
}

/* Dropdown Menu Styles */
.main-navigation ul ul {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--color-white);
    box-shadow: var(--shadow-medium);
    border-radius: 8px;
    overflow: hidden;
    min-width: 200px;
    z-index: 99999;
}

.main-navigation ul ul li {
    width: 100%;
}

.main-navigation ul li ul li a,
.main-navigation ul li.current-menu-item ul li a,
.main-navigation ul li ul li.current-menu-item a {
    color: var(--color-text);
    background-color: var(--color-white);
    padding: 12px 20px;
}

.main-navigation ul li ul li a:hover,
.main-navigation ul li ul li:hover > a {
    background-color: var(--color-cream);
    color: var(--color-accent);
}

.main-navigation ul li ul li a::after {
    display: none;
}

/* CTA Button in Navigation */
.menu-item-cta a,
.main-navigation .menu-item-cta a {
    padding: 12px 24px !important;
    background: var(--color-primary) !important;
    color: var(--color-white) !important;
    border-radius: 30px;
    margin-left: 20px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.menu-item-cta a:hover,
.main-navigation .menu-item-cta a:hover {
    background: var(--color-primary-dark) !important;
    color: var(--color-white) !important;
    transform: translateY(-2px);
}

.main-navigation .menu-item-cta a::after {
    display: none !important;
}

/* Mobile Navigation Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none !important;
    border: none;
    cursor: pointer;
    padding: 10px;
    margin: 0;
}

.site-header .menu-toggle {
    background: none;
    color: var(--color-dark);
    font-size: inherit;
    padding: 10px;
    margin: 0;
}

.site-header .menu-toggle::before {
    content: '\f419';
    color: var(--color-primary);
    font-size: 24px;
}

.site-header .menu-toggle:hover {
    background: none;
}

/* ===================================
   Content Area
   =================================== */
#content {
    padding-top: 100px; /* Account for fixed header */
    background-color: var(--color-cream);
}

.inner-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Posts and Pages */
.hentry {
    margin-bottom: 40px;
    padding: 40px;
    background-color: var(--color-white);
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
}

.page-header {
    margin-bottom: 40px;
    padding: 30px 40px;
    background-color: var(--color-white);
    text-align: center;
    border-radius: 12px;
}

.entry-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 2rem;
    line-height: 1.3;
    color: var(--color-dark);
    margin-bottom: 15px;
}

.entry-title a {
    color: var(--color-dark);
}

#content .entry-title a:hover {
    color: var(--color-accent);
    text-decoration: none;
}

/* Entry Meta */
.entry-meta span {
    padding-right: 20px;
    color: var(--color-text-light);
    font-size: 0.875rem;
}

.entry-meta span a {
    color: var(--color-text-light);
}

#content .entry-meta span a:hover {
    color: var(--color-accent);
    text-decoration: none;
}

.entry-meta span:hover {
    color: var(--color-accent);
}

.entry-meta .posted-on:before,
.entry-meta .byline:before,
.entry-meta .cat-links:before,
.entry-meta .tags-links:before,
.entry-meta .comments-link:before,
.entry-meta .edit-link:before {
    color: var(--color-accent);
}

/* Entry Content */
.entry-content,
.page-content {
    font-size: 1.05rem;
    line-height: 1.8;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    color: var(--color-dark);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.entry-content a:hover {
    color: var(--color-accent);
}

/* Blockquotes */
blockquote,
.wp-block-quote,
.wp-block-quote.is-style-large {
    border-color: var(--color-border) var(--color-border) var(--color-border) var(--color-accent);
    background: var(--color-cream);
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.15rem;
    color: var(--color-dark);
}

.wp-block-quote.has-text-align-right {
    border-right: 3px solid var(--color-accent);
    border-left: 1px solid var(--color-border);
}

blockquote cite,
.wp-block-quote cite {
    color: var(--color-text-light);
    font-family: 'Nunito Sans', sans-serif;
}

/* ===================================
   Buttons
   =================================== */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
    background-color: var(--color-primary);
    border: none;
    border-radius: 50px;
    color: var(--color-white);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 12px 30px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(139, 115, 85, 0.25);
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
    background-color: var(--color-primary-dark);
    opacity: 1;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 115, 85, 0.35);
}

/* ===================================
   Sidebar / Widgets
   =================================== */
#secondary {
    background: transparent;
}

.widget {
    margin-bottom: 30px;
    padding: 30px;
    background-color: var(--color-white);
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
}

.widget-title,
.wp-block-search__label {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--color-dark);
    line-height: 1.3;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--color-secondary);
}

.widget li {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--color-border);
}

.widget li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.widget a {
    color: var(--color-text);
}

.widget a:hover {
    color: var(--color-accent);
}

/* Search Widget */
.widget_search .search-form {
    width: 100%;
}

.widget_search input[type="search"] {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--color-border);
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
}

.widget_search input[type="search"]:focus {
    border-color: var(--color-accent);
    outline: none;
}

/* ===================================
   Comments
   =================================== */
#comments {
    padding: 40px;
    background-color: var(--color-white);
    margin-bottom: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
}

#comments h2.comments-title,
#comments h3.comments-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.75rem;
    margin-bottom: 30px;
    color: var(--color-dark);
}

.comment-content {
    padding: 20px;
    background-color: var(--color-cream);
    border: 1px solid var(--color-border);
    border-radius: 8px;
}

.comments-area article header .comment-author-link span {
    background-color: var(--color-accent);
}

.comment .comment-reply-link:hover,
.comments-area .comment-author-link a:hover,
#content .comments-area a.comment-edit-link:hover,
#content .comments-area a.comment-permalink:hover {
    color: var(--color-accent);
}

/* ===================================
   Footer
   =================================== */
#colophon {
    padding: 80px 0 30px;
    background: var(--color-dark);
    color: var(--color-white);
    border-top: none;
}

.site-footer .footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

.site-footer .footer-brand h3 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.5rem;
    color: var(--color-white);
    margin-bottom: 15px;
}

.site-footer .footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin: 0;
}

.site-footer .footer-links h4,
.site-footer .footer-connect h4 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.1rem;
    color: var(--color-white);
    margin-bottom: 20px;
}

.site-footer .footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer .footer-links li {
    margin-bottom: 12px;
}

.site-footer .footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    transition: var(--transition);
}

.site-footer .footer-links a:hover {
    color: var(--color-accent);
}

/* Contact Link in Footer */
.site-footer .contact-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    padding: 0;
    background: transparent;
    border-radius: 0;
    transition: var(--transition);
    margin-bottom: 20px;
}

.site-footer .contact-link:hover {
    background: transparent;
    color: var(--color-accent);
    transform: translateY(-2px);
}

.site-footer .contact-link .email-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    fill: currentColor;
}

/* Social Links */
.site-footer .social-links {
    display: flex;
    gap: 15px;
}

.site-footer .social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.site-footer .social-links a:hover {
    background: var(--color-accent);
    transform: translateY(-3px);
}

.site-footer .social-links svg {
    width: 18px;
    height: 18px;
    fill: var(--color-white);
}

/* Footer Bottom */
.site-footer .footer-bottom {
    padding-top: 30px;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.site-footer .footer-bottom p,
#colophon .site-info {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
}

#colophon .site-info a {
    color: rgba(255, 255, 255, 0.7);
}

#colophon .site-info a:hover {
    color: var(--color-accent);
}

/* ===================================
   Scroll Up Button
   =================================== */
a#scroll-up span {
    color: var(--color-primary);
}

a#scroll-up:hover {
    opacity: 1;
}

/* ===================================
   Form Inputs
   =================================== */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea {
    color: var(--color-text);
    border: 2px solid var(--color-border);
    border-radius: 8px;
    padding: 12px 16px;
    transition: var(--transition);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus {
    border-color: var(--color-accent);
    outline: none;
    color: var(--color-dark);
}

/* ===================================
   Responsive Design
   =================================== */
@media screen and (max-width: 1024px) {
    .site-footer .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .site-footer .footer-brand {
        grid-column: span 2;
    }
}

@media screen and (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .main-navigation ul {
        display: none;
    }

    .main-navigation.toggled .nav-menu,
    .menu-toggle,
    .main-navigation.toggled ul {
        display: block;
    }

    .main-small-navigation ul {
        position: absolute;
        top: 100%;
        right: 24px;
        background: var(--color-white);
        box-shadow: var(--shadow-medium);
        border-radius: 12px;
        overflow: hidden;
        width: 250px;
        max-height: 80vh;
        overflow-y: auto;
    }

    .main-small-navigation li {
        background: var(--color-white);
        border-bottom: 1px solid var(--color-border);
    }

    .main-small-navigation li:last-child {
        border-bottom: none;
    }

    .main-small-navigation a {
        color: #000000 !important; /* Mobile menu items black as requested */
        display: block;
        font-size: 1rem;
        padding: 15px 25px;
        text-decoration: none;
    }

    .main-small-navigation li:hover {
        background: var(--color-cream);
    }

    .main-small-navigation li:hover > a {
        color: var(--color-accent);
    }

    .main-small-navigation ul > .current_page_item,
    .main-small-navigation ul > .current-menu-item {
        background: var(--color-cream);
    }

    .main-small-navigation ul > .current_page_item a,
    .main-small-navigation ul > .current-menu-item a {
        color: var(--color-accent);
    }

    /* Remove button styling from CTA in mobile menu */
    .main-small-navigation .menu-item-cta a,
    .main-small-navigation ul .menu-item-cta a {
        padding: 15px 25px !important;
        background: transparent !important;
        color: var(--color-text) !important;
        border-radius: 0;
        margin-left: 0;
        font-weight: 400;
    }

    .main-small-navigation .menu-item-cta:hover a,
    .main-small-navigation ul .menu-item-cta:hover > a {
        background: var(--color-cream) !important;
        color: var(--color-accent) !important;
        transform: none;
    }

    .hentry {
        padding: 25px;
        margin-bottom: 25px;
    }

    #comments {
        padding: 25px;
    }

    .widget {
        padding: 25px;
    }

    .site-footer .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .site-footer .footer-brand {
        grid-column: auto;
    }

    .site-footer .social-links {
        justify-content: center;
    }
    
    .site-footer .footer-connect {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .site-footer .contact-link {
        justify-content: center;
    }

    .site-title {
        font-size: 1.25rem;
    }

    #content {
        padding-top: 80px;
    }
}

@media screen and (max-width: 600px) {
    .header-wrap .inner-wrap {
        padding: 0 20px;
    }

    .inner-wrap {
        padding: 0 20px;
    }

    .entry-title {
        font-size: 1.5rem;
    }

    body.admin-bar .header-wrap {
        top: 0;
    }
}

/* ===================================
   Featured Pages Section (Front Page)
   =================================== */
#featured_pages .page_text_container {
    background-color: var(--color-white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
}

#featured_pages .entry-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    color: var(--color-dark);
}

#featured_pages a.more-link {
    border: 2px solid var(--color-primary);
    border-radius: 50px;
    color: var(--color-primary);
    padding: 8px 20px;
    font-weight: 600;
    transition: var(--transition);
}

#featured_pages a.more-link:hover {
    background: var(--color-primary);
    color: var(--color-white);
    text-decoration: none;
}

/* ===================================
   Related Posts
   =================================== */
.related-posts-wrapper .tg-one-third {
    background-color: var(--color-white);
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
}

.related-posts-main-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    color: var(--color-dark);
}

/* ===================================
   Author Box
   =================================== */
.author-box {
    background-color: var(--color-white);
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
}

.author-name {
    font-family: 'Cormorant Garamond', Georgia, serif;
    color: var(--color-dark);
}

/* ===================================
   404 and No Results
   =================================== */
.not-found .page-content {
    padding: 40px;
    background-color: var(--color-white);
    border-radius: 12px;
}

/* ===================================
   Tables
   =================================== */
th,
td,
.wp-block-table th,
.wp-block-table td {
    border: 1px solid var(--color-border);
    padding: 12px 15px;
}

th {
    background-color: var(--color-cream);
    color: var(--color-dark);
}

/* ===================================
   Navigation (Post/Page)
   =================================== */
.site-main [class*="navigation"] {
    margin: 30px 0;
    padding: 20px 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

[class*="navigation"] a {
    color: var(--color-primary);
}

[class*="navigation"] a:hover {
    color: var(--color-accent);
}

/* ===================================
   WooCommerce Overrides (if using)
   =================================== */
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
    background-color: var(--color-primary);
    color: var(--color-white);
    border-radius: 50px;
}

.woocommerce #respond input#submit:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit.alt:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover {
    background-color: var(--color-primary-dark);
    color: var(--color-white);
}

.woocommerce .woocommerce-message {
    border-top-color: var(--color-accent);
}

.woocommerce ul.products li.product .price .amount,
.entry-summary .price .amount {
    color: var(--color-primary);
}

/* ===================================
   Modal Styles
   =================================== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(44, 36, 22, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    background: var(--color-white);
    border-radius: 16px;
    box-shadow: var(--shadow-strong);
    display: flex;
    flex-direction: column;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    overflow: hidden;
}

.modal.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: var(--color-cream);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10;
    padding: 0;
    box-shadow: none;
}

.modal-close:hover {
    background: var(--color-accent);
    transform: none;
}

.modal-close svg {
    width: 20px;
    height: 20px;
    color: var(--color-dark);
}

.modal-close:hover svg {
    color: var(--color-white);
}

.modal-header {
    padding: 30px 30px 20px;
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.modal-header h3 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.75rem;
    color: var(--color-dark);
    margin-bottom: 8px;
}

.modal-header p {
    color: var(--color-text-light);
    font-size: 1rem;
    margin-bottom: 0;
}

.modal-body {
    flex: 1;
    padding: 0;
    overflow: hidden;
    min-height: 500px;
}

.modal-body #my-cal-inline-introductory-call {
    height: 100%;
    min-height: 500px;
}

/* Contact Modal Specific Styles */
.contact-modal-content {
    max-width: 550px;
}

.contact-form-body {
    padding: 30px;
    overflow-y: auto;
    min-height: auto;
}

/* Contact Form Styles */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-form .form-group label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-dark);
}

.contact-form .form-group label .required {
    color: #c44;
}

.contact-form .form-group label .optional {
    color: var(--color-text-light);
    font-weight: 400;
    font-size: 0.85em;
}

.contact-form .form-group input,
.contact-form .form-group textarea {
    box-sizing: border-box !important;
    display: block;
    width: 100%;
    padding: 14px 16px;
    font-family: 'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1rem;
    color: var(--color-dark);
    background: var(--color-cream);
    border: 2px solid transparent;
    border-radius: 8px;
    transition: var(--transition);
}

.contact-form .form-group input:focus,
.contact-form .form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    background: var(--color-white);
}

.contact-form .form-group input::placeholder,
.contact-form .form-group textarea::placeholder {
    color: var(--color-text-light);
}

.contact-form .form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Turnstile Container */
.contact-form .turnstile-container {
    display: flex;
    justify-content: center;
    margin: 10px 0;
}

.contact-form .turnstile-container .cf-turnstile {
    transform-origin: center;
}

/* Phone input styling (same as other inputs) */
.contact-form .form-group input[type="tel"] {
    box-sizing: border-box !important;
    display: block;
    width: 100%;
    padding: 14px 16px;
    font-family: 'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1rem;
    color: var(--color-dark);
    background: var(--color-cream);
    border: 2px solid transparent;
    border-radius: 8px;
    transition: var(--transition);
}

.contact-form .form-group input[type="tel"]:focus {
    outline: none;
    border-color: var(--color-accent);
    background: var(--color-white);
}

.contact-form .form-actions {
    margin-top: 10px;
}

.contact-form .form-actions .btn-primary {
    width: 100%;
    padding: 16px 24px;
}

.form-status {
    text-align: center;
    font-size: 0.95rem;
    padding: 12px 16px;
    border-radius: 8px;
    margin-top: 10px;
}

.form-status:empty {
    display: none;
}

.form-status.success {
    background: rgba(154, 166, 138, 0.15);
    color: #5a7a4a;
    border: 1px solid rgba(154, 166, 138, 0.3);
}

.form-status.error {
    background: rgba(204, 68, 68, 0.1);
    color: #c44;
    border: 1px solid rgba(204, 68, 68, 0.2);
}

/* Modal Responsive */
@media (max-width: 768px) {
    .modal {
        padding: 0;
        align-items: flex-start;
    }

    .modal-content {
        max-height: 100vh;
        height: 100vh;
        max-width: 100%;
        border-radius: 0;
        overflow-y: auto;
    }
    
    .contact-modal-content {
        max-width: 100%;
    }

    .modal-header {
        padding: 15px 50px 12px 15px;
        position: sticky;
        top: 0;
        background: var(--color-white);
        z-index: 5;
    }

    .modal-header h3 {
        font-size: 1.2rem;
        padding-right: 0;
    }

    .modal-header p {
        font-size: 0.9rem;
    }

    .modal-close {
        top: 10px;
        right: 10px;
        width: 35px;
        height: 35px;
        position: fixed;
    }

    .modal-body {
        min-height: auto;
        overflow: visible;
        padding-bottom: 20px;
    }

    .modal-body #my-cal-inline-introductory-call {
        min-height: 600px;
        height: auto;
    }
    
    .contact-form-body {
        padding: 20px;
    }
    
    .contact-form .form-group input,
    .contact-form .form-group textarea {
        padding: 12px 14px;
    }
}

/* ===================================
   HERO SECTION - Front Page
   =================================== */

/* Front page specific - remove top padding since hero is full-screen */
.front-page-content {
    padding-top: 0;
}

body.home #content,
body.page-template-front-page #content {
    padding-top: 0 !important;
}

body.home .inner-wrap,
body.page-template-front-page .inner-wrap {
    padding-top: 0;
    margin-top: 0;
}

/* Prevent horizontal scrollbar from full-width elements */
body.home,
body.page-template-front-page {
    overflow-x: hidden;
}

body.home #page,
body.page-template-front-page #page {
    overflow-x: hidden;
}

/* Remove top gap/bar on front page */
body.home,
body.page-template-front-page {
    background-color: var(--color-dark);
    margin: 0;
    padding: 0;
}

body.home #page,
body.page-template-front-page #page {
    background-color: var(--color-dark);
    margin: 0;
    padding: 0;
}

body.home #content,
body.page-template-front-page #content {
    background-color: var(--color-dark);
    margin: 0;
    padding: 0;
}

body.home .inner-wrap,
body.page-template-front-page .inner-wrap {
    background-color: transparent;
}

/* Ensure header-wrap has no gaps */
body.home .header-wrap,
body.page-template-front-page .header-wrap {
    margin: 0;
    border: none;
    border-top: none;
    box-shadow: none;
}

/* Ensure no gaps from site-header or masthead */
body.home #masthead,
body.page-template-front-page #masthead,
body.home .site-header,
body.page-template-front-page .site-header {
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
}

/* Admin bar adjustment - no gap below admin bar */
body.admin-bar.home .header-wrap,
body.admin-bar.page-template-front-page .header-wrap {
    top: 32px;
    margin-top: 0;
}

body.admin-bar.home,
body.admin-bar.page-template-front-page {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

body.admin-bar.home #page,
body.admin-bar.page-template-front-page #page {
    margin-top: 0;
    padding-top: 0;
}

@media screen and (max-width: 782px) {
    body.admin-bar.home .header-wrap,
    body.admin-bar.page-template-front-page .header-wrap {
        top: 46px;
    }
}

/* Hero Section Container */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #3D3225 0%, #5C4A3A 50%, #7A6555 100%);
    overflow: hidden;
    /* Hero is now outside .inner-wrap, so it's naturally full-width */
    margin: 0;
    padding: 0;
}

/* Background image layer */
.hero-image-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: saturate(0.95) contrast(0.95);
    transform: scale(1.02);
}

/* Pattern overlay (subtle) */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.45;
    z-index: 1;
    pointer-events: none;
}

/* Dark overlay for text readability */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(44, 36, 22, 0.65) 0%, rgba(44, 36, 22, 0.45) 60%, rgba(44, 36, 22, 0.65) 100%);
    z-index: 2;
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    padding: 0 24px;
}

.hero-intro {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.25rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.hero-title {
    color: var(--color-white) !important;
    margin-bottom: 24px;
    font-weight: 400;
    letter-spacing: 3px;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
}

.hero-tagline {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
    line-height: 1.8;
    margin-bottom: 40px;
}

.hero-attribution {
    font-size: 0.95em;
    opacity: 0.85;
}

/* Hero CTA Button */
.hero-cta {
    display: inline-block;
    padding: 16px 40px;
    background: var(--color-primary);
    color: var(--color-white);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(139, 115, 85, 0.25);
}

.hero-cta:hover {
    background: var(--color-primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 115, 85, 0.35);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.scroll-indicator span {
    display: block;
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    position: relative;
}

.scroll-indicator span::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 2px;
    transform: translateX(-50%);
    animation: heroScroll 2s infinite;
}

@keyframes heroScroll {
    0% { 
        opacity: 1; 
        transform: translateX(-50%) translateY(0); 
    }
    100% { 
        opacity: 0; 
        transform: translateX(-50%) translateY(12px); 
    }
}

/* Hero Section Responsive */
@media screen and (max-width: 768px) {
    .hero-content {
        padding: 0 20px;
    }

    .hero-intro {
        font-size: 1.1rem;
    }

    .hero-tagline {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .hero-cta {
        padding: 14px 30px;
        font-size: 0.95rem;
    }

    .scroll-indicator {
        bottom: 30px;
    }
}

@media screen and (max-width: 480px) {
    .hero-content {
        padding: 0 16px;
    }

    .hero-intro {
        font-size: 1rem;
        letter-spacing: 1px;
    }

    .hero-tagline {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .hero-cta {
        padding: 14px 28px;
        font-size: 0.9rem;
    }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .scroll-indicator span::after {
        animation: none;
    }
    
    .hero-cta {
        transition: none;
    }
}

/* ===================================
   PHILOSOPHY SECTION
   =================================== */
.philosophy {
    padding: 100px 0;
    background: var(--color-white);
    /* Ensure full width even inside WordPress containers */
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    width: 100vw;
}

.philosophy .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.philosophy-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.large-text {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 400;
    line-height: 1.6;
    color: var(--color-dark);
    margin-bottom: 0;
}

.large-text em {
    color: var(--color-accent);
    font-style: italic;
}

/* Philosophy Section Responsive */
@media screen and (max-width: 768px) {
    .philosophy {
        padding: 70px 0;
    }
    
    .philosophy .container {
        padding: 0 20px;
    }
}

@media screen and (max-width: 480px) {
    .philosophy {
        padding: 50px 0;
    }
    
    .large-text {
        font-size: clamp(1.25rem, 4vw, 1.75rem);
    }
}

/* ===================================
   ABOUT SECTION
   =================================== */
.about {
    padding: 120px 0;
    background: var(--color-cream);
    /* Ensure full width even inside WordPress containers */
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    width: 100vw;
}

.about .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
}

.image-frame {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-strong);
}

.image-frame::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    border: 2px solid var(--color-secondary);
    border-radius: 8px;
    z-index: -1;
}

.image-frame img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition-slow);
}

.image-frame:hover img {
    transform: scale(1.02);
}

/* Image placeholder when no image is uploaded */
.image-placeholder {
    width: 100%;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-cream) 0%, var(--color-white) 100%);
    border: 2px dashed var(--color-secondary);
    border-radius: 8px;
}

.image-placeholder span {
    color: var(--color-text-light);
    font-size: 0.9rem;
    text-align: center;
    padding: 20px;
}

/* Section Label (reusable component) */
.section-label {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--color-accent);
    margin-bottom: 15px;
}

.about-content h2 {
    margin-bottom: 20px;
    font-size: clamp(2rem, 4vw, 3rem);
}

.about-content p {
    font-size: 1.05rem;
    color: var(--color-text);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-content p:last-child {
    margin-bottom: 0;
}

/* About Section Responsive */
@media screen and (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .about-image {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media screen and (max-width: 768px) {
    .about {
        padding: 80px 0;
    }
    
    .about .container {
        padding: 0 20px;
    }
    
    .about-grid {
        gap: 40px;
    }
    
    .image-frame::before {
        top: -12px;
        left: -12px;
        right: 12px;
        bottom: 12px;
    }
    
    .image-placeholder {
        min-height: 300px;
    }
}

@media screen and (max-width: 480px) {
    .about {
        padding: 60px 0;
    }
    
    .about-content p {
        font-size: 1rem;
    }
    
    .section-label {
        font-size: 0.8rem;
        letter-spacing: 2px;
    }
}

/* ===================================
   OFFERINGS SECTION
   =================================== */
.offerings {
    padding: 120px 0;
    background: var(--color-white);
    /* Ensure full width even inside WordPress containers */
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    width: 100vw;
}

.offerings .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.offerings .section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.offerings .section-header .section-label {
    display: block;
    margin-bottom: 15px;
}

.offerings .section-header h2 {
    margin-bottom: 15px;
}

.offerings .section-header p {
    font-size: 1.1rem;
    color: var(--color-text-light);
}

.offerings-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.offering-card {
    position: relative;
    padding: 50px 35px;
    background: var(--color-cream);
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.offering-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
}

/* Offering Icon - Image or SVG placeholder */
.offering-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.offering-icon img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Placeholder SVG icon when no image is uploaded */
.offering-icon-placeholder svg {
    width: 50px;
    height: 50px;
    color: var(--color-accent);
}

.offering-card h3 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(1.5rem, 2.5vw, 1.75rem);
    margin-bottom: 8px;
    color: var(--color-dark);
}

.offering-duration {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-accent);
    margin-bottom: 5px;
}

.offering-sessions {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: 5px;
}

.offering-price {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.offering-description {
    margin-bottom: 25px;
    color: var(--color-text-light);
    flex-grow: 1;
    line-height: 1.7;
}

/* Secondary Button for Offerings */
.offering-card .btn-secondary {
    display: inline-block;
    padding: 12px 28px;
    background: transparent;
    color: var(--color-primary);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border: 2px solid var(--color-primary);
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    margin-top: auto;
    text-decoration: none;
}

.offering-card .btn-secondary:hover {
    background: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-2px);
}

/* Offerings Section Responsive */
@media screen and (max-width: 1024px) {
    .offerings-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .offerings {
        padding: 80px 0;
    }
    
    .offerings .container {
        padding: 0 20px;
    }
    
    .offerings-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .offerings .section-header {
        margin-bottom: 40px;
    }
}

@media screen and (max-width: 480px) {
    .offerings {
        padding: 60px 0;
    }
    
    .offering-card {
        padding: 40px 25px;
    }
    
    .offering-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 20px;
    }
    
    .offering-icon-placeholder svg {
        width: 40px;
        height: 40px;
    }
}

/* Animations for offerings */
@media (prefers-reduced-motion: no-preference) {
    .offering-card {
        will-change: transform;
    }
}

@media (prefers-reduced-motion: reduce) {
    .offering-card {
        transition: none;
    }
    
    .offering-card:hover {
        transform: none;
    }
}

/* ===================================
   TESTIMONIALS SECTION
   =================================== */
.testimonials {
    padding: 120px 0;
    background: var(--color-dark);
    /* Ensure full width even inside WordPress containers */
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    width: 100vw;
}

.testimonials .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Light header variant for dark backgrounds */
.testimonials .section-header.light {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.testimonials .section-header.light .section-label {
    display: block;
    margin-bottom: 15px;
    color: var(--color-secondary);
}

.testimonials .section-header.light h2 {
    color: var(--color-white);
    margin-bottom: 15px;
}

.testimonials .section-header.light p {
    color: rgba(255, 255, 255, 0.7);
}

/* Testimonials Grid */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Testimonial Card */
.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 40px 35px;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
}

.testimonial-card blockquote {
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    font-size: inherit;
    color: inherit;
    display: flex;
    flex-direction: column;
    flex: 1;
    height: 100%;
}

/* Quote Icon */
.testimonial-card .quote-icon {
    width: 40px;
    height: 40px;
    color: var(--color-secondary);
    opacity: 0.6;
    margin-bottom: 20px;
    flex-shrink: 0;
}

/* Testimonial Content */
.testimonial-card .testimonial-content {
    margin-bottom: 25px;
    flex: 1;
}

.testimonials .testimonial-card .testimonial-content p,
.testimonials .testimonial-card blockquote .testimonial-content p,
.testimonials .testimonial-card blockquote p,
section.testimonials .testimonial-content p {
    font-size: 16px !important;
    line-height: 1.8 !important;
    color: rgba(255, 255, 255, 0.85) !important;
    margin-bottom: 1em !important;
    font-weight: 400 !important;
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    font-style: italic !important;
}

.testimonials .testimonial-card .testimonial-content p:last-child,
.testimonials .testimonial-card blockquote .testimonial-content p:last-child {
    margin-bottom: 0;
}

/* Testimonial Footer */
.testimonial-card blockquote footer {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 0;
}

.testimonial-card cite {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.15rem;
    font-style: normal;
    font-weight: 600;
    color: var(--color-white);
}

.testimonial-card .author-role {
    font-size: 0.9rem;
    color: var(--color-secondary);
    font-weight: 400;
}

/* Testimonials Section Responsive */
@media screen and (max-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .testimonials {
        padding: 80px 0;
    }
    
    .testimonials .container {
        padding: 0 20px;
    }
    
    .testimonials-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 25px;
        width: 100%;
    }
    
    .testimonials .section-header.light {
        margin-bottom: 40px;
    }
    
    .testimonial-card {
        padding: 35px 30px;
        height: auto;
        min-height: auto;
        width: 100%;
        box-sizing: border-box;
        position: relative;
    }
}

@media screen and (max-width: 600px) {
    .testimonials-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px;
    }
    
    .testimonial-card {
        flex-shrink: 0;
        width: 100% !important;
        max-width: 100%;
        height: auto !important;
        min-height: 0 !important;
    }
    
    .testimonial-card blockquote {
        height: auto;
    }
}

@media screen and (max-width: 480px) {
    .testimonials {
        padding: 60px 0;
    }
    
    .testimonial-card {
        padding: 30px 25px;
    }
    
    .testimonial-card .quote-icon {
        width: 32px;
        height: 32px;
        margin-bottom: 15px;
    }
    
    .testimonial-card .testimonial-content p {
        font-size: 0.95rem;
    }
    
    .testimonial-card cite {
        font-size: 1.05rem;
    }
}

/* Animations for testimonials */
@media (prefers-reduced-motion: no-preference) {
    .testimonial-card {
        will-change: transform;
    }
}

@media (prefers-reduced-motion: reduce) {
    .testimonial-card {
        transition: none;
    }
    
    .testimonial-card:hover {
        transform: none;
    }
}

/* ===================================
   CTA SECTION
   =================================== */
.cta {
    padding: 120px 0;
    background: var(--color-cream);
    /* Ensure full width even inside WordPress containers */
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    width: 100vw;
}

.cta .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.cta-content h2 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--color-dark);
    margin-bottom: 25px;
    line-height: 1.3;
}

.cta-content .cta-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text);
    margin-bottom: 35px;
}

/* Large CTA Button */
.cta-content .btn-primary.large {
    display: inline-block;
    padding: 18px 45px;
    background: var(--color-primary);
    color: var(--color-white);
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(139, 115, 85, 0.3);
}

.cta-content .btn-primary.large:hover {
    background: var(--color-primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(139, 115, 85, 0.4);
}

/* CTA Note */
.cta-note {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-top: 20px;
    margin-bottom: 0;
}

/* CTA Section Responsive */
@media screen and (max-width: 768px) {
    .cta {
        padding: 80px 0;
    }
    
    .cta .container {
        padding: 0 20px;
    }
    
    .cta-content .cta-description {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    .cta-content .btn-primary.large {
        padding: 16px 35px;
        font-size: 1rem;
    }
}

@media screen and (max-width: 480px) {
    .cta {
        padding: 60px 0;
    }
    
    .cta-content .cta-description {
        font-size: 0.95rem;
        line-height: 1.7;
    }
    
    .cta-content .btn-primary.large {
        padding: 14px 30px;
        font-size: 0.95rem;
        width: 100%;
        max-width: 300px;
    }
    
    .cta-note {
        font-size: 0.85rem;
    }
}

/* Animations for CTA */
@media (prefers-reduced-motion: reduce) {
    .cta-content .btn-primary.large {
        transition: none;
    }
    
    .cta-content .btn-primary.large:hover {
        transform: none;
    }
}
