/* Brodén Medicin — statisk hemsida */

:root {
  --bg: #fbf8f1;
  --bg-alt: #f5efe5;
  --card: #fffdf8;
  --green: #0b3324;
  --green-2: #154735;
  --text: #171717;
  --muted: #5e5a54;
  --line: rgba(11, 51, 36, 0.13);
  --shadow: 0 24px 60px rgba(45, 35, 22, 0.10);
  --radius: 18px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(231, 215, 190, 0.45), transparent 36rem),
    linear-gradient(180deg, #fffdf8 0%, var(--bg) 100%);
  line-height: 1.55;
}

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

.terms-list {
  display: grid;
  gap: 22px;
  padding-left: 28px;
  font-size: 17px;
}

.terms-list li {
  padding-left: 8px;
}

.terms-list a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.section,
.site-header,
.site-footer {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 34px 0 26px;
  gap: 32px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--green);
}

.brand-symbol {
  font-size: 48px;
  line-height: 1;
  transform: translateY(-2px);
}

.brand-text {
  display: grid;
  line-height: 1;
}

.brand-name {
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: 0.18em;
  font-size: 34px;
}

.brand-subtitle {
  font-family: var(--serif);
  letter-spacing: 0.42em;
  font-size: 20px;
  margin-top: 8px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
  font-weight: 500;
}

.main-nav a:not(.nav-button) {
  opacity: 0.92;
}

.main-nav a:not(.nav-button):hover {
  color: var(--green-2);
}

.button,
.nav-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 10px 24px rgba(11, 51, 36, 0.18);
  transition: transform 160ms ease, background 160ms ease;
}

.button:hover,
.nav-button:hover {
  background: var(--green-2);
  transform: translateY(-1px);
}

.nav-button {
  min-height: 48px;
  padding-inline: 20px;
}

.nav-toggle {
  display: none;
}

.hero {
  display: grid;
  grid-template-columns: 1fr;
  padding: 70px 0 76px;
}

.hero-content {
  text-align: center;
}

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

h1,
h2,
h3 {
  text-wrap: balance;
}

h1 {
  max-width: 900px;
  margin-inline: auto;
  color: var(--green);
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(56px, 7vw, 82px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin-bottom: 26px;
}

.lead {
  max-width: 650px;
  margin-inline: auto;
  font-size: 18px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 40px;
}

.contact-list {
  display: flex;
  justify-content: center;
  gap: 28px 54px;
  font-style: normal;
  color: #24231f;
}

.contact-list a {
  display: flex;
  text-align: left;
  align-items: flex-start;
  gap: 14px;
}

.icon {
  width: 27px;
  color: var(--green);
  font-size: 25px;
  line-height: 1;
}

.hero-visual {
  width: 100%;
  overflow: hidden;
  border-radius: 10px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.hero-visual img {
  display: block;
  width: 100%;
  height: auto;
}

.policy-page {
  max-width: 820px;
  padding: 48px 0 72px;
}

.policy-page > .eyebrow {
  margin-top: 0;
}

.policy-page > h1 {
  margin-inline: 0;
  font-size: clamp(48px, 8vw, 72px);
}

.price-list {
  display: grid;
  gap: 16px;
}

.about-story {
  display: grid;
  gap: 20px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 253, 248, 0.82);
  box-shadow: 0 18px 36px rgba(63, 45, 23, 0.045);
}

.about-story p {
  margin-bottom: 0;
  font-size: 18px;
}

.price-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 26px 28px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 253, 248, 0.82);
}

.price-item h2 {
  margin-bottom: 5px;
  color: var(--green);
  font-family: var(--serif);
  font-size: 28px;
}

.price-item p {
  max-width: 520px;
  margin-bottom: 0;
  color: var(--muted);
}

.price-item > strong,
.price-item > a {
  flex: 0 0 auto;
  color: var(--green);
  font-weight: 700;
  text-align: right;
}

.price-item > a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.price-note {
  margin-top: 24px;
  color: var(--muted);
}

.wall-sign {
  position: absolute;
  top: 112px;
  left: 44%;
  width: 180px;
  height: 180px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 4px;
  background: var(--green);
  color: #d8b773;
  border: 3px solid #8b6b34;
  box-shadow: 0 16px 30px rgba(0,0,0,.22);
  font-family: var(--serif);
  letter-spacing: 0.18em;
  font-size: 24px;
  z-index: 3;
}

.wall-sign small {
  letter-spacing: .48em;
  font-size: 15px;
}

.sign-symbol {
  font-size: 36px;
  line-height: 1;
}

.pendant {
  position: absolute;
  top: 0;
  right: 18%;
  width: 4px;
  height: 96px;
  background: #26372a;
  z-index: 4;
}

.pendant::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 84px;
  width: 92px;
  height: 58px;
  transform: translateX(-50%);
  background: var(--green);
  border-radius: 60px 60px 15px 15px;
  box-shadow: inset 0 -9px 0 rgba(255,255,255,0.28), 0 16px 28px rgba(0,0,0,.16);
}

.desk {
  position: absolute;
  right: 0;
  bottom: 82px;
  width: 80%;
  height: 250px;
  z-index: 5;
  border-radius: 12px 0 0 12px;
  background:
    linear-gradient(90deg, rgba(96, 50, 18, .85), rgba(154, 83, 28, .92)),
    repeating-linear-gradient(90deg, #59300f 0 5px, #a4662f 5px 10px);
  box-shadow: 0 28px 50px rgba(0,0,0,.24);
}

.desk::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.08) 0 2px, transparent 2px 10px);
  border-radius: inherit;
}

.desk-logo {
  position: absolute;
  right: 56px;
  top: 72px;
  z-index: 7;
  color: #e0c07e;
  display: grid;
  justify-items: center;
  font-family: var(--serif);
  letter-spacing: .2em;
  font-size: 25px;
}

.desk-logo span {
  font-size: 42px;
  line-height: 1;
}

.desk-logo small {
  letter-spacing: .48em;
  font-size: 15px;
}

.laptop {
  position: absolute;
  left: 35%;
  top: -44px;
  width: 145px;
  height: 88px;
  background: linear-gradient(145deg, #1d2929, #0b1111);
  border-radius: 8px 8px 3px 3px;
  z-index: 6;
}

.laptop::after {
  content: "";
  position: absolute;
  left: -18px;
  right: -18px;
  bottom: -11px;
  height: 12px;
  background: #151515;
  border-radius: 0 0 12px 12px;
}

.lamp {
  position: absolute;
  right: 78px;
  top: -64px;
  width: 54px;
  height: 54px;
  background: var(--green);
  border-radius: 60% 60% 18% 18%;
  z-index: 7;
  box-shadow: 0 10px 26px rgba(0,0,0,.18);
}

.lamp::before {
  content: "";
  position: absolute;
  left: 25px;
  bottom: -64px;
  width: 4px;
  height: 64px;
  background: #2f281b;
}

.plant-large {
  position: absolute;
  right: 26px;
  top: 160px;
  width: 120px;
  height: 270px;
  z-index: 6;
}

.plant-large::before {
  content: "";
  position: absolute;
  left: 54px;
  top: 40px;
  width: 6px;
  height: 230px;
  background: #65482b;
  transform: rotate(4deg);
}

.plant-large::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 35% 20%, #335b38 0 18px, transparent 19px),
    radial-gradient(ellipse at 70% 28%, #476b3f 0 18px, transparent 19px),
    radial-gradient(ellipse at 42% 48%, #2c5132 0 20px, transparent 21px),
    radial-gradient(ellipse at 75% 55%, #405f38 0 20px, transparent 21px),
    radial-gradient(ellipse at 22% 62%, #486f43 0 17px, transparent 18px);
}

.rug {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 58%;
  height: 88px;
  background: #123b2b;
  transform: skewX(-18deg);
  z-index: 2;
}

.services {
  padding: 36px 0 22px;
}

.eyebrow {
  color: #8c5931;
  text-transform: uppercase;
  letter-spacing: .2em;
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 10px;
}

.services > h2,
.about h2 {
  font-family: var(--serif);
  font-size: clamp(38px, 5vw, 52px);
  line-height: .98;
  font-weight: 600;
  letter-spacing: -.03em;
  color: #131313;
  margin-bottom: 32px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.service-card {
  min-height: 300px;
  padding: 30px 18px 26px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 253, 248, 0.78);
  text-align: center;
  display: grid;
  justify-items: center;
  align-content: start;
  box-shadow: 0 18px 36px rgba(63, 45, 23, 0.045);
}

.service-icon,
.feature-icon {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 999px;
  background: #eee5d6;
  color: #111;
  margin-bottom: 24px;
  font-size: 31px;
}

.service-icon {
  width: 68px;
  height: 68px;
  margin-bottom: 18px;
  font-size: 28px;
}

.service-card h3,
.feature h3 {
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1.1;
  font-weight: 600;
  margin-bottom: 14px;
}

.service-card h3 {
  font-size: 26px;
}

.service-card p {
  font-size: 14px;
  max-width: 180px;
  margin-bottom: 0;
}

.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 32px 0 34px;
}

.portrait-card {
  height: 420px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg-alt);
  box-shadow: var(--shadow);
}

.portrait-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.credentials {
  display: grid;
  gap: 26px;
}

.credential {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.shield {
  width: 40px;
  height: 48px;
  border: 1.5px solid var(--green);
  border-radius: 16px 16px 20px 20px;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: var(--green);
}

.shield-logo img {
  display: block;
  width: auto;
  height: 43px;
}

.credential strong {
  display: block;
  font-size: 18px;
  margin-bottom: 3px;
}

.credential p {
  color: var(--muted);
  margin: 0;
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-block: 18px 34px;
  padding: 24px 28px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 253, 248, 0.82);
}

.feature {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 10px 24px;
}

.feature + .feature {
  border-left: 1px solid var(--line);
}

.feature-icon {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  margin: 0;
  font-size: 28px;
}

.feature h3 {
  font-size: 28px;
  margin-bottom: 5px;
}

.feature p {
  font-size: 14px;
  color: #2b2b2b;
  margin: 0;
}

.site-footer {
  width: 100%;
  min-height: 90px;
  padding: 0 max(24px, calc((100vw - 1120px) / 2));
  background: linear-gradient(90deg, #0a2c1f, #07301f);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.footer-brand {
  color: #fff;
  font-family: var(--serif);
  font-size: 24px;
  letter-spacing: .2em;
  line-height: 1;
}

.footer-brand span:first-child {
  font-size: 36px;
}

.footer-brand small {
  letter-spacing: .43em;
  font-size: 14px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  align-items: center;
  font-size: 14px;
}

.site-footer p {
  margin: 0;
  font-size: 14px;
}

@media (max-width: 1120px) {
  .site-header {
    position: relative;
  }

  .nav-toggle {
    display: inline-grid;
    gap: 5px;
    width: 46px;
    height: 46px;
    place-content: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
  }

  .nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--green);
  }

  .main-nav {
    position: absolute;
    top: 94px;
    right: 0;
    z-index: 20;
    width: min(320px, calc(100vw - 48px));
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fffdf8;
    box-shadow: var(--shadow);
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 16px;
  }

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

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

  .service-grid {
    gap: 12px;
  }

  .service-card {
    min-height: 280px;
    padding: 26px 12px 24px;
  }

  .service-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 16px;
    font-size: 25px;
  }

  .service-card h3 {
    font-size: 23px;
  }

  .service-card p {
    font-size: 13px;
    max-width: 150px;
  }

  .feature-strip {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .feature + .feature {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .feature:nth-child(2) {
    border-left: 1px solid var(--line);
    border-top: 0;
  }

  .feature-strip {
    padding: 10px;
  }
}

@media (max-width: 900px) {
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-card {
    min-height: 230px;
  }

  .service-card p {
    max-width: 260px;
  }
}

@media (max-width: 640px) {
  .section,
  .site-header {
    width: min(100% - 32px, 1120px);
  }

  .site-header {
    padding-top: 22px;
    gap: 14px;
  }

  .brand-symbol {
    font-size: 38px;
  }

  .brand-name {
    font-size: 27px;
  }

  .brand-subtitle {
    font-size: 16px;
  }

  .hero {
    padding: 42px 0 52px;
  }

  .policy-page {
    padding: 34px 0 56px;
  }

  .policy-page > h1 {
    font-size: clamp(42px, 12vw, 56px);
  }

  .contact-list {
    display: grid;
    justify-content: start;
    width: fit-content;
    margin-inline: auto;
  }

  .price-item {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .price-item > strong,
  .price-item > a {
    text-align: left;
  }

  h1 {
    font-size: clamp(44px, 14vw, 58px);
  }

  .lead {
    font-size: 16px;
  }

  .wall-sign {
    top: 70px;
    left: 36%;
    width: 135px;
    height: 135px;
    font-size: 18px;
  }

  .desk {
    width: 90%;
    height: 205px;
    bottom: 54px;
  }

  .service-grid,
  .feature-strip {
    grid-template-columns: 1fr;
  }

  .feature:nth-child(2) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .service-card {
    min-height: 250px;
    padding: 30px 18px 26px;
  }

  .service-icon {
    width: 68px;
    height: 68px;
    margin-bottom: 18px;
    font-size: 28px;
  }

  .service-card h3 {
    font-size: 26px;
  }

  .service-card p {
    font-size: 14px;
    max-width: 240px;
  }

  .portrait-card {
    height: 360px;
  }

  .site-footer {
    padding-block: 24px;
    flex-direction: column;
    text-align: center;
  }
}


/* Uppladdad logga */
.brand-logo {
  display: block;
  width: clamp(190px, 19vw, 240px);
  height: auto;
  object-fit: contain;
}

.footer-logo {
  display: block;
  width: auto;
  height: 68px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.footer-brand {
  color: #fff;
  line-height: 1;
  letter-spacing: normal;
  font-size: initial;
}

.footer-brand span:first-child,
.footer-brand small {
  font-size: initial;
  letter-spacing: normal;
}

@media (max-width: 640px) {
  .brand-logo {
    width: 205px;
  }

  .footer-logo {
    width: auto;
    height: 62px;
  }
}
