/* Vadeni — estilos basados en el PDF "Web Hemora" */
:root {
  --green: #5baa62;
  --green-light: #98f49d;
  --navy: #003677;
  --navy-footer: #203577;
  --navy-deep: #091e51;
  --card: #f4f4f4;
  --band: #f5f6f8;
  --avatar: #e7d4b3;
  --grey: #a8a8a8;
  --text: #111;
  --heading: "Outfit", "Nexa", "Helvetica Neue", Arial, sans-serif;
  --body: "Roboto", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.45;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--heading); font-weight: 800; font-variant-ligatures: none; color: var(--navy); margin: 0; line-height: 1.12; }
p { margin: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }

/* ---------- Botones ---------- */
.btn {
  display: inline-block;
  background: var(--green);
  color: #fff;
  font-family: var(--body);
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: .01em;
  padding: 5px 16px;
  border: 0;
  border-radius: 3px;
  cursor: pointer;
  transition: background .15s;
}
.btn:hover { background: #4b9853; }
.btn--navy { background: var(--navy); }
.btn--navy:hover { background: #002a5c; }
.btn--white { background: #fff; color: var(--navy-footer); }
.btn--white:hover { background: #eef1f8; }
.btn--lg { font-size: 22px; padding: 6px 20px; }

/* ---------- Cabecera ---------- */
.topbar { height: 10px; background: var(--green); }
.site-header { background: #fff; border-bottom: 1px solid #cfcfcf; position: relative; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }

.logo { display: inline-flex; align-items: center; text-decoration: none; }
.logo img { height: 44px; width: auto; }

.nav { display: flex; align-items: center; gap: 26px; }
.nav a { text-decoration: none; font-weight: 700; font-size: 15px; color: var(--navy-footer); }
.nav a:hover { color: var(--green); }
.nav .nav-phone { color: var(--green); }
.nav .btn { color: #fff; font-size: 15px; }
.nav .btn:hover { color: #fff; }

.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-toggle span { display: block; width: 26px; height: 3px; background: var(--navy-footer); margin: 5px 0; border-radius: 2px; }

/* Portada: la cabecera se superpone a la foto */
.home .site-header { position: absolute; top: 10px; left: 0; right: 0; background: rgba(255, 255, 255, .92); border-bottom: 0; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  background-size: cover; background-position: center;
  border-bottom: 8px solid var(--green-light);
  color: #fff;
}
.hero::before { content: ""; position: absolute; inset: 0; background: rgba(40, 55, 120, .5); }
.hero > * { position: relative; }
.hero h1 { color: var(--green-light); text-shadow: 0 4px 10px rgba(0, 0, 0, .35); }
.hero--home { min-height: 420px; padding: 120px 24px 60px; background-image: url(../img/hero-inicio.jpg); }
.hero--home h1 { font-size: clamp(34px, 5vw, 46px); text-transform: uppercase; letter-spacing: .01em; margin-bottom: 20px; }
.hero--tjanster { min-height: 330px; padding: 60px 24px; background-image: url(../img/hero-tjanster.jpg); background-position: center 40%; }
.hero--tjanster::before { background: rgba(40, 55, 120, .45); }
.hero--tjanster h1 { font-size: clamp(32px, 5vw, 48px); }
.hero--tjanster h1 .white { color: #fff; }

/* ---------- Bloques de texto ---------- */
.section { padding: 56px 0; }
.lead-block { max-width: 620px; margin: 0 auto; text-align: center; }
.lead-block h2 { font-size: clamp(26px, 3.4vw, 31px); margin-bottom: 8px; }
.lead-block p { font-size: 16px; }
.lead-block p + p { margin-top: 18px; }
.lead-block .strong { font-weight: 700; }
.intro { max-width: 640px; margin: 0 auto; text-align: center; font-size: 16px; }

/* ---------- Tarjetas de servicios ---------- */
.service-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 720px; margin: 0 auto; }
.service-card { display: flex; flex-direction: column; align-items: center; gap: 12px; text-decoration: none; }
.service-card .box {
  font-variant-ligatures: none;
  width: 100%; height: 104px;
  display: flex; align-items: center; justify-content: center;
  background: var(--card); border-radius: 4px;
  font-family: var(--heading); font-weight: 800; font-size: 25px; line-height: 1; text-align: center;
  color: var(--navy); text-transform: uppercase;
  transition: background .15s;
}
a.service-card:hover .box { background: #eaeaea; }

.dots { display: flex; justify-content: center; gap: 4px; margin: 48px 0 20px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--grey); }

.photo { border-radius: 6px; overflow: hidden; margin: 28px auto 0; max-width: 262px; }
.photo img { width: 100%; aspect-ratio: 262 / 176; object-fit: cover; }

/* ---------- Så arbetar vi ---------- */
.section-title { font-size: clamp(26px, 3.4vw, 31px); text-align: center; }
.work-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 800px; margin: 28px auto 0; text-align: center; }
.work-steps img { height: 54px; width: auto; margin: 0 auto 10px; }
.work-steps h3 { font-family: var(--body); font-weight: 700; font-size: 17px; color: var(--text); line-height: 1.12; }
.work-steps p { font-size: 15px; line-height: 1.3; max-width: 150px; margin: 0 auto; }

/* ---------- Opiniones ---------- */
.reviews { background: var(--band); margin-top: 20px; padding: 30px 0 18px; }
.reviews-track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1000px; margin: 0 auto; padding: 0 24px; }
.review { display: flex; align-items: center; gap: 12px; }
.review .avatar { flex: 0 0 96px; height: 96px; border-radius: 50%; background: var(--avatar); }
.review h3 { font-family: var(--body); font-weight: 700; font-size: 18px; color: var(--navy); margin-bottom: 2px; }
.review p { font-size: 13px; line-height: 1.3; }
.reviews .dots { margin: 18px 0 0; }
.reviews .dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; background: var(--grey); cursor: pointer; }
.reviews .dots button[aria-current="true"] { background: #7d7d7d; }

/* ---------- Tjänster: pasos ---------- */
.eyebrow { font-size: 15px; text-align: center; text-transform: uppercase; margin-bottom: 6px; }
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; max-width: 780px; margin: 30px auto 0; text-align: center; }
.flow .steg { font-weight: 500; font-size: 17px; color: var(--grey); margin-bottom: 6px; }
.flow .circle { width: 86px; height: 86px; margin: 0 auto 10px; border-radius: 50%; background: var(--green); display: flex; align-items: center; justify-content: center; }
.flow .circle svg { width: 46px; height: 46px; }
.flow h3 { font-family: var(--body); font-weight: 700; font-size: 17px; color: var(--text); }
.flow p { font-size: 15px; line-height: 1.3; }
.flow-note { text-align: center; font-weight: 700; font-size: 15px; margin: 28px 0 22px; }

/* ---------- Páginas de servicio ---------- */
.service-hero { display: grid; grid-template-columns: 290px 1fr; gap: 28px; align-items: start; max-width: 780px; margin: 0 auto; }
.service-hero .img { border-radius: 6px; overflow: hidden; }
.service-hero .img img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.service-hero h1 { font-size: 23px; text-transform: uppercase; line-height: 1.08; margin: 4px 0 12px; }
.service-hero p { font-size: 15px; }
.service-hero ul { list-style: none; padding: 0; margin: 20px 0 16px; font-size: 15px; }
.service-hero .btn { font-size: 14px; }

/* ---------- Därför väljer kunder ---------- */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: 800px; margin: 30px auto 0; text-align: center; }
.why img { width: 128px; height: 102px; object-fit: cover; border-radius: 5px; margin: 0 auto 18px; }
.why h3 { font-size: 19px; line-height: 1.05; }
.why p { color: var(--navy); font-size: 14px; line-height: 1.3; margin-top: 2px; }

/* ---------- Om oss ---------- */
.mark-big { height: 50px; width: auto; margin: 0 auto 10px; }
.closing { max-width: 580px; margin: 0 auto; text-align: center; }
.closing h2 { font-size: clamp(26px, 3.4vw, 31px); }
.closing .sub { font-weight: 700; font-size: 15px; margin: 2px 0 20px; }
.closing p { font-size: 16px; }
.closing .actions { display: flex; justify-content: center; gap: 14px; margin-top: 14px; }
.closing .actions .btn { font-size: 15px; }

/* ---------- Offert ---------- */
.offert-band { background: var(--navy-footer); color: #fff; text-align: center; padding: 50px 24px 40px; }
.offert-band h1 { color: var(--green-light); font-size: clamp(30px, 4vw, 35px); text-shadow: 0 3px 8px rgba(0, 0, 0, .35); }
.offert-band p { max-width: 560px; margin: 10px auto 18px; font-size: 16px; }
.offert-band .btn { font-size: 17px; padding: 4px 16px; }

.form-card { max-width: 596px; margin: 38px auto 46px; background: var(--band); border-radius: 8px; padding: 42px 58px 46px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 14px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 15px; margin-bottom: 5px; }
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit; font-size: 16px;
  padding: 8px 12px;
  border: 1px solid #d8d8d8; border-radius: 6px;
  background: #fff; color: var(--text);
}
.field input { height: 38px; }
.field select { height: 38px; color: #9a9a9a; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='10'%3E%3Cpath d='M0 0h12L6 10z' fill='%23333'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 32px; }
.field select.chosen { color: var(--text); }
.field textarea { height: 192px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--green); outline-offset: 0; border-color: var(--green); }
.form-card .submit { text-align: center; margin-top: 20px; }
.form-card .submit .btn { font-size: 17px; padding: 4px 18px; }
.form-thanks { display: none; text-align: center; font-weight: 700; color: var(--navy); margin-top: 16px; }
.form-thanks.show { display: block; }

/* ---------- Pie ---------- */
.site-footer { background: var(--navy-footer); color: #fff; text-align: center; padding: 26px 24px 28px; margin-top: 0; }
.footer-brand { display: inline-flex; align-items: center; gap: 14px; }
.footer-brand .logo img { height: 46px; }
.footer-brand .divider { width: 1px; height: 42px; background: #fff; }
.social { display: flex; gap: 3px; }
.social a { display: flex; }
.social svg { width: 19px; height: 19px; }
.tagline { font-size: 12px; font-weight: 300; margin: 12px 0 28px; }
.footer-links { font-size: 12px; font-weight: 300; line-height: 2; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-links .sep { margin: 0 8px; }
.copyright { background: var(--navy-deep); color: #fff; text-align: center; font-size: 12px; padding: 12px 24px; }

.chat {
  position: fixed; right: 36px; bottom: 36px; z-index: 30;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--green); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, .2);
}
.chat svg { width: 34px; height: 34px; }

/* ---------- Móvil ---------- */
@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid #cfcfcf; padding: 8px 24px 18px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid #eee; font-size: 16px; }
  .nav .btn { text-align: center; margin-top: 12px; padding: 10px; border: 0; }
  .home .site-header { background: rgba(255, 255, 255, .96); }

  .work-steps { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .flow { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .why { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .service-hero { grid-template-columns: 1fr; }
  .service-hero .img { max-width: 420px; }

  .reviews-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 0; padding: 0; scrollbar-width: none; }
  .reviews-track::-webkit-scrollbar { display: none; }
  .review { flex: 0 0 100%; scroll-snap-align: center; padding: 0 24px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .logo img { height: 36px; }
  .service-cards { grid-template-columns: 1fr; max-width: 320px; }
  .service-card .box {
  font-variant-ligatures: none; height: 84px; }
  .form-card { padding: 28px 18px 32px; margin: 24px 16px 36px; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-links .sep { margin: 0 4px; }
  .chat { right: 16px; bottom: 16px; }
  .wrap { padding: 0 16px; }
}
