/* RESET & BASE STYLES ------------------------------------------ */
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; margin: 0; padding: 0; border: 0; }
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #F5FAFF;
  color: #283748;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; vertical-align: middle; display: inline-block; }
a { color: #29537A; text-decoration: none; transition: color 0.18s; }
a:hover, a:focus { color: #62B8E4; }
button, .cta-btn {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  border: none;
  outline: none;
  cursor: pointer;
}
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  border: 1px solid #dde8eb;
  border-radius: 8px;
  padding: 10px 16px;
  background: #fff;
}
input[type='text']::placeholder { color: #8CB7D7; opacity: 1; }

/* COLORS: soft pastel palette expansion */
:root {
  --primary: #29537A;
  --secondary: #62B8E4;
  --accent: #F5FAFF;
  --pastel-pink: #FDE6E7;
  --pastel-blue: #E1F0FF;
  --pastel-mint: #D3F3EB;
  --pastel-yellow: #FEF6E0;
  --pastel-violet: #E6E6FA;
  --soft-gray: #F4F6F8;
  --text-dark: #283748;
  --text-muted: #8CB7D7;
  --white: #fff;
  --shadow: 0 2px 12px 0 rgba(41,83,122,0.08);
  --radius: 20px;
  --radius-btn: 28px;
}

/* LAYOUT CONTAINERS ------------------------------------------ */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
@media (max-width: 900px) {
  .section { padding: 32px 8px; }
}

/* FLEXBOX SPACING PATTERNS ----------------------------------- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 22px;
  flex: 1 1 280px;
  min-width: 230px;
  transition: transform 0.18s, box-shadow 0.18s;
}
.card:hover {
  transform: translateY(-4px) scale(1.015);
  box-shadow: 0 6px 26px 0 rgba(98,184,228,0.13);
}
.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;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: linear-gradient(100deg, #FDE6E7 0%, #E1F0FF 100%);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  min-width: 200px;
  color: var(--text-dark);
}
.testimonial-card p {
  font-style: italic;
  font-size: 16px;
  flex: 1;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

@media (max-width: 768px) {
  .content-grid,
  .card-container { flex-direction: column; gap: 20px; }
  .text-image-section { flex-direction: column; gap: 24px; }
}

/* HEADER & NAVIGATION ---------------------------------------- */
header {
  background: linear-gradient(125deg, #E1F0FF 15%, #D3F3EB 82%, #FDE6E7 100%);
  box-shadow: 0 2px 10px 0 rgba(41,83,122,0.04);
  padding: 0 0 8px 0;
  position: relative;
  z-index: 50;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
}
nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--primary);
  padding: 6px 10px;
  border-radius: 12px;
  transition: background 0.16s, color 0.16s;
}
header nav a:hover,
header nav a:focus {
  background: var(--secondary);
  color: var(--white);
}
.cta-btn {
  background: linear-gradient(90deg, #62B8E4 40%, #D3F3EB 100%);
  color: var(--primary);
  font-family: 'Montserrat', sans-serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 10px 44px;
  border-radius: var(--radius-btn);
  box-shadow: 0 2px 10px 0  rgba(98,184,228,0.09);
  transition: background 0.2s, color 0.22s, box-shadow 0.13s;
  display: inline-block;
  margin: 0 0 0 16px;
  border: 2px solid var(--secondary);
  text-align: center;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--primary);
  color: var(--accent);
  border-color: var(--primary);
  box-shadow: 0 4px 24px 0 rgba(41,83,122,0.10);
}

/* MOBILE NAVIGATION ------------------------------------------ */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 18px;
  top: 14px;
  z-index: 140;
  background: var(--secondary);
  color: var(--primary);
  font-size: 2.2rem;
  border-radius: 12px;
  width: 48px; height: 48px;
  align-items: center; justify-content: center;
  transition: background 0.18s;
}
@media (max-width: 1050px) {
  header nav { display: none; }
  .mobile-menu-toggle { display: flex; }
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; right: 0;
  width: 90vw;
  max-width: 340px;
  height: 100vh;
  background: linear-gradient(120deg, var(--accent) 82%, var(--pastel-blue) 100%);
  box-shadow: -3px 0 18px 0 rgba(41,83,122,0.14);
  padding: 24px 0 0 0;
  z-index: 2000;
  transform: translateX(120%);
  transition: transform 0.35s cubic-bezier(.4,1.35,.65,1);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 10px; right: 20px;
  background: var(--pastel-mint);
  color: var(--primary);
  font-size: 2.0rem;
  border-radius: 8px;
  width: 40px; height: 40px;
  display: flex;
  align-items: center; justify-content: center;
  z-index: 2010;
  transition: background 0.18s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--pastel-yellow);
}
.mobile-nav {
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-left: 30px;
}
.mobile-nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 19px;
  font-weight: 600;
  color: var(--primary);
  padding: 12px 0;
  border-radius: 14px;
  transition: background 0.15s, color 0.12s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--secondary);
  color: #fff;
}
@media (max-width: 768px) {
  .mobile-menu { max-width: 100vw; }
  .container { padding: 0 8px; }
  .cta-btn { font-size: 16px; padding: 10px 22px; }
}

/* HERO & HEADERS --------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: var(--primary);
  font-weight: 800;
  letter-spacing: 0.01em;
  margin-bottom: 12px;
}
h1 { font-size: 2.4rem; margin-bottom: 16px; }
h2 { font-size: 2rem; margin-bottom: 12px; }
h3 { font-size: 1.4rem; }
h4, h5 { font-size: 1.18rem; font-weight: 700; }
.text-section h2 { margin-top: 16px; margin-bottom: 10px; }
@media (max-width: 900px) { h1 { font-size: 2.0rem; } h2 { font-size: 1.5rem; } }
@media (max-width: 600px) { h1 { font-size: 1.45rem; } h2 { font-size: 1.13rem; } }

/* SECTION STYLES --------------------------------------------- */
section {
  margin-bottom: 52px;
}
.text-section {
  background: var(--soft-gray);
  border-radius: var(--radius);
  padding: 22px 18px;
  margin-bottom: 20px;
  box-shadow: 0 1px 6px 0 rgba(41,83,122,0.045);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.text-section:last-child {
  margin-bottom: 0;
}
ul, ol {
  padding-left: 22px;
  margin-bottom: 18px;
}
ul li, ol li {
  padding-left: 0;
  margin-bottom: 8px;
}
ul li strong, ol li strong { color: var(--primary); font-weight: 700; }

/* TABLE STYLES ----------------------------------------------- */
table {
  width: 100%;
  border-radius: var(--radius);
  background: var(--white);
  margin-bottom: 18px;
  box-shadow: 0 1px 10px 0 rgba(98,184,228,0.06);
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
}
thead th {
  background: var(--pastel-blue);
  color: var(--primary);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.01rem;
  padding: 13px 8px;
}
tbody td {
  padding: 13px 8px;
  border-bottom: 1px solid var(--pastel-mint);
  color: var(--text-dark);
  font-size: 0.98rem;
}
tr:last-child td {
  border-bottom: none;
}
@media (max-width: 600px) {
  table, thead, tbody, tr, th, td { display: block; width: 100%; }
  thead { display: none; }
  tr { margin-bottom: 22px; box-shadow: var(--shadow); }
  td { border: none; position: relative; padding-left: 36px; }
  td:before { position: absolute; left: 8px; top: 12px; font-weight: 700; color: var(--secondary); content: attr(data-label); }
}

/* BUTTONS & LINK STYLES -------------------------------------- */
button, input[type="submit"] {
  background: var(--secondary);
  color: var(--primary);
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1em;
  padding: 9px 28px;
  margin-right: 8px;
  border-radius: var(--radius-btn);
  transition: background 0.2s, color 0.18s, box-shadow 0.18s;
  box-shadow: var(--shadow);
}
button:hover, button:focus, input[type="submit"]:hover {
  background: var(--primary);
  color: var(--accent);
  box-shadow: 0 5px 24px 0 rgba(41,83,122,0.10);
}

.text-section a, .content-wrapper a:not(.cta-btn), .card a {
  color: var(--secondary);
  border-bottom: 1.5px dashed var(--secondary);
  font-weight: 500;
  transition: color 0.18s, border-color 0.18s;
}
.text-section a:hover { color: var(--primary); border-color: var(--primary); }

/* FOOTER ----------------------------------------------------- */
footer {
  background: linear-gradient(90deg, #FDE6E7 7%, #E1F0FF 80%, #D3F3EB 100%);
  border-top: 2px solid var(--pastel-blue);
  box-shadow: 0 -2px 10px 0 rgba(41,83,122,0.04);
  padding: 0 0 16px 0;
  margin-top: 48px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 1120px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 26px;
  justify-content: space-between;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
footer nav a {
  font-size: 16px;
  color: var(--primary) !important;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 8px;
  transition: background 0.12s, color 0.14s;
}
footer nav a:hover { background: var(--secondary); color: #fff !important; }
footer .text-section {
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  padding: 4px 0;
  color: var(--text-muted);
  font-size: 15px;
}
footer .text-section img { width: 18px; height: 18px; margin-right: 3px; vertical-align: sub; }

@media (max-width: 800px) {
  footer .content-wrapper { flex-direction: column; gap: 18px; align-items: flex-start; }
  footer nav { flex-direction: row; flex-wrap: wrap; gap: 8px 14px; }
}

/* FORMS & SEARCH --------------------------------------------- */
input[type='text'] {
  width: 100%;
  max-width: 420px;
  margin-bottom: 16px;
  font-size: 1.01em;
}

/* LIST & ICON STYLES ----------------------------------------- */
ul li, ol li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 11px;
}
ul li img, ol li img {
  width: 22px;
  height: 22px;
  margin-right: 7px;
  position: absolute;
  left: 0; top: 1px;
}

/* ANIMATIONS & TRANSITIONS ----------------------------------- */
.card, .testimonial-card, .cta-btn, button {
  transition: box-shadow 0.18s, transform 0.18s, background 0.2s, color 0.2s;
}
.card:hover, .testimonial-card:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 8px 32px 0 rgba(98,184,228,0.13);
}

/* SOFT DROP SHADOWS & ROUNDED ------------------------------- */
.card, .testimonial-card, .section, .cta-btn, button, input, textarea {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* COOKIE CONSENT BANNER -------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 -4px 28px 0 rgba(41,83,122,0.13);
  border-top: 3px solid var(--pastel-blue);
  z-index: 3000;
  padding: 20px 28px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: flex-start;
  animation: cookie-fade-in 0.7s cubic-bezier(.32,2,.45,.97);
}
@keyframes cookie-fade-in {
  from { transform: translateY(100px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 7px;
}
.cookie-btn {
  font-family: 'Montserrat', sans-serif;
  font-size: 1em;
  background: var(--pastel-mint);
  color: var(--primary);
  border-radius: 14px;
  padding: 7px 22px;
  border: 1.5px solid var(--secondary);
  transition: background 0.18s, color 0.18s, border 0.15s;
}
.cookie-btn.accept {
  background: var(--secondary);
  color: #fff;
  border-color: var(--secondary);
}
.cookie-btn.reject {
  background: var(--pastel-pink);
  color: var(--primary);
  border-color: var(--pastel-pink);
}
.cookie-btn.settings {
  background: var(--pastel-yellow);
  color: var(--primary);
  border-color: var(--pastel-yellow);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* COOKIE PREFERENCES MODAL ----------------------------------- */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(41,83,122, 0.16);
  z-index: 3200;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modal-fade-in 0.24s cubic-bezier(.4,2,.6,1);
}
@keyframes modal-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: var(--accent);
  border-radius: 22px;
  box-shadow: 0 12px 44px 0 rgba(41,83,122,0.22);
  max-width: 390px;
  width: 92vw;
  padding: 33px 28px 22px 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  z-index: 3300;
  animation: modal-slide-up 0.29s cubic-bezier(.44,2,.68,1);
}
@keyframes modal-slide-up {
  from { transform: translateY(80px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.cookie-category input[type='checkbox'] {
  accent-color: var(--primary);
  width: 21px; height: 21px;
  border-radius: 7px;
}
.cookie-category label {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  color: var(--primary);
  cursor: pointer;
}
.cookie-category.essential label { color: #83b29f; font-weight: 600; }
.cookie-modal-header {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 10px;
}
.cookie-modal-actions {
  display: flex;
  gap: 15px;
  margin-top: 16px;
}

/* UTILITIES & GENERAL PURPOSE -------------------------------- */
.text-center, .center { text-align: center !important; }
.mt-1 { margin-top: 8px !important; }
.mt-2 { margin-top: 16px !important; }
.mt-3 { margin-top: 32px !important; }
.mb-1 { margin-bottom: 8px !important; }
.mb-2 { margin-bottom: 16px !important; }
.mb-3 { margin-bottom: 32px !important; }
.gap-2 { gap: 16px !important; }
.gap-3 { gap: 24px !important; }

/* TYPOGRAPHY SCALE AND CLASSES ------------------------------- */
.fs-14 { font-size: 14px !important; }
.fs-16 { font-size: 16px !important; }
.fs-18 { font-size: 18px !important; }
.fs-24 { font-size: 24px !important; }
.fs-32 { font-size: 32px !important; }
.fs-48 { font-size: 48px !important; }
.fw-400 { font-weight: 400 !important; }
.fw-500 { font-weight: 500 !important; }
.fw-700 { font-weight: 700 !important; }
.fw-800 { font-weight: 800 !important; }
.text-muted { color: var(--text-muted) !important; }

/* HIDE BROWSER NATIVE BUTTON & REMOVE WEBKIT INPUT STYLE ---- */
input[type="submit"]::-webkit-input-placeholder, input[type="submit"]:-ms-input-placeholder, input[type="submit"]::placeholder { color: #6D8CA7; }

/* SCROLLBAR SOFT COLORING ------------------------------------ */
::-webkit-scrollbar { width: 8px; border-radius: 7px; background: var(--pastel-blue); }
::-webkit-scrollbar-thumb { background: var(--secondary); border-radius: 7px; }

/* RESPONSIVE SECTION SPACING --------------------------------- */
@media (max-width: 600px) {
  section, .section { margin-bottom: 38px; padding: 27px 2px; }
}

/* DIALOG/LAYER SURFACE --------------------------------------- */
[role="dialog"] {
  border-radius: 24px;
  background: var(--accent);
  box-shadow: 0 8px 36px 0 rgba(41,83,122,0.16);
}

/* OVERLAY FOR MOBILE MENU ------------------------------------ */
.mobile-menu-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(41,83,122,0.13);
  z-index: 1999;
  display: none;
}
.mobile-menu.open + .mobile-menu-overlay {
  display: block;
}

/* ACCESSIBILITY ---------------------------------------------- */
:focus { outline: 2.5px solid var(--secondary); outline-offset: 3px; }

/* END -------------------------------------------------------- */
