/* ═══════════════════════════════════════════════════════
   DNS — Dynamic Networks Solutions
   Business Professional Design · Light & Dark Mode
═══════════════════════════════════════════════════════ */

/* ─── Dark Theme (default) ─────────────────────────── */
:root {
  --bg:         #07111f;
  --bg-2:       #0b1929;
  --bg-3:       #0f2038;
  --surface:    #112035;
  --surface-2:  #182c46;
  --border:     rgba(255,255,255,0.07);
  --border-2:   rgba(255,255,255,0.13);
  --border-3:   rgba(255,255,255,0.20);

  --blue:       #0ea5e9;
  --blue-2:     #38bdf8;
  --blue-dark:  #0284c7;
  --indigo:     #6366f1;
  --cyan:       #06b6d4;
  --green:      #22c55e;

  --text:       #eef2ff;
  --text-2:     #8da4be;
  --text-3:     #4d6680;

  --gradient:       linear-gradient(135deg, #0ea5e9 0%, #6366f1 100%);
  --gradient-2:     linear-gradient(135deg, #06b6d4 0%, #0ea5e9 100%);
  --gradient-hover: linear-gradient(135deg, #38bdf8 0%, #818cf8 100%);

  --radius:    10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow:    0 2px 16px rgba(0,0,0,0.35);
  --shadow-md: 0 6px 32px rgba(0,0,0,0.45);
  --shadow-lg: 0 12px 56px rgba(0,0,0,0.55);
  --shadow-blue: 0 6px 28px rgba(14,165,233,0.28);

  --nav-h:     70px;
  --transition: 0.25s ease;

  color-scheme: dark;
}

/* ─── Light Theme ──────────────────────────────────── */
body.light {
  --bg:         #f5f7fa;
  --bg-2:       #eef1f6;
  --bg-3:       #e4e9f2;
  --surface:    #ffffff;
  --surface-2:  #f0f4f9;
  --border:     rgba(15,30,60,0.08);
  --border-2:   rgba(15,30,60,0.13);
  --border-3:   rgba(15,30,60,0.20);

  --blue:       #0284c7;
  --blue-2:     #0369a1;
  --blue-dark:  #0369a1;
  --indigo:     #4f46e5;
  --cyan:       #0891b2;
  --green:      #16a34a;

  --text:       #0f1e3c;
  --text-2:     #3d5470;
  --text-3:     #7a92aa;

  --gradient:       linear-gradient(135deg, #0284c7 0%, #4f46e5 100%);
  --gradient-2:     linear-gradient(135deg, #0891b2 0%, #0284c7 100%);
  --gradient-hover: linear-gradient(135deg, #0369a1 0%, #3730a3 100%);

  --shadow:    0 2px 12px rgba(15,30,60,0.09);
  --shadow-md: 0 6px 28px rgba(15,30,60,0.12);
  --shadow-lg: 0 12px 48px rgba(15,30,60,0.15);
  --shadow-blue: 0 6px 24px rgba(2,132,199,0.22);

  color-scheme: light;
}

/* ─── Reset & Base ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background 0.35s ease, color 0.35s ease;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
ul { list-style: none; }
input, textarea, select { font: inherit; }

/* ─── Container ────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ─── Section Spacing ──────────────────────────────── */
.section { padding: 96px 0; }

/* ─── Section Typography ───────────────────────────── */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}
.section-eyebrow::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background: var(--gradient);
  border-radius: 2px;
  flex-shrink: 0;
}

.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.85rem, 3.5vw, 2.6rem);
  font-weight: 700;
  line-height: 1.22;
  color: var(--text);
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.section-desc {
  font-size: 1rem;
  color: var(--text-2);
  max-width: 540px;
  text-align: center;
  margin: 0 auto;
  line-height: 1.75;
}

.section-header { text-align: center; margin-bottom: 60px; }
.section-header .section-eyebrow { display: flex; justify-content: center; }

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── Buttons ──────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  border-radius: 8px;
  transition: var(--transition);
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  padding: 11px 22px;
  font-size: 0.9rem;
  box-shadow: var(--shadow-blue);
}
.btn-primary:hover {
  background: var(--gradient-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(14,165,233,0.38);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  padding: 11px 22px;
  font-size: 0.9rem;
  border: 1.5px solid var(--border-2);
}
.btn-ghost:hover {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-1px);
}


.btn-lg  { padding: 14px 30px; font-size: 0.95rem; }
.btn-sm  { padding: 8px 16px; font-size: 0.82rem; }
.btn-full { width: 100%; justify-content: center; }

/* ─── Theme Toggle ─────────────────────────────────── */
.theme-toggle {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1.5px solid var(--border-2);
  color: var(--text-2);
  background: var(--surface);
  transition: var(--transition);
  flex-shrink: 0;
}
.theme-toggle:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--surface-2);
}

/* Show moon in dark, sun in light */
body:not(.light) .icon-sun  { display: none; }
body:not(.light) .icon-moon { display: block; }
body.light .icon-moon { display: none; }
body.light .icon-sun  { display: block; }

/* ─── Navbar ───────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  isolation: isolate;
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(7, 17, 31, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-color: var(--border);
  box-shadow: 0 1px 0 var(--border);
}
body.light .navbar.scrolled {
  background: rgba(245, 247, 250, 0.92);
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

/* Real logo image — adapt for light/dark */
.logo-img {
  height: 62px !important;
  width: auto !important;
  max-width: none !important;
  display: block;
  object-fit: contain;
  /* Dark mode: invert so white logo shows on dark bg */
  filter: brightness(0) invert(1);
  transition: filter 0.35s ease, opacity 0.25s ease;
}
.logo-img:hover { opacity: 0.85; }

/* Light mode: show logo in its original dark colours */
body.light .logo-img {
  filter: none;
}

/* Footer logo slightly larger */
.logo-img-footer {
  height: 42px !important;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  justify-content: center;
}

.nav-link {
  padding: 7px 14px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-2);
  border-radius: 7px;
  white-space: nowrap;
  transition: var(--transition);
}
.nav-link:hover, .nav-link.active {
  color: var(--text);
  background: var(--surface);
}

.nav-actions { display: flex; align-items: center; gap: 10px; }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 10px;
  min-width: 44px;
  min-height: 44px;
  cursor: pointer;
  position: relative;
  z-index: 1001;
}
.hamburger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ─── Hero Slideshow ────────────────────────────────── */
.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hs-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: hs-fade 25s infinite;
  will-change: opacity;
  transform: scale(1);
  animation-timing-function: ease-in-out;
}
.hs-slide:nth-child(1) { animation-delay: 0s; }
.hs-slide:nth-child(2) { animation-delay: 5s; }
.hs-slide:nth-child(3) { animation-delay: 10s; }
.hs-slide:nth-child(4) { animation-delay: 15s; }
.hs-slide:nth-child(5) { animation-delay: 20s; }

@keyframes hs-fade {
  0%   { opacity: 0;  transform: scale(1.04); }
  4%   { opacity: 1;  transform: scale(1.04); }
  20%  { opacity: 1;  transform: scale(1); }
  24%  { opacity: 0;  transform: scale(1); }
  100% { opacity: 0;  transform: scale(1.04); }
}

/* Dark scrim to keep hero text readable */
.hs-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(5,11,28,0.42) 0%, rgba(5,11,28,0.18) 50%, rgba(5,11,28,0.04) 100%),
    linear-gradient(to top, rgba(5,11,28,0.40) 0%, transparent 30%);
}
body.light .hs-overlay {
  background:
    linear-gradient(105deg, rgba(5,15,40,0.40) 0%, rgba(5,15,40,0.16) 50%, rgba(5,15,40,0.03) 100%),
    linear-gradient(to top, rgba(5,15,40,0.35) 0%, transparent 30%);
}

/* ─── Hero ─────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; pointer-events: none; }

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(14,165,233,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14,165,233,0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 55% at 50% 0%, black 20%, transparent 100%);
}
body.light .hero-grid {
  background-image:
    linear-gradient(rgba(2,132,199,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(2,132,199,0.07) 1px, transparent 1px);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.16;
  transition: opacity 0.35s ease;
}
body.light .hero-glow { opacity: 0.22; }

.hero-glow-1 {
  width: 640px; height: 640px;
  background: var(--blue);
  top: -180px; left: -160px;
}
.hero-glow-2 {
  width: 520px; height: 520px;
  background: var(--indigo);
  bottom: -80px; right: -120px;
}

.hero-particles { position: absolute; inset: 0; }

.hero-content {
  position: relative;
  z-index: 1;
  padding: 72px 28px;
  max-width: 1180px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
}

.hero-left { display: flex; flex-direction: column; }

/* ── Hero visual orb ───────────────────────────────── */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 480px;
}

.hv-orb {
  position: relative;
  width: 340px;
  height: 340px;
}

.hv-core {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.hv-glow {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14,165,233,0.65) 0%, rgba(99,102,241,0.38) 50%, transparent 75%);
  filter: blur(24px);
}

.hv-logo {
  position: relative;
  width: 160px;
  height: auto;
  filter: brightness(0) invert(1);
  z-index: 1;
  drop-shadow: 0 0 20px rgba(14,165,233,0.8);
}
body.light .hv-logo { filter: none; }

/* Rings */
.hv-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(14,165,233,0.55);
  will-change: transform;
}
.hv-ring-1 {
  inset: 0;
  animation: hv-spin 12s linear infinite;
}
.hv-ring-1::before {
  content: '';
  position: absolute;
  width: 12px; height: 12px;
  background: var(--blue);
  border-radius: 50%;
  top: -6px; left: calc(50% - 6px);
  box-shadow: 0 0 16px 5px rgba(14,165,233,0.9);
}
.hv-ring-2 {
  inset: 28px;
  border-color: rgba(99,102,241,0.55);
  animation: hv-spin 18s linear infinite reverse;
  transform: rotate(45deg);
}
.hv-ring-2::before {
  content: '';
  position: absolute;
  width: 10px; height: 10px;
  background: var(--indigo);
  border-radius: 50%;
  top: -5px; left: calc(50% - 5px);
  box-shadow: 0 0 14px 4px rgba(99,102,241,0.95);
}
.hv-ring-3 {
  inset: 58px;
  border-color: rgba(14,165,233,0.35);
  border-style: dashed;
  animation: hv-spin 28s linear infinite;
}

@keyframes hv-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Floating node dots */
.hv-dot {
  position: absolute;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 8px 2px rgba(14,165,233,0.5);
  animation: hv-float 3s ease-in-out infinite;
}
.hv-dot-1 { top: 10%;  right: 5%;  animation-delay: 0s; }
.hv-dot-2 { bottom: 15%; left: 2%;  animation-delay: 1.1s; background: var(--indigo); box-shadow: 0 0 8px 2px rgba(99,102,241,0.5); }
.hv-dot-3 { bottom: 8%;  right: 12%; animation-delay: 0.6s; }

@keyframes hv-float {
  0%, 100% { transform: translateY(0);    opacity: 1; }
  50%       { transform: translateY(-8px); opacity: 0.6; }
}

/* Floating info cards */
.hv-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border-2);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-1);
  white-space: nowrap;
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  animation: hv-float 3s ease-in-out infinite;
}
.hv-card svg { color: var(--blue); flex-shrink: 0; }
.hv-card-1 { top: 12%; left: -8%; animation-delay: 0.3s; }
.hv-card-2 { top: 50%;   right: -6%; animation-delay: 1.5s; transform: translateY(-50%); }
.hv-card-3 { bottom: 10%; left: 2%;   animation-delay: 0.9s; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(14,165,233,0.09);
  border: 1px solid rgba(14,165,233,0.22);
  border-radius: 6px;
  padding: 7px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 28px;
  letter-spacing: 0.04em;
  backdrop-filter: blur(8px);
}
body.light .hero-badge {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.28);
  color: #fff;
}
/* Force hero text white in both themes — always on top of slideshow */
body.light .hero-title  { color: #ffffff; }
body.light .hero-subtitle { color: rgba(255,255,255,0.82); }
body.light .hero-stat-label { color: rgba(255,255,255,0.65); }
body.light .hero-stat-divider { background: rgba(255,255,255,0.18); }

.badge-dot {
  width: 7px; height: 7px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2.2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.55; transform: scale(0.75); }
}

.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.6rem, 6.5vw, 5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  max-width: 680px;
  color: #ffffff;
}

.hero-subtitle {
  font-size: clamp(0.95rem, 1.8vw, 1.12rem);
  color: rgba(255,255,255,0.82);
  max-width: 520px;
  line-height: 1.78;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 68px;
}

.hero-stats {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 28px;
}

.hero-stat { display: flex; flex-direction: column; gap: 4px; }

.hero-stat-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stat-label {
  font-size: 0.78rem;
  color: var(--text-3);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.hero-stat-divider {
  width: 1px; height: 36px;
  background: var(--border-2);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 0.68rem;
  color: var(--text-3);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: float 3.2s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(-8px); }
}

.scroll-line {
  width: 1px; height: 36px;
  background: linear-gradient(to bottom, var(--blue), transparent);
}

/* ─── About ────────────────────────────────────────── */
.about { background: var(--bg-2); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.about-visual {
  position: relative;
  display: flex;
  justify-content: center;
}


.about-badge-float {
  position: absolute;
  top: -14px; right: -10px;
  display: flex; align-items: center; gap: 7px;
  background: var(--green);
  color: #fff;
  padding: 7px 14px;
  border-radius: 7px;
  font-size: 0.78rem;
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(34,197,94,0.32);
  animation: float 4.5s ease-in-out infinite;
  white-space: nowrap;
}

/* About real images */
.about-visual { display: block !important; }

.about-imgs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  height: 420px;
}

.about-img-main,
.about-img-side {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-2);
  box-shadow: var(--shadow-md);
}

.about-img-main img,
.about-img-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.about-img-main:hover img,
.about-img-side:hover img { transform: scale(1.04); }

/* Project cards with real photos */
.pc-photo {
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

/* Partner logos with real images */
.partner-logo {
  padding: 0 24px !important;
  background: var(--surface) !important;
}
.partner-logo img {
  height: 36px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  display: block;
  filter: grayscale(1);
  opacity: 0.7;
  transition: filter var(--transition), opacity var(--transition);
}
.partner-logo:hover img {
  filter: grayscale(0);
  opacity: 1;
}
body.light .partner-logo img {
  filter: grayscale(1) opacity(0.6);
}
body.light .partner-logo:hover img {
  filter: grayscale(0) opacity(1);
}

/* Contact team photo */
.contact-team-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-2);
  box-shadow: var(--shadow-md);
  margin-bottom: 14px;
  max-height: 200px;
}
.contact-team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-desc {
  color: var(--text-2);
  margin-bottom: 16px;
  line-height: 1.78;
  font-size: 0.97rem;
}

.about-pillars {
  display: flex; flex-direction: column; gap: 18px;
  margin: 30px 0;
}

.pillar { display: flex; gap: 14px; align-items: flex-start; }

.pillar-icon {
  flex-shrink: 0;
  width: 42px; height: 42px;
  background: rgba(14,165,233,0.09);
  border: 1px solid rgba(14,165,233,0.18);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
  transition: background 0.35s ease, border-color 0.35s ease;
}
body.light .pillar-icon {
  background: rgba(2,132,199,0.07);
  border-color: rgba(2,132,199,0.16);
}

.pillar-title { font-size: 0.92rem; font-weight: 600; margin-bottom: 3px; }
.pillar-desc  { font-size: 0.83rem; color: var(--text-2); }

/* ─── Services ─────────────────────────────────────── */
.services { background: var(--bg); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.service-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
  padding: 34px;
  transition: all var(--transition);
  overflow: hidden;
}

.service-card:hover {
  border-color: rgba(14,165,233,0.4);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
body.light .service-card:hover {
  border-color: rgba(2,132,199,0.35);
  box-shadow: 0 8px 32px rgba(2,132,199,0.1);
}

.service-card:hover .sc-glow { opacity: 1; }

.sc-glow {
  position: absolute;
  top: -70px; right: -70px;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(14,165,233,0.12), transparent 70%);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
body.light .sc-glow {
  background: radial-gradient(circle, rgba(2,132,199,0.08), transparent 70%);
}

.service-card.featured {
  border-color: rgba(14,165,233,0.28);
  background: linear-gradient(145deg, var(--surface-2) 0%, var(--surface) 100%);
}
body.light .service-card.featured {
  border-color: rgba(2,132,199,0.22);
  background: linear-gradient(145deg, rgba(2,132,199,0.04) 0%, var(--surface) 100%);
}
.service-card.featured:hover { box-shadow: 0 12px 48px rgba(14,165,233,0.15); }

.sc-badge {
  position: absolute; top: 18px; right: 18px;
  background: var(--gradient);
  color: #fff;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 5px;
}

.sc-icon {
  width: 52px; height: 52px;
  background: rgba(14,165,233,0.09);
  border: 1px solid rgba(14,165,233,0.18);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
  margin-bottom: 22px;
  transition: var(--transition);
}
body.light .sc-icon {
  background: rgba(2,132,199,0.07);
  border-color: rgba(2,132,199,0.16);
}
.service-card:hover .sc-icon {
  background: rgba(14,165,233,0.17);
  box-shadow: 0 3px 12px rgba(14,165,233,0.18);
}

.sc-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.sc-desc {
  font-size: 0.88rem;
  color: var(--text-2);
  line-height: 1.72;
  margin-bottom: 20px;
}

.sc-features {
  display: flex; flex-direction: column; gap: 8px;
  margin-bottom: 26px;
}
.sc-features li {
  font-size: 0.84rem;
  color: var(--text-2);
  padding-left: 18px;
  position: relative;
}
.sc-features li::before {
  content: '';
  position: absolute; left: 0; top: 7px;
  width: 7px; height: 7px;
  background: var(--gradient);
  border-radius: 50%;
}

.sc-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.84rem; font-weight: 600;
  color: var(--blue);
  transition: gap var(--transition);
}
.sc-link:hover { gap: 10px; }

/* ─── Stats ────────────────────────────────────────── */
.stats-section {
  position: relative;
  padding: 72px 0;
  overflow: hidden;
}

.stats-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(14,165,233,0.05) 0%, rgba(99,102,241,0.05) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
body.light .stats-bg {
  background: linear-gradient(135deg, rgba(2,132,199,0.04) 0%, rgba(79,70,229,0.04) 100%);
}

.stats-glow {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 800px; height: 360px;
  background: radial-gradient(ellipse, rgba(14,165,233,0.07), transparent 70%);
}

.stats-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat-item {
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow);
}
.stat-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 7px;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-2);
  margin-bottom: 16px;
  font-weight: 500;
}

.stat-bar {
  height: 2px;
  background: var(--border-2);
  border-radius: 2px;
  overflow: hidden;
}
.stat-bar-fill {
  height: 100%;
  width: var(--w);
  background: var(--gradient);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.stat-item.animated .stat-bar-fill { transform: scaleX(1); }

/* ─── Projects ─────────────────────────────────────── */
.projects { background: var(--bg-2); }

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.project-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-2);
  min-height: 210px;
  display: flex; flex-direction: column; justify-content: flex-end;
  transition: var(--transition);
  cursor: pointer;
}
.project-card:hover {
  transform: translateY(-3px);
  border-color: rgba(14,165,233,0.3);
  box-shadow: var(--shadow-lg);
}
.project-card.large {
  grid-column: span 2;
  min-height: 270px;
}

.pc-bg { position: absolute; inset: 0; }
.project-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.65) 40%, rgba(0,0,0,0.15) 70%, transparent 100%);
}

.pc-content { position: relative; z-index: 1; padding: 24px; }

.pc-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-2);
  background: rgba(14,165,233,0.15);
  border: 1px solid rgba(14,165,233,0.22);
  padding: 3px 9px;
  border-radius: 5px;
  margin-bottom: 9px;
}

.pc-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.22rem;
  font-weight: 700;
  margin-bottom: 7px;
  letter-spacing: -0.01em;
}

.pc-desc {
  font-size: 0.86rem;
  color: rgba(255,255,255,0.62);
  line-height: 1.65;
  margin-bottom: 12px;
  max-width: 460px;
}

.pc-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.pc-meta span {
  font-size: 0.73rem;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.06);
  padding: 3px 9px;
  border-radius: 5px;
}

/* ─── Why DNS ──────────────────────────────────────── */
.why-dns { background: var(--bg); }

.why-inner {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 72px;
  align-items: start;
}

.why-items-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.why-item {
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
  padding: 26px;
  transition: var(--transition);
}
.why-item:hover {
  border-color: rgba(14,165,233,0.32);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
body.light .why-item:hover {
  border-color: rgba(2,132,199,0.28);
  box-shadow: var(--shadow-md);
}

.wi-icon {
  width: 44px; height: 44px;
  background: rgba(14,165,233,0.09);
  border: 1px solid rgba(14,165,233,0.18);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
  margin-bottom: 14px;
  transition: var(--transition);
}
body.light .wi-icon {
  background: rgba(2,132,199,0.07);
  border-color: rgba(2,132,199,0.16);
}

.why-item h4 {
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 7px;
  letter-spacing: -0.01em;
}
.why-item p { font-size: 0.83rem; color: var(--text-2); line-height: 1.65; }

/* ─── Partners ─────────────────────────────────────── */
.partners { background: var(--bg-2); }

.partners-track-wrap {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.partners-track {
  display: flex; gap: 16px;
  animation: scroll-x 30s linear infinite;
  width: max-content;
}
.partners-track:hover { animation-play-state: paused; }

@keyframes scroll-x {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.partner-logo {
  flex-shrink: 0;
  height: 58px;
  padding: 0 32px;
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  display: flex; align-items: center;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-3);
  letter-spacing: 0.07em;
  transition: var(--transition);
  white-space: nowrap;
}
.partner-logo:hover {
  color: var(--blue);
  border-color: rgba(14,165,233,0.3);
  background: var(--surface-2);
}

/* ─── Contact ──────────────────────────────────────── */
.contact { background: var(--bg); }

.contact-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 40px;
  align-items: start;
}

.contact-info { display: flex; flex-direction: column; gap: 14px; }

.ci-card {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
  padding: 18px;
  transition: var(--transition);
}
.ci-card:hover {
  border-color: rgba(14,165,233,0.3);
  box-shadow: var(--shadow);
}

.ci-icon {
  flex-shrink: 0;
  width: 42px; height: 42px;
  background: rgba(14,165,233,0.09);
  border: 1px solid rgba(14,165,233,0.18);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
  transition: var(--transition);
}
body.light .ci-icon {
  background: rgba(2,132,199,0.07);
  border-color: rgba(2,132,199,0.16);
}

.ci-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-3);
  margin-bottom: 3px;
}
.ci-value { font-size: 0.9rem; color: var(--text); line-height: 1.5; }
.ci-value a { color: var(--text); transition: color var(--transition); }
.ci-value a:hover { color: var(--blue); }

.ci-social { display: flex; gap: 10px; margin-top: 6px; }

.social-btn {
  flex: 1;
  display: flex; align-items: center; justify-content: center; gap: 7px;
  height: 44px;
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  font-size: 0.84rem; font-weight: 600;
  color: var(--text-2);
  transition: var(--transition);
}
.social-btn:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--surface-2);
}

/* ── Contact Form ── */
.contact-form {
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-group {
  display: flex; flex-direction: column; gap: 7px;
  margin-bottom: 14px;
}

.form-group label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-2);
  letter-spacing: 0.04em;
}

.form-group input,
.form-group textarea,
.form-group select {
  background: var(--bg);
  border: 1.5px solid var(--border-2);
  border-radius: var(--radius);
  padding: 11px 14px;
  color: var(--text);
  font-size: 0.9rem;
  transition: var(--transition);
  outline: none;
  appearance: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(14,165,233,0.12);
}
body.light .form-group input:focus,
body.light .form-group textarea:focus,
body.light .form-group select:focus {
  box-shadow: 0 0 0 3px rgba(2,132,199,0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-3); }
.form-group textarea { resize: vertical; min-height: 112px; }
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%234d6680' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  padding-right: 38px;
  cursor: pointer;
}
.form-group select option { background: var(--bg-2); }

.form-success {
  display: none;
  align-items: center; gap: 9px;
  color: var(--green);
  font-weight: 600; font-size: 0.9rem;
  padding: 14px;
  background: rgba(34,197,94,0.08);
  border: 1px solid rgba(34,197,94,0.22);
  border-radius: var(--radius);
  margin-top: 14px;
}
.form-success.show { display: flex; }

/* ─── Footer ───────────────────────────────────────── */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 60px 0 28px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  margin-bottom: 44px;
}

.footer-tagline {
  font-size: 0.88rem;
  color: var(--text-2);
  line-height: 1.72;
  margin: 14px 0 18px;
  max-width: 270px;
}

.footer-contact { display: flex; flex-direction: column; gap: 6px; }
.footer-contact a {
  font-size: 0.86rem;
  color: var(--text-3);
  transition: color var(--transition);
}
.footer-contact a:hover { color: var(--blue); }

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
}

.fl-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 14px;
}

.fl-col { display: flex; flex-direction: column; gap: 9px; }
.fl-col a { font-size: 0.86rem; color: var(--text-3); transition: color var(--transition); }
.fl-col a:hover { color: var(--text); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-3);
  flex-wrap: wrap;
  gap: 6px;
}

/* ─── Particles ─────────────────────────────────────── */
.particle {
  position: absolute;
  width: 2px; height: 2px;
  background: var(--blue);
  border-radius: 50%;
  opacity: 0;
  animation: particle-float linear infinite;
  will-change: transform, opacity;
}
body.light .particle { background: var(--blue); opacity: 0; }

@keyframes particle-float {
  0%   { transform: translateY(100vh) scale(0); opacity: 0; }
  10%  { opacity: 0.5; }
  90%  { opacity: 0.2; }
  100% { transform: translateY(-20px) scale(1.5); opacity: 0; }
}

/* ─── Scroll animations ─────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Divider lines ─────────────────────────────────── */
.divider {
  height: 1px;
  background: var(--border);
  margin: 0;
}

/* ─── Responsive ────────────────────────────────────── */
@media (max-width: 1024px) {
  .about-grid       { grid-template-columns: 1fr; gap: 48px; }
  .about-imgs       { height: 280px; }
  .why-inner        { grid-template-columns: 1fr; gap: 48px; }
  .contact-grid     { grid-template-columns: 1fr; }
  .footer-top       { grid-template-columns: 1fr; gap: 40px; }
  .stats-grid       { grid-template-columns: repeat(2, 1fr); }
}

/* Tighten link padding on small laptops so the full nav fits */
@media (max-width: 1200px) {
  .nav-link { padding: 7px 10px; }
}

/* Collapse nav to hamburger below 1025px — the horizontal
   nav gets too cramped before the 768px mobile breakpoint */
@media (max-width: 1024px) {
  .nav-links {
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    z-index: 999;
    background: rgba(7, 17, 31, 0.97);
    backdrop-filter: blur(24px);
    flex-direction: column;
    padding: 20px;
    gap: 3px;
    transform: translateY(calc(-100% - var(--nav-h)));
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid var(--border);
    overflow-y: auto;
    max-height: calc(100vh - var(--nav-h));
  }
  body.light .nav-links {
    background: rgba(245, 247, 250, 0.97);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-link { padding: 11px 16px; font-size: 0.97rem; border-radius: var(--radius); }
  .nav-actions .btn-primary { display: none; }
  .hamburger { display: flex; }

  .hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
}

@media (max-width: 768px) {
  :root { --nav-h: 62px; }
  .section { padding: 68px 0; }
  .container { padding: 0 20px; }

  .services-grid  { grid-template-columns: 1fr; }
  .projects-grid  { grid-template-columns: 1fr; }
  .project-card.large { grid-column: span 1; }
  .why-grid, .why-items-grid { grid-template-columns: 1fr; }
  .form-row       { grid-template-columns: 1fr; }
  .footer-links   { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-bottom  { flex-direction: column; text-align: center; }

  .hero-content { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero-stats { gap: 18px; }
  .hero-stat-divider { display: none; }
  .contact-form { padding: 24px 18px; }
}

@media (max-width: 480px) {
  .stats-grid      { grid-template-columns: 1fr; }
  .footer-links    { grid-template-columns: 1fr; }
  .hero-actions    { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}

/* ─── Scrollbar ─────────────────────────────────────── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--surface-2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--blue); }

::selection { background: rgba(14,165,233,0.28); }

/* ─── Theme transition on all elements ─────────────── */
*,
*::before,
*::after {
  transition-property: background-color, border-color, color, box-shadow;
  transition-duration: 0.3s;
  transition-timing-function: ease;
}
/* But keep transform-based transitions snappy */
.btn, .service-card, .stat-item, .project-card, .why-item, .ci-card, .partner-logo {
  transition: background-color 0.3s ease,
              border-color 0.3s ease,
              color 0.3s ease,
              box-shadow 0.3s ease,
              transform 0.25s ease;
}

/* ─── Why Choose DNS ────────────────────────────────────── */
.why-section { background: var(--bg); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-bottom: 52px;
}

.why-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.3s ease, transform 0.25s ease, box-shadow 0.3s ease;
}
.why-card:hover {
  border-color: var(--blue);
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(14,165,233,0.12);
}

.why-icon {
  width: 52px; height: 52px;
  background: rgba(14,165,233,0.10);
  border: 1px solid rgba(14,165,233,0.20);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  flex-shrink: 0;
}

.why-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.35;
}

.why-desc {
  font-size: 0.93rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* Trust checklist + statement */
.why-trust {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px 44px;
}

.why-trust-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.wt-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.93rem;
  color: var(--text-secondary);
  line-height: 1.5;
}
.wt-item svg {
  color: var(--blue);
  flex-shrink: 0;
  margin-top: 2px;
}

.why-statement {
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: center;
}

.why-statement blockquote {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.55;
  border-left: 3px solid var(--blue);
  padding-left: 20px;
  margin: 0;
}
body.light .why-statement blockquote {
  color: var(--text-primary);
}

/* Services grid → 4 columns on wide */
@media (min-width: 1200px) {
  .services-grid { grid-template-columns: repeat(4, 1fr); }
}

/* Responsive why section */
@media (max-width: 900px) {
  .why-grid, .why-items-grid { grid-template-columns: 1fr; }
  .why-trust { grid-template-columns: 1fr; padding: 28px 24px; gap: 28px; }
}
@media (max-width: 768px) {
  .why-grid, .why-items-grid { grid-template-columns: 1fr; }
}

/* ─── Project card logos ────────────────────────────────── */
.pc-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.92);
  border-radius: 10px;
  padding: 8px 14px;
  margin-bottom: 10px;
  backdrop-filter: blur(4px);
}
.pc-logo {
  height: 36px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  display: block;
}
.pc-logo-fifa {
  height: 42px;
  filter: none;
}
.project-card.large .pc-logo { height: 42px; }

/* ─── Client Showcase ───────────────────────────────────── */
.clients-showcase {
  margin-top: 60px;
  border-top: 1px solid var(--border);
  padding-top: 48px;
}
.cs-heading {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 40px;
  letter-spacing: 0.02em;
}
.cs-category {
  margin-bottom: 36px;
}
.cs-cat-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue);
  margin-bottom: 14px;
}
.cs-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.cs-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 9px 16px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-primary);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.cs-item:hover {
  border-color: rgba(14,165,233,0.4);
  box-shadow: 0 4px 14px rgba(14,165,233,0.08);
}
body.light .cs-item {
  background: #fff;
}

/* ─── Missing hover states ───────────────────────────── */
.why-card:hover {
  border-color: var(--blue);
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(14,165,233,0.12);
}
.stat-item:hover {
  border-color: rgba(14,165,233,0.3);
  box-shadow: 0 8px 24px rgba(14,165,233,0.08);
  transform: translateY(-2px);
}

/* ─── Focus-visible (keyboard nav) ──────────────────── */
.btn:focus-visible,
.nav-link:focus-visible,
.service-card:focus-visible,
.project-card:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

/* ─── form-error feedback ────────────────────────────── */
.form-error {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 500;
  background: rgba(239,68,68,0.08);
  border: 1px solid rgba(239,68,68,0.25);
  color: #f87171;
  margin-top: 12px;
}
.form-error.show { display: flex; }
.form-error a { color: inherit; text-decoration: underline; }

