/* Smartnet Solutions — corporate site. Clean, high-contrast, mobile-first. No frameworks. */
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-medium.woff") format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-semibold.woff") format("woff"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-bold.woff") format("woff"); font-weight: 700; font-display: swap; }

:root {
  --navy: #02325B; --navy-2: #041F3A; --blue: #1D5FA8; --sky: #7DB0EA; --red: #E10706;
  --ink: #0F1B2D; --body: #3B4758; --muted: #637083; --line: #E3E8F0;
  --bg: #FFFFFF; --bg-alt: #F4F7FB; --ok: #15803d;
  --r: 18px; --r-sm: 12px; --wrap: 1180px;
  --shadow: 0 1px 2px rgba(15, 27, 45, .05), 0 18px 40px -24px rgba(15, 27, 45, .28);
  --ease: cubic-bezier(.2, .8, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 16px/1.65 "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--body); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3 { color: var(--ink); line-height: 1.15; letter-spacing: -.02em; margin: 0; }
h1 { font-size: clamp(2.3rem, 6vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { left: 12px; }
.eyebrow { font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: 14px; }
.eyebrow.light { color: #FF8A88; }
.accent { color: var(--blue); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 24px; border-radius: 999px; font: 600 .98rem/1 "Poppins", sans-serif;
  text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .2s var(--ease), background .2s, color .2s, box-shadow .2s, border-color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--navy); color: #fff; box-shadow: 0 10px 24px -12px rgba(2, 50, 91, .7); }
.btn-primary:hover { background: var(--blue); }
.btn-ghost { background: transparent; color: var(--navy); border-color: rgba(2, 50, 91, .22); }
.btn-ghost:hover { border-color: var(--navy); }
.btn-light { background: #fff; color: var(--navy); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: .9rem; }
.btn-block { width: 100%; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(15, 27, 45, .35); }
.nav-row { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand img { width: 144px; height: 48px; object-fit: contain; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { display: flex; gap: 26px; }
.site-nav ul a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; position: relative; padding: 6px 0; }
.site-nav ul a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.site-nav ul a:hover::after, .site-nav ul a.active::after { transform: scaleX(1); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; border-radius: 12px; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s; }
.nav-toggle span:nth-child(1) { top: 15px; } .nav-toggle span:nth-child(2) { top: 21px; } .nav-toggle span:nth-child(3) { top: 27px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 72px 0 96px;
  background: radial-gradient(800px 460px at 90% 0%, rgba(29, 95, 168, .12), transparent 70%), radial-gradient(600px 400px at 0% 100%, rgba(225, 7, 6, .05), transparent 70%); }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--body); margin: 22px 0 32px; max-width: 34ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 36px; color: var(--muted); font-size: .92rem; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.hero-visual { position: relative; }
.browser { border-radius: 16px; background: #fff; box-shadow: 0 2px 4px rgba(15, 27, 45, .06), 0 40px 80px -36px rgba(2, 50, 91, .45); overflow: hidden; border: 1px solid var(--line); }
.browser-bar { height: 34px; display: flex; align-items: center; gap: 6px; padding: 0 12px; background: #F1F4F9; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #D3DAE5; }
.browser-bar i:first-child { background: #FF5F57; } .browser-bar i:nth-child(2) { background: #FEBC2E; } .browser-bar i:nth-child(3) { background: #28C840; }
.browser-bar span { margin-left: 10px; font-size: .72rem; color: var(--muted); background: #fff; padding: 3px 12px; border-radius: 99px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.float-card { position: absolute; background: #fff; border-radius: 16px; box-shadow: var(--shadow); border: 1px solid var(--line); padding: 14px 16px; }
.float-sms { left: -28px; bottom: -34px; width: 250px; animation: bob 6s ease-in-out infinite; }
.float-sms p { font-size: .82rem; line-height: 1.5; color: var(--ink); }
.sid { display: inline-block; font-size: .66rem; font-weight: 700; letter-spacing: .08em; color: var(--blue); background: rgba(29, 95, 168, .09); padding: 2px 8px; border-radius: 6px; margin-bottom: 6px; }
.float-app { right: -18px; top: -26px; display: flex; align-items: center; gap: 12px; animation: bob 7s ease-in-out -2s infinite; }
.float-app img { width: 44px; height: 44px; border-radius: 12px; }
.float-app b { display: block; color: var(--ink); font-size: .92rem; } .float-app small { color: var(--muted); font-size: .76rem; }
@keyframes bob { 50% { transform: translateY(-8px); } }

/* ---------- sections ---------- */
.section { padding: 104px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-head > p:last-child { margin-top: 16px; font-size: 1.05rem; color: var(--muted); }

/* services */
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.service { padding: 30px 28px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.service h3 { margin: 18px 0 8px; } .service p { color: var(--muted); font-size: .96rem; }
.ico { width: 48px; height: 48px; padding: 11px; border-radius: 14px; background: rgba(29, 95, 168, .08); stroke: var(--blue); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.service-cta { background: var(--navy); border-color: var(--navy); color: #cfe0f5; display: flex; flex-direction: column; align-items: flex-start; }
.service-cta h3 { color: #fff; margin-top: 0; } .service-cta p { color: #cfe0f5; margin-bottom: 22px; flex: 1; }

/* products */
.product { display: grid; grid-template-columns: 1fr 1.08fr; gap: 64px; align-items: center; padding: 48px 0; }
.product + .product { border-top: 1px solid var(--line); }
.product.reverse .product-copy { order: 2; }
.tag { display: inline-block; font-size: .74rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); background: #fff; border: 1px solid var(--line); border-radius: 99px; padding: 4px 12px; }
.product h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 700; margin: 14px 0 10px; letter-spacing: -.02em; }
.pitch { font-size: 1.08rem; color: var(--body); margin-bottom: 22px; }
.ticks { display: grid; gap: 12px; margin-bottom: 30px; }
.ticks li { position: relative; padding-left: 32px; color: var(--body); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: rgba(21, 128, 61, .12)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315803d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/12px no-repeat; }
.product-visual { position: relative; }
.play-badge { display: inline-flex; align-items: center; gap: 12px; height: 56px; padding: 0 22px 0 16px; border-radius: 14px; background: #0B0F17; color: #fff; text-decoration: none; transition: transform .2s var(--ease); }
.play-badge:hover { transform: translateY(-2px); }
.play-badge svg { width: 26px; height: 26px; } .play-badge span { display: flex; flex-direction: column; line-height: 1.15; font-weight: 600; font-size: 1.1rem; }
.play-badge small { font-weight: 400; font-size: .68rem; letter-spacing: .04em; text-transform: uppercase; opacity: .85; }

.phone { width: min(300px, 80%); margin: 0 auto; aspect-ratio: 9 / 17; border-radius: 40px; background: #101C47; padding: 26px 20px; box-shadow: 0 40px 70px -34px rgba(16, 28, 71, .8), inset 0 0 0 8px #0B1433;
  display: flex; flex-direction: column; gap: 18px; }
.phone-top { display: flex; align-items: center; gap: 12px; color: #fff; padding: 6px 6px 0; } .phone-top img { width: 56px; height: 56px; border-radius: 16px; }
.phone-top b { font-size: 1.05rem; }
.phone-list { display: grid; gap: 10px; }
.phone-list li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .07); color: #E8EEFF; font-size: .95rem; }
.dot { width: 12px; height: 12px; border-radius: 50%; } .d1 { background: #E53935; } .d2 { background: #5B95FF; } .d3 { background: #FFD54F; } .d4 { background: #34A853; } .d5 { background: #F28C1E; }

.mock-panel { background: #fff; border-radius: 20px; border: 1px solid var(--line); box-shadow: var(--shadow); padding: 26px; }
.mock-head { display: flex; justify-content: space-between; align-items: baseline; } .mock-head b { color: var(--ink); font-size: 1.1rem; } .mock-head span { color: var(--muted); font-size: .85rem; }
.mock-bars { display: flex; align-items: flex-end; gap: 14px; height: 180px; margin: 22px 0 16px; padding-bottom: 2px; border-bottom: 1px solid var(--line); }
.mock-bars i { flex: 1; border-radius: 8px 8px 3px 3px; background: linear-gradient(180deg, var(--blue), var(--navy)); }
.mock-bars i:nth-child(1) { height: 42%; } .mock-bars i:nth-child(2) { height: 58%; } .mock-bars i:nth-child(3) { height: 50%; }
.mock-bars i:nth-child(4) { height: 72%; } .mock-bars i:nth-child(5) { height: 64%; } .mock-bars i:nth-child(6) { height: 86%; background: linear-gradient(180deg, #FF4D4B, var(--red)); }
.mock-rows { display: flex; flex-wrap: wrap; gap: 10px 20px; font-size: .86rem; color: var(--muted); } .mock-rows span { display: flex; align-items: center; gap: 8px; }
.sw { width: 10px; height: 10px; border-radius: 3px; } .s1 { background: var(--navy); } .s2 { background: var(--blue); } .s3 { background: var(--red); }
.mock-tabs { display: flex; gap: 6px; margin-top: 22px; background: var(--bg-alt); padding: 5px; border-radius: 12px; overflow: hidden; }
.mock-tabs span { flex: 1; text-align: center; font-size: .8rem; padding: 8px 4px; border-radius: 8px; color: var(--muted); white-space: nowrap; }
.mock-tabs .on { background: #fff; color: var(--navy); font-weight: 600; box-shadow: 0 1px 3px rgba(15, 27, 45, .1); }

.sms-stack { display: grid; gap: 14px; max-width: 420px; margin-inline: auto; }
.sms { background: #fff; border: 1px solid var(--line); border-radius: 18px 18px 18px 6px; padding: 14px 18px; box-shadow: var(--shadow); }
.sms:nth-child(2) { margin-left: 34px; } .sms:nth-child(3) { margin-left: 68px; }
.sms p { color: var(--ink); font-size: .92rem; line-height: 1.5; }

/* about */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.about-copy p:last-child { margin-top: 20px; font-size: 1.08rem; }
.why-grid { display: grid; gap: 18px; }
.why { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; padding: 24px; border-radius: var(--r); border: 1px solid var(--line); }
.why .ico { grid-row: span 2; } .why p { color: var(--muted); font-size: .96rem; }

/* contact */
.section-dark { background: radial-gradient(700px 420px at 100% 0%, rgba(29, 95, 168, .45), transparent 70%), var(--navy-2); color: #C9D6E8; }
.section-dark h2 { color: #fff; }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.contact-copy > p { margin-top: 18px; font-size: 1.05rem; }
.contact-list { display: grid; gap: 16px; margin-top: 34px; }
.contact-list li { display: flex; align-items: center; gap: 14px; }
.contact-list svg { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--sky); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.contact-list a, .contact-list span { color: #fff; text-decoration: none; } .contact-list a:hover { text-decoration: underline; }
.contact-form { background: #fff; color: var(--body); border-radius: 22px; padding: 34px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .55); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .88rem; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.field input, .field select, .field textarea { width: 100%; font: 400 1rem/1.4 "Poppins", sans-serif; color: var(--ink); background: #fff; border: 1.5px solid #D5DCE6; border-radius: var(--r-sm); padding: 13px 14px; transition: border-color .15s, box-shadow .15s; }
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(29, 95, 168, .14); }
.field .invalid, .field [aria-invalid="true"] { border-color: #DC2626; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 14px; font-size: .92rem; min-height: 1.4em; }
.form-status.ok { color: var(--ok); } .form-status.err { color: #B91C1C; }
.form-status a { color: inherit; font-weight: 600; }

/* footer */
.site-footer { background: #020F1E; color: #93A3BA; padding: 64px 0 28px; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr 1.2fr; gap: 40px; }
.footer-grid img { width: 144px; height: 48px; object-fit: contain; }
.foot-tag { margin-top: 16px; max-width: 34ch; }
.foot-h { font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.site-footer ul { display: grid; gap: 10px; } .site-footer a { color: #C9D6E8; text-decoration: none; } .site-footer a:hover { color: #fff; text-decoration: underline; }
.foot-bottom { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 48px; padding-top: 24px; font-size: .85rem; }

/* scroll reveal (only when JS runs; content stays visible without JS) */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .float-sms, .float-app { animation: none; }
  .btn:hover, .service:hover { transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .site-nav { position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 18px; padding: 18px 20px 26px; background: #fff;
    border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -28px rgba(15, 27, 45, .4); display: none; }
  .site-nav.open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 4px; }
  .site-nav ul a { display: block; padding: 12px 4px; font-size: 1.05rem; }
  .site-nav .btn { width: 100%; }
  .hero { padding: 40px 0 88px; }
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { margin: 0 12px; }
  .product, .product.reverse { grid-template-columns: 1fr; gap: 36px; }
  .product.reverse .product-copy { order: 0; }
  .section { padding: 80px 0; }
}
@media (max-width: 600px) {
  .service-grid, .footer-grid { grid-template-columns: 1fr; }
  .float-sms { left: -4px; width: 200px; bottom: -36px; padding: 10px 12px; } .float-sms p { font-size: .74rem; }
  .float-app { display: none; }
  .contact-form { padding: 24px 20px; }
  .sms:nth-child(2) { margin-left: 18px; } .sms:nth-child(3) { margin-left: 36px; }
  .cta-row .btn { flex: 1 1 100%; }
}
.nf-logo { margin: 0 auto 28px; width: 144px; } .nf-cta { margin-top: 28px; }
