/*
Theme Name: Magavu Premium
Theme URI: https://magavu.in
Author: Cinoey
Author URI: https://cinoey.com
Description: A premium editorial wellness theme for Magavu Pregnancy Care Education Centre & Lactation Consultation Clinic. Elegant, feminine and calm — built for Elementor compatibility and full WordPress CMS integration.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: magavu-premium
Tags: custom-logo, custom-menu, featured-images, footer-widgets, full-width-template, theme-options, blog, e-commerce, portfolio
*/

/* =============================================
   GOOGLE FONTS IMPORT
============================================= */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=DM+Sans:ital,wght@0,300;0,400;0,500;1,300&display=swap');

/* =============================================
   DESIGN TOKENS / CSS VARIABLES
============================================= */
:root {
    /* Brand Palette */
    --clr-white:        #FFFFFF;
    --clr-off-white:    #FAF8F5;       /* Warm off-white background */
    --clr-beige:        #F2EBE0;       /* Warm beige sections */
    --clr-blush:        #F0D9D0;       /* Soft blush pink */
    --clr-blush-light:  #FBF3F0;      /* Very pale blush */
    --clr-sage:         #A8B89A;       /* Sage green accent */
    --clr-sage-dark:    #7A9470;       /* Deeper sage */
    --clr-brown:        #6B4C3B;       /* Warm earthy brown text */
    --clr-brown-dark:   #3E2B20;       /* Deep brown headings */
    --clr-brown-light:  #C4A68E;       /* Muted tan */
    --clr-text:         #4A3728;       /* Primary body text */
    --clr-text-muted:   #9D8576;       /* Muted/secondary text */
    --clr-border:       rgba(107, 76, 59, 0.12);

    /* Typography */
    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-body:    'DM Sans', 'Helvetica Neue', sans-serif;

    /* Sizing */
    --max-width:        1280px;
    --container-pad:    clamp(24px, 5vw, 80px);
    --section-pad:      clamp(72px, 10vw, 140px);

    /* Border Radius */
    --radius-sm:   6px;
    --radius-md:   16px;
    --radius-lg:   32px;
    --radius-xl:   64px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-xs: 0 1px 4px rgba(62, 43, 32, 0.06);
    --shadow-sm: 0 4px 16px rgba(62, 43, 32, 0.08);
    --shadow-md: 0 12px 40px rgba(62, 43, 32, 0.1);
    --shadow-lg: 0 24px 64px rgba(62, 43, 32, 0.12);

    /* Transitions */
    --ease-fast:   0.2s ease;
    --ease-smooth: 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    --ease-bounce: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* =============================================
   RESET & BASE
============================================= */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--clr-text);
    background-color: var(--clr-off-white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* =============================================
   TYPOGRAPHY
============================================= */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.15;
    color: var(--clr-brown-dark);
    letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.8rem, 6vw, 5.5rem); font-weight: 300; }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 400; }
h3 { font-size: clamp(1.5rem, 2.5vw, 2.5rem); font-weight: 400; }
h4 { font-size: clamp(1.2rem, 2vw, 1.8rem); }
h5 { font-size: 1.2rem; }
h6 { font-size: 1rem; }

p { margin-bottom: 1.4em; color: var(--clr-text); font-size: 1.05rem; }
p:last-child { margin-bottom: 0; }

a {
    color: var(--clr-brown);
    text-decoration: none;
    transition: color var(--ease-fast), opacity var(--ease-fast);
}
a:hover { color: var(--clr-sage-dark); }

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

ul, ol { padding-left: 1.5em; }
li { margin-bottom: 0.5em; }

blockquote {
    border-left: 3px solid var(--clr-blush);
    padding: 24px 32px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-style: italic;
    color: var(--clr-brown);
    background-color: var(--clr-blush-light);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin: 32px 0;
}

strong { font-weight: 500; color: var(--clr-brown-dark); }
em { font-style: italic; }

/* =============================================
   LAYOUT UTILITIES
============================================= */
.container {
    max-width: var(--max-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--container-pad);
    padding-right: var(--container-pad);
}

.section {
    padding-top: var(--section-pad);
    padding-bottom: var(--section-pad);
}

.section-sm { padding-top: calc(var(--section-pad) * 0.6); padding-bottom: calc(var(--section-pad) * 0.6); }

.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }

/* =============================================
   SECTION BACKGROUND VARIANTS
============================================= */
.bg-white    { background-color: var(--clr-white); }
.bg-off-white { background-color: var(--clr-off-white); }
.bg-beige    { background-color: var(--clr-beige); }
.bg-blush    { background-color: var(--clr-blush-light); }
.bg-sage     { background-color: var(--clr-sage); }
.bg-brown    { background-color: var(--clr-brown-dark); color: white; }

/* =============================================
   TYPOGRAPHY DECORATION
============================================= */
.eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--clr-sage-dark);
    margin-bottom: 16px;
}

.eyebrow::before,
.eyebrow::after {
    content: '—';
    margin: 0 8px;
    color: var(--clr-blush);
}

.section-heading {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-family: var(--font-heading);
    font-weight: 300;
    color: var(--clr-brown-dark);
    line-height: 1.15;
    margin-bottom: 20px;
}

.section-heading em {
    font-style: italic;
    color: var(--clr-brown);
}

.lead {
    font-size: 1.15rem;
    color: var(--clr-text-muted);
    line-height: 1.8;
    max-width: 600px;
}

.lead-center { margin-left: auto; margin-right: auto; }

/* =============================================
   BUTTONS
============================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 16px 36px;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: all var(--ease-smooth);
    text-decoration: none;
    line-height: 1;
}

.btn-primary {
    background-color: var(--clr-brown-dark);
    color: var(--clr-white);
    box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
    background-color: var(--clr-brown);
    color: var(--clr-white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    color: var(--clr-brown-dark);
    border: 1.5px solid var(--clr-brown-dark);
}
.btn-outline:hover {
    background-color: var(--clr-brown-dark);
    color: white;
    transform: translateY(-3px);
}

.btn-sage {
    background-color: var(--clr-sage);
    color: var(--clr-white);
}
.btn-sage:hover {
    background-color: var(--clr-sage-dark);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-white {
    background-color: var(--clr-white);
    color: var(--clr-brown-dark);
    box-shadow: var(--shadow-sm);
}
.btn-white:hover {
    background-color: var(--clr-blush-light);
    transform: translateY(-3px);
}

.btn-ghost {
    background: none;
    color: var(--clr-brown);
    padding: 0;
    border-radius: 0;
    letter-spacing: 0.04em;
    border-bottom: 1px solid var(--clr-blush);
    padding-bottom: 4px;
}
.btn-ghost:hover {
    border-color: var(--clr-sage);
    color: var(--clr-sage-dark);
}

/* =============================================
   CARDS
============================================= */
.card {
    background-color: var(--clr-white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-xs);
    transition: all var(--ease-smooth);
    border: 1px solid var(--clr-border);
}
.card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-6px);
}

.card-image {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
}

/* =============================================
   GRID SYSTEM
============================================= */
.grid {
    display: grid;
    gap: 32px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2-1 { grid-template-columns: 2fr 1fr; }
.grid-1-2 { grid-template-columns: 1fr 2fr; }

@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .grid-2, .grid-3, .grid-4, .grid-2-1, .grid-1-2 { grid-template-columns: 1fr; }
    .grid { gap: 24px; }
}

/* =============================================
   HEADER & NAVIGATION
============================================= */
#masthead {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(250, 248, 245, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--clr-border);
    transition: box-shadow var(--ease-fast);
}
#masthead.scrolled {
    box-shadow: var(--shadow-sm);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 88px;
    gap: 32px;
}

/* Logo */
.site-branding {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.site-branding .custom-logo {
    height: 52px;
    width: auto;
    border-radius: 0;
}
.site-branding .site-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: var(--clr-brown-dark);
    text-decoration: none;
}
.site-branding .site-tagline {
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--clr-text-muted);
    margin-top: 2px;
}

/* Navigation */
#primary-menu-container { display: flex; align-items: center; }

.primary-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
    gap: 4px;
}

.primary-menu li { position: relative; }

.primary-menu > li > a {
    display: block;
    padding: 8px 16px;
    font-size: 0.88rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: var(--clr-text);
    transition: color var(--ease-fast);
    white-space: nowrap;
}
.primary-menu > li > a:hover,
.primary-menu > li.current-menu-item > a {
    color: var(--clr-sage-dark);
}

/* Dropdown */
.primary-menu .sub-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background-color: var(--clr-white);
    min-width: 240px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--clr-border);
    padding: 12px 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all var(--ease-fast);
    z-index: 200;
}
.primary-menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.primary-menu .sub-menu a {
    display: block;
    padding: 10px 20px;
    font-size: 0.88rem;
    color: var(--clr-text);
    transition: background-color var(--ease-fast), color var(--ease-fast);
}
.primary-menu .sub-menu a:hover {
    background-color: var(--clr-blush-light);
    color: var(--clr-brown-dark);
}

/* Nav CTA Button */
.nav-cta {
    flex-shrink: 0;
}

/* Mobile Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: 1.5px solid var(--clr-brown-dark);
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    cursor: pointer;
    color: var(--clr-brown-dark);
    font-size: 1.2rem;
    line-height: 1;
}

@media (max-width: 1024px) {
    .primary-menu { display: none; }
    .menu-toggle { display: flex; align-items: center; }

    .primary-menu.is-active {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 88px;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: var(--clr-off-white);
        padding: 32px var(--container-pad);
        gap: 0;
        align-items: flex-start;
        overflow-y: auto;
        z-index: 999;
    }

    .primary-menu.is-active > li {
        width: 100%;
        border-bottom: 1px solid var(--clr-border);
    }

    .primary-menu.is-active > li > a {
        padding: 18px 4px;
        font-size: 1.1rem;
    }

    .primary-menu.is-active .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: none;
        padding: 0 0 12px 16px;
    }

    .nav-cta { display: none; }
}

/* =============================================
   HERO SECTION
============================================= */
.hero-section {
    position: relative;
    min-height: 95vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: var(--clr-beige);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        rgba(62, 43, 32, 0.55) 0%,
        rgba(62, 43, 32, 0.2) 60%,
        transparent 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.hero-content h1 {
    color: white;
    margin-bottom: 24px;
    text-shadow: 0 2px 16px rgba(0,0,0,0.15);
}

.hero-content .lead {
    color: rgba(255,255,255,0.88);
    max-width: 520px;
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* =============================================
   IMAGE PLACEHOLDERS (for before real images)
============================================= */
.img-placeholder {
    background: linear-gradient(135deg, var(--clr-blush) 0%, var(--clr-beige) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-text-muted);
    font-style: italic;
    font-size: 0.9rem;
    text-align: center;
    padding: 24px;
}

/* =============================================
   ORGANIC DECORATIVE SHAPES
============================================= */
.organic-blob {
    position: absolute;
    border-radius: 60% 40% 55% 45% / 45% 55% 40% 60%;
    background-color: var(--clr-blush);
    opacity: 0.35;
    z-index: 0;
    pointer-events: none;
}

/* =============================================
   SERVICE CARDS
============================================= */
.service-card {
    background-color: var(--clr-white);
    border-radius: var(--radius-lg);
    padding: 40px 36px;
    border: 1px solid var(--clr-border);
    transition: all var(--ease-smooth);
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--clr-blush), var(--clr-sage));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--ease-smooth);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-6px);
    border-color: transparent;
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: block;
}

.service-card h3 {
    font-size: 1.6rem;
    margin-bottom: 12px;
    color: var(--clr-brown-dark);
}

.service-card p {
    color: var(--clr-text-muted);
    font-size: 0.95rem;
    margin-bottom: 24px;
}

/* =============================================
   TESTIMONIAL CARDS
============================================= */
.testimonial-card {
    background-color: var(--clr-white);
    border-radius: var(--radius-xl);
    padding: 48px 40px;
    position: relative;
    box-shadow: var(--shadow-xs);
    border: 1px solid var(--clr-border);
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 20px;
    left: 32px;
    font-family: var(--font-heading);
    font-size: 8rem;
    line-height: 1;
    color: var(--clr-blush);
    opacity: 0.7;
    pointer-events: none;
}

.testimonial-text {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-style: italic;
    color: var(--clr-brown);
    line-height: 1.6;
    margin-bottom: 28px;
    padding-top: 20px;
}

.testimonial-author {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--clr-text-muted);
}

/* =============================================
   BLOG POST CARDS
============================================= */
.post-card {
    background-color: var(--clr-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--clr-border);
    transition: all var(--ease-smooth);
}
.post-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.post-card-thumb {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    display: block;
    border-radius: 0;
}

.post-card-thumb-placeholder {
    width: 100%;
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, var(--clr-blush) 0%, var(--clr-beige) 100%);
}

.post-card-body {
    padding: 32px;
}

.post-meta {
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--clr-sage-dark);
    margin-bottom: 12px;
}

.post-card-body h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: var(--clr-brown-dark);
    line-height: 1.3;
}
.post-card-body h3 a {
    color: inherit;
    text-decoration: none;
}
.post-card-body h3 a:hover { color: var(--clr-sage-dark); }

.post-excerpt {
    color: var(--clr-text-muted);
    font-size: 0.95rem;
    margin-bottom: 24px;
}

/* =============================================
   FOUNDER STRIP
============================================= */
.founder-section {
    background-color: var(--clr-beige);
    position: relative;
    overflow: hidden;
}

.founder-photo {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    border-radius: var(--radius-xl) var(--radius-xl) var(--radius-xl) 0;
}

.founder-photo-placeholder {
    width: 100%;
    aspect-ratio: 4/5;
    border-radius: var(--radius-xl) var(--radius-xl) var(--radius-xl) 0;
    background: linear-gradient(160deg, var(--clr-blush) 0%, var(--clr-beige) 70%, var(--clr-sage) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-text-muted);
    font-style: italic;
    text-align: center;
    padding: 24px;
}

.credentials-list {
    list-style: none;
    padding: 0;
    margin: 24px 0;
}
.credentials-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    color: var(--clr-text-muted);
    padding: 6px 0;
    border-bottom: 1px solid var(--clr-border);
}
.credentials-list li::before {
    content: '✦';
    color: var(--clr-sage);
    font-size: 0.7rem;
    flex-shrink: 0;
}

/* =============================================
   STAT STRIP
============================================= */
.stat-strip {
    background-color: var(--clr-brown-dark);
    padding: 64px 0;
}
.stat-item {
    text-align: center;
    padding: 16px;
}
.stat-number {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 4vw, 4rem);
    font-weight: 300;
    color: var(--clr-blush);
    line-height: 1;
    margin-bottom: 8px;
}
.stat-label {
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
}

/* =============================================
   GALLERY GRID
============================================= */
.gallery-masonry {
    columns: 3;
    column-gap: 20px;
}
.gallery-masonry .gallery-item {
    break-inside: avoid;
    margin-bottom: 20px;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    position: relative;
}
.gallery-masonry .gallery-item img {
    width: 100%;
    display: block;
    border-radius: 0;
    transition: transform var(--ease-smooth);
}
.gallery-masonry .gallery-item:hover img {
    transform: scale(1.04);
}
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(62, 43, 32, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--ease-fast);
}
.gallery-masonry .gallery-item:hover .gallery-overlay {
    background: rgba(62, 43, 32, 0.3);
}
.gallery-overlay span {
    color: white;
    font-size: 2rem;
    opacity: 0;
    transition: opacity var(--ease-fast);
}
.gallery-masonry .gallery-item:hover .gallery-overlay span { opacity: 1; }

@media (max-width: 768px) {
    .gallery-masonry { columns: 2; }
}
@media (max-width: 480px) {
    .gallery-masonry { columns: 1; }
}

/* =============================================
   LIGHTBOX
============================================= */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px;
}
.lightbox-overlay.is-open { display: flex; }
.lightbox-img { max-width: 90vw; max-height: 90vh; border-radius: var(--radius-md); object-fit: contain; }
.lightbox-close {
    position: absolute;
    top: 24px;
    right: 32px;
    color: white;
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity var(--ease-fast);
}
.lightbox-close:hover { opacity: 1; }

/* =============================================
   FAQ ACCORDION
============================================= */
.faq-list { margin: 0; padding: 0; list-style: none; }

.faq-item {
    border-bottom: 1px solid var(--clr-border);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 24px 0;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--clr-brown-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    transition: color var(--ease-fast);
}
.faq-question:hover { color: var(--clr-sage-dark); }

.faq-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1.5px solid var(--clr-brown-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-brown-light);
    font-size: 1rem;
    transition: all var(--ease-fast);
}
.faq-item.is-open .faq-icon {
    background-color: var(--clr-sage);
    border-color: var(--clr-sage);
    color: white;
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}
.faq-answer-inner {
    padding: 0 0 28px 0;
    color: var(--clr-text-muted);
    font-size: 1rem;
    line-height: 1.8;
}
.faq-item.is-open .faq-answer { max-height: 500px; }

/* =============================================
   CONTACT FORM
============================================= */
.contact-form-wrap {
    background-color: var(--clr-white);
    border-radius: var(--radius-xl);
    padding: 56px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--clr-border);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--clr-text-muted);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 16px 20px;
    border: 1.5px solid var(--clr-border);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--clr-text);
    background-color: var(--clr-off-white);
    transition: border-color var(--ease-fast), box-shadow var(--ease-fast);
    outline: none;
    appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--clr-sage);
    box-shadow: 0 0 0 3px rgba(168, 184, 154, 0.2);
    background-color: var(--clr-white);
}
.form-group textarea { min-height: 140px; resize: vertical; }

/* WP Contact Form 7 Compatibility */
.wpcf7 input[type="submit"] {
    background-color: var(--clr-brown-dark);
    color: white;
    border: none;
    padding: 16px 40px;
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all var(--ease-smooth);
}
.wpcf7 input[type="submit"]:hover {
    background-color: var(--clr-brown);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* =============================================
   CONTACT INFO BOX
============================================= */
.contact-info-box {
    background-color: var(--clr-brown-dark);
    border-radius: var(--radius-xl);
    padding: 56px 48px;
    color: white;
}
.contact-info-box h3 {
    color: white;
    margin-bottom: 32px;
}
.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 28px;
}
.contact-detail-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
    margin-top: 2px;
}
.contact-detail-text strong {
    display: block;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    margin-bottom: 4px;
    font-weight: 500;
}
.contact-detail-text span,
.contact-detail-text a {
    color: rgba(255,255,255,0.9);
    font-size: 1rem;
}
.contact-detail-text a:hover { color: var(--clr-blush); }

/* =============================================
   WHATSAPP FLOAT
============================================= */
.whatsapp-float {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 900;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: #25D366;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.6rem;
    text-decoration: none;
    transition: transform var(--ease-bounce), box-shadow var(--ease-smooth);
    animation: float-pulse 3s ease-in-out infinite;
}
.whatsapp-float:hover {
    transform: scale(1.12);
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.5);
    color: white;
}

@keyframes float-pulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
    50%       { box-shadow: 0 4px 32px rgba(37, 211, 102, 0.6); }
}

/* =============================================
   FOOTER
============================================= */
#colophon {
    background-color: var(--clr-brown-dark);
    color: rgba(255,255,255,0.8);
    padding-top: 88px;
    padding-bottom: 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 64px;
}

@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
}
@media (max-width: 640px) {
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

.footer-brand .site-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 300;
    color: white;
    display: block;
    margin-bottom: 16px;
    letter-spacing: 0.06em;
}

.footer-tagline {
    font-size: 0.8rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--clr-blush);
    margin-bottom: 20px;
    display: block;
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.55);
    margin-bottom: 0;
}

.footer-col h5 {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    margin-bottom: 20px;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-menu li { margin-bottom: 12px; }
.footer-menu a {
    color: rgba(255,255,255,0.65);
    font-size: 0.92rem;
    transition: color var(--ease-fast);
}
.footer-menu a:hover { color: var(--clr-blush); }

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.08);
    gap: 16px;
    flex-wrap: wrap;
}

.copyright {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.35);
}

/* =============================================
   SCROLL ANIMATIONS
============================================= */
[data-aos] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}
[data-aos][data-delay="100"] { transition-delay: 0.1s; }
[data-aos][data-delay="200"] { transition-delay: 0.2s; }
[data-aos][data-delay="300"] { transition-delay: 0.3s; }
[data-aos][data-delay="400"] { transition-delay: 0.4s; }

/* =============================================
   WORDPRESS CORE ELEMENTS
============================================= */
.site-content { min-height: 60vh; }

.entry-title { font-size: clamp(2rem, 5vw, 4rem); margin-bottom: 24px; }

.entry-meta {
    font-size: 0.85rem;
    color: var(--clr-text-muted);
    letter-spacing: 0.06em;
    margin-bottom: 32px;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
}

.entry-content {
    max-width: 720px;
    margin: 0 auto;
}

.entry-content p { font-size: 1.1rem; line-height: 1.85; }

.entry-content h2 { margin-top: 48px; margin-bottom: 16px; }
.entry-content h3 { margin-top: 36px; margin-bottom: 12px; }
.entry-content img { border-radius: var(--radius-md); margin: 32px 0; }
.entry-content ul, .entry-content ol { margin-bottom: 24px; }
.entry-content li { margin-bottom: 10px; color: var(--clr-text); }
.entry-content a { color: var(--clr-sage-dark); border-bottom: 1px solid var(--clr-blush); }
.entry-content a:hover { color: var(--clr-brown-dark); }

/* Post navigation */
.post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 64px;
    padding-top: 40px;
    border-top: 1px solid var(--clr-border);
}
.nav-previous, .nav-next {
    background: var(--clr-white);
    padding: 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--clr-border);
    transition: all var(--ease-smooth);
}
.nav-previous:hover, .nav-next:hover {
    box-shadow: var(--shadow-sm);
    transform: translateY(-3px);
}
.nav-next { text-align: right; }

/* =============================================
   ARCHIVE / BLOG PAGE
============================================= */
.page-header-strip {
    background-color: var(--clr-beige);
    padding: 80px 0 72px;
    border-bottom: 1px solid var(--clr-border);
}
.page-header-strip .page-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    color: var(--clr-brown-dark);
    margin-bottom: 12px;
}
.archive-description {
    font-size: 1.05rem;
    color: var(--clr-text-muted);
}

/* =============================================
   COMMENTS
============================================= */
#comments { padding-top: 64px; }
.comments-title {
    font-size: 1.8rem;
    margin-bottom: 40px;
    color: var(--clr-brown-dark);
}
.comment-list { list-style: none; padding: 0; }
.comment {
    background: var(--clr-white);
    padding: 28px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    border: 1px solid var(--clr-border);
}
.comment-author .fn { font-weight: 500; color: var(--clr-brown-dark); }
.comment-metadata {
    font-size: 0.82rem;
    color: var(--clr-text-muted);
    margin-top: 4px;
}
.comment-content { margin-top: 16px; color: var(--clr-text); }

.comment-respond {
    background: var(--clr-off-white);
    padding: 40px;
    border-radius: var(--radius-lg);
    margin-top: 40px;
    border: 1px solid var(--clr-border);
}
.comment-reply-title { font-size: 1.5rem; margin-bottom: 24px; }

/* =============================================
   ELEMENTOR COMPATIBILITY
============================================= */
.elementor-page .site-content {
    padding: 0 !important;
}

/* =============================================
   RESPONSIVE UTILITIES
============================================= */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.6rem; }

    .section { padding-top: 72px; padding-bottom: 72px; }

    .hero-section { min-height: 85vh; }

    .stat-strip .grid-4 { grid-template-columns: repeat(2, 1fr); }

    .post-navigation { grid-template-columns: 1fr; }

    .contact-form-wrap { padding: 36px 28px; }
    .contact-info-box { padding: 36px 28px; }

    .whatsapp-float { bottom: 20px; right: 20px; width: 50px; height: 50px; font-size: 1.4rem; }
}

@media (max-width: 480px) {
    :root { --container-pad: 20px; }
    .hero-actions { flex-direction: column; align-items: flex-start; }
    .btn { width: 100%; justify-content: center; }
}

/* =============================================
   UTILITY CLASSES
============================================= */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border-width: 0;
}

.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.gap-sm { gap: 16px; }
.gap-md { gap: 32px; }
.gap-lg { gap: 48px; }

/* Print */
@media print {
    #masthead, #colophon, .whatsapp-float { display: none; }
}
