:root {
  --navy: #0a0a4a;
  --taupe: #b08b82;
  --blush: #f3e2dc;
  --cream: #fcf8f5;
  --white: #fff;
  --text: #25243a;
  --muted: #686678;
  --danger: #a32626;
  --success: #17633b;
  --shadow: 0 22px 60px rgba(10, 10, 74, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(135deg, var(--cream), #fff 58%, var(--blush));
  color: var(--text);
  font-family: Arial, "Helvetica Neue", sans-serif;
  line-height: 1.55;
  -webkit-text-size-adjust: 100%;
}

button, input, textarea, select { font: inherit; }

.site-header {
  max-width: 1240px;
  margin: auto;
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: flex; align-items: center; color: var(--navy); text-decoration: none; }
.brand-logo { display: block; width: auto; max-width: 220px; height: auto; object-fit: contain; }
.monogram { display: none; width: 52px; height: 52px; place-items: center; border: 3px solid var(--blush); border-radius: 50%; background: var(--navy); color: #fff; font: 700 19px Georgia, serif; }
.brand.logo-failed .brand-logo { display: none; }
.brand.logo-failed .monogram { display: grid; }

.language-switcher { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; color: var(--taupe); font-size: 13px; }
.language-switcher button { padding: 7px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--muted); font-weight: 700; cursor: pointer; }
.language-switcher button[aria-pressed="true"] { border-color: var(--taupe); color: var(--navy); }

button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, a:focus-visible { outline: 3px solid #82655e; outline-offset: 3px; }

.page-shell {
  max-width: 1240px;
  margin: 12px auto 56px;
  padding: 24px 32px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.8fr);
  gap: 72px;
  align-items: center;
}

.hero { position: relative; isolation: isolate; min-width: 0; }
.hero h1 { position: relative; z-index: 3; max-width: 540px; margin: 18px 0 26px; color: var(--navy); font: 700 clamp(40px, 4.8vw, 68px)/1.08 Georgia, serif; letter-spacing: -0.035em; overflow-wrap: break-word; }
.hero-copy { position: relative; z-index: 2; max-width: 620px; color: var(--muted); font-size: 19px; }
.benefits { position: relative; z-index: 2; max-width: 650px; margin-top: 34px; display: grid; gap: 18px; }
.benefits article { display: flex; align-items: flex-start; gap: 15px; }
.benefits h2 { margin: 1px 0 3px; color: var(--navy); font-size: 16px; }
.icon { width: 38px; height: 38px; display: grid; place-items: center; flex: 0 0 38px; border-radius: 12px; background: var(--navy); color: #fff; font-size: 19px; }
.hero-closing { position: relative; z-index: 2; }

.calendar-art { position: absolute; z-index: 1; top: 70px; right: -24px; width: 142px; height: 130px; padding: 32px 14px 14px; border-radius: 18px; background: #fff; box-shadow: var(--shadow); opacity: 0.88; transform: rotate(5deg); pointer-events: none; }
.calendar-top { position: absolute; top: 0; right: 0; left: 0; height: 25px; display: flex; justify-content: space-around; border-radius: 18px 18px 0 0; background: var(--taupe); }
.calendar-top span { width: 7px; height: 18px; border-radius: 6px; background: var(--navy); transform: translateY(-7px); }
.calendar-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
.calendar-grid i { height: 13px; border-radius: 3px; background: var(--blush); }
.calendar-grid .marked { background: var(--navy); }
.pencil { position: absolute; right: -14px; bottom: -13px; width: 39px; height: 39px; display: grid; place-items: center; border-radius: 50%; background: var(--blush); color: var(--navy); }

.form-card { position: relative; overflow: hidden; padding: 38px; border: 1px solid rgba(176, 139, 130, 0.25); border-radius: 26px; background: rgba(255, 255, 255, 0.96); box-shadow: var(--shadow); }
.card-accent { position: absolute; top: 0; right: 0; left: 0; height: 7px; background: linear-gradient(90deg, var(--navy), var(--taupe), var(--blush)); }
.form-card > h2 { margin: 0 0 9px; color: var(--navy); font: 700 30px/1.15 Georgia, serif; }
.form-card > p { margin: 0 0 25px; color: var(--muted); font-size: 14px; }
.field { margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { display: block; margin-bottom: 6px; color: var(--navy); font-size: 13px; font-weight: 700; }
.field input, .field textarea, .field select { width: 100%; padding: 12px 13px; border: 1px solid #d8d3d1; border-radius: 11px; background: #fff; color: var(--text); transition: 0.2s; }
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--taupe); outline: none; box-shadow: 0 0 0 3px rgba(176, 139, 130, 0.16); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field-error { display: block; min-height: 17px; margin-top: 3px; color: var(--danger); font-size: 11px; }
.consent-wrap { display: flex; align-items: flex-start; gap: 9px; }
.consent-wrap input { width: 18px; height: 18px; margin: 3px 0 0; flex: 0 0 auto; accent-color: var(--navy); }
.consent-wrap label { color: var(--muted); font-size: 12px; }
.consent-error { margin-left: 27px; }
.hp { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.form-card button[type="submit"] { width: 100%; margin-top: 5px; padding: 14px 18px; border: 0; border-radius: 12px; background: var(--navy); color: #fff; font-weight: 800; cursor: pointer; box-shadow: 0 8px 18px rgba(10, 10, 74, 0.18); }
.form-card button[type="submit"]:hover { background: #17176a; }
.form-card button[type="submit"]:disabled { opacity: 0.65; cursor: wait; }
.form-status { display: none; margin-top: 15px; padding: 12px; border-radius: 10px; font-size: 13px; }
.form-status.success { display: block; background: #e7f5ec; color: var(--success); }
.form-status.error { display: block; background: #fbeaea; color: var(--danger); }

footer { padding: 25px 30px calc(25px + env(safe-area-inset-bottom)); background: var(--navy); color: #fff; text-align: center; font-size: 13px; }
.footer-credit { width: max-content; max-width: 100%; margin: 0 auto; color: var(--blush); font-size: 11px; letter-spacing: 0.08em; }
.footer-credit span { display: block; }
.footer-credit a { display: inline-block; margin-top: 4px; color: #fff; text-decoration: none; letter-spacing: 0.04em; }
.footer-credit a:hover { text-decoration: underline; }

@media (max-width: 1100px) {
  .page-shell { gap: 48px; }
  .hero h1 { max-width: 500px; font-size: clamp(38px, 4.6vw, 56px); }
  .calendar-art { top: 90px; right: -5px; width: 125px; height: 116px; }
}

@media (max-width: 980px) {
  .page-shell { max-width: 760px; grid-template-columns: 1fr; gap: 45px; }
  .hero h1 { max-width: calc(100% - 150px); }
  .calendar-art { top: 48px; right: 10px; }
}

@media (max-width: 768px) {
  .site-header { padding: 20px; }
  .page-shell { padding: 16px 20px; }
  .hero h1 { max-width: 100%; margin: 14px 0 22px; padding: 0; font-size: clamp(36px, 9vw, 48px); line-height: 1.1; }
  .hero-copy { font-size: 17px; }
  .calendar-art { position: relative; top: auto; right: auto; width: 120px; height: 110px; margin: 28px auto; opacity: 0.9; transform: rotate(3deg); }
}

@media (max-width: 600px) {
  .site-header { padding: 18px 20px; }
  .brand-logo { max-width: 160px; }
  .monogram { width: 45px; height: 45px; }
  .language-switcher { gap: 4px; }
  .language-switcher button { padding: 6px 5px; }
  .page-shell { margin-bottom: 38px; padding: 12px 18px; }
  .hero h1 { font-size: clamp(34px, 10vw, 42px); }
  .form-card { padding: 30px 20px; border-radius: 20px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .form-card > h2 { font-size: 27px; }
}

@media (max-width: 420px) {
  .site-header { align-items: flex-start; gap: 12px; }
  .brand-logo { max-width: 135px; }
  .hero h1 { font-size: clamp(31px, 9.5vw, 38px); }
  .calendar-art { width: 108px; height: 100px; padding: 30px 12px 12px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
