/* manyenterprises.si: same family as the other Many Enterprises .si sites (seniorcare, seniorhousing, traveladvisor), retuned for buying a small business. */
:root {
  --page: #FFFFFF;
  --card: #F6F4EF;
  --ink: #13233A;
  --ink-2: #4B586D;
  --ink-3: #7D889A;
  --line: #E6E1D8;
  --sun: #F0B44C;          /* warm amber accent */
  --deep: #1F5E63;         /* deep teal for small labels and links */
  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --r-xl: 36px;
  --r-lg: 22px;
  --shadow: 0 30px 60px -30px rgba(19,35,58,.28), 0 8px 20px -12px rgba(19,35,58,.18);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--page); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.55; }
[hidden] { display: none !important; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; }
input, select, textarea { font: inherit; color: var(--ink); }
:focus-visible { outline: 3px solid #3B82F6; outline-offset: 3px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 62px; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; letter-spacing: -.01em; font-size: 18px; }
.brand svg { width: 30px; height: 30px; flex: none; }
.brand span { color: var(--ink-3); font-weight: 500; }
.nav { display: flex; gap: 6px; align-items: center; }
.nav a { text-decoration: none; padding: 8px 12px; border-radius: 999px; font-weight: 500; font-size: 15px; color: var(--ink-2); }
.nav a:hover { background: var(--card); color: var(--ink); }
.nav a.cta { background: var(--ink); color: #fff; }
@media (max-width: 760px) { .nav a:not(.cta) { display: none; } }

/* type */
h1, h2, h3 { line-height: 1.15; letter-spacing: -.015em; }
h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(34px, 6vw, 58px); margin: 0 0 14px; }
h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(26px, 4vw, 36px); margin: 0 0 12px; }
h3 { font-size: 19px; margin: 18px 0 6px; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: 12.5px; font-weight: 700; color: var(--deep); margin: 0 0 8px; }
.lede { font-size: 19px; color: var(--ink-2); max-width: 680px; margin: 0 0 22px; }
.muted { color: var(--ink-3); }

/* hero */
.hero { padding: 44px 0 20px; }
.stage { background: linear-gradient(140deg, #13233A 0%, #1F3B55 55%, #1F5E63 100%); color: #fff; border-radius: var(--r-xl); padding: clamp(24px, 5vw, 52px); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.stage::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(240,180,76,.45), rgba(240,180,76,0) 70%); pointer-events: none; }
.stage h1 { color: #fff; max-width: 760px; }
.stage .lede { color: rgba(255,255,255,.82); }
.finder { position: relative; z-index: 1; display: grid; grid-template-columns: 1.4fr .8fr auto; gap: 10px; background: #fff; border-radius: 20px; padding: 10px; max-width: 820px; }
.finder label { display: flex; flex-direction: column; font-size: 12px; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: .08em; padding: 4px 10px; }
.finder select, .finder input { border: 0; background: transparent; font-size: 17px; font-weight: 600; padding: 4px 0; text-transform: none; letter-spacing: 0; color: var(--ink); min-width: 0; }
.finder select:focus, .finder input:focus { outline: none; }
.finder button { border: 0; border-radius: 14px; background: var(--sun); color: var(--ink); font-weight: 700; padding: 0 22px; font-size: 16px; }
@media (max-width: 640px) { .finder { grid-template-columns: 1fr 1fr; } .finder label:first-child { grid-column: 1 / -1; } .finder button { padding: 12px; } }
.ask { position: relative; z-index: 1; display: flex; gap: 8px; margin-top: 14px; max-width: 820px; }
.ask input { flex: 1; min-width: 0; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.12); color: #fff; border-radius: 999px; padding: 13px 18px; font-size: 16px; }
.ask input::placeholder { color: rgba(255,255,255,.7); }
.ask .go { width: 48px; height: 48px; flex: none; border-radius: 50%; border: 0; background: #fff; color: var(--ink); display: grid; place-items: center; }
.ask .go svg { width: 20px; height: 20px; }
.chips { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chips button { border: 1px solid rgba(255,255,255,.3); background: transparent; color: rgba(255,255,255,.9); border-radius: 999px; padding: 7px 13px; font-size: 14px; }
.chips button:hover { background: rgba(255,255,255,.12); }

/* sections */
section.block { padding: 44px 0 8px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 860px) { .grid3, .grid2 { grid-template-columns: 1fr; } }
.card { background: var(--card); border-radius: var(--r-lg); padding: 22px; }
.card h3 { margin-top: 0; }
.card p { margin: 0 0 8px; color: var(--ink-2); }
.pill { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 9px 16px; font-weight: 600; text-decoration: none; display: inline-block; }
.btn { border: 0; background: var(--ink); color: #fff; border-radius: 999px; padding: 12px 20px; font-weight: 700; text-decoration: none; display: inline-block; }
.btn.sun { background: var(--sun); color: var(--ink); }
.states { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px; }
.states a { text-decoration: none; padding: 10px 12px; border-radius: 12px; background: var(--card); display: flex; justify-content: space-between; gap: 8px; font-weight: 500; }
.states a small { color: var(--ink-3); }
.states a:hover { background: #EFEAE0; }

/* results */
.results { padding: 28px 0 0; }
.res-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.res-head h2 { margin: 0; }
.list { display: grid; gap: 12px; }
.item { border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: start; background: #fff; }
.item.featured { border-color: var(--sun); box-shadow: 0 0 0 1px var(--sun) inset; }
.item .tick { width: 22px; height: 22px; margin-top: 3px; accent-color: var(--deep); }
.item h3 { margin: 0 0 2px; font-size: 18px; }
.item .meta { color: var(--ink-3); font-size: 14.5px; margin: 0; }
.item .nums { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14.5px; margin: 6px 0 0; }
.item .nums b { font-weight: 700; }
.item .acts { display: flex; flex-direction: column; gap: 6px; align-items: end; }
.item .acts a { font-size: 14px; font-weight: 600; color: var(--deep); text-decoration: none; white-space: nowrap; }
.tag { display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; background: #FCEFD5; color: #7A4E07; margin-left: 6px; vertical-align: 2px; }
@media (max-width: 600px) { .item { grid-template-columns: auto 1fr; } .item .acts { grid-column: 2; flex-direction: row; align-items: center; } }
.empty { background: var(--card); border-radius: 18px; padding: 18px; color: var(--ink-2); }
.note { font-size: 14px; color: var(--ink-3); }
.err { color: #A23B2A; }
.thinking { display: inline-flex; gap: 5px; padding: 8px 0; }
.thinking i { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-3); animation: blink 1.2s infinite both; }
.thinking i:nth-child(2) { animation-delay: .2s; } .thinking i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .2; } 40% { opacity: 1; } }

/* answers */
.answers { padding: 26px 0 120px; }
.qa { border-bottom: 1px solid var(--line); padding: 18px 0 26px; }
.qa .you { text-transform: uppercase; letter-spacing: .1em; font-size: 12px; font-weight: 700; color: var(--deep); margin: 0; }
.qa h2 { font-size: clamp(24px, 3.4vw, 32px); margin: 4px 0 12px; }
.qa .body { max-width: 760px; }
.qa .body p, .qa .body li { color: var(--ink); }
.qa .body .confirm { color: var(--ink-2); font-size: 15px; border-left: 3px solid var(--sun); padding-left: 12px; }
.backhome { border: 0; background: none; color: var(--deep); font-weight: 600; padding: 0; }
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: rgba(255,255,255,.96); border-top: 1px solid var(--line); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); }
.dock form { max-width: 820px; margin: 0 auto; display: flex; gap: 8px; }
.dock input { flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: 999px; padding: 12px 16px; }
.dock .go { width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; display: grid; place-items: center; }
.dock .go svg { width: 20px; height: 20px; }
.stopbtn { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 0 14px; }

/* tray + dialog */
.tray { position: fixed; left: 50%; transform: translateX(-50%); bottom: 18px; z-index: 31; background: var(--ink); color: #fff; border-radius: 999px; padding: 8px 8px 8px 20px; display: flex; gap: 14px; align-items: center; box-shadow: var(--shadow); max-width: calc(100% - 24px); }
.tray p { margin: 0; font-size: 15px; } .tray small { display: block; color: rgba(255,255,255,.7); max-width: 46vw; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tray button { border: 0; border-radius: 999px; background: var(--sun); color: var(--ink); font-weight: 700; padding: 10px 16px; white-space: nowrap; }
dialog.req { border: 0; border-radius: 24px; padding: 0; width: min(560px, calc(100% - 24px)); max-height: calc(100% - 24px); box-shadow: var(--shadow); }
dialog.req::backdrop { background: rgba(19,35,58,.45); }
.req form, .req .done { padding: 22px; }
.req .hd { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.req h2 { font-size: 28px; margin: 0; }
.req .x { border: 0; background: var(--card); width: 36px; height: 36px; border-radius: 50%; font-size: 20px; }
.req .to { color: var(--ink-2); margin: 6px 0 14px; font-size: 15px; }
.fld { display: grid; gap: 4px; margin: 0 0 12px; font-weight: 600; font-size: 14.5px; }
.fld input, .fld select, .fld textarea { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font-weight: 400; font-size: 16px; background: #fff; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.checks { display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0 12px; }
.checks label { border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 14px; font-weight: 500; display: flex; gap: 6px; align-items: center; }
.consent { display: flex; gap: 10px; font-size: 13px; color: var(--ink-2); align-items: start; margin: 6px 0 14px; }
.consent input { margin-top: 3px; }
.send { width: 100%; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 700; padding: 14px; font-size: 16px; }
.msg { min-height: 1em; font-size: 14px; margin: 8px 0 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* forms on the page */
.pform { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; }

/* calculator */
.calc .out { background: #fff; border-radius: 16px; padding: 14px 16px; margin-top: 8px; }
.calc .big { font-family: var(--serif); font-size: 30px; }

/* article pages */
.article { max-width: 760px; margin: 0 auto; padding: 36px 16px 20px; }
.article .answer { font-size: 20px; line-height: 1.5; border-left: 4px solid var(--sun); padding-left: 16px; margin: 0 0 18px; }
.article .confirm { color: var(--ink-2); font-size: 15px; background: var(--card); border-radius: 14px; padding: 12px 14px; }
.article li { margin-bottom: 6px; }
.crumbs { font-size: 14px; color: var(--ink-3); margin-bottom: 12px; }
.crumbs a { color: var(--deep); text-decoration: none; }
.blist { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.blist li { border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; }
.blist b { display: block; }
.blist small { color: var(--ink-3); }
.blist a { color: var(--deep); font-weight: 600; text-decoration: none; font-size: 14.5px; margin-right: 12px; }
.cityh { font-family: var(--sans); font-size: 17px; font-weight: 700; margin: 22px 0 8px; }

/* footer */
footer.foot { margin-top: 56px; border-top: 1px solid var(--line); background: var(--card); }
footer.foot .wrap { padding: 28px 16px 36px; display: grid; gap: 14px; }
footer.foot nav { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14.5px; }
footer.foot nav a { text-decoration: none; color: var(--ink-2); }
footer.foot .net { font-size: 14px; color: var(--ink-3); }
footer.foot .net a { color: var(--deep); text-decoration: none; margin-right: 12px; white-space: nowrap; }
footer.foot .disc { font-size: 13px; color: var(--ink-3); max-width: 880px; margin: 0; }
