/* =========================================================================
   GrownBiz — service category page (web-designing.php).
   Loads after base.css, home.css (reused FAQ/contact) and pages.css.
   ========================================================================= */

/* ---------- Hero (light, split, browser-framed photo) ---------- */
.sv-hero { position: relative; overflow: hidden; padding-block: clamp(1.75rem, 1.2rem + 2.4vw, 3.5rem) clamp(2.5rem, 1.8rem + 3vw, 4.5rem); background:
  radial-gradient(42rem 30rem at 100% 0%, #f1e6f6 0%, transparent 60%),
  radial-gradient(36rem 26rem at 0% 100%, #e8eefb 0%, transparent 60%), var(--white); }
.sv-hero__grid { display: grid; gap: 2.5rem; align-items: center; }
.crumbs--dark a { color: #5b6476; }
.crumbs--dark a:hover { color: var(--purple); }
.crumbs--dark [aria-current] { color: var(--purple); }
.crumbs--dark li + li::before { border-color: #9aa3b5; }
.sv-hero__chip { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.35rem 0.8rem 0.35rem 0.45rem; border-radius: 999px; background: var(--white); border: 1px solid #ead9f1; color: var(--purple); font-size: 0.8rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; box-shadow: 0 6px 16px -10px rgba(101, 30, 122, 0.5); }
.sv-hero__chip .icon { width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--purple); color: var(--white); }
.sv-hero__title { margin-top: 1rem; font-size: clamp(2rem, 1.45rem + 2.5vw, 3.35rem); line-height: 1.06; letter-spacing: -0.035em; color: var(--navy); max-width: 16ch; }
.sv-hero__title em { font-style: normal; background: linear-gradient(92deg, var(--purple), #b04fd0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sv-hero__lead { margin-top: 1rem; max-width: 50ch; font-size: clamp(1rem, 0.97rem + 0.2vw, 1.12rem); color: #4a5568; }
.sv-hero__points { display: flex; flex-wrap: wrap; gap: 0.5rem 1.1rem; margin: 1.2rem 0 1.5rem; padding: 0; list-style: none; }
.sv-hero__points li { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 700; font-size: 0.92rem; color: var(--navy); }
.sv-hero__points .icon { width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: #e3f6ec; color: #0f8a5f; }
.sv-hero__actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.sv-hero__media { position: relative; padding: 1.25rem 0.75rem 1.75rem; }
.sv-hero__frame { position: relative; z-index: 1; border-radius: 16px; overflow: hidden; background: var(--white); box-shadow: 0 40px 80px -40px rgba(7, 38, 84, 0.55), 0 0 0 1px rgba(7, 38, 84, 0.06); transform: rotate(-1.2deg); }
.sv-hero__bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #f1f3f8; border-bottom: 1px solid var(--border); }
.sv-hero__bar i { width: 9px; height: 9px; border-radius: 50%; background: #ff5f57; }
.sv-hero__bar i:nth-child(2) { background: #febc2e; }
.sv-hero__bar i:nth-child(3) { background: #28c840; }
.sv-hero__bar b { margin-left: 10px; padding: 2px 12px; border-radius: 6px; background: var(--white); color: #5f687c; font-size: 0.72rem; font-weight: 600; }
.sv-hero__photo { display: block; width: 100%; aspect-ratio: 14 / 10; object-fit: cover; }
.sv-hero__blob { position: absolute; z-index: 0; inset: 8% -6% -4% 12%; border-radius: 40% 60% 55% 45% / 50% 40% 60% 50%; background: linear-gradient(135deg, #7a2a93, #1d4e89); opacity: 0.9; filter: blur(0.5px); }
.sv-float { position: absolute; z-index: 2; display: flex; align-items: center; gap: 0.6rem; padding: 0.6rem 0.85rem 0.6rem 0.6rem; border-radius: 14px; background: var(--white); box-shadow: 0 18px 36px -16px rgba(7, 38, 84, 0.55); animation: bob 6s ease-in-out infinite; }
.sv-float strong { display: block; color: var(--navy); font-size: 0.85rem; line-height: 1.2; }
.sv-float small { display: block; font-size: 0.72rem; color: #5b6476; }
.sv-float__icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--purple); color: var(--white); }
.sv-float__icon .icon { width: 17px; height: 17px; }
.sv-float--0 { top: 3.5rem; left: -0.25rem; }
.sv-float--1 { bottom: 0.25rem; right: 0; animation-delay: 1.2s; }
.sv-float--1 .sv-float__icon { background: var(--whatsapp-dark); }
@media (max-width: 559.98px) { .sv-float { display: none; } .sv-hero__frame { transform: none; } }
@media (min-width: 960px) { .sv-hero__grid { grid-template-columns: 1.02fr 0.98fr; gap: 3.5rem; } .sv-hero__media { padding: 1.5rem 1rem 2rem 1.5rem; } .sv-float--0 { left: -1.5rem; top: 5.5rem; } }

/* ---------- Sticky section nav ---------- */
.sv-nav { position: sticky; top: var(--header-h); z-index: 40; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(10px); border-block: 1px solid var(--border); }
.sv-nav__row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 56px; }
.sv-nav ul { display: flex; gap: 0.25rem; margin: 0; padding: 0; list-style: none; overflow-x: auto; scrollbar-width: none; }
.sv-nav ul::-webkit-scrollbar { display: none; }
.sv-nav ul a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 0.85rem; border-radius: 999px; color: #5b6476; font-weight: 700; font-size: 0.88rem; white-space: nowrap; text-decoration: none; transition: background-color 0.2s, color 0.2s; }
.sv-nav ul a:hover { color: var(--navy); background: var(--paper); }
.sv-nav ul a.is-current { color: var(--white); background: var(--navy); }
.sv-nav .btn { flex: none; }
@media (max-width: 639.98px) { .sv-nav .btn { display: none; } }

/* ---------- Sub-services ---------- */
.sv-feature { display: grid; gap: 1rem; margin: 0 0 1rem; padding: 0; list-style: none; }
.sv-card { position: relative; scroll-margin-top: calc(var(--header-h) + 72px); border: 1px solid var(--border); border-radius: 20px; background: var(--white); transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s; }
.sv-card:hover { transform: translateY(-4px); border-color: rgba(101, 30, 122, 0.3); box-shadow: 0 28px 50px -34px rgba(7, 38, 84, 0.55); }
.sv-card:target { border-color: var(--purple); box-shadow: 0 0 0 4px rgba(101, 30, 122, 0.14); }
.sv-card--big { display: grid; overflow: hidden; }
.sv-card__media { position: relative; overflow: hidden; }
.sv-card__media img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 0.7s var(--ease); }
.sv-card:hover .sv-card__media img { transform: scale(1.05); }
.sv-card__media .sv-card__num { position: absolute; top: 0.8rem; left: 0.8rem; padding: 0.2rem 0.55rem; border-radius: 8px; background: rgba(255, 255, 255, 0.92); color: var(--navy); font-size: 0.75rem; font-weight: 800; }
.sv-card__body { display: flex; flex-direction: column; padding: 1.2rem 1.25rem 1.15rem; }
.sv-card__title { display: flex; align-items: center; gap: 0.6rem; font-size: 1.15rem; line-height: 1.25; margin-bottom: 0.45rem; }
.sv-card__icon { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 11px; background: linear-gradient(140deg, #8a3fa3, var(--purple)); color: var(--white); box-shadow: 0 10px 20px -12px rgba(101, 30, 122, 0.8); }
.sv-card__icon .icon { width: 19px; height: 19px; }
.sv-card__text { font-size: 0.93rem; color: #4a5568; }
.sv-card__points { display: grid; gap: 0.35rem; margin: 0.85rem 0 1rem; padding: 0; list-style: none; }
.sv-card__points li { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.88rem; font-weight: 600; color: var(--navy); }
.sv-card__points .icon { width: 16px; height: 16px; margin-top: 0.2rem; flex: none; color: #0f8a5f; }
.sv-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; margin-top: auto; padding-top: 0.85rem; border-top: 1px dashed var(--border); }
.sv-card__best { font-size: 0.8rem; color: #5b6476; line-height: 1.35; }
.sv-card__best span { display: block; font-size: 0.66rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--purple); }
.sv-card__ask { display: inline-flex; align-items: center; justify-content: center; gap: 0.35rem; flex: none; min-width: 44px; min-height: 40px; padding: 0 0.9rem; border-radius: 999px; background: var(--purple-tint); color: var(--purple); font-weight: 800; font-size: 0.84rem; text-decoration: none; transition: background-color 0.2s, color 0.2s; }
.sv-card__ask .icon { width: 15px; height: 15px; }
.sv-card__ask:hover { background: var(--purple); color: var(--white); }
@media (min-width: 760px) { .sv-feature { grid-template-columns: 1fr 1fr; } }
.sv-grid { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.sv-card--small { display: flex; flex-direction: column; padding: 1.15rem 1.15rem 1rem; }
.sv-card__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.85rem; }
.sv-card--small .sv-card__icon { width: 44px; height: 44px; background: var(--purple-tint); color: var(--purple); box-shadow: none; transition: background-color 0.3s, color 0.3s, transform 0.35s var(--ease); }
.sv-card--small:hover .sv-card__icon { background: var(--purple); color: var(--white); transform: rotate(-6deg); }
.sv-card--small .sv-card__num { font-size: 1.6rem; font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(7, 38, 84, 0.18); }
.sv-card--small .sv-card__title { font-size: 1.05rem; }
.sv-card--small .sv-card__points { margin-bottom: 0.9rem; }
@media (min-width: 600px) { .sv-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .sv-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Included ---------- */
.sv-inc { background: var(--paper); }
.sv-inc__grid { display: grid; gap: 2.5rem; align-items: center; }
.sv-inc__media { position: relative; padding: 0 2.5rem 3rem 0; }
.sv-inc__photo { display: block; object-fit: cover; border-radius: 18px; }
.sv-inc__photo--a { width: 100%; aspect-ratio: 11 / 8; box-shadow: 0 30px 60px -36px rgba(7, 38, 84, 0.6); }
.sv-inc__photo--b { position: absolute; right: 0; bottom: 0; width: 42%; aspect-ratio: 1; border: 6px solid var(--white); background: var(--white); box-shadow: 0 20px 40px -20px rgba(7, 38, 84, 0.5); }
.sv-inc__copy .section-title { margin-bottom: 1.25rem; }
.sv-inc__list { display: grid; gap: 0.6rem; margin: 0; padding: 0; list-style: none; }
.sv-inc__list li { display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem 0.85rem; border-radius: 14px; background: var(--white); border: 1px solid var(--border); transition: border-color 0.25s, transform 0.25s var(--ease); }
.sv-inc__list li:hover { border-color: rgba(101, 30, 122, 0.3); transform: translateX(3px); }
.sv-inc__list strong { display: block; color: var(--navy); font-size: 0.93rem; line-height: 1.3; }
.sv-inc__list small { display: block; font-size: 0.8rem; color: #5b6476; }
.sv-inc__icon { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 11px; background: var(--purple-tint); color: var(--purple); }
.sv-inc__icon .icon { width: 19px; height: 19px; }
@media (min-width: 600px) { .sv-inc__list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .sv-inc__grid { grid-template-columns: 0.9fr 1.1fr; gap: 4rem; } }

/* ---------- Process (dark, photo backdrop) ---------- */
.sv-proc { position: relative; isolation: isolate; overflow: hidden; background: var(--navy-deep); color: #c9d1e6; }
.sv-proc__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: 0.18; filter: grayscale(0.3); }
.sv-proc::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(4, 26, 59, 0.75), var(--navy-deep) 85%), radial-gradient(36rem 24rem at 0% 0%, rgba(138, 63, 163, 0.35), transparent 60%); }
.sv-proc .section-title { color: var(--white); }
.sv-proc .section-title em { font-style: normal; background: linear-gradient(92deg, #e2c2ef, #b98bd0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sv-proc .section-lead { color: #c9d1e6; }
.sv-steps { display: grid; gap: 0.9rem; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.sv-step { position: relative; padding: 1.3rem 1.2rem; border-radius: 18px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12); backdrop-filter: blur(4px); transition: background-color 0.3s, transform 0.3s var(--ease); }
.sv-step:hover { background: rgba(255, 255, 255, 0.09); transform: translateY(-4px); }
.sv-step__num { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 0.9rem; border-radius: 50%; background: linear-gradient(140deg, #8a3fa3, var(--purple)); color: var(--white); font-weight: 800; box-shadow: 0 0 0 6px rgba(138, 63, 163, 0.18); }
.sv-step__title { color: var(--white); font-size: 1.05rem; margin-bottom: 0.35rem; }
.sv-step__text { font-size: 0.9rem; }
@media (min-width: 600px) { .sv-steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) {
  .sv-steps { grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
  .sv-step:not(:last-child)::after { content: ""; position: absolute; top: calc(1.3rem + 23px); left: calc(1.2rem + 54px); right: -1.1rem; height: 2px; background: repeating-linear-gradient(90deg, rgba(217, 182, 230, 0.6) 0 6px, transparent 6px 12px); }
}
.sv-tools { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin: 1.75rem 0 0; padding: 0; list-style: none; }
.sv-tools li { padding: 0.45rem 0.9rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.18); color: var(--white); font-size: 0.84rem; font-weight: 700; }

/* ---------- Work ---------- */
.sv-work__grid { display: grid; gap: 1.25rem; margin: 0; padding: 0; list-style: none; }
.sv-shot__browser { border-radius: 14px; overflow: hidden; background: var(--white); box-shadow: 0 26px 50px -32px rgba(7, 38, 84, 0.6), 0 0 0 1px var(--border); transition: transform 0.4s var(--ease); }
.sv-shot:hover .sv-shot__browser { transform: translateY(-5px); }
.sv-shot__bar { display: flex; gap: 5px; padding: 8px 10px; background: #f1f3f8; border-bottom: 1px solid var(--border); }
.sv-shot__bar i { width: 8px; height: 8px; border-radius: 50%; background: #d7dbe5; }
.sv-shot__browser img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.sv-shot__title { margin-top: 0.8rem; color: var(--navy); font-weight: 800; }
.sv-shot__kind { font-size: 0.84rem; color: var(--purple); font-weight: 600; }
@media (min-width: 760px) { .sv-work__grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- FAQ + related ---------- */
.sv-faq { background: var(--paper); }
.sv-faq__grid { display: grid; gap: 2rem; }
.sv-faq__side .section-lead { margin-top: 0.5rem; }
.sv-related { margin-top: 1.4rem; padding: 1.1rem; border-radius: 16px; background: var(--white); border: 1px solid var(--border); }
.sv-related__title { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--purple); margin-bottom: 0.5rem; }
.sv-related ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0.25rem 0.75rem; margin: 0; padding: 0; list-style: none; }
.sv-related a { display: flex; align-items: center; gap: 0.45rem; min-height: 38px; color: var(--navy); font-size: 0.86rem; font-weight: 600; text-decoration: none; }
.sv-related a:hover { color: var(--purple); }
.sv-related .icon { width: 16px; height: 16px; flex: none; color: var(--purple); }
@media (min-width: 960px) { .sv-faq__grid { grid-template-columns: 0.85fr 1.15fr; gap: 3rem; align-items: start; } .sv-faq__side { position: sticky; top: calc(var(--header-h) + 80px); } }
.svc-page .contact { border-top: 0; }

@media (prefers-reduced-motion: reduce) { .sv-float { animation: none; } }

/* All sub-services share one photo-card layout: 2 per row, photo on top */
.sv-feature { margin-bottom: 0; }
.sv-card--big .sv-card__media img { aspect-ratio: 16 / 9; }
.sv-card--big { grid-template-rows: auto 1fr; }
@media (min-width: 1100px) { .sv-feature { grid-template-columns: repeat(3, 1fr); gap: 1.1rem; } .sv-card__title { font-size: 1.08rem; } }
@media (min-width: 1100px) { .sv-feature > .sv-card:last-child:nth-child(3n+1) { grid-column: 1 / -1; grid-template-columns: 1fr 2fr; grid-template-rows: none; } .sv-feature > .sv-card:last-child:nth-child(3n+1) .sv-card__media img { height: 100%; aspect-ratio: auto; min-height: 260px; } }
@media (min-width: 760px) and (max-width: 1099.98px) { .sv-feature > .sv-card:last-child:nth-child(odd) { grid-column: 1 / -1; } }

/* service name on a category card links to its detail page: keep the heading look */
.sv-card__title a { color: inherit; text-decoration: none; }
.sv-card__title a:hover, .sv-card__title a:focus-visible { color: var(--purple); text-decoration: underline; text-underline-offset: 3px; }
