{"id":40910,"date":"2026-11-04T12:21:11","date_gmt":"2026-11-04T12:21:11","guid":{"rendered":"https:\/\/thewebops.com\/?page_id=40910"},"modified":"2026-11-04T12:21:11","modified_gmt":"2026-11-04T12:21:11","slug":"instant-quotation","status":"publish","type":"page","link":"https:\/\/thewebops.com\/ar\/instant-quotation\/","title":{"rendered":"\u0639\u0631\u0636 \u0623\u0633\u0639\u0627\u0631 \u0641\u0648\u0631\u064a"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"40910\" class=\"elementor elementor-40910\" data-elementor-post-type=\"page\">\n\t\t\t\t<div class=\"elementor-element elementor-element-iqpgroot e-con-full e-flex e-con e-parent\" data-id=\"iqpgroot\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-iqpghtml elementor-widget elementor-widget-html\" data-id=\"iqpghtml\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t\t<div id='iqroot' class='wo iqpage'>\n<style>.wo.iqpage [hidden]:not([hidden=until-found i]){display:none!important}\n.wo.iqpage{--bg: #f6f7fb; --grid: rgba(110, 86, 232, 0.05); --surface: #ffffff; --fg: #0a0d18; --ink-2: #252c3d; --muted: #5a6478; --line: #e1e5ef; --line-soft: #eaedf6; --tint: #eceff7; --accent: #6e56e8; --accent-soft: #f2effe; --blue: #3457d5; --teal: #12a594; --ok: #16a34a; --gradient: linear-gradient(120deg, #3457d5, #6e56e8 52%, #12a594); --accent-text: linear-gradient(100deg, #3457d5, #6e56e8 60%, #7b5cf0); --shadow: 0 24px 48px -24px rgba(30, 26, 80, 0.22), 0 0 40px -18px rgba(110, 86, 232, 0.25); --font: \"Montserrat\", -apple-system, \"Segoe UI\", Roboto, sans-serif; --font-mono: ui-monospace, \"SF Mono\", Menlo, Consolas, monospace; color-scheme: light;}\n.wo.iqpage, .wo.iqpage *{box-sizing: border-box;}\n.wo.iqpage [hidden]{display: none !important;}\n.wo.iqpage{color: var(--fg); font-family: var(--font); font-size: 14px; line-height: 1.6; margin: 0;}\n.wo.iqpage .wrap{display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; padding-top: 32px; padding-left: max(16px, 10vw, env(safe-area-inset-left, 0px)); padding-right: max(16px, 10vw, env(safe-area-inset-right, 0px));}\n.wo.iqpage body::before{content: \"\"; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: rgba(255, 255, 255, 0.92);}\n.wo.iqpage .site-header{position: sticky; top: env(safe-area-inset-top, 0px); z-index: 6; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 12px; padding-left: max(16px, 10vw, env(safe-area-inset-left, 0px)); padding-right: max(16px, 10vw, env(safe-area-inset-right, 0px)); background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);}\n.wo.iqpage .site-header .logo{display: block; height: 28px; width: auto;}\n.wo.iqpage .site-nav{display: flex; gap: 26px; font-size: 13.5px; font-weight: 600; color: var(--ink-2);}\n.wo.iqpage .site-nav a{color: inherit; text-decoration: none;}\n.wo.iqpage .site-nav a:hover{color: var(--accent);}\n.wo.iqpage .site-header .btn{font-size: 13px; padding: 9px 16px; border-radius: 11px; text-decoration: none; box-shadow: none;}\n@media (max-width: 920px){.wo.iqpage .site-nav{display: none;}}\n@media (max-width: 640px){.wo.iqpage .wrap, .wo.iqpage .site-header{padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px));}}\n.wo.iqpage header.hero{display: grid; justify-items: center; text-align: center; gap: 12px;}\n.wo.iqpage .badge{display: inline-flex; align-items: center; gap: 10px; padding: 5px 14px 5px 5px; background: rgba(255, 255, 255, 0.75); border: 1px solid var(--line); border-radius: 999px; font-size: 12.5px; font-weight: 600; color: var(--ink-2);}\n.wo.iqpage .badge b{background: var(--gradient); color: #fff; border-radius: 999px; padding: 3px 11px; font-size: 10.5px; font-weight: 700; letter-spacing: .08em;}\n.wo.iqpage header h1{margin: 0; font-weight: 800; font-size: clamp(26px, 3.4vw, 38px); line-height: 1.1; letter-spacing: -0.03em; text-wrap: balance;}\n.wo.iqpage header h1 .accent{background: var(--accent-text); -webkit-background-clip: text; background-clip: text; color: transparent;}\n.wo.iqpage header p{margin: 0; color: var(--muted); max-width: 56ch; font-size: 15px; line-height: 1.7;}\n.wo.iqpage .layout{display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 22px; align-items: start;}\n@media (max-width: 920px){.wo.iqpage .layout{grid-template-columns: minmax(0, 1fr);}}\n.wo.iqpage main{background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 4px 22px;}\n@media (max-width: 560px){.wo.iqpage main{padding: 4px 18px;}}\n.wo.iqpage .step{display: grid; gap: 12px; padding-block: 20px; border-top: 1px solid var(--line-soft);}\n.wo.iqpage .step:first-child{border-top: 0;}\n.wo.iqpage .step h2{margin: 0; font-weight: 700; font-size: 16px; letter-spacing: -0.02em; display: flex; gap: 12px; align-items: center;}\n.wo.iqpage .step h2 .n{display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 6px; border-radius: 9px; background: var(--tint); color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: 0;}\n.wo.iqpage .step .hint{margin: -4px 0 0; color: var(--muted); font-size: 12.5px;}\n.wo.iqpage .grid{display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));}\n.wo.iqpage .grid.three{grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));}\n.wo.iqpage .opt{position: relative; display: block; cursor: pointer;}\n.wo.iqpage .opt input{position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer;}\n.wo.iqpage .opt .card{position: relative; display: grid; gap: 3px; height: 100%; align-content: start; background: var(--surface); border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 34px 11px 13px; transition: border-color .15s, background .15s, box-shadow .15s;}\n.wo.iqpage .opt .t{font-weight: 700; font-size: 13.5px; letter-spacing: -0.01em;}\n.wo.iqpage .opt .d{color: var(--muted); font-size: 12px; line-height: 1.45;}\n.wo.iqpage .opt .p{font-size: 11.5px; font-weight: 600; color: var(--muted); margin-top: 4px;}\n.wo.iqpage .opt .rec{margin-left: 6px; color: var(--teal); font-weight: 700;}\n.wo.iqpage .sys-group{display: grid; gap: 8px;}\n.wo.iqpage .sys-group + .sys-group{margin-top: 14px;}\n.wo.iqpage .sys-group h3{margin: 0; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted);}\n.wo.iqpage .note-box{font-size: 13px; color: var(--ink-2); background: var(--bg); border: 1px solid var(--line-soft); border-radius: 12px; padding: 12px 14px;}\n.wo.iqpage .run{display: grid; gap: 6px; padding: 12px 14px; border: 1px dashed #cfc6f6; border-radius: 12px; background: var(--accent-soft); font-size: 12.5px; color: var(--ink-2);}\n.wo.iqpage .run .rk{font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent);}\n.wo.iqpage .run div{display: flex; justify-content: space-between; gap: 10px;}\n.wo.iqpage .run div span:last-child{text-align: right; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums;}\n.wo.iqpage .run .tot{border-top: 1px solid #ddd5fb; padding-top: 6px; font-weight: 700; color: var(--fg);}\n.wo.iqpage .run small{color: var(--muted); font-size: 11.5px;}\n.wo.iqpage .opt .card::after{content: \"\"; position: absolute; top: 12px; right: 12px; width: 16px; height: 16px; border: 1.5px solid var(--line); border-radius: 50%; background: var(--surface);}\n.wo.iqpage .opt input[type=\"checkbox\"] + .card::after{border-radius: 5px;}\n.wo.iqpage .opt:hover .card{border-color: #c9c0f7;}\n.wo.iqpage .opt input:checked + .card{border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 8px 20px -12px rgba(110, 86, 232, 0.55);}\n.wo.iqpage .opt input:checked + .card .p{color: var(--accent);}\n.wo.iqpage .opt input:checked + .card::after{border-color: transparent; background: var(--gradient); -webkit-mask: none; box-shadow: inset 0 0 0 4px var(--accent-soft);}\n.wo.iqpage .opt input[type=\"checkbox\"]:checked + .card::after{box-shadow: none; background: var(--gradient) ;}\n.wo.iqpage .opt input[type=\"checkbox\"]:checked + .card::before{content: \"\"; position: absolute; top: 15px; right: 17.5px; width: 4px; height: 8px; z-index: 1; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);}\n.wo.iqpage .opt input:focus-visible + .card{outline: 2px solid var(--accent); outline-offset: 2px;}\n.wo.iqpage .panel{position: sticky; top: calc(env(safe-area-inset-top, 0px) + 76px); background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 20px; display: grid; gap: 13px;}\n.wo.iqpage .panel-top{display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap;}\n.wo.iqpage .eyebrow{display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted);}\n.wo.iqpage .eyebrow::before{content: \"\"; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.15);}\n.wo.iqpage .cur{display: flex; gap: 2px; background: var(--tint); border-radius: 10px; padding: 3px;}\n.wo.iqpage .cur label{position: relative; cursor: pointer;}\n.wo.iqpage .cur input{position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer;}\n.wo.iqpage .cur span{display: block; padding: 4px 10px; border-radius: 8px; font-size: 11.5px; font-weight: 700; color: var(--muted);}\n.wo.iqpage .cur input:checked + span{background: var(--surface); color: var(--fg); box-shadow: 0 1px 3px rgba(10, 13, 24, 0.1);}\n.wo.iqpage .cur input:focus-visible + span{outline: 2px solid var(--accent); outline-offset: 1px;}\n.wo.iqpage .range{font-weight: 800; font-size: 26px; line-height: 1.05; letter-spacing: -0.03em; font-variant-numeric: tabular-nums;}\n.wo.iqpage .range small{display: block; font-weight: 500; font-size: 12.5px; color: var(--muted); margin-top: 8px; letter-spacing: 0;}\n.wo.iqpage .weeks{font-size: 13px; font-weight: 600; color: var(--ink-2); margin-top: -6px;}\n.wo.iqpage .picks{list-style: none; margin: 0; padding: 14px; display: grid; gap: 8px; font-size: 13px; background: var(--bg); border: 1px solid var(--line-soft); border-radius: 14px;}\n.wo.iqpage .picks li{display: flex; justify-content: space-between; gap: 12px;}\n.wo.iqpage .picks li span:first-child{color: var(--muted);}\n.wo.iqpage .picks li span:last-child{text-align: right; font-weight: 600; color: var(--ink-2);}\n.wo.iqpage .incl{list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 13px; color: var(--ink-2);}\n.wo.iqpage .incl li{display: flex; gap: 8px;}\n.wo.iqpage .incl li::before{content: \"\u2713\"; color: var(--ok); font-weight: 800;}\n.wo.iqpage .note{font-size: 12.5px; line-height: 1.6; color: var(--muted); padding-left: 12px; border-left: 2px solid var(--line);}\n.wo.iqpage .note strong{color: var(--fg); font-weight: 700;}\n.wo.iqpage form{display: grid; gap: 11px; border-top: 1px solid var(--line-soft); padding-top: 18px;}\n.wo.iqpage form h3, .wo.iqpage .done h3{margin: 0; font-weight: 800; font-size: 16px; letter-spacing: -0.02em;}\n.wo.iqpage form p{margin: -4px 0 2px; font-size: 12.5px; color: var(--muted); line-height: 1.6;}\n.wo.iqpage label.f{display: grid; gap: 5px; font-size: 12.5px; font-weight: 600; color: var(--ink-2);}\n.wo.iqpage label.f input{font: inherit; font-weight: 500; font-size: 14px; color: var(--fg); background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px;}\n.wo.iqpage label.f input:focus{outline: none; border-color: var(--accent); background: var(--surface); box-shadow: 0 0 0 3px rgba(110, 86, 232, 0.12);}\n.wo.iqpage .err{color: #c2412d; font-size: 12.5px; min-height: 1em;}\n.wo.iqpage .btn{font: inherit; font-weight: 650; font-size: 14.5px; cursor: pointer; color: #fff; background: var(--gradient); border: 0; border-radius: 12px; padding: 12px 20px; box-shadow: 0 12px 24px -12px rgba(52, 87, 213, 0.6); transition: transform .15s, box-shadow .15s;}\n.wo.iqpage .btn:hover{transform: translateY(-1px); box-shadow: 0 16px 28px -12px rgba(110, 86, 232, 0.65);}\n.wo.iqpage .btn:focus-visible{outline: 2px solid var(--fg); outline-offset: 2px;}\n.wo.iqpage .btn.ghost{color: var(--fg); background: var(--surface); border: 1.5px solid var(--line); box-shadow: none; text-align: center;}\n.wo.iqpage .done{display: grid; gap: 10px; border-top: 1px solid var(--line-soft); padding-top: 18px; font-size: 13.5px; color: var(--muted);}\n.wo.iqpage .done h3{color: var(--fg); display: flex; align-items: center; gap: 8px;}\n.wo.iqpage .done h3::before{content: \"\"; width: 8px; height: 8px; border-radius: 50%; background: var(--ok);}\n.wo.iqpage .ref{font-family: var(--font-mono); font-weight: 700; color: var(--accent);}\n.wo.iqpage .done pre{margin: 0; white-space: pre-wrap; font-family: var(--font-mono); font-size: 12px; line-height: 1.6; color: #d6dcf0; background: #0b1022; border-radius: 14px; padding: 14px; overflow-x: auto;}\n.wo.iqpage .linkbtn{font: inherit; font-size: 13.5px; font-weight: 700; color: var(--accent); background: none; border: 0; padding: 0; cursor: pointer; justify-self: start;}\n.wo.iqpage .bar{display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 5; background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(10px); border-top: 1px solid var(--line); padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); align-items: center; justify-content: space-between; gap: 12px;}\n.wo.iqpage .bar .k{font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted);}\n.wo.iqpage .bar-txt{min-width: 0;}\n.wo.iqpage .bar .v{font-weight: 800; font-size: 15px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere;}\n.wo.iqpage .bar .r{font-size: 11.5px; color: var(--muted); font-weight: 600;}\n.wo.iqpage .case-groups{display: grid; gap: 12px;}\n.wo.iqpage .case-group{display: grid; gap: 6px;}\n.wo.iqpage .case-group h3{margin: 0; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted);}\n.wo.iqpage .match{display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px;}\n.wo.iqpage .match b{font-variant-numeric: tabular-nums;}\n.wo.iqpage .match .ok, .wo.iqpage .match .bad{font-weight: 800; padding: 3px 10px; border-radius: 999px; font-size: 12px;}\n.wo.iqpage .match .ok{color: #0f7a55; background: #e3f4ec;}\n.wo.iqpage .match .bad{color: #b42318; background: #fde8e6;}\n.wo.iqpage .match span.sep{color: var(--line);}\n.wo.iqpage .dev-grid{display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px;}\n.wo.iqpage .dev-card{background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; display: grid; gap: 8px; align-content: start;}\n.wo.iqpage .dev-card h3{margin: 0; font-size: 14.5px; font-weight: 800;}\n.wo.iqpage .dev-card ul{margin: 0; padding-left: 18px; display: grid; gap: 5px; font-size: 13px; color: var(--ink-2);}\n.wo.iqpage .cl-logo{display: flex; align-items: center; height: 38px; margin-bottom: 4px;}\n.wo.iqpage .cl-logo img{width: auto; max-width: 120px; object-fit: contain;}\n.wo.iqpage .logo-strip{display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; padding-top: 14px; margin-top: 4px; border-top: 1px solid var(--line-soft);}\n.wo.iqpage .logo-strip span{display: flex; align-items: center; justify-content: center; height: 48px; border: 1px solid var(--line-soft); border-radius: 8px; background: #fff;}\n.wo.iqpage .logo-strip img{width: auto; max-width: 80%; object-fit: contain;}\n.wo.iqpage a.m-btn, .wo.iqpage .done a.btn{text-decoration: none;}\n.wo.iqpage .bar a{flex: none; color: #fff; background: var(--gradient); font-weight: 650; font-size: 13px; text-decoration: none; padding: 10px 12px; border-radius: 12px; white-space: nowrap;}\n@media (max-width: 920px){.wo.iqpage .bar{display: flex;}.wo.iqpage .panel{position: static;}}\n@media (prefers-reduced-motion: reduce){.wo.iqpage, .wo.iqpage *{transition: none !important;}}\n\/* --- host adjustments: the artifact styled <body>, this lives inside the theme --- *\/\n.wo.iqpage{position:relative;padding-block:40px 110px;padding-left:max(16px,env(safe-area-inset-left,0px));padding-right:max(16px,env(safe-area-inset-right,0px))}\n.wo.iqpage::before{content:\"\";position:absolute;top:0;bottom:0;left:calc(50% - 50vw);width:100vw;z-index:0;pointer-events:none;background:radial-gradient(600px 420px at 8% 4%,rgba(52,87,213,.13),transparent 70%),radial-gradient(520px 380px at 80% 0%,rgba(110,86,232,.10),transparent 70%),linear-gradient(var(--grid) 1px,transparent 1px) 0 0\/58px 58px,linear-gradient(90deg,var(--grid) 1px,transparent 1px) 0 0\/58px 58px,var(--bg)}\n.wo.iqpage>*{position:relative;z-index:1}\n\/* The artifact was a standalone page and padded .wrap by 10vw a side, which\n   left the questions column too narrow here: the option cards fell to two per\n   row. Inside the site the theme already supplies the outer gutter. *\/\n.wo.iqpage .wrap{max-width:1320px;margin:0 auto;display:grid;gap:40px;padding-left:max(16px,2.5vw,env(safe-area-inset-left,0px));padding-right:max(16px,2.5vw,env(safe-area-inset-right,0px))}\n@media(min-width:921px){\n  \/* side by side only when there is room; below this the artifact stacks them *\/\n  .wo.iqpage .layout{grid-template-columns:minmax(0,1fr) 330px;gap:26px}\n  \/* three option cards per row, whatever the window *\/\n  .wo.iqpage .grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}\n  .wo.iqpage .grid{grid-template-columns:repeat(auto-fill,minmax(190px,1fr))}\n  \/* The quotation panel is taller than a laptop screen, so it is anchored by its\n     FOOT rather than its head: it rides up with the page until the whole panel\n     is on screen, then stops and stays there while the questions scroll on to\n     the end. No inner scrollbar, so the wheel always moves the page - capping\n     its height instead made the right column scroll inside itself, which read\n     as the two columns being the wrong way round. *\/\n  .wo.iqpage .panel{top:auto;bottom:24px;max-height:none;overflow:visible}\n}\n.wo.iqpage .panel{top:calc(env(safe-area-inset-top,0px) + 24px)}\n\/* Astra sets `h1,h2,...{color:var(--ast-global-color-2)}`, which beats the colour\n   the artifact inherited from the body. Put the page's own ink back. *\/\n.wo.iqpage h1,.wo.iqpage h2,.wo.iqpage h3,.wo.iqpage h4{color:var(--fg)}\n\/* Astra lowercases every button on the site (`button{text-transform:lowercase}`), so the page keeps its own casing. *\/\n.wo.iqpage button,.wo.iqpage .btn{text-transform:none}\n.wo.iqpage header h1 .accent{color:transparent}\n\/* spam honeypot: off-screen, never shown to a real visitor *\/\n.wo.iqpage .iq-hp{position:absolute !important;left:-9999px !important;width:1px;height:1px;overflow:hidden}\n.wo.iqpage .done[hidden],.wo.iqpage form[hidden]{display:none !important}\n.wo.iqpage #iq-submit[disabled]{opacity:.65;cursor:progress}\n#content .ast-container:has(.wo.iqpage),.elementor-40910{padding:0 !important;max-width:none !important}\n.wo.iqpage .bar{z-index:980}\n\/* ---------------------------------------------------------------- *\n * Phones and small tablets\n * ---------------------------------------------------------------- *\/\n@media(max-width:920px){\n  \/* 16px is the smallest font iOS Safari will not zoom the page into when a\n     field takes focus; 14px made every tap on the form jump the layout. *\/\n  .wo.iqpage label.f input{font-size:16px}\n  \/* the panel is full width here, so its actions are too *\/\n  .wo.iqpage .panel form .btn,.wo.iqpage .panel .done .btn{width:100%;justify-content:center;text-align:center}\n  .wo.iqpage .picks li span:last-child{min-width:0;overflow-wrap:anywhere}\n  .wo.iqpage .wrap{gap:26px}\n  .wo.iqpage{padding-block:26px 104px}\n  \/* under the site header (#masthead is z-index 99), so an open mobile menu is\n     never covered by the price bar, but still over the footer (z-index 2) *\/\n  .wo.iqpage .bar{z-index:90}\n}\n@media(max-width:560px){\n  .wo.iqpage main{padding:4px 14px}\n  .wo.iqpage .panel{padding:16px}\n  .wo.iqpage header h1{font-size:25px}\n  .wo.iqpage header p{font-size:14.5px}\n}\n\/* ---------------------------------------------------------------- *\n * One question per screen, on phones and small tablets\n *\n * The desktop page keeps every step on one scroll. At 920px and under the\n * same markup becomes a wizard: one step visible, progress above it, and\n * Back \/ Next inside the price bar that is already pinned to the bottom\n * there, so the price stays in view while the visitor answers.\n * ---------------------------------------------------------------- *\/\n.wo.iqpage main{scroll-margin-top:84px}\n.wo.iqpage #iq-estimate{scroll-margin-top:84px}\n\/* hidden by default, so a desktop visitor never sees a stray progress bar *\/\n.wo.iqpage .wiz-top{display:none !important}\n.wo.iqpage .wiz-top + .step{border-top:0}\n@media(max-width:920px){\n  .wo.iqpage main .step{border-top:0}\n  .wo.iqpage .step.off{display:none}\n  .wo.iqpage .wiz-top{display:grid !important}\n}\n.wo.iqpage .wiz-top{gap:8px;padding-top:18px}\n.wo.iqpage .wiz-meta{display:flex;justify-content:space-between;align-items:baseline;gap:12px;font-size:12px;font-weight:600;color:var(--muted)}\n.wo.iqpage .wiz-meta b{color:var(--accent);font-weight:700;letter-spacing:.02em}\n.wo.iqpage .wiz-bar{height:6px;border-radius:999px;background:var(--tint);overflow:hidden}\n.wo.iqpage .wiz-bar i{display:block;height:100%;width:0;background:var(--gradient);border-radius:inherit;transition:width .25s ease}\n.wo.iqpage main .step:last-of-type{padding-bottom:24px}\n.wo.iqpage .bar-nav{flex:none;display:flex;align-items:center;gap:8px}\n.wo.iqpage .bar-nav .btn{white-space:nowrap;font-size:14px;padding:11px 18px;border-radius:12px}\n.wo.iqpage .bar-nav .bar-back{width:42px;height:42px;padding:0;font-size:18px;line-height:1}\n\/* the bar's own button rules must not stretch these two the way the panel's do *\/\n.wo.iqpage .bar-nav .btn[hidden]{display:none}\n<\/style>\n<div class=\"wrap\">\n  <header class=\"hero\">\n    <span class=\"badge\"><b>NEW<\/b>Instant Quotation<\/span>\n    <h1>Get your project quotation<br><span class=\"accent\">in one minute.<\/span><\/h1>\n    <p>Answer a few questions and see your price range right away. Your fixed quote follows within 48 hours of a free 30-minute call.<\/p>\n  <\/header>\n\n  <div class=\"layout\">\n    <main>\n      <div class=\"wiz-top\">\n        <div class=\"wiz-meta\"><b id=\"iq-wizLabel\">Step 1<\/b><span id=\"iq-wizName\"><\/span><\/div>\n        <div class=\"wiz-bar\" role=\"progressbar\" aria-label=\"Progress\" aria-valuemin=\"1\" id=\"iq-wizBar\"><i id=\"iq-wizFill\"><\/i><\/div>\n      <\/div>\n\n      <section class=\"step\">\n        <h2><span class=\"n\">01<\/span>What are you building?<\/h2>\n        <div class=\"grid three\" id=\"iq-services\"><\/div>\n      <\/section>\n\n      <section class=\"step\" id=\"iq-platformStep\">\n        <h2><span class=\"n\">01b<\/span>Which store platform?<\/h2>\n        <p class=\"hint\">Shopify is quicker to launch. WooCommerce gives you more control and runs on WordPress.<\/p>\n        <div class=\"grid three\" id=\"iq-platforms\"><\/div>\n      <\/section>\n\n      <section class=\"step\" id=\"iq-kindStep\">\n        <h2><span class=\"n\">01b<\/span><span id=\"iq-kindTitle\">What kind?<\/span><\/h2>\n        <p class=\"hint\" id=\"iq-kindHint\"><\/p>\n        <div class=\"grid three\" id=\"iq-kinds\"><\/div>\n      <\/section>\n\n      <section class=\"step\" id=\"iq-systemsStep\">\n        <h2><span class=\"n\">01b<\/span>Which systems should we connect?<\/h2>\n        <p class=\"hint\">Pick every system involved. Each one is priced on its own, with a wide range until we see your setup.<\/p>\n        <div id=\"iq-systems\"><\/div>\n      <\/section>\n\n      <section class=\"step\" id=\"iq-appPlatformStep\">\n        <h2><span class=\"n\">01c<\/span>Which platform?<\/h2>\n        <p class=\"hint\">Not sure? Pick cross-platform. We'll confirm the best fit on the call.<\/p>\n        <div class=\"grid three\" id=\"iq-appPlatforms\"><\/div>\n      <\/section>\n\n      <section class=\"step\">\n        <h2><span class=\"n\">02<\/span><span id=\"iq-sizeTitle\">How big is it?<\/span><\/h2>\n        <p class=\"hint\" id=\"iq-sizeHint\" hidden><\/p>\n        <div class=\"grid three\" id=\"iq-sizes\"><\/div>\n      <\/section>\n\n      <section class=\"step\" id=\"iq-designStep\">\n        <h2><span class=\"n\">03<\/span>Design level<\/h2>\n        <div class=\"grid three\" id=\"iq-designs\"><\/div>\n      <\/section>\n\n      <section class=\"step\" id=\"iq-extrasStep\">\n        <h2><span class=\"n\">04<\/span>Anything extra?<\/h2>\n        <p class=\"hint\">Pick any that apply. You can skip this step.<\/p>\n        <div class=\"grid\" id=\"iq-extras\"><\/div>\n      <\/section>\n\n      <section class=\"step\" id=\"iq-timelineStep\">\n        <h2><span class=\"n\">05<\/span>When do you need it?<\/h2>\n        <div class=\"grid three\" id=\"iq-timelines\"><\/div>\n      <\/section>\n\n      <section class=\"step\" id=\"iq-hostingStep\">\n        <h2><span class=\"n\">06<\/span><span id=\"iq-hostingTitle\">Hosting &amp; operations<\/span><\/h2>\n        <p class=\"hint\" id=\"iq-hostingHint\"><\/p>\n        <div class=\"grid three\" id=\"iq-hosting\"><\/div>\n      <\/section>\n    <\/main>\n\n    <aside class=\"panel\" id=\"iq-estimate\">\n      <div class=\"panel-top\">\n        <div class=\"eyebrow\">Your quotation<\/div>\n        <div class=\"cur\" role=\"radiogroup\" aria-label=\"Currency\" id=\"iq-currencies\"><\/div>\n      <\/div>\n      <div class=\"range\" id=\"iq-range\"><\/div>\n      <div class=\"weeks\" id=\"iq-weeks\" hidden><\/div>\n      <div class=\"run\" id=\"iq-run\" hidden><\/div>\n      <ul class=\"picks\" id=\"iq-picks\"><\/ul>\n      <ul class=\"incl\" id=\"iq-incl\" hidden><\/ul>\n      <div class=\"note\" id=\"iq-runNote\" hidden><\/div>\n      <div class=\"note\" id=\"iq-supportNote\"><\/div>\n\n      <form id=\"iq-lead\" novalidate>\n        <h3>Send me Detailed Quotation<\/h3>\n        <p>We'll email you a PDF quotation with a reference number. Then book a free 30-minute call for your fixed quote.<\/p>\n        <label class=\"f\">Name <input id=\"iq-fName\" name=\"name\" autocomplete=\"name\" required><\/label>\n        <label class=\"f\">Company <input id=\"iq-fCompany\" name=\"company\" autocomplete=\"organization\"><\/label>\n        <label class=\"f\">Email <input id=\"iq-fEmail\" name=\"email\" type=\"email\" autocomplete=\"email\" required><\/label>\n        <label class=\"f\">Phone <input id=\"iq-fPhone\" name=\"phone\" type=\"tel\" autocomplete=\"tel\" required><\/label>\n        <label class=\"f iq-hp\" aria-hidden=\"true\">Website <input id=\"iq-fWebsite\" name=\"website\" tabindex=\"-1\" autocomplete=\"off\"><\/label>\n        <div class=\"err\" id=\"iq-fErr\"><\/div>\n        <button class=\"btn\" type=\"submit\" id=\"iq-submit\">Send me Detailed Quotation<\/button>\n      <\/form>\n\n      <div class=\"done\" id=\"iq-done\" hidden>\n        <h3>Quotation <span class=\"ref\" id=\"iq-refNo\"><\/span> is on its way<\/h3>\n        <div>We've emailed your PDF quotation to <b id=\"iq-doneEmail\"><\/b>. Book a free 30-minute call to get your fixed quote within 48 hours.<\/div>\n        <a class=\"btn ghost\" href=\"https:\/\/thewebops.com\/contact\/\">Book a free 30-min call \u2192<\/a>\n        <button type=\"button\" class=\"linkbtn\" id=\"iq-again\">Edit details \u2192<\/button>\n      <\/div>\n    <\/aside>\n  <\/div>\n<\/div>\n\n<div class=\"bar\">\n  <div class=\"bar-txt\"><div class=\"k\">Quotation<\/div><div class=\"v\" id=\"iq-barRange\"><\/div><div class=\"r\" id=\"iq-barRun\"><\/div><\/div>\n  <div class=\"bar-nav\">\n    <button type=\"button\" class=\"btn ghost bar-back\" id=\"iq-wizBack\" aria-label=\"Back\">&#8592;<\/button>\n    <button type=\"button\" class=\"btn\" id=\"iq-wizNext\">Next &#8594;<\/button>\n  <\/div>\n<\/div>\n\n<script data-cfasync=\"false\" data-no-optimize=\"1\" data-no-minify=\"1\">\/* WebOps Instant Quotation - calculator.\n * The pricing logic below is taken from the approved artifact\n * (9ypB45cr1tJ7pDtBLiUyj8) unchanged. The price table itself is printed by\n * wp-content\/novamira-sandbox\/wo-instant-quote.php as window.WO_IQ.prices and\n * is the single source of truth: the same PHP recomputes the price when the\n * form is submitted, so the email can never disagree with the screen.\n * Scoped to #iqroot so none of it can touch the rest of the site. *\/\n\/*woInstantQuote*\/\n(function () {\n  \"use strict\";\n  const root = document.getElementById(\"iqroot\");\n  if (!root || root.__iq) return;\n  root.__iq = 1;\n\n  const CFG = window.WO_IQ;\n  if (!CFG || !CFG.prices) return;\n  const PRICES = CFG.prices;\n  const PRESETS = PRICES.presets;\n  const CLOUD = PRICES.cloud, WP_HOSTING = PRICES.wpHosting, SHOPIFY_SUPPORT = PRICES.shopifySupport;\n\nconst state = { service: \"app\", kinds: { app: \"customer\", ai: \"salesagent\" }, systems: new Set([\"odoo\"]), platform: \"shopify\", appPlatform: \"cross\",\n                size: 0, design: \"std\", extras: new Set(), timeline: \"normal\", hosting: null, currency: \"USD\", only: null,\n                \/\/ On the live site the reference number comes from the server, so it is unique\n                ref: `WO-Q-${new Date().getFullYear()}-${String(Math.floor(10000 + Math.random() * 90000))}` };\n\nconst esc = v => v.replace(\/[&<>\"]\/g, c => ({ \"&\": \"&amp;\", \"<\": \"&lt;\", \">\": \"&gt;\", '\"': \"&quot;\" }[c]));\n\nconst $ = id => document.getElementById(\"iq-\" + id);\nconst cur = () => PRICES.currencies[state.currency];\n\/\/ Line items: nearest 50 USD or 100 SAR\/AED\nconst money = (usd, step) => {\n  const s = step ?? (state.currency === \"USD\" ? 50 : 100);\n  return cur().sym + (Math.round(usd * cur().rate \/ s) * s).toLocaleString(\"en-US\");\n};\n\/\/ Monthly prices: exact, and the year is the shown month x 12\nconst monthAmt = usd => Math.round(usd * cur().rate);\nconst perMonth = usd => cur().sym + monthAmt(usd).toLocaleString(\"en-US\");\nconst perYear = usd => cur().sym + (monthAmt(usd) * 12).toLocaleString(\"en-US\");\n\/\/ \"from\" prices round down, so they never sit above the total they lead to\nconst fromPrice = usd => { const st = state.currency === \"USD\" ? 500 : 1000; return cur().sym + (Math.floor(usd * cur().rate \/ st) * st).toLocaleString(\"en-US\"); };\n\nfunction optCard({ type, name, value, checked, title, desc, price }) {\n  return `<label class=\"opt\"><input type=\"${type}\" name=\"${name}\" value=\"${value}\" ${checked ? \"checked\" : \"\"}>\n    <span class=\"card\"><span class=\"t\">${title}<\/span>${desc ? `<span class=\"d\">${desc}<\/span>` : \"\"}${price ? `<span class=\"p\">${price}<\/span>` : \"\"}<\/span><\/label>`;\n}\n\nconst svc = () => PRICES.services[state.service];\nfunction kind() {\n  const s = svc();\n  return s.kinds ? s.kinds.find(k => k.id === state.kinds[state.service]) : null;\n}\nconst isPlan = () => !!(kind() && kind().plan);\nconst curSizes = () => (kind() && kind().sizes) || svc().sizes;\nconst projectName = () => svc().name + (kind() ? ` \u00b7 ${kind().name}` : \"\");\nconst allSystems = () => PRICES.systems.flatMap(g => g[1]);\nconst pickedSystems = () => allSystems().filter(x => state.systems.has(x[0]));\nconst platformPct = () => svc().appPlatform ? PRICES.appPlatforms.find(p => p[0] === state.appPlatform)[3] : 0;\n\nfunction sizeRanges() {\n  const s = svc();\n  if (s.platforms) return s.platforms[state.platform].sizes;\n  if (s.factor) {\n    return s.sizes.map(x => pickedSystems().reduce((a, sys) => {\n      const f = sys[5] ? 1 : x[2];\n      return [a[0] + sys[3] * f, a[1] + sys[4] * f];\n    }, [0, 0]));\n  }\n  return curSizes().map(x => [x[2], x[3]]);\n}\nfunction recommended() { const k = kind(); return k && k.rec ? k.rec : []; }\n\/\/ Agent plans have no add-ons: bigger needs move to a bigger plan\nfunction extraApplies(e) { return !isPlan() && (e.for === \"all\" || e.for.includes(state.service)); }\nconst pctLabel = p => p > 0 ? `+${Math.round(p * 100)}%` : `${Math.round(p * 100)}%`;\nconst writesContent = () => state.extras.has(\"copy\") && extraApplies(PRICES.extras.find(e => e.id === \"copy\"));\n\n\/\/ Hosting & operations: cloud packages for apps, systems, AI, integrations and take-overs; WordPress plans for sites; support only for Shopify\nconst isShopify = () => state.service === \"store\" && state.platform === \"shopify\";\nfunction hostingOptions() {\n  if (isPlan()) return null;\n  if (isShopify()) return SHOPIFY_SUPPORT;\n  return svc().hosting === \"wp\" ? WP_HOSTING : CLOUD;\n}\nfunction hostingDefault() { return (isShopify() ? svc().supportHost : svc().host)[state.size]; }\nconst hostingLabel = () => isShopify() ? \"Store support\" : \"Hosting & operations\";\nfunction hostingPkg() {\n  const opts = hostingOptions();\n  if (!opts) return null;\n  const id = opts.some(o => o[0] === state.hosting) ? state.hosting : hostingDefault();\n  return opts.find(o => o[0] === id);\n}\nfunction hostingPrice(o) {\n  if (o[3] === null) return \"Priced on the call\";\n  return `${o[4] === \"from\" ? \"From \" : \"\"}${perMonth(o[3])} a month \u00b7 ${perYear(o[3])} a year`;\n}\n\/\/ Monthly running costs: the agent plan, or the hosting or support package\nfunction running() {\n  const lines = [];\n  if (isPlan()) {\n    const p = curSizes()[state.size];\n    lines.push([`AI agent \u00b7 ${p[0]} plan`, \"Build, running the agent and keeping its knowledge up to date, all included\", p[4], false]);\n  }\n  const h = hostingPkg();\n  if (h) lines.push([`${hostingLabel()} \u00b7 ${h[1]}`, h[2], h[3], h[4] === \"from\"]);\n  const priced = lines.filter(l => l[2] !== null);\n  const month = priced.reduce((a, l) => a + l[2], 0);\n  return { lines, month, onCall: lines.some(l => l[2] === null), from: lines.some(l => l[3]) };\n}\n\nfunction renderOptions() {\n  const s = svc(), k = kind();\n  const list = Object.entries(PRICES.services).filter(([key]) => !state.only || state.only.includes(key));\n  $(\"services\").innerHTML = list.map(([key, v]) =>\n    optCard({ type: \"radio\", name: \"service\", value: key, checked: key === state.service, title: v.name, desc: v.desc })).join(\"\");\n\n  $(\"currencies\").innerHTML = Object.keys(PRICES.currencies).map(c =>\n    `<label><input type=\"radio\" name=\"cur\" value=\"${c}\" ${c === state.currency ? \"checked\" : \"\"}><span>${c}<\/span><\/label>`).join(\"\");\n\n  $(\"platformStep\").hidden = !s.platforms;\n  if (s.platforms) {\n    $(\"platforms\").innerHTML = Object.entries(s.platforms).map(([key, v]) =>\n      optCard({ type: \"radio\", name: \"platform\", value: key, checked: key === state.platform, title: v.name, desc: v.desc })).join(\"\");\n  }\n\n  $(\"kindStep\").hidden = !s.kinds;\n  if (s.kinds) {\n    $(\"kindTitle\").textContent = s.kindTitle;\n    $(\"kindHint\").textContent = s.kindHint;\n    $(\"kinds\").innerHTML = s.kinds.map(x =>\n      optCard({ type: \"radio\", name: \"kind\", value: x.id, checked: x.id === state.kinds[state.service], title: x.name, desc: x.desc,\n                price: x.plan ? `From ${perMonth(x.sizes[0][4])} a month \u00b7 no setup fee` : \"\" })).join(\"\");\n  }\n\n  $(\"systemsStep\").hidden = !s.factor;\n  if (s.factor) {\n    $(\"systems\").innerHTML = PRICES.systems.map(([group, items]) => `\n      <div class=\"sys-group\"><h3>${group}<\/h3><div class=\"grid three\">${items.map(x =>\n        optCard({ type: \"checkbox\", name: \"system\", value: x[0], checked: state.systems.has(x[0]), title: x[1], desc: x[2],\n                  price: `${money(x[3], 500)}\u2013${money(x[4], 500).replace(\/^\\D+\/, \"\")} per system` })).join(\"\")}<\/div><\/div>`).join(\"\");\n  }\n\n  $(\"appPlatformStep\").hidden = !s.appPlatform;\n  if (s.appPlatform) {\n    $(\"appPlatforms\").innerHTML = PRICES.appPlatforms.map(([key, t, d, pct]) =>\n      optCard({ type: \"radio\", name: \"appPlatform\", value: key, checked: key === state.appPlatform, title: t, desc: d,\n                price: pct ? pctLabel(pct) : \"Base price\" })).join(\"\");\n  }\n\n  const sizes = curSizes(), ranges = sizeRanges();\n  $(\"sizeTitle\").textContent = (k && k.sizeTitle) || s.sizeTitle;\n  const hint = ((k && k.sizeHint) || s.sizeHint || \"\").replace(\"{over}\", perMonth(10));\n  $(\"sizeHint\").hidden = !hint;\n  $(\"sizeHint\").textContent = hint;\n  $(\"sizes\").innerHTML = sizes.map((x, i) => {\n    let price;\n    if (isPlan()) price = `${perMonth(x[4])} a month`;\n    else if (s.factor) price = i === 0 ? \"Base price\" : pctLabel(x[2] - 1);\n    else price = `from ${fromPrice(ranges[i][0] * (1 + platformPct()))}`;\n    return optCard({ type: \"radio\", name: \"size\", value: i, checked: i === state.size, title: x[0], desc: x[1], price });\n  }).join(\"\");\n\n  $(\"designStep\").hidden = !!s.noDesign;\n  $(\"designs\").innerHTML = PRICES.designs.map(([key, t, d, pct]) =>\n    optCard({ type: \"radio\", name: \"design\", value: key, checked: key === state.design, title: t, desc: d,\n              price: pct ? pctLabel(pct) : \"Included\" })).join(\"\");\n\n  for (const id of [...state.extras]) {\n    if (!extraApplies(PRICES.extras.find(e => e.id === id))) state.extras.delete(id);\n  }\n  const extras = PRICES.extras.filter(extraApplies);\n  $(\"extrasStep\").hidden = !extras.length;\n  $(\"extras\").innerHTML = extras.map(e =>\n    optCard({ type: \"checkbox\", name: \"extra\", value: e.id, checked: state.extras.has(e.id), title: e.name, desc: e.desc,\n              price: `${money(e.fixed[0])}\u2013${money(e.fixed[1]).replace(\/^\\D+\/, \"\")}` + (recommended().includes(e.id) ? `<span class=\"rec\">Recommended<\/span>` : \"\") })).join(\"\");\n\n  $(\"timelineStep\").hidden = isPlan();\n  $(\"timelines\").innerHTML = PRICES.timelines.map(([key, t, d]) =>\n    optCard({ type: \"radio\", name: \"timeline\", value: key, checked: key === state.timeline, title: t, desc: d })).join(\"\");\n\n  const opts = hostingOptions(), pkg = hostingPkg();\n  $(\"hostingTitle\").textContent = isShopify() ? \"Support\" : \"Hosting & operations\";\n  if (!opts) {\n    $(\"hostingHint\").textContent = \"\";\n    $(\"hosting\").innerHTML = `<div class=\"note-box\">Hosting and looking after your agent are part of your AI agent plan. Nothing extra to pay.<\/div>`;\n  } else {\n    $(\"hostingHint\").textContent = isShopify()\n      ? \"Shopify hosts your store. We look after it for you: updates, fixes and help, billed monthly. We picked the plan that fits; you can change it.\"\n      : svc().hosting === \"wp\"\n      ? \"We look after your site for you: updates, daily backups, security and speed. Moving from another host is free. We picked the plan that fits; you can change it.\"\n      : \"We run it for you: always online, backed up every hour, kept secure and up to date. We picked the package that fits your size; you can change it.\";\n    $(\"hosting\").innerHTML = opts.map(o => optCard({ type: \"radio\", name: \"hosting\", value: o[0], checked: o[0] === pkg[0], title: o[1], desc: o[2],\n      price: hostingPrice(o) + (o[0] === hostingDefault() ? `<span class=\"rec\">Recommended<\/span>` : \"\") })).join(\"\");\n  }\n\n  \/\/ Number the visible steps in order\n  [...root.querySelectorAll(\"main .step\")].filter(el => !el.hidden).forEach((el, i) => {\n    el.querySelector(\".n\").textContent = String(i + 1).padStart(2, \"0\");\n  });\n  applyWizard();\n}\n\n\/* ---------------------------------------------------------------- *\n * Phones: one question on screen at a time.\n *\n * The step elements and their numbering are the desktop ones; this only\n * decides which single step is visible, keeps the progress bar in step and\n * labels the Next button. Steps that do not apply to the chosen project are\n * hidden by renderOptions and are skipped here too, so \"Step 3 of 7\" always\n * counts the questions the visitor will actually be asked. Above 920px the\n * stylesheet shows every step and hides this furniture, so none of it is\n * visible on a desktop even though the state is kept.\n * ---------------------------------------------------------------- *\/\nlet wiz = 0, review = false;   \/\/ review: the visitor has reached the quotation and the form\nconst liveSteps = () => [...root.querySelectorAll(\"main .step\")].filter(el => !el.hidden);\nfunction applyWizard() {\n  const steps = liveSteps();\n  if (!steps.length || !$(\"wizLabel\")) { return; }\n  wiz = Math.max(0, Math.min(wiz, steps.length - 1));\n  steps.forEach((el, i) => el.classList.toggle(\"off\", i !== wiz));\n  $(\"wizLabel\").textContent = `Step ${wiz + 1} of ${steps.length}`;\n  $(\"wizName\").textContent = steps[wiz].querySelector(\"h2\").textContent.replace(\/^\\d+\/, \"\").trim();\n  $(\"wizFill\").style.width = `${((wiz + 1) \/ steps.length) * 100}%`;\n  $(\"wizBar\").setAttribute(\"aria-valuenow\", wiz + 1);\n  $(\"wizBar\").setAttribute(\"aria-valuemax\", steps.length);\n  $(\"wizBack\").hidden = wiz === 0 && !review;\n  $(\"wizNext\").textContent = review ? \"Get by email\" : wiz === steps.length - 1 ? \"See quotation \u2192\" : \"Next \u2192\";\n}\nfunction wizardMove(dir) {\n  const steps = liveSteps(), last = steps.length - 1;\n  const smooth = matchMedia(\"(prefers-reduced-motion: reduce)\").matches ? \"auto\" : \"smooth\";\n  if (review) {\n    if (dir > 0) {\n      \/\/ sends the quotation, or points at the first field still missing\n      const form = $(\"lead\");\n      if (form && !form.hidden) {\n        form.scrollIntoView({ behavior: smooth, block: \"center\" });\n        form.requestSubmit ? form.requestSubmit() : $(\"submit\").click();\n      } else {\n        $(\"estimate\").scrollIntoView({ behavior: smooth });\n      }\n      return;\n    }\n    review = false;\n    applyWizard();\n    root.querySelector(\"main\").scrollIntoView({ behavior: smooth });\n    return;\n  }\n  if (dir > 0 && wiz === last) {\n    review = true;\n    applyWizard();\n    $(\"estimate\").scrollIntoView({ behavior: smooth });\n    if ($(\"fName\")) { $(\"fName\").focus({ preventScroll: true }); }\n    return;\n  }\n  wiz += dir;\n  applyWizard();\n  root.querySelector(\"main\").scrollIntoView({ behavior: smooth });\n  const first = liveSteps()[wiz] && liveSteps()[wiz].querySelector(\"input\");\n  if (first) { first.focus({ preventScroll: true }); }\n}\nroot.addEventListener(\"click\", e => {\n  if (e.target.closest(\"#iq-wizBack\")) { wizardMove(-1); return; }\n  if (e.target.closest(\"#iq-wizNext\")) { wizardMove(1); }\n});\n\nfunction calculate() {\n  const s = svc(), k = kind(), sz = curSizes()[state.size];\n  const [bLo, bHi] = sizeRanges()[state.size];\n  let pct = (s.noDesign ? 0 : PRICES.designs.find(d => d[0] === state.design)[3]) + platformPct();\n  pct = Math.min(pct, PRICES.maxPct);\n  let lo = bLo * (1 + pct), hi = bHi * (1 + pct), exHi = 0;\n  for (const e of PRICES.extras) {\n    if (!state.extras.has(e.id) || !extraApplies(e)) continue;\n    lo += e.fixed[0]; hi += e.fixed[1]; exHi += e.fixed[1];\n  }\n  const h = hostingPkg();\n  if (h && h[5]) { lo += h[5]; hi += h[5]; }\n  const rush = isPlan() ? 0 : PRICES.timelines.find(t => t[0] === state.timeline)[3];\n  const support = isPlan() || isShopify() ? [0, 0] : [lo * PRICES.supportPct[0], hi * PRICES.supportPct[1]];\n  lo *= 1 + rush; hi *= 1 + rush;\n  \/\/ Delivery time grows with the work added on top of the base size\n  const w = (k && k.weeks) || s.weeks;\n  let weeks = w ? [...w[state.size]] : null;\n  if (weeks) {\n    let grow = 1;\n    if (s.factor) grow = 1 + 0.35 * Math.max(0, pickedSystems().length - 1);\n    else if (bHi) grow = 1 + 0.5 * ((hi \/ (1 + rush)) - bHi) \/ bHi;\n    grow = Math.min(Math.max(grow, 1), 2);\n    weeks = weeks.map(x => Math.round(x * grow));\n    if (rush) weeks = weeks.map(x => Math.max(1, Math.round(x * 0.8)));\n  }\n  const onCall = !!sz[4] && sz[4] === \"call\" || hi > PRICES.onCallAbove;\n  return { lo, hi, support, weeks, onCall, run: running() };\n}\n\n\/\/ Totals: convert to the chosen currency first, then round once, outward, so the total always covers the lines\nfunction bounds(r) {\n  const c = cur(), lo = r.lo * c.rate, hi = r.hi * c.rate;\n  const big = state.currency === \"USD\" ? 5000 : 20000;\n  const step = hi < big ? 100 : (state.currency === \"USD\" ? 500 : 1000);\n  return { lo: Math.floor(lo \/ step) * step, hi: Math.ceil(hi \/ step) * step, step };\n}\nfunction rangeText(r) {\n  if (r.hi === 0) return \"No setup fee\";\n  const b = bounds(r), sym = cur().sym;\n  if (r.onCall) return `<span>From<\/span> ${sym}${b.lo.toLocaleString(\"en-US\")}`;\n  return `${sym}${b.lo.toLocaleString(\"en-US\")} \u2013 ${b.hi.toLocaleString(\"en-US\")}`;\n}\nfunction runText(run) {\n  if (!run.month && run.onCall) return \"hosting priced on the call\";\n  if (!run.month) return \"\";\n  return `${run.from ? \"from \" : \"\"}${perMonth(run.month)} a month (${perYear(run.month)} a year)${run.onCall ? \" plus hosting priced on the call\" : \"\"}`;\n}\n\nfunction update() {\n  const r = calculate(), s = svc();\n  \/\/ an integration with nothing ticked prices at zero, which would read as \"No setup fee\"\n  const needSystems = !!s.factor && !pickedSystems().length;\n  const text = needSystems ? \"Pick your systems\" : rangeText(r);\n  const note = needSystems ? \"Tick the systems that should talk to each other to see your price range.\"\n    : !r.hi ? \"The custom build is free on every plan. You pay the monthly plan only.\"\n    : r.onCall ? `One-time, in ${state.currency}. A project this size is priced on the call.`\n    : `One-time price range in ${state.currency}. Fixed quote after a free call.`;\n  $(\"range\").innerHTML = `${text}<small>${note}<\/small>`;\n  $(\"barRange\").innerHTML = text;\n  $(\"barRun\").textContent = !needSystems && r.run.month ? `+ ${r.run.from ? \"from \" : \"\"}${perMonth(r.run.month)} a month` : \"\";\n  $(\"weeks\").hidden = needSystems || !r.weeks;\n  if (r.weeks) $(\"weeks\").textContent = `${isPlan() ? \"Live\" : \"Delivery\"} in about ${r.weeks[0]}\u2013${r.weeks[1]} weeks`;\n  $(\"run\").hidden = needSystems || !r.run.lines.length;\n  $(\"run\").innerHTML = `<span class=\"rk\">Running costs<\/span>` +\n    r.run.lines.map(l => `<div><span>${l[0]}<\/span><span>${l[2] === null ? \"On the call\" : `${l[3] ? \"from \" : \"\"}${perMonth(l[2])}\/mo`}<\/span><\/div>`).join(\"\") +\n    (r.run.month ? `<div class=\"tot\"><span>Per year<\/span><span>${r.run.from ? \"from \" : \"\"}${perYear(r.run.month)}<\/span><\/div>` : \"\") +\n    (isPlan() ? `<small>Replies over the plan: ${perMonth(10)} per 1,000.<\/small>` : \"\");\n  $(\"picks\").innerHTML = choices().map(([k, v]) => `<li><span>${k}<\/span><span>${v}<\/span><\/li>`).join(\"\");\n  const inc = (kind() && kind().includes) || s.includes;\n  $(\"incl\").hidden = !inc;\n  if (inc) $(\"incl\").innerHTML = inc.map(i => `<li>${i}<\/li>`).join(\"\");\n  const run = s.platforms && s.platforms[state.platform].run;\n  $(\"runNote\").hidden = !run;\n  if (run) $(\"runNote\").innerHTML = run;\n  $(\"supportNote\").hidden = needSystems || !r.support[1];\n  $(\"supportNote\").innerHTML = `Optional support retainer after launch, for changes, fixes and improvements: about <strong>${money(r.support[0])}\u2013${money(r.support[1]).replace(\/^\\D+\/, \"\")}<\/strong> <span>a year<\/span>.`;\n}\n\nfunction choices() {\n  const s = svc(), k = kind();\n  const rows = [[\"Project\", s.name]];\n  if (k) rows.push([s.kindLabel, k.name]);\n  if (s.factor) rows.push([\"Systems\", pickedSystems().map(x => `<span>${x[1]}<\/span>`).join(\", \") || \"none picked yet\"]);\n  if (s.platforms) rows.push([\"Platform\", s.platforms[state.platform].name]);\n  if (s.appPlatform) rows.push([\"Platform\", PRICES.appPlatforms.find(p => p[0] === state.appPlatform)[1]]);\n  const sz = curSizes()[state.size];\n  rows.push([(k && k.sizeLabel) || s.sizeLabel || \"Size\", sz[1].length > 40 ? sz[0] : `${sz[0]} \u00b7 ${sz[1]}`]);\n  if (!s.noDesign) rows.push([\"Design\", PRICES.designs.find(d => d[0] === state.design)[1]]);\n  if (!isPlan()) {\n    const ex = PRICES.extras.filter(e => state.extras.has(e.id) && extraApplies(e)).map(e => `<span>${e.name}<\/span>`);\n    rows.push([\"Extras\", ex.length ? ex.join(\", \") : \"None\"]);\n    rows.push([\"Timeline\", PRICES.timelines.find(t => t[0] === state.timeline)[1]]);\n  }\n  const h = hostingPkg();\n  rows.push([isShopify() ? \"Support\" : \"Hosting\", h ? `${h[1]} \u00b7 ${h[3] === null ? \"priced on the call\" : `${h[4] === \"from\" ? \"from \" : \"\"}${perMonth(h[3])} a month`}` : \"Included in the plan\"]);\n  return rows;\n}\n\nfunction resetChoices() { state.size = 0; state.hosting = null; state.extras.clear(); }\n\nroot.addEventListener(\"change\", e => {\n  const t = e.target;\n  if (t.name === \"service\") { state.service = t.value; resetChoices(); }\n  else if (t.name === \"platform\") { state.platform = t.value; state.hosting = null; }\n  else if (t.name === \"appPlatform\") state.appPlatform = t.value;\n  else if (t.name === \"kind\") { state.kinds[state.service] = t.value; resetChoices(); }\n  \/* Any system can be unticked, the last one included: a tick that cannot be\n     undone reads as a broken checkbox. Nothing ticked is a valid in-between\n     state - the panel then asks for a pick instead of showing a price. *\/\n  else if (t.name === \"system\") { t.checked ? state.systems.add(t.value) : state.systems.delete(t.value); }\n  else if (t.name === \"size\") { state.size = +t.value; state.hosting = null; }\n  else if (t.name === \"design\") state.design = t.value;\n  else if (t.name === \"timeline\") state.timeline = t.value;\n  else if (t.name === \"hosting\") state.hosting = t.value;\n  else if (t.name === \"cur\") state.currency = t.value;\n  else if (t.name === \"extra\") t.checked ? state.extras.add(t.value) : state.extras.delete(t.value);\n  else return;\n  renderOptions();\n  root.querySelector(`input[name=\"${t.name}\"][value=\"${t.value}\"]`)?.focus();\n  update();\n});\n\n  \/* ---------------------------------------------------------------- *\n   * \"Send me Detailed Quotation\" - the choices go to the server, which\n   * recomputes the price from the same table and sends both emails.\n   * ---------------------------------------------------------------- *\/\n  const form = $(\"lead\"), done = $(\"done\"), errBox = $(\"fErr\"), submitBtn = $(\"submit\");\n  const val = id => { const el = $(id); return el ? el.value.trim() : \"\"; };\n\n  if (form) {\n    form.addEventListener(\"submit\", e => {\n      e.preventDefault();\n      if (submitBtn.disabled) return;\n      if (svc().factor && !pickedSystems().length) {\n        errBox.textContent = \"Pick at least one system above, so there is something to price.\";\n        const first = root.querySelector('input[name=\"system\"]');\n        if (first) { first.focus(); const st = first.closest(\".step\"); if (st) st.scrollIntoView({ behavior: \"smooth\", block: \"center\" }); }\n        return;\n      }\n      if (!val(\"fName\"))  { errBox.textContent = \"Add your name so we know who to address the quotation to.\"; $(\"fName\").focus(); return; }\n      if (!\/^\\S+@\\S+\\.\\S+$\/.test(val(\"fEmail\"))) { errBox.textContent = \"Enter a valid email, like you@company.com.\"; $(\"fEmail\").focus(); return; }\n      if (!val(\"fPhone\")) { errBox.textContent = \"Add a phone number so we can reach you about the quote.\"; $(\"fPhone\").focus(); return; }\n      errBox.textContent = \"\";\n\n      const label = submitBtn.textContent;\n      submitBtn.disabled = true;\n      submitBtn.textContent = \"Sending\\u2026\";\n\n      const body = new URLSearchParams();\n      body.set(\"action\", CFG.action);\n      body.set(\"name\", val(\"fName\"));\n      body.set(\"company\", val(\"fCompany\"));\n      body.set(\"email\", val(\"fEmail\"));\n      body.set(\"phone\", val(\"fPhone\"));\n      body.set(\"website\", val(\"fWebsite\"));\n      body.set(\"state\", JSON.stringify({\n        service: state.service, kind: state.kinds[state.service] || \"\",\n        systems: [...state.systems], platform: state.platform, appPlatform: state.appPlatform,\n        size: state.size, design: state.design, timeline: state.timeline,\n        hosting: (hostingPkg() || [])[0] || \"\", extras: [...state.extras], currency: state.currency\n      }));\n\n      fetch(CFG.ajax, { method: \"POST\", credentials: \"same-origin\",\n                        headers: { \"Content-Type\": \"application\/x-www-form-urlencoded\" },\n                        body: body.toString() })\n        .then(r => r.json())\n        .then(d => {\n          submitBtn.disabled = false; submitBtn.textContent = label;\n          if (!d || !d.success) {\n            errBox.textContent = (d && d.data && d.data.message) || \"Something went wrong. Please try again.\";\n            return;\n          }\n          $(\"refNo\").textContent = d.data.ref || \"\";\n          $(\"doneEmail\").textContent = val(\"fEmail\");\n          form.hidden = true; done.hidden = false;\n          \/\/ nothing left to send, so the phone bar stops offering it\n          if ($(\"wizNext\")) { $(\"wizNext\").hidden = true; }\n        })\n        .catch(() => {\n          submitBtn.disabled = false; submitBtn.textContent = label;\n          errBox.textContent = \"We could not reach the server. Please check your connection and try again.\";\n        });\n    });\n  }\n  if ($(\"again\")) $(\"again\").onclick = () => {\n    done.hidden = true; form.hidden = false; $(\"fName\").focus();\n    if ($(\"wizNext\")) { $(\"wizNext\").hidden = false; }\n  };\n\nfunction applyHash() {\n  const key = location.hash.slice(1);\n  const m = key.match(\/^([a-z]+)-(\\d)$\/);\n  const kindHit = m && Object.entries(PRICES.services).find(([, v]) => v.kinds && v.kinds.some(x => x.id === m[1]));\n  if (kindHit) {\n    const [service, v] = kindHit, kd = v.kinds.find(x => x.id === m[1]);\n    if (!(kd.sizes || v.sizes)[+m[2]]) return;\n    state.only = PRESETS.apps.includes(service) ? PRESETS.apps : null;\n    state.service = service; state.kinds[service] = kd.id; resetChoices(); state.size = +m[2];\n  } else if (m && PRICES.services[m[1]]) {\n    const v = PRICES.services[m[1]];\n    const sizes = v.sizes || (v.kinds && v.kinds.find(x => x.id === state.kinds[m[1]]).sizes);\n    if (!sizes || !sizes[+m[2]]) return;\n    state.only = PRESETS.apps.includes(m[1]) ? PRESETS.apps : null;\n    state.service = m[1]; resetChoices(); state.size = +m[2];\n  } else if (PRESETS[key]) {\n    state.only = PRESETS[key];\n    if (!state.only.includes(state.service)) { state.service = state.only[0]; resetChoices(); }\n  } else if (PRICES.services[key]) {\n    state.only = null;\n    if (key !== state.service) { state.service = key; resetChoices(); }\n  } else return;\n  \/\/ a link that lands on a project type starts the questions from the top\n  wiz = 0; review = false;\n  renderOptions(); update();\n}\n  window.addEventListener(\"hashchange\", applyHash);\n\n  renderOptions();\n  update();\n  applyHash();\n})();\n<\/script>\n<\/div>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"elementor_header_footer","meta":{"_acf_changed":false,"inline_featured_image":false,"site-sidebar-layout":"no-sidebar","site-content-layout":"page-builder","ast-site-content-layout":"full-width-container","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"set","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"class_list":["post-40910","page","type-page","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/thewebops.com\/ar\/wp-json\/wp\/v2\/pages\/40910","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/thewebops.com\/ar\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/thewebops.com\/ar\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/thewebops.com\/ar\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/thewebops.com\/ar\/wp-json\/wp\/v2\/comments?post=40910"}],"version-history":[{"count":1,"href":"https:\/\/thewebops.com\/ar\/wp-json\/wp\/v2\/pages\/40910\/revisions"}],"predecessor-version":[{"id":40911,"href":"https:\/\/thewebops.com\/ar\/wp-json\/wp\/v2\/pages\/40910\/revisions\/40911"}],"wp:attachment":[{"href":"https:\/\/thewebops.com\/ar\/wp-json\/wp\/v2\/media?parent=40910"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}