/* zenbody.dk: one stylesheet, no frameworks. Colours from the old Total child theme. */
@font-face { font-family: "Quattrocento Sans"; src: url(fonts/quattrocentosans-regular-webfont.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Quattrocento Sans"; src: url(fonts/quattrocentosans-bold-webfont.woff2) format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --orange: #ff8b00;
  --orange-text: #b35f00;   /* orange that reads on white (4.6:1) */
  --ink: #232323;
  --text: #555;
  --muted: #777;
  --line: #e8e8e8;
  --bg: #fff;
  --foot: #232323;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.7 "Quattrocento Sans", "Segoe UI", Arial, sans-serif; }
img { max-width: 100%; height: auto; }
a { color: var(--orange-text); }
a:hover { color: var(--orange); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.25; font-weight: 700; }
h1, h2 { text-transform: uppercase; letter-spacing: .01em; }
h1 { font-size: 30px; margin: 0 0 20px; }
h2 { font-size: 23px; margin: 40px 0 16px; }
h3 { font-size: 19px; margin: 28px 0 8px; }
ul { padding-left: 22px; }
hr { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }

.wrap { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* header and menu */
.top { background: #fff; border-bottom: 1px solid var(--line); position: relative; z-index: 10; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 96px; }
.logo img { display: block; width: 214px; }
.top nav ul { list-style: none; margin: 0; padding: 0; }
.top nav > ul { display: flex; gap: 6px; }
.top nav li { position: relative; }
.top nav a { display: block; padding: 10px 14px; color: var(--ink); text-decoration: none; text-transform: uppercase; font-size: 15px; letter-spacing: .03em; }
.top nav a:hover, .top nav li.active > a { color: var(--orange-text); }
.top nav .sub { display: none; position: absolute; left: 0; top: 100%; min-width: 240px; background: #fff; border: 1px solid var(--line); box-shadow: 0 6px 18px #0000001a; padding: 6px 0; }
.top nav .sub a { text-transform: none; font-size: 15px; padding: 8px 18px; }
.top nav li:hover > .sub, .top nav li:focus-within > .sub { display: block; }
#menu-toggle, .burger { display: none; }

.banner { height: 380px; background: #e8e8e8 center / cover no-repeat; }

main.wrap { padding-top: 48px; padding-bottom: 64px; min-height: 50vh; }
main > :first-child, main > section:first-child > :first-child { margin-top: 0; }

/* blocks used by the pages */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 48px; margin: 24px 0 32px; }
.service { display: flex; gap: 24px; align-items: center; color: var(--text); text-decoration: none; }
.service img { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; flex: none; }
.service strong { display: block; color: var(--orange-text); font-size: 19px; margin-bottom: 4px; }
.service:hover strong { color: var(--orange); }

.logos { display: flex; flex-wrap: wrap; gap: 32px 56px; align-items: center; margin: 16px 0; }
.logos img { width: 180px; }

.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.cols h2:first-child { margin-top: 0; }

.person { display: flex; gap: 32px; align-items: flex-start; margin: 32px 0; }
.person img { width: 220px; flex: none; border-radius: 6px; }
.person h3 { margin-top: 0; }
.person h3 span { font-weight: 400; color: var(--muted); font-size: 16px; }

.quote { display: flex; gap: 32px; align-items: flex-start; margin: 0 0 48px; }
.quote img { width: 200px; flex: none; border-radius: 6px; }
.quote blockquote { margin: 0; padding-left: 24px; border-left: 4px solid var(--orange); }
.quote footer { color: var(--muted); font-size: 15px; }

.contact { border: 1px solid var(--line); border-radius: 8px; padding: 8px 28px; max-width: 520px; margin-top: 24px; }
.contact p { display: flex; gap: 16px; margin: 14px 0; font-size: 19px; }
.contact span { width: 90px; color: var(--muted); font-size: 15px; text-transform: uppercase; letter-spacing: .05em; padding-top: 3px; }

.share { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); }
.share h4 { margin: 0 12px 0 0; text-transform: uppercase; font-size: 15px; letter-spacing: .05em; }
.share a { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border: 1px solid var(--line); border-radius: 4px; color: var(--ink); text-decoration: none; font-size: 15px; }
.share a:hover { border-color: var(--orange); color: var(--orange-text); }

/* footer */
.bottom { background: var(--foot); color: #c9c9c9; padding: 48px 0 24px; font-size: 15px; }
.bottom h4 { color: #fff; text-transform: uppercase; font-size: 15px; letter-spacing: .05em; margin: 0 0 12px; }
.bottom ul { list-style: none; padding: 0; margin: 0; }
.bottom a { color: #c9c9c9; text-decoration: none; }
.bottom a:hover { color: var(--orange); }
.cols4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid #3a3a3a; color: #9a9a9a; font-size: 14px; }

/* phones and small tablets */
@media (max-width: 860px) {
  .top .wrap { min-height: 72px; flex-wrap: wrap; }
  .logo img { width: 160px; }
  .burger { display: block; width: 44px; height: 44px; cursor: pointer; position: relative; }
  .burger span, .burger span::before, .burger span::after { position: absolute; left: 10px; width: 24px; height: 2px; background: var(--ink); content: ""; }
  .burger span { top: 21px; }
  .burger span::before { top: -7px; left: 0; }
  .burger span::after { top: 7px; left: 0; }
  .top nav { display: none; width: 100%; padding-bottom: 12px; }
  #menu-toggle:checked ~ nav { display: block; }
  .top nav > ul { flex-direction: column; gap: 0; }
  .top nav .sub { display: block; position: static; border: 0; box-shadow: none; padding: 0 0 0 16px; min-width: 0; }
  .banner { height: 200px; }
  main.wrap { padding-top: 32px; }
  h1 { font-size: 25px; }
  .services, .cols, .cols4 { grid-template-columns: 1fr; }
  .person, .quote { flex-direction: column; }
  .person img, .quote img { width: 180px; }
}
.bottom .follow { display: inline-flex; align-items: center; gap: 8px; }
