/* =========================================================
   Torslanda Hem – grafisk profil
   Cream / taupe scandinavian aesthetic
   ========================================================= */

:root {
  /* Färgpalett hämtad ur reklambladet */
  --cream:        #f5eee7;   /* huvudbakgrund */
  --cream-soft:   #fbf6f0;   /* ljusare sektioner */
  --card:         #fefbf7;   /* kort / paneler */
  --taupe:        #e6dacb;   /* accentband, ikoncirklar */
  --taupe-deep:   #d8c9b6;   /* djupare accent */
  --taupe-line:   #cdbda8;   /* linjer / kanter */
  --ink:          #1c1a18;   /* nästan svart text */
  --ink-soft:     #4a423b;   /* brödtext */
  --muted:        #7a6f64;   /* dämpad text */
  --white:        #ffffff;

  --maxw: 1180px;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 24px 60px -30px rgba(60, 45, 30, 0.35);
  --shadow-sm: 0 12px 30px -18px rgba(60, 45, 30, 0.35);

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;

  --track: 0.22em;   /* letter-spacing för versaler */
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  color: var(--ink-soft);
  background: var(--cream);
  overflow-x: hidden;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Typografi ---------- */
h1, h2, h3 {
  font-family: var(--serif);
  color: var(--ink);
  font-weight: 500;
  line-height: 1.1;
  margin: 0 0 .4em;
}

h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); letter-spacing: .01em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.5rem; }

p { margin: 0 0 1.1em; }

.eyebrow {
  font-family: var(--sans);
  font-weight: 500;
  font-size: .78rem;
  letter-spacing: var(--track);
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 1rem;
}

.divider {
  width: 64px;
  height: 1px;
  background: var(--taupe-line);
  border: 0;
  margin: 1.4rem 0;
}
.divider.center { margin-inline: auto; }

.section {
  padding: clamp(64px, 9vw, 120px) 0;
}
.section-head {
  max-width: 720px;
  margin: 0 auto clamp(40px, 6vw, 68px);
  text-align: center;
}

/* ---------- Knappar ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  font-family: var(--sans);
  font-weight: 500;
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 16px 30px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s ease, background .25s ease, color .25s ease, box-shadow .25s ease;
}
.btn-primary {
  background: var(--ink);
  color: var(--cream);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--taupe-line);
}
.btn-ghost:hover { background: var(--taupe); transform: translateY(-2px); }

/* ---------- Logotyp ---------- */
.logo {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
}
.logo .logo-main {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: .14em;
  color: var(--ink);
  font-size: 1.5rem;
}
.logo .logo-sub {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: .5em;
  font-size: .7rem;
  color: var(--ink);
  padding-left: .5em;
}
.logo .logo-sub::before,
.logo .logo-sub::after {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--ink);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 238, 231, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(205, 189, 168, 0.4);
  transition: box-shadow .3s ease;
}
.site-header.scrolled { box-shadow: 0 10px 30px -22px rgba(60,45,30,.5); }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 24px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  padding: 4px 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1px;
  background: var(--ink);
  transition: width .3s ease;
}
.nav-links a:hover::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 18px; }
.nav-phone {
  font-size: .82rem;
  letter-spacing: .08em;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
}
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: .3s;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1200px 700px at 85% -10%, var(--taupe) 0%, rgba(230,218,203,0) 55%),
    linear-gradient(180deg, var(--cream) 0%, var(--cream-soft) 100%);
}
.hero-inner {
  display: block;
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
  padding: clamp(60px, 8vw, 110px) 0 clamp(70px, 9vw, 120px);
}
.hero-copy h1 { margin-bottom: .3em; }
.hero-lead {
  font-size: 1.12rem;
  color: var(--ink-soft);
  max-width: 48ch;
  margin-left: auto;
  margin-right: auto;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}
.hero-trust {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 40px;
  font-size: .8rem;
  letter-spacing: .05em;
  color: var(--muted);
}
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }

/* Hero visual / bild-panel */
.hero-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 200px 200px 24px 24px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255,255,255,.35), rgba(216,201,182,.55)),
    var(--taupe);
  box-shadow: var(--shadow);
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual .placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 14px; text-align: center;
  color: var(--muted); padding: 24px;
}
.hero-visual .placeholder svg { width: 54px; height: 54px; opacity: .55; }
.hero-visual .placeholder small {
  font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
}
.hero-badge {
  position: absolute;
  left: -26px; bottom: 42px;
  background: var(--card);
  border: 1px solid var(--taupe-line);
  border-radius: 18px;
  padding: 18px 22px;
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.hero-badge .num {
  font-family: var(--serif);
  font-size: 2.4rem;
  color: var(--ink);
  line-height: 1;
}
.hero-badge .lbl {
  font-size: .64rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}

/* ---------- Erbjudande-band ---------- */
.offer {
  background: var(--taupe);
}
.offer-inner {
  display: grid;
  grid-template-columns: auto 1px 1fr auto;
  gap: 40px;
  align-items: center;
  padding: clamp(40px, 6vw, 60px) clamp(28px, 5vw, 60px);
}
.offer-percent {
  font-family: var(--serif);
  color: var(--ink);
  line-height: 1;
}
.offer-percent .big {
  font-size: clamp(4rem, 9vw, 7rem);
  display: block;
  line-height: 1.05;
}
.offer-percent .sub {
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  letter-spacing: .35em;
  display: block;
  line-height: 1.1;
  margin-top: .12em;
}
.offer-vline { background: var(--taupe-line); width: 1px; height: 90%; align-self: center; }
.offer-text .eyebrow { color: var(--ink-soft); }
.offer-text h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: .2em; }
.offer-text p { margin: 0; color: var(--ink-soft); }
.offer-inner .btn { white-space: nowrap; }

/* ---------- Tjänster ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--card);
  border: 1px solid rgba(205,189,168,.5);
  border-radius: var(--radius);
  padding: 34px 30px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-icon {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--taupe);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
}
.service-icon svg { width: 28px; height: 28px; stroke: var(--ink); }
.service-card h3 { font-size: 1.55rem; }
.service-card p { color: var(--muted); font-size: .95rem; margin-bottom: 0; }
.service-card .tag {
  display: inline-block;
  margin-top: 18px;
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--taupe-line);
  padding-bottom: 2px;
}

/* ---------- Varför oss (features) ---------- */
.features {
  background: var(--cream-soft);
  border-top: 1px solid rgba(205,189,168,.4);
  border-bottom: 1px solid rgba(205,189,168,.4);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.feature {
  text-align: center;
  padding: 20px 18px;
  position: relative;
}
.feature + .feature::before {
  content: "";
  position: absolute;
  left: -8px; top: 20%;
  height: 60%; width: 1px;
  background: var(--taupe-line);
}
.feature-icon {
  width: 74px; height: 74px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--taupe);
  display: flex; align-items: center; justify-content: center;
}
.feature-icon svg { width: 32px; height: 32px; stroke: var(--ink); fill: none; }
.feature h3 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: var(--track);
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: .7em;
}
.feature p { font-size: .92rem; color: var(--muted); margin: 0; }

/* ---------- Fördelar (why choose list) ---------- */
.benefits {
  background: var(--taupe);
  border-radius: var(--radius);
  padding: clamp(40px, 6vw, 64px);
}
.benefits h2 { text-align: center; margin-bottom: 1.4rem; }
.benefits-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 760px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 40px;
}
.benefits-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
  color: var(--ink-soft);
}
.benefits-list svg { flex: 0 0 auto; width: 20px; height: 20px; stroke: var(--ink); }

/* ---------- RUT ---------- */
.rut-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.rut-visual {
  background: var(--card);
  border: 1px solid var(--taupe-line);
  border-radius: var(--radius);
  padding: 44px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.rut-visual .big {
  font-family: var(--serif);
  font-size: clamp(4rem, 9vw, 6.5rem);
  color: var(--ink);
  line-height: 1.1;
  margin-bottom: .12em;
}
.rut-visual .lbl {
  font-size: .78rem;
  letter-spacing: var(--track);
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Om oss ---------- */
.about-inner {
  display: block;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.about-copy p { margin-left: auto; margin-right: auto; max-width: 60ch; }
.about-visual {
  aspect-ratio: 5/6;
  border-radius: 24px 24px 200px 200px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,.3), rgba(216,201,182,.5)), var(--taupe);
  box-shadow: var(--shadow);
  position: relative;
}
.about-visual .placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; gap: 12px;
  align-items: center; justify-content: center;
  color: var(--muted); text-align: center; padding: 24px;
}
.about-visual .placeholder svg { width: 48px; height: 48px; opacity: .55; }
.about-visual .placeholder small { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.about-stats {
  display: flex;
  gap: 34px;
  margin-top: 30px;
  flex-wrap: wrap;
  justify-content: center;
}
.about-stats .stat .n {
  font-family: var(--serif);
  font-size: 2.4rem;
  color: var(--ink);
  line-height: 1.1;
}
.about-stats .stat .t {
  font-size: .74rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Offert-formulär ---------- */
.quote {
  background:
    radial-gradient(900px 500px at 12% 0%, var(--taupe) 0%, rgba(230,218,203,0) 55%),
    var(--cream);
}
.quote-inner {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 56px;
  align-items: start;
}
.quote-aside .contact-line {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 18px; font-size: 1rem; color: var(--ink-soft);
}
.quote-aside .contact-line svg { width: 22px; height: 22px; stroke: var(--ink); flex: 0 0 auto; }
.quote-aside .contact-line b { color: var(--ink); font-weight: 500; }

.quote-form {
  background: var(--card);
  border: 1px solid var(--taupe-line);
  border-radius: var(--radius);
  padding: clamp(28px, 4vw, 44px);
  box-shadow: var(--shadow);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--muted);
}
.field label .req { color: #b06a4f; }
.field input,
.field select,
.field textarea {
  font-family: var(--sans);
  font-size: .95rem;
  font-weight: 300;
  color: var(--ink);
  background: var(--cream-soft);
  border: 1px solid var(--taupe-line);
  border-radius: 12px;
  padding: 13px 14px;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(28,26,24,.06);
}
.field textarea { resize: vertical; min-height: 110px; }
.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: .82rem;
  color: var(--muted);
  line-height: 1.5;
}
.consent input { margin-top: 3px; width: 18px; height: 18px; flex: 0 0 auto; accent-color: var(--ink); }
.consent a { text-decoration: underline; }
.hp { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.form-note { font-size: .78rem; color: var(--muted); margin: 0; }
.form-status {
  border-radius: 12px;
  padding: 14px 16px;
  font-size: .9rem;
  margin-top: 18px;
  display: none;
}
.form-status.show { display: block; }
.form-status.ok { background: #e7ecdf; color: #46512f; border: 1px solid #c7d1b1; }
.form-status.err { background: #f3e0da; color: #7a3a28; border: 1px solid #e0bcae; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #d8cfc4;
  padding: clamp(56px, 7vw, 84px) 0 34px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(216,201,182,.18);
}
.site-footer .logo .logo-main,
.site-footer .logo .logo-sub { color: var(--cream); }
.site-footer .logo .logo-sub::before,
.site-footer .logo .logo-sub::after { background: var(--cream); }
.footer-col h4 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: .74rem;
  letter-spacing: var(--track);
  text-transform: uppercase;
  color: var(--cream);
  margin: 0 0 18px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 10px; font-size: .92rem; }
.footer-col a:hover { color: var(--cream); }
.footer-about { font-size: .92rem; max-width: 34ch; color: #c3b9ad; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 24px;
  font-size: .78rem;
  color: #9a9086;
}

/* ---------- Reveal-animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsivt ---------- */
@media (max-width: 960px) {
  .hero-inner,
  .rut-inner,
  .about-inner,
  .quote-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 460px; margin: 0 auto; width: 100%; }
  .about-visual { max-width: 460px; margin: 0 auto; width: 100%; order: -1; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); gap: 30px 16px; }
  .feature:nth-child(3)::before { display: none; }
  .offer-inner { grid-template-columns: 1fr; gap: 26px; text-align: center; justify-items: center; }
  .offer-vline { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-col:first-child { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .nav-links {
    position: fixed;
    inset: 66px 0 auto 0;
    flex-direction: column;
    background: var(--cream);
    border-bottom: 1px solid var(--taupe-line);
    padding: 24px;
    gap: 18px;
    transform: translateY(-140%);
    transition: transform .35s ease;
    box-shadow: var(--shadow-sm);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-toggle { display: block; }
  .nav-phone { display: none; }
  .nav-cta .btn { padding: 12px 20px; }
}

@media (max-width: 560px) {
  .services-grid,
  .features-grid,
  .benefits-list,
  .form-grid { grid-template-columns: 1fr; }
  .feature::before { display: none !important; }
  .hero-badge { left: 12px; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
