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

:root {
    --color-white: #FFFFFF;
    --color-off-white: #F9F9F9;
    --color-milk: #F5F3EF;
    --color-warm-charcoal: #3D3D3D;
    --color-stone-gray: #8A8A8A;
    --color-accent-orange: #E07B4C;
    --color-accent-blue: #4A6B8A;
    --color-border: #E8E8E8;
    
    --font-sans: 'Noto Sans JP', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    --shadow-soft: 0 8px 24px rgba(0,0,0,0.06);
    --shadow-card: 0 8px 32px rgba(0,0,0,0.08);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 24px;
    
    --transition-base: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-warm-charcoal);
    background-color: var(--color-white);
    overflow-x: hidden;
}

strong, p {
    color: inherit;
}

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

ul {
    list-style: none;
}

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

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

@media (max-width: 768px) {
    .container {
        padding: 0 24px;
    }
}

.section {
    padding: 120px 0;
}

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

.section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: var(--color-warm-charcoal);
}

@media (max-width: 768px) {
    .section-title {
        font-size: 28px;
        margin-bottom: 40px;
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-base);
    white-space: nowrap;
    border: none;
    min-height: 44px;
}

.btn-primary {
    background-color: var(--color-accent-orange);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: #C96A3E;
    transform: scale(1.02);
    box-shadow: 0 4px 16px rgba(224, 123, 76, 0.3);
}

.btn-primary:active {
    transform: scale(0.98);
    box-shadow: none;
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-accent-blue);
    border: 1px solid var(--color-accent-blue);
}

.btn-secondary:hover {
    background-color: rgba(74, 107, 138, 0.1);
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.stagger-1 { transition-delay: 0ms; }
.stagger-2 { transition-delay: 100ms; }
.stagger-3 { transition-delay: 200ms; }
.stagger-4 { transition-delay: 300ms; }
.stagger-5 { transition-delay: 400ms; }
.stagger-6 { transition-delay: 500ms; }

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
        filter: blur(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

@keyframes drawLine {
    from {
        stroke-dashoffset: 1000;
    }
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes countUp {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.scrollbar-custom::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.scrollbar-custom::-webkit-scrollbar-track {
    background: var(--color-off-white);
}

.scrollbar-custom::-webkit-scrollbar-thumb {
    background: var(--color-accent-blue);
    border-radius: 4px;
}

.gradient-bg {
    background: linear-gradient(135deg, var(--color-white) 0%, var(--color-milk) 100%);
}

.pattern-overlay {
    position: relative;
}

.pattern-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(0,0,0,0.02) 10px,
        rgba(0,0,0,0.02) 20px
    );
    pointer-events: none;
}

.glass-effect {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 72px;
    z-index: 1000;
    transition: var(--transition-base);
}

header.scrolled {
    background-color: var(--color-white);
    box-shadow: 0 1px 0 var(--color-border);
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-warm-charcoal);
}

.logo-accent {
    color: var(--color-accent-orange);
}

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

.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--color-warm-charcoal);
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent-orange);
    transition: var(--transition-base);
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-warm-charcoal);
    transition: var(--transition-base);
    transform-origin: center;
}

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

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

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

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: var(--color-white);
    padding: 100px 32px 32px;
    transition: var(--transition-base);
    box-shadow: var(--shadow-card);
    z-index: 999;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
    z-index: 998;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-link {
    display: block;
    font-size: 18px;
    font-weight: 500;
    padding: 16px 0;
    border-bottom: 1px solid var(--color-border);
    color: var(--color-warm-charcoal);
}

@media (max-width: 1024px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    header .btn {
        display: none;
    }
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 72px;
}

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

.hero-text h1 {
    font-size: 64px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--color-warm-charcoal);
    animation: slideInLeft 0.6s ease-out 0.2s both;
}

.hero-text p {
    font-size: 18px;
    color: var(--color-stone-gray);
    margin-bottom: 40px;
    max-width: 480px;
    animation: slideInLeft 0.6s ease-out 0.4s both;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    animation: slideInUp 0.6s ease-out 0.6s both;
}

.hero-visual {
    position: relative;
    animation: drawLine 1.5s ease-out 0.8s both;
}

.hero-visual svg {
    width: 100%;
    height: auto;
}

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 48px;
    }
    
    .hero-text p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        align-items: center;
    }
    
    .hero-visual {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 36px;
    }
    
    .hero {
        min-height: auto;
        padding: 120px 0 80px;
    }
}

.page-hero {
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-white);
    padding-top: 72px;
    position: relative;
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 8%;
    right: 8%;
    height: 1px;
    background-color: var(--color-border);
}

.page-hero-content {
    text-align: center;
}

.page-hero h1 {
    font-size: 48px;
    font-weight: 700;
    color: var(--color-warm-charcoal);
    margin-bottom: 16px;
    animation: slideInUp 0.5s ease-out both;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    color: var(--color-stone-gray);
    animation: slideInUp 0.5s ease-out 0.2s both;
}

.breadcrumb a {
    color: var(--color-stone-gray);
}

.breadcrumb a:hover {
    color: var(--color-accent-orange);
}

@media (max-width: 768px) {
    .page-hero h1 {
        font-size: 32px;
    }
    
    .page-hero {
        min-height: 30vh;
    }
}

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

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

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.service-card {
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 32px;
    transition: var(--transition-base);
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-accent-orange);
    box-shadow: var(--shadow-soft);
}

.service-card:hover .service-icon {
    color: var(--color-accent-orange);
}

.service-icon {
    width: 48px;
    height: 48px;
    color: var(--color-stone-gray);
    margin-bottom: 20px;
    transition: var(--transition-base);
}

.service-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--color-warm-charcoal);
}

.service-card p {
    font-size: 15px;
    color: var(--color-stone-gray);
    margin-bottom: 16px;
    line-height: 1.6;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-accent-orange);
    transition: var(--transition-base);
}

.service-link:hover {
    gap: 12px;
}

.service-link svg {
    width: 16px;
    height: 16px;
}

.about-section {
    background-color: var(--color-milk);
}

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

.about-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.about-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.3) 100%);
    backdrop-filter: blur(2px);
    pointer-events: none;
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.about-text h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--color-warm-charcoal);
}

.about-text p {
    font-size: 16px;
    color: var(--color-stone-gray);
    margin-bottom: 24px;
    line-height: 1.8;
}

.about-year {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 32px;
    padding-left: 20px;
    border-left: 3px solid var(--color-accent-blue);
}

.about-year .year {
    font-family: var(--font-mono);
    font-size: 48px;
    font-weight: 500;
    color: var(--color-accent-blue);
    line-height: 1;
}

.about-year .label {
    font-size: 16px;
    color: var(--color-stone-gray);
    padding-top: 12px;
}

@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-image {
        order: -1;
    }
}

.process-timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding: 40px 0;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 76px;
    left: 48px;
    right: 48px;
    height: 2px;
    border-top: 2px dashed var(--color-stone-gray);
}

.process-step {
    flex: 1;
    text-align: center;
    position: relative;
    padding: 0 16px;
    opacity: 0.4;
    transition: var(--transition-base);
}

.process-step.active,
.process-step:hover {
    opacity: 1;
}

.step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--color-accent-orange);
    color: var(--color-white);
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    position: relative;
    z-index: 1;
    transition: var(--transition-base);
}

.process-step.active .step-number,
.process-step:hover .step-number {
    transform: scale(1.05);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.step-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-warm-charcoal);
    margin-bottom: 8px;
}

.step-desc {
    font-size: 14px;
    color: var(--color-stone-gray);
    line-height: 1.5;
}

@media (max-width: 768px) {
    .process-timeline {
        flex-direction: column;
        gap: 40px;
    }
    
    .process-timeline::before {
        top: 0;
        bottom: 0;
        left: 23px;
        right: auto;
        width: 2px;
        height: auto;
    }
    
    .process-step {
        display: flex;
        text-align: left;
        padding: 0;
    }
    
    .step-number {
        flex-shrink: 0;
        margin: 0 20px 0 0;
    }
}

.why-section {
    background-color: var(--color-milk);
}

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

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

@media (max-width: 768px) {
    .why-grid {
        grid-template-columns: 1fr;
    }
}

.why-card {
    background-color: var(--color-white);
    border-radius: var(--radius-md);
    padding: 32px;
    text-align: center;
    transition: var(--transition-base);
}

.why-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-soft);
}

.why-card:hover .why-icon {
    color: var(--color-accent-orange);
}

.why-card:hover .why-card h3 {
    color: var(--color-accent-blue);
}

.why-icon {
    width: 64px;
    height: 64px;
    color: var(--color-accent-blue);
    margin: 0 auto 20px;
    transition: var(--transition-base);
}

.why-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-warm-charcoal);
    margin-bottom: 12px;
    transition: var(--transition-base);
}

.why-card p {
    font-size: 14px;
    color: var(--color-stone-gray);
}

.stats-section {
    background-color: var(--color-accent-blue);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.stat-item .number {
    font-family: var(--font-mono);
    font-size: 56px;
    font-weight: 500;
    color: var(--color-white);
    margin-bottom: 8px;
    opacity: 0;
    animation: countUp 0.5s ease-out forwards;
}

.stat-item .label {
    font-size: 16px;
    color: var(--color-white);
    opacity: 0.9;
}

@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 20px;
    }
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-item .number {
        font-size: 40px;
    }
}

.team-scroll {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding: 20px 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
}

.team-scroll::-webkit-scrollbar {
    height: 8px;
}

.team-scroll::-webkit-scrollbar-track {
    background: var(--color-off-white);
    border-radius: 4px;
}

.team-scroll::-webkit-scrollbar-thumb {
    background: var(--color-accent-blue);
    border-radius: 4px;
}

.team-card {
    flex: 0 0 280px;
    scroll-snap-align: start;
    background-color: var(--color-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition-base);
    position: relative;
}

.team-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-soft);
}

.team-card:hover .team-photo img {
    transform: scale(1.05);
}

.team-card:hover .team-overlay {
    opacity: 1;
}

.team-photo {
    width: 100%;
    height: 280px;
    overflow: hidden;
    position: relative;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-base);
}

.team-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(61,61,61,0.7) 0%, rgba(61,61,61,0.9) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    transition: var(--transition-base);
}

.team-overlay p {
    color: var(--color-white);
    font-size: 14px;
    text-align: center;
    line-height: 1.6;
}

.team-info {
    padding: 20px;
}

.team-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-warm-charcoal);
    margin-bottom: 4px;
}

.team-position {
    font-size: 14px;
    color: var(--color-stone-gray);
}

.team-exp {
    font-size: 13px;
    color: var(--color-accent-orange);
    margin-top: 8px;
    font-weight: 500;
}

.faq-section {
    background-color: var(--color-milk);
}

.faq-item {
    border-bottom: 1px solid var(--color-border);
    background-color: var(--color-white);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    color: var(--color-warm-charcoal);
    transition: var(--transition-base);
}

.faq-question:hover {
    color: var(--color-accent-orange);
}

.faq-icon {
    width: 24px;
    height: 24px;
    position: relative;
    flex-shrink: 0;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background-color: var(--color-accent-orange);
    transition: var(--transition-base);
}

.faq-icon::before {
    width: 16px;
    height: 2px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.faq-icon::after {
    width: 2px;
    height: 16px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.faq-item.active .faq-icon::after {
    transform: translate(-50%, -50%) rotate(45deg);
    opacity: 0;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    padding: 0 24px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 24px 24px;
}

.faq-answer p {
    font-size: 15px;
    color: var(--color-stone-gray);
    line-height: 1.7;
}

.reviews-carousel {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 20px 0;
    scrollbar-width: thin;
}

.reviews-carousel::-webkit-scrollbar {
    height: 8px;
}

.reviews-carousel::-webkit-scrollbar-track {
    background: var(--color-off-white);
    border-radius: 4px;
}

.reviews-carousel::-webkit-scrollbar-thumb {
    background: var(--color-accent-orange);
    border-radius: 4px;
}

.review-card {
    flex: 0 0 400px;
    scroll-snap-align: center;
    background-color: var(--color-white);
    border-radius: var(--radius-md);
    padding: 40px;
    box-shadow: var(--shadow-card);
    position: relative;
}

@media (max-width: 768px) {
    .review-card {
        flex: 0 0 300px;
        padding: 24px;
    }
}

.review-card::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 40px;
    width: 40px;
    height: 4px;
    background-color: var(--color-accent-orange);
    transition: var(--transition-base);
}

.review-card:hover::before {
    width: 60px;
}

.review-icon {
    width: 32px;
    height: 32px;
    color: var(--color-accent-orange);
    margin-bottom: 20px;
}

.review-text {
    font-size: 18px;
    color: var(--color-warm-charcoal);
    line-height: 1.8;
    margin-bottom: 24px;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.review-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.review-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--color-warm-charcoal);
}

.review-company {
    font-size: 13px;
    color: var(--color-stone-gray);
}

.contact-section {
    background-color: var(--color-milk);
}

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

.contact-info h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--color-warm-charcoal);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-icon {
    width: 24px;
    height: 24px;
    color: var(--color-accent-orange);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-item p {
    font-size: 15px;
    color: var(--color-warm-charcoal);
}

.contact-item a {
    color: var(--color-accent-blue);
    transition: var(--transition-base);
}

.contact-item a:hover {
    color: var(--color-accent-orange);
}

.contact-map {
    margin-top: 32px;
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 250px;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.contact-form-wrapper {
    background-color: var(--color-white);
    border-radius: var(--radius-md);
    padding: 40px;
    box-shadow: var(--shadow-card);
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-warm-charcoal);
    margin-bottom: 8px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    height: 56px;
    padding: 0 16px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-family: var(--font-sans);
    font-size: 15px;
    color: var(--color-warm-charcoal);
    background-color: var(--color-white);
    transition: var(--transition-base);
}

.contact-form textarea {
    height: 150px;
    padding: 16px;
    resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-accent-blue);
    box-shadow: 0 0 0 3px rgba(74, 107, 138, 0.1);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--color-stone-gray);
}

.contact-form .btn {
    width: 100%;
    margin-top: 8px;
}

.form-success {
    display: none;
    text-align: center;
    padding: 40px;
}

.form-success.active {
    display: block;
}

.form-success svg {
    width: 64px;
    height: 64px;
    color: var(--color-accent-orange);
    margin: 0 auto 20px;
}

.form-success h3 {
    font-size: 24px;
    color: var(--color-warm-charcoal);
    margin-bottom: 12px;
}

.form-success p {
    color: var(--color-stone-gray);
}

@media (max-width: 1024px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

footer {
    background-color: var(--color-warm-charcoal);
    padding: 80px 0 32px;
    color: var(--color-white);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

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

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.footer-brand .logo {
    color: var(--color-white);
    margin-bottom: 16px;
    display: inline-block;
}

.footer-brand p {
    font-size: 14px;
    color: var(--color-stone-gray);
    line-height: 1.7;
}

.footer-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--color-white);
}

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

.footer-links a {
    font-size: 14px;
    color: var(--color-stone-gray);
    transition: var(--transition-base);
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-accent-orange);
    transition: var(--transition-base);
}

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

.footer-links a:hover::after {
    width: 100%;
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--color-stone-gray);
}

.cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 24px;
    background-color: var(--color-white);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-card);
    max-width: 400px;
    z-index: 2000;
    display: block;
}

@media (max-width: 768px) {
    .cookie-banner {
        left: 16px;
        right: 16px;
        max-width: none;
        bottom: 16px;
    }
}

.cookie-banner h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-warm-charcoal);
    margin-bottom: 12px;
}

.cookie-banner p {
    font-size: 14px;
    color: var(--color-stone-gray);
    margin-bottom: 16px;
    line-height: 1.5;
}

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

.cookie-buttons .btn {
    flex: 1;
    padding: 12px 16px;
    font-size: 14px;
}

.cookie-banner.hidden {
    display: none;
}

.thank-you-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 80px;
}

.thank-you-content {
    max-width: 600px;
}

.thank-you-icon {
    width: 80px;
    height: 80px;
    color: var(--color-accent-orange);
    margin: 0 auto 32px;
}

.thank-you-content h1 {
    font-size: 48px;
    font-weight: 700;
    color: var(--color-warm-charcoal);
    margin-bottom: 16px;
}

.thank-you-content p {
    font-size: 18px;
    color: var(--color-stone-gray);
    margin-bottom: 40px;
}

.thank-you-content .btn {
    margin: 0 auto;
}

.price-tag {
    font-family: var(--font-mono);
    font-size: 20px;
    font-weight: 500;
    color: var(--color-accent-blue);
    margin-top: 16px;
}

.price-note {
    font-size: 13px;
    color: var(--color-stone-gray);
    margin-top: 4px;
}

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

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

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 4/3;
}

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

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    opacity: 0;
    transition: var(--transition-base);
}

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

.gallery-overlay h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 4px;
}

.gallery-overlay p {
    font-size: 13px;
    color: rgba(255,255,255,0.8);
}

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

@media (max-width: 768px) {
    .career-list {
        grid-template-columns: 1fr;
    }
}

.career-item {
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 32px;
    transition: var(--transition-base);
}

.career-item:hover {
    border-color: var(--color-accent-orange);
    box-shadow: var(--shadow-soft);
}

.career-item h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--color-warm-charcoal);
    margin-bottom: 12px;
}

.career-item .salary {
    font-family: var(--font-mono);
    font-size: 18px;
    color: var(--color-accent-blue);
    margin-bottom: 16px;
}

.career-item ul {
    margin-bottom: 20px;
}

.career-item li {
    font-size: 14px;
    color: var(--color-stone-gray);
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
}

.career-item li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--color-accent-orange);
}

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

.legal-content h2 {
    font-size: 28px;
    font-weight: 600;
    color: var(--color-warm-charcoal);
    margin: 40px 0 20px;
}

.legal-content h2:first-child {
    margin-top: 0;
}

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

.legal-content ul {
    margin-bottom: 20px;
}

.legal-content li {
    font-size: 15px;
    color: var(--color-stone-gray);
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
}

.legal-content li::before {
    content: '•';
    position: absolute;
    left: 8px;
    color: var(--color-accent-orange);
}
