/* Variables - Minimalist Premium Aesthetic (Referencing Vercel Next.js minimalist templates) */
:root {
    --primary: #4a3c31;
    --primary-light: #6b5a4d;
    --accent: #2c4a30;
    --text-main: #3d3b38;
    --text-muted: #827b73;
    --bg-main: #fdfbf7;
    --bg-light: #f6f4ed;
    --border-color: #e8e3d8;
    --shadow-sm: 0 4px 6px rgba(74, 60, 49, 0.04);
    --shadow-md: 0 10px 20px rgba(74, 60, 49, 0.06);
    --shadow-lg: 0 30px 60px rgba(74, 60, 49, 0.1);
    --slide-duration: 5s;
    --font-heading: 'Playfair Display', 'Noto Serif KR', serif;
    --font-body: 'Playfair Display', 'Noto Serif KR', serif;
    --badge-bg: #1c4b27;
    --badge-text: #ffffff;
    --price-green: #194c25;
    --btn-plus-bg: #e4efe0;
    --btn-plus-color: #194c25;
    --font-sans: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}

/* Base */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--bg-main);
    -webkit-font-smoothing: antialiased;
    letter-spacing: -0.01em;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
.text-center { text-align: center; }

/* Header - Modern Minimalist */
.header {
    position: fixed; top: 0; left: 0; width: 100%;
    z-index: 1000;
    transition: background-color 0.3s ease, border-bottom 0.3s ease;
    border-bottom: 1px solid transparent;
    background-color: transparent;
}
.header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    /* backdrop-filter: blur(12px); Removed for performance to fix scroll lag */
    border-bottom: 1px solid var(--border-color);
}
.header-container {
    max-width: 1400px; margin: 0 auto;
    padding: 16px 20px;
    display: flex; justify-content: space-between; align-items: center; gap: 10px;
}
.logo { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.logo img { height: 42px; width: auto; border-radius: 4px; }
.logo span {
    font-size: clamp(1rem, 3.5vw, 1.4rem); font-weight: 700; color: #fff;
    letter-spacing: 0.1em; white-space: nowrap;
    transition: color 0.4s ease;
}
.header.scrolled .logo span { color: var(--primary); }

.contact-number {
    font-weight: 700; font-size: clamp(0.85rem, 3vw, 1rem);
    color: #ffffff;
    padding: 10px 16px; border-radius: 30px;
    background: rgba(0, 0, 0, 0.4);
    /* backdrop-filter: blur(5px); Removed for performance to fix scroll lag */
    transition: background-color 0.3s ease, color 0.3s ease;
    font-family: var(--font-sans);
    letter-spacing: 0.03em;
    white-space: nowrap; flex-shrink: 0;
}
.header.scrolled .contact-number {
    color: var(--badge-text); background: var(--badge-bg);
}
.contact-number:hover {
    background: #fff; color: var(--primary);
}
.header.scrolled .contact-number:hover {
    background: var(--accent); color: #fff;
}

/* Mobile Header (Hide Contact, Center Logo) */
@media (max-width: 600px) {
    .header-contact { display: none; }
    .header-container { justify-content: center; padding: 14px 20px; }
    .logo img { height: 38px; }
    .logo span { font-size: 1.25rem; }
}

/* Premium Hero Slider */
.hero-slider {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background: #000;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0; visibility: hidden;
    transition: opacity 1.2s ease, visibility 1.2s;
}
.slide.active { opacity: 1; visibility: visible; }

.slide-image {
    position: absolute; top: -5%; left: -5%;
    width: 110%; height: 110%;
    background-size: cover; background-position: center;
    transform: scale(1);
    transition: transform var(--slide-duration) linear;
}
.slide.active .slide-image { transform: scale(1.05); }

.slide-overlay {
    position: absolute; top:0; left:0; width:100%; height:100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.2) 100%);
}

.slide-content {
    position: relative; z-index: 10;
    max-width: 1400px; margin: 0 auto; padding: 0 30px;
    height: 100%; display: flex; flex-direction: column; justify-content: center;
    color: #fff;
}

.slide-subtitle {
    font-size: 0.85rem; font-weight: 600; letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.8); margin-bottom: 16px;
    text-transform: uppercase;
}

.slide-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 600; line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.04em;
}

.slide-desc {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    font-weight: 300; opacity: 0.9;
}

.text-reveal { opacity: 0; transform: translateY(20px); transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1); }
.slide.active .text-reveal { opacity: 1; transform: translateY(0); }
.slide.active .delay-1 { transition-delay: 0.2s; }
.slide.active .delay-2 { transition-delay: 0.4s; }

/* Slider Controls */
.slider-controls {
    position: absolute; bottom: 120px; left: 0; width: 100%;
    z-index: 20; padding: 0 30px;
}
@media(min-width: 768px){
    .slider-controls { max-width: 1400px; left: 50%; transform: translateX(-50%); }
}

.slide-numbers {
    color: #fff; font-size: 0.9rem; font-weight: 500;
    margin-bottom: 12px; display: flex; gap: 8px; font-variant-numeric: tabular-nums;
}
.slide-numbers .current { font-size: 1.2rem; font-weight: 600; }
.slide-numbers .separator, .slide-numbers .total { opacity: 0.7; align-self: flex-end; padding-bottom: 2px; }

.indicators { display: flex; gap: 8px; }
.indicator {
    width: 60px; height: 2px;
    background: rgba(255,255,255,0.3);
    position: relative; overflow: hidden;
}
.indicator .progress-bar {
    position: absolute; left:0; top:0; height:100%; width:0%; background: #ffffff;
}
.indicator.active .progress-bar { width: 100%; transition: width var(--slide-duration) linear; }

/* Hero Quick Info */
.hero-quick-info {
    position: absolute; bottom: 0; left: 0; width: 100%; z-index: 20;
    background: rgba(255,255,255,0.05); backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255,255,255,0.1);
}
.info-grid {
    max-width: 1400px; margin: 0 auto;
    display: grid; grid-template-columns: repeat(3, 1fr);
}
.i-col {
    padding: 20px 30px;
    border-right: 1px solid rgba(255,255,255,0.1);
    color: #fff; display: flex; flex-direction: column; gap: 4px;
}
.i-col:last-child { border-right: none; }
.i-label { font-size: 0.75rem; color: rgba(255,255,255,0.6); font-weight: 500;}
.i-val { font-size: 0.95rem; font-weight: 400; }

@media(max-width: 768px){
    .info-grid { grid-template-columns: 1fr; }
    .i-col { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); padding: 15px 30px;}
    .hero-slider { min-height: 800px; }
    .slider-controls { bottom: 250px; }
}

/* Common Section */
.section { padding: 100px 0; }
.bg-light { background-color: var(--bg-light); }
.border-top { border-top: 1px solid var(--border-color); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 30px; }

.section-title-wrap { margin-bottom: 50px; }
.section-sub {
    font-size: 0.8rem; font-weight: 600; color: var(--text-muted);
    text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 12px;
}
.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem); font-weight: 700; color: var(--primary);
    letter-spacing: -0.03em; margin-bottom: 16px; line-height: 1.3;
}
.section-desc { font-size: 1.05rem; color: var(--text-muted); font-weight: 400; line-height: 1.5; }

/* Site Plan Side-by-Side */
.site-plan-comparison {
    display: flex; flex-direction: column; gap: 60px;
}
@media (min-width: 900px) {
    .site-plan-comparison { flex-direction: row; gap: 40px; }
    .site-location { flex: 1; }
}
.location-header {
    margin-bottom: 30px;
    padding: 30px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
}
@media (min-width: 900px) {
    .location-header { min-height: 240px; }
}
.location-badge {
    display: inline-block;
    background: var(--badge-bg);
    color: var(--badge-text);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 12px;
}
.location-title {
    font-size: 1.5rem; font-weight: 700; text-align: center; margin-bottom: 16px;
    padding-bottom: 16px; border-bottom: 1px solid #e1dece;
    color: var(--primary);
}
.location-desc {
    font-size: 0.95rem; color: var(--text-muted); line-height: 1.6; margin: 0; font-weight: 400;
}
.plan-images { display: flex; flex-direction: column; gap: 40px; }

/* Clickable Images & Cards */
.img-clickable {
    cursor: pointer;
}
.img-clickable-container { cursor: pointer; overflow: hidden; border-radius: 12px;}

.premium-image-card {
    border-radius: 12px; overflow: hidden;
    background: var(--bg-main); border: 1px solid var(--border-color);
    display: flex; flex-direction: column; height: 100%;
    cursor: pointer; /* Changed from zoom-in as requested */
}
.premium-image-card .img-wrapper { 
    overflow: hidden; background: var(--bg-light); 
    aspect-ratio: 4/3; width: 100%; display: flex; align-items: center; justify-content: center;
}
.premium-image-card img { 
    width: 100%; height: 100%; object-fit: cover; 
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); /* Smooth image zoom */
}
.premium-image-card:hover img {
    transform: scale(1.06);
}
.pic-info { padding: 20px; text-align: center; border-top: 1px solid var(--border-color); flex-grow: 1; display: flex; align-items: center; justify-content: center;}
.pic-info h3 { font-weight: 600; font-size: 1.1rem; letter-spacing: -0.01em; color: var(--primary); margin: 0; }

/* ===== NEW Item Grid (Compact Cards) ===== */
.item-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
@media (max-width: 768px) {
    .item-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}
.item-card {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #d5ddd5;
    background: #fff;
    transition: box-shadow 0.3s ease;
}
.item-card:hover { box-shadow: 0 6px 16px rgba(0,0,0,0.08); }
.item-img {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #f0f0ea;
}
.item-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.item-badge {
    position: absolute; top: 8px; left: 8px;
    background: #1a4d28; color: #fff;
    font-size: 11px; font-weight: 600;
    padding: 3px 10px; border-radius: 20px;
    font-family: var(--font-sans);
    letter-spacing: 0;
}
.item-info {
    display: flex; justify-content: space-between; align-items: center;
    padding: 10px 12px;
    border-top: 1px solid #e8e3d8;
}
.item-name {
    font-size: 13px; font-weight: 600; color: #3d3b38;
    font-family: var(--font-sans);
    white-space: nowrap;
}
.item-tag {
    font-size: 12px; font-weight: 700; color: #1a4d28;
    font-family: var(--font-sans);
    flex-shrink: 0;
    margin-left: 8px;
}
.item-desc {
    font-size: 0.85rem; color: #827b73; font-weight: 400; line-height: 1.6;
    padding: 0 16px 16px; margin: 0;
    font-family: var(--font-sans);
}
/* PC: larger card info */
@media (min-width: 769px) {
    .item-info { padding: 14px 16px; }
    .item-name { font-size: 1.05rem; }
    .item-badge { font-size: 12px; padding: 4px 12px; top: 10px; left: 10px; }
}
/* Mobile: hide description, keep slim */
@media (max-width: 768px) {
    .item-desc { display: none; }
}

/* Product Cards Grid */
.premium-card-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px;
    align-items: start; /* Prevent cards from stretching vertically and bloating text space */
}
.community-grid {
    grid-template-columns: repeat(4, 1fr);
}
.community-sub {
    color: #c99158 !important;
    font-weight: 500;
    letter-spacing: 0.25em !important;
}

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

@media (max-width: 600px) {
    .premium-card-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .community-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    
    /* Screenshot specifies first item in community grid as full width */
    .community-grid .p-card:first-child { grid-column: 1 / -1; position: relative; }
    /* Position the text inside the image for the first child */
    .community-grid .p-card:first-child .p-card-txt {
        position: absolute; bottom: 0; left: 0; width: 100%;
        background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
        padding: 40px 16px 12px 16px; height: auto;
    }
    .community-grid .p-card:first-child .p-card-txt h4 {
        color: #ffffff; font-size: 1.25rem; font-weight: 700; text-shadow: 0 1px 4px rgba(0,0,0,0.5);
    }
    
    .p-card-content, .p-card-txt { padding: 8px 10px; flex-grow: 0; }
    .p-card-header { margin-bottom: 6px; align-items: center; gap: 4px; } 
    .p-card-header h4, .p-card-txt h4 { font-size: 0.8rem; margin-bottom: 0; word-break: keep-all; letter-spacing: -0.02em; font-family: var(--font-sans); font-weight: 600; line-height: 1.3;}
    
    /* Remove detailed descriptions entirely on mobile */
    .p-card-desc, .p-card-txt p { display: none; }
    
    .p-card-footer { padding-top: 6px; margin-top: 0; border-top: 1px solid #e1dece; }
    .p-card-footer .f-label { font-size: 0.7rem; }
    .p-card-footer .f-val { font-size: 0.75rem; }
    .p-card-badge { padding: 3px 7px; font-size: 0.6rem; top: 6px; left: 6px; }
    .p-card-plus { width: 16px; height: 16px; font-size: 0.8rem; background: #e0ece0; color: #114220; margin-left: auto; flex-shrink: 0; }
}
.p-card {
    background: #fdfbf7; border-radius: 4px;
    border: 1px solid #c2d1c2; transition: all 0.4s ease;
    overflow: hidden; display: flex; flex-direction: column;
}
.p-card:hover { box-shadow: var(--shadow-md); }
.p-card-img { position: relative; aspect-ratio: 16/9; overflow: hidden; background: var(--bg-light); border-top-left-radius: 4px; border-top-right-radius: 4px; }
.p-card-img img { width: 100%; height: 100%; object-fit: cover; }

.p-card-badge {
    position: absolute; top: 12px; left: 12px;
    background: #114220; color: #ffffff;
    padding: 6px 12px; font-size: 0.8rem; font-weight: 600;
    border-radius: 20px; letter-spacing: -0.02em;
}

.p-card-content {
    padding: 24px; display: flex; flex-direction: column; flex-grow: 0; background: #fdfbf7;
}
.p-card-header {
    display: flex; justify-content: space-between; align-items: flex-start;
    margin-bottom: 12px;
}
.p-card-header h4 {
    font-size: 1.125rem; font-weight: 600; font-family: var(--font-heading); color: var(--primary); margin: 0; line-height: 1.4;
}
.p-card-plus {
    width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0;
    background: #e4efe0; color: #114220;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.25rem; font-weight: 300; line-height: 1; margin-left: 8px;
}
.p-card-desc {
    font-size: 0.9rem; color: var(--text-muted); font-weight: 400; line-height: 1.5;
    margin-bottom: 20px; flex-grow: 0;
}
.p-card-footer {
    display: flex; justify-content: space-between; align-items: center;
    border-top: 1px solid #e1dece; padding-top: 16px;
}
.p-card-footer .f-label { color: var(--text-muted); font-size: 0.85rem; }
.p-card-footer .f-val { color: var(--price-green); font-weight: 700; font-size: 0.95rem; }

.p-card-txt { padding: 24px; flex-grow: 0; background: #fdfbf7;}
.p-card-txt h4 { font-size: 1.125rem; font-weight: 600; margin-bottom: 6px; color: var(--primary); font-family: var(--font-heading);}
.p-card-txt p { font-size: 0.9rem; color: var(--text-muted); font-weight: 400; line-height: 1.5; margin-bottom: 0; }

/* Sleek Facility Grid */
.sleek-facility-grid { display: grid; grid-template-columns: 1fr; gap: 40px; margin-top: 20px;}
@media(min-width: 768px) { .sleek-facility-grid { grid-template-columns: repeat(2, 1fr); gap: 60px 40px; } }
.sleek-fac-card { display: flex; flex-direction: column; gap: 20px; }
.sf-img-wrap {
    width: 100%; aspect-ratio: 16/10; overflow: hidden;
    border-radius: 4px; background: var(--bg-light); border: 1px solid var(--border-color);
}
.sf-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.sf-content { padding-top: 10px; border-top: 1px solid var(--primary); }
.sf-content h4 { font-size: 1.3rem; font-weight: 600; color: var(--primary); margin-bottom: 8px; letter-spacing: -0.02em; }
.sf-content p { font-size: 1rem; color: var(--text-muted); font-weight: 300; }

/* Process List (Vertical) */
.process-sub {
    color: var(--badge-bg) !important;
    letter-spacing: 0.25em !important;
    margin-bottom: 20px !important;
}
.process-list {
    display: flex; flex-direction: column; gap: 12px;
    max-width: 700px; margin: 0 auto; margin-top: 30px;
}
.process-item {
    background: #ffffff; border-radius: 4px; padding: 20px 30px;
    display: flex; align-items: center; gap: 30px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.process-item:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
.p-num {
    font-size: 1.8rem; font-family: var(--font-heading);
    color: #a4bea9; font-weight: 500; line-height: 1; flex-shrink: 0;
}
.p-text { flex-grow: 1; text-align: left; }
.p-text h4 { font-size: 1.15rem; font-weight: 700; color: var(--text-main); margin-bottom: 4px; margin-top: 0; }
.p-text p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.5; margin: 0; }
@media(max-width: 600px) {
    .process-item { padding: 16px 20px; gap: 16px; flex-direction: row; align-items: center; } 
    .p-num { font-size: 1.4rem; }
    .p-text h4 { font-size: 1rem; margin-bottom: 2px; }
    .p-text p { font-size: 0.85rem; line-height: 1.4; }
}

/* Lightbox Modal */
.lightbox {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: 9999; display: flex; align-items: center; justify-content: center;
    visibility: hidden; opacity: 0; transition: all 0.3s ease;
}
.lightbox.active { visibility: visible; opacity: 1; }
.lightbox-overlay {
    position: absolute; top:0; left:0; width:100%; height:100%;
    background: rgba(0, 0, 0, 0.85); backdrop-filter: blur(8px);
}
.lightbox-img {
    width: 90vw; height: 90vh; object-fit: contain;
    position: relative; z-index: 10000; border-radius: 8px;
    transform: scale(0.95); transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.lightbox.active .lightbox-img { transform: scale(1); }
.lightbox-close {
    position: absolute; top: 20px; right: 30px; z-index: 10001;
    color: rgba(255,255,255,0.7); font-size: 3rem; cursor: pointer; font-weight: 300; line-height: 1;
    transition: color 0.2s;
}
.lightbox-close:hover { color: #fff; }

/* Footer */
.footer { background: var(--primary); color: #fff; padding: 60px 0 100px; font-weight: 400; font-size: 0.9rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 30px; display: flex; flex-direction: column; gap: 20px; }
@media(min-width:768px) {
    .footer-bottom { flex-direction: row; justify-content: space-between; align-items: flex-end; }
}
.f-info strong { display: inline-block; width: 70px; color: rgba(255,255,255,0.6); margin-bottom: 6px;}
.f-info span { font-family: 'Pretendard Variable', Pretendard, sans-serif; font-weight: 500; letter-spacing: 0.05em; }
.copyright { color: rgba(255,255,255,0.4); font-size: 0.8rem;}

/* Sticky CTA */
.sticky-cta {
    position: fixed; bottom: 0; left: 0; width: 100%; display: flex; z-index: 1000;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
}
.cta-btn {
    flex: 1; height: 60px; display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; font-weight: 700; border: none; cursor: pointer; transition: background 0.2s;
    font-family: 'Pretendard Variable', Pretendard, sans-serif;
}
.btn-reservation { background: var(--badge-bg); color: #fff; }
.btn-reservation:hover { background: var(--accent); }
.btn-call { background: var(--bg-main); color: var(--primary); border-top: 1px solid var(--border-color); }
.btn-call:hover { background: var(--bg-light); border-top: 1px solid var(--border-color);}

@media (min-width: 768px) {
    .sticky-cta {
        bottom: 50px; right: 50px; left: auto; transform: none;
        width: auto; flex-direction: column; align-items: flex-end; gap: 16px;
        box-shadow: none; border-radius: 0; background: transparent; overflow: visible;
    }
    .cta-btn {
        height: 64px; font-size: 1.15rem; letter-spacing: 0.05em;
        border-radius: 40px; padding: 0 36px;
        box-shadow: 0 10px 25px rgba(0,0,0,0.15);
        flex: none; width: auto;
    }
    .btn-call { border-top: none; border: 1px solid var(--border-color); }
}

/* Modal */
.modal {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    z-index: 2000; display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: all 0.3s;
}
.modal.active { opacity: 1; visibility: visible; }
.modal-overlay { position: absolute; width:100%; height:100%; background: rgba(0,0,0,0.6); backdrop-filter: blur(4px);}
.modal-content {
    background: #f9f8f4; width: 95%; max-width: 680px; border-radius: 8px;
    position: relative; z-index: 2001; padding: 40px;
    transform: translateY(20px); transition: transform 0.4s ease;
    box-shadow: var(--shadow-lg);
    max-height: 90vh; overflow-y: auto;
}
@media(max-width: 600px) {
    .modal-content { padding: 30px 20px; }
}
.modal.active .modal-content { transform: translateY(0); }
.modal-header { display: flex; justify-content: flex-end; align-items: center; margin-bottom: 5px; }
.modal-header h3 { display: none; }
.close-btn { background: none; border: none; font-size: 2.2rem; cursor: pointer; color: #999; transition: color 0.2s; padding: 0; line-height: 1;}
.close-btn:hover { color: #333; }

/* Form Layout */
.form-row { display: flex; flex-direction: column; gap: 0; }
@media(min-width: 600px) {
    .form-row { flex-direction: row; gap: 24px; }
    .form-row .form-group { flex: 1; margin-bottom: 24px; }
}

.form-group { margin-bottom: 24px; }
.form-group label { display: flex; align-items: center; gap: 6px; margin-bottom: 12px; font-size: 1rem; color: #164624; font-weight: 700; font-family: var(--font-sans);}
.form-group label svg { color: #164624; stroke: #164624; }
.form-group label .required { color: #e53935; margin-left: 2px;}

.form-group input[type="text"], .form-group input[type="tel"], .form-group select, .form-group textarea {
    width: 100%; padding: 14px 16px; border: 1px solid #e2ded3; border-radius: 4px;
    font-size: 1rem; font-family: var(--font-sans); transition: border 0.2s; background: #fff;
    color: var(--text-main); fill: none;
}
.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23666%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpolyline%20points%3D%226%209%2012%2015%2018%209%22%3E%3C%2Fpolyline%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
    padding-right: 40px;
}
.form-group textarea { resize: vertical; min-height: 120px; font-family: var(--font-sans); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: #164624; box-shadow: 0 0 0 2px rgba(22, 70, 36, 0.1); }

/* Radio Groups */
.radio-group { display: grid; gap: 8px; }
.size-group { grid-template-columns: repeat(3, 1fr); }
.time-group { grid-template-columns: repeat(2, 1fr); }

.radio-btn { position: relative; cursor: pointer; display: block; }
.radio-btn input { position: absolute; opacity: 0; cursor: pointer; }
.radio-btn span {
    display: flex; align-items: center; justify-content: center; text-align: center;
    padding: 14px 10px; background: #fff; border: 1px solid #e2ded3; border-radius: 4px;
    font-size: 0.95rem; color: #555; transition: all 0.2s;
    height: 100%; width: 100%; font-weight: 500; font-family: var(--font-sans);
}
.radio-btn input:checked ~ span {
    background: #093c15; color: #fff; border-color: #093c15; font-weight: 700;
}

/* Privacy Box */
.privacy-box {
    background: #edebe1; padding: 20px; border-radius: 4px; border: none;
    margin-bottom: 30px; display: flex; align-items: flex-start;
}
.checkbox-label {
    display: flex; align-items:flex-start; gap: 12px; cursor: pointer; position: relative;
    font-size: 0.9rem; color: #666; line-height: 1.6; font-family: var(--font-sans);
}
.checkbox-label input { position: absolute; opacity: 0; cursor: pointer; }
.custom-checkbox {
    width: 20px; height: 20px; background: #fff; border: 1px solid #ccc;
    border-radius: 4px; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
    transition: all 0.2s; margin-top: 2px;
}
.checkbox-label input:checked ~ .custom-checkbox {
    border-color: #093c15;
}
.checkbox-label input:checked ~ .custom-checkbox::after {
    content: "\2713"; color: #093c15; font-size: 16px; font-weight: 900;
}

.submit-btn {
    width: 100%; background: #093c15; color: #fff; border: none; border-radius: 4px;
    padding: 18px; font-size: 1.15rem; font-weight: 700; cursor: pointer;
    transition: background 0.2s; font-family: var(--font-sans); letter-spacing: 0.05em;
}
.submit-btn:hover { background: #062b0e; }

/* Mobile Modal Compression */
@media (max-width: 600px) {
    .modal-content { padding: 24px 16px; }
    .form-group { margin-bottom: 14px; }
    .form-group label { margin-bottom: 6px; font-size: 0.9rem; }
    
    .form-group input[type="text"], .form-group input[type="tel"], .form-group select, .form-group textarea {
        padding: 10px 12px; font-size: 0.9rem;
    }
    .form-group textarea { min-height: 80px; }
    
    .radio-group { gap: 6px; }
    .size-group { grid-template-columns: repeat(3, 1fr); }
    .time-group { grid-template-columns: repeat(2, 1fr); }
    .radio-btn span { padding: 10px 2px; font-size: 0.75rem; letter-spacing: -0.05em; line-height: 1.15; }
    
    .privacy-box { padding: 12px; margin-bottom: 16px; }
    .checkbox-label { font-size: 0.75rem; line-height: 1.4; gap: 8px; }
    .custom-checkbox { width: 18px; height: 18px; }
    .checkbox-label input:checked ~ .custom-checkbox::after { font-size: 12px; }
    
    .submit-btn { padding: 14px; font-size: 1.05rem; }
}

/* Scroll Animation */
.fade-up-section {
    opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-up-section.visible { opacity: 1; transform: translateY(0); }
