/* =====================
  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 {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}

body {
  min-height: 100vh;
  line-height: 1.6;
  font-family: 'Roboto', Arial, sans-serif;
  background: #F7FAFC;
  color: #224163;
  letter-spacing: 0.04em;
  position: relative;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #224163;
  text-decoration: none;
  transition: color .2s cubic-bezier(.68,-0.55,.27,1.55);
}
a:focus, a:hover {
  color: #7EA0B7;
  outline: none;
}
ul, ol {
  margin-left: 24px;
}

/* ===========================
    BRAND FONTS  
=========================== */
h1, h2, h3, h4, .cta-btn, nav a, .mobile-nav a {
  font-family: 'Montserrat', 'Montserrat-Fallback', Arial, sans-serif;
  font-weight: 700;
}

/* ===========================
   COLORS as CUSTOM PROPERTIES
=========================== */
:root {
  --clr-primary: #224163;
  --clr-secondary: #7EA0B7;
  --clr-accent: #F7FAFC;
  --clr-highlight: #FFB84B; /* creative pop for buttons */
  --clr-art-1: #C855BC;
  --clr-art-2: #256EFF;
  --clr-art-3: #FFB84B;
  --clr-art-4: #FF637D;
  --clr-light: #FFFFFF;
  --clr-neutral: #F7FAFC;
  --clr-footer: #EDF2F5;
}

/* ===========================
    LAYOUT CONTAINERS
=========================== */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

/* ===================
    SECTION SPACING
===================*/
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}

@media (max-width: 768px) {
  section {
    padding: 28px 8px;
    margin-bottom: 32px;
  }
}

/* =========
 TYPOGRAPHY
=========== */
h1 {
  font-size: 2.75rem;
  line-height: 1.15;
  color: var(--clr-art-1);
  text-shadow: 0px 3px 10px rgba(200,85,188,0.07);
  margin-bottom: 12px;
}
h2 {
  font-size: 2rem;
  line-height: 1.18;
  color: var(--clr-art-2);
  margin-bottom: 4px;
}
h3 {
  font-size: 1.3rem;
  color: var(--clr-art-4);
}
h4 {
  font-size: 1.1rem;
  color: var(--clr-art-2);
}
.text-section p, .text-section ul, .feature-grid p, .bullet-list li, .information-list li {
  font-size: 1.0625rem;
  color: var(--clr-primary);
  line-height: 1.8;
}

/* Large display sizes */
@media (min-width: 1200px) {
  h1 {
    font-size: 3.2rem;
  }
  h2 {
    font-size: 2.4rem;
  }
}

@media (max-width: 700px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.3rem;
  }
}

strong {
  color: var(--clr-art-2);
}

.text-section {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.bullet-list {
  margin-left: 0;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  list-style: disc inside;
}

.information-list {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.information-list img {
  width: 22px;
  margin-right: 10px;
  vertical-align: middle;
  filter: drop-shadow(1px 1px 2px rgba(125,168,183,.13));
}

/* ==========================
   BRAND HEADER & NAVIGATION
========================== */
header {
  width: 100%;
  height: auto;
  background: var(--clr-art-1);
  position: relative;
  box-shadow: 0 6px 24px 0 rgba(34,65,99,0.07);
  z-index: 10;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px 18px 0;
}
header nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
header nav a, footer nav a {
  color: var(--clr-light);
  font-weight: 600;
  padding: 6px 0px;
  font-size: 1.1rem;
  position: relative;
  letter-spacing: 0.025em;
  margin-right: 10px;
  margin-bottom: 3px;
  transition: color .2s;
}
header nav a:last-child {margin-right: 0;}
header nav a:hover,
header nav a:focus {
  color: var(--clr-art-3);
}

header img {
  height: 42px;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--clr-art-3);
  color: var(--clr-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.170rem;
  font-weight: 700;
  border-radius: 32px;
  border: none;
  padding: 13px 38px;
  margin-left: 18px;
  transition: background 0.23s cubic-bezier(.42,0,.58,1), color 0.2s;
  box-shadow: 0 5px 12px 0 rgba(255,184,75,0.20);
  text-shadow: 0px 3px 8px rgba(248,165,83,0.13);
  cursor: pointer;
  letter-spacing: .08em;
}
.cta-btn:hover,
.cta-btn:focus {
  background: var(--clr-art-4);
  color: var(--clr-light);
  box-shadow: 0 7px 20px 0 rgba(255,76,105,0.15);
}

/* =============
    MOBILE MENU
 ============= */
.mobile-menu-toggle {
  display: none;
  background: var(--clr-art-2);
  color: var(--clr-light);
  border: none;
  font-size: 2.2rem;
  padding: 7px 16px;
  border-radius: 7px;
  margin-left: 12px;
  align-self: center;
  transition: background .18s, color .16s;
  cursor: pointer;
  z-index: 302;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--clr-art-1);
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--clr-art-1);
  color: var(--clr-light);
  transform: translateX(-100vw);
  transition: transform .33s cubic-bezier(0.77,0,0.175,1);
  z-index: 301;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 38px 20px 20px 28px;
  box-shadow: 12px 0 16px 0 rgba(34,65,99,0.18);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--clr-light);
  font-size: 2.3rem;
  position: absolute !important;
  left: 23px; top: 24px;
  cursor: pointer;
  z-index: 305;
  transition: color 0.16s;
  overflow: visible !important;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: var(--clr-art-3);
}
.mobile-nav {
  margin-top: 52px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.mobile-nav a {
  color: var(--clr-art-3);
  font-size: 1.3rem;
  letter-spacing: .019em;
  padding: 8px 0 8px 6px;
  border-radius: 7px;
  transition: background 0.12s, color 0.24s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--clr-art-4);
  color: var(--clr-light);
}

@media (max-width: 1020px) {
  header .container nav { display: none; }
  .cta-btn { margin-left: 0!important; }
  .mobile-menu-toggle { display: block; }
}
@media (max-width: 768px) {
  header .container {
    flex-wrap: wrap;
    padding: 10px 7px 7px 0;
  }
  header img { height: 32px; }
}

/* ================
   MAIN SECTIONS
================ */
main .content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
  padding: 0;
}

main > section {
  background: var(--clr-neutral);
  border-radius: 26px;
  box-shadow: 0 6px 32px 0 rgba(126,160,183,.08), 0 1px 2px 0 rgba(200,85,188,0.05);
}

/* ====================
    CARD LAYOUTS
==================== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: 20px;
  background: var(--clr-light);
  box-shadow: 0 2px 10px 0 rgba(200,85,188,0.05), 0 1px 5px 0 rgba(34,65,99,0.03);
  padding: 26px 28px;
  flex: 1 0 312px;
  min-width: 260px;
  max-width: 400px;
  transition: box-shadow .19s, transform .19s;
}
.card:hover {
  box-shadow: 0 6px 32px 4px rgba(255,99,125,0.10), 0 0px 12px 0 rgba(34,65,99,0.06);
  transform: translateY(-3px) scale(1.02);
  z-index: 3;
}

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

/* ===============
 FEATURE SECTIONS
================*/
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: stretch;
  margin-top: 10px;
}
.feature-grid > div {
  flex: 1 1 210px;
  min-width: 235px;
  max-width: 330px;
  background: var(--clr-light);
  border-radius: 22px;
  box-shadow: 0 1px 7px 0 rgba(37,110,255,0.09);
  padding: 27px 20px 21px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: box-shadow .19s, transform .17s;
  margin-bottom: 16px;
  border-left: 5px solid var(--clr-art-2);
  border-top: 2.5px solid var(--clr-art-1);
}
.feature-grid > div:hover {
  box-shadow: 0 12px 34px 0 rgba(200,85,188,0.10), 0 3px 17px 0 rgba(34,65,99,0.09);
  border-left: 5px solid var(--clr-art-4);
  border-top: 2.5px solid var(--clr-art-3);
  transform: scale(1.03) rotate(-1.2deg);
  z-index: 3;
}
.feature-grid img {
  width: 46px;
  height: 46px;
  margin-bottom: 6px;
  filter: drop-shadow(0px 1.5px 5px rgba(255,184,75,0.13));
}

@media (max-width: 990px) {
  .feature-grid {
    flex-direction: column;
    gap: 22px;
  }
  .feature-grid > div {
    max-width: 100%;
    width: 100%;
  }
}

/* ===============
 TESTIMONIALS
=============== */
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 24px 22px 24px;
  border-radius: 19px;
  background: #fff;
  color: #224163;
  box-shadow: 0 1.5px 10px 0 rgba(34,65,99,0.07), 0 3px 18px 0 rgba(200,85,188,0.07);
  margin-bottom: 16px;
  min-width: 260px;
  max-width: 410px;
  flex: 1 1 275px;
  position: relative;
  border-bottom: 5px solid var(--clr-art-1);
  border-top: .5px solid var(--clr-art-2);
  font-size: 1.11rem;
  z-index: 1;
  transition: box-shadow .18s;
}
.testimonial-card strong {
  color: var(--clr-art-1);
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px 2px rgba(255,99,125,0.11), 0 3px 14px 0 rgba(200,85,188,0.12);
  border-bottom: 5px solid var(--clr-art-4);
}
.testimonial-card p {
  color: #224163;
  font-size: 1.14rem;
  font-family: 'Roboto', Arial, sans-serif;
  margin-bottom: 7px;
  line-height: 1.7;
}
.testimonial-card span {
  font-size: 1.0rem;
  color: #224163;
  font-family: 'Montserrat', Arial, sans-serif;
  opacity: .83;
}

@media (max-width: 900px) {
  .testimonial-list {
    flex-direction: column;
    gap: 16px;
  }
}

/* ===========
  LISTS
=========== */
.bullet-list li {
  margin-bottom: 12px;
  font-size: 1.08rem;
  font-family: 'Roboto', Arial, sans-serif;
  color: var(--clr-primary);
}
.bullet-list strong {
  color: var(--clr-art-4);
}

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

/* =====================
     FOOTER STYLES
===================== */
footer {
  background: var(--clr-footer);
  width: 100%;
  padding: 42px 0 24px 0;
  box-shadow: 0 -2px 18px 0 rgba(34,65,99,0.03);
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
footer nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}
footer nav a {
  color: var(--clr-primary);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: .02em;
  border-bottom: 2px solid transparent;
  margin-right: 0;
}
footer nav a:hover, footer nav a:focus {
  border-bottom: 2px solid var(--clr-art-2);
  color: var(--clr-art-2);
}
footer .contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 1.01rem;
  color: var(--clr-primary);
  align-items: center;
  margin-bottom: 8px;
}
footer .contact-info img {
  width: 19px;
  vertical-align: middle;
  margin-right: 4px;
}
footer .opening-hours {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--clr-secondary);
  font-size: 1rem;
}
footer .opening-hours img {
  width: 18px;
  vertical-align: middle;
}
footer .footer-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #AB62BE;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.09rem;
  margin-top: 10px;
  opacity: .87;
}
footer .footer-brand img {
  width: 38px;
  margin-right: 6px;
}

@media (max-width: 850px) {
  footer .container {flex-direction: column; gap: 22px;}
}

@media (max-width: 600px) {
  footer {
    padding: 20px 0 12px 0;
  }
  footer .container {padding: 0 8px;}
  footer .footer-brand img {width: 24px;}
}

/* =====================
   RESPONSIVE FLEX GRIDS
===================== */
.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: 16px;
  }
}

/* ===============
   SPECIAL EFFECTS
================ */
.card, .feature-grid > div, .testimonial-card {
  transition: box-shadow .19s, transform .18s;
}

.card:hover, .feature-grid > div:hover, .testimonial-card:hover {
  /* slight jump */
  transform: translateY(-3px) scale(1.012);
}

/* For content spacing between cards */
.card, .feature-grid > div, .testimonial-card {
  margin-bottom: 20px;
}

/* ============================
   COOKIE CONSENT BANNER STYLES
============================ */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--clr-art-2);
  color: var(--clr-light);
  width: 100%;
  padding: 22px 18px 20px 18px;
  box-shadow: 0px -7px 18px 0 rgba(34,65,99,0.11);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  z-index: 1500;
  font-size: 1.09rem;
  opacity: 1;
  transition: opacity .25s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .banner-text {
  max-width: 670px;
  text-align: center;
  color: var(--clr-light);
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 17px;
}
.cookie-banner button, .cookie-modal button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.06rem;
  font-weight: 700;
  border: none;
  border-radius: 24px;
  padding: 9px 27px;
  background: var(--clr-art-3);
  color: var(--clr-primary);
  cursor: pointer;
  margin: 0 5px;
  transition: background .18s, color .13s;
  box-shadow: 0 2px 8px 0 rgba(255,184,75,.11);
}
.cookie-banner button.cookie-settings {
  background: var(--clr-art-2);
  color: var(--clr-light);
  border: 1.4px solid var(--clr-art-3);
}
.cookie-banner button:hover,
.cookie-banner button:focus {
  background: var(--clr-art-1);
  color: var(--clr-light);
}
.cookie-banner button.cookie-settings:hover {
  background: var(--clr-art-4);
  color: var(--clr-light);
  border-color: var(--clr-art-4);
}

/* COOKIES MODAL */
.cookie-modal {
  position: fixed;
  bottom: 50%;
  left: 50%;
  transform: translate(-50%, 50%) scale(1);
  background: var(--clr-art-1);
  color: var(--clr-light);
  border-radius: 26px;
  box-shadow: 0 7px 33px 1px rgba(34,65,99,0.19);
  min-width: 340px;
  max-width: 96vw;
  width: 394px;
  padding: 33px 28px 24px 28px;
  z-index: 3002;
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: cookiePop .36s cubic-bezier(.68,-0.22,.41,1.19);
}
@keyframes cookiePop {
  from { opacity: 0; transform: translate(-50%,60%) scale(0.66); }
  to   { opacity: 1; transform: translate(-50%,50%) scale(1); }
}
.cookie-modal h2 {
  color: var(--clr-art-3);
  font-size: 1.35rem;
  margin-bottom: 11px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 17px;
  margin-bottom: 10px;
}
.cookie-modal label {
  flex: 1 1 auto;
  font-size: 1.1rem;
  color: var(--clr-light);
}
.cookie-modal .switch {
  position: relative;
  display: inline-block;
  width: 38px; height: 22px;
}
.cookie-modal .switch input { display: none; }
.cookie-modal .slider {
  position: absolute;
  cursor: pointer;
  background: var(--clr-art-4);
  border-radius: 24px;
  top: 0; left: 0; right: 0; bottom: 0;
  transition: background .13s;
}
.cookie-modal .slider:before {
  content: '';
  position: absolute;
  height: 17px; width: 17px;
  left: 2px; bottom: 2.5px;
  background: var(--clr-light);
  border-radius: 50%;
  transition: transform .19s;
}
.cookie-modal .switch input:checked + .slider {
  background: var(--clr-art-2);
}
.cookie-modal .switch input:checked + .slider:before {
  transform: translateX(16px);
}
.cookie-modal .modal-btns {
  display: flex;
  gap: 13px;
  justify-content: flex-end;
  margin-top: 14px;
}
.cookie-modal .close-modal {
  background: transparent;
  color: var(--clr-art-3);
  font-size: 2rem;
  position: absolute;
  top: 11px; right: 17px;
  border: none;
  cursor: pointer;
  transition: color .18s;
}
.cookie-modal .close-modal:hover,
.cookie-modal .close-modal:focus {
  color: var(--clr-art-4);
}

@media (max-width: 600px) {
  .cookie-modal {
    width: 97vw;
    min-width: unset;
    padding: 16px 7px 18px 12px;
  }
}

/* ===========
   FORMS
=========== */
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.1rem;
  border: 1.5px solid var(--clr-art-2);
  border-radius: 18px;
  padding: 12px 17px;
  margin-bottom: 14px;
  background: var(--clr-accent);
  transition: border 0.18s;
  outline: none;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--clr-art-4);
}

/* ===========
   ANIMATION
============ */
.fadein {
  animation: fadein 1s;
}
@keyframes fadein {
  0% {opacity:0;transform: translateY(17px) scale(.98);}
  100% {opacity:1;transform: none;}
}

/* ================
 GENERAL ELEMENTS
================ */
hr {
  border: 0;
  height: 1px;
  background: var(--clr-art-2);
  margin: 23px 0;
}
blockquote {
  border-left: 5px solid var(--clr-art-2);
  padding-left: 20px; 
  color: var(--clr-art-4); 
  font-style: italic;
  margin-bottom: 19px;
}

/* ==================
    MISCELLANEOUS STYLE
================== */
::-webkit-scrollbar {
  width: 10px;
  background: var(--clr-neutral);
}
::-webkit-scrollbar-thumb {
  background: var(--clr-art-1);
  border-radius: 12px;
}

/* = RESETS FOR FLEX CONTAINERS ON MOBILE = */
@media (max-width: 768px) {
  .feature-grid,
  .content-grid,
  .card-container,
  .testimonial-list {
    flex-direction: column !important;
    gap: 18px;
    align-items: stretch;
  }
}

/* ==================
    ACCESSIBILITY FOCUS
================== */
a, button, input, textarea, select {
  outline: none;
}
a:focus, button:focus {
  outline: 2.5px solid var(--clr-art-2);
  outline-offset: 1.5px;
}

/* ========
 UTILITIES
========== */
.centered {text-align:center;}
.mt-32 {margin-top: 32px;}
.mb-24 {margin-bottom: 24px;}
.mb-16 {margin-bottom: 16px;}
.pt-24 {padding-top: 24px;}

/* ================
    PRINT FRIENDLY
================ */
@media print {
  .mobile-menu, .mobile-menu-toggle, .cookie-banner, .cookie-modal { display: none !important; }
  header, footer { box-shadow: none; }
  body, section { background: #fff !important; }
}
