/* ============================================================
   SG TECH — Managed IT & Support Stylesheet
   Aesthetic: Deep navy · Copper accent · Clean & dependable
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700&family=Inter:wght@400;500;600&display=swap');

/* ── VARIABLES ────────────────────────────────────────────── */
:root {
    --ink:         #15233b;   /* deep navy — header, footer, nav, headings */
    --ink-700:     #22374f;
    --ink-600:     #33486a;
    --paper:       #f4f6f9;   /* page background (cool light) */
    --paper-warm:  #eaeef4;   /* alternating band */
    --surface:     #ffffff;   /* cards */
    --line:        #dbe2ec;   /* borders / dividers */
    --copper:      #d9822b;   /* primary accent + CTA */
    --copper-deep: #b5641d;   /* accent hover */
    --copper-soft: #f6e8d6;   /* tinted chips behind icons */
    --online:      #2fae7a;   /* status dot */
    --text:        #1c2739;   /* primary text */
    --text-soft:   #55637a;   /* secondary text */
    --text-mute:   #8393a8;   /* muted text */
    --white:       #ffffff;
    --shadow-sm:   0 1px 3px rgba(21,35,59,0.06), 0 1px 2px rgba(21,35,59,0.04);
    --shadow-md:   0 6px 22px rgba(21,35,59,0.09);
    --shadow-lg:   0 16px 44px rgba(21,35,59,0.14);
    --radius:      10px;
    --radius-lg:   16px;
    --transition:  0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── RESET & BASE ─────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 400;
    background-color: var(--paper);
    color: var(--text);
    line-height: 1.65;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }

/* ── TYPOGRAPHY ───────────────────────────────────────────── */
h1, h2, h3, h4 {
    font-family: 'Sora', sans-serif;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: var(--ink);
}

/* ── FADE-IN (single, gentle reveal) ──────────────────────── */
.fade-in {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
    .fade-in { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
}

/* ── HEADER ───────────────────────────────────────────────── */
header {
    background: var(--ink);
    color: var(--white);
    text-align: center;
    padding: 40px 20px 34px;
    position: relative;
    overflow: hidden;
}
header::before {
    content: '';
    position: absolute; inset: 0;
    background:
      radial-gradient(circle at 88% 12%, rgba(217,130,43,0.18) 0%, transparent 42%),
      linear-gradient(180deg, rgba(255,255,255,0.03), transparent 40%);
    pointer-events: none;
}
header a, header a:visited { color: var(--white); }
.header-content { position: relative; z-index: 1; }
.brand-mark {
    display: inline-flex;
    align-items: baseline;
    gap: 3px;
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: 2.5rem;
    letter-spacing: -0.02em;
    color: var(--white);
}
.brand-mark .dot { color: var(--copper); }
header .credentials {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--copper);
    margin-bottom: 12px;
}
header .tagline {
    font-size: 1rem;
    color: rgba(255,255,255,0.72);
    margin-top: 8px;
}

/* ── NAVIGATION ───────────────────────────────────────────── */
nav {
    background: var(--ink-700);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 14px rgba(21,35,59,0.28);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
nav ul {
    display: flex;
    justify-content: center;
    gap: 8px;
    list-style: none;
    flex-wrap: wrap;
}
nav a {
    display: block;
    font-weight: 500;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.78);
    padding: 16px 20px;
    position: relative;
}
nav a::after {
    content: '';
    position: absolute; bottom: 0; left: 20px; right: 20px;
    height: 2px; background: var(--copper);
    transform: scaleX(0); transform-origin: left;
    transition: transform var(--transition);
}
nav a:hover { color: var(--white); }
nav a:hover::after,
nav a[aria-current="page"]::after { transform: scaleX(1); }
nav a[aria-current="page"] { color: var(--white); }

/* ── SECTIONS ─────────────────────────────────────────────── */
.section {
    max-width: 1080px;
    margin: 0 auto;
    padding: 76px 24px;
}
.section.center { text-align: center; }
.section h2 {
    font-size: 2rem;
    margin-bottom: 14px;
}
.section .lead {
    max-width: 640px;
    font-size: 1.08rem;
    line-height: 1.75;
    color: var(--text-soft);
}
.section.center .lead { margin-left: auto; margin-right: auto; }

.band { background: var(--paper-warm); }
.band-ink { background: var(--ink); color: rgba(255,255,255,0.82); }
.band-ink h2 { color: var(--white); }

.eyebrow {
    display: inline-block;
    font-family: 'Sora', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--copper);
    margin-bottom: 10px;
}

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
    background: var(--ink);
    color: var(--white);
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute; inset: 0;
    background:
      radial-gradient(circle at 82% 30%, rgba(217,130,43,0.16) 0%, transparent 46%),
      radial-gradient(circle at 8% 90%, rgba(51,72,106,0.5) 0%, transparent 40%);
    pointer-events: none;
}
.hero-inner {
    max-width: 1080px;
    margin: 0 auto;
    padding: 84px 24px 88px;
    position: relative;
    z-index: 1;
    max-width: 760px;
}
.hero .eyebrow { color: var(--copper); }
.hero h1 {
    font-size: clamp(2.1rem, 5vw, 3.15rem);
    color: var(--white);
    line-height: 1.08;
    margin-bottom: 20px;
}
.hero p {
    font-size: 1.15rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.78);
    margin-bottom: 34px;
    max-width: 600px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* ── BUTTONS ──────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 8px;
    font-family: 'Sora', sans-serif;
    font-weight: 600;
    font-size: 0.98rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: background var(--transition), border-color var(--transition), transform 0.15s, color var(--transition);
}
.btn-primary {
    background: var(--copper);
    color: var(--ink);
    box-shadow: 0 6px 18px rgba(217,130,43,0.28);
}
.btn-primary:hover { background: var(--copper-deep); color: var(--white); transform: translateY(-2px); }
.btn-ghost {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.32);
}
.btn-ghost:hover { border-color: var(--copper); color: var(--copper); }

/* ── STATUS / TRUST STRIP ─────────────────────────────────── */
.trust-strip {
    background: var(--ink-700);
    border-top: 1px solid rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.85);
}
.trust-inner {
    max-width: 1080px;
    margin: 0 auto;
    padding: 20px 24px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 14px 32px;
    font-size: 0.92rem;
}
.trust-item { display: inline-flex; align-items: center; gap: 9px; }
.status-dot {
    width: 9px; height: 9px; border-radius: 50%;
    background: var(--online);
    box-shadow: 0 0 0 0 rgba(47,174,122,0.55);
    animation: pulse 2.4s infinite;
}
@keyframes pulse {
    0%   { box-shadow: 0 0 0 0 rgba(47,174,122,0.5); }
    70%  { box-shadow: 0 0 0 7px rgba(47,174,122,0); }
    100% { box-shadow: 0 0 0 0 rgba(47,174,122,0); }
}
@media (prefers-reduced-motion: reduce) { .status-dot { animation: none; } }
.trust-item .tick { color: var(--copper); font-weight: 700; }

/* ── SERVICES GRID ────────────────────────────────────────── */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    margin-top: 44px;
}
.service-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-left: 3px solid var(--copper);
    border-radius: var(--radius);
    padding: 30px 28px;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
}
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.service-card .ic {
    width: 46px; height: 46px; border-radius: 10px;
    background: var(--copper-soft);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem; margin-bottom: 16px;
}
.service-card h3 { font-size: 1.22rem; margin-bottom: 9px; }
.service-card p { font-size: 0.96rem; color: var(--text-soft); }
.service-tag {
    display: inline-block;
    margin-top: 16px;
    padding: 4px 12px;
    background: var(--paper-warm);
    color: var(--ink-600);
    border-radius: 6px;
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

/* ── FEATURE GRID (why / what to expect / focus) ──────────── */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 44px;
    text-align: left;
}
.feature {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px 26px;
    box-shadow: var(--shadow-sm);
}
.band .feature { background: var(--surface); }
.feature .ic {
    width: 44px; height: 44px; border-radius: 10px;
    background: var(--copper-soft);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.25rem; margin-bottom: 15px;
}
.feature h3 { font-size: 1.12rem; margin-bottom: 8px; }
.feature p { font-size: 0.94rem; color: var(--text-soft); }

/* Numbered process (genuine sequence) */
.process { counter-reset: step; }
.process .feature { position: relative; }
.process .feature .step-no {
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--copper);
    letter-spacing: 0.04em;
    margin-bottom: 6px;
    display: block;
}

/* ── STAT / PULL BAND ─────────────────────────────────────── */
.stat-band {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1080px;
    margin: 0 auto;
    padding: 56px 24px;
    text-align: center;
}
.stat .num {
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: 2.6rem;
    color: var(--copper);
    line-height: 1;
}
.stat .label { color: rgba(255,255,255,0.75); font-size: 0.98rem; margin-top: 8px; }

/* ── TEAM GRID ────────────────────────────────────────────── */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    margin-top: 44px;
}
.team-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.team-photo {
    height: 260px;
    background: linear-gradient(150deg, var(--ink-600), var(--ink));
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.55);
    font-family: 'Sora', sans-serif;
    text-align: center; padding: 24px; line-height: 1.5;
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-bio { padding: 24px 26px 28px; }
.team-bio h3 { font-size: 1.3rem; margin-bottom: 3px; }
.team-bio .team-title {
    font-size: 0.78rem; font-weight: 600; color: var(--copper);
    letter-spacing: 0.04em; margin-bottom: 14px; text-transform: uppercase;
}
.team-bio p { font-size: 0.94rem; color: var(--text-soft); }
.team-specialties { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.team-specialties span {
    padding: 4px 11px; background: var(--paper-warm); color: var(--ink-600);
    border-radius: 6px; font-size: 0.74rem; font-weight: 600;
}

/* ── ABOUT LAYOUT ─────────────────────────────────────────── */
.about-layout {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 46px;
    align-items: start;
    margin-top: 8px;
}
.about-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 34px 32px;
    box-shadow: var(--shadow-sm);
}
.about-card h3 { font-size: 1.3rem; margin-bottom: 14px; }
.about-card p { color: var(--text-soft); margin-bottom: 14px; }
.about-card p:last-child { margin-bottom: 0; }
.check-list { list-style: none; margin-top: 6px; }
.check-list li {
    padding: 11px 0; border-bottom: 1px solid var(--line);
    display: flex; gap: 12px; align-items: flex-start;
    font-size: 0.96rem; color: var(--text-soft);
}
.check-list li:last-child { border-bottom: none; }
.check-list li::before {
    content: '✓'; color: var(--copper); font-weight: 700; flex-shrink: 0;
}

/* ── CONTACT / SCHEDULE ───────────────────────────────────── */
.contact-layout {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 34px;
    margin-top: 8px;
    align-items: start;
}
.contact-info-card {
    background: var(--ink);
    color: rgba(255,255,255,0.85);
    border-radius: var(--radius-lg);
    padding: 34px 30px;
    box-shadow: var(--shadow-md);
}
.contact-info-card h3 { color: var(--white); font-size: 1.25rem; margin-bottom: 22px; }
.contact-detail { display: flex; gap: 14px; margin-bottom: 22px; align-items: flex-start; }
.contact-detail:last-of-type { margin-bottom: 0; }
.contact-detail-icon {
    width: 40px; height: 40px; border-radius: 9px;
    background: rgba(217,130,43,0.16);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.05rem; flex-shrink: 0;
}
.contact-detail-text strong { color: var(--white); display: block; font-weight: 600; margin-bottom: 2px; }
.contact-detail-text p { font-size: 0.93rem; color: rgba(255,255,255,0.72); margin: 0; }
.contact-detail-text a { color: var(--copper); }
.contact-detail-text a:hover { color: var(--white); }
.hours-note {
    margin-top: 26px; padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,0.12);
    font-size: 0.9rem; color: rgba(255,255,255,0.7);
}
.hours-note .status-dot { display: inline-block; margin-right: 8px; vertical-align: middle; }

/* Form */
.contact-form {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 34px 32px;
    box-shadow: var(--shadow-sm);
}
.contact-form h3 { font-size: 1.35rem; margin-bottom: 6px; }
.contact-form .form-sub { color: var(--text-soft); font-size: 0.96rem; margin-bottom: 24px; }
.form-group { margin-bottom: 18px; }
.form-group label {
    display: block; font-size: 0.88rem; font-weight: 600;
    color: var(--ink); margin-bottom: 7px;
}
.form-group label .opt { color: var(--text-mute); font-weight: 400; }
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--line);
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 0.96rem;
    color: var(--text);
    background: var(--paper);
    transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--copper);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(217,130,43,0.14);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-group select { cursor: pointer; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
/* Honeypot — hidden from humans, catches bots */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.btn-submit {
    width: 100%;
    margin-top: 6px;
    padding: 15px;
    background: var(--copper);
    color: var(--ink);
    border: none;
    border-radius: 8px;
    font-family: 'Sora', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--transition), transform 0.15s, opacity var(--transition);
}
.btn-submit:hover:not(:disabled) { background: var(--copper-deep); color: var(--white); transform: translateY(-1px); }
.btn-submit:disabled { opacity: 0.65; cursor: default; }
.form-status {
    margin-top: 14px; font-size: 0.92rem; text-align: center;
    min-height: 1.2em;
}
.form-status.ok { color: var(--online); }
.form-status.err { color: #cf4b3d; }
.privacy-line { margin-top: 18px; font-size: 0.85rem; color: var(--text-mute); text-align: center; }

/* ── FAQ ──────────────────────────────────────────────────── */
.faq-list { max-width: 760px; margin: 40px auto 0; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question {
    width: 100%; background: none; border: none;
    padding: 20px 0; font-family: 'Sora', sans-serif; font-weight: 600;
    font-size: 1.05rem; color: var(--ink); text-align: left; cursor: pointer;
    display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-question:hover { color: var(--copper-deep); }
.faq-question .faq-icon {
    font-size: 1.5rem; font-weight: 300; color: var(--copper);
    transition: transform 0.3s; flex-shrink: 0; line-height: 1;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-item.open .faq-answer { max-height: 320px; }
.faq-answer p { padding: 0 0 20px; font-size: 0.96rem; color: var(--text-soft); }

/* ── CALLOUT NOTE ─────────────────────────────────────────── */
.callout {
    background: var(--copper-soft);
    border: 1px solid #eccfa8;
    border-radius: var(--radius);
    padding: 26px 30px;
    max-width: 780px;
    margin: 34px auto 0;
    text-align: center;
    color: var(--ink-700);
    font-size: 0.98rem;
}

/* ── FOOTER ───────────────────────────────────────────────── */
footer {
    background: var(--ink);
    color: rgba(255,255,255,0.62);
    padding: 44px 24px 30px;
    font-size: 0.9rem;
}
.footer-inner {
    max-width: 1080px; margin: 0 auto;
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px;
    align-items: flex-start;
}
.footer-brand .brand-mark { font-size: 1.5rem; }
.footer-brand p { margin-top: 8px; max-width: 280px; }
.footer-links { display: flex; gap: 40px; flex-wrap: wrap; }
.footer-col h4 { color: var(--white); font-size: 0.82rem; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 12px; }
.footer-col a { display: block; color: rgba(255,255,255,0.62); padding: 4px 0; }
.footer-col a:hover { color: var(--copper); }
.footer-bottom {
    max-width: 1080px; margin: 30px auto 0; padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px;
    font-size: 0.82rem; color: rgba(255,255,255,0.5);
}

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 880px) {
    .services-grid { grid-template-columns: 1fr; }
    .feature-grid { grid-template-columns: 1fr; }
    .contact-layout { grid-template-columns: 1fr; }
    .about-layout { grid-template-columns: 1fr; }
    .stat-band { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 560px) {
    header { padding: 30px 16px 26px; }
    .brand-mark { font-size: 2rem; }
    .section { padding: 52px 18px; }
    .hero-inner { padding: 60px 18px 64px; }
    nav a { padding: 13px 13px; font-size: 0.84rem; }
    .form-row { grid-template-columns: 1fr; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .footer-inner { flex-direction: column; }
}
