/* ==========================================================================
   Capissan® Original — orange brand identity
   Layout: Outfit (display) + Cormorant Garamond (italic accents) + Nunito Sans (body)
   ========================================================================== */

:root {
    /* PRIMARY = ORANGE (Capissan brand) */
    --color-primary: #e88c3a;
    --color-primary-dark: #d07020;
    --color-primary-light: #f0a55a;
    --color-primary-soft: #fce8d4;
    --color-primary-pale: #fdf3e8;

    /* Orange aliases (kept for orange-themed components) */
    --color-orange: #e88c3a;
    --color-orange-dark: #d07020;
    --color-orange-soft: #fce8d4;
    --color-orange-pale: #fdf3e8;

    /* Secondary green — used for cross-promo back to Capillan + Fagron brand tag */
    --color-secondary-green: #5a8d3a;
    --color-secondary-green-dark: #3f6e26;
    --color-secondary-green-light: #7eaa56;

    --color-blue: #6aa3c4;
    --color-blue-dark: #4a85a6;
    --color-blue-soft: #d9e8f0;

    --color-pink: #e9d8d3;
    --color-pink-pale: #fbf4f1;

    /* Neutrals */
    --color-text: #1f2920;
    --color-text-light: #5a6258;
    --color-text-muted: #8a8f87;
    --color-bg: #ffffff;
    --color-bg-soft: #f7f7f5;
    --color-border: #e8e8e3;

    --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --shadow-sm: 0 1px 4px rgba(40, 60, 30, 0.05);
    --shadow-md: 0 6px 20px rgba(40, 60, 30, 0.07);
    --shadow-lg: 0 18px 50px rgba(40, 60, 30, 0.1);

    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 28px;
    --radius-full: 999px;

    --transition: all 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font-body);
    color: var(--color-text);
    line-height: 1.65;
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: var(--transition); }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

::selection { background: rgba(90, 141, 58, 0.18); color: var(--color-primary-dark); }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001s !important;
        transition-duration: 0.001s !important;
    }
}

/* ---------- Container ---------- */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 1.12;
    letter-spacing: -0.018em;
    color: var(--color-text);
}

h1 {
    font-size: clamp(2.4rem, 4.4vw, 3.8rem);
    font-weight: 500;
}

h2 {
    font-size: clamp(2rem, 3.4vw, 3rem);
    font-weight: 500;
}

h3 {
    font-size: clamp(1.3rem, 2vw, 1.6rem);
    font-weight: 500;
}

h4 {
    font-size: 1.1rem;
    font-weight: 600;
}

/* Italic serif accents inside headings */
h1 em, h2 em, h3 em {
    font-family: var(--font-serif);
    font-weight: 500;
    font-style: italic;
    font-size: 1.06em;
    color: var(--color-primary);
    letter-spacing: 0;
    padding: 0 0.04em;
}

p { font-weight: 400; color: var(--color-text-light); }

/* Eyebrow label */
.eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2.4px;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 14px;
}
.eyebrow-orange { color: var(--color-orange); }

/* Text link with arrow */
.text-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.92rem;
    margin-top: 6px;
    transition: var(--transition);
}
.text-link span { transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); display: inline-block; }
.text-link:hover { color: var(--color-primary-dark); }
.text-link:hover span { transform: translateX(4px); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.92rem;
    letter-spacing: 0.2px;
    transition: var(--transition);
    border: 1.5px solid transparent;
    text-align: center;
    white-space: nowrap;
}

.btn-primary {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
    box-shadow: 0 6px 18px rgba(90, 141, 58, 0.22);
}
.btn-primary:hover {
    background: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(90, 141, 58, 0.32);
}

.btn-ghost {
    background: transparent;
    color: var(--color-text);
    border-color: var(--color-border);
}
.btn-ghost:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: translateY(-2px);
}

.btn-orange {
    background: var(--color-orange);
    color: #fff;
    border-color: var(--color-orange);
    box-shadow: 0 6px 18px rgba(232, 140, 58, 0.28);
}
.btn-orange:hover {
    background: var(--color-orange-dark);
    border-color: var(--color-orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(232, 140, 58, 0.4);
}

.btn-outline-dark {
    background: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
    padding: 11px 22px;
    font-size: 0.86rem;
}
.btn-outline-dark:hover {
    background: var(--color-primary);
    color: #fff;
    transform: translateY(-2px);
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 16px 0;
    background: transparent;
    transition: background 0.3s, box-shadow 0.3s, padding 0.3s;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 1px 24px rgba(40, 60, 30, 0.05);
    padding: 10px 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.nav-menu {
    flex: 1;
    justify-content: center;
}

.nav-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.nav-logo-img {
    height: 44px;
    width: auto;
    transition: var(--transition);
    display: block;
}

.navbar.scrolled .nav-logo-img {
    height: 36px;
}

.nav-logo:hover .nav-logo-img {
    transform: scale(1.04);
}

.nav-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.nav-link {
    padding: 9px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text);
    border-radius: var(--radius-full);
    letter-spacing: 0.1px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-primary);
    background: rgba(90, 141, 58, 0.06);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-icon-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text);
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-icon-btn:hover {
    background: var(--color-primary-soft);
    color: var(--color-primary);
}

.nav-cta {
    margin-left: 8px;
    padding: 10px 22px;
    border-radius: var(--radius-full);
    background: var(--color-orange);
    color: #fff;
    font-weight: 600;
    font-size: 0.88rem;
    box-shadow: 0 4px 14px rgba(232, 140, 58, 0.3);
    transition: var(--transition);
    white-space: nowrap;
}

.nav-cta:hover {
    background: var(--color-orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(232, 140, 58, 0.4);
}

/* Mobile toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 6px;
    z-index: 1001;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: var(--transition);
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ==========================================================================
   HERO — full viewport-width image (no cropping), text overlaid on left
   ========================================================================== */
.hero {
    position: relative;
    padding: 0;
    overflow: hidden;
    background: #f3f7ec;
}

/* Full-width hero image in natural aspect ratio (no crop) */
.hero-image {
    position: relative;
    width: 100vw;
    z-index: 0;
}

.hero-image img {
    display: block;
    width: 100vw;
    height: auto;
    /* never crop – show entire artwork edge to edge */
    object-fit: contain;
}

/* Left-side gradient mask so text stays readable over the artwork */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        to right,
        rgba(243, 247, 236, 0.92) 0%,
        rgba(243, 247, 236, 0.7) 25%,
        rgba(243, 247, 236, 0.25) 50%,
        rgba(243, 247, 236, 0) 70%
    );
    pointer-events: none;
}

/* Subtle bottom fade for trustbar transition */
.hero::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 100px;
    z-index: 1;
    background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.7));
    pointer-events: none;
}

/* Text overlay positioned over the image, container handles centering */
.hero-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    padding: 140px 0 100px;
    z-index: 2;
    pointer-events: none;
}

.hero-overlay .container {
    width: 100%;
    pointer-events: auto;
}

.hero-text {
    max-width: 560px;
}

.hero-text h1 {
    font-size: clamp(2.4rem, 4.8vw, 4.2rem);
    line-height: 1.04;
    margin-bottom: 24px;
    color: var(--color-text);
    font-weight: 500;
}

.hero-text h1 em {
    color: var(--color-primary-dark);
    font-size: 1.06em;
}

.hero-tagline {
    font-size: 1.06rem;
    line-height: 1.65;
    color: var(--color-text-light);
    margin-bottom: 32px;
    max-width: 460px;
}

.hero-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* ==========================================================================
   TRUST BAR
   ========================================================================== */
.trustbar {
    background: var(--color-bg);
    padding: 36px 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.trustbar-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    align-items: center;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--color-text-light);
    font-size: 0.84rem;
    line-height: 1.4;
}

.trust-item i {
    color: var(--color-primary);
    font-size: 1.4rem;
    flex-shrink: 0;
    width: 32px;
    text-align: center;
}

/* ==========================================================================
   CAPILLAN PRODUCTS SECTION
   ========================================================================== */
.capillan-products {
    padding: 90px 0 100px;
    background: var(--color-bg);
}

.products-grid {
    display: grid;
    grid-template-columns: 0.85fr 2.15fr;
    gap: 56px;
    align-items: center;
}

.products-intro h2 { margin-bottom: 18px; }
.products-intro p {
    font-size: 0.98rem;
    margin-bottom: 14px;
    max-width: 320px;
}

.products-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.product-card {
    position: relative;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 24px 20px 22px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(90, 141, 58, 0.18);
}

.product-num {
    position: absolute;
    top: 18px;
    left: 18px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.78rem;
    z-index: 2;
    box-shadow: 0 3px 10px rgba(0,0,0,0.12);
}
.product-num-green { background: var(--color-primary); }
.product-num-orange { background: var(--color-orange); }
.product-num-blue { background: var(--color-blue); }

.product-card-img {
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 50% 60%, var(--color-primary-pale) 0%, transparent 70%);
    border-radius: var(--radius-sm);
    margin-bottom: 18px;
}

.product-card-img img {
    height: 200px;
    width: auto;
    object-fit: contain;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    filter: drop-shadow(0 8px 16px rgba(40, 60, 30, 0.12));
}

.product-card:hover .product-card-img img {
    transform: translateY(-6px) scale(1.04);
}

.product-card-body h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 6px;
    line-height: 1.2;
}

.product-card-body .product-sub {
    color: var(--color-primary);
    font-weight: 500;
}

.product-card-body p {
    font-size: 0.86rem;
    color: var(--color-text-light);
    line-height: 1.55;
    margin-bottom: 16px;
    flex-grow: 1;
}

.product-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid var(--color-border);
}

.product-price {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-text);
}

.add-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(90, 141, 58, 0.28);
}
.add-btn:hover { transform: scale(1.1) rotate(90deg); background: var(--color-primary-dark); }
.add-btn-orange { background: var(--color-orange); box-shadow: 0 4px 12px rgba(232, 140, 58, 0.28); }
.add-btn-orange:hover { background: var(--color-orange-dark); }
.add-btn-blue { background: var(--color-blue); box-shadow: 0 4px 12px rgba(106, 163, 196, 0.28); }
.add-btn-blue:hover { background: var(--color-blue-dark); }

/* ==========================================================================
   INGREDIENTS SECTION
   ========================================================================== */
.ingredients-section {
    padding: 90px 0 110px;
    background: var(--color-bg);
}

.ingredients-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: end;
    margin-bottom: 42px;
}

.ih-text h2 { line-height: 1.05; }
.ih-desc p { font-size: 1rem; max-width: 480px; margin-bottom: 4px; }

/* Featured ingredient card — split exactly 50/50 */
.featured-ingredient {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin-bottom: 28px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--color-primary-soft);
    transition: var(--transition);
    min-height: 320px;
}

.featured-ingredient:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.featured-ingredient-reverse {
    grid-template-columns: 1fr 1fr;
}

.featured-ingredient-reverse .fi-image { order: 2; }
.featured-ingredient-reverse .fi-text { order: 1; }

.fi-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 320px;
    position: relative;
}

.fi-image-hermanek { background-image: url('../img/hermanek.png'); }
.fi-image-myrhovnik { background-image: url('../img/myrhovnik-hero.png'); }
.fi-image-vilin { background-image: url('../img/vilin-hero.png'); }

.fi-text {
    padding: 48px 56px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.fi-text .eyebrow { color: var(--color-primary-dark); margin-bottom: 10px; }

.fi-text h3 {
    font-size: clamp(1.6rem, 2.4vw, 2.1rem);
    color: var(--color-text);
    margin-bottom: 14px;
    font-weight: 500;
}

.fi-text p {
    font-size: 0.98rem;
    line-height: 1.65;
    color: var(--color-text-light);
    margin-bottom: 22px;
    max-width: 460px;
}

.fi-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.fi-tag {
    display: inline-block;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    background: rgba(90, 141, 58, 0.12);
    color: var(--color-primary-dark);
    font-size: 0.78rem;
    font-weight: 600;
    border: 1px solid rgba(90, 141, 58, 0.2);
}

/* Smaller ingredient grid (8 cards: 4 cols × 2 rows on desktop) */
.ing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 50px;
}

.ing-card {
    text-align: center;
    padding: 18px 14px 22px;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.ing-card:hover {
    background: var(--color-primary-pale);
    transform: translateY(-4px);
}

.ing-card-img {
    width: 100px;
    height: 100px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.ing-card-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--transition);
}

.ing-card:hover .ing-card-img img {
    transform: scale(1.08) rotate(-3deg);
}

.ing-card-icon i {
    font-size: 2.2rem;
    color: var(--color-primary);
    opacity: 0.7;
}

.ing-card h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 6px;
}

.ing-card p {
    font-size: 0.78rem;
    line-height: 1.45;
    color: var(--color-text-muted);
}

/* ==========================================================================
   CAPISSAN SECTION — full-viewport-width image, text overlaid on left
   ========================================================================== */
.capissan-section {
    position: relative;
    padding: 0;
    overflow: hidden;
    background:
        radial-gradient(ellipse 60% 50% at 80% 30%, rgba(255, 230, 200, 0.6) 0%, transparent 60%),
        linear-gradient(135deg, #fff5e9 0%, #fde8d2 50%, #fbdcc0 100%);
}

.capissan-image {
    position: relative;
    width: 100vw;
    z-index: 0;
}

.capissan-image img {
    display: block;
    width: 100vw;
    height: auto;
    object-fit: contain;
}

/* Left-side gradient mask so text stays readable over the artwork */
.capissan-section::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        to right,
        rgba(255, 245, 233, 0.94) 0%,
        rgba(255, 245, 233, 0.7) 25%,
        rgba(255, 245, 233, 0.25) 50%,
        rgba(255, 245, 233, 0) 70%
    );
    pointer-events: none;
}

/* Subtle bottom fade for transition */
.capissan-section::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 100px;
    z-index: 1;
    background: linear-gradient(to bottom, transparent, rgba(255, 245, 233, 0.7));
    pointer-events: none;
}

/* Text overlay anchored within container */
.capissan-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    padding: 100px 0 100px;
    z-index: 2;
    pointer-events: none;
}

.capissan-overlay .container {
    width: 100%;
    pointer-events: auto;
}

.capissan-text {
    max-width: 560px;
}

.capissan-text h2 { margin-bottom: 20px; line-height: 1.05; }
.capissan-text h2 em { color: var(--color-orange-dark); }
.capissan-text p { font-size: 1.02rem; margin-bottom: 24px; max-width: 480px; }

.check-list {
    margin-bottom: 32px;
    display: grid;
    gap: 12px;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.96rem;
    color: var(--color-text);
    font-weight: 500;
}

.check-list li i {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--color-orange);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    flex-shrink: 0;
}

/* ==========================================================================
   CAPISSAN INFO — detail section below the hero
   ========================================================================== */
.capissan-info {
    padding: 100px 0 110px;
    background: #ffffff;
    position: relative;
}

.capissan-info-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 56px;
}

.capissan-info-header h2 {
    font-size: clamp(1.9rem, 3.2vw, 2.6rem);
    line-height: 1.12;
    margin-bottom: 24px;
}

.capissan-info-header h2 em {
    color: var(--color-orange-dark);
}

.capissan-lead {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text-light);
    margin-bottom: 14px;
}

.capissan-lead strong {
    color: var(--color-orange-dark);
    font-weight: 600;
}

.capissan-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 60px;
}

.capissan-features,
.capissan-power {
    padding: 38px 38px 36px;
    border-radius: var(--radius-lg);
    background: linear-gradient(155deg, #fff8ed 0%, #fdf0dd 100%);
    border: 1px solid #fbe5c8;
    transition: var(--transition);
}

.capissan-features:hover,
.capissan-power:hover {
    box-shadow: 0 14px 40px rgba(180, 80, 20, 0.08);
    transform: translateY(-3px);
}

.card-eyebrow {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2.2px;
    text-transform: uppercase;
    color: var(--color-orange);
    margin-bottom: 10px;
}

.capissan-features h3,
.capissan-power h3 {
    font-size: clamp(1.3rem, 2vw, 1.55rem);
    line-height: 1.2;
    margin-bottom: 22px;
    color: var(--color-text);
    font-weight: 500;
}

.capissan-power h3 em {
    color: var(--color-orange-dark);
}

.capissan-feature-list {
    margin-bottom: 0;
}

.capissan-feature-list li {
    padding: 4px 0;
    font-size: 0.95rem;
    color: var(--color-text);
}

.capissan-feature-list li strong {
    color: var(--color-orange-dark);
    font-weight: 700;
}

.capissan-power p {
    font-size: 0.96rem;
    line-height: 1.7;
    color: var(--color-text-light);
    margin-bottom: 18px;
}

.capissan-power p strong {
    color: var(--color-orange-dark);
    font-weight: 600;
}

.capissan-natural-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.capissan-tag {
    display: inline-block;
    padding: 6px 13px;
    border-radius: var(--radius-full);
    background: rgba(232, 140, 58, 0.12);
    color: var(--color-orange-dark);
    font-size: 0.78rem;
    font-weight: 600;
    border: 1px solid rgba(232, 140, 58, 0.22);
}

/* Natural ingredient grid (12 cards) */
.capissan-naturals {
    margin-bottom: 60px;
}

.naturals-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 36px;
}

.naturals-header .card-eyebrow {
    display: block;
    margin-bottom: 10px;
}

.naturals-header h3 {
    font-size: clamp(1.4rem, 2.2vw, 1.7rem);
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 14px;
    color: var(--color-text);
}

.naturals-header p {
    font-size: 0.96rem;
    line-height: 1.65;
    color: var(--color-text-light);
}

.naturals-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.natural-card {
    text-align: center;
    padding: 22px 16px 24px;
    border-radius: var(--radius-md);
    background: linear-gradient(160deg, #fffaf3 0%, #fdf2e0 100%);
    border: 1px solid #fbe5c8;
    transition: var(--transition);
}

.natural-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(180, 80, 20, 0.1);
    border-color: rgba(232, 140, 58, 0.4);
}

.natural-card-img {
    width: 110px;
    height: 110px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
}

.natural-card-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--transition);
}

.natural-card:hover .natural-card-img img {
    transform: scale(1.08) rotate(-3deg);
}

.natural-card h4 {
    font-size: 0.96rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 4px;
}

.natural-latin {
    display: block;
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 0.82rem;
    color: var(--color-orange-dark);
    margin-bottom: 10px;
    font-weight: 500;
}

.natural-card p {
    font-size: 0.78rem;
    line-height: 1.5;
    color: var(--color-text-muted);
}

/* INCI accordion */
.capissan-inci {
    max-width: 1000px;
    margin: 0 auto;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--color-bg);
}

.capissan-inci summary {
    padding: 18px 26px;
    background: #fafaf7;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition);
    color: var(--color-text);
    font-size: 0.94rem;
}

.capissan-inci summary::-webkit-details-marker { display: none; }
.capissan-inci summary::marker { display: none; }

.capissan-inci summary:hover {
    background: var(--color-orange-pale);
}

.inci-summary-label {
    display: flex;
    align-items: center;
    gap: 12px;
}

.inci-summary-label i {
    color: var(--color-orange);
    font-size: 1rem;
}

.inci-chevron {
    color: var(--color-text-muted);
    font-size: 0.78rem;
    transition: transform 0.3s ease;
}

.capissan-inci[open] .inci-chevron {
    transform: rotate(180deg);
}

.inci-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding: 26px 28px 30px;
    border-top: 1px solid var(--color-border);
}

.inci-block h4 {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--color-orange-dark);
    margin-bottom: 10px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.inci-block p {
    font-size: 0.78rem;
    line-height: 1.7;
    color: var(--color-text-muted);
    word-break: break-word;
}

/* ==========================================================================
   CAPISSAN CARE — emotional full-width banner (parent & child moment)
   ========================================================================== */
.capissan-care {
    position: relative;
    padding: 0;
    overflow: hidden;
    background: #f3e9d7;
}

.capissan-care-image {
    position: relative;
    width: 100vw;
    z-index: 0;
}

.capissan-care-image img {
    display: block;
    width: 100vw;
    height: auto;
    object-fit: contain;
}

/* Warm cream gradient mask on left for text readability */
.capissan-care::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        to right,
        rgba(243, 233, 215, 0.92) 0%,
        rgba(243, 233, 215, 0.7) 22%,
        rgba(243, 233, 215, 0.28) 46%,
        rgba(243, 233, 215, 0) 65%
    );
    pointer-events: none;
}

/* Subtle bottom fade */
.capissan-care::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 100px;
    z-index: 1;
    background: linear-gradient(to bottom, transparent, rgba(243, 233, 215, 0.7));
    pointer-events: none;
}

.capissan-care-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    padding: 100px 0;
    z-index: 2;
    pointer-events: none;
}

.capissan-care-overlay .container {
    width: 100%;
    pointer-events: auto;
}

.capissan-care-text {
    max-width: 540px;
}

.capissan-care-text h2 {
    font-size: clamp(2rem, 3.6vw, 3rem);
    line-height: 1.1;
    margin-bottom: 22px;
    color: var(--color-text);
    font-weight: 500;
}

.capissan-care-text h2 em {
    color: var(--color-orange-dark);
    font-size: 1.06em;
}

.capissan-care-text p {
    font-size: 1.04rem;
    line-height: 1.7;
    color: var(--color-text-light);
    margin-bottom: 30px;
}

/* ==========================================================================
   STATS SECTION
   ========================================================================== */
.stats-section {
    padding: 90px 0;
    background: var(--color-primary-pale);
}

.stats-grid {
    display: grid;
    grid-template-columns: 0.95fr 2fr;
    gap: 56px;
    align-items: center;
}

.stats-text h2 {
    margin-bottom: 18px;
    line-height: 1.05;
}
.stats-text p { font-size: 0.98rem; margin-bottom: 14px; max-width: 320px; }

.stats-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.stat {
    text-align: center;
    padding: 22px 14px;
}

.stat-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 14px;
    color: var(--color-primary);
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.85;
}

.stat-num {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 2.6rem;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-num span { display: inline; }

.stat-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.1rem;
    line-height: 1.15;
    color: var(--color-text);
    margin-bottom: 8px;
}

.stat-lbl {
    font-size: 0.82rem;
    color: var(--color-text-light);
    line-height: 1.4;
}

/* ==========================================================================
   RITUAL SECTION
   ========================================================================== */
.ritual-section {
    padding: 90px 0;
    background: var(--color-bg);
}

.ritual-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
}

.ritual-text h2 { margin-bottom: 36px; line-height: 1.05; }

.ritual-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.ritual-step {
    padding-top: 16px;
    border-top: 2px solid var(--color-primary-soft);
}

.ritual-num {
    display: inline-block;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.6rem;
    color: var(--color-primary);
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.ritual-step h4 {
    font-size: 1rem;
    color: var(--color-text);
    margin-bottom: 8px;
    font-weight: 600;
}

.ritual-step p {
    font-size: 0.84rem;
    line-height: 1.55;
    color: var(--color-text-light);
}

.ritual-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/5;
    box-shadow: var(--shadow-lg);
}

.ritual-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ==========================================================================
   REVIEWS SECTION
   ========================================================================== */
.reviews-section {
    padding: 90px 0;
    background: var(--color-pink-pale);
}

.reviews-grid {
    display: grid;
    grid-template-columns: 0.85fr 2.15fr;
    gap: 56px;
    align-items: center;
}

.reviews-text h2 { margin-bottom: 16px; line-height: 1.05; }
.reviews-text p { font-size: 0.98rem; margin-bottom: 14px; max-width: 280px; }
.reviews-source {
    display: inline-block;
    font-size: 0.8rem;
    color: var(--color-text-muted);
    font-style: italic;
}

.reviews-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.review-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    padding: 22px 22px 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    color: inherit;
    text-decoration: none;
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.review-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.review-product-img {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-soft);
    border-radius: 12px;
    padding: 6px;
}

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

.review-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.review-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    color: #fff;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.62rem;
    line-height: 1;
}
.review-num-green { background: var(--color-primary); }
.review-num-orange { background: var(--color-orange); }
.review-num-blue { background: var(--color-blue); }

.review-info h4 {
    font-size: 1.02rem;
    color: var(--color-text);
    font-weight: 600;
    line-height: 1.2;
}

.review-product-line {
    display: block;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--color-text-muted);
    letter-spacing: 0.2px;
    margin-top: 2px;
}

.review-stars {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 6px;
    color: #ffb84d;
    font-size: 0.95rem;
}

.review-stars strong {
    color: var(--color-text);
    font-family: var(--font-display);
    margin-left: 8px;
    font-size: 0.95rem;
}

.review-meta {
    font-size: 0.78rem;
    color: var(--color-text-muted);
    display: block;
    margin-bottom: 14px;
}

.review-quotes {
    border-top: 1px dashed var(--color-border);
    padding-top: 12px;
    flex-grow: 1;
    margin-bottom: 14px;
}

.review-quotes li {
    font-size: 0.82rem;
    color: var(--color-text-light);
    line-height: 1.5;
    padding: 4px 0;
    font-style: italic;
}

.review-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--color-primary);
    padding-top: 6px;
    margin-top: auto;
    transition: var(--transition);
}

.review-link svg {
    width: 14px;
    height: 14px;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.review-card:hover .review-link {
    color: var(--color-primary-dark);
}

.review-card:hover .review-link svg {
    transform: translateX(5px);
}

/* ==========================================================================
   WHERE TO BUY
   ========================================================================== */
.buy-section {
    padding: 90px 0 100px;
    background: var(--color-bg);
}

.buy-header {
    margin-bottom: 36px;
    text-align: left;
}

.buy-header h2 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    line-height: 1.1;
}

.buy-featured {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.buy-featured-card {
    position: relative;
    display: block;
    padding: 32px 32px 28px;
    border-radius: var(--radius-lg);
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    overflow: hidden;
    transition: var(--transition);
    color: inherit;
}

.buy-featured-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.buy-featured-tag {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: var(--radius-full);
    margin-bottom: 18px;
    background: linear-gradient(135deg, #ff7a00, var(--color-orange-dark));
    color: #fff;
    box-shadow: 0 3px 10px rgba(232, 93, 4, 0.22);
}

.buy-featured-tag.tag-green {
    background: linear-gradient(135deg, var(--color-secondary-green-light), var(--color-secondary-green));
    box-shadow: 0 3px 10px rgba(90, 141, 58, 0.22);
}

.buy-featured-tag.tag-pink {
    background: linear-gradient(135deg, #f06292, #c2185b);
    box-shadow: 0 3px 10px rgba(194, 24, 91, 0.22);
}

.buy-featured-logo {
    margin-bottom: 16px;
    line-height: 1;
    display: flex;
    align-items: center;
    min-height: 36px;
}

.buy-featured-logo-img {
    height: auto;
    width: auto;
    display: block;
}

.benu-logo-img {
    height: 36px;
}

.heureka-logo-img {
    height: 28px;
}

.fagron-logo-img {
    height: 26px;
}

/* Pink hover accent for Benu link */
.buy-featured-benu .buy-featured-link {
    color: #c2185b;
}

.buy-featured-benu:hover .buy-featured-link {
    color: #ad1457;
}

.buy-featured-card h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--color-text);
}

.buy-featured-card p {
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--color-text-light);
    margin-bottom: 16px;
    max-width: 440px;
}

.buy-featured-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--color-primary);
    transition: var(--transition);
}

.buy-featured-heureka .buy-featured-link {
    color: var(--color-orange-dark);
}

.buy-featured-link svg {
    width: 14px;
    height: 14px;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.buy-featured-card:hover .buy-featured-link svg {
    transform: translateX(5px);
}

/* Secondary buy cards */
.buy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.buy-card {
    padding: 28px 26px;
    border-radius: var(--radius-md);
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    transition: var(--transition);
}

.buy-card:hover {
    border-color: rgba(90, 141, 58, 0.3);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.buy-card-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--color-primary-soft);
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    margin-bottom: 14px;
    transition: var(--transition);
}

.buy-card:hover .buy-card-icon {
    background: var(--color-primary);
    color: #fff;
    transform: rotate(-4deg);
}

.buy-card h3 {
    font-size: 1.05rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.buy-card p {
    font-size: 0.86rem;
    line-height: 1.6;
    color: var(--color-text-light);
    margin-bottom: 18px;
}

/* ==========================================================================
   PHARMACY MAP (SÚKL data, Leaflet)
   ========================================================================== */
.pharmacy-map-block {
    margin-top: 56px;
    padding-top: 56px;
    border-top: 1px solid var(--color-border);
}

.pharmacy-map-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 28px;
}

.pharmacy-map-header .eyebrow {
    margin-bottom: 8px;
}

.pharmacy-map-header h3 {
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    line-height: 1.15;
    font-weight: 500;
    margin-bottom: 12px;
    color: var(--color-text);
}

.pharmacy-map-header h3 em {
    color: var(--color-primary-dark);
}

.pharmacy-map-header p {
    font-size: 0.96rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

.pharmacy-map {
    position: relative;
    width: 100%;
    height: 540px;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--color-border);
    background: var(--color-bg-soft);
    box-shadow: var(--shadow-sm);
}

.pharmacy-map-loading {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: var(--color-bg-soft);
    color: var(--color-text-light);
    z-index: 401;
    font-size: 0.95rem;
    font-weight: 500;
    text-align: center;
    padding: 20px;
}

.pharmacy-map-loading i {
    color: var(--color-primary);
    font-size: 1.4rem;
}

.pharmacy-map-loading a {
    color: var(--color-primary);
    text-decoration: underline;
}

.pharmacy-map-source {
    text-align: right;
    font-size: 0.78rem;
    color: var(--color-text-muted);
    margin-top: 12px;
}

.pharmacy-map-source a {
    color: var(--color-primary);
    text-decoration: underline;
}

/* Custom map marker */
.pharmacy-marker {
    background: transparent !important;
    border: none !important;
}

.pharmacy-marker svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.25));
}

/* Cluster styling — match brand greens */
.marker-cluster-small,
.marker-cluster-medium,
.marker-cluster-large {
    background-color: rgba(126, 170, 86, 0.35);
}
.marker-cluster-small div,
.marker-cluster-medium div,
.marker-cluster-large div {
    background-color: var(--color-primary);
    color: #fff;
    font-family: var(--font-display);
    font-weight: 600;
}

/* Popup styling */
.leaflet-popup-content-wrapper {
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(40, 60, 30, 0.18);
}

.leaflet-popup-content {
    margin: 14px 16px;
    line-height: 1.5;
}

.pharmacy-popup strong {
    display: block;
    font-family: var(--font-display);
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 6px;
}

.pharmacy-popup div {
    font-size: 0.84rem;
    color: var(--color-text-light);
    margin-bottom: 3px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.pharmacy-popup div i {
    color: var(--color-primary);
    width: 12px;
    font-size: 0.78rem;
    flex-shrink: 0;
}

.pharmacy-popup a {
    color: var(--color-primary);
    text-decoration: underline;
}

.pharmacy-popup a:hover {
    color: var(--color-primary-dark);
}

@media (max-width: 820px) {
    .pharmacy-map { height: 420px; }
    .pharmacy-map-block { margin-top: 40px; padding-top: 40px; }
}

/* ==========================================================================
   CROSS-PROMO BANNER (Capillan ↔ Capissan)
   ========================================================================== */
.cross-promo {
    padding: 80px 0;
    background: linear-gradient(135deg, #fff5e9 0%, #fde8d2 100%);
    position: relative;
    overflow: hidden;
}

.cross-promo-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 50px;
    align-items: center;
}

.cross-promo-text h2 {
    font-size: clamp(1.6rem, 2.6vw, 2.2rem);
    line-height: 1.15;
    margin-bottom: 16px;
}

.cross-promo-text h2 em {
    color: var(--color-orange-dark);
}

.cross-promo-text p {
    font-size: 1rem;
    line-height: 1.65;
    color: var(--color-text-light);
    margin-bottom: 24px;
    max-width: 480px;
}

.cross-promo-image img {
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
    filter: drop-shadow(0 18px 40px rgba(180, 80, 20, 0.18));
}

/* Green variant (for Capissan.cz pointing back to Capillan.cz) */
.cross-promo-green {
    background: linear-gradient(135deg, #f3f7ec 0%, #e8efe0 100%);
}
.cross-promo-green .cross-promo-text h2 em { color: var(--color-secondary-green-dark); }
.cross-promo-green .cross-promo-image img { filter: drop-shadow(0 18px 40px rgba(40, 60, 30, 0.18)); }
/* Cross-promo green button: green primary instead of orange */
.cross-promo-green .btn-primary {
    background: var(--color-secondary-green);
    border-color: var(--color-secondary-green);
    box-shadow: 0 6px 18px rgba(90, 141, 58, 0.22);
}
.cross-promo-green .btn-primary:hover {
    background: var(--color-secondary-green-dark);
    border-color: var(--color-secondary-green-dark);
    box-shadow: 0 10px 26px rgba(90, 141, 58, 0.32);
}

@media (max-width: 1100px) {
    .cross-promo-grid { grid-template-columns: 1fr; gap: 30px; text-align: center; }
    .cross-promo-text p { margin-left: auto; margin-right: auto; }
}
@media (max-width: 820px) {
    .cross-promo { padding: 60px 0; }
    .cross-promo-image img { max-width: 240px; }
}

/* External-site nav link icon */
.nav-link-cross i {
    font-size: 0.65rem;
    margin-left: 4px;
    opacity: 0.6;
}

/* ==========================================================================
   FOOTER — full-viewport-width image, content overlaid
   ========================================================================== */
.footer {
    position: relative;
    overflow: hidden;
    padding: 0;
    background: #14201a;
    color: rgba(255, 255, 255, 0.85);
}

.footer-image {
    position: relative;
    width: 100vw;
    z-index: 0;
}

.footer-image img {
    display: block;
    width: 100vw;
    height: auto;
    object-fit: contain;
}

/* Dark gradient overlay so footer text is readable on top of artwork */
.footer::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        180deg,
        rgba(20, 32, 26, 0.35) 0%,
        rgba(20, 32, 26, 0.65) 45%,
        rgba(20, 32, 26, 0.92) 100%
    );
    pointer-events: none;
}

.footer-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 80px 0 24px;
}

.footer-overlay .container {
    width: 100%;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 36px;
}

.footer-brand p {
    font-size: 0.86rem;
    line-height: 1.65;
    opacity: 0.7;
    margin-top: 18px;
    color: rgba(255,255,255,0.7);
}

.footer-logo-img {
    height: 50px;
    width: auto;
    margin-bottom: 8px;
    filter: brightness(0) invert(1);
    opacity: 0.92;
}

.footer-links h4,
.footer-contact h4 {
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

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

.footer-links a {
    font-size: 0.86rem;
    color: rgba(255,255,255,0.6);
    transition: var(--transition);
}
.footer-links a:hover {
    color: #b9d99a;
    padding-left: 4px;
}

.footer-contact p {
    font-size: 0.86rem;
    margin-bottom: 6px;
    color: rgba(255,255,255,0.65);
}

.footer-contact a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.7);
}
.footer-contact a:hover { color: #b9d99a; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.76rem;
    color: rgba(255,255,255,0.45);
}

.footer-bottom a { color: rgba(255,255,255,0.6); }
.footer-bottom a:hover { color: #fff; }

/* ==========================================================================
   BACK TO TOP
   ========================================================================== */
.back-to-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 22px rgba(90, 141, 58, 0.32);
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--color-primary-dark);
    transform: translateY(-4px);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1100px) {
    /* Strengthen overlay so text stays readable when image fills viewport */
    .hero::before {
        background: linear-gradient(
            to right,
            rgba(243, 247, 236, 0.96) 0%,
            rgba(243, 247, 236, 0.78) 50%,
            rgba(243, 247, 236, 0.55) 100%
        );
    }

    .trustbar-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
    .trustbar-grid .trust-item:nth-child(4),
    .trustbar-grid .trust-item:nth-child(5) { grid-column: span 1; }

    .products-grid { grid-template-columns: 1fr; gap: 36px; text-align: center; }
    .products-intro p { margin-left: auto; margin-right: auto; }
    .products-cards { grid-template-columns: repeat(3, 1fr); }

    .ingredients-header { grid-template-columns: 1fr; gap: 16px; text-align: left; }

    .featured-ingredient,
    .featured-ingredient-reverse { grid-template-columns: 1fr; }
    .featured-ingredient .fi-image,
    .featured-ingredient-reverse .fi-image { min-height: 260px; order: 1; }
    .featured-ingredient .fi-text,
    .featured-ingredient-reverse .fi-text { order: 2; padding: 32px 30px; }

    .ing-grid { grid-template-columns: repeat(3, 1fr); }

    /* Strengthen overlay so capissan text stays readable */
    .capissan-section::before {
        background: linear-gradient(
            to right,
            rgba(255, 245, 233, 0.95) 0%,
            rgba(255, 245, 233, 0.78) 50%,
            rgba(255, 245, 233, 0.55) 100%
        );
    }

    /* Capissan info section — stack to single column */
    .capissan-info-grid { grid-template-columns: 1fr; gap: 22px; }
    .inci-grid { grid-template-columns: 1fr; gap: 22px; }
    .naturals-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }

    /* Capissan care — strengthen overlay so text stays readable */
    .capissan-care::before {
        background: linear-gradient(
            to right,
            rgba(243, 233, 215, 0.95) 0%,
            rgba(243, 233, 215, 0.75) 50%,
            rgba(243, 233, 215, 0.5) 100%
        );
    }

    .stats-grid { grid-template-columns: 1fr; gap: 36px; }

    .ritual-grid { grid-template-columns: 1fr; gap: 36px; }
    .ritual-image { max-width: 520px; margin: 0 auto; aspect-ratio: 4/3; }

    .reviews-grid { grid-template-columns: 1fr; gap: 36px; }

    .buy-featured { grid-template-columns: 1fr; gap: 18px; }
    .buy-grid { grid-template-columns: 1fr; }

    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}

@media (max-width: 820px) {
    .nav-toggle { display: flex; }
    .nav-menu {
        position: fixed;
        top: 0; right: -100%;
        width: 280px;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        padding: 100px 24px 24px;
        gap: 4px;
        box-shadow: -8px 0 32px rgba(0,0,0,0.08);
        transition: right 0.32s ease;
        z-index: 1000;
    }
    .nav-menu.active { right: 0; }
    .nav-menu .nav-link { padding: 14px 16px; font-size: 1rem; }
    .nav-actions .nav-icon-btn { display: none; }
    .nav-cta { padding: 8px 16px; font-size: 0.82rem; }
    .nav-logo-img { height: 44px; }
    .navbar.scrolled .nav-logo-img { height: 38px; }

    .container { padding: 0 20px; }

    .hero-overlay { padding: 110px 0 80px; }
    .hero-text h1 { font-size: 2.1rem; }
    .hero-text { max-width: 100%; }
    /* Stronger overlay on mobile for full readability */
    .hero::before {
        background: linear-gradient(
            to bottom,
            rgba(243, 247, 236, 0.92) 0%,
            rgba(243, 247, 236, 0.6) 60%,
            rgba(243, 247, 236, 0.2) 100%
        );
    }

    .capissan-overlay { padding: 80px 0 80px; }
    .capissan-text { max-width: 100%; }
    .capissan-section::before {
        background: linear-gradient(
            to bottom,
            rgba(255, 245, 233, 0.93) 0%,
            rgba(255, 245, 233, 0.6) 60%,
            rgba(255, 245, 233, 0.2) 100%
        );
    }

    .capissan-info { padding: 70px 0 80px; }
    .capissan-features,
    .capissan-power { padding: 28px 22px; }
    .capissan-inci summary { padding: 16px 18px; font-size: 0.86rem; }
    .inci-grid { padding: 22px 18px 24px; }
    .naturals-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .natural-card { padding: 18px 12px 20px; }
    .natural-card-img { width: 96px; height: 96px; }

    .capissan-care-overlay { padding: 70px 0; }
    .capissan-care-text { max-width: 100%; }
    .capissan-care::before {
        background: linear-gradient(
            to bottom,
            rgba(243, 233, 215, 0.93) 0%,
            rgba(243, 233, 215, 0.6) 60%,
            rgba(243, 233, 215, 0.2) 100%
        );
    }

    .btn { padding: 12px 22px; font-size: 0.85rem; }

    .trustbar-grid { grid-template-columns: 1fr 1fr; }
    .trust-item { font-size: 0.78rem; }
    .trust-item i { font-size: 1.2rem; }

    .products-cards { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; }
    .ing-grid { grid-template-columns: repeat(2, 1fr); }

    .stats-items { grid-template-columns: repeat(2, 1fr); }
    .stat-num { font-size: 2.2rem; }

    .ritual-steps { grid-template-columns: 1fr; gap: 14px; }

    .reviews-cards { grid-template-columns: 1fr; }

    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-logo-img { margin: 0 auto 8px; }

    /* On mobile the footer image gets very short – keep readable with stronger overlay
       and ensure footer has minimum height for content */
    .footer { min-height: 700px; }
    .footer::before {
        background: linear-gradient(
            180deg,
            rgba(20, 32, 26, 0.55) 0%,
            rgba(20, 32, 26, 0.85) 50%,
            rgba(20, 32, 26, 0.96) 100%
        );
    }
    .footer-overlay { padding: 50px 0 20px; }

    .fi-text { padding: 26px 22px; }
}

@media (max-width: 480px) {
    .trustbar-grid { grid-template-columns: 1fr; }
    .ing-grid { grid-template-columns: 1fr 1fr; }
    .stats-items { grid-template-columns: 1fr 1fr; }
    .hero-cta-row { flex-direction: column; align-items: stretch; }
    .hero-cta-row .btn { width: 100%; }
    .hero-text h1 { font-size: 1.85rem; }
    h2 { font-size: 1.7rem; }
}
