/* Zhiva — global styles
   Token reference matches tailwind config in includes/head.php.
   Tailwind utilities cover most styling; this file holds tokens for
   non-utility cases (typographic flair, decorative SVG, hero canvas). */

:root {
    --cream:      #EFEFEF;
    --cream-soft: #FFFFFF;
    --ink:        #111111;
    --ink-soft:   #2A2A2A;
    --muted:      #6B6B6B;
    --accent:     #5D59D1;
    --accent-2:   #BFFF00;
    --card:       #FFFFFF;
}

html { scroll-behavior: smooth; }
body { background: var(--cream); }

/* Display heading: bold sans throughout — no italic accents */
.display {
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 0.95;
}
.display em,
.display .it {
    font-style: normal;
    font-family: inherit;
    font-weight: inherit;
}

/* Section eyebrow with asterisk */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--muted);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.01em;
}
.eyebrow::before {
    content: "";
    width: 14px;
    height: 14px;
    background: var(--accent);
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 2v20M2 12h20M4.93 4.93l14.14 14.14M19.07 4.93L4.93 19.07' stroke='black' stroke-width='2.4' stroke-linecap='round'/></svg>") center/contain no-repeat;
            mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 2v20M2 12h20M4.93 4.93l14.14 14.14M19.07 4.93L4.93 19.07' stroke='black' stroke-width='2.4' stroke-linecap='round'/></svg>") center/contain no-repeat;
}

/* Pill buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.85rem 1.4rem 0.85rem 1.5rem;
    border-radius: 999px;
    font-weight: 500;
    font-size: 1rem;
    line-height: 1;
    transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn .arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px; height: 28px;
    border-radius: 999px;
    background: #fff;
    color: var(--ink);
}
.btn--dark    { background: var(--ink); color: #fff; }
.btn--dark .arrow { background: #fff; color: var(--ink); }
.btn--ghost   { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn--ghost .arrow { background: var(--ink); color: #fff; }
.btn--white   { background: #fff; color: var(--ink); }
.btn--white .arrow { background: var(--ink); color: #fff; }

/* Hero artwork — indigo base + electric blue pool + juicy lime pool
   (per CLAUDE.md content rule + content/home.md hero note) */
.hero-canvas {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(75% 65% at 82% 22%, rgba(11,68,255,0.78)  0%, transparent 55%),
        radial-gradient(80% 70% at 12% 78%, rgba(191,255,0,0.90)  0%, transparent 62%),
        radial-gradient(45% 40% at 60% 58%, rgba(191,255,0,0.30)  0%, transparent 65%),
        radial-gradient(50% 45% at 35% 35%, rgba(11,68,255,0.22)  0%, transparent 65%),
        linear-gradient(135deg, #1B1872 0%, #0D0A3F 55%, #1B1872 100%);
}
.hero-canvas::after {
    content: "";
    position: absolute; inset: 0;
    pointer-events: none;
    background:
        radial-gradient(40% 30% at 70% 60%, rgba(255,255,255,0.15), transparent 70%);
    filter: blur(20px);
}


/* Hero variant: a real photo as the base layer with the gradient
   spots overlaid on top for legibility + design coherence. */
.hero-canvas--photo {
    background-image: none;
    background-color: #0D0A3F; /* fallback while image streams in */
}
.hero-canvas--photo .hero-photo {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}
.hero-canvas--photo .hero-tint {
    position: absolute; inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        radial-gradient(80% 70% at 80% 22%, rgba(11,68,255,0.55)  0%, transparent 55%),
        radial-gradient(55% 50% at 12% 82%, rgba(191,255,0,0.40)  0%, transparent 60%),
        radial-gradient(60% 50% at 55% 60%, rgba(11,68,255,0.18)  0%, transparent 65%),
        linear-gradient(180deg, rgba(13,10,63,0.55) 0%, rgba(13,10,63,0.78) 100%);
}

/* Decorative slash marker (like the //// in screenshot 4) */
.slash-mark {
    display: inline-flex;
    gap: 4px;
}
.slash-mark span {
    display: block;
    width: 3px; height: 18px;
    background: var(--accent-2);
    transform: skewX(-22deg);
}

/* Process number badge — lime bg + dark text for cheerful contrast */
.num-badge {
    width: 48px; height: 48px;
    border-radius: 999px;
    background: var(--accent-2);
    color: var(--ink);
    display: inline-flex;
    align-items: center; justify-content: center;
    font-weight: 700;
    letter-spacing: 0.02em;
}

/* Capability chip */
.chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background: var(--cream-soft);
    color: var(--ink);
    font-size: 0.9rem;
    border: 1px solid rgba(17,17,17,0.06);
}
.chip svg { width: 14px; height: 14px; color: var(--ink); }

/* Marquee CTA hero */
.marquee {
    display: flex;
    gap: 4rem;
    white-space: nowrap;
    animation: marquee 28s linear infinite;
    will-change: transform;
}
@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* Service block image — Unsplash photo + light grain overlay */
.svc-art {
    border-radius: 20px;
    aspect-ratio: 4 / 3;
    position: relative;
    overflow: hidden;
    background: #1B1872; /* fallback colour while image loads / if it fails */
}
.svc-art > img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}
/* Branded tint over each photo. Four variants, each with its own
   colour balance and direction — share the palette, never repeat exactly.
   Kept light so the photo remains the primary visual. */
.svc-art::after {
    content: "";
    position: absolute; inset: 0;
    pointer-events: none;
    /* variant classes below provide the background */
}
/* a · blue-dominant, top-right pool */
.svc-art--a::after {
    background:
        radial-gradient(75% 65% at 78% 20%, rgba(11,68,255,0.38) 0%, transparent 60%),
        radial-gradient(45% 40% at 18% 82%, rgba(191,255,0,0.20) 0%, transparent 65%),
        linear-gradient(180deg, rgba(13,10,63,0.10) 0%, rgba(13,10,63,0.28) 100%);
}
/* b · lime-leaning, light from the left */
.svc-art--b::after {
    background:
        radial-gradient(75% 65% at 22% 28%, rgba(191,255,0,0.38) 0%, transparent 60%),
        radial-gradient(50% 45% at 82% 78%, rgba(11,68,255,0.28) 0%, transparent 65%),
        linear-gradient(180deg, rgba(13,10,63,0.06) 0%, rgba(13,10,63,0.22) 100%);
}
/* c · blue diagonal from bottom-right, lime spark top-left */
.svc-art--c::after {
    background:
        radial-gradient(80% 70% at 72% 72%, rgba(11,68,255,0.42) 0%, transparent 60%),
        radial-gradient(40% 35% at 15% 18%, rgba(191,255,0,0.22) 0%, transparent 60%),
        linear-gradient(180deg, rgba(13,10,63,0.10) 0%, rgba(13,10,63,0.26) 100%);
}
/* d · balanced split — blue top-left, lime bottom-right */
.svc-art--d::after {
    background:
        radial-gradient(60% 55% at 25% 30%, rgba(11,68,255,0.32) 0%, transparent 60%),
        radial-gradient(55% 50% at 75% 72%, rgba(191,255,0,0.32) 0%, transparent 60%),
        linear-gradient(180deg, rgba(13,10,63,0.06) 0%, rgba(13,10,63,0.20) 100%);
}

/* Form — underline-style fields used on /contacts */
.field { display: block; }
.field > label {
    display: block;
    font-size: 0.85rem;
    color: var(--muted);
    font-weight: 500;
    margin-bottom: 0.25rem;
    letter-spacing: 0.01em;
}
.field > label .opt {
    color: rgba(107,107,107,0.7);
    font-weight: 400;
    margin-left: 0.25rem;
}
.input-field {
    display: block;
    width: 100%;
    background: transparent;
    border: 1px solid var(--ink);
    border-radius: 14px;
    padding: 0.9rem 1.1rem;
    font-size: 1rem;
    line-height: 1.4;
    color: var(--ink);
    font-family: inherit;
    outline: 0;
    appearance: none;
    -webkit-appearance: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.input-field::placeholder { color: rgba(17,17,17,0.38); }
.input-field:hover { border-color: var(--ink); }
.input-field:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(93,89,209,0.18);
}
textarea.input-field { resize: vertical; min-height: 140px; }
select.input-field {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 14px;
    padding-right: 2.5rem;
    cursor: pointer;
}
.input-field:user-invalid {
    border-color: rgba(200,60,60,0.7);
}

/* Contact icon tile (purple circle with white icon) */
.contact-icon {
    width: 48px; height: 48px;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.contact-icon svg { width: 22px; height: 22px; }

/* Footer */
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 3rem;
}
@media (max-width: 1023px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}
@media (max-width: 520px) {
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}
