/* =================================================================
   Euporos Kiosk — Static CSS
   Target: Android WebView Chrome 50+, 1080x1920 portrait
   NO custom properties, NO grid, NO gap, NO overscroll-behavior
   ================================================================= */

/* ---------------------------------------------------------------
   @font-face — self-hosted Cormorant Garamond + Karla
   See fonts/README.md for download instructions.
   --------------------------------------------------------------- */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-v16-latin-300.woff2') format('woff2'),
       url('../fonts/cormorant-garamond-v16-latin-300.woff') format('woff');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-v16-latin-regular.woff2') format('woff2'),
       url('../fonts/cormorant-garamond-v16-latin-regular.woff') format('woff');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-v16-latin-500.woff2') format('woff2'),
       url('../fonts/cormorant-garamond-v16-latin-500.woff') format('woff');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-v16-latin-600.woff2') format('woff2'),
       url('../fonts/cormorant-garamond-v16-latin-600.woff') format('woff');
}
@font-face {
  font-family: 'Karla';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/karla-v31-latin-300.woff2') format('woff2'),
       url('../fonts/karla-v31-latin-300.woff') format('woff');
}
@font-face {
  font-family: 'Karla';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/karla-v31-latin-regular.woff2') format('woff2'),
       url('../fonts/karla-v31-latin-regular.woff') format('woff');
}
@font-face {
  font-family: 'Karla';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/karla-v31-latin-500.woff2') format('woff2'),
       url('../fonts/karla-v31-latin-500.woff') format('woff');
}
@font-face {
  font-family: 'Karla';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/karla-v31-latin-600.woff2') format('woff2'),
       url('../fonts/karla-v31-latin-600.woff') format('woff');
}

/* ---------------------------------------------------------------
   Reset & base
   --------------------------------------------------------------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  border-color: #393128;
}

html, body {
  height: 100%;
  overflow: hidden;
}

body {
  background-color: #100c0a;
  color: #f4f1ec;
  font-family: 'Karla', system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.5;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
}

input, textarea {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
  -webkit-touch-callout: default;
}

h1, h2, h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 300;
  letter-spacing: -0.01em;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
  padding: 0;
}

address {
  font-style: normal;
}

/* ---------------------------------------------------------------
   Layout: full-screen flex column
   --------------------------------------------------------------- */
.kiosk-main {
  position: relative;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: column;
  flex-direction: column;
  min-height: 100vh;
  overflow: hidden;
  background-color: #100c0a;
}

.kiosk-hero-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  opacity: 0.25;
  pointer-events: none;
}

.kiosk-veil {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
  background: -webkit-linear-gradient(top, rgba(16, 12, 10, 0.7), rgba(16, 12, 10, 0.92) 55%, #100c0a);
  background: linear-gradient(to bottom, rgba(16, 12, 10, 0.7), rgba(16, 12, 10, 0.92) 55%, #100c0a);
}

.kiosk-content {
  position: relative;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: column;
  flex-direction: column;
  min-height: 100vh;
  padding: 5vh 6vw;
}

/* ---------------------------------------------------------------
   Header
   --------------------------------------------------------------- */
.kiosk-header {
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  -webkit-flex-shrink: 0;
  flex-shrink: 0;
}

.kiosk-logo {
  height: 4.5rem;
  width: auto;
}

.kiosk-badge {
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: #ddb049;
}

.kiosk-swiss-flag {
  display: inline-block;
  width: 1.5rem;
  height: 1rem;
  background-color: #d01e1c;
  margin-right: 0.75rem;
}

/* ---------------------------------------------------------------
   Screens (sections) — show/hide via .is-active
   --------------------------------------------------------------- */
.kiosk-screen {
  display: none;
  -webkit-flex: 1;
  flex: 1;
  -webkit-flex-direction: column;
  flex-direction: column;
  -webkit-justify-content: center;
  justify-content: center;
  padding: 4vh 0;
}

.kiosk-screen.is-active {
  display: -webkit-flex;
  display: flex;
}

/* ---------------------------------------------------------------
   Footer
   --------------------------------------------------------------- */
.kiosk-footer {
  margin-top: auto;
  -webkit-flex-shrink: 0;
  flex-shrink: 0;
  padding-top: 2.5rem;
  text-align: center;
  font-size: 1.05rem;
  line-height: 1.625;
  letter-spacing: 0.05em;
  color: #aaa49a;
}

/* ---------------------------------------------------------------
   Attract screen
   --------------------------------------------------------------- */
.attract-heading {
  font-size: 5.5rem;
  line-height: 1.02;
}

.text-gold-gradient {
  color: #ddb049;
  background: -webkit-linear-gradient(120deg, #cc9140, #f0da95 45%, #d19936);
  background: linear-gradient(120deg, #cc9140, #f0da95 45%, #d19936);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.attract-subtitle {
  margin-top: 2.5rem;
  max-width: 36ch;
  font-size: 1.7rem;
  line-height: 1.625;
  color: #aaa49a;
}

/* Stats row */
.cols-3 {
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  margin: -0.75rem;
  margin-top: 2.75rem;
}

.cols-3 > * {
  width: calc(33.333% - 1.5rem);
  margin: 0.75rem;
}

.hairline {
  border-top: 1px solid rgba(221, 176, 73, 0.25);
  padding-top: 1.25rem;
}

.stat-label {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #aaa49a;
}

.stat-value {
  margin-top: 0.5rem;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 300;
  font-size: 2.1rem;
  color: #f4f1ec;
}

/* CTA button (attract + submit) */
.btn-gold {
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: center;
  justify-content: center;
  width: 100%;
  border-radius: 0.25rem;
  background-color: #ddb049;
  background: -webkit-linear-gradient(120deg, #cc9140, #f0da95 45%, #d19936);
  background: linear-gradient(120deg, #cc9140, #f0da95 45%, #d19936);
  color: #130e0b;
  font-weight: 500;
  letter-spacing: 0.05em;
  box-shadow: 0 24px 60px -24px rgba(221, 176, 73, 0.35);
  -webkit-transition: opacity 0.15s ease;
  transition: opacity 0.15s ease;
}

.btn-gold:active {
  opacity: 0.8;
}

.btn-gold--cta {
  margin-top: 4rem;
  min-height: 8rem;
  font-size: 2.3rem;
}

.btn-gold--submit {
  min-height: 6rem;
  font-size: 1.9rem;
}

.btn-gold .icon {
  margin-left: 1.25rem;
}

.btn-gold--submit .icon {
  margin-left: 1rem;
}

/* Trust badge */
.trust-badge {
  margin-top: 2rem;
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: center;
  justify-content: center;
  font-size: 1.15rem;
  color: #aaa49a;
}

.trust-badge .icon {
  margin-right: 1rem;
  color: #ddb049;
}

/* ---------------------------------------------------------------
   Progress bar (3 segments)
   --------------------------------------------------------------- */
.progress-bar {
  display: -webkit-flex;
  display: flex;
  margin-bottom: 2.5rem;
}

.progress-bar > span + span {
  margin-left: 0.75rem;
}

.progress-seg {
  -webkit-flex: 1;
  flex: 1;
  height: 0.375rem;
  border-radius: 9999px;
  background-color: #393128;
}

.progress-seg.is-filled {
  background-color: #ddb049;
  background: -webkit-linear-gradient(120deg, #cc9140, #f0da95 45%, #d19936);
  background: linear-gradient(120deg, #cc9140, #f0da95 45%, #d19936);
}

/* ---------------------------------------------------------------
   Step screen titles
   --------------------------------------------------------------- */
.step-title {
  font-size: 3.4rem;
  line-height: 1.1;
}

.step-subtitle {
  margin-top: 0.75rem;
  margin-bottom: 2.5rem;
  font-size: 1.35rem;
  color: #aaa49a;
}

/* ---------------------------------------------------------------
   Intent cards
   --------------------------------------------------------------- */
.stack > * + * {
  margin-top: 1.5rem;
}

.stack--tight > * + * {
  margin-top: 1.75rem;
}

.stack--wide > * + * {
  margin-top: 2rem;
}

.intent-card {
  display: -webkit-flex;
  display: flex;
  width: 100%;
  -webkit-align-items: center;
  align-items: center;
  border-radius: 0.25rem;
  padding: 2rem;
  text-align: left;
  -webkit-transition: background-color 0.15s ease, border-color 0.15s ease;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.kiosk-card {
  border: 1px solid rgba(57, 49, 40, 0.7);
  background-color: rgba(28, 23, 20, 0.8);
}

.kiosk-card-active {
  border: 1px solid #ddb049;
  background-color: rgba(221, 176, 73, 0.1);
}

.kiosk-card:active,
.intent-card:active {
  background-color: rgba(221, 176, 73, 0.15);
}

.intent-card .icon-left {
  margin-right: 2rem;
  -webkit-flex-shrink: 0;
  flex-shrink: 0;
  color: #ddb049;
}

.intent-card .card-body {
  -webkit-flex: 1;
  flex: 1;
  min-width: 0;
}

.intent-card .card-label {
  display: block;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 300;
  font-size: 2.6rem;
  line-height: 1.1;
}

.intent-card .card-hint {
  display: block;
  margin-top: 0.25rem;
  font-size: 1.25rem;
  color: #aaa49a;
}

.intent-card .icon-chevron {
  margin-left: 2rem;
  -webkit-flex-shrink: 0;
  flex-shrink: 0;
  color: rgba(221, 176, 73, 0.6);
}

/* ---------------------------------------------------------------
   Metal buttons (2-col layout)
   --------------------------------------------------------------- */
.cols-2 {
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  margin: -0.75rem;
}

.cols-2 > * {
  width: calc(50% - 1.5rem);
  margin: 0.75rem;
}

.cols-full {
  width: calc(100% - 1.5rem) !important;
}

.metal-btn {
  border-radius: 0.25rem;
  padding: 2.5rem;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 300;
  font-size: 2.4rem;
  text-align: center;
  -webkit-transition: background-color 0.15s ease, border-color 0.15s ease;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.metal-btn:active {
  background-color: rgba(221, 176, 73, 0.15);
}

.metal-btn--unknown {
  font-size: 2rem;
}

/* ---------------------------------------------------------------
   Back button
   --------------------------------------------------------------- */
.btn-back {
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-align-self: flex-start;
  align-self: flex-start;
  margin-top: 2.5rem;
  min-height: 4.5rem;
  padding-left: 2rem;
  padding-right: 2rem;
  border-radius: 0.25rem;
  border: 1px solid rgba(57, 49, 40, 0.7);
  font-size: 1.3rem;
  color: #aaa49a;
  -webkit-transition: background-color 0.15s ease;
  transition: background-color 0.15s ease;
}

.btn-back:active {
  background-color: #342c23;
}

.btn-back .icon {
  margin-right: 0.75rem;
}

/* ---------------------------------------------------------------
   Form fields
   --------------------------------------------------------------- */
.field-group + .field-group {
  margin-top: 1.75rem;
}

.field-label {
  display: block;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: #aaa49a;
}

.kiosk-field {
  display: block;
  width: 100%;
  min-height: 5.5rem;
  margin-top: 0.75rem;
  border-radius: 0.25rem;
  border: 1px solid rgba(221, 176, 73, 0.3);
  background: #0a0806;
  padding: 1.25rem 1.75rem;
  font-family: 'Karla', system-ui, sans-serif;
  font-size: 1.75rem;
  color: #f4f1ec;
  outline: none;
  -webkit-transition: border-color 0.2s ease, box-shadow 0.2s ease;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  -webkit-appearance: none;
}

.kiosk-field::-webkit-input-placeholder {
  color: rgba(170, 164, 154, 0.4);
}

.kiosk-field:focus {
  border-color: #ddb049;
  box-shadow: 0 0 0 3px rgba(221, 176, 73, 0.25);
}

.field-error {
  display: none;
  margin-top: 0.5rem;
  font-size: 1.15rem;
  color: #db2c2b;
}

.field-error.is-visible {
  display: block;
}

/* Summary line */
.summary-line {
  margin-top: 1.75rem;
  font-size: 1.15rem;
  line-height: 1.625;
  color: #aaa49a;
}

.summary-line .highlight {
  color: #ddb049;
}

/* Submit button spacing */
.submit-wrap {
  margin-top: 1.75rem;
}

/* ---------------------------------------------------------------
   Done screen
   --------------------------------------------------------------- */
.done-screen {
  -webkit-align-items: center;
  align-items: center;
  text-align: center;
}

.done-check-circle {
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: center;
  justify-content: center;
  width: 7rem;
  height: 7rem;
  border-radius: 50%;
  border: 1px solid rgba(221, 176, 73, 0.4);
  background-color: rgba(221, 176, 73, 0.1);
}

.done-check-circle .icon {
  color: #ddb049;
}

.done-title {
  margin-top: 3rem;
  font-size: 3.8rem;
  line-height: 1.1;
}

.done-subtitle {
  margin-top: 1.25rem;
  max-width: 30ch;
  font-size: 1.6rem;
  line-height: 1.625;
  color: #aaa49a;
}

.done-addresses {
  margin-top: 3.5rem;
  width: 100%;
  max-width: 46ch;
  text-align: left;
}

.done-city {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 300;
  font-size: 1.9rem;
  color: #ddb049;
}

.done-addr-detail {
  font-size: 1.2rem;
  line-height: 1.625;
  color: #aaa49a;
}

.done-email {
  font-size: 1.25rem;
  color: #aaa49a;
}

.btn-finish {
  margin-top: 3.5rem;
  min-height: 5.5rem;
  padding-left: 3rem;
  padding-right: 3rem;
  border-radius: 0.25rem;
  border: 1px solid rgba(221, 176, 73, 0.4);
  font-size: 1.5rem;
  color: #ddb049;
  -webkit-transition: background-color 0.15s ease;
  transition: background-color 0.15s ease;
}

.btn-finish:active {
  background-color: rgba(221, 176, 73, 0.1);
}

/* ---------------------------------------------------------------
   Toast
   --------------------------------------------------------------- */
.kiosk-toast {
  position: fixed;
  top: 2rem;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  max-width: 90%;
  padding: 1.25rem 2rem;
  border-radius: 0.5rem;
  background-color: #1c1714;
  border: 1px solid #393128;
  color: #f4f1ec;
  font-size: 1.15rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  -webkit-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
}

.kiosk-toast.is-visible {
  opacity: 1;
  pointer-events: auto;
}

/* ---------------------------------------------------------------
   SVG icon sizing
   --------------------------------------------------------------- */
.icon { display: inline-block; vertical-align: middle; }
.icon--48 { width: 3rem; height: 3rem; }
.icon--40 { width: 2.5rem; height: 2.5rem; }
.icon--24 { width: 1.5rem; height: 1.5rem; }
.icon--56 { width: 3.5rem; height: 3.5rem; }
.icon--32 { width: 2rem; height: 2rem; }

/* Honeypot */
.ohnohoney {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}
