/* --- 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 {
  box-sizing: border-box;
  font-size: 16px;
}

*, *:before, *:after {
  box-sizing: inherit;
}

body {
  font-family: 'Open Sans', Arial, sans-serif;
  background: #F2EFEA;
  color: #2A3440;
  line-height: 1.6;
  min-height: 100vh;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #7C674C;
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover, a:focus {
  color: #2A3440;
  outline: none;
}
ul, ol {
  margin-left: 24px;
  margin-bottom: 16px;
}
li {
  margin-bottom: 8px;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(124,103,76,0.10),0 1.5px 7px rgba(42,52,64,0.06);
}

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

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(124,103,76,0.10);
  padding: 32px 24px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.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 28px;
  background: #fffbe8;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(124,103,76,.10);
  margin-bottom: 20px;
  min-width: 270px;
  max-width: 550px;
  color: #2A3440;
}
.testimonial-card blockquote {
  font-size: 1.15rem;
  font-style: italic;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  color: #2A3440;
  margin-bottom: 6px;
}
.testimonial-card cite {
  font-size: 1rem;
  color: #7C674C;
  font-style: normal;
}

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

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: bold;
  color: #2A3440;
}
h1 {
  font-size: 2.75rem;
  margin-bottom: 16px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}
p, ul, ol, li {
  font-size: 1rem;
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.50rem; }
  .section { padding: 30px 8px; }
}

/* --- Buttons --- */
.cta-btn, button, input[type="submit"] {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.08rem;
  background: #7C674C;
  color: #fff;
  border: none;
  border-radius: 32px;
  padding: 14px 32px;
  margin-top: 10px;
  box-shadow: 0 3px 10px 0 rgba(124,103,76,0.16);
  cursor: pointer;
  outline: none;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.16s;
  letter-spacing: 0.01em;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus, button:hover, button:focus, input[type="submit"]:hover, input[type="submit"]:focus {
  background: #2A3440;
  color: #fff;
  transform: translateY(-2px) scale(1.035);
  box-shadow: 0 9px 21px rgba(124,103,76,0.18);
}

/* --- Header & Navigation --- */
header {
  background: #fff;
  width: 100%;
  border-bottom: 1px solid #ede8dc;
  box-shadow: 0 2px 12px rgba(124,103,76,.03);
  position: relative;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 20px 18px 20px;
}
header nav {
  display: flex;
  gap: 22px;
}
header nav a {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #2A3440;
  padding: 4px 8px;
  border-radius: 14px;
  transition: background 0.18s, color 0.18s;
}
header nav a:hover, header nav a:focus {
  background: #F2EFEA;
  color: #7C674C;
}

header .cta-btn {
  margin: 0 0 0 12px;
}

.mobile-menu-toggle {
  display: none;
  background: #7C674C;
  color: #fff;
  border: none;
  border-radius: 18px;
  padding: 10px 16px;
  font-size: 1.65rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s;
  position: absolute;
  right: 18px;
  top: 20px;
  z-index: 101;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #2A3440;
}

@media (max-width: 1100px) {
 header .container {
    padding-left: 10px; padding-right: 10px;
  }
}
@media (max-width: 900px) {
  header .cta-btn { display: none; }
  header nav a { font-size: 0.95rem; gap: 14px; }
  header nav { gap: 8px; }
}

/* --- Mobile Navigation --- */
@media (max-width: 830px) {
  .mobile-menu-toggle { display: block; }
  header .container nav, header .container .cta-btn {
    display: none;
  }
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(242,239,234,0.98);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.7,.1,.2,1);
  box-shadow: 10px 0 28px 0 rgba(124,103,76,0.13);
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: #7C674C;
  color: #fff;
  border: none;
  border-radius: 18px;
  align-self: flex-end;
  margin: 30px 26px 8px 0;
  font-size: 1.8rem;
  padding: 6px 18px;
  cursor: pointer;
  transition: background 0.15s;
  z-index: 10001;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #2A3440;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  margin: 35px 0 0 46px;
}
.mobile-nav a {
  color: #2A3440;
  font-family: 'Montserrat', 'Open Sans', Arial,sans-serif;
  font-size: 1.18rem;
  background: none;
  padding: 12px 6px 12px 0;
  border-radius: 16px;
  width: auto;
  transition: background 0.16s, color 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #efe6d5;
  color: #7C674C;
}

@media (max-width: 480px) {
  .mobile-nav { margin-left: 20px; }
}

/* --- Main & Section --- */
main {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 768px) {
  section { padding: 28px 5px; }
  .content-wrapper {
    flex-direction: column;
    gap: 16px;
  }
}

@media (max-width: 800px) {
  .text-image-section {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }
}

/* Lists with Icons */
ul li img, ol li img {
  width: 24px;
  height: 24px;
  margin-right: 12px;
  vertical-align: middle;
}
ul li, ol li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 13px;
  font-size: 1rem;
  color: #2A3440;
}

/* --- Card & Grid Patterns --- */
.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 24px;
}

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

.next-steps {
  background: #F2EFEA;
  border-radius: 16px;
  padding: 20px 28px;
  margin: 28px 0 0 0;
  box-shadow: 0 1px 8px 1px #ede8dc;
}

@media (max-width: 670px) {
  .card-container, .content-grid, .card-grid {
    flex-direction: column;
    gap: 12px;
  }
  .testimonial-card { width: 100%; max-width: 100%; }
}

/* --- Footer --- */
footer {
  background: #2A3440;
  color: #fff;
  padding: 44px 0 20px 0;
  margin-top: 50px;
  border-top-left-radius: 32px;
  border-top-right-radius: 32px;
  box-shadow: 0 -1px 14px 0 rgba(42,52,64,0.06);
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.footer-logo {
  margin-bottom: 12px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 12px;
}
footer nav a {
  color: #F2EFEA;
  font-family: 'Montserrat', 'Open Sans', Arial,sans-serif;
  font-size: 1rem;
  border-radius: 10px;
  padding: 6px 12px;
  transition: background 0.18s, color 0.18s;
}
footer nav a:hover, footer nav a:focus {
  background: #7C674C;
  color: #fff;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 1rem;
  color: #ecdbbe;
}
.footer-contact img {
  width: 20px;
  height: 20px;
  margin-right: 7px;
  vertical-align: middle;
}
@media (max-width: 700px) {
  footer .container {
    gap: 18px;
  }
}

/* --- Cookie Consent Banner & Modal --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  width: 100%;
  background: #fffbe8;
  color: #2A3440;
  border-top: 1.5px solid #f4e5cb;
  box-shadow: 0 -3px 12px 0 rgba(124,103,76,0.10);
  z-index: 10002;
  padding: 28px 18px 18px 18px;
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  animation: slideUp .3s;
}
@keyframes slideUp {
  from {transform: translateY(100%);opacity:0;}
  to {transform: translateY(0);opacity:1;}
}
.cookie-banner__text {
  flex: 1;
  font-size: 1rem;
  min-width: 180px;
}
.cookie-banner__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.cookie-banner button {
  padding: 10px 22px;
  border-radius: 20px;
  font-family: 'Montserrat', 'Open Sans', Arial,sans-serif;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.18s, box-shadow 0.18s;
  box-shadow: 0 1px 7px rgba(124,103,76,0.08);
}
.cookie-accept {
  background: #7C674C;
  color: #fff;
}
.cookie-accept:hover, .cookie-accept:focus {
  background: #2A3440;
}
.cookie-reject {
  background: #F2EFEA;
  color: #7C674C;
  border: 1px solid #7C674C;
}
.cookie-reject:hover, .cookie-reject:focus {
  background: #ede8dc;
}
.cookie-settings-btn {
  background: #ede8dc;
  color: #2A3440;
  border: 1px solid #bfa574;
}
.cookie-settings-btn:hover, .cookie-settings-btn:focus {
  background: #fffbe8;
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  z-index: 10003;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(42,52,64,0.16);
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeIn .33s;
}
@keyframes fadeIn {
  from {opacity:0;}
  to {opacity:1;}
}
.cookie-modal {
  background: #fffbe8;
  color: #2A3440;
  border-radius: 18px;
  box-shadow: 0 5px 35px 7px rgba(124,103,76,0.09);
  max-width: 410px;
  width: 90vw;
  padding: 38px 28px 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 26px;
  animation: popIn .27s;
  position: relative;
}
@keyframes popIn {
  from {transform: scale(0.92);opacity:0;}
  to {transform: scale(1);opacity:1;}
}
.cookie-modal-close {
  position: absolute;
  right: 20px;
  top: 18px;
  background: #7C674C;
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 1.38rem;
  padding: 3px 12px;
  cursor: pointer;
  transition: background 0.14s;
  z-index: 10005;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #2A3440;
}
.cookie-category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 8px 0;
  font-size: 1rem;
}
.cookie-category label {
  font-weight: 600;
  color: #7C674C;
}
.cookie-toggle {
  width: 46px;
  height: 28px;
  background: #ede8dc;
  border-radius: 15px;
  position: relative;
  cursor: pointer;
  transition: background 0.18s;
  display: inline-block;
}
.cookie-toggle input[type="checkbox"] {
  display: none;
}
.cookie-toggle span {
  position: absolute;
  left: 4px; top: 4px;
  width: 20px; height: 20px;
  background: #7C674C;
  border-radius: 50%;
  transition: left 0.19s; background 0.18s;
}
.cookie-toggle input[type="checkbox"]:checked + span {
  left: 22px;
  background: #2A3440;
}

.cookie-modal .cookie-category[aria-disabled="true"] {
  opacity: 0.45;
  cursor: not-allowed;
}
.cookie-modal .cookie-category[aria-disabled="true"] .cookie-toggle {
  pointer-events: none;
}
/* End Cookie styles */

@media (max-width: 560px) {
  .cookie-banner {
    flex-direction: column;
    gap: 12px;
    padding-bottom: 30px;
    font-size: 0.99rem;
  }
  .cookie-modal {
    padding: 19px 8px 18px 8px;
    max-width: 98vw;
  }
}

/* --- Micro-interactions & Transitions --- */
.card, .testimonial-card, .next-steps, .section {
  transition: box-shadow 0.18s, transform 0.16s;
}
.card:hover, .testimonial-card:hover {
  box-shadow: 0 7px 26px 0 rgba(124,103,76,0.15), 0 1.5px 7px rgba(42,52,64,0.12);
  transform: translateY(-3px) scale(1.01);
}

/* --- Misc Layout Utilities --- */
.gap-24 { gap: 24px; }
.gap-16 { gap: 16px; }
.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}
.flex-col { flex-direction: column; }

/* --- Accessibility --- */
:focus {
  outline: 2px solid #2A3440;
  outline-offset: 2px;
}

/* --- Custom Fonts (link these in HTML for real usage) --- */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,500,400&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap');

/* --- Hide elements for screen readers only --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* --- Custom Styles for Brand Personality --- */
body {
  background: #F2EFEA;
  color: #2A3440;
}

/* Rounded corners for all main content cards */
.section, .card, .testimonial-card, .next-steps, .cookie-banner, .cookie-modal {
  border-radius: 18px;
}

/* Soft drop-shadows for all cards */
.section, .card, .testimonial-card, .next-steps, .cookie-banner, .cookie-modal {
  box-shadow: 0 6px 23px rgba(124,103,76,0.07), 0 1.5px 7px rgba(42,52,64,0.05);
}

/* Ensure minimum 20px margin between all cards/sections */
.section + .section, .card + .card, .testimonial-card + .testimonial-card, .next-steps + .card, .next-steps + .testimonial-card {
  margin-top: 24px;
}

/* --- END --- */
