/* 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;
  outline: 0;
  box-sizing: border-box;
  font: inherit;
  vertical-align: baseline;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  min-height: 100vh;
  background-color: #F5F7FA;
  color: #263B57;
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}
ul, ol {
  list-style: none;
}
a {
  color: #263B57;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #66A3B6;
}

/* BRAND TYPOGRAPHY */
h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  color: #263B57;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.25rem;
  margin-bottom: 16px;
  line-height: 1.15;
}
h2 {
  font-size: 1.5rem;
  margin-bottom: 12px;
  line-height: 1.2;
}
h3 {
  font-size: 1.125rem;
  margin-bottom: 8px;
  line-height: 1.3;
}

p, li, address {
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #263B57;
}
strong {
  font-weight: 600;
}

/* STRUCTURAL CONTAINERS */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

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

/* FLEXBOX CARD PATTERNS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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;
    align-items: flex-start;
    gap: 20px;
  }
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* HERO SECTION */
.hero-section {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 32px 0 rgba(38,59,87,0.04);
  margin-top: 22px;
  margin-bottom: 60px;
  padding: 56px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-section .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-section .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 24px;
}

@media (max-width: 768px) {
  .hero-section {
    padding: 36px 0;
    margin-bottom: 32px;
  }
}

/* NAVIGATION */
header {
  background: #fff;
  border-bottom: 1px solid #F5F7FA;
  box-shadow: 0 2px 6px 0 rgba(38,59,87,0.03);
  position: relative;
  z-index: 30;
}
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 18px 20px 18px 20px;
  width: 100%;
}
nav > a > img {
  height: 38px;
  width: auto;
  display: block;
}
nav ul {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
nav ul li {
  margin: 0;
}
nav ul li a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #263B57;
  padding: 8px 12px;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
}
nav ul li a:hover, nav ul li a.active {
  color: #66A3B6;
  background: #F5F7FA;
}
.cta-btn {
  display: inline-block;
  background: #263B57;
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  padding: 10px 28px;
  border-radius: 24px;
  box-shadow: 0 2px 20px 0 rgba(38,59,87,0.06);
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.17s, box-shadow 0.2s, color 0.2s;
  outline: none;
  margin-left: 24px;
}
.cta-btn:hover, .cta-btn:focus {
  background: #66A3B6;
  color: #fff;
  box-shadow: 0 6px 36px 0 rgba(38,59,87,0.09);
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #263B57;
  font-size: 2.2rem;
  padding: 6px 10px;
  cursor: pointer;
  z-index: 105;
  transition: color 0.17s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  color: #66A3B6;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(245,247,250,0.99);
  z-index: 102;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.77,0,.18,1);
  box-shadow: 0 2px 24px 0 rgba(38,59,87,0.07);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 2.2rem;
  margin: 16px 26px 0 0;
  color: #263B57;
  cursor: pointer;
  z-index: 110;
  transition: color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #66A3B6;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 40px 0 0 32px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.08rem;
  color: #263B57;
  padding: 14px 0;
  border-radius: 4px;
  transition: color 0.21s;
  min-width: 140px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #66A3B6;
  background: #F5F7FA;
}
@media (max-width: 1023px) {
  nav ul, .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    position: absolute;
    right: 22px;
    top: 20px;
  }
}

/* MAIN LAYOUT & SPACING */
main {
  margin-top: 0;
}
@media (max-width: 768px) {
  .container {
    padding: 0 10px;
  }
  .section {
    padding: 28px 10px;
    margin-bottom: 32px;
  }
  nav {
    padding-left: 12px;
    padding-right: 12px;
  }
  .hero-section {
    padding: 28px 0;
  }
}

/* GENERIC CARD, SERVICE, TESTIMONIAL */
.services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 18px;
}
.service-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 16px 0 rgba(38,59,87,0.05);
  padding: 24px 22px 22px 22px;
  min-width: 230px;
  max-width: 365px;
  flex: 1 1 240px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, transform 0.2s;
}
.service-card:hover {
  box-shadow: 0 8px 24px 0 rgba(38,59,87,0.08);
  transform: translateY(-3px) scale(1.015);
}
@media (max-width: 900px) {
  .services-list {
    flex-direction: column;
    gap: 18px;
  }
  .service-card {
    min-width: 0;
    max-width: 100%;
  }
}

/* TESTIMONIALS */
.testimonial-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 16px 0 rgba(38,59,87,0.08);
  margin-bottom: 20px;
  gap: 24px;
  flex: 1 1 340px;
  flex-direction: row;
  transition: box-shadow 0.18s, transform 0.2s;
}
.testimonial-card blockquote {
  font-size: 1.125rem;
  line-height: 1.6;
  color: #263B57;
  font-style: italic;
}
.testimonial-info {
  font-size: 1rem;
  color: #263B57;
  opacity: 0.65;
}
.testimonial-card:hover {
  box-shadow: 0 6px 32px 0 rgba(102,163,182,0.09);
  transform: translateY(-2px) scale(1.01);
}
@media (max-width: 600px) {
  .testimonial-card {
    flex-direction: column;
    padding: 18px;
    gap: 10px;
  }
}

/* FOOTER */
footer {
  background: #263B57;
  color: #fff;
  padding: 48px 0 28px 0;
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 38px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-logo img {
  height: 44px;
  width: auto;
}
.footer-nav, .footer-legal, .footer-contact, .footer-social {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a,
.footer-legal a {
  color: #F5F7FA;
  font-size: 1rem;
  transition: color 0.2s;
  margin-bottom: 2px;
}
.footer-nav a:hover, .footer-legal a:hover {
  color: #66A3B6;
}
.footer-contact address, .footer-contact span, .footer-contact a {
  color: #F5F7FA;
  font-size: 1rem;
  font-style: normal;
  opacity: 0.97;
}
.footer-social {
  flex-direction: row;
  gap: 12px;
  margin-top: 10px;
}
.footer-social img {
  height: 28px;
  width: 28px;
  opacity: 0.9;
  transition: opacity 0.2s;
  cursor: pointer;
}
.footer-social img:hover {
  opacity: 1;
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }
}

/* LISTS WITH ICONS */
ul li {
  padding-left: 0;
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
ul li img {
  height: 24px;
  width: 24px;
  margin-right: 6px;
}
ul li span {
  font-size: 1rem;
}

/* CONTACT & SOCIAL */
.contact-block {
  display: flex;
  flex-wrap: wrap;
  gap: 38px;
  margin-top: 18px;
}
.contact-details, .text-section {
  flex: 1 1 300px;
  min-width: 230px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
@media (max-width: 820px) {
  .contact-block {
    flex-direction: column;
    gap: 22px;
  }
}
.social-media-links {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-top: 10px;
}
.social-media-links a img {
  height: 32px;
  width: 32px;
  opacity: 0.85;
  transition: opacity 0.18s;
}
.social-media-links a:hover img {
  opacity: 1;
}

/* CERTIFICATES & BADGES */
.cert-badges {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}
.cert-badges img {
  height: 38px;
  width: auto;
}

/* MODAL OVERLAY (for Cookie Settings) */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(38,59,87,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 205;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 36px 0 rgba(38,59,87,0.16);
  padding: 30px 24px;
  min-width: 320px;
  max-width: 98vw;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: modalIn 0.32s cubic-bezier(.76,0,.18,1);
}
@keyframes modalIn {
  0% { opacity: 0; transform: scale(0.93); }
  100% { opacity: 1; transform: scale(1); }
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 8px;
}
.cookie-category label {
  font-size: 1rem;
  color: #263B57;
  user-select: none;
}
.cookie-toggle {
  appearance: none;
  width: 38px;
  height: 22px;
  background: #F5F7FA;
  border-radius: 11px;
  outline: none;
  transition: background 0.16s;
  position: relative;
  border: 1px solid #d0d8e0;
  cursor: pointer;
}
.cookie-toggle:checked {
  background: #66A3B6;
}
.cookie-toggle:before {
  content: '';
  display: block;
  height: 18px;
  width: 18px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 4px 0 rgba(26,40,61,0.10);
  position: absolute;
  top: 1px;
  left: 1px;
  transition: left 0.16s;
}
.cookie-toggle:checked:before {
  left: 17px;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  box-shadow: 0 -2px 18px 0 rgba(38,59,87,0.11);
  border-radius: 18px 18px 0 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: 20px 34px 18px 24px;
  font-size: 1rem;
  z-index: 200;
  animation: bannerIn 0.38s cubic-bezier(.76,0,.18,1);
}
@keyframes bannerIn {
  0% { opacity: 0; transform: translateY(36px); }
  100% { opacity: 1; transform: translateY(0); }
}
.cookie-banner p {
  margin: 0;
  color: #263B57;
  font-size: 1rem;
  max-width: 90vw;
}
.cookie-actions {
  display: flex;
  gap: 12px;
}
.cookie-btn {
  padding: 8px 22px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  border-radius: 21px;
  border: none;
  cursor: pointer;
  font-weight: 500;
  transition: background 0.17s, color 0.18s, box-shadow 0.18s;
}
.cookie-btn.accept {
  background: #263B57;
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #66A3B6;
  color: #fff;
}
.cookie-btn.reject {
  background: #F5F7FA;
  color: #263B57;
  border: 1px solid #d1d1d1;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #f0f3f6;
  color: #66A3B6;
  border-color: #66A3B6;
}
.cookie-btn.settings {
  background: transparent;
  color: #263B57;
  border: none;
  text-decoration: underline;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  color: #66A3B6;
}
@media (max-width: 640px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 17px 8px 12px 10px;
  }
  .cookie-actions {
    gap: 8px;
  }
}

/* ANIMATIONS & MICRO-INTERACTIONS */
button, .cta-btn, .cookie-btn {
  transition: background 0.18s, color 0.18s, box-shadow 0.2s;
}
button:focus, .cookie-btn:focus, .cta-btn:focus {
  outline: 2px solid #66A3B6;
}

/* GENERAL UTILITIES & OVERRIDES */
.mt-0 { margin-top: 0!important; }
.mb-0 { margin-bottom: 0!important; }
.gap-24 { gap: 24px!important; }

/* VALUE PROP, BADGES, TEAM INTRO */
.value-prop, .plan-highlights {
  margin-top: 14px;
  background: #F5F7FA;
  border-radius: 8px;
  padding: 18px 12px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.equipment-categories {
  margin: 24px 0 0 0;
  background: #F5F7FA;
  border-radius: 10px;
  padding: 18px 12px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.team-intro {
  margin-top: 12px;
  background: #fff;
  border-radius: 8px;
  padding: 11px 12px 10px 18px;
  box-shadow: 0 1px 8px 0 rgba(38,59,87,0.06);
  gap: 7px;
  display: flex;
  flex-direction: column;
}

/* RESPONSIVE FONT SIZES&LAYOUTS */
@media (max-width: 600px) {
  h1 { font-size: 1.32rem;}
  h2 { font-size: 1.06rem; }
  h3 { font-size: 1rem; }
  .container {padding: 0 5px;}
}

/* SPECIAL LAYOUT PATCHES FOR DYNAMIC FLEXBOX */
/* Ensure a minimum gap on all multi-item flex/row containers */
.services-list, .content-grid, .card-container {
  gap: 24px;
}
.content-wrapper {
  gap: 24px;
}

/* ENSURE NO OVERLAPS AND ENOUGH BREATHING ROOM */
.section, .service-card, .testimonial-card, .feature-item, .card {
  margin-bottom: 20px;
}

/* ENSURE MINIMUM SPACING BETWEEN CARDS */
.services-list .service-card + .service-card,
.testimonial-card + .testimonial-card {
  margin-left: 0;
  margin-top: 0;
}

/* REMOVE ABSOLUTE FOR CARDS, BUT ALLOW FOR DECOR ELEMENTS */
.card {
  position: relative;
}

/* ACCESSIBILITY: IMPROVE FOCUS VISIBILITY */
a:focus-visible {
  outline: 2px solid #66A3B6;
  border-radius: 5px;
}

/* ---- MEDIA QUERIES FOR FULL RESPONSIVENESS ---- */
@media (max-width: 550px) {
  nav > a > img { height: 32px; }
  .footer-logo img { height: 28px; }
  .footer-contact, .footer-nav, .footer-legal, .footer-social {font-size:0.97rem;}
}

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

/* COOKIE BANNER - visually hidden when not shown by JS */
.cookie-banner[aria-hidden="true"] {
  display: none;
}

/* COOKIE MODAL CLOSE BUTTON */
.cookie-modal .close-btn {
  position: absolute;
  top: 10px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: #263B57;
  cursor: pointer;
  padding: 0 5px;
}
.cookie-modal .close-btn:hover {
  color: #66A3B6;
}

/* -- END OF MINIMALIST, FLEXBOX, BRAND CSS -- */
