/* Products — cocoa gradations table (actaingredient-style) */
.cocoa-spec-section {
    background: linear-gradient(180deg, #eef1f4 0%, #e8ecf0 100%);
}

.cocoa-spec-table {
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(66, 53, 42, 0.08);
}

.cocoa-spec-head {
    background-color: #42352a;
    color: #fff;
    font-family: var(--font-ui, "Open Sans", system-ui, sans-serif);
    font-weight: 600;
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

@media (min-width: 768px) {
    .cocoa-spec-head {
        font-size: 0.75rem;
    }
}

.cocoa-spec-row {
    background: rgba(255, 255, 255, 0.92);
    border-top: 2px solid #3d8f5a;
    font-family: var(--font-ui, "Open Sans", system-ui, sans-serif);
    font-size: 0.8125rem;
    color: #37474f;
}

@media (min-width: 768px) {
    .cocoa-spec-row {
        font-size: 0.875rem;
    }
}

.cocoa-spec-row:hover {
    background: #fafcfb;
}

.cocoa-thumb {
    width: 3.25rem;
    height: 3.25rem;
    flex-shrink: 0;
    border-radius: 0.35rem;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.9);
    outline: 1px solid rgba(66, 53, 42, 0.08);
    overflow: hidden;
}

@media (min-width: 768px) {
    .cocoa-thumb {
        width: 3.75rem;
        height: 3.75rem;
        border-radius: 0.4rem;
    }
}

.cocoa-thumb__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.cert-pill {
    border: 2px solid #3d8f5a;
    background: #f5f7f6;
    color: #1a1a1a;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.65rem 1.5rem;
    border-radius: 9999px;
    font-family: var(--font-ui, "Open Sans", system-ui, sans-serif);
}

/* Blog article body (CMS HTML) */
.prose-blog {
    color: var(--color-text-soft);
}
.prose-blog p {
    margin-bottom: 1rem;
    line-height: 1.8;
}
.prose-blog h2,
.prose-blog h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-text);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}
.prose-blog h2 {
    font-size: 1.5rem;
}
.prose-blog h3 {
    font-size: 1.25rem;
}
.prose-blog ul,
.prose-blog ol {
    margin: 1rem 0 1rem 1.25rem;
    padding-left: 0.5rem;
}
.prose-blog li {
    margin-bottom: 0.35rem;
}
.prose-blog a {
    color: var(--color-brown);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.prose-blog a:hover {
    color: var(--color-brown-muted);
}
.prose-blog blockquote {
    border-left: 4px solid var(--color-cream-deep);
    padding-left: 1rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: var(--color-text-soft);
}

/* ACTA Cocoa — design tokens & Bell-inspired layout */
:root {
    --color-bg: #ffffff;
    --color-cream: #f5f0e6;
    --color-cream-deep: #ebe3d4;
    --color-brown: #42352a;
    --color-brown-muted: #5c4d42;
    --color-text: #3d332c;
    --color-text-soft: #6b5e54;
    --font-heading: "Montserrat", "Poppins", system-ui, sans-serif;
    --font-body: "Lora", "Open Sans", Georgia, serif;
    --font-ui: "Open Sans", system-ui, sans-serif;
}

.font-heading {
    font-family: var(--font-heading);
}

.font-body {
    font-family: var(--font-body);
}

.font-ui {
    font-family: var(--font-ui);
}

.text-body-color {
    color: var(--color-text);
}

.text-soft {
    color: var(--color-text-soft);
}

/* Hero canvas (cocoa / chocolate particles) */
.hero-bg-photo {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-bg-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-canvas-wrap {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0.18;
}

.hero-canvas-wrap canvas {
    width: 100%;
    height: 100%;
    display: block;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    z-index: 2;
    /* Dark chocolate veil on left (text); fades right so photo stays visible */
    background: linear-gradient(
        118deg,
        rgba(22, 16, 12, 0.94) 0%,
        rgba(36, 27, 20, 0.82) 30%,
        rgba(52, 40, 30, 0.55) 55%,
        rgba(66, 53, 42, 0.18) 78%,
        rgba(30, 22, 16, 0.06) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 3;
}

#home .hero-content h1,
#home .hero-content .hero-animate-title {
    color: #f5f0e6;
}

#home .hero-content .hero-animate-lead {
    color: rgba(235, 227, 212, 0.88);
}

#home .hero-content .btn-cta-ghost {
    border-color: rgba(245, 240, 230, 0.75);
    color: #f5f0e6;
}

#home .hero-content .btn-cta-ghost:hover {
    background: rgba(245, 240, 230, 0.1);
    color: #fff;
}

#home .hero-scroll-hint {
    color: rgba(245, 240, 230, 0.45);
}

/* Inner pages — full-bleed photo + readable content panel */
.inner-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border-bottom: 1px solid rgba(66, 53, 42, 0.12);
    min-height: min(52vh, 420px);
}

.inner-hero__backdrop {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.inner-hero__backdrop-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.1);
    filter: blur(14px);
}

@media (prefers-reduced-motion: reduce) {
    .inner-hero__backdrop-img {
        filter: none;
        transform: scale(1.04);
    }
}

/* Stronger dark overlay + centre weight for white content panel */
.inner-hero__shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        radial-gradient(
            ellipse 85% 92% at 50% 48%,
            rgba(10, 8, 6, 0.72) 0%,
            rgba(10, 8, 6, 0.38) 44%,
            rgba(10, 8, 6, 0.16) 66%,
            transparent 78%
        ),
        linear-gradient(
            168deg,
            rgba(22, 18, 14, 0.62) 0%,
            rgba(52, 42, 35, 0.52) 50%,
            rgba(14, 11, 9, 0.7) 100%
        );
}

.inner-hero__vignette {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    box-shadow: inset 0 0 min(120px, 20vw) rgba(0, 0, 0, 0.48);
}

.inner-hero__card {
    position: relative;
    z-index: 0;
    text-align: center;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(252, 249, 245, 0.99) 100%);
    border: 1px solid rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow:
        0 2px 4px rgba(66, 53, 42, 0.03),
        0 26px 52px -24px rgba(0, 0, 0, 0.62),
        inset 0 1px 0 rgba(255, 255, 255, 1);
}

.inner-hero__card::before {
    content: "";
    position: absolute;
    inset: clamp(-20px, -3vw, -12px);
    border-radius: 1.55rem;
    z-index: -1;
    opacity: 0.9;
    filter: blur(18px);
    background: radial-gradient(ellipse 72% 92% at 50% 52%, rgba(0, 0, 0, 0.42), transparent 70%);
    pointer-events: none;
}

.inner-hero__card-accent {
    pointer-events: none;
    position: absolute;
    z-index: 2;
    width: 2.75rem;
    height: 2.75rem;
    border-color: rgba(66, 53, 42, 0.16);
    border-style: solid;
}

.inner-hero__card-accent--tl {
    top: 0;
    left: 0;
    border-width: 2px 0 0 2px;
    border-radius: 1.125rem 0 0 0;
}

.inner-hero__card-accent--br {
    bottom: 0;
    right: 0;
    border-width: 0 2px 2px 0;
    border-radius: 0 0 1.125rem 0;
}

.inner-hero__kicker {
    color: #4a3f36;
    letter-spacing: 0.22em;
}

.inner-hero__rule {
    height: 3px;
    width: 3.25rem;
    max-width: 100%;
    border-radius: 9999px;
    background: linear-gradient(90deg, transparent, rgba(66, 53, 42, 0.45), rgba(66, 53, 42, 0.2), transparent);
}

.inner-hero__title {
    color: #2a221c;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.85);
}

.inner-hero__lead {
    color: #4d443c;
}

.inner-hero .inner-hero__article-meta {
    margin-top: 1.25rem;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    font-family: var(--font-ui);
    font-size: 0.9rem;
    color: #5a524a;
}

/* About page — mission: blurred photo + strong overlay + nav-style glass strip */
.about-mission {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding-top: 4.25rem;
    padding-bottom: 4.5rem;
    border-top: 1px solid rgba(66, 53, 42, 0.08);
}

@media (min-width: 768px) {
    .about-mission {
        padding-top: 5rem;
        padding-bottom: 5.25rem;
    }
}

.about-mission__backdrop {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.about-mission__backdrop-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.12);
    filter: blur(18px);
}

@media (prefers-reduced-motion: reduce) {
    .about-mission__backdrop-img {
        filter: none;
        transform: scale(1.04);
    }
}

.about-mission__shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        radial-gradient(
            ellipse 90% 98% at 50% 52%,
            rgba(6, 5, 4, 0.78) 0%,
            rgba(6, 5, 4, 0.42) 48%,
            rgba(6, 5, 4, 0.18) 72%,
            transparent 84%
        ),
        linear-gradient(168deg, rgba(14, 11, 9, 0.72) 0%, rgba(38, 30, 25, 0.58) 52%, rgba(10, 8, 6, 0.76) 100%);
}

.about-mission__vignette {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    box-shadow: inset 0 0 min(128px, 22vw) rgba(0, 0, 0, 0.52);
}

.about-mission__panel {
    position: relative;
    z-index: 2;
    max-width: 72rem;
    margin-left: auto;
    margin-right: auto;
    padding: clamp(1.5rem, 3.8vw, 2.25rem) clamp(1.35rem, 3.6vw, 2.75rem);
    border-radius: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: linear-gradient(
        125deg,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(66, 53, 42, 0.25) 40%,
        rgba(255, 255, 255, 0.06) 100%
    );
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    box-shadow:
        0 4px 6px rgba(0, 0, 0, 0.12),
        0 28px 60px rgba(0, 0, 0, 0.38),
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        inset 0 0 0 1px rgba(66, 53, 42, 0.15);
}

.about-mission__glow-dot {
    position: absolute;
    pointer-events: none;
    border-radius: 9999px;
}

.about-mission__glow-dot--tl {
    top: -0.25rem;
    left: 1rem;
    width: 0.65rem;
    height: 0.65rem;
    background: rgba(255, 255, 255, 0.25);
}

.about-mission__glow-dot--br {
    bottom: -0.2rem;
    right: 1.5rem;
    width: 0.55rem;
    height: 0.55rem;
    background: rgba(255, 255, 255, 0.18);
}

.about-mission__frame-corner {
    position: absolute;
    pointer-events: none;
    border-color: rgba(255, 255, 255, 0.28);
    border-style: solid;
    width: 2.75rem;
    height: 2.75rem;
}

.about-mission__frame-corner--tl {
    top: 0;
    left: 0;
    border-width: 2px 0 0 2px;
    border-radius: 1.25rem 0 0 0;
}

.about-mission__frame-corner--br {
    bottom: 0;
    right: 0;
    border-width: 0 2px 2px 0;
    border-radius: 0 0 1.25rem 0;
}

.about-mission__layout {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .about-mission__layout {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 3rem;
    }
}

.about-mission__copy {
    flex: 1;
    min-width: min(100%, 20rem);
    text-align: center;
}

@media (min-width: 1024px) {
    .about-mission__copy {
        text-align: left;
        padding-right: 0.5rem;
    }
}

.about-mission__kicker {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.6875rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: rgba(255, 247, 240, 0.72);
    margin-bottom: 0.65rem;
}

.about-mission__head {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(1.875rem, 3.8vw, 2.375rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: rgba(255, 251, 247, 0.98);
    text-shadow: 0 1px 28px rgba(0, 0, 0, 0.45);
}

.about-mission__lead {
    font-family: var(--font-body);
    margin-top: 0.875rem;
    font-size: 1rem;
    line-height: 1.62;
    color: rgba(255, 246, 236, 0.86);
}

@media (min-width: 768px) {
    .about-mission__lead {
        font-size: 1.0625rem;
    }
}

.about-mission__metrics {
    flex-shrink: 0;
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.65rem;
}

@media (min-width: 640px) {
    .about-mission__metrics {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .about-mission__metrics {
        display: inline-flex;
        flex-direction: row;
        gap: 0.75rem;
        max-width: none;
        flex-wrap: wrap;
        justify-content: center;
    }
}

.about-mission__chip {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    padding: 0.85rem 1rem;
    border-radius: 0.875rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

@media (min-width: 1024px) {
    .about-mission__chip {
        min-width: 7.75rem;
    }
}

.about-mission__chip-val {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(1.5rem, 3.2vw, 1.85rem);
    line-height: 1.05;
    color: rgba(255, 251, 248, 0.98);
}

.about-mission__chip-label {
    font-family: var(--font-ui);
    font-size: 0.625rem;
    font-weight: 600;
    line-height: 1.35;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-align: center;
    color: rgba(255, 245, 235, 0.68);
}

@keyframes hero-fade-up {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes hero-fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.hero-animate-title {
    animation: hero-fade-up 1s ease-out 0.15s both;
}

.hero-animate-lead {
    animation: hero-fade-up 1s ease-out 0.45s both;
}

.hero-animate-cta {
    animation: hero-fade-up 1s ease-out 0.7s both;
}

/* CTA: dark brown, hover cream */
.btn-cta-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 1.75rem;
    font-family: var(--font-ui);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    color: #fff;
    background-color: var(--color-brown);
    border-radius: 9999px;
    border: 2px solid var(--color-brown);
    box-shadow: 0 8px 24px rgba(66, 53, 42, 0.2);
    transition: background-color 0.35s ease, color 0.35s ease, border-color 0.35s ease,
        box-shadow 0.35s ease, transform 0.25s ease;
}

.btn-cta-primary:hover {
    background-color: var(--color-cream);
    color: var(--color-brown);
    border-color: var(--color-cream-deep);
    box-shadow: 0 12px 32px rgba(66, 53, 42, 0.12);
    transform: translateY(-2px);
}

.btn-cta-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 1.75rem;
    font-family: var(--font-ui);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 9999px;
    border: 2px solid var(--color-brown);
    color: var(--color-brown);
    background: transparent;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.25s ease;
}

.btn-cta-ghost:hover {
    background: rgba(66, 53, 42, 0.06);
    transform: translateY(-2px);
}

/* Corporate contact strip — homepage & contact page */
.contact-strip__panel {
    position: relative;
    max-width: 58rem;
    margin-inline: auto;
    padding: 0;
    background: #fff;
    border: 1px solid rgba(66, 53, 42, 0.1);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow:
        0 20px 50px rgba(66, 53, 42, 0.07),
        0 4px 14px rgba(66, 53, 42, 0.04);
}

.contact-strip__panel--page {
    max-width: 54rem;
}

.contact-strip__accent {
    height: 4px;
    background: linear-gradient(90deg, #2e241c 0%, #42352a 50%, #6b5e54 100%);
}

.contact-strip__header {
    padding: 2.25rem 2rem 1.75rem;
    text-align: center;
    border-bottom: 1px solid rgba(66, 53, 42, 0.08);
    background: linear-gradient(180deg, #fdfbf8 0%, #fff 100%);
}

.contact-strip__kicker {
    font-family: var(--font-ui);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(66, 53, 42, 0.5);
    margin-bottom: 0.5rem;
}

.contact-strip__title {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 2.8vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--color-brown);
    margin-bottom: 0.65rem;
}

.contact-strip__lead {
    font-family: var(--font-ui);
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--color-text-soft);
    max-width: 32rem;
    margin-inline: auto;
}

.contact-strip__grid {
    display: grid;
    gap: 0;
}

@media (min-width: 768px) {
    .contact-strip__header {
        padding: 2.75rem 3rem 2rem;
    }

    .contact-strip__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.contact-strip__card {
    position: relative;
    padding: 1.75rem 1.75rem 2rem;
    text-align: center;
    transition: background-color 0.25s ease;
}

.contact-strip__card:hover {
    background: rgba(245, 240, 230, 0.45);
}

@media (min-width: 768px) {
    .contact-strip__card {
        padding: 2rem 1.5rem 2.25rem;
    }

    .contact-strip__card:not(:last-child)::after {
        content: "";
        position: absolute;
        top: 1.75rem;
        right: 0;
        bottom: 1.75rem;
        width: 1px;
        background: rgba(66, 53, 42, 0.1);
    }
}

@media (max-width: 767px) {
    .contact-strip__card:not(:last-child) {
        border-bottom: 1px solid rgba(66, 53, 42, 0.08);
    }
}

.contact-strip__card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    margin-bottom: 1rem;
    border-radius: 50%;
    background: linear-gradient(145deg, #f5f0e6, #ebe3d4);
    color: var(--color-brown);
    font-size: 1rem;
    border: 1px solid rgba(66, 53, 42, 0.08);
    box-shadow: 0 4px 12px rgba(66, 53, 42, 0.06);
}

.contact-strip__label {
    font-family: var(--font-heading);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-brown);
    margin-bottom: 0.75rem;
}

.contact-strip__value {
    font-family: var(--font-ui);
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--color-text-soft);
}

.contact-strip__stack {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    align-items: center;
}

.contact-strip__value a {
    color: var(--color-brown);
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-strip__value a:hover {
    color: #2a2018;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.contact-strip__footer {
    padding: 1rem 1.5rem;
    text-align: center;
    border-top: 1px solid rgba(66, 53, 42, 0.08);
    background: #faf8f5;
}

.contact-strip__whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    font-family: var(--font-ui);
    font-size: 0.8125rem;
    font-weight: 600;
    color: #1a7a3a;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-strip__whatsapp i {
    font-size: 1.1rem;
}

.contact-strip__whatsapp:hover {
    color: #146b31;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Certificates — site-wide compliance strip */
.certificates-section {
    padding: 4.5rem 0 5rem;
    background: linear-gradient(180deg, #faf7f2 0%, #f5f0e6 55%, #ebe3d4 100%);
    border-top: 1px solid rgba(66, 53, 42, 0.08);
}

.certificates-section__title {
    text-align: center;
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4.5vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 2.75rem;
    background: linear-gradient(90deg, #2e241c 0%, #42352a 45%, #6b5e54 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.certificates-section__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    max-width: 58rem;
    margin: 0 auto;
}

.cert-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow:
        0 10px 30px rgba(66, 53, 42, 0.08),
        0 2px 8px rgba(66, 53, 42, 0.04);
    border: 1px solid rgba(66, 53, 42, 0.06);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.cert-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 18px 40px rgba(66, 53, 42, 0.12),
        0 4px 12px rgba(66, 53, 42, 0.06);
}

.cert-card__media {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 1.25rem 0.75rem;
    background: linear-gradient(180deg, #f8f5f0 0%, #fff 100%);
    min-height: 16rem;
    overflow: hidden;
}

.cert-card__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(245, 240, 230, 0.04) 0%,
        rgba(235, 227, 212, 0.08) 100%
    );
    pointer-events: none;
}

.cert-card__img {
    width: 100%;
    max-height: 18.5rem;
    object-fit: contain;
    object-position: center top;
    filter: blur(1px);
    user-select: none;
    -webkit-user-drag: none;
}

.cert-card__label {
    margin: 0;
    padding: 0.85rem 1rem;
    text-align: center;
    font-family: var(--font-heading);
    font-size: 0.9375rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--color-brown);
    background: linear-gradient(180deg, #f5f0e6 0%, #ebe3d4 100%);
    border-top: 1px solid rgba(66, 53, 42, 0.1);
}

@media (max-width: 767px) {
    .certificates-section {
        padding: 3.5rem 0 4rem;
    }

    .certificates-section__grid {
        grid-template-columns: 1fr;
        max-width: 20rem;
        gap: 1.25rem;
    }

    .cert-card__media {
        min-height: 14rem;
    }

    .cert-card__img {
        max-height: 16rem;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .certificates-section__grid {
        gap: 1.15rem;
    }

    .cert-card__img {
        max-height: 15.5rem;
    }
}

/* Cookie consent — EU-style banner & preferences */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.cookie-consent {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 80;
    padding: 0 1rem 1rem;
    pointer-events: none;
    opacity: 0;
    transform: translateY(1.25rem);
    transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.cookie-consent.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.cookie-consent__panel {
    max-width: 52rem;
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.25rem 1.5rem;
    align-items: start;
    padding: 1.35rem 1.5rem;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(66, 53, 42, 0.12);
    border-radius: 1.125rem;
    box-shadow:
        0 24px 60px rgba(66, 53, 42, 0.16),
        0 8px 20px rgba(66, 53, 42, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
}

.cookie-consent__icon {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, var(--color-brown), #2e241c);
    color: var(--color-cream);
    font-size: 1.25rem;
    box-shadow: 0 8px 20px rgba(66, 53, 42, 0.25);
}

.cookie-consent__kicker {
    font-family: var(--font-ui);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(66, 53, 42, 0.5);
    margin-bottom: 0.35rem;
}

.cookie-consent__title {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--color-brown);
    margin-bottom: 0.5rem;
}

.cookie-consent__text {
    font-family: var(--font-ui);
    font-size: 0.875rem;
    line-height: 1.65;
    color: var(--color-text-soft);
    margin-bottom: 1rem;
}

.cookie-consent__link {
    color: var(--color-brown);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cookie-consent__link:hover {
    color: #2a2018;
}

.cookie-consent__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.cookie-consent__btn {
    font-family: var(--font-ui);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    border-radius: 9999px;
    padding: 0.65rem 1.15rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}

.cookie-consent__btn:hover {
    transform: translateY(-1px);
}

.cookie-consent__btn--primary {
    background: var(--color-brown);
    color: #fff;
    border-color: var(--color-brown);
}

.cookie-consent__btn--primary:hover {
    background: #2e241c;
    border-color: #2e241c;
}

.cookie-consent__btn--ghost {
    background: transparent;
    color: var(--color-brown);
    border-color: rgba(66, 53, 42, 0.28);
}

.cookie-consent__btn--ghost:hover {
    background: rgba(66, 53, 42, 0.06);
}

.cookie-consent__btn--text {
    background: transparent;
    color: var(--color-brown-muted);
    border-color: transparent;
    text-decoration: underline;
    text-underline-offset: 3px;
    padding-inline: 0.65rem;
}

.cookie-consent__btn--text:hover {
    color: var(--color-brown);
}

.cookie-preferences {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.cookie-preferences.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.cookie-preferences__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(22, 16, 12, 0.55);
    backdrop-filter: blur(4px);
}

.cookie-preferences__dialog {
    position: relative;
    width: 100%;
    max-width: 32rem;
    max-height: min(90vh, 640px);
    overflow-y: auto;
    padding: 1.5rem;
    background: #fff;
    border-radius: 1.125rem;
    border: 1px solid rgba(66, 53, 42, 0.1);
    box-shadow: 0 28px 70px rgba(66, 53, 42, 0.22);
    transform: translateY(12px) scale(0.98);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.cookie-preferences.is-visible .cookie-preferences__dialog {
    transform: translateY(0) scale(1);
}

.cookie-preferences__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.cookie-preferences__title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-brown);
}

.cookie-preferences__close {
    width: 2.25rem;
    height: 2.25rem;
    border: none;
    border-radius: 50%;
    background: rgba(66, 53, 42, 0.08);
    color: var(--color-brown);
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.cookie-preferences__close:hover {
    background: rgba(66, 53, 42, 0.14);
}

.cookie-preferences__intro {
    font-family: var(--font-ui);
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--color-text-soft);
    margin-bottom: 1.25rem;
}

.cookie-preferences__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.cookie-pref {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 1rem;
    border-radius: 0.75rem;
    background: var(--color-cream);
    border: 1px solid rgba(66, 53, 42, 0.08);
}

.cookie-pref__name {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-brown);
    margin-bottom: 0.2rem;
}

.cookie-pref__desc {
    font-family: var(--font-ui);
    font-size: 0.75rem;
    line-height: 1.5;
    color: var(--color-text-soft);
}

.cookie-pref__badge {
    flex-shrink: 0;
    font-family: var(--font-ui);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(66, 53, 42, 0.55);
    padding: 0.35rem 0.6rem;
    border-radius: 9999px;
    background: rgba(66, 53, 42, 0.08);
}

.cookie-toggle {
    position: relative;
    flex-shrink: 0;
    display: inline-block;
    width: 2.75rem;
    height: 1.5rem;
    cursor: pointer;
}

.cookie-toggle__input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-toggle__track {
    position: absolute;
    inset: 0;
    border-radius: 9999px;
    background: rgba(66, 53, 42, 0.2);
    transition: background-color 0.25s ease;
}

.cookie-toggle__track::after {
    content: "";
    position: absolute;
    top: 0.15rem;
    left: 0.15rem;
    width: 1.2rem;
    height: 1.2rem;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 6px rgba(66, 53, 42, 0.2);
    transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.cookie-toggle__input:checked + .cookie-toggle__track {
    background: var(--color-brown);
}

.cookie-toggle__input:checked + .cookie-toggle__track::after {
    transform: translateX(1.25rem);
}

.cookie-toggle__input:focus-visible + .cookie-toggle__track {
    outline: 2px solid var(--color-brown);
    outline-offset: 2px;
}

.cookie-preferences__footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(66, 53, 42, 0.1);
}

.cookie-settings-fab {
    position: fixed;
    right: 1.25rem;
    bottom: 6.75rem;
    z-index: 58;
    width: 2.75rem;
    height: 2.75rem;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: var(--color-brown);
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(66, 53, 42, 0.14);
    border: 1px solid rgba(66, 53, 42, 0.12);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cookie-settings-fab:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(66, 53, 42, 0.18);
}

.cookie-settings-fab:not([hidden]) {
    display: flex;
    align-items: center;
    justify-content: center;
}

body.cookie-banner-visible .catalog-fab-wrap {
    bottom: 5.5rem;
}

body.cookie-banner-visible .cookie-settings-fab {
    bottom: 11rem;
}

@media (max-width: 639px) {
    .cookie-consent__panel {
        grid-template-columns: 1fr;
        padding: 1.15rem 1.15rem 1.25rem;
    }

    .cookie-consent__icon {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.05rem;
    }

    .cookie-consent__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-consent__btn {
        width: 100%;
        justify-content: center;
    }

    body.cookie-banner-visible .catalog-fab-wrap {
        bottom: 6.5rem;
    }

    body.cookie-banner-visible .cookie-settings-fab {
        bottom: 12rem;
    }
}

/* Floating catalogue download CTA — bottom right */
@keyframes catalog-shine {
    0% {
        transform: translateX(-120%) skewX(-18deg);
        opacity: 0;
    }

    35% {
        opacity: 0.45;
    }

    100% {
        transform: translateX(220%) skewX(-18deg);
        opacity: 0;
    }
}

.catalog-fab-wrap {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 84;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
    max-width: min(22rem, calc(100vw - 2rem));
    transition: transform 0.25s ease;
}

.catalog-fab-wrap:hover {
    transform: translateY(-2px);
}

.catalog-fab-wrap:focus-visible {
    outline: 2px solid var(--color-cream);
    outline-offset: 4px;
    border-radius: 9999px;
}

.catalog-fab {
    position: relative;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 50%;
    background: linear-gradient(145deg, #4a3a2e 0%, #2e241c 100%);
    color: #f5f0e6;
    border: 2px solid rgba(245, 240, 230, 0.35);
    box-shadow:
        0 10px 28px rgba(46, 36, 28, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    overflow: hidden;
}

.catalog-fab::before {
    content: "";
    position: absolute;
    inset: -0.5rem;
    border-radius: 50%;
    background: rgba(66, 53, 42, 0.2);
    z-index: 0;
}

.catalog-fab__shine {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        105deg,
        transparent 0%,
        rgba(255, 255, 255, 0.28) 48%,
        transparent 100%
    );
    animation: catalog-shine 3.5s ease-in-out infinite;
}

.catalog-fab i {
    position: relative;
    z-index: 2;
    font-size: 1.35rem;
    line-height: 1;
}

.catalog-fab-wrap:hover .catalog-fab {
    background: linear-gradient(145deg, #564436 0%, #362a20 100%);
    border-color: rgba(245, 240, 230, 0.5);
}

.catalog-fab__bubble {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 0.9rem 1.05rem;
    background: #fff;
    border-radius: 0.625rem;
    border: 1px solid rgba(66, 53, 42, 0.1);
    box-shadow: 0 10px 28px rgba(66, 53, 42, 0.14), 0 2px 8px rgba(66, 53, 42, 0.06);
    flex: 1;
    min-width: 0;
    text-align: right;
}

.catalog-fab__kicker {
    font-family: var(--font-ui);
    font-size: 0.5625rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(66, 53, 42, 0.45);
}

.catalog-fab__title {
    font-family: var(--font-ui);
    font-size: 0.875rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.35;
}

.catalog-fab__sub {
    font-family: var(--font-ui);
    font-size: 0.6875rem;
    line-height: 1.45;
    color: rgba(66, 53, 42, 0.62);
}

.catalog-fab__cta {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.35rem;
    margin-top: 0.15rem;
    margin-left: auto;
    font-family: var(--font-ui);
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--color-brown);
}

.catalog-fab__cta i {
    font-size: 0.65rem;
    transition: transform 0.2s ease;
}

.catalog-fab-wrap:hover .catalog-fab__cta i {
    transform: translateX(3px);
}

@media (max-width: 479px) {
    .catalog-fab-wrap {
        right: 1rem;
        bottom: 1rem;
        max-width: calc(100vw - 1.5rem);
        gap: 0.65rem;
    }

    .catalog-fab {
        width: 3rem;
        height: 3rem;
    }

    .catalog-fab i {
        font-size: 1.2rem;
    }

    .catalog-fab__bubble {
        padding: 0.75rem 0.85rem;
    }

    .catalog-fab__title {
        font-size: 0.8125rem;
    }

    .cookie-settings-fab {
        bottom: 6.25rem;
    }
}

@media (max-width: 359px) {
    .catalog-fab__sub,
    .catalog-fab__cta {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .catalog-fab__shine {
        animation: none;
        opacity: 0;
    }
}

/* Newsletter popup — first-visit email capture */
.newsletter-popup {
    position: fixed;
    inset: 0;
    z-index: 95;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.newsletter-popup.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.newsletter-popup__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(22, 16, 12, 0.62);
    backdrop-filter: blur(5px);
}

.newsletter-popup__dialog {
    position: relative;
    width: 100%;
    max-width: 28rem;
    background: #fff;
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 32px 80px rgba(46, 36, 28, 0.28);
    border: 1px solid rgba(66, 53, 42, 0.1);
    transform: translateY(16px) scale(0.97);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.newsletter-popup.is-visible .newsletter-popup__dialog {
    transform: translateY(0) scale(1);
}

.newsletter-popup__close {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    z-index: 3;
    width: 2.25rem;
    height: 2.25rem;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: var(--color-brown);
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(66, 53, 42, 0.12);
    transition: background-color 0.2s ease;
}

.newsletter-popup__close:hover {
    background: #fff;
}

.newsletter-popup__visual {
    padding: 2rem 2rem 0;
    background: linear-gradient(165deg, #f5f0e6 0%, #ebe3d4 55%, #e0d4c4 100%);
    text-align: center;
}

.newsletter-popup__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    margin-bottom: 0.5rem;
    border-radius: 50%;
    background: linear-gradient(145deg, #42352a, #2e241c);
    color: #f5f0e6;
    font-size: 1.45rem;
    box-shadow: 0 12px 28px rgba(66, 53, 42, 0.25);
}

.newsletter-popup__body {
    padding: 1.5rem 1.75rem 1.75rem;
    text-align: center;
}

.newsletter-popup__kicker {
    font-family: var(--font-ui);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(66, 53, 42, 0.5);
    margin-bottom: 0.45rem;
}

.newsletter-popup__title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--color-brown);
    line-height: 1.25;
    margin-bottom: 0.65rem;
}

.newsletter-popup__text {
    font-family: var(--font-ui);
    font-size: 0.875rem;
    line-height: 1.65;
    color: var(--color-text-soft);
    margin-bottom: 1.25rem;
}

.newsletter-popup__field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

@media (min-width: 480px) {
    .newsletter-popup__field {
        flex-direction: row;
    }
}

.newsletter-popup__input {
    flex: 1;
    min-width: 0;
    padding: 0.85rem 1rem;
    font-family: var(--font-ui);
    font-size: 0.9rem;
    border: 1px solid rgba(66, 53, 42, 0.18);
    border-radius: 9999px;
    background: #faf8f5;
    color: var(--color-brown);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.newsletter-popup__input:focus {
    outline: none;
    border-color: var(--color-brown);
    box-shadow: 0 0 0 3px rgba(66, 53, 42, 0.1);
}

.newsletter-popup__submit {
    flex-shrink: 0;
    padding: 0.85rem 1.35rem;
    font-family: var(--font-ui);
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff;
    background: var(--color-brown);
    border: none;
    border-radius: 9999px;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.newsletter-popup__submit:hover:not(:disabled) {
    background: #2e241c;
    transform: translateY(-1px);
}

.newsletter-popup__submit:disabled {
    opacity: 0.65;
    cursor: wait;
}

.newsletter-popup__feedback {
    margin-top: 0.75rem;
    font-family: var(--font-ui);
    font-size: 0.8125rem;
    line-height: 1.5;
}

.newsletter-popup__feedback.is-error {
    color: #b42318;
}

.newsletter-popup__feedback.is-success {
    color: #1a7a3a;
}

.newsletter-popup__dismiss {
    margin-top: 1rem;
    padding: 0;
    border: none;
    background: none;
    font-family: var(--font-ui);
    font-size: 0.8125rem;
    color: rgba(66, 53, 42, 0.5);
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
    transition: color 0.2s ease;
}

.newsletter-popup__dismiss:hover {
    color: var(--color-brown);
}

body.newsletter-popup-open {
    overflow: hidden;
}

/* Floating WhatsApp CTA — bottom left, circular + pulse + message */
@keyframes whatsapp-pulse-ring {
    0% {
        transform: scale(1);
        opacity: 0.55;
    }

    100% {
        transform: scale(1.85);
        opacity: 0;
    }
}

.whatsapp-fab-wrap {
    position: fixed;
    left: 1.25rem;
    bottom: 1.25rem;
    z-index: 85;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
    max-width: min(22rem, calc(100vw - 2rem));
    transition: transform 0.25s ease;
}

.whatsapp-fab-wrap:hover {
    transform: translateY(-2px);
}

.whatsapp-fab-wrap:focus-visible {
    outline: 2px solid #25d366;
    outline-offset: 4px;
    border-radius: 9999px;
}

.whatsapp-fab {
    position: relative;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    box-shadow: 0 8px 22px rgba(37, 211, 102, 0.35);
}

.whatsapp-fab::before {
    content: "";
    position: absolute;
    inset: -0.55rem;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.16);
    z-index: 0;
}

.whatsapp-fab i {
    position: relative;
    z-index: 2;
    font-size: 1.65rem;
    line-height: 1;
}

.whatsapp-fab__pulse {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #25d366;
    z-index: 1;
    animation: whatsapp-pulse-ring 2.2s ease-out infinite;
}

.whatsapp-fab__pulse--delay {
    animation-delay: 1.1s;
}

.whatsapp-fab-wrap:hover .whatsapp-fab {
    background: #1ebe57;
}

.whatsapp-fab__bubble {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 0.9rem 1.05rem;
    background: #fff;
    border-radius: 0.625rem;
    border: 1px solid rgba(66, 53, 42, 0.08);
    box-shadow: 0 10px 28px rgba(66, 53, 42, 0.14), 0 2px 8px rgba(66, 53, 42, 0.06);
    flex: 1;
    min-width: 0;
}

.whatsapp-fab__bubble-kicker {
    font-family: var(--font-ui);
    font-size: 0.5625rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(66, 53, 42, 0.45);
}

.whatsapp-fab__bubble-title {
    font-family: var(--font-ui);
    font-size: 0.875rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.35;
}

.whatsapp-fab__bubble-sub {
    font-family: var(--font-ui);
    font-size: 0.6875rem;
    line-height: 1.45;
    color: rgba(66, 53, 42, 0.62);
}

.whatsapp-fab__bubble-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.15rem;
    font-family: var(--font-ui);
    font-size: 0.6875rem;
    font-weight: 600;
    color: #25a244;
}

.whatsapp-fab__bubble-cta i {
    font-size: 0.65rem;
    transition: transform 0.2s ease;
}

.whatsapp-fab-wrap:hover .whatsapp-fab__bubble-cta i {
    transform: translateX(3px);
}

@media (max-width: 479px) {
    .whatsapp-fab-wrap {
        left: 1rem;
        bottom: 1rem;
        max-width: calc(100vw - 1.5rem);
        gap: 0.65rem;
    }

    .whatsapp-fab {
        width: 3rem;
        height: 3rem;
    }

    .whatsapp-fab i {
        font-size: 1.4rem;
    }

    .whatsapp-fab__bubble {
        padding: 0.75rem 0.85rem;
    }

    .whatsapp-fab__bubble-title {
        font-size: 0.8125rem;
    }
}

@media (max-width: 359px) {
    .whatsapp-fab__bubble-sub,
    .whatsapp-fab__bubble-cta {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .whatsapp-fab__pulse {
        animation: none;
        opacity: 0;
    }
}

/* Site footer — contact column */
.footer-contact__item {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
}

.footer-contact__icon {
    flex-shrink: 0;
    width: 1rem;
    margin-top: 0.15rem;
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.8rem;
}

.footer-contact__text {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.footer-contact__link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-contact__link:hover {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Bell-style section rhythm */
.bell-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

@media (min-width: 768px) {
    .bell-section {
        padding-top: 6.5rem;
        padding-bottom: 6.5rem;
    }
}

.bell-section-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    line-height: 1.15;
    color: var(--color-text);
    letter-spacing: -0.02em;
}

.bell-lead {
    font-family: var(--font-body);
    font-size: 1.125rem;
    line-height: 1.75;
    color: var(--color-text-soft);
    max-width: 42rem;
}

/* Sack / bag mockup */
.sack-mockup {
    position: relative;
    background: linear-gradient(145deg, #c4a574 0%, #8b6914 45%, #5c4a2e 100%);
    border-radius: 8px 8px 24px 24px;
    padding: 2.5rem 2rem 3rem;
    box-shadow: 0 24px 48px rgba(66, 53, 42, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    min-height: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.sack-mockup::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 45%;
    height: 18px;
    background: rgba(0, 0, 0, 0.12);
    border-radius: 0 0 12px 12px;
}

.sack-brand {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    letter-spacing: 0.35em;
    color: rgba(255, 248, 240, 0.95);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Parallax helper */
.parallax-slow {
    will-change: transform;
}

/* Blog card hover (image zoom + overlay) */
.blog-card {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 4px 24px rgba(66, 53, 42, 0.08);
}

.blog-card-media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
}

.blog-card-media img,
.blog-card-media .blog-card-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s ease;
}

.blog-card:hover .blog-card-media img,
.blog-card:hover .blog-card-media .blog-card-placeholder {
    transform: scale(1.06);
}

.blog-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(66, 53, 42, 0.88), transparent 55%);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: flex-end;
    padding: 1.25rem;
}

.blog-card:hover .blog-card-overlay {
    opacity: 1;
}

.blog-card-overlay p {
    font-family: var(--font-ui);
    font-size: 0.9rem;
    color: var(--color-cream);
    line-height: 1.45;
}

/* Footer dark brown */
.footer-dark {
    background-color: #2e241c;
    color: rgba(255, 255, 255, 0.92);
}

.footer-dark a {
    color: rgba(245, 240, 230, 0.9);
}

.footer-dark a:hover {
    color: #fff;
}

/* ACTA Cocoa - Revolutionary Custom Styles */

/* Enhanced Loading Animation */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f8f6f3 0%, #ffffff 50%, #f8f6f3 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.8s ease;
}

.loading.fade-out {
    opacity: 0;
}

.loader {
    width: 60px;
    height: 60px;
    border: 4px solid transparent;
    border-top: 4px solid #42352a;
    border-right: 4px solid #42352a80;
    border-radius: 50%;
    animation: spin-enhanced 1.2s ease-in-out infinite;
    position: relative;
}

.loader::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border: 2px solid #42352a20;
    border-radius: 50%;
    animation: pulse-ring 2s ease-in-out infinite;
}

@keyframes spin-enhanced {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.1); }
    100% { transform: rotate(360deg) scale(1); }
}

@keyframes pulse-ring {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.3; }
}

/* Revolutionary Animation System */

/* Advanced Fade Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes fade-in-stagger {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes fade-in-stagger-2 {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Enhanced Floating System */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-8px) rotate(1deg); }
    50% { transform: translateY(-20px) rotate(0deg); }
    75% { transform: translateY(-12px) rotate(-1deg); }
}

@keyframes float-delay {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-15px) rotate(2deg); }
    66% { transform: translateY(-8px) rotate(-1deg); }
}

@keyframes float-delay-2 {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-25px) scale(1.05); }
}

/* Particle Animation System */
@keyframes float-particle {
    0%, 100% { transform: translateY(0) translateX(0) scale(1); opacity: 0.7; }
    25% { transform: translateY(-10px) translateX(5px) scale(1.1); opacity: 1; }
    50% { transform: translateY(-20px) translateX(-3px) scale(0.9); opacity: 0.8; }
    75% { transform: translateY(-15px) translateX(8px) scale(1.2); opacity: 0.9; }
}

@keyframes float-particle-delay {
    0%, 100% { transform: translateY(0) translateX(0) rotate(0deg); opacity: 0.6; }
    33% { transform: translateY(-15px) translateX(-10px) rotate(120deg); opacity: 1; }
    66% { transform: translateY(-8px) translateX(15px) rotate(240deg); opacity: 0.8; }
}

@keyframes float-particle-2 {
    0%, 100% { transform: translateY(0) scale(1) rotate(0deg); opacity: 0.5; }
    50% { transform: translateY(-18px) scale(1.3) rotate(180deg); opacity: 1; }
}

@keyframes float-particle-3 {
    0%, 100% { transform: translateY(0) translateX(0); opacity: 0.4; }
    25% { transform: translateY(-5px) translateX(-8px); opacity: 0.8; }
    50% { transform: translateY(-12px) translateX(10px); opacity: 1; }
    75% { transform: translateY(-8px) translateX(-5px); opacity: 0.6; }
}

/* 3D Transform Animations */
@keyframes rotateY-hover {
    0% { transform: perspective(1000px) rotateY(0deg) rotateX(0deg); }
    100% { transform: perspective(1000px) rotateY(12deg) rotateX(6deg); }
}

/* Hero Section Animations */
@keyframes slide-up {
    0% { transform: translateY(100%); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

@keyframes expand-width {
    0% { width: 0; }
    100% { width: 100%; }
}

@keyframes gradient-x {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Slow Rotation for Hero */
@keyframes spin-slow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Enhanced Animation Classes */
.animate-fade-in {
    animation: fadeIn 1s ease-out;
}

.animate-fade-in-delay {
    animation: fadeIn 1s ease-out 0.4s both;
}

.animate-fade-in-delay-2 {
    animation: fadeIn 1s ease-out 0.8s both;
}

.animate-fade-in-stagger {
    animation: fade-in-stagger 0.8s ease-out 0.6s both;
}

.animate-fade-in-stagger-2 {
    animation: fade-in-stagger-2 0.8s ease-out 1.2s both;
}

.animate-slide-up {
    animation: slide-up 1.2s ease-out 0.5s both;
}

.animate-expand-width {
    animation: expand-width 1.5s ease-out 1s both;
}

.animate-gradient-x {
    background-size: 200% 200%;
    animation: gradient-x 3s ease infinite;
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-float-delay {
    animation: float-delay 8s ease-in-out infinite 2s;
}

.animate-float-delay-2 {
    animation: float-delay-2 7s ease-in-out infinite 4s;
}

.animate-float-particle {
    animation: float-particle 8s ease-in-out infinite;
}

.animate-float-particle-delay {
    animation: float-particle-delay 10s ease-in-out infinite 1s;
}

.animate-float-particle-2 {
    animation: float-particle-2 6s ease-in-out infinite 2s;
}

.animate-float-particle-3 {
    animation: float-particle-3 9s ease-in-out infinite 3s;
}

.animate-spin-slow {
    animation: spin-slow 20s linear infinite;
}

/* 3D Perspective and Transform Classes */
.perspective-1000 {
    perspective: 1000px;
}

.transform-gpu {
    transform: translateZ(0);
    will-change: transform;
}

.rotateY-12 {
    transform: perspective(1000px) rotateY(12deg);
}

.rotateX-6 {
    transform: perspective(1000px) rotateX(6deg);
}

/* Header Scrolled State */
.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* Mobile Menu */
#mobile-menu.show {
    display: block;
    animation: slideDown 0.3s ease-out;
}

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

/* Navigation Active State */
.nav-link.active {
    color: #42352a !important;
    font-weight: 600;
}

/* Scroll Animations */
.scroll-animate {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.scroll-animate.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Custom Cursor */
.custom-cursor {
    width: 20px;
    height: 20px;
    border: 2px solid #42352a;
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: all 0.1s ease;
    opacity: 0;
}

.custom-cursor.hover {
    width: 40px;
    height: 40px;
    background: rgba(66, 53, 42, 0.1);
    opacity: 1;
}

@media (max-width: 768px) {
    .custom-cursor {
        display: none;
    }
}

/* Focus Styles */
.focus-visible {
    outline: 2px solid #42352a;
    outline-offset: 2px;
}

/* Body Loaded State */
body {
    opacity: 0;
    transition: opacity 0.5s ease;
}

body.loaded {
    opacity: 1;
}

/* Hover Effects */
.flavour-card:hover,
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Button Hover Effects */
button:hover,
.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Enhanced Responsive Design */
@media (max-width: 768px) {
    .animate-fade-in,
    .animate-fade-in-delay,
    .animate-fade-in-delay-2,
    .animate-fade-in-stagger,
    .animate-fade-in-stagger-2 {
        animation-duration: 0.6s;
    }
    
    /* Hero Section Mobile Optimizations */
    .hero-title {
        font-size: 3.5rem !important;
        line-height: 1.1 !important;
    }
    
    .hero-subtitle {
        font-size: 1.75rem !important;
    }
    
    /* Mobile Navigation Enhancements */
    .perspective-1000 {
        perspective: 800px;
    }
    
    /* Reduce animation intensity on mobile */
    .animate-float,
    .animate-float-delay,
    .animate-float-delay-2 {
        animation-duration: 8s;
    }
    
    .animate-float-particle,
    .animate-float-particle-delay,
    .animate-float-particle-2,
    .animate-float-particle-3 {
        animation-duration: 12s;
    }
    
    /* Mobile-specific 3D effects */
    .rotateY-12,
    .rotateX-6 {
        transform: perspective(800px) rotateY(6deg) rotateX(3deg);
    }
}

@media (max-width: 640px) {
    /* Extra small devices */
    .hero-title {
        font-size: 2.5rem !important;
    }
    
    .hero-subtitle {
        font-size: 1.25rem !important;
    }
    
    /* Optimize card layouts for very small screens */
    .perspective-1000 {
        perspective: 600px;
    }
}

/* Smooth Transitions */
* {
    transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

/* Filter Button States */
.filter-btn.active {
    background-color: #42352a !important;
    color: white !important;
}

.filter-btn:not(.active):hover {
    background-color: #42352a !important;
    color: white !important;
}

/* FAQ Rotate Animation */
.rotate-180 {
    transform: rotate(180deg);
}

/* Enhanced Product Grid Animations */
.product-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.product-card:hover {
    transform: translateY(-12px) scale(1.03) rotateX(5deg);
    box-shadow: 0 35px 60px rgba(66, 53, 42, 0.15);
}

/* Modern Utility Classes */
.backdrop-blur-xl {
    backdrop-filter: blur(24px);
}

.backdrop-blur-lg {
    backdrop-filter: blur(16px);
}

.backdrop-blur-md {
    backdrop-filter: blur(12px);
}

.backdrop-blur-sm {
    backdrop-filter: blur(8px);
}

/* Glass Morphism Effects */
.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.glass-effect-dark {
    background: rgba(66, 53, 42, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(66, 53, 42, 0.2);
}

/* Advanced Shadow System */
.shadow-glow {
    box-shadow: 0 0 20px rgba(66, 53, 42, 0.3);
}

.shadow-glow-lg {
    box-shadow: 0 0 40px rgba(66, 53, 42, 0.2);
}

.shadow-inner-glow {
    box-shadow: inset 0 0 20px rgba(66, 53, 42, 0.1);
}

/* Gradient Text Utilities */
.text-gradient-primary {
    background: linear-gradient(135deg, #42352a 0%, #42352a80 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-accent {
    background: linear-gradient(135deg, #f8f6f3 0%, #ffffff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Performance Optimizations */
.will-change-transform {
    will-change: transform;
}

.will-change-opacity {
    will-change: opacity;
}

.will-change-scroll {
    will-change: scroll-position;
}

/* Interactive Hover States */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.hover-scale {
    transition: transform 0.3s ease;
}

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

.hover-rotate {
    transition: transform 0.3s ease;
}

.hover-rotate:hover {
    transform: rotate(3deg);
}

/* Loading States */
.loading-shimmer {
    background: linear-gradient(90deg, 
        rgba(248, 246, 243, 0.1) 25%, 
        rgba(248, 246, 243, 0.3) 50%, 
        rgba(248, 246, 243, 0.1) 75%
    );
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Accessibility Improvements */
.focus-ring {
    outline: 2px solid #42352a;
    outline-offset: 2px;
    border-radius: 8px;
}

.focus-ring-inset {
    box-shadow: inset 0 0 0 2px #42352a;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .text-primary\/80 {
        color: #42352a !important;
    }
    
    .border-primary\/10 {
        border-color: #42352a !important;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .animate-float,
    .animate-float-delay,
    .animate-float-delay-2,
    .animate-float-particle,
    .animate-float-particle-delay,
    .animate-float-particle-2,
    .animate-float-particle-3,
    .animate-spin-slow {
        animation: none !important;
    }
}
