/* Samarth Motors — GoMechanic-inspired garage landing */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --bg: #0c1222;
    --bg-elevated: #121a2e;
    --surface: #182236;
    --border: #2a3a55;
    --text: #f0f4fc;
    --muted: #94a3b8;
    --accent: #f97316;
    --accent-hover: #fb923c;
    --accent-soft: rgba(249, 115, 22, 0.15);
    --star: #fbbf24;
    --green-cta: #16a34a;
    --radius: 14px;
    --font: "DM Sans", system-ui, sans-serif;
    --display: "Outfit", system-ui, sans-serif;
    --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

html { scroll-behavior: smooth; scroll-padding-top: 130px; }

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    padding-bottom: 88px;
}

@media (min-width: 769px) {
    body { padding-bottom: 0; }
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap {
    width: min(1140px, 100% - 40px);
    margin-inline: auto;
}

.text-muted { color: var(--muted); font-size: 0.95em; }

/* Sticky top: 24/7 banner + header */
.site-top {
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.banner-247 {
    background: linear-gradient(105deg, #0f766e 0%, #059669 35%, #ca8a04 70%, #ea580c 100%);
    color: #fff;
    font-size: 0.88rem;
    line-height: 1.45;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.banner-247-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 18px;
    padding: 10px 0;
    text-align: center;
}

.banner-247-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--display);
    font-weight: 800;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    padding: 5px 10px;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.35);
    flex-shrink: 0;
}

.banner-247-text {
    margin: 0;
    max-width: 52ch;
    color: rgba(255, 255, 255, 0.95);
}
.banner-247-text a {
    color: #fff;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
    margin-left: 4px;
}
.banner-247-text a:hover { color: #fef08a; }

.banner-247-cta {
    display: inline-flex;
    align-items: center;
    padding: 7px 16px;
    border-radius: 999px;
    background: #fff;
    color: #0f172a !important;
    font-weight: 700;
    font-size: 0.82rem;
    text-decoration: none !important;
    border: none;
    flex-shrink: 0;
    transition: transform 0.15s, box-shadow 0.2s;
}
.banner-247-cta:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    color: #0f172a !important;
}

@media (min-width: 720px) {
    .banner-247-inner {
        flex-wrap: nowrap;
        justify-content: space-between;
        text-align: left;
        padding: 11px 0;
    }
    .banner-247-text { max-width: none; flex: 1; }
}

/* Header */
.header {
    position: relative;
    background: rgba(12, 18, 34, 0.97);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 68px;
}

.logo {
    font-family: var(--display);
    font-weight: 800;
    font-size: 1.3rem;
    letter-spacing: -0.02em;
    color: var(--text);
    text-decoration: none;
    flex-shrink: 0;
}
.logo span { color: var(--accent); }
.logo:hover { text-decoration: none; opacity: 0.95; }

.nav {
    display: none;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}
.nav a {
    color: var(--muted);
    font-weight: 500;
    font-size: 0.88rem;
    text-decoration: none;
}
.nav a:hover { color: var(--text); }

.header-cta { display: none; gap: 10px; align-items: center; flex-shrink: 0; }

.menu-btn {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text);
}
.menu-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: transform 0.25s, opacity 0.25s;
}
.menu-btn[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px 20px 24px;
    border-bottom: 1px solid var(--border);
    background: var(--bg-elevated);
}
.mobile-nav a:not(.btn) {
    color: var(--text);
    font-weight: 500;
    padding: 8px 0;
    text-decoration: none;
}
.mobile-nav a:not(.btn):hover { color: var(--accent); }

@media (min-width: 1100px) {
    .nav, .header-cta { display: flex; }
    .menu-btn { display: none; }
    .mobile-nav { display: none !important; }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 11px 20px;
    border-radius: 10px;
    font-family: var(--font);
    font-weight: 600;
    font-size: 0.92rem;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, transform 0.15s, box-shadow 0.2s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn-primary {
    background: linear-gradient(165deg, var(--accent) 0%, #ea580c 100%);
    color: #fff;
    box-shadow: 0 4px 24px rgba(249, 115, 22, 0.35);
}
.btn-primary:hover {
    background: linear-gradient(165deg, var(--accent-hover) 0%, var(--accent) 100%);
    color: #fff;
}

.btn-ghost {
    background: transparent;
    color: var(--muted);
    border-color: var(--border);
}
.btn-ghost:hover { color: var(--text); border-color: var(--muted); }

.btn-outline {
    background: transparent;
    color: var(--text);
    border-color: var(--border);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

.btn-on-dark {
    border-color: rgba(255, 255, 255, 0.35);
    color: #fff;
}
.btn-on-dark:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.btn-lg { padding: 14px 24px; font-size: 1rem; border-radius: 12px; }
.btn-block { width: 100%; justify-content: center; margin-top: 8px; }

.btn-light {
    background: #fff;
    color: var(--bg);
}
.btn-light:hover { background: #f1f5f9; color: var(--bg); }

.btn-outline-light {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
}
.btn-outline-light:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

/* Hero — full-bleed image */
.hero {
    position: relative;
    min-height: min(92vh, 820px);
    display: flex;
    align-items: flex-end;
    padding: 100px 0 56px;
    overflow: hidden;
}

.hero-visual {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(12, 18, 34, 0.55) 0%, rgba(12, 18, 34, 0.75) 45%, rgba(12, 18, 34, 0.92) 100%),
        linear-gradient(90deg, rgba(12, 18, 34, 0.85) 0%, transparent 55%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 640px;
}

.eyebrow {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 14px;
}

.hero h1 {
    font-family: var(--display);
    font-size: clamp(2.1rem, 5.5vw, 3.35rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.12;
    margin-bottom: 18px;
    text-shadow: 0 2px 40px rgba(0, 0, 0, 0.5);
}

.hero h1 em {
    font-style: normal;
    color: #fff;
    background: linear-gradient(120deg, #fff 0%, #fdba74 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.lead {
    font-size: 1.08rem;
    color: rgba(240, 244, 252, 0.88);
    max-width: 38ch;
    margin-bottom: 22px;
    text-shadow: 0 1px 20px rgba(0, 0, 0, 0.4);
}

.trust-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.trust-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    font-size: 0.88rem;
    backdrop-filter: blur(8px);
}

.trust-pill strong { font-weight: 700; }
.trust-pill span:not(.stars) { opacity: 0.9; font-size: 0.82rem; }

.trust-pill-g {
    text-decoration: none;
    cursor: pointer;
}
.trust-pill-g:hover {
    text-decoration: none;
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(251, 191, 36, 0.5);
}

.stars {
    color: var(--star);
    letter-spacing: 1px;
    font-size: 0.75rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}

.hero-note {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
}
.hero-note a {
    color: #fff;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.hero-note a:hover { color: var(--accent); }

/* Stats bar */
.stats-bar {
    background: linear-gradient(180deg, var(--bg-elevated) 0%, var(--bg) 100%);
    border-block: 1px solid var(--border);
    padding: 36px 0;
}

.stats-bar-inner {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 20px;
}

@media (min-width: 768px) {
    .stats-bar-inner { grid-template-columns: repeat(4, 1fr); gap: 24px; }
}

.stat-block {
    text-align: center;
    padding: 8px;
}

.stat-num {
    display: block;
    font-family: var(--display);
    font-size: clamp(1.85rem, 4vw, 2.35rem);
    font-weight: 800;
    background: linear-gradient(135deg, #fff 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
}

.stat-label {
    display: block;
    font-weight: 600;
    font-size: 0.92rem;
    margin-top: 6px;
    color: var(--text);
}

.stat-hint {
    display: block;
    font-size: 0.78rem;
    color: var(--muted);
    margin-top: 4px;
}

/* Sections */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-elevated); border-block: 1px solid var(--border); }

.section-title {
    font-family: var(--display);
    font-size: clamp(1.7rem, 4vw, 2.2rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
    text-align: center;
}

.section-lead {
    text-align: center;
    color: var(--muted);
    max-width: 56ch;
    margin: 0 auto 40px;
    font-size: 1.05rem;
}

#location .section-title,
#location .section-lead { text-align: left; margin-left: 0; }
#location .section-lead { margin-bottom: 24px; }

/* Services with images */
.services-grid {
    list-style: none;
    display: grid;
    gap: 22px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.service-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.service-card:hover {
    border-color: rgba(249, 115, 22, 0.4);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
    transform: translateY(-4px);
}

.service-img-wrap {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--bg);
}
.service-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.service-card:hover .service-img-wrap img { transform: scale(1.05); }

.service-body { padding: 20px 20px 22px; }
.service-body h3 {
    font-family: var(--display);
    font-size: 1.08rem;
    margin-bottom: 8px;
}
.service-body p { font-size: 0.9rem; color: var(--muted); line-height: 1.55; }

/* How it works */
.how-steps {
    list-style: none;
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    max-width: 1000px;
    margin: 0 auto;
}

.how-step {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 22px;
    position: relative;
    padding-top: 52px;
}

.how-icon {
    position: absolute;
    top: 20px;
    left: 22px;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--accent-soft);
    border: 1px solid rgba(249, 115, 22, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--display);
    font-weight: 800;
    font-size: 1rem;
    color: var(--accent);
}

.how-step h3 {
    font-family: var(--display);
    font-size: 1.02rem;
    margin-bottom: 8px;
}
.how-step p { font-size: 0.9rem; color: var(--muted); }

/* Gallery */
.gallery-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: auto auto;
    }
    .gallery-item-lg {
        grid-column: span 2;
        grid-row: span 2;
    }
    .gallery-item-wide {
        grid-column: span 4;
    }
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    aspect-ratio: 4 / 3;
    background: var(--surface);
}

.gallery-item-lg { aspect-ratio: 1; min-height: 280px; }
.gallery-item-wide { aspect-ratio: 21 / 9; min-height: 200px; }

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.04); }

/* Reviews */
.reviews-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.review-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    margin: 0;
}

.review-stars {
    color: var(--star);
    font-size: 1rem;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.review-text {
    font-size: 0.95rem;
    color: var(--text);
    line-height: 1.65;
    margin-bottom: 16px;
    font-style: normal;
}

.review-card footer {
    font-size: 0.85rem;
    color: var(--muted);
}
.review-card cite { font-style: normal; font-weight: 600; color: var(--text); }

.review-tag {
    display: inline-block;
    margin-left: 8px;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 3px 8px;
    border-radius: 6px;
    background: var(--accent-soft);
    color: var(--accent);
    font-weight: 600;
}

.reviews-cta { text-align: center; margin-top: 32px; }

/* Why grid */
.why-grid {
    display: grid;
    gap: 22px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    max-width: 960px;
    margin: 0 auto;
}

.why-item {
    padding: 24px;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--border);
}
.why-item h3 {
    font-family: var(--display);
    font-size: 1.05rem;
    margin-bottom: 10px;
    color: var(--accent);
}
.why-item p { font-size: 0.94rem; color: var(--muted); }

/* FAQ */
.faq-list { max-width: 720px; margin: 0 auto; }

.faq-item {
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
    background: var(--surface);
}

.faq-q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    background: none;
    border: none;
    color: var(--text);
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: background 0.2s;
}
.faq-q:hover { background: rgba(255, 255, 255, 0.03); }

.faq-q[aria-expanded="true"] { background: rgba(249, 115, 22, 0.06); }

.faq-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    position: relative;
}
.faq-icon::before,
.faq-icon::after {
    content: "";
    position: absolute;
    background: var(--accent);
    border-radius: 2px;
    transition: transform 0.25s;
}
.faq-icon::before {
    width: 12px;
    height: 2px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.faq-icon::after {
    width: 2px;
    height: 12px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.faq-q[aria-expanded="true"] .faq-icon::after {
    transform: translate(-50%, -50%) scaleY(0);
}

.faq-a {
    padding: 0 20px 18px;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.65;
}
.faq-a p { margin: 0; }
.faq-a a { font-weight: 600; }

/* Location */
.location-grid {
    display: grid;
    gap: 36px;
    align-items: start;
}

@media (min-width: 880px) {
    .location-grid { grid-template-columns: 1fr 1.1fr; gap: 48px; }
}

.address-block {
    font-style: normal;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text);
    margin-bottom: 16px;
}
.address-block strong { color: var(--accent); }

.location-note {
    font-size: 0.88rem;
    color: var(--muted);
    margin-bottom: 22px;
    max-width: 42ch;
}

.location-ctas { display: flex; flex-wrap: wrap; gap: 12px; }

.map-wrap {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    aspect-ratio: 4 / 3;
    min-height: 280px;
    background: var(--surface);
}
.map-wrap iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.nowrap { white-space: nowrap; }

/* Local SEO content block */
.local-seo-block {
    max-width: 720px;
    margin: 0 auto;
}

.local-seo-block .section-title {
    margin-bottom: 20px;
}

.local-seo-block p {
    color: var(--muted);
    font-size: 1.02rem;
    line-height: 1.75;
    margin-bottom: 16px;
}

.local-seo-block p:last-child {
    margin-bottom: 0;
}

.local-seo-block strong {
    color: var(--text);
    font-weight: 600;
}

/* CTA band */
.cta-band {
    background: linear-gradient(135deg, #1e293b 0%, var(--bg) 40%, #1a1a2e 100%);
    border-block: 1px solid var(--border);
    padding: 56px 0;
}

.cta-band-inner {
    display: flex;
    flex-direction: column;
    gap: 28px;
    align-items: flex-start;
}

@media (min-width: 720px) {
    .cta-band-inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 32px;
    }
}

.cta-band h2 {
    font-family: var(--display);
    font-size: 1.65rem;
    margin-bottom: 8px;
}
.cta-band p { color: var(--muted); max-width: 40ch; }

.cta-band-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    flex-shrink: 0;
}

/* Footer */
.footer {
    padding: 48px 0 24px;
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    gap: 32px;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    margin-bottom: 36px;
}

.footer-logo { margin-bottom: 8px; display: inline-block; }
.footer-tag { color: var(--muted); font-size: 0.88rem; }

.footer-heading {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent);
    margin-bottom: 12px;
}

.footer a { color: var(--text); text-decoration: none; }
.footer a:hover { color: var(--accent); }

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--border);
    text-align: center;
    font-size: 0.85rem;
    color: var(--muted);
}

.footer-photo-note {
    margin-top: 12px;
    font-size: 0.75rem;
    opacity: 0.75;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

/* Sticky mobile CTA */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 40;
    display: flex;
    gap: 0;
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.45);
}

@media (min-width: 769px) {
    .sticky-cta { display: none; }
}

.sticky-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    color: #fff;
}
.sticky-btn:hover { text-decoration: none; filter: brightness(1.08); }

.sticky-call { background: var(--green-cta); }
.sticky-mail { background: #2563eb; }
