/* Solipac Technologies Ltd — website styles */
:root {
  --royal: #2B3190;
  --royal-dark: #1E2370;
  --sky: #45C0F0;
  --ink: #141A4D;
  --navy-card: #1F2766;
  --navy-line: #323C85;
  --text: #3A4163;
  --muted: #4A5173;
  --on-dark: #C3C8EC;
  --on-accent: #E4E6FA;
  --bg: #F4F7FB;
  --bg-alt: #E6EDF7;
  --line: #DDE3EE;
  --line-strong: #B4BED3;
  --white: #FFFFFF;
  --late: #B45309;
  --display: "Sora", Georgia, serif;
  --body: "IBM Plex Sans", "Segoe UI", Helvetica, sans-serif;
  --wrap: 1280px;
  --pad: clamp(20px, 5vw, 80px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--royal); }
a:hover { color: var(--royal-dark); }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); color: inherit; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--white); padding: 12px 16px; z-index: 100; }

/* Labels & headings */
.label { font-size: 14px; font-weight: 600; letter-spacing: 0.12em; color: var(--royal); text-transform: uppercase; }
.label.on-dark { color: var(--sky); }
.h2 { font-size: clamp(32px, 4vw, 48px); font-weight: 800; line-height: 1.15; }
.lead { font-size: 18px; color: var(--text); }
.section { padding: clamp(72px, 9vw, 120px) 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; margin-bottom: 56px; }
.section-head .lead { max-width: 520px; }
.section-head.center { flex-direction: column; align-items: center; text-align: center; gap: 16px; }
.stack { display: flex; flex-direction: column; gap: 16px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 14px 26px; border-radius: 8px; font-weight: 600; font-size: 16px; text-decoration: none; border: 1px solid transparent; cursor: pointer; font-family: inherit; }
.btn-primary { background: var(--royal); color: var(--white); }
.btn-primary:hover { background: var(--royal-dark); color: var(--white); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-white { background: var(--white); color: var(--ink); }
.btn-white:hover { background: var(--bg-alt); color: var(--ink); }

/* Top bar */
.topbar { background: var(--ink); color: #D6DAF5; font-size: 13.5px; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-top: 10px; padding-bottom: 10px; flex-wrap: wrap; }
.topbar-contacts { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
.topbar a { color: #D6DAF5; text-decoration: none; }
.topbar a:hover { color: var(--white); text-decoration: underline; }
.icon-link { display: inline-flex; align-items: center; }

/* Header */
.site-header { background: var(--white); border-bottom: 4px solid var(--sky); position: sticky; top: 0; z-index: 50; }
.site-header .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-top: 14px; padding-bottom: 14px; }
.brand img { height: 72px; width: auto; }
.nav { display: flex; gap: 32px; align-items: center; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; }
.nav a:hover { color: var(--royal); }
.nav .btn { color: var(--white); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-strong); border-radius: 8px; width: 48px; height: 48px; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); }

/* Hero */
.hero { background: var(--bg) url("../images/hero-bg.jpg") center / cover no-repeat; }
.hero .wrap { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 72px; align-items: center; padding-top: clamp(64px, 8vw, 96px); padding-bottom: clamp(64px, 8vw, 104px); }
.hero-copy { display: flex; flex-direction: column; gap: 28px; }
.hero h1 { font-size: clamp(40px, 5vw, 64px); font-weight: 800; line-height: 1.05; letter-spacing: -0.025em; }
.hero-copy .lead { font-size: 20px; max-width: 560px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.tile { border-radius: 16px; padding: 32px; min-height: 240px; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; }
.tile:nth-child(even) { margin-top: 48px; }
.tile h3 { font-size: 22px; font-weight: 700; }
.tile p { font-size: 15px; margin-top: 6px; }
.tile-dark { background: var(--ink); color: #F4F2EC; }
.tile-dark p { color: var(--on-dark); }
.tile-light { background: var(--white); border: 1px solid var(--line); }
.tile-light p { color: var(--muted); }
.tile-accent { background: var(--royal); color: var(--white); }
.tile-accent p { color: var(--on-accent); }

/* Trust strip */
.trust { margin-top: -1px; }
.trust-grid { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 28px 40px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin-top: 32px; }
.trust-grid strong { display: block; font-family: var(--display); font-size: 18px; }
.trust-grid span { font-size: 14px; color: var(--muted); }

/* About */
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 80px; align-items: start; }
.about-text { display: flex; flex-direction: column; gap: 24px; font-size: 18px; line-height: 1.7; color: var(--text); }
.mv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 8px; }
.mv-card { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 24px; }
.mv-card h3 { font-size: 18px; color: var(--ink); margin-bottom: 8px; }
.mv-card p { font-size: 16px; }

/* Services */
.services { background: var(--ink); color: #F4F2EC; }
.services .lead { color: var(--on-dark); }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.svc { background: var(--navy-card); border-radius: 16px; padding: 36px; display: flex; flex-direction: column; gap: 16px; }
.svc h3 { font-size: 22px; font-weight: 700; }
.svc p { font-size: 16px; color: var(--on-dark); }
.svc .tag { font-size: 13px; font-weight: 600; letter-spacing: 0.1em; color: var(--sky); text-transform: uppercase; }
.svc.core-main { background: var(--royal); }
.svc.core-main h3 { color: var(--white); }
.svc.core-main p, .svc.core-main .tag { color: var(--on-accent); }
.subgroup { margin: 56px 0 32px; padding-top: 32px; border-top: 1px solid var(--navy-line); display: flex; flex-direction: column; gap: 12px; }
.subgroup h3 { font-size: clamp(24px, 3vw, 30px); font-weight: 700; }

/* Integrations */
.int-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.int-card { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 36px; display: flex; flex-direction: column; gap: 20px; }
.int-card h3 { font-size: 22px; font-weight: 700; }
.int-card p { font-size: 16px; color: var(--text); }
.int-hub { background: var(--ink); color: #F4F2EC; border: 0; align-items: center; justify-content: center; text-align: center; }
.int-hub p { color: var(--on-dark); }
.hub-icon { width: 72px; height: 72px; border-radius: 16px; background: var(--royal); display: flex; align-items: center; justify-content: center; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; font-size: 15px; font-weight: 500; }
.chips li { background: var(--bg); border-radius: 999px; padding: 8px 14px; }
.int-hub .chips { justify-content: center; font-size: 14px; font-weight: 400; }
.int-hub .chips li { background: transparent; border: 1px solid var(--navy-line); padding: 6px 12px; }
.also { margin-top: 24px; background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 28px 36px; display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.also h3 { font-size: 20px; font-weight: 700; white-space: nowrap; }

/* Products */
.products { background: var(--white); }
.product { background: var(--bg); border: 1px solid var(--line); border-radius: 20px; padding: 40px; display: flex; flex-direction: column; gap: 20px; }
.product-icon { width: 56px; height: 56px; border-radius: 12px; background: var(--ink); display: flex; align-items: center; justify-content: center; }
.product h3 { font-size: 28px; font-weight: 800; }
.product .kind { font-size: 14px; font-weight: 600; letter-spacing: 0.06em; color: var(--royal); text-transform: uppercase; }
.product > p { font-size: 16px; color: var(--text); }
.product.dark { background: var(--ink); color: #F4F2EC; border: 0; }
.product.dark .product-icon { background: var(--royal); }
.product.dark .kind { color: var(--sky); }
.product.dark > p { color: var(--on-dark); }
.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 16px; }
.checks li { display: flex; gap: 10px; align-items: center; }
.checks svg { flex: none; }
.product .more { margin-top: auto; align-self: flex-start; font-weight: 600; text-decoration: none; padding: 12px 0; }
.product.dark .more { color: var(--sky); }

/* Featured */
.report { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 40px; display: flex; flex-direction: column; gap: 20px; }
.report-head { display: flex; justify-content: space-between; align-items: center; }
.report-head strong { font-family: var(--display); font-size: 18px; }
.report-head span { font-size: 13px; color: var(--muted); }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.kpis div { background: var(--bg); border-radius: 10px; padding: 16px; }
.kpis span { display: block; font-size: 13px; color: var(--muted); }
.kpis strong { font-family: var(--display); font-size: 24px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; }
table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 420px; }
th { background: var(--ink); color: #F4F2EC; text-align: left; padding: 12px 16px; font-weight: 600; }
td { padding: 12px 16px; border-top: 1px solid var(--line); }
.ok { color: var(--royal); font-weight: 600; }
.late { color: var(--late); font-weight: 600; }
.featured-copy { display: flex; flex-direction: column; gap: 24px; }
.featured-copy .checks { font-size: 17px; gap: 14px; }
.featured-copy .btn { align-self: flex-start; }
.two-col.center { align-items: center; }

/* Process */
.process { background: var(--bg-alt); }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; list-style: none; margin: 0; padding: 0; }
.steps li { background: var(--white); border-radius: 16px; padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.steps .num { font-family: var(--display); font-weight: 800; font-size: 40px; color: var(--royal); }
.steps h3 { font-size: 22px; font-weight: 700; }
.steps p { font-size: 16px; color: var(--text); }

/* Industries & why */
.pills { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; margin: 0; padding: 0; font-weight: 500; }
.pills li { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 12px 20px; }
.why { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 20px; }
.why li { padding-bottom: 20px; border-bottom: 1px solid #D3DAE8; }
.why li:last-child { border-bottom: 0; padding-bottom: 0; }
.why h3 { font-size: 19px; font-weight: 700; }
.why p { font-size: 16px; color: var(--text); }
.h2.sm { font-size: clamp(30px, 3.4vw, 40px); }

/* Clients & partners */
.logos { display: flex; flex-direction: column; gap: 48px; }
.logo-row h2 { font-family: var(--body); font-size: 14px; font-weight: 600; letter-spacing: 0.12em; color: var(--muted); text-align: center; text-transform: uppercase; margin-bottom: 20px; }
.logo-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.logo-grid li { min-height: 120px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; }
.logo-grid strong { font-family: var(--display); font-size: 18px; color: var(--ink); line-height: 1.25; }
.logo-grid span { font-size: 13px; line-height: 1.4; color: var(--muted); }
.logo-grid img { max-height: 64px; width: auto; }

/* CTA */
.cta { background: var(--royal); color: var(--white); border-radius: 20px; padding: clamp(40px, 5vw, 64px) clamp(28px, 5vw, 72px); display: flex; justify-content: space-between; align-items: center; gap: 48px; }
.cta p { font-size: 18px; color: var(--on-accent); margin-top: 12px; }
.cta .h2 { font-size: clamp(28px, 3.4vw, 40px); }

/* Contact */
.contact-list { display: flex; flex-direction: column; gap: 20px; font-size: 17px; margin: 0; }
.contact-list dt { font-weight: 600; }
.contact-list dd { margin: 2px 0 0; color: var(--text); }
.contact-list a { color: var(--text); text-decoration: none; }
.contact-list a:hover { color: var(--royal); text-decoration: underline; }
.form { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 40px; display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 15px; font-weight: 600; }
.field input, .field select, .field textarea { min-height: 48px; border: 1px solid var(--line-strong); border-radius: 8px; padding: 10px 14px; font-size: 16px; font-family: inherit; background: var(--white); color: var(--ink); width: 100%; }
.field textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: 14px; color: var(--muted); }
.form-status { font-size: 15px; font-weight: 500; color: var(--royal); min-height: 1em; }

/* Footer */
.site-footer { background: var(--ink); color: var(--on-dark); padding: 80px 0 40px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px; }
.footer-grid h2 { font-family: var(--body); font-size: 16px; font-weight: 600; color: var(--white); letter-spacing: 0; margin-bottom: 12px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.footer-grid a { color: var(--on-dark); text-decoration: none; }
.footer-grid a:hover { color: var(--white); text-decoration: underline; }
.footer-logo { align-self: flex-start; background: var(--white); border-radius: 12px; padding: 12px 16px; display: inline-block; }
.footer-logo img { height: 72px; width: auto; }
.footer-about { display: flex; flex-direction: column; gap: 16px; font-size: 15px; line-height: 1.7; }
.fb { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; }
.footer-bottom { border-top: 1px solid var(--navy-line); margin-top: 56px; padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; font-size: 14px; flex-wrap: wrap; }

/* Responsive */
@media (max-width: 1360px) {
  .topbar-hours { display: none; }
}
@media (max-width: 1100px) {
  .nav { gap: 22px; font-size: 15px; }
  .logo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--pad) 20px; border-bottom: 4px solid var(--sky); box-shadow: 0 12px 24px rgba(20, 26, 77, 0.08); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 16px; border-bottom: 0; }
  .hero .wrap, .two-col { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .card-grid, .int-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .also { flex-direction: column; align-items: flex-start; }
  .cta { flex-direction: column; align-items: flex-start; }
  .topbar-hours { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .brand img { height: 48px; }
  .topbar-contacts { gap: 8px 20px; }
  .topbar-address { display: none; }
  .hero-tiles { gap: 12px; }
  .tile { padding: 22px; min-height: 190px; }
  .tile:nth-child(even) { margin-top: 24px; }
  .tile h3 { font-size: 18px; }
  .card-grid, .int-grid, .steps, .kpis, .mv, .form-row, .footer-grid, .trust-grid { grid-template-columns: minmax(0, 1fr); }
  .logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-grid { padding: 24px; gap: 20px; }
  .form, .report, .product, .int-card, .svc { padding: 28px; }
  .also { padding: 24px; }
  .also h3 { white-space: normal; }
}

/* ---------- Multi-page additions ---------- */
.nav a[aria-current="page"] { color: var(--royal); box-shadow: inset 0 -3px 0 var(--sky); }
.nav a.btn[aria-current="page"] { box-shadow: none; }
.page-hero { background: var(--bg) url("../images/hero-bg.jpg") center / cover no-repeat; }
.page-hero .wrap { padding-top: clamp(56px, 7vw, 88px); padding-bottom: clamp(56px, 7vw, 88px); display: flex; flex-direction: column; gap: 20px; max-width: var(--wrap); }
.page-hero h1 { font-size: clamp(36px, 4.6vw, 56px); font-weight: 800; line-height: 1.08; max-width: 900px; }
.page-hero .lead { max-width: 720px; font-size: 19px; }
.breadcrumb { font-size: 14px; color: var(--muted); }
.breadcrumb a { color: var(--muted); }
.section-link { margin-top: 40px; display: flex; justify-content: center; }
.services .section-link .btn { background: var(--white); color: var(--ink); }
.alert { border-radius: 10px; padding: 14px 18px; font-size: 15px; }
.alert-success { background: #E7F6EE; color: #14532D; border: 1px solid #A7DDBE; }
.alert-error { background: #FDECEC; color: #7F1D1D; border: 1px solid #F3B4B4; }
.alert ul { margin: 6px 0 0; padding-left: 18px; }
.field-error { font-size: 14px; color: #B91C1C; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #B91C1C; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.error-page { text-align: center; }
.error-page .wrap { align-items: center; }
