/* BYD RACCO Debut Fair LP Stylesheet */

/* ==========================================
   Variables & Base Setup
   ========================================== */
:root {
    --primary-color: #0088CC; /* Smart Electric Blue */
    --primary-hover: #006699;
    --accent-color: #E60012; /* BYD Signature Red */
    --accent-hover: #C5000F;
    --text-color: #1A1D20;
    --text-light: #606870;
    --text-muted: #9098A0;
    --bg-white: #ffffff;
    --bg-light: #F4F7F9;
    --bg-dark: #0A0D10;
    --bg-dark-accent: #141920;
    --border-color: #E2E8F0;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    
    /* Font families */
    --font-jp: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-en: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-jp);
    color: var(--text-color);
    background-color: var(--bg-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

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

/* Common Utilities */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 24px;
}

.section-header {
    margin-bottom: 60px;
}

.section-header.align-center {
    text-align: center;
}

.section-subtitle {
    font-family: var(--font-en);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--primary-color);
    text-transform: uppercase;
    display: block;
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--text-color);
}

.font-outfit {
    font-family: var(--font-en);
}

/* ==========================================
   Header Style
   ========================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-smooth);
}

.main-header.scrolled {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.02);
}

.announcement-bar {
    background-color: var(--accent-color);
    color: #ffffff;
    padding: 10px 16px;
    font-size: 0.8rem;
    font-weight: 500;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-smooth);
}

.announcement-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.announcement-tag {
    background-color: #ffffff;
    color: var(--accent-color);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 2px;
    letter-spacing: 0.05em;
}

.announcement-text {
    letter-spacing: 0.03em;
    margin: 0;
}

.announcement-text strong {
    font-weight: 700;
    border-bottom: 1px solid #ffffff;
}

.main-header.scrolled .announcement-bar {
    height: 0;
    padding: 0;
    overflow: hidden;
    border-bottom: none;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-smooth);
}

.main-header.scrolled .header-container {
    padding: 16px 24px;
}

.logo-link {
    display: flex;
    align-items: center;
    color: #ffffff;
}

.main-header.scrolled .logo-link {
    color: #686D71; /* specified branding logo color */
}

.byd-logo-svg {
    height: 24px;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-item {
    font-family: var(--font-en);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    padding: 6px 0;
}

.main-header.scrolled .nav-item {
    color: var(--text-color);
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1.5px;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.nav-item:hover {
    color: #ffffff;
}

.main-header.scrolled .nav-item:hover {
    color: var(--primary-color);
}

.nav-item:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-cta-header {
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 10px 24px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.05em;
}

.btn-cta-header:hover {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
}

/* Hamburger Menu Button */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger-menu span {
    width: 100%;
    height: 2px;
    background-color: #ffffff;
    transition: var(--transition-smooth);
}

.main-header.scrolled .hamburger-menu span {
    background-color: var(--text-color);
}

.hamburger-menu.active span {
    background-color: var(--text-color);
}

.hamburger-menu.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ==========================================
   Hero Section
   ========================================== */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    animation: zoomOutHero 12s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    z-index: 1;
}

@keyframes zoomOutHero {
    to { transform: scale(1); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.1) 60%, rgba(0,0,0,0.65) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    width: 100%;
    padding: 140px 24px 60px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    justify-content: space-between;
}

.hero-sub {
    font-family: var(--font-en);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    opacity: 0;
    animation: fadeInUp 1s ease 0.3s forwards;
}

.hero-main-title {
    margin-top: auto;
    margin-bottom: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    opacity: 0;
    animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards;
}

.hero-category-tag {
    background-color: var(--primary-color);
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    padding: 6px 18px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 136, 204, 0.3);
}

.hero-title {
    font-size: 4.2rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.03em;
}

.hero-title span {
    display: block;
    font-size: 2.8rem;
    font-weight: 700;
    margin-top: 10px;
    letter-spacing: 0.05em;
}

.hero-title small {
    font-size: 2rem;
    font-weight: 500;
    font-style: italic;
}

.hero-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.9s forwards;
}

.fair-badge-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
    background-color: var(--accent-color);
    padding: 10px 24px;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(230,0,18,0.35);
}

.fair-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    border-right: 1px solid rgba(255,255,255,0.3);
    padding-right: 16px;
}

.fair-date {
    font-family: var(--font-en);
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 0.05em;
}

.fair-date span {
    font-style: italic;
    font-weight: 500;
    font-size: 1.05rem;
}

.hero-tagline {
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.9);
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0;
    animation: fadeIn 1.5s ease 1.5s forwards;
}

.scroll-text {
    font-family: var(--font-en);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: rgba(255,255,255,0.6);
}

.scroll-arrow {
    width: 1px;
    height: 40px;
    background-color: rgba(255,255,255,0.3);
    position: relative;
    overflow: hidden;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    animation: scrollAnim 2s infinite cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes scrollAnim {
    0% { transform: translateY(-100%); }
    50% { transform: translateY(0); }
    100% { transform: translateY(100%); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    to { opacity: 1; }
}

/* ==========================================
   About Section
   ========================================== */
.about-section {
    background-color: var(--bg-white);
}

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

.about-visual .image-wrapper {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.about-visual img {
    width: 100%;
    transition: var(--transition-smooth);
}

.about-visual:hover img {
    transform: scale(1.02);
}

.about-text h2 {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 24px;
    letter-spacing: 0.03em;
}

.lead-text {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.7;
}

.about-text p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.spec-highlights {
    display: flex;
    gap: 30px;
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    margin-top: 30px;
}

.spec-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.spec-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.1em;
}

.spec-val {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-color);
}

/* ==========================================
   Features Section
   ========================================== */
.features-section {
    background-color: var(--bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 50px 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.01);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 136, 204, 0.05);
    border-color: rgba(0, 136, 204, 0.2);
}

.feature-num {
    font-size: 3rem;
    font-weight: 800;
    color: rgba(0, 136, 204, 0.08);
    line-height: 1;
    margin-bottom: 20px;
    transition: var(--transition-smooth);
}

.feature-card:hover .feature-num {
    color: rgba(0, 136, 204, 0.15);
    transform: scale(1.1);
    transform-origin: left;
}

.feature-card h3 {
    font-family: var(--font-en);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-color);
}

.feature-card h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 18px;
}

.feature-card p {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ==========================================
   Opening Fair Section
   ========================================== */
.fair-section {
    background-color: var(--bg-dark);
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.fair-section .section-title {
    color: #ffffff;
}

.fair-period {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent-color);
    margin-top: 15px;
    letter-spacing: 0.05em;
    text-align: center;
}

.fair-content-box {
    max-width: 800px;
    margin: 0 auto;
}

.fair-gift-card {
    background-color: var(--bg-dark-accent);
    border: 1px dashed rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 50px 40px;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.gift-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent-color);
    color: #ffffff;
    font-family: var(--font-en);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 20px;
    letter-spacing: 0.1em;
    box-shadow: 0 4px 10px rgba(230,0,18,0.2);
}

.gift-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 35px;
    letter-spacing: 0.05em;
}

.gift-content-layout {
    display: flex;
    align-items: center;
    gap: 40px;
    text-align: left;
}

.gift-image-wrapper {
    flex: 0 0 280px;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.gift-image-wrapper img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.gift-image-wrapper:hover img {
    transform: scale(1.04);
}

.gift-details {
    flex: 1;
}

.gift-details h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #ffffff;
    border-left: 3px solid var(--accent-color);
    padding-left: 12px;
}

.gift-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    margin-bottom: 15px;
}

.gift-note {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ==========================================
   Access Section
   ========================================== */
.access-section {
    background-color: var(--bg-white);
}

.access-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

.dealer-title-group {
    margin-bottom: 30px;
}

.dealer-sub {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-light);
    letter-spacing: 0.2em;
    display: block;
    margin-bottom: 4px;
}

.dealer-name {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.info-table {
    border-top: 1px solid var(--border-color);
    margin-bottom: 40px;
}

.info-row {
    display: grid;
    grid-template-columns: 100px 1fr;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
}

.info-label {
    font-weight: 600;
    color: var(--text-color);
}

.info-val {
    color: var(--text-light);
}

.info-val a {
    font-weight: 600;
}

.info-val p {
    margin-bottom: 4px;
}

.info-val p:last-child {
    margin-bottom: 0;
}

.special-business-box {
    margin-top: 12px;
    background-color: rgba(230, 0, 18, 0.04);
    border: 1px solid rgba(230, 0, 18, 0.15);
    border-left: 4px solid var(--accent-color);
    padding: 15px 20px;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.box-badge {
    background-color: var(--accent-color);
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 2px;
    align-self: flex-start;
    letter-spacing: 0.05em;
}

.box-desc {
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--text-color) !important;
}

.box-desc strong {
    color: var(--accent-color);
    font-weight: 700;
}

.btn-primary-cta {
    display: inline-block;
    background-color: var(--text-color);
    color: #ffffff;
    padding: 16px 36px;
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.btn-primary-cta:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
}

.map-block {
    height: 500px;
}

.map-wrapper {
    height: 100%;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 15px 30px rgba(0,0,0,0.02);
}

/* ==========================================
   Disclaimer Section
   ========================================== */
.disclaimer-section {
    background-color: var(--bg-light);
    border-top: 1px solid var(--border-color);
}

.disclaimer-section .section-container {
    padding: 40px 24px;
}

.disclaimer-text {
    font-size: 0.72rem;
    color: var(--text-light);
    line-height: 1.7;
}

.disclaimer-text p {
    margin-bottom: 6px;
}

.disclaimer-text p:last-child {
    margin-bottom: 0;
}

/* ==========================================
   Footer Style
   ========================================== */
.main-footer {
    background-color: var(--bg-dark);
    color: #ffffff;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 24px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    color: #ffffff;
}

.footer-links {
    display: flex;
    gap: 40px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.4);
}

/* Sticky Mobile Footer CTA */
.sticky-footer-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: none;
    grid-template-columns: 1fr 1.2fr;
    z-index: 999;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
}

.btn-sticky-call, .btn-sticky-reserve {
    text-align: center;
    padding: 18px 10px;
    font-size: 0.85rem;
    font-weight: 700;
}

.btn-sticky-call {
    background-color: #ffffff;
    color: var(--text-color);
}

.btn-sticky-reserve {
    background-color: var(--primary-color);
    color: #ffffff;
}

/* Showroom Tabs Layout */
.showroom-tabs-container {
    width: 100%;
    overflow-x: auto;
    margin-bottom: 40px;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
}

.showroom-tabs-container::-webkit-scrollbar {
    height: 4px;
}

.showroom-tabs-container::-webkit-scrollbar-thumb {
    background-color: var(--border-color);
    border-radius: 2px;
}

.showroom-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    min-width: max-content;
    margin: 0 auto;
}

.tab-btn {
    background-color: var(--bg-light);
    color: var(--text-light);
    border: 1px solid var(--border-color);
    padding: 10px 24px;
    border-radius: 24px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.tab-btn:hover {
    background-color: rgba(0, 136, 204, 0.05);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.tab-btn.active {
    background-color: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 136, 204, 0.2);
}

/* Hide inactive showroom detail blocks */
.showroom-details {
    display: none;
}

.showroom-details.active {
    display: block;
    animation: fadeInTab 0.5s ease forwards;
}

@keyframes fadeInTab {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn-secondary-link {
    display: inline-block;
    padding: 16px 24px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-color);
    border-bottom: 1px solid var(--text-color);
    margin-left: 20px;
}

.btn-secondary-link:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

/* ==========================================
   Grades Section
   ========================================== */
.grades-section {
    background-color: var(--bg-light);
}

.grades-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.grade-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px 60px;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.01);
    transition: var(--transition-smooth);
}

.grade-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 136, 204, 0.05);
    border-color: rgba(0, 136, 204, 0.15);
}

.grade-card-image {
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.grade-card-image img {
    width: 100%;
    max-width: 420px;
    height: auto;
    transition: var(--transition-smooth);
}

.grade-card:hover .grade-card-image img {
    transform: scale(1.03);
}

.grade-card-info {
    display: flex;
    flex-direction: column;
}

.grade-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 12px;
    letter-spacing: 0.02em;
}

.grade-description {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 24px;
}

.grade-note-inline {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: block;
    margin-top: 6px;
}

.grade-spec-box {
    display: flex;
    background-color: var(--bg-light);
    border-radius: 8px;
    padding: 20px 30px;
    gap: 40px;
    max-width: 460px;
}

.spec-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.spec-label {
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--text-light);
    letter-spacing: 0.05em;
}

.spec-label sup {
    font-size: 0.6rem;
    top: -0.2em;
}

.spec-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-color);
    line-height: 1.1;
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.spec-value small {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-light);
}

.grades-footer-notes {
    margin-top: 40px;
    padding-top: 10px;
}

.grades-footer-notes p {
    font-size: 0.72rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 6px;
}

/* ==========================================
   Colors Section
   ========================================== */
.colors-section {
    background-color: var(--bg-white);
}

.colors-list {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.color-row {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.color-row-header {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
    margin-bottom: 10px;
}

.color-grade {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-color);
    letter-spacing: 0.03em;
}

.color-grade small {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-light);
}

.color-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.color-column {
    background-color: var(--bg-light);
    border-radius: 12px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.color-column:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.color-visual {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    background-color: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
}

.color-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.color-column:hover .color-img {
    transform: scale(1.02);
}

.color-info-wrap {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    align-items: center;
}

.color-chips {
    display: flex;
    gap: 8px;
    justify-content: center;
    align-items: center;
    min-height: 24px;
}

.chip {
    display: inline-block;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.15);
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
}

.chip.active {
    width: 20px;
    height: 20px;
    border: 2px solid #ffffff;
    box-shadow: 0 0 0 2px var(--text-color);
}

.chip-navy { background-color: #1A2F50; }
.chip-black { background-color: #111111; }
.chip-grey { background-color: #70757A; }
.chip-ruby { background-color: #A31F2E; }
.chip-white { background-color: #F5F6F7; }
.chip-beige { background-color: #E6DFD3; }
.chip-lightblue { background-color: #8AB4F8; }
.chip-yellow { background-color: #E8D8B8; }
.chip-black-beige { background: linear-gradient(135deg, #111111 50%, #D8C3A5 50%); }

.color-name {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.color-name-en {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
}

.color-name-ja {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* CSS Filter for yellow car */
.yellow-filtered {
    filter: sepia(0.4) saturate(1.8) hue-rotate(5deg) brightness(0.98);
}

.colors-footer-notes {
    margin-top: 40px;
    padding-top: 10px;
}

.colors-footer-notes p {
    font-size: 0.72rem;
    color: var(--text-muted);
}

/* ==========================================
   Size Section
   ========================================== */
.size-section {
    background-color: var(--bg-light);
}

.align-center-with-badge {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-bottom: 60px;
}

.size-badge {
    background-color: var(--text-color);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 4px;
    letter-spacing: 0.05em;
}

.size-diagram-container {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 60px 40px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.01);
    margin-bottom: 40px;
}

.size-diagram {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.diagram-block {
    display: flex;
    justify-content: center;
    width: 100%;
}

.diagram-image-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

.diagram-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

/* Dimension Lines CSS Representation */
.dimension-line {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Arrowhead style */
.dim-arrow {
    position: absolute;
    width: 6px;
    height: 6px;
    border: solid #888888;
    border-width: 0 1px 1px 0;
    display: inline-block;
}

/* Vertical Height Line */
.height-line {
    left: -20px;
    top: 5%;
    bottom: 3%;
    width: 1px;
    background-color: #888888;
}

.height-line .dim-arrow.top {
    top: 0;
    left: -3px;
    transform: rotate(-135deg);
}

.height-line .dim-arrow.bottom {
    bottom: 0;
    left: -3px;
    transform: rotate(45deg);
}

.height-line .dim-label {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-light);
    white-space: nowrap;
}

/* Horizontal Width Line (Front view bottom) */
.width-line {
    left: 0;
    right: 0;
    bottom: -20px;
    height: 1px;
    background-color: #888888;
}

.width-line .dim-arrow.left {
    left: 0;
    top: -3px;
    transform: rotate(135deg);
}

.width-line .dim-arrow.right {
    right: 0;
    top: -3px;
    transform: rotate(-45deg);
}

.width-line .dim-label {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-light);
    white-space: nowrap;
}

/* Horizontal Wheelbase Line */
.wheelbase-line {
    left: 20%;
    right: 20%;
    bottom: 24px;
    height: 1px;
    background-color: #888888;
}

.wheelbase-line .dim-arrow.left {
    left: 0;
    top: -3px;
    transform: rotate(135deg);
}

.wheelbase-line .dim-arrow.right {
    right: 0;
    top: -3px;
    transform: rotate(-45deg);
}

.wheelbase-line .dim-label {
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-light);
    white-space: nowrap;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.wheelbase-line .dim-label .sub-label {
    font-size: 0.65rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 2px;
}

/* Horizontal Length Line (Side view bottom) */
.length-line {
    left: 0;
    right: 0;
    bottom: -20px;
    height: 1px;
    background-color: #888888;
}

.length-line .dim-arrow.left {
    left: 0;
    top: -3px;
    transform: rotate(135deg);
}

.length-line .dim-arrow.right {
    right: 0;
    top: -3px;
    transform: rotate(-45deg);
}

.length-line .dim-label {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-light);
    white-space: nowrap;
}

/* Spec Table */
.size-spec-table {
    display: flex;
    background-color: #ffffff;
    border-radius: 8px;
    padding: 24px 40px;
    border: 1px solid var(--border-color);
    max-width: 800px;
    margin: 0 auto;
    justify-content: space-around;
    box-shadow: 0 4px 15px rgba(0,0,0,0.01);
}

.size-spec-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex: 1;
}

.size-spec-item:not(:last-child) {
    border-right: 1px solid var(--border-color);
}

.size-spec-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

.size-spec-val {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-color);
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.size-spec-val small {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-light);
}

/* ==========================================
   Responsive Settings
   ========================================== */
@media (max-width: 1024px) {
    .about-grid {
        gap: 40px;
    }
    
    .features-grid {
        gap: 20px;
    }
    
    .access-grid {
        gap: 40px;
    }
    
    .hero-title {
        font-size: 3.2rem;
    }
    
    .hero-title span {
        font-size: 2.2rem;
    }
    
    /* Grades */
    .grade-card {
        padding: 40px;
        gap: 40px;
    }
    
    /* Colors & Size */
    .color-pair {
        gap: 20px;
    }
    
    .color-column {
        padding: 20px;
    }
    
    .size-diagram {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    body {
        padding-bottom: 58px;
    }
    
    .section-container {
        padding: 60px 20px;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    /* Header Menu drawer */
    .hamburger-menu {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--bg-white);
        flex-direction: column;
        justify-content: center;
        gap: 30px;
        transition: var(--transition-smooth);
        z-index: 1000;
        padding: 40px;
        box-shadow: -10px 0 30px rgba(0,0,0,0.05);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-item {
        color: var(--text-color);
        font-size: 1.2rem;
        font-weight: 600;
    }
    
    .main-header.scrolled .nav-item {
        color: var(--text-color);
    }
    
    .nav-menu .btn-cta-header {
        width: 100%;
        text-align: center;
        padding: 16px;
        font-size: 1rem;
    }
    
    .logo-link {
        color: #ffffff;
    }
    
    .main-header.scrolled .logo-link {
        color: #686D71;
    }
    
    /* Hero */
    .hero-section {
        min-height: 550px;
        height: 85vh;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-title span {
        font-size: 1.8rem;
    }
    
    .hero-title small {
        font-size: 1.4rem;
    }
    
    .fair-badge-wrap {
        padding: 8px 16px;
    }
    
    .fair-date {
        font-size: 1.05rem;
    }
    
    /* About */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-text h2 {
        font-size: 1.5rem;
    }
    
    /* Features */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .feature-card {
        padding: 40px 20px;
    }
    
    /* Fair */
    .fair-gift-card {
        padding: 40px 20px;
    }
    
    .gift-content-layout {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
    
    .gift-image-wrapper {
        flex: 0 0 auto;
        max-width: 280px;
        margin: 0 auto;
    }
    
    .gift-details h4 {
        border-left: none;
        padding-left: 0;
        margin-bottom: 10px;
    }
    
    .fair-period {
        font-size: 1.4rem;
    }
    
    /* Access */
    .access-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .map-block {
        height: 350px;
    }
    
    /* Footer */
    .footer-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
    
    .sticky-footer-cta {
        display: grid;
    }
    
    /* Announcement Bar Mobile */
    .announcement-bar {
        padding: 8px 10px;
    }
    
    .announcement-text {
        font-size: 0.72rem;
        line-height: 1.3;
    }
    
    .announcement-tag {
        font-size: 0.6rem;
        padding: 1px 6px;
    }
    
    /* Showroom Tabs Mobile */
    .showroom-tabs {
        justify-content: flex-start;
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .btn-secondary-link {
        display: block;
        margin-left: 0;
        margin-top: 15px;
        padding: 10px 0;
        text-align: center;
        border-bottom: none;
        text-decoration: underline;
    }
    
    /* Grades Mobile */
    .grade-card {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 30px 20px;
    }
    
    .grade-card-image img {
        max-width: 300px;
    }
    
    .grade-name {
        font-size: 1.5rem;
    }
    
    .grade-spec-box {
        padding: 16px 20px;
        gap: 20px;
        max-width: 100%;
    }
    
    .spec-value {
        font-size: 1.5rem;
    }
    
    /* Colors Mobile */
    .color-pair {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .color-column {
        padding: 20px 16px;
    }
    
    .color-visual {
        /* height: auto */
    }
    
    /* Size Mobile */
    .size-diagram {
        grid-template-columns: 1fr;
        gap: 60px;
        justify-items: center;
    }
    
    .size-diagram-container {
        padding: 40px 20px;
    }
    
    .diagram-block {
        max-width: 320px;
    }
    
    .height-line {
        left: -15px;
    }
    
    .height-line .dim-label {
        right: 6px;
        font-size: 0.75rem;
    }
    
    .width-line {
        bottom: -15px;
    }
    
    .width-line .dim-label {
        top: 6px;
        font-size: 0.75rem;
    }
    
    .length-line {
        bottom: -15px;
    }
    
    .length-line .dim-label {
        top: 6px;
        font-size: 0.75rem;
    }
    
    .wheelbase-line {
        bottom: 18px;
    }
    
    .wheelbase-line .dim-label {
        top: 4px;
        font-size: 0.75rem;
    }
    
    .size-spec-table {
        flex-wrap: wrap;
        padding: 20px;
        gap: 15px;
    }
    
    .size-spec-item {
        flex: 1 1 40%;
    }
    
    .size-spec-item:nth-child(even) {
        border-right: none;
    }
    
    .size-spec-item:nth-child(2) {
        border-right: none;
    }
}
