/* =============================================================
   RESET & NORMALIZE
   ============================================================= */
html { box-sizing: border-box; }
*,*::before,*::after { box-sizing: inherit; margin: 0; padding: 0; border: 0; }
html { height: 100%; }
body { min-height: 100vh; line-height: 1.5; -webkit-font-smoothing: antialiased; background: #F5F6FA; }
h1,h2,h3,h4,h5,h6 { font-weight: 700; line-height: 1.1; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; background: none; }
img { display: inline-block; max-width: 100%; height: auto; vertical-align: middle; }
button { background: none; border: none; cursor: pointer; font: inherit; }
:focus { outline: 2px dashed #D5B163; outline-offset: 2px; }

/* =============================================================
   BRAND FONTS & BASE
   ============================================================= */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Roboto:wght@400;500;700&display=swap');

:root {
  --primary: #19324A;
  --secondary: #D5B163;
  --accent: #F5F6FA;
  --text: #1A232B;
  --text-light: #F5F6FA;
  --card-bg: #fff;
  --shadow: 0 4px 24px 0 rgba(25,50,74,0.08);
  --border-radius: 18px;
  --container-max: 1200px;
  --transition: 0.22s cubic-bezier(.6,.3,.4,1);
}

body {
  background: var(--accent);
  color: var(--text);
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
}

h1, .display {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.7rem;
  letter-spacing: -1px;
  color: var(--primary);
  margin-bottom: 20px;
  text-transform: uppercase;
}

h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2rem;
  color: var(--primary);
  letter-spacing: -0.5px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  color: var(--primary);
  letter-spacing: 0;
  margin-bottom: 10px;
  text-transform: none;
}

h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
}

p, li {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 12px;
}

strong { font-weight: 700; }

.subheadline {
  font-size: 1.2rem;
  color: var(--primary);
  font-family: 'Roboto', Arial, sans-serif;
  margin-bottom: 24px;
  letter-spacing: 0.05em;
}

/* =============================================================
   CONTAINER & LAYOUT
   ============================================================= */
.container {
  width: 100%;
  margin: 0 auto;
  max-width: var(--container-max);
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
  /* geometric_structured: keep left/right edges precise */
}

main {
  margin-top: 0;
  margin-bottom: 0;
}

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

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

/* geometric_structured: boxy angles for cards/sections */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  padding: 24px 28px;
  background: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  border: 2.5px solid var(--accent);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover {
  box-shadow: 0 6px 28px 0 rgba(25,50,74,0.12);
  transform: translateY(-4px) scale(1.02);
  border-color: var(--secondary);
}

.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-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow);
  min-width: 270px;
  max-width: 370px;
  font-size: 1.08rem;
  margin-bottom: 20px;
  border-left: 5px solid var(--secondary);
  transition: box-shadow var(--transition), border-color var(--transition);
}
.testimonial-card .user-name {
  font-size: 0.96rem;
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  margin-top: 5px;
}
.star-rating {
  color: var(--secondary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  letter-spacing: 2px;
}
.testimonial-card:hover {
  box-shadow: 0 6px 32px 0 rgba(21,42,76,0.14);
  border-left-color: var(--primary);
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
}
.feature-grid > div {
  flex: 1 1 210px;
  min-width: 210px;
  max-width: 290px;
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 28px 24px 20px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow var(--transition), border-color var(--transition);
  border-bottom: 6px solid var(--secondary);
}
.feature-grid > div img {
  width: 44px; height: 44px; margin-bottom: 10px;
}
.feature-grid > div:hover {
  box-shadow: 0 10px 36px 0 rgba(21,42,81,0.16);
  border-bottom-color: var(--primary);
  z-index: 1;
}

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

.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.section ul > li, .content-wrapper ul > li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}
.section ul > li img, .content-wrapper ul > li img {
  width: 28px; height: 28px; flex-shrink: 0; align-self: flex-start;
  margin-top: 3px;
}
.section ul > li strong {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
  font-weight: 700;
}

/* ======================
   HEADER / NAVBAR
   ====================== */
header {
  background: #fff;
  border-bottom: 3px solid var(--accent);
  box-shadow: 0 2px 16px 0 rgba(25,50,74,0.03);
}
header .container {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  position: relative;
  padding-top: 8px;
  padding-bottom: 8px;
}
.logo img {
  width: 48px; height: 48px;
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-left: 24px;
}
.main-nav a {
  font-weight: 700; font-size: 1.06rem;
  color: var(--primary);
  padding: 7px 10px;
  border-radius: 10px;
  transition: background var(--transition), color var(--transition);
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--accent);
  color: var(--secondary);
}

.button.primary {
  background: var(--primary);
  color: var(--text-light);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 900;
  padding: 13px 28px;
  border-radius: 14px;
  margin-left: 30px;
  box-shadow: 0 2px 16px 0 rgba(21,50,74,0.07);
  letter-spacing: 0.08em;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  border: 2.5px solid var(--primary);
  text-transform: uppercase;
}
.button.primary:hover, .button.primary:focus {
  background: var(--secondary);
  color: var(--primary);
  border-color: var(--secondary);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 20px 0 rgba(21,50,74,0.13);
}

.button.secondary {
  background: none;
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  padding: 11px 24px;
  border-radius: 11px;
  border: 2px solid var(--secondary);
  letter-spacing: 0.04em;
  transition: border-color var(--transition), color var(--transition), background var(--transition), transform var(--transition);
}
.button.secondary:hover, .button.secondary:focus {
  background: var(--secondary);
  color: var(--primary);
  border-color: var(--primary);
  transform: translateY(-1px) scale(1.02);
}

/* ======================
   BURGER MOBILE NAV
   ====================== */
.mobile-menu-toggle {
  display: none;
  margin-left: auto;
  background: var(--primary);
  color: var(--accent);
  font-size: 2.2rem;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), color var(--transition), transform var(--transition);
  z-index: 90;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: var(--secondary);
  color: var(--primary);
  outline: none;
  transform: scale(1.05);
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 8px 64px 4px rgba(25,50,74,0.13);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-100vw);
  transition: transform 0.32s cubic-bezier(.77,0,.175,1);
  z-index: 200;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-close {
  margin: 18px 0 0 20px;
  font-size: 2.0rem;
  color: var(--primary);
  background: none;
  border: none;
  align-self: flex-start;
  transition: color var(--transition), transform var(--transition);
  border-radius: 9px;
  width: 42px;
  height: 42px;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: var(--secondary);
  background: var(--accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 38px 40px;
  align-items: flex-start;
  margin-top: 24px;
  width: 100%;
  height: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.22rem;
  color: var(--primary);
  padding: 12px 0;
  border-radius: 8px;
  font-weight: 800;
  transition: background var(--transition), color var(--transition);
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--accent);
  color: var(--secondary);
}

/* ======================
   FOOTER
   ====================== */
footer {
  background: #fff;
  border-top: 3px solid var(--accent);
  margin-top: 60px;
  padding-top: 24px;
  padding-bottom: 24px;
}
.footer-navigation {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
  justify-content: flex-start;
}
.footer-navigation a {
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.01rem;
  font-weight: 600;
  padding: 7px 7px;
  border-radius: 7px;
  transition: background var(--transition), color var(--transition);
}
.footer-navigation a:hover, .footer-navigation a:focus {
  color: var(--secondary);
  background: var(--accent);
}
.footer-info {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-info > div {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.01rem;
  font-family: 'Roboto', Arial, sans-serif;
}
.footer-info .address img,
.footer-info .contact-links img,
.footer-info .opening-hours img {
  width: 20px; height: 20px;
}
.footer-info .contact-links a {
  color: var(--primary);
  margin-left: 3px;
  margin-right: 14px;
}

/* =============================================================
   GEOMETRIC STRUCTURED DECORATIVE ELEMENTS
   ============================================================= */
section {
  border-radius: var(--border-radius);
  margin-bottom: 60px;
  padding: 40px 0;
}
section:nth-of-type(even) {
  background: #fff;
  box-shadow: 0 1px 24px 0 rgba(25,50,74,0.05);
}
section:nth-of-type(odd) {
  background: var(--accent);
}

/* Horizontal separators for extra geometric feel */
.content-wrapper > h2:not(:first-child) {
  border-top: 3px solid var(--secondary);
  padding-top: 28px;
  margin-top: 18px;
}

/* ======================
   FORM ELEMENTS
   ===================== */
input, select, textarea {
  border: 2px solid var(--accent);
  border-radius: 10px;
  padding: 12px 15px;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 18px;
  background: #fff;
  color: var(--primary);
  transition: border var(--transition), box-shadow var(--transition);
}
input:focus, select:focus, textarea:focus {
  border-color: var(--secondary);
  box-shadow: 0 2px 10px 0 rgba(213,177,99,0.10);
}
label { font-weight: 500; margin-bottom: 6px; }

/* ======================
   COOKIE CONSENT BANNER
   ===================== */
.cookie-banner {
  position: fixed;
  left: 0; bottom: 0;
  width: 100vw;
  background: #fff;
  border-top: 4px solid var(--secondary);
  box-shadow: 0 -4px 40px 0 rgba(25,50,74,0.09);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 18px;
  z-index: 9999;
  transition: transform 0.33s cubic-bezier(.77,0,.175,1);
}
.cookie-banner.hide { transform: translateY(150%); pointer-events: none; opacity: 0; }
.cookie-banner .cookie-text {
  color: var(--primary);
  font-size: 1.03rem;
  max-width: 70vw;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 12px;
}
.cookie-banner .button {
  font-size: 1.01rem;
  padding: 9px 18px;
  border-radius: 10px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.cookie-banner .button.accept {
  background: var(--primary);
  color: var(--text-light);
  border: 2px solid var(--primary);
}
.cookie-banner .button.accept:hover,
.cookie-banner .button.accept:focus {
  background: var(--secondary);
  color: var(--primary);
  border-color: var(--secondary);
}
.cookie-banner .button.reject {
  background: none;
  color: var(--primary);
  border: 2px solid var(--secondary);
}
.cookie-banner .button.reject:hover,
.cookie-banner .button.reject:focus {
  background: var(--secondary);
  color: var(--primary);
  border-color: var(--primary);
}
.cookie-banner .button.settings {
  background: none;
  color: var(--secondary);
  border: 2px solid var(--secondary);
}
.cookie-banner .button.settings:hover,
.cookie-banner .button.settings:focus {
  background: var(--secondary);
  color: var(--primary);
  border-color: var(--primary);
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(25,50,74,0.52);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10001;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.22s;
}
.cookie-modal.open {
  visibility: visible;
  opacity: 1;
}
.cookie-modal-content {
  background: #fff;
  border-radius: 22px;
  padding: 36px 32px;
  min-width: 314px;
  max-width: 95vw;
  box-shadow: 0 8px 40px 0 rgba(25,50,74,0.19);
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}
.cookie-modal-content h3 {
  font-size: 1.4rem;
  color: var(--primary);
  margin-bottom: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.cookie-modal-close {
  position: absolute;
  top: 22px;
  right: 32px;
  font-size: 1.2rem;
  background: none;
  color: var(--primary);
  border: none;
  cursor: pointer;
  border-radius: 8px;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: var(--secondary);
  background: var(--accent);
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 1.04rem;
}
.cookie-category input[type='checkbox'] {
  accent-color: var(--secondary);
  width: 18px;
  height: 18px;
  margin-right: 0;
  cursor: pointer;
}
.cookie-category.essential input[type='checkbox'] { cursor: not-allowed; }

.cookie-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  margin-top: 10px;
}

/* ========================
   MICRO-INTERACTION EFFECTS
   ======================== */
a, button, .card, .feature-grid > div, .testimonial-card {
  transition: box-shadow var(--transition), background var(--transition), transform var(--transition), border-color var(--transition), color var(--transition);
}

/* =======================
   RESPONSIVE - MOBILE FIRST
   ======================= */
@media (max-width: 1024px) {
  .container {max-width: 900px;}
  .main-nav {gap:18px;}
  .footer-navigation {gap:16px;}
}
@media (max-width: 820px) {
  .container {max-width: 98vw;}
  .main-nav {gap:12px;}
  section {padding-left: 0; padding-right: 0;}
  .feature-grid {gap:20px;}
}
@media (max-width: 900px) {
  .feature-grid {
    flex-wrap: wrap;
    gap: 20px;
  }
  .feature-grid > div {
    min-width: 180px;
    max-width: 49%;
    flex: 1 1 49%;
  }
  .testimonial-list {
    gap: 14px;
  }
  .testimonial-card {
    min-width: 180px; max-width: 350px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.3rem; }
  .container {padding-left: 10px; padding-right: 10px;}
  .main-nav { display: none; }
  .button.primary { margin-left: 10px; padding:10px 16px;font-size:1rem; }
  .mobile-menu-toggle { display: flex; }
  header .container { flex-wrap: wrap; padding-top: 4px; padding-bottom: 4px; }
  .content-wrapper {gap:15px;}
  .section {padding:28px 0 28px 0;margin-bottom:36px;}
  .feature-grid {
    flex-direction: column;
    gap: 18px;
  }
  .feature-grid > div, .testimonial-card { max-width:100%; min-width:0; }
  .testimonial-list { gap:12px; }
  .footer-navigation, .footer-info { gap:12px; }
  .footer-info { flex-direction: column; gap:8px; }
}
@media (max-width: 550px) {
  h1 { font-size: 1.12rem; }
  h2 { font-size: 1rem; }
  .feature-grid > div,
  .testimonial-card { padding:14px 8px; }
  .section {padding: 15px 0 16px 0;}
  .cookie-banner { flex-direction: column; align-items: flex-start; gap:9px; padding:16px 7px; }
  .cookie-banner .cookie-text { font-size: 0.94rem; max-width: 100vw; }
  .cookie-banner .cookie-actions { gap:8px; }
  .cookie-modal-content {min-width:100px; padding:17px 10px;}
}

/* ============================
   SPECIAL CASES & EDGE HANDLING
   ============================ */
.content-wrapper > h1, .content-wrapper > h2 {
  align-self: flex-start;
}
.text-section > div {
  margin-bottom: 6px;
}
.text-section strong {
  color: var(--primary);
  font-weight: 700;
}

/* Prevent content overlapping, enforce spacing */
section, .feature-grid > div, .testimonial-card, .card {
  margin-bottom: 20px;
}
section:last-child, .card:last-child, .testimonial-card:last-child {
  margin-bottom: 0;
}

/* ====================
   PRINT SAFETY (No Overlap)
   ==================== */
@media print {
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
  * { background: #fff !important; color: #000 !important; }
}
