@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:wght@400;500;600&display=swap');

:root {
  --font-size: 16px;
  --background: #F7F3EF;
  --foreground: #3B2E2A;
  --card: #ffffff;
  --primary: #C3A27A;
  --primary-dark: #AE8C67;
  --muted: #ece8e4;
  --muted-foreground: #7a6f6b;
  --border: #C3A27A;
  --ring: #C3A27A;
  --radius: 0.625rem;
}

* {
  box-sizing: border-box;
}

body {
  background: var(--background);
  color: var(--foreground);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 300;
  margin: 0;
}

body.is-modal-open {
  overflow: hidden;
}

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

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

button {
  font-family: inherit;
}

.site-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-footer {
  margin-top: auto;
}

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

.section-tagline {
  color: var(--primary);
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  line-height: 1.4;
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  font-weight: 400;
  line-height: 1.2;
  margin: 0 0 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 8px;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  background: transparent;
  box-shadow: none;
}

.button-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.button-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  box-shadow: none;
}

.button-outline {
  border-color: var(--border);
  color: var(--foreground);
  background: transparent;
}

.button-outline:hover,
.button-outline:focus-visible,
.button.button-outline:hover,
.button.button-outline:focus-visible,
a.button.button-outline:hover,
button.button.button-outline:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff;
}

.button-full {
  width: 100%;
}

.is-hidden {
  display: none;
}

.icon {
  width: 16px;
  height: 16px;
  display: inline-block;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: space-between;
}

.form-label {
  font-size: 14px;
  font-weight: 500;
}

.form-input,
.form-select,
.form-textarea {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 14px;
  font-family: inherit;
  background: #fff;
  color: var(--foreground);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus,
.form-input:focus-visible,
.form-select:focus,
.form-select:focus-visible,
.form-textarea:focus,
.form-textarea:focus-visible {
  border-color: rgba(195, 162, 122, 0.8);
  box-shadow: 0 0 0 2px rgba(195, 162, 122, 0.35);
}

.custom-select {
  position: relative;
  width: 100%;
}

.custom-select select.form-select {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  width: 100%;
  height: 100%;
}

.custom-select-trigger {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 14px;
  font-family: inherit;
  background: #fff;
  color: var(--foreground);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  text-align: left;
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.custom-select-trigger:focus,
.custom-select-trigger:focus-visible {
  border-color: rgba(195, 162, 122, 0.8);
  box-shadow: 0 0 0 2px rgba(195, 162, 122, 0.35);
}

.custom-select-value {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.custom-select-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 16px 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%233B2E2A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
}

.custom-select-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 50;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
  max-height: 240px;
  overflow-y: auto;
  display: none;
}

.custom-select.is-open .custom-select-dropdown {
  display: block;
}

.custom-select-option {
  width: 100%;
  border: none;
  background: transparent;
  text-align: left;
  font: inherit;
  color: inherit;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 300;
}

.custom-select-option:hover,
.custom-select-option:focus-visible {
  background: #f7f3ef;
  outline: none;
}

.custom-select-option.is-selected {
  background: #f7f3ef;
}

.custom-select-option.is-disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.custom-select.is-disabled .custom-select-trigger {
  opacity: 0.6;
  cursor: not-allowed;
}

.custom-select-group-label {
  padding: 6px 12px 4px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-foreground);
}

.form-textarea {
  resize: vertical;
}

.form-file {
  font-size: 14px;
}

.form-checkbox {
  display: flex;
  gap: 8px;
  font-size: 12px;
  color: var(--muted-foreground);
  align-items: flex-start;
}

.form-checkbox input {
  margin-top: 3px;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 4px;
  border: 1px solid var(--border);
  background: #fff;
  display: inline-grid;
  place-content: center;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  cursor: pointer;
}

.form-checkbox input::after {
  content: "";
  width: 6px;
  height: 10px;
  border: 1px solid #fff;
  border-top: 0;
  border-left: 0;
  transform: rotate(45deg) translateY(-2px) translateX(-2px);
  opacity: 0;
  transition: opacity 0.15s ease;
}

.form-checkbox input:checked {
  background: var(--primary);
  border-color: var(--primary);
}

.form-checkbox input:checked::after {
  opacity: 1;
}

.form-checkbox input:focus-visible {
  border-color: rgba(195, 162, 122, 0.8);
  box-shadow: 0 0 0 2px rgba(195, 162, 122, 0.35);
}

.form-checkbox a {
  color: var(--primary);
}

.form-note {
  font-size: 12px;
  color: var(--muted-foreground);
  margin: 8px 0;
}

.gallery-data {
  display: none;
}

@media (max-width: 1710px) {
  .site-container {
    max-width: 1200px;
  }
}

@media (max-width: 1090px) {
  .site-container {
    max-width: 100%;
    padding: 0 16px;
  }
  .section-title {
    font-size: 36px;
  }

  .section-tagline {
    font-size: 26px;
  }
}