/* Napzorg styles — base rules, components, interactions, responsive layouts. */

@font-face {
  font-family: Montreal;
  src: url("../neuemontreal-regular.otf") format("opentype");
  font-weight: 100 900;
  font-display: swap;
}

/* 01. Base and typography */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  background: #fafbf7;
  color: #233f36;
  font-family: "Inter Tight", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.75;
}

h1,
h2,
h3,
.brand {
  font-family: Montreal, Arial, sans-serif;
  font-weight: 400;
  line-height: 1.07;
  letter-spacing: -0.045em;
  margin: 0;
}

h1 {
  font-size: clamp(48px, 6.5vw, 88px);
}

h2 {
  font-size: clamp(36px, 4.2vw, 56px);
}

h3 {
  font-size: 29px;
}

p {
  color: #63726a;
  margin: 0 0 20px;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

a,
button,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid #61866c;
  outline-offset: 5px;
}

/* 02. Content container */

.wrap {
  width: min(1400px, calc(100% - 64px));
  margin-inline: auto;
}

/* 03. Header and navigation */

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 100px;
  gap: 32px;
}

.brand {
  font-size: 29px;
  letter-spacing: -1.5px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.brand img {
  display: block;
  width: 144px;
  height: auto;
  max-width: 100%;
}

.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
  font-size: 13px;
}

.nav-links a:not(.btn):hover,
.footlinks a:hover {
  text-underline-offset: 5px;
  text-decoration: none;
}

/* 04. Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 14px 24px;
  background: #284f3e;
  color: white;
  border: 1px solid #284f3e;
  border-radius: 999px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition:
    background 0.25s,
    box-shadow 0.25s;
}

.btn:hover {
  text-decoration: none;
  background: #1c3b2d;
  box-shadow: inset 0 0 16px #102c2a40;
}

.btn.light {
  background: transparent;
  color: #284f3e;
  border-color: #b7c6b8;
}

.btn.light:hover {
  background: #e6ece2;
}

.menu {
  display: none;
}

/* 05. Hero */

.hero {
  text-align: center;
  padding: 66px 0 0;
}

.hero h1 {
  max-width: 920px;
  margin: auto;
}

.soft {
  color: #799771;
}

.intro {
  max-width: 590px;
  margin: 25px auto 29px;
  font-size: 16px;
  line-height: 1.85;
}

.actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.hero-image {
  margin-top: 55px;
  position: relative;
  height: 310px;
  border-radius: 8px;
  overflow: hidden;
  background: #dbe4d1;
  text-align: left;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
}

.image-note {
  position: absolute;
  bottom: 25px;
  left: 28px;
  background: #fafbf7f2;
  padding: 12px 18px;
  border-radius: 4px;
  font-size: 12px;
  color: #3c5c42;
}

.values {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #dce3d8;
  padding: 23px 5px;
  font-size: 12px;
  gap: 16px;
}

.values span:before {
  content: "✓";
  margin-right: 10px;
  color: #6a8b60;
}

/* 06. Shared section layout */

section {
  padding: 100px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 60px;
  margin-bottom: 43px;
}

.section-head h2 {
  max-width: 570px;
}

.section-head p {
  max-width: 330px;
  margin: 0;
}

/* 07. Audience cards */

.audiences {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.audience {
  padding: 30px;
  background: #edf1e8;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  align-items: start;
}

.audience:nth-child(2) {
  background: #f0eee5;
}

.audience:nth-child(3) {
  background: #e8efed;
}

.number {
  font-size: 12px;
  color: #6b806b;
  margin-bottom: 40px;
}

.audience h3 {
  margin-bottom: 17px;
}

.audience p {
  font-size: 14px;
  flex: 1;
}

.textlink {
  font-size: 13px;
  border-bottom: 1px solid #b2bfb1;
  padding: 8px 0;
}

/* 08. Care areas */

.care {
  background: #f0f3ec;
}

.care-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 100px;
  align-items: center;
}

.care-layout h2 {
  margin-bottom: 25px;
}

.care-list {
  border-top: 1px solid #cdd8c8;
}

.care-row {
  display: grid;
  grid-template-columns: 35px 1fr;
  gap: 15px;
  padding: 23px 0;
  border-bottom: 1px solid #cdd8c8;
}

.care-row > span {
  font-size: 11px;
  color: #7b8f74;
  padding-top: 6px;
}

.care-row h3 {
  font-size: 25px;
  margin-bottom: 8px;
}

.care-row p {
  font-size: 13px;
  margin: 0;
}

/* 09. How it works */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 35px;
  margin-top: 50px;
}

.step {
  border-top: 1px solid #d5dfd0;
  padding-top: 20px;
}

.step .number {
  margin-bottom: 30px;
  display: block;
}

.step h3 {
  font-size: 25px;
  margin-bottom: 15px;
}

.step p {
  font-size: 13px;
}

/* 10. About Napzorg */

.about {
  padding: 0 0 100px;
}

.about-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 85px;
  background: #e5ecdf;
  border-radius: 8px;
  padding: 64px;
}

.about-box h2 {
  margin-bottom: 20px;
}

.pillars {
  border-top: 1px solid #bfceba;
  align-self: center;
  width: 100%;
}

.pillar {
  padding: 19px 0;
  border-bottom: 1px solid #bfceba;
  display: grid;
  grid-template-columns: 35px 1fr;
  gap: 15px;
}

.pillar b {
  font-family: Montreal;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.3;
}

.pillar p {
  font-size: 12px;
  margin: 4px 0 0;
}

.initial {
  font-family: Montreal;
  font-size: 25px;
  color: #86a17d;
}

/* 11. Contact and form */

.contact {
  background: #f0eee7;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 100px;
}

.contact h2 {
  margin-bottom: 23px;
}

.contact-copy > p {
  max-width: 350px;
}

.contact-links {
  display: grid;
  gap: 18px;
  margin-top: 38px;
}

.contact-links small {
  display: block;
  color: #748171;
  font-size: 11px;
}

.contact-links a {
  font-size: 18px;
}

.form {
  background: #fff;
  padding: 35px;
  border-radius: 7px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.full {
  grid-column: 1/-1;
}

label {
  font-size: 12px;
  color: #304b3e;
}

label span {
  color: #7a867e;
  font-size: 10px;
}

input,
textarea,
select {
  width: 100%;
  min-width: 0;
  background: #fafbf8;
  border: 1px solid #dce1d8;
  border-radius: 3px;
  padding: 12px;
  color: #2c4338;
  outline-offset: 2px;
  font-size: 13px;
}

textarea {
  min-height: 110px;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: #939d92;
}

.form-note {
  font-size: 10px;
  line-height: 1.6;
  margin: 16px 0;
  color: #7c847b;
}

.form .btn {
  width: 100%;
  justify-content: center;
}

.status {
  font-size: 13px;
  margin: 15px 0 0;
}

.status:empty {
  display: none;
}

.honey {
  display: none;
}

/* 12. Footer */

.footer {
  padding: 43px 0 20px;
  background: #fafbf7;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 30px;
  padding-bottom: 35px;
}

.footer p {
  font-size: 11px;
  margin-top: 12px;
}

.footlinks {
  display: flex;
  gap: 25px;
  font-size: 12px;
  padding-top: 8px;
}

.footer-bottom {
  flex-wrap: wrap;
  gap: 12px 24px;
  border-top: 1px solid #dce3d8;
  display: flex;
  justify-content: space-between;
  padding-top: 18px;
  font-size: 10px;
  color: #7c877d;
}

/* 13. Text and link animations */

.word {
  display: inline-block;
  white-space: nowrap;
}

.char {
  display: inline-block;
  will-change: transform;
}

.line-mask {
  overflow: clip;
  padding-bottom: 0.13em;
  margin-bottom: -0.13em;
}

.nav-cta {
  padding: 10px 17px;
}

.link-label {
  position: relative;
  display: inline-block;
  overflow: hidden;
  line-height: 1.7;
}

.link-char {
  display: inline-block;
  white-space: pre;
}

.link-arrow-clip {
  overflow: hidden;
}

.link-arrow {
  display: inline-block;
  line-height: 1;
}

.nav-links a:not(.btn),
.footlinks a {
  position: relative;
  text-decoration: none;
  width: fit-content;
}

.nav-links a:not(.btn)::before,
.footlinks a::before {
  content: "";
  position: absolute;
  bottom: -0.0625em;
  left: 0;
  width: 100%;
  height: 0.0625em;
  background: currentColor;
  transition: transform 0.6s cubic-bezier(0.625, 0.05, 0, 1);
  transform-origin: right;
  transform: scaleX(0) rotate(0.001deg);
}

.nav-links a:not(.btn):focus-visible::before,
.footlinks a:focus-visible::before {
  transform-origin: left;
  transform: scaleX(1) rotate(0.001deg);
}

@keyframes heroZoomOut {
  from {
    transform: scale(1.14);
  }
  to {
    transform: scale(1);
  }
}

.textlink,
.contact-direct {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  width: fit-content;
  max-width: 100%;
}

.link-arrow-clip,
.contact-direct .plain-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 20px;
  flex: 0 0 18px;
  font-size: 16px;
  line-height: 1;
}

/* 14. Frequently asked questions */

.faq-section {
  background: #f0f3ec;
  margin-bottom: 100px;
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 100px;
  align-items: start;
}

.faq-list {
  border-top: 1px solid #cdd8c8;
}

.faq-item {
  border-bottom: 1px solid #cdd8c8;
}

.faq-item summary {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  cursor: pointer;
  padding: 25px 0;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary h3 {
  flex: 1;
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.faq-item summary::after,
.faq-item[open] summary::after {
  content: "+";
  flex: none;
  font-size: 23px;
  line-height: 1;
  color: #799771;
}

.faq-item p {
  margin: 0;
  padding: 0 35px 25px 0;
  font-size: 14px;
  line-height: 1.85;
}

.faq-list.faq-ready {
  overflow: hidden;
}

.faq-answer {
  overflow: hidden;
}

.faq-item.is-active summary::after {
  content: "−";
}

.faq-item:not(.faq-managed)[open] summary::after {
  content: "−";
}

/* 15. Spam trap */

.spam-trap {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* 16. Responsive layouts and motion preferences */

@media (min-width: 1600px) {
  .hero {
    padding-top: 85px;
  }
  .hero-image {
    height: 350px;
  }
}

@media (max-width: 850px) {
  .nav-links {
    gap: 17px;
  }
  .nav-links a {
    font-size: 11px;
  }
  .section-head {
    gap: 30px;
  }
  .care-layout,
  .contact-grid {
    gap: 45px;
  }
  .about-box {
    padding: 40px;
    gap: 40px;
  }
  .steps {
    grid-template-columns: 1fr 1fr;
  }
  .audiences {
    gap: 12px;
  }
  .audience {
    padding: 23px;
  }
  .audience h3 {
    font-size: 25px;
  }
  .faq-layout {
    gap: 45px;
  }
}

@media (max-width: 650px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .nav {
    min-height: 80px;
  }
  .brand {
    font-size: 25px;
  }
  .menu {
    display: block;
    border: 1px solid #cbd6c6;
    border-radius: 999px;
    background: none;
    color: #284f3e;
    padding: 7px 11px;
    font-size: 12px;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 75px;
    left: 20px;
    right: 20px;
    background: #fafbf7;
    z-index: 10;
    padding: 25px;
    border: 1px solid #dce3d8;
    box-shadow: 0 14px 20px #243d3210;
  }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
  .nav-links a {
    font-size: 14px;
  }
  .hero {
    padding-top: 40px;
  }
  .hero h1 {
    font-size: 48px;
    letter-spacing: -0.05em;
  }
  .hero .intro {
    font-size: 14px;
    margin-top: 23px;
  }
  .eyebrow {
    font-size: 10px;
  }
  .actions {
    gap: 10px;
  }
  .btn {
    padding: 12px 17px;
    gap: 16px;
    font-size: 12px;
  }
  .hero-image {
    height: 240px;
    margin-top: 35px;
  }
  .image-note {
    left: 15px;
    bottom: 15px;
    font-size: 10px;
    max-width: calc(100% - 30px);
    padding: 10px 12px;
  }
  .values {
    flex-wrap: wrap;
    justify-content: center;
    gap: 9px 20px;
    font-size: 10px;
    padding: 19px 0;
  }
  section {
    padding: 65px 0;
  }
  .section-head {
    display: block;
    margin-bottom: 30px;
  }
  .section-head p {
    margin-top: 20px;
    max-width: 100%;
    font-size: 14px;
  }
  .audiences,
  .care-layout,
  .about-box,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .audience {
    padding: 28px;
  }
  .number {
    margin-bottom: 25px;
  }
  .audience h3 {
    font-size: 30px;
  }
  .care-layout,
  .contact-grid {
    gap: 35px;
  }
  .steps {
    gap: 25px;
  }
  .step h3 {
    font-size: 23px;
  }
  .about {
    padding-bottom: 65px;
  }
  .about-box {
    padding: 28px;
    gap: 30px;
  }
  .contact-copy > p {
    max-width: 100%;
  }
  .contact-links {
    margin-top: 22px;
    gap: 12px;
  }
  .form {
    padding: 23px;
  }
  .form-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .footer-top {
    flex-direction: column;
    gap: 15px;
  }
  .footlinks {
    flex-wrap: wrap;
    gap: 13px 22px;
  }
  .footer-bottom {
    gap: 20px;
    font-size: 9px;
  }
  .contact h2 {
    max-width: 330px;
  }
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .faq-item summary {
    padding: 22px 0;
    gap: 16px;
  }
  .faq-item summary h3 {
    font-size: 20px;
  }
  .faq-item p {
    padding-right: 15px;
  }
  .faq-section {
    margin-bottom: 65px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
  .nav-links a:not(.btn)::before,
  .footlinks a::before {
    transition: none;
  }
}

@media (hover: hover) and (pointer: fine) {
  .nav-links a:not(.btn):hover::before,
  .footlinks a:hover::before {
    transform-origin: left;
    transform: scaleX(1) rotate(0.001deg);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-image img {
    transform-origin: center center;
    animation: heroZoomOut 6s cubic-bezier(0.2, 0.65, 0.3, 1) both;
  }
}
