/* =========================
   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,
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 {
  line-height: 1.5;
  font-size: 16px;
  background: #FAFAF7;
}
body {
  font-family: 'Montserrat', 'Georgia', serif;
  color: #39404D;
  background: #FAFAF7;
  min-height: 100vh;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #2280BA;
  text-decoration: none;
  transition: color .2s cubic-bezier(.4,0,.2,1);
}
a:hover, a:focus {
  color: #F9B233;
  outline: none;
}
ul, ol {
  list-style: none;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}
button {
  cursor: pointer;
}

/* =========================
   BRAND VARS & GENERALS
========================= */
:root {
  --brand-primary: #2280BA;
  --brand-secondary: #196399;
  --brand-accent: #F9B233;
  --brand-dark: #233047;
  --brand-text: #39404D;
  --muted-bg: #FAFAF7;
  --muted-grey: #E1E4EA;
  --muted-beige: #F5F2EB;
  --accent-light: #FFF9F0;
}

body {
  background: var(--muted-bg);
}

.container {
  width: 100%;
  max-width: 1112px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* =========================
   TYPOGRAPHY
========================= */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Baloo 2', 'Georgia', serif;
  color: var(--brand-dark);
  font-weight: 700;
  letter-spacing: 0.01em;
  margin: 0;
  line-height: 1.15;
}
h1 { font-size: 2.5rem; margin-bottom: 16px; }
h2 { font-size: 2rem; margin-bottom: 12px; }
h3 { font-size: 1.5rem; margin-bottom: 8px;  }
h4 { font-size: 1.2rem; margin-bottom: 8px; }
h5, h6 { font-size: 1rem; margin-bottom: 8px; }

@media (max-width:600px) {
  h1 { font-size: 1.65rem; }
  h2 { font-size: 1.3rem; }
  h3 { font-size: 1.1rem; }
}
p, ul, ol, address, blockquote, li {
  font-family: 'Montserrat', 'Georgia', serif;
  font-size: 1rem;
  color: var(--brand-text);
  line-height: 1.7;
  margin-bottom: 0.5em;
}

blockquote {
  font-style: italic;
  background: var(--muted-beige);
  border-left: 4px solid var(--brand-primary);
  padding: 16px 24px;
  margin: 0;
  border-radius: 8px;
}

strong {
  font-weight: bold;
  color: var(--brand-dark);
}

/* =========================
   HEADER & NAVIGATION
========================= */
header {
  background: #fff;
  box-shadow: 0 3px 12px -7px rgba(34,128,186,0.06);
  position: relative;
  z-index: 99;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 28px;
  padding: 0 20px;
  height: 72px;
  font-size: 1rem;
}
.main-nav img {
  height: 40px;
  width: auto;
  margin-right: 12px;
}
.main-nav a {
  font-family: 'Baloo 2', 'Georgia', serif;
  color: var(--brand-dark);
  font-size: 1.04rem;
  padding: 7px 14px;
  border-radius: 6px;
  transition: background 0.17s, color 0.17s;
  position: relative;
  white-space: nowrap;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--muted-beige);
  color: var(--brand-primary);
}

.mobile-menu-toggle {
  display: none;
  background: var(--brand-accent);
  color: var(--brand-dark);
  border-radius: 6px;
  font-size: 2rem;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: none;
  position: absolute;
  top: 14px;
  right: 20px;
  z-index: 110;
  transition: background .2s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--brand-primary);
  color: #fff;
}

@media (max-width:1000px) {
  .main-nav {
    gap: 14px;
  }
}
@media (max-width:880px) {
  .main-nav {
    font-size: 15px;
    gap: 10px;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* =========================
   MOBILE MENU STYLES
========================= */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(35,48,71, 0.92);
  z-index: 150;
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(.4,0,.2,1);
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  overflow: auto;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  background: transparent;
  font-size: 2.2rem;
  color: #fff;
  border: none;
  margin: 20px 22px 0 0;
  align-self: flex-start;
  cursor: pointer;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 22px;
  padding: 80px 40px 24px 24px;
  font-family: 'Baloo 2', 'Georgia', serif;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.26rem;
  padding: 8px 0 6px 0;
  border-radius: 4px;
  width: 100%;
  transition: background 0.14s, color 0.14s;
  text-align: right;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--brand-accent);
  color: var(--brand-dark);
}
@media (max-width:480px) {
  .mobile-nav {
    font-size: 1rem;
    padding: 80px 20px 16px 16px;
  }
}

/* =========================
   FOOTER
========================= */
footer {
  background: #fff;
  box-shadow: 0 -2px 18px -14px rgba(34,128,186,0.08);
  padding: 36px 0;
  margin-top: 60px;
}
.footer-nav {
  display: flex;
  gap: 32px;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
}
.footer-nav a {
  font-family: 'Baloo 2', 'Georgia', serif;
  color: var(--brand-primary);
  font-size: 1rem;
  padding: 7px 0;
  border-radius: 5px;
  transition: background .18s, color .14s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--muted-beige);
  color: var(--brand-dark);
}
footer address {
  margin-top: 20px;
  font-size: .98rem;
  color: var(--brand-dark);
  line-height: 1.6;
}
footer a {
  color: var(--brand-primary);
  text-decoration: underline dotted;
}
footer a:hover {
  color: var(--brand-accent);
}

/* =========================
   GENERIC SPACING, LAYOUT
========================= */
.section,
section {
  margin-bottom: 60px !important;
  padding: 40px 20px;
  background: none;
  border-radius: 18px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px -8px rgba(34,128,186,0.09);
  padding: 28px 24px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.18s;
}
.card:hover {
  box-shadow: 0 5px 16px -4px rgba(34,128,186,0.16);
}
.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;
    gap: 20px;
    align-items: flex-start;
  }
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 24px;
}

/* =========================
   HERO SECTIONS
========================= */
.hero, .hero-personalization {
  display: flex;
  align-items: center;
  padding: 64px 0 56px 0;
  background: var(--muted-beige);
  border-radius: 0 0 24px 24px;
  min-height: 360px;
  box-shadow: 0 6px 16px -10px rgba(34,128,186,0.07);
}
.hero .container,
.hero-personalization .container {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero h1, .hero-personalization h1 {
  color: var(--brand-primary);
}

@media (max-width:768px) {
  .hero, .hero-personalization {
    min-height: unset;
    border-radius: 0 0 16px 16px;
    padding: 40px 0 32px 0;
  }
}

/* =========================
   BUTTONS & CALL TO ACTIONS
========================= */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Baloo 2', 'Georgia', serif;
  font-size: 1.18rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  padding: 12px 30px;
  margin-top: 14px;
  background: var(--brand-accent);
  color: var(--brand-dark);
  box-shadow: 0 2px 11px -8px rgba(34,128,186,0.08);
  cursor: pointer;
  transition: box-shadow .16s, background .17s, color .18s, transform .18s;
}
.cta.primary {
  background: var(--brand-primary);
  color: #fff;
}
.cta:hover, .cta:focus {
  background: var(--brand-secondary);
  color: #fff;
  box-shadow: 0 4px 24px -6px rgba(34,128,186,0.22);
  transform: translateY(-2px) scale(1.025);
}

/* =========================
   FEATURES/CATEGORIES/SERVICES
========================= */
.features ul,
.values ul,
.main-categories ul,
.personalization-options ul,
.accessories-overview ul,
.recommended-combos ul,
.why-with-us ul,
.distinction ul {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 0 0 0 0;
  padding: 0;
}
.features ul li,
.values ul li,
.main-categories ul li,
.personalization-options ul li,
.accessories-overview ul li,
.recommended-combos ul li,
.why-with-us ul li,
.distinction ul li {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border-radius: 9px;
  padding: 15px 18px;
  box-shadow: 0 2px 8px -6px rgba(34,128,186,0.08);
  font-size: 1.07rem;
}
.features ul li img,
.values ul li img,
.personalization-options ul li img,
.main-categories ul li img,
.accessories-overview ul li img,
.why-with-us ul li img {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 7px;
  background: var(--accent-light);
  padding: 2px;
}
@media (max-width:768px) {
  .features ul,
  .values ul,
  .main-categories ul,
  .distinction ul {
    gap: 11px;
  }
}

/* =========================
   LISTS/GRIDS (CATEGORY GRIDS, SERVICE LISTS) - FLEXBOX ONLY
========================= */
.category-grid,
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.category-grid > div,
.service-list > div {
  flex: 1 1 240px;
  min-width: 220px;
  max-width: 48%;
  background: #fff;
  box-shadow: 0 2px 14px -8px rgba(34,128,186,0.07);
  border-radius: 14px;
  padding: 26px 20px 20px 20px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  align-items: flex-start;
  position: relative;
  transition: box-shadow 0.16s;
}
.service-list > div img {
  width: 36px;
  height: 36px;
  align-self: flex-start;
  margin-bottom: 10px;
}
.category-grid > div a,
.service-list > div a {
  margin-top: 10px;
}
.category-grid > div:hover,
.service-list > div:hover {
  box-shadow: 0 6px 20px -7px rgba(34,128,186,0.18);
}
@media (max-width:900px) {
  .category-grid > div,
  .service-list > div {
    max-width: 100%;
    flex: 1 1 100%;
  }
}
@media (max-width:600px) {
  .category-grid, .service-list {
    flex-direction: column;
    gap: 16px;
  }
  .category-grid > div,
  .service-list > div {
    min-width: 100%;
    max-width: 100%;
  }
}

/* =========================
   TESTIMONIALS
========================= */
.testimonials, .service-testimonial {
  background: var(--muted-beige);
  border-radius: 24px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 26px 18px 26px;
  margin: 24px 0 8px 0;
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 2px 14px -9px rgba(34,128,186,0.11);
  border: 1px solid var(--muted-grey);
  min-width: 220px;
  max-width: 540px;
  color: var(--brand-dark);
}
.testimonial-card blockquote {
  background: none;
  border-left: 4px solid var(--brand-accent);
  font-style: italic;
  color: var(--brand-dark);
  margin-bottom: 0;
}
.testimonial-card span {
  font-size: 0.98rem;
  color: var(--brand-text);
}
@media (max-width:600px) {
  .testimonial-card {
    padding: 18px 14px;
    max-width: 100%;
  }
}

/* =========================
   ABOUT/TEAM/BRAND STORY/APARTS
========================= */
.about, .brand-story, .values, .team, .privacy-policy, .gdpr-policy, .terms-of-use, .cookie-policy, .thank-you, .how-it-works, .accessories-overview, .recommended-combos, .distinction, .service-testimonial, .main-categories, .contact-snippet, .contact-section, .why-with-us {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 18px -8px rgba(34,128,186,0.08);
  margin-bottom: 60px;
  padding: 36px 22px;
}

/**** How it works - steps ordered list ****/
.how-it-works ol {
  counter-reset: step;
  list-style: none;
  padding-left: 0;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.how-it-works ol li {
  position: relative;
  padding-left: 38px;
  font-size: 1.09rem;
}
.how-it-works ol li:before {
  content: counter(step);
  counter-increment: step;
  width: 28px;
  height: 28px;
  background: var(--brand-accent);
  color: var(--brand-dark);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  position: absolute;
  left: 0; top: 2px;
  font-family: 'Baloo 2', serif;
  font-size: 1.11rem;
}

/* =========================
   CONTACT INFO, ADDRESS
========================= */
.contact-info {
  background: var(--muted-beige);
  padding: 18px 22px;
  border-radius: 10px;
  color: var(--brand-dark);
  margin-top: 12px;
  box-shadow: 0 1px 8px -6px rgba(12,45,85,0.08);
}
.contact-info address {
  font-size: 1rem;
  color: var(--brand-dark);
  margin-top: 6px;
}

/* =========================
   THANK YOU PAGE
========================= */
.thank-you {
  background: var(--muted-beige);
  border-radius: 18px;
  box-shadow: 0 2px 14px -10px rgba(34,128,186,0.08);
  text-align: center;
  padding-top: 56px;
  padding-bottom: 56px;
}

.thank-you h1 {
  color: var(--brand-primary);
}

@media (max-width: 600px) {
  .thank-you {
    padding: 28px 10px 28px 10px;
  }
}

/* =========================
   RESPONSIVE BEHAVIOUR
========================= */
@media (max-width: 900px) {
  .container { padding: 0 10px; }
  section, .section {
    padding: 30px 8px;
    margin-bottom: 40px;
  }
}
@media (max-width: 600px) {
  .container { padding: 0 4px; }
  section, .section {
    padding: 22px 2px;
    margin-bottom: 28px;
  }
}

/* =========================
   COOKIE CONSENT BANNER
========================= */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  border-top: 1.5px solid var(--brand-primary);
  box-shadow: 0 -2px 26px -10px rgba(34,128,186,0.16);
  padding: 20px 18px 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  z-index: 2500;
  width: 100%;
  max-width: 100vw;
  font-size: 1rem;
  animation: cookie-banner-fadein .7s cubic-bezier(.15,0,.3,1);
}
@keyframes cookie-banner-fadein {
  0% { transform: translateY(50px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  color: var(--brand-dark);
  margin-bottom: 0;
}
.cookie-buttons {
  display: flex;
  gap: 18px;
  margin-top: 6px;
}
.cookie-btn {
  font-family: 'Baloo 2', serif;
  font-size: 1rem;
  border: none;
  border-radius: 7px;
  padding: 10px 22px;
  font-weight: 600;
  margin: 0;
  transition: background 0.14s, color 0.14s, box-shadow 0.16s;
  background: var(--muted-grey);
  color: var(--brand-dark);
}
.cookie-btn.accept {
  background: var(--brand-primary);
  color: #fff;
}
.cookie-btn.reject {
  background: #fff;
  color: var(--brand-primary);
  border: 1.1px solid var(--brand-primary);
}
.cookie-btn.settings {
  background: var(--brand-accent);
  color: var(--brand-dark);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--brand-secondary);
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: var(--brand-accent);
  color: var(--brand-dark);
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(35,48,71,0.64);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .2s;
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 10px 46px -10px rgba(34,128,186,0.20);
  padding: 36px 34px 28px 34px;
  width: 98vw;
  max-width: 426px;
  display: flex;
  flex-direction: column;
  gap: 19px;
  animation: fadein-modal .5s cubic-bezier(.17,0,.36,1);
}
@keyframes fadein-modal {
  from { transform: translateY(80px) scale(0.97); opacity: 0.1; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.3rem;
  color: var(--brand-primary);
  margin-bottom: 8px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin: 14px 0;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  font-size: 1rem;
}
.cookie-category label {
  margin-left: 8px;
  font-family: 'Montserrat';
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--brand-primary);
  width: 22px; height: 22px;
}
.cookie-category.essential input[type="checkbox"] {
  accent-color: #bfbfbf;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 18px;
  margin-top: 11px;
  flex-wrap: wrap;
}
.cookie-modal .cookie-btn {
  min-width: 120px;
  margin: 0;
}
@media (max-width:450px) {
  .cookie-modal {
    padding: 22px 6px;
    max-width: 85vw;
  }
  .cookie-modal-actions {
    gap: 8px;
  }
}

/* Hide modal overlay when not visible */
.cookie-modal-overlay.hidden {
  display: none !important;
}

/* =========================
   MISCELLANEOUS
========================= */
::-webkit-scrollbar {
  width: 8px;
  background: #e7e7e7;
}
::-webkit-scrollbar-thumb {
  background: var(--muted-grey);
  border-radius: 5px;
}

/**** Subtle Shadow classes ****/
.shadow {
  box-shadow: 0 2px 16px -8px rgba(34,128,186,0.08);
}

/**** Utility spacing classes ****/
.mt-24 {margin-top: 24px;}
.mb-24 {margin-bottom: 24px;}
.mt-40 {margin-top: 40px;}
.mb-40 {margin-bottom: 40px;}
.py-24 {padding-top: 24px;padding-bottom: 24px;}

/**** FORM ELEMENTS (if present in contact or other forms) ****/
input, textarea, select {
  border: 1.1px solid var(--muted-grey);
  border-radius: 7px;
  background: #fff;
  padding: 11px 13px;
  font-size: 1rem;
  margin-bottom: 16px;
  width: 100%;
  transition: border .12s;
  outline: none;
}
input:focus, textarea:focus, select:focus {
  border: 1.1px solid var(--brand-primary);
}

/* Focus style for ALL links & buttons for accessibility */
a:focus, button:focus, .cta:focus, .cookie-btn:focus {
  outline: 2.5px solid var(--brand-accent);
  outline-offset: 2.5px;
}

/* ============= END CSS ============= */