
:root {
  --white: #ffffff;
  --black: #0a0a0a;
  --deep-red: #8b0000;
  --hero-red: #b30000;
  --gold: #d4af37;
  --gold-light: #f6e27f;

  --glass-bg: rgba(0, 0, 0, 0.04);
  --glass-border: rgba(0, 0, 0, 0.1);
  --glass-highlight: rgba(255, 255, 255, 0.1);

  --text-shadow: rgba(255, 255, 255, 0.15);
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --panel-blur: blur(12px);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.2);

  --section-padding: clamp(1.5rem, 5vw, 3rem);
  --gap-sm: 0.5rem;
  --gap-md: 1rem;
  --gap-lg: 2rem;
  --gap-xl: 3rem;

  --font-main: 'Montserrat', system-ui, -apple-system, sans-serif;
  --text-base: 1rem;
  --text-sm: 0.875rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 2rem;
  --text-4xl: 2.5rem;

  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 2rem;
  height: 100%;
}

body {
  font-family: var(--font-main);
  font-size: var(--text-base);
  line-height: 1.5;
  color: var(--black);
  background-color: var(--white);
  padding: var(--section-padding);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

/* === TYPOGRAPHY === */
h1, .h1 { font-size: var(--text-4xl); }
h2, .h2 { font-size: var(--text-3xl); }
h3, .h3 { font-size: var(--text-2xl); }
h4, .h4 { font-size: var(--text-xl); }

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--hero-red);
  margin-bottom: var(--gap-md);
  text-shadow: 1px 1px 2px var(--text-shadow);
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-justify { text-align: justify; }

.lead {
  font-size: var(--text-lg);
  opacity: 0.9;
}

/* === HERO IMAGE === */
.hero-left img {
  width: 160px;
  transform: scale(0.4);
  filter: drop-shadow(0 0 12px rgba(212, 175, 55, 0.5));
  opacity: 1;
}

/* === GLASS PANELS === */
.hst-glass-panel {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  backdrop-filter: var(--panel-blur);
  box-shadow: var(--shadow-md);
  padding: var(--gap-lg);
  margin-bottom: var(--gap-lg);
}

.hst-glass-panel p,
.hst-glass-panel li,
.hst-glass-panel ul,
.hst-glass-panel ol {
  text-align: justify;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.hst-glass-panel li {
  text-indent: 1.5em;
  margin-left: 0;
  padding-left: 1.5em;
  list-style-position: outside;
}

.glass-fully-transparent {
  background-color: transparent !important;
  backdrop-filter: var(--panel-blur);
  border: none;
  box-shadow: none;
  padding: var(--gap-lg);
  border-radius: var(--radius-lg);
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--gap-sm);
  padding: 0.75rem 2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.btn-primary {
  background: linear-gradient(135deg, var(--deep-red), var(--gold));
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* === FORMS === */
.form-control {
  display: block;
  width: 100%;
  padding: 0.8rem 1rem;
  font-family: var(--font-main);
  font-size: var(--text-base);
  color: var(--black);
  background-color: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  margin-bottom: var(--gap-md);
}

.form-control:focus {
  outline: 2px solid var(--deep-red);
  box-shadow: 0 0 0 3px rgba(139, 0, 0, 0.2);
}

.form-label {
  display: block;
  margin-bottom: var(--gap-sm);
  font-weight: 600;
  color: var(--deep-red);
}

/* === STRUCTURE === */
.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main.hst-main-centered {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* === FOOTER === */
footer {
  margin-top: auto;
  text-align: center;
  padding: 1rem;
  font-size: var(--text-sm);
  color: var(--black);
  opacity: 0.8;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .hst-glass-panel {
    padding: var(--gap-md);
  }
}

/* === DARK MODE === */
@media (prefers-color-scheme: dark) {
  :root {
    --white: #0a0a0a;
    --black: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.04);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-shadow: rgba(0, 0, 0, 0.15);
  }
}
