/*
  VOICE: calm, confident, premium studio
  IDEA: a portfolio presentation board, real-looking sites on real-looking devices
  PICTURE: desktop + phone mockups of polished client sites, with a performance card
  COLOUR and TYPE: from the logo: forest green, bronze, warm cream; Inter Tight + Inter
  LAYOUT: generous whitespace, 1200px grid, alternating light/dark bands, stacked on phones
*/

/* ===== Brand tokens: change these to restyle the whole site ===== */
:root {
  --ink: #0f2e1f;
  --ink-2: #163a28;
  --line-dark: rgba(255,240,220,.12);
  --paper: #fcf8f2;
  --alt: #f5eee3;
  --line: #e8ddcc;
  --text: #13291c;
  --muted: #5e6458;
  --muted-dark: #bfcabd;
  --accent: #1b5a36;
  --bronze: #b07d52;
  --bronze-2: #d9aa7c;
  --brown: #6b4428;
  --accent-ink: #124428;
  --radius: 16px;
  color-scheme: light;
}

* { box-sizing: border-box; min-width: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--paper); color: var(--text); font: 16.5px/1.65 "Inter", system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3, h4 { font-family: "Inter Tight", "Inter", sans-serif; letter-spacing: -.025em; line-height: 1.06; margin: 0 0 .5em; text-wrap: balance; font-weight: 600; }
h1 { font-size: clamp(40px, 5.4vw, 68px); letter-spacing: -.035em; }
h2 { font-size: clamp(32px, 3.8vw, 48px); }
h3 { font-size: 20px; letter-spacing: -.015em; }
p { margin: 0 0 1em; }
a { color: inherit; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 max(4vw, 20px); }

.band { padding: clamp(80px, 10vw, 128px) 0; }
.alt { background: var(--alt); }
.dark { background: var(--ink); color: #fff; }
.dark .head p, .dark p { color: var(--muted-dark); }

.head { max-width: 680px; margin-bottom: 56px; }
.head.center { margin-inline: auto; text-align: center; }
.head p { font-size: 18px; color: var(--muted); }
.head a { color: var(--accent); font-weight: 600; text-decoration: none; }
.eyebrow { display: inline-block; font-weight: 600; font-size: 14px; color: var(--brown); margin-bottom: 14px; }
.dark .eyebrow { color: #d9aa7c; }
.note { font-size: 13px; color: var(--muted); margin-top: 28px; }
.note.center { text-align: center; }

/* ===== Buttons ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px; border-radius: 10px; font: 600 15.5px "Inter", sans-serif; text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: background .2s, transform .2s, box-shadow .2s, border-color .2s; }
.btn span { transition: transform .2s; }
.btn:hover span { transform: translateX(3px); }
.btn.sm { min-height: 42px; padding: 0 18px; font-size: 14.5px; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.2) inset, 0 8px 24px -8px rgba(176,125,82,.6); }
.btn-primary:hover { background: var(--accent-ink); transform: translateY(-1px); }
.btn-quiet { color: #fff; border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.04); }
.btn-quiet:hover { border-color: rgba(255,255,255,.4); }
.btn-outline { color: var(--ink); border-color: var(--line); background: #fff; }
.btn-outline:hover { border-color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ===== Nav ===== */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; color: #fff; }
.nav.scrolled { background: rgba(15,46,31,.82); backdrop-filter: saturate(160%) blur(16px); border-color: var(--line-dark); }
.nav-in { max-width: 1200px; margin: 0 auto; padding: 16px max(4vw, 20px); display: flex; align-items: center; justify-content: space-between; }
.logo { display: inline-flex; align-items: center; gap: 10px; font: 700 19px "Inter Tight", sans-serif; letter-spacing: -.02em; text-decoration: none; }
.mark { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--accent); color: #fff; box-shadow: 0 6px 16px -6px rgba(176,125,82,.8); }
.links { display: flex; align-items: center; gap: 30px; }
.links a:not(.btn) { text-decoration: none; font-size: 14.5px; font-weight: 500; color: #c9cdd8; transition: color .2s; }
.links a:not(.btn):hover { color: #fff; }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line-dark); background: transparent; border-radius: 10px; cursor: pointer; }
.burger span { display: block; width: 18px; height: 1.5px; background: #fff; margin: 5px auto; transition: transform .3s; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

/* ===== Hero ===== */
.hero { position: relative; background: var(--ink); color: #fff; padding: clamp(130px, 14vw, 168px) 0 clamp(72px, 9vw, 112px); overflow: hidden; }
.glow { position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; background: radial-gradient(closest-side, rgba(176,125,82,.32), transparent 70%); pointer-events: none; }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(var(--line-dark) 1px, transparent 1px), linear-gradient(90deg, var(--line-dark) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 65%); opacity: .5; }
.hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 500; color: #d8dbe4; text-decoration: none; padding: 7px 14px; border: 1px solid var(--line-dark); border-radius: 999px; background: rgba(255,255,255,.03); margin-bottom: 26px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: #3ddc97; box-shadow: 0 0 0 4px rgba(61,220,151,.15); }
.lede { font-size: clamp(17px, 1.5vw, 19px); color: var(--muted-dark); max-width: 54ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 34px 0 30px; }
.assure { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 26px; font-size: 14px; color: #c9cdd8; }
.assure li { display: flex; align-items: center; gap: 8px; }
.assure li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: rgba(176,125,82,.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-5' fill='none' stroke='%238fa2ff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }

/* Showcase mockups */
.showcase { position: relative; aspect-ratio: 1.12; }
.showcase-live { aspect-ratio: 1.5; }
.showcase-live .desk { width: 100%; }
.showcase-image { display: block; width: 100%; height: auto; }
.device { position: absolute; background: #fff; overflow: hidden; box-shadow: 0 50px 100px -30px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.08); }
.desk { left: 0; top: 4%; width: 88%; border-radius: 14px; animation: drift 9s ease-in-out infinite; }
.phone { right: 0; bottom: 0; width: 34%; aspect-ratio: 9/18.5; border-radius: 30px; border: 7px solid #16241c; animation: drift 9s ease-in-out -4.5s infinite; }
.notch { position: absolute; top: 6px; left: 50%; translate: -50% 0; width: 36%; height: 14px; border-radius: 10px; background: #16241c; z-index: 2; }
.chrome { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #f3eee6; border-bottom: 1px solid #e5dccd; }
.chrome i { width: 9px; height: 9px; border-radius: 50%; background: #d3d6de; }
.chrome span { margin: 0 auto; font-size: 11px; color: #7a8090; background: #fff; padding: 3px 40px; border-radius: 6px; }
.site { font-family: "Inter", sans-serif; }
.s-btn { display: inline-block; font-size: 10px; font-weight: 600; padding: 5px 10px; border-radius: 6px; background: #c2552d; color: #fff; }
.s-btn.lg { font-size: 12px; padding: 8px 14px; margin-top: 6px; }
.s-ember { background: #faf6f1; color: #2a1d15; }
.s-ember .s-nav { display: flex; align-items: center; gap: 16px; padding: 12px 18px; font-size: 11px; color: #6d5b4f; }
.s-ember .s-nav strong { margin-right: auto; font: 600 14px "Inter Tight", system-ui, sans-serif; color: #2a1d15; }
.s-ember .s-hero { margin: 0 14px; border-radius: 10px; min-height: 210px; display: flex; align-items: flex-end; padding: 22px; color: #fff;
  background: linear-gradient(180deg, transparent 20%, rgba(30,15,8,.75)), radial-gradient(circle at 70% 35%, #f3a65a 0, #c2552d 30%, #5a2612 62%, #2a120a 100%); }
.s-ember small { font-size: 10px; opacity: .85; }
.s-ember h4 { font-size: clamp(20px, 2.4vw, 30px); color: #fff; margin: 4px 0 8px; }
.s-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 14px; }
.s-row b { height: 52px; border-radius: 8px; background: #efe5da; }
.s-row b:nth-child(2) { background: #e5d3c1; }
.s-hart { background: #12382a; color: #fff; height: 100%; padding: 34px 14px 14px; display: flex; flex-direction: column; gap: 8px; }
.s-hart small { font: 600 10px "Inter Tight", system-ui, sans-serif; color: #c8a96a; }
.s-hart h4 { font-size: clamp(13px, 1.3vw, 17px); line-height: 1.15; color: #fff; margin: 0; }
.s-hart .s-btn { background: #c8a96a; color: #12382a; align-self: flex-start; font-size: 9px; }
.s-stat { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 6px; }
.s-stat b { height: 38px; border-radius: 8px; background: rgba(255,255,255,.08); }
.s-list { display: grid; gap: 6px; }
.s-list b { height: 22px; border-radius: 6px; background: rgba(255,255,255,.06); }
.float-card { position: absolute; left: 4%; bottom: 6%; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; background: rgba(15,46,31,.92); backdrop-filter: blur(10px); border: 1px solid var(--line-dark); border-radius: 14px; box-shadow: 0 20px 50px -10px rgba(0,0,0,.6); animation: drift 7s ease-in-out -2s infinite; }
.float-card strong { display: block; font-size: 14px; } .float-card small { font-size: 12px; color: var(--muted-dark); }
.ring { position: relative; width: 44px; height: 44px; flex: none; }
.ring svg { width: 44px; height: 44px; transform: rotate(-90deg); }
.ring circle { fill: none; stroke: rgba(255,255,255,.1); stroke-width: 3.5; }
.ring .val { stroke: #3ddc97; stroke-linecap: round; stroke-dasharray: 94.2; stroke-dashoffset: 94.2; transition: stroke-dashoffset 1.6s cubic-bezier(.2,.8,.2,1) .6s; }
.showcase.in .ring .val { stroke-dashoffset: 1.9; }
.ring em { position: absolute; inset: 0; display: grid; place-items: center; font: 600 13px "Inter Tight", system-ui, sans-serif; font-style: normal; color: #3ddc97; }
@keyframes drift { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ===== Industries strip ===== */
.strip { border-bottom: 1px solid var(--line); padding: 30px 0; }
.strip-in { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.strip p { margin: 0; font-size: 14px; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 8px 10px; }
.tags span { font-size: 14px; font-weight: 500; padding: 7px 14px; border-radius: 999px; background: var(--alt); border: 1px solid var(--line); }

/* ===== Services ===== */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.svc { padding: 34px 30px 36px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .3s; }
.svc:hover { background: var(--alt); }
.svc .ic { width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center; background: #e7efe6; color: var(--accent); margin-bottom: 22px; transition: background .3s, color .3s; }
.svc:hover .ic { background: var(--accent); color: #fff; }
.svc svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.svc p { color: var(--muted); margin: 0; font-size: 15.5px; }

/* ===== Work / cases ===== */
.cases { display: grid; gap: 28px; }
.case { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; transition: box-shadow .4s, transform .4s; }
.case:hover { box-shadow: 0 30px 60px -30px rgba(15,46,31,.25); transform: translateY(-3px); }
.case:nth-child(even) .case-copy { order: 2; }
.case-copy { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; justify-content: center; }
.case-copy small { color: var(--muted); font-size: 14px; }
.case-copy h3 { font-size: clamp(24px, 2.4vw, 32px); margin: 8px 0 12px; }
.case-copy p { color: var(--muted); }
.case-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.case-tags span { font-size: 13px; padding: 5px 12px; border-radius: 999px; background: var(--alt); border: 1px solid var(--line); }
.case-art { position: relative; min-height: 340px; display: grid; place-items: end center; padding: 40px 40px 0; overflow: hidden; }
.case-art .win { width: 100%; max-width: 560px; background: #fff; border-radius: 12px 12px 0 0; box-shadow: 0 -20px 60px -20px rgba(0,0,0,.35); overflow: hidden; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.case:hover .win { transform: translateY(-8px); }
.case-art-ahi-ezer, .case-art-builders, .case-art-installation, .case-art-shmira { background: #e8eaf0; }
.case-preview { display: block; color: inherit; text-decoration: none; }
.case-preview img { display: block; width: 100%; height: auto; }
.case-copy .case-visit { margin: 24px 0 0; }
.case-visit a { color: var(--accent); font-weight: 600; text-underline-offset: 4px; }
.win .chrome { padding: 8px 12px; } .win .chrome span { padding: 2px 30px; font-size: 10px; }
.mini { padding: 16px; display: grid; gap: 10px; }
.mini .m-nav { display: flex; justify-content: space-between; align-items: center; font: 600 12px "Inter Tight", system-ui, sans-serif; }
.mini .m-nav i { display: flex; gap: 8px; } .mini .m-nav i b { width: 28px; height: 6px; border-radius: 3px; background: currentColor; opacity: .25; }
.mini .m-hero { border-radius: 8px; height: 150px; display: flex; align-items: flex-end; padding: 16px; color: #fff; font: 600 clamp(15px, 1.8vw, 20px)/1.1 "Inter Tight", system-ui, sans-serif; }
.mini .m-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mini .m-row b { height: 44px; border-radius: 6px; opacity: .14; background: currentColor; }

/* ===== Process timeline ===== */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; position: relative; }
.timeline::before { content: ""; position: absolute; top: 22px; left: 22px; right: 22px; height: 1px; background: linear-gradient(90deg, var(--accent), rgba(176,125,82,.1)); }
.timeline li { position: relative; }
.timeline .node { position: relative; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); border: 1px solid #2f5a42; color: #d9aa7c; margin-bottom: 24px; }
.timeline .node svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.timeline .when { font-size: 13px; font-weight: 600; color: #d9aa7c; }
.timeline h3 { color: #fff; margin: 6px 0 8px; }
.timeline p { font-size: 15px; margin: 0; }

/* ===== Pricing ===== */
.pricing { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan { border: 1px solid var(--line); border-radius: 20px; padding: 34px; display: flex; flex-direction: column; background: #fff; }
.plan.feat { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: 0 40px 80px -40px rgba(15,46,31,.6); position: relative; }
.plan .top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.plan .badge { font-size: 12.5px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: rgba(176,125,82,.18); color: #e6c29c; white-space: nowrap; }
.plan .desc { color: var(--muted); font-size: 15px; margin: 4px 0 0; }
.plan.feat .desc { color: var(--muted-dark); }
.price { font: 600 clamp(40px, 4vw, 48px)/1 "Inter Tight", system-ui, sans-serif; letter-spacing: -.03em; margin: 26px 0 4px; white-space: nowrap; }
.per { font-size: 13.5px; color: var(--muted); }
.plan.feat .per { color: var(--muted-dark); }
.plan ul { list-style: none; padding: 24px 0 0; margin: 24px 0 30px; border-top: 1px solid var(--line); display: grid; gap: 12px; flex: 1; font-size: 15px; }
.plan.feat ul { border-color: var(--line-dark); }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li svg { flex: none; width: 18px; height: 18px; margin-top: 3px; stroke: var(--accent); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.plan.feat li svg { stroke: #d9aa7c; }
.plan .btn { width: 100%; }

/* ===== FAQ ===== */
.faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 24px 0; font: 600 18px "Inter Tight", system-ui, sans-serif; letter-spacing: -.01em; display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 3.5v9M3.5 8h9' stroke='%2313291c' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center/14px no-repeat; transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin: -6px 0 24px; max-width: 62ch; }

/* ===== Contact ===== */
.contact { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: start; }
.contact-lines { display: grid; gap: 18px; margin-top: 34px; padding-top: 28px; border-top: 1px solid var(--line-dark); }
.contact-lines small { display: block; font-size: 13px; color: var(--muted-dark); margin-bottom: 2px; }
.contact-lines a, .contact-lines span { font: 600 18px "Inter Tight", system-ui, sans-serif; color: #fff; text-decoration: none; }
.contact-lines a:hover { color: #e6c29c; }
.form { background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: 20px; padding: clamp(22px, 3vw, 36px); display: grid; gap: 6px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: block; font-size: 13.5px; font-weight: 500; color: #c9cdd8; margin: 10px 0 6px; }
.form input, .form select, .form textarea { width: 100%; font: 16px "Inter", sans-serif; color: #fff; background: #0c2518; border: 1px solid #2c5340; border-radius: 10px; padding: 12px 14px; min-height: 48px; transition: border-color .2s, box-shadow .2s; }
.form textarea { resize: vertical; }
.form ::placeholder { color: #6b7182; }
.form select option { color: var(--ink); }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(176,125,82,.25); }
.form .btn { margin-top: 18px; }
.form-status { min-height: 1.4em; font-size: 14.5px; color: #e6c29c; margin: 10px 0 0; }
.invalid { border-color: #ff6b6b !important; }

/* ===== Footer ===== */
.foot { background: var(--ink); color: var(--muted-dark); border-top: 1px solid var(--line-dark); padding: 56px 0 28px; }
.foot-in { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-bottom: 36px; }
.foot .logo { color: #fff; margin-bottom: 10px; }
.foot p { margin: 0; font-size: 15px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: center; }
.foot-links a { text-decoration: none; font-size: 14.5px; color: #c9cdd8; }
.foot-links a:hover { color: #fff; }
.foot-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: 13px; }

/* ===== Reveal ===== */
.reveal { opacity: 1; transform: none; }
.reveal-ready { opacity: 0; transform: translateY(24px); transition: opacity .9s cubic-bezier(.2,.8,.2,1), transform .9s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 1000px) {
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pricing { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin: 0 auto; }
  .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .timeline::before { display: none; }
  .faq-wrap { grid-template-columns: minmax(0, 1fr); gap: 0; }
}
@media (max-width: 880px) {
  .hero-in { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .showcase { max-width: 600px; width: 100%; margin: 0 auto; }
  .case { grid-template-columns: minmax(0, 1fr); }
  .case:nth-child(even) .case-copy { order: 0; }
  .case-art { min-height: 260px; padding: 28px 24px 0; }
  .contact { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .burger { display: block; }
  .links { position: fixed; inset: 72px 12px auto; flex-direction: column; align-items: stretch; gap: 2px; background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: 16px; padding: 10px; box-shadow: 0 30px 60px rgba(0,0,0,.4); opacity: 0; pointer-events: none; transform: translateY(-8px); transition: .25s; }
  .links.open { opacity: 1; pointer-events: auto; transform: none; }
  .links a:not(.btn) { padding: 12px 14px; border-radius: 10px; font-size: 16px; }
  .links a.btn { margin-top: 6px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .services, .timeline { grid-template-columns: minmax(0, 1fr); }
  .two { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .cta-row .btn { flex: 1 1 100%; }
  .float-card { left: 0; bottom: 2%; padding: 8px 12px 8px 8px; }
  .float-card small { display: none; }
  .s-ember .s-nav span:not(.s-btn) { display: none; }
  .s-ember .s-hero { min-height: 150px; padding: 14px; }
  .strip-in { gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .ring .val { stroke-dashoffset: 1.9; }
}

/* ===== Logo theme: light header and hero, green + bronze ===== */
.nav { color: var(--text); background: rgba(252,248,242,.86); backdrop-filter: saturate(140%) blur(14px); }
.nav.scrolled { background: rgba(252,248,242,.94); border-color: var(--line); box-shadow: 0 10px 30px -18px rgba(15,46,31,.35); }
.nav-in { padding-block: 12px; }
.nav .logo img { display: block; height: 54px; width: auto; }
.links a:not(.btn) { color: #3f4a40; }
.links a:not(.btn):hover { color: var(--accent); }
.burger { border-color: var(--line); }
.burger span { background: var(--text); }
.btn-primary { background: linear-gradient(180deg, #226b41, var(--accent)); box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 10px 24px -10px rgba(15,46,31,.7); }
.btn-primary:hover { background: var(--accent-ink); }
.dark .btn-primary, .plan.feat .btn-primary { background: linear-gradient(180deg, var(--bronze-2), var(--bronze)); color: #1d140c; }
.dark .btn-primary:hover, .plan.feat .btn-primary:hover { background: var(--bronze-2); }

.hero { background: var(--paper); color: var(--text); padding-top: clamp(130px, 13vw, 160px); }
.hero::after { background-image: linear-gradient(rgba(15,46,31,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(15,46,31,.06) 1px, transparent 1px); opacity: 1; }
.glow { background: radial-gradient(closest-side, rgba(176,125,82,.22), transparent 70%); }
.hero h1 { color: var(--ink); }
.swoosh { position: relative; white-space: nowrap; }
.swoosh::after { content: ""; position: absolute; left: -2%; right: -4%; bottom: -.16em; height: .2em; border-radius: 50%;
  background: linear-gradient(90deg, rgba(176,125,82,0), var(--bronze) 20%, var(--bronze-2) 60%, var(--brown)); clip-path: ellipse(50% 45% at 50% 100%); }
.pill { color: var(--text); border-color: var(--line); background: #fff; }
.dot { background: #2f9e5d; box-shadow: 0 0 0 4px rgba(47,158,93,.15); }
.lede { color: var(--muted); }
.assure { color: #3f4a40; }
.assure li::before { background-color: #e1ece3; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-5' fill='none' stroke='%231b5a36' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.device { box-shadow: 0 50px 90px -35px rgba(15,46,31,.55), 0 0 0 1px rgba(15,46,31,.08); }
.float-card { color: #fff; }

.svc .ic { background: #e7efe6; color: var(--accent); }
.svc:hover .ic { background: var(--accent); color: #fff; }
.svc:hover { background: #fff; }
.timeline::before { background: linear-gradient(90deg, var(--bronze), rgba(176,125,82,.1)); }
.plan { background: #fff; }
.plan li svg { stroke: var(--accent); }
.plan .badge { background: rgba(217,170,124,.18); color: var(--bronze-2); }
.plan.feat { background: linear-gradient(160deg, #16402b, var(--ink)); }
.case { background: #fff; }
.head a { color: var(--accent); }
:focus-visible { outline-color: var(--bronze); }

.foot { background: var(--alt); color: var(--muted); border-top: 1px solid var(--line); }
.foot-logo img { display: block; width: min(360px, 80vw); height: auto; }
.foot-links a { color: #3f4a40; }
.foot-links a:hover { color: var(--accent); }
.foot-base { border-color: var(--line); }
@media (max-width: 880px) {
  .links { background: var(--paper); border-color: var(--line); box-shadow: 0 30px 60px -20px rgba(15,46,31,.35); }
}
@media (max-width: 600px) { .nav .logo img { height: 36px; } }

/* ===== Business systems (CRM + backend) ===== */
.sys { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 28px; align-items: stretch; }
.sys-cards { display: grid; gap: 20px; }
.sys-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 30px; transition: box-shadow .3s, transform .3s; }
.sys-card:hover { transform: translateY(-3px); box-shadow: 0 30px 60px -34px rgba(15,46,31,.4); }
.sys-card .ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--accent); color: #fff; margin-bottom: 18px; }
.sys-card .ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sys-card > p { color: var(--muted); margin-bottom: 18px; }
.sys-list { list-style: none; margin: 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; font-size: 15px; }
.sys-list li { display: flex; gap: 8px; align-items: flex-start; }
.sys-list svg { flex: none; width: 17px; height: 17px; margin-top: 4px; fill: none; stroke: var(--bronze); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

.crm { display: grid; grid-template-columns: 56px minmax(0, 1fr); background: var(--ink); border-radius: 22px; overflow: hidden; box-shadow: 0 50px 90px -40px rgba(15,46,31,.7); min-height: 460px; }
.crm-side { background: #0b2417; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 18px 0; }
.crm-logo { width: 28px; height: 28px; border-radius: 8px; background: linear-gradient(135deg, var(--bronze-2), var(--bronze)); margin-bottom: 10px; }
.crm-side i { width: 22px; height: 22px; border-radius: 7px; background: rgba(255,255,255,.08); }
.crm-side i.on { background: rgba(217,170,124,.35); }
.crm-main { padding: 20px; display: flex; flex-direction: column; gap: 16px; color: #fff; }
.crm-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.crm-top strong { font: 600 17px "Inter Tight", system-ui, sans-serif; margin-right: auto; }
.crm-search { font-size: 12px; color: var(--muted-dark); background: rgba(255,255,255,.06); border: 1px solid var(--line-dark); padding: 6px 12px; border-radius: 8px; }
.crm-add { font-size: 12px; font-weight: 600; color: #1d140c; background: linear-gradient(180deg, var(--bronze-2), var(--bronze)); padding: 6px 12px; border-radius: 8px; }
.crm-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.kpi { background: rgba(255,255,255,.05); border: 1px solid var(--line-dark); border-radius: 12px; padding: 12px 14px; }
.kpi small { display: block; font-size: 11.5px; color: var(--muted-dark); }
.kpi b { font: 600 20px "Inter Tight", system-ui, sans-serif; white-space: nowrap; }
.kpi em { font-style: normal; font-size: 11.5px; color: #7fd3a0; margin-left: 6px; }
.crm-board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; flex: 1; }
.col { background: rgba(255,255,255,.035); border-radius: 12px; padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.col h5 { margin: 2px 4px 4px; font: 600 12px "Inter", system-ui, sans-serif; color: var(--muted-dark); display: flex; justify-content: space-between; }
.deal { background: #fff; color: var(--text); border-radius: 10px; padding: 10px 12px; font-size: 12px; box-shadow: 0 6px 14px -8px rgba(0,0,0,.5); }
.deal strong { display: block; font-size: 12.5px; margin-bottom: 2px; }
.deal span { color: var(--muted); }
.deal .amt { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; font-weight: 600; white-space: nowrap; }
.deal .av { width: 20px; height: 20px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 9px; display: grid; place-items: center; font-weight: 600; }
.deal.won { border-left: 3px solid #2f9e5d; }

.systems-plan { margin-top: 20px; display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px 34px; }
.systems-plan > div:first-child { flex: 1 1 360px; }
.systems-plan h3 { margin: 0 0 4px; }
.systems-plan p { margin: 0; color: var(--muted); font-size: 15px; }
.systems-plan .price { margin: 0; font-size: clamp(26px, 3vw, 34px); }
.systems-plan .right { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }

@media (max-width: 1000px) { .sys { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) {
  .sys-list { grid-template-columns: minmax(0, 1fr); }
  .crm { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .crm-side, .crm-search { display: none; }
  .crm-main { padding: 14px; }
  .crm-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .kpi { padding: 8px 9px; } .kpi b { font-size: 15px; } .kpi em { display: none; }
  .crm-board { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .crm-board .col:nth-child(3), .crm-board .deal:nth-of-type(3) { display: none; }
  .systems-plan { padding: 22px; }
  .systems-plan .right, .systems-plan .btn { width: 100%; }
}
