/* 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;
  scroll-behavior: smooth;
}

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

body {
  min-height: 100vh;
  background: #F7F4F9;
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  color: #2A3A4B;
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}
a {
  color: #B07828;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #C98E36;
  outline: none;
}

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: 1em;
  border: none;
  outline: none;
  background: none;
}

strong {
  font-weight: 700;
}

/* TYPOGRAPHY */
h1, h2, h3, h4 {
  font-family: 'Merriweather', serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #2A3A4B;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 18px;
  line-height: 1.2;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
  line-height: 1.25;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  line-height: 1.3;
}
.subtitle {
  color: #7E8BA3;
  font-size: 1.125rem;
  font-weight: 400;
  margin-bottom: 18px;
  font-family: 'Lato', sans-serif;
}

p, li, blockquote {
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #2A3A4B;
}
blockquote {
  font-style: italic;
  color: #5A6385;
  background: #F6EFE7;
  padding: 18px 24px;
  border-left: 4px solid #C98E36;
  border-radius: 10px;
}

/* CONTAINERS & LAYOUT */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 0;
}
.main-nav img {
  height: 51px;
  width: auto;
}
.main-nav a {
  font-size: 1rem;
  padding: 6px 14px;
  border-radius: 20px;
  transition: background 0.2s, color 0.2s;
  color: #2A3A4B;
  position: relative;
}
.main-nav a.cta-primary {
  background: #FFF6ED;
  color: #B07828;
  font-weight: bold;
  border-radius: 24px;
  padding: 8px 22px;
  margin-left: 8px;
  box-shadow: 0 2px 8px rgba(201, 142, 54, 0.08);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.main-nav a.cta-primary:hover, .main-nav a.cta-primary:focus {
  background: #FFE6CE;
  color: #2A3A4B;
  box-shadow: 0 4px 20px rgba(201, 142, 54, 0.13);
}
.main-nav a:hover, .main-nav a:focus {
  background: #F6EFE7;
  color: #B07828;
}

/* HAMBURGER MENU (Mobile) */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 1040;
  background: #F6EFE7;
  color: #B07828;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 2rem;
  border: none;
  box-shadow: 0 4px 16px rgba(42,58,75,0.08);
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: box-shadow 0.2s;
  outline: none;
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:focus {
  box-shadow: 0 2px 28px rgba(201,142,54,0.12);
}
.mobile-menu {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: #FCF7F0EE;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(.45,0,.55,1);
  box-shadow: 0 6px 24px rgba(42,58,75,0.14);
  padding: 0;
}
.mobile-menu.active {
  transform: translateX(0%);
}
.mobile-menu-close {
  position: absolute;
  top: 26px;
  right: 28px;
  background: #FFF;
  color: #B07828;
  border: none;
  font-size: 2.1rem;
  border-radius: 50%;
  width: 44px; height: 44px;
  box-shadow: 0 2px 8px rgba(42,58,75,0.13);
  cursor: pointer;
  display: flex;
  align-items: center; justify-content: center;
  transition: box-shadow 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  box-shadow: 0 4px 20px rgba(201, 142, 54, 0.15);
  background: #FFF6ED;
}
.mobile-nav {
  width: 100vw;
  margin-top: 90px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0 0 30px;
}
.mobile-nav a {
  font-size: 1.15rem;
  padding: 10px 18px 10px 0;
  color: #2A3A4B;
  border-radius: 20px 0 0 20px;
  transition: background 0.2s, color 0.2s;
  display: block;
  width: 100%;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #FBEFD7;
  color: #B07828;
}

@media (max-width: 1100px) {
  .container { max-width: 98vw; }
}
@media (max-width: 980px) {
  .container { max-width: 100vw; }
}
@media (max-width: 900px) {
  .main-nav { gap: 10px; }
}
@media (max-width: 820px) {
  .main-nav { gap: 4px; }
}
@media (max-width: 900px) {
  .main-nav > a:not(.cta-primary):not(:first-child) { display: none; }
  .main-nav a.cta-primary { margin-left: auto; }
}
@media (max-width: 900px) {
  .mobile-menu-toggle {
    display: flex;
  }
}

/* Hide desktop nav on mobile */
@media (max-width: 900px) {
  .main-nav {
    padding-right: 64px;
    gap: 0;
  }
}

/* SECTIONS & WRAPPERS */
section {
  width: 100%;
  margin-bottom: 60px;
  padding: 40px 0 0 0;
  background: none;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.text-section {
  margin-bottom: 18px;
}
.text-section strong, .text-section h3 {
  display: block;
  margin-bottom: 7px;
  font-weight: 700;
  font-size: 1.13em;
  font-family: 'Merriweather', serif;
}
.text-section ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 10px 0;
  padding-left: 18px;
  list-style: disc;
}
.text-section ul li {
  font-size: 1rem;
}

/* FEATURE GRID & CARDS */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding: 0;
  margin: 0 0 16px 0;
}
.feature-grid li {
  flex: 1 1 220px;
  min-width: 210px;
  max-width: 290px;
  background: #F6EFE7;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(181, 166, 210, 0.11);
  padding: 32px 22px 28px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.17s, transform 0.17s;
  margin-bottom: 20px;
  position: relative;
}
.feature-grid li img {
  height: 38px;
  width: 38px;
  margin-bottom: 12px;
}
.feature-grid li h3 {
  font-size: 1.05rem;
  color: #2A3A4B;
  margin-bottom: 7px;
}
.feature-grid li p {
  font-size: 0.96rem;
  color: #6D7085;
  margin-bottom: 0;
}
.feature-grid li:hover, .feature-grid li:focus-within {
  box-shadow: 0 4px 32px rgba(201, 142, 54, 0.13);
  transform: translateY(-3px) scale(1.013);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: #FFF;
  border-radius: 16px;
  box-shadow: 0 1px 8px rgba(181,166,210,.07);
  padding: 26px;
  position: relative;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}
.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;
  margin-bottom: 18px;
}

/**** TESTIMONIAL CARDS ****/
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(53,40,80,0.07);
  padding: 20px;
  margin-bottom: 20px;
  position: relative;
  min-width: 0;
}
.testimonial-card blockquote {
  background: #F6EFE7;
  color: #2A3A4B;
  border-radius: 10px;
  border-left: 4px solid #B07828;
  font-size: 1.08em;
  padding: 14px 22px;
  margin-right: 0;
}
.testimonial-card > div:last-child {
  font-size: 1em;
  font-weight: 500;
  color: #6D7085;
}

/* BUTTONS & CTAs */
.cta-primary, a.cta-primary, button.cta-primary {
  background: linear-gradient(90deg, #FFE6CE, #FFF6ED);
  color: #B07828;
  font-family: 'Merriweather', serif;
  font-weight: 700;
  border-radius: 26px;
  border: none;
  padding: 13px 36px;
  box-shadow: 0 1px 8px rgba(201,142,54,0.10);
  margin-top: 8px;
  font-size: 1.14rem;
  transition: background 0.18s, color 0.15s, box-shadow 0.18s, transform 0.10s;
  cursor: pointer;
  display: inline-block;
  outline: none;
  text-align: center;
}
a.cta-primary:focus, a.cta-primary:hover, .cta-primary:focus, .cta-primary:hover {
  background: linear-gradient(90deg, #FFE2BE, #FFE6CE);
  color: #2A3A4B;
  box-shadow: 0 6px 30px rgba(201, 142, 54, 0.15);
  transform: translateY(-2px) scale(1.025);
}
button:active, .cta-primary:active {
  box-shadow: 0 1px 4px rgba(201, 142, 54, 0.12);
}

/* FOOTER */
footer {
  background: #F6EFE7;
  padding: 48px 0 16px 0;
  margin-top: 60px;
  color: #2A3A4B;
  min-height: 120px;
}
.footer-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 18px;
  font-family: 'Merriweather', serif;
  font-weight: 700;
  font-size: 1.01rem;
}
.footer-brand img {
  width: 51px; height: 51px;
}
.footer-brand span {
  font-weight: 400;
  font-size: 0.97em;
  color: #7E8BA3;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.footer-nav a {
  color: #2A3A4B;
  font-size: 1rem;
  transition: color 0.15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #B07828;
}
.footer-social {
  display: flex;
  align-items: center;
  gap: 18px;
}
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #FFF6ED;
  transition: background 0.17s;
  box-shadow: 0 1px 4px rgba(201,142,54,0.06);
}
.footer-social a:hover, .footer-social a:focus {
  background: #FFE6CE;
}
.footer-credit {
  width: 100%;
  margin-top: 24px;
  font-size: 0.92rem;
  color: #6D7085;
  text-align: left;
}

/* --------- COOKIE CONSENT BANNER --------- */
#cookie-banner {
  position: fixed;
  z-index: 1200;
  left: 0; right: 0; bottom: 0;
  background: #F6EFE7;
  border-top: 1.5px solid #E4D3C0;
  box-shadow: 0 -2px 18px rgba(42,58,75,0.10);
  width: 100vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 22px 5vw 20px 5vw;
  gap: 18px;
  animation: cookiebounce 0.5s cubic-bezier(.33,2,.66,.99) 1;
}
@keyframes cookiebounce {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0);   opacity: 1; }
}
#cookie-banner p {
  font-size: 1rem;
  color: #2A3A4B;
  text-align: center;
}
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 4px;
  justify-content: center;
}
.cookie-btn {
  background: #FFF6ED;
  color: #B07828;
  border-radius: 18px;
  border: 1.5px solid #D7BFA1;
  font-size: 1.08rem;
  padding: 7px 22px;
  margin: 0 4px;
  font-family: 'Lato', sans-serif;
  font-weight: 600;
  transition: background 0.16s, color 0.16s, border 0.15s;
  cursor: pointer;
  outline: none;
}
.cookie-btn.accept {
  background: linear-gradient(90deg,#FFDCA4,#FFF6ED);
  color: #2A3A4B;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #FFE6CE;
}
.cookie-btn.reject {
  background: #F2D6D8;
  color: #961542;
  border-color: #F7B7C3;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #FBC0D4;
}
.cookie-btn.settings {
  background: #FFFFFFFF;
  color: #A27327;
  border-color: #F7E1BF;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #F6EFE7;
}

/* Cookie Modal */
#cookie-modal {
  display: none;
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  z-index: 1250;
  background: rgba(242, 241, 247, 0.65);
  align-items: center;
  justify-content: center;
  transition: background 0.22s;
}
#cookie-modal.active {
  display: flex;
}
.cookie-modal-content {
  background: #F6EFE7;
  color: #2A3A4B;
  border-radius: 17px;
  box-shadow: 0 6px 40px rgba(181,166,210,.15);
  padding: 38px 23px 29px 30px;
  max-width: 460px;
  width: 92vw;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  animation: modalFadeIn 0.3s cubic-bezier(.51,2.3,.7,.87) 1;
}
@keyframes modalFadeIn {
  from {transform:scale(.8);opacity:0;} to {transform:scale(1);opacity:1;}
}
.cookie-modal-content h2 {
  font-size: 1.19rem;
  margin-bottom: 2px;
  font-family: 'Merriweather', serif;
}
.cookie-modal-content label {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 1rem;
  margin: 5px 0;
}
.cookie-toggle {
  width: 38px;
  height: 22px;
  background: #D7BFA1;
  border-radius: 15px;
  position: relative;
  display: inline-block;
  cursor: pointer;
  transition: background 0.16s;
}
.cookie-toggle input {
  display: none;
}
.cookie-toggle span {
  display: block;
  width: 20px;
  height: 20px;
  background: #FFF6ED;
  border-radius: 50%;
  position: absolute;
  top: 1px; left: 1px;
  transition: left 0.19s;
  box-shadow: 0 1px 5px rgba(42,58,75,.11);
}
.cookie-toggle input:checked + span {
  left: 17px;
  background: #B07828;
}
.cookie-modal-actions {
  margin-top: 18px;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}
.cookie-modal-close {
  position: absolute;
  top: 12px; right: 14px;
  background: #FFF;
  color: #A27327;
  border: none;
  border-radius: 50%;
  width: 34px; height: 34px;
  font-size: 1.33rem;
  display: flex;
  align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.12s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #FFE6CE;
}

/***** RESPONSIVE DESIGN & FLEXBOX ENFORCEMENT *****/
@media (max-width: 900px) {
  .footer-wrapper {
    flex-direction: column;
    gap: 22px;
  }
  .footer-brand { justify-content: center; margin-bottom: 8px; }
  .footer-credit { text-align: center; }
}
@media (max-width: 768px) {
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.28rem; }
  .content-wrapper { gap: 22px; }
  .feature-grid { gap: 18px; }
  .feature-grid li { max-width: 100%; min-width: 0; }
  .container { padding-left: 12px; padding-right: 12px; }
  section,
  .section { padding: 32px 10px 0 10px; margin-bottom: 32px; }
  .testimonial-card {
    flex-direction: column;
    gap: 12px;
    padding: 18px;
  }
  .main-nav {
    gap: 4px;
    padding: 13px 0;
  }
}
@media (max-width: 540px) {
  .feature-grid { gap: 13px; }
  section, .section { padding: 22px 3px 0 3px; margin-bottom: 22px; }
  .footer-wrapper { gap: 8vw 0; }
}
@media (max-width: 480px) {
  h1 { font-size: 1.17rem; }
  h2 { font-size: 1.08rem; }
  .cta-primary, a.cta-primary { font-size: 1rem; padding: 10px 16px; }
  .feature-grid li { padding: 19px 10px 14px 10px; }
}
@media (max-width: 530px) {
  .cookie-modal-content { padding: 26px 7px 20px 10px; }
}

/**** FLEXBOX MANDATORY LAYOUTS ****/
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
  }
  .content-grid {
    flex-direction: column;
    gap: 18px;
  }
}

/**** -- END FLEXBOX MANDATORY BLOCKS -- ****/

/**** EXTRA: DREAMY SOFT PASTEL EFFECTS ****/
body {
  /* Subtle pastel overlay for a dreamy atmosphere */
  background: linear-gradient(110deg, #FFF6ED 0%, #E4F0FE 100%);
}
.feature-grid li, .testimonial-card, .card {
  background: #FFF9F2;
  /* soft shadow */
  box-shadow: 0 1px 16px rgba(220, 182, 199, 0.10), 0 0px 2px rgba(206, 226, 250,.04);
}
footer {
  background: linear-gradient(90deg, #F6EFE7 54%, #F3E1F5 100%);
}
h1, h2, h3, .cta-primary {
  text-shadow: 0 1px 2px rgba(245, 226, 211,0.17);
}

/**** MICRO-ANIMATIONS & TRANSITIONS ****/
.feature-grid li, .testimonial-card, .card {
  transition: box-shadow 0.22s, transform 0.22s;
}
.cta-primary, a.cta-primary, button.cta-primary {
  transition: background 0.18s, color 0.18s, box-shadow 0.17s, transform 0.10s;
}
.footer-social a {
  transition: background 0.17s;
}
.mobile-menu, .cookie-modal-content {
  transition: transform 0.32s, background 0.22s;
}

/* Prevent content/section overlapping */
section, .section, .feature-grid li, .testimonial-card, .card, .card-container > * {
  margin-bottom: 20px;
}

/**** ACCESSIBLE FOCUS STATES ****/
a:focus, button:focus, input:focus, .cta-primary:focus {
  outline: 2px solid #B07828;
  outline-offset: 2px;
}

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

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