/* 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 {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #FAF8F6;
  color: #1C3256;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}
img {
  max-width: 100%;
  display: block;
}
button {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  cursor: pointer;
  outline: none;
}

/* VARIABLES (with fallbacks) */
:root {
  --color-primary: #1C3256;
  --color-secondary: #F5C531;
  --color-accent: #E9E6E3;
  --color-warm-1: #FBEEDC;
  --color-warm-2: #F8D8B0;
  --color-warm-3: #FAD89F;
  --color-warm-4: #DAA520;
  --color-dark: #26324A;
  --color-white: #FFF;
  --color-grey: #999;
  --color-border: #E5E2DF;
  --shadow-base: 0 2px 12px 0 rgba(60, 50, 36, 0.08);
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --easing: cubic-bezier(0.47,0,0.745,0.715);
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Open Sans', Arial, sans-serif;
}

/* TYPOGRAPHY */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  color: var(--color-primary);
  font-weight: 700;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.15;
  margin-top: 8px;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}
p, ul, ol, li, blockquote {
  font-family: var(--font-body);
  font-size: 1rem;
  margin-bottom: 14px;
  color: var(--color-dark);
}
strong {
  font-weight: 700;
  color: var(--color-primary);
}
blockquote {
  background: var(--color-warm-1);
  padding: 18px 24px;
  border-left: 6px solid var(--color-secondary);
  font-size: 1.1rem;
  margin: 20px 0 20px 0;
  border-radius: var(--radius-md);
}

/* GLOBAL LAYOUT */
.container {
  width: 100%;
  max-width: 1130px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 0;
}
.text-section {
  margin-bottom: 16px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  box-shadow: var(--shadow-base);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  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;
  margin-bottom: 20px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--color-warm-1);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-base);
  margin-bottom: 20px;
  color: var(--color-dark);
  font-size: 1.06rem;
  min-width: 0;
  transition: box-shadow 0.3s var(--easing), transform 0.18s;
  word-break: break-word;
}
.testimonial-card strong {
  display: block;
  margin-top: 7px;
  color: var(--color-primary);
  font-size: 1rem;
}
.testimonial-card p {
  margin-bottom: 0;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 4px 24px 0 rgba(204, 166, 84, 0.11), 0 1.5px 8px 0 rgba(28,50,86,0.07);
  transform: translateY(-3px) scale(1.018);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

/* BUTTONS & CTAs */
.cta-btn,
button.cta-btn,
.mobile-menu nav .cta-btn {
  display: inline-block;
  background: var(--color-secondary);
  color: var(--color-primary);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.13rem;
  border: none;
  border-radius: var(--radius-md);
  padding: 13px 34px;
  box-shadow: 0 2px 10px 0 rgba(245, 197, 49, 0.13);
  margin-top: 0.7em;
  margin-bottom: 0.3em;
  transition: background 0.24s, color 0.22s, box-shadow 0.26s;
  cursor: pointer;
}
.cta-btn:hover, .cta-btn:focus {
  background: #FFD43B;
  color: #1C210E;
  box-shadow: 0 5px 22px 0 rgba(245, 197, 49, 0.21);
}
button:disabled, .cta-btn:disabled {
  opacity: 0.54;
  pointer-events: none;
}
.button-row {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

/* NAVBAR */
header {
  padding: 0 0 0 0;
  background: var(--color-white);
  box-shadow: 0 3px 16px 0 rgba(247, 192, 48, 0.08);
  position: relative;
  z-index: 50;
}
header nav {
  display: flex;
  align-items: center;
  gap: 23px;
  padding: 15px 0 15px 0;
  flex-wrap: wrap;
  justify-content:center;
}
header nav img {
  height: 38px;
  border-radius: var(--radius-sm);
}
header nav a {
  font-family: var(--font-display);
  color: var(--color-primary);
  font-weight: 600;
  font-size: 1.07rem;
  padding: 7px 13px;
  border-radius: var(--radius-sm);
  transition: background 0.2s, color 0.18s;
}
header nav a:hover,
header nav a:focus {
  background: var(--color-secondary);
  color: #322600;
}
header nav .cta-btn {
  margin-left: 12px;
  padding: 11px 26px;
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  background: var(--color-secondary);
  color: var(--color-primary);
  width: 46px;
  height: 46px;
  border-radius: var(--radius-lg);
  font-size: 1.8rem;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  margin-right: 10px;
  transition: background 0.2s, color 0.22s;
  z-index: 90;
  box-shadow: 0 2px 12px 0 rgba(249, 187, 59, 0.09);
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #FFD43B;
  color: #7E5C00;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  right: 0;
  width: 92vw;
  max-width: 350px;
  height: 100vh;
  background: var(--color-white);
  box-shadow: -3px 0 18px -2px rgba(245, 197, 49, 0.14);
  transform: translateX(110%);
  transition: transform 0.33s var(--easing);
  z-index: 1000;
  padding: 35px 26px 24px 26px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: #F5C531;
  color: #1C3256;
  font-size: 2.1rem;
  border-radius: var(--radius-lg);
  align-self: flex-end;
  margin-bottom: 13px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.17s, color 0.15s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #FFD43B;
  color: #7E5C00;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-top: 10px;
}
.mobile-nav a {
  font-size: 1.15rem;
  padding: 12px 8px;
  border-radius: var(--radius-md);
  color: var(--color-primary);
  font-family: var(--font-display);
  font-weight: 600;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #F5C531;
  color: #322600;
}
.mobile-nav .cta-btn {
  margin-top: 18px;
}

/* MAIN CONTENT */
main {
  background: none;
  min-height: 70vh;
  padding-bottom: 32px;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
ul, ol {
  padding-left: 0;
}
ul li, ol li {
  margin-bottom: 12px;
  padding-left: 28px;
  position: relative;
}
ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 13px;
  height: 13px;
  background: var(--color-secondary);
  border-radius: 60%;
  box-shadow: 0 1px 4px 0 rgba(245, 197, 49, 0.05);
  display: inline-block;
}
ul li img {
  height: 24px;
  width: 24px;
  vertical-align: middle;
  margin-right: 10px;
  margin-bottom: -4px;
}

/* CARDS & GRIDS */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

/* FOOTER */
footer {
  background: var(--color-accent);
  padding: 30px 0 32px 0;
  box-shadow: 0 -3px 12px 0 rgba(245, 197, 49, 0.09);
  font-size: 0.98rem;
  margin-top: 12px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 15px;
  justify-content: center;
  align-items: flex-start;
}
footer nav {
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
  margin-bottom: 7px;
}
footer nav a {
  color: #836008;
  font-family: var(--font-display);
  font-weight: 600;
  padding: 7px 11px;
  border-radius: var(--radius-sm);
  font-size: 1.03rem;
  transition: background 0.13s, color 0.13s;
}
footer nav a:hover,
footer nav a:focus {
  background: var(--color-secondary);
  color: #322600;
}
footer .text-section p {
  color: #5E5C52;
  font-size: 0.98em;
  line-height: 1.7;
}

/* MISC ELEMENTS */
hr {
  border: 0;
  border-top: 1.5px solid var(--color-border);
  margin: 28px 0;
}

/* SPACING & LAYOUT */
@media (min-width: 780px) {
  .content-wrapper {
    flex-direction: row;
    gap: 42px;
  }
  .text-section {
    flex: 1 1 0;
    min-width: 260px;
    margin-bottom: 0;
  }
}
@media (max-width: 768px) {
  .container {
    padding-left: 9px;
    padding-right: 9px;
  }
  .content-wrapper,
  .content-grid,
  .card-container {
    flex-direction: column;
    gap: 20px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  section {
    padding: 24px 6px;
  }
  footer .container {
    gap: 8px;
  }
}

/* TESTIMONIAL CARDS: STRONG COLOR CONTRAST */
.testimonial-card {
  background: var(--color-warm-1);
  color: var(--color-dark);
  border: 1.5px solid #F3DEB6;
}
.testimonial-card strong {
  color: var(--color-primary);
}

/* MICRO-INTERACTIONS & HOVER ANIMATIONS */
a, .cta-btn, button {
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.13s;
}
.card, .testimonial-card {
  transition: box-shadow 0.23s, transform 0.16s;
}
.card:hover, .card:focus,
.cta-btn:active {
  box-shadow: 0 4px 16px 0 rgba(245, 197, 49, 0.18), var(--shadow-base);
  transform: translateY(-1.5px) scale(1.015);
}

/* STAR ICONS IN TESTIMONIALS */
.testimonial-card img[alt*="star"] {
  width: 1.14em;
  height: 1.14em;
  margin-left: 2px;
  vertical-align: middle;
}

/* COOKIE CONSENT BANNER */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  background: var(--color-warm-2);
  color: var(--color-primary);
  border-top-left-radius: var(--radius-lg);
  border-top-right-radius: var(--radius-lg);
  box-shadow: 0 -4px 20px 0 rgba(245, 197, 49, 0.13);
  padding: 24px 18px;
  gap: 24px;
  font-size: 1rem;
  animation: cookieBannerIn 500ms var(--easing);
}
@keyframes cookieBannerIn {
  from { transform: translateY(102%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-consent-banner .button-row {
  gap: 14px;
}
.cookie-consent-banner button {
  padding: 7px 23px;
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  background: var(--color-secondary);
  color: var(--color-primary);
  border: none;
  box-shadow: 0 2px 7px 0 rgba(245,197,49,0.08);
  transition: background 0.21s, color 0.19s, box-shadow 0.19s;
}
.cookie-consent-banner button:hover, .cookie-consent-banner button:focus {
  background: #FFD43B;
  color: #1C210E;
}
.cookie-consent-banner .cookie-settings-btn {
  background: none;
  border: 1.5px solid var(--color-primary);
  color: var(--color-primary);
}
.cookie-consent-banner .cookie-settings-btn:hover, .cookie-consent-banner .cookie-settings-btn:focus {
  background: var(--color-primary);
  color: var(--color-secondary);
}

/* COOKIE CONSENT MODAL */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  z-index: 2500;
  background: var(--color-white);
  box-shadow: 0 6px 40px 0 rgba(45, 43, 32, 0.13);
  border-radius: var(--radius-lg);
  padding: 36px 28px 38px 28px;
  width: 96vw;
  max-width: 430px;
  transition: transform 0.23s var(--easing), opacity 0.23s;
  opacity: 0;
  pointer-events: none;
}
.cookie-modal.open {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  pointer-events: auto;
  animation: cookieModalIn 370ms var(--easing);
}
@keyframes cookieModalIn {
  from { opacity: 0; transform: translate(-50%, -50%) scale(0.93); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
.cookie-modal h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}
.cookie-modal ul {
  margin-top: 8px;
  margin-bottom: 18px;
}
.cookie-modal li {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 13px;
}
.cookie-modal .switch {
  width: 41px;
  height: 24px;
  background: var(--color-accent);
  border-radius: 12px;
  position: relative;
  margin-left: auto;
  transition: background 0.22s;
  border: 1px solid #e1ce8b;
  cursor: pointer;
}
.cookie-modal .switch input[type="checkbox"] {
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  position: absolute;
  left: 0; top: 0;
  margin: 0;
}
.cookie-modal .slider {
  position: absolute; left: 2px; top: 2px;
  width: 20px; height: 20px;
  background: var(--color-secondary);
  border-radius: 60%;
  transition: left 0.18s, background 0.2s;
}
.cookie-modal .switch input[type='checkbox']:checked + .slider {
  left: 19px;
  background: #FFCF00;
}
.cookie-modal .switch-disabled {
  opacity: 0.55; pointer-events: none;
  background: #F3E3BD;
}
.cookie-modal .close-modal {
  background: var(--color-secondary);
  color: var(--color-primary);
  font-size: 1.4rem;
  border-radius: var(--radius-lg);
  position: absolute;
  top: 15px;
  right: 20px;
  width: 37px;
  height: 37px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
}
.cookie-modal .close-modal:hover {
  background: #FFD43B;
  color: #1C210E;
}
.cookie-modal .button-row {
  margin-top: 19px;
  gap: 13px;
}

/* ACCESSIBILITY: FOCUS VISIBLE */
:focus {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
}
:focus:not(:focus-visible) {
  outline: none;
}

/* MEDIA QUERIES FOR NAV & MOBILE MENU */
@media (max-width: 1050px) {
  .container {
    max-width: 96vw;
  }
  header nav {
    gap: 18px;
  }
}
@media (max-width: 960px) {
  header nav {
    gap: 13px;
  }
}
@media (max-width: 820px) {
  header nav {
    gap: 7px;
  }
}
@media (max-width: 780px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .mobile-menu {
    display: flex;
  }
}

/* UTILITIES */
.hide-mobile { display: block; }
@media (max-width: 780px) {
  .hide-mobile { display: none; }
}

.hide-desktop { display: none; }
@media (max-width: 780px) {
  .hide-desktop { display: block !important; }
}

/* RESPONSIVE: COOKIE BANNER + MODAL */
@media (max-width: 700px) {
  .cookie-consent-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    font-size: 0.98rem;
    padding: 17px 8px 21px 8px;
  }
}

@media (max-width: 500px) {
  .cookie-modal {
    padding: 19px 5vw 22px 5vw;
    min-width: 0;
  }
}

/* END OF STYLE.CSS */
