/* ────────────────────────────────────────────────────────────
   Inforology Soft Tech — site stylesheet
   Palette:
     --ink        #0E1D2E  deep industrial navy
     --panel      #132638  navy panel
     --steel      #3D5166  steel line
     --mist       #8FA1B3  muted steel text
     --paper      #F5F6F4  workshop off-white
     --amber      #F2A81D  safety amber (accent — spend sparingly)
   Type:
     Display  Archivo (expanded width)
     Body     IBM Plex Sans
     Utility  IBM Plex Mono
──────────────────────────────────────────────────────────── */

:root {
    --ink:   #0E1D2E;
    --panel: #132638;
    --steel: #3D5166;
    --mist:  #8FA1B3;
    --paper: #F5F6F4;
    --amber: #F2A81D;
    --amber-dark: #C9860A;

    --font-display: "Archivo", sans-serif;
    --font-body: "IBM Plex Sans", sans-serif;
    --font-mono: "IBM Plex Mono", monospace;

    --wrap: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { animation: none !important; transition: none !important; }
}

body {
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--ink);
    background: var(--paper);
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.25rem; }

h1, h2, h3 {
    font-family: var(--font-display);
    font-stretch: 125%;
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 1rem; }
h3 { font-size: 1.15rem; }

a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
    outline: 3px solid var(--amber);
    outline-offset: 2px;
}

.eyebrow {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--amber-dark);
    margin-bottom: 0.9rem;
}
.eyebrow-light { color: var(--amber); }

/* ── Header ─────────────────────────────────────────────── */
.site-header {
    background: var(--ink);
    color: var(--paper);
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid var(--steel);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 64px;
}
.brand { display: flex; align-items: center; gap: 0.65rem; text-decoration: none; }
.brand-mark {
    font-family: var(--font-mono);
    font-weight: 500;
    background: var(--amber);
    color: var(--ink);
    padding: 0.2rem 0.45rem;
    border-radius: 4px;
    font-size: 0.9rem;
}
.brand-name { font-family: var(--font-display); font-stretch: 125%; font-weight: 600; }
.brand-name em { font-style: normal; color: var(--mist); }

.nav { display: flex; align-items: center; gap: 1.4rem; }
.nav a {
    text-decoration: none;
    font-size: 0.95rem;
    color: var(--paper);
    padding: 0.3rem 0;
    border-bottom: 2px solid transparent;
}
.nav a:hover, .nav a.active { border-bottom-color: var(--amber); }
.nav-cta {
    background: var(--amber);
    color: var(--ink) !important;
    padding: 0.45rem 1rem !important;
    border-radius: 5px;
    font-weight: 600;
    border-bottom: none !important;
}
.nav-cta:hover { background: #ffbe3d; }

/* ── Buttons ────────────────────────────────────────────── */
.btn {
    display: inline-block;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border: none;
    border-radius: 6px;
    padding: 0.7rem 1.4rem;
    cursor: pointer;
}
.btn-lg { padding: 0.85rem 1.8rem; font-size: 1.05rem; }
.btn-primary { background: var(--amber); color: var(--ink); }
.btn-primary:hover { background: #ffbe3d; }
.btn-ghost {
    background: transparent;
    color: inherit;
    border: 1.5px solid var(--steel);
}
.btn-ghost:hover { border-color: var(--amber); }

/* ── Hero ───────────────────────────────────────────────── */
.hero {
    background: var(--ink);
    color: var(--paper);
    padding: 4.5rem 0 4rem;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
    align-items: center;
}
.hero-sub {
    font-size: 1.15rem;
    color: var(--mist);
    margin: 1.2rem 0 1.8rem;
    max-width: 34rem;
}
.hero-actions { display: flex; gap: 0.9rem; flex-wrap: wrap; margin-bottom: 2rem; }
.hero-points { list-style: none; }
.hero-points li {
    font-size: 0.95rem;
    color: var(--mist);
    padding-left: 1.3rem;
    position: relative;
    margin-bottom: 0.45rem;
}
.hero-points li::before {
    content: "▸";
    color: var(--amber);
    position: absolute;
    left: 0;
}

.hero-schematic svg { width: 100%; height: auto; display: block; }
.hero-schematic figcaption {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--mist);
    text-align: center;
    margin-top: 0.6rem;
}
.svg-hub-a { font-family: var(--font-mono); font-size: 15px; fill: #0E1D2E; }
.svg-hub-b { font-family: var(--font-mono); font-size: 20px; font-weight: 500; fill: #0E1D2E; }
.svg-node  { font-family: var(--font-mono); font-size: 13px; fill: #F5F6F4; }

/* ── Sections ───────────────────────────────────────────── */
.section { padding: 4.5rem 0; }
.section-dark {
    background: var(--panel);
    color: var(--paper);
}

/* Services cards */
.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.4rem;
    margin-top: 2.2rem;
}
.card {
    background: #fff;
    border: 1px solid #E1E5E2;
    border-top: 3px solid var(--amber);
    border-radius: 8px;
    padding: 1.6rem 1.5rem;
}
.card h3 { margin-bottom: 0.7rem; }
.card p { font-size: 0.98rem; }
.card-tags {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--steel);
    margin-top: 1rem;
}

/* Why us */
.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}
.why-lede { color: var(--mist); font-size: 1.1rem; margin-top: 0.5rem; }
.why-list { list-style: none; display: grid; gap: 1.1rem; }
.why-list li {
    border-left: 3px solid var(--amber);
    padding-left: 1rem;
    font-size: 0.98rem;
    color: var(--mist);
}
.why-list strong { color: var(--paper); display: block; }

/* CTA band */
.cta-band { background: var(--paper); }
.cta-inner {
    text-align: center;
    max-width: 42rem;
}
.cta-inner p { margin: 0.6rem 0 1.6rem; color: var(--steel); }

/* ── Contact ────────────────────────────────────────────── */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 3rem;
    align-items: start;
}
.contact-details { margin-top: 2rem; }
.contact-details dt {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--steel);
    margin-top: 1rem;
}
.contact-details dd a { color: var(--ink); }

.contact-form-panel {
    background: #fff;
    border: 1px solid #E1E5E2;
    border-radius: 8px;
    padding: 2rem 1.8rem;
}
label { display: block; font-weight: 600; font-size: 0.92rem; margin: 1.1rem 0 0.35rem; }
label:first-of-type { margin-top: 0; }
.optional { font-weight: 400; color: var(--steel); }
input[type="text"], input[type="email"], input[type="password"], textarea {
    width: 100%;
    font: inherit;
    padding: 0.65rem 0.8rem;
    border: 1.5px solid #C9D0CC;
    border-radius: 6px;
    background: var(--paper);
}
input:focus, textarea:focus { border-color: var(--amber-dark); }
form .btn { margin-top: 1.4rem; }
.field-error { color: #B3261E; font-size: 0.88rem; margin-top: 0.3rem; }
.alert {
    border-radius: 6px;
    padding: 0.9rem 1.1rem;
    margin-bottom: 1.4rem;
    font-size: 0.95rem;
}
.alert-success { background: #E7F2E4; border: 1px solid #9CC28F; color: #2E5525; }

/* ── Admin ──────────────────────────────────────────────── */
.admin-login { max-width: 26rem; }
.admin-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; }
.admin-hint { color: var(--steel); font-size: 0.95rem; max-width: 46rem; margin-bottom: 1.6rem; }
.char-hint { font-weight: 400; color: var(--steel); font-size: 0.8rem; }
.seo-card {
    background: #fff;
    border: 1px solid #E1E5E2;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.4rem;
}
.seo-card h3 { margin-bottom: 0.6rem; }
.admin-inbox-title { margin-top: 3rem; }
.inquiry {
    background: #fff;
    border: 1px solid #E1E5E2;
    border-radius: 8px;
    padding: 1.1rem 1.3rem;
    margin-top: 1rem;
    font-size: 0.95rem;
}
.inquiry header {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    align-items: baseline;
    margin-bottom: 0.4rem;
    color: var(--steel);
}
.inquiry time { margin-left: auto; font-family: var(--font-mono); font-size: 0.78rem; }

/* ── Footer ─────────────────────────────────────────────── */
.site-footer {
    background: var(--ink);
    color: var(--mist);
    padding: 3rem 0 1.5rem;
    font-size: 0.92rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--steel);
}
.footer-brand { color: var(--paper); font-weight: 600; margin-bottom: 0.4rem; }
.footer-tag { max-width: 30rem; }
.footer-contact { display: grid; gap: 0.4rem; align-content: start; justify-items: start; }
.footer-contact a { color: var(--paper); text-decoration: none; border-bottom: 1px solid var(--steel); }
.footer-contact a:hover { border-bottom-color: var(--amber); }
.footer-legal {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    padding-top: 1.2rem;
}
.footer-modules { font-family: var(--font-mono); font-size: 0.78rem; }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 860px) {
    .hero-grid, .why-grid, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
    .cards { grid-template-columns: 1fr; }
    .hero { padding: 3rem 0; }
    .section { padding: 3rem 0; }
    .nav { gap: 0.9rem; }
    .brand-name { display: none; }
}

/* ── Additions: 4-card grid, highlights table, timeline, alt section ── */
.cards-4 { grid-template-columns: repeat(2, 1fr); }

.section-alt { background: #ECEFEA; }

.table-scroll { overflow-x: auto; margin-top: 2rem; }
.highlights-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    font-size: 0.93rem;
    min-width: 720px;
}
.highlights-table th {
    background: var(--ink);
    color: var(--paper);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-align: left;
    padding: 0.7rem 0.9rem;
}
.highlights-table td {
    padding: 0.65rem 0.9rem;
    border-bottom: 1px solid #E1E5E2;
}
.highlights-table td:first-child { font-weight: 600; }
.highlights-table tbody tr:nth-child(even) { background: #F7F8F6; }
.highlights-table td:last-child { font-family: var(--font-mono); font-size: 0.82rem; }

.timeline {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.6rem;
    margin: 2.4rem 0 2.8rem;
}
.timeline li {
    border-top: 3px solid var(--amber);
    padding-top: 0.9rem;
}
.timeline-year {
    font-family: var(--font-mono);
    color: var(--amber);
    font-size: 0.95rem;
    display: block;
    margin-bottom: 0.3rem;
}
.timeline strong { color: var(--paper); display: block; margin-bottom: 0.3rem; }
.timeline p { color: var(--mist); font-size: 0.93rem; }

@media (max-width: 860px) {
    .cards-4 { grid-template-columns: 1fr; }
    .timeline { grid-template-columns: 1fr; }
}

/* ── Logo in header ── */
.brand-logo { height: 40px; width: auto; display: block; }
