/* MADO CG — style */
:root {
  --wall: #FFFFFF;      /* nền trắng */
  --paper: #F5F5F5;     /* nền xám rất nhạt */
  --line: #D9D9D9;
  --sumi: #111111;      /* chữ đen */
  --stone: #555555;     /* chữ phụ */
  --bronze: #D11B1C;    /* màu nhấn đỏ (dùng ít, chỉ để làm nổi) */
  --mint: #F2F2F2;      /* nền ô tiêu đề bảng giá */
  --hino: #D11B1C;      /* nhãn 必須 */
  --mincho: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --gothic: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  --header: 76px;
  --gutter: clamp(20px, 5vw, 64px);
  --sec: clamp(56px, 7vw, 104px);
  interpolate-size: allow-keywords;
}
html[lang=vi] {
  --mincho: "Noto Serif", Georgia, serif;
  --gothic: "Be Vietnam Pro", "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--wall); color: var(--sumi); font-family: var(--gothic); font-size: 15px; line-height: 1.85; letter-spacing: 0.04em; -webkit-font-smoothing: antialiased; overflow-x: clip; }
html[lang=en] body, html[lang=vi] body { letter-spacing: 0.01em; line-height: 1.7; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.25em; text-decoration-thickness: 1px; }
a:hover { color: var(--bronze); }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
p, li, dd, td, th { line-break: strict; overflow-wrap: anywhere; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; }
strong { font-weight: 600; }

.ico { width: 28px; height: 28px; flex: none; fill: none; stroke: var(--sumi); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.ico-s { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; vertical-align: -3px; margin-right: 6px; }

.skip { position: absolute; left: 16px; top: -48px; z-index: 50; background: var(--sumi); color: var(--wall); padding: 8px 16px; }
.skip:focus { top: 8px; }
.wrap { width: min(100% - var(--gutter) * 2, 1200px); margin-inline: auto; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 20; height: var(--header); display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-inline: var(--gutter); background: var(--wall); transition: box-shadow 0.3s; }
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { height: 38px; width: auto; }
.brand-cg { font-family: "Shippori Mincho", serif; font-size: 19px; font-weight: 600; letter-spacing: 0.24em; color: var(--bronze); margin-top: 14px; }
.nav-list { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); font-size: 14px; letter-spacing: 0.08em; }
.nav-list a { text-decoration: none; }
.nav-cta { border: 1px solid var(--sumi); padding: 9px 18px; transition: background 0.25s, color 0.25s; }
.nav-cta:hover { background: var(--sumi); color: var(--wall); }
.nav-toggle { display: none; }
.lang { display: flex; gap: 2px; font-size: 12px; letter-spacing: 0.08em; }
.lang a { padding: 4px 6px; text-decoration: none; color: var(--stone); }
.lang a[aria-current] { color: var(--sumi); text-decoration: underline; }

/* ---------- Hero：窓がひらく ---------- */
.hero { display: grid; grid-template-columns: 1fr 96px; padding-left: var(--gutter); }
.hero-window { position: relative; height: calc(100svh - var(--header) - 56px); min-height: 420px; max-height: 860px; overflow: hidden; background: #111111; animation: window-open 1.6s cubic-bezier(0.7, 0, 0.2, 1) 0.15s both; }
@keyframes window-open { from { clip-path: inset(0 49.6% 0 49.6%); } to { clip-path: inset(0); } }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.8s ease; }
.hero-slide.is-active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-copy { grid-column: 2; grid-row: 1; writing-mode: vertical-rl; justify-self: center; font-family: var(--mincho); font-size: 24px; font-weight: 500; letter-spacing: 0.32em; line-height: 1.6; animation: fade 1.2s ease 1.5s both; }
html[lang=en] .hero-copy, html[lang=vi] .hero-copy { font-size: 20px; letter-spacing: 0.12em; }
.hero-caption { grid-column: 1; grid-row: 2; display: flex; justify-content: space-between; align-items: center; height: 56px; font-size: 13px; color: var(--stone); }
.hero-title { display: flex; gap: 14px; }
.hero-cat { color: var(--bronze); }
.hero-count { font-family: var(--mincho); letter-spacing: 0.1em; font-variant-numeric: tabular-nums; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Section ---------- */
.intro, .works, .quality, .price, .flow, .contact { padding-block: var(--sec); }
.quality, .flow { background: var(--paper); }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 16px 32px; margin-bottom: clamp(28px, 3.5vw, 44px); }
h2 { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 18px; font-weight: 400; }
.sec-en { font-family: "Shippori Mincho", var(--mincho); font-weight: 500; font-size: clamp(36px, 4.4vw, 56px); line-height: 1.1; letter-spacing: 0.01em; }
.sec-ja { font-size: 14px; color: var(--stone); letter-spacing: 0.1em; }
.sec-lead { max-width: 40em; margin-block: 16px 28px; }
.note { margin-top: 28px; font-size: 12px; color: var(--stone); }

/* ---------- Intro ---------- */
.intro-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(24px, 6vw, 96px); align-items: start; }
.intro-lead { font-family: var(--mincho); font-weight: 500; font-size: clamp(26px, 3vw, 40px); line-height: 1.45; letter-spacing: 0.06em; font-feature-settings: "palt" 1; text-wrap: balance; }
html[lang=en] .intro-lead, html[lang=vi] .intro-lead { letter-spacing: 0; }
.intro-text { max-width: 38em; font-size: 16px; line-height: 2; }
html[lang=en] .intro-text, html[lang=vi] .intro-text { line-height: 1.75; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 3vw, 40px); margin-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--sumi); padding-top: 24px; }
.facts li { display: grid; grid-template-columns: auto 1fr; gap: 2px 14px; align-content: start; }
.facts .ico { grid-row: 1 / 4; }
.fact-t { font-size: 12px; color: var(--stone); letter-spacing: 0.1em; }
.fact-v { font-size: 15px; }
.fact-v strong { font-family: var(--mincho); font-size: 21px; }
.fact-s { font-size: 12px; color: var(--stone); }

/* ---------- Works ---------- */
.filter { display: flex; gap: 22px; font-size: 14px; }
.filter-btn { display: inline-flex; align-items: center; background: none; border: 0; padding: 4px 0; cursor: pointer; color: var(--stone); letter-spacing: 0.08em; border-bottom: 1px solid transparent; }
.filter-btn.is-active { color: var(--sumi); border-bottom-color: var(--sumi); }
.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3.5vw, 44px) clamp(16px, 2vw, 24px); }
.work[hidden] { display: none; }
.work-open { position: relative; display: block; width: 100%; padding: 0; border: 0; background: #E6E6E6; cursor: zoom-in; overflow: hidden; aspect-ratio: 4 / 3; }
.work-open img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(0.2, 0.6, 0.2, 1); }
.work-open:hover img { transform: scale(1.03); }
.work-clay { position: absolute; left: 10px; bottom: 10px; display: inline-flex; align-items: center; padding: 3px 10px; font-size: 11px; letter-spacing: 0.06em; background: rgba(255, 255, 255, 0.92); color: var(--sumi); }
.work-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; margin-top: 12px; font-size: 14px; }
.work-cat { color: var(--bronze); font-size: 12px; letter-spacing: 0.1em; }

/* ---------- Quality ---------- */
.quality-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.compare { position: relative; overflow: hidden; background: #E6E6E6; touch-action: pan-y; user-select: none; }
.compare img { width: 100%; }
.compare-final { position: absolute; inset: 0; height: 100%; object-fit: cover; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare-bar { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; pointer-events: none; }
.compare-bar::after { content: ""; position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: rgba(255, 255, 255, 0.94) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111111' stroke-width='1.5'%3E%3Cpath d='M9 7l-5 5 5 5M15 7l5 5-5 5'/%3E%3C/svg%3E") center / 22px no-repeat; box-shadow: 0 2px 12px rgba(0, 0, 0, 0.18); }
.compare-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.compare:has(.compare-range:focus-visible) { outline: 2px solid var(--bronze); outline-offset: 4px; }
.compare-caption { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; font-size: 13px; color: var(--stone); }
.checks { display: grid; gap: 20px; border-top: 1px solid var(--sumi); padding-top: 24px; }
.checks li { display: flex; gap: 16px; }
.checks h2, .steps h2, .checks h3, .steps h3 { font-family: var(--mincho); font-weight: 600; font-size: 17px; letter-spacing: 0.06em; margin-bottom: 4px; }
.checks p, .steps p { font-size: 14px; color: #444444; line-height: 1.75; }

/* ---------- Price ---------- */
.price-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 3vw, 40px); }
.price-cards li { display: grid; grid-template-columns: auto 1fr; gap: 0 16px; border-top: 1px solid var(--sumi); padding-top: 22px; }
.price-cards .ico { grid-row: 1 / 4; }
.pc-t { font-size: 13px; color: var(--stone); letter-spacing: 0.08em; }
.pc-v { font-family: var(--mincho); font-weight: 600; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.3; font-variant-numeric: tabular-nums; }
.pc-s { font-size: 13px; color: var(--stone); }

/* ---------- Details（クリックで開く） ---------- */
.more { margin-top: clamp(28px, 3.5vw, 40px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.more > summary { display: flex; align-items: center; gap: 4px; min-height: 56px; cursor: pointer; list-style: none; font-size: 14px; letter-spacing: 0.08em; }
.more > summary::-webkit-details-marker { display: none; }
.more > summary::after { content: ""; margin-left: auto; width: 14px; height: 14px; background: linear-gradient(currentColor, currentColor) center / 14px 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 14px no-repeat; transition: transform 0.3s; }
.more[open] > summary::after { transform: rotate(45deg); }
.more > summary:hover { color: var(--bronze); }
.more::details-content { block-size: 0; overflow: clip; transition: block-size 0.4s ease, content-visibility 0.4s allow-discrete; }
.more[open]::details-content { block-size: auto; }
.more-body { padding: 8px 0 32px; }
.more-body > p { max-width: 52em; font-size: 14px; }
.more-note { margin-bottom: 24px; color: var(--stone); }
.price-tables { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 5vw, 64px); align-items: start; }
table { width: 100%; border-collapse: collapse; }
caption { text-align: left; font-family: var(--mincho); font-weight: 600; font-size: 17px; letter-spacing: 0.06em; padding-bottom: 10px; border-bottom: 1px solid var(--sumi); }
th, td { padding: 12px 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; vertical-align: top; font-size: 14px; }
.price-tables td { text-align: right; font-family: var(--mincho); font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; padding-left: 16px; }
.terms { margin-top: 32px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 5vw, 64px); }
.terms > div { display: grid; grid-template-columns: 8.5em 1fr; gap: 16px; padding-block: 12px; border-bottom: 1px solid var(--line); font-size: 14px; }
.terms dt { color: var(--stone); }

/* ---------- Flow ---------- */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.steps li { counter-increment: s; position: relative; border-top: 1px solid var(--sumi); padding-top: 20px; }
.steps li::before { content: counter(s); position: absolute; top: 18px; right: 0; font-family: "Shippori Mincho", serif; font-size: 28px; line-height: 1; color: var(--line); }
.steps .ico { margin-bottom: 12px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.contact-side .more { margin-top: 8px; }
.company-table th { width: 7.5em; color: var(--stone); }
.channels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.channels li { background: var(--paper); }
.channels a, .channels .ch-line { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; align-content: start; height: 100%; padding: 18px; text-decoration: none; transition: background 0.25s; }
.channels a:hover { background: #fff; color: inherit; }
.channels .ico { grid-row: 1 / 3; }
.ch-t { font-size: 13px; color: var(--stone); }
.ch-v { font-size: 13px; overflow-wrap: anywhere; }
.ch-line img { grid-column: 2; width: 88px; margin-block: 4px; }
.ch-line .ch-v { grid-column: 2; font-size: 11px; color: var(--stone); }

.form-wrap { margin-top: 16px; border: 0; }
.form-wrap > summary { justify-content: center; min-height: 60px; background: var(--sumi); color: var(--wall); font-size: 15px; letter-spacing: 0.12em; padding-inline: 20px; transition: background 0.25s; }
.form-wrap > summary::after { margin-left: 16px; }
.form-wrap > summary:hover { background: var(--bronze); color: var(--wall); }
.form { display: grid; gap: 20px; padding: 28px 0 8px; }
.field { display: grid; gap: 6px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field label, .field legend { font-size: 14px; padding: 0; }
.req { display: inline-block; margin-left: 6px; padding: 0 6px; font-size: 11px; line-height: 18px; color: #fff; background: var(--hino); letter-spacing: 0.06em; vertical-align: 1px; white-space: nowrap; }
input:not([type=radio]):not([type=checkbox]), textarea { width: 100%; font: inherit; font-size: 16px; letter-spacing: 0.02em; color: var(--sumi); background: #fff; border: 1px solid var(--line); border-radius: 2px; padding: 11px 14px; transition: border-color 0.2s; }
input:not([type=radio]):not([type=checkbox]):focus, textarea:focus { border-color: var(--sumi); outline: none; box-shadow: 0 0 0 3px rgba(209, 27, 28, 0.2); }
input[aria-invalid=true], textarea[aria-invalid=true] { border-color: var(--hino); }
::placeholder { color: #9E9E9E; }
.choices { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.choices label, .agree { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-size: 14px; min-height: 32px; }
input[type=radio], input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--sumi); margin: 0; flex: none; }
.form-error { color: var(--hino); font-size: 14px; }
.form-done { font-size: 15px; padding: 16px; background: var(--paper); }
.submit { justify-self: start; min-width: 240px; height: 54px; padding: 0 32px; border: 1px solid var(--sumi); background: transparent; font-size: 15px; letter-spacing: 0.12em; cursor: pointer; transition: background 0.25s, color 0.25s; }
.submit:hover { background: var(--sumi); color: var(--wall); }
.submit:disabled { opacity: 0.6; cursor: progress; }

/* ---------- Footer ---------- */
.site-footer { padding-block: 44px; border-top: 1px solid var(--line); font-size: 13px; color: var(--stone); }
.footer-grid { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 36px; }
.footer-grid img { height: 34px; width: auto; }
.footer-grid ul { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; }
.footer-grid .copy { margin-left: auto; }

/* ---------- Policy page ---------- */
.policy { padding-block: var(--sec); }
.policy .wrap { max-width: 760px; }
.policy h1 { margin-bottom: 32px; }
.policy dl > div { padding-block: 20px; border-bottom: 1px solid var(--line); }
.policy dt { font-family: var(--mincho); font-weight: 600; font-size: 17px; margin-bottom: 4px; }
.policy-back { margin-top: 40px; }

/* ---------- Viewer ---------- */
.viewer { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 24px var(--gutter); border: 0; background: rgba(17, 17, 17, 0.97); color: #EEEEEE; overscroll-behavior: contain; }
.viewer[open] { display: grid; grid-template-rows: 1fr auto auto; gap: 16px; animation: fade 0.3s ease; }
.viewer::backdrop { background: transparent; }
.viewer-body { display: grid; place-items: center; min-height: 0; }
.viewer-body > img { max-width: 100%; max-height: calc(100vh - 160px); width: auto; object-fit: contain; }
.viewer-body > .compare { aspect-ratio: var(--ar); height: min(calc(100vh - 160px), calc((100vw - var(--gutter) * 2) / var(--ar))); }
.viewer-body > .compare img { height: 100%; object-fit: cover; }
.viewer-meta { text-align: center; font-size: 14px; }
.viewer-meta span { color: #FF7A7A; margin-right: 12px; font-size: 12px; }
.viewer-nav { display: flex; justify-content: center; gap: 12px; }
.viewer-nav button { background: none; border: 1px solid rgba(238, 238, 238, 0.4); padding: 8px 20px; font-size: 13px; cursor: pointer; color: inherit; }
.viewer-nav button:hover { border-color: #EEEEEE; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 32px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 24px; }
  .quality-grid { grid-template-columns: 1fr; }
  .channels { grid-template-columns: 1fr; }
  .channels .ch-line { grid-template-columns: auto auto 1fr; }
  .ch-line img { grid-column: 3; grid-row: 1 / 3; justify-self: end; margin: 0; }
}
@media (max-width: 900px) {
  :root { --header: 64px; }
  .nav-toggle { display: block; background: none; border: 1px solid var(--sumi); padding: 6px 14px; font-size: 13px; letter-spacing: 0.08em; cursor: pointer; }
  .nav-list { display: none; position: absolute; top: var(--header); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--wall); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 24px; }
  .nav-list.is-open { display: flex; }
  .nav-list a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-cta { margin-top: 16px; text-align: center; }
  .nav-list .lang { justify-content: center; padding-top: 16px; }
  .nav-list .lang a { border: 0; padding: 6px 12px; }
  .hero { grid-template-columns: 1fr; padding-left: 0; }
  .hero-window { height: 62svh; min-height: 340px; }
  .hero-copy { grid-row: auto; grid-column: 1; writing-mode: horizontal-tb; justify-self: start; padding: 20px var(--gutter) 0; font-size: 19px; letter-spacing: 0.12em; }
  .hero-caption { grid-row: auto; padding-inline: var(--gutter); height: 44px; }
  .intro-head, .contact-grid, .terms, .price-tables { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .price-cards { grid-template-columns: 1fr; gap: 0; }
  .price-cards li { padding-block: 16px; border-top-color: var(--line); }
  .price-cards li:first-child { border-top-color: var(--sumi); }
  .steps { grid-template-columns: 1fr; row-gap: 0; }
  .steps li { display: grid; grid-template-columns: auto 1fr; gap: 0 16px; padding-block: 16px; border-top-color: var(--line); }
  .steps li:first-child { border-top-color: var(--sumi); }
  .steps .ico { grid-row: 1 / 3; margin: 0; }
  .steps li::before { top: 16px; font-size: 22px; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid .copy { margin-left: 0; }
}
@media (max-width: 560px) {
  .work-grid { gap: 24px 12px; }
  .work-meta { font-size: 12px; margin-top: 8px; }
  .work-clay { left: 6px; bottom: 6px; padding: 3px 6px; font-size: 0; }
  .work-clay .ico-s { margin: 0; }
  .facts { grid-template-columns: 1fr; }
  .channels .ch-line { grid-template-columns: auto 1fr; }
  .ch-line img { grid-column: 2; grid-row: auto; justify-self: start; }
}
/* ======== Multi-page ======== */
.nav-list a[aria-current=page]:not(.nav-cta) { color: var(--bronze); text-decoration: underline; text-underline-offset: 8px; }
.nav-cta[aria-current=page] { background: var(--sumi); color: var(--wall); }
.page-head { padding-block: clamp(48px, 7vw, 96px) clamp(24px, 3vw, 40px); }
.page-head h1 { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 18px; font-weight: 400; }
.page-head .sec-en { font-size: clamp(44px, 6vw, 80px); }
.sec-ja-lg { font-family: var(--mincho); font-size: clamp(26px, 3vw, 36px); color: var(--sumi); }
.page-lead { max-width: 44em; margin-top: 18px; font-size: 16px; }
.page-head + section { padding-top: clamp(16px, 2vw, 24px); }
.sub-title { font-family: var(--mincho); font-weight: 600; font-size: 20px; letter-spacing: 0.06em; margin-bottom: 20px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; letter-spacing: 0.06em; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.text-link .ico-s { margin: 0; transition: transform 0.25s; }
.text-link:hover .ico-s { transform: translateX(4px); }
.works .filter { margin-bottom: 32px; }

/* Home tiles */
.tiles-sec { padding-bottom: var(--sec); }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.tiles a { display: flex; flex-direction: column; height: 100%; background: var(--paper); text-decoration: none; transition: background 0.3s; }
.tiles a:hover { background: #fff; color: inherit; }
.tile-img, .tile-icon { display: flex; aspect-ratio: 16 / 9; overflow: hidden; background: #E6E6E6; }
.tile-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(0.2, 0.6, 0.2, 1); }
.tiles a:hover .tile-img img { transform: scale(1.03); }
.tile-icon { align-items: center; justify-content: center; gap: 28px; background: var(--mint); }
.tile-icon img, .tile-icon .ico { width: 48px; height: 48px; }
.tile-icon .ico { stroke-width: 1; }
.tile-body { display: grid; gap: 4px; padding: 22px 24px 26px; }
.tile-body .sec-en { font-size: 30px; }
.tile-t { font-size: 13px; color: var(--bronze); letter-spacing: 0.1em; }
.tile-p { font-size: 14px; color: #444444; }

/* CTA band */
.cta { background: var(--sumi); color: var(--wall); padding-block: clamp(40px, 5vw, 64px); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; }
.cta-t { font-family: var(--mincho); font-size: clamp(20px, 2.2vw, 26px); letter-spacing: 0.04em; }
.cta-p { font-size: 14px; color: #BBBBBB; }
.cta-btn { display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 32px; border: 1px solid var(--wall); text-decoration: none; letter-spacing: 0.1em; transition: background 0.25s, color 0.25s; }
.cta-btn:hover { background: var(--wall); color: var(--sumi); }
.cta-btn .ico-s { margin: 0; }

/* Quality page */
.compare-lg { margin-bottom: 12px; }
.quality .checks { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(40px, 5vw, 64px); gap: clamp(20px, 3vw, 40px); }
.pairs-sec { padding-block: 0 var(--sec); background: var(--paper); }
.pairs-sec .compare { aspect-ratio: 4 / 3; }
.pairs-sec .compare img { height: 100%; object-fit: cover; }

/* Price page — giữ nguyên bố cục bảng giá PowerPoint */
.ps-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.ps-tabs button { padding: 12px 20px; border: 1px solid #C8C8C8; background: #fff; font-size: 14px; letter-spacing: 0.04em; cursor: pointer; }
.ps-tabs button[aria-selected=true] { background: var(--bronze); border-color: var(--bronze); color: #fff; }
.ps-tabs button:hover:not([aria-selected=true]) { border-color: var(--bronze); color: var(--bronze); }
.ps { background: #fff; padding: clamp(20px, 3vw, 44px) clamp(16px, 2.5vw, 36px); border: 1px solid #E5E5E5; }
.ps[hidden] { display: none; }
.ps-head { display: flex; align-items: center; gap: clamp(12px, 2vw, 24px); }
.ps-title { font-family: "Noto Serif JP", var(--mincho); font-weight: 700; font-size: clamp(26px, 3.4vw, 46px); line-height: 1.2; color: #111; white-space: nowrap; letter-spacing: 0.02em; }
html[lang=en] .ps-title, html[lang=vi] .ps-title { white-space: normal; }
.ps-sep { font-weight: 300; margin-inline: 0.2em; color: #111; }
.ps-rule { flex: 1; height: 1.5px; background: var(--bronze); min-width: 24px; max-width: 420px; }
.ps-brand { margin-left: auto; font-family: "Noto Serif JP", var(--mincho); font-weight: 600; font-size: clamp(16px, 1.8vw, 24px); color: #111; white-space: nowrap; }
.ps-sub { margin-top: 6px; font-size: clamp(15px, 1.6vw, 22px); color: #555; letter-spacing: 0.04em; }
.ps-cards { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(8px, 1vw, 14px); margin-top: clamp(18px, 2.4vw, 30px); }
.ps-cards li { border: 1px solid #C8C8C8; background: #fff; }
.psc-h { display: flex; align-items: center; gap: 10px; min-height: 84px; padding: 12px 14px; background: var(--mint); border-bottom: 3px solid var(--bronze); font-weight: 700; font-size: clamp(13px, 1.15vw, 16px); line-height: 1.4; color: #111; }
.psc-h span { flex: 1; text-align: center; }
.psc-h .pico { width: 40px; height: 40px; margin: 0; flex: none; }
.psc-b { padding: 14px 10px 18px; text-align: center; }
.psc-n { font-size: 12px; color: #555; letter-spacing: 0.04em; }
.psc-p { margin-top: 4px; font-family: "Noto Sans JP", var(--gothic); font-weight: 700; font-size: clamp(20px, 2.2vw, 30px); color: #111; white-space: nowrap; font-variant-numeric: tabular-nums; letter-spacing: 0; }
.ps-terms { margin-top: clamp(18px, 2.4vw, 30px); border: 1px solid #C8C8C8; border-collapse: collapse; }
.ps-terms th, .ps-terms td { border-bottom: 1px solid #C8C8C8; padding: 14px 18px; vertical-align: middle; font-size: 15px; }
.ps-terms tr:last-child th, .ps-terms tr:last-child td { border-bottom: 0; }
.ps-terms th { width: 23%; background: var(--mint); border-right: 3px solid var(--bronze); font-weight: 700; color: #111; }
.tl { display: flex; align-items: center; gap: 14px; line-height: 1.35; }
.ps-terms .pico { width: 36px; height: 36px; margin: 0; flex: none; }
.ps-terms .tv { width: 38%; color: #111; }
.ps-terms .tn { font-size: 13px; color: #555; line-height: 1.6; border-left: 1px solid #C8C8C8; }
.ps-foot { margin-top: 18px; padding-top: 14px; border-top: 1.5px solid var(--bronze); font-size: 12px; color: #555; }
.pico { width: 48px; height: 48px; }

/* Flow page */
.flow .steps { margin-top: 8px; }
.send { display: flex; gap: 20px; margin-top: clamp(40px, 5vw, 64px); padding: clamp(24px, 3vw, 40px); background: var(--wall); }
.send p { max-width: 52em; font-size: 14px; }
.send .sub-title { margin-bottom: 8px; }

/* Company page */
.company { padding-bottom: var(--sec); }
.company-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.story .intro-text { margin-top: 24px; }
.company-table { border-top: 1px solid var(--sumi); }

/* Contact page */
.contact { padding-bottom: var(--sec); }
.page-contact .contact-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
.page-contact .channels { grid-template-columns: 1fr; }
.page-contact .channels .ch-line { grid-template-columns: auto 1fr; }
.page-contact .ch-line img { grid-column: 2; grid-row: auto; justify-self: start; width: 120px; margin: 6px 0; }
.page-contact .form { padding-top: 0; }

/* Policy */
.policy { padding-top: 0; }

/* Footer */
.footer-grid { display: grid; grid-template-columns: auto 1fr auto; gap: 20px 40px; align-items: start; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-nav a, .footer-sub a { text-decoration: none; }
.footer-tag { grid-column: 1 / 3; }
.footer-sub { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; grid-column: 1 / 3; }
.footer-grid .copy { grid-column: 3; grid-row: 1; margin: 0; }

/* ======== Round 6 ======== */
/* Nút liên hệ nổi bật: nền đỏ */
.nav-cta { background: var(--bronze); border-color: var(--bronze); color: #fff; }
.nav-cta:hover, .nav-cta[aria-current=page] { background: #A81516; border-color: #A81516; color: #fff; }
.cta-btn { min-height: 64px; padding: 0 40px; background: var(--bronze); border-color: var(--bronze); color: #fff; font-size: 16px; font-weight: 700; box-shadow: 0 8px 24px rgba(209, 27, 28, 0.35); }
.cta-btn:hover { background: #fff; border-color: #fff; color: var(--bronze); }
.cta-btn .ico-s { width: 20px; height: 20px; transition: transform 0.25s; }
.cta-btn:hover .ico-s { transform: translateX(4px); }

/* Steps: số lớn + mũi tên dẫn từng bước */
.steps { counter-reset: none; gap: 44px; }
.steps li { border-top: 0; padding: 22px 20px 24px; background: #fff; border: 1px solid var(--line); }
.steps li::before { content: none; }
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 46px; right: -34px; width: 24px; height: 24px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D11B1C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h15M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; }
.steps .step-no { display: flex; align-items: baseline; gap: 8px; margin-bottom: 14px; color: var(--bronze); font-family: "Shippori Mincho", serif; font-size: 44px; font-weight: 600; line-height: 1; }
.steps .step-no span { font-family: var(--gothic); font-size: 11px; font-weight: 700; letter-spacing: 0.16em; }
.steps .ico { display: block; margin-bottom: 10px; }

/* Reel video */
.reel-sec { padding-bottom: var(--sec); }
.reel-sec-alt { background: var(--paper); padding-top: var(--sec); }
.reel { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 4fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.reel-media { position: relative; background: #111; aspect-ratio: 1; }
.reel-media video { display: block; width: 100%; height: 100%; object-fit: cover; }
.reel-toggle { position: absolute; right: 12px; bottom: 12px; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(17, 17, 17, 0.7); color: #fff; cursor: pointer; }
.reel-toggle .ico-s { margin: 0; width: 18px; height: 18px; fill: none; }
.reel-toggle:hover { background: var(--bronze); }
.reel-title { font-family: var(--mincho); font-weight: 600; font-size: clamp(26px, 3vw, 38px); line-height: 1.3; letter-spacing: 0.04em; }
.reel-steps { counter-reset: r; display: grid; gap: 0; margin: 24px 0 20px; border-top: 1px solid var(--line); }
.reel-steps li { counter-increment: r; display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.reel-steps li::before { content: "0" counter(r); font-family: "Shippori Mincho", serif; font-weight: 600; color: var(--bronze); font-size: 20px; width: 2em; }
.reel-steps li:last-child { font-weight: 700; }
.reel-text > p { color: var(--stone); }

/* Footer icons */
.f-ico { display: inline-flex; align-items: center; gap: 6px; }
.f-ico .ico-s { margin: 0; }
.f-insta .ico { width: 26px; height: 26px; }
.f-insta:hover .ico { stroke: var(--bronze); }

@media (max-width: 1100px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 44px; }
  .steps li:nth-child(3)::after { content: none; }
}
@media (max-width: 900px) {
  .reel { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .steps li, .steps li:first-child { display: block; padding: 20px; border: 1px solid var(--line); }
  .steps li:not(:last-child)::after, .steps li:nth-child(3)::after { content: ""; top: auto; bottom: -34px; right: auto; left: 50%; margin-left: -12px; transform: rotate(90deg); }
}

@media (max-width: 1100px) {
  .ps-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ps-brand { display: none; }
}
@media (max-width: 900px) {
  .tiles, .company-grid, .page-contact .contact-grid { grid-template-columns: 1fr; }
  .quality .checks { grid-template-columns: 1fr; }
  .ps-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ps-head { flex-wrap: wrap; }
  .ps-title { white-space: normal; }
  .ps-rule { display: none; }
  .ps-terms, .ps-terms tbody, .ps-terms tr, .ps-terms th, .ps-terms td { display: block; width: auto !important; }
  .ps-terms tr { border-bottom: 1px solid #C8C8C8; }
  .ps-terms tr:last-child { border-bottom: 0; }
  .ps-terms th { border-right: 0; border-bottom: 2px solid var(--bronze) !important; padding: 10px 14px; }
  .ps-terms td { border: 0 !important; padding: 10px 14px 0; }
  .ps-terms .tn { padding-bottom: 12px; }
  .ps-terms .tl br, .psc-h br { display: none; }
  .psc-p { font-size: 22px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-tag, .footer-sub, .footer-grid .copy { grid-column: 1; grid-row: auto; }
  .page-contact .channels { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .psc-h { flex-direction: column; min-height: 0; text-align: center; padding: 12px 8px; }
  .send { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
