/* ============================================================
   VoltNotarius Minimalist Brand CSS | Mobile-first Responsive
   Only Flexbox layouts, no grid/columns, minimal colors, elegant type
   ============================================================ */

/* ===== CSS RESET and BASE ===== */
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; }
body {
  background: #fff;
  color: #1A3150;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
a { color: #1A3150; text-decoration: none; transition: color 0.2s; }
a:hover, a:focus { color: #D2A864; }
img { max-width: 100%; height: auto; display: block; }
hr { border: none; border-top: 1px solid #F6F6F9; margin: 32px 0; }
input, button, select, textarea { font-family: inherit; font-size: inherit; outline: none; }
ul, ol { margin-left: 20px; }
b, strong { font-weight: 700; }
h1, h2, h3, h4, h5, h6 { 
  font-family: 'Montserrat', Arial, sans-serif; 
  color: #1A3150;
  font-weight: 600;
  line-height: 1.2;
}
h1 { font-size: 2.4rem; margin-bottom: 22px; }
h2 { font-size: 1.8rem; margin-bottom: 18px; }
h3 { font-size: 1.2rem; margin-bottom: 10px; }
h4 { font-size: 1.06rem; }

/* ===== GENERIC LAYOUTS ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin-right: auto;
  margin-left: auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* ===== FLEXBOX GRIDS as per requirements ===== */
.features-grid,
.guides-list,
.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.features-grid { margin-top: 10px; }
.card-container, .card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 3px 16px rgba(26,49,80,.06);
  padding: 26px 18px;
  display: flex;
  flex-direction: column;
  min-width: 220px;
}
.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;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  background: #F6F6F9;
  border-radius: 24px;
  box-shadow: 0 2px 12px rgba(26,49,80,0.10);
  padding: 28px 24px;
  min-width: 290px;
  max-width: 380px;
  margin: 0 10px 20px 0;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ===== HERO SECTION ===== */
.hero {
  background: #F6F6F9;
  padding: 60px 0 46px 0;
  box-shadow: 0 2.5px 14px rgba(26,49,80,0.05);
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 26px;
}
.hero h1 { font-size: 2.2rem; margin-bottom: 10px; }
.hero p { font-size: 1.15rem; color: #253756; }

/* ===== MAIN NAVIGATION ===== */
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 16px 0 14px 0;
  background: #fff;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.04rem;
  color: #1A3150;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 7px;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover { background: #F6F6F9; color: #D2A864; }
.main-nav .logo { margin-right: 19px; display: flex; }
.main-nav .cta.primary {
  background: #1A3150;
  color: #fff !important;
  border-radius: 7px;
  padding: 8px 18px;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: background 0.18s, box-shadow 0.23s;
  box-shadow: 0 2.5px 10px rgba(26,49,80,0.08);
}
.main-nav .cta.primary:hover, .main-nav .cta.primary:focus {
  background: #D2A864;
  color: #1A3150 !important;
  box-shadow: 0 3px 18px rgba(210,168,100,0.12);
}
/* Burger menu visible on mobile only */
.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 2rem;
  color: #1A3150;
  display: none;
  position: absolute;
  right: 24px;
  top: 18px;
  z-index: 150;
  cursor: pointer;
  padding: 2px 7px;
  transition: color 0.13s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  color: #D2A864;
  background: #F6F6F9;
  border-radius: 7px;
}

/* ===== MOBILE MENU OVERLAY ===== */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(246,246,249,.97);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-100%);
  transition: transform 0.38s cubic-bezier(.6,.02,.25,1) 0s;
  /* Will be toggled to translateX(0) when open */
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-close {
  background: none;
  border: none;
  color: #1A3150;
  font-size: 2.3rem;
  padding: 0 18px;
  margin-top: 19px;
  align-self: flex-end;
  cursor: pointer;
  transition: color 0.12s;
  z-index: 2010;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: #D2A864;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-self: stretch;
  padding: 32px 24px;
  margin-top: 22px;
}
.mobile-nav a {
  font-size: 1.2rem;
  color: #1A3150;
  font-family: 'Montserrat', Arial, sans-serif;
  background: none;
  border-radius: 0;
  padding: 12px 4px;
  margin-bottom: 0;
  transition: color 0.2s, background 0.18s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  color: #D2A864;
  background: #fff7e7;
  border-radius: 4px;
}

/* Hide desktop nav/show burger in mobile */
@media (max-width: 1023px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 1024px) {
  .mobile-menu { display: none !important; }
  .mobile-menu-toggle { display: none !important; }
}

/* ===== BUTTONS / CTA ===== */
.cta {
  display: inline-flex;
  align-items: center;
  border: none;
  outline: none;
  padding: 8px 16px;
  border-radius: 7px;
  background: #fff;
  color: #1A3150;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.07rem;
  cursor: pointer;
  box-shadow: 0 1.5px 4px rgba(26,49,80,0.03);
  margin-right: 10px;
  margin-bottom: 12px;
  text-align: center;
  min-width: 150px;
  transition: color 0.18s, background 0.22s, box-shadow 0.23s;
  letter-spacing: 0.01em;
}
.cta.primary {
  background: #1A3150;
  color: #fff;
}
.cta.primary:hover, .cta.primary:focus {
  background: #D2A864;
  color: #1A3150;
  box-shadow: 0 4px 16px rgba(210,168,100,0.11);
}
.cta.secondary {
  background: #F6F6F9;
  color: #1A3150;
  border: 1.5px solid #1A3150;
}
.cta.secondary:hover, .cta.secondary:focus {
  background: #D2A864;
  color: #fff;
  border-color: #D2A864;
}

/* ===== CARD/LIST ELEMENTS ===== */
.feature {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(26,49,80,0.03);
  padding: 26px 20px;
  flex: 1 1 210px;
  min-width: 210px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 20px;
  transition: box-shadow 0.28s;
}
.feature img {
  width: 36px;
  height: 36px;
  margin-bottom: 12px;
  opacity: 0.93;
}
.feature:hover, .card:hover {
  box-shadow: 0 10px 28px rgba(26,49,80,0.12);
}

.guides-list {
  gap: 24px;
  flex-direction: column;
}
.guides-list article {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(26,49,80,0.06);
  padding: 18px 16px;
  margin-bottom: 12px;
  transition: box-shadow .2s;
}
.guides-list article:hover {
  box-shadow: 0 7px 24px rgba(210,168,100,.10);
}
.guides-list h3 { margin-bottom: 7px; font-size: 1.15rem; }
.guides-list a {
  color: #1A3150;
  text-decoration: underline;
  margin-top: 11px;
  font-size: 1.03rem;
  transition: color 0.17s;
}
.guides-list a:hover {
  color: #D2A864;
}

.categories-filter {
  display: flex;
  gap: 13px;
  align-items: center;
  margin-top: 24px;
}
.categories-filter span {
  color: #1A3150;
  font-weight: 700;
}
.categories-filter a {
  color: #1A3150;
  font-size: 1rem;
  background: #F6F6F9;
  padding: 6px 13px;
  border-radius: 7px;
  transition: background .17s, color .13s;
}
.categories-filter a:hover {
  background: #D2A864;
  color: #fff;
}

.text-section {
  margin-bottom: 10px;
  color: #1A3150;
  font-size: 1.07rem;
}
.text-section img {
  display: inline;
  width: 24px; height: 24px;
  vertical-align: middle;
  margin: 0 4px -4px 0;
}

/* ====== TESTIMONIALS STYLES ====== */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 14px;
}
.stars {
  display: flex;
  gap: 3px;
}
.stars img {
  width: 22px; height: 22px;
}
.testimonial-card p {
  color: #253756;
  font-size: 1.09rem;
}
.testimonial-card span {
  color: #1A3150;
  font-size: .99rem;
  font-weight: 600;
  margin-top: 8px;
  display: block;
}

/* ===== FAQ ===== */
.faq-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 18px;
}
.faq-item {
  background: #F6F6F9;
  border-radius: 12px;
  padding: 16px 16px 10px 18px;
}
.faq-item h3 { font-size: 1.13rem; margin-bottom: 4px; }

/* ===== TABLES ===== */
table {
  width: 100%;
  border-spacing: 0;
  border-collapse: collapse;
  background: #fff;
  margin: 24px 0 10px 0;
  border-radius: 12px;
  overflow: hidden;
  font-size: 1rem;
  box-shadow: 0 2px 10px rgba(26,49,80,0.06);
}
th, td {
  padding: 12px 10px;
  text-align: left;
}
th { background: #F6F6F9; color: #1A3150; font-weight: 600; }
tr:nth-child(even) { background: #fbfbfd; }

/* ===== CONTACT DETAILS ===== */
.contact-details {
  gap: 24px;
  margin-bottom: 8px;
  justify-content: flex-start;
  flex-wrap: wrap;
}
.contact-details > div {
  background: #F6F6F9;
  border-radius: 12px;
  padding: 15px 18px;
  min-width: 180px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: 0 1.2px 6px rgba(26,49,80,.06);
  margin-right: 6px;
}
.contact-details img {
  width: 22px; height: 22px; margin-bottom: 6px; }

/* ===== FOOTER ===== */
footer {
  margin-top: 40px;
  border-top: 1px solid #F6F6F9;
  background: #fff;
  padding: 28px 0 8px 0;
}
.footer-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 15px;
}
.footer-nav a {
  font-size: 1.02rem;
  color: #1A3150;
  background: none;
  border-radius: 5px;
  transition: background 0.18s, color 0.18s;
  padding: 4px 8px;
}
.footer-nav a:hover {
  color: #D2A864;
  background: #F6F6F9;
}
.footer-info {
  text-align: center;
  font-size: .96rem;
  color: #253756;
  margin-bottom: 2px;
}

/* ====== COOKIE CONSENT BANNER ====== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 3000;
  background: #fff;
  box-shadow: 0 -2px 16px rgba(26,49,80,0.10);
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 20px 22px 16px 22px;
  gap: 15px;
  align-items: flex-start;
  border-top-left-radius: 9px;
  border-top-right-radius: 9px;
  animation: slideInCookie .47s cubic-bezier(.7,.11,.23,1);
}
@keyframes slideInCookie {
  from { transform: translateY(60px); opacity: 0.13; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  color: #1A3150;
  font-size: 1rem;
  margin-bottom: 0;
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
}
.cookie-banner .cookie-accept,
.cookie-banner .cookie-reject,
.cookie-banner .cookie-settings {
  border: none;
  padding: 8px 18px;
  border-radius: 7px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  background: #F6F6F9;
  color: #1A3150;
  transition: background 0.22s, color 0.13s, box-shadow 0.21s;
  box-shadow: 0 1.5px 6px rgba(26,49,80,0.05);
  outline: none;
}
.cookie-banner .cookie-accept {
  background: #1A3150;
  color: #fff;
}
.cookie-banner .cookie-accept:hover,
.cookie-banner .cookie-accept:focus {
  background: #D2A864;
  color: #1A3150;
}
.cookie-banner .cookie-reject {
  background: #fff;
  color: #1A3150;
  border: 1.5px solid #1A3150;
}
.cookie-banner .cookie-reject:hover,
.cookie-banner .cookie-reject:focus {
  background: #D2A864;
  color: #fff;
  border: 1.5px solid #D2A864;
}
.cookie-banner .cookie-settings {
  background: #F6F6F9;
  color: #1A3150;
}
.cookie-banner .cookie-settings:hover,
.cookie-banner .cookie-settings:focus {
  background: #1A3150;
  color: #fff;
}

/* ===== COOKIE MODAL ===== */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 3300;
  background: rgba(26,49,80, 0.30);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeCookieOverlay .22s;
}
@keyframes fadeCookieOverlay {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 9px 40px rgba(26,49,80,0.15);
  width: 96%;
  max-width: 400px;
  padding: 30px 22px;
  display: flex;
  flex-direction: column;
  gap: 23px;
  position: relative;
  animation: modalPopup .32s cubic-bezier(.23,.68,.36,1.12);
}
@keyframes modalPopup {
  0% {transform: scale(.96) translateY(30px); opacity: 0;}
  100% {transform: scale(1) translateY(0); opacity: 1;}
}
.cookie-modal h3 {
  font-size: 1.19rem;
  margin-bottom: 7px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 19px;
}
.cookie-category {
  display: flex;
  align-items: flex-start;
  gap: 13px;
}
.cookie-category label {
  font-size: 1.04rem;
  font-weight: 500;
  color: #1A3150;
}
.cookie-category input[type=checkbox] {
  accent-color: #D2A864;
  width: 19px; height: 19px;
  margin-top: 3px;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  right: 13px; top: 12px;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: #1A3150;
  cursor: pointer;
  transition: color 0.14s;
}
.cookie-modal .cookie-modal-close:hover { color: #D2A864; }
.cookie-modal .cookie-buttons {
  display: flex;
  gap: 13px;
  margin-top: 10px;
}

/* ====== FORMS ====== */
input[type="search"],
input[type="text"],
input[type="email"],
input[type="password"],
textarea {
  padding: 8px 14px;
  border: 1.5px solid #F6F6F9;
  border-radius: 7px;
  background: #F6F6F9;
  transition: border 0.17s, box-shadow 0.19s;
  margin-bottom: 9px;
}
input[type="search"]:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
textarea:focus {
  border-color: #D2A864;
  background: #fff;
  box-shadow: 0 2px 8px rgba(210,168,100,.07);
}
input[type="search"] {
  width: 100%;
  font-size: 1.1rem;
  margin: 8px 0 12px 0;
}

/* ===== Responsive Typography / Layouts ===== */
@media (max-width: 1100px) {
  .container { max-width: 97vw; }
  .features-grid, .testimonial-slider, .contact-details { gap: 16px; }
}
@media (max-width: 900px) {
  .features-grid, .testimonial-slider, .contact-details {
    flex-direction: column;
    gap: 20px;
  }
  .feature, .testimonial-card { max-width: 100%; }
}
@media (max-width: 768px) {
  .section { padding: 28px 8px; }
  .container { padding: 0 7px; }
  .hero { padding: 34px 0 22px 0; }
  .content-wrapper { gap: 13px; }
  .features-grid { flex-direction: column; }
  .testimonial-slider { gap: 16px; justify-content: flex-start; }
  .testimonial-card { padding: 20px 13px; min-width: 0; }
  .main-nav { display: none; }
  .mobile-menu-toggle { display: block; }
  .text-image-section { flex-direction: column; align-items: flex-start; gap: 16px; }
  .contact-details { flex-direction: column; gap: 17px; }
  .footer-nav { gap: 14px; }
  table th, table td { padding: 8px 5px; font-size: 0.96rem; }
  .cta, .cta.primary, .cta.secondary { min-width: 100px; font-size: 1rem; padding: 7px 12px; }
}

@media (max-width: 480px) {
  h1 { font-size: 1.36rem; }
  h2 { font-size: 1.09rem; }
  .section { padding: 18px 2px; }
  .container { padding: 0 2px; }
  .footer-info { font-size: .90rem; }
  .cookie-modal { padding: 17px 6px; }
}

/* =========== MISC =========== */
::-webkit-input-placeholder { color: #7991b7; font-size: 0.98rem; }
::placeholder { color: #7991b7; font-size: 0.98rem; }

::-webkit-scrollbar {
  width: 7px;
  background: #F6F6F9;
  border-radius: 9px;
}
::-webkit-scrollbar-thumb {
  background: #D2A864;
  border-radius: 9px;
}

/* =========== OVERRIDES FOR UX =========== */
[tabindex]:focus, button:focus, .cta:focus, .cookie-banner button:focus, .mobile-menu-close:focus {
  outline: 2px solid #D2A864;
  outline-offset: 1.5px;
}

/* =========== VISUAL OVERRIDES / MINIMALIST EXTRAS =========== */
article, .card, .feature, .testimonial-card, .faq-item {
  transition: box-shadow 0.23s, transform 0.21s;
}
article:hover, .card:hover, .feature:hover, .testimonial-card:hover, .faq-item:hover {
  box-shadow: 0 5px 22px rgba(210,168,100,0.10);
  transform: translateY(-2px) scale(1.008);
}

/* Hide focus outlines on mouse click, only show when using keyboard */
html:not(.user-is-tabbing) button:focus, 
html:not(.user-is-tabbing) .cta:focus,
html:not(.user-is-tabbing) a:focus,
html:not(.user-is-tabbing) input:focus { outline: none; }

/* ========== END ==========