@font-face {
  font-display: swap;
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 300;
  src: url("/assets/cormorant-garamond-v21-latin-300-fde2a422.ttf") format("truetype");
}

@font-face {
  font-display: swap;
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 400;
  src: url("/assets/cormorant-garamond-v21-latin-400-c74bb3c6.ttf") format("truetype");
}

@font-face {
  font-display: swap;
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500;
  src: url("/assets/cormorant-garamond-v21-latin-500-afa06bf5.ttf") format("truetype");
}

@font-face {
  font-display: swap;
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 600;
  src: url("/assets/cormorant-garamond-v21-latin-600-f666dfd0.ttf") format("truetype");
}

@font-face {
  font-display: swap;
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 700;
  src: url("/assets/cormorant-garamond-v21-latin-700-5aae9953.ttf") format("truetype");
}

@font-face {
  font-display: swap;
  font-family: "Inter";
  font-style: normal;
  font-weight: 300;
  src: url("/assets/inter-v20-latin-300-48c67cc5.ttf") format("truetype");
}

@font-face {
  font-display: swap;
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  src: url("/assets/inter-v20-latin-400-aae987c2.ttf") format("truetype");
}

@font-face {
  font-display: swap;
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  src: url("/assets/inter-v20-latin-500-a8cf8311.ttf") format("truetype");
}

@font-face {
  font-display: swap;
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  src: url("/assets/inter-v20-latin-600-975877f6.ttf") format("truetype");
}

@font-face {
  font-display: swap;
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  src: url("/assets/inter-v20-latin-700-04d93cbc.ttf") format("truetype");
}

:root {
  --background: #f7f2ec;
  --background-strong: #efe6db;
  --surface: rgba(255, 251, 247, 0.9);
  --surface-strong: #f2e7db;
  --surface-dark: #221b18;
  --foreground: #2d2521;
  --foreground-soft: #6b6159;
  --border: rgba(72, 53, 37, 0.14);
  --border-strong: rgba(72, 53, 37, 0.22);
  --gold: #b8935b;
  --gold-light: #d8bd8f;
  --gold-dark: #8f7045;
  --accent: #e8dacc;
  --accent-strong: #dcc5ae;
  --success: #166534;
  --info: #075985;
  --danger: #991b1b;
  --shadow-soft: 0 20px 55px rgba(40, 27, 18, 0.08);
  --shadow-elevated: 0 28px 80px rgba(40, 27, 18, 0.12);
  --gradient-warm: linear-gradient(180deg, #faf6f1 0%, #f3ebe1 100%);
  --gradient-hero: linear-gradient(
    135deg,
    rgba(250, 246, 241, 0.94) 0%,
    rgba(246, 237, 229, 0.85) 52%,
    rgba(233, 219, 205, 0.74) 100%
  );
  --radius-sm: 1rem;
  --radius-md: 1.5rem;
  --radius-lg: 2rem;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Inter", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background:
    radial-gradient(
      circle at top left,
      rgba(216, 189, 143, 0.18),
      transparent 28%
    ),
    radial-gradient(
      circle at top right,
      rgba(225, 200, 176, 0.18),
      transparent 24%
    ),
    var(--gradient-warm);
  color: var(--foreground);
  font-family: var(--font-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
svg {
  max-width: 100%;
}

img {
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition:
    color 0.2s ease,
    opacity 0.2s ease,
    border-color 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

a.with-decoration {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--gold-dark);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 0.65em;
  color: var(--foreground);
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

h1 {
  font-size: clamp(2.75rem, 6vw, 5.5rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  scroll-margin-top: 8rem;
}

h3 {
  font-size: clamp(1.45rem, 2.2vw, 2rem);
}

p {
  margin: 0 0 1rem;
  color: var(--foreground-soft);
}

ul,
ol {
  padding-left: 1.25rem;
}

strong {
  color: var(--foreground);
}

main h1,
main p {
  overflow-wrap: break-word;
}

header,
section,
footer {
  padding: 0;
}

.container,
.page-shell {
  width: min(100% - 2rem, 74rem);
  margin: 0 auto;
}

.page-shell {
  padding-bottom: 5rem;
}

.section-header {
  max-width: 42rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.section-label,
.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.section-title {
  margin-bottom: 0.75rem;
}

.section-copy {
  font-size: 1.05rem;
}

.section-divider {
  width: 4.5rem;
  height: 1px;
  margin-top: 1.25rem;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.summary-card,
.success-card {
  background: var(--surface);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

form {
  width: min(100%, 44rem);
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.25rem);
  box-shadow: var(--shadow-soft);
}

form.bare {
  width: auto;
  background: none;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

form label,
.label {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--foreground);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

form input[type="text"],
form input[type="email"],
form input[type="tel"],
form input[type="password"],
form input[type="number"],
form input[type="url"],
form input[type="date"],
form input[type="time"],
form input[type="file"],
form textarea,
form select,
.input {
  width: 100%;
  min-height: 3.4rem;
  padding: 0.95rem 1rem;
  margin-bottom: 1.2rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(72, 53, 37, 0.12);
  border-radius: 1rem;
  color: var(--foreground);
  font: inherit;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

form textarea,
textarea.input {
  min-height: 10rem;
  resize: vertical;
}

form input:focus,
form textarea:focus,
form select:focus,
.input:focus {
  outline: none;
  border-color: rgba(184, 147, 91, 0.75);
  box-shadow: 0 0 0 4px rgba(184, 147, 91, 0.14);
  background: rgba(255, 255, 255, 0.96);
}

form input[type="checkbox"],
form input[type="radio"] {
  margin: 0.1rem 0.7rem 0 0;
  accent-color: var(--gold-dark);
}

form .field_with_errors {
  display: flex;
  flex-direction: column;
}

form .field_with_errors input,
form .field_with_errors textarea,
form .field_with_errors select {
  background-color: #fff3f2;
  border-color: rgba(153, 27, 27, 0.35);
  box-shadow: 0 0 0 4px rgba(153, 27, 27, 0.08);
}

form .field_with_errors input[type="url"],
form .field_with_errors input[type="date"],
form .field_with_errors input[type="time"] {
  background-color: #fff3f2;
  border-color: rgba(153, 27, 27, 0.35);
  box-shadow: 0 0 0 4px rgba(153, 27, 27, 0.08);
}

.error-message {
  margin: -0.55rem 0 0.75rem;
  color: var(--danger);
  font-size: 0.88rem;
  font-weight: 500;
}

.required-fields-note {
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
}

.required-indicator {
  color: var(--danger);
  font-weight: 700;
}

.contact-form-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding: 1rem 1.1rem;
  background: rgba(255, 255, 255, 0.54);
  border: 1px solid rgba(72, 53, 37, 0.1);
  border-radius: 1rem;
}

.option input[type="checkbox"],
.option input[type="radio"] {
  margin: 0;
  flex-shrink: 0;
}

.option label {
  display: flex;
  align-items: center;
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: normal;
  text-transform: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.5rem;
  padding: 0.5rem 1rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--foreground);
  color: #fffaf4;
  cursor: pointer;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: 0 16px 36px rgba(45, 37, 33, 0.12);
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.btn:hover {
  color: #fffaf4;
  box-shadow: 0 16px 36px rgba(45, 37, 33, 0.12);
}

.btn:disabled {
  cursor: wait;
  opacity: 0.65;
}

.btn-primary,
.btn-taupe {
  background: var(--gold);
  color: #fffaf4;
}

.btn-primary:hover,
.btn-taupe:hover {
  background: var(--gold-dark);
  color: #fffaf4;
}

.btn-secondary {
  background: rgba(255, 251, 247, 0.82);
  border-color: rgba(72, 53, 37, 0.12);
  color: var(--foreground);
  box-shadow: none;
}

.btn-secondary:hover {
  color: var(--foreground);
  background: rgba(239, 232, 223, 0.96);
  border-color: rgba(72, 53, 37, 0.2);
  box-shadow: none;
}

.btn-light {
  background: rgba(255, 251, 247, 0.94);
  border-color: rgba(72, 53, 37, 0.12);
  color: var(--foreground);
  box-shadow: none;
}

.btn-light:hover {
  background: rgba(232, 224, 217, 1);
  border-color: rgba(232, 224, 217, 1);
  color: var(--foreground);
  box-shadow: none;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.summary-card {
  width: min(100%, 52rem);
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

.summary-title {
  margin-bottom: 0.5rem;
}

.summary-table {
  display: grid;
  gap: 0.8rem;
  margin: 1.75rem 0;
}

.summary-row {
  display: grid;
  grid-template-columns: minmax(8rem, 0.8fr) 1fr;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(72, 53, 37, 0.09);
}

.summary-cell {
  word-break: break-word;
}

.flash-stack {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.flash-stack .alert,
.container-head .alert {
  position: relative;
  margin: 0;
  padding: 0.95rem 1rem 0.95rem 1.2rem;
  border: 1px solid transparent;
  border-radius: 1.1rem;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
  font-size: 0.93rem;
  font-weight: 600;
  line-height: 1.45;
}

.flash-stack .alert::before,
.container-head .alert::before {
  content: "";
  position: absolute;
  top: 0.7rem;
  left: 0.45rem;
  bottom: 0.7rem;
  width: 4px;
  border-radius: 999px;
  background: currentcolor;
  opacity: 0.72;
}

.alert-success {
  background: #f0fdf4;
  border-color: #bbf7d0;
  color: var(--success);
}

.alert-info {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: var(--info);
}

.alert-danger {
  background: #fef2f2;
  border-color: #fecaca;
  color: var(--danger);
}

.margin-top-0 {
  margin-top: 0;
}

.no-margin {
  margin: 0 !important;
}

@media (max-width: 768px) {
  .container,
  .page-shell {
    width: min(100% - 1.25rem, 74rem);
  }

  form {
    padding: 1.35rem;
  }

  .btn,
  form input[type="submit"] {
    width: 100%;
  }

  .summary-row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
}
