/* ═══════════════════════════════════════
   GOODHAO — CSS
   Palette: Red #D11D1E · Gold #fbbc34 · Dark #0a0a0a
═══════════════════════════════════════ */

:root {
    --red:        #D11D1E;
    --red-dark:   #b01819;
    --gold:       #fbbc34;
    --dark:       #0a0a0a;
    --dark-2:     #1c1c1c;
    --text:       #333333;
    --text-soft:  #555555;
    --text-light: #777777;
    --bg-gray:    #f4f4f4;
    --white:      #ffffff;
    --max-w:      1360px;
    --pad:        0 32px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { text-decoration: none; }
ul { list-style: none; }

/* ── CONTAINER ── */
.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: var(--pad);
}

/* ── SECTION ── */
.section { padding: 100px 0; }
.section-white { background: var(--white); }
.section-gray  { background: var(--bg-gray); }
.section-dark  { background: var(--dark); }
.section-cta   { background: var(--dark-2); }

/* ── SECTION HEADER ── */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}
.section-header h2 { margin-top: 12px; }
.section-sub {
    margin-top: 16px;
    font-size: 17px;
    color: var(--text-soft);
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* ── SECTION LABEL ── */
.section-label {
    display: inline-block;
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--red);
    border-left: 3px solid var(--red);
    padding-left: 10px;
    line-height: 1;
}
.label-light { color: var(--gold); border-color: var(--gold); }

/* ── TYPOGRAPHY ── */
h1 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(42px, 5.5vw, 76px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -1px;
}
h2 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(28px, 3.2vw, 46px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.5px;
    color: var(--dark);
}
.section-dark h2,
.section-cta h2 { color: var(--white); }

h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 10px;
}
.section-dark h3 { color: var(--white); }

p {
    font-size: 16px;
    line-height: 1.75;
    color: var(--text-soft);
}
.section-dark p,
.section-cta p { color: rgba(255,255,255,0.65); }

.accent { color: var(--red); }

/* ── BUTTONS ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 14px 28px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
    border: 2px solid transparent;
}
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
    background: var(--red);
    color: var(--white);
    border-color: var(--red);
}
.btn-primary:hover { background: var(--red-dark); border-color: var(--red-dark); }

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.45);
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.35);
}
.btn-outline-white:hover { border-color: var(--white); background: rgba(255,255,255,0.06); }

/* ── NAVBAR ── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 0;
    transition: background 0.3s, box-shadow 0.3s;
}
.navbar.scrolled {
    background: var(--white);
    box-shadow: 0 2px 24px rgba(0,0,0,0.1);
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}
.logo {
    font-family: 'Poppins', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.5px;
    transition: color 0.3s;
}
.logo span { color: var(--red); }
.navbar.scrolled .logo { color: var(--dark); }
.logo-sm { color: var(--white); font-size: 20px; }
.logo-sm span { color: var(--red); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}
.nav-links a {
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.85);
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }
.navbar.scrolled .nav-links a { color: var(--text-soft); }
.navbar.scrolled .nav-links a:hover { color: var(--dark); }

.nav-links .nav-cta {
    background: var(--red);
    color: var(--white) !important;
    padding: 9px 20px;
}
.nav-links .nav-cta:hover { background: var(--red-dark); }

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: background 0.3s, transform 0.3s, opacity 0.3s;
}
.navbar.scrolled .hamburger span { background: var(--dark); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── HERO ── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('https://images.unsplash.com/photo-1578575437130-527eed3abbec?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.55) 100%);
}
.hero-content {
    position: relative;
    z-index: 1;
    padding-top: 80px;
    max-width: var(--max-w);
}
.hero-label {
    display: inline-block;
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 24px;
}
.hero h1 { color: var(--white); margin-bottom: 24px; }
.hero-sub {
    font-size: 19px;
    color: rgba(255,255,255,0.72);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 520px;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-scroll {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    color: rgba(255,255,255,0.5);
    animation: bounce 2s infinite;
    transition: color 0.2s;
}
.hero-scroll:hover { color: var(--white); }
.hero-scroll svg { width: 28px; height: 28px; }
@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ── GRID 2 ── */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.align-center { align-items: center; }

/* ── IMG BLOCK ── */
.img-block {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}
.img-block::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: 8px;
    bottom: 8px;
    border: 2px solid var(--red);
    z-index: -1;
}
.img-block img { width: 100%; height: 100%; object-fit: cover; }

/* ── TEXT BLOCK ── */
.text-block .section-label { margin-bottom: 16px; }
.text-block h2 { margin-bottom: 24px; }
.text-block p + p { margin-top: 16px; }

/* ── CARDS-4 (dark bg) ── */
.cards-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    margin-top: 56px;
    background: rgba(255,255,255,0.06);
}
.card-icon {
    padding: 40px 32px;
    background: var(--dark);
    transition: background 0.25s;
}
.card-icon:hover { background: #111; }
.icon-wrap {
    width: 52px;
    height: 52px;
    background: rgba(209,29,30,0.12);
    border: 1px solid rgba(209,29,30,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}
.icon-wrap svg { width: 22px; height: 22px; stroke: var(--red); }
.card-icon h3 { font-size: 16px; margin-bottom: 12px; }
.card-icon p { font-size: 14px; line-height: 1.65; }

/* ── CHECK LIST ── */
.check-list {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 16px;
    line-height: 1.65;
    color: var(--text-soft);
}
.check-icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    background: var(--red);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}
.check-icon svg { width: 12px; height: 12px; stroke: var(--white); }

/* ── QUALITY GRID ── */
.quality-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    background: rgba(0,0,0,0.06);
    margin-top: 0;
}
.quality-col {
    padding: 48px 44px;
    background: var(--white);
}
.quality-col-head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 2px solid var(--bg-gray);
}
.quality-col-head h3 { margin: 0; font-size: 20px; }
.quality-icon {
    width: 48px;
    height: 48px;
    background: rgba(209,29,30,0.08);
    border: 1px solid rgba(209,29,30,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.quality-icon svg { width: 22px; height: 22px; stroke: var(--red); }
.quality-list { display: flex; flex-direction: column; gap: 14px; }
.quality-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    color: var(--text-soft);
    line-height: 1.5;
}
.quality-list li::before {
    content: '';
    flex-shrink: 0;
    width: 6px;
    height: 6px;
    background: var(--red);
    border-radius: 50%;
    margin-top: 7px;
}
.quality-note {
    margin-top: 32px;
    padding: 24px;
    background: rgba(209,29,30,0.04);
    border-left: 3px solid var(--red);
}
.quality-note-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--dark);
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

/* ── LOGISTICS STRIP ── */
.logistics-strip {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin-top: 56px;
    flex-wrap: wrap;
}
.logistics-item {
    flex: 1;
    min-width: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 32px 16px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    transition: background 0.2s, border-color 0.2s;
    cursor: default;
}
.logistics-item:hover {
    background: rgba(209,29,30,0.1);
    border-color: rgba(209,29,30,0.3);
}
.logi-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.logi-icon svg { width: 28px; height: 28px; stroke: var(--gold); }
.logistics-item span {
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,0.75);
    text-align: center;
    letter-spacing: 0.3px;
}
.logistics-img {
    margin-top: 40px;
    height: 400px;
    overflow: hidden;
}
.logistics-img img { width: 100%; height: 100%; object-fit: cover; opacity: 0.6; }

/* ── SPEC GRID ── */
.spec-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 56px;
}
.spec-card {
    background: var(--white);
    overflow: hidden;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
    transition: transform 0.25s, box-shadow 0.25s;
}
.spec-card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(0,0,0,0.12); }
.spec-img {
    height: 200px;
    overflow: hidden;
}
.spec-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.spec-card:hover .spec-img img { transform: scale(1.05); }
.spec-body { padding: 28px 24px; }
.spec-icon {
    width: 40px;
    height: 40px;
    background: var(--red);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.spec-icon svg { width: 20px; height: 20px; stroke: var(--white); }
.spec-body h3 { font-size: 17px; margin-bottom: 10px; }
.spec-body p { font-size: 14px; color: var(--text-light); line-height: 1.6; }

/* ── CTA SECTION ── */
.section-cta {
    position: relative;
    overflow: hidden;
}
.section-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--red);
}
.cta-inner {
    text-align: center;
    padding-top: 0;
    padding-bottom: 0;
}
.cta-inner .section-label { margin-bottom: 20px; }
.cta-inner h2 { margin-bottom: 20px; }
.cta-inner p { font-size: 17px; max-width: 520px; margin: 0 auto 40px; }
.cta-btns {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ── FOOTER ── */
.footer {
    background: #050505;
    padding: 36px 0;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
}
.footer-inner p { font-size: 13px; color: rgba(255,255,255,0.3); }
.footer-note { font-size: 12px !important; color: rgba(255,255,255,0.18) !important; }

/* ═══════════════════════════════════════
   ANIMATIONS
═══════════════════════════════════════ */
.fade-in,
.fade-in-left,
.fade-in-right {
    opacity: 0;
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in       { transform: translateY(28px); }
.fade-in-left  { transform: translateX(-40px); }
.fade-in-right { transform: translateX(40px); }

.fade-in.visible,
.fade-in-left.visible,
.fade-in-right.visible {
    opacity: 1;
    transform: none;
}

/* Stagger delays */
.stagger .fade-in:nth-child(1) { transition-delay: 0ms; }
.stagger .fade-in:nth-child(2) { transition-delay: 120ms; }
.stagger .fade-in:nth-child(3) { transition-delay: 240ms; }
.stagger .fade-in:nth-child(4) { transition-delay: 360ms; }
.stagger .fade-in:nth-child(5) { transition-delay: 480ms; }

/* Hero animations — trigger immediately */
.hero .fade-in:nth-child(1) { transition-delay: 200ms; }
.hero .fade-in:nth-child(2) { transition-delay: 400ms; }
.hero .fade-in:nth-child(3) { transition-delay: 580ms; }
.hero .fade-in:nth-child(4) { transition-delay: 720ms; }

/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */
@media (max-width: 1100px) {
    .cards-4 { grid-template-columns: repeat(2, 1fr); }
    .spec-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    .grid-2 { grid-template-columns: 1fr; gap: 48px; }
    .img-block { aspect-ratio: 16/9; }
    .quality-grid { grid-template-columns: 1fr; }
    .section { padding: 72px 0; }
}

@media (max-width: 768px) {
    :root { --pad: 0 20px; }
    .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 24px 20px;
        gap: 0;
        box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    }
    .nav-links.open { display: flex; }
    .nav-links a {
        color: var(--text) !important;
        padding: 14px 0;
        border-bottom: 1px solid rgba(0,0,0,0.06);
        font-size: 14px;
    }
    .nav-links .nav-cta {
        background: none !important;
        padding: 14px 0;
        color: var(--red) !important;
    }
    .hamburger { display: flex; }
    .hero-sub { font-size: 16px; }
    .cards-4 { grid-template-columns: 1fr; gap: 1px; }
    .spec-grid { grid-template-columns: 1fr; gap: 16px; }
    .logistics-strip { gap: 8px; }
    .logistics-item { min-width: calc(50% - 4px); }
    .quality-col { padding: 32px 24px; }
    .section { padding: 56px 0; }
    .section-header { margin-bottom: 40px; }
    .logistics-img { height: 240px; }
    h2 { letter-spacing: -0.3px; }
}

@media (max-width: 480px) {
    .hero-btns { flex-direction: column; }
    .hero-btns .btn { text-align: center; justify-content: center; }
    .cta-btns { flex-direction: column; align-items: center; }
    .logistics-item { min-width: calc(50% - 4px); }
}
