/* 
   paradajz.rs - Custom Premium Stylesheet
   Design Language: Warm, Earthy, Organic, and Vibrant
   Optimized: 2 clean fonts (Outfit & Inter), desktop-friendly navigation, mobile-focused floating contact bar, and organic vector elements.
*/

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400;1,600&family=Outfit:wght@400;500;600;700;800&display=swap');

/* --- CSS Variables --- */
:root {
    --primary-red: #d12621;
    --primary-red-hover: #b01c18;
    --secondary-coral: #e05638;
    --earth-green: #224b33;
    --earth-green-hover: #173523;
    --earth-green-light: #eef5f0;
    --warm-cream: #faf8f5;
    --warm-cream-darker: #f4eee6;
    --charcoal-black: #161c16;
    --charcoal-light: #4c544c;
    --white: #ffffff;
    --shadow-sm: 0 2px 8px rgba(22, 28, 22, 0.04);
    --shadow-md: 0 8px 24px rgba(22, 28, 22, 0.08);
    --shadow-lg: 0 16px 40px rgba(22, 28, 22, 0.12);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
}

/* --- Base Reset --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-family: 'Inter', sans-serif;
    color: var(--charcoal-black);
    background-color: var(--warm-cream);
    -webkit-font-smoothing: antialiased;
}

body {
    overflow-x: hidden;
    line-height: 1.6;
}

/* --- Typography --- */
h1, h2, h3, h4, .font-heading {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--charcoal-black);
    line-height: 1.35;
}

/* Quote styles using unified Inter italic */
.font-story {
    font-family: 'Inter', sans-serif;
    font-style: italic;
}

p {
    font-size: 1rem;
    font-weight: 400;
    color: var(--charcoal-light);
    line-height: 1.7;
}

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

/* --- Layout Containers --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: 80px 0;
    position: relative;
    overflow: hidden; /* prevents floating background decorations from causing scrolls */
}

section[id], div[id] {
    scroll-margin-top: 90px;
}

/* --- Background Vector Decorations --- */
.bg-deco-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.bg-deco {
    position: absolute;
    opacity: 0.035;
    color: var(--primary-red);
    pointer-events: none;
}

.bg-deco-green {
    color: var(--earth-green);
    opacity: 0.045;
}

/* --- Header & Navigation --- */
header {
    background-color: rgba(250, 248, 245, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(22, 28, 22, 0.05);
    transition: var(--transition);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-red);
    z-index: 2;
}

.logo svg {
    fill: currentColor;
    width: 32px;
    height: 32px;
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
    font-weight: 500;
    font-size: 0.95rem;
    z-index: 2;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-red);
}

.mobile-only-nav-btn {
    display: none;
}

.nav-btn {
    background-color: var(--earth-green);
    color: var(--white);
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    z-index: 2;
}

.btn-menu-toggle {
    display: none;
    z-index: 10;
}

.nav-btn:hover {
    background-color: var(--earth-green-hover);
    transform: translateY(-2px);
}

/* --- Hero Section --- */
.hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(22, 28, 22, 0.4), rgba(22, 28, 22, 0.7)), 
                url('images/hero_plantation.jpg') no-repeat center center / cover;
    color: var(--white);
    text-align: center;
    padding-top: 100px;
    padding-bottom: 100px;
}

.hero h1 {
    color: var(--white);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: 24px;
    font-weight: 800;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero p.tagline {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    max-width: 800px;
    margin: 0 auto 40px auto;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* --- Meme & Quote Section --- */
.quote-box {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    max-width: 800px;
    margin: 40px auto;
    z-index: 10;
    position: relative;
    text-align: center;
    border: 1px solid rgba(22, 28, 22, 0.05);
}

.quote-box p {
    font-size: 1.35rem;
    font-style: italic;
    color: var(--charcoal-black);
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    margin-bottom: 16px;
}

.quote-box span {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-red);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary-red);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-red-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(209, 38, 33, 0.3);
}

.btn-secondary {
    background-color: var(--earth-green);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--earth-green-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(34, 75, 51, 0.3);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-red);
    color: var(--primary-red);
}

.btn-outline:hover {
    background-color: var(--primary-red);
    color: var(--white);
}

/* --- Section Headings --- */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto;
    position: relative;
    z-index: 2;
}

.section-header .sub-badge {
    color: var(--primary-red);
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 2px;
    display: inline-block;
    margin-bottom: 12px;
    background-color: rgba(209, 38, 33, 0.08);
    padding: 6px 16px;
    border-radius: 50px;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 16px;
    font-weight: 800;
}

.section-header p {
    font-size: 1.1rem;
}

/* --- Story Block / Split Sections --- */
.split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.story-content h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.story-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary-red);
}

.story-content p {
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.image-container {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.image-container:hover img {
    transform: scale(1.05);
}

/* --- Products Showcase --- */
.bg-cream {
    background-color: var(--warm-cream-darker);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
    z-index: 2;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

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

.product-img {
    height: 320px;
    overflow: hidden;
    position: relative;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: var(--primary-red);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-info {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-info h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.product-info p {
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(22, 28, 22, 0.05);
    padding-top: 20px;
}

.price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-red);
    font-family: 'Outfit', sans-serif;
}

.price span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--charcoal-light);
}

.product-list {
    list-style: none;
    margin-top: 16px;
    margin-bottom: 24px;
}

.product-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--charcoal-light);
    margin-bottom: 8px;
}

.product-list li svg {
    color: var(--primary-red);
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* --- Science / Lycopene Split --- */
.science-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 50px;
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 2;
}

.science-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background-color: var(--warm-cream);
    border-radius: var(--radius-md);
}

.stat-num {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--primary-red);
    font-family: 'Outfit', sans-serif;
    margin-bottom: 8px;
}

.stat-lbl {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--charcoal-light);
}

/* --- Interactive Calculator Section --- */
.calculator-box {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 40px;
    max-width: 950px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.calc-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 40px;
}

.calc-items {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.calc-group-header {
    font-size: 1.25rem;
    font-family: 'Outfit', sans-serif;
    border-bottom: 2px solid var(--primary-red);
    padding-bottom: 8px;
    margin-bottom: 16px;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.calc-group-header span {
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    color: var(--charcoal-light);
    font-weight: 400;
}

.calc-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(22, 28, 22, 0.05);
}

.calc-details h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.calc-details p {
    font-size: 0.85rem;
    color: var(--charcoal-light);
}

.calc-control {
    display: flex;
    align-items: center;
    gap: 12px;
}

.calc-btn {
    width: 34px;
    height: 34px;
    border-radius: 50px;
    border: 1px solid var(--charcoal-light);
    background: transparent;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.calc-btn:hover {
    background: var(--charcoal-black);
    color: var(--white);
    border-color: var(--charcoal-black);
}

.calc-qty {
    font-size: 1.05rem;
    font-weight: 700;
    width: 24px;
    text-align: center;
}

.calc-summary {
    background-color: var(--earth-green-light);
    border-radius: var(--radius-md);
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid rgba(34, 75, 51, 0.1);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.summary-row.nested {
    padding-left: 16px;
    font-size: 0.85rem;
    margin-bottom: 8px;
    color: var(--charcoal-light);
}

.summary-total {
    display: flex;
    justify-content: space-between;
    border-top: 2px dashed rgba(34, 75, 51, 0.2);
    padding-top: 20px;
    margin-top: 20px;
    margin-bottom: 30px;
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--earth-green);
}

/* --- FAQ Accordion --- */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    z-index: 2;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(22, 28, 22, 0.03);
}

.faq-question {
    padding: 24px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition);
}

.faq-question:hover {
    background-color: rgba(209, 38, 33, 0.02);
    color: var(--primary-red);
}

.faq-icon {
    width: 24px;
    height: 24px;
    border-radius: 50px;
    background-color: var(--warm-cream);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.faq-icon::before {
    content: '+';
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--charcoal-light);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-answer-inner {
    padding: 0 30px 24px 30px;
    color: var(--charcoal-light);
    font-size: 0.95rem;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    background-color: var(--primary-red);
}

.faq-item.active .faq-icon::before {
    color: var(--white);
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

/* --- Trust / Info Grid --- */
.info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
    z-index: 2;
}

.info-card {
    text-align: center;
    padding: 30px 20px;
}

.info-card svg {
    width: 48px;
    height: 48px;
    color: var(--primary-red);
    margin-bottom: 20px;
}

.info-card h4 {
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.info-card p {
    font-size: 0.9rem;
}

/* --- Footer --- */
footer {
    background-color: var(--charcoal-black);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0;
    border-top: 4px solid var(--primary-red);
}

footer h3, footer h4 {
    color: var(--white);
    margin-bottom: 20px;
}

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

.footer-about p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 20px;
}

.footer-contact {
    list-style: none;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-contact svg {
    flex-shrink: 0;
}

.footer-contact a:hover {
    color: var(--secondary-coral);
}

.footer-links {
    list-style: none;
}

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

.footer-links a:hover {
    color: var(--white);
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

/* --- Floating Contact Footer (Desktop Hidden, Mobile Visible) --- */
.floating-contact-bar {
    display: none; /* hidden on desktop */
}

/* --- Subpage / Article Layout --- */
.article-header {
    background-color: var(--warm-cream-darker);
    padding: 60px 0;
    border-bottom: 1px solid rgba(22, 28, 22, 0.05);
}

.article-header h1 {
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    margin-bottom: 16px;
}

.article-header .meta-tag {
    display: inline-block;
    background-color: var(--primary-red);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.article-wrapper {
    display: grid;
    grid-template-columns: 2.2fr 1fr;
    gap: 60px;
}

.article-body {
    font-size: 1.1rem;
    line-height: 1.8;
}

.article-body p {
    margin-bottom: 24px;
    font-size: 1.08rem;
}

.article-body h2 {
    font-size: 1.8rem;
    margin: 40px 0 20px 0;
}

.article-body h3 {
    font-size: 1.4rem;
    margin: 30px 0 16px 0;
}

.article-body ul, .article-body ol {
    margin-bottom: 24px;
    padding-left: 24px;
}

.article-body li {
    margin-bottom: 12px;
}

.article-body blockquote {
    background-color: var(--warm-cream-darker);
    border-left: 4px solid var(--earth-green);
    padding: 24px 30px;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin: 30px 0;
    font-style: italic;
    font-size: 1.2rem;
    color: var(--charcoal-black);
}

.sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-widget {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 30px;
    border: 1px solid rgba(22, 28, 22, 0.03);
}

.sidebar-widget h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(22, 28, 22, 0.05);
    padding-bottom: 12px;
}

.science-btn-group {
    display: flex;
    gap: 16px;
    margin-top: 30px;
}

/* --- Responsive Media Queries --- */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    .split-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .calc-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .science-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .article-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .article-body {
        min-width: 0;
    }
    
    .article-body table {
        font-size: 0.85rem;
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin-bottom: 30px;
    }
    
    .article-body th, .article-body td {
        padding: 10px 12px !important;
        white-space: nowrap;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 24px;
        border-bottom: 3px solid var(--primary-red);
        box-shadow: var(--shadow-md);
        z-index: 999;
        gap: 0;
        width: 100%;
        text-align: center;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links li {
        width: 100%;
    }
    
    .nav-links a {
        display: block;
        padding: 14px 0;
        font-size: 1.1rem;
        font-weight: 600;
        color: var(--charcoal-black) !important;
        border-bottom: 1px solid rgba(22, 28, 22, 0.05);
    }
    
    .nav-links li:last-child a {
        border-bottom: none;
    }
    
    .nav-links a:hover, .nav-links a.active {
        color: var(--primary-red) !important;
    }
    
    .mobile-only-nav-btn {
        display: block;
        width: 100%;
        margin-top: 15px;
        padding-bottom: 5px;
    }
    
    .mobile-only-nav-btn a {
        display: inline-block !important;
        width: auto !important;
        background-color: var(--earth-green);
        color: var(--white) !important;
        padding: 10px 24px !important;
        border-radius: var(--radius-sm);
        border-bottom: none !important;
        font-size: 0.95rem !important;
        transition: var(--transition);
    }
    
    .mobile-only-nav-btn a:hover {
        background-color: var(--earth-green-hover);
        color: var(--white) !important;
    }
    
    .btn-menu-toggle {
        display: inline-block;
        background-color: var(--earth-green);
        color: var(--white);
        border: none;
        padding: 10px 20px;
        border-radius: var(--radius-sm);
        font-family: 'Outfit', sans-serif;
        font-weight: 600;
        font-size: 0.9rem;
        cursor: pointer;
        transition: var(--transition);
        z-index: 10;
    }
    
    .nav-btn {
        display: none;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .science-btn-group {
        flex-direction: column;
        gap: 12px;
    }
    
    .science-btn-group .btn {
        width: 100%;
        text-align: center;
        margin-right: 0;
    }
    
    /* Show Floating Contact Bar on Mobile devices only */
    .floating-contact-bar {
        position: fixed;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        width: calc(100% - 40px);
        max-width: 450px;
        background: rgba(22, 28, 22, 0.95);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 50px;
        padding: 10px 14px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        z-index: 1000;
    }

    .floating-action {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 10px 16px;
        border-radius: 50px;
        font-family: 'Outfit', sans-serif;
        font-size: 0.85rem;
        font-weight: 700;
        color: var(--white);
        transition: var(--transition);
    }

    .floating-action.viber {
        background-color: #7360f2;
    }

    .floating-action.whatsapp {
        background-color: #25d366;
    }

    .floating-action.call {
        background-color: var(--primary-red);
    }

    .floating-action:hover {
        transform: translateY(-2px);
        filter: brightness(1.1);
    }

    .floating-action svg {
        width: 16px;
        height: 16px;
        fill: currentColor;
    }
    
    body {
        padding-bottom: 90px; /* offset to avoid content being hidden under floating bar */
    }
    
    footer {
        padding-bottom: 110px; /* offset in footer */
    }
}

@media (max-width: 576px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .quote-box {
        padding: 20px;
        margin-left: 10px;
        margin-right: 10px;
    }
    
    .calculator-box {
        padding: 20px;
    }
}

/* --- Testimonials Section --- */
.testimonials-grid {
    column-count: 3;
    column-gap: 24px;
    margin-top: 40px;
}

.testimonial-card {
    display: inline-block;
    width: 100%;
    margin-bottom: 24px;
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(22, 28, 22, 0.06);
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid rgba(22, 28, 22, 0.05);
    break-inside: avoid;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(22, 28, 22, 0.12);
    border-color: var(--primary-red);
}

.testimonial-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    padding: 0;
}

/* Modal overlay styling */
.review-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(22, 28, 22, 0.85);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 24px;
    cursor: zoom-out;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.review-modal.show {
    display: flex;
    opacity: 1;
}

.review-modal-content {
    max-width: 90%;
    max-height: 85%;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    background: var(--white);
    padding: 6px;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.review-modal.show .review-modal-content {
    transform: scale(1);
}

.review-modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    color: var(--white);
    font-size: 2.5rem;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

/* --- Testimonials Pagination --- */
.testimonials-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 35px;
}

.pagination-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--charcoal-black);
    opacity: 0.25;
    cursor: pointer;
    transition: var(--transition);
}

.pagination-dot.active {
    background-color: var(--primary-red);
    opacity: 1;
    transform: scale(1.25);
}

.pagination-arrow {
    background: none;
    border: none;
    color: var(--charcoal-black);
    font-size: 1.6rem;
    font-weight: 700;
    cursor: pointer;
    padding: 0 12px;
    display: flex;
    align-items: center;
    transition: var(--transition);
    user-select: none;
}

.pagination-arrow:hover {
    color: var(--primary-red);
}

.pagination-arrow:disabled {
    opacity: 0.15;
    cursor: not-allowed;
}

/* Responsive columns for Masonry */
@media (max-width: 992px) {
    .testimonials-grid {
        column-count: 2;
        column-gap: 20px;
    }
    .testimonial-card {
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .testimonials-grid {
        column-count: 1;
        column-gap: 0;
    }
    .testimonial-card {
        margin-bottom: 16px;
    }
}
