:root {
    --ink: #07111f;
    --navy: #0b1730;
    --text: #334155;
    --muted: #64748b;
    --line: #dbe4ef;
    --soft: #f5f8fc;
    --white: #ffffff;
    --blue: #1d4ed8;
    --violet: #6d28d9;
    --cyan: #0ea5e9;
    --radius: 8px;
    --shadow: 0 24px 60px rgba(8, 20, 42, .12);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.65;
    background: var(--white);
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

h1,
h2,
h3 {
    color: var(--ink);
    font-weight: 760;
    line-height: 1.12;
    letter-spacing: 0;
}

h1 {
    font-size: clamp(2.35rem, 5vw, 4.8rem);
}

h2 {
    font-size: clamp(1.85rem, 3vw, 3rem);
}

h3 {
    font-size: 1.16rem;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 1rem;
    z-index: 1000;
    padding: .75rem 1rem;
    color: var(--white);
    background: var(--blue);
}

.skip-link:focus {
    left: 1rem;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(219, 228, 239, .85);
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(16px);
}

.top-bar {
    color: #dbeafe;
    background: var(--ink);
    font-size: .88rem;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    min-height: 40px;
}

.top-bar-inner div {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.top-bar a {
    display: inline-flex;
    gap: .4rem;
    align-items: center;
    color: var(--white);
    font-weight: 750;
}

.top-bar svg {
    width: 16px;
    height: 16px;
}

.navbar {
    padding: .9rem 0;
}

.navbar-brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    color: var(--ink);
    font-weight: 800;
    font-size: 1.25rem;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    color: var(--white);
    background: linear-gradient(135deg, var(--blue), var(--violet));
}

.nav-link {
    color: var(--navy);
    font-weight: 650;
    font-size: .95rem;
}

.nav-link:hover {
    color: var(--blue);
}

.btn {
    border-radius: 8px;
    font-weight: 750;
}

.btn-primary {
    border-color: var(--blue);
    background: linear-gradient(135deg, var(--blue), var(--violet));
    box-shadow: 0 14px 28px rgba(29, 78, 216, .2);
}

.btn-outline-light {
    border-color: rgba(255, 255, 255, .45);
    color: var(--white);
}

.btn-outline-dark {
    border-color: var(--line);
    color: var(--ink);
}

.hero-section {
    position: relative;
    overflow: hidden;
    padding: clamp(4rem, 8vw, 7rem) 0 3rem;
    color: var(--white);
    background:
        radial-gradient(circle at 75% 20%, rgba(14, 165, 233, .28), transparent 34rem),
        linear-gradient(145deg, #050914 0%, #0b1730 52%, #102348 100%);
}

.hero-grid,
.split-grid,
.contact-grid,
.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, .9fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

.hero-copy h1,
.hero-copy p {
    color: var(--white);
}

.hero-copy p {
    max-width: 650px;
    color: #cbd5e1;
    font-size: 1.16rem;
}

.eyebrow {
    display: inline-flex;
    margin-bottom: .9rem;
    color: var(--cyan);
    font-size: .78rem;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
    margin-top: 1.7rem;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .8rem;
    max-width: 620px;
    margin-top: 2rem;
}

.hero-metrics div {
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .06);
}

.hero-metrics strong,
.hero-metrics span {
    display: block;
}

.hero-metrics span {
    color: #cbd5e1;
    font-size: .9rem;
}

.hero-media img {
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: var(--radius);
    box-shadow: 0 38px 90px rgba(0, 0, 0, .35);
}

.intro-section {
    padding-bottom: 2rem;
}

.intro-grid {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(320px, 1fr);
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: start;
}

.insight-grid,
.stat-board {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .9rem;
}

.insight-grid div,
.stat-board div {
    min-height: 136px;
    padding: 1.15rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 12px 36px rgba(8, 20, 42, .05);
}

.insight-grid strong,
.stat-board strong {
    display: block;
    color: var(--blue);
    font-size: 1.35rem;
    line-height: 1;
}

.insight-grid span,
.stat-board span {
    display: block;
    margin-top: .75rem;
    color: var(--ink);
    font-weight: 780;
}

.trust-strip {
    padding: 1rem 0;
    border-bottom: 1px solid var(--line);
    background: var(--white);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: .75rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: .55rem;
    min-height: 52px;
    color: var(--navy);
    font-weight: 700;
    font-size: .92rem;
}

.trust-item svg,
.feature-row svg,
.contact-info svg {
    width: 20px;
    height: 20px;
    color: var(--blue);
    flex: 0 0 auto;
}

.section {
    padding: clamp(4rem, 7vw, 6.5rem) 0;
}

.section-muted {
    background: var(--soft);
}

.section-dark {
    color: #d6e1ee;
    background: var(--navy);
}

.section-dark h2,
.section-dark h3 {
    color: var(--white);
}

.section-heading {
    max-width: 780px;
    margin-bottom: 2rem;
}

.section-heading p {
    font-size: 1.05rem;
}

.section-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin: -1rem 0 1.5rem;
}

.bottom-actions {
    margin: 1.5rem 0 0;
}

.service-grid,
.reference-grid,
.blog-grid,
.process-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.service-grid.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card,
.reference-card,
.blog-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 12px 36px rgba(8, 20, 42, .06);
}

.service-card:hover,
.reference-card:hover,
.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.service-card,
.reference-card,
.blog-card {
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.dark-card {
    border-color: rgba(255, 255, 255, .14);
    background: rgba(255, 255, 255, .06);
}

.dark-card p {
    color: #cbd5e1;
}

.service-card,
.blog-card {
    padding: 1.4rem;
}

.service-card p,
.blog-card p,
.reference-card p {
    color: var(--muted);
}

.service-card a,
.blog-card a,
.reference-card a,
.reference-badge {
    color: var(--blue);
    font-weight: 800;
}

.reference-badge {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: .35rem .65rem;
    border-radius: var(--radius);
    color: var(--blue);
    background: #eff6ff;
    font-size: .86rem;
}

.icon-box {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
    border-radius: 8px;
    color: var(--white);
    background: var(--ink);
}

.icon-box svg {
    width: 23px;
    height: 23px;
}

.feature-list {
    display: grid;
    gap: .8rem;
}

.feature-list.light {
    padding: 1.2rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
}

.feature-row {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .95rem 1rem;
    border: 1px solid rgba(219, 228, 239, .16);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .06);
}

.feature-list.light .feature-row {
    border-color: var(--line);
    background: var(--soft);
}

.content-cluster {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}

.content-cluster a {
    display: inline-flex;
    align-items: center;
    min-height: 46px;
    padding: .65rem 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--ink);
    background: var(--white);
    font-weight: 800;
}

.content-cluster a:hover {
    color: var(--white);
    border-color: var(--blue);
    background: var(--blue);
}

.conversion-panel-preview {
    display: grid;
    gap: .8rem;
    padding: 1.2rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
}

.conversion-panel-preview span {
    color: var(--muted);
    font-size: .86rem;
    font-weight: 850;
    text-transform: uppercase;
}

.conversion-panel-preview a {
    display: flex;
    align-items: center;
    gap: .7rem;
    padding: 1rem;
    border-radius: var(--radius);
    color: var(--ink);
    background: var(--soft);
    font-weight: 820;
}

.conversion-panel-preview svg {
    color: var(--blue);
}

.reference-card {
    overflow: hidden;
    position: relative;
    background: #fff;
}

.reference-shot {
    position: relative;
    overflow: hidden;
    min-height: 230px;
    background: #eaf1fb;
}

.reference-shot > img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: top center;
    transform: scale(1.01);
    transition: transform .35s ease, filter .35s ease;
}

.reference-card:hover .reference-shot > img {
    transform: scale(1.045);
    filter: saturate(1.06) contrast(1.02);
}

.reference-shot::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 45%;
    background: linear-gradient(180deg, transparent, rgba(7, 17, 31, .62));
}

.reference-logo {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 138px;
    min-height: 70px;
    padding: .65rem .8rem;
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 18px 36px rgba(8, 20, 42, .16);
}

.reference-logo img {
    width: 100%;
    max-height: 54px;
    object-fit: contain;
    border-radius: 0;
}

.reference-content {
    padding: 1.25rem;
}

.reference-card span,
.blog-card time {
    color: var(--violet);
    font-size: .82rem;
    font-weight: 850;
    text-transform: uppercase;
}

.process-section {
    background: var(--soft);
}

.process-item {
    min-height: 150px;
    padding: 1.2rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
}

.process-item span {
    color: var(--blue);
    font-weight: 900;
    font-size: 1.6rem;
}

.deliverable-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .9rem;
}

.deliverable-item {
    display: flex;
    gap: .7rem;
    align-items: flex-start;
    min-height: 112px;
    padding: 1.05rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--ink);
    background: var(--white);
    font-weight: 780;
}

.deliverable-item svg {
    color: var(--blue);
    flex: 0 0 auto;
}

.timeline-list {
    display: grid;
    gap: 1rem;
}

.timeline-item {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr);
    gap: 1rem;
    padding: 1.25rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 12px 36px rgba(8, 20, 42, .05);
}

.timeline-item > span {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border-radius: var(--radius);
    color: var(--white);
    background: linear-gradient(135deg, var(--blue), var(--violet));
    font-weight: 900;
}

.timeline-item h2 {
    margin-bottom: .4rem;
    font-size: 1.45rem;
}

.faq-list {
    display: grid;
    gap: .8rem;
    max-width: 900px;
}

.faq-list details {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
}

.faq-list summary {
    cursor: pointer;
    padding: 1.1rem 1.2rem;
    color: var(--ink);
    font-weight: 800;
}

.faq-list p {
    padding: 0 1.2rem 1.1rem;
    margin: 0;
}

.cta-section {
    padding: 0 0 5rem;
}

.cta-box {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    align-items: center;
    padding: clamp(1.5rem, 4vw, 3rem);
    border-radius: var(--radius);
    color: var(--white);
    background: linear-gradient(135deg, var(--ink), #102348);
}

.cta-box h2,
.cta-box p {
    color: var(--white);
}

.page-hero {
    padding: clamp(4rem, 8vw, 6.5rem) 0;
    color: var(--white);
    background:
        linear-gradient(rgba(5, 9, 20, .78), rgba(5, 9, 20, .9)),
        url("../images/anajans/service-technology.webp") center / cover;
}

.page-hero h1,
.page-hero p {
    color: var(--white);
}

.narrow {
    max-width: 860px;
}

.contact-grid {
    align-items: start;
}

.contact-info,
.contact-form {
    padding: 1.4rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
}

.contact-info a,
.contact-info span {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .9rem 0;
    border-bottom: 1px solid var(--line);
    font-weight: 750;
}

.map-embed {
    overflow: hidden;
    margin-top: 1.2rem;
    border-radius: var(--radius);
    background: var(--soft);
}

.map-embed iframe {
    width: 100%;
    height: 270px;
    border: 0;
}

.contact-form {
    display: grid;
    gap: 1rem;
}

.contact-form label {
    display: grid;
    gap: .4rem;
    color: var(--ink);
    font-weight: 750;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: .85rem .95rem;
    color: var(--ink);
    font: inherit;
    background: var(--white);
}

.hp-field {
    position: absolute;
    left: -9999px;
}

.form-note {
    padding: .9rem 1rem;
    border-radius: var(--radius);
    color: #14532d;
    background: #dcfce7;
    font-weight: 800;
}

.article-page h1 {
    margin-bottom: .8rem;
}

.article-page time {
    color: var(--muted);
    font-weight: 750;
}

.article-cta {
    margin-top: 2rem;
    padding: 1.4rem;
    border-radius: var(--radius);
    color: var(--white);
    background: linear-gradient(135deg, var(--ink), #12315f);
}

.article-cta h2,
.article-cta p {
    color: var(--white);
}

.site-footer {
    padding: 4rem 0 1.4rem;
    color: #cbd5e1;
    background: var(--ink);
}

.site-footer h2 {
    color: var(--white);
    font-size: 1rem;
}

.site-footer ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.site-footer a {
    color: #dbeafe;
}

.footer-brand {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-grid {
    align-items: start;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, .12);
    font-size: .9rem;
}

.floating-contact {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 60;
    width: min(330px, calc(100vw - 28px));
    overflow: hidden;
    border-radius: 8px;
    background: var(--white);
    border: 1px solid rgba(219, 228, 239, .9);
    box-shadow: 0 22px 54px rgba(8, 20, 42, .22);
}

.floating-note {
    padding: .95rem 1rem .8rem;
    color: var(--white);
    background: linear-gradient(135deg, var(--ink), #12315f);
}

.floating-note strong,
.floating-note span {
    display: block;
}

.floating-note span {
    color: #cbd5e1;
    font-size: .9rem;
}

.floating-actions {
    display: grid;
    grid-template-columns: .8fr 1fr;
    gap: .55rem;
    padding: .65rem;
}

.floating-actions a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: .45rem;
    min-height: 46px;
    border-radius: var(--radius);
    color: var(--white);
    font-weight: 850;
}

.floating-call {
    background: var(--blue);
}

.floating-whatsapp {
    background: #16a34a;
}

.floating-actions svg {
    width: 20px;
    height: 20px;
}

@media (max-width: 991px) {
    .hero-grid,
    .split-grid,
    .contact-grid,
    .footer-grid,
    .intro-grid {
        grid-template-columns: 1fr;
    }

    .trust-grid,
    .service-grid,
    .reference-grid,
    .blog-grid,
    .process-grid,
    .service-grid.three,
    .deliverable-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .navbar-collapse {
        padding-top: 1rem;
    }
}

@media (max-width: 640px) {
    .top-bar-inner,
    .top-bar-inner div {
        align-items: flex-start;
        flex-direction: column;
        gap: .25rem;
        padding: .35rem 0;
    }

    .hero-section {
        padding: 2.6rem 0 2rem;
    }

    .section {
        padding: 3rem 0;
    }

    h1 {
        font-size: 2.35rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .hero-copy p {
        font-size: 1rem;
    }

    .hero-media {
        display: none;
    }

    .trust-strip {
        display: none;
    }

    .service-card,
    .blog-card,
    .reference-card,
    .contact-info,
    .contact-form {
        box-shadow: 0 10px 28px rgba(8, 20, 42, .08);
    }

    .service-card,
    .blog-card {
        padding: 1.15rem;
    }

    .reference-shot {
        min-height: 190px;
    }

    .reference-logo {
        left: .8rem;
        bottom: .8rem;
        width: 124px;
        min-height: 62px;
    }

    .section-heading {
        margin-bottom: 1.25rem;
    }

    .hero-metrics,
    .trust-grid,
    .service-grid,
    .reference-grid,
    .blog-grid,
    .process-grid,
    .service-grid.three,
    .deliverable-grid,
    .insight-grid,
    .stat-board {
        grid-template-columns: 1fr;
    }

    .hero-actions,
    .cta-box,
    .footer-bottom {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-actions .btn,
    .cta-box .btn {
        width: 100%;
    }

    .timeline-item {
        grid-template-columns: 1fr;
    }

    .floating-contact {
        right: 14px;
        bottom: 14px;
    }

    .floating-note {
        display: none;
    }
}
