/* =======================================================
  RiacctoXit AutoMedia 'elegant_classic' CSS
  - Serif font stack, muted colors, refined spacing
  - Mobile-first, flexbox only, responsive
  Brand colors: #232B32 (primary), #A30202 (secondary), #F6F7F9 (accent)
  Fonts: Oswald (display), Roboto (body)
========================================================== */
/* ===== CSS RESET & BASE ===== */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
  background: #F6F7F9;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  background: #F6F7F9;
  color: #232B32;
  font-family: 'Roboto', 'Georgia', serif;
  font-size: 1rem;
  line-height: 1.6;
  min-height: 100vh;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  padding-left: 1.5em;
}
a {
  color: #A30202;
  text-decoration: none;
  transition: color 0.3s;
}
a:hover, a:focus {
  color: #232B32;
  text-decoration: underline;
}
strong {
  font-weight: 600;
}
em {
  font-style: italic;
}
/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', 'Georgia', serif;
  color: #232B32;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.15;
  margin-bottom: 16px;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.5rem; margin-bottom: 16px; }
h4 { font-size: 1.2rem; margin-bottom: 12px; }

/* ===== LAYOUT CONTAINERS & SECTIONS ===== */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 3px 20px 0 rgba(35,43,50,0.08);
  padding: 40px 24px;
  margin-bottom: 32px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(35,43,50,0.08);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 20px;
  min-width: 280px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(35,43,50,0.14);
  transform: translateY(-4px);
}
.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 {
  background: #F6F7F9;
  border: 1px solid #E0E1E3;
  border-radius: 12px;
  box-shadow: 0 3px 12px 0 rgba(35,43,50,0.06);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  color: #232B32;
}
.testimonial-card p {
  font-family: 'Georgia', serif;
  font-size: 1.1rem;
  margin-bottom: 6px;
  color: #232B32;
}
.testimonial-card strong {
  font-family: 'Oswald', 'Georgia', serif;
  font-size: 1rem;
  font-weight: 600;
  color: #A30202;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.text-section {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
/* ===== TYPOGRAPHY SCALE (classic proportion) ===== */
body, p, li {
  font-size: 1rem;
}
@media (min-width:600px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.1rem; }
  h3 { font-size: 1.35rem; }
}
@media (min-width:900px) {
  h1 { font-size: 3.4rem; }
  h2 { font-size: 2.4rem; }
  h3 { font-size: 1.5rem; }
  .content-wrapper {
    padding: 56px 44px;
  }
}

/* ===== HEADER/NAVIGATION ===== */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 12px 0 rgba(35,43,50,0.06);
  border-bottom: 1px solid #E0E1E3;
  position: sticky;
  top: 0;
  z-index: 1030;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
}
header nav {
  display: flex;
  gap: 20px;
}
header nav a {
  font-family: 'Oswald', 'Georgia', serif;
  font-size: 1rem;
  color: #232B32;
  position: relative;
  padding: 4px 8px;
  transition: color .2s;
}
header nav a:hover, header nav a:focus {
  color: #A30202;
}
header img {
  height: 44px;
}
.cta-btn {
  background-color: #A30202;
  color: #fff;
  font-family: 'Oswald', 'Georgia', serif;
  font-size: 1.08rem;
  padding: 10px 28px;
  border: none;
  border-radius: 28px;
  box-shadow: 0 2px 10px rgba(35,43,50,0.05);
  cursor: pointer;
  transition: background 0.18s, transform 0.2s;
  font-weight: 600;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background-color: #6a0202;
  transform: translateY(-2px) scale(1.03);
}

/* ===== MOBILE MENU ===== */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  right: 20px;
  top: 18px;
  z-index: 1051;
  background: #fff;
  color: #232B32;
  border: 1px solid #E0E1E3;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  cursor: pointer;
  box-shadow: 0 2px 7px rgba(35,43,50,0.09);
  transition: background .17s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #F6F7F9;
  color: #A30202;
  outline: none;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(35,43,50,0.97);
  z-index: 1055;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.68,-0.55,.27,1.55);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  will-change: transform;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  margin: 26px 0 26px 20px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 2.4rem;
  cursor: pointer;
  align-self: flex-start;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 22px;
  padding: 0 36px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Oswald', serif;
  font-size: 1.4rem;
  padding: 12px 6px;
  border-radius: 10px;
  margin-left: 2px;
  transition: background 0.18s, color .2s;
  display: block;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: #A30202;
  color: #fff;
}
@media (min-width: 992px) {
  .mobile-menu-toggle { display: none; }
  .mobile-menu { display: none; }
}
@media (max-width: 991px) {
  header nav, .cta-btn { display: none !important; }
}

/* ===== MAIN & FLEX ADJUSTMENTS ===== */
main {
  width: 100%;
  padding-bottom: 32px;
}
@media (min-width:769px) {
  .section {
    padding: 60px 0;
    margin-bottom: 80px;
  }
  .content-wrapper { margin-bottom: 48px; }
}
@media (max-width:768px) {
  .text-image-section {
    flex-direction: column !important;
    align-items: flex-start;
    gap: 20px;
  }
  .container {
    padding: 0 8px;
  }
  .content-wrapper {
    padding: 24px 8px;
  }
}

/* ===== TABLES ===== */
.price-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0 28px 0;
  font-size: 1rem;
}
.price-table th, .price-table td {
  border: 1px solid #e5e6ea;
  padding: 14px 12px;
  text-align: left;
}
.price-table th {
  background: #F6F7F9;
  font-family: 'Oswald', serif;
  color: #232B32;
  font-size: 1.12rem;
}
.price-table tr:nth-child(even) td {
  background: #fbfbfc;
}

/* ===== FOOTER ===== */
footer {
  width: 100%;
  background: #232B32;
  color: #fff;
  padding: 34px 0 20px 0;
  margin-top: 40px;
  border-top: 2px solid #A30202;
}
footer .container {
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 0 20px;
}
footer img {
  height: 36px;
  margin-bottom: 10px;
}
footer nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 8px;
}
footer nav a {
  color: #ccc;
  font-size: 0.98rem;
  font-family: 'Oswald', serif;
  transition: color 0.22s;
}
footer nav a:hover, footer nav a:focus {
  color: #fff;
}
.contact-footer {
  font-family: 'Roboto', serif;
  font-size: 0.98rem;
  color: #EEE;
  text-align: center;
  margin-bottom: 12px;
}
footer div:last-child {
  opacity: 0.92;
  font-size: 0.95rem;
  color: #BBB;
}

/* ===== BUTTONS, FORMS, LINK EFFECTS ===== */
button {
  font-family: inherit;
  outline: none;
}
::-webkit-input-placeholder { color: #999; }
::-moz-placeholder { color: #999; }
:-ms-input-placeholder { color: #999; }
::placeholder { color: #999; }

/* ===== CARD & ICON LIST LAYOUTS ===== */
.text-section ul, .content-wrapper ul {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 12px;
}
.text-section ul li, .content-wrapper ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.03rem;
  line-height: 1.45;
}
.text-section ul li img, .content-wrapper ul li img {
  height: 28px;
  width: 28px;
}
.text-section h3 {
  font-size: 1.17rem;
  color: #232B32;
  margin-top: 16px;
}

/* ===== Animations ===== */
.cta-btn,
.header nav a,
.card,
.testimonial-card,
.mobile-menu,
.mobile-menu-toggle,
.button,
.cookie-banner,
.cookie-modal {
  transition: all 0.18s cubic-bezier(.33,.77,.48,.96);
}
.card, .testimonial-card {
  transition: box-shadow .2s, transform .18s;
}
.card:hover, .testimonial-card:hover {
  box-shadow: 0 8px 32px rgba(35,43,50,0.14);
  transform: translateY(-2px) scale(1.01);
}

/* ===== Cookie Consent Banner & Modal ===== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  color: #232B32;
  box-shadow: 0 -3px 24px rgba(35,43,50,0.12);
  border-top: 1px solid #E0E1E3;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  gap: 26px;
  font-family: 'Roboto', serif;
  font-size: 1rem;
  animation: cookie-fadein 0.6s;
}
@keyframes cookie-fadein {
  0% { opacity: 0; transform: translateY(60px); }
  100% { opacity: 1; transform: translateY(0); }
}
.cookie-banner button {
  margin-left: 12px;
  font-size: 1rem;
  border-radius: 22px;
  border: none;
  padding: 8px 22px;
  background: #F6F7F9;
  color: #232B32;
  font-family: 'Oswald', 'Georgia', serif;
  font-weight: 600;
  box-shadow: 0 1px 5px rgba(35,43,50,0.05);
  cursor: pointer;
  transition: background .18s, color .18s;
}
.cookie-banner .accept {
  background: #A30202;
  color: #fff;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #6a0202;
  color: #fff;
}
.cookie-banner .reject {
  background: #efecec;
  color: #232B32;
}
.cookie-banner .settings {
  background: #F6F7F9;
  color: #A30202;
  border: 1px solid #A30202;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: #A30202;
  color: #fff;
}
/* Modal Overlay */
.cookie-modal-backdrop {
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(35,43,50,0.50);
  z-index: 1300;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.cookie-modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  color: #232B32;
  border-radius: 14px;
  box-shadow: 0 8px 40px 0 rgba(35,43,50,0.26);
  min-width: 92vw;
  max-width: 430px;
  padding: 34px 32px 24px 32px;
  position: relative;
  z-index: 1310;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: cookie-modal-slide 0.36s cubic-bezier(.33,.77,.48,.96);
}
@keyframes cookie-modal-slide {
  0% { opacity: 0; transform: scale(0.98) translateY(76px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
.cookie-modal h2 {
  margin-bottom: 7px;
  font-size: 1.2rem;
  color: #A30202;
  font-family: 'Oswald', serif;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 16px; right: 20px;
  background: none;
  border: none;
  font-size: 1.7rem;
  color: #A30202;
  cursor: pointer;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 1rem;
}
.cookie-category label {
  font-family: 'Roboto', serif;
  cursor: pointer;
}
.cookie-category input[type="checkbox"] {
  accent-color: #A30202;
  margin-right: 6px;
}
/* Essential always on, fake disabled appearance */
.cookie-category.essential label {
  font-weight: 600;
  opacity: 0.72;
}
.cookie-category.essential input[type="checkbox"] {
  accent-color: #232B32;
  cursor: not-allowed;
}
.cookie-modal-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 8px;
}
.cookie-modal-buttons button {
  min-width: 100px;
  border-radius: 22px;
  padding: 8px 22px;
  border: none;
  font-family: 'Oswald', serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s, color .18s;
}
.cookie-modal-buttons .accept {
  background: #A30202;
  color: #fff;
}
.cookie-modal-buttons .accept:hover, .cookie-modal-buttons .accept:focus {
  background: #6a0202;
}
.cookie-modal-buttons .reject {
  background: #E9EAED;
  color: #232B32;
}

/* ===== ACCESSIBILITY ===== */
a, button {
  outline: none;
}
a:focus-visible, button:focus-visible {
  outline: 2px solid #A30202;
  outline-offset: 2px;
}

/* ===== UTILS ===== */
.hidden { display: none !important; }

/* ===== RESPONSIVE LAYOUTS ===== */
@media (max-width: 768px) {
  .container { padding: 0 6px; }
  .content-wrapper {
    padding: 16px 4px;
    margin-bottom: 18px;
    border-radius: 10px;
  }
  h1 { font-size: 1.85rem; }
  h2 { font-size: 1.33rem; }
  h3 { font-size: 1.12rem; }
  .section {
    margin-bottom: 38px;
    padding: 22px 0px 10px 0px;
  }
}
@media (max-width: 500px) {
  .content-wrapper { padding: 12px 1px; }
  .testimonial-card { padding: 14px; font-size: 1rem; }
  .mobile-menu-close { margin-left: 10px; }
  .cookie-modal { padding: 18px 6px 8px 12px; }
}

/* ===== COLORS FOR ACCESSIBILITY IN TESTIMONIALS ETC. ===== */
.testimonial-card, .testimonial-card p, .testimonial-card strong {
  color: #232B32;
  background: #F6F7F9;
  border-color: #E0E1E3;
}

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