/* ===========================================================
   Sgava Certa Detailing – Style.css
   Monochrome Sophisticated, Modern, Responsive (Mobile-first)
   Strictly Flexbox layout – No grid/columns
   Fonts: Oswald (Display), Montserrat (Body)
   Palette: #1a2a3a, #eaf6fa, #fff, #222, #333, #b5b5b8, #28bdbc
   =========================================================== */
/* ------------------------ CSS RESET ------------------------ */
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;
}
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after { box-sizing: inherit; }
body {
  background: #fff;
  color: #1a2a3a;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; transition: color 0.18s; }
ul, ol {
  list-style: none;
  padding-left: 0;
}
img {
  max-width: 100%;
  display: block;
  vertical-align: middle;
  border: none;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', 'Montserrat', Arial, sans-serif;
  color: #111;
  font-weight: 700;
  margin-bottom: 16px;
}
h1 { font-size: 2.1rem; line-height: 1.12; letter-spacing: -1px; }
h2 { font-size: 1.5rem; line-height: 1.18; }
h3 { font-size: 1.15rem; margin-bottom: 12px; }
h4, h5, h6 { font-size: 1.02rem; }
strong { font-weight: 700; }

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* ------------------------ HEADER ------------------------ */
header {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0;
  min-height: 72px;
  z-index: 20;
  position: relative;
}
.logo img {
  height: 48px;
  width: auto;
  display: block;
  margin: 0 24px;
}
header nav {
  display: flex;
  gap: 24px;
}
header nav a {
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #1a2a3a;
  letter-spacing: 0.3px;
  padding: 8px 4px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.19s, color 0.19s;
}
header nav a:hover, header nav a:focus {
  color: #28bdbc;
  border-bottom: 2px solid #28bdbc;
  outline: none;
}
.cta-btn {
  background: #1a2a3a;
  color: #fff;
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  border: none;
  padding: 12px 30px;
  margin-left: 24px;
  border-radius: 24px;
  box-shadow: 0 2px 12px rgba(26,42,58,0.13);
  cursor: pointer;
  transition: background 0.2s, color 0.18s, box-shadow 0.16s;
  outline: none;
  display: inline-block;
  position: relative;
}
.cta-btn:hover, .cta-btn:focus {
  background: #28bdbc;
  color: #1a2a3a;
  box-shadow: 0 4px 16px rgba(40,189,188,0.16);
}
.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 2.15rem;
  color: #1a2a3a;
  cursor: pointer;
  margin: 0 20px 0 18px;
  display: none;
  z-index: 30;
  line-height: 1;
  transition: color .15s;
}
.mobile-menu-toggle:focus {
  color: #28bdbc;
}

/* ------------------- MOBILE MENU ------------------- */
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #fff;
  z-index: 98;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.55,0,0.1,1);
  box-shadow: -8px 0 32px rgba(34,34,36,0.18);
  visibility: hidden;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.15rem;
  color: #1a2a3a;
  padding: 16px 0 4px 16px;
  cursor: pointer;
  align-self: flex-end;
  transition: color .18s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: #28bdbc;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 10vh 32px 32px 32px;
  align-items: flex-start;
}
.mobile-nav a {
  font-family: 'Oswald', sans-serif;
  font-size: 1.18rem;
  color: #1a2a3a;
  padding: 14px 0;
  width: 100%;
  border-bottom: 2px solid transparent;
  transition: border-color 0.19s, color 0.17s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  color: #28bdbc;
  border-bottom: 2px solid #28bdbc;
  outline: none;
}

/* ------------ HERO Section ---------------- */
.hero {
  background: #111;
  color: #fff;
  width: 100%;
  min-height: 340px;
  display: flex;
  align-items: center;
  margin-bottom: 60px;
  padding: 48px 0 18px 0;
}
.hero .container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-height: 220px;
  gap: 20px;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.hero h1 {
  color: #fff;
  font-size: 2.25rem;
  text-shadow: 0 4px 28px rgba(0,0,0,0.2);
  margin-bottom: 5px;
  line-height: 1.05;
}
.hero p {
  font-size: 1.15rem;
  color: #eaf6fa;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.08em;
}

/* ------------------------ SECTIONS ------------------------ */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 22px -8px rgba(20,24,35,.10);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 22px -8px rgba(20,24,35,.07);
  padding: 22px 20px 20px 20px;
  transition: box-shadow 0.24s, transform 0.21s;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 240px;
  flex: 1 1 240px;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 32px -4px rgba(26,42,58,0.13);
  transform: translateY(-2px) scale(1.015);
  z-index: 2;
}
.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;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border-radius: 14px;
  background: #eaf6fa;
  color: #111;
  font-size: 1.035rem;
  box-shadow: 0 2px 10px -4px rgba(40,189,188,0.08);
  margin-bottom: 24px;
  flex-direction: column;
}
.testimonial-card p {
  font-size: 1.05rem;
  color: #222;
  font-style: italic;
}
.testimonial-card span {
  font-size: 0.98rem;
  color: #1a2a3a;
  letter-spacing: 0.012em;
  margin-top: 4px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}
.service-card {
  background: #fcfcfc;
  border-radius: 14px;
  box-shadow: 0 2px 18px -8px rgba(26,42,58,.07);
  padding: 22px 20px;
  flex: 1 1 270px;
  min-width: 260px;
  margin-bottom: 20px;
  transition: box-shadow 0.22s, transform 0.18s;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.service-card:hover, .service-card:focus-within {
  box-shadow: 0 6px 26px -4px rgba(40,189,188,0.11);
  transform: translateY(-2.5px) scale(1.012);
  z-index: 2;
}

.text-section ul, .content-wrapper ul { margin-bottom: 8px; }
.content-wrapper ul li, .text-section ul li {
  position: relative;
  font-size: 1.02rem;
  line-height: 1.6;
  padding-left: 28px;
  margin-bottom: 11px;
}
.content-wrapper ul li strong,
.text-section ul li strong {
  font-family: 'Oswald', Arial, sans-serif;
  letter-spacing: 0.08em;
}
.content-wrapper ul li img,
.text-section ul li img {
  height: 22px; width: 22px; position: absolute; left: 0; top: 2px; margin-right: 9px;
  filter: grayscale(1) contrast(1.15);
}

.privacy-note {
  color: #888;
  font-size: 0.95rem;
  margin-top: 2px;
  font-style: italic;
}

/* ---------------------- TABLE ---------------------- */
table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  box-shadow: 0 2px 14px -8px rgba(26,42,58,0.06);
  border-radius: 9px;
  margin-bottom: 22px;
  overflow: hidden;
}
th, td {
  font-size: 1rem;
  padding: 15px 12px;
  text-align: left;
}
th {
  background: #1a2a3a;
  color: #fff;
  font-family: 'Oswald', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.06em;
  border: 0;
}
tbody tr:nth-child(even) { background: #f6f7f8; }
td {
  color: #212127;
  border-top: 1px solid #ededed;
}
table td:first-child,
table th:first-child {
  border-left: none;
}
table td:last-child,
table th:last-child {
  border-right: none;
}

/* --------------------- CONTACT CTA SECTION --------------------- */
.contact-cta {
  background: #f9fafb;
  box-shadow: 0 1px 8px -2px rgba(26,42,58,0.04);
  border-radius: 17px;
}
.contact-cta h2 { color: #1a2a3a; }
.contact-cta ul {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin: 22px 0 0 0;
}
.contact-cta ul li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-left: 0;
  font-size: 1.02rem;
}
.contact-cta ul li img { height: 22px; width: 22px; filter: grayscale(1); }
.contact-cta a {
  color: #28bdbc;
  border-bottom: 1.5px solid transparent;
  transition: border-color 0.18s, color .14s;
}
.contact-cta a:hover { border-bottom: 1.5px solid #28bdbc; color: #1a2a3a; }

/* ------------------------ FOOTER ------------------------ */
footer {
  background: #111;
  color: #eee;
  margin-top: 32px;
  padding: 0 0 10px 0;
  width: 100%;
}
footer .container {
  padding-top: 44px;
  padding-bottom: 13px;
}
.footer-top, .footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.footer-top nav, .footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-top a, .footer-bottom a {
  color: #eee;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.98rem;
  opacity: 0.84;
  letter-spacing: 0.01em;
  border-bottom: 2px solid transparent;
  transition: color .14s, border-color .18s, opacity .13s;
}
.footer-top a:hover, .footer-bottom a:hover {
  color: #28bdbc;
  opacity: 1;
  border-bottom: 2px solid #28bdbc;
}
footer .social {
  display: flex;
  gap: 18px;
}
footer .social a img {
  height: 26px;
  width: 26px;
  filter: grayscale(1) contrast(1.2) brightness(0.93);
  transition: filter .22s;
}
footer .social a:hover img {
  filter: none;
}
footer p {
  margin-top: 10px;
  text-align: center;
  color: #b5b5b8;
  font-size: 0.99rem;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 0;
}
footer .footer-bottom {
  border-top: 1px solid #1a2a3a;
  padding-top: 12px;
}
/* ------------------------ COOKIE BANNER ------------------------ */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #222;
  color: #fff;
  width: 100vw;
  z-index: 198;
  box-shadow: 0 -4px 24px -8px rgba(26,42,58,0.20);
  padding: 18px 15px 18px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.99rem;
  opacity: 1;
  transition: opacity 0.26s, transform 0.33s;
}
.cookie-banner.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(120%);
}
.cookie-banner-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.cookie-btn, .cookie-btn-accept, .cookie-btn-reject, .cookie-btn-settings {
  border: none;
  outline: none;
  border-radius: 22px;
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  padding: 9px 20px;
  background: #fff;
  color: #1a2a3a;
  box-shadow: 0 2px 8px -2px rgba(26,42,58,0.09);
  margin-top: 4px;
  transition: background 0.16s, color .14s;
}
.cookie-btn-accept {
  background: #28bdbc;
  color: #fff;
}
.cookie-btn-accept:hover { background: #20a1a1; }

.cookie-btn-reject {
  background: transparent;
  border: 2px solid #eee;
  color: #fff;
}
.cookie-btn-reject:hover, .cookie-btn-settings:hover {
  background: #1a2a3a;
}
.cookie-btn-settings {
  background: #fff;
  color: #1a2a3a;
}

/* ------------- COOKIE MODAL (PREFERENCES) ------------- */
.cookie-modal {
  position: fixed;
  z-index: 200;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(28,36,38,0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.37s;
}
.cookie-modal.hidden {
  pointer-events: none;
  opacity: 0;
}
.cookie-modal-content {
  background: #fff;
  color: #111;
  border-radius: 16px;
  box-shadow: 0 8px 48px -8px rgba(26,42,58,0.16);
  max-width: 490px;
  width: 93vw;
  padding: 36px 32px 30px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: modalIn .43s cubic-bezier(.55,0,.27,1);
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(55px) scale(.94); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.cookie-modal-header{
  font-family: 'Oswald', sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: #1a2a3a;
}
.cookie-modal-body{
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cookie-category label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #1a2a3a;
}
.cookie-category input[type=checkbox] {
  accent-color: #28bdbc;
  width: 21px;
  height: 21px;
}
.cookie-modal-actions {
  margin-top: 24px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.cookie-modal-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: #888;
  position: absolute;
  top: 18px;
  right: 22px;
  cursor: pointer;
  opacity: .8;
  transition: color .14s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus { color: #28bdbc; opacity: 1; }

/* ------------------------ BUTTONS ------------------------ */
button {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  background: none;
  border: none;
  cursor: pointer;
  outline: none;
  transition: background 0.17s, color 0.17s;
}
button:focus {
  outline: 2px dotted #28bdbc;
  outline-offset: 3px;
}

/* -------------------- FORM STYLES (Contact Sections) -------------------- */
input, textarea, select {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.02rem;
  background: #fafbfc;
  border: 1px solid #e5e7ea;
  border-radius: 8px;
  padding: 10px;
  width: 100%;
  margin-bottom: 17px;
  color: #222;
  transition: border-color 0.17s, box-shadow .12s;
  box-shadow: none;
}
input:focus, textarea:focus, select:focus {
  border-color: #28bdbc;
  box-shadow: 0 2px 16px -8px #28bdbc44;
  outline: none;
}

/* --------------------- MISCELLANEOUS --------------------- */
::-webkit-input-placeholder { color: #a5a8ad; }
::-moz-placeholder { color: #a5a8ad; }
:-ms-input-placeholder { color: #a5a8ad; }
::placeholder { color: #a5a8ad; }

hr {
  border: none;
  height: 1px;
  background: #eee;
  margin: 40px 0;
  width: 100%;
}

/* --------- SCROLLBAR FOR CHROME/FIREFOX --------- */
body::-webkit-scrollbar {
  width: 8px;
}
body::-webkit-scrollbar-thumb {
  background: #1a2a3a33;
  border-radius: 4px;
}

/* ----------------- TYPOGRAPHY SCALE ----------------- */
@media (min-width: 576px) {
  h1 { font-size: 2.7rem; }
  h2 { font-size: 2rem; }
}
@media (min-width: 900px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.14rem; }
}

/* ----------------- RESPONSIVE DESIGN ----------------- */
@media (max-width: 1060px) {
  .container {
    max-width: 98vw;
  }
  header nav {
    gap: 14px;
  }
}
@media (max-width: 850px) {
  header nav, .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 700px) {
  .content-grid, .card-container, .service-cards {
    flex-direction: column;
    gap: 20px;
  }
  .footer-top, .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}
@media (max-width: 600px) {
  section, .section {
    margin-bottom: 32px;
    padding: 25px 8px;
  }
  .contact-cta, .content-wrapper { padding: 0; }
  .testimonial-card {
    padding: 14px 11px;
  }
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .footer-top, .footer-bottom
    { flex-direction: column; align-items: flex-start; gap: 13px; }
  .container { padding-left: 9px; padding-right: 9px; }
  .footer-top nav, .footer-bottom nav { gap: 13px; }
}

@media (max-width: 420px) {
  h1 { font-size: 1.36rem; }
  h2 { font-size: 1.08rem; }
  .cta-btn { padding: 8px 14px; font-size: .98rem; }
  .hero { padding: 18px 0 10px 0; }
}

/* ------------------- MICRO-INTERACTIONS ------------------- */
a, .cta-btn, button, .service-card, .card {
  transition: box-shadow 0.18s, color 0.13s, border-color 0.19s, background 0.19s, transform 0.18s;
}
/* Focus ring */
a:focus, button:focus, .cta-btn:focus {
  outline: 2px dotted #28bdbc;
  outline-offset: 2px;
}

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