/* ==== CSS RESET & NORMALIZATION ==== */
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;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #FFFDF8;
  color: #23272E;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}
img {
  max-width: 100%;
  display: block;
  border-radius: 12px;
}
a {
  color: #D27C2C;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #bf630a;
  outline: none;
}
ul, ol {
  margin-bottom: 24px;
  margin-top: 12px;
  padding-left: 1.3em;
}
li {
  margin-bottom: 8px;
}
strong { font-weight: bold; }
em { font-style: italic; }

/* ==== BRAND FONTS ==== */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,800&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,700&display=swap');
h1, h2, h3, h4, h5, .subheadline {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  color: #23272E;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  letter-spacing: -1px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.375rem;
  margin-bottom: 10px;
}
.subheadline {
  color: #D27C2C;
  font-size: 1.25rem;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}
p {
  margin-bottom: 16px;
  font-size: 1rem;
  line-height: 1.7;
  color: #23272E;
}

/* ==== CONTAINER & LAYOUT ==== */
.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 16px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  background: #fffaf3;
  border-radius: 28px;
  box-shadow: 0 4px 16px 0 rgba(218,176,112,0.13);
  padding: 40px 30px;
  margin-bottom: 60px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.text-section {
  background: #FFFDF8;
  box-shadow: none;
  padding: 40px 0;
  border-radius: 0;
  gap: 24px;
}

/* ==== CRITICAL SPACING AND ALIGNMENT PATTERNS ==== */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  width: 100%;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fffaf3;
  border-radius: 20px;
  box-shadow: 0 2px 12px 0 rgba(218,176,112,0.09);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 32px 28px;
}
.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;
  margin-bottom: 20px;
  background: #faf3e6;
  border-radius: 20px;
  box-shadow: 0 2px 8px 0 rgba(210,124,44,0.10);
  transition: box-shadow 0.2s;
  flex-direction: column;
}
.testimonial-card p {
  color: #23272E;
  font-size: 1rem;
  margin-bottom: 8px;
}
.testimonial-card span {
  color: #D27C2C;
  font-size: 0.96rem;
  font-weight: 700;
  align-self: flex-end;
}
.testimonial-card:hover {
  box-shadow: 0 6px 24px 0 rgba(210,124,44,0.17);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 16px 0 24px 0;
  justify-content: flex-start;
}
.features-grid > div {
  background: #FFF6E6;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(218,176,112,0.11);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 18px 26px;
  flex: 1 1 160px;
  min-width: 150px;
  transition: box-shadow 0.16s;
}
.features-grid > div:hover {
  box-shadow: 0 4px 16px rgba(210,124,44,0.11);
}
.features-grid img {
  margin-bottom: 8px;
  width: 40px;
  height: 40px;
}
.features-grid p {
  color: #D27C2C;
  font-size: 1.07rem;
  font-weight: 600;
}

/* ==== HEADER AND NAVIGATION ==== */
header {
  width: 100%;
  background: #fffaf3;
  box-shadow: 0 1px 12px 0 rgba(218,176,112,0.09);
  border-bottom-left-radius: 0px;
  border-bottom-right-radius: 0px;
  padding: 0;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
  gap: 30px;
}
header img {
  height: 42px;
  width: auto;
  border-radius: 0;
}

nav {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', 'Open Sans', sans-serif;
  color: #23272E;
  font-size: 1rem;
  font-weight: 500;
  padding: 7px 12px;
  border-radius: 12px;
  transition: background 0.2s, color 0.2s;
}
header nav a:hover, header nav a:focus {
  background: #EADFB4;
  color: #D27C2C;
}

.cta-primary {
  font-family: 'Montserrat', 'Open Sans', sans-serif;
  background: #D27C2C;
  color: #fff;
  font-size: 1.18rem;
  font-weight: 700;
  padding: 12px 28px;
  border: none;
  border-radius: 24px;
  box-shadow: 0 2px 8px 0 rgba(210,124,44,0.13);
  transition: background 0.2s, box-shadow 0.2s, color 0.2s, transform 0.11s;
  cursor: pointer;
  margin-left: 20px;
  display: inline-block;
}
.cta-primary:hover, .cta-primary:focus {
  background: #b35e0c;
  color: #fff6e6;
  box-shadow: 0 8px 18px 0 rgba(210,124,44,0.16);
  transform: translateY(-2px) scale(1.04);
  outline: none;
}

/* ==== MOBILE HAMBURGER MENU ==== */
.mobile-menu-toggle {
  display: none;
  background: #EADFB4;
  color: #23272E;
  font-size: 2.1rem;
  border: none;
  border-radius: 15px;
  cursor: pointer;
  margin-left: 12px;
  padding: 4px 15px 1px 15px;
  transition: background 0.2s, color 0.19s;
  z-index: 120;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #D27C2C;
  color: #fff;
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fffaf3;
  z-index: 200;
  transform: translateX(-100%);
  transition: transform 0.34s cubic-bezier(0.55, 0, 0.15, 1);
  box-shadow: 9px 0 30px 0 rgba(210,124,44,0.11);
  padding-top: 28px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.1rem;
  background: none;
  border: none;
  color: #D27C2C;
  margin: 0 24px 12px 0;
  padding: 2px 5px;
  cursor: pointer;
  transition: color 0.2s;
  border-radius: 9px;
  z-index: 220;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #EADFB4;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px 24px;
  gap: 24px;
  height: 100%;
  width: 100%;
}
.mobile-nav a {
  font-size: 1.20rem;
  font-family: 'Montserrat', 'Open Sans', sans-serif;
  color: #23272E;
  font-weight: 700;
  padding: 13px 20px;
  border-radius: 16px;
  transition: background 0.2s, color 0.2s;
  width: 100%;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #EADFB4;
  color: #D27C2C;
}

/* ==== FOOTER ==== */
footer {
  width: 100%;
  background: #fffaf3;
  padding: 32px 0 24px 0;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  box-shadow: 0 -2px 12px 0 rgba(218,176,112,0.09);
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}
footer nav {
  flex-direction: column;
  gap: 10px;
}
footer nav a {
  color: #b98727;
  font-family: 'Montserrat', 'Open Sans', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 0;
  background: none;
  border-radius: 0;
}
footer nav a:hover, footer nav a:focus {
  color: #D27C2C;
  background: none;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 0.98rem;
  margin-top: 14px;
}
.footer-contact img {
  width: 20px;
  height: 20px;
  margin-right: 8px;
  vertical-align: middle;
  display: inline;
  border-radius: 0;
}
.footer-contact span {
  color: #23272E;
  display: flex;
  align-items: center;
}
footer img {
  height: 48px;
  border-radius: 0;
}

/* ==== BUTTONS ==== */
button, .button {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  padding: 11px 24px;
  border-radius: 22px;
  border: none;
  background: #EADFB4;
  color: #23272E;
  cursor: pointer;
  box-shadow: 0 2px 8px 0 rgba(218,176,112,0.11);
  transition: background 0.17s, color 0.17s, box-shadow 0.18s, transform 0.13s;
  font-weight: 700;
}
button:hover, .button:hover, button:focus, .button:focus {
  background: #D27C2C;
  color: #FFFDF8;
  box-shadow: 0 6px 18px 0 rgba(210,124,44,0.16);
  transform: translateY(-2px) scale(1.03);
  outline: none;
}

/* ==== CARD DESIGN ==== */
.card {
  border: 2px solid #EADFB4;
  background: #fffaf3;
}

/* ==== VISUAL ELEMENTS ==== */
.section, .content-wrapper, .card, .testimonial-card, .features-grid>div {
  border-radius: 24px;
}

/* ==== MICRO-INTERACTIONS ==== */
a, button, .cta-primary, .features-grid>div, .testimonial-card, .card {
  transition-property: background, color, box-shadow, transform;
  transition-duration: 0.19s;
  transition-timing-function: cubic-bezier(.4,0,.2,1);
}

/* ==== WHITE SPACE ==== */
.section, .content-wrapper, .card, .testimonial-card, .features-grid > div {
  margin-bottom: 24px;
}

/* ==== TYPOGRAPHY HIERARCHY ==== */
h1 { font-size: 2.5rem; margin-bottom: 20px; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.375rem; margin-bottom: 10px; }
h4 { font-size: 1.125rem; margin-bottom: 8px; }
p, li, span, a { font-size: 1rem; }

/* ==== FORMS ==== */
input, textarea, select {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  padding: 12px 16px;
  border: 1.5px solid #EADFB4;
  border-radius: 20px;
  background: #fff;
  margin-bottom: 14px;
  width: 100%;
  color: #23272E;
  transition: border 0.19s;
  outline: none;
  box-sizing: border-box;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid #D27C2C;
}

label {
  font-size: 1rem;
  margin-bottom: 6px;
  color: #23272E;
  display: block;
}

/* ==== COOKIE CONSENT BANNER ==== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fffaf3;
  border-top: 2.5px solid #EADFB4;
  z-index: 500;
  width: 100%;
  box-shadow: 0 -2px 14px 0 rgba(218,176,112,0.12);
  padding: 22px 20px 15px 20px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  font-family: 'Open Sans', Arial, sans-serif;
  transition: transform 0.33s cubic-bezier(0.61,0.13,0.23,0.95);
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 15px;
}
.cookie-banner button {
  min-width: 135px;
  font-size: 1rem;
  border-radius: 18px;
  padding: 10px 22px;
  background: #D27C2C;
  color: #fff;
  font-weight: 700;
  border: none;
}
.cookie-banner .cookie-settings {
  background: #EADFB4;
  color: #23272E;
  border-radius: 18px;
  border: none;
}
.cookie-banner .cookie-settings:hover, .cookie-banner .cookie-settings:focus {
  background: #D27C2C;
  color: #fff;
}
.cookie-banner.hide {
  transform: translateY(101%);
}

/* ==== COOKIE MODAL ==== */
.cookie-modal-overlay {
  position: fixed;
  z-index: 600;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(35,39,46,0.32);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.3s;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fffaf3;
  border-radius: 28px;
  box-shadow: 0 6px 36px 0 rgba(210,124,44,0.13);
  padding: 36px 34px 28px 34px;
  min-width: 320px;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal h2 {
  color: #23272E;
  font-size: 1.28rem;
  margin-bottom: 7px;
}
.cookie-modal label {
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 600;
  color: #D27C2C;
  margin-bottom: 3px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  margin-top: 19px;
}
.cookie-modal input[type=checkbox]:disabled {
  accent-color: #B6A37B;
}

/* ==== UTILITY CLASSES ==== */
.flex {
  display: flex;
}
.flex-row {
  flex-direction: row;
}
.flex-col {
  flex-direction: column;
}
.align-center {
  align-items: center;
}
.justify-center {
  justify-content: center;
}
.gap-24 {
  gap: 24px;
}
.gap-12 {
  gap: 12px;
}

/* ==== RESPONSIVE DESIGN ==== */
@media (max-width: 1024px) {
  .container {
    max-width: 880px;
    gap: 0;
  }
  .content-wrapper {
    padding: 32px 12px;
  }
  .features-grid {
    gap: 17px;
  }
  .footer-contact {
    font-size: 0.95rem;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 98vw;
    padding: 0 4vw;
  }
  .footer-contact {
    font-size: 0.91rem;
  }
}
@media (max-width: 768px) {
  .container, header .container, footer .container {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  .content-wrapper {
    gap: 24px;
    padding: 30px 6vw;
  }
  .features-grid {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  nav:not(.mobile-nav) {
    display: none !important;
  }
  .cta-primary {
    margin-left: 0;
    margin-top: 14px;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .section, .content-wrapper, .testimonial-card, .features-grid > div {
    border-radius: 16px;
  }
  footer .container {
    gap: 18px;
    padding-bottom: 0;
  }
}
@media (max-width: 640px) {
  .content-wrapper {
    padding: 28px 2vw;
  }
  .section {
    padding: 20px 2vw;
  }
  header img, footer img {
    height: 36px;
  }
  .card, .testimonial-card {
    padding: 26px 8px;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 18px;
    padding: 17px 10px 11px 10px;
    align-items: flex-start;
  }
}
@media (max-width: 480px) {
  h1 { font-size: 1.67rem; }
  h2 { font-size: 1.23rem; }
  .subheadline { font-size: 1rem; }
  .footer-contact {
    font-size: 0.85rem;
    gap: 7px;
  }
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

/* ==== VISUAL DECORATIVE ELEMENTS (NO ABSOLUTE FOR CARD CONTENT) ==== */

/* Only allow absolute for icons/visual accents if used later. */

/* ==== END OF CSS ==== */
