/* Akorn Distribution — static site styles (based on YOOtheme Florence theme) */

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

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Lucida Grande", "Lucida Sans Unicode", Verdana, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  background: #fff;
}

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

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

a:hover {
  opacity: 0.8;
}

.container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 40px;
}

.container-narrow {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ── Header ── */

.site-header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 980;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  max-width: 1360px;
  margin: 0 auto;
  position: relative;
}

.logo img {
  height: 80px;
  width: auto;
}

.nav-desktop {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-desktop ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0;
}

.nav-desktop a {
  display: block;
  padding: 0 20px;
  color: #333;
  font-weight: 700;
  text-transform: capitalize;
  letter-spacing: 1.5px;
  font-size: 15px;
  line-height: 80px;
  transition: color 0.1s ease-in-out;
}

.nav-desktop a:hover,
.nav-desktop li.active a {
  color: #222;
}

/* Mobile header */
.header-mobile {
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: #fff;
}

.header-mobile .logo img {
  height: 60px;
}

.menu-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: #333;
}

.menu-toggle svg {
  width: 24px;
  height: 24px;
}

.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 990;
  padding: 60px 40px 40px;
  overflow-y: auto;
}

.mobile-nav.open {
  display: block;
}

.mobile-nav-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-nav a {
  display: block;
  padding: 16px 0;
  font-size: 24px;
  font-weight: 700;
  color: #333;
  border-bottom: 1px solid #eee;
}

.mobile-nav li.active a {
  color: #d2601c;
}

/* ── Hero ── */

.hero {
  position: relative;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-large {
  min-height: 534px;
  padding: 140px 40px;
}

.hero-medium {
  min-height: 400px;
  padding: 70px 40px;
}

.hero h1 {
  margin: 0;
  font-size: 42px;
  font-weight: 700;
  color: #fff;
  text-shadow: #636363 2px 2px;
}

/* ── Sections ── */

.section {
  padding: 40px 0;
}

.section-small {
  padding: 30px 0;
}

.section-divider {
  padding: 40px 0 0;
}

.section-divider hr {
  border: none;
  border-top: 1px solid #e5e5e5;
  margin: 0;
}

.content-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 60px;
}

.content-row:last-child {
  margin-bottom: 0;
}

.content-row.reverse .content-text {
  order: -1;
}

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

.content-image img {
  margin: 0 auto;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.content-text h2 {
  font-size: 24px;
  font-weight: 400;
  margin: 0 0 20px;
  text-align: center;
}

@media (min-width: 640px) {
  .content-text h2.text-left-desktop {
    text-align: left;
  }

  .content-text .body-text.text-left-desktop {
    text-align: justify;
    margin-left: 0;
    margin-right: auto;
  }
}

.content-text .body-text {
  text-align: justify;
  max-width: 500px;
  margin: 0 auto 24px;
}

.content-text .btn-wrap {
  text-align: center;
}

.btn {
  display: inline-block;
  padding: 12px 32px;
  font-size: 16px;
  font-family: inherit;
  font-weight: 400;
  line-height: 1.5;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: background-color 0.1s ease-in-out, color 0.1s ease-in-out;
  text-decoration: none;
}

.btn-secondary {
  background-color: #f5ecdd;
  color: #fff;
}

.btn-secondary:hover {
  background-color: #f2e5d1;
  color: rgba(255, 255, 255, 0.9);
  opacity: 1;
}

.btn-large {
  padding: 14px 40px;
  font-size: 18px;
}

/* ── About / Contact text content ── */

.prose {
  text-align: justify;
  max-width: 900px;
  margin: 0 auto;
}

.prose p {
  margin: 0 0 1em;
}

.prose ul {
  margin: 0 0 1em;
  padding-left: 1.5em;
}

.prose li {
  margin-bottom: 0.25em;
}

.about-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  align-items: start;
  margin: 40px 0;
}

.about-grid img {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* ── Footer ── */

.site-footer {
  background: #f6f4f0;
  padding: 40px 0 0;
  position: relative;
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
  text-align: center;
}

.footer-logo img {
  margin: 0 auto 20px;
  max-width: 208px;
}

.footer-block h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 8px;
}

.footer-block p {
  margin: 0 0 8px;
}

.footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}

.footer-contacts a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #333;
}

.footer-contacts a:hover {
  color: #d2601c;
  opacity: 1;
}

.footer-contacts svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.footer-grass {
  position: relative;
  min-height: 120px;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  margin-bottom: 40px;
}

.footer-grass::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(195, 195, 195, 0.72);
}

.footer-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  text-align: center;
}

.footer-imprint {
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  font-size: 14px;
  color: #999;
  letter-spacing: 2px;
  display: none;
}

/* ── Responsive ── */

@media (min-width: 1200px) {
  .footer-imprint {
    display: block;
  }
}

@media (max-width: 960px) {
  .header-inner,
  .nav-desktop {
    display: none;
  }

  .header-mobile {
    display: flex;
  }

  .content-row,
  .content-row.reverse {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .content-row.reverse .content-text {
    order: 0;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    grid-template-columns: 1fr;
  }

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

  .hero-large {
    padding: 100px 20px;
    min-height: 350px;
    background-attachment: scroll;
  }

  .hero-medium {
    padding: 60px 20px;
    min-height: 280px;
    background-attachment: scroll;
  }

  .hero h1 {
    font-size: 32px;
  }

  .container,
  .container-narrow {
    padding: 0 20px;
  }

  .footer-grass {
    background-attachment: scroll;
  }
}

@media (max-width: 640px) {
  .hero h1 {
    font-size: 26px;
  }

  .content-text h2 {
    font-size: 20px;
  }
}
