/* SMRTWEBWORKS concept demo pages (fictional businesses). Colors come from --c1/--ink/--bg/--soft/--bt on each page. */
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-var.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body { margin: 0; font-family: "Archivo", system-ui, sans-serif; background: var(--bg); color: var(--ink); line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.05; }
p { margin: 0; }

/* SMRTWEBWORKS demo banner */
.demo-bar { background: #0a1e5e; color: #f4f5f9; padding: .7rem 1rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; align-items: center; justify-content: space-between; font-size: .88rem; position: relative; z-index: 30; }
.demo-bar strong { color: #ffc629; }
.demo-bar a { color: #fff; font-weight: 700; }
.demo-bar-acts { display: flex; gap: .75rem 1.25rem; flex-wrap: wrap; align-items: center; }
.demo-bar-cta { background: #ffc629; color: #0a1e5e !important; text-decoration: none; padding: .45rem .9rem; border-radius: 99px; }

/* Nav */
.d-nav { position: sticky; top: 0; z-index: 20; height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0 clamp(16px, 4vw, 56px); background: #fff; border-bottom: 1px solid rgba(0,0,0,.07); }
.d-logo { font-weight: 900; font-stretch: 80%; font-size: clamp(1.05rem, 2.5vw, 1.6rem); text-decoration: none; letter-spacing: .01em; white-space: nowrap; }
.d-logo b { color: var(--c1); filter: brightness(.9); }
.d-links { display: flex; gap: 1.75rem; font-weight: 600; }
.d-links a { text-decoration: none; opacity: .75; }
.d-links a:hover { opacity: 1; color: var(--c1); }
.d-pill { background: var(--c1); color: var(--bt); font-weight: 800; padding: .7rem 1.2rem; border-radius: 99px; text-decoration: none; white-space: nowrap; font-size: .95rem; }
@media (max-width: 860px) { .d-links { display: none; } }
@media (max-width: 420px) { .d-pill { padding: .55rem .9rem; font-size: .85rem; } }

/* Hero */
.d-hero { position: relative; min-height: min(78vh, 640px); display: flex; align-items: center; padding: 3rem clamp(16px, 4vw, 56px); background-repeat: no-repeat; }
.d-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,10,12,.84) 0%, rgba(10,10,12,.58) 50%, rgba(10,10,12,.08) 85%); }
.d-hero--r { justify-content: flex-end; }
.d-hero--r::before { background: linear-gradient(270deg, rgba(10,10,12,.86) 0%, rgba(10,10,12,.6) 50%, rgba(10,10,12,.08) 85%); }
.d-hc { position: relative; max-width: 620px; color: #fff; }
.d-chip { display: inline-block; background: #fff; color: var(--ink); font-weight: 800; font-size: .88rem; padding: .4rem .8rem; border-radius: 99px; margin-bottom: 1.25rem; }
.d-hero h1 { font-weight: 900; font-stretch: 72%; font-size: clamp(2.6rem, 1.6rem + 5vw, 5rem); line-height: .92; text-transform: uppercase; }
.d-hero h1 em { font-style: normal; display: block; color: var(--c1); filter: brightness(1.3); }
.d-sub { font-size: clamp(1.02rem, .95rem + .4vw, 1.25rem); margin: 1.25rem 0 1.75rem; max-width: 34em; opacity: .94; }
@media (max-width: 700px) { .d-hero::before, .d-hero--r::before { background: linear-gradient(0deg, rgba(10,10,12,.88) 0%, rgba(10,10,12,.62) 60%, rgba(10,10,12,.35) 100%); } .d-hero, .d-hero--r { justify-content: flex-start; align-items: flex-end; } }

/* Buttons */
.d-btns { display: flex; flex-wrap: wrap; gap: .75rem; }
.d-b { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 52px; font: inherit; font-weight: 800; font-size: 1.02rem; padding: .85rem 1.6rem; border-radius: 99px; background: var(--c1); color: var(--bt); border: 0; text-decoration: none; cursor: pointer; transition: transform .2s, filter .2s; }
.d-b:hover { transform: translateY(-2px); filter: brightness(1.05); }
.d-b2 { background: transparent; color: #fff; border: 2.5px solid #fff; }
.d-b-dark { color: var(--ink); border-color: var(--ink); }
.d-b:focus-visible, .d-pill:focus-visible, a:focus-visible { outline: 3px solid var(--c1); outline-offset: 3px; }

/* Trust strip */
.d-trust { list-style: none; margin: 0; padding: 1.25rem clamp(16px, 4vw, 56px); background: var(--ink); color: #fff; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem; font-weight: 700; }
.d-trust li { display: flex; gap: .5rem; align-items: center; }
.d-trust svg { color: var(--c1); filter: brightness(1.3); flex: none; }

/* Sections */
.d-sec { padding: clamp(2.5rem, 6vw, 4.5rem) clamp(16px, 4vw, 56px); }
.d-eb { font-weight: 800; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--c1); filter: brightness(.85); margin-bottom: .35rem; }
.d-sec h2, .d-split h2 { font-weight: 900; font-stretch: 75%; font-size: clamp(2rem, 1.5rem + 2.2vw, 3rem); text-transform: uppercase; margin-bottom: 1.5rem; }
.d-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
@media (max-width: 800px) { .d-cards { grid-template-columns: 1fr; } }
.d-card { background: #fff; border: 1px solid rgba(0,0,0,.06); border-radius: 18px; padding: 1.5rem; }
.d-ico { display: block; width: 44px; height: 44px; border-radius: 12px; background: var(--soft); margin-bottom: 1rem; }
.d-card h3 { font-size: 1.3rem; margin-bottom: .35rem; }
.d-card p { opacity: .75; }
.d-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; padding: 0 clamp(16px, 4vw, 56px) clamp(2.5rem, 6vw, 4.5rem); }
.d-split h2 { margin-bottom: .75rem; }
.d-split p:not(.d-eb) { font-size: 1.1rem; opacity: .82; margin-bottom: 1.25rem; }
.d-ph { min-height: 320px; border-radius: 22px; background-size: cover; background-repeat: no-repeat; }
@media (max-width: 800px) { .d-split { grid-template-columns: 1fr; } .d-ph { min-height: 240px; } }
.d-area { background: #fff; border-top: 1px solid rgba(0,0,0,.06); border-bottom: 1px solid rgba(0,0,0,.06); }
.d-area-line { font-size: 1.25rem; font-weight: 700; }
.d-note { margin-top: .75rem; font-size: .92rem; opacity: .7; max-width: 60ch; }

/* Quote */
.d-quote { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; background: var(--soft); border-radius: 26px; padding: clamp(1.5rem, 4vw, 3rem); }
.d-quote h2 { margin-bottom: .75rem; }
.d-quote > div > p:not(.d-eb) { font-size: 1.1rem; margin-bottom: 1.25rem; }
@media (max-width: 800px) { .d-quote { grid-template-columns: 1fr; } }
.d-form { background: #fff; border-radius: 18px; padding: 1.5rem; display: grid; gap: .9rem; box-shadow: 0 20px 40px -28px rgba(0,0,0,.35); }
.d-form label { display: grid; gap: .35rem; font-weight: 700; font-size: .95rem; }
.d-form label span { font-weight: 400; opacity: .65; }
.d-form input, .d-form select, .d-form textarea { font: inherit; font-size: 1rem; min-height: 48px; padding: .65rem .8rem; border: 1.5px solid rgba(0,0,0,.18); border-radius: 12px; background: #fff; color: var(--ink); }
.d-form input:focus, .d-form select:focus, .d-form textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px var(--soft); }
.d-form-msg { font-size: .95rem; font-weight: 600; }
.d-form-msg:empty { display: none; }
.d-form-msg.is-ok { background: #ecfdf3; color: #14532d; border-radius: 12px; padding: .8rem 1rem; }

/* Footer, mobile bar, toast */
.d-foot { padding: 2rem clamp(16px, 4vw, 56px) 6rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .92rem; }
.d-foot a { font-weight: 700; }
.d-mbar { display: none; }
@media (max-width: 700px) {
  .d-mbar { display: grid; grid-template-columns: 1fr 1.4fr; gap: .5rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; padding: .6rem .75rem calc(.6rem + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid rgba(0,0,0,.1); }
  .d-mbar .d-b { min-height: 50px; padding: .6rem .8rem; font-size: .98rem; }
}
.d-toast { position: fixed; left: 50%; bottom: 5.5rem; transform: translateX(-50%); z-index: 40; max-width: min(92vw, 440px); background: #0a1e5e; color: #fff; padding: .9rem 1.1rem; border-radius: 14px; font-size: .95rem; box-shadow: 0 20px 40px -20px rgba(0,0,0,.5); }
.d-toast[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .d-b { transition: none; } }
@media (max-width: 480px) { .d-nav { gap: .5rem; } .d-logo { white-space: normal; line-height: 1; font-size: 1rem; } .d-logo b { display: block; } .d-trust { flex-direction: column; } .demo-bar { font-size: .82rem; } }
.d-quote > * { min-width: 0; }
.d-quote .d-b { white-space: normal; text-align: center; }
@media (max-width: 480px) { .d-quote { padding: 1.25rem; border-radius: 20px; } .d-form { padding: 1.1rem; } }
