/* ==========================================================================
   XRDigitech — Enterprise IT Services
   Shared stylesheet (light, responsive, accessible)
   ========================================================================== */

:root {
  --navy: #0b2a4d;
  --navy-2: #103a63;
  --navy-3: #1a4d80;
  --blue: #1d4ed8;
  --blue-strong: #1e40af;
  --cyan: #38bdf8;
  --ink: #101c2e;
  --slate: #51627a;
  --line: #e3eaf4;
  --bg: #ffffff;
  --bg-soft: #f5f8fc;
  --bg-tint: #eaf1ff;
  --success: #16a34a;
  --danger: #dc2626;
  --warning: #d97706;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(16,28,46,.06), 0 10px 30px -12px rgba(16,28,46,.18);
  --shadow-lg: 0 30px 60px -20px rgba(16,28,46,.35);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.18; color: var(--navy); margin: 0 0 .5em; font-weight: 750; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.3rem); }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.muted { color: var(--slate); }
.lead { font-size: 1.18rem; color: var(--slate); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 84px 0; }
.section--soft { background: var(--bg-soft); }
.section--tint { background: var(--bg-tint); }
.section--dark { background: var(--navy); color: #e8eef8; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .muted, .section--dark .lead { color: #b7c4d8; }

.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 12px;
}

/* Skip link */
.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--blue); color: #fff;
  padding: 10px 16px; z-index: 200; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: inherit; font-size: 1rem; font-weight: 650; line-height: 1;
  padding: 14px 24px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .12s ease, background .15s ease, box-shadow .15s ease, border-color .15s ease, color .15s ease;
  text-decoration: none; white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px -8px rgba(29,78,216,.55); }
.btn--primary:hover { background: var(--blue-strong); }
.btn--light { background: #fff; color: var(--navy); border-color: #fff; }
.btn--light:hover { background: #eef4ff; }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn--ghost-on-dark { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn--ghost-on-dark:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn--sm { padding: 10px 18px; font-size: .92rem; }
.btn--lg { padding: 17px 30px; font-size: 1.06rem; }

/* Header / nav */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(10px); border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.brand:hover { text-decoration: none; }
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block; padding: 9px 13px; color: var(--ink); font-weight: 550; font-size: .97rem;
  border-radius: 8px; text-decoration: none; transition: background .15s ease, color .15s ease;
}
.nav-links a:hover { background: var(--bg-soft); color: var(--blue); text-decoration: none; }
.nav-links a[aria-current="page"] { color: var(--blue); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; border-radius: 8px; }
.nav-toggle:focus-visible { outline: 3px solid var(--cyan); }
.nav-toggle span { display: block; width: 24px; height: 2.5px; background: var(--navy); margin: 5px 0; border-radius: 2px; transition: .2s; }

/* Mobile navigation */
@media (max-width: 900px) {
  .nav { position: relative; }
  .nav-links {
    display: none; position: absolute; top: 70px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border: 1px solid var(--line); border-radius: 12px;
    padding: 8px 14px 14px; box-shadow: var(--shadow-lg); max-height: calc(100vh - 90px); overflow-y: auto;
  }
  .nav.open .nav-links { display: flex; }
  .nav-links a { padding: 12px 8px; font-size: 1.04rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-links li:last-child a { border-bottom: 0; }
  .nav-toggle { display: block; }
  .nav-cta .btn { display: none; }
  .drop-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding-left: 12px; min-width: 0; }
  .nav-toggle.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
}

/* Dropdown */
.has-drop { position: relative; }
.drop-menu {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 240px; background: #fff;
  border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .16s ease; z-index: 120;
  list-style: none; margin: 0;
}
.has-drop:hover .drop-menu, .has-drop:focus-within .drop-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.drop-menu a { padding: 9px 12px; border-radius: 8px; }

/* Hero */
.hero { position: relative; overflow: hidden; background: radial-gradient(1100px 600px at 82% -10%, #1a4d8a 0%, #0b2a4d 55%, #081d3a 100%); color: #fff; }
.hero .container { position: relative; padding-top: 84px; padding-bottom: 96px; }
.hero h1 { color: #fff; max-width: 15ch; }
.hero .lead { color: #c4d2e6; max-width: 56ch; font-size: 1.22rem; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16); border-radius: 999px; padding: 7px 14px;
  font-size: .85rem; font-weight: 600; color: #dbe7f7; margin-bottom: 22px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 34px; margin-top: 46px; }
.hero-stat b { display: block; font-size: 1.9rem; color: #fff; letter-spacing: -.02em; }
.hero-stat span { color: #aebfda; font-size: .9rem; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .hero .container { padding-top: 56px; padding-bottom: 64px; } }

/* Cards & grids */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: 0 1px 2px rgba(16,28,46,.05); transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
  position: relative;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d6e0f0; }
.card .icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px; background: var(--bg-tint); color: var(--blue); }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--slate); margin: 0; font-size: .98rem; }
.card--link { text-decoration: none; color: inherit; display: block; }
.card--link:hover { text-decoration: none; }
.card .arrow { display: inline-flex; align-items: center; gap: 6px; color: var(--blue); font-weight: 650; font-size: .95rem; margin-top: 16px; }

.service-card { display: flex; flex-direction: column; }
.service-card .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 18px; }
.tag { font-size: .78rem; font-weight: 600; color: var(--slate); background: var(--bg-soft); border: 1px solid var(--line); padding: 4px 10px; border-radius: 999px; }

/* Feature split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 28px; } }
.check-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 11px; align-items: flex-start; }
.check-list li::before { content: "✓"; color: var(--success); font-weight: 800; flex: none; margin-top: 1px; }

/* Stats band */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { text-align: center; padding: 24px 12px; border-radius: var(--radius); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.stat b { display: block; font-size: 2.3rem; color: #fff; letter-spacing: -.02em; }
.stat span { color: #b7c4d8; font-size: .92rem; }

/* Video showcase (lazy YouTube) */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .video-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .video-grid { grid-template-columns: 1fr; } }
.video-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 2px rgba(16,28,46,.05); }
.video-card .vid-body { padding: 16px 18px 20px; }
.video-card h3 { font-size: 1.02rem; margin: 0; }
.video-frame { position: relative; aspect-ratio: 16/9; background: linear-gradient(135deg, #1a4d80, #0b2a4d); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-trigger {
  position: absolute; inset: 0; border: 0; cursor: pointer; padding: 0; background: linear-gradient(135deg, #1a4d80, #0b2a4d); display: grid; place-items: center;
}
.video-trigger .thumb-text { position: absolute; left: 18px; right: 18px; bottom: 16px; text-align: left; }
.video-trigger .thumb-kicker { display: block; font-size: .66rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: #8ecbff; margin-bottom: 5px; }
.video-trigger .thumb-title { display: block; font-size: 1.15rem; font-weight: 700; line-height: 1.25; color: #fff; }
.video-trigger .play {
  position: relative; width: 64px; height: 64px; border-radius: 50%; background: rgba(255,255,255,.95);
  display: grid; place-items: center; color: var(--navy); box-shadow: 0 10px 30px rgba(0,0,0,.4);
}
.video-trigger .play svg { width: 26px; height: 26px; margin-left: 3px; }
.video-trigger:hover .play { transform: scale(1.06); background: #fff; }

/* Blog cards */
.blog-card { display: flex; flex-direction: column; }
.blog-card .meta { display: flex; gap: 12px; color: var(--slate); font-size: .85rem; margin-bottom: 10px; }
.blog-card h3 { font-size: 1.1rem; }
.blog-card p { flex: 1; }

/* Forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .92rem; color: var(--navy); }
.field input, .field textarea, .field select {
  font-family: inherit; font-size: 1rem; padding: 13px 15px; border: 1.5px solid var(--line);
  border-radius: var(--radius-sm); background: #fff; color: var(--ink); width: 100%; transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(29,78,216,.12);
}
.field textarea { min-height: 130px; resize: vertical; }
.field .hint { font-size: .8rem; color: var(--slate); }
.field.is-error input, .field.is-error textarea { border-color: var(--danger); }
.field .error-msg { font-size: .82rem; color: var(--danger); display: none; }
.field.is-error .error-msg { display: block; }
.form-status { display: none; padding: 14px 16px; border-radius: var(--radius-sm); font-size: .95rem; margin-top: 18px; }
.form-status.success { display: block; background: #ecfdf3; color: #15803d; border: 1px solid #bbf7d0; }
.form-status.error { display: block; background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }

/* Testimonials */
.testi { border-radius: var(--radius); padding: 28px; }
.testi blockquote { margin: 0 0 16px; font-size: 1.06rem; color: var(--ink); }
.testi .who { display: flex; align-items: center; gap: 12px; }
.testi .who .av { width: 44px; height: 44px; border-radius: 50%; background: var(--navy-3); color: #fff; display: grid; place-items: center; font-weight: 700; flex: none; }
.testi .who b { display: block; color: var(--navy); }
.testi .who span { font-size: .86rem; color: var(--slate); }

/* Footer */
.site-footer { background: var(--navy); color: #c2cfe1; padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 48px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.site-footer a { color: #c2cfe1; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-brand { display: inline-flex; align-items: center; gap: 11px; color: #fff; margin-bottom: 14px; text-decoration: none; }
.footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-contact a { word-break: break-word; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.08); display: grid; place-items: center; transition: background .15s ease; }
.social a:hover { background: var(--blue); }
.social svg { width: 19px; height: 19px; fill: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; font-size: .88rem; color: #8fa1bd; }
.footer-bottom a { color: #8fa1bd; }

/* Utility */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 12px; }
.mt-2 { margin-top: 24px; }
.mt-3 { margin-top: 40px; }
.mb-0 { margin-bottom: 0; }
.hidden { display: none !important; }
.pill { display: inline-flex; align-items: center; gap: 6px; background: var(--bg-tint); color: var(--blue); font-size: .82rem; font-weight: 700; padding: 6px 12px; border-radius: 999px; }

/* Page hero (inner pages) */
.page-hero { background: radial-gradient(900px 400px at 80% -20%, #1a4d8a 0%, #0b2a4d 60%, #081d3a 100%); color: #fff; }
.page-hero .container { padding-top: 66px; padding-bottom: 66px; }
.page-hero h1 { color: #fff; margin-bottom: 12px; }
.page-hero .lead { color: #c4d2e6; max-width: 60ch; }
.crumb { font-size: .86rem; color: #aebfda; margin-bottom: 16px; }
.crumb a { color: #cfe0f5; }

/* Breadcrumb */
.breadcrumb { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 18px; font-size: .88rem; color: var(--slate); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--line); }
.breadcrumb a { color: var(--slate); }
.breadcrumb a:hover { color: var(--blue); }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* Content prose (for legal/blog text) */
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.5em; margin-bottom: .5em; font-size: 1.45rem; }
.prose h3 { margin-top: 1.3em; margin-bottom: .4em; font-size: 1.18rem; }
.prose h4 { margin-top: 1.2em; font-size: 1.05rem; }
.prose p { margin: 0 0 1.05em; }
.prose p, .prose li { color: var(--slate); }
.prose ul, .prose ol { padding-left: 1.4em; margin: 0 0 1.1em; }
.prose li { margin-bottom: .4em; }
.prose a { color: var(--blue); text-decoration: underline; }
.prose a:hover { color: #38bdf8; }
.prose img { border-radius: 12px; margin: 1.2em 0; }
.prose figure { margin: 1.4em 0; }
.prose figure img { margin: 0; }
.prose figcaption { font-size: .88rem; color: #7b8aa5; margin-top: .5em; text-align: center; }
.prose blockquote { border-left: 4px solid var(--blue); margin: 1.2em 0; padding: .4em 0 .4em 1.2em; color: var(--slate); font-style: italic; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: .95rem; }
.prose table th, .prose table td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.prose table th { background: var(--bg-soft); color: var(--navy); }
.prose strong { color: var(--navy); }

/* Table */
.table-wrap { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: .95rem; }
table.data th, table.data td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); }
table.data th { color: var(--navy); background: var(--bg-soft); }


/* Products */
.mini-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.mini-list li { position: relative; padding-left: 18px; color: var(--slate); font-size: .95rem; }
.mini-list li::before { content: ""; position: absolute; left: 0; top: 7px; width: 8px; height: 8px; border-radius: 2px; background: var(--blue); }

/* Tech logos */
.tech-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.tech-grid .tech-item { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; display: flex; align-items: center; }
.tech-grid img { height: 30px; width: auto; }

/* Logo strips */
.logo-strip { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 20px 34px; }
.logo-strip img { height: 46px; width: auto; max-width: 150px; object-fit: contain; }

.badge-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 26px; border-top: 1px solid var(--line); padding-top: 28px; }
.badge-strip .badge-label { font-weight: 700; color: var(--navy); letter-spacing: .4px; margin-right: 6px; }
.badge-strip img { height: 54px; width: auto; object-fit: contain; }


/* ===== Interactions & animations ===== */
.btn { transition: transform .16s ease, box-shadow .16s ease, background .16s ease, color .16s ease; }
.btn:hover { transform: translateY(-2px); }
.nav-links a { position: relative; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -4px; width: 0; height: 2px; background: var(--cyan); transition: width .22s ease; }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { width: 100%; }

/* Service card with image */
.service-card { padding: 0; }
.service-card .card-img { height: 150px; overflow: hidden; background: var(--bg-soft); flex: none; }
.service-card .card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.service-card:hover .card-img img { transform: scale(1.07); }
.service-card .card-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 0; flex: 1; }

/* Product cards */
.product-card { padding: 0; display: flex; flex-direction: column; }
.product-card .card-img { height: 170px; overflow: hidden; background: var(--bg-soft); }
.product-card .card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.product-card:hover .card-img img { transform: scale(1.07); }
.product-card .card-body { padding: 22px 24px 24px; flex: 1; }

/* Custom cursor */
#cursor-dot, #cursor-ring { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 99999; border-radius: 50%; transform: translate(-50%, -50%); will-change: transform; }
#cursor-dot { width: 8px; height: 8px; background: var(--blue); }
#cursor-ring { width: 38px; height: 38px; border: 2px solid var(--blue); opacity: .45; transition: width .18s ease, height .18s ease, opacity .18s ease, border-color .18s ease; }
#cursor-ring.is-hover { width: 58px; height: 58px; opacity: .85; border-color: var(--cyan); }
body.has-cursor, body.has-cursor a, body.has-cursor button, body.has-cursor .card, body.has-cursor input, body.has-cursor textarea, body.has-cursor select, body.has-cursor label { cursor: none; }
@media (hover: none), (pointer: coarse) { #cursor-dot, #cursor-ring { display: none !important; } body.has-cursor, body.has-cursor * { cursor: auto !important; } }

/* Careers accordion */
.job { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; margin-bottom: 12px; overflow: hidden; transition: border-color .2s ease, box-shadow .2s ease; }
.job:hover { border-color: var(--cyan); }
.job-head { width: 100%; text-align: left; background: none; border: 0; padding: 18px 22px; display: flex; justify-content: space-between; align-items: center; gap: 16px; cursor: pointer; font-size: 1.05rem; font-weight: 700; color: var(--navy); font-family: var(--font); }
.job-head .chev { transition: transform .25s ease; color: var(--blue); flex: none; }
.job.open .job-head .chev { transform: rotate(180deg); }
.job-body { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.job.open .job-body { max-height: 800px; }
.job-body-inner { padding: 0 22px 22px; color: var(--slate); }
.job-body-inner p { margin: 0 0 10px; }
.job-body-inner ul { padding-left: 1.2em; margin: 6px 0 14px; }
.job-body-inner li { margin-bottom: 6px; }
.job-tag { display: inline-block; background: var(--bg-tint); color: var(--blue); font-size: .78rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; margin: 0 6px 6px 0; }

/* Team / human photo */
.team-photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.team-photo img { width: 100%; height: auto; display: block; }

/* Testimonial photo avatar */
.testi .who .av { overflow: hidden; background: var(--bg-tint); }
.testi .who .av img { width: 100%; height: 100%; object-fit: cover; }


/* Tech logo marquee (2 rows, right-to-left) */
.marquee { overflow: hidden; padding: 4px 0; }
.marquee-row { overflow: hidden; }
.marquee-row + .marquee-row { margin-top: 14px; }
.marquee-track { display: flex; gap: 16px; width: max-content; will-change: transform; }


/* ===== Animations & polish ===== */
@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.hero-grid > div { animation: fadeUp .7s cubic-bezier(.22,.61,.36,1) both; }
.hero-grid > div:nth-child(2) { animation-delay: .15s; }
.hero-stats .hero-stat { animation: fadeUp .6s ease both; }
.hero-stats .hero-stat:nth-child(2) { animation-delay: .08s; }
.hero-stats .hero-stat:nth-child(3) { animation-delay: .16s; }
.hero-stats .hero-stat:nth-child(4) { animation-delay: .24s; }

@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.hero .video-frame { animation: floaty 7s ease-in-out infinite; }
.hero .video-frame:hover { animation-play-state: paused; }

.watch-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .84rem; font-weight: 600; color: #38bdf8;
  text-decoration: none; margin-top: 10px; transition: color .2s ease;
}
.watch-link:hover { color: #1d4ed8; text-decoration: underline; }

/* Marquee logo cards (fixed size so the track scrolls correctly) */
.marquee .tech-item {
  display: flex; align-items: center; justify-content: center;
  height: 58px; padding: 0 20px; flex: 0 0 auto;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 2px 8px rgba(11,42,77,.06);
  white-space: nowrap;
}
.marquee .tech-item img {
  height: 34px; width: auto; max-width: 140px;
  object-fit: contain; display: block;
  filter: grayscale(100%) opacity(.8);
  transition: filter .25s ease;
}
.marquee .tech-item:hover img { filter: grayscale(0%) opacity(1); }

/* FAQ accordion */
.faq-list { max-width: 820px; margin: 0 auto; text-align: left; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; overflow: hidden; }
.faq-item summary { cursor: pointer; padding: 18px 48px 18px 20px; font-weight: 700; color: var(--navy); list-style: none; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; line-height: 1; color: var(--blue); }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { margin: 0; padding: 0 20px 18px; color: var(--slate); }

/* Cookie consent banner */
#cookie-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9999; background: #0b2a4d; color: #fff; padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; box-shadow: 0 -4px 20px rgba(0,0,0,.25); }
#cookie-banner p { margin: 0; font-size: .9rem; color: #dbe7f6; max-width: 680px; }
#cookie-banner a { color: #7dd3fc; text-decoration: underline; }
#cookie-banner .cookie-actions { display: flex; gap: 10px; }
#cookie-banner button { border: 1px solid rgba(255,255,255,.35); background: transparent; color: #fff; padding: 9px 18px; border-radius: 8px; cursor: pointer; font-weight: 600; font-size: .88rem; transition: opacity .2s ease; }
#cookie-banner button.accept { background: #1d4ed8; border-color: #1d4ed8; }
#cookie-banner button:hover { opacity: .85; }
@media (max-width: 640px) { #cookie-banner { flex-direction: column; align-items: stretch; } #cookie-banner .cookie-actions { justify-content: flex-end; } }

/* Cookie preferences panel */
#cookie-banner .cookie-preferences { margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.18); }
#cookie-banner .pref-row { margin-bottom: 12px; }
#cookie-banner .pref-row label { display: flex; align-items: flex-start; gap: 10px; font-size: .9rem; cursor: pointer; color: #fff; }
#cookie-banner .pref-row input { margin-top: 2px; }
#cookie-banner .pref-note { display: block; color: #9db8d6; font-size: .78rem; margin-top: 2px; }

/* Cookie policy table */
.cookie-table { width: 100%; border-collapse: collapse; font-size: .9rem; margin: 1rem 0; }
.cookie-table th, .cookie-table td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.cookie-table th { background: var(--bg-soft); font-weight: 700; }
.cookie-table code { font-size: .85rem; }
