:root {
      --primary: #e2f0db;
      --brand-primary-dark: #9fbe95;
      --brand-text-dark: #1f2a1c;
      --primary-soft: #e2edf5;
      --accent: #667b5f;
      --bg: #f5f7fa;
      --text: #1f2933;
      --muted: #6b7280;
      --card-bg: #ffffff;
      --radius-lg: 3px;
      --shadow-soft: 0 10px 25px rgba(15, 23, 42, 0.12);
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html, body {
      overflow-x: hidden;
    }

    body {
      font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      font-size: 17px;
      line-height: 1.6;
      color: var(--text);
      background-color: #f5f8f3;
      color: #222;
    }

    img {
      max-width: 100%;
      display: block;
    }

    a {
      /* color: inherit; */
      color: #355834;
      text-decoration: none;
    }

     a:hover {
      text-decoration: underline;
    }

    button {
      font: inherit;
    }

    /* Layout */

    .page {
      max-width: 960px;
      margin: 0 auto;
      padding: 0 1.25rem 3rem;
    }

    header {
      /* background: linear-gradient(135deg, var(--primary) 0%, #102a43 50%, #1f567a 100%); */
      background: linear-gradient(135deg, #ffffff 0%, #C5DCBA 35%, #ffffff 100%);
      color: #475840;
      padding: 1rem 1.25rem 2.5rem;
      margin: 0 0 1.5rem;
      position: relative;
      background-color: #C5DCBA;
      overflow: hidden;
    }

    /* Mönster-överlägg */
    header::after {
      content: "";
      position: absolute;
      inset: 0;
      background-image: url("/img/monster.tif");
      background-size: 350px;  
      background-repeat: repeat;
      opacity: 0.35;           /* Gör så grundfärgen syns igenom */
      mix-blend-mode: soft-light;
      pointer-events: none;
    }

    .nav-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
      margin-bottom: 1.5rem;
    }

    @media (max-width: 600px) {
    .nav-top {
      flex-direction: column;
      align-items: flex-start; /* så allt vänsterställs */
      gap: 0.5rem;
    }

    .nav-phone {
      align-self: flex-start;
      margin-top: 0.5rem;
    }
  }

    .logo-wrap {
      display: flex;
      align-items: center;
      gap: 0.75rem;
    }

    .logo-image {
      width: 200px;
      height: 120px;
      object-fit: contain;
      border-radius: 3px;
      background: #ffffff;
      padding: 6px;
      box-shadow: 0 4px 10px rgba(255, 255, 255, 0.25);
    }

    .logo-placeholder {
      width: 56px;
      height: 56px;
      border-radius: 3px;
      border: 2px solid rgba(255, 255, 255, 0.9);
      background: rgba(255, 255, 255, 0.08);
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 700;
      font-size: 1rem;
      color: #0e3752;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    }

    .logo-text-main {
      font-weight: 600;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      font-size: 1.3rem;
    }

    .logo-text-sub {
      font-size: 1.1rem;
      opacity: 0.8;
    }

    .nav-phone {
      font-size: 1.3rem;
      text-align: right;
    }

    .nav-phone a {
      font-weight: 600;
      display: inline-block;
    }

    .nav-phone small {
      display: block;
      opacity: 0.8;
      font-size: 1.1rem;
    }

    .hero {
      text-align: left;
      border-radius: 1.5rem;
    }

    .hero-kicker {
      font-size: 0.75rem;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      opacity: 0.75;
      margin-bottom: 0.5rem;
    }

    .hero-title {
      font-size: 2rem;
      font-weight: 700;
      margin-bottom: 0.75rem;
    }

    .hero-tagline {
      font-size: 1,2rem;
      font-weight: 500;
      margin-bottom: 0.75rem;
      color: #355837;
    }

    .hero-text {
      font-size: 1.1rem;
      opacity: 0.9;
      margin-bottom: 1.5rem;
    }

    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 0.75rem;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 0.7rem 1.2rem;
      border-radius: 3px;
      border: none;
      cursor: pointer;
      font-size: 0.95rem;
      font-weight: 600;
      text-decoration: none;
      transition: transform 0.1s ease, box-shadow 0.1s ease, background 0.15s ease;
      white-space: nowrap;
    }

    .btn-primary {
      background: #fff;
      color: var(--primary);
      box-shadow: 0 8px 18px rgba(15, 23, 42, 0.25);
      background-color: var(--brand-primary);
      border-color: var(--brand-primary);
      color: var(--brand-text-dark);
      border: 1px solid #1f2a1c;
    }

     .btn.btn-primary:hover {
      background-color: var(--brand-primary-dark);
      border-color: var(--brand-primary-dark);
    }

    .btn-outline {
      background: transparent;
      color: #fff;
      border: 1px solid rgba(255, 255, 255, 0.6);
    }

     .btn.btn-outline {
      border-color: var(--brand-primary);
      color: var(--brand-text-dark);
    }

    .btn-small {
      padding: 0.55rem 1rem;
      font-size: 0.8rem;
    }

    .btn:hover {
      transform: translateY(-1px);
      box-shadow: var(--shadow-soft);
    }

      .btn.btn-outline:hover {
      background-color: var(--brand-primary);
      color: var(--brand-text-dark);
    }

    main {
      margin-top: 1rem;
    }

    .section {
      margin-bottom: 2rem;
    }

    .section-header {
      margin-bottom: 1rem;
    }

    .section-kicker {
      font-size: 1.2rem;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      color: var(--accent);
      font-weight: 600;
      margin-bottom: 0.25rem;
    }

    .section-title {
      font-size: 1.4rem;
      font-weight: 700;
      margin-bottom: 0.25rem;
    }

    .section-subtitle {
      font-size: 1.2rem;
      color: var(--muted);
    }

    .card {
      background-color: #ffffff;
      background: var(--card-bg);
      border-radius: var(--radius-lg);
      padding: 1.25rem;
      box-shadow: var(--shadow-soft);
      border: 1px solid rgba(197, 220, 186, 0.6);
    }

    /* .card + .card {
      margin-top: 1rem;
    } */

    .pill {
      display: inline-flex;
      align-items: center;
      gap: 0.3rem;
      padding: 0.25rem 0.7rem;
      border-radius: 3px;
      border: 1px solid rgba(148, 163, 184, 0.5);
      font-size: 1.1rem;
      color: var(--muted);
      margin-bottom: 0.75rem;
    }

    .pill-dot {
      width: 6px;
      height: 6px;
      border-radius: 999px;
      background: var(--accent);
    }

    .pill,
    .partner-pill,
    .location-tag {
      /* background-color: #C5DCBA; */
      color: var(--brand-text-dark);
      border: none;
    }

    /* Mottagningar */

    .clinic-hero-image {
      border-radius: var(--radius-lg);
      overflow: hidden;
      margin-bottom: 1rem;
      height: 180px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #1e293b;
      font-weight: 600;
      font-size: 0.9rem;
      text-align: center;
      padding: 0 1.5rem;
    }

    .location-card-title {
      font-weight: 600;
      margin-bottom: 0.25rem;
    }

    .location-tag {
      font-size: 1.1rem;
      color: var(--accent);
      margin-bottom: 0.25rem;
      text-transform: uppercase;
      letter-spacing: 0.15em;
      font-weight: 600;
    }

    .location-text {
      font-size: 1.1rem;
      color: var(--muted);
      margin-bottom: 0.5rem;
    }

    .location-meta {
      font-size: 1rem;
      color: var(--muted);
    }

    /* Verksamheter */

    .service-card-title {
      font-weight: 600;
      margin-bottom: 0.25rem;
    }

    .service-lead {
      font-size: 1.1rem;
      color: var(--muted);
      margin-bottom: 0.5rem;
    }

    .service-text {
      font-size: 1rem;
      color: var(--text);
      margin-bottom: 0.75rem;
    }

    .service-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
    }

    .service-slogan {
      font-size: 1.1rem;
      font-weight: 600;
      font-style: italic;
      margin-top: 1rem;
      color: #2e5b4e; /* Exempel: en mer distinkt ton */
      letter-spacing: 0.5px; /* Lite mer luft – slogan-känsla */
      display: block;
    }

    .btn-ghost {
      background: var(--brand-primary);
      color: var(--brand-text-dark);
      box-shadow: 0 8px 18px rgba(15, 23, 42, 0.25);
      border-radius: 3px;
      border: 1px solid rgba(107, 181, 166, 0.4);
      padding: 0.55rem 1rem;
      font-size: 0.8rem;
      font-weight: 600;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      justify-content: center;
    }

    /* Medarbetare */

    .staff-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 1rem;
    }

    .staff-card {
      display: flex;
      gap: 0.75rem;
      align-items: flex-start;
    }

    .staff-photo {
      width: 64px;
      height: 64px;
      border-radius: 3px;
      background: #111827;
      position: relative;
      overflow: hidden;
      flex-shrink: 0;
    }

    .staff-photo img {
      width: 100%;
      height: 100%;
      object-fit: cover; /* ser till att bilden fyller rutan snyggt */
      display: block;
    }

    .staff-photo::after {
      content: "Foto";
      position: absolute;
      inset: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      color: rgba(156, 163, 175, 0.95);
      font-size: 0.75rem;
      text-transform: uppercase;
      letter-spacing: 0.08em;
    }

    .staff-body {
      flex: 1;
    }

    .staff-name {
      font-weight: 600;
      font-size: 0.95rem;
      margin-bottom: 0.15rem;
    }

    .staff-role {
      font-size: 0.8rem;
      color: var(--accent);
      margin-bottom: 0.25rem;
    }

    .staff-text {
      font-size: 0.8rem;
      color: var(--muted);
    }

    /* Hitta hit */

    .map-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 1rem;
    }

    .map-card-title {
      font-weight: 600;
      margin-bottom: 0.15rem;
      font-size: 0.95rem;
    }

    .map-address {
      font-size: 0.85rem;
      color: var(--muted);
      margin-bottom: 0.5rem;
    }

    .map-placeholder {
      border-radius: var(--radius-lg);
      border: 1px solid rgba(148, 163, 184, 0.4);
      background: repeating-linear-gradient(
        45deg,
        #e5e7eb,
        #e5e7eb 4px,
        #f3f4f6 4px,
        #f3f4f6 8px
      );
      height: 180px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.8rem;
      color: var(--muted);
      text-align: center;
      padding: 0 1rem;
    }

    /* Kontakt */

    .contact-card {
      display: grid;
      gap: 1.25rem;
    }

    .contact-info {
      font-size: 0.9rem;
      color: var(--muted);
    }

    .contact-info p + p {
      margin-top: 0.35rem;
    }

    .contact-highlight {
      font-weight: 600;
      color: var(--brand-primary-dark);
    }

    .contact-form {
      display: grid;
      gap: 0.75rem;
    }

    .form-field {
      display: grid;
      gap: 0.25rem;
    }

    .form-label {
      font-size: 0.8rem;
      font-weight: 500;
      color: var(--muted);
    }

    .form-input,
    .form-textarea {
      border-radius: 3px;
      border: 1px solid rgba(148, 163, 184, 0.8);
      padding: 0.6rem 0.9rem;
      font-size: 0.9rem;
      font-family: inherit;
      outline: none;
      background: #f9fafb;
      transition: border-color 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
    }

    .form-textarea {
      border-radius: 3px;
      min-height: 90px;
      resize: vertical;
    }

    .form-input:focus,
    .form-textarea:focus {
      border-color: var(--accent);
      background: #ffffff;
      box-shadow: 0 0 0 1px rgba(107, 181, 166, 0.3);
    }

    /* Boka sektion */

    .booking-card {
      text-align: left;
      border-color: var(--brand-primary);
    }

    .booking-text {
      font-size: 0.9rem;
      color: var(--text);
      margin-bottom: 0.75rem;
    }

    /* Samarbetspartners */

    .partner-list {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
    }

    .partner-pill {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 0.45rem 0.9rem;
      border-radius: 3px;
      background: var(--primary-soft);
      font-size: 0.8rem;
      font-weight: 500;
      text-decoration: none;
    }

    .partner-pill:hover {
      filter: brightness(0.97);
    }

    /* Footer */

    footer {
      margin-top: 2rem;
      padding-top: 1.5rem;
      border-top: 1px solid rgba(148, 163, 184, 0.4);
      font-size: 1rem;
      /* background-color: #C5DCBA; */
      color: var(--brand-text-dark);
      text-align: center;
    }

    /* Responsivitet */

    @media (min-width: 640px) {
      header {
        border-bottom-left-radius: 3px;
        border-bottom-right-radius: 3px;
      }

      .hero-title {
        font-size: 2rem;
      }

      .hero-text {
        max-width: 32rem;
      }

      .contact-card {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr);
        align-items: flex-start;
        border-color: var(--brand-primary)
      }

      .map-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .staff-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
    }

    @media (min-width: 900px) {
      .page {
        padding-top: 1.5rem;
      }
    }
