/* SealPro Tape — static site design system v7 (editorial B2B)
   Palette: brand orange #F08040, deep blue #1b4e72. 4px radius, 1px rules,
   left-aligned editorial layout, dense information, no SaaS softness. */

@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/montserrat-500.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/montserrat-600.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 700; font-display: swap; src: url('/fonts/montserrat-700.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 800; font-display: swap; src: url('/fonts/montserrat-800.woff2') format('woff2'); }
@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/opensans-400.woff2') format('woff2'); }
@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/opensans-600.woff2') format('woff2'); }

:root {
  --ink: #1b4e72;
  --ink-2: #2a5d82;
  --ink-3: #123a58;
  --accent: #f08040;
  --accent-deep: #a84510;
  --accent-text: #b04a11;
  --accent-soft: #fdeee2;
  --teal: #3d8b91;
  --bg: #ffffff;
  --bg-soft: #f5f2ec;
  --bg-warm: #fbf1e6;
  --text: #1c262d;
  --muted: #46535d;
  --line: #e2dcd2;
  --line-soft: #efebe4;
  --radius: 4px;
  --font: 'Open Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --font-head: 'Montserrat', 'Open Sans', -apple-system, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.6; font-size: 15px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink-3); text-decoration: none; }
a:hover { color: var(--accent-text); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.2; font-weight: 700; letter-spacing: -.015em; text-wrap: balance; }
h1 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); font-weight: 800; }
h2 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); font-weight: 700; }
h3 { font-size: 1.05rem; font-weight: 600; }
p { margin-bottom: .9rem; text-wrap: pretty; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
section { padding: 56px 0; border-top: 1px solid var(--line-soft); }
section:first-of-type { border-top: none; }

/* editorial section header — left aligned, no numbering */
.section-head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 24px; max-width: none; }
.section-head h2 { margin: 0; }
.section-head p { color: var(--muted); font-size: .92rem; margin: 0; }
.section-head::after { content: ""; flex: 1; height: 1px; background: var(--line); margin-left: 8px; align-self: center; }

/* ---------- header ---------- */
.site-header { background: #fff; position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 36px; width: auto; }
.nav { display: flex; align-items: center; gap: 24px; }
.nav a { color: var(--text); font-size: .88rem; font-weight: 500; }
.nav a:hover { color: var(--accent-text); }
.nav a.active { color: var(--accent-text); }
.nav .btn { padding: 8px 16px; color: #fff; font-size: .85rem; }
.nav-toggle { display: none; background: none; border: none; color: var(--ink); cursor: pointer; padding: 4px; }

/* ---------- buttons ---------- */
.btn { display: inline-block; padding: 11px 22px; border-radius: var(--radius); font-family: var(--font-head); font-weight: 600; font-size: .88rem; border: none; cursor: pointer; transition: background .15s ease, box-shadow .15s ease; letter-spacing: .01em; }
.btn-primary { background: var(--accent-deep); color: #fff; }
.btn-primary:hover { background: #8f3a0d; box-shadow: 0 4px 12px rgba(168,69,16,.25); }
.btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.4); }
.btn-ghost:hover { border-color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-2); }

/* ---------- hero ---------- */
.hero { background: var(--ink); color: #fff; padding: 72px 0 64px; position: relative; overflow: hidden; border-top: none; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero h1 { color: #fff; margin-bottom: 16px; font-size: clamp(1.9rem, 3.4vw, 2.5rem); font-weight: 800; text-wrap: balance; line-height: 1.18; }
.hero .lead { color: rgba(255,255,255,.85); font-size: 1rem; max-width: 480px; margin-bottom: 24px; line-height: 1.65; }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid rgba(255,255,255,.15); padding-top: 20px; }
.hero-meta .hm { }
.hero-meta .hm .n { font-family: var(--font-head); font-size: 1.3rem; font-weight: 800; color: var(--accent); display: block; line-height: 1; margin-bottom: 4px; }
.hero-meta .hm .l { font-size: .85rem; color: rgba(255,255,255,.7); line-height: 1.3; }
.hero-figure { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; background: var(--ink); }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; display: flex; align-items: center; justify-content: center; }
.hero-slide.active { opacity: 1; }
.hero-slide img { max-width: 100%; max-height: 100%; object-fit: contain; }
.hero-dots { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; z-index: 3; }
.hero-dots button { width: 8px; height: 8px; border-radius: 50%; border: none; background: rgba(255,255,255,.4); cursor: pointer; padding: 0; }
.hero-dots button.active { background: var(--accent); }

/* ---------- trust strip ---------- */
.trust { background: var(--bg-soft); padding: 20px 0; border-top: none; }
.trust ul { display: flex; justify-content: center; gap: 0; list-style: none; }
.trust li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink); font-size: .85rem; padding: 0 32px; }
.trust li + li { border-left: 1px solid var(--line); }
.trust .t-ico { width: 32px; height: 32px; border-radius: var(--radius); background: var(--accent-soft); color: var(--accent-text); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: .75rem; flex-shrink: 0; }

/* ---------- services — horizontal rows ---------- */
.services-grid { display: flex; flex-direction: column; gap: 0; }
.service-row { display: grid; grid-template-columns: 48px 1fr auto; gap: 24px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line-soft); }
.service-row:last-child { border-bottom: none; }
.service-row .s-ico { width: 40px; height: 40px; color: var(--ink); }
.service-row h3 { margin: 0 0 4px; font-size: 1rem; }
.service-row p { color: var(--muted); font-size: .9rem; margin: 0; }
.service-row .s-link { font-size: .85rem; font-weight: 600; color: var(--accent-text); white-space: nowrap; }

/* ---------- product cards ---------- */
.prod-section { background: var(--bg-soft); }
.prod-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.prod-card { background: var(--bg); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s ease; }
.prod-card:hover { box-shadow: 0 2px 8px rgba(11,43,61,.08); }
.prod-card .p-img { aspect-ratio: 1/1; background: var(--bg-soft); overflow: hidden; }
.prod-card .p-img img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.prod-card .p-body { padding: 12px 14px 16px; display: flex; flex-direction: column; flex: 1; }
.prod-card .p-cat { font-size: .8rem; color: var(--accent-text); font-weight: 600; margin-bottom: 4px; }
.prod-card h3 { margin-bottom: 6px; font-size: .88rem; line-height: 1.25; }
.prod-card h3 a { color: var(--ink); }
.prod-card h3 a:hover { color: var(--accent-text); }
.prod-card p { color: var(--muted); font-size: .9375rem; flex: 1; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.45; }
.prod-card .p-link { font-weight: 600; font-size: .85rem; color: var(--ink-3); }
.prod-card .p-link:hover { color: var(--accent-text); }
.prod-sep { margin: 32px 0 16px; display: flex; align-items: center; gap: 12px; }
.prod-sep h3 { margin: 0; font-size: 1rem; color: var(--ink); }
.prod-sep::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ---------- applications ---------- */
.apps { background: var(--bg-warm); }
.apps-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.apps-strip { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
.app-tile { flex: 1 1 0; min-width: 140px; scroll-snap-align: start; }
.app-tile img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); background: var(--bg-soft); }
.app-tile span { display: block; text-align: center; font-size: .82rem; font-weight: 600; color: var(--ink); margin-top: 10px; line-height: 1.3; }

/* ---------- testimonials — single editorial quote ---------- */
.testi-feature { display: grid; grid-template-columns: 1fr 280px; gap: 40px; align-items: center; }
.testi-feature blockquote { font-family: var(--font-head); font-size: 1.15rem; line-height: 1.5; color: var(--ink); font-weight: 500; border-left: 3px solid var(--accent); padding-left: 24px; margin: 0 0 16px; }
.testi-feature blockquote::before { content: ""; }
.testi-feature .t-author { display: flex; align-items: center; gap: 12px; padding-left: 27px; }
.testi-feature .t-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.testi-feature .t-name { font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: .9rem; }
.testi-feature .t-role { color: var(--muted); font-size: .8rem; }
.testi-nav { display: flex; gap: 8px; margin-top: 20px; padding-left: 27px; }
.testi-nav button { width: 28px; height: 28px; border: 1px solid var(--line); background: var(--bg); border-radius: var(--radius); cursor: pointer; color: var(--ink); font-size: .85rem; display: flex; align-items: center; justify-content: center; }
.testi-nav button:hover { border-color: var(--accent); color: var(--accent-text); }
.testi-thumbs { display: flex; flex-direction: column; gap: 10px; }
.testi-thumb { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; transition: border-color .15s ease; }
.testi-thumb.active { border-color: var(--accent); background: var(--accent-soft); }
.testi-thumb img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.testi-thumb .tt-name { font-size: .85rem; font-weight: 700; color: var(--ink); }
.testi-thumb .tt-role { font-size: .85rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-list { max-width: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; align-items: start; }
.faq-item { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.faq-item summary { padding: 12px 16px; font-weight: 600; color: var(--ink); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: .88rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1rem; color: var(--accent-text); font-weight: 500; flex-shrink: 0; }
.faq-item[open] summary::after { content: "−"; }
.faq-item[open] { border-color: var(--accent); }
.faq-item .f-a { padding: 0 16px 12px; color: var(--muted); font-size: .85rem; }

/* ---------- about gallery ---------- */
.gallery-figure { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/7; }
.gallery-figure .slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; }
.gallery-figure .slide.active { opacity: 1; }
.gallery-figure .slide img { width: 100%; height: 100%; object-fit: cover; }
.gallery-figure .dots { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; z-index: 3; }
.gallery-figure .dots button { width: 8px; height: 8px; border-radius: 50%; border: none; background: rgba(255,255,255,.55); cursor: pointer; padding: 0; }
.gallery-figure .dots button.active { background: var(--accent); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink); color: #fff; padding: 48px 0; border-top: none; }
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.cta-band h2 { color: #fff; margin: 0 0 6px; font-size: 1.4rem; }
.cta-band p { color: rgba(255,255,255,.75); margin: 0; font-size: .9rem; }
.cta-band .btn { white-space: nowrap; }

/* ---------- contact / form ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; }
.info-card { background: var(--bg-soft); border-radius: var(--radius); padding: 20px; margin-bottom: 12px; }
.info-card h3 { font-size: .95rem; margin-bottom: 6px; }
.info-card p { color: var(--muted); margin: 0; font-size: .88rem; }
.form-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.form-card label { display: block; font-weight: 600; font-size: .85rem; color: var(--ink); margin-bottom: 5px; }
.form-card input, .form-card textarea { width: 100%; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 12px; font: inherit; font-size: .88rem; margin-bottom: 14px; background: var(--bg); color: var(--text); }
.form-card input:focus, .form-card textarea:focus { outline: 2px solid var(--accent); border-color: transparent; }
/* status line under the submit button — always one line of space is reserved,
   so the message can never touch the button and the card never jumps */
.form-note { font-size: .78rem; line-height: 1.45; color: var(--muted); margin: 14px 0 0; min-height: 1.45em; padding-left: 12px; border-left: 2px solid transparent; transition: color .15s ease, border-color .15s ease; }
.form-note:not(:empty) { border-left-color: var(--line); }
.form-note[data-state="success"] { color: var(--ink); border-left-color: var(--teal); font-weight: 600; }
.form-note[data-state="error"] { color: var(--accent-text); border-left-color: var(--accent-deep); font-weight: 600; }

/* ---------- product page ---------- */
.breadcrumb { padding: 16px 0 0; font-size: .85rem; color: var(--muted); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--accent); }
.prod-detail { display: grid; grid-template-columns: 400px 1fr; gap: 48px; align-items: start; max-width: 1200px; margin: 0 auto; padding: 32px 32px 48px; }
.prod-detail .pd-img { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.prod-detail .pd-img img { width: 100%; max-width: 360px; height: auto; margin: 0 auto; display: block; }
.prod-detail .p-cat { font-size: .82rem; color: var(--accent-text); font-weight: 600; margin-bottom: 8px; display: block; }
.prod-detail h1 { margin-bottom: 12px; font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.prod-detail .lead { color: var(--muted); font-size: 1rem; margin-bottom: 20px; line-height: 1.65; }
.prod-detail .btn { margin-top: 8px; }
.benefits { list-style: none; margin: 18px 0; }
.benefits li { padding: 7px 0 7px 24px; position: relative; font-size: .95rem; line-height: 1.55; }
.benefits li::before { content: "→"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.spec-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.spec-table th, .spec-table td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.spec-table th { color: var(--ink); font-weight: 600; width: 42%; background: var(--bg-soft); font-family: var(--font-head); }
.spec-table td { color: var(--text); }
.apps-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.apps-list li { background: var(--bg-soft); border-radius: var(--radius); padding: 6px 14px; font-size: .88rem; font-weight: 500; color: var(--ink); }
.pd-section-title { font-size: 1.1rem; margin: 32px 0 16px; color: var(--ink); }
.pd-label { display: block; font-size: .85rem; font-weight: 600; color: var(--muted); margin-bottom: 10px; font-family: var(--font-head); }

/* ---------- page hero (inner pages) ---------- */
.page-hero { background: var(--ink); color: #fff; padding: 48px 0; border-top: none; }
.page-hero h1 { color: #fff; margin-bottom: 8px; }
.page-hero p { color: rgba(255,255,255,.75); max-width: 600px; margin: 0; font-size: .92rem; }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 28px; border-top: 1px solid var(--line); }
.stat { padding: 18px 16px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: none; }
.stat .n { font-family: var(--font-head); font-size: 1.5rem; font-weight: 800; color: var(--ink); display: block; }
.stat .l { font-size: .8rem; color: var(--muted); }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.8); padding: 40px 0 0; font-size: .85rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; padding-bottom: 28px; }
.site-footer h4 { color: #fff; margin-bottom: 12px; font-size: .85rem; letter-spacing: .04em; }
.site-footer a { color: rgba(255,255,255,.7); }
.site-footer a:hover { color: var(--accent); }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 6px; }
.footer-bottom { background: rgba(0,0,0,.2); padding: 14px 0; text-align: center; color: rgba(255,255,255,.5); font-size: .78rem; }

/* ---------- scroll reveal (CSS animation, works in headless) ---------- */
@keyframes reveal { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.section-head { animation: reveal .5s ease both; animation-delay: .05s; }
.service-row { animation: reveal .5s ease both; }
.service-row:nth-child(1) { animation-delay: .1s; }
.service-row:nth-child(2) { animation-delay: .2s; }
.service-row:nth-child(3) { animation-delay: .3s; }
.prod-card { animation: reveal .4s ease both; }
.app-tile { animation: reveal .4s ease both; }
.faq-item { animation: reveal .4s ease both; }
.testi-feature { animation: reveal .5s ease both; animation-delay: .15s; }
.stat { animation: reveal .4s ease both; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; }
  .hero-slide, .gallery-figure .slide { transition: none; }
}

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: 100px 0; }
.notfound h1 { font-size: 2.8rem; margin-bottom: 12px; }
.notfound p { color: var(--muted); margin-bottom: 24px; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .prod-grid { grid-template-columns: repeat(3, 1fr); }
  .testi-feature { grid-template-columns: 1fr; }
  .testi-thumbs { flex-direction: row; overflow-x: auto; }
}
@media (max-width: 900px) {
  .hero-grid, .prod-detail, .contact-grid, .about-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-meta { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .services-grid { gap: 0; }
  .service-row { grid-template-columns: 28px 1fr; gap: 14px; padding: 14px 0; }
  .service-row .s-ico { width: 28px; height: 28px; }
  .service-row .s-link { display: none; }
  .service-row h3 { font-size: .92rem; }
  .service-row p { font-size: .85rem; line-height: 1.45; grid-column: 2; }
  .trust ul { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-band .container { flex-direction: column; text-align: center; }
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; padding: 16px 24px 20px; gap: 14px; align-items: flex-start; box-shadow: 0 12px 24px rgba(11,43,61,.1); }
  .nav.open { display: flex; }
  .nav-toggle { display: flex; }
  section { padding: 40px 0; }
}
@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .prod-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .faq-list { grid-template-columns: 1fr; }
  .hero-meta { grid-template-columns: repeat(2, 1fr); }
}

/* language switcher */
.lang-switch { display: flex; align-items: center; gap: 4px; font-size: .82rem; font-weight: 600; letter-spacing: .02em; }
.lang-switch a { color: var(--muted); text-decoration: none; padding: 2px 6px; border-radius: 3px; transition: color .15s; }
.lang-switch a.active { color: var(--ink); }
.lang-switch a:hover { color: var(--accent-text); }
.lang-sep { color: var(--line); }
@media (max-width: 768px) { .lang-switch { display: none; } }
