/* ========================= RESET & BASE ========================= */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p,
a, em, img, strong, sub, sup, 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-family: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
}
body {
  background: #F9F6ED;
  color: #28314A;
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.6;
  font-size: 1rem;
  min-height: 100vh;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #A66C3B;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #28314A;
}
ul, ol {
  margin: 0 0 1.5em 1.5em;
}
h1,h2,h3,h4,h5,h6 {
  font-family: 'Playfair Display', serif;
  color: #28314A;
  font-weight: 800;
  letter-spacing: -0.5px;
}
h1 { font-size: 2.5rem; margin-bottom: 20px; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.375rem; margin-bottom: 12px; }
h4 { font-size: 1.2rem; }

strong { font-weight: 700; }
p { margin-bottom: 1.3em; }

.container {
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ========================= COLORS ========================= */
:root {
  --primary: #28314A;
  --secondary: #A66C3B;
  --accent: #F9F6ED;
  --vibrant-electric: #FF3B6B;
  --vibrant-lime: #45E169;
  --vibrant-blue: #297BFF;
  --vibrant-orange: #FFA629;
  --surface: #FFFFFF;
  --shadow: rgba(40,49,74,.10);
}

/* ========================= HEADER & NAV ========================= */
header {
  background: var(--surface);
  border-bottom: 4px solid var(--secondary);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 16px var(--shadow);
}
header .container {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
header nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
header nav a {
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 700;
  color: var(--primary);
  font-size: 1.1rem;
  letter-spacing: 0.25px;
  padding: 8px 8px;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
  position: relative;
}
header nav a:hover,
header nav a:focus {
  background: var(--vibrant-electric);
  color: #fff;
  outline: none;
}
header img {
  height: 44px;
}

.mobile-menu-toggle {
  display: none;
  background: var(--vibrant-electric);
  color: #fff;
  font-size: 2.1rem;
  border: none;
  border-radius: 8px;
  padding: 4px 20px;
  cursor: pointer;
  transition: background 0.15s, box-shadow .2s;
  box-shadow: 0 2px 8px var(--shadow);
}
.mobile-menu-toggle:focus {
  outline: 3px solid var(--vibrant-lime);
}

/* ========================= MOBILE MENU ========================= */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  background: rgba(40,49,74, 0.95);
  color: #fff;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(.65,.05,.36,1);
  padding: 18px 0 0 0;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  background: none;
  color: #fff;
  font-size: 2.1rem;
  border: none;
  align-self: flex-end;
  margin: 0 28px;
  cursor: pointer;
  transition: color 0.2s;
}
.mobile-menu-close:focus {
  outline: 3px solid var(--vibrant-orange);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  margin: 60px 36px 0 36px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 14px 0 12px 0;
  width: 100%;
  transition: background 0.13s, color 0.13s, padding 0.18s;
  border-radius: 5px;
  outline: none;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: var(--vibrant-lime);
  background: rgba(255,255,255,0.07);
  font-size: 1.44rem;
}

/* ========== Section Spacing ========== */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 600px) {
  section {
    margin-bottom: 32px;
    padding: 28px 8px;
  }
}

/* ========== HERO & SUBHEAD ========== */
.hero-sub {
  color: var(--vibrant-electric);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 18px;
  font-family: 'Roboto', Arial, sans-serif;
}

/* ========== FEATURE GRID & ITEMS ========== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
}
.feature-item {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 6px 28px var(--shadow);
  padding: 28px 24px 24px 24px;
  margin-bottom: 20px;
  min-width: 250px;
  flex: 1 1 260px;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: box-shadow 0.17s, transform 0.17s;
  border-bottom: 4px solid var(--vibrant-electric);
  position: relative;
}
.feature-item img {
  width: 54px;
  height: 54px;
  margin-bottom: 5px;
}
.feature-item h3 {
  font-size: 1.34rem;
  letter-spacing: 0.2px;
  color: var(--primary);
  margin: 0 0 6px 0;
}
.feature-item p {
  font-size: 1.04rem;
  color: var(--secondary);
}
.feature-item:hover, .feature-item:focus-within {
  box-shadow: 0 8px 34px rgba(255,59,107,0.15);
  transform: translateY(-5px) scale(1.025);
  border-bottom: 4px solid var(--vibrant-lime);
}

/* ========== TESTIMONIALS ========== */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 28px;
  background: var(--surface);
  border-left: 6px solid var(--vibrant-blue);
  box-shadow: 0 3px 14px var(--shadow);
  border-radius: 14px;
  font-style: italic;
  font-size: 1.11rem;
  margin-bottom: 20px;
  color: var(--primary);
  position: relative;
  min-width: 0;
  min-height: 90px;
  margin-right: 0;
  margin-left: 0;
}
.testimonial-card p {
  color: #222;
  font-style: italic;
  margin-bottom: 0;
  flex: 1 1 0%;
}
.testimonial-card span {
  display: block;
  margin-left: 26px;
  background: var(--vibrant-electric);
  color: #fff;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.02rem;
  padding: 3px 16px;
  border-radius: 10px;
}

/* ========== CTA BUTTONS ========== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, #FF3B6B 0%, #297BFF 100%);
  color: #fff;
  padding: 17px 36px;
  font-size: 1.13rem;
  font-weight: 800;
  font-family: 'Roboto', Arial, sans-serif;
  border-radius: 100px;
  box-shadow: 0 2px 20px 0 rgba(255,59,107,0.10);
  border: none;
  outline: none;
  letter-spacing: .09em;
  cursor: pointer;
  margin-top: 14px;
  margin-bottom: 20px;
  transition: background 0.2s, transform .18s, box-shadow 0.18s;
  position: relative;
  z-index: 1;
}
.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(90deg, #FFA629 0%, #45E169 100%);
  color: #fff;
  box-shadow: 0 6px 28px 0 rgba(69,225,105,0.14);
  transform: scale(1.06) translateY(-2px);
}

/* ========== FOOTER ========== */
footer {
  background: #212640;
  color: #fff;
  padding: 36px 0 26px 0;
  font-size: 1rem;
  box-shadow: 0 -3px 24px var(--shadow);
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
}
.footer-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}
.footer-nav a {
  color: var(--vibrant-orange);
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.16s;
}
.footer-nav a:hover {
  color: var(--vibrant-lime);
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  color: #fff;
  font-size: 1rem;
}
.footer-contact img:first-child {
  height: 34px;
}
.footer-social {
  display: flex;
  gap: 16px;
  justify-content: center;
}
.footer-social a {
  display: flex;
}
.footer-social img {
  height: 32px;
  width: 32px;
  filter: brightness(1.1) saturate(2);
  transition: filter .16s, transform .16s;
}
.footer-social a:hover img {
  filter: brightness(1.4) contrast(1.3) drop-shadow(0 2px 8px #fff8);
  transform: scale(1.14);
}

/* ========== CARDS, GRIDS & UTILITIES ========== */
.card-container, .card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 3px 16px var(--shadow);
  padding: 24px 18px;
  flex: 1 1 300px;
  min-width: 235px;
  transition: box-shadow 0.15s, transform .13s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 7px 28px rgba(255,59,107,0.16);
  transform: translateY(-3px) scale(1.02);
}
.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;
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ========== TEXT-IMAGE RESPONSIVE SECTION ========== */
@media (max-width: 900px) {
  .feature-grid, .content-grid {
    gap: 18px;
  }
  .feature-item, .card {
    min-width: 180px;
    padding: 18px 10px 14px 14px;
    font-size: 0.91rem;
  }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    gap: 6px;
    padding: 0 6px;
  }
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-flex;
  }
  .container {
    padding: 0 5vw;
  }
  .feature-grid {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
  .footer-contact {
    flex-direction: column;
    gap: 5px;
  }
  .footer-nav {
    flex-direction: column;
    gap: 10px;
  }
  .footer-social {
    gap: 10px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 9px;
    padding: 18px 10px;
  }
  .mobile-nav {
    margin: 36px 14px 0 14px;
  }
  .text-image-section {
    flex-direction: column; align-items: flex-start; gap: 20px;
  }
  .card-container, .card-grid, .content-grid {
    flex-direction: column;
    gap: 16px;
  }
}
@media (max-width: 520px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.38rem; }
  .feature-item h3 { font-size: 1.1rem; }
  .btn-primary { padding: 12px 14px; font-size: 1rem; }
  .feature-item { padding: 10px 8px; border-radius: 14px;}
}

/* ========== CONTENT LISTS ETC ========== */
ul, li {
  font-size: 1.05rem;
}
.text-section ul {
  list-style-type: none;
  margin: 0 0 14px 0;
  padding: 0;
}
.text-section ul li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: var(--secondary);
  font-weight: 600;
}
.text-section ul img {
  width: 24px;
  height: 24px;
}

/* ========== COOKIE CONSENT BANNER ========== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 9999;
  background: var(--primary);
  color: #fff;
  padding: 20px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 -3px 18px rgba(40,49,74,0.18);
  font-size: 1.01rem;
  animation: cookieBannerIn 0.56s cubic-bezier(.86,.1,.32,1) 1;
  gap: 24px;
}
@keyframes cookieBannerIn {
  0% { transform: translateY(200px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-banner-text {
  margin-bottom: 6px;
  text-align: center;
}
.cookie-banner .cookie-banner-actions {
  display: flex;
  gap: 18px;
}
.cookie-banner button {
  border: none;
  background: var(--vibrant-electric);
  color: #fff;
  padding: 10px 30px;
  margin: 0 2px;
  border-radius: 20px;
  font-size: 1.1rem;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 1px 10px 0 rgba(255,59,107,0.18);
  transition: background .13s, transform .12s;
}
.cookie-banner .btn-cookie-accept {
  background: var(--vibrant-lime);
  color: #222;
}
.cookie-banner .btn-cookie-accept:hover, .cookie-banner .btn-cookie-accept:focus {
  background: #36b354;
  color: #fff;
  transform: scale(1.08);
}
.cookie-banner .btn-cookie-reject {
  background: var(--vibrant-electric);
  color: #fff;
}
.cookie-banner .btn-cookie-reject:hover, .cookie-banner .btn-cookie-reject:focus {
  background: #c11c41;
  transform: scale(1.08);
}
.cookie-banner .btn-cookie-settings {
  background: var(--vibrant-blue);
  color: #fff;
}
.cookie-banner .btn-cookie-settings:hover, .cookie-banner .btn-cookie-settings:focus {
  background: #1256c4;
  transform: scale(1.08);
}

/* ===== COOKIE MODAL ===== */
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(40,49,74, 0.89);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity .2s;
}
.cookie-modal.open {
  pointer-events: auto;
  opacity: 1;
}
.cookie-modal-content {
  background: #fff;
  color: var(--primary);
  border-radius: 22px;
  max-width: 410px;
  min-width: 260px;
  padding: 32px 26px;
  box-shadow: 0 6px 32px rgba(255,59,107,0.15);
  animation: modalIn .33s cubic-bezier(.53,1.47,.62,.95) 1;
  position: relative;
  text-align: left;
}
@keyframes modalIn {
  0% { transform: scale(.85) translateY(80px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal-close {
  position: absolute; top: 18px; right: 16px;
  background: none;
  border: none;
  color: var(--vibrant-electric);
  font-size: 1.6rem;
  cursor: pointer;
  font-weight: bold;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 22px 0;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cookie-category label {
  font-weight: 600;
  color: var(--secondary);
}
.cookie-category .toggle-switch {
  display: inline-flex;
  align-items: center;
  width: 48px;
  height: 28px;
  background: #ddd;
  border-radius: 16px;
  position: relative;
  cursor: pointer;
  transition: background 0.22s;
}
.cookie-category input[type="checkbox"] {
  display: none;
}
.cookie-category .toggle-switch::before {
  content: '';
  display: block;
  width: 20px;
  height: 20px;
  background: var(--vibrant-electric);
  border-radius: 50%;
  position: absolute; left: 4px; top: 4px;
  transition: left 0.2s, background 0.19s;
}
.cookie-category input[type="checkbox"]:checked + .toggle-switch {
  background: var(--vibrant-lime);
}
.cookie-category input[type="checkbox"]:checked + .toggle-switch::before {
  left: 24px;
  background: var(--vibrant-lime);
}
.cookie-category .category-desc {
  font-size: 0.97em;
  color: #757575;
  margin-left: 8px;
}
.cookie-modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 18px;
}
.cookie-modal-actions button {
  border-radius: 24px;
  padding: 8px 20px;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  border: none;
  cursor: pointer;
}
.cookie-modal-actions .btn-cookie-save {
  background: var(--vibrant-lime);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 2px 11px rgba(69,225,105,0.10);
}
.cookie-modal-actions .btn-cookie-save:hover {
  background: #257b38;
}

/* ========== TYPOGRAPHY: HIERARCHY & ENERGETIC STYLE ========== */
.display {
  font-family: 'Playfair Display', serif;
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--vibrant-electric);
}
h1, .display {
  text-shadow: 0 2px 12px rgba(255,59,107,0.10), 0 0 0 #fff;
}

/* ================== MISC & MICRO-INTERACTIONS ================== */
::-webkit-scrollbar {
  width: 10px; background: #F9F6ED;
}
::-webkit-scrollbar-thumb {
  background: #FFE5EC; border-radius: 24px;
}
::-webkit-selection,
::selection { background: var(--vibrant-electric); color: #fff; }

/* Animate hover for sections */
section:hover {
  box-shadow: 0 2px 32px rgba(41,123,255,0.10);
}

/* Prevent card/card overlap */
.card, .feature-item {
  margin-right: 0;
  margin-left: 0;
}

/* Visually hidden class for accessibility */
.visually-hidden {
  border: 0 !important; clip: rect(1px, 1px, 1px, 1px);
  height: 1px !important; margin: -1px !important;
  overflow: hidden !important; padding: 0 !important;
  position: absolute !important; width: 1px !important;
}

/* ========================= RESPONSIVE TWEAKS ========================= */
@media (max-width: 400px) {
  .cookie-banner { padding: 13px 6px; font-size: .93rem; }
}

/* ================= COMMENT: Only Flexbox used in all Layouts ================= */