/* -------------------------------------------------
   CSS RESET & BASELINE NORMALIZATION (MOBILE-FIRST)
------------------------------------------------- */

html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  min-height: 100vh;
  background-color: #F8F7F9;
  color: #252540;
  font-family: 'Lato', Arial, sans-serif;
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg {
  max-width: 100%;
  height: auto;
  display: block;
  border: none;
}
a {
  color: #467c96;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #5953b6;
  text-decoration: underline;
}
ul, ol {
  margin-left: 20px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', Georgia, serif;
  color: #1A1A2E;
  margin-bottom: 12px;
  font-weight: 700;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 1.7rem; margin-bottom: 16px; }
h3 { font-size: 1.15rem; margin-bottom: 10px; }
h4, h5, h6 { font-size: 1rem; }
p   { margin-bottom: 16px; }
strong { font-weight: 700; }
table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 1rem;
}
thead th {
  background: #E1D8B2;
  color: #1A1A2E;
  padding: 12px 10px;
  font-family: 'Merriweather', serif;
}
tbody td {
  padding: 10px 8px;
  background: #faf9fa;
  border-bottom: 1px solid #ececec;
}
tr:last-child td {
  border-bottom: none;
}
dt {
  font-weight: 700;
  margin-top: 12px;
  margin-bottom: 2px;
}
dd {
  margin-bottom: 8px;
  margin-left: 0;
}
blockquote {
  font-family: 'Merriweather', Georgia, serif;
  font-style: italic;
  background: #F7F5F0;
  border-left: 5px solid #A7BBC7;
  color: #313355;
  padding: 18px 20px;
  margin-bottom: 12px;
}
address {
  font-style: normal;
  margin-bottom: 16px;
}


/* --------------------------------------------------
   BRAND COLORS & SOFT-PASTEL DESIGN TOKEN VARIABLES
--------------------------------------------------- */
:root {
  --primary: #1A1A2E;
  --secondary: #E1D8B2;
  --accent: #A7BBC7;
  --pastel-blue: #C6D6EB;
  --pastel-teal: #B5E4DC;
  --pastel-lavender: #EBE6F6;
  --pastel-pink: #FFE5EC;
  --pastel-yellow: #FFF5D6;
  --soft-bg: #F8F7F9;
  --card-bg: #FFF;
  --testimonial-bg: #F2F8F9;
  --footer-bg: #EEEDED;
  --shadow: 0 2px 14px 0 rgba(170,180,210,0.09);
  --radius: 18px;
  --transition: 0.24s cubic-bezier(.7,.24,.37,1);
}


/* -----------------------
   CONTAINER LAYOUT
------------------------ */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: flex-start;
  width: 100%;
}


/* --------------------
   HEADER & NAVIGATION
--------------------- */
header {
  width: 100%;
  background: linear-gradient(180deg, var(--pastel-blue) 0%, var(--soft-bg) 100%);
  box-shadow: var(--shadow);
  position: relative;
  z-index: 1000;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 70px;
  padding-top: 11px;
  padding-bottom: 11px;
}
header img[alt$='Logo'] {
  max-height: 44px;
  margin-right: 8px;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
}
header nav a {
  font-size: 1rem;
  color: var(--primary);
  background: transparent;
  border: none;
  padding: 5px 10px;
  border-radius: 9px;
  transition: background var(--transition), color var(--transition);
}
header nav a:hover, header nav a:focus {
  background: var(--pastel-teal);
  color: #175867;
  outline: none;
}
.cta-btn {
  background: linear-gradient(90deg, var(--pastel-lavender) 0%, var(--accent) 100%);
  color: var(--primary);
  font-family: 'Merriweather', serif;
  font-weight: 700;
  font-size: 1.07rem;
  padding: 13px 28px;
  border: none;
  border-radius: 999px;
  box-shadow: 0 1px 10px rgba(121,135,182,0.09);
  cursor: pointer;
  transition: background var(--transition), box-shadow var(--transition), color 0.18s;
  margin-left: 10px;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(90deg, var(--accent) 20%, var(--pastel-lavender) 90%);
  color: #28334a;
  box-shadow: 0 3px 18px rgba(120,117,179,0.15);
}

/* Hamburger for mobile */
.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  background: var(--pastel-teal);
  border: none;
  color: var(--primary);
  font-size: 2.1rem;
  border-radius: 11px;
  margin-left: 10px;
  cursor: pointer;
  transition: background var(--transition), box-shadow var(--transition);
  z-index: 1200;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--accent);
  box-shadow: 0 4px 16px rgba(167,187,199,0.17);
}
/* Hide hamburger on desktop */
.mobile-menu-toggle {
  display: none;
}

/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  z-index: 1500;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(224,238,244,0.97);
  transition: transform var(--transition), opacity var(--transition);
  transform: translateX(100%);
  opacity: 0;
  display: flex;
  flex-direction: column;
  padding: 28px 16px 16px 16px;
  box-shadow: var(--shadow);
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
}
.mobile-menu .mobile-menu-close {
  align-self: flex-end;
  font-size: 2.1rem;
  background: var(--pastel-lavender);
  border: none;
  cursor: pointer;
  color: #493e7f;
  border-radius: 9px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  transition: background var(--transition);
}
.mobile-menu .mobile-menu-close:hover,
.mobile-menu .mobile-menu-close:focus {
  background: var(--secondary);
  color: #241a38;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 24px;
}
.mobile-nav a {
  font-size: 1.2rem;
  color: var(--primary);
  background: transparent;
  border: none;
  padding: 13px 12px;
  border-radius: 9px;
  transition: background var(--transition), color var(--transition);
  font-family: 'Merriweather', serif;
  letter-spacing: 0.03em;
  font-weight: 600;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--pastel-blue);
  color: #364075;
  outline: none;
}

@media (max-width: 1024px) {
  header .container {
    gap: 10px;
  }
  header nav {
    gap: 12px;
  }
}
@media (max-width: 900px) {
  header .container {
    padding-right: 6px;
    padding-left: 6px;
    min-height: 58px;
  }
  .cta-btn {
    padding: 12px 16px;
    font-size: 1rem;
  }
}
@media (max-width: 768px) {
  header .container nav, .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  header .container {
    padding: 0 8px;
    gap: 6px;
  }
}


/*-----------------------------------------------------
   SECTIONS, SPACING & SOFT-PASTEL BACKGROUNDS
-----------------------------------------------------*/
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  width: 100%;
  background: none;
  border-radius: var(--radius);
  box-shadow: none;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
section:nth-of-type(odd) {
  background: linear-gradient(94deg, var(--pastel-blue) 0%, var(--pastel-lavender) 100%);
  box-shadow: 0 1px 18px 0 rgba(180,165,233,0.06);
}
section:nth-of-type(even) {
  background: linear-gradient(92deg, var(--pastel-yellow) 0%, var(--pastel-teal) 100%);
}
@media (max-width: 768px){
  section {
    padding: 26px 6px;
    margin-bottom: 32px;
  }
}

/*-----------------------------------------
   CARD CONTAINER, CARD, CARD-GRID FLEXBOX
------------------------------------------*/
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  position: relative;
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 26px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  min-width: 220px;
  flex: 1 1 220px;
  transition: box-shadow var(--transition), top var(--transition);
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 24px rgba(170,180,210,.18);
  top: -2px;
}
.card img {
  margin-bottom: 10px;
  border-radius: 10px;
}

.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: 960px) {
  .content-grid, .card-container, .text-image-section {
    gap: 16px;
  }
}
@media (max-width: 768px){
  .content-grid, .card-container, .text-image-section {
    flex-direction: column;
    gap: 13px;
    align-items: stretch;
  }
}

/*-------------------------------------------------------
   SPECIALTY GRIDS (e.g. FEATURES in UL): FLEXBOX ONLY
-------------------------------------------------------*/
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  align-items: stretch;
  list-style: none;
  margin: 0 0 12px 0;
  padding: 0;
}
.feature-grid li {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: 0 1px 8px 0 rgba(180,185,140,0.07);
  padding: 20px 18px 24px 18px;
  flex: 1 1 215px;
  min-width: 185px;
  max-width: 250px;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  justify-content: flex-start;
  transition: box-shadow var(--transition), background var(--transition);
}
.feature-grid li:hover, .feature-grid li:focus-within {
  background: var(--pastel-blue);
  box-shadow: 0 6px 21px #E1D8B2, 0 12px 28px rgba(232,241,242,0.13);
}
.feature-grid img {
  width: 36px;
  height: 36px;
  margin-bottom: 4px;
}
.feature-grid h3 {
  font-size: 1.15rem;
  color: var(--primary);
  margin-bottom: 0;
}

@media (max-width: 600px) {
  .feature-grid {
    gap: 14px;
  }
  .feature-grid li {
    min-width: 0;
    max-width: 100%;
    width: 100%;
    padding: 13px 10px 15px 10px;
  }
}

/*---------------------------------
   FEATURE ITEM PATTERN FLEX
----------------------------------*/
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}


/*--------------------
   TESTIMONIAL CARDS
---------------------*/
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--testimonial-bg);
  border-radius: 17px;
  margin-bottom: 20px;
  box-shadow: 0 2px 15px 0 rgba(180,180,210,.12);
  color: #241a38;
  font-size: 1.08rem;
  max-width: 720px;
}
.testimonial-card blockquote {
  background: none;
  border-left: 4px solid var(--accent);
  color: #18213c;
  padding: 0 24px 0 12px;
  margin: 0;
  font-size: 1.12rem;
}
.testimonial-card p {
  margin-bottom: 0;
  color: #554b79;
  font-size: 1rem;
}

@media (max-width: 700px) {
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 15px 10px;
  }
  .testimonial-card blockquote {
    padding: 0 6px 0 5px;
    font-size: 1.02rem;
  }
}

/*----------------------------
   TEXT SECTION STANDARDIZE
-----------------------------*/
.text-section {
  display: flex;
  flex-direction: column;
  gap: 13px;
  width: 100%;
  font-size: 1.05rem;
  color: #3b3e54;
}
.text-section ul {
  margin-bottom: 5px;
}

/*--------------------------------
   HERO & SECTION HEADINGS/TAGS
---------------------------------*/
section h1, section h2, section h3 {
  text-shadow: 0 1px 20px rgba(178,188,200,0.22);
}
section h1 {
  font-size: 2.15rem;
  background: linear-gradient(90deg, var(--primary), var(--accent) 80%);
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
section h2 {
  font-size: 1.4rem;
}
section h1 + h2 {
  color: #5B668A;
  font-family: 'Merriweather', serif;
  font-size: 1.1rem;
  margin-bottom: 2px;
}

@media (max-width: 768px) {
  section h1 {
    font-size: 1.39rem;
  }
  section h2 {
    font-size: 1.12rem;
  }
}

/* ------------------
   FOOTER
-------------------*/
footer {
  background: var(--footer-bg);
  border-top: 2px solid #ece6d3;
  margin-top: 40px;
  width: 100vw;
}
footer .container {
  padding: 30px 8px 18px 8px;
}
footer .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
footer nav a {
  color: #635840;
  font-size: 0.97rem;
  font-family: 'Lato', Arial, sans-serif;
  transition: color 0.18s;
}
footer nav a:hover, footer nav a:focus {
  color: #aa9270;
}
.brand-tagline {
  font-family: 'Merriweather', serif;
  font-size: 0.99rem;
  color: #857259;
  margin-bottom: 0;
  margin-top: 2px;
}

@media (max-width: 700px) {
  footer .content-wrapper {
    gap: 11px;
    align-items: stretch;
  }
  footer nav {
    gap: 10px;
    flex-direction: column;
    align-items: flex-start;
  }
}

/* --------------------------
   BUTTON & INPUT STYLES
---------------------------*/
button, .cta-btn {
  outline: none;
}
button:focus, .cta-btn:focus{
  outline: 2px solid #926CFF44;
  outline-offset: 1px;
}


/* ----------------------------
   COOKIES BANNER & MODAL POPUP
-----------------------------*/
.cookie-consent-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: linear-gradient(90deg, var(--pastel-pink) 0%, var(--pastel-yellow) 100%);
  color: #272139;
  z-index: 1800;
  box-shadow: 0 -2px 22px rgba(157,154,173,0.13);
  padding: 22px 16px 18px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 19px;
  animation: fadeInUp 0.44s cubic-bezier(0.42,0,0.58,1);
}
.cookie-consent-banner p {
  margin-bottom: 0;
  text-align: center;
  font-size: 1.05rem;
  font-family: 'Lato', Arial, sans-serif;
}
.cookie-banner-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 4px;
}
.cookie-banner-btn {
  padding: 9px 22px;
  border: none;
  border-radius: 999px;
  font-size: 1rem;
  cursor: pointer;
  font-family: 'Lato', Arial, sans-serif;
  font-weight: 600;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  box-shadow: 0 1px 6px rgba(170,180,210,0.06);
}
.cookie-accept {
  background: linear-gradient(88deg, var(--pastel-teal) 0%, var(--accent) 85%);
  color: #15424d;
}
.cookie-accept:hover, .cookie-accept:focus {
  background: var(--accent);
  color: #101B20;
}
.cookie-reject {
  background: linear-gradient(101deg, #fddaec 0%, #ffecc3 100%);
  color: #843355;
}
.cookie-reject:hover, .cookie-reject:focus {
  background: #F7F5F0;
  color: #17172f;
}
.cookie-settings {
  background: linear-gradient(93deg, var(--pastel-blue) 0%, var(--pastel-yellow) 100%);
  color: #353361;
}
.cookie-settings:hover, .cookie-settings:focus {
  background: #d3deec;
  color: #162254;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(60px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Cookie Modal Pop-up */
.cookie-modal {
  display: none;
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  z-index: 3300;
  background: rgba(52,50,66,0.18);
  align-items: center;
  justify-content: center;
  animation: modalIn 0.46s cubic-bezier(.36,.84,.51,1.07);
}
.cookie-modal.open {
  display: flex;
}
.cookie-modal .cookie-modal-content {
  background: #fffafb;
  max-width: 94vw;
  width: 368px;
  border-radius: 19px;
  padding: 35px 22px 24px 22px;
  box-shadow: 0 3px 20px rgba(170,180,210,0.16);
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: modalPop 0.38s cubic-bezier(.43,.55,.27,.95);
}
.cookie-modal .cookie-modal-content h3 {
  font-family: 'Merriweather', serif;
  color: var(--primary);
  font-size: 1.09rem;
  margin-bottom: 8px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 2px 10px 0px;
}
.cookie-category label {
  font-weight: 600;
  color: #363568;
  font-size: 1.02rem;
}
.cookie-toggle {
  appearance: none;
  outline: none;
  width: 42px;
  height: 24px;
  border-radius: 12px;
  background: #dde6f4;
  position: relative;
  transition: background 0.22s;
  cursor: pointer;
}
.cookie-toggle:checked {
  background: var(--accent);
}
.cookie-toggle::before {
  content: '';
  position: absolute;
  left: 3px;
  top: 3px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s;
  box-shadow: 0 0px 7px rgba(150,160,170,0.11);
}
.cookie-toggle:checked::before{
  transform: translateX(18px);
}
.cookie-modal .close-cookie-modal {
  border: none;
  background: var(--pastel-lavender);
  color: #635c8e;
  font-size: 1.5rem;
  align-self: flex-end;
  border-radius: 9px;
  padding: 6px 11px;
  cursor: pointer;
  transition: background var(--transition);
  margin-bottom: 7px;
}
.cookie-modal .close-cookie-modal:hover, .cookie-modal .close-cookie-modal:focus {
  background: #e4dbe5;
}

@keyframes modalIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes modalPop {
  from { transform: scale(0.91); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

/*-----------------------
   FORM ELEMENTS (FORMS)
------------------------*/
input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
  border: 1px solid #e4dae1;
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 12px;
  background: #fff;
  transition: border-color 0.19s;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--accent);
  outline: none;
}

/*----------------
   TABLE FOCUS
-----------------*/
table,
th,
td {
  outline: none;
}
th:focus,
td:focus {
  outline: 2px solid var(--accent);
}

/*----------------------------
   ACCESSIBILITY STATES
-----------------------------*/
a:focus,
button:focus,
.cta-btn:focus,
.mobile-menu-close:focus {
  outline: 2px solid #7DC9ED;
  outline-offset: 2px;
}

/*-------------
   UTILITIES
--------------*/
.mx-auto { margin-left: auto; margin-right: auto; }
.text-center { text-align: center; }

/* Spacing if used as classes */
.mt-32 { margin-top: 32px; }
.mb-60 { margin-bottom: 60px; }
.mb-20 { margin-bottom: 20px; }
.gap-24 { gap: 24px; }

/*------------------------------
   HORIZONTAL SCROLL HANDLING
-------------------------------*/
body {
  overflow-x: hidden;
}

/*---------------------------------
   RESPONSIVE FONT-SIZING
----------------------------------------*/
@media (max-width: 600px) { 
  html { font-size: 15px; } 
  h1 { font-size: 1.19rem; }
  h2 { font-size: 1rem; }
}

/*------------------------
   OVERRIDE PRINT STYLES
-------------------------*/
@media print {
  header, footer, .cookie-consent-banner, .mobile-menu { display: none !important; }
  section, main { background: #fff !important; box-shadow: none !important; }
}

/*----------------------------------
   END OF SOFT-PASTEL DESIGN SYSTEM
-----------------------------------*/
