/* ========= 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,
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;
  box-sizing: border-box;
  vertical-align: baseline;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  line-height: 1.5;
  background: #F6F4F1;
  color: #2a2924;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
}
article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section {
  display: block;
}
ol, ul {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

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

:root {
  --color-primary: #24272B;
  --color-secondary: #AAC3B6;
  --color-accent: #F6F4F1;
  --color-warm1: #FFEEE0; /*subtle warm bg*/
  --color-warm2: #FFD4A3; /* accent for buttons */
  --color-warm3: #FED7B0; /* testimonial bg */
  --color-black: #151616;
  --color-white: #fff;
}

/* ================== LAYOUT CONTAINERS ================== */
.container {
  width: 100%;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
  box-sizing: border-box;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

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

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

.card {
  background: var(--color-accent);
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 rgba(220,175,120, 0.13);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 22px;
  transition: box-shadow 0.22s;
}

.card:hover {
  box-shadow: 0 6px 28px 0 rgba(220,175,120, 0.20);
}

.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 {
  background: var(--color-warm3);
  color: var(--color-black);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border-radius: 16px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px 0 #efebe18a;
  font-size: 18px;
  font-style: italic;
  border-left: 7px solid var(--color-secondary);
  transition: box-shadow 0.2s, border-left 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 4px 18px 0 #efebe1bb;
  border-left: 7px solid var(--color-warm2);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--color-accent);
  border-radius: 16px;
  box-shadow: 0 2px 8px 0 rgba(200,180,150, 0.10);
  padding: 18px 14px 20px 14px;
  margin-bottom: 20px;
  flex: 1 1 200px;
}

.features-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.features-list li {
  width: 100%;
  max-width: 270px;
  min-width: 180px;
  flex: 1 1 220px;
  background: var(--color-accent);
  border-radius: 16px;
  box-shadow: 0 2px 8px 0 rgba(200,180,150, 0.10);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 22px 16px 18px 16px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s;
}
.features-list li:hover {
  box-shadow: 0 8px 30px 0 rgba(170,180,140,0.18);
}
.features-list img {
  width: 42px;
  height: 42px;
  margin-bottom: 8px;
}

/* HERO section */
.hero {
  background: linear-gradient(90deg,#FFEEE0 65%, var(--color-accent) 100%);
  box-shadow: 0 4px 25px 0 #ffd19430;
  border-radius: 0 0 38px 38px;
  margin-bottom: 48px;
  padding: 60px 0 48px 0;
  display: flex;
  align-items: center;
  min-height: 260px;
}
.hero h1 {
  font-size: 2.7rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 20px;
}
.hero p {
  font-size: 1.25rem;
  color: #2a2924;
  margin-bottom: 32px;
}

/* ==================== NAVIGATION ==================== */
header {
  background: var(--color-accent);
  box-shadow: 0 2px 18px 0 #e9e3de28;
  z-index: 50;
  position: sticky;
  top: 0;
}
.main-nav {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  padding: 6px 22px 6px 18px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
}
.main-nav img {
  height: 56px;
  width: auto;
  margin-right: 16px;
  border-radius: 12px;
}
.main-nav a {
  position: relative;
  padding: 6px 14px;
  border-radius: 12px;
  color: var(--color-primary);
  font-size: 1rem;
  transition: background 0.13s, color 0.13s;
  margin-bottom: 0;
}
.main-nav a:not(.cta-primary):hover,
.footer-menu a:hover {
  background: var(--color-warm2);
  color: var(--color-primary);
}
.main-nav .cta-primary {
  background: var(--color-secondary);
  color: var(--color-black);
  font-weight: 700;
  border-radius: 16px;
  box-shadow: 0 1px 10px 0 #aac3b64b;
  margin-left: 16px;
  padding: 8px 20px;
  font-size: 1.08rem;
  border: none;
  transition: background 0.16s, color 0.16s, transform 0.14s;
}
.main-nav .cta-primary:hover {
  background: var(--color-warm2);
  color: var(--color-black);
  transform: scale(1.04) translateY(-2px);
  box-shadow: 0 6px 20px 0 #ffd4a347;
}

/* ========== BURGER/MOBILE NAV ========== */
.mobile-menu-toggle {
  display: none;
  background: var(--color-secondary);
  color: var(--color-primary);
  border: none;
  font-size: 2.1rem;
  padding: 10px 14px;
  border-radius: 14px;
  position: absolute;
  top: 15px;
  right: 18px;
  z-index: 101;
  cursor: pointer;
  transition: background 0.19s, color 0.14s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--color-warm2);
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: var(--color-accent);
  z-index: 200;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 32px 24px 24px 20px;
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(.68,-0.55,0.27,1.55);
  box-shadow: -6px 0 38px 0 #ffc99d5c;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: var(--color-warm2);
  color: var(--color-primary);
  border: none;
  font-size: 2.2rem;
  border-radius: 10px;
  align-self: flex-end;
  margin-bottom: 10px;
  padding: 4px 12px;
  cursor: pointer;
  transition: background 0.16s;
}
.mobile-menu-close:hover {
  background: var(--color-secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  margin-top: 12px;
}
.mobile-nav a {
  padding: 12px 8px;
  border-radius: 12px;
  font-size: 1.15rem;
  color: var(--color-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  transition: background 0.13s, color 0.13s;
}
.mobile-nav a:hover {
  background: var(--color-warm2);
  color: var(--color-primary);
}

/* Hide main-nav on small screens, show burger */
@media (max-width: 1020px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 1021px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ==================== FOOTER ===================== */
footer {
  background: var(--color-accent);
  box-shadow: 0 -2px 16px 0 #ececec29;
  padding: 38px 0 26px 0;
  margin-top: 80px;
  border-radius: 28px 28px 0 0;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-bottom: 20px;
}
.footer-menu a {
  color: var(--color-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.01rem;
  border-radius: 10px;
  padding: 7px 14px;
  transition: background .18s, color .14s;
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  align-items: center;
  color: #5a574e;
  font-size: 0.98rem;
  margin-top: 8px;
  flex-direction: row;
}
.footer-contact img {
  width: 18px;
  height: 18px;
  margin-right: 3px;
  vertical-align: middle;
}
/* ================== TYPOGRAPHY ==================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--color-primary);
  font-weight: 700;
  letter-spacing: -0.5px;
}
h1 {
  font-size: 2.3rem;
  margin-bottom: 8px;
}
h2 {
  font-size: 1.8rem;
  margin-bottom: 8px;
}
h3 {
  font-size: 1.27rem;
  margin-bottom: 8px;
}
h4,h5,h6 {
  font-size: 1.07rem;
}
p, ul, ol, li, blockquote {
  font-family: 'Roboto', Arial, sans-serif;
  color: #2a2924;
  font-size: 1.05rem;
  line-height: 1.7;
}
blockquote {
  font-style: italic;
  color: #1e1910;
}
ul, ol {
  margin-bottom: 18px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}
.text-section ul,
.text-section ol {
  margin-top: 0;
}
.text-section li {
  margin-left: 18px;
  list-style: disc inside;
  margin-bottom: 6px;
}
.text-section img {
  vertical-align: middle;
  margin-right: 6px;
  height: 18px;
  width: 18px;
}

/* ======= BLOG ======= */
.blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.blog-list article {
  background: var(--color-accent);
  border-radius: 15px;
  padding: 22px 16px;
  box-shadow: 0 2px 8px 0 #e8c7a66e;
  min-width: 230px;
  max-width: 330px;
  flex: 1 1 240px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.blog-list article:hover {
  box-shadow: 0 4px 22px 0 #ffd4a357;
}

/* ============== FAQ STYLE ============= */
.faq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 12px;
}
.faq-item {
  background: var(--color-warm1);
  border-radius: 14px;
  box-shadow: 0 1px 6px 0 #dac5a30c;
  flex: 1 1 230px;
  min-width: 200px;
  max-width: 340px;
  padding: 17px 20px 16px 20px;
  margin-bottom: 20px;
  color: var(--color-primary);
}
.faq-item h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.faq-item p {
  color: #3c3831;
  font-size: 1.03rem;
}
/* ============== CTA BUTTONS ============= */
.cta-primary {
  display: inline-block;
  background: var(--color-warm2);
  color: var(--color-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border-radius: 18px;
  font-size: 1.22rem;
  padding: 13px 34px;
  box-shadow: 0 2px 17px #ffd19432;
  transition: background 0.14s, color 0.14s, transform 0.11s;
  margin-top: 8px;
  margin-bottom: 12px;
  border: none;
  cursor: pointer;
  text-align: center;
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--color-secondary);
  color: var(--color-black);
  transform: scale(1.04) translateY(-2px);
  box-shadow: 0 6px 23px #aac3b67a;
}

/* ============= SECTION SPACING OVERRIDES ============= */
main > section {
  margin-bottom: 60px;
  padding: 40px 0 40px 0;
  border-radius: 28px;
}
main > section:last-child {
  margin-bottom: 0;
}

/* ============= CARD, GRID STANDARD RULES ============= */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

/* ============= TABLE ============= */
table {
  width: 100%;
  border-spacing: 0;
  border-collapse: collapse;
  background: var(--color-accent);
  border-radius: 11px;
  overflow: hidden;
}
th, td {
  padding: 11px 14px;
  text-align: left;
  border-bottom: 1px solid #f3ecd6;
}
th {
  background: var(--color-warm3);
  font-family: 'Montserrat', Arial, sans-serif;
}

/* ============= FORMS ============= */
input, textarea, select {
  border-radius: 10px;
  border: 1px solid var(--color-secondary);
  padding: 11px 14px;
  font-size: 1.02rem;
  background: var(--color-accent);
  margin-bottom: 16px;
  box-shadow: 0 1px 3px 0 #d7ceb275;
  transition: border 0.13s, box-shadow 0.13s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid var(--color-warm2);
  outline: none;
  box-shadow: 0 4px 17px 0 #ffd4a340;
}
label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.04rem;
  font-weight: 700;
  margin-bottom: 6px;
  display: inline-block;
}

/* ============= HERO IMAGE SECTIONS ============= */
.text-image-section img {
  max-width: 340px;
  width: 100%;
  border-radius: 22px;
  box-shadow: 0 2px 20px 0 #cfbeae4d;
}

/* ============= OL/UL EXTRAS ============= */
ol {
  list-style-type: decimal inside;
  margin-bottom: 14px;
  color: #302c24;
  padding-left: 12px;
}

ol li, ul li {
  margin-bottom: 4px;
  padding-left: 3px;
}

/* =================== COOKIE CONSENT BANNER =================== */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3000;
  background: var(--color-warm1);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 24px 12px;
  box-shadow: 0 -2px 28px #f1e0ceab;
  font-size: 1.05rem;
  border-radius: 22px 22px 0 0;
  animation: cookieSlideIn 0.7s cubic-bezier(.49,1.58,.51,.84);
  transition: transform 0.25s, opacity 0.25s;
}
@keyframes cookieSlideIn {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-consent-banner.hidden {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}
.cookie-consent-banner .cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-left: 18px;
}

.cookie-btn {
  padding: 8px 23px;
  border-radius: 15px;
  border: none;
  font-size: 1.07rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  background: var(--color-secondary);
  color: var(--color-primary);
  box-shadow: 0 2px 12px #aac3b64d;
  cursor: pointer;
  transition: background .16s, color .14s, transform .12s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--color-warm2);
  color: var(--color-black);
  transform: scale(1.03) translateY(-2px);
}
.cookie-btn.cookie-settings {
  background: var(--color-warm2);
  color: var(--color-primary);
}
.cookie-btn.cookie-settings:hover, .cookie-btn.cookie-settings:focus {
  background: var(--color-secondary);
}

/* ===== COOKIE PREFERENCES MODAL ===== */
.cookie-modal {
  position: fixed;
  top: 0; left: 0; right:0; bottom: 0;
  background: rgba(38,32,18,0.18);
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.22s;
}
.cookie-modal.open {
  pointer-events: auto;
  opacity: 1;
}
.cookie-modal-box {
  background: var(--color-accent);
  border-radius: 22px;
  box-shadow: 0 8px 66px #ffd19441;
  min-width: 320px;
  max-width: 97vw;
  width: 430px;
  padding: 42px 32px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-size: 1.09rem;
}
.cookie-modal-box h2 {
  font-size: 1.28rem;
  margin-bottom: 6px;
}
.cookie-modal-close {
  background: var(--color-warm2);
  color: var(--color-primary);
  border: none;
  font-size: 1.55rem;
  border-radius: 10px;
  align-self: flex-end;
  margin-bottom: 10px;
  padding: 2px 10px;
  cursor: pointer;
  transition: background 0.14s;
}
.cookie-modal-close:hover {
  background: var(--color-secondary);
}
.cookie-modal-options {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.cookie-option {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}
.cookie-option label {
  font-weight: 500;
  margin-bottom: 0;
}
.cookie-option input[type="checkbox"] {
  accent-color: var(--color-secondary);
  width: 22px;
  height: 22px;
  margin-top: 0;
}
/* Essential cookie is always checked and disabled */
.cookie-option input[disabled] {
  cursor: not-allowed;
  opacity: 0.7;
}

.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-top: 18px;
  justify-content: flex-end;
}

/* ============= MEDIA QUERIES - RESPONSIVENESS ============= */
@media (max-width: 1020px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 97vw;
  }
  .features-list li {
    max-width: 98vw;
    min-width: unset;
  }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  .hero h1 {
    font-size: 2rem;
    margin-bottom: 10px;
  }
  .hero {
    padding: 40px 0 36px 0;
    min-height: 120px;
    border-radius: 0 0 18px 18px;
  }
  .container {
    padding-left: 6px;
    padding-right: 6px;
  }
  .content-wrapper {
    gap: 20px;
  }
  .section {
    margin-bottom: 38px;
    padding: 26px 3px;
    border-radius: 18px;
  }
  .card {
    padding: 16px 8px;
  }
  .features-list {
    flex-direction: column;
    gap: 20px;
  }
  .features-list li {
    width: 100%;
    max-width: 100%;
    min-width: unset;
  }
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    font-size: 1.02rem;
    gap: 8px;
    padding: 14px;
  }
  .card-container, .blog-list, .faq-list {
    flex-direction: column;
    gap: 18px;
  }
  .card {
    margin-bottom: 13px;
  }
  .blog-list article {
    min-width: unset;
    max-width: unset;
    width: 100%;
  }
  .faq-item {
    min-width: unset;
    max-width: unset;
    width: 100%;
  }
  footer {
    padding: 22px 0 15px 0;
    border-radius: 16px 16px 0 0;
    margin-top: 30px;
  }
  .cookie-consent-banner {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 18px 7px;
    font-size: 1rem;
    border-radius: 14px 14px 0 0;
  }
  .cookie-consent-banner .cookie-buttons {
    margin-left: 0;
    flex-direction: column;
    gap: 10px;
  }
  .cookie-modal-box {
    padding: 18px 7px 16px 8px;
    min-width: 90vw;
    width: 94vw;
  }
  .footer-contact {
    flex-direction: column;
    gap: 7px;
    font-size: 0.93rem;
  }
  .footer-menu {
    gap: 14px;
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  html { font-size: 14px; }
  .hero {
    padding: 20px 0 19px 0;
  }
  .cookie-modal-box {
    min-width: 97vw;
    width: 100vw;
    padding: 13px 2px 9px 6px;
  }
}

/* ===== MICRO-INTERACTIONS ===== */
.card, .testimonial-card, .faq-item, .features-list li, .blog-list article {
  transition: box-shadow 0.22s cubic-bezier(.49,1.58,.51,.84), transform 0.19s;
}
.card:hover, .features-list li:hover, .blog-list article:hover {
  box-shadow: 0 10px 38px 0 #ffd4a347;
  transform: translateY(-3px) scale(1.011);
}

.cta-primary:active, .cookie-btn:active {
  box-shadow: 0 0 0 #ffd4a31c;
  transform: scale(0.99);
}

/* ========== FOCUS ACCESSIBILITY ========== */
a:focus-visible, button:focus-visible, .cta-primary:focus-visible, .cookie-btn:focus-visible {
  outline: 2.5px dotted var(--color-secondary);
  outline-offset: 2.5px;
}

/* ========== UTILITIES ========== */
.hide-on-mobile {
  display: block;
}
@media (max-width: 768px) {
  .hide-on-mobile {
    display: none !important;
  }
}

.show-on-mobile {
  display: none;
}
@media (max-width: 1020px) {
  .show-on-mobile {
    display: block;
  }
}

/* ========== MISC ========== */
::-webkit-scrollbar {
  width: 10px;
  background: #F6F4F1;
}
::-webkit-scrollbar-thumb {
  background: #FFD4A3;
  border-radius: 7px;
}

