/* --- 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 {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.5;
  background: #fff;
  color: #143058;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #E0562C;
  text-decoration: none;
  transition: color 0.2s;
  font-weight: 600;
}
a:hover, a:focus {
  color: #B24321;
  text-decoration: underline;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
}
ul, ol {
  margin-left: 20px;
  padding-left: 0;
  margin-bottom: 16px;
}
li {
  margin-bottom: 10px;
  list-style: none;
  position: relative;
}
li img {
  vertical-align: middle;
  margin-right: 12px;
}


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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #143058;
  font-weight: 900;
  letter-spacing: 0.5px;
}
h1 { font-size: 2.5rem; line-height: 1.18; margin-bottom: 28px; }
h2 { font-size: 2rem; line-height: 1.2; margin-bottom: 20px; }
h3 { font-size: 1.35rem; font-weight: 700; margin-bottom: 12px; }
h4 { font-size: 1.15rem; font-weight: 700; }
.subtitle {
  font-size: 1.25rem;
  color: #143058;
  opacity: 0.85;
  margin-bottom: 24px;
  font-weight: 600;
}
p, address {
  color: #143058;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}
strong { font-weight: 700; color: #143058; }


/* --- LAYOUT CONTAINERS --- */
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.text-section {
  max-width: 710px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
}

/* --- NAVIGATION HEADER --- */
header {
  width: 100%;
  background: #143058;
  color: #fff;
  padding-top: 0;
  padding-bottom: 0;
  position: relative;
  z-index: 10;
  transition: box-shadow 0.2s;
}
.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1220px;
  margin: 0 auto;
  padding: 20px;
}
.nav-wrapper > a > img {
  height: 46px;
  width: auto;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  padding: 8px 0;
  transition: color 0.2s;
}
.main-nav a:hover,
.main-nav a:focus {
  color: #E0562C;
}
.btn.btn-primary {
  background: #E0562C;
  color: #fff;
  padding: 14px 32px;
  border-radius: 36px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  box-shadow: 0 2px 10px 0 rgba(20, 48, 88, 0.1);
  border: none;
  cursor: pointer;
  margin-left: 18px;
  transition: background 0.18s, box-shadow 0.2s, transform 0.13s;
  outline: none;
  display: inline-block;
}
.btn.btn-primary:hover,
.btn.btn-primary:focus {
  background: #B24321;
  box-shadow: 0 6px 28px -6px #14305833;
  transform: translateY(-2px) scale(1.03);
}


/* --- MOBILE MENU --- */
.mobile-menu-toggle {
  display: none;
  font-size: 2.2rem;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  margin-left: 16px;
  transition: color 0.18s;
  z-index: 21;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #143058;
  box-shadow: 0 2px 32px 0 #0007;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.55, 0, 0.1, 1);
  display: flex;
  flex-direction: column;
  z-index: 999;
  padding: 0 0 60px 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: #E0562C;
  color: #fff;
  border-radius: 100px;
  width: 42px;
  height: 42px;
  font-size: 2rem;
  align-self: flex-end;
  margin: 24px 34px 8px 0;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 18px 0 #0003;
  transition: background 0.18s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #B24321;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
  margin-top: 36px;
  padding-left: 44px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  padding: 6px 0;
  border-radius: 3px;
  width: 100%;
  display: block;
  transition: background 0.16s, color 0.16s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #E0562C;
  color: #fff;
}



/* --- HERO SECTION --- */
.hero {
  background: #E7E9EB;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 0 44px 0;
  position: relative;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero .content-wrapper {
  align-items: flex-start;
  max-width: 700px;
  gap: 18px;
}
.hero h1 {
  color: #143058;
  font-size: 2.8rem;
  font-weight: 900;
}
.hero .btn {
  margin-top: 22px;
}

/* --- CARD/PANEL PATTERNS --- */
.feature-grid,
.services-list,
.testimonial-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
  margin-bottom: 16px;
}
.feature-card,
.service-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 28px -8px #14305822;
  padding: 32px 26px 21px 26px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  flex: 1 1 255px;
  max-width: 315px;
  min-width: 225px;
  min-height: 255px;
  border: 2.5px solid #E7E9EB;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, border-color 0.23s, transform 0.13s;
  position: relative;
  z-index: 1;
}
.feature-card img,
.service-card img {
  width: 48px;
  height: 48px;
  margin-bottom: 14px;
}
.feature-card:hover,
.feature-card:focus,
.service-card:hover,
.service-card:focus {
  border-color: #E0562C;
  box-shadow: 0 8px 38px -2px #E0562C33;
  transform: translateY(-4px) scale(1.02);
}

.services-list {
  margin-bottom: 32px;
}

/* --- VALUES LIST (ABOUT) --- */
.values-list {
  margin-top: 12px;
  margin-bottom: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
  flex-direction: row;
}
.values-list li {
  background: #f4f6f8;
  border-radius: 14px;
  padding: 15px 18px;
  font-size: 1.09rem;
  min-width: 240px;
  display: flex;
  align-items: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #143058;
  margin-bottom: 12px;
  box-shadow: 0 2px 13px -6px #14305818;
}
.values-list li img {
  width: 30px;
  height: 30px;
  margin-right: 10px;
}

/* --- TESTIMONIALS --- */
.testimonial-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  background: #fff;
  color: #143058;
  border-radius: 16px;
  padding: 28px 28px 21px 28px;
  box-shadow: 0 6px 30px -8px #14305822;
  min-width: 260px;
  max-width: 350px;
  min-height: 130px;
  border: 2px solid #E7E9EB;
  margin-bottom: 20px;
  position: relative;
  font-size: 1.12rem;
  transition: box-shadow 0.2s, border-color 0.23s, transform 0.12s;
  z-index: 2;
}
.testimonial-card:hover, .testimonial-card:focus {
  border-color: #E0562C;
  box-shadow: 0 8px 32px -2px #E0562C22;
  transform: translateY(-2px) scale(1.013);
}
.testimonial-rating {
  display: flex;
  gap: 3px;
}
.testimonial-rating img {
  width: 22px;
  height: 22px;
  display: inline-block;
}
.testimonial-person {
  color: #E0562C;
  font-size: 1.01rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  margin-top: 8px;
}

/* --- PRICING TABLE --- */
.pricing-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-bottom: 28px;
  margin-top: 10px;
}
.pricing-table th, .pricing-table td {
  padding: 15px 22px;
  border-bottom: 2px solid #E7E9EB;
  font-size: 1.04rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #143058;
  text-align: left;
}
.pricing-table th {
  background: #143058;
  color: #fff;
  font-weight: 900;
  letter-spacing: 1px;
  font-size: 1.1rem;
}
.pricing-table tr:nth-child(even) td {
  background: #F5F7FA;
}

/* --- GUARANTEE BADGES --- */
.guarantee-badges {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}
.guarantee-badges span {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  display: flex;
  align-items: center;
  color: #143058;
  background: #E7E9EB;
  border-radius: 12px;
  padding: 11px 20px;
  font-size: 1.08rem;
  margin-bottom: 6px;
}
.guarantee-badges img {
  width: 28px;
  height: 28px;
  margin-right: 8px;
}

/* --- FOOTER --- */
footer {
  background: #143058;
  color: #fff;
  padding: 36px 0 20px 0;
  font-size: 1rem;
  margin-top: 48px;
}
footer .container {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.footer-logo img {
  width: 52px;
  height: 52px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-top: 6px;
}
.footer-nav a {
  color: #E7E9EB;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: color 0.18s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: #E0562C;
}
.footer-contact {
  font-size: 1rem;
  color: #E7E9EB;
  margin-top: 6px;
}
.footer-contact a {
  color: #E0562C;
  text-decoration: underline;
  font-weight: 700;
}
.footer-contact p{
  color:white;
}
.footer-contact a:hover { color: #fff; }


/* --- CTA SECTIONS --- */
.section .btn,
.content-wrapper .btn {
  margin-top: 20px;
}

/* ------------------
   COOKIE BANNER
------------------- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: #143058;
  color: #fff;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1.03rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px 24px 24px;
  box-shadow: 0 -2px 22px 0 #0003;
  z-index: 1600;
  gap: 16px;
  transition: transform 0.36s cubic-bezier(.71,0,.23,1),opacity 0.32s;
  /* slide up animation default */
  transform: translateY(0);
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(120%);
  transition: transform 0.25s, opacity 0.2s;
}
.cookie-banner__buttons {
  display: flex;
  flex-direction: row;
  gap: 10px;
}
.cookie-banner__btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.07rem;
  padding: 10px 21px;
  border-radius: 24px;
  background: #E0562C;
  color: #fff;
  border: none;
  transition: background 0.17s, transform 0.13s;
  cursor: pointer;
  box-shadow: 0 1px 7px 0 #0001;
}
.cookie-banner__btn.secondary {
  background: #E7E9EB;
  color: #143058;
  font-weight: 900;
}
.cookie-banner__btn:focus,
.cookie-banner__btn:hover {
  background: #B24321;
  color: #fff;
  transform: scale(1.03);
}


/* --- COOKIE PREFERENCES MODAL --- */
.cookie-modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(20,48,88,0.81);
  z-index: 1800;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: all;
  transition: opacity 0.4s;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal__window {
  background: #fff;
  color: #143058;
  border-radius: 18px;
  max-width: 430px;
  width: 92vw;
  box-shadow: 0 6px 48px 0 #0003;
  padding: 36px 34px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.cookie-modal__close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: #E0562C;
  color: #fff;
  border-radius: 100%;
  border: none;
  width: 40px;
  height: 40px;
  font-size: 1.75rem;
  cursor: pointer;
  box-shadow: 0 2px 12px -2px #0002;
  transition: background 0.15s;
}
.cookie-modal__close:hover { background: #B24321; }
.cookie-modal__title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.45rem;
  font-weight: 900;
  margin-bottom: 3px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 18px 0 10px 0;
}
.cookie-cat {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cookie-cat__info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.cookie-cat label {
  font-size: 1.08rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #143058;
}
.cookie-cat input[type=checkbox] {
  accent-color: #E0562C;
  width: 18px;
  height: 18px;
}
.cookie-cat .cookie-cat-essential {
  color: #E0562C;
  font-size: 1rem;
  font-weight: 700;
}
.cookie-modal__actions {
  display: flex;
  flex-direction: row;
  gap: 10px;
  margin-top: 10px;
  justify-content: flex-end;
}


/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1100px) {
  .container {
    max-width: 98vw;
    padding: 0 10px;
  }
  .feature-card, .service-card {
    min-width: 180px;
    padding: 24px 14px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 760px;
    padding: 0 10px;
  }
  .footer-logo img {
    width: 38px;
    height: 38px;
  }
  .feature-card, .service-card {
    padding: 20px 8px;
  }
  .hero h1 { font-size: 2.1rem; }
}
@media (max-width: 768px) {
  .container, .nav-wrapper {
    max-width: 97vw;
    padding: 0 7px;
  }
  .content-wrapper {
    padding: 0 2px;
    gap: 14px;
  }
  .section {
    margin-bottom: 36px;
    padding: 22px 4px;
  }
  h1 { font-size: 1.65rem; margin-bottom: 16px; }
  h2 { font-size: 1.23rem; margin-bottom: 13px; }
  .main-nav {
    display: none;
  }
  .btn.btn-primary {
    font-size: 1rem;
    padding: 11px 23px;
    margin-left: 8px;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .footer-nav {
    flex-direction: row;
    gap: 17px;
    font-size: .83rem;
    margin-top: 1px;
  }
  footer .container {
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
    padding: 13px 6px;
  }
  .footer-logo {
    margin-bottom: 3px;
  }
  .feature-grid,
  .services-list,
  .testimonial-grid,
  .guarantee-badges,
  .values-list {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  .feature-card, .service-card, .testimonial-card {
    min-width: 0;
    width: 100%;
    max-width: unset;
    padding: 16px 7px;
  }
  .testimonial-card {
    padding: 18px 9px 15px 9px;
    font-size: 1rem;
  }
  .testimonial-rating img {
    width: 18px; height: 18px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 13px 18px 10px;
    font-size: 0.98rem;
    gap: 10px;
  }
  .cookie-modal__window {
    padding: 18px 8px 16px 13px;
    max-width: 99vw;
  }
}
@media (max-width: 500px) {
  h1 { font-size: 1.27rem; }
  h2 { font-size: 1.05rem; }
  .footer-contact { font-size: .83rem; }
  .footer-nav a { font-size: .85rem; }
  .hero .btn, .btn.btn-primary { font-size: .93rem; padding: 8px 13px; }
}

/* --- UTILITY CLASSES FOR FLEXBOX CONTENT --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: 13px;
}
.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: 16px;
    align-items: flex-start;
  }
  .content-grid {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- HELPER AND STATE --- */
.hide { display: none !important; opacity: 0 !important; pointer-events: none !important; }

/* --- MICRO-INTERACTIONS --- */
.btn, .cookie-banner__btn {
  transition: background 0.18s, transform 0.12s, color 0.15s;
}
.btn:active { transform: scale(0.97); }
.card, .feature-card, .service-card, .testimonial-card {
  transition: box-shadow 0.18s, border 0.23s, transform 0.13s;
  cursor: pointer;
}
.card:hover, .feature-card:hover, .service-card:hover, .testimonial-card:hover {
  box-shadow: 0 12px 36px -8px #E0562C11;
  border-color: #E0562C;
  transform: translateY(-2px) scale(1.015);
}

/* --- CUSTOM FOCUS STYLES --- */
a:focus, button:focus, .btn:focus, .cookie-banner__btn:focus, .mobile-menu-close:focus {
  outline: 2.5px solid #E0562C;
  outline-offset: 2.5px;
  background: #E7E9EB22;
}

/* --- GEOMETRIC/DECORATIVE BOLD SHAPES (OPTIONAL, DEMO) --- */
.hero:after {
  content: '';
  display: block;
  position: absolute;
  right: -85px;
  top: 60px;
  background: #E0562C33;
  width: 220px;
  height: 220px;
  border-radius: 40% 60% 70% 30%;
  transform: rotate(15deg);
  z-index: 0;
  opacity: 0.12;
  pointer-events: none;
}
@media (max-width: 900px) {
  .hero:after {
    right: -65px;
    top: 28px;
    width: 110px;
    height: 110px;
  }
}

/* --- PRINT (BASIC) --- */
@media print {
  header, footer, .btn, .mobile-menu, .cookie-banner, .cookie-modal { display: none !important; }
  body, .container { background: #fff; color: #000; }
}
