/* ============================================
   SEKI x The Klinique — Size Up Campaign
   Minimal · Clean · Close to MarCom Draft
   ============================================ */

:root {
    --color-bg: #ffffff;
    --color-text: #1a1a1a;
    --color-text-soft: #4a4a4a;
    --color-text-muted: #6e6e6e;
    --color-border: #e5e5e5;
    --color-border-soft: #f0f0f0;
    --color-mist: #c9c5bd;

    --color-red: #d11a2a;
    --color-red-deep: #a01020;

    --font-thai: 'Prompt', sans-serif;
    --font-body: 'Sarabun', 'Prompt', sans-serif;

    --container-max: 1100px;
    --container-narrow: 780px;
}

/* ============== RESET ============== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    background: var(--color-bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}
.container-narrow {
    max-width: var(--container-narrow);
}

/* Utility: prevent line break within phrase */
.nowrap {
    white-space: nowrap;
}

/* ============== HEADER ============== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header-scrolled {
    border-bottom-color: var(--color-border);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.nav-logo {
    display: inline-flex;
    align-items: center;
}
.nav-logo img {
    height: 44px;
    width: auto;
    display: block;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 36px;
    list-style: none;
}

.nav-link {
    font-family: var(--font-thai);
    font-size: 15px;
    font-weight: 500;
    color: var(--color-text);
}
.nav-link:hover {
    color: var(--color-red);
}

.nav-lang {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--color-text-muted);
}
.nav-lang a {
    transition: color 0.2s ease;
}
.nav-lang-active {
    color: var(--color-text);
    font-weight: 600;
    cursor: default;
    pointer-events: none;
}
.nav-lang-disabled {
    color: var(--color-text-muted);
}
.nav-lang-disabled:hover {
    color: var(--color-red);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}
.nav-toggle span {
    width: 22px;
    height: 2px;
    background: var(--color-text);
    transition: all 0.3s ease;
}

/* ============== HERO ============== */
.hero {
    margin-top: 72px;
    padding: 24px 0 32px;
}
.hero-image {
    width: 100%;
    height: auto;
    display: block;
}

/* ============== HEADLINE ============== */
.headline {
    padding: 32px 24px 48px;
    text-align: center;
}

.headline-title {
    font-family: var(--font-thai);
    font-size: clamp(24px, 3.5vw, 34px);
    font-weight: 700;
    line-height: 1.4;
    color: var(--color-text);
    margin-bottom: 12px;
}

.headline-subtitle {
    font-family: var(--font-thai);
    font-size: clamp(20px, 2.8vw, 26px);
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 36px;
    line-height: 1.4;
}

.headline-intro {
    font-size: 16px;
    line-height: 1.85;
    color: var(--color-text-soft);
    text-align: left;
}
.headline-intro strong {
    color: var(--color-text);
    font-weight: 600;
}

/* ============== MENU FEATURE ============== */
.menu-feature {
    padding: 32px 24px 48px;
}

.menu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.menu-content {
    text-align: center;
}

.menu-title {
    font-family: var(--font-thai);
    font-size: clamp(28px, 3.8vw, 36px);
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 20px;
}

.menu-description {
    font-size: 16px;
    line-height: 1.85;
    color: var(--color-text-soft);
    margin-bottom: 24px;
    text-align: left;
}
.menu-description strong {
    color: var(--color-text);
    font-weight: 600;
}

.menu-price {
    display: inline-flex;
    align-items: baseline;
    gap: 12px;
}
.price-current {
    font-family: var(--font-thai);
    font-size: 42px;
    font-weight: 700;
    color: var(--color-red);
    line-height: 1;
}
.price-original {
    font-size: 15px;
    color: var(--color-text-muted);
}

.menu-figure {
    overflow: hidden;
}
.menu-figure img {
    width: 100%;
    height: auto;
    display: block;
}

/* ============== PRIZE SECTION ============== */
.prize-section {
    padding: 32px 24px;
    text-align: center;
}

.prize-line {
    font-family: var(--font-thai);
    font-size: clamp(16px, 2vw, 18px);
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: 8px;
}

.prize-line-large {
    font-family: var(--font-thai);
    font-size: clamp(18px, 2.4vw, 22px);
    font-weight: 600;
    color: var(--color-text);
}

.prize-free {
    color: var(--color-red);
    font-weight: 800;
}

.prize-amount {
    font-family: var(--font-thai);
    font-weight: 800;
    font-size: 1.2em;
    color: var(--color-red);
}

/* ============== TIERS ============== */
.tiers {
    padding: 48px 24px;
}

.tiers-intro {
    font-size: 16px;
    line-height: 1.85;
    color: var(--color-text-soft);
    margin-bottom: 40px;
    text-align: center;
}
.tiers-intro strong {
    color: var(--color-text);
    font-weight: 600;
}

.tier-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 36px;
}
.tier-row:last-child {
    margin-bottom: 0;
}

.tier-image {
    overflow: hidden;
}
.tier-image img {
    width: 100%;
    height: auto;
    display: block;
}

.tier-text p {
    font-size: 15px;
    line-height: 1.85;
    color: var(--color-text-soft);
    text-align: center;
}
.tier-text strong {
    color: var(--color-text);
    font-weight: 600;
}

/* ============== ANNIVERSARY ============== */
.anniversary {
    padding: 32px 24px;
    text-align: center;
}
.anniversary-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* ============== PERIOD ============== */
.period {
    padding: 32px 24px 24px;
    text-align: center;
}

.period-text {
    font-size: 15px;
    line-height: 1.85;
    color: var(--color-text-soft);
}
.period-text strong {
    color: var(--color-text);
    font-weight: 700;
}

/* ============== CTA ============== */
.cta-section {
    padding: 24px 24px 56px;
    text-align: center;
}

.cta-button {
    display: inline-block;
    padding: 14px 48px;
    background: var(--color-red);
    color: #ffffff;
    font-family: var(--font-thai);
    font-size: 17px;
    font-weight: 700;
    border-radius: 4px;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 4px rgba(209, 26, 42, 0.15);
}
.cta-button:hover {
    background: var(--color-red-deep);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(209, 26, 42, 0.25);
}

/* ============== TERMS ============== */
.terms {
    padding: 56px 24px;
    border-top: 1px solid var(--color-border);
}

.terms-title {
    font-family: var(--font-thai);
    font-size: 20px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 20px;
}

.terms-list {
    list-style: disc;
    padding-left: 22px;
}
.terms-list li {
    padding: 6px 0;
    font-size: 15px;
    line-height: 1.8;
    color: var(--color-text-soft);
}

.link-inline {
    color: var(--color-red);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}
.link-inline:hover {
    color: var(--color-red-deep);
}

/* ============== BRANCHES ============== */
.branches {
    padding: 56px 24px;
    border-top: 1px solid var(--color-border);
}

.branches-title {
    font-family: var(--font-thai);
    font-size: 20px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 24px;
}

.branches-list {
    list-style: disc;
    padding-left: 22px;
}
.branches-list li {
    padding: 3px 0;
    font-size: 15px;
    line-height: 1.6;
    color: var(--color-text-soft);
}

.branch-name {
    color: var(--color-text-soft);
    font-weight: 400;
}

.branch-tel {
    color: var(--color-text-soft);
    margin-left: 8px;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
    transition: color 0.2s ease;
}
.branch-tel:hover {
    color: var(--color-red);
}

/* ============== FOOTER ============== */
.site-footer {
    background: #ffffff;
    border-top: 1px solid var(--color-border);
    padding: 32px 24px;
}

.footer-content {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
}

.footer-logo {
    height: 56px;
    width: auto;
}

.footer-info p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--color-text-soft);
}

.footer-info strong {
    color: var(--color-text);
}

.footer-link {
    color: var(--color-text-soft);
    transition: color 0.2s ease;
}
.footer-link:hover {
    color: var(--color-red);
}
.footer-link:hover strong {
    color: var(--color-red);
}

.footer-sep {
    margin: 0 6px;
    color: var(--color-mist);
}

.footer-social {
    margin-top: 10px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-text-soft);
    font-size: 14px;
    transition: color 0.2s ease;
}
.social-icon:hover {
    color: var(--color-red);
}
.social-icon svg {
    flex-shrink: 0;
}

.footer-copyright {
    margin-top: 10px;
    font-size: 12px !important;
    color: var(--color-text-muted) !important;
}

/* ============== RESPONSIVE ============== */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: #ffffff;
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        border-bottom: 1px solid var(--color-border);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    }
    .nav-menu-open {
        transform: translateY(0);
    }
    .menu-grid,
    .tier-row,
    .tier-row-reverse {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .menu-figure {
        max-width: 480px;
        margin: 0 auto;
    }
    .tier-image {
        max-width: 480px;
        margin: 0 auto;
    }
    .tier-row-reverse .tier-text {
        order: 2;
    }
    .tier-row-reverse .tier-image {
        order: 1;
    }
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    .footer-social {
        justify-content: center;
        display: flex;
    }
    .branches {
        padding: 40px 16px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    .nav-container {
        padding: 12px 16px;
    }
    .nav-logo img {
        height: 36px;
    }
    .hero {
        margin-top: 64px;
        padding: 16px 0 24px;
    }
    .headline {
        padding: 24px 16px 32px;
    }
    .menu-feature,
    .tiers,
    .terms {
        padding-left: 16px;
        padding-right: 16px;
    }
    .price-current {
        font-size: 36px;
    }
    .cta-button {
        padding: 14px 32px;
        font-size: 16px;
        width: 100%;
        max-width: 320px;
    }
}

/* ============== ACCESSIBILITY ============== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

:focus-visible {
    outline: 2px solid var(--color-red);
    outline-offset: 3px;
}
