/* 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,
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;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  background: #fff;
  color: #1b2328;
  font-family: 'Open Sans', Arial, sans-serif;
  line-height: 1.6;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

img, svg {
  display: inline-block;
  max-width: 100%;
  height: auto;
}
a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}
ul, ol {
  list-style: disc;
  padding-left: 1.3em;
}

strong, b { font-weight: 600; }
hr { border: none; border-top: 1px solid #eee; }

/*--- BRAND COLOR VARIABLES & FALLBACKS ---*/
:root {
  --primary: #284155;
  --secondary: #90C3D4;
  --accent: #F5F3EC;
  --heading: #284155;
  --text: #1b2328;
  --white: #fff;
  --shadow: 0 2px 12px rgba(40,65,85,0.08);
  --radius: 10px;
}

/*--- TYPOGRAPHY ---*/
@import url('https://fonts.googleapis.com/css?family=Montserrat:700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600&display=swap');
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--heading);
  line-height: 1.2;
}
h1 { font-size: 2.2rem; margin-bottom: 20px; }
h2 { font-size: 1.7rem; margin-bottom: 18px; }
h3 { font-size: 1.22rem; margin-bottom: 12px; }
h4, h5, h6 { font-size: 1rem; }

p {
  margin-bottom: 16px;
  color: var(--text);
}

.subheadline {
  color: var(--secondary);
  font-size: 1.15rem;
}

/* Responsiveness: Font-scaling */
@media (max-width: 768px) {
  h1 { font-size: 1.55rem; }
  h2 { font-size: 1.25rem; }
  h3 { font-size: 1.08rem; }
}

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

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--white);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  margin-bottom: 20px;
  position: relative;
  padding: 24px;
  flex: 1 1 280px;
  min-width: 200px;
  transition: box-shadow 0.22s;
}
.card:hover {
  box-shadow: 0 4px 24px rgba(40,65,85,0.12);
}

.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: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  background: #fff;
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 20px 30px;
  margin-bottom: 24px;
  min-width: 250px;
  max-width: 640px;
  width: 100%;
}
.testimonial-card p {
  color: var(--text);
  font-size: 1.1rem;
  font-style: italic;
}
.testimonial-meta {
  color: var(--secondary);
  font-size: 0.97rem;
  font-family: 'Open Sans', Arial, sans-serif;
  margin-top: 6px;
}
.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
@media (max-width: 900px) {
  .testimonials { flex-direction: column; gap: 18px; }
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/*--- HEADER & MAIN NAVIGATION ---*/
header {
  background: var(--accent);
  box-shadow: 0 1px 12px rgba(40,65,85,0.03);
  position: sticky;
  top: 0;
  z-index: 1001;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  gap: 18px;
}
header img {
  height: 46px;
  width: auto;
  margin-right: 12px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
.main-nav a {
  font-family: 'Open Sans', Arial, sans-serif;
  color: var(--primary);
  font-size: 1rem;
  padding: 4px 8px;
  border-radius: 4px;
  transition: background 0.17s, color 0.17s;
}
.main-nav a:hover, .main-nav a.active {
  background: var(--secondary);
  color: #fff;
}
.cta-btn {
  background: #acbbc7;
  color: #fff;
  padding: 11px 28px;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  margin-left: 16px;
  letter-spacing: 0.02em;
  transition: background 0.2s, box-shadow 0.2s, color 0.15s;
  box-shadow: 0 2px 16px rgba(40,65,85,0.08);
  border: none;
  outline: none;
  cursor: pointer;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--secondary);
  color: var(--primary);
  box-shadow: 0 6px 24px rgba(40,65,85,0.16);
}
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--primary);
  cursor: pointer;
  padding: 10px 7px;
  line-height: 1;
  z-index: 1101;
}

@media (max-width: 900px) {
  .main-nav { display: none; }
  .mobile-menu-toggle { display: block; }
}

/*--- MOBILE MENU ---*/
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(40,65,85,0.91);
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(.65,.04,.35,1);
  z-index: 1300;
  display: flex;
  flex-direction: column;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #fff;
  position: absolute;
  top: 23px; right: 28px;
  cursor: pointer;
  z-index: 1400;
  line-height: 1;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  margin: 70px 0 0 32px;
}
.mobile-nav a {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #fff;
  font-size: 1.23rem;
  padding: 13px 8px 13px 0;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
  width: 100%;
  margin-right: 24px;
}
.mobile-nav a:hover, .mobile-nav a.active {
  background: var(--secondary);
  color: var(--primary);
}

@media (min-width: 900px) {
  .mobile-menu { display: none !important; }
}

/*--- HERO & FEATURE SECTIONS ---*/
.hero-section {
  background: var(--accent);
  min-height: 270px;
  padding: 50px 0 44px 0;
  display: flex;
  align-items: center;
}
.hero-section .content-wrapper {
  align-items: flex-start;
  gap: 20px;
}
.hero-section h1 {
  color: var(--primary);
  margin-bottom: 8px;
}
.hero-section .subheadline {
  font-size: 1.21rem;
  margin-bottom: 12px;
  color: var(--secondary);
}
.features-section {
  background: #fff;
  margin-bottom: 0;
  padding-top: 0;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 16px;
  margin-bottom: 8px;
}
.feature {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--accent);
  border-radius: var(--radius);
  padding: 24px 18px 22px 18px;
  box-shadow: var(--shadow);
  max-width: 270px;
  flex: 1 1 210px;
  min-width: 180px;
  transition: box-shadow 0.19s;
}
.feature:hover {
  box-shadow: 0 8px 24px rgba(40,65,85,0.09);
}
.feature img {
  height: 48px;
  margin-bottom: 10px;
}
.feature h3 {
  margin-bottom: 8px;
  margin-top: 6px;
}
@media (max-width: 1100px) {
  .feature-grid { gap: 20px; }
  .feature { max-width: 46%; }
}
@media (max-width: 700px) {
  .feature-grid { flex-direction: column; gap: 18px; }
  .feature { max-width: 100%; width: 100%; }
}

/*--- CTA SECTION ---*/
.cta-section {
  background: var(--secondary);
  color: var(--primary);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 60px;
}
.cta-section .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 14px;
}
.cta-section h2, .cta-section p {
  color: var(--primary);
}
@media (max-width: 720px) {
  .cta-section .content-wrapper {
    align-items: flex-start;
    text-align: left;
  }
}

/*--- FOOTER ---*/
footer {
  background: var(--accent);
  padding: 36px 0 24px 0;
  border-top: 1px solid #ececec;
  margin-top: 30px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
}
.footer-nav {
  display: flex;
  gap: 20px;
  align-items: center;
}
.footer-nav a {
  color: var(--primary);
  font-size: 0.98rem;
  text-decoration: underline dotted;
  padding: 3px 5px;
  border-radius: 3px;
  transition: color 0.15s, background 0.17s;
}
.footer-nav a:hover {
  background: var(--secondary);
  color: #fff;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.98rem;
  color: var(--primary);
}
.footer-contact img {
  height: 34px;
  margin-bottom: 7px;
}
.footer-contact .address,
.footer-contact .phone,
.footer-contact .email,
.footer-contact .hours {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.98rem;
}
footer .address img,
footer .phone img,
footer .email img,
footer .hours img {
  height: 18px;
  margin-right: 4px;
}

@media (max-width: 940px) {
  footer .container { flex-direction: column; gap: 20px; }
  .footer-nav { flex-wrap: wrap; }
  .footer-contact { margin-top: 18px; }
}

/*--- TABLES (pricing) ---*/
.pricing-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-bottom: 28px;
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}
.pricing-table th,
.pricing-table td {
  font-size: 1rem;
  padding: 16px 10px;
  text-align: left;
}
.pricing-table th {
  background: var(--primary);
  color: #fff;
  font-weight: 600;
}
.pricing-table tr:nth-child(even) td {
  background: #f6f8fa;
}
.pricing-table tr:hover td {
  background: var(--secondary);
  color: #fff;
  transition: background .16s, color .16s;
}
@media(max-width: 600px) {
  .pricing-table, .pricing-table th, .pricing-table td {
    font-size: 0.97rem;
  }
  .pricing-table th, .pricing-table td { padding: 11px 5px; }
}

/*--- UL/OL Spacing ---*/
ul, ol {
  margin-bottom: 24px;
}
ul li, ol li {
  margin-bottom: 8px;
  line-height: 1.6;
  font-size: 1rem;
}

/*--- ARTICLE / BLOG LIST ---*/
.blog-list article {
  background: var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 18px 17px 18px;
  margin-bottom: 20px;
  transition: box-shadow .18s;
}
.blog-list article:hover {
  box-shadow: 0 5px 22px rgba(40,65,85,0.13);
}

/*--- FAQ ---*/
.faq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.faq-item {
  background: #fff;
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 20px 18px;
  margin-bottom: 20px;
  flex: 1 1 320px;
  transition: box-shadow 0.2s;
}
.faq-item h3 { margin-bottom: 10px; }
.faq-item:hover {
  box-shadow: 0 6px 18px rgba(40,65,85,0.15);
}
@media (max-width: 700px) { .faq-list { flex-direction: column; gap: 18px; } }

/*--- LEGAL SECTION (Policy/Terms) ---*/
.legal-section .content-wrapper {
  max-width: 740px;
  margin: 0 auto;
  gap: 20px;
}
.legal-section .text-section {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 27px 22px 22px 22px;
}
.legal-section h2 {
  color: var(--secondary);
}

/*--- CONTACT PAGE ---*/
.contact-section .contact-details {
  display: flex;
  flex-direction: column;
  gap: 13px;
  background: var(--accent);
  border-radius: var(--radius);
  padding: 18px 24px 14px 24px;
  margin: 20px 0 18px 0;
  box-shadow: var(--shadow);
}
.contact-section .contact-details div {
  display: flex;
  align-items: center;
  gap: 9px;
}
.contact-section h3 { margin-bottom: 12px; }

/*--- CONFIRMATION (THANK YOU) PAGE ---*/
.confirmation-section .content-wrapper {
  align-items: center;
}
.confirmation-section .cta-btn { margin-top: 17px; }

/*--- DEFAULT BUTTON STYLES (SETTINGS, COOKIES, ETC.) ---*/
button, .button {
  font-family: inherit;
  font-size: 1rem;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 9px 22px;
  font-weight: 600;
  margin: 0 9px 0 0;
  cursor: pointer;
  transition: background 0.18s, color 0.13s, box-shadow .18s;
  outline: none;
  box-shadow: 0 1px 6px rgba(40,65,85,0.03);
}
button:hover, button:focus, .button:hover, .button:focus {
  background: var(--secondary);
  color: var(--primary);
  box-shadow: 0 6px 13px rgba(40,65,85,0.11);
}

/*--- COOKIE BANNER ---*/
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #f7fafb;
  color: var(--primary);
  border-top: 1px solid #ececec;
  box-shadow: 0 -2px 20px rgba(40,65,85,0.12);
  z-index: 1800;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 20px 14px;
  transition: transform .3s cubic-bezier(.83,0,.17,1);
  font-size: 1rem;
}
.cookie-banner.hide {
  transform: translateY(120%);
}
.cookie-banner__text {
  flex: 1 1 350px;
  max-width: 550px;
  color: var(--text);
  font-size: 0.98rem;
  margin-right: 24px;
}
.cookie-banner__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.cookie-banner button {
  padding: 8px 17px;
  font-size: 1rem;
  border-radius: 5px;
  background: var(--primary);
  color: #fff;
  min-width: 110px;
}
.cookie-banner button.accept {
  background: var(--secondary);
  color: var(--primary);
}
.cookie-banner button.reject {
  background: #c1c1c1;
  color: var(--primary);
}
.cookie-banner button.settings {
  background: #fff;
  color: var(--primary);
  border: 1px solid var(--secondary);
}
.cookie-banner button:hover {
  box-shadow: 0 4px 16px rgba(40,65,85,0.09);
}

@media (max-width: 720px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    font-size: 0.98rem;
    padding: 18px 8px;
  }
  .cookie-banner__text { margin-right: 0; margin-bottom: 10px; }
}

/*--- COOKIE MODAL ---*/
.cookie-modal__overlay {
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(40,65,85,0.55);
  z-index: 1850;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .22s;
  opacity: 1;
}
.cookie-modal__overlay.hide { opacity: 0; pointer-events: none; }
.cookie-modal {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 4px 40px rgba(40,65,85,0.13);
  min-width: 326px;
  max-width: 97vw;
  padding: 28px 30px 24px 30px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: slideModalIn .35s cubic-bezier(.8,-0.24,.39,1.31);
}
@keyframes slideModalIn {
  0% { opacity: 0; transform: translateY(44px) scale(0.98); }
  100% { opacity: 1; transform: none; }
}
.cookie-modal__close {
  position: absolute;
  right: 15px; top: 15px;
  border: none;
  background: none;
  font-size: 1.34rem;
  color: var(--primary);
  cursor: pointer;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1rem;
}
.cookie-category input[type=checkbox] {
  accent-color: var(--secondary);
  width: 21px; height: 21px;
  margin-right: 5px;
}
.cookie-category.essential input[type=checkbox] {
  accent-color: #c1c1c1;
}
.cookie-category.essential label {
  color: #c1c1c1;
}
.cookie-category label {
  font-weight: 600;
  color: var(--primary);
}
.cookie-modal__buttons {
  display: flex;
  gap: 11px;
  justify-content: flex-end;
  margin-top: 12px;
}
.cookie-modal__buttons button {
  font-size: 1rem;
  padding: 9px 16px;
  border-radius: 4px;
}

@media (max-width: 520px) {
  .cookie-modal {
    min-width: 0;
    padding: 18px 7vw 15px 7vw;
    font-size: 0.96rem;
  }
}

/*--- SECTION SPACING & FLEX LAYOUTS ---*/
.section {
  margin-bottom: 60px !important;
  padding: 40px 20px !important;
}
.card-container {
  display: flex !important;
  flex-wrap: wrap;
  gap: 24px !important;
}
.card {
  margin-bottom: 20px !important;
  position: relative !important;
}
.content-grid {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 20px !important;
  justify-content: space-between !important;
}
.text-image-section {
  display: flex !important;
  align-items: center !important;
  gap: 30px !important;
  flex-wrap: wrap !important;
}
.testimonial-card {
  display: flex !important;
  align-items: center !important;
  gap: 20px !important;
  padding: 20px !important;
  box-shadow: var(--shadow) !important;
}
.feature-item {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 15px !important;
}

/* Responsive: fix layouts */
@media (max-width: 768px) {
  .content-grid, .card-container, .testimonials, .faq-list {
    flex-direction: column !important;
    gap: 18px !important;
  }
}

/*--- MICRO-INTERACTIONS / ANIMATIONS ---*/
.cta-btn, button, .button, .main-nav a, .mobile-nav a, .feature, .card, .faq-item, .testimonial-card, .blog-list article, .pricing-table tr {
  transition: box-shadow .18s, background .18s, color .14s, transform .17s;
}
.cta-btn:hover, button:hover, .button:hover {
  transform: translateY(-2px) scale(1.02);
}
.feature:hover, .card:hover, .faq-item:hover, .blog-list article:hover {
  transform: translateY(-2px) scale(1.01);
}

/*--- MISC. ACCESSIBILITY ---*/
a:focus, button:focus, .cta-btn:focus, .main-nav a:focus, .mobile-nav a:focus {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
  background: #e2edf1;
}

/*--- CUSTOM SCROLLBAR ---*/
::-webkit-scrollbar {
  width: 7px;
  background: #ececec;
}
::-webkit-scrollbar-thumb {
  background: #c0cad1;
  border-radius: 10px;
}

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