/* CSS RESET AND 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,main,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;
}
article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section {
  display:block;
}
body {
  line-height:1.5;
  background:#fcf8ee;
  color:#222;
  font-family:'Montserrat', Arial, sans-serif;
  font-size:16px;
  min-height:100vh;
  letter-spacing:0.01em;
  -webkit-font-smoothing:antialiased;
}
img {
  max-width:100%;
  height:auto;
  display:block;
}
a {
  color: #347748;
  text-decoration: none;
  transition:color .2s;
}
a:hover, a:focus {
  color: #6B4D25;
  outline: none;
}
ul,ol {
  margin-left: 1.3em;
  margin-top: 1em;
  margin-bottom: 1em;
}


/* ROOT COLORS */
:root {
  --primary: #347748;
  --secondary: #6B4D25;
  --accent: #F3EFE7;
  --bg: #fcf8ee;
  --shadow: 0 6px 24px rgba(80,70,50,.08);
  --radius-lg: 2.2rem;
  --radius-md: 1.2rem;
  --radius-sm: 0.6rem;
  --text-dark: #232215;
  --text-mid: #433E24;
  --white: #fff;
  --yellow: #f9ce43;
  --pink: #ff92cc;
  --blue: #46d0fa;
  --olive: #bad380;
  --light-green: #e3fbeb;
  --shadow-s: 0 2px 9px rgba(80,70,30,.08);
}

/* FONTS */
@import url('https://fonts.googleapis.com/css?family=Roboto+Slab:700,400&display=swap');
@import url('https://fonts.googleapis.com/css?family=Montserrat:400,600,700&display=swap');
h1,h2,h3,h4 {
  font-family: 'Roboto Slab', serif;
  font-weight: 700;
  line-height:1.14;
  color: var(--primary);
  letter-spacing: -0.01em;
}
h1 {font-size: 2.2rem; margin-bottom: 16px;}
h2 {font-size: 1.8rem; margin: 40px 0 18px; color: var(--secondary);}
h3 {font-size: 1.22rem; margin: 18px 0 10px; color: var(--primary);}
p, ul, ol, li, blockquote, label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size:1rem;
  color: var(--text-mid);
}
blockquote {
  font-family:'Roboto Slab',serif;
  font-style:italic;
  color: var(--primary);
  margin-bottom:12px;
  quotes:"\201C" "\201D";
}
blockquote:before, blockquote:after {
  display:inline;
  color: var(--secondary);
  font-size:2rem;
}
blockquote:before { content:open-quote; }
blockquote:after { content:close-quote; }
strong, b { font-weight: 700; color: var(--secondary); }


/* CONTAINER & LAYOUT */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 18px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
}

.card-container { display:flex; flex-wrap:wrap; gap:24px; margin-bottom:24px; }
.card {
  background: var(--white);
  box-shadow: var(--shadow);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: box-shadow .28s,transform .18s;
}
.card:hover {
  box-shadow: 0 12px 42px rgba(52,119,72,0.17);
  transform: translateY(-2px) scale(1.02) rotate(-0.2deg);
}

.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;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: var(--accent);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-s);
  flex-direction: row;
  color: var(--text-dark);
  min-width: 0;
  transition: box-shadow .23s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 34px rgba(52,119,72,0.14);
}
.testimonial-card blockquote { color: var(--secondary); }
.testimonial-card span { color: var(--primary); font-weight:600; font-size:1rem; margin-left:6px;}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  min-width:180px;
  flex:1 1 220px;
  margin-bottom:20px;
}
.text-section {
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 17px;
}

/* HERO SECTION */
.hero-section {
  background: linear-gradient(90deg, var(--accent) 48%, var(--light-green) 100%);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  box-shadow: 0 6px 28px rgba(106,77,37,0.05);
  margin-bottom:60px;
  padding: 56px 0 44px;
}
.hero-section .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-section h1 {
  color: var(--secondary);
  font-size: 2.5rem;
  background: linear-gradient(90deg,var(--primary),var(--secondary),var(--yellow) 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip:text;
  margin-bottom:18px;
}
.hero-section p {
  max-width: 720px;
  margin: 0 auto 32px auto;
  font-size: 1.18rem;
  color: #31331b;
}

/* FEATURE GRID */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: flex-start;
  margin-bottom: 20px;
}
.feature-grid > div {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-s);
  padding: 26px 22px;
  min-width: 210px;
  flex: 1 1 250px;
  transition:box-shadow .21s,transform .16s;
  display: flex; flex-direction:column; align-items:flex-start;
  position:relative;
  margin-bottom: 20px;
}
.feature-grid > div img {
  width: 44px;
  margin-bottom: 14px;
  filter: saturate(1.4) drop-shadow(0 1px 4px var(--olive));
}
.feature-grid > div h3 {
  margin: 0 0 12px;
  font-size:1.11rem;
  color: var(--secondary);
  font-weight:700;
}
.feature-grid > div:hover {
  box-shadow: 0 12px 42px rgba(106,77,37,0.12);
  transform: translateY(-5px) scale(1.025) rotate(-.5deg);
}


/* BUTTONS */
.btn-primary,
button.btn-primary {
  background: var(--primary);
  color: var(--white);
  font-family: 'Montserrat',Arial,sans-serif;
  font-weight: 700;
  letter-spacing:0.06em;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  box-shadow: 0 2px 12px rgba(52,119,72,0.06);
  border: none;
  cursor: pointer;
  font-size:1.09rem;
  transition: background .19s, box-shadow .21s, transform .11s;
  margin: 14px 0 6px 0;
  z-index: 1;
  display:inline-block;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--secondary);
  color: var(--yellow);
  box-shadow: 0 6px 22px rgba(106,77,37,0.13);
  transform: scale(1.03);
}

/* SECONDARY, ACCENT & UTILITY BUTTONS */
.btn-secondary, button[role="secondary"] {
  background: var(--yellow);
  color: var(--secondary);
}
.btn-accent, button[role="accent"] {
  background: var(--blue);
  color: var(--white);
}
.btn-light, button[role="light"] {
  background: var(--accent);
  color: var(--primary);
}
button, .btn-secondary, .btn-accent, .btn-light {
  font-family:inherit;
  font-weight:600;
  border:none;
  cursor:pointer;
  border-radius:var(--radius-sm);
  padding:10px 22px;
  transition: background .18s, color .18s, box-shadow .22s, transform .11s;
  margin:0 10px 4px 0;
}
button:focus, .btn-secondary:focus, .btn-accent:focus, .btn-light:focus {
  outline:2px solid var(--secondary);
  outline-offset:2px;
}

/* PRICING TABLE */
.pricing-table {
  display:flex;
  flex-wrap:wrap;
  gap:32px;
  margin:22px 0 22px;
  justify-content:center;
}
.pricing-table > div {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding:28px 30px 24px 30px;
  min-width:240px;
  flex:1 1 260px;
  margin-bottom:20px;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  border:2px dashed var(--primary);
  transition:box-shadow .19s,border .14s;
  position:relative;
}
.pricing-table > div:hover {
  border-color: var(--yellow);
  box-shadow:0 11px 28px rgba(249,206,67,0.16),var(--shadow);
  transform:scale(1.02) rotate(.5deg);
}
.pricing-table h3 { color:var(--secondary);margin-bottom:14px;font-size:1.14rem; }
.pricing-table ul { font-size:0.96rem;margin-bottom:0.7em; }
.pricing-table strong {font-size:1.16rem;color:var(--primary);letter-spacing:0.03em;}

/* CTA SECTION */
.cta-section {
  background: linear-gradient(90deg,var(--light-green) 60%, var(--yellow) 100%);
  border-radius: var(--radius-lg);
  margin:40px 0 60px 0;
  padding: 44px 0 36px 0;
  box-shadow:0 4px 24px rgba(249,206,67,.07);
}
.cta-section h2 {
  color:var(--secondary);
  font-size:1.65rem;
  margin-bottom:12px;
}
.cta-section .btn-primary { margin-bottom:6px; margin-top:10px; }
.cta-section .text-section p {
  display:flex;
  align-items:center;
  font-size:1.05rem;
  color:var(--primary);
}
.cta-section .text-section img {width:22px;margin-right:10px;filter: grayscale(.3) brightness(1.6);}

/* HEADER/NAV */
header {
  background: var(--white);
  box-shadow: 0 6px 36px rgba(52,119,72,0.08);
  border-bottom: 1.5px solid var(--accent);
  padding: 0;
  position:relative;
  z-index:990;
}
header .container {
  display: flex;
  flex-direction:row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding:14px 18px 14px 18px;
  min-height:70px;
  width: 100%;
}
header img[alt="Szept Sióstr"] {
  height:46px;
  width: auto;
  margin-right:20px;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  font-size:1rem;
}
header nav a {
  color: var(--primary);
  font-family:'Montserrat',sans-serif;
  padding: 5px 9px;
  border-radius:var(--radius-sm);
  font-weight:600;
  transition: background .15s,color .15s;
}
header nav a:hover, header nav a:focus {
  background: var(--accent);
  color: var(--secondary);
}

/* Footer */
footer {
  background: var(--accent);
  border-top:2px solid var(--primary);
  margin-top:44px;
  padding:30px 0 10px 0;
}
footer .footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 8px;
  color: var(--secondary);
  align-items: center;
  font-size:0.98rem;
}
footer .footer-nav a{ color: var(--secondary); }
footer .footer-nav a:hover{ color: var(--primary); }
footer .footer-info {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 0.93rem;
  color: #554a30;
}
footer img[alt="Szept Sióstr"] {
  vertical-align:middle;
  width:20px; height:auto;
  margin-right:7px;
}

/* MOBILE BURGER MENU */
.mobile-menu-toggle {
  background: var(--secondary);
  color: var(--white);
  border-radius: 50%;
  border: none;
  width:48px; height:48px;
  font-size: 2.2rem;
  position: absolute;
  right: 20px;
  top: 18px;
  z-index:1889;
  display:none;
  transition: background .18s, color .18s;
  box-shadow: 0 2.5px 10px rgba(52,119,72,0.07);
}
.mobile-menu-toggle:focus {outline:2px solid var(--yellow);}
.mobile-menu {
  position:fixed;
  left:0; right:0; top:0; bottom:0;
  background: rgba(52,119,72,0.99);
  z-index:2220;
  transform: translateX(-100vw);
  transition: transform .42s cubic-bezier(.86,0,.07,1);
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  padding:0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: var(--yellow);
  color: var(--secondary);
  font-size:2.5rem;
  margin: 26px 22px 0 0;
  border: none;
  border-radius:50%;
  width:48px;height:48px;
  transition: background .14s;
}
.mobile-menu-close:focus { outline: 2px solid var(--primary); }
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding:56px 37px 20px 37px;
  align-items: flex-start;
  width:100%;
}
.mobile-nav a {
  color: var(--yellow);
  font-size:1.25rem;
  font-family:'Roboto Slab',serif;
  font-weight:700;
  padding:8px 0;
  border-radius:var(--radius-sm);
  transition: color .12s, background .17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--olive);
  color: var(--primary);
}

/* Hide menu on desktop, show on mobile */
@media (max-width: 1040px) {
  header nav {
    display:none;
  }
  .mobile-menu-toggle {
    display:block;
  }
}
@media (min-width: 1041px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display:none !important;
  }
  header nav {
    display:flex !important;
  }
}

/* Responsive Flex Patterns as Requested */
@media (max-width: 900px) {
  .feature-grid, .card-container, .content-grid {
    flex-direction:column;
    gap:24px;
  }
}
@media (max-width: 768px) {
  .hero-section h1{font-size:1.45rem;}
  h1{font-size:1.4rem;}
  h2{font-size:1.13rem;}
  h3{font-size:1.05rem;}
  .hero-section, .cta-section,.section {padding:22px 8px;}
  .feature-grid,.card-container,.content-grid {gap:16px;}
  .feature-grid > div, .card, .pricing-table > div {min-width:0;}
  .testimonial-card {flex-direction: column;gap:12px;padding:14px;font-size:0.95rem;}
  .text-image-section{flex-direction:column;gap:18px;}
  .content-wrapper {gap:14px;}
  .pricing-table {gap:14px;}
  footer .container {padding:0 5px;}
}

/* ADDITIONAL ARTISTIC ELEMENTS */
.feature-grid > div:after {
  content: '';
  display: block;
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 32px;
  height: 32px;
  background: var(--light-green);
  border-radius: 70% 50% 44% 66%;
  z-index: 0;
  opacity: 0.33;
  pointer-events: none;
  filter: blur(1px);
}
.feature-grid > div:hover:after {
  background: var(--yellow);
  opacity:0.44;
}
.cta-section:before {
  content: '';
  position: absolute;
  left: -40px; top: -48px;
  width: 110px; height: 110px;
  background-color: var(--pink);
  border-radius: 50% 43% 30% 61%;
  opacity:0.11;
  z-index:0;
  filter: blur(2px);
}
.cta-section {position:relative;}

/* Scrollbar Styling (modern artistic)*/
body::-webkit-scrollbar { width: 13px; background:var(--accent);}
body::-webkit-scrollbar-thumb { background: var(--primary); border-radius:8px; }

/* Animations and Micro-interactions */
.btn-primary, button,.btn-secondary,.btn-accent,.btn-light {
  will-change: transform, box-shadow;
}
.feature-grid > div, .card, .testimonial-card {
  will-change: transform,box-shadow;
}
.card, .feature-grid > div, .testimonial-card, .pricing-table > div { transition: box-shadow .24s, transform .16s; }
.mobile-menu, .mobile-menu.open { transition: transform .38s cubic-bezier(.82,0,.19,1); }

/* COOKIE CONSENT BANNER */
.cookie-consent-banner {
  position:fixed;
  left:0;
  bottom:0;
  width:100vw;
  background: var(--primary);
  color: var(--white);
  display:flex;
  align-items: center;
  justify-content: space-between;
  padding:18px 22px;
  z-index: 3000;
  font-family: 'Montserrat',sans-serif;
  box-shadow: 0 -4px 18px rgba(106,77,37,0.07);
  border-radius:18px 18px 0 0;
  gap:24px;
  animation: slideInCookie 0.7s cubic-bezier(.77,0,.18,1);
}
@keyframes slideInCookie {
  from { transform: translateY(60%); opacity:0; }
  to { transform: translateY(0); opacity:1; }
}
.cookie-consent-banner p {
  color: var(--white);
  flex: 4 1 320px;
  font-size: 0.96rem;
  margin:0;
}
.cookie-consent-buttons {
  display: flex;
  flex-direction:row;
  gap:12px;
}
.cookie-consent-banner .btn-primary,
.cookie-consent-banner .btn-secondary,
.cookie-consent-banner .btn-light {
  font-size: 0.96rem;
  padding: 8px 18px;
  margin: 0;
}
.cookie-consent-banner .btn-primary{background:var(--yellow);color:var(--secondary);}
.cookie-consent-banner .btn-secondary{background:var(--accent);color:var(--primary);}
.cookie-consent-banner .btn-light{background:var(--white);color:var(--primary);}
.cookie-consent-banner .btn-primary:hover {background:var(--secondary);color:var(--yellow);}
.cookie-consent-banner .btn-secondary:hover {background:var(--yellow);color:var(--secondary);}
.cookie-consent-banner .btn-light:hover {background:var(--olive);color:var(--primary);}

@media (max-width:640px){
  .cookie-consent-banner { flex-direction: column; align-items: flex-start; gap:14px; }
  .cookie-consent-buttons{gap:8px;flex-direction:column;}
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position:fixed;top:0;left:0;width:100vw;height:100vh;
  background:rgba(52,119,72,0.77);
  display:flex;align-items:center;justify-content:center;
  z-index:3500;
  animation:fadeInCookieOverlay .32s cubic-bezier(.7,0,.18,1);
}
@keyframes fadeInCookieOverlay {
  from{opacity:0;}to{opacity:1;}
}
.cookie-modal {
  background:#fff;
  padding:34px 32px;
  border-radius:var(--radius-lg);
  box-shadow:0 10px 50px rgba(52,119,72,0.17),0 2px 16px rgba(106,77,37,0.07);
  min-width:260px;max-width:96vw;
  color:var(--text-dark);
  animation:popUpCookie .41s cubic-bezier(.71,0,.18,1);
  position:relative;
  display:flex;
  flex-direction:column;
  gap:20px;
  font-family:'Montserrat',sans-serif;
}
@keyframes popUpCookie {
  from{transform:scale(.87);opacity:0;}to{transform:scale(1);opacity:1;}
}
.cookie-modal h3 { color:var(--primary);font-size:1.24rem;margin-bottom:14px; }
.cookie-category {
  background: var(--accent);
  border: 2px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 10px 18px;
  margin-bottom: 13px;
  display: flex;
  align-items:center;
  gap: 18px;
  font-size: 1.01rem;
}
.cookie-category label {
  display: flex;
  align-items:center;
  gap:8px;
  font-size:1rem;
  color:var(--secondary);
  font-weight:600;
}
.cookie-category input[type="checkbox"] {
  width:20px;height:20px;
  accent-color: var(--primary);
  margin-right:6px;
}
.cookie-modal .cookie-modal-buttons {
  display: flex;
  flex-direction: row;
  gap: 14px;
}
.cookie-modal-close {
  background:none;
  color:var(--secondary);
  border:none;
  font-size:2.1rem;
  position:absolute;
  top:16px; right:18px;
  line-height:1;
  cursor:pointer;
}
.cookie-modal-close:focus {outline:2px solid var(--primary);outline-offset:2px;}

/* FORMS (generics, for future use) */
input, textarea, select{
  font-family:inherit;
  font-size:1rem;
  border-radius:var(--radius-sm);
  border:1.1px solid var(--primary);
  padding:10px 12px;
  background:var(--accent);
  margin-bottom:12px;
  transition: border .12s;
  width:100%;
  box-sizing:border-box;
}
input:focus, textarea:focus, select:focus {outline:2px solid var(--secondary);border:1.5px solid var(--secondary);}
label { font-size:1rem;color:var(--text-mid);margin-bottom:10px;display:inline-block; }

/* Artistic custom font for large numbers/headlines */
.artistic-number {
  font-size: 3.4rem;
  font-family: 'Roboto Slab', serif;
  color: var(--yellow);
  letter-spacing: 0.04em;
  font-weight: 900;
  text-shadow:2px 2px 0 var(--blue),1px 2px 7px var(--olive);
}

/* General Spacing for No-Overlap Edge Cases */
.section, .content-wrapper, .feature-grid, .card-container, .content-grid, .testimonial-card, .feature-item {
  margin-bottom:20px;
}

/* Ensuring No Overlap */
.section > *, .container > *, .content-wrapper > *, .feature-grid > *, .card-container > *, .content-grid > * {
  margin-bottom:20px;
}

/* Hide irrelevant overlays when not applicable */
.cookie-modal-overlay[aria-hidden="true"] { display:none !important; }
.cookie-consent-banner[aria-hidden="true"] { display:none !important; }

/* Accessibility & General */
:focus-visible {outline: 2px solid var(--secondary);outline-offset: 2px;}
[tabindex="-1"]:focus {outline: none !important;}

/* --- END SZEPT SIÓSTR BRAND, CREATIVE ARTISTIC THEME, FLEXBOX ONLY CSS --- */
