/* =====================================================================
   Sulvara Solutions — public site styles
   Brand colours live in :root. Change them here and the whole site updates.
   ===================================================================== */
:root {
  --navy-900: #0B1B34;
  --navy-800: #12264A;
  --navy-700: #1C3460;
  --blue-600: #0B7A6E;   /* accessible teal for text & buttons */
  --blue-500: #13B8A7;
  --cyan-500: #13B8A7;   /* brand teal (logo dot) */
  --ink: #0F172A;
  --body: #334155;
  --muted: #64748B;
  --line: #E2E8F0;
  --bg: #FFFFFF;
  --bg-soft: #F5F8FC;
  --success: #059669;
  --danger: #DC2626;
  --grad: linear-gradient(135deg, var(--blue-600), var(--cyan-500));
  --radius: 12px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .05), 0 8px 24px rgba(15, 23, 42, .06);
  --container: 1160px;
  --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.65;
  color: var(--body); background: var(--bg);
}
img, svg { max-width: 100%; display: block; }
a { color: var(--blue-600); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .6em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--cyan-500); outline-offset: 2px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .container { padding: 0 24px; } }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--navy-900); color: #fff; padding: 8px 14px; z-index: 100; }
.skip-link:focus { left: 8px; top: 8px; }

/* ---------- Header / nav ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.2) blur(6px); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--navy-900); }
.brand:hover { text-decoration: none; }
.brand img { height: 40px; width: auto; }
.site-footer .brand img { height: 44px; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: block; padding: 8px 14px; border-radius: 8px; color: var(--ink); font-weight: 500; font-size: .95rem; }
.nav-links a:hover { background: var(--bg-soft); text-decoration: none; }
.nav-links a[aria-current="page"] { color: var(--blue-600); }
.nav-links .btn { margin-left: 8px; color: #fff; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; width: 44px; height: 44px; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 20px; height: 2px; background: var(--ink); position: relative; content: ""; }
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav-links { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 16px 16px; box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px; }
  .nav-links .btn { margin: 8px 0 0; text-align: center; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 10px; font-weight: 600; font-size: .98rem; border: 2px solid transparent; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; font-family: inherit; line-height: 1.2; }
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--blue-600); color: #fff; }
.btn-primary:hover { background: #096359; }
.btn-outline { border-color: currentColor; color: var(--blue-600); background: transparent; }
.btn-outline:hover { background: rgba(19,184,167,.08); }
.btn-light { background: #fff; color: var(--navy-900); }
.btn-light:hover { background: #CCFBF1; }
.btn-ghost-light { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost-light:hover { background: rgba(255,255,255,.1); }
.btn-lg { padding: 14px 26px; font-size: 1.02rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section-soft { background: var(--bg-soft); }
@media (min-width: 768px) { .section { padding: 96px 0; } }
.eyebrow { font-family: var(--mono); display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-600); margin-bottom: 12px; }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.lead { font-size: 1.12rem; color: var(--body); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--navy-900); color: #CBD5E1; padding: 88px 0 96px; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 75%); }
.hero::after { content: ""; position: absolute; width: 560px; height: 560px; right: -160px; top: -200px; background: radial-gradient(circle, rgba(19,184,167,.22), transparent 65%); }
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.15fr .85fr; } }
.hero h1 { color: #fff; }
@media (max-width: 480px) { .hero .tagline { font-size: .74rem !important; letter-spacing: 0 !important; } }
.hero .tagline { font-family: var(--mono); display: inline-flex; align-items: center; gap: 8px; color: #5EEAD4; font-weight: 600; font-size: .92rem; letter-spacing: .04em; margin-bottom: 18px; padding: 6px 12px; border: 1px solid rgba(94,234,212,.3); border-radius: 999px; }
.hero .lead { color: #CBD5E1; max-width: 580px; margin-bottom: 32px; }
.hero-card { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: 16px; padding: 28px; }
.hero-card h3 { color: #fff; font-size: 1rem; letter-spacing: .02em; }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding-left: 30px; margin-bottom: 12px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 5px; width: 18px; height: 18px; border-radius: 50%; background: var(--grad); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 0a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm-1.2 14.2L4.6 10l1.4-1.4 2.8 2.8 5.2-5.2 1.4 1.4-6.6 6.6Z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 0a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm-1.2 14.2L4.6 10l1.4-1.4 2.8 2.8 5.2-5.2 1.4 1.4-6.6 6.6Z'/%3E%3C/svg%3E") center/contain no-repeat; }
.hero .check-list li { color: #E2E8F0; }

.page-hero { background: var(--navy-900); color: #CBD5E1; padding: 64px 0; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; width: 420px; height: 420px; right: -120px; top: -180px; background: radial-gradient(circle, rgba(19,184,167,.2), transparent 65%); }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.75rem); }
.page-hero .lead { color: #CBD5E1; max-width: 680px; margin: 0; }
.page-hero .container { position: relative; z-index: 1; }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 24px; }
@media (min-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.two-col { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; gap: 64px; } }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); height: 100%; }
.card p:last-child { margin-bottom: 0; }
.card-link { color: inherit; display: block; transition: border-color .15s, transform .15s; }
.card-link:hover { text-decoration: none; border-color: var(--blue-500); transform: translateY(-2px); }
.icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(19,184,167,.1), rgba(19,184,167,.18)); color: var(--blue-600); margin-bottom: 18px; }
.icon svg { width: 24px; height: 24px; }
.more { font-weight: 600; font-size: .92rem; color: var(--blue-600); }

.feature { display: flex; gap: 16px; }
.feature .icon { flex: 0 0 48px; margin: 0; }
.feature h3 { margin-bottom: 4px; }

.panel { background: var(--navy-900); color: #CBD5E1; border-radius: 16px; padding: 32px; }
.panel h3 { color: #fff; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.tag-list li { font-size: .85rem; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); color: #E2E8F0; }
.tag-list.light li { background: var(--bg-soft); border-color: var(--line); color: var(--ink); }

/* ---------- Process steps ---------- */
.steps { counter-reset: step; display: grid; gap: 20px; list-style: none; padding: 0; margin: 0; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { counter-increment: step; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.steps li::before { content: "0" counter(step); display: block; font-weight: 800; font-size: 1.4rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 8px; }
.steps h3 { font-size: 1.05rem; margin-bottom: 6px; }
.steps p { margin: 0; font-size: .95rem; }

/* ---------- Service detail ---------- */
.service-block { display: grid; gap: 28px; padding: 48px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.service-block:last-child { border-bottom: 0; }
@media (min-width: 900px) { .service-block { grid-template-columns: 1fr 1.2fr; gap: 56px; } }
.service-block h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.service-nav { display: flex; flex-wrap: wrap; gap: 8px; }
.service-nav a { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink); font-size: .9rem; font-weight: 500; background: #fff; }
.service-nav a:hover { border-color: var(--blue-500); text-decoration: none; }
.deliverables { background: var(--bg-soft); border-radius: var(--radius); padding: 24px; }
.deliverables h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 12px; }

/* ---------- Values ---------- */
.value { text-align: left; }
.value .num { font-weight: 800; color: var(--blue-600); font-size: .85rem; letter-spacing: .1em; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy-900); position: relative; overflow: hidden; border-radius: 20px; padding: 48px 28px; color: #CBD5E1; text-align: center; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 15% 0%, rgba(19,184,167,.28), transparent 50%), radial-gradient(circle at 90% 100%, rgba(19,184,167,.22), transparent 50%); }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band p { max-width: 620px; margin: 0 auto 28px; }
.cta-band .btn-row { justify-content: center; }
@media (min-width: 768px) { .cta-band { padding: 64px 48px; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 32px; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1.4fr 1fr; gap: 48px; } }
.form-grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field label { display: block; font-weight: 600; font-size: .9rem; color: var(--ink); margin-bottom: 6px; }
.field .req { color: var(--danger); }
.field input, .field textarea, .field select { width: 100%; font: inherit; color: var(--ink); background: #fff; border: 1px solid #CBD5E1; border-radius: 10px; padding: 12px 14px; transition: border-color .15s, box-shadow .15s; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--blue-600); box-shadow: 0 0 0 3px rgba(19,184,167,.2); }
.field textarea { min-height: 150px; resize: vertical; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 16px; padding: 12px 16px; border-radius: 10px; font-weight: 500; display: none; }
.form-status.ok { display: block; background: #ECFDF5; color: #065F46; border: 1px solid #A7F3D0; }
.form-status.err { display: block; background: #FEF2F2; color: #991B1B; border: 1px solid #FECACA; }
.info-item { display: flex; gap: 14px; margin-bottom: 22px; }
.info-item .icon { flex: 0 0 44px; width: 44px; height: 44px; margin: 0; }
.info-item h3 { font-size: .95rem; margin-bottom: 2px; }
.info-item p { margin: 0; }
.map-placeholder { margin-top: 8px; border-radius: var(--radius); border: 1px dashed #94A3B8; background: repeating-linear-gradient(45deg, #F8FAFC, #F8FAFC 12px, #F1F5F9 12px, #F1F5F9 24px); min-height: 320px; display: grid; place-items: center; text-align: center; color: var(--muted); padding: 24px; }
.map-placeholder iframe { width: 100%; height: 360px; border: 0; border-radius: var(--radius); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #94A3B8; padding: 64px 0 28px; font-size: .95rem; }
.footer-grid { display: grid; gap: 36px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.site-footer h4 { color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #CBD5E1; }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 48px; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: .85rem; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
.steps.two { grid-template-columns: 1fr; }
@media (min-width: 640px) { .steps.two { grid-template-columns: 1fr 1fr; } }
