/* ====================== 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;
}
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  background: #F7FAFC;
  font-family: 'Roboto', Arial, sans-serif;
  color: #143150;
  font-size: 16px;
  min-height: 100vh;
}
*, *:before, *:after {
  box-sizing: inherit;
}
img, picture, video, canvas, svg {
  display: inline-block;
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
a {
  background: transparent;
  color: #143150;
  text-decoration: none;
  transition: color 0.2s;
  cursor: pointer;
}
ul, ol {
  list-style: none;
}
strong, b {
  font-weight: 700;
}
button, [type="button"], [type="reset"], [type="submit"] {
  appearance: none;
  border: none;
  outline: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

/* ====================== VARIABLES (with fallback) ====================== */
:root {
  --color-primary: #143150;
  --color-secondary: #47B5FF;
  --color-accent: #F7FAFC;
  --color-dark: #102132;
  --color-light: #ffffff;
  --color-muted: #e9eff5;
  --color-shadow: rgba(20, 49, 80, 0.06);
  --shadow-card: 0 8px 24px rgba(20,49,80,0.07);
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
}

/* ====================== BASE TYPOGRAPHY ====================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 12px;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 18px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.5rem;
}
h4 {
  font-size: 1.18rem;
}
p, ul, ol, span, li {
  font-size: 1rem;
  font-family: var(--font-body);
  color: var(--color-primary);
  margin-bottom: 8px;
}
p {
  line-height: 1.65;
}
a:hover, a:focus {
  color: var(--color-secondary);
  text-decoration: underline;
}

/* ====================== CONTAINER & GRID ====================== */
.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 18px;
  margin: 0 auto;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: var(--shadow-card);
}

/* ====================== HEADER & NAVIGATION ====================== */
header {
  width: 100%;
  background: linear-gradient(90deg, #143150 0%, #47B5FF 100%);
  box-shadow: 0 3px 18px 0 rgba(20,49,80,0.04);
}
header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px 12px 20px;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: #fff;
  opacity: 0.90;
  padding: 6px 6px 6px 0;
  letter-spacing: 0.01em;
  font-weight: 500;
  transition: color 0.14s, opacity 0.15s, background 0.2s;
  border-radius: 5px;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--color-secondary);
  background: rgba(71,181,255,0.10);
  opacity: 1;
  text-decoration: none;
}
.main-nav a.cta-primary {
  background: linear-gradient(90deg, #47B5FF 40%, #143150 100%);
  color: #fff;
  padding: 10px 28px;
  border-radius: 30px;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-left: 8px;
  box-shadow: 0 2px 10px rgba(71,181,255,0.11);
  transition: box-shadow 0.2s, background 0.16s;
}
.main-nav a.cta-primary:hover {
  background: linear-gradient(90deg, #143150 0%, #47B5FF 80%);
  color: #fff;
  box-shadow: 0 5px 18px rgba(71,181,255,0.18);
}

/* Hamburger mobile menu button */
.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-secondary);
  color: #fff;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 2rem;
  margin-left: 10px;
  transition: background 0.16s, color 0.16s;
  z-index: 103;
  border: none;
  box-shadow: 0 2px 6px rgba(71, 181, 255, 0.13);
  cursor: pointer;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #1a4473;
}

/* Hide menu on desktop */
.mobile-menu-toggle {
  display: none;
}

/* ====================== MOBILE MENU STYLES ====================== */
.mobile-menu {
  position: fixed;
  inset: 0 0 0 0;
  background: linear-gradient(98deg, #143150 68%, #47B5FF 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0 0 0 0;
  z-index: 2000;
  transform: translateX(-100vw);
  opacity: 0;
  transition: transform 0.36s cubic-bezier(.82,.01,.49,1), opacity 0.28s;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  margin-top: 23px;
  margin-left: 24px;
  background: var(--color-secondary);
  color: #fff;
  font-size: 2rem;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
  z-index: 2101;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #1a4473;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  margin-top: 36px;
  padding: 0 34px;
  gap: 19px;
}
.mobile-nav a {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: bold;
  padding: 12px 0;
  width: 100%;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  transition: color 0.14s, background 0.14s;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: rgba(71,181,255,0.13);
  color: var(--color-secondary);
}

/* Hide main nav on mobile */
@media (max-width: 991px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}


/* ====================== MAIN ====================== */
main {
  margin-top: 0;
  min-height: 70vh;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-card);
}
@media (max-width: 600px) {
  section {
    padding: 22px 8px;
  }
}

/* ========== Key Content Visual Patterns ========== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 3px 22px var(--color-shadow);
  margin-bottom: 20px;
  position: relative;
  padding: 36px 27px;
  transition: box-shadow 0.18s, transform 0.18s;
  min-width: 260px;
  flex: 1 1 260px;
}
.card:hover {
  box-shadow: 0 6px 32px rgba(20,49,80,0.14);
  transform: translateY(-3px) scale(1.03);
}
.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;
  background: var(--color-accent);
  color: #143150;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(71,181,255,0.10);
  margin-bottom: 20px;
  min-width: 270px;
  flex: 1 1 270px;
}
.testimonial-card strong {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--color-primary);
  margin-right: 8px;
  flex-shrink: 0;
}
.testimonial-card .star-rating {
  color: #f5d70a;
  font-size: 1.1rem;
  font-family: inherit;
  margin-left: auto;
}
/* Card style for info blocks */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 24px 18px;
  border-radius: 12px;
  border: 1px solid var(--color-muted);
  background: #fff;
}

/* Lists inside content */
ul, ol {
  margin-bottom: 16px;
}
ul li, ol li {
  font-size: 1rem;
  line-height: 1.55;
  padding-left: 30px;
  position: relative;
  margin-bottom: 10px;
}
ul li img {
  position: absolute;
  left: 0;
  top: 2px;
  width: 22px;
  height: 22px;
  margin-right: 8px;
}

/* Category/Filter in Blog */
.category-filter {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
  margin-top: 12px;
  font-size: 0.98rem;
}
.category-filter span {
  color: var(--color-primary);
  font-weight: 600;
}
.category-filter a {
  color: var(--color-secondary);
  font-weight: 500;
  transition: color 0.2s;
  padding: 2px 10px;
  border-radius: 6px;
}
.category-filter a:hover {
  background: rgba(71,181,255,0.09);
}

/* ========== Table Styling for Pricing ========== */
table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 28px;
  margin-top: 8px;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 12px rgba(20,49,80,0.06);
}
th, td {
  border-bottom: 1px solid #e9eff5;
  padding: 18px 18px;
  text-align: left;
  font-size: 1rem;
  font-family: var(--font-body);
}
th {
  background: var(--color-secondary);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.10rem;
  font-weight: 700;
}
tr:last-child td {
  border-bottom: none;
}

/* ========== Input Styling (Blog Search etc) ========== */
input[type="text"], input[type="email"], input[type="search"] {
  background: #f2f6fa;
  border: 1px solid #e0e8ef;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 1rem;
  margin-bottom: 16px;
  font-family: var(--font-body);
  transition: border 0.17s, box-shadow 0.18s;
  width: 100%;
  outline: none;
}
input[type="text"]:focus {
  border: 1.5px solid var(--color-secondary);
  box-shadow: 0 2px 6px rgba(71, 181, 255, 0.09);
}

/* ========== Button Styles ========== */
.cta-primary, .cta-secondary, .cookie-accept-btn, .cookie-reject-btn, .cookie-settings-btn {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  padding: 11px 30px;
  border-radius: 30px;
  transition: background 0.18s, box-shadow 0.21s, color 0.15s;
  box-shadow: 0 2px 10px rgba(71,181,255,0.11);
  cursor: pointer;
  background: linear-gradient(90deg, #47B5FF 47%, #143150 97%);
  color: #fff;
  border: none;
  display: inline-block;
  margin-top: 10px;
  margin-bottom: 10px;
}
.cta-primary:hover, .cta-primary:focus,
.cookie-accept-btn:hover, .cookie-accept-btn:focus {
  background: linear-gradient(95deg, #143150 0%, #47B5FF 90%);
  color: #fff;
  box-shadow: 0 5px 19px rgba(71,181,255,0.16);
  text-decoration: none;
}
.cta-secondary {
  background: var(--color-accent);
  color: var(--color-primary);
  border: 2px solid var(--color-secondary);
}
.cta-secondary:hover, .cta-secondary:focus {
  background: #47B5FF;
  color: #fff;
}
.cookie-reject-btn {
  background: #fff;
  color: #143150;
  border: 1.5px solid #143150;
  margin-right: 12px;
}
.cookie-reject-btn:hover, .cookie-reject-btn:focus {
  background: #143150;
  color: #fff;
}
.cookie-settings-btn {
  background: #f7fafc;
  color: #143150;
  border: 1.5px solid var(--color-secondary);
  margin-right: 12px;
}
.cookie-settings-btn:hover, .cookie-settings-btn:focus {
  background: #47B5FF;
  color: #fff;
}

/* ====================== FOOTER ====================== */
footer {
  width: 100%;
  background: linear-gradient(92deg, #143150 0%, #47B5FF 100%);
  padding: 46px 0 0 0;
  color: #f7fafc;
  font-size: 1rem;
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  gap: 28px;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 16px;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}
.footer-menu a, footer .footer-menu span {
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  opacity: 0.88;
  padding-right: 8px;
}
.footer-menu a:hover {
  color: var(--color-secondary);
  text-decoration: underline;
}
.brand-info {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.04rem;
}
.address-city, .contact-info {
  margin-bottom: 6px;
  font-size: 0.97rem;
  color: #f7fafc;
}
.address-city strong {
  color: #fff;
}
.social-links {
  display: flex;
  flex-direction: row;
  gap: 15px;
  align-items: center;
}
.social-links a {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 7px;
  padding: 6px;
  transition: background 0.16s;
  box-shadow: 0 1px 2px rgba(20, 49, 80, 0.11);
}
.social-links a:hover {
  background: var(--color-secondary);
}
footer .copyright {
  width: 100%;
  margin-top: 24px;
  text-align: center;
  color: #e1edfc;
  font-size: 0.98rem;
  opacity: 0.8;
}

/* ====================== COOKIE BANNER ====================== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2200;
  background: #143150;
  color: #fff;
  padding: 24px 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 38px;
  box-shadow: 0 -4px 20px rgba(20, 49, 80, 0.19);
  font-size: 1rem;
  animation: cookie-banner-in 0.55s cubic-bezier(.85,0,.12,1);
}
@keyframes cookie-banner-in {
  0% { opacity: 0; transform: translateY(60px); }
  100% { opacity: 1; transform: translateY(0); }
}
.cookie-banner__text {
  flex: 1 1 230px;
  color: #fff;
  font-size: 1.08rem;
  font-family: var(--font-body);
  margin-bottom: 4px;
}
.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}

/* ====================== COOKIE MODAL ====================== */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2302;
  background: rgba(20,49,80,0.44);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  opacity: 1;
  animation: cookie-modal-in 0.35s ease;
}
@keyframes cookie-modal-in {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: var(--color-primary);
  padding: 34px 26px 26px 26px;
  border-radius: 18px;
  max-width: 420px;
  min-width: 280px;
  box-shadow: 0 12px 44px rgba(20,49,80,0.18);
  position: relative;
  font-family: var(--font-body);
  z-index: 2310;
  display: flex;
  flex-direction: column;
  gap: 10px;
  animation: cookie-modal-in 0.35s ease;
}
.cookie-modal h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 18px;
  color: var(--color-primary);
  font-weight: 600;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  gap: 7px;
}
.cookie-category .cookie-toggle {
  margin-left: 10px;
}
.cookie-toggle {
  appearance: none;
  width: 38px;
  height: 22px;
  background: #e0e8ef;
  border-radius: 13px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.22s;
  vertical-align: middle;
}
.cookie-toggle:checked {
  background: #47B5FF;
}
.cookie-toggle::after {
  content: '';
  display: block;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  left: 2px;
  top: 2px;
  transition: left .17s cubic-bezier(.42,0,.68,1.07), background 0.15s;
  box-shadow: 0 1px 4px rgba(20,49,80,0.09);
}
.cookie-toggle:checked::after {
  left: 18px;
  background: #fff;
}
.cookie-category[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
}
.cookie-modal .modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 15px;
  margin-top: 18px;
}

/* ====================== RESPONSIVE ====================== */
@media (max-width: 991px) {
  .footer-menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  footer .container {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
    padding-bottom: 24px;
  }
}

@media (max-width: 900px) {
  .container {
    padding: 0 10px;
    max-width: 98vw;
  }
}
@media (max-width: 768px) {
  .content-grid,
  .card-container {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
  }
  .section {
    margin-bottom: 38px;
    padding: 24px 8px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: center;
    gap: 18px;
  }
  h1 {
    font-size: 1.75rem;
    text-align: left;
    margin-bottom: 12px;
  }
  h2 {
    font-size: 1.28rem;
    margin-bottom: 10px;
  }
  h3 {
    font-size: 1.13rem;
  }
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    gap: 16px;
    padding: 20px 6px;
    font-size: 15px;
  }
  .cookie-banner__actions {
    width: 100%;
    justify-content: flex-end;
    gap: 8px;
  }
  .cookie-modal {
    min-width: 95vw;
    padding: 20px 8px 16px 8px;
  }
}

/* ====================== MISC ENHANCEMENTS ====================== */
.map-embed {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 1.5px 11px rgba(20,49,80,0.09);
  margin-top: 18px;
}

/* Hide scroll for mobile menu */
body.menu-open {
  overflow: hidden;
}

/* ====== Microinteractions ====== */
.card, .testimonial-card, .feature-item, .cta-primary {
  transition: box-shadow 0.19s, transform 0.15s;
}
.cta-primary:active {
  transform: scale(0.97);
  box-shadow: 0 1px 4px rgba(71,181,255,0.11);
}
.testimonial-card:active {
  transform: scale(0.98);
}


/* ====================== END ====================== */