/* SmartEdge Solutions — main stylesheet
   Colours are sampled from the logo. Change them in :root only. */

:root {
  --navy: #1B2A98;
  --navy-dark: #0E1452;
  --navy-deep: #0A0E3A;
  --blue: #298FE8;
  --cyan: #38C8EB;
  --orange: #D5732C;
  --red: #B83035;
  --magenta: #93064B;
  --ink: #1A1F36;
  --text: #4A5070;
  --muted: #7A809C;
  --line: #E4E7F2;
  --bg: #FFFFFF;
  --bg-soft: #F5F7FC;
  --brand-gradient: linear-gradient(90deg, var(--orange), var(--red) 30%, var(--magenta) 50%, var(--blue) 75%, var(--cyan));
  --radius: 14px;
  --shadow: 0 10px 30px rgba(27, 42, 152, .08);
  --shadow-hover: 0 18px 40px rgba(27, 42, 152, .16);
  --font-head: 'Poppins', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { overflow-x: clip; }
body { margin: 0; font-family: var(--font-body); color: var(--text); background: var(--bg); line-height: 1.65; font-size: 16px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--blue); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.25; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }
.icon { flex-shrink: 0; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 88px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.eyebrow { display: inline-block; font-family: var(--font-head); font-weight: 600; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); margin-bottom: 10px; }
.gradient-bar { height: 4px; width: 64px; border-radius: 4px; background: var(--brand-gradient); margin: 14px auto 0; }

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

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 26px; border-radius: 999px; font-family: var(--font-head); font-weight: 600; font-size: .95rem; border: 2px solid transparent; transition: all .2s ease; cursor: pointer; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--blue); color: #fff; }
.btn-accent { background: var(--orange); color: #fff; }
.btn-accent:hover { background: var(--red); color: #fff; }
.btn-outline { border-color: rgba(255,255,255,.6); color: #fff; }
.btn-outline:hover { background: #fff; color: var(--navy); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--cyan); color: var(--navy-deep); }

/* Top bar */
.topbar { background: var(--navy-deep); color: #C9CEF0; font-size: .85rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; padding-top: 8px; padding-bottom: 8px; gap: 16px; }
.topbar span, .topbar a { display: inline-flex; align-items: center; gap: 6px; color: #C9CEF0; }
.topbar a:hover { color: #fff; }
.topbar-right { gap: 22px !important; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.brand img { height: 46px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 18px; }
.site-nav > ul { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; }
.site-nav > ul > li { position: relative; }
.site-nav > ul > li > a { display: flex; align-items: center; gap: 4px; padding: 10px 11px; font-family: var(--font-head); font-weight: 500; font-size: .93rem; color: var(--ink); border-radius: 8px; }
.site-nav > ul > li > a:hover, .site-nav > ul > li > a.active { color: var(--navy); background: var(--bg-soft); }
.site-nav > ul > li > a.active { box-shadow: inset 0 -2px 0 var(--orange); }
.dropdown { list-style: none; margin: 0; padding: 8px; position: absolute; top: 100%; left: 0; min-width: 270px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-hover); opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .18s ease; }
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: block; padding: 10px 14px; border-radius: 8px; color: var(--ink); font-size: .93rem; }
.dropdown a:hover { background: var(--bg-soft); color: var(--navy); }
.nav-cta { padding: 10px 20px; }
.nav-toggle { display: none; background: none; border: 0; color: var(--navy); cursor: pointer; padding: 6px; }

/* Hero */
.hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(circle at 80% 20%, rgba(56,200,235,.25), transparent 45%), radial-gradient(circle at 10% 90%, rgba(213,115,44,.22), transparent 40%), linear-gradient(135deg, var(--navy-deep), var(--navy) 65%, #2148C0); }
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; padding: 96px 20px 110px; }
.hero h1 { color: #fff; }
.hero h1 .highlight { background: linear-gradient(90deg, var(--orange), #F3A15F 40%, var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 1.15rem; color: #D4D9F5; max-width: 560px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.hero-tags span { padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); font-size: .85rem; color: #E6E9FA; }
.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-visual .ring { width: min(420px, 90%); aspect-ratio: 1; border-radius: 50%; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); display: grid; place-items: center; box-shadow: 0 0 120px rgba(56,200,235,.25); }
.hero-visual .ring img { width: 72%; animation: spin 60s linear infinite; filter: drop-shadow(0 10px 30px rgba(0,0,0,.25)); }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .hero-visual .ring img { animation: none; } html { scroll-behavior: auto; } }
.hero-wave { position: absolute; bottom: -1px; left: 0; width: 100%; height: 60px; }

/* Flagship cards */
.flagship-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: -70px; position: relative; z-index: 2; }
.flagship-card { background: #fff; border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow); border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; position: relative; overflow: hidden; }
.flagship-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--brand-gradient); }
.flagship-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.flagship-card .card-icon { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px; color: #fff; }
.flagship-card:nth-child(1) .card-icon { background: linear-gradient(135deg, var(--orange), var(--red)); }
.flagship-card:nth-child(2) .card-icon { background: linear-gradient(135deg, var(--blue), var(--cyan)); }
.flagship-card:nth-child(3) .card-icon { background: linear-gradient(135deg, var(--navy), var(--blue)); }
.flagship-card:nth-child(4) .card-icon { background: linear-gradient(135deg, var(--magenta), var(--red)); }
.flagship-card p { font-size: .95rem; }
.flagship-card ul { list-style: none; padding: 0; margin: 0 0 20px; font-size: .9rem; }
.flagship-card li { padding: 4px 0 4px 18px; position: relative; color: var(--ink); }
.flagship-card li::before { content: ""; position: absolute; left: 0; top: 12px; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); }
.link-arrow { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 600; font-size: .92rem; color: var(--navy); }
.link-arrow:hover { gap: 10px; }

/* EdTech spotlight */
.spotlight { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.spotlight-media { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 5 / 4; background: linear-gradient(135deg, var(--navy-dark), var(--navy) 55%, var(--blue)); display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 28px; }
.spotlight-media .tile { border-radius: 14px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); color: #fff; display: flex; flex-direction: column; justify-content: flex-end; padding: 18px; font-family: var(--font-head); font-weight: 600; }
.spotlight-media .tile .icon { margin-bottom: auto; color: var(--cyan); }
.spotlight-media .tile:nth-child(2) .icon { color: #F3A15F; }
.spotlight-media .tile:nth-child(3) .icon { color: #F3A15F; }
.spotlight-media .photo-note { position: absolute; bottom: 8px; right: 12px; font-size: .7rem; color: rgba(255,255,255,.5); }
.feature-list { list-style: none; padding: 0; margin: 24px 0 30px; display: grid; gap: 16px; }
.feature-list li { display: flex; gap: 14px; }
.feature-list .icon-wrap { width: 44px; height: 44px; border-radius: 12px; background: #fff; box-shadow: var(--shadow); color: var(--navy); display: grid; place-items: center; flex-shrink: 0; }
.feature-list strong { display: block; font-family: var(--font-head); color: var(--ink); font-weight: 600; }
.feature-list span { font-size: .93rem; }

/* All services grid */
.services-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.service-tile { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 20px; transition: all .2s ease; display: block; color: var(--text); }
.service-tile:hover { border-color: var(--blue); box-shadow: var(--shadow); transform: translateY(-3px); color: var(--text); }
.service-tile .icon { color: var(--blue); margin-bottom: 14px; }
.service-tile h3 { font-size: 1rem; margin-bottom: 6px; }
.service-tile p { font-size: .87rem; margin: 0; line-height: 1.55; }
.center-action { text-align: center; margin-top: 40px; }

/* Why us */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.why-item { display: flex; gap: 16px; }
.why-item .num { font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; width: 46px; height: 46px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--navy), var(--blue)); }
.why-item h3 { font-size: 1.05rem; margin-bottom: 4px; }
.why-item p { font-size: .93rem; margin: 0; }

/* Process */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; position: relative; }
.process::before { content: ""; position: absolute; top: 34px; left: 12%; right: 12%; height: 2px; background: var(--brand-gradient); opacity: .45; }
.step { text-align: center; position: relative; }
.step .circle { width: 68px; height: 68px; margin: 0 auto 18px; border-radius: 50%; background: #fff; border: 2px solid var(--line); display: grid; place-items: center; color: var(--navy); box-shadow: var(--shadow); }
.step h3 { margin-bottom: 6px; }
.step p { font-size: .92rem; }

/* Sectors */
.sectors { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.sector { text-align: center; padding: 28px 14px; border-radius: var(--radius); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); color: #fff; }
.sector .icon { color: var(--cyan); margin: 0 auto 12px; }
.sector h3 { color: #fff; font-size: 1rem; margin: 0; }
.section-dark { background: linear-gradient(135deg, var(--navy-deep), var(--navy-dark)); color: #C9CEF0; }
.section-dark h2 { color: #fff; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 22px; font-family: var(--font-head); font-weight: 600; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--blue); transition: transform .2s ease; }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq details p { padding: 0 22px 18px; margin: 0; }

/* CTA band */
.cta-band { background: var(--brand-gradient); padding: 4px 0 0; }
.cta-inner { background: linear-gradient(135deg, var(--navy), #2148C0); padding: 64px 20px; text-align: center; color: #D4D9F5; }
.cta-inner h2 { color: #fff; }
.cta-inner .hero-actions { justify-content: center; margin-top: 26px; }

/* Footer */
.site-footer { background: var(--navy-deep); color: #A9AFD6; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 40px; padding-top: 64px; padding-bottom: 48px; }
.footer-brand { display: flex; align-items: center; gap: 12px; color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; line-height: 1.05; margin-bottom: 16px; }
.footer-brand small { font-weight: 500; font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--cyan); }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: #A9AFD6; }
.site-footer a:hover { color: #fff; }
.site-footer a.footer-brand { color: #fff; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { color: var(--cyan); margin-top: 3px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); font-size: .85rem; }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; flex-wrap: wrap; }

.whatsapp-float { position: fixed; right: 22px; bottom: 22px; width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.2); z-index: 60; transition: transform .2s ease; }
.whatsapp-float:hover { transform: scale(1.08); color: #fff; }

/* Responsive */
@media (max-width: 1180px) {
  .nav-toggle { display: block; }
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; height: calc(100vh - 78px); height: calc(100dvh - 78px); border-top: 1px solid var(--line); background: #fff; flex-direction: column; align-items: stretch; padding: 16px 20px 32px; overflow-y: auto; opacity: 0; transform: translateY(-10px); transition: opacity .2s ease, transform .2s ease, visibility .2s; gap: 12px; }
  .site-nav { visibility: hidden; }
  .site-nav.open { opacity: 1; transform: none; visibility: visible; }
  .site-nav > ul { flex-direction: column; }
  .site-nav > ul > li > a { padding: 14px 10px; font-size: 1rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 14px; min-width: 0; }
  .nav-cta { justify-content: center; }
  .flagship-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .hero-inner, .spotlight { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .process { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .process::before { display: none; }
  .sectors { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .topbar-inner > span:first-child { display: none; }
  .topbar-inner { justify-content: center; }
}
@media (max-width: 600px) {
  .section { padding: 64px 0; }
  .flagship-grid, .why-grid, .footer-grid { grid-template-columns: 1fr; }
  .services-grid, .sectors { grid-template-columns: 1fr 1fr; }
  .process { grid-template-columns: 1fr; }
  .topbar-right a:first-child { display: none; }
  .brand img { height: 38px; }
  .hero-inner { padding: 64px 20px 100px; }
}

/* ===== Inner pages ===== */
.page-hero { position: relative; color: #fff; background: radial-gradient(circle at 85% 10%, rgba(56,200,235,.22), transparent 45%), radial-gradient(circle at 5% 100%, rgba(213,115,44,.2), transparent 40%), linear-gradient(135deg, var(--navy-deep), var(--navy) 70%, #2148C0); padding: 64px 0 104px; }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 3rem); max-width: 860px; }
.page-hero .lead { color: #D4D9F5; font-size: 1.1rem; max-width: 760px; margin: 0; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: .88rem; color: #A9B2E8; margin-bottom: 26px; }
.breadcrumb a { color: #D4D9F5; }
.breadcrumb a:hover { color: #fff; }

.intro-split { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: start; }
.highlight-panel { background: linear-gradient(135deg, var(--navy), #2148C0); color: #E6E9FA; border-radius: 18px; padding: 32px; box-shadow: var(--shadow-hover); position: relative; overflow: hidden; }
.highlight-panel::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--brand-gradient); }
.highlight-panel h3 { color: #fff; }

.tick-list { list-style: none; padding: 0; margin: 0 0 18px; }
.tick-list li { position: relative; padding: 5px 0 5px 28px; font-size: .94rem; color: var(--ink); }
.tick-list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 18px; height: 18px; border-radius: 50%; background: rgba(41,143,232,.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23298FE8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat; }
.tick-list.light li { color: #E6E9FA; }
.tick-list.light li::before { background-color: rgba(56,200,235,.2); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2338C8EB' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E"); }

.detail-grid { display: grid; gap: 24px; }
.detail-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.detail-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.detail-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.detail-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; display: flex; flex-direction: column; transition: box-shadow .2s ease, transform .2s ease; scroll-margin-top: 110px; }
.detail-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.detail-card:target { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(213,115,44,.2); }
.detail-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(27,42,152,.08), rgba(56,200,235,.18)); color: var(--navy); margin-bottom: 16px; }
.detail-card p { font-size: .95rem; }

.feature-band { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.feature-band + .feature-band { margin-top: 72px; }
.feature-band.reverse > :first-child { order: 2; }
.media-panel { border-radius: 20px; aspect-ratio: 4 / 3; background: linear-gradient(135deg, var(--navy-dark), var(--navy) 55%, var(--blue)); display: grid; place-items: center; color: rgba(255,255,255,.9); position: relative; overflow: hidden; }
.media-panel .big-icon .icon { width: 96px; height: 96px; stroke-width: 1.2; color: var(--cyan); }
.media-panel .photo-note { position: absolute; bottom: 10px; right: 14px; font-size: .72rem; color: rgba(255,255,255,.5); }
.media-panel.warm { background: linear-gradient(135deg, var(--magenta), var(--red) 50%, var(--orange)); }
.media-panel.warm .big-icon .icon { color: #FFE1C7; }

.related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.related-card { display: flex; align-items: center; gap: 12px; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: 12px; font-family: var(--font-head); font-weight: 600; color: var(--ink); }
.related-card span { flex: 1; }
.related-card .icon:first-child { color: var(--blue); }
.related-card:hover { border-color: var(--blue); color: var(--navy); box-shadow: var(--shadow); }

.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { background: #fff; border-radius: var(--radius); padding: 22px; border: 1px solid var(--line); text-align: center; }
.stat strong { display: block; font-family: var(--font-head); font-size: 1.05rem; color: var(--navy); }
.stat span { font-size: .88rem; }

/* Values / team */
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.value { text-align: center; padding: 28px 18px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.value .icon { color: var(--orange); margin: 0 auto 12px; }
.value h3 { font-size: 1.05rem; }
.value p { font-size: .92rem; margin: 0; }
.team-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 340px)); gap: 28px; justify-content: center; }
.team-card { background: #fff; border-radius: 18px; border: 1px solid var(--line); padding: 30px; text-align: center; box-shadow: var(--shadow); }
.avatar { width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 16px; display: grid; place-items: center; background: linear-gradient(135deg, var(--navy), var(--blue)); color: #fff; font-family: var(--font-head); font-size: 1.8rem; font-weight: 700; }
.team-card .role { color: var(--orange); font-weight: 600; font-size: .9rem; margin-bottom: 10px; }
.mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mission-card { border-radius: 18px; padding: 34px; color: #E6E9FA; background: linear-gradient(135deg, var(--navy), #2148C0); }
.mission-card:nth-child(2) { background: linear-gradient(135deg, var(--navy-dark), var(--magenta)); }
.mission-card h3 { color: #fff; display: flex; gap: 10px; align-items: center; }
.mission-card p { margin: 0; }

/* Forms */
.form-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 34px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 600; font-size: .9rem; color: var(--ink); margin-bottom: 6px; }
.field label .req { color: var(--red); }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border: 1px solid #CDD2E6; border-radius: 10px; font: inherit; color: var(--ink); background: #fff; transition: border-color .15s ease, box-shadow .15s ease; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(41,143,232,.18); }
.field .hint { font-size: .8rem; color: var(--muted); margin-top: 4px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { margin-top: 22px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-actions small { color: var(--muted); }
.notice { padding: 14px 18px; border-radius: 10px; margin-bottom: 20px; font-size: .95rem; }
.notice-success { background: #E8F7EE; color: #1B6B3A; border: 1px solid #B9E4C9; }
.notice-error { background: #FDECEC; color: #8A1F24; border: 1px solid #F3C2C4; }
.contact-cards { display: grid; gap: 16px; }
.contact-card { display: flex; gap: 16px; padding: 22px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.contact-card .icon-wrap { width: 46px; height: 46px; border-radius: 12px; background: linear-gradient(135deg, var(--navy), var(--blue)); color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.contact-card strong { display: block; font-family: var(--font-head); color: var(--ink); }
.contact-card a, .contact-card span { font-size: .95rem; }
.map-wrap { margin-top: 48px; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); }
.map-wrap iframe { display: block; width: 100%; height: 380px; border: 0; }

/* Legal / prose */
.prose { max-width: 820px; margin: 0 auto; }
.prose h2 { font-size: 1.35rem; margin-top: 1.8em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }

/* Careers */
.job-list { display: grid; gap: 16px; }
.job { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 26px; background: #fff; border-radius: 14px; border: 1px solid var(--line); }
.job h3 { margin: 0 0 4px; font-size: 1.05rem; }
.job .meta { font-size: .88rem; color: var(--muted); }
.empty-state { text-align: center; padding: 36px; background: #fff; border: 1px dashed #CDD2E6; border-radius: 14px; }

/* 404 */
.error-page { text-align: center; padding: 120px 20px; }
.error-page .code { font-family: var(--font-head); font-size: clamp(5rem, 14vw, 9rem); font-weight: 700; line-height: 1; background: var(--brand-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }

@media (max-width: 1180px) {
  .detail-grid.cols-4, .related-grid, .value-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .intro-split, .feature-band, .form-layout, .mission-grid { grid-template-columns: 1fr; }
  .feature-band.reverse > :first-child { order: 0; }
  .detail-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: minmax(0, 340px); }
}
@media (max-width: 600px) {
  .detail-grid.cols-2, .detail-grid.cols-3, .detail-grid.cols-4, .related-grid, .value-grid, .form-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 44px 0 90px; }
  .form-card { padding: 22px; }
  .job { flex-direction: column; align-items: flex-start; }
}
.flag { display: inline-block; vertical-align: middle; margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: rgba(213,115,44,.12); color: var(--orange); font-size: .68rem; font-family: var(--font-body); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.link-list { list-style: none; padding: 0; margin: 0 0 18px; }
.link-list li { border-bottom: 1px solid var(--line); }
.link-list li:last-child { border-bottom: 0; }
.link-list a { display: block; padding: 8px 0; font-size: .93rem; color: var(--ink); }
.link-list a:hover { color: var(--blue); padding-left: 4px; }

/* Homepage: IT projects & services */
.it-projects { position: relative; overflow: hidden; }
.it-projects::after { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -160px; background: url("../img/logo-mark.png") center / contain no-repeat; opacity: .06; pointer-events: none; }
.it-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: 48px; position: relative; z-index: 1; }
.it-intro h2 { margin: 0; }
.it-intro p { color: #C9CEF0; }
.it-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; position: relative; z-index: 1; }
.it-card { display: block; padding: 28px; border-radius: var(--radius); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); color: #C9CEF0; transition: all .2s ease; }
.it-card:hover { background: rgba(255,255,255,.1); border-color: var(--cyan); transform: translateY(-4px); color: #C9CEF0; }
.it-card h3 { color: #fff; margin: 16px 0 8px; }
.it-card p { margin: 0; font-size: .93rem; }
.it-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--blue), var(--cyan)); }
.it-card:nth-child(2) .it-icon, .it-card:nth-child(5) .it-icon { background: linear-gradient(135deg, var(--orange), var(--red)); }
.it-card:nth-child(3) .it-icon, .it-card:nth-child(6) .it-icon { background: linear-gradient(135deg, var(--magenta), var(--navy)); }
@media (max-width: 900px) { .it-intro { grid-template-columns: 1fr; gap: 16px; } .it-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .it-grid { grid-template-columns: 1fr; } }
