/* --- 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.6;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background: #F4F4F9;
  color: #264653;
  min-height: 100vh;
}
*, *::before, *::after {
  box-sizing: inherit;
}
a {
  color: #264653;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #E9C46A;
  outline-offset: 2px;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
ul, ol {
  list-style: none;
}

/* --- VARIABLE FALLBACKS & BRAND COLORS --- */
:root {
  --primary: #264653;
  --secondary: #E9C46A;
  --accent: #F4F4F9;
  --danger: #DD2C00;
  --text-main: #264653;
  --text-dark: #222;
  --text-light: #fff;
  --border-radius: 18px;
  --shadow-md: 0 4px 20px rgba(38,70,83,0.13);
  --shadow-lg: 0 8px 32px rgba(233,196,106,0.18);
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
}

/* --- TYPOGRAPHY: MODERN BOLD --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
  letter-spacing: -1px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  line-height: 1.18;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.15rem;
}
.text-section h3, .text-section strong {
  color: var(--secondary);
}
p, ul, ol, li, blockquote {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--text-main);
  margin-bottom: 12px;  
}
strong {
  font-weight: 600;
}
blockquote {
  background: var(--secondary);
  color: var(--primary);
  border-left: 4px solid var(--primary);
  margin: 0 0 16px 0;
  padding: 12px 22px;
  border-radius: var(--border-radius);
  font-style: italic;
}

/* --- CONTAINER, LAYOUT, SECTIONS --- */
.container {
  width: 100%;
  max-width: 1110px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--accent);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  margin-bottom: 20px;
  padding: 28px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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

.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;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  margin-bottom: 20px;
  background: #fff;
  border-left: 6px solid var(--secondary);
}

.star-rating-summary {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--secondary);
  margin-top: 10px;
}

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

/* --- HERO & CTA BUTTONS --- */
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--secondary);
  color: var(--primary) !important;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.09rem;
  letter-spacing: 1.2px;
  padding: 14px 36px;
  border: none;
  border-radius: 32px;
  cursor: pointer;
  box-shadow: 0 2px 11px rgba(38,70,83,0.11);
  margin-top: 10px;
  text-transform: uppercase;
  transition: background 0.26s, color 0.22s, transform 0.14s;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--primary);
  color: #fff !important;
  transform: translateY(-2px) scale(1.045);
}

/* --- UL/OL FEATURES WITH ICONS --- */
.content-wrapper > ul,
.text-section > ul,
.feature-item > ul {
  padding-left: 0;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.content-wrapper > ul li,
.text-section > ul li,
.feature-item > ul li {
  position: relative;
  font-size: 1.09rem;
  display: flex;
  align-items: center;
  gap: 15px;
  border-radius: 9px;
  padding: 12px 10px 12px 0;
}
.content-wrapper > ul li img {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

/* --- SERVICE & OFFER CARDS --- */
.content-wrapper > div > h3 {
  color: var(--primary);
  font-size: 1.22rem;
  margin-bottom: 7px;
  font-weight: 700;
}
.content-wrapper > div > p {
  margin-bottom: 4px;
}
.content-wrapper > div > span {
  color: var(--secondary);
  font-weight: 700;
  font-size: 1.07rem;
}

/* --- TABLES (WEEKLY MENU) --- */
.weekly-menu-table {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  margin-bottom: 24px;
  overflow-x: auto;
  width: 100%;
}
.weekly-menu-table table {
  width: 100%;
  border-collapse: collapse;
}
.weekly-menu-table th, .weekly-menu-table td {
  font-family: var(--font-body);
  padding: 14px 18px;
  text-align: left;
  font-size: 1.03rem;
}
.weekly-menu-table thead th {
  background: var(--secondary);
  color: var(--primary);
  font-weight: bold;
  letter-spacing: 1.5px;
}
.weekly-menu-table tbody tr:nth-child(even) {
  background: #F9F7ED;
}

/* --- NAVIGATION --- */
header {
  background: #fff;
  box-shadow: 0 5px 24px rgba(38,70,83,0.09);
  position: sticky;
  top: 0;
  z-index: 1002;
  padding: 0;
}
.main-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 16px 0;
  font-family: var(--font-display);
  font-size: 1.07rem;
}
.main-nav a {
  font-weight: 600;
  color: var(--primary);
  opacity: 0.96;
  transition: color 0.18s, opacity 0.13s;
  padding: 7px 12px;
  border-radius: 10px;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--secondary);
  color: var(--primary);
  opacity: 1;
  text-decoration: none;
}
.main-nav .cta-btn {
  margin-left: 10px;
  margin-right: 0;
}
.main-nav img {
  height: 46px;
  width: auto;
  margin-right: 25px;
}

/* --- MOBILE BURGER MENU --- */
.mobile-menu-toggle {
  display: none;
  background: var(--secondary);
  color: var(--primary);
  border: none;
  border-radius: 10px;
  font-size: 2.1rem;
  width: 48px;
  height: 48px;
  position: absolute;
  right: 10px;
  top: 15px;
  z-index: 1004;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: background 0.18s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--primary);
  color: #fff;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: #fff;
  box-shadow: 0 0 32px rgba(38,70,83,0.10);
  transform: translateX(-100vw);
  transition: transform 0.36s cubic-bezier(0.79,0.21,0.17,0.74);
  z-index: 2001;
  display: flex;
  flex-direction: column;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--primary);
  font-size: 2.5rem;
  position: absolute;
  right: 21px;
  top: 23px;
  cursor: pointer;
  z-index: 2002;
  transition: color 0.16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--secondary);
}
.mobile-nav {
  margin-top: 90px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
  padding-left: 32px;
}
.mobile-nav a {
  font-family: var(--font-display);
  color: var(--primary);
  font-size: 1.33rem;
  font-weight: 600;
  padding: 16px 0;
  transition: color 0.16s;
  border-radius: 8px;
  min-width: 220px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--secondary);
  background: rgba(38,70,83,0.07);
}
@media (max-width: 992px) {
  .main-nav {
    gap: 8px;
    font-size: 1.02rem;
  }
  .main-nav img {
    margin-right: 12px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    flex-wrap: wrap;
    gap: 3px;
    font-size: 1.02rem;
    padding-left: 0;
    padding-right: 0;
  }
}
@media (max-width: 860px) {
  .main-nav a:not(:first-child) {
    display: none;
  }
  .main-nav .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* --- FOOTER --- */
footer {
  background: var(--primary);
  color: var(--text-light);
  padding: 48px 0 18px 0;
  margin-top: 60px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-bottom: 26px;
}
.footer-nav a {
  color: var(--secondary);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.07rem;
  transition: color 0.18s;
  opacity: 0.9;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #fff;
  text-decoration: underline;
}
.footer-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  font-size: 1rem;
}
.footer-info img {
  width: 48px;
  margin-bottom: 10px;
}

/* --- COOKIES BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  border-top: 4px solid var(--secondary);
  color: var(--text-main);
  z-index: 4000;
  box-shadow: 0 -4px 24px rgba(38,70,83,0.09);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 27px 17px;
  gap: 28px;
  font-size: 1.02rem;
  transition: transform 0.25s cubic-bezier(0.6,0.22,0.12,1.02), opacity 0.19s;
  opacity: 1;
  transform: translateY(0);
}
.cookie-banner.hidden {
  transform: translateY(200px);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-btn {
  background: var(--secondary);
  color: var(--primary);
  border: none;
  border-radius: 24px;
  padding: 11px 32px;
  margin-right: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 1px 7px rgba(233,196,106,0.08);
  transition: background 0.22s, color 0.22s, transform 0.14s;
}
.cookie-banner .cookie-btn.accept {
  background: var(--primary);
  color: #fff;
}
.cookie-banner .cookie-btn.reject {
  background: #fff;
  color: var(--danger);
  border: 2px solid var(--danger);
}
.cookie-banner .cookie-btn.settings {
  background: var(--secondary);
  color: var(--primary);
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  transform: translateY(-2px) scale(1.04);
}

/* --- COOKIES PREFERENCES MODAL --- */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(38,70,83,0.42);
  z-index: 4100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.19s;
}
.cookie-modal-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
  max-width: 430px;
  min-width: 270px;
  width: 90vw;
  padding: 38px 28px 29px 28px;
  display: flex;
  flex-direction: column;
  gap: 19px;
  position: relative;
  animation: fadeInUp 0.35s cubic-bezier(.28,.92,.6,1.24);
}
@keyframes fadeInUp {
  from {transform: translateY(42px); opacity: 0;}
  to   {transform: translateY(0); opacity: 1;}
}
.cookie-modal .modal-title {
  font-family: var(--font-display);
  font-size: 1.33rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 15px;
}
.cookie-modal .modal-close {
  background: none;
  border: none;
  color: var(--primary);
  font-size: 2.1rem;
  position: absolute;
  right: 22px; top: 15px;
  cursor: pointer;
  transition: color 0.13s;
}
.cookie-modal .modal-close:hover, .cookie-modal .modal-close:focus {
  color: var(--secondary);
}
.cookie-modal ul {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding-left: 0;
  margin-bottom: 15px;
}
.cookie-modal li {
  display: flex;
  align-items: center;
  gap: 15px;
}
.cookie-modal label {
  font-family: var(--font-body);
  font-size: 1.12rem;
  color: var(--primary);
  font-weight: 500;
  cursor: pointer;
}
.cookie-toggle {
  appearance: none;
  width: 40px;
  height: 22px;
  border-radius: 17px;
  background: #CEE7EF;
  position: relative;
  transition: background 0.19s;
  cursor: pointer;
  border: none;
  outline: none;
}
.cookie-toggle:checked {
  background: var(--secondary);
}
.cookie-toggle:before {
  content: '';
  display: block;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  left: 2px;
  top: 1.5px;
  box-shadow: 0 2px 6px rgba(38,70,83,0.07);
  transition: transform 0.19s;
}
.cookie-toggle:checked:before {
  transform: translateX(18px);
}
.cookie-modal .category-label {
  font-family: var(--font-body);
  color: var(--text-main);
  font-size: 1.09rem;
  font-weight: 600;
  margin-right: 7px;
}
.cookie-modal .always-on {
  color: var(--secondary);
  font-weight: 700;
  font-size: 0.98rem;
  padding-left: 9px;
}

.cookie-modal .modal-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 15px;
}
.cookie-modal .cookie-btn {
  background: var(--secondary);
  color: var(--primary);
  border: none;
  border-radius: 24px;
  padding: 11px 32px;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 1px 7px rgba(233,196,106,0.08);
  transition: background 0.22s, color 0.22s, transform 0.14s;
}
.cookie-modal .cookie-btn.accept {
  background: var(--primary);
  color: #fff;
}
.cookie-modal .cookie-btn.reject {
  background: #fff;
  color: var(--danger);
  border: 2px solid var(--danger);
}
.cookie-modal .cookie-btn:hover, .cookie-modal .cookie-btn:focus {
  transform: translateY(-2px) scale(1.04);
}

/* --- SPACING & VISUAL HIERARCHY --- */
.section:not(:last-child) {
  margin-bottom: 60px;
}
.text-section {
  margin-bottom: 15px;
}
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.45rem;
  }
  h3 {
    font-size: 1.18rem;
  }
  .section {
    padding: 28px 7px;
    margin-bottom: 34px;
  }
  .container {
    padding-left: 7px;
    padding-right: 7px;
  }
  .content-wrapper {
    gap: 13px;
  }
}

/* --- RESPONSIVE FLEX --- */
@media (max-width: 991px) {
  .testimonials {
    gap: 10px;
  }
}
@media (max-width: 768px) {
  .content-wrapper, .card-container, .content-grid, .feature-item, .text-section, .footer-info, .footer-nav,
  .text-image-section {
    flex-direction: column !important;
    align-items: stretch !important;
  }
  .container {
    max-width: 100vw;
  }
  .weekly-menu-table th, .weekly-menu-table td {
    font-size: 0.99rem;
    padding: 8px 7px;
  }
  .main-nav {
    gap: 2px;
    font-size: 0.95rem;
    padding: 8px 0;
  }
}

/* --- VISUAL EFFECTS --- */
.card, .testimonial-card, .weekly-menu-table, .cookie-modal {
  transition: box-shadow 0.17s, transform 0.19s;
}
.card:hover, .testimonial-card:hover, .weekly-menu-table:hover {
  box-shadow: 0 7px 34px rgba(233,196,106, 0.19);
  transform: translateY(-3px) scale(1.01);
}

/* --- SHAPES/ACCENTS --- */
.section {
  position: relative;
}
.section:before {
  /* Optional: geometric shape accent */
  content: '';
  display: block;
  position: absolute;
  bottom: -20px; left: 40px;
  width: 82px; height: 32px;
  background: var(--secondary);
  opacity: 0.11;
  border-radius: 11px 34px 7px 14px;
  z-index: 0;
}
.section:nth-child(even):before {
  left: unset;
  right: 40px;
  border-radius: 14px 7px 34px 11px;
}
@media (max-width: 540px) {
  .section:before {
    width: 38vw;
    left: 2vw; right: unset;
    bottom: -14px;
    height: 13vw;
  }
  .section:nth-child(even):before {
    left: unset; right: 2vw;
  }
}

/* --- EXPLICIT RESPONSIVE/FLEX RULES --- */
.card-container, .content-grid, .feature-item, .testimonial-card, .text-image-section {
  gap: 20px;
}
@media (max-width: 768px) {
  .card-container, .content-grid, .feature-item, .testimonial-card, .text-image-section {
    flex-direction: column !important;
    gap: 15px;
  }
}

/* --- GENERAL BUTTON --- */
button {
  font-family: var(--font-display);
  font-weight: 600;
  border-radius: 20px;
  border: none;
  cursor: pointer;
  outline: none;
}

/* --- TABLE VISIBILITY MOBILE --- */
@media (max-width: 600px) {
  .weekly-menu-table, .weekly-menu-table table {
    font-size: 0.91rem;
  }
  .weekly-menu-table th, .weekly-menu-table td {
    padding: 5px 3px;
  }
}

/* --- ACCESSIBILITY & FOCUS --- */
:focus-visible {
  outline: 2px solid var(--secondary);
}

/* --- PRINT FRIENDLY --- */
@media print {
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
}
