/*
	Theme Name:   Astra Child - Francesca Mascia
	Theme URI:    http://wpastra.com/
	Description:  Astra Child Theme for Francesca Mascia Osteopata. High-converting, SEO optimized, Ultra-Premium Clinical Design.
	Author:       AntiGravity
	Author URI:   http://wpastra.com/
	Template:     astra
	Version:      2.1.0
	License:      GNU General Public License v2 or later
	Text Domain:  astra-child-francesca-mascia
*/

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Manrope:wght@300;400;500;600;700&display=swap');

/* ==========================================================================
	GLOBAL DESIGN SYSTEM
========================================================================== */
:root {
    /* Color Palette */
    --fm-primary: #3A8F73;
    --fm-primary-hover: #2F755F;
    --fm-bg: #F6FAF8;
    --fm-accent: #6FAF97;
    --fm-text: #3A8F73;
    --fm-text-muted: #3A8F73;
    --fm-border: rgba(58, 143, 115, 0.15);
    --fm-surface: #ffffff;
    --fm-link: #0066cc;
    --fm-link-hover: #004499;
	
	
	--fm-hero-button-text-color: #3A8F73;
	
    
    /* Spacing System (8px scale) */
    --space-1: 8px;
    --space-2: 16px;
    --space-3: 24px;
    --space-4: 32px;
    --space-5: 40px;
    --space-6: 48px;
    --space-8: 64px;
    --space-10: 80px;
    --space-12: 96px;
    
    /* Border Radii */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 9999px;
    
    /* Shadows */
    --shadow-soft: 0 4px 20px rgba(36, 59, 53, 0.05);
    --shadow-hover: 0 12px 30px rgba(36, 59, 53, 0.1);
    
    /* Fluid typography scales */
    --fm-h1: clamp(2.5rem, 6vw, 4rem);
    --fm-h2: clamp(2rem, 4vw, 3rem);
    --fm-h3: clamp(1.5rem, 3vw, 2rem);
    --fm-p: clamp(1rem, 1.5vw, 1.15rem);
	
	/* Additional brand and utility */
	--fm-lightblue: #0077b5; /* LinkedIn Brand Blue for profile cards */
	
}

/* ==========================================================================
	BASE STYLES
========================================================================== */
body {
    color: var(--fm-text);
    font-family: 'Manrope', sans-serif;
    background-color: var(--fm-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--fm-text);
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

h1 { font-size: var(--fm-h1); line-height: 1.15; margin-bottom: var(--space-4); letter-spacing: -0.02em; }
h2 { font-size: var(--fm-h2); line-height: 1.2; margin-bottom: var(--space-3); letter-spacing: -0.01em; }
h3 { font-size: var(--fm-h3); line-height: 1.3; margin-bottom: var(--space-2); }
p { font-size: var(--fm-p); line-height: 1.7; font-weight: 400; color: var(--fm-text-muted); margin-bottom: var(--space-3); }

/* Global Link Styling */
a {
    color: var(--fm-link);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover, a:focus {
    color: var(--fm-link-hover);
    text-decoration: none;
}

/* Inline content links (paragraphs) */
.fm-main-content p a {
    color: var(--fm-link);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.fm-main-content p a:hover {
    color: var(--fm-link-hover);
}

/* ==========================================================================
	LAYOUT COMPONENTS
========================================================================== */
.fm-main-content {
    max-width: 900px;
    margin: 0 auto;
    padding: var(--space-12) var(--space-3) var(--space-8);
}




/* ==========================================================================
	BUTTONS
	Global button system.
	Defines the default appearance and interaction
	used throughout the website.
========================================================================== */


/* --------------------------------------------------------------------------
	Base Button
	Shared foundation for all buttons.
-------------------------------------------------------------------------- */

.fm-btn {
	
    /* Centre text and icons */
    display: inline-flex;
    align-items: center;
    justify-content: center;
	
    /* Explicit button size.
		Height controls the vertical size.
	Horizontal padding controls the width. */
	height: 52px;
	padding-inline: 32px;
	
    box-sizing: border-box;
	
    /* Transparent by default.
	Specific button variants override this. */
    background-color: transparent;
	
    /* Outline uses the site's primary brand colour */
    border: 1px solid var(--fm-primary);
	
    /* Default text colour */
    color: var(--fm-text);
	
    /* Fully rounded pill shape */
    border-radius: var(--radius-pill);
	
    /* Typography */
    font-weight: 500;
    font-size: 1rem;
	
    /* Keep text vertically centred */
    line-height: 1;
	
    /* Slight letter spacing improves readability */
    letter-spacing: 0.02em;
	
    /* Remove browser underline */
    text-decoration: none !important;
	
    /* Smooth transition between normal,
	hover and active states */
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* --------------------------------------------------------------------------
	Base Button Hover State
-------------------------------------------------------------------------- */

.fm-btn:hover {
	
    /* Slight green tint provides visual feedback */
    background-color: rgba(58, 143, 115, 0.05);
	
    /* Darker green improves contrast */
    color: var(--fm-primary-hover);
	
    /* Lift slightly to indicate interactivity.
	Larger negative values create more lift. */
    transform: translateY(-1px);
}


/* --------------------------------------------------------------------------
	Primary Button
	Main call-to-action used throughout the site.
	
	Builds on .fm-btn by overriding only the appearance
	required for the primary button.
-------------------------------------------------------------------------- */

.fm-btn-primary,
.fm-btn-primary:link,
.fm-btn-primary:visited {
	
    /* Solid brand colour increases visual prominence */
    background-color: var(--fm-primary);
	
    /* Match the border to the background for a seamless appearance */
    border-color: var(--fm-primary);
	
    /* White text provides maximum contrast */
    color: var(--fm-surface);
	
    /* Soft shadow separates the button from the page
	and gives it subtle depth */
    box-shadow: 0 4px 12px rgba(58, 143, 115, 0.2);
}


/* --------------------------------------------------------------------------
	Primary Button Hover State
-------------------------------------------------------------------------- */

.fm-btn-primary:hover,
.fm-btn-primary:focus {
	
    /* Slightly darker brand colour communicates hover */
    background-color: var(--fm-primary-hover);
	
    border-color: var(--fm-primary-hover);
	
    /* Keep text white for maximum readability */
    color: var(--fm-surface) !important;
	
    /* Lift the button slightly.
	Larger negative values create a stronger floating effect. */
    transform: translateY(-2px);
	
    /* Larger shadow reinforces the lifted appearance */
    box-shadow: 0 8px 24px rgba(58, 143, 115, 0.25);
}


/* --------------------------------------------------------------------------
	Primary Button Active (Pressed) State
-------------------------------------------------------------------------- */

.fm-btn-primary:active {
	
    /* Small downward movement + slight scale reduction
	creates a tactile "button press" feeling. */
    transform: translateY(1px) scale(.985);
	
    /* Reduce the shadow so the button appears pressed in */
    box-shadow: 0 3px 8px rgba(58, 143, 115, 0.18);
}

/* --------------------------------------------------------------------------
	Astra Theme Buttons
	Apply the site's button design system to
	native Astra buttons and form submissions.
-------------------------------------------------------------------------- */

.button,
.ast-button,
input[type="submit"] {
	
    background: var(--fm-primary);
	
    border: none;
	
    color: var(--fm-surface);
	
    /* Match the site's default button sizing */
    padding: 16px 32px;
	
    border-radius: var(--radius-pill);
	
    font-weight: 500;
	
    /* Smooth hover animation */
    transition: all 0.3s ease;
	
    /* Match the site's primary button shadow */
    box-shadow: 0 4px 12px rgba(58, 143, 115, 0.2);
	
    text-decoration: none !important;
}


/* --------------------------------------------------------------------------
	Astra Theme Button Hover State
-------------------------------------------------------------------------- */

.button:hover,
.ast-button:hover,
input[type="submit"]:hover {
	
    /* Darker green provides hover feedback */
    background: var(--fm-primary-hover);
	
    /* Lift slightly to indicate interactivity */
    transform: translateY(-2px);
	
    /* Larger shadow reinforces the lifted effect */
    box-shadow: 0 8px 24px rgba(58, 143, 115, 0.25);
}


/* ==========================================================================
	END BUTTONS
========================================================================== */








/* ==========================================================================
	CARDS & SECTIONS
========================================================================== */
.fm-card {
    background: var(--fm-surface);
    border-radius: var(--radius-lg);
    padding: var(--space-6) var(--space-5);
    box-shadow: var(--shadow-soft);
    transition: all 0.4s ease;
    border: 1px solid rgba(36, 59, 53, 0.03);
    position: relative;
    overflow: hidden;
}

.fm-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

/* Hero Section */
.fm-hero {
    background: var(--fm-primary);
    color: var(--fm-surface);
    padding: var(--space-12) var(--space-3) var(--space-10);
    text-align: center;
    border-radius: 0 0 var(--space-8) var(--space-8);
    position: relative;
    overflow: hidden;
}

.fm-hero h1 {
    color: var(--fm-surface);
}

.fm-hero p {
    max-width: 700px;
    margin: 0 auto var(--space-6) auto;
    color: rgba(255,255,255,0.9);
}

.fm-hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin-top: var(--space-6);
    justify-content: flex-start;
}

.fm-hero-centered .fm-hero-buttons {
    justify-content: center;
}
/* Hero Section */
.fm-hero {
    background: var(--fm-primary);
    color: var(--fm-surface);
    padding: var(--space-12) var(--space-3) var(--space-10);
    text-align: center;
    border-radius: 0 0 var(--space-8) var(--space-8);
    position: relative;
    overflow: hidden;
}

.fm-hero h1 {
    color: var(--fm-surface);
}

.fm-hero p {
    max-width: 700px;
    margin: 0 auto var(--space-6) auto;
    color: rgba(255,255,255,0.9);
}

.fm-hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin-top: var(--space-6);
    justify-content: flex-start;
}

.fm-hero-centered .fm-hero-buttons {
    justify-content: center;
}

/* ==========================================================================
	HERO BUTTONS
	Hero-specific button styling.
	Base sizing, typography and interactions are inherited
	from the global button system.
========================================================================== */


/* --------------------------------------------------------------------------
	Base Hero Button
	Applied to all buttons inside the hero button group.
-------------------------------------------------------------------------- */


/* "Find every .fm-btn that is inside an element with class .fm-hero." */


.fm-hero-buttons .fm-btn {
	
    /* Centre text and icons */
    display: inline-flex;
    align-items: center;
    justify-content: center;
	
    /* Internal spacing
		Format: vertical horizontal
		↑ First value  = taller button
	↑ Second value = wider button */
    padding: 20px 20px;
	
    /* Fully rounded pill shape */
    border-radius: var(--radius-pill);
	
    /* Slightly heavier text improves readability
	against the hero background */
    font-weight: 600;
	
    /* Smooth transition between normal, hover and active states.
		↑ Longer duration = softer animation
	↓ Shorter duration = snappier interaction */
    transition: all .5s ease;
}


/* --------------------------------------------------------------------------
	Primary CTA
	Main call-to-action with maximum emphasis.
-------------------------------------------------------------------------- */

.fm-hero-buttons .fm-btn-primary {
	
    /* White background immediately draws attention */
    background: #fff;
	
    /* Brand colour reinforces the site's identity */
    color: var(--fm-hero-button-text-color);
	
    /* White border prevents visible edge changes */
    border: 2px solid #fff;
	
    /* Slightly stronger shadow makes the primary CTA
	appear closer to the user */
    box-shadow: 0 10px 24px rgba(0,0,0,.12);
}

.fm-hero-buttons .fm-btn-primary:hover {
	
    /* Slightly darker white provides hover feedback
	without changing the overall appearance */
    background: #fafafa;
	
    /* Darker green improves readability */
    color: var(--fm-primary-hover);
	
    border-color: #fff;
	
    /* Lift the button slightly.
	Larger negative values create a stronger floating effect. */
    transform: translateY(-2px);
	
    /* Larger shadow reinforces the lifted effect */
    box-shadow: 0 14px 30px rgba(0,0,0,.18);
}


/* --------------------------------------------------------------------------
	Secondary CTA
	Supporting action that remains visually subordinate
	to the primary CTA.
-------------------------------------------------------------------------- */

.fm-hero-buttons .fm-btn:not(.fm-btn-primary) {
	
    /* Transparent background lets the hero colour show through */
    background: transparent;
	
    /* White text provides maximum contrast */
    color: #fff;
	
    /* Semi-transparent outline.
		rgba(red, green, blue, opacity)
		
		Opacity:
		0.0 = invisible
		0.5 = semi-transparent
	1.0 = fully opaque */
    border: 2px solid rgba(255,255,255,.9);
}

.fm-hero-buttons .fm-btn:not(.fm-btn-primary):hover {
	
    /* Add a subtle translucent white overlay.
	Increase the opacity for a stronger hover effect. */
    background: rgba(255,255,255,.12);
	
    /* Brighten the outline */
    border-color: #fff;
	
    color: #fff;
	
    /* Lift the button slightly.
	Larger negative values create a stronger floating effect. */
    transform: translateY(-2px);
}


/* ==========================================================================
	END HERO BUTTONS
========================================================================== */



/* Primary */

/* Services Grid */
.fm-services {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    justify-content: center;
    padding: var(--space-10) var(--space-3);
}

.fm-service-card {
    background: var(--fm-surface);
    border-radius: var(--radius-lg);
    padding: var(--space-6) var(--space-5);
    width: 100%;
    max-width: 360px;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s ease;
    border: 1px solid rgba(36, 59, 53, 0.03);
    display: flex;
    flex-direction: column;
}

.fm-service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.fm-service-card h3 {
    color: var(--fm-primary);
    font-size: 1.5rem;
}

.fm-service-card .fm-read-more {
    margin-top: auto;
    color: var(--fm-accent);
    font-weight: 500;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.fm-service-card .fm-read-more:hover {
    color: var(--fm-primary);
}







/* ==========================================================================
   TRUST BANNER
   Highlights Francesca's qualifications and treatment philosophy.
   Displayed as a rounded container holding three trust cards.
   ========================================================================== */

.fm-trust-banner {

    /* Separate slightly from the hero */
    margin-top: var(--space-2);

    /* Arrange cards horizontally */
    display: flex;

    justify-content: center;
    flex-wrap: wrap;

    /* Space between cards */
    gap: var(--space-5);

    /* Internal spacing around the cards */
    padding: var(--space-10) var(--space-3);

    /* Soft green background */
    background: var(--fm-bg);

    /* Rounded container */
    border-radius: var(--space-8);

    text-align: center;
}


/* --------------------------------------------------------------------------
   Trust Card
-------------------------------------------------------------------------- */

.fm-trust-badge {

    background: var(--fm-surface);

    border-radius: var(--radius-lg);

    padding: var(--space-6) var(--space-5);

    /* Prevent cards becoming excessively wide */
    max-width: 320px;

    /* Allow each card to grow evenly */
    flex: 1;

    box-shadow: var(--shadow-soft);

    border: 1px solid rgba(36,59,53,.03);

    transition: all .4s ease;
}

.fm-trust-badge:hover {

    transform: translateY(-4px);

    box-shadow: var(--shadow-hover);
}


/* --------------------------------------------------------------------------
   Trust Card Heading
-------------------------------------------------------------------------- */

.fm-trust-badge h4 {

    color: var(--fm-primary);

    font-family: 'Manrope', sans-serif;

    text-transform: uppercase;

    letter-spacing: .05em;

    font-size: .9rem;

    margin-bottom: var(--space-2);
}


/* Calendar Container */
.fm-calendar-container {
    background: var(--fm-surface);
    border-radius: var(--radius-lg);
    padding: var(--space-8) var(--space-5);
    max-width: 650px;
    margin: var(--space-10) auto;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(36, 59, 53, 0.03);
}

/* Calendar Header */
.fm-calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-5);
}
.fm-calendar-header h3 {
    margin: 0;
    font-size: 1.5rem;
    color: var(--fm-primary);
    font-family: 'Playfair Display', serif;
}
.fm-cal-btn {
    background: transparent;
    border: 1px solid var(--fm-border);
    color: var(--fm-primary);
    border-radius: var(--radius-sm);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}
.fm-cal-btn:hover {
    background: var(--fm-primary);
    color: var(--fm-surface);
}

/* Calendar Grid */
.fm-calendar-weekdays,
.fm-calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: var(--space-1);
    text-align: center;
}

.fm-calendar-weekdays {
    margin-bottom: var(--space-2);
}

.fm-calendar-weekdays div {
    font-weight: 600;
    color: var(--fm-text-muted);
    font-size: 0.85rem;
    text-transform: uppercase;
}

.fm-day {
    padding: var(--space-2) 0;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.fm-day:hover:not(.fm-day-disabled) {
    background: rgba(58, 143, 115, 0.1);
    color: var(--fm-primary);
    transform: translateY(-2px);
}

.fm-day-disabled {
    opacity: 0.3;
    pointer-events: none;
}

.fm-day-selected {
    background: var(--fm-primary) !important;
    color: var(--fm-surface) !important;
    box-shadow: 0 4px 12px rgba(58, 143, 115, 0.2);
}

/* Time Slots */
.fm-slots-container {
    margin-top: var(--space-6);
    padding-top: var(--space-6);
    border-top: 1px solid rgba(36, 59, 53, 0.05);
}

.fm-slots-container h4 {
    text-align: center;
    margin-bottom: var(--space-4);
    font-size: 1.1rem;
    color: var(--fm-text);
}

.fm-slots-list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    justify-content: center;
}

.fm-slot-btn {
    background: transparent;
    border: 1px solid var(--fm-primary);
    color: var(--fm-primary);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-pill);
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.fm-slot-btn:hover {
    background: rgba(58, 143, 115, 0.05);
    transform: translateY(-2px);
}

.fm-slot-btn-selected {
    background: var(--fm-primary) !important;
    color: var(--fm-surface) !important;
    box-shadow: 0 4px 12px rgba(58, 143, 115, 0.2);
}

/* Booking Form Component */
.fm-booking-form-container {
    margin-top: var(--space-6);
    padding-top: var(--space-6);
    border-top: 1px solid rgba(36, 59, 53, 0.05);
}

.fm-booking-form-container h4 {
    text-align: center;
    margin-bottom: var(--space-4);
    color: var(--fm-text);
}

.fm-booking-form-container input,
.fm-booking-form-container select {
    width: 100%;
    height: auto;
    padding: 14px 20px;
    margin-bottom: var(--space-3);
    border: 1px solid rgba(36, 59, 53, 0.15);
    border-radius: var(--radius-sm);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: var(--fm-text);
    background: #fafafa;
    transition: all 0.3s ease;
}

.fm-booking-form-container input:focus,
.fm-booking-form-container select:focus {
    outline: none;
    border-color: var(--fm-primary);
    box-shadow: 0 0 0 3px rgba(58, 143, 115, 0.1);
    background: var(--fm-surface);
}

/* WhatsApp Layout Group */
.fm-whatsapp-group {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 15px;
}

.fm-whatsapp-group input {
    margin-bottom: 0 !important;
    flex: 1;
}

.fm-whatsapp-group button {
    padding: 10px 15px;
    font-size: 0.85rem;
    white-space: nowrap;
    line-height: 1.2;
}

/* Mobile Breakpoint for WhatsApp Layout */
@media (max-width: 768px) {
    .fm-whatsapp-group {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
	}
    
    .fm-whatsapp-group input {
        width: 100%;
	}
    
    .fm-whatsapp-group button {
        width: 100%;
        padding: 14px 20px;
        font-size: 0.95rem;
        white-space: normal;
	}
}

.fm-booking-success {
    text-align: center;
    padding: var(--space-8) 0;
}

.fm-booking-success .success-icon {
    font-size: 3rem;
    color: var(--fm-primary);
    margin-bottom: var(--space-3);
}

/* ==========================================================================
	GLOBAL ASTRA OVERRIDES
========================================================================== */
.site-title {
    color: var(--fm-primary) !important;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.site-header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(36, 59, 53, 0.05);
}

/* Fix Duplicate Footers: Hide all default Astra footers */
.site-footer,
#colophon,
#ast-desktop-footer,
#ast-mobile-footer {
    display: none !important;
}

/* ==========================================================================
	FOOTER COMPONENT
========================================================================== */
.fm-footer {
    background-color: var(--fm-surface);
    padding: var(--space-12) var(--space-3) var(--space-6);
    font-family: 'Inter', sans-serif;
    color: var(--fm-text-muted);
    text-align: center;
}

.fm-footer-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-8);
    border-top: 1px solid rgba(36, 59, 53, 0.08);
    padding-top: var(--space-8);
}

.fm-footer-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
    width: 100%;
}

.fm-footer-brand {
    font-family: 'Playfair Display', serif;
    color: var(--fm-primary);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: var(--space-1);
    text-decoration: none !important;
    display: block;
}

.fm-footer-subtitle {
    font-family: 'Inter', sans-serif;
    color: var(--fm-text);
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: var(--space-2);
}

.fm-footer-desc {
    font-size: 0.95rem;
    max-width: 500px;
    margin: 0 auto;
}

.fm-footer-title {
    color: var(--fm-text);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: var(--space-2);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Base Nav Styling */
.fm-footer-nav, .fm-footer-nav-container ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: var(--space-4);
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Ensure WP Menu renders inline */
.fm-footer-nav-container ul {
    gap: var(--space-4);
}

.fm-footer-link, .fm-footer-text {
    color: var(--fm-text-muted);
    text-decoration: none !important;
    transition: color 0.3s ease;
    font-size: 0.95rem;
    font-weight: 400;
}

.fm-footer-link:hover {
    color: var(--fm-primary);
}

.fm-footer-bottom {
    max-width: 1000px;
    margin: var(--space-10) auto 0;
    padding-top: var(--space-6);
    border-top: 1px solid rgba(36, 59, 53, 0.08);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.85rem;
}

/* Mobile specific stacking for links if they wrap too much */
@media (max-width: 600px) {
    .fm-footer-nav, .fm-footer-nav-container ul {
        flex-direction: column;
        gap: var(--space-3);
	}
}

/* ==========================================================================
	SOCIAL CARDS
========================================================================== */

.fm-social-cards {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
}

.fm-social-card {
	
    flex: 1;
    min-width: 280px;
	
    background: var(--fm-surface);
	
    padding: var(--space-3);
	
    border-left: 5px solid var(--fm-primary);
	
    border-radius: var(--radius-md);
}

.fm-social-card h3 {
	
    margin: 0 0 8px;
	
    color: var(--fm-primary);
	
    font-size: 1.2rem;
}

.fm-social-card p {
	
    margin-bottom: 20px;
	
    color: #555;
	
    font-size: .95rem;
}



/* Floating Mobile CTA */
.fm-floating-cta {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    background: linear-gradient(135deg, var(--fm-primary), var(--fm-accent));
    color: white !important;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none !important;
    box-shadow: 0 10px 25px rgba(58, 143, 115, 0.3);
    transition: all 0.3s ease;
    display: none; /* hidden on desktop */
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}

.fm-floating-cta:hover {
    transform: translateX(-50%) translateY(-2px);
    box-shadow: 0 15px 35px rgba(58, 143, 115, 0.4);
    color: white !important;
}

@media (max-width: 768px) {
    .fm-floating-cta {
        display: inline-flex;
	}
}

/* Desktop Social Icons in Header Menu */
.fm-desktop-social-icon a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 0 10px !important;
    color: var(--fm-primary) !important;
    transition: color 0.2s ease;
}

.fm-desktop-social-icon a:hover {
    color: var(--fm-accent) !important;
}

@media (max-width: 921px) {
    .fm-desktop-social-icon {
        display: none !important;
	}
}

/* Mobile Floating Language Switcher + Socials */
.fm-mobile-floating-lang {
    position: absolute;
    top: 26px; /* vertically aligned with hamburger lines */
    right: 75px;
    z-index: 99999;
    display: flex;
    align-items: center;
    gap: 12px;
}

.fm-mobile-floating-lang a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--fm-primary) !important;
    transition: color 0.2s ease;
    text-decoration: none !important;
}

.fm-mobile-floating-lang a:hover {
    color: var(--fm-accent) !important;
}

.fm-mobile-floating-lang svg {
    display: block;
}

/* Hide mobile header social links on very narrow screens to prevent clashing with logo */
@media (max-width: 480px) {
    .fm-mobile-floating-lang .fm-social-link {
        display: none !important;
	}
}

/* Footer Socials styling */
.fm-footer-socials {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.fm-footer-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(58, 143, 115, 0.08);
    color: var(--fm-primary);
    transition: all 0.3s ease;
    text-decoration: none !important;
}

.fm-footer-socials a:hover {
    background: var(--fm-primary);
    color: white !important;
    transform: translateY(-2px);
}

/* ==========================================================================
   COOKIE CONSENT BANNER
   ========================================================================== */
.fm-cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 999999;
    background-color: var(--fm-surface);
    box-shadow: 0 -4px 25px rgba(36, 59, 53, 0.15);
    padding: var(--space-4);
    box-sizing: border-box;
    border-top: 1px solid var(--fm-border);
}

.fm-cookie-banner[hidden] {
    display: none !important;
}

/* Optional: Max-width for larger screens so it doesn't stretch too far */
.fm-cookie-banner__inner {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

/* ==========================================================================
   COOKIE CONSENT BANNER --- end
   ========================================================================== */