/* ============================================================
   AARVA — Fotvård, massage & hudvård i Uppsala
   Varm, naturlig spa-känsla med djupblå & guld från logotypen
   ============================================================ */

:root {
  --sand: #f6f1e8;
  --cream: #fcfaf5;
  --white: #ffffff;
  --blue: #1d4e79;
  --blue-dark: #14384f;
  --gold: #b8893c;
  --gold-light: #d4b06a;
  --text: #3a3f44;
  --text-soft: #6b7178;
  --line: #e7dfd2;
  --serif: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  --sans: 'Jost', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --shadow: 0 10px 30px rgba(29, 78, 121, 0.10);
  --radius: 14px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
  font-size: 17px;
}

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

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; color: var(--blue-dark); line-height: 1.2; }

a { color: var(--blue); }

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

/* ---------- Toppbanner ---------- */
.topbar {
  background: var(--blue-dark);
  color: #dfe8f0;
  font-size: 14px;
  letter-spacing: 0.4px;
}
.topbar .wrap {
  display: flex; justify-content: space-between; align-items: center;
  min-height: 38px; flex-wrap: wrap; gap: 4px 20px; padding-top: 4px; padding-bottom: 4px;
}
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: var(--gold-light); }
.topbar span.sep { color: var(--gold); margin: 0 8px; }

/* ---------- Sidhuvud ---------- */
header.site {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
}
header.site .wrap {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 84px; gap: 24px;
}
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo svg { height: 54px; width: auto; }

nav.main { display: flex; align-items: center; gap: 30px; }
nav.main a {
  text-decoration: none; color: var(--text);
  font-size: 15px; letter-spacing: 1.6px; text-transform: uppercase; font-weight: 400;
  padding: 6px 0; border-bottom: 2px solid transparent; transition: all .2s;
}
nav.main a:hover { color: var(--blue); border-bottom-color: var(--gold); }
nav.main a.active { color: var(--blue); border-bottom-color: var(--gold); font-weight: 500; }

.btn {
  display: inline-block; text-decoration: none; cursor: pointer;
  background: var(--blue); color: #fff !important;
  padding: 13px 30px; border-radius: 40px; border: none;
  font-family: var(--sans); font-size: 15px; letter-spacing: 1.4px; text-transform: uppercase; font-weight: 400;
  transition: all .25s;
}
.btn:hover { background: var(--gold); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn.gold { background: var(--gold); }
.btn.gold:hover { background: var(--blue); }
.btn.ghost { background: transparent; border: 1.5px solid #fff; }
.btn.ghost:hover { background: #fff; color: var(--blue-dark) !important; }

/* Hamburgare */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--blue-dark); margin: 6px 0; transition: .3s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; text-align: center;
  display: flex; align-items: center; justify-content: center;
  min-height: 78vh; padding: 90px 24px;
  background: linear-gradient(rgba(20, 56, 79, 0.55), rgba(20, 56, 79, 0.55)), url('bilder/hero.jpg') center/cover no-repeat;
}
.hero.small {
  min-height: 38vh; padding: 60px 24px;
}
.hero .inner { max-width: 780px; }
.hero .kicker {
  font-size: 15px; letter-spacing: 4px; text-transform: uppercase; color: var(--gold-light); margin-bottom: 18px;
}
.hero h1 {
  color: #fff; font-size: clamp(42px, 6vw, 72px); font-weight: 500; margin-bottom: 16px;
}
.hero p.lead { font-size: clamp(18px, 2.2vw, 22px); font-weight: 300; color: #eef3f7; margin-bottom: 36px; }
.hero .cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Sektioner ---------- */
section.block { padding: 90px 0; }
section.block.tinted { background: var(--sand); }
.kicker {
  font-size: 14px; letter-spacing: 3.5px; text-transform: uppercase; color: var(--gold); font-weight: 500; margin-bottom: 10px;
}
h2.title { font-size: clamp(30px, 4vw, 42px); margin-bottom: 18px; }
.center { text-align: center; }
.center .measure { max-width: 680px; margin: 0 auto; }
p + p { margin-top: 14px; }
.muted { color: var(--text-soft); }

/* Tvåspalt */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split .pic img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; height: 100%; object-fit: cover; }

/* ---------- Kort ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 50px; }
.card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 4px 18px rgba(29,78,121,.07); transition: transform .25s, box-shadow .25s;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card img { height: 230px; object-fit: cover; width: 100%; }
.card .body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.card h3 { font-size: 25px; margin-bottom: 8px; }
.card p { font-size: 15.5px; color: var(--text-soft); flex: 1; }
.card .link {
  margin-top: 18px; text-decoration: none; color: var(--gold); font-size: 14px;
  letter-spacing: 2px; text-transform: uppercase; font-weight: 500;
}
.card .link:hover { color: var(--blue); }

/* ---------- Behandlingsrader ---------- */
.treat { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding: 70px 0; border-bottom: 1px solid var(--line); }
.treat:last-child { border-bottom: none; }
.treat .pic img { border-radius: var(--radius); box-shadow: var(--shadow); }
.treat.rev .pic { order: 2; }
.treat h2 { font-size: 34px; margin-bottom: 14px; }
.treat h3 { font-size: 22px; margin: 26px 0 6px; }

.pricerow {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  border-bottom: 1px dashed var(--line); padding: 10px 0; font-size: 16.5px;
}
.pricerow .name { font-weight: 400; }
.pricerow .dur { color: var(--text-soft); font-size: 14.5px; white-space: nowrap; }
.pricerow .price { font-family: var(--serif); font-size: 21px; color: var(--blue); font-weight: 600; white-space: nowrap; }

.badge {
  display: inline-block; background: rgba(184,137,60,.13); color: var(--gold);
  border: 1px solid rgba(184,137,60,.35); font-size: 12.5px; letter-spacing: 1px;
  padding: 3px 12px; border-radius: 20px; text-transform: uppercase; font-weight: 500;
  margin-left: 8px; vertical-align: middle;
}

/* ---------- Pristabell ---------- */
.pricetable { max-width: 760px; margin: 0 auto; }
.pricetable .group { margin-bottom: 46px; }
.pricetable .group h3 {
  font-size: 26px; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 2px solid var(--gold);
  display: inline-block;
}

/* ---------- Notisruta ---------- */
.note {
  background: var(--white); border-left: 4px solid var(--gold); border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: 0 4px 18px rgba(29,78,121,.06);
  padding: 22px 28px; margin: 40px auto 0; max-width: 760px; font-size: 15.5px;
}

/* ---------- CTA-band ---------- */
.ctaband {
  background: linear-gradient(rgba(20,56,79,.78), rgba(20,56,79,.78)), url('bilder/salong.jpg') center/cover no-repeat;
  color: #fff; text-align: center; padding: 90px 24px;
}
.ctaband h2 { color: #fff; font-size: clamp(28px, 4vw, 40px); margin-bottom: 12px; }
.ctaband p { color: #e5edf3; max-width: 560px; margin: 0 auto 32px; }
.ctaband .cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Kontakt ---------- */
.contactgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 50px; }
.contactcard {
  background: var(--white); border-radius: var(--radius); padding: 38px 30px; text-align: center;
  box-shadow: 0 4px 18px rgba(29,78,121,.07);
}
.contactcard .icon { font-size: 30px; margin-bottom: 12px; color: var(--gold); }
.contactcard h3 { font-size: 22px; margin-bottom: 8px; }
.contactcard a { text-decoration: none; font-size: 17px; }
.contactcard a:hover { color: var(--gold); }

form.contact { max-width: 640px; margin: 40px auto 0; display: grid; gap: 16px; }
form.contact input, form.contact textarea {
  font-family: var(--sans); font-size: 16px; color: var(--text);
  padding: 14px 18px; border: 1px solid var(--line); border-radius: 10px; background: var(--white);
  width: 100%;
}
form.contact input:focus, form.contact textarea:focus { outline: 2px solid var(--gold-light); border-color: var(--gold); }
form.contact textarea { min-height: 140px; resize: vertical; }

/* ---------- Sidfot ---------- */
footer.site {
  background: var(--blue-dark); color: #c9d6e0; padding: 70px 0 30px; font-size: 15.5px;
}
footer.site .cols {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 50px; margin-bottom: 50px;
}
footer.site h4 { color: #fff; font-family: var(--sans); font-size: 14px; letter-spacing: 2.5px; text-transform: uppercase; font-weight: 500; margin-bottom: 18px; }
footer.site a { color: #c9d6e0; text-decoration: none; }
footer.site a:hover { color: var(--gold-light); }
footer.site ul { list-style: none; }
footer.site li { margin-bottom: 10px; }
footer.site .flogo svg { height: 64px; width: auto; margin-bottom: 16px; }
footer.site .bottom {
  border-top: 1px solid rgba(255,255,255,.12); padding-top: 24px; text-align: center;
  font-size: 13.5px; color: #8fa3b3;
}

/* ---------- Bokningsmodal ---------- */
.bokamodal {
  display: none; position: fixed; inset: 0; z-index: 200;
  background: rgba(20, 56, 79, 0.65);
  align-items: center; justify-content: center; padding: 24px;
}
.bokamodal.open { display: flex; }
.bokabox {
  position: relative; background: var(--cream); border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(0,0,0,.3);
  padding: 40px 36px 34px; max-width: 440px; width: 100%; text-align: center;
}
.bokabox h3 { font-size: 30px; margin-bottom: 4px; }
.bokabox p { margin-bottom: 22px; }
.bokastang {
  position: absolute; top: 10px; right: 16px; background: none; border: none;
  font-size: 30px; line-height: 1; color: var(--text-soft); cursor: pointer;
}
.bokastang:hover { color: var(--blue); }
.bokaval {
  display: flex; align-items: center; gap: 12px; text-align: left;
  background: var(--white); border: 1px solid var(--line); border-radius: 12px;
  padding: 15px 18px; margin-bottom: 12px; text-decoration: none;
  color: var(--text); font-size: 16px; transition: all .2s;
}
.bokaval:hover { border-color: var(--gold); box-shadow: var(--shadow); transform: translateY(-2px); }
.bokaval .ik { font-size: 21px; color: var(--gold); }
.bokaval:first-of-type { border-color: var(--blue); background: var(--blue); color: #fff; }
.bokaval:first-of-type .ik { color: var(--gold-light); }
.bokaval:first-of-type:hover { background: var(--blue-dark); }

/* Boka-länk i menyn: bara på mobil */
nav.main .navboka { display: none; color: var(--gold); font-weight: 500; }

/* ---------- Mobil ---------- */
@media (max-width: 900px) {
  .cards, .contactgrid { grid-template-columns: 1fr; }
  .split, .treat { grid-template-columns: 1fr; gap: 34px; }
  .treat.rev .pic { order: 0; }
  footer.site .cols { grid-template-columns: 1fr; gap: 36px; }
  section.block { padding: 60px 0; }

  .nav-toggle { display: block; }
  header.site .headbtn { display: none; }
  nav.main {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white); flex-direction: column; gap: 0;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  nav.main.open { display: flex; }
  nav.main a { padding: 16px 24px; width: 100%; border-bottom: 1px solid var(--line); }
  nav.main .navboka { display: block; }
}
