:root {
  --green: #1D3C34;
  --green-2: #2B5548;
  --cream: #F3DBC6;
  --bg: #EDEDED;
  --ink: #1b2a26;
  --line: #b9c4c0;
  --err: #9b2c2c;
  --radius: 6px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.5 "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
}
main { flex: 1; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

a { color: inherit; }

/* Header + hero ------------------------------------------------------- */
.site-header { background: var(--green); padding: 22px 0 8px; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.site-header .header-row > img { display: block; margin-left: -25px; } /* logo.png has built-in left padding */

/* Language switcher (flag + name) */
.lang { display: flex; gap: 6px; }
.lang a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 8px;
  border-radius: 999px;
  color: var(--cream);
  font-size: 14px;
  text-decoration: none;
  opacity: .8;
  transition: background .15s, opacity .15s;
}
.lang a:hover { opacity: 1; background: rgba(243, 219, 198, .12); }
.lang a.current { opacity: 1; font-weight: 600; background: rgba(243, 219, 198, .18); }
.lang a:focus-visible { outline: 2px solid var(--cream); outline-offset: 2px; }
.lang img { display: block; width: 28px; height: 20px; object-fit: cover; border-radius: 3px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .25); }

.hero { background: var(--green); color: var(--cream); padding: 16px 0 88px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: center;
}
.hero h1 {
  margin: 0 0 24px;
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.2;
  font-weight: 700;
}
.hero h2 { margin: 0 0 12px; font: 700 20px/1.3 Georgia, serif; }
.hero h3 { margin: 0 0 6px; font-size: 18px; font-weight: 700; }
.hero p { margin: 0; font-size: 15px; }
.hero a { text-decoration: none; border-bottom: 1px solid rgba(243, 219, 198, .4); }
.hero a:hover { border-bottom-color: var(--cream); }
.hero-icon { width: clamp(140px, 24vw, 300px); height: auto; }

.table-wrap { overflow-x: auto; margin-bottom: 32px; }
.prices { border-collapse: collapse; }
.prices th, .prices td { text-align: left; padding: 6px 28px 6px 0; white-space: nowrap; }
.prices th { font-weight: 700; padding-bottom: 10px; }
.prices th:last-child { font-family: Georgia, serif; }
.prices tbody tr + tr td { border-top: 1px solid rgba(243, 219, 198, .18); }

.contact { display: flex; flex-wrap: wrap; gap: 24px 64px; }

/* Card / form --------------------------------------------------------- */
.card {
  position: relative;
  max-width: 820px;
  margin: -56px 20px 56px;
  padding: 32px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(29, 60, 52, .15);
}
@media (min-width: 880px) { .card { margin-left: auto; margin-right: auto; } }

.card h2 { margin: 0 0 20px; font: 700 26px/1.2 Georgia, serif; color: var(--green); }

.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.full { grid-column: 1 / -1; }

.field label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; color: var(--green); }

input[type=text], input[type=email], input[type=date], select, textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: inherit;
  font: inherit;
}
textarea { resize: vertical; min-height: 96px; }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(29, 60, 52, .25);
}
/* Date field with calendar button (typed format is always ÅÅÅÅ-MM-DD) */
.date-wrap { position: relative; }
.date-wrap input[type=text] { padding-right: 46px; }
.cal-btn {
  position: absolute;
  top: 1px; right: 1px; bottom: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  border: 0;
  border-radius: 0 var(--radius) var(--radius) 0;
  background: transparent;
  color: var(--green);
  cursor: pointer;
}
.cal-btn[hidden] { display: none; }
.cal-btn:hover { background: rgba(29, 60, 52, .08); }
.cal-btn:focus-visible { outline: 2px solid var(--green); outline-offset: -2px; }
.picker { position: absolute; left: 0; bottom: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; padding: 0; border: 0; }

.invalid { border-color: var(--err) !important; }
.field-error { margin-top: 4px; font-size: 14px; color: var(--err); }

.btn {
  display: block;
  width: 100%;
  margin-top: 24px;
  padding: 14px 20px;
  border: 0;
  border-radius: var(--radius);
  background: var(--green);
  color: var(--cream);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s;
}
.btn:hover { background: var(--green-2); }
.btn:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }

.alert { padding: 12px 16px; margin-bottom: 20px; border-radius: var(--radius); }
.alert-error { background: #fbeaea; color: #7a1f1f; border: 1px solid #e3b4b4; }
.alert-ok { background: #e6f1ed; color: var(--green); border: 1px solid #b9d3c9; }
.link { color: var(--green); font-weight: 600; }

/* Honeypot: off-screen, not display:none (some bots skip those) */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Footer -------------------------------------------------------------- */
.site-footer { background: var(--green); color: var(--cream); padding: 20px 0; font-size: 14px; }

/* Small screens ------------------------------------------------------- */
@media (max-width: 760px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-icon { display: none; }
}
@media (max-width: 640px) {
  .prices th, .prices td { white-space: normal; padding-right: 14px; vertical-align: top; }
  .grid { grid-template-columns: 1fr; }
  .card { padding: 24px 18px; margin-left: 12px; margin-right: 12px; }
}
