/* ------------------------------
 Aurora Contable CSS (Vibrant Energetic)
 Responsive, flexbox-only, high-contrast, modern, friendly, energetic
-------------------------------*/
/* --- CSS RESET & BASES --- */
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: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust:100%;
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  background: #F0F4F8;
  color: #191A23;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  background-color: #F0F4F8;
}

img {
  max-width: 100%;
  height: auto;
}
a {
  color: #15406B;
  text-decoration: underline;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F3BE3C;
  text-decoration: none;
}

ul, ol {
  padding-left: 1.3em;
}
strong, b {
  font-weight: 700;
}
em, i {
  font-style: italic;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #15406B;
  font-weight: 800;
  letter-spacing: -0.01em;
}
h1 {
  font-size: 2.75rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 14px;
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 11px;
}
p {
  font-size: 1rem;
  margin-bottom: 16px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 0;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 0;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.card {
  background: #fff;
  box-shadow: 0 3px 16px 0 rgba(21,64,107,0.10), 0 1.5px 6px 0 rgba(243,190,60, 0.10);
  border-radius: 17px;
  padding: 32px 24px;
  margin-bottom: 20px;
  position: relative;
  transition: transform 0.15s cubic-bezier(.4,0,.2,1), box-shadow 0.2s;
}
.card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 7px 28px -8px #F3BE3C55, 0 7px 36px -12px #15406B11;
  z-index: 2;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

.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;
}

/* --- BUTTONS & CTA --- */
.cta, button, .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #F3BE3C;
  color: #15406B;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  border: none;
  border-radius: 100px;
  padding: 16px 32px;
  margin-top: 8px;
  margin-bottom: 8px;
  box-shadow: 0 2px 11px -3px #F3BE3C77;
  cursor: pointer;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: background 0.2s, color 0.2s, box-shadow 0.22s, transform 0.11s;
}
.cta:active,
button:active {
  transform: scale(0.98);
}
.cta:hover,
.cta:focus,
button:hover,
button:focus {
  background: #ffd53c;
  color: #15406B;
  box-shadow: 0 8px 28px -3px #F3BE3C77, 0 1px 6px -2px #15406B33;
  outline: none;
}
/* Secondary CTA (used in modals, cookie consent, etc) */
.button-secondary {
  background: #15406B;
  color: #fff;
  border: 2px solid #F3BE3C;
  font-weight: 800;
}
.button-secondary:hover,
.button-secondary:focus {
  background: #103151;
  color: #F3BE3C;
  border-color: #F3BE3C;
}
.button-outline {
  background: #fff;
  color: #15406B;
  border: 2px solid #15406B;
}
.button-outline:hover,
.button-outline:focus {
  background: #F3BE3C;
  color: #15406B;
  border-color: #F3BE3C;
}

/* --- HEADER & NAVIGATION --- */
header {
  background: #fff;
  box-shadow: 0 7px 28px -12px #15406B16;
  position: relative;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 10px;
  padding-bottom: 10px;
}
header nav {
  display: flex;
  gap: 20px;
}
header nav a {
  color: #15406B;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  position: relative;
  padding: 6px 0;
  text-decoration: none;
  transition: color 0.2s;
}
header nav a:after {
  content: '';
  display: block;
  height: 2.5px;
  width: 0%;
  background: #F3BE3C;
  border-radius: 1px;
  transition: width 0.24s cubic-bezier(.6,0,.4,1);
  margin-top: 2.7px;
}
header nav a:hover, header nav a:focus {
  color: #F3BE3C;
}
header nav a:hover:after, header nav a:focus:after {
  width: 100%;
}
header .cta {
  margin-left: 14px;
  padding: 11px 25px;
  min-width: 188px;
  font-size: 1rem;
}

.mobile-menu-toggle {
  display: none;
  background: #F3BE3C;
  color: #15406B;
  font-size: 2.2rem;
  padding: 7px 18px;
  border: none;
  border-radius: 80px;
  cursor: pointer;
  box-shadow: 0 2px 16px -3px #F3BE3C88;
  transition: background 0.2s, box-shadow 0.18s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #ffd53c;
  box-shadow: 0 7px 28px -3px #F3BE3C77, 0 2px 7px -2px #15406B18;
}
/* --- MOBILE NAVIGATION (responsive/burger) --- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #15406B;
  color: #fff;
  z-index: 300;
  transform: translateX(-110vw);
  transition: transform 0.32s cubic-bezier(.8,0,.13,1);
  display: flex;
  flex-direction: column;
  padding-top: 0;
  padding-bottom: 0;
  justify-content: flex-start;
  align-items: flex-start;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: #fff;
  color: #15406B;
  font-size: 2.2rem;
  border: none;
  border-radius: 80px;
  margin: 24px 24px 12px 0;
  padding: 8px 20px;
  cursor: pointer;
  transition: background 0.19s, color 0.16s;
  box-shadow: 0 2px 11px -2px #F3BE3C40;
  z-index: 501;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #F3BE3C;
  color: #15406B;
}
.mobile-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: center;
  justify-content: flex-start;
  margin-top: 35px;
}
.mobile-nav a {
  color: #fff;
  text-decoration: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.35rem;
  padding: 16px 0;
  font-weight: 700;
  transition: color 0.19s, background 0.19s;
  width: 90vw;
  text-align: left;
  border-radius: 9px;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F3BE3C;
  color: #15406B;
}

/* --- SECTIONS --- */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
  border-radius: 18px;
}
main > section:nth-child(even) {
  background: #fff;
}
main > section:nth-child(even) .container {
  /* More visual separation */
}

/* --- TESTIMONIALS --- */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 32px 28px;
  margin-bottom: 20px;
  background: #F3BE3C18;
  border-left: 7px solid #F3BE3C;
  border-radius: 17px;
  box-shadow: 0 3px 24px -7px #15406B22;
  color: #15406B;
  font-family: 'Montserrat', Arial, sans-serif;
  font-style: normal;
  font-size: 1.1rem;
  max-width: 650px;
  transition: box-shadow 0.22s, transform 0.13s;
}
.testimonial-card blockquote {
  font-weight: 600;
  font-size: 1.22rem;
  line-height: 1.6;
  quotes: "\201C" "\201D" "\2018" "\2019";
  margin: 0;
  color: #191A23;
}
.testimonial-footer {
  font-size: 0.99rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #15406B;
  margin-top: 5px;
}

/* --- FORMS & INPUTS --- */
input[type="email"],
input[type="text"],
input[type="number"],
textarea {
  width: 100%;
  min-width: 0;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  padding: 13px 17px;
  border: 2px solid #15406B25;
  border-radius: 12px;
  background: #fff;
  color: #15406B;
  margin-bottom: 16px;
  transition: border-color 0.22s;
}
input:focus, textarea:focus {
  border-color: #F3BE3C;
  outline: none;
}
label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  display: block;
  margin-bottom: 8px;
  color: #15406B;
}
button[type="submit"],
form button {
  margin-top: 6px;
  background: #15406B;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 13px 34px;
  border-radius: 90px;
  border: none;
  box-shadow: 0 2px 12px -2px #F3BE3C51;
  transition: background 0.21s, color 0.17s, box-shadow 0.18s;
}
button[type="submit"]:hover, form button:hover, button[type="submit"]:focus {
  background: #F3BE3C;
  color: #15406B;
}

form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 410px;
}

/* --- FOOTER --- */
footer {
  background: #15406B;
  color: #fff;
  padding-top: 18px;
  padding-bottom: 18px;
  margin-top: 50px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 0;
}
footer .content-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}
footer nav {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}
footer nav a {
  color: #F3BE3C;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: underline;
  transition: color 0.16s;
}
footer nav a:hover, footer nav a:focus {
  color: #fff;
  text-decoration: none;
}
footer span {
  font-size: 0.98rem;
  letter-spacing: 0.01em;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 655;
  background: #fff;
  border-top: 5px solid #F3BE3C;
  box-shadow: 0 -4px 18px -2px #15406B29;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 22px 7vw 22px 4vw;
  min-height: 70px;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.09rem;
  color: #15406B;
  opacity: 0;
  pointer-events: none;
  transform: translateY(90px);
  transition: transform 0.34s cubic-bezier(.7,0,.3,1), opacity 0.22s;
}
.cookie-banner.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.cookie-banner .button-group {
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
}
.cookie-banner button {
  font-size: 1rem;
  min-width: 125px;
  padding: 12px 20px;
  margin: 0;
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  z-index: 999;
  background: rgba(21, 64, 107, 0.58);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s cubic-bezier(0.7,0,0.25,1);
}
.cookie-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  color: #15406B;
  padding: 38px 26px;
  border-radius: 19px;
  min-width: 320px;
  max-width: 425px;
  box-shadow: 0 7px 28px 0 #15406B31;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: fadeInUp 0.33s cubic-bezier(.49,1.59,.47,.92);
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(80px); }
  to   { opacity: 1; transform: translateY(0);   }
}
.cookie-modal h2 {
  font-size: 1.5rem;
  margin-bottom: 7px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  color: #15406B;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 15px;
  right: 23px;
  background: #F3BE3C;
  color: #15406B;
  border: none;
  border-radius: 100px;
  font-size: 1.5rem;
  width: 38px; height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px -3px #F3BE3C86;
  cursor: pointer;
  z-index: 25;
  transition: background 0.17s, color 0.15s;
}
.cookie-modal .cookie-modal-close:hover,
.cookie-modal .cookie-modal-close:focus {
  background: #15406B;
  color: #fff;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 0;
  font-size: 1.01rem;
}
.cookie-category .toggle {
  margin-left: 1.3em;
  accent-color: #F3BE3C;
}
.cookie-category .required {
  color: #14be5d;
  font-weight: 700;
  font-size: 0.98rem;
  font-style: italic;
}

.cookie-modal .button-group {
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
  margin-top: 14px;
}

/* --- LISTS / ULs --- */
ul {
  list-style-type: disc;
  margin-bottom: 15px;
  padding-left: 1.1em;
  color: #15406B;
  font-size: 1.01rem;
  line-height: 1.7;
  font-family: 'Roboto', Arial, sans-serif;
}
ul > li {
  margin-bottom: 8px;
}
/* More prominent checkmark if available for key lists (for index)—override in its own scope */
section ul {
  list-style-position: outside;
}
section ul li:before {
  content: '';
  display: none;
}

/* --- TABLES --- */
table {
  border-collapse: collapse;
  width: 100%;
  background: #fff;
}
th, td {
  border: 1px solid #F3BE3C66;
  padding: 11px 12px;
  font-size: 1rem;
}
th {
  background: #15406B;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  letter-spacing: 0.02em;
}

/* --- RESPONSIVE (MOBILE-FIRST) --- */
@media (max-width: 1200px) {
  .container { max-width: 94vw; padding-left: 8px; padding-right: 8px; }
  .section { padding: 35px 7px; }
}
@media (max-width: 900px) {
  h1 { font-size: 2.15rem; }
  h2 { font-size: 1.45rem; }
  h3 { font-size: 1.12rem; }
  .section { padding: 24px 0; }
  .testimonial-card { padding: 18px 10px; }
  .cookie-modal { max-width: 97vw; padding: 22px 5vw; }
}
@media (max-width: 768px) {
  header .container,
  .footer .container,
  .content-wrapper,
  .content-grid,
  .card-container,
  .text-image-section,
  .feature-list { flex-direction: column !important; gap: 20px; }

  header nav { display: none; }
  header .cta { display: none; }
  .mobile-menu-toggle { display: inline-flex; }

  .container { padding-left: 6px; padding-right: 6px; }

  .content-wrapper, .text-section { gap: 17px; }
  .section { margin-bottom: 34px; padding: 21px 2px; }
  main > section { border-radius: 11px; }

  .testimonial-card { padding: 13px 6px; }
  footer .content-wrapper { flex-direction: column; gap: 10px; }
  footer nav { flex-direction: column; gap: 8px; align-items: flex-start; }
}
@media (max-width: 540px) {
  h1 { font-size: 1.34rem; }
  h2 { font-size: 1.13rem; }
  .section { padding: 11px 0px; }
  .cookie-banner { flex-direction: column; align-items: flex-start; gap: 15px; padding: 18px 5vw; }
  .cookie-banner .button-group { gap: 8px; flex-wrap: wrap; }
}

/* Mobile nav breakpoint adjustments */
@media (max-width: 1000px) {
  header nav { display: none; }
  header .cta { display: none !important; }
  .mobile-menu-toggle { display: inline-flex !important; }
}

/* --- UTILITY & MICRO-ANIMATION CLASSES --- */
.fade-in {
  opacity: 0;
  animation: fadeIn 0.9s ease-in 0.11s forwards;
}
@keyframes fadeIn {
  from {opacity: 0;}
  to   {opacity: 1;}
}

/* --- VIBRANT ENERGETIC EXTRA STYLES --- */
.section, .card, .testimonial-card, .cta, button, .cookie-modal {
  /* Add drop shadows for energy */
  box-shadow: 0 6px 18px -8px #F3BE3C40, 0 1px 12px -5px #15406B18;
}
.cta, button, .button {
  /* Electric outline effect */
  outline: 2.7px solid transparent;
}
.cta:focus-visible, button:focus-visible {
  outline: 2.7px solid #F3BE3C;
  outline-offset: 3px;
}
.card {
  border-left: 6px solid #F3BE3C;
}

/* --- MISC & ACCESSIBILITY --- */
:focus {
  outline: 2px dashed #15406B;
  outline-offset: 4px;
}

/* Remove outline where not wanted, add strong visual cue on button focus */
.mobile-menu-toggle:focus, .mobile-menu-close:focus {
  outline: 3px solid #F3BE3C;
  outline-offset: 2px;
}

/* --- Z-INDEX STACK MANAGEMENT --- */
header { z-index: 100; }
.mobile-menu { z-index: 300; }
.mobile-menu-close { z-index: 501; }
.cookie-banner { z-index: 655; }
.cookie-modal-overlay { z-index: 999; }

/* --- CUSTOM SCROLLBAR --- */
::-webkit-scrollbar {
  width: 9px;
  background: #F0F4F8;
}
::-webkit-scrollbar-thumb {
  background: #F3BE3C;
  border-radius: 19px;
}

/* --- HIGH CONTRAST FOR TESTIMONIALS & REVIEWS --- */
.testimonial-card, .testimonial-footer, .content-wrapper strong, .testimonial-card blockquote {
  color: #15406B !important;
  background: #fff !important;
}

/* --- ENSURE MINIMUM CARD/SECTION SPACING --- */
.card, .testimonial-card, .feature-item {
  margin-bottom: 20px !important;
}
.section, .content-wrapper, .card-container, .content-grid, .text-image-section {
  gap: 20px !important;
}

/* --- PREVENT ABSOLUTE FOR CONTENT LAYOUTS--- */
/* Used only on decorative or close buttons as required, rest is flex! */

/* --- EXTRA: HIGHLIGHT ACCENT COLOR IN HEADERS --- */
h1, h2, h3, h4, h5, h6 {
  background-image: linear-gradient(90deg,#F3BE3C33 65%,transparent 100%);
  background-size: 100% 0.45em;
  background-repeat: no-repeat;
  background-position: left 85%;
}

/* --- END --- */
