/* =============================================================
   PPNSOFT.NET — Stylesheet
   ============================================================= */

:root {
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --bg-deep: #0b1220;
  --surface: #ffffff;
  --border: #e4e9f0;
  --border-soft: #eef2f7;

  --text: #101828;
  --text-2: #475467;
  --text-3: #7a8699;

  --brand: #1d4ed8;
  --brand-2: #06b6d4;
  --brand-soft: #eff4ff;
  --brand-deep: #16307d;

  --ok: #059669;
  --warn: #d97706;
  --danger: #dc2626;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .05);
  --shadow: 0 4px 20px -6px rgba(16, 24, 40, .12);
  --shadow-lg: 0 24px 60px -20px rgba(16, 24, 40, .28);

  --maxw: 1160px;
  --nav-h: 68px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  font-family: "IBM Plex Sans Thai", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .5em; letter-spacing: -.015em; font-weight: 700; }
h1 { font-size: clamp(2rem, 4.6vw, 3.35rem); }
h2 { font-size: clamp(1.55rem, 3vw, 2.25rem); }
h3 { font-size: 1.18rem; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 22px; }
.grad {
  background: linear-gradient(100deg, var(--brand) 10%, var(--brand-2) 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.muted { color: var(--text-2); }
.center { text-align: center; }

/* ---------------- Navbar ---------------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border-soft);
}
.nav-in {
  height: var(--nav-h);
  display: flex; align-items: center; gap: 26px;
  max-width: var(--maxw); margin-inline: auto; padding-inline: 22px;
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -.01em; }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-name { font-size: 1.03rem; }
.logo-sub { font-size: .7rem; font-weight: 600; color: var(--text-3); letter-spacing: .04em; }
.foot .logo-sub { color: rgba(255,255,255,.45); }
.logo-mark {
  width: 34px; height: 34px; border-radius: 10px; flex: none;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  display: grid; place-items: center; color: #fff; font-size: .82rem; font-weight: 800;
  box-shadow: 0 6px 16px -6px rgba(29, 78, 216, .7);
}
.logo-dot { color: var(--brand); }

.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-links a:not(.btn) {
  padding: 9px 13px; border-radius: 9px; font-size: .935rem; font-weight: 500; color: var(--text-2);
  transition: .15s;
}
.nav-links a:not(.btn):hover { background: var(--bg-soft); color: var(--text); }
.nav-links a.active { color: var(--brand); background: var(--brand-soft); font-weight: 600; }

.lang-switch {
  display: inline-flex; background: var(--bg-soft); border: 1px solid var(--border);
  border-radius: 999px; padding: 3px; margin-left: 6px;
}
.lang-switch button {
  border: 0; background: none; cursor: pointer; padding: 4px 11px; border-radius: 999px;
  font-size: .8rem; font-weight: 700; color: var(--text-3); transition: .15s; letter-spacing: .02em;
}
.lang-switch button.is-active { background: #fff; color: var(--brand); box-shadow: var(--shadow-sm); }

.nav-toggle {
  display: none; margin-left: auto; border: 1px solid var(--border); background: #fff;
  width: 42px; height: 42px; border-radius: 11px; cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--text); position: relative; border-radius: 2px; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--text); border-radius: 2px;
}
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 11px; font-weight: 600; font-size: .96rem;
  border: 1px solid transparent; cursor: pointer; transition: .16s; white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; }
.btn-primary {
  background: linear-gradient(135deg, var(--brand), #2563eb); color: #fff;
  box-shadow: 0 10px 24px -10px rgba(29, 78, 216, .75);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 30px -10px rgba(29, 78, 216, .85); }
.btn-ghost { background: #fff; border-color: var(--border); color: var(--text); }
.btn-ghost:hover { border-color: #c9d3e2; background: var(--bg-soft); }
.btn-line { background: #06C755; color: #fff; }
.btn-line:hover { background: #05b34c; }
.btn-light { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.28); }
.btn-light:hover { background: rgba(255,255,255,.22); }
.btn-sm { padding: 8px 15px; font-size: .875rem; border-radius: 9px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: not-allowed; transform: none !important; }

/* ---------------- Sections ---------------- */
section { padding: 76px 0; }
.sec-head { max-width: 660px; margin: 0 auto 44px; text-align: center; }
.sec-head p { color: var(--text-2); font-size: 1.03rem; margin: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .78rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  color: var(--brand); background: var(--brand-soft); padding: 6px 13px; border-radius: 999px; margin-bottom: 16px;
}

/* ---------------- Hero ---------------- */
.hero {
  position: relative; overflow: hidden; padding: 82px 0 74px;
  background:
    radial-gradient(900px 400px at 82% -8%, rgba(6, 182, 212, .13), transparent 60%),
    radial-gradient(720px 380px at 6% 0%, rgba(29, 78, 216, .12), transparent 60%),
    var(--bg-soft);
  border-bottom: 1px solid var(--border-soft);
}
.hero-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: 48px; align-items: center; }
.hero h1 { margin-bottom: 18px; font-size: clamp(1.85rem, 3.5vw, 2.7rem); }
.hero-sub { font-size: 1.08rem; color: var(--text-2); max-width: 560px; margin-bottom: 28px; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 34px; margin-top: 40px; flex-wrap: wrap; }
.hero-stats .num { font-size: 1.75rem; font-weight: 800; letter-spacing: -.03em; color: var(--brand-deep); }
.hero-stats .lbl { font-size: .85rem; color: var(--text-3); }

.hero-art {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 18px; transform: rotate(.7deg);
}
.hero-art .bar { display: flex; gap: 6px; margin-bottom: 14px; }
.hero-art .bar i { width: 10px; height: 10px; border-radius: 50%; background: #e2e8f0; display: block; }
.hero-art .bar i:first-child { background: #fca5a5; }
.hero-art .bar i:nth-child(2) { background: #fcd34d; }
.hero-art .bar i:nth-child(3) { background: #86efac; }
.mock-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 12px; }
.mock-card { background: var(--bg-soft); border: 1px solid var(--border-soft); border-radius: 11px; padding: 12px; }
.mock-card .k { font-size: .68rem; color: var(--text-3); }
.mock-card .v { font-size: 1.05rem; font-weight: 800; letter-spacing: -.02em; }
.mock-chart { display: flex; align-items: flex-end; gap: 7px; height: 108px; padding: 12px; background: var(--bg-soft); border-radius: 11px; border: 1px solid var(--border-soft); }
.mock-chart i { flex: 1; border-radius: 4px 4px 2px 2px; background: linear-gradient(180deg, var(--brand), #60a5fa); display: block; }
.mock-lines { margin-top: 12px; display: grid; gap: 8px; }
.mock-lines i { height: 9px; border-radius: 5px; background: var(--border-soft); display: block; }
.mock-lines i:nth-child(2) { width: 78%; } .mock-lines i:nth-child(3) { width: 55%; }

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

.hl-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 22px; transition: .18s;
}
.hl-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: #d8e0ec; }
.hl-ic {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand); margin-bottom: 16px;
}
.hl-ic svg { width: 22px; height: 22px; }
.hl-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.hl-card p { font-size: .93rem; color: var(--text-2); margin: 0; }

/* ---------------- Product cards ---------------- */
.filters { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 32px; }
.filters button {
  border: 1px solid var(--border); background: #fff; padding: 8px 17px; border-radius: 999px;
  font-size: .89rem; font-weight: 600; color: var(--text-2); cursor: pointer; transition: .15s;
}
.filters button:hover { border-color: #c9d3e2; }
.filters button.is-active { background: var(--text); border-color: var(--text); color: #fff; }

.p-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; transition: .2s;
}
.p-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: #d5deeb; }
.p-top { padding: 24px 24px 0; display: flex; align-items: flex-start; gap: 14px; }
.p-ic { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; color: #fff; flex: none; }
.p-ic svg { width: 25px; height: 25px; }
.p-cat { font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
.p-body { padding: 16px 24px 24px; flex: 1; display: flex; flex-direction: column; }
.p-body h3 { font-size: 1.15rem; margin-bottom: 8px; }
.p-body p { font-size: .93rem; color: var(--text-2); margin-bottom: 16px; }
.p-feat { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 7px; }
.p-feat li { font-size: .88rem; color: var(--text-2); padding-left: 24px; position: relative; }
.p-feat li::before {
  content: ""; position: absolute; left: 0; top: .45em; width: 15px; height: 15px; border-radius: 50%;
  background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d4ed8' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/9px no-repeat;
}
.p-actions { margin-top: auto; display: flex; gap: 9px; }
.badge {
  position: absolute; top: 18px; right: 18px; z-index: 2;
  background: var(--text); color: #fff; font-size: .7rem; font-weight: 700;
  padding: 4px 11px; border-radius: 999px; letter-spacing: .04em;
}

/* ---------------- Featured (single) product card ---------------- */
.badge-inline {
  position: static; display: inline-block; margin-left: 6px; vertical-align: middle;
  background: var(--brand-soft); color: var(--brand); text-transform: none;
}
.p-featured { display: grid; grid-template-columns: 1.15fr .85fr; gap: 0; }
.p-featured:hover { transform: none; }
.pf-left { padding: 34px 34px 30px; display: flex; flex-direction: column; }
.pf-left .p-ic { margin-bottom: 16px; }
.pf-left .p-cat { margin-bottom: 6px; }
.pf-left h3 { font-size: 1.42rem; margin-bottom: 10px; }
.pf-left > p { font-size: 1rem; color: var(--text-2); margin-bottom: 20px; }
.pf-left .p-actions { margin-top: auto; }
.pf-right {
  background: var(--bg-soft); border-left: 1px solid var(--border-soft);
  padding: 34px 30px; display: flex; align-items: center;
}
.pf-right .p-feat { margin: 0; gap: 11px; }
.pf-right .p-feat li { font-size: .9rem; }

.feat-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.feat-chip {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--border); border-radius: 999px; padding: 6px 14px 6px 6px;
  font-size: .86rem; font-weight: 600; color: var(--text-2); background: #fff;
}
.fc-ic { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; }
.fc-ic svg { width: 13px; height: 13px; }

/* ---------------- Role modules ---------------- */
.mod { border: 1px solid var(--border); border-radius: var(--radius-lg); background: #fff; overflow: hidden; margin-bottom: 18px; }
.mod-head { display: flex; align-items: center; gap: 15px; padding: 22px 26px; border-bottom: 1px solid var(--border-soft); }
.mod-ic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; color: #fff; flex: none; }
.mod-ic svg { width: 23px; height: 23px; }
.mod-head h3 { margin: 0 0 2px; font-size: 1.12rem; }
.mod-head .sub { font-size: .84rem; color: var(--text-3); }
.mod-body { padding: 22px 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 26px; }
.mod-body .item { display: flex; gap: 11px; align-items: flex-start; font-size: .93rem; color: var(--text-2); }
.mod-body .item .tick { width: 20px; height: 20px; border-radius: 6px; flex: none; display: grid; place-items: center; }
.mod-body .item .tick svg { width: 12px; height: 12px; }

/* ---------------- Product detail ---------------- */
.p-hero { padding: 54px 0 46px; background: var(--bg-soft); border-bottom: 1px solid var(--border-soft); }
.crumbs { font-size: .87rem; color: var(--text-3); margin-bottom: 20px; }
.crumbs a:hover { color: var(--brand); }
.p-hero-grid { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
.p-hero h1 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); margin-bottom: 12px; }
.p-hero .lead { font-size: 1.05rem; color: var(--text-2); max-width: 660px; margin: 0; }
.p-hero-ic { width: 76px; height: 76px; border-radius: 22px; display: grid; place-items: center; color: #fff; box-shadow: var(--shadow); }
.p-hero-ic svg { width: 38px; height: 38px; }

.feat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.feat-item {
  display: flex; gap: 13px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 17px 19px;
  font-size: .95rem;
}
.feat-item .tick {
  width: 24px; height: 24px; border-radius: 8px; flex: none; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand);
}
.feat-item .tick svg { width: 14px; height: 14px; }

.spec-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.spec-table td { padding: 14px 20px; border-bottom: 1px solid var(--border-soft); font-size: .94rem; }
.spec-table tr:last-child td { border-bottom: 0; }
.spec-table td:first-child { color: var(--text-2); width: 40%; background: var(--bg-soft); font-weight: 500; }

/* ---------------- Docs ---------------- */
.doc-group { margin-bottom: 34px; }
.doc-group-head { display: flex; align-items: center; gap: 13px; margin-bottom: 14px; }
.doc-group-head .p-ic { width: 40px; height: 40px; border-radius: 11px; }
.doc-group-head .p-ic svg { width: 20px; height: 20px; }
.doc-group-head h3 { margin: 0; font-size: 1.08rem; }
.doc-list { display: grid; gap: 10px; }
.doc-item {
  display: flex; align-items: center; gap: 15px; background: #fff;
  border: 1px solid var(--border); border-radius: var(--radius); padding: 15px 19px; transition: .15s;
}
.doc-item:hover { border-color: #d0dae8; box-shadow: var(--shadow-sm); }
.doc-type {
  font-size: .68rem; font-weight: 800; letter-spacing: .04em; padding: 5px 9px; border-radius: 7px;
  background: var(--bg-soft); color: var(--text-2); border: 1px solid var(--border); flex: none; min-width: 52px; text-align: center;
}
.doc-type.pdf { background: #fef2f2; color: #b91c1c; border-color: #fecaca; }
.doc-type.xlsx { background: #ecfdf5; color: #047857; border-color: #a7f3d0; }
.doc-type.video { background: #eff6ff; color: #1d4ed8; border-color: #bfdbfe; }
.doc-main { flex: 1; min-width: 0; }
.doc-name { font-weight: 600; font-size: .96rem; display: block; }
.doc-note { font-size: .82rem; color: var(--text-3); margin-top: 3px; }
.doc-soon { font-size: .82rem; color: var(--text-3); background: var(--bg-soft); padding: 6px 13px; border-radius: 8px; }

/* ---------------- Steps ---------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.step { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; position: relative; }
.step .n {
  width: 32px; height: 32px; border-radius: 10px; background: var(--brand); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: .92rem; margin-bottom: 13px;
}
.step h3 { font-size: 1rem; margin-bottom: 5px; }
.step p { font-size: .89rem; color: var(--text-2); margin: 0; }

/* ---------------- FAQ ---------------- */
.faq-list { max-width: 780px; margin-inline: auto; display: grid; gap: 11px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); background: #fff; overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; padding: 18px 22px; cursor: pointer;
  font-weight: 600; font-size: 1rem; display: flex; align-items: center; gap: 14px; color: var(--text);
}
.faq-q .chev { margin-left: auto; transition: .2s; color: var(--text-3); flex: none; }
.faq-item.open .faq-q .chev { transform: rotate(180deg); }
.faq-a { padding: 0 22px; max-height: 0; overflow: hidden; transition: max-height .28s ease, padding .28s ease; }
.faq-item.open .faq-a { padding: 0 22px 20px; max-height: 460px; }
.faq-a p { margin: 0; color: var(--text-2); font-size: .95rem; }

/* ---------------- Form ---------------- */
.form-layout { display: grid; grid-template-columns: 1.35fr .65fr; gap: 30px; align-items: start; }
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 30px; box-shadow: var(--shadow-sm);
}
.card h2 { font-size: 1.3rem; }
.field { margin-bottom: 17px; }
.field label { display: block; font-size: .89rem; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.req { color: var(--danger); margin-left: 3px; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field input[type=number],
.field select, .field textarea {
  width: 100%; padding: 11px 14px; border: 1px solid var(--border); border-radius: 10px;
  font-size: .96rem; font-family: inherit; background: #fff; color: var(--text); transition: .15s;
}
.field textarea { min-height: 128px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(29, 78, 216, .12);
}
.field input.err, .field select.err, .field textarea.err { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(220, 38, 38, .1); }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.chips { display: flex; gap: 9px; flex-wrap: wrap; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-block; padding: 8px 16px; border: 1px solid var(--border); border-radius: 999px;
  font-size: .89rem; cursor: pointer; transition: .15s; color: var(--text-2); background: #fff;
}
.chip input:checked + span { background: var(--brand-soft); border-color: var(--brand); color: var(--brand); font-weight: 600; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--text-2); cursor: pointer; margin-bottom: 13px; }
.check input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--brand); flex: none; }
.form-note { font-size: .82rem; color: var(--text-3); margin-top: 12px; }
.form-msg { display: none; padding: 15px 18px; border-radius: 11px; font-size: .92rem; margin-bottom: 18px; }
.form-msg.ok { display: block; background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; }
.form-msg.bad { display: block; background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }
.form-msg strong { display: block; margin-bottom: 3px; }

.aside-card { background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px; }
.aside-card h3 { font-size: 1.05rem; }
.issuer { margin-top: 14px; padding: 16px 18px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); }
.issuer-name { font-weight: 700; margin-bottom: 4px; }
.issuer-addr { font-size: .9rem; color: var(--text-2); line-height: 1.55; }

.contact-list { display: grid; gap: 12px; margin: 18px 0 0; }
.contact-item { display: flex; gap: 12px; align-items: center; font-size: .92rem; }
.contact-item .ci {
  width: 38px; height: 38px; border-radius: 11px; background: #fff; border: 1px solid var(--border);
  display: grid; place-items: center; color: var(--brand); flex: none;
}
.contact-item .ci svg { width: 18px; height: 18px; }
.contact-item .k { font-size: .76rem; color: var(--text-3); line-height: 1.3; }
.contact-item .v { font-weight: 600; line-height: 1.35; word-break: break-all; }

/* ---------------- CTA band ---------------- */
.cta {
  background:
    radial-gradient(700px 300px at 15% 0%, rgba(6, 182, 212, .28), transparent 62%),
    linear-gradient(120deg, #0f2a6b, #0b1220);
  color: #fff; border-radius: 0;
}
.cta h2 { color: #fff; }
.cta p { color: rgba(255, 255, 255, .78); max-width: 560px; margin-inline: auto; }
.cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }

/* ---------------- Footer ---------------- */
.foot { background: var(--bg-deep); color: rgba(255, 255, 255, .72); padding: 54px 0 26px; font-size: .93rem; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr; gap: 40px; }
.foot h4 { color: #fff; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 15px; }
.foot .logo { color: #fff; margin-bottom: 12px; }
.foot a:hover { color: #fff; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.foot-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 38px; padding-top: 20px;
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: .85rem; color: rgba(255,255,255,.5);
}

/* ---------------- Floating LINE ---------------- */
.float-line {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  display: inline-flex; align-items: center; gap: 9px; background: #06C755; color: #fff;
  padding: 13px 19px; border-radius: 999px; font-weight: 700; font-size: .92rem;
  box-shadow: 0 14px 32px -10px rgba(6, 199, 85, .8); transition: .18s;
}
.float-line:hover { transform: translateY(-2px); }
.float-line svg { width: 20px; height: 20px; }

/* ---------------- Empty / misc ---------------- */
.empty { text-align: center; padding: 60px 20px; color: var(--text-3); }

/* ---------------- Responsive ---------------- */
@media (max-width: 1000px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .p-featured { grid-template-columns: 1fr; }
  .pf-right { border-left: 0; border-top: 1px solid var(--border-soft); padding: 26px 30px; }
  .mod-body { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { display: none; }
  .form-layout { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--border);
    flex-direction: column; align-items: stretch; gap: 2px; padding: 12px 16px 18px;
    display: none; box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; }
  .nav-links .btn { margin-top: 8px; }
  .lang-switch { margin: 8px 0 0; align-self: flex-start; }
  .nav-in { position: relative; }
}
@media (max-width: 700px) {
  section { padding: 56px 0; }
  .grid-3, .grid-2, .feat-grid { grid-template-columns: 1fr; }
  .row-2 { grid-template-columns: 1fr; }
  .p-hero-grid { grid-template-columns: 1fr; }
  .p-hero-ic { display: none; }
  .card { padding: 22px; }
  .float-line span { display: none; }
  .float-line { padding: 14px; border-radius: 50%; }
}
@media (max-width: 560px) {
  .grid-4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 22px; }
}

@media print {
  .nav, .float-line, .cta, .foot { display: none; }
}
