/* Vestre Torv Apotek – stil. Merkefarge hentet fra logoen. */

:root {
  --green: #69ab1a;
  --green-dark: #55900f;
  --green-deep: #2f5408;
  --green-tint: #f2f8e9;
  --ink: #1d2b1a;
  --ink-soft: #4b5a47;
  --bg: #ffffff;
  --bg-alt: #f7faf3;
  --border: #e2ead6;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(47, 84, 8, 0.08);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 5rem; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

h1, h2, h3 { line-height: 1.2; }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); margin-bottom: 1rem; }
h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }

.kicker {
  color: var(--green-dark);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.lead { font-size: 1.15rem; color: var(--ink-soft); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--ink);
  font-size: 1.1rem;
}
.brand img { border-radius: 10px; }
.brand strong { color: var(--green-dark); }

.site-nav { display: flex; align-items: center; gap: 1.4rem; }
.site-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.98rem;
}
.site-nav a:hover { color: var(--green-dark); }

.nav-cta {
  background: var(--green);
  color: #fff !important;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
}
.nav-cta:hover { background: var(--green-dark); }

.nav-toggle, .nav-toggle-label { display: none; }

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--green-tint) 0%, #ffffff 60%);
  border-bottom: 1px solid var(--border);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  align-items: center;
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
}

.hero-text .lead { margin: 1rem 0 1.8rem; }

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

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: background 0.15s, color 0.15s;
}
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); }
.btn-outline {
  border: 2px solid var(--green);
  color: var(--green-dark);
}
.btn-outline:hover { background: var(--green); color: #fff; }

.hero-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.8rem;
}
.hero-card h2 { font-size: 1.2rem; color: var(--green-deep); }
.hero-card dl div, .hours div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0;
  border-bottom: 1px dashed var(--border);
}
.hero-card dd, .hours dd { font-weight: 700; }
.hero-card hr { border: none; border-top: 1px solid var(--border); margin: 1rem 0; }
.hours-note { font-size: 0.85rem; color: var(--ink-soft); margin-top: 0.7rem; }

/* Sections */
.section { padding: 4.5rem 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.grid { display: grid; gap: 1.4rem; margin-top: 2rem; }
.services-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.info-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow);
}
.card p { color: var(--ink-soft); font-size: 0.97rem; }

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--green-tint);
  color: var(--green-dark);
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
}
.card-icon svg { width: 26px; height: 26px; }

/* Om oss */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: start;
}
.about-grid p { color: var(--ink-soft); margin-bottom: 1rem; }

.usp-list { list-style: none; display: grid; gap: 1rem; }
.usp-list li {
  background: #fff;
  border-left: 4px solid var(--green);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.1rem 1.3rem;
  box-shadow: var(--shadow);
}
.usp-list p { margin: 0; font-size: 0.95rem; }

/* Kontakt */
.section-cta {
  background: var(--green-deep);
  color: #fff;
  text-align: center;
}
.section-cta .lead { color: #d8e8c4; margin-bottom: 2rem; }

.contact-row {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}
.contact-item {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  padding: 1.1rem 1.6rem;
  min-width: 220px;
  text-decoration: none;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
a.contact-item:hover { background: rgba(255, 255, 255, 0.16); }
.contact-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #b5d38a;
  font-weight: 700;
}
.contact-value { font-weight: 700; }

/* Footer */
.site-footer {
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 1.6rem 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.footer-brand { display: flex; align-items: center; gap: 0.6rem; font-weight: 700; color: var(--ink); }
.footer-brand img { border-radius: 8px; }
.site-footer nav { display: flex; gap: 1.2rem; }
.site-footer a { color: var(--ink-soft); text-decoration: none; }
.site-footer a:hover { color: var(--green-dark); }

/* Mobil */
@media (max-width: 800px) {
  .hero-inner, .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-inner { padding-top: 2.5rem; padding-bottom: 2.5rem; }
  .section { padding: 3rem 0; }

  .nav-toggle-label {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 0.4rem;
  }
  .nav-toggle-label span {
    width: 24px;
    height: 2.5px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform 0.2s, opacity 0.2s;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 0.8rem 1.25rem 1.2rem;
    gap: 0.2rem;
    box-shadow: var(--shadow);
  }
  .site-nav a { padding: 0.7rem 0.4rem; }
  .nav-cta { text-align: center; margin-top: 0.5rem; }

  .nav-toggle:checked ~ .site-nav { display: flex; }
  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
}
