:root {
    --ink: #10202a;
    --muted: #52646f;
    --line: #d9e2e4;
    --surface: #f4f7fb;
    --white: #ffffff;
    --brand-blue: #06269b;
    --brand-blue-dark: #031653;
    --brand-green: #20f20f;
    --brand-green-dark: #0e8a1f;
    --brand-sky: #1685df;
    --orb-grey: #8c8f93;
    --shadow: 0 18px 45px rgba(3, 22, 83, 0.13);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.55;
}

body.admin-page {
    min-height: 100vh;
    background:
        linear-gradient(135deg, rgba(3, 22, 83, 0.96), rgba(6, 38, 155, 0.82)),
        url("office-it-hero.png") center / cover fixed no-repeat;
}

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

a {
    color: var(--brand-blue);
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.18em;
}

.container {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.narrow {
    width: min(780px, calc(100% - 32px));
}

.skip-link {
    position: absolute;
    top: -60px;
    left: 16px;
    z-index: 5;
    background: var(--ink);
    color: var(--white);
    padding: 10px 12px;
}

.skip-link:focus {
    top: 16px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 3;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
}

.header-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: var(--ink);
    text-decoration: none;
    min-width: max-content;
}

.brand-logo {
    width: min(318px, 54vw);
    height: auto;
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
}

.site-nav a {
    color: var(--ink);
    text-decoration: none;
    padding: 8px 10px;
    border-radius: 7px;
    font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
    background: #edf3ff;
    color: var(--brand-blue);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 16px;
    border: 1px solid transparent;
    border-radius: 7px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.button.primary {
    color: var(--white);
    background: var(--brand-blue);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: max-content;
}

.header-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 14px;
    border: 1px solid transparent;
    border-radius: 7px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
}

.phone-action {
    color: var(--white);
    background: var(--brand-blue);
}

.whatsapp-action {
    color: #ffffff;
    background: var(--brand-green-dark);
}

.whatsapp-action img {
    width: 21px;
    height: 21px;
    flex: 0 0 auto;
}

.button.secondary {
    color: var(--ink);
    background: rgba(255, 255, 255, 0.88);
    border-color: rgba(255, 255, 255, 0.55);
}

.hero {
    position: relative;
    min-height: 680px;
    display: grid;
    align-items: center;
    overflow: hidden;
    color: var(--white);
    background: var(--brand-blue-dark);
}

.hero-media {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(3, 22, 83, 0.94) 0%, rgba(3, 22, 83, 0.74) 42%, rgba(3, 22, 83, 0.2) 100%),
        url("office-it-hero.png") center / cover no-repeat;
}

.hero-content {
    position: relative;
    padding: 96px 0 128px;
}

.hero h1,
.page-hero h1 {
    margin: 0;
    max-width: 760px;
    font-size: clamp(2.55rem, 6vw, 5.3rem);
    line-height: 1.02;
    letter-spacing: 0;
}

.hero-copy {
    max-width: 650px;
    margin: 24px 0 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.16rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--brand-green);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.section {
    padding: 82px 0;
}

.intro-section {
    background: var(--surface);
}

.split {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 48px;
    align-items: start;
}

h2 {
    margin: 0 0 16px;
    font-size: clamp(1.8rem, 3vw, 2.7rem);
    line-height: 1.12;
    letter-spacing: 0;
}

h3 {
    margin: 16px 0 8px;
    font-size: 1.16rem;
    letter-spacing: 0;
}

p {
    margin: 0 0 16px;
}

.section-heading {
    max-width: 720px;
    margin-bottom: 30px;
}

.service-band {
    background: #fff;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.service-grid article,
.insight-card,
.contact-form,
.contact-panel,
.service-list article {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 10px 30px rgba(16, 32, 42, 0.06);
}

.service-grid article {
    padding: 24px;
    min-height: 236px;
}

.icon {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 8px;
    color: var(--white);
    background: var(--brand-sky);
    font-weight: 800;
}

.cta-row {
    background: var(--brand-blue);
    color: var(--white);
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.cta-inner .button {
    background: var(--white);
    color: var(--brand-blue);
}

.page-hero {
    position: relative;
    overflow: hidden;
    padding: 108px 0 78px;
    color: var(--white);
    background: var(--brand-blue-dark);
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(3, 22, 83, 0.94) 0%, rgba(3, 22, 83, 0.78) 52%, rgba(3, 22, 83, 0.42) 100%),
        url("office-it-hero.png") center / cover no-repeat;
}

.page-hero .container {
    position: relative;
}

.page-hero .narrow {
    width: min(1120px, calc(100% - 32px));
}

.page-hero p:not(.eyebrow) {
    max-width: 780px;
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 1.12rem;
}

.service-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.service-list article {
    padding: 28px;
}

.service-list h2,
.insight-card h2,
.contact-panel h2 {
    font-size: 1.28rem;
    line-height: 1.25;
}

.map-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    text-decoration: none;
}

.map-link svg {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    fill: var(--brand-sky);
}

.map-link:hover span {
    text-decoration: underline;
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.18em;
}

.insights-list {
    display: grid;
    gap: 16px;
}

.insight-card {
    padding: 28px;
}

.article-section {
    background: var(--surface);
}

.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 28px;
    align-items: start;
}

.article-body,
.article-aside {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 10px 30px rgba(16, 32, 42, 0.06);
}

.article-body {
    padding: 34px;
}

.article-body h2 {
    margin-top: 34px;
    font-size: clamp(1.55rem, 2.3vw, 2.2rem);
}

.article-body h3 {
    margin-top: 24px;
    color: var(--brand-blue);
}

.article-body p {
    font-size: 1.04rem;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    font-weight: 700;
}

.article-attribution {
    margin-top: 32px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.95rem;
}

.article-aside {
    position: sticky;
    top: 100px;
    padding: 24px;
}

.article-aside h2 {
    font-size: 1.24rem;
}

.pill,
.date {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    margin: 0 8px 12px 0;
    padding: 4px 9px;
    border-radius: 999px;
    font-size: 0.82rem;
}

.pill {
    color: var(--brand-blue);
    background: #edf3ff;
    font-weight: 700;
}

.date {
    color: var(--muted);
    background: #f3f5f5;
}

.values {
    display: grid;
    gap: 14px;
}

.values p {
    padding-left: 18px;
    border-left: 3px solid var(--brand-green);
}

.legal-section {
    background: var(--surface);
}

.legal-layout {
    display: grid;
    grid-template-columns: minmax(240px, 0.35fr) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.legal-note,
.legal-content article {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 10px 30px rgba(16, 32, 42, 0.06);
}

.legal-note {
    position: sticky;
    top: 100px;
    padding: 24px;
}

.legal-note h2,
.legal-content h2 {
    font-size: 1.28rem;
    line-height: 1.25;
}

.legal-content {
    display: grid;
    gap: 16px;
}

.legal-content article {
    padding: 28px;
}

.contact-section {
    background: var(--surface);
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: 24px;
    align-items: start;
}

.contact-form,
.contact-panel {
    padding: 28px;
}

.contact-form {
    display: grid;
    gap: 16px;
}

.form-honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

label {
    display: grid;
    gap: 7px;
    color: var(--ink);
    font-weight: 700;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid #c8d4d7;
    border-radius: 7px;
    padding: 12px 13px;
    color: var(--ink);
    font: inherit;
    background: var(--white);
}

textarea {
    resize: vertical;
}

.notice {
    padding: 12px 14px;
    border-radius: 7px;
    font-weight: 700;
}

.notice.success {
    color: #14532d;
    background: #dcfce7;
}

.notice.error {
    color: #7f1d1d;
    background: #fee2e2;
}

.admin-shell {
    padding: 32px 0;
}

.admin-card {
    width: min(1180px, calc(100% - 28px));
    margin: 0 auto;
    padding: 28px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: var(--shadow);
}

.admin-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
}

.admin-head img {
    width: min(330px, 70vw);
}

.admin-card h1 {
    margin: 0 0 10px;
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: 0;
}

.admin-form {
    display: grid;
    gap: 16px;
}

.upload-form {
    grid-template-columns: minmax(0, 1fr) minmax(200px, 0.28fr) minmax(200px, 0.28fr) auto;
    align-items: end;
    margin: 28px 0;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
}

.admin-editor {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 24px;
    align-items: start;
    margin-top: 28px;
}

.editor-form {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 10px 30px rgba(16, 32, 42, 0.06);
}

.editor-form h2 {
    font-size: 1.35rem;
}

.admin-two {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.admin-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.admin-preview {
    max-height: 76vh;
    overflow: auto;
}

.admin-preview h1 {
    margin-top: 0;
    font-size: clamp(1.9rem, 3vw, 2.7rem);
    line-height: 1.08;
}

.lead-preview {
    color: var(--muted);
    font-weight: 700;
}

.site-footer {
    padding: 54px 0 24px;
    color: #dbe5e7;
    background: var(--brand-blue-dark);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 36px;
}

.footer-brand {
    color: var(--white);
    margin-bottom: 16px;
}

.footer-logo {
    width: min(360px, 88vw);
    background: var(--white);
    border-radius: 8px;
    padding: 8px;
}

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

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 36px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    font-size: 0.9rem;
}

@media (max-width: 900px) {
    .header-inner {
        min-height: auto;
        padding: 14px 0;
        flex-wrap: wrap;
    }

    .site-nav {
        order: 3;
        width: 100%;
        justify-content: flex-start;
    }

    .brand-logo {
        width: min(280px, 70vw);
    }

    .hero {
        min-height: 620px;
    }

    .split,
    .contact-grid,
    .article-layout,
    .legal-layout,
    .admin-editor,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .article-aside,
    .legal-note {
        position: static;
    }

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

@media (max-width: 620px) {
    .container,
    .narrow {
        width: min(100% - 24px, 1120px);
    }

    .header-actions {
        width: 100%;
        order: 4;
        min-width: 0;
    }

    .header-action {
        flex: 1 1 0;
        min-width: 0;
    }

    .header-action span {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .site-nav a {
        padding: 7px 8px;
    }

    .brand-logo {
        width: min(230px, 72vw);
    }

    .hero {
        min-height: 640px;
    }

    .hero-media {
        background:
            linear-gradient(180deg, rgba(3, 22, 83, 0.94) 0%, rgba(3, 22, 83, 0.78) 64%, rgba(3, 22, 83, 0.52) 100%),
            url("office-it-hero.png") center / cover no-repeat;
    }

    .hero-content {
        padding: 72px 0 96px;
    }

    .hero h1,
    .page-hero h1 {
        font-size: 2.55rem;
    }

    .service-grid,
    .service-list {
        grid-template-columns: 1fr;
    }

    .upload-form,
    .admin-two {
        grid-template-columns: 1fr;
    }

    .article-body {
        padding: 24px;
    }

    .cta-inner,
    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }
}
