/* Gotland Sea Guides – utkast */
:root {
  --ink: #0e2630;          /* djup östersjöblå */
  --ink-2: #163b49;
  --sea: #2f6f86;
  --sea-light: #cfe3ea;
  --lime: #f4f0e7;         /* kalksten */
  --lime-2: #e8e1d2;
  --stone: #6b6a63;        /* rauk */
  --text: #1d2a2f;
  --muted: #56646a;
  --buckthorn: #d9822b;    /* havtorn, accent */
  --buckthorn-dark: #b0651a;
  --white: #fff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(14, 38, 48, .12);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--lime); color: var(--text); font: 17px/1.6 var(--sans); }
img { max-width: 100%; display: block; }
a { color: var(--sea); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; color: var(--ink); margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 600; color: var(--buckthorn-dark); margin-bottom: .6em; display: block; }

/* Utkastsband */
.draft-banner { background: var(--buckthorn); color: #fff; text-align: center; font-size: .85rem; padding: 6px 12px; }
.tbd { background: #fff3c4; border-bottom: 2px dashed var(--buckthorn); padding: 0 3px; border-radius: 3px; cursor: help; }

/* Sidhuvud */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--ink); color: #fff; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.brand img { height: 46px; width: auto; }
.brand span { font-family: var(--serif); font-size: 1.15rem; letter-spacing: .02em; }
.nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.nav a { color: #e6eef0; text-decoration: none; padding: 8px 10px; border-radius: 8px; font-size: .95rem; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--ink-2); color: #fff; }
.nav .btn { margin-left: 6px; }
.lang { display: flex; gap: 2px; margin-left: 10px; }
.lang a { font-size: .8rem; padding: 4px 7px; opacity: .75; }
.lang a[aria-current="true"] { opacity: 1; outline: 1px solid rgba(255,255,255,.4); }
.menu-toggle { display: none; background: none; border: 1px solid rgba(255,255,255,.4); color: #fff; border-radius: 8px; padding: 8px 12px; font-size: 1rem; }

@media (max-width: 960px) {
  .menu-toggle { display: block; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--ink); flex-direction: column; align-items: stretch; padding: 10px 20px 20px; }
  .nav.open { display: flex; }
  .nav .btn { margin: 8px 0 0; text-align: center; }
  .lang { margin: 10px 0 0; }
}

/* Knappar */
.btn { display: inline-block; background: var(--buckthorn); color: #fff !important; text-decoration: none; font-weight: 600; padding: 12px 22px; border-radius: 999px; border: 0; font-size: 1rem; cursor: pointer; }
.btn:hover { background: var(--buckthorn-dark); }
.btn.ghost { background: transparent; border: 2px solid currentColor; color: #fff !important; }
.btn.ghost.dark { color: var(--ink) !important; }
.btn.small { padding: 8px 16px; font-size: .92rem; }

/* Hero */
.hero { position: relative; color: #fff; min-height: 78vh; display: flex; align-items: flex-end; background: var(--ink) center/cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,38,48,.15) 0%, rgba(14,38,48,.35) 45%, rgba(14,38,48,.85) 100%); }
.hero .wrap { position: relative; padding-top: 120px; padding-bottom: 70px; width: 100%; }
.hero h1 { color: #fff; max-width: 15em; }
.hero p.lead { font-size: 1.2rem; max-width: 34em; color: #eef4f6; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.page-hero { min-height: 46vh; }

/* Sektioner */
section { padding: 72px 0; }
section.alt { background: var(--white); }
section.dark { background: var(--ink); color: #e6eef0; }
section.dark h2, section.dark h3 { color: #fff; }
.intro { max-width: 46em; }
.grid { display: grid; gap: 24px; }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); align-items: center; }
.grid.three { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid.four { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

/* Turkort */
.card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: transform .2s; }
.card:hover { transform: translateY(-3px); }
.card .img { aspect-ratio: 4/3; background: var(--sea-light) center/cover no-repeat; }
.card .body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.card .meta { font-size: .88rem; color: var(--muted); margin-bottom: .6em; }
.card .more { margin-top: auto; font-weight: 600; color: var(--sea); }

/* Bildplatshållare */
.ph { display: flex; align-items: flex-end; padding: 14px; color: #fff; font-size: .82rem; background: linear-gradient(160deg, #6f9fb0 0%, #2f6f86 55%, #163b49 100%); position: relative; }
.ph::after { content: ""; position: absolute; inset: auto 0 0 0; height: 40%; background: repeating-radial-gradient(ellipse at 50% 120%, rgba(255,255,255,.12) 0 2px, transparent 2px 16px); }
.ph span { position: relative; z-index: 1; background: rgba(0,0,0,.35); padding: 4px 8px; border-radius: 6px; }

.photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/3; background: var(--sea-light) center/cover no-repeat; }

/* Fakta-rutor */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 24px 0; }
.fact { background: var(--lime-2); border-radius: 10px; padding: 14px 16px; }
.fact b { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; }
.fact span { font-family: var(--serif); font-size: 1.15rem; color: var(--ink); }

ul.check { list-style: none; padding: 0; margin: 0 0 1em; }
ul.check li { padding-left: 28px; position: relative; margin-bottom: .45em; }
ul.check li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 12px; height: 7px; border-left: 2px solid var(--buckthorn); border-bottom: 2px solid var(--buckthorn); transform: rotate(-45deg); }

/* Pristabell */
table.prices { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
table.prices th, table.prices td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--lime-2); vertical-align: top; }
table.prices th { background: var(--ink); color: #fff; font-weight: 600; font-size: .9rem; }
table.prices td.price { white-space: nowrap; font-weight: 600; color: var(--ink); }
.table-scroll { overflow-x: auto; }

/* Värden/USP */
.usp { text-align: left; }
.usp .icon { width: 44px; height: 44px; border-radius: 50%; background: var(--sea-light); display: grid; place-items: center; margin-bottom: 12px; color: var(--ink); font-size: 1.3rem; }
section.dark .usp .icon { background: var(--ink-2); color: #fff; }

.cert-row { display: flex; gap: 18px; flex-wrap: wrap; }
.cert-row img { width: 110px; height: 110px; border-radius: 50%; background: #fff; }

/* CTA-band */
.cta-band { background: linear-gradient(120deg, var(--ink) 0%, var(--sea) 100%); color: #fff; border-radius: var(--radius); padding: 44px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0 0 .3em; }
.cta-band p { margin: 0; color: #dfeaee; }

/* Formulär */
form.inquiry { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 32px; }
fieldset { border: 0; padding: 0; margin: 0 0 28px; }
legend { font-family: var(--serif); font-size: 1.3rem; color: var(--ink); margin-bottom: 14px; padding: 0; }
.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
label { font-weight: 600; font-size: .92rem; color: var(--ink); }
label .opt { font-weight: 400; color: var(--muted); }
input, select, textarea { font: inherit; padding: 11px 12px; border: 1px solid #c9c4b8; border-radius: 10px; background: #fff; color: var(--text); width: 100%; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--sea); outline-offset: 1px; border-color: var(--sea); }
textarea { min-height: 110px; resize: vertical; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choices label { font-weight: 400; display: flex; gap: 8px; align-items: center; background: var(--lime); border: 1px solid var(--lime-2); padding: 9px 14px; border-radius: 999px; cursor: pointer; }
.choices input { width: auto; }
.tour-choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.tour-choices label { display: flex; gap: 10px; align-items: flex-start; border: 2px solid var(--lime-2); border-radius: 12px; padding: 14px; cursor: pointer; font-weight: 400; }
.tour-choices label:has(input:checked) { border-color: var(--buckthorn); background: #fdf6ee; }
.tour-choices input { width: auto; margin-top: 4px; }
.tour-choices b { display: block; color: var(--ink); }
.tour-choices small { color: var(--muted); }
.hint { font-size: .85rem; color: var(--muted); }
.cond[hidden] { display: none; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.consent input { width: auto; margin-top: 5px; }
.form-result { margin-top: 24px; background: #eef7ef; border: 1px solid #b9dcbf; border-radius: var(--radius); padding: 24px; }
.form-result pre { background: #fff; padding: 14px; border-radius: 10px; overflow-x: auto; font-size: .82rem; }

/* Sidfot */
.site-footer { background: var(--ink); color: #c9d6da; padding: 56px 0 30px; font-size: .95rem; }
.site-footer h3 { color: #fff; font-size: 1.05rem; }
.site-footer a { color: #fff; }
.site-footer .grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.site-footer .bottom { border-top: 1px solid var(--ink-2); margin-top: 36px; padding-top: 18px; font-size: .82rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }

@media (max-width: 600px) {
  section { padding: 52px 0; }
  form.inquiry { padding: 22px 18px; }
  .cta-band { padding: 30px 22px; }
  .hero { min-height: 70vh; }
}

/* Turkorten: fyra på en rad på dator, två på surfplatta, en på mobil */
.grid.tours4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid.tours4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid.tours4 { grid-template-columns: 1fr; } }

/* Startsidan: rubriken uppe i himlen, texten och knapparna nere i vattnet */
.home-hero { align-items: stretch; background-position: center 45%; min-height: 86vh; }
.home-hero::before { background: linear-gradient(180deg, rgba(14,38,48,.45) 0%, rgba(14,38,48,.1) 40%, rgba(14,38,48,.25) 60%, rgba(14,38,48,.75) 100%); }
.home-hero .wrap { display: flex; flex-direction: column; padding-top: 7vh; padding-bottom: 50px; }
.home-hero .wrap p.lead { margin-top: auto; }
@media (max-width: 600px) { .home-hero .wrap { padding-top: 100px; } }

li:empty, p:empty, .fact span:empty { display: none; }
