@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700;900&display=swap');

/* System font stack for Japanese characters - avoids CORS issues */
:root {
    --font-japanese: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
    --pit-bay-white: #F9F7F4;
    --hydraulic-mist: #F0EEE8;
    --coolant-grey: #E2E0DA;
    --carbon-steel: #161616;
    --protocol-line: #292929;
    --racing-red: #D83030;
    --heat-crimson: #A82020;
    --skew-angle: 12deg;
    --skew-angle-large: 18deg;
    --transition-default: 0.24s ease;
    --transition-fast: 0.18s ease;
    --shadow-red: 0 32px 96px rgba(216, 48, 48, 0.28);
    --shadow-red-small: 0 4px 12px rgba(216, 48, 48, 0.22);
    --shadow-red-glow: 0 0 24px rgba(216, 48, 48, 0.18);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-japanese);
    background-color: var(--pit-bay-white);
    color: var(--protocol-line);
    line-height: 1.92;
    font-size: 16px;
    overflow-x: hidden;
}

strong, p, span {
    color: inherit;
}

a {
    color: inherit;
    text-decoration: none;
}

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

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

ul, ol {
    list-style: none;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

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

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.header-split {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    display: grid;
    grid-template-rows: 28px 56px;
    gap: 0;
}

.header-top-micro {
    height: 28px;
    background: rgba(249, 247, 244, 0.98);
    border-bottom: 1px solid rgba(22, 22, 22, 0.04);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
}

.header-top-micro .brand-info {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
}

.header-top-micro .domain-name {
    font-weight: 700;
    font-size: 9px;
    color: var(--carbon-steel);
    letter-spacing: 0.14em;
    line-height: 1.14;
}

.header-top-micro .company-name-header {
    font-size: 5px;
    color: var(--protocol-line);
    margin-top: 1px;
    line-height: 1.30;
}

.header-main-level {
    height: 56px;
    background: rgba(249, 247, 244, 0.98);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    border-bottom: 1px solid rgba(22, 22, 22, 0.06);
}

.nav-logo {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.nav-logo svg {
    width: 20px;
    height: 20px;
    color: var(--racing-red);
}

.nav-cluster {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-cluster a {
    font-weight: 500;
    font-size: 10px;
    color: var(--protocol-line);
    cursor: pointer;
    transition: var(--transition-fast);
    padding: 8px 10px;
}

.nav-cluster a:hover,
.nav-cluster a.active {
    color: var(--racing-red);
}

.cta-header-btn {
    margin-left: 16px;
    padding: 10px 18px;
    background: linear-gradient(135deg, var(--racing-red), var(--heat-crimson));
    color: white;
    font-weight: 500;
    font-size: 9px;
    border-radius: 0;
    box-shadow: var(--shadow-red-small);
    transition: var(--transition-default);
    white-space: nowrap;
}

.cta-header-btn:hover {
    transform: scale(1.02);
}

.hamburger-btn {
    display: none;
    width: 28px;
    height: 28px;
    position: fixed;
    top: 6px;
    right: 14px;
    z-index: 9999;
    background: transparent;
    border: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.hamburger-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--carbon-steel);
    transition: var(--transition-fast);
}

.hamburger-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.hamburger-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--pit-bay-white);
    z-index: 9998;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
}

.mobile-menu-overlay.active {
    display: flex;
}

.mobile-menu-overlay a {
    font-weight: 700;
    font-size: 14px;
    color: var(--carbon-steel);
    padding: 12px 24px;
    transition: var(--transition-fast);
}

.mobile-menu-overlay a:hover {
    color: var(--racing-red);
}

.mobile-menu-overlay .close-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 28px;
    color: var(--carbon-steel);
    display: none;
}

.content-offset {
    padding-top: 92px;
}

.hero-section {
    min-height: 100vh;
    position: relative;
    display: grid;
    grid-template-columns: 1.18fr 1fr;
    gap: 0;
    align-items: center;
    overflow: hidden;
}

.mesh-gradient-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.mesh-node {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
}

.mesh-node:nth-child(1) {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #4FC3F7, #80DEEA);
    top: 10%;
    left: 5%;
    animation: meshFloat1 18s ease-in-out infinite alternate;
}

.mesh-node:nth-child(2) {
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, #80DEEA, #B2DFDB);
    top: 30%;
    right: 10%;
    animation: meshFloat2 22s ease-in-out infinite alternate;
}

.mesh-node:nth-child(3) {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #A7FFEB, #64FFDA);
    bottom: 20%;
    left: 15%;
    animation: meshFloat3 25s ease-in-out infinite alternate;
}

.mesh-node:nth-child(4) {
    width: 380px;
    height: 380px;
    background: linear-gradient(135deg, #4DD0E1, #80CBC4);
    top: 5%;
    right: 25%;
    animation: meshFloat1 20s ease-in-out infinite alternate-reverse;
}

.mesh-node:nth-child(5) {
    width: 280px;
    height: 280px;
    background: linear-gradient(135deg, #B2EBF2, #E0F7FA);
    bottom: 10%;
    right: 5%;
    animation: meshFloat2 28s ease-in-out infinite alternate;
}

.mesh-node:nth-child(6) {
    width: 320px;
    height: 320px;
    background: linear-gradient(135deg, #80D8FF, #A7FFEB);
    top: 50%;
    left: 8%;
    animation: meshFloat3 24s ease-in-out infinite alternate-reverse;
}

.mesh-node:nth-child(7) {
    width: 260px;
    height: 260px;
    background: linear-gradient(135deg, #84FFFF, #B2EBF2);
    bottom: 35%;
    right: 30%;
    animation: meshFloat1 26s ease-in-out infinite alternate;
}

.mesh-node:nth-child(8) {
    width: 340px;
    height: 340px;
    background: linear-gradient(135deg, #48C9F0, #5DADE2);
    top: 15%;
    left: 40%;
    animation: meshFloat2 30s ease-in-out infinite alternate-reverse;
}

@keyframes meshFloat1 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(60px, -80px) scale(1.1); }
}

@keyframes meshFloat2 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-50px, 60px) scale(0.95); }
}

@keyframes meshFloat3 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(40px, 40px) scale(1.05); }
}

.hero-content-right {
    position: relative;
    z-index: 1;
    padding-right: 100px;
}

.hero-content-right .hero-title {
    font-size: clamp(3.2rem, 10vw, 7.4rem);
    font-weight: 700;
    color: var(--carbon-steel);
    line-height: 0.52;
    letter-spacing: -0.02em;
    animation: cascadeWord 0.8s ease-out forwards;
    opacity: 0;
}

.hero-content-right .hero-title span {
    display: inline-block;
    margin-right: 0.12em;
}

@keyframes cascadeWord {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

.hero-content-right .hero-subtitle {
    font-size: 16px;
    color: var(--protocol-line);
    line-height: 1.6;
    max-width: 560px;
    margin-top: 32px;
    opacity: 0;
    animation: fadeUp 0.6s ease-out 0.4s forwards;
}

@keyframes fadeUp {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

.hero-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 40px;
    padding: 28px 60px;
    background: linear-gradient(135deg, var(--racing-red), var(--heat-crimson));
    color: white;
    font-weight: 500;
    font-size: 15px;
    border-radius: 0;
    box-shadow: var(--shadow-red);
    transition: var(--transition-default);
    opacity: 0;
    animation: fadeUp 0.6s ease-out 0.6s forwards;
    white-space: nowrap;
}

.hero-cta-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 40px 120px rgba(216, 48, 48, 0.36);
}

.hero-secondary-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    font-weight: 700;
    font-size: 13px;
    color: var(--carbon-steel);
    opacity: 0;
    animation: fadeUp 0.6s ease-out 0.8s forwards;
}

.hero-secondary-tag svg {
    width: 16px;
    height: 16px;
    color: var(--racing-red);
}

.hero-visual-left {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.hero-visual-left::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #f9f7f462;
    clip-path: polygon(8% 0, 100% 0, 100% 100%, 0% 100%);
    z-index: 1;
}

.hero-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.95);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: bounce 2s ease-in-out infinite;
}

.scroll-indicator svg {
    width: 24px;
    height: 24px;
    color: var(--protocol-line);
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(12px); }
}

.section-pad {
    padding: 120px 0;
}

.section-dark {
    background-color: var(--coolant-grey);
    color: var(--protocol-line);
}

.section-light {
    background-color: var(--pit-bay-white);
    color: var(--protocol-line);
}

.section-alt {
    background-color: var(--hydraulic-mist);
    color: var(--protocol-line);
}

.section-title {
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--carbon-steel);
    line-height: 1.1;
    margin-bottom: 48px;
}

.section-title span {
    color: var(--racing-red);
}

.services-marquee-section {
    padding: 80px 0;
    overflow: hidden;
}

.marquee-track {
    display: flex;
    gap: 40px;
    animation: marqueeScroll 30s linear infinite;
    width: max-content;
}

.marquee-track:hover {
    animation-play-state: paused;
}

@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.diagonal-card {
    position: relative;
    padding: 32px 28px;
    background: var(--pit-bay-white);
    clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
    transition: var(--transition-default);
    flex-shrink: 0;
    border: 1px solid rgba(22, 22, 22, 0.06);
}

.diagonal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 48px;
    background: var(--racing-red);
}

.diagonal-card:hover {
    transform: translateY(-4px) scale(1.02);
    z-index: 96;
    box-shadow: var(--shadow-red-glow);
}

.diagonal-card .card-icon {
    font-size: 32px;
    margin-bottom: 16px;
}

.diagonal-card .card-title {
    font-weight: 700;
    font-size: 14px;
    color: var(--carbon-steel);
    margin-bottom: 8px;
}

.diagonal-card .card-desc {
    font-size: 12px;
    color: var(--protocol-line);
    line-height: 1.5;
}

.sticky-stacking-section {
    position: relative;
}

.sticky-card {
    padding: 80px 0;
    position: relative;
}

.sticky-card:nth-child(odd) {
    background: var(--pit-bay-white);
}

.sticky-card:nth-child(even) {
    background: var(--hydraulic-mist);
}

.sticky-card-content {
    position: relative;
    z-index: 1;
}

.timeline-section {
    padding: 100px 0;
}

.timeline-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    padding: 40px 0;
}

.timeline-line {
    position: absolute;
    top: 50%;
    left: 5%;
    right: 5%;
    height: 2px;
    background: linear-gradient(90deg, var(--racing-red), var(--heat-crimson));
    transform: translateY(-50%);
    z-index: 0;
}

.timeline-node {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: var(--transition-default);
    cursor: pointer;
    flex: 1;
}

.timeline-node:hover {
    z-index: 96;
}

.timeline-node:hover .node-circle {
    transform: scale(1.2);
    box-shadow: var(--shadow-red-glow);
}

.node-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--pit-bay-white);
    border: 3px solid var(--racing-red);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: var(--transition-default);
    font-size: 20px;
}

.node-title {
    font-weight: 700;
    font-size: 13px;
    color: var(--carbon-steel);
    margin-bottom: 6px;
}

.node-desc {
    font-size: 11px;
    color: var(--protocol-line);
    max-width: 120px;
    opacity: 0.9;
}

.achievements-marquee {
    padding: 60px 0;
    overflow: hidden;
    background: var(--carbon-steel);
}

.achievements-marquee .marquee-track {
    color: white;
}

.achievement-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0 56px;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.achievement-item .achievement-icon {
    font-size: 24px;
}

.achievement-item .achievement-text {
    font-weight: 700;
    font-size: 14px;
    white-space: nowrap;
}

.achievement-item .achievement-value {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--racing-red);
}

.flex-grow-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.flex-card {
    padding: 40px 24px;
    background: var(--pit-bay-white);
    border: 1px solid rgba(22, 22, 22, 0.06);
    transition: var(--transition-default);
    clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
    position: relative;
}

.flex-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 40px;
    background: var(--racing-red);
}

.flex-card:hover {
    z-index: 96;
    box-shadow: var(--shadow-red-glow);
}

.flex-card:hover .card-icon {
    transform: scale(1.2);
}

.flex-card .card-icon {
    font-size: 28px;
    margin-bottom: 20px;
    transition: var(--transition-default);
}

.flex-card .card-headline {
    font-weight: 700;
    font-size: 13px;
    color: var(--carbon-steel);
    margin-bottom: 12px;
}

.flex-card .card-detail {
    font-size: 12px;
    color: var(--protocol-line);
    line-height: 1.6;
}

.team-list {
    max-width: 900px;
    margin: 0 auto;
}

.team-item {
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 32px;
    border-bottom: 1px solid rgba(22, 22, 22, 0.06);
    transition: var(--transition-default);
    cursor: pointer;
}

.team-item:hover {
    background: var(--hydraulic-mist);
}

.team-item:last-child {
    border-bottom: none;
}

.team-item .team-number {
    font-weight: 700;
    font-size: 24px;
    color: var(--racing-red);
    width: 40px;
}

.team-item .team-info {
    flex: 1;
}

.team-item .team-name {
    font-weight: 700;
    font-size: 14px;
    color: var(--carbon-steel);
    margin-bottom: 4px;
}

.team-item .team-role {
    font-size: 12px;
    color: var(--protocol-line);
}

.team-item .team-photo-preview {
    width: 80px;
    height: 80px;
    border-radius: 0;
    clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
    background: var(--coolant-grey);
    overflow: hidden;
    transition: var(--transition-default);
}

.team-item .team-photo-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.faq-accordion {
    max-width: 980px;
    margin: 0 auto;
}

.faq-panel {
    border-bottom: 1px solid rgba(22, 22, 22, 0.1);
    transition: var(--transition-default);
}

.faq-panel:hover {
    z-index: 96;
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 24px 0;
    font-weight: 700;
    font-size: 15px;
    color: var(--carbon-steel);
    text-align: left;
    cursor: pointer;
    background: transparent;
    border: none;
    font-family: inherit;
}

.faq-question:hover {
    color: var(--racing-red);
}

.faq-icon {
    font-size: 18px;
    transition: var(--transition-default);
}

.faq-panel.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.24s ease-out;
}

.faq-panel.active .faq-answer {
    max-height: 300px;
}

.faq-answer-content {
    padding: 0 0 24px 0;
    font-size: 14px;
    color: var(--protocol-line);
    line-height: 1.D8;
    border-left: 3px solid var(--racing-red);
    padding-left: 20px;
}

.carousel-3d {
    position: relative;
    height: 320px;
    perspective: 1000px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.carousel-card {
    position: absolute;
    width: 280px;
    padding: 32px;
    background: var(--pit-bay-white);
    border: 1px solid rgba(22, 22, 22, 0.06);
    transition: var(--transition-default);
    clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
    text-align: center;
}

.carousel-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 60px;
    background: var(--racing-red);
}

.carousel-card:nth-child(1) {
    transform: translateX(-180px) rotateY(22deg) scale(0.82);
    z-index: 82;
}

.carousel-card:nth-child(2) {
    transform: translateX(-90px) rotateY(11deg) scale(0.91);
    z-index: 88;
}

.carousel-card:nth-child(3) {
    transform: translateX(0) rotateY(0) scale(1.15);
    z-index: 100;
}

.carousel-card:nth-child(4) {
    transform: translateX(90px) rotateY(-11deg) scale(0.91);
    z-index: 88;
}

.carousel-card:nth-child(5) {
    transform: translateX(180px) rotateY(-22deg) scale(0.82);
    z-index: 82;
}

.carousel-card:hover {
    z-index: 96;
}

.carousel-card.active {
    z-index: 100;
}

.carousel-card .card-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    margin: 0 auto 20px;
    overflow: hidden;
    clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
}

.carousel-card .card-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-card .card-review-text {
    font-size: 13px;
    color: var(--protocol-line);
    line-height: 1.6;
    margin-bottom: 16px;
    font-style: italic;
}

.carousel-card .card-reviewer {
    font-weight: 700;
    font-size: 12px;
    color: var(--carbon-steel);
}

.carousel-controls {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 40px;
    width: 360px;
}

.carousel-btn {
    width: 48px;
    height: 48px;
    border: 2px solid var(--racing-red);
    background: transparent;
    color: var(--racing-red);
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition-default);
    z-index: 200;
}

.carousel-btn:hover {
    background: var(--racing-red);
    color: white;
}

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

.contact-info-block {
    padding: 40px;
    background: var(--coolant-grey);
    clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
    position: relative;
}

.contact-info-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--racing-red);
}

.contact-info-block h3 {
    font-weight: 700;
    font-size: 15px;
    color: var(--carbon-steel);
    margin-bottom: 24px;
}

.contact-info-block p {
    font-size: 14px;
    color: var(--protocol-line);
    margin-bottom: 16px;
    line-height: 1.6;
}

.contact-info-block .info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
}

.contact-info-block .info-item svg {
    width: 20px;
    height: 20px;
    color: var(--racing-red);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-form {
    padding: 40px;
    background: var(--pit-bay-white);
    border: 1px solid rgba(22, 22, 22, 0.08);
    clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-weight: 500;
    font-size: 12px;
    color: var(--carbon-steel);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid rgba(216, 48, 48, 0.14);
    background: white;
    font-size: 14px;
    color: var(--protocol-line);
    transition: var(--transition-default);
    border-radius: 0;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--racing-red);
    box-shadow: var(--shadow-red-glow);
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
}

.submit-btn {
    width: 100%;
    padding: 18px 32px;
    background: linear-gradient(135deg, var(--racing-red), var(--heat-crimson));
    color: white;
    font-weight: 600;
    font-size: 14px;
    border-radius: 0;
    box-shadow: var(--shadow-red-small);
    transition: var(--transition-default);
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-red);
}

.gmap-container {
    width: 100%;
    height: 280px;
    border: 2px solid rgba(216, 48, 48, 0.14);
    margin-top: 32px;
}

.gmap-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.site-footer {
    background: var(--coolant-grey);
    border-top: 2px solid var(--racing-red);
    padding: 80px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    font-weight: 700;
    font-size: 12px;
    color: var(--carbon-steel);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.footer-col p {
    font-size: 13px;
    color: var(--protocol-line);
    line-height: 1.6;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    font-size: 13px;
    color: var(--protocol-line);
    transition: var(--transition-fast);
}

.footer-col ul li a:hover {
    color: var(--racing-red);
}

.footer-copyright {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid rgba(22, 22, 22, 0.08);
}

.footer-copyright p {
    font-weight: 700;
    font-size: 12px;
    color: var(--protocol-line);
}

.footer-copyright .special-mark {
    font-size: 11px;
    color: var(--racing-red);
    margin-top: 8px;
}

.cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 24px;
    max-width: 400px;
    background: var(--carbon-steel);
    color: white;
    padding: 24px;
    z-index: 10000;
    clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.24);
    display: none;
}

.cookie-banner.visible {
    display: block;
}

.cookie-banner h4 {
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 12px;
    color: white;
}

.cookie-banner p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 20px;
    line-height: 1.6;
}

.cookie-banner .cookie-categories {
    margin-bottom: 20px;
}

.cookie-banner .cookie-cat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
}

.cookie-banner .cookie-cat-item span {
    color: rgba(255, 255, 255, 0.7);
}

.cookie-banner .cookie-actions {
    display: flex;
    gap: 12px;
}

.cookie-banner .cookie-btn {
    flex: 1;
    padding: 10px 16px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-family: inherit;
    transition: var(--transition-fast);
}

.cookie-banner .cookie-btn.accept {
    background: var(--racing-red);
    color: white;
}

.cookie-banner .cookie-btn.decline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
}

.cookie-banner .cookie-btn:hover {
    opacity: 0.85;
}

.hero-internal {
    min-height: 52vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-internal .mesh-gradient-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-internal .hero-content-center {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 32px;
}

.hero-internal .hero-content-center h1 {
    font-size: clamp(2.8rem, 6vw, 4.8rem);
    font-weight: 700;
    color: var(--carbon-steel);
    line-height: 1.1;
    margin-bottom: 16px;
}

.hero-internal .hero-content-center p {
    font-size: 16px;
    color: var(--protocol-line);
    max-width: 600px;
    margin: 0 auto;
}

.thank-you-section {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 32px;
}

.thank-you-icon {
    width: 80px;
    height: 80px;
    background: var(--racing-red);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin-bottom: 32px;
}

.thank-you-section h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--carbon-steel);
    margin-bottom: 16px;
}

.thank-you-section p {
    font-size: 16px;
    color: var(--protocol-line);
    margin-bottom: 32px;
    max-width: 500px;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 32px;
}

.legal-content h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--carbon-steel);
    margin: 40px 0 20px;
}

.legal-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--carbon-steel);
    margin: 32px 0 16px;
}

.legal-content p {
    font-size: 14px;
    color: var(--protocol-line);
    margin-bottom: 16px;
    line-height: 1.8;
}

.legal-content ul {
    list-style: disc;
    padding-left: 24px;
    margin-bottom: 16px;
}

.legal-content ul li {
    font-size: 14px;
    color: var(--protocol-line);
    margin-bottom: 8px;
    line-height: 1.6;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--coolant-grey);
    clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-default);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(216, 48, 48, 0.3), transparent);
    opacity: 0;
    transition: var(--transition-default);
}

.gallery-item:hover::after {
    opacity: 1;
}

.service-detail-card {
    padding: 40px;
    background: var(--pit-bay-white);
    border: 1px solid rgba(22, 22, 22, 0.06);
    margin-bottom: 24px;
    clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
    position: relative;
}

.service-detail-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 56px;
    background: var(--racing-red);
}

.service-detail-card .service-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 16px;
}

.service-detail-card .service-title-wrap h3 {
    font-weight: 700;
    font-size: 18px;
    color: var(--carbon-steel);
    margin-bottom: 4px;
}

.service-detail-card .service-price {
    font-weight: 700;
    font-size: 20px;
    color: var(--racing-red);
}

.service-detail-card .service-desc {
    font-size: 14px;
    color: var(--protocol-line);
    line-height: 1.7;
}

@media (max-width: 1024px) {
    .flex-grow-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-top-micro {
        padding: 0 16px;
    }
    
    .header-main-level {
        display: none;
    }
    
    .hamburger-btn {
        display: flex;
    }
    
    .hero-section {
        grid-template-columns: 1fr;
        min-height: auto;
        padding-top: 96px;
        padding-bottom: 72px;
    }
    
    .hero-visual-left {
        height: 300px;
    }
    
    .hero-content-right {
        padding: 40px 16px;
    }
    
    .hero-content-right .hero-title {
        font-size: clamp(2.4rem, 12vw, 4.8rem);
    }
    
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .flex-grow-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline-container {
        flex-direction: column;
        gap: 40px;
    }
    
    .timeline-line {
        display: none;
    }
    
    .carousel-3d {
        height: auto;
        flex-direction: column;
        gap: 16px;
    }
    
    .carousel-card {
        position: static;
        width: 100%;
        max-width: 320px;
        transform: none !important;
    }
    
    .carousel-card:nth-child(1),
    .carousel-card:nth-child(2),
    .carousel-card:nth-child(3),
    .carousel-card:nth-child(4),
    .carousel-card:nth-child(5) {
        transform: none;
        z-index: 1;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .cookie-banner {
        left: 16px;
        right: 16px;
        max-width: none;
    }
    
    .section-pad {
        padding: 80px 0;
    }
}