/* ============================================================
   Fukuoka Mobile — palette theo brand (logo xanh cyan + accent cam)
   ============================================================ */
:root {
  --blue: #0a6fb5;
  --blue-bright: #1ca0e3;
  --cyan-soft: #eaf7fe;
  --accent: #f15a24;   /* cam-đỏ tiêu đề brand */
  --accent-dark: #d8431a;
  --line-green: #06c755;
  --ink: #16242e;
  --muted: #5b6b76;
  --bg: #ffffff;
  --bg-alt: #f3f9fd;
  --border: #e1ebf2;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(10, 111, 181, .10);
  --font: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", "Segoe UI", system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; }
body { font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; }
img { max-width: 100%; display: block; }
.container { width: min(1120px, 92%); margin: 0 auto; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4em;
  padding: .7em 1.4em; border-radius: 999px; font-weight: 700; font-size: .95rem;
  text-decoration: none; cursor: pointer; border: 0; transition: transform .15s, box-shadow .15s; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 4px 14px rgba(10,111,181,.35); }
.btn--accent { background: var(--accent); color: #fff; box-shadow: 0 4px 14px rgba(241,90,36,.35); }
.btn--line { background: var(--line-green); color: #fff; }
.btn--ghost { background: #fff; color: var(--blue); border: 1.5px solid var(--border); }

/* ---------- header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.95);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.header__inner { display: flex; align-items: center; gap: 1rem; height: 64px; }
.brand { display: flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--ink); }
.brand__logo { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.brand__name { font-weight: 800; font-size: 1.05rem; color: var(--blue); white-space: nowrap; }
.nav { display: flex; gap: 1.3rem; margin-left: auto; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: .92rem; }
.nav a:hover { color: var(--blue); }
.header__actions { display: flex; align-items: center; gap: .6rem; margin-left: 1rem; }
.lang-switch { padding: .35em .6em; border-radius: 8px; border: 1.5px solid var(--border); background: #fff; font: inherit; }
.nav-toggle { display: none; font-size: 1.4rem; background: none; border: 0; cursor: pointer; color: var(--blue); }

/* ---------- hero / slider ---------- */
.hero { background: linear-gradient(180deg, var(--cyan-soft), #fff); }
.slider { position: relative; overflow: hidden; }
.slides { display: flex; transition: transform .5s ease; }
.slide { min-width: 100%; height: clamp(300px, 46vw, 460px); display: grid; place-items: center;
  color: #fff; text-align: center; padding: 1.5rem; position: relative; overflow: hidden; }
.slide--intro { background: linear-gradient(135deg, #1ca0e3, #0a6fb5); }
.slide--repair { background: linear-gradient(135deg, #0a6fb5, #073f73); }
.slide--buy { background: linear-gradient(135deg, #f7913d, #e8431f); }
.slide--board { background: linear-gradient(135deg, #16242e, #0a6fb5); }
.slide--partner { background: linear-gradient(135deg, #0e5c52, #0a6fb5); }
a.slide { text-decoration: none; color: #fff; }
.slide--photo { background-size: cover; background-position: center; padding-left: clamp(2.5rem, 6vw, 5rem); }
.slide--photo .slide__content { align-items: flex-start; text-align: left; margin: 0 auto 0 0; max-width: min(560px, 72%); }
.slide--photo .slide__emoji { display: none; }
.slide__content { max-width: 640px; display: flex; flex-direction: column; align-items: center; gap: .6rem; }
.slide__emoji { font-size: clamp(2.4rem, 7vw, 3.6rem); filter: drop-shadow(0 3px 8px rgba(0,0,0,.25)); }
.slide__logo { width: clamp(54px, 9vw, 72px); height: clamp(54px, 9vw, 72px); border-radius: 50%; object-fit: cover; box-shadow: 0 3px 12px rgba(0,0,0,.25); }
.slide__badge { background: rgba(255,255,255,.22); border: 1px solid rgba(255,255,255,.5);
  padding: .25em 1em; border-radius: 999px; font-size: .8rem; font-weight: 700; letter-spacing: .03em; }
.slide__title { font-size: clamp(1.5rem, 5.5vw, 2.6rem); font-weight: 800; line-height: 1.2; text-shadow: 0 2px 10px rgba(0,0,0,.25); }
.slide__sub { font-size: clamp(.9rem, 2.6vw, 1.15rem); opacity: .95; }
.slide__points { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem .9rem; justify-content: center;
  font-size: clamp(.85rem, 2.4vw, 1.05rem); font-weight: 600; }
.slide__points li { background: rgba(255,255,255,.16); padding: .3em .9em; border-radius: 999px; }
.slide__chips { display: flex; gap: .5rem; flex-wrap: wrap; justify-content: center; margin-top: .3rem; }
.slide__chips span { background: rgba(255,255,255,.95); color: #0a6fb5; font-weight: 700;
  padding: .3em .9em; border-radius: 8px; font-size: .85rem; }
.slide__foot { font-size: .85rem; opacity: .9; margin-top: .3rem; }
.slider__btn { position: absolute; top: 50%; transform: translateY(-50%); border: 0; cursor: pointer;
  width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.85); color: var(--blue);
  font-size: 1.6rem; line-height: 1; box-shadow: var(--shadow); }
.slider__btn--prev { left: 12px; } .slider__btn--next { right: 12px; }
.slider__dots { position: absolute; bottom: 12px; left: 0; right: 0; display: flex; gap: 8px; justify-content: center; }
.dot { width: 10px; height: 10px; border-radius: 50%; border: 0; background: rgba(255,255,255,.7); cursor: pointer; }
.dot--active { background: var(--accent); }
.hero__cta { text-align: center; padding: 1.4rem 0 2rem; }
.hero__tag { font-size: clamp(1rem, 2.6vw, 1.3rem); font-weight: 700; color: var(--blue); margin-bottom: 1rem; }
.hero__buttons { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }

/* ---------- sections ---------- */
.section { padding: 3rem 0; }
.section--alt { background: var(--bg-alt); }
.section__title { font-size: clamp(1.4rem, 3.5vw, 2rem); text-align: center; color: var(--ink);
  margin-bottom: 1.4rem; }
.section__sub { text-align: center; color: var(--muted); margin: .6rem auto 2rem; max-width: 640px; }
.section__eyebrow { text-align: center; color: var(--accent); font-weight: 800; letter-spacing: .18em;
  font-size: .8rem; margin-bottom: .3rem; }

/* ---------- services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.svc-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.4rem;
  box-shadow: var(--shadow); transition: transform .15s; }
.svc-card:hover { transform: translateY(-4px); }
.svc-card__icon { font-size: 2rem; }
.svc-card h3 { margin: .5rem 0; font-size: 1.1rem; color: var(--blue); }
.svc-card p { color: var(--muted); font-size: .9rem; }
.svc-card ul { list-style: none; margin-top: .7rem; font-size: .85rem; color: var(--ink); }

/* ---------- quote ---------- */
.quote { background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.6rem; box-shadow: var(--shadow); max-width: 760px; margin: 0 auto; }
.quote__step { margin-bottom: 1.2rem; }
.quote__step h3 { font-size: 1rem; margin-bottom: .7rem; color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { padding: .5em 1em; border-radius: 999px; border: 1.5px solid var(--border); background: #fff;
  cursor: pointer; font: inherit; font-size: .88rem; transition: all .15s; }
.chip:hover { border-color: var(--blue-bright); }
.chip--active { background: var(--blue); color: #fff; border-color: var(--blue); }
.quote__services { display: grid; gap: .5rem; }
.svc-row { display: flex; align-items: center; gap: .7rem; padding: .7em .9em; border: 1px solid var(--border);
  border-radius: 10px; cursor: pointer; }
.svc-row:hover { background: var(--bg-alt); }
.svc-row input { width: 18px; height: 18px; accent-color: var(--blue); }
.svc-row__name { flex: 1; }
.svc-row__price { font-weight: 700; color: var(--accent); }
.quote__result { border-top: 2px dashed var(--border); margin-top: 1rem; padding-top: 1rem; }
.quote__line { display: flex; justify-content: space-between; align-items: baseline;
  font-size: .92rem; color: var(--muted); margin-bottom: .35rem; }
.quote__line--off { color: var(--accent); font-weight: 700; }
.quote__total { display: flex; justify-content: space-between; align-items: baseline; font-size: 1.05rem; }
.quote__total strong { font-size: 1.7rem; color: var(--blue); }
.quote__note { font-size: .78rem; color: var(--muted); margin: .6rem 0 1rem; }
.quote__actions { display: flex; gap: .6rem; flex-wrap: wrap; }

/* ---------- about / pay ---------- */
.about { max-width: 760px; text-align: center; }
.about__body { color: var(--muted); margin-bottom: 1.5rem; }
.about__pay-title { font-size: 1rem; margin-bottom: .8rem; }
.pay-list { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; }
.pay-list li { background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: .4em .8em;
  font-size: .82rem; font-weight: 600; color: var(--blue); }

/* ---------- reviews ---------- */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.review-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.3rem; box-shadow: var(--shadow); }
.stars { color: #ffb400; font-size: 1.1rem; }
.review-card p { margin: .6rem 0; color: var(--ink); }
.review-card__name { color: var(--muted); font-size: .85rem; font-weight: 600; }
.reviews-cta { text-align: center; margin-top: 1.5rem; }
.reviews-cta a { color: var(--blue); font-weight: 700; text-decoration: none; }
.reviews-cta a:hover { text-decoration: underline; }

/* ---------- gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: .7rem; }
/* ảnh chủ shop gửi phần lớn là ảnh dọc / poster -> khung 3:4 đỡ bị cắt mất chữ */
.gallery-item { margin: 0; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 3 / 4; background: var(--bg-alt); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery-item:hover img { transform: scale(1.06); }

/* ---------- access / map ---------- */
.access { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: stretch; }
.access__info { display: flex; flex-direction: column; gap: .7rem; justify-content: center; }
.access__addr { font-weight: 600; }
.access__map iframe { width: 100%; height: 320px; border: 0; border-radius: var(--radius); }

/* ---------- news ---------- */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: #cfdde7; padding: 2rem 0; text-align: center; font-size: .85rem; }
.footer strong { color: #fff; }
.footer p { margin: .2rem 0; }

/* ---------- floating ---------- */
.floating { position: fixed; right: 14px; bottom: 16px; display: flex; flex-direction: column; gap: .6rem; z-index: 60; }
.floating__btn { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  font-size: 1.4rem; text-decoration: none; box-shadow: var(--shadow); color: #fff; }
.floating__btn--call { background: var(--blue); }
.floating__btn--line { background: var(--line-green); }
.floating__btn--map { background: var(--accent); }

/* ---------- icons (SVG hoặc emoji) ---------- */
.icon-img { width: 1em; height: 1em; object-fit: contain; }
.icon-emoji { line-height: 1; }

/* ---------- devices grid (danh mục dòng máy ở TOP) ---------- */
.devices-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.device-card { display: flex; flex-direction: column; align-items: center; gap: .7rem; text-align: center;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem 1rem;
  box-shadow: var(--shadow); text-decoration: none; color: var(--ink); transition: transform .15s, border-color .15s; }
.device-card:hover { transform: translateY(-4px); border-color: var(--blue-bright); }
.device-card__icon { font-size: 2.2rem; color: var(--blue); display: grid; place-items: center; }
.device-card__icon .icon-img { width: 96px; height: 96px; }
.device-card__label { font-weight: 700; font-size: .95rem; }
.services-other { text-align: center; margin-top: 2rem; background: var(--cyan-soft); border-radius: var(--radius);
  padding: 1.5rem; }
.services-other p { color: var(--ink); margin-bottom: 1rem; font-weight: 600; }

/* ---------- svc-row (bảng giá theo dòng máy) ---------- */
.svc-row__icon { color: var(--blue); font-size: 1.3rem; display: grid; place-items: center; width: 1.6rem; }
.svc-row__icon .icon-img { width: 1.3rem; height: 1.3rem; }
.svc-row__main { flex: 1; display: flex; flex-direction: column; gap: .15rem; }
.svc-row__meta { font-size: .75rem; color: var(--muted); }

/* ---------- generic page (repair / partner / support) ---------- */
.page { padding: 1.5rem 0 3rem; }
.page__title { font-size: clamp(1.5rem, 4vw, 2.2rem); margin-bottom: .5rem; }
.page__intro { color: var(--muted); margin-bottom: 1.5rem; }
.page__intro + .page__intro { margin-top: -1rem; }
.backlink { display: inline-block; color: var(--blue); text-decoration: none; font-weight: 600;
  margin-bottom: 1.2rem; }
.backlink:hover { text-decoration: underline; }

.repair-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.repair-head__icon { font-size: 2.6rem; color: var(--blue); display: grid; place-items: center; }
.repair-head__icon .icon-img { width: 2.6rem; height: 2.6rem; }
.repair-head__crumb { color: var(--muted); font-size: .82rem; }
.repair-head__title { font-size: clamp(1.4rem, 4vw, 2rem); color: var(--ink); }

.contact-only { background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 2rem; box-shadow: var(--shadow); text-align: center; max-width: 640px; margin: 0 auto; }
.contact-only h2 { color: var(--blue); margin-bottom: .8rem; }
.contact-only p { color: var(--muted); margin-bottom: 1.4rem; }

/* ---------- access route (đường đi từ ga Hakata) ---------- */
.route { margin-top: 2.5rem; }
.route__title { font-size: 1.2rem; margin-bottom: 1rem; }
.route__list { list-style: none; display: grid; gap: 1rem; }
.route-step { display: flex; gap: .9rem; align-items: flex-start; }
.route-step__num { flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%; background: var(--blue);
  color: #fff; font-weight: 700; display: grid; place-items: center; font-size: .9rem; }
.route-step__body { flex: 1; }
.route-step__body p { color: var(--ink); }
.route-step__photo { width: 100%; max-width: 420px; border-radius: 12px; margin-bottom: .5rem;
  box-shadow: var(--shadow); }
.route__note { color: var(--muted); font-size: .82rem; margin-top: 1rem; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .7rem; max-width: 820px; }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.faq-item__q { cursor: pointer; padding: 1em 1.2em; font-weight: 700; color: var(--ink); list-style: none;
  position: relative; padding-right: 2.5em; }
.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__q::after { content: "＋"; position: absolute; right: 1.1em; color: var(--blue); font-weight: 700; }
.faq-item[open] .faq-item__q::after { content: "−"; }
.faq-item[open] .faq-item__q { color: var(--blue); }
.faq-item__a { padding: 0 1.2em 1.1em; color: var(--muted); font-size: .92rem; }

/* ---------- articles ---------- */
.articles { display: grid; gap: .7rem; max-width: 820px; }
.article-card { display: flex; align-items: center; gap: 1rem; background: #fff; border: 1px solid var(--border);
  border-radius: 10px; padding: 1em 1.2em; text-decoration: none; color: var(--ink); transition: border-color .15s; }
.article-card:hover { border-color: var(--blue-bright); }
.article-card__icon { font-size: 1.6rem; }
.article-card__body { flex: 1; display: flex; flex-direction: column; gap: .2rem; }
.article-card__title { font-weight: 700; color: var(--blue); }
.article-card__excerpt { font-size: .85rem; color: var(--muted); }
.article-card__arrow { color: var(--blue); font-weight: 700; }

.support-block { margin-bottom: 2.5rem; }
.support-block .section__title { text-align: left; }

/* ---------- partner ---------- */
.partner-hero { text-align: center; padding: 1rem 0 2rem; }
.partner-hero__icon { font-size: 3rem; }
.partner-hero__title { font-size: clamp(1.5rem, 4vw, 2.2rem); margin: .5rem 0; }
.partner-hero__lead { color: var(--muted); max-width: 640px; margin: 0 auto; }
.partner-body { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem;
  margin-bottom: 2.5rem; }
.partner-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem;
  box-shadow: var(--shadow); }
.partner-card__icon { font-size: 2rem; }
.partner-card h3 { margin: .5rem 0; color: var(--blue); font-size: 1.1rem; }
.partner-card p { color: var(--muted); font-size: .9rem; }
.partner-cta { text-align: center; background: var(--cyan-soft); border-radius: var(--radius); padding: 2rem; }
.partner-cta p { margin-bottom: 1.2rem; font-weight: 600; }

/* ---------- danh mục sửa chữa (repair.html) ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 2rem; }
.cat-card { display: flex; flex-direction: column; align-items: center; gap: .8rem; text-align: center;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.4rem 1rem;
  box-shadow: var(--shadow); text-decoration: none; color: var(--ink); transition: transform .15s, border-color .15s; }
.cat-card:hover { transform: translateY(-4px); border-color: var(--blue-bright); }
.cat-card__icon { color: var(--blue); font-size: 2.4rem; display: grid; place-items: center; }
.cat-card__icon .icon-img { width: 88px; height: 88px; }
/* hạng mục chưa có ảnh thật -> icon SVG, thu nhỏ cho cân với ảnh */
.cat-card__icon .icon-img[src$=".svg"] { width: 56px; height: 56px; margin: 16px 0; }
.cat-card__label { font-weight: 700; font-size: .95rem; color: var(--blue); }

.page__actions { display: flex; gap: .7rem; flex-wrap: wrap; margin-bottom: 2rem; }
.page__note { color: var(--muted); font-size: .85rem; margin-top: 1.5rem; }

/* ---------- セット修理がお得 ---------- */
.setdeal { position: relative; border: 2px solid var(--blue-bright); border-radius: var(--radius);
  padding: 2rem 1.4rem 1.4rem; margin: 2.5rem 0 1rem; background: #fff; }
.setdeal__badge { position: absolute; top: -.95em; left: 50%; transform: translateX(-50%);
  background: var(--blue-bright); color: #fff; font-weight: 800; font-size: .9rem; white-space: nowrap;
  padding: .35em 1.4em; border-radius: 999px; }
.setdeal__lead { text-align: center; margin-bottom: 1.2rem; }
.setdeal__examples { display: grid; gap: .8rem; }
.setdeal__row { display: flex; align-items: center; justify-content: center; gap: .5rem; flex-wrap: wrap; }
.setdeal__part { background: var(--cyan-soft); color: var(--blue); font-weight: 700; font-size: .85rem;
  padding: .45em 1em; border-radius: 999px; }
.setdeal__op { color: var(--muted); font-weight: 700; }
.setdeal__off { color: var(--accent); font-size: 1.15rem; }
.setdeal__note { color: var(--muted); font-size: .78rem; margin-top: 1rem; }

/* ---------- bài viết hạng mục sửa chữa (service.html) ---------- */
.article-body { max-width: 820px; }
.article-body h2 { font-size: 1.2rem; color: var(--blue); margin: 2rem 0 .7rem; }
.article-body h3 { font-size: 1.02rem; margin: 1.4rem 0 .4rem; }
.article-body p { margin-bottom: .9rem; }
.article-list, .article-checks { list-style: none; display: grid; gap: .45rem; margin: 0 0 1.2rem; }
.article-list li, .article-checks li { position: relative; padding-left: 1.6em; }
.article-list li::before { content: "・"; position: absolute; left: .2em; color: var(--blue); }
.article-checks li::before { content: "✔"; position: absolute; left: 0; color: var(--line-green); font-weight: 700; }
.article-figure { margin: 1.2rem 0 1.6rem; }
.article-figure img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.article-notes { background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.2rem 1.3rem; margin-top: 2rem; }
.article-notes h3 { font-size: .95rem; margin: 0 0 .7rem; color: var(--ink); }
.article-notes ul { list-style: none; display: grid; gap: .55rem; }
.article-notes li { position: relative; padding-left: 1.1em; font-size: .82rem; color: var(--muted); line-height: 1.7; }
.article-notes li::before { content: "・"; position: absolute; left: 0; }
.article-body .faq { margin-bottom: 1.2rem; max-width: none; }

/* ---------- trang お問い合わせ (contact.html) ---------- */
.contact-ways { display: grid; gap: .9rem; max-width: 620px; }
.contact-way { display: flex; align-items: center; gap: 1rem; width: 100%; text-align: left;
  background: #fff; border: 1.5px solid var(--border); border-radius: var(--radius); padding: 1.1rem 1.3rem;
  box-shadow: var(--shadow); text-decoration: none; color: var(--ink); cursor: pointer; font: inherit;
  transition: transform .15s, border-color .15s; }
.contact-way:hover { transform: translateY(-3px); border-color: var(--blue-bright); }
.contact-way__icon { flex: 0 0 auto; width: 54px; height: 54px; border-radius: 50%; display: grid;
  place-items: center; color: #fff; }
.contact-way--line .contact-way__icon { background: var(--line-green); }
.contact-way--ig .contact-way__icon { background: linear-gradient(45deg, #f9ce34, #ee2a7b, #6228d7); }
.contact-way--tel .contact-way__icon { background: var(--blue); }
.contact-way__body { flex: 1; display: flex; flex-direction: column; gap: .15rem; }
.contact-way__body strong { font-size: 1.02rem; }
.contact-way__body small { color: var(--muted); font-size: .82rem; }
.contact-way__arrow { color: var(--blue); font-weight: 700; font-size: 1.1rem; }

/* ---------- popup số điện thoại ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 1rem; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(10, 36, 46, .55); }
.modal__box { position: relative; background: #fff; border-radius: var(--radius); padding: 2rem 1.6rem 1.6rem;
  width: min(420px, 100%); box-shadow: 0 20px 50px rgba(0,0,0,.25); text-align: center; }
.modal__close { position: absolute; top: .4rem; right: .7rem; border: 0; background: none; cursor: pointer;
  font-size: 1.7rem; line-height: 1; color: var(--muted); }
.modal__title { font-size: 1.1rem; margin-bottom: 1.2rem; }
.modal__numbers { display: grid; gap: .7rem; }
.modal__tel { display: block; background: var(--blue); color: #fff; text-decoration: none; font-weight: 800;
  font-size: 1.35rem; letter-spacing: .04em; padding: .6em 1em; border-radius: 12px; }
.modal__tel:hover { background: #085a94; }
.modal__note { color: var(--muted); font-size: .85rem; margin-top: 1rem; }

/* ---------- responsive ---------- */
@media (max-width: 820px) {
  .nav { position: fixed; inset: 64px 0 auto 0; flex-direction: column; background: #fff;
    padding: 1rem 6%; gap: 1rem; border-bottom: 1px solid var(--border); transform: translateY(-120%);
    transition: transform .25s, visibility .25s; margin: 0; visibility: hidden; box-shadow: 0 8px 16px rgba(0,0,0,.08); }
  .nav--open { transform: translateY(0); visibility: visible; }
  .nav-toggle { display: block; }
  .header__actions { margin-left: auto; }   /* đẩy nút ☰ sát phải trên mobile */
  .slider__btn { display: none; }           /* mobile: ẩn mũi tên, dùng vuốt/dot */
  .access { grid-template-columns: 1fr; }
  .devices-grid, .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .device-card__icon .icon-img { width: 72px; height: 72px; }
  .cat-card__icon .icon-img { width: 64px; height: 64px; }
  .setdeal__row { flex-wrap: wrap; }
}
