/* =========================================================
   AMIT MOTORS - Car Service Center
   Stylesheet (Bootstrap 5.3 overrides + custom components)
   ========================================================= */

/* ---------- 1. Design tokens ---------- */
:root {
  --red: #ED1C24;
  --red-dark: #c8141b;
  --black: #0B0F12;
  --gray: #171C20;
  --gray-2: #232a30;
  --white: #FFFFFF;
  --light: #F5F6F8;
  --text: #2a3138;
  --muted: #6b747c;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(11, 15, 18, .10);
  --shadow-lg: 0 20px 50px rgba(11, 15, 18, .18);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --nav-h: 76px;
}

/* ---------- 2. Base ---------- */
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: 'Poppins', sans-serif; font-weight: 700; line-height: 1.15; }
img { max-width: 100%; height: auto; }
a { text-decoration: none; }
.text-brand { color: var(--red) !important; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

.skip-link {
  position: fixed; top: 8px; left: 8px; z-index: 3000;
  background: var(--red); color: #fff; padding: .6rem 1rem; border-radius: 8px;
}

/* ---------- 3. Buttons ---------- */
.btn-pill { border-radius: 50rem; font-weight: 600; letter-spacing: .2px; padding: .7rem 1.6rem; position: relative; overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s; }
.btn-lg.btn-pill { padding: .85rem 1.9rem; font-size: 1rem; }
.btn-brand { background: var(--red); border: 2px solid var(--red); color: #fff; box-shadow: 0 8px 22px rgba(237, 28, 36, .35); }
.btn-brand:hover, .btn-brand:focus { background: var(--red-dark); border-color: var(--red-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(237, 28, 36, .45); }
.btn-outline-brand { border: 2px solid var(--red); color: var(--red); background: transparent; }
.btn-outline-brand:hover { background: var(--red); color: #fff; transform: translateY(-2px); }
.btn-outline-light:hover { color: var(--black); transform: translateY(-2px); }
.btn-whatsapp { background: #25D366; border: 2px solid #25D366; color: #06331a; }
.btn-whatsapp:hover { background: #1fb858; border-color: #1fb858; color: #06331a; transform: translateY(-2px); }
.btn-arrow { transition: transform .25s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(5px); }

/* ---------- 4. Navbar ---------- */
.site-nav { padding: .9rem 0; background: linear-gradient(to bottom, rgba(11, 15, 18, .85), rgba(11, 15, 18, 0)); transition: background .35s, padding .35s, box-shadow .35s; }
.site-nav.scrolled { background: rgba(11, 15, 18, .97); padding: .5rem 0; box-shadow: 0 6px 24px rgba(0, 0, 0, .35); backdrop-filter: blur(8px); }
.navbar-brand img { height: 52px; width: auto; transition: height .3s; }
.site-nav.scrolled .navbar-brand img { height: 44px; }
.site-nav .nav-link { color: rgba(255, 255, 255, .88); font-weight: 500; font-size: .95rem; position: relative; padding: .5rem .85rem; transition: color .25s; }
.site-nav .nav-link::after { content: ""; position: absolute; left: .85rem; right: .85rem; bottom: 2px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.site-nav .nav-link:hover, .site-nav .nav-link.active { color: #fff; }
.site-nav .nav-link:hover::after, .site-nav .nav-link.active::after { transform: scaleX(1); }

/* Hamburger -> X */
.navbar-toggler { border: 0; padding: .4rem; box-shadow: none !important; }
.toggler-bars { display: inline-flex; flex-direction: column; gap: 5px; width: 26px; }
.toggler-bars span { height: 3px; background: #fff; border-radius: 3px; transition: transform .3s var(--ease), opacity .2s; }
.navbar-toggler[aria-expanded="true"] .toggler-bars span:nth-child(1) { transform: translateY(8px) rotate(45deg); background: var(--red); }
.navbar-toggler[aria-expanded="true"] .toggler-bars span:nth-child(2) { opacity: 0; }
.navbar-toggler[aria-expanded="true"] .toggler-bars span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); background: var(--red); }

@media (max-width: 991.98px) {
  .site-nav .navbar-collapse { background: var(--black); margin: .8rem -12px -.5rem; padding: 1rem 1.25rem 1.25rem; border-top: 2px solid var(--red); border-radius: 0 0 14px 14px; }
  .site-nav.menu-open { background: rgba(11, 15, 18, .97); }
  .site-nav .navbar-collapse .btn { width: 100%; }
  .site-nav .nav-link::after { display: none; }
  .site-nav .nav-link.active { color: var(--red); }
}

/* ---------- 5. Hero ---------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; background: var(--black); color: #fff; padding: calc(var(--nav-h) + 40px) 0 150px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: 72% center; background-repeat: no-repeat; transform: scale(1.04); animation: heroZoom 18s ease-out forwards; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 15, 18, .97) 0%, rgba(11, 15, 18, .88) 40%, rgba(11, 15, 18, .35) 75%, rgba(11, 15, 18, .55) 100%), linear-gradient(to top, rgba(11, 15, 18, .85), transparent 40%); }
.hero-content { max-width: 640px; }
.eyebrow { color: var(--red); text-transform: uppercase; font-weight: 700; font-size: .8rem; letter-spacing: 2.5px; margin-bottom: .9rem; display: flex; align-items: center; gap: .6rem; }
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--red); border-radius: 3px; }
.section-head .eyebrow { justify-content: center; }
.section-head .eyebrow::after { content: ""; width: 28px; height: 3px; background: var(--red); border-radius: 3px; }
.hero h1 { font-size: clamp(2.8rem, 8vw, 5.2rem); font-weight: 800; letter-spacing: -1px; margin-bottom: .4rem; }
.hero-sub { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: clamp(1.3rem, 3.5vw, 2rem); margin-bottom: 1rem; }
.hero-desc { color: rgba(255, 255, 255, .8); font-size: 1.05rem; line-height: 1.7; margin-bottom: 1.6rem; max-width: 560px; }
.hero-points { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; grid-template-columns: repeat(4, auto); gap: 1.2rem 1.4rem; justify-content: start; }
.hero-points li { display: flex; align-items: center; gap: .6rem; font-size: .85rem; line-height: 1.25; color: rgba(255, 255, 255, .9); }
.hero-points i { color: var(--red); font-size: 1.9rem; }
@media (max-width: 575.98px) { .hero-points { grid-template-columns: repeat(2, 1fr); } .hero { padding-bottom: 130px; } .hero-bg { background-position: 75% center; } .hero-overlay { background: linear-gradient(to bottom, rgba(11, 15, 18, .9), rgba(11, 15, 18, .78) 55%, rgba(11, 15, 18, .95)); } }
@media (min-width: 576px) and (max-width: 991.98px) { .hero-points { grid-template-columns: repeat(4, 1fr); } }
@keyframes heroZoom { to { transform: scale(1); } }

.reveal-hero { opacity: 0; transform: translateY(26px); animation: heroIn .8s var(--ease) forwards; animation-delay: var(--d, 0s); }
@keyframes heroIn { to { opacity: 1; transform: none; } }

/* ---------- 6. Quick services strip ---------- */
.quick-strip { position: relative; z-index: 5; margin-top: -90px; }
.quick-list { list-style: none; margin: 0; padding: 1rem; display: grid; grid-template-columns: repeat(6, 1fr); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.quick-list li + li { border-left: 1px solid #e8eaed; }
.quick-list a { display: flex; flex-direction: column; align-items: center; gap: .6rem; padding: 1.1rem .5rem; color: var(--black); font-weight: 600; font-size: .85rem; text-align: center; line-height: 1.3; border-radius: 12px; transition: transform .3s var(--ease), color .3s, background .3s; }
.quick-list i { font-size: 2rem; transition: transform .3s var(--ease), color .3s; }
.quick-list a:hover { transform: translateY(-5px); color: var(--red); background: var(--light); }
.quick-list a:hover i { transform: scale(1.15) rotate(-6deg); color: var(--red); }
@media (max-width: 991.98px) { .quick-list { grid-template-columns: repeat(3, 1fr); } .quick-list li:nth-child(4) { border-left: 0; } .quick-list li:nth-child(n+4) { border-top: 1px solid #e8eaed; } }
@media (max-width: 575.98px) { .quick-strip { margin-top: -70px; } .quick-list { padding: .5rem; } .quick-list a { padding: .9rem .25rem; font-size: .78rem; } .quick-list i { font-size: 1.6rem; } }

/* ---------- 7. Section scaffolding ---------- */
.section { padding: 96px 0; }
.section-light { background: var(--light); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.section-title { font-size: clamp(1.8rem, 4.2vw, 2.7rem); color: var(--black); margin-bottom: 1rem; }
.section-sub { color: var(--muted); font-size: 1.05rem; margin-bottom: 0; }
@media (max-width: 767.98px) { .section { padding: 70px 0; } }

/* ---------- 8. About ---------- */
.about-media { position: relative; padding: 0 28px 28px 0; }
.about-media img { position: relative; z-index: 2; width: 100%; border-radius: 22px; clip-path: polygon(0 0, 88% 0, 100% 12%, 100% 100%, 12% 100%, 0 88%); box-shadow: var(--shadow-lg); object-fit: cover; aspect-ratio: 4 / 3.2; }
.about-media .accent { position: absolute; z-index: 1; background: var(--red); }
.about-media .accent-1 { right: 0; top: 14%; width: 70px; height: 62%; transform: skewY(-12deg); border-radius: 10px; }
.about-media .accent-2 { left: -14px; bottom: 6px; width: 90px; height: 90px; background: transparent; border: 4px solid var(--red); border-radius: 12px; opacity: .55; }
.lead-text { color: var(--muted); font-size: 1.05rem; line-height: 1.8; margin-bottom: 1.6rem; }
.about-points { list-style: none; padding: 0; margin: 0 0 2rem; display: flex; flex-wrap: wrap; gap: 1.2rem 2rem; }
.about-points li { display: flex; align-items: center; gap: .7rem; font-weight: 600; font-size: .9rem; line-height: 1.25; color: var(--black); }
.about-points i { color: var(--red); font-size: 2.2rem; }

/* ---------- 9. Service cards ---------- */
.service-card { position: relative; height: 100%; min-height: 230px; border-radius: var(--radius); overflow: hidden; background: var(--black); box-shadow: var(--shadow); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.service-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.service-card::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(11, 15, 18, .96) 8%, rgba(11, 15, 18, .55) 55%, rgba(11, 15, 18, .2)); transition: background .4s; }
.service-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); z-index: 3; }
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.service-card:hover img { transform: scale(1.12); }
.service-card:hover::after { transform: scaleX(1); }
.service-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: flex; align-items: center; gap: 1rem; padding: 1.3rem 1.4rem; color: #fff; }
.service-body > i { font-size: 2.2rem; color: #fff; flex: none; transition: color .3s, transform .3s var(--ease); }
.service-card:hover .service-body > i { color: var(--red); transform: scale(1.1); }
.service-body h3 { font-size: 1.1rem; margin: 0 0 .25rem; }
.service-body p { margin: 0; font-size: .87rem; color: rgba(255, 255, 255, .78); line-height: 1.45; }

/* ---------- 10. Why choose ---------- */
.why { background: radial-gradient(circle at 15% 20%, rgba(237, 28, 36, .18), transparent 45%), var(--black); padding: 90px 0; color: #fff; overflow: hidden; }
.why-media { position: relative; border-radius: 20px; overflow: hidden; box-shadow: 0 25px 60px rgba(0, 0, 0, .5); border: 1px solid rgba(255, 255, 255, .08); }
.why-media img { width: 100%; display: block; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .8s var(--ease); }
.why-media:hover img { transform: scale(1.06); }
.why-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(237, 28, 36, .22), transparent 55%); pointer-events: none; }
.benefit { display: flex; gap: 1rem; align-items: flex-start; padding: 1.2rem; border-radius: 14px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .06); height: 100%; transition: transform .3s var(--ease), border-color .3s, background .3s; }
.benefit:hover { transform: translateY(-4px); border-color: rgba(237, 28, 36, .6); background: rgba(237, 28, 36, .07); }
.benefit > i { font-size: 2.6rem; color: var(--red); line-height: 1; flex: none; transition: transform .35s var(--ease); }
.benefit:hover > i { transform: scale(1.12) rotate(-5deg); }
.benefit h3 { font-size: 1.05rem; margin: 0 0 .3rem; color: #fff; }
.benefit p { margin: 0; color: rgba(255, 255, 255, .7); font-size: .9rem; }

/* ---------- 11. Process timeline ---------- */
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); text-align: center; counter-reset: step; }
.process li { position: relative; padding: 0 .6rem; }
.step-icon { display: inline-grid; place-items: center; width: 78px; height: 78px; border-radius: 50%; background: #fff; border: 2px solid #e2e5e9; color: var(--black); font-size: 1.9rem; position: relative; z-index: 2; box-shadow: var(--shadow); transition: background .3s, color .3s, border-color .3s, transform .35s var(--ease); margin-bottom: 1rem; }
.process li:hover .step-icon { background: var(--red); color: #fff; border-color: var(--red); transform: translateY(-5px) scale(1.06); }
.process h3 { font-size: 1rem; margin-bottom: .3rem; color: var(--black); }
.process p { margin: 0; color: var(--muted); font-size: .88rem; }
/* connector arrows between steps (desktop) */
.process li:not(:last-child)::after { content: "\F138"; font-family: "bootstrap-icons"; position: absolute; top: 24px; right: -14px; width: 28px; text-align: center; color: var(--red); font-size: 1.3rem; z-index: 3; background: #fff; }
.process li:not(:last-child)::before { content: ""; position: absolute; top: 38px; left: calc(50% + 46px); right: calc(-50% + 46px); border-top: 2px dashed #cfd4d9; }
/* vertical timeline (mobile/tablet) */
@media (max-width: 767.98px) {
  .process { grid-template-columns: 1fr; text-align: left; gap: 0; position: relative; padding-left: 0; }
  .process li { display: grid; grid-template-columns: 78px 1fr; column-gap: 1.2rem; align-items: center; padding: 0 0 1.8rem; }
  .step-icon { grid-row: span 2; margin: 0; width: 64px; height: 64px; font-size: 1.5rem; justify-self: center; }
  .process li:not(:last-child)::after { display: none; }
  .process li:not(:last-child)::before { top: 64px; bottom: 0; left: 39px; right: auto; border-top: 0; border-left: 2px dashed var(--red); }
  .process h3, .process p { grid-column: 2; }
}

/* ---------- 12. Brands ---------- */
.brands { padding: 10px 0 80px; background: #fff; }
.brand-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .9rem; }
.brand-list li { flex: 0 1 auto; }
.brand-mark { display: inline-flex; align-items: center; gap: .45rem; padding: .7rem 1.1rem; border-radius: 12px; border: 1px solid #e6e8ec; background: #fff; font-family: 'Poppins', sans-serif; font-weight: 700; font-size: .95rem; color: #8b939a; filter: grayscale(1); opacity: .8; transition: filter .35s, opacity .35s, color .35s, transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.brand-list li:hover .brand-mark { filter: none; opacity: 1; color: var(--bc, var(--red)); border-color: var(--bc, var(--red)); transform: translateY(-3px); box-shadow: var(--shadow); }
.brand-more .brand-mark { border-style: dashed; filter: none; }
@media (max-width: 575.98px) { .brand-mark { font-size: .82rem; padding: .55rem .8rem; } }

/* ---------- 13. Testimonials ---------- */
.testimonials { background: var(--black); padding: 90px 0; }
.sample-note { display: inline-block; margin: 0; padding: .45rem 1rem; border-radius: 50rem; background: rgba(237, 28, 36, .12); color: #ffb3b6; font-size: .85rem; border: 1px dashed rgba(237, 28, 36, .5); }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.review-card { margin: 0; background: #fff; border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-lg); border-top: 4px solid var(--red); transition: transform .35s var(--ease); display: block; }
.review-card:hover { transform: translateY(-6px); }
.review-card figcaption { display: flex; align-items: center; gap: .9rem; margin-bottom: 1rem; }
.avatar { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--black); color: #fff; font-family: 'Poppins', sans-serif; font-weight: 600; font-size: .9rem; border: 2px solid var(--red); flex: none; }
.stars { color: #f5a623; font-size: .85rem; display: flex; gap: 2px; margin-top: .2rem; }
.review-card blockquote { margin: 0; color: var(--text); font-size: .95rem; line-height: 1.65; }
/* tablet: 2 columns (third card spans), mobile: one review per row */
@media (max-width: 991.98px) { .review-grid { grid-template-columns: repeat(2, 1fr); } .review-card:last-child { grid-column: span 2; } }
@media (max-width: 575.98px) { .review-grid { grid-template-columns: 1fr; } .review-card:last-child { grid-column: auto; } }

/* ---------- 14. CTA ---------- */
.cta { background: #fff; padding: 70px 0; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; right: -120px; top: -80px; width: 380px; height: 380px; background: var(--red); transform: rotate(35deg); opacity: .07; border-radius: 40px; }
.cta h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); color: var(--black); }
.cta-sub { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: clamp(1.4rem, 3vw, 2rem); margin: .4rem 0 .6rem; color: var(--black); }
.cta-media { position: relative; display: inline-block; }
.cta-media img { position: relative; z-index: 2; max-width: 100%; border-radius: 14px; transition: transform .6s var(--ease); }
.cta-media:hover img { transform: translateX(8px) scale(1.03); }
.cta-ring { position: absolute; z-index: 1; inset: 12% 8% -8% 8%; border-radius: 50%; background: radial-gradient(circle, rgba(237, 28, 36, .25), transparent 70%); }
@media (max-width: 991.98px) { .cta .col-lg-4 { text-align: center; } .cta .eyebrow { justify-content: center; } }

/* ---------- 15. Gallery ---------- */
.gallery { background: var(--gray); padding: 90px 0; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.g-item { position: relative; border: 0; padding: 0; background: var(--black); border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 3; cursor: zoom-in; }
.g-item:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.g-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s var(--ease); }
.g-overlay { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(to top, rgba(237, 28, 36, .75), rgba(11, 15, 18, .55)); opacity: 0; transition: opacity .35s; color: #fff; font-size: 2rem; }
.g-item:hover img, .g-item:focus-visible img { transform: scale(1.12); }
.g-item:hover .g-overlay, .g-item:focus-visible .g-overlay { opacity: 1; }
@media (max-width: 767.98px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: .6rem; } .g-item:first-child { grid-column: span 2; grid-row: auto; aspect-ratio: 16 / 10; } }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 2000; background: rgba(5, 7, 9, .94); display: flex; align-items: center; justify-content: center; padding: 1rem; opacity: 0; transition: opacity .3s; }
.lightbox[hidden] { display: none; }
.lightbox.show { opacity: 1; }
.lb-figure { margin: 0; max-width: min(1000px, 86vw); text-align: center; }
.lb-figure img { max-width: 100%; max-height: 78vh; border-radius: 12px; box-shadow: 0 20px 60px rgba(0, 0, 0, .6); }
.lb-figure figcaption { color: #fff; margin-top: .9rem; font-weight: 500; }
.lb-btn { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; font-size: 1.2rem; transition: background .25s; }
.lb-btn:hover { background: var(--red); }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
@media (max-width: 575.98px) { .lb-figure { max-width: 100%; } .lb-prev { left: 6px; } .lb-next { right: 6px; } .lb-btn { width: 40px; height: 40px; } }

/* ---------- 16. Contact ---------- */
.contact-card, .contact-form { background: #fff; border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow); height: 100%; }
.contact-list { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 1.1rem; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-list li > i { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 12px; background: rgba(237, 28, 36, .1); color: var(--red); font-size: 1.15rem; }
.contact-list strong { display: block; color: var(--black); font-size: .9rem; }
.contact-list a, .contact-list span { color: var(--muted); font-size: .95rem; word-break: break-word; }
.contact-list a:hover { color: var(--red); }
.map-box { margin-top: 1.4rem; min-height: 190px; border-radius: 14px; background: repeating-linear-gradient(45deg, #eef0f3, #eef0f3 12px, #e7eaee 12px, #e7eaee 24px); border: 2px dashed #c6ccd3; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 1rem; color: var(--muted); }
.map-box i { font-size: 2rem; color: var(--red); }
.map-box p { margin: .3rem 0 0; font-weight: 600; color: var(--black); }
.map-box iframe { width: 100%; height: 100%; min-height: 220px; border: 0; border-radius: 12px; }
.form-label { font-weight: 600; font-size: .88rem; color: var(--black); }
.form-control, .form-select { border-radius: 10px; padding: .75rem 1rem; border: 1.5px solid #dde1e6; background-color: #fbfbfc; transition: border-color .25s, box-shadow .25s; }
.form-control:focus, .form-select:focus { border-color: var(--red); box-shadow: 0 0 0 .25rem rgba(237, 28, 36, .15); background: #fff; }
.form-status { padding: .8rem 1rem; border-radius: 10px; background: #e7f7ee; color: #14633a; font-weight: 500; font-size: .92rem; }
.form-note { margin: .6rem 0 0; font-size: .8rem; color: var(--muted); }

/* ---------- 17. Footer ---------- */
.site-footer { background: var(--black); color: rgba(255, 255, 255, .72); padding: 70px 0 0; border-top: 3px solid var(--red); }
.footer-logo { height: 58px; width: auto; margin-bottom: 1rem; }
.footer-text { font-size: .92rem; line-height: 1.7; max-width: 340px; }
.footer-title { color: #fff; font-size: 1.05rem; margin-bottom: 1.2rem; position: relative; padding-bottom: .7rem; }
.footer-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 3px; background: var(--red); border-radius: 3px; }
.footer-links, .footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; font-size: .92rem; }
.footer-links a, .footer-contact a { color: rgba(255, 255, 255, .72); transition: color .25s, padding .25s; }
.footer-links a:hover, .footer-contact a:hover { color: var(--red); padding-left: 5px; }
.footer-contact li { display: flex; gap: .7rem; align-items: flex-start; }
.footer-contact i { color: var(--red); margin-top: .2rem; }
.social { display: flex; gap: .6rem; margin-top: 1.2rem; }
.social a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .08); color: #fff; transition: background .25s, transform .25s var(--ease); }
.social a:hover { background: var(--red); transform: translateY(-3px); }
.footer-bottom { margin-top: 3rem; padding: 1.4rem 0; border-top: 1px solid rgba(255, 255, 255, .1); text-align: center; font-size: .88rem; }

/* ---------- 18. Floating buttons ---------- */
.float-whatsapp, .back-top { position: fixed; right: 20px; z-index: 1500; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 8px 22px rgba(0, 0, 0, .3); transition: transform .3s var(--ease), opacity .3s, visibility .3s; }
.float-whatsapp { bottom: 20px; background: #25D366; color: #fff; font-size: 1.7rem; }
.float-whatsapp::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366; animation: pulse 2.2s infinite; }
.float-whatsapp:hover { transform: scale(1.1); color: #fff; }
.back-top { bottom: 86px; background: var(--red); color: #fff; border: 0; font-size: 1.2rem; opacity: 0; visibility: hidden; transform: translateY(12px); }
.back-top.show { opacity: 1; visibility: visible; transform: none; }
.back-top:hover { background: var(--red-dark); transform: translateY(-3px); }
@keyframes pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.6); opacity: 0; } }

/* ---------- 19. Scroll reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 110ms); }
[data-reveal="left"] { transform: translateX(-40px); }
[data-reveal="right"] { transform: translateX(40px); }
[data-reveal].in-view { opacity: 1; transform: none; }
@media (max-width: 767.98px) { [data-reveal="left"], [data-reveal="right"] { transform: translateY(32px); } }

/* ---------- 20. Reduced motion & no-JS ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  [data-reveal], .reveal-hero { opacity: 1 !important; transform: none !important; }
  .hero-bg { transform: none; }
}
.no-js [data-reveal], .no-js .reveal-hero { opacity: 1; transform: none; }




/* Google Reviews Section */

.testimonials {
  background: #0b1014;
  padding: 90px 0;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.review-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px;
  margin: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid #e9edf2;
  box-shadow: 0 12px 35px rgba(0,0,0,.12);
  transition: transform .3s ease, box-shadow .3s ease;
}

.review-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 18px 45px rgba(237,28,36,.15);
}

.review-card figcaption {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.review-customer {
  display: flex;
  align-items: center;
  gap: 13px;
}

.review-customer strong {
  display: block;
  font-size: 16px;
  color: #16191e;
  font-weight: 700;
}

.review-customer small {
  display: block;
  font-size: 12px;
  color: #7b8390;
  margin: 3px 0 5px;
}

.review-card .avatar {
  width: 54px;
  height: 54px;
  min-width: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 23px;
  color: #fff;
  overflow: hidden;
}

.review-card .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar-brown { background: #947268; }
.avatar-pink  { background: #eb4184; }
.avatar-green { background: #397a29; }
.avatar-dark { background: #171a1f; }

.review-card .stars {
  display: flex;
  gap: 3px;
  color: #fbbc04;
  font-size: 13px;
}

.google-review-logo {
  width: 29px;
  height: 29px;
  object-fit: contain;
  flex-shrink: 0;
}

.review-card blockquote {
  font-size: 14px;
  line-height: 1.85;
  color: #505967;
  margin: 0 0 22px;
  flex-grow: 1;
}

.review-source {
  color: #8a929d;
  font-size: 12px;
  border-top: 1px solid #edf0f3;
  padding-top: 15px;
}

@media (max-width: 767px) {
  .testimonials {
    padding: 65px 0;
  }

  .review-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .review-card {
    padding: 22px;
  }
}
