/* ==========================================================
   Home page (index.html) — editorial redesign
   Scoped to body.home so other pages are unaffected.
   ========================================================== */
.home {
    --ivory: #f7f4ee;
    --sand: #ece6db;
    --stone: #8a8378;
    --ink: #14130f;
    --ink-soft: #3d3a33;
    --navy: #002b5c;
    --line: rgba(20, 19, 15, 0.12);
    --r: 14px;
    background: var(--ivory);
    color: var(--ink);
}
.home main { overflow-x: clip; }
.home .navbar { background: rgba(247, 244, 238, 0.85); }

/* ---------- Shared building blocks ---------- */
.h-wrap {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}
.h-section { padding: 112px 0; }
.h-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--navy);
    margin-bottom: 18px;
}
.h-kicker::before {
    content: "";
    width: 28px;
    height: 1px;
    background: currentColor;
}
.h-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 3.6vw, 3.1rem);
    line-height: 1.12;
    font-weight: 600;
    letter-spacing: -0.015em;
    color: var(--ink);
}
.h-lead {
    font-size: 1.08rem;
    line-height: 1.7;
    color: var(--ink-soft);
    max-width: 620px;
}
.h-head {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 48px;
    align-items: end;
    margin-bottom: 56px;
}
.h-head--center {
    display: block;
    text-align: center;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}
.h-head--center .h-lead { margin: 18px auto 0; }
.h-head--center .h-kicker::after {
    content: "";
    width: 28px;
    height: 1px;
    background: currentColor;
}

.h-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 28px;
    border-radius: 999px;
    font-family: var(--font-sans);
    font-size: 0.98rem;
    font-weight: 600;
    text-decoration: none;
    border: 1.5px solid transparent;
    transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
    cursor: pointer;
}
.h-btn svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.h-btn:hover svg { transform: translateX(3px); }
.h-btn--dark { background: var(--ink); color: #fff; }
.h-btn--dark:hover { background: var(--navy); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0, 43, 92, .25); }
.h-btn--ghost { border-color: rgba(20, 19, 15, .3); color: var(--ink); background: transparent; }
.h-btn--ghost:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.h-btn--light { background: #fff; color: var(--ink); }
.h-btn--light:hover { background: var(--sand); transform: translateY(-2px); }
.h-btn--line-light { border-color: rgba(255, 255, 255, .4); color: #fff; }
.h-btn--line-light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }

/* ---------- Hero ---------- */
.h-hero {
    position: relative;
    padding: 72px 0 96px;
    overflow: hidden;
}
.h-hero::before {
    content: "";
    position: absolute;
    right: -10%;
    top: -20%;
    width: 60%;
    height: 120%;
    background: radial-gradient(closest-side, rgba(0, 43, 92, .07), transparent);
    pointer-events: none;
}
.h-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 64px;
    align-items: center;
}
.h-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 14px 7px 8px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, .6);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--ink-soft);
    margin-bottom: 28px;
}
.h-hero__eyebrow b {
    background: var(--ink);
    color: #fff;
    border-radius: 999px;
    padding: 3px 10px;
    font-size: 0.75rem;
    letter-spacing: .06em;
}
.h-hero h1 {
    font-family: var(--font-serif);
    font-size: clamp(2.6rem, 5.4vw, 4.6rem);
    line-height: 1.04;
    font-weight: 600;
    letter-spacing: -0.025em;
    color: var(--ink);
    margin-bottom: 26px;
}
.h-hero h1 em {
    font-style: italic;
    font-weight: 400;
    color: var(--navy);
}
.h-hero__lead {
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    line-height: 1.7;
    color: var(--ink-soft);
    max-width: 560px;
    margin-bottom: 36px;
}
.h-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }
.h-hero__proof {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.9rem;
    color: var(--stone);
}
.h-hero__proof svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: var(--navy);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.h-collage {
    position: relative;
    aspect-ratio: 5 / 5.6;
}
.h-collage figure { position: absolute; margin: 0; overflow: hidden; border-radius: var(--r); background: var(--sand); }
.h-collage img { width: 100%; height: 100%; object-fit: cover; display: block; }
.h-collage__main {
    inset: 0 18% 8% 0;
    box-shadow: 0 30px 60px -20px rgba(20, 19, 15, .35);
}
.h-collage__side {
    right: 0;
    bottom: 0;
    width: 46%;
    aspect-ratio: 1;
    border: 6px solid var(--ivory);
    box-shadow: 0 20px 40px -12px rgba(20, 19, 15, .3);
}
.h-collage__badge {
    position: absolute;
    left: -28px;
    bottom: 18%;
    background: #fff;
    border-radius: 12px;
    padding: 16px 20px;
    box-shadow: 0 18px 40px -12px rgba(20, 19, 15, .25);
    display: flex;
    align-items: center;
    gap: 14px;
    animation: h-float 6s ease-in-out infinite;
}
.h-collage__badge strong {
    font-family: var(--font-serif);
    font-size: 1.7rem;
    line-height: 1;
    color: var(--navy);
}
.h-collage__badge span { font-size: 0.8rem; line-height: 1.35; color: var(--ink-soft); }
.h-collage__tag {
    position: absolute;
    top: 22px;
    left: 22px;
    background: rgba(20, 19, 15, .72);
    color: #fff;
    backdrop-filter: blur(6px);
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 0.78rem;
    letter-spacing: .04em;
}
@keyframes h-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* ---------- Facts strip ---------- */
.h-facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.h-facts__grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
}
.h-fact {
    padding: 34px 20px;
    text-align: center;
    border-left: 1px solid var(--line);
}
.h-fact:first-child { border-left: 0; }
.h-fact strong {
    display: block;
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 2.2vw, 2rem);
    font-weight: 600;
    line-height: 1.1;
    color: var(--ink);
    margin-bottom: 8px;
}
.h-fact span { font-size: 0.82rem; color: var(--stone); line-height: 1.4; display: block; }
.h-facts__note {
    text-align: center;
    font-size: 0.78rem;
    color: var(--stone);
    padding: 0 24px 18px;
}

/* ---------- Marquee ---------- */
.h-marquee {
    background: var(--ink);
    color: #fff;
    overflow: hidden;
    padding: 20px 0;
}
.h-marquee__track {
    display: flex;
    width: max-content;
    gap: 48px;
    animation: h-marquee 38s linear infinite;
}
.h-marquee span {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-style: italic;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 48px;
}
.h-marquee span::after { content: "✦"; font-style: normal; font-size: .8rem; color: rgba(255, 255, 255, .45); }
@keyframes h-marquee { to { transform: translateX(-50%); } }

/* ---------- About ---------- */
.h-about__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 80px;
    align-items: center;
}
.h-about__media {
    position: relative;
    margin: 0;
}
.h-about__media img {
    width: 100%;
    aspect-ratio: 4 / 4.4;
    object-fit: cover;
    border-radius: var(--r);
    display: block;
}
.h-about__media figcaption {
    position: absolute;
    right: -24px;
    bottom: 32px;
    background: var(--navy);
    color: #fff;
    border-radius: 12px;
    padding: 20px 24px;
    max-width: 220px;
    font-size: 0.85rem;
    line-height: 1.45;
    box-shadow: 0 20px 40px -12px rgba(0, 43, 92, .45);
}
.h-about__media figcaption strong {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.9rem;
    line-height: 1;
    margin-bottom: 6px;
}
.h-about__copy .h-title { margin-bottom: 24px; }
.h-about__copy p { color: var(--ink-soft); line-height: 1.75; margin-bottom: 16px; }
.h-about__points {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    margin-top: 36px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
}
.h-about__points span {
    background: var(--ivory);
    padding: 20px 22px;
    font-size: 0.88rem;
    color: var(--stone);
    line-height: 1.45;
}
.h-about__points strong {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.3rem;
    color: var(--ink);
    margin-bottom: 4px;
}

/* ---------- Process / services ---------- */
.h-process { background: #fff; }
.h-steps {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}
.h-step {
    position: relative;
    padding: 32px 26px 36px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    transition: background-color .35s var(--ease);
}
.h-step:hover { background: var(--ivory); }
.h-step__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 28px;
}
.h-step__no {
    font-family: var(--font-serif);
    font-size: 0.95rem;
    font-style: italic;
    color: var(--stone);
}
.h-step .service-icon {
    width: 30px;
    height: 30px;
    fill: none;
    stroke: var(--ink);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: stroke .3s, transform .35s var(--ease);
}
.h-step:hover .service-icon { stroke: var(--navy); transform: translateY(-2px); }
.h-step h3 {
    font-family: var(--font-serif);
    font-size: 1.12rem;
    line-height: 1.3;
    margin-bottom: 10px;
}
.h-step p { font-size: 0.88rem; line-height: 1.6; color: var(--stone); }

/* ---------- Cooperation models ---------- */
.h-models__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    align-items: stretch;
}
.h-model {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 36px 32px;
    transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.h-model:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -24px rgba(20, 19, 15, .25); }
.h-model__no {
    font-family: var(--font-serif);
    font-size: 3.2rem;
    line-height: 1;
    color: var(--sand);
    margin-bottom: 18px;
}
.h-model__badge {
    align-self: flex-start;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--ivory);
    color: var(--navy);
    margin-bottom: 18px;
}
.h-model h3 { font-family: var(--font-serif); font-size: 1.45rem; line-height: 1.25; margin-bottom: 14px; }
.h-model__fit { font-size: 0.92rem; line-height: 1.6; color: var(--ink-soft); margin-bottom: 24px; }
.h-model dl { margin: 0 0 30px; flex: 1; }
.h-model dl div { padding: 14px 0; border-top: 1px solid var(--line); }
.h-model dt {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--stone);
    margin-bottom: 5px;
}
.h-model dd { margin: 0; font-size: 0.9rem; line-height: 1.55; color: var(--ink-soft); }
.h-model .h-btn { width: 100%; }
.h-model--feature { background: var(--ink); border-color: var(--ink); color: #fff; }
.h-model--feature .h-model__no { color: rgba(255, 255, 255, .14); }
.h-model--feature .h-model__badge { background: rgba(255, 255, 255, .1); color: #fff; }
.h-model--feature h3 { color: #fff; }
.h-model--feature .h-model__fit,
.h-model--feature dd { color: rgba(255, 255, 255, .75); }
.h-model--feature dt { color: rgba(255, 255, 255, .5); }
.h-model--feature dl div { border-color: rgba(255, 255, 255, .14); }

/* ---------- Categories ---------- */
.h-cats { padding-top: 0; }
.h-cats__grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr 1fr;
    gap: 20px;
}
.h-cat {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4.1;
    border-radius: var(--r);
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    background: var(--sand);
}
.h-cat:first-child { aspect-ratio: auto; }
.h-cat picture, .h-cat img { position: absolute; inset: 0; width: 100%; height: 100%; }
.h-cat img { object-fit: cover; transition: transform .9s var(--ease); }
.h-cat:hover img { transform: scale(1.06); }
.h-cat::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 9, 7, .78) 0%, rgba(10, 9, 7, 0) 55%);
}
.h-cat__body {
    position: absolute;
    left: 28px;
    right: 28px;
    bottom: 26px;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 12px;
}
.h-cat h3 { font-family: var(--font-serif); font-size: clamp(1.4rem, 2.2vw, 2rem); color: #fff; line-height: 1.15; }
.h-cat__go {
    flex: none;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .5);
    display: grid;
    place-items: center;
    transition: background .3s, color .3s, transform .3s var(--ease);
}
.h-cat__go svg { width: 18px; height: 18px; }
.h-cat:hover .h-cat__go { background: #fff; color: var(--ink); transform: rotate(-45deg); }

/* ---------- Product gallery (existing markup, restyled) ---------- */
.home #product-gallery {
    max-width: 1280px;
    padding: 0 24px 112px;
}
.home #product-gallery .gallery-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    margin-bottom: 32px;
    text-align: left;
}
.home #product-gallery .gallery-header h2 {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 3.6vw, 3.1rem);
    font-weight: 600;
    margin: 0;
}
.home #product-gallery .filter-tabs { gap: 8px; margin: 0; justify-content: flex-end; }
.home #product-gallery .filter-btn {
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 999px;
    padding: 9px 18px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--ink-soft);
    transition: all .25s var(--ease);
}
.home #product-gallery .filter-btn:hover { border-color: var(--ink); color: var(--ink); }
.home #product-gallery .filter-btn.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.home #product-gallery .gallery-grid { gap: 16px; }
.home #product-gallery .gallery-grid .gallery-item {
    border-radius: 12px;
    background: #fff;
    cursor: zoom-in;
}
.home #product-gallery .gallery-more {
    border-radius: 12px !important;
    border: 1.5px dashed rgba(20, 19, 15, .35) !important;
    background: transparent !important;
    font-family: var(--font-serif);
    font-size: 1.1rem;
}
.home #product-gallery .gallery-toggle {
    border-radius: 999px;
    padding: 14px 30px;
    border: 1.5px solid var(--ink);
    background: transparent;
    color: var(--ink);
    font-weight: 600;
    transition: all .25s var(--ease);
}
.home #product-gallery .gallery-toggle:hover { background: var(--ink); color: #fff; }

/* ---------- Factory tour (dark) ---------- */
.h-tour {
    background: var(--ink);
    color: #fff;
    position: relative;
}
.h-tour .h-title { color: #fff; }
.h-tour .h-lead { color: rgba(255, 255, 255, .65); }
.h-tour .h-kicker { color: #b9c7da; }
.h-tour__main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    margin-bottom: 22px;
}
.h-tour__small {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.h-video {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: var(--r);
    overflow: hidden;
    cursor: pointer;
    background: #222;
}
.h-video img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .9s var(--ease), opacity .4s; opacity: .85; }
.h-video:hover img { transform: scale(1.05); opacity: 1; }
.h-video::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, .75), rgba(0, 0, 0, 0) 60%);
}
.h-video__play {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1;
    width: 72px;
    height: 72px;
    margin: -36px 0 0 -36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    display: grid;
    place-items: center;
    transition: transform .35s var(--ease);
}
.h-video__play::before {
    content: "";
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .5);
    animation: h-pulse 2.4s ease-out infinite;
}
.h-video__play svg { width: 22px; height: 22px; fill: var(--ink); margin-left: 4px; }
.h-video:hover .h-video__play { transform: scale(1.08); }
.h-tour__small .h-video__play { width: 52px; height: 52px; margin: -26px 0 0 -26px; }
.h-tour__small .h-video__play svg { width: 16px; height: 16px; }
@keyframes h-pulse {
    from { transform: scale(.9); opacity: 1; }
    to { transform: scale(1.35); opacity: 0; }
}
.h-video__meta {
    position: absolute;
    left: 26px;
    right: 26px;
    bottom: 22px;
    z-index: 1;
}
.h-video__place {
    display: inline-block;
    font-size: 0.72rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .75);
    margin-bottom: 6px;
}
.h-video h3, .h-video h4 { font-family: var(--font-serif); color: #fff; margin: 0; }
.h-video h3 { font-size: 1.5rem; }
.h-video h4 { font-size: 1.1rem; }
.h-tour__small .h-video__meta { left: 18px; bottom: 16px; }

/* ---------- Facilities ---------- */
.h-facilities__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 220px;
    gap: 16px;
}
.h-facilities__grid .gallery-card {
    border-radius: 12px;
    overflow: hidden;
    background: var(--sand);
    cursor: zoom-in;
}
.h-facilities__grid .gallery-card:first-child { grid-column: span 2; grid-row: span 2; }
.h-facilities__grid .gallery-card:nth-child(6) { grid-column: span 2; }
.h-facilities__grid img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .9s var(--ease); }
.h-facilities__grid .gallery-card:hover img { transform: scale(1.05); }

/* ---------- Capabilities ---------- */
.h-cap { background: #fff; }
.h-pillars {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    margin-bottom: 64px;
}
.h-pillar {
    padding: 32px 28px;
    border-radius: 16px;
    background: var(--ivory);
    border: 1px solid transparent;
    transition: border-color .3s, transform .4s var(--ease);
}
.h-pillar:hover { border-color: var(--line); transform: translateY(-4px); }
.h-pillar__icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--ink);
    display: grid;
    place-items: center;
    margin-bottom: 24px;
}
.h-pillar__icon svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.h-pillar h3 { font-family: var(--font-serif); font-size: 1.25rem; margin-bottom: 10px; }
.h-pillar p { font-size: 0.9rem; line-height: 1.6; color: var(--ink-soft); }

.h-compare-wrap {
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
    overflow-x: auto;
}
.h-compare { width: 100%; border-collapse: collapse; min-width: 640px; }
.h-compare th, .h-compare td { padding: 20px 26px; text-align: left; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.h-compare tr:last-child td { border-bottom: 0; }
.h-compare thead th {
    font-size: 0.75rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--stone);
    background: var(--ivory);
}
.h-compare thead th.is-us { background: var(--ink); color: #fff; }
.h-compare td:first-child { font-weight: 600; color: var(--ink); }
.h-compare td.is-us { background: rgba(0, 43, 92, .04); color: var(--ink); }
.h-compare td.is-us strong { color: var(--navy); }
.h-compare td.is-them { color: var(--stone); }
.home main table tr:hover td { background: inherit; }

/* ---------- FAQ ---------- */
.h-faq__grid {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    gap: 80px;
    align-items: start;
}
.h-faq__aside { position: sticky; top: 110px; }
.h-faq__aside .h-title { margin-bottom: 18px; }
.h-faq__aside .h-lead { margin-bottom: 30px; }
.h-faq .faq-item { border-bottom: 1px solid var(--line); }
.h-faq .faq-item:first-child { border-top: 1px solid var(--line); }
.h-faq .faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 26px 0;
    cursor: pointer;
    font-family: var(--font-serif);
    font-size: 1.22rem;
    font-weight: 600;
    color: var(--ink);
}
.h-faq .faq-icon {
    flex: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--line);
    display: grid;
    place-items: center;
    font-family: var(--font-sans);
    font-weight: 400;
    transition: background .3s, color .3s;
}
.h-faq .faq-question:hover .faq-icon { background: var(--ink); color: #fff; }
.h-faq .faq-answer { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.h-faq .faq-answer p { padding: 0 56px 26px 0; color: var(--ink-soft); line-height: 1.75; }

/* ---------- CTA band ---------- */
.h-cta { padding: 0 0 112px; }
.h-cta__box {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background: var(--navy);
    color: #fff;
    padding: 72px 64px;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) auto;
    gap: 40px;
    align-items: center;
}
.h-cta__box::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(600px 300px at 90% 0%, rgba(255, 255, 255, .14), transparent 60%),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, .03) 0 2px, transparent 2px 14px);
    pointer-events: none;
}
.h-cta__box > * { position: relative; }
.h-cta h2 { font-family: var(--font-serif); font-size: clamp(1.9rem, 3.4vw, 2.9rem); line-height: 1.12; color: #fff; margin-bottom: 14px; }
.h-cta p { color: rgba(255, 255, 255, .75); line-height: 1.65; max-width: 560px; }
.h-cta__actions { display: flex; flex-direction: column; gap: 12px; min-width: 240px; }

/* ---------- Contact ---------- */
.h-contact { background: #fff; }
.h-contact__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    gap: 32px;
    align-items: stretch;
}
.h-contact__card {
    background: var(--ivory);
    border-radius: 18px;
    padding: 44px 40px;
}
.h-contact__card h3 { font-family: var(--font-serif); font-size: 1.4rem; line-height: 1.3; margin-bottom: 28px; }
.h-contact__list { list-style: none; margin: 0; padding: 0; }
.h-contact__list li {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 14px;
    padding: 16px 0;
    border-top: 1px solid var(--line);
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--ink-soft);
}
.h-contact__list svg {
    width: 40px;
    height: 40px;
    padding: 10px;
    border-radius: 10px;
    background: #fff;
    fill: none;
    stroke: var(--navy);
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.h-contact__list strong { display: block; font-size: 0.75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--stone); font-weight: 600; margin-bottom: 2px; }
.h-contact__list a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.h-contact__list a:hover { border-color: var(--ink); }
.home .lazy-map {
    width: 100%;
    min-height: 420px;
    border-radius: 18px;
    overflow: hidden;
    background: var(--sand);
}

/* ---------- Footer ---------- */
.h-footer {
    background: var(--ink);
    color: rgba(255, 255, 255, .6);
    padding: 88px 0 36px;
    text-align: left;
}
.h-footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 64px;
}
.h-footer__brand {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    letter-spacing: .08em;
    color: #fff;
    margin-bottom: 18px;
}
.h-footer p { font-size: 0.92rem; line-height: 1.7; }
.h-footer__contact { margin: 20px 0 24px; }
.h-footer__contact p { margin-bottom: 6px; }
.h-footer a { color: rgba(255, 255, 255, .78); text-decoration: none; transition: color .2s; }
.h-footer a:hover { color: #fff; }
.h-footer h4 {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 20px;
}
.h-footer ul { list-style: none; margin: 0; padding: 0; }
.h-footer li { margin-bottom: 12px; font-size: 0.92rem; }
.h-footer__social { display: flex; gap: 12px; }
.h-footer__social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .2);
    display: grid;
    place-items: center;
    transition: background .25s, border-color .25s;
}
.h-footer__social a:hover { background: #fff; color: var(--ink); border-color: #fff; }
.h-footer__social svg { width: 17px; height: 17px; fill: currentColor; }
.h-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, .12);
    padding-top: 28px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 16px;
    font-size: 0.82rem;
}
.h-footer__bottom p { margin: 0; line-height: 1.6; }
.h-footer__links { display: flex; gap: 22px; }

/* ---------- Scroll reveal (only when JS is on) ---------- */
.js-reveal .h-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.js-reveal .h-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .js-reveal .h-reveal { opacity: 1; transform: none; }
    .h-marquee__track, .h-collage__badge, .h-video__play::before { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .h-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .h-pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .h-facts__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .h-fact:nth-child(4) { border-left: 0; }
    .h-fact:nth-child(n+4) { border-top: 1px solid var(--line); }
    .h-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
    .h-section { padding: 80px 0; }
    .h-hero { padding: 40px 0 72px; }
    .h-hero__grid,
    .h-about__grid,
    .h-faq__grid,
    .h-contact__grid,
    .h-head { grid-template-columns: 1fr; gap: 40px; }
    .h-head { gap: 16px; margin-bottom: 40px; }
    .h-collage { max-width: 520px; width: 100%; margin: 0 auto; }
    .h-collage__badge { left: 0; }
    .h-about__media figcaption { right: 16px; }
    .h-models__grid { grid-template-columns: 1fr; }
    .h-cats__grid { grid-template-columns: 1fr 1fr; }
    .h-cat:first-child { grid-column: span 2; aspect-ratio: 16 / 11; }
    .h-tour__main { grid-template-columns: 1fr; }
    .h-facilities__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 180px; }
    .h-faq__aside { position: static; }
    .h-cta__box { grid-template-columns: 1fr; padding: 52px 32px; }
    .h-cta__actions { flex-direction: row; flex-wrap: wrap; min-width: 0; }
    .h-cta { padding-bottom: 80px; }
}
@media (max-width: 640px) {
    .h-wrap { padding: 0 16px; }
    .home #product-gallery { padding: 0 16px 80px; }
    .h-hero__actions .h-btn { flex: 1 1 100%; }
    .h-collage__badge { padding: 12px 14px; bottom: 12%; }
    .h-collage__badge strong { font-size: 1.35rem; }
    .h-facts__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .h-fact { padding: 24px 12px; border-left: 0; border-top: 1px solid var(--line); }
    .h-fact:nth-child(-n+2) { border-top: 0; }
    .h-fact:nth-child(even) { border-left: 1px solid var(--line); }
    .h-steps { grid-template-columns: 1fr 1fr; }
    .h-step { padding: 24px 18px 26px; }
    .h-step__top { margin-bottom: 18px; }
    .h-about__points { grid-template-columns: 1fr; }
    .h-model { padding: 30px 24px; }
    .h-tour__small { grid-template-columns: 1fr; }
    .h-pillars { grid-template-columns: 1fr; }
    .h-facilities__grid { grid-auto-rows: 140px; gap: 10px; }
    .h-contact__card { padding: 32px 22px; }
    .h-faq .faq-question { font-size: 1.08rem; padding: 22px 0; }
    .h-faq .faq-answer p { padding-right: 0; }
    .h-footer__grid { grid-template-columns: 1fr; gap: 36px; }
    .h-cta__actions .h-btn { flex: 1 1 100%; }
}
@media (max-width: 420px) {
    .h-steps { grid-template-columns: 1fr; }
    .h-cats__grid { grid-template-columns: 1fr; }
    .h-cat:first-child { grid-column: auto; aspect-ratio: 3 / 4; }
}

/* ---------- Tweaks ---------- */
.h-fact strong { font-size: clamp(1.35rem, 1.9vw, 1.85rem); white-space: nowrap; }
.h-collage__main img { object-position: center 30%; }
.home #product-gallery .gallery-grid { align-items: start; }
.home #product-gallery .gallery-grid img.gallery-item {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    object-fit: cover;
}
.h-facilities__grid .gallery-card:last-child { grid-column: span 2; }
@media (max-width: 900px) {
    .h-facilities__grid .gallery-card:nth-child(6) { grid-column: auto; }
}
.h-hero__eyebrow b { white-space: nowrap; }
@media (max-width: 640px) {
    .h-hero__eyebrow { font-size: 0.78rem; gap: 8px; padding: 6px 12px 6px 6px; margin-bottom: 22px; }
    .h-hero__eyebrow b { font-size: 0.68rem; padding: 3px 8px; }
}

/* ==========================================================
   Chinese home page (index_cn.html, body.home-cn)
   ========================================================== */
.home-cn {
    --cjk-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", sans-serif;
    --font-sans: "Inter", var(--cjk-sans);
    --font-serif: "Playfair Display", var(--cjk-sans);
    font-family: var(--font-sans);
}
.home-cn .h-hero h1,
.home-cn .h-title,
.home-cn h2.h-title,
html[lang="zh-CN"] .home-cn .h-title,
.home-cn .h-cta h2,
.home-cn .h-step h3,
.home-cn .h-model h3,
.home-cn .h-pillar h3,
.home-cn .h-cat h3,
.home-cn .h-video h3,
.home-cn .h-video h4,
.home-cn .h-contact__card h3,
.home-cn .h-faq .faq-question,
.home-cn #product-gallery .gallery-header h2 {
    font-weight: 700;
    letter-spacing: 0.01em;
}
html[lang="zh-CN"] .home-cn .h-title,
html[lang="zh-CN"] .home-cn #product-gallery .gallery-header h2 {
    font-size: clamp(1.75rem, 3vw, 2.6rem);
    line-height: 1.3;
}
.home-cn .h-hero h1 {
    font-size: clamp(2.3rem, 4.6vw, 4rem);
    line-height: 1.18;
}
.home-cn .h-hero h1 em { font-style: normal; font-weight: 700; }
html[lang="zh-CN"] .home-cn h2.h-hero__lead {
    font-family: var(--font-sans);
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    font-weight: 400;
    line-height: 1.8;
    color: var(--ink-soft);
}
.home-cn .h-kicker { letter-spacing: 0.24em; }
.home-cn .h-marquee span { font-style: normal; font-family: var(--cjk-sans); font-size: 1.1rem; font-weight: 500; }
.home-cn .h-faq .faq-question { font-size: 1.12rem; }
.home-cn .h-fact strong { font-weight: 700; }

/* Tiered solution rows */
.h-model__link { margin: -8px 0 22px; font-size: 0.9rem; }
.h-model__link a { color: var(--navy); font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; }
.h-model dl .h-model__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}
.h-model__row dt { margin: 0; }
.h-model__row dd { text-align: right; font-weight: 600; color: var(--ink); }
.h-model--feature .h-model__row dd { color: #fff; }
.h-meter {
    display: inline-block;
    width: 110px;
    height: 6px;
    border-radius: 999px;
    background: var(--sand);
    position: relative;
    overflow: hidden;
    vertical-align: middle;
}
.h-meter::after {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: var(--v);
    border-radius: inherit;
    background: var(--navy);
}
.h-model--feature .h-meter { background: rgba(255, 255, 255, .18); }
.h-model--feature .h-meter::after { background: #fff; }

/* 5-step flow */
.h-steps--flow { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.h-step__big {
    font-family: "Playfair Display", serif;
    font-size: 2.6rem;
    line-height: 1;
    color: var(--navy);
    margin-bottom: 26px;
}
.h-footer__social .h-footer__text-link { width: auto; padding: 0 14px; border-radius: 999px; font-size: 0.8rem; font-weight: 700; }

@media (max-width: 1100px) {
    .h-steps--flow { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .h-steps--flow { grid-template-columns: 1fr 1fr; }
    .h-step__big { font-size: 2rem; margin-bottom: 16px; }
    .home-cn .h-hero h1 { font-size: 2.2rem; }
}
@media (max-width: 420px) {
    .h-steps--flow { grid-template-columns: 1fr; }
}
.home-cn .h-hero h1 { font-size: clamp(2rem, 4vw, 3.3rem); }
.home-cn .h-cats-cn .h-head { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
@media (min-width: 901px) {
    .h-facilities__grid .gallery-card:nth-last-child(2) { grid-column: span 2; }
}
@media (max-width: 900px) {
    .home-cn .h-cats-cn .h-head { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .home-cn .h-hero h1 { font-size: 2rem; }
}
/* styles.css forces h2 sizes with !important on mobile; the CN hero subtitle is an h2 */
html[lang="zh-CN"] .home-cn h2.h-hero__lead { font-size: clamp(1rem, 1.4vw, 1.15rem) !important; }
.h-models__grid--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 980px;
    margin: 0 auto;
}
@media (max-width: 900px) {
    .h-models__grid--two { grid-template-columns: 1fr; }
}

/* Hero category gallery */
.h-hero-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.h-hero-tile { position: relative; display: block; aspect-ratio: 4 / 4.4; overflow: hidden; border-radius: var(--r); background: var(--sand); }
.h-hero-tile img { display: block; width: 100%; height: 100%; object-fit: cover; }
.h-hero-tile span { position: absolute; left: 10px; bottom: 10px; padding: 5px 12px; border-radius: 999px; background: rgba(20, 19, 15, .78); color: #fff; font-size: .85rem; font-weight: 600; }
.h-hero-factory { grid-column: 1 / -1; position: relative; margin: 0; aspect-ratio: 16 / 6; overflow: hidden; border-radius: var(--r); background: var(--sand); }
.h-hero-factory img { display: block; width: 100%; height: 100%; object-fit: cover; }
.h-hero-factory figcaption { position: absolute; left: 10px; bottom: 10px; padding: 6px 12px; border-radius: 8px; background: #fff; color: var(--ink-soft); font-size: .85rem; }
.h-hero-factory strong { color: var(--navy); }
.h-hero .h-hero__actions { margin-bottom: 0; }
@media (max-width: 900px) {
    .h-hero { padding: 20px 0 32px; }
    .h-hero__grid { gap: 20px; }
    .h-hero h1 { font-size: 2.1rem; margin-bottom: 12px; }
    .h-hero__eyebrow { margin-bottom: 12px; }
    .h-hero__lead { font-size: 1rem; line-height: 1.5; margin-bottom: 16px; }
    .h-hero-gallery { width: 100%; max-width: 520px; margin: 0 auto; gap: 8px; }
    .h-hero-tile { aspect-ratio: 1; }
}
@media (max-width: 640px) {
    .h-hero__actions { gap: 8px; }
    .h-hero__actions .h-btn { padding-top: 12px; padding-bottom: 12px; }
}
