/* =========================================================
   WEB & WONDER
   Clean plum / burgundy redesign
   ========================================================= */

/* =========================
   1. DESIGN TOKENS
   ========================= */

:root {
  --bg: #f6f0e8;
  --bg-alt: #eee3d6;
  --surface: #fffaf4;
  --surface-soft: #f2e7db;

  --text: #30251f;
  --muted: #786b62;

  --plum: #8a5d46;
  --plum-dark: #5e3d30;
  --plum-light: #b76e4f;
  --plum-soft: #f0dfd1;

  --wine: #722f3e;
  --wine-dark: #4d202b;

  --accent: #b76e4f;
  --accent-soft: #e8cdbb;

  --border: #ddcdbf;
  --border-strong: #c6ad9a;

  --success: #4f7658;
  --error: #9b4f4f;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --shadow-sm: 0 8px 24px rgba(64, 34, 53, 0.06);
  --shadow-md: 0 18px 48px rgba(64, 34, 53, 0.10);
  --shadow-lg: 0 28px 70px rgba(64, 34, 53, 0.14);

  --content-width: 1180px;
  --reading-width: 720px;

  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 5rem;

  --page-padding: clamp(1.25rem, 5vw, 4.5rem);

  --transition: 180ms ease;
}


/* =========================
   2. RESET & BASE
   ========================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;

  font-family:
    "Inter",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  color: var(--text);

  background:
    radial-gradient(
      circle at top right,
      rgba(122, 38, 63, 0.08),
      transparent 32rem
    ),
    linear-gradient(
      180deg,
      #fcf8f9 0%,
      var(--bg) 52%,
      #f0e5e9 100%
    );

  line-height: 1.7;
}

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

button,
input,
textarea {
  font: inherit;
}

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

a:hover {
  color: var(--wine);
}

::selection {
  background: var(--plum);
  color: #fff;
}

:focus-visible {
  outline: 3px solid rgba(122, 38, 63, 0.25);
  outline-offset: 3px;
}


/* =========================
   3. TYPOGRAPHY
   ========================= */

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: "Playfair Display", Georgia, serif;
  color: var(--text);
}

h1 {
  margin-bottom: var(--space-lg);

  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

h2 {
  margin-bottom: var(--space-md);

  font-size: clamp(2.2rem, 4vw, 3.6rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

h3 {
  margin-bottom: var(--space-sm);

  font-size: 1.3rem;
  line-height: 1.3;
}

p {
  margin-bottom: var(--space-md);
  color: var(--muted);
}

.eyebrow,
.hero-tag-label,
.meta-label,
.review-toggle-eyebrow,
.tech-section strong {
  display: block;

  margin-bottom: 0.35rem;

  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;

  color: var(--wine);
}


/* =========================
   4. HEADER
   ========================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;

  min-height: 76px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);

  padding-inline: var(--page-padding);

  border-bottom: 1px solid rgba(91, 48, 72, 0.14);

  background: rgba(252, 248, 249, 0.94);
  backdrop-filter: blur(14px);

  transition:
    transform 260ms ease,
    opacity 220ms ease;
}

.site-header.is-hidden {
  transform: translateY(-100%);
  opacity: 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo {
  width: auto;
  height: clamp(56px, 5vw, 72px);
  object-fit: contain;
}

.brand-name,
.site-header .brand-name {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;

  color: var(--plum-dark);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.main-nav a {
  padding: 0.7rem 0.9rem;

  border-radius: var(--radius-sm);

  color: var(--text);

  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;

  transition:
    background var(--transition),
    color var(--transition);
}

.main-nav a:hover {
  background: var(--plum-soft);
  color: var(--wine);
}

.nav-toggle {
  display: none;

  width: 44px;
  height: 44px;

  padding: 0;

  border: 1px solid var(--border);
  border-radius: var(--radius-sm);

  background: var(--surface);

  cursor: pointer;
}

.nav-toggle-bar {
  display: block;

  width: 20px;
  height: 2px;

  margin: 3px auto;

  border-radius: var(--radius-pill);

  background: var(--plum-dark);
}


/* =========================
   5. HERO
   ========================= */

.hero {
  width: min(
    100%,
    calc(var(--content-width) + (var(--page-padding) * 2))
  );

  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.75fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;

  margin: 0 auto;

  padding:
    clamp(4.5rem, 8vw, 7rem)
    var(--page-padding)
    clamp(4rem, 7vw, 6rem);
}

.hero-content {
  min-width: 0;
}

.hero-content h1 {
  max-width: 820px;
}

.hero-text {
  max-width: 620px;

  margin-bottom: 0;

  font-size: 1.06rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;

  margin-top: var(--space-xl);
}

.button {
  min-height: 46px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0.8rem 1.3rem;

  border: 1px solid transparent;
  border-radius: var(--radius-sm);

  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;

  cursor: pointer;

  transition:
    transform var(--transition),
    background var(--transition),
    border-color var(--transition),
    color var(--transition),
    box-shadow var(--transition);
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  border-color: var(--wine-dark);

  background:
    linear-gradient(
      135deg,
      var(--wine-dark),
      var(--wine),
      var(--plum-light)
    );

  color: #fff;

  box-shadow: 0 10px 24px rgba(92, 25, 48, 0.20);
}

.button.primary:hover {
  background: var(--wine-dark);
  color: #fff;
}

.button.ghost {
  border-color: var(--border-strong);

  background: rgba(255, 250, 251, 0.75);

  color: var(--plum-dark);
}

.button.ghost:hover {
  border-color: var(--plum-light);
  background: var(--plum-soft);
}

.hero-panel {
  overflow: hidden;

  border: 1px solid var(--border);
  border-radius: var(--radius-md);

  background:
    linear-gradient(
      145deg,
      rgba(255, 250, 251, 0.96),
      rgba(234, 216, 225, 0.88)
    );

  box-shadow: var(--shadow-sm);
}

.hero-tag {
  padding: 1rem 1.2rem;

  border-bottom: 1px solid var(--border);
}

.hero-tag:last-child {
  border-bottom: 0;
}

.hero-tag-value {
  font-size: 0.95rem;
  font-weight: 600;

  color: var(--text);
}


/* =========================
   6. SECTIONS
   ========================= */

.section,
.section-testimonials {
  padding:
    var(--space-3xl)
    var(--page-padding);
}

.section > *,
.section-testimonials > * {
  max-width: var(--content-width);

  margin-left: auto;
  margin-right: auto;
}

.section-alt {
  background:
    linear-gradient(
      135deg,
      rgba(234, 216, 225, 0.85),
      rgba(248, 241, 244, 0.95)
    );

  border-block: 1px solid rgba(91, 48, 72, 0.12);
}

.section-header {
  max-width: 740px;
text-align: left;
  margin-bottom: var(--space-xl);
}

.section-header p {
  max-width: 620px;
  margin-bottom: 0;
  text-align:left;
}


/* =========================
   7. SERVICE CARDS
   ========================= */

.grid.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-md);
}

.card {
  min-height: 300px;

  display: flex;
  flex-direction: column;

  padding: 1.6rem 1.45rem;

  border: 1px solid var(--border);
  border-radius: var(--radius-md);

  background:
    linear-gradient(
      150deg,
      rgba(255, 250, 251, 0.98),
      rgba(244, 233, 237, 0.92)
    );

  box-shadow: var(--shadow-sm);

  transition:
    transform var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

.card:nth-child(2) {
  background:
    linear-gradient(
      150deg,
      rgba(238, 224, 231, 0.97),
      rgba(255, 250, 251, 0.97)
    );
}

.card:nth-child(3) {
  background:
    linear-gradient(
      150deg,
      rgba(230, 211, 220, 0.90),
      rgba(250, 244, 246, 0.98)
    );
}

.card:hover {
  transform: translateY(-3px);

  border-color: var(--plum-light);

  box-shadow: var(--shadow-md);
}

.card h3 {
  color: var(--plum-dark);
}

.card p:last-child {
  margin-bottom: 0;
}


/* =========================
   8. PROCESS
   Så här arbetar jag
   ========================= */

.process-list {
  width: 100%;
  max-width: var(--content-width);

  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-md);

  margin: 0 auto;
  padding: 0;

  list-style: none;
}

.process-list li {
  min-width: 0;

  padding: 1.7rem 1.6rem;

  border: 1px solid var(--border);
  border-radius: var(--radius-md);

  background:
    linear-gradient(
      145deg,
      rgba(255, 250, 251, 0.96),
      rgba(234, 216, 225, 0.76)
    );

  box-shadow: var(--shadow-sm);

  transition:
    transform var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

.process-list li:hover {
  transform: translateY(-2px);

  border-color: var(--plum-light);

  box-shadow: var(--shadow-md);
}

.process-step {
  display: block;

  margin-bottom: 0.7rem;

  font-family: "Playfair Display", Georgia, serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.1em;

  color: var(--wine);
}

.process-list li p:last-child {
  margin-bottom: 0;
}


/* =========================
   9. ABOUT
   Bild vänster / innehåll höger
   Hela bilden visas utan beskärning
   ========================= */

#om {
  position: relative;

  display: grid;
  grid-template-columns: minmax(380px, 520px) minmax(0, 1fr);

  grid-template-areas:
    "photo title"
    "photo tagline"
    "photo content";

  column-gap: clamp(3rem, 6vw, 6rem);
  row-gap: 1rem;

  align-items: start;

  max-width: calc(
    var(--content-width) + (var(--page-padding) * 2)
  );

  margin: 0 auto;

  padding:
    var(--space-3xl)
    var(--page-padding);
}


/* Behövs eftersom rubrik, bild och tagline
   ligger inuti .section-header i din HTML */

#om > .section-header {
  display: contents;
}


/* =========================
   RUBRIK
   ========================= */

#om > .section-header h2 {
  grid-area: title;

  max-width: 650px;

  margin: 0;

  font-size: clamp(3rem, 5vw, 4.8rem);
  line-height: 1;
  letter-spacing: -0.04em;

  color: var(--wine-dark);

  text-align: left;
}


/* =========================
   BILD / COLLAGE
   ========================= */

#om > .section-header .about-photo {
  grid-area: photo;
}

.about-photo {
  width: 100%;
  max-width: 520px;

  margin: 0;

  overflow: hidden;

  border: 2px solid rgba(255, 250, 244, 0.9);
  border-radius: 18px;

  background: transparent;

  box-shadow:
    0 18px 45px rgba(76, 49, 36, 0.12),
    0 0 0 1px rgba(138, 93, 70, 0.08);
}


/*
  VIKTIGT:
  Ingen aspect-ratio.
  Ingen fast height.
  Ingen object-fit: cover.

  Bildens egna proportioner bestämmer höjden.
*/

.about-photo img {
  display: block;

  width: 100%;
  height: auto;

  object-fit: contain;
  object-position: center;

  border-radius: 16px;
}

.about-photo::after {
  display: none;
}


/* =========================
   TAGLINE
   ========================= */

#om > .section-header .about-tagline {
  grid-area: tagline;
}

.about-tagline {
  width: 100%;
  max-width: 650px;

  margin: 0 0 0.75rem;

  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.65rem, 2.7vw, 2.35rem);
  font-weight: 600;
  line-height: 1.25;

  color: var(--wine-dark);

  text-align: left;
}


/* =========================
   TEXTEN OM MIG
   ========================= */

.about-layout {
  grid-area: content;

  width: 100%;
  max-width: 650px;

  display: block;

  margin: 0;
}

.about-layout > div:first-child {
  width: 100%;
}

.about-layout > div:first-child > p {
  width: 100%;
  max-width: 620px;

  margin: 0;

  color: var(--text);

  font-size: 1rem;
  line-height: 1.82;

  text-align: left;
}


/* =========================
   META / STYRKOR ETC.
   ========================= */

.about-meta {
  width: 100%;

  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-sm);

  margin-top: var(--space-xl);
}

.about-meta > div {
  padding: 1rem 1.1rem;

  border: 1px solid var(--border);
  border-left: 4px solid #8a5d46;
  border-radius: var(--radius-sm);

  background: rgba(255, 250, 244, 0.86);
}

.meta-value {
  font-size: 0.95rem;
  line-height: 1.6;

  color: var(--text);
}


/* =========================
   PUNCHLINE
   ========================= */

.punchline {
  display: block;

  width: 100%;
  max-width: 620px;

  margin-top: var(--space-xl);
  padding: 1rem 1.2rem;

  border-left: 4px solid var(--wine);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;

  background:
    linear-gradient(
      90deg,
      rgba(232, 205, 187, 0.78),
      rgba(255, 250, 244, 0.84)
    );

  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.1rem;
  line-height: 1.7;

  color: var(--plum-dark);

  text-align: left;
}


/* =========================
   ABOUT — TABLET
   ========================= */

@media (max-width: 1000px) {
  #om {
    grid-template-columns:
      minmax(300px, 400px)
      minmax(0, 1fr);

    column-gap: var(--space-2xl);
  }

  .about-photo {
    max-width: 400px;
  }

  #om > .section-header h2 {
    font-size: clamp(2.8rem, 5vw, 4rem);
  }
}


/* =========================
   ABOUT — MOBILE
   ========================= */

@media (max-width: 700px) {
  #om {
    grid-template-columns: 1fr;

    grid-template-areas:
      "title"
      "photo"
      "tagline"
      "content";

    gap: var(--space-xl);

    padding:
      3.5rem
      var(--page-padding);
  }

  #om > .section-header h2 {
    text-align: center;
  }

  .about-photo {
    width: 100%;
    max-width: 520px;

    margin-inline: auto;
  }

  .about-photo img {
    width: 100%;
    height: auto;

    object-fit: contain;
  }

  .about-tagline {
    max-width: 100%;

    margin: 0;

    font-size: 1.7rem;

    text-align: center;
  }

  .about-layout {
    max-width: 100%;
  }

  .about-layout > div:first-child > p {
    max-width: 100%;
  }

  .punchline {
    max-width: 100%;
  }
}

/* =========================
   10. CONTACT
   ========================= */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: var(--space-xl);
  align-items: start;
}

.contact-block,
.contact-form {
  padding: var(--space-lg);

  border: 1px solid var(--border);
  border-radius: var(--radius-md);

  background:
    linear-gradient(
      145deg,
      rgba(255, 250, 251, 0.98),
      rgba(234, 216, 225, 0.72)
    );
}

.contact-block {
  max-width: 36rem;
}

.contact-form {
  box-shadow: var(--shadow-sm);
}

.contact-line + .contact-line {
  margin-top: 0.45rem;
}

.contact-line a {
  color: var(--wine);

  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-line a:hover {
  color: var(--plum);
}

.contact-note {
  margin-top: var(--space-md);
  margin-bottom: 0;

  font-size: 0.9rem;
}


/* =========================
   11. FORMS
   ========================= */

.form-field {
  display: grid;
  gap: 0.4rem;

  margin-bottom: var(--space-md);
}

.form-field label,
.review-form label {
  font-size: 0.8rem;
  font-weight: 700;

  color: var(--plum-dark);
}

.form-field input,
.form-field textarea,
.review-form input,
.review-form textarea {
  width: 100%;

  padding: 0.8rem 0.9rem;

  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);

  background: rgba(255, 255, 255, 0.92);

  color: var(--text);

  outline: none;

  transition:
    border-color var(--transition),
    box-shadow var(--transition),
    background var(--transition);
}

.form-field input:focus,
.form-field textarea:focus,
.review-form input:focus,
.review-form textarea:focus {
  border-color: var(--plum);

  background: #fff;

  box-shadow: 0 0 0 3px rgba(91, 48, 72, 0.12);
}

.form-field textarea,
.review-form textarea {
  min-height: 140px;

  resize: vertical;
}

.contact-submit {
  margin-top: var(--space-xs);
}

.form-hint {
  margin: var(--space-sm) 0 0;

  font-size: 0.84rem;

  color: var(--muted);
}


/* =========================
   12. TESTIMONIALS
   ========================= */

.section-testimonials {
  text-align: center;
}

.testimonial-carousel {
  position: relative;

  width: 100%;
  max-width: 780px;

  margin: 0 auto;

  overflow: hidden;

  border: 1px solid var(--border);
  border-radius: var(--radius-md);

  background:
    linear-gradient(
      145deg,
      rgba(255, 250, 251, 0.98),
      rgba(234, 216, 225, 0.72)
    );

  box-shadow: var(--shadow-sm);
}

.testimonial-track {
  display: flex;

  transition: transform 0.45s ease;

  will-change: transform;
}

.testimonial-slide {
  min-width: 100%;
  flex: 0 0 100%;

  padding: clamp(2.5rem, 5vw, 4rem);

  text-align: center;
}

.t-avatar {
  margin-bottom: var(--space-md);

  font-size: 2.5rem;
}

.t-quote {
  max-width: 620px;

  margin: 0 auto var(--space-md);

  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.58;

  color: var(--plum-dark);
}

.t-name {
  font-size: 0.9rem;
  font-weight: 700;

  color: var(--muted);
}

.t-btn {
  position: absolute;
  top: 50%;
  z-index: 2;

  width: 40px;
  height: 40px;

  display: grid;
  place-items: center;

  padding: 0;

  border: 1px solid var(--border);
  border-radius: 50%;

  background: var(--surface);
  color: var(--plum-dark);

  cursor: pointer;

  transform: translateY(-50%);

  transition:
    background var(--transition),
    border-color var(--transition);
}

.t-btn:hover {
  border-color: var(--plum-light);

  background: var(--plum-soft);
}

.t-btn.prev {
  left: var(--space-sm);
}

.t-btn.next {
  right: var(--space-sm);
}

.t-btn[hidden] {
  display: none;
}

.t-dots {
  position: absolute;
  bottom: 22px;
  left: 50%;

  display: flex;
  gap: 0.45rem;

  transform: translateX(-50%);
}

.t-dot {
  width: 10px;
  height: 10px;

  padding: 0;

  border: 0;
  border-radius: 50%;

  background: #c8b8c0;

  cursor: pointer;
}

.t-dot.active {
  background: var(--wine);
}


/* =========================
   13. REVIEW ACCORDION
   ========================= */

.review-section {
  position: relative;
  z-index: 2;

  width: min(calc(100% - 2rem), 780px);

  margin: var(--space-3xl) auto;

  overflow: hidden;

  border: 1px solid var(--border);
  border-radius: var(--radius-md);

  background:
    linear-gradient(
      145deg,
      rgba(255, 250, 251, 0.98),
      rgba(234, 216, 225, 0.72)
    );

  box-shadow: var(--shadow-sm);
}

.review-toggle {
  width: 100%;

  display: flex;
  align-items: center;
  gap: var(--space-md);

  padding: var(--space-lg);

  border: 0;

  background: transparent;

  text-align: left;

  cursor: pointer;

  transition: background var(--transition);
}

.review-toggle:hover {
  background: rgba(91, 48, 72, 0.06);
}

.review-toggle-icon {
  flex-shrink: 0;

  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.8rem;

  color: var(--wine);
}

.review-toggle-text {
  flex: 1;

  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.review-toggle-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 600;
  line-height: 1.2;

  color: var(--plum-dark);
}

.review-toggle-description {
  margin: 0;

  font-size: 0.9rem;
}

.review-toggle-arrow {
  flex-shrink: 0;

  width: 40px;
  height: 40px;

  display: grid;
  place-items: center;

  border: 1px solid var(--border);
  border-radius: 50%;

  background: var(--surface);

  transition:
    transform var(--transition),
    border-color var(--transition);
}

.review-toggle.is-open .review-toggle-arrow {
  transform: rotate(180deg);
}

.review-toggle:hover .review-toggle-arrow {
  border-color: var(--plum-light);
}

.review-form-wrapper {
  padding: var(--space-lg);

  border-top: 1px solid var(--border);
}

.review-form-wrapper[hidden] {
  display: none;
}

.review-form-intro {
  padding-bottom: var(--space-md);
}

.review-form-intro p {
  margin: 0;
}

.review-form {
  display: grid;
  gap: var(--space-md);
}

.review-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-md);
}

.review-form .form-field {
  margin: 0;
}

.review-form small {
  font-size: 0.78rem;

  color: var(--muted);
}

.review-submit {
  justify-self: start;

  margin-top: var(--space-xs);
}

.review-message {
  min-height: 1.5rem;
  margin: 0;
}

.review-message.success {
  color: var(--success);
}

.review-message.error {
  color: var(--error);
}

.review-honeypot {
  position: absolute !important;

  width: 1px !important;
  height: 1px !important;

  overflow: hidden !important;

  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;

  white-space: nowrap !important;
}


/* =========================
   14. TECH MODAL
   ========================= */

.tech-trigger {
  display: inline-block;

  margin-top: var(--space-md);
  padding: 0;

  border: 0;

  background: transparent;

  color: var(--wine);

  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;

  cursor: pointer;
}

.tech-modal {
  position: fixed;
  inset: 0;
  z-index: 100;

  display: none;
}

.tech-modal.active {
  display: block;
}

.tech-modal-backdrop {
  position: absolute;
  inset: 0;

  background: rgba(36, 27, 32, 0.58);

  backdrop-filter: blur(4px);
}

.tech-modal-content {
  position: relative;
  z-index: 1;

  width: min(calc(100% - 2rem), 560px);
  max-height: 80vh;

  margin: 10vh auto;
  padding: var(--space-xl);

  overflow-y: auto;
  overscroll-behavior: contain;

  border: 1px solid var(--border);
  border-radius: var(--radius-md);

  background: var(--surface);

  box-shadow: var(--shadow-lg);
}

.tech-modal-content h3 {
  margin-bottom: var(--space-sm);
}

.tech-intro {
  margin-bottom: var(--space-lg);
}

.tech-section {
  padding: var(--space-md) 0;

  border-top: 1px solid var(--border);
}

.tech-section span {
  font-size: 0.9rem;
}

.tech-modal-close {
  position: absolute;
  top: 0.8rem;
  right: 1rem;

  width: 40px;
  height: 40px;

  padding: 0;

  border: 0;
  border-radius: 50%;

  background: transparent;

  color: var(--muted);

  font-size: 1.5rem;

  cursor: pointer;
}

.tech-modal-close:hover {
  background: var(--plum-soft);

  color: var(--plum-dark);
}


/* =========================
   15. BACKGROUND WATERMARK
   ========================= */

.body-logo-bg {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: -1;

  width: 70vw;

  transform: translate(-50%, -50%);

  opacity: 0.025;

  pointer-events: none;
  user-select: none;
}

@keyframes slowMove {
  from {
    transform: translate(-50%, -50%);
  }

  to {
    transform: translate(-49%, calc(-50% + 3px));
  }
}

.logo-watermark {
  animation: slowMove 9s ease-in-out infinite alternate;
}


/* =========================
   16. FOOTER
   ========================= */

.site-footer {
  padding:
    var(--space-xl)
    var(--page-padding)
    var(--space-2xl);

  border-top: 1px solid var(--border);

  background: rgba(64, 34, 53, 0.04);

  font-size: 0.85rem;

  color: var(--muted);
}


/* =========================
   17. TABLET
   ========================= */

@media (max-width: 1000px) {
  .hero {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .hero-panel {
    max-width: 640px;
  }

  .grid.cards {
    grid-template-columns: 1fr;
  }

  .card {
    min-height: 0;
  }

  .process-list {
    grid-template-columns: 1fr;
  }


  .contact-layout {
    grid-template-columns: 1fr;
  }
}


/* =========================
   18. MOBILE
   ========================= */

@media (max-width: 700px) {
  :root {
    --space-3xl: 3.5rem;
  }

  .site-header {
    min-height: 68px;
  }

  .logo {
    height: 48px;
  }

  .brand-name,
  .site-header .brand-name {
    max-width: 54vw;

    overflow: hidden;

    font-size: 0.86rem;

    text-overflow: ellipsis;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: var(--page-padding);
    right: var(--page-padding);

    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;

    padding: var(--space-sm);

    border: 1px solid var(--border);
    border-radius: var(--radius-md);

    background: var(--surface);

    box-shadow: var(--shadow-md);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 0.8rem 0.7rem;
  }

  .hero {
    padding-top: var(--space-2xl);
    padding-bottom: var(--space-2xl);
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }


  .testimonial-slide {
    padding: 2.5rem 2.8rem;
  }

  .t-btn {
    width: 34px;
    height: 34px;
  }

  .t-btn.prev {
    left: 0.25rem;
  }

  .t-btn.next {
    right: 0.25rem;
  }

  .review-toggle {
    gap: var(--space-sm);
    padding: var(--space-md);
  }

  .review-toggle-icon {
    font-size: 1.4rem;
  }

  .review-toggle-arrow {
    width: 36px;
    height: 36px;
  }

  .review-form-wrapper {
    padding: var(--space-md);
  }

  .review-form-row {
    grid-template-columns: 1fr;
  }

  .tech-modal-content {
    margin-top: 5vh;
    padding: var(--space-lg);
  }

  .body-logo-bg {
    width: 120vw;
  }
}




/* =========================
   19. PERSONAL + PROFESSIONAL
   More burgundy, still calm and readable
   ========================= */

.hero {
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: 2.5rem;
  right: 4%;
  width: clamp(180px, 24vw, 360px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(134, 31, 61, 0.12),
    rgba(134, 31, 61, 0.03) 58%,
    transparent 72%
  );
  pointer-events: none;
  z-index: -1;
}

.hero-content .eyebrow {
  width: fit-content;
  padding: 0.4rem 0.7rem;
  border-radius: var(--radius-pill);
  background: var(--plum-soft);
  color: var(--wine-dark);
}

.hero-panel {
  border-top: 4px solid var(--wine);
}

.section-header h2 {
  color: var(--plum-dark);
}

.card {
  border-top: 4px solid rgba(134, 31, 61, 0.72);
}

.card:nth-child(2) {
  border-top-color: var(--plum);
}

.card:nth-child(3) {
  border-top-color: var(--accent);
}

.process-list li {
  border-top: 4px solid var(--wine);
}

.process-list li:nth-child(2) {
  border-top-color: var(--plum);
}

.process-list li:nth-child(3) {
  border-top-color: var(--accent);
}

.about-photo {
  border-color: rgba(255, 249, 250, 0.92);
  box-shadow:
    0 24px 58px rgba(95, 16, 41, 0.18),
    0 0 0 1px rgba(134, 31, 61, 0.12);
}

.about-tagline {
  color: var(--wine-dark);
}

.about-meta > div {
  border-left-color: var(--wine);
}

.punchline {
  border-left-color: var(--wine);
  background: linear-gradient(
    90deg,
    rgba(239, 216, 223, 0.98),
    rgba(255, 249, 250, 0.82)
  );
}

.section-alt {
  background:
    linear-gradient(
      135deg,
      rgba(111, 28, 52, 0.10),
      rgba(239, 216, 223, 0.82) 45%,
      rgba(255, 249, 250, 0.94)
    );
}

.contact-block {
  border-top: 4px solid var(--wine);
}

.contact-form {
  border-top: 4px solid var(--plum);
}

.testimonial-carousel {
  border-top: 4px solid var(--wine);
}

.review-section {
  border-top: 4px solid var(--plum);
}

.site-footer {
  border-top: 0;
  background:
    linear-gradient(
      135deg,
      var(--plum-dark),
      var(--wine-dark)
    );
  color: rgba(255, 249, 250, 0.78);
}

.site-footer a {
  color: #fff;
}

@media (max-width: 700px) {
  .hero::before {
    top: 1rem;
    right: -5rem;
    width: 240px;
  }
}




/* =========================
   EARTHY ELEGANCE
   Warm, personal and professional
   ========================= */

body {
  background:
    radial-gradient(
      circle at 88% 7%,
      rgba(183, 110, 79, 0.10),
      transparent 28rem
    ),
    linear-gradient(
      180deg,
      #fcf8f2 0%,
      var(--bg) 54%,
      #eee2d5 100%
    );
}

/* Tjänster */
#tjanster .section-header {
  width: 100%;
  max-width: 760px;

  margin: 0 auto var(--space-xl);

  text-align: left;
}

#tjanster .section-header h2 {
  margin: 0 0 0.65rem;

  text-align: left;
}

#tjanster .section-header p {
  max-width: 620px;

  margin: 0;

  text-align: left;
}
/* Tjänstekort */
#tjanster .grid.cards {
  gap: 1.25rem;
}

#tjanster .card {
  border: 1px solid var(--border);
  border-top: 3px solid #8a5d46;

  background:
    linear-gradient(
      145deg,
      #fffaf4 0%,
      #f3e8dc 100%
    );

  box-shadow:
    0 12px 35px rgba(71, 48, 36, 0.07);
}

#tjanster .card:nth-child(2) {
  border-top-color: #b76e4f;

  background:
    linear-gradient(
      145deg,
      #f7eee5 0%,
      #fffaf4 100%
    );
}

#tjanster .card:nth-child(3) {
  border-top-color: var(--wine);

  background:
    linear-gradient(
      145deg,
      #f1e5df 0%,
      #fbf5ee 100%
    );
}

#tjanster .card h3 {
  color: var(--plum-dark);
}

#tjanster .card:hover {
  border-color: #c9aa96;
  box-shadow:
    0 18px 42px rgba(71, 48, 36, 0.11);
}

/* Process – warmer, calmer */
.section-alt {
  background:
    linear-gradient(
      135deg,
      rgba(232, 205, 187, 0.48),
      rgba(246, 238, 229, 0.94)
    );
}

.process-list li {
  border-top-color: #8a5d46;

  background:
    linear-gradient(
      145deg,
      rgba(255, 250, 244, 0.98),
      rgba(240, 223, 209, 0.78)
    );
}

.process-list li:nth-child(2) {
  border-top-color: #b76e4f;
}

.process-list li:nth-child(3) {
  border-top-color: var(--wine);
}

/* About */
#om > .section-header h2,
.about-tagline {
  color: var(--wine-dark);
}

.about-photo {
  background: #ead7c7;

  box-shadow:
    0 24px 58px rgba(76, 49, 36, 0.16),
    0 0 0 1px rgba(138, 93, 70, 0.14);
}

.about-meta > div {
  border-left-color: #8a5d46;
  background: rgba(255, 250, 244, 0.86);
}

.punchline {
  border-left-color: var(--wine);

  background:
    linear-gradient(
      90deg,
      rgba(232, 205, 187, 0.78),
      rgba(255, 250, 244, 0.84)
    );
}

/* Reviews and contact */
.testimonial-carousel,
.review-section,
.contact-block,
.contact-form {
  background:
    linear-gradient(
      145deg,
      rgba(255, 250, 244, 0.98),
      rgba(240, 226, 214, 0.76)
    );
}

.testimonial-carousel,
.review-section {
  border-top-color: var(--wine);
}

.contact-block {
  border-top-color: #8a5d46;
}

.contact-form {
  border-top-color: #b76e4f;
}

/* Elegant dark finish */
.site-footer {
  background:
    linear-gradient(
      135deg,
      #4a3028,
      var(--wine-dark)
    );

  color: rgba(255, 250, 244, 0.80);
}

.site-footer a {
  color: #fffaf4;
}


/* =========================
   20. ACCESSIBILITY
   ========================= */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
