/* --------------------------------------------------
   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: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  background: #F8F8F7;
  color: #203141;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
}
a {
  color: #203141;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #9c832e;
  outline: none;
}
ul, ol {
  margin-left: 1.5em;
  margin-bottom: 1em;
}
li {
  margin-bottom: 0.5em;
}
table {
  border-collapse: collapse;
  width: 100%;
  background: #fff;
  margin-bottom: 2em;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 6px rgba(32,49,65,0.07);
}
th, td {
  padding: 14px 18px;
  text-align: left;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
}
th {
  background: #ecedea;
  color: #203141;
  font-weight: 700;
}
td {
  border-bottom: 1px solid #f2f2ef;
}
ltr:last-child td { border-bottom: none; }

/* --------------------------------------------------
   Typography - Elegant Classic
-------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', Georgia, 'Times New Roman', Times, serif;
  letter-spacing: 0.01em;
  font-weight: 700;
  color: #203141;
  margin-bottom: 0.5em;
  line-height: 1.2;
}
h1 { font-size: 2.5rem; margin-bottom: 0.35em; }
h2 { font-size: 2rem; margin-bottom: 0.4em; }
h3 { font-size: 1.35rem; margin-bottom: 0.3em; }
h4 { font-size: 1.2rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.95rem; }
.subheadline {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1.2rem;
  color: #4c5e6f;
  font-weight: 400;
  margin-bottom: 2em;
  letter-spacing: 0.01em;
}
strong {
  font-weight: 700;
  color: #203141;
}

/* Visual separators */
hr {
  border: 0;
  border-top: 1px solid #ece5d3;
  margin: 40px 0;
}

/* Lists */
dt {
  font-weight: 700;
  font-family: 'Merriweather', Georgia, serif;
  margin-top: 1em;
}
dd { margin-bottom: 0.75em; }

/* --------------------------------------------------
   Layout Containers & Spacing (Flexbox only)
-------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 14px rgba(32,49,65,0.06);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.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;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 14px rgba(32,49,65,0.07);
  margin-bottom: 20px;
  min-width: 260px;
  max-width: 440px;
  color: #203141;
}
.testimonial-meta {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1em;
  color: #866d36;
  margin-left: 16px;
  font-style: italic;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(32,49,65,0.05);
  padding: 28px 20px;
  min-width: 220px;
  max-width: 320px;
}
.feature-item img {
  width: 34px;
  height: 34px;
}

/* Home/Features grid */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 28px;
}
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.service-card {
  flex: 1 1 220px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 14px rgba(32,49,65,0.09);
  padding: 28px 22px;
  margin-bottom: 20px;
  min-width: 220px;
  max-width: 340px;
}

/* ---------------------------------
   Header & Navigation
--------------------------------- */
header {
  background: #fff;
  box-shadow: 0 3px 19px rgba(32,49,65,0.045);
  border-bottom: 2px solid #ede6d3;
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
  gap: 14px;
}
.logo img {
  height: 48px;
  width: auto;
  vertical-align: middle;
}
.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
.main-nav > a {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 1.02rem;
  color: #203141;
  padding: 7px 13px;
  border-radius: 7px;
  transition: background 0.15s, color 0.15s;
  position: relative;
}
.main-nav > a:hover, .main-nav > a:focus {
  background: #ede6d3;
  color: #866d36;
}
.cta-btn.primary {
  background: #D7B87A;
  color: #203141;
  font-family: 'Merriweather', Georgia, serif;
  font-weight: 700;
  font-size: 1.06rem;
  padding: 11px 28px;
  border-radius: 7px;
  border: none;
  transition: background 0.18s, box-shadow 0.18s, color 0.2s;
  box-shadow: 0 2px 12px rgba(215,184,122,0.08);
  margin-left: 16px;
  letter-spacing: 0.03em;
  cursor: pointer;
}
.cta-btn.primary:hover, .cta-btn.primary:focus {
  background: #b99e5f;
  color: #fff;
  box-shadow: 0 6px 24px rgba(215,184,122,0.13);
}
.cta-btn {
  background: #fff;
  color: #203141;
  font-family: 'Merriweather', Georgia, serif;
  border: 1px solid #D7B87A;
  font-size: 1.02rem;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 7px;
  margin-top: 14px;
  transition: background 0.16s, color 0.16s, box-shadow 0.13s;
  box-shadow: 0 1px 3px rgba(215,184,122,0.06);
  cursor: pointer;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background: #D7B87A;
  color: #fff;
  border-color: #b99e5f;
  box-shadow: 0 3px 14px rgba(32,49,65,0.06);
}

/* Mobile menu hamburger button */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  line-height: 1;
  color: #203141;
  cursor: pointer;
  z-index: 201;
  padding: 8px 12px;
  transition: color 0.16s, background 0.2s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  color: #8e7841;
  background: #ede6d3;
  border-radius: 7px;
}

/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(32,49,65,0.97);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: 28px;
  padding-left: 16px;
  transform: translateX(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.31s cubic-bezier(.68,-0.55,.27,1.55), opacity 0.2s;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.1rem;
  font-weight: bold;
  position: absolute;
  top: 18px;
  right: 24px;
  z-index: 2020;
  cursor: pointer;
  padding: 8px;
  transition: background 0.16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #D7B87A;
  color: #203141;
  border-radius: 50%;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 38px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 1.25rem;
  color: #fff;
  padding: 14px 8px 14px 0;
  border-radius: 0 22px 22px 0;
  transition: background 0.16s, color 0.16s;
  display: block;
  min-width: 175px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #D7B87A;
  color: #203141;
}

/* Hide nav for mobile */
@media (max-width: 1023px) {
  .main-nav, .cta-btn.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 1024px) {
  .mobile-menu {
    display: none !important;
  }
}

/* --------------------------------------------------
   Hero Section Styles
-------------------------------------------------- */
.hero {
  background: linear-gradient(92deg, #ede6d3 0%, #f8f8f7 100%);
  padding-bottom: 54px;
  padding-top: 45px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 25px;
}
.hero h1 {
  font-size: 2.7rem;
  color: #203141;
}
.hero .cta-btn {
  margin-top: 18px;
}

/* --------------------------------------------------
   Testimonials
-------------------------------------------------- */
.testimonials {
  background: #f8f8f7;
  padding-top: 36px;
  padding-bottom: 36px;
}
.testimonials .testimonials-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}

/* --------------------------------------------------
   Contact Info Patterns
-------------------------------------------------- */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 28px;
}
.contact-info ul {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-info li {
  display: flex;
  flex-direction: row;
  align-items: center;
  font-size: 1.06rem;
  gap: 12px;
  color: #203141;
  font-family: 'Open Sans', Arial, sans-serif;
}
.contact-info img {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.map-info, .opening-hours {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  color: #203141;
  font-size: 1rem;
}
.privacy-notice {
  padding: 12px 18px;
  background: #ede6d3;
  border-radius: 8px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  color: #203141;
  font-size: 0.99rem;
}
.privacy-notice img {
  width: 20px;
  height: 20px;
}

/* FAQ section */
.faq dl {
  margin: 0 0 2em 0;
}

/* --------------------------------------------------
   Footer
-------------------------------------------------- */
footer {
  background: #203141;
  color: #fff;
  padding-top: 36px;
  padding-bottom: 24px;
  font-size: 1rem;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 12px;
}
.footer-nav a {
  color: #D7B87A;
  font-family: 'Merriweather', Georgia, serif;
  font-size: 1.08rem;
  letter-spacing: 0.01em;
  transition: color 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus { color: #fff; text-decoration: underline; }
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer-brand img {
  height: 38px;
  width: auto;
}

/* --------------------------------------------------
   Pricing Table
-------------------------------------------------- */
.pricing .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.pricing table {
  margin-top: 18px;
  margin-bottom: 20px;
}
.pricing th, .pricing td {
  font-size: 1rem;
  padding: 12px 14px;
}
.pricing tr:nth-child(even) td {
  background: #f4f4ef;
}

/* --------------------------------------------------
   Cookie Banner & Modal
-------------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 2050;
  background: #203141;
  color: #fff;
  padding: 20px 24px;
  box-shadow: 0 -2px 16px rgba(32,49,65,0.09);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  font-size: 1rem;
  width: 100vw;
}
.cookie-banner p {
  margin-bottom: 0;
  color: #fff;
}
.cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.cookie-btn {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 7px;
  border: none;
  padding: 8px 22px;
  margin: 0;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, box-shadow 0.14s;
  box-shadow: 0 1px 4px rgba(32,49,65,0.12);
}
.cookie-btn.accept {
  background: #D7B87A;
  color: #203141;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #b99e5f;
  color: #fff;
}
.cookie-btn.reject {
  background: transparent;
  color: #fff;
  border: 1px solid #D7B87A;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #ede6d3;
  color: #203141;
}
.cookie-btn.settings {
  background: #203141;
  color: #D7B87A;
  border: 1px solid #D7B87A;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #D7B87A;
  color: #203141;
}
.cookie-modal-overlay {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(32,49,65,0.38);
  z-index: 2060;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.32s;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 6px 48px rgba(32,49,65,0.21);
  padding: 36px 30px 30px 30px;
  max-width: 440px;
  min-width: 290px;
  color: #203141;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  position: relative;
  z-index: 2070;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: modal-in 0.38s cubic-bezier(.7,-0.22,.32,1.3);
}
@keyframes modal-in {
  from { transform: translateY(-56px) scale(0.97); opacity: 0; }
  to { transform: none; opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.42rem;
  margin-bottom: 10px;
  color: #203141;
  font-family: 'Merriweather', Georgia, serif;
}
.cookie-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 0;
  border-bottom: 1px solid #e2e2e2;
  font-size: 1.03rem;
}
.cookie-toggle-row:last-child { border-bottom: 0; }
.cookie-toggle-switch {
  position: relative;
  width: 51px;
  height: 28px;
  display: inline-block;
}
.cookie-toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-slider {
  position: absolute;
  top: 0; left: 0;
  right: 0; bottom: 0;
  background: #ede6d3;
  border-radius: 25px;
  transition: background 0.18s;
}
.cookie-toggle-switch input:checked + .cookie-slider {
  background: #D7B87A;
}
.cookie-slider:before {
  content: '';
  position: absolute;
  left: 3px;
  top: 3px;
  width: 22px;
  height: 22px;
  background: #fff;
  box-shadow: 0 1px 5px rgba(32,49,65,0.08);
  border-radius: 50%;
  transition: transform 0.18s cubic-bezier(.45,.23,.38,1.35);
}
.cookie-toggle-switch input:checked + .cookie-slider:before {
  transform: translateX(23px);
}
.cookie-modal .cookie-btn {
  margin-top: 12px;
}
.cookie-modal .close-cookie-modal {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  color: #203141;
  font-size: 1.7rem;
  font-weight: 700;
  cursor: pointer;
  transition: color 0.15s, background 0.16s;
}
.cookie-modal .close-cookie-modal:hover, .cookie-modal .close-cookie-modal:focus {
  color: #b99e5f;
  background: #faf7ed;
  border-radius: 50%;
}

/* --------------------------------------------------
   Microinteractions, Transitions, Effects
-------------------------------------------------- */
button, .cta-btn, .cookie-btn {
  outline: none;
}
button:focus, .cta-btn:focus, .cookie-btn:focus {
  box-shadow: 0 0 0 2px #D7B87A;
}
.card, .service-card, .feature-item, .testimonial-card {
  transition: box-shadow 0.16s, transform 0.14s;
}
.card:hover, .feature-item:hover, .service-card:hover, .testimonial-card:hover {
  box-shadow: 0 6px 32px rgba(32,49,65,0.11);
  transform: translateY(-3px) scale(1.02);
}

a.cta-btn, button.cta-btn, .cta-btn {
  cursor: pointer;
}

/* --------------------------------------------------
   Responsive Media Queries
-------------------------------------------------- */
/* Flex direction change for mobile */
@media (max-width: 900px) {
  .feature-grid, .service-list, .testimonials-slider, .content-grid {
    flex-direction: column;
    align-items: stretch;
  }
  .feature-item, .service-card, .card, .testimonial-card {
    max-width: 100%;
  }
  .main-nav {
    gap: 12px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.16rem; }
  .section { padding: 24px 10px; margin-bottom: 36px; }
  .container { padding: 0 7px; }
  .hero { padding: 28px 0 28px 0; }
  .main-nav > a { font-size: 0.98rem; padding: 5px 8px; }
  .hero .container { gap: 17px; }
  .features .feature-grid { gap: 14px; }
  .service-card, .feature-item, .testimonial-card, .card {
    padding: 18px 10px;
    font-size: 0.98rem;
  }
  .testimonials-slider {
    flex-direction: column;
    gap: 12px;
  }
  .cta-btn, .cta-btn.primary, .cookie-btn { font-size: 0.99rem; padding: 8px 13px; }
  .footer-nav { gap: 18px; }
  .footer-brand { flex-direction: column; align-items: flex-start; gap: 7px; }
  .text-image-section {
    flex-direction: column !important;
    gap: 13px;
  }
  .card-container, .content-grid { gap: 10px; }
}

@media (max-width: 500px) {
  .hero h1 { font-size: 1.3rem; }
  .cookie-modal { max-width: 98vw; }
}

/* --------------------------------------------------
   Miscellaneous
-------------------------------------------------- */
.text-section {
  background: #fff;
  border-radius: 11px;
  box-shadow: 0 2px 12px rgba(215,184,122,0.09);
  padding: 28px 21px;
  margin-bottom: 18px;
}
.confirmation {
  background: #ede6d3;
  border-radius: 13px;
  box-shadow: 0 2px 12px rgba(215,184,122,0.10);
  margin-top: 30px;
  margin-bottom: 32px;
  padding-top: 26px;
  padding-bottom: 16px;
}

/* Terms/robots/cookies pages text-section styling */
.terms .text-section, .cookies-policy .text-section {
  background: #fff;
  padding: 28px 20px;
  border-radius: 11px;
  box-shadow: 0 3px 14px rgba(32,49,65,0.05);
}
/* Special spacing for faq */
.faq .content-wrapper {
  gap: 18px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 9px rgba(32,49,65,0.07);
  padding: 24px 17px;
}

/* Utility classes for margin/gap */
.mt-0 { margin-top: 0 !important; }
.mt-2 { margin-top: 2px !important; }
.mb-0 { margin-bottom: 0 !important; }
.pb-0 { padding-bottom: 0 !important; }

/* --------------------------------------------------
   Hide scroll on open mobile menu & modal
-------------------------------------------------- */
body.menu-open, body.cookie-modal-open {
  overflow: hidden;
}

/* --------------------------------------------------
   Print Styles - Remove box & shadow backgrounds
-------------------------------------------------- */
@media print {
  body { background: #fff; color: #000; }
  .hero, .section, .text-section, .card, .service-card, .feature-item, .testimonial-card,
  footer, header, .cookie-banner, .cookie-modal-overlay { background: #fff !important; box-shadow: none !important; }
  nav, .cta-btn, .mobile-menu, .mobile-menu-toggle, .mobile-menu-close, .footer-brand img { display: none !important; }
}
