/* ==========================================================================
   IkoBriq Homepage
   ========================================================================== */

.iko-home {
    --h-green: #447248;
    --h-green-dark: #345838;
    --h-green-darker: #2a4529;
    --h-green-light: #e8f0e9;
    --h-orange: #F1941C;
    --h-orange-dark: #d9820f;
    --h-orange-light: #fef3e2;
    --h-surface: #f9f8f4;
    --h-text: #3d3d3d;
    --h-text-light: #666;
    --h-border: #eae7df;
    --h-radius: 12px;
    --h-radius-sm: 8px;
    --h-radius-lg: 20px;
    --h-shadow: 0 4px 12px rgba(0,0,0,0.08);
    --h-shadow-hover: 0 12px 32px rgba(0,0,0,0.12);
    --h-font: 'Roboto', sans-serif;

    font-family: var(--h-font);
    color: var(--h-text);
    line-height: 1.7;
    overflow-x: hidden;
}

.home-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.home-section { padding: 96px 0; }


/* ==========================================================================
   Shared Components
   ========================================================================== */

.home-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--h-orange);
    margin-bottom: 12px;
}

.home-label--light { color: rgba(255,255,255,0.7); }

.home-heading {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--h-green-dark);
    line-height: 1.2;
    margin: 0 0 20px;
}

.home-heading span { color: var(--h-orange); }
.home-heading--center { text-align: center; }
.home-heading--light { color: #fff; }
.home-heading--light span { color: var(--h-orange); }

.home-subtext {
    text-align: center;
    max-width: 540px;
    margin: -8px auto 48px;
    color: var(--h-text-light);
    font-size: 1.0625rem;
}

.home-section-header {
    margin-bottom: 48px;
}

/* Links */
.home-link,
.home-link:link,
.home-link:visited {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--h-green) !important;
    text-decoration: none !important;
    margin-top: 8px;
    transition: gap 0.2s ease, color 0.2s ease;
}

.home-link:hover {
    color: var(--h-orange) !important;
    gap: 12px;
}

/* Buttons */
.home-btn,
.home-btn:link,
.home-btn:visited {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 0.9375rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-radius: var(--h-radius-sm);
    text-decoration: none !important;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.home-btn:hover { transform: translateY(-2px); }

.home-btn--primary,
.home-btn--primary:link,
.home-btn--primary:visited {
    background: linear-gradient(135deg, var(--h-green), var(--h-green-dark));
    color: #fff !important;
}

.home-btn--primary:hover {
    box-shadow: 0 8px 24px rgba(68,114,72,0.35);
    color: #fff !important;
}

.home-btn--secondary,
.home-btn--secondary:link,
.home-btn--secondary:visited {
    background: var(--h-green-light);
    color: var(--h-green-dark) !important;
}

.home-btn--secondary:hover {
    background: var(--h-green);
    color: #fff !important;
    box-shadow: var(--h-shadow);
}

.home-btn--outline,
.home-btn--outline:link,
.home-btn--outline:visited {
    background: transparent;
    color: #fff !important;
    border: 2px solid rgba(255,255,255,0.5);
}

.home-btn--outline:hover {
    background: rgba(255,255,255,0.15);
    border-color: #fff;
    color: #fff !important;
}

.home-btn--white,
.home-btn--white:link,
.home-btn--white:visited {
    background: #fff;
    color: var(--h-green-dark) !important;
}

.home-btn--white:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    color: var(--h-green-dark) !important;
}

.home-btn--ghost,
.home-btn--ghost:link,
.home-btn--ghost:visited {
    background: transparent;
    color: rgba(255,255,255,0.9) !important;
    border: 1px solid rgba(255,255,255,0.3);
}

.home-btn--ghost:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.6);
    color: #fff !important;
}

.home-btn:focus-visible {
    outline: 2px solid var(--h-orange);
    outline-offset: 3px;
}


/* ==========================================================================
   HERO
   ========================================================================== */

.home-hero {
    position: relative;
    background: var(--h-green-darker);
    overflow: hidden;
    padding: 0;
}

.home-hero__bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, var(--h-green-darker) 0%, var(--h-green-dark) 40%, var(--h-green) 100%);
}

.home-hero__overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 15% 85%, rgba(241,148,28,0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 85% 15%, rgba(255,255,255,0.06) 0%, transparent 50%);
    pointer-events: none;
}

/* Floating particles */
.home-hero__particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.home-hero__particles span {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(241,148,28,0.3);
    border-radius: 50%;
    animation: heroFloat 8s infinite ease-in-out;
}

.home-hero__particles span:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; }
.home-hero__particles span:nth-child(2) { top: 60%; left: 80%; animation-delay: 1.5s; width: 8px; height: 8px; }
.home-hero__particles span:nth-child(3) { top: 80%; left: 25%; animation-delay: 3s; width: 4px; height: 4px; }
.home-hero__particles span:nth-child(4) { top: 10%; left: 70%; animation-delay: 4.5s; }
.home-hero__particles span:nth-child(5) { top: 45%; left: 50%; animation-delay: 6s; width: 5px; height: 5px; }

@keyframes heroFloat {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.3; }
    50% { transform: translateY(-30px) scale(1.5); opacity: 0.7; }
}

.home-hero__inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
    padding: 80px 24px 60px;
}

@media (min-width: 768px) {
    .home-hero__inner {
        grid-template-columns: 1.1fr 0.9fr;
        padding: 100px 24px 80px;
        min-height: 580px;
    }
}

.home-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 8px 18px;
    border-radius: 100px;
    margin-bottom: 20px;
    border: 1px solid rgba(255,255,255,0.15);
}

.home-hero__title {
    color: #fff;
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 800;
    line-height: 1.12;
    margin: 0 0 20px;
}

.home-hero__highlight {
    color: var(--h-orange);
    position: relative;
}

.home-hero__text {
    color: rgba(255,255,255,0.8);
    font-size: clamp(1rem, 2vw, 1.15rem);
    max-width: 520px;
    margin: 0 0 28px;
}

.home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 36px;
}

/* Trust strip */
.home-hero__trust {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.12);
}

.home-hero__trust-item {
    color: rgba(255,255,255,0.7);
    font-size: 0.8125rem;
}

.home-hero__trust-item strong {
    color: var(--h-orange);
    font-size: 1.125rem;
    display: block;
    line-height: 1.2;
}

.home-hero__trust-divider {
    width: 1px;
    height: 32px;
    background: rgba(255,255,255,0.15);
}

/* Hero image */
.home-hero__visual {
    display: flex;
    justify-content: center;
}

.home-hero__image {
    width: 100%;
    max-width: 460px;
    height: auto;
    border-radius: var(--h-radius-lg);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    border: 3px solid rgba(255,255,255,0.1);
    object-fit: cover;
}

.home-hero__image-placeholder {
    width: 100%;
    max-width: 460px;
    aspect-ratio: 4 / 3;
    background: rgba(255,255,255,0.08);
    border-radius: var(--h-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.3);
    font-weight: 600;
}


/* ==========================================================================
   ABOUT INTRO
   ========================================================================== */

.home-about { background: #fff; }

.home-about__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}

@media (min-width: 768px) {
    .home-about__grid { grid-template-columns: 1fr 1.2fr; }
}

/* About image */
.home-about__visual {
    border-radius: var(--h-radius-lg);
    overflow: hidden;
}

.home-about__image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--h-radius-lg);
    box-shadow: var(--h-shadow-hover);
    object-fit: cover;
}

.home-about__image-placeholder {
    width: 100%;
    aspect-ratio: 4 / 3;
    background: var(--h-green-light);
    border-radius: var(--h-radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--h-green);
    opacity: 0.5;
}

.home-about__image-placeholder span {
    font-size: 0.75rem;
    font-weight: 600;
}

.home-about__content p {
    font-size: 1.0625rem;
    margin: 0 0 16px;
}

.home-about__content strong { color: var(--h-green-dark); }

/* Stats row (horizontal below grid) */
.home-about__stats-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 48px;
}

@media (min-width: 768px) {
    .home-about__stats-row { grid-template-columns: repeat(4, 1fr); }
}

.home-about__stat {
    background: var(--h-surface);
    border: 1px solid var(--h-border);
    border-radius: var(--h-radius);
    padding: 24px 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.home-about__stat:hover {
    transform: translateY(-3px);
    box-shadow: var(--h-shadow);
}

.home-about__stat-num {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: var(--h-green-dark);
    line-height: 1;
}

.home-about__stat-suffix {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--h-orange);
}

.home-about__stat-label {
    display: block;
    margin-top: 6px;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #999;
}


/* ==========================================================================
   PRODUCT CATEGORIES
   ========================================================================== */

.home-cats { background: #fff; }

.home-cats__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

@media (min-width: 600px) {
    .home-cats__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 992px) {
    .home-cats__grid { grid-template-columns: repeat(6, 1fr); }
}

.home-cat-card,
.home-cat-card:link,
.home-cat-card:visited {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px 16px;
    background: var(--h-surface);
    border: 1px solid var(--h-border);
    border-radius: var(--h-radius);
    text-decoration: none !important;
    color: var(--h-text) !important;
    transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.home-cat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--h-shadow-hover);
    border-color: var(--h-green);
    color: var(--h-text) !important;
}

.home-cat-card__image-wrap {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 12px;
    background: var(--h-green-light);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.home-cat-card:hover .home-cat-card__image-wrap {
    background: var(--h-green);
}

.home-cat-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-cat-card__icon {
    color: var(--h-green);
    transition: color 0.3s ease;
}

.home-cat-card:hover .home-cat-card__icon {
    color: #fff;
}

.home-cat-card__title {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--h-green-dark);
    margin: 0 0 4px;
}

.home-cat-card__count {
    font-size: 0.6875rem;
    color: #999;
    font-weight: 500;
}


/* ==========================================================================
   PRODUCTS (Real WooCommerce Products)
   ========================================================================== */

.home-products { background: var(--h-surface); }

.home-products__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 480px) {
    .home-products__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 992px) {
    .home-products__grid { grid-template-columns: repeat(3, 1fr); }
}

/* Product Card */
.home-pcard {
    background: #fff;
    border: 1px solid var(--h-border);
    border-radius: var(--h-radius);
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s ease;
}

.home-pcard:hover {
    transform: translateY(-5px);
    box-shadow: var(--h-shadow-hover);
}

/* Badges */
.home-pcard__badges {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 3;
    display: flex;
    gap: 6px;
}

.home-pcard__badge {
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 4px 10px;
    border-radius: 100px;
    color: #fff;
}

.home-pcard__badge--sale { background: #e53e3e; }
.home-pcard__badge--featured { background: var(--h-orange); }

/* Image */
.home-pcard__image-link,
.home-pcard__image-link:link,
.home-pcard__image-link:visited {
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--h-green-light);
    text-decoration: none !important;
}

.home-pcard__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.home-pcard:hover .home-pcard__image {
    transform: scale(1.06);
}

.home-pcard__no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--h-green);
    opacity: 0.3;
}

/* Body */
.home-pcard__body {
    padding: 18px 20px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.home-pcard__category {
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--h-green);
    margin-bottom: 6px;
}

.home-pcard__title {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 6px;
}

.home-pcard__title a,
.home-pcard__title a:link,
.home-pcard__title a:visited {
    color: var(--h-green-dark) !important;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.home-pcard__title a:hover {
    color: var(--h-orange) !important;
}

.home-pcard__desc {
    font-size: 0.8125rem;
    color: var(--h-text-light);
    margin: 0 0 10px;
    line-height: 1.5;
}

/* Star Rating */
.home-pcard__rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}

.home-pcard__stars {
    font-size: 0.875rem;
    letter-spacing: 2px;
    background: linear-gradient(90deg, var(--h-orange) calc(var(--rating) / 5 * 100%), #ddd calc(var(--rating) / 5 * 100%));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.home-pcard__reviews {
    font-size: 0.6875rem;
    color: #bbb;
    font-weight: 500;
}

/* Price */
.home-pcard__price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--h-orange);
    margin-bottom: 14px;
    line-height: 1.3;
}

.home-pcard__price del {
    opacity: 0.5;
    font-size: 0.8em;
    font-weight: 400;
}

.home-pcard__price ins {
    text-decoration: none;
    background: var(--h-orange-light);
    padding: 1px 6px;
    border-radius: 4px;
}

/* Actions */
.home-pcard__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
}

.home-pcard__cart {
    flex: 1;
}

/* Override WooCommerce add-to-cart button inside card */
.home-pcard__cart .add_to_cart_button,
.home-pcard__cart a.button,
.home-pcard__cart a.added_to_cart {
    width: 100%;
    text-align: center;
    padding: 10px 14px !important;
    font-size: 0.6875rem !important;
    font-weight: 700 !important;
    border-radius: var(--h-radius-sm) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
}

.home-pcard__details,
.home-pcard__details:link,
.home-pcard__details:visited {
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--h-green) !important;
    text-decoration: none !important;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    transition: color 0.2s ease;
}

.home-pcard__details:hover {
    color: var(--h-orange) !important;
}

.home-products__cta {
    text-align: center;
    margin-top: 40px;
}


/* ==========================================================================
   HOW IT WORKS
   ========================================================================== */

.home-process {
    background: linear-gradient(160deg, var(--h-green-darker) 0%, var(--h-green-dark) 40%, var(--h-green) 100%);
    position: relative;
    overflow: hidden;
}

.home-process::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 80% 20%, rgba(241,148,28,0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* Optional process image */
.home-process__image-wrap {
    max-width: 800px;
    margin: 0 auto 48px;
    border-radius: var(--h-radius);
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
    border: 2px solid rgba(255,255,255,0.1);
}

.home-process__image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.home-process__track {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    position: relative;
}

@media (min-width: 768px) {
    .home-process__track {
        grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
        align-items: start;
        gap: 0;
    }
}

.home-process__step {
    text-align: center;
    padding: 0 12px;
}

.home-process__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: rgba(255,255,255,0.1);
    border: 2px solid var(--h-orange);
    color: var(--h-orange);
    font-size: 1.125rem;
    font-weight: 800;
    border-radius: 50%;
    margin-bottom: 16px;
    transition: background 0.3s ease;
}

.home-process__step:hover .home-process__num {
    background: var(--h-orange);
    color: #fff;
}

.home-process__step h3 {
    color: #fff;
    font-size: 1.0625rem;
    font-weight: 700;
    margin: 0 0 8px;
}

.home-process__step p {
    color: rgba(255,255,255,0.7);
    font-size: 0.875rem;
    margin: 0;
    line-height: 1.6;
}

.home-process__connector {
    display: none;
}

@media (min-width: 768px) {
    .home-process__connector {
        display: flex;
        align-items: center;
        justify-content: center;
        padding-top: 28px;
    }

    .home-process__connector::before {
        content: '';
        width: 40px;
        height: 2px;
        background: rgba(255,255,255,0.2);
    }
}


/* ==========================================================================
   WHY CHOOSE US
   ========================================================================== */

.home-why { background: #fff; }

.home-why__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 768px) {
    .home-why__grid { grid-template-columns: 0.9fr 1.1fr; align-items: start; }
}

.home-why__cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 480px) {
    .home-why__cards { grid-template-columns: 1fr 1fr; }
}

.home-why__card {
    display: flex;
    gap: 14px;
    padding: 20px;
    background: var(--h-surface);
    border: 1px solid var(--h-border);
    border-radius: var(--h-radius);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.home-why__card:hover {
    transform: translateY(-3px);
    box-shadow: var(--h-shadow);
}

.home-why__card-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--h-green-light);
    color: var(--h-green);
    border-radius: 10px;
}

.home-why__card h3 {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--h-green-dark);
    margin: 0 0 4px;
}

.home-why__card p {
    font-size: 0.8125rem;
    color: var(--h-text-light);
    margin: 0;
    line-height: 1.5;
}


/* ==========================================================================
   IMPACT COUNTER
   ========================================================================== */

.home-impact {
    background: var(--h-surface);
    padding: 64px 0;
}

.home-impact__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    text-align: center;
}

@media (min-width: 768px) {
    .home-impact__grid { grid-template-columns: repeat(4, 1fr); }
}

.home-impact__item {
    padding: 24px 16px;
    background: #fff;
    border: 1px solid var(--h-border);
    border-radius: var(--h-radius);
    transition: transform 0.3s ease;
}

.home-impact__item:hover { transform: translateY(-3px); }

.home-impact__num {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    color: var(--h-green-dark);
    line-height: 1;
}

.home-impact__suffix {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 700;
    color: var(--h-orange);
}

.home-impact__label {
    display: block;
    margin-top: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #999;
}


/* ==========================================================================
   PARTNERS & CLIENTS
   ========================================================================== */

.home-partners {
    background: #fff;
    overflow: hidden;
}

/* ── Scrolling Track ── */
.home-partners__track-wrapper {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
    margin-bottom: 0;
}

.home-partners__track {
    display: flex;
    gap: 40px;
    width: max-content;
    animation: partnersScroll 30s linear infinite;
}

.home-partners__track:hover {
    animation-play-state: paused;
}

@keyframes partnersScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.home-partner {
    flex-shrink: 0;
    text-align: center;
    min-width: 140px;
}

.home-partner__link,
.home-partner__link:link,
.home-partner__link:visited {
    text-decoration: none !important;
    color: inherit !important;
    display: block;
}

.home-partner__image-wrap {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--h-surface);
    border: 2px solid var(--h-border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    padding: 12px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.home-partner:hover .home-partner__image-wrap {
    border-color: var(--h-green);
    box-shadow: 0 6px 20px rgba(68,114,72,0.15);
    transform: translateY(-3px);
}

.home-partner__logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: grayscale(80%) opacity(0.7);
    transition: filter 0.3s ease;
}

.home-partner:hover .home-partner__logo {
    filter: grayscale(0%) opacity(1);
}

.home-partner__placeholder {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--h-green-light);
    border: 2px solid var(--h-border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--h-green);
    text-transform: uppercase;
}

.home-partner__name {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--h-text-light);
    white-space: nowrap;
}

/* ── Static Grid (fallback for few partners / reduced motion) ── */
.home-partners__grid {
    display: none;
}

/* Show grid and hide track when 6 or fewer partners (controlled by PHP class) */
@media (prefers-reduced-motion: reduce) {
    .home-partners__track-wrapper {
        display: none;
    }

    .home-partners__grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
        justify-items: center;
    }
}

/* Also show grid when explicitly present (PHP renders both, CSS controls visibility for ≤6) */
.home-partners__track-wrapper + .home-partners__grid {
    display: none;
}

@media (max-width: 600px) {
    .home-partners__track-wrapper {
        display: none;
    }

    .home-partners__track-wrapper + .home-partners__grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        justify-items: center;
    }
}

@media (min-width: 601px) and (max-width: 991px) {
    .home-partners__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 992px) {
    .home-partners__grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

/* Static partner card */
.home-partner-static {
    text-align: center;
}

.home-partner-static__link,
.home-partner-static__link:link,
.home-partner-static__link:visited {
    text-decoration: none !important;
    color: inherit !important;
    display: block;
}

.home-partner-static__image-wrap {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--h-surface);
    border: 2px solid var(--h-border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    padding: 12px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.home-partner-static:hover .home-partner-static__image-wrap {
    border-color: var(--h-green);
    box-shadow: 0 6px 20px rgba(68,114,72,0.15);
    transform: translateY(-3px);
}

.home-partner-static__image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: grayscale(60%) opacity(0.8);
    transition: filter 0.3s ease;
}

.home-partner-static:hover .home-partner-static__image-wrap img {
    filter: grayscale(0%) opacity(1);
}

.home-partner-static__initials {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--h-green);
    text-transform: uppercase;
}

.home-partner-static__name {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--h-text-light);
}


/* ==========================================================================
   BLOG PREVIEW
   ========================================================================== */

.home-blog { background: #fff; }

.home-blog__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 600px) {
    .home-blog__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 992px) {
    .home-blog__grid { grid-template-columns: repeat(3, 1fr); }
}

.home-blog-card {
    background: var(--h-surface);
    border: 1px solid var(--h-border);
    border-radius: var(--h-radius);
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s ease;
}

.home-blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--h-shadow-hover);
}

.home-blog-card__image-link {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--h-green-light);
}

.home-blog-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.home-blog-card:hover .home-blog-card__image {
    transform: scale(1.05);
}

.home-blog-card__placeholder {
    width: 100%;
    height: 100%;
    background: var(--h-green-light);
}

.home-blog-card__body { padding: 20px; }

.home-blog-card__cat {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--h-orange);
    background: var(--h-orange-light);
    padding: 2px 8px;
    border-radius: 4px;
    margin-bottom: 8px;
}

.home-blog-card__title {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 8px;
}

.home-blog-card__title a,
.home-blog-card__title a:link,
.home-blog-card__title a:visited {
    color: var(--h-green-dark) !important;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.home-blog-card__title a:hover { color: var(--h-orange) !important; }

.home-blog-card__excerpt {
    font-size: 0.8125rem;
    color: var(--h-text-light);
    margin: 0 0 12px;
}

.home-blog-card__date {
    font-size: 0.6875rem;
    color: #bbb;
    font-weight: 500;
}

.home-blog-card__image-link,
.home-blog-card__image-link:link,
.home-blog-card__image-link:visited {
    text-decoration: none !important;
}


/* ==========================================================================
   FINAL CTA
   ========================================================================== */

.home-cta {
    background: var(--h-surface);
    padding: 96px 0;
}

.home-cta__inner {
    background: linear-gradient(160deg, var(--h-green-darker), var(--h-green-dark) 50%, var(--h-green));
    border-radius: var(--h-radius-lg);
    padding: 72px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.home-cta__inner::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 10% 90%, rgba(241,148,28,0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 90% 10%, rgba(255,255,255,0.06) 0%, transparent 50%);
    pointer-events: none;
}

.home-cta__title {
    color: #fff;
    font-size: clamp(1.5rem, 3.5vw, 2.25rem);
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 16px;
    position: relative;
}

.home-cta__title span { color: var(--h-orange); }

.home-cta__text {
    color: rgba(255,255,255,0.75);
    max-width: 560px;
    margin: 0 auto 32px;
    font-size: 1.0625rem;
    position: relative;
}

.home-cta__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    position: relative;
}


/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 600px) {
    .home-section { padding: 64px 0; }
    .home-hero__inner { padding: 60px 20px 50px; }
    .home-hero__trust { flex-direction: column; gap: 12px; }
    .home-hero__trust-divider { display: none; }
    .home-hero__actions { flex-direction: column; }
    .home-hero__actions .home-btn { text-align: center; justify-content: center; }
    .home-cta__inner { padding: 48px 24px; }
    .home-cta__actions { flex-direction: column; align-items: stretch; }
    .home-cta__actions .home-btn { justify-content: center; }
    .home-pcard__actions { flex-direction: column; }
    .home-pcard__cart { width: 100%; }
    .home-pcard__details { text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
    .home-hero__particles span { animation: none !important; }
    .home-partners__track { animation: none !important; }
    .home-pcard,
    .home-cat-card,
    .home-about__stat,
    .home-why__card,
    .home-impact__item,
    .home-blog-card,
    .home-btn,
    .home-pcard__image,
    .home-partner__image-wrap,
    .home-partner-static__image-wrap {
        transition: none !important;
        transform: none !important;
    }
}