/* ===== CSS RESET & NORMALIZE ===== */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Open Sans', Arial, sans-serif;
  background: #F8F9FB;
  color: #22567A;
  line-height: 1.6;
  min-height: 100vh;
  letter-spacing: 0.01em;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #22567A;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #FCBF49;
  outline: none;
}
ul, ol {
  margin-left: 1.4em;
  margin-bottom: 1em;
  padding-left: 0.8em;
  font-size: 1rem;
  list-style-position: outside;
}
ul li, ol li {
  margin-bottom: 0.4em;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* ====== BRAND COLORS & TYPOGRAPHY ====== */
:root {
  --color-primary: #22567A;
  --color-secondary: #FCBF49;
  --color-accent: #FFFFFF;
  --color-bg: #F8F9FB;
  --color-text: #22567A;
  --color-subtle: #EEF2F7;
  --color-card: #FFFFFF;

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

  --radius-main: 20px;
  --radius-card: 16px;
  --shadow: 0 4px 24px rgba(34,86,122,0.07), 0 2px 6px rgba(34,86,122,0.04);
  --shadow-hover: 0 2px 12px rgba(34,86,122,0.13), 0 2px 24px rgba(34,86,122,0.08);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  letter-spacing: 0.01em;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 16px;
  line-height: 1.14;
}
h1 {
  font-size: 2.4rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
h2 {
  font-size: 1.6rem;
  margin-bottom: 18px;
  letter-spacing: 0.04em;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 14px;
}

p, ul, ol {
  font-family: var(--font-body);
  color: var(--color-text);
  margin-bottom: 18px;
  font-size: 1rem;
}
strong {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--color-primary);
}

/* STRUCTURED CONTAINER & GRID */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 0;
}

/* === HEADER === */
header {
  width: 100%;
  background: var(--color-accent);
  border-bottom: 3px solid var(--color-secondary);
  box-shadow: 0 2px 12px rgba(34,86,122,0.05);
  z-index: 120;
  position: relative;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  gap: 20px;
}
header nav {
  display: flex;
  gap: 20px;
  align-items: center;
}
header nav a {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background 0.17s, color 0.17s;
}
header nav a:hover, header nav a:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
}
.cta-header {
  font-family: var(--font-display);
  font-weight: 700;
  background: var(--color-primary);
  color: var(--color-accent);
  border-radius: 10px;
  padding: 10px 22px;
  margin-left: 18px;
  font-size: 1rem;
  letter-spacing: 0.04em;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  box-shadow: var(--shadow);
  border: none;
}
.cta-header:hover, .cta-header:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
  box-shadow: var(--shadow-hover);
}
.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-secondary);
  color: var(--color-primary);
  border: none;
  border-radius: 10px;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  cursor: pointer;
  margin-left: 12px;
  transition: background 0.2s, transform 0.16s;
  z-index: 150;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: var(--color-primary);
  color: var(--color-accent);
}

/* Hide burger on desktop */
@media (min-width: 1025px) {
  .mobile-menu-toggle {
    display: none;
  }
}

/* HEADER NAV HIDE ON MOBILE */
@media (max-width: 1024px) {
  header nav {
    display: none;
  }
  .cta-header {
    display: none;
  }
}


/* === MOBILE MENU === */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--color-primary);
  color: var(--color-accent);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  padding: 0;
  pointer-events: none;
  opacity: 0;
  transform: translateX(100%);
  transition: opacity 0.3s cubic-bezier(.77,0,.18,1), transform 0.3s cubic-bezier(.77,0,.18,1);
}
.mobile-menu.open {
  pointer-events: auto;
  opacity: 1;
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--color-secondary);
  font-size: 2.5rem;
  margin: 28px 32px 0 0;
  cursor: pointer;
  transition: color 0.18s;
  z-index: 1002;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #FFF182;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 20px;
  margin: 45px 36px 0 0;
}
.mobile-nav a {
  color: var(--color-accent);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 12px 22px 12px 0;
  border-radius: 0 16px 16px 0;
  background: none;
  transition: background 0.22s, color 0.22s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
}

@media (min-width: 1025px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ====== HERO & STRUCTURED SECTION ====== */
.cta-main, .cta-secondary {
  display: inline-block;
  font-family: var(--font-display);
  border-radius: 12px;
  padding: 13px 32px;
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: var(--color-accent);
  background: var(--color-primary);
  margin-top: 16px;
  border: none;
  box-shadow: var(--shadow);
  transition: background 0.16s, color 0.18s, box-shadow 0.18s, transform 0.1s;
  cursor: pointer;
  text-transform: uppercase;
}
.cta-main:hover, .cta-main:focus, .cta-secondary:hover, .cta-secondary:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px) scale(1.03);
}


/* ====== SERVICE CARDS ====== */
.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.service-card {
  background: var(--color-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  padding: 30px 24px;
  margin-bottom: 20px;
  min-width: 275px;
  flex: 1 1 calc(320px - 24px);
  max-width: 330px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 2.5px solid var(--color-primary);
  position: relative;
  transition: box-shadow 0.17s, border 0.17s, transform 0.19s;
}
.service-card:hover, .service-card:focus-within {
  box-shadow: var(--shadow-hover);
  border-color: var(--color-secondary);
  transform: translateY(-4px) scale(1.025);
}
.service-card h3 {
  margin-bottom: 7px;
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.service-card span {
  font-family: var(--font-display);
  color: var(--color-secondary);
  font-weight: 700;
  font-size: 1.12rem;
}
.service-card a {
  margin-top: 10px;
  font-family: var(--font-display);
  color: var(--color-accent);
  background: var(--color-primary);
  padding: 8px 20px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  align-self: flex-start;
  text-transform: uppercase;
  transition: background 0.18s, color 0.18s, box-shadow 0.17s;
  box-shadow: var(--shadow);
}
.service-card a:hover, .service-card a:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
  box-shadow: var(--shadow-hover);
}

/* ====== CARD-CONTAINER & CONTENT-GRID (for possible later use) ====== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--color-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  padding: 32px;
  display: flex;
  flex-direction: column;
}
.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: 18px;
    align-items: flex-start;
  }
}


/* ====== TESTIMONIALS ====== */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 26px;
  background: #F8F9FB;
  border-radius: 16px;
  margin-bottom: 20px;
  border-left: 8px solid var(--color-secondary);
  box-shadow: var(--shadow);
  flex-direction: column;
  align-items: flex-start;
  max-width: 700px;
  color: var(--color-primary);
  position: relative;
  min-width: 0;
  font-size: 1.07rem;
}
.testimonial-card p {
  font-size: 1.1rem;
  font-family: var(--font-body);
  color: var(--color-primary);
  font-style: italic;
}
.testimonial-card span {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-secondary);
  margin-top: 8px;
}

/* ====== FEATURE LISTS & ITEMS ====== */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

ul img, li img {
  width: 26px;
  vertical-align: middle;
  margin-right: 8px;
  display: inline-block;
}
ul li, ol li {
  padding-left: 4px;
  line-height: 1.5em;
  font-size: 1rem;
}
ol {
  list-style: decimal;
}

/* ====== FORMS (if used) ====== */
input, textarea, select, button {
  font-family: var(--font-body);
  border-radius: 10px;
  border: 1.5px solid var(--color-primary);
  padding: 10px 14px;
  margin-bottom: 16px;
  font-size: 1rem;
  background: var(--color-accent);
  color: var(--color-primary);
  transition: border 0.15s;
}
input:focus, textarea:focus, select:focus {
  border: 2px solid var(--color-secondary);
  outline: none;
}
button {
  cursor: pointer;
  transition: background 0.18s, color 0.17s;
  font-weight: 700;
}


/* ====== FOOTER ====== */
footer {
  background: var(--color-primary);
  color: var(--color-accent);
  padding: 32px 0 18px 0;
  border-top: 3px solid var(--color-secondary);
  position: relative;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.footer-brand img {
  height: 54px;
  width: auto;
  margin-bottom: 8px;
}
footer nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
footer nav a {
  color: var(--color-secondary);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: color 0.15s;
}
footer nav a:hover, footer nav a:focus {
  color: #FFF182;
}
.footer-social {
  display: flex;
  gap: 16px;
}
.footer-social img {
  width: 32px;
  height: 32px;
  background: var(--color-accent);
  border-radius: 50%;
  padding: 4px;
  border: 2.5px solid var(--color-secondary);
  transition: border 0.17s, box-shadow 0.18s;
}
.footer-social img:hover, .footer-social img:focus {
  border-color: #FFF182;
  box-shadow: 0 2px 12px rgba(252,191,73,0.16);
}
footer small {
  color: var(--color-accent);
  opacity: 0.8;
  margin-top: 8px;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
}

/* ====== COOKIE CONSENT BANNER ====== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  min-height: 72px;
  background: var(--color-primary);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  z-index: 1700;
  box-shadow: 0 -2px 16px rgba(34,86,122,0.09);
  padding: 20px 16px;
  font-size: 1.04rem;
  transition: transform 0.35s cubic-bezier(.5,-0.3,.6,1.1), opacity 0.35s;
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner.visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}
.cookie-banner p {
  margin-bottom: 0;
  margin-right: 20px;
  max-width: 530px;
  color: white;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 16px;
}

.btn-cookie {
  font-family: var(--font-display);
  font-weight: 700;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  padding: 11px 20px;
  margin-right: 0;
  background: var(--color-secondary);
  color: var(--color-primary);
  transition: background 0.17s, color 0.18s, box-shadow 0.16s;
  box-shadow: var(--shadow);
  cursor: pointer;
  letter-spacing: 0.02em;
}
.btn-cookie:focus, .btn-cookie:hover {
  background: #FFF182;
  color: var(--color-primary);
  box-shadow: var(--shadow-hover);
}

.btn-cookie-outline {
  font-family: var(--font-display);
  border: 2px solid var(--color-secondary);
  background: transparent;
  color: var(--color-secondary);
  font-weight: 700;
  border-radius: 10px;
  padding: 11px 18px;
  font-size: 1rem;
  transition: background 0.14s, color 0.17s, box-shadow 0.13s;
}
.btn-cookie-outline:focus, .btn-cookie-outline:hover {
  background: var(--color-secondary);
  color: var(--color-primary);
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  z-index: 2000;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(34,86,122,0.33);
  transition: opacity 0.23s;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: var(--color-accent);
  color: var(--color-primary);
  border-radius: 18px;
  max-width: 370px;
  width: 96vw;
  padding: 32px 28px 24px 28px;
  box-shadow: var(--shadow-hover);
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  animation: modal-appear 0.4s cubic-bezier(.5,-.3,.7,1.1);
}
@keyframes modal-appear {
  from { transform: translateY(60px) scale(.93); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.12rem;
  margin-bottom: 6px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}
.cookie-modal .cookie-category label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-primary);
}
.cookie-toggle {
  accent-color: var(--color-secondary);
  width: 20px; height: 20px;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 12px;
  justify-content: flex-end;
}
.cookie-modal .close-modal {
  background: none;
  border: none;
  position: absolute;
  right: 16px;
  top: 12px;
  font-size: 2rem;
  color: var(--color-primary);
  cursor: pointer;
  opacity: 0.7;
}
.cookie-modal .close-modal:hover, .cookie-modal .close-modal:focus {
  color: var(--color-secondary);
  opacity: 1;
}

/* ====== STRUCTURED & GEOMETRIC LAYOUTS ON DESKTOP ====== */
@media (min-width: 769px) {
  .service-cards {
    gap: 32px;
  }
  .testimonial-card {
    max-width: 840px;
    padding: 26px 42px;
    font-size: 1.13rem;
  }
  section {
    padding: 60px 0;
    margin-bottom: 72px;
  }
  .container {
    padding: 0 32px;
  }
}

/* ====== RESPONSIVE: MOBILE-FIRST ====== */
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  h1 {
    font-size: 1.65rem;
    margin-bottom: 12px;
  }
  h2 {
    font-size: 1.15rem;
    margin-bottom: 12px;
  }
  .container {
    padding: 0 8px;
  }
  .service-card {
    min-width: 90vw;
    max-width: 98vw;
    padding: 24px 10px;
  }
}

/* ====== UTILITIES ====== */
.geometric-shape {
  position: absolute;
  opacity: 0.09;
  pointer-events: none;
  /* These should be added in HTML if needed for decoration */
}

@media (max-width: 500px) {
  .cta-main, .cta-secondary {
    width: 100%;
    text-align: center;
    padding: 13px 0;
    font-size: 1rem;
  }
}

/* ====== ACCESSIBILITY & FOCUS ====== */
:focus {
  outline: 2.5px solid var(--color-secondary);
  outline-offset: 2.5px;
}

::-webkit-input-placeholder { color: #888; }
::-moz-placeholder { color: #888; }
:-ms-input-placeholder { color: #888; }
::placeholder { color: #888; }

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

/* ====== GEOMETRIC STYLE — MISC ====== */
section {
  background: var(--color-bg);
  border-radius: 22px;
  box-shadow: var(--shadow);
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 600px) {
  section {
    border-radius: 12px;
    padding: 18px 6px;
    margin-bottom: 32px;
  }
}

/* === Visual angularity and geometric touch === */
.service-card, .testimonial-card, .card {
  border-top-right-radius: 68px 36px !important;
  border-bottom-left-radius: 48px 22px !important;
}

.cta-main, .cta-header {
  border-bottom-left-radius: 18px 10px !important;
  border-top-right-radius: 26px 16px !important;
}

.btn-cookie, .btn-cookie-outline {
  border-bottom-left-radius: 8px 8px !important;
  border-top-right-radius: 16px 8px !important;
}

.footer-brand img {
  border-radius: 18px 32px 25px 4px / 20px 30px 12px 21px;
  background: rgba(252,191,73,0.09);
}

/* ====== Z-INDEX LAYERING ====== */
header { z-index: 1200; }
.mobile-menu { z-index: 1300; }
.cookie-banner { z-index: 1700; }
.cookie-modal-overlay { z-index: 2000; }

/* ====== GEOMETRIC STRUCTURED: CUSTOM FONT FACE fallbacks ====== */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  src: local('Montserrat'), local('Montserrat-Regular'),
       url('https://fonts.gstatic.com/s/montserrat/v26/JTUQjIg1_i6t8kCHKm45_Q.ttf') format('truetype');
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: local('Open Sans'), local('OpenSans-Regular'),
       url('https://fonts.gstatic.com/s/opensans/v28/mem8YaGs126MiZpBA-U1UpcaXcl0Aw.ttf') format('truetype');
}

/* ====== END OF FILE ====== */
