/* ============================== */
/* CSS RESET & BASELINE 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,main,menu,nav,output,ruby,section,summary,time,mark,audio,video {
  margin: 0; padding: 0; border: 0; font-size: 100%; font: inherit; vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section {
  display: block;
}
body { line-height: 1; }
ol, ul {
  list-style: none;
}
blockquote, q {
  quotes: none;
}
blockquote:before,
blockquote:after, q:before, q:after {
  content: '';
}
table {
  border-collapse: collapse; border-spacing: 0;
}
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
img {
  max-width: 100%; height: auto; display:block;
}

/* ============================== */
/* BRAND VARIABLES (FALLBACKS)    */
/* ============================== */
:root {
  --primary: #244B5A;
  --secondary: #E1A13A;
  --accent: #F8F6F3;
  /* Soft pastel palette */
  --pastel-blue: #badeec;
  --pastel-lilac: #d2c1e5;
  --pastel-pink: #f6d6eb;
  --pastel-yellow: #fff6c3;
  --pastel-peach: #fce1d2;
  --white: #fff;
  --gray-100: #f8f8fa;
  --gray-200: #e8eaf0;
  --gray-700: #42525c;
}

body {
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
  background: var(--accent);
  color: var(--primary);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}

/**************************************/
/*          TYPOGRAPHY               */
/**************************************/
h1, .hero h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}
@media (max-width: 768px){ h1, .hero h1 { font-size: 2rem; } }
h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2rem;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.2px;
}
h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.35rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 14px;
}
.subtitle {
  font-size: 1.25rem;
  font-family: 'Roboto', Arial, sans-serif;
  color: var(--gray-700);
  margin-bottom: 24px;
  font-weight: 400;
}
p {
  font-size: 1.07rem;
  line-height: 1.65;
  color: var(--primary);
  padding-bottom: 8px;
}
strong { font-weight: bold; color: var(--primary); }

ul, ol {
  margin-top: 0;
  margin-bottom: 16px;
  padding-left: 1.1em;
}
li {
  margin-bottom: 12px;
  padding-left: 0.6em;
  font-size: 1.03rem;
  line-height: 1.6;
  color: var(--primary);
}

/********** HEADERS AND NAVIGATION **********/
header {
  width: 100%;
  background: var(--white);
  box-shadow: 0 2px 18px 0 rgba(34,87,122,0.04);
  z-index: 1001;
  position: sticky;
  top: 0;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
}
.logo {
  display: flex;
  align-items: center;
  margin-right: 32px;
}
.logo img {
  height: 48px;
  width: auto;
}
.main-nav {
  display: flex;
  gap: 22px;
  align-items: center;
}
.main-nav a {
  font-family: 'Roboto', Arial, sans-serif;
  color: var(--primary);
  font-weight: 500;
  font-size: 1rem;
  padding: 8px 0;
  border-radius: 5px;
  transition: background 0.18s, color 0.2s;
}
.main-nav .cta {
  background: var(--pastel-blue);
  color: var(--primary);
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 9px 20px;
  margin-left: 15px;
  border-radius: 25px;
  box-shadow: 0 4px 24px 0 rgba(119,186,220,0.09);
  transition: background 0.22s, color 0.21s, box-shadow 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--pastel-lilac);
  color: var(--secondary);
}
.main-nav .cta:hover, .main-nav .cta:focus {
  background: var(--secondary);
  color: var(--white);
  box-shadow: 0 6px 24px 0 rgba(225,161,58,0.14);
}

/********** MOBILE NAVIGATION **********/
.mobile-menu-toggle {
  display: none;
  font-size: 2.3rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--primary);
  transition: color 0.18s;
  z-index: 1202;
}

.mobile-menu {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  background: rgba(255,255,255,0.98);
  z-index: 1201;
  transform: translateX(100%);
  transition: transform 0.42s cubic-bezier(.62,.1,.3,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  margin: 24px 0 0 24px;
  font-size: 2rem;
  background: none;
  border: none;
  color: var(--primary);
  align-self: flex-start;
  cursor: pointer;
  opacity: 0.9;
  transition: color 0.18s, opacity 0.17s;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 90vw;
  padding: 45px 24px 24px 48px;
}
.mobile-nav a {
  display: block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  color: var(--primary);
  font-weight: 600;
  padding: 18px 0 12px 0;
  border-bottom: 1px solid var(--gray-200);
  width: 100%;
  transition: color 0.21s, background 0.14s;
  border-radius: 0;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--pastel-lilac);
  color: var(--secondary);
}

@media (max-width: 1050px) {
  .main-nav { gap: 14px; }
}
@media (max-width: 900px) {
  .main-nav { gap: 7px; }
  .logo img { height: 40px; }
}
@media (max-width: 820px) {
  .main-nav { gap: 4px; }
}
@media (max-width: 800px) {
  .main-nav { display: none; }
  .mobile-menu-toggle { display: block; }
}

/********** HERO / MAJOR HEADINGS **********/
.hero {
  background: linear-gradient(135deg, var(--pastel-blue) 0%, var(--pastel-pink) 100%);
  padding: 70px 0 54px 0;
  margin-bottom: 0;
  min-height: 320px;
}
.hero .container {
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  max-width: 700px;
  gap: 16px;
  background: rgba(255,255,255,0.85);
  border-radius: 32px;
  padding: 36px 28px 28px 32px;
  box-shadow: 0 4px 48px 0 rgba(211,193,229,0.11);
  margin-top: 18px;
}

/**************************************/
/*           SECTIONS                */
/**************************************/
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/**************************************/
/*          SPACING/FLEX GRIDS       */
/**************************************/
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
  margin-bottom: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 4px 18px 0 rgba(187,217,236,0.09);
  padding: 28px 24px 24px 24px;
  transition: box-shadow 0.24s, transform 0.18s;
  display: flex;
  flex-direction: column;
}
.card:hover, .card:focus {
  box-shadow: 0 10px 32px 0 rgba(114,173,194,0.13);
  transform: translateY(-6px) scale(1.02);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 16px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 24px;
  background: var(--pastel-yellow);
  border-radius: 18px;
  box-shadow: 0 2px 14px 0 rgba(244,205,97,0.10);
  min-width: 0;
  flex: 1 1 250px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding-bottom: 10px;
}

/********** SPECIAL COMPONENTS **********/
.awards {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 16px;
  background: var(--pastel-peach);
  border-radius: 12px;
  padding: 12px 24px;
  box-shadow: 0 2px 8px 0 rgba(252,225,210,0.13);
  font-size: 1.08rem;
  font-weight: 500;
}

/********* CALLS TO ACTION BUTTONS *******/
.cta {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary);
  background: var(--pastel-pink);
  border: none;
  padding: 12px 32px;
  margin-top: 12px;
  margin-bottom: 6px;
  border-radius: 25px;
  box-shadow: 0 4px 18px 0 rgba(246,214,235,0.12);
  cursor: pointer;
  transition: background 0.2s, color 0.14s, box-shadow 0.2s, outline 0.14s;
  outline: none;
  border: 2px solid transparent;
}
.cta:hover, .cta:focus {
  background: var(--pastel-blue);
  color: var(--secondary);
  box-shadow: 0 7px 22px 0 rgba(186,222,236,0.21);
  border: 2px solid var(--secondary);
}

/************ ICONS IN LISTS ************/
ul li img {
  width: 24px;
  height: 24px;
  vertical-align: middle;
  margin-right: 10px;
  border-radius: 8px;
  background: var(--pastel-lilac);
  padding: 3px;
}

/********* FOOTER **********************/
footer {
  background: linear-gradient(120deg, var(--pastel-blue), var(--pastel-pink));
  padding: 28px 0 8px 0;
  margin-top: 40px;
  box-shadow: 0 -4px 16px 0 rgba(34,75,90,0.03);
  color: var(--primary);
}
footer .container {
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.footer-logo img {
  height: 44px;
  margin-bottom: 4px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
}
.footer-nav a { color: var(--primary); opacity: 0.92; transition: color 0.15s; }
.footer-nav a:hover, .footer-nav a:focus { color: var(--secondary); opacity: 1; }
.social-links {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 4px;
}
.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--white);
  width: 36px; height: 36px;
  box-shadow: 0 1px 7px 0 rgba(186,222,236,0.14);
  transition: background 0.15s, box-shadow 0.18s;
}
.social-links a:hover, .social-links a:focus {
  background: var(--pastel-lilac);
  box-shadow: 0 2px 14px 0 rgba(210,193,229,0.19);
}
.footer-contact {
  font-size: 0.97rem;
  color: var(--primary);
  opacity: 0.75;
  text-align: center;
  margin-bottom: 0;
}

/*********** TESTIMONIALS **************/
.testimonial-card p {
  font-size: 1.09rem;
  line-height: 1.63;
  color: #453c3b;
}
.testimonial-card strong { color: #231f20; font-weight: 700; }
.testimonial-card div:last-child { font-size: 1.3rem; color: #FFB300; }

/************ COOKIE BANNER ************/
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--white);
  z-index: 99999;
  box-shadow: 0 -4px 32px 0 rgba(34,75,90,0.12);
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  gap: 24px;
  padding: 18px 24px;
  flex-wrap: wrap;
  border-radius: 24px 24px 0 0;
  transition: transform 0.27s cubic-bezier(.62,.1,.3,1), opacity 0.17s;
  font-size: 1.05rem;
}
.cookie-banner.hide { transform: translateY(120%); opacity: 0; pointer-events: none; }

.cookie-banner__actions {
  display: flex;
  gap: 14px;
  align-items: center;
}
.cookie-btn {
  background: var(--pastel-blue);
  color: var(--primary);
  border-radius: 20px;
  border: none;
  padding: 9px 22px;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  cursor: pointer;
  margin-right: 2px;
  transition: background 0.13s, color 0.12s, box-shadow 0.15s;
  font-size: 0.98rem;
  box-shadow: 0 2px 8px 0 rgba(186,222,236,0.12);
}
.cookie-btn.accept {
  background: var(--secondary);
  color: var(--white);
  margin-right: 8px;
}
.cookie-btn.settings {
  background: var(--pastel-lilac);
  color: var(--primary);
  margin-right: 8px;
}
.cookie-btn.reject {
  background: var(--pastel-pink);
  color: var(--primary);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--pastel-yellow);
  color: var(--secondary);
  outline: none;
}

/************** COOKIE MODAL ************/
.cookie-modal-overlay {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(68, 88, 100, 0.21);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.18s;
}
.cookie-modal-overlay.hide { opacity: 0; pointer-events: none; }
.cookie-modal {
  min-width: 320px;
  max-width: 92vw;
  background: var(--white);
  border-radius: 24px;
  box-shadow: 0 12px 48px 0 rgba(34,75,90,0.12);
  padding: 38px 28px 32px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.cookie-modal h2 {
  font-size: 1.35rem;
  color: var(--primary); font-weight: 700;
  margin-bottom: 18px;
}
.cookie-category {
  margin-bottom: 19px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.cookie-category label {
  font-size: 1.08rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
}
.cookie-toggle {
  accent-color: var(--secondary);
  width: 22px; height: 22px;
}
.cookie-modal-actions {
  display: flex;
  gap: 15px;
  margin-top: 14px;
}
.cookie-modal-close {
  position: absolute;
  top: 23px;
  right: 32px;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--primary);
  cursor: pointer;
  opacity: 0.7;
  transition: color 0.13s, opacity 0.11s;
}

/********** RESPONSIVE RULES ************/
@media (max-width: 1170px) {
  .container {
    max-width: 1000px;
  }
}
@media (max-width: 960px) {
  .container {
    max-width: 860px;
  }
  .hero .content-wrapper {
    padding: 22px 18px 18px 16px;
    margin-top: 7px;
  }
}
@media (max-width: 790px) {
  .footer-nav, .footer-contact, .social-links {
    flex-direction: column;
    align-items: flex-start;
  }
  .content-grid, .card-container {
    flex-direction: column;
    gap: 20px;
  }
}
@media (max-width: 768px) {
  .hero {
    padding: 35px 0 21px 0;
  }
  .hero .container {
    padding: 0 8px;
    min-height: 120px;
  }
  .hero .content-wrapper {
    max-width: 100%;
    padding: 14px 11px;
    margin-top: 2px;
    border-radius: 17px;
  }
  .section, section {
    margin-bottom: 32px;
    padding: 25px 4px;
  }
  .content-grid, .card-container {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 10px;
    padding: 16px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 425px) {
  .container { padding: 0 4px; }
  .footer-nav { gap: 13px; font-size: 0.97rem; }
  .footer-logo img { height: 30px; }
}

/********* HEADINGS/IMAGES ADJUSTMENT ***/
h1, h2, h3 {
  word-break: break-word;
  overflow-wrap: anywhere;
}

/************ FOCUS VISIBLE (A11Y) ********/
a:focus, button:focus, .cta:focus, .cookie-btn:focus {
  outline: 2.5px dashed var(--secondary);
  outline-offset: 1.5px;
}

/*************** UTILITY *****************/
.hide { display: none !important; }

/************** MICRO-INTERACTIONS ******/
.card, .cta, .cookie-btn, .testimonial-card, .footer-nav a, .main-nav a, .mobile-nav a, .social-links a {
  transition: background 0.18s, box-shadow 0.14s, color 0.18s, outline 0.17s, border 0.14s, transform 0.16s;
}

/**** END ****/
