/* 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 {
  scroll-behavior: smooth;
  background: #F4F2ED;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  color: #234158;
  background: linear-gradient(135deg, #F4F2ED 45%, #dde6ef 100%);
  -webkit-font-smoothing: antialiased;
  line-height: 1.65;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  list-style: none;
}
a {
  color: #234158;
  text-decoration: none;
  transition: color .2s;
}
a:hover, a:focus {
  color: #93816B;
}
button, input, textarea, select {
  font-family: inherit;
  font-size: 100%;
  outline: none;
  background: none;
  border: none;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', serif;
  font-weight: 700;
  color: #234158;
  margin-bottom: 16px;
  line-height: 1.2;
}
h1 { font-size: 2.4rem; margin-bottom: 20px; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.3rem; margin-bottom: 12px; }
h4 { font-size: 1.125rem; margin-bottom: 9px; }
@media (max-width: 768px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.3rem; }
  h3 { font-size: 1.125rem; }
}
p, li, span, a, strong {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #234158;
}
strong { font-weight: 600; }

/* LAYOUT: CONTAINER & SECTION */
.container {
  width: 100%;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
  position: relative;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  max-width: 700px;
}

/* FLEXBOX LAYOUT PATTERNS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card {
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(35,65,88,0.11);
  background: #fff;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow .3s, transform .2s;
  padding: 32px 24px;
}
.card:hover,
.card:focus {
  box-shadow: 0 6px 24px rgba(35,65,88,0.16);
  transform: translateY(-5px) scale(1.01);
}
.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) {
  .content-grid,
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 20px;
}
.feature-grid li {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(35,65,88,0.07);
  flex: 1 1 230px;
  min-width: 210px;
  max-width: 263px;
  padding: 24px 20px 24px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  transition: box-shadow .25s, transform .18s;
}
.feature-grid li:hover {
  box-shadow: 0 5px 18px rgba(35,65,88,0.14);
  transform: translateY(-3px) scale(1.01);
}
.feature-grid img {
  width: 38px; height: 38px; margin-bottom: 8px;
}

.material-highlights, .trend-elements {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 2px 9px rgba(35,65,88,.07);
  padding: 22px 16px;
  margin-top: 16px;
  margin-bottom: 18px;
}
.material-highlights h3,
.trend-elements h3 {
  font-size: 1.08rem;
  margin-bottom: 12px;
  color: #93816B;
}
.material-highlights ul, .trend-elements ul {
  margin-left: 16px;
  list-style: disc inside;
  color: #234158;
}

.benefits-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 8px;
}
.benefits-grid > div {
  background: #F7F6F2;
  border-radius: 8px;
  padding: 14px 18px;
  font-size: 1rem;
  color: #234158;
  font-weight: 500;
  flex: 1 1 210px; min-width: 160px;
}

.contact-snippet {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(35,65,88,0.08);
  padding: 24px 16px;
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-snippet p {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 1rem;
}
.contact-snippet img {
  width: 20px; height: 20px; margin-right: 4px;
}

.contact-form-info {
  background: #F7F6F2;
  border-radius: 10px;
  padding: 18px 14px;
  font-size: .98rem;
  color: #234158;
}

/* TESTIMONIALS */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 14px;
  margin-bottom: 24px;
  box-shadow: 0 2px 10px rgba(35,65,88,0.10);
  border-left: 6px solid #93816B;
  font-size: 1.08rem;
  color: #234158;
  max-width: 630px;
}
.testimonial-card p {
  color: #234158;
  font-size: 1.1rem;
  letter-spacing: 0.01em;
}
.testimonial-card div {
  margin-top: 4px;
  color: #93816B;
  font-style: italic;
  font-size: 1rem;
  font-family: 'Merriweather', serif;
}

/* BUTTONS & CTAS */
.cta {
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  padding: 13px 28px;
  font-family: 'Merriweather', serif;
  font-size: 1.08rem;
  font-weight: 700;
  cursor: pointer;
  margin-top: 18px;
  transition: background .25s, color .19s, box-shadow .19s, transform .18s;
  box-shadow: 0 2px 8px rgba(35,65,88,0.08);
  border: 0;
}
.cta.primary {
  background: linear-gradient(90deg, #234158 50%, #4e6788 100%);
  color: #fff;
}
.cta.primary:hover, .cta.primary:focus {
  background: linear-gradient(90deg, #93816B 25%, #234158 100%);
  color: #fff;
  transform: translateY(-2px) scale(1.03);
}
.cta.secondary {
  background: #fff;
  color: #234158;
  border: 2px solid #93816B;
}
.cta.secondary:hover, .cta.secondary:focus {
  background: #93816B;
  color: #fff;
  border-color: #234158;
}
button.cta, a.cta {
  text-decoration: none;
  border: none;
}

/* NAVIGATION */
header {
  width: 100%;
  background: linear-gradient(90deg, #234158 50%, #4e6788 100%);
  padding: 0;
  position: relative;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  justify-content: flex-start;
  padding: 18px 22px;
  max-width: 1200px;
  margin: 0 auto;
}
.main-nav img {
  height: 38px;
  margin-right: 22px;
}
.main-nav a {
  color: #fff;
  font-family: 'Merriweather', serif;
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 6px 0 4px 0;
  position: relative;
  transition: color .18s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #93816B;
}
@media (max-width: 900px) {
  .main-nav { gap: 18px; padding: 14px 8px; }
  .main-nav img { margin-right: 12px; height: 32px; }
}

/* HAMBURGER - MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  background: #93816B;
  color: #fff;
  font-size: 2.1rem;
  border-radius: 8px;
  width: 48px;
  height: 48px;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 14px;
  right: 18px;
  z-index: 601;
  border: none;
  transition: background .2s;
  box-shadow: 0 2px 8px rgba(35,65,88, 0.14);
  cursor: pointer;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #234158;
  color: #fff;
}
@media (max-width: 1000px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #234158;
  color: #fff;
  z-index: 900;
  transform: translateX(-100%);
  transition: transform .48s cubic-bezier(.77,0,.175,1);
  padding-top: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  color: #fff;
  background: #93816B;
  font-size: 2.0rem;
  border-radius: 12px;
  align-self: flex-end;
  margin: 22px 28px 12px 0;
  border: none;
  padding: 0 16px;
  height: 40px; width: 40px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(35,65,88,0.10);
  transition: background .19s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #234158;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 90vw;
  padding: 32px 28px 0 32px;
  font-size: 1.2rem;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Merriweather', serif;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 8px;
  padding: 11px 12px;
  margin-left: -8px;
  transition: background .19s, color .13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #93816B;
  color: #fff;
}
@media (min-width: 1001px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* SECTION SPACING AND ALIGNMENT */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 768px) {
  section {
    margin-bottom: 32px;
    padding: 26px 6px;
  }
}

/* LISTS & TEXT DETAILS */
ul, ol {
  margin-left: 1.1em;
  margin-bottom: 14px;
}
ul li, ol li {
  margin-bottom: 10px;
}
ul li span, ol li span {
  color: #93816B;
  font-size: 0.98em;
  margin-left: 8px;
}

/* FOOTER */
footer {
  background: linear-gradient(135deg, #F4F2ED 75%, #dde6ef 100%);
  border-top: 1.5px solid #e2e7ef;
  box-shadow: 0 -2px 12px #E5E7EB33;
  padding: 34px 0 12px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.footer-nav {
  display: flex;
  gap: 22px;
  margin-bottom: 7px;
}
.footer-nav a {
  color: #234158;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  opacity: .83;
  transition: color .16s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #93816B;
}
.branding {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Merriweather', serif;
  font-size: 1.08rem;
  color: #93816B;
  margin-bottom: 7px;
}
.branding img {
  width: 32px; height: auto;
  margin-right: 4px;
}
.footer-social {
  display: flex;
  gap: 18px;
  margin-bottom: 6px;
}
.footer-social img {
  width: 28px; height: 28px; filter: none;
  transition: filter .15s, opacity .2s;
}
.footer-social a:hover img,
.footer-social a:focus img {
  filter: brightness(1.2) saturate(1.5);
  opacity: .86;
}
.footer-legal {
  font-size: .93rem;
  color: #93816B;
  opacity: .78;
  margin-bottom: 0;
}
@media (max-width: 600px) {
  footer { padding: 24px 0 8px 0; gap: 12px; }
  .footer-nav { gap: 12px; font-size: .92em; flex-wrap: wrap; }
}

/* COOKIE CONSENT BANNER & MODAL */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100vw;
  background: #fff;
  color: #234158;
  z-index: 9999;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding: 22px 34px 22px 18px;
  box-shadow: 0 -6px 24px rgba(35,65,88,0.08);
  border-top: 2.5px solid #93816B;
  font-size: 1rem;
  transition: transform .48s, opacity .35s;
}
.cookie-banner.hide {
  transform: translateY(150%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-text {
  flex: 1 1 360px;
  color: #234158;
  font-size: 1rem;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-banner button,
.cookie-banner .cta {
  cursor: pointer;
  padding: 11px 20px;
  border-radius: 7px;
  font-size: .97rem;
  font-family: 'Merriweather', serif;
  font-weight: 600;
  margin-top: 0;
  border: none;
  background: #93816B;
  color: #fff;
  box-shadow: 0 1px 5px rgba(35,65,88,0.08);
  transition: background .17s, color .1s;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #234158;
  color: #fff;
}
.cookie-banner .btn-secondary {
  background: #fff;
  color: #93816B;
  border: 2px solid #234158;
}
.cookie-banner .btn-secondary:hover, .cookie-banner .btn-secondary:focus {
  background: #234158;
  color: #fff;
  border-color: #93816B;
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 9px;
    font-size: .96em;
  }
  .cookie-banner .cookie-actions { gap: 8px; }
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(35,65,88,0.76);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .25s;
}
.cookie-modal {
  background: #fff;
  color: #234158;
  border-radius: 12px;
  box-shadow: 0 8px 38px rgba(35,65,88,0.17);
  padding: 30px 28px 24px 28px;
  width: 95vw;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  z-index: 10001;
  font-size: 1rem;
  animation: cookieModalIn .46s cubic-bezier(.77,0,.175,1);
}
@keyframes cookieModalIn {
  0% { opacity: 0; transform: scale(0.93); }
  100% { opacity: 1; transform: scale(1); }
}
.cookie-modal h3 {
  font-size: 1.19rem;
  color: #234158;
  margin-bottom: 10px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 10px;
  font-size: 1rem;
}
.cookie-modal input[type="checkbox"] {
  width: 20px; height: 20px;
  accent-color: #93816B;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  justify-content: flex-end;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 15px; right: 13px;
  background: #93816B;
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.3rem;
  width: 36px; height: 36px;
  cursor: pointer;
}
.cookie-modal .close-modal:hover, .cookie-modal .close-modal:focus {
  background: #234158;
}

/* RESPONSIVE ADJUSTMENTS */
@media (max-width: 1200px) {
  .container { max-width: 98vw; }
}
@media (max-width: 900px) {
  .feature-grid li { min-width: 160px; max-width: 340px; }
}
@media (max-width: 700px) {
  .footer-nav,
  .footer-social { flex-wrap: wrap; }
  .branding span { font-size: .99em; }
}

/* VISUAL ELEMENTS */
section {
  border-radius: 18px;
  background: linear-gradient(135deg, #fff 75%, #dde6ef 100%);
  -webkit-box-shadow: 0 2px 16px rgba(35,65,88,0.08);
  box-shadow: 0 2px 16px rgba(35,65,88,0.08);
}
section:nth-of-type(even) {
  background: linear-gradient(135deg, #f9f8f6 85%, #dde6ef 100%);
}

/* MICRO-INTERACTIONS & TRANSITIONS */
a, .cta, button, .feature-grid li, .card {
  transition: background .2s, color .15s, box-shadow .2s, transform .2s;
}

/* OVERRIDE FOR HTML5 MARKUP */
main, nav, section, header, footer, article, aside, details, summary, figure, figcaption {
  display: block;
}

/* SELECTION COLOR */
::selection {
  background: #93816B;
  color: #fff;
}

/* ERROR/INFO/NOTICE MESSAGES (for possible future use) */
.notice, .info, .success, .error {
  border-radius: 8px;
  padding: 12px 16px;
  margin-top: 12px;
  font-weight: 500;
  font-size: 1rem;
  color: #234158;
  background: #fff7e7;
}
.success { background: #e0fbe0; color: #276846; }
.error { background: #ffe2e2; color: #a5032f; }

/* PRINT SUPPORT */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal-overlay { display: none !important; }
  body, main, .container, section { background: #fff !important; }
  a { color: #234158 !important; text-decoration: underline !important; }
}
