/* ==== SOFT PASTEL FLEXBOX CSS for CoediMetag Autoservice ==== */

/* === 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,
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, main, 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;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  min-height: 100%;
}
body {
  line-height: 1.6;
  background-color: #FCFCFA;
  color: #24405d;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}
ul, ol { list-style: none; }
a { text-decoration: none; color: inherit; transition: color 0.2s; }
img { max-width: 100%; display: block; border: 0; }
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
  box-sizing: border-box;
  padding: 0;
}

/* ==== SOFT PASTEL VARIABLES (WITH FALLBACKS) ==== */
:root {
  --pastel-blue: #E5EEFB;
  --pastel-yellow: #FFF8D8;
  --pastel-green: #E8F8E2;
  --pastel-lilac: #F4F0FF;
  --pastel-pink: #FEEFF7;
  --pastel-grey: #F7F8FC;
  --brand-primary: #193255;
  --brand-secondary: #F4B400;
  --brand-accent: #EFEFEF;
  --box-shadow: 0 2px 24px 0 rgba(60, 56, 88, 0.05);
  --border-radius: 20px;
}

/* ==== TYPOGRAPHY ==== */
h1 {
  font-family: 'Oswald', 'Roboto', Arial, sans-serif;
  color: var(--brand-primary);
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
}
h2 {
  font-family: 'Oswald', 'Roboto', Arial, sans-serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--brand-primary);
  margin-bottom: 20px;
}
h3 {
  font-family: 'Oswald', 'Roboto', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--brand-primary);
  margin-bottom: 10px;
}
h4, h5, h6 {
  font-family: 'Oswald', 'Roboto', Arial, sans-serif;
  color: var(--brand-primary);
}
p, li {
  font-family: 'Roboto', Arial, sans-serif;
  color: #355479;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 14px;
}
strong {
  color: var(--brand-primary);
}

/* ==== CONTAINER & LAYOUT ==== */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}
.section, main section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--pastel-grey);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}
main section.cta,
.cta {
  margin-bottom: 0;
  background: var(--pastel-yellow);
  box-shadow: var(--box-shadow);
}


/* ==== FLEX LAYOUT COMPONENTS ==== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--pastel-blue);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 28px 24px;
  transition: box-shadow 0.15s;
}
.card:hover {
  box-shadow: 0 8px 32px 0 rgba(60,56,88,0.10);
}
.content-grid, .service-list, .feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 20px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--pastel-lilac);
  border-radius: 18px;
  margin-bottom: 20px;
  box-shadow: var(--box-shadow);
  font-size: 1.1rem;
  color: #28324A;
  line-height: 1.6;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--pastel-green);
  padding: 26px 22px;
  border-radius: 18px;
  flex: 1 1 240px;
  min-width: 220px;
  box-shadow: var(--box-shadow);
  transition: transform 0.18s, box-shadow 0.18s;
}
.feature-item img {
  width: 48px;
  height: 48px;
  margin-bottom: 8px;
}
.feature-item:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 8px 24px 0 rgba(60,56,88,0.10);
}

.service-item {
  background: var(--pastel-blue);
  border-radius: 16px;
  box-shadow: var(--box-shadow);
  padding: 26px 20px;
  flex: 1 1 245px;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  transition: transform 0.18s, box-shadow 0.18s;
  margin-bottom: 20px;
}
.service-item img {
  width: 44px;
  height: 44px;
  margin-bottom: 6px;
}
.service-item:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 6px 20px 0 rgba(60,56,88,0.12);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
  margin-top: 16px;
}

.pricing-table {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  background: var(--pastel-green);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  margin-bottom: 32px;
  padding: 28px 18px;
}
.pricing-table > div {
  flex: 1 1 260px;
  min-width: 220px;
  background: var(--pastel-blue);
  border-radius: 14px;
  margin-right: 0;
  padding: 20px 16px;
  box-shadow: 0 1px 12px rgba(60,56,88,0.06);
}
.pricing-table ul li {
  margin-bottom: 8px;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 22px;
}
.faq-question {
  padding: 17px 18px;
  background: var(--pastel-pink);
  color: var(--brand-primary);
  border-radius: 14px;
  cursor: pointer;
  box-shadow: var(--box-shadow);
  font-weight: 500;
  transition: background 0.16s;
}
.faq-question:hover {
  background: #FBD9EB;
}
.faq-answer {
  margin-left: 18px;
  margin-bottom: 4px;
  color: #3a436a;
  font-size: 0.98rem;
}

.review-highlights, .average-star-rating, .star-rating-summary {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 15px 0 10px 0;
  font-size: 1.05rem;
  color: var(--brand-primary);
  background: var(--pastel-yellow);
  border-radius: 12px;
  padding: 12px 16px;
  box-shadow: var(--box-shadow);
  min-height: 48px;
  font-weight: 500;
}

/* Cards spacing and overlapping prevention */
.section > .container, .content-wrapper, .feature-grid, .service-list, .card-container {
  margin-bottom: 0;
  gap: 24px;
}

/* ==== HERO SECTION ==== */
.hero {
  background: linear-gradient(120deg, var(--pastel-blue), var(--pastel-yellow) 90%);
  padding: 56px 0 56px 0;
  border-radius: 0 0 32px 32px;
  margin-bottom: 60px;
  box-shadow: 0 4px 24px 0 rgba(60,56,88,0.05);
}
.hero .container {
  align-items: center;
}
.hero .content-wrapper {
  max-width: 640px;
  margin: 0 auto;
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.hero h1 {
  margin-bottom: 12px;
  font-size: 2.2rem;
}
.hero p {
  font-size: 1.15rem;
  margin-bottom: 18px;
}

/* ==== BUTTONS ==== */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 32px;
  font-family: 'Oswald', 'Roboto', Arial, sans-serif;
  font-size: 1.17rem;
  padding: 13px 32px;
  min-width: 160px;
  font-weight: 600;
  background: var(--pastel-pink);
  color: var(--brand-primary);
  box-shadow: 0 2px 8px #e4c8de60;
  border: 2px solid var(--pastel-pink);
  cursor: pointer;
  margin-top: 8px;
  margin-bottom: 8px;
  transition: background 0.18s, box-shadow 0.18s, color 0.18s;
  outline: none;
}
.button.primary {
  background: var(--brand-secondary);
  color: var(--brand-primary);
  border: 2px solid var(--brand-secondary);
  box-shadow: 0 2px 12px #ffed95a0;
}
.button:hover, .button:focus {
  background: #ffeac8;
  color: #213052;
  border-color: #ffeac8;
  box-shadow: 0 4px 16px #e4c8de65;
}
.button.primary:hover, .button.primary:focus {
  background: #fad770;
  color: var(--brand-primary);
  border-color: #fad770;
}

/* ==== HEADER & NAVIGATION ==== */
header {
  background: var(--pastel-blue);
  box-shadow: 0 3px 20px 0 rgba(60,56,88,0.05);
  border-bottom-left-radius: 18px;
  border-bottom-right-radius: 18px;
  position: relative;
  z-index: 1040;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 20px 16px;
  gap: 0;
}
header img {
  max-height: 52px;
}
header nav {
  display: flex;
  gap: 22px;
  align-items: center;
}
header nav a {
  font-family: 'Oswald', 'Roboto', Arial, sans-serif;
  color: var(--brand-primary);
  font-size: 1.1rem;
  padding: 9px 14px;
  border-radius: 16px;
  transition: background 0.14s, color 0.14s;
}
header nav a:hover,
header nav a:focus,
header nav a.active {
  background: var(--pastel-pink);
  color: #a94486;
}
header .button.primary {
  margin-left: 20px;
}
.mobile-menu-toggle {
  display: none;
}

/* ==== FOOTER ==== */
footer {
  background: var(--pastel-blue);
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  margin-top: 60px;
  box-shadow: 0 -2px 16px #e5eaf650;
  font-size: 1rem;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 36px;
  padding: 40px 16px 32px 16px;
}
footer nav {
  display: flex;
  gap: 16px;
  flex-direction: column;
  min-width: 160px;
}
footer nav a {
  color: var(--brand-primary);
  opacity: 0.85;
  padding: 4px 0;
  transition: color 0.13s;
  font-family: 'Oswald', 'Roboto', Arial, sans-serif;
}
footer nav a:hover { color: #f18db3; }
.contact-footer {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #53709a;
}
.contact-footer img {
  height: 20px;
  width: 20px;
  margin-right: 8px;
}
.contact-footer p {
  display: flex;
  align-items: center;
  font-size: 1rem;
}

/* ==== FAQ CONTACT CTA ==== */
.contact-cta {
  background: var(--pastel-pink);
  border-radius: 14px;
  padding: 18px 18px;
  box-shadow: var(--box-shadow);
  margin-top: 24px;
  font-size: 1rem;
}
.contact-cta a { color: var(--brand-primary); text-decoration: underline; }

/* ==== TEXT-SECTION ==== */
.text-section {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.text-section ul, .text-section ol {
  list-style: disc inside;
  margin-bottom: 12px;
  margin-left: 0;
}
.text-section ul li {
  margin-bottom: 8px;
  font-size: 1rem;
}
.text-section h3 {
  margin: 16px 0 7px 0;
}

/* ==== THANK YOU SECTION ==== */
.thank-you {
  background: linear-gradient(120deg, var(--pastel-blue), var(--pastel-yellow) 120%);
  padding: 46px 0 46px 0;
  border-radius: 0 0 28px 28px;
  margin-bottom: 80px;
}

/* ==== PRICING TIPS BOX ==== */
.pricing-tips {
  background: var(--pastel-pink);
  border-radius: 14px;
  box-shadow: var(--box-shadow);
  padding: 12px 14px;
  margin-top: 14px;
  margin-bottom: 14px;
  font-size: 1rem;
  color: #805478;
}

/* ==== MOBILE MENU ==== */
.mobile-menu-toggle {
  background: var(--brand-secondary);
  color: var(--brand-primary);
  display: none;
  position: absolute;
  right: 22px;
  top: 25px;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  z-index: 1101;
  font-size: 2rem;
  align-items: center;
  justify-content: center;
  transition: background 0.14s;
  border: none;
  cursor: pointer;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus { background: #fad770; color: #193255; }
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(250,250,250,0.92);
  box-shadow: 0 6px 50px rgba(33,48,82,0.08);
  z-index: 3000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-100vw);
  transition: transform 0.32s cubic-bezier(0.22,0.61,0.36,1), opacity 0.18s;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  margin: 28px 0 0 24px;
  font-size: 2.1rem;
  background: var(--brand-primary);
  color: white;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  border: none;
  align-items: center;
  justify-content: center;
  display: flex;
  cursor: pointer;
  z-index: 4000;
}
.mobile-nav {
  display: flex !important;
  flex-direction: column;
  gap: 22px;
  margin: 42px 0 0 40px;
}
.mobile-nav a {
  font-family: 'Oswald', 'Roboto', Arial, sans-serif;
  font-size: 1.3rem;
  color: var(--brand-primary);
  letter-spacing: 1px;
  padding: 13px 0;
  border-radius: 14px;
  min-width: 180px;
  transition: background 0.13s, color 0.13s;
}
.mobile-nav a:hover,
.mobile-nav a:focus { background: #f7e1ef; color: #ad3498; }

@media (max-width: 1024px) {
  .container { max-width: 95vw; padding: 0 8px; }
  .footer .container {
    flex-direction: column;
    gap: 20px;
  }
}
@media (max-width: 900px) {
  .feature-grid, .service-list, .content-grid, .pricing-table {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  .feature-item, .service-item, .pricing-table > div { min-width: 160px; flex: 1 1 180px; }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.35rem; }
  .section, main section { padding: 24px 8px; }
  .hero { padding: 38px 0; border-radius: 0 0 20px 20px; }
  .thank-you { padding: 34px 0; border-radius: 0 0 18px 18px; }
  .feature-grid, .content-grid, .service-list, .pricing-table {
    flex-direction: column;
    gap: 16px;
  }
  .card, .feature-item, .service-item, .pricing-table > div {
    min-width: 90%;
    width: 100%;
    padding: 16px 12px;
  }
  .testimonial-card { font-size: 1rem; padding: 15px; }
  .footer .container, footer .container { flex-direction: column; gap: 18px; align-items: flex-start; padding: 24px 8px 18px 8px; }
  .contact-footer { font-size: 0.98rem; }
  .cta-row { flex-direction: column; gap: 12px; }
  .header .container, header .container { gap: 0; }
}
@media (max-width: 700px) {
  header nav { display: none !important; }
  .mobile-menu-toggle { display: flex; }
  .button.primary { margin-left: 0; }
  .hero .content-wrapper { max-width: 95vw; }
}
@media (max-width: 540px) {
  .section, main section { margin-bottom: 40px; padding: 14px 3px; border-radius: 8px; }
  .hero, .thank-you { padding: 18px 0; border-radius: 0 0 6px 6px; }
  h1 { font-size: 1.28rem; margin-bottom: 10px; }
  h2 { font-size: 1.03rem; margin-bottom: 7px; }
  .button, .button.primary { font-size: 0.97rem; padding: 9px 18px; }
  .star-rating-summary, .review-highlights, .average-star-rating { font-size: 0.95rem; }
}

/* ==== TRANSITIONS ==== */
* {
  transition: background 0.18s, box-shadow 0.17s, color 0.17s, border-color 0.13s;
}

/* ==== COOKIE CONSENT BANNER & MODAL ==== */
.cookie-consent-banner {
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: 18px;
  z-index: 5000;
  background: var(--pastel-lilac);
  box-shadow: 0 2px 24px rgba(94,69,105,0.14);
  border-radius: 20px;
  padding: 22px 24px 22px 18px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  justify-content: space-between;
  font-size: 1rem;
  color: var(--brand-primary);
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.23s, transform 0.23s;
}
.cookie-consent-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(40px);
}
.cookie-consent-banner p {
  margin: 0;
  font-size: 1rem;
  color: var(--brand-primary);
  flex: 1 1 320px;
}
.cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 12px;
}
.cookie-buttons .button {
  background: var(--brand-secondary);
  color: var(--brand-primary);
  padding: 6px 16px;
  font-size: 1rem;
  min-width: 120px;
  border-radius: 16px;
  border: 2px solid var(--brand-secondary);
}
.cookie-buttons .button:hover,
.cookie-buttons .button:focus {
  background: #fad770;
  color: var(--brand-primary);
}
.cookie-settings-btn {
  background: var(--pastel-lilac);
  color: var(--brand-primary);
  border: 2px solid #e5daff;
}
.cookie-settings-btn:hover, .cookie-settings-btn:focus {
  background: #d8c0f7;
  border-color: #bfa3e4;
  color: #2d2465;
}

/* Cookie Modal Popup */
.cookie-modal-overlay {
  position: fixed;
  left: 0; right: 0;
  top: 0; bottom: 0;
  background: rgba(80,52,132,0.10);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: all;
  transition: opacity 0.18s;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: var(--pastel-blue);
  border-radius: 18px;
  box-shadow: 0 8px 44px 0 rgba(94,69,105,0.14);
  max-width: 420px;
  min-width: 90vw;
  padding: 32px 22px 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: stretch;
}
@media(min-width: 530px) {
  .cookie-modal { min-width: 420px; }
}
.cookie-modal h2 { font-size: 1.3rem; margin: 0 0 8px 0; }
.cookie-modal label {
  display: flex;
  align-items: center;
  font-size: 1rem;
  gap: 10px;
}
.cookie-modal .modal-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 14px;
}
.cookie-modal input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--brand-secondary);
  margin-right: 6px;
}
.cookie-modal .cookie-category-essential {
  color: #a1a1a1;
  font-style: italic;
  font-size: 0.93rem;
  margin-left: 4px;
}
.cookie-modal .button { min-width: 100px; }
.cookie-modal .cookie-modal-close {
  background: none;
  color: #b061aa;
  border: none;
  font-size: 1.6rem;
  position: absolute;
  right: 22px;
  top: 20px;
  cursor: pointer;
}

/* ==== SCROLLBAR (pastel) ==== */
::-webkit-scrollbar {
  width: 13px;
  background: #f5f8fa;
}
::-webkit-scrollbar-thumb {
  background: #E5DAFF;
  border-radius: 9px;
  border: 3px solid #f5f8fa;
}
/* ==== MISC/UTIL ==== */
a { outline: none; }
a:active { outline: var(--brand-secondary); }

/* ==== VISUAL ENHANCEMENTS ==== */
.box-shadow-soft {
  box-shadow: 0 2px 24px 0 rgba(60, 56, 88, 0.05) !important;
}
.border-radius-soft { border-radius: var(--border-radius) !important; }

/* ========== END Soft Pastel Flexbox CSS ========== */
