/* CARTO site.css — общие layout-классы поверх styleguide.css и homepage.css */

a { text-decoration: none; color: inherit; }
.car-card { text-decoration: none; color: inherit; }
.car-card:hover .car-card-title { color: var(--voltage); }
.logo, .logo:visited { text-decoration: none; }
.site-header .logo, .site-header .logo:hover { text-decoration: none; color: var(--midnight); }
.site-nav a { text-decoration: none; }

.crumbs { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--grey); padding: 24px 0 16px; }
.crumbs a { color: var(--grey); text-decoration: none; }
.crumbs a:hover { color: var(--midnight); }
.crumbs .sep { color: var(--stone); }

.cars-grid-3 { grid-template-columns: repeat(3, 1fr) !important; gap: 24px !important; }

.t-price-m { font-family: 'Inter'; font-weight: 700; font-size: 22px; line-height: 28px; letter-spacing: -0.01em; color: var(--midnight); font-feature-settings: 'tnum' 1; }

.center-cta { display: flex; justify-content: center; margin-top: 48px; }

/* Step cards used on home */
.step-card { color: rgba(255,255,255,0.85); }
.step-card .step-num { font-family: 'Manrope'; font-weight: 800; font-size: 32px; color: var(--voltage); margin-bottom: 16px; letter-spacing: -0.02em; }
.step-card h3 { font-family: 'Manrope'; font-weight: 700; font-size: 22px; color: var(--snow); margin: 0 0 12px; letter-spacing: -0.01em; }
.step-card p { font-size: 15px; line-height: 24px; color: rgba(255,255,255,0.65); margin: 0; }

/* fav-btn placeholder used in car-card */
.car-card-img .fav-btn {
  position: absolute; top: 12px; right: 12px;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.92); border: 0; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}

/* SEO text block — used at the bottom of catalog and other listing pages */
.seo-text { max-width: 880px; margin: 80px auto 96px; padding: 0 24px; font-family: 'Inter'; }
.seo-text h2 { font-family: 'Manrope'; font-weight: 700; font-size: 28px; line-height: 36px; color: var(--midnight); margin: 0 0 16px; letter-spacing: -0.01em; }
.seo-text h3 { font-family: 'Manrope'; font-weight: 600; font-size: 20px; color: var(--midnight); margin: 32px 0 12px; }
.seo-text p { font-size: 16px; line-height: 26px; color: var(--graphite); margin: 0 0 16px; }
.seo-text ul { padding-left: 22px; margin: 16px 0 24px; }
.seo-text li { font-size: 16px; line-height: 26px; color: var(--graphite); margin-bottom: 8px; }

/* details/summary FAQ accordion */
.faq-item {
  border: 1px solid var(--stone); border-radius: 12px;
  padding: 0; margin-bottom: 12px; background: var(--snow);
}
.faq-item summary {
  cursor: pointer; padding: 20px 24px; font-family: 'Manrope'; font-weight: 600;
  font-size: 17px; color: var(--midnight); list-style: none;
  display: flex; align-items: center; justify-content: space-between;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 24px; color: var(--grey); font-weight: 400; }
.faq-item[open] summary::after { content: '−'; }
.faq-item p { padding: 0 24px 20px; margin: 0; color: var(--graphite); font-size: 15px; line-height: 24px; }

/* Footer — scoped overrides, building on existing site-footer */
.site-footer { background: var(--midnight); color: rgba(255,255,255,0.78); padding: 80px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.site-footer h4 { font-family: 'Manrope'; font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.5); margin: 0 0 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.site-footer a { color: rgba(255,255,255,0.78); text-decoration: none; font-size: 14px; }
.site-footer a:hover { color: var(--voltage); }
.logo-light .logo-text { color: var(--snow); }
.footer-tagline { font-size: 14px; line-height: 22px; color: rgba(255,255,255,0.6); margin-top: 16px; max-width: 280px; }
.footer-bottom {
  max-width: 1280px; margin: 64px auto 0; padding: 24px 24px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between;
  font-size: 13px; color: rgba(255,255,255,0.4);
}
.footer-bottom a { color: rgba(255,255,255,0.55); }
.footer-bottom a:hover { color: var(--voltage); }
