 
 (defn footer []
   [:div#footer
-   [:style {:type "text/css"}]
-   [:h4 (:services strings)]])
+   (style
+    [:div#footer {:padding-top "80px"
+                  :padding-bottom "80px"
+                  :background-color "rgba(46,48,58,0.96)"
+                  :color "white"}
+     [:a {:color "#ddd"}]])
+   [:div.container.footer
+    [:div.row
+     [:div.col-md-3
+      [:h4 (:services strings)]
+      [:ul.list-unstyled
+       (for [x SERVICES]
+         [:li
+          [:a {:href (:href x)} (:text x)]])]]
+     [:div.col-md-3
+      [:h4 (:products strings)]
+      [:ul.list-unstyled
+       (for [x PRODUCTS]
+         [:li
+          [:a {:href (:href x)} (:text x)]])]]
+     [:div.col-md-3
+      [:h4 (:education strings)]
+      [:ul.list-unstyled
+       (for [x EDUCATION]
+         [:li
+          [:a {:href (:href x)} (:text x)]])]]
+     [:div.col-md-3
+      [:h4 (:contacts strings)]
+      [:ul.list-unstyled
+       (for [x CONTACTS]
+         [:li
+          [:a {:href (:href x)} (:text x)]])]]
+     ]]])
 
 (defn layout [cnt]
   [:html

      ;; :line-height "40px"
      :padding "15px 0 20px"
      :color (if (= :inverse color) "white" (s-var :color :main))}
     [:.brand {:display "inline-block"}
      [:a {:color "inherit" :display "inline-block" :padding 5}]]
     [:.menu {:display "inline-block" :float "right"}
      [:.menu-item {:display "inline-block"}
       [:a {:color "inherit" :display "inline-block" :padding 5}]]]])

   [:div.container
    [:span.nav-title
     [:a {:href="#/"}
      [:i.hs-icon.icon-samurai] (:title strings)]]
    [:ul.list-inline
     (for [x menu]
       [:li [:a {:href (:href x)} (:text x)]])]]])

(def strings
  {:title "Health Samurai"
   :products "Продукты"
   :education "Обучение"
   :projects "Проекты"
   :services "Услуги"
   :contacts "Контакты"})

(def MENU
  [{:href "/products" :text (:products strings)}
   {:href "/projects" :text (:projects strings)}
   {:href "/contancts" :text (:contacts strings)}])

(def SERVICES
  [{:href "/services" :text "Запуск и обучение"}
   {:href "/services" :text "Запуск и разработка"}
   {:href "/services" :text "Коммерческая поддержка"}])

(def PRODUCTS
  [{:href "/products/fhirbase" :text "Fhirbase"}
   {:href "/products/aidbox" :text "Aidbox"}
   {:href "/products/hl7mapper" :text "HL7 Mapper"}
   {:href "/products/formstamp" :text "FormStamp"}
   {:href "/products/foodtaster" :text "FoodTaster"}])

(def EDUCATION
  [{:href "/education" :text "Введение в HL7 FHIR"}
   {:href "/education" :text "HL7 FHIR для продвинутых"}])

(def CONTACTS
  [{:href "/" :text "USA: +1 (818) 731-12-79"}
   {:href "/" :text "Russia: +7 (812) 919-00-25"}
   {:href "mailto:hello@health-samurai.io" :text "mailto:hello@health-samurai.io"}])

(defn style [cnt]
  [:style {:type "text/css"} (css cnt)])
