/* ===== CSS RESET & NORMALIZE ===== */
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, b, 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 {
  scroll-behavior: smooth;
}
body {
  line-height: 1.54;
  background: #F7F5EF;
  color: #3A6157;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  background: transparent;
  color: inherit;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
  appearance: none;
}
:focus {
  outline: 2px dashed #447468;
  outline-offset: 2px;
}

/* ===== VINTAGE RETRO PALETTE ===== */
:root {
  --color-primary: #3A6157;
  --color-primary-alt: #447468;
  --color-secondary: #FAF8EF;
  --color-accent: #E2EDEE;
  --color-tertiary: #C2D6C6;
  --color-highlight: #DBA159;
  --color-warm: #F3D7B8;
  --color-shadow: #d1c3ad;
  --color-vintage-red: #AF5A50;
  --color-dark: #2A3934;
  --color-white: #FFFFFF;
  --color-footer: #E0D9CF;
}

/* ====== FONT STACKS & TYPE ====== */
@import url('https://fonts.googleapis.com/css?family=Lora:700,400italic|Open+Sans:400,700&display=swap');
h1, h2, h3, h4, h5, h6 {
  font-family: 'Lora', serif;
  color: #3A6157;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
h1 {
  font-size: 2.75rem;
  line-height: 1.1;
  margin-bottom: 20px;
  text-shadow: 0 4px 14px rgba(58,97,87,0.06);
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.375rem;
  margin-bottom: 14px;
}
h4 {
  font-size: 1.125rem;
  margin-bottom: 12px;
}
p, ul, ol {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  margin-bottom: 18px;
  color: #3A6157;
}
strong {
  font-weight: 700;
}
q {
  font-style: italic;
  color: #AF5A50;
  font-family: 'Lora', serif;
  display: block;
  margin: 24px 0 0 0;
}

/* ====== LAYOUT CONTAINERS ====== */
.container {
  width: 100%;
  max-width: 1072px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 0px;
}
.text-section {
  background: var(--color-secondary);
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(131,111,73,0.08);
  margin-bottom: 32px;
  padding: 32px 24px;
  border: 2px solid var(--color-accent);
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card {
  background: var(--color-secondary);
  border: 2px solid var(--color-shadow);
  border-radius: 18px;
  box-shadow: 0 3px 18px rgba(58,97,87,0.07);
  margin-bottom: 20px;
  padding: 28px 24px;
  position: relative;
  transition: transform 0.16s cubic-bezier(.4,0,.2,1), box-shadow 0.18s;
}
.card:hover, .card:focus-within {
  transform: translateY(-3px) scale(1.02) rotate(-1.2deg);
  box-shadow: 0 8px 30px rgba(68,116,104,0.13);
  z-index: 3;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 24px;
  background: #FFF4E3;
  border-radius: 14px;
  border: 2px solid #E2EDEE;
  margin-bottom: 24px;
  box-shadow: 0 2px 10px rgba(171,100,60,0.06);
  font-family: 'Lora', serif;
  color: #3A6157;
  max-width: 585px;
}
.testimonial-card p {
  margin: 0 0 4px 0;
  font-size: 1.13rem;
  color: #2A3934;
}
.testimonial-card span {
  font-size: 1rem;
  color: #AF5A50;
  letter-spacing: 0.01em;
  font-family: 'Open Sans',sans-serif;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ===== PATTERNS & NOSTALGIC ELEMENTS ===== */
.text-section, .testimonial-card, .card {
  background-image: repeating-linear-gradient(135deg, rgba(221,155,101,0.02) 0px, rgba(221,155,101,0.02) 6px, transparent 6px, transparent 24px);
  position: relative;
}
.text-section:before, .testimonial-card:before, .card:before {
  content: '';
  display: block;
  position: absolute;
  top: -12px; left: -16px;
  width: 60px; height: 60px;
  background: url('../assets/icons/icon-nature.svg') no-repeat center/36px 36px;
  opacity: 0.07;
  pointer-events: none;
  z-index: 1;
}
.card:before { left: unset; right: -12px; }

/* ====== HEADER ====== */
header {
  width: 100%;
  background: var(--color-primary);
  box-shadow: 0 2px 14px 0 rgba(68,116,104,0.19);
  position: relative;
  z-index: 20;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 70px;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: center;
}
header nav a {
  font-family: 'Lora', serif;
  font-weight: 400;
  font-size: 1.02rem;
  color: var(--color-secondary);
  opacity: 0.89;
  letter-spacing: 0.015em;
  padding: 7px 10px;
  border-radius: 6px;
  position: relative;
  transition: color 0.18s, background 0.16s;
}
header nav a:hover, header nav a:focus {
  background: rgba(226,237,238,0.19);
  color: var(--color-accent);
  text-decoration: underline;
}
header img {
  height: 38px;
  width: auto;
  margin-right: 18px;
}
.cta-btn {
  font-family: 'Lora', serif;
  font-weight: 700;
  background-color: var(--color-highlight);
  color: var(--color-primary);
  font-size: 1.07rem;
  border: none;
  border-radius: 28px;
  padding: 10px 28px;
  margin-left: 18px;
  box-shadow: 0 2px 6px #f3d7b8a0;
  cursor: pointer;
  letter-spacing: 0.04em;
  outline: none;
  display: inline-block;
  transition: background 0.19s, color 0.14s, transform 0.13s;
}
.cta-btn:hover, .cta-btn:focus {
  background: #AF5A50;
  color: #fff;
  transform: translateY(-1px) scale(1.027);
}
.mobile-menu-toggle {
  display: none;
}

/* ===== MOBILE NAVIGATION ===== */
.mobile-menu-toggle {
  font-size: 2.2rem;
  color: var(--color-accent);
  background: none;
  border: none;
  cursor: pointer;
  margin-left: 14px;
  padding: 6px 8px 1px 8px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  z-index: 102;
  transition: background 0.18s;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #e2edee44;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  z-index: 98;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--color-primary);
  transform: translateX(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.33s cubic-bezier(.61,-0.01,.26,1.01), opacity 0.27s;
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2rem;
  background: none;
  border: none;
  color: var(--color-accent);
  margin: 20px 24px 16px 0;
  cursor: pointer;
  z-index: 104;
  padding: 2px 9px 5px 9px;
  border-radius: 50%;
  transition: background 0.14s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #e2edee44;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-top: 24px;
  gap: 16px;
  align-items: flex-start;
}
.mobile-nav a {
  font-family: 'Lora', serif;
  color: var(--color-accent);
  font-size: 1.23rem;
  letter-spacing: 0.03em;
  padding: 18px 38px 8px 32px;
  border-radius: 8px;
  transition: background 0.16s, color 0.14s;
  width: 100%;
  text-align: left;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #E2EDEE;
  color: var(--color-primary);
}

/* ===== MAIN ===== */
main {
  flex: 1 1 auto;
  min-height: 400px;
  margin-bottom: 50px;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background: none;
}
@media (max-width: 700px) {
  section {
    padding: 26px 2vw;
    margin-bottom: 36px;
  }
  .text-section {
    padding: 22px 8px;
    border-radius: 8px;
  }
}

/* ===== ULs with ICONS ===== */
ul li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 12px;
  font-size: 1rem;
  padding-left: 4px;
}
ul li img {
  min-width: 26px;
  max-width: 26px;
  margin: 1px 0 0 0;
  filter: sepia(.33) hue-rotate(8deg) brightness(0.95) saturate(0.81);
}

/* ===== PRICING TABLES ===== */
.pricing-tables {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 18px 0 18px 0;
}
.pricing-tables > div {
  background: #FAF8EF;
  border-radius: 14px;
  border: 2px solid #E2EDEE;
  padding: 28px 28px 18px 28px;
  min-width: 170px;
  box-shadow: 0 1px 8px rgba(68,116,104,0.07);
  font-family: 'Lora',serif;
  margin-bottom: 20px;
  transition: box-shadow 0.17s, border 0.17s;
}
.pricing-tables > div:hover, .pricing-tables > div:focus-within {
  border: 2px solid #DBA159;
  box-shadow: 0 8px 23px rgba(219,161,89,0.13);
}
.pricing-tables h3 {
  font-size: 1.25rem;
  color: #3A6157;
  margin-bottom: 8px;
}
.pricing-tables p {
  font-size: 1.09rem;
  color: #AF5A50;
}

.package-comparison {
  background: var(--color-tertiary);
  color: var(--color-primary);
  font-family: 'Lora',serif;
  font-size: 1.07rem;
  padding: 18px 20px;
  border-radius: 9px;
  margin-top: 18px;
  margin-bottom: 0;
  box-shadow: 0 1px 6px #d7d7c239;
}

.benefit-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 18px;
}
.benefit-grid > div {
  flex: 1 1 230px;
  background: #F3D7B8;
  border-radius: 12px;
  border: 2px solid #E2EDEE;
  padding: 17px 18px;
  color: #2A3934;
  font-size: 1.05rem;
  margin-bottom: 12px;
}

/* ===== BLOG LIST ===== */
.blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.blog-list article {
  background: #F7F5EF;
  border-radius: 12px;
  border: 2px solid #E2EDEE;
  box-shadow: 0 2px 10px #e2edee1a;
  padding: 20px 18px;
  min-width: 220px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 12px;
  transition: box-shadow 0.13s, transform 0.13s;
}
.blog-list article:hover, .blog-list article:focus-within {
  box-shadow: 0 10px 34px #AF5A5016;
  transform: scale(1.017) translateY(-2px);
}
.text-link, .blog-list a {
  display: inline-block;
  color: #AF5A50;
  font-size: 1.09rem;
  text-decoration: underline;
  font-family: 'Open Sans',sans-serif;
  transition: color 0.15s;
  margin-top: 8px;
}
.text-link:hover, .text-link:focus, .blog-list a:hover, .blog-list a:focus {
  color: #DBA159;
}

/* ====== MAP LOCATION ====== */
.map-location {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 20px 0 8px 0;
  color: #3A6157;
}
.map-location img {
  width: 32px;
  height: 32px;
  min-width: 32px;
}
.map-location span {
  font-size: 1.1rem;
  font-family: 'Lora',serif;
}

/* ===== FOOTER ===== */
footer {
  background: var(--color-footer);
  width: 100%;
  padding: 0;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #3A6157;
  font-size: 1rem;
  border-top: 2px solid #E2EDEE;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 40px 20px 32px 20px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Lora',serif;
  font-size: 1.24rem;
  color: #3A6157;
}
.footer-brand img {
  height: 46px;
  width: auto;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  color: #AF5A50;
  font-family: 'Lora', serif;
  letter-spacing: 0.012em;
  font-size: 1.02rem;
  opacity: 0.86;
  padding: 2px 2px;
  border-radius: 2px;
  transition: color 0.13s, background 0.12s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #3A6157;
  background: #e2edee60;
}
.footer-contact {
  font-size: 0.98rem;
  color: #3A6157;
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  line-height: 1.48;
}
.footer-contact img {
  width: 19px;
  height: 19px;
  min-width: 19px;
  margin-right: 7px;
  vertical-align: middle;
  margin-bottom: 1px;
}

/* ===== COOKIE CONSENT BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #FFF4E3;
  border-top: 4px solid #AF5A50;
  box-shadow: 0 -2px 15px #AF5A5024;
  z-index: 1300;
  padding: 22px 12px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  font-size: 1rem;
  font-family: 'Lora',serif;
  color: #3A6157;
  transition: transform 0.33s, opacity 0.31s;
  opacity: 1;
  transform: translateY(0);
}
.cookie-banner.hide {
  opacity: 0;
  transform: translateY(100%);
  pointer-events: none;
}
.cookie-banner-text {
  flex: 2 1 420px;
  font-size: 1rem;
}
.cookie-actions {
  display: flex;
  gap: 14px;
}
.cookie-btn {
  background: #AF5A50;
  color: #FFF;
  border: none;
  font-family: 'Lora',serif;
  font-weight: 700;
  border-radius: 23px;
  padding: 8px 22px;
  font-size: 1rem;
  cursor: pointer;
  margin-right: 4px;
  box-shadow: 0 1px 7px #af5a5032;
  transition: background 0.14s, color 0.14s;
}
.cookie-btn.accept {
  background: #447468;
  color: #fff;
}
.cookie-btn.settings {
  background: #F3D7B8;
  color: #3A6157;
}
.cookie-btn.reject {
  background: #dbb4b1;
  color: #AF5A50;
}
.cookie-btn:hover, .cookie-btn:focus {
  opacity: .9;
  filter: brightness(0.93);
}

/* COOKIE SETTINGS MODAL */
.cookie-modal-bg {
  position: fixed;
  z-index: 1400;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(68,116,104,0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.19s;
}
.cookie-modal-bg.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #FAF8EF;
  border: 3px solid #AF5A50;
  box-shadow: 0 10px 32px #af5a503a;
  border-radius: 18px;
  width: 90vw;
  max-width: 400px;
  margin: 0 auto;
  padding: 30px 24px 22px 24px;
  position: relative;
  font-family: 'Lora', serif;
  color: #3A6157;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 1402;
}@media (max-width: 420px) {
  .cookie-modal {padding: 16px 3vw;}
}
.cookie-modal-close {
  position: absolute;
  top: 13px;
  right: 17px;
  background: none;
  border: none;
  font-size: 1.7rem;
  color: #AF5A50;
  cursor: pointer;
  line-height: 1;
  z-index: 1500;
  padding: 2px 10px;
  border-radius: 50%;
  transition: background 0.14s;
}
.cookie-modal-close:focus, .cookie-modal-close:hover {
  background: #efe5da;
}
.cookie-modal h2 {
  font-size: 1.23rem;
  margin-bottom: 8px;
  color: #AF5A50;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.06rem;
  margin-bottom: 5px;
  padding-bottom: 7px;
}
.cookie-category label {
  font-weight: 600;
  font-size: 1.02rem;
}
.cookie-toggle {
  appearance: none;
  width: 38px;
  height: 22px;
  background: #e2edee;
  border-radius: 14px;
  position: relative;
  outline: 0;
  transition: background 0.17s;
  cursor: pointer;
  margin-right: 4px;
  border: 1px solid #af5a5069;
}
.cookie-toggle:checked {
  background: #447468;
}
.cookie-toggle:before {
  content: '';
  position: absolute;
  left: 2px; top: 2.5px;
  width: 17px; height: 17px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px #4446;
  transition: transform 0.21s;
}
.cookie-toggle:checked:before {
  transform: translateX(15px);
}
.cookie-cat-desc {
  color: #A09A8D;
  font-size: 0.97rem;
  margin-left: 8px;
}
.cookie-category.essential label {
  color: #447468;
}

/* ====== FORM ELEMENTS ===== */
input[type="text"], input[type="email"], textarea {
  border: 2px solid #E2EDEE;
  border-radius: 8px;
  padding: 11px 14px;
  background: #faf8ef;
  font-size: 1rem;
  font-family: 'Open Sans', sans-serif;
  margin-bottom: 16px;
  color: #2A3934;
  width: 100%;
  transition: border 0.13s, box-shadow 0.13s;
}
input[type="text"]:focus, input[type="email"]:focus, textarea:focus {
  border: 2px solid #AF5A50;
  box-shadow: 0 1px 3px #af5a5032;
}

/* ========== MEDIA QUERIES ========== */
@media (max-width: 1024px) {
  .container { padding: 0 10px; }
  footer .container { flex-direction: column; gap: 14px; }
}
@media (max-width: 900px) {
  .content-grid,.card-container,.blog-list,.pricing-tables,.benefit-grid {
    gap: 16px;
  }
}
@media (max-width: 850px) {
  .container {
    max-width: 96vw;
  }
  main {
    margin-bottom: 38px;
  }
}
@media (max-width: 768px) {
  header nav, .cta-btn {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .container, .footer-contact, .footer-nav { max-width: 100vw; }
  .content-grid, .card-container, .blog-list, .pricing-tables, .benefit-grid {
    flex-direction: column;
    gap: 14px;
  }
  .text-image-section { flex-direction: column; gap: 20px; }
  .footer-brand { justify-content: center; }
}
@media (max-width: 600px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.25rem; }
  .card, .testimonial-card, .blog-list article, .pricing-tables > div, .benefit-grid > div {
    padding: 15px 9px;
  }
  .footer-brand img { height: 34px; }
  footer .container { padding: 20px 4vw; }
}
@media (max-width: 490px) {
  h1 { font-size: 1.30rem; }
  h2 { font-size: 1.12rem; }
  .card, .testimonial-card, .blog-list article, .pricing-tables > div, .benefit-grid > div {
    font-size: .96rem;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 13px 4px;
  }
}

/* ======= ANIMATION HELPERS ======= */
.fade-in {
  opacity: 0;
  animation: fadein .93s .2s forwards cubic-bezier(.44,.18,.22,1);
}
@keyframes fadein {
  to { opacity: 1; }
}
.slide-up {
  opacity: 0;
  transform: translateY(38px);
  animation: slideup .74s .09s forwards cubic-bezier(.49,.18,.11,1);
}
@keyframes slideup {
  to { opacity: 1; transform: translateY(0); }
}

/* ======= MICRO-INTERACTIONS ======= */
a, .cta-btn, .mobile-menu-toggle, .mobile-menu-close, .cookie-btn, .text-link, .blog-list article {
  transition: background .15s, color .13s, transform .13s, box-shadow .14s, opacity 0.14s;
}

/* ============== SPACING ============== */
section, .section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container, .content-grid, .blog-list, .pricing-tables, .benefit-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ============== GENERAL ============= */
::-webkit-scrollbar {
  width: 10px;
  background: #e2edee90;
}
::-webkit-scrollbar-thumb {
  background: #C2D6C6;
  border-radius: 6px;
}
::-webkit-input-placeholder {color: #B5B3A2;}
::-moz-placeholder {color: #B5B3A2;}
:-ms-input-placeholder {color: #B5B3A2;}
::placeholder {color: #B5B3A2;}

/* ================== PRINT ================== */
@media print {
  .mobile-menu,.mobile-menu-toggle,.cookie-banner,.cookie-modal-bg { display:none !important; }
  header,footer,main,section,div,.container { background: #fff !important; color:#000 !important; }
}
