/* ============================================================
   GOSENOS HUNDDAGIS – gemensam CSS för alla sidor
   Designtokens, typografi och delade komponenter.
   ============================================================ */

:root {
  --nos: #B95355;
  /* loggans nosröda – primär */
  --nosmork: #8E3E40;
  /* mörkare nos – hover, detaljer */
  --nosljus: #E2989A;
  /* ljus nosröd – accenter på mörk botten */
  --rosa: #F7E9E7;
  /* blek nosrosa – mjuka ytor */
  --rosamork: #EFDAD7;
  /* djupare rosa – mark, gradienter */
  --ink: #26211F;
  /* loggans svarta linjer – text & mörk sektion */
  --kritvit: #FDFBF8;
  /* varm vit bakgrund, som loggans platta */
  --radius: 22px;
  --display: 'Fraunces', Georgia, serif;
  --body: 'Figtree', system-ui, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  font-family: var(--body);
  background: var(--kritvit);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px
}

img,
svg {
  display: block;
  max-width: 100%
}

a {
  color: inherit
}

:focus-visible {
  outline: 3px solid var(--nos);
  outline-offset: 3px;
  border-radius: 6px
}

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

.eyebrow {
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: .78rem;
  color: var(--nos)
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.12;
  color: var(--ink)
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: .4em 0 .5em
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--nos);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: 999px;
  border: none;
  font-size: .97rem;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease
}

.btn:hover {
  background: var(--nosmork);
  transform: translateY(-1px)
}

.btn.ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 2px var(--ink)
}

.btn.ghost:hover {
  background: var(--rosa);
  box-shadow: inset 0 0 0 2px var(--nos);
  color: var(--nosmork)
}

.btn.mork {
  background: var(--ink)
}

.btn.mork:hover {
  background: #3a322f
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px
}

.field.full {
  grid-column: 1/-1
}

.field label {
  font-weight: 700;
  font-size: .88rem
}

.field input,
.field select,
.field textarea {
  border: 1.5px solid #e5cfca;
  border-radius: 14px;
  padding: 12px 15px;
  font: inherit;
  background: var(--kritvit);
  width: 100%
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--nos);
  box-shadow: 0 0 0 3px rgba(185, 83, 85, .14)
}

.field textarea {
  min-height: 110px;
  resize: vertical
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px
}

.chips label {
  position: relative;
  cursor: pointer
}

.chips input {
  position: absolute;
  opacity: 0;
  pointer-events: none
}

.chips span {
  display: inline-block;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1.5px solid #e5cfca;
  background: var(--kritvit);
  font-weight: 600;
  font-size: .92rem;
  transition: all .15s ease
}

.chips input:checked+span {
  background: var(--nos);
  border-color: var(--nos);
  color: #fff
}

.chips input:focus-visible+span {
  outline: 3px solid var(--nos);
  outline-offset: 2px
}

.chips label:hover span {
  border-color: var(--nos)
}

.upload {
  border: 2px dashed #e5cfca;
  border-radius: 16px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--kritvit);
  cursor: pointer;
  transition: border-color .15s ease
}

.upload:hover {
  border-color: var(--nos)
}

.upload input {
  position: absolute;
  opacity: 0;
  pointer-events: none
}

.upload .thumb {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: var(--rosa);
  display: grid;
  place-items: center;
  overflow: hidden;
  flex: none
}

.upload .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.upload .thumb svg {
  width: 30px;
  height: 30px
}

.upload strong {
  display: block;
  font-size: .95rem
}

.upload small {
  color: #97877f
}

.sent {
  display: none;
  align-items: center;
  gap: 12px;
  background: #eaf5ea;
  border: 1.5px solid #bcdcbc;
  color: #2c5e2c;
  border-radius: 14px;
  padding: 14px 18px;
  font-weight: 600;
  margin-top: 22px
}

.sent.show {
  display: flex
}

.filelist .file {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--rosa);
  border-radius: 12px;
  padding: 9px 14px;
  font-size: .92rem;
  font-weight: 600
}

.filelist .file svg {
  width: 18px;
  height: 18px;
  flex: none
}

.filelist .file small {
  color: #97877f;
  font-weight: 500;
  margin-left: auto
}

.modal .box.bred {
  max-width: 720px;
  text-align: center
}

.modal .stangx {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--rosa);
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 1.05rem;
  cursor: pointer;
  color: var(--nosmork);
  font-weight: 700
}

.modal .stangx:hover {
  background: var(--rosamork)
}

.btn.small {
  padding: 8px 16px;
  font-size: .86rem
}

.card {
  background: #fff;
  border: 1px solid #f0e0dc;
  border-radius: var(--radius);
  box-shadow: 0 8px 28px rgba(142, 62, 64, .08)
}

.modal.open {
  display: grid
}

.modal .box {
  background: #fff;
  border-radius: 24px;
  max-width: 430px;
  width: 100%;
  padding: 34px 32px;
  text-align: center;
  box-shadow: 0 30px 70px rgba(38, 33, 31, .3);
  position: relative
}

.modal .box h2 {
  font-size: 1.5rem;
  margin: 10px 0 8px
}

.modal .ikon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--rosa);
  display: grid;
  place-items: center;
  margin: 0 auto
}

.modal .ikon svg {
  width: 32px;
  height: 32px
}

.modal .datum {
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--nosmork);
  text-transform: capitalize
}

.modal .pris {
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--nos);
  margin: 8px 0 2px
}

.modal .villkor {
  background: var(--rosa);
  border-radius: 14px;
  padding: 13px 16px;
  font-size: .85rem;
  color: #4c4340;
  margin: 16px 0 22px;
  text-align: left;
  display: flex;
  gap: 10px
}

.modal .villkor svg {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 2px
}

.modal .knappar {
  display: flex;
  gap: 12px;
  justify-content: center
}

.turnstile-rad {
  margin: 22px 0 8px;
  display: flex;
  justify-content: flex-start
}

@media(max-width:480px) {
  .turnstile-rad {
    justify-content: center
  }
}

/* Diskret felmeddelande när token saknas eller token är ogiltig */
.turnstile-fel {
  display: none;
  color: var(--nos, #B95355);
  font-size: .88rem;
  font-weight: 600;
  margin-top: 8px
}

.turnstile-fel.show {
  display: block
}

.turnstile-fel svg {
  width: 16px;
  height: 16px;
  vertical-align: -3px;
  margin-right: 4px
}