/* TapeAce — tapeace.com */
:root {
  --navy: #0d1b2e;
  --navy-2: #122642;
  --navy-3: #0a1524;
  --accent: #f5a623;
  --accent-2: #d97706;
  --accent-soft: #fef3e2;
  --text: #243041;
  --muted: #5b6b7f;
  --line: #e3e9f1;
  --bg-alt: #f4f7fb;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(13, 27, 46, .08);
  --shadow-sm: 0 2px 10px rgba(13, 27, 46, .06);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", "Noto Sans Arabic", "Noto Sans Thai",
    "Hiragino Sans", "Yu Gothic UI", "Microsoft YaHei", sans-serif;
  color: var(--text);
  line-height: 1.65;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img { max-width: 100%; display: block; }

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

h1, h2, h3, h4 { line-height: 1.25; letter-spacing: -.015em; color: var(--navy); font-weight: 750; }
h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.45rem, 2.6vw, 1.9rem); margin-block-end: .9rem; }
h3 { font-size: 1.02rem; }

.wrap { max-width: 1180px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 32px); }
.sec { padding-block: clamp(52px, 8vw, 84px); }
.sec-sm { padding-block: clamp(34px, 5vw, 52px); }
.sec-alt { background: var(--bg-alt); }
.sec h2:first-child, .split-txt h2:first-child { margin-block-start: 0; }

.kicker {
  display: block; text-transform: uppercase; letter-spacing: .09em;
  font-size: .78rem; font-weight: 700; color: var(--accent-2); margin-block-end: .5rem;
}
.lead { color: var(--muted); font-size: 1.06rem; max-width: 62ch; }
.muted { color: var(--muted); }
.sm { font-size: .88rem; }
.mt { margin-block-start: 1.2rem; }
.prose p { max-width: 70ch; margin-block-end: 1em; }
.center { text-align: center; }

/* ---------------- buttons & chips ---------------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: 999px; border: 2px solid transparent;
  font-weight: 650; font-size: .95rem; cursor: pointer; line-height: 1.2;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-accent { background: var(--accent); color: var(--navy-3); }
.btn-accent:hover { background: var(--accent-2); color: #fff; }
.btn-ghost { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn-ghost:hover { border-color: #fff; }
.btn-outline { border-color: var(--line); color: var(--navy); background: #fff; }
.btn-outline:hover { border-color: var(--navy); box-shadow: var(--shadow-sm); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-sm { padding: 8px 16px; font-size: .88rem; }

.chip {
  display: inline-flex; align-items: center; padding: 5px 12px; border-radius: 999px;
  font-size: .8rem; font-weight: 600; background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .22); color: #fff;
}
.chip-moq { background: var(--accent-soft); border: 1px solid #f3ddb0; color: #8a5a0b; }

.textlink { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; color: var(--accent-2); }

/* ---------------- header ---------------- */
.skip { position: absolute; inset-inline-start: -9999px; }
.skip:focus { inset-inline-start: 12px; inset-block-start: 12px; background: #fff; padding: 8px 14px; z-index: 99; border-radius: 8px; }

.hdr {
  position: sticky; inset-block-start: 0; z-index: 50;
  background: rgba(13, 27, 46, .97); backdrop-filter: blur(8px);
}
.hdr.scrolled { box-shadow: 0 4px 18px rgba(10, 21, 36, .35); }
.hdr-in { display: flex; align-items: center; gap: 18px; min-height: 66px; position: relative; }

.brand { display: inline-flex; align-items: center; gap: 9px; color: #fff; font-size: 1.18rem; font-weight: 800; letter-spacing: -.01em; }
.brand b { color: var(--accent); font-weight: 800; }
.logo-mark { width: 30px; height: 30px; }

.nav { display: flex; align-items: center; gap: 2px; margin-inline-start: auto; }
.nav a {
  color: #c9d4e2; padding: 8px 13px; border-radius: 9px; font-size: .93rem; font-weight: 550;
}
.nav a:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.nav a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .1); }

.hdr-act { display: flex; align-items: center; gap: 12px; }

.lang { position: relative; }
.lang summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 5px;
  padding: 7px 12px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px;
  color: #fff; font-size: .86rem; font-weight: 600;
}
.lang summary::-webkit-details-marker { display: none; }
.lang summary .ic { width: 14px; height: 14px; }
.lang[open] summary .ic { transform: rotate(180deg); }
.lang ul {
  position: absolute; inset-inline-end: 0; inset-block-start: calc(100% + 8px);
  background: #fff; border-radius: 12px; box-shadow: var(--shadow);
  list-style: none; padding: 6px; min-width: 170px; z-index: 60;
}
.lang li a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--text); font-size: .9rem; }
.lang li a:hover { background: var(--bg-alt); }
.lang li.cur a { color: var(--accent-2); font-weight: 700; }

.nav-toggle { display: none; background: none; border: 0; color: #fff; cursor: pointer; padding: 6px; }
.nav-toggle .ic { width: 26px; height: 26px; }

/* ---------------- hero ---------------- */
.hero {
  background: linear-gradient(100deg, rgba(13, 27, 46, .94) 12%, rgba(13, 27, 46, .72) 55%, rgba(13, 27, 46, .45)),
    url("../img/hero.webp") center / cover no-repeat;
  color: #fff; padding-block: clamp(72px, 10vw, 120px) clamp(96px, 12vw, 140px);
}
.hero h1 { color: #fff; max-width: 18ch; margin-block: .5rem .8rem; }
.hero-sub { color: #c3d0e0; font-size: 1.08rem; max-width: 60ch; }
.badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
  border: 1px solid rgba(245, 166, 35, .5); color: var(--accent);
  font-size: .82rem; font-weight: 650; letter-spacing: .02em; background: rgba(245, 166, 35, .1);
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-block: 1.6rem 1.3rem; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
  background: #fff; border-radius: 18px; box-shadow: var(--shadow);
  padding: 26px; margin-block-start: -54px; position: relative; z-index: 2;
  border: 1px solid var(--line);
}
.stat { text-align: center; padding: 4px 8px; }
.stat b { display: block; font-size: clamp(1.4rem, 2.4vw, 1.9rem); color: var(--navy); font-weight: 800; }
.stat span { color: var(--muted); font-size: .86rem; }

/* ---------------- grids & cards ---------------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-1 { grid-template-columns: 1fr; }

.pcard {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #f0c878; }
.pcard figure { aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-alt); }
.pcard img { width: 100%; height: 100%; object-fit: cover; }
.pcard-b { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.pcard-b h3 { font-size: 1.06rem; }
.pcard-b p { color: var(--muted); font-size: .92rem; flex: 1; }
.pcard .chip-moq { align-self: flex-start; font-size: .75rem; }
.pcard-link { display: inline-flex; align-items: center; gap: 6px; color: var(--accent-2); font-weight: 650; font-size: .92rem; }

.why { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.why .ic { width: 24px; height: 24px; padding: 10px; box-sizing: content-box; border-radius: 12px; background: var(--accent-soft); color: var(--accent-2); flex-shrink: 0; }
.why h3 { margin-block-end: .35rem; }
.why p { color: var(--muted); font-size: .93rem; }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.note-card { background: #fffbf2; border-color: #f0e0bd; }

/* ---------------- split / steps / band ---------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 56px); align-items: center; }
.split-img img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.split-txt p { color: var(--text); margin-block: .4rem 1.2rem; max-width: 56ch; }

.steps { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: step; }
.steps li { position: relative; }
.steps li + li::before {
  content: ""; position: absolute; inset-inline-start: -22px; inset-block-start: 17px;
  width: 26px; height: 2px; background: #dbe4ee;
}
.step-n {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--navy); color: var(--accent); font-weight: 800; margin-block-end: 10px;
}
.steps h3 { margin-block-end: .3rem; font-size: .98rem; }
.steps p { color: var(--muted); font-size: .88rem; }
.steps-v { grid-template-columns: 1fr; gap: 22px; }
.steps-v li { display: flex; gap: 14px; }
.steps-v li + li::before { inset-inline-start: 17px; inset-block-start: 40px; width: 2px; height: 22px; }

.band { background: linear-gradient(110deg, var(--navy), var(--navy-2)); color: #fff; }
.band-in { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding-block: clamp(44px, 6vw, 64px); }
.band h2 { color: #fff; }
.band p { color: #b9c7d8; max-width: 62ch; }

.cert-strip { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.cert {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); font-size: .88rem; font-weight: 600; color: var(--navy);
}
.cert .ic { width: 16px; height: 16px; color: var(--accent-2); }

.cta-box { background: linear-gradient(115deg, var(--navy), var(--navy-2)); border-radius: 22px; text-align: center; padding: clamp(40px, 6vw, 64px) 24px; }
.cta-box h2 { color: #fff; }
.cta-box p { color: #b9c7d8; max-width: 52ch; margin: .4rem auto 1.4rem; }

/* ---------------- page hero / crumbs ---------------- */
.page-hero { padding-block-end: clamp(18px, 3vw, 26px); }
.page-hero h1 { margin-block: .4rem .5rem; font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.crumbs { font-size: .86rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--accent-2); }
.crumbs [aria-current] { color: var(--navy); font-weight: 600; }
.crumbs .sep { color: #b7c3d1; }

/* ---------------- product page ---------------- */
.prod-hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(26px, 4vw, 48px); align-items: center; }
.prod-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.prod-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.tagline { color: var(--accent-2); font-weight: 650; font-size: 1.12rem; margin-block: .5rem .9rem; }

.prod-cols { align-items: start; }
.prod-cols h2 { font-size: 1.15rem; margin-block: 1.6rem .6rem; }
.prod-cols h2:first-child { margin-block-start: 0; }

.ticks { list-style: none; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; padding-block: 6px; }
.ticks .ic { width: 18px; height: 18px; color: var(--accent-2); flex-shrink: 0; margin-block-start: 4px; }

.dots { padding-inline-start: 1.25em; }
.dots li { padding-block: 4px; }
.dots li::marker { color: var(--accent-2); }

.specs { width: 100%; border-collapse: collapse; font-size: .93rem; }
.specs th, .specs td { padding: 11px 14px; border-block-end: 1px solid var(--line); text-align: start; vertical-align: top; }
.specs tbody th { font-weight: 600; color: var(--muted); width: 36%; background: #f8fafc; }
.specs tbody tr:nth-child(odd) td { background: #fcfdfe; }
.specs thead th { background: var(--navy); color: #fff; font-size: .88rem; }
.tbl-scroll { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.tbl-markets { min-width: 760px; }
.tbl-markets tbody th { width: 150px; }
.note-card h3 { margin-block: .4rem 0; font-size: .95rem; }
.note-card p { color: var(--text); font-size: .95rem; }
.note-card .btn { margin-block-start: 10px; }

.faq-wrap { max-width: 860px; }
.faq { border-block-end: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding-block: 15px; font-weight: 650; color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq .plus { position: relative; width: 18px; height: 18px; flex-shrink: 0; }
.faq .plus::before, .faq .plus::after { content: ""; position: absolute; background: var(--accent-2); border-radius: 2px; }
.faq .plus::before { inset-inline-start: 8px; inset-block-start: 2px; width: 2px; height: 14px; }
.faq .plus::after { inset-inline-start: 2px; inset-block-start: 8px; width: 14px; height: 2px; }
.faq[open] .plus::before { display: none; }
.faq p { color: var(--muted); padding-block-end: 16px; max-width: 68ch; }

/* ---------------- contact ---------------- */
.contact-cols { align-items: start; }
.form { display: flex; flex-direction: column; gap: 0; }
.form label { display: block; font-weight: 600; font-size: .9rem; margin-block-end: 14px; color: var(--navy); }
.form input, .form select, .form textarea {
  width: 100%; margin-block-start: 6px; padding: 12px 14px; border: 1.5px solid var(--line);
  border-radius: 10px; font: inherit; color: var(--text); background: #fff;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 2.5px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
.form .btn { align-self: flex-start; }
.hp { position: absolute; inset-inline-start: -9999px; height: 0; width: 0; opacity: 0; }
.msg { padding: 12px 16px; border-radius: 10px; font-size: .93rem; }
.msg.ok { background: #e8f7ee; border: 1px solid #b8e6c9; color: #166534; }
.msg.err { background: #fdecec; border: 1px solid #f5c2c2; color: #991b1b; }

.side h2 { font-size: 1.2rem; }
.contact-list { list-style: none; margin-block: 12px 16px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; padding-block: 8px; }
.contact-list .ic { width: 20px; height: 20px; color: var(--accent-2); flex-shrink: 0; margin-block-start: 3px; }

/* ---------------- footer ---------------- */
.ftr { background: var(--navy-3); color: #9fb0c3; margin-block-start: clamp(30px, 5vw, 50px); }
.ftr-grid { display: grid; grid-template-columns: 2.1fr 1fr 1fr 1.4fr; gap: 36px; padding-block: clamp(40px, 6vw, 60px) 30px; }
.ftr .brand { margin-block-end: 14px; }
.ftr p { font-size: .92rem; max-width: 34ch; }
.ftr h4 { color: #fff; font-size: .95rem; margin-block-end: 14px; }
.ftr ul { list-style: none; }
.ftr li { padding-block: 5px; font-size: .92rem; }
.ftr a { color: #9fb0c3; }
.ftr a:hover { color: #fff; }
.ftr-legal {
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  border-block-start: 1px solid rgba(255, 255, 255, .08); padding-block: 18px; font-size: .82rem; color: #6d7f94;
}

/* ---------------- icons & rtl ---------------- */
.ic { width: 20px; height: 20px; flex-shrink: 0; }
[dir="rtl"] .ic-rtl { transform: scaleX(-1); }
[dir="rtl"] .steps li + li::before { inset-inline-start: auto; inset-inline-end: -22px; }
[dir="rtl"] .steps-v li + li::before { inset-inline-start: auto; inset-inline-end: 17px; }

:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ---------------- responsive ---------------- */
@media (max-width: 1060px) {
  .nav {
    display: none; position: absolute; inset-inline: 0; inset-block-start: 100%;
    background: var(--navy); flex-direction: column; align-items: stretch;
    padding: 12px clamp(16px, 4vw, 32px) 18px; border-block-start: 1px solid rgba(255, 255, 255, .1);
    box-shadow: 0 18px 30px rgba(10, 21, 36, .35);
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 10px; border-radius: 10px; }
  .nav-toggle { display: inline-flex; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps li { padding-block-end: 20px; }
  .steps li + li::before { inset-inline-start: 17px; inset-block-start: 40px; width: 2px; height: 22px; }
  .steps li { display: flex; gap: 14px; }
  .band-in { flex-direction: column; align-items: flex-start; }
  .ftr-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .split, .prod-hero, .grid-2, .about-cols { grid-template-columns: 1fr; }
  .prod-hero .prod-img { order: -1; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .hdr-act .btn { display: none; }
}

@media (max-width: 620px) {
  .grid-3 { grid-template-columns: 1fr; }
  .ftr-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero { padding-block-start: 56px; }
  .stats { padding: 18px; margin-block-start: -40px; }
  .ftr-legal { flex-direction: column; }
}
