/* Cloud-Connect Solutions — recreated from the Wix site (colors sampled from the live pages) */
:root {
  --bg: #162a36;          /* main dark navy */
  --bg-deep: #10202a;
  --panel: #2b3f4c;       /* cards / mission box */
  --slate: #737f87;       /* homepage "About" band */
  --line: rgba(184, 192, 198, .35);
  --head: #b8c0c6;        /* heading silver */
  --head-blue: #a7c4dc;   /* homepage About Us heading */
  --text: #c9cdd1;
  --muted: #9aa5ad;
  --accent: #4fa3e0;
  --accent-ink: #0b1a23;
  --maxw: 1100px;
  --radius: 6px;
  --font-head: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Helvetica Neue", Arial, Helvetica, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.65 var(--font-body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--head); }
a:hover { color: #fff; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--head); font-weight: 700; line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(2.2rem, 5vw, 4.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1.1em; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.center { text-align: center; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; color: #000; padding: 8px 12px; z-index: 100; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid rgba(255,255,255,.04); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 14px; padding-bottom: 14px; max-width: 1240px; }
.brand img { width: 300px; max-width: 58vw; }
.nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 28px; margin: 0; padding: 0; }
.nav a { font: 700 1.15rem var(--font-head); color: var(--head); text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--accent); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); color: var(--head); border-radius: var(--radius); padding: 8px 12px; font: 600 1rem var(--font-head); cursor: pointer; }
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--bg-deep); display: none; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; padding: 12px 20px 20px; gap: 0; }
  .nav a { display: block; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
}

/* Sections */
section { padding: 64px 0; }
.band-slate { background: var(--slate); color: #eef1f3; }
.band-slate h1 { color: var(--head-blue); }
.band-slate p { color: #e7ebee; font-weight: 600; }
.logo-banner { background: #1f1f1f; padding: 24px 0; }
.logo-banner img { margin: 0 auto; width: 100%; max-width: 960px; }
.split { display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; align-items: start; }
.split.rev { grid-template-columns: 1fr 1.25fr; align-items: center; }
.split img { border-radius: 2px; }
@media (max-width: 800px) { .split, .split.rev { grid-template-columns: 1fr; gap: 28px; } }
.tagline { text-align: center; margin-bottom: 40px; }

/* Industries */
.industry { display: grid; grid-template-columns: 284px 1fr; gap: 36px; padding: 36px 0; border-top: 1px solid rgba(255,255,255,.06); align-items: center; }
.industry img { width: 284px; height: 284px; object-fit: cover; }
@media (max-width: 700px) { .industry { grid-template-columns: 1fr; } .industry img { width: 100%; height: auto; aspect-ratio: 1; } }

/* Service list (Services + Book Online) */
.svc { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); margin: 0 0 40px; background: var(--bg); }
.svc:nth-child(even) .svc-img { order: 2; }
.svc-img img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.svc-body { padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.svc-body h2 { font-size: 1.8rem; margin-bottom: .3em; }
.svc-meta { border-top: 1px solid var(--line); margin-top: 18px; padding-top: 14px; color: var(--muted); font-weight: 600; }
.svc-meta span { display: block; }
@media (max-width: 760px) { .svc { grid-template-columns: 1fr; } .svc:nth-child(even) .svc-img { order: 0; } .svc-img img { min-height: 220px; } .svc-body { padding: 24px; } }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.card { border: 1px solid var(--line); background: var(--bg); display: flex; flex-direction: column; }
.card img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.card .in { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.card h3 { margin-bottom: .25em; }
.card .meta { color: var(--muted); font-size: .95rem; margin-top: auto; padding-top: 10px; }
.card .actions { display: flex; gap: 12px; align-items: center; margin-top: 14px; flex-wrap: wrap; }

/* Buttons */
.btn { display: inline-block; background: var(--head); color: var(--accent-ink); font: 700 1rem var(--font-head); padding: 12px 26px; border-radius: 999px; text-decoration: none; border: 0; cursor: pointer; }
.btn:hover { background: #fff; color: var(--accent-ink); }
.btn.ghost { background: transparent; color: var(--head); border: 1px solid var(--head); }
.btn.ghost:hover { background: var(--head); color: var(--accent-ink); }
.link { font-weight: 700; text-decoration: underline; }

/* Service detail */
.detail-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.detail-hero img { width: 100%; max-height: 460px; object-fit: cover; }
.facts { list-style: none; padding: 0; margin: 18px 0 24px; color: var(--muted); font-weight: 600; }
.facts li { padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.box { border: 1px solid var(--line); padding: 28px; margin-top: 32px; }
.box h2 { font-size: 1.4rem; }
@media (max-width: 800px) { .detail-hero { grid-template-columns: 1fr; } }
.notice { background: #3a2f1b; color: #f3dfb2; border: 1px solid #6b5426; padding: 12px 16px; border-radius: var(--radius); margin-bottom: 18px; }
.crumbs { color: var(--muted); font-size: .95rem; margin-bottom: 24px; }
.crumbs a { color: var(--muted); }

/* Blog */
.post-card { display: grid; grid-template-columns: 454px 1fr; border: 1px solid var(--line); margin-bottom: 32px; background: var(--bg); }
.post-card img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.post-card .in { padding: 32px; }
.post-card h2 { font-size: 1.6rem; }
.post-card h2 a { text-decoration: none; color: var(--head); }
.byline { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .9rem; margin-bottom: 14px; }
.byline img { width: 32px; height: 32px; border-radius: 50%; }
@media (max-width: 860px) { .post-card { grid-template-columns: 1fr; } }
.article { max-width: 760px; margin: 0 auto; }
.article h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.article h2 { margin-top: 1.6em; }
.article h3 { margin-top: 1.3em; color: #d3d9dd; }
.article figure { margin: 32px 0; }
.article figcaption { color: var(--muted); font-size: .9rem; text-align: center; margin-top: 8px; }
.article li { margin-bottom: .5em; }
.more { border-top: 1px solid var(--line); margin-top: 56px; padding-top: 32px; }
.more .cards { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.more .card img { aspect-ratio: 16/9; }

/* Forms */
.panel { background: var(--panel); padding: 40px; border-radius: 2px; }
form.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
form.contact .full { grid-column: 1 / -1; }
form.contact label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 6px; color: var(--head); }
form.contact input, form.contact select, form.contact textarea { width: 100%; background: #0f1e27; color: #eef1f3; border: 1px solid var(--line); border-radius: 4px; padding: 12px; font: inherit; }
form.contact textarea { min-height: 140px; resize: vertical; }
form.contact input:focus, form.contact select:focus, form.contact textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { grid-column: 1 / -1; min-height: 1.4em; font-weight: 600; }
.form-status.ok { color: #9be39b; } .form-status.err { color: #ffb4a8; }
@media (max-width: 640px) { form.contact { grid-template-columns: 1fr; } .panel { padding: 24px; } }
.contact-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; }
.contact-grid dl { margin: 0; } .contact-grid dt { font: 700 1.1rem var(--font-head); color: var(--head); margin-top: 18px; } .contact-grid dd { margin: 4px 0 0; }
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: var(--bg); border-top: 1px solid rgba(255,255,255,.06); padding: 48px 0 32px; text-align: center; }
.site-footer .logo { width: 580px; max-width: 80%; margin: 0 auto 28px; }
.footer-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-weight: 600; }
.footer-row a { text-decoration: none; }
.copy { color: var(--muted); font-size: .9rem; margin-top: 18px; }
