/*
 * Homepage-only styles (front-page.css)
 *
 * Loaded by functions.php only when is_front_page() is true.
 * Contains: hero, models, about, foodtrack, authorities, security,
 * catalog, articles, social marquee, and their responsive overrides.
 * Global tokens, resets, utilities, and chrome live in style.css.
 */

/* =========================================
   HERO — masked frame expands on scroll
   ========================================= */

/* On the homepage, the header sits below the topbar (50px offset) until scrolled */
.header { top: 50px; }
.header.scrolled { top: 0; }

/* Top scrim — keeps menu readable on the hero image (lives inside the frame) */
.hero-scrim {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 260px;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(12,48,88,.78) 0%, rgba(12,48,88,.36) 55%, rgba(12,48,88,0) 100%);
}

.hero {
    position: relative;
    height: 220vh;
    background: var(--ink-50);
}
.hero-stage {
    position: relative;
    height: 100vh;
    overflow: hidden;
    color: #fff;
    background: var(--ink-50);
}
.hero-frame {
    position: absolute;
    top: 24px;
    right: 24px;
    bottom: 24px;
    left: 24px;
    border-radius: 32px;
    overflow: hidden;
    /* box-shadow: 0 30px 80px rgba(12,48,88,.22); */
    will-change: top, right, bottom, left, border-radius;
}
.hero-img {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.04);
    will-change: transform;
}
.hero-veil {
    position: absolute; inset: 0;
    background:
        linear-gradient(180deg, rgba(12,48,88,.55) 0%, rgba(12,48,88,.25) 45%, rgba(12,48,88,.65) 100%),
        linear-gradient(180deg, #0068f526 0%, #0068f50f 55%, #0068f50f 100%),
        linear-gradient(305deg, #0068f500, #0068f538);
    pointer-events: none;
}
.hero-pattern {
    position: absolute;
    top: 0; right: 0;
    width: 360px; height: 360px;
    pointer-events: none;
    opacity: .22;
    z-index: 3;
    background-image:
        linear-gradient(rgba(255,255,255,.55) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.55) 1px, transparent 1px);
    background-size: 26px 26px;
    mask-image: linear-gradient(225deg, #000 0%, transparent 75%);
    -webkit-mask-image: linear-gradient(225deg, #000 0%, transparent 75%);
}
/* architectural drafting corners */
.hero-corner {
    position: absolute;
    width: 56px; height: 56px;
    border-color: rgba(255,255,255,.6);
    border-style: solid;
    z-index: 4;
    pointer-events: none;
}
.hero-corner-tl { top: 30px; left: 30px; border-width: 2px 0 0 2px; }
.hero-corner-tr { top: 30px; right: 30px; border-width: 2px 2px 0 0; }
.hero-corner-bl { bottom: 30px; left: 30px; border-width: 0 0 2px 2px; }
.hero-corner-br { bottom: 30px; right: 30px; border-width: 0 2px 2px 0; }
/* dimension marker on left side */
.hero-dimension {
    position: absolute;
    left: 56px; top: 40%; bottom: 28%;
    z-index: 4;
    width: 14px;
    border-left: 1px solid rgba(255,255,255,.5);
    pointer-events: none;
    visibility: hidden;
}
.hero-dimension::before, .hero-dimension::after {
    content: '';
    position: absolute;
    left: -6px;
    width: 14px; height: 1px;
    background: rgba(255,255,255,.5);
}
.hero-dimension::before { top: 0; }
.hero-dimension::after { bottom: 0; }
.hero-dimension span {
    position: absolute;
    left: 28px;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
    transform-origin: left center;
    font-family: 'Rubik', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    color: rgba(255,255,255,.65);
    white-space: nowrap;
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 56px 56px 130px 56px;
    max-width: 1280px;
    margin: 0 auto;
    will-change: transform, opacity;
}
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,.85);
    margin-bottom: 22px;
    width: fit-content;
    visibility: hidden;
}
.hero-eyebrow::before {
    content: '';
    width: 36px;
    height: 1px;
    background: rgba(255,255,255,.55);
}
.hero h1 {
    font-size: clamp(40px, 7.4vw, 96px);
    font-weight: 900;
    line-height: 1.02;
    letter-spacing: -0.025em;
    margin-bottom: 24px;
    max-width: 1100px;
}

.hero h1 span {
    display: block;
    color: white;
    -webkit-text-fill-color: initial;
}
.hero-line-3 {
    background: white;
    -webkit-background-clip: text;
    background-clip: text;
    text-shadow: 0 2px 30px rgba(0, 0, 0, .3);
}

.hero-line-3,
.hero-line-2,
.hero-line-1 {
    font-size: clamp(40px, 7.4vw, 52px);
    font-weight: 700;
    text-shadow: 0 2px 30px rgba(0, 0, 0, .3);
}

.hero-line-1 {
    font-size: clamp(40px, 7.4vw, 72px);
    font-weight: 900;
}

.hero-text {
    font-size: 18px;
    line-height: 1.7;
    font-weight: 500;
    max-width: 580px;
    color: white;
    margin-bottom: 32px;
}

.hero-text br {
    display: none !important;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* meta strip — bottom of hero, gov.il style */
.hero-meta {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    z-index: 2;
    border-top: 1px solid rgba(255,255,255,.16);
    background: linear-gradient(180deg, rgba(3,19,46,0), rgba(3,19,46,.2));
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 24px 28px;
    display: flex;
    gap: 56px;
    flex-wrap: wrap;
    max-width: 1280px;
    margin: 0 auto;
}
.hero-meta-item {
    display: flex; align-items: baseline; gap: 12px;
    color: rgba(255,255,255,.92);
    font-weight: 500;
}
.hero-meta-num {
    font-size: 14px;
    color: var(--accent);
    font-weight: 700;
}
.hero-meta-label { font-size: 15px; }

.hero-scroll-hint {
    position: absolute;
    top: 50%;
    left: 28px;
    transform: translateY(-50%) rotate(-90deg);
    transform-origin: top left;
    color: rgba(255,255,255,.7);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 2;
}
.hero-scroll-hint .line {
    width: 60px; height: 1px;
    background: linear-gradient(90deg, currentColor, transparent);
    position: relative;
    overflow: hidden;
}
.hero-scroll-hint .line::after {
    content: '';
    position: absolute; inset: 0;
    background: rgba(255,255,255,.95);
    animation: hint 1.8s infinite;
}
@keyframes hint {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* =========================================
   ABOUT
   ========================================= */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.about-text h2 { margin-bottom: 22px; }
.about-text p {
    font-size: 16.5px;
    color: var(--ink-600);
    line-height: 1.85;
    margin-bottom: 16px;
}
.about-media {
    position: relative;
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 240px 240px;
    gap: 18px;
}
.media-main {
    grid-row: 1 / 3;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.media-main img { width: 100%; height: 100%; object-fit: cover; }
.media-side {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}
.media-side img { width: 100%; height: 100%; object-fit: cover; }
.media-badge {
    position: absolute;
    bottom: -22px; right: -22px;
    background: #fff;
    padding: 16px 20px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    display: flex; align-items: center; gap: 14px;
    z-index: 2;
}
.media-badge i {
    width: 44px; height: 44px;
    background: var(--grad);
    border-radius: 12px;
    color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 19px;
}
.media-badge strong { display: block; color: var(--blue-900); font-size: 15px; }
.media-badge small { color: var(--ink-500); font-size: 12px; }

/* =========================================
   FOODTRACK
   ========================================= */
.foodtrack { background: var(--ink-50); }
.foodtrack-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.foodtrack-gallery {
    display: grid;
    grid-template-rows: 310px 190px;
    gap: 16px;
}
.ft-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.ft-main img { width: 100%; height: 100%; object-fit: cover; }
.ft-thumbs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.ft-thumb {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}
.ft-thumb img { width: 100%; height: 100%; object-fit: cover; }
.foodtrack-text h2 { margin-bottom: 22px; }
.foodtrack-text p {
    font-size: 16.5px;
    color: var(--ink-600);
    line-height: 1.85;
    margin-bottom: 16px;
}

/* =========================================
   AUTHORITIES (with bg image)
   ========================================= */
.authorities {
    position: relative;
    isolation: isolate;
    padding: 140px 0;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.authorities::before {
    content: '';
    position: absolute; inset: 0;
    z-index: -1;
    background:
        radial-gradient(900px 500px at 100% 0%, rgba(0,104,245,.22), transparent 60%),
        linear-gradient(305deg, rgba(12,48,88,.92), rgba(0,104,245,.82));
}
.authorities .container { position: relative; z-index: 1; }
.auth-card {
    color: #fff;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 64px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}
.auth-text h2 { color: #fff; margin-bottom: 22px; }
.auth-text p {
    color: rgba(255,255,255,.88);
    font-size: 16px;
    line-height: 1.85;
    margin-bottom: 30px;
}
.auth-icons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.auth-ico {
    background: #fff;
    border: 1px solid rgba(255,255,255,.4);
    border-radius: var(--radius);
    padding: 28px 18px;
    text-align: center;
    transition: var(--tr);
    min-height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    box-shadow: 0 12px 30px rgba(7,28,56,.18);
}
.auth-ico:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 50px rgba(7,28,56,.28);
}
.auth-ico i {
    font-size: 30px;
    color: #0068f5;
    line-height: 1;
}
.auth-ico span {
    display: block;
    font-weight: 700;
    font-size: 15px;
    color: #0c3058;
    line-height: 1.3;
}

/* =========================================
   SECURITY
   ========================================= */
.security { background: #fff; }
.security-panels {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}
.security-panel {
    background: var(--ink-50);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--ink-100);
    transition: transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s ease, border-color .4s ease;
}
.security-panel:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--blue-100);
}
.security-panel-img {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}
.security-panel-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(.2,.7,.2,1);
}
.security-panel:hover .security-panel-img img { transform: scale(1.05); }
.security-panel-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(12,48,88,.45));
    pointer-events: none;
}
.security-panel-body { padding: 32px; }
.security-panel-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--blue-50);
    color: var(--blue-700);
    font-weight: 900;
    font-size: 14px;
    margin-bottom: 16px;
    border: 2px solid var(--blue-100);
}
.security-panel-body h3 {
    font-size: 22px;
    color: var(--blue-900);
    font-weight: 800;
    margin-bottom: 14px;
    line-height: 1.25;
}
.security-panel-body p {
    font-size: 15px;
    color: var(--ink-600);
    line-height: 1.8;
    margin-bottom: 20px;
}
/* The panel's secondary button uses .btn-ghost (white text/border, built for
   dark backgrounds) but the panel body is light, so it's invisible. Restyle it
   here to match .btn-outline. Scoped to the panel — the hero/authorities ghost
   buttons (on dark backgrounds) are untouched. */
.security-panel-body .btn-ghost {
    background: transparent;
    color: var(--blue-600);
    border-color: var(--blue-200);
    backdrop-filter: none;
}
.security-panel-body .btn-ghost:hover {
    background: var(--blue-50);
    border-color: var(--blue-400);
}
.security-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
}
.security-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--ink-700);
}
.security-features li i { color: var(--blue-500); font-size: 13px; flex-shrink: 0; }

/* =========================================
   CATALOG
   ========================================= */
.catalog { background: var(--ink-50); }
.catalog-grid {
    display: grid; grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: flex-start;
}
.catalog-text p {
    font-size: 16px;
    color: var(--ink-600);
    line-height: 1.85;
    margin-bottom: 14px;
}
.catalog-text .btn { margin-top: 18px; }
.catalog-tabs {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 26px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--ink-100);
}
.tabs-head {
    display: flex;
    gap: 6px;
    background: var(--blue-50);
    padding: 6px;
    border-radius: 14px;
    margin-bottom: 22px;
}
.tab-btn {
    flex: 1;
    padding: 12px 16px;
    border-radius: 10px;
    font-weight: 700;
    color: var(--blue-700);
    transition: var(--tr);
    font-size: 15px;
}
.tab-btn.active {
    background: #fff;
    color: var(--blue-900);
    box-shadow: 0 4px 10px rgba(12,42,91,.08);
}
.tab-pane { display: none; }
.tab-pane.active { display: block; animation: fadeIn .4s ease both; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.weinsberg-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}
.w-card {
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--ink-50);
    border: 1px solid var(--ink-100);
    transition: var(--tr);
    display: flex;
    flex-direction: column;
}
.w-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--blue-100);
}
.w-card img { width: 100%; height: 180px; object-fit: cover; display: block; object-position: center; }
.w-card span {
    display: block;
    padding: 12px 14px 4px;
    font-weight: 700;
    color: var(--blue-800);
    font-size: 14px;
}
.w-card .w-price {
    padding: 0 14px 12px;
    font-size: 13px;
    font-weight: 800;
    color: var(--blue-500);
    letter-spacing: -0.01em;
    margin-top: auto;
    display: block;
}

/* =========================================
   ARTICLES
   ========================================= */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}
.article-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--ink-100);
    transition: var(--tr);
}
.article-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--blue-100);
}
.article-img { aspect-ratio: 16 / 10; overflow: hidden; }
.article-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(.2,.7,.2,1);
}
.article-card:hover .article-img img { transform: scale(1.05); }
.article-body { padding: 24px; }
.article-cat {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: var(--blue-600);
    background: var(--blue-50);
    padding: 4px 10px;
    border-radius: 999px;
    margin-bottom: 12px;
}
.article-body h3 {
    font-size: 19px;
    color: var(--blue-900);
    line-height: 1.4;
    margin-bottom: 14px;
    font-weight: 700;
}
.article-link {
    display: inline-flex; align-items: center; gap: 8px;
    color: var(--blue-600);
    font-weight: 700;
    font-size: 14px;
}
.article-link i { transition: transform var(--tr); }
.article-link:hover i { transform: translateX(-4px); }

/* =========================================
   ARTICLES TABS
   ========================================= */
.art-tabs {
    display: flex;
    gap: 6px;
    background: var(--blue-50);
    padding: 6px;
    border-radius: 14px;
    margin-bottom: 32px;
}
.art-tab-btn {
    flex: 1;
    padding: 13px 18px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 15px;
    color: var(--blue-700);
    transition: var(--tr);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    border: none;
    background: none;
    font-family: var(--font-ui);
}
.art-tab-btn i { font-size: 14px; }
.art-tab-btn.active {
    background: #fff;
    color: var(--blue-900);
    box-shadow: 0 4px 10px rgba(12,42,91,.08);
}
.art-tab-btn:not(.active):hover { background: rgba(255,255,255,.6); }
.art-pane { display: none; }
.art-pane.active { display: block; animation: fadeIn .35s ease both; }

/* Load more — reveal 3 cards at a time per tab */
.article-card.is-hidden,
.nl-card.is-hidden,
.press-card.is-hidden { display: none; }

.art-load-more {
    display: flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    margin: 32px auto 0;
    padding: 13px 32px;
    border: none;
    border-radius: 10px;
    font-family: var(--font-ui);
    font-weight: 700;
    font-size: 15px;
    color: #fff;
    cursor: pointer;
    background: linear-gradient(305deg, #0c3058, #0068f5);
    box-shadow: 0 6px 16px rgba(0,104,245,.25);
    transition: transform .25s ease, box-shadow .25s ease;
}
.art-load-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(0,104,245,.32);
}
.art-load-more i { font-size: 14px; display: none; } /* spinner hidden until loading */
.art-load-more.is-loading { opacity: .85; pointer-events: none; }
.art-load-more.is-loading i { display: inline-block; }

/* =========================================
   CONTENT SUB-HEADINGS (blog / nl / press dividers)
   ========================================= */
.content-subhead {
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 60px 0 28px;
}
.content-subhead:first-of-type { margin-top: 10px; }
.subhead-label {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--blue-600);
    white-space: nowrap;
}
.subhead-label i { font-size: 14px; }
.subhead-rule {
    flex: 1;
    height: 1px;
    background: linear-gradient(to left, transparent 0%, var(--ink-200) 100%);
}

/* =========================================
   NEWSLETTER CARDS
   ========================================= */
.nl-card {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .28s ease, box-shadow .28s ease;
}
.nl-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.nl-header {
    background: linear-gradient(305deg, #0c3058, #0068f5);
    padding: 22px 24px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    color: #fff;
}
.nl-header i {
    font-size: 28px;
    opacity: 0.85;
    flex-shrink: 0;
}
.nl-issue {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    opacity: 0.82;
    line-height: 1.3;
}
.nl-body {
    padding: 22px 24px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 10px;
}
.nl-body h3 {
    /* font-family: var(--font-display); */
    font-size: 17px;
    font-weight: 700;
    color: var(--ink-800);
    line-height: 1.45;
    margin: 0;
}
.nl-body p {
    font-size: 14px;
    color: var(--ink-500);
    line-height: 1.65;
    margin: 0;
    flex: 1;
}
.nl-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 700;
    color: var(--blue-600);
    text-decoration: none;
    margin-top: 6px;
    transition: gap .22s ease, color .22s ease;
}
.nl-link:hover { gap: 11px; color: var(--blue-700); }

/* =========================================
   PRESS GRID & CARDS
   ========================================= */
.press-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.press-card {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 26px 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-top: 3px solid var(--blue-500);
    transition: transform .28s ease, box-shadow .28s ease;
}
.press-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.press-source {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.press-name {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--blue-600);
    background: var(--blue-50);
    padding: 3px 10px;
    border-radius: 20px;
}
.press-date {
    font-size: 12px;
    color: var(--ink-400);
    font-weight: 500;
}
.press-card h3 {
    /* font-family: var(--font-display); */
    font-size: 16px;
    font-weight: 700;
    color: var(--ink-800);
    line-height: 1.5;
    margin: 0;
    flex: 1;
}
.press-card p {
    font-size: 13.5px;
    color: var(--ink-500);
    line-height: 1.65;
    margin: 0;
}
.press-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 700;
    color: var(--blue-600);
    text-decoration: none;
    margin-top: 4px;
    transition: gap .22s ease, color .22s ease;
}
.press-link:hover { gap: 11px; color: var(--blue-700); }
.press-link i { font-size: 11px; }

/* =========================================
   SOCIAL STRIP — marquee
   ========================================= */
.social-strip {
    padding: 100px 0 110px;
    background: linear-gradient(135deg, var(--blue-50), #fff);
    overflow: hidden;
}
.social-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}
.social-head h2 { margin: 12px 0 0; font-size: 36px; }
.social-platforms { display: flex; gap: 10px; }
.platform {
    width: 48px; height: 48px;
    border-radius: 14px;
    background: #fff;
    color: var(--blue-700);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 19px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--ink-100);
    transition: var(--tr);
}
.platform:hover {
    background: var(--grad);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: var(--shadow-blue);
    border-color: transparent;
}

.social-marquee {
    direction: ltr;
    position: relative;
    width: 100%;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
}
.marquee-track {
    display: flex;
    gap: 26px;
    width: max-content;
    will-change: transform;
}

.post-card {
    flex-shrink: 0;
    width: 288px;
    aspect-ratio: 1.23 / 1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    background: #fff;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--ink-100);
    transition: transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s ease;
    display: block;
}
.post-card img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.post-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: var(--shadow-lg);
    z-index: 2;
}
.post-tag {
    position: absolute;
    top: 14px; right: 14px;
    background: rgba(255,255,255,.96);
    color: var(--blue-800);
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    backdrop-filter: blur(8px);
}
.post-tag i { font-size: 11px; }

/* =========================================
   CONTACT / CTA (homepage section — distinct from chrome pre-footer-contact)
   ========================================= */
.contact { background: #fff; padding: 100px 0 130px; }
.contact-shell {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 28px;
    background: #fff;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    border: 1px solid var(--ink-100);
}

.contact-feature {
    position: relative;
    color: #fff;
    overflow: hidden;
    min-height: 620px;
}
.contact-feature-img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
}
.contact-feature-overlay {
    position: absolute; inset: 0;
    background:
        radial-gradient(700px 500px at 0% 100%, rgba(0,104,245,.4), transparent 60%),
        linear-gradient(305deg, rgba(12,48,88,.6) 0%, rgba(12,48,88,.78) 100%);
}
.contact-feature-content {
    position: relative;
    z-index: 1;
    padding: 56px 48px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
}
.contact-feature h2 { color: #fff; margin: 14px 0 18px; font-size: clamp(26px, 3vw, 36px); }
.contact-feature p { color: rgba(255,255,255,.88); margin-bottom: 30px; line-height: 1.75; max-width: 480px; }
.contact-kicker {
    display: inline-flex;
    align-self: flex-start;
    align-items: center;
    gap: 10px;
    color: var(--accent);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 6px;
}
.contact-kicker i { font-size: 15px; }
.contact-tagline {
    margin-top: 20px;
    font-size: 18px;
    font-weight: 700;
    font-family: var(--font-display);
    color: rgba(255,255,255,.75);
    font-style: italic;
    display: flex;
    align-items: center;
    gap: 10px;
}
.contact-tagline i { font-size: 14px; opacity: 0.6; }

.contact-rows { display: flex; flex-direction: column; gap: 12px; }
.contact-row {
    display: flex; align-items: center; gap: 14px;
    padding: 14px 18px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.22);
    border-radius: var(--radius);
    transition: var(--tr);
    color: inherit;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.contact-row:hover {
    background: rgba(255,255,255,.2);
    border-color: rgba(56,189,248,.5);
    transform: translateX(-3px);
}
.contact-row i {
    width: 42px; height: 42px;
    border-radius: 12px;
    background: var(--accent);
    color: var(--blue-900);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}
.contact-row small { display: block; color: rgba(255,255,255,.78); font-size: 12.5px; margin-bottom: 2px; font-weight: 500; }
.contact-row strong { color: #fff; font-size: 15.5px; font-weight: 700; }

.contact-form {
    padding: 56px 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.form-head { margin-bottom: 26px; }
.form-head h3 {
    font-size: 28px;
    color: var(--blue-900);
    font-weight: 800;
    letter-spacing: -0.01em;
    margin-bottom: 10px;
}
.form-head p {
    font-size: 14.5px;
    color: var(--ink-500);
    line-height: 1.65;
}
.form-row { margin-bottom: 14px; }
.form-row.split {
    display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.contact-form label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--ink-600);
}
.contact-form label > span { display: block; margin-bottom: 6px; }
.contact-form input[type=text],
.contact-form input[type=email],
.contact-form input[type=tel] {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid var(--ink-200);
    border-radius: 12px;
    font-family: inherit;
    font-size: 15px;
    color: var(--ink-800);
    background: var(--ink-50);
    transition: var(--tr);
}
.contact-form input:focus {
    outline: 0;
    border-color: var(--blue-500);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(37,99,235,.12);
}
.contact-form label.consent {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 13px;
    color: var(--ink-600);
    margin: 18px 0 22px;
    cursor: pointer;
    line-height: 1.65;
    padding: 14px 16px;
    background: var(--ink-50);
    border: 1px solid var(--ink-200);
    border-radius: 12px;
    transition: var(--tr);
    font-weight: 500;
}
.contact-form label.consent:hover { border-color: var(--blue-200); background: var(--blue-50); }
.contact-form label.consent input {
    margin-top: 2px;
    accent-color: var(--blue-600);
    flex-shrink: 0;
    width: 16px; height: 16px;
    cursor: pointer;
}
.contact-form label.consent > span { flex: 1; display: inline; margin: 0; }
.contact-form label.consent a { color: var(--blue-600); font-weight: 700; text-decoration: underline; }
.contact-form label.consent a:hover { color: var(--blue-800); }
.form-trust {
    font-size: 12.5px;
    color: var(--ink-500);
    margin-top: 14px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.form-trust i { color: var(--blue-500); }
.form-success {
    margin-top: 14px;
    padding: 12px 16px;
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
    border-radius: 10px;
    font-weight: 600;
    text-align: center;
    display: none;
}
.form-success.show { display: block; animation: fadeIn .4s ease both; }

/* =========================================
   RESPONSIVE — homepage breakpoints
   ========================================= */
@media (max-width: 900px) {
    .header { top: 5px; }

    .articles-grid,
    .weinsberg-grid,
    .press-grid { grid-template-columns: 1fr 1fr; }
    .foodtrack-grid { grid-template-columns: 1fr; gap: 40px; }
    .foodtrack-gallery { grid-template-rows: 240px 160px; }
    .security-panels { grid-template-columns: 1fr; }
    .about-grid,
    .catalog-grid,
    .auth-card,
    .contact-shell { grid-template-columns: 1fr; gap: 0; }
    .contact-shell { gap: 0; }
    .contact-feature { min-height: 440px; }
    /* MOBILE HERO — disable pin/scrub. Plain section, full-bleed frame, content visible. */
    .hero { height: auto; min-height: 100svh; min-height: 100vh; }
    .hero-stage { position: relative; height: 100svh; height: 100vh; min-height: 560px; }
    .hero-frame {
        position: absolute;
        top: 0; right: 0; bottom: 0; left: 0;
        border-radius: 0;
        overflow: hidden;
    }
    .hero-content { padding: 0 32px 60px 32px; opacity: 1 !important; transform: none !important; }
    .hero-content > * { opacity: 1 !important; transform: none !important; }
    .hero-eyebrow,
    .hero h1 span,
    .hero-text,
    .hero-actions,
    .hero-meta { opacity: 1 !important; transform: none !important; }
    .hero-veil,
    .hero-scrim { opacity: 1 !important; }
    .hero-img { transform: none !important; }
    .hero-corner, .hero-dimension { display: none; }
    .hero-pattern { width: 200px; height: 200px; }
    .hero-meta { gap: 24px; padding: 18px 22px; display: none; }
    .hero-meta-label { font-size: 13px; }
    .hero-scroll-hint { display: none; }
    .authorities { padding: 100px 0; }
}

@media (max-width: 640px) {
    /* Layout grids → single column */
    .articles-grid,
    .weinsberg-grid,
    .press-grid { grid-template-columns: 1fr; }
    .form-row.split { grid-template-columns: 1fr; }
    .auth-icons { grid-template-columns: 1fr 1fr; }

    /* Hero — overrides above 900px block for narrowest screens */
    .hero h1 { font-size: clamp(34px, 10vw, 50px); line-height: 1.15; }
    .hero-text { font-size: 14px; line-height: 1.7; padding: 0 4px; }
    .hero-eyebrow { font-size: 12px; margin-bottom: 16px; }
    .hero-content { padding: 0 22px 40px 22px; }
    .hero-actions { flex-direction: column; align-items: stretch; gap: 10px; }
    .hero-actions .btn { justify-content: center; padding: 16px 22px; }

    /* About */
    .about-grid h2 { font-size: clamp(26px, 7vw, 34px); line-height: 1.25; }
    .about-text p { font-size: 14.5px; }
    .about-text .card-actions { margin-bottom: 20px; flex-direction: row; flex-wrap: wrap; }
    .about-text .card-actions .btn { flex: 1; min-width: 130px; justify-content: center; padding: 14px 16px; font-size: 14px; }
    .media-badge { display: none; }
    .about-media { grid-template-columns: 1fr; grid-template-rows: 200px 200px; }
    .about-media .media-main { grid-row: auto; }

    /* Foodtrack */
    .foodtrack-text h2 { font-size: clamp(26px, 7vw, 34px); line-height: 1.25; }
    .foodtrack-text p { font-size: 14.5px; }
    .foodtrack-text .card-actions { flex-direction: row; flex-wrap: wrap; }
    .foodtrack-text .card-actions .btn { flex: 1; min-width: 130px; justify-content: center; padding: 14px 16px; font-size: 14px; }

    /* Authorities — slimmer card padding */
    .authorities { padding: 80px 0; }
    .auth-card { padding: 36px 24px; }
    .auth-text h2 { font-size: clamp(26px, 7vw, 34px); }
    .auth-text .card-actions { margin-bottom: 20px; flex-wrap: wrap; }
    .auth-text .card-actions .btn { flex: 1; min-width: 130px; justify-content: center; padding: 14px 16px; font-size: 14px; }
    .auth-ico { padding: 20px 12px; }
    .auth-ico i { font-size: 28px; }
    .auth-ico span { font-size: 13px; }

    /* Security */
    .security-panel-body { padding: 28px 22px; }
    .security-panel-body h3 { font-size: 22px; }
    .security-panel-body p { font-size: 14px; }
    .security-panel-body .card-actions { flex-direction: row; flex-wrap: wrap; }
    .security-panel-body .card-actions .btn { flex: 1; min-width: 120px; justify-content: center; padding: 12px 14px; }

    /* Catalog */
    .catalog-text p { font-size: 14.5px; }
    .catalog-tabs { padding: 18px; }
    .catalog-text { margin-bottom: 20px; }

    /* Articles — tabs need to fit 3 in 390px */
    .art-tabs { padding: 5px; gap: 4px; }
    .art-tab-btn { padding: 11px 8px; font-size: 12px; gap: 6px;flex-direction: column; }
    .art-tab-btn i { font-size: 22px; }

    /* Contact */
    .contact-feature-content,
    .contact-form { padding: 36px 22px; }
    .contact-feature h2 { font-size: clamp(24px, 6.5vw, 30px); }
    .contact-feature p { font-size: 14px; }

    .hero-line-2 br { display: none; }
}

@media (max-width: 380px) {
    .art-tab-btn { padding: 10px 6px; font-size: 11px; }
    .art-tab-btn i { display: none; } /* drop icons in extreme narrow */
    .hero h1 { font-size: clamp(30px, 9.5vw, 44px); }
}
