@font-face {
  font-family: "Frank Ruhl Libre";
  src: url("../fonts/FrankRuhlLibre.ttf") format("truetype");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Heebo";
  src: url("../fonts/Heebo.ttf") format("truetype");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Suez One";
  src: url("../fonts/SuezOne.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

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

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Heebo", system-ui, sans-serif;
  background: linear-gradient(165deg, #faf6f2 0%, #f0e8e4 45%, #ebe3dc 100%);
  color: #3d342c;
  min-height: 100vh;
  line-height: 1.5;
}

h1, h2, h3 {
  font-family: "Frank Ruhl Libre", "Times New Roman", serif;
  font-weight: 600;
  letter-spacing: 0.02em;
}

a { color: #6b5344; }
a:hover { color: #3d342c; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 1.1rem;
  min-height: 2.75rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  font: inherit;
  text-align: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:active { transform: scale(0.98); }

.btn:focus-visible {
  outline: 2px solid var(--accent, #c9a962);
  outline-offset: 2px;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent, #c9a962);
  outline-offset: 2px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary, #8B7355), var(--accent, #C9A962));
  color: #fff;
  box-shadow: 0 4px 14px rgba(139, 115, 85, 0.25);
}

.btn-soft {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(139, 115, 85, 0.22);
  color: #4a3f36;
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent, #C9A962), #d4b978);
  color: #fff;
}

.badge {
  display: inline-block;
  font-size: 0.72rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  letter-spacing: 0.03em;
}

.badge-warn {
  background: rgba(255, 243, 205, 0.9);
  color: #856404;
  border: 1px solid rgba(133, 100, 4, 0.15);
}

.hidden { display: none !important; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
