/* PET Acoustic Panel — Compact B2B Catalog v5 */
@import url('tokens.css');

:root {
    --pd-line: rgba(0, 0, 0, 0.09);
    --pd-sub: #555;
    --pd-muted: #888;
    --pd-soft: #f7f7f7;
    --pd-max: min(100% - 1.5rem, 72rem);
    --pd-gap: 0.75rem;
    --pd-y: clamp(1.5rem, 3vw, 2.25rem);
}

* {
    margin: 0; padding: 0; box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
}

html { scroll-behavior: smooth; }

body.pd-page {
    background: #fff;
    color: #111;
    font-size: 0.9375rem;
    line-height: 1.5;
    padding-top: var(--header-h);
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; width: 100%; height: auto; max-width: 100%; }

.pd-wrap { max-width: var(--pd-max); margin: 0 auto; padding: 0 var(--container-pad); }

/* Header */
header {
    position: fixed; top: 0; left: 0; width: 100%;
    height: var(--header-h); z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    display: flex; align-items: center;
    border-bottom: 1px solid var(--pd-line);
}
.header-inner {
    width: 100%; display: flex; justify-content: space-between; align-items: center;
    padding: 0 var(--container-pad); max-width: 87.5rem; margin: 0 auto;
}
.logo-img { height: clamp(2.75rem, 8vw, 3.875rem); width: auto; object-fit: contain; }
.nav-links { display: flex; gap: clamp(1.5rem, 4vw, 3.125rem); }
.nav-links a {
    font-size: clamp(0.875rem, 1.5vw, 1rem); font-weight: 600;
    text-transform: uppercase; color: #333; letter-spacing: 0.3px;
}
.nav-links a:hover { color: #000; }
.mobile-menu-toggle { display: none; flex-direction: column; gap: 6px; cursor: pointer; }
.mobile-menu-toggle span { display: block; width: 28px; height: 2px; background: #000; }

.pd-main { padding-bottom: 2rem; }

.pd-sec-title {
    font-size: 0.625rem; font-weight: 700; letter-spacing: 0.14em;
    text-transform: uppercase; color: var(--pd-muted);
    margin-bottom: 0.625rem;
}
.pd-sec-head {
    font-size: 1.125rem; font-weight: 700; letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

/* ① Hero — exhibition photo, B2B catalog */
.pd-hero {
    position: relative;
    width: 100%;
    height: clamp(17.5rem, 56vh, 32rem);
    overflow: hidden;
    border-bottom: 1px solid var(--pd-line);
}
.pd-hero-media {
    position: absolute;
    inset: 0;
}
.pd-hero-media img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: 38% 46%;
}
.pd-hero-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(to right, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.16) 26%, transparent 46%),
        linear-gradient(to top, rgba(0, 0, 0, 0.36) 0%, rgba(0, 0, 0, 0.1) 20%, transparent 36%);
}
.pd-hero-caption {
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 1;
    padding: clamp(1rem, 3vw, 1.625rem) var(--container-pad);
    max-width: min(100%, 26rem);
}
.pd-hero-caption h1 {
    font-family: 'DM Sans', 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(1.3125rem, 2.6vw, 1.6875rem);
    font-weight: 500;
    letter-spacing: 0.015em;
    line-height: 1.2;
    color: #fff;
    margin-bottom: 0.3125rem;
}
.pd-hero-lead {
    font-family: 'Plus Jakarta Sans', 'DM Sans', sans-serif;
    font-size: clamp(0.75rem, 1.5vw, 0.8125rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.06em;
}

/* ② Global Standard — featured trust block */
.pd-global {
    padding: var(--pd-y) 0;
    background: linear-gradient(180deg, #fafafa 0%, #fff 100%);
    border-bottom: 1px solid var(--pd-line);
}
.pd-global-feature {
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 0.75rem;
    padding: clamp(1.5rem, 3.5vw, 2rem);
    background: #fff;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    margin-bottom: var(--pd-gap);
}
.pd-global-kicker {
    font-size: clamp(0.75rem, 1.5vw, 0.875rem);
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #111;
    margin-bottom: 0.625rem;
}
.pd-global-title {
    font-family: 'DM Sans', 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(1.375rem, 3.2vw, 1.875rem);
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 1.2;
    margin-bottom: clamp(1.125rem, 2.5vw, 1.5rem);
    color: #111;
}
.pd-global-brands {
    border: 1px solid var(--pd-line);
    border-radius: 0.5rem;
    padding: 0.875rem 1.125rem;
    background: #fff;
}
.pd-global-brands h3 {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--pd-muted);
    margin-bottom: 0.625rem;
}
.pd-global-grid {
    display: grid; grid-template-columns: 1fr; gap: var(--pd-gap);
}
.pd-card {
    border: 1px solid var(--pd-line);
    border-radius: 0.5rem;
    padding: 1rem 1.125rem;
    background: #fff;
}
.pd-card h3 {
    font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--pd-muted);
    margin-bottom: 0.75rem; padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--pd-line);
}
.pd-country-badges {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.625rem;
    padding: clamp(0.875rem, 2vw, 1.125rem);
    background: #f9f9f9;
    border-radius: 0.5rem;
    border: 1px solid rgba(0, 0, 0, 0.04);
}
.pd-country-badge {
    display: flex;
    align-items: center;
    gap: 0.5625rem;
    min-height: 2.375rem;
    padding: 0.5rem 0.875rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 100px;
    background: linear-gradient(180deg, #fff 0%, #f8f8f8 100%);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.pd-country-badge:hover {
    border-color: rgba(0, 0, 0, 0.14);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}
.pd-country-flag {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    font-size: 1.25rem;
    line-height: 1;
    flex-shrink: 0;
}
.pd-country-name {
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    color: #222;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.pd-brand-list li {
    font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.02em;
    padding: 0.3125rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.04);
}
.pd-brand-list li:last-child { border-bottom: none; }

/* ③ WHY PET */
.pd-why { padding: var(--pd-y) 0; background: var(--pd-soft); }
.pd-why-grid {
    display: grid; grid-template-columns: repeat(2, 1fr);
    gap: var(--pd-gap);
}
.pd-why-item {
    border: 1px solid var(--pd-line);
    border-radius: 0.5rem;
    padding: 0.875rem 1rem;
    background: #fff;
    display: flex; align-items: center; gap: 0.625rem;
}
.pd-why-icon {
    font-size: 1.25rem; line-height: 1; flex-shrink: 0;
}
.pd-why-item span {
    font-size: 0.8125rem; font-weight: 600; letter-spacing: -0.01em;
}

/* ④ Applications */
.pd-apps { padding: var(--pd-y) 0; }
.pd-apps-grid {
    display: grid; grid-template-columns: repeat(2, 1fr);
    gap: var(--pd-gap);
}
.pd-app-card {
    border: 1px solid var(--pd-line);
    border-radius: 0.5rem;
    overflow: hidden; background: #fff;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.pd-app-card:hover {
    border-color: rgba(0,0,0,0.18);
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.pd-app-card img {
    aspect-ratio: 16 / 10; object-fit: cover;
    transition: transform 0.45s ease;
}
.pd-app-card:hover img { transform: scale(1.03); }
.pd-app-card figcaption {
    padding: 0.5rem 0.625rem;
    font-size: 0.75rem; font-weight: 600;
    letter-spacing: -0.01em;
}

/* ⑤ Partnership */
.pd-partner {
    padding: var(--pd-y) 0;
    border-top: 1px solid var(--pd-line);
}
.pd-partner-box {
    display: flex; flex-wrap: wrap;
    align-items: center; justify-content: space-between;
    gap: 1rem;
    border: 1px solid var(--pd-line);
    border-radius: 0.5rem;
    padding: 1rem 1.25rem;
    background: var(--pd-soft);
}
.pd-partner-text h2 {
    font-size: 1rem; font-weight: 700; letter-spacing: -0.02em;
    margin-bottom: 0.25rem;
}
.pd-partner-text p {
    font-size: 0.8125rem; color: var(--pd-sub);
}
.pd-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pd-btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 0.625rem 1.25rem; font-size: 0.8125rem; font-weight: 600;
    border-radius: 100px; border: 1px solid #000;
    background: #000; color: #fff;
    transition: background 0.25s, color 0.25s;
}
.pd-btn:hover { background: #fff; color: #000; }
.pd-btn--ghost { background: #fff; color: #000; }
.pd-btn--ghost:hover { background: #000; color: #fff; }

/* Footer compact */
footer {
    padding: 1.75rem 0;
    text-align: center; border-top: 1px solid var(--pd-line);
    font-size: 0.8125rem; color: var(--pd-muted);
}
.footer-brand { font-weight: 600; color: #000; font-size: 0.875rem; }
.footer-tagline { margin: 0.375rem 0 0.75rem; font-size: 0.75rem; }
.footer-copy { font-size: 0.75rem; color: #aaa; }

@media (min-width: 640px) {
    .pd-country-badges { grid-template-columns: repeat(3, 1fr); }
    .pd-why-grid { grid-template-columns: repeat(5, 1fr); }
    .pd-why-item { flex-direction: column; text-align: center; gap: 0.375rem; padding: 0.75rem 0.5rem; }
    .pd-apps-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 767px) {
    .mobile-menu-toggle { display: flex; }
    header nav { display: none; }
    header.menu-open nav {
        display: block; position: absolute;
        top: var(--header-h); left: 0; right: 0;
        background: #fff; border-bottom: 1px solid var(--pd-line);
        padding: 1.25rem;
    }
    header.menu-open .nav-links { flex-direction: column; gap: 1rem; }
    .pd-hero-media img { object-position: 34% 44%; }
    .pd-partner-box { flex-direction: column; align-items: stretch; }
    .pd-actions { flex-direction: column; }
    .pd-btn { width: 100%; }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .pd-apps-grid { grid-template-columns: repeat(4, 1fr); }
    .pd-why-grid { grid-template-columns: repeat(3, 1fr); }
}
