/* -------------------------------------------------------------
   CSS RESET & NORMALIZE (MOBILE-FIRST)
------------------------------------------------------------- */
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,
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;
}
body {
  line-height: 1.6;
  background: #FFFDF7;
  color: #264653;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family: 'Open Sans', Arial, sans-serif;
  min-height: 100vh;
}
*, *::before, *::after {
  box-sizing: inherit;
}
a {
  color: #F4A261;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #E76F51;
  outline: none;
}

img {
  max-width: 100%;
  display: block;
  border-radius: 16px;
}
ul { list-style: disc inside; margin: 0 0 24px 0; }
ol { list-style: decimal inside; margin: 0 0 24px 0; }
li { margin-bottom: 12px; }

address { font-style: normal; margin-bottom: 16px; }

/* -------------------------------------------------------------
   TYPOGRAPHY
------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #264653;
  font-weight: 700;
  margin-bottom: 12px;
}
h1 { font-size: 2.5rem; line-height: 1.1; margin-bottom: 20px; }
h2 { font-size: 2rem;   line-height: 1.15; margin-bottom: 20px; }
h3 { font-size: 1.4rem; line-height: 1.2; margin-bottom: 12px; }
h4, h5, h6 { font-size: 1rem; }
p, ul, ol { font-size: 1.1rem; line-height: 1.7; margin-bottom: 20px; }
strong { color: #E76F51; font-weight: 700; }

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.15rem; }
}

/* -------------------------------------------------------------
   LAYOUT & CONTAINERS
------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFFAF4;
  border-radius: 24px;
  box-shadow: 0 2px 16px 0 rgba(244, 162, 97, 0.08);
}
@media (max-width: 768px) {
  .section {
    padding: 28px 8px;
    margin-bottom: 36px;
  }
  .container {
    padding: 0 6px;
  }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 16px;
}
.card {
  background: #FFF;
  border-radius: 20px;
  box-shadow: 0 2px 12px rgba(230, 168, 68, 0.12);
  padding: 28px 20px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.18s cubic-bezier(.43,.41,.22,.91), box-shadow 0.18s;
}
.card:hover {
  transform: translateY(-5px) scale(1.018);
  box-shadow: 0 6px 28px rgba(244,162,97,0.18);
}

.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  border-radius: 18px;
  background: #FFF8F0;
  box-shadow: 0 2px 12px rgba(233,196,106,0.08);
  margin-bottom: 20px;
  position: relative;
  min-width: 260px;
  max-width: 440px;
  transition: box-shadow 0.18s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 8px 32px rgba(233,196,106,0.22);
}
.testimonial-card p {
  color: #264653;
  font-size: 1.08rem;
  font-style: italic;
  margin-bottom: 10px;
}
.testimonial-card span {
  font-weight: 600;
  color: #B15F2C;
  font-size: 0.98rem;
}

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

/* Utility: Hide default browser outline for click, keep for keyboard */
a:focus:not(:focus-visible), button:focus:not(:focus-visible) {
  outline: none;
}

/* -------------------------------------------------------------
   HEADER & NAVIGATION
------------------------------------------------------------- */
header {
  width: 100%;
  background: #FFF;
  box-shadow: 0 2px 14px rgba(38, 70, 83, 0.07);
  padding: 0 0 0 0;
  min-height: 72px;
  position: relative;
  z-index: 700;
}
header nav {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 12px 0 12px 0;
  justify-content: flex-start;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  color: #264653;
  letter-spacing: 0.04em;
  font-weight: 500;
  transition: color 0.22s, background 0.22s, border-radius 0.18s;
  padding: 8px 14px;
  border-radius: 15px;
  position: relative;
  z-index: 2;
}
header nav a:hover, header nav a:focus {
  background: #F4A261;
  color: #FFF;
}
header nav img {
  height: 43px;
  border-radius: 18px;
}

/* Hamburger menu button */
.mobile-menu-toggle {
  display: none;
  background: #F4A261;
  color: #FFF;
  font-size: 2.3rem;
  border: none;
  border-radius: 14px;
  padding: 2px 16px 1px 16px;
  cursor: pointer;
  margin-left: auto;
  transition: background .18s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #E9C46A;
  color: #264653;
}

/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(38,70,83,0.98);
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(.68,-0.55,.27,1.55);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 28px 24px 0 24px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: #E9C46A;
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
  margin-bottom: 18px;
  padding: 4px 10px;
  border-radius: 8px;
  transition: background .18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #F4A261;
  color: #FFF;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}
.mobile-nav a {
  color: #FFF;
  font-size: 1.25rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 12px 10px;
  border-radius: 12px;
  transition: background .18s, color .18s;
  background: transparent;
  text-align: left;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F4A261;
  color: #264653;
}

@media (max-width: 900px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    position: absolute;
    top: 18px;
    right: 20px;
  }
  header {
    min-height: 62px;
  }
}
@media (min-width: 901px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none;
  }
}

/* -------------------------------------------------------------
   BUTTONS, CTA, INTERACTIVES
------------------------------------------------------------- */
.cta, button, .cta.primary, .cta.secondary {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.08rem;
  padding: 12px 34px;
  border: none;
  border-radius: 22px;
  background: #F4A261;
  color: #FFF;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 2px 8px rgba(244,162,97, .13);
  transition: background .19s, box-shadow .19s, color .19s;
}
.cta.primary {
  background: #F4A261;
  color: #FFF;
}
.cta.secondary {
  background: #E9C46A;
  color: #264653;
}
.cta:hover, .cta:focus {
  background: #E76F51;
  color: #FFF;
  box-shadow: 0 5px 18px rgba(244,162,97, .25);
  outline: none;
}
.cta.secondary:hover, .cta.secondary:focus {
  background: #F4A261;
  color: #FFF;
}

button {
  font-family: inherit;
  font-size: inherit;
  background: #E9C46A;
  color: #264653;
  border-radius: 12px;
  border: none;
  padding: 9px 22px;
  transition: background 0.16s, color 0.16s;
}
button:hover, button:focus {
  background: #F4A261;
  color: #FFF;
}

/* -------------------------------------------------------------
   LISTS, ICONS IN LISTS
------------------------------------------------------------- */
ul li img {
  width: 27px;
  height: 27px;
  margin-right: 9px;
  display: inline-block;
  vertical-align: middle;
  border-radius: 9px;
  background: #FFF6EC;
  box-shadow: 0 1px 3px rgba(233,196,106,0.08);
}
ul li strong {
  margin-right: 2px;
}

/* -------------------------------------------------------------
   ACCENTED SECTIONS
------------------------------------------------------------- */
.section-accent {
  background: #E9C46A;
  color: #264653;
  border-radius: 24px;
  box-shadow: 0 2px 16px 0 rgba(244, 162, 97, 0.09);
}

/* -------------------------------------------------------------
   FOOTER STYLES
------------------------------------------------------------- */
footer {
  background: #264653;
  color: #FFF;
  padding: 32px 0 18px 0;
  font-size: 0.98rem;
  box-shadow: 0 -2px 18px rgba(38,70,83,0.05);
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 12px;
}
footer nav a {
  color: #E9C46A;
  font-size: 1.02rem;
  margin: 0 2px;
  transition: color .16s;
  padding: 2px 8px;
  border-radius: 6px;
}
footer nav a:hover, footer nav a:focus {
  background: #E9C46A;
  color: #264653;
}
footer p { text-align: center; color: #fff6e6; }

/* -------------------------------------------------------------
   COOKIE CONSENT BANNER & MODAL (BOTTOM FIXED)
------------------------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 11000;
  width: 100vw;
  background: #FFF7EC;
  border-top: 3px solid #F4A261;
  box-shadow: 0 -2px 8px rgba(233,196,106,0.13);
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  animation: cb-slidein .6s cubic-bezier(.4,1.3,.27,0.94);
}
@keyframes cb-slidein {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0%); opacity: 1; }
}
.cookie-banner-buttons {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.cookie-btn {
  padding: 8px 22px;
  border-radius: 17px;
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .16s, color .16s;
}
.cookie-btn.accept {
  background: #F4A261;
  color: #FFF;
}
.cookie-btn.accept:hover {
  background: #E76F51;
}
.cookie-btn.reject {
  background: #264653;
  color: #FFF;
}
.cookie-btn.reject:hover {
  background: #E76F51;
}
.cookie-btn.settings {
  background: #E9C46A;
  color: #264653;
}
.cookie-btn.settings:hover {
  background: #F4A261;
  color: #FFF;
}

.cookie-modal {
  position: fixed;
  z-index: 12000;
  left: 0;
  top: 0; width: 100vw; height: 100vh;
  background: rgba(38,70,83,0.68);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-content {
  background: #FFF7EC;
  border-radius: 28px;
  max-width: 390px;
  width: 94%;
  padding: 38px 24px 26px 24px;
  box-shadow: 0 6px 46px rgba(244,162,97, 0.12);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
}
.cookie-modal h3 {
  margin-bottom: 18px;
  color: #264653;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.cookie-modal-category label {
  font-weight: 600;
  font-size: 1.04rem;
  color: #264653;
}
.cookie-modal-category input[type=checkbox] {
  accent-color: #E9C46A;
  width: 20px;
  height: 20px;
  border-radius: 7px;
}
.cookie-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: #F4A261;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 6px;
  transition: background .15s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #FFF0E2;
  color: #264653;
}
.cookie-modal .cookie-btns {
  display: flex;
  gap: 14px;
  margin-top: 12px;
}

/* -------------------------------------------------------------
   RESPONSIVE
------------------------------------------------------------- */
@media (max-width: 1200px) {
  .container { max-width: 93vw; }
}
@media (max-width: 768px) {
  .container { padding: 0 2vw; }
  .content-wrapper, .card-container, .content-grid {
    flex-direction: column !important;
    gap: 16px;
  }
  .testimonial-card {
    max-width: 100%;
    min-width: unset;
  }
  .card {
    padding: 20px 12px;
  }
}

@media (max-width:520px) {
  .cookie-modal-content { max-width: 97vw; padding: 19px 7px 12px 7px; }
  .section, .section-accent { padding: 18px 2vw; }
}

/* -------------------------------------------------------------
   MISC/UTILITY
------------------------------------------------------------- */
/* Remove scroll on modal open */
body.menu-open, body.cookie-modal-open {
  overflow: hidden;
}

::-webkit-input-placeholder { color: #aaa; }
::-moz-placeholder { color: #aaa; }
:-ms-input-placeholder { color: #aaa; }
::placeholder { color: #aaa; }

/* Selection Color */
::selection {
  background: #F4A261;
  color: #FFF;
}

/* -------------------------------------------------------------
   FORM ELEMENTS (future proofing e.g. contact)
------------------------------------------------------------- */
input, textarea, select {
  border-radius: 11px;
  border: 1px solid #E9C46A;
  padding: 8px 14px;
  font-size: 1rem;
  font-family: inherit;
  outline: none;
  margin-bottom: 18px;
  background: #FFF8F0;
  color: #264653;
  transition: border .16s;
}
input:focus, textarea:focus, select:focus {
  border-color: #F4A261;
}

/* -------------------------------------------------------------
   ACCESSIBILITY/INTERACTIONS
------------------------------------------------------------- */
[tabindex]:focus, button:focus, .cta:focus {
  outline: 2px solid #E9C46A;
  outline-offset: 1.5px;
}

/* -------------------------------------------------------------
   BRAND UTILITY CLASSES
------------------------------------------------------------- */
.bg-primary    { background: #264653 !important; color: #FFF !important; }
.bg-secondary  { background: #F4A261 !important; color: #FFF !important; }
.bg-accent     { background: #E9C46A !important; color: #264653 !important; }
.text-primary  { color: #264653 !important; }
.text-secondary{ color: #F4A261 !important; }
.text-accent   { color: #E9C46A !important; }

/* -------------------------------------------------------------
   PRINT (hide interactive overlays)
------------------------------------------------------------- */
@media print {
  .mobile-menu, .cookie-banner, .cookie-modal { display: none !important; }
}
