/* =====================================================================
   TRINITY BML — design system
   Brand colours sampled from the official logo (do not change):
   teal #04AAAE · graphite #4E4D52
   Type: SF Pro (Apple system font) with Inter as the non-Apple fallback.
   ===================================================================== */
:root {
  --teal: #04aaae;
  --teal-600: #039296;
  --teal-50: #e6f7f7;
  --graphite: #4e4d52;
  --ink: #232226;          /* deep graphite for body text */
  --ink-2: #6b6a70;        /* secondary text */
  --line: rgba(35, 34, 38, .10);
  --bg: #ffffff;
  --bg-2: #f5f5f7;
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --shadow-1: 0 1px 2px rgba(0,0,0,.04), 0 8px 24px rgba(0,0,0,.06);
  --shadow-2: 0 2px 6px rgba(0,0,0,.05), 0 24px 60px rgba(0,0,0,.12);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.22, .8, .2, 1);
  --nav-h: 56px;
  --max: 1200px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg);
  font-size: 17px; line-height: 1.47; letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-600); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid rgba(4,170,174,.45); outline-offset: 3px; border-radius: 10px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: min(var(--max), calc(100% - 44px)); margin-inline: auto; }
.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.section.alt { background: var(--bg-2); }
.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-600); margin: 0 0 14px; }
.h-display { font-size: clamp(44px, 7.4vw, 96px); line-height: 1.03; letter-spacing: -0.035em; font-weight: 700; margin: 0; }
.h-1 { font-size: clamp(36px, 5.2vw, 64px); line-height: 1.06; letter-spacing: -0.03em; font-weight: 700; margin: 0 0 18px; }
.h-2 { font-size: clamp(26px, 3.2vw, 40px); line-height: 1.12; letter-spacing: -0.022em; font-weight: 650; margin: 0 0 12px; }
.lead { font-size: clamp(19px, 1.9vw, 24px); line-height: 1.38; color: var(--ink-2); font-weight: 500; letter-spacing: -0.015em; margin: 0; max-width: 760px; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.teal { color: var(--teal); }
.grad-text { background: linear-gradient(100deg, var(--teal) 10%, #3fd0d3 45%, var(--graphite) 95%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Liquid glass ---------- */
.glass {
  position: relative;
  background: linear-gradient(135deg, rgba(255,255,255,.62), rgba(255,255,255,.34));
  -webkit-backdrop-filter: blur(22px) saturate(185%);
  backdrop-filter: blur(22px) saturate(185%);
  border: 1px solid rgba(255,255,255,.65);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), inset 0 -1px 0 rgba(255,255,255,.25), 0 10px 40px rgba(20, 40, 45, .10);
}
.glass::before { /* specular sheen */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(120% 60% at 10% 0%, rgba(255,255,255,.55), transparent 55%),
              radial-gradient(80% 50% at 100% 100%, rgba(4,170,174,.08), transparent 60%);
}
.glass-dark {
  background: linear-gradient(135deg, rgba(40,40,46,.55), rgba(25,25,30,.35));
  -webkit-backdrop-filter: blur(22px) saturate(160%); backdrop-filter: blur(22px) saturate(160%);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 10px 40px rgba(0,0,0,.25);
  color: #fff;
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass { background: rgba(255,255,255,.94); }
  .glass-dark { background: rgba(30,30,34,.94); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 22px; border-radius: 999px; border: 0; cursor: pointer;
  font-size: 16px; font-weight: 600; letter-spacing: -0.01em; text-decoration: none !important;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 6px 20px rgba(4,170,174,.32), inset 0 1px 0 rgba(255,255,255,.35); }
.btn-primary:hover { background: var(--teal-600); box-shadow: 0 10px 28px rgba(4,170,174,.38), inset 0 1px 0 rgba(255,255,255,.35); }
.btn-glass { color: var(--ink); }
.btn-glass:hover { transform: translateY(-1px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-link { background: none; height: auto; padding: 0; color: var(--teal-600); font-weight: 600; }
.btn-link::after { content: "›"; font-size: 1.25em; line-height: 1; margin-left: 2px; transition: transform .2s var(--ease); }
.btn-link:hover::after { transform: translateX(3px); }
.btn-sm { height: 36px; padding: 0 16px; font-size: 14px; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.center .btn-row { justify-content: center; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 10px 10px auto; z-index: 50; height: var(--nav-h);
  border-radius: 20px; display: flex; align-items: center;
  transition: background .3s var(--ease), box-shadow .3s var(--ease);
}
.nav .wrap { display: flex; align-items: center; gap: 28px; width: calc(100% - 28px); }
.nav-logo img { height: 30px; width: auto; }
.nav-links { display: flex; gap: 24px; margin-left: auto; list-style: none; padding: 0; margin-block: 0; }
.nav-links a { color: var(--ink); font-size: 14px; font-weight: 500; opacity: .82; }
.nav-links a:hover, .nav-links a[aria-current="page"] { opacity: 1; text-decoration: none; color: var(--teal-600); }
.nav-cta { display: flex; gap: 8px; }
.nav-toggle { display: none; margin-left: auto; width: 40px; height: 40px; border-radius: 12px; border: 0; background: transparent; cursor: pointer; }
.nav-toggle span { display: block; width: 18px; height: 1.6px; background: var(--ink); margin: 5px auto; border-radius: 2px; transition: transform .3s var(--ease); }
@media (max-width: 880px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .nav.open { height: auto; flex-direction: column; padding-bottom: 14px; }
  .nav.open .wrap { flex-wrap: wrap; padding-top: 13px; }
  .nav.open .nav-links { display: flex; flex-direction: column; width: 100%; gap: 4px; margin: 10px 0 0; }
  .nav.open .nav-links a { display: block; padding: 10px 4px; font-size: 18px; }
  .nav.open .nav-cta { display: flex; width: 100%; }
  .nav.open .nav-toggle span:first-child { transform: translateY(3.3px) rotate(45deg); }
  .nav.open .nav-toggle span:last-child { transform: translateY(-3.3px) rotate(-45deg); }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: calc(var(--nav-h) + 70px) 0 40px; background: radial-gradient(60% 50% at 80% 30%, rgba(4,170,174,.14), transparent 70%), radial-gradient(50% 40% at 10% 80%, rgba(78,77,82,.07), transparent 70%), #fff; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 30px; }
.hero h1 { margin-bottom: 22px; }
.hero .lead { margin-bottom: 34px; }
.hero-visual { position: relative; display: grid; place-items: center; min-height: 520px; }
.hero-visual img.tank { width: min(390px, 80%); filter: drop-shadow(0 40px 50px rgba(20,40,45,.18)); position: relative; z-index: 2; animation: float 7s ease-in-out infinite; }
.hero-visual .ring { position: absolute; border-radius: 50%; border: 1px solid rgba(4,170,174,.25); }
.hero-visual .r1 { width: 520px; height: 520px; }
.hero-visual .r2 { width: 380px; height: 380px; border-color: rgba(4,170,174,.15); }
.vapor { position: absolute; top: 4%; left: 50%; width: 260px; height: 200px; transform: translateX(-50%); z-index: 1; pointer-events: none; }
.vapor i { position: absolute; bottom: 0; left: 50%; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle, rgba(200,235,236,.75), transparent 65%); filter: blur(12px); animation: vapor 6s linear infinite; opacity: 0; }
.vapor i:nth-child(2) { animation-delay: 2s; margin-left: -50px; }
.vapor i:nth-child(3) { animation-delay: 4s; margin-left: -70px; }
.hero-badge { position: absolute; z-index: 3; border-radius: 20px; padding: 14px 18px; font-size: 13px; color: var(--ink-2); }
.hero-badge b { display: block; font-size: 26px; letter-spacing: -0.03em; color: var(--ink); line-height: 1.1; }
.hero-badge.b1 { left: 0; top: 22%; }
.hero-badge.b2 { right: 0; bottom: 18%; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes vapor { 0% { transform: translate(-50%, 30px) scale(.6); opacity: 0; } 25% { opacity: .9; } 100% { transform: translate(-30%, -170px) scale(1.8); opacity: 0; } }
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero .lead { margin-inline: auto; }
  .hero .btn-row { justify-content: center; }
  .hero-visual { min-height: 420px; }
  .hero-visual .r1 { width: 380px; height: 380px; } .hero-visual .r2 { width: 280px; height: 280px; }
  .hero-badge.b1 { left: 2%; } .hero-badge.b2 { right: 2%; }
}

/* ---------- Stats strip ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 40px; }
.stat { border-radius: var(--radius-lg); padding: 26px 24px; }
.stat b { display: block; font-size: clamp(30px, 3.4vw, 44px); letter-spacing: -0.035em; line-height: 1.05; font-weight: 700; }
.stat span { color: var(--ink-2); font-size: 15px; }
@media (max-width: 820px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Series bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; margin-top: 56px; }
.tile {
  position: relative; overflow: hidden; border-radius: var(--radius-xl); background: #fff; padding: 34px 34px 0;
  display: flex; flex-direction: column; min-height: 520px; box-shadow: var(--shadow-1); color: var(--ink);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
  text-decoration: none !important; grid-column: span 2;
}
.tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); }
.tile.wide { grid-column: span 3; }
.tile .idx { font-size: 13px; font-weight: 600; color: var(--teal-600); letter-spacing: .06em; }
.tile h3 { font-size: 30px; letter-spacing: -0.03em; margin: 6px 0 6px; line-height: 1.08; }
.tile p { margin: 0; color: var(--ink-2); font-size: 16px; }
.tile .range { margin-top: 14px; font-weight: 600; font-size: 15px; }
.tile .media { margin-top: auto; display: grid; place-items: end center; padding-top: 24px; flex: 1; }
.tile .media img { max-height: 280px; width: auto; object-fit: contain; transition: transform .7s var(--ease); }
.tile:hover .media img { transform: scale(1.04); }
.tile .more { position: absolute; top: 30px; right: 30px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-size: 20px; color: var(--ink); }
@media (max-width: 1020px) { .tile, .tile.wide { grid-column: span 3; } }
@media (max-width: 680px) { .bento { grid-template-columns: 1fr; } .tile, .tile.wide { grid-column: auto; min-height: 460px; } }

/* ---------- Feature (dark) ---------- */
.dark { background: radial-gradient(70% 60% at 75% 40%, rgba(4,170,174,.28), transparent 65%), radial-gradient(50% 50% at 0% 100%, rgba(4,170,174,.12), transparent 60%), #141417; color: #f5f5f7; overflow: hidden; }
.dark .lead { color: rgba(245,245,247,.72); }
.dark .eyebrow { color: #4fd6d9; }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.feature-grid img { border-radius: var(--radius-xl); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.chip { border-radius: 999px; padding: 9px 16px; font-size: 14px; font-weight: 500; }
.spec-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 56px; }
.spec-card { border-radius: var(--radius-lg); padding: 26px; }
.spec-card b { font-size: 38px; letter-spacing: -0.035em; display: block; line-height: 1.05; }
.spec-card span { color: rgba(245,245,247,.68); font-size: 15px; }
.inside-visual { position: relative; }
.inside-visual img { background: radial-gradient(circle at 50% 40%, rgba(255,255,255,.95), rgba(225,240,241,.9)); padding: 30px; }
@media (max-width: 900px) { .feature-grid { grid-template-columns: 1fr; } .spec-cards { grid-template-columns: 1fr; } }

/* ---------- Finder ---------- */
.finder { margin-top: 44px; border-radius: var(--radius-xl); padding: clamp(24px, 4vw, 44px); background: linear-gradient(135deg, #eef8f8, #f6f6f8); }
.finder-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.finder-opt { text-align: left; border-radius: 20px; padding: 20px; cursor: pointer; border: 1px solid rgba(255,255,255,.7); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.finder-opt:hover { transform: translateY(-3px); }
.finder-opt[aria-pressed="true"] { outline: 2px solid var(--teal); }
.finder-opt b { display: block; font-size: 18px; letter-spacing: -0.02em; margin-bottom: 4px; }
.finder-opt span { color: var(--ink-2); font-size: 14px; }
.finder-result { margin-top: 22px; border-radius: 24px; padding: 24px; display: none; grid-template-columns: 140px 1fr; gap: 24px; align-items: center; }
.finder-result.show { display: grid; animation: rise .5s var(--ease); }
.finder-result img { max-height: 150px; margin: auto; }
@media (max-width: 760px) { .finder-options { grid-template-columns: 1fr 1fr; } .finder-result { grid-template-columns: 1fr; text-align: center; } }
@media (max-width: 460px) { .finder-options { grid-template-columns: 1fr; } }

/* ---------- Care grid ---------- */
.care-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }
.care-card { background: #fff; border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-1); }
.care-card .n { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--teal-50); color: var(--teal-600); font-weight: 700; font-size: 15px; margin-bottom: 14px; }
.care-card h3 { margin: 0 0 6px; font-size: 20px; letter-spacing: -0.02em; }
.care-card p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
.notice { margin-top: 18px; border-radius: var(--radius-lg); padding: 22px 26px; background: #fff4f2; color: #7a2a1d; font-size: 15.5px; }
@media (max-width: 900px) { .care-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .care-grid { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 20px; margin-top: 48px; }
.contact-card { border-radius: var(--radius-xl); padding: 36px; background: #fff; box-shadow: var(--shadow-1); }
.contact-card dl { margin: 0; display: grid; gap: 18px; }
.contact-card dt { font-size: 13px; text-transform: uppercase; letter-spacing: .07em; color: var(--ink-2); font-weight: 600; }
.contact-card dd { margin: 4px 0 0; font-size: 19px; font-weight: 500; letter-spacing: -0.015em; }
.map { border-radius: var(--radius-xl); overflow: hidden; min-height: 380px; box-shadow: var(--shadow-1); background: #e9eef0; }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; filter: saturate(.85); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { background: var(--bg-2); padding: 56px 0 34px; font-size: 13px; color: var(--ink-2); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.footer h4 { margin: 0 0 10px; font-size: 13px; color: var(--ink); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a { color: var(--ink-2); }
.footer a:hover { color: var(--teal-600); }
.footer .legal { display: flex; justify-content: space-between; gap: 16px; padding-top: 20px; flex-wrap: wrap; }
.footer-logo { height: 54px; width: auto; margin-bottom: 14px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Catalog page ---------- */
.page-hero { padding: calc(var(--nav-h) + 90px) 0 50px; background: radial-gradient(60% 70% at 50% 0%, rgba(4,170,174,.12), transparent 70%), #fff; }
.tabs-bar { position: sticky; top: calc(var(--nav-h) + 18px); z-index: 30; display: flex; justify-content: center; margin: 0 auto 20px; }
.tabs { display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; overflow-x: auto; max-width: calc(100vw - 24px); scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { border: 0; background: transparent; border-radius: 999px; padding: 9px 16px; font-size: 14px; font-weight: 600; cursor: pointer; white-space: nowrap; color: var(--ink-2); transition: background .25s var(--ease), color .25s; }
.tab[aria-selected="true"] { background: var(--ink); color: #fff; }
.series-block { padding: 70px 0 40px; scroll-margin-top: calc(var(--nav-h) + 90px); }
.series-head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; margin-bottom: 40px; }
.series-head .visual { background: radial-gradient(circle at 50% 55%, #eef8f8, #f5f5f7 70%); border-radius: var(--radius-xl); display: grid; place-items: center; padding: 30px; min-height: 320px; }
.series-head .visual img { max-height: 300px; width: auto; mix-blend-mode: multiply; }
.features { list-style: none; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; }
.features li { position: relative; padding-left: 24px; font-size: 15.5px; color: var(--ink); }
.features li::before { content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 12px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px var(--teal-50); }
.model-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.model-card { text-align: left; cursor: pointer; border: 1px solid var(--line); background: #fff; border-radius: 22px; padding: 22px; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.model-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: transparent; }
.model-card .code { font-size: 13px; font-weight: 600; color: var(--teal-600); letter-spacing: .02em; }
.model-card .big { font-size: 30px; font-weight: 700; letter-spacing: -0.035em; margin: 10px 0 0; line-height: 1.05; }
.model-card .unit { color: var(--ink-2); font-size: 14px; }
.model-card .family { display: inline-block; margin-top: 12px; font-size: 12px; color: var(--ink-2); background: var(--bg-2); padding: 4px 10px; border-radius: 999px; }
.model-card .go { display: block; margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--teal-600); }
.filter-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.filter-row .tab { background: var(--bg-2); }
.compare-wrap { margin-top: 26px; }
details.compare summary { cursor: pointer; font-weight: 600; color: var(--teal-600); list-style: none; }
details.compare summary::-webkit-details-marker { display: none; }
details.compare summary::after { content: " ↓"; }
details.compare[open] summary::after { content: " ↑"; }
.table-scroll { overflow-x: auto; margin-top: 16px; border-radius: 18px; border: 1px solid var(--line); -webkit-overflow-scrolling: touch; }
table.specs { border-collapse: collapse; width: 100%; font-size: 14px; background: #fff; }
table.specs th, table.specs td { padding: 11px 14px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
table.specs thead th { position: sticky; top: 0; background: #fafafa; font-weight: 600; color: var(--ink); }
table.specs tbody th { color: var(--ink-2); font-weight: 500; position: sticky; left: 0; background: #fff; }
table.specs tr:last-child td, table.specs tr:last-child th { border-bottom: 0; }
.acc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.acc-card { background: #fff; border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-1); }
.acc-card h3 { margin: 0 0 4px; font-size: 20px; letter-spacing: -0.02em; }
.acc-card p { margin: 0 0 14px; color: var(--ink-2); font-size: 15px; }
.acc-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.acc-card li { display: grid; grid-template-columns: 96px 1fr; gap: 10px; font-size: 14px; padding-top: 8px; border-top: 1px solid var(--line); }
.acc-card li b { color: var(--teal-600); font-weight: 600; }
.fine { font-size: 13px; color: var(--ink-2); margin-top: 24px; }
@media (max-width: 860px) { .series-head { grid-template-columns: 1fr; } .features { grid-template-columns: 1fr; } }

/* ---------- Sheet (model detail / email) ---------- */
.scrim { position: fixed; inset: 0; z-index: 80; background: rgba(15, 18, 20, .28); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; pointer-events: none; transition: opacity .35s var(--ease); }
.scrim.show { opacity: 1; pointer-events: auto; }
.sheet {
  position: fixed; z-index: 90; left: 50%; top: 50%; width: min(720px, calc(100% - 24px)); max-height: min(86vh, 860px);
  transform: translate(-50%, -46%) scale(.97); opacity: 0; pointer-events: none; border-radius: 30px; overflow: hidden;
  display: flex; flex-direction: column; transition: transform .45s var(--ease), opacity .35s var(--ease);
  background: linear-gradient(135deg, rgba(255,255,255,.86), rgba(255,255,255,.72));
}
.sheet.show { opacity: 1; transform: translate(-50%, -50%) scale(1); pointer-events: auto; }
.sheet-head { padding: 26px 28px 14px; display: flex; align-items: flex-start; gap: 16px; position: relative; z-index: 1; }
.sheet-head h2 { margin: 0; font-size: 30px; letter-spacing: -0.03em; line-height: 1.1; }
.sheet-head p { margin: 4px 0 0; color: var(--ink-2); }
.sheet-close { margin-left: auto; flex: none; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(35,34,38,.07); cursor: pointer; font-size: 20px; line-height: 1; }
.sheet-body { padding: 4px 28px 20px; overflow-y: auto; position: relative; z-index: 1; }
.sheet-foot { padding: 16px 28px 24px; border-top: 1px solid var(--line); display: flex; gap: 10px; flex-wrap: wrap; position: relative; z-index: 1; }
.kv { display: grid; grid-template-columns: 1fr auto; gap: 0; border-radius: 18px; overflow: hidden; background: rgba(255,255,255,.75); }
.kv div { padding: 11px 16px; border-bottom: 1px solid var(--line); font-size: 15px; }
.kv div:nth-child(odd) { color: var(--ink-2); }
.kv div:nth-child(even) { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.kv div:nth-last-child(-n+2) { border-bottom: 0; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.field input, .field textarea { font: inherit; font-size: 15px; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; background: rgba(255,255,255,.85); color: var(--ink); width: 100%; }
.field textarea { min-height: 260px; resize: vertical; line-height: 1.5; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(4,170,174,.15); }
.status { font-size: 14px; color: var(--ink-2); display: flex; align-items: center; gap: 8px; }
.spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(4,170,174,.25); border-top-color: var(--teal); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 600px) {
  .sheet { top: auto; bottom: 0; left: 0; width: 100%; transform: translateY(30px); border-radius: 28px 28px 0 0; max-height: 92vh; }
  .sheet.show { transform: translateY(0); }
}

/* ---------- Chat ---------- */
.chat-fab { position: fixed; right: 20px; bottom: 20px; z-index: 70; height: 56px; padding: 0 22px 0 16px; border-radius: 999px; border: 0; cursor: pointer; display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; color: var(--ink); transition: transform .3s var(--ease), opacity .3s; }
.chat-fab:hover { transform: translateY(-2px); }
.chat-fab .dot { width: 30px; height: 30px; border-radius: 50%; background: var(--teal); display: grid; place-items: center; box-shadow: 0 4px 14px rgba(4,170,174,.45); }
.chat-fab .dot svg { width: 17px; height: 17px; }
.chat-fab.hide { opacity: 0; pointer-events: none; transform: scale(.9); }
.chat {
  position: fixed; right: 20px; bottom: 20px; z-index: 75; width: min(410px, calc(100% - 24px)); height: min(640px, calc(100vh - 110px));
  border-radius: 28px; display: flex; flex-direction: column; overflow: hidden;
  opacity: 0; pointer-events: none; transform: translateY(20px) scale(.96); transform-origin: bottom right;
  transition: opacity .35s var(--ease), transform .45s var(--ease);
  background: linear-gradient(135deg, rgba(255,255,255,.80), rgba(255,255,255,.62));
}
.chat.open { opacity: 1; pointer-events: auto; transform: none; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 16px 16px 12px 18px; border-bottom: 1px solid var(--line); position: relative; z-index: 1; }
.chat-head img { width: 34px; height: 34px; }
.chat-head b { display: block; font-size: 16px; letter-spacing: -0.015em; }
.chat-head small { color: var(--ink-2); font-size: 12.5px; }
.chat-head .actions { margin-left: auto; display: flex; gap: 6px; }
.icon-btn { width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(35,34,38,.07); cursor: pointer; display: grid; place-items: center; }
.icon-btn svg { width: 17px; height: 17px; }
.chat-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; position: relative; z-index: 1; scroll-behavior: smooth; }
.msg { max-width: 86%; padding: 10px 14px; border-radius: 20px; font-size: 15px; line-height: 1.42; word-wrap: break-word; animation: rise .35s var(--ease); }
.msg.bot { background: rgba(255,255,255,.9); border: 1px solid rgba(255,255,255,.9); box-shadow: 0 1px 2px rgba(0,0,0,.05); border-bottom-left-radius: 6px; align-self: flex-start; }
.msg.user { background: var(--teal); color: #fff; border-bottom-right-radius: 6px; align-self: flex-end; }
.msg p { margin: 0 0 6px; } .msg p:last-child { margin: 0; }
.msg ul { margin: 4px 0 6px; padding-left: 18px; }
.msg a { color: inherit; text-decoration: underline; }
.msg.bot a { color: var(--teal-600); }
.typing { display: inline-flex; gap: 4px; padding: 14px 16px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: #9a9aa0; animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; } .typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.suggests { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px 10px; position: relative; z-index: 1; }
.suggests button { border: 1px solid rgba(4,170,174,.35); background: rgba(255,255,255,.7); color: var(--teal-600); border-radius: 999px; padding: 7px 12px; font-size: 13px; font-weight: 500; cursor: pointer; }
.suggests button:hover { background: var(--teal-50); }
.chat-email { margin: 0 16px 10px; position: relative; z-index: 1; }
.chat-email .btn { width: 100%; height: 40px; font-size: 14px; }
.chat-form { display: flex; gap: 8px; padding: 10px 12px 14px; border-top: 1px solid var(--line); position: relative; z-index: 1; }
.chat-form textarea { flex: 1; resize: none; border: 1px solid var(--line); background: rgba(255,255,255,.9); border-radius: 22px; padding: 11px 16px; font: inherit; font-size: 15px; max-height: 120px; line-height: 1.35; color: var(--ink); }
.chat-form textarea:focus { outline: none; border-color: var(--teal); }
.chat-form button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--teal); color: #fff; cursor: pointer; display: grid; place-items: center; flex: none; align-self: flex-end; }
.chat-form button:disabled { opacity: .45; cursor: default; }
.chat-note { font-size: 11.5px; color: var(--ink-2); text-align: center; padding: 0 16px 10px; position: relative; z-index: 1; }
@media (max-width: 520px) {
  .chat { right: 0; bottom: 0; width: 100%; height: 100dvh; border-radius: 0; }
  .chat-fab { right: 14px; bottom: 14px; }
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
.toast { position: fixed; left: 50%; bottom: 96px; transform: translate(-50%, 20px); z-index: 100; padding: 12px 18px; border-radius: 999px; font-size: 14px; font-weight: 500; opacity: 0; transition: all .35s var(--ease); pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.btn.glass-dark { color: #fff; }
[hidden]{display:none !important}
@media (max-width: 960px) { .hero-visual img.tank { width: min(260px, 58%); } .hero-visual { min-height: 380px; margin-top: 10px; } }
@media (max-width: 520px) { .hero-badge { padding: 10px 12px; } .hero-badge b { font-size: 20px; } .hero-badge.b1 { top: 12%; } .hero-badge.b2 { bottom: 8%; } .chat-head small { display: none; } }
