/* ==========================================================================
   CSS RESET & NORMALIZE (MINIMALIST, MODERN BASE)
   ==========================================================================
*/
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font-family: inherit;
}
body {
  min-height: 100vh;
  background: #FFFFFF;
  color: #1c3550;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #234267;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #F19525;
  outline-offset: 2px;
}
ul, ol {
  margin-left: 1.2em;
}
table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 24px;
}
th, td {
  border-bottom: 1px solid #e5e8ed;
  text-align: left;
  padding: 12px 8px;
  font-size: 1rem;
}
th {
  background: #f9fafd;
  font-weight: 600;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #1c3550;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.75rem; /* 44px */
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;    /* 32px */
  margin-bottom: 16px;
}
h3 {
  font-size: 1.25rem; /* 20px */
  margin-bottom: 10px;
  font-weight: 600;
}
h4, h5, h6 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 8px;
}
p {
  margin-bottom: 16px;
}
strong, b {
  font-weight: 700;
}
em {
  font-style: italic;
}
hr {
  border: none;
  height: 1px;
  background: #e5e8ed;
  margin: 32px 0;
}
/* ===========================
   BRAND COLORS (CSS CUSTOM PROPERTIES)
   =========================== */
:root {
  --primary: #234267;
  --primary-alt: #1c3550;
  --secondary: #D8E5EF;
  --background: #FFFFFF;
  --accent: #F19525;
  --text-main: #1c3550;
  --text-muted: #6d7a8a;
  --border: #e5e8ed;
  --focus-shadow: 0 0 0 3px rgba(241, 149, 37, 0.23);
  --shadow: 0 3px 16px rgba(35, 66, 103, 0.06);
}

/* ==========================================================================
   LAYOUT CONTAINERS AND SECTIONS
   ==========================================================================
*/
.container {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--background);
}

/* Space between every card or section */
.card-container,
.content-grid,
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}

.card {
  margin-bottom: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 24px 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 8px 30px rgba(35, 66, 103, 0.08);
}

.content-grid {
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 8px rgba(35,66,103,0.06);
  margin-bottom: 20px;
  max-width: 650px;
  color: var(--text-main);
  font-size: 1.1rem;
}
.testimonial-card p {
  color: #1c3550;
}
.testimonial-card span {
  font-size: 0.95rem;
  color: #6d7a8a;
  font-style: italic;
}

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

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 8px;
}

.feature {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 8px rgba(35,66,103,0.04);
  padding: 22px 20px;
  flex: 1 1 230px;
  min-width: 220px;
  text-align: left;
  transition: box-shadow 0.16s;
}
.feature:hover {
  box-shadow: 0 6px 18px rgba(35,66,103,0.09);
}
.feature img {
  width: 38px;
  height: 38px;
  margin-bottom: 10px;
}

/* ==========================================================================
   HEADER, NAVIGATION & MOBILE BURGER MENU
   ==========================================================================
*/
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(35,66,103,0.03);
  position: sticky;
  top: 0;
  z-index: 30;
  margin-bottom: 8px;
}
header > .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px 14px 20px;
}
header nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
header nav a {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.05rem;
  color: #1c3550;
  padding: 4px 0 4px 0;
  letter-spacing: 0.01em;
  border-radius: 4px;
  transition: background 0.18s, color 0.18s;
}
header nav a:hover, header nav a:focus {
  color: var(--accent);
  background: #F6F8FA;
}
.cta-btn {
  display: inline-block;
  padding: 10px 28px;
  background: var(--primary);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  border-radius: 6px;
  box-shadow: 0 1px 8px rgba(35, 66, 103, 0.07);
  text-align: center;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: background 0.18s, box-shadow 0.18s, color 0.18s;
  margin-left: 14px;
  border: none;
  position: relative;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 3px 16px rgba(241, 149, 37, 0.09);
}
.cta-link {
  color: var(--accent);
  font-weight: 600;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 2px;
  transition: color 0.18s, border-color 0.18s;
}
.cta-link:hover { color: var(--primary); border-color: var(--primary); }

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--primary);
  padding: 8px 12px;
  margin-left: auto;
  border-radius: 7px;
  cursor: pointer;
  transition: background 0.16s;
  z-index: 1000;
}
.mobile-menu-toggle:focus { background: #F6F8FA; outline: none; box-shadow: var(--focus-shadow);  }

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  transform: translateX(-105vw);
  background: rgba(255,255,255, 0.99);
  box-shadow: 0 4px 32px rgba(35,66,103,0.10);
  z-index: 1002;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  transition: transform 0.36s cubic-bezier(0.74, 0.08, 0.93, 0.78);
  padding: 36px 20px 20px 20px;
  pointer-events: none;
}
.mobile-menu.active {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  font-size: 2.2rem;
  color: var(--primary);
  background: transparent;
  border: none;
  margin-bottom: 24px;
  cursor: pointer;
  align-self: flex-end;
  border-radius: 7px;
  padding: 4px 8px;
  transition: background 0.18s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #F6F8FA;
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 18px;
}
.mobile-nav a {
  font-size: 1.18rem;
  color: var(--primary-alt);
  font-weight: 500;
  padding: 9px 0 9px 0;
  border-radius: 5px;
  transition: background 0.18s, color 0.18s;
  min-width: 150px;
}
.mobile-nav a:focus, .mobile-nav a:hover { color: var(--accent); background: #ececec; }

@media (max-width: 1020px) {
  header > .container {padding-left: 10px; padding-right: 10px;}
  .container { padding-left: 10px; padding-right: 10px; }
}
@media (max-width: 880px) {
  header nav, .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* ==========================================================================
   HERO SECTIONS
   ==========================================================================
*/
.hero {
  background: var(--secondary);
  min-height: 245px;
  display: flex;
  align-items: center;
  margin-bottom: 48px;
  padding-bottom: 0;
}
.hero .container {
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.hero h1 {
  color: var(--primary-alt);
  margin-bottom: 12px;
}
.hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.hero .cta-btn {
  margin-left: 0;
  margin-top: 10px;
}

/* ==========================================================================
   CTA BLOCKS
   ==========================================================================
*/
.cta {
  background: var(--primary);
  color: #fff;
  text-align: center;
  border-radius: 14px;
  margin-bottom: 60px;
  box-shadow: 0 3px 20px 0 rgba(28,53,80, 0.06);
  padding: 48px 0;
}
.cta h2 {
  color: #fff;
  margin-bottom: 16px;
}
.cta .cta-btn {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 2px 12px rgba(241,149,37,0.08);
  font-size: 1.10rem;
  margin-left: 0;
  padding: 13px 36px;
}
.cta .cta-btn:hover { background: #ffbb69; color: var(--primary); }

/* ==========================================================================
   FOOTER
   ==========================================================================
*/
footer {
  width: 100%;
  background: #f7f7f9;
  border-top: 1px solid #e5e8ed;
  padding: 40px 0 36px 0;
  margin-top: 48px;
}
footer .container {
  flex-direction: row;
  gap: 34px;
  align-items: flex-start;
  justify-content: space-between;
}
footer img {
  margin-right: 32px;
  height: 38px;
  width: auto;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
footer nav a {
  color: #1c3550;
  font-size: 0.97rem;
  margin-bottom: 3px;
  transition: color 0.18s;
}
footer nav a:hover { color: var(--accent); }
footer .contact-info {
  font-size: 0.97rem;
  color: #6d7a8a;
  line-height: 1.65;
}

/* ==========================================================================
   FAQ, TEAM, CONTACT, TEXT SECTIONS
   ==========================================================================
*/
.faq-list {
  margin-bottom: 36px;
}
.faq-item {
  background: #f9fafd;
  border-radius: 8px;
  box-shadow: 0 1px 6px rgba(35,66,103,0.03);
  margin-bottom: 18px;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-item h3 {
  font-size: 1.11rem;
  color: var(--primary-alt);
  font-weight: 600;
}

.about-team ul, .competencies ul, .section ul, .section ol {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 1.05rem;
}
.text-section {
  margin-bottom: 18px;
  color: var(--text-main);
}

.contact-info-block, .map-section {
  background: #f6faff;
  border-radius: 8px;
  box-shadow: 0 1px 8px rgba(35,66,103,0.02);
  margin-bottom: 28px;
  padding: 24px 16px;
}
.contact-info-block h2, .map-section h2 {
  margin-bottom: 8px;
}

/* ==========================================================================
   TABLES & PRICE TABLES
   ==========================================================================
*/
table {
  margin-top: 8px;
  margin-bottom: 30px;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 8px rgba(35,66,103,0.03);
}
th:first-child, td:first-child {
  font-weight: 500;
}
tr:last-child td {
  border-bottom: none;
}

/* ==========================================================================
   THANK YOU PAGE / GENERAL UTILITIES
   ==========================================================================
*/
.thank-you {
  text-align: center;
  padding: 80px 0 100px 0;
}
.thank-you h1 {
  color: var(--primary);
  margin-bottom: 18px;
}

/* ==========================================================================
   RESPONSIVE DESIGN (MOBILE-FIRST)
   ==========================================================================
*/
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.45rem; }
  h3 { font-size: 1.1rem; }
  .container {
    padding: 0 7px;
    max-width: 100vw;
  }
  .content-wrapper, .feature-grid, .card-container, .content-grid {
    gap: 14px;
  }
  .hero {
    min-height: 130px;
    padding: 30px 0 12px 0;
  }
  .section { padding: 20px 7px; margin-bottom: 32px; }
  .cta { padding: 38px 0; margin-bottom: 32px; border-radius: 6px; }
  footer .container {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .feature-grid {
    flex-direction: column;
    gap: 14px;
  }
  .feature { min-width: unset; }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 14px;
    justify-content: flex-start;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  .testimonial-card {
    max-width: 100%;
    padding: 13px 7px;
    font-size: 1rem;
  }
  .thank-you { padding: 56px 0 44px 0; }
}

/* ==========================================================================
   BUTTONS (MAIN, SECONDARY, MICRO-INTERACTIONS)
   ==========================================================================
*/
button, .cta-btn {
  cursor: pointer;
  outline: none;
  transition: box-shadow 0.14s, color 0.16s, background 0.19s;
}
button:focus-visible, .cta-btn:focus-visible {
  box-shadow: var(--focus-shadow);
}

/* ==========================================================================
   COOKIE CONSENT BANNER & MODAL
   ==========================================================================
*/
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background: #ffffff;
  color: #1c3550;
  box-shadow: 0 -2px 18px 0 rgba(35,66,103,0.09);
  z-index: 9005;
  padding: 24px 12px 18px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 1rem;
  animation: cookieBannerSlideIn 0.7s cubic-bezier(0.7,0.045,0.375,1) 0s 1 normal;
}
@keyframes cookieBannerSlideIn {
  from { transform: translateY(120%); opacity: 0; }
  to   { transform: translateY(0%); opacity: 1; }
}
.cookie-banner .cookie-text {
  flex: 3;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 15px;
  flex: 1 0 auto;
  justify-content: flex-end;
  align-items: center;
}
.cookie-banner button {
  min-width: 110px;
  border-radius: 5px;
  padding: 9px 15px;
  font-weight: 600;
  font-size: 0.97rem;
  border: none;
  transition: background 0.18s, color 0.18s, box-shadow 0.13s;
}
.cookie-banner .cookie-accept {
  background: var(--primary);
  color: #fff;
}
.cookie-banner .cookie-accept:hover { background: var(--accent); color: #fff; }
.cookie-banner .cookie-reject {
  background: #f1f1f3;
  color: var(--primary-alt);
}
.cookie-banner .cookie-reject:hover {
  background: #ececec;
  color: var(--accent);
}
.cookie-banner .cookie-settings {
  background: none;
  color: var(--primary);
  text-decoration: underline;
  padding-left: 0; padding-right:0;
  min-width: 80px;
}
.cookie-banner .cookie-settings:hover {color: var(--accent); background: none;}
@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    font-size: 0.99rem;
    padding: 14px 7px 10px 7px;
  }
}

.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(35,66,103,0.25);
  z-index: 9010;
  display: flex;
  align-items: center; 
  justify-content: center;
  pointer-events: all;
}
.cookie-modal {
  width: 98vw;
  max-width: 430px;
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 4px 36px rgba(35,66,103,0.23);
  padding: 32px 28px 24px 28px;
  display: flex;
  flex-direction: column;
  animation: cookieModalPop 0.42s cubic-bezier(0.76,0,0.24,1) 0s 1 normal;
}
@keyframes cookieModalPop {
  from { transform: scale(0.82); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.cookie-modal h2 {
  margin-bottom: 18px;
  font-size: 1.24rem;
  color: var(--primary-alt);
  text-align: center;
}
.cookie-category {
  background: #f6f8fb;
  border-radius: 7px;
  padding: 15px 12px;
  color: var(--text-main);
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cookie-category label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 500;
  font-size: 1.02rem;
}
.cookie-category input[type="checkbox"] {
  width: 19px;
  height: 19px;
  accent-color: var(--primary);
}
.cookie-modal .modal-actions {
  margin-top: 16px;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}
.cookie-modal button {
  min-width: 105px;
  border-radius: 6px;
  padding: 8px 0;
  font-weight: 600;
  border: none;
  font-size: 0.98rem;
  transition: background 0.16s, color 0.13s;
}
.cookie-modal .save {
  background: var(--primary);
  color: #fff;
}
.cookie-modal .save:hover { background: var(--accent); color: #fff; }
.cookie-modal .cancel {
  background: #f1f1f3;
  color: var(--primary-alt);
}
.cookie-modal .cancel:hover { background: #ececec; color: var(--accent); }

@media (max-width: 480px) {
  .cookie-modal {padding: 19px 7vw 13px 7vw; }
}

/* ==========================================================================
   MICRO-INTERACTIONS & STATES
   ==========================================================================
*/
.card, .feature, .cta-btn, .cookie-banner button, .cookie-modal button, .mobile-nav a, .faq-item {
  transition: box-shadow 0.22s, background 0.17s, color 0.18s, transform 0.19s;
}
.card:hover, .feature:hover {
  box-shadow: 0 8px 32px rgba(35,66,103,0.09);
  transform: translateY(-2px) scale(1.01);
}
.cta-btn:active, .cookie-banner button:active, .mobile-nav a:active {
  transform: scale(0.97);
}
.mobile-menu.active {box-shadow: 0 4px 38px rgba(35,66,103,0.19);}
.mobile-nav a:active { background: #ececec; }

/* ==========================================================================
   ADDITIONAL UTILITIES & OVERRIDES FOR EDGE CASES
   ==========================================================================
*/
.section:last-child, .cta:last-child, .thank-you:last-child, main > section:last-child { margin-bottom: 0 !important; }

/* ==========================================================================
   PRINT MINIMAL STYLES
   ==========================================================================
*/
@media print {
  header, footer, .cookie-banner, .cookie-modal-overlay, .mobile-menu { display: none !important; }
  body, html { background: #fff !important; color: #222 !important; }
}
