/* =====================================================================
   CRIMSON KUCHNIE - Scandinavian Clean Style CSS - style.css
   =====================================================================
   - Brand: Crimson Kuchnie
   - Design: Scandinavian Clean (light, natural, functional, minimal)
   - Layout: FLEXBOX ONLY
   - Mobile First, fully responsive
   - All selector class names match project HTML as provided
   ===================================================================== */

/* ===================== 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, menu, 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: inherit;
  font-size: 100%;
  vertical-align: baseline;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #FCFCFA;
  color: #212529;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
ul, ol {
  list-style: none;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
  border: none;
}
button {
  outline: none;
  border: none;
  background: none;
  cursor: pointer;
}
hr { border: 0; border-top: 1px solid #ededed; margin: 24px 0; }

/* ===================== CSS VARIABLES (with fallbacks) ===================== */
:root {
  --color-primary: #980F23;
  --color-secondary: #212529;
  --color-accent: #F9F6F2;
  --color-bg: #FCFCFA;
  --color-border: #E9E7E4;
  --color-shadow: rgba(44,42,38,0.06);
  --color-success: #12a150;
  --color-warning: #FBF5E7;
  --color-error: #980F23;

  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;

  --radius-s: 8px;
  --radius-m: 16px;
  --shadow-s: 0 2px 10px 0 var(--color-shadow);
  --shadow-m: 0 6px 32px 0 var(--color-shadow);
}

/* ===================== TYPOGRAPHY ======================= */
body {
  font-family: var(--font-body), sans-serif;
  font-size: 16px;
  background: var(--color-bg);
  color: var(--color-secondary);
  min-height: 100vh;
}
h1, .h1 {
  font-family: var(--font-display), sans-serif;
  font-size: 2.25rem; /* 36px */
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  color: var(--color-secondary);
}
h2, .h2 {
  font-family: var(--font-display), sans-serif;
  font-size: 1.75rem; /* 28px */
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  color: var(--color-secondary);
}
h3, .h3 {
  font-family: var(--font-display), sans-serif;
  font-size: 1.25rem; /* 20px */
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--color-primary);
}
h4, h5, h6 {
  font-family: var(--font-display), sans-serif;
}
p, li, span, address {
  font-family: var(--font-body), sans-serif;
  font-size: 1rem;
  color: var(--color-secondary);
}
strong {
  font-weight: 600;
  color: var(--color-primary);
}

.content-wrapper > h2,
.content-wrapper > h1 {
  margin-top: 0;
}

@media (min-width: 1025px) {
  h1, .h1 { font-size: 2.75rem; }
  h2, .h2 { font-size: 2rem; }
  h3, .h3 { font-size: 1.4rem; }
}

/* ===================== GENERIC LAYOUT STRUCTURE ===================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

.text-section {
  margin-bottom: 40px;
  background: transparent;
}

@media (min-width: 768px) {
  .section { padding: 60px 32px; }
  .content-wrapper { gap: 28px; }
}

/* =================== FLEXBOX LAYOUT CLASSES =================== */
.card-container,
.feature-grid,
.card-grid,
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: stretch;
}

@media (max-width: 767px) {
  .card-container,
  .feature-grid,
  .card-grid,
  .content-grid {
    flex-direction: column;
    gap: 20px;
  }
}

.text-image-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
}
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; gap: 24px; }
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.short-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 10px;
}

/* =================== HEADER & NAVIGATION =================== */
header {
  padding: 0;
  background: #fff;
  box-shadow: 0 1px 0 var(--color-border);
  position: relative;
  z-index: 200;
}
.header-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
}
.header-content > a img {
  height: 40px;
  width: auto;
  display: block;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
}
.main-nav a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  color: var(--color-secondary);
  letter-spacing: 0.01em;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
  border-radius: 2px;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}

.cta-btn {
  background: var(--color-primary);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  padding: 12px 28px;
  border-radius: var(--radius-s);
  font-size: 1.1rem;
  box-shadow: var(--shadow-s);
  outline: none;
  border: none;
  transition: background 0.2s, box-shadow 0.2s, transform 0.16s;
  display: inline-block;
  margin-left: 8px;
}
.cta-btn:hover, .cta-btn:focus {
  background: #B31A32;
  box-shadow: 0 4px 18px 0 var(--color-shadow);
  transform: translateY(-2px) scale(1.035);
}

/* Mobile Menu Burger */
.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--color-primary);
  background: none;
  border: none;
  width: 48px;
  height: 48px;
  cursor: pointer;
  margin-left: 0;
  transition: background 0.2s;
  border-radius: 50%;
  z-index: 210;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: var(--color-accent);
}

@media (min-width: 1025px) {
  .mobile-menu-toggle {
    display: none;
  }
}

/* --- Mobile Menu Styles --- */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  height: 100vh;
  background: #fff;
  box-shadow: 0 4px 32px 0 var(--color-shadow);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 16px 36px;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.85,0,.15,1);
  z-index: 4000;
  opacity: 0.99;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2rem;
  background: transparent;
  color: var(--color-primary);
  border: none;
  border-radius: 50%;
  padding: 4px 12px 0 12px;
  cursor: pointer;
  margin-bottom: 14px;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--color-accent);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  margin-top: 16px;
}
.mobile-nav a {
  padding: 14px 0;
  font-size: 1.2rem;
  font-family: var(--font-display);
  color: var(--color-secondary);
  border-bottom: 1px solid var(--color-border);
  transition: background 0.2s, color 0.2s;
  width: 100%;
  border-radius: 0;
  text-align: left;
  outline: none;
  display: block;
  margin-bottom: 0;
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-primary);
  background: var(--color-accent);
}
@media (min-width: 1025px) {
  .mobile-menu { display: none !important; }
}

/* Hide main-desktop nav on mobile, show burger */
@media (max-width: 1024px) {
  .main-nav {
    display: none !important;
  }
  .cta-btn {
    display: none !important;
  }
}

@media (min-width: 1025px) {
  .main-nav {
    display: flex !important;
  }
  .cta-btn {
    display: inline-block !important;
  }
}

/* =================== HERO SECTIONS =================== */
.hero {
  background: linear-gradient(135deg, #f9f6f2 76%, #fff 100%);
  padding: 56px 0 32px 0;
  text-align: left;
  min-height: 320px;
  display: flex;
  align-items: center;
}
.hero .content-wrapper {
  max-width: 700px;
  margin: 0 auto;
  align-items: flex-start;
  padding-top: 32px;
  gap: 24px;
}
.hero h1 {
  font-size: 2.3rem;
  color: var(--color-primary);
}
.hero p {
  font-size: 1.25rem;
  color: var(--color-secondary);
  margin-bottom: 14px;
}

@media (min-width: 600px) {
  .hero h1 { font-size: 2.7rem; }
}
@media (min-width: 1025px) {
  .hero { padding: 90px 0 50px 0; }
  .hero .content-wrapper { gap: 32px; }
}

/* =================== CARDS & FEATURE GRID =================== */
.card-container,
.card-grid,
.feature-grid {
  margin-top: 20px;
  margin-bottom: 20px;
}
.card, .feature-grid > div {
  flex: 1 1 220px;
  min-width: 210px;
  max-width: 310px;
  background: #fff;
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-s);
  padding: 24px 18px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 10px;
  border: 1px solid var(--color-border);
  transition: box-shadow 0.18s, border-color 0.18s, transform 0.19s;
  position: relative;
}
.feature-grid > div img {
  width: 46px;
  height: 46px;
  margin-bottom: 12px;
}
.card:hover, .feature-grid > div:hover {
  box-shadow: 0 8px 36px 0 var(--color-shadow);
  border-color: #e5e0e0;
  transform: translateY(-5px) scale(1.025);
}

@media (max-width: 1024px) {
  .feature-grid,
  .card-container { flex-direction: column; }
}

/* =================== TESTIMONIALS =================== */
.testimonials {
  margin-top: 40px;
  margin-bottom: 48px;
  background: #fff;
  padding: 40px 0;
}
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
  justify-content: flex-start;
}
@media (max-width: 768px) {
  .testimonial-slider {
    flex-direction: column;
    gap: 20px;
  }
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 24px 30px;
  background: #F9F6F2;
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-s);
  border: 1px solid var(--color-border);
  max-width: 380px;
  min-width: 210px;
  margin-bottom: 10px;
  transition: box-shadow 0.17s, border-color 0.18s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 28px 0 var(--color-shadow);
  border-color: #dfdad7;
}
.testimonial-card p {
  font-size: 1.08rem;
  color: var(--color-secondary);
  margin-bottom: 0;
}
.testimonial-card .testimonial-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-top: 2px;
}
.star-rating {
  display: flex;
  gap: 3px;
  margin-top: 3px;
  align-items: center;
}
.star-rating img {
  width: 18px;
  height: 18px;
}

/* =================== CALL TO ACTION SECTION =================== */
.cta {
  background: #fff;
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-s);
  margin: 32px 0;
  padding: 40px 0;
  text-align: center;
}
.cta .content-wrapper {
  align-items: center;
}
.cta h2 {
  color: var(--color-primary);
  margin-bottom: 10px;
}
.cta p {
  color: var(--color-secondary);
  margin-bottom: 18px;
  font-size: 1.1rem;
}

.cta-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  margin-top: 20px;
}

/* =================== FOOTER =================== */
footer {
  background: #faf9f6;
  border-top: 1px solid var(--color-border);
  padding: 44px 0 30px 0;
  width: 100%;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}
.footer-logo-social {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-logo-social img {
  width: 48px;
  height: 48px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  color: var(--color-secondary);
  font-size: 1rem;
  font-family: var(--font-body);
  transition: color 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--color-primary);
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
}
.footer-contact img {
  width: 18px;
  height: 18px;
  margin-right: 2px;
  display: inline-block;
  vertical-align: middle;
}
@media (max-width: 768px) {
  footer .container {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }
  .footer-logo-social img { width: 36px; height: 36px; }
}

/* =================== COOKIE CONSENT BANNER =================== */
.cookie-banner {
  position: fixed;
  width: 100vw;
  bottom: 0;
  left: 0;
  z-index: 5000;
  background: rgba(250,249,246,0.98);
  box-shadow: 0 -2px 18px 0 rgba(44, 42, 38, 0.09);
  border-top: 1px solid var(--color-border);
  padding: 32px 20px 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  align-items: flex-start;
  animation: cookiefadein 0.4s ease;
}
@keyframes cookiefadein {
  0% { transform: translateY(80%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  color: var(--color-secondary);
  font-size: 1rem;
  margin-bottom: 4px;
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 4px;
}
.cookie-banner button {
  padding: 11px 22px;
  font-family: var(--font-display);
  border-radius: var(--radius-s);
  font-size: 1rem;
  border: 1px solid var(--color-primary);
  background: none;
  color: var(--color-primary);
  font-weight: 600;
  transition: background 0.19s, color 0.18s;
}
.cookie-banner button.cookie-accept {
  background: var(--color-primary);
  color: #fff;
  border: none;
}
.cookie-banner button.cookie-accept:hover,
.cookie-banner button.cookie-accept:focus {
  background: #B31A32;
  color: #fff;
}
.cookie-banner button.cookie-settings {
  background: var(--color-accent);
  color: var(--color-secondary);
  border: 1px solid var(--color-primary);
}
.cookie-banner button.cookie-reject {
  background: transparent;
  color: var(--color-primary);
}
.cookie-banner button:hover,
.cookie-banner button:focus {
  background: #F2E6E8;
  color: var(--color-primary);
}

/* --- Cookie modal --- */
.cookie-modal {
  position: fixed;
  z-index: 6000;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: rgba(20,20,20,0.36);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.2s, visibility 0.2s;
}
.cookie-modal.hidden {
  opacity: 0;
  visibility: hidden;
}
.cookie-modal-content {
  background: #fff;
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-m);
  padding: 32px 32px 28px 32px;
  max-width: 420px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
}
.cookie-modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 1.5rem;
  color: var(--color-primary);
  background: none;
  border: none;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  cursor: pointer;
  line-height: 1;
  z-index: 10;
}
.cookie-modal-content h2 {
  font-size: 1.3rem;
  color: var(--color-primary);
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}
.cookie-category label {
  flex: 1 1 auto;
  font-weight: 500;
  font-size: 1rem;
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--color-primary);
  width: 22px;
  height: 22px;
  cursor: pointer;
}
.cookie-category.disabled label {
  opacity: 0.7;
  color: #bbb;
}
.cookie-modal-btns {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-top: 12px;
  justify-content: flex-end;
}

@media (max-width: 525px) {
  .cookie-modal-content,
  .cookie-modal-content * { font-size: 97%; }
  .cookie-modal-content { padding: 18px 6vw 18px 6vw; }
}

.cookie-modal-content .desc {
  color: #737373;
  font-size: 0.96rem;
  margin-bottom: 6px;
}

/* =================== MISC: FAQ link, address blocks, etc. =================== */
.faq-link {
  display: inline-block;
  margin: 18px 0 0 0;
  font-size: 1.08rem;
  color: var(--color-primary);
  text-decoration: underline;
  transition: color 0.18s;
}
.faq-link:hover, .faq-link:focus {
  color: #B31A32;
}
address {
  font-style: normal;
  color: var(--color-secondary);
  font-size: 1rem;
  margin-bottom: 2px;
}

/* =================== RICH LISTS =================== */
ul li, ol li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
}
ul li:before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--color-primary);
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 8px;
  opacity: 0.12;
}

section ul li strong {
  color: var(--color-secondary);
  font-weight: 600;
}

/* =================== LINKS STYLES =================== */
.content-wrapper a:not(.cta-btn):not(.main-nav a):not(.mobile-nav a) {
  color: var(--color-primary);
  text-decoration: underline;
  transition: color 0.15s;
}
.content-wrapper a:not(.cta-btn):not(.main-nav a):not(.mobile-nav a):hover,
.content-wrapper a:not(.cta-btn):not(.main-nav a):not(.mobile-nav a):focus {
  color: #B31A32;
}

/* =================== SPACING ADJUSTMENTS =================== */
/* Card content, microtitle, spacing between elements, button edge breathing */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 13px;
  width: 100%;
}
@media (max-width: 529px) {
  .container { padding-left: 5px; padding-right: 5px; }
}

/* =================== BUTTON & FOCUS =================== */
button, .cta-btn, .cookie-banner button, .cookie-modal button {
  font-family: var(--font-display), Arial, sans-serif;
  border: none;
  outline: none;
}
:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* =================== ANIMATIONS & MICRO-INTERACTIONS =================== */
.cta-btn, .cookie-banner button, .cookie-modal button {
  transition: background 0.19s, color 0.17s, box-shadow 0.2s, transform 0.17s;
}
.card, .feature-grid > div, .testimonial-card {
  transition: box-shadow 0.15s, border-color 0.15s, transform 0.17s;
}

/* =================== RESPONSIVE MEDIA QUERIES =================== */
@media (max-width: 768px) {
  .container { max-width: 100vw; }
  .cta, .testimonials, .section {
    padding: 32px 6vw;
    margin-bottom: 36px;
  }
  .footer-logo-social img { width: 32px; height: 32px; }
}
@media (max-width: 480px) {
  .hero { padding: 36px 0; }
  .cta, .section { padding: 18px 1vw; }
  .content-wrapper { gap: 14px; }
}

/* =================== PRINT FRIENDLY =================== */
@media print {
  .hero, .main-nav, .mobile-menu, .cta, .cta-btn, .cookie-banner, .cookie-modal, .mobile-menu-toggle { display: none !important; }
}

/* =================== ACCESSIBILITY ENHANCEMENTS =================== */
::selection {
  background: #ffe5ea;
  color: var(--color-secondary);
}

/* =================== Z-INDEX LAYERS =================== */
.mobile-menu { z-index: 4000; }
.cookie-banner { z-index: 5000; }
.cookie-modal { z-index: 6000; }

/* =================== END OF STYLE.CSS =================== */
