/* ========================== */
/*    ViruleGest Style CSS    */
/*  Luxury Premium Aesthetic  */
/* ========================== */

/* 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.5;
  background: #FAFAFB;
  color: #23242A;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

img, svg {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s cubic-bezier(.3,1,.3,1);
}
ul, ol {
  list-style: none;
}
button {
  background: none;
  border: none;
  outline: none;
  padding: 0;
  font-family: inherit;
  cursor: pointer;
}
strong {
  font-weight: 600;
}

/* ============================ */
/*        COLORS & FONTS        */
/* ============================ */
:root {
  --color-primary: #184371;
  --color-secondary: #35A37C;
  --color-accent: #F0F4F8;
  --color-background: #FAFAFB;
  --color-heading: #23242A;
  --color-text: #23242A;
  --color-muted: #697089;
  --color-gold: #D4AF37;
  --color-white: #fff;
  --color-footer: #151C26;
  --color-error: #C04242;
  --shadow-card: 0 2px 24px 0 rgba(40,33,3, 0.08);
  --radius: 18px;

  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
}

body {
  font-family: var(--font-body);
  background: var(--color-background);
  color: var(--color-text);
  font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-heading);
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 18px;
}
h1 { font-size: 2.5rem; line-height: 1.1; margin-bottom: 22px; }
h2 { font-size: 2rem; line-height: 1.1; margin-bottom: 20px; }
h3 { font-size: 1.32rem; margin-bottom: 12px; }
h4, h5, h6 { font-weight: 600; }
p, ul, ol, dl {
  font-size: 1rem;
  margin-bottom: 15px;
}
a {
  color: var(--color-primary);
  transition: color 0.2s cubic-bezier(.31,1,.28,1);
}
a:hover {
  color: var(--color-gold);
}

/* Luxury accent line for headings */
h2::after {
  content: '';
  display: block;
  width: 36px;
  height: 3px;
  background: var(--color-gold);
  border-radius: 2px;
  margin-top: 10px;
}

/* =========================== */
/*          LAYOUT            */
/* =========================== */
.container {
  width: 100%;
  max-width: 1192px;
  margin: 0 auto;
  padding: 0 16px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.text-section {
  align-items: center;
  text-align: center;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 32px 24px;
  flex: 1 1 264px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow .25s cubic-bezier(.24,1,.12,1);
  border: 1.5px solid rgba(212,175,55, 0.15);
}
.card:hover {
  box-shadow: 0 8px 32px 0 rgba(212,175,55,.14);
  border-color: var(--color-gold);
  z-index: 2;
}

.card-content {
  display: flex; flex-direction: column; justify-content: center;
  gap: 10px;
}

.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: flex-start;
  gap: 20px;
  background: #fff;
  padding: 20px 28px 18px 28px;
  border-radius: 14px;
  margin-bottom: 20px;
  box-shadow: 0 1.5px 12px 0 rgba(30,33,46,0.07);
  border: 1.5px solid var(--color-gold);
  position: relative;
  transition: box-shadow .18s, border .2s;
  min-width: 0;
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px 0 rgba(212,175,55,.13);
  border-color: #c8b53d;
}
.testimonial-card strong {
  font-family: var(--font-display);
  font-size: 1.12rem;
  color: var(--color-primary);
}
.testimonial-card p {
  color: var(--color-heading);
  font-size: 1.02rem;
}
.testimonial-card span {
  color: var(--color-gold);
  font-size: 1.2rem;
  letter-spacing: 3px;
}

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

/* FAQ & DL Styles */
dl {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1.5px 12px 0 rgba(30,33,46,0.06);
  padding: 16px 26px 10px 24px;
  margin-bottom: 16px;
}
dt {
  margin: 18px 0 4px 0;
  font-weight: 600;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--color-primary);
}
dd {
  padding-left: 12px;
  font-size: 1rem;
  color: var(--color-muted);
  margin-bottom: 8px;
}

/* ======================= */
/*       NAVIGATION        */
/* ======================= */
header {
  background: var(--color-white);
  box-shadow: 0 1.5px 10px 0 rgba(30,33,46,0.03);
  z-index: 30;
}
header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 82px;
  padding: 0 4px;
  position: relative;
}
header img[alt="ViruleGest"] {
  width: 152px;
  max-width: 60vw;
  height: auto;
  margin-right: 18px;
  user-select: none;
}
header ul {
  display: flex;
  align-items: center;
  gap: 18px;
}
header ul li {
  margin: 0 0 0 0;
}
header ul li a {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--color-heading);
  font-weight: 500;
  padding: 8px 13px;
  border-radius: 8px;
  transition: background 0.17s, color 0.18s;
  position: relative;
}
header ul li a:hover,
header ul li a:focus {
  background: var(--color-accent);
  color: var(--color-gold);
}
header ul li .cta-primary {
  background: var(--color-primary);
  color: var(--color-gold);
  font-weight: 700;
  border-radius: 100px;
  box-shadow: 0 2px 16px 0 rgba(24,67,113,0.10);
  padding: 9px 24px;
  border: 2px solid var(--color-gold);
  letter-spacing: 0.016em;
  transition: background .2s, color .2s, box-shadow .2s, border .2s;
}
header ul li .cta-primary:hover {
  background: var(--color-gold);
  color: var(--color-primary);
  border-color: var(--color-primary);
  box-shadow: 0 4px 24px 0 rgba(24,67,113,0.14);
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  background: var(--color-primary);
  color: var(--color-gold);
  font-size: 2.15rem;
  border-radius: 9px;
  padding: 2px 10px 0 10px;
  margin-left: 16px;
  z-index: 50;
  transition: background 0.2s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--color-gold);
  color: var(--color-primary);
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(24,67,113, 0.97);
  color: var(--color-gold);
  z-index: 1100;
  transform: translateX(-120%);
  transition: transform 0.38s cubic-bezier(.22,.74,.4,1.02);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: 24px;
  will-change: transform;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  color: var(--color-gold);
  background: none;
  font-size: 2.2rem;
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 2000;
  border-radius: 100px;
  padding: 2px 14px;
  transition: background .13s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: rgba(255,255,255,.14);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  gap: 8px;
  margin-top: 80px;
}
.mobile-nav a {
  font-family: var(--font-display);
  color: var(--color-gold);
  font-size: 1.42rem;
  padding: 13px 32px;
  width: 100%;
  border-radius: 8px;
  margin-bottom: 0;
  transition: background 0.13s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: rgba(255,255,255,.08);
}

/* -------------------------- */
/* Responsive Nav Behaviors   */
@media (max-width: 1150px) {
  .container { max-width: 98vw; }
}
@media (max-width: 900px) {
  header ul {
    gap: 11px;
  }
  header img[alt="ViruleGest"] {
    width: 124px;
  }
}
@media (max-width: 900px) {
  header nav { flex-wrap: wrap; }
  .container { max-width: 99vw; }
}
@media (max-width: 768px) {
  header ul {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  header nav {
    min-height: 68px;
    gap: 10px;
  }
  .container {
    padding: 0 7px;
  }
}

/* =================== */
/*     BUTTONS         */
/* =================== */
.cta-primary {
  background: var(--color-primary);
  color: var(--color-gold);
  font-family: var(--font-display);
  font-weight: 700;
  border-radius: 36px;
  border: 2px solid var(--color-gold);
  padding: 11px 35px;
  font-size: 1.15rem;
  letter-spacing: 0.014em;
  box-shadow: 0 2px 14px 0 rgba(24,67,113,0.13);
  transition: background .18s, color .18s, border .18s, box-shadow .16s;
  display: inline-block;
  cursor: pointer;
}
.cta-primary:hover,
.cta-primary:focus {
  background: var(--color-gold);
  color: var(--color-primary);
  border-color: var(--color-primary);
  box-shadow: 0 4px 24px 0 rgba(24,67,113,0.14);
}
.cta-secondary {
  background: var(--color-gold);
  color: var(--color-primary);
  font-family: var(--font-display);
  font-weight: 700;
  border-radius: 36px;
  border: 2px solid var(--color-primary);
  padding: 11px 35px;
  font-size: 1.15rem;
  letter-spacing: 0.014em;
  box-shadow: 0 2px 14px 0 rgba(212,175,55,0.11);
  transition: background .18s, color .18s, border .18s, box-shadow .16s;
  cursor: pointer;
}
.cta-secondary:hover,
.cta-secondary:focus {
  background: var(--color-primary);
  color: var(--color-gold);
  border-color: var(--color-gold);
  box-shadow: 0 4px 24px 0 rgba(24,67,113,0.13);
}

/* ======================== */
/*      LISTS & ICONS       */
/* ======================== */
.content-wrapper > ul,
.content-wrapper > ol {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  align-items: stretch;
  margin-bottom: 24px;
}
.content-wrapper > ul > li,
.content-wrapper > ol > li {
  min-width: 170px;
  background: var(--color-accent);
  border-radius: 14px;
  box-shadow: 0 1.2px 6px 0 rgba(24,67,113,.04);
  padding: 24px 18px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1.5px solid rgba(212,175,55,.09);
  transition: box-shadow .17s, border .16s;
  gap: 14px;
}
.content-wrapper > ul > li:hover,
.content-wrapper > ol > li:hover {
  border-color: var(--color-gold);
  box-shadow: 0 6px 26px 0 rgba(212,175,55,0.07);
  z-index: 2;
}
.content-wrapper > ul > li img,
.content-wrapper > ol > li img {
  width: 46px;
  margin-bottom: 10px;
  margin-top: 9px;
}

/* ================================ */
/*        FOOTER                    */
/* ================================ */
footer {
  background: var(--color-footer);
  color: var(--color-gold);
  padding: 44px 0 24px 0;
  font-size: 1rem;
  margin-top: 70px;
}
footer .container {
  padding: 0 14px;
}
footer .content-wrapper {
  flex-direction: row;
  align-items: flex-start;
  gap: 24px;
  justify-content: space-between;
}
footer ul {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
footer ul li a {
  color: var(--color-gold);
  font-family: var(--font-display);
  font-size: 1rem;
  padding: 0 0 2px 0;
  transition: color .17s;
}
footer ul li a:hover,
footer ul li a:focus {
  color: var(--color-white);
  text-decoration: underline;
}
footer address {
  font-style: normal;
  color: #cab568;
  font-size: 0.97rem;
  margin-top: 4px;
  line-height: 1.75;
}
footer address a {
  color: var(--color-gold);
  text-decoration: underline;
}
footer address a:hover {
  color: var(--color-white);
}

/* ================================ */
/*      COOKIE CONSENT BANNER        */
/* ================================ */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-footer);
  color: var(--color-gold);
  box-shadow: 0 -2px 32px 0 rgba(24,67,113,.18);
  padding: 22px 18px 16px 18px;
  z-index: 4000;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  font-size: 1rem;
  border-radius: 16px 16px 0 0;
  animation: slideup-cook 0.73s cubic-bezier(.22,.74,.4,1.02);
}
@keyframes slideup-cook {
  from { transform: translateY(160px); opacity: 0; }
  to   { transform: translateY(0);   opacity: 1; }
}
.cookie-consent-banner-inner {
  flex: 1 1 250px;
}
.cookie-consent-buttons {
  display: flex; flex-wrap: wrap; gap: 10px;
}
.cookie-btn {
  font-family: var(--font-display);
  border-radius: 28px;
  font-size: 1rem;
  font-weight: 600;
  padding: 9px 24px;
  border: 2px solid var(--color-gold);
  background: var(--color-footer);
  color: var(--color-gold);
  transition: background .14s, color .15s, border .11s;
  margin-right: 2px;
  cursor: pointer;
}
.cookie-btn.accept {
  background: var(--color-gold);
  color: var(--color-footer);
  border-color: var(--color-gold);
}
.cookie-btn.accept:hover {
  background: var(--color-white);
  color: var(--color-footer);
  border-color: var(--color-gold);
}
.cookie-btn.reject {
  background: var(--color-footer);
  color: #b1b3c2;
  border-color: #a29151;
}
.cookie-btn.reject:hover {
  background: #382f15;
  color: #ffeebe;
}
.cookie-btn.settings {
  border: 2px solid var(--color-gold);
  background: var(--color-footer);
  color: var(--color-gold);
}
.cookie-btn.settings:hover {
  background: var(--color-gold);
  color: var(--color-footer);
}

/* ================ */
/*  Cookie Modal    */
/* ================ */
.cookie-modal-overlay {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(34,39,46, 0.60);
  z-index: 4100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: fadein-cook-modal 0.26s ease;
}
@keyframes fadein-cook-modal {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal {
  background: #16181e;
  color: var(--color-gold);
  padding: 36px 22px 22px 22px;
  border-radius: 21px;
  min-width: 280px;
  max-width: 97vw;
  box-shadow: 0 4px 24px 0 rgba(24,67,113,.37);
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: popin 0.34s cubic-bezier(.22,.74,.4,1.02);
  position: relative;
}
@keyframes popin {
  from {transform: scale(0.87); opacity: 0;}
  to   {transform: scale(1);   opacity: 1;}
}
.cookie-modal-close {
  color: var(--color-gold);
  background: none;
  font-size: 2rem;
  position: absolute;
  top: 10px;
  right: 22px;
  border-radius: 100px;
  padding: 2px 12px;
  border: none;
  transition: background .12s;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  background: rgba(255,255,255,0.14);
}
.cookie-pref-cat {
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.07rem;
}
.cookie-pref-cat input[type="checkbox"] {
  accent-color: var(--color-gold);
  width: 19px;
  height: 19px;
}
.cookie-pref-cat.essential label {
  color: #ece48d;
  font-weight: 700;
}
.cookie-pref-cat.essential input {
  display: none;
}

/* ============= */
/*   Animations  */
/* ============= */
a, button, .cta-primary, .cta-secondary, .card, .testimonial-card, .cookie-btn {
  transition: color .19s cubic-bezier(.4,1,.66,1),
    background .18s cubic-bezier(.4,1,.66,1),
    box-shadow .16s cubic-bezier(.4,1,.66,1),
    border .13s cubic-bezier(.4,1,.66,1);
}

/* ================ */
/*    MEDIA Q      */
/* ================ */
@media (max-width: 1060px) {
  .content-wrapper > ul,
  .content-wrapper > ol,
  .card-container,
  .content-grid {
    gap: 14px;
  }
}
@media (max-width: 900px) {
  .section {
    margin-bottom: 40px;
    padding: 28px 10px;
  }
  h1 { font-size: 2.05rem; }
  h2 { font-size: 1.5rem; }
}
@media (max-width: 820px) {
  .content-wrapper > ul,
  .content-wrapper > ol {
    flex-direction: column;
    gap: 12px;
  }
}
@media (max-width: 768px) {
  .content-grid,
  .card-container,
  .feature-item {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 22px;
    align-items: center;
  }
  .section {
    padding: 19px 4px;
  }
  .testimonial-card {
    min-width: 0;
    padding: 15px 10px;
  }
  .content-wrapper {
    padding: 0;
    gap: 10px;
  }
  .card {
    padding: 19px 10px;
  }
}
@media (max-width: 590px) {
  h1 { font-size: 1.46rem; }
  h2 { font-size: 1.18rem; }
  .footer .content-wrapper, 
  .footer address, 
  .footer ul {
    flex-direction: column;
    text-align: left;
    gap: 14px;
  }
  .cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
    padding: 15px 4px 10px 4px;
    font-size: 0.97rem;
  }
  .cookie-modal {
    min-width: 0;
    padding: 18px 3vw 11px 3vw;
  }
}

/* ================ */
/* Misc/Utility     */
/* ================ */
.muted { color: var(--color-muted); }
.bg-white { background: #fff; }
.rounded { border-radius: var(--radius); }
.shadow { box-shadow: var(--shadow-card); }

/* ================ */
/*  Accessibility   */
/* ================ */
:focus {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}

/* ==================== */
/*   End of Stylesheet  */
/* ==================== */
