/*--------------------------------------------
  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,main,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-family:sans-serif; line-height:1.15; -webkit-text-size-adjust:100%; }
body { background:#f7fafc; color:#223040; font-family:'Montserrat', Arial, sans-serif; font-size:16px; line-height:1.7; min-height:100vh; }
img { max-width:100%; height:auto; display:block; }
*, *:before, *:after { box-sizing: inherit; }
a { color:inherit; text-decoration:none; cursor:pointer; transition:color .2s; }
ul,ol { list-style-position:inside; }

/*--------------------------------------------
  Brand Variables & Base Styles
---------------------------------------------*/
:root {
  --color-primary: #29466A;
  --color-secondary: #D9A06F;
  --color-accent: #F0F4F8;
  --color-background: #f7fafc;
  --color-dark: #223040;
  --color-muted: #6a7688;
  --color-shade: #e8ecef;
  --color-danger: #cf3d32;
  --color-success: #208354;
  --header-height: 68px;
  --shadow-card: 0 4px 20px rgba(41,70,106,0.05);
  --shadow-strong: 0 6px 24px rgba(41,70,106,0.15);
  --radius: 14px;
  --transition-basic: .23s cubic-bezier(.61,.35,.62,.95);
  --font-display: 'Quicksand', 'Montserrat', Arial, sans-serif;
  --font-body: 'Montserrat', Arial, sans-serif;
}
/* Font import (CDN for Quicksand, Montserrat) */
@import url('https://fonts.googleapis.com/css?family=Quicksand:700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Montserrat:400,500,700&display=swap');

/*--------------------------------------------
  Body, Container, Sections
---------------------------------------------*/
body { background: var(--color-background); color: var(--color-dark); font-family: var(--font-body); }
.container {
  width:100%;
  max-width:1200px;
  margin:0 auto;
  padding-left: 18px;
  padding-right: 18px;
  box-sizing:border-box;
  display:flex;
  flex-direction:column;
  gap:0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.content-wrapper {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}
.text-center {
  align-items: center;
  text-align: center;
}
@media (max-width: 768px) {
  .content-wrapper { padding:0; }
}

/*--------------------------------------------
  Headings & Typography – Professional look
---------------------------------------------*/
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: .3px;
  margin-bottom: 12px;
  line-height: 1.15;
}
h1 { font-size: 2.4rem; margin-top: 14px; }
h2 { font-size: 2rem; margin-top: 8px; }
h3 { font-size: 1.36rem; }
h4 { font-size: 1.13rem; }
p, li, td, th, small, a, span { font-family: var(--font-body); font-weight:400; }
p { color: var(--color-dark); font-size:1rem; margin-bottom: 8px; }
strong { font-weight:700; }
small { font-size: 0.96em; color: var(--color-muted); }
hr { margin: 32px 0; border:0; border-top:1px solid var(--color-shade); }

@media (max-width:576px) {
  h1 { font-size:2rem; }
  h2 { font-size:1.5rem; }
  h3 { font-size:1.13rem; }
}

/*--------------------------------------------
  Navigation (Desktop & Mobile)
---------------------------------------------*/
header {
  background: #fff;
  min-height: var(--header-height);
  box-shadow: 0 2px 10px rgba(41,70,106,.06);
  position:sticky; top:0; z-index:30;
}
header .container {
  flex-direction: row;
  align-items:center;
  justify-content: space-between;
  height:var(--header-height);
}
header a img[alt="Mgiełka Pupila"] {
  height: 38px;
}

.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
  position: relative;
}
.main-nav a {
  color: var(--color-primary);
  font-weight:500;
  font-size:1rem;
  padding: 6px 0 6px 0;
  position:relative;
  transition: color .16s;
}
.main-nav a:not(.cta-btn):hover,
.main-nav a:not(.cta-btn):focus {
  color: var(--color-secondary);
}
.main-nav .cta-btn {
  margin-left: 14px;
}

/* Mobile Hamburger Button */
.mobile-menu-toggle {
  display:none;
  background:none;
  border:none;
  font-size:2rem;
  color:var(--color-primary);
  margin-left:18px;
  cursor:pointer;
  z-index:32;
}
@media (max-width: 1050px) {
  .main-nav {
    gap:18px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap:10px;
    font-size:.97rem;
  }
}
@media (max-width: 800px) {
  .main-nav, header a img[alt="Mgiełka Pupila"] {
    font-size:.93rem;  
  }
}
@media (max-width: 820px) {
  .main-nav { display:none;}
  .mobile-menu-toggle { display:block;}
}

/* MOBILE MENU overlay+slide */
.mobile-menu {
  position:fixed; left:0; top:0; width:100vw; height:100vh;
  background:rgba(34,48,64,0.86);
  z-index:100;
  transform: translateX(-100%);
  transition:transform var(--transition-basic);
  display: flex; flex-direction:column; align-items:flex-end; justify-content:flex-start;
  padding-top:0;
}
.mobile-menu.open { transform:translateX(0); }
.mobile-menu-close {
  margin: 20px 28px 0 0;
  font-size: 2.2rem;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
  z-index:101;
}
.mobile-nav {
  margin-top: 42px;
  width: 100vw;
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items:center;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 500;
  background: transparent;
  padding: 13px 0;
  border-radius: 7px;
  width:90vw;
  text-align:center;
  transition:background .17s, color .17s;
  margin: 0 auto;
  letter-spacing:.3px;
}
.mobile-nav a:hover {
  background: var(--color-secondary);
  color:var(--color-primary);
}

@media (max-width:400px) {
  .mobile-nav a { font-size: 1.03rem; }
}

/*--------------------------------------------
  Button Styles
---------------------------------------------*/
.cta-btn {
  display:inline-block;
  background: var(--color-primary);
  color: #fff;
  font-family:var(--font-display);
  font-weight:700;
  padding: 12px 36px;
  border-radius: var(--radius);
  border:none;
  font-size:1.09rem;
  box-shadow:0 2px 8px rgba(41,70,106,0.10);
  cursor:pointer;
  letter-spacing:.4px;
  margin-top: 8px;
  transition:background .18s, box-shadow .18s, transform .13s;
}
.cta-btn:hover, .cta-btn:focus {
  background:var(--color-secondary);
  color:var(--color-primary);
  transform:translateY(-1px) scale(1.025);
  box-shadow:0 6px 18px rgba(41,70,106,0.23);
}
.category-btn {
  background: var(--color-secondary);
  color: var(--color-primary);
  font-weight:700;
  padding: 12px 28px;
  border-radius:var(--radius);
  margin: 0 10px 8px 0;
  border:none;
  font-size:1.02rem;
  transition:background .15s;
  box-shadow: 0 2px 10px rgba(217,160,111,0.08);
}
.category-btn:hover,.category-btn:focus {
  background: var(--color-primary);
  color:#fff;
}
.category-link {
  display:inline-block;
  color: var(--color-primary);
  border-bottom:2px solid var(--color-secondary);
  padding-bottom:1.5px;
  transition: color .2s, border-bottom-color .15s;
}
.category-link:hover { color: var(--color-secondary); border-bottom-color: var(--color-primary); }

/*--------------------------------------------
  FLEX SPACING & LAYOUT PATTERNS
---------------------------------------------*/
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 26px 20px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap:10px;
  min-width:230px;
  transition: box-shadow .2s;
}
.card:hover {
  box-shadow: var(--shadow-strong);
}
.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;
    align-items:stretch;
    gap: 14px;
  }
}

/**** Section spacing rule ****/
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius:var(--radius);
  box-shadow:var(--shadow-card);
  padding:18px 16px;
  margin-bottom:20px;
}

/**** Brand values (vertical flex badges) ****/
.brand-values {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin:18px 0 10px 0;
  flex-wrap:wrap;
}
.brand-values span {
  display:flex;
  align-items:center;
  gap:7px;
  font-weight:500;
  color:var(--color-primary);
  background:#f0f4f8;
  padding:6px 12px;
  border-radius:8px;
  font-size:1.01em;
}
.brand-values li {
  list-style:none;
}

/**** Features-list (as ul or div) ****/
.features-list, .product-highlights, .team-briefs, .product-tiles, .category-overview {
  display:flex; flex-direction:row; flex-wrap:wrap; gap:32px; justify-content: flex-start; margin:22px 0 0 0;
}
.features-list li, .features-list > div, .product-highlights > div, .category-overview > div, .team-briefs > div, .product-tiles > div {
  background:#fff; border-radius:var(--radius); box-shadow:var(--shadow-card);
  flex:1 1 220px; min-width:215px; max-width:340px; padding:24px 18px; display:flex; flex-direction:column; align-items:flex-start; gap:10px; margin-bottom:20px;
  transition: box-shadow .18s, transform .16s;
}
.features-list li img, .features-list > div img { height: 36px; margin-bottom:9px; }
.features-list li:hover, .features-list > div:hover, .product-tiles > div:hover, .team-briefs > div:hover, .category-overview > div:hover {
  box-shadow: var(--shadow-strong);
  transform:translateY(-3px) scale(1.015);
}
@media (max-width: 900px) {
  .features-list, .product-highlights, .team-briefs, .product-tiles, .category-overview {
    gap:18px;
  }
}
@media (max-width: 768px) {
  .features-list, .product-highlights, .team-briefs, .product-tiles, .category-overview {
    flex-direction:column;
    align-items:stretch;
    gap:16px;
  }
  .features-list li, .features-list > div, .product-highlights > div, .product-tiles > div, .category-overview > div, .team-briefs > div { max-width: 100%; min-width: unset; }
}

.card-content {
  display:flex; flex-direction:column; justify-content:center;
}

/*--------------------------------------------
  Main Page: Testimonials
---------------------------------------------*/
.testimonial-card {
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:20px;
  padding:20px;
  background:#fff;
  border-radius:var(--radius);
  margin-bottom:24px;
  box-shadow:0 2px 10px rgba(41,70,106,0.09);
  border-left:4px solid var(--color-secondary);
  max-width:530px;
  transition: box-shadow .22s;
}
.testimonial-card p {
  color:var(--color-dark);
  font-style:italic;
  font-size:1.09em;
}
.testimonial-card .stars {
  color:var(--color-secondary);
  font-size:1.44em;
}
.testimonial-card small {
  color: var(--color-muted);
}
.testimonial-card:hover {
  box-shadow: 0 8px 24px rgba(41,70,106,0.11);
  transform:translateY(-1px);
}

/* Strong contrast in testimonials */
.testimonial-card p,
.testimonial-card small {
  color: #223040; background: none;
}

/*--------------------------------------------
  Lists
---------------------------------------------*/
ul, ol {
  padding:0 0 0 18px;
  margin:0 0 16px 0;
  color:var(--color-dark);
}
li { margin-bottom:7px; }

.categories-list, .care-solutions, .usage-tips {
  display:flex; flex-direction:row; flex-wrap:wrap; gap:14px; margin-top:7px;
}
.categories-list li, .care-solutions li, .usage-tips li {
  background:var(--color-accent); color:var(--color-dark);
  padding:9px 13px; border-radius:7px; font-size:.99em; list-style:none; font-weight:500;
}
@media (max-width:700px) {
  .categories-list, .care-solutions, .usage-tips {
    flex-direction:column;
    gap:7px;
  }
}

/**** Articles-list & FAQ-list ****/
.articles-list, .faq-list {
  display:flex; flex-direction:column; gap:24px;
}
.articles-list article {
  background:#fff; border-radius:var(--radius); box-shadow:0 1px 6px rgba(41,70,106,0.07);
  padding:24px 18px; transition:box-shadow .16s;
}
.articles-list article:hover {
  box-shadow:0 4px 16px rgba(41,70,106,0.14);
}
.faq-item {
  background:#f6f8fa; border-radius:var(--radius);
  padding:18px 18px 14px 18px; margin-bottom:10px;
}
.faq-item h3 { margin-bottom:4px; }

/*--------------------------------------------
  Product-categories Section
---------------------------------------------*/
.product-categories {
  display:flex; gap:18px; margin:22px 0 0 0;
  flex-wrap:wrap;
  justify-content:flex-start;
}
.product-categories li {
  background:var(--color-secondary);
  color:var(--color-primary);
  border-radius:8px;
  padding:10px 22px;
  font-weight:700;
  font-size:1.09em;
  list-style:none;
  transition:background .2s, color .16s;
}
.product-categories li a {
  color:inherit; display:block;
}
.product-categories li:hover {
  background:var(--color-primary); color:#fff;
}

/*--------------------------------------------
  Contact Details & Map Section
---------------------------------------------*/
.contact-details {
  display:flex; flex-direction:column; gap:12px;
  margin-bottom:22px;
}
.contact-details p {
  font-size:1.05em; color:var(--color-dark); display:flex; align-items:center; gap:8px;
}
@media (max-width:500px) {
  .contact-details { font-size:.97em; }
}
.no-map-message {
  background: var(--color-accent);
  color: var(--color-primary);
  padding:12px 20px; border-radius:9px; text-align:center; font-size:.99em;
}

.opening-hours-table {
  width:100%; border-collapse:collapse; margin-top:13px;
  background:#fff;
  box-shadow:0 1px 8px rgba(41,70,106,0.06);
  border-radius:var(--radius);
  overflow:hidden;
}
.opening-hours-table th, .opening-hours-table td {
  padding:15px 10px; border-bottom:1px solid #e4eaf2; text-align:left; font-size:.99em;
}
.opening-hours-table tr:last-child td { border-bottom:none; }
.opening-hours-table th { background:var(--color-accent); color:var(--color-primary); }
@media (max-width: 500px) {
  .opening-hours-table th, .opening-hours-table td { padding:8px 6px; }
}

/*--------------------------------------------
  Footer
---------------------------------------------*/
footer {
  background: #fff;
  color: var(--color-primary);
  box-shadow: 0 -2px 12px rgba(41,70,106,0.04);
  padding: 32px 0 12px 0;
  margin-top:40px;
}
footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 32px;
  align-items:flex-start;
  justify-content: flex-start;
}
.footer-brand { display:flex; align-items:center; gap:8px; font-size:1.22em; font-family:var(--font-display); font-weight:700; }
.footer-nav {
  display:flex; flex-direction:column; gap:7px; min-width:166px; font-size:.98em; margin:0 24px;
}
.footer-nav a { color:var(--color-primary); transition:color .14s; }
.footer-nav a:hover { color:var(--color-secondary); }
.footer-contact { min-width:230px; font-size:.99em;}
.footer-contact img { height:16px; margin-right:7px; vertical-align:text-bottom; }
.footer-social { display:flex; gap:15px; align-items:center; margin:8px 0 16px 0; }
.footer-social img { height:30px; width:30px; border-radius:7px; background:var(--color-accent); transition:box-shadow .18s; box-shadow:0 1px 5px rgba(41,70,106,0.06); }
.footer-social img:hover { box-shadow:0 2px 12px var(--color-secondary, #D9A06F50); }
footer small { display:block; margin:13px 0 0 0; color:var(--color-muted); font-size:.98em; }

@media (max-width: 950px) {
  footer .container { gap:14px; }
}
@media (max-width: 700px) {
  footer .container {
    flex-direction:column;
    gap:10px;
    align-items:flex-start;
  }
  .footer-nav, .footer-contact, .footer-brand { margin:0; min-width:unset; }
}

/*--------------------------------------------
  Eco Badge & Other Badges
---------------------------------------------*/
.eco-badge {
  display:flex; align-items:center; gap:11px;
  background:var(--color-accent);
  color:var(--color-primary);
  border-radius:7px;
  padding:6px 16px;
  margin-top:19px;
  font-size:1.01em; font-weight:500;
  width:max-content;
}
.eco-badge img { height: 28px; }

/*--------------------------------------------
  Cookie Consent Banner (fixed)
---------------------------------------------*/
.cookie-banner {
  position:fixed; bottom:0; left:0; width:100%; z-index:1200;
  display:flex; justify-content:center; align-items:center;
  background:#fff; box-shadow: 0 -4px 28px rgba(41,70,106,0.11);
  padding:20px 12px;
  animation:cookieAppear .6s;
}
@keyframes cookieAppear {
  from { transform: translateY(100%); opacity:0; } to { transform: none; opacity:1; }
}
.cookie-banner__content {
  display:flex; flex-direction:row; align-items:center; gap:22px;
  max-width:900px;
}
.cookie-banner__text {
  font-size:1.01rem; color:var(--color-dark); line-height:1.4; max-width:540px;
}
.cookie-banner__actions {
  display:flex; flex-direction:row; gap:14px; margin-left:12px;
}
.cookie-btn {
  background:var(--color-primary); color:#fff; border:none;
  padding:9px 19px; border-radius:7px; font-weight:600; font-size:1.01em;
  cursor:pointer; transition:background .17s,transform .12s;
}
.cookie-btn.cookie-reject {
  background:#e4eaf2; color:var(--color-primary); border:1.5px solid var(--color-primary);
}
.cookie-btn.cookie-settings {
  background:#fff; color:var(--color-primary);
  border:1.5px solid var(--color-primary); font-weight:500;
}
.cookie-btn:hover, .cookie-btn:focus {
  background:var(--color-secondary); color:var(--color-primary); transform:translateY(-1px);
}

@media (max-width:700px) {
  .cookie-banner__content {
    flex-direction:column;
    align-items:flex-start;
    gap:10px;
  }
  .cookie-banner__actions { margin-left:0; }
}

/* Cookie Consent Modal (for settings) */
.cookie-modal {
  position:fixed; top:0; left:0; z-index:1300;
  width:100vw; height:100vh; background:rgba(34,48,64,.39);
  display:flex; align-items:center; justify-content:center;
  opacity:0; pointer-events:none; transform:scale(1.05);
  transition: opacity .27s, transform .23s;
}
.cookie-modal.open { opacity:1; pointer-events:all; transform:scale(1); }
.cookie-modal__box {
  background:#fff; padding:32px 28px 20px 28px;
  border-radius:16px; box-shadow:0 10px 40px rgba(41,70,106,0.17);
  min-width:320px; max-width:98vw;
  display:flex; flex-direction:column;
  gap:20px;
  animation:cookieModalIn .4s;
}
@keyframes cookieModalIn {
  from{ transform: translateY(100px); opacity:0; } to{ transform:none; opacity:1; }
}
.cookie-modal__close {
  background:none; border:none; color:var(--color-primary); font-size:2rem; position:absolute; top:20px; right:32px; cursor:pointer;
}
.cookie-options-list {
  display:flex; flex-direction:column; gap:14px; }
.cookie-option {
  background:var(--color-accent); border-radius:8px; padding:12px 18px; display:flex; align-items:center; gap:18px;
}
.cookie-option--essential { opacity:.8; }
.cookie-option label { font-weight:500; color:var(--color-primary); }
.cookie-switch {
  margin-left:auto;
  margin-right:8px;
  width:40px;
  height:22px;
  background:#d1dae7;
  border-radius:22px;
  position:relative;
  cursor:pointer;
  transition: background .17s;
}
.cookie-switch input {
  opacity:0; width:0; height:0; position:absolute;
}
.cookie-switch .slider {
  position:absolute; left:2px; top:2px; width:18px; height:18px; background:#fff; border-radius:50%; transition:transform .18s;background: #fff;
  box-shadow:0 1px 4px rgba(0,0,0,0.07);
}
.cookie-switch input:checked + .slider {
  transform: translateX(18px); background:var(--color-secondary);
}
.cookie-switch input:checked ~ .slider {
  background:var(--color-secondary);
}
.cookie-switch input:checked {
}

@media (max-width:520px){
  .cookie-modal__box { padding:18px 8px; }
}

/*--------------------------------------------
  Animations & Micro-interactions
---------------------------------------------*/
a, .cta-btn, .category-btn, .category-link { transition:all .17s; }
.card, .testimonial-card, .feature-item, .articles-list article, .faq-item { transition:box-shadow .18s, transform .12s; }
.card:hover, .feature-item:hover, .team-briefs > div:hover {
  box-shadow:0 10px 24px rgba(41,70,106,0.13);
  transform:translateY(-2px) scale(1.018);
}

/* Link focus state */
a:focus, .cta-btn:focus, .category-btn:focus, .category-link:focus, button:focus {
  outline:2px solid var(--color-secondary);
  outline-offset:2px;
}

/*--------------------------------------------
  Responsive Design Rules
---------------------------------------------*/
@media (max-width: 600px) {
  .section{padding:26px 6px;}
  h1{font-size:1.27rem;} h2{font-size:1.06rem;} h3{font-size:1rem;}
}
@media (max-width:420px) {
  .container{padding:0 4px;}
  .testimonial-card, .card { padding:14px 7px; }
  .content-wrapper{text-align:left; align-items:flex-start;}
}

/*--------------------------------------------
  Utility Classes
---------------------------------------------*/
.text-left { text-align:left; }
.text-right { text-align:right; }
.font-bold { font-weight:700; }
.bg-accent { background:var(--color-accent); }
.hide { display:none!important; }
.mt-0 { margin-top:0!important; }
.mb-0 { margin-bottom:0!important; }
.mb-2 { margin-bottom:16px!important;}
.mb-4 { margin-bottom:32px!important;}

/*--------------------------------------------
  Hidden visually (for accessibility)
---------------------------------------------*/
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/*--------------------------------------------
  Miscellaneous
---------------------------------------------*/
table { width:100%; }

::-webkit-input-placeholder { color: #6a7688; }
::-moz-placeholder { color: #6a7688; }
:-ms-input-placeholder { color: #6a7688; }
::placeholder { color: #6a7688; }

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