/* ============================================================
   Cleanote Global Theme - International Industrial
   Base #FFFFFF  ·  Ink #2D2D2D  ·  Gold #C9A96E
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
    --aq-bg: #FFFFFF;
    --aq-mist: #F7F6F3;
    --aq-ink: #2D2D2D;
    --aq-ink-deep: #1F1E1C;
    --aq-ink-soft: #55534F;
    --aq-muted: #8A8A8A;
    --aq-gold: #C9A96E;
    --aq-gold-dark: #B08F54;
    --aq-line: #E7E4DE;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
    color: var(--aq-ink);
    background: var(--aq-bg);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Archivo', 'Inter', Arial, sans-serif;
    letter-spacing: -0.02em;
}

/* ---- Kicker above section titles ---- */
.aq-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Archivo', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--aq-gold-dark);
}
.aq-kicker::before {
    content: "";
    width: 2rem;
    height: 2px;
    background: var(--aq-gold);
}

/* ---- Buttons ---- */
.aq-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 1.75rem;
    font-family: 'Archivo', sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid transparent;
    transition: all 0.2s ease;
    cursor: pointer;
    white-space: nowrap;
}
.aq-btn-dark { background: var(--aq-ink); color: #FFFFFF; }
.aq-btn-dark:hover { background: var(--aq-ink-deep); }
.aq-btn-gold { background: var(--aq-gold); color: var(--aq-ink-deep); }
.aq-btn-gold:hover { background: var(--aq-gold-dark); color: #FFFFFF; }
.aq-btn-outline { border-color: var(--aq-ink); color: var(--aq-ink); background: transparent; }
.aq-btn-outline:hover { background: var(--aq-ink); color: #FFFFFF; }
.aq-btn-light { background: #FFFFFF; color: var(--aq-ink); }
.aq-btn-light:hover { background: var(--aq-mist); }
.aq-btn-ghost { border-color: rgba(255,255,255,0.4); color: #FFFFFF; background: transparent; }
.aq-btn-ghost:hover { border-color: #FFFFFF; background: rgba(255,255,255,0.1); }

/* ---- Sections ---- */
.aq-section { padding: 6rem 0; }
.aq-section-mist { background: var(--aq-mist); }
.aq-section-dark { background: var(--aq-ink); color: #FFFFFF; }

/* ---- Cards ---- */
.aq-card {
    background: #FFFFFF;
    border: 1px solid var(--aq-line);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.aq-card:hover {
    box-shadow: 0 18px 40px rgba(45, 45, 45, 0.10);
    transform: translateY(-4px);
}

/* ---- Media ---- */
.aq-media { display: block; overflow: hidden; }
.aq-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.aq-zoom img { transition: transform 0.5s ease; }
.aq-zoom:hover img { transform: scale(1.05); }

/* ---- Spec table ---- */
.aq-spec-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.aq-spec-table th,
.aq-spec-table td { text-align: left; padding: 0.8rem 1rem; border-bottom: 1px solid var(--aq-line); vertical-align: top; }
.aq-spec-table th { font-family: 'Archivo', sans-serif; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--aq-muted); }
.aq-spec-table tr:last-child th,
.aq-spec-table tr:last-child td { border-bottom: 0; }

/* ---- Tags ---- */
.aq-tag {
    display: inline-block;
    padding: 0.3rem 0.75rem;
    font-family: 'Archivo', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: 1px solid var(--aq-line);
    color: var(--aq-ink-soft);
    background: #FFFFFF;
}
.aq-tag-gold { border-color: var(--aq-gold); color: var(--aq-gold-dark); background: rgba(201,169,110,0.08); }
.aq-tab-active { border-color: var(--aq-ink) !important; background: var(--aq-ink) !important; color: #FFFFFF !important; }

/* ---- Forms ---- */
.aq-input {
    width: 100%;
    padding: 0.85rem 1rem;
    font-size: 0.9rem;
    color: var(--aq-ink);
    background: #FFFFFF;
    border: 1px solid var(--aq-line);
    border-radius: 0;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.aq-input:focus { border-color: var(--aq-gold); box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.22); }
.aq-input:focus-visible,
.aq-btn:focus-visible,
a:focus-visible,
button:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--aq-gold);
    outline-offset: 2px;
}
.aq-label {
    display: block;
    margin-bottom: 0.4rem;
    font-family: 'Archivo', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--aq-ink-soft);
}

/* ---- Reveal on scroll ---- */
.aq-reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.aq-reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 768px) {
    .aq-section { padding: 4rem 0; }
}

/* ---- Language switcher ---- */
.aq-flag {
    display: inline-block;
    position: relative;
    flex: none;
    width: 18px;
    height: 13px;
    overflow: hidden;
    border-radius: 2px;
    box-shadow: inset 0 0 0 1px rgba(45, 45, 45, 0.18);
}
.aq-flag--de { background: linear-gradient(to bottom, #000000 33.33%, #DD0000 33.33%, #DD0000 66.66%, #FFCE00 66.66%); }
.aq-flag--fr { background: linear-gradient(to right, #0055A4 33.33%, #FFFFFF 33.33%, #FFFFFF 66.66%, #EF4135 66.66%); }
.aq-flag--it { background: linear-gradient(to right, #009246 33.33%, #FFFFFF 33.33%, #FFFFFF 66.66%, #CE2B37 66.66%); }
.aq-flag--es { background: linear-gradient(to bottom, #AA151B 25%, #F1BF00 25%, #F1BF00 75%, #AA151B 75%); }
.aq-flag--ru { background: linear-gradient(to bottom, #FFFFFF 33.33%, #0039A6 33.33%, #0039A6 66.66%, #D52B1E 66.66%); }
.aq-flag--ja { background: #FFFFFF; }
.aq-flag--ja::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 7px;
    height: 7px;
    margin: -3.5px 0 0 -3.5px;
    border-radius: 50%;
    background: #BC002D;
}
.aq-flag--ko { background: #FFFFFF; }
.aq-flag--ko::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 9px;
    height: 9px;
    margin: -4.5px 0 0 -4.5px;
    border-radius: 50%;
    background: linear-gradient(to bottom right, #CD2E3A 0 50%, #0047A0 50% 100%);
}
.aq-flag--zh { background: #DE2910; }
.aq-flag--zh::after {
    content: "";
    position: absolute;
    left: 2px;
    top: 2px;
    width: 6px;
    height: 6px;
    background: #FFDE00;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}
.aq-flag--en {
    background-color: #012169;
    background-image: linear-gradient(to bottom, transparent 38%, #FFFFFF 38%, #FFFFFF 62%, transparent 62%), linear-gradient(to right, transparent 38%, #FFFFFF 38%, #FFFFFF 62%, transparent 62%);
}
