/* ============================
   PAGE TRANSITION — CURTAIN WIPE
   ============================ */
#page-transition {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: all;
    background: #051b0e;
    transform: translateY(0);
    transition: transform 0.72s cubic-bezier(0.76, 0, 0.24, 1);
}
#page-transition::before {
    content: '';
    position: absolute;
    top: -56px; left: 0; right: 0;
    height: 56px;
    background: linear-gradient(to bottom, transparent, #051b0e);
    pointer-events: none;
}
#page-transition.exit {
    transform: translateY(-106%);
    pointer-events: none;
}

/* ============================
   NAV PILL — sliding cursor
   ============================ */
.nav-pill {
    position: relative;
    display: flex;
    width: fit-content;
    margin: 0;
    padding: 4px;
    list-style: none;
    background: #ffffff;
    border: 2px solid #051b0e;
    border-radius: 9999px;
    box-shadow: 0 4px 14px rgba(5, 27, 14, 0.08);
}
.nav-pill-tab {
    position: relative;
    z-index: 10;
    display: block;
    cursor: pointer;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #ffffff;
    mix-blend-mode: difference;
    text-decoration: none;
    line-height: 1;
    white-space: nowrap;
}
@media (min-width: 768px) {
    .nav-pill-tab { padding: 12px 22px; font-size: 15px; }
}
.nav-pill-cursor {
    position: absolute;
    z-index: 0;
    top: 4px; bottom: 4px; left: 0;
    width: 0;
    background: #000000;
    border-radius: 9999px;
    opacity: 0;
    pointer-events: none;
    transition:
        left 0.45s cubic-bezier(0.65, 0, 0.35, 1),
        width 0.45s cubic-bezier(0.65, 0, 0.35, 1),
        opacity 0.3s ease;
}
.nav-pill[data-cursor-active="true"] .nav-pill-cursor { opacity: 1; }

.nav-logo { height: 44px; width: auto; transition: transform 0.3s ease; }
.nav-logo:hover { transform: scale(1.05); }

.nav-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: linear-gradient(135deg, #051b0e 0%, #1a3022 100%);
    color: #fff;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.02em;
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
    box-shadow: 0 4px 14px rgba(5,27,14,0.18);
}
.nav-phone:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(5,27,14,0.28);
    background: linear-gradient(135deg, #1a3022 0%, #354c3c 100%);
}
.nav-phone .material-symbols-outlined { font-size: 18px; color: #fc9910; }
@media (max-width: 640px) {
    .nav-phone span.phone-number { display: none; }
    .nav-phone { padding: 10px; }
}

/* Page enter animation */
@keyframes pageEnter {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}
main { animation: pageEnter 0.7s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both; }

/* ============================
   DISPLAY TYPOGRAPHY — Cormorant Garamond
   ============================ */
.font-display {
    font-family: 'Lora', Georgia, serif;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.05;
}
.font-display-italic {
    font-family: 'Lora', Georgia, serif;
    font-style: italic;
    font-weight: 600;
    letter-spacing: -0.01em;
}

/* ============================
   BUTTON INTERACTIONS
   ============================ */
.btn-fx {
    position: relative;
    overflow: hidden;
    transition: transform 0.25s cubic-bezier(0.4,0,0.2,1), box-shadow 0.25s ease;
}
.btn-fx:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -8px rgba(5, 27, 14, 0.25);
}
.btn-fx:active { transform: translateY(0); }
.btn-fx::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 60%; height: 100%;
    background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.25) 50%, transparent 100%);
    transform: skewX(-20deg);
    transition: left 0.7s ease;
    pointer-events: none;
}
.btn-fx:hover::before { left: 150%; }

.ripple-effect {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    transform: scale(0);
    animation: ripple 0.65s ease-out;
    pointer-events: none;
}
@keyframes ripple { to { transform: scale(4); opacity: 0; } }

.card-lift {
    transition: transform 0.4s cubic-bezier(0.4,0,0.2,1), box-shadow 0.4s ease;
}
.card-lift:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px -12px rgba(5, 27, 14, 0.18);
}

/* ============================
   SCROLL REVEAL
   ============================ */
[data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.9s cubic-bezier(0.22, 1, 0.36, 1) !important;
}
[data-reveal="left"]  { transform: translateX(-32px); }
[data-reveal="right"] { transform: translateX(32px); }
[data-reveal="scale"] { transform: scale(0.95); }
[data-reveal].is-visible { opacity: 1; transform: translateY(0) translateX(0) scale(1); }
[data-stagger] > *:nth-child(1) { transition-delay: 0ms; }
[data-stagger] > *:nth-child(2) { transition-delay: 85ms; }
[data-stagger] > *:nth-child(3) { transition-delay: 170ms; }
[data-stagger] > *:nth-child(4) { transition-delay: 255ms; }
[data-stagger] > *:nth-child(5) { transition-delay: 340ms; }
[data-stagger] > *:nth-child(6) { transition-delay: 425ms; }

/* ============================
   TICKER / MARQUEE
   ============================ */
.ticker-wrap { overflow: hidden; }
.ticker-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: fa-ticker 38s linear infinite;
}
.ticker-wrap:hover .ticker-track { animation-play-state: paused; }
@keyframes fa-ticker {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.ticker-item {
    white-space: nowrap;
    padding: 0 18px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #354c3c;
    flex-shrink: 0;
}
.ticker-sep {
    width: 5px; height: 5px;
    border-radius: 50%;
    background: #fc9910;
    flex-shrink: 0;
}

/* ============================
   SECTION LABEL BADGE
   ============================ */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(5, 27, 14, 0.06);
    border: 1px solid rgba(5, 27, 14, 0.12);
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #051b0e;
}
.section-label::before {
    content: '';
    display: block;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #fc9910;
    flex-shrink: 0;
}

/* ============================
   STATS STRIP
   ============================ */
.stats-strip {
    background: #051b0e;
    position: relative;
    overflow: hidden;
}
.stats-strip::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 20% 50%, rgba(252,153,16,0.07) 0%, transparent 60%),
                radial-gradient(ellipse at 80% 50%, rgba(252,153,16,0.05) 0%, transparent 60%);
    pointer-events: none;
}
.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 24px;
    position: relative;
}
.stat-number {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(52px, 6vw, 80px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.02em;
    color: #fc9910;
}
.stat-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    margin-top: 10px;
}
.stat-divider {
    width: 1px;
    background: rgba(255,255,255,0.08);
    align-self: stretch;
    margin: 24px 0;
}

/* ============================
   CLIENT CARDS (who we serve)
   ============================ */
.client-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 28px 16px;
    background: #ffffff;
    border: 1.5px solid rgba(5, 27, 14, 0.07);
    border-radius: 20px;
    text-align: center;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.client-card:hover {
    border-color: #fc9910;
    box-shadow: 0 8px 28px -6px rgba(5, 27, 14, 0.10);
    transform: translateY(-4px);
}
.client-icon {
    width: 56px; height: 56px;
    border-radius: 16px;
    background: rgba(207, 233, 212, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}
.client-icon .material-symbols-outlined {
    font-size: 26px;
    color: #051b0e;
    transition: color 0.3s ease;
}
.client-card:hover .client-icon { background: rgba(252, 153, 16, 0.12); }
.client-card:hover .client-icon .material-symbols-outlined { color: #8a5100; }

/* Trust badge pills (hero) */
.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: rgba(255,255,255,0.88);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(5, 27, 14, 0.10);
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 600;
    color: #191c1c;
    white-space: nowrap;
}
.trust-badge-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #fc9910;
    flex-shrink: 0;
}

/* ============================
   SEASONAL CARDS
   ============================ */
.seasonal-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
@media (min-width: 640px) {
    .seasonal-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
    .seasonal-grid { grid-template-columns: repeat(6, 1fr); }
}
.seasonal-card {
    background: #fff;
    border: 1.5px solid rgba(5,27,14,0.07);
    border-radius: 20px;
    padding: 28px 16px 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
    cursor: default;
}
.seasonal-card:hover {
    border-color: #fc9910;
    transform: translateY(-5px);
    box-shadow: 0 16px 40px -12px rgba(5,27,14,0.13);
}
.seasonal-emoji { font-size: 44px; line-height: 1; }
.seasonal-name {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 19px;
    font-weight: 700;
    color: #051b0e;
    line-height: 1.2;
}
.seasonal-origin {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #8a5100;
}
.seasonal-badge {
    display: inline-block;
    padding: 3px 10px;
    background: rgba(252,153,16,0.1);
    border-radius: 9999px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #8a5100;
}

/* ============================
   WHATSAPP STRIP
   ============================ */
.whatsapp-strip {
    background: linear-gradient(135deg, #1fbe5b 0%, #128C7E 100%);
    border-radius: 28px;
    padding: 32px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    position: relative;
    overflow: hidden;
}
.whatsapp-strip::before {
    content: '';
    position: absolute;
    top: -40px; right: -40px;
    width: 160px; height: 160px;
    background: rgba(255,255,255,0.06);
    border-radius: 50%;
    pointer-events: none;
}
.whatsapp-strip::after {
    content: '';
    position: absolute;
    bottom: -60px; left: 30%;
    width: 220px; height: 220px;
    background: rgba(255,255,255,0.04);
    border-radius: 50%;
    pointer-events: none;
}
@media (max-width: 767px) {
    .whatsapp-strip { flex-direction: column; text-align: center; padding: 28px 24px; border-radius: 20px; }
}
.whatsapp-btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    color: #0a7a55;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 0.02em;
    padding: 14px 28px;
    border-radius: 9999px;
    transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.whatsapp-btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.22);
}

/* ============================
   MOBILE OVERRIDES
   ============================ */
@media (max-width: 767px) {
    body { padding-bottom: 68px; }
    [data-parallax] { transform: none !important; }
    [data-tilt] { transform: none !important; box-shadow: none !important; }
    .ticker-wrap { -webkit-overflow-scrolling: touch; }
    .hero-orb { opacity: 0.6; }
    .word-inner { animation-duration: 0.65s; }
}
html, body { overflow-x: hidden; }
@media (prefers-reduced-motion: reduce) {
    .word-inner, [data-clip-reveal], .hero-orb,
    .ticker-track, .hero-delivery-badge,
    .trust-badges-wrap > .trust-badge,
    .cta-glow { animation: none !important; opacity: 1 !important; transform: none !important; clip-path: none !important; }
}

/* ============================
   CUSTOM CURSOR (desktop only)
   ============================ */
@media (pointer: fine) { * { cursor: none !important; } }
.cursor-dot {
    position: fixed; z-index: 99999;
    width: 6px; height: 6px;
    background: #ffffff;
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    mix-blend-mode: difference;
    transition: width 0.15s ease, height 0.15s ease, opacity 0.2s ease;
    top: 0; left: 0;
}
.cursor-ring {
    position: fixed; z-index: 99998;
    width: 28px; height: 28px;
    border: 1.5px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    mix-blend-mode: difference;
    transition: width 0.4s cubic-bezier(0.22,1,0.36,1),
                height 0.4s cubic-bezier(0.22,1,0.36,1),
                border-color 0.2s ease, opacity 0.2s ease;
    top: 0; left: 0;
}
.cursor-dot.is-hovering { width: 0; height: 0; opacity: 0; }
.cursor-ring.is-hovering { width: 46px; height: 46px; border-color: #fc9910; border-width: 2px; }
.cursor-dot.is-clicking { width: 10px; height: 10px; }
@media (pointer: coarse) { .cursor-dot, .cursor-ring { display: none; } }

/* ============================
   SCROLL PROGRESS BAR
   ============================ */
#scroll-progress {
    position: fixed;
    top: 0; left: 0;
    height: 2.5px;
    background: linear-gradient(90deg, #051b0e 0%, #fc9910 100%);
    z-index: 99997;
    transform-origin: left;
    transform: scaleX(0);
    will-change: transform;
    pointer-events: none;
}

/* ============================
   HERO WORD REVEAL
   ============================ */
.word-reveal {
    overflow: hidden;
    display: inline-block;
    vertical-align: bottom;
    line-height: inherit;
}
.word-inner {
    display: inline-block;
    animation: wordReveal 0.9s cubic-bezier(0.22, 1, 0.36, 1)
               calc(0.35s + var(--wd, 0ms)) both;
}
@keyframes wordReveal {
    from { transform: translateY(110%) skewY(5deg); opacity: 0; }
    to   { transform: translateY(0)    skewY(0);    opacity: 1; }
}

/* ============================
   FLOATING BACKGROUND ORBS
   ============================ */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(72px);
    pointer-events: none;
    animation: orbFloat var(--dur, 9s) ease-in-out infinite alternate;
    will-change: transform;
}
@keyframes orbFloat {
    from { transform: translate(0, 0) scale(1); }
    to   { transform: translate(var(--tx, 20px), var(--ty, -20px)) scale(var(--sc, 1.05)); }
}

/* ============================
   IMAGE CLIP-PATH REVEAL
   ============================ */
[data-clip-reveal] {
    clip-path: inset(0 100% 0 0 round 32px);
    animation: clipReveal 1.15s cubic-bezier(0.76, 0, 0.24, 1) 0.5s both;
}
@keyframes clipReveal {
    from { clip-path: inset(0 100% 0 0 round 32px); }
    to   { clip-path: inset(0 0%   0 0 round 32px); }
}

/* ============================
   3D TILT CARDS
   ============================ */
[data-tilt] {
    transform-style: preserve-3d;
    will-change: transform;
    transition: transform 0.08s ease, box-shadow 0.08s ease;
}

/* ============================
   HERO BADGE POP-IN
   ============================ */
.hero-delivery-badge {
    animation: badgePop 0.7s cubic-bezier(0.16, 1, 0.3, 1) 1.2s both;
}
@keyframes badgePop {
    from { opacity: 0; transform: translateY(12px) scale(0.92); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.trust-badges-wrap > .trust-badge:nth-child(1) { animation: trustIn 0.55s cubic-bezier(0.22,1,0.36,1) 0.9s both; }
.trust-badges-wrap > .trust-badge:nth-child(2) { animation: trustIn 0.55s cubic-bezier(0.22,1,0.36,1) 1.0s both; }
.trust-badges-wrap > .trust-badge:nth-child(3) { animation: trustIn 0.55s cubic-bezier(0.22,1,0.36,1) 1.1s both; }
@keyframes trustIn {
    from { opacity: 0; transform: translateX(-10px); }
    to   { opacity: 1; transform: translateX(0); }
}

/* CTA section glow pulse */
.cta-glow {
    animation: ctaGlow 3s ease-in-out infinite;
}
@keyframes ctaGlow {
    0%, 100% { opacity: 0.08; transform: scale(1); }
    50%       { opacity: 0.14; transform: scale(1.08); }
}

/* ============================
   FOOTER IMPROVEMENTS
   ============================ */
.footer-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease, gap 0.2s ease;
}
.footer-link:hover { gap: 8px; }

/* Glass card utility */
.glass-card {
    background: rgba(255,255,255,0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* About section quote */
.founder-quote {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic;
    font-size: clamp(20px, 2.5vw, 26px);
    line-height: 1.55;
    color: #354c3c;
    border-left: 3px solid #fc9910;
    padding-left: 20px;
    margin: 0;
}

/* ============================
   FLOATING ACTION BUTTONS
   ============================ */
.fab-wrap {
    position: fixed;
    bottom: 28px;
    right: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 9990;
}
@media (max-width: 767px) {
    .fab-wrap { bottom: 84px; right: 16px; }
}
.fab-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
    flex-shrink: 0;
    box-shadow: 0 4px 18px rgba(0,0,0,0.22);
    transition: transform 0.28s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.25s ease, opacity 0.3s ease;
}
.fab-btn:hover {
    transform: scale(1.13) translateY(-2px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.3);
}
.fab-whatsapp {
    background: #25D366;
    color: #fff;
}
.fab-top {
    background: #051b0e;
    color: #fc9910;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px) scale(0.9);
}
.fab-top.visible {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0) scale(1);
}
.fab-viber {
    background: #7360F2;
    color: #fff;
}
