:root {
  --black: #0a0a0a;
  --white: #ffffff;
  --bg: #fafafa;
  --gray: #6b6b6b;
  --line: rgba(10, 10, 10, 0.14);
  --line-strong: rgba(10, 10, 10, 0.35);
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; }

html { color-scheme: light;
       scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--black);
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }
[hidden] { display: none !important; }

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding-inline: 24px;
}

a { color: inherit; }

/* Topbar */
.topbar {
  border-bottom: 1px solid var(--line);
  background: var(--white);
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 10;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 18px;
}

.brand {
  text-decoration: none;
  display: flex;
  align-items: center;
}

.brand-logo {
  display: block;
  height: 34px;
  width: auto;
}

.whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  letter-spacing: 0.03em;
  text-decoration: none;
  color: #25d366;
  border-bottom: 1px solid #25d366;
  padding-bottom: 2px;
  white-space: nowrap;
}

.tiktok-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fe2c55;
}

.icon-whatsapp,
.icon-tiktok {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  fill: currentColor;
}

/* Sections */
section {
  padding-block: 72px;
}

.section-label {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gray);
  margin: 0 0 14px;
  font-weight: 600;
}

/* Hero */
.hero {
  text-align: center;
  padding-block: 96px 80px;
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gray);
  font-weight: 600;
  margin: 0 0 22px;
}

.hero h1 {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400;
  font-size: clamp(28px, 5vw, 44px);
  line-height: 1.2;
  margin: 0 auto 20px;
  max-width: 720px;
}

.hero-sub {
  color: var(--gray);
  font-size: 16px;
  max-width: 460px;
  margin: 0 auto 34px;
}

.btn {
  display: inline-block;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 16px 32px;
  border: 1px solid var(--black);
  cursor: pointer;
}

.btn-primary {
  background: var(--black);
  color: var(--white);
  transition: opacity 0.15s ease;
}

.btn-primary:hover { opacity: 0.82; }

/* Steps */
.steps {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.step {
  border-left: 1px solid var(--line);
  padding-left: 20px;
}

.step-num {
  display: block;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 30px;
  color: var(--line-strong);
  margin-bottom: 14px;
}

.step h3 {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 8px;
  letter-spacing: 0.01em;
}

.step p {
  font-size: 14px;
  color: var(--gray);
  margin: 0;
}

/* Payment */
.payment-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: start;
}

.payment-text h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400;
  font-size: 26px;
  margin: 0 0 16px;
  line-height: 1.3;
}

.payment-text p {
  color: var(--gray);
  font-size: 15px;
}

.payment-text strong { color: var(--black); }

.payment-card {
  border: 1px solid var(--black);
  padding: 28px;
  background: var(--white);
}

.payment-label {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray);
  margin: 18px 0 4px;
  font-weight: 600;
}

.payment-label:first-child { margin-top: 0; }

.payment-value {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  word-break: break-word;
}

.iban-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.copy-btn {
  flex-shrink: 0;
  border: 1px solid var(--line-strong);
  background: none;
  font-family: inherit;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 14px;
  cursor: pointer;
  font-weight: 600;
}

.copy-btn:hover { border-color: var(--black); }

/* Form */
.form-section h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400;
  font-size: 26px;
  margin: 0 0 32px;
}

.form {
  max-width: 620px;
}

.form-row {
  margin-bottom: 24px;
}

.form-row-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.04em;
  font-weight: 600;
  margin-bottom: 8px;
}

input[type="text"],
input[type="tel"],
select,
textarea {
  width: 100%;
  font-family: inherit;
  font-size: 16px;
  padding: 13px 4px;
  border: none;
  border-bottom: 1px solid var(--line-strong);
  background: transparent;
  color: var(--black);
  border-radius: 0;
  appearance: none;
}

select {
  background-image: linear-gradient(45deg, transparent 50%, var(--black) 50%), linear-gradient(135deg, var(--black) 50%, transparent 50%);
  background-position: calc(100% - 8px) 20px, calc(100% - 3px) 20px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

textarea { resize: vertical; }

input:focus, select:focus, textarea:focus {
  outline: none;
  border-bottom-color: var(--black);
}

.radio-group {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.radio-option, .checkbox-option {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 400;
  margin-bottom: 0;
  cursor: pointer;
}

.radio-option input, .checkbox-option input {
  width: 16px;
  height: 16px;
  accent-color: var(--black);
  margin: 0;
}

.btn-submit {
  border: none;
  width: 100%;
  margin-top: 8px;
}

.form-note {
  font-size: 12px;
  color: var(--gray);
  margin-top: 14px;
}

.form-success {
  max-width: 620px;
  padding: 40px;
  border: 1px solid var(--black);
  text-align: center;
}

.form-success h2 {
  margin: 0 0 10px;
}

.form-success p {
  color: var(--gray);
  margin: 0;
}

/* Footer */
.footer {
  border-top: 1px solid var(--line);
  background: var(--white);
  padding-block: 32px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand .brand-logo { height: 26px; }

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 13px;
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 2px;
}

.footer-links .whatsapp-link { border-bottom-color: #25d366; }
.footer-links .tiktok-link { border-bottom-color: #fe2c55; }

/* Responsive */
@media (max-width: 780px) {
  .steps-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .payment-inner { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 520px) {
  section { padding-block: 52px; }
  .hero { padding-block: 56px 48px; }
  .steps-grid { grid-template-columns: 1fr; }
  .form-row-split { grid-template-columns: 1fr; gap: 24px; }
  .whatsapp-link { font-size: 12px; }
}

/* Dark mode: brand stays monochrome by design, just invert background/text */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --black: #f5f5f5;
    --white: #141414;
    --bg: #0c0c0c;
    --gray: #9a9a9a;
    --line: rgba(245, 245, 245, 0.16);
    --line-strong: rgba(245, 245, 245, 0.4);
  }
}

:root[data-theme="dark"] {
  --black: #f5f5f5;
  --white: #141414;
  --bg: #0c0c0c;
  --gray: #9a9a9a;
  --line: rgba(245, 245, 245, 0.16);
  --line-strong: rgba(245, 245, 245, 0.4);
}
