:root{--navy:#0b1f33;--blue:#165d8d;--gold:#c8a96b;--text:#243746;--muted:#6b7c89;--light:#f6f9fc}html{scroll-behavior:smooth;scroll-padding-top:90px}body{font-family:"Noto Sans JP","Hiragino Kaku Gothic ProN",Meiryo,sans-serif;color:var(--text)}
#siteHeader {
    background: rgba(11, 31, 51, 0.95);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: box-shadow .3s, border-color .3s;
}
#siteHeader.is-scrolled{border-bottom-color:rgba(200,169,107,.45);box-shadow:0 8px 30px rgba(11,31,51,.14)}
.logo-image{width:48px;height:48px;object-fit:cover;object-position:center;border-radius:50%;border:1px solid rgba(200,169,107,.5)}.logo-mark-footer{width:52px;height:52px;overflow:hidden;border-radius:50%;border:1px solid #c8a96b80}.logo-mark-footer .logo-image{width:100%;height:100%}.nav-link,.mobile-nav-link{color:var(--navy);transition:color .2s}.nav-link:hover,.mobile-nav-link:hover{color:var(--blue)}.lang-btn{border:1px solid #dce4ea;border-radius:999px;padding:.4rem .75rem;font-size:.75rem;font-weight:700;color:var(--navy)}.lang-btn.active{background:var(--navy);border-color:var(--navy);color:#fff}.section-eyebrow{display:flex;align-items:center;gap:.65rem;color:#a17b37;font-size:.75rem;font-weight:800;letter-spacing:.16em}.section-eyebrow:before{content:"";width:24px;height:1px;background:var(--gold)}.section-title{font-size:clamp(1.8rem,3vw,2.65rem);font-weight:900;letter-spacing:.02em;color:var(--navy);line-height:1.35}.section-desc{max-width:48rem;margin:1rem auto 0;color:var(--muted);line-height:1.9}.text-gradient{background:linear-gradient(100deg,#165d8d,#c8a96b);-webkit-background-clip:text;background-clip:text;color:transparent}.btn-primary,.btn-secondary{display:inline-flex;align-items:center;gap:.65rem;border-radius:999px;padding:.9rem 1.45rem;font-weight:800;transition:transform .2s,box-shadow .2s}.btn-primary{background:var(--navy);color:#fff;box-shadow:0 8px 22px #0b1f3326}.btn-secondary{border:1px solid #d7e0e7;color:var(--navy);background:#fff}.btn-primary:hover,.btn-secondary:hover{transform:translateY(-2px)}.hero-grid{background-image:linear-gradient(rgba(11,31,51,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(11,31,51,.08) 1px,transparent 1px);background-size:52px 52px;mask-image:linear-gradient(to bottom,black,transparent 88%)}.hero-card{box-shadow:0 24px 70px rgba(11,31,51,.12)}.hero-mini-card{min-height:130px;padding:1rem;border:1px solid #e8edf1;border-radius:1rem;background:rgba(255,255,255,.88)}.service-icon{display:grid;place-items:center;width:2.75rem;height:2.75rem;border-radius:.9rem;font-size:1.35rem}.check-icon{display:grid;place-items:center;width:1.35rem;height:1.35rem;border-radius:50%;background:#e8f3f6;color:var(--blue);font-size:.75rem;font-weight:900}.trust-item{display:flex;align-items:center;gap:.85rem;padding:1.35rem .85rem;border-right:1px solid #edf0f2}.trust-number{color:#b18d4d;font-size:.75rem;font-weight:900;letter-spacing:.08em}.service-card{overflow:hidden;border:1px solid #e8edf1;border-radius:1.25rem;background:#fff;box-shadow:0 10px 35px #0b1f330f;transition:transform .25s,box-shadow .25s}.service-card:hover{transform:translateY(-5px);box-shadow:0 18px 45px #0b1f331a}.service-card-top{position:relative;height:190px;overflow:hidden}.service-card-top img{width:100%;height:100%;object-fit:cover;transition:transform .5s}.service-card:hover .service-card-top img{transform:scale(1.035)}.service-photo-label{position:absolute;left:1rem;bottom:1rem;padding:.4rem .75rem;background:#0b1f33d9;color:#fff;border-radius:999px;font-size:.7rem;font-weight:800;letter-spacing:.1em}.service-no{position:absolute;right:1rem;top:1rem;color:#fff;background:#0b1f33c9;padding:.35rem .65rem;border-radius:999px;font-size:.75rem;font-weight:800}.service-bullet{display:flex;align-items:center;gap:.55rem;color:#3e505e}.service-bullet:before{content:"✓";display:grid;place-items:center;width:1.25rem;height:1.25rem;border-radius:50%;background:#edf5f8;color:var(--blue);font-size:.7rem;font-weight:900}.service-link{display:flex;align-items:center;justify-content:space-between;color:var(--blue);font-weight:800}.mini-service{padding:1rem;border:1px solid #edf0f2;border-radius:.85rem;background:#fff}.about-visual{position:relative;min-height:390px;background:radial-gradient(circle at 80% 15%,#165d8d 0,transparent 35%),linear-gradient(145deg,#0b1f33,#123856);color:#fff}.number-box{display:grid;place-items:center;width:2.6rem;height:2.6rem;flex:0 0 auto;border-radius:.8rem;background:#edf5f8;color:var(--blue);font-size:.8rem;font-weight:900}.license-card{height:100%;padding:2rem;border:1px solid #e4eaf0;border-radius:1.2rem;background:#fff;box-shadow:0 10px 30px rgba(11,31,51,.05)}.permit-number{margin-top:1rem;color:var(--navy);font-size:clamp(1.3rem,2.4vw,1.8rem);font-weight:900;letter-spacing:.05em}.company-row{display:grid;grid-template-columns:5.2rem 1fr;gap:.7rem;padding:.65rem 0;border-bottom:1px solid #edf0f2}.company-row span{color:var(--muted)}.company-row strong{color:var(--navy);font-weight:700}.contact-option{display:flex;align-items:center;gap:1rem;padding:1rem;border:1px solid #e8edf1;border-radius:1rem;background:#fff;transition:transform .2s,box-shadow .2s}.contact-option:hover{transform:translateY(-2px);box-shadow:0 8px 24px rgba(11,31,51,.08)}.contact-option-icon{display:grid;place-items:center;width:2.8rem;height:2.8rem;flex:0 0 auto;border-radius:.85rem;font-size:1.15rem;font-weight:900}.contact-form-wrap{height:100%;padding:clamp(1.4rem,3vw,2.5rem);border:1px solid #e8edf1;border-radius:1.3rem;background:#fff;box-shadow:0 12px 40px rgba(11,31,51,.07)}.form-group label{display:block;margin-bottom:.5rem;color:var(--navy);font-size:.9rem;font-weight:700}.form-input{width:100%;border:1px solid #d8e0e6;border-radius:.65rem;background:#fff;padding:.8rem .9rem;color:var(--text);outline:none}.form-input:focus{border-color:var(--blue);box-shadow:0 0 0 3px #165d8d1c}.form-input[aria-invalid="true"]{border-color:#c2413b}.privacy-check{margin-top:.2rem;accent-color:var(--navy)}.form-status{display:none;margin-top:1rem;border-radius:.7rem;padding:.85rem 1rem;font-size:.9rem;line-height:1.6}.form-status.is-visible{display:block}.form-status.error{background:#fff1f0;color:#9b2823}.form-status.success{background:#eef8f0;color:#245c31}.footer-heading{margin-bottom:1rem;color:#fff;font-size:.8rem;font-weight:800;letter-spacing:.12em}.footer-links{display:grid;gap:.75rem;color:rgba(255,255,255,.65);font-size:.875rem}.toast{display:none}.mobile-menu{padding-bottom:.25rem}@media(max-width:640px){.service-card-top{height:165px}.section-desc{font-size:.95rem}.trust-item{gap:.55rem;padding:.9rem .35rem;border-right:0;border-bottom:1px solid #edf0f2}.hero-mini-card{min-height:118px}.about-visual{min-height:330px}}@media(min-width:641px) and (max-width:1023px){.trust-item:nth-child(2){border-right:0}}

.service-card-top.is-icon{display:grid;place-items:center;height:150px}
.service-large-icon{display:grid;place-items:center;width:4.5rem;height:4.5rem;border-radius:1.2rem;font-size:2rem}
.service-soon{background:#f1f4f7;border-style:dashed;box-shadow:none}
.service-soon:hover{transform:none;box-shadow:none}
.service-soon .service-large-icon{filter:grayscale(.7);opacity:.7}
.service-soon h3,.service-soon p{color:#8a98a4}
.vhero{background:radial-gradient(circle at 85% 10%,#165d8d 0,transparent 40%),linear-gradient(145deg,#0b1f33,#123856);color:#fff}
.veh-grid{display:grid;gap:1.25rem;grid-template-columns:1fr}
@media(min-width:560px){.veh-grid{grid-template-columns:repeat(2,1fr)}}
@media(min-width:1024px){.veh-grid{grid-template-columns:repeat(3,1fr)}}
.veh-card{overflow:hidden;border:1px solid #e8edf1;border-radius:1.25rem;background:#fff;box-shadow:0 10px 35px #0b1f330f;transition:transform .25s,box-shadow .25s}
.veh-card:hover{transform:translateY(-5px);box-shadow:0 18px 45px #0b1f331a}
.veh-card[hidden]{display:none}
.veh-card img{width:100%;aspect-ratio:3/2;object-fit:cover;display:block}
.veh-card.is-sold img{filter:grayscale(1);opacity:.65}
.tag{display:inline-block;margin-right:.4rem;padding:.15rem .7rem;border-radius:999px;background:#edf5f8;color:var(--blue);font-size:.72rem;font-weight:800}
.tag-ok{background:#e8f6ec;color:#245c31}.tag-sold{background:#e5e9ed;color:#55646f}
.price{margin-top:.25rem;color:var(--navy);font-size:1.5rem;font-weight:900}
.spec{display:grid;grid-template-columns:auto 1fr;gap:.3rem .8rem;margin-top:.8rem;padding-top:.8rem;border-top:1px solid #edf0f2;font-size:.85rem}
.spec dt{color:var(--muted)}.spec dd{text-align:right;font-weight:700;color:var(--navy)}
.filter-btn{border:1px solid #dce4ea;border-radius:999px;background:#fff;padding:.5rem 1.2rem;font-size:.85rem;font-weight:700;color:var(--navy);transition:all .2s}
.filter-btn:hover{border-color:var(--blue);color:var(--blue)}
.filter-btn.active{background:var(--navy);border-color:var(--navy);color:#fff}
.quick{position:fixed;right:1.25rem;bottom:calc(1.25rem + env(safe-area-inset-bottom));z-index:60;display:flex;flex-direction:column;gap:.75rem}
.q-btn{display:flex;align-items:center;justify-content:center;width:3rem;height:3rem;border-radius:50%;color:#fff;font-size:.65rem;font-weight:900;box-shadow:0 6px 16px rgba(11,31,51,.28);transition:transform .2s,box-shadow .2s}
.q-btn:hover{transform:scale(1.1)}
:focus-visible{outline:3px solid var(--blue);outline-offset:2px}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

.vehSwiper .swiper-slide img{cursor:zoom-in}



.vehSwiper{--swiper-pagination-color:#fff;--swiper-pagination-bullet-inactive-color:#fff;--swiper-pagination-bullet-inactive-opacity:.55}

/* Keep service-card anchors visible below the fixed site header. */
html{scroll-padding-top:96px}
@media(max-width:640px){html{scroll-padding-top:76px}}

/* Home service rows: clearer separation and a distinct but coordinated accent for each brand. */
.ranrin-services-list{row-gap:clamp(4rem,8vw,6rem)}
.ranrin-services-list>#service-auto{--service-accent:#2478c4;--service-accent-dark:#14508a;--service-soft:#eef7ff;--service-edge:#9ac8e9}
.ranrin-services-list>#service-recycle{--service-accent:#11966e;--service-accent-dark:#087452;--service-soft:#eff9f4;--service-edge:#9ed7bb}
.ranrin-services-list>#service-mart{--service-accent:#e87a15;--service-accent-dark:#a9430d;--service-soft:#fff7e9;--service-edge:#f4d6a6}
.ranrin-services-list>.service-card{position:relative;isolation:isolate;scroll-margin-block:1.5rem;overflow:visible;border:0;border-radius:0;background:transparent;box-shadow:none;transform:none;transition:none}
.ranrin-services-list>.service-card::before{display:none;content:none}
.ranrin-services-list>.service-card .service-card-visual{position:relative;isolation:isolate;overflow:hidden;border:2px solid var(--service-edge);border-radius:1.75rem;background:linear-gradient(135deg,#fff 38%,var(--service-soft) 100%);box-shadow:0 20px 52px rgba(11,31,51,.12),0 3px 10px rgba(11,31,51,.05);transform:translate3d(0,0,0);transition:transform .18s cubic-bezier(.22,.61,.36,1),border-color .14s ease-out,box-shadow .16s ease-out}
.ranrin-services-list>.service-card:hover .service-card-visual{border-color:var(--service-accent);box-shadow:0 26px 64px rgba(11,31,51,.15);transform:translate3d(0,-4px,0)}
.ranrin-services-list>.service-card .service-card-visual::before{position:absolute;z-index:3;inset:0 0 auto;height:5px;border-radius:inherit;background:linear-gradient(90deg,var(--service-accent),var(--service-edge));content:"";pointer-events:none}
.ranrin-services-list>.service-card .service-card-top img,.ranrin-services-list>.service-card:hover .service-card-top img{transform:none;transition:none}
.ranrin-services-list>.service-card .service-card-top::after{position:absolute;inset:0;background:linear-gradient(180deg,rgba(11,31,51,.02) 35%,rgba(11,31,51,.45));content:"";pointer-events:none}
.ranrin-services-list>.service-card .service-photo-label{z-index:1;left:1.25rem;bottom:1.25rem;padding:.55rem .9rem;border:1px solid rgba(255,255,255,.35);background:rgba(11,31,51,.82);font-size:.72rem;letter-spacing:.14em}
.ranrin-services-list>.service-card .service-card-content{background:linear-gradient(145deg,#fff 5%,var(--service-soft) 145%)}
.ranrin-services-list>.service-card .service-heading-card{display:flex;align-items:center;gap:.9rem;border:1px solid var(--service-edge);border-radius:1.15rem;background:linear-gradient(110deg,var(--service-soft),#fff 78%);padding:.85rem 1rem;box-shadow:0 10px 26px rgba(11,31,51,.07)}
.ranrin-services-list>.service-card .service-heading-icon{display:grid;width:3.4rem;height:3.4rem;flex:0 0 3.4rem;place-items:center;border:1px solid rgba(255,255,255,.5);border-radius:1rem;background:linear-gradient(145deg,var(--service-accent),var(--service-accent-dark));color:#fff;box-shadow:0 8px 18px rgba(11,31,51,.14)}
.ranrin-services-list>.service-card .service-heading-icon svg{width:2rem;height:2rem}
.ranrin-services-list>.service-card .service-heading-card .service-card-eyebrow{width:auto;border:0;background:transparent;padding:0;color:var(--service-accent-dark);font-size:.62rem;letter-spacing:.16em}
.ranrin-services-list>.service-card .service-heading-card h3.service-card-title{margin:.18rem 0 0!important;border:0;background:transparent;padding:0;color:var(--service-accent-dark);font-size:clamp(1.35rem,2vw,1.8rem);font-weight:900;line-height:1.2;letter-spacing:.035em}
.ranrin-services-list>.service-card .service-card-category{display:block;margin-top:.3rem;color:#526575;font-size:.82rem;font-weight:700;line-height:1.5}
.ranrin-services-list>.service-card .service-heading-card h3::before,.ranrin-services-list>.service-card .service-heading-card h3::after{display:none!important;content:none!important}
.ranrin-services-list>.service-card .service-card-eyebrow{display:inline-flex;width:max-content;max-width:100%;align-items:center;border:1px solid var(--service-edge);border-radius:999px;background:var(--service-soft);padding:.4rem .75rem;color:var(--service-accent-dark);letter-spacing:.16em}
.ranrin-services-list>.service-card .service-card-title{margin-top:.45rem;color:#0b1f33;font-size:clamp(1.65rem,2.4vw,2.2rem);line-height:1.35;letter-spacing:-.02em}
.ranrin-services-list>.service-card .service-card-description{margin-top:1rem;border-left:3px solid var(--service-accent);border-radius:0 .9rem .9rem 0;background:linear-gradient(100deg,var(--service-soft),rgba(255,255,255,.84));padding:.9rem 1rem;color:#3e505e;font-size:.98rem;line-height:1.85}
.ranrin-services-list>.service-card .service-feature-list{display:grid;grid-template-columns:1fr;gap:.7rem;margin-top:1.35rem}
.ranrin-services-list>.service-card .service-feature-list>*{display:flex;min-height:3.35rem;align-items:center;gap:.7rem;margin:0!important;border:1px solid var(--service-edge);border-radius:.9rem;background:rgba(255,255,255,.88);padding:.65rem .8rem;color:#263b49;font-size:.9rem;line-height:1.5;box-shadow:0 5px 16px rgba(11,31,51,.045)}
.ranrin-services-list>.service-card .service-check{width:1.45rem;height:1.45rem;flex:0 0 1.45rem;border:1px solid var(--service-edge);background:var(--service-soft);color:var(--service-accent-dark);font-size:.8rem}
.ranrin-services-list>.service-card .service-cta{border:1px solid var(--service-accent-dark);border-radius:1rem;background:var(--service-accent-dark);box-shadow:0 10px 22px rgba(11,31,51,.14)}
.ranrin-services-list>.service-card:hover .service-cta{background:var(--service-accent)}
#service-mart .service-card-content{background:linear-gradient(145deg,#fff 0%,#fff6ef 100%)}
#service-mart .service-mart-mark{border-color:#f3d4c4;background:radial-gradient(circle at 30% 20%,#fff 0,#fff7ef 70%);box-shadow:0 20px 45px rgba(166,67,36,.12)}
#service-mart .service-mart-tags>span{border-color:#f3d4c4;background:#fffaf6;color:#8e4528}
@media(min-width:640px){.ranrin-services-list>.service-card .service-feature-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:639px){.ranrin-services-list>.service-card .service-card-visual{border-radius:1.3rem}.ranrin-services-list>.service-card .service-heading-card{gap:.7rem;padding:.8rem}.ranrin-services-list>.service-card .service-heading-icon{width:3rem;height:3rem;flex-basis:3rem;border-radius:.85rem}.ranrin-services-list>.service-card .service-heading-icon svg{width:1.8rem;height:1.8rem}.ranrin-services-list>.service-card .service-card-description{font-size:.94rem}.ranrin-services-list>.service-card .service-card-category{font-size:.76rem}.ranrin-services-list>.service-card .service-feature-list>*{min-height:3rem}}

/* Custom AUTO offer cards give the repair service a lead position and separate the two support offers. */
.auto-offers{margin-top:1.5rem}
.auto-offers-heading{display:flex;align-items:center;gap:.8rem;margin-bottom:.75rem;color:#14508a;font-size:.66rem;font-weight:900;letter-spacing:.14em}
.auto-offers-heading::after{height:1px;flex:1;background:linear-gradient(90deg,#9ac8e9,transparent);content:""}
.auto-offers-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:.75rem}
.auto-offer-card{position:relative;isolation:isolate;display:flex;min-width:0;min-height:6.5rem;align-items:center;gap:.85rem;overflow:hidden;border:1px solid #b8d7ed;border-radius:1.1rem;background:linear-gradient(135deg,#fff 0%,#f0f8ff 100%);padding:.9rem 1rem;box-shadow:0 8px 22px rgba(20,80,138,.08);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.auto-offer-card:hover{transform:translateY(-2px);border-color:#75b3df;box-shadow:0 14px 28px rgba(20,80,138,.14)}
.auto-offer-icon{position:relative;z-index:1;display:grid;width:3rem;height:3rem;flex:0 0 3rem;place-items:center;border:1px solid #d2e7f6;border-radius:1rem;background:linear-gradient(145deg,#eaf6ff,#d8edfc);color:#14508a;line-height:0}
.auto-offer-icon svg{display:block;width:1.75rem;height:1.75rem;min-width:1.75rem;max-width:none;flex:none;overflow:visible}
.auto-offer-copy{position:relative;z-index:1;min-width:0}
.auto-offer-kicker{display:block;margin-bottom:.25rem;color:#2478c4;font-size:.57rem;font-weight:900;letter-spacing:.13em;line-height:1.3}
.auto-offer-copy h4{margin:0;color:#123b60;font-size:1rem;font-weight:900;line-height:1.4;letter-spacing:.01em}
.auto-offer-copy p{margin:.2rem 0 0;color:#536b7e;font-size:.76rem;font-weight:600;line-height:1.55}
.auto-offer-primary{min-height:7.25rem;border-color:#14508a;background:linear-gradient(112deg,#14508a 0%,#1a67a4 55%,#2478c4 100%);box-shadow:0 14px 30px rgba(20,80,138,.2);color:#fff}
.auto-offer-primary:hover{border-color:#7cc0f7;box-shadow:0 18px 34px rgba(20,80,138,.26)}
.auto-offer-primary .auto-offer-icon{width:3.35rem;height:3.35rem;flex-basis:3.35rem;border-color:rgba(255,255,255,.25);background:rgba(255,255,255,.14);color:#fff}
.auto-offer-primary .auto-offer-icon svg{width:2rem;height:2rem;min-width:2rem}
.auto-offer-primary .auto-offer-kicker{color:#c4e5ff}
.auto-offer-primary .auto-offer-copy h4{color:#fff;font-size:1.16rem}
.auto-offer-primary .auto-offer-copy p{color:rgba(255,255,255,.82)}
.auto-offer-orbit{position:absolute;z-index:0;top:-3rem;right:-1.6rem;width:9rem;height:9rem;border:1px solid rgba(255,255,255,.17);border-radius:50%;pointer-events:none}
.auto-offer-orbit::after{position:absolute;inset:1rem;border:1px solid rgba(255,255,255,.12);border-radius:50%;content:""}
@media(min-width:1200px){.auto-offers-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.auto-offer-primary{grid-column:1/-1}}
@media(max-width:639px){.auto-offers{margin-top:1.2rem}.auto-offer-card{min-height:6rem;gap:.7rem;padding:.8rem}.auto-offer-icon{width:2.7rem;height:2.7rem;flex-basis:2.7rem;border-radius:.85rem}.auto-offer-copy h4{font-size:.95rem}.auto-offer-primary .auto-offer-copy h4{font-size:1.08rem}}

/* ==========================================================================
   RANRIN – MOBILE OPTIMIZE
   Cách dùng: dán toàn bộ file này vào CUỐI style.css (hoặc enqueue sau style.css).
   Không cần sửa HTML để CSS này hoạt động. Các sửa đổi PHP/JS nằm trong phần giải thích.
   ========================================================================== */

/* ---------- 0. Nền tảng ---------- */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{overflow-x:clip}                       /* chặn vỡ ngang do blur/orbit/translate */
#siteHeader{-webkit-backdrop-filter:blur(14px)} /* Safari cũ cần prefix */
img,svg,video{max-width:100%}

/* ---------- 1. FORM: chữ >= 16px để iOS KHÔNG tự zoom khi chạm vào ô nhập ---------- */
.form-input,
.contact-form-wrap input:not([type=checkbox]):not([type=radio]):not([type=submit]),
.contact-form-wrap textarea,
.contact-form-wrap select{font-size:16px;width:100%;min-height:48px;border-radius:.65rem}
.contact-form-wrap textarea{min-height:140px}
.contact-form-wrap input[type=submit],
.contact-form-wrap .wpcf7-submit{width:100%;min-height:50px;border-radius:999px;font-weight:800;cursor:pointer}
.wpcf7-form-control-wrap{display:block}
.wpcf7 p{margin-bottom:1rem}
.wpcf7-not-valid-tip{margin-top:.35rem;font-size:.82rem}

/* ---------- 2. Vùng chạm tối thiểu 44px ---------- */
#menuToggle{width:44px;height:44px}
.filter-btn{min-height:44px;display:inline-flex;align-items:center}
.footer-links a{display:inline-block;padding:.3rem 0}

/* ==========================================================================
   MOBILE  (<= 639px)
   ========================================================================== */
@media(max-width:639px){

  /* --- Khoảng cách giữa các section: py-24 (96px) quá lớn trên điện thoại --- */
  #services,#license,#contact{padding-block:3.25rem}
  #services .mb-14{margin-bottom:2rem}
  #license .mt-12{margin-top:2rem}
  .ranrin-services-list{row-gap:2.25rem!important}
  .section-title{font-size:1.55rem;line-height:1.45}
  .section-desc{font-size:.92rem;line-height:1.85;margin-top:.75rem}
  .section-eyebrow{font-size:.7rem}

  /* --- Header + menu mobile --- */
  #siteHeader .logo-image{width:40px;height:40px}
  #mobileMenu{max-height:calc(100svh - 5.5rem);overflow-y:auto;-webkit-overflow-scrolling:touch}
  #mobileMenu nav{gap:0!important}
  #mobileMenu .mobile-nav-link{display:flex;align-items:center;min-height:48px;padding:.5rem .25rem;font-size:1rem;border-bottom:1px solid #edf0f2}
  #mobileMenu .mobile-nav-link:last-child{border-bottom:0}

  /* --- HERO --- */
  #ranrinLanguageNav a,#ranrinLanguageNav>span{font-size:12px;min-width:72px}
  #home .hp-row{padding:.85rem .85rem .85rem 1.05rem}
  #home .hp-feat{font-size:.8rem;gap:.1rem .8rem}
  #home .hp-feat span:nth-child(n+3){display:none}   /* mobile chỉ hiện 2 ý đầu, hero gọn hơn */
  #home .hp-eyebrow{font-size:.66rem}
  #home .hp-panel{padding:1rem}

  /* --- AUTO --- */
  #services .au-left{gap:.85rem;padding:1rem 1rem 1.25rem}
  #services .au-photo img{aspect-ratio:16/10;height:auto;object-fit:cover}  /* ảnh 8000x6792 cao quá: cắt gọn lại */
  #services .au-brand-title{font-size:1.35rem}
  #services .au-intro{font-size:.9rem;line-height:1.8}
  #services .au-slogan{font-size:1.12rem;padding-top:.85rem!important}
  #services .au-slogan::after{animation:none;transform:none;opacity:1}   /* bớt animation vô hạn, đỡ tốn pin */
  #services .au-right{padding:1.1rem 1rem 1.25rem}
  #services .au-zone-head{padding:.65rem .85rem}
  #services .au-zone-head h5{font-size:1rem}
  #services .au-item{padding:.75rem .85rem}
  #services .au-item p{font-size:.85rem}
  #services .au-tags{padding:.75rem .85rem .9rem}
  #services .au-tags li{font-size:.82rem}
  #services .au-cta-wrap{padding-top:1.1rem}
  #services .au-cta{min-height:52px;font-size:1rem}

  /* --- RECYCLE: bỏ backdrop-filter (nặng với máy yếu), tăng độ đậm nền để vẫn dễ đọc --- */
  #services .rc-inner{padding:1.25rem 1rem;gap:1.25rem}
  #services .rc-topline{flex-direction:column;align-items:flex-start;gap:.4rem;padding-bottom:.85rem}
  #services .rc-topline-label{font-size:.7rem;letter-spacing:.14em}
  #services .rc-topline-note{text-align:left;font-size:.85rem}
  #services .rc-pill,#services .rc-materials li,#services .rc-feat,#services .rc-process{-webkit-backdrop-filter:none;backdrop-filter:none}
  #services .rc-feat{background:rgba(3,39,28,.84);padding:.9rem 1rem;font-size:.95rem;animation:none;gap:.8rem}
  #services .rc-materials li{background:rgba(3,35,25,.8);font-size:.85rem}
  #services .rc-process{background:rgba(3,35,25,.78)}
  #services .rc-desc{font-size:.95rem;line-height:1.85}
  #services .rc-lead{font-size:1.2rem}
  #services .rc-cta{display:flex;width:100%;justify-content:space-between;min-height:52px;margin-top:1.25rem}
  #services .rc-step-copy small{font-size:.8rem}

  /* --- MART --- */
  #service-mart .service-card-visual>div:first-child{min-height:210px;padding:1.5rem}
  #service-mart .service-mart-mark{width:7rem;height:7rem;border-radius:1.5rem}
  #service-mart .service-mart-mark svg{width:4.4rem;height:4.4rem}
  #service-mart .service-card-content{padding:1.25rem}

  /* --- LICENSE / COMPANY --- */
  .license-card{padding:1.1rem}
  .company-row{grid-template-columns:4.4rem 1fr;gap:.5rem;font-size:.88rem}
  .company-row strong{overflow-wrap:anywhere}
  .permit-number{font-size:1.25rem}

  /* --- CONTACT --- */
  .contact-option{padding:.85rem;gap:.8rem;min-height:64px}
  .contact-option-icon{width:2.6rem;height:2.6rem}
  .contact-form-wrap{padding:1.1rem}

  /* --- FOOTER --- */
  footer .grid{gap:2rem!important}
  footer .py-16{padding-block:2.5rem}

  /* --- Nút liên hệ nổi: sát mép hơn, tránh che nội dung + tránh thanh home iPhone --- */
  #quickContactMenu{right:1rem;bottom:calc(1rem + env(safe-area-inset-bottom))}
  #quickToggleBtn{width:52px;height:52px}

  /* --- TRANG XE: bộ lọc cuộn ngang, thẻ dịch vụ thu gọn thành hàng ngang --- */
  #vehicle-list [role=group][aria-label=Filter]{flex-wrap:nowrap;overflow-x:auto;margin-inline:-1.25rem;padding-inline:1.25rem;scrollbar-width:none}
  #vehicle-list [role=group][aria-label=Filter]::-webkit-scrollbar{display:none}
  #vehicle-list .filter-btn{flex:none;white-space:nowrap}

  section[aria-labelledby=autoServicesTitle] article{display:grid;grid-template-columns:3.25rem 1fr;column-gap:.9rem;align-items:center;padding:.9rem 1rem}
  section[aria-labelledby=autoServicesTitle] article>span{grid-row:1/3;width:3.25rem;height:3.25rem;margin:0;border-radius:1rem}
  section[aria-labelledby=autoServicesTitle] article h3{font-size:1.02rem;line-height:1.4}
  section[aria-labelledby=autoServicesTitle] article p{margin-top:.2rem;font-size:.85rem;line-height:1.6}
  section[aria-labelledby=autoServicesTitle] .mt-8.grid{gap:.7rem}

  .veh-grid{gap:1rem}
  .veh-card .p-5{padding:1rem}
  .price{font-size:1.4rem}
  .spec{font-size:.9rem}
}

/* ---------- Thiết bị cảm ứng: tooltip chỉ hiện khi hover nên ẩn đi; bớt hiệu ứng nâng thẻ ---------- */
@media(hover:none){
  #quickContactList a>span.absolute{display:none}
  .service-card:hover .service-card-visual,
  .veh-card:hover,.contact-option:hover{transform:none}
}

/* Chữ quá nhỏ (9-10px) trên điện thoại: nâng nhẹ để dễ đọc */
@media(max-width:639px){
  html body .text-\[9px\]{font-size:10.5px}
  html body .text-\[10px\]{font-size:11px}
  html body .text-\[11px\]{font-size:12px}
}