/* ============================================================
    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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #FAFAF5;
  color: #232D4B;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a {
  color: #006494;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #232D4B;
  outline: none;
}
ul, ol {
  list-style: none;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
button {
  font-family: inherit;
  background: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
input, textarea, select {
  font-family: inherit;
}

/* ============================================================
    VARIABLES (with fallbacks for wider compatibility)
   ============================================================ */
:root {
  --color-primary: #006494;
  --color-secondary: #232D4B;
  --color-accent: #FAFAF5;
  --color-dark: #232D4B;
  --color-white: #fff;
  --color-grey: #E6E6E6;
  --color-text: #232D4B;
  --color-muted: #5B6770;
  --shadow-default: 0 4px 16px rgba(35,45,75,0.07);
  --shadow-hover: 0 8px 18px rgba(35,45,75,0.10);
  --radius: 10px;
  --transition: 0.25s cubic-bezier(.39,.575,.565,1);

  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Open Sans', Arial, sans-serif;
}

/* ============================================================
    LAYOUT CONTAINERS & UTILITY CLASSES
   ============================================================ */
.container {
  width: 100%;
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow-default);
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Flex-based CONTENT GRIDS & CARDS */
.card-container, .testimonial-grid, .service-list, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card, .service-card {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-default);
  margin-bottom: 20px;
  padding: 24px 20px;
  min-width: 250px;
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow 0.2s, transform 0.16s;
}
.card:hover, .service-card:hover, .testimonial-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px) scale(1.01);
}

/* Testimonials */
.testimonial-grid {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: var(--color-white);
  box-shadow: var(--shadow-default);
  padding: 24px 20px 18px 20px;
  border-radius: var(--radius);
  min-width: 260px;
  flex: 1 1 260px;
}
.testimonial-card blockquote {
  font-style: italic;
  color: var(--color-dark);
  font-size: 18px;
  line-height: 1.45;
  margin: 0 0 10px 0;
}
.testimonial-card p {
  margin: 0;
  color: var(--color-muted);
  font-size: 15px;
}

/* Spacing for feature-like items */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.ups-list, .usp-list, .faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/**************************************************************
    HEADER & NAVIGATION
***************************************************************/
header {
  position: relative;
  background: var(--color-accent);
  box-shadow: 0 2px 8px rgba(35,45,75,0.03);
  z-index: 30;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.logo img {
  height: 42px;
}
nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
nav a {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  color: var(--color-text);
  padding: 6px 4px;
  border-radius: 4px;
  transition: background 0.18s, color 0.16s;
}
nav a:hover,
nav a:focus {
  background: var(--color-white);
  color: var(--color-primary);
}
.cta-btn {
  background: var(--color-primary);
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  padding: 10px 26px;
  border-radius: 999px;
  box-shadow: 0 2px 10px rgba(35,45,75,0.072);
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  letter-spacing: 0.5px;
  margin-left: 8px;
  text-align: center;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--color-secondary);
  color: var(--color-white);
  box-shadow: 0 6px 24px rgba(35,45,75,0.13);
}

/**************************************************************
    HERO SECTIONS
***************************************************************/
.hero {
  padding: 64px 0 34px 0;
  background: var(--color-accent);
  box-shadow: 0 6px 18px rgba(35,45,75,0.10);
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 28px;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}
.hero p {
  font-size: 1.22rem;
  color: var(--color-muted);
  max-width: 580px;
  margin-bottom: 18px;
}

/**************************************************************
    TYPOGRAPHY
***************************************************************/
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-primary);
  font-weight: 700;
  letter-spacing: -1px;
}
h1 {
  font-size: 2.3rem;
  margin-bottom: 10px;
}
h2 {
  font-size: 1.6rem;
  margin-bottom: 10px;
  color: var(--color-secondary);
}
h3 {
  font-size: 1.21rem;
  margin-bottom: 6px;
}
p {
  font-size: 1rem;
  color: var(--color-text);
  margin-bottom: 10px;
  line-height: 1.8;
}
strong {
  font-weight: 600;
  color: var(--color-secondary);
}
.section h2,
.section h1 {
  margin-bottom: 16px;
  color: var(--color-primary);
}
.section p {
  margin-bottom: 12px;
}

/**************************************************************
    INFO LISTS, FEATURES, ETC.
***************************************************************/
ul.usp-list, ul.faq-list {
  list-style: none;
  padding-left: 0;
}
ul.usp-list li, ul.faq-list li {
  padding: 0 0 0 16px;
  position: relative;
  font-size: 1rem;
  color: var(--color-text);
  line-height: 1.8;
}
ul.usp-list li:before {
  content: "•";
  color: var(--color-primary);
  position: absolute;
  left: 0;
  font-size: 1.3em;
  line-height: 1;
  top: 3px;
}
ul.faq-list li {
  border-bottom: 1px solid var(--color-grey);
  padding-bottom: 12px;
  margin-bottom: 12px;
}
ul.faq-list li:last-child {
  border: none;
  margin-bottom: 0;
}

/**************************************************************
    FOOTER
***************************************************************/
footer {
  background: var(--color-accent);
  margin-top: 35px;
  border-top: 1px solid #E9EEF0;
  box-shadow: 0 -2px 10px rgba(35,45,75,0.03);
}
footer .container {
  padding-top: 38px;
  padding-bottom: 38px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: center;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.footer-brand img {
  height: 38px;
  margin-bottom: 6px;
}
.footer-brand p {
  color: var(--color-muted);
  font-size: 14px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-links a {
  color: var(--color-text);
  font-size: 15px;
  transition: color 0.15s;
}
.footer-links a:hover {
  color: var(--color-primary);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--color-muted);
  font-size: 15px;
}
.footer-contact strong {
  color: var(--color-secondary);
}

/**************************************************************
    SERVICES/FEATURES CARDS
***************************************************************/
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.service-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-default);
  padding: 24px 20px;
  flex: 1 1 270px;
  min-width: 250px;
  max-width: 100%;
}
.service-card h3 {
  color: var(--color-secondary);
  font-size: 1.13rem;
  font-family: var(--font-display);
  font-weight: 700;
}
.service-card .price {
  font-size: 1rem;
  color: var(--color-primary);
  font-weight: 600;
}

/**************************************************************
    BUTTONS & INTERACTIVE ELEMENTS
***************************************************************/
button, .cta-btn {
  outline: none;
  border: none;
}
button:focus-visible, .cta-btn:focus-visible {
  outline: 2px dotted var(--color-primary);
  outline-offset: 2px;
}

/**************************************************************
    MOBILE MENU
***************************************************************/
.mobile-menu-toggle {
  display: none;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  align-items: center;
  justify-content: center;
  z-index: 102;
  border: none;
  position: absolute;
  right: 20px;
  top: 18px;
  box-shadow: var(--shadow-default);
  transition: background 0.16s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: var(--color-secondary);
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(250,250,245,0.96);
  box-shadow: 0 8px 32px rgba(35,45,75,0.20);
  z-index: 120;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.39, 0.575, 0.565, 1);
  display: flex;
  flex-direction: column;
  padding-top: 60px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: var(--color-white);
  color: var(--color-primary);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 1.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(35,45,75,0.11);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  padding: 40px 32px;
}
.mobile-nav a {
  font-size: 1.13rem;
  color: var(--color-dark);
  padding: 10px 0;
  font-weight: 500;
  transition: color 0.2s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: var(--color-primary);
}
@media (max-width: 1060px) {
  .container { max-width: 100%; }
}
@media (max-width: 940px) {
  nav { gap: 12px; }
}
@media (max-width: 820px) {
  footer .content-wrapper { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 768px) {
  /* Hide desktop nav, show mobile menu button */
  header .container nav {
    display: none;
  }
  .cta-btn {
    font-size: 16px;
    padding: 10px 18px;
  }
  .mobile-menu-toggle {
    display: flex;
  }

  /* Adjust hero */
  .hero {
    padding: 38px 0 22px 0;
  }
  .content-wrapper { gap: 18px; }
  /* General responsive adjustments */
  .section {
    margin-bottom: 34px;
    padding: 30px 8px;
  }
  .card, .service-card, .testimonial-card {
    min-width: 98%;
    flex-basis: 100%;
  }
  .card-container, .testimonial-grid, .service-list, .content-grid {
    gap: 18px;
  }
  .footer-brand img { height: 30px; }
}
@media (max-width: 525px) {
  .hero h1, h1 { font-size: 1.45rem; }
  .hero p { font-size: 1rem; }
}
/**************************************************************
    FLEX LAYOUTS: TEXT-IMAGE SECTIONS, CONTENT-GRIDS, ETC.
***************************************************************/
.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: 18px;
  }
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

/**************************************************************
    COOKIES CONSENT BANNER & MODAL
***************************************************************/
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  background: var(--color-accent);
  color: var(--color-dark);
  box-shadow: 0 -2px 18px rgba(35,45,75,0.12);
  padding: 20px 16px 20px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  animation: cookieSlideUp 0.5s ease;
}
@keyframes cookieSlideUp {
  from { transform: translateY(80px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 2px;
}
.cookie-banner button {
  font-family: var(--font-display);
  padding: 8px 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  margin: 0;
  transition: background 0.18s, color 0.2s;
}
.cookie-banner .accept {
  background: var(--color-primary);
  color: var(--color-white);
}
.cookie-banner .accept:hover,
.cookie-banner .accept:focus {
  background: var(--color-secondary);
}
.cookie-banner .reject {
  background: var(--color-white);
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
}
.cookie-banner .reject:hover,
.cookie-banner .reject:focus {
  background: #F0F0EC;
  color: var(--color-secondary);
}
.cookie-banner .settings {
  background: #E6E6E6;
  color: var(--color-secondary);
}
.cookie-banner .settings:hover,
.cookie-banner .settings:focus {
  background: var(--color-white);
  color: var(--color-primary);
}

/* COOKIE MODAL OVERLAY */
.cookie-modal-overlay {
  position: fixed !important;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(35,45,75,0.28);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInCookieModal 0.23s;
}
@keyframes fadeInCookieModal {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal {
  background: var(--color-accent);
  color: var(--color-dark);
  border-radius: var(--radius);
  box-shadow: 0 6px 32px rgba(35,45,75,0.16);
  padding: 36px 24px 24px 24px;
  width: 95%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: popinCookieModal 0.28s;
}
@keyframes popinCookieModal {
  from { transform: scale(0.92); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.cookie-modal h3 {
  color: var(--color-primary);
  font-family: var(--font-display);
  font-size: 1.28rem;
  margin-bottom: 6px;
}
.cookie-modal .categories {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cookie-modal .category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--color-white);
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 15px;
  box-shadow: 0 1px 8px rgba(35,45,75,0.048);
}
.cookie-modal .category input[type="checkbox"] {
  accent-color: var(--color-primary);
  width: 18px; height: 18px;
}
.cookie-modal .category.essential input[type="checkbox"] {
  accent-color: var(--color-muted);
  pointer-events: none;
}
.cookie-modal .category.essential label {
  opacity: 0.7;
}
.cookie-modal .modal-btns {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  justify-content: flex-end;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 10px; right: 10px;
  background: var(--color-primary);
  color: var(--color-white);
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.18rem;
  transition: background 0.15s;
}
.cookie-modal .close-modal:hover { background: var(--color-secondary); }

/**************************************************************
    FORM STYLES (if any, basic appearance for contact forms)
***************************************************************/
form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
input, textarea {
  border: 1px solid var(--color-grey);
  border-radius: 6px;
  padding: 10px 12px;
  color: var(--color-text);
  font-size: 1rem;
  background: var(--color-white);
  transition: border 0.18s;
}
input:focus, textarea:focus {
  border-color: var(--color-primary);
  outline: none;
}

/**************************************************************
    MISC & UTILITY
***************************************************************/
::-webkit-input-placeholder { color: #A4A8B3; }
:-moz-placeholder { color: #A4A8B3; }
::-moz-placeholder { color: #A4A8B3; }
:-ms-input-placeholder { color: #A4A8B3; }
::placeholder { color: #A4A8B3; }

hr {
  border: none;
  border-top: 1px solid #E6E6E6;
  margin: 32px 0;
}

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

/**************************************************************
    ACCESSIBILITY
***************************************************************/
a:focus-visible, button:focus-visible {
  outline: 2px dashed var(--color-primary);
  outline-offset: 2px;
}

/**************************************************************
    PRINT - Remove backgrounds for printing
***************************************************************/
@media print {
  body, .section, .container, footer, header {
    background: #fff !important;
    color: #000 !important;
    box-shadow: none !important;
  }
  .cta-btn, .mobile-menu-toggle, .mobile-menu, .cookie-banner, .cookie-modal-overlay {
    display: none !important;
  }
}

/**************************************************************
    END OF CSS
***************************************************************/
