/* Shribi — brand tokens from logo */
:root {
  --blue-bright: #3b7fd9;
  --blue-primary: #2563eb;
  --blue-royal: #1d4ed8;
  --blue-cyan: #38bdf8;
  --blue-navy: #0f172a;
  --blue-dark: #1e3a5f;
  --bg-deep: #050810;
  --bg-card: rgba(15, 23, 42, 0.72);
  --bg-glass: rgba(30, 58, 95, 0.35);
  --text-primary: #f1f5f9;
  --text-muted: #94a3b8;
  --border: rgba(56, 189, 248, 0.15);
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Keep inline SVGs at intended size (prevents full-width blow-up in links) */
svg.social-icon {
  display: block;
  width: 18px;
  height: 18px;
  max-width: 18px;
  max-height: 18px;
  flex-shrink: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

/* Background */
.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(37, 99, 235, 0.25), transparent),
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(56, 189, 248, 0.08), transparent),
    var(--bg-deep);
}

.hex-grid {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='100' viewBox='0 0 56 100'%3E%3Cpath fill='%2338bdf8' d='M28 0L56 16v32L28 64 0 48V16z'/%3E%3C/svg%3E");
  background-size: 56px 100px;
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
}

.glow-1 {
  width: 500px;
  height: 500px;
  top: -10%;
  right: -10%;
  background: rgba(37, 99, 235, 0.2);
}

.glow-2 {
  width: 400px;
  height: 400px;
  bottom: 20%;
  left: -15%;
  background: rgba(56, 189, 248, 0.12);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  transition: background var(--transition), box-shadow var(--transition);
}

.header.scrolled {
  background: rgba(5, 8, 16, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.brand-logo {
  border-radius: 8px;
}

.brand-name {
  text-transform: lowercase;
  background: linear-gradient(135deg, var(--text-primary), var(--blue-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-cta {
  padding: 0.5rem 1.25rem !important;
  background: linear-gradient(135deg, var(--blue-primary), var(--blue-royal));
  color: #fff !important;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
}

.nav-cta:hover {
  filter: brightness(1.1);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 3rem) 0 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-cyan);
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.gradient-text {
  background: linear-gradient(135deg, var(--blue-cyan), var(--blue-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-lead {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 32rem;
  margin-bottom: 2rem;
}

.hero-brands {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero-brand-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem 0.45rem 0.65rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
}

.hero-brand-pill:hover {
  border-color: rgba(56, 189, 248, 0.45);
  background: rgba(37, 99, 235, 0.15);
  transform: translateY(-1px);
}

.hero-brand-pill img {
  border-radius: 6px;
  object-fit: contain;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue-primary), var(--blue-royal));
  color: #fff;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.45);
}

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  border-color: var(--blue-cyan);
  background: rgba(56, 189, 248, 0.08);
}

.btn-full {
  width: 100%;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.stat strong {
  display: block;
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--blue-cyan);
  line-height: 1.2;
}

.stat span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Logo showcase */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-showcase {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-ring {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 1px solid var(--border);
  animation: pulse-ring 4s ease-in-out infinite;
}

.logo-ring::before {
  content: "";
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  border: 1px dashed rgba(56, 189, 248, 0.2);
  animation: spin 30s linear infinite;
}

@keyframes pulse-ring {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.05); opacity: 1; }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.hero-logo {
  position: relative;
  z-index: 1;
  width: 280px;
  height: 280px;
  max-width: min(280px, 70vw);
  max-height: min(280px, 70vw);
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(37, 99, 235, 0.35));
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* Sections */
.section {
  padding: 6rem 0;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-cyan);
  margin-bottom: 0.75rem;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}

.section-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Cards */
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  backdrop-filter: blur(8px);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.35);
  box-shadow: var(--shadow);
}

.card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.3), rgba(56, 189, 248, 0.15));
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
  color: var(--blue-cyan);
}

.card-icon svg {
  width: 24px;
  height: 24px;
}

.card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Companies (subsidiaries) */
.companies {
  background: linear-gradient(180deg, transparent, rgba(37, 99, 235, 0.06) 40%, transparent);
}

.companies-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.company-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(8px);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.company-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.company-card--billint:hover {
  border-color: rgba(37, 99, 235, 0.5);
}

.company-card--zamiwala:hover {
  border-color: rgba(56, 189, 248, 0.45);
}

.company-card-head {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.company-logo-wrap {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(5, 8, 16, 0.5);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.5rem;
}

.company-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.company-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue-cyan);
  margin-bottom: 0.35rem;
}

.company-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.15rem;
}

.company-url {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--blue-cyan);
  transition: color var(--transition);
}

.company-url:hover {
  color: var(--text-primary);
}

.company-card > p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.company-features {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}

.company-features li {
  font-size: 0.875rem;
  color: var(--text-muted);
  padding-left: 1.1rem;
  position: relative;
}

.company-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue-primary);
}

.company-cta {
  align-self: flex-start;
  gap: 0.5rem;
}

.company-cta svg {
  flex-shrink: 0;
}

.section-header strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* Services */
.services {
  background: linear-gradient(180deg, transparent, rgba(15, 23, 42, 0.5) 50%, transparent);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: border-color var(--transition);
}

.service-card:hover {
  border-color: rgba(37, 99, 235, 0.4);
}

.service-num {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--blue-cyan);
  letter-spacing: 0.05em;
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0.5rem 0 0.75rem;
}

.service-card > p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.service-card ul {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.service-card li {
  font-size: 0.875rem;
  color: var(--text-muted);
  padding-left: 1rem;
  position: relative;
}

.service-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--blue-cyan);
}

/* Why */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.why-content h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 600;
  margin-bottom: 1rem;
}

.why-content > p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.why-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  color: var(--text-muted);
}

.check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(37, 99, 235, 0.25);
  color: var(--blue-cyan);
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 700;
}

.glass-panel {
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.panel-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.panel-row:last-of-type {
  border-bottom: none;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.dot-green { background: #22c55e; }
.dot-blue { background: var(--blue-primary); }
.dot-cyan { background: var(--blue-cyan); }

.badge {
  margin-left: auto;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  background: rgba(34, 197, 94, 0.2);
  color: #4ade80;
  border-radius: 999px;
}

.metric {
  margin-left: auto;
  font-weight: 700;
  color: var(--blue-cyan);
}

.progress-bar {
  height: 6px;
  background: rgba(15, 23, 42, 0.8);
  border-radius: 999px;
  margin: 1.25rem 0 0.75rem;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 87%;
  background: linear-gradient(90deg, var(--blue-primary), var(--blue-cyan));
  border-radius: 999px;
  animation: progress 2s ease-out;
}

@keyframes progress {
  from { width: 0; }
}

.panel-caption {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 600;
  margin-bottom: 1rem;
}

.contact-info > p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--blue-cyan);
  font-weight: 500;
  transition: color var(--transition);
}

.contact-link:hover {
  color: var(--text-primary);
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  backdrop-filter: blur(8px);
}

.form-row {
  margin-bottom: 1.25rem;
}

.form-row label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text-muted);
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-primary);
  background: rgba(5, 8, 16, 0.6);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--blue-cyan);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15);
}

.form-row textarea {
  resize: vertical;
  min-height: 100px;
}

.form-note {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--blue-cyan);
  min-height: 1.25rem;
}

.form-note.error {
  color: #f87171;
}

/* Footer */
.footer {
  padding: 2.5rem 0 1.5rem;
  border-top: 1px solid var(--border);
  margin-top: 2rem;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.footer-brand-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.brand-footer .brand-logo {
  width: 32px;
  height: 32px;
}

.footer-tagline {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
}

.footer-bottom {
  padding-top: 1.5rem;
  text-align: center;
}

.footer-social-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.footer-social-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0;
}

.footer-social {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-social li {
  display: flex;
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 2.5rem;
  height: 2.5rem;
  min-width: 2.5rem;
  min-height: 2.5rem;
  max-width: 2.5rem;
  max-height: 2.5rem;
  padding: 0;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: color var(--transition), background var(--transition), border-color var(--transition), transform var(--transition);
}

.social-link .social-icon,
.footer-social .social-icon {
  display: block;
  width: 1.125rem;
  height: 1.125rem;
  min-width: 1.125rem;
  min-height: 1.125rem;
  max-width: 1.125rem;
  max-height: 1.125rem;
  flex-shrink: 0;
  pointer-events: none;
}

.social-link:hover {
  color: var(--blue-cyan);
  background: rgba(37, 99, 235, 0.25);
  border-color: rgba(56, 189, 248, 0.4);
  transform: translateY(-2px);
}

.social-link:focus-visible {
  outline: 2px solid var(--blue-cyan);
  outline-offset: 2px;
}

.footer-copy {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-copy a {
  color: var(--blue-cyan);
  font-weight: 500;
  transition: color var(--transition);
}

.footer-copy a:hover {
  color: var(--text-primary);
}

.footer-copy-sep {
  margin: 0 0.35rem;
  opacity: 0.5;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 1.5rem;
}

.footer-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--blue-cyan);
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid,
  .why-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-visual {
    order: -1;
  }

  .hero-logo {
    width: 200px;
    height: 200px;
  }

  .logo-ring {
    width: 240px;
    height: 240px;
  }

  .hero-actions,
  .hero-stats {
    justify-content: center;
  }

  .hero-lead {
    margin-inline: auto;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .services-grid,
  .companies-grid {
    grid-template-columns: 1fr;
  }

  .hero-brands {
    justify-content: center;
  }

  .why-list {
    text-align: left;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(5, 8, 16, 0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0 1.5rem;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform var(--transition), opacity var(--transition), visibility var(--transition);
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-links li {
    width: 100%;
    text-align: center;
  }

  .nav-links a {
    display: block;
    padding: 0.875rem 1.5rem;
  }

  .nav-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle.open span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .footer-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-brand-block {
    align-items: center;
  }

  .footer-links {
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-logo,
  .logo-ring,
  .logo-ring::before,
  .progress-fill { animation: none; }
}
