:root {
  --header-height: 4rem;
  --brand-navy: #0a1a2f;
  --body-text: #333333;
}

@media (min-width: 640px) {
  :root {
    --header-height: 4.5rem;
  }
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--brand-navy);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.2;
}

section[id] {
  scroll-margin-top: var(--header-height);
}

.container-brand {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(1rem, 3vw, 1.5rem);
}

@media (min-width: 1280px) {
  .container-brand {
    max-width: 1280px;
  }
}

.section-pad {
  padding-block: clamp(3.5rem, 6vw, 5rem);
}

.safe-top {
  padding-top: env(safe-area-inset-top, 0px);
}

.btn-primary {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.375rem;
  border: 1px solid #c9a961;
  background: #c9a961;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #0a1a2f;
  transition: background 0.2s, border-color 0.2s;
}

.btn-primary:hover {
  background: #a78643;
  border-color: #a78643;
}

.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-secondary {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.375rem;
  border: 1px solid #c9a961;
  background: transparent;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #c9a961;
  transition: background 0.2s;
}

.btn-secondary:hover {
  background: rgba(201, 169, 97, 0.1);
  color: #a78643;
}

.lang-switch {
  display: inline-flex;
  border-radius: 0.375rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.125rem;
}

.lang-switch button {
  min-height: 2.25rem;
  min-width: 2.25rem;
  border-radius: 0.25rem;
  padding: 0 0.625rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
}

.lang-switch button.active {
  background: #c9a961;
  color: #0a1a2f;
}

#contact-modal.flex {
  display: flex;
}

.faq-panel {
  display: grid;
  transition: grid-template-rows 0.3s;
}

.faq-panel.closed {
  grid-template-rows: 0fr;
}

.faq-panel.open {
  grid-template-rows: 1fr;
}

.faq-panel > div {
  overflow: hidden;
}
