/* 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;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  font-size: 100%;
  scroll-behavior: smooth;
}
body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  background: #F5F5F2;
  color: #23233A;
  min-height: 100vh;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

*, *::before, *::after {
  box-sizing: inherit;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  border: 0;
}

/* Remove outlines for mouse only, keep for keyboard tabbing */
:focus:not(:focus-visible) {
  outline: none;
}
:focus-visible {
  outline: 2px solid #23233A;
  outline-offset: 2px;
}

/*--------------------------------------*
  COLOR VARIABLES & TYPOGRAPHY
*--------------------------------------*/
:root {
  --primary: #23233A;
  --secondary: #626288;
  --accent: #F5F5F2;
  --cta: #4252ff;
  --highlight: #fff21d;
  --danger: #e03c3c;
  --success: #52c35e;
  --shadow: rgba(35,35,58,0.10);
  --shadow-dark: rgba(35,35,58,0.18);
  --radius: 18px;
  --radius-card: 22px;
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  src: local('Montserrat Bold'), local('Montserrat-Bold'), url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&display=swap') format('woff2');
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: local('Roboto Regular'), local('Roboto-Regular'), url('https://fonts.googleapis.com/css2?family=Roboto:wght@400&display=swap') format('woff2');
}
/* fallback for Google Webfonts */

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--primary);
}
h1 {
  font-size: 2.375rem;
  line-height: 1.12;
  margin-bottom: 16px;
  word-break: break-word;
}
h2 {
  font-size: 1.75rem;
  margin-bottom: 12px;
  margin-top: 0;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}
h4, h5, h6 {
  font-size: 1rem;
}
p, ul, li {
  font-size: 1rem;
  color: var(--secondary);
}
strong, b {
  font-weight: 700;
  color: var(--primary);
}
.subheadline {
  font-size: 1.13rem;
  color: var(--secondary);
  margin-bottom: 22px;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: 400;
}

/*------------------------------*
  LAYOUT: CONTAINERS
*------------------------------*/
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

/* Global section spacing */
section {
  margin-bottom: 60px;
  padding: 40px 0 0 0;
  background: none;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* Hero */
.hero {
  background: linear-gradient(100deg, #fff 60%, #f2f1fd 100%);
  border-radius: var(--radius-card);
  box-shadow: 0 6px 32px 0 var(--shadow-dark);
  margin-bottom: 40px;
  padding: 48px 0 52px 0;
}
.hero .content-wrapper {
  gap: 18px;
  align-items: center;
  text-align: center;
  max-width: 650px;
}
.hero h1 {
  color: var(--primary);
  font-size: 2.5rem;
}
.hero .btn-primary {
  margin-top: 24px;
}

/*------------------------------*
  NAVIGATION
*------------------------------*/
header {
  background: #fff;
  box-shadow: 0 2px 12px 0 var(--shadow);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 60;
  width: 100%;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  padding: 0 20px;
  height: 74px;
  min-height: 60px;
}
.logo img {
  height: 39px;
  width: auto;
}
.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
}
.main-nav a {
  color: var(--primary);
  text-decoration: none;
  font-size: 1.02rem;
  padding: 8px 8px 8px 8px;
  transition: color 0.18s cubic-bezier(.55,0,.1,1);
  position: relative;
  border-radius: 4px;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--cta);
  background: var(--accent);
}
header .btn-primary {
  margin-left: 18px;
  margin-right: 0;
  flex-shrink: 0;
}

/*--------------------------*
  MOBILE NAVIGATION
*--------------------------*/
.mobile-menu-toggle {
  display: none;
  background: none;
  border: 2px solid var(--primary);
  color: var(--primary);
  width: 48px;
  height: 48px;
  font-size: 2rem;
  border-radius: 14px;
  cursor: pointer;
  margin-left: 22px;
  transition: background 0.18s, box-shadow 0.18s;
  z-index: 110;
}
.mobile-menu-toggle:focus {
  outline: 2px solid var(--cta);
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 95vw;
  max-width: 370px;
  height: 100vh;
  background: #fff;
  box-shadow: -2px 0 30px 0 var(--shadow-dark);
  transform: translateX(105%);
  transition: transform 0.38s cubic-bezier(.38,.15,.1,1);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  padding: 34px 26px 22px 28px;
  gap: 20px;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--primary);
  font-size: 2rem;
  align-self: flex-end;
  cursor: pointer;
  margin-bottom: 18px;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.mobile-nav a {
  color: var(--primary);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  text-decoration: none;
  padding: 12px 0px 12px 4px;
  font-size: 1.15rem;
  border-radius: 8px;
  transition: background 0.18s, color 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--accent);
  color: var(--cta);
}

/* Hide desktop nav on mobile, show burger */
@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 1025px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

/*------------------------------*
  BUTTONS
*------------------------------*/
.btn-primary, .btn-secondary, .btn-link {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: 0.2px;
  border: none;
  outline: none;
  border-radius: 34px;
  cursor: pointer;
  display: inline-block;
  padding: 13px 36px;
  font-size: 1.08rem;
  margin: 0 0 0 0;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 4px 18px var(--shadow);
  transition: background .18s, color .16s, box-shadow 0.19s;
  position: relative;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--cta);
  color: #fff;
  box-shadow: 0 8px 32px var(--shadow-dark);
}
.btn-secondary {
  background: var(--highlight);
  color: var(--primary);
  box-shadow: 0 4px 18px 0 var(--shadow);
  margin-top: 16px;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #ffe800;
  color: var(--primary);
}
.btn-link {
  background: none;
  color: var(--cta);
  font-size: 1rem;
  text-decoration: underline;
  padding: 0 0 0 0;
  box-shadow: none;
}
.btn-link:hover, .btn-link:focus {
  color: var(--primary);
  background: var(--accent);
}

/*------------------------------*
  FLEXBOX CONTENT LAYOUTS
*------------------------------*/
.features, .feature-grid, .card-container, .card-grid, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 10px;
}
.feature-grid {
  gap: 28px;
  flex-wrap: wrap;
  justify-content: flex-start;
}
.card-container, .card-grid, .content-grid {
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: 0 2px 12px 0 var(--shadow);
  display: flex;
  flex-direction: column;
  padding: 22px 28px;
  min-width: 240px;
  max-width: 370px;
}
.service-card {
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: 0 2px 12px var(--shadow);
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 25px 28px 23px 28px;
  border-left: 5px solid var(--cta);
  transition: box-shadow 0.18s, border-color 0.16s;
}
.service-card h3 {
  font-size: 1.18rem;
  color: var(--primary);
  margin-bottom: 8px;
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: 6px;
}
.service-card span {
  color: var(--secondary);
  font-weight: 700;
  font-size: 1rem;
  margin-left: 8px;
}
.service-card:hover, .service-card:focus-within {
  box-shadow: 0 8px 32px var(--shadow-dark);
  border-left: 5px solid var(--primary);
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.text-image-section > * {
  flex: 1 1 260px;
}

@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .features, .feature-grid, .card-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
}

/*---------------------------------
  FEATURE / INFO / ICONIC CARDS
-----------------------------------*/
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.feature-grid > div {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 2px 12px var(--shadow);
  flex: 1 1 min(270px, 100%);
  padding: 22px 18px 18px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 220px;
  max-width: 320px;
  transition: box-shadow .17s;
  margin-bottom: 10px;
}
.feature-grid > div:hover, .feature-grid > div:focus-within {
  box-shadow: 0 8px 32px var(--shadow-dark);
  background: #fbfaf6;
}
.feature-grid img {
  width: 38px;
  height: 38px;
  margin-bottom: 10px;
  filter: grayscale(0%) contrast(1.05);
}

/*----------------------------------*
  TESTIMONIALS / CUSTOMER REVIEWS
*-----------------------------------*/
.testimonial-slider, .testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 14px;
  justify-content: flex-start;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 30px 22px 28px;
  margin-bottom: 20px;
  border-radius: var(--radius-card);
  background: #fff;
  color: #23233A;
  box-shadow: 0 3px 20px 0 var(--shadow);
  min-width: 260px;
  max-width: 400px;
}
.testimonial-card p {
  color: #23233A;
  font-size: 1.12rem;
  font-style: italic;
  margin-bottom: 8px;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  line-height: 1.7;
}
.testimonial-card strong {
  color: var(--secondary);
  font-size: 0.99rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
}
@media (max-width: 900px) {
  .testimonial-slider, .testimonial-list {
    flex-direction: column;
    gap: 18px;
  }
}

/*------------------------------*
  LISTS & TYPOGRAPHY
*------------------------------*/
ul {
  padding-left: 22px;
  margin-bottom: 10px;
}
ul li {
  margin-bottom: 8px;
  font-size: 1rem;
  color: var(--primary);
}
ul li strong {
  color: var(--primary);
}

/*------------------------------*
  CONTACT, FOOTER & UTILITY 
*------------------------------*/
footer {
  background: #23233A;
  color: #fff;
  padding: 38px 0 24px 0;
  margin-top: 36px;
}
footer .container {
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 8px;
}
.footer-nav a {
  color: #fff;
  text-decoration: none;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  opacity: 0.93;
  transition: opacity 0.13s, color 0.15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  opacity: 1;
  color: var(--highlight);
}
.footer-contact {
  font-size: 0.99rem;
  color: #dedede;
  margin-bottom: 8px;
}
.footer-logo img {
  height: 34px;
  margin-top: 16px;
  filter: brightness(1.15);
}
@media (max-width: 650px) {
  .footer-nav {
    flex-direction: column;
    gap: 9px;
  }
}

/*-----------------------------*
  SPACING & WHITE SPACE RULES
*-----------------------------*/
section, .section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container, .card-grid {
  gap: 24px;
}
.card {
  margin-bottom: 20px;
}
.content-grid {
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  gap: 30px;
}
.testimonial-card {
  gap: 20px;
  padding: 20px;
}
.feature-item {
  gap: 15px;
}

/*------------------*
  LINKS
*-------------------*/
a {
  color: var(--cta);
  text-decoration: underline;
  transition: color .18s;
}
a:hover, a:focus {
  color: var(--primary);
  background: var(--accent);
}

/*----------------------*
  MODALS/BANNERS (COOKIE)
*----------------------*/
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #23233A;
  color: #fff;
  z-index: 9000;
  padding: 30px 20px 22px 20px;
  box-shadow: 0 -3px 26px 0 rgba(35,35,58,0.16);
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  animation: slideInCookie 0.45s cubic-bezier(.5,.32,.48,1.10);
}
@keyframes slideInCookie {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 7px;
}
.cookie-banner button,
.cookie-banner .cookie-settings-btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: 22px;
  padding: 10px 28px;
  cursor: pointer;
  transition: background 0.19s, color 0.19s, box-shadow 0.18s;
  box-shadow: 0 2px 6px var(--shadow);
}
.cookie-banner .accept {
  background: var(--cta);
  color: #fff;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: var(--success);
}
.cookie-banner .reject {
  background: var(--danger);
  color: #fff;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #b91b1b;
}
.cookie-banner .cookie-settings-btn {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 2px 8px var(--shadow);
}
.cookie-banner .cookie-settings-btn:hover, .cookie-banner .cookie-settings-btn:focus {
  background: var(--accent);
  color: var(--cta);
}

.cookie-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(35,35,58,0.8);
  z-index: 10001;
  align-items: center;
  justify-content: center;
  animation: fadeInModal .34s;
}
.cookie-modal-overlay.active {
  display: flex;
}
@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #23233A;
  border-radius: var(--radius-card);
  box-shadow: 0 6px 38px 0 var(--shadow-dark);
  padding: 36px 30px 32px 30px;
  min-width: 300px;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: modalAppear 0.38s cubic-bezier(.5,.32,.48,1.10);
}
@keyframes modalAppear {
  from { transform: translateY(40px) scale(.97); opacity: 0; }
  to { transform: none; opacity: 1; }
}
.cookie-modal h3 {
  color: var(--primary);
  margin-bottom: 10px;
  font-size: 1.18rem;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-modal .cookie-cat {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 6px;
}
.cookie-modal .cat-label {
  font-weight: 700;
}
.cookie-modal .cookie-toggle {
  appearance: none;
  width: 36px;
  height: 20px;
  background: #d2d2e6;
  border-radius: 10px;
  position: relative;
  outline: none;
  margin-left: 6px;
  vertical-align: middle;
  transition: background .18s;
  cursor: pointer;
}
.cookie-modal .cookie-toggle:checked {
  background: var(--cta);
}
.cookie-modal .cookie-toggle:before {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  top: 1px;
  left: 1px;
  background: #fff;
  border-radius: 50%;
  transition: left .16s;
  box-shadow: 0 1px 3px var(--shadow);
}
.cookie-modal .cookie-toggle:checked:before {
  left: 17px;
}
.cookie-modal .modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 5px;
}
.cookie-modal .close-modal {
  background: var(--danger);
  color: #fff;
  padding: 8px 18px;
  border-radius: 15px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  border: none;
  cursor: pointer;
  align-self: flex-end;
  margin-top: -15px;
  margin-bottom: 10px;
  margin-right: -8px;
  transition: background 0.16s;
}
.cookie-modal .close-modal:hover,
.cookie-modal .close-modal:focus {
  background: #b91b1b;
}

/*----------------------*
  MEDIA QUERIES
*----------------------*/
@media (max-width: 1024px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  section, .section {
    padding-right: 10px;
    padding-left: 10px;
  }
}
@media (max-width: 850px) {
  .hero {
    padding: 36px 0 38px 0;
  }
  .feature-grid > div {
    min-width: 180px;
    max-width: 100%;
    padding: 18px 16px 14px 15px;
  }
  .service-card {
    padding: 18px 14px 16px 14px;
  }
}
@media (max-width: 650px) {
  .container {
    padding: 0 5px;
  }
  section, .section {
    padding: 24px 4px;
    margin-bottom: 40px;
  }
  h1 {
    font-size: 1.55rem;
    line-height: 1.18;
  }
  h2 {
    font-size: 1.1rem;
  }
  .hero {
    border-radius: 0 !important;
    padding: 26px 0 22px 0;
  }
}
@media (max-width: 480px) {
  .cookie-modal {
    padding: 13px 7px 18px 8px;
  }
  .cookie-banner {
    padding-left: 7px;
    padding-right: 7px;
  }
}

/*----------------------*
  ANIMATIONS
*----------------------*/
.btn-primary, .btn-secondary {
  transition: box-shadow .18s, background .17s, color .14s, transform .18s;
}
.btn-primary:active, .btn-secondary:active {
  transform: translateY(1px) scale(.99);
}
.service-card, .feature-grid > div, .card {
  transition: box-shadow .16s, border-color .14s, transform .15s;
}
.service-card:active, .feature-grid > div:active {
  transform: scale(.98);
}

/*----------------------*
  SPECIAL: VISUAL/BOLD
*----------------------*/
/* For bold geometric flair */
section, .hero, .service-card, .feature-grid > div, .card, .testimonial-card {
  border-radius: var(--radius-card);
}
.feature-grid > div, .service-card, .testimonial-card {
  border: 2.5px solid transparent;
}
.feature-grid > div:hover, .service-card:hover, .testimonial-card:hover {
  border-color: var(--cta);
}
/* Add subtle geometric accent shapes (decoration only, not absolute on content) */
.feature-grid > div:before {
  content: '';
  display: block;
  width: 36px; height: 6px;
  background: var(--cta);
  border-radius: 12px;
  opacity: 0.2;
  margin-bottom: 8px;
}

/* END *//*
  For accessibility and cross-browser
*/
::-webkit-input-placeholder { color: #888; }
::-moz-placeholder { color: #888; }
:-ms-input-placeholder { color: #888; }
::placeholder { color: #888; }
