/* ==========================================================================
   Shree Gurve Technology - design system
   Black (logo) + cobalt blue accent on cool paper. Mobile-first, fluid type.
   Breakpoints: 600px (tablet) · 900px (small laptop) · 1100px (desktop nav)
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
    --ink: #0b0b0c;
    --ink-2: #151517;
    --ink-3: #232327;
    --paper: #f6f7f9;
    --white: #fff;
    --sand: #eceff4;
    --line: #dde1e8;
    --line-dark: #2c2e34;

    --text: #1a1c20;
    --muted: #596070;
    --on-dark: #eef0f4;
    --muted-dark: #a6acba;

    --accent: #1f4fd8;          /* cobalt: buttons, highlights (white text on it = 6.8:1) */
    --accent-strong: #173eb0;   /* hover */
    --accent-soft: #e6edff;     /* light tint backgrounds */
    --accent-dark: #8fb0ff;     /* accent used as text/icon on black backgrounds */

    --ok: #146c43;
    --err: #b3261e;

    --font-display: "DM Serif Display", Georgia, "Times New Roman", serif;
    --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

    --step--1: clamp(0.8rem, 0.78rem + 0.1vw, 0.875rem);
    --step-0: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
    --step-1: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
    --step-2: clamp(1.35rem, 1.2rem + 0.7vw, 1.75rem);
    --step-3: clamp(1.7rem, 1.4rem + 1.4vw, 2.5rem);
    --step-4: clamp(2.1rem, 1.6rem + 2.4vw, 3.5rem);
    --step-5: clamp(2.5rem, 1.7rem + 4vw, 4.6rem);

    --container: 1200px;
    --gutter: clamp(1rem, 4vw, 2rem);
    --section: clamp(3.5rem, 7vw, 6.5rem);
    --radius: 14px;
    --radius-lg: 22px;
    --shadow-sm: 0 1px 2px rgba(11, 11, 12, 0.06), 0 2px 8px rgba(11, 11, 12, 0.04);
    --shadow-md: 0 8px 28px rgba(11, 11, 12, 0.1);
    --shadow-lg: 0 24px 60px rgba(11, 11, 12, 0.18);
    --header-h: 68px;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
    margin: 0; background: var(--paper); color: var(--text);
    font: 400 var(--step-0)/1.65 var(--font-body);
    -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; line-height: 1.12; letter-spacing: -0.01em; text-wrap: balance; }
h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); }
p { text-wrap: pretty; }
main:focus { outline: none; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.section--dark :focus-visible, .site-footer :focus-visible { outline-color: var(--accent-dark); }

.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 1rem; top: -4rem; z-index: 300; background: var(--ink); color: #fff; padding: 0.7rem 1.1rem; border-radius: 8px; transition: top 0.2s; }
.skip-link:focus { top: 1rem; }

.icon { flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* ---------- 3. Layout primitives ---------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--sand { background: var(--sand); }
.section--white { background: var(--white); }
.section--dark { background: var(--ink); color: var(--on-dark); }
.section--dark .lead, .section--dark p { color: var(--muted-dark); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }

.grid { display: grid; gap: clamp(1rem, 2.2vw, 1.5rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 17.5rem), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }

.eyebrow { display: inline-flex; align-items: center; gap: 0.6rem; font: 600 var(--step--1)/1.2 var(--font-body); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
.eyebrow::before { content: ""; width: 1.6rem; height: 2px; background: var(--accent); }
.eyebrow--light { color: var(--muted-dark); }
.eyebrow--light::before { background: var(--accent-dark); }
.lead { font-size: var(--step-1); line-height: 1.6; color: var(--muted); max-width: 62ch; }
.link-arrow { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--accent); padding-bottom: 2px; transition: gap 0.2s; }
.link-arrow:hover { gap: 0.85rem; }

.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.25rem 2rem; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head--center { flex-direction: column; align-items: center; text-align: center; }
.section-head--center .lead { margin-inline: auto; }
.section-head .lead { margin-top: 1rem; }

/* ---------- 4. Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
    min-height: 48px; padding: 0.8rem 1.5rem; border: 2px solid transparent; border-radius: 999px;
    font-weight: 600; font-size: 0.97rem; line-height: 1.2; text-decoration: none; text-align: center;
    transition: transform 0.15s, background-color 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-strong); box-shadow: 0 6px 20px rgba(31, 79, 216, 0.35); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink-3); }
.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.section--dark .btn--ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.section--dark .btn--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--sm { min-height: 42px; padding: 0.55rem 1.15rem; font-size: 0.9rem; }
.btn--lg { min-height: 54px; padding-inline: 1.9rem; font-size: 1rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: progress; }

/* ---------- 5. Header & navigation ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(246, 247, 249, 0.92); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color 0.2s, box-shadow 0.2s; }
.site-header.is-stuck { border-color: var(--line); box-shadow: 0 4px 24px rgba(11, 11, 12, 0.05); }
.header__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: var(--header-h); }
.brand { display: inline-flex; flex: none; }
.brand img { height: 48px; width: auto; }
.header__actions { display: flex; align-items: center; gap: 0.6rem; }
.header__phone { display: none; align-items: center; gap: 0.5rem; font-weight: 600; font-size: 0.92rem; text-decoration: none; white-space: nowrap; }
.header__cta { display: none; white-space: nowrap; }
.nav-toggle, .icon-btn { display: inline-grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.nav-toggle:hover, .icon-btn:hover { border-color: var(--ink); }
.search-btn { display: none; align-items: center; gap: 0.55rem; min-height: 42px; padding: 0 0.9rem; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--muted); font-size: 0.9rem; white-space: nowrap; }
.search-btn:hover { border-color: var(--ink); color: var(--ink); }
.search-btn kbd { font: 500 0.7rem var(--font-body); padding: 0.1rem 0.4rem; border: 1px solid var(--line); border-radius: 5px; background: var(--paper); white-space: nowrap; }
.nav { display: none; }

.drawer { position: fixed; inset: 0; z-index: 200; visibility: hidden; transition: visibility 0s 0.3s; }
.drawer.is-open { visibility: visible; transition-delay: 0s; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(11, 11, 12, 0.55); opacity: 0; transition: opacity 0.3s; }
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(100%, 26rem); display: flex; flex-direction: column; background: var(--paper); transform: translateX(100%); transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1); padding-bottom: env(safe-area-inset-bottom); }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__top { display: flex; align-items: center; justify-content: space-between; padding: 0.85rem var(--gutter); border-bottom: 1px solid var(--line); }
.drawer__top img { height: 40px; width: auto; }
.drawer__nav { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 0.5rem var(--gutter); }
.drawer__link, .drawer__group > summary { display: flex; align-items: center; justify-content: space-between; min-height: 56px; padding: 0.5rem 0; border-bottom: 1px solid var(--line); font: 400 1.35rem/1.2 var(--font-display); text-decoration: none; cursor: pointer; list-style: none; }
.drawer__group > summary::-webkit-details-marker { display: none; }
.drawer__group[open] > summary .icon { transform: rotate(180deg); }
.drawer__group > summary .icon { transition: transform 0.2s; }
.drawer__group ul { padding: 0.5rem 0 0.75rem 0.25rem; border-bottom: 1px solid var(--line); }
.drawer__group li a { display: block; padding: 0.6rem 0; color: var(--muted); text-decoration: none; font-size: 0.98rem; }
.drawer__group li a:hover { color: var(--ink); }
.drawer__all { display: inline-flex !important; align-items: center; gap: 0.4rem; color: var(--accent) !important; font-weight: 600; }
.drawer__foot { display: grid; gap: 0.6rem; padding: 1rem var(--gutter) 1.25rem; border-top: 1px solid var(--line); background: var(--white); }

@media (min-width: 600px) { .header__cta { display: inline-flex; } .search-btn { display: inline-flex; } .search-icon { display: none; } }

@media (min-width: 1100px) {
    :root { --header-h: 76px; }
    .brand img { height: 54px; }
    .nav-toggle.menu-toggle, .drawer { display: none; }
    .nav { display: block; flex: 1; }
    .nav__list { display: flex; justify-content: center; gap: 0.15rem; }
    .nav__item { position: static; }
    .nav__item--drop { position: relative; }
    .nav__link { display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.7rem 0.85rem; border: 0; background: none; border-radius: 10px; font-weight: 500; font-size: 0.95rem; text-decoration: none; white-space: nowrap; }
    .nav__link:hover, .nav__item.is-open > .nav__link, .nav__item.is-active > .nav__link, .nav__link[aria-current] { background: var(--sand); }
    .nav__item.is-active > .nav__link, .nav__link[aria-current] { font-weight: 600; }
    .nav__caret { transition: transform 0.2s; }
    .nav__item.is-open .nav__caret { transform: rotate(180deg); }

    .nav__panel { position: absolute; top: 100%; left: 0; right: 0; padding-top: 0.5rem; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity 0.18s, transform 0.18s, visibility 0s 0.18s; }
    .nav__item.is-open > .nav__panel { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
    @media (hover: hover) {
        .nav__item:hover > .nav__panel { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
        .nav__item:hover .nav__caret { transform: rotate(180deg); }
    }
    .mega, .drop { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
    .mega { padding: 1.25rem 1.5rem 1.5rem; }
    .mega__head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 0.9rem; margin-bottom: 0.9rem; border-bottom: 1px solid var(--line); }
    .mega__head strong { font: 400 1.25rem var(--font-display); }
    .mega__head a { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 600; font-size: 0.9rem; text-decoration: none; color: var(--accent); }
    .mega__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 1.5rem; }
    .mega__label { font: 600 0.72rem/1 var(--font-body); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); padding: 0.4rem 0.6rem 0.6rem; }
    .mega li a { display: flex; align-items: center; gap: 0.75rem; padding: 0.55rem 0.6rem; border-radius: 10px; font-size: 0.93rem; font-weight: 500; text-decoration: none; line-height: 1.3; }
    .mega li a:hover { background: var(--accent-soft); }
    .mega__icon { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 9px; background: var(--ink); color: var(--accent-dark); }
    .nav__panel--sm { left: 0; right: auto; min-width: 220px; }
    .drop { padding: 0.5rem; }
    .drop a { display: block; padding: 0.6rem 0.85rem; border-radius: 9px; font-weight: 500; font-size: 0.95rem; text-decoration: none; }
    .drop a:hover { background: var(--accent-soft); }
}
@media (min-width: 1100px) and (max-width: 1399px) { .search-btn kbd { display: none; } }
@media (min-width: 1400px) { .header__phone { display: inline-flex; } }

/* ---------- 6. Hero (home) ---------- */
.hero { position: relative; padding-block: clamp(2.5rem, 6vw, 5.5rem) clamp(3rem, 6vw, 5rem); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 1px 1px, rgba(11, 11, 12, 0.09) 1px, transparent 0) 0 0 / 22px 22px; -webkit-mask-image: linear-gradient(to bottom, #000, transparent 85%); mask-image: linear-gradient(to bottom, #000, transparent 85%); pointer-events: none; }
.hero__grid { position: relative; display: grid; gap: clamp(2.5rem, 5vw, 4rem); align-items: center; }
.hero h1 { font-size: var(--step-5); margin-bottom: 1.25rem; }
.hero h1 em { font-style: italic; box-shadow: inset 0 -0.32em 0 rgba(31, 79, 216, 0.22); }
.hero .lead { margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 0.5rem 1.75rem; margin-top: 2.25rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: 0.92rem; color: var(--muted); }
.hero__facts li { display: inline-flex; align-items: center; gap: 0.5rem; }
.hero__facts .icon { color: var(--accent); }

.hero__visual { position: relative; max-width: 34rem; margin-inline: auto; width: 100%; }
.hero__blob { position: absolute; inset: 8% -4% -6% 12%; background: var(--accent); border-radius: 40% 60% 55% 45% / 50% 40% 60% 50%; opacity: 0.9; }
.browser { position: relative; background: var(--ink); border-radius: 14px; box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid var(--ink-3); }
.browser__bar { display: flex; gap: 6px; padding: 10px 14px; background: var(--ink-2); }
.browser__bar i { width: 9px; height: 9px; border-radius: 50%; background: #4a4a50; }
.browser img { width: 100%; aspect-ratio: 16/9; object-fit: cover; object-position: top; }
.browser--back { position: absolute; width: 62%; top: -10%; right: -6%; transform: rotate(4deg); z-index: 0; opacity: 0.95; display: none; }
.browser--front { z-index: 1; }
.hero__badge { position: absolute; left: -2%; bottom: -6%; z-index: 2; display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem 1rem; background: var(--white); border-radius: 14px; box-shadow: var(--shadow-md); font-size: 0.85rem; line-height: 1.3; }
.hero__badge strong { display: block; font: 400 1.5rem/1 var(--font-display); }
.hero__badge .icon { color: #fff; background: var(--accent); border-radius: 10px; padding: 8px; width: 40px; height: 40px; }

@media (min-width: 900px) {
    .hero__grid { grid-template-columns: 1.08fr 0.92fr; }
    .browser--back { display: block; }
    .hero__visual { margin-inline: 0; }
}

/* ---------- 7. Brands ---------- */
.brands { padding-block: 2rem 2.5rem; border-block: 1px solid var(--line); background: var(--white); }
.brands__label { text-align: center; font: 600 var(--step--1)/1 var(--font-body); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.5rem; }
.brands__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr)); gap: 1rem 1.5rem; align-items: center; justify-items: center; }
.brands__list img { width: 135px; height: auto; filter: grayscale(1); opacity: 0.7; transition: filter 0.2s, opacity 0.2s; mix-blend-mode: multiply; }
.brands__list li:hover img { filter: none; opacity: 1; }

/* ---------- 8. Cards ---------- */
.card { position: relative; display: flex; flex-direction: column; gap: 0.75rem; padding: clamp(1.25rem, 2.5vw, 1.75rem); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.card[hidden] { display: none; }
.card--link { text-decoration: none; transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s; }
.card--link:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--ink); }
.card__icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; background: var(--ink); color: var(--accent-dark); margin-bottom: 0.4rem; transition: background 0.2s, color 0.2s; }
.card--link:hover .card__icon { background: var(--accent); color: #fff; }
.card__title { font-size: var(--step-2); }
.card__text { color: var(--muted); font-size: 0.97rem; }
.card__foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 0.75rem; }
.card__meta { font-size: 0.82rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.card__go { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); margin-left: auto; transition: background 0.2s, border-color 0.2s, color 0.2s; }
.card--link:hover .card__go { background: var(--accent); border-color: var(--accent); color: #fff; }
.card--form { background: var(--white); color: var(--text); box-shadow: var(--shadow-lg); border-color: transparent; }

.feature { display: flex; gap: 1rem; align-items: flex-start; }
.feature__icon { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--accent); color: #fff; }
.feature h3 { font: 600 1.05rem/1.3 var(--font-body); margin-bottom: 0.3rem; color: inherit; letter-spacing: 0; }
.feature p { font-size: 0.95rem; }

/* ---------- 9. Projects ---------- */
.project { position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: transform 0.2s, box-shadow 0.2s; }
.project[hidden] { display: none; }
.project:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.project__media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--sand); }
.project__media img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 0.5s; }
.project:hover .project__media img { transform: scale(1.04); }
.project__body { display: flex; flex-direction: column; gap: 0.5rem; padding: 1.25rem 1.4rem 1.4rem; flex: 1; }
.project__title { font-size: var(--step-1); font-family: var(--font-body); font-weight: 600; letter-spacing: 0; }
.project__title a { text-decoration: none; }
.project__title a::after { content: ""; position: absolute; inset: 0; }
.project__body p { color: var(--muted); font-size: 0.93rem; }
.project__host { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: auto; padding-top: 0.5rem; font-size: 0.82rem; font-weight: 600; color: var(--accent); }

/* ---------- 10. Stats / steps / testimonials ---------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: var(--radius-lg); overflow: hidden; }
.stat { padding: clamp(1.25rem, 3vw, 2rem); background: var(--ink); }
.stat strong { display: block; font: 400 var(--step-4)/1 var(--font-display); color: var(--accent-dark); }
.stat span { display: block; margin-top: 0.5rem; font-size: 0.9rem; color: var(--muted-dark); }

.steps { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.step { position: relative; padding: 1.5rem 1.5rem 1.6rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.section--dark .step { background: var(--ink-2); border-color: var(--line-dark); }
.step__num { display: inline-block; font: 400 2.6rem/1 var(--font-display); color: var(--accent); margin-bottom: 1rem; }
.step h3 { font-size: var(--step-1); margin-bottom: 0.5rem; }
.step p { font-size: 0.95rem; color: var(--muted); }

.quotes { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); }
.quote { display: flex; flex-direction: column; gap: 1.25rem; padding: 1.75rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.quote__stars { display: flex; gap: 2px; color: #c77d00; }
.quote blockquote { font-size: 1.02rem; line-height: 1.7; }
.quote figcaption { display: flex; align-items: center; gap: 0.85rem; margin-top: auto; }
.quote img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.quote strong { display: block; font-size: 0.97rem; }
.quote small { color: var(--muted); font-size: 0.85rem; }

/* ---------- 11. Split / media sections ---------- */
.split { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split > * { min-width: 0; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split--wide-left { grid-template-columns: 1.2fr 0.8fr; } }
.checklist { display: grid; gap: 0.9rem; }
.checklist li { display: flex; gap: 0.8rem; align-items: flex-start; }
.checklist .icon { margin-top: 0.2rem; padding: 3px; width: 24px; height: 24px; border-radius: 50%; background: var(--accent); color: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.chip { display: inline-block; padding: 0.5rem 1rem; border: 1px solid var(--line); border-radius: 999px; background: var(--white); font-size: 0.92rem; font-weight: 500; text-decoration: none; }
a.chip:hover { border-color: var(--accent); color: var(--accent); }
.section--dark .chip { background: transparent; border-color: var(--line-dark); color: var(--on-dark); }
.section--dark a.chip:hover { border-color: var(--accent-dark); color: #fff; }
.tag { display: inline-block; padding: 0.25rem 0.7rem; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }

/* ---------- 12. Page hero & breadcrumbs ---------- */
.page-hero { padding-block: clamp(2rem, 5vw, 4rem) clamp(2.25rem, 5vw, 3.75rem); background: var(--sand); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: var(--accent); opacity: 0.12; pointer-events: none; }
.page-hero__body { position: relative; max-width: 54rem; }
.page-hero h1 { font-size: var(--step-4); margin-bottom: 1rem; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
.crumbs { position: relative; margin-bottom: 1.5rem; font-size: 0.88rem; color: var(--muted); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 0.25rem 0.5rem; }
.crumbs li + li::before { content: "/"; margin-right: 0.5rem; opacity: 0.5; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); font-weight: 500; }

/* ---------- 13. Detail pages (service / solution) ---------- */
.detail { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
.detail > *, .legal > *, .contact-grid > *, .cta-band__grid > *, .hero__grid > * { min-width: 0; }
.detail__aside { display: grid; gap: 1.25rem; align-content: start; }
@media (min-width: 1000px) {
    .detail { grid-template-columns: minmax(0, 1fr) 20rem; align-items: start; }
    .detail__aside { position: sticky; top: calc(var(--header-h) + 1.5rem); }
}
.offer { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
.offer__item { padding: 1.4rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.offer__item .card__icon { width: 44px; height: 44px; border-radius: 12px; margin-bottom: 0.9rem; }
.offer__item h3 { font: 600 1.05rem/1.3 var(--font-body); letter-spacing: 0; margin-bottom: 0.4rem; }
.offer__item p { font-size: 0.93rem; color: var(--muted); }
.offer__n { float: right; font: 400 1.6rem/1 var(--font-display); color: var(--line); }
.aside-card { padding: 1.4rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.aside-card h2 { font-size: 1.35rem; margin-bottom: 0.9rem; }
.aside-card--dark { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.aside-card--dark p { color: var(--muted-dark); margin-bottom: 1rem; font-size: 0.94rem; }
.aside-card--dark h2 { color: #fff; }
.side-nav { max-height: 19rem; overflow-y: auto; overscroll-behavior: contain; }
.side-nav a { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; padding: 0.6rem 0.2rem; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 0.94rem; font-weight: 500; }
.side-nav li:last-child a { border-bottom: 0; }
.side-nav a:hover, .side-nav a[aria-current] { color: var(--accent); font-weight: 700; }
.side-nav a[aria-current] { box-shadow: inset 3px 0 0 var(--accent); padding-left: 0.75rem; }
.prose { max-width: 70ch; }
.prose > * + * { margin-top: 1rem; }

/* ---------- 14. FAQ ---------- */
.faq { display: grid; gap: 0.75rem; }
.faq__item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.faq__item[open] { border-color: var(--ink); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 56px; padding: 0.9rem 1.25rem; font-weight: 600; cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__plus { transition: transform 0.2s; color: var(--accent); }
.faq__item[open] .faq__plus { transform: rotate(45deg); }
.faq__answer { padding: 0 1.25rem 1.25rem; color: var(--muted); }
.faq__answer ul { margin-top: 0.6rem; padding-left: 1.2rem; list-style: disc; }
.faq__answer li + li { margin-top: 0.25rem; }
.faq-nav { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2.5rem; }
.faq-nav a { padding: 0.5rem 1rem; border: 1px solid var(--line); border-radius: 999px; background: var(--white); font-size: 0.9rem; font-weight: 500; text-decoration: none; }
.faq-nav a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.faq-group + .faq-group { margin-top: 3rem; }
.faq-group h2 { font-size: var(--step-3); margin-bottom: 1.25rem; }

/* ---------- 15. Forms ---------- */
.form { display: grid; gap: 1.1rem; }
.form__row { display: grid; gap: 1.1rem; }
@media (min-width: 600px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 0.4rem; }
.field label { font-size: 0.9rem; font-weight: 600; }
.field small { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 0.75rem 1rem; background: var(--paper); border: 1.5px solid var(--line); border-radius: 12px; transition: border-color 0.15s, box-shadow 0.15s; }
.field textarea { resize: vertical; min-height: 130px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #c2c8d3; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.field [aria-invalid="true"] { border-color: var(--err); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { min-height: 1.5em; font-size: 0.95rem; font-weight: 500; }
.form__status.is-ok { color: var(--ok); }
.form__status.is-error { color: var(--err); }

/* ---------- 16. CTA band ---------- */
.cta-band { position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; right: -140px; top: -140px; width: 420px; height: 420px; border-radius: 50%; background: var(--accent); opacity: 0.18; }
.cta-band__grid { position: relative; display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (min-width: 900px) { .cta-band__grid { grid-template-columns: 0.9fr 1.1fr; } }
.cta-band h2 { margin-bottom: 1rem; }
.cta-band__links { display: grid; gap: 0.8rem; margin-top: 1.75rem; }
.cta-band__links li { display: flex; align-items: center; gap: 0.75rem; color: var(--on-dark); }
.cta-band__links .icon { color: var(--accent-dark); }
.cta-band__links a { text-decoration: none; }
.cta-band__links a:hover { text-decoration: underline; }

/* ---------- 17. Contact page ---------- */
.contact-grid { display: grid; gap: clamp(2rem, 4vw, 3rem); }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 0.8fr 1.2fr; align-items: start; } }
.contact-list { display: grid; gap: 1rem; }
.contact-item { display: flex; gap: 1rem; padding: 1.25rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; }
a.contact-item:hover { border-color: var(--ink); }
.contact-item .feature__icon { background: var(--ink); color: var(--accent-dark); }
.contact-item strong { display: block; margin-bottom: 0.15rem; }
.contact-item span { color: var(--muted); font-size: 0.95rem; overflow-wrap: anywhere; }

/* ---------- 18. Tools / proposals / gallery ---------- */
.tool { display: flex; gap: 1rem; align-items: flex-start; padding: 1.25rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; transition: border-color 0.2s, transform 0.2s; }
.tool:hover { border-color: var(--ink); transform: translateY(-2px); }
.tool .card__icon { width: 44px; height: 44px; margin: 0; border-radius: 12px; }
.tool strong { display: flex; align-items: center; gap: 0.4rem; margin-bottom: 0.25rem; }
.tool p { font-size: 0.9rem; color: var(--muted); }
.group-title { font: 400 var(--step-2) var(--font-display); margin: 3rem 0 1.25rem; }
.group-title:first-child { margin-top: 0; }

.proposal { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.proposal__media { aspect-ratio: 16 / 10; background: var(--sand); display: grid; place-items: center; overflow: hidden; }
.proposal__media img { width: 100%; height: 100%; object-fit: contain; padding: 1.25rem; }
.proposal__media--cover img { object-fit: cover; padding: 0; }
.proposal__body { display: flex; flex-direction: column; gap: 0.75rem; padding: 1.4rem; flex: 1; }
.proposal__body p { color: var(--muted); font-size: 0.95rem; }
.proposal__body .btn { margin-top: auto; align-self: flex-start; }

.gallery { columns: 3 16rem; column-gap: 1rem; }
.gallery button { display: block; width: 100%; margin: 0 0 1rem; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; background: var(--sand); }
.gallery img { width: 100%; transition: transform 0.4s; }
.gallery button:hover img { transform: scale(1.03); }
.lightbox { width: min(96vw, 1100px); max-height: 92vh; padding: 0; border: 0; border-radius: var(--radius); background: transparent; }
.lightbox::backdrop { background: rgba(0, 0, 0, 0.85); }
.lightbox img { width: 100%; max-height: 88vh; object-fit: contain; }
.lightbox button { position: absolute; top: 0.5rem; right: 0.5rem; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #fff; display: grid; place-items: center; }

/* ---------- 19. Legal / prose pages ---------- */
.legal { display: grid; gap: 2.5rem; }
@media (min-width: 1000px) { .legal { grid-template-columns: 15rem minmax(0, 1fr); } .legal__toc { position: sticky; top: calc(var(--header-h) + 1.5rem); align-self: start; } }
.legal__toc ul { display: grid; gap: 0.15rem; border-left: 2px solid var(--line); }
.legal__toc a { display: block; padding: 0.4rem 0 0.4rem 1rem; margin-left: -2px; border-left: 2px solid transparent; text-decoration: none; font-size: 0.92rem; color: var(--muted); }
.legal__toc a:hover { color: var(--ink); border-color: var(--accent); }
.legal__body section + section { margin-top: 2.5rem; }
.legal__body h2 { font-size: var(--step-3); margin-bottom: 1rem; }
.legal__body p + p, .legal__body p + ul, .legal__body ul + p { margin-top: 0.9rem; }
.legal__body ul { padding-left: 1.2rem; list-style: disc; }
.legal__body li + li { margin-top: 0.4rem; }
.legal__body p, .legal__body li { color: #3b3f4a; }
.legal__body a { text-decoration: underline; }
.note { padding: 1rem 1.25rem; border-left: 4px solid var(--accent); background: var(--accent-soft); border-radius: 0 12px 12px 0; font-size: 0.95rem; margin-bottom: 1.5rem; }

/* ---------- 20. Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-dark); }
.footer__grid { display: grid; gap: 2.5rem; padding-block: clamp(3rem, 6vw, 4.5rem); }
@media (min-width: 600px) { .footer__grid { grid-template-columns: repeat(2, 1fr); } .footer__brand { grid-column: 1 / -1; } }
@media (min-width: 1000px) { .footer__grid { grid-template-columns: 1.5fr 1fr 1fr 0.8fr; } .footer__brand { grid-column: auto; } }
.footer__brand p { margin: 1.25rem 0; color: var(--muted-dark); max-width: 38ch; font-size: 0.95rem; }
.footer__contact { display: grid; gap: 0.7rem; font-size: 0.95rem; }
.footer__contact li { display: flex; gap: 0.7rem; align-items: flex-start; }
.footer__contact .icon { color: var(--accent-dark); margin-top: 0.15rem; }
.footer__contact a { text-decoration: none; overflow-wrap: anywhere; }
.footer__contact a:hover, .footer__col a:hover { text-decoration: underline; color: #fff; }
.socials { display: flex; gap: 0.6rem; margin-top: 1.5rem; }
.socials a { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line-dark); border-radius: 50%; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.socials a:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.footer__title { font: 600 0.78rem/1 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-dark); margin-bottom: 1.25rem; }
.footer__col ul { display: grid; gap: 0.15rem; }
.footer__col a { display: inline-block; padding: 0.3rem 0; color: #d6dae3; text-decoration: none; font-size: 0.95rem; }
.footer__col .footer__more { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 0.4rem; color: var(--accent-dark); font-weight: 600; }
.footer__bar { border-top: 1px solid var(--line-dark); }
.footer__bar-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 2rem; padding-block: 1.25rem; font-size: 0.88rem; color: var(--muted-dark); }
.footer__bar ul { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; }
.footer__bar a { text-decoration: none; }
.footer__bar a:hover { color: #fff; text-decoration: underline; }

/* ---------- 21. Floating WhatsApp ---------- */
.wa-fab { position: fixed; right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom)); z-index: 90; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25); transition: transform 0.2s; }
.wa-fab:hover { transform: scale(1.08); }

/* ---------- 22. 404 ---------- */
.notfound { text-align: center; padding-block: clamp(4rem, 10vw, 8rem); }
.notfound__code { font: 400 clamp(6rem, 22vw, 13rem)/1 var(--font-display); color: var(--ink); }
.notfound__code span { color: var(--accent); }

/* ---------- 23. Scroll reveal (only when JS is on) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- 24. Search (header palette + list filter) ---------- */
.finder { display: grid; gap: 0.5rem; margin-bottom: 1.75rem; }
.finder__box { position: relative; max-width: 32rem; }
.finder__box .icon { position: absolute; left: 1.1rem; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.finder__box input { width: 100%; min-height: 52px; padding: 0.7rem 1.1rem 0.7rem 2.9rem; border: 1.5px solid var(--line); border-radius: 999px; background: var(--white); }
.finder__box input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.finder__count { font-size: 0.88rem; color: var(--muted); min-height: 1.3em; padding-left: 1rem; }
.empty { padding: 1.5rem 0; color: var(--muted); }
.empty[hidden] { display: none; }
.page-hero .finder { margin: 1.5rem 0 0; }

.palette { width: min(94vw, 40rem); max-height: min(80vh, 36rem); margin: 8vh auto auto; padding: 0; border: 0; border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow-lg); overflow: hidden; }
.palette[open] { display: flex; flex-direction: column; }
.palette::backdrop { background: rgba(11, 11, 12, 0.55); }
.palette__bar { display: flex; align-items: center; gap: 0.75rem; padding: 0 1.1rem; border-bottom: 1px solid var(--line); }
.palette__bar input { flex: 1; min-width: 0; min-height: 60px; border: 0; background: none; font-size: 1.05rem; outline: none; }
.palette__bar button { border: 1px solid var(--line); border-radius: 6px; background: var(--paper); padding: 0.2rem 0.55rem; font-size: 0.78rem; }
.palette__list { overflow-y: auto; padding: 0.5rem; flex: 1; }
.palette__list a { display: grid; grid-template-columns: 1fr auto; gap: 0 1rem; padding: 0.65rem 0.8rem; border-radius: 12px; text-decoration: none; }
.palette__list a[aria-selected="true"], .palette__list a:hover { background: var(--accent-soft); }
.palette__list b { color: var(--ink); }
.palette__list small { color: var(--muted); grid-column: 1; font-size: 0.85rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.palette__list em { font-style: normal; font-size: 0.75rem; font-weight: 600; color: var(--accent); grid-column: 2; grid-row: 1; align-self: center; }
.palette__hint { padding: 1.25rem; color: var(--muted); font-size: 0.93rem; }
.palette__foot { padding: 0.6rem 1.1rem; border-top: 1px solid var(--line); font-size: 0.78rem; color: var(--muted); }

@media print {
    .site-header, .drawer, .site-footer, .wa-fab, .cta-band, .palette { display: none !important; }
    body { background: #fff; }
}

/* ---------- 13. Friendly visual refresh (October 2026) ----------
   Brighter surfaces, clearer hierarchy and softer interactions while
   preserving the existing Shree Gurve brand palette and markup. */
:root {
    --ink: #101828;
    --ink-2: #18243a;
    --ink-3: #253550;
    --paper: #f7f9fd;
    --sand: #edf3fb;
    --line: #dfe6f1;
    --text: #202b3c;
    --muted: #5c687b;
    --accent: #315eea;
    --accent-strong: #2448c7;
    --accent-soft: #eaf0ff;
    --accent-dark: #a9c2ff;
    --radius: 16px;
    --radius-lg: 24px;
    --shadow-sm: 0 2px 10px rgba(30, 55, 100, .055);
    --shadow-md: 0 12px 34px rgba(30, 55, 100, .11);
    --shadow-lg: 0 24px 70px rgba(20, 39, 80, .17);
}
body { background: var(--paper); }
.site-header { background: rgba(250, 252, 255, .92); border-bottom-color: rgba(223,230,241,.75); }
.brand img { transition: transform .2s ease; }
.brand:hover img { transform: translateY(-1px); }
.hero {
    background: radial-gradient(ellipse at 78% 15%, rgba(91,139,255,.13), transparent 34%),
                radial-gradient(ellipse at 5% 85%, rgba(64,198,201,.10), transparent 30%),
                linear-gradient(180deg, #fbfcff 0%, #f4f7fd 100%);
}
.hero::before { opacity: .42; background-image: radial-gradient(circle at 1px 1px, rgba(49,94,234,.17) 1px, transparent 0); }
.hero h1 { max-width: 13ch; letter-spacing: -.035em; line-height: 1.04; }
.hero h1 em { color: var(--accent); font-style: normal; box-shadow: inset 0 -.24em 0 rgba(91,139,255,.2); }
.hero .lead { max-width: 58ch; }
.hero__visual { isolation: isolate; padding: .6rem; }
.hero__blob { inset: 5% -2% -3% 9%; opacity: .88; background: linear-gradient(135deg,#315eea 0%,#648bff 55%,#42c7c5 120%); border-radius: 32% 68% 59% 41% / 47% 36% 64% 53%; }
.browser { border: 1px solid rgba(255,255,255,.8); box-shadow: 0 22px 60px rgba(23,48,108,.18); border-radius: 17px; overflow: hidden; }
.browser--front { transform: rotate(-1deg); }
.browser--back { transform: rotate(3deg); }
.hero__badge { border: 1px solid rgba(223,230,241,.8); border-radius: 16px; box-shadow: 0 16px 38px rgba(20,39,80,.14); }
.btn { box-shadow: 0 0 transparent; }
.btn--primary { background: linear-gradient(135deg,#315eea,#254dcc); box-shadow: 0 8px 20px rgba(49,94,234,.16); }
.btn--primary:hover { background: linear-gradient(135deg,#2448c7,#1d3da9); box-shadow: 0 10px 26px rgba(49,94,234,.28); transform: translateY(-1px); }
.btn--ghost { border-color: #cbd5e5; background: rgba(255,255,255,.68); }
.btn--ghost:hover { border-color: var(--ink); }
.card { border-color: #e1e8f3; box-shadow: var(--shadow-sm); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.card--link:hover { transform: translateY(-5px); border-color: #b9caff; box-shadow: var(--shadow-md); }
.card__icon { background: #edf2ff; color: var(--accent); }
.card--link:hover .card__icon { background: var(--accent); color: #fff; }
.section--dark { background: radial-gradient(ellipse at 85% 10%, rgba(49,94,234,.2), transparent 38%), #101828; }
.section--sand { background: linear-gradient(180deg,#edf3fb 0%,#f4f7fc 100%); }
.section-head h2, .section-head h3 { letter-spacing: -.025em; }
.eyebrow { color: #53627a; }
.eyebrow::before { width: 1.9rem; height: 3px; border-radius: 99px; }
input, select, textarea { border-radius: 12px; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(49,94,234,.1); outline: none; }
.wa-fab { box-shadow: 0 10px 28px rgba(17,110,73,.25); transition: transform .2s ease, box-shadow .2s ease; }
.wa-fab:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(17,110,73,.3); }
:where(a,button,input,select,textarea,[tabindex]):focus-visible { outline: 3px solid #7da0ff; outline-offset: 3px; }
@media (max-width: 599px) {
    :root { --section: 3.4rem; --gutter: 1.1rem; }
    .hero { padding-block: 2.6rem 3.4rem; }
    .hero h1 { font-size: clamp(2.45rem, 10.5vw, 3.4rem); }
    .hero__actions { display: grid; grid-template-columns: 1fr; }
    .hero__actions .btn { width: 100%; }
    .hero__facts { gap: .7rem 1rem; font-size: .86rem; }
    .hero__visual { margin-top: .25rem; }
    .hero__badge { left: 0; bottom: -5%; padding: .65rem .8rem; }
    .section-head { align-items: flex-start; }
    .card { padding: 1.2rem; }
}
@media (min-width: 600px) and (max-width: 899px) {
    .hero__grid { gap: 2.6rem; }
    .hero__visual { max-width: 31rem; }
}
@media (prefers-reduced-motion: reduce) {
    .card, .btn, .brand img, .wa-fab { transition: none !important; }
}

/* ---------- UX refresh: navigation mega menus + project portfolio ---------- */
@media (min-width: 1100px) {
    .nav__panel { z-index: 1000; padding-top: .85rem; }
    .mega { padding: 1.35rem 1.45rem 1.4rem; border-radius: 22px; border-color: rgba(190, 204, 228, .8); box-shadow: 0 24px 70px rgba(25, 42, 75, .16); background: rgba(255,255,255,.98); backdrop-filter: blur(18px); }
    .mega__head { padding-bottom: 1rem; margin-bottom: .85rem; }
    .mega__head strong { font-size: 1.28rem; font-weight: 600; color: var(--ink); }
    .mega__head a { padding: .55rem .7rem; border-radius: 9px; transition: background .2s, transform .2s; }
    .mega__head a:hover { background: var(--accent-soft); transform: translateX(2px); }
    .mega__cols { gap: .35rem 1.1rem; }
    .mega__cols > ul { display: grid; align-content: start; gap: .18rem; }
    .mega li a { min-height: 48px; padding: .48rem .55rem; border: 1px solid transparent; border-radius: 12px; transition: background .18s, border-color .18s, transform .18s; }
    .mega li a:hover, .mega li a:focus-visible { background: #f2f6ff; border-color: #e0e9ff; transform: translateX(2px); }
    .mega__icon { width: 36px; height: 36px; border-radius: 11px; background: #111a2c; color: #b9d0ff; box-shadow: inset 0 1px 0 rgba(255,255,255,.12); }
    .nav__panel--sm { min-width: 250px; }
    .drop { padding: .55rem; border-radius: 16px; box-shadow: 0 22px 55px rgba(25,42,75,.16); }
    .drop a { padding: .75rem .85rem; border-radius: 10px; }
}

.project { border-radius: 24px; border-color: #dce5f4; box-shadow: 0 8px 26px rgba(26, 45, 78, .045); }
.project:hover { transform: translateY(-6px); border-color: #c7d6f2; box-shadow: 0 20px 48px rgba(26,45,78,.13); }
.project__media { position: relative; aspect-ratio: 16 / 9; background: #eef3fb; border-bottom: 1px solid #e7edf7; }
.project__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,25,45,0) 55%, rgba(15,25,45,.12)); pointer-events: none; opacity: .65; transition: opacity .25s; }
.project:hover .project__media::after { opacity: .25; }
.project__media img { object-fit: cover; object-position: top center; }
.project__body { gap: .65rem; padding: 1.25rem 1.35rem 1.35rem; }
.project__title { font-size: clamp(1.12rem, 1.45vw, 1.35rem); line-height: 1.25; }
.project__title a { color: #253247; }
.project__body p { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; min-height: 5.4em; line-height: 1.55; color: #65738b; }
.project__host { position: relative; z-index: 1; align-self: flex-start; gap: .45rem; margin-top: auto; padding: .45rem .65rem; border-radius: 9px; background: #f1f5ff; color: #315eea; overflow-wrap: anywhere; transition: background .2s, color .2s; }
.project:hover .project__host { background: #315eea; color: #fff; }
#work .grid { align-items: stretch; }
#project-grid { align-items: stretch; row-gap: 1.5rem; }
#project-grid .project { min-height: 100%; }
@media (max-width: 1099px) {
    .mega__cols { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 599px) {
    .project { border-radius: 18px; }
    .project__body { padding: 1rem 1.05rem 1.1rem; }
    .project__body p { min-height: 0; -webkit-line-clamp: 3; }
}
@media (prefers-reduced-motion: reduce) {
    .project, .project__media img, .project__host, .mega li a, .mega__head a { transition: none !important; }
}
