@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Poppins:wght@700;800&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: Poppins, Georgia, serif;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulseAccent {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

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

.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

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

.focus\:not-sr-only:focus {
  position: static;
  width: auto;
  height: auto;
  padding: inherit;
  margin: inherit;
  overflow: visible;
  clip: auto;
  white-space: normal;
}

.text-gradient {
  background: linear-gradient(to right, #1e3a5f, #d4a574);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.border-accent-left {
  border-left: 4px solid #d4a574;
}

.apexcharts-tooltip {
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  border-radius: 12px !important;
  box-shadow: 0 12px 32px -8px rgba(15, 23, 42, 0.18) !important;
  background: #ffffff !important;
  color: #0f172a !important;
  padding: 8px 10px !important;
  font-family: Inter, system-ui, sans-serif !important;
  backdrop-filter: saturate(140%) blur(6px);
}

.apexcharts-tooltip-title {
  background: transparent !important;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06) !important;
  font-weight: 600 !important;
  padding: 4px 6px 8px !important;
  margin-bottom: 4px !important;
  color: #0f172a !important;
  font-family: Inter, system-ui, sans-serif !important;
  font-size: 12px !important;
  letter-spacing: -0.005em;
}

.apexcharts-tooltip-series-group {
  padding: 4px 6px !important;
}

.apexcharts-tooltip-marker {
  width: 8px !important;
  height: 8px !important;
  margin-right: 8px !important;
}

.apexcharts-tooltip-text-y-label,
.apexcharts-tooltip-text-y-value,
.apexcharts-tooltip-text-goals-label,
.apexcharts-tooltip-text-goals-value {
  font-family: Inter, system-ui, sans-serif !important;
  font-size: 12px !important;
  line-height: 1.4 !important;
  color: #475569 !important;
}

.apexcharts-tooltip-text-y-value {
  color: #0f172a !important;
  font-weight: 600 !important;
}

.apexcharts-xaxistooltip,
.apexcharts-yaxistooltip {
  display: none !important;
}

select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%234b5563' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}

input[type="checkbox"],
input[type="radio"] {
  cursor: pointer;
}

details summary {
  cursor: pointer;
  user-select: none;
}

details[open] summary {
  margin-bottom: 1rem;
}

#site-header {
  backdrop-filter: blur(12px);
}

#site-header.scroll-active {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

#burger-overlay.is-open,
#cookie-modal.is-open {
  display: block;
}

#burger-drawer.is-open {
  display: flex;
}

#cookie-banner:not(.hidden) {
  display: block;
}

#cookie-modal:not(.hidden) {
  display: flex;
}

table {
  border-collapse: collapse;
}

tbody tr {
  border-bottom: 1px solid #e5ddd7;
}

tbody tr:hover {
  background-color: rgba(30, 58, 95, 0.03);
}

th {
  text-align: left;
  font-weight: 600;
  letter-spacing: 0.05em;
}

td, th {
  padding: 1rem 1.5rem;
}

code {
  font-family: 'Courier New', monospace;
  font-size: 0.875em;
}

pre {
  overflow-x: auto;
  padding: 1rem;
  border-radius: 0.5rem;
  background-color: #f3f1ee;
  border: 1px solid #e5ddd7;
}

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

a:focus-visible {
  outline: 2px solid #1e3a5f;
  outline-offset: 2px;
  border-radius: 2px;
}

button:focus-visible {
  outline: 2px solid #1e3a5f;
  outline-offset: 2px;
  border-radius: 2px;
}

input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid #1e3a5f;
  outline-offset: 2px;
}

@media (max-width: 640px) {
  html {
    font-size: 16px;
  }
  
  body {
    overflow-x: hidden;
  }
}

.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 640px) {
  .container {
    max-width: 640px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 768px;
  }
}

@media (min-width: 1024px) {
  .container {
    max-width: 1024px;
  }
}

@media (min-width: 1280px) {
  .container {
    max-width: 1280px;
  }
}

@media (min-width: 1536px) {
  .container {
    max-width: 1536px;
  }
}

.break-words {
  overflow-wrap: break-word;
  word-break: break-word;
}

.group-data-\[state\=loading\]\:hidden[data-state="loading"] {
  display: none;
}

.group-data-\[state\=loading\]\:inline-flex[data-state="loading"] {
  display: inline-flex;
}

.data-\[loading\=true\]\:hidden[data-loading="true"] {
  display: none;
}

.data-\[loading\=true\]\:inline-flex[data-loading="true"] {
  display: inline-flex;
}

input[type="checkbox"]:checked {
  background-color: #1e3a5f;
  border-color: #1e3a5f;
}

input[type="checkbox"]:checked::after {
  content: '';
  display: block;
  position: relative;
  width: 4px;
  height: 8px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  margin: 2px auto;
}

@supports selector(::-webkit-outer-spin-button) {
  input[type="number"]::-webkit-outer-spin-button,
  input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
  }
  
  input[type="number"] {
    -moz-appearance: textfield;
  }
}

.animate-spin {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

details[open] svg {
  transform: rotate(180deg);
}

svg {
  display: block;
}

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

iframe {
  border: none;
}

hr {
  border: none;
  border-top: 1px solid #e5ddd7;
  margin: 1rem 0;
}

strong, b {
  font-weight: 600;
}

em, i {
  font-style: italic;
}

mark {
  background-color: rgba(212, 165, 116, 0.2);
  padding: 0.125rem 0.25rem;
  border-radius: 0.25rem;
}

[role="alert"] {
  color: #dc2626;
}

::selection {
  background-color: #d4a574;
  color: #1e3a5f;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #f9f7f4;
}

::-webkit-scrollbar-thumb {
  background: #d4a574;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #c9955e;
}

@media (prefers-color-scheme: dark) {
  ::-webkit-scrollbar-track {
    background: #1e3a5f;
  }
}

html.scroll-smooth {
  scroll-behavior: smooth;
}

.gap-0 { gap: 0; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }
.gap-12 { gap: 3rem; }
.gap-16 { gap: 4rem; }

.rounded-full {
  border-radius: 9999px;
}

.rounded-3xl {
  border-radius: 1.5rem;
}

.rounded-2xl {
  border-radius: 1rem;
}

.rounded-xl {
  border-radius: 0.75rem;
}

.rounded-lg {
  border-radius: 0.5rem;
}

.rounded-md {
  border-radius: 0.375rem;
}

.rounded-sm {
  border-radius: 0.125rem;
}

.rounded-none {
  border-radius: 0;
}

.rounded-t-2xl {
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
}

.text-gradient-brand {
  background: linear-gradient(135deg, #1e3a5f 0%, #d4a574 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.shadow-none {
  box-shadow: none;
}

.shadow-sm {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.shadow-md {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.shadow-lg {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.shadow-xl {
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.18);
}

.shadow-2xl {
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

*::-moz-selection {
  background-color: #d4a574;
  color: #1e3a5f;
}

button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

input:disabled,
textarea:disabled,
select:disabled {
  background-color: #f3f1ee;
  cursor: not-allowed;
  opacity: 0.6;
}

@media (min-width: 1024px) {
  .lg\:hidden {
    display: none;
  }
  
  .lg\:flex {
    display: flex;
  }
}

.tabular-nums {
  font-variant-numeric: tabular-nums;
}

.whitespace-nowrap {
  white-space: nowrap;
}

.line-clamp-2 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.line-clamp-3 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

input[type="email"]::placeholder,
input[type="tel"]::placeholder,
input[type="text"]::placeholder,
textarea::placeholder {
  opacity: 0.7;
}

a[href^="tel:"],
a[href^="mailto:"] {
  word-break: break-word;
}

.font-serif {
  font-family: Poppins, Georgia, serif;
}

.font-sans {
  font-family: Inter, system-ui, sans-serif;
}

.font-mono {
  font-family: 'Courier New', monospace;
}

.leading-none {
  line-height: 1;
}

.leading-tight {
  line-height: 1.25;
}

.leading-snug {
  line-height: 1.375;
}

.leading-relaxed {
  line-height: 1.625;
}

.leading-loose {
  line-height: 2;
}

.tracking-tight {
  letter-spacing: -0.005em;
}

.tracking-normal {
  letter-spacing: 0;
}

.tracking-wide {
  letter-spacing: 0.025em;
}

.tracking-wider {
  letter-spacing: 0.05em;
}

.tracking-widest {
  letter-spacing: 0.1em;
}

@media (min-width: 640px) {
  .sm\:text-left {
    text-align: left;
  }
  
  .sm\:text-center {
    text-align: center;
  }
}

@media (min-width: 768px) {
  .md\:col-span-2 {
    grid-column: span 2 / span 2;
  }
}

@media (min-width: 1024px) {
  .lg\:col-span-2 {
    grid-column: span 2 / span 2;
  }
  
  .lg\:col-span-3 {
    grid-column: span 3 / span 3;
  }
  
  .lg\:col-span-4 {
    grid-column: span 4 / span 4;
  }
  
  .lg\:row-span-2 {
    grid-row: span 2 / span 2;
  }
}

.prose {
  max-width: 65ch;
}

.max-w-prose {
  max-width: 65ch;
}

.max-w-xs {
  max-width: 20rem;
}

.max-w-sm {
  max-width: 24rem;
}

.max-w-md {
  max-width: 28rem;
}

.max-w-lg {
  max-width: 32rem;
}

.max-w-xl {
  max-width: 36rem;
}

.max-w-2xl {
  max-width: 42rem;
}

.max-w-3xl {
  max-width: 48rem;
}

.max-w-4xl {
  max-width: 56rem;
}

.max-w-screen-sm {
  max-width: 640px;
}

.max-w-screen-md {
  max-width: 768px;
}

.max-w-screen-lg {
  max-width: 1024px;
}

.max-w-screen-xl {
  max-width: 1280px;
}

.max-w-screen-2xl {
  max-width: 1536px;
}

.aspect-auto {
  aspect-ratio: auto;
}

.aspect-square {
  aspect-ratio: 1 / 1;
}

.aspect-video {
  aspect-ratio: 16 / 9;
}

.aspect-\[4\/3\] {
  aspect-ratio: 4 / 3;
}

.aspect-\[16\/10\] {
  aspect-ratio: 16 / 10;
}

.overflow-hidden {
  overflow: hidden;
}

.overflow-x-auto {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.overflow-y-auto {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.object-cover {
  object-fit: cover;
}

.object-center {
  object-position: center;
}

.blur-3xl {
  filter: blur(64px);
}

.blur-2xl {
  filter: blur(40px);
}

.blur-xl {
  filter: blur(24px);
}

.blur-lg {
  filter: blur(16px);
}

.blur-sm {
  filter: blur(4px);
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px white inset !important;
  -webkit-text-fill-color: #1a202c !important;
}

@-webkit-keyframes autofill {
  0% {
    -webkit-box-shadow: 0 0 0 1000px white inset;
  }
}

input:-webkit-autofill {
  -webkit-animation: autofill 0s forwards;
  color: #1a202c;
}

input[type="color"] {
  height: 52px;
  border-radius: 0.75rem;
  border: 1px solid #e5ddd7;
  cursor: pointer;
}

input[type="range"] {
  height: 6px;
  border-radius: 3px;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  background: linear-gradient(to right, #d4a574 0%, #d4a574 50%, #e5ddd7 50%, #e5ddd7 100%);
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #1e3a5f;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #1e3a5f;
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

input[type="date"],
input[type="time"],
input[type="datetime-local"],
input[type="month"],
input[type="week"] {
  min-height: 52px;
  padding: 0.75rem 1rem;
}

fieldset {
  border: 1px solid #e5ddd7;
  border-radius: 0.75rem;
  padding: 1.5rem;
  margin: 1rem 0;
}

legend {
  padding: 0 0.5rem;
  color: #1e3a5f;
  font-weight: 600;
}

label {
  display: block;
}

optgroup {
  color: #4b5563;
  font-weight: 500;
}

option {
  color: #1a202c;
  background: white;
}

button[type="submit"],
button[type="button"],
button[type="reset"] {
  cursor: pointer;
  user-select: none;
}

::placeholder {
  opacity: 0.7;
}

::-webkit-calendar-picker-indicator {
  cursor: pointer;
  border-radius: 4px;
  margin-right: 4px;
  opacity: 0.6;
  filter: invert(0.8);
}

::-webkit-search-cancel-button {
  display: none;
}

::-webkit-search-decoration {
  display: none;
}

input[type="search"] {
  -webkit-appearance: textfield;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

.cursor-pointer {
  cursor: pointer;
}

.cursor-not-allowed {
  cursor: not-allowed;
}

.select-none {
  user-select: none;
}

.select-text {
  user-select: text;
}

.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pointer-events-none {
  pointer-events: none;
}

.pointer-events-auto {
  pointer-events: auto;
}

.invisible {
  visibility: hidden;
}

.visible {
  visibility: visible;
}

.collapse {
  visibility: collapse;
}

@print {
  * {
    background: white !important;
    color: black !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }
  
  a, a:visited {
    text-decoration: underline;
  }
  
  a[href]:after {
    content: " (" attr(href) ")";
  }
  
  img {
    max-width: 100% !important;
  }
  
  @page {
    margin: 0.5cm;
  }
}