:root {
    --linen-white: #FAF9F6;
    --cotton-mist: #F4F2EE;
    --silk-light: #EDE9E4;
    --deep-mahogany: #262422;
    --furniture-brown: #564843;
    --terra-cotta: #C07050;
    --deep-walnut: #905030;
    --font-heading: 'Roboto Mono', monospace;
    --font-body: 'Noto Sans JP', sans-serif;
}

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

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 14px;
    line-height: 1.92;
    color: var(--furniture-brown);
    background: var(--linen-white);
    overflow-x: hidden;
}

strong, p {
    color: inherit;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--deep-mahogany);
    letter-spacing: -0.004em;
}

h1 {
    font-size: clamp(2.5rem, 8vw, 5rem);
    line-height: 0.80;
}

h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    line-height: 1.1;
}

h3 {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
}

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

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

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

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--terra-cotta), var(--deep-walnut));
    color: #FFFFFF;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 14px;
    border: none;
    border-radius: 24px;
    cursor: pointer;
    box-shadow: 0 12px 36px rgba(192, 112, 80, 0.24);
    transition: all 0.30s ease;
    white-space: nowrap;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 48px rgba(192, 112, 80, 0.32);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    background: transparent;
    color: var(--furniture-brown);
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 14px;
    border: 1px solid var(--terra-cotta);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.30s ease;
    white-space: nowrap;
}

.btn-secondary:hover {
    background: rgba(192, 112, 80, 0.08);
    transform: scale(1.02);
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: rgba(249, 248, 246, 0.96);
    transition: all 0.38s ease-out;
    padding: 12px 24px 0;
    height: 60px;
}

.site-header.scrolled {
    height: 52px;
    padding: 8px 24px 0;
}

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

.logo-zone {
    display: flex;
    align-items: center;
    gap: 8px;
    position: absolute;
    left: 24px;
}

.logo-icon {
    width: 28px;
    height: 28px;
    color: var(--terra-cotta);
}

.logo-domain {
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 500;
    color: var(--deep-mahogany);
    letter-spacing: 0.10em;
}

.logo-company {
    font-family: var(--font-heading);
    font-size: 9px;
    color: var(--furniture-brown);
    margin-left: 16px;
}

.nav-main {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: center;
    flex-grow: 1;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 10px;
    color: var(--furniture-brown);
    cursor: pointer;
    transition: all 0.26s ease;
    padding: 8px 12px;
    border-radius: 8px;
}

.nav-link:hover {
    color: var(--terra-cotta);
    background: rgba(192, 112, 80, 0.06);
    transform: scale(1.04);
}

.nav-cta {
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--terra-cotta), var(--deep-walnut));
    color: #FFFFFF;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 10px;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(192, 112, 80, 0.20);
    transition: all 0.30s ease;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 36px rgba(192, 112, 80, 0.28);
}

.hamburger {
    display: none;
    width: 40px;
    height: 40px;
    background: rgba(249, 248, 246, 0.99);
    border: 1px solid rgba(192, 112, 80, 0.12);
    border-radius: 10px;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    position: absolute;
    right: 16px;
    top: 8px;
    z-index: 10001;
}

.hamburger span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--furniture-brown);
    transition: all 0.30s ease;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(249, 248, 246, 0.98);
    z-index: 10000;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

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

.mobile-menu .nav-link {
    font-size: 18px;
    padding: 12px 24px;
}

.mobile-menu-close {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 28px;
    color: var(--furniture-brown);
    cursor: pointer;
}

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 80px 0;
    background: var(--linen-white);
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(225deg, rgba(249, 248, 246, 0.98) 0%, rgba(246, 244, 240, 0.95) 50%, rgba(242, 238, 232, 0.92) 100%);
    animation: fluidFlow 28s ease-in-out infinite;
    z-index: 1;
}

@keyframes fluidFlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 0;
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 2;
}

.hero-content {
    padding-left: 96px;
}

.hero-title {
    font-size: clamp(3rem, 10vw, 5rem);
    line-height: 0.80;
    margin-bottom: 24px;
}

.hero-title span {
    display: inline-block;
    animation: slideUp 0.6s ease-out forwards;
    opacity: 0;
}

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

.hero-subtitle {
    font-family: var(--font-heading);
    font-size: 14px;
    color: var(--furniture-brown);
    line-height: 1.6;
    max-width: 480px;
    margin-bottom: 32px;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 24px 52px;
    background: linear-gradient(135deg, var(--terra-cotta), var(--deep-walnut));
    color: #FFFFFF;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 14px;
    border-radius: 24px;
    box-shadow: 0 20px 68px rgba(192, 112, 80, 0.30);
    transition: all 0.30s ease;
}

.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 28px 80px rgba(192, 112, 80, 0.38);
}

.hero-note {
    font-family: var(--font-heading);
    font-size: 12px;
    color: var(--deep-mahogany);
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-visual {
    position: relative;
    padding: 40px;
}

.hero-image-frame {
    border-radius: 16px 32px;
    box-shadow: 0 24px 72px rgba(192, 112, 80, 0.10);
    border: 1px solid rgba(192, 112, 80, 0.08);
    overflow: hidden;
    aspect-ratio: 4/3;
}

.hero-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 24px;
    color: var(--terra-cotta);
    animation: bounce 2s infinite;
    z-index: 3;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

.marquee-section {
    padding: 60px 0;
    background: var(--cotton-mist);
    overflow: hidden;
    width: 100%;
    max-width: 100vw;
}

.marquee-wrapper {
    display: flex;
    animation: marquee 30s linear infinite;
}

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

.marquee-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 28px;
    background: var(--linen-white);
    border-radius: 24px;
    margin: 0 26px;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--furniture-brown);
    border: 1px solid rgba(192, 112, 80, 0.08);
    transition: all 0.30s ease;
    white-space: nowrap;
}

.marquee-item:hover {
    transform: scale(1.05);
    border-color: var(--terra-cotta);
    box-shadow: 0 8px 32px rgba(192, 112, 80, 0.12);
}

.about-section {
    padding: 120px 0;
    background: var(--linen-white);
}

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

.about-content h2 {
    margin-bottom: 24px;
}

.about-content p {
    margin-bottom: 20px;
}

.about-image {
    border-radius: 16px 32px;
    overflow: hidden;
    box-shadow: 0 24px 72px rgba(192, 112, 80, 0.10);
}

.about-image img {
    width: 100%;
    height: auto;
}

.process-section {
    padding: 120px 0;
    background: var(--cotton-mist);
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    margin-bottom: 16px;
}

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

.process-card {
    background: var(--linen-white);
    border-radius: 16px 32px;
    padding: 40px 32px;
    text-align: center;
    transition: all 0.46s cubic-bezier(0.28, 1.64, 0.68, 1);
    border: 1px solid rgba(192, 112, 80, 0.06);
    position: relative;
    z-index: 84;
}

.process-card:hover {
    transform: scale(1.05);
    box-shadow: 0 24px 72px rgba(192, 112, 80, 0.18);
    z-index: 96;
}

.process-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.process-card h3 {
    margin-bottom: 12px;
}

.achievements-section {
    padding: 120px 0;
    background: var(--linen-white);
}

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

.achievement-card {
    background: var(--cotton-mist);
    border-radius: 16px 32px;
    padding: 48px 32px;
    text-align: center;
    transition: all 0.46s cubic-bezier(0.28, 1.64, 0.68, 1);
    position: relative;
    z-index: 84;
}

.achievement-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 72px rgba(192, 112, 80, 0.15);
    z-index: 96;
}

.achievement-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.achievement-number {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 500;
    color: var(--terra-cotta);
    margin-bottom: 8px;
}

.advantages-section {
    padding: 120px 0;
    background: var(--cotton-mist);
}

.advantages-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
}

.advantages-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.advantage-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background: var(--linen-white);
    border-radius: 12px 24px;
    cursor: pointer;
    transition: all 0.30s ease;
    border: 1px solid transparent;
}

.advantage-item:hover {
    border-color: var(--terra-cotta);
    transform: translateX(8px);
}

.advantage-item.active {
    border-color: var(--terra-cotta);
    background: var(--linen-white);
    transform: translateX(8px);
}

.advantage-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.advantage-content h3 {
    font-size: 16px;
    margin-bottom: 8px;
}

.advantages-visual {
    border-radius: 16px 32px;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--silk-light);
}

.advantages-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.team-section {
    padding: 120px 0;
    background: var(--linen-white);
}

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

.team-card {
    background: var(--cotton-mist);
    border-radius: 16px 32px;
    padding: 40px 24px;
    text-align: center;
    transition: all 0.46s cubic-bezier(0.28, 1.64, 0.68, 1);
    position: relative;
    z-index: 84;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 72px rgba(192, 112, 80, 0.15);
    z-index: 96;
}

.team-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 20px;
    overflow: hidden;
    border: 3px solid var(--terra-cotta);
}

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

.team-name {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 500;
    color: var(--deep-mahogany);
    margin-bottom: 8px;
}

.team-role {
    font-size: 13px;
    color: var(--furniture-brown);
}

.faq-section {
    padding: 120px 0;
    background: var(--cotton-mist);
}

.faq-container {
    max-width: 960px;
    margin: 0 auto;
}

.faq-item {
    background: var(--linen-white);
    border-radius: 12px;
    margin-bottom: 16px;
    border-left: 3px solid transparent;
    transition: all 0.30s ease;
    overflow: hidden;
}

.faq-item.active {
    border-left-color: var(--terra-cotta);
    box-shadow: 0 8px 32px rgba(192, 112, 80, 0.10);
    z-index: 96;
    position: relative;
}

.faq-question {
    padding: 24px 32px;
    font-family: var(--font-heading);
    font-size: 14px;
    color: var(--deep-mahogany);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.faq-icon {
    font-size: 20px;
    transition: transform 0.30s ease;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.40s ease-out;
    padding: 0 32px;
}

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

.faq-answer p {
    color: var(--furniture-brown);
    line-height: 1.8;
}

.reviews-section {
    padding: 120px 0;
    background: var(--linen-white);
}

.reviews-carousel {
    display: flex;
    align-items: center;
    gap: 32px;
    position: relative;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 20px 0;
}

.reviews-carousel::-webkit-scrollbar {
    display: none;
}

.review-card {
    background: var(--cotton-mist);
    border-radius: 16px 32px;
    padding: 40px 32px;
    text-align: center;
    transition: all 0.46s cubic-bezier(0.28, 1.64, 0.68, 1);
    position: relative;
    z-index: 84;
    flex-shrink: 0;
    width: 280px;
    scroll-snap-align: center;
}

.review-card.active {
    transform: scale(1.15);
    z-index: 100;
}

.review-card:not(.active) {
    transform: scale(0.85);
    opacity: 0.6;
}

.review-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 20px;
    overflow: hidden;
    border: 2px solid var(--terra-cotta);
}

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

.review-text {
    font-size: 15px;
    color: var(--furniture-brown);
    line-height: 1.8;
    margin-bottom: 16px;
    font-style: italic;
}

.review-author {
    font-family: var(--font-heading);
    font-size: 14px;
    color: var(--deep-mahogany);
}

.carousel-nav {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 40px;
}

.carousel-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--linen-white);
    border: 1px solid var(--terra-cotta);
    color: var(--terra-cotta);
    font-size: 20px;
    cursor: pointer;
    transition: all 0.30s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: var(--terra-cotta);
    color: #FFFFFF;
}

.contact-section {
    padding: 120px 0;
    background: var(--cotton-mist);
}

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

.contact-info h2 {
    margin-bottom: 32px;
}

.contact-detail {
    margin-bottom: 24px;
}

.contact-label {
    font-family: var(--font-heading);
    font-size: 11px;
    color: var(--terra-cotta);
    text-transform: uppercase;
    letter-spacing: 0.10em;
    margin-bottom: 8px;
}

.contact-value {
    font-size: 15px;
    color: var(--furniture-brown);
    line-height: 1.6;
}

.contact-map {
    border-radius: 16px 32px;
    overflow: hidden;
    aspect-ratio: 4/3;
    margin-top: 32px;
}

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

.contact-form {
    background: var(--linen-white);
    border-radius: 16px 32px;
    padding: 48px;
}

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

.form-label {
    display: block;
    font-family: var(--font-heading);
    font-size: 12px;
    color: var(--furniture-brown);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid var(--terra-cotta);
    border-radius: 12px 24px;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--deep-mahogany);
    background: var(--linen-white);
    transition: all 0.30s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--deep-walnut);
    box-shadow: 0 0 0 3px rgba(192, 112, 80, 0.15);
}

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

.form-submit {
    width: 100%;
    padding: 18px 32px;
    background: linear-gradient(135deg, var(--terra-cotta), var(--deep-walnut));
    color: #FFFFFF;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 15px;
    border: none;
    border-radius: 24px;
    cursor: pointer;
    box-shadow: 0 12px 36px rgba(192, 112, 80, 0.24);
    transition: all 0.30s ease;
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 48px rgba(192, 112, 80, 0.32);
}

.site-footer {
    background: var(--silk-light);
    border-top: 2px solid var(--terra-cotta);
    padding: 80px 0 40px;
}

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

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 12px;
    color: var(--deep-mahogany);
    text-transform: uppercase;
    letter-spacing: 0.10em;
    margin-bottom: 20px;
}

.footer-col p {
    font-size: 13px;
    line-height: 1.7;
    color: var(--furniture-brown);
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    font-size: 13px;
    color: var(--furniture-brown);
    transition: color 0.26s ease;
}

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

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 13px;
    color: var(--furniture-brown);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(86, 72, 67, 0.15);
}

.footer-copyright {
    font-family: var(--font-heading);
    font-size: 11px;
    color: var(--furniture-brown);
    margin-bottom: 12px;
}

.footer-special {
    font-size: 11px;
    color: var(--furniture-brown);
    opacity: 0.7;
}

.cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 24px;
    max-width: 400px;
    background: var(--linen-white);
    border-radius: 16px 32px;
    padding: 24px;
    box-shadow: 0 16px 64px rgba(0, 0, 0, 0.12);
    z-index: 9998;
    border: 1px solid rgba(192, 112, 80, 0.15);
}

.cookie-banner h4 {
    font-family: var(--font-heading);
    font-size: 14px;
    color: var(--deep-mahogany);
    margin-bottom: 12px;
}

.cookie-banner p {
    font-size: 13px;
    color: var(--furniture-brown);
    margin-bottom: 20px;
    line-height: 1.6;
}

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

.cookie-btn {
    flex: 1;
    padding: 10px 16px;
    font-size: 12px;
    font-family: var(--font-body);
    font-weight: 500;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.26s ease;
    border: none;
}

.cookie-accept {
    background: linear-gradient(135deg, var(--terra-cotta), var(--deep-walnut));
    color: #FFFFFF;
}

.cookie-decline {
    background: transparent;
    color: var(--furniture-brown);
    border: 1px solid var(--terra-cotta);
}

.cookie-categories {
    margin: 16px 0;
}

.cookie-category {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--furniture-brown);
    margin-bottom: 8px;
}

.cookie-category span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.cookie-links {
    margin-top: 16px;
    font-size: 11px;
}

.cookie-links a {
    color: var(--terra-cotta);
    margin-right: 16px;
}

.cookie-links a:hover {
    text-decoration: underline;
}

.page-hero {
    min-height: 52vh;
    display: flex;
    align-items: center;
    padding: 80px 0;
    background: var(--cotton-mist);
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(225deg, rgba(249, 248, 246, 0.95) 0%, rgba(246, 244, 240, 0.92) 100%);
    z-index: 1;
}

.page-hero-inner {
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    margin-bottom: 16px;
}

.page-hero p {
    font-size: 16px;
    color: var(--furniture-brown);
    max-width: 600px;
}

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

.service-card {
    background: var(--linen-white);
    border-radius: 16px 32px;
    overflow: hidden;
    transition: all 0.46s cubic-bezier(0.28, 1.64, 0.68, 1);
    border: 1px solid rgba(192, 112, 80, 0.06);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 72px rgba(192, 112, 80, 0.15);
}

.service-image {
    aspect-ratio: 16/10;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.46s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-content {
    padding: 32px;
}

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

.service-content h3 {
    margin-bottom: 12px;
}

.service-content p {
    font-size: 14px;
    margin-bottom: 20px;
}

.service-price {
    font-family: var(--font-heading);
    font-size: 18px;
    color: var(--terra-cotta);
    font-weight: 500;
}

.detail-section {
    padding: 80px 0;
}

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

.detail-content h2 {
    margin-bottom: 24px;
}

.detail-content p {
    margin-bottom: 20px;
}

.detail-features {
    list-style: none;
    margin-top: 32px;
}

.detail-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 14px;
    color: var(--furniture-brown);
}

.detail-features li::before {
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--terra-cotta);
    color: #FFFFFF;
    border-radius: 50%;
    font-size: 12px;
    flex-shrink: 0;
}

.detail-image {
    border-radius: 16px 32px;
    overflow: hidden;
}

.detail-image img {
    width: 100%;
    height: auto;
}

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

.gallery-item {
    border-radius: 16px 32px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 4/3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.46s ease;
}

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(to top, rgba(38, 36, 34, 0.9), transparent);
}

.gallery-overlay h4 {
    color: #FFFFFF;
    font-size: 14px;
    margin-bottom: 4px;
}

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

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

.legal-content h2 {
    margin-bottom: 24px;
    margin-top: 40px;
}

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

.legal-content p {
    margin-bottom: 16px;
}

.legal-content ul {
    margin: 16px 0 24px 24px;
}

.legal-content li {
    margin-bottom: 12px;
}

.thank-you-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 24px;
    background: var(--linen-white);
}

.thank-you-content h1 {
    margin-bottom: 24px;
}

.thank-you-content p {
    font-size: 16px;
    margin-bottom: 32px;
    max-width: 500px;
}

@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .hero-content {
        padding-left: 24px;
    }
    
    .hero-visual {
        padding: 24px;
    }
    
    .about-grid,
    .contact-grid,
    .detail-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .process-grid,
    .achievements-grid,
    .team-grid,
    .services-grid,
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    body {
        overflow-x: hidden;
        max-width: 100vw;
    }
    
    * {
        max-width: 100%;
    }
    
    .container {
        padding: 0 16px;
        max-width: 100%;
    }
    
    .marquee-wrapper {
        overflow: hidden;
        max-width: 100%;
    }
    
    .marquee-section {
        padding: 40px 0;
    }
    
    .nav-main {
        display: none;
    }
    
    .nav-cta {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-inner {
        padding: 0;
    }
    
    .hero-content {
        text-align: center;
        padding: 0 16px;
    }
    
    .hero-title {
        font-size: clamp(2rem, 10vw, 3.5rem);
    }
    
    .hero-cta {
        padding: 18px 32px;
        font-size: 13px;
    }
    
    .hero-note {
        justify-content: center;
    }
    
    .hero-visual {
        padding: 16px;
    }
    
    .hero-image-frame {
        border-radius: 12px 24px;
    }
    
    .scroll-indicator {
        display: none;
    }
    
    .section-header {
        margin-bottom: 48px;
        padding: 0 16px;
    }
    
    .section-header h2 {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }
    
    .about-section,
    .process-section,
    .achievements-section,
    .advantages-section,
    .team-section,
    .faq-section,
    .reviews-section,
    .contact-section {
        padding: 60px 0;
    }
    
    .about-grid,
    .advantages-grid,
    .contact-grid,
    .detail-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .about-image,
    .detail-image {
        border-radius: 12px 24px;
    }
    
    .process-grid,
    .achievements-grid,
    .team-grid,
    .services-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .process-card,
    .achievement-card,
    .team-card,
    .service-card {
        border-radius: 12px 24px;
        padding: 24px 20px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-col {
        padding: 0 8px;
    }
    
    .cookie-banner {
        left: 12px;
        right: 12px;
        max-width: none;
    }
    
    .page-hero {
        min-height: 35vh;
        padding: 50px 0;
    }
    
    .page-hero h1 {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }
    
    .contact-form {
        padding: 24px 20px;
        border-radius: 12px 24px;
    }
    
    .form-input,
    .form-select,
    .form-textarea {
        padding: 14px 16px;
        font-size: 16px;
    }
    
    .review-card {
        padding: 24px 20px;
        border-radius: 12px 24px;
        max-width: 100%;
        width: auto;
    }
    
    .reviews-carousel {
        justify-content: flex-start;
        padding: 20px 16px;
    }
    
    .reviews-carousel .review-card {
        min-width: 260px;
        max-width: 300px;
    }
    
    .faq-question {
        padding: 16px 20px;
        font-size: 13px;
    }
    
    .faq-answer {
        padding: 0 20px;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 20px 16px;
    }
    
    .advantage-item {
        padding: 16px;
    }
    
    .site-footer {
        padding: 48px 0 32px;
    }
    
    .cookie-banner {
        bottom: 12px;
        padding: 20px 16px;
    }
    
    .cookie-banner h4 {
        font-size: 13px;
    }
    
    .cookie-banner p {
        font-size: 12px;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
    
    .cookie-btn {
        width: 100%;
    }
}