/* iManAuto — global stylesheet */
:root {
  --navy: #0b1220;
  --navy-2: #111a2e;
  --ink: #1e293b;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-alt: #f6f8fb;
  --blue: #2563eb;
  --sky: #38bdf8;
  --amber: #f59e0b;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(15, 23, 42, .08);
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.65; }
img, svg { max-width: 100%; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: 820px; }
h1 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); line-height: 1.2; color: var(--navy); margin-bottom: 1rem; }
h2 { font-size: clamp(1.3rem, 2.4vw, 1.8rem); line-height: 1.3; color: var(--navy); margin-bottom: 1rem; }
h3 { font-size: 1.08rem; color: var(--navy); }
p { margin-bottom: 1rem; }

/* buttons */
.btn { display: inline-block; padding: .8rem 1.6rem; border-radius: 10px; font-weight: 600; font-size: .98rem; border: 2px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .15s; }
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--blue), #1d4ed8); color: #fff; box-shadow: 0 4px 14px rgba(37, 99, 235, .35); }
.btn-outline { border-color: var(--sky); color: var(--navy); background: transparent; }
.btn-outline:hover { background: rgba(56, 189, 248, .12); }
.btn-block { width: 100%; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(11, 18, 32, .96); backdrop-filter: blur(8px); }
.header-inner { display: flex; align-items: center; gap: 1.5rem; height: 64px; }
.logo { display: flex; align-items: center; gap: .5rem; font-size: 1.3rem; color: #fff; font-weight: 500; }
.logo strong { color: var(--sky); }
.logo:hover { text-decoration: none; }
.main-nav { display: flex; gap: 1.4rem; margin-left: auto; }
.main-nav > a, .nav-item > a { color: #cbd5e1; font-weight: 500; font-size: .95rem; padding: .4rem 0; }
.main-nav > a:hover, .nav-item > a:hover, .main-nav > a.active { color: #fff; text-decoration: none; }
.nav-item { position: relative; }
.dropdown { display: none; position: absolute; top: 100%; left: 0; min-width: 220px; background: #fff; border-radius: 10px; box-shadow: var(--shadow); padding: .6rem; flex-direction: column; }
.dropdown a { color: var(--ink); padding: .45rem .7rem; border-radius: 6px; font-size: .92rem; }
.dropdown a:hover { background: var(--bg-alt); text-decoration: none; }
.dropdown-all { font-weight: 600; color: var(--blue) !important; }
.nav-item:hover .dropdown { display: flex; }
.btn-header { padding: .55rem 1.1rem; font-size: .9rem; }
.nav-toggle { display: none; background: none; border: 0; color: #fff; font-size: 1.5rem; cursor: pointer; }

/* breadcrumbs */
.breadcrumbs { background: var(--bg-alt); border-bottom: 1px solid var(--line); font-size: .86rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; list-style: none; padding-top: .55rem; padding-bottom: .55rem; color: var(--muted); }
.breadcrumbs .sep { color: #b6c2d2; }

/* hero */
.hero { background: linear-gradient(160deg, var(--navy) 0%, #0f2044 55%, #123055 100%); color: #e2e8f0; }
.hero-inner { display: grid; grid-template-columns: 1.25fr .9fr; gap: 3rem; align-items: center; padding-top: 4rem; padding-bottom: 3.5rem; }
.hero-kicker { color: var(--sky); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: .82rem; margin-bottom: .8rem; }
.hero h1 { color: #fff; }
.hero h1 em { color: var(--sky); font-style: normal; }
.hero-sub { font-size: 1.08rem; color: #b8c4d8; max-width: 560px; margin-bottom: 1.8rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero .btn-outline { color: #fff; border-color: rgba(56, 189, 248, .6); }
.hero-panel { display: flex; justify-content: center; }
.hero-phone { width: 240px; border-radius: 22px; background: #0d1730; border: 1px solid rgba(56,189,248,.35); padding: 1.2rem; box-shadow: 0 20px 60px rgba(0,0,0,.45); }
.hero-phone-top { text-align: center; color: var(--sky); font-weight: 700; margin-bottom: 1rem; letter-spacing: .05em; }
.hero-app-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; font-size: 1.5rem; text-align: center; }
.hero-app-grid span { background: rgba(255,255,255,.07); border-radius: 12px; padding: .55rem 0; }
.hero-phone-bar { height: 4px; width: 40%; margin: 1.1rem auto 0; border-radius: 4px; background: rgba(255,255,255,.25); }
.stats-band { background: rgba(255,255,255,.06); border-top: 1px solid rgba(255,255,255,.1); }
.stats-grid { display: grid; grid-template-columns: repeat(5, 1fr); text-align: center; padding-top: 1.2rem; padding-bottom: 1.2rem; }
.stats-grid strong { display: block; font-size: 1.5rem; color: var(--amber); }
.stats-grid span { font-size: .85rem; color: #b8c4d8; }

/* sections */
.section { padding: 4rem 0; }
.section-alt { background: var(--bg-alt); }
.section-kicker { color: var(--blue); font-weight: 700; text-transform: uppercase; letter-spacing: .07em; font-size: .8rem; margin-bottom: .5rem; }
.section-lead { color: var(--muted); max-width: 760px; font-size: 1.03rem; margin-bottom: 2rem; }
.page-hero { background: linear-gradient(150deg, var(--navy), #14294f); color: #e2e8f0; padding: 3.2rem 0; }
.page-hero h1 { color: #fff; }
.page-hero .section-lead { color: #b8c4d8; margin-bottom: 0; }
.page-hero .hero-actions { margin-top: 1.6rem; }
.page-hero .btn-outline { color: #fff; }

.split { display: grid; grid-template-columns: 1.2fr .8fr; gap: 3rem; align-items: start; }
.split-panel { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; }
.section-alt .split-panel { background: #fff; }

/* cards & grids */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.cat-card, .product-card, .post-card { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; color: var(--ink); box-shadow: 0 2px 8px rgba(15,23,42,.04); transition: transform .15s, box-shadow .15s; }
.cat-card:hover, .product-card:hover, .post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); text-decoration: none; }
.cat-card-tag { font-size: .76rem; font-weight: 700; color: var(--blue); letter-spacing: .04em; margin-bottom: .5rem; }
.cat-card h3, .product-card h3, .post-card h3 { margin-bottom: .5rem; }
.cat-card p, .product-card p, .post-card p { font-size: .92rem; color: var(--muted); margin-bottom: .8rem; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-bottom: 1.5rem; }
.product-card-icon { font-size: 1.6rem; margin-bottom: .6rem; }
.product-card-meta { font-size: .85rem; }
.card-link { color: var(--blue); font-weight: 600; font-size: .92rem; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.post-date { font-size: .82rem; color: var(--muted); margin-bottom: .4rem; }

/* advantages / why */
.adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.adv-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.section:not(.section-alt) .adv-item { background: var(--bg-alt); }
.adv-num { font-size: 1.6rem; font-weight: 800; color: var(--sky); margin-bottom: .6rem; }
.adv-item p, .why-item p { font-size: .93rem; color: var(--muted); margin: .5rem 0 0; }
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem 2.4rem; }
.why-item h3::before { content: "✓ "; color: #16a34a; }

/* feature & check lists */
.feature-list, .check-list, .fact-list { list-style: none; margin: .8rem 0; }
.feature-list li, .check-list li { padding: .45rem 0 .45rem 1.7rem; position: relative; font-size: .95rem; }
.feature-list li::before { content: "✔"; position: absolute; left: 0; color: var(--blue); }
.check-list li::before { content: "▸"; position: absolute; left: .2rem; color: var(--amber); }
.fact-list li { padding: .4rem 0; border-bottom: 1px dashed var(--line); font-size: .93rem; }

/* tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: .93rem; background: #fff; }
th, td { text-align: left; padding: .7rem 1rem; border-bottom: 1px solid var(--line); }
thead th { background: var(--navy); color: #fff; font-weight: 600; }
tbody tr:hover { background: var(--bg-alt); }
.spec-table th { width: 220px; background: var(--bg-alt); color: var(--navy); }
.table-note { margin-top: .8rem; font-size: .9rem; color: var(--muted); }

/* terms */
.terms-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.term-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem; background: var(--bg-alt); }
.term-card p { font-size: .9rem; color: var(--muted); margin: .4rem 0 0; }

/* brand group on products index */
.brand-group { padding: 2.4rem 0; border-bottom: 1px solid var(--line); }
.brand-group-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: .6rem; }

/* faq */
.faq-list { max-width: 860px; }
.faq-item { border: 1px solid var(--line); border-radius: 10px; margin-bottom: .8rem; background: #fff; }
.faq-item summary { cursor: pointer; padding: 1rem 1.2rem; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { display: inline; font-size: 1rem; }
.faq-item summary::after { content: "+"; float: right; color: var(--blue); font-weight: 700; }
.faq-item[open] summary::after { content: "–"; }
.faq-answer { padding: 0 1.2rem 1.1rem; color: var(--muted); font-size: .95rem; }
.faq-answer p { margin: 0; }

/* cta band */
.cta-band { background: linear-gradient(135deg, var(--blue), #0ea5e9); color: #fff; padding: 2.8rem 0; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: .4rem; }
.cta-band p { margin: 0; color: #dbeafe; }
.cta-actions { display: flex; gap: 1rem; }
.cta-band .btn-primary { background: #fff; color: var(--blue); box-shadow: none; }
.cta-band .btn-outline { color: #fff; border-color: rgba(255,255,255,.7); }

/* forms */
.inquiry-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.inquiry-form label { display: block; font-size: .88rem; font-weight: 600; color: var(--navy); margin-bottom: .9rem; }
.inquiry-form input, .inquiry-form select, .inquiry-form textarea { width: 100%; margin-top: .3rem; padding: .65rem .8rem; border: 1px solid var(--line); border-radius: 8px; font: inherit; font-size: .93rem; background: #fff; }
.inquiry-form input:focus, .inquiry-form select:focus, .inquiry-form textarea:focus { outline: 2px solid rgba(37,99,235,.35); border-color: var(--blue); }
.form-note { font-size: .85rem; color: var(--muted); margin-top: .9rem; text-align: center; }
.form-success { background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; padding: 1rem 1.2rem; border-radius: 10px; margin-bottom: 1rem; }
.form-error { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; padding: 1rem 1.2rem; border-radius: 10px; margin-bottom: 1rem; }

/* fitment tool */
.fitment-tool { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.8rem; }
.fitment-controls { display: grid; grid-template-columns: 1fr .7fr 1.3fr auto; gap: 1rem; align-items: end; }
.fitment-controls label { font-size: .85rem; font-weight: 600; color: var(--navy); }
.fitment-controls input, .fitment-controls select { width: 100%; margin-top: .3rem; padding: .7rem .8rem; border: 1px solid var(--line); border-radius: 8px; font: inherit; }
.fitment-results { margin-top: 1.6rem; }
.fit-hint { color: var(--muted); text-align: center; padding: 1.4rem; background: var(--bg-alt); border-radius: 10px; }
.fit-result { display: flex; justify-content: space-between; gap: 1rem; align-items: center; border: 1px solid var(--line); border-radius: 10px; padding: 1rem 1.2rem; margin-bottom: .8rem; flex-wrap: wrap; }
.fit-result h3 { margin-bottom: .2rem; }
.fit-result .fit-meta { font-size: .87rem; color: var(--muted); }
.fit-result .fit-models { font-size: .85rem; color: var(--ink); margin-top: .3rem; }
.fit-none { background: #fffbeb; border: 1px solid #fde68a; border-radius: 10px; padding: 1.2rem; color: #92400e; }

/* article */
.article h1 { margin-bottom: 1.4rem; }
.article h2 { margin-top: 2.2rem; }
.article .post-date { font-size: .88rem; }
.article-cta { margin-top: 3rem; background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; }
.article-cta .btn { margin-right: .8rem; margin-top: .6rem; }

/* footer */
.site-footer { background: var(--navy); color: #b8c4d8; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1.4fr .8fr; gap: 2.5rem; padding-top: 3rem; padding-bottom: 2.4rem; }
.footer-brand p { font-size: .9rem; margin-bottom: .8rem; }
.logo-footer { margin-bottom: 1rem; }
.footer-contact { list-style: none; font-size: .88rem; }
.footer-contact li { padding: .25rem 0; }
.footer-col h3 { color: #fff; margin-bottom: 1rem; font-size: 1rem; }
.footer-links { list-style: none; font-size: .88rem; }
.footer-links li { padding: .22rem 0; }
.footer-links a { color: #b8c4d8; }
.footer-links a:hover { color: #fff; }
.cols-2 { columns: 2; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 1.1rem 0; font-size: .84rem; color: #7c8aa5; }

/* whatsapp float */
.whatsapp-float { position: fixed; right: 22px; bottom: 22px; width: 54px; height: 54px; border-radius: 50%; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; box-shadow: 0 6px 18px rgba(0,0,0,.25); z-index: 60; }
.whatsapp-float:hover { text-decoration: none; transform: scale(1.06); }

/* responsive */
@media (max-width: 960px) {
  .hero-inner, .split { grid-template-columns: 1fr; }
  .hero-panel { display: none; }
  .cat-grid, .product-grid, .post-grid, .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .terms-grid { grid-template-columns: repeat(2, 1fr); }
  .fitment-controls { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .main-nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--navy-2); flex-direction: column; padding: 1rem 20px; gap: .8rem; }
  .main-nav.open { display: flex; }
  .nav-toggle { display: block; margin-left: auto; }
  .btn-header { display: none; }
  .cat-grid, .product-grid, .post-grid, .adv-grid, .why-grid, .terms-grid, .form-row, .fitment-controls { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); gap: .8rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .cols-2 { columns: 1; }
}
