/* ==========================================================================
   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; }
*,*:before,*:after { box-sizing: inherit; }
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section {
  display: block;
}
body {
  line-height: 1.5;
  background: #fff;
  color: #161718;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}
a { text-decoration: none; color: inherit; transition: color 0.2s; }
ul,ol { list-style: none; }
img { max-width: 100%; display: block; border: 0; }
button, input, select, textarea { font: inherit; border: none; background: none; }
hr { display:none; }

/* ==========================================================================
   COLOR PALETTE & MONOCHROME SOPHISTICATED BASE
   ========================================================================== */
:root {
  --brand-primary: #093056;
  --brand-secondary: #F6B144;
  --brand-accent: #FFFFFF;
  --text-main: #161718;
  --text-muted: #444950;
  --gray-100: #FAFAFA;
  --gray-200: #F4F4F5;
  --gray-300: #E4E5E7;
  --gray-400: #B1B4B9;
  --gray-500: #777C82;
  --gray-700: #282930;
  --black: #000;
  --white: #fff;
  --shadow-elev: 0 6px 36px rgba(28,32,38,0.08), 0 1.5px 8px rgba(28,32,38,0.10);
  --border-radius: 12px;
  --transition-main: 0.2s cubic-bezier(.4,0,.2,1);
}

/* Brand Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;700&family=Open+Sans:wght@400;600&display=swap');

body {
  color: var(--text-main);
  background: var(--white);
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  line-height: 1.60;
  letter-spacing: 0.02em;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: var(--black);
  letter-spacing: 0.01em;
  margin-bottom: 20px;
  line-height: 1.15;
}
h1 { font-size: 2.75rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.35rem; }
h4, h5, h6 { font-size: 1rem; font-weight: 600; }
p,li,blockquote,address {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}
blockquote {
  background: var(--gray-200);
  border-left: 4px solid var(--brand-primary);
  font-style: italic;
  padding: 18px 24px;
  border-radius: var(--border-radius);
  margin: 24px 0;
  color: var(--brand-primary);
}
strong, b {
  font-weight: 700;
  color: var(--black);
}

/* section and container spacing ----------------------------------- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

/* Flexbox Patterns ------------------------------------------------ */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--gray-100);
  color: var(--text-main);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-elev);
  padding: 32px 24px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition-main), transform var(--transition-main);
}
.card:hover {
  box-shadow: 0 16px 42px rgba(30,30,40,0.16);
  transform: translateY(-3px) scale(1.01);
}
.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;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--gray-200);
  color: var(--black);
  padding: 20px;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 12px rgba(38,38,45,0.08);
  margin-bottom: 20px;
  flex-direction: column;
  position: relative;
}
.testimonial-card p {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--black);
  margin-bottom: 10px;
}
.testimonial-card cite {
  font-size: 0.97rem;
  color: var(--brand-primary);
  font-style: normal;
  font-weight: 600;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}
/* List style sophistication */
ul, ol {
  margin-left: 0;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
ul li, ol li {
  padding-left: 32px;
  position: relative;
  font-size: 1rem;
  color: var(--gray-700);
}
ul li img {
  width: 22px;
  height: 22px;
  position: absolute;
  left: 0; top: 0.25em;
}
ol li:before {
  content: counter(item, decimal) ". ";
  counter-increment: item;
  color: var(--brand-primary);
  font-weight: bold;
  position: absolute;
  left: 0;
  font-size: 1rem;
  top: 0;
}
ol {
  counter-reset: item;
}

/* Buttons --------------------------------------------------------- */
.cta-primary, .cta-secondary, .cookie-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--border-radius);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 14px 36px;
  font-size: 1.1rem;
  cursor: pointer;
  border: none;
  background: var(--brand-primary);
  color: var(--white);
  box-shadow: 0 2px 7px rgba(9,48,86,0.11);
  letter-spacing: 0.03em;
  transition: background var(--transition-main), color var(--transition-main), box-shadow var(--transition-main), transform var(--transition-main);
  margin-top: 10px;
}
.cta-primary:hover, .cta-primary:focus, .cookie-btn.accept:focus {
  background: var(--black);
  color: var(--brand-secondary);
  box-shadow: 0 7px 18px 0 rgba(30,30,40,.18);
  transform: translateY(-2px) scale(1.03);
}
.cta-secondary {
  background: var(--white);
  color: var(--brand-primary);
  border: 2px solid var(--brand-primary);
  box-shadow: none;
  margin-left: 0;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: var(--gray-200);
  border-color: var(--black);
  color: var(--black);
}
.button--icon {
  gap: 8px;
}

/* Header & Navigation --------------------------------------------- */
header {
  background: var(--white);
  box-shadow: 0 2px 7px rgba(12,20,32,0.04);
  position: relative;
  z-index: 20;
}
.main-nav {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
}
.main-nav > a img { height: 46px; display: block; }
.main-nav ul {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
}
.main-nav ul li {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
}
.main-nav ul li a {
  display: flex;
  align-items: center;
  color: var(--brand-primary);
  font-weight: 500;
  padding: 7px 12px;
  border-radius: 6px;
  transition: color var(--transition-main), background var(--transition-main);
}
.main-nav ul li a:hover, .main-nav ul li a:focus {
  background: var(--gray-200);
  color: var(--black);
}
.main-nav ul li .cta-primary {
  margin-left: 24px;
  font-size: 1rem;
  padding: 11px 26px;
  background: var(--brand-secondary);
  color: var(--brand-primary);
  border: none;
  box-shadow: 0 2px 8px rgba(246,177,68,0.12);
  transition: background var(--transition-main), color var(--transition-main);
}
.main-nav ul li .cta-primary:hover, .main-nav ul li .cta-primary:focus {
  background: var(--brand-primary);
  color: var(--brand-secondary);
}

/* Burger Menu ----------------------------------------------------- */
.mobile-menu-toggle {
  display: none;
  background: var(--brand-secondary);
  color: var(--brand-primary);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  padding: 0;
  margin-left: 8px;
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 8px rgba(246,177,68,0.12);
  align-items: center;
  justify-content: center;
  transition: background var(--transition-main), color var(--transition-main), box-shadow var(--transition-main);
  z-index: 40;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: var(--brand-primary);
  color: var(--brand-secondary);
  outline: 2px solid var(--brand-primary);
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(12,16,25,0.98);
  color: var(--brand-accent);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0;
  transform: translateX(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.38s cubic-bezier(0.75,0,.4,1), opacity 0.25s;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
  transition-delay: 0s, 0s;
}
.mobile-menu-close {
  background: transparent;
  color: var(--white);
  font-size: 2.2rem;
  border-radius: 50%;
  margin: 24px 0 12px 24px;
  width: 44px;
  height: 44px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1010;
  transition: background var(--transition-main);
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--brand-secondary);
  color: var(--brand-primary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-left: 42px;
  margin-top: 24px;
  width: 80vw;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.28rem;
  color: var(--white);
  font-weight: 600;
  padding: 12px 0;
  border-radius: 4px;
  transition: color var(--transition-main), background var(--transition-main);
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--brand-secondary);
  color: var(--brand-primary);
}

/* Main Content/Sections ------------------------------------------- */
section {
  margin-bottom: 60px;
  padding: 40px 0;
  display: flex;
  justify-content: center;
  background: var(--white);
}
@media (max-width: 992px) {
  .container {
    max-width: 90vw;
    padding-left: 8px;
    padding-right: 8px;
  }
  section {
    padding: 32px 0;
    margin-bottom: 44px;
  }
}
@media (max-width: 550px) {
  section {
    padding: 18px 0;
    margin-bottom: 32px;
  }
  .content-wrapper {
    gap: 16px;
  }
}

/* Footer ------------------------------------------- */
footer {
  width: 100%;
  background: var(--gray-200);
  padding: 0;
  color: var(--brand-primary);
  border-top: 1px solid var(--gray-300);
}
footer .container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}
footer .content-wrapper {
  align-items: flex-start;
  gap: 18px;
  padding: 32px 0;
}
footer img {
  width: 48px;
  height: auto;
  margin-bottom: 16px;
}
footer ul {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
footer ul li {
  font-size: 1rem;
}
footer ul li a {
  color: var(--brand-primary);
  font-weight: 500;
  transition: color var(--transition-main);
}
footer ul li a:hover,
footer ul li a:focus {
  color: var(--black);
  text-decoration: underline;
}
footer address {
  font-size: 0.99rem;
  color: var(--text-muted);
  font-style: normal;
  margin-top: 12px;
  line-height: 1.55;
}

/* Cookie Consent Banner & Modal ----------------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: var(--black);
  color: var(--white);
  z-index: 3000;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 20px 15px;
  box-shadow: 0 -3px 16px rgba(0,0,0,0.15);
  gap: 28px;
  transition: transform 0.38s,
    opacity 0.25s;
  opacity: 1;
}
.cookie-banner.hidden { opacity: 0; pointer-events: none; transform: translateY(100%); }
.cookie-banner-text {
  font-size: 1rem;
  max-width: 440px;
  margin-right: 12px;
}
.cookie-banner .cookie-btn {
  margin: 0 7px;
  font-size: 1rem;
  padding: 9px 22px;
  border-radius: 7px;
  border: none;
  background: var(--brand-primary);
  color: var(--white);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition-main),color var(--transition-main);
}
.cookie-banner .cookie-btn.accept {
  background: var(--brand-secondary);
  color: var(--brand-primary);
}
.cookie-banner .cookie-btn.reject {
  background: var(--white);
  color: var(--black);
  border: 1.5px solid var(--gray-400);
}
.cookie-banner .cookie-btn.settings {
  background: var(--gray-700);
  color: var(--white);
}
.cookie-banner .cookie-btn:hover,
.cookie-banner .cookie-btn:focus {
  background: var(--brand-primary);
  color: var(--brand-secondary);
  outline: 2px solid var(--brand-secondary);
}

.cookie-modal {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%) scale(1);
  background: var(--white);
  color: var(--text-main);
  width: 94vw;
  max-width: 420px;
  border-radius: 18px;
  box-shadow: 0 18px 64px rgba(28,32,38,0.23);
  z-index: 3200;
  padding: 36px 30px 24px 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  opacity: 1;
  transition: opacity 0.27s, transform 0.3s;
}
.cookie-modal.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%,-50%) scale(0.92);
}
.cookie-modal h3 {
  color: var(--brand-primary);
  font-size: 1.175rem;
}
.cookie-modal ul {
  gap: 16px;
}
.cookie-modal li {
  margin-bottom: 0;
  padding-left: 0;
  color: var(--text-main);
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
}
.cookie-modal .switch {
  position: relative;
  display: inline-block;
  width: 38px;
  height: 22px;
}
.cookie-modal .switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-modal .slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0;
  right: 0; bottom: 0;
  background: var(--gray-400);
  border-radius: 12px;
  transition: .2s;
}
.cookie-modal .slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background-color: var(--white);
  transition: .2s;
  border-radius: 50%;
  box-shadow: 0px 3px 6px rgba(0,0,0,0.12);
}
.cookie-modal .switch input:checked + .slider {
  background: var(--brand-primary);
}
.cookie-modal .switch input:checked + .slider:before {
  transform: translateX(14px);
}
.cookie-modal .cookie-btn {
  margin-top: 16px;
  width: 100%;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 18px; right: 20px;
  background: none;
  border: none;
  font-size: 1.45rem;
  color: var(--gray-500);
  cursor: pointer;
  border-radius: 50%;
  width: 38px; height: 38px;
  display: flex;
  align-items: center; justify-content: center;
  transition: background 0.2s;
}
.cookie-modal .modal-close:hover, .cookie-modal .modal-close:focus {
  background: var(--gray-200);
  color: var(--brand-primary);
}

/* Responsive design (mobile first with upgrades) ------------------ */
@media (max-width: 1024px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.1rem; }
  .main-nav ul li .cta-primary { padding: 9px 16px; font-size: 1rem; }
}
@media (max-width: 900px) {
  .main-nav { flex-direction: row; }
}
@media (max-width: 768px) {
  .main-nav ul { display: none; }
  .mobile-menu-toggle { display: flex; }
  .container { padding: 0 8px; }
  .content-grid, .card-container {
    gap: 16px;
  }
  .testimonial-card { padding: 18px; gap: 14px; }
  .text-image-section { flex-direction: column; gap: 18px; }
}
@media (max-width: 600px) {
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.15rem; }
  h3 { font-size: 1rem; }
  .content-wrapper { gap: 12px; }
  .container { max-width: 97vw; }
  .card, .testimonial-card { padding: 13px 8px; }
}

/* Utility --------------------------------------------------------- */
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
.link-underline { text-decoration: underline; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.flex { display: flex; }
.flex-column { flex-direction: column; }
.flex-row { flex-direction: row; }
.align-center { align-items: center; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }

/* Micro-interactions ---------------------------------------------- */
a, .cta-primary, .cta-secondary, .cookie-btn, .mobile-menu-toggle, .mobile-menu-close {
  transition: color var(--transition-main), background var(--transition-main), box-shadow var(--transition-main), transform var(--transition-main);
}
ul li, ol li {
  transition: color 0.16s;
}
ul li:hover, ol li:hover {
  color: var(--brand-primary);
}

/* Custom icons for accessibility ---------------------------------- */
ul li img, ol li img {
  margin-right: 8px;
  margin-bottom: -4px;
}

/* Accessibility states -------------------------------------------- */
a:focus, .cta-primary:focus, .cta-secondary:focus, .cookie-btn:focus {
  outline: 2px solid var(--brand-secondary);
  outline-offset: 2px;
  background: var(--gray-300);
}

/* Hide modal/overlay by default if js adds 'hidden' class --------- */
.mobile-menu,
.cookie-banner,
.cookie-modal {
  will-change: transform, opacity;
}

/* END OF STYLE.CSS */
