/* ============================================================
   Liyo C Raju — Software Development & IT Services
   Design system: light background, dark navy type, teal/blue accent
   ============================================================ */
:root {
  --navy-900: #0b1f3a;
  --navy-800: #10294d;
  --navy-700: #1a3a66;
  --ink: #243b55;
  --muted: #5b6b7f;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-soft: #f4f8fb;
  --accent: #0e7490;
  --accent-strong: #0b5e75;
  --accent-soft: #e0f2f5;
  --radius: 12px;
  --shadow: 0 1px 3px rgba(11,31,58,.08), 0 8px 24px rgba(11,31,58,.06);
  --max: 1120px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink); background: var(--bg); line-height: 1.65; font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { color: var(--navy-900); line-height: 1.25; margin: 0 0 .6em; font-weight: 700; }
h1 { font-size: clamp(1.9rem, 4.2vw, 2.9rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); letter-spacing: -0.01em; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
a { color: var(--accent-strong); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { padding-left: 1.2em; margin: 0 0 1em; }
img, svg { max-width: 100%; }
:focus-visible { outline: 3px solid rgba(14,116,144,.45); outline-offset: 2px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }

.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 64px 0; }
.section-soft { background: var(--bg-soft); }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-strong); margin-bottom: 10px; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 46em; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
/* Header keeps the brand aligned with the page content on the left, while the
   contact block is allowed to sit close to the right edge of the window. */
.site-header .container {
  max-width: none;
  padding-left: max(20px, calc((100% - 1120px) / 2 + 20px));
  padding-right: 24px;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--navy-900); font-size: 1.08rem; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 34px; height: 34px; flex: 0 0 auto; }
.brand-logo { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand-photo { display: block; width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.brand-photo[hidden] { display: none; }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav a { display: block; padding: 8px 13px; border-radius: 8px; color: var(--ink); font-weight: 600; font-size: .95rem; }
.main-nav a:hover { background: var(--accent-soft); text-decoration: none; }
.main-nav a[aria-current="page"] { color: var(--accent-strong); background: var(--accent-soft); }
.nav-cta { margin-left: 8px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; cursor: pointer; color: var(--navy-900); }

/* Contact details, top-right of the header */
.header-contact {
  display: flex; flex-direction: column; gap: 1px;
  margin-left: 16px; padding-left: 18px; border-left: 1px solid var(--line);
  font-size: .82rem; line-height: 1.4;
}
.header-contact a { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-weight: 600; white-space: nowrap; }
.header-contact a:hover { color: var(--accent-strong); text-decoration: none; }
.header-contact svg { width: 13px; height: 13px; color: var(--accent); flex: 0 0 auto; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 10px; font-weight: 700; font-size: .98rem; border: 1.5px solid transparent; cursor: pointer; transition: background .15s ease, border-color .15s ease; }
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-strong); }
.btn-outline { border-color: var(--accent); color: var(--accent-strong); background: #fff; }
.btn-outline:hover { background: var(--accent-soft); }
.btn-light { background: #fff; color: var(--accent-strong); }
.btn-light:hover { background: var(--accent-soft); }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 55%, #134e6a 100%); color: #eaf2f8; padding: 88px 0 72px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr); gap: 56px; align-items: center; }
.hero-figure { justify-self: end; width: 100%; max-width: 380px; position: relative; }
.hero-figure::before {
  content: ""; position: absolute; inset: -14px -14px auto auto;
  width: 150px; height: 150px; border-radius: 50%;
  background: radial-gradient(circle, rgba(127,212,224,.30), rgba(127,212,224,0) 70%);
  pointer-events: none;
}
.hero-figure img {
  display: block; width: 100%; height: auto; position: relative;
  border-radius: 26px; border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 30px 60px -22px rgba(0,0,0,.65);
}
.hero h1 { color: #ffffff; max-width: 15em; }
.hero .lead { color: #b8c9da; max-width: 38em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 34px; padding: 0; list-style: none; }
.hero-badges li { display: flex; align-items: center; gap: 8px; font-size: .92rem; color: #cddbe8; }
.hero-badges svg { flex: 0 0 auto; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.card h3 { margin-bottom: .4em; }
.card p { color: var(--muted); font-size: .97rem; }
.icon-badge { width: 46px; height: 46px; border-radius: 11px; background: var(--accent-soft); color: var(--accent-strong); display: grid; place-items: center; margin-bottom: 16px; }
.card-link { font-weight: 700; font-size: .93rem; }

/* ---------- Feature / split ---------- */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: center; }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { display: flex; gap: 10px; margin-bottom: 12px; color: var(--ink); }
.check-list svg { flex: 0 0 auto; margin-top: 4px; color: var(--accent); }

/* ---------- Service detail sections ---------- */
.service-block { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 30px 0; border-top: 1px solid var(--line); }
.service-block:first-of-type { border-top: 0; }
.service-block h3 { margin-bottom: .3em; }
.benefit-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 16px; padding: 0; list-style: none; }
.benefit-chips li { background: var(--accent-soft); color: var(--accent-strong); font-size: .84rem; font-weight: 600; padding: 5px 12px; border-radius: 999px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: start; }
.contact-card { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.contact-row { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.contact-row:last-child { border-bottom: 0; }
.contact-row svg { flex: 0 0 auto; color: var(--accent-strong); margin-top: 3px; }
.contact-row strong { display: block; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
form label { display: block; font-weight: 600; font-size: .92rem; margin: 0 0 6px; color: var(--navy-800); }
form input, form textarea, form select { width: 100%; padding: 11px 13px; border: 1.5px solid var(--line); border-radius: 9px; font: inherit; color: var(--ink); background: #fff; margin-bottom: 16px; }
form input:focus, form textarea:focus, form select:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px rgba(14,116,144,.15); }
.field-error { color: #b42318; font-size: .84rem; margin: -10px 0 14px; display: none; }
.form-status { display: none; border-radius: 9px; padding: 12px 15px; font-size: .93rem; margin-top: 6px; }
.form-status.ok { display: block; background: #e7f6ec; color: #166534; border: 1px solid #bbe5c8; }
.form-status.err { display: block; background: #fdecea; color: #b42318; border: 1px solid #f5c6c0; }
.form-status.info { display: block; background: #eef6fb; color: #175cd3; border: 1px solid #c7e0f4; }

/* ---------- Legal pages ---------- */
.legal h2 { margin-top: 1.8em; font-size: 1.25rem; }
.legal h3 { font-size: 1.05rem; margin-top: 1.4em; }
.legal p, .legal li { color: var(--ink); }
.legal .updated { color: var(--muted); font-size: .9rem; border-bottom: 1px solid var(--line); padding-bottom: 14px; margin-bottom: 8px; }

/* ---------- CTA band & footer ---------- */
.cta-band { background: linear-gradient(135deg, var(--accent-strong), var(--accent)); color: #fff; border-radius: var(--radius); padding: 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.cta-band h2 { color: #fff; margin: 0; }
.cta-band p { margin: 6px 0 0; color: #d9eef3; }
.site-footer { background: var(--navy-900); color: #b7c6d6; margin-top: 72px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 34px; padding: 52px 0 34px; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: #b7c6d6; }
.site-footer a:hover { color: #fff; }
.footer-brand { font-weight: 800; color: #fff; font-size: 1.1rem; display: flex; align-items: center; gap: 10px; }
.footer-brand .brand-photo { width: 38px; height: 38px; }
.footer-note { border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0 26px; font-size: .84rem; color: #8ea1b5; }
.footer-note p { margin: 0 0 6px; }
.footer-social { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 14px; }
.footer-social a { display: inline-flex; align-items: center; gap: 7px; color: #b7c6d6; font-size: .88rem; font-weight: 600; }
.footer-social a:hover { color: #fff; text-decoration: none; }
.footer-social svg { width: 16px; height: 16px; flex: 0 0 auto; }

/* ---------- Page hero ---------- */
.page-hero { background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: 52px 0; }
.breadcrumb { font-size: .85rem; color: var(--muted); margin-bottom: 8px; }
.breadcrumb a { color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .header-contact { display: none; }
}
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-figure { order: -1; justify-self: start; max-width: 148px; margin-bottom: 2px; }
  .hero-figure img { border-radius: 50%; }
  .hero-figure::before { display: none; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-2, .split, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .main-nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; padding: 10px 16px 16px; }
  .main-nav a { padding: 11px 12px; }
  .nav-cta { margin: 6px 0 0; }
  .grid-3 { grid-template-columns: 1fr; }
  .section { padding: 48px 0; }
  .hero { padding: 60px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .service-block { grid-template-columns: 1fr; }
}
