/* ===================================
   DESIGN SYSTEM / VARIABLES
   =================================== */
:root {
  --color-primary: #2d5a3d;
  --color-primary-light: #3a7a50;
  --color-primary-dark: #1e3d2a;
  --color-secondary: #c8a96e;
  --color-secondary-light: #e0c98e;
  --color-accent: #d4756b;
  --color-bg: #faf9f6;
  --color-bg-alt: #f0efe9;
  --color-text: #2c2c2c;
  --color-text-light: #6b6b6b;
  --color-text-muted: #999;
  --color-white: #ffffff;
  --color-border: #e0ddd5;
  --color-success: #4a9e6b;
  --color-error: #d4756b;
  --color-overlay: rgba(30, 30, 30, 0.7);

  --font-heading: 'Georgia', 'Times New Roman', serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, sans-serif;

  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --shadow-xl: 0 12px 40px rgba(0,0,0,0.15);

  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;

  --max-width: 1200px;
  --header-height: 70px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); color: var(--color-text); background-color: var(--color-bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: color var(--transition-fast); }
a:hover { color: var(--color-primary-light); }
button { cursor: pointer; border: none; background: none; font-family: inherit; font-size: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }
ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 400; line-height: 1.2; color: var(--color-text); }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: 1.25rem; }
p { margin-bottom: var(--space-md); }

.section-title { text-align: center; margin-bottom: var(--space-2xl); }
.section-title h2 { margin-bottom: var(--space-sm); }
.section-title p { color: var(--color-text-light); max-width: 600px; margin: 0 auto; }

.container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 var(--space-lg); }
.section { padding: var(--space-4xl) 0; }
.section-alt { background-color: var(--color-bg-alt); }
.grid { display: grid; gap: var(--space-xl); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.contact-grid { display: grid; gap: var(--space-3xl); grid-template-columns: 1fr 1.5fr; }
@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-sm); padding: 0.75rem 1.75rem; border-radius: var(--radius-md); font-weight: 500; font-size: 0.95rem; letter-spacing: 0.02em; transition: all var(--transition-base); white-space: nowrap; }
.btn-primary { background-color: var(--color-primary); color: var(--color-white); }
.btn-primary:hover { background-color: var(--color-primary-light); color: var(--color-white); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-secondary { background-color: var(--color-secondary); color: var(--color-white); }
.btn-secondary:hover { background-color: var(--color-secondary-light); color: var(--color-white); transform: translateY(-1px); }
.btn-outline { border: 2px solid var(--color-primary); color: var(--color-primary); background: transparent; }
.btn-outline:hover { background-color: var(--color-primary); color: var(--color-white); }
.btn-sm { padding: 0.5rem 1.25rem; font-size: 0.85rem; }
.btn-lg { padding: 1rem 2.25rem; font-size: 1.05rem; }

.card { background: var(--color-white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: all var(--transition-base); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-image { position: relative; overflow: hidden; aspect-ratio: 16/10; }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-slow); }
.card:hover .card-image img { transform: scale(1.05); }
.card-badge { position: absolute; top: var(--space-md); left: var(--space-md); background: var(--color-primary); color: var(--color-white); padding: 0.25rem 0.75rem; border-radius: var(--radius-full); font-size: 0.8rem; font-weight: 500; }
.card-price { position: absolute; bottom: var(--space-md); right: var(--space-md); background: var(--color-white); color: var(--color-text); padding: 0.35rem 0.85rem; border-radius: var(--radius-full); font-weight: 600; font-size: 0.95rem; box-shadow: var(--shadow-sm); }
.card-price span { font-weight: 400; font-size: 0.8rem; color: var(--color-text-light); }
.card-body { padding: var(--space-lg); }
.card-title { font-family: var(--font-heading); font-size: 1.2rem; margin-bottom: var(--space-sm); }
.card-title a { color: var(--color-text); }
.card-title a:hover { color: var(--color-primary); }
.card-location { color: var(--color-text-light); font-size: 0.9rem; margin-bottom: var(--space-sm); display: flex; align-items: center; gap: var(--space-xs); }
.card-features { display: flex; gap: var(--space-md); flex-wrap: wrap; margin-top: var(--space-md); padding-top: var(--space-md); border-top: 1px solid var(--color-border); }
.card-feature { display: flex; align-items: center; gap: var(--space-xs); font-size: 0.85rem; color: var(--color-text-light); }

.form-group { margin-bottom: var(--space-lg); }
.form-label { display: block; margin-bottom: var(--space-sm); font-weight: 500; font-size: 0.9rem; color: var(--color-text); }
.form-input, .form-textarea, .form-select { width: 100%; padding: 0.75rem 1rem; border: 1.5px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-white); color: var(--color-text); transition: border-color var(--transition-fast), box-shadow var(--transition-fast); }
.form-input:focus, .form-textarea:focus, .form-select:focus { border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(45, 90, 61, 0.1); outline: 2px solid var(--color-primary); outline-offset: 2px; }
.form-input.error, .form-textarea.error { border-color: var(--color-error); }
.form-error { color: var(--color-error); font-size: 0.8rem; margin-top: var(--space-xs); display: none; }
.form-error.visible { display: block; }
.form-textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-md); }
.form-success { background: #e8f5e9; color: var(--color-success); padding: var(--space-md); border-radius: var(--radius-md); text-align: center; display: none; }
.form-success.visible { display: block; }

.house-selection { margin-bottom: var(--space-2xl); }
.house-fieldset { border: none; padding: 0; margin: 0; }
.house-legend { font-size: 1.1rem; font-weight: 600; color: var(--color-text); margin-bottom: var(--space-lg); display: block; }
.house-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-md); }
.house-option { cursor: pointer; display: flex; width: 100%; }
.house-option input[type="radio"] { position: absolute; opacity: 0; width: 0; height: 0; }
.house-card { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: var(--space-xl); border: 2px solid var(--color-border); border-radius: var(--radius-lg); background: var(--color-white); text-align: center; transition: all var(--transition-base); height: 100%; width: 100%; }
.house-card .house-name { font-family: var(--font-heading); font-size: 1.1rem; margin-bottom: var(--space-xs); color: var(--color-text); }
.house-card .house-desc { font-size: 0.85rem; color: var(--color-text-light); margin: 0; }
.house-option input[type="radio"]:checked + .house-card { border-color: var(--color-primary); background: rgba(45, 90, 61, 0.04); box-shadow: 0 0 0 3px rgba(45, 90, 61, 0.1); }
.house-option input[type="radio"]:checked + .house-card .house-name { color: var(--color-primary); }
.house-option input[type="radio"]:focus-visible + .house-card { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.house-card:hover { border-color: var(--color-primary-light); }
.calendar { background: var(--color-white); border-radius: var(--radius-lg); padding: var(--space-lg); box-shadow: var(--shadow-sm); }
.calendar-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--space-lg); }
.calendar-header h4 { font-family: var(--font-heading); }
.calendar-nav { display: flex; gap: var(--space-sm); }
.calendar-nav button { width: 36px; height: 36px; border-radius: var(--radius-full); display: flex; align-items: center; justify-content: center; background: var(--color-bg-alt); color: var(--color-text); transition: all var(--transition-fast); }
.calendar-nav button:hover { background: var(--color-primary); color: var(--color-white); }
.calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.calendar-day-name { text-align: center; font-size: 0.75rem; font-weight: 600; color: var(--color-text-light); text-transform: uppercase; padding: var(--space-sm); }
.calendar-day { text-align: center; padding: var(--space-sm); border-radius: var(--radius-md); font-size: 0.9rem; cursor: default; transition: all var(--transition-fast); }
.calendar-day.available { cursor: pointer; color: var(--color-text); }
.calendar-day.available:hover { background: var(--color-bg-alt); }
.calendar-day.booked { color: var(--color-text-muted); background: #fde8e8; }
.calendar-day.today { background: var(--color-primary); color: var(--color-white); font-weight: 600; }
.calendar-day.selected { background: var(--color-secondary); color: var(--color-white); font-weight: 600; }
.calendar-day.in-range { background: var(--color-secondary); color: var(--color-white); font-weight: 600; }
.calendar-day.loading-cell { background: var(--color-bg-alt); position: relative; overflow: hidden; }
.calendar-day.loading-cell::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: shimmer 1.5s infinite;
}
@keyframes shimmer {
  100% { left: 100%; }
}
.calendar-legend { display: flex; gap: var(--space-lg); margin-top: var(--space-lg); padding-top: var(--space-lg); border-top: 1px solid var(--color-border); flex-wrap: wrap; }
.legend-item { display: flex; align-items: center; gap: var(--space-sm); font-size: 0.8rem; color: var(--color-text-light); }
.legend-dot { width: 12px; height: 12px; border-radius: var(--radius-sm); }
.legend-dot.available-dot { background: var(--color-bg-alt); border: 1.5px solid var(--color-border); }
.legend-dot.booked-dot { background: #fde8e8; border: 1.5px solid var(--color-border); }
.legend-dot.today-dot { background: var(--color-primary); }

.hero { position: relative; min-height: 90vh; display: flex; align-items: flex-start; justify-content: center; overflow: hidden; background: var(--color-primary-dark); }
.hero-bg { position: absolute; inset: 0; z-index: 1; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.5; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.5) 100%); z-index: 2; }
.hero-content { position: relative; z-index: 3; text-align: center; color: var(--color-white); max-width: 700px; padding: var(--space-xl); padding-top: 15vh; }
.hero-content h1 { color: var(--color-white); margin-bottom: var(--space-md); }
.hero-content p { font-size: 1.15rem; opacity: 0.9; margin-bottom: var(--space-2xl); }
.hero-cta { display: flex; gap: var(--space-md); justify-content: center; flex-wrap: wrap; }
.hero-features { position: absolute; bottom: var(--space-2xl); left: 0; right: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-md); justify-content: center; z-index: 3; padding: 0 var(--space-lg); max-width: 700px; margin: 0 auto; }
.hero-feature { display: flex; align-items: center; gap: var(--space-md); color: var(--color-white); font-size: 1.1rem; font-weight: 500; background: rgba(255,255,255,0.08); padding: var(--space-md) var(--space-lg); border-radius: var(--radius-lg); backdrop-filter: blur(4px); }
.hero-feature-icon { width: 28px; height: 28px; flex-shrink: 0; }
.hero-feature a { color: var(--color-white); text-decoration: underline; }
.hero-feature a:hover { opacity: 0.8; }
@media (max-width: 768px) {
  .hero-features { grid-template-columns: 1fr; }
  .hero-feature { font-size: 1rem; }
}

/* Language Switcher */
.lang-switcher { position: relative; margin-right: var(--space-md); }
.lang-switcher-btn { display: flex; align-items: center; gap: 4px; padding: 6px 12px; border: 1px solid rgba(255,255,255,0.3); border-radius: var(--radius-md); background: transparent; color: var(--color-white); font-size: 0.85rem; font-weight: 500; cursor: pointer; transition: all var(--transition-fast); }
.header-light .lang-switcher-btn { border-color: var(--color-border); color: var(--color-text); }
.lang-switcher-btn:hover { background: rgba(255,255,255,0.1); }
.header-light .lang-switcher-btn:hover { background: var(--color-bg-alt); }
.lang-switcher-btn svg { width: 12px; height: 12px; }
.lang-switcher-dropdown { position: absolute; top: 100%; right: 0; margin-top: 4px; background: var(--color-white); border-radius: var(--radius-md); box-shadow: var(--shadow-lg); border: 1px solid var(--color-border); min-width: 140px; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: all var(--transition-fast); z-index: 1001; }
.lang-switcher-dropdown.open { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-switcher-dropdown a { display: flex; align-items: center; justify-content: space-between; padding: 10px 16px; color: var(--color-text); font-size: 0.9rem; text-decoration: none; transition: background var(--transition-fast); }
.lang-switcher-dropdown a:hover { background: var(--color-bg-alt); }
.lang-switcher-dropdown a.active { background: var(--color-bg-alt); font-weight: 600; }
.lang-switcher-dropdown a .lang-label { display: flex; align-items: center; gap: 8px; }
.lang-switcher-dropdown a .lang-flag { font-size: 1.1rem; }

.header { position: fixed; top: 0; left: 0; right: 0; height: var(--header-height); z-index: 1000; transition: all var(--transition-base); }
.header-light { background: var(--color-white); }
.header-light .header-logo { color: var(--color-text); }
.header-light .nav-link { color: var(--color-text); }
.header-light .nav-link.active { color: var(--color-primary); }
.header-light .hamburger span { background: var(--color-text); }
.header.scrolled { background: var(--color-white); box-shadow: var(--shadow-md); }
.header.scrolled .header-logo { color: var(--color-text); }
.header.scrolled .nav-link { color: var(--color-text); }
.header.scrolled .nav-link.active { color: var(--color-primary); }
.header.scrolled .hamburger span { background: var(--color-text); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 var(--space-lg); }
.header-logo { font-family: var(--font-heading); font-size: 1.35rem; color: var(--color-white); font-weight: 400; transition: color var(--transition-base); }
.nav { display: flex; align-items: center; gap: var(--space-xl); }
.nav-link { color: var(--color-white); font-size: 0.9rem; font-weight: 500; transition: color var(--transition-fast); position: relative; }
.nav-link::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--color-secondary); transition: width var(--transition-base); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-link:hover { color: var(--color-secondary-light); }
.hamburger { display: none; flex-direction: column; gap: 5px; padding: var(--space-sm); z-index: 1001; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--color-white); transition: all var(--transition-base); }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav { position: fixed; top: 0; right: -100%; width: 280px; height: 100vh; background: var(--color-white); flex-direction: column; justify-content: center; gap: var(--space-xl); transition: right var(--transition-base); box-shadow: var(--shadow-xl); }
  .nav.open { right: 0; }
  .nav-link { color: var(--color-text) !important; font-size: 1.1rem; }
  .nav-overlay { display: none; position: fixed; inset: 0; background: var(--color-overlay); z-index: 999; }
  .nav-overlay.visible { display: block; }
}

.footer { background: var(--color-primary-dark); color: rgba(255,255,255,0.8); padding: var(--space-4xl) 0 var(--space-xl); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--space-2xl); margin-bottom: var(--space-3xl); }
.footer-brand h3 { color: var(--color-white); font-size: 1.4rem; margin-bottom: var(--space-md); }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; opacity: 0.8; }
.footer h4 { color: var(--color-white); font-size: 1rem; margin-bottom: var(--space-lg); font-family: var(--font-body); font-weight: 600; }
.footer-links li { margin-bottom: var(--space-sm); }
.footer-links a { color: rgba(255,255,255,0.85); font-size: 0.9rem; transition: color var(--transition-fast); }
.footer-links a:hover { color: var(--color-secondary-light); }

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

.lightbox { position: fixed; inset: 0; background: var(--color-overlay); z-index: 2000; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: all var(--transition-base); }
.lightbox.active { opacity: 1; visibility: visible; }
.lightbox-content { max-width: 90vw; max-height: 90vh; position: relative; }
.lightbox-content img { max-width: 90vw; max-height: 85vh; object-fit: contain; border-radius: var(--radius-md); }
.lightbox-close { position: absolute; top: -40px; right: 0; color: var(--color-white); font-size: 1.5rem; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius-full); background: rgba(255,255,255,0.15); transition: background var(--transition-fast); }
.lightbox-close:hover { background: rgba(255,255,255,0.3); }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); color: var(--color-white); font-size: 2rem; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius-full); background: rgba(255,255,255,0.15); transition: background var(--transition-fast); }
.lightbox-nav:hover { background: rgba(255,255,255,0.3); }
.lightbox-prev { left: -60px; }
.lightbox-next { right: -60px; }

.gallery-carousel { position: relative; width: 100%; height: 70vh; overflow: hidden; background: var(--color-primary-dark); }
.gallery-carousel-track { display: flex; height: 100%; transition: transform 0.5s ease; }
.gallery-slide { min-width: 100%; height: 100%; position: relative; z-index: 1; }
.gallery-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 50px; height: 50px; border-radius: var(--radius-full); background: rgba(255,255,255,0.15); color: var(--color-white); font-size: 1.5rem; font-weight: 700; display: flex; align-items: center; justify-content: center; transition: all var(--transition-fast); z-index: 10; cursor: pointer; border: none; pointer-events: auto; }
.gallery-btn:hover { background: rgba(255,255,255,0.3); }
.gallery-btn:focus { outline: 2px solid var(--color-white); outline-offset: 2px; }
.gallery-prev { left: var(--space-lg); }
.gallery-next { right: var(--space-lg); }
.gallery-dots { position: absolute; bottom: var(--space-xl); left: 50%; transform: translateX(-50%); display: flex; gap: var(--space-sm); z-index: 10; }
.gallery-dot { width: 10px; height: 10px; border-radius: var(--radius-full); background: rgba(255,255,255,0.4); cursor: pointer; transition: all var(--transition-fast); border: 2px solid transparent; }
.gallery-dot.active { background: var(--color-white); transform: scale(1.2); }
.gallery-dot:focus-visible { outline: 2px solid var(--color-white); outline-offset: 2px; }
.gallery-counter { position: absolute; top: var(--space-xl); right: var(--space-xl); color: var(--color-white); font-size: 0.9rem; font-weight: 500; background: rgba(0,0,0,0.3); padding: var(--space-sm) var(--space-md); border-radius: var(--radius-full); z-index: 10; letter-spacing: 0.05em; }
.gallery-main { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: var(--space-md); }
.gallery-main img { width: 100%; aspect-ratio: 16/9; object-fit: cover; cursor: zoom-in; transition: transform var(--transition-slow); }
.gallery-main img:hover { transform: scale(1.02); }
.gallery-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: var(--space-sm); }
.gallery-thumbs img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius-sm); cursor: pointer; opacity: 0.6; transition: all var(--transition-fast); border: 2px solid transparent; }
.gallery-thumbs img:hover, .gallery-thumbs img.active { opacity: 1; border-color: var(--color-primary); }

.map-container { border-radius: var(--radius-lg); overflow: hidden; }
.map-container iframe { width: 100%; height: 450px; border-radius: var(--radius-lg); }

.amenities-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: var(--space-md); }
.amenity { display: flex; align-items: center; gap: var(--space-sm); padding: var(--space-md); background: var(--color-white); border-radius: var(--radius-md); font-size: 0.9rem; }
.amenity svg { width: 20px; height: 20px; color: var(--color-primary); flex-shrink: 0; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-xl); text-align: center; }
.stat-item h3 { font-size: 2.5rem; color: var(--color-primary); margin-bottom: var(--space-xs); }
.stat-item p { color: var(--color-text-light); font-size: 0.9rem; }
@media (max-width: 768px) { .stats { grid-template-columns: repeat(2, 1fr); } }

.testimonial { background: var(--color-white); padding: var(--space-2xl); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); text-align: center; }
.testimonial-text { font-style: italic; color: var(--color-text-light); margin-bottom: var(--space-lg); font-size: 1.05rem; line-height: 1.7; }
.testimonial-author { font-weight: 600; color: var(--color-text); }
.testimonial-role { font-size: 0.85rem; color: var(--color-text-muted); }

.page-hero { padding: calc(var(--header-height) + var(--space-3xl)) 0 var(--space-3xl); text-align: center; background: var(--color-bg-alt); }
.page-hero h1 { margin-bottom: var(--space-md); }
.page-hero p { color: var(--color-text-light); max-width: 600px; margin: 0 auto; }

.inquiry-section { background: var(--color-white); border-radius: var(--radius-xl); padding: var(--space-2xl); box-shadow: var(--shadow-md); }
.inquiry-section h3 { margin-bottom: var(--space-lg); text-align: center; }

.text-center { text-align: center; }
.text-left { text-align: left; }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.hidden { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.animate-in { animation: fadeInUp 0.6s ease forwards; }
.stagger-children > * { opacity: 0; animation: fadeInUp 0.5s ease forwards; }
.stagger-children > *:nth-child(1) { animation-delay: 0.05s; }
.stagger-children > *:nth-child(2) { animation-delay: 0.1s; }
.stagger-children > *:nth-child(3) { animation-delay: 0.15s; }
.stagger-children > *:nth-child(4) { animation-delay: 0.2s; }
.stagger-children > *:nth-child(5) { animation-delay: 0.25s; }
.stagger-children > *:nth-child(6) { animation-delay: 0.3s; }

@media (max-width: 768px) {
  :root { --header-height: 60px; }
  .section { padding: var(--space-3xl) 0; }
  .hero { min-height: 80vh; }
  .form-row { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; align-items: center; }
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
  .house-options { grid-template-columns: 1fr; }
  .house-card { min-height: 80px; padding: var(--space-md); }
}
@media (max-width: 480px) {
  .container { padding: 0 var(--space-md); }
  .card-body { padding: var(--space-md); }
  .inquiry-section { padding: var(--space-lg); }
}
.g-recaptcha {
  margin: var(--space-md) 0;
  transform: scale(1);
  transform-origin: 0 0;
}
@media (max-width: 400px) {
  .g-recaptcha {
    transform: scale(0.77);
    transform-origin: 0 0;
  }
}
