/* ==== 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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #FAF9FF;
  color: #234E70;
  font-family: 'Open Sans', Arial, sans-serif;
  min-height: 100vh;
}
a {
  background-color: transparent;
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #56A3A6;
  text-decoration: underline;
}
ul, ol { list-style: inside disc; margin-left: 1.2em; }
img { max-width: 100%; height: auto; display: block; border: none; }
button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
  box-sizing: border-box;
  outline: none;
}
button {
  border: none;
  background: none;
  cursor: pointer;
}

/* ==== PASTEL VARIABLES & COLOR SYSTEM ==== */
:root {
  --primary: #234E70;
  --secondary: #56A3A6;
  --accent: #F3F9FB;
  --pastel-pink: #F7D9D9;
  --pastel-blue: #C3E6F8;
  --pastel-green: #D2F2D7;
  --pastel-yellow: #FFF6D6;
  --pastel-violet: #E2D6F9;
  --white: #FFFFFF;
  --grey: #9097A1;
  --shadow: 0 4px 32px 0 rgba(50, 90, 120, 0.06), 0 1.5px 7px 0 rgba(135, 180, 200, 0.03);
  --radius: 18px;
  --transition: 0.25s cubic-bezier(.7,.2,.2,1);
}

/* ==== TYPOGRAPHY ==== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&family=Open+Sans:wght@400;600&display=swap');

body {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  color: var(--primary);
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--primary);
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
  line-height: 1.18;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  line-height: 1.2;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  line-height: 1.22;
}
p, ul, ol {
  font-size: 1rem;
  margin-bottom: 18px;
  color: var(--primary);
}
.subheadline {
  font-size: 1.19rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 20px;
}
strong, b { font-weight: 600; }


/* ==== LAYOUT & CONTAINERS ==== */
.container {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  width: 100%;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
@media (max-width: 620px) {
  .section {
    padding: 24px 8px;
    margin-bottom: 38px;
  }
}

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

.hero {
  align-items: center;
  text-align: center;
  background: linear-gradient(120deg, #F7D9D9 0%, #E2D6F9 100%);
  padding: 48px 16px 44px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  gap: 20px;
}
@media (max-width: 680px) {
  .hero {
    padding: 28px 4px 26px;
  }
}

.card-container,
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
  justify-content: flex-start;
}
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover {
  box-shadow: 0 8px 36px 4px rgba(50, 90, 120, 0.17);
  transform: scale(1.015);
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 22px;
  gap: 12px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--pastel-blue);
  border-radius: var(--radius);
  padding: 28px 22px;
  flex: 1 1 268px;
  min-width: 230px;
  box-shadow: 0 1.5px 5px rgba(135, 180, 200, 0.10);
  transition: background var(--transition), box-shadow var(--transition);
}
.feature-item img {
  width: 48px;
  height: 48px;
  margin-bottom: 2px;
}
.feature-item:hover {
  background: var(--pastel-green);
  box-shadow: 0 6px 24px 4px rgba(135, 180, 200, 0.19);
}

.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: stretch;
    gap: 18px;
  }
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--pastel-yellow);
  border-radius: var(--radius);
  box-shadow: 0 1.5px 6px rgba(150, 145, 60, 0.11);
  margin-bottom: 20px;
  max-width: 420px;
}
.testimonial-card p {
  font-size: 1.12rem;
  color: #2C2E3A;
  margin: 0;
}
.testimonial-card span {
  font-family: 'Montserrat';
  font-size: 1rem;
  color: var(--primary);
  opacity: 0.78;
}

/* ==== HEADER ==== */
header {
  background: linear-gradient(90deg, #F3F9FB 40%, #E2D6F9 100%);
  padding: 0 0 10px 0;
  box-shadow: 0 0.5px 4px 0 rgba(35,78,112,0.06);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 22px;
  min-height: 70px;
  position: relative;
}
header a img {
  height: 46px;
  margin-right: 14px;
}

.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  flex: 1 1 60%;
}
.main-nav a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--primary);
  padding: 7px 3px;
  border-radius: 7px;
  transition: background 0.16s, color 0.15s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--pastel-pink);
  color: var(--secondary);
}

.cta-btn {
  font-family: 'Montserrat', sans-serif;
  background: linear-gradient(92deg, #E2D6F9 0%, #C3E6F8 100%);
  color: var(--primary);
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 42px;
  box-shadow: 0 2px 12px 0 rgba(66, 106, 150, 0.10);
  padding: 12px 32px;
  margin-left: 16px;
  margin-right: 10px;
  transition: background var(--transition), transform var(--transition), color var(--transition);
  border: 2px solid transparent;
  letter-spacing: 0.03em;
  display: inline-block;
  cursor: pointer;
  outline: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(92deg, #D2F2D7 0%, #F7D9D9 100%);
  color: var(--primary);
  transform: translateY(-3px) scale(1.019);
  border: 2px solid #A7BBE4;
}

/* ==== MOBILE NAVIGATION ==== */
.mobile-menu-toggle {
  display: none;
  background: var(--pastel-violet);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  color: var(--primary);
  align-items: center;
  justify-content: center;
  transition: background var(--transition), color var(--transition);
  z-index: 111;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--pastel-blue);
  color: var(--secondary);
}
@media (max-width: 980px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
    margin-left: auto;
  }
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: linear-gradient(95deg, #F3F9FB 75%, #E2D6F9 100%);
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(.9,.1,.1,1);
  z-index: 4000;
  display: flex;
  flex-direction: column;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  box-shadow: 0 2px 21px 0 rgba(35,78,112,0.10);
}
.mobile-menu-close {
  font-size: 2.5rem;
  color: var(--secondary);
  background: var(--pastel-pink);
  border-radius: 50%;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 24px 16px 4px auto;
  outline: none;
  border: none;
  transition: background 0.18s, color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--pastel-green);
  color: var(--primary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding: 22px 24px;
  margin-top: 12px;
  font-size: 1.3rem;
}
.mobile-nav a {
  padding: 12px 0;
  color: var(--primary);
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  border-radius: 10px;
  transition: background 0.17s, color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--pastel-blue);
  color: var(--secondary);
}

/* ==== MAIN CONTENT BASIC SPACING ==== */
main {
  margin-top: 16px;
  margin-bottom: 36px;
}

/* ==== FOOTER ==== */
footer {
  background: linear-gradient(92deg, #F3F9FB 70%, #D2F2D7 100%);
  box-shadow: 0 -1px 9px 0 rgba(35,78,112,0.071);
  padding: 32px 0 28px 0;
}
.footer-menu {
  text-align: center;
  font-size: 1rem;
  margin-bottom: 12px;
  color: var(--primary);
}
.footer-menu a {
  color: var(--primary);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  opacity: 0.8;
  margin: 0 4px;
  transition: color 0.16s;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: var(--secondary);
  opacity: 1;
}
.footer-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 0.99rem;
  color: var(--grey);
  opacity: 0.79;
}
.footer-info img {
  height: 26px;
}

/* ==== CONTACT DETAILS ==== */
.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 20px;
}
.text-section {
  background: var(--pastel-yellow);
  border-radius: var(--radius);
  padding: 16px 20px 14px 20px;
  box-shadow: 0 1px 6px rgba(160, 155, 76, 0.08);
  margin-bottom: 12px;
  flex: 1 1 260px;
  min-width: 220px;
}
.text-section h2 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
.text-section p, .text-section a {
  font-size: 1rem;
}
.text-section img {
  display: inline-block;
  vertical-align: middle;
  width: 24px;
  height: 24px;
  margin-right: 6px;
}

/* ==== BUTTONS, FORMS, INTERACTIONS ==== */
button, input[type=submit], .cta-btn, .cookie-btn {
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), border var(--transition), transform var(--transition);
}

/* ==== RESPONSIVE LAYOUT RULES ==== */
@media (max-width: 950px) {
  .card-container,
  .feature-grid,
  .content-grid,
  .contact-details {
    gap: 16px;
  }
}
@media (max-width: 720px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.4rem;
  }
  .card-content, .feature-item {
    padding: 18px 10px;
  }
  .card, .feature-item, .testimonial-card, .text-section {
    min-width: unset;
    flex-basis: 100%;
  }
  .card-container, .feature-grid, .content-grid, .contact-details {
    flex-direction: column;
    gap: 14px;
  }
}
@media (max-width: 520px) {
  main, .container, .hero, .section { padding-left: 0; padding-right: 0; }
  body { font-size: 15px; }
  .footer-info span { font-size: 0.93rem; }
  .footer-menu, .footer-info { padding: 0 8px; }
}

/* ==== ANIMATIONS & MICRO-INTERACTIONS ==== */
.cta-btn, .cookie-btn {
  box-shadow: 0 1.5px 12px 0 rgba(60,120,200,.10);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
}
.cta-btn:hover, .cta-btn:focus, .cookie-btn:hover, .cookie-btn:focus {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 4px 18px 1px rgba(86,163,166,0.13);
  color: var(--primary);
}

/* ==== COOKIE CONSENT BANNER ==== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, #F7D9D9 50%, #C3E6F8 100%);
  color: #1c2130;
  padding: 26px 16px 20px 16px;
  box-shadow: 0 -2px 28px rgba(35, 78, 112, 0.08);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  font-size: 1rem;
  border-radius: 20px 20px 0 0;
  animation: cookieBannerIn 0.7s cubic-bezier(.8,.12,.1,.95);
}
@keyframes cookieBannerIn {
  0% { transform: translateY(100%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-btn-group {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}
.cookie-btn {
  background: linear-gradient(92deg, #E2D6F9 0%, #F3F9FB 100%);
  color: var(--primary);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  padding: 11px 21px;
  border-radius: 29px;
  border: 2px solid #cac5e5;
  font-size: 1.05rem;
  margin-right: 5px;
  cursor: pointer;
  outline: none;
}
.cookie-btn.accept {
  background: linear-gradient(92deg, #D2F2D7 0%, #C3E6F8 100%);
  color: #184758;
  border: 2px solid #89c7ad;
}
.cookie-btn.reject {
  background: linear-gradient(92deg, #F7D9D9 0%, #FFFFFA 100%);
  color: #53353E;
  border: 2px solid #f8ede1;
}
.cookie-btn.settings {
  background: linear-gradient(92deg, #FFFFFA 0%, #E2D6F9 100%);
  color: var(--primary);
  border: 2px solid #cbc7df;
}
.cookie-btn:active {
  transform: scale(0.96);
}

/* ==== COOKIE MODAL ==== */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(60, 80, 120, 0.07);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInOverlay 0.3s;
}
@keyframes fadeInOverlay {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: linear-gradient(110deg, #FAF9FF 65%, #E2D6F9 100%);
  border-radius: 22px;
  max-width: 390px;
  width: 93vw;
  box-shadow: 0 7px 32px rgba(44,75,111,0.14);
  padding: 30px 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: modalIn 0.36s cubic-bezier(.88,.2,.2,1);
  position: relative;
}
@keyframes modalIn {
  0% { transform: translateY(80px) scale(.94); opacity: 0; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.3rem;
  color: var(--primary);
}
.cookie-modal .category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.cookie-modal .category label {
  font-weight: 600;
  font-size: 1rem;
  color: var(--primary);
}
.cookie-modal .toggle-switch {
  position: relative;
  display: inline-block;
  width: 38px;
  height: 24px;
}
.cookie-modal .toggle-switch input {
  display: none;
}
.cookie-modal .slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0;
  right: 0; bottom: 0;
  background: var(--pastel-green);
  border-radius: 22px;
  transition: background 0.2s;
}
.cookie-modal .slider:before {
  position: absolute;
  content: '';
  height: 18px;
  width: 18px;
  left: 2.6px;
  bottom: 3px;
  background: var(--pastel-blue);
  border-radius: 50%;
  transition: transform 0.2s;
  box-shadow: 0 1px 3px rgba(44,75,111,0.12);
}
.cookie-modal .toggle-switch input:checked + .slider {
  background: var(--secondary);
}
.cookie-modal .toggle-switch input:checked + .slider:before {
  transform: translateX(13px);
  background: var(--pastel-yellow);
}

.cookie-modal .cookie-modal-actions {
  margin-top: 9px;
  display: flex;
  gap: 14px;
  justify-content: flex-end;
}
.cookie-modal .cookie-btn {
  font-size: 1rem;
  min-width: 115px;
}

.cookie-modal .close-modal {
  position: absolute;
  top: 13px;
  right: 13px;
  background: var(--pastel-pink);
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--secondary);
  border: none;
  transition: background 0.14s;
}
.cookie-modal .close-modal:hover, .cookie-modal .close-modal:focus {
  background: var(--pastel-violet);
}

/* ==== ACCESSIBILITY FOCUS RING ==== */
a:focus, button:focus, .cta-btn:focus, .cookie-btn:focus, input:focus, select:focus, textarea:focus {
  outline: 2px dashed #56A3A6;
  outline-offset: 1px;
}

/* ==== MISC SPACING & LAYOUT HELPERS ==== */
.mt-16 { margin-top: 16px !important; }
.mb-12 { margin-bottom: 12px !important; }
.mb-24 { margin-bottom: 24px !important; }

/* ==== SPECIAL STATES ==== */
[aria-current='page'], .main-nav a.active {
  color: var(--secondary) !important;
  pointer-events: none;
}

/* ==== PRINT HIDE ==== */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal, .cookie-modal-overlay { display: none !important; }
}

/* ==== END OF STYLE.CSS ==== */
