/* ============================================
   STUDIO SHIBAMATA — 昭和レトロ Design System
   ============================================ */

/* --- CSS Variables --- */
:root {
    --color-bg: #f5efe6;
    --color-bg-warm: #ede4d3;
    --color-bg-card: #faf6ee;
    --color-bg-dark: #3c2f1e;
    --color-bg-darker: #2a1f12;
    --color-accent: #8b5e3c;
    --color-accent-light: #b07a4f;
    --color-accent-deep: #6b3a1f;
    --color-green: #5a7247;
    --color-green-light: #7a9466;
    --color-text: #3c3028;
    --color-text-light: #6b5d4f;
    --color-text-muted: #9a8c7a;
    --color-text-white: #faf6ee;
    --color-border: rgba(139, 94, 60, 0.15);
    --color-border-strong: rgba(139, 94, 60, 0.3);
    --font-mincho: 'Noto Serif JP', 'Yu Mincho', '游明朝', serif;
    --font-sans: 'Noto Sans JP', sans-serif;
    --font-accent: 'Shippori Mincho', 'Noto Serif JP', serif;
    --transition: 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow: 0 4px 20px rgba(60, 47, 30, 0.1);
    --shadow-hover: 0 8px 32px rgba(60, 47, 30, 0.15);
    --radius: 8px;
    --header-h: 60px;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-h);
}

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

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

a:hover {
    color: var(--color-accent-light);
}

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

/* --- Typography --- */
h1,
h2,
h3,
h4 {
    font-family: var(--font-mincho);
    font-weight: 400;
    letter-spacing: 0.08em;
    line-height: 1.5;
    color: var(--color-bg-dark);
}

.section-label {
    display: inline-block;
    font-family: var(--font-mincho);
    font-size: 0.78rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 0.6rem;
    position: relative;
    padding-left: 36px;
}

.section-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 24px;
    height: 1px;
    background: var(--color-accent);
}

.section-title {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    margin-bottom: 1.2rem;
    color: var(--color-bg-dark);
    font-weight: 500;
}

.section-desc {
    font-size: 0.92rem;
    color: var(--color-text-light);
    max-width: 600px;
    line-height: 2;
}

/* --- Layout --- */
.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

section {
    padding: 90px 0;
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-h);
    display: flex;
    align-items: center;
    z-index: 1000;
    transition: background var(--transition), box-shadow var(--transition);
    background: var(--color-bg);
}

.site-header.scrolled {
    background: rgba(245, 239, 230, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 12px rgba(60, 47, 30, 0.08);
}

.header-inner {
    width: 96%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    font-family: var(--font-mincho);
    font-size: 1.4rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    color: var(--color-bg-dark);
    text-decoration: none;
}

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

/* Navigation */
.main-nav ul {
    display: flex;
    list-style: none;
    gap: 1.8rem;
    align-items: center;
}

.main-nav a {
    color: var(--color-text);
    font-size: 1rem;
    letter-spacing: 0.06em;
    position: relative;
    padding-bottom: 4px;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-accent);
    transition: width var(--transition);
}

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

.main-nav a:hover {
    color: var(--color-accent);
}

.nav-reserve {
    background: var(--color-accent) !important;
    color: var(--color-text-white) !important;
    padding: 9px 24px 11px;
    border-radius: 4px;
    font-weight: 500;
    letter-spacing: 0.08em;
    transition: all var(--transition);
    display: inline-block;
    line-height: normal;
}

.nav-reserve:hover {
    background: var(--color-accent-light) !important;
    color: var(--color-text-white) !important;
    transform: translateY(-1px);
}

.nav-reserve::after {
    display: none !important;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    background: none;
    border: none;
}

.hamburger span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--color-bg-dark);
    transition: var(--transition);
    transform-origin: center;
}

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

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

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

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    height: calc(100vh - var(--header-h));
    margin-top: var(--header-h);
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url('pictures/myhome.png') center/cover no-repeat;
    transform: scale(1.04);
    transition: transform 6s ease-out, background-image 1s ease-in-out;
}

.hero.loaded .hero-bg {
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(60, 47, 30, 0.25) 0%,
            rgba(42, 31, 18, 0.6) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 780px;
    padding: 0 5%;
}

.hero-content .section-label {
    color: rgba(250, 246, 238, 0.8);
    animation: fadeUp 1s 0.3s both;
}

.hero-content .section-label::before {
    background: rgba(250, 246, 238, 0.6);
}

.hero h1 {
    font-size: clamp(1.8rem, 5vw, 3.2rem);
    font-weight: 400;
    letter-spacing: 0.14em;
    margin-bottom: 1rem;
    color: var(--color-text-white);
    animation: fadeUp 1s 0.5s both;
    text-shadow: 0 2px 16px rgba(42, 31, 18, 0.3);
}

.hero p {
    font-size: 0.95rem;
    color: rgba(250, 246, 238, 0.8);
    letter-spacing: 0.06em;
    margin-bottom: 2.5rem;
    animation: fadeUp 1s 0.7s both;
    line-height: 2;
}

.hero-cta {
    display: inline-flex;
    gap: 1rem;
    animation: fadeUp 1s 0.9s both;
    flex-wrap: wrap;
    justify-content: center;
}

/* -- Buttons -- */
.btn {
    display: inline-block;
    padding: 15px 36px;
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    border-radius: 4px;
    transition: all var(--transition);
    cursor: pointer;
    border: none;
    font-family: var(--font-sans);
}

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

.btn-primary:hover {
    background: var(--color-accent-light);
    color: var(--color-text-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 94, 60, 0.25);
}

.btn-outline {
    background: transparent;
    color: var(--color-text-white);
    border: 1px solid rgba(250, 246, 238, 0.4);
}

.btn-outline:hover {
    border-color: var(--color-text-white);
    color: var(--color-text-white);
    background: rgba(250, 246, 238, 0.1);
    transform: translateY(-2px);
}

.btn-outline-dark {
    background: transparent;
    color: var(--color-accent);
    border: 1px solid var(--color-border-strong);
}

.btn-outline-dark:hover {
    border-color: var(--color-accent);
    background: rgba(139, 94, 60, 0.05);
    transform: translateY(-2px);
}

/* ============================================
   CONCEPT
   ============================================ */
.concept {
    background: var(--color-bg-warm);
}

.concept-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-top: 2.5rem;
}

.concept-img {
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--color-bg-card);
    box-shadow: var(--shadow);
}

.concept-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.concept-img:hover img {
    transform: scale(1.03);
}

.concept-text p {
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
    line-height: 2.1;
    font-size: 1.05rem;
}

/* ============================================
   FEATURES
   ============================================ */
.features {
    background: var(--color-bg);
}

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

.feature-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 36px 28px;
    text-align: center;
    transition: all var(--transition);
    box-shadow: 0 2px 8px rgba(60, 47, 30, 0.04);
}


.feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.7rem;
}

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

/* ============================================
   PRICE
   ============================================ */
.price {
    background: var(--color-bg-warm);
}

.price-box {
    margin-top: 2.5rem;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 50px 40px;
    text-align: center;
    box-shadow: var(--shadow);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.price-box .price-amount {
    font-family: var(--font-mincho);
    font-size: clamp(2.2rem, 5vw, 3rem);
    color: var(--color-accent);
    font-weight: 600;
    letter-spacing: 0.05em;
    margin: 1rem 0;
}

.price-box .price-amount small {
    font-size: 0.45em;
    color: var(--color-text-light);
    font-weight: 400;
    margin-left: 0.3em;
}

.price-box .price-label {
    font-size: 1rem;
    color: var(--color-text);
    font-weight: 500;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.price-box .price-sub {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.9;
}

.price-table-wrap {
    margin-top: 2.5rem;
    overflow-x: auto;
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--color-bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.price-table thead {
    background: var(--color-accent);
    color: var(--color-text-white);
}

.price-table th {
    padding: 16px 24px;
    font-weight: 500;
    font-size: 0.88rem;
    letter-spacing: 0.06em;
    text-align: left;
}

.price-table td {
    padding: 16px 24px;
    border-bottom: 1px solid var(--color-border);
    font-size: 0.88rem;
    color: var(--color-text-light);
}

.price-table tbody tr:hover {
    background: rgba(139, 94, 60, 0.03);
}

.price-table .price-value {
    color: var(--color-accent);
    font-weight: 600;
    font-size: 1rem;
}

.price-note {
    margin-top: 1.5rem;
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

/* ============================================
   GALLERY / INTERIOR
   ============================================ */
.gallery {
    background: var(--color-bg);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 2.5rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--color-bg-warm);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(60, 47, 30, 0.06);
}

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

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(60, 47, 30, 0.4), transparent);
    opacity: 0;
    transition: opacity var(--transition);
}

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

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

.gallery-item-label {
    position: absolute;
    bottom: 14px;
    left: 14px;
    z-index: 2;
    font-size: 0.82rem;
    color: var(--color-text-white);
    opacity: 0;
    transform: translateY(8px);
    transition: all var(--transition);
}

.gallery-item:hover .gallery-item-label {
    opacity: 1;
    transform: translateY(0);
}

.gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.5rem;
    color: var(--color-text-muted);
    font-size: 0.82rem;
    border: 2px dashed var(--color-border-strong);
    border-radius: var(--radius);
    aspect-ratio: 4/3;
    transition: border-color var(--transition);
    background: var(--color-bg-card);
}

.gallery-placeholder:hover {
    border-color: var(--color-accent);
}

.gallery-placeholder-icon {
    font-size: 1.8rem;
    opacity: 0.4;
}

/* ============================================
   ACCESS
   ============================================ */
.access {
    background: var(--color-bg-warm);
}

.access-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 2.5rem;
}

.access-info dl {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 14px 16px;
}

.access-info dt {
    color: var(--color-accent);
    font-size: 0.83rem;
    font-weight: 500;
    letter-spacing: 0.04em;
}

.access-info dd {
    color: var(--color-text-light);
    font-size: 0.88rem;
}

.access-map {
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--color-bg-card);
    min-height: 300px;
    box-shadow: var(--shadow);
}

.access-map iframe {
    width: 100%;
    height: 100%;
    min-height: 300px;
    border: none;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    background: var(--color-bg-dark);
    text-align: center;
    padding: 90px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(139, 94, 60, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.cta-section h2 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    margin-bottom: 0.8rem;
    color: var(--color-text-white);
}

.cta-section p {
    color: rgba(250, 246, 238, 0.65);
    margin-bottom: 2rem;
    font-size: 0.92rem;
}

.cta-section .section-label {
    color: var(--color-accent-light);
}

.cta-section .section-label::before {
    background: var(--color-accent-light);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   CONTACT FORM
   ============================================ */
.contact-form-section {
    background: var(--color-bg);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 2.5rem;
}

.contact-info-block h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

.contact-info-block p {
    color: var(--color-text-light);
    font-size: 0.88rem;
    margin-bottom: 1.8rem;
    line-height: 1.9;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0.8rem;
    color: var(--color-text-light);
    font-size: 0.88rem;
}

.contact-detail-icon {
    font-size: 1rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    margin-bottom: 0.4rem;
    color: var(--color-text-light);
}

.form-group label .required {
    color: #c0392b;
    margin-left: 4px;
    font-size: 0.72rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 13px 16px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 6px;
    color: var(--color-text);
    font-family: var(--font-sans);
    font-size: 0.88rem;
    transition: border-color var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(139, 94, 60, 0.08);
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-text-muted);
}

/* ============================================
   RESERVE PAGE
   ============================================ */
.reserve-hero {
    padding-top: calc(var(--header-h) + 60px);
    padding-bottom: 60px;
    text-align: center;
    background: var(--color-bg-warm);
}

.reserve-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 2.5rem;
}

.reserve-step {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    position: relative;
    box-shadow: 0 2px 8px rgba(60, 47, 30, 0.04);
}

.step-number {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 32px;
    background: var(--color-accent);
    color: var(--color-text-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mincho);
    font-weight: 600;
    font-size: 0.9rem;
}

.reserve-step h3 {
    font-size: 1.05rem;
    margin: 0.6rem 0;
}

.reserve-step p {
    font-size: 0.82rem;
    color: var(--color-text-light);
    line-height: 1.7;
}

.reserve-embed {
    background: var(--color-bg);
    text-align: center;
}

.reserve-box {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 50px 36px;
    margin-top: 2rem;
    box-shadow: var(--shadow);
}

/* ============================================
   PAGE HEADER
   ============================================ */
.page-header {
    padding-top: calc(var(--header-h) + 70px);
    padding-bottom: 50px;
    text-align: center;
    background: var(--color-bg-warm);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 60%, rgba(139, 94, 60, 0.04) 0%, transparent 50%);
    pointer-events: none;
}

.page-header h1 {
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    margin-bottom: 0.6rem;
}

.page-header p {
    color: var(--color-text-light);
    font-size: 0.9rem;
}

.breadcrumb {
    display: flex;
    gap: 8px;
    justify-content: center;
    font-size: 0.78rem;
    margin-bottom: 1.5rem;
    color: var(--color-text-muted);
}

.breadcrumb a {
    color: var(--color-text-muted);
}

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

.breadcrumb span {
    color: var(--color-accent);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--color-bg-darker);
    padding: 50px 0 24px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 36px;
}

.footer-brand .site-logo {
    display: inline-block;
    margin-bottom: 0.8rem;
    color: var(--color-text-white);
}

.footer-brand .site-logo span {
    color: var(--color-accent-light);
}

.footer-brand p {
    color: rgba(250, 246, 238, 0.5);
    font-size: 0.78rem;
    line-height: 1.8;
    max-width: 300px;
}

.footer-nav h4 {
    font-size: 0.82rem;
    font-family: var(--font-sans);
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--color-text-white);
    margin-bottom: 0.8rem;
}

.footer-nav ul {
    list-style: none;
}

.footer-nav a {
    display: block;
    padding: 3px 0;
    font-size: 0.78rem;
    color: rgba(250, 246, 238, 0.5);
}

.footer-nav a:hover {
    color: var(--color-accent-light);
}

.footer-bottom {
    margin-top: 36px;
    padding-top: 20px;
    border-top: 1px solid rgba(250, 246, 238, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.72rem;
    color: rgba(250, 246, 238, 0.35);
}

.footer-sns {
    display: flex;
    gap: 14px;
}

.footer-sns a {
    color: rgba(250, 246, 238, 0.4);
    font-size: 0.9rem;
    transition: color var(--transition);
}

.footer-sns a:hover {
    color: var(--color-accent-light);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.fade-in-left {
    opacity: 0;
    transform: translateX(-28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.fade-in-right {
    opacity: 0;
    transform: translateX(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.stagger-children>* {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.stagger-children.visible>*:nth-child(1) {
    transition-delay: 0.08s;
}

.stagger-children.visible>*:nth-child(2) {
    transition-delay: 0.16s;
}

.stagger-children.visible>*:nth-child(3) {
    transition-delay: 0.24s;
}

.stagger-children.visible>*:nth-child(4) {
    transition-delay: 0.32s;
}

.stagger-children.visible>*:nth-child(5) {
    transition-delay: 0.40s;
}

.stagger-children.visible>*:nth-child(6) {
    transition-delay: 0.48s;
}

.stagger-children.visible>* {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {

    .concept-grid,
    .access-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-item.large {
        grid-column: span 1;
        grid-row: span 1;
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --header-h: 64px;
    }

    section {
        padding: 64px 0;
    }

    .hamburger {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 340px;
        height: 100vh;
        background: var(--color-bg);
        padding: 90px 36px 36px;
        transition: right var(--transition);
        box-shadow: -6px 0 24px rgba(60, 47, 30, 0.15);
    }

    .main-nav.open {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }

    .main-nav li {
        border-bottom: 1px solid var(--color-border);
    }

    .main-nav a {
        display: block;
        padding: 14px 0;
        font-size: 0.92rem;
    }

    .main-nav a::after {
        display: none;
    }

    .nav-reserve {
        display: block;
        text-align: center;
        margin-top: 1rem;
        border-radius: 6px;
    }

    .nav-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(60, 47, 30, 0.3);
        z-index: 998;
    }

    .nav-overlay.active {
        display: block;
    }

    .features-grid,
    .reserve-steps {
        grid-template-columns: 1fr;
    }

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

    .hero h1 {
        font-size: clamp(1.5rem, 6.5vw, 2.2rem);
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .price-box {
        padding: 36px 24px;
    }
}

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

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 260px;
        text-align: center;
    }

    .floorplan-wrapper {
        max-width: 100%;
    }

    .camera-btn {
        width: 32px;
        height: 32px;
    }

    .camera-btn svg {
        width: 16px;
        height: 16px;
    }
}

/* ============================================
   INTERACTIVE FLOOR PLAN
   ============================================ */
.floorplan-section {
    background: var(--color-bg);
}

.floorplan-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 2rem;
}

.floorplan-tab {
    padding: 10px 28px;
    border: 1px solid var(--color-border-strong);
    border-radius: 4px;
    background: transparent;
    color: var(--color-text);
    font-family: var(--font-sans);
    font-size: 0.88rem;
    cursor: pointer;
    transition: all var(--transition);
    letter-spacing: 0.06em;
}

.floorplan-tab:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.floorplan-tab.active {
    background: var(--color-accent);
    color: var(--color-text-white);
    border-color: var(--color-accent);
}

.floorplan-container {
    display: none;
}

.floorplan-container.active {
    display: block;
}

.floorplan-wrapper {
    position: relative;
    max-width: 560px;
    margin: 0 auto;
    user-select: none;
}

.floorplan-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.camera-btn {
    position: absolute;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--color-accent);
    border: 2px solid var(--color-text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(60, 47, 30, 0.3);
    transform: translate(-50%, -50%);
    animation: cameraPulse 2s infinite;
}

.camera-btn svg {
    width: 18px;
    height: 18px;
    fill: var(--color-text-white);
    pointer-events: none;
}

.camera-btn:hover {
    background: var(--color-accent-light);
    transform: translate(-50%, -50%) scale(1.15);
    animation: none;
    box-shadow: 0 4px 16px rgba(139, 94, 60, 0.4);
}

.camera-btn .cam-tooltip {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-bg-dark);
    color: var(--color-text-white);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.72rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    letter-spacing: 0.04em;
}

.camera-btn:hover .cam-tooltip {
    opacity: 1;
}

@keyframes cameraPulse {

    0%,
    100% {
        box-shadow: 0 2px 8px rgba(60, 47, 30, 0.3);
    }

    50% {
        box-shadow: 0 2px 8px rgba(60, 47, 30, 0.3), 0 0 0 6px rgba(139, 94, 60, 0.15);
    }
}

.floorplan-legend {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.2rem;
    font-size: 0.78rem;
    color: var(--color-text-muted);
}

.floorplan-legend span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-accent);
    border: 1.5px solid var(--color-text-white);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

/* ============================================
   PHOTO LIGHTBOX
   ============================================ */
.lightbox-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(42, 31, 18, 0.85);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.lightbox-overlay.active {
    display: flex;
}

.lightbox-inner {
    position: relative;
    max-width: 900px;
    width: 100%;
    background: var(--color-bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(42, 31, 18, 0.4);
    animation: lightboxIn 0.3s ease;
}

@keyframes lightboxIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(10px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.lightbox-inner img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 70vh;
    object-fit: contain;
    background: var(--color-bg-warm);
}

.lightbox-caption {
    padding: 16px 24px;
    font-size: 0.88rem;
    color: var(--color-text-light);
    text-align: center;
    letter-spacing: 0.04em;
}

.lightbox-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(60, 47, 30, 0.7);
    border: none;
    color: var(--color-text-white);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    z-index: 10;
}

.lightbox-close:hover {
    background: rgba(60, 47, 30, 0.9);
}

.lightbox-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
    min-height: 300px;
    background: var(--color-bg-warm);
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.lightbox-placeholder-icon {
    font-size: 2.5rem;
    opacity: 0.4;
}

/* ============================================
   RESERVATION CALENDAR
   ============================================ */
.calendar-grid .cal-day {
    padding: 10px;
    text-align: center;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    min-height: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #fff;
    cursor: default;
    transition: all var(--transition);
}

.calendar-grid .cal-day.empty {
    background: transparent;
    border: none;
}

.calendar-grid .cal-day.available {
    cursor: pointer;
}

.calendar-grid .cal-day.available:hover {
    background: rgba(139, 94, 60, 0.05);
    border-color: var(--color-accent);
}

.calendar-grid .cal-day.booked {
    background: #f0f0f0;
    color: #999;
}

.calendar-grid .cal-day.disabled {
    background: #fafafa;
    color: #ccc;
}

.cal-day-num {
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.cal-day-status {
    font-size: 0.75rem;
    padding: 3px 8px;
    border-radius: 10px;
}

.cal-day.available .cal-day-status {
    background: var(--color-accent);
    color: #fff;
}

.cal-day.partial .cal-day-status {
    background: #f39c12;
    color: #fff;
}

.cal-day.booked .cal-day-status {
    background: #aaa;
    color: #fff;
}

.cal-day.disabled .cal-day-status {
    display: none;
}

.calendar-grid .cal-day.available-click {
    cursor: pointer;
}

.calendar-grid .cal-day.available-click:hover {
    background: rgba(139, 94, 60, 0.05);
    border-color: var(--color-accent);
}