/* ========================================
CSS VARIABLES
======================================== */
:root {
    --color-primary: #18492c;
    --color-secondary: #3d9860;
    --color-text-dark: #444;
    --color-text-muted: #666;
    --color-border: #ececec;
    --color-white: #ffffff;

    --container-width: 71.875rem; /* 1150px */

    --radius-md: 1.125rem; /* 18px */
    --radius-lg: 3.75rem;  /* 60px */

    --shadow-sm: 0 10px 25px rgba(0, 0, 0, 0.05);
}

/* ========================================
GLOBAL STYLES
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #f7f7f4;
    color: #111;
    overflow-x: hidden;
    padding-top: 8.75rem; /* 140px */
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

/* ========================================
PAGE LAYOUT
======================================== */
.premium-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.75rem 3.75rem; /* 28px 60px */
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.96),
        rgba(255, 255, 255, 0.92)
    );
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    overflow: hidden;
    transition: transform 0.4s ease, opacity 0.4s ease;
    isolation: isolate;
    will-change: transform, opacity;
    animation: fadeUpPage 0.4s ease-out 0ms;
}

.premium-header.hide-header {
    transform: translateY(-120%);
    opacity: 0;
}

.premium-whatsapp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #2f7d4c, #4f9d63);
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 20px rgba(47, 125, 76, 0.20);
    transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
    white-space: nowrap;
    cursor: pointer;
    will-change: transform;
}

.premium-whatsapp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(47, 125, 76, 0.28);
}

.premium-whatsapp-btn:active {
    transform: translateY(-1px);
}

.premium-logo-box {
    position: relative;
    display: flex;
    align-items: center;
    width: fit-content;
    min-width: auto;
    gap: 0;
    padding: 1.125rem 1.5rem; /* 18px 24px */
    border-radius: 1.75rem; /* 28px */
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.96),
        rgba(244, 247, 243, 0.92)
    );
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
    will-change: transform;
    backface-visibility: hidden;
    transform-style: preserve-3d;
    contain: layout paint;
}

.premium-logo-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(24, 73, 44, 0.08);
}

.logo-glow {
    position: absolute;
    width: 130px;
    height: 130px;
    background: radial-gradient(
        rgba(255, 190, 0, 0.18),
        transparent 70%
    );
    top: -40px;
    left: -30px;
    pointer-events: none;
}

.logo-link {
    text-decoration: none;
    color: inherit;
    display: inline-block;
    cursor: pointer;
}

.premium-logo {
    width: 62px;
    height: 62px;
    object-fit: contain;
    border-radius: 50%;
    padding: 6px;
    background: white;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.premium-logo-text {
    display: flex;
    flex-direction: column;
}

.premium-logo-text h2 {
    font-size: 33px;
    font-weight: 800;
    line-height: 1.1;
    color: #006012;
    letter-spacing: -1px;
    margin: 0;
    font-family: "Space Grotesk", sans-serif;
}

.premium-logo-text p {
    margin-top: 0.5rem; /* 8px */
    font-size: 12px;
    letter-spacing: 5px;
    color: #5b7c67;
    font-weight: 700;
    text-transform: uppercase;
}

.header-premium-zone {
    display: flex;
    align-items: center;
    gap: 1.625rem; /* 26px */
}

.premium-trust {
    display: flex;
    align-items: center;
    gap: 0.75rem; /* 12px */
    background: rgba(255, 255, 255, 0.8);
    padding: 0.875rem 1.375rem; /* 14px 22px */
    border-radius: var(--radius-lg);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #18492c;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(24, 73, 44, 0.08);
    box-shadow: var(--shadow-sm);
}

.pulse-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #32c766;
    position: relative;
}

.pulse-dot::before {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1px solid rgba(50, 199, 102, 0.5);
    animation: pulseRing 2s infinite;
}

@keyframes pulseRing {
    0% {
        transform: scale(0.5);
        opacity: 1;
    }
    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

.premium-mini-stats {
    display: flex;
    align-items: center;
    gap: 0.875rem; /* 14px */
}

.mini-stat {
    min-width: 5.5rem; /* 88px */
    text-align: center;
    padding: 0.875rem 1rem; /* 14px 16px */
    border-radius: 1.375rem; /* 22px */
    background: linear-gradient(
        145deg,
        #ffffff,
        #f5f7f5
    );
    box-shadow: var(--shadow-sm);
    transition: 0.4s ease;
    will-change: transform;
    backface-visibility: hidden;
    transform-style: preserve-3d;
    contain: layout paint;
}

.mini-stat:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 35px rgba(24, 73, 44, 0.10);
}

.mini-stat h4 {
    font-size: 20px;
    color: #18492c;
    margin-bottom: 0.25rem; /* 4px */
    font-weight: 800;
}

.mini-stat p {
    font-size: 11px;
    color: #777;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.social-float-dock {
    display: flex;
    align-items: center;
    gap: 0.875rem; /* 14px */
    padding: 0.875rem 1.125rem; /* 14px 18px */
    border-radius: var(--radius-lg);
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.92),
        rgba(247, 247, 247, 0.82)
    );
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
}

.social-float-dock::before {
    content: "";
    position: absolute;
    width: 140px;
    height: 140px;
    background: radial-gradient(
        rgba(255, 255, 255, 0.9),
        transparent 70%
    );
    top: -70px;
    left: -30px;
    pointer-events: none;
}

.social-float-dock a {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    background: white;
    color: #18492c;
    font-size: 20px;
    transition: 0.45s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    z-index: 2;
    will-change: transform;
    backface-visibility: hidden;
    transform-style: preserve-3d;
    contain: layout paint;
}

.social-float-dock a::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    opacity: 0;
    transition: 0.45s ease;
}

.social-float-dock a i {
    position: relative;
    z-index: 2;
}

.social-float-dock a:hover {
    transform: translateY(-7px) scale(1.08);
    color: white;
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.14);
}

.instagram::before {
    background: linear-gradient(
        135deg,
        #ff0080,
        #ff7a00
    );
}

.facebook::before {
    background: linear-gradient(
        135deg,
        #1877f2,
        #4e8cff
    );
}

.whatsapp::before {
    background: linear-gradient(
        135deg,
        #1ebe5d,
        #46d97d
    );
}

.youtube::before {
    background: linear-gradient(
        135deg,
        #ff0000,
        #ff4b4b
    );
}

.social-float-dock a:hover::before {
    opacity: 1;
}

.blog-details-section {
    width: 100%;
    padding: 3.125rem 1.25rem 6.25rem; /* 50px 20px 100px */
}

.details-container {
    position: relative;
    isolation: isolate;
    width: min(100%, var(--container-width));
    max-width: var(--container-width);
    margin: auto;
    background: var(--color-white);
    border-radius: 2.125rem; /* 34px */
    overflow: hidden;
    border: 1px solid var(--color-border);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.04);
}

.scroll-top-btn {
    position: fixed !important;
    right: 30px !important;
    left: auto !important;
    bottom: 30px !important;
    z-index: 9999;
    width: 62px;
    height: 62px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(
        135deg,
        var(--color-primary),
        var(--color-secondary)
    );
    color: white;
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 18px 40px rgba(24, 73, 44, 0.25);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: transform 0.2s ease-out, opacity 0.2s ease-out, visibility 0.2s ease-out, box-shadow 0.2s ease-out;
    will-change: transform, opacity;
    backface-visibility: hidden;
    transform-style: preserve-3d;
    touch-action: manipulation;
    overflow: visible;
}

.scroll-top-btn.show-scroll {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 45px rgba(24, 73, 44, 0.3);
}

.scroll-top-btn i {
    transition: 0.2s ease-out;
}

/* ========================================
RETAINED LAYOUT SELECTORS (DYNAMIC/TEMPLATES)
======================================== */
.details-header {
    /* Retained to prevent breaking potential dynamic templates */
}

.details-logo span {
    /* Retained to prevent breaking potential dynamic templates */
}


/* ========================================
HERO SECTION
======================================== */
/* No hero section in desktop layout */

/* ========================================
ARTICLE HEADER
======================================== */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.875rem; /* 14px */
    padding: 2.125rem 2.5rem; /* 34px 40px */
    font-size: 14px;
    color: var(--color-text-muted);
    width: 100%;
    opacity: 0;
    will-change: transform, opacity;
    animation: fadeUpPage 0.4s ease-out 60ms forwards;
}

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

.details-category {
    display: inline-block;
    background: #eef6ea;
    color: #5f845b;
    padding: 0.625rem 1.125rem; /* 10px 18px */
    border-radius: 2.5rem; /* 40px */
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 1.625rem; /* 26px */
}

.details-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.75rem; /* 28px */
    color: var(--color-text-muted);
    font-size: 15px;
    margin-bottom: 2.125rem; /* 34px */
}


/* ========================================
ARTICLE CONTENT
======================================== */
.details-content {
    width: 100%;
    padding: 2.8125rem 2.5rem 3.4375rem; /* 45px 40px 55px */
    position: relative;
    z-index: 2;
    opacity: 0;
    will-change: transform, opacity;
    animation: fadeUpPage 0.4s ease-out 180ms forwards;
}

.details-content h1 {
    font-size: 72px;
    line-height: 1;
    letter-spacing: -2px;
    margin-bottom: 1.625rem; /* 26px */
    font-family: 'Cormorant Garamond', serif;
    text-wrap: balance;
    opacity: 0;
    will-change: transform, opacity;
    animation: fadeUpTitle 0.45s ease-out 240ms forwards;
}

.details-intro {
    font-size: 22px;
    line-height: 1.9;
    color: var(--color-text-dark);
    margin-bottom: 3.125rem; /* 50px */
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: normal;
}

.details-body {
    border-top: 1px solid var(--color-border);
    padding-top: 2.8125rem; /* 45px */
    position: relative;
    z-index: 2;
}

.details-body h2 {
    font-size: 40px;
    line-height: 1.15;
    margin-bottom: 1.125rem; /* 18px */
    font-family: 'Cormorant Garamond', serif;
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: normal;
}

.details-body p {
    font-size: 18px;
    line-height: 1.9;
    color: var(--color-text-dark);
    margin-bottom: 2.125rem; /* 34px */
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: normal;
    text-rendering: optimizeLegibility;
}

.details-body > *:last-child {
    margin-bottom: 0;
}

.quote-box {
    position: relative;
    overflow: hidden;
    background: #f4f8f2;
    border-left: 5px solid #4aa16a;
    padding: 2.125rem; /* 34px */
    border-radius: var(--radius-md);
    margin-bottom: 2.375rem; /* 38px */
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: normal;
    will-change: transform;
    backface-visibility: hidden;
    transform-style: preserve-3d;
}

.quote-box p {
    margin-bottom: 0.75rem; /* 12px */
    font-size: 22px;
    font-style: italic;
}

.quote-box span {
    font-weight: 600;
    color: var(--color-primary);
}

.back-blog-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 3;
    margin-top: 1.5rem; /* 24px */
    padding: 1.125rem 2.125rem; /* 18px 34px */
    border-radius: var(--radius-md);
    background: linear-gradient(
        135deg,
        var(--color-primary),
        var(--color-secondary)
    );
    color: var(--color-white);
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 18px 40px rgba(24, 73, 44, 0.2);
    transition: 0.4s ease;
    will-change: transform;
    backface-visibility: hidden;
    transform-style: preserve-3d;
    contain: layout paint;
}

.back-blog-btn:hover {
    transform: translateY(-4px);
}


/* ========================================
ARTICLE IMAGES
======================================== */
.details-image-wrapper {
    width: 100%;
    padding: 0 2.5rem; /* 40px */
    overflow: hidden;
    position: relative;
    z-index: 1;
    opacity: 0;
    will-change: transform, opacity;
    animation: fadeUpPage 0.4s ease-out 120ms forwards;
}

.details-image-wrapper img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 560px; /* Kept in px per Rule 2 */
    object-fit: cover;
    object-position: center;
    border-radius: 1.625rem; /* 26px */
    transition: transform 0.25s ease-out;
    will-change: transform;
}

.details-image-wrapper img:hover {
    transform: translateY(-2px);
}


/* ========================================
SIDEBAR
======================================== */
/* No sidebar in desktop layout */

/* ========================================
RELATED ARTICLES
======================================== */
/* No related articles in desktop layout */

/* ========================================
SHARE BUTTONS
======================================== */
/* No page-specific share buttons in desktop layout */

/* ========================================
FOOTER
======================================== */
/* No footer in desktop layout */

/* ========================================
PAGE LOAD KEYFRAMES & SCROLL REVEAL
======================================== */
@keyframes fadeUpPage {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeUpTitle {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Reveal Initial State */
.scroll-reveal {
    opacity: 0;
    transform: translateY(10px);
    will-change: transform, opacity;
    transition: transform 0.35s ease-out, opacity 0.35s ease-out;
}

/* Scroll Reveal Animated State */
.scroll-reveal.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Accessibility: Reduced Motion Settings */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-delay: -1ms !important;
        animation-duration: 1ms !important;
        animation-iteration-count: 1 !important;
        background-attachment: initial !important;
        scroll-behavior: auto !important;
        transition-duration: 0s !important;
        transition-delay: 0s !important;
    }
    
    .premium-header,
    .breadcrumb,
    .details-image-wrapper,
    .details-image-wrapper img,
    .details-content,
    .details-content h1,
    .scroll-reveal,
    .premium-whatsapp-btn,
    .premium-logo-box,
    .scroll-top-btn {
        animation: none !important;
        transition: none !important;
        transform: none !important;
    }
}