/* --- CSS RESET & BASE STYLES --- */
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
  font-size: 16px;
  background: #DCE1E1;
  color: #285C56;
  min-height: 100vh;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
  border: none;
}
a {
  color: #8C682D;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #B99365;
  outline: none;
}
strong, b {
  font-weight: bold;
}
em, i {
  font-style: italic;
}
ul, ol {
  list-style: none;
}
hr {
  border: none;
  border-top: 1px solid #D1B37C;
  margin: 24px 0;
}

/* --- PLAYFUL DYNAMIC BRAND VARIABLES --- */
:root {
  --primary: #285C56;
  --primary-dark: #204742;
  --secondary: #DCE1E1;
  --accent: #B99365;
  --accent-bright: #FFD973;
  --white: #fff;
  --black: #151515;
  --info: #00BCD4;
  --warn: #FFB100;
}

/* --- TYPOGRAPHY --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Source+Sans+Pro:wght@400;600;700&display=swap');
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: #285C56;
}
h1 {
  font-size: 2.75rem;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: 0.03em;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 14px;
}
h4, h5, h6 {
  font-size: 1rem;
  margin-bottom: 8px;
}
p, li, a, span, .testimonial-meta {
  font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #285C56;
}
p {
  margin-bottom: 18px;
  line-height: 1.6;
  font-size: 1.08rem;
}
ul, ol {
  margin-bottom: 16px;
  padding-left: 24px;
}
li {
  margin-bottom: 10px;
  position: relative;
}

/* --- CONTAINER & LAYOUT --- */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  justify-content: center;
  margin: 0 auto;
}

/* --- SECTION SPACING --- */
section {
  width: 100%;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(40,92,86,0.05), 0 2px 8px rgba(185,147,101,0.09);
  position: relative;
  transition: box-shadow 0.23s;
}
.section:hover {
  box-shadow: 0 12px 40px 0 rgba(0,0,0,0.11);
}

@media (max-width: 768px) {
  .section {
    padding: 28px 8px;
    margin-bottom: 36px;
    border-radius: 14px;
  }
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.35rem;
  }
}

/* --- FLEXBOX PATTERNS --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(185,147,101,0.08);
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 8px 40px 0 rgba(180,136,53,0.19);
  transform: translateY(-6px) scale(1.02) rotate(-1deg);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: flex-start;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 22px 18px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fffbea;
  border-radius: 15px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px rgba(255,217,115,0.06);
  border-left: 7px solid #FFD973;
  position: relative;
  transition: box-shadow 0.2s, transform 0.17s;
  min-width: 0;
}
.testimonial-card:hover {
  box-shadow: 0 8px 28px 0 rgba(185,147,101,0.13);
  transform: scale(1.025) rotate(1deg);
}
.testimonial-card p {
  color: #222c19;
  font-size: 1.16rem;
  font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
}
.testimonial-meta {
  font-size: 0.97rem;
  color: #8C682D;
  margin-top: 0;
  font-style: italic;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 1px 8px 0 rgba(40,92,86,0.09);
  padding: 18px 16px;
  margin-bottom: 20px;
}

/* --- CTA PRIMARY & BUTTONS --- */
.cta-primary,
button, input[type="submit"], .mobile-menu-toggle, .mobile-menu-close  {
  background: linear-gradient(90deg,#FFD973,#B99365 83%);
  color: #285C56;
  font-family: 'Playfair Display', serif;
  font-size: 1.08rem;
  font-weight: 700;
  padding: 14px 38px;
  border: none;
  border-radius: 32px;
  cursor: pointer;
  transition: box-shadow 0.16s, transform 0.12s, background 0.18s, color 0.17s;
  box-shadow: 0 4px 20px 0 rgba(220,225,225,0.07);
  margin: 12px 0 0 0;
  display: inline-block;
  outline: none;
}
.cta-primary:hover, .cta-primary:focus,
button:hover, button:focus {
  background: linear-gradient(90deg, #FFD973, #B99365);
  color: #285C56;
  box-shadow: 0 6px 28px 0 rgba(185,147,101,0.23);
  transform: scale(1.07) rotate(-1deg);
}
@media (max-width:480px) {
  .cta-primary {
    font-size: 1rem;
    padding: 12px 20px;
  }
}

/* --- HEADER, NAV & LOGO --- */
header {
  background: var(--white);
  box-shadow: 0 2px 16px rgba(40,92,86,0.09);
  position: sticky;
  top: 0;
  z-index: 110;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  padding-bottom: 8px;
  position: relative;
}
.logo img {
  height: 54px;
  width: auto;
  transition: transform 0.22s cubic-bezier(0.17,0.67,0.68,1.77);
}
.logo img:hover {
  transform: rotate(-11deg) scale(1.07);
}
.nav-link, .main-nav a {
  font-family: 'Playfair Display', serif;
  margin: 0 9px;
  font-weight: 700;
  color: #285C56;
  font-size: 1.04rem;
  padding: 6px 10px;
  border-radius: 18px;
  transition: background 0.13s, color 0.16s, box-shadow 0.15s;
  position: relative;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}
.main-nav a:hover, .main-nav a:focus {
  background: #FFD97344;
  color: #B99365;
  box-shadow: 0 2px 8px 0 #FFD97344;
  outline: none;
}
.main-nav .cta-primary {
  margin-left: 18px !important;
  font-size: 1.06rem;
  background: linear-gradient(90deg,#FFD973,#B99365 80%);
  color: #285C56;
}

/* --- MOBILE BURGER MENU --- */
.mobile-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  font-size: 2.1rem;
  background: #FFD973;
  color: #285C56;
  border: none;
  border-radius: 50%;
  z-index: 201;
  margin-left: 18px;
  transition: background 0.16s, box-shadow 0.1s;
  box-shadow: 0 2px 24px #ffd9731a;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #B99365;
  color: #fff;
  outline: none;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(135deg, #FFD973 40%, #DCE1E1 100%);
  z-index: 200;
  transform: translateX(-100vw);
  transition: transform 0.4s cubic-bezier(0.31,0.8,0.27,1.19);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 36px 26px 18px 30px;
  box-shadow: 0 10px 40px 0 rgba(185,147,101,0.17);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: #B99365;
  color: #fff;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  border: none;
  font-size: 1.8rem;
  z-index: 2;
  cursor: pointer;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 66px;
}
.mobile-nav a {
  font-family: 'Playfair Display', serif;
  font-size: 1.19rem;
  color: #285C56;
  font-weight: 700;
  padding: 12px 10px;
  border-radius: 14px;
  transition: background 0.14s, color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #B99365;
  color: #fff;
  outline: none;
}
@media (max-width: 980px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 981px) {
  .mobile-menu {
    display: none !important;
  }
}

/* --- SECTION, CARD, TESTIMONIAL SPACING --- */
section {
  margin-bottom: 48px;
}
.card,
.feature-item,
.testimonial-card {
  margin-bottom: 20px;
}
.card-container, .content-grid, .text-image-section {
  margin-bottom: 32px;
}

/* --- FOOTER --- */
footer {
  background: #285C56;
  color: #fff;
  padding: 32px 0 0 0;
  margin-top: 40px;
  position: relative;
  z-index: 10;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px 16px;
  padding: 0 0 18px 0;
  align-items: flex-start;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 6px;
}
.footer-menu a {
  font-size: 1.01rem;
  color: #FFD973;
  padding: 3px 10px;
  border-radius: 10px;
  transition: background 0.14s, color 0.12s;
  font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
}
.footer-menu a:hover, .footer-menu a:focus {
  background: #fffbea;
  color: #285C56;
}
.footer-contact {
  font-size: 1rem;
  color: #fff;
  font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
}
.footer-social {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}
.footer-social span {
  color: #FFD973;
  font-size: 1.02rem;
  margin-right: 7px;
}
.footer-social img {
  width: 28px;
  height: 28px;
  filter: drop-shadow(0 1px 8px #fff3);
  transition: filter 0.13s;
}
.footer-social img:hover {
  filter: brightness(1.3) drop-shadow(0 2px 18px #FFD97388);
}
@media (max-width: 768px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 18px;
  }
}

/* --- FORMS --- */
input, textarea, select {
  font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  padding: 12px 16px;
  border: 1.8px solid #FFD973;
  border-radius: 12px;
  margin-bottom: 16px;
  outline: none;
  background: #fff;
  color: #285C56;
  transition: border 0.17s, box-shadow 0.13s;
}
input:focus, textarea:focus, select:focus {
  border: 2px solid #B99365;
  box-shadow: 0 4px 18px 0 #FFD97366;
}
label {
  font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #285C56;
  margin-bottom: 8px;
  display: block;
}

/* --- PLAYFUL DYNAMIC DECORATION --- */
section:before, section:after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: #FFD97333;
  width: 36px;
  height: 36px;
  z-index: 0;
  pointer-events: none;
  opacity: 0.17;
}
section:before {
  left: 28px;
  top: 6px;
  width: 48px;
  height: 48px;
}
section:after {
  right: 42px;
  bottom: 15px;
}

/* --- ANIMATIONS --- */
@keyframes pop-fade {
  0% { opacity: 0; transform: scale(0.98) translateY(22px); }
  60% { opacity: 1; transform: scale(1.03) translateY(-8px); }
  100% { opacity: 1; transform: scale(1) translateY(0px); }
}
.card, .testimonial-card, .feature-item, section {
  animation: pop-fade 720ms cubic-bezier(0.32,1.04,0.43,1) 0.11s 1;
}

@keyframes slideInMenu {
  from { transform: translateX(-100vw); }
  to { transform: translateX(0); }
}
@keyframes slideOutMenu {
  from { transform: translateX(0); }
  to { transform: translateX(-100vw); }
}

@keyframes cookieFadeIn {
  from { bottom: -160px; opacity: 0; }
  to { bottom: 0; opacity: 1; }
}
@keyframes cookieModalIn {
  from { opacity: 0; transform: scale(0.85) translateY(75px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}


/* --- RESPONSIVE DESIGN --- */
@media (max-width: 600px) {
  .container {
    padding: 0 8px;
  }
  .testimonial-card, .feature-item {
    flex-direction: column;
    gap: 11px;
  }
  .cta-primary { width: 100%; }
}


/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #FFD973;
  color: #285C56;
  box-shadow: 0 -4px 36px #FFD97399;
  z-index: 3000;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  padding: 20px 14px 18px 14px;
  flex-wrap: wrap;
  font-size: 1.09rem;
  animation: cookieFadeIn 0.77s cubic-bezier(0.44,1.85,0.42,1) 0.07s 1;
}
.cookie-banner .cookie-message {
  font-family: 'Source Sans Pro', sans-serif;
  margin-bottom: 8px;
  max-width: 350px;
  color: #285C56;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 18px;
}
.cookie-banner .cookie-btn {
  padding: 10px 22px;
  font-size: 1rem;
  border-radius: 18px;
  border: none;
  margin: 0 2px;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.13s, color 0.15s, transform 0.11s;
}
.cookie-banner .cookie-btn.accept {
  background: #285C56;
  color: #FFE987;
}
.cookie-banner .cookie-btn.reject {
  background: #E16666;
  color: #fff;
}
.cookie-banner .cookie-btn.settings {
  background: #fff;
  color: #285C56;
  border: 2px solid #FFD973;
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  transform: scale(1.09);
}
@media (max-width: 750px) {
  .cookie-banner {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
    font-size: 1rem;
    padding: 18px 3vw 12px 3vw;
  }
}

/* --- COOKIE SETTINGS MODAL --- */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  top:0; left:0; right:0; bottom:0;
  background: rgba(40,92,86,0.26);
  z-index: 3010;
  align-items: center;
  justify-content: center;
}
.cookie-modal-overlay.open {
  display: flex;
}
.cookie-modal {
  background: #fff;
  border-radius: 22px;
  max-width: 450px;
  width: 95vw;
  padding: 36px 20px 24px 28px;
  box-shadow: 0 8px 40px #B9936550, 0 1px 7px #FFD97366;
  animation: cookieModalIn 0.37s cubic-bezier(0.34,1.31,0.65,1) 0.01s 1;
  position: relative;
}
.cookie-modal h2 {
  font-size: 1.45rem;
  color: #B99365;
  margin-bottom: 13px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 18px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 1.09rem;
  color: #285C56;
}
.cookie-category.essential {
  opacity: 0.85;
  font-style: italic;
}
.cookie-category label {
  margin-bottom: 0;
}
.cookie-modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: #FFD973;
  color: #285C56;
  font-size: 1.5rem;
  border: none;
  border-radius: 24px;
  width: 36px;
  height: 36px;
  cursor: pointer;
  transition: background 0.12s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #B99365;
  color: #fff;
}


/* --- PLAYFUL DYNAMIC HIGHLIGHTS & EXTRAS --- */
ul > li:before {
  content: '✹';
  color: #FFD973;
  margin-right: 10px;
  font-family: 'Playfair Display', serif;
  font-size: 1.01em;
  vertical-align: middle;
  position: relative;
  top: -1px;
}
ul > li strong {
  color: #B99365;
}

.section h2 {
  background: #FFD97355;
  display: inline-block;
  padding: 2px 16px 3.5px 12px;
  border-radius: 14px;
  color: #285C56;
}

/* --- CARD ICON EXTRAS --- */
.card img[alt^="Ikona"],
.feature-item img[alt^="Ikona"] {
  width: 38px;
  height: 38px;
  margin-right: 6px;
  filter: drop-shadow(0 2px 7px #FFD97344);
  border-radius: 12px;
  background: #FFD97361;
  padding: 5px;
}

/* --- VISUAL HIERARCHY UTILS --- */
.lead {
  font-size: 1.21rem;
  color: #B99365;
  margin-bottom: 9px;
  font-family: 'Playfair Display', serif;
}
@media (max-width: 480px) {
  .lead { font-size: 1.11rem; }
}

/* --- TOUCH TARGETS & ACCESSIBILITY --- */
a, button, [tabindex] {
  outline: none;
}
a:focus-visible, button:focus-visible {
  outline: 2px dashed #FFD973;
}

/* --- Z-INDEX LAYERING --- */
header {z-index: 110;}
.mobile-menu {z-index: 200;}
.cookie-banner {z-index: 3000;}
.cookie-modal-overlay {z-index: 3010;}


/* --- ANIMATED FLOATING DECORS --- */
@keyframes playful-bounce {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50% { transform: translateY(-7px) rotate(9deg); }
}
.logo img { animation: playful-bounce 3.2s infinite cubic-bezier(.75,1.45,.94,1.54); }


/* --------- END OF STYLE.CSS --------- */
