/* Base layout */
*{box-sizing:border-box}
:root{
  --bg: #0a0d14;
  --card: rgba(255,255,255,.9);
  --text: #222;
  --accent: #c81d25;
}
html,body{height:100%}
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  /* cozy christmas background with soft overlay */
  background: linear-gradient(#b3000022, #ffddddaa), url('../assets/cozy-bg.jpg');
  background-size: cover;
  background-attachment: fixed;
}
#snow{
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

/* Header */
.site-header--centered{ text-align:center; padding: 48px 16px 16px; position: relative; z-index:1; }
.brand--centered{ display:flex; flex-direction:column; align-items:center; gap:.5rem; }
.brand-mark{ font-size:40px; }
.brand-title{
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 5vw, 48px);
  margin: 8px 0 4px;
}
.brand-sub{
  margin: 0;
  opacity: .9;
}

/* Language flags */
.lang-switcher--row{ display:flex; gap:12px; justify-content:center; align-items:center; margin-top:12px; }
.lang-flag{
  font-size: 32px;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: transform .2s, filter .2s;
}
.lang-flag:hover{ transform: scale(1.15); }
.lang-flag.active{ transform: scale(1.2); filter: drop-shadow(0 0 6px red); }

/* Container & card */
.container{ max-width: 980px; margin: 0 auto; padding: 16px; position: relative; z-index:1;}
.card{
  background: var(--card);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
}
.card.center{ text-align:center; }
.grid{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.field{ grid-column: span 12; display:flex; flex-direction:column; gap:6px; }
.field input,.field textarea{
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #ddd;
  font-size: 16px;
}
@media(min-width:768px){
  .grid > .field:nth-child(1),
  .grid > .field:nth-child(2),
  .grid > .field:nth-child(3){ grid-column: span 4; }
  .grid:nth-of-type(2) > .field:nth-child(1){ grid-column: span 6; }
  .grid:nth-of-type(2) > .field:nth-child(2){ grid-column: span 6; }
  .grid:nth-of-type(3) > .field:nth-child(1){ grid-column: span 6; }
  .grid:nth-of-type(3) > .field:nth-child(2){ grid-column: span 6; }
}

.actions{ display:flex; flex-direction:column; gap:10px; margin-top: 10px; }
.btn{
  background: var(--accent);
  color: #fff;
  border: 0;
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}
.btn.small{ padding: 8px 12px; font-size: 14px; }
.small.help{ color:#333; font-size: 12px; opacity:.9; }

/* Footer */
.footer{ text-align:center; padding: 28px 12px 40px; color:#333; position:relative; z-index:1; }

/* Honeypot */
.hp{ position:absolute; left:-5000px; }
