/* =====================================================
   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, 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 {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
  background: #f9fafc;
}
body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background: #f9fafc;
  color: #1c2740;
  line-height: 1.6;
  min-height: 100vh;
  text-rendering: optimizeLegibility;
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  src: local('Montserrat Bold'), local('Montserrat-Bold'),
    url('https://fonts.gstatic.com/s/montserrat/v20/JTUHjIg1_i6t8kCHKm45_Q.woff2') format('woff2');
  unicode-range: U+0000-00FF;
}

/* Typography Scale */
h1 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #27416B;
  margin-bottom: 24px;
  letter-spacing: -1px;
}
h2 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: #287950;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}
h3 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #1c2740;
  margin-bottom: 14px;
}
h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  color: #287950;
}
p, ul, ol {
  font-size: 1rem;
  color: #1c2740;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}
strong {
  font-weight: 600;
}
a {
  color: #287950;
  text-decoration: underline;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #48A878;
  text-decoration: underline wavy;
}
ul, ol {
  margin-left: 20px;
}
ul li, ol li {
  margin-bottom: 8px;
}
img {
  max-width: 100%;
  height: auto;
  display: inline-block;
  border-radius: 8px;
}

/* Container Layouts */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  gap: 0px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* =====================================================
   HEADER, NAVIGATION & LOGO
===================================================== */
header {
  background: #27416B;
  color: #fff;
  width: 100%;
  padding: 0;
  box-shadow: 0 2px 18px 0 rgba(39,65,107,0.08);
  position: relative;
  z-index: 5;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
}
.logo, .logo-footer {
  display: flex;
  align-items: center;
  margin-right: 24px;
}
.logo img, .logo-footer img {
  height: 42px;
  width: auto;
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #fff;
  padding: 8px 10px;
  border-radius: 30px;
  text-decoration: none;
  transition: background 0.16s, color 0.18s;
  position: relative;
  overflow: hidden;
}
.main-nav a:after {
  content: "";
  display: block;
  height: 3px;
  width: 0;
  background: #48A878;
  border-radius: 2px;
  transition: width 0.22s cubic-bezier(.68,-0.55,.27,1.55);
  margin-top: 4px;
}
.main-nav a:hover:after, .main-nav a:focus:after {
  width: 80%;
}
.main-nav a:hover,.main-nav a:focus {
  color: #48A878;
  background: rgba(72,168,120,0.10);
}
.cta-primary {
  margin-left: 12px;
  background: #48A878;
  color: #fff !important;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: 32px;
  padding: 12px 32px;
  text-decoration: none;
  transition: background 0.18s, color 0.16s, box-shadow 0.18s;
  box-shadow: 0px 7px 36px 0 rgba(72,168,120,0.1);
  letter-spacing: 0.03em;
}
.cta-primary:hover, .cta-primary:focus {
  background: #287950;
  color: #fff;
  box-shadow: 0px 2px 14px 0 rgba(40,121,80,0.13);
}

.mobile-menu-toggle {
  display: none;
  margin-left: 18px;
  font-size: 2rem;
  color: #fff;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 10;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background 0.2s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: rgba(40,121,80,0.15);
}

/* Hide nav & show hamburger on mobile */
@media (max-width: 992px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}


/* =====================================================
   MOBILE MENU
===================================================== */
.mobile-menu {
  position: fixed;
  z-index: 120;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: #27416B;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(.4,0,.2,1);
  display: flex;
  flex-direction: column;
  gap: 36px;
  padding: 32px 20px;
  box-shadow: -2px 0 24px 0 rgba(39,65,107,0.16);
}
.mobile-menu.active {
  transform: translateX(0%);
}
.mobile-menu-close {
  align-self: flex-end;
  background: #fff;
  color: #27416B;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0px 2px 12px 0 rgba(72,168,120,0.08);
  transition: background 0.12s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #ECECEC;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
  padding: 10px 0;
  transition: color 0.17s, background 0.15s;
  border-radius: 4px;
  letter-spacing: 0.01em;
  min-width: 180px;
  min-height: 32px;
}
.mobile-nav a:active, .mobile-nav a:focus, .mobile-nav a:hover {
  color: #48A878;
  background: rgba(72,168,120,0.18);
}
.mobile-menu {
  display: none;
}
.mobile-menu.active {
  display: flex;
}

@media (max-width: 992px) {
  .mobile-menu {
    display: flex;
  }
  .mobile-menu:not(.active) {
    pointer-events: none;
  }
}


/* =====================================================
   HERO & SECTION STYLES
===================================================== */
.section,
.hero,
.services,
.features,
.about,
.testimonials,
.cta,
.contact {
  margin-bottom: 60px;
  padding: 40px 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 2px 24px 0 rgba(39,65,107,0.07);
}
.hero {
  background: linear-gradient(135deg, #ECECEC 70%, #48A878 200%);
  box-shadow: 0 6px 55px 0 rgba(72,168,120,0.09);
  border-radius: 0 0 38px 38px;
}
.hero h1 {
  font-size: 2.4rem;
  color: #27416B;
  line-height: 1.17;
}
.hero p {
  color: #1c2740;
  font-size: 1.25rem;
  max-width: 640px;
  margin-bottom: 32px;
}

/* Artistic dividers (pseudo elements) */
.section, .hero, .about, .features, .services, .testimonials, .cta {
  position: relative;
  overflow: visible;
}
.section:before, .about:before, .features:before, .services:before {
  content: '';
  position: absolute;
  left: -50px;
  top: -25px;
  width: 80px;
  height: 10px;
  background: #48A878;
  border-radius: 12px;
  opacity: 0.12;
  z-index: 1;
}

/* Features grid using flex only */
.feature-grid, .blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  width: 100%;
  justify-content: flex-start;
}
.feature-grid > div, .blog-list article {
  flex: 1 1 240px;
  min-width: 220px;
  max-width: 330px;
  background: #ECECEC;
  border-radius: 18px;
  box-shadow: 0 2px 16px 0 rgba(39,65,107,0.07);
  padding: 26px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  transition: box-shadow 0.22s, transform 0.15s;
  border: 2px solid #fff;
  position: relative;
}
.feature-grid > div:hover, .blog-list article:hover {
  box-shadow: 0 8px 32px 0 rgba(40,121,80,0.16);
  transform: translateY(-3px) scale(1.03) rotate(-1deg);
  border-color: #48A878;
}
.feature-grid img {
  height: 48px;
  width: 48px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ============================
  CARD & FLEX SECTIONS
============================= */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 240px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px 0 rgba(72,168,120,0.05);
  transition: box-shadow 0.18s;
}
.card:hover {
  box-shadow: 0 6px 36px 0 rgba(40,121,80,0.14);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 26px 18px 20px;
  gap: 8px;
}

.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}

/* .testimonial-card styles */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 3px 18px 0 rgba(39,65,107,0.09);
  margin-bottom: 24px;
  transition: box-shadow 0.18s, transform 0.16s;
  border-left: 7px solid #48A878;
  min-width: 0;
}
.testimonial-card p {
  font-size: 1.13rem;
  color: #222b44;
  margin-bottom: 0;
}
.testimonial-card span {
  font-size: 1rem;
  color: #287950;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
}
.testimonial-card:hover {
  box-shadow: 0 6px 32px 0 rgba(40,121,80,0.13);
  transform: translateY(-2px) scale(1.014);
}

.section:not(:last-child) {
  margin-bottom: 60px;
}

/* ============================
  SERVICES & PRICELIST
============================= */
.services ul {
  list-style: none;
  margin-left: 0;
  margin-bottom: 16px;
  padding-left: 0;
}
.services ul li {
  padding: 14px 0;
  border-bottom: 1px dashed #ECECEC;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 36px;
  position: relative;
  transition: background 0.18s;
  gap: 12px;
}
.services ul li:last-child {
  border-bottom: none;
}
.services ul li:hover {
  background: #e1faeb80;
  border-radius: 8px;
}
.services ul li .price {
  color: #48A878;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  margin-left: 16px;
}

/* ================================
  BLOG ARTICLES & CATEGORIES
================================= */
.blog-list {
  width: 100%;
  margin-bottom: 24px;
}
.blog-list article {
  min-width: 230px;
  max-width: 340px;
  background: #fffef5;
  border-radius: 18px;
  box-shadow: 0px 1px 15px rgba(255, 207, 51, 0.06);
  border-left: 5px solid #27416B;
  padding: 22px 16px 20px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.14s, border-color 0.19s, transform 0.12s;
  position: relative;
}
.blog-list article h3 {
  color: #f9b034;
}
.blog-list article a {
  align-self: flex-end;
  color: #27416B;
  font-weight: 700;
  text-decoration: underline;
  transition: color 0.15s;
}
.blog-list article a:hover {
  color: #287950;
}

.blog-categories {
  margin-top: 12px;
  font-size: 1rem;
  color: #287950;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: flex-start;
}
.blog-categories span {
  font-weight: 700;
  margin-right: 8px;
}
.blog-categories a {
  color: #48A878;
  font-weight: 500;
}

/* ==============================
  ABOUT/INFO & ARTISTIC STYLES
============================== */
.about h2, .features h2, .services h2, .cta h2, .hero h1 {
  position: relative;
  z-index: 2;
}
.about ul, .features ul {
  margin-bottom: 14px;
}
.about ul li, .features ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  color: #1c2740;
  font-size: 1rem;
  line-height: 1.42;
}
.about ul li:before, .features ul li:before {
  content: '✦';
  position: absolute;
  left: 0;
  color: #48A878;
  font-size: 1.1em;
  line-height: inherit;
  font-family: inherit;
  opacity: 0.82;
}

/* ============================
  CTA SECTION
============================= */
.cta {
  background: linear-gradient(95deg, #48A878 65%, #27416B 150%);
  color: #fff;
  text-align: center;
  border-radius: 28px;
  box-shadow: 0 6px 44px 0 rgba(40,121,80,0.10);
}
.cta h2,
.cta p {
  color: #fff;
}
.cta .cta-primary {
  background: #fff;
  color: #287950 !important;
  border: 2px solid #287950;
  margin-top: 15px;
  box-shadow: 0 3px 16px rgba(39,65,107,0.10);
}
.cta .cta-primary:hover, .cta .cta-primary:focus {
  background: #287950;
  color: #fff !important;
}

/* ============================
  CONTACT SECTION
============================= */
.contact ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 18px;
}
.contact ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.08rem;
  margin-bottom: 12px;
  color: #222b44;
}
.contact img {
  width: 23px;
  height: 23px;
}
.info-block {
  background: #ECECEC;
  border-radius: 12px;
  padding: 18px 15px;
  font-size: 1rem;
  color: #27416B;
  text-align: left;
  margin-top: 18px;
}

/* ============================
  FOOTER STYLES
============================= */
footer {
  background: #27416B;
  color: #fff;
  padding: 42px 0 26px;
  border-radius: 36px 36px 0 0;
  box-shadow: 0 -2px 32px 0 rgba(39,65,107,0.11);
  margin-top: 40px;
}
footer .container {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}
.logo-footer {
  display: flex;
  align-items: center;
}
.footer-nav {
  display: flex;
  gap: 24px;
  flex-direction: column;
}
.footer-nav a {
  color: #fff;
  font-size: 1rem;
  opacity: 0.93;
  text-decoration: none;
  transition: color 0.16s, opacity 0.18s;
  margin-bottom: 7px;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #48A878;
  opacity: 1;
}
footer address {
  font-style: normal;
  font-size: 0.97rem;
  color: #fff;
  line-height: 1.7;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
footer a {
  color: #48A878;
  text-decoration: underline;
}

@media (max-width: 768px) {
  footer .container {
    flex-direction: column;
    padding: 0 12px;
    gap: 28px;
    align-items: flex-start;
  }
  footer {
    text-align: left;
  }
  .footer-nav {
    flex-direction: row;
    gap: 18px;
    flex-wrap: wrap;
  }
}

/* ============================
  COOKIE CONSENT BANNER
============================= */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100vw;
  background: #fff;
  border-top: 4px solid #48A878;
  box-shadow: 0 -2px 30px 0 rgba(39,65,107,0.12);
  padding: 18px 16px 18px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 20px;
  z-index: 250;
  animation: fadeinbanner 0.51s;
}
@keyframes fadeinbanner {
  0% { transform: translateY(100%); opacity: 0; }
  90% { opacity: 1;}
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  color: #1c2740;
  font-size: 1rem;
  margin-bottom: 0;
  margin-right: 18px;
}
.cookie-banner .cookie-btn {
  margin: 0 5px;
  min-width: 120px;
  padding: 10px 20px;
  border-radius: 22px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(40,121,80,0.07);
  transition: background 0.22s, color 0.14s, box-shadow 0.16s;
}
.cookie-btn.accept {
  background: #48A878;
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #287950;
}
.cookie-btn.reject {
  background: #ECECEC;
  color: #287950;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #287950;
  color: #fff;
}
.cookie-btn.settings {
  background: #fff;
  color: #27416B;
  border: 1px solid #27416B;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #ECECEC;
  color: #287950;
}

@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 16px 4vw 16px 4vw;
  }
  .cookie-banner p {
    margin-right: 0;
    margin-bottom: 8px;
  }
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  z-index: 300;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(39,65,107,0.20);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
  transition: opacity 0.22s;
  animation: fadeinmodal 0.32s;
}
@keyframes fadeinmodal {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 6px 36px 0 rgba(39,65,107,0.21);
  padding: 34px 24px 26px;
  max-width: 430px;
  width: 95vw;
  z-index: 301;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: modalbounce 0.49s cubic-bezier(.5,-0.27,.69,1.4);
}
@keyframes modalbounce {
  0% { transform: scale(0.92); }
  70% { transform: scale(1.04); }
  100% { transform: scale(1); }
}
.cookie-modal h2 {
  font-size: 1.24rem;
  color: #27416B;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  margin-bottom: 7px;
}
.cookie-modal .switch {
  width: 44px;
  height: 22px;
  position: relative;
  display: inline-block;
}
.cookie-modal .switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-modal .slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0;
  right: 0; bottom: 0;
  background: #ECECEC;
  border-radius: 34px;
  transition: background 0.22s;
}
.cookie-modal .switch input:checked + .slider {
  background: #48A878;
}
.cookie-modal .slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 2px;
  bottom: 2px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.24s cubic-bezier(.55,-0.28,.84,.87);
}
.cookie-modal .switch input:checked + .slider:before {
  transform: translateX(22px);
}
.cookie-modal .cookie-btn-row {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}
.cookie-modal .category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.cookie-modal .category.essential label {
  opacity: 0.50;
  cursor: not-allowed;
}

/* =========================
   ARTISTIC/CREATIVE EXTRAS
========================== */
@media (max-width: 620px) {
  .feature-grid {
    flex-direction: column;
    gap: 16px;
  }
  .feature-grid > div {
    max-width: 100%;
    min-width: 0;
    width: 100%;
  }
  .blog-list {
    flex-direction: column;
    gap: 12px;
  }
  .blog-list article {
    max-width: 100%;
    min-width: 0;
    width: 100%;
  }
}

/* =================================
  RESPONSIVE ADJUSTMENTS
================================== */
@media (max-width: 1060px) {
  .container {
    max-width: 100%;
    padding-left: 10px;
    padding-right: 10px;
  }
}
@media (max-width: 900px) {
  .footer-nav{
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
  }
}
@media (max-width: 768px) {
  h1 {font-size: 2rem;}
  h2 {font-size: 1.4rem;}
  .hero {
    border-radius: 0 0 18px 18px;
    padding: 32px 8px 30px 8px;
  }
  .section,.about,.features,.services,.testimonials,.cta,.contact {
    border-radius: 14px;
    padding: 24px 8px;
    margin-bottom: 38px;
  }
  .card-container, .content-grid, .feature-grid { gap: 12px; }
  .testimonial-card {
    flex-direction: column;
    gap: 12px;
    padding: 14px;
  }
}
@media (max-width: 480px) {
  h1 {font-size: 1.45rem;}
  h2 {font-size: 1.08rem;}
  .cta .cta-primary {
    min-width: 100%;
    padding: 14px 0;
  }
}

/* ===============
   Miscellaneous
================= */
::-webkit-scrollbar {
  width: 9px; background: #ECECEC;
}
::-webkit-scrollbar-thumb {
  background: #48A878; border-radius: 8px;
  transition: background 0.19s;
}
::-webkit-scrollbar-thumb:hover {
  background: #287950;
}

/* Hide outline but keep focus visible for accessibility */
:focus:not(:focus-visible) {
  outline: none;
}
:focus-visible {
  outline: 2px solid #48A878;
  outline-offset: 2px;
}

/* ===============
    Print Styles
================= */
@media print {
  header, nav, footer, .mobile-menu, .cta, .cookie-banner, .cookie-modal {
    display: none !important;
  }
  body { background: #fff; }
}
