/* ==========================================================================
   CodePlox – refinement layer (loaded after style.css)
   Goal: calm, flat, corporate. No glow, glass, gradient text or tilt effects.
   ========================================================================== */

:root {
  --font-head: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(7, 27, 51, .06);
  --shadow-md: 0 10px 28px -16px rgba(7, 27, 51, .22);
  --shadow-lg: 0 18px 44px -24px rgba(7, 27, 51, .3);
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 { letter-spacing: -.015em; line-height: 1.18; }
.section-head h2, .hscroll-head h2, .blog-head h2, .faq-intro h2, .contact h2,
.founder-copy h3, .form-card h3, .modal-box h4, .hero h1 { font-weight: 700; }
.hero h1 { font-size: clamp(2.3rem, 4.8vw, 3.8rem); line-height: 1.1; letter-spacing: -.022em; margin-top: 16px; }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
.kicker { font-size: .78rem; font-weight: 600; letter-spacing: .09em; }
.kicker::before { display: none; }
.gradient-text { background: none; -webkit-text-fill-color: currentColor; color: var(--blue-400); animation: none; }
.service-card h3, .product-card h3, .pf-body h3, .post-body h3 { font-weight: 600; }
.stat-num { font-weight: 700; letter-spacing: -.02em; }

/* ---------- Buttons: flat, confident ---------- */
.btn { border-radius: 8px; font-family: var(--font-body); font-weight: 600; letter-spacing: 0; transition: background .2s, color .2s, border-color .2s; }
.btn::after { display: none; }
.btn:active { transform: none; }
.btn-primary { background: var(--blue-500); color: #04152A; box-shadow: none; }
.btn-primary:hover { background: #2BC4FF; transform: none; box-shadow: none; }
.btn-dark { box-shadow: none; }
.btn-dark:hover, .btn-outline:hover, .btn-ghost-light:hover { transform: none; }
.btn-ghost-light { backdrop-filter: none; background: transparent; border-color: rgba(255, 255, 255, .35); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .1); }
.btn-sm { border-radius: 8px; }
.btn-lg { padding: 1rem 1.7rem; font-size: 1rem; }

/* ---------- Pills / tags ---------- */
.pill { border-radius: 6px; background: var(--surface); color: var(--ink); border: 1px solid var(--line); font-weight: 600; }
.pill i { color: var(--blue-600); }
.pill-dark { background: rgba(255, 255, 255, .08); color: #D8E6F4; border-color: rgba(255, 255, 255, .16); }
.scroll-progress, .hscroll-progress .bar span, .rv-bar span { background: var(--blue-500); }
.nav a { border-radius: 6px; }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(180deg, var(--navy-950), var(--navy-900)); }
.hero-grid { display: none; }
.hero-eyebrow { padding: 0; background: none; border: 0; border-radius: 0; color: var(--blue-300); text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; font-weight: 600; }
.pulse-dot { display: none; }
.hero-checks { gap: 10px 26px; }
.hero-checks i { width: auto; height: auto; background: none; border-radius: 0; font-size: .8rem; color: var(--blue-400); }

/* ---------- Form ---------- */
.form-card { border-radius: 14px; box-shadow: 0 28px 60px -28px rgba(0, 0, 0, .6); }
.form-card::before { display: none; }
.form-card h3 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); }
.field > span.label { font-size: .82rem; font-weight: 600; }
.field input, .field select, .field textarea { background: #fff; border: 1px solid #CBD7E3; border-radius: 8px; padding: .78rem .9rem; font-size: .97rem; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #9FB3C8; }
.field input:focus, .field select:focus, .field textarea:focus { box-shadow: 0 0 0 3px rgba(0, 179, 250, .18); }
.form-status { border-radius: 8px; }
.form-hint { display: block; margin: -6px 0 0; line-height: 1.45; }

/* ---------- Single date + time picker ---------- */
.slot-field { position: relative; }
.slot-trigger { width: 100%; display: flex; align-items: center; gap: .7rem; padding: .78rem .9rem; background: #fff; border: 1px solid #CBD7E3; border-radius: 8px; text-align: left; font-size: .97rem; color: #94A3B8; transition: border-color .2s, box-shadow .2s; }
.slot-trigger > i:first-child { color: var(--blue-600); }
.slot-text { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.slot-trigger.has-value { color: var(--ink); font-weight: 500; }
.slot-caret { font-size: .7rem; color: var(--muted); transition: transform .25s var(--ease); }
.slot-field.is-open .slot-caret { transform: rotate(180deg); }
.slot-trigger:hover { border-color: #9FB3C8; }
.slot-field.is-open .slot-trigger, .slot-trigger:focus-visible { border-color: var(--blue-500); box-shadow: 0 0 0 3px rgba(0, 179, 250, .18); outline: none; }
.field.has-error .slot-trigger { border-color: #E5484D; background: #FFF8F8; }
.slot-panel { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 6px); padding: 12px; background: #fff; border: 1px solid #CBD7E3; border-radius: 10px; box-shadow: 0 20px 44px -18px rgba(7, 27, 51, .4); }
.slot-days-wrap { display: flex; align-items: center; gap: 6px; }
.slot-nav { flex: none; width: 30px; height: 56px; display: grid; place-items: center; border-radius: 8px; color: var(--muted); font-size: .8rem; transition: background .2s, color .2s; }
.slot-nav:hover { background: var(--surface); color: var(--ink); }
.slot-days { flex: 1; min-width: 0; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; scroll-behavior: smooth; }
.slot-days::-webkit-scrollbar { display: none; }
.slot-day { flex: none; width: 56px; padding: 7px 0; display: grid; justify-items: center; gap: 1px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--muted); line-height: 1.2; transition: border-color .2s, background .2s, color .2s; }
.slot-day span { font-size: .7rem; font-weight: 500; text-transform: uppercase; letter-spacing: .03em; }
.slot-day strong { font-size: 1.1rem; font-weight: 700; color: var(--ink); }
.slot-day:hover { border-color: var(--blue-500); }
.slot-day.has-pick { border-color: var(--blue-500); }
.slot-day.is-active { background: var(--navy-900); border-color: var(--navy-900); color: #B9CBE0; }
.slot-day.is-active strong { color: #fff; }
.slot-times { margin-top: 12px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; max-height: 172px; overflow-y: auto; padding-right: 2px; scrollbar-width: thin; }
.slot-time { padding: .5rem 0; border: 1px solid var(--line); border-radius: 8px; font-size: .85rem; font-weight: 500; color: var(--ink); background: #fff; transition: border-color .2s, background .2s; }
.slot-time:hover { border-color: var(--blue-500); }
.slot-time.is-active { background: var(--blue-500); border-color: var(--blue-500); color: #04152A; font-weight: 600; }
.slot-empty { grid-column: 1 / -1; padding: 14px 4px; font-size: .9rem; color: var(--muted); text-align: center; }
@media (max-width: 400px) { .slot-times { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Stats / marquee ---------- */
.stats-grid { border-radius: 12px; box-shadow: var(--shadow-md); }
.tech-chip { border-radius: 8px; box-shadow: none; }

/* ---------- Cards ---------- */
.card:hover { transform: none; box-shadow: var(--shadow-md); border-color: #B7CADC; }
.spot::before { display: none; }
.icon-box { width: 48px; height: 48px; border-radius: 10px; font-size: 1.1rem; background: var(--surface); border: 1px solid var(--line); color: var(--blue-700); }
.card:hover .icon-box { background: var(--navy-900); border-color: var(--navy-900); color: #fff; transform: none; }
.product-cta-card { background: var(--navy-900) !important; }
.product-cta-card .icon-box, .product-cta-card:hover .icon-box { background: rgba(255, 255, 255, .08); border-color: transparent; color: var(--blue-400); }
.service-card h3 { font-size: 1.2rem; }

/* ---------- Industries ---------- */
.industries { background: var(--navy-900); }
.industries::before { display: none; }
.ind-tile { backdrop-filter: none; border-radius: 10px; background: rgba(255, 255, 255, .04); gap: 12px; }
.ind-tile:hover { transform: none; box-shadow: none; background: rgba(255, 255, 255, .08); border-color: rgba(0, 179, 250, .55); }
.ind-tile:hover i { transform: none; color: var(--blue-300); }
.products-cta { background: var(--navy-900); border-radius: 12px; }

/* ---------- Portfolio ---------- */
.pf-card { border-radius: 14px; }
.pf-card:hover { transform: none; box-shadow: var(--shadow-md); border-color: #B7CADC; }
.pf-visual::before, .pf-visual::after { display: none; }
.mock-browser, .pf-card:hover .mock-browser { transform: none; }
.chips span { border-radius: 6px; }

/* ---------- Process ---------- */
.process { background: var(--navy-900); }
.proc-line span { background: var(--blue-500); box-shadow: none; }
.proc-node.is-active .proc-dot { background: var(--blue-500); color: #04152A; box-shadow: none; transform: scale(1.08); }
.proc-step { background: rgba(255, 255, 255, .04); backdrop-filter: none; border-radius: 14px; }
.proc-num { color: var(--blue-400); -webkit-text-stroke: 0; font-weight: 700; font-size: clamp(2.6rem, 5vw, 3.8rem); letter-spacing: -.02em; }
.proc-side { border-radius: 10px; }

/* ---------- Reviews ---------- */
.rv-track .review .avatar { background: #E2F1FA; color: var(--navy-900); font-weight: 700; }
.rv-btn { border-radius: 10px; }
.rv-btn:hover:not(:disabled) { transform: none; }

/* ---------- Blog ---------- */
.post-cat { border-radius: 6px; }
.post-card:hover .post-media img { transform: scale(1.03); }

/* ---------- Founder ---------- */
.founder-card { box-shadow: none; }
.founder-card::before { display: none; }
.founder-photo { padding: 0; border-radius: 14px; background: var(--surface); box-shadow: none; animation: none; }
.founder-photo img { border-radius: 14px; border: 0; }
.socials a { border-radius: 8px; }
.socials a:hover { transform: none; }

/* ---------- FAQ ---------- */
.faq-item { border-radius: 10px; }
.faq-item.is-open { border-color: var(--blue-500); box-shadow: none; }
.faq-q { border-radius: 10px; font-family: var(--font-body); font-weight: 600; }
.faq-q i { border-radius: 6px; width: 30px; height: 30px; }

/* ---------- Contact / footer / floats ---------- */
.contact { background: var(--navy-900); }
.next-steps b { background: var(--blue-500); border-radius: 8px; }
.glass-steps { backdrop-filter: none; background: rgba(255, 255, 255, .04); border-radius: 14px; }
.direct a { border-radius: 8px; }
.direct a:hover, .office:hover { transform: none; }
.office { border-radius: 12px; }
.footer-brand img { border-radius: 8px; }
.wa-float .wa-btn { background: #25D366; box-shadow: 0 6px 18px -6px rgba(0, 0, 0, .35); }
.wa-float .wa-btn::before { display: none; }
.wa-float .wa-btn:hover { transform: scale(1.06); }
.wa-label { border-radius: 8px; }
.modal { backdrop-filter: none; }
.modal-box { border-radius: 14px; }

/* ---------- Calmer reveal motion ---------- */
.js .reveal { transform: translateY(16px); transition: opacity .6s var(--ease) var(--d, 0ms), transform .6s var(--ease) var(--d, 0ms); }
.js .reveal.from-left { transform: translateX(-24px); }
.js .reveal.from-right { transform: translateX(24px); }
.js .reveal.is-visible { transform: none; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
