/* =========================================================
   Food Link – Landing Page
   Brand colors: #FF8A00 (orange), #3FAF47 (green), #FFF4E6 (cream)
   ========================================================= */

:root {
    --orange: #FF8A00;
    --orange-dark: #E67700;
    --green: #3FAF47;
    --green-dark: #2F8A36;
    --cream: #FFF4E6;
    --ink: #1A1A1A;
    --ink-soft: #4A4A4A;
    --muted: #6B7280;
    --line: #E5E7EB;
    --bg: #ffffff;
    --bg-soft: #FAFAFA;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
    --shadow: 0 8px 30px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 60px rgba(255,138,0,0.15);
    --radius: 14px;
    --radius-lg: 22px;
    --maxw: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 880px; }
.text-center { text-align: center; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 { font-weight: 800; line-height: 1.2; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.25rem; }
.eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--orange);
    background: rgba(255,138,0,0.1);
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 14px;
}
.eyebrow.light { color: #FFD9A8; background: rgba(255,138,0,0.15); }
.lead { font-size: 1.2rem; color: var(--ink-soft); margin: 18px 0 28px; }
.big-text { font-size: 1.15rem; color: var(--ink-soft); margin-top: 14px; }

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.98rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all .2s ease;
    white-space: nowrap;
}
.btn-primary {
    background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
    color: #fff;
    box-shadow: var(--shadow-lg);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(255,138,0,0.28); }
.btn-ghost {
    background: #fff;
    color: var(--ink);
    border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--orange); color: var(--orange); }
.btn-block { width: 100%; }

/* ===== HEADER ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    padding-bottom: 16px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--ink);
}
.brand strong { color: var(--orange); font-weight: 800; }
.brand-icon {
    width: 38px; height: 38px;
    display: grid; place-items: center;
    background: transparent;
    color: #fff;
    border-radius: 10px;
    overflow: hidden;
}
.brand-icon img { width: 100%; height: 100%; object-fit: cover; }
.brand-icon svg { width: 22px; height: 22px; }
.brand.light { color: #fff; }
.brand.light strong { color: var(--orange); }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a { font-weight: 500; color: var(--ink-soft); font-size: 0.95rem; transition: color .15s; }
.main-nav a:hover { color: var(--orange); }
.main-nav .nav-cta {
    background: var(--ink);
    color: #fff;
    padding: 10px 20px;
    border-radius: 10px;
}
.main-nav .nav-cta:hover { background: var(--orange); color: #fff; }

/* Language switcher */
.lang-switch {
    display: inline-flex;
    background: #F3F4F6;
    border-radius: 999px;
    padding: 3px;
    gap: 2px;
}
.lang-switch button {
    background: transparent;
    border: none;
    padding: 6px 12px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--muted);
    border-radius: 999px;
    cursor: pointer;
    letter-spacing: 0.04em;
    transition: all .18s;
}
.lang-switch button:hover { color: var(--ink); }
.lang-switch button.active {
    background: #fff;
    color: var(--orange);
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    width: 40px; height: 40px;
    flex-direction: column;
    gap: 5px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); }

/* ===== HERO ===== */
.hero {
    padding: 80px 0 100px;
    background:
        radial-gradient(ellipse at top right, rgba(255,138,0,0.10), transparent 60%),
        radial-gradient(ellipse at bottom left, rgba(63,175,71,0.08), transparent 60%),
        var(--cream);
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 60px;
    align-items: center;
}
.badge {
    display: inline-block;
    background: #fff;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ink);
    box-shadow: var(--shadow-sm);
    margin-bottom: 22px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust {
    display: flex;
    gap: 36px;
    margin-top: 44px;
    padding-top: 28px;
    border-top: 1px solid rgba(0,0,0,0.08);
    flex-wrap: wrap;
}
.hero-trust > div { display: flex; flex-direction: column; }
.hero-trust strong { font-size: 1.5rem; color: var(--orange); font-weight: 800; }
.hero-trust span { font-size: 0.85rem; color: var(--muted); }

/* ===== HERO MOCKS ===== */
.hero-visual { position: relative; min-height: 480px; }
.mock {
    position: absolute;
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.18);
    overflow: hidden;
}
.mock-tablet {
    width: 88%;
    top: 0;
    right: 0;
    padding: 16px;
    border: 8px solid #1f1f1f;
    border-radius: 20px;
}
.mock-screen {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    object-fit: contain;
}
.mock-bar { display: flex; gap: 6px; margin-bottom: 14px; }
.mock-bar span { width: 10px; height: 10px; border-radius: 50%; background: #ddd; }
.mock-bar span:first-child { background: #FF6B6B; }
.mock-bar span:nth-child(2) { background: #FFD93D; }
.mock-bar span:nth-child(3) { background: var(--green); }
.mock-row-title { font-weight: 700; margin-bottom: 12px; color: var(--ink); }
.mock-card {
    background: #fff;
    padding: 12px 14px;
    border-radius: 10px;
    margin-bottom: 8px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.mock-card.live { border-left: 3px solid var(--orange); }
.mock-card .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); animation: pulse 1.5s infinite; }
.mock-card .dot.warn { background: #FFD93D; animation: none; }
.mock-card .dot.ok { background: var(--green); animation: none; }
.mock-card strong { margin-left: auto; color: var(--orange); }
.mock-row-stats {
    display: grid; grid-template-columns: repeat(3,1fr);
    gap: 10px; margin-top: 14px; padding-top: 14px;
    border-top: 1px dashed #ddd;
}
.mock-row-stats > div { text-align: center; }
.mock-row-stats b { display: block; font-size: 1.1rem; color: var(--green); }
.mock-row-stats i { font-size: 0.75rem; color: var(--muted); font-style: normal; }

.mock-phone {
    width: 200px;
    bottom: -20px;
    left: -10px;
    border: 8px solid #1f1f1f;
    border-radius: 28px;
    padding: 14px 12px;
}
.mock-phone-screen {
    width: 100%;
    height: auto;
    border-radius: 18px;
    display: block;
    object-fit: contain;
}
.phone-header { font-weight: 800; margin-bottom: 12px; }
.phone-item {
    display: flex; justify-content: space-between;
    padding: 10px 12px; border-radius: 8px;
    background: #FAFAFA; margin-bottom: 6px; font-size: 0.85rem;
}
.phone-item.active { background: var(--cream); border: 1px solid var(--orange); }
.phone-item b { color: var(--orange); }
.phone-cta {
    margin-top: 10px;
    background: var(--green);
    color: #fff;
    text-align: center;
    padding: 10px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.85rem;
}

/* ===== TABLET SLIDESHOW ===== */
.mock-slideshow {
    display: grid;
    border-radius: 8px;
    overflow: hidden;
}
.mock-slideshow .slide {
    grid-area: 1 / 1;
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.7s ease;
}
.mock-slideshow .slide.active {
    opacity: 1;
}
.slideshow-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding: 10px 0 2px;
}
.slideshow-dots .s-dot {
    width: 8px;
    height: 8px;
    border-radius: 4px;
    background: #ddd;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}
.slideshow-dots .s-dot.active {
    background: var(--orange);
    width: 22px;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .6; transform: scale(1.4); }
}

/* ===== SECTIONS ===== */
.section { padding: 90px 0; }
.section-light { background: var(--bg-soft); }
.section-cream { background: var(--cream); }
.section-dark { background: linear-gradient(135deg, #1A1A1A 0%, #2D2D2D 100%); color: #fff; }
.section-dark h2 { color: #fff; }
.section-cta { padding: 60px 0 100px; background: var(--bg-soft); }

.section-head { max-width: 720px; margin: 0 auto 56px; }
.section-head p { color: var(--muted); margin-top: 12px; font-size: 1.05rem; }

/* ===== FEATURES ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}
.feature-card {
    background: #fff;
    padding: 32px 28px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    transition: all .25s;
}
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: transparent;
}
.feature-icon {
    width: 56px; height: 56px;
    display: grid; place-items: center;
    background: color-mix(in srgb, var(--ic, var(--orange)) 12%, transparent);
    color: var(--ic, var(--orange));
    border-radius: 14px;
    margin-bottom: 20px;
}
.feature-icon svg { width: 28px; height: 28px; }
.feature-card h3 { margin-bottom: 8px; }
.feature-card p { color: var(--muted); font-size: 0.95rem; }

/* ===== PERCHÉ ===== */
.why-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 60px;
    align-items: start;
}
.why-text h2 { margin-bottom: 14px; }
.why-text p { color: var(--ink-soft); font-size: 1.05rem; }
.why-list { list-style: none; display: grid; gap: 18px; }
.why-list li { display: flex; gap: 16px; align-items: flex-start; }
.why-list .check {
    flex-shrink: 0;
    width: 30px; height: 30px;
    display: grid; place-items: center;
    background: var(--green);
    color: #fff;
    border-radius: 50%;
    font-weight: 800;
    font-size: 0.9rem;
}
.why-list b { display: block; font-weight: 700; margin-bottom: 2px; }
.why-list p { color: var(--muted); font-size: 0.92rem; }

/* ===== TIMELINE ===== */
.timeline {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    counter-reset: step;
    position: relative;
}
.timeline li {
    background: #fff;
    border: 1px solid var(--line);
    padding: 28px 24px;
    border-radius: var(--radius);
    text-align: center;
    transition: transform .2s;
}
.timeline li:hover { transform: translateY(-4px); }
.t-num {
    width: 48px; height: 48px;
    display: grid; place-items: center;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, var(--orange), var(--orange-dark));
    color: #fff;
    border-radius: 50%;
    font-weight: 800;
    font-size: 1.2rem;
    box-shadow: var(--shadow-lg);
}
.timeline h3 { margin-bottom: 6px; }
.timeline p { color: var(--muted); font-size: 0.92rem; }

/* ===== PRICING ===== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    align-items: stretch;
}
.price-card {
    background: #fff;
    border: 2px solid var(--line);
    padding: 36px 28px;
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all .25s;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.price-card.featured {
    border-color: var(--orange);
    background: linear-gradient(180deg, #fff 0%, var(--cream) 100%);
    transform: scale(1.03);
}
.price-card.featured:hover { transform: scale(1.03) translateY(-4px); }
.ribbon {
    position: absolute;
    top: -14px; left: 50%;
    transform: translateX(-50%);
    background: var(--orange);
    color: #fff;
    padding: 6px 18px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.price-card h3 { margin-bottom: 14px; }
.price {
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--ink);
    line-height: 1;
    margin: 8px 0 6px;
}
.price span { font-size: 1.4rem; vertical-align: super; color: var(--orange); margin-right: 2px; }
.price small { font-size: 0.9rem; font-weight: 500; color: var(--muted); margin-left: 4px; }
.price-sub { color: var(--muted); font-size: 0.92rem; margin-bottom: 20px; }
.price-card ul { list-style: none; margin-bottom: 26px; }
.price-card ul li { padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 0.95rem; }
.price-card ul li:last-child { border-bottom: none; }
.price-card .btn { margin-top: auto; }

/* ===== VIDEO PROMO ===== */
.section-video {
    background: linear-gradient(135deg, #1A1A1A 0%, #2D2D2D 100%);
    color: #fff;
}
.section-video h2 { color: #fff; }
.section-video .eyebrow { color: #FFD9A8; background: rgba(255,138,0,0.15); }
.section-video .big-text { color: #B0B0B0; margin-bottom: 40px; }
.video-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,0.5);
    background: #000;
    max-width: 820px;
    margin: 0 auto;
}
.video-wrapper video {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
}

/* ===== GALLERY ===== */
.section-gallery {
    background: var(--bg-soft);
    padding: 80px 0;
}
.gallery-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
}
.gallery-image {
    max-width: 100%;
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gallery-image:hover {
    transform: scale(1.02);
    box-shadow: 0 30px 80px rgba(255,138,0,0.2);
}

/* ===== TESTIMONIALS ===== */
.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}
.t-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 32px 28px;
    border-radius: var(--radius);
    backdrop-filter: blur(10px);
}
.t-card blockquote {
    font-size: 1.02rem;
    line-height: 1.6;
    color: #E5E5E5;
    margin-bottom: 20px;
    font-style: italic;
}
.t-card blockquote::before { content: '"'; color: var(--orange); font-size: 2rem; line-height: 0; }
.t-card figcaption strong { display: block; color: #fff; }
.t-card figcaption span { color: #999; font-size: 0.88rem; }

/* ===== CTA / CONTATTI ===== */
.cta-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 50px;
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 50px;
    align-items: center;
    border-top: 5px solid var(--orange);
}
.cta-text h2 { margin-bottom: 12px; }
.cta-text p { color: var(--muted); margin-bottom: 22px; }
.cta-bullets { list-style: none; }
.cta-bullets li { padding: 8px 0; font-weight: 500; }

.contact-form { display: grid; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ink-soft);
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    margin-top: 6px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.95rem;
    background: var(--bg-soft);
    transition: border-color .15s, background .15s;
}
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--orange);
    background: #fff;
}
.form-note { font-size: 0.78rem; color: var(--muted); text-align: center; margin-top: 6px; }

/* ===== FOOTER ===== */
.site-footer {
    background: #0F0F0F;
    color: #B0B0B0;
    padding-top: 70px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 50px;
}
.footer-grid h4 { color: #fff; margin-bottom: 16px; font-size: 0.95rem; }
.footer-grid a { display: block; padding: 6px 0; color: #B0B0B0; transition: color .15s; font-size: 0.92rem; }
.footer-grid a:hover { color: var(--orange); }
.footer-tag { font-size: 0.92rem; margin-top: 14px; line-height: 1.6; }
.footer-bottom {
    border-top: 1px solid #2A2A2A;
    padding: 24px 0;
    font-size: 0.85rem;
    color: #777;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
    .hero-grid, .why-grid, .cta-card { grid-template-columns: 1fr; gap: 40px; }
    .hero-visual { min-height: 420px; }
    .cta-card { padding: 32px 24px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
    .main-nav { display: none; }
    .main-nav.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: #fff;
        padding: 20px 24px;
        gap: 16px;
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow);
    }
    .nav-toggle { display: flex; }
    .section { padding: 60px 0; }
    .hero { padding: 50px 0 70px; }
    .hero-trust { gap: 22px; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .price-card.featured { transform: none; }
    .price-card.featured:hover { transform: translateY(-4px); }
    .mock-phone { width: 160px; }
}
