/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/


@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}

/* WebAuto Reference Brand Colors */
.wg-ref-page {
  --wg-ref-primary: #003388;
  --wg-ref-secondary: #7a00df;
}
/* WebAuto Design Blueprint */
.wg-ref-page {
  --wg-ref-primary: #003388;
  --wg-ref-secondary: #7a00df;
  --wg-ref-bg: #ffffff;
  --wg-ref-text: #0f172a;
  --wg-ref-radius: 10px;
}
.wg-ref-page { background: #ffffff; color: #0f172a; font-family: fl-icons; }
.wg-ref-section { padding-top: 48px; padding-bottom: 48px; }
.wg-ref-page .wg-ref-btn, .wg-ref-page .wg-ref-cta { border-radius: 10px; }
.wg-ref-page { font-size: 35px; }
.wg-ref-page h2, .wg-ref-page .wg-ref-h2 { font-size: 36px; }
.wg-ref-section[data-wg-section="about"] .wg-ref-split { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }
.wg-ref-section[data-wg-section="banner"] .wg-ref-split { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }
.wg-ref-section[data-wg-section="services"] .wg-ref-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 768px) {
  .wg-ref-split, .wg-ref-banner-grid, .wg-ref-grid { grid-template-columns: 1fr !important; }
  /* hamburger menu, sticky header | stack image below text, full-width CTA | stack sections, 16px gutters */
}

/* WebAuto Design Blueprint */
.wg-ref-page {
  --wg-ref-primary: #003388;
  --wg-ref-secondary: #7a00df;
  --wg-ref-bg: #ffffff;
  --wg-ref-text: #0f172a;
  --wg-ref-radius: 10px;
}
.wg-ref-page { background: #ffffff; color: #0f172a; font-family: fl-icons; }
.wg-ref-section { padding-top: 48px; padding-bottom: 48px; }
.wg-ref-page .wg-ref-btn, .wg-ref-page .wg-ref-cta { border-radius: 10px; }
.wg-ref-page { font-size: 35px; }
.wg-ref-page h2, .wg-ref-page .wg-ref-h2 { font-size: 36px; }
.wg-ref-section[data-wg-section="about"] .wg-ref-split { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }
.wg-ref-section[data-wg-section="banner"] .wg-ref-split { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }
.wg-ref-section[data-wg-section="services"] .wg-ref-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 768px) {
  .wg-ref-split, .wg-ref-banner-grid, .wg-ref-grid { grid-template-columns: 1fr !important; }
  /* hamburger menu, sticky header | stack image below text, full-width CTA | stack sections, 16px gutters */
}

.wg-flatsome-h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); margin: 0 0 12px; line-height: 1.2; }
.wg-flatsome-h2 { font-size: clamp(1.35rem, 3vw, 1.85rem); margin: 0 0 12px; }
.wg-flatsome-lead { font-size: 1.05rem; line-height: 1.65; opacity: 0.92; }
.wg-flatsome-card { background: #fff; border: 1px solid #e5e7eb; border-radius: var(--wg-ref-radius, 8px); padding: 20px; height: 100%; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.wg-flatsome-card h3 { margin: 0 0 8px; font-size: 1.1rem; }
.wg-flatsome-card--icon { text-align: center; }
.wg-flatsome-quote { font-style: italic; margin: 0 0 8px; padding: 12px; background: #f8fafc; border-radius: 8px; }
.wg-flatsome-faq p { margin: 0; line-height: 1.6; }

/* WebAuto Reference Brand Colors */
.wg-ref-page {
  --wg-ref-primary: #1e3a5f;
  --wg-ref-secondary: #22c55e;
}
/* WEBAUTO_AI_EDIT_START */
.webauto-assistant-page,
.webauto-ai-section {
  --webauto-primary: #1e3a5f;
  --webauto-secondary: #1e40af;
  --webauto-radius: 12px;
  font-size: 16px;
}
.webauto-assistant-page h1,
.webauto-ai-section h2:first-child {
  line-height: 1.25;
  margin-bottom: 0.75em;
}
.webauto-assistant-page .webauto-btn,
.webauto-ai-section .webauto-cta-btn,
.webauto-assistant-page a.webauto-cta-btn {
  background: #1e3a5f;
  color: #fff !important;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  padding: 14px 28px;
  font-size: calc(16px + 2px);
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
}
.webauto-assistant-page .webauto-btn:hover,
.webauto-ai-section .webauto-cta-btn:hover {
  opacity: 0.92;
}
.webauto-assistant-page .webauto-card,
.webauto-ai-section .webauto-card {
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  padding: 1.25rem;
  background: #fff;
  border: 1px solid #e5e7eb;
}
.webauto-price-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}
.webauto-price-table th,
.webauto-price-table td {
  padding: 12px 16px;
  border: 1px solid #e5e7eb;
  text-align: left;
}
.webauto-price-table th {
  background: #1e3a5f;
  color: #fff;
}
.webauto-faq-item {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 0.75rem 1rem;
  margin-bottom: 0.5rem;
  background: #fff;
}
.webauto-faq-item summary {
  cursor: pointer;
  font-weight: 600;
}
.webauto-faq-item summary h3 {
  display: inline;
  font-size: 1rem;
  margin: 0;
}
@media (max-width: 768px) {
  .webauto-assistant-page,
  .webauto-ai-section {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .webauto-assistant-page .webauto-btn,
  .webauto-ai-section .webauto-cta-btn {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
  }
}

/* WebAuto Reference Brand Colors */
.wg-ref-page {
  --wg-ref-primary: #ea580c;
  --wg-ref-secondary: #22c55e;
}
/* WEBAUTO_AI_EDIT_START */
.webauto-assistant-page,
.webauto-ai-section {
  --webauto-primary: #ea580c;
  --webauto-secondary: #1e40af;
  --webauto-radius: 12px;
  font-size: 16px;
}
.webauto-assistant-page h1,
.webauto-ai-section h2:first-child {
  line-height: 1.25;
  margin-bottom: 0.75em;
}
.webauto-assistant-page .webauto-btn,
.webauto-ai-section .webauto-cta-btn,
.webauto-assistant-page a.webauto-cta-btn {
  background: #ea580c;
  color: #fff !important;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  padding: 14px 28px;
  font-size: calc(16px + 2px);
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
}
.webauto-assistant-page .webauto-btn:hover,
.webauto-ai-section .webauto-cta-btn:hover {
  opacity: 0.92;
}
.webauto-assistant-page .webauto-card,
.webauto-ai-section .webauto-card {
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  padding: 1.25rem;
  background: #fff;
  border: 1px solid #e5e7eb;
}
.webauto-price-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}
.webauto-price-table th,
.webauto-price-table td {
  padding: 12px 16px;
  border: 1px solid #e5e7eb;
  text-align: left;
}
.webauto-price-table th {
  background: #ea580c;
  color: #fff;
}
.webauto-faq-item {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 0.75rem 1rem;
  margin-bottom: 0.5rem;
  background: #fff;
}
.webauto-faq-item summary {
  cursor: pointer;
  font-weight: 600;
}
.webauto-faq-item summary h3 {
  display: inline;
  font-size: 1rem;
  margin: 0;
}
@media (max-width: 768px) {
  .webauto-assistant-page,
  .webauto-ai-section {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .webauto-assistant-page .webauto-btn,
  .webauto-ai-section .webauto-cta-btn {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
  }
}

/* WebAuto Reference Brand Colors */
.wg-ref-page {
  --wg-ref-primary: #2563eb;
  --wg-ref-secondary: #22c55e;
}
/* WEBAUTO_AI_EDIT_START */
.webauto-assistant-page,
.webauto-ai-section {
  --webauto-primary: #2563eb;
  --webauto-secondary: #1e40af;
  --webauto-radius: 16px;
  font-size: 18px;
}
.webauto-assistant-page h1,
.webauto-ai-section h2:first-child {
  line-height: 1.25;
  margin-bottom: 0.75em;
}
.webauto-assistant-page .webauto-btn,
.webauto-ai-section .webauto-cta-btn,
.webauto-assistant-page a.webauto-cta-btn {
  background: #2563eb;
  color: #fff !important;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  padding: 14px 28px;
  font-size: calc(18px + 2px);
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
}
.webauto-assistant-page .webauto-btn:hover,
.webauto-ai-section .webauto-cta-btn:hover {
  opacity: 0.92;
}
.webauto-assistant-page .webauto-card,
.webauto-ai-section .webauto-card {
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  padding: 1.25rem;
  background: #fff;
  border: 1px solid #e5e7eb;
}
.webauto-price-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}
.webauto-price-table th,
.webauto-price-table td {
  padding: 12px 16px;
  border: 1px solid #e5e7eb;
  text-align: left;
}
.webauto-price-table th {
  background: #2563eb;
  color: #fff;
}
.webauto-faq-item {
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 0.75rem 1rem;
  margin-bottom: 0.5rem;
  background: #fff;
}
.webauto-faq-item summary {
  cursor: pointer;
  font-weight: 600;
}
.webauto-faq-item summary h3 {
  display: inline;
  font-size: 1rem;
  margin: 0;
}
@media (max-width: 768px) {
  .webauto-assistant-page,
  .webauto-ai-section {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .webauto-assistant-page .webauto-btn,
  .webauto-ai-section .webauto-cta-btn {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
  }
}
/* WebAuto Reference Homepage Builder */
.wg-ref-page { margin: 0; padding: 0; }
.wg-ref-page * { box-sizing: border-box; }

.wg-ref-section { width: 100%; }
.webauto-ai-section.wg-ref-layout-full-width,
section.webauto-ai-section.wg-ref-layout-full-width {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  box-sizing: border-box;
  position: relative;
}
.webauto-ai-section .wg-ref-inner,
.webauto-ai-section .wg-blueprint-inner {
  width: 100%;
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
  box-sizing: border-box;
}
.wg-ref-inner { max-width: 1140px; margin: 0 auto; padding: 0 16px; }

/* Topbar */
.wg-ref-topbar { background: #0f172a; color: #e2e8f0; font-size: 13px; padding: 8px 0; }
.wg-ref-topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.wg-ref-topbar-text { margin: 0; }
.wg-ref-topbar-link { color: #38bdf8; text-decoration: none; font-weight: 600; white-space: nowrap; }
.wg-ref-topbar-link:hover { color: #7dd3fc; }

/* Header */
.wg-ref-header { background: #fff; border-bottom: 1px solid #e5e7eb; padding: 12px 0; }
.wg-ref-header .wg-ref-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.wg-ref-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #0f172a; font-weight: 700; font-size: 1.125rem; }
.wg-ref-logo-placeholder { width: 44px; height: 44px; border-radius: 8px; background: linear-gradient(135deg, var(--wg-ref-primary, #0ea5e9), var(--wg-ref-secondary, #22c55e)); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 11px; font-weight: 700; }
.wg-ref-logo-img { height: 44px; width: auto; max-width: 160px; object-fit: contain; display: block; }
.wg-ref-banner-img { width: 100%; height: 100%; min-height: 220px; object-fit: cover; border-radius: 12px; display: block; }
.wg-ref-banner-visual.wg-ref-has-image { background: transparent; padding: 0; }
.wg-ref-footer-social { margin-top: 12px; font-size: 13px; }
.wg-ref-footer-social a { color: #94a3b8; margin-right: 8px; }
.wg-ref-nav { display: flex; flex-wrap: wrap; gap: 8px 16px; list-style: none; margin: 0; padding: 0; }
.wg-ref-nav a { color: #334155; text-decoration: none; font-size: 14px; font-weight: 500; }
.wg-ref-nav a:hover { color: var(--wg-ref-primary, #0ea5e9); }

/* Banner / Slider */
.wg-ref-banner { background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%); color: #fff; padding: 48px 0; }
.wg-ref-banner-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }
.wg-ref-banner .wg-ref-slide { text-align: left; max-width: none; margin: 0; }
.wg-ref-banner-visual { min-height: 220px; border-radius: 12px; }
.wg-ref-banner h1 { font-size: clamp(1.5rem, 4vw, 2.25rem); margin: 0 0 12px; }
.wg-ref-banner p { margin: 0 0 20px; opacity: 0.92; line-height: 1.6; }
.wg-ref-banner-dots { display: flex; justify-content: center; gap: 8px; margin-top: 20px; }
.wg-ref-banner-dots span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.4); }
.wg-ref-banner-dots span.is-active { background: #fff; }

/* Hero (fallback) */
.wg-ref-hero { padding: 48px 0; background: #f8fafc; }
.wg-ref-hero h2 { margin: 0 0 12px; font-size: clamp(1.35rem, 3vw, 1.85rem); }

/* About */
.wg-ref-about { padding: 48px 0; background: #fff; }
.wg-ref-about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.wg-ref-section-title-left { text-align: left; }
.wg-ref-about-visual { min-height: 200px; border-radius: 12px; }

/* Services */
.wg-ref-services { padding: 48px 0; background: #f8fafc; }
.wg-ref-card-icon { width: 48px; height: 48px; margin-bottom: 12px; border-radius: 10px; font-size: 11px; }

/* Process */
.wg-ref-process { padding: 48px 0; background: #fff; }
.wg-ref-process-step { text-align: center; position: relative; }
.wg-ref-process-num { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--wg-ref-primary, #0ea5e9); color: #fff; font-weight: 700; font-size: 14px; margin-bottom: 10px; }

/* Image placeholders */
.wg-ref-img-placeholder { background: linear-gradient(135deg, #e2e8f0, #cbd5e1); color: #64748b; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; }

/* Grid blocks */
.wg-ref-grid { display: grid; gap: 20px; }
.wg-ref-grid-2 { grid-template-columns: repeat(2, 1fr); }
.wg-ref-grid-3 { grid-template-columns: repeat(3, 1fr); }
.wg-ref-grid-4 { grid-template-columns: repeat(4, 1fr); }
.wg-ref-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 20px; box-shadow: 0 4px 12px rgba(15,23,42,.06); }
.wg-ref-card h3 { margin: 0 0 8px; font-size: 1.05rem; }
.wg-ref-card p { margin: 0; color: #64748b; font-size: 14px; line-height: 1.5; }

/* Tabs */
.wg-ref-section.wg-ref-tabs { padding: 40px 0; background: #fff; }
.wg-ref-tab-wrap { margin-top: 8px; }
.wg-ref-tab-list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; border-bottom: 1px solid #e5e7eb; padding-bottom: 12px; }
.wg-ref-tab-list button { background: #f1f5f9; border: none; padding: 8px 16px; border-radius: 8px; font-size: 14px; cursor: default; color: #334155; }
.wg-ref-tab-list button.is-active { background: #0ea5e9; color: #fff; }
.wg-ref-tab-panel { display: none; }
.wg-ref-tab-panel.is-active { display: block; }

/* Pricing */
.wg-ref-pricing { padding: 48px 0; background: #f8fafc; }
.wg-ref-price-card { text-align: center; }
.wg-ref-price-card .wg-ref-price { font-size: 1.75rem; font-weight: 700; color: #0ea5e9; margin: 8px 0; }
.wg-ref-price-card ul { list-style: none; padding: 0; margin: 12px 0 0; text-align: left; }
.wg-ref-price-card li { padding: 6px 0; border-bottom: 1px solid #f1f5f9; font-size: 14px; }

/* Testimonials */
.wg-ref-testimonials { padding: 48px 0; }
.wg-ref-quote { font-style: italic; color: #475569; margin: 0 0 12px; line-height: 1.6; }
.wg-ref-quote-author { font-weight: 600; font-size: 14px; color: #0f172a; }

/* Staff */
.wg-ref-staff { padding: 48px 0; background: #f8fafc; }
.wg-ref-avatar { width: 72px; height: 72px; border-radius: 50%; background: linear-gradient(135deg, #cbd5e1, #94a3b8); margin: 0 auto 12px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 12px; }

/* Branches */
.wg-ref-branches { padding: 40px 0; }
.wg-ref-branch-item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid #e5e7eb; }
.wg-ref-branch-item:last-child { border-bottom: none; }

/* CTA */
.wg-ref-cta { padding: 40px 0; background: linear-gradient(135deg, var(--wg-ref-primary, #0ea5e9), var(--wg-ref-secondary, #22c55e)); color: #fff; text-align: center; }
.wg-ref-cta h2 { margin: 0 0 12px; }
.wg-ref-cta p { margin: 0 0 20px; opacity: 0.95; }

/* Footer */
.wg-ref-footer { background: #0f172a; color: #cbd5e1; padding: 40px 0 24px; }
.wg-ref-footer h3 { color: #fff; font-size: 1rem; margin: 0 0 12px; }
.wg-ref-footer-logo { margin-bottom: 12px; }
.wg-ref-footer a { color: #94a3b8; text-decoration: none; }
.wg-ref-footer a:hover { color: #fff; }
.wg-ref-footer-grid { display: grid; gap: 24px; grid-template-columns: repeat(3, 1fr); margin-bottom: 24px; }
.wg-ref-footer-bottom { border-top: 1px solid #334155; padding-top: 16px; text-align: center; font-size: 13px; }

/* Buttons */
.wg-ref-btn { display: inline-block; padding: 10px 20px; border-radius: 8px; font-weight: 600; text-decoration: none; font-size: 14px; }
.wg-ref-btn-primary { background: var(--wg-ref-primary, #0ea5e9); color: #fff; }
.wg-ref-btn-outline { background: transparent; color: var(--wg-ref-primary, #0ea5e9); border: 2px solid var(--wg-ref-primary, #0ea5e9); }
.wg-ref-cta .wg-ref-btn-primary { background: #fff; color: #0f172a; }

.wg-ref-section h2.wg-ref-section-title { text-align: center; margin: 0 0 24px; font-size: clamp(1.25rem, 2.5vw, 1.75rem); }

/* Tablet: 768px - 1023px */
@media (min-width: 768px) and (max-width: 1023px) {
  .wg-ref-grid-3, .wg-ref-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .wg-ref-footer-grid { grid-template-columns: repeat(2, 1fr); }
  .wg-ref-banner { padding: 36px 0; }
  .wg-ref-banner-grid { grid-template-columns: 1fr; }
  .wg-ref-banner .wg-ref-slide { text-align: center; }
  .wg-ref-about-grid { grid-template-columns: 1fr; }
}

/* Mobile: <= 767px */
@media (max-width: 767px) {
  .wg-ref-header .wg-ref-inner { flex-direction: column; align-items: flex-start; }
  .wg-ref-nav { width: 100%; }
  .wg-ref-grid-2, .wg-ref-grid-3, .wg-ref-grid-4 { grid-template-columns: 1fr; }
  .wg-ref-footer-grid { grid-template-columns: 1fr; }
  .wg-ref-banner { padding: 28px 0; }
  .wg-ref-banner-grid, .wg-ref-about-grid { grid-template-columns: 1fr; }
  .wg-ref-banner .wg-ref-slide { text-align: center; }
  .wg-ref-section .wg-ref-inner { padding: 0 12px; }
  .wg-ref-tab-list { flex-direction: column; }
  .wg-ref-topbar-inner { flex-direction: column; align-items: flex-start; }
}
